(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98183,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});function s(t){let e={};for(let[i,r]of t.entries()){let t=e[i];void 0===t?e[i]=r:Array.isArray(t)?t.push(r):e[i]=[t,r]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[i,r]of Object.entries(t))if(Array.isArray(r))for(let t of r)e.append(i,o(t));else e.set(i,o(r));return e}function l(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,r]of i.entries())t.append(e,r)}return t}},95057,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(90809)._(t.r(98183)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,r=t.protocol||"",n=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),t.slashes||(!r||o.test(r))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),n=n.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${r}${u}${n}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},18581,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=t.r(71645);function n(t,e){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let t=i.current;t&&(i.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(i.current=s(t,r)),e&&(n.current=s(e,r))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},18967,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return f},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return h},isAbsoluteUrl:function(){return l},isResSent:function(){return c},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return k}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,i=!1;return(...r)=>(i||(i=!0,e=t(...r)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>a.test(t);function u(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function h(){let{href:t}=window.location,e=u();return t.substring(e.length)}function d(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function c(t){return t.finished||t.headersSent}function p(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function m(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await m(e.Component,e.ctx)}:{};let r=await t.getInitialProps(e);if(i&&c(i))return r;if(!r)throw Object.defineProperty(Error(`"${d(t)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let f="undefined"!=typeof performance,g=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class y extends Error{}class v extends Error{}class x extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class b extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(t){return JSON.stringify({message:t.message,stack:t.stack})}},73668,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=t.r(18967),n=t.r(52817);function s(t){if(!(0,r.isAbsoluteUrl)(t))return!0;try{let e=(0,r.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,n.hasBasePath)(i.pathname)}catch(t){return!1}}},84508,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},22016,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return x}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(90809),o=t.r(43476),a=s._(t.r(71645)),l=t.r(95057),u=t.r(8372),h=t.r(18581),d=t.r(18967),c=t.r(5550);t.r(33525);let p=t.r(91949),m=t.r(73668),f=t.r(9396);function g(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}function y(e){var i;let r,n,s,[l,y]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,a.useRef)(null),{href:b,as:w,children:k,prefetch:T=null,passHref:P,replace:j,shallow:S,scroll:A,onClick:M,onMouseEnter:E,onTouchStart:C,legacyBehavior:V=!1,onNavigate:N,ref:R,unstable_dynamicOnHover:D,...L}=e;r=k,V&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let O=a.default.useContext(u.AppRouterContext),F=!1!==T,I=!1!==T?null===(i=T)||"auto"===i?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:B,as:z}=a.default.useMemo(()=>{let t=g(b);return{href:t,as:w?g(w):t}},[b,w]);if(V){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(r)}let U=V?n&&"object"==typeof n&&n.ref:R,$=a.default.useCallback(t=>(null!==O&&(x.current=(0,p.mountLinkInstance)(t,B,O,I,F,y)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(t)}),[F,B,O,I,y]),W={ref:(0,h.useMergedRef)($,U),onClick(e){V||"function"!=typeof M||M(e),V&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!O||e.defaultPrevented||function(e,i,r,n,s,o,l){if("undefined"!=typeof window){let u,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:d}=t.r(99781);a.default.startTransition(()=>{d(r||i,s?"replace":"push",o??!0,n.current)})}}(e,B,z,x,j,A,N)},onMouseEnter(t){V||"function"!=typeof E||E(t),V&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),O&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)},onTouchStart:function(t){V||"function"!=typeof C||C(t),V&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),O&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)(z)?W.href=z:V&&!P&&("a"!==n.type||"href"in n.props)||(W.href=(0,c.addBasePath)(z)),s=V?a.default.cloneElement(n,W):(0,o.jsx)("a",{...L,...W,children:r}),(0,o.jsx)(v.Provider,{value:l,children:s})}t.r(84508);let v=(0,a.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},75157,t=>{"use strict";let e=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),i=[],r=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let n=t[e],s=i.nextPart.get(n);if(s){let i=r(t,e+1,s);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t{let r=e();for(let e in t)s(t[e],r,e,i);return r},s=(t,e,i,r)=>{let n=t.length;for(let s=0;s{"string"==typeof t?a(t,e,i):"function"==typeof t?l(t,e,i,r):u(t,e,i,r)},a=(t,e,i)=>{(""===t?e:h(e,t)).classGroupId=i},l=(t,e,i,r)=>{d(t)?s(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},u=(t,e,i,r)=>{let n=Object.entries(t),o=n.length;for(let t=0;t{let r=t,n=i.split("-"),s=n.length;for(let t=0;t"isThemeGetter"in t&&!0===t.isThemeGetter,c=[],p=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),m=/\s+/,f=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r{let e=e=>e[t]||g;return e.isThemeGetter=!0,e},v=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,b=/^\d+\/\d+$/,w=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,T=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=t=>b.test(t),A=t=>!!t&&!Number.isNaN(Number(t)),M=t=>!!t&&Number.isInteger(Number(t)),E=t=>t.endsWith("%")&&A(t.slice(0,-1)),C=t=>w.test(t),V=()=>!0,N=t=>k.test(t)&&!T.test(t),R=()=>!1,D=t=>P.test(t),L=t=>j.test(t),O=t=>!I(t)&&!_(t),F=t=>Z(t,te,R),I=t=>v.test(t),B=t=>Z(t,ti,N),z=t=>Z(t,tr,A),U=t=>Z(t,Q,R),$=t=>Z(t,tt,L),W=t=>Z(t,ts,D),_=t=>x.test(t),Y=t=>J(t,ti),K=t=>J(t,tn),X=t=>J(t,Q),H=t=>J(t,te),G=t=>J(t,tt),q=t=>J(t,ts,!0),Z=(t,e,i)=>{let r=v.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},J=(t,e,i=!1)=>{let r=x.exec(t);return!!r&&(r[1]?e(r[1]):i)},Q=t=>"position"===t||"percentage"===t,tt=t=>"image"===t||"url"===t,te=t=>"length"===t||"size"===t||"bg-size"===t,ti=t=>"length"===t,tr=t=>"number"===t,tn=t=>"family-name"===t,ts=t=>"shadow"===t,to=((t,...e)=>{let s,o,a,l,u=t=>{let e=o(t);if(e)return e;let i=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(m),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:h,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}m=!1}let g=0===h.length?"":1===h.length?h[0]:s(h).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=n(f,m);for(let t=0;t0?" "+l:l)}return l})(t,s);return a(t,i),i};return l=h=>{var d;let m;return o=(s={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((d=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;as?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):p(c,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(d),sortModifiers:(m=new Map,d.orderSensitiveModifiers.forEach((t,e)=>{m.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return n(i,e)})(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let n=t.split("-"),s=+(""===n[0]&&n.length>1);return r(n,s,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=o[t],r=s[t];if(e){if(r){let t=Array(r.length+e.length);for(let e=0;el(((...t)=>{let e,i,r=0,n="";for(;r{let t=y("color"),e=y("font"),i=y("text"),r=y("font-weight"),n=y("tracking"),s=y("leading"),o=y("breakpoint"),a=y("container"),l=y("spacing"),u=y("radius"),h=y("shadow"),d=y("inset-shadow"),c=y("text-shadow"),p=y("drop-shadow"),m=y("blur"),f=y("perspective"),g=y("aspect"),v=y("ease"),x=y("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),_,I],T=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],j=()=>[_,I,l],N=()=>[S,"full","auto",...j()],R=()=>[M,"none","subgrid",_,I],D=()=>["auto",{span:["full",M,_,I]},M,_,I],L=()=>[M,"auto",_,I],Z=()=>["auto","min","max","fr",_,I],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...j()],te=()=>[S,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],ti=()=>[t,_,I],tr=()=>[...w(),X,U,{position:[_,I]}],tn=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ts=()=>["auto","cover","contain",H,F,{size:[_,I]}],to=()=>[E,Y,B],ta=()=>["","none","full",u,_,I],tl=()=>["",A,Y,B],tu=()=>["solid","dashed","dotted","double"],th=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[A,E,X,U],tc=()=>["","none",m,_,I],tp=()=>["none",A,_,I],tm=()=>["none",A,_,I],tf=()=>[A,_,I],tg=()=>[S,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[C],breakpoint:[C],color:[V],container:[C],"drop-shadow":[C],ease:["in","out","in-out"],font:[O],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[C],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[C],shadow:[C],spacing:["px",A],text:[C],"text-shadow":[C],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",S,I,_,g]}],container:["container"],columns:[{columns:[A,I,_,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",_,I]}],basis:[{basis:[S,"full","auto",a,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,S,"auto","initial","none",I]}],grow:[{grow:["",A,_,I]}],shrink:[{shrink:["",A,_,I]}],order:[{order:[M,"first","last","none",_,I]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,Y,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_,z]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",E,I]}],"font-family":[{font:[K,I,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,_,I]}],"line-clamp":[{"line-clamp":[A,"none",_,z]}],leading:[{leading:[s,...j()]}],"list-image":[{"list-image":["none",_,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",_,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tu(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",_,B]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[A,"auto",_,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:tn()}],"bg-size":[{bg:ts()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,_,I],radial:["",_,I],conic:[M,_,I]},G,$]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tu(),"hidden","none"]}],"divide-style":[{divide:[...tu(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...tu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,_,I]}],"outline-w":[{outline:["",A,Y,B]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",h,q,W]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",d,q,W]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[A,B]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",c,q,W]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[A,_,I]}],"mix-blend":[{"mix-blend":[...th(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":th()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[_,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:tn()}],"mask-size":[{mask:ts()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",_,I]}],filter:[{filter:["","none",_,I]}],blur:[{blur:tc()}],brightness:[{brightness:[A,_,I]}],contrast:[{contrast:[A,_,I]}],"drop-shadow":[{"drop-shadow":["","none",p,q,W]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",A,_,I]}],"hue-rotate":[{"hue-rotate":[A,_,I]}],invert:[{invert:["",A,_,I]}],saturate:[{saturate:[A,_,I]}],sepia:[{sepia:["",A,_,I]}],"backdrop-filter":[{"backdrop-filter":["","none",_,I]}],"backdrop-blur":[{"backdrop-blur":tc()}],"backdrop-brightness":[{"backdrop-brightness":[A,_,I]}],"backdrop-contrast":[{"backdrop-contrast":[A,_,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,_,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,_,I]}],"backdrop-invert":[{"backdrop-invert":["",A,_,I]}],"backdrop-opacity":[{"backdrop-opacity":[A,_,I]}],"backdrop-saturate":[{"backdrop-saturate":[A,_,I]}],"backdrop-sepia":[{"backdrop-sepia":["",A,_,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",_,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",_,I]}],ease:[{ease:["linear","initial",v,_,I]}],delay:[{delay:[A,_,I]}],animate:[{animate:["none",x,_,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,_,I]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tm()}],"scale-x":[{"scale-x":tm()}],"scale-y":[{"scale-y":tm()}],"scale-z":[{"scale-z":tm()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[_,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_,I]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[A,Y,B,z]}],stroke:[{stroke:["none",...ti()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ta(...t){return to(function(){for(var t,e,i=0,r="",n=arguments.length;ita],75157)},75254,t=>{"use strict";var e=t.i(71645);let i=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},r=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim();var n={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"};let s=(0,e.forwardRef)(({color:t="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...h},d)=>(0,e.createElement)("svg",{ref:d,...n,width:i,height:i,stroke:t,strokeWidth:o?24*Number(s)/Number(i):s,className:r("lucide",a),...!l&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(h)&&{"aria-hidden":"true"},...h},[...u.map(([t,i])=>(0,e.createElement)(t,i)),...Array.isArray(l)?l:[l]])),o=(t,n)=>{let o=(0,e.forwardRef)(({className:o,...a},l)=>(0,e.createElement)(s,{ref:l,iconNode:n,className:r(`lucide-${i(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,o),...a}));return o.displayName=i(t),o};t.s(["default",()=>o],75254)},3374,t=>{"use strict";var e=t.i(43476),i=t.i(22016),r=t.i(71645),n=t.i(75157),s=t.i(75254);let o=(0,s.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),a=(0,s.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),l=[{name:"About",href:"#about"},{name:"Philosophy",href:"#philosophy"},{name:"Services",href:"#services"}];function u(){let[t,s]=(0,r.useState)(!1),[u,h]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=()=>{s(window.scrollY>50)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]),(0,e.jsx)("header",{className:(0,n.cn)("fixed top-0 left-0 right-0 z-50 transition-all duration-300",t?"bg-white/80 backdrop-blur-md border-b border-gray-100 py-4":"bg-transparent py-6"),children:(0,e.jsxs)("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[(0,e.jsx)(i.default,{href:"/",className:(0,n.cn)("text-2xl font-bold tracking-tighter transition-colors",t?"text-primary":"text-white"),children:"STAYMORE"}),(0,e.jsxs)("nav",{className:"hidden md:flex items-center space-x-8",children:[l.map(r=>(0,e.jsx)(i.default,{href:r.href,className:(0,n.cn)("text-sm font-medium transition-colors hover:text-secondary",t?"text-primary/80":"text-white/90"),children:r.name},r.name)),(0,e.jsx)(i.default,{href:"#contact",className:(0,n.cn)("px-5 py-2.5 text-sm font-medium rounded-full transition-all duration-300",t?"bg-primary text-white hover:bg-primary/90":"bg-white text-primary hover:bg-white/90"),children:"Contact Us"})]}),(0,e.jsx)("button",{className:"md:hidden p-2",onClick:()=>h(!u),children:u?(0,e.jsx)(a,{className:t?"text-primary":"text-white"}):(0,e.jsx)(o,{className:t?"text-primary":"text-white"})}),u&&(0,e.jsxs)("div",{className:"absolute top-full left-0 right-0 bg-white border-b border-gray-100 p-6 flex flex-col space-y-4 md:hidden shadow-xl animate-in fade-in slide-in-from-top-5",children:[l.map(t=>(0,e.jsx)(i.default,{href:t.href,className:"text-lg font-medium text-primary hover:text-secondary",onClick:()=>h(!1),children:t.name},t.name)),(0,e.jsx)(i.default,{href:"#contact",className:"px-5 py-3 text-center text-sm font-medium bg-primary text-white rounded-lg hover:bg-primary/90",onClick:()=>h(!1),children:"Contact Us"})]})]})})}t.s(["Header",()=>u],3374)},46932,t=>{"use strict";let e,i,r;var n,s=t.i(71645);let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set(o),l=t=>180*t/Math.PI,u=t=>d(l(Math.atan2(t[1],t[0]))),h={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:u,rotateZ:u,skewX:t=>l(Math.atan(t[1])),skewY:t=>l(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},d=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),p=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),m={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:p,scale:t=>(c(t)+p(t))/2,rotateX:t=>d(l(Math.atan2(t[6],t[5]))),rotateY:t=>d(l(Math.atan2(-t[2],t[0]))),rotateZ:u,rotate:u,skewX:t=>l(Math.atan(t[4])),skewY:t=>l(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function f(t){return+!!t.includes("scale")}function g(t,e){let i,r;if(!t||"none"===t)return f(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=m,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=h,r=e}if(!r)return f(e);let s=i[e],o=r[1].split(",").map(y);return"function"==typeof s?s(o):o[s]}function y(t){return parseFloat(t.trim())}let v=t=>e=>"string"==typeof e&&e.startsWith(t),x=v("--"),b=v("var(--"),w=t=>!!b(t)&&k.test(t.split("/*")[0].trim()),k=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function T({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}let P=(t,e,i)=>t+(e-t)*i;function j(t){return void 0===t||1===t}function S({scale:t,scaleX:e,scaleY:i}){return!j(t)||!j(e)||!j(i)}function A(t){return S(t)||M(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function M(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function E(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function C(t,e=0,i=1,r,n){t.min=E(t.min,e,i,r,n),t.max=E(t.max,e,i,r,n)}function V(t,{x:e,y:i}){C(t.x,e.translate,e.scale,e.originPoint),C(t.y,i.translate,i.scale,i.originPoint)}function N(t,e){t.min=t.min+e,t.max=t.max+e}function R(t,e,i,r,n=.5){let s=P(t.min,t.max,n);C(t,e,i,s,r)}function D(t,e){R(t.x,e.x,e.scaleX,e.scale,e.originX),R(t.y,e.y,e.scaleY,e.scale,e.originY)}function L(t,e){return T(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let O=new Set(["width","height","top","left","right","bottom",...o]),F=(t,e,i)=>i>e?e:i"number"==typeof t,parse:parseFloat,transform:t=>t},B={...I,transform:t=>F(0,1,t)},z={...I,default:1},U=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),$=U("deg"),W=U("%"),_=U("px"),Y=U("vh"),K=U("vw"),X={...W,parse:t=>W.parse(t)/100,transform:t=>W.transform(100*t)},H=t=>e=>e.test(t),G=[I,_,W,$,K,Y,{test:t=>"auto"===t,parse:t=>t}],q=t=>G.find(H(t));t.i(47167);let Z=()=>{},J=()=>{},Q=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tt=t=>t===I||t===_,te=new Set(["x","y","z"]),ti=o.filter(t=>!te.has(t)),tr={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>g(e,"x"),y:(t,{transform:e})=>g(e,"y")};tr.translateX=tr.x,tr.translateY=tr.y;let tn=t=>t,ts={},to=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ta(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=to.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}n=!0,[i,r]=[r,i],i.forEach(u),e,l=0,i.clear(),n=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let s=ts.useManualTiming?n.timestamp:performance.now();i=!1,ts.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),d.process(n),c.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:to.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;et.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],ti.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tm=!1,tp=!1,tc.forEach(t=>t.complete(tf)),tc.clear()}function ty(){tc.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tm=!0)})}class tv{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tc.add(this),tp||(tp=!0,tl.read(ty),tl.resolveKeyframes(tg))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;eMath.round(1e5*t)/1e5,tb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tk=(t,e)=>i=>!!("string"==typeof i&&tw.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tT=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(tb);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tP={...I,transform:t=>Math.round(F(0,255,t))},tj={test:tk("rgb","red"),parse:tT("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tP.transform(t)+", "+tP.transform(e)+", "+tP.transform(i)+", "+tx(B.transform(r))+")"},tS={test:tk("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:tj.transform},tA={test:tk("hsl","hue"),parse:tT("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+W.transform(tx(e))+", "+W.transform(tx(i))+", "+tx(B.transform(r))+")"},tM={test:t=>tj.test(t)||tS.test(t)||tA.test(t),parse:t=>tj.test(t)?tj.parse(t):tA.test(t)?tA.parse(t):tS.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tj.transform(t):tA.transform(t),getAnimatableNone:t=>{let e=tM.parse(t);return e.alpha=0,tM.transform(e)}},tE=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tC="number",tV="color",tN=/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 tR(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tN,t=>(tM.test(t)?(r.color.push(s),n.push(tV),i.push(tM.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(tC),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function tD(t){return tR(t).values}function tL(t){let{split:e,types:i}=tR(t),r=e.length;return t=>{let n="";for(let s=0;s"number"==typeof t?0:tM.test(t)?tM.getAnimatableNone(t):t,tF={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tb)?.length||0)+(t.match(tE)?.length||0)>0},parse:tD,createTransformer:tL,getAnimatableNone:function(t){let e=tD(t);return tL(t)(e.map(tO))}},tI=new Set(["brightness","contrast","saturate","opacity"]);function tB(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(tb)||[];if(!r)return t;let n=i.replace(r,""),s=+!!tI.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let tz=/\b([a-z-]*)\(.*?\)/gu,tU={...tF,getAnimatableNone:t=>{let e=t.match(tz);return e?e.map(tB).join(" "):t}},t$={...I,transform:Math.round},tW={borderWidth:_,borderTopWidth:_,borderRightWidth:_,borderBottomWidth:_,borderLeftWidth:_,borderRadius:_,radius:_,borderTopLeftRadius:_,borderTopRightRadius:_,borderBottomRightRadius:_,borderBottomLeftRadius:_,width:_,maxWidth:_,height:_,maxHeight:_,top:_,right:_,bottom:_,left:_,padding:_,paddingTop:_,paddingRight:_,paddingBottom:_,paddingLeft:_,margin:_,marginTop:_,marginRight:_,marginBottom:_,marginLeft:_,backgroundPositionX:_,backgroundPositionY:_,rotate:$,rotateX:$,rotateY:$,rotateZ:$,scale:z,scaleX:z,scaleY:z,scaleZ:z,skew:$,skewX:$,skewY:$,distance:_,translateX:_,translateY:_,translateZ:_,x:_,y:_,z:_,perspective:_,transformPerspective:_,opacity:B,originX:X,originY:X,originZ:_,zIndex:t$,fillOpacity:B,strokeOpacity:B,numOctaves:t$},t_={...tW,color:tM,backgroundColor:tM,outlineColor:tM,fill:tM,stroke:tM,borderColor:tM,borderTopColor:tM,borderRightColor:tM,borderBottomColor:tM,borderLeftColor:tM,filter:tU,WebkitFilter:tU},tY=t=>t_[t];function tK(t,e){let i=tY(t);return i!==tU&&(i=tF),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tX=new Set(["auto","none","0"]);class tH extends tv{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tG=t=>!!(t&&t.getVelocity);function tq(){e=void 0}let tZ={now:()=>(void 0===e&&tZ.set(th.isProcessing||ts.useManualTiming?th.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(tq)}};function tJ(t,e){-1===t.indexOf(e)&&t.push(e)}function tQ(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t0{constructor(){this.subscriptions=[]}add(t){return tJ(this.subscriptions,t),()=>tQ(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n{let e=tZ.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tZ.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t0);let i=this.events[t].add(e);return"change"===t?()=>{i(),tl.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return r&&r.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tZ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 t2(t,e){return new t1(t,e)}let t5=[...G,tM,tF],{schedule:t4}=ta(queueMicrotask,!1),t3={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"]},t6={};for(let t in t3)t6[t]={isEnabled:e=>t3[t].some(t=>!!e[t])};let t9=()=>({translate:0,scale:1,origin:0,originPoint:0}),t7=()=>({x:t9(),y:t9()}),t8=()=>({min:0,max:0}),et=()=>({x:t8(),y:t8()}),ee="undefined"!=typeof window,ei={current:null},er={current:!1},en=new WeakMap;function es(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eo(t){return"string"==typeof t||Array.isArray(t)}let ea=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],el=["initial",...ea];function eu(t){return es(t.animate)||el.some(e=>eo(t[e]))}function eh(t){return!!(eu(t)||t.variants)}function ed(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ec(t,e,i,r){if("function"==typeof e){let[n,s]=ed(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=ed(r);e=e(void 0!==i?i:t.custom,n,s)}return e}let ep=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class em{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tv,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 t=tZ.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),er.current||function(){if(er.current=!0,ee)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ei.current=t.matches;t.addEventListener("change",e),e()}else ei.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ei.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tu(this.notifyUpdate),tu(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=a.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tl.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in t6){let e=t6[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):et()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=t2(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!t5.find(H(r))&&tF.test(e)&&(i=tK(t,e))}this.setBaseTarget(t,tG(i)?i.get():i)}return tG(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=ec(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||tG(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new t0),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t4.render(this.render)}}class ef extends em{constructor(){super(...arguments),this.KeyframeResolver=tH}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tG(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let eg=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ey={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ev=o.length;function ex(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(a.has(t)){l=!0;continue}if(x(t)){n[t]=i;continue}{let e=eg(i,tW[t]);t.startsWith("origin")?(u=!0,s[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s{if(!e.target)return t;if("string"==typeof t)if(!_.test(t))return t;else t=parseFloat(t);let i=ew(t,e.target.x),r=ew(t,e.target.y);return`${i}% ${r}%`}},eT={borderRadius:{...ek,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ek,borderTopRightRadius:ek,borderBottomLeftRadius:ek,borderBottomRightRadius:ek,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=tF.parse(t);if(r.length>5)return t;let n=tF.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=P(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function eP(t,{layout:e,layoutId:i}){return a.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eT[t]||"opacity"===t)}function ej(t,e,i){let{style:r}=t,n={};for(let s in r)(tG(r[s])||e.style&&tG(e.style[s])||eP(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}class eS extends ef{constructor(){super(...arguments),this.type="html",this.renderInstance=eb}readValueFromInstance(t,e){if(a.has(e))return this.projection?.isProjecting?f(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return g(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(x(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return L(t,e)}build(t,e,i){ex(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return ej(t,e,i)}}let eA=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eM={offset:"stroke-dashoffset",array:"stroke-dasharray"},eE={offset:"strokeDashoffset",array:"strokeDasharray"};function eC(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(ex(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=h?.transformBox??"fill-box",delete d.transformBox),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?eM:eE;t[s.offset]=_.transform(-r);let o=_.transform(e),a=_.transform(i);t[s.array]=`${o} ${a}`}(d,n,s,o,!1)}let eV=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"]),eN=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eR(t,e,i){let r=ej(t,e,i);for(let i in t)(tG(t[i])||tG(e[i]))&&(r[-1!==o.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class eD extends ef{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=et}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.has(e)){let t=tY(e);return t&&t.default||0}return e=eV.has(e)?e:eA(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eR(t,e,i)}build(t,e,i){eC(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in eb(t,e,void 0,r),e.attrs)t.setAttribute(eV.has(i)?i:eA(i),e.attrs[i])}mount(t){this.isSVGTag=eN(t.tagName),super.mount(t)}}let eL=["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 eO(t){if("string"!=typeof t||t.includes("-"));else if(eL.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eF=t.i(43476);let eI=(0,s.createContext)({}),eB=(0,s.createContext)({strict:!1}),ez=(0,s.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),eU=(0,s.createContext)({});function e$(t){return Array.isArray(t)?t.join(" "):t}let eW=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function e_(t,e,i){for(let r in e)tG(e[r])||eP(r,i)||(t[r]=e[r])}let eY=()=>({...eW(),attrs:{}}),eK=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","ignoreStrict","viewport"]);function eX(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eK.has(t)}let eH=t=>!eX(t);try{n=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof n&&(eH=t=>t.startsWith("on")?!eX(t):n(t))}catch{}let eG=(0,s.createContext)(null);function eq(t){return tG(t)?t.get():t}let eZ=t=>(e,i)=>{let r,n=(0,s.useContext)(eU),o=(0,s.useContext)(eG),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,n){return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=eq(s[t]);let{initial:o,animate:a}=t,l=eu(t),u=eh(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!es(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i({initial:e,animate:i}),[e$(e),e$(i)])}(i),c=n(i,h);if(!h&&ee){(0,s.useContext)(eB).strict;let e=function(t){let{drag:e,layout:i}=t6;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=e.MeasureLayout,d.visualElement=function(t,e,i,r,n){let{visualElement:o}=(0,s.useContext)(eU),a=(0,s.useContext)(eB),l=(0,s.useContext)(eG),u=(0,s.useContext)(ez).reducedMotion,h=(0,s.useRef)(null);r=r||a.renderer,!h.current&&r&&(h.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let d=h.current,c=(0,s.useContext)(e5);d&&!d.projection&&n&&("html"===d.type||"svg"===d.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&e1(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u})}(h.current,i,n,c);let p=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{d&&p.current&&d.update(i,l)});let m=i[e2],f=(0,s.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return e4(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),f.current&&d.animationState&&d.animationState.animateChanges())}),(0,s.useEffect)(()=>{d&&(!f.current&&d.animationState&&d.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),f.current=!1),d.enteringChildren=void 0)}),d}(t,c,u,r,e.ProjectionNode)}return(0,eF.jsxs)(eU.Provider,{value:d,children:[l&&d.visualElement?(0,eF.jsx)(l,{visualElement:d.visualElement,...u}):null,function(t,e,i,{latestValues:r},n,o=!1){let a=(eO(t)?function(t,e,i,r){let n=(0,s.useMemo)(()=>{let i=eY();return eC(i,e,eN(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};e_(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},o=(i=t.style||{},e_(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,s.useMemo)(()=>{let i=eW();return ex(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n})(e,r,n,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(eH(n)||!0===i&&eX(n)||!e&&!eX(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,o),u=t!==s.Fragment?{...l,...a,ref:i}:{},{children:h}=e,d=(0,s.useMemo)(()=>tG(h)?h.get():h,[h]);return(0,s.createElement)(t,{...u,children:d})}(t,i,(a=d.visualElement,(0,s.useCallback)(t=>{t&&c.onMount&&c.onMount(t),a&&(t?a.mount(t):a.unmount()),o&&("function"==typeof o?o(t):e1(o)&&(o.current=t))},[a])),c,h,e)]})}o.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let a=(0,s.forwardRef)(o);return a[e0]=t,a}function e6(t,e,i){let r=t.getProps();return ec(r,e,void 0!==i?i:r.custom,t)}function e9(t,e){return t?.[e]??t?.default??t}let e7=t=>Array.isArray(t);function e8(t,e){let i=t.getValue("willChange");if(tG(i)&&i.add)return i.add(e);if(!i&&ts.WillChange){let i=new ts.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function it(t){t.duration=0,t.type="keyframes"}let ie=(t,e)=>i=>e(t(i)),ii=(...t)=>t.reduce(ie),ir=t=>1e3*t,is={layout:0,mainThread:0,waapi:0};function io(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ia(t,e){return i=>i>0?e:t}let il=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},iu=[tS,tj,tA];function ih(t){let e=iu.find(e=>e.test(t));if(Z(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===tA&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=io(a,r,t+1/3),s=io(a,r,t),o=io(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let id=(t,e)=>{let i=ih(t),r=ih(e);if(!i||!r)return ia(t,e);let n={...i};return t=>(n.red=il(i.red,r.red,t),n.green=il(i.green,r.green,t),n.blue=il(i.blue,r.blue,t),n.alpha=P(i.alpha,r.alpha,t),tj.transform(n))},ic=new Set(["none","hidden"]);function ip(t,e){return i=>P(t,e,i)}function im(t){return"number"==typeof t?ip:"string"==typeof t?w(t)?ia:tM.test(t)?id:iv:Array.isArray(t)?ig:"object"==typeof t?tM.test(t)?id:iy:ia}function ig(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>im(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in r)i[e]=r[e](t);return i}}let iv=(t,e)=>{let i=tF.createTransformer(e),r=tR(t),n=tR(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return Z(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ia(t,e);if(ic.has(t)&&!n.values.length||ic.has(e)&&!r.values.length)return ic.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return ii(ig(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tl.update(e,t),stop:()=>tu(e),now:()=>th.isProcessing?th.timestamp:tZ.now()}},iw=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e=2e4?1/0:e}function iT(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}let iP=.01,ij=2,iS=.005,iA=.5;function iM(t,e){return t*Math.sqrt(1-e*e)}let iE=["duration","bounce"],iC=["stiffness","damping","mass"];function iV(t,e){return e.some(e=>void 0!==t[e])}function iN(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:d,duration:c,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iV(t,iC)&&iV(t,iE))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*F(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;Z(t<=ir(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=F(.05,1,o),t=F(.01,10,t/1e3),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/iM(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=iM(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=ir(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-((r.velocity||0)/1e3)}),f=p||0,g=h/(2*Math.sqrt(u*d)),y=a-o,v=Math.sqrt(u/d)/1e3,x=5>Math.abs(y);if(n||(n=x?iP:ij),s||(s=x?iS:iA),g<1){let t=iM(v,g);i=e=>a-Math.exp(-g*v*e)*((f+g*v*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-v*t)*(y+(f+v*y)*t);else{let t=v*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*v*e),r=Math.min(t*e,300);return a-i*((f+g*v*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let b={calculatedDuration:m&&c||null,next:t=>{let e=i(t);if(m)l.done=t>=c;else{let r=0===t?f:0;g<1&&(r=0===t?ir(f):iT(i,t,e));let o=Math.abs(a-e)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(ik(b),2e4),e=iw(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function iR({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==a&&el){var i;d=t,c=iN({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i){let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}iN.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(ik(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:n/1e3}}(t,100,iN);return t.ease=e.ease,t.duration=ir(e.duration),t.type="keyframes",t};let iD=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iL(t,e,i,r){return t===e&&i===r?tn:n=>0===n||1===n?n:iD(function(t,e,i,r,n){let s,o,a=0;do(s=iD(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,t,i),e,r)}let iO=iL(.42,0,1,1),iF=iL(0,0,.58,1),iI=iL(.42,0,.58,1),iB=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iz=t=>e=>1-t(1-e),iU=iL(.33,1.53,.69,.99),i$=iz(iU),iW=iB(i$),i_=t=>(t*=2)<1?.5*i$(t):.5*(2-Math.pow(2,-10*(t-1))),iY=t=>1-Math.sin(Math.acos(t)),iK=iz(iY),iX=iB(iY),iH=t=>Array.isArray(t)&&"number"==typeof t[0],iG={linear:tn,easeIn:iO,easeInOut:iI,easeOut:iF,circIn:iY,circInOut:iX,circOut:iK,backIn:i$,backInOut:iW,backOut:iU,anticipate:i_},iq=t=>{if(iH(t)){J(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return iL(e,i,r,n)}return"string"==typeof t?(J(void 0!==iG[t],`Invalid easing type '${t}'`,"invalid-easing-type"),iG[t]):t},iZ=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function iJ({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(iq):iq(r),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(J(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||ts.mix||ix,s=t.length-1;for(let i=0;i{if(o&&i1)for(;ru(F(t[0],t[s-1],e)):u}((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=iZ(0,e,r);t.push(P(i,1,n))}}(s=[0],e.length-1),s),n.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||iI).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let iQ=t=>null!==t;function i0(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(iQ),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let i1={decay:iR,inertia:iR,tween:iJ,keyframes:iJ,spring:iN};function i2(t){"string"==typeof t.type&&(t.type=i1[t.type])}class i5{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let i4=t=>t/100;class i3 extends i5{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tZ.now()&&this.tick(tZ.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},is.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;i2(t);let{type:e=iJ,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||iJ;a!==iJ&&"number"!=typeof o[0]&&(this.mixKeyframes=ii(i4,ix(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=ik(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:c,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,x=i;if(h){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===d?(i=1-i,c&&(i-=c/o)):"mirror"===d&&(x=s)),v=F(0,1,i)*o}let b=y?{done:!1,value:u[0]}:x.next(v);n&&(b.value=n(b.value));let{done:w}=b;y||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&p!==iR&&(b.value=i0(u,this.options,f,this.speed)),m&&m(b.value),k&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=ir(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tZ.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=ib,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tZ.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&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,is.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function i6(t){let e;return()=>(void 0===e&&(e=t()),e)}let i9=i6(()=>void 0!==window.ScrollTimeline),i7={},i8=(i=i6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>i7.linearEasing??i()),rt=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,re={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rt([0,.65,.55,1]),circOut:rt([.55,0,1,.45]),backIn:rt([.31,.01,.66,-.59]),backOut:rt([.33,1.53,.69,.99])};function ri(t){return"function"==typeof t&&"applyToOptions"in t}class rr extends i5{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,J("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return ri(t)&&i8()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?i8()?iw(e,i):"ease-out":iH(e)?rt(e):Array.isArray(e)?e.map(e=>t(e,i)||re.easeOut):re[e]}(a,n);Array.isArray(d)&&(h.easing=d);let c={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(c.pseudoElement=u);let p=t.animate(h,c);return p}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=i0(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=ir(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&i9())?(this.animation.timeline=t,tn):e(this)}}let rn={anticipate:i_,backInOut:iW,circInOut:iX};class rs extends rr{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rn&&(t.ease=rn[t.ease])}(t),i2(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new i3({...s,autoplay:!1}),a=ir(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let ro=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tF.test(t)||"0"===t)&&!t.startsWith("url(")),ra=new Set(["opacity","clipPath","filter","transform"]),rl=i6(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ru extends i5{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tZ.now();const d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},c=u?.KeyframeResolver||tv;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=tZ.now(),!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ro(n,e),a=ro(s,e);return Z(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return rl()&&i&&ra.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(h)?new rs({...h,element:h.motionValue.owner.current}):new i3(h);d.finished.then(()=>this.notifyFinished()).catch(tn),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tf=!0,ty(),tg(),tf=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rh=t=>null!==t,rd={type:"spring",stiffness:500,damping:25,restSpeed:10},rc={type:"keyframes",duration:.8},rp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rm=(t,e,i,r={},n,s)=>o=>{let l=e9(r,t)||{},u=l.delay||r.delay||0,{elapsed:h=0}=r;h-=ir(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?rc:a.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rd:rp)(t,d)),d.duration&&(d.duration=ir(d.duration)),d.repeatDelay&&(d.repeatDelay=ir(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(it(d),0===d.delay&&(c=!0)),(ts.instantAnimations||ts.skipAnimations)&&(c=!0,it(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(rh),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[s]}(d.keyframes,l);if(void 0!==t)return void tl.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new i3(d):new ru(d)};function rf(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;r&&(s=r);let l=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||u&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(u,e))continue;let o={delay:i,...e9(s||{},e)},h=r.get();if(void 0!==h&&!r.isAnimating&&!Array.isArray(n)&&n===h&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[e2];if(i){let t=window.MotionHandoffAnimation(i,e,tl);null!==t&&(o.startTime=t,d=!0)}}e8(t,e),r.start(rm(e,r,n,t.shouldReduceMotion&&O.has(e)?{type:!1}:o,t,d));let c=r.animation;c&&l.push(c)}return o&&Promise.all(l).then(()=>{tl.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=e6(t,e)||{};for(let e in n={...n,...i}){var s;let i=e7(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,t2(i))}}(t,o)})}),l}function rg(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function ry(t,e,i={}){let r=e6(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rf(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(ry(l,e,{...o,delay:i+("function"==typeof r?0:r)+rg(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function rv(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;rt.removeEventListener(e,i)}let rM=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rE(t){return{point:{x:t.pageX,y:t.pageY}}}function rC(t,e,i,r){return rA(t,e,t=>rM(t)&&i(t,rE(t)),r)}function rV(t){return t.max-t.min}function rN(t,e,i,r=.5){t.origin=r,t.originPoint=P(e.min,e.max,t.origin),t.scale=rV(i)/rV(e),t.translate=P(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rR(t,e,i,r){rN(t.x,e.x,i.x,r?r.originX:void 0),rN(t.y,e.y,i.y,r?r.originY:void 0)}function rD(t,e,i){t.min=i.min+e.min,t.max=t.min+rV(e)}function rL(t,e,i){t.min=e.min-i.min,t.max=t.min+rV(e)}function rO(t,e,i){rL(t.x,e.x,i.x),rL(t.y,e.y,i.y)}function rF(t){return[t("x"),t("y")]}let rI=({current:t})=>t?t.ownerDocument.defaultView:null,rB=(t,e)=>Math.abs(t-e);class rz{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=rW(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(rB(t.x,e.x)**2+rB(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=th;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rU(e,this.transformPagePoint),tl.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rW("pointercancel"===t.type?this.lastMoveEventInfo:rU(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!rM(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const o=rU(rE(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=th;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,rW(o,this.history)),this.removeListeners=ii(rC(this.contextWindow,"pointermove",this.handlePointerMove),rC(this.contextWindow,"pointerup",this.handlePointerUp),rC(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tu(this.updatePoint)}}function rU(t,e){return e?{point:e(t.point)}:t}function r$(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rW({point:t},e){return{point:t,delta:r$(t,r_(e)),offset:r$(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=r_(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>ir(.1)));)i--;if(!r)return{x:0,y:0};let s=(n.timestamp-r.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function r_(t){return t[t.length-1]}function rY(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rK(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rE(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rS[t])return null;else return rS[t]=!0,()=>{rS[t]=!1};return rS.x||rS.y?null:(rS.x=rS.y=!0,()=>{rS.x=rS.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rF(t=>{let e=this.getAxisMotionValue(t).get()||0;if(W.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rV(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tl.postRender(()=>n(t,e)),e8(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>rF(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new rz(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:rI(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tl.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!rZ(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&ti&&(t=r?P(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&e1(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:rY(t.x,i,n),y:rY(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rX(t,"left","right"),y:rX(t,"top","bottom")}}(e),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rF(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!e1(e))return!1;let r=e.current;J(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,i){let r=L(t,i),{scroll:n}=e;return n&&(N(r.x,n.offset.x),N(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:rK(t.x,s.x),y:rK(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=T(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rF(o=>{if(!rZ(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return e8(this.visualElement,t),i.start(rm(t,i,0,e,this.visualElement,!1))}stopAnimation(){rF(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rF(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rF(e=>{let{drag:i}=this.getProps();if(!rZ(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-P(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!e1(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rF(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=rV(i),(a=rV(n))>o?s=iZ(n.min,n.max-o,i.min):o>a&&(s=iZ(i.min,i.max-a,n.min)),F(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rF(e=>{if(!rZ(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(P(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;rG.set(this.visualElement,this);let t=rC(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();e1(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tl.read(e);let n=rA(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rF(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function rZ(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rJ=t=>(e,i)=>{t&&tl.postRender(()=>t(e,i))};var rQ=s;let r0={hasAnimatedSinceResize:!0,hasEverUpdated:!1},r1=!1;class r2 extends rQ.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),r1&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),r0.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,r1=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||tl.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t4.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r1=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function r5(t){let[e,i]=function(t=!0){let e=(0,s.useContext)(eG);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=e,o=(0,s.useId)();(0,s.useEffect)(()=>{if(t)return n(o)},[t]);let a=(0,s.useCallback)(()=>t&&r&&r(o),[o,r,t]);return!i&&r?[!1,a]:[!0]}(),r=(0,rQ.useContext)(eI);return(0,eF.jsx)(r2,{...t,layoutGroup:r,switchLayoutGroup:(0,rQ.useContext)(e5),isPresent:e,safeToRemove:i})}function r4(t){return"object"==typeof t&&null!==t}function r3(t){return r4(t)&&"ownerSVGElement"in t}let r6=(t,e)=>t.depth-e.depth;class r9{constructor(){this.children=[],this.isDirty=!1}add(t){tJ(this.children,t),this.isDirty=!0}remove(t){tQ(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r6),this.isDirty=!1,this.children.forEach(t)}}let r7=["TopLeft","TopRight","BottomLeft","BottomRight"],r8=r7.length,nt=t=>"string"==typeof t?parseFloat(t):t,ne=t=>"number"==typeof t||_.test(t);function ni(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nr=ns(0,.5,iK),nn=ns(.5,.95,tn);function ns(t,e,i){return r=>re?1:i(iZ(t,e,r))}function no(t,e){t.min=e.min,t.max=e.max}function na(t,e){no(t.x,e.x),no(t.y,e.y)}function nl(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nu(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function nh(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(W.test(e)&&(e=parseFloat(e),e=P(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=P(s.min,s.max,r);t===s&&(a-=e),t.min=nu(t.min,e,i,a,n),t.max=nu(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let nd=["x","scaleX","originX"],nc=["y","scaleY","originY"];function np(t,e,i,r){nh(t.x,e,nd,i?i.x:void 0,r?r.x:void 0),nh(t.y,e,nc,i?i.y:void 0,r?r.y:void 0)}function nm(t){return 0===t.translate&&1===t.scale}function nf(t){return nm(t.x)&&nm(t.y)}function ng(t,e){return t.min===e.min&&t.max===e.max}function ny(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nv(t,e){return ny(t.x,e.x)&&ny(t.y,e.y)}function nx(t){return rV(t.x)/rV(t.y)}function nb(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nw{constructor(){this.members=[]}add(t){tJ(this.members,t),t.scheduleRender()}remove(t){if(tQ(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nk=["","X","Y","Z"],nT=0;function nP(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function nj({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nT++,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,this.nodes.forEach(nM),this.nodes.forEach(nL),this.nodes.forEach(nO),this.nodes.forEach(nE)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;tl.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,s;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=tZ.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tu(s),n(i-250))},tl.setup(s,!0),i=()=>tu(s),r0.hasAnimatedSinceResize&&(r0.hasAnimatedSinceResize=!1,this.nodes.forEach(nD))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||n$,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nv(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...e9(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||nD(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tu(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(nF),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[e2];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tl,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rV(this.snapshot.measuredBox.x)||rV(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 t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=et());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nl(this.prevProjectionDelta.x,this.projectionDelta.x),nl(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rR(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nb(this.projectionDelta.x,this.prevProjectionDelta.x)&&nb(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=t7(),this.projectionDelta=t7(),this.projectionDeltaWithTransform=t7()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=t7();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=et(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(nU));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(nB(o.x,t.x,r),nB(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,g;rO(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,nz(p.x,m.x,f.x,g),nz(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,c=i,ng(u.x,c.x)&&ng(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=et()),na(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=P(0,i.opacity??1,nr(r)),t.opacityExit=P(e.opacity??1,0,nn(r))):s&&(t.opacity=P(e.opacity??1,i.opacity??1,r));for(let n=0;n{var e,i,r;let n;r0.hasAnimatedSinceResize=!0,is.layout++,this.motionValue||(this.motionValue=t2(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{is.layout--},onComplete:()=>{is.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=tG(e)?e:t2(e)).start(rm("",n,i,r)),n.animation),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 t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&nK(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||et();let e=rV(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rV(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}na(e,i),D(e,n),rR(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nw),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&nP("z",t,r,this.animationValues);for(let e=0;et.currentAnimation?.stop()),this.root.nodes.forEach(nV),this.root.sharedNodes.clear()}}}function nS(t){t.updateLayout()}function nA(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?rF(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=rV(r);r.min=i[t].min,r.max=r.min+n}):nK(n,e.layoutBox,i)&&rF(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=rV(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=t7();rR(o,i,e.layoutBox);let a=t7();s?rR(a,t.applyTransform(r,!0),e.measuredBox):rR(a,i,e.layoutBox);let l=!nf(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=et();rO(o,e.layoutBox,n.layoutBox);let a=et();rO(a,i,s.layoutBox),nv(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nM(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nE(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nC(t){t.clearSnapshot()}function nV(t){t.clearMeasurements()}function nN(t){t.isLayoutDirty=!1}function nR(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nD(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nL(t){t.resolveTargetDelta()}function nO(t){t.calcProjection()}function nF(t){t.resetSkewAndRotation()}function nI(t){t.removeLeadSnapshot()}function nB(t,e,i){t.translate=P(e.translate,0,i),t.scale=P(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nz(t,e,i,r){t.min=P(e.min,i.min,r),t.max=P(e.max,i.max,r)}function nU(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n$={duration:.45,ease:[.4,0,.1,1]},nW=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n_=nW("applewebkit/")&&!nW("chrome/")?Math.round:tn;function nY(t){t.min=n_(t.min),t.max=n_(t.max)}function nK(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nx(e)-nx(i)))}function nX(t){return t!==t.root&&t.scroll?.wasRoot}let nH=nj({attachResizeListener:(t,e)=>rA(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nG={current:void 0},nq=nj({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nG.current){let t=new nH({});t.mount(window),t.setOptions({layoutScroll:!0}),nG.current=t}return nG.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nZ(t,e){let i=function(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function nJ(t){return!("touch"===t.pointerType||rS.x||rS.y)}function nQ(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&tl.postRender(()=>n(e,rE(e)))}let n0=(t,e)=>!!e&&(t===e||n0(t,e.parentElement)),n1=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n2=new WeakSet;function n5(t){return e=>{"Enter"===e.key&&t(e)}}function n4(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function n3(t){return rM(t)&&!(rS.x||rS.y)}function n6(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&tl.postRender(()=>n(e,rE(e)))}let n9=new WeakMap,n7=new WeakMap,n8=t=>{let e=n9.get(t.target);e&&e(t)},st=t=>{t.forEach(n8)},se={some:0,all:1},si=function(t,e){if("undefined"==typeof Proxy)return e3;let i=new Map,r=(i,r)=>e3(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,e3(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends rP{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>ry(t,e,i)));else if("string"==typeof e)r=ry(t,e,i);else{let n="function"==typeof e?e6(t,e,i.custom):e;r=Promise.all(rf(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rT(),r=!0,n=e=>(i,r)=>{let n=e6(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;td&&y,k=!1,T=Array.isArray(g)?g:[g],P=T.reduce(n(m),{});!1===v&&(P={});let{prevResolvedValues:j={}}=f,S={...j,...P},A=e=>{w=!0,u.has(e)&&(k=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in S){let e=P[t],i=j[t];if(!h.hasOwnProperty(t))(e7(e)&&e7(i)?rv(e,i):e===i)?void 0!==e&&u.has(t)?A(t):f.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}f.prevProp=g,f.prevResolvedValues=P,f.isActive&&(h={...h,...P}),r&&t.blockInitialAnimation&&(w=!1);let M=x&&b,E=!M||k;w&&E&&l.push(...T.map(e=>{let i={type:m};if("string"==typeof e&&r&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=e6(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=rg(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=e6(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),l.push({animation:e})}let m=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=s(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rT()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();es(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends rP{constructor(){super(...arguments),this.id=rj++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends rP{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:se[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=e?i:r;n&&n(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;n7.has(i)||n7.set(i,{});let r=n7.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(st,{root:t,...e})),r[n]}(a),n9.set(t,l),e.observe(t),()=>{n9.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends rP{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=nZ(t,i),o=t=>{let r=t.currentTarget;if(!n3(t))return;n2.add(r);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),n2.has(r)&&n2.delete(r),n3(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||n0(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),r4(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=n5(()=>{if(n2.has(i))return;n4(i,"down");let t=n5(()=>{n4(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>n4(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),n1.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(n6(this.node,e,"Start"),(t,{success:e})=>n6(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends rP{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=ii(rA(this.node.current,"focus",()=>this.onFocus()),rA(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rP{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=nZ(t,i),o=t=>{if(!nJ(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let s=t=>{nJ(t)&&(r(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,(t,e)=>(nQ(this.node,e,"Start"),t=>nQ(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends rP{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(t){this.session=new rz(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rI(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:rJ(t),onStart:rJ(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&tl.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=rC(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends rP{constructor(t){super(t),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new rq(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:nq,MeasureLayout:r5},layout:{ProjectionNode:nq,MeasureLayout:r5}},(t,e)=>eO(t)?new eD(e):new eS(e,{allowProjection:t!==s.Fragment}));t.s(["motion",()=>si],46932)},59544,t=>{"use strict";let e,i,r;var n=t.i(43476),s=t.i(71645);function o(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}var a=Symbol.for("react.lazy"),l=s[" use ".trim().toString()];function u(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===a&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}var h=((r=s.forwardRef((t,e)=>{let{children:i,...r}=t;if(u(i)&&"function"==typeof l&&(i=l(i._payload)),s.isValidElement(i)){var n;let t,a,l=(n=i,(a=(t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.ref:(a=(t=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.props.ref:n.props.ref||n.ref),u=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(r,i.props);return i.type!==s.Fragment&&(u.ref=e?function(...t){return e=>{let i=!1,r=t.map(t=>{let r=o(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e1?s.Children.only(null):null})).displayName="Slot.SlotClone",e=r,(i=s.forwardRef((t,i)=>{let{children:r,...o}=t;u(r)&&"function"==typeof l&&(r=l(r._payload));let a=s.Children.toArray(r),h=a.find(c);if(h){let t=h.props.children,r=a.map(e=>e!==h?e:s.Children.count(t)>1?s.Children.only(null):s.isValidElement(t)?t.props.children:null);return(0,n.jsx)(e,{...o,ref:i,children:s.isValidElement(t)?s.cloneElement(t,void 0,r):null})}return(0,n.jsx)(e,{...o,ref:i,children:r})})).displayName="Slot.Slot",i),d=Symbol("radix.slottable");function c(t){return s.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===d}var p=t.i(75157);let m=s.forwardRef(({className:t,variant:e="default",size:i="default",asChild:r=!1,...s},o)=>(0,n.jsx)(r?h:"button",{className:(0,p.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===e,"border border-input bg-background hover:bg-accent hover:text-accent-foreground":"outline"===e,"hover:bg-accent hover:text-accent-foreground":"ghost"===e,"text-primary underline-offset-4 hover:underline":"link"===e,"h-10 px-4 py-2":"default"===i,"h-9 rounded-md px-3":"sm"===i,"h-11 rounded-md px-8":"lg"===i,"h-10 w-10":"icon"===i},t),ref:o,...s}));m.displayName="Button",t.s(["Button",()=>m],59544)},77258,t=>{"use strict";var e=t.i(43476),i=t.i(46932),r=t.i(59544);function n(){return(0,e.jsxs)("section",{className:"relative h-screen min-h-[800px] flex items-center justify-center overflow-hidden",children:[(0,e.jsx)("div",{className:"absolute inset-0 z-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&w=2400&auto=format&fit=crop')"},children:(0,e.jsx)("div",{className:"absolute inset-0 bg-black/40"})}),(0,e.jsx)("div",{className:"container relative z-10 px-6 text-center text-white",children:(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},children:[(0,e.jsx)("span",{className:"inline-block py-1 px-3 mb-6 border border-white/30 rounded-full bg-white/10 backdrop-blur-sm text-sm tracking-wider uppercase",children:"Start Your Premium Life"}),(0,e.jsxs)("h1",{className:"text-5xl md:text-7xl font-bold tracking-tight mb-6 leading-tight",children:["Defining the Future ",(0,e.jsx)("br",{})," of ",(0,e.jsx)("span",{className:"text-secondary italic",children:"Stays"})]}),(0,e.jsxs)("p",{className:"text-lg md:text-xl text-white/80 max-w-2xl mx-auto mb-10 font-light",children:["Staymore는 공간의 가치를 높이고, ",(0,e.jsx)("br",{className:"hidden md:block"}),"고객의 삶에 품격을 더하는 프리미엄 공간 관리 서비스를 제공합니다."]}),(0,e.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 justify-center",children:[(0,e.jsx)(r.Button,{size:"lg",className:"bg-white text-black hover:bg-white/90 font-medium px-8 text-base",children:"Explore Services"}),(0,e.jsx)(r.Button,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/20 hover:text-white font-medium px-8 text-base bg-transparent",children:"Contact Us"})]})]})}),(0,e.jsx)(i.motion.div,{className:"absolute bottom-10 left-1/2 transform -translate-x-1/2",initial:{opacity:0},animate:{opacity:1,y:[0,10,0]},transition:{duration:2,repeat:1/0,delay:1},children:(0,e.jsx)("div",{className:"w-6 h-10 border-2 border-white/30 rounded-full flex justify-center p-1",children:(0,e.jsx)("div",{className:"w-1 h-2 bg-white rounded-full"})})})]})}t.s(["Hero",()=>n])},95116,t=>{"use strict";var e=t.i(43476),i=t.i(46932);function r(){return(0,e.jsx)("section",{id:"about",className:"py-24 bg-white",children:(0,e.jsx)("div",{className:"container mx-auto px-6",children:(0,e.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-16",children:[(0,e.jsxs)(i.motion.div,{className:"w-full md:w-1/2",initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[(0,e.jsx)("span",{className:"text-secondary font-medium tracking-wider uppercase mb-4 block",children:"1. About Staymore"}),(0,e.jsxs)("h2",{className:"text-4xl font-bold mb-8 leading-tight text-primary",children:["우리의 공간은 ",(0,e.jsx)("br",{}),(0,e.jsx)("span",{className:"text-gray-400",children:"특별한 경험을 제공합니다"})]}),(0,e.jsxs)("div",{className:"space-y-6 text-gray-600 leading-relaxed",children:[(0,e.jsx)("p",{children:"Staymore(스테이모어)는 단순한 공간의 공유를 넘어, 머무름 그 이상의 가치를 창조합니다. 우리는 공간이 사람에게 주는 영향력을 믿으며, 모든 디테일에서 편안함과 영감을 전달하고자 합니다."}),(0,e.jsx)("p",{children:"우리의 전문적인 매니지먼트 팀은 각 공간의 고유한 특성을 살리고, 최상의 컨디션을 유지하여 방문하는 모든 분들에게 깊은 여운을 남기는 완벽한 휴식을 선사합니다."}),(0,e.jsx)("div",{className:"pt-4",children:(0,e.jsxs)("div",{className:"grid grid-cols-2 gap-8",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"text-3xl font-bold text-primary mb-1",children:"500+"}),(0,e.jsx)("p",{className:"text-sm text-gray-400",children:"Managed Properties"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"text-3xl font-bold text-primary mb-1",children:"98%"}),(0,e.jsx)("p",{className:"text-sm text-gray-400",children:"Customer Satisfaction"})]})]})})]})]}),(0,e.jsx)(i.motion.div,{className:"w-full md:w-1/2 relative h-[600px] w-full",initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:(0,e.jsx)("div",{className:"absolute inset-0 bg-gray-200 rounded-lg overflow-hidden",children:(0,e.jsx)("div",{className:"w-full h-full bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1600210492493-0946911123ea?q=80&w=1600&auto=format&fit=crop')"}})})})]})})})}t.s(["About",()=>r])},1689,t=>{"use strict";var e=t.i(43476),i=t.i(46932),r=t.i(75254);let n=(0,r.default)("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"}]]),s=(0,r.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),o=[{icon:(0,r.default)("shield",[["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"}]]),title:"Trust (신뢰)",description:"고객과의 약속을 최우선으로 여기며, 투명하고 정직한 운영을 원칙으로 합니다."},{icon:s,title:"Innovation (혁신)",description:"끊임없는 연구와 새로운 시도를 통해 공간 관리의 새로운 패러다임을 제시합니다."},{icon:n,title:"Customer Focus (고객 중심)",description:"고객의 입장에서 생각하고, 고객의 편안함을 위해 세심한 부분까지 배려합니다."}];function a(){return(0,e.jsx)("section",{id:"philosophy",className:"py-24 bg-gray-50",children:(0,e.jsxs)("div",{className:"container mx-auto px-6",children:[(0,e.jsxs)(i.motion.div,{className:"text-center max-w-2xl mx-auto mb-16",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,e.jsx)("span",{className:"text-secondary font-medium tracking-wider uppercase mb-4 block",children:"2. Our Philosophy"}),(0,e.jsxs)("h2",{className:"text-4xl font-bold text-primary mb-6",children:["가치를 담은 ",(0,e.jsx)("br",{})," 스테이모어의 철학"]}),(0,e.jsxs)("p",{className:"text-gray-500",children:["우리는 단순히 공간을 관리하는 것이 아니라, ",(0,e.jsx)("br",{}),"머무는 사람의 삶을 풍요롭게 만드는 공간을 창조합니다."]})]}),(0,e.jsx)("div",{className:"grid md:grid-cols-3 gap-8",children:o.map((t,r)=>(0,e.jsxs)(i.motion.div,{className:"bg-white p-10 rounded-2xl shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*r},children:[(0,e.jsx)("div",{className:"w-14 h-14 bg-primary/5 rounded-full flex items-center justify-center mb-6 text-primary",children:(0,e.jsx)(t.icon,{className:"w-6 h-6"})}),(0,e.jsx)("h3",{className:"text-xl font-bold text-primary mb-4",children:t.title}),(0,e.jsx)("p",{className:"text-gray-500 leading-relaxed",children:t.description})]},t.title))})]})})}t.s(["Philosophy",()=>a],1689)},76588,t=>{"use strict";var e=t.i(43476),i=t.i(46932);let r=(0,t.i(75254).default)("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"}]]);function n(){return(0,e.jsxs)("section",{className:"py-24 bg-primary text-white relative overflow-hidden",children:[(0,e.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-secondary/10 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),(0,e.jsx)("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-secondary/5 rounded-full blur-3xl translate-y-1/2 -translate-x-1/2"}),(0,e.jsx)("div",{className:"container mx-auto px-6 relative z-10",children:(0,e.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,e.jsx)(i.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6},className:"mb-8 flex justify-center",children:(0,e.jsx)(r,{className:"w-12 h-12 text-secondary opacity-50 rot-180"})}),(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:.2},children:[(0,e.jsx)("span",{className:"text-secondary font-medium tracking-wider uppercase mb-6 block text-sm",children:"3. CEO Message"}),(0,e.jsxs)("h2",{className:"text-3xl md:text-5xl font-medium leading-tight mb-10 font-serif",children:['"Staymore는 공간의 가능성에 대한 ',(0,e.jsx)("br",{}),'믿음에서 시작되었습니다."']}),(0,e.jsxs)("div",{className:"text-lg text-white/70 leading-relaxed font-light space-y-6",children:[(0,e.jsx)("p",{children:"우리는 공간이 단순한 물리적 장소가 아닌, 사람과 사람을 잇고 새로운 이야기를 만들어내는 매개체라고 믿습니다."}),(0,e.jsx)("p",{children:"Staymore는 고객님의 소중한 자산인 공간에 생명력을 불어넣고, 머무는 이들에게는 잊지 못할 추억을 선물하기 위해 끊임없이 고민하고 혁신합니다."}),(0,e.jsxs)("p",{children:["진정성 있는 서비스와 투명한 운영으로, ",(0,e.jsx)("br",{}),"여러분의 가장 신뢰할 수 있는 파트너가 되겠습니다."]})]}),(0,e.jsxs)("div",{className:"mt-12 pt-8 border-t border-white/10 inline-block text-left",children:[(0,e.jsx)("p",{className:"text-2xl font-serif text-secondary mb-1",children:"Kim Staymore"}),(0,e.jsx)("p",{className:"text-sm text-white/50 uppercase tracking-widest",children:"CEO & Founder"})]})]})]})})]})}t.s(["CeoMessage",()=>n],76588)},83650,t=>{"use strict";var e=t.i(43476),i=t.i(46932),r=t.i(75254);let n=(0,r.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),s=(0,r.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var o=t.i(59544);let a=[{id:"01",title:"위탁 운영 (Managed Services)",desc:"예약 관리부터 청소, 유지보수까지 전반적인 운영을 대행하여 호스트의 부담을 덜어드립니다.",features:["채널 매니지먼트 (OTA 관리)","전문 클리닝 & 세탁","24/7 고객 응대","시설 유지보수"]},{id:"02",title:"컨설팅 기획 (Consulting & Planning)",desc:"공간의 특성을 분석하여 최적의 컨셉을 도출하고, 수익성을 극대화할 수 있는 전략을 제안합니다.",features:["상권 및 입지 분석","타겟 오디언스 설정","수익성 분석","운영 프로세스 설계"]},{id:"03",title:"브랜딩 & 마케팅 (Branding & Marketing)",desc:"차별화된 브랜드 아이덴티티를 구축하고, 효과적인 마케팅을 통해 예약률을 높입니다.",features:["브랜드 로고 & 가이드","SNS 마케팅","프로모션 기획","사진 전문 촬영"]},{id:"04",title:"인테리어 디렉팅 (Interior Directing)",desc:"숙소의 컨셉에 맞는 감각적인 인테리어와 스타일링으로 공간의 가치를 높입니다.",features:["공간 스타일링","가구 및 소품 큐레이션","조명 및 동선 설계","리노베이션 자문"]}];function l(){return(0,e.jsx)("section",{id:"services",className:"py-24 bg-white",children:(0,e.jsxs)("div",{className:"container mx-auto px-6",children:[(0,e.jsxs)("div",{className:"mb-20 flex flex-col md:flex-row items-end justify-between",children:[(0,e.jsxs)(i.motion.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[(0,e.jsx)("span",{className:"text-secondary font-medium tracking-wider uppercase mb-4 block",children:"4. Our Services"}),(0,e.jsxs)("h2",{className:"text-4xl font-bold text-primary leading-tight",children:["성공적인 스테이 비즈니스를 위한 ",(0,e.jsx)("br",{}),"맞춤형 솔루션"]})]}),(0,e.jsx)(i.motion.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"hidden md:block",children:(0,e.jsxs)("p",{className:"text-gray-500 max-w-sm text-right",children:["모든 단계에서 전문적인 서비스를 제공하여 ",(0,e.jsx)("br",{}),"최상의 가치를 만들어냅니다."]})})]}),(0,e.jsx)("div",{className:"space-y-4",children:a.map((t,r)=>(0,e.jsx)(i.motion.div,{className:"group border-b border-gray-100 py-10 hover:bg-gray-50 transition-colors duration-300",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*r},children:(0,e.jsxs)("div",{className:"grid md:grid-cols-12 gap-8 items-start",children:[(0,e.jsx)("div",{className:"md:col-span-2",children:(0,e.jsx)("span",{className:"text-3xl font-light text-gray-200 group-hover:text-secondary transition-colors font-serif",children:t.id})}),(0,e.jsxs)("div",{className:"md:col-span-4",children:[(0,e.jsx)("h3",{className:"text-2xl font-bold text-primary group-hover:text-secondary transition-colors mb-2",children:t.title}),(0,e.jsx)("p",{className:"text-gray-500 leading-relaxed",children:t.desc})]}),(0,e.jsx)("div",{className:"md:col-span-4",children:(0,e.jsx)("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:t.features.map(t=>(0,e.jsxs)("li",{className:"flex items-center space-x-2 text-sm text-gray-600",children:[(0,e.jsx)(s,{className:"w-4 h-4 text-secondary/70"}),(0,e.jsx)("span",{children:t})]},t))})}),(0,e.jsx)("div",{className:"md:col-span-2 flex justify-end items-center h-full",children:(0,e.jsxs)(o.Button,{variant:"ghost",className:"group-hover:translate-x-2 transition-transform hidden md:inline-flex",children:["Detail ",(0,e.jsx)(n,{className:"ml-2 w-4 h-4"})]})})]})},t.id))})]})})}t.s(["Services",()=>l],83650)},47710,t=>{"use strict";var e=t.i(43476),i=t.i(46932),r=t.i(59544);function n(){return(0,e.jsx)("section",{id:"contact",className:"py-24 bg-gray-50",children:(0,e.jsx)("div",{className:"container mx-auto px-6",children:(0,e.jsxs)("div",{className:"flex flex-col lg:flex-row gap-16",children:[(0,e.jsxs)(i.motion.div,{className:"lg:w-1/3",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[(0,e.jsx)("span",{className:"text-secondary font-medium tracking-wider uppercase mb-4 block",children:"5. Contact Staymore"}),(0,e.jsx)("h2",{className:"text-4xl font-bold text-primary mb-6",children:"사업문의"}),(0,e.jsx)("p",{className:"text-gray-500 mb-8 leading-relaxed",children:"Staymore와 함께 공간의 새로운 가치를 만들어가실 파트너를 기다립니다. 문의 남겨주시면 담당자가 빠른 시일 내에 연락드리겠습니다."}),(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-primary mb-1",children:"Address"}),(0,e.jsx)("p",{className:"text-gray-500",children:"서울시 강남구 테헤란로 123 스테이빌딩 4층"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-primary mb-1",children:"Email"}),(0,e.jsx)("p",{className:"text-gray-500",children:"contact@staymore.com"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-primary mb-1",children:"Tel"}),(0,e.jsx)("p",{className:"text-gray-500",children:"02-1234-5678"})]})]})]}),(0,e.jsx)(i.motion.div,{className:"lg:w-2/3 bg-white p-10 rounded-2xl shadow-sm border border-gray-100",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:(0,e.jsxs)("form",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"grid md:grid-cols-2 gap-6",children:[(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("label",{htmlFor:"name",className:"text-sm font-medium text-gray-700",children:"이름 (Name)"}),(0,e.jsx)("input",{type:"text",id:"name",className:"w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-secondary focus:ring-1 focus:ring-secondary outline-none transition-all bg-gray-50/50",placeholder:"홍길동"})]}),(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("label",{htmlFor:"phone",className:"text-sm font-medium text-gray-700",children:"연락처 (Contact)"}),(0,e.jsx)("input",{type:"text",id:"phone",className:"w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-secondary focus:ring-1 focus:ring-secondary outline-none transition-all bg-gray-50/50",placeholder:"010-0000-0000"})]})]}),(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("label",{htmlFor:"subject",className:"text-sm font-medium text-gray-700",children:"제목 (Subject)"}),(0,e.jsx)("input",{type:"text",id:"subject",className:"w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-secondary focus:ring-1 focus:ring-secondary outline-none transition-all bg-gray-50/50",placeholder:"운영 위탁 문의합니다"})]}),(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("label",{htmlFor:"message",className:"text-sm font-medium text-gray-700",children:"내용 (Message)"}),(0,e.jsx)("textarea",{id:"message",rows:6,className:"w-full px-4 py-3 rounded-lg border border-gray-200 focus:border-secondary focus:ring-1 focus:ring-secondary outline-none transition-all resize-none bg-gray-50/50",placeholder:"문의 내용을 상세히 적어주세요."})]}),(0,e.jsx)("div",{className:"pt-4",children:(0,e.jsx)(r.Button,{className:"w-full h-12 text-lg font-medium",size:"lg",children:"문의하기"})})]})})]})})})}t.s(["Contact",()=>n])}]);