PageSourceSearch

https://biomob.org/_next/static/chunks/2422-d03317067e0e3aca.js

js biomob.org collected 2026-10-05 23:21:08 UTC 109,933 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2422],{552:(t,e,i)=>{i.d(e,{E:()=>r});var s=i(60583);let r=i(52162).B?s.useLayoutEffect:s.useEffect},5116:(t,e,i)=>{i.d(e,{v:()=>r});var s=i(23034);class r{constructor(){this.subscriptions=[]}add(t){return(0,s.Kq)(this.subscriptions,t),()=>(0,s.Ai)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},10593:(t,e,i)=>{i.d(e,{B:()=>l});var s=i(45976),r=i(13008),n=i(15348),o=i(73228);let a={...r.ai,transform:t=>Math.round((0,s.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,n.aj)(r.X4.transform(s))+")"}},13008:(t,e,i)=>{i.d(e,{X4:()=>n,ai:()=>r,hs:()=>o});var s=i(45976);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},n={...r,transform:t=>(0,s.q)(0,1,t)},o={...r,default:1}},14292:(t,e,i)=>{i.d(e,{$:()=>r,V:()=>n});var s=i(43545);let r=s.l,n=s.l},14728:(t,e,i)=>{i.d(e,{G:()=>h});var s=i(14292),r=i(45976),n=i(79777),o=i(36348),a=i(43545),l=i(63292);function h(t,e,{clamp:i=!0,ease:u,mixer:d}={}){let c=t.length;if((0,s.V)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&t[0]===t[1])return()=>e[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,i){let s=[],r=i||l.j,o=t.length-1;for(let i=0;i<o;i++){let o=r(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||a.l:e;o=(0,n.F)(t,o)}s.push(o)}return s}(e,u,d),m=p.length,f=e=>{let i=0;if(m>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let s=(0,o.q)(t[i],t[i+1],e);return p[i](s)};return i?e=>f((0,r.q)(t[0],t[c-1],e)):f}},15348:(t,e,i)=>{i.d(e,{Fl:()=>o,Kg:()=>a,SY:()=>r,aj:()=>s,ne:()=>n,uy:()=>l});let s=t=>Math.round(1e5*t)/1e5,r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,o=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function a(t){return"string"==typeof t}function l(t){return null==t}},23034:(t,e,i)=>{function s(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>s})},23775:(t,e,i)=>{i.d(e,{I:()=>o});var s=i(27502);class r{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let n=["read","resolveKeyframes","update","preRender","render","postRender"];function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=n.reduce((t,e)=>(t[e]=function(t){let e=new r,i=new r,s=0,n=!1,o=!1,a=new WeakSet,l={schedule:(t,r=!1,o=!1)=>{let l=o&&n,h=l?e:i;return r&&a.add(t),h.add(t)&&l&&n&&(s=e.order.length),t},cancel:t=>{i.remove(t),a.delete(t)},process:r=>{if(n){o=!0;return}if(n=!0,[e,i]=[i,e],i.clear(),s=e.order.length)for(let i=0;i<s;i++){let s=e.order[i];a.has(s)&&(l.schedule(s),t()),s(r)}n=!1,o&&(o=!1,l.process(r))}};return l}(()=>i=!0),t),{}),h=t=>{l[t].process(a)},u=()=>{let r=s.W.useManualTiming?a.timestamp:performance.now();i=!1,a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1),a.timestamp=r,a.isProcessing=!0,n.forEach(h),a.isProcessing=!1,i&&e&&(o=!1,t(u))};return{schedule:n.reduce((e,s)=>{let r=l[s];return e[s]=(e,s=!1,n=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(u)),r.schedule(e,s,n)),e},{}),cancel:t=>n.forEach(e=>l[e].cancel(t)),state:a,steps:l}}},25122:(t,e,i)=>{i.d(e,{j:()=>r,p:()=>o});let s=t=>e=>"string"==typeof e&&e.startsWith(t),r=s("--"),n=s("var(--"),o=t=>!!n(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},27502:(t,e,i)=>{i.d(e,{W:()=>s});let s={skipAnimations:!1,useManualTiming:!1}},31919:(t,e,i)=>{i.d(e,{t:()=>s});let s=(0,i(60583).createContext)(null)},36348:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s}},38358:(t,e,i)=>{i.d(e,{V:()=>l,f:()=>c});var s=i(98231),r=i(15348);let n="number",o="color",a=/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 l(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},l=[],h=0,u=e.replace(a,t=>(s.y.test(t)?(r.color.push(h),l.push(o),i.push(s.y.parse(t))):t.startsWith("var(")?(r.var.push(h),l.push("var"),i.push(t)):(r.number.push(h),l.push(n),i.push(parseFloat(t))),++h,"${}")).split("${}");return{values:i,split:u,indexes:r,types:l}}function h(t){return l(t).values}function u(t){let{split:e,types:i}=l(t),a=e.length;return t=>{let l="";for(let h=0;h<a;h++)if(l+=e[h],void 0!==t[h]){let e=i[h];e===n?l+=(0,r.aj)(t[h]):e===o?l+=s.y.transform(t[h]):l+=t[h]}return l}}let d=t=>"number"==typeof t?0:t,c={test:function(t){var e,i;return isNaN(t)&&(0,r.Kg)(t)&&((null==(e=t.match(r.SY))?void 0:e.length)||0)+((null==(i=t.match(r.ne))?void 0:i.length)||0)>0},parse:h,createTransformer:u,getAnimatableNone:function(t){let e=h(t);return u(t)(e.map(d))}}},42133:(t,e,i)=>{i.d(e,{V:()=>a});var s=i(13008),r=i(92217),n=i(15348),o=i(73228);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,n.aj)(e))+", "+r.KN.transform((0,n.aj)(i))+", "+(0,n.aj)(s.X4.transform(o))+")"}},43545:(t,e,i)=>{i.d(e,{l:()=>s});let s=t=>t},45976:(t,e,i)=>{i.d(e,{q:()=>s});let s=(t,e,i)=>i>e?e:i<t?t:i}
1,52162:(t,e,i)=>{i.d(e,{B:()=>s});let s="undefined"!=typeof document},59676:(t,e,i)=>{i.d(e,{u:()=>r});var s=i(10593);let r={test:(0,i(73228).$)("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:s.B.transform}},61218:(t,e,i)=>{i.d(e,{Z:()=>n});var s=i(96111),r=i(36348);function n(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let o=(0,r.q)(0,e,n);t.push((0,s.k)(i,1,o))}}(e,t.length-1),e}},61905:(t,e,i)=>{i.d(e,{f:()=>s});function s(t,e){return e?1e3/e*t:0}},63292:(t,e,i)=>{i.d(e,{j:()=>S});var s=i(96111),r=i(14292);function n(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}var o=i(59676),a=i(10593),l=i(42133);function h(t,e){return i=>i>0?e:t}let u=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},d=[o.u,a.B,l.V];function c(t){let e=d.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let r=0,o=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,l=2*i-s;r=n(l,s,t+1/3),o=n(l,s,t),a=n(l,s,t-1/3)}else r=o=a=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:s}}(i)),i}let p=(t,e)=>{let i=c(t),r=c(e);if(!i||!r)return h(t,e);let n={...i};return t=>(n.red=u(i.red,r.red,t),n.green=u(i.green,r.green,t),n.blue=u(i.blue,r.blue,t),n.alpha=(0,s.k)(i.alpha,r.alpha,t),a.B.transform(n))};var m=i(79777),f=i(98231),v=i(38358),g=i(25122);let y=new Set(["none","hidden"]);function x(t,e){return i=>(0,s.k)(t,e,i)}function P(t){return"number"==typeof t?x:"string"==typeof t?(0,g.p)(t)?h:f.y.test(t)?p:b:Array.isArray(t)?w:"object"==typeof t?f.y.test(t)?p:T:h}function w(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>P(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function T(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=P(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let b=(t,e)=>{let i=v.f.createTransformer(e),s=(0,v.V)(t),n=(0,v.V)(e);return s.indexes.var.length===n.indexes.var.length&&s.indexes.color.length===n.indexes.color.length&&s.indexes.number.length>=n.indexes.number.length?y.has(t)&&!n.values.length||y.has(e)&&!s.values.length?function(t,e){return y.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):(0,m.F)(w(function(t,e){var i;let s=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][r[o]],l=null!=(i=t.values[a])?i:0;s[n]=l,r[o]++}return s}(s,n),n.values),i):((0,r.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),h(t,e))};function S(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,s.k)(t,e,i):P(t)(t,e)}},65683:(t,e,i)=>{i.d(e,{L:()=>s});let s=(0,i(60583).createContext)({})},67957:(t,e,i)=>{i.d(e,{OQ:()=>h,bt:()=>a});var s=i(5116),r=i(61905),n=i(69874),o=i(88132);let a={current:void 0};class l{constructor(t,e={}){this.version="11.2.13",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=n.k.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.k.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 s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.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,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}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()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},69874:(t,e,i)=>{let s;i.d(e,{k:()=>a});var r=i(27502),n=i(88132);function o(){s=void 0}let a={now:()=>(void 0===s&&a.set(n.uv.isProcessing||r.W.useManualTiming?n.uv.timestamp:performance.now()),s),set
1:t=>{s=t,queueMicrotask(o)}}},71662:(t,e,i)=>{i.d(e,{Q:()=>s});let s=(0,i(60583).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},73228:(t,e,i)=>{i.d(e,{$:()=>r,q:()=>n});var s=i(15348);let r=(t,e)=>i=>!!((0,s.Kg)(i)&&s.Fl.test(i)&&i.startsWith(t)||e&&!(0,s.uy)(i)&&Object.prototype.hasOwnProperty.call(i,e)),n=(t,e,i)=>r=>{if(!(0,s.Kg)(r))return r;let[n,o,a,l]=r.match(s.SY);return{[t]:parseFloat(n),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},79777:(t,e,i)=>{i.d(e,{F:()=>r});let s=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(s)},85172:(t,e,i)=>{i.d(e,{S:()=>s});let s=t=>!!(t&&t.getVelocity)},86487:(t,e,i)=>{i.d(e,{M:()=>r});var s=i(60583);function r(t){let e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}},88132:(t,e,i)=>{i.d(e,{Ci:()=>a,Gt:()=>r,WG:()=>n,uv:()=>o});var s=i(43545);let{schedule:r,cancel:n,state:o,steps:a}=(0,i(23775).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:s.l,!0)},92217:(t,e,i)=>{i.d(e,{KN:()=>o,gQ:()=>u,px:()=>a,uj:()=>n,vh:()=>l,vw:()=>h});var s=i(15348);let r=t=>({test:e=>(0,s.Kg)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=r("deg"),o=r("%"),a=r("px"),l=r("vh"),h=r("vw"),u={...o,parse:t=>o.parse(t)/100,transform:t=>o.transform(100*t)}},92422:(t,e,i)=>{i.d(e,{P:()=>ru});var s=i(66831),r=i(60583),n=i(71662);let o=(0,r.createContext)({});var a=i(31919),l=i(552);let h=(0,r.createContext)({strict:!1}),u=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d="data-"+u("framerAppearId"),{schedule:c,cancel:p}=(0,i(23775).I)(queueMicrotask,!1);function m(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let f=(0,r.createContext)({}),v=!1;function g(){window.HandoffComplete=!0}function y(t){return"string"==typeof t||Array.isArray(t)}function x(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}let P=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...P];function T(t){return x(t.animate)||w.some(e=>y(t[e]))}function b(t){return!!(T(t)||t.variants)}function S(t){return Array.isArray(t)?t.join(" "):t}let A={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"]},V={};for(let t in A)V[t]={isEnabled:e=>A[t].some(t=>!!e[t])};var E=i(52162),k=i(65683);let C=Symbol.for("motionComponentSymbol"),M=["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 R(t){if("string"!=typeof t||t.includes("-"));else if(M.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let D={},j=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(j);function L(t,{layout:e,layoutId:i}){return F.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!D[t]||"opacity"===t)}var B=i(85172);let O={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=j.length;var U=i(25122);let $=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var G=i(13008),N=i(92217);let W={...G.ai,transform:Math.round},K={borderWidth:N.px,borderTopWidth:N.px,borderRightWidth:N.px,borderBottomWidth:N.px,borderLeftWidth:N.px,borderRadius:N.px,radius:N.px,borderTopLeftRadius:N.px,borderTopRightRadius:N.px,borderBottomRightRadius:N.px,borderBottomLeftRadius:N.px,width:N.px,maxWidth:N.px,height:N.px,maxHeight:N.px,size:N.px,top:N.px,right:N.px,bottom:N.px,left:N.px,padding:N.px,paddingTop:N.px,paddingRight:N.px,paddingBottom:N.px,paddingLeft:N.px,margin:N.px,marginTop:N.px,marginRight:N.px,marginBottom:N.px,marginLeft:N.px,rotate:N.uj,rotateX:N.uj,rotateY:N.uj,rotateZ:N.uj,scale:G.hs,scaleX:G.hs,scaleY:G.hs,scaleZ:G.hs,skew:N.uj,skewX:N.uj,skewY:N.uj,distance:N.px,translateX:N.px,translateY:N.px,translateZ:N.px,x:N.px,y:N.px,z:N.px,perspective:N.px,transformPerspective:N.px,opacity:G.X4,originX:N.gQ,originY:N.gQ,originZ:N.px,zIndex:W,backgroundPositionX:N.px,backgroundPositionY:N.px,fillOpacity:G.X4,strokeOpacity:G.X4,numOctaves:W};function q(t,e,i,s){let{style:r,vars:n,transform:o,transformOrigin:a}=t,l=!1,h=!1,u=!0;for(let t in e){let i=e[t];if((0,U.j)(t)){n[t]=i;continue}let s=K[t],d=$(i,s);if(F.has(t)){if(l=!0,o[t]=d,!u)continue;i!==(s.default||0)&&(u=!1)}else t.startsWith("origin")?(h=!0,a[t]=d):r[t]=d}if(!e.transform&&(l||s?r.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:i=!0}
1,s,r){let n="";for(let e=0;e<I;e++){let i=j[e];if(void 0!==t[i]){let e=O[i]||i;n+=`${e}(${t[i]}) `}}return e&&!t.z&&(n+="translateZ(0)"),n=n.trim(),r?n=r(t,s?"":n):i&&s&&(n="none"),n}(t.transform,i,u,s):r.transform&&(r.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let H=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Y(t,e,i){for(let s in e)(0,B.S)(e[s])||L(s,i)||(t[s]=e[s])}let z=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function X(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||z.has(t)}let Z=t=>!X(t);try{!function(t){t&&(Z=e=>e.startsWith("on")?!X(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}function _(t,e,i){return"string"==typeof t?t:N.px.transform(e+i*t)}let Q={offset:"stroke-dashoffset",array:"stroke-dasharray"},J={offset:"strokeDashoffset",array:"strokeDasharray"};function tt(t,{attrX:e,attrY:i,attrScale:s,originX:r,originY:n,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...h},u,d,c){if(q(t,h,u,c),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:m,dimensions:f}=t;p.transform&&(f&&(m.transform=p.transform),delete p.transform),f&&(void 0!==r||void 0!==n||m.transform)&&(m.transformOrigin=function(t,e,i){let s=_(e,t.x,t.width),r=_(i,t.y,t.height);return`${s} ${r}`}(f,void 0!==r?r:.5,void 0!==n?n:.5)),void 0!==e&&(p.x=e),void 0!==i&&(p.y=i),void 0!==s&&(p.scale=s),void 0!==o&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?Q:J;t[n.offset]=N.px.transform(-s);let o=N.px.transform(e),a=N.px.transform(i);t[n.array]=`${o} ${a}`}(p,o,a,l,!1)}let te=()=>({...H(),attrs:{}}),ti=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ts(t,{style:e,vars:i},s,r){for(let n in Object.assign(t.style,e,r&&r.getProjectionStyles(s)),i)t.style.setProperty(n,i[n])}let tr=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"]);function tn(t,e,i,s){for(let i in ts(t,e,void 0,s),e.attrs)t.setAttribute(tr.has(i)?i:u(i),e.attrs[i])}function to(t,e,i){var s;let{style:r}=t,n={};for(let o in r)((0,B.S)(r[o])||e.style&&(0,B.S)(e.style[o])||L(o,t)||(null==(s=null==i?void 0:i.getValue(o))?void 0:s.liveStyle)!==void 0)&&(n[o]=r[o]);return n}function ta(t,e,i){let s=to(t,e,i);for(let i in t)((0,B.S)(t[i])||(0,B.S)(e[i]))&&(s[-1!==j.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}function tl(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function th(t,e,i,s){if("function"==typeof e){let[r,n]=tl(s);e=e(void 0!==i?i:t.custom,r,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,n]=tl(s);e=e(void 0!==i?i:t.custom,r,n)}return e}var tu=i(86487);let td=t=>Array.isArray(t),tc=t=>td(t)?t[t.length-1]||0:t;function tp(t){let e=(0,B.S)(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}let tm=t=>(e,i)=>{let s=(0,r.useContext)(o),n=(0,r.useContext)(a.t),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:i},s,r,n){let o={latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=tp(n[t]);let{initial:o,animate:a}=t,l=T(t),h=b(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;return d&&"boolean"!=typeof d&&!x(d)&&(Array.isArray(d)?d:[d]).forEac
1h(e=>{let i=th(t,e);if(!i)return;let{transitionEnd:s,transition:n,...o}=i;for(let t in o){let e=o[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let t in s)r[t]=s[t]}),r}(s,r,n,t),renderState:e()};return i&&(o.mount=t=>i(s,t,o)),o})(t,e,s,n);return i?l():(0,tu.M)(l)};var tf=i(88132);let tv={useVisualState:tm({scrapeMotionValuesFromProps:ta,createRenderState:te,onMount:(t,e,{renderState:i,latestValues:s})=>{tf.Gt.read(()=>{try{i.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),tf.Gt.render(()=>{tt(i,s,{enableHardwareAcceleration:!1},ti(e.tagName),t.transformTemplate),tn(e,i)})}})},tg={useVisualState:tm({scrapeMotionValuesFromProps:to,createRenderState:H})};function ty(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let tx=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tP(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function tw(t,e,i,s){return ty(t,e,t=>tx(t)&&i(t,tP(t)),s)}var tT=i(79777);function tb(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let tS=tb("dragHorizontal"),tA=tb("dragVertical");function tV(t){let e=!1;if("y"===t)e=tA();else if("x"===t)e=tS();else{let t=tS(),i=tA();t&&i?e=()=>{t(),i()}:(t&&t(),i&&i())}return e}function tE(){let t=tV(!0);return!t||(t(),!1)}class tk{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tC(t,e){let i=e?"onHoverStart":"onHoverEnd";return tw(t.current,e?"pointerenter":"pointerleave",(s,r)=>{if("touch"===s.pointerType||tE())return;let n=t.getProps();t.animationState&&n.whileHover&&t.animationState.setActive("whileHover",e);let o=n[i];o&&tf.Gt.postRender(()=>o(s,r))},{passive:!t.getProps()[i]})}class tM extends tk{mount(){this.unmount=(0,tT.F)(tC(this.node,!0),tC(this.node,!1))}unmount(){}}class tR extends tk{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=(0,tT.F)(ty(this.node.current,"focus",()=>this.onFocus()),ty(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tD=(t,e)=>!!e&&(t===e||tD(t,e.parentElement));var tj=i(43545);function tF(t,e){if(!e)return;let i=new PointerEvent("pointer"+t);e(i,tP(i))}class tL extends tk{constructor(){super(...arguments),this.removeStartListeners=tj.l,this.removeEndListeners=tj.l,this.removeAccessibleListeners=tj.l,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),s=tw(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:s,globalTapTarget:r}=this.node.getProps(),n=r||tD(this.node.current,t.target)?i:s;n&&tf.Gt.update(()=>n(t,e))},{passive:!(i.onTap||i.onPointerUp)}),r=tw(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,tT.F)(s,r),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=t=>{if("Enter"!==t.key||this.isPressing)return;let e=t=>{"Enter"===t.key&&this.checkPressEnd()&&tF("up",(t,e)=>{let{onTap:i}=this.node.getProps();i&&tf.Gt.postRender(()=>i(t,e))})};this.removeEndListeners(),this.removeEndListeners=ty(this.node.current,"keyup",e),tF("down",(t,e)=>{this.startPress(t,e)})},e=ty(this.node.current,"keydown",t),i=()=>{this.isPressing&&tF("cancel",(t,e)=>this.cancelPress(t,e))},s=ty(this.node.current,"blur",i);this.removeAccessibleListeners=(0,tT.F)(e,s)}}startPress(t,e){this.isPressing=!0;let{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&tf.Gt.postRender(()=>i(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tE()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&tf.Gt.postRender(()=>i(t,e))}mount(){let t=this.node.getProps(),e=tw(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=ty(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,tT.F)(e,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tB=new WeakMap,tO=new WeakMap,tI=t=>{let e=tB.get(t.target);e&&e(t)}
1,tU=t=>{t.forEach(tI)},t$={some:0,all:1};class tG extends tk{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:s="some",once:r}=t,n={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:t$[s]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};var a=this.node.current;let l=function({root:t,...e}){let i=t||document;tO.has(i)||tO.set(i,{});let s=tO.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(tU,{root:t,...e})),s[r]}(n);return tB.set(a,o),l.observe(a),()=>{tB.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}function tN(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}function tW(t,e,i){let s=t.getProps();return th(s,e,void 0!==i?i:s.custom,t)}let tK=t=>1e3*t,tq={type:"spring",stiffness:500,damping:25,restSpeed:10},tH={type:"keyframes",duration:.8},tY={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function tz(t,e){return t[e]||t.default||t}var tX=i(27502);let tZ={current:!1},t_=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},s){let r=t.filter(t_),n=e&&"loop"!==i&&e%2==1?0:r.length-1;return n&&void 0!==s?s:r[n]}var tJ=i(69874);let t0=t=>/^0[^.\s]+$/u.test(t);var t1=i(14292);let t2=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),t5=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,t3=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),t6=t=>t===G.ai||t===N.px,t4=(t,e)=>parseFloat(t.split(", ")[e]),t8=(t,e)=>(i,{transform:s})=>{if("none"===s||!s)return 0;let r=s.match(/^matrix3d\((.+)\)$/u);if(r)return t4(r[1],e);{let e=s.match(/^matrix\((.+)\)$/u);return e?t4(e[1],t):0}},t9=new Set(["x","y","z"]),t7=j.filter(t=>!t9.has(t)),et={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:t8(4,13),y:t8(5,14)};et.translateX=et.x,et.translateY=et.y;let ee=t=>e=>e.test(t),ei=[G.ai,N.px,N.KN,N.uj,N.vw,N.vh,{test:t=>"auto"===t,parse:t=>t}],es=t=>ei.find(ee(t)),er=new Set,en=!1,eo=!1;function ea(){if(eo){let t=Array.from(er).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return t7.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var s;null==(s=t.getValue(e))||s.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eo=!1,en=!1,er.forEach(t=>t.complete()),er.clear()}function el(){er.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eo=!0)})}class eh{constructor(t,e,i,s,r,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(er.add(this),en||(en=!0,tf.Gt.read(el),tf.Gt.resolveKeyframes(ea))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;for(let r=0;r<t.length;r++)if(null===t[r])if(0===r){let r=null==s?void 0:s.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}else t[r]=t[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),er.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,er.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var eu=i(38358),ed=i(15348);let ec=new Set(["brightness","contrast","saturate","opacity"]);function ep(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(ed.SY)||[];if(!s)return t;let r=i.replace(s,""),n=+!!ec.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let em=/\b([a-z-]*)\(.*?\)/gu,ef={...eu.f,getAnimatableNone:t=>{let e=t.match(em);return e?e.map(ep).join(" "):t}};var ev=i(98231);let eg={...K,color:ev.y,backgroundColor:ev.y,outlineColor:ev.y,fill:ev.y,stroke:ev.y,borderColor:ev.y,borderTopColor:ev.y,borderRightColor:ev.y,borderBottomColor:ev.y,borderLeftColor:ev.y,filter:ef,WebkitFilter:ef},ey=t=>eg[t];function ex(t,e){let i=ey(t);return i!==ef&&(i=eu.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let eP=new Set(["auto","none","0"]);class ew extends eh{constructor(t,e,i,s){super(t,e,i,s,null==s?void 0:s.owner,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&(s=s.trim(),(0,U.p)(s))){let r=function t(e,i,s=1){(0,t1.V)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=function(t){let e=t5.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${null!=i?i:s}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return t2(t)?parseFloat(t):t}return(0,U.p)(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!t3.has(i)||2!==t.length)return;let[s,r]=t,n=es(s),o=es(r);if(n!==o)if(t6(n)&&t6(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||t0(s))&&i.push(e)}i.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!eP.has(e)&&(0,eu.V)(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=ex(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=et[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:s}=this;if(!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let n=s.length-1,o=s[n];s[n]=et[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}function eT(t){let e;return()=>(void 0===e&&(e=t()),e)}let eb=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(eu.f.test(t)||"0"===t)&&!t.startsWith("url("));class eS{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(el(),ea()),this._resolved}onKeyframesResolved(t,e){this.hasAttemptedResolve=!0;let{name:i,type:s,velocity:r,delay:n,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=eb(r,e),a=eb(n,e);return(0,t1.$)(o===a,`You are trying to animate ${e} from "${r}" to "${n}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${n} via the \`style\` property.`),!!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&&s)}(t,i,s,r))if(tZ.current||!n){null==a||a(tQ(t,this.options,e)),null==o||o(),this.resolveFinishedPromise();return}else this.options.duration=0;let h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var eA=i(61905);function eV(t,e,i){let s=Math.max(e-5,0);return(0,eA.f)(i-t(s),e-s)}var eE=i(45976);function ek(t,e){return t*Math.sqrt(1-e*e)}let eC=["duration","bounce"],eM=["stiffness","damping","mass"];function eR(t,e){return e.some(e=>void 0!==t[e])}function eD({keyframes:t,restDelta:e,restSpeed:i,...s}){let r,n=t[0],o=t[t.length-1],a={done:!1,value:n},{stiffness:l,damping:h,mass:u,duration:d,velocity:c,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!eR(t,eM)&&eR(t,eC)){let i=function({duration:t=800,bounce:e=.25,velocity:i=0,mass:s=1}){let r,n;(0,t1.$)(t<=tK(10),"Spring duration must be 10 seconds or less");let o=1-e;o=(0,eE.q)(.05,1,o),t=(0,eE.q)(.01,10,t/1e3),o<1?(r=e=>{let s=e*o,r=s*t;return .001-(s-i)/ek(e,o)*Math.exp(-r)},n=e=>{let s=e*o*t,n=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-s),l=ek(Math.pow(e,2),o);return(s*i+i-n)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(r,n,5/t);if(t=tK(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*s;return{stiffness:e,damping:2*o*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...s,velocity:-((s.velocity||0)/1e3)}),m=c||0,f=h/(2*Math.sqrt(l*u)),v=o-n,g=Math.sqrt(l/u)/1e3,y=5>Math.abs(v);if(i||(i=y?.01:2),e||(e=y?.005:.5),f<1){let t=ek(g,f);r=e=>o-Math.exp(-f*g*e)*((m+f*g*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===f)r=t=>o-Math.exp(-g*t)*(v+(m+g*v)*t);else{let t=g*Math.sqrt(f*f-1);r=e=>{let i=Math.exp(-f*g*e),s=Math.min(t*e,300);return o-i*((m+f*g*v)*Math.sinh(s)+t*v*Math.cosh(s))/t}}return{calculatedDuration:p&&d||null,next:t=>{let s=r(t);if(p)a.done=t>=d;else{let n=m;0!==t&&(n=f<1?eV(r,t,s):0);let l=Math.abs(o-s)<=e;a.done=Math.abs(n)<=i&&l}return a.value=a.done?o:s,a}}}function ej({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,v=p+f,g=void 0===o?v:o(v);g!==v&&(f=g-p);let y=t=>-f*Math.exp(-t/s),x=t=>g+y(t),P=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?g:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=eD({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:eV(x,t,m.value),damping:r,stiffness:n,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,P(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||P(t),m)}}}let eF=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function eL(t,e,i,s){return t===e&&i===s?tj.l:r=>
10===r||1===r?r:eF(function(t,e,i,s,r){let n,o,a=0;do(n=eF(o=e+(i-e)/2,s,r)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12);return o}(r,0,1,t,i),e,s)}let eB=eL(.42,0,1,1),eO=eL(0,0,.58,1),eI=eL(.42,0,.58,1),eU=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,e$=t=>e=>1-t(1-e),eG=t=>1-Math.sin(Math.acos(t)),eN=e$(eG),eW=eU(eG),eK=eL(.33,1.53,.69,.99),eq=e$(eK),eH=eU(eq),eY={linear:tj.l,easeIn:eB,easeInOut:eI,easeOut:eO,circIn:eG,circInOut:eW,circOut:eN,backIn:eq,backInOut:eH,backOut:eK,anticipate:t=>(t*=2)<1?.5*eq(t):.5*(2-Math.pow(2,-10*(t-1)))},ez=t=>{if(Array.isArray(t)){(0,t1.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,s,r]=t;return eL(e,i,s,r)}return"string"==typeof t?((0,t1.V)(void 0!==eY[t],`Invalid easing type '${t}'`),eY[t]):t};var eX=i(14728),eZ=i(61218);function e_({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n=Array.isArray(s)&&"number"!=typeof s[0]?s.map(ez):ez(s),o={done:!1,value:e[0]},a=(r=i&&i.length===e.length?i:(0,eZ.Z)(e),r.map(e=>e*t)),l=(0,eX.G)(a,e,{ease:Array.isArray(n)?n:e.map(()=>n||eI).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}var eQ=i(63292);let eJ=t=>{let e=({timestamp:e})=>t(e);return{start:()=>tf.Gt.update(e,!0),stop:()=>(0,tf.WG)(e),now:()=>tf.uv.isProcessing?tf.uv.timestamp:tJ.k.now()}},e0={decay:ej,inertia:ej,tween:e_,keyframes:e_,spring:eD},e1=t=>t/100;class e2 extends eS{constructor({KeyframeResolver:t=eh,...e}){super(e),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:i,motionValue:s,keyframes:r}=this.options,n=(t,e)=>this.onKeyframesResolved(t,e);i&&s&&s.owner?this.resolver=s.owner.resolveKeyframes(r,n,i,s):this.resolver=new t(r,n,i,s),this.resolver.scheduleResolve()}initPlayback(t){let e,i,{type:s="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=e0[s]||e_;l!==e_&&"number"!=typeof t[0]&&(e=(0,tT.F)(e1,(0,eQ.j)(t[0],t[1])),t=[0,100]);let h=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===h.calculatedDuration&&(h.calculatedDuration=function(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}(h));let{calculatedDuration:u}=h,d=u+n;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(r+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:s,generator:r,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:h,resolvedDuration:u}=i;if(null===this.startTime)return r.next(0);let{delay:d,repeat:c,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-h/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>h;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=h);let y=this.currentTime,x=r;if(c){let t=Math.min(this.currentTime,h)/u,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/u)):"mirror"===p&&(x=n)),y=(0,eE.q)(0,1,i)*u}let P=g?{done:!1,value:a[0]}:x.next(y);o&&(P.value=o(P.value));let{done:w}=P;g||null===l||(w=this.speed>=0?this.currentTime>=h:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&void 0!==s&&(P.value=tQ(a,this.options,s)),f&&f(P.value),T&&this.finish(),P}get duration(){let{resolved:t}=this;return t?t.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(t){t=tK(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=eJ,onPlay:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=i),"finished"===this.state&&this.updateFinishedProm
1ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let e5=t=>Array.isArray(t)&&"number"==typeof t[0],e3=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,e6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e3([0,.65,.55,1]),circOut:e3([.55,0,1,.45]),backIn:e3([.31,.01,.66,-.59]),backOut:e3([.33,1.53,.69,.99])};function e4(t){return e8(t)||e6.easeOut}function e8(t){if(t)return e5(t)?e3(t):Array.isArray(t)?t.map(e4):e6[t]}let e9=eT(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),e7=new Set(["opacity","clipPath","filter","transform"]);class it extends eS{constructor(t){super(t);let{name:e,motionValue:i,keyframes:s}=this.options;this.resolver=new ew(s,(t,e)=>this.onKeyframesResolved(t,e),e,i),this.resolver.scheduleResolve()}initPlayback(t,e){var i,s;let{duration:r=300,times:n,ease:o,type:a,motionValue:l,name:h}=this.options;if(!(null==(i=l.owner)?void 0:i.current))return!1;if("spring"===(s=this.options).type||"backgroundColor"===s.name||!function t(e){return!!(!e||"string"==typeof e&&e in e6||e5(e)||Array.isArray(e)&&e.every(t))}(s.ease)){let{onComplete:e,onUpdate:i,motionValue:s,...l}=this.options,h=function(t,e){let i=new e2({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),s={done:!1,value:t[0]},r=[],n=0;for(;!s.done&&n<2e4;)r.push((s=i.sample(n)).value),n+=10;return{times:void 0,keyframes:r,duration:n-10,ease:"linear"}}(t,l);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,n=h.times,o=h.ease,a="keyframes"}let u=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:o="loop",ease:a,times:l}={}){let h={[e]:i};l&&(h.offset=l);let u=e8(a);return Array.isArray(u)&&(h.easing=u),t.animate(h,{delay:s,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,h,t,{...this.options,duration:r,times:n,ease:o});return u.startTime=tJ.k.now(),this.pendingTimeline?(u.timeline=this.pendingTimeline,this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:i}=this.options;l.set(tQ(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:n,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return e/1e3}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(e.currentTime||0)/1e3}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=tK(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return tj.l;let{animation:i}=e;i.timeline=t,i.onfinish=null}else this.pendingTimeline=t;return tj.l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:s,type:r,ease:n,times:o}=t;if("idle"!==e.playState&&"finished"!==e.playState){if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,...l}=this.options,h=new e2({...l,keyframes:i,duration:s,type:r,ease:n,times:o,isGenerator:!0}),u=tK(this.time);t.setWithVelocity(h.sample(u-10).value,h.sample(u).value,10)}this.cancel()}}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}
1static supports(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:o}=t;return e9()&&i&&e7.has(i)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!s&&"mirror"!==r&&0!==n&&"inertia"!==o}}let ie=eT(()=>void 0!==window.ScrollTimeline);class ii{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t){let e=this.animations.map(e=>{if(ie()&&e.attachTimeline)e.attachTimeline(t);else{let i;e.pause();let s=()=>{var s;let{currentTime:r}=t,n=(null===r?0:r.value)/100;i!==n&&(s=n,e.time=e.duration*s),i=n};return tf.Gt.update(s,!0),()=>(0,tf.WG)(s)}});return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let is=(t,e,i,s={},r,n)=>o=>{let a=tz(s,t)||{},l=a.delay||s.delay||0,{elapsed:h=0}=s;h-=tK(l);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:n?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:r,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:h,...u}){return!!Object.keys(u).length}(a)&&(u={...u,...((t,{keyframes:e})=>e.length>2?tH:F.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tq:tY)(t,u)}),u.duration&&(u.duration=tK(u.duration)),u.repeatDelay&&(u.repeatDelay=tK(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(u.duration=0,0===u.delay&&(d=!0)),(tZ.current||tX.W.skipAnimations)&&(d=!0,u.duration=0,u.delay=0),d&&!n&&void 0!==e.get()){let t=tQ(u.keyframes,a);if(void 0!==t)return tf.Gt.update(()=>{u.onUpdate(t),u.onComplete()}),new ii([])}return!n&&it.supports(u)?new it(u):new e2(u)};function ir(t){return!!((0,B.S)(t)&&t.add)}var io=i(67957);function ia(t){return t.getProps()[d]}function il(t,e,{delay:i=0,transitionOverride:s,type:r}={}){var n;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e,h=t.getValue("willChange");s&&(o=s);let u=[],d=r&&t.animationState&&t.animationState.getState()[r];for(let e in l){let s=t.getValue(e,null!=(n=t.latestValues[e])?n:null),r=l[e];if(void 0===r||d&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(d,e))continue;let a={delay:i,elapsed:0,...tz(o||{},e)},c=!1;if(window.HandoffAppearAnimations){let i=ia(t);if(i){let t=window.HandoffAppearAnimations(i,e,s,tf.Gt);null!==t&&(a.elapsed=t,c=!0)}}s.start(is(e,s,r,t.shouldReduceMotion&&F.has(e)?{type:!1}:a,t,c));let p=s.animation;p&&(ir(h)&&(h.add(e),p.then(()=>h.remove(e))),u.push(p))}return a&&Promise.all(u).then(()=>{tf.Gt.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...r}=tW(t,e)||{};for(let e in r={...r,...i}){let i=tc(r[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,io.OQ)(i))}}(t,a)})}),u}function ih(t,e,i={}){var s;let r=tW(t,e,"exit"===i.type?null==(s=t.presenceContext)?void 0:s.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let o=r?()=>Promise.all(il(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,s=0,r=1,n){let o=[],a=(t.variantChildren.size-1)*s,l=1===r?(t=0)=>t*s:(t=0)=>a-t*s;return Array.from(t.variantChildren).sort(iu).forEach((t,s)=>{t.notify("AnimationStart",e),o.push(ih(t,e,{...n,delay:i+l(s)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,r+s,o,a,i)}:()=>Promise.resolve(),{when:l}=n;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function iu(t,e){return t.sortNodePosition(e)}let id=[...P].reverse(),ic=P.length;function ip(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function im(){return{animate:ip(!0),whileInView:ip(),whileHover:ip(),whileTap:ip(),whileDrag:ip(),whileFocus:ip(),exit:ip()}}class iv extends tk{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>ih(t,e,i)));else if("string"==typeof e)s=ih(t,e,i);else{let r="function"==typeof e?tW(t,e,i.custom):e;s=Promise.all(il(t,r,i))}return s.then(()=>{tf.Gt.postRender(()=>{t.notify("AnimationComplete",e)})})})(t,e,i))),i=im(),s=!0,r=e=>(i,s)=>{var r;let n=tW(t,s,"exit"===e?null==(r=t.presenceContext)?void 0:r.custom:void 0);if(n){let{transition:t,transitionEnd:e,...s}=n;i={...i,...s,...e}}return i};function n(n){let o=t.getProps(),a=t.getVariantContext(!0)||{},l=[],h=new Set,u={},d=1/0;for(let e=0;e<ic;e++){var c,p;let m=id[e],f=i[m],v=void 0!==o[m]?o[m]:a[m],g=y(v),P=m===n?f.isActive:null;!1===P&&(d=e);let w=v===a[m]&&v!==o[m]&&g;if(w&&s&&t.manuallyAnimateOnMount&&(w=!1),f.protectedKeys={...u},!f.isActive&&null===P||!v&&!f.prevProp||x(v)||"boolean"==typeof v)continue;let T=(c=f.prevProp,("string"==typeof(p=v)?p!==c:!!Array.isArray(p)&&!tN(p,c))||m===n&&f.isActive&&!w&&g||e>d&&g),b=!1,S=Array.isArray(v)?v:[v],A=S.reduce(r(m),{});!1===P&&(A={});let{prevResolvedValues:V={}}=f,E={...V,...A},k=e=>{T=!0,h.has(e)&&(b=!0,h.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in E){let e=A[t],i=V[t];if(!u.hasOwnProperty(t))(td(e)&&td(i)?tN(e,i):e===i)?void 0!==e&&h.has(t)?k(t):f.protectedKeys[t]=!0:null!=e?k(t):h.add(t)}f.prevProp=v,f.prevResolvedValues=A,f.isActive&&(u={...u,...A}),s&&t.blockInitialAnimation&&(T=!1),T&&(!w||b)&&l.push(...S.map(t=>({animation:t,options:{type:m}})))}if(h.size){let e={};h.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=s?s:null}),l.push({animation:e})}let m=!!l.length;return s&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(l):Promise.resolve()}return{animateChanges:n,setActive:function(e,s){var r;if(i[e].isActive===s)return Promise.resolve();null==(r=t.variantChildren)||r.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,s)}),i[e].isActive=s;let o=n(e);for(let t in i)i[t].protectedKeys={};return o},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=im(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();x(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(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}let ig=0;class iy extends tk{constructor(){super(...arguments),this.id=ig++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let ix=(t,e)=>Math.abs(t-e);class iP{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=ib(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ix(t.x,e.x)**2+ix(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;let{point:s}=t,{timestamp:r}=tf.uv;this.history.push({...s,timestamp:r});let{onStart:n,onMove:o}=this.handlers;e||(n&&n(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iw(e,this.transformPagePoint),tf.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=ib("pointercancel"===t.type?this.lastMoveEventInfo:iw(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!tx(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let n=iw(tP(t),this.transformPagePoint),{point:o}=n,{timestamp:a}=tf.uv;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,ib(n,this.history)),this.removeListeners=(0,tT.F)(tw(this.contextWindow,"pointermove",this.handlePointerMove),tw(this.contextWindow,"pointerup",this.handlePointerUp),tw(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,tf.WG)(this.updatePoint)}}function iw(t,e){return e?{point:e(t.point)}:t}function iT(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ib({point:t}
1,e){return{point:t,delta:iT(t,iS(e)),offset:iT(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,r=iS(t);for(;i>=0&&(s=t[i],!(r.timestamp-s.timestamp>tK(.1)));)i--;if(!s)return{x:0,y:0};let n=(r.timestamp-s.timestamp)/1e3;if(0===n)return{x:0,y:0};let o={x:(r.x-s.x)/n,y:(r.y-s.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function iS(t){return t[t.length-1]}var iA=i(36348),iV=i(96111);function iE(t){return t.max-t.min}function ik(t,e=0,i=.01){return Math.abs(t-e)<=i}function iC(t,e,i,s=.5){t.origin=s,t.originPoint=(0,iV.k)(e.min,e.max,t.origin),t.scale=iE(i)/iE(e),(ik(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,iV.k)(i.min,i.max,t.origin)-t.originPoint,(ik(t.translate)||isNaN(t.translate))&&(t.translate=0)}function iM(t,e,i,s){iC(t.x,e.x,i.x,s?s.originX:void 0),iC(t.y,e.y,i.y,s?s.originY:void 0)}function iR(t,e,i){t.min=i.min+e.min,t.max=t.min+iE(e)}function iD(t,e,i){t.min=e.min-i.min,t.max=t.min+iE(e)}function ij(t,e,i){iD(t.x,e.x,i.x),iD(t.y,e.y,i.y)}function iF(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 iL(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function iB(t,e,i){return{min:iO(t,e),max:iO(t,i)}}function iO(t,e){return"number"==typeof t?t:t[e]||0}let iI=()=>({translate:0,scale:1,origin:0,originPoint:0}),iU=()=>({x:iI(),y:iI()}),i$=()=>({min:0,max:0}),iG=()=>({x:i$(),y:i$()});function iN(t){return[t("x"),t("y")]}function iW({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function iK(t){return void 0===t||1===t}function iq({scale:t,scaleX:e,scaleY:i}){return!iK(t)||!iK(e)||!iK(i)}function iH(t){return iq(t)||iY(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iY(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iz(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function iX(t,e=0,i=1,s,r){t.min=iz(t.min,e,i,s,r),t.max=iz(t.max,e,i,s,r)}function iZ(t,{x:e,y:i}){iX(t.x,e.translate,e.scale,e.originPoint),iX(t.y,i.translate,i.scale,i.originPoint)}function i_(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function iQ(t,e){t.min=t.min+e,t.max=t.max+e}function iJ(t,e,[i,s,r]){let n=void 0!==e[r]?e[r]:.5,o=(0,iV.k)(t.min,t.max,n);iX(t,e[i],e[s],o,e.scale)}let i0=["x","scaleX","originX"],i1=["y","scaleY","originY"];function i2(t,e){iJ(t.x,e,i0),iJ(t.y,e,i1)}function i5(t,e){return iW(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}let i3=({current:t})=>t?t.ownerDocument.defaultView:null,i6=new WeakMap;class i4{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iG(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let s=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(tP(t,"page").point)},r=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tV(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iN(t=>{let e=this.getAxisMotionValue(t).get()||0;if(N.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=iE(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tf.Gt.postRender(()=>r(t,e));let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=e;if(s&&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&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>iN(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new iP(t,{onSessionStart:s,onStart:r,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:i3(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:r}=this.getProps();r&&tf.Gt.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!i8(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,iV.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,iV.k)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,r=this.constraints;e&&m(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:iF(t.x,i,r),y:iF(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iB(t,"left","right"),y:iB(t,"top","bottom")}}(i),r!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&iN(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!m(e))return!1;let s=e.current;(0,t1.V)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let n=function(t,e,i){let s=i5(t,i),{scroll:r}=e;return r&&(iQ(s.x,r.offset.x),iQ(s.y,r.offset.y)),s}(s,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:iL(t.x,n.x),y:iL(t.y,n.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=iW(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iN(o=>{if(!i8(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start(is(t,i,0,e,this.visualElement))}stopAnimation(){iN(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iN(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iN(e=>{let{drag:i}=this.getProps();if(!i8(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-(0,iV.k)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!m(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};iN(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=iE(t),r=iE(e);return r>s?i=(0,iA.q)(e.min,e.max-s,t.min):s>r&&(i=(0,iA.q)(t.min,t.max-r,e.min)),(0,eE.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iN(e=>{if(!i8(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,iV.k)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;i6.set(this.visualElement,this);let t=tw(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();m(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tf.Gt.read(e);let r=ty(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iN(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:o}}}function i8(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class i9 extends tk{constructor(t){super(t),this.removeGroupControls=tj.l,this.removeListeners=tj.l,this.controls=new i4(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tj.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let i7=t=>(e,i)=>{t&&tf.Gt.postRender(()=>t(e,i))};class st extends tk{constructor(){super(...arguments),this.removePointerDownListener=tj.l}onPointerDown(t){this.session=new iP(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:i3(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:i7(t),onStart:i7(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&tf.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=tw(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let se={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function si(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ss={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!N.px.test(t))return t;else t=parseFloat(t);let i=si(t,e.target.x),s=si(t,e.target.y);return`${i}% ${s}%`}};class sr extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;Object.assign(D,so),r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),se.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,n=i.projection;return n&&(n.isPresent=r,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||tf.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),c.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sn(t){let[e,i]=function(){let t=(0,r.useContext)(a.t);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:s}=t,n=(0,r.useId)();return(0,r.useEffect)(()=>s(n),[]),!e&&i?[!1,()=>i&&i(n)]:[!0]}(),n=(0,r.useContext)(k.L);return(0,s.jsx)(sr,{...t,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(f),isPresent:e,safeToRemove:i})}let so={borderRadius:{...ss,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ss,borderTopRightRadius:ss,borderBottomLeftRadius:ss,borderBottomRightRadius:ss,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=eu.f.parse(t);if(s.length>5)return t;let r=eu.f.createTransformer(t),n=+("number"!=typeof s[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=o,s[1+n]/=a;let l=(0,iV.k)(o,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};var sa=i(5116);let sl=["TopLeft","TopRight","BottomLeft","BottomRight"],sh=sl.length,su=t=>"string"==typeof t?parseFloat(t):t,sd=t=>"number"==typeof t||N.px.test(t);function sc(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sp=sf(0,.5,eN),sm=sf(.5,.95,tj.l);function sf(t,e,i){return s=>s<t?0:s>e?1:i((0,iA.q)(t,e,s))}function sv(t,e){t.min=e.min,t.max=e.max}function sg(t,e){sv(t.x,e.x),sv(t.y,e.y)}function sy(t,e,i,s,r){return t-=e,t=s+1/i*(t-s),void 0!==r&&(t=s+1/r*(t-s)),t}function sx(t,e,[i,s,r],n,o){!function(t,e=0,i=1,s=.5,r,n=t,o=t){if(N.KN.test(e)&&(e=parseFloat(e),e=(0,iV.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,iV.k)(n.min,n.max,s);t===n&&(a-=e),t.min=sy(t.min,e,i,a,r),t.max=sy(t.max,e,i,a,r)}(t,e[i],e[s],e[r],e.scale,n,o)}let sP=["x","scaleX","originX"],sw=["y","scaleY","originY"];
1function sT(t,e,i,s){sx(t.x,e,sP,i?i.x:void 0,s?s.x:void 0),sx(t.y,e,sw,i?i.y:void 0,s?s.y:void 0)}function sb(t){return 0===t.translate&&1===t.scale}function sS(t){return sb(t.x)&&sb(t.y)}function sA(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function sV(t){return iE(t.x)/iE(t.y)}var sE=i(23034);class sk{constructor(){this.members=[]}add(t){(0,sE.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,sE.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function sC(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||n||o)&&(s=`translate3d(${r}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:o,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),o&&(s+=`skewX(${o}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}let sM=(t,e)=>t.depth-e.depth;class sR{constructor(){this.children=[],this.isDirty=!1}add(t){(0,sE.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,sE.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sM),this.isDirty=!1,this.children.forEach(t)}}let sD=["","X","Y","Z"],sj={visibility:"hidden"},sF=0,sL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function sB(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function sO({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=sF++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,sL.totalNodes=sL.resolvedTargetDeltas=sL.recalculatedProjection=0,this.nodes.forEach(s$),this.nodes.forEach(sY),this.nodes.forEach(sz),this.nodes.forEach(sG),window.MotionDebug&&window.MotionDebug.record(sL)},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 sR)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new sa.v),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,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:s,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),i&&(r||s)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tJ.k.now(),s=({timestamp:e})=>{let r=e-i;r>=250&&((0,tf.WG)(s),t(r-250))};return tf.Gt.read(s,!0),()=>(0,tf.WG)(s)}(s,250),se.hasAnimatedSinceResize&&(se.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(sH))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||n.getDefaultTransition()||s0,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!sA(this.targetLayout,s)||i,h=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...tz(r,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||sH(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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,(0,tf.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sX),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.HandoffCancelAllAnimations&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;let{visualElement:i}=e.options;return!!i&&(!!ia(i)||!!e.parent&&!e.parent.hasCheckedOptimisedAppear&&t(e.parent))}(this)&&window.HandoffCancelAllAnimations(),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,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(sW);return}this.isUpdating||this.nodes.forEach(sK),this.isUpdating=!1,this.nodes.forEach(sq),this.nodes.forEach(sI),this.nodes.forEach(sU),this.clearAllSnapshots();let t=tJ.k.now();tf.uv.delta=(0,eE.q)(0,1e3/60,t-tf.uv.timestamp),tf.uv.timestamp=t,tf.uv.isProcessing=!0,tf.Ci.update.process(tf.uv),tf.Ci.preRender.process(tf.uv),tf.Ci.render.process(tf.uv),tf.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,c.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sN),this.sharedNodes.forEach(sZ)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tf.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tf.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=iG(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:s(this.instance),offset:i(this.instance)})}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!sS(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&(e||iH(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),s5((e=s).x),s5(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return iG();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&(iQ(e.x,i.offset.x),iQ(e.y,i.offset.y)),e}removeElementScroll(t){let e=iG();sg(e,t);for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:r,options:n}=s;if(s!==this.root&&r&&n.layoutScroll){if(r.isRoot){sg(e,t);let{scroll:i}=this.root;
1i&&(iQ(e.x,-i.offset.x),iQ(e.y,-i.offset.y))}iQ(e.x,r.offset.x),iQ(e.y,r.offset.y)}}return e}applyTransform(t,e=!1){let i=iG();sg(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&i2(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),iH(s.latestValues)&&i2(i,s.latestValues)}return iH(this.latestValues)&&i2(i,this.latestValues),i}removeTransform(t){let e=iG();sg(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!iH(i.latestValues))continue;iq(i.latestValues)&&i.updateSnapshot();let s=iG();sg(s,i.measurePageBox()),sT(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return iH(this.latestValues)&&sT(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!==tf.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,s,r;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==n;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=tf.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iG(),this.relativeTargetOrigin=iG(),ij(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),sg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iG(),this.targetWithTransforms=iG()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,s=this.relativeTarget,r=this.relativeParent.target,iR(i.x,s.x,r.x),iR(i.y,s.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):sg(this.target,this.layout.layoutBox),iZ(this.target,this.targetDelta)):sg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iG(),this.relativeTargetOrigin=iG(),ij(this.relativeTargetOrigin,this.target,t.target),sg(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}sL.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||iq(this.parent.latestValues)||iY(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)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===tf.uv.timestamp&&(s=!1),s)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;sg(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;
1!function(t,e,i,s=!1){let r,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(r=i[a]).projectionDelta;let o=r.instance;(!o||!o.style||"contents"!==o.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&i2(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,iZ(t,n)),s&&iH(r.latestValues)&&i2(t,r.latestValues))}e.x=i_(e.x),e.y=i_(e.y)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=iG());let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=iU(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=iU(),this.projectionDeltaWithTransform=iU());let h=this.projectionTransform;iM(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=sC(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),sL.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},o=iU();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=iG(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(sJ));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(s_(o.x,t.x,s),s_(o.y,t.y,s),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,v;ij(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,v=s,sQ(p.x,m.x,f.x,v),sQ(p.y,m.y,f.y,v),i&&(h=this.relativeTarget,c=i,h.x.min===c.x.min&&h.x.max===c.x.max&&h.y.min===c.y.min&&h.y.max===c.y.max)&&(this.isProjectionDirty=!1),i||(i=iG()),sg(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,iV.k)(0,void 0!==i.opacity?i.opacity:1,sp(s)),t.opacityExit=(0,iV.k)(void 0!==e.opacity?e.opacity:1,0,sm(s))):n&&(t.opacity=(0,iV.k)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let r=0;r<sh;r++){let n=`border${sl[r]}Radius`,o=sc(e,n),a=sc(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||sd(o)===sd(a)?(t[n]=Math.max((0,iV.k)(su(o),su(a),s),0),(N.KN.test(a)||N.KN.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,iV.k)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tf.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tf.Gt.update(()=>{se.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let s=(0,B.S)(0)?0:(0,io.OQ)(t);return s.start(is("",s,1e3,i)),s.animation}(0,0,{...t,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:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&s3(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||iG();let e=iE(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=iE(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}sg(e,i),i2(e,r),iM(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sk),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(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.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 s=this.getStack();s&&s.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)}
1resetSkewAndRotation(){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 s={};i.z&&sB("z",t,s,this.animationValues);for(let e=0;e<sD.length;e++)sB(`rotate${sD[e]}`,t,s,this.animationValues),sB(`skew${sD[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return sj;let s={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tp(null==t?void 0:t.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tp(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!iH(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;this.applyTransformsToTarget(),s.transform=sC(this.projectionDeltaWithTransform,this.treeScale,o),r&&(s.transform=r(o,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:s.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,D){if(void 0===o[t])continue;let{correct:e,applyTo:i}=D[t],r="none"===s.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=r}else s[t]=r}return this.options.layoutId&&(s.pointerEvents=n===this?tp(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(sW),this.root.sharedNodes.clear()}}}function sI(t){t.updateLayout()}function sU(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:s}=t.layout,{animationType:r}=t.options,n=i.source!==t.layout.source;"size"===r?iN(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],r=iE(s);s.min=e[t].min,s.max=s.min+r}):s3(r,i.layoutBox,e)&&iN(s=>{let r=n?i.measuredBox[s]:i.layoutBox[s],o=iE(e[s]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+o)});let o=iU();iM(o,e,i.layoutBox);let a=iU();n?iM(a,t.applyTransform(s,!0),i.measuredBox):iM(a,e,i.layoutBox);let l=!sS(o),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let o=iG();ij(o,i.layoutBox,r.layoutBox);let a=iG();ij(a,e,n.layoutBox),sA(o,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function s$(t){sL.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sG(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function sN(t){t.clearSnapshot()}function sW(t){t.clearMeasurements()}function sK(t){t.isLayoutDirty=!1}function sq(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function sH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sY(t){t.resolveTargetDelta()}function sz(t){t.calcProjection()}
1function sX(t){t.resetSkewAndRotation()}function sZ(t){t.removeLeadSnapshot()}function s_(t,e,i){t.translate=(0,iV.k)(e.translate,0,i),t.scale=(0,iV.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sQ(t,e,i,s){t.min=(0,iV.k)(e.min,i.min,s),t.max=(0,iV.k)(e.max,i.max,s)}function sJ(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let s0={duration:.45,ease:[.4,0,.1,1]},s1=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),s2=s1("applewebkit/")&&!s1("chrome/")?Math.round:tj.l;function s5(t){t.min=s2(t.min),t.max=s2(t.max)}function s3(t,e,i){return"position"===t||"preserve-aspect"===t&&!ik(sV(e),sV(i),.2)}let s6=sO({attachResizeListener:(t,e)=>ty(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),s4={current:void 0},s8=sO({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!s4.current){let t=new s6({});t.mount(window),t.setOptions({layoutScroll:!0}),s4.current=t}return s4.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),s9={current:null},s7={current:!1},rt=new WeakMap,re=[...ei,ev.y,eu.f],ri=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rs=w.length;class rr{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,blockInitialAnimation:r,visualState:n},o={}){this.resolveKeyframes=(t,e,i,s)=>new this.KeyframeResolver(t,e,i,s,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tf.Gt.render(this.render,!1,!0);let{latestValues:a,renderState:l}=n;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=T(e),this.isVariantNode=b(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in u){let e=u[t];void 0!==a[t]&&(0,B.S)(e)&&(e.set(a[t],!1),ir(h)&&h.add(t))}}mount(t){this.current=t,rt.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)),s7.current||function(){if(s7.current=!0,E.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>s9.current=t.matches;t.addListener(e),e()}else s9.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||s9.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rt.delete(this.current),this.projection&&this.projection.unmount(),(0,tf.WG)(this.notifyUpdate),(0,tf.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(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}bindToMotionValue(t,e){let i=F.has(t),s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tf.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in V){let e=V[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iG()}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<ri.length;e++){let i=ri[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){let{willChange:s}=e;for(let r in e){let n=e[r],o=i[r];if((0,B.S)(n))t.addValue(r,n),ir(s)&&s.add(r);else if((0,B.S)(o))t.addValue(r,(0,io.OQ)(n,{owner:t})),ir(s)&&s.remove(r);else if(o!==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,(0,io.OQ)(void 0!==e?e:n,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);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}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let e={};for(let t=0;t<rs;t++){let i=w[t],s=this.props[i];(y(s)||!1===s)&&(e[i]=s)}return e}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=(0,io.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let s=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=s){if("string"==typeof s&&(t2(s)||t0(s)))s=parseFloat(s);else{let i;i=s,!re.find(ee(i))&&eu.f.test(e)&&(s=ex(t,e))}this.setBaseTarget(t,(0,B.S)(s)?s.get():s)}return(0,B.S)(s)?s.get():s}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:s}=this.props;if("string"==typeof s||"object"==typeof s){let r=th(this.props,s,null==(e=this.presenceContext)?void 0:e.custom);r&&(i=r[t])}if(s&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,B.S)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new sa.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class rn extends rr{constructor(){super(...arguments),this.KeyframeResolver=ew}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}}class ro extends rn{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(F.has(e)){let t=ey(e);return t&&t.default||0}{let i=window.getComputedStyle(t),s=((0,U.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return i5(t,e)}build(t,e,i,s){q(t,e,i,s.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return to(t,e,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,B.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,i,s){ts(t,e,i,s)}}class ra extends rn{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(F.has(e)){let t=ey(e);return t&&t.default||0}return e=tr.has(e)?e:u(e),t.getAttribute(e)}measureInstanceViewportBox(){return iG()}scrapeMotionValuesFromProps(t,e,i){return ta(t,e,i)}build(t,e,i,s){tt(t,e,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,e,i,s){tn(t,e,i,s)}mount(t){this.isSVGTag=ti(t.tagName),super.mount(t)}}let rl=(t,e)=>R(t)?new ra(e,{enableHardwareAcceleration:!1}):new ro(e,{allowProjection:t!==r.Fragment,enableHardwareAcceleration:!0}),rh={animation:{Feature:iv},exit:{Feature:iy},inView:{Feature:tG},tap:{Feature:tL},focus:{Feature:tR},hover:{Feature:tM},pan:{Feature:st},drag:{Feature:i9,ProjectionNode:s8,MeasureLayout:sn},layout:{ProjectionNode:s8,MeasureLayout:sn}},ru=function(t){function e(i,u={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:u,Component:p}){t&&function(t){for(let e in t)V[e]={...V[e],...t[e]}}(t);let x=(0,r.forwardRef)(function(t,x){var P;let w,b={...(0,r.useContext)(n.Q),...t,layoutId:function({layoutId:t}){let e=(0,r.useContext)(k.L).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:A}=b,C=function(t){let{initial:e,animate:i}=function(t,e){if(T(t)){let{initial:e,animate:i}=t;return{initial:!1===e||y(e)?e:void 0,animate:y(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(o));return(0,r.useMemo)(()=>({initial:e,animate:i}),[S(e),S(i)])}(t),M=u(t,A);if(!A&&E.B){(0,r.useContext)(h).strict;let t=function(t){let{drag:e,layout:i}=V;if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(b);w=t.MeasureLayout,C.visualElement=function(t,e,i,s,u){let{visualElement:p}=(0,r.useContext)(o),y=(0,r.useContext)(h),x=(0,r.useContext)(a.t),P=(0,r.useContext)(n.Q).reducedMotion,w=(0,r.useRef)();s=s||y.renderer,!w.current&&s&&(w.current=s(t,{visualState:e,parent:p,props:i,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:P}));let T=w.current,b=(0,r.useContext)(f);T&&!T.projection&&u&&("html"===T.type||"svg"===T.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!o||a&&m(a),visualElement:t,scheduleRender:()=>t.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:h})}(w.current,i,u,b),(0,r.useInsertionEffect)(()=>{T&&T.update(i,x)});let S=(0,r.useRef)(!!(i[d]&&!window.HandoffComplete));return(0,l.E)(()=>{T&&(T.updateFeatures(),c.render(T.render),S.current&&T.animationState&&T.animationState.animateChanges())}),(0,r.useEffect)(()=>{T&&(!S.current&&T.animationState&&T.animationState.animateChanges(),S.current&&(S.current=!1,v||(v=!0,queueMicrotask(g))))}),T}(p,M,b,e,t.ProjectionNode)}return(0,s.jsxs)(o.Provider,{value:C,children:[w&&C.visualElement?(0,s.jsx)(w,{visualElement:C.visualElement,...b}):null,i(p,t,(P=C.visualElement,(0,r.useCallback)(t=>{t&&M.mount&&M.mount(t),P&&(t?P.mount(t):P.unmount()),x&&("function"==typeof x?x(t):m(x)&&(x.current=t))},[P])),M,A,C.visualElement)]})});return x[C]=p,x}(t(i,u))}if("undefined"==typeof Proxy)return e;let i=new Map;return new Proxy(e,{get:(t,s)=>(i.has(s)||i.set(s,e(s)),i.get(s))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},i,s){return{...R(t)?tv:tg,preloadedFeatures:i,useRender:function(t=!1){return(e,i,s,{latestValues:n},o)=>
1{let a=(R(e)?function(t,e,i,s){let n=(0,r.useMemo)(()=>{let i=te();return tt(i,e,{enableHardwareAcceleration:!1},ti(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};Y(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e,i){let s={},n=function(t,e,i){let s=t.style||{},n={};return Y(n,s,t),Object.assign(n,function({transformTemplate:t},e,i){return(0,r.useMemo)(()=>{let s=H();return q(s,e,{enableHardwareAcceleration:!i},t),Object.assign({},s.vars,s.style)},[e])}(t,e,i)),n}(t,e,i);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=n,s})(i,n,o,e),l=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(Z(r)||!0===i&&X(r)||!e&&!X(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(i,"string"==typeof e,t),h=e!==r.Fragment?{...l,...a,ref:s}:{},{children:u}=i,d=(0,r.useMemo)(()=>(0,B.S)(u)?u.get():u,[u]);return(0,r.createElement)(e,{...h,children:d})}}(e),createVisualElement:s,Component:t}})(t,e,rh,rl))},96111:(t,e,i)=>{i.d(e,{k:()=>s});let s=(t,e,i)=>t+(e-t)*i},98231:(t,e,i)=>{i.d(e,{y:()=>a});var s=i(15348),r=i(59676),n=i(42133),o=i(10593);let a={test:t=>o.B.test(t)||r.u.test(t)||n.V.test(t),parse:t=>o.B.test(t)?o.B.parse(t):n.V.test(t)?n.V.parse(t):r.u.parse(t),transform:t=>(0,s.Kg)(t)?t:t.hasOwnProperty("red")?o.B.transform(t):n.V.transform(t)}}}]);

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.