PageSourceSearch

https://bloom-hair-studio.vercel.app/assets/index-CJVDY2KX.js

js bloom-hair-studio.vercel.app collected 2026-10-03 06:17:30 UTC 520,468 bytes, 20 lines download raw bytes

vendor: 20,521 bytes, lines 1-3
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(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},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(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),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var l=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function te(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ne(e,t){return te(e.type,t,e.props)}function re(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function T(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ie=/\/+/g;function ae(e,t){return typeof e==`object`&&e&&e.key!=null?T(``+e.key):t.toString(36)}function oe(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 se(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,se(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ae(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ie,`$&/`)+`/`),se(o,r,i,``,function(e){return e})):o!=null&&(re(o)&&(o=ne(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ie,`$&/`)+`/`)+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+ae(a,u),c+=se(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+ae(a,u++),c+=se(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return se(oe(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 ce(e,t,n){if(e==null)return e;var r=[],i=0;return se(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function le(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 E=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)},D={map:ce,forEach:function(e,t,n){ce(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ce(e,function(){t++}),t},toArray:function(e){return ce(e,function(e){return e})||[]},only:function(e){if(!re(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=D,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ee.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return te(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ee.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return te(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=re,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:le}},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,E)}catch(e){E(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.8`})),u=o(((e,t)=>{t.exports=l()})),d=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,re());else{var t=n(l);t!==null&&ae(x,t.startTime-e)}}}var S=!1,C=-1,w=5,ee=-1;function te(){return g?!0:!(e.unstable_now()-ee<w)}function ne(){if(g=!1,S){var t=e.unstable_now();ee=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ae(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?re():S=!1}}}var re;if(typeof y==`function`)re=function(){y(ne)};else if(typeof MessageChannel<`u`){var T=new MessageChannel,ie=T.port2;T.port1.onmessage=ne,re=function(){ie.postMessage(null)}}else re=function(){_(ne,0)};function ae(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,ae(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,re()))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),f=o(((e,t)=>{t.exports=d()})),p=o((e=>{var t=u();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),m=o(((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=p()})),h=o((e=>{var t=f(),n=u(),r=m();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 d(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 p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),T=Symbol.for(`react.activity`),ie=Symbol.for(`react.memo_cache_sentinel`),ae=Symbol.iterator;function oe(e){return typeof e!=`object`||!e?null:(e=ae&&e[ae]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Symbol.for(`react.client.reference`);function ce(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case T:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?ce(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var le=Array.isArray,E=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},de=[],fe=-1;function pe(e){return{current:e}}function me(e){0>fe||(e.current=de[fe],de[fe]=null,fe--)}function O(e,t){fe++,de[fe]=e.current,e.current=t}var he=pe(null),ge=pe(null),_e=pe(null),ve=pe(null);function ye(e,t){switch(O(_e,t),O(ge,e),O(he,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ud(t),e=Wd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}me(he),O(he,e)}function be(){me(he),me(ge),me(_e)}function xe(e){e.memoizedState!==null&&O(ve,e);var t=he.current,n=Wd(t,e.type);t!==n&&(O(ge,e),O(he,n))}function Se(e){ge.current===e&&(me(he),me(ge)),ve.current===e&&(me(ve),ep._currentValue=ue)}var Ce,we;function Te(e){if(Ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ce=t&&t[1]||``,we=-1<e.stack.indexOf(`
2    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3`+Ce+e+we}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 6,582 bytes, lines 3-8
3else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4`),l=s.split(`
5`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
6`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Te(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return Te(e.type);case 16:return Te(`Lazy`);case 13:return e.child!==t&&t!==null?Te(`Suspense Fallback`):Te(`Suspense`);case 19:return Te(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Te(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
7Error generating stack: `+e.message+`
8`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,Ne=t.unstable_shouldYield,Pe=t.unstable_requestPaint,Fe=t.unstable_now,Ie=t.unstable_getCurrentPriorityLevel,Le=t.unstable_ImmediatePriority,Re=t.unstable_UserBlockingPriority,ze=t.unstable_NormalPriority,Be=t.unstable_LowPriority,Ve=t.unstable_IdlePriority,He=t.log,Ue=t.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Xe,Je=Math.log,Ye=Math.LN2;function Xe(e){return e>>>=0,e===0?32:31-(Je(e)/Ye|0)|0}var Ze=256,Qe=262144,$e=4194304;function et(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 tt(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=et(n))):i=et(o):i=et(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=et(n))):i=et(o)):i=et(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 nt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(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 it(){var e=$e;return $e<<=1,!($e&62914560)&&($e=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(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-qe(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&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(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 ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=D.p;return e===0?(e=window.event,e===void 0?32:gp(e.type)):e}function mt(e,t){var n=D.p;try{return D.p=e,t()}finally{D.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,Ct=`__reactMarker$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[yt],delete e[bt],delete e[xt]}function Tt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pf(e);e!==null;){if(n=e[gt])return n;e=pf(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[Ct]=!0}var At=new Set,jt={};function Mt(e,t){Nt(e,t),Nt(e+`Capture`,t)}function Nt(e,t){for(jt[e]=t,e=0;e<t.length;e++)At.add(t[e])}var Pt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
8037D\\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]*$`),Ft={},It={};function Lt(e){return Ae.call(It,e)?!0:Ae.call(Ft,e)?!1:Pt.test(e)?It[e]=!0:(Ft[e]=!0,!1)}function Rt(e,t,n){if(Lt(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 zt(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 Bt(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 Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(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 Wt(e){if(!e._valueTracker){var t=Ht(e)?`checked`:`value`;e._valueTracker=Ut(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function Kt(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 qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(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=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(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=``+Vt(s):e.removeAttribute(`name`)}function Xt(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)){Wt(e);return}n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(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),Wt(e)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(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=``+Vt(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 $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(le(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}
vendor: 157,708 bytes, lines 8-9
8n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=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 rn(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||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(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&&rn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(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 sn=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`]]),cn=/^[\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 ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function un(){}var dn=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pn=null,mn=null;function hn(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(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="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[_t]||null;if(!a)throw Error(i(90));Yt(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&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var gn=!1;function _n(e,t,n){if(gn)return e(t,n);gn=!0;try{return e(t)}finally{if(gn=!1,(pn!==null||mn!==null)&&(Cu(),pn&&(t=pn,e=mn,mn=pn=null,hn(t),e)))for(t=0;t<e.length;t++)hn(e[t])}}function vn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||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 yn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),bn=!1;if(yn)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){bn=!0}}),window.addEventListener(`test`,xn,xn),window.removeEventListener(`test`,xn,xn)}catch{bn=!1}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.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 wn=i.slice(e,1<r?1-r:void 0)}function En(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 Dn(){return!0}function On(){return!1}function kn(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)?Dn:On,this.isPropagationStopped=On,this}return h(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=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var k={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},An=kn(k),jn=h({},k,{view:0,detail:0}),Mn=kn(jn),Nn,Pn,Fn,In=h({},jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qn,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!==Fn&&(Fn&&e.type===`mousemove`?(Nn=e.screenX-Fn.screenX,Pn=e.screenY-Fn.screenY):Pn=Nn=0,Fn=e),Nn)},movementY:function(e){return`movementY`in e?e.movementY:Pn}}),Ln=kn(In),Rn=kn(h({},In,{dataTransfer:0})),zn=kn(h({},jn,{relatedTarget:0})),Bn=kn(h({},k,{animationName:0,elapsedTime:0,pseudoElement:0})),Vn=kn(h({},k,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Hn=kn(h({},k,{data:0})),Un={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Wn={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`},Gn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Gn[e])?!!t[e]:!1}function qn(){return Kn}var Jn=kn(h({},jn,{key:function(e){if(e.key){var t=Un[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Wn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Yn=kn(h({},In,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Xn=kn(h({},jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qn})),Zn=kn(h({},k,{propertyName:0,elapsedTime:0,pseudoElement:0})),Qn=kn(h({},In,{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})),$n=kn(h({},k,{newState:0,oldState:0})),er=[9,13,27,32],tr=yn&&`CompositionEvent`in window,nr=null;yn&&`documentMode`in document&&(nr=document.documentMode);var rr=yn&&`TextEvent`in window&&!nr,ir=yn&&(!tr||nr&&8<nr&&11>=nr),ar=` `,or=!1;function sr(e,t){switch(e){case`keyup`:return er.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var lr=!1;function ur(e,t){switch(e){case`compositionend`:return cr(t);case`keypress`:return t.which===32?(or=!0,ar):null;case`textInput`:return e=t.data,e===ar&&or?null:e;default:return null}}function dr(e,t){if(lr)return e===`compositionend`||!tr&&sr(e,t)?(e=Tn(),wn=Cn=Sn=null,lr=!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 ir&&t.locale!==`ko`?null:t.data;default:return null}}var fr={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 pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!fr[e.type]:t===`textarea`}function mr(e,t,n,r){pn?mn?mn.push(r):mn=[r]:pn=r,t=Od(t,`onChange`),0<t.length&&(n=new An(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var hr=null,gr=null;function _r(e){xd(e,0)}function vr(e){if(Gt(Dt(e)))return e}function yr(e,t){if(e===`change`)return t}var br=!1;if(yn){var xr;if(yn){var Sr=`oninput`in document;if(!Sr){var Cr=document.createElement(`div`);Cr.setAttribute(`oninput`,`return;`),Sr=typeof Cr.oninput==`function`}xr=Sr}else xr=!1;br=xr&&(!document.documentMode||9<document.documentMode)}function wr(){hr&&(hr.detachEvent(`onpropertychange`,Tr),gr=hr=null)}function Tr(e){if(e.propertyName===`value`&&vr(gr)){var t=[];mr(t,gr,e,fn(e)),_n(_r,t)}}function Er(e,t,n){e===`focusin`?(wr(),hr=t,gr=n,hr.attachEvent(`onpropertychange`,Tr)):e===`focusout`&&wr()}function Dr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return vr(gr)}function Or(e,t){if(e===`click`)return vr(t)}function kr(e,t){if(e===`input`||e===`change`)return vr(t)}function Ar(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var jr=typeof Object.is==`function`?Object.is:Ar;function Mr(e,t){if(jr(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(!Ae.call(t,i)||!jr(e[i],t[i]))return!1}return!0}function A(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=A(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=A(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(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=Kt(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Lr=yn&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==Kt(r)||(r=Rr,`selectionStart`in r&&Ir(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Br&&Mr(Br,r)||(Br=r,r=Od(zr,`onSelect`),0<r.length&&(t=new An(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};yn&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),Mt(t,[e])}var ii=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ai=[],oi=0,si=0;function j(){for(var e=oi,t=si=oi=0;t<e;){var n=ai[t];ai[t++]=null;var r=ai[t];ai[t++]=null;var i=ai[t];ai[t++]=null;var a=ai[t];if(ai[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&di(n,i,a)}}function ci(e,t,n,r){ai[oi++]=e,ai[oi++]=t,ai[oi++]=n,ai[oi++]=r,si|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function li(e,t,n,r){return ci(e,t,n,r),M(e)}function ui(e,t){return ci(e,null,null,t),M(e)}function di(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-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function M(e){if(50<mu)throw mu=0,hu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var fi={};function pi(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 mi(e,t,n,r){return new pi(e,t,n,r)}function hi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gi(e,t){var n=e.alternate;return n===null?(n=mi(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 _i(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 vi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)hi(e)&&(s=1);else if(typeof e==`string`)s=Gf(e,n,he.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case T:return e=mi(31,n,t,a),e.elementType=T,e.lanes=o,e;case y:return yi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=mi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case ee:return e=mi(13,n,t,a),e.elementType=ee,e.lanes=o,e;case te:return e=mi(19,n,t,a),e.elementType=te,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case ne:s=14;break a;case re:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=mi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function yi(e,t,n,r){return e=mi(7,e,r,t),e.lanes=n,e}function bi(e,t,n){return e=mi(6,e,null,t),e.lanes=n,e}function xi(e){var t=mi(18,null,null,0);return t.stateNode=e,t}function Si(e,t,n){return t=mi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ci=new WeakMap;function wi(e,t){if(typeof e==`object`&&e){var n=Ci.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ci.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var Ti=[],Ei=0,Di=null,Oi=0,ki=[],Ai=0,N=null,ji=1,Mi=``;function Ni(e,t){Ti[Ei++]=Oi,Ti[Ei++]=Di,Di=e,Oi=t}function Pi(e,t,n){ki[Ai++]=ji,ki[Ai++]=Mi,ki[Ai++]=N,N=e;var r=ji;e=Mi;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ji=1<<32-qe(t)+i|n<<i|r,Mi=a+e}else ji=1<<a|n<<i|r,Mi=e}function Fi(e){e.return!==null&&(Ni(e,1),Pi(e,1,0))}function Ii(e){for(;e===Di;)Di=Ti[--Ei],Ti[Ei]=null,Oi=Ti[--Ei],Ti[Ei]=null;for(;e===N;)N=ki[--Ai],ki[Ai]=null,Mi=ki[--Ai],ki[Ai]=null,ji=ki[--Ai],ki[Ai]=null}function Li(e,t){ki[Ai++]=ji,ki[Ai++]=Mi,ki[Ai++]=N,ji=t.id,Mi=t.overflow,N=e}var Ri=null,P=null,F=!1,zi=null,Bi=!1,Vi=Error(i(519));function Hi(e){throw I(wi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Vi}function Ui(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=r,n){case`dialog`:X(`cancel`,t),X(`close`,t);break;case`iframe`:case`object`:case`embed`:X(`load`,t);break;case`video`:case`audio`:for(n=0;n<yd.length;n++)X(yd[n],t);break;case`source`:X(`error`,t);break;case`img`:case`image`:case`link`:X(`error`,t),X(`load`,t);break;case`details`:X(`toggle`,t);break;case`input`:X(`invalid`,t),Xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:X(`invalid`,t);break;case`textarea`:X(`invalid`,t),en(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||Pd(t.textContent,n)?(r.popover!=null&&(X(`beforetoggle`,t),X(`toggle`,t)),r.onScroll!=null&&X(`scroll`,t),r.onScrollEnd!=null&&X(`scrollend`,t),r.onClick!=null&&(t.onclick=un),t=!0):t=!1,t||Hi(e,!0)}function Wi(e){for(Ri=e.return;Ri;)switch(Ri.tag){case 5:case 31:case 13:Bi=!1;return;case 27:case 3:Bi=!0;return;default:Ri=Ri.return}}function Gi(e){if(e!==Ri)return!1;if(!F)return Wi(e),F=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Gd(e.type,e.memoizedProps)),n=!n),n&&P&&Hi(e),Wi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));P=ff(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));P=ff(e)}else t===27?(t=P,$d(e.type)?(e=df,df=null,P=e):P=t):P=Ri?uf(e.stateNode.nextSibling):null;return!0}function Ki(){P=Ri=null,F=!1}function qi(){var e=zi;return e!==null&&(tu===null?tu=e:tu.push.apply(tu,e),zi=null),e}function I(e){zi===null?zi=[e]:zi.push(e)}var Ji=pe(null),Yi=null,Xi=null;function Zi(e,t,n){O(Ji,t._currentValue),t._currentValue=n}function Qi(e){e._currentValue=Ji.current,me(Ji)}function $i(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 ea(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),$i(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),$i(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 ta(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;jr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ve.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ep]:e.push(ep))}a=a.return}e!==null&&ea(t,e,n,r),t.flags|=262144}function na(e){for(e=e.firstContext;e!==null;){if(!jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ra(e){Yi=e,Xi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ia(e){return oa(Yi,e)}function aa(e,t){return Yi===null&&ra(e),oa(e,t)}function oa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Xi===null){if(e===null)throw Error(i(308));Xi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Xi=Xi.next=t;return n}var sa=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()})}},ca=t.unstable_scheduleCallback,la=t.unstable_NormalPriority,ua={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function da(){return{controller:new sa,data:new Map,refCount:0}}function fa(e){e.refCount--,e.refCount===0&&ca(la,function(){e.controller.abort()})}var pa=null,ma=0,ha=0,ga=null;function _a(e,t){if(pa===null){var n=pa=[];ma=0,ha=pd(),ga={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ma++,t.then(va,va),t}function va(){if(--ma===0&&pa!==null){ga!==null&&(ga.status=`fulfilled`);var e=pa;pa=null,ha=0,ga=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ya(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 ba=E.S;E.S=function(e,t){iu=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&_a(e,t),ba!==null&&ba(e,t)};var xa=pe(null);function Sa(){var e=xa.current;return e===null?U.pooledCache:e}function Ca(e,t){t===null?O(xa,xa.current):O(xa,t.pool)}function wa(){var e=Sa();return e===null?null:{parent:ua._currentValue,pool:e}}var Ta=Error(i(460)),Ea=Error(i(474)),Da=Error(i(542)),Oa={then:function(){}};function ka(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Aa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(un,un),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Pa(e),e;default:if(typeof t.status==`string`)t.then(un,un);else{if(e=U,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,Pa(e),e}throw Ma=t,Ta}}function ja(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ma=e,Ta):e}}var Ma=null;function Na(){if(Ma===null)throw Error(i(459));var e=Ma;return Ma=null,e}function Pa(e){if(e===Ta||e===Da)throw Error(i(483))}var Fa=null,Ia=0;function La(e){var t=Ia;return Ia+=1,Fa===null&&(Fa=[]),Aa(Fa,e,t)}function Ra(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function za(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ba(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=gi(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=bi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===re&&ja(i)===t.type)?(t=a(t,n.props),Ra(t,n),t.return=e,t):(t=vi(n.type,n.key,n.props,null,e.mode,r),Ra(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=Si(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=yi(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=bi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=vi(t.type,t.key,t.props,null,e.mode,n),Ra(n,t),n.return=e,n;case v:return t=Si(t,e.mode,n),t.return=e,t;case re:return t=ja(t),f(e,t,n)}if(le(t)||oe(t))return t=yi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,La(t),n);if(t.$$typeof===C)return f(e,aa(e,t),n);za(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case re:return n=ja(n),p(e,t,n,r)}if(le(n)||oe(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,La(n),r);if(n.$$typeof===C)return p(e,t,aa(e,n),r);za(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:return r=ja(r),m(e,t,n,r,i)}if(le(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,La(r),i);if(r.$$typeof===C)return m(e,t,n,aa(t,r),i);za(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),F&&Ni(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 F&&Ni(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)}),F&&Ni(i,h),l}function g(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),F&&Ni(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 F&&Ni(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)}),F&&Ni(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===re&&ja(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ra(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===y?(c=yi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=vi(o.type,o.key,o.props,null,e.mode,c),Ra(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}n(e,r);break}t(e,r),r=r.sibling}c=Si(o,e.mode,c),c.return=e,e=c}return s(e);case re:return o=ja(o),b(e,r,o,c)}if(le(o))return h(e,r,o,c);if(oe(o)){if(l=oe(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,La(o),c);if(o.$$typeof===C)return b(e,r,aa(e,o),c);za(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=bi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ia=0;var i=b(e,t,n,r);return Fa=null,i}catch(t){if(t===Ta||t===Da)throw t;var a=mi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Va=Ba(!0),Ha=Ba(!1),Ua=!1;function Wa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ka(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function qa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=M(e),di(e,null,n),t}return ci(e,r,t,n),M(e)}function Ja(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}function Ya(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Xa=!1;function Za(){if(Xa){var e=ga;if(e!==null)throw e}}function Qa(e,t,n,r){Xa=!1;var i=e.updateQueue;Ua=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(G&f)===f:(r&f)===f){f!==0&&f===ha&&(Xa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(m=g.payload,typeof m==`function`){d=m.call(_,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,f=typeof m==`function`?m.call(_,d,f):m,f==null)break a;d=h({},d,f);break a;case 2:Ua=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Yl|=o,e.lanes=o,e.memoizedState=d}}function $a(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function eo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)$a(n[e],t)}var to=pe(null),no=pe(0);function ro(e,t){e=ql,O(no,e),O(to,t),ql=e|t.baseLanes}function io(){O(no,ql),O(to,to.current)}function ao(){ql=no.current,me(to),me(no)}var oo=pe(null),so=null;function co(e){var t=e.alternate;O(mo,mo.current&1),O(oo,e),so===null&&(t===null||to.current!==null||t.memoizedState!==null)&&(so=e)}function lo(e){O(mo,mo.current),O(oo,e),so===null&&(so=e)}function uo(e){e.tag===22?(O(mo,mo.current),O(oo,e),so===null&&(so=e)):fo(e)}function fo(){O(mo,mo.current),O(oo,oo.current)}function po(e){me(oo),so===e&&(so=null),me(mo)}var mo=pe(0);function ho(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||sf(n)||cf(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 go=0,L=null,R=null,_o=null,vo=!1,yo=!1,bo=!1,xo=0,So=0,Co=null,wo=0;function z(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return go=a,L=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Us:Ws,bo=!1,a=n(r,i),bo=!1,yo&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){E.H=Hs;var t=R!==null&&R.next!==null;if(go=0,_o=R=L=null,vo=!1,So=0,Co=null,t)throw Error(i(300));e===null||sc||(e=e.dependencies,e!==null&&na(e)&&(sc=!0))}function Oo(e,t,n,r){L=e;var a=0;do{if(yo&&(Co=null),So=0,yo=!1,25<=a)throw Error(i(301));if(a+=1,_o=R=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}E.H=Gs,o=t(n,r)}while(yo);return o}function ko(){var e=E.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(R===null?null:R.memoizedState)!==e&&(L.flags|=1024),t}function Ao(){var e=xo!==0;return xo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vo=!1}go=0,_o=R=L=null,yo=!1,So=xo=0,Co=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _o===null?L.memoizedState=_o=e:_o=_o.next=e,_o}function Po(){if(R===null){var e=L.alternate;e=e===null?null:e.memoizedState}else e=R.next;var t=_o===null?L.memoizedState:_o.next;if(t!==null)_o=t,R=e;else{if(e===null)throw L.alternate===null?Error(i(467)):Error(i(310));R=e,e={memoizedState:R.memoizedState,baseState:R.baseState,baseQueue:R.baseQueue,queue:R.queue,next:null},_o===null?L.memoizedState=_o=e:_o=_o.next=e}return _o}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=So;return So+=1,Co===null&&(Co=[]),e=Aa(Co,e,t),t=L,(_o===null?t.memoizedState:_o.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Us:Ws),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===C)return ia(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=L.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=L.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=Fo(),L.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]=ie;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),R,e)}function Vo(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?(go&f)===f:(G&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===ha&&(d=!0);else if((go&p)===p){u=u.next,p===ha&&(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,L.lanes|=p,Yl|=p;f=u.action,bo&&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,L.lanes|=f,Yl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!jr(o,e.memoizedState)&&(sc=!0,d&&(n=ga,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 Ho(e){var t=Po(),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);jr(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=L,a=Po(),o=F;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!jr((R||a).memoizedState,n);if(s&&(a.memoizedState=n,sc=!0),a=a.queue,ms(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||_o!==null&&_o.memoizedState.tag&1){if(r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),U===null)throw Error(i(349));o||go&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=L.updateQueue,t===null?(t=Fo(),L.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jr(e,n)}catch{return!0}}function Jo(e){var t=ui(e,2);t!==null&&vu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),bo){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,R,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(zs(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)}};E.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=E.T,o={};E.T=o;try{var s=n(i,r),c=E.S;c!==null&&c(o,s),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),E.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(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 ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function is(e,t){if(F){var n=U.formState;if(n!==null){a:{var r=L;if(F){if(P){b:{for(var i=P,a=Bi;i.nodeType!==8;){if(!a){i=null;break b}if(i=uf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){P=uf(i.nextSibling),r=i.data===`F!`;break a}}Hi(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Is.bind(null,L,r),r.dispatch=n,r=Yo(!1),a=Rs.bind(null,L,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,L,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function as(e){return os(Po(),R,e)}function os(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===Ta?Da:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(L.flags|=2048,ls(9,{destroy:void 0},ss.bind(null,i,n),null)),[r,a,e]}function ss(e,t){e.action=t}function cs(e){var t=Po(),n=R;if(n!==null)return os(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=L.updateQueue,t===null&&(t=Fo(),L.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 us(){return Po().memoizedState}function ds(e,t,n,r){var i=No();L.flags|=e,i.memoizedState=ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function fs(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;R!==null&&r!==null&&To(r,R.memoizedState.deps)?i.memoizedState=ls(t,a,n,r):(L.flags|=e,i.memoizedState=ls(1|t,a,n,r))}function ps(e,t){ds(8390656,8,e,t)}function ms(e,t){fs(2048,8,e,t)}function hs(e){L.flags|=4;var t=L.updateQueue;if(t===null)t=Fo(),L.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gs(e){var t=Po().memoizedState;return hs({ref:t,nextImpl:e}),function(){if(H&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function _s(e,t){return fs(4,2,e,t)}function vs(e,t){return fs(4,4,e,t)}function ys(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 bs(e,t,n){n=n==null?null:n.concat([e]),fs(4,4,ys.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),bo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||go&1073741824&&!(G&261930)?e.memoizedState=t:(e.memoizedState=n,e=_u(),L.lanes|=e,Yl|=e,n)}function Ts(e,t,n,r){return jr(n,t)?n:to.current===null?!(go&42)||go&1073741824&&!(G&261930)?(sc=!0,e.memoizedState=n):(e=_u(),L.lanes|=e,Yl|=e,t):(e=ws(e,n,r),jr(e,t)||(sc=!0),e)}function Es(e,t,n,r,i){var a=D.p;D.p=a!==0&&8>a?a:8;var o=E.T,s={};E.T=s,Rs(e,!1,t,n);try{var c=i(),l=E.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,ya(c,r),gu(e)):Ls(e,t,r,gu(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},gu())}finally{D.p=a,o!==null&&s.types!==null&&(o.types=s.types),E.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,ue,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:ue},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},gu())}function js(){return ia(ep)}function Ms(){return Po().memoizedState}function Ns(){return Po().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=gu();e=Ka(n);var r=qa(t,e,n);r!==null&&(vu(r,t,n),Ja(r,t,n)),t={cache:da()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=gu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=li(e,t,n,r),n!==null&&(vu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,gu())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(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,jr(s,o))return ci(e,t,i,0),U===null&&j(),!1}catch{}if(n=li(e,t,i,r),n!==null)return vu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:pd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(i(479))}else t=li(e,n,r,2),t!==null&&vu(t,e,2)}function zs(e){var t=e.alternate;return e===L||t!==null&&t===L}function Bs(e,t){yo=vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var Hs={readContext:ia,use:Lo,useCallback:z,useContext:z,useEffect:z,useImperativeHandle:z,useLayoutEffect:z,useInsertionEffect:z,useMemo:z,useReducer:z,useRef:z,useState:z,useDebugValue:z,useDeferredValue:z,useTransition:z,useSyncExternalStore:z,useId:z,useHostTransitionStatus:z,useFormState:z,useActionState:z,useOptimistic:z,useMemoCache:z,useCacheRefresh:z};Hs.useEffectEvent=z;var Us={readContext:ia,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:ia,useEffect:ps,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ds(4194308,4,ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){ds(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(bo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(bo){Ke(!0);try{n(t)}finally{Ke(!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=Fs.bind(null,L,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Is.bind(null,L,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=Es.bind(null,L,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=L,a=No();if(F){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),U===null)throw Error(i(349));G&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ps(Ko.bind(null,r,o,e),[e]),r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=U.identifierPrefix;if(F){var n=Mi,r=ji;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=xo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=wo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:is,useActionState:is,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,L,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ps.bind(null,L)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(H&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:ia,use:Lo,useCallback:Ss,useContext:ia,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Bo,useRef:us,useState:function(){return Bo(zo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Po(),R.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e,t){return Xo(Po(),R,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Ws.useEffectEvent=gs;var Gs={readContext:ia,use:Lo,useCallback:Ss,useContext:ia,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Ho,useRef:us,useState:function(){return Ho(zo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Po();return R===null?ws(n,e,t):Ts(n,R.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){var n=Po();return R===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,R,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Gs.useEffectEvent=gs;function Ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:h({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gu(),i=Ka(r);i.payload=t,n!=null&&(i.callback=n),t=qa(e,i,r),t!==null&&(vu(t,e,r),Ja(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gu(),i=Ka(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=qa(e,i,r),t!==null&&(vu(t,e,r),Ja(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gu(),r=Ka(n);r.tag=2,t!=null&&(r.callback=t),t=qa(e,r,n),t!==null&&(vu(t,e,n),Ja(t,e,n))}};function Js(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?!Mr(n,r)||!Mr(i,a):!0}function Ys(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&&qs.enqueueReplaceState(t,t.state,null)}function Xs(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=h({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Zs(e){ii(e)}function Qs(e){console.error(e)}function $s(e){ii(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(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 nc(e,t,n){return n=Ka(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=Ka(e),e.tag=3,e}function ic(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(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(su===null?su=new Set([this]):su.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ta(t,n,a,!0),n=oo.current,n!==null){switch(n.tag){case 31:case 13:return so===null?Au():n.alternate===null&&Jl===0&&(Jl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Oa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ju(e,r,a)),!1;case 22:return n.flags|=65536,r===Oa?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)),Ju(e,r,a)),!1}throw Error(i(435,n.tag))}return Ju(e,r,a),Au(),!1}if(F)return t=oo.current,t===null?(r!==Vi&&(t=Error(i(423),{cause:r}),I(wi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=wi(r,n),a=nc(e.stateNode,r,a),Ya(e,a),Jl!==4&&(Jl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Vi&&(e=Error(i(422),{cause:r}),I(wi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=wi(o,n),eu===null?eu=[o]:eu.push(o),Jl!==4&&(Jl=2),t===null)return!0;r=wi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=nc(n.stateNode,r,e),Ya(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(su===null||!su.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=rc(a),ic(a,e,n,r),Ya(n,a),!1}n=n.return}while(n!==null);return!1}var oc=Error(i(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Ha(t,null,n,r):Va(t,e.child,n,r)}function lc(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 ra(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!sc?(jo(e,t,i),Nc(e,t,i)):(F&&s&&Fi(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!hi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=vi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Pc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mr:n,n(o,r)&&e.ref===t.ref)return Nc(e,t,i)}return t.flags|=1,e=gi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mr(a,r)&&e.ref===t.ref){if(sc=!1,t.pendingProps=r=a,Pc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Nc(e,t,i)}}return yc(e,t,n,r,i)}function fc(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 mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ca(t,a===null?null:a.cachePool),a===null?io():ro(t,a),uo(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ca(t,null),io(),fo(t)):(Ca(t,a.cachePool),ro(t,a),fo(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=Sa();return a=a===null?null:{parent:ua._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ca(t,null),io(),uo(t),e!==null&&ta(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Va(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,po(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(F){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(lo(t),(e=P)?(e=of(e,Bi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:N===null?null:{id:ji,overflow:Mi},retryLane:536870912,hydrationErrors:null},n=xi(e),n.return=t,t.child=n,Ri=t,P=null)):e=null,e===null)throw Hi(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(lo(t),a){if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(sc||ta(e,t,n,!1),a=(n&e.childLanes)!==0,sc||a){if(r=U,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ui(e,s),vu(r,e,s),oc;Au(),t=gc(e,t,n)}else e=o.treeContext,P=uf(s.nextSibling),Ri=t,F=!0,zi=null,Bi=!1,e!==null&&Li(t,e),t=hc(t,r),t.flags|=4096;return t}return e=gi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(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 yc(e,t,n,r,i){return ra(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!sc?(jo(e,t,i),Nc(e,t,i)):(F&&r&&Fi(t),t.flags|=1,cc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return ra(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!sc?(jo(e,t,a),Nc(e,t,a)):(F&&r&&Fi(t),t.flags|=1,cc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(ra(t),t.stateNode===null){var a=fi,o=n.contextType;typeof o==`object`&&o&&(a=ia(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Wa(t),o=n.contextType,a.context=typeof o==`object`&&o?ia(o):fi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(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&&qs.enqueueReplaceState(a,a.state,null),Qa(t,r,a,i),Za(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=fi,typeof u==`object`&&u&&(o=ia(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)&&Ys(t,a,r,o),Ua=!1;var f=t.memoizedState;a.state=f,Qa(t,r,a,i),Za(),l=t.memoizedState,s||f!==l||Ua?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Ua||Js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ga(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=fi,typeof l==`object`&&l&&(c=ia(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)&&Ys(t,a,r,c),Ua=!1,f=t.memoizedState,a.state=f,Qa(t,r,a,i),Za();var p=t.memoizedState;o!==d||f!==p||Ua||e!==null&&e.dependencies!==null&&na(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Ua||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&na(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,vc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Va(t,e.child,null,i),t.child=Va(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Nc(e,t,i),e}function Sc(e,t,n,r){return Ki(),t.flags|=256,cc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:wa()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Ql),e}function Ec(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(mo.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(F){if(a?co(t):fo(t),(e=P)?(e=of(e,Bi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:N===null?null:{id:ji,overflow:Mi},retryLane:536870912,hydrationErrors:null},n=xi(e),n.return=t,t.child=n,Ri=t,P=null)):e=null,e===null)throw Hi(t);return cf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(fo(t),a=t.mode,c=Oc({mode:`hidden`,children:c},a),r=yi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(null,r)):(co(t),Dc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(co(t),t.flags&=-257,t=kc(e,t,n)):t.memoizedState===null?(fo(t),c=r.fallback,a=t.mode,r=Oc({mode:`visible`,children:r.children},a),c=yi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Va(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=pc(null,r)):(fo(t),t.child=e.child,t.flags|=128,t=null);else if(co(t),cf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,I({value:r,source:null,stack:null}),t=kc(e,t,n)}else if(sc||ta(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=U,s!==null&&(r=ut(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ui(e,r),vu(s,e,r),oc;sf(c)||Au(),t=kc(e,t,n)}else sf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,P=uf(c.nextSibling),Ri=t,F=!0,zi=null,Bi=!1,e!==null&&Li(t,e),t=Dc(t,r.children),t.flags|=4096);return t}return a?(fo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=gi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=yi(c,a,n,null),c.flags|=2):c=gi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(a=c.cachePool,a===null?a=wa():(l=ua._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(e.child,r)):(co(t),n=e.child,e=n.sibling,n=gi(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 Dc(e,t){return t=Oc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Oc(e,t){return e=mi(22,e,null,t),e.lanes=0,e}function kc(e,t,n){return Va(t,e.child,null,n),e=Dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ac(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$i(e.return,t,n)}function jc(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 Mc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=mo.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,O(mo,o),cc(e,t,r,n),r=F?Oi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ac(e,n,t);else if(e.tag===19)Ac(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&&ho(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jc(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&&ho(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jc(t,!0,n,null,a,r);break;case`together`:jc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Nc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yl|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(ta(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=gi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Pc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&na(e)))}function Fc(e,t,n){switch(t.tag){case 3:ye(t,t.stateNode.containerInfo),Zi(t,ua,e.memoizedState.cache),Ki();break;case 27:case 5:xe(t);break;case 4:ye(t,t.stateNode.containerInfo);break;case 10:Zi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,lo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(co(t),e=Nc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(co(t),t.flags|=128,null);co(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(ta(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Mc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(mo,mo.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:Zi(t,ua,e.memoizedState.cache)}return Nc(e,t,n)}function Ic(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Pc(e,n)&&!(t.flags&128))return sc=!1,Fc(e,t,n);sc=!!(e.flags&131072)}}else sc=!1,F&&t.flags&1048576&&Pi(t,Oi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ja(t.elementType),t.type=e,typeof e==`function`)hi(e)?(r=Xs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=lc(null,t,e,r,n);break a}if(a===ne){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ce(e)||e,Error(i(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Xs(r,t.pendingProps),xc(e,t,r,a,n);case 3:a:{if(ye(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ga(e,t),Qa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Zi(t,ua,r),r!==o.cache&&ea(t,[ua],n,!0),Za(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Sc(e,t,r,n);break a}if(r!==a){a=wi(Error(i(424)),t),I(a),t=Sc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(P=uf(e.firstChild),Ri=t,F=!0,zi=null,Bi=!0,n=Ha(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ki(),r===a){t=Nc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=jf(t.type,null,t.pendingProps,null))?t.memoizedState=n:F||(n=t.type,e=t.pendingProps,r=Hd(_e.current).createElement(n),r[gt]=t,r[_t]=e,Id(r,n,e),kt(r),t.stateNode=r):t.memoizedState=jf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xe(t),e===null&&F&&(r=t.stateNode=mf(t.type,t.pendingProps,_e.current),Ri=t,Bi=!0,a=P,$d(t.type)?(df=a,P=uf(r.firstChild)):P=a),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&F&&((a=r=P)&&(r=rf(r,t.type,t.pendingProps,Bi),r===null?a=!1:(t.stateNode=r,Ri=t,P=uf(r.firstChild),Bi=!1,a=!0)),a||Hi(t)),xe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Gd(a,o)?r=null:s!==null&&Gd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),ep._currentValue=a),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&F&&((e=n=P)&&(n=af(n,t.pendingProps,Bi),n===null?e=!1:(t.stateNode=n,Ri=t,P=null,e=!0)),e||Hi(t)),null;case 13:return Ec(e,t,n);case 4:return ye(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Va(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Zi(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ra(t),a=ia(a),r=r(a),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return Mc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return ra(t),r=ia(ua),e===null?(a=Sa(),a===null&&(a=U,o=da(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Wa(t),Zi(t,ua,a)):((e.lanes&n)!==0&&(Ga(e,t),Qa(t,null,null,n),Za()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Zi(t,ua,r),r!==a.cache&&ea(t,[ua],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Zi(t,ua,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Lc(e){e.flags|=4}function Rc(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Du())e.flags|=8192;else throw Ma=Oa,Ea}}else e.flags&=-16777217}function zc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Kf(t)){if(Du())e.flags|=8192;else throw Ma=Oa,Ea}}function Bc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,$l|=t)}function Vc(e,t){if(!F)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 B(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 Hc(e,t,n){var r=t.pendingProps;switch(Ii(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return B(t),null;case 1:return B(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Qi(ua),be(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Gi(t)?Lc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qi())),B(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Lc(t),o===null?(B(t),Rc(t,a,null,r,n)):(B(t),zc(t,o))):o?o===e.memoizedState?(B(t),t.flags&=-16777217):(Lc(t),B(t),zc(t,o)):(e=e.memoizedProps,e!==r&&Lc(t),B(t),Rc(t,a,e,r,n)),null;case 27:if(Se(t),n=_e.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return B(t),null}e=he.current,Gi(t)?Ui(t,e):(e=mf(a,r,n),t.stateNode=e,Lc(t))}return B(t),null;case 5:if(Se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return B(t),null}if(o=he.current,Gi(t))Ui(t,o);else{var s=Hd(_e.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[gt]=t,o[_t]=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(Id(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&&Lc(t)}}return B(t),Rc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=_e.current,Gi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ri,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Pd(e.nodeValue,n)),e||Hi(t,!0)}else e=Hd(e).createTextNode(r),e[gt]=t,t.stateNode=e}return B(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Gi(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[gt]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),e=!1}else n=qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(po(t),t):(po(t),null);if(t.flags&128)throw Error(i(558))}return B(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Gi(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[gt]=t}else Ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),a=!1}else a=qi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(po(t),t):(po(t),null)}return po(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Bc(t,t.updateQueue),B(t),null);case 4:return be(),e===null&&wd(t.stateNode.containerInfo),B(t),null;case 10:return Qi(t.type),B(t),null;case 19:if(me(mo),r=t.memoizedState,r===null)return B(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)Vc(r,!1);else{if(Jl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ho(e),o!==null){for(t.flags|=128,Vc(r,!1),e=o.updateQueue,t.updateQueue=e,Bc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)_i(n,e),n=n.sibling;return O(mo,mo.current&1|2),F&&Ni(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>au&&(t.flags|=128,a=!0,Vc(r,!1),t.lanes=4194304)}}else{if(!a){if(e=ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Bc(t,e),Vc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!F)return B(t),null}else 2*Fe()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,a=!0,Vc(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?(B(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=mo.current,O(mo,a?n&1|2:n&1),F&&Ni(t,r.treeForkCount),e);case 22:case 23:return po(t),ao(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(B(t),t.subtreeFlags&6&&(t.flags|=8192)):B(t),n=t.updateQueue,n!==null&&Bc(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&&me(xa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Qi(ua),B(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Uc(e,t){switch(Ii(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qi(ua),be(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 31:if(t.memoizedState!==null){if(po(t),t.alternate===null)throw Error(i(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(po(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(mo),null;case 4:return be(),null;case 10:return Qi(t.type),null;case 22:case 23:return po(t),ao(),e!==null&&me(xa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Qi(ua),null;case 25:return null;default:return null}}function Wc(e,t){switch(Ii(t),t.tag){case 3:Qi(ua),be();break;case 26:case 27:case 5:Se(t);break;case 4:be();break;case 31:t.memoizedState!==null&&po(t);break;case 13:po(t);break;case 19:me(mo);break;case 10:Qi(t.type);break;case 22:case 23:po(t),ao(),e!==null&&me(xa);break;case 24:Qi(ua)}}function Gc(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){J(t,t.return,e)}}function Kc(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){J(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){J(t,t.return,e)}}function qc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{eo(t,n)}catch(t){J(e,e.return,t)}}}function Jc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){J(e,t,n)}}function Yc(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){J(e,t,n)}}function Xc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){J(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){J(e,t,n)}else n.current=null}}function Zc(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){J(e,e.return,t)}}function Qc(e,t,n){try{var r=e.stateNode;Ld(r,e.type,n,t),r[_t]=t}catch(t){J(e,e.return,t)}}function $c(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$d(e.type)||e.tag===4}function el(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||$c(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&&$d(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 tl(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=un));else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(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&&$d(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(nl(e,t,n),e=e.sibling;e!==null;)nl(e,t,n),e=e.sibling}function rl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Id(t,r,n),t[gt]=e,t[_t]=n}catch(t){J(e,e.return,t)}}var il=!1,al=!1,ol=!1,sl=typeof WeakSet==`function`?WeakSet:Set,cl=null;function ll(e,t){if(e=e.containerInfo,Bd=lp,e=Fr(e),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Vd={focusedElem:e,selectionRange:n},lp=!1,cl=t;cl!==null;)if(t=cl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,cl=e;else for(;cl!==null;){switch(t=cl,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=Xs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){J(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)nf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:nf(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,cl=e;break}cl=t.return}}function ul(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:wl(e,n),r&4&&Gc(5,n);break;case 1:if(wl(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){J(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){J(n,n.return,e)}}}r&64&&qc(n),r&512&&Yc(n,n.return);break;case 3:if(wl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{eo(e,t)}catch(e){J(n,n.return,e)}}break;case 27:t===null&&r&4&&rl(n);case 26:case 5:wl(e,n),t===null&&r&4&&Zc(n),r&512&&Yc(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),r&4&&hl(e,n);break;case 13:wl(e,n),r&4&&gl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Zu.bind(null,n),lf(e,n))));break;case 22:if(r=n.memoizedState!==null||il,!r){t=t!==null&&t.memoizedState!==null||al,i=il;var a=al;il=r,(al=t)&&!a?El(e,n,!!(n.subtreeFlags&8772)):wl(e,n),il=i,al=a}break;case 30:break;default:wl(e,n)}}function dl(e){var t=e.alternate;t!==null&&(e.alternate=null,dl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(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 V=null,fl=!1;function pl(e,t,n){for(n=n.child;n!==null;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:al||Xc(n,t),pl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:al||Xc(n,t);var r=V,i=fl;$d(n.type)&&(V=n.stateNode,fl=!1),pl(e,t,n),hf(n.stateNode),V=r,fl=i;break;case 5:al||Xc(n,t);case 6:if(r=V,i=fl,V=null,pl(e,t,n),V=r,fl=i,V!==null){if(fl)try{(V.nodeType===9?V.body:V.nodeName===`HTML`?V.ownerDocument.body:V).removeChild(n.stateNode)}catch(e){J(n,t,e)}else try{V.removeChild(n.stateNode)}catch(e){J(n,t,e)}}break;case 18:V!==null&&(fl?(e=V,ef(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):ef(V,n.stateNode));break;case 4:r=V,i=fl,V=n.stateNode.containerInfo,fl=!0,pl(e,t,n),V=r,fl=i;break;case 0:case 11:case 14:case 15:Kc(2,n,t),al||Kc(4,n,t),pl(e,t,n);break;case 1:al||(Xc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Jc(n,t,r)),pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:al=(r=al)||n.memoizedState!==null,pl(e,t,n),al=r;break;default:pl(e,t,n)}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){J(t,t.return,e)}}}function gl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){J(t,t.return,e)}}function _l(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new sl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new sl),t;default:throw Error(i(435,e.tag))}}function vl(e,t){var n=_l(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Qu.bind(null,e,t);t.then(r,r)}})}function yl(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($d(c.type)){V=c.stateNode,fl=!1;break a}break;case 5:V=c.stateNode,fl=!1;break a;case 3:case 4:V=c.stateNode.containerInfo,fl=!0;break a}c=c.return}if(V===null)throw Error(i(160));ml(o,s,a),V=null,fl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xl(t,e),t=t.sibling}var bl=null;function xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yl(t,e),Sl(e),r&4&&(Kc(3,e,e.return),Gc(3,e),Kc(5,e,e.return));break;case 1:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),r&64&&il&&(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=bl;if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(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[Ct]||o[gt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Id(o,r,n),o[gt]=e,kt(o),r=o;break a;case`link`:var s=Uf(`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),Id(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Uf(`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),Id(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[gt]=e,kt(o),r=o}e.stateNode=r}else Wf(a,e.type,e.stateNode)}else e.stateNode=Rf(a,r,e.memoizedProps)}else o===r?r===null&&e.stateNode!==null&&Qc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Wf(a,e.type,e.stateNode):Rf(a,r,e.memoizedProps))}break;case 27:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),n!==null&&r&4&&Qc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),e.flags&32){a=e.stateNode;try{tn(a,``)}catch(t){J(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Qc(e,a,n===null?a:n.memoizedProps)),r&1024&&(ol=!0);break;case 6:if(yl(t,e),Sl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){J(e,e.return,t)}}break;case 3:if(Hf=null,a=bl,bl=vf(t.containerInfo),yl(t,e),bl=a,Sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){J(e,e.return,t)}ol&&(ol=!1,Cl(e));break;case 4:r=bl,bl=vf(e.stateNode.containerInfo),yl(t,e),Sl(e),bl=r;break;case 12:yl(t,e),Sl(e);break;case 31:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 13:yl(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ru=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=il,d=al;if(il=u||a,al=d||l,yl(t,e),al=d,il=u,Sl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||il||al||Tl(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){J(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){J(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?tf(m,!0):tf(l.stateNode,!1)}catch(e){J(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,vl(e,n))));break;case 19:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 30:break;case 21:break;default:yl(t,e),Sl(e)}}function Sl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if($c(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;nl(e,el(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),nl(e,el(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;tl(e,el(e),s);break;default:throw Error(i(161))}}catch(t){J(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ul(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kc(4,t,t.return),Tl(t);break;case 1:Xc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Jc(t,t.return,n),Tl(t);break;case 27:hf(t.stateNode);case 26:case 5:Xc(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function El(e,t,n){for(n&&=!!(t.subtreeFlags&8772),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:El(i,a,n),Gc(4,a);break;case 1:if(El(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){J(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)$a(c[i],s)}catch(e){J(r,r.return,e)}}n&&o&64&&qc(a),Yc(a,a.return);break;case 27:rl(a);case 26:case 5:El(i,a,n),n&&r===null&&o&4&&Zc(a),Yc(a,a.return);break;case 12:El(i,a,n);break;case 31:El(i,a,n),n&&o&4&&hl(i,a);break;case 13:El(i,a,n),n&&o&4&&gl(i,a);break;case 22:a.memoizedState===null&&El(i,a,n),Yc(a,a.return);break;case 30:break;default:El(i,a,n)}t=t.sibling}}function Dl(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&&fa(n))}function Ol(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&fa(e))}function kl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Al(e,t,n,r),t=t.sibling}function Al(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kl(e,t,n,r),i&2048&&Gc(9,t);break;case 1:kl(e,t,n,r);break;case 3:kl(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&&fa(e)));break;case 12:if(i&2048){kl(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){J(t,t.return,e)}}else kl(e,t,n,r);break;case 31:kl(e,t,n,r);break;case 13:kl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?kl(e,t,n,r):(a._visibility|=2,jl(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?kl(e,t,n,r):Ml(e,t),i&2048&&Dl(o,t);break;case 24:kl(e,t,n,r),i&2048&&Ol(t.alternate,t);break;default:kl(e,t,n,r)}}function jl(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!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:jl(a,o,s,c,i),Gc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,jl(a,o,s,c,i)):u._visibility&2?jl(a,o,s,c,i):Ml(a,o),i&&l&2048&&Dl(o.alternate,o);break;case 24:jl(a,o,s,c,i),i&&l&2048&&Ol(o.alternate,o);break;default:jl(a,o,s,c,i)}t=t.sibling}}function Ml(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:Ml(n,r),i&2048&&Dl(r.alternate,r);break;case 24:Ml(n,r),i&2048&&Ol(r.alternate,r);break;default:Ml(n,r)}t=t.sibling}}var Nl=8192;function Pl(e,t,n){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)Fl(e,t,n),e=e.sibling}function Fl(e,t,n){switch(e.tag){case 26:Pl(e,t,n),e.flags&Nl&&e.memoizedState!==null&&qf(n,bl,e.memoizedState,e.memoizedProps);break;case 5:Pl(e,t,n);break;case 3:case 4:var r=bl;bl=vf(e.stateNode.containerInfo),Pl(e,t,n),bl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Nl,Nl=16777216,Pl(e,t,n),Nl=r):Pl(e,t,n));break;default:Pl(e,t,n)}}function Il(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 Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&Kc(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,zl(e)):Ll(e);break;default:Ll(e)}}function zl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kc(8,t,t.return),zl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,zl(t));break;default:zl(t)}e=e.sibling}}function Bl(e,t){for(;cl!==null;){var n=cl;switch(n.tag){case 0:case 11:case 15:Kc(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:fa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,cl=r;else a:for(n=e;cl!==null;){r=cl;var i=r.sibling,a=r.return;if(dl(r),r===n){cl=null;break a}if(i!==null){i.return=a,cl=i;break a}cl=a}}}var Vl={getCacheForType:function(e){var t=ia(ua),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ia(ua).controller.signal}},Hl=typeof WeakMap==`function`?WeakMap:Map,H=0,U=null,W=null,G=0,K=0,Ul=null,Wl=!1,Gl=!1,Kl=!1,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=null,tu=null,nu=!1,ru=0,iu=0,au=1/0,ou=null,su=null,q=0,cu=null,lu=null,uu=0,du=0,fu=null,pu=null,mu=0,hu=null;function gu(){return H&2&&G!==0?G&-G:E.T===null?pt():pd()}function _u(){if(Ql===0){if(!(G&536870912)||F){var e=Qe;Qe<<=1,!(Qe&3932160)&&(Qe=262144),Ql=e}else Ql=536870912}return e=oo.current,e!==null&&(e.flags|=32),Ql}function vu(e,t,n){(e===U&&(K===2||K===9)||e.cancelPendingCommit!==null)&&(Tu(e,0),Su(e,G,Ql,!1)),ot(e,n),(!(H&2)||e!==U)&&(e===U&&(!(H&2)&&(Xl|=n),Jl===4&&Su(e,G,Ql,!1)),od(e))}function yu(e,t,n){if(H&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||nt(e,t),a=r?Nu(e,t):ju(e,t,!0),o=r;do{if(a===0){Gl&&!r&&Su(e,t,0,!1);break}if(n=e.current.alternate,o&&!xu(n)){a=ju(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=eu;var l=c.current.memoizedState.isDehydrated;if(l&&(Tu(c,s).flags|=256),s=ju(c,s,!1),s!==2){if(Kl&&!l){c.errorRecoveryDisabledLanes|=o,Xl|=o,a=4;break a}o=tu,tu=a,o!==null&&(tu===null?tu=o:tu.push.apply(tu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Tu(e,0),Su(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:Su(r,t,Ql,!Wl);break a;case 2:tu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=ru+300-Fe(),10<a)){if(Su(r,t,Ql,!Wl),tt(r,0,!0)!==0)break a;uu=t,r.timeoutHandle=Jd(bu.bind(null,r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,`Throttled`,-0,0),a);break a}bu(r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,null,-0,0)}break}while(1);od(e)}function bu(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:un},Fl(t,a,d);var m=(a&62914560)===a?ru-Fe():(a&4194048)===a?iu-Fe():0;if(m=Yf(d,m),m!==null){uu=a,e.cancelPendingCommit=m(Bu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Su(e,a,o,!l);return}}Bu(e,t,a,n,r,i,o,s,c)}function xu(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(!jr(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 Su(e,t,n,r){t&=~Zl,t&=~Xl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function Cu(){return H&6?!0:(sd(0,!1),!1)}function wu(){if(W!==null){if(K===0)var e=W.return;else e=W,Xi=Yi=null,Mo(e),Fa=null,Ia=0,e=W;for(;e!==null;)Wc(e.alternate,e),e=e.return;W=null}}function Tu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),uu=0,wu(),U=e,W=n=gi(e.current,null),G=t,K=0,Ul=null,Wl=!1,Gl=nt(e,t),Kl=!1,$l=Ql=Zl=Xl=Yl=Jl=0,tu=eu=null,nu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return ql=t,j(),n}function Eu(e,t){L=null,E.H=Hs,t===Ta||t===Da?(t=Na(),K=3):t===Ea?(t=Na(),K=4):K=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Ul=t,W===null&&(Jl=1,ec(e,wi(t,e.current)))}function Du(){var e=oo.current;return e===null?!0:(G&4194048)===G?so===null:(G&62914560)===G||G&536870912?e===so:!1}function Ou(){var e=E.H;return E.H=Hs,e===null?Hs:e}function ku(){var e=E.A;return E.A=Vl,e}function Au(){Jl=4,Wl||(G&4194048)!==G&&oo.current!==null||(Gl=!0),!(Yl&134217727)&&!(Xl&134217727)||U===null||Su(U,G,Ql,!1)}function ju(e,t,n){var r=H;H|=2;var i=Ou(),a=ku();(U!==e||G!==t)&&(ou=null,Tu(e,t)),t=!1;var o=Jl;a:do try{if(K!==0&&W!==null){var s=W,c=Ul;switch(K){case 8:wu(),o=6;break a;case 3:case 2:case 9:case 6:oo.current===null&&(t=!0);var l=K;if(K=0,Ul=null,Lu(e,s,c,l),n&&Gl){o=0;break a}break;default:l=K,K=0,Ul=null,Lu(e,s,c,l)}}Mu(),o=Jl;break}catch(t){Eu(e,t)}while(1);return t&&e.shellSuspendCounter++,Xi=Yi=null,H=r,E.H=i,E.A=a,W===null&&(U=null,G=0,j()),o}function Mu(){for(;W!==null;)Fu(W)}function Nu(e,t){var n=H;H|=2;var r=Ou(),a=ku();U!==e||G!==t?(ou=null,au=Fe()+500,Tu(e,t)):Gl=nt(e,t);a:do try{if(K!==0&&W!==null){t=W;var o=Ul;b:switch(K){case 1:K=0,Ul=null,Lu(e,t,o,1);break;case 2:case 9:if(ka(o)){K=0,Ul=null,Iu(t);break}t=function(){K!==2&&K!==9||U!==e||(K=7),od(e)},o.then(t,t);break a;case 3:K=7;break a;case 4:K=5;break a;case 7:ka(o)?(K=0,Ul=null,Iu(t)):(K=0,Ul=null,Lu(e,t,o,7));break;case 5:var s=null;switch(W.tag){case 26:s=W.memoizedState;case 5:case 27:var c=W;if(s?Kf(s):c.stateNode.complete){K=0,Ul=null;var l=c.sibling;if(l!==null)W=l;else{var u=c.return;u===null?W=null:(W=u,Ru(u))}break b}}K=0,Ul=null,Lu(e,t,o,5);break;case 6:K=0,Ul=null,Lu(e,t,o,6);break;case 8:wu(),Jl=6;break a;default:throw Error(i(462))}}Pu();break}catch(t){Eu(e,t)}while(1);return Xi=Yi=null,E.H=r,E.A=a,H=n,W===null?(U=null,G=0,j(),Jl):0}function Pu(){for(;W!==null&&!Ne();)Fu(W)}function Fu(e){var t=Ic(e.alternate,e,ql);e.memoizedProps=e.pendingProps,t===null?Ru(e):W=t}function Iu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,G);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,G);break;case 5:Mo(t);default:Wc(n,t),t=W=_i(t,ql),t=Ic(n,t,ql)}e.memoizedProps=e.pendingProps,t===null?Ru(e):W=t}function Lu(e,t,n,r){Xi=Yi=null,Mo(t),Fa=null,Ia=0;var i=t.return;try{if(ac(e,i,t,n,G)){Jl=1,ec(e,wi(n,e.current)),W=null;return}}catch(t){if(i!==null)throw W=i,t;Jl=1,ec(e,wi(n,e.current)),W=null;return}t.flags&32768?(F||r===1?e=!0:Gl||G&536870912?e=!1:(Wl=e=!0,(r===2||r===9||r===3||r===6)&&(r=oo.current,r!==null&&r.tag===13&&(r.flags|=16384))),zu(t,e)):Ru(t)}function Ru(e){var t=e;do{if(t.flags&32768){zu(t,Wl);return}e=t.return;var n=Hc(t.alternate,t,ql);if(n!==null){W=n;return}if(t=t.sibling,t!==null){W=t;return}W=t=e}while(t!==null);Jl===0&&(Jl=5)}function zu(e,t){do{var n=Uc(e.alternate,e);if(n!==null){n.flags&=32767,W=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){W=e;return}W=e=n}while(e!==null);Jl=6,W=null}function Bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Gu();while(q!==0);if(H&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=si,st(e,n,o,s,c,l),e===U&&(W=U=null,G=0),lu=t,cu=e,uu=n,du=o,fu=a,pu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,$u(ze,function(){return Ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=E.T,E.T=null,a=D.p,D.p=2,s=H,H|=4;try{ll(e,t,n)}finally{H=s,D.p=a,E.T=r}}q=1,Vu(),Hu(),Uu()}}function Vu(){if(q===1){q=0;var e=cu,t=lu,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=H;H|=4;try{xl(t,e);var a=Vd,o=Fr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}lp=!!Bd,Vd=Bd=null}finally{H=i,D.p=r,E.T=n}}e.current=t,q=2}}function Hu(){if(q===2){q=0;var e=cu,t=lu,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=H;H|=4;try{ul(e,t.alternate,t)}finally{H=i,D.p=r,E.T=n}}q=3}}function Uu(){if(q===4||q===3){q=0,Pe();var e=cu,t=lu,n=uu,r=pu;t.subtreeFlags&10256||t.flags&10256?q=5:(q=0,lu=cu=null,Wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(su=null),ft(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=E.T,i=D.p,D.p=2,E.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{E.T=t,D.p=i}}uu&3&&Gu(),od(e),i=e.pendingLanes,n&261930&&i&42?e===hu?mu++:(mu=0,hu=e):mu=0,sd(0,!1)}}function Wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,fa(t)))}function Gu(){return Vu(),Hu(),Uu(),Ku()}function Ku(){if(q!==5)return!1;var e=cu,t=du;du=0;var n=ft(uu),r=E.T,a=D.p;try{D.p=32>n?32:n,E.T=null,n=fu,fu=null;var o=cu,s=uu;if(q=0,lu=cu=null,uu=0,H&6)throw Error(i(331));var c=H;if(H|=4,Rl(o.current),Al(o,o.current,s,n),H=c,sd(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{D.p=a,E.T=r,Wu(e,t)}}function qu(e,t,n){t=wi(n,t),t=nc(e.stateNode,t,2),e=qa(e,t,2),e!==null&&(ot(e,2),od(e))}function J(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(su===null||!su.has(r))){e=wi(n,e),n=rc(2),r=qa(t,n,2),r!==null&&(ic(n,r,t,e),ot(r,2),od(r));break}}t=t.return}}function Ju(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hl;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)||(Kl=!0,i.add(n),e=Yu.bind(null,e,t,n),t.then(e,e))}function Yu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,U===e&&(G&n)===n&&(Jl===4||Jl===3&&(G&62914560)===G&&300>Fe()-ru?!(H&2)&&Tu(e,0):Zl|=n,$l===G&&($l=0)),od(e)}function Xu(e,t){t===0&&(t=it()),e=ui(e,t),e!==null&&(ot(e,t),od(e))}function Zu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xu(e,n)}function Qu(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),Xu(e,n)}function $u(e,t){return je(e,t)}var ed=null,td=null,nd=!1,rd=!1,id=!1,ad=0;function od(e){e!==td&&e.next===null&&(td===null?ed=td=e:td=td.next=e),rd=!0,nd||(nd=!0,fd())}function sd(e,t){if(!id&&rd){id=!0;do for(var n=!1,r=ed;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-qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,dd(r,a))}else a=G,a=tt(r,r===U?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||nt(r,a)||(n=!0,dd(r,a))}r=r.next}while(n);id=!1}}function cd(){ld()}function ld(){rd=nd=!1;var e=0;ad!==0&&qd()&&(e=ad);for(var t=Fe(),n=null,r=ed;r!==null;){var i=r.next,a=Y(r,t);a===0?(r.next=null,n===null?ed=i:n.next=i,i===null&&(td=n)):(n=r,(e!==0||a&3)&&(rd=!0)),r=i}q!==0&&q!==5||sd(e,!1),ad!==0&&(ad=0)}function Y(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=U,n=G,n=tt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(K===2||K===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||nt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),ft(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=ud.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function ud(e,t){if(q!==0&&q!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gu()&&e.callbackNode!==n)return null;var r=G;return r=tt(e,e===U?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(yu(e,r,t),Y(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?ud.bind(null,e):null)}function dd(e,t){if(Gu())return null;yu(e,t,!0)}function fd(){Zd(function(){H&6?je(Le,cd):ld()})}function pd(){if(ad===0){var e=ha;e===0&&(e=Ze,Ze<<=1,!(Ze&261888)&&(Ze=256)),ad=e}return ad}function md(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+e)}function hd(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 gd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=md((i[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?md(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new An(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ad!==0){var e=o?hd(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?hd(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var _d=0;_d<ni.length;_d++){var vd=ni[_d];ri(vd.toLowerCase(),`on`+(vd[0].toUpperCase()+vd.slice(1)))}ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),Nt(`onMouseEnter`,[`mouseout`,`mouseover`]),Nt(`onMouseLeave`,[`mouseout`,`mouseover`]),Nt(`onPointerEnter`,[`pointerout`,`pointerover`]),Nt(`onPointerLeave`,[`pointerout`,`pointerover`]),Mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var yd=`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(` `),bd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(yd));function xd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}}}}function X(e,t){var n=t[yt];n===void 0&&(n=t[yt]=new Set);var r=e+`__bubble`;n.has(r)||(Td(t,e,2,!1),n.add(r))}function Sd(e,t,n){var r=0;t&&(r|=4),Td(n,e,r,t)}var Cd=`_reactListening`+Math.random().toString(36).slice(2);function wd(e){if(!e[Cd]){e[Cd]=!0,At.forEach(function(t){t!==`selectionchange`&&(bd.has(t)||Sd(t,!1,e),Sd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cd]||(t[Cd]=!0,Sd(`selectionchange`,!1,t))}}function Td(e,t,n,r){switch(gp(t)){case 2:var i=up;break;case 8:i=dp;break;default:i=fp}n=i.bind(null,t,n,e),i=void 0,!bn||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 Ed(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=Tt(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}_n(function(){var r=a,i=fn(n),s=[];a:{var c=ti.get(e);if(c!==void 0){var l=An,u=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:l=Jn;break;case`focusin`:u=`focus`,l=zn;break;case`focusout`:u=`blur`,l=zn;break;case`beforeblur`:case`afterblur`:l=zn;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=Ln;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Rn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Xn;break;case Jr:case Yr:case Xr:l=Bn;break;case ei:l=Zn;break;case`scroll`:case`scrollend`:l=Mn;break;case`wheel`:l=Qn;break;case`copy`:case`cut`:case`paste`:l=Vn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Yn;break;case`toggle`:case`beforetoggle`:l=$n}var d=!!(t&4),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=vn(m,p),g!=null&&d.push(Dd(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!==dn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))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?Tt(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=Ln,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Yn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Dt(l),h=u==null?c:Dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Tt(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=kd,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&&Ad(s,c,l,d,!1),u!==null&&f!==null&&Ad(s,f,u,d,!0)}}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=yr;else if(pr(c)){if(br)v=kr;else{v=Dr;var y=Er}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(v=yr):v=Or;if(v&&=v(e,r)){mr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(y=r?Dt(r):window,e){case`focusin`:(pr(y)||y.contentEditable===`true`)&&(Rr=y,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(s,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(s,n,i)}var b;if(tr)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 lr?sr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ir&&n.locale!==`ko`&&(lr||x!==`onCompositionStart`?x===`onCompositionEnd`&&lr&&(b=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,lr=!0)),y=Od(r,x),0<y.length&&(x=new Hn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=cr(n),b!==null&&(x.data=b)))),(b=rr?ur(e,n):dr(e,n))&&(x=Od(r,`onBeforeInput`),0<x.length&&(y=new Hn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),gd(s,e,r,n,i)}xd(s,t)})}function Dd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(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=vn(e,n),i!=null&&r.unshift(Dd(e,i,a)),i=vn(e,t),i!=null&&r.push(Dd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function kd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ad(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=vn(n,a),l!=null&&o.unshift(Dd(n,l,c))):i||(l=vn(n,a),l!=null&&o.push(Dd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jd=/\r\n?/g,Md=/\u0000|\uFFFD/g;function Nd(e){return(typeof e==`string`?e:``+e).replace(jd,`
9`).replace(Md,``)}function Pd(e,t){return t=Nd(t),Nd(e)===t}function Z(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:zt(e,`class`,r);break;case`tabIndex`:zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:zt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){zt(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=ln(``+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}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Z(e,t,`name`,a.name,a,null),Z(e,t,`formEncType`,a.formEncType,a,null),Z(e,t,`formMethod`,a.formMethod,a,null),Z(e,t,`formTarget`,a.formTarget,a,null)):(Z(e,t,`encType`,a.encType,a,null),Z(e,t,`method`,a.method,a,null),Z(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=un);break;case`onScroll`:r!=null&&X(`scroll`,e);break;case`onScrollEnd`:r!=null&&X(`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=ln(``+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`:X(`beforetoggle`,e),X(`toggle`,e),Rt(e,`popover`,r);break;case`xlinkActuate`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Rt(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=sn.get(n)||n,Rt(e,n,r))}}function Fd(e,t,n,r,a,o){switch(n){case`style`:an(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`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(e,``+r);break;case`onScroll`:r!=null&&X(`scroll`,e);break;case`onScrollEnd`:r!=null&&X(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=un);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!jt.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[_t]||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,``):Rt(e,n,r)}}}function Id(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:X(`error`,e),X(`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:Z(e,t,o,s,n,null)}}a&&Z(e,t,`srcSet`,n.srcSet,n,null),r&&Z(e,t,`src`,n.src,n,null);return;case`input`:X(`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:Z(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in X(`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:Z(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in X(`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:Z(e,t,s,c,n,null)}en(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:Z(e,t,l,r,n,null)}return;case`dialog`:X(`beforetoggle`,e),X(`toggle`,e),X(`cancel`,e),X(`close`,e);break;case`iframe`:case`object`:X(`load`,e);break;case`video`:case`audio`:for(r=0;r<yd.length;r++)X(yd[r],e);break;case`image`:X(`error`,e),X(`load`,e);break;case`details`:X(`toggle`,e);break;case`embed`:case`source`:case`link`:X(`error`,e),X(`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:Z(e,t,u,r,n,null)}return;default:if(on(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Fd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Z(e,t,c,r,n,null))}function Ld(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)||Z(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&&Z(e,t,p,m,r,f)}}Yt(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)||Z(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&&Z(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(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:Z(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&&Z(e,t,s,a,r,o)}$t(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:Z(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:Z(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)&&Z(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:Z(e,t,u,p,r,m)}return;default:if(on(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Fd(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||Fd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Z(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||Z(e,t,f,p,r,m)}function Rd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function zd(){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&&Rd(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&&Rd(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 Bd=null,Vd=null;function Hd(e){return e.nodeType===9?e:e.ownerDocument}function Ud(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 Wd(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 Gd(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 Kd=null;function qd(){var e=window.event;return e&&e.type===`popstate`?e!==Kd&&(Kd=e,!0):(Kd=null,!1)}var Jd=typeof setTimeout==`function`?setTimeout:void 0,Yd=typeof clearTimeout==`function`?clearTimeout:void 0,Xd=typeof Promise==`function`?Promise:void 0,Zd=typeof queueMicrotask==`function`?queueMicrotask:Xd===void 0?Jd:function(e){return Xd.resolve(null).then(e).catch(Qd)};function Qd(e){setTimeout(function(){throw e})}function $d(e){return e===`head`}function ef(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)hf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,hf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Ct]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&hf(e.ownerDocument.body)}n=i}while(n);Pp(t)}function tf(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 nf(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`:nf(n),wt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rf(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[Ct])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=uf(e.nextSibling),e===null)break}return null}function af(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=uf(e.nextSibling),e===null))return null;return e}function of(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=uf(e.nextSibling),e===null))return null;return e}function sf(e){return e.data===`$?`||e.data===`$~`}function cf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function lf(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 uf(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 df=null;function ff(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return uf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function pf(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 mf(e,t,n){switch(t=Hd(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 hf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(e)}var gf=new Map,_f=new Set;function vf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var yf=D.d;D.d={f:bf,r:xf,D:wf,C:Tf,L:Ef,m:Df,X:kf,S:Of,M:Af};function bf(){var e=yf.f(),t=Cu();return e||t}function xf(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?As(t):yf.r(e)}var Sf=typeof document>`u`?null:document;function Cf(e,t,n){var r=Sf;if(r&&typeof t==`string`&&t){var i=Jt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),_f.has(i)||(_f.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Id(t,`link`,e),kt(t),r.head.appendChild(t)))}}function wf(e){yf.D(e),Cf(`dns-prefetch`,e,null)}function Tf(e,t){yf.C(e,t),Cf(`preconnect`,e,t)}function Ef(e,t,n){yf.L(e,t,n);var r=Sf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=Mf(e);break;case`script`:a=If(e)}gf.has(a)||(e=h({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),gf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Nf(a))||t===`script`&&r.querySelector(Lf(a))||(t=r.createElement(`link`),Id(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Df(e,t){yf.m(e,t);var n=Sf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Jt(r)+`"][href="`+Jt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=If(e)}if(!gf.has(a)&&(e=h({rel:`modulepreload`,href:e},t),gf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Lf(a)))return}r=n.createElement(`link`),Id(r,`link`,e),kt(r),n.head.appendChild(r)}}}function Of(e,t,n){yf.S(e,t,n);var r=Sf;if(r&&e){var i=Ot(r).hoistableStyles,a=Mf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Nf(a)))s.loading=5;else{e=h({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=gf.get(a))&&Bf(e,n);var c=o=r.createElement(`link`);kt(c),Id(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,zf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function kf(e,t){yf.X(e,t);var n=Sf;if(n&&e){var r=Ot(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=h({src:e,async:!0},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),kt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t){yf.M(e,t);var n=Sf;if(n&&e){var r=Ot(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=h({src:e,async:!0,type:`module`},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),kt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t,n,r){var a=(a=_e.current)?vf(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=Mf(n.href),n=Ot(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=Mf(n.href);var o=Ot(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(Nf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),gf.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},gf.set(e,n),o||Ff(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=If(n),n=Ot(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 Mf(e){return`href="`+Jt(e)+`"`}function Nf(e){return`link[rel="stylesheet"][`+e+`]`}function Pf(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function Ff(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}),Id(t,`link`,n),kt(t),e.head.appendChild(t))}function If(e){return`[src="`+Jt(e)+`"]`}function Lf(e){return`script[async]`+e}function Rf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var a=h({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),Id(r,`style`,a),zf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Mf(n.href);var o=e.querySelector(Nf(a));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Pf(n),(a=gf.get(a))&&Bf(r,a),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Id(o,`link`,r),t.state.loading|=4,zf(o,n.precedence,e),t.instance=o;case`script`:return o=If(n.src),(a=e.querySelector(Lf(o)))?(t.instance=a,kt(a),a):(r=n,(a=gf.get(o))&&(r=h({},n),Vf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),kt(a),Id(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,zf(r,n.precedence,e));return t.instance}function zf(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 Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Hf=null;function Uf(e,t,n){if(Hf===null){var r=new Map,i=Hf=new Map;i.set(n,r)}else i=Hf,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[Ct]||a[gt]||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 Wf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Gf(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 Kf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function qf(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=Mf(r.href),a=t.querySelector(Nf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Xf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,kt(a);return}a=t.ownerDocument||t,r=Pf(r),(i=gf.get(i))&&Bf(r,i),a=a.createElement(`link`),kt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Id(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=Xf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Jf=0;function Yf(e,t){return e.stylesheets&&e.count===0&&Qf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Jf===0&&(Jf=62500*zd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Jf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Xf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zf=null;function Qf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach($f,e),Zf=null,Xf.call(e))}function $f(e,t){if(!(t.state.loading&4)){var n=Zf.get(e);if(n)var r=n.get(null);else{n=new Map,Zf.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=Xf.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 ep={$$typeof:C,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function tp(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=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(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 np(e,t,n,r,i,a,o,s,c,l,u,d){return e=new tp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=mi(3,null,null,t),e.current=a,a.stateNode=e,t=da(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Wa(a),e}function rp(e){return e?(e=fi,e):fi}function ip(e,t,n,r,i,a){i=rp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ka(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=qa(e,r,t),n!==null&&(vu(n,e,t),Ja(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function op(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sp(e){if(e.tag===13||e.tag===31){var t=ui(e,67108864);t!==null&&vu(t,e,67108864),op(e,67108864)}}function cp(e){if(e.tag===13||e.tag===31){var t=gu();t=dt(t);var n=ui(e,t);n!==null&&vu(n,e,t),op(e,t)}}var lp=!0;function up(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=2,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function dp(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=8,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function fp(e,t,n,r){if(lp){var i=pp(r);if(i===null)Ed(e,t,r,mp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=et(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}od(a),!(H&6)&&(au=Fe()+500,sd(0,!1))}}break;case 31:case 13:s=ui(a,2),s!==null&&vu(s,a,2),Cu(),op(a,2)}if(a=pp(r),a===null&&Ed(e,t,r,mp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Ed(e,t,r,null,n)}}function pp(e){return e=fn(e),hp(e)}var mp=null;function hp(e){if(mp=null,e=Tt(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 mp=e,null}function gp(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(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var _p=!1,Q=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function wp(e,t){switch(e){case`focusin`:case`focusout`:Q=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Et(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return Q=Tp(Q,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=Tt(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,mt(e.priority,function(){cp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){cp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);dn=r,n.target.dispatchEvent(r),dn=null}else return t=Et(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){_p=!1,Q!==null&&Op(Q)&&(Q=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,_p||(_p=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ap)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mp===e&&(Mp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(hp(r||n)===null)continue;break}var a=Et(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}Q!==null&&jp(Q,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[_t]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||null)s=o.formAction;else if(hp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;ip(n,gu(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;
9ip(e.current,2,null,e,null,null),Cu(),t[vt]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=n.version;if(Rp!==`19.2.8`)throw Error(i(527,Rp,`19.2.8`));D.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=d(t),e=e===null?null:p(e),e=e===null?null:e.stateNode,e};var zp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:E,reconcilerVersion:`19.2.8`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{We=Bp.inject(zp),Ge=Bp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Zs,s=Qs,c=$s;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=np(e,1,!1,null,null,n,r,null,o,s,c,Fp),e[vt]=t.current,wd(e),new Ip(t)}})),g=o(((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=h()})),_=c(u(),1),v=g(),y=`modulepreload`,b=function(e){return`/`+e},x={},S=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}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=b(t,n),t=s(t),t in x)return;x[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:y,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.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)})},C=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,w=/^[\\/]{2}/;function ee(e,t){return t+e.replace(/\\/g,`/`)}var te=`popstate`;function ne(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function re(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return se(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:ce(t)}return E(t,n,null,e)}function T(e,t){if(e===!1||e==null)throw Error(t)}function ie(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function ae(){return Math.random().toString(36).substring(2,10)}function oe(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function se(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?le(t):t,state:n,key:t&&t.key||r||ae(),mask:i}}function ce({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 le(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 E(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=ne(e)?e:se(h.location,e,t);n&&n(r,e),l=u()+1;let d=oe(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=ne(e)?e:se(h.location,e,t);n&&n(r,e),l=u();let i=oe(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return D(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(te,d),c=e,()=>{i.removeEventListener(te,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 D(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),T(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:ce(t);return i=i.replace(/ $/,`%20`),!n&&w.test(i)&&(i=r+i),new URL(i,r)}function ue(e,t,n=`/`){return de(e,t,n,!1)}function de(e,t,n,r,i){let a=ke((typeof t==`string`?le(t):t).pathname||`/`,n);if(a==null)return null;let o=i??fe(e),s=null,c=Oe(a);for(let e=0;s==null&&e<o.length;++e)s=we(o[e],c,r);return s}function fe(e){let t=pe(e);return O(t),t}function pe(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;T(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Le([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(T(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),pe(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Se(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=De(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of me(e.path))a(e,t,!0,n)}),t}function me(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=me(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 O(e){e.sort((e,t)=>e.score===t.score?Ce(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var he=/^:[\w-]+$/,ge=3,_e=2,ve=1,ye=10,be=-2,xe=e=>e===`*`;function Se(e,t){let n=e.split(`/`),r=n.length;return n.some(xe)&&(r+=be),t&&(r+=_e),n.filter(e=>!xe(e)).reduce((e,t)=>e+(he.test(t)?ge:t===``?ve:ye),r)}function Ce(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 we(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?Ee(u,l,s.matcher,s.compiledParams):Te(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=Te({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
9Object.assign(i,d.params),o.push({params:i,pathname:Le([a,d.pathname]),pathnameBase:ze(Le([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=Le([a,d.pathnameBase]))}return o}function Te(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=De(e.path,e.caseSensitive,e.end);return Ee(e,t,n,r)}function Ee(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function De(e,t=!1,n=!0){ie(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 Oe(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return ie(!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 ke(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function Ae(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?le(e):e,a;return n?(n=Ie(n),a=n.startsWith(`/`)?je(n.substring(1),`/`):je(n,t)):a=t,{pathname:a,search:Be(r),hash:Ve(i)}}function je(e,t){let n=Re(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Me(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 Ne(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Pe(e){let t=Ne(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Fe(e,t,n,r=!1){let i;typeof e==`string`?i=le(e):(i={...e},T(!i.pathname||!i.pathname.includes(`?`),Me(`?`,`pathname`,`search`,i)),T(!i.pathname||!i.pathname.includes(`#`),Me(`#`,`pathname`,`hash`,i)),T(!i.search||!i.search.includes(`#`),Me(`#`,`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=Ae(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Ie=e=>e.replace(/[\\/]{2,}/g,`/`),Le=e=>Ie(e.join(`/`)),Re=e=>e.replace(/\/+$/,``),ze=e=>Re(e).replace(/^\/*/,`/`),Be=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Ve=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,He=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 Ue(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function We(e){return Le(e.map(e=>e.route.path).filter(Boolean))||`/`}var Ge=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Ke(e,t){let n=e;if(typeof n!=`string`||!C.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ge)try{let e=new URL(window.location.href),r=w.test(n)?new URL(ee(n,e.protocol)):new URL(n),a=ke(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{ie(!1,`<Link to="${n}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var qe=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(qe);var Je=[`GET`,...qe];new Set(Je);var Ye=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Xe(e){try{return Ye.includes(new URL(e).protocol)}catch{return!1}}var Ze=_.createContext(null);Ze.displayName=`DataRouter`;var Qe=_.createContext(null);Qe.displayName=`DataRouterState`;var $e=_.createContext(!1);function et(){return _.useContext($e)}var tt=_.createContext({isTransitioning:!1});tt.displayName=`ViewTransition`;var nt=_.createContext(new Map);nt.displayName=`Fetchers`;var rt=_.createContext(null);rt.displayName=`Await`;var it=_.createContext(null);it.displayName=`Navigation`;var at=_.createContext(null);at.displayName=`Location`;var ot=_.createContext({outlet:null,matches:[],isDataRoute:!1});ot.displayName=`Route`;var st=_.createContext(null);st.displayName=`RouteError`;var ct=`REACT_ROUTER_ERROR`,lt=`REDIRECT`,ut=`ROUTE_ERROR_RESPONSE`;function dt(e){if(e.startsWith(`${ct}:${lt}:{`))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 ft(e){if(e.startsWith(`${ct}:${ut}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new He(t.status,t.statusText,t.data)}catch{}}function pt(e,{relative:t}={}){T(mt(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=_.useContext(it),{hash:i,pathname:a,search:o}=xt(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Le([n,a])),r.createHref({pathname:s,search:o,hash:i})}function mt(){return _.useContext(at)!=null}function ht(){return T(mt(),`useLocation() may be used only in the context of a <Router> component.`),_.useContext(at).location}var gt=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function _t(e){_.useContext(it).static||_.useLayoutEffect(e)}function vt(){let{isDataRoute:e}=_.useContext(ot);return e?Rt():yt()}function yt(){T(mt(),`useNavigate() may be used only in the context of a <Router> component.`);let e=_.useContext(Ze),{basename:t,navigator:n}=_.useContext(it),{matches:r}=_.useContext(ot),{pathname:i}=ht(),a=JSON.stringify(Pe(r)),o=_.useRef(!1);return _t(()=>{o.current=!0}),_.useCallback((r,s={})=>{if(ie(o.current,gt),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Fe(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Le([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}_.createContext(null);function bt(){let{matches:e}=_.useContext(ot);return e[e.length-1]?.params??{}}function xt(e,{relative:t}={}){let{matches:n}=_.useContext(ot),{pathname:r}=ht(),i=JSON.stringify(Pe(n));return _.useMemo(()=>Fe(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function St(e,t){return Ct(e,t)}function Ct(e,t,n){T(mt(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=_.useContext(it),{matches:i}=_.useContext(ot),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||``;Bt(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.
10
11Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=ht(),d;if(t){let e=typeof t==`string`?le(t):t;T(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=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):ue(e,{pathname:p});ie(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ie(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=At(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Le([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Le([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?_.createElement(at.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...d},navigationType:`POP`}},h):h}function wt(){let e=Lt(),t=Ue(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=_.createElement(_.Fragment,null,_.createElement(`p`,null,`💿 Hey developer 👋`),_.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,_.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,_.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),_.createElement(_.Fragment,null,_.createElement(`h2`,null,`Unexpected Application 
11Error!`),_.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?_.createElement(`pre`,{style:i},n):null,o)}var Tt=_.createElement(wt,null),Et=class extends _.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=ft(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:_.createElement(ot.Provider,{value:this.props.routeContext},_.createElement(st.Provider,{value:e,children:this.props.component}));return this.context?_.createElement(Ot,{error:e},t):t}};Et.contextType=$e;var Dt=new WeakMap;function Ot({children:e,error:t}){let{basename:n}=_.useContext(it);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=dt(t.digest);if(e){let r=Dt.get(t);if(r)throw r;let i=Ke(e.location,n),a=i.absoluteURL||i.to;if(Xe(a))throw Error(`Invalid redirect location`);if(Ge&&!Dt.get(t)){if(i.isExternal||e.reloadDocument)window.location.href=a;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Dt.set(t,n),n}}return _.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a}`})}}return e}function kt({routeContext:e,match:t,children:n}){let r=_.useContext(Ze);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(ot.Provider,{value:e},n)}function At(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);T(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:We(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||Tt,o&&(s<0&&c===0?(Bt(`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?_.createElement(n.route.Component,null):n.route.element?n.route.element:e,_.createElement(kt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?_.createElement(Et,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function jt(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Mt(e){let t=_.useContext(Ze);return T(t,jt(e)),t}function Nt(e){let t=_.useContext(Qe);return T(t,jt(e)),t}function Pt(e){let t=_.useContext(ot);return T(t,jt(e)),t}function Ft(e){let t=Pt(e),n=t.matches[t.matches.length-1];return T(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function It(){return Ft(`useRouteId`)}function Lt(){let e=_.useContext(st),t=Nt(`useRouteError`),n=Ft(`useRouteError`);return e===void 0?t.errors?.[n]:e}function Rt(){let{router:e}=Mt(`useNavigate`),t=Ft(`useNavigate`),n=_.useRef(!1);return _t(()=>{n.current=!0}),_.useCallback(async(r,i={})=>{ie(n.current,gt),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var zt={};function Bt(e,t,n){!t&&!zt[e]&&(zt[e]=!0,ie(!1,n))}_.memo(Vt);function Vt({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return Ct(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function Ht(e){T(!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 Ut({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){T(!mt(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=_.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=le(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=_.useMemo(()=>{let e=ke(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
11return ie(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:_.createElement(it.Provider,{value:c},_.createElement(at.Provider,{children:t,value:h}))}function Wt({children:e,location:t}){return St(Gt(e),t)}_.Component;function Gt(e,t=[]){let n=[];return _.Children.forEach(e,(e,r)=>{if(!_.isValidElement(e))return;let i=[...t,r];if(e.type===_.Fragment){n.push.apply(n,Gt(e.props.children,i));return}T(e.type===Ht,`[${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>`),T(!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=Gt(e.props.children,i)),n.push(a)}),n}var Kt=`get`,qt=`application/x-www-form-urlencoded`;function Jt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Yt(e){return Jt(e)&&e.tagName.toLowerCase()===`button`}function Xt(e){return Jt(e)&&e.tagName.toLowerCase()===`form`}function Zt(e){return Jt(e)&&e.tagName.toLowerCase()===`input`}function Qt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $t(e,t){return e.button===0&&(!t||t===`_self`)&&!Qt(e)}var en=null;function tn(){if(en===null)try{new FormData(document.createElement(`form`),0),en=!1}catch{en=!0}return en}var nn=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function rn(e){return e!=null&&!nn.has(e)?(ie(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${qt}"`),null):e}function an(e,t){let n,r,i,a,o;if(Xt(e)){let o=e.getAttribute(`action`);r=o?ke(o,t):null,n=e.getAttribute(`method`)||Kt,i=rn(e.getAttribute(`enctype`))||qt,a=new FormData(e)}else if(Yt(e)||Zt(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?ke(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Kt,i=rn(e.getAttribute(`formenctype`))||rn(o.getAttribute(`enctype`))||qt,a=new FormData(o,e),!tn()){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(Jt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Kt,r=null,i=qt,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`);function on(e,t){if(e===!1||e==null)throw Error(t)}function sn(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return i.pathname=n?i.pathname.endsWith(`/`)?`${i.pathname}_.${r}`:`${i.pathname}.${r}`:i.pathname===`/`?`_root.${r}`:t&&ke(i.pathname,t)===`/`?`${Re(t)}/_root.${r}`:`${Re(i.pathname)}.${r}`,i}async function cn(e,t){if(e.id in t)return t[e.id];try{let n=await S(()=>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 ln(e){return e!=null&&typeof e.page==`string`}function un(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 dn(e,t,n){return gn((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await cn(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(un).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function fn(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,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)=>
11o(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 pn(e,t,{includeHydrateFallback:n}={}){return mn(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 mn(e){return[...new Set(e)]}function hn(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function gn(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!ln(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(hn(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function _n(){let e=_.useContext(Ze);return on(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function vn(){let e=_.useContext(Qe);return on(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var yn=_.createContext(void 0);yn.displayName=`FrameworkContext`;function bn(){let e=_.useContext(yn);return on(e,`You must render this element inside a <HydratedRouter> element`),e}function xn(e,t){let n=_.useContext(yn),[r,i]=_.useState(!1),[a,o]=_.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=_.useRef(null);_.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]),_.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:Sn(s,p),onBlur:Sn(c,m),onMouseEnter:Sn(l,p),onMouseLeave:Sn(u,m),onTouchStart:Sn(d,p)}]:[a,f,{}]:[!1,f,{}]}function Sn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Cn({page:e,...t}){let n=et(),{nonce:r}=bn(),{router:i}=_n(),a=_.useMemo(()=>ue(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?_.createElement(Tn,{page:e,matches:a,...t}):_.createElement(En,{page:e,matches:a,...t})):null}function wn(e){let{manifest:t,routeModules:n}=bn(),[r,i]=_.useState([]);return _.useEffect(()=>{let r=!1;return dn(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function Tn({page:e,matches:t,...n}){let r=ht(),{future:i}=bn(),{basename:a}=_n(),o=_.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=sn(e,a,i.v8_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.v8_trailingSlashAwareDataRequests,e,r,t]);return _.createElement(_.Fragment,null,o.map(e=>_.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function En({page:e,matches:t,...n}){let r=ht(),{future:i,manifest:a,routeModules:o}=bn(),{basename:s}=_n(),{loaderData:c,matches:l}=vn(),u=_.useMemo(()=>fn(e,t,l,a,r,`data`),[e,t,l,a,r]),d=_.useMemo(()=>fn(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=_.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=sn(e,s,i.v8_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.v8_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=_.useMemo(()=>pn(d,a),[d,a]),m=wn(d);return _.createElement(_.Fragment,null,f.map(e=>_.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>_.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>_.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Dn(...e){return t=>
11{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}_.Component;var On=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{On&&(window.__reactRouterVersion=`7.18.2`)}catch{}function kn({basename:e,children:t,useTransitions:n,window:r}){let i=_.useRef();i.current??=re({window:r,v5Compat:!0});let a=i.current,[o,s]=_.useState({action:a.action,location:a.location}),c=_.useCallback(e=>{n===!1?s(e):_.startTransition(()=>s(e))},[n]);return _.useLayoutEffect(()=>a.listen(c),[a,c]),_.createElement(Ut,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var k=_.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:v}=_.useContext(it),y=typeof l==`string`&&C.test(l),b=Ke(l,h);l=b.to;let x=pt(l,{relative:r}),S=ht(),w=null;if(o){let e=Fe(o,[],S.mask?S.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Le([h,e.pathname])),w=g.createHref(e)}let[ee,te,ne]=xn(n,p),re=Pn(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:v});function T(t){e&&e(t),t.defaultPrevented||re(t)}let ie=!(b.isExternal||i),ae=_.createElement(`a`,{...p,...ne,href:(ie?w:void 0)||b.absoluteURL||x,onClick:ie?T:e,ref:Dn(m,te),target:c,"data-discover":!y&&t===`render`?`true`:void 0});return ee&&!y?_.createElement(_.Fragment,null,ae,_.createElement(Cn,{page:x})):ae});k.displayName=`Link`;var An=_.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=xt(a,{relative:c.relative}),d=ht(),f=_.useContext(Qe),{navigator:p,basename:m}=_.useContext(it),h=f!=null&&zn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,v=d.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(v=v.toLowerCase(),y=y?y.toLowerCase():null,g=g.toLowerCase()),y&&m&&(y=ke(y,m)||y);let b=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,x=v===g||!r&&v.startsWith(g)&&v.charAt(b)===`/`,S=y!=null&&(y===g||!r&&y.startsWith(g)&&y.charAt(g.length)===`/`),C={isActive:x,isPending:S,isTransitioning:h},w=x?e:void 0,ee;ee=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let te=typeof i==`function`?i(C):i;return _.createElement(k,{...c,"aria-current":w,className:ee,ref:l,style:te,to:a,viewTransition:o},typeof s==`function`?s(C):s)});An.displayName=`NavLink`;var jn=_.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Kt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=_.useContext(it),g=Ln(),v=Rn(s,{relative:l}),y=o.toLowerCase()===`get`?`get`:`post`,b=typeof s==`string`&&C.test(s);return _.createElement(`form`,{ref:m,method:y,action:v,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?_.startTransition(()=>p()):p()},...p,"data-discover":!b&&e===`render`?`true`:void 0})});jn.displayName=`Form`;function Mn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Nn(e){let t=_.useContext(Ze);return T(t,Mn(e)),t}function Pn(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=vt(),d=ht(),f=xt(e,{relative:o});return _.useCallback(p=>{if($t(p,t)){p.preventDefault();let t=n===void 0?ce(d)===ce(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?_.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var Fn=0,In=()=>`__${String(++Fn)}__`;function Ln(){let{router:e}
11=Nn(`useSubmit`),{basename:t}=_.useContext(it),n=It(),r=e.fetch,i=e.navigate;return _.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=an(e,t);if(a.navigate===!1){let e=a.fetcherKey||In();await r(e,n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync})}else await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Rn(e,{relative:t}={}){let{basename:n}=_.useContext(it),r=_.useContext(ot);T(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...xt(e||`.`,{relative:t})},o=ht();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:Le([n,a.pathname])),ce(a)}function zn(e,{relative:t}={}){let n=_.useContext(tt);T(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Nn(`useViewTransitionState`),i=xt(e,{relative:t});if(!n.isTransitioning)return!1;let a=ke(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ke(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Te(i.pathname,o)!=null||Te(i.pathname,a)!=null}var Bn=o((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})),Vn=o(((e,t)=>{t.exports=Bn()})),Hn=(0,_.createContext)({});function Un(e){let t=(0,_.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Wn=typeof window<`u`?_.useLayoutEffect:_.useEffect,Gn=(0,_.createContext)(null);function Kn(e,t){e.indexOf(t)===-1&&e.push(t)}function qn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Jn=(e,t,n)=>n>t?t:n<e?e:n,Yn={},Xn=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Zn=e=>typeof e==`object`&&!!e,Qn=e=>/^0[^.\s]+$/u.test(e);function $n(e){let t;return()=>(t===void 0&&(t=e()),t)}var er=e=>e,tr=(...e)=>e.reduce((e,t)=>n=>t(e(n))),nr=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},rr=class{constructor(){this.subscriptions=[]}add(e){return Kn(this.subscriptions,e),()=>qn(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}},ir=e=>e*1e3,ar=e=>e/1e3,or=(e,t)=>t?1e3/t*e:0,sr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,cr=1e-7,lr=12;function ur(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=sr(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>cr&&++s<lr);return o}function dr(e,t,n,r){if(e===t&&n===r)return er;let i=t=>ur(t,0,1,e,n);return e=>e===0||e===1?e:sr(i(e),t,r)}var fr=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,pr=e=>t=>1-e(1-t),mr=dr(.33,1.53,.69,.99),hr=pr(mr),gr=fr(hr),_r=e=>e>=1?1:(e*=2)<1?.5*hr(e):.5*(2-2**(-10*(e-1))),vr=e=>1-Math.sin(Math.acos(e)),yr=pr(vr),br=fr(vr),xr=dr(.42,0,1,1),Sr=dr(0,0,.58,1),Cr=dr(.42,0,.58,1),wr=e=>Array.isArray(e)&&typeof e[0]!=`number`,Tr=e=>Array.isArray(e)&&typeof e[0]==`number`,Er={linear:er,easeIn:xr,easeInOut:Cr,easeOut:Sr,circIn:vr,circInOut:br,circOut:yr,backIn:hr,backInOut:gr,backOut:mr,anticipate:_r},Dr=e=>typeof e==`string`,Or=e=>{if(Tr(e)){e.length;let[t,n,r,i]=e;return dr(t,n,r,i)}return Dr(e)?(Er[e],`${e}`,Er[e]):e},kr=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function Ar(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var jr=40;function Mr(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=kr.reduce((e,t)=>
11(e[t]=Ar(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Yn.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,jr),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:kr.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<kr.length;t++)o[kr[t]].cancel(e)},state:i,steps:o}}var{schedule:A,cancel:Nr,state:Pr,steps:Fr}=Mr(typeof requestAnimationFrame<`u`?requestAnimationFrame:er,!0),Ir;function Lr(){Ir=void 0}var Rr={now:()=>(Ir===void 0&&Rr.set(Pr.isProcessing||Yn.useManualTiming?Pr.timestamp:performance.now()),Ir),set:e=>{Ir=e,queueMicrotask(Lr)}},zr=e=>t=>typeof t==`string`&&t.startsWith(e),Br=zr(`--`),Vr=zr(`var(--`),Hr=e=>Vr(e)?Ur.test(e.split(`/*`)[0].trim()):!1,Ur=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Wr(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Gr={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Kr={...Gr,transform:e=>Jn(0,1,e)},qr={...Gr,default:1},Jr=e=>Math.round(e*1e5)/1e5,Yr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xr(e){return e==null}var Zr=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qr=(e,t)=>n=>!!(typeof n==`string`&&Zr.test(n)&&n.startsWith(e)||t&&!Xr(n)&&Object.prototype.hasOwnProperty.call(n,t)),$r=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Yr);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},ei=e=>Jn(0,255,e),ti={...Gr,transform:e=>Math.round(ei(e))},ni={test:Qr(`rgb`,`red`),parse:$r(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+ti.transform(e)+`, `+ti.transform(t)+`, `+ti.transform(n)+`, `+Jr(Kr.transform(r))+`)`};function ri(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 ii={test:Qr(`#`),parse:ri,transform:ni.transform},ai=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),oi=ai(`deg`),si=ai(`%`),j=ai(`px`),ci=ai(`vh`),li=ai(`vw`),ui={...si,parse:e=>si.parse(e)/100,transform:e=>si.transform(e*100)},di={test:Qr(`hsl`,`hue`),parse:$r(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+si.transform(Jr(t))+`, `+si.transform(Jr(n))+`, `+Jr(Kr.transform(r))+`)`},M={test:e=>ni.test(e)||ii.test(e)||di.test(e),parse:e=>ni.test(e)?ni.parse(e):di.test(e)?di.parse(e):ii.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?ni.transform(e):di.transform(e),getAnimatableNone:e=>{let t=M.parse(e);return t.alpha=0,M.transform(t)}},fi=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function pi(e){return isNaN(e)&&typeof e==`string`&&(e.match(Yr)?.length||0)+(e.match(fi)?.length||0)>0}var mi=`number`,hi=`color`,gi=`var`,_i=`var(`,vi="${}",yi=/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 bi(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(yi,e=>(M.test(e)?(r.color.push(a),i.push(hi),n.push(M.parse(e))):e.startsWith(_i)?(r.var.push(a),i.push(gi),n.push(e)):(r.number.push(a),i.push(mi),n.push(parseFloat(e))),++a,vi)).split(vi),indexes:r,types:i}}function xi(e){return bi(e).values}function Si({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];i+=e===mi?Jr(r[a]):e===hi?M.transform(r[a]):r[a]}return i}}function Ci(e){return Si(bi(e))}var wi=e=>typeof e==`number`?0:M.test(e)?M.getAnimatableNone(e):e,Ti=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:wi(e);function Ei(e){let t=bi(e);return Si(t)(t.values.map((e,n)=>Ti(e,t.split[n])))}var Di={test:pi,parse:xi,createTransformer:Ci,getAnimatableNone:Ei};function Oi(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 ki({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=Oi(s,r,e+1/3),a=Oi(s,r,e),o=Oi(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Ai(e,t){return n=>n>0?t:e}var N=(e,t,n)=>e+(t-e)*n,ji=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Mi=[ii,ni,di],Ni=e=>Mi.find(t=>t.test(e));function Pi(e){let t=Ni(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===di&&(n=ki(n)),n}var Fi=(e,t)=>{let n=Pi(e),r=Pi(t);if(!n||!r)return Ai(e,t);let i={...n};return e=>(i.red=ji(n.red,r.red,e),i.green=ji(n.green,r.green,e),i.blue=ji(n.blue,r.blue,e),i.alpha=N(n.alpha,r.alpha,e),ni.transform(i))},Ii=new Set([`none`,`hidden`]);function Li(e,t){return Ii.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ri(e,t){return n=>N(e,t,n)}function P(e){return typeof e==`number`?Ri:typeof e==`string`?Hr(e)?Ai:M.test(e)?Fi:Vi:Array.isArray(e)?F:typeof e==`object`?M.test(e)?Fi:zi:Ai}function F(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>P(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function zi(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=P(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Bi(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]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var Vi=(e,t)=>{let n=Di.createTransformer(t),r=bi(e),i=bi(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?Ii.has(e)&&!i.values.length||Ii.has(t)&&!r.values.length?Li(e,t):tr(F(Bi(r,i),i.values),n):(`${e}${t}`,Ai(e,t))};function Hi(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
11number`?N(e,t,n):P(e)(e,t)}var Ui=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>A.update(t,e),stop:()=>Nr(t),now:()=>Pr.isProcessing?Pr.timestamp:Rr.now()}},Wi=(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)})`},Gi=2e4;function Ki(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 qi(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Ki(r),Gi);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ar(i)}}var I={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 Ji(e,t){return e*Math.sqrt(1-t*t)}var Yi=12;function Xi(e,t,n){let r=n;for(let n=1;n<Yi;n++)r-=e(r)/t(r);return r}var Zi=.001;function Qi({duration:e=I.duration,bounce:t=I.bounce,velocity:n=I.velocity,mass:r=I.mass}){let i,a;I.maxDuration;let o=1-t;o=Jn(I.minDamping,I.maxDamping,o),e=Jn(I.minDuration,I.maxDuration,ar(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Ji(t,o),c=Math.exp(-i);return Zi-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=Ji(t**2,o);return(-i(t)+Zi>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Xi(i,a,s);if(e=ir(e),isNaN(c))return{stiffness:I.stiffness,damping:I.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var $i=[`duration`,`bounce`],ea=[`stiffness`,`damping`,`mass`];function ta(e,t){return t.some(t=>e[t]!==void 0)}function na(e){let t={velocity:I.velocity,stiffness:I.stiffness,damping:I.damping,mass:I.mass,isResolvedFromDuration:!1,...e};if(!ta(e,ea)&&ta(e,$i)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Jn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:I.mass,stiffness:i,damping:a}}else{let n=Qi({...e,velocity:0});t={...t,...n,mass:I.mass},t.isResolvedFromDuration=!0}}return t}function ra(e=I.visualDuration,t=I.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}=na({...n,velocity:-ar(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ar(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?I.restSpeed.granular:I.restSpeed.default,i||=v?I.restDelta.granular:I.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Ji(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let ee={calculatedDuration:p&&d||null,velocity:e=>ir(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=ir(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=ir(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(Ki(ee),Gi),t=Wi(t=>ee.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return ee}ra.applyToOptions=e=>{let t=qi(e,100,ra);return e.ease=t.ease,e.duration=ir(t.duration),e.type=`keyframes`,e};var ia=5;function aa(e,t,n){let r=Math.max(t-ia,0);return or(n-e(r),t-r)}function oa({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=ra({keyframes:[f.value,m(f.value)],velocity:aa(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 sa(e,t,n){let r=[],i=n||Yn.mix||Hi,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=tr(Array.isArray(t)?t[n]||er:t,a)),r.push(a)}return r}function ca(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=sa(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=nr(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Jn(e[0],e[a-1],t)):l}function la(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=nr(0,t,r);e.push(N(n,1,i))}}function ua(e){let t=[0];return la(t,e.length-1),t}function da(e,t){return e.map(e=>e*t)}function fa(e,t){return e.map(()=>t||Cr).splice(0,e.length-1)}function pa({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=wr(r)?r.map(Or):Or(r),a={done:!1,value:t[0]},o=ca(da(n&&n.length===t.length?n:ua(t),e),t,{ease:Array.isArray(i)?i:fa(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var ma=e=>e!==null;function ha(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(ma),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var ga={decay:oa,inertia:oa,tween:pa,keyframes:pa,spring:ra};function _a(e){typeof e.type==`string`&&(e.type=ga[e.type])}var va=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)}},ya=e=>e/100,ba=class extends va{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!==Rr.now()&&this.tick(Rr.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;_a(e);let{type:t=pa,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||pa;s!==pa&&typeof o[0]!=`number`&&(this.mixKeyframes=tr(ya,Hi(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=Ki(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.currentTime=this.holdTime===null?t: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=Jn(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!==oa&&(b.value=ha(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 ar(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ar(e)}get time(){return ar(this.currentTime)}set time(e){e=ir(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 aa(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(Rr.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ar(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Ui,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(Rr.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}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 xa(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Sa=e=>e*180/Math.PI,Ca=e=>Ta(Sa(Math.atan2(e[1],e[0]))),wa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ca,rotateZ:Ca,skewX:e=>Sa(Math.atan(e[1])),skewY:e=>Sa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ta=e=>(e%=360,e<0&&(e+=360),e),Ea=Ca,Da=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Oa=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ka={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Da,scaleY:Oa,scale:e=>(Da(e)+Oa(e))/2,rotateX:e=>Ta(Sa(Math.atan2(e[6],e[5]))),rotateY:e=>Ta(Sa(Math.atan2(-e[2],e[0]))),rotateZ:Ea,rotate:Ea,skewX:e=>Sa(Math.atan(e[4])),skewY:e=>Sa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Aa(e){return+!!e.includes(`scale`)}
11function ja(e,t){if(!e||e===`none`)return Aa(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=ka,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wa,i=t}if(!i)return Aa(t);let a=r[t],o=i[1].split(`,`).map(Na);return typeof a==`function`?a(o):o[a]}var Ma=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return ja(n,t)};function Na(e){return parseFloat(e.trim())}var Pa=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fa=new Set([...Pa,`pathRotation`]),Ia=e=>e===Gr||e===j,La=new Set([`x`,`y`,`z`]),Ra=Pa.filter(e=>!La.has(e));function za(e){let t=[];return Ra.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ba={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})=>ja(t,`x`),y:(e,{transform:t})=>ja(t,`y`)};Ba.translateX=Ba.x,Ba.translateY=Ba.y;var Va=new Set,Ha=!1,Ua=!1,Wa=!1;function Ga(){if(Ua){let e=Array.from(Va).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=za(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)})}Ua=!1,Ha=!1,Va.forEach(e=>e.complete(Wa)),Va.clear()}function Ka(){Va.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ua=!0)})}function qa(){Wa=!0,Ka(),Ga(),Wa=!1}var Ja=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?(Va.add(this),Ha||(Ha=!0,A.read(Ka),A.resolveKeyframes(Ga))):(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])}xa(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Va.delete(this)}cancel(){this.state===`scheduled`&&(Va.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Ya=e=>e.startsWith(`--`);function Xa(e,t,n){Ya(t)?e.style.setProperty(t,n):e.style[t]=n}var Za={};function Qa(e,t){let n=$n(e);return()=>Za[t]??n()}var $a=Qa(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),eo=Qa(()=>{try{document.createElement(`div`).animate({opacity:0}
11,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),to=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,no={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:to([0,.65,.55,1]),circOut:to([.55,0,1,.45]),backIn:to([.31,.01,.66,-.59]),backOut:to([.33,1.53,.69,.99])};function ro(e,t){if(e)return typeof e==`function`?eo()?Wi(e,t):`ease-out`:Tr(e)?to(e):Array.isArray(e)?e.map(e=>ro(e,t)||no.easeOut):no[e]}function io(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=ro(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function ao(e){return typeof e==`function`&&`applyToOptions`in e}function oo({type:e,...t}){return ao(e)&&eo()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var so=class extends va{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=oo(e);this.animation=io(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=ha(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Xa(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 ar(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ar(e)}get time(){return ar(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ir(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
11inished`}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&&$a()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),er):r(this)}},co={anticipate:_r,backInOut:gr,circInOut:br};function lo(e){return e in co}function uo(e){typeof e.ease==`string`&&lo(e.ease)&&(e.ease=co[e.ease])}var fo=10,po=class extends so{constructor(e){uo(e),_a(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 ba({...a,autoplay:!1}),s=Math.max(fo,Rr.now()-this.startTime),c=Jn(0,fo,s-fo),l=o.sample(s).value,{name:u}=this.options;i&&u&&Xa(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},mo=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Di.test(e)||e===`0`)&&!e.startsWith(`url(`));function ho(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 go(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=mo(i,t),s=mo(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:ho(e)||(n===`spring`||ao(n))&&r}function L(e){e.duration=0,e.type=`keyframes`}var R=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),_o=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function vo(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&_o.test(e[t]))return!0;return!1}var yo=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),bo=$n(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function xo(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return bo()&&n&&(R.has(n)||yo.has(n)&&vo(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var So=40,Co=class extends va{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=Rr.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||Ja;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Rr.now();let u=!0;go(e,i,a,o)||(u=!1,(Yn.instantAnimations||!s)&&l?.(ha(e,n,t)),e[0]=e[e.length-1],L(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>So?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&xo(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new po({...d,element:p})}catch{m=new ba(d)}else m=new ba(d);m.finished.then(()=>{this.notifyFinished()}).catch(er),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(),qa()),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 wo(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
11e.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 z=30,To=e=>!isNaN(parseFloat(e)),Eo={current:void 0},Do=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Rr.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=Rr.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=To(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 rr);let n=this.events[e].add(t);return e===`change`?()=>{n(),A.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 Eo.current&&Eo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Rr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>z)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,z);return or(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 Oo(e,t){return new Do(e,t)}function ko(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Ao(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ko(n,e)}var jo={type:`spring`,stiffness:500,damping:25,restSpeed:10},Mo=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),No={type:`keyframes`,duration:.8},Po={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Fo=(e,{keyframes:t})=>t.length>2?No:Fa.has(e)?e.startsWith(`scale`)?Mo(t[1]):jo:Po,Io=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Lo(e){for(let t in e)if(!Io.has(t))return!0;return!1}var Ro=(e,t,n,r={},i,a)=>o=>{let s=Ao(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=ir(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};Lo(s)||Object.assign(u,Fo(e,u)),u.duration&&=ir(u.duration),u.repeatDelay&&=ir(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(L(u),u.delay===0&&(d=!0)),(Yn.instantAnimations||Yn.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,L(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=ha(u.keyframes,s);if(e!==void 0){A.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new ba(u):new Co(u)},zo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bo(e){let t=zo.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Vo(e,t,n=1){`${e}`;let[r,i]=Bo(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Xn(e)?parseFloat(e):e}return Hr(i)?Vo(i,t,n+1):i}function Ho(e){let t=[{},{}];
11return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Uo(e,t,n,r){if(typeof t==`function`){let[i,a]=Ho(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]=Ho(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Wo(e,t,n){let r=e.getProps();return Uo(r,t,n===void 0?r.custom:n,e)}var Go=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Pa]),Ko=e=>Array.isArray(e);function qo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Oo(n))}function Jo(e){return Ko(e)?e[e.length-1]||0:e}function Yo(e,t){let{transitionEnd:n={},transition:r={},...i}=Wo(e,t)||{};i={...i,...n};for(let t in i)qo(e,t,Jo(i[t]))}var Xo=e=>!!(e&&e.getVelocity);function Zo(e){return!!(Xo(e)&&e.add)}function Qo(e,t){let n=e.getValue(`willChange`);if(Zo(n))return n.add(t);if(!n&&Yn.WillChange){let n=new Yn.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function $o(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var es=`data-`+$o(`framerAppearId`);function ts(e){return e.props[es]}var ns=typeof window<`u`;function rs({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function is(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ko(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&rs(f,t))continue;let o={delay:n,...Ao(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){A.update(()=>r.set(i));continue}let p=!1;if(ns&&window.MotionHandoffAnimation){let n=ts(e);if(n){let e=window.MotionHandoffAnimation(n,t,A);e!==null&&(o.startTime=e,p=!0)}}Qo(e,t);let m=l??e.shouldReduceMotion;r.start(Ro(t,r,i,m&&Go.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>A.update(()=>{o&&Yo(e,o)});d.length?Promise.all(d).then(t):t()}return d}function as(e,t,n={}){let r=Wo(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(is(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return os(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())}return Promise.all([a(),o(n.delay)])}function os(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(as(c,t,{...o,delay:n+(typeof r==`function`?0:r)+wo(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ss(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>as(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=as(e,t,n);else{let i=typeof t==`function`?Wo(e,t,n.custom):t;r=Promise.all(is(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var cs={test:e=>e===`auto`,parse:e=>e},ls=e=>t=>t.test(e),us=[Gr,j,si,oi,li,ci,cs],ds=e=>us.find(ls(e));function fs(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||Qn(e)}var ps=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function ms(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Yr)||[];if(!r)return e;let i=n.replace(r,``),a=+!!ps.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var hs=/\b([a-z-]*)\(.*?\)/gu,gs={...Di,getAnimatableNone:e=>{let t=e.match(hs);return t?t.map(ms).join(` `):e}},_s={...Di,getAnimatableNone:e=>{let t=Di.parse(e);return Di.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},vs={...Gr,transform:Math.round},ys={borderWidth:j,borderTopWidth:j,borderRightWidth:j,borderBottomWidth:j,borderLeftWidth:j,borderRadius:j,borderTopLeftRadius:j,borderTopRightRadius:j,borderBottomRightRadius:j,borderBottomLeftRadius:j,width:j,maxWidth:j,height:j,maxHeight:j,top:j,r
11ight:j,bottom:j,left:j,inset:j,insetBlock:j,insetBlockStart:j,insetBlockEnd:j,insetInline:j,insetInlineStart:j,insetInlineEnd:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,paddingBlock:j,paddingBlockStart:j,paddingBlockEnd:j,paddingInline:j,paddingInlineStart:j,paddingInlineEnd:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,marginBlock:j,marginBlockStart:j,marginBlockEnd:j,marginInline:j,marginInlineStart:j,marginInlineEnd:j,fontSize:j,backgroundPositionX:j,backgroundPositionY:j,rotate:oi,pathRotation:oi,rotateX:oi,rotateY:oi,rotateZ:oi,scale:qr,scaleX:qr,scaleY:qr,scaleZ:qr,skew:oi,skewX:oi,skewY:oi,distance:j,translateX:j,translateY:j,translateZ:j,x:j,y:j,z:j,perspective:j,transformPerspective:j,opacity:Kr,originX:ui,originY:ui,originZ:j,zIndex:vs,fillOpacity:Kr,strokeOpacity:Kr,numOctaves:vs},bs={...ys,color:M,backgroundColor:M,outlineColor:M,fill:M,stroke:M,borderColor:M,borderTopColor:M,borderRightColor:M,borderBottomColor:M,borderLeftColor:M,filter:gs,WebkitFilter:gs,mask:_s,WebkitMask:_s},xs=e=>bs[e],Ss=new Set([gs,_s]);function Cs(e,t){let n=xs(e);return Ss.has(n)||(n=Di),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var ws=new Set([`auto`,`none`,`0`]);function Ts(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!ws.has(t)&&bi(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Cs(n,i)}var Es=class extends Ja{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(),Hr(r))){let i=Vo(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Go.has(n)||e.length!==2)return;let[r,i]=e,a=ds(r),o=ds(i);if(Wr(r)!==Wr(i)&&Ba[n]){this.needsMeasurement=!0;return}if(a!==o){if(Ia(a)&&Ia(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Ba[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||fs(e[t]))&&n.push(t);n.length&&Ts(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=Ba[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]=Ba[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
11h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Ds=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function Os(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 ks=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function As(e){return Zn(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:js,cancel:Ms}=Mr(queueMicrotask,!1),Ns={x:!1,y:!1};function Ps(){return Ns.x||Ns.y}function Fs(e){return e===`x`||e===`y`?Ns[e]?null:(Ns[e]=!0,()=>{Ns[e]=!1}):Ns.x||Ns.y?null:(Ns.x=Ns.y=!0,()=>{Ns.x=Ns.y=!1})}function Is(e,t){let n=Os(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ls(e){return!(e.pointerType===`touch`||Ps())}function Rs(e,t,n={}){let[r,i,a]=Is(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(!Ls(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 zs=(e,t)=>t?e===t||zs(e,t.parentElement):!1,Bs=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Vs=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Hs(e){return Vs.has(e.tagName)||e.isContentEditable===!0}var Us=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Ws(e){return Us.has(e.tagName)||e.isContentEditable===!0}var Gs=new WeakSet;function Ks(e){return t=>{t.key===`Enter`&&e(t)}}function qs(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Js=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ks(()=>{if(Gs.has(n))return;qs(n,`down`);let e=Ks(()=>{qs(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>qs(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Ys(e){return Bs(e)&&!Ps()}var Xs=new WeakSet;function Zs(e,t,n={}){let[r,i,a]=Is(e,n),o=e=>{let r=e.currentTarget;if(!Ys(e)||Xs.has(e))return;Gs.add(r),n.stopPropagation&&Xs.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),Gs.has(r)&&Gs.delete(r),Ys(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||zs(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),As(e)&&(e.addEventListener(`focus`,e=>Js(e,i)),!Hs(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Qs(e){return Zn(e)&&`ownerSVGElement`in e}var $s=new WeakMap,ec,tc=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Qs(r)&&`getBBox`in r?r.getBBox()[t]:r[n],nc=tc(`inline`,`width`,`offsetWidth`),rc=tc(`block`,`height`,`offsetHeight`);function ic({target:e,borderBoxSize:t}){$s.get(e)?.forEach(n=>{n(e,{get width(){return nc(e,t)},get height(){return rc(e,t)}})})}function ac(e){e.forEach(ic)}function oc(){typeof ResizeObserver>`u`||(ec=new ResizeObserver(ac))}function sc(e,t){ec||oc();let n=Os(e);return n.forEach(e=>{let n=$s.get(e);n||(n=new Set,$s.set(e,n)),n.add(t),ec?.observe(e)}),()=>{n.forEach(e=>{let n=$s.get(e);n?.delete(t),n?.size||ec?.unobserve(e)})}}var cc=new Set,lc;function uc(){lc=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};cc.forEach(t=>t(e))},window.addEventListener(`resize`,lc)}function dc(e){return cc.add(e),lc||uc(),()=>{cc.delete(e),!cc.size&&typeof lc==`function`&&(window.removeEventListener(`resize`,lc),lc=void 0)}}function fc(e,t){return typeof e==`function`?dc(e):sc(e,t)}var pc={value:null,addProjectionMetrics:null};function mc(e){return Qs(e)&&e.tagName===`svg`}var hc=[...us,M,Di],gc=e=>hc.find(ls(e)),_c=()=>({translate:0,scale:1,origin:0,originPoint:0}),vc=()=>({x:_c(),y:_c()}),yc=()=>({min:0,max:0}),bc=()=>({x:yc(),y:yc()}),xc=new WeakMap;function Sc(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Cc(e){return typeof e==`string`||Array.isArray(e)}var wc=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Tc=[`initial`,...wc];function Ec(e){return Sc(e.animate)||Tc.some(t=>Cc(e[t]))}function Dc(e){return!!(Ec(e)||e.variants)}
11function Oc(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Xo(i))e.addValue(r,i);else if(Xo(a))e.addValue(r,Oo(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,Oo(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var kc={current:null},Ac={current:!1},jc=typeof window<`u`;function Mc(){if(Ac.current=!0,jc){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>kc.current=e.matches;e.addEventListener(`change`,t),t()}else kc.current=!1}}var Nc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Pc={};function Fc(e){Pc=e}function Ic(){return Pc}var Lc=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=Ja,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=Rr.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.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=Ec(t),this.isVariantNode=Dc(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&&Xo(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,xc.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:(Ac.current||Mc(),this.shouldReduceMotion=kc.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(),Nr(this.notifyUpdate),Nr(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&&R.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new so({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:ir(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Fa.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&A.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Pc){let t=Pc[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];
11t.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):bc()}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<Nc.length;t++){let n=Nc[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=Oc(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=Oo(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`&&(Xn(n)||Qn(n))?n=parseFloat(n):!gc(n)&&Di.test(t)&&(n=Cs(e,t)),this.setBaseTarget(e,Xo(n)?n.get():n)),Xo(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=Uo(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&&!Xo(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 rr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){js.render(this.render)}},Rc=class extends Lc{constructor(){super(...arguments),this.KeyframeResolver=Es}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;Xo(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},zc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Bc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Vc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function B(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 Hc(e){return e===void 0||e===1}function Uc({scale:e,scaleX:t,scaleY:n}){return!Hc(e)||!Hc(t)||!Hc(n)}function Wc(e){return Uc(e)||Gc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Gc(e){return Kc(e.x)||Kc(e.y)}function Kc(e){return e&&e!==`0%`}function qc(e,t,n){return n+t*(e-n)}function Jc(e,t,n,r,i){return i!==void 0&&(e=qc(e,i,r)),qc(e,n,r)+t}function Yc(e,t=0,n=1,r,i){e.min=Jc(e.min,t,n,r,i),e.max=Jc(e.max,t,n,r,i)}function Xc(e,{x:t,y:n}){Yc(e.x,t.translate,t.scale,t.originPoint),Yc(e.y,n.translate,n.scale,n.originPoint)}var Zc=.999999999999,Qc=1.0000000000001;function $c(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&&(el(e.x,-a.scroll.offset.x),el(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Xc(e,o)),r&&Wc(a.latestValues)&&rl(e,a.latestValues,a.layout?.layoutBox))}t.x<Qc&&t.x>Zc&&(t.x=1),t.y<Qc&&t.y>Zc&&(t.y=1)}function el(e,t){e.min+=t,e.max+=t}function tl(e,t,n,r,i=.5){Yc(e,t,n,N(e.min,e.max,i),r)}function nl(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function rl(e,t,n){let r=n??e;tl(e.x,nl(t.x,r.x),t.scaleX,t.scale,t.originX),tl(e.y,nl(t.y,r.y),t.scaleY,t.scale,t.originY)}function il(e,t){return Bc(B(e.getBoundingClientRect(),t))}function al(e,t,n){let r=il(e,n),{scroll:i}=t;return i&&(el(r.x,i.offset.x),el(r.y,i.offset.y)),r}var ol={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},sl=Pa.length;function cl(e,t,n){let r=``,i=!0;for(let a=0;a<sl;a++){let o=Pa[a],s=e[o];if(s===void 0)continue;let c=!0;
11if(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=ks(s,ys[o]);if(!c){i=!1;let t=ol[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${ks(a,ys.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function ll(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(Fa.has(e)){o=!0;continue}if(Br(e)){i[e]=n;continue}{let t=ks(n,ys[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=cl(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 ul(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 dl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var V={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(j.test(e))e=parseFloat(e);else return e}return`${dl(e,t.target.x)}% ${dl(e,t.target.y)}%`}},fl={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Di.parse(e);if(i.length>5)return r;let a=Di.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=N(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},pl={borderRadius:{...V,applyTo:[...Ds]},borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomLeftRadius:V,borderBottomRightRadius:V,boxShadow:fl};function ml(e,{layout:t,layoutId:n}){return Fa.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!pl[e]||e===`opacity`)}function hl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Xo(r[t])||i&&Xo(i[t])||ml(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function gl(e){return window.getComputedStyle(e)}var _l=class extends Rc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=ul}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(Fa.has(t))return this.projection?.isProjecting?Aa(t):Ma(e,t);{let n=gl(e),r=(Br(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return il(e,t)}build(e,t,n){ll(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return hl(e,t,n)}},vl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},yl={offset:`strokeDashoffset`,array:`strokeDasharray`};function bl(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?vl:yl;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var xl=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Sl(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(ll(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;for(let e of xl)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&bl(d,i,a,o,!1)}var Cl=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`]),wl=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Tl(e,t,n,r){ul(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Cl.has(n)?n:$o(n),t.attrs[n])}function El(e,t,n){let r=hl(e,t,n);for(let n in e)if(Xo(e[n])||Xo(t[n])){let t=Pa.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Dl=class extends Rc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=bc}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fa.has(t)){let e=xs(t);return e&&e.default||0}if(xl.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=Cl.has(t)?t:$o(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return El(e,t,n)}
11build(e,t,n){Sl(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Tl(e,t,n,r)}mount(e){this.isSVGTag=wl(e.tagName),super.mount(e)}},Ol=Tc.length;function kl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&kl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Ol;n++){let r=Tc[n],i=e.props[r];(Cc(i)||i===!1)&&(t[r]=i)}return t}function Al(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 jl=[...wc].reverse(),Ml=wc.length;function Nl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ss(e,t,n)))}function Pl(e){let t=Nl(e),n=Ll(),r=!0,i=!1,a=t=>(n,r)=>{let i=Wo(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=kl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Ml;t++){let p=jl[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Cc(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||Sc(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Fl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,ee={...w,...C},te=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in ee){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Ko(t)&&Ko(n)?!Al(t,n)||y:t!==n,r?t==null?u.add(e):te(e):t!==void 0&&u.has(e)?te(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ne=v&&y;b&&(!ne||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ne&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Wo(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=wo(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Wo(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=Ll(),i=!0}}}function Fl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Al(t,e):!1}function Il(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ll(){return{animate:Il(!0),whileInView:Il(),whileHover:Il(),whileTap:Il(),whileDrag:Il(),whileFocus:Il(),exit:Il()}}function Rl(e,t){e.min=t.min,e.max=t.max}function zl(e,t){Rl(e.x,t.x),Rl(e.y,t.y)}function Bl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Vl=.9999,Hl=1.0001,H=-.01,U=.01;function W(e){return e.max-e.min}function G(e,t,n){return Math.abs(e-t)<=n}function K(e,t,n,r=.5){e.origin=r,e.originPoint=N(t.min,t.max,e.origin),e.scale=W(n)/W(t),e.translate=N(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Vl&&e.scale<=Hl||isNaN(e.scale))&&(e.scale=1),(e.translate>=H&&e.translate<=U||isNaN(e.translate))&&(e.translate=0)}function Ul(e,t,n,r){K(e.x,t.x,n.x,r?r.originX:void 0),K(e.y,t.y,n.y,r?r.originY:void 0)}function Wl(e,t,n,r=0){e.min=(r?N(n.min,n.max,r):n.min)+t.min,e.max=e.min+W(t)}function Gl(e,t,n,r){Wl(e.x,t.x,n.x,r?.x),Wl(e.y,t.y,n.y,r?.y)}function Kl(e,t,n,r=0){let i=r?N(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+W(t)}function ql(e,t,n,r){Kl(e.x,t.x,n.x,r?.x),Kl(e.y,t.y,n.y,r?.y)}function Jl(e,t,n,r,i){return e-=t,e=qc(e,1/n,r),i!==void 0&&(e=qc(e,1/i,r)),e}function Yl(e,t=0,n=1,r=.5,i,a=e,o=e){if(si.test(t)&&(t=parseFloat(t),t=N(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=N(a.min,a.max,r);e===a&&(s-=t),e.min=Jl(e.min,t,n,s,i),e.max=Jl(e.max,t,n,s,i)}function Xl(e,t,[n,r,i],a,o){Yl(e,t[n],t[r],t[i],t.scale,a,o)}var Zl=[`x`,`scaleX`,`originX`],Ql=[`y`,`scaleY`,`originY`];function $l(e,t,n,r){Xl(e.x,t,Zl,n?n.x:void 0,r?r.x:void 0),Xl(e.y,t,Ql,n?n.y:void 0,r?r.y:void 0)}function eu(e){return e.translate===0&&e.scale===1}function tu(e){return eu(e.x)&&eu(e.y)}function nu(e,t){return e.min===t.min&&e.max===t.max}function ru(e,t){return nu(e.x,t.x)&&nu(e.y,t.y)}function iu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e){return W(e.x)/W(e.y)}function su(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function q(e){return[e(`x`),e(`y`)]}function cu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var lu=Ds.length,uu=e=>typeof e==`string`?parseFloat(e):e,du=e=>typeof e==`number`||j.test(e);function fu(e,t,n,r,i,a){i?(e.opacity=N(0,n.opacity??1,mu(r)),e.o
11pacityExit=N(t.opacity??1,0,hu(r))):a&&(e.opacity=N(t.opacity??1,n.opacity??1,r));for(let i=0;i<lu;i++){let a=Ds[i],o=pu(t,a),s=pu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||du(o)===du(s)?(e[a]=Math.max(N(uu(o),uu(s),r),0),(si.test(s)||si.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=N(t.rotate||0,n.rotate||0,r))}function pu(e,t){return e[t]===void 0?e.borderRadius:e[t]}var mu=gu(0,.5,yr),hu=gu(.5,.95,er);function gu(e,t,n){return r=>r<e?0:r>t?1:n(nr(e,t,r))}function _u(e,t,n){let r=Xo(e)?e:Oo(e);return r.start(Ro(``,r,t,n)),r.animation}function vu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var yu=(e,t)=>e.depth-t.depth,bu=class{constructor(){this.children=[],this.isDirty=!1}add(e){Kn(this.children,e),this.isDirty=!0}remove(e){qn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(yu),this.isDirty=!1,this.children.forEach(e)}};function xu(e,t){let n=Rr.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Nr(r),e(a-t))};return A.setup(r,!0),()=>Nr(r)}function Su(e){return Xo(e)?e.get():e}var Cu=class{constructor(){this.members=[]}add(e){Kn(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&&(qn(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(qn(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)}},wu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Tu={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Eu=[``,`X`,`Y`,`Z`],Du=1e3,Ou=0;function ku(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Au(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=ts(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,A,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Au(r)}function ju({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ou++,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,pc.value&&(Tu.nodes=Tu.calculatedTargetDeltas=Tu.calculatedProjections=0),this.nodes.forEach(Pu),this.nodes.forEach(Uu),this.nodes.forEach(Wu),this.nodes.forEach(Fu),pc.addProjectionMetrics&&pc.addProjectionMetrics(Tu)},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 bu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rr),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=Qs(t)&&!mc(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;A.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=xu(i,250),wu.hasAnimatedSinceResize&&(wu.hasAnimatedSinceResize=!1,this.nodes.forEac
11h(Hu)))})}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()||Xu,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!au(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={...Ao(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Hu(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(),Nr(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(Gu),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&&Au(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(Ru),this.nodes.forEach(Lu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(zu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Bu),this.nodes.forEach(Vu),this.nodes.forEach(Mu),this.nodes.forEach(Nu)):this.nodes.forEach(zu),this.clearAllSnapshots();let e=Rr.now();Pr.delta=Jn(0,1e3/60,e-Pr.timestamp),Pr.timestamp=e,Pr.isProcessing=!0,Fr.update.process(Pr),Fr.preRender.process(Pr),Fr.render.process(Pr),Pr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,js.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Iu),this.sharedNodes.forEach(Ku)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,A.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){A.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!W(this.snapshot.measuredBox.x)&&!W(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||=bc(),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&&!tu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Wc(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)),ed(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return bc();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nd))){let{scroll:e}=this.root;e&&(el(t.x,e.offset.x),el(t.y,e.offset.y))}return t}removeElementScroll(e){let t=bc();if(zl(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&&zl(t,e),el(t.x,i.offset.x),el(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||bc();zl(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&&(el(r.x,-n.scroll.offset.x),el(r.y,-n.scroll.offset.y)),Wc(n.latestValues)&&rl(r,n.latestValues,n.layout?.layoutBox)}return Wc(this.latestValues)&&rl(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=bc();zl(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Wc(n.latestValues))continue;let r;n.instance&&(Uc(n.latestValues)&&n.updateSnapshot(),r=bc(),zl(r,n.measurePageBox())),$l(t,n.latestValues,n.snapshot?.layoutBox,r)}return Wc(this.latestValues)&&$l(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||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!==Pr.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;
11if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Pr.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=bc(),this.targetWithTransforms=bc()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Gl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):zl(this.target,this.layout.layoutBox),Xc(this.target,this.targetDelta)):zl(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),pc.value&&Tu.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Uc(this.parent.latestValues)||Gc(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=bc(),this.relativeTargetOrigin=bc(),ql(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),zl(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===Pr.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;zl(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;$c(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=bc());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Bl(this.prevProjectionDelta.x,this.projectionDelta.x),Bl(this.prevProjectionDelta.y,this.projectionDelta.y)),Ul(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!su(this.projectionDelta.x,this.prevProjectionDelta.x)||!su(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),pc.value&&Tu.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=vc(),this.projectionDelta=vc(),this.projectionDeltaWithTransform=vc()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=vc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=bc(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(Yu));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=N(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=N(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(qu(o.x,e.x,n),qu(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ql(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ju(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ru(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=bc(),zl(f,this.relativeTarget)),c&&(this.animationValues=a,fu(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Nr(this.pendingAnimation),void 0),this.pendingAnimation=A.update(()=>{wu.hasAnimatedSinceResize=!0,this.motionValue||=Oo(0),this.motionValue.jump(0,!1),this.currentAnimation=_u(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{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(Du),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&&td(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||bc();let t=W(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=W(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}zl(t,n),rl(t,i),Ul(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
11)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Cu),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}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&&ku(`z`,e,r,this.animationValues);for(let t=0;t<Eu.length;t++)ku(`rotate${Eu[t]}`,e,r,this.animationValues),ku(`skew${Eu[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=Su(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=Su(t?.pointerEvents)||``),this.hasProjected&&!Wc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=cu(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`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in pl){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=pl[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?Su(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Lu),this.root.sharedNodes.clear()}}}function Mu(e){e.updateLayout()}function Nu(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`)q(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=W(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Rl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else td(i,t.layoutBox,n)&&q(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=W(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=vc();Ul(o,n,t.layoutBox);let s=vc();a?Ul(s,e.applyTransform(r,!0),t.measuredBox):Ul(s,n,t.layoutBox);let c=!tu(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=bc();ql(s,t.layoutBox,i.layoutBox,o);let c=bc();ql(c,n,a.layoutBox,o),au(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 Pu(e){pc.value&&Tu.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 Fu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Iu(e){e.clearSnapshot()}function Lu(e){e.clearMeasurements()}function Ru(e){e.isLayoutDirty=!0,e.updateLayout()}function zu(e){e.isLayoutDirty=!1}function Bu(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Vu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Hu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Uu(e){e.resolveTargetDelta()}function Wu(e){e.calcProjection()}
11function Gu(e){e.resetSkewAndRotation()}function Ku(e){e.removeLeadSnapshot()}function qu(e,t,n){e.translate=N(t.translate,0,n),e.scale=N(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function J(e,t,n,r){e.min=N(t.min,n.min,r),e.max=N(t.max,n.max,r)}function Ju(e,t,n,r){J(e.x,t.x,n.x,r),J(e.y,t.y,n.y,r)}function Yu(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Xu={duration:.45,ease:[.4,0,.1,1]},Zu=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qu=Zu(`applewebkit/`)&&!Zu(`chrome/`)?Math.round:er;function $u(e){e.min=Qu(e.min),e.max=Qu(e.max)}function ed(e){$u(e.x),$u(e.y)}function td(e,t,n){return e===`position`||e===`preserve-aspect`&&!G(ou(t),ou(n),.2)}function nd(e){return e!==e.root&&e.scroll?.wasRoot}var rd=ju({attachResizeListener:(e,t)=>vu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),id={current:void 0},ad=ju({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!id.current){let e=new rd({});e.mount(window),e.setOptions({layoutScroll:!0}),id.current=e}return id.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),od=(0,_.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function sd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function cd(...e){return t=>{let n=!1,r=e.map(e=>{let r=sd(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():sd(e[t],null)}}}}function ld(...e){return _.useCallback(cd(...e),e)}var Y=Vn(),ud=class extends _.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(As(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=As(e)&&e.offsetWidth||0,r=As(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function dd({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,_.useId)(),s=(0,_.useRef)(null),c=(0,_.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,_.useContext)(od),u=ld(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,_.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
12          [data-motion-pop-id="${o}"] {
13            position: absolute !important;
14            width: ${e}px !important;
15            height: ${u}px !important;
16            ${_}px !important;
17            ${v}px !important;
18          }
19        `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,Y.jsx)(ud,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:_.cloneElement(e,{ref:u})})}var fd=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=Un(pd),d=(0,_.useId)(),f=(0,_.useRef)(n),p=(0,_.useRef)(r);Wn(()=>{f.current=n,p.current=r});let m=!0,h=(0,_.useMemo)(()=>(m=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>{u.delete(e),!f.current&&!u.size&&p.current?.()})}),[n,u,r]);return a&&m&&(h={...h}),(0,_.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),_.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,Y.jsx)(dd,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,Y.jsx)(Gn.Provider,{value:h,children:e})};function pd(){return new Map}function md(e=!0){let t=(0,_.useContext)(Gn);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,_.useId)();(0,_.useEffect)(()=>
19{if(e)return i(a)},[e]);let o=(0,_.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var hd=e=>e.key||``;function gd(e){let t=[];return _.Children.forEach(e,e=>{(0,_.isValidElement)(e)&&t.push(e)}),t}var _d=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=md(o),f=(0,_.useMemo)(()=>gd(e),[e]),p=o&&!u?[]:f.map(hd),m=(0,_.useRef)(!0),h=(0,_.useRef)(f),g=Un(()=>new Map),v=(0,_.useRef)(new Set),[y,b]=(0,_.useState)(f),[x,S]=(0,_.useState)(f);Wn(()=>{o&&!u&&!x.length&&d?.()},[u,o,x.length,d]),Wn(()=>{m.current=!1,h.current=f;for(let e=0;e<x.length;e++){let t=hd(x[e]);p.includes(t)?(g.delete(t),v.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[x,p.length,p.join(`-`)]);let C=[];if(f!==y){let e=[...f],t=0;for(let n of x){let r=p.indexOf(hd(n));r===-1?(e.splice(t++,0,n),C.push(n)):t=r+C.length+1}return a===`wait`&&C.length&&(e=C),S(gd(e)),b(f),null}let{forceRender:w}=(0,_.useContext)(Hn);return(0,Y.jsx)(Y.Fragment,{children:x.map(e=>{let _=hd(e),y=o&&!u?!1:f===x||p.includes(_);return(0,Y.jsx)(fd,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(v.current.has(_))return;if(g.has(_))v.current.add(_),g.set(_,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(w?.(),S(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},_)})})},vd=(0,_.createContext)({strict:!1}),yd={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`]},bd=!1;function xd(){if(bd)return;let e={};for(let t in yd)e[t]={isEnabled:e=>yd[t].some(t=>!!e[t])};Fc(e),bd=!0}function X(){return xd(),Ic()}function Sd(e){let t=X();for(let n in e)t[n]={...t[n],...e[n]};Fc(t)}var Cd=(0,_.createContext)({});function wd(e,t){if(Ec(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Cc(t)?t:void 0,animate:Cc(n)?n:void 0}}return e.inherit===!1?{}:t}function Td(e){let{initial:t,animate:n}=wd(e,(0,_.useContext)(Cd));return(0,_.useMemo)(()=>({initial:t,animate:n}),[Ed(t),Ed(n)])}function Ed(e){return Array.isArray(e)?e.join(` `):e}var Dd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Od(e,t,n){for(let r in t)!Xo(t[r])&&!ml(r,n)&&(e[r]=t[r])}function kd({transformTemplate:e},t){return(0,_.useMemo)(()=>{let n=Dd();return ll(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ad(e,t){let n=e.style||{},r={};return Od(r,n,e),Object.assign(r,kd(e,t)),r}function jd(e,t){let n={},r=Ad(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 Md=()=>({...Dd(),attrs:{}});function Nd(e,t,n,r){let i=(0,_.useMemo)(()=>{let n=Md();return Sl(n,t,wl(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Od(t,e.style,e),i.style={...t,...i.style}}return i}var Pd=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 Z(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Pd.has(e)}function Fd(e,t){return e.startsWith(`on`)?!Z(e):t?.(e)??!Z(e)}function Id(e,t,n,r){let i={};for(let a in e)(a!==`values`||typeof e.values!=`object`)&&(Xo(e[a])||(Fd(a,r)||n===!0&&Z(a)||!t&&!Z(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]));return i}var Ld=[`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 Rd(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Ld.indexOf(e)>-1||/[A-Z]/u.test(e))}function zd(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??Rd(e)?Nd:jd)(t,r,i,e),l=Id(t,typeof e==`string`,a,s),u=e===_.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,_.useMemo)(()=>Xo(d)?d.get():d,[d]);return(0,_.createElement)(e,{...u,children:f})}function Bd({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Vd(n,r,i,e),renderState:t()}}function Vd(e,t,n,r){let i={}
19,a=r(e,{});for(let e in a)i[e]=Su(a[e]);let{initial:o,animate:s}=e,c=Ec(e),l=Dc(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`&&!Sc(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Uo(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 Hd=e=>(t,n)=>{let r=(0,_.useContext)(Cd),i=(0,_.useContext)(Gn),a=()=>Bd(e,t,r,i);return n?a():Un(a)},Ud=Hd({scrapeMotionValuesFromProps:hl,createRenderState:Dd}),Wd=Hd({scrapeMotionValuesFromProps:El,createRenderState:Md}),Gd=Symbol.for(`motionComponentSymbol`);function Kd(e,t,n){let r=(0,_.useRef)(n);(0,_.useInsertionEffect)(()=>{r.current=n});let i=(0,_.useRef)(null);return(0,_.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var qd=(0,_.createContext)({});function Jd(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Yd(e,t,n,r,i,a){let{visualElement:o}=(0,_.useContext)(Cd),s=(0,_.useContext)(vd),c=(0,_.useContext)(Gn),l=(0,_.useContext)(od),u=l.reducedMotion,d=l.skipAnimations,f=(0,_.useRef)(null),p=(0,_.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,_.useContext)(qd);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&Xd(f.current,n,i,h);let g=(0,_.useRef)(!1);(0,_.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let v=n[es],y=(0,_.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return Wn(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&&m.animationState&&m.animationState.animateChanges())}),(0,_.useEffect)(()=>{m&&(!y.current&&m.animationState&&m.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),m.enteringChildren=void 0)}),m}function Xd(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:Zd(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&Jd(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Zd(e){if(e)return e.options.allowProjection===!1?Zd(e.parent):e.projection}function Qd(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Sd(r);let a=n?n===`svg`:Rd(e),o=a?Wd:Ud;function s(n,s){let c,l={...(0,_.useContext)(od),...n,layoutId:$d(n)},{isStatic:u,isValidProp:d}=l,f=Td(n),p=o(n,u);if(!u&&typeof window<`u`){ef(l,r);let t=tf(l);c=t.MeasureLayout,f.visualElement=Yd(e,p,l,i,t.ProjectionNode,a)}return(0,Y.jsxs)(Cd.Provider,{value:f,children:[c&&f.visualElement?(0,Y.jsx)(c,{visualElement:f.visualElement,...l}):null,zd(e,n,Kd(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,_.forwardRef)(s);return c[Gd]=e,c}function $d({layoutId:e}){let t=(0,_.useContext)(Hn).id;return t&&e!==void 0?t+`-`+e:e}function ef(e,t){(0,_.useContext)(vd).strict}function tf(e){let{drag:t,layout:n}=X();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function nf(e,t){if(typeof Proxy>`u`)return Qd;let n=new Map,r=(n,r)=>Qd(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Qd(a,void 0,e,t)),n.get(a))})}var rf=(e,t)=>t.isSVG??Rd(e)?new Dl(t):new _l(t,{allowProjection:e!==_.Fragment}),af=class extends zc{constructor(e){super(e),e.animationState||=Pl(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Sc(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?.()}},of=0,sf={animation:{Feature:af},exit:{Feature:class extends zc{constructor(){super(...arguments),this.id=of++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=Wo(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(()=>
19{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 cf(e){return{point:{x:e.pageX,y:e.pageY}}}var lf=e=>t=>Bs(t)&&e(t,cf(t));function uf(e,t,n,r){return vu(e,t,lf(n),r)}var df=({current:e})=>e?e.ownerDocument.defaultView:null,ff=(e,t)=>Math.abs(e-t);function pf(e,t){let n=ff(e.x,t.x),r=ff(e.y,t.y);return Math.sqrt(n**2+r**2)}var mf=new Set([`auto`,`scroll`]),hf=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=gf(this.lastRawMoveEventInfo,this.transformPagePoint));let e=vf(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=pf(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Pr;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=gf(t,this.transformPagePoint),A.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=vf(e.type===`pointercancel`?this.lastMoveEventInfo:gf(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Bs(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=gf(cf(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Pr;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,vf(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=tr(uf(this.contextWindow,`pointermove`,this.handlePointerMove,d),uf(this.contextWindow,`pointerup`,this.handlePointerUp,d),uf(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(mf.has(e.overflowX)||mf.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),A.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Nr(this.updatePoint)}};function gf(e,t){return t?{point:t(e.point)}:e}function _f(e,t){return{x:e.x-t.x,y:e.y-t.y}}function vf({point:e},t){return{point:e,delta:_f(e,bf(t)),offset:_f(e,yf(t)),velocity:xf(t,.1)}}function yf(e){return e[0]}function bf(e){return e[e.length-1]}function xf(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=bf(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ir(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>ir(t)*2&&(r=e[1]);let a=ar(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 Sf(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?N(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?N(n,e,r.max):Math.min(e,n)),e}function Cf(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 wf(e,{top:t,left:n,bottom:r,right:i}){return{x:Cf(e.x,n,i),y:Cf(e.y,t,r)}}function Tf(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 Ef(e,t){return{x:Tf(e.x,t.x),y:Tf(e.y,t.y)}}function Df(e,t){let n=.5,r=W(e),i=W(t);return i>r?n=nr(t.min,t.max-r,e.min):r>i&&(n=nr(e.min,e.max-i,t.min)),Jn(0,1,n)}function Of(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 kf=.35;function Af(e=kf){return e===!1?e=0:e===!0&&(e=kf),{x:jf(e,`left`,`right`),y:jf(e,`top`,`bottom`)}}function jf(e,t,n){return{min:Mf(e,t),max:Mf(e,n)}}function Mf(e,t){return typeof e==`number`?e:e[t]||0}var Nf=new WeakMap,Pf=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=bc(),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(cf(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=Fs(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),q(e=>{let t=this.getAxisMotionValue(e).get()||0;if(si.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=W(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&A.update(()=>i(e,t),!1,!0),Qo(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=Rf(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&&A.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 hf(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:df(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&&A.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||!Lf(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Sf(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&&Jd(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?wf(n.layoutBox,e):!1,this.elastic=Af(t),r!==this.constraints&&!Jd(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&q(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Of(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Jd(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=al(n,r.root,this.visualElement.getTransformPagePoint()),a=Ef(r.layout.layoutBox,i);if(t){let e=t(Vc(a));this.hasMutatedConstraints=!!e,e&&(a=Bc(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=q(o=>{if(!Lf(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 Qo(this.visualElement,e),n.start(Ro(e,n,0,t,this.visualElement,!1))}stopAnimation(){q(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){q(t=>{let{drag:n}=this.getProps();if(!Lf(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]-N(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Jd(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};q(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Df({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(),q(t=>{if(!Lf(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(N(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Nf.set(this.visualElement,this);let e=this.visualElement.current,t=uf(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Ws(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();Jd(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=If(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),A.read(r);let o=vu(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(q(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=kf,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Ff(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function If(e,t,n){let r=fc(e,Ff(n)),i=fc(t,Ff(n));return()=>{r(),i()}}function Lf(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Rf(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var zf=class extends zc{constructor(e){super(e),this.removeGroupControls=er,this.removeListeners=er,this.controls=new Pf(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||er}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()}},Bf=e=>(t,n)=>{e&&A.update(()=>e(t,n),!1,!0)},Vf=class extends zc{constructor(){super(...arguments),this.removePointerDownListener=er}onPointerDown(e){this.session=new hf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:df(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Bf(e),onStart:Bf(t),onMove:Bf(n),onEnd:(e,t)=>{delete this.session,r&&A.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=uf(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Hf=!1,Uf=class extends _.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),Hf&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),wu.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}),Hf=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||A.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(),js.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Hf=!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 Wf(e){let[t,n]=md(),r=(0,_.useContext)(Hn);return(0,Y.jsx)(Uf,{...e,layoutGroup:r,switchLayoutGroup:(0,_.useContext)(qd),isPresent:t,safeToRemove:n})}var Gf={pan:{Feature:Vf},drag:{Feature:zf,ProjectionNode:ad,MeasureLayout:Wf}};function Kf(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&A.postRender(()=>i(t,cf(t)))}var qf=class extends zc{mount(){let{current:e}=this.node;e&&(this.unmount=Rs(e,(e,t)=>(Kf(this.node,t,`Start`),e=>Kf(this.node,e,`End`))))}unmount(){}},Jf=class extends zc{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=tr(vu(this.node.current,`focus`,()=>this.onFocus()),vu(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function Yf(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap
19&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&A.postRender(()=>i(t,cf(t)))}var Xf=class extends zc{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Zs(e,(e,t)=>(Yf(this.node,t,`Start`),(e,{success:t})=>Yf(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},Zf=new WeakMap,Qf=new WeakMap,$f=e=>{let t=Zf.get(e.target);t&&t(e)},ep=e=>{e.forEach($f)};function tp({root:e,...t}){let n=e||document;Qf.has(n)||Qf.set(n,{});let r=Qf.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ep,{root:e,...t})),r[i]}function np(e,t,n){let r=tp(t);return Zf.set(e,n),r.observe(e),()=>{Zf.delete(e),r.unobserve(e)}}var rp={some:0,all:1},ip=class extends zc{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:rp[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=np(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(ap(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function ap({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var op={inView:{Feature:ip},tap:{Feature:Xf},focus:{Feature:Jf},hover:{Feature:qf}},sp={layout:{ProjectionNode:ad,MeasureLayout:Wf}},cp=nf({...sf,...op,...Gf,...sp},rf),lp=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),up=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),dp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),fp=e=>{let t=dp(e);return t.charAt(0).toUpperCase()+t.slice(1)},pp={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},mp=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},hp=(0,_.createContext)({}),gp=()=>(0,_.useContext)(hp),_p=(0,_.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=gp()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,_.createElement)(`svg`,{ref:c,...pp,width:t??l??pp.width,height:t??l??pp.height,stroke:e??f,strokeWidth:m,className:lp(`lucide`,p,i),...!a&&!mp(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,_.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),Q=(e,t)=>{let n=(0,_.forwardRef)(({className:n,...r},i)=>(0,_.createElement)(_p,{ref:i,iconNode:t,className:lp(`lucide-${up(fp(e))}`,`lucide-${e}`,n),...r}));return n.displayName=fp(e),n},vp=Q(`arrow-down`,[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]),yp=Q(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),bp=Q(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),xp=Q(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]),Sp=Q(`award`,[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`,key:`1yiouv`}],[`circle`,{cx:`12`,cy:`8`,r:`6`,key:`1vp47v`}]]),Cp=Q(`calendar`,[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]),wp=Q(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Tp=Q(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Ep=Q(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Dp=Q(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Op=Q(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),kp=Q(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Ap=Q(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),jp=Q(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),Mp=Q(`heart`,[[`path`,{d:`M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5`,key:`mvr1a0`}]]),Np=Q(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}
19],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),Pp=Q(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),Fp=Q(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Ip=Q(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Lp=Q(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),Rp=Q(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),zp=Q(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),Bp=Q(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Vp=Q(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Hp=Q(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),Up=Q(`scissors`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M8.12 8.12 12 12`,key:`1alkpv`}],[`path`,{d:`M20 4 8.12 15.88`,key:`xgtan2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`path`,{d:`M14.8 14.8 20 20`,key:`ptml3r`}]]),Wp=Q(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Gp=Q(`sparkle`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}]]),Kp=Q(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),qp=Q(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),Jp=Q(`volume-2`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]),Yp=Q(`volume-x`,[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`line`,{x1:`22`,x2:`16`,y1:`9`,y2:`15`,key:`1ewh16`}],[`line`,{x1:`16`,x2:`22`,y1:`9`,y2:`15`,key:`5ykzw1`}]]),Xp=Q(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Zp={name:`Bloom Organic Hair Studio`,shortName:`Bloom`,tagline:`Luxury Organic Hair Studio & Holistic Sanctuary`,location:`723 West Jericho Turnpike, Huntington, New York 11743`,addressShort:`Huntington, New York`,phone:`(631) 470-9439`,phoneRaw:`6314709439`,vagaroUrl:`https://www.vagaro.com/bloomorganichairstudio`,bookingUrl:`https://www.vagaro.com/bloomorganichairstudio`,hours:{weekday:`Tuesday – Friday: 9:30 AM – 7:00 PM`,saturday:`Saturday: 9:00 AM – 6:00 PM`,sunday:`Sunday & Monday: Closed / By Special Request`},amenities:[{label:`Free Parking`,icon:`Car`},{label:`High-Speed WiFi`,icon:`Wifi`},{label:`Kid Friendly`,icon:`Smile`},{label:`Walk-ins Welcome`,icon:`DoorOpen`},{label:`English & Hindi`,icon:`Languages`},{label:`Non-Toxic & Organic`,icon:`Leaf`}],paymentMethods:`Visa, MasterCard, Discover, American Express, Debit Card, Cash & Affirm`,cancellationPolicy:`We understand that life happens. Please call or text us as soon as possible if you need to adjust your appointment, and we’ll always do our best to accommodate.`,aboutStory:`Bloom Organic Hair Studio is a luxury organic hair salon dedicated to enhancing natural beauty through clean, sustainable, and high-performance hair care. Located in the heart of Huntington, New York, Bloom was created as a sanctuary where modern elegance meets nature-inspired wellness. We specialize in precision haircuts, customized color, and restorative treatments using carefully selected organic and low-toxic products that respect both your hair and the environment.`}
19,Qp=[{id:`holistic-smoothing`,slug:`holistic-smoothing-hair-healing-ritual`,order:1,title:`Holistic Smoothing + Hair Healing Ritual`,category:`Holistic & Healing`,price:`$400.00`,affirmText:`Starting at $37/mo with Affirm`,duration:`2.5 – 3 hrs`,includes:`Oway Hstraighten & Scalp Reset`,products:`Oway Organic Biodynamic Formulations`,availability:`Tue – Sat`,featured:!0,shortDescription:`This is not just straightening… this is transformation. Pure, organic smoothing with Oway Hstraighten that eliminates frizz, restores internal structure, and enhances natural movement without harsh chemicals.`,aboutTitle:`Luxury Without Compromise`,aboutText:`<p>Most treatments force your hair into submission. At Bloom, we don't believe in that. With <strong>Oway Hstraighten</strong>, we work with your hair — not against it. No harsh chemicals, no artificial coating, and no damage disguised as shine.</p><p>This restorative ritual infuses biodynamic botanicals directly into the cortex, leaving you with smooth, glass-like shine that retains natural bounce and body for months.</p>`,whatIncludedTitle:`The Healing Ritual Protocol`,whatIncludedText:`An unhurried organic ritual combining clarifying botanical wash, thermal sealing with low-heat ceramic plates, and an organic scalp hydration infusion.`,bulletPoints:[{title:`Pure Organic Smoothing`,subtitle:`Zero formaldehyde, zero harsh fumes, 100% clean biodynamic botanicals`},{title:`Permanent Frizz Elimination`,subtitle:`Locks out humidity while restoring softness and elasticity`},{title:`Structural Rebuilding`,subtitle:`Reinforces damaged bonds from root to tip with amino acids`},{title:`Natural Fluid Movement`,subtitle:`Keeps natural volume and styling versatility intact`}],resultsTitle:`Effortless Morning Hair`,resultsText:`Walk out with hair that behaves in any weather and dries in half the time without requiring heat styling every single day.`,steps:[{title:`Botanical Prep`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Oway Infusion`,iconUrl:`https://framerusercontent.com/images/C2h2a9wAq80ka3484LqPUD7Sro.svg`},{title:`Thermal Seal`,iconUrl:`https://framerusercontent.com/images/Rw1XM9IdQAX63EYgEafNyVJR0jg.svg`}],coverImage:`https://framerusercontent.com/images/OnSwV1YDaG5Ok2gtY00xImYnY.png`},{id:`air-touch-balayage`,slug:`air-touch-balayage`,order:2,title:`Air Touch / Balayage`,category:`Balayage & Blondes`,price:`$400.00`,affirmText:`Starting at $37/mo with Affirm`,duration:`3 – 4 hrs`,includes:`Custom Toning & Gloss`,products:`Low-Toxic Organic Lightener & Olaplex`,availability:`Tue – Sat`,featured:!0,shortDescription:`Ultra-seamless, high-precision air touch balayage using gentle airflow separation for the most natural, seamless, sun-kissed blonde blend that grows out cleanly.`,aboutTitle:`Air Touch Master Artistry`,aboutText:`<p>Air touch technique uses high-velocity gentle airflow to separate fine, baby hairs before lightener is applied. This creates an unbelievably soft diffusion of blonde with zero harsh lines, lasting up to 6–9 months without touch-ups.</p>`,whatIncludedTitle:`Full Dimension & Toning`,whatIncludedText:`Includes custom organic clay lightener, protective botanical bond builders, personalized multi-tonal root melt, glossing, and signature blowout.`,bulletPoints:[{title:`Gentle Air Separation`,subtitle:`Only mature hair strands are lightened, preserving fine new growth`},{title:`Zero Harsh Regrowth`,subtitle:`Softest transition possible with up to 9 months of lived-in wear`},{title:`Clean Organic Pigments`,subtitle:`Non-ammonia toners infused with natural oils for mirror shine`}],resultsTitle:`The Ultimate Lived-In Blonde`,resultsText:`Breathtaking dimensional light that looks natural in any sunlight and keeps hair soft and strong.`,steps:[{title:`Air Separation`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Clay Painting`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Gloss & Reveal`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/ZBDZcbzyvdw2iJfBpNvzyxV7YQ.jpg`},{id:`partial-balayage`,slug:`partial-balayage`,order:3,title:`Partial Balayage`,category:`Balayage & Blondes`,price:`Starting at $250.00`,affirmText:`Starting at $23/mo with Affirm`,duration:`2 – 2.5 hrs`,includes:`Face Framing & Crown Toning`,products:`Organic Clay Lighteners & Nourishing Toners`,availability:`Tue – Sat`,featured:!0,shortDescription:`Hand-painted dimensional highlights concentrated around the face and crown for an effortless sun-kissed refresh.`,aboutTitle:`Strategic Sun-Kissed Brightness`,aboutText:`Perfect for maintaining your existing balayage or adding bright, natural pops of light around your cheekbones and crown without a full head process.`,whatIncludedTitle:`Focused Dimension`,whatIncludedText:`Hand-painted placement, gloss toning, organic scalp wash, and finish.`,bulletPoints:[{title:`Targeted Brightening`,subtitle:`Focuses on high-impact areas around the face and parting`},{title:`Gentle Organic Lightening`,subtitle:`Low-chemical formula protects delicate hairline strands`}],resultsTitle:`Fresh & Radiant`,resultsText:`Effortless, luminous glow that brightens your complexion instantly.`,steps:[{title:`Placement Map`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Hand Painting`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Toning Finish`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/xascXqaqXoSidWFDv80MuTOR0.jpg`},{id:`full-highlight`,slug:`full-highlight`,order:4,title:`Full Highlight`,category:`Highlights & Dimension`,price:`$350.00`,affirmText:`Starting at $32/mo with Affirm`,duration:`2.5 – 3 hrs`,includes:`Full Head Foiling & Tone`,products:`Low-Ammonia Organic Formulas`,availability:`Tue – Sat`,shortDe
19scription:`A full highlight creates contrast, brightness, and multi-tonal brilliance throughout your entire hair.`,aboutTitle:`Full Spectrum Luminosity`,aboutText:`Complete coverage from neckline to crown, creating vibrant blonde or dimensional tones tailored to your skin undertones.`,whatIncludedTitle:`Complete Foil Application`,whatIncludedText:`Full head foil application, bonding treatment, custom toner, and blowout.`,bulletPoints:[{title:`Total Dimension`,subtitle:`Maximum brightness across every layer of your hair`},{title:`Customized Weave`,subtitle:`Micro-fine or ribbon placement depending on your desired look`}],resultsTitle:`All-Over Radiance`,resultsText:`Even, dimensional blonde with radiant light reflection from every angle.`,steps:[{title:`Consultation`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Full Foiling`,iconUrl:`https://framerusercontent.com/images/QAe8BnC0kuZ1kBr6KfzGCvhgOk4.svg`},{title:`Bonding Rinse`,iconUrl:`https://framerusercontent.com/images/mvpz6WAkzITCodGqIR6xfduOCE.svg`}],coverImage:`https://framerusercontent.com/images/nAsGIqRa8yp7Byv3dSztKcsu0.jpg`},{id:`partial-highlight`,slug:`partial-highlight`,order:5,title:`Partial Highlight`,category:`Highlights & Dimension`,price:`$200.00`,affirmText:`4 interest-free payments or $19/mo with Affirm`,duration:`1.5 – 2 hrs`,includes:`Top & Side Foiling + Tone`,products:`Organic Lightener & Botanical Oils`,availability:`Tue – Sat`,shortDescription:`Color is applied using a minimum number of foils to achieve highlights in desired locations across the crown and sides.`,aboutTitle:`Refined Partial Foiling`,aboutText:`Clean, precise highlights placed where the sun naturally hits to keep your color looking fresh between full sessions.`,whatIncludedTitle:`Crown & Side Touch-Up`,whatIncludedText:`Partial foils, toning wash, conditioner, and dry style.`,bulletPoints:[{title:`Strategic Highlighting`,subtitle:`Fast, effective top and side brightening`}],resultsTitle:`Natural Depth`,resultsText:`Crisp, dimensional highlights with healthy, silky shine.`,steps:[{title:`Sectioning`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Foiling`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Gloss`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/ySF9FgxXANXHHJEKHPx4diITrhg.png`},{id:`partial-highlight-touch-up`,slug:`partial-highlight-and-touch-up`,order:6,title:`Partial Highlight and Touch-Up`,category:`Highlights & Dimension`,price:`$320.00`,affirmText:`Starting at $29/mo with Affirm`,duration:`2.5 hrs`,includes:`Root Coverage + Partial Foils`,products:`Organic Pigments & Ammonia-Free Tints`,availability:`Tue – Sat`,shortDescription:`Comprehensive dual service covering root regrowth and adding fresh partial highlights for seamlessly blended color.`,aboutTitle:`Complete Dual Color Refresh`,aboutText:`Combines 100% root grey coverage or base color touch-up with custom partial foils in one streamlined appointment.`,whatIncludedTitle:`Base Color + Highlights`,whatIncludedText:`Root application, partial highlights, toning gloss, and style.`,bulletPoints:[{title:`Full Root Coverage`,subtitle:`Covers gray or shifts base tone seamlessly`},{title:`Dimensional Highlights`,subtitle:`Adds brightness through top and side layers`}],resultsTitle:`Flawless Harmonized Color`,resultsText:`No roots, vibrant dimension, and silky organic conditioning.`,steps:[{title:`Root Prep`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Dual Processing`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Hydrating Finish`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/H6P0qyEDt7hi2Xl5OnJE7iWSGck.png`},{id:`partial-highlights-gloss`,slug:`partial-highlights-plus-gloss`,order:7,title:`Partial Highlights + Gloss`,category:`Highlights & Dimension`,price:`$295.00`,affirmText:`Starting at $27/mo with Affirm`,duration:`2 – 2.5 hrs`,includes:`Foils + Luxury Gloss Seal`,products:`Low-Toxic Organic Glossing`,availability:`Tue – Sat`,shortDe
19scription:`Partial foiling finished with a custom all-over gloss glaze to seal the cuticle and deliver rich high-gloss reflection.`,aboutTitle:`Highlights with Mirror Glaze`,aboutText:`Infuses brilliant dimensional highlights with an all-over acidic gloss that closes the hair cuticle and enriches color vitality.`,whatIncludedTitle:`Lightening + Gloss Glaze`,whatIncludedText:`Partial foils, customized gloss bath, and blowout finish.`,bulletPoints:[{title:`Cuticle Sealing`,subtitle:`Eliminates brassiness and seals in moisture`}],resultsTitle:`Glass-Hair Luster`,resultsText:`Silky, multidimensional color with head-turning shine.`,steps:[{title:`Foiling`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Gloss Glaze`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Silk Style`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/bUi003WuBy99ULWcYF4aZYeQ.png`},{id:`crown-highlights`,slug:`crown-highlights`,order:8,title:`Crown Highlights`,category:`Highlights & Dimension`,price:`$120.00`,affirmText:`4 interest-free payments or $11/mo with Affirm`,duration:`1 hr 15 min`,includes:`Parting Line Brightening`,products:`Clean Organic Clay Lightener`,availability:`Tue – Sat`,shortDescription:`Quick, targeted highlights placed specifically along the crown and parting line to brighten your everyday style.`,aboutTitle:`Fast Crown Refresh`,aboutText:`A focused mini service designed for quick touch-ups between bigger color appointments.`,whatIncludedTitle:`Crown Section Placement`,whatIncludedText:`10-15 strategic foils along the parting and crown.`,bulletPoints:[{title:`Rapid Turnaround`,subtitle:`Get in and out with vibrant top brightness`}],resultsTitle:`Natural Sun-Kissed Top`,resultsText:`Brightens your parting and face line effortlessly.`,steps:[{title:`Parting Map`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Crown Foils`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Rinse & Dry`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/ZjIfFZVeuSv4ddhKBQ7y81RKjMA.png`},{id:`face-framing`,slug:`face-framing`,order:9,title:`Face Framing Highlights`,category:`Highlights & Dimension`,price:`$120.00`,affirmText:`4 interest-free payments or $11/mo with Affirm`,duration:`1 hr 15 min`,includes:`Money Piece / Hairline Accent`,products:`Organic Clay Lightener & Toner`,availability:`Tue – Sat`,shortDescription:`Strategic hairline highlights (Money Piece) that frame your facial features and illuminate your eyes.`,aboutTitle:`Architectural Face Framing`,aboutText:`Designed to accentuate cheekbones and eyes by creating custom soft or bold illumination right around your face.`,whatIncludedTitle:`Hairline Brightening`,whatIncludedText:`Face frame foils, toning glaze, and style finish.`,bulletPoints:[{title:`Instant Glow`,subtitle:`Elevates your look in a single focused session`}],resultsTitle:`Camera-Ready Framing`,resultsText:`Crisp, radiant contouring tailored to your face shape.`,steps:[{title:`Hairline Design`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Painting`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Toning Finish`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/kKlWcYbRVsOVyh880Atv5fuBBc.png`},{id:`low-lights`,slug:`low-lights`,order:10,title:`Low Lights`,category:`Color & Depth`,price:`$250.00`,affirmText:`Starting at $23/mo with Affirm`,duration:`2 hrs`,includes:`Depth Weaving & Conditioning`,products:`Organic Ammonia-Free Color`,availability:`Tue – Sat`,shortDescription:`Adds rich deeper ribbons throughout over-bleached or washed-out hair to restore natural contrast, thickness, and dimension.`,aboutTitle:`Restoring Contrast & Richness`,aboutText:`Brings back depth to overly lightened hair using gentle, moisturizing organic tints that condition while depositing color.`,whatIncludedTitle:`Depth Weaving Application`,whatIncludedText:`Foil/placement lowlights, deep conditioning mask, and blowout.`,bulletPoints:[{title:`Dimensional Depth`,subtitle:`Makes fine or blonde hair look thicker and fuller`}],resultsTitle:`Rich Lived-In Contrast`,resultsText:`Luxurious depth that restores balance and shine.`,steps:[{title:`Tone Selection`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Placement`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Gloss Finish`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/6jO7OYEluOXPlmXY17aTXzxqZsU.png`},{id:`full-color`,slug:`full-color`,order:11,title:`Full Color (Single Process)`,category:`Color & Depth`,price:`$200.00`,affirmText:`4 interest-free payments or $19/mo with Affirm`,duration:`2 hrs`,includes:`All-Over Organic Tint & Gloss`,products:`100% Organic Ammonia-Free Dye`,availability:`Tue – Sat`,shortDe
19scription:`The process of using gentle organic dye or tint to change the color of your hair from roots to ends, cover gray, or enrich cosmetic tone.`,aboutTitle:`All-Over Organic Color`,aboutText:`Complete root-to-end transformation using non-toxic formulas packed with essential oils and plant extracts that leave hair healthier than before.`,whatIncludedTitle:`Full Color Application`,whatIncludedText:`All-over organic tint, color lock treatment, and blow dry finish.`,bulletPoints:[{title:`100% Gray Coverage`,subtitle:`Full, natural coverage with zero chemical odor`},{title:`Vibrant Organic Pigments`,subtitle:`Rich, multi-dimensional tones that resist fading`}],resultsTitle:`Uniform Luminous Color`,resultsText:`Deep, glossy, conditioned hair from root to tip.`,steps:[{title:`Custom Mix`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Full Application`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Nourishing Wash`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/Nbl0GQuj8rwtBNSXIDXmGkOToQ.jpg`},{id:`color-correction`,slug:`color-correction`,order:12,title:`Color Correction`,category:`Color & Depth`,price:`$400.00`,affirmText:`Starting at $37/mo with Affirm`,duration:`3 – 5 hrs`,includes:`Tone Removal, Balance & Bond Rebuild`,products:`Restorative Botanical Bond Builders`,availability:`Tue – Sat`,featured:!0,shortDescription:`Comprehensive corrective service to fix uneven tone, brassiness, box dye banding, or chemical overlap while restoring structural hair health.`,aboutTitle:`Expert Color Reconstruction`,aboutText:`When color goes wrong elsewhere, our master colorists gently strip unwanted pigments, rebalance undertones, and rebuild healthy hair structure with organic treatments.`,whatIncludedTitle:`Multi-Step Correction`,whatIncludedText:`Detailed strand test, gentle pigment removal, custom multi-step color balancing, bonding masks, and styling.`,bulletPoints:[{title:`Gentle Chemical Stripping`,subtitle:`Zero-damage formulation to remove stubborn pigments`},{title:`Complete Tone Realignment`,subtitle:`Eliminates green, orange, or muddy undertones`},{title:`Intensive Bond Rebuilding`,subtitle:`Strengthens compromised hair shafts during the service`}],resultsTitle:`Restored Perfection`,resultsText:`Your dream hair tone restored safely with renewed vitality and shine.`,steps:[{title:`Analysis & Plan`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Correction Stages`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Bond Rebuild`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`double-process`,slug:`double-process`,order:13,title:`Double Process Blonding`,category:`Color & Depth`,price:`$400.00`,affirmText:`Starting at $37/mo with Affirm`,duration:`3 – 4 hrs`,includes:`All-Over Lightening + Custom Toner`,products:`Organic Conditioning Lighteners`,availability:`Tue – Sat`,shortDescription:`All-over platinum, ice, or silver blonding achieved by lightening all strands followed by custom tone refinement.`,aboutTitle:`Platinum & High Fashion Blonde`,aboutText:`Complete scalp-to-end lightening for solid platinum, icy, or pastel transformations, performed with maximum scalp protection.`,whatIncludedTitle:`Lightening + Double Tone`,whatIncludedText:`Scalp barrier, full lightening application, double toner, and conditioning seal.`,bulletPoints:[{title:`Solid Clean Blonde`,subtitle:`Zero banding with crystal-clear blonde reflection`}],resultsTitle:`Striking Icy Brilliance`,resultsText:`High-impact, pristine blonde with soft touchable texture.`,steps:[{title:`Scalp Shield`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Lightener Apply`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Double Tone`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/9ux0rWY2VPFMklmbXuWb81zKmM.png`},{id:`touch-up`,slug:`touch-up`,order:14,title:`Root Touch-Up`,category:`Touch-ups & Maintenance`,price:`$120.00`,affirmText:`4 interest-free payments or $11/mo with Affirm`,duration:`1 hr 15 min`,includes:`Root Application & Wash`,products:`Organic Ammonia-Free Color`,availability:`Tue – Sat`,shortDe
19scription:`The process of applying organic color to outgrowing roots to match and refresh your existing shade seamlessly.`,aboutTitle:`Seamless Root Refresh`,aboutText:`Quick, effective grey coverage or root matching using gentle organic color that soothes the scalp and doesn't cause itching or harsh chemical burns.`,whatIncludedTitle:`Root Application`,whatIncludedText:`Precision root painting, scalp massage wash, and dry.`,bulletPoints:[{title:`Perfect Shade Match`,subtitle:`Blends indistinguishably into your mid-lengths and ends`}],resultsTitle:`Fresh & Polished`,resultsText:`Complete root coverage that looks 100% natural.`,steps:[{title:`Shade Match`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Root Painting`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Scalp Massage`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/P2Y82PLa1JS7XfMWpMcas7w.png`},{id:`touch-up-blow-dry`,slug:`touch-up-and-blow-dry`,order:15,title:`Touch-up and Blow-Dry`,category:`Touch-ups & Maintenance`,price:`$165.00`,affirmText:`4 interest-free payments or $15/mo with Affirm`,duration:`1.5 hrs`,includes:`Root Color + Signature Blowout`,products:`Organic Tints & Heat Protectants`,availability:`Tue – Sat`,shortDescription:`Root regrowth color combined with a luxury blow-dry and styling for a complete salon-fresh finish.`,aboutTitle:`Color Refresh & Polished Style`,aboutText:`Walk in with roots, walk out with fully refreshed color and bouncy, styled hair ready for any occasion.`,whatIncludedTitle:`Root Color + Full Blowout`,whatIncludedText:`Root application, organic scalp massage, and custom blow dry styling.`,bulletPoints:[{title:`Total Makeover in 90 Mins`,subtitle:`Root fix plus full camera-ready volume`}],resultsTitle:`Flawless & Styled`,resultsText:`Clean roots, silky movement, and all-day hold.`,steps:[{title:`Root Prep`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Color Set`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Blowout Finish`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/bUi003WuBy99ULWcYF4aZYeQ.png`},{id:`touch-up-gloss`,slug:`touch-up-and-gloss`,order:16,title:`Touch up & Gloss`,category:`Touch-ups & Maintenance`,price:`$215.00`,affirmText:`4 interest-free payments or $20/mo with Affirm`,duration:`1 hr 45 min`,includes:`Root Touch + All-Over Glaze`,products:`Organic Gloss & Root Tints`,availability:`Tue – Sat`,shortDescription:`Covers new root growth while refreshing dull ends with an all-over conditioning gloss glaze for uniform vitality.`,aboutTitle:`Roots to Ends Rejuvenation`,aboutText:`Eliminates regrowth while restoring shine and tonal warmth through your entire mid-lengths and ends.`,whatIncludedTitle:`Root Color + Glossing Bath`,whatIncludedText:`Root tinting, 20-minute gloss glaze bath, and blow dry.`,bulletPoints:[{title:`Complete Color Harmony`,subtitle:`Re-energizes faded ends while masking roots`}],resultsTitle:`Deep Mirror Shine`,resultsText:`Full-bodied rich color with exceptional shine from roots to tips.`,steps:[{title:`Root Paint`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Gloss Bath`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Blow Dry`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/oCIwnva6O5PckOauVzCzXL1ATk.png`},{id:`womens-wash-cut-blow-touch-up`,slug:`womens-wash-cut-and-blow-plus-touch-up`,order:17,title:`Women's Wash, Cut, Blow & Touch-Up`,category:`Haircuts & Styling`,price:`$200.00`,affirmText:`4 interest-free payments or $19/mo with Affirm`,duration:`2 hrs`,includes:`Root Touch + Precision Cut & Blowout`,products:`Organic Botanicals & Styling Elixirs`,availability:`Tue – Sat`,shortDescription:`The full signature combination: root color touch-up, customized precision haircut, luxury wash, and blow-dry f
19inish.`,aboutTitle:`The Complete Salon Transformation`,aboutText:`Our most practical all-in-one package. Tackle roots and reshape your silhouette in a single seamless visit.`,whatIncludedTitle:`All-in-One Experience`,whatIncludedText:`Root color, clarifying organic wash, precision cut, and blowout.`,bulletPoints:[{title:`Full Signature Service`,subtitle:`Color, cut, and thermal blowout in one appointment`}],resultsTitle:`Fresh, Sleek & Structured`,resultsText:`Sharp lines, covered roots, and voluminous movement.`,steps:[{title:`Root Color`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Blowout Finish`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`womens-wash-cut-blow-touch-up-gloss`,slug:`womens-wash-cut-blow-plus-touch-up-plus-gloss`,order:18,title:`Women's Wash, Cut, Blow + Touch Up + Gloss`,category:`Haircuts & Styling`,price:`$295.00`,affirmText:`Starting at $27/mo with Affirm`,duration:`2.5 hrs`,includes:`Full Cut + Root Color + Gloss + Blowout`,products:`Oway & Pure Organic Formulas`,availability:`Tue – Sat`,shortDescription:`The ultimate salon overhaul: customized haircut, root touch-up, full gloss glaze, luxury botanical shampoo, and blowout.`,aboutTitle:`The Ultimate Atelier Package`,aboutText:`Every single element of your hair is addressed and elevated: roots covered, ends glazed with mirror gloss, split ends eliminated with precision cutting, and polished styling.`,whatIncludedTitle:`Four-Tier Transformation`,whatIncludedText:`Root touch, gloss bath, precision haircut, and master blowout.`,bulletPoints:[{title:`Maximum Value Package`,subtitle:`Addresses color, tone, length, split ends, and styling`}],resultsTitle:`Total Hair Elevation`,resultsText:`The pinnacle of healthy, luxury salon results.`,steps:[{title:`Color & Gloss`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Blowout Finish`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/ZBDZcbzyvdw2iJfBpNvzyxV7YQ.jpg`},{id:`womens-wash-cut-blow`,slug:`womens-wash-cut-and-blow-dry`,order:19,title:`Women's Wash, Cut & Blow-Dry`,category:`Haircuts & Styling`,price:`$80.00`,affirmText:`4 interest-free payments of $20 with Affirm`,duration:`1 hr`,includes:`Organic Wash + Tailored Cut + Blowout`,products:`Organic Clean Styling Products`,availability:`Tue – Sat`,featured:!0,shortDescription:`A customized haircut designed by your stylist to fit your individual style and preferences, includes professional blow dry and style.`,aboutTitle:`Customized Precision Cut & Blowout`,aboutText:`Engineered specifically for your unique facial structure, daily routine, and natural texture. Includes a relaxing scalp massage and bouncy blowout.`,whatIncludedTitle:`Wash, Cut & Style`,whatIncludedText:`Aromatherapy wash, customized cut, and thermal blowout.`,bulletPoints:[{title:`Face Shape Mapping`,subtitle:`Tailored to accentuate your best features`},{title:`Long-Lasting Shape`,subtitle:`Grows out cleanly without losing form`}],resultsTitle:`Polished & Weightless`,resultsText:`Effortless shape that falls into place with minimal styling at home.`,steps:[{title:`Consultation`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Blowout Style`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`womens-wash-cut`,slug:`womens-wash-and-cut`,order:20,title:`Women's Wash & Cut`,category:`Haircuts & Styling`,price:`$45.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`45 min`,includes:`Botanical Wash & Wet Cut`,products:`Organic Nourishing Cleansers`,availability:`Tue – Sat`,shortDe
19scription:`Gentle organic wash followed by an architectural precision haircut tailored to your preferences.`,aboutTitle:`Essential Precision Cut`,aboutText:`For clients who want a crisp haircut and clean organic wash without full thermal blow-dry styling.`,whatIncludedTitle:`Wash & Cut`,whatIncludedText:`Scalp wash and precision wet cut.`,bulletPoints:[{title:`Quick & Precise`,subtitle:`Keep your split ends at bay with master shears technique`}],resultsTitle:`Clean Healthy Ends`,resultsText:`Restores healthy weight and eliminates dry ends.`,steps:[{title:`Wash`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Towel Dry`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/ySF9FgxXANXHHJEKHPx4diITrhg.png`},{id:`womens-blowout`,slug:`womens-blowout`,order:21,title:`Women's Blowout`,category:`Haircuts & Styling`,price:`$45.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`45 min`,includes:`Hydrating Wash & Volume Blowout`,products:`Organic Volumizing & Heat Shield Mists`,availability:`Tue – Sat`,shortDescription:`Luxury wash followed by round-brush blowout for silky smoothness, body, and long-lasting volume.`,aboutTitle:`Signature Studio Blowout`,aboutText:`Ideal before special events, dates, or weekly self-care. Leaves hair weightless and frizz-free.`,whatIncludedTitle:`Wash & Style`,whatIncludedText:`Aromatherapy wash, round brush thermal dry, and cool-shot lock.`,bulletPoints:[{title:`All-Day Volume`,subtitle:`Smooth bounce that resists humidity`}],resultsTitle:`Silky Glamour`,resultsText:`Silky, touchable hair with effortless movement.`,steps:[{title:`Wash`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Blowout`,iconUrl:`https://framerusercontent.com/images/oLbEJHMDC7MXdXIrE7EqzEMtOY.svg`},{title:`Style Lock`,iconUrl:`https://framerusercontent.com/images/b0mLagTKW6HlWZvDhHSeBggAUM.svg`}],coverImage:`https://framerusercontent.com/images/bUi003WuBy99ULWcYF4aZYeQ.png`},{id:`conditioning-treatment`,slug:`conditioning-treatment`,order:22,title:`Conditioning Treatment`,category:`Holistic & Healing`,price:`$25.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`30 min`,includes:`Deep Protein Infusion + Heat Cap`,products:`Organic Plant Keratin & Lipids`,availability:`Tue – Sat`,shortDescription:`A formula that is designed to restore proteins and moisture in the hair. Often the client will wear a cap and be placed under a dryer for 10-20 minutes to increase the speed of penetration.`,aboutTitle:`Deep Moisture & Protein Recovery`,aboutText:`Restores vital amino acids and lipids lost through environmental stress or styling, sealing cuticles and boosting silkiness.`,whatIncludedTitle:`Deep Penetration Therapy`,whatIncludedText:`Mask application, 15-minute gentle heat activation, and cold water seal.`,bulletPoints:[{title:`Intensive Hydration`,subtitle:`Deeply quenches dry, parched strands`}],resultsTitle:`Soft & Hydrated`,resultsText:`Instantly noticeable softness and slip.`,steps:[{title:`Mask Apply`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Heat Cap`,iconUrl:`https://framerusercontent.com/images/C2h2a9wAq80ka3484LqPUD7Sro.svg`},{title:`Cold Rinse`,iconUrl:`https://framerusercontent.com/images/Rw1XM9IdQAX63EYgEafNyVJR0jg.svg`}],coverImage:`https://framerusercontent.com/images/OnSwV1YDaG5Ok2gtY00xImYnY.png`},{id:`gloss`,slug:`gloss-treatment`,order:23,title:`Gloss Treatment`,category:`Color & Depth`,price:`$95.00`,affirmText:`4 interest-free payments of $24 with Affirm`,duration:`45 min`,includes:`Custom Tonal Glaze & Acidic Seal`,products:`Organic Acidic Glossing Tints`,availability:`Tue – Sat`,shortDescription:`Semi-permanent organic glaze that neutralizes unwanted brass, enriches natural tone, and seals the hair cuticle for diamond shine.`,aboutTitle:`Instant Tone & Luster`,aboutText:`The secret to red-carpet shine. Non-damaging glaze that adds a sheer veil of luminous color or clear glass shine.`,whatIncludedTitle:`Gloss & Tone`,whatIncludedText:`Glaze bath, scalp conditioning wash, and dry style.`,bulletPoints:[{title:`Zero Damage Formula`,subtitle:`Improves hair texture while depositing tone`}],resultsTitle:`High-Gloss Reflection`,resultsText:`Luminous, vibrant color that catches the light beautifully.`,steps:[{title:`Tone Mix`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Glaze Bath`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Rinse & Dry`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/xascXqaqXoSidWFDv80MuTOR0.jpg`},{id:`bang-trim`,slug:`bang-trim`,order:24,title:`Bang Trim`,category:`Hair
19cuts & Styling`,price:`$25.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`15 min`,includes:`Fringe Reshaping`,products:`Light Finishing Mist`,availability:`Tue – Sat`,shortDescription:`Quick precision touch-up to reshape your fringe, curtain bangs, or face-framing pieces between full haircuts.`,aboutTitle:`Quick Fringe Maintenance`,aboutText:`Keep your bangs sitting at the perfect length with a 15-minute dry shaping session.`,whatIncludedTitle:`Dry Fringe Shaping`,whatIncludedText:`Custom fringe shaping.`,bulletPoints:[{title:`15-Minute Express`,subtitle:`Never struggle with overgrown bangs again`}],resultsTitle:`Perfect Framing`,resultsText:`Bangs sculpted to frame your eyes effortlessly.`,steps:[{title:`Consult`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`mens-haircut`,slug:`mens-haircut`,order:25,title:`Men's Haircut`,category:`Men's Grooming`,price:`$45.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`30 – 40 min`,includes:`Customized Cut & Scalp Wash`,products:`Organic Clean Matte & Pomade Balms`,availability:`Tue – Sat`,shortDescription:`A customized haircut designed by your stylist to fit your individual style and preferences, finished with clean styling.`,aboutTitle:`Refined Men's Grooming`,aboutText:`Tailored shears and clipper artistry designed for modern texture, clean tapers, or classic gentleman shapes.`,whatIncludedTitle:`Cut & Refresh`,whatIncludedText:`Consultation, precision cut, hot towel rinse, and styling paste.`,bulletPoints:[{title:`Tailored Taper`,subtitle:`Clean lines that grow out sharp and clean`}],resultsTitle:`Sharp & Structured`,resultsText:`Polished, easy-to-style haircut tailored to your lifestyle.`,steps:[{title:`Consultation`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Custom Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Style Balm`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/12GP0R6Gl2Iqcu4iiSYRaGleo.png`},{id:`mens-cut-color`,slug:`mens-cut-and-color`,order:26,title:`Men's Cut & Color`,category:`Men's Grooming`,price:`$115.00`,affirmText:`4 interest-free payments or $11/mo with Affirm`,duration:`1 hr 15 min`,includes:`Precision Cut + Natural Color Blending`,products:`Gentle Organic Men's Color`,availability:`Tue – Sat`,shortDescription:`Tailored men's precision haircut paired with natural gray blending or color enhancement for a discreet, refreshed look.`,aboutTitle:`Discreet Color & Sharp Cut`,aboutText:`Blends away grays subtly without harsh tell-tale color blocks, keeping hair looking completely natural and youthful.`,whatIncludedTitle:`Cut & Camouflage Color`,whatIncludedText:`10-minute natural gray blending, precision cut, and wash.`,bulletPoints:[{title:`Natural Gray Blending`,subtitle:`Zero brassiness, fades naturally over 4-6 weeks`}],resultsTitle:`Youthful & Clean`,resultsText:`Refreshed color with a sharp, masculine haircut.`,steps:[{title:`Color Blend`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Precision Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Style & Finish`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`},{id:`mens-color`,slug:`mens-color`,order:27,title:`Men's Color`,category:`Men's Grooming`,price:`$95.00`,affirmText:`4 interest-free payments of $24 with Affirm`,duration:`45 min`,includes:`Natural Gray Camouflage`,products:`Ammonia-Free Organic Tints`,availability:`Tue – Sat`,shortDescription:`Subtle, natural color processing specifically designed for men seeking gray coverage or tonal enhancement without harsh lines.`,aboutTitle:`Discreet Organic Men's Color`,aboutText:`Non-toxic gray reduction that takes years off without looking artificial or colored.`,whatIncludedTitle:`Color Processing`,whatIncludedText:`Color application, scalp cleanse, and style.`,bulletPoints:[{title:`Subtle & Undetectable`,subtitle:`Looks completely like your own hair`}],resultsTitle:`Natural Depth`,resultsText:`Clean, natural color with rich healthy tone.`,steps:[{title:`Mix`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Apply`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Rinse`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/12GP0R6Gl2Iqcu4iiSYRaGleo.png`},{id:`mens-beard`,slug:`mens-beard-trim-and-shape`,order:28,title:`Men's Beard Trim & Shaping`,category:`Men's Grooming`,price:`$75.00`,affirmText:`4 interest-free payments of $19 with Affirm`,duration:`30 min`,includes:`Beard Sculpting & Organic Conditioning Oil`,products:`Organic Botanical Beard Oils`,availability:`Tue – Sat`,shortDe
19scription:`Architectural beard sculpting, neckline tapering, and hot towel botanical oil treatment.`,aboutTitle:`Precision Beard Sculpting`,aboutText:`Shapes your facial hair to enhance your jawline structure with clean lines and deeply conditioned softness.`,whatIncludedTitle:`Beard Trim & Hot Towel`,whatIncludedText:`Shears and trimmer shaping, straight line cleanup, and botanical oil massage.`,bulletPoints:[{title:`Jawline Contouring`,subtitle:`Sculpted to fit your facial proportions`}],resultsTitle:`Clean & Sculpted`,resultsText:`Sharp, defined beard with nourished, soft hair.`,steps:[{title:`Trim`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Lineup`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Oil Massage`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`},{id:`childs-haircut`,slug:`childs-haircut`,order:29,title:`Child's Haircut`,category:`Children's Hair`,price:`$45.00`,affirmText:`Pay with Affirm on orders over $50`,duration:`30 min`,includes:`Gentle Clean Cut`,products:`Non-Toxic Organic Child Products`,availability:`Tue – Sat`,shortDescription:`A customized children's haircut designed by your stylist to fit your child's individual style and preferences in a welcoming, patient environment.`,aboutTitle:`Gentle & Fun Kids Haircuts`,aboutText:`We welcome children with warmth and patience. Non-toxic shampoos and gentle handling make salon visits fun and calm.`,whatIncludedTitle:`Kid-Friendly Experience`,whatIncludedText:`Gentle wash or wet cut and clean style.`,bulletPoints:[{title:`Patient & Caring`,subtitle:`Comfortable salon experience for children of all ages`}],resultsTitle:`Adorable & Fresh`,resultsText:`Cute, manageable cuts that kids and parents love.`,steps:[{title:`Welcome`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Gentle Cut`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Style`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`childs-haircut-style`,slug:`childs-haircut-and-style`,order:30,title:`Child's Haircut and Style`,category:`Children's Hair`,price:`$60.00`,affirmText:`4 interest-free payments of $15 with Affirm`,duration:`45 min`,includes:`Gentle Cut + Blowout or Braiding`,products:`Organic Tear-Free Botanicals`,availability:`Tue – Sat`,shortDescription:`A customized children's haircut designed by your stylist to fit your individual style and preferences, includes professional blow dry and style.`,aboutTitle:`Kid's Cut & Special Occasion Style`,aboutText:`Includes a full gentle blowout, soft waves, or braiding for school pictures, recitals, and special family gatherings.`,whatIncludedTitle:`Cut & Full Style`,whatIncludedText:`Wash, haircut, and blow dry or braid styling.`,bulletPoints:[{title:`Special Occasion Ready`,subtitle:`Perfect for photo days, holidays, and recitals`}],resultsTitle:`Picture-Perfect`,resultsText:`Beautifully styled children's hair that lasts all day.`,steps:[{title:`Cut`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Wash`,iconUrl:`https://framerusercontent.com/images/rWWIiGmpuGc06BeWcuXeQ6uHQVc.svg`},{title:`Style & Braids`,iconUrl:`https://framerusercontent.com/images/2CiOtlMrfuOmE7bR8wwiWHqqS0.svg`}],coverImage:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{id:`consultation`,slug:`complimentary-consultation`,order:31,title:`Complimentary Consultation`,category:`Holistic & Healing`,price:`$0.00 (Free)`,affirmText:`Free 15-Minute Session`,duration:`15 min`,includes:`Hair & Scalp Health Assessment`,products:`Organic Product Recommendations`,availability:`Tue – Sat`,featured:!0,shortDescription:`Sit down with a master organic stylist for a one-on-one consultation to discuss your hair goals, corrective needs, or texture transformation with zero obligation.`,aboutTitle:`Complimentary One-on-One Mapping`,aboutText:`Not sure which service is right for your hair? Book a free 15-minute sit-down. We analyze your hair history, porosity, and texture to recommend the exact plan.`,whatIncludedTitle:`Personalized Roadmap`,whatIncludedText:`Hair porosity test, color history review, lifestyle assessment, and transparent quote.`,bulletPoints:[{title:`Zero Pressure`,subtitle:`Honest expert guidance with transparent pricing`},{title:`Tailored Plan`,subtitle:`Custom plan before committing to chemical or holistic treatments`}],resultsTitle:`Clarity & Confidence`,resultsText:`Clear understanding of the best path for your hair health.`,steps:[{title:`Sit-Down`,iconUrl:`https://framerusercontent.com/images/suVXgQywFXZdZvpcoKH8vcsQ0.svg`},{title:`Hair Analysis`,iconUrl:`https://framerusercontent.com/images/Y3lzFpKRxJRpCd4N3bgIWc2a9A.svg`},{title:`Custom Quote`,iconUrl:`https://framerusercontent.com/images/Ofx6nLiZdXGPDLM4P7S6Ri2pJF4.svg`}],coverImage:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`}],$p=[`All`,`Holistic & Healing`,`Balayage & Blondes`,`Highlights & Dimension`,`Color & Depth`,`Touch-ups & Maintenance`,`Haircuts & Styling`,`Men's Grooming`,`Children's Hair`],em=[{id:`1`,name:`Anya Sharma`,role:`Founder & Master Organic Stylist`,specialty:`Holistic Smoothing & Balayage`,experience:`15+ Years`,bio:`Passionate about non-toxic beauty and holistic wellness, Anya founded Bloom Organic Hair Studio in Huntington to provide high-performance hair care without compromising on health or sustainability.`,image:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`},{id:`2`,name:`Marcus Sterling`,role:`Senior Color Specialist`,specialty:`Air Touch, Lived-in Blondes & Color Correction`,experience:`12+ Years`,bio:`Master of multi-dimensional blonding using low-toxic lighteners and organic clay formulas that grow out with zero harsh demarcation lines.`,image:`https://framerusercontent.com/images/12GP0R6Gl2Iqcu4iiSYRaGleo.png`},{id:`3`,name:`Elena Vance`,role:`Precision Cut & Texture Lead`,specialty:`Precision Haircuts & Scalp Rejuvenation`,experience:`10+ Years`,bio:`Trained in London and New York, Elena sculpts haircuts engineered specifically for individual bone structure and natural hair flow.`,image:`https://framerusercontent.com/images/yiRXBNSpE3Ir4Ta43C21JO11pA.png`},{id:`4`,name:`Priya Patel`,role:`Holistic Rituals & Bridal Artist`,specialty:`Oway Hstraighten & Special Occasions`,experience:`8+ Years`,bio:`Specializing in restorative organic smoothing and mindful scalp rituals, Priya brings serene warmth and exquisite craft to every guest.`,image:`https://framerusercontent.com/images/gbJgVGvkzvUjmvgVd4LzO10j3A.png`}
19],tm=[{id:`1`,name:`Sarah Jenkins`,location:`Huntington, NY`,rating:5,service:`Holistic Smoothing + Hair Healing Ritual`,text:`The Oway Hstraighten ritual changed my life. My frizzy, humid-weather hair is now completely silky, smooth, and manageable without any toxic chemical smells or burning eyes. Bloom is a true organic sanctuary in Long Island!`,date:`1 week ago`,image:`https://framerusercontent.com/images/gbJgVGvkzvUjmvgVd4LzO10j3A.png`},{id:`2`,name:`Jessica Miller`,location:`Cold Spring Harbor, NY`,rating:5,service:`Air Touch Balayage`,text:`Marcus is an absolute magician with blondes. The air touch blend is so soft and seamless that it grew out for 7 months without looking like I needed a root touch-up. Clean, peaceful salon atmosphere!`,date:`3 weeks ago`,image:`https://framerusercontent.com/images/xbvP8Gn7DNUpnkAtGWmCR9VnY.png`},{id:`3`,name:`David Chen`,location:`Northport, NY`,rating:5,service:`Men's Cut & Color`,text:`Great precision haircut and gray blending that looks completely natural. Free parking right out front on Jericho Turnpike makes visits so easy. Love the organic products they use.`,date:`2 weeks ago`,image:`https://framerusercontent.com/images/12GP0R6Gl2Iqcu4iiSYRaGleo.png`},{id:`4`,name:`Meera Kapoor`,location:`Melville, NY`,rating:5,service:`Full Color & Gloss`,text:`Having a luxury salon that speaks both English and Hindi with genuine warm hospitality is amazing. My hair has never felt so conditioned after color. Highly recommend Bloom!`,date:`Just now`,image:`https://framerusercontent.com/images/Ik3Bswoh6GtFMsis0ncNr7lhk3s.png`}],nm=[{question:`How do I book an appointment at Bloom Organic Hair Studio?`,answer:`You can book directly 24/7 online via our official Vagaro booking portal (www.vagaro.com/bloomorganichairstudio) or call/text us directly at (631) 470-9439. Walk-ins are also welcome subject to stylist availability!`},{question:`What makes Bloom's organic & low-toxic hair care different?`,answer:`We formulate exclusively with biodynamic, organic botanicals and clean performance lines like Oway (Organics Way). Our smoothing treatments, color, and lighteners are free from harsh formaldehydes, heavy ammonia, and synthetic perfumes — ensuring zero damage disguised as shine and protecting both your wellness and our environment.`},{question:`Do you offer payment plans through Affirm?`,answer:`Yes! Most services over $50 are eligible for 4 interest-free payments or low monthly financing through Affirm, making luxury organic transformations accessible with zero stress.`},{question:`Where is the salon located and is parking available?`,answer:`We are conveniently located at 723 West Jericho Turnpike, Huntington, New York 11743, with dedicated free on-site parking for all our guests.`},{question:`What is your appointment cancellation policy?`,answer:`We understand that life happens. Please call or text us as soon as possible if you need to adjust your appointment, and we'll always do our best to accommodate.`},{question:`Are children welcome at Bloom?`,answer:`Yes! Bloom is proud to be family and kid-friendly, offering customized gentle children's haircuts and special occasion styling with organic, tear-free products.`},{question:`What languages are spoken at Bloom?`,answer:`Our stylists and concierge warmly serve guests in both English and Hindi.`}],rm=[{url:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`,caption:`Precision Organic Cut & Framing`},{url:`https://framerusercontent.com/images/ZBDZcbzyvdw2iJfBpNvzyxV7YQ.jpg`,caption:`Air Touch Seamless Balayage`},{url:`https://framerusercontent.com/images/OnSwV1YDaG5Ok2gtY00xImYnY.png`,caption:`Oway Holistic Smoothing Glass Hair`},{url:`https://framerusercontent.com/images/bUi003WuBy99ULWcYF4aZYeQ.png`,caption:`Organic Blowout & Gloss`},{url:`https://framerusercontent.com/images/aQUpTo2jddcpgvjUcK6YtG9OtcQ.png`,caption:`Dimensional Root Melt`},{url:`https://framerusercontent.com/images/oCIwnva6O5PckOauVzCzXL1ATk.png`,caption:`Botanical Color Glaze`},{url:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`,caption:`Huntington NY Atelier Sanctuary`},{url:`https://framerusercontent.com/images/j5nZhool4xsbtWAdLKYoUl04qk.png`,caption:`Mindful Hair Rituals`}],im=[`OWAY BIODYNAMIC ORGANICS`,`CLEAN COLOR ARTISTRY`,`OLAPLEX BOND REBUILD`,`DAVINES SUSTAINABLE BEAUTY`,`ORGANIC SALON SYSTEMS`,`DYSON PRO TOOLS`],am=({size:e=18,className:t=``})=>(0,Y.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,className:t,children:[(0,Y.jsx)(`rect`,{width:`20`,he
19ight:`20`,x:`2`,y:`2`,rx:`5`,ry:`5`}),(0,Y.jsx)(`path`,{d:`M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z`}),(0,Y.jsx)(`line`,{x1:`17.5`,x2:`17.51`,y1:`6.5`,y2:`6.5`})]}),om=({size:e=18,className:t=``})=>(0,Y.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,className:t,children:(0,Y.jsx)(`path`,{d:`M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z`})}),sm=({onOpenBooking:e})=>{let[t,n]=(0,_.useState)(!1),[r,i]=(0,_.useState)(!1),a=ht();(0,_.useEffect)(()=>{let e=()=>{window.scrollY>30?n(!0):n(!1)};return window.addEventListener(`scroll`,e),()=>window.removeEventListener(`scroll`,e)},[]),(0,_.useEffect)(()=>{i(!1)},[a.pathname]);let o=[{name:`Home`,path:`/`},{name:`About`,path:`/about`},{name:`Services`,path:`/services`},{name:`Why Us`,path:`/#why-us`},{name:`Contact`,path:`/contact`}],s=e=>{if(i(!1),e.startsWith(`/#`)){let t=e.substring(2);if(a.pathname===`/`){let e=document.getElementById(t);e&&e.scrollIntoView({behavior:`smooth`})}}};return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`header`,{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${t?`bg-[#F6EFE5]/90 backdrop-blur-md border-b border-[#48120E]/10 py-4 shadow-sm`:`bg-transparent py-6`}`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12 flex items-center justify-between`,children:[(0,Y.jsx)(k,{to:`/`,className:`flex items-center gap-2 group`,children:(0,Y.jsx)(`span`,{className:`font-display font-extrabold text-2xl md:text-3xl tracking-tighter uppercase text-[#48120E] group-hover:text-[#B82020] transition-colors`,children:`Bloom`})}),(0,Y.jsx)(`nav`,{className:`hidden lg:flex items-center gap-8`,children:o.map(e=>{let t=e.path.startsWith(`/#`),n=!t&&a.pathname===e.path;return t?(0,Y.jsx)(`a`,{href:e.path,onClick:()=>s(e.path),className:`text-xs uppercase font-bold tracking-wider text-[#48120E]/80 hover:text-[#48120E] transition-colors relative py-1`,children:e.name},e.name):(0,Y.jsxs)(k,{to:e.path,className:`text-xs uppercase font-bold tracking-wider transition-colors relative py-1 ${n?`text-[#48120E] font-extrabold`:`text-[#48120E]/80 hover:text-[#48120E]`}`,children:[e.name,n&&(0,Y.jsx)(cp.div,{layoutId:`activeNav`,className:`absolute bottom-0 left-0 right-0 h-[2px] bg-[#48120E]`})]},e.name)})}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,Y.jsx)(`button`,{onClick:()=>{e?e():window.open(Zp.vagaroUrl,`_blank`)},className:`hidden sm:inline-flex items-center justify-center px-6 py-3 text-xs font-bold uppercase tracking-wider bg-[#48120E] text-[#F6EFE5] hover:bg-[#340b08] transition-all`,children:`Book Now`}),(0,Y.jsx)(`button`,{onClick:()=>i(!r),"aria-label":`Toggle menu`,className:`p-2 text-[#48120E] bg-white/50 border border-white/80 rounded-none lg:hidden hover:bg-white transition-colors`,children:r?(0,Y.jsx)(Xp,{size:22}):(0,Y.jsx)(Ip,{size:22})})]})]})}),(0,Y.jsx)(_d,{children:r&&(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2},className:`fixed inset-0 top-[70px] z-40 bg-[#F6EFE5] flex flex-col justify-between p-8 lg:hidden border-t border-[#48120E]/10`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col gap-6 pt-4`,children:[o.map(e=>(0,Y.jsx)(k,{to:e.path,onClick:()=>s(e.path),className:`text-2xl font-bold uppercase tracking-tight text-[#48120E] hover:text-[#B82020] transition-colors`,children:e.name},e.name)),(0,Y.jsx)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`w-full inline-flex items-center justify-center py-4 text-xs uppercase font-extrabold tracking-wider bg-[#48120E] text-[#F6EFE5] text-center mt-4`,children:`Book Now`})]}),(0,Y.jsxs)(`div`,{className:`border-t border-[#48120E]/10 pt-6 flex items-center justify-between text-xs text-[#48120E]/70`,children:[(0,Y.jsx)(`span`,{children:`(631) 470-9439`}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Y.jsx)(`a`,{href:`https://instagram.com`,target:`_blank`,rel:`noreferrer`,className:`p-2 bg-white/60 hover:bg-white transition-colors`,children:(0,Y.jsx)(am,{size:16})}),(0,Y.jsx)(`a`,{href:`https://facebook.com`,target:`_blank`,rel:`noreferrer`,className:`p-2 bg-white/60 hover:bg-white transition-colors`,children:(0,Y.jsx)(om,{size:16})})]})]})]})})]})},cm=({label:e,className:t=``})=>(0,Y.jsx)(`div`,{className:`inline-flex items-center gap-2 px-3 py-1 bg-white/40 border border-salonix-brown/10 text-salonix-brown text-xs uppercase tracking-wider font-semibold rounded-full ${t}`,children:(0,Y.jsx)(`span`,{children:e})}),lm=()=>(0,Y.jsx)(`footer`,{className:`bg-[#48120E] text-[#F6EFE5] pt-20 pb-12 overflow-hidden border-t border-[#48120E]`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col lg:flex-row items-start lg:items-end justify-between gap-8 pb-16 border-b border-[#F6EFE5]/15`,children:[(0,Y.jsxs)(`div`,{className:`max-w-2xl`,children:[(0,Y.jsx)(cm,{label:`[ Bloom Organic Hair Studio ]`,className:`bg-[#F6EFE5]/10 border-[#F6EFE5]/20 text-[#F6EFE5] mb-6`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight leading-none`,children:`A place to grow, glow, and bloom.`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#F6EFE5]/75 mt-4 max-w-lg leading-relaxed`,children:`Luxury organic salon in Huntington, NY dedicated to enhancing natural beauty through clean, sustainable, and high-performance hair care.`})]}),(0,Y.jsxs)(`div`,{className:`flex flex-col sm:flex-row items-stretch sm:items-center gap-4 w-full lg:w-auto`,children:[(0,Y.jsx)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center justify-center px-6 py-4 text-xs uppercase font-extrabold tracking-wider bg-[#849673] text-white hover:bg-[#728362] transition-colors shadow-lg text-center`,children:`Book on Vagaro ↗`}),(0,Y.jsxs)(`a`,{href:`tel:${Zp.phoneRaw}`,className:`inline-flex items-center justify-center px-6 py-4 text-xs uppercase font-bold tracking-wider bg-[#F6EFE5]/10 hover:bg-[#F6EFE5]/20 text-[#F6EFE5] transition-colors text-center border border-[#F6EFE5]/20`,children:[(0,Y.jsx)(zp,{size:14,className:`mr-2`}),` Call (631) 470-9439`]})]})]}),(0,Y.jsxs)(`div`,{className:`py-8 border-b border-[#F6EFE5]/15 grid grid-cols-2 md:grid-cols-4 gap-4 text-xs`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2.5 text-[#F6EFE5]/80`,children:[(0,Y.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-[#849673]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Location:`}),` Huntington, Long Island NY`]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2.5 text-[#F6EFE5]/80`,children:[(0,Y.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-[#849673]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Parking:`}),` Free On-Site Parking`]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2.5 text-[#F6EFE5]/80`,children:[(0,Y.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-[#849673]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Financing:`}),` Affirm Monthly Payments`]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2.5 text-[#F6EFE5]/80`,children:[(0,Y.jsx)(`span`,{className:`w-2 h-2 rounded-full bg-[#849673]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Languages:`}),` English & Hindi`]})]})]}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 py-16 border-b border-[#F6EFE5]/15 text-sm`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`font-display font-extrabold text-2xl uppercase tracking-tight text-[#F6EFE5] block mb-2`,children:`Bloom`}),(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#F6EFE5]/50 block mb-4`,children:`Organic Hair Studio`}),(0,Y.jsx)(`p`,{className:`text-xs text-[#F6EFE5]/70 leading-relaxed`,children:`Modern elegance meets nature-inspired wellness. Clean, organic, low-toxic hair artistry and holistic hair healing rituals.`}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-3 mt-6`,children:[(0,Y.jsx)(`a`,{href:`https://instagram.com`,target:`_blank`,rel:`noreferrer`,className:`p-2.5 bg-[#F6EFE5]/10 hover:bg-[#F6EFE5]/20 text-[#F6EFE5] transition-colors`,"aria-label":`Instagram`,children:(0,Y.jsx)(am,{size:16})}),(0,Y.jsx)(`a`,{href:`https://facebook.com`,target:`_blank`,rel:`noreferrer`,className:`p-2.5 bg-[#F6EFE5]/10 hover:bg-[#F6EFE5]/20 text-[#F6EFE5] transition-colors`,"aria-label":`Facebook`,children:(0,Y.jsx)(om,{size:16})}),(0,Y.jsx)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`px-3 py-2 bg-[#F6EFE5]/10 hover:bg-[#F6EFE5]/20 text-xs font-bold text-[#F6EFE5] uppercase tracking-wider transition-colors`,children:`Vagaro`})]})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`text-xs uppercase font-bold tracking-wider text-[#F6EFE5]/50 mb
19-4`,children:`Quick Navigation`}),(0,Y.jsxs)(`ul`,{className:`space-y-2.5 text-xs uppercase font-bold tracking-wider`,children:[(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(k,{to:`/`,className:`hover:text-[#849673] transition-colors flex items-center gap-1 group`,children:[`Home `,(0,Y.jsx)(xp,{size:12,className:`opacity-0 group-hover:opacity-100 transition-opacity`})]})}),(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(k,{to:`/about`,className:`hover:text-[#849673] transition-colors flex items-center gap-1 group`,children:[`Our Story & Values `,(0,Y.jsx)(xp,{size:12,className:`opacity-0 group-hover:opacity-100 transition-opacity`})]})}),(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(k,{to:`/services`,className:`hover:text-[#849673] transition-colors flex items-center gap-1 group`,children:[`Full Service Menu (31 Services) `,(0,Y.jsx)(xp,{size:12,className:`opacity-0 group-hover:opacity-100 transition-opacity`})]})}),(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(`a`,{href:`/#holistic`,className:`hover:text-[#849673] transition-colors flex items-center gap-1 group`,children:[`Oway Holistic Smoothing `,(0,Y.jsx)(xp,{size:12,className:`opacity-0 group-hover:opacity-100 transition-opacity`})]})}),(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(k,{to:`/contact`,className:`hover:text-[#849673] transition-colors flex items-center gap-1 group`,children:[`Contact & Map `,(0,Y.jsx)(xp,{size:12,className:`opacity-0 group-hover:opacity-100 transition-opacity`})]})}),(0,Y.jsx)(`li`,{children:(0,Y.jsxs)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`text-[#849673] hover:underline flex items-center gap-1`,children:[`Book 24/7 on Vagaro `,(0,Y.jsx)(xp,{size:12})]})})]})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`text-xs uppercase font-bold tracking-wider text-[#F6EFE5]/50 mb-4`,children:`Featured Rituals`}),(0,Y.jsxs)(`ul`,{className:`space-y-2.5 text-xs text-[#F6EFE5]/80`,children:[(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/holistic-smoothing-hair-healing-ritual`,className:`hover:text-white transition-colors`,children:`Holistic Smoothing + Healing ($400)`})}),(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/air-touch-balayage`,className:`hover:text-white transition-colors`,children:`Air Touch Balayage ($400)`})}),(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/partial-balayage`,className:`hover:text-white transition-colors`,children:`Partial Balayage (From $250)`})}),(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/womens-wash-cut-and-blow-dry`,className:`hover:text-white transition-colors`,children:`Women's Wash, Cut & Blow-Dry ($80)`})}),(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/full-color`,className:`hover:text-white transition-colors`,children:`Full Organic Color ($200)`})}),(0,Y.jsx)(`li`,{children:(0,Y.jsx)(k,{to:`/services/complimentary-consultation`,className:`hover:text-white transition-colors font-bold text-[#849673]`,children:`Free Consultation ($0.00)`})})]})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`text-xs uppercase font-bold tracking-wider text-[#F6EFE5]/50 mb-4`,children:`Studio & Hours`}),(0,Y.jsxs)(`address`,{className:`not-italic text-xs text-[#F6EFE5]/80 space-y-1.5 mb-4`,children:[(0,Y.jsxs)(`p`,{className:`font-bold text-[#F6EFE5] flex items-center gap-1.5`,children:[(0,Y.jsx)(Pp,{size:13,className:`text-[#849673]`}),` 723 West Jericho Turnpike`]}),(0,Y.jsx)(`p`,{className:`pl-4.5 text-[#F6EFE5]/70`,children:`Huntington, New York 11743`}),(0,Y.jsxs)(`p`,{className:`pt-1.5 font-bold text-[#F6EFE5] flex items-center gap-1.5`,children:[(0,Y.jsx)(zp,{size:13,className:`text-[#849673]`}),(0,Y.jsx)(`a`,{href:`tel:${Zp.phoneRaw}`,className:`hover:underline`,children:Zp.phone})]})]}),(0,Y.jsxs)(`div`,{className:`text-xs text-[#F6EFE5]/70 pt-2 border-t border-[#F6EFE5]/10 space-y-1`,children:[(0,Y.jsxs)(`p`,{children:[(0,Y.jsx)(`span`,{className:`text-[#F6EFE5]`,children:`Tue – Fri:`}),` 9:30 AM – 7:00 PM`]}),(0,Y.jsxs)(`p`,{children:[(0,Y.jsx)(`span`,{className:`text-[#F6EFE5]`,children:`Saturday:`}),` 9:00 AM – 6:00 PM`]}),(0,Y.jsxs)(`p`,{children:[(0,Y.jsx)(`span`,{className:`text-[#F6EFE5]`,children:`Sun & Mon:`}),` Closed / By Request`]})]})]})]}),(0,Y.jsx)(`div`,{className:`py-6 border-b border-[#F6EFE5]/15 text-xs text-[#F6EFE5]/60 leading-relaxed`,children:(0,Y.jsxs)(`p`,{children:[(0,Y.jsx)(`strong`,{className:`text-[#F6EFE5]`,children:`Cancellation Policy:`}),` `,Zp.cancellationPolicy]})}),(0,Y.jsxs)(`div`,{className:`pt-8 flex flex-col md:flex-row items-center justify-between gap-4 text-xs text-[#F6EFE5]/50`,children:[(0,Y.jsxs)(`p`,{children:[`© `,new Date().getFullYear(),` Bloom Organic Hair Studio. All rights reserved. Huntington, NY.`]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-6`,children:[(0,Y.jsx)(`span`,{children:`Free Parking`}),(0,Y.jsx)(`span`,{children:`•`}),(0,Y.jsx)(`span`,{children:`Walk-ins Welcome`}),(0,Y.jsx)(`span`,{children:`•`}),(0,Y.jsx)(`span`,{children:`English & Hindi`})]})]})]})}),um={};(function e(t,n,r,i){var a=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),o=typeof Path2D==`function`&&typeof DOMMatrix==`function`,s=(function(){if(!t.OffscreenCanvas)return!1;try{var e=new OffscreenCanvas(1,1),n=e.getContext(`2d`);n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();n.createPattern(r,`no-repeat`)}catch{return!1}return!0})();function c(){}function l(e){var r=n.exports.Promise,i=r===void 0?t.Promise:r;return typeof i==`function`?new i(e):(e(c,c),null)}var u=(function(e,t){return{transform:function(n){if(e)return n;if(t.has(n))return t.get(n);var r=new OffscreenCanvas(n.width,n.height);
vendor: 8,100 bytes, lines 19-20
19return r.getContext(`2d`).drawImage(n,0,0),t.set(n,r),r},clear:function(){t.clear()}}})(s,new Map),d=function(){var e,t,n={},r=0;return typeof requestAnimationFrame==`function`&&typeof cancelAnimationFrame==`function`?(e=function(e){var t=Math.random();return n[t]=requestAnimationFrame(function i(a){r===a||r+16-1<a?(r=a,delete n[t],e()):n[t]=requestAnimationFrame(i)}),t},t=function(e){n[e]&&cancelAnimationFrame(n[e])}):(e=function(e){return setTimeout(e,16)},t=function(e){return clearTimeout(e)}),{frame:e,cancel:t}}(),f=(function(){var t,n,i={};function o(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(r,a,o){if(n)return t(r,null),n;var s=Math.random().toString(36).slice(2);return n=l(function(a){function c(t){t.data.callback===s&&(delete i[s],e.removeEventListener(`message`,c),n=null,u.clear(),o(),a())}e.addEventListener(`message`,c),t(r,s),i[s]=c.bind(null,{data:{callback:s}})}),n},e.reset=function(){for(var t in e.postMessage({reset:!0}),i)i[t](),delete i[t]}}return function(){if(t)return t;if(!r&&a){var n=[`var CONFETTI, SIZE = {}, module = {};`,`(`+e.toString()+`)(this, module, true, SIZE);`,`onmessage = function(msg) {`,`  if (msg.data.options) {`,`    CONFETTI(msg.data.options).then(function () {`,`      if (msg.data.callback) {`,`        postMessage({ callback: msg.data.callback });`,`      }`,`    });`,`  } else if (msg.data.reset) {`,`    CONFETTI && CONFETTI.reset();`,`  } else if (msg.data.resize) {`,`    SIZE.width = msg.data.resize.width;`,`    SIZE.height = msg.data.resize.height;`,`  } else if (msg.data.canvas) {`,`    SIZE.width = msg.data.canvas.width;`,`    SIZE.height = msg.data.canvas.height;`,`    CONFETTI = module.exports.create(msg.data.canvas);`,`  }`,`}`].join(`
20`);try{t=new Worker(URL.createObjectURL(new Blob([n])))}catch(e){return typeof console<`u`&&typeof console.warn==`function`&&console.warn(`🎊 Could not load worker`,e),null}o(t)}return t}})(),p={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:[`square`,`circle`],zIndex:100,colors:[`#26ccff`,`#a25afd`,`#ff5e7e`,`#88ff5a`,`#fcff42`,`#ffa62d`,`#ff36ff`],disableForReducedMotion:!1,scalar:1};function m(e,t){return t?t(e):e}function h(e){return e!=null}function g(e,t,n){return m(e&&h(e[t])?e[t]:p[t],n)}function _(e){return e<0?0:Math.floor(e)}function v(e,t){return Math.floor(Math.random()*(t-e))+e}function y(e){return parseInt(e,16)}function b(e){return e.map(x)}function x(e){var t=String(e).replace(/[^0-9a-f]/gi,``);return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:y(t.substring(0,2)),g:y(t.substring(2,4)),b:y(t.substring(4,6))}}function S(e){var t=g(e,`origin`,Object);return t.x=g(t,`x`,Number),t.y=g(t,`y`,Number),t}function C(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function w(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function ee(e){var t=document.createElement(`canvas`);return t.style.position=`fixed`,t.style.top=`0px`,t.style.left=`0px`,t.style.pointerEvents=`none`,t.style.zIndex=e,t}function te(e,t,n,r,i,a,o,s,c){e.save(),e.translate(t,n),e.rotate(a),e.scale(r,i),e.arc(0,0,1,o,s,c),e.restore()}function ne(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:e.startVelocity*.5+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(Math.random()*.5+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:e.gravity*3,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}function re(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,a=t.wobbleX+t.random*t.tiltCos,s=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle=`rgba(`+t.color.r+`, `+t.color.g+`, `+t.color.b+`, `+(1-n)+`)`,e.beginPath(),o&&t.shape.type===`path`&&typeof t.shape.path==`string`&&Array.isArray(t.shape.matrix))e.fill(se(t.shape.path,t.shape.matrix,t.x,t.y,Math.abs(a-r)*.1,Math.abs(s-i)*.1,Math.PI/10*t.wobble));else if(t.shape.type===`bitmap`){var c=Math.PI/10*t.wobble,l=Math.abs(a-r)*.1,d=Math.abs(s-i)*.1,f=t.shape.bitmap.width*t.scalar,p=t.shape.bitmap.height*t.scalar,m=new DOMMatrix([Math.cos(c)*l,Math.sin(c)*l,-Math.sin(c)*d,Math.cos(c)*d,t.x,t.y]);m.multiplySelf(new DOMMatrix(t.shape.matrix));var h=e.createPattern(u.transform(t.shape.bitmap),`no-repeat`);h.setTransform(m),e.globalAlpha=1-n,e.fillStyle=h,e.fillRect(t.x-f/2,t.y-p/2,f,p),e.globalAlpha=1}else if(t.shape===`circle`)e.ellipse?e.ellipse(t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):te(e,t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if(t.shape===`star`)for(var g=Math.PI/2*3,_=4*t.scalar,v=8*t.scalar,y=t.x,b=t.y,x=5,S=Math.PI/x;x--;)y=t.x+Math.cos(g)*v,b=t.y+Math.sin(g)*v,e.lineTo(y,b),g+=S,y=t.x+Math.cos(g)*_,b=t.y+Math.sin(g)*_,e.lineTo(y,b),g+=S;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(i)),e.lineTo(Math.floor(a),Math.floor(s)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}function T(e,t,n,a,o){var s=t.slice(),c=e.getContext(`2d`),f,p,m=l(function(t){function l(){f=p=null,c.clearRect(0,0,a.width,a.height),u.clear(),o(),t()}function m(){r&&(a.width!==i.width||a.height!==i.height)&&(a.width=e.width=i.width,a.height=e.height=i.height),!a.width&&!a.height&&(n(e),a.width=e.width,a.height=e.height),c.clearRect(0,0,a.width,a.height),s=s.filter(function(e){return re(c,e)}),s.length?f=d.frame(m):l()}f=d.frame(m),p=l});return{addFettis:function(e){return s=s.concat(e),m},canvas:e,promise:m,reset:function(){f&&d.cancel(f),p&&p()}}}function ie(e,n){var r=!e,i=!!g(n||{},`resize`),o=!1,s=g(n,`disableForReducedMotion`,Boolean),c=a&&g(n||{},`useWorker`)?f():null,u=r?C:w,d=e&&c?!!e.__confetti_initialized:!1,p=typeof matchMedia==`function`&&matchMedia(`(prefers-reduced-motion)`).matches,m;function h(t,n,r){for(var i=g(t,`particleCount`,_),a=g(t,`angle`,Number),o=g(t,`spread`,Number),s=g(t,`startVelocity`,Number),c=g(t,`decay`,Number),l=g(t,`gravity`,Number),d=g(t,`drift`,Number),f=g(t,`colors`,b),p=g(t,`ticks`,Number),h=g(t,`shapes`),y=g(t,`scalar`),x=!!g(t,`flat`),C=S(t),w=i,ee=[],te=e.width*C.x,re=e.height*C.y;w--;)ee.push(ne({x:te,y:re,angle:a,spread:o,startVelocity:s,color:f[w%f.length],shape:h[v(0,h.length)],ticks:p,decay:c,gravity:l,drift:d,scalar:y,flat:x}));return m?m.addFettis(ee):(m=T(e,ee,u,n,r),m.promise)}function y(n){var a=s||g(n,`disableForReducedMotion`,Boolean),f=g(n,`zIndex`,Number);if(a&&p)return l(function(e){e()});r&&m?e=m.canvas:r&&!e&&(e=ee(f),document.body.appendChild(e)),i&&!d&&u(e);var _={width:e.width,height:e.height};c&&!d&&c.init(e),d=!0,c&&(e.__confetti_initialized=!0);function v(){if(c){var t={getBoundingClientRect:function(){if(!r)return e.getBoundingClientRect()}};u(t),c.postMessage({resize:{width:t.width,height:t.height}});return}_.width=_.height=null}function y(){m=null,i&&(o=!1,t.removeEventListener(`resize`,v)),r&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,d=!1)}return i&&!o&&(o=!0,t.addEventListener(`resize`,v,!1)),c?c.fire(n,_,y):h(n,_,y)}return y.reset=function(){c&&c.reset(),m&&m.reset()},y}var ae;function oe(){return ae||=ie(null,{useWorker:!0,resize:!0}),ae}function se(e,t,n,r,i,a,o){var s=new Path2D(e),c=new Path2D;c.addPath(s,new DOMMatrix(t));var l=new Path2D;
20return l.addPath(c,new DOMMatrix([Math.cos(o)*i,Math.sin(o)*i,-Math.sin(o)*a,Math.cos(o)*a,n,r])),l}function ce(e){if(!o)throw Error(`path confetti are not supported in this browser`);var t,n;typeof e==`string`?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),i=document.createElement(`canvas`).getContext(`2d`);if(!n){for(var a=1e3,s=a,c=a,l=0,u=0,d,f,p=0;p<a;p+=2)for(var m=0;m<a;m+=2)i.isPointInPath(r,p,m,`nonzero`)&&(s=Math.min(s,p),c=Math.min(c,m),l=Math.max(l,p),u=Math.max(u,m));d=l-s,f=u-c;var h=10,g=Math.min(h/d,h/f);n=[g,0,0,g,-Math.round(d/2+s)*g,-Math.round(f/2+c)*g]}return{type:`path`,path:t,matrix:n}}function le(e){var t,n=1,r=`#000000`,i=`"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif`;typeof e==`string`?t=e:(t=e.text,n=`scalar`in e?e.scalar:n,i=`fontFamily`in e?e.fontFamily:i,r=`color`in e?e.color:r);var a=10*n,o=``+a+`px `+i,s=new OffscreenCanvas(a,a),c=s.getContext(`2d`);c.font=o;var l=c.measureText(t),u=Math.ceil(l.actualBoundingBoxRight+l.actualBoundingBoxLeft),d=Math.ceil(l.actualBoundingBoxAscent+l.actualBoundingBoxDescent),f=2,p=l.actualBoundingBoxLeft+f,m=l.actualBoundingBoxAscent+f;u+=f+f,d+=f+f,s=new OffscreenCanvas(u,d),c=s.getContext(`2d`),c.font=o,c.fillStyle=r,c.fillText(t,p,m);var h=1/n;return{type:`bitmap`,bitmap:s.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-d*h/2]}}n.exports=function(){return oe().apply(this,arguments)},n.exports.reset=function(){oe().reset()},n.exports.create=ie,n.exports.shapeFromPath=ce,n.exports.shapeFromText=le})((function(){return typeof window<`u`?window:typeof self<`u`?self:this||{}})(),um,!1);var dm=um.exports;um.exports.create;var $=({children:e,variant:t=`primary`,to:n,onClick:r,className:i=``,type:a=`button`,disabled:o=!1})=>{let s=`inline-flex items-center justify-center px-6 py-3 text-xs md:text-sm font-bold uppercase tracking-wider transition-all duration-300 rounded-none cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed select-none ${{primary:`bg-[#48120E] text-[#F6EFE5] hover:bg-[#340b08] hover:shadow-lg active:scale-95`,secondary:`bg-white/70 text-[#48120E] hover:bg-white border border-white/80 active:scale-95`,outline:`bg-transparent text-[#48120E] border border-[#48120E]/40 hover:border-[#48120E] hover:bg-[#48120E]/5 active:scale-95`,dark:`bg-[#B82020] text-white hover:bg-[#9d1717] hover:shadow-lg active:scale-95`}[t]} ${i}`;return n?n.startsWith(`/#`)?(0,Y.jsx)(`a`,{href:n.substring(1),onClick:r,className:s,children:e}):(0,Y.jsx)(k,{to:n,onClick:r,className:s,children:e}):(0,Y.jsx)(`button`,{type:a,onClick:r,disabled:o,className:s,children:e})},fm=({preselectedServiceId:e,isModal:t=!1,onClose:n})=>{let[r,i]=(0,_.useState)(1),[a,o]=(0,_.useState)(e||Qp[0].id),[s,c]=(0,_.useState)(`any`),[l,u]=(0,_.useState)(`2026-08-28`),[d,f]=(0,_.useState)(`11:00 AM`),[p,m]=(0,_.useState)({name:``,email:``,phone:``,notes:``}),[h,g]=(0,_.useState)(!1),v=[`09:00 AM`,`10:30 AM`,`11:00 AM`,`01:00 PM`,`02:30 PM`,`04:00 PM`,`05:30 PM`,`06:30 PM`],y=Qp.find(e=>e.id===a)||Qp[0],b=(0,Y.jsxs)(`div`,{className:`w-full ${t?`p-6 md:p-10`:`py-24 max-w-7xl mx-auto px-6 md:px-12`}`,id:`booking`,children:[!t&&(0,Y.jsxs)(`div`,{className:`flex flex-col items-center text-center mb-16 space-y-3`,children:[(0,Y.jsx)(cm,{label:`[ Reserve Your Experience ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Book Appointment`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80 max-w-md`,children:`Select your preferred treatment, master stylist, and appointment time.`})]}),(0,Y.jsx)(`div`,{className:`bg-white/80 backdrop-blur-md border border-white p-6 md:p-12 shadow-2xl max-w-3xl mx-auto`,children:h?(0,Y.jsxs)(cp.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:`text-center py-12 space-y-4`,children:[(0,Y.jsx)(`div`,{className:`w-16 h-16 bg-[#48120E] text-[#F6EFE5] rounded-full flex items-center justify-center mx-auto`,children:(0,Y.jsx)(kp,{size:32,className:`text-[#B82020]`})}),(0,Y.jsx)(`h3`,{className:`text-3xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Appointment Confirmed!`}),(0,Y.jsxs)(`p`,{className:`text-[#48120E]/80 max-w-md mx-auto text-sm leading-relaxed`,children:[`Thank y
20ou, `,(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:p.name}),`. We've reserved your slot for`,` `,(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:y.title}),` on`,` `,(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:l}),` at`,` `,(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:d}),`.`]}),(0,Y.jsx)(`div`,{className:`pt-4`,children:(0,Y.jsx)($,{variant:`primary`,onClick:()=>{g(!1),i(1),n&&n()},children:`Book Another Appointment`})})]}):(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between border-b border-[#48120E]/10 pb-6 mb-8 text-xs uppercase font-bold tracking-wider`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 ${r>=1?`text-[#48120E]`:`text-[#48120E]/40`}`,children:[(0,Y.jsx)(`span`,{className:`w-6 h-6 rounded-full flex items-center justify-center text-xs ${r>=1?`bg-[#48120E] text-[#F6EFE5]`:`bg-[#48120E]/10`}`,children:`1`}),(0,Y.jsx)(`span`,{children:`Select Service`})]}),(0,Y.jsx)(Ep,{size:14,className:`text-[#48120E]/30`}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 ${r>=2?`text-[#48120E]`:`text-[#48120E]/40`}`,children:[(0,Y.jsx)(`span`,{className:`w-6 h-6 rounded-full flex items-center justify-center text-xs ${r>=2?`bg-[#48120E] text-[#F6EFE5]`:`bg-[#48120E]/10`}`,children:`2`}),(0,Y.jsx)(`span`,{children:`Stylist & Date`})]}),(0,Y.jsx)(Ep,{size:14,className:`text-[#48120E]/30`}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 ${r>=3?`text-[#48120E]`:`text-[#48120E]/40`}`,children:[(0,Y.jsx)(`span`,{className:`w-6 h-6 rounded-full flex items-center justify-center text-xs ${r>=3?`bg-[#48120E] text-[#F6EFE5]`:`bg-[#48120E]/10`}`,children:`3`}),(0,Y.jsx)(`span`,{children:`Details`})]})]}),r===1&&(0,Y.jsxs)(cp.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:`space-y-4`,children:[(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Choose Treatment`}),(0,Y.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-3 max-h-[360px] overflow-y-auto pr-1`,children:Qp.map(e=>{let t=a===e.id;return(0,Y.jsxs)(`div`,{onClick:()=>o(e.id),className:`p-4 border cursor-pointer transition-all ${t?`border-[#48120E] bg-[#F6EFE5] shadow-md`:`border-white/80 bg-white/50 hover:border-[#48120E]/30`}`,children:[(0,Y.jsxs)(`div`,{className:`flex justify-between items-start mb-1`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-wider text-[#B82020]`,children:e.category}),(0,Y.jsx)(`span`,{className:`text-xs font-extrabold text-[#48120E]`,children:e.price})]}),(0,Y.jsx)(`h4`,{className:`font-bold text-sm text-[#48120E]`,children:e.title}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-[10px] text-[#48120E]/60 mt-2`,children:[(0,Y.jsx)(Ap,{size:11}),(0,Y.jsx)(`span`,{children:e.duration})]})]},e.id)})}),(0,Y.jsx)(`div`,{className:`flex justify-end pt-4 border-t border-[#48120E]/10`,children:(0,Y.jsx)($,{variant:`primary`,onClick:()=>i(2),children:`Continue`})})]}),r===2&&(0,Y.jsxs)(cp.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:`space-y-6`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-2`,children:`Select Stylist`}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-2 sm:grid-cols-5 gap-3`,children:[(0,Y.jsxs)(`div`,{onClick:()=>c(`any`),className:`p-3 border text-center cursor-pointer transition-all ${s===`any`?`border-[#48120E] bg-[#F6EFE5] shadow-sm`:`border-white/80 bg-white/50 hover:border-[#48120E]/30`}`,children:[(0,Y.jsx)(Kp,{size:18,className:`mx-auto mb-1 text-[#B82020]`}),(0,Y.jsx)(`div`,{className:`text-xs font-bold`,children:`Any Stylist`})]}),em.map(e=>(0,Y.jsxs)(`div`,{onClick:()=>c(e.name),className:`p-3 border text-center cursor-pointer transition-all ${s===e.name?`border-[#48120E] bg-[#F6EFE5] shadow-sm`:`border-white/80 bg-white/50 hover:border-[#48120E]/30`}`,children:[(0,Y.jsx)(`img`,{src:e.image,alt:e.name,className:`w-8 h-8 rounded-full object-cover mx-auto mb-1 border border-[#48120E]/20`}),(0,Y.jsx)(`div`,{className:`text-xs font-bold truncate`,children:e.name.split(` `)[0]})]},e.id))]})]}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-4`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-2 flex items-center gap-1.5`,children:[(0,Y.jsx)(Cp,{size:14}),` Date`]}),(0,Y.jsx)(`input`,{type:`date`,value:l,min:`2026-08-25`,onChange:e=>u(e.target.value),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-2.5 text-sm text-[#48120E] focu
20s:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-2 flex items-center gap-1.5`,children:[(0,Y.jsx)(Ap,{size:14}),` Time`]}),(0,Y.jsx)(`div`,{className:`grid grid-cols-4 gap-2`,children:v.map(e=>(0,Y.jsx)(`button`,{type:`button`,onClick:()=>f(e),className:`py-1.5 text-[11px] font-bold border transition-all ${d===e?`border-[#48120E] bg-[#48120E] text-[#F6EFE5]`:`border-[#48120E]/20 bg-white/60 text-[#48120E] hover:border-[#48120E]`}`,children:e},e))})]})]}),(0,Y.jsxs)(`div`,{className:`flex justify-between pt-4 border-t border-[#48120E]/10`,children:[(0,Y.jsx)($,{variant:`outline`,onClick:()=>i(1),children:`Back`}),(0,Y.jsx)($,{variant:`primary`,onClick:()=>i(3),children:`Continue`})]})]}),r===3&&(0,Y.jsx)(cp.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},children:(0,Y.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),g(!0),dm({particleCount:100,spread:70,origin:{y:.6},colors:[`#B82020`,`#48120E`,`#F6EFE5`,`#FFFFFF`]})},className:`space-y-4`,children:[(0,Y.jsxs)(`div`,{className:`bg-[#F6EFE5] p-4 border border-[#48120E]/10 text-xs flex justify-between`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[#48120E]/60 block`,children:`Selected:`}),(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:y.title})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[#48120E]/60 block`,children:`Date & Time:`}),(0,Y.jsxs)(`strong`,{className:`text-[#48120E]`,children:[l,` @ `,d]})]})]}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-3`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1`,children:`Full Name *`}),(0,Y.jsx)(`input`,{type:`text`,required:!0,placeholder:`e.g. Jessica Miller`,value:p.name,onChange:e=>m({...p,name:e.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-3 py-2 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1`,children:`Email *`}),(0,Y.jsx)(`input`,{type:`email`,required:!0,placeholder:`e.g. [email protected]`,value:p.email,onChange:e=>m({...p,email:e.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-3 py-2 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{className:`sm:col-span-2`,children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1`,children:`Phone *`}),(0,Y.jsx)(`input`,{type:`tel`,required:!0,placeholder:`e.g. (631) 555-0199`,value:p.phone,onChange:e=>m({...p,phone:e.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-3 py-2 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]})]}),(0,Y.jsxs)(`div`,{className:`flex justify-between pt-4 border-t border-[#48120E]/10`,children:[(0,Y.jsx)($,{variant:`outline`,onClick:()=>i(2),children:`Back`}),(0,Y.jsx)($,{variant:`dark`,type:`submit`,children:`Confirm Booking`})]})]})})]})})]});return t?(0,Y.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm`,children:(0,Y.jsxs)(`div`,{className:`relative w-full max-w-3xl`,children:[(0,Y.jsx)(`button`,{onClick:n,className:`absolute top-4 right-4 z-10 w-8 h-8 flex items-center justify-center bg-[#48120E] text-[#F6EFE5] font-bold rounded-none hover:bg-[#B82020] transition-colors`,children:`✕`}),b]})}):b},pm=()=>{let[e,t]=(0,_.useState)(0);return(0,Y.jsx)(`div`,{className:`w-full h-[520px] md:h-[600px] flex flex-col md:flex-row gap-3 overflow-hidden`,children:[{id:0,title:`Holistic Smoothing`,tag:`Oway Hstraighten`,description:`Transformation without harsh chemicals. Biodynamic smoothing that eliminates frizz and restores internal structure.`,image:`https://framerusercontent.com/images/OnSwV1YDaG5Ok2gtY00xImYnY.png`,link:`/services/holistic-smoothing-hair-healing-ritual`},{id:1,title:`Air Touch Balayage`,tag:`Seamless Blonde`,description:`Airflow separation technique delivering an ultra-soft sun-kissed blend that grows out cleanly for 6-9 months.`,image:`https://framerusercontent.com/images/ZBDZcbzyvdw2iJfBpNvzyxV7YQ.jpg`,link:`/services/air-touch-balayage`},{id:2,title:`Organic Color & Depth`,tag:`Non-Toxic Tints`,description:`100% ammonia-free organic grey coverage and multi-tonal dimensional glossing infused with essential oils.`,image:`https://framerusercontent.com/images/xascXqaqXoSidWFDv80MuTOR0.jpg`,link:`/services/full-color`},{id:3,title:`Precision Haircuts`,tag:`Custom Sculpting`,description:`Architectural haircuts sculpted to fit your natural texture, face geometry, and daily lifestyle.`,image:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`,link:`/services/womens-wash-cut-and-blow-dry`}].map((n,r)=>{let i=e===r;return(0,Y.jsxs)(cp.div,{onClick:()=>t(r),onMouseEnter:()=>t(r),className:`relative cursor-pointer overflow-hidden rounded-none flex-1 transition-all duration-500 ease-out`,style:{flex:i?3.5:1},children:[(0,Y.jsx)(`img`,{src:n.image,alt:n.title,className:`absolute inset-0 w-full h-full object-cover object-center transform transition-transform duration-700 scale-105`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 transition-opacity duration-300 ${i?`bg-gradient-to-t from-black/85 via-black/35 to-black/10`:`bg-black/55 hover:bg-black/45`}`}),(0,Y.jsx)(`div`,{className:`absolute top-6 left-6 z-10`,children:(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#F6EFE5] bg-black/40 backdrop-blur-sm border border-white/20 px-3 py-1`,children:n.tag})}),(0,Y.jsxs)(`div`,{className:`absolute bottom-0 left-0 right-0 p-6 md:p-8 z-10 text-[#F6EFE5]`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Y.jsx)(`h3`,{className:`text-xl md:text-2xl font-extrabold uppercase tracking-tight text-[#F6EFE5]`,children:n.title}),i&&(0,Y.jsx)(k,{to:n.link,className:`w-9 h-9 bg-white text-[#48120E] flex items-center justify-center hover:bg-[#849673] hover:text-white transition-colors`,children:(0,Y.jsx)(xp,{size:18})})]}),i?(0,Y.jsx)(cp.p,{initial:{opacity:0,y:10}
20,animate:{opacity:1,y:0},transition:{duration:.3},className:`text-xs md:text-sm text-[#F6EFE5]/80 mt-2 max-w-md`,children:n.description}):(0,Y.jsx)(`p`,{className:`text-[11px] text-[#F6EFE5]/60 mt-1 uppercase tracking-wider hidden md:block`,children:`Click to explore`})]})]},n.id)})})},mm=({number:e,problemTitle:t,problemDesc:n,solutionTitle:r,solutionDesc:i})=>{let[a,o]=(0,_.useState)(`solution`);return(0,Y.jsxs)(`div`,{className:`bg-white/75 backdrop-blur-sm border border-white p-6 md:p-8 flex flex-col justify-between h-full group hover:shadow-xl transition-all duration-300`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between pb-6 border-b border-[#48120E]/10`,children:[(0,Y.jsx)(`span`,{className:`font-display text-2xl md:text-3xl font-extrabold text-[#48120E]/30 group-hover:text-[#48120E] transition-colors`,children:e}),(0,Y.jsxs)(`div`,{className:`flex bg-[#F6EFE5] p-1 border border-[#48120E]/10`,children:[(0,Y.jsx)(`button`,{onClick:()=>o(`problem`),className:`px-3 py-1 text-[11px] font-bold uppercase tracking-wider transition-all ${a===`problem`?`bg-[#48120E] text-[#F6EFE5]`:`text-[#48120E]/60 hover:text-[#48120E]`}`,children:`The Concern`}),(0,Y.jsx)(`button`,{onClick:()=>o(`solution`),className:`px-3 py-1 text-[11px] font-bold uppercase tracking-wider transition-all ${a===`solution`?`bg-[#849673] text-white`:`text-[#48120E]/60 hover:text-[#48120E]`}`,children:`Organic Solution`})]})]}),(0,Y.jsx)(`div`,{className:`pt-6`,children:a===`problem`?(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.2},className:`space-y-3`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-[#48120E]/70 text-xs uppercase font-bold tracking-wider`,children:[(0,Y.jsx)(Dp,{size:15,className:`text-[#48120E]/80`}),(0,Y.jsx)(`span`,{children:`Hair Frustration`})]}),(0,Y.jsx)(`h3`,{className:`text-2xl font-bold uppercase tracking-tight text-[#48120E]`,children:t}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 leading-relaxed`,children:n})]}):(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.2},className:`space-y-3`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-[#849673] text-xs uppercase font-bold tracking-wider`,children:[(0,Y.jsx)(kp,{size:15,className:`text-[#849673]`}),(0,Y.jsx)(`span`,{children:`Bloom Botanical Protocol`})]}),(0,Y.jsx)(`h3`,{className:`text-2xl font-bold uppercase tracking-tight text-[#48120E]`,children:r}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/80 leading-relaxed`,children:i})]})})]}),(0,Y.jsxs)(`div`,{className:`pt-8 mt-6 border-t border-[#48120E]/10 flex items-center justify-between text-xs font-bold uppercase tracking-wider text-[#48120E]/60`,children:[(0,Y.jsx)(`span`,{children:`Clean & Non-Toxic`}),(0,Y.jsxs)(`button`,{onClick:()=>o(a===`problem`?`solution`:`problem`),className:`flex items-center gap-1 text-[#48120E] hover:text-[#849673] transition-colors`,children:[a===`problem`?`See Solution`:`View Concern`,` `,(0,Y.jsx)(bp,{size:12})]})]})]})},hm=({onBookService:e})=>{let[t,n]=(0,_.useState)(0),r=Qp[t]||Qp[0];return(0,Y.jsxs)(`div`,{className:`w-full`,children:[(0,Y.jsx)(`div`,{className:`flex items-center gap-2 overflow-x-auto pb-4 mb-8 scrollbar-none border-b border-[#48120E]/15`,children:Qp.slice(0,6).map((e,r)=>(0,Y.jsxs)(`button`,{onClick:()=>n(r),className:`px-5 py-3 text-xs uppercase font-bold tracking-wider whitespace-nowrap transition-all flex items-center gap-2 border ${t===r?`bg-[#48120E] text-[#F6EFE5] border-[#48120E] shadow-sm`:`bg-white/50 text-[#48120E]/70 border-white hover:bg-white hover:text-[#48120E]`}`,children:[(0,Y.jsxs)(`span`,{className:`text-[10px] opacity-60`,children:[`0`,r+1]}),(0,Y.jsx)(`span`,{children:e.title})]},e.id))}),(0,Y.jsx)(_d,{mode:`wait`,children:(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.3},className:`bg-white/80 backdrop-blur-md border border-white p-6 md:p-12 shadow-xl grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-center`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-7 space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-widest text-[#B82020] bg-[#B82020]/10 px-3 py-1 border border-[#B82020]/20`,children:r.category}),(0,Y.jsx)(`span`,{className:`text-sm font-extrabold text-[#48120E] bg-[#F6EFE5] px-3 py-1 border border-[#48120E]/15`,children:r.price}),(0,Y.jsxs)(`span`,{className:`text-xs text-[#48120E]/60 flex items-center gap-1`,children:[(0,Y.jsx)(Ap,{size:13}),` `,r.duration]})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h3`,{className:`text-3xl md:text-5xl font-extrabold uppercase tracking-tight text-[#48120E] leading-none mb-4`,children:r.title}),(0,Y.jsx)(`p`,{className:`text-base text-[#48120E]/80 leading-relaxed max-w-xl`,children:r.shortDe
20scription})]}),(0,Y.jsxs)(`div`,{className:`pt-2`,children:[(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-wider text-[#48120E]/60 block mb-3`,children:`Signature 3-Step Flow`}),(0,Y.jsx)(`div`,{className:`grid grid-cols-3 gap-3`,children:r.steps.map((e,t)=>(0,Y.jsxs)(`div`,{className:`p-3 bg-[#F6EFE5]/80 border border-[#48120E]/10 flex flex-col items-center text-center gap-2`,children:[(0,Y.jsx)(`img`,{src:e.iconUrl,alt:e.title,className:`w-6 h-6 object-contain`,onError:e=>{e.target.style.display=`none`}}),(0,Y.jsx)(`span`,{className:`text-xs font-bold text-[#48120E] leading-tight`,children:e.title})]},t))})]}),(0,Y.jsxs)(`div`,{className:`space-y-2 border-t border-[#48120E]/10 pt-4`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-xs text-[#48120E]/80`,children:[(0,Y.jsx)(wp,{size:14,className:`text-[#B82020]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Formulation:`}),` `,r.products]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-xs text-[#48120E]/80`,children:[(0,Y.jsx)(wp,{size:14,className:`text-[#B82020]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Complimentary:`}),` `,r.includes]})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-xs text-[#48120E]/80`,children:[(0,Y.jsx)(Wp,{size:14,className:`text-[#B82020]`}),(0,Y.jsxs)(`span`,{children:[(0,Y.jsx)(`strong`,{children:`Availability:`}),` `,r.availability]})]})]}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 pt-4`,children:[(0,Y.jsx)($,{variant:`dark`,onClick:()=>{if(e)e(r.id);else{let e=document.getElementById(`booking`);e&&e.scrollIntoView({behavior:`smooth`})}},children:`Book This Service`}),(0,Y.jsxs)(k,{to:`/services/${r.slug}`,className:`inline-flex items-center gap-1.5 text-xs font-bold uppercase tracking-wider text-[#48120E] hover:text-[#B82020] transition-colors py-3 px-4 bg-[#F6EFE5] border border-[#48120E]/10`,children:[`Full Details `,(0,Y.jsx)(bp,{size:14})]})]})]}),(0,Y.jsx)(`div`,{className:`lg:col-span-5 relative`,children:(0,Y.jsxs)(`div`,{className:`relative aspect-[4/5] overflow-hidden border-2 border-white shadow-2xl`,children:[(0,Y.jsx)(`img`,{src:r.coverImage,alt:r.title,className:`w-full h-full object-cover object-center`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent`}),(0,Y.jsx)(`div`,{className:`absolute bottom-4 left-4 right-4 bg-white/90 backdrop-blur-sm p-4 border border-white`,children:(0,Y.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest font-bold text-[#B82020] block`,children:`Client Transformation`}),(0,Y.jsx)(`span`,{className:`text-sm font-extrabold uppercase text-[#48120E]`,children:r.title})]}),(0,Y.jsx)(Kp,{size:18,className:`text-[#48120E]`})]})})]})})]},r.id)})]})},gm=()=>{let[e,t]=(0,_.useState)(400),[n,r]=(0,_.useState)(80);return(0,_.useEffect)(()=>{let e=setInterval(()=>{t(e=>e<550?e+5:550)},30),n=setInterval(()=>{r(e=>e<99?e+1:99)},40);return()=>{clearInterval(e),clearInterval(n)}},[]),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5`,children:[(0,Y.jsxs)(`div`,{className:`relative bg-[#48120E] text-[#F6EFE5] p-8 overflow-hidden min-h-[380px] flex flex-col justify-end group`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`,alt:`Crafted with passion`,className:`absolute inset-0 w-full h-full object-cover object-center opacity-40 group-hover:scale-105 transition-transform duration-700`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-[#48120E] via-[#48120E]/40 to-transparent`}),(0,Y.jsxs)(`div`,{className:`relative z-10 space-y-3`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-extrabold tracking-widest text-[#B82020] bg-white/10 px-3 py-1 inline-block`,children:`Artistry & Precision`}),(0,Y.jsx)(`h3`,{className:`text-2xl md:text-3xl font-extrabold uppercase tracking-tight leading-tight`,children:`Crafted With Passion`}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#F6EFE5]/80 max-w-xs`,children:`Precision, passion, & genuine expertise in every single appointment al
20ways.`})]})]}),(0,Y.jsxs)(`div`,{className:`lg:col-span-2 relative bg-white/70 backdrop-blur-sm border border-white p-8 overflow-hidden flex flex-col justify-between min-h-[280px]`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-md relative z-10`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#B82020] bg-[#B82020]/10 px-2.5 py-1 inline-block border border-[#B82020]/20`,children:`Formulations`}),(0,Y.jsx)(`h3`,{className:`text-2xl md:text-3xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Pure Products`}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#48120E]/80`,children:`Only professional-grade brands trusted by top stylists worldwide for results.`}),(0,Y.jsx)(`div`,{className:`flex flex-wrap gap-2 pt-3`,children:[`Hydrating`,`Salon Grade`,`Nourishing`].map(e=>(0,Y.jsx)(`span`,{className:`text-[11px] font-bold uppercase tracking-wider px-3 py-1 bg-[#F6EFE5] border border-[#48120E]/15 text-[#48120E]`,children:e},e))})]}),(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/JLhaZrelp56AZEpvoeS5QVPj7Q.png`,alt:`Pure products bottle`,className:`absolute -right-6 -bottom-6 w-48 md:w-64 object-contain opacity-80 pointer-events-none`})]}),(0,Y.jsxs)(`div`,{className:`bg-white/70 backdrop-blur-sm border border-white p-8 flex flex-col justify-between min-h-[280px]`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-center -space-x-4 py-4`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/12GP0R6Gl2Iqcu4iiSYRaGleo.png`,alt:`Client look`,className:`w-16 h-20 object-cover border-2 border-white shadow-md transform -rotate-6`}),(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/yiRXBNSpE3Ir4Ta43C21JO11pA.png`,alt:`Client look`,className:`w-18 h-22 object-cover border-2 border-white shadow-lg z-10`}),(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/NnAQuBr73KMjVswESbHZlzKyHMc.jpg`,alt:`Client look`,className:`w-16 h-20 object-cover border-2 border-white shadow-md transform rotate-6`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`div`,{className:`font-display text-4xl md:text-5xl font-extrabold text-[#48120E] tracking-tight`,children:[e,`+`]}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/70 mt-1 font-medium`,children:`Signature styles completed by our expert team each & every month`})]})]}),(0,Y.jsxs)(`div`,{className:`relative bg-[#48120E] text-[#F6EFE5] p-8 overflow-hidden flex flex-col items-center justify-center text-center min-h-[280px]`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/j5nZhool4xsbtWAdLKYoUl04qk.png`,alt:`Bloom emblem background`,className:`absolute inset-0 w-full h-full object-cover opacity-30`}),(0,Y.jsxs)(`div`,{className:`relative z-10`,children:[(0,Y.jsx)(`span`,{className:`font-display text-3xl md:text-4xl font-extrabold uppercase tracking-tighter block mb-2`,children:`Bloom`}),(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#F6EFE5]/70 border-t border-b border-[#F6EFE5]/20 py-1 px-4 inline-block`,children:`Haute Coiffure Studio`})]})]}),(0,Y.jsxs)(`div`,{className:`relative bg-white/70 backdrop-blur-sm border border-white p-8 overflow-hidden flex flex-col justify-between min-h-[280px]`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 relative z-10 max-w-xs`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#B82020] bg-[#B82020]/10 px-2.5 py-1 inline-block border border-[#B82020]/20`,children:`Aftercare`}),(0,Y.jsx)(`h3`,{className:`text-2xl md:text-3xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Care Continues`}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/80`,children:`Your hair journey continues at home with our expert recommendations always.`}),(0,Y.jsx)(`div`,{className:`flex flex-wrap gap-2 pt-2`,children:[`Maintain`,`Nourish`,`Elevate`].map(e=>(0,Y.jsx)(`span`,{className:`text-[10px] font-bold uppercase tracking-wider px-2.5 py-1 bg-[#F6EFE5] border border-[#48120E]/15 text-[#48120E]`,children:e},e))})]}),(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/1z6VeaAVMfdvmGYYix7ugTnpSg.png`,alt:`Care product`,className:`absolute -right-4 -bottom-4 w-44 md:w-56 object-contain opacity-80 pointer-events-none`})]}),(0,Y.jsxs)(`div`,{className:`bg-white/70 backdrop-blur-sm border border-white p-8 flex flex-col justify-between min-h-[280px]`,children:[(0,Y.jsx)(`div`,{className:`flex items-center -space-x-3 py-2`,children:[`https://framerusercontent.com/images/gbJgVGvkzvUjmvgVd4LzO10j3A.png`,`https://framerusercontent.com/images/xbvP8Gn7DNUpnkAtGWmCR9VnY.png`,`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`,`https://framerusercontent.com/images/Ik3Bswoh6GtFMsis0ncNr7lhk3s.png`,`https://framerusercontent.com/images/yiRXBNSpE3Ir4Ta43C21JO11pA.png`].map((e,t)=>(0,Y.jsx)(`img`,{src:e,alt:`Client avatar`,className:`w-11 h-11 rounded-full object-cover border-2 border-white shadow-sm`},t))}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`div`,{className:`font-display text-4xl md:text-5xl font-extrabold text-[#48120E] tracking-tight`,children:[n,`%`]}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/70 mt-1 font-medium`,children:`Client satisfaction rate across every service we have ever offered.`})]})]})]})},_m=()=>{let[e,t]=(0,_.useState)(!0),[n,r]=(0,_.useState)(!0);return(0,Y.jsxs)(`div`,{className:`relative w-full h-[65vh] md:h-[80vh] overflow-hidden bg-black flex items-center justify-center`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`,alt:`Bloom Studio Atmosphere`,className:`absolute inset-0 w-full h-full object-cover object-center transition-opacity duration-700 ${e?`scale-105 transition-transform duration-1000`:`scale-100`}`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/85 via-black/45 to-black/35`}),(0,Y.jsxs)(`div`,{className:`relative z-10 text-center text-white px-6 max-w-3xl space-y-4`,children:[(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-3 py-1 bg-white/10 backdrop-blur-md border border-white/20 text-white text-xs uppercase tracking-widest font-bold`,children:[(0,Y.jsx)(Kp,{size:13,className:`text-[#849673]`}),(0,Y.jsx)(`span`,{children:`The Bloom Organic Sanctuary`})]}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-6xl font-extrabold uppercase tracking-tight leading-none text-[#F6EFE5]`,children:`A Sanctuary For Hair, Body & Spirit`}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#F6EFE5]/80 max-w-lg mx-auto leading-relaxed`,children:`Step into our Huntington atelier where unhurried consultations, organic botanical aromas, and master organic artistry meet.`}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center justify-center gap-4 pt-4`,children:[(0,Y.jsx)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`px-6 py-3 bg-[#849673] text-white text-xs uppercase font-extrabold tracking-wider hover:bg-[#728362] transition-colors shadow-lg`,children:`Book Experience on Vagaro ↗`}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Y.jsx)(`button`,{onClick:()=>t(!e),className:`w-11 h-11 rounded-full bg-white/20 backdrop-blur-md border border-white/40 text-white flex items-center justify-center hover:bg-white hover:text-[#48120E] transition-all active:scale-95`,"aria-label":e?`Pause atmosphere`:`Play atmosphere`,children:e?(0,Y.jsx)(Rp,{size:16}):(0,Y.jsx)(Bp,{size:16,className:`ml-0.5`})}),(0,Y.jsx)(`button`,{onClick:()=>r(!n),className:`w-11 h-11 rounded-full bg-white/20 backdrop-blur-md border border-white/40 text-white flex items-center justify-center hover:bg-white hover:text-[#48120E] transition-all active:scale-95`,"aria-label":n?`Unmute`:`Mute`,children:n?(0,Y.jsx)(Yp,{size:16}):(0,Y.jsx)(Jp,{size:16})})]})]})]})]})},vm=()=>{let[e,t]=(0,_.useState)(0),n=()=>{t(e=>(e+1)%tm.length)},r=()=>{t(e=>(e-1+tm.length)%tm.length)},i=tm[e];return(0,Y.jsx)(`div`,{className:`w-full`,children:(0,Y.jsxs)(`div`,{className:`bg-white/80 backdrop-blur-md border border-white p-8 md:p-14 shadow-xl relative overflow-hidden`,children:[(0,Y.jsx)(Hp,{className:`absolute right-8 top-8 w-24 h-24 text-[#48120E]/5 pointer-events-none`}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-8 items-center relative z-10`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-4 flex flex-col items-center lg:items-start text-center lg:text-left space-y-4`,children:[(0,Y.jsx)(`img`,{src:i.image,alt:i.name,className:`w-24 h-24 md:w-32 md:h-32 rounded-full object-cover border-4 border-white shadow-lg`}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`text-xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:i.name}),(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-wider text-[#B82020] block mt-0.5`,children:i.service}),(0,Y.jsxs)(`span`,{className:`text-xs text-[#48120E]/50 block mt-1`,children:[`Verified Client • `,i.date]})]}),(0,Y.jsx)(`div`,{className:`flex items-center gap-1`,children:[...Array(i.rating)].map((e,t)=>(0,Y.jsx)(qp,{size:16,className:`fill-[#B82020] text-[#B82020]`},t))})]}),(0,Y.jsxs)(`div`,{className:`lg:col-span-8 space-y-6`,children:[(0,Y.jsx)(_d,{mode:`wait`,children:(0,Y.jsxs)(cp.blockquote,{initial:{opacity:0,x:20}
20,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:`text-lg md:text-2xl text-[#48120E] font-medium leading-relaxed italic`,children:[`"`,i.text,`"`]},i.id)}),(0,Y.jsxs)(`div`,{className:`flex items-center justify-between pt-6 border-t border-[#48120E]/10`,children:[(0,Y.jsx)(`div`,{className:`flex items-center gap-2`,children:tm.map((n,r)=>(0,Y.jsx)(`button`,{onClick:()=>t(r),"aria-label":`Go to slide ${r+1}`,className:`h-1.5 transition-all ${e===r?`w-8 bg-[#48120E]`:`w-2 bg-[#48120E]/20`}`},r))}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Y.jsx)(`button`,{onClick:r,"aria-label":`Previous testimonial`,className:`p-3 bg-[#F6EFE5] border border-[#48120E]/15 hover:bg-[#48120E] hover:text-[#F6EFE5] text-[#48120E] transition-colors`,children:(0,Y.jsx)(Tp,{size:18})}),(0,Y.jsx)(`button`,{onClick:n,"aria-label":`Next testimonial`,className:`p-3 bg-[#F6EFE5] border border-[#48120E]/15 hover:bg-[#48120E] hover:text-[#F6EFE5] text-[#48120E] transition-colors`,children:(0,Y.jsx)(Ep,{size:18})})]})]})]})]})]})})},ym=()=>{let[e,t]=(0,_.useState)(0),n=[{number:`01`,title:`In-Depth Consultation & Texture Analysis`,short:`Consultation & Mapping`,icon:Kp,description:`We begin every appointment with a dedicated conversation. We evaluate your hair porosity, natural growth patterns, scalp condition, and styling habits before ever picking up shears or mixing formula.`,features:[`Facial structure & undertone mapping`,`Lifestyle & styling routine evaluation`,`Trans
20parent pricing & time expectation`],image:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`},{number:`02`,title:`Bespoke Technique & Clean Execution`,short:`Precision Crafting`,icon:Up,description:`Using world-class techniques honed across international academies, our stylists execute your haircut, balayage, or smoothing treatment with uncompromising precision and hair health protection.`,features:[`Section-by-section master application`,`Premium bond-protecting salon formulas`,`Zero rushing, full focused attention`],image:`https://framerusercontent.com/images/ZBDZcbzyvdw2iJfBpNvzyxV7YQ.jpg`},{number:`03`,title:`Signature Finish & At-Home Regimen`,short:`Finish & Guidance`,icon:Gp,description:`We complete your visit with our signature blowout finish, revealing the multidimensional depth and silky movement. Before you leave, we map out your exact home maintenance routine.`,features:[`Camera-ready blowout & thermal styling`,`Custom product prescription for longevity`,`Scheduled seamless touch-up plan`],image:`https://framerusercontent.com/images/bUi003WuBy99ULWcYF4aZYeQ.png`}];return(0,Y.jsxs)(`div`,{className:`w-full`,children:[(0,Y.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-4 mb-8`,children:n.map((n,r)=>{let i=e===r,a=n.icon;return(0,Y.jsxs)(`button`,{onClick:()=>t(r),className:`p-6 text-left border transition-all duration-300 flex items-start justify-between ${i?`bg-[#48120E] text-[#F6EFE5] border-[#48120E] shadow-lg`:`bg-white/60 backdrop-blur-sm text-[#48120E] border-white hover:bg-white`}`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`span`,{className:`text-xs uppercase font-extrabold tracking-widest block mb-2 ${i?`text-[#B82020]`:`text-[#48120E]/50`}`,children:[`Step `,n.number]}),(0,Y.jsx)(`h4`,{className:`text-lg font-bold uppercase tracking-tight`,children:n.short})]}),(0,Y.jsx)(a,{size:20,className:i?`text-[#F6EFE5]`:`text-[#48120E]/40`})]},n.number)})}),(0,Y.jsx)(_d,{mode:`wait`,children:(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:`bg-white/80 backdrop-blur-md border border-white p-8 md:p-12 shadow-xl grid grid-cols-1 lg:grid-cols-12 gap-8 items-center`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-7 space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Y.jsx)(`span`,{className:`font-display text-4xl font-extrabold text-[#B82020]`,children:n[e].number}),(0,Y.jsx)(`div`,{className:`h-6 w-[1px] bg-[#48120E]/20`}),(0,Y.jsx)(`span`,{className:`text-xs uppercase tracking-widest font-bold text-[#48120E]/60`,children:`Process Milestone`})]}),(0,Y.jsx)(`h3`,{className:`text-2xl md:text-4xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:n[e].title}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80 leading-relaxed max-w-xl`,children:n[e].description}),(0,Y.jsx)(`div`,{className:`space-y-3 pt-2`,children:n[e].features.map((e,t)=>(0,Y.jsxs)(`div`,{className:`flex items-center gap-3 text-xs md:text-sm font-semibold text-[#48120E]`,children:[(0,Y.jsx)(Op,{size:16,className:`text-[#B82020] flex-shrink-0`}),(0,Y.jsx)(`span`,{children:e})]},t))})]}),(0,Y.jsx)(`div`,{className:`lg:col-span-5`,children:(0,Y.jsxs)(`div`,{className:`relative aspect-[4/3] overflow-hidden border-2 border-white shadow-lg`,children:[(0,Y.jsx)(`img`,{src:n[e].image,alt:n[e].title,className:`w-full h-full object-cover object-center`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/50 to-transparent`}),(0,Y.jsxs)(`div`,{className:`absolute bottom-4 left-4 right-4 text-white`,children:[(0,Y.jsxs)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#F6EFE5]/80 block`,children:[`Step `,n[e].number,` In Action`]}),(0,Y.jsx)(`span`,{className:`text-sm font-bold uppercase`,children:n[e].short})]})]})})]},e)})]})},bm=()=>{let[e,t]=(0,_.useState)(0),n=n=>{t(e===n?null:n)};return(0,Y.jsx)(`div`,{className:`w-full max-w-4xl mx-auto space-y-4`,children:nm.map((t,r)=>{let i=e===r;return(0,Y.jsxs)(`div`,{className:`border transition-all duration-200 overflow-hidden ${i?`bg-white/90 border-[#48120E]/20 shadow-md`:`bg-white/60 border-white hover:border-[#48120E]/20`}`,children:[(0,Y.jsxs)(`button`,{onClick:()=>n(r),className:`w-full px-6 py-5 text-left flex items-center justify-between gap-4 select-none`,children:[(0,Y.jsx)(`span`,{className:`text-base md:text-lg font-bold text-[#48120E] uppercase tracking-tight`,children:t.question}),(0,Y.jsx)(`div`,{className:`w-8 h-8 rounded-none flex items-center justify-center flex-shrink-0 transition-colors ${i?`bg-[#48120E] text-[#F6EFE5]`:`bg-[#F6EFE5] text-[#48120E]`}`,children:i?(0,Y.jsx)(Lp,{size:16}):(0,Y.jsx)(Vp,{size:16})})]}),(0,Y.jsx)(_d,{initial:!1,children:i&&(0,Y.jsx)(cp.div,{initial:{height:0,opacity:0}
20,animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{duration:.25},children:(0,Y.jsx)(`div`,{className:`px-6 pb-6 pt-2 text-sm text-[#48120E]/80 leading-relaxed border-t border-[#48120E]/5`,children:t.answer})})})]},r)})})},xm=()=>{let[e,t]=(0,_.useState)(null);return(0,Y.jsxs)(`div`,{className:`w-full`,children:[(0,Y.jsx)(`div`,{className:`grid grid-cols-2 md:grid-cols-4 gap-4`,children:rm.map((e,n)=>(0,Y.jsxs)(`div`,{onClick:()=>t(e.url),className:`group relative aspect-[3/4] overflow-hidden bg-black/5 cursor-pointer border border-white/80`,children:[(0,Y.jsx)(`img`,{src:e.url,alt:e.caption,className:`w-full h-full object-cover object-center group-hover:scale-105 transition-transform duration-500`}),(0,Y.jsxs)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex flex-col justify-end p-4 text-[#F6EFE5]`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-extrabold tracking-widest text-[#B82020] block mb-1`,children:`Transformation`}),(0,Y.jsx)(`span`,{className:`text-xs font-bold uppercase leading-tight`,children:e.caption}),(0,Y.jsx)(`div`,{className:`absolute top-3 right-3 p-1.5 bg-black/40 text-white rounded-none`,children:(0,Y.jsx)(Fp,{size:14})})]})]},n))}),(0,Y.jsx)(_d,{children:e&&(0,Y.jsxs)(cp.div,{initial:{opacity:0}
20,animate:{opacity:1},exit:{opacity:0},className:`fixed inset-0 z-50 bg-black/90 backdrop-blur-md flex items-center justify-center p-4`,onClick:()=>t(null),children:[(0,Y.jsx)(`button`,{onClick:()=>t(null),className:`absolute top-6 right-6 text-white p-2 hover:text-[#B82020] transition-colors`,children:(0,Y.jsx)(Xp,{size:28})}),(0,Y.jsx)(`img`,{src:e,alt:`Enlarged view`,className:`max-h-[85vh] max-w-[90vw] object-contain border-2 border-white/20`,onClick:e=>e.stopPropagation()})]})})]})},Sm=()=>(0,Y.jsx)(`div`,{className:`w-full overflow-hidden py-8 border-y border-[#48120E]/10 bg-white/30 backdrop-blur-xs`,children:(0,Y.jsx)(`div`,{className:`animate-marquee flex items-center gap-12 whitespace-nowrap`,children:[...im,...im,...im].map((e,t)=>(0,Y.jsxs)(`div`,{className:`flex items-center gap-12`,children:[(0,Y.jsx)(`span`,{className:`font-display text-sm md:text-base font-extrabold uppercase tracking-widest text-[#48120E]/70 hover:text-[#48120E] transition-colors select-none`,children:e}),(0,Y.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-[#B82020]`})]},t))})}),Cm=({onOpenBooking:e})=>(0,Y.jsxs)(`div`,{className:`w-full`,children:[(0,Y.jsxs)(`section`,{className:`relative min-h-screen w-full flex items-center pt-28 pb-16 overflow-hidden`,children:[(0,Y.jsxs)(`div`,{className:`absolute inset-0 z-0`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/PC4iC5riUtDaAZildAdHgRXg0.png`,alt:`Bloom Hair Model`,className:`w-full h-full object-cover object-right-top md:object-center opacity-85`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-[#F6EFE5] via-[#F6EFE5]/75 to-transparent md:w-3/4`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-[#F6EFE5] via-transparent to-transparent`})]}),(0,Y.jsxs)(`div`,{className:`relative z-10 max-w-7xl mx-auto px-6 md:px-12 w-full flex flex-col lg:flex-row items-start lg:items-end justify-between gap-12 pt-8`,children:[(0,Y.jsxs)(`div`,{className:`max-w-xl space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-2 bg-white/60 backdrop-blur-sm border border-white px-3 py-1 text-xs uppercase font-bold tracking-wider text-[#48120E]`,children:[(0,Y.jsx)(`span`,{className:`bg-[#48120E] text-[#F6EFE5] px-2 py-0.5 font-extrabold text-[10px]`,children:`#01`}),(0,Y.jsx)(`span`,{children:`Premium Hair Salon`})]}),(0,Y.jsx)(`h1`,{className:`text-6xl md:text-8xl lg:text-9xl font-display font-extrabold tracking-tighter uppercase text-[#48120E] leading-none`,children:`Bloom`}),(0,Y.jsx)(`p`,{className:`text-base md:text-lg text-[#48120E]/80 max-w-md font-medium leading-relaxed`,children:`Premium hair artistry tailored entirely to your texture, lifestyle, face shape, and the exact look you have always wanted.`}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 pt-2`,children:[(0,Y.jsx)($,{variant:`primary`,to:`/#services`,onClick:()=>{let e=document.getElementById(`services`);e&&e.scrollIntoView({behavior:`smooth`})},children:`Explore Services`}),(0,Y.jsx)($,{variant:`secondary`,to:`/contact`,children:`Contact`})]})]}),(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:`w-full sm:w-80 bg-white/80 backdrop-blur-md border border-white p-5 shadow-2xl space-y-3`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between text-[11px] uppercase font-bold tracking-wider`,children:[(0,Y.jsx)(`span`,{className:`text-[#B82020]`,children:`Signature Trend`}),(0,Y.jsx)(`span`,{className:`text-[#48120E]/60`,children:`$400.00`})]}),(0,Y.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/OnSwV1YDaG5Ok2gtY00xImYnY.png`,alt:`Holistic Smoothing`,className:`w-14 h-14 object-cover border border-[#48120E]/15`}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`font-bold text-sm text-[#48120E] uppercase leading-tight`,children:`Holistic Smoothing`}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/70 line-clamp-1`,children:`Oway organic hair healing ritual`})]})]}),(0,Y.jsxs)(`div`,{className:`pt-2 border-t border-[#48120E]/10 flex items-center justify-between`,children:[(0,Y.jsx)(`span`,{className:`text-[11px] font-semibold text-[#48120E]/70`,children:`Duration: 2.5 hrs`}),(0,Y.jsxs)(k,{to:`/services/holistic-smoothing-hair-healing-ritual`,className:`text-xs font-bold uppercase text-[#48120E] hover:text-[#B82020] flex items-center gap-1 transition-colors`,children:[`View `,(0,Y.jsx)(bp,{size:12})]})]})]})]})]}),(0,Y.jsx)(Sm,{}),(0,Y.jsxs)(`section`,{className:`py-24 max-w-7xl mx-auto px-6 md:px-12`,id:`about`,children:[(0,Y.jsxs)(`div`,{className:`text-center max-w-2xl mx-auto mb-16 space-y-4`,children:[(0,Y.jsxs)(`div`,{className:`inline-flex items-center gap-3 bg-white/50 backdrop-blur-sm border border-white px-4 py-2`,children:[(0,Y.jsx)(`div`,{className:`flex items-center gap-1`,children:[...[,,,,,]].map((e,t)=>(0,Y.jsx)(qp,{size:14,className:`fill-[#B82020] text-[#B82020]`},t))}),(0,Y.jsx)(`span`,{className:`text-xs font-bold uppercase tracking-wider text-[#48120E]`,children:`4.9/5 (986+ Reviews)`})]}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-5xl font-extrabold uppercase tracking-tight text-[#48120E] leading-tight`,children:`Master stylists. Premium products. Zero compromise. This is what great hair actually looks like.`}),(0,Y.jsx)(`div`,{className:`pt-2`,children:(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Appointment`})})]}),(0,Y.jsx)(pm,{})]}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`solutions`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ problems + solution ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Solutions`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Real hair problems deserve real solutions — not temporary fixes, but lasting results that transform how you feel.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Now`})]}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-6`,children:[(0,Y.jsx)(mm,{number:`01`,problemTitle:`Frizzy Hair`,problemDesc:`Hair that constantly looks dry, puffy, and impossible to control in humid weather.`,solutionTitle:`Frizz Control`,solutionDesc:`We smooth and seal your hair using deep protein and hydration treatments for months of manageability.`}),(0,Y.jsx)(mm,{number:`02`,problemTitle:`Damaged Hair`,problemDesc:`Hair that feels weak, brittle, and looks completely dull always from previous processing.`,solutionTitle:`Hair Repair`,
20solutionDesc:`We rebuild and restore your hair disulfide bonds completely from the inside out using luxury formulas.`}),(0,Y.jsx)(mm,{number:`03`,problemTitle:`Thinning Hair`,problemDesc:`Hair that lacks volume and looks painfully flat, lifeless, and limp throughout the day.`,solutionTitle:`Add Volume`,solutionDesc:`We restore fullness with architectural precision cuts, density treatments, and seamless extensions.`})]})]})}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`services`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ What We Offer ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Services`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Six signature services, each carefully crafted to give you results that genuinely last, impress, and keep you coming back.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Now`})]}),(0,Y.jsx)(hm,{onBookService:t=>e(t)})]})}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`why-us`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ benefits ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Why Us?`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Elevate your hair with bespoke styling, premium products, and unmatched luxury salon care.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Now`})]}),(0,Y.jsx)(gm,{})]})}),(0,Y.jsx)(_m,{}),(0,Y.jsxs)(`section`,{className:`py-24 max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col items-center text-center mb-16 space-y-3`,children:[(0,Y.jsx)(cm,{label:`[ Client Stories ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`What They Say`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80 max-w-md`,children:`Read genuine reflections from clients who trust Bloom with their signature look.`})]}),(0,Y.jsx)(vm,{})]}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`process`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ How It Works ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Process`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Every Bloom appointment follows a simple three step process designed entirely around you and your hair.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Now`})]}),(0,Y.jsx)(ym,{})]})}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`gallery`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ Bloom Portfolio ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Transformations`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Explore a curation of recent cuts, colors, and styling executed in our atelier.`})]}),(0,Y.jsxs)(k,{to:`/services`,className:`text-xs uppercase font-bold tracking-wider text-[#48120E] hover:text-[#B82020] flex items-center gap-1 transition-colors`,children:[`Explore All Services `,(0,Y.jsx)(xp,{size:14})]})]}),(0,Y.jsx)(xm,{})]})}),(0,Y.jsxs)(`section`,{className:`py-24 max-w-7xl mx-auto px-6 md:px-12 border-t border-[#48120E]/10`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col items-center text-center mb-16 space-y-3`,children:[(0,Y.jsx)(cm,{label:`[ FAQs ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Frequently Asked`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80 max-w-md`,children:`Everything you need to know about preparing for and enjoying your salon visit.`})]}),(0,Y.jsx)(bm,{})]}),(0,Y.jsx)(`section`,{className:`bg-white/40 border-t border-[#48120E]/10`,children:(0,Y.jsx)(fm,{})})]}),wm=({onOpenBooking:e})=>(0,Y.jsxs)(`div`,{className:`w-full pt-28 pb-20`,children:[(0,Y.jsxs)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12 pb-20`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col lg:flex-row items-start lg:items-end justify-between gap-8 mb-12`,children:[(0,Y.jsxs)(`div`,{className:`max-w-2xl space-y-4`,children:[(0,Y.jsx)(cm,{label:`[ Who We Are ]`}),(0,Y.jsx)(`h1`,{className:`text-5xl md:text-7xl lg:text-8xl font-display font-extrabold uppercase tracking-tight text-[#48120E] leading-none`,children:`About Us`}),(0,Y.jsx)(`p`,{className:`text-base md:text-xl text-[#48120E]/80 max-w-xl font-medium leading-relaxed`,children:`Bloom was built for people who take their hair seriously and expect nothing less than exceptional every time.`}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 pt-4`,children:[(0,Y.jsx)($,{variant:`primary`,to:`/services`,children:`Explore Services`}),(0,Y.jsx)($,{variant:`secondary`,to:`/contact`,children:`Contact Us`})]})]}),(0,Y.jsxs)(`div`,{className:`hidden lg:flex items-center gap-2 text-xs uppercase font-bold tracking-widest text-[#48120E]/60 pb-2`,children:[(0,Y.jsx)(`span`,{children:`Scroll Down`}),(0,Y.jsx)(vp,{size:14,className:`animate-bounce`})]})]}),(0,Y.jsxs)(`div`,{className:`relative w-full h-[50vh] md:h-[65vh] overflow-hidden border-2 border-white shadow-2xl`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/NiL0SX0kLedju1ABwyyXqvhTpx4.png`,alt:`Bloom Atelier`,className:`w-full h-full object-cover object-center`}),(0,Y.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/60 via-trans
20parent to-transparent`}),(0,Y.jsxs)(`div`,{className:`absolute bottom-8 left-8 right-8 text-[#F6EFE5] flex flex-col md:flex-row md:items-end justify-between gap-4`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-widest text-[#B82020] block mb-1`,children:`Atelier Philosophy`}),(0,Y.jsx)(`h3`,{className:`text-2xl md:text-3xl font-extrabold uppercase tracking-tight`,children:`Where Science Meets Architectural Artistry`})]}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#F6EFE5]/80 max-w-md`,children:`Located in Huntington, NY, our light-filled studio is dedicated to bespoke hair rituals and restorative hair health.`})]})]})]}),(0,Y.jsx)(Sm,{}),(0,Y.jsxs)(`section`,{className:`py-24 max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`text-center max-w-2xl mx-auto mb-16 space-y-3`,children:[(0,Y.jsx)(cm,{label:`[ Our Journey ]`}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-5xl font-extrabold uppercase tracking-tight text-[#48120E] leading-tight`,children:`The numbers tell the story of a studio that has never stopped caring about the people it serves.`})]}),(0,Y.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6`,children:[{number:`12+`,label:`Years Serving`,desc:`Over a decade of setting industry standards in hair design.`},{number:`30K+`,label:`Happy Clients`,desc:`Loyal clients across New York, London, and international cities.`},{number:`10+`,label:`Expert Stylists`,desc:`Master artisans with specialized certifications and training.`},{number:`99%`,label:`Client Retention`,desc:`Clients who return month after month for their signature looks.`}].map((e,t)=>(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:`bg-white/70 backdrop-blur-sm border border-white p-8 flex flex-col justify-between h-72 group hover:shadow-xl hover:bg-white transition-all duration-300`,children:[(0,Y.jsx)(`span`,{className:`font-display text-5xl md:text-6xl font-extrabold text-[#48120E] group-hover:text-[#B82020] transition-colors`,children:e.number}),(0,Y.jsxs)(`div`,{className:`space-y-1`,children:[(0,Y.jsx)(`h4`,{className:`text-base font-extrabold uppercase tracking-tight text-[#48120E]`,children:e.label}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/70 leading-relaxed`,children:e.desc})]})]},t))})]}),(0,Y.jsx)(`section`,{className:`py-24 bg-[#F6EFE5] border-t border-[#48120E]/10`,id:`team`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-end justify-between gap-6 mb-16`,children:[(0,Y.jsxs)(`div`,{className:`space-y-3 max-w-xl`,children:[(0,Y.jsx)(cm,{label:`[ The Stylists ]`}),(0,Y.jsx)(`h2`,{className:`text-4xl md:text-6xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Our Team`}),(0,Y.jsx)(`p`,{className:`text-sm md:text-base text-[#48120E]/80`,children:`Our team is built on talent, training, and a genuine passion for delivering exceptional hair results every time.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:e,children:`Book With A Master`})]}),(0,Y.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6`,children:em.map(e=>(0,Y.jsxs)(`div`,{className:`bg-white/80 backdrop-blur-sm border border-white overflow-hidden group hover:shadow-xl transition-all duration-300 flex flex-col justify-between`,children:[(0,Y.jsxs)(`div`,{className:`relative aspect-[3/4] overflow-hidden`,children:[(0,Y.jsx)(`img`,{src:e.image,alt:e.name,className:`w-full h-full object-cover object-center group-hover:scale-105 transition-transform duration-500`}),(0,Y.jsx)(`div`,{className:`absolute top-4 right-4 bg-white/90 px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-widest text-[#48120E]`,children:e.experience})]}),(0,Y.jsxs)(`div`,{className:`p-6 space-y-3`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:e.name}),(0,Y.jsx)(`p`,{className:`text-xs uppercase font-bold text-[#B82020] mt-0.5`,children:e.role})]}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/70 leading-relaxed`,children:e.bio}),(0,Y.jsx)(`div`,{className:`pt-2 border-t border-[#48120E]/10`,children:(0,Y.jsxs)(`span`,{className:`text-[11px] font-semibold text-[#48120E]/80 block`,children:[(0,Y.jsx)(`strong`,{children:`Focus:`}),` `,e.specialty]})})]})]},e.id))})]})}),(0,Y.jsx)(`section`,{className:`py-24 max-w-7xl mx-auto px-6 md:px-12 border-t border-[#48120E]/10`,children:(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-8`,children:[(0,Y.jsxs)(`div`,{className:`p-8 bg-white/60 border border-white space-y-4`,children:[(0,Y.jsx)(Sp,{className:`text-[#B82020]`,size:28}),(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Continuous Mastery`}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 leading-relaxed`,children:`Every stylist undergoes quarterly international training with master educators to master evolving techniques.`})]}),(0,Y.jsxs)(`div`,{className:`p-8 bg-white/60 border border-white space-y-4`,children:[(0,Y.jsx)(Wp,{className:`text-[#B82020]`,size:28}),(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Pure & Protective Care`}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 leading-relaxed`,children:`We exclusively utilize high-grade, cruelty-free formulas that protect the internal keratin matrix.`})]}),(0,Y.jsxs)(`div`,{className:`p-8 bg-white/60 border border-white space-y-4`,children:[(0,Y.jsx)(Mp,{className:`text-[#B82020]`,size:28}),(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Tailored Consultation`}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 leading-relaxed`,children:`We reject one-size-fits-all cuts. Every silhouette is calibrated to harmonize with your lifestyle.`})]})]})})]}),Tm=({onOpenBooking:e})=>{let[t,n]=(0,_.useState)(`All`),r=t===`All`?Qp:Qp.filter(e=>e.category===t);return(0,Y.jsxs)(`div`,{className:`w-full pt-28 pb-20`,children:[(0,Y.jsxs)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12 pb-12`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-col lg:flex-row items-start lg:items-end justify-between gap-8 mb-12`,children:[(0,Y.jsxs)(`div`,{className:`max-w-2xl space-y-4`,children:[(0,Y.jsx)(cm,{label:`[ What We Offer ]`}),(0,Y.jsx)(`h1`,{className:`text-5xl md:text-7xl lg:text-8xl font-display font-extrabold uppercase tracking-tight text-[#48120E] leading-none`,children:`Services`}),(0,Y.jsx)(`p`,{className:`text-base md:text-xl text-[#48120E]/80 max-w-xl font-medium leading-relaxed`,children:`Every service at Bloom is a personalised experience designed around your hair type, goals, and lifestyle always.`})]}),(0,Y.jsx)($,{variant:`dark`,onClick:()=>e(),children:`Book Consultation`})]}),(0,Y.jsx)(`div`,{className:`flex items-center gap-2 overflow-x-auto pb-4 scrollbar-none border-b border-[#48120E]/15`,children:$p.map(e=>(0,Y.jsx)(`button`,{onClick:()=>n(e),className:`px-5 py-2.5 text-xs uppercase font-bold tracking-wider whitespace-nowrap transition-all border ${t===e?`bg-[#48120E] text-[#F6EFE5] border-[#48120E]`:`bg-white/50 text-[#48120E]/70 border-white hover:bg-white hover:text-[#48120E]`}`,children:e},e))})]}),(0,Y.jsx)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12 py-12`,children:(0,Y.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8`,children:(0,Y.jsx)(_d,{children:r.map((t,n)=>(0,Y.jsxs)(cp.div,{initial:{opacity:0,y:20}
20,animate:{opacity:1,y:0},exit:{opacity:0,scale:.95},transition:{duration:.3,delay:n*.05},className:`bg-white/80 backdrop-blur-sm border border-white overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300 flex flex-col justify-between group`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`div`,{className:`relative aspect-[16/10] overflow-hidden bg-black/5`,children:[(0,Y.jsx)(`img`,{src:t.coverImage,alt:t.title,className:`w-full h-full object-cover object-center group-hover:scale-105 transition-transform duration-500`}),(0,Y.jsx)(`div`,{className:`absolute top-4 left-4 bg-white/90 backdrop-blur-sm px-3 py-1 text-[10px] uppercase font-extrabold tracking-widest text-[#B82020]`,children:t.category}),(0,Y.jsx)(`div`,{className:`absolute bottom-4 right-4 bg-[#48120E] text-[#F6EFE5] px-3 py-1 text-xs font-bold`,children:t.price})]}),(0,Y.jsxs)(`div`,{className:`p-6 md:p-8 space-y-4`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center justify-between text-xs text-[#48120E]/60`,children:[(0,Y.jsxs)(`span`,{className:`flex items-center gap-1 font-semibold`,children:[(0,Y.jsx)(Ap,{size:13}),` `,t.duration]}),(0,Y.jsx)(`span`,{children:t.includes})]}),(0,Y.jsx)(`h3`,{className:`text-2xl font-extrabold uppercase tracking-tight text-[#48120E] group-hover:text-[#B82020] transition-colors`,children:t.title}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#48120E]/70 leading-relaxed line-clamp-3`,children:t.shortDescription}),(0,Y.jsxs)(`div`,{className:`pt-2 border-t border-[#48120E]/10`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-wider text-[#48120E]/50 block mb-2`,children:`Execution Flow`}),(0,Y.jsx)(`div`,{className:`flex items-center justify-between bg-[#F6EFE5]/60 p-2 border border-[#48120E]/10`,children:t.steps.map((e,t)=>(0,Y.jsxs)(`div`,{className:`flex items-center gap-1 text-[11px] font-bold text-[#48120E]`,children:[(0,Y.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-[#B82020]`}),(0,Y.jsx)(`span`,{className:`truncate`,children:e.title})]},t))})]})]})]}),(0,Y.jsxs)(`div`,{className:`p-6 md:p-8 pt-0 border-t border-[#48120E]/10 mt-4 flex items-center justify-between`,children:[(0,Y.jsxs)(k,{to:`/services/${t.slug}`,className:`text-xs uppercase font-bold tracking-wider text-[#48120E] hover:text-[#B82020] flex items-center gap-1 transition-colors`,children:[`Service Info `,(0,Y.jsx)(bp,{size:13})]}),(0,Y.jsx)($,{variant:`dark`,className:`text-xs px-4 py-2`,onClick:()=>e(t.id),children:`Book Now`})]})]},t.id))})})}),(0,Y.jsx)(Sm,{})]})},Em=({onOpenBooking:e})=>{let{slug:t}=bt(),n=vt(),r=Qp.find(e=>e.slug===t);return r?(0,Y.jsxs)(`div`,{className:`w-full pt-28 pb-20`,children:[(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12 py-4`,children:[(0,Y.jsxs)(`div`,{className:`flex items-center gap-2 text-xs uppercase font-bold tracking-wider text-[#48120E]/60 mb-6`,children:[(0,Y.jsx)(k,{to:`/`,className:`hover:text-[#48120E] transition-colors`,children:`Home`}),(0,Y.jsx)(Ep,{size:12}),(0,Y.jsx)(k,{to:`/services`,className:`hover:text-[#48120E] transition-colors`,children:`Services`}),(0,Y.jsx)(Ep,{size:12}),(0,Y.jsx)(`span`,{className:`text-[#48120E]`,children:r.title})]}),(0,Y.jsxs)(`button`,{onClick:()=>n(-1),className:`inline-flex items-center gap-2 text-xs uppercase font-bold tracking-wider text-[#48120E] hover:text-[#849673] transition-colors`,children:[(0,Y.jsx)(yp,{size:14}),` Back to Catalog`]})]}),(0,Y.jsx)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12 py-6`,children:(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-12 items-start`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-7 space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3`,children:[(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-widest text-[#849673] bg-[#849673]/10 px-3 py-1 border border-[#849673]/30`,children:r.category}),(0,Y.jsx)(`span`,{className:`text-base font-extrabold text-[#48120E] bg-[#F6EFE5] px-3.5 py-1 border border-[#48120E]/15`,children:r.price}),r.affirmText&&(0,Y.jsx)(`span`,{className:`text-xs font-semibold text-[#48120E]/80 bg-white px-3 py-1 border border-[#48120E]/10`,children:r.affirmText})]}),(0,Y.jsx)(`h1`,{className:`text-4xl md:text-6xl lg:text-7xl font-display font-extrabold uppercase tracking-tight text-[#48120E] leading-none`,children:r.title}),(0,Y.jsx)(`p`,{className:`text-base md:text-lg text-[#48120E]/85 leading-relaxed font-medium`,children:r.shortDe
20scription}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-2 sm:grid-cols-4 gap-4 p-6 bg-white/75 backdrop-blur-sm border border-white`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold text-[#48120E]/50 block`,children:`Duration`}),(0,Y.jsx)(`span`,{className:`text-sm font-bold text-[#48120E]`,children:r.duration})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold text-[#48120E]/50 block`,children:`Includes`}),(0,Y.jsx)(`span`,{className:`text-sm font-bold text-[#48120E]`,children:r.includes})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold text-[#48120E]/50 block`,children:`Formulas`}),(0,Y.jsx)(`span`,{className:`text-sm font-bold text-[#48120E] truncate block`,children:r.products})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold text-[#48120E]/50 block`,children:`Availability`}),(0,Y.jsx)(`span`,{className:`text-sm font-bold text-[#48120E]`,children:r.availability})]})]}),(0,Y.jsxs)(`div`,{className:`pt-2 flex flex-wrap items-center gap-4`,children:[(0,Y.jsxs)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`py-4 px-8 text-xs md:text-sm uppercase font-extrabold tracking-wider bg-[#849673] text-white hover:bg-[#728362] transition-colors shadow-lg flex items-center gap-2`,children:[(0,Y.jsx)(`span`,{children:`Book on Vagaro`}),(0,Y.jsx)(jp,{size:15})]}),(0,Y.jsxs)($,{variant:`dark`,className:`py-4 px-8 text-xs md:text-sm`,onClick:()=>e(r.id),children:[`Reserve In-Studio (`,r.price,`)`]}),(0,Y.jsxs)(`a`,{href:`tel:${Zp.phoneRaw}`,className:`inline-flex items-center gap-1.5 text-xs font-bold uppercase tracking-wider text-[#48120E] py-4 px-4 bg-[#F6EFE5] border border-[#48120E]/15 hover:bg-white`,children:[(0,Y.jsx)(zp,{size:13,className:`text-[#849673]`}),` Call (631) 470-9439`]})]})]}),(0,Y.jsx)(`div`,{className:`lg:col-span-5`,children:(0,Y.jsxs)(`div`,{className:`relative aspect-[4/5] overflow-hidden border-2 border-white shadow-2xl`,children:[(0,Y.jsx)(`img`,{src:r.coverImage,alt:r.title,className:`w-full h-full object-cover object-center`}),(0,Y.jsxs)(`div`,{className:`absolute bottom-4 left-4 right-4 bg-white/90 backdrop-blur-sm p-4 border border-white`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-extrabold tracking-widest text-[#849673] block`,children:`Bloom Organic Hair Studio`}),(0,Y.jsxs)(`span`,{className:`text-sm font-bold uppercase text-[#48120E]`,children:[r.title,` • Huntington, NY`]})]})]})})]})}),(0,Y.jsx)(`section`,{className:`py-20 max-w-7xl mx-auto px-6 md:px-12 border-t border-[#48120E]/10`,children:(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-12 items-center`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-4`,children:[(0,Y.jsx)(cm,{label:`[ Treatment Overview ]`,className:`mb-4`}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:r.aboutTitle})]}),(0,Y.jsx)(`div`,{className:`lg:col-span-8`,children:(0,Y.jsx)(`div`,{className:`text-base md:text-lg text-[#48120E]/80 leading-relaxed space-y-4`,dangerouslySetInnerHTML:{__html:r.aboutText}})})]})}),(0,Y.jsx)(`section`,{className:`py-20 bg-white/40 border-y border-[#48120E]/10`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:[(0,Y.jsxs)(`div`,{className:`text-center max-w-xl mx-auto mb-16 space-y-2`,children:[(0,Y.jsx)(cm,{label:`[ Execution Protocol ]`}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`The 3-Step Mindful Experience`})]}),(0,Y.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-6`,children:r.steps.map((e,t)=>(0,Y.jsxs)(`div`,{className:`p-8 bg-white/80 border border-white shadow-sm flex flex-col items-center text-center space-y-4`,children:[(0,Y.jsx)(`div`,{className:`w-14 h-14 rounded-full bg-[#F6EFE5] border border-[#48120E]/15 flex items-center justify-center`,children:(0,Y.jsx)(`img`,{src:e.iconUrl,alt:e.title,className:`w-7 h-7 object-contain`,onError:e=>{e.target.style.display=`none`}})}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsxs)(`span`,{className:`text-[10px] uppercase font-extrabold tracking-widest text-[#849673] block mb-1`,children:[`Phase 0`,t+1]}),(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:e.title})]})]},t))})]})}),(0,Y.jsx)(`section`,{className:`py-20 max-w-7xl mx-auto px-6 md:px-12`,children:(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-12`,children:[(0,Y.jsxs)(`div`,{className:`lg:col-span-5 space-y-4`,children:[(0,Y.jsx)(cm,{label:`[ What's Included ]`}),(0,Y.jsx)(`h2`,{className:`text-3xl md:text-5xl font-extrabold uppercase tracking-tight text-[#48120E] leading-tight`,children:r.whatIncludedTitle}),(0,Y.jsx)(`div`,{className:`text-sm text-[#48120E]/75 leading-relaxed pt-2`,dangerouslySetInnerHTML:{__html:r.whatIncludedText}}),(0,Y.jsxs)(`div`,{className:`p-4 bg-[#849673]/10 border border-[#849673]/30 text-xs text-[#48120E] space-y-2 mt-4`,children:[(0,Y.jsx)(`strong`,{className:`block text-sm font-bold uppercase`,children:`Bloom Studio Guarantee`}),(0,Y.jsx)(`span`,{children:`Always non-toxic, gentle on the scalp, and executed by certified master stylists.`})]})]}),(0,Y.jsx)(`div`,{className:`lg:col-span-7 space-y-4`,children:r.bulletPoints.map((e,t)=>(0,Y.jsxs)(`div`,{className:`p-6 bg-white/75 backdrop-blur-sm border border-white flex items-start gap-4`,children:[(0,Y.jsxs)(`div`,{className:`w-8 h-8 rounded-full bg-[#48120E] text-[#F6EFE5] flex items-center justify-center flex-shrink-0 text-xs font-extrabold`,children:[`0`,t+1]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`h4`,{className:`text-base font-bold uppercase tracking-tight text-[#48120E]`,children:e.title}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#48120E]/70 mt-1 leading-relaxed`,children:e.subt
20itle})]})]},t))})]})}),(0,Y.jsx)(`section`,{className:`py-16 bg-[#48120E] text-[#F6EFE5]`,children:(0,Y.jsxs)(`div`,{className:`max-w-7xl mx-auto px-6 md:px-12 flex flex-col md:flex-row items-center justify-between gap-8 text-center md:text-left`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`span`,{className:`text-xs uppercase font-bold tracking-widest text-[#849673] block mb-1`,children:`Ready For Your Transformation?`}),(0,Y.jsxs)(`h3`,{className:`text-2xl md:text-4xl font-extrabold uppercase tracking-tight`,children:[`Book `,r.title,` (`,r.price,`)`]}),(0,Y.jsx)(`p`,{className:`text-xs md:text-sm text-[#F6EFE5]/75 mt-1`,children:`723 West Jericho Turnpike, Huntington NY • Free Parking • Walk-ins Welcome`})]}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4`,children:[(0,Y.jsx)(`a`,{href:Zp.vagaroUrl,target:`_blank`,rel:`noreferrer`,className:`px-8 py-4 bg-[#849673] hover:bg-[#728362] text-white text-xs font-extrabold uppercase tracking-wider transition-colors shadow-lg`,children:`Book on Vagaro ↗`}),(0,Y.jsx)($,{variant:`secondary`,onClick:()=>e(r.id),children:`Reserve In-Studio`})]})]})}),(0,Y.jsx)(Sm,{})]}):(0,Y.jsxs)(`div`,{className:`min-h-screen pt-36 pb-20 max-w-7xl mx-auto px-6 text-center`,children:[(0,Y.jsx)(`h2`,{className:`text-4xl font-extrabold uppercase text-[#48120E] mb-4`,children:`Service Not Found`}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 mb-6`,children:`The service you requested could not be located in our Bloom salon catalog.`}),(0,Y.jsx)($,{variant:`primary`,to:`/services`,children:`View All 31 Services`})]})},Dm=()=>{let[e,t]=(0,_.useState)({name:``,email:``,phone:``,service:Qp[0].title,message:``}),[n,r]=(0,_.useState)(!1);return(0,Y.jsxs)(`div`,{className:`w-full pt-28 pb-20`,children:[(0,Y.jsx)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12 pb-16`,children:(0,Y.jsxs)(`div`,{className:`max-w-2xl space-y-4`,children:[(0,Y.jsx)(cm,{label:`[ Get In Touch ]`}),(0,Y.jsx)(`h1`,{className:`text-5xl md:text-7xl lg:text-8xl font-display font-extrabold uppercase tracking-tight text-[#48120E] leading-none`,children:`Contact Us`}),(0,Y.jsx)(`p`,{className:`text-base md:text-xl text-[#48120E]/80 max-w-xl font-medium leading-relaxed`,children:`Have a question about a treatment, need a bespoke consultation, or looking to schedule a private event? Our concierge is at your service.`})]})}),(0,Y.jsx)(`section`,{className:`max-w-7xl mx-auto px-6 md:px-12`,children:(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-12 gap-12 items-start`,children:[(0,Y.jsx)(`div`,{className:`lg:col-span-7 bg-white/80 backdrop-blur-md border border-white p-8 md:p-12 shadow-xl`,children:n?(0,Y.jsxs)(cp.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:`text-center py-12 space-y-4`,children:[(0,Y.jsx)(`div`,{className:`w-16 h-16 bg-[#48120E] text-[#F6EFE5] rounded-full flex items-center justify-center mx-auto`,children:(0,Y.jsx)(kp,{size:32,className:`text-[#B82020]`})}),(0,Y.jsx)(`h3`,{className:`text-2xl font-extrabold uppercase tracking-tight text-[#48120E]`,children:`Message Received`}),(0,Y.jsxs)(`p`,{className:`text-sm text-[#48120E]/70 max-w-md mx-auto`,children:[`Thank you, `,(0,Y.jsx)(`strong`,{className:`text-[#48120E]`,children:e.name}),`. Our salon concierge will reach out via email or phone within 2 business hours.`]}),(0,Y.jsx)(`div`,{className:`pt-4`,children:(0,Y.jsx)($,{variant:`primary`,onClick:()=>{r(!1),t({name:``,email:``,phone:``,service:Qp[0].title,message:``})},children:`Send Another Inquiry`})})]}):(0,Y.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),r(!0),dm({particleCount:80,spread:60,origin:{y:.6},colors:[`#B82020`,`#48120E`,`#F6EFE5`]})},className:`space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`border-b border-[#48120E]/10 pb-4`,children:[(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Send A Message`}),(0,Y.jsx)(`p`,{className:`text-xs text-[#48120E]/60 mt-1`,children:`Fill out the form below and we will get back to you promptly.`})]}),(0,Y.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 gap-4`,children:[(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1.5`,children:`Your Name *`}),(0,Y.jsx)(`input`,{type:`text`,required:!0,placeholder:`e.g. Eleanor Vance`,value:e.name,onChange:n=>t({...e,name:n.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-3 text-sm text-[#48120E] focu
20s:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1.5`,children:`Email Address *`}),(0,Y.jsx)(`input`,{type:`email`,required:!0,placeholder:`e.g. [email protected]`,value:e.email,onChange:n=>t({...e,email:n.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-3 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1.5`,children:`Phone Number`}),(0,Y.jsx)(`input`,{type:`tel`,placeholder:`e.g. +1 (631) 470-9439`,value:e.phone,onChange:n=>t({...e,phone:n.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-3 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1.5`,children:`Interested Service`}),(0,Y.jsxs)(`select`,{value:e.service,onChange:n=>t({...e,service:n.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-3 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`,children:[Qp.slice(0,10).map(e=>(0,Y.jsxs)(`option`,{value:e.title,children:[e.title,` (`,e.price,`)`]},e.id)),(0,Y.jsx)(`option`,{value:`General Consultation`,children:`General Consultation`})]})]}),(0,Y.jsxs)(`div`,{className:`sm:col-span-2`,children:[(0,Y.jsx)(`label`,{className:`block text-xs uppercase font-bold tracking-wider text-[#48120E] mb-1.5`,children:`How can we help you? *`}),(0,Y.jsx)(`textarea`,{rows:4,required:!0,placeholder:`Tell us about your hair goals, bridal inquiries, or specific questions...`,value:e.message,onChange:n=>t({...e,message:n.target.value}),className:`w-full bg-white/70 border border-[#48120E]/20 px-4 py-3 text-sm text-[#48120E] focus:outline-none focus:border-[#48120E]`})]})]}),(0,Y.jsx)($,{variant:`dark`,type:`submit`,className:`w-full py-4 text-sm`,children:`Send Inquiry`})]})}),(0,Y.jsxs)(`div`,{className:`lg:col-span-5 space-y-6`,children:[(0,Y.jsxs)(`div`,{className:`bg-white/80 backdrop-blur-md border border-white p-8 space-y-6 shadow-md`,children:[(0,Y.jsx)(`h3`,{className:`text-xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Studio Atelier`}),(0,Y.jsxs)(`div`,{className:`space-y-4 text-sm text-[#48120E]/80`,children:[(0,Y.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,Y.jsx)(Pp,{className:`text-[#B82020] flex-shrink-0 mt-1`,size:18}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`strong`,{className:`block text-[#48120E]`,children:`Location`}),(0,Y.jsx)(`span`,{children:`723 West Jericho Turnpike`}),(0,Y.jsx)(`span`,{className:`block text-xs text-[#48120E]/60`,children:`Huntington, New York 11743`})]})]}),(0,Y.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,Y.jsx)(zp,{className:`text-[#B82020] flex-shrink-0 mt-1`,size:18}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`strong`,{className:`block text-[#48120E]`,children:`Telephone`}),(0,Y.jsx)(`a`,{href:`tel:+16314709439`,className:`hover:underline font-bold text-[#48120E]`,children:`(631) 470-9439`})]})]}),(0,Y.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,Y.jsx)(Np,{className:`text-[#B82020] flex-shrink-0 mt-1`,size:18}),(0,Y.jsxs)(`div`,{children:[(0,Y.jsx)(`strong`,{className:`block text-[#48120E]`,children:`Email Inquiries`}),(0,Y.jsx)(`a`,{href:`mailto:[email protected]`,className:`hover:underline text-[#48120E]`,children:`[email protected]`})]})]}),(0,Y.jsxs)(`div`,{className:`flex items-start gap-3 pt-2 border-t border-[#48120E]/10`,children:[(0,Y.jsx)(Ap,{className:`text-[#B82020] flex-shrink-0 mt-1`,size:18}),(0,Y.jsxs)(`div`,{className:`w-full`,children:[(0,Y.jsx)(`strong`,{className:`block text-[#48120E] mb-1`,children:`Hours of Operation`}),(0,Y.jsxs)(`div`,{className:`text-xs space-y-1`,children:[(0,Y.jsxs)(`div`,{className:`flex justify-between`,children:[(0,Y.jsx)(`span`,{children:`Tuesday – Friday:`}),(0,Y.jsx)(`span`,{className:`font-bold`,children:`9:30 AM – 7:00 PM`})]}),(0,Y.jsxs)(`div`,{className:`flex justify-between`,children:[(0,Y.jsx)(`span`,{children:`Saturday:`}),(0,Y.jsx)(`span`,{className:`font-bold`,children:`9:00 AM – 6:00 PM`})]}),(0,Y.jsxs)(`div`,{className:`flex justify-between`,children:[(0,Y.jsx)(`span`,{children:`Sunday & Monday:`}),(0,Y.jsx)(`span`,{className:`font-bold`,children:`Closed / By Request`})]})]})]})]})]})]}),(0,Y.jsxs)(`div`,{className:`relative aspect-[16/9] overflow-hidden border-2 border-white shadow-md bg-[#48120E] text-[#F6EFE5] p-6 flex flex-col justify-between`,children:[(0,Y.jsx)(`img`,{src:`https://framerusercontent.com/images/XlpRhVIEtKMtCrAkBDdPvsgAPnE.jpg`,alt:`Hu
20ntington Studio`,className:`absolute inset-0 w-full h-full object-cover opacity-20`}),(0,Y.jsxs)(`div`,{className:`relative z-10`,children:[(0,Y.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest text-[#B82020] block`,children:`Neighborhood`}),(0,Y.jsx)(`h4`,{className:`text-xl font-bold uppercase`,children:`Huntington Atelier`})]}),(0,Y.jsx)(`div`,{className:`relative z-10 text-xs text-[#F6EFE5]/70`,children:`Convenient on-site free parking on West Jericho Turnpike.`})]})]})]})})]})},Om=()=>(0,Y.jsx)(`div`,{className:`min-h-screen flex items-center justify-center pt-20 pb-20 px-6`,children:(0,Y.jsxs)(`div`,{className:`max-w-xl w-full text-center space-y-6 bg-white/70 backdrop-blur-md border border-white p-10 md:p-16 shadow-xl`,children:[(0,Y.jsx)(cm,{label:`[ 404 Error ]`}),(0,Y.jsx)(`h1`,{className:`text-7xl md:text-9xl font-display font-extrabold text-[#48120E] tracking-tighter`,children:`404`}),(0,Y.jsx)(`h2`,{className:`text-2xl font-bold uppercase tracking-tight text-[#48120E]`,children:`Page Not Found`}),(0,Y.jsx)(`p`,{className:`text-sm text-[#48120E]/70 max-w-md mx-auto`,children:`The page you are looking for might have been moved, renamed, or is temporarily unavailable.`}),(0,Y.jsxs)(`div`,{className:`flex flex-wrap justify-center gap-4 pt-4`,children:[(0,Y.jsx)($,{variant:`primary`,to:`/`,children:`Back To Home`}),(0,Y.jsx)($,{variant:`secondary`,to:`/services`,children:`View Services`})]})]})});function km(){let{pathname:e,hash:t}=ht();return(0,_.useEffect)(()=>{if(!t)window.scrollTo(0,0);else{let e=t.replace(`#`,``),n=document.getElementById(e);n&&n.scrollIntoView({behavior:`smooth`})}},[e,t]),null}function Am(){let[e,t]=(0,_.useState)(!1),[n,r]=(0,_.useState)(),i=e=>{r(e),t(!0)};return(0,Y.jsxs)(kn,{children:[(0,Y.jsx)(km,{}),(0,Y.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-[#F6EFE5] text-[#48120E] selection:bg-[#48120E] selection:text-[#F6EFE5]`,children:[(0,Y.jsx)(sm,{onOpenBooking:()=>i()}),(0,Y.jsx)(`main`,{className:`flex-grow`,children:(0,Y.jsxs)(Wt,{children:[(0,Y.jsx)(Ht,{path:`/`,element:(0,Y.jsx)(Cm,{onOpenBooking:i})}),(0,Y.jsx)(Ht,{path:`/about`,element:(0,Y.jsx)(wm,{onOpenBooking:()=>i()})}),(0,Y.jsx)(Ht,{path:`/services`,element:(0,Y.jsx)(Tm,{onOpenBooking:i})}),(0,Y.jsx)(Ht,{path:`/services/:slug`,element:(0,Y.jsx)(Em,{onOpenBooking:i})}),(0,Y.jsx)(Ht,{path:`/contact`,element:(0,Y.jsx)(Dm,{})}),(0,Y.jsx)(Ht,{path:`*`,element:(0,Y.jsx)(Om,{})})]})}),(0,Y.jsx)(lm,{}),e&&(0,Y.jsx)(fm,{isModal:!0,preselectedServiceId:n,onClose:()=>t(!1)})]})]})}(0,v.createRoot)(document.getElementById(`root`)).render((0,Y.jsx)(_.StrictMode,{children:(0,Y.jsx)(Am,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.