(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8522],{90622:function(){},43398:function(e,t,n){"use strict";var r=n(20357);n(90622);var i=n(2265),s=i&&"object"==typeof i&&"default"in i?i:{default:i},o=void 0!==r&&r.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,s=void 0===i?o:i;a(u(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",a("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){a("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),a(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(a(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(a(u(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var n="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];a(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if("undefined"==typeof window){this._serverSheet.deleteRule(e);return}if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];a(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},t.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&a(u(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function a(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function d(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return h[r]||(h[r]="jsx-"+c(e+"-"+n)),h[r]}function f(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return h[n]||(h[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[n]}var p=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),r&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=s,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=d(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return f(i,e)}):[f(i,t)]}}return{styleId:d(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var y=s.default.useInsertionEffect||s.default.useLayoutEffect,_="undefined"!=typeof window?new p:void 0;function v(e){var t=_||i.useContext(m);return t&&("undefined"==typeof window?t.add(e):y(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},t.style=v},48059:function(e,t,n){"use strict";e.exports=n(43398).style},19903:function(e,t,n){"use strict";n.d(t,{H:function(){return N}});var r=n(30458),i=n(50564),s=n(77451),o=n(44839),u=n(19047),l=n(39630);let a=(0,n(37521).X)(()=>void 0!==window.ScrollTimeline);class c{constructor(e){this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!a()||!t.attachTimeline)return t.pause(),function(e,t){let n;let r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return l.Wi.update(r,!0),()=>(0,l.Pn)(r)}(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}var h=n(72994),d=n(48170),f=n(82714),p=n(39440),m=n(89334),y=n(19470),_=n(49653),v=n(80557),S=n(92007),g=n(29924),w=n(33217),A=n(77599);function R(e,t,n,r){var i;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(i=r.get(t))&&void 0!==i?i:e}let b=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var F=n(19379),C=n(28746),z=n(85303);function j(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function k(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function x(e,t){return t[e]||(t[e]=[]),t[e]}let E=e=>"number"==typeof e,I=e=>e.every(E);function T(e,t,n,r){let i=(0,s.I)(e,r),l=i.length;(0,u.k)(!!l,"No valid element provided.");let a=[];for(let e=0;e<l;e++){let r=i[e];o.R.has(r)||function(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,d.v)(e)?new f.e(t,{enableHardwareAcceleration:!1}):new p.W(t,{enableHardwareAcceleration:!0});n.mount(e),o.R.set(e,n)}(r);let s=o.R.get(r),u={...n};"function"==typeof u.delay&&(u.delay=u.delay(e,l)),a.push(...(0,h.w)(s,{...t,transition:u},{}))}return new c(a)}let O=e=>Array.isArray(e)&&Array.isArray(e[0]),M=e=>function(t,n,r){let i;return i=O(t)?function(e,t,n){let r=[];return(function(e,{defaultTransition:t={},...n}={},r){let i=t.duration||.3,o=new Map,u=new Map,l={},a=new Map,c=0,h=0,d=0;for(let n=0;n<e.length;n++){let o=e[n];if("string"==typeof o){a.set(o,h);continue}if(!Array.isArray(o)){a.set(o.name,R(h,o.at,c,a));continue}let[f,p,m={}]=o;void 0!==m.at&&(h=R(h,m.at,c,a));let w=0,j=(e,n,r,s=0,o=0)=>{let u=Array.isArray(e)?e:[e],{delay:l=0,times:a=(0,S.Y)(u),type:c="keyframes",...f}=n,{ease:p=t.ease||"easeOut",duration:m}=n,A="function"==typeof l?l(s,o):l,R=u.length;if(R<=2&&"spring"===c){let e=100;2===R&&I(u)&&(e=Math.abs(u[1]-u[0]));let t={...f};void 0!==m&&(t.duration=(0,v.w)(m));let n=function(e,t=100){let n=(0,y.S)({keyframes:[0,t],...e}),r=Math.min((0,_.i)(n),_.E);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:(0,v.X)(r)}}(t,e);p=n.ease,m=n.duration}null!=m||(m=i);let j=h+A,k=j+m;1===a.length&&0===a[0]&&(a[1]=1);let x=a.length-u.length;x>0&&(0,g.c)(a,x),1===u.length&&u.unshift(null),function(e,t,n,r,i,s){!function(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&((0,C.cl)(e,i),r--)}}(e,i,s);for(let u=0;u<t.length;u++){var o;e.push({value:t[u],at:(0,z.C)(i,s,r[u]),easing:(o=u,(0,F.N)(n)?n[b(0,n.length,o)]:n)})}}(r,u,p,a,j,k),w=Math.max(A+m,w),d=Math.max(k,d)};if((0,A.i)(f))j(p,m,x("default",k(f,u)));else{let e=(0,s.I)(f,r,l),t=e.length;for(let n=0;n<t;n++){let r=k(e[n],u);for(let e in p)j(p[e],m[e]?{...m,...m[e]}:{...m},x(e,r),n,t)}}c=h,h+=w}return u.forEach((e,r)=>{for(let i in e){let s=e[i];s.sort(j);let u=[],l=[],a=[];for(let e=0;e<s.length;e++){let{at:t,value:n,easing:r}=s[e];u.push(n),l.push((0,w.Y)(0,d,t)),a.push(r||"easeOut")}0!==l[0]&&(l.unshift(0),u.unshift(u[0]),a.unshift("easeInOut")),1!==l[l.length-1]&&(l.push(1),u.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let c=o.get(r);c.keyframes[i]=u,c.transition[i]={...t,duration:d,ease:a,times:l,...n}}}),o})(e,t,n).forEach(({keyframes:e,transition:t},n)=>{let i;i=(0,A.i)(n)?(0,m.D)(n,e.default,t.default):T(n,e,t),r.push(i)}),new c(r)}(t,n,e):"object"!=typeof n||Array.isArray(n)?(0,m.D)(t,n,r):T(t,n,r,e),e&&e.animations.push(i),i};function N(){let e=(0,r.h)(()=>({current:null,animations:[]})),t=(0,r.h)(()=>M(e));return(0,i.z)(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}M()},77451:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(19047);function i(e,t,n){var i;if("string"==typeof e){let s=document;t&&((0,r.k)(!!t.current,"Scope provided, but no element detected."),s=t.current),n?(null!==(i=n[e])&&void 0!==i||(n[e]=s.querySelectorAll(e)),e=n[e]):e=s.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}},37476:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(2265),i=n(77451);let s={some:0,all:1};function o(e,{root:t,margin:n,amount:o,once:u=!1}={}){let[l,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||u&&l)return;let r={root:t&&t.current||void 0,margin:n,amount:o};return function(e,t,{root:n,margin:r,amount:o="some"}={}){let u=(0,i.I)(e),l=new WeakMap,a=new IntersectionObserver(e=>{e.forEach(e=>{let n=l.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?l.set(e.target,n):a.unobserve(e.target)}else n&&(n(e),l.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:s[o]});return u.forEach(e=>a.observe(e)),()=>a.disconnect()}(e.current,()=>(a(!0),u?void 0:()=>a(!1)),r)},[t,e,n,u,o]),l}}}]);