PageSourceSearch

https://www.stopkillinggames.com/_next/static/immutable/chunks/29xz_6su0mvtn.js

js stopkillinggames.com collected 2026-10-02 10:20:55 UTC 178,249 bytes, 15 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88653,t=>{"use strict";var e=t.i(843476),i=t.i(271645),r=t.i(231178),n=t.i(947414),s=t.i(674008),o=t.i(821476),a=t.i(772846),l=i,u=t.i(737806);function h(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends l.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,a.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,a.isHTMLElement)(t)&&t.offsetWidth||0,r=(0,a.isHTMLElement)(t)&&t.offsetHeight||0,n=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=r-s.height-s.top,s.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:r,anchorX:n,anchorY:s,root:o,pop:a}){let p=(0,l.useId)(),m=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,l.useContext)(u.MotionConfigContext),y=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,r=t.map(t=>{let r=h(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():h(t[e],null)}}}}(...t),t)}(m,!1!==a?t.props?.ref??t?.ref:void 0);return(0,l.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:l,right:u,bottom:h,direction:c}=f.current;if(r||!1===a||!m.current||!t||!e)return;let d="rtl"===c,y="left"===n?d?`right: ${u}`:`left: ${l}`:d?`left: ${l}`:`right: ${u}`,v="bottom"===s?`bottom: ${h}`:`top: ${i}`;m.current.dataset.motionPopId=p;let x=document.createElement("style");g&&(x.nonce=g);let b=o??document.head;return b.appendChild(x),x.sheet&&x.sheet.insertRule(`
2          [data-motion-pop-id="${p}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${e}px !important;
6            ${y}px !important;
7            ${v}px !important;
8          }
9        `),()=>{m.current?.removeAttribute("data-motion-pop-id"),b.contains(x)&&b.removeChild(x)}},[r]),(0,e.jsx)(c,{isPresent:r,childRef:m,sizeRef:f,pop:a,children:!1===a?t:l.cloneElement(t,{ref:y})})}let p=({children:t,initial:r,isPresent:a,onExitComplete:l,custom:u,presenceAffectsLayout:h,mode:c,anchorX:p,anchorY:f,root:g})=>{let y=(0,n.useConstant)(m),v=(0,i.useId)(),x=(0,i.useRef)(a),b=(0,i.useRef)(l);(0,s.useIsomorphicLayoutEffect)(()=>{x.current=a,b.current=l});let w=!0,k=(0,i.useMemo)(()=>(w=!1,{id:v,initial:r,isPresent:a,custom:u,onExitComplete:t=>{for(let e of(y.set(t,!0),y.values()))if(!e)return;l&&l()},register:t=>(y.set(t,!1),()=>{y.delete(t),x.current||y.size||b.current?.()})}),[a,y,l]);return h&&w&&(k={...k}),(0,i.useMemo)(()=>{y.forEach((t,e)=>y.set(e,!1))},[a]),i.useEffect(()=>{a||y.size||!l||l()},[a]),t=(0,e.jsx)(d,{pop:"popLayout"===c,isPresent:a,anchorX:p,anchorY:f,root:g,children:t}),(0,e.jsx)(o.PresenceContext.Provider,{value:k,children:t})};function m(){return new Map}var f=t.i(259073);let g=t=>t.key||"";function y(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",anchorY:m="top",root:v})=>{let[x,b]=(0,f.usePresence)(c),w=(0,i.useMemo)(()=>y(t),[t]),k=c&&!x?[]:w.map(g),T=(0,i.useRef)(!0),S=(0,i.useRef)(w),P=(0,n.useConstant)(()=>new Map),E=(0,i.useRef)(new Set),[M,A]=(0,i.useState)(w),[C,j]=(0,i.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{T.current=!1,S.current=w;for(let t=0;t<C.length;t++){let e=g(C[t]);k.includes(e)?(P.delete(e),E.current.delete(e)):!0!==P.get(e)&&P.set(e,!1)}},[C,k.length,k.join("-")]);let V=[];if(w!==M){let t=[...w];for(let e=0;e<C.length;e++){let i=C[e],r=g(i);k.includes(r)||(t.splice(e,0,i),V.push(i))}return"wait"===h&&V.length&&(t=V),j(y(t)),A(w),null}let{forceRender:R}=(0,i.useContext)(r.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:C.map(t=>{let i=g(t),r=(!c||!!x)&&(w===C||k.includes(i));return(0,e.jsx)(p,{isPresent:r,initial:(!T.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:h,root:v,onExitComplete:r?void 0:()=>
9{if(E.current.has(i)||!P.has(i))return;E.current.add(i),P.set(i,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(R?.(),j(S.current),c&&b?.(),l&&l())},anchorX:d,anchorY:m,children:t},i)})})}],88653)},310542,t=>{"use strict";var e=t.i(560140),i=t.i(930551),r=t.i(486427),n=t.i(965566),s=t.i(271645),o=t.i(260830),a=t.i(287022);function l(t,e){let i,r=()=>{let{currentTime:r}=e,n=(null===r?0:r.value)/100;i!==n&&t(n),i=n};return a.frame.preUpdate(r,!0),()=>(0,a.cancelFrame)(r)}function u(t){return!("u"<typeof window)&&(t?(0,i.supportsViewTimeline)():(0,i.supportsScrollTimeline)())}var h=t.i(661327),c=t.i(783920),d=t.i(325791);let p=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),m={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function f(t,e,i,r){let n=i[e],{length:s,position:o}=m[e],a=n.current,l=i.time;n.current=Math.abs(t[`scroll${o}`]),n.scrollLength=t[`scroll${s}`]-t[`client${s}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,c.progress)(0,n.scrollLength,n.current);let u=r-l;n.velocity=u>50?0:(0,d.velocityPerSecond)(n.current-a,u)}var g=t.i(344230),y=t.i(515923),v=t.i(476959),x=t.i(772846);let b={start:0,center:.5,end:1};function w(t,e,i=0){let r=0;if(t in b&&(t=b[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?r=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?r=e/100*document.documentElement.clientWidth:t.endsWith("vh")?r=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(r=e*t),i+r}let k=[0,0],T=[[0,0],[1,1]],S={x:0,y:0},P=new WeakMap,E=new WeakMap,M=new WeakMap,A=new WeakMap,C=new WeakMap,j=t=>t===document.scrollingElement?window:t;function V(t,{container:e=document.scrollingElement,trackContentSize:i=!1,...r}={}){if(!e)return o.noop;let n=M.get(e);n||(n=new Set,M.set(e,n));let s=function(t,e,i,r={}){return{measure:e=>{!function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let r=e;for(;r&&r!==t;)i.x.targetOffset+=r.offsetLeft,i.y.targetOffset+=r.offsetTop,r=r.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}(t,r.target,i),f(t,"x",i,e),f(t,"y",i,e),i.time=e,(r.offset||r.target)&&function(t,e,i){let{offset:r=T}=i,{target:n=t,axis:s="y"}=i,o="y"===s?"height":"width",a=n!==t?function(t,e){let i={x:0,y:0},r=t;for(;r&&r!==e;)if((0,x.isHTMLElement)(r))i.x+=r.offsetLeft,i.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let t=r.getBoundingClientRect(),e=(r=r.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(r instanceof SVGGraphicsElement){let{x:t,y:e}=r.getBBox();i.x+=t,i.y+=e;let n=null,s=r.parentNode;for(;!n;)"svg"===s.tagName&&(n=s),s=r.parentNode;r=n}else break;return i}(n,t):S,l=n===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,c=r.length;for(let t=0;t<c;t++){let i=function(t,e,i,r){let n=Array.isArray(t)?t:k,s=0;return"number"==typeof t?n=[t,t]:"string"==typeof t&&(n=(t=t.trim()).includes(" ")?t.split(" "):[t,b[t]?t:"0"]),(s=w(n[0],i,r))-w(n[1],e)}(r[t],u[o],l[o],a[s]);h||i===e[s].interpolatorOffsets[t]||(h=!0),e[s].offset[t]=i}h&&(e[s].interpolate=(0,g.interpolate)(e[s].offset,(0,y.defaultOffset)(r),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=(0,v.clamp)(0,1,e[s].interpolate(e[s].current))}(t,i,r)},notify:()=>e(i)}}(e,t,{time:0,x:p(),y:p()},r);if(n.add(s),!P.has(e)){let t=()=>{for(let t of n)t.measure(a.frameData.timestamp);a.frame.preUpdate(i)},i=()=>{for(let t of n)t.notify()},r=()=>a.frame.read(t);P.set(e,r);let s=j(e);window.addEventListener("resize",r),e!==document.documentElement&&E.set(e,(0,h.resize)(e,r)),s.addEventListener("scroll",r),r()}if(i&&!C.has(e)){let t=P.get(e),i={width:e.scrollWidth,height:e.scrollHeight};A.set(e,i);let r=a.frame.read(()=>{let r=e.scrollWidth,n=e.scrollHeight;(i.width!==r||i.height!==n)&&(t(),i.width=r,i.height=n)},!0);C.set(e,r)}let l=P.get(e);return a.frame.read(l,!1,!0),()=>{(0,a.cancelFrame)(l);let t=M.get(e);if(!t||(t.delete(s),t.size))return;let i=P.get(e);P.delete(e),i&&(j(e).removeEventListener("scroll",i),E.get(e)?.(),window.removeEventListener("resize",i));let r=C.get(e);r&&((0,a.cancelFrame)(r),C.delete(e)),A.delete(e)}}let R=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[T,"contain"]],L={start:0,end:1};function D(t){if(!t)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[e,i]of R)if(function(t,e){let i=function(t){if(2!==t.length)return;let e=[];for(let i of t)if(Array.isArray(i))e.push(i);else{if("string"!=typeof i)return;let t=function(t){let e=t.trim().split(/\s+/);if(2!==e.length)return;let i=L[e[0]],r=L[e[1]];if(void 0!==i&&void 0!==r)return[i,r]}(i);if(!t)return;e.push(t)}return e}(t);if(!i)return!1;for(let t=0;t<2;t++){let r=i[t],n=e[t];if(r[0]!==n[0]||r[1]!==n[1])return!1}return!0}(t,e))return{rangeStart:`${i} 0%`,rangeEnd:`${i} 100%`}}let N=new Map;function B(t){let e={value:0},i=V(i=>{e.value=100*i[t.axis].progress},t);return{currentTime:e,cancel:i}}function F({source:t,container:e,...i}){let{axis:r}=i;t&&(e=t);let n=N.get(e);n||(n=new Map,N.set(e,n));let s=i.target??"self",o=n.get(s);o||(o={},n.set(s,o));let a=r+(i.offset??[]).join(",");return o[a]||(i.target&&u(i.target)?D(i.offset)?o[a]=new ViewTimeline({subject:i.target,axis:r}):o[a]=B({container:e,...i}):u()?o[a]=new ScrollTimeline({source:e,axis:r}):o[a]=B({container:e,...i})),o[a]}function O(t,{axis:e="y",container:i=document.scrollingElement,...r}={}){let n,s,a;
9if(!i)return o.noop;let h={axis:e,container:i,...r};return"function"==typeof t?function(t,e){return 2===t.length||e&&(e.target||e.offset)?V(i=>{t(i[e.axis].progress,i)},e):l(t,F(e))}(t,h):(n=F(h),s=h.target?D(h.offset):void 0,a=h.target?u(h.target)&&!!s:u(),t.attachTimeline({timeline:a?n:void 0,...s&&a&&{rangeStart:s.rangeStart,rangeEnd:s.rangeEnd},observe:t=>(t.pause(),l(e=>{t.time=t.iterationDuration*e},n))}))}var I=t.i(947414),z=t.i(674008);let W=()=>({scrollX:(0,r.motionValue)(0),scrollY:(0,r.motionValue)(0),scrollXProgress:(0,r.motionValue)(0),scrollYProgress:(0,r.motionValue)(0)}),$=t=>!!t&&!t.current;function U(t,i,r,n){return{factory:s=>{let o,a=()=>{$(r)||$(n)?e.microtask.read(a):o=O(s,{...i,axis:t,container:r?.current||void 0,target:n?.current||void 0})};return e.microtask.read(a),()=>{(0,e.cancelMicrotask)(a),o?.()}},times:[0,1],keyframes:[0,1],ease:t=>t,duration:1}}t.s(["useScroll",0,function({container:t,target:r,...o}={}){var a;let l=(0,I.useConstant)(W);a=o.offset,!("u"<typeof window)&&(r?(0,i.supportsViewTimeline)()&&!!D(a):(0,i.supportsScrollTimeline)())&&(l.scrollXProgress.accelerate=U("x",o,t,r),l.scrollYProgress.accelerate=U("y",o,t,r));let u=(0,s.useRef)(null),h=(0,s.useRef)(!1),c=(0,s.useCallback)(()=>(u.current=O((t,{x:e,y:i})=>{l.scrollX.set(e.current),l.scrollXProgress.set(e.progress),l.scrollY.set(i.current),l.scrollYProgress.set(i.progress)},{...o,container:t?.current||void 0,target:r?.current||void 0}),()=>{u.current?.()}),[t,r,JSON.stringify(o.offset)]);return(0,z.useIsomorphicLayoutEffect)(()=>{if(h.current=!1,!($(t)||$(r)))return c();h.current=!0},[c]),(0,s.useEffect)(()=>{let i;if(!h.current)return;let s=()=>{let e=$(t),s=$(r);(0,n.invariant)(!e,"Container ref is defined but not hydrated","use-scroll-ref"),(0,n.invariant)(!s,"Target ref is defined but not hydrated","use-scroll-ref"),e||s||(i=c())};return e.microtask.read(s),()=>{(0,e.cancelMicrotask)(s),i?.()}},[c]),l}],310542)},716327,t=>{"use strict";var e=t.i(26495);t.s(["ChevronDown",()=>e.default])},584026,t=>{"use strict";var e=t.i(130716);t.s(["ShieldCheck",()=>e.default])},532181,476959,130162,83411,965566,260830,287022,763074,133887,930551,997307,560140,325791,486427,472094,571164,138544,617218,100706,275737,386783,231178,737806,821476,947414,674008,721748,528409,893544,430151,783920,344230,215932,515923,83352,372323,889026,749652,661327,259073,768705,836331,772846,t=>{"use strict";let e,i,r,n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set([...n,"pathRotation"]),o=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",0,o],476959);let a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>o(0,1,t)},u={...a,default:1},h=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,d=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(t,e)=>i=>!!("string"==typeof i&&d.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(c);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:t=>Math.round(o(0,255,t))},g={test:p("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+f.transform(t)+", "+f.transform(e)+", "+f.transform(i)+", "+h(l.transform(r))+")"},y={test:p("#"),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:g.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),b=v("%"),w=v("px"),k=v("vh"),T=v("vw"),S={...b,parse:t=>b.parse(t)/100,transform:t=>b.transform(100*t)},P={test:p("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+b.transform(h(e))+", "+b.transform(h(i))+", "+h(l.transform(r))+")"},E={test:t=>g.test(t)||y.test(t)||P.test(t),parse:t=>g.test(t)?g.parse(t):P.test(t)?P.parse(t):y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?g.transform(t):P.transform(t),getAnimatableNone:t=>{let e=E.parse(t);return e.alpha=0,E.transform(e)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",C="color",j=/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 V(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(j,t=>(E.test(t)?(r.color.push(s),n.push(C),i.push(E.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(A),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function R({split:t,types:e}){let i=t.length;return r=>{let n="";for(let s=0;s<i;s++)if(n+=t[s],void 0!==r[s]){let t=e[s];t===A?n+=h(r[s]):t===C?n+=E.transform(r[s]):n+=r[s]}return n}}let L={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(M)?.length||0)>0},parse:function(t){return V(t).values},createTransformer:function(t){return R(V(t))},getAnimatableNone:function(t){let e=V(t);return R(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:E.test(t)?E.getAnimatableNone(t):t)(t,e.split[i])))}},D=new Set(["brightness","contrast","saturate","opacity"]);function N(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(c)||[];
9if(!r)return t;let n=i.replace(r,""),s=+!!D.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let B=/\b([a-z-]*)\(.*?\)/gu,F={...L,getAnimatableNone:t=>{let e=t.match(B);return e?e.map(N).join(" "):t}},O={...L,getAnimatableNone:t=>{let e=L.parse(t);return L.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},I={...a,transform:Math.round},z={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,rotate:x,pathRotation:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:S,originY:S,originZ:w,zIndex:I,fillOpacity:l,strokeOpacity:l,numOctaves:I},W={...z,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:F,WebkitFilter:F,mask:O,WebkitMask:O},$=t=>W[t],U=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:U(),y:U()}),G=()=>({min:0,max:0}),H=()=>({x:G(),y:G()});t.s(["createBox",0,H,"createDelta",0,K],130162);let Y=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",0,Y],83411);let X=new Set(["width","height","top","left","right","bottom",...n]),_=t=>e=>e.test(t),q=[a,w,b,x,T,k,{test:t=>"auto"===t,parse:t=>t}],Z=t=>q.find(_(t));var J,Q=t.i(247167);let tt=()=>{},te=()=>{};Q.default,t.s(["invariant",0,te,"warning",0,tt],965566);let ti=t=>e=>"string"==typeof e&&e.startsWith(t),tr=ti("--"),tn=ti("var(--"),ts=t=>!!tn(t)&&to.test(t.split("/*")[0].trim()),to=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ta(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,th=t=>td(tu(Math.atan2(t[1],t[0]))),tc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:th,rotateZ:th,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},td=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:t=>(tp(t)+tm(t))/2,rotateX:t=>td(tu(Math.atan2(t[6],t[5]))),rotateY:t=>td(tu(Math.atan2(-t[2],t[0]))),rotateZ:th,rotate:th,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tg(t){return+!!t.includes("scale")}function ty(t,e){let i,r;if(!t||"none"===t)return tg(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tf,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tc,r=e}if(!r)return tg(e);let s=i[e],o=r[1].split(",").map(tv);return"function"==typeof s?s(o):o[s]}function tv(t){return parseFloat(t.trim())}let tx=t=>t===a||t===w,tb=new Set(["x","y","z"]),tw=n.filter(t=>!tb.has(t)),tk={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-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})=>ty(e,"x"),y:(t,{transform:e})=>ty(e,"y")};tk.translateX=tk.x,tk.translateY=tk.y;let tT=t=>t;t.s(["noop",0,tT],260830);let tS={},tP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tE(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tP.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,r=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&r?e:i;return n&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,r){n=!0;return}r=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),r=!1,n&&(n=!1,l.process(t))}};return l}(s),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let s=tS.useManualTiming,o=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tP.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;e<tP.length;e++)o[tP[e]].cancel(t)},state:n,steps:o}}let{schedule:tM,cancel:tA,state:tC,steps:tj}=tE("u">typeof requestAnimationFrame?requestAnimationFrame:tT,!0);t.s(["cancelFrame",0,tA,"frame",0,tM,"frameData",0,tC,"frameSteps",0,tj],287022);let tV=new Set,tR=!1,tL=!1,tD=!1;function tN(){if(tL){let t=Array.from(tV).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>
9{let e,r=(e=[],tw.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)})}tL=!1,tR=!1,tV.forEach(t=>t.complete(tD)),tV.clear()}function tB(){tV.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tL=!0)})}class tF{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?(tV.add(this),tR||(tR=!0,tM.read(tB),tM.resolveKeyframes(tN))):(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;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tV.delete(this)}cancel(){"scheduled"===this.state&&(tV.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tO=new Set([F,O]);function tI(t,e){let i=$(t);return tO.has(i)||(i=L),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tz=new Set(["auto","none","0"]);class tW extends tF{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.length;i++){let r=t[i];if("string"==typeof r&&ts(r=r.trim())){let n=function t(e,i,r=1){te(`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return ts(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!X.has(i)||2!==t.length)return;let[r,n]=t,s=Z(r),o=Z(n);if(ta(r)!==ta(n)&&tk[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tk[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!tz.has(e)&&V(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=tI(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tk[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=tk[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let t$=t=>1e3*t,tU=t=>t/1e3;function tK(t,e){-1===t.indexOf(e)&&t.push(e)}function tG(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["millisecondsToSeconds",0,tU,"secondsToMilliseconds",0,t$],763074),t.s(["addUniqueItem",0,tK,"removeItem",0,tG],133887);class tH{constructor(){this.subscriptions=[]}add(t){return tK(this.subscriptions,t),()=>tG(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<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tY(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tX(t){let e;return()=>(void 0===e&&(e=t()),e)}let t_={};function tq(t,e){let i=tX(t);return()=>t_[e]??i()}let tZ=tq(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tJ=tq(()=>void 0!==window.ViewTimeline,"viewTimeline");t.s(["supportsScrollTimeline",0,tZ,"supportsViewTimeline",0,tJ],930551);let tQ=t=>null!==t;function t0(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(tQ),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}class t1{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 t2=t=>Array.isArray(t)&&"number"==typeof t[0],t5=tq(()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t3=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},t4=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,t6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t4([0,.65,.55,1]),circOut:t4([.55,0,1,.45]),backIn:t4([.31,.01,.66,-.59]),backOut:t4([.33,1.53,.69,.99])};function t7(t){return"function"==typeof t&&"applyToOptions"in t}t.s(["isGenerator",0,t7],997307);class t8 extends t1{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!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,te(t.type);const l=function({type:t,...e}){return t7(t)&&t5()?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 c=function t(e,i){if(e)return"function"==typeof e?t5()?t3(e,i):"ease-out":t2(e)?t4(e):Array.isArray(e)?e.map(e=>t(e,i)||t6.easeOut):t6[e]}(a,n);Array.isArray(c)&&(h.easing=c);let d={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(h,d)}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=t0(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tY(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return tU(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tU(t)}get time(){return tU(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=t$(t),e&&this.animation.pause()}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 this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tZ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tT):r(this)}}let t9=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:et,cancel:ee}=tE(queueMicrotask,!1);function ei(){e=void 0}t.s(["cancelMicrotask",0,ee,"microtask",0,et],560140);let er={now:()=>(void 0===e&&er.set(tC.isProcessing||tS.useManualTiming?tC.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(ei)}},en=(t,e)=>e?1e3/e*t:0;t.s(["velocityPerSecond",0,en],325791);let es={current:void 0};class eo{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=er.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=er.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 tH);let i=this.events[t].add(e);return"change"===t?()=>{i(),tM.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 es.current&&es.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=er.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return en(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}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 ea(t,e){return new eo(t,e)}t.s(["collectMotionValues",0,es,"motionValue",0,ea],486427);let el=[...q,E,L],eu=new WeakMap;function eh(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ec(t){return"string"==typeof t||Array.isArray(t)}t.s(["visualElementStore",0,eu],472094);let ed=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ep=["initial",...ed];function em(t){return eh(t.animate)||ep.some(e=>ec(t[e]))}function ef(t){return!!(em(t)||t.variants)}let eg={current:null},ey={current:!1};t.s(["hasReducedMotionListener",0,ey,"prefersReducedMotion",0,eg],571164);let ev="u">typeof window;function ex(){if(ey.current=!0,ev)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eg.current=t.matches;t.addEventListener("change",e),e()}else eg.current=!1}function eb(t){let e=[{},{}];
9return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ew(t,e,i,r){if("function"==typeof e){let[n,s]=eb(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]=eb(r);e=e(void 0!==i?i:t.custom,n,s)}return e}t.s(["initPrefersReducedMotion",0,ex],138544);let ek=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eT={};function eS(t){eT=t}function eP(){return eT}class eE{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tF,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=er.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tM.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=em(e),this.isVariantNode=ef(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&Y(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,eu.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ey.current||ex(),this.shouldReduceMotion=eg.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tA(this.notifyUpdate),tA(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;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&t9.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=e.accelerate,a=new t8({element:this.current,name:t,keyframes:r,times:n,ease:s,duration:t$(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=s.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tM.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i()})}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 eT){let e=eT[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];
9e.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):H()}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;e<ek.length;e++){let i=ek[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(Y(n))t.addValue(r,n);else if(Y(s))t.addValue(r,ea(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,ea(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.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=ea(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,!el.find(_(r))&&L.test(e)&&(i=tI(t,e))}this.setBaseTarget(t,Y(i)?i.get():i)}return Y(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=ew(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||Y(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 tH),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){et.render(this.render)}}t.s(["VisualElement",0,eE,"getFeatureDefinitions",0,eP,"setFeatureDefinitions",0,eS],617218);class eM extends eE{constructor(){super(...arguments),this.KeyframeResolver=tW}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[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;Y(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eA(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eC=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ej={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eV=n.length;
9function eR(t,e,i){let{style:r,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(s.has(t)){l=!0;continue}if(tr(t)){o[t]=i;continue}{let e=eC(i,z[t]);t.startsWith("origin")?(u=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",s=!0;for(let o=0;o<eV;o++){let a=n[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eC(l,z[a]);if(!u){s=!1;let e=ej[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(s=!1,r+=`rotate(${eC(o,z.pathRotation)}) `),r=r.trim(),i?r=i(e,s?"":r):s&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let eL={offset:"stroke-dashoffset",array:"stroke-dasharray"},eD={offset:"strokeDashoffset",array:"strokeDasharray"},eN=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eB(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eR(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eN))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?eL:eD;t[s.offset]=`${-r}`,t[s.array]=`${e} ${i}`}(c,n,s,o,!1)}let eF=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"]),eO=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eI(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}let ez=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function eW(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let e$={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!w.test(t))return t;else t=parseFloat(t);let i=eW(t,e.target.x),r=eW(t,e.target.y);return`${i}% ${r}%`}},eU=(t,e,i)=>t+(e-t)*i;t.s(["mixNumber",0,eU],100706);let eK={borderRadius:{...e$,applyTo:[...ez]},borderTopLeftRadius:e$,borderTopRightRadius:e$,borderBottomLeftRadius:e$,borderBottomRightRadius:e$,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=L.parse(t);if(r.length>5)return t;let n=L.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=eU(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 eG(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eK[t]||"opacity"===t)}function eH(t,e,i){let r=t.style,n=e?.style,s={};if(!r)return s;for(let e in r)(Y(r[e])||n&&Y(n[e])||eG(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=r[e]);return s}function eY(t,e,i){let r=eH(t,e,i);for(let i in t)(Y(t[i])||Y(e[i]))&&(r[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class eX extends eM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=H}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=$(e);return t&&t.default||0}return e=eF.has(e)?e:eA(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eY(t,e,i)}build(t,e,i){eB(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in eI(t,e,void 0,r),e.attrs)t.setAttribute(eF.has(i)?i:eA(i),e.attrs[i])}mount(t){this.isSVGTag=eO(t.tagName),super.mount(t)}}function e_({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function eq(t){return void 0===t||1===t}function eZ({scale:t,scaleX:e,scaleY:i}){return!eq(t)||!eq(e)||!eq(i)}function eJ(t){return eZ(t)||eQ(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eQ(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["SVGVisualElement",0,eX],275737);function e0(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function e1(t,e=0,i=1,r,n){t.min=e0(t.min,e,i,r,n),t.max=e0(t.max,e,i,r,n)}function e2(t,{x:e,y:i}){e1(t.x,e.translate,e.scale,e.originPoint),e1(t.y,i.translate,i.scale,i.originPoint)}function e5(t,e){t.min+=e,t.max+=e}function e3(t,e,i,r,n=.5){let s=eU(t.min,t.max,n);e1(t,e,i,s,r)}function e4(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e6(t,e,i){let r=i??t;e3(t.x,e4(e.x,r.x),e.scaleX,e.scale,e.originX),e3(t.y,e4(e.y,r.y),e.scaleY,e.scale,e.originY)}function e7(t,e){return e_(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))}class e8 extends eM{constructor(){super(...arguments),this.type="html",this.renderInstance=eI}mount(t){te(t.style),super.mount(t)}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?tg(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ty(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e7(t,e)}
9build(t,e,i){eR(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eH(t,e,i)}}t.s(["HTMLVisualElement",0,e8],386783);var e9=t.i(271645);let it=["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 ie(t){if("string"!=typeof t||t.includes("-"));else if(it.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var ii=t.i(843476);let ir=(0,e9.createContext)({});t.s(["LayoutGroupContext",0,ir],231178);let is=(0,e9.createContext)({strict:!1}),io=(0,e9.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,io],737806);let ia=(0,e9.createContext)({});function il(t){return Array.isArray(t)?t.join(" "):t}let iu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ih(t,e,i){for(let r in e)Y(e[r])||eG(r,i)||(t[r]=e[r])}let ic=()=>({...iu(),attrs:{}}),id=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ip(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||id.has(t)}let im=t=>!ip(t);try{J=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof J&&(im=t=>t.startsWith("on")?!ip(t):J(t))}catch{}function ig(t){return Y(t)?t.get():t}let iy=(0,e9.createContext)(null);function iv(t){let e=(0,e9.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",0,iy],821476),t.s(["useConstant",0,iv],947414);let ix=t=>(e,i)=>{let r=(0,e9.useContext)(ia),n=(0,e9.useContext)(iy),s=()=>(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]=ig(s[t]);let{initial:o,animate:a}=t,l=em(t),u=ef(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,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!eh(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=ew(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,r,n,t),renderState:e()}})(t,e,r,n);return i?s():iv(s)},ib=ix({scrapeMotionValuesFromProps:eH,createRenderState:iu}),iw=ix({scrapeMotionValuesFromProps:eY,createRenderState:ic}),ik={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"]},iT=!1;function iS(){return!function(){if(iT)return;let t={};for(let e in ik)t[e]={isEnabled:t=>ik[e].some(e=>!!t[e])};eS(t),iT=!0}(),eP()}let iP=Symbol.for("motionComponentSymbol"),iE="data-"+eA("framerAppearId"),iM=(0,e9.createContext)({});function iA(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iC="u">typeof window?e9.useLayoutEffect:e9.useEffect;function ij(t,{forwardMotionProps:e=!1,type:i}={},r,n){r&&function(t){let e=iS();for(let i in t)e[i]={...e[i],...t[i]};eS(e)}(r);let s=i?"svg"===i:ie(t),o=s?iw:ib;function a(i,r){var a;let l,u,h,c={...(0,e9.useContext)(io),...i,layoutId:function({layoutId:t}){let e=(0,e9.useContext)(ir).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=c,p=function(t){let{initial:e,animate:i}=function(t,e){if(em(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ec(e)?e:void 0,animate:ec(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e9.useContext)(ia));return(0,e9.useMemo)(()=>({initial:e,animate:i}),[il(e),il(i)])}(i),m=o(i,d);if(!d&&"u">typeof window){(0,e9.useContext)(is).strict;let e=function(t){let{drag:e,layout:i}=iS();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
9(c);l=e.MeasureLayout,p.visualElement=function(t,e,i,r,n,s){let{visualElement:o}=(0,e9.useContext)(ia),a=(0,e9.useContext)(is),l=(0,e9.useContext)(iy),u=(0,e9.useContext)(io),h=u.reducedMotion,c=u.skipAnimations,d=(0,e9.useRef)(null),p=(0,e9.useRef)(!1);r=r||a.renderer,!d.current&&r&&(d.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let m=d.current,f=(0,e9.useContext)(iM);m&&!m.projection&&n&&("html"===m.type||"svg"===m.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=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&&iA(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(d.current,i,n,f);let g=(0,e9.useRef)(!1);(0,e9.useInsertionEffect)(()=>{m&&g.current&&m.update(i,l)});let y=i[iE],v=(0,e9.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return iC(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,e9.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}(t,m,c,n,e.ProjectionNode,s)}return(0,ii.jsxs)(ia.Provider,{value:p,children:[l&&p.visualElement?(0,ii.jsx)(l,{visualElement:p.visualElement,...c}):null,function(t,e,i,{latestValues:r},n,s=!1,o){let a=(o??ie(t)?function(t,e,i,r){let n=(0,e9.useMemo)(()=>{let i=ic();return eB(i,e,eO(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ih(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},s=(i=t.style||{},ih(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,e9.useMemo)(()=>{let i=iu();return eR(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.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=s,n})(e,r,n,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!Y(t[n])&&(im(n)||!0===i&&ip(n)||!e&&!ip(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,s),u=t!==e9.Fragment?{...l,...a,ref:i}
9:{},{children:h}=e,c=(0,e9.useMemo)(()=>Y(h)?h.get():h,[h]);return(0,e9.createElement)(t,{...u,children:c})}(t,i,(a=p.visualElement,u=(0,e9.useRef)(r),(0,e9.useInsertionEffect)(()=>{u.current=r}),h=(0,e9.useRef)(null),(0,e9.useCallback)(t=>{t&&m.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=u.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):e(t);else e&&(e.current=t)},[a])),m,d,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e9.forwardRef)(a);return l[iP]=t,l}t.s(["useIsomorphicLayoutEffect",0,iC],674008);class iV{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iR(t,e,i){let r=t.getProps();return ew(r,e,void 0!==i?i:r.custom,t)}function iL(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function iD(t,e){let i=t?.[e]??t?.default??t;return i!==t?iL(i,t):i}let iN=t=>Array.isArray(t);function iB(t,e){let i=t.getValue("willChange");if(Y(i)&&i.add)return i.add(e);if(!i&&tS.WillChange){let i=new tS.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iF=(...t)=>t.reduce((t,e)=>i=>e(t(i)));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 iI(t,e){return i=>i>0?e:t}let iz=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},iW=[y,g,P];function i$(t){let e=iW.find(e=>e.test(t));if(tt(`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===P&&(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 iU=(t,e)=>{let i=i$(t),r=i$(e);if(!i||!r)return iI(t,e);let n={...i};return t=>(n.red=iz(i.red,r.red,t),n.green=iz(i.green,r.green,t),n.blue=iz(i.blue,r.blue,t),n.alpha=eU(i.alpha,r.alpha,t),g.transform(n))},iK=new Set(["none","hidden"]);function iG(t,e){return i=>eU(t,e,i)}function iH(t){return"number"==typeof t?iG:"string"==typeof t?ts(t)?iI:E.test(t)?iU:i_:Array.isArray(t)?iY:"object"==typeof t?E.test(t)?iU:iX:iI}function iY(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>iH(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function iX(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=iH(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let i_=(t,e)=>{let i=L.createTransformer(e),r=V(t),n=V(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 tt(`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.`),iI(t,e);if(iK.has(t)&&!n.values.length||iK.has(e)&&!r.values.length)return iK.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iF(iY(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function iq(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eU(t,e,i):iH(t)(t,e)}let iZ=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tM.update(e,t),stop:()=>tA(e),now:()=>tC.isProcessing?tC.timestamp:er.now()}};function iJ(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iQ(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(iJ(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:tU(n)}}t.s(["createGeneratorEasing",0,iQ],721748);let i0=.01,i1=2,i2=.005,i5=.5;function i3(t,e){return t*Math.sqrt(1-e*e)}let i4=["duration","bounce"],i6=["stiffness","damping","mass"];function i7(t,e){return e.some(e=>void 0!==t[e])}function i8(t=.3,e=.3){let i,r,n,s,a,l,u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:c}=u,d=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],m={done:!1,value:d},{stiffness:f,damping:g,mass:y,duration:v,velocity:x,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i7(t,i6)&&i7(t,i4))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*o(.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;tt(t$(10));let a=1-e;a=o(.05,1,a),t=o(.01,10,tU(t)),a<1?(n=e=>{let r=e*a,n=r*t;return .001-(r-i)/i3(e,a)*Math.exp(-n)},s=e=>{let r=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-r),l=i3(Math.pow(e,2),a);return(r*i+i-s)*o*(-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));
9let l=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=t$(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...u,velocity:-tU(u.velocity||0)}),w=x||0,k=g/(2*Math.sqrt(f*y)),T=p-d,S=tU(Math.sqrt(f/y)),P=5>Math.abs(T);if(h||(h=P?i0:i1),c||(c=P?i2:i5),k<1)n=i3(S,k),s=(w+k*S*T)/n,i=t=>p-Math.exp(-k*S*t)*(s*Math.sin(n*t)+T*Math.cos(n*t)),a=k*S*s+T*n,l=k*S*T-s*n,r=t=>Math.exp(-k*S*t)*(a*Math.sin(n*t)+l*Math.cos(n*t));else if(1===k){i=t=>p-Math.exp(-S*t)*(T+(w+S*T)*t);let t=w+S*T;r=e=>Math.exp(-S*e)*(S*t*e-w)}else{let t=S*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-k*S*e),r=Math.min(t*e,300);return p-i*((w+k*S*T)*Math.sinh(r)+t*T*Math.cosh(r))/t};let e=(w+k*S*T)/t,n=k*S*e-T*t,s=k*S*T-e*t;r=e=>{let i=Math.exp(-k*S*e),r=Math.min(t*e,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let E={calculatedDuration:b&&v||null,velocity:t=>t$(r(t)),next:t=>{if(!b&&k<1){let e=Math.exp(-k*S*t),i=Math.sin(n*t),r=Math.cos(n*t),o=p-e*(s*i+T*r);return m.done=Math.abs(t$(e*(a*i+l*r)))<=h&&Math.abs(p-o)<=c,m.value=m.done?p:o,m}let e=i(t);return b?m.done=t>=v:m.done=Math.abs(t$(r(t)))<=h&&Math.abs(p-e)<=c,m.value=m.done?p:e,m},toString:()=>{let t=Math.min(iJ(E),2e4),e=t3(e=>E.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return E}function i9(t,e,i){let r=Math.max(e-5,0);return en(i-t(r),e-r)}function rt({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 c,d,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&&e<a||void 0!==l&&e>l){var i;c=t,d=i8({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i9(x,t,m.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),m)}}}i8.applyToOptions=t=>{let e=iQ(t,100,i8);return t.ease=e.ease,t.duration=t$(e.duration),t.type="keyframes",t},t.s(["spring",0,i8],528409);let re=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function ri(t,e,i,r){return t===e&&i===r?tT:n=>0===n||1===n?n:re(function(t,e,i,r,n){let s,o,a=0;do(s=re(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 rr=ri(.42,0,1,1),rn=ri(0,0,.58,1),rs=ri(.42,0,.58,1),ro=t=>Array.isArray(t)&&"number"!=typeof t[0];t.s(["isEasingArray",0,ro],893544);let ra=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,rl=t=>e=>1-t(1-e);t.s(["reverseEasing",0,rl],430151);let ru=ri(.33,1.53,.69,.99),rh=rl(ru),rc=ra(rh),rd=t=>t>=1?1:(t*=2)<1?.5*rh(t):.5*(2-Math.pow(2,-10*(t-1))),rp=t=>1-Math.sin(Math.acos(t)),rm=rl(rp),rf=ra(rp),rg={linear:tT,easeIn:rr,easeInOut:rs,easeOut:rn,circIn:rp,circInOut:rf,circOut:rm,backIn:rh,backInOut:rc,backOut:ru,anticipate:rd},ry=t=>{if(t2(t)){te(t.length);let[e,i,r,n]=t;return ri(e,i,r,n)}return"string"==typeof t?(te(rg[t],`Invalid easing type '${t}'`),rg[t]):t},rv=(t,e,i)=>{let r=e-t;return r?(i-t)/r:1};function rx(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(te(e.length),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let r=[],n=i||tS.mix||iq,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=iF(Array.isArray(e)?e[i]||tT:e,s)),r.push(s)}return r}(e,r,n),u=l.length,h=i=>{if(a&&i<t[0])return e[0];let r=0;if(u>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=rv(t[r],t[r+1],i);return l[r](n)};return i?e=>h(o(t[0],t[s-1],e)):h}function rb(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=rv(0,e,r);t.push(eU(i,1,n))}}function rw(t){let e=[0];return rb(e,t.length-1),e}function rk({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=ro(r)?r.map(ry):ry(r),o={done:!1,value:e[0]}
9,a=rx((n=i&&i.length===e.length?i:rw(e),n.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||rs).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",0,rv],783920),t.s(["interpolate",0,rx],344230),t.s(["fillOffset",0,rb],215932),t.s(["defaultOffset",0,rw],515923);let rT={decay:rt,inertia:rt,tween:rk,keyframes:rk,spring:i8};function rS(t){"string"==typeof t.type&&(t.type=rT[t.type])}let rP=t=>t/100;class rE extends t1{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==er.now()&&this.tick(er.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;rS(t);let{type:e=rk,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||rk;a!==rk&&"number"!=typeof o[0]&&(this.mixKeyframes=iF(rP,iq(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=iJ(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 i,{generator:r,totalDuration:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return r.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=r;if(d){let t=Math.min(this.currentTime,n)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/l)):"mirror"===p&&(w=a)),b=o(0,1,i)*l}x?(this.delayState.value=c[0],i=this.delayState):i=w.next(b),s&&!x&&(i.value=s(i.value));let{done:k}=i;x||null===u||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return T&&f!==rt&&(i.value=t0(c,this.options,y,this.speed)),g&&g(i.value),T&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return tU(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+tU(t)}get time(){return tU(this.currentTime)}set time(t){t=t$(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i9(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(er.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=tU(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=iZ,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(er.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}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)}}t.s(["JSAnimation",0,rE],83352);let rM={anticipate:rd,backInOut:rc,circInOut:rf};class rA extends t8{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rM&&(t.ease=rM[t.ease])}(t),rS(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(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 a=new rE({...s,autoplay:!1}),l=Math.max(10,er.now()-this.startTime),u=o(0,10,l-10),h=a.sample(l).value,{name:c}=this.options;n&&c&&tY(n,c,h),e.setWithVelocity(a.sample(Math.max(0,l-u)).value,h,u),a.stop()}}let rC=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(L.test(t)||"0"===t)&&!t.startsWith("url("));function rj(t){t.duration=0,t.type="keyframes"}let rV=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rR=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rL=tX(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rD extends t1{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=er.now();const c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tF;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=er.now();let c=!0;
9!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=rC(n,e),a=rC(s,e);return tt(`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||t7(i))&&r)}(t,s,o,a)&&(c=!1,(tS.instantAnimations||!l)&&h?.(t0(t,i,e)),t[0]=t[t.length-1],rj(i),i.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return rL()&&i&&(t9.has(i)||rR.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&rV.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!u&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(d),m=d.motionValue?.owner?.current;if(p)try{n=new rA({...d,element:m})}catch{n=new rE(d)}else n=new rE(d);n.finished.then(()=>{this.notifyFinished()}).catch(tT),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}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(),tD=!0,tB(),tN(),tD=!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 rN={type:"spring",stiffness:500,damping:25,restSpeed:10},rB={type:"keyframes",duration:.8},rF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rO=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rI=(t,e,i,r={},n,o)=>a=>{let l=iD(r,t)||{},u=l.delay||r.delay||0,{elapsed:h=0}=r;h-=t$(u);let c={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:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:n};!function(t){for(let e in t)if(!rO.has(e))return!0;return!1}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?rB:s.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rN:rF)(t,c)),c.duration&&(c.duration=t$(c.duration)),c.repeatDelay&&(c.repeatDelay=t$(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(rj(c),0===c.delay&&(d=!0)),(tS.instantAnimations||tS.skipAnimations||n?.shouldSkipAnimations||l.skipAnimations)&&(d=!0,rj(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!o&&void 0!==e.get()){let t=t0(c.keyframes,l);if(void 0!==t)return void tM.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new rE(c):new rD(c)};function rz(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iL(s,l):l;let u=s?.reduceMotion,h=s?.skipAnimations;r&&(s=r);let c=[],d=n&&t.animationState&&t.animationState.getState()[n],p=s?.path;for(let e in p&&p.animateVisualElement(t,a,s,i,c),a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||d&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(d,e))continue;let o={delay:i,...iD(s||{},e)};h&&(o.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){tM.update(()=>r.set(n));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[iE];if(i){let t=window.MotionHandoffAnimation(i,e,tM);null!==t&&(o.startTime=t,p=!0)}}iB(t,e);let m=u??t.shouldReduceMotion;r.start(rI(e,r,n,m&&X.has(e)?{type:!1}:o,t,p));let f=r.animation;f&&c.push(f)}if(o){let e=()=>tM.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=iR(t,e)||{};for(let e in n={...n,...i}){var s;let i=iN(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ea(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}function rW(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 r$(t,e,i={}){let r=iR(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(rz(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
9return 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(r$(l,e,{...o,delay:i+("function"==typeof r?0:r)+rW(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())}}t.s(["animateTarget",0,rz],372323);let rU=ep.length;function rK(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let rG=[...ed].reverse(),rH=ed.length;function rY(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rX(){return{animate:rY(!0),whileInView:rY(),whileHover:rY(),whileTap:rY(),whileDrag:rY(),whileFocus:rY(),exit:rY()}}let r_=0;function rq(t){return[t("x"),t("y")]}function rZ(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}let rJ={x:!1,y:!1};function rQ(t){return t.max-t.min}function r0(t,e,i,r=.5){t.origin=r,t.originPoint=eU(e.min,e.max,t.origin),t.scale=rQ(i)/rQ(e),t.translate=eU(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 r1(t,e,i,r){r0(t.x,e.x,i.x,r?r.originX:void 0),r0(t.y,e.y,i.y,r?r.originY:void 0)}function r2(t,e,i,r=0){t.min=(r?eU(i.min,i.max,r):i.min)+e.min,t.max=t.min+rQ(e)}function r5(t,e,i,r=0){let n=r?eU(i.min,i.max,r):i.min;t.min=e.min-n,t.max=t.min+rQ(e)}function r3(t,e,i,r){r5(t.x,e.x,i.x,r?.x),r5(t.y,e.y,i.y,r?.y)}let r4=t=>"object"==typeof t&&null!==t;function r6(t){return r4(t)&&"ownerSVGElement"in t}function r7(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}t.s(["isSVGElement",0,r6],889026),t.s(["resolveElements",0,r7],749652);let r8=new WeakMap,r9=(t,e,i)=>(r,n)=>n&&n[0]?n[0][t+"Size"]:r6(r)&&"getBBox"in r?r.getBBox()[e]:r[i],nt=r9("inline","width","offsetWidth"),ne=r9("block","height","offsetHeight");function ni({target:t,borderBoxSize:e}){r8.get(t)?.forEach(i=>{i(t,{get width(){return nt(t,e)},get height(){return ne(t,e)}})})}function nr(t){t.forEach(ni)}let nn=new Set;function ns(t,e){let n;return"function"==typeof t?(nn.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};nn.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{nn.delete(t),nn.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(nr)),(n=r7(t)).forEach(t=>{let r=r8.get(t);r||(r=new Set,r8.set(t,r)),r.add(e),i?.observe(t)}),()=>{n.forEach(t=>{let r=r8.get(t);r?.delete(e),r?.size||i?.unobserve(t)})})}t.s(["resize",0,ns],661327);let no=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),na=new Set(["INPUT","SELECT","TEXTAREA"]),nl=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nu(t){return{point:{x:t.pageX,y:t.pageY}}}function nh(t,e,i,r){return rZ(t,e,t=>nl(t)&&i(t,nu(t)),r)}let nc=({current:t})=>t?t.ownerDocument.defaultView:null,nd=(t,e)=>Math.abs(t-e),np=new Set(["auto","scroll"]);class nm{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=nf(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ny(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(nd(t.x,e.x)**2+nd(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=tC;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.lastRawMoveEventInfo=e,this.lastMoveEventInfo=nf(e,this.transformPagePoint),tM.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ny("pointercancel"===t.type?this.lastMoveEventInfo:nf(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!nl(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const a=nf(nu(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tC;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,ny(a,this.history));const c={passive:!0,capture:!0};
9this.removeListeners=iF(nh(this.contextWindow,"pointermove",this.handlePointerMove,c),nh(this.contextWindow,"pointerup",this.handlePointerUp,c),nh(this.contextWindow,"pointercancel",this.handlePointerUp,c)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(np.has(t.overflowX)||np.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:r.x-e.x,y:r.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,r),tM.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tA(this.updatePoint)}}function nf(t,e){return e?{point:e(t.point)}:t}function ng(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ny({point:t},e){return{point:t,delta:ng(t,nv(e)),offset:ng(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=nv(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>t$(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*t$(.1)&&(i=t[1]);let n=tU(r.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function nv(t){return t[t.length-1]}function nx(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 nb(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function nw(t,e,i){return{min:nk(t,e),max:nk(t,i)}}function nk(t,e){return"number"==typeof t?t:t[e]||0}let nT=new WeakMap;class nS{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=H(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{e&&this.snapToCursor(nu(t).point),this.stopAnimation()},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(rJ[t])return null;else return rJ[t]=!0,()=>{rJ[t]=!1};return rJ.x||rJ.y?null:(rJ.x=rJ.y=!0,()=>{rJ.x=rJ.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),rq(t=>{let e=this.getAxisMotionValue(t).get()||0;if(b.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rQ(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tM.update(()=>n(t,e),!1,!0),iB(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&&tM.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new nm(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:nc(this.visualElement),element:this.visualElement.current})}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&&tM.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!nE(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&&t<e?t=r?eU(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?eU(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&&iA(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:nx(t.x,i,n),y:nx(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:nw(t,"left","right"),y:nw(t,"top","bottom")}}(e),r!==this.constraints&&!iA(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&rq(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||!iA(e))return!1;let r=e.current;te();let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());
9let s=function(t,e,i){let r=e7(t,i),{scroll:n}=e;return n&&(e5(r.x,n.offset.x),e5(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:nb(t.x,s.x),y:nb(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=e_(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(rq(o=>{if(!nE(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(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 iB(this.visualElement,t),i.start(rI(t,i,0,e,this.visualElement,!1))}stopAnimation(){rq(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){rq(e=>{let{drag:i}=this.getProps();if(!nE(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],o=n.get()||0;n.set(t[e]-eU(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iA(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rq(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,a,l,u=e.get();r[t]=(i={min:u,max:u},n=this.constraints[t],s=.5,a=rQ(i),(l=rQ(n))>a?s=rv(n.min,n.max-a,i.min):a>l&&(s=rv(i.min,i.max-l,n.min)),o(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.constraints=!1,this.resolveConstraints(),rq(e=>{if(!nE(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(eU(n,s,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;nT.set(this.visualElement,this);let e=this.visualElement.current,i=nh(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=t.target,s=n!==e&&(na.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(t)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();iA(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,s=ns(i,nP(n=()=>this.scalePositionWithinConstraints())),o=ns(r,nP(n)),t=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tM.read(r);let o=rZ(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rq(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}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 nP(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function nE(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nM=t=>(e,i)=>{t&&tM.update(()=>t(e,i),!1,!0)},nA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nC=e9;function nj(t=!0){let e=(0,e9.useContext)(iy);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=e,s=(0,e9.useId)();(0,e9.useEffect)(()=>{if(t)return n(s)},[t]);let o=(0,e9.useCallback)(()=>t&&r&&r(s),[s,r,t]);return!i&&r?[!1,o]:[!0]}t.s(["usePresence",0,nj],259073);let nV=!1;class nR extends nC.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),nV&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nA.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),nV=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||tM.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),et.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;nV=!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 nL(t){let[e,i]=nj(),r=(0,nC.useContext)(ir);return(0,ii.jsx)(nR,{...t,layoutGroup:r,switchLayoutGroup:(0,nC.useContext)(iM),isPresent:e,safeToRemove:i})}function nD(t,e,i){let r=Y(t)?t:ea(t);return r.start(rI("",r,e,i)),r.animation}t.s(["animateSingleValue",0,nD],768705);function nN(t){return r6(t)&&"svg"===t.tagName}t.s(["isSVGSVGElement",0,nN],836331);let nB=ez.length,nF=t=>"string"==typeof t?parseFloat(t):t,nO=t=>"number"==typeof t||w.test(t);function nI(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nz=n$(0,.5,rm),nW=n$(.5,.95,tT);function n$(t,e,i){return r=>r<t?0:r>e?1:i(rv(t,e,r))}function nU(t,e){t.min=e.min,t.max=e.max}function nK(t,e){nU(t.x,e.x),nU(t.y,e.y)}function nG(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nH(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 nY(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(b.test(e)&&(e=parseFloat(e),e=eU(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eU(s.min,s.max,r);t===s&&(a-=e),t.min=nH(t.min,e,i,a,n),t.max=nH(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let nX=["x","scaleX","originX"],n_=["y","scaleY","originY"];function nq(t,e,i,r){nY(t.x,e,nX,i?i.x:void 0,r?r.x:void 0),nY(t.y,e,n_,i?i.y:void 0,r?r.y:void 0)}function nZ(t){return 0===t.translate&&1===t.scale}function nJ(t){return nZ(t.x)&&nZ(t.y)}function nQ(t,e){return t.min===e.min&&t.max===e.max}function n0(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function n1(t,e){return n0(t.x,e.x)&&n0(t.y,e.y)}function n2(t){return rQ(t.x)/rQ(t.y)}function n5(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class n3{constructor(){this.members=[]}add(t){tK(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(tG(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tG(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)}
9}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=t.options;(void 0===r||r!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let n4=(t,e)=>t.depth-e.depth;class n6{constructor(){this.children=[],this.isDirty=!1}add(t){tK(this.children,t),this.isDirty=!0}remove(t){tG(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(n4),this.isDirty=!1,this.children.forEach(t)}}let n7=["","X","Y","Z"],n8=0;function n9(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function st({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=n8++,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(sr),this.nodes.forEach(sd),this.nodes.forEach(sp),this.nodes.forEach(sn)},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;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new n6)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tH),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=r6(e)&&!nN(e),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;tM.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=er.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tA(s),n())},tM.setup(s,!0),i=()=>tA(s),nA.hasAnimatedSinceResize&&(nA.hasAnimatedSinceResize=!1,this.nodes.forEach(sc))}})}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()||sx,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!n1(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={...iD(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||sc(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(),tA(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.forEac
9h(sm),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[iE];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tM,!(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.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(sa),this.nodes.forEach(so);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(sl);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(su),this.nodes.forEach(sh),this.nodes.forEach(se),this.nodes.forEach(si)):this.nodes.forEach(sl),this.clearAllSnapshots();let t=er.now();tC.delta=o(0,1e3/60,t-tC.timestamp),tC.timestamp=t,tC.isProcessing=!0,tj.update.process(tC),tj.preRender.process(tC),tj.render.process(tC),tC.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,et.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ss),this.sharedNodes.forEach(sf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tM.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tM.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rQ(this.snapshot.measuredBox.x)||rQ(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<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=H()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nJ(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||eJ(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),sk((e=r).x),sk(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return H();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sS))){let{scroll:t}=this.root;t&&(e5(e.x,t.offset.x),e5(e.y,t.offset.y))}return e}removeElementScroll(t){let e=H();if(nK(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nK(e,t),e5(e.x,n.offset.x),e5(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||H();nK(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(e5(r.x,-i.scroll.offset.x),e5(r.y,-i.scroll.offset.y)),eJ(i.latestValues)&&e6(r,i.latestValues,i.layout?.layoutBox)}return eJ(this.latestValues)&&e6(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=H();nK(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];eJ(r.latestValues)&&(r.instance&&(eZ(r.latestValues)&&r.updateSnapshot(),nK(i=H(),r.measurePageBox())),nq(e,r.latestValues,r.snapshot?.layoutBox,i))}return eJ(this.latestValues)&&nq(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tC.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=tC.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=H(),this.targetWithTransforms=H()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,r2(o.x,a.x,l.x,u?.x),r2(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):nK(this.target,this.layout.layoutBox),e2(this.target,this.targetDelta)):nK(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eZ(this.parent.latestValues)||eQ(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=H(),this.relativeTargetOrigin=H(),r3(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),nK(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
9if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tC.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nK(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(e5(t.x,-n.scroll.offset.x),e5(t.y,-n.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,e2(t,s)),r&&eJ(n.latestValues)&&e6(t,n.latestValues,n.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.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=H());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nG(this.prevProjectionDelta.x,this.projectionDelta.x),nG(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),r1(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&n5(this.projectionDelta.x,this.prevProjectionDelta.x)&&n5(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=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1,i){let r,n=this.snapshot,s=n?n.latestValues:{},o={...this.latestValues},a=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=H(),u=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(sv));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,n=p?.(i);if(n?(a.x.translate=n.x,a.x.scale=eU(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=n.y,a.y.scale=eU(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(sg(a.x,t.x,i),sg(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,y,v;r3(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,sy(f.x,g.x,y.x,v),sy(f.y,g.y,y.y,v),r&&(h=this.relativeTarget,m=r,nQ(h.x,m.x)&&nQ(h.y,m.y))&&(this.isProjectionDirty=!1),r||(r=H()),nK(r,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,r,n,s){n?(t.opacity=eU(0,i.opacity??1,nz(r)),t.opacityExit=eU(e.opacity??1,0,nW(r))):s&&(t.opacity=eU(e.opacity??1,i.opacity??1,r));for(let n=0;n<nB;n++){let s=ez[n],o=nI(e,s),a=nI(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nO(o)===nO(a)?(t[s]=Math.max(eU(nF(o),nF(a),r),0),(b.test(a)||b.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eU(e.rotate||0,i.rotate||0,r))}(o,s,this.latestValues,i,d,c)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tA(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tM.update(()=>{nA.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ea(0)),this.motionValue.jump(0,!1),this.currentAnimation=nD(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let 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&&sT(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||H();let e=rQ(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rQ(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}nK(e,i),e6(e,n),r1(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new n3),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;
9return 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&&n9("z",t,r,this.animationValues);for(let e=0;e<n7.length;e++)n9(`rotate${n7[e]}`,t,r,this.animationValues),n9(`skew${n7[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ig(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ig(e?.pointerEvents)||""),this.hasProjected&&!eJ(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:n,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotate(${n}deg) `),s&&(r+=`rotateX(${s}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,eK){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eK[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?ig(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(so),this.root.sharedNodes.clear()}}}function se(t){t.updateLayout()}function si(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;if("size"===n)rq(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=rQ(r);r.min=i[t].min,r.max=r.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";nU(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else sT(n,e.layoutBox,i)&&rq(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=rQ(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=K();r1(o,i,e.layoutBox);let a=K();s?r1(a,t.applyTransform(r,!0),e.measuredBox):r1(a,i,e.layoutBox);let l=!nJ(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=t.options.layoutAnchor||void 0,a=H();r3(a,e.layoutBox,n.layoutBox,o);let l=H();r3(l,i,s.layoutBox,o),n1(a,l)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,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 sr(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
9isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ss(t){t.clearSnapshot()}function so(t){t.clearMeasurements()}function sa(t){t.isLayoutDirty=!0,t.updateLayout()}function sl(t){t.isLayoutDirty=!1}function su(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function sh(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sc(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sd(t){t.resolveTargetDelta()}function sp(t){t.calcProjection()}function sm(t){t.resetSkewAndRotation()}function sf(t){t.removeLeadSnapshot()}function sg(t,e,i){t.translate=eU(e.translate,0,i),t.scale=eU(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sy(t,e,i,r){t.min=eU(e.min,i.min,r),t.max=eU(e.max,i.max,r)}function sv(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let sx={duration:.45,ease:[.4,0,.1,1]},sb=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sw=sb("applewebkit/")&&!sb("chrome/")?Math.round:tT;function sk(t){t.min=sw(t.min),t.max=sw(t.max)}function sT(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(n2(e)-n2(i)))}function sS(t){return t!==t.root&&t.scroll?.wasRoot}let sP=st({attachResizeListener:(t,e)=>rZ(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sE={current:void 0},sM=st({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sE.current){let t=new sP({});t.mount(window),t.setOptions({layoutScroll:!0}),sE.current=t}return sE.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sA(t,e){let i=r7(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function sC(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&tM.postRender(()=>n(e,nu(e)))}function sj(t){return r4(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}t.s(["isHTMLElement",0,sj],772846);let sV=(t,e)=>!!e&&(t===e||sV(t,e.parentElement)),sR=new WeakSet;function sL(t){return e=>{"Enter"===e.key&&t(e)}}function sD(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sN(t){return nl(t)&&!(rJ.x||rJ.y)}let sB=new WeakSet;function sF(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&&tM.postRender(()=>n(e,nu(e)))}let sO=new WeakMap,sI=new WeakMap,sz=t=>{let e=sO.get(t.target);e&&e(t)},sW=t=>{t.forEach(sz)},s$={some:0,all:1},sU=function(t,e){if("u"<typeof Proxy)return ij;let i=new Map,r=(i,r)=>ij(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,ij(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends iV{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=>r$(t,e,i)));else if("string"==typeof e)r=r$(t,e,i);else{let n="function"==typeof e?iR(t,e,i.custom):e;r=Promise.all(rz(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rX(),r=!0,n=!1,s=e=>(i,r)=>{let n=iR(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 o(o){let{props:a}=t,l=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;t<rU;t++){let r=ep[t],n=e.props[r];(ec(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<rH;e++){var p,m;let f=rG[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=ec(y),x=f===o?g.isActive:null;!1===x&&(d=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(r||n)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...c},!g.isActive&&null===x||!y&&!g.prevProp||eh(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!rK(m,p)),k=w||f===o&&g.isActive&&!b&&v||e>d&&v,T=!1,S=Array.isArray(y)?y:[y],P=S.reduce(s(f),{});!1===x&&(P={});let{prevResolvedValues:E={}}=g,M={...E,...P},A=e=>{k=!0,h.has(e)&&(T=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
9i&&(i.liveStyle=!1)};for(let t in M){let e=P[t],i=E[t];if(!c.hasOwnProperty(t))(iN(e)&&iN(i)?!rK(e,i)||w:e!==i)?null!=e?A(t):h.add(t):void 0!==e&&h.has(t)?A(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(c={...c,...P}),(r||n)&&t.blockInitialAnimation&&(k=!1);let C=b&&w,j=!C||T;k&&j&&u.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(r||n)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=iR(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=rW(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=iR(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),u.push({animation:e})}let f=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,n=!1,f?e(u):Promise.resolve()}return{animateChanges:o,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=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rX(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eh(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 iV{constructor(){super(...arguments),this.id=r_++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iR(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...r}=i;for(let t in r)this.node.getValue(t)?.jump(r[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
9e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iV{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();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:s$[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)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;sI.has(i)||sI.set(i,{});let r=sI.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(sW,{root:t,...e})),r[n]}(a),sO.set(t,l),e.observe(t),()=>{sO.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iV{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,n,s]=sA(t,i),o=t=>{let r=t.currentTarget;if(!sN(t)||sB.has(t))return;sR.add(r),i.stopPropagation&&sB.add(t);let s=e(r,t),o={...n,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),sR.has(r)&&sR.delete(r),sN(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,r===window||r===document||i.useGlobalTarget||sV(r,t.target))},u=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),sj(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=sL(()=>{if(sR.has(i))return;sD(i,"down");let t=sL(()=>{sD(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sD(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),no.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sF(this.node,e,"Start"),(t,{success:e})=>sF(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iV{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=iF(rZ(this.node.current,"focus",()=>this.onFocus()),rZ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iV{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=sA(t,i);return r.forEach(t=>{let i,r=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||rJ.x||rJ.y)return;s=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(sC(this.node,e,"Start"),t=>sC(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iV{constructor(){super(...arguments),this.removePointerDownListener=tT}onPointerDown(t){this.session=new nm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nc(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:nM(t),onStart:nM(e),onMove:nM(i),onEnd:(t,e)=>{delete this.session,r&&tM.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=nh(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 iV{constructor(t){super(t),this.removeGroupControls=tT,this.removeListeners=tT,this.controls=new nS(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tT}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sM,MeasureLayout:nL},layout:{ProjectionNode:sM,MeasureLayout:nL}},(t,e)=>e.isSVG??ie(t)?new eX(e):new e8(e,{allowProjection:t!==e9.Fragment}));t.s(["motion",0,sU],532181)},794909,(t,e,i)=>{"use strict";t.i(247167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return h},getImageProps:function(){return u}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=t.r(555682),o=t.r(908927),a=t.r(605500),l=s._(t.r(1948));function u(t){let{props:e}=(0,o.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
9ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let h=a.Image},657688,(t,e,i)=>{e.exports=t.r(794909)},837809,t=>{"use strict";var e=t.i(843476),i=t.i(271645),r=t.i(532181),n=t.i(88653),s=t.i(310542),o=t.i(716327),a=t.i(334780),a=a,l=t.i(929025),l=l,u=t.i(915291),u=u,h=t.i(263676),c=t.i(948148),d=t.i(618566),p=t.i(657688),m=t.i(522016),f=t.i(975157),g=t.i(363178),y=t.i(906815),y=y,v=t.i(844071),v=v;function x({className:t}){let{theme:r,setTheme:n}=(0,g.useTheme)(),[s,o]=(0,i.useState)(!1);if((0,i.useEffect)(()=>o(!0),[]),!s)return(0,e.jsx)("div",{className:(0,f.cn)("h-6 w-6",t)});let a="dark"===r;return(0,e.jsx)("button",{onClick:()=>n(a?"light":"dark"),className:(0,f.cn)("flex h-6 w-6 items-center justify-center text-text-muted cursor-pointer transition-colors hover:text-text-primary",t),"aria-label":a?"Switch to light mode":"Switch to dark mode",title:a?"Light mode":"Dark mode",children:a?(0,e.jsx)(y.default,{className:"h-4 w-4"}):(0,e.jsx)(v.default,{className:"h-4 w-4"})})}var b=t.i(769980);let w=[{key:"campaign",labelKey:"menu.campaign",links:[{labelKey:"menu.about_skg",href:"#about",absolute:!1},{labelKey:"menu.our_work",href:"#work",absolute:!1},{labelKey:"menu.statistics",href:"#stats-heading",absolute:!1},{labelKey:"menu.past_results",href:"/past-results",absolute:!0},{labelKey:"menu.faq",href:"/faq",absolute:!0}]},{key:"community",labelKey:"menu.community",links:[{labelKey:"menu.how_to_help",href:"#help",absolute:!1},{labelKey:"menu.discord",href:"https://discord.gg/TCE6uXwsBe",absolute:!0},{labelKey:"menu.reddit",href:"https://www.reddit.com/r/StopKillingGames/",absolute:!0}]},{key:"press",labelKey:"menu.press",links:[{labelKey:"menu.press_center",href:"/press",absolute:!0},{labelKey:"menu.newsletter",href:"/press#newsletter",absolute:!0},{labelKey:"menu.releases",href:"/press#press-releases",absolute:!0}]},{key:"about",labelKey:"menu.about",links:[{labelKey:"menu.team",href:"/staff",absolute:!0},{labelKey:"menu.eu_region",href:"/regions/eu",absolute:!0},{labelKey:"menu.us_region",href:"/regions/us",absolute:!0},{labelKey:"menu.partner",href:"#partner",absolute:!1}]}],k=[{code:"en",label:"EN"},{code:"fr",label:"FR"},{code:"de",label:"DE"}];t.s(["Navbar",0,function(){var t;let g=(0,c.useTranslations)("nav"),[y,v]=(0,i.useState)(!1),[T,S]=(0,i.useState)(!1),[P,E]=(0,i.useState)(!1),[M,A]=(0,i.useState)(null),C=(0,i.useRef)(null),[j,V]=(0,i.useState)(!1),{scrollY:R}=(0,s.useScroll)(),L=(0,d.usePathname)(),D=(0,i.useRef)(null),N=L.split("/")[1]||"en";t=t=>{V(t>50)},(0,i.useInsertionEffect)(()=>R.on("change",t),[R,"change",t]),(0,i.useEffect)(()=>{let t=()=>{window.innerWidth>=1024&&v(!1)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,i.useEffect)(()=>{let t=t=>{C.current&&!C.current.contains(t.target)&&E(!1)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[]);let B=t=>{let e=L.split("/");e[1]=t,window.location.assign(e.join("/")+window.location.search+window.location.hash)},F=()=>{D.current&&clearTimeout(D.current),S(!0)},O=j||T?"bg-surface-base lg:bg-surface-base/95 lg:backdrop-blur-md":"bg-surface-base lg:bg-transparent",I=j||T?"border-border-subtle":"border-border-subtle lg:border-transparent";return(0,e.jsx)("nav",{"aria-label":"Main navigation",className:(0,f.cn)("fixed top-0 z-50 w-full border-b transition-all duration-200",O,I),style:{paddingTop:"env(safe-area-inset-top)"},onMouseLeave:()=>{D.current=setTimeout(()=>S(!1),200)},children:(0,e.jsxs)(r.motion.div,{initial:{y:-100},animate:{y:0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,e.jsxs)("div",{className:"mx-auto hidden max-w-7xl items-start justify-between px-4 sm:px-6 lg:flex min-h-20 py-5",children:[(0,e.jsxs)(m.default,{href:"/",className:"flex items-center gap-2.5 shrink-0 mt-0.5","aria-label":"Stop Killing Games — Home",children:[(0,e.jsx)(p.default,{src:"/logos/skglogo.svg",alt:"Stop Killing Games",width:48,height:22,className:"h-8 w-auto brightness-[0.35] grayscale dark:brightness-100 dark:grayscale-0"}),(0,e.jsxs)("span",{className:"hidden flex-col leading-none sm:flex",children:[(0,e.jsx)("span",{className:"font-display text-xs tracking-tight text-text-primary",children:"SKG"}),(0,e.jsx)("span",{className:"text-[8px] uppercase tracking-[0.15em] text-text-muted",children:"Stop Killing Games"})]})]}),(0,e.jsx)("div",{onMouseEnter:F,className:"flex gap-8 xl:gap-10",children:w.map(t=>(0,e.jsxs)("div",{className:"flex flex-col",children:[(0,e.jsx)("button",{type:"button",onClick:()=>S(t=>
9!t),className:(0,f.cn)("cursor-pointer text-xs font-black uppercase tracking-[0.15em] transition-colors whitespace-nowrap py-1 text-left",T?"text-text-primary":"text-text-muted hover:text-text-secondary"),"aria-expanded":T,"aria-haspopup":"true",children:g(t.labelKey)}),(0,e.jsx)("div",{className:"overflow-hidden",style:{maxHeight:T?"200px":"0px",opacity:+!!T,transition:"max-height 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease"},onMouseEnter:F,children:(0,e.jsx)("div",{className:"flex flex-col gap-2 pt-3 pb-2",children:t.links.map(t=>{let i=t.href.startsWith("http"),r=i?t.href:t.absolute?`/${N}${t.href}`:`/${N}/${t.href}`;return(0,e.jsx)("a",{href:r,...i?{target:"_blank",rel:"noopener noreferrer"}:{},className:"text-xs text-text-secondary whitespace-nowrap transition-colors hover:text-accent-blue-light",onClick:()=>S(!1),children:g(t.labelKey)},t.href+t.labelKey)})})})]},t.key))}),(0,e.jsxs)("div",{className:"flex items-center gap-1 shrink-0 mt-0.5",children:[(0,e.jsxs)("div",{ref:C,className:"relative",children:[(0,e.jsxs)("button",{onClick:()=>E(t=>!t),className:"flex items-center gap-1 px-2 py-1.5 font-mono text-[10px] text-text-muted cursor-pointer transition-colors hover:text-text-primary","aria-expanded":P,"aria-haspopup":"listbox","aria-label":"Language",children:[(0,e.jsx)(a.default,{className:"h-3.5 w-3.5","aria-hidden":"true"}),N.toUpperCase(),(0,e.jsx)(o.ChevronDown,{className:(0,f.cn)("h-3 w-3 transition-transform duration-200",P&&"rotate-180"),"aria-hidden":"true"})]}),(0,e.jsx)(n.AnimatePresence,{children:P&&(0,e.jsx)(r.motion.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:"absolute right-0 top-full mt-1 min-w-full border border-border-default bg-surface-raised z-50",role:"listbox","aria-label":"Select language",children:k.map(t=>(0,e.jsx)("button",{role:"option","aria-selected":N===t.code,onClick:()=>{B(t.code),E(!1)},className:(0,f.cn)("flex w-full items-center px-3 py-1.5 font-mono text-[10px] cursor-pointer transition-colors text-left",N===t.code?"text-accent-blue font-bold":"text-text-secondary hover:text-text-primary hover:bg-surface-overlay"),children:t.label},t.code))})})]}),(0,e.jsx)(x,{}),(0,e.jsxs)("a",{href:b.MERCH_STORE_URL,target:"_blank",rel:"noopener noreferrer","aria-label":g("merch"),title:g("merch"),className:"ml-1 flex items-center gap-1.5 self-stretch px-2 py-1.5 xl:ml-2 text-xs font-bold uppercase tracking-wider text-text-primary ring-1 ring-inset ring-border-default transition-colors hover:text-accent-blue-light hover:ring-accent-blue xl:px-3",children:[(0,e.jsx)(u.default,{className:"h-3.5 w-3.5","aria-hidden":"true"}),(0,e.jsx)("span",{className:"hidden xl:inline",children:g("merch")})]}),(0,e.jsx)("a",{href:"#partner",className:"ml-2 bg-accent-blue px-3 py-1.5 text-xs font-bold uppercase tracking-wider text-white transition-colors hover:bg-accent-blue-light",children:g("partner")})]})]}),(0,e.jsxs)("div",{className:"mx-auto flex h-20 max-w-7xl items-center justify-between px-4 sm:px-6 lg:hidden",children:[(0,e.jsxs)(m.default,{href:"/",className:"flex items-center gap-2.5","aria-label":"Stop Killing Games — Home",children:[(0,e.jsx)(p.default,{src:"/logos/skglogo.svg",alt:"Stop Killing Games",width:48,height:22,className:"h-8 w-auto brightness-[0.35] grayscale dark:brightness-100 dark:grayscale-0"}),(0,e.jsxs)("span",{className:"hidden flex-col leading-none sm:flex",children:[(0,e.jsx)("span",{className:"font-display text-xs tracking-tight text-text-primary",children:"SKG"}),(0,e.jsx)("span",{className:"text-[8px] uppercase tracking-[0.15em] text-text-muted",children:"Stop Killing Games"})]})]}),(0,e.jsx)("button",{className:"text-text-secondary hover:text-text-primary",onClick:()=>v(!y),"aria-expanded":y,"aria-label":"Toggle menu",children:y?(0,e.jsx)(h.X,{className:"h-5 w-5"}):(0,e.jsx)(l.default,{className:"h-5 w-5"})})]}),(0,e.jsx)(n.AnimatePresence,{children:y&&(0,e.jsx)(r.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},className:"overflow-hidden bg-surface-base lg:hidden",children:(0,e.jsxs)("nav",{"aria-label":"Mobile navigation",className:"px-4 py-4",children:[w.map(t=>(0,e.jsxs)("div",{className:"border-b border-border-subtle",children:[(0,e.jsxs)("button",{onClick:()=>{var e;return e=t.key,void A(t=>t===e?null:e)},className:"flex w-full items-center justify-between py-3 text-left","aria-expanded":M===t.key,children:[(0,e.jsx)("span",{className:"text-xs font-black uppercase tracking-[0.15em] text-text-primary",children:g(t.labelKey)}),(0,e.jsx)(o.ChevronDown,{className:(0,f.cn)("h-4 w-4 text-text-muted transition-transform duration-200",M===t.key&&"rotate-180"),"aria-hidden":"true"})]}),(0,e.jsx)(n.AnimatePresence,{children:M===t.key&&(0,e.jsx)(r.motion.div,{initial:{height:0,opacity:0}
9,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2,ease:[.22,1,.36,1]},className:"overflow-hidden",children:(0,e.jsx)("div",{className:"pb-3 pl-3",children:t.links.map(t=>{let i=t.href.startsWith("http"),r=i?t.href:t.absolute?`/${N}${t.href}`:`/${N}/${t.href}`;return(0,e.jsx)("a",{href:r,...i?{target:"_blank",rel:"noopener noreferrer"}:{},className:"block py-2 text-sm text-text-secondary transition-colors hover:text-accent-blue-light",onClick:()=>v(!1),children:g(t.labelKey)},t.href+t.labelKey)})})})})]},t.key)),(0,e.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsxs)("button",{onClick:()=>E(t=>!t),className:"pixel-border flex items-center gap-2 bg-surface-raised px-3 py-2 font-mono text-xs text-text-primary cursor-pointer","aria-label":"Language",children:[(0,e.jsx)(a.default,{className:"h-3.5 w-3.5 text-accent-blue","aria-hidden":"true"}),N.toUpperCase(),(0,e.jsx)(o.ChevronDown,{className:(0,f.cn)("h-3.5 w-3.5 text-text-muted transition-transform duration-200",P&&"rotate-180"),"aria-hidden":"true"})]}),(0,e.jsx)(n.AnimatePresence,{children:P&&(0,e.jsx)(r.motion.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.15},className:"absolute left-0 bottom-full mb-1 min-w-full pixel-border bg-surface-raised z-50",children:k.map(t=>(0,e.jsx)("button",{onClick:()=>{B(t.code),E(!1),v(!1)},className:(0,f.cn)("flex w-full items-center px-3 py-2 font-mono text-xs cursor-pointer transition-colors text-left",N===t.code?"text-accent-blue bg-accent-blue/10 font-bold":"text-text-secondary hover:text-accent-blue-light hover:bg-surface-overlay"),children:t.label},t.code))})})]}),(0,e.jsx)(x,{})]}),(0,e.jsxs)("a",{href:b.MERCH_STORE_URL,target:"_blank",rel:"noopener noreferrer",className:"pixel-border mb-4 flex items-center justify-center gap-2 bg-surface-raised px-4 py-2.5 text-xs font-bold uppercase tracking-wider text-text-primary",onClick:()=>v(!1),children:[(0,e.jsx)(u.default,{className:"h-3.5 w-3.5 text-accent-blue","aria-hidden":"true"}),g("merch")]}),(0,e.jsx)("a",{href:"#partner",className:"pixel-button block bg-accent-blue px-4 py-2.5 text-center text-xs font-bold uppercase tracking-wider text-white",onClick:()=>v(!1),children:g("partner")})]})})})]})})}],837809)},981469,t=>{"use strict";var e=t.i(843476),i=t.i(271645),r=t.i(584026),n=t.i(948148),s=t.i(657688),o=t.i(522016),a=t.i(975157);function l({className:t,color:i}){return(0,e.jsx)("div",{className:(0,a.cn)("w-full",t),style:{height:"4px",backgroundImage:`repeating-linear-gradient(
10          90deg,
11          ${i||"var(--color-border-default)"} 0px,
12          ${i||"var(--color-border-default)"} 4px,
13          transparent 4px,
14          transparent 8px
15        )`,imageRendering:"pixelated"},"aria-hidden":"true"})}var u=t.i(203088),h=t.i(92602),c=t.i(769980);let d=new Date().getFullYear(),p=()=>()=>{};t.s(["Footer",0,function(){let t=(0,u.useSections)(),a=(0,n.useTranslations)("footer"),m=(0,n.useTranslations)("cookie"),{openPreferences:f}=(0,h.useConsent)(),g=(0,i.useSyncExternalStore)(p,()=>new Date().getFullYear(),()=>d);return(0,e.jsxs)("footer",{className:"border-t border-border-subtle bg-surface-overlay pb-10 pt-20 dark:bg-surface-raised",children:[(0,e.jsx)(l,{className:"mb-12",color:"var(--color-accent-blue)"}),(0,e.jsxs)("div",{className:"mx-auto max-w-7xl px-6",children:[(0,e.jsxs)("div",{className:"mb-16 grid gap-12 hyphens-auto md:grid-cols-4 xl:grid-cols-6",children:[(0,e.jsxs)("div",{className:"hyphens-manual md:col-span-4 xl:col-span-2",children:[(0,e.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,e.jsx)(s.default,{src:"/logos/skglogo.svg",alt:"Stop Killing Games",width:32,height:15,className:"h-8 w-auto"}),(0,e.jsx)("span",{className:"font-display text-xs tracking-tight text-text-primary",children:"Stop Killing Games"})]}),(0,e.jsx)("p",{className:"max-w-sm leading-relaxed text-text-muted",children:a("description")})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"mb-6 border-b border-border-subtle pb-2 text-sm font-bold uppercase tracking-wider text-text-primary",children:a("campaign_hub")}),(0,e.jsxs)("ul",{className:"space-y-3 text-sm font-medium text-text-muted",children:[t.pressReleases&&(0,e.jsx)("li",{children:(0,e.jsx)(o.default,{href:"/press#press-releases",className:"transition-colors hover:text-accent-blue",children:a("press_releases")})}),(0,e.jsx)("li",{children:(0,e.jsx)(o.default,{href:"/#partner",className:"transition-colors hover:text-accent-blue",children:"Partner With Us"})})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"mb-6 border-b border-border-subtle pb-2 text-sm font-bold uppercase tracking-wider text-text-primary",children:a("support")}),(0,e.jsx)("ul",{className:"space-y-3 text-sm font-medium text-text-muted",children:(0,e.jsx)("li",{children:(0,e.jsx)("a",{href:c.MERCH_STORE_URL,target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-accent-blue",children:a("merch")})})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"mb-6 border-b border-border-subtle pb-2 text-sm font-bold uppercase tracking-wider text-text-primary",children:a("legal")}),(0,e.jsxs)("ul",{className:"space-y-3 text-sm font-medium text-text-muted",children:[(0,e.jsx)("li",{children:(0,e.jsx)(o.default,{href:"/terms",className:"transition-colors hover:text-accent-blue",children:a("terms")})}),(0,e.jsxs)("li",{className:"flex flex-wrap items-center gap-2",children:[(0,e.jsx)(o.default,{href:"/privacy",className:"transition-colors hover:text-accent-blue",children:a("privacy")}),(0,e.jsx)("span",{className:"bg-accent-blue/10 px-1 font-mono text-[10px] text-accent-blue-light",children:"GDPR"})]}),(0,e.jsx)("li",{children:(0,e.jsx)(o.default,{href:"/faq",className:"transition-colors hover:text-accent-blue",children:a("faq")})}),(0,e.jsx)("li",{children:(0,e.jsx)("button",{type:"button",onClick:f,className:"cursor-pointer text-left transition-colors hover:text-accent-blue",children:m("title")})})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"mb-6 border-b border-border-subtle pb-2 text-sm font-bold uppercase tracking-wider text-text-primary",children:a("connect")}),(0,e.jsx)("ul",{className:"space-y-3 text-sm font-medium text-text-muted",children:(0,e.jsx)("li",{children:(0,e.jsx)("a",{href:"https://discord.gg/TCE6uXwsBe",className:"transition-colors hover:text-[#5865F2]",children:a("discord")})})})]})]}),(0,e.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 border-t border-border-subtle pt-8 text-center font-mono text-xs text-text-muted md:flex-row md:text-left",children:[(0,e.jsx)("p",{children:a("copyright",{year:g})}),(0,e.jsxs)("div",{className:"flex items-center gap-2 text-accent-blue/50",children:[(0,e.jsx)(r.ShieldCheck,{className:"h-4 w-4"})," ",a("coalition")]})]})]})]})}],981469)},769980,t=>{"use strict";t.s(["MERCH_STORE_URL",0,"https://stop-killing-games-shop.fourthwall.com/"])},975157,t=>{"use strict";var e;let i,r,n,s,o,a=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),l=[],u=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=u(t,e+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===e?t.join("-"):t.slice(e).join("-"),a=s.length;for(let t=0;t<a;t++){let e=s[t];if(e.validator(o))return e.classGroupId}},h=(t,e)=>{let i=a();for(let r in t)c(t[r],i,r,e);return i}
15,c=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)d(t[s],e,i,r)},d=(t,e,i,r)=>{"string"==typeof t?p(t,e,i):"function"==typeof t?m(t,e,i,r):f(t,e,i,r)},p=(t,e,i)=>{(""===t?e:g(e,t)).classGroupId=i},m=(t,e,i,r)=>{y(t)?c(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},f=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,o]=n[t];c(o,g(e,s),i,r)}},g=(t,e)=>{let i=t,r=e.split("-"),n=r.length;for(let t=0;t<n;t++){let e=r[t],n=i.nextPart.get(e);n||(n=a(),i.nextPart.set(e,n)),i=n}return i},y=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,v=[],x=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),b=/\s+/,w=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=w(t[r]))&&(i&&(i+=" "),i+=e);return i},k=[],T=t=>{let e=e=>e[t]||k;return e.isThemeGetter=!0,e},S=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,E=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,M=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\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$/,C=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,V=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=t=>E.test(t),L=t=>!!t&&!Number.isNaN(Number(t)),D=t=>!!t&&Number.isInteger(Number(t)),N=t=>t.endsWith("%")&&L(t.slice(0,-1)),B=t=>M.test(t),F=()=>!0,O=t=>A.test(t)&&!C.test(t),I=()=>!1,z=t=>j.test(t),W=t=>V.test(t),$=t=>!G(t)&&!Q(t),U=t=>t.startsWith("@container")&&("/"===t[10]&&void 0!==t[11]||"s"===t[11]&&void 0!==t[16]&&t.startsWith("-size/",10)||"n"===t[11]&&void 0!==t[18]&&t.startsWith("-normal/",10)),K=t=>ta(t,tc,I),G=t=>S.test(t),H=t=>ta(t,td,O),Y=t=>ta(t,tp,L),X=t=>ta(t,tf,F),_=t=>ta(t,tm,I),q=t=>ta(t,tu,I),Z=t=>ta(t,th,W),J=t=>ta(t,tg,z),Q=t=>P.test(t),tt=t=>tl(t,td),te=t=>tl(t,tm),ti=t=>tl(t,tu),tr=t=>tl(t,tc),tn=t=>tl(t,th),ts=t=>tl(t,tg,!0),to=t=>tl(t,tf,!0),ta=(t,e,i)=>{let r=S.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},tl=(t,e,i=!1)=>{let r=P.exec(t);return!!r&&(r[1]?e(r[1]):i)},tu=t=>"position"===t||"percentage"===t,th=t=>"image"===t||"url"===t,tc=t=>"length"===t||"size"===t||"bg-size"===t,td=t=>"length"===t,tp=t=>"number"===t,tm=t=>"family-name"===t,tf=t=>"number"===t||"weight"===t,tg=t=>"shadow"===t,ty=(e=()=>{let t=T("color"),e=T("font"),i=T("text"),r=T("font-weight"),n=T("tracking"),s=T("leading"),o=T("breakpoint"),a=T("container"),l=T("spacing"),u=T("radius"),h=T("shadow"),c=T("inset-shadow"),d=T("text-shadow"),p=T("drop-shadow"),m=T("blur"),f=T("perspective"),g=T("aspect"),y=T("ease"),v=T("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...b(),Q,G],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],P=()=>[Q,G,l],E=()=>[R,"full","auto",...P()],M=()=>[D,"none","subgrid",Q,G],A=()=>["auto",{span:["full",D,Q,G]},D,Q,G],C=()=>[D,"auto",Q,G],j=()=>["auto","min","max","fr",Q,G],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...P()],z=()=>[R,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],W=()=>[R,"screen","full","dvw","lvw","svw","min","max","fit",...P()],ta=()=>[R,"screen","full","lh","dvh","lvh","svh","min","max","fit",...P()],tl=()=>[t,Q,G],tu=()=>[...b(),ti,q,{position:[Q,G]}],th=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tc=()=>["auto","cover","contain",tr,K,{size:[Q,G]}],td=()=>[N,tt,H],tp=()=>["","none","full",u,Q,G],tm=()=>["",L,tt,H],tf=()=>["solid","dashed","dotted","double"],tg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ty=()=>[L,N,ti,q],tv=()=>["","none",m,Q,G],tx=()=>["none",L,Q,G],tb=()=>["none",L,Q,G],tw=()=>[L,Q,G],tk=()=>[R,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[B],breakpoint:[B],color:[F],container:[B],"drop-shadow":[B],ease:["in","out","in-out"],font:[$],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[B],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[B],shadow:[B],spacing:["px",L],text:[B],"text-shadow":[B],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",R,G,Q,g]}],container:["container"],"container-type":[{"@container":["","normal","size",Q,G]}
vendor: 4,375 bytes, line 15
15],"container-named":[U],columns:[{columns:[L,G,Q,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{"inset-s":E(),start:E()}],end:[{"inset-e":E(),end:E()}],"inset-bs":[{"inset-bs":E()}],"inset-be":[{"inset-be":E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[D,"auto",Q,G]}],basis:[{basis:[R,"full","auto",a,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[L,R,"auto","initial","none",G]}],grow:[{grow:["",L,Q,G]}],shrink:[{shrink:["",L,Q,G]}],order:[{order:[D,"first","last","none",Q,G]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pbs:[{pbs:P()}],pbe:[{pbe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",...W()]}],"min-inline-size":[{"min-inline":["auto",...W()]}],"max-inline-size":[{"max-inline":["none",...W()]}],"block-size":[{block:["auto",...ta()]}],"min-block-size":[{"min-block":["auto",...ta()]}],"max-block-size":[{"max-block":["none",...ta()]}],w:[{w:[a,"screen",...z()]}],"min-w":[{"min-w":[a,"screen","none",...z()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",i,tt,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,to,X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",N,G]}],"font-family":[{font:[te,_,e]}],"font-features":[{"font-features":[G]}],"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,Q,G]}
vendor: 10,902 bytes, line 15
15],"line-clamp":[{"line-clamp":[L,"none",Q,Y]}],leading:[{leading:[s,...P()]}],"list-image":[{"list-image":["none",Q,G]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q,G]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:tl()}],"text-color":[{text:tl()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tf(),"wavy"]}],"text-decoration-thickness":[{decoration:[L,"from-font","auto",Q,H]}],"text-decoration-color":[{decoration:tl()}],"underline-offset":[{"underline-offset":[L,"auto",Q,G]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"tab-size":[{tab:[D,Q,G]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q,G]}],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",Q,G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tu()}],"bg-repeat":[{bg:th()}],"bg-size":[{bg:tc()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},D,Q,G],radial:["",Q,G],conic:[D,Q,G]},tn,Z]}],"bg-color":[{bg:tl()}],"gradient-from-pos":[{from:td()}],"gradient-via-pos":[{via:td()}],"gradient-to-pos":[{to:td()}],"gradient-from":[{from:tl()}],"gradient-via":[{via:tl()}],"gradient-to":[{to:tl()}],rounded:[{rounded:tp()}],"rounded-s":[{"rounded-s":tp()}],"rounded-e":[{"rounded-e":tp()}],"rounded-t":[{"rounded-t":tp()}],"rounded-r":[{"rounded-r":tp()}],"rounded-b":[{"rounded-b":tp()}],"rounded-l":[{"rounded-l":tp()}],"rounded-ss":[{"rounded-ss":tp()}],"rounded-se":[{"rounded-se":tp()}],"rounded-ee":[{"rounded-ee":tp()}],"rounded-es":[{"rounded-es":tp()}],"rounded-tl":[{"rounded-tl":tp()}],"rounded-tr":[{"rounded-tr":tp()}],"rounded-br":[{"rounded-br":tp()}],"rounded-bl":[{"rounded-bl":tp()}],"border-w":[{border:tm()}],"border-w-x":[{"border-x":tm()}],"border-w-y":[{"border-y":tm()}],"border-w-s":[{"border-s":tm()}],"border-w-e":[{"border-e":tm()}],"border-w-bs":[{"border-bs":tm()}],"border-w-be":[{"border-be":tm()}],"border-w-t":[{"border-t":tm()}],"border-w-r":[{"border-r":tm()}],"border-w-b":[{"border-b":tm()}],"border-w-l":[{"border-l":tm()}],"divide-x":[{"divide-x":tm()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tm()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tf(),"hidden","none"]}],"divide-style":[{divide:[...tf(),"hidden","none"]}],"border-color":[{border:tl()}],"border-color-x":[{"border-x":tl()}],"border-color-y":[{"border-y":tl()}],"border-color-s":[{"border-s":tl()}],"border-color-e":[{"border-e":tl()}],"border-color-bs":[{"border-bs":tl()}],"border-color-be":[{"border-be":tl()}],"border-color-t":[{"border-t":tl()}],"border-color-r":[{"border-r":tl()}],"border-color-b":[{"border-b":tl()}],"border-color-l":[{"border-l":tl()}],"divide-color":[{divide:tl()}],"outline-style":[{outline:[...tf(),"none","hidden"]}],"outline-offset":[{"outline-offset":[L,Q,G]}],"outline-w":[{outline:["",L,tt,H]}],"outline-color":[{outline:tl()}],shadow:[{shadow:["","none",h,ts,J]}],"shadow-color":[{shadow:tl()}],"inset-shadow":[{"inset-shadow":["none",c,ts,J]}],"inset-shadow-color":[{"inset-shadow":tl()}],"ring-w":[{ring:tm()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:tl()}],"ring-offset-w":[{"ring-offset":[L,H]}],"ring-offset-color":[{"ring-offset":tl()}],"inset-ring-w":[{"inset-ring":tm()}],"inset-ring-color":[{"inset-ring":tl()}],"text-shadow":[{"text-shadow":["none",d,ts,J]}],"text-shadow-color":[{"text-shadow":tl()}],opacity:[{opacity:[L,Q,G]}],"mix-blend":[{"mix-blend":[...tg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tg()}],"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":[L]}],"mask-image-linear-from-pos":[{"mask-linear-from":ty()}],"mask-image-linear-to-pos":[{"mask-linear-to":ty()}],"mask-image-linear-from-color":[{"mask-linear-from":tl()}],"mask-image-linear-to-color":[{"mask-linear-to":tl()}],"mask-image-t-from-pos":[{"mask-t-from":ty()}],"mask-image-t-to-pos":[{"mask-t-to":ty()}],"mask-image-t-from-color":[{"mask-t-from":tl()}],"mask-image-t-to-color":[{"mask-t-to":tl()}],"mask-image-r-from-pos":[{"mask-r-from":ty()}],"mask-image-r-to-pos":[{"mask-r-to":ty()}],"mask-image-r-from-color":[{"mask-r-from":tl()}],"mask-image-r-to-color":[{"mask-r-to":tl()}],"mask-image-b-from-pos":[{"mask-b-from":ty()}],"mask-image-b-to-pos":[{"mask-b-to":ty()}],"mask-image-b-from-color":[{"mask-b-from":tl()}],"mask-image-b-to-color":[{"mask-b-to":tl()}],"mask-image-l-from-pos":[{"mask-l-from":ty()}],"mask-image-l-to-pos":[{"mask-l-to":ty()}],"mask-image-l-from-color":[{"mask-l-from":tl()}],"mask-image-l-to-color":[{"mask-l-to":tl()}],"mask-image-x-from-pos":[{"mask-x-from":ty()}],"mask-image-x-to-pos":[{"mask-x-to":ty()}],"mask-image-x-from-color":[{"mask-x-from":tl()}],"mask-image-x-to-color":[{"mask-x-to":tl()}],"mask-image-y-from-pos":[{"mask-y-from":ty()}],"mask-image-y-to-pos":[{"mask-y-to":ty()}],"mask-image-y-from-color":[{"mask-y-from":tl()}],"mask-image-y-to-color":[{"mask-y-to":tl()}],"mask-image-radial":[{"mask-radial":[Q,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":ty()}],"mask-image-radial-to-pos":[{"mask-radial-to":ty()}],"mask-image-radial-from-color":[{"mask-radial-from":tl()}],"mask-image-radial-to-color":[{"mask-radial-to":tl()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[L]}],"mask-image-conic-from-pos":[{"mask-conic-from":ty()}],"mask-image-conic-to-pos":[{"mask-conic-to":ty()}],"mask-image-conic-from-color":[{"mask-conic-from":tl()}],"mask-image-conic-to-color":[{"mask-conic-to":tl()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tu()}],"mask-repeat":[{mask:th()}],"mask-size":[{mask:tc()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Q,G]}],filter:[{filter:["","none",Q,G]}],blur:[{blur:tv()}],brightness:[{brightness:[L,Q,G]}],contrast:[{contrast:[L,Q,G]}],"drop-shadow":[{"drop-shadow":["","none",p,ts,J]}],"drop-shadow-color":[{"drop-shadow":tl()}],grayscale:[{grayscale:["",L,Q,G]}],"hue-rotate":[{"hue-rotate":[L,Q,G]}],invert:[{invert:["",L,Q,G]}],saturate:[{saturate:[L,Q,G]}],sepia:[{sepia:["",L,Q,G]}],"backdrop-filter":[{"backdrop-filter":["","none",Q,G]}],"backdrop-blur":[{"backdrop-blur":tv()}],"backdrop-brightness":[{"backdrop-brightness":[L,Q,G]}],"backdrop-contrast":[{"backdrop-contrast":[L,Q,G]}],"backdrop-grayscale":[{"backdrop-grayscale":["",L,Q,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L,Q,G]}],"backdrop-invert":[{"backdrop-invert":["",L,Q,G]}],"backdrop-opacity":[{"backdrop-opacity":[L,Q,G]}],"backdrop-saturate":[{"backdrop-saturate":[L,Q,G]}],"backdrop-sepia":[{"backdrop-sepia":["",L,Q,G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q,G]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[L,"initial",Q,G]}],ease:[{ease:["linear","initial",y,Q,G]}],delay:[{delay:[L,Q,G]}],animate:[{animate:["none",v,Q,G]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Q,G]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:tx()}],"rotate-x":[{"rotate-x":tx()}],"rotate-y":[{"rotate-y":tx()}],"rotate-z":[{"rotate-z":tx()}],scale:[{scale:tb()}],"scale-x":[{"scale-x":tb()}],"scale-y":[{"scale-y":tb()}],"scale-z":[{"scale-z":tb()}],"scale-3d":["scale-3d"],skew:[{skew:tw()}],"skew-x":[{"skew-x":tw()}],"skew-y":[{"skew-y":tw()}],transform:[{transform:[Q,G,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tk()}],"translate-x":[{"translate-x":tk()}],"translate-y":[{"translate-y":tk()}],"translate-z":[{"translate-z":tk()}],"translate-none":["translate-none"],zoom:[{zoom:[D,Q,G]}],accent:[{accent:tl()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:tl()}],"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",Q,G]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":tl()}],"scrollbar-track-color":[{"scrollbar-track":tl()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mbs":[{"scroll-mbs":P()}],"scroll-mbe":[{"scroll-mbe":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pbs":[{"scroll-pbs":P()}],"scroll-pbe":[{"scroll-pbe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"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"]}
15],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",Q,G]}],fill:[{fill:["none",...tl()]}],"stroke-w":[{stroke:[L,tt,H,Y]}],stroke:[{stroke:["none",...tl()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o=t=>{let e=r(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s,postfixLookupClassGroupIds:o}=e,a=[],l=t.trim().split(b),u="";for(let t=l.length-1;t>=0;t-=1){let e,h=l[t],{isExternal:c,modifiers:d,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=i(h);if(c){u=h+(u.length>0?" "+u:u);continue}let g=!!f;if(g){let t=(e=r(m.substring(0,f)))&&o[e]?r(m):void 0;t&&t!==e&&(e=t,g=!1)}else e=r(m);if(!e){if(!g||!(e=r(m))){u=h+(u.length>0?" "+u:u);continue}g=!1}let y=0===d.length?"":1===d.length?d[0]:s(d).join(":"),v=p?y+"!":y,x=v+e;if(a.indexOf(x)>-1)continue;a.push(x);let b=n(e,g);for(let t=0;t<b.length;++t){let e=b[t];a.push(v+e)}u=h+(u.length>0?" "+u:u)}return u})(t,i);return n(t,s),s},s=t=>{var a;let c;return r=(i={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)}}})((a=[].reduce((t,e)=>
15e(t),e())).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;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),x(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):x(v,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(a),sortModifiers:(c=new Map,a.orderSensitiveModifiers.forEach((t,e)=>{c.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=c.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),postfixLookupClassGroupIds:(t=>{let e=Object.create(null),i=t.postfixLookupClassGroups;if(i)for(let t=0;t<i.length;t++)e[i[t]]=!0;return e})(a),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return h(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=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 r=t.split("-"),n=+(""===r[0]&&r.length>1);return u(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;e<n.length;e++)t[e]=n[e];for(let i=0;i<e.length;i++)t[n.length+i]=e[i];return t}return e}return n||l}return i[t]||l}}})(a)}).cache.get,n=i.cache.set,s=o,o(t)},(...t)=>s(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=w(e))&&(n&&(n+=" "),n+=i);return n})(...t)));t.s(["cn",0,function(...t){return ty(function(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}(t))}],975157)}]);

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