1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[79495,89531],{6256:(e,t,r)=>{"use strict";function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}r.d(t,{C:()=>n})},12096:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(90964),i=r(87109),a=r(80177);function o(e){return(0,a.A)(1,arguments),(0,n.A)(e,(0,i.A)(Date.now(),1))}},20521:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(87109),i=r(62640),a=r(87260),o=r(80177);function s(e,t){if((0,o.A)(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var r=t.years?(0,i.A)(t.years):0,s=t.months?(0,i.A)(t.months):0,l=t.weeks?(0,i.A)(t.weeks):0,u=t.days?(0,i.A)(t.days):0,f=t.hours?(0,i.A)(t.hours):0,c=t.minutes?(0,i.A)(t.minutes):0,d=t.seconds?(0,i.A)(t.seconds):0,h=function(e,t){(0,o.A)(2,arguments);var r=(0,i.A)(t);return(0,a.A)(e,-r)}(e,s+12*r);return new Date((0,n.A)(h,u+7*l).getTime()-1e3*(d+60*(c+60*f)))}},22148:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(20712),i=r(87260),a=r(94304),o=r(80177),s=r(62640);function l(e,t){if((0,o.A)(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var r=t.years?(0,s.A)(t.years):0,l=t.months?(0,s.A)(t.months):0,u=t.weeks?(0,s.A)(t.weeks):0,f=t.days?(0,s.A)(t.days):0,c=t.hours?(0,s.A)(t.hours):0,d=t.minutes?(0,s.A)(t.minutes):0,h=t.seconds?(0,s.A)(t.seconds):0,p=(0,a.A)(e),m=l||r?(0,i.A)(p,l+12*r):p;return new Date((f||u?(0,n.A)(m,f+7*u):m).getTime()+1e3*(h+60*(d+60*c)))}},24058:(e,t,r)=>{"use strict";r.d(t,{C1:()=>T,bL:()=>D,q7:()=>z});var n=r(12115),i=r(92556),a=r(94446),o=r(3468),s=r(97602),l=r(72431),u=r(23558),f=r(66218),c=r(84288),d=r(78108),h=r(76842),p=r(95155),m="Radio",[g,v]=(0,o.A)(m),[y,b]=g(m),w=n.forwardRef((e,t)=>{let{__scopeRadio:r,name:o,checked:l=!1,required:u,disabled:f,value:c="on",onCheck:d,form:h,...m}=e,[g,v]=n.useState(null),b=(0,a.s)(t,e=>v(e)),w=n.useRef(!1),x=!g||h||!!g.closest("form");return(0,p.jsxs)(y,{scope:r,checked:l,disabled:f,children:[(0,p.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":k(l),"data-disabled":f?"":void 0,disabled:f,value:c,...m,ref:b,onClick:(0,i.mK)(e.onClick,e=>{l||null==d||d(),x&&(w.current=e.isPropagationStopped(),w.current||e.stopPropagation())})}),x&&(0,p.jsx)(A,{control:g,bubbles:!w.current,name:o,value:c,checked:l,required:u,disabled:f,form:h,style:{transform:"translateX(-100%)"}})]})});w.displayName=m;var x="RadioIndicator",_=n.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,a=b(x,r);return(0,p.jsx)(h.C,{present:n||a.checked,children:(0,p.jsx)(s.sG.span,{"data-state":k(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});_.displayName=x;var A=n.forwardRef((e,t)=>{let{__scopeRadio:r,control:i,checked:o,bubbles:l=!0,...u}=e,f=n.useRef(null),h=(0,a.s)(f,t),m=(0,d.Z)(o),g=(0,c.X)(i);return n.useEffect(()=>{let e=f.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(m!==o&&t){let r=new Event("click",{bubbles:l});t.call(e,o),e.dispatchEvent(r)}},[m,o,l]),(0,p.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:o,...u,tabIndex:-1,ref:h,style:{...u.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function k(e){return e?"checked":"unchecked"}A.displayName="RadioBubbleInput";var M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],j="RadioGroup",[S,P]=(0,o.A)(j,[l.RG,v]),C=(0,l.RG)(),R=v(),[E,O]=S(j),I=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:a,required:o=!1,disabled:c=!1,orientation:d,dir:h,loop:m=!0,onValueChange:g,...v}=e,y=C(r),b=(0,f.jH)(h),[w,x]=(0,u.i)({prop:a,defaultProp:null!=i?i:null,onChange:g,caller:j});return(0,p.jsx)(E,{scope:r,name:n,required:o,disabled:c,value:w,onValueChange:x,children:(0,p.jsx)(l.bL,{asChild:!0,...y,orientation:d,dir:b,loop:m,children:(0,p.jsx)(s.sG.div,{role:"radiogroup","aria-required":o,"aria-orientation":d,"data-disabled":c?"":void 0,dir:b,...v,ref:t})})})});I.displayName=j;var N="RadioGroupItem",V=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:o,...s}=e,u=O(N,r),f=u.disabled||o,c=C(r),d=R(r),h=n.useRef(null),m=(0,a.s)(t,h),g=u.value===s.value,v=n.useRef(!1);return n.useEffect(()=>{let e=e=>
1{M.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,p.jsx)(l.q7,{asChild:!0,...c,focusable:!f,active:g,children:(0,p.jsx)(w,{disabled:f,required:u.required,checked:g,...d,...s,name:u.name,ref:m,onCheck:()=>u.onValueChange(s.value),onKeyDown:(0,i.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(s.onFocus,()=>{var e;v.current&&(null==(e=h.current)||e.click())})})})});V.displayName=N;var $=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=R(r);return(0,p.jsx)(_,{...i,...n,ref:t})});$.displayName="RadioGroupIndicator";var D=I,z=V,T=$},24415:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(94304),i=r(80177);function a(e){(0,i.A)(1,arguments);var t=(0,n.A)(e);return t.setHours(0,0,0,0),t}},24693:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(94304),i=r(80177);function a(e){return(0,i.A)(1,arguments),(0,n.A)(e).getTime()<Date.now()}},25667:(e,t,r)=>{"use strict";r.d(t,{B8:()=>P,bL:()=>S,l9:()=>C});var n=r(12115),i=r(92556),a=r(3468),o=r(72431),s=r(76842),l=r(97602),u=r(66218),f=r(23558),c=r(68946),d=r(95155),h="Tabs",[p,m]=(0,a.A)(h,[o.RG]),g=(0,o.RG)(),[v,y]=p(h),b=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:a,orientation:o="horizontal",dir:s,activationMode:p="automatic",...m}=e,g=(0,u.jH)(s),[y,b]=(0,f.i)({prop:n,onChange:i,defaultProp:null!=a?a:"",caller:h});return(0,d.jsx)(v,{scope:r,baseId:(0,c.B)(),value:y,onValueChange:b,orientation:o,dir:g,activationMode:p,children:(0,d.jsx)(l.sG.div,{dir:g,"data-orientation":o,...m,ref:t})})});b.displayName=h;var w="TabsList",x=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...i}=e,a=y(w,r),s=g(r);return(0,d.jsx)(o.bL,{asChild:!0,...s,orientation:a.orientation,dir:a.dir,loop:n,children:(0,d.jsx)(l.sG.div,{role:"tablist","aria-orientation":a.orientation,...i,ref:t})})});x.displayName=w;var _="TabsTrigger",A=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:a=!1,...s}=e,u=y(_,r),f=g(r),c=M(u.baseId,n),h=j(u.baseId,n),p=n===u.value;return(0,d.jsx)(o.q7,{asChild:!0,...f,focusable:!a,active:p,children:(0,d.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":h,"data-state":p?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:c,...s,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(n)}),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(n)}),onFocus:(0,i.mK)(e.onFocus,()=>{let e="manual"!==u.activationMode;p||a||!e||u.onValueChange(n)})})})});A.displayName=_;var k="TabsContent";function M(e,t){return"".concat(e,"-trigger-").concat(t)}function j(e,t){return"".concat(e,"-content-").concat(t)}n.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,forceMount:a,children:o,...u}=e,f=y(k,r),c=M(f.baseId,i),h=j(f.baseId,i),p=i===f.value,m=n.useRef(p);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.jsx)(s.C,{present:a||p,children:r=>{let{present:n}=r;return(0,d.jsx)(l.sG.div,{"data-state":p?"active":"inactive","data-orientation":f.orientation,role:"tabpanel","aria-labelledby":c,hidden:!n,id:h,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&o})}})}).displayName=k;var S=b,P=x,C=A},27883:(e,t,r)=>{"use strict";r.d(t,{$5:()=>V,qZ:()=>E}
1);let n="https://cdn.sanity.io",i=/^https:\/\/cdn\.sanity\./,a=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,o=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,s=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,l=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,u=/^image-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+$/,f=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,c=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,d="sanity.fileAsset",h={projectId:"a",dataset:"b"},p="upload-in-progress-placeholder",m="upload-in-progress";class g extends Error{constructor(e,t="Failed to resolve asset ID from source"){super(t),this.unresolvable=!0,this.input=e}}function v(e){return(...t)=>{try{return e(...t)}catch(e){if(e.unresolvable&&"input"in e)return;throw e}}}function y(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function b(e){return y(e)&&"string"==typeof e._ref}function w(e){return y(e)&&"string"==typeof e.path}function x(e){return y(e)&&"string"==typeof e.url}function _(e){return y(e)&&!!e.asset&&"object"==typeof e.asset}function A(e){return y(e)&&!!e._upload&&!("asset"in e)}function k(e){return i.test(e)||a.test(e)}let M=Object.freeze({left:0,top:0,bottom:0,right:0}),j=Object.freeze({x:.5,y:.5,height:1,width:1}),S=()=>({...M}),P=()=>({...j});function C(e,t){let r=t?.projectId||e.projectId,n=t?.dataset||e.dataset;if(!r||!n)throw Error("Project details (projectId and dataset) required to resolve path for image");let i="metadata"in e?e.metadata.dimensions:{width:e.width,height:e.height},a="originalFilename"in e?e.originalFilename:void 0,{assetId:o,extension:s,vanityFilename:l}=e,{width:u,height:f}=i,c=N(a,l,t);return`images/${r}/${n}/${o}-${u}x${f}.${s}${c}`}function R(e,t){let r=t?.projectId||e.projectId,n=t?.dataset||e.dataset;if(!r||!n)throw Error("Project details (projectId and dataset) required to resolve path for file");let i="originalFilename"in e?e.originalFilename:void 0,{assetId:a,extension:o,vanityFilename:s}=e,l=N(i,s,t);return`files/${r}/${n}/${a}.${o}${l}`}function E(e,t){return`${t?.baseUrl||n}/${R(e,t)}`}function O(e){if(f.test(e))return e;if(!k(e))throw new g(`Failed to resolve path from URL "${e}"`);return new URL(e).pathname.replace(/^\/+/,"")}let I=v(O);function N(e,t,r){let n=t||e;return r?.useVanityName!==!1&&n?`/${n}`:""}function V(e){if(u.test(e))return D(e);if(s.test(e))return $(e);throw Error(`Invalid image/file asset ID: ${e}`)}function $(e){if(!s.test(e))throw Error(`Malformed file asset ID '${e}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,t,r]=e.split("-");return{type:"file",assetId:t,extension:r}}function D(e){let[,t,r,n]=e.split("-"),[i,a]=(r||"").split("x").map(Number);if(!t||!r||!n||!(i>0)||!(a>0))throw Error(`Malformed asset ID '${e}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:t,width:i,height:a,extension:n}}function z(e,t){if(A(e))return{asset:{_id:p,_type:"sanity.imageAsset",assetId:m,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:S(),hotspot:P()};let r=t||K(e);return{asset:T(e,r),crop:e.crop||S(),hotspot:e.hotspot||P()}}function T(e,t){let r={...t||H(e),useVanityName:!1},i=q(e),a=(e.asset||e).metadata||{},{assetId:o,width:s,height:l,extension:u}=D(i),f={...y(e)&&"sanity.imageAsset"===e._type?e:{},_id:i,_type:"sanity.imageAsset",assetId:o,extension:u,metadata:{...a,dimensions:{width:s,height:l,aspectRatio:s/l}},url:"",path:""};return{...f,path:C(f,r),url:`${r?.baseUrl||n}/${C(f,r)}`}}function L(e,t){if(A(e))return{asset:{_id:p,_type:d,assetId:m,extension:"tmp",url:"",path:"",metadata:{}}};let r=t||K(e);return{asset:F(e,r)}}function F(e,t){if(A(e))return{assetId:m,_id:p,_type:d,extension:"tmp",metadata:{},url:"",path:""};let r={...t||H(e),useVanityName:!1},n=q(e),i=e.asset||e,{assetId:a,extension:o}=$(n),s={...y(e)&&"sanity.fileAsset"===e._type?e:{},_id:n,_type:"sanity.fileAsset",assetId:a,extension:o,metadata:i.metadata||{},url:"",path:""};return{...s,path:R(s,r),url:E(s,r)}}function q(e){if(A(e))return p;let t=_(e)?e.asset:e,r="";if("string"==typeof t?r=U(t):b(t)?r=t._ref:y(t)&&"string"==typeof t._id?r=t._id:w(t)?r=W(`${n}/${t.path}`):x(t)&&(r=W(t.url)),!(r&&c.test(r)))throw new g(e);return r}v(function(e){var t;let r=(I(e)||e).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(t=r,!(o.test(t)||l.test(t)))throw new g(`Failed to resolve filename from URL "${e}"`);return r}),v(function(e){if(A(e))return{width:0,height:0,aspectRatio:0};let{width:t,height:r}=D(q(e));return{width:t,height:r,aspectRatio:t/r}}),v(function(e){return A(e)?"tmp":!function(e){let t=G(e);return!!t&&t.startsWith("file-")}(e)?z(e,h).asset.extension:L(e,h).asset.extension}),v(z),v(T),v(L),v(F);let G=v(q);function U(e){var t,r;if(c.test(e))return e;let i=k(e)?new URL(e).pathname:e;if(0===i.indexOf("/images")||0===i.indexOf("/files"))return W(e);if(f.test(e))return W(`${n}/${e}`);if(t=e,o.test(t))return W(`${n}/files/a/b/${e}`);if(r=e,l.test(r))return W(`${n}/images/a/b/${e}`);throw new g(e)}function W(e){let[t,,,r]=O(e).split("/");return`${t.replace(/s$/,"")}-${r.replace(/\./g,"-")}`}function H(e){let t=function e(t){if(_(t))return e(t.asset);if(!b(t)){if("string"==typeof t)return f.test(I(t)||"")?O(t):void 0;if(w(t))return t.path;if(x(t))return O(t.url)}}(e);if(!t)throw new g(e,"Failed to resolve project ID and dataset from source");let[,,r,n]=t.match(f)||[];if(!r||!n)throw new g(e,"Failed to resolve project ID and dataset from source");return{projectId:r,dataset:n}}v(U);let K=v(H)},35447:(e,t,r)=>{"use strict";r.d(t,{A:()=>
1function e(){var t,r,a=(function e(){var t=new i,r=[],a=[],o=s;function l(e){let n=t.get(e);if(void 0===n){if(o!==s)return o;t.set(e,n=r.push(e)-1)}return a[n%a.length]}return l.domain=function(e){if(!arguments.length)return r.slice();for(let n of(r=[],t=new i,e))t.has(n)||t.set(n,r.push(n)-1);return l},l.range=function(e){return arguments.length?(a=Array.from(e),l):a.slice()},l.unknown=function(e){return arguments.length?(o=e,l):o},l.copy=function(){return e(r,a).unknown(o)},n.C.apply(l,arguments),l})().unknown(void 0),o=a.domain,l=a.range,u=0,f=1,c=!1,d=0,h=0,p=.5;function m(){var e=o().length,n=f<u,i=n?f:u,a=n?u:f;t=(a-i)/Math.max(1,e-d+2*h),c&&(t=Math.floor(t)),i+=(a-i-t*(e-d))*p,r=t*(1-d),c&&(i=Math.round(i),r=Math.round(r));var s=(function(e,t,r){e*=1,t*=1,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),a=Array(i);++n<i;)a[n]=e+n*r;return a})(e).map(function(e){return i+t*e});return l(n?s.reverse():s)}return delete a.unknown,a.domain=function(e){return arguments.length?(o(e),m()):o()},a.range=function(e){return arguments.length?([u,f]=e,u*=1,f*=1,m()):[u,f]},a.rangeRound=function(e){return[u,f]=e,u*=1,f*=1,c=!0,m()},a.bandwidth=function(){return r},a.step=function(){return t},a.round=function(e){return arguments.length?(c=!!e,m()):c},a.padding=function(e){return arguments.length?(d=Math.min(1,h=+e),m()):d},a.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),m()):d},a.paddingOuter=function(e){return arguments.length?(h=+e,m()):h},a.align=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),m()):p},a.copy=function(){return e(o(),[u,f]).round(c).paddingInner(d).paddingOuter(h).align(p)},n.C.apply(m(),arguments)}});var n=r(6256);class i extends Map{constructor(e,t=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,r]of e)this.set(t,r)}get(e){return super.get(a(this,e))}has(e){return super.has(a(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function a({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):r}function o(e){return null!==e&&"object"==typeof e?e.valueOf():e}let s=Symbol("implicit")},41407:(e,t,r)=>{"use strict";r.d(t,{I:()=>o});var n=r(40031),i=r(15824),a=r(12115);function o(){n.r.current||(0,i.Uu)();let[e]=(0,a.useState)(n.O.current);return e}},44636:(e,t,r)=>{"use strict";r.d(t,{Ub:()=>o});var n=r(12115);r(47957);var i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,a="undefined"==typeof window;function o(e,t){let r="boolean"==typeof t?t:(null==t?void 0:t.defaultValue)??!1,o="boolean"==typeof t?void 0:(null==t?void 0:t.initializeWithValue)??void 0,s=e=>a?r:window.matchMedia(e).matches,[l,u]=(0,n.useState)(()=>o?s(e):r);function f(){u(s(e))}return i(()=>{let t=window.matchMedia(e);return f(),t.addListener?t.addListener(f):t.addEventListener("change",f),()=>{t.removeListener?t.removeListener(f):t.removeEventListener("change",f)}},[e]),l}},45585:(e,t,r)=>{"use strict";function n(e){return e}function i(e){return"translate("+e+",0)"}function a(e){return"translate(0,"+e+")"}function o(){return!this.__axis}function s(e,t){var r=[],s=null,l=null,u=6,f=6,c=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,h=1===e||4===e?-1:1,p=4===e||2===e?"x":"y",m=1===e||3===e?i:a;function g(i){var a=null==s?t.ticks?t.ticks.apply(t,r):t.domain():s,g=null==l?t.tickFormat?t.tickFormat.apply(t,r):n:l,v=Math.max(u,0)+c,y=t.range(),b=+y[0]+d,w=+y[y.length-1]+d,x=(t.bandwidth?function(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),r=>+e(r)+t}:function(e){return t=>+e(t)})(t.copy(),d),_=i.selection?i.selection():i,A=_.selectAll(".domain").data([null]),k=_.selectAll(".tick").data(a,t).order(),M=k.exit(),j=k.enter().append("g").attr("class","tick"),S=k.select("line"),P=k.select("text");A=A.merge(A.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(j),S=S.merge
1(j.append("line").attr("stroke","currentColor").attr(p+"2",h*u)),P=P.merge(j.append("text").attr("fill","currentColor").attr(p,h*v).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),i!==_&&(A=A.transition(i),k=k.transition(i),S=S.transition(i),P=P.transition(i),M=M.transition(i).attr("opacity",1e-6).attr("transform",function(e){return isFinite(e=x(e))?m(e+d):this.getAttribute("transform")}),j.attr("opacity",1e-6).attr("transform",function(e){var t=this.parentNode.__axis;return m((t&&isFinite(t=t(e))?t:x(e))+d)})),M.remove(),A.attr("d",4===e||2===e?f?"M"+h*f+","+b+"H"+d+"V"+w+"H"+h*f:"M"+d+","+b+"V"+w:f?"M"+b+","+h*f+"V"+d+"H"+w+"V"+h*f:"M"+b+","+d+"H"+w),k.attr("opacity",1).attr("transform",function(e){return m(x(e)+d)}),S.attr(p+"2",h*u),P.attr(p,h*v).text(g),_.filter(o).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),_.each(function(){this.__axis=x})}return g.scale=function(e){return arguments.length?(t=e,g):t},g.ticks=function(){return r=Array.from(arguments),g},g.tickArguments=function(e){return arguments.length?(r=null==e?[]:Array.from(e),g):r.slice()},g.tickValues=function(e){return arguments.length?(s=null==e?null:Array.from(e),g):s&&s.slice()},g.tickFormat=function(e){return arguments.length?(l=e,g):l},g.tickSize=function(e){return arguments.length?(u=f=+e,g):u},g.tickSizeInner=function(e){return arguments.length?(u=+e,g):u},g.tickSizeOuter=function(e){return arguments.length?(f=+e,g):f},g.tickPadding=function(e){return arguments.length?(c=+e,g):c},g.offset=function(e){return arguments.length?(d=+e,g):d},g}function l(e){return s(1,e)}function u(e){return s(3,e)}function f(e){return s(4,e)}r.d(t,{l7:()=>u,V4:()=>f,tl:()=>l})},47957:(e,t,r)=>{var n=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,c=u||f||Function("return this")(),d=Object.prototype.toString,h=Math.max,p=Math.min,m=function(){return c.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return n;if(g(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=g(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=o.test(e);return u||s.test(e)?l(e.slice(2),u?2:8):a.test(e)?n:+e}e.exports=function(e,t,r){var n,i,a,o,s,l,u=0,f=!1,c=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var r=n,a=i;return n=i=void 0,u=t,o=e.apply(a,r)}function b(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||c&&n>=a}function w(){var e,r,n,i=m();if(b(i))return x(i);s=setTimeout(w,(e=i-l,r=i-u,n=t-e,c?p(n,a-r):n))}function x(e){return(s=void 0,d&&n)?y(e):(n=i=void 0,o)}function _(){var e,r=m(),a=b(r);if(n=arguments,i=this,l=r,a){if(void 0===s)return u=e=l,s=setTimeout(w,t),f?y(e):o;if(c)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),o}return t=v(t)||0,g(r)&&(f=!!r.leading,a=(c="maxWait"in r)?h(v(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),_.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0},_.flush=function(){return void 0===s?o:x(m())},_}},50677:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(20712),i=r(90964),a=r(80177);function o(e){return(0,a.A)(1,arguments),(0,i.A)(e,(0,n.A)(Date.now(),1))}},55963:(e,t,r)=>{"use strict";r.d(t,{A:()=>function e(){var t,r=(function(){var e,t,r,n,i,a,o=M,s=M,l=function e(t,r){var n,i,a=typeof r;return null==r||"boolean"===a?(0,_.A)(r):("number"===a?w.A:"string"===a?(i=(0,y.Ay)(r))?(r=i,b.Ay):x.A:r instanceof y.Ay?b.Ay:r instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(n=r)||n instanceof DataView?Array.isArray(r)?function(t,r){var n,i=r?r.length:0,a=t?Math.min(i,t.length):0,o=Array(a),s=Array(i);for(n=0;n<a;++n)o[n]=e(t[n],r[n]);for(;n<i;++n)s[n]=r[n];return function(e){for(n=0;n<a;++n)s[n]=o[n](e);return s}}:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?function(t,r){var n,i={},a={};for(n in(null===t||"object"!=typeof t)&&(t={}),(null===r||"object"!=typeof r)&&(r={}),r)n in t?i[n]=e(t[n],r[n]):a[n]=r[n];return function(e){for(n in i)a[n]=i[n](e);return a}}:w.A:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(r=0;r<n;++r)i[r]=e[r]*(1-a)+t[r]*a;return i}})(t,r)},u=j;function f(){var e,t,r,l=Math.min(o.length,s.length);return u!==j&&(e=o[0],t=o[l-1],e>t&&(r=e,e=t,t=r),u=function(r){return Math.max(e,Math.min(t,r))}),n=l>2?C:P,i=a=null,c}function c(t){return null==t||isNaN(t*=1)?r:(i||(i=n(o.map(e),s,l)))(e(u(t)))}return c.invert=function(r){return u(t((a||(a=n(s,o.map(e),w.A)))(r)))},c.domain=function(e){return arguments.length?(o=Array.from(e,k),f()):o.slice()},c.range=function(e){return arguments.length?(s=Array.from(e),f()):s.slice()},c.rangeRound=function(e){return s=Array.from(e),l=A,f()},c.clamp=function(e){return arguments.length?(u=!!e||j,f()):u!==j},c.interpolate=function(e){return arguments.length?(l=e,f()):l},c.unknown=function(e){return arguments.length?(r=e,c):r},function(r,n){return e=r,t=n,f()}})()(j,j);return r.copy=function(){return e().domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())},R.C.apply(r,arguments),t=r.domain,r.ticks=function(e){var r=t();return function(e,t,r){if(t*=1,e*=1,!((r*=1)>0))return[];if(e===t)return[e];let n=t<e,[i,a,s]=n?o(t,e,r):o(e,t,r);if(!(a>=i))return[];let l=a-i+1,u=Array(l);if(n)if(s<0)for(let e=0;e<l;++e)u[e]=-((a-e)/s);else for(let e=0;e<l;++e)u[e]=(a-e)*s;else if(s<0)for(let e=0;e<l;++e)u[e]=-((i+e)/s);else for(let e=0;e<l;++e)u[e]=(i+e)*s;return u}(r[0],r[r.length-1],null==e?10:e)},r.tickFormat=function(e,r){var n=t();return function(e,t,r,n){var i,a,o=function(e,t,r){t*=1,e*=1,r*=1;let n=t<e,i=n?s(t,e,r):s(e,t,r);return(n?-1:1)*(i<0?-(1/i):i)}(e,t,r);switch((n=O(null==n?",f":n)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(a=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(V(l)/3)))-V(Math.abs(o))))||(n.precision=a),v(n,l);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(a=Math.max(0,V(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=o)))-V(i))+1)||(n.precision=a-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(a=Math.max(0,-V(Math.abs(o))))||(n.precision=a-("%"===n.type)*2)}return g(n)}(n[0],n[n.length-1],null==e?10:e,r)},r.nice=function(e){null==e&&(e=10);
1var n,i,a=t(),o=0,l=a.length-1,u=a[o],f=a[l],c=10;for(f<u&&(i=u,u=f,f=i,i=o,o=l,l=i);c-- >0;){if((i=s(u,f,e))===n)return a[o]=u,a[l]=f,t(a);if(i>0)u=Math.floor(u/i)*i,f=Math.ceil(f/i)*i;else if(i<0)u=Math.ceil(u*i)/i,f=Math.floor(f*i)/i;else break;n=i}return r},r}});let n=Math.sqrt(50),i=Math.sqrt(10),a=Math.sqrt(2);function o(e,t,r){let s,l,u,f=(t-e)/Math.max(0,r),c=Math.floor(Math.log10(f)),d=f/Math.pow(10,c),h=d>=n?10:d>=i?5:d>=a?2:1;return(c<0?(s=Math.round(e*(u=Math.pow(10,-c)/h)),l=Math.round(t*u),s/u<e&&++s,l/u>t&&--l,u=-u):(s=Math.round(e/(u=Math.pow(10,c)*h)),l=Math.round(t/u),s*u<e&&++s,l*u>t&&--l),l<s&&.5<=r&&r<2)?o(e,t,2*r):[s,l,u]}function s(e,t,r){return o(e*=1,t*=1,r*=1)[2]}function l(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function u(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function f(e){let t,r,n;function i(e,n,a=0,o=e.length){if(a<o){if(0!==t(n,n))return o;do{let t=a+o>>>1;0>r(e[t],n)?a=t+1:o=t}while(a<o)}return a}return 2!==e.length?(t=l,r=(t,r)=>l(e(t),r),n=(t,r)=>e(t)-r):(t=e===l||e===u?e:c,r=e,n=e),{left:i,center:function(e,t,r=0,a=e.length){let o=i(e,t,r,a-1);return o>r&&n(e[o-1],t)>-n(e[o],t)?o-1:o},right:function(e,n,i=0,a=e.length){if(i<a){if(0!==t(n,n))return a;do{let t=i+a>>>1;0>=r(e[t],n)?i=t+1:a=t}while(i<a)}return i}}}function c(){return 0}let d=f(l),h=d.right;d.left,f(function(e){return null===e?NaN:+e}).center;var p,m,g,v,y=r(73690),b=r(23767),w=r(71716),x=r(8592),_=r(23493);function A(e,t){return e*=1,t*=1,function(r){return Math.round(e*(1-r)+t*r)}}function k(e){return+e}var M=[0,1];function j(e){return e}function S(e,t){var r;return(t-=e*=1)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r})}function P(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=S(i,n),a=r(o,a)):(n=S(n,i),a=r(a,o)),function(e){return a(n(e))}}function C(e,t,r){var n=Math.min(e.length,t.length)-1,i=Array(n),a=Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=S(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(t){var r=h(e,t,1,n)-1;return a[r](i[r](t))}}var R=r(6256),E=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function O(e){var t;if(!(t=E.exec(e)))throw Error("invalid format: "+e);return new I({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function I(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function N(e,t){if(!isFinite(e)||0===e)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function V(e){return(e=N(Math.abs(e)))?e[1]:NaN}function $(e,t){var r=N(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}O.prototype=I.prototype,I.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let D={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>$(100*e,t),r:$,s:function(e,t){var r=N(e,t);if(!r)return p=void 0,e.toPrecision(t);var n=r[0],i=r[1],a=i-(p=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=n.length;return a===o?n:a>o?n+Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+Array(1-a).join("0")+N(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function z(e){return e}var T=Array.prototype.map,L=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];g=(m=function(e){var t,r,n,i=void 0===e.grouping||void 0===e.thousands?z:(t=T.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,a=[],o=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),a.push(e.substring(i-=s,i+s)),!((l+=s+1)>n));)s=t[o=(o+1)%t.length];return a.reverse().join(r)}),a=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?z:(n=T.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return n[+e]})}),u=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"â":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function d(e,t){var r=(e=O(e)).fill,n=e.align,d=e.sign,h=e.symbol,m=e.zero,g=e.width,v=e.comma,y=e.precision,b=e.trim,w=e.type;"n"===w?(v=!0,w="g"):D[w]||(void 0===y&&(y=12),b=!0,w="g"),(m||"0"===r&&"="===n)&&(m=!0,r="0",n="=");var x=(t&&void 0!==t.prefix?t.prefix:"")+("$"===h?a:"#"===h&&/[boxX]/.test(w)?"0"+w.toLowerCase():""),_=("$"===h?o:/[%p]/.test(w)?u:"")+(t&&void 0!==t.suffix?t.suffix:""),A=D[w],k=/[defgprs%]/.test(w);function M(e){var t,a,o,u=x,h=_;if("c"===w)h=A(e)+h,e="";else{var M=(e*=1)<0||1/e<0;
1if(e=isNaN(e)?c:A(Math.abs(e),y),b&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),M&&0==+e&&"+"!==d&&(M=!1),u=(M?"("===d?d:f:"-"===d||"("===d?"":d)+u,h=("s"!==w||isNaN(e)||void 0===p?"":L[8+p/3])+h+(M&&"("===d?")":""),k){for(t=-1,a=e.length;++t<a;)if(48>(o=e.charCodeAt(t))||o>57){h=(46===o?s+e.slice(t+1):e.slice(t))+h,e=e.slice(0,t);break}}}v&&!m&&(e=i(e,1/0));var j=u.length+e.length+h.length,S=j<g?Array(g-j+1).join(r):"";switch(v&&m&&(e=i(S+e,S.length?g-h.length:1/0),S=""),n){case"<":e=u+e+h+S;break;case"=":e=u+S+e+h;break;case"^":e=S.slice(0,j=S.length>>1)+u+e+h+S.slice(j);break;default:e=S+u+e+h}return l(e)}return y=void 0===y?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return e+""},M}return{format:d,formatPrefix:function(e,t){var r=3*Math.max(-8,Math.min(8,Math.floor(V(t)/3))),n=Math.pow(10,-r),i=d(((e=O(e)).type="f",e),{suffix:L[8+r/3]});return function(e){return i(n*e)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,v=m.formatPrefix},56724:(e,t,r)=>{"use strict";r.d(t,{k5:()=>f});var n=r(12115),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(i),o=["attr","size","title"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e){return t=>n.createElement(c,s({attr:u({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,u({key:r},t.attr),e(t.child)))}(e.child))}function c(e){var t=t=>{var r,{attr:i,size:a,title:l}=e,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o),c=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,f,{className:r,style:u(u({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),e.children)};return void 0!==a?n.createElement(a.Consumer,null,e=>t(e)):t(i)}},57259:(e,t,r)=>{"use strict";r.d(t,{UC:()=>S,bL:()=>M,l9:()=>j});var n=r(12115),i=r(92556),a=r(3468),o=r(23558),s=r(4129),l=r(94446),u=r(97602),f=r(76842),c=r(68946),d=r(95155),h="Collapsible",[p,m]=(0,a.A)(h),[g,v]=p(h),y=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:i,defaultOpen:a,disabled:s,onOpenChange:l,...f}=e,[p,m]=(0,o.i)({prop:i,defaultProp:null!=a&&a,onChange:l,caller:h});return(0,d.jsx)(g,{scope:r,disabled:s,contentId:(0,c.B)(),open:p,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),children:(0,d.jsx)(u.sG.div,{"data-state":k(p),"data-disabled":s?"":void 0,...f,ref:t})})});y.displayName=h;
1var b="CollapsibleTrigger",w=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,a=v(b,r);return(0,d.jsx)(u.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":k(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:t,onClick:(0,i.mK)(e.onClick,a.onOpenToggle)})});w.displayName=b;var x="CollapsibleContent",_=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=v(x,e.__scopeCollapsible);return(0,d.jsx)(f.C,{present:r||i.open,children:e=>{let{present:r}=e;return(0,d.jsx)(A,{...n,ref:t,present:r})}})});_.displayName=x;var A=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:i,children:a,...o}=e,f=v(x,r),[c,h]=n.useState(i),p=n.useRef(null),m=(0,l.s)(t,p),g=n.useRef(0),y=g.current,b=n.useRef(0),w=b.current,_=f.open||c,A=n.useRef(_),M=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.N)(()=>{let e=p.current;if(e){M.current=M.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,b.current=t.width,A.current||(e.style.transitionDuration=M.current.transitionDuration,e.style.animationName=M.current.animationName),h(i)}},[f.open,i]),(0,d.jsx)(u.sG.div,{"data-state":k(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!_,...o,ref:m,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:_&&a})});function k(e){return e?"open":"closed"}var M=y,j=w,S=_},65557:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(94304),i=r(80177);function a(e){return(0,i.A)(1,arguments),(0,n.A)(e).getTime()>Date.now()}},69021:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(90964),i=r(80177);function a(e){return(0,i.A)(1,arguments),(0,n.A)(e,Date.now())}},83026:(e,t,r)=>{"use strict";r.d(t,{CC:()=>G,Q6:()=>U,bL:()=>q,zi:()=>W});var n=r(12115),i=r(34212),a=r(92556),o=r(94446),s=r(3468),l=r(23558),u=r(66218),f=r(78108),c=r(84288),d=r(97602),h=r(49972),p=r(95155),m=["PageUp","PageDown"],g=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],v={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},y="Slider",[b,w,x]=(0,h.N)(y),[_,A]=(0,s.A)(y,[x]),[k,M]=_(y),j=n.forwardRef((e,t)=>{let{name:r,min:o=0,max:s=100,step:u=1,orientation:f="horizontal",disabled:c=!1,minStepsBetweenThumbs:d=0,defaultValue:h=[o],value:v,onValueChange:y=()=>{},onValueCommit:w=()=>{},inverted:x=!1,form:_,...A}=e,M=n.useRef(new Set),j=n.useRef(0),S="horizontal"===f,[P=[],E]=(0,l.i)({prop:v,defaultProp:h,onChange:e=>{var t;null==(t=[...M.current][j.current])||t.focus(),y(e)}}),O=n.useRef(P);function I(e,t){let{commit:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1},n=(String(u).split(".")[1]||"").length,a=function(e,t){let r=Math.pow(10,t);return Math.round(e*r)/r}(Math.round((e-o)/u)*u+o,n),l=(0,i.q)(a,[o,s]);E(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=[...e];return n[r]=t,n.sort((e,t)=>e-t)}(e,l,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,r)=>e[r+1]-t))>=t;return!0}(n,d*u))return e;{j.current=n.indexOf(l);let t=String(n)!==String(e);return t&&r&&w(n),t?n:e}})}return(0,p.jsx)(k,{scope:e.__scopeSlider,name:r,disabled:c,min:o,max:s,valueIndexToChangeRef:j,thumbs:M.current,values:P,orientation:f,form:_,children:(0,p.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,p.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,p.jsx)(S?C:R,{"aria-disabled":c,"data-disabled":c?"":void 0,...A,ref:t,onPointerDown:(0,a.mK)(A.onPointerDown,()=>{c||(O.current=P)}),min:o,max:s,inverted:x,onSlideStart:c?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let r=e.map(e=>Math.abs(e-t)),n=Math.min(...r);return r.indexOf(n)}(P,e);I(e,t)},onSlideMove:c?void 0:function(e){I(e,j.current)},onSlideEnd:c?void 0:function(){let e=O.current[j.current];P[j.current]!==e&&w(P)},onHomeKeyDown:()=>!c&&I(o,0,{commit:!0}),onEndKeyDown:()=>!c&&I(s,P.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:r}=e;if(!c){let e=m.includes(t.key)||t.shiftKey&&g.includes(t.key),n=j.current;I(P[n]+u*(e?10:1)*r,n,{commit:!0})}}})})})})});j.displayName=y;var[S,P]=_(y,{startEdge:"left",endEdge:"right",size:"width",direction:1}),C=n.forwardRef((e,t)=>
1{let{min:r,max:i,dir:a,inverted:s,onSlideStart:l,onSlideMove:f,onSlideEnd:c,onStepKeyDown:d,...h}=e,[m,g]=n.useState(null),y=(0,o.s)(t,e=>g(e)),b=n.useRef(void 0),w=(0,u.jH)(a),x="ltr"===w,_=x&&!s||!x&&s;function A(e){let t=b.current||m.getBoundingClientRect(),n=F([0,t.width],_?[r,i]:[i,r]);return b.current=t,n(e-t.left)}return(0,p.jsx)(S,{scope:e.__scopeSlider,startEdge:_?"left":"right",endEdge:_?"right":"left",direction:_?1:-1,size:"width",children:(0,p.jsx)(E,{dir:w,"data-orientation":"horizontal",...h,ref:y,style:{...h.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=A(e.clientX);null==l||l(t)},onSlideMove:e=>{let t=A(e.clientX);null==f||f(t)},onSlideEnd:()=>{b.current=void 0,null==c||c()},onStepKeyDown:e=>{let t=v[_?"from-left":"from-right"].includes(e.key);null==d||d({event:e,direction:t?-1:1})}})})}),R=n.forwardRef((e,t)=>{let{min:r,max:i,inverted:a,onSlideStart:s,onSlideMove:l,onSlideEnd:u,onStepKeyDown:f,...c}=e,d=n.useRef(null),h=(0,o.s)(t,d),m=n.useRef(void 0),g=!a;function y(e){let t=m.current||d.current.getBoundingClientRect(),n=F([0,t.height],g?[i,r]:[r,i]);return m.current=t,n(e-t.top)}return(0,p.jsx)(S,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:(0,p.jsx)(E,{"data-orientation":"vertical",...c,ref:h,style:{...c.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=y(e.clientY);null==s||s(t)},onSlideMove:e=>{let t=y(e.clientY);null==l||l(t)},onSlideEnd:()=>{m.current=void 0,null==u||u()},onStepKeyDown:e=>{let t=v[g?"from-bottom":"from-top"].includes(e.key);null==f||f({event:e,direction:t?-1:1})}})})}),E=n.forwardRef((e,t)=>{let{__scopeSlider:r,onSlideStart:n,onSlideMove:i,onSlideEnd:o,onHomeKeyDown:s,onEndKeyDown:l,onStepKeyDown:u,...f}=e,c=M(y,r);return(0,p.jsx)(d.sG.span,{...f,ref:t,onKeyDown:(0,a.mK)(e.onKeyDown,e=>{"Home"===e.key?(s(e),e.preventDefault()):"End"===e.key?(l(e),e.preventDefault()):m.concat(g).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,a.mK)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():n(e)}),onPointerMove:(0,a.mK)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:(0,a.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),o(e))})})}),O="SliderTrack",I=n.forwardRef((e,t)=>{let{__scopeSlider:r,...n}=e,i=M(O,r);return(0,p.jsx)(d.sG.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...n,ref:t})});I.displayName=O;var N="SliderRange",V=n.forwardRef((e,t)=>{let{__scopeSlider:r,...i}=e,a=M(N,r),s=P(N,r),l=n.useRef(null),u=(0,o.s)(t,l),f=a.values.length,c=a.values.map(e=>L(e,a.min,a.max)),h=f>1?Math.min(...c):0,m=100-Math.max(...c);return(0,p.jsx)(d.sG.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...i,ref:u,style:{...e.style,[s.startEdge]:h+"%",[s.endEdge]:m+"%"}})});V.displayName=N;var $="SliderThumb",D=n.forwardRef((e,t)=>{let r=w(e.__scopeSlider),[i,a]=n.useState(null),s=(0,o.s)(t,e=>a(e)),l=n.useMemo(()=>i?r().findIndex(e=>e.ref.current===i):-1,[r,i]);return(0,p.jsx)(z,{...e,ref:s,index:l})}),z=n.forwardRef((e,t)=>{let{__scopeSlider:r,index:i,name:s,...l}=e,u=M($,r),f=P($,r),[h,m]=n.useState(null),g=(0,o.s)(t,e=>m(e)),v=!h||u.form||!!h.closest("form"),y=(0,c.X)(h),w=u.values[i],x=void 0===w?0:L(w,u.min,u.max),_=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(i,u.values.length),A=null==y?void 0:y[f.size],k=A?function(e,t,r){let n=e/2,i=F([0,50],[0,n]);return(n-i(t)*r)*r}(A,x,f.direction):0;return n.useEffect(()=>{if(h)return u.thumbs.add(h),()=>{u.thumbs.delete(h)}},[h,u.thumbs]),(0,p.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[f.startEdge]:"calc(".concat(x,"% + ").concat(k,"px)")},children:[(0,p.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,p.jsx)(d.sG.span,{role:"slider","aria-label":e["aria-label"]||_,"aria-valuemin":u.min,"aria-valuenow":w,"aria-valuemax":u.max,"aria-orientation":u.orientation,"data-orientation":u.orientation,"data-disabled":u.disabled?"":void 0,tabIndex:u.disabled?void 0:0,...l,ref:g,style:void 0===w?{display:"none"}:e.style,onFocus:(0,a.mK)(e.onFocus,()=>{u.valueIndexToChangeRef.current=i})})}),v&&(0,p.jsx)(T,{name:null!=s?s:u.name?u.name+(u.values.length>1?"[]":""):void 0,form:u.form,value:w},i)]})});D.displayName=$;var T=n.forwardRef((e,t)=>
1{let{__scopeSlider:r,value:i,...a}=e,s=n.useRef(null),l=(0,o.s)(s,t),u=(0,f.Z)(i);return n.useEffect(()=>{let e=s.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(u!==i&&t){let r=new Event("input",{bubbles:!0});t.call(e,i),e.dispatchEvent(r)}},[u,i]),(0,p.jsx)(d.sG.input,{style:{display:"none"},...a,ref:l,defaultValue:i})});function L(e,t,r){return(0,i.q)(100/(r-t)*(e-t),[0,100])}function F(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}T.displayName="RadioBubbleInput";var q=j,G=I,U=V,W=D},87109:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(62640),i=r(20712),a=r(80177);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.A)(t);return(0,i.A)(e,-r)}},89178:(e,t,r)=>{"use strict";r.d(t,{CS:()=>rt,zh:()=>tQ});var n,i,a,o=_(),s=e=>y(e,o),l=_();s.write=e=>y(e,l);var u=_();s.onStart=e=>y(e,u);var f=_();s.onFrame=e=>y(e,f);var c=_();s.onFinish=e=>y(e,c);var d=[];s.setTimeout=(e,t)=>{let r=s.now()+t,n=()=>{let e=d.findIndex(e=>e.cancel==n);~e&&d.splice(e,1),g-=!!~e},i={time:r,handler:e,cancel:n};return d.splice(h(r),0,i),g+=1,b(),i};var h=e=>~(~d.findIndex(t=>t.time>e)||~d.length);s.cancel=e=>{u.delete(e),f.delete(e),c.delete(e),o.delete(e),l.delete(e)},s.sync=e=>{v=!0,s.batchedUpdates(e),v=!1},s.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...e){t=e,s.onStart(r)}return n.handler=e,n.cancel=()=>{u.delete(r),t=null},n};var p="undefined"!=typeof window?window.requestAnimationFrame:()=>{};s.use=e=>p=e,s.now="undefined"!=typeof performance?()=>performance.now():Date.now,s.batchedUpdates=e=>e(),s.catch=console.error,s.frameLoop="always",s.advance=()=>{"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};var m=-1,g=0,v=!1;function y(e,t){v?(t.delete(e),e(0)):(t.add(e),b())}function b(){m<0&&(m=0,"demand"!==s.frameLoop&&p(w))}function w(){~m&&(p(w),s.batchedUpdates(x))}function x(){let e=m,t=h(m=s.now());if(t&&(A(d.splice(0,t),e=>e.handler()),g-=t),!g)return void(m=-1);u.flush(),o.flush(e?Math.min(64,m-e):16.667),f.flush(),l.flush(),c.flush()}function _(){let e=new Set,t=e;return{add(r){g+=+!(t!=e||e.has(r)),e.add(r)},delete:r=>(g-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,g-=t.size,A(t,t=>t(r)&&e.add(t)),g+=e.size,t=e)}}}function A(e,t){e.forEach(e=>{try{t(e)}catch(e){s.catch(e)}})}var k=r(12115),M=Object.defineProperty,j={};function S(){}((e,t)=>{for(var r in t)M(e,r,{get:t[r],enumerable:!0})})(j,{assign:()=>T,colors:()=>$,createStringInterpolator:()=>n,skipAnimation:()=>D,to:()=>i,willAdvance:()=>z});var P={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(P.arr(e)){if(!P.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}var R=(e,t)=>e.forEach(t);function E(e,t,r){if(P.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(let n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}var O=e=>P.und(e)?[]:P.arr(e)?e:[e];function I(e,t){if(e.size){let r=Array.from(e);e.clear(),R(r,t)}}var N=(e,...t)=>I(e,e=>e(...t)),V=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),$=null,D=!1,z=S,T=e=>{e.to&&(i=e.to),e.now&&(s.now=e.now),void 0!==e.colors&&($=e.colors),null!=e.skipAnimation&&(D=e.skipAnimation),e.createStringInterpolator&&(n=e.createStringInterpolator),e.requestAnimationFrame&&s.use(e.requestAnimationFrame),e.batchedUpdates&&(s.batchedUpdates=e.batchedUpdates),e.willAdvance&&(z=e.willAdvance),e.frameLoop&&(s.frameLoop=e.frameLoop)},L=new Set,F=[],q=[],G=0,U={get idle(){return!L.size&&!F.length},start(e){G>e.priority?(L.add(e),s.onStart(W)):(H(e),s(Q))},advance:Q,sort(e){if(G)s.onFrame(()=>U.sort(e));else{let t=F.indexOf(e);~t&&(F.splice(t,1),K(e))}},clear(){F=[],L.clear()}};function W(){L.forEach(H),L.clear(),s(Q)}function H(e){F.includes(e)||K(e)}function K(e){F.splice(function(e,t){let r=e.findIndex(t);return r<0?e.length:r}(F,t=>t.priority>e.priority),0,e)}function Q(e){let t=q;for(let r=0;r<F.length;r++){let n=F[r];G=n.priority,!n.idle&&(z(n),n.advance(e),n.idle||t.push(n))}return G=0,(q=F).length=0,(F=t).length>0}var B="[-+]?\\d*\\.?\\d+",X=B+"%";function Z(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Y=RegExp("rgb"+Z(B,B,B)),J=RegExp("rgba"+Z(B,B,B,B)),ee=RegExp("hsl"+Z(B,X,X)),et=RegExp("hsla"
1+Z(B,X,X,B)),er=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,en=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ei=/^#([0-9a-fA-F]{6})$/,ea=/^#([0-9a-fA-F]{8})$/;function eo(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function es(e,t,r){let n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,a=eo(i,n,e+1/3);return Math.round(255*a)<<24|Math.round(255*eo(i,n,e))<<16|Math.round(255*eo(i,n,e-1/3))<<8}function el(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function eu(e){return(parseFloat(e)%360+360)%360/360}function ef(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ec(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function ed(e){let t,r="number"==typeof e?e>>>0===e&&e>=0&&e<=0xffffffff?e:null:(t=ei.exec(e))?parseInt(t[1]+"ff",16)>>>0:$&&void 0!==$[e]?$[e]:(t=Y.exec(e))?(el(t[1])<<24|el(t[2])<<16|el(t[3])<<8|255)>>>0:(t=J.exec(e))?(el(t[1])<<24|el(t[2])<<16|el(t[3])<<8|ef(t[4]))>>>0:(t=er.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ea.exec(e))?parseInt(t[1],16)>>>0:(t=en.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ee.exec(e))?(255|es(eu(t[1]),ec(t[2]),ec(t[3])))>>>0:(t=et.exec(e))?(es(eu(t[1]),ec(t[2]),ec(t[3]))|ef(t[4]))>>>0:null;if(null===r)return e;let n=(0xff000000&(r=r||0))>>>24,i=(0xff0000&r)>>>16,a=(65280&r)>>>8,o=(255&r)/255;return`rgba(${n}, ${i}, ${a}, ${o})`}var eh=(e,t,r)=>{if(P.fun(e))return e;if(P.arr(e))return eh({range:e,output:t,extrapolate:r});if(P.str(e.output[0]))return n(e);let i=e.output,a=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",l=e.easing||(e=>e);return t=>{let r=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(t,a);return function(e,t,r,n,i,a,o,s,l){let u=l?l(e):e;if(u<t)if("identity"===o)return u;else"clamp"===o&&(u=t);if(u>r)if("identity"===s)return u;else"clamp"===s&&(u=r);return n===i?n:t===r?e<=t?n:i:(t===-1/0?u=-u:r===1/0?u-=t:u=(u-t)/(r-t),u=a(u),n===-1/0?u=-u:i===1/0?u+=n:u=u*(i-n)+n,u)}(t,a[r],a[r+1],i[r],i[r+1],l,o,s,e.map)}},ep=Symbol.for("FluidValue.get"),em=Symbol.for("FluidValue.observers"),eg=e=>!!(e&&e[ep]),ev=e=>e&&e[ep]?e[ep]():e,ey=e=>e[em]||null;function eb(e,t){let r=e[em];r&&r.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}var ew=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");ex(this,e)}},ex=(e,t)=>ek(e,ep,t);function e_(e,t){if(e[ep]){let r=e[em];r||ek(e,em,r=new Set),!r.has(t)&&(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function eA(e,t){let r=e[em];if(r&&r.has(t)){let n=r.size-1;n?r.delete(t):e[em]=null,e.observerRemoved&&e.observerRemoved(n,t)}}var ek=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),eM=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ej=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,eS=RegExp(`(${eM.source})(%|[a-z]+)`,"i"),eP=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,eC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,eR=e=>{let[t,r]=eE(e);if(!t||V())return e;let n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(r);if(e)return e}else if(r&&eC.test(r))return eR(r);else if(r)return r;return e},eE=e=>{let t=eC.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]},eO=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,eI=e=>{a||(a=$?RegExp(`(${Object.keys($).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>ev(e).replace(eC,eR).replace(ej,ed).replace(a,ed)),r=t.map(e=>e.match(eM).map(Number)),n=r[0].map((e,t)=>r.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>eh({...e,output:t}));return e=>{let r=!eS.test(t[0])&&t.find(e=>eS.test(e))?.replace(eM,""),i=0;return t[0].replace(eM,()=>`${n[i++](e)}${r||""}`).replace(eP,eO)}},eN="react-spring: ",eV=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${eN}once requires a function parameter`);return(...r)=>{t||(e(...r),t=!0)}},e$=eV(console.warn),eD=eV(console.warn);function ez(e){return P.str(e)&&("#"==e[0]||/\d/.test(e)||!V()&&eC.test(e)||e in($||{}))}var eT=V()?k.useEffect:k.useLayoutEffect;function eL(){let e=(0,k.useState)()[1],t=(()=>{let e=(0,k.useRef)(!1);return eT(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var eF=e=>(0,k.useEffect)(e,eq),eq=[];function eG(e){let t=(0,k.useRef)(void 0);return(0,k.useEffect)(()=>{t.current=e}),t.current}var eU=Symbol.for("Animated:node"),eW=e=>e&&e[eU],eH=(e,t)=>Object.defineProperty(e,eU,{value:t,writable:!0,configurable:!0}),eK=e=>e&&e[eU]&&e[eU].getPayload(),eQ=class{constructor(){eH(this,this)}getPayload(){return this.payload||[]}},eB=class e extends eQ{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,P.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return P.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,P.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},eX=class e extends eB{constructor(e){super(0),this._string=null,this._toString=eh({output:[e,e]})}static create(t){return new e(t)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(P.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=eh({output:[this.getValue(),e]})),this._value=0,super.reset()}},eZ={dependencies:null},eY=class extends eQ{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return E(this.source,(r,n)=>{r&&r[eU]===r?t[n]=r.getValue(e):eg(r)?t[n]=ev(r):e||(t[n]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&R(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return E(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){eZ.dependencies&&eg(e)&&eZ.dependencies.add(e);let t=eK(e);t&&R(t,e=>this.add(e))}},eJ=class e extends eY{constructor(e){super(e)}static create(t){return new e(t)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,r)=>t.setValue(e[r])).some(Boolean):(super.setValue(e.map(e0)),!0)}};function e0(e){return(ez(e)?eX:eB).create(e)}function e1(e){let t=eW(e);return t?t.constructor:P.arr(e)?eJ:ez(e)?eX:eB}var e2=(e,t)=>{let r=!P.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,k.forwardRef)((n,i)=>{let a=(0,k.useRef)(null),o=r&&(0,k.useCallback)(e=>{a.current=function(e,t){return e&&(P.fun(e)?e(t):e.current=t),t}(i,e)},[i]),[l,u]=function(e,t){let r=new Set;return eZ.dependencies=r,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}
1),e=new eY(e),eZ.dependencies=null,[e,r]}(n,t),f=eL(),c=()=>{let e=a.current;(!r||e)&&!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&f()},d=new e5(c,u),h=(0,k.useRef)(void 0);eT(()=>(h.current=d,R(u,e=>e_(e,d)),()=>{h.current&&(R(h.current.deps,e=>eA(e,h.current)),s.cancel(h.current.update))})),(0,k.useEffect)(c,[]),eF(()=>()=>{let e=h.current;R(e.deps,t=>eA(t,e))});let p=t.getComponentProps(l.getValue());return k.createElement(e,{...p,ref:o})})},e5=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&s.write(this.update)}},e9=Symbol.for("AnimatedComponent"),e4=e=>P.str(e)?e:e&&P.str(e.displayName)?e.displayName:P.fun(e)&&e.name||null;function e6(e,...t){return P.fun(e)?e(...t):e}var e8=(e,t)=>!0===e||!!(t&&e&&(P.fun(e)?e(t):O(e).includes(t))),e3=(e,t)=>P.obj(e)?t&&e[t]:e,e7=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,te=e=>e,tt=(e,t=te)=>{let r=tr;e.default&&!0!==e.default&&(r=Object.keys(e=e.default));let n={};for(let i of r){let r=t(e[i],i);P.und(r)||(n[i]=r)}return n},tr=["config","onProps","onStart","onChange","onPause","onResume","onRest"],tn={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ti(e){let t=function(e){let t={},r=0;if(E(e,(e,n)=>{!tn[n]&&(t[n]=e,r++)}),r)return t}(e);if(t){let r={to:t};return E(e,(e,n)=>n in t||(r[n]=e)),r}return{...e}}function ta(e){return e=ev(e),P.arr(e)?e.map(ta):ez(e)?j.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function to(e){return P.fun(e)||P.arr(e)&&P.obj(e[0])}var ts={tension:170,friction:26,mass:1,damping:1,easing:e=>e,clamp:!1},tl=class{constructor(){this.velocity=0,Object.assign(this,ts)}};function tu(e,t){if(P.und(t.decay)){let r=!P.und(t.tension)||!P.und(t.friction);!r&&P.und(t.frequency)&&P.und(t.damping)&&P.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}var tf=[],tc=class{constructor(){this.changed=!1,this.values=tf,this.toValues=null,this.fromValues=tf,this.config=new tl,this.immediate=!1}};function td(e,{key:t,props:r,defaultProps:n,state:i,actions:a}){return new Promise((o,l)=>{let u,f,c=e8(r.cancel??n?.cancel,t);if(c)p();else{P.und(r.pause)||(i.paused=e8(r.pause,t));let e=n?.pause;!0!==e&&(e=i.paused||e8(e,t)),u=e6(r.delay||0,t),e?(i.resumeQueue.add(h),a.pause()):(a.resume(),h())}function d(){i.resumeQueue.add(h),i.timeouts.delete(f),f.cancel(),u=f.time-s.now()}function h(){u>0&&!j.skipAnimation?(i.delayed=!0,f=s.setTimeout(p,u),i.pauseQueue.add(d),i.timeouts.add(f)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(f),e<=(i.cancelId||0)&&(c=!0);try{a.start({...r,callId:e,cancel:c},o)}catch(e){l(e)}}})}var th=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?tg(e.get()):t.every(e=>e.noop)?tp(e.get()):tm(e.get(),t.every(e=>e.finished)),tp=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),tm=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),tg=e=>({value:e,cancelled:!0,finished:!1});function tv(e,t,r,n){let{callId:i,parentId:a,onRest:o}=t,{asyncTo:l,promise:u}=r;return a||e!==l||t.reset?r.promise=(async()=>{let f,c,d;r.asyncId=i,r.asyncTo=e;let h=tt(t,(e,t)=>"onRest"===t?void 0:e),p=new Promise((e,t)=>(f=e,c=t)),m=e=>{let t=i<=(r.cancelId||0)&&tg(n)||i!==r.asyncId&&tm(n,!1);if(t)throw e.result=t,c(e),e},g=(e,t)=>{let a=new tb,o=new tw;return(async()=>{if(j.skipAnimation)throw ty(r),o.result=tm(n,!1),c(o),o;m(a);let s=P.obj(e)?{...e}:{...t,to:e};s.parentId=i,E(h,(e,t)=>{P.und(s[t])&&(s[t]=e)});let l=await n.start(s);return m(a),r.paused&&await new Promise(e=>{r.resumeQueue.add(e)}),l})()};if(j.skipAnimation)return ty(r),tm(n,!1);try{let t;t=P.arr(e)?(async e=>{for(let t of e)await g(t)})(e):Promise.resolve(e(g,n.stop.bind(n))),await Promise.all([t.then(f),p]),d=tm(n.get(),!0,!1)}catch(e){if(e instanceof tb)d=e.result;else if(e instanceof tw)d=e.result;else throw e}finally{i==r.asyncId&&(r.asyncId=a,r.asyncTo=a?l:void 0,r.promise=a?u:void 0)}return P.fun(o)&&s.batchedUpdates(()=>{o(d,n,n.item)}),d})():u}function ty(e,t){I(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}
1var tb=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},tw=class extends Error{constructor(){super("SkipAnimationSignal")}},tx=1,t_=class extends ew{constructor(){super(...arguments),this.id=tx++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=eW(this);return e&&e.getValue()}to(...e){return j.to(this,e)}interpolate(...e){return e$(`${eN}The "interpolate" function is deprecated in v9 (use "to" instead)`),j.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){eb(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||U.sort(this),eb(this,{type:"priority",parent:this,priority:e})}},tA=Symbol.for("SpringPhase"),tk=e=>(1&e[tA])>0,tM=e=>(2&e[tA])>0,tj=e=>(4&e[tA])>0,tS=(e,t)=>t?e[tA]|=3:e[tA]&=-3,tP=(e,t)=>t?e[tA]|=4:e[tA]&=-5,tC=class extends t_{constructor(e,t){if(super(),this.animation=new tc,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!P.und(e)||!P.und(t)){let r=P.obj(e)?{...e}:{...t,from:e};P.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(tM(this)||this._state.asyncTo)||tj(this)}get goal(){return ev(this.animation.to)}get velocity(){let e=eW(this);return e instanceof eB?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return tk(this)}get isAnimating(){return tM(this)}get isPaused(){return tj(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1,n=this.animation,{toValues:i}=n,{config:a}=n,o=eK(n.to);!o&&eg(n.to)&&(i=O(ev(n.to))),n.values.forEach((s,l)=>{if(s.done)return;let u=s.constructor==eX?1:o?o[l].lastPosition:i[l],f=n.immediate,c=u;if(!f){let t;if(c=s.lastPosition,a.tension<=0){s.done=!0;return}let r=s.elapsedTime+=e,i=n.fromValues[l],o=null!=s.v0?s.v0:s.v0=P.arr(a.velocity)?a.velocity[l]:a.velocity,d=a.precision||(i==u?.005:Math.min(1,.001*Math.abs(u-i)));if(P.und(a.duration))if(a.decay){let e=!0===a.decay?.998:a.decay,n=Math.exp(-(1-e)*r);c=i+o/(1-e)*(1-n),f=Math.abs(s.lastPosition-c)<=d,t=o*n}else{t=null==s.lastVelocity?o:s.lastVelocity;let r=a.restVelocity||d/10,n=a.clamp?0:a.bounce,l=!P.und(n),h=i==u?s.v0>0:i<u,p=Math.ceil(e/1);for(let e=0;e<p&&!(!(Math.abs(t)>r)&&(f=Math.abs(u-c)<=d));++e){l&&(c==u||c>u==h)&&(t=-t*n,c=u);let e=(-(1e-6*a.tension)*(c-u)+-(.001*a.friction)*t)/a.mass;t+=+e,c+=+t}}else{let n=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,s.durationProgress>0&&(s.elapsedTime=a.duration*s.durationProgress,r=s.elapsedTime+=e)),s.durationProgress=n=(n=(a.progress||0)+r/this._memoizedDuration)>1?1:n<0?0:n),t=((c=i+a.easing(n)*(u-i))-s.lastPosition)/e,f=1==n}s.lastVelocity=t,Number.isNaN(c)&&(console.warn("Got NaN while animating:",this),f=!0)}o&&!o[l].done&&(f=!1),f?s.done=!0:t=!1,s.setValue(c,a.round)&&(r=!0)});let s=eW(this),l=s.getValue();if(t){let e=ev(n.to);(l!==e||r)&&!a.decay?(s.setValue(e),this._onChange(e)):r&&a.decay&&this._onChange(l),this._stop()}else r&&this._onChange(l)}set(e){return s.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(tM(this)){let{to:e,config:t}=this.animation;s.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return P.und(e)?(r=this.queue||[],this.queue=[]):r=[P.obj(e)?e:{...t,to:e}],Promise.all(r.map(e=>this._update(e))).then(e=>th(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),ty(this._state,e&&this._lastCallId),s.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:r,from:n}=e;(null==(r=P.obj(r)?r[t]:r)||to(r))&&(r=void 0),null==(n=P.obj(n)?n[t]:n)&&(n=void 0);let i={to:r,from:n};return!tk(this)&&(e.reverse&&([r,n]=[n,r]),n=ev(n),P.und(n)?eW(this)||this._set(r):this._set(n)),i}_update({...e},t){let{key:r,defaultProps:n}=this;e.default&&Object.assign(n,tt(e,(e,t)=>/^on/.test(t)?e3(e,r):e)),tV(this,e,"onProps"),t$(this,"onProps",e,this);let i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did
1you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return td(++this._lastCallId,{key:r,props:e,defaultProps:n,state:a,actions:{pause:()=>{tj(this)||(tP(this,!0),N(a.pauseQueue),t$(this,"onPause",tm(this,tR(this,this.animation.to)),this))},resume:()=>{tj(this)&&(tP(this,!1),tM(this)&&this._resume(),N(a.resumeQueue),t$(this,"onResume",tm(this,tR(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(r=>{if(e.loop&&r.finished&&!(t&&r.noop)){let t=tE(e);if(t)return this._update(t,!0)}return r})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(tg(this));let n=!P.und(e.to),i=!P.und(e.from);if(n||i)if(!(t.callId>this._lastToId))return r(tg(this));else this._lastToId=t.callId;let{key:a,defaultProps:o,animation:l}=this,{to:u,from:f}=l,{to:c=u,from:d=f}=e;i&&!n&&(!t.default||P.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);let h=!C(d,f);h&&(l.from=d),d=ev(d);let p=!C(c,u);p&&this._focus(c);let m=to(t.to),{config:g}=l,{decay:v,velocity:y}=g;(n||i)&&(g.velocity=0),t.config&&!m&&function(e,t,r){for(let n in r&&(tu(r={...r},t),t={...r,...t}),tu(e,t),Object.assign(e,t),ts)null==e[n]&&(e[n]=ts[n]);let{frequency:n,damping:i}=e,{mass:a}=e;P.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*a,e.friction=4*Math.PI*i*a/n)}(g,e6(t.config,a),t.config!==o.config?e6(o.config,a):void 0);let b=eW(this);if(!b||P.und(c))return r(tm(this,!0));let w=P.und(t.reset)?i&&!t.default:!P.und(d)&&e8(t.reset,a),x=w?d:this.get(),_=ta(c),A=P.num(_)||P.arr(_)||ez(_),k=!m&&(!A||e8(o.immediate||t.immediate,a));if(p){let e=e1(c);if(e!==b.constructor)if(k)b=this._set(_);else throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`)}let M=b.constructor,j=eg(c),S=!1;if(!j){let e=w||!tk(this)&&h;(p||e)&&(j=!(S=C(ta(x),_))),(C(l.immediate,k)||k)&&C(g.decay,v)&&C(g.velocity,y)||(j=!0)}if(S&&tM(this)&&(l.changed&&!w?j=!0:j||this._stop(u)),!m&&((j||eg(u))&&(l.values=b.getPayload(),l.toValues=eg(c)?null:M==eX?[1]:O(_)),l.immediate!=k&&(l.immediate=k,k||w||this._set(u)),j)){let{onRest:e}=l;R(tN,e=>tV(this,t,e));let n=tm(this,tR(this,u));N(this._pendingCalls,n),this._pendingCalls.add(r),l.changed&&s.batchedUpdates(()=>{l.changed=!w,e?.(n,this),w?e6(o.onRest,n):l.onStart?.(n,this)})}w&&this._set(x),m?r(tv(t.to,t,this._state,this)):j?this._start():tM(this)&&!p?this._pendingCalls.add(r):r(tp(x))}_focus(e){let t=this.animation;e!==t.to&&(ey(this)&&this._detach(),t.to=e,ey(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;eg(t)&&(e_(t,this),t instanceof t_&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;eg(e)&&eA(e,this)}_set(e,t=!0){let r=ev(e);if(!P.und(r)){let e=eW(this);if(!e||!C(r,e.getValue())){let n=e1(r);e&&e.constructor==n?e.setValue(r):eH(this,n.create(r)),e&&s.batchedUpdates(()=>{this._onChange(r,t)})}}return eW(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,t$(this,"onStart",tm(this,tR(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),e6(this.animation.onChange,e,this)),e6(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;eW(this).reset(ev(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),!tM(this)&&(tS(this,!0),tj(this)||this._resume())}_resume(){j.skipAnimation?this.finish():U.start(this)}_stop(e,t){if(tM(this)){tS(this,!1);let r=this.animation;R(r.values,e=>{e.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),eb(this,{type:"idle",parent:this});let n=t?tg(this.get()):tm(this.get(),tR(this,e??r.to));N(this._pendingCalls,n),r.changed&&(r.changed=!1,t$(this,"onRest",n,this))}}};function tR(e,t){let r=ta(t);return C(ta(e.get()),r)}function tE(e,t=e.loop,r=e.to){let n=e6(t);if(n){let i=!0!==n&&ti(n),a=(i||e).reverse,o=!i||i.reset;return tO({...e,loop:t,default:!1,pause:void 0,to:!a||to(r)?r:void 0,from:o?e.from:void 0,reset:o,...i})}}function tO(e){let{to:t,from:r}=e=ti(e),n=new Set;return P.obj(t)&&tI(t,n),P.obj(r)&&tI(r,n),e.keys=n.size?Array.from(n):null,e}function tI(e,t){E(e,(e,r)=>null!=e&&t.add(r))}var tN=["onStart","onRest","onChange","onPause","onResume"];function tV(e,t,r){e.animation[r]=t[r]!==e7(t,r)?e3(t[r],e.key):void 0}function t$(e,t,...r){e.animation[t]?.(...r),e.defaultProps[t]?.(...r)}var tD=["onStart","onChange","onRest"],tz=1,tT=class{constructor(e,t){this.id=tz++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(let t in e){let r=e[t];P.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(tO(e)),this}start(e){let{queue:t}=this;return(e?t=O(e).map(tO):this.queue=[],this._flush)?this._flush(this,t):(tH(this,t),tL(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let r=this.springs;R(O(t),t=>r[t].stop(!!e))}else ty(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(P.und(e))this.start({pause:!0});else{let t=this.springs;R(O(e),e=>t[e].pause())}return this}resume(e){if(P.und(e))this.start({pause:!1});else{let t=this.springs;R(O(e),e=>t[e].resume())}return this}each(e){E(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,I(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let a=!n&&this._started,o=i||a&&r.size?this.get():null;i&&t.size&&I(t,([e,t])=>{t.value=o,e(t,this,this._item)}),a&&(this._started=!1,I(r,([e,t])=>{t.value=o,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}s.onFrame(this._onFrame)}};function tL(e,t){return Promise.all(t.map(t=>tF(e,t))).then(t=>th(e,t))}async function tF(e,t,r){let{keys:n,to:i,from:a,loop:o,onRest:l,onResolve:u}=t,f=P.obj(t.default)&&t.default;o&&(t.loop=!1),!1===i&&(t.to=null),!1===a&&(t.from=null);let c=P.arr(i)||P.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,f&&(f.onRest=void 0)):R(tD,r=>{let n=t[r];
1if(P.fun(n)){let i=e._events[r];t[r]=({finished:e,cancelled:t})=>{let r=i.get(n);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):i.set(n,{value:null,finished:e||!1,cancelled:t||!1})},f&&(f[r]=t[r])}});let d=e._state;!d.paused===t.pause?(d.paused=t.pause,N(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let h=(n||Object.keys(e.springs)).map(r=>e.springs[r].start(t)),p=!0===t.cancel||!0===e7(t,"cancel");(c||p&&d.asyncId)&&h.push(td(++e._lastAsyncId,{props:t,state:d,actions:{pause:S,resume:S,start(t,r){p?(ty(d,e._lastAsyncId),r(tg(e))):(t.onRest=l,r(tv(c,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let m=th(e,await Promise.all(h));if(o&&m.finished&&!(r&&m.noop)){let r=tE(t,o,i);if(r)return tH(e,[r]),tF(e,r,!0)}return u&&s.batchedUpdates(()=>u(m,e,e.item)),m}function tq(e,t){let r={...e.springs};return t&&R(O(t),e=>{P.und(e.keys)&&(e=tO(e)),P.obj(e.to)||(e={...e,to:void 0}),tW(r,e,e=>tU(e))}),tG(e,r),r}function tG(e,t){E(t,(t,r)=>{e.springs[r]||(e.springs[r]=t,e_(t,e))})}function tU(e,t){let r=new tC;return r.key=e,t&&e_(r,t),r}function tW(e,t,r){t.keys&&R(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function tH(e,t){R(t,t=>{tW(e.springs,t,t=>tU(t,e))})}var tK=k.createContext({pause:!1,immediate:!1});function tQ(e,t){let r=P.fun(e),[[n],i]=function(e,t,r){let n=P.fun(t)&&t;n&&!r&&(r=[]);let i=(0,k.useMemo)(()=>n||3==arguments.length?(()=>{let e=[],t=function(t){eD(`${eN}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);let n=[];return R(e,(e,i)=>{if(P.und(t))n.push(e.start());else{let a=r(t,e,i);a&&n.push(e.start(a))}}),n};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return R(e,e=>e.pause(...arguments)),this},t.resume=function(){return R(e,e=>e.resume(...arguments)),this},t.set=function(t){R(e,(e,r)=>{let n=P.fun(t)?t(r,e):t;n&&e.set(n)})},t.start=function(t){let r=[];return R(e,(e,n)=>{if(P.und(t))r.push(e.start());else{let i=this._getProps(t,e,n);i&&r.push(e.start(i))}}),r},t.stop=function(){return R(e,e=>e.stop(...arguments)),this},t.update=function(t){return R(e,(e,r)=>e.update(this._getProps(t,e,r))),this};let r=function(e,t,r){return P.fun(e)?e(r,t):e};return t._getProps=r,t})():void 0,[]),a=(0,k.useRef)(0),o=eL(),s=(0,k.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let r=tq(e,t);return!(a.current>0)||s.queue.length||Object.keys(r).some(t=>!e.springs[t])?new Promise(n=>{tG(e,r),s.queue.push(()=>{n(tL(e,t))}),o()}):tL(e,t)}}),[]),l=(0,k.useRef)([...s.ctrls]),u=(0,k.useRef)([]),f=eG(e)||0;function c(e,r){for(let i=e;i<r;i++){let e=l.current[i]||(l.current[i]=new tT(null,s.flush)),r=n?n(i,e):t[i];r&&(u.current[i]=function(e){let t=tO(e);return P.und(t.default)&&(t.default=tt(t)),t}(r))}}(0,k.useMemo)(()=>{R(l.current.slice(e,f),e=>{e.ref?.delete(e),i?.delete(e),e.stop(!0)}),l.current.length=e,c(f,e)},[e]),(0,k.useMemo)(()=>{c(0,Math.min(f,e))},r);let d=l.current.map((e,t)=>tq(e,u.current[t])),h=(0,k.useContext)(tK),p=eG(h),m=h!==p&&function(e){for(let t in e)return!0;return!1}(h);eT(()=>{a.current++,s.ctrls=l.current;let{queue:e}=s;e.length&&(s.queue=[],R(e,e=>e())),R(l.current,(e,t)=>{i?.add(e),m&&e.start({default:h});let r=u.current[t];if(r){var n;(n=r.ref)&&e.ref!==n&&(e.ref?.delete(e),n.add(e),e.ref=n),e.ref?e.queue.push(r):e.start(r)}})}),eF(()=>()=>{R(s.ctrls,e=>e.stop(!0))});let g=d.map(e=>({...e}));return i?[g,i]:g}(1,r?e:[e],r?t||[]:t);return r||2==arguments.length?[n,i]:n}var tB=class extends t_{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=eh(...t);let r=this._get();eH(this,e1(r).create(r))}advance(e){let t=this._get();C(t,this.get())||(eW(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&tZ(this._active)&&tY(this)}_get(){let e=P.arr(this.source)?this.source.map(ev):O(ev(this.source));return this.calc(...e)}_start(){this.idle&&!tZ(this._active)&&(this.idle=!1,R(eK(this),e=>{e.done=!1}),j.skipAnimation?(s.batchedUpdates(()=>this.advance()),tY(this)):U.start(this))}_attach(){let e=1;R(O(this.source),t=>{eg(t)&&e_(t,this),t instanceof t_&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){R(O(this.source),e=>{eg(e)&&eA(e,this)}),this._active.clear(),tY(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=O(this.source).reduce((e,t)=>
1Math.max(e,(t instanceof t_?t.priority:0)+1),0))}};function tX(e){return!1!==e.idle}function tZ(e){return!e.size||Array.from(e).every(tX)}function tY(e){e.idle||(e.idle=!0,R(eK(e),e=>{e.done=!0}),eb(e,{type:"idle",parent:e}))}j.assign({createStringInterpolator:eI,to:(e,t)=>new tB(e,t)}),U.advance;var tJ=r(47650),t0=/^--/,t1={},t2={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},t5=["Webkit","Ms","Moz","O"];t2=Object.keys(t2).reduce((e,t)=>(t5.forEach(r=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(r,t)]=e[t]),e),t2);var t9=/^(matrix|translate|scale|rotate|skew)/,t4=/^(translate)/,t6=/^(rotate|skew)/,t8=(e,t)=>P.num(e)&&0!==e?e+t:e,t3=(e,t)=>P.arr(e)?e.every(e=>t3(e,t)):P.num(e)?e===t:parseFloat(e)===t,t7=class extends eY{constructor({x:e,y:t,z:r,...n}){let i=[],a=[];(e||t||r)&&(i.push([e||0,t||0,r||0]),a.push(e=>[`translate3d(${e.map(e=>t8(e,"px")).join(",")})`,t3(e,0)])),E(n,(e,t)=>{if("transform"===t)i.push([e||""]),a.push(e=>[e,""===e]);else if(t9.test(t)){if(delete n[t],P.und(e))return;let r=t4.test(t)?"px":t6.test(t)?"deg":"";i.push(O(e)),a.push("rotate3d"===t?([e,t,n,i])=>[`rotate3d(${e},${t},${n},${t8(i,r)})`,t3(i,0)]:e=>[`${t}(${e.map(e=>t8(e,r)).join(",")})`,t3(e,+!!t.startsWith("scale"))])}}),i.length&&(n.transform=new re(i,a)),super(n)}},re=class extends ew{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return R(this.inputs,(r,n)=>{let i=ev(r[0]),[a,o]=this.transforms[n](P.arr(i)?i:r.map(ev));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){1==e&&R(this.inputs,e=>R(e,e=>eg(e)&&e_(e,this)))}observerRemoved(e){0==e&&R(this.inputs,e=>R(e,e=>eg(e)&&eA(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),eb(this,e)}};j.assign({batchedUpdates:tJ.unstable_batchedUpdates,createStringInterpolator:eI,colors:{transparent:0,aliceblue:0xf0f8ffff,antiquewhite:0xfaebd7ff,aqua:0xffffff,aquamarine:0x7fffd4ff,azure:0xf0ffffff,beige:0xf5f5dcff,bisque:0xffe4c4ff,black:255,blanchedalmond:0xffebcdff,blue:65535,blueviolet:0x8a2be2ff,brown:0xa52a2aff,burlywood:0xdeb887ff,burntsienna:0xea7e5dff,cadetblue:0x5f9ea0ff,chartreuse:0x7fff00ff,chocolate:0xd2691eff,coral:0xff7f50ff,cornflowerblue:0x6495edff,cornsilk:0xfff8dcff,crimson:0xdc143cff,cyan:0xffffff,darkblue:35839,darkcyan:9145343,darkgoldenrod:0xb8860bff,darkgray:0xa9a9a9ff,darkgreen:6553855,darkgrey:0xa9a9a9ff,darkkhaki:0xbdb76bff,darkmagenta:0x8b008bff,darkolivegreen:0x556b2fff,darkorange:0xff8c00ff,darkorchid:0x9932ccff,darkred:0x8b0000ff,darksalmon:0xe9967aff,darkseagreen:0x8fbc8fff,darkslateblue:0x483d8bff,darkslategray:0x2f4f4fff,darkslategrey:0x2f4f4fff,darkturquoise:0xced1ff,darkviolet:0x9400d3ff,deeppink:0xff1493ff,deepskyblue:0xbfffff,dimgray:0x696969ff,dimgrey:0x696969ff,dodgerblue:0x1e90ffff,firebrick:0xb22222ff,floralwhite:0xfffaf0ff,forestgreen:0x228b22ff,fuchsia:0xff00ffff,gainsboro:0xdcdcdcff,ghostwhite:0xf8f8ffff,gold:0xffd700ff,goldenrod:0xdaa520ff,gray:0x808080ff,green:8388863,greenyellow:0xadff2fff,grey:0x808080ff,honeydew:0xf0fff0ff,hotpink:0xff69b4ff,indianred:0xcd5c5cff,indigo:0x4b0082ff,ivory:0xfffff0ff,khaki:0xf0e68cff,lavender:0xe6e6faff,lavenderblush:0xfff0f5ff,lawngreen:0x7cfc00ff,lemonchiffon:0xfffacdff,lightblue:0xadd8e6ff,lightcoral:0xf08080ff,lightcyan:0xe0ffffff,lightgoldenrodyellow:0xfafad2ff,lightgray:0xd3d3d3ff,lightgreen:0x90ee90ff,lightgrey:0xd3d3d3ff,lightpink:0xffb6c1ff,lightsalmon:0xffa07aff,lightseagreen:0x20b2aaff,lightskyblue:0x87cefaff,lightslategray:0x778899ff,lightslategrey:0x778899ff,lightsteelblue:0xb0c4deff,lightyellow:0xffffe0ff,lime:0xff00ff,limegreen:0x32cd32ff,linen:0xfaf0e6ff,magenta:0xff00ffff,maroon:0x800000ff,mediumaquamarine:0x66cdaaff,mediumblue:52735,mediumorchid:0xba55d3ff,mediumpurple:0x9370dbff,mediumseagreen:0x3cb371ff,mediumslateblue:0x7b68eeff,mediumspringgreen:0xfa9aff,mediumturquoise:0x48d1ccff,mediumvioletred:0xc71585ff,midnightblue:0x191970ff,mintcream:0xf5fffaff,mistyrose:0xffe4e1ff,moccasin:0xffe4b5ff,navajowhite:0xffdeadff,navy:33023,oldlace:0xfdf5e6ff,olive:0x808000ff,olivedrab:0x6b8e23ff,orange:0xffa500ff,orangered:0xff4500ff,orchid:0xda70d6ff,palegoldenrod:0xeee8aaff,palegreen:0x98fb98ff,paleturquoise:0xafeeeeff,palevioletred:0xdb7093ff,papayawhip:0xffefd5ff,peachpuff:0xffdab9ff,peru:0xcd853fff,pink:0xffc0cbff,plum:0xdda0ddff,powderblue:0xb0e0e6ff,purple:0x800080ff,rebeccapurple:0x663399ff,red:0xff0000ff,rosybrown:0xbc8f8fff,royalblue:0x4169e1ff,saddlebrown:0x8b4513ff,salmon:0xfa8072ff,sandybrown:0xf4a460ff,seagreen:0x2e8b57ff,seashell:0xfff5eeff,sienna:0xa0522dff,silver:0xc0c0c0ff,skyblue:0x87ceebff,slateblue:0x6a5acdff,slategray:0x708090ff,slategrey:0x708090ff,snow:0xfffafaff,springgreen:0xff7fff,steelblue:0x4682b4ff,tan:0xd2b48cff,teal:8421631,thistle:0xd8bfd8ff,tomato:0xff6347ff,turquoise:0x40e0d0ff,violet:0xee82eeff,wheat:0xf5deb3ff,white:0xffffffff,whitesmoke:0xf5f5f5ff,yellow:0xffff00ff,yellowgreen:0x9acd32ff}});var rt=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=e=>new eY(e),getComponentProps:n=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},a=e=>{let t=e4(e)||"Anonymous";return(e=P.str(e)?a[e]||(a[e]=e2(e,i)):e[e9]||(e[e9]=e2(e,i))).displayName=`Animated(${t})`,e};return E(e,(t,r)=>{P.arr(e)&&(r=e4(t)),a[r]=a(t)}),{animated:a}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:n,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:l,...u}=t,f=Object.values(u),c=Object.keys(u).map(t=>r||e.hasAttribute(t)?t:t1[t]||(t1[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==a&&(e.textContent=a),i)if(i.hasOwnProperty(t)){var d;let r=null==(d=i[t])||"boolean"==typeof d||""===d?"":"number"!=typeof d||0===d||t0.test(t)||t2.hasOwnProperty(t)&&t2[t]?(""+d).trim():d+"px";t0.test(t)?e.style.setProperty(t,r):e.style[t]=r}c.forEach((t,r)=>{e.setAttribute(t,f[r])}),void 0!==n&&(e.className=n),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new t7(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}).animated},89715:(e,t,r)=>{"use strict";r.d(t,{G:()=>function e(t,r,a,o){if("function"==typeof t){s.bt.current=[],t();let e=f(s.bt.current,t);return s.bt.current=void 0,e}if(void 0!==a&&!Array.isArray(a)&&"function"!=typeof r){var l=t,u=r,d=a,h=o;let n=(0,i.M)(()=>Object.keys(d)),s=(0,i.M)(()=>({}));for(let t of n)s[t]=e(l,u,d[t],h);return s}let p="function"==typeof r?r:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,i=e[0+r],a=e[1+r],o=e[2+r],s=e[3+r],l=(0,n.G)(a,o,s);return t?l(i):l}(r,a,o),m=Array.isArray(t)?c(t,p):c([t],e=>{let[t]=e;return p(t)}),g=Array.isArray(t)?void 0:t.accelerate;return g&&!g.isTransformed&&"function"!=typeof r&&Array.isArray(a)&&(null==o?void 0:o.clamp)!==!1&&(m.accelerate={...g,times:r,keyframes:a,isTransformed:!0,...(null==o?void 0:o.ease)?{ease:o.ease}:{}}),m}});var n=r(16706),i=r(94416),a=r(73934),o=r(46436),s=r(22039),l=r(12115),u=r(53127);function f(e,t){let r=function(e){let t=(0,i.M)(()=>(0,s.OQ)(e)),{isStatic:r}=(0,l.useContext)(u.Q);if(r){let[,r]=(0,l.useState)(e);(0,l.useEffect)(()=>t.on("change",r),[])}return t}(t()),n=()=>r.set(t());return n(),(0,o.E)(()=>{let t=()=>a.Gt.preRender(n,!1,!0),r=e.map(e=>e.on("change",t));return()=>
1{r.forEach(e=>e()),(0,a.WG)(n)}}),r}function c(e,t){let r=(0,i.M)(()=>[]);return f(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}},89831:(e,t,r)=>{"use strict";r.d(t,{L:()=>W});var n=r(22039),i=r(64995),a=r(78041),o=r(12115),s=r(6500),l=r(73934);function u(e,t){let r,n=()=>{let{currentTime:n}=t,i=(null===n?0:n.value)/100;r!==i&&e(i),r=i};return l.Gt.preUpdate(n,!0),()=>(0,l.WG)(n)}function f(e){return"undefined"!=typeof window&&(e?(0,i.d)():(0,i.J)())}var c=r(90236),d=r(91225),h=r(45242);let p=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),m={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function g(e,t,r,n){let i=r[t],{length:a,position:o}=m[t],s=i.current,l=r.time;i.current=Math.abs(e[`scroll${o}`]),i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,d.q)(0,i.scrollLength,i.current);let u=n-l;i.velocity=u>50?0:(0,h.f)(i.current-s,u)}var v=r(16706),y=r(96827),b=r(48895),w=r(81402);let x={start:0,center:.5,end:1};function _(e,t,r=0){let n=0;if(e in x&&(e=x[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),r+n}let A=[0,0],k={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},M={x:0,y:0},j=new WeakMap,S=new WeakMap,P=new WeakMap,C=new WeakMap,R=new WeakMap,E=e=>e===document.scrollingElement?window:e;function O(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...n}={}){if(!t)return s.l;let i=P.get(t);i||(i=new Set,P.set(t,i));let a=function(e,t,r,n={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,n.target,r),g(e,"x",r,t),g(e,"y",r,t),r.time=t,(n.offset||n.target)&&function(e,t,r){let{offset:n=k.All}=r,{target:i=e,axis:a="y"}=r,o="y"===a?"height":"width",s=i!==e?function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,w.s)(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();r.x+=e,r.y+=t;let i=null,a=n.parentNode;for(;!i;)"svg"===a.tagName&&(i=a),a=n.parentNode;n=i}else break;return r}(i,e):M,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let f=!t[a].interpolate,c=n.length;for(let e=0;e<c;e++){let r=function(e,t,r,n){let i=Array.isArray(e)?e:A,a=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,x[e]?e:"0"]),(a=_(i[0],r,n
1))-_(i[1],t)}(n[e],u[o],l[o],s[a]);f||r===t[a].interpolatorOffsets[e]||(f=!0),t[a].offset[e]=r}f&&(t[a].interpolate=(0,v.G)(t[a].offset,(0,y.Z)(n),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=(0,b.q)(0,1,t[a].interpolate(t[a].current))}(e,r,n)},notify:()=>t(r)}}(t,e,{time:0,x:p(),y:p()},n);if(i.add(a),!j.has(t)){let e=()=>{for(let e of i)e.measure(l.uv.timestamp);l.Gt.preUpdate(r)},r=()=>{for(let e of i)e.notify()},n=()=>l.Gt.read(e);j.set(t,n);let a=E(t);window.addEventListener("resize",n),t!==document.documentElement&&S.set(t,(0,c.X)(t,n)),a.addEventListener("scroll",n),n()}if(r&&!R.has(t)){let e=j.get(t),r={width:t.scrollWidth,height:t.scrollHeight};C.set(t,r);let n=l.Gt.read(()=>{let n=t.scrollWidth,i=t.scrollHeight;(r.width!==n||r.height!==i)&&(e(),r.width=n,r.height=i)},!0);R.set(t,n)}let o=j.get(t);return l.Gt.read(o,!1,!0),()=>{(0,l.WG)(o);let e=P.get(t);if(!e||(e.delete(a),e.size))return;let r=j.get(t);j.delete(t),r&&(E(t).removeEventListener("scroll",r),S.get(t)?.(),window.removeEventListener("resize",r));let n=R.get(t);n&&((0,l.WG)(n),R.delete(t)),C.delete(t)}}let I=[[k.Enter,"entry"],[k.Exit,"exit"],[k.Any,"cover"],[k.All,"contain"]],N={start:0,end:1};function V(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of I)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=N[t[0]],n=N[t[1]];if(void 0!==r&&void 0!==n)return[r,n]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let n=r[e],i=t[e];if(n[0]!==i[0]||n[1]!==i[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let $=new Map;function D(e){let t={value:0},r=O(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function z({source:e,container:t,...r}){let{axis:n}=r;e&&(t=e);let i=$.get(t);i||(i=new Map,$.set(t,i));let a=r.target??"self",o=i.get(a);o||(o={},i.set(a,o));let s=n+(r.offset??[]).join(",");return o[s]||(r.target&&f(r.target)?V(r.offset)?o[s]=new ViewTimeline({subject:r.target,axis:n}):o[s]=D({container:t,...r}):f()?o[s]=new ScrollTimeline({source:t,axis:n}):o[s]=D({container:t,...r})),o[s]}function T(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){var i,a;if(!r)return s.l;let o={axis:t,container:r,...n};return"function"==typeof e?(i=e,a=o,2===i.length?O(e=>{i(e[a.axis].progress,e)},a):u(i,z(a))):function(e,t){let r=z(t),n=t.target?V(t.offset):void 0,i=t.target?f(t.target)&&!!n:f();return e.attachTimeline({timeline:i?r:void 0,...n&&i&&{rangeStart:n.rangeStart,rangeEnd:n.rangeEnd},observe:e=>(e.pause(),u(t=>{e.time=e.iterationDuration*t},r))})}(e,o)}var L=r(94416),F=r(46436);let q=()=>({scrollX:(0,n.OQ)(0),scrollY:(0,n.OQ)(0),scrollXProgress:(0,n.OQ)(0),scrollYProgress:(0,n.OQ)(0)}),G=e=>!!e&&!e.current;function U(e,t,r,n){return{factory:i=>T(i,{...t,axis:e,container:(null==r?void 0:r.current)||void 0,target:(null==n?void 0:n.current)||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function W(){var e;let{container:t,target:r,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=(0,L.M)(q);e=n.offset,"undefined"!=typeof window&&(r?(0,i.d)()&&!!V(e):(0,i.J)())&&(s.scrollXProgress.accelerate=U("x",n,t,r),s.scrollYProgress.accelerate=U("y",n,t,r));let l=(0,o.useRef)(null),u=(0,o.useRef)(!1),f=(0,o.useCallback)(()=>(l.current=T((e,t)=>{let{x:r,y:n}=t;s.scrollX.set(r.current),s.scrollXProgress.set(r.progress),s.scrollY.set(n.current),s.scrollYProgress.set(n.progress)},{...n,container:(null==t?void 0:t.current)||void 0,target:(null==r?void 0:r.current)||void 0}),()=>{var e;null==(e=l.current)||e.call(l)}),[t,r,JSON.stringify(n.offset)]);return(0,F.E)(()=>{if(u.current=!1,!(G(t)||G(r)))return f();u.current=!0},[f]),(0,o.useEffect)(()=>u.current?((0,a.V)(!G(t),"Container ref is defined but not hydrated","use-scroll-ref"),(0,a.V)(!G(r),"Target ref is defined but not hydrated","use-scroll-ref"),f()):void 0,[f]),s}},90964:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(24415),i=r(80177);function a(e,t){(0,i.A)(2,arguments);var r=(0,n.A)(e),a=(0,n.A)(t);return r.getTime()===a.getTime()}},95942:(e,t,r)=>{"use strict";r.d(t,{Wx:()=>p});var n=r(12115);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=new Map,s=new WeakMap,l=0,u=void 0;function f(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=u),void 0===window.IntersectionObserver&&void 0!==n){var i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var a=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var r;return t+"_"+("root"===t?(r=e.root)?(s.has(r)||(l+=1,s.set(r,l.toString())),s.get(r)):"0":e[t])}).toString(),r=o.get(t);if(!r){var n,i=new Map,a=new IntersectionObserver(function(t){t.forEach(function(t){var r,a=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(r=i.get(t.target))||r.forEach(function(e){e(a,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:i},o.set(t,r)}return r}(r),f=a.id,c=a.observer,d=a.elements,h=d.get(e)||[];return d.has(e)||d.set(e,h),h.push(t),c.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(d.delete(e),c.unobserve(e)),0===d.size&&(c.disconnect(),o.delete(f))}}var c=["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function d(e){return"function"!=typeof e.children}var h=function(e){function t(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){r.node&&(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),d(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,a(t,e);var r=t.prototype;return r.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},r.componentWillUnmount=function(){this.unobserve(),this.node=null},r.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,a=e.delay,o=e.fallbackInView;this._unobserveCb=f(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:a},o)}},r.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},r.render=function(){if(!d(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var a=this.props,o=a.children,s=a.as,l=a.tag,u=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(a,c);return n.createElement(s||l||"div",i({ref:this.handleNode},u),o)},t}(n.Component);function p(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,a=t.trackVisibility,o=t.rootMargin,s=t.root,l=t.triggerOnce,u=t.skip,c=t.initialInView,d=t.fallbackInView,h=n.useRef(),p=n.useState({inView:!!c}),m=p[0],g=p[1],v=n.useCallback(function(e){void 0!==h.current&&(h.current(),h.current=void 0),!u&&e&&(h.current=f(e,function(e,t){g({inView:e,entry:t}),t.isIntersecting&&l&&h.current&&(h.current(),h.current=void 0)},{root:s,rootMargin:o,threshold:r,trackVisibility:a,delay:i},d))},[Array.isArray(r)?r.toString():r,s,o,l,u,a,d,i]);(0,n.useEffect)(function(){h.current||!m.entry||l||u||g({inView:!!c})});var y=[v,m.inView,m.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}h.displayName="InView",h.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},97608:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(94304),i=r(80177);function a(e,t){(0,i.A)(2,arguments);var r=(0,n.A)(e).getTime(),a=(0,n.A)(t.start).getTime(),o=(0,n.A)(t.end).getTime();if(!(a<=o))throw RangeError("Invalid interval");return r>=a&&r<=o}}}]);
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.