(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2429],{81646:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(30808),a=r(25773),l=r(79956),o=r(38944),i=r(82267),u=r(12709),s=r(68014),d=r(11934),c=r(45213),f=(0,d.Z)((0,c.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),m=r(44124),h=r(6749);function p(e){return(0,h.Z)("MuiAvatar",e)}(0,m.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);let y=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],v=e=>{let{classes:t,variant:r,colorDefault:n}=e;return(0,i.Z)({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},p,t)},g=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>(0,a.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&(0,a.Z)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}))),b=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),_=(0,u.ZP)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),w=l.forwardRef(function(e,t){let r=(0,s.Z)({props:e,name:"MuiAvatar"}),{alt:i,children:u,className:d,component:f="div",imgProps:m,sizes:h,src:p,srcSet:w,variant:k="circular"}=r,x=(0,n.Z)(r,y),E=null,C=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){let[a,o]=l.useState(!1);return l.useEffect(()=>{if(!r&&!n)return;o(!1);let a=!0,l=new Image;return l.onload=()=>{a&&o("loaded")},l.onerror=()=>{a&&o("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,n&&(l.srcset=n),()=>{a=!1}},[e,t,r,n]),a}((0,a.Z)({},m,{src:p,srcSet:w})),R=p||w,j=R&&"error"!==C,M=(0,a.Z)({},r,{colorDefault:!j,component:f,variant:k}),P=v(M);return E=j?(0,c.jsx)(b,(0,a.Z)({alt:i,src:p,srcSet:w,sizes:h,ownerState:M,className:P.img},m)):null!=u?u:R&&i?i[0]:(0,c.jsx)(_,{ownerState:M,className:P.fallback}),(0,c.jsx)(g,(0,a.Z)({as:f,ownerState:M,className:(0,o.Z)(P.root,d),ref:t},x,{children:E}))});var k=w},59475:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{noSSR:function(){return o},default:function(){return i}});let n=r(51538),a=(r(79956),n._(r(88684)));function l(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function i(e,t){let r=a.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...t};let i=n.loader,u=()=>null!=i?i().then(l):Promise.resolve(l(()=>null));return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:u}):(delete n.webpack,delete n.modules,o(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42345:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return l}});let n=r(51538),a=n._(r(79956)),l=a.default.createContext(null)},88684:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let n=r(51538),a=n._(r(79956)),l=r(42345),o=[],i=[],u=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){let t=new d(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!u){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return o()})}function s(e,t){!function(){o();let e=a.default.useContext(l.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:n.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return s.preload=()=>o(),s.displayName="LoadableComponent",a.default.forwardRef(s)}(s,e)}function f(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return f(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{f(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(u=!0,t());f(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let m=c},65218:function(e,t,r){e.exports=r(59475)},32822:function(e,t,r){var n=r(79956),a=n&&"object"==typeof n&&"default"in n?n:{default:n};!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), transparent);\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}');let l=n.forwardRef(function({style:e={},className:t="",autoFill:r=!1,play:l=!0,pauseOnHover:o=!1,pauseOnClick:i=!1,direction:u="left",speed:s=50,delay:d=0,loop:c=0,gradient:f=!1,gradientColor:m="white",gradientWidth:h=200,onFinish:p,onCycleComplete:y,onMount:v,children:g},b){let[_,w]=n.useState(0),[k,x]=n.useState(0),[E,C]=n.useState(1),[R,j]=n.useState(!1),M=n.useRef(null),P=b||M,Z=n.useRef(null),O=n.useCallback(()=>{if(Z.current&&P.current){let e=P.current.getBoundingClientRect(),t=Z.current.getBoundingClientRect(),n=e.width,a=t.width;("up"===u||"down"===u)&&(n=e.height,a=t.height),r&&n&&a?C(a<n?Math.ceil(n/a):1):C(1),w(n),x(a)}},[r,P,u]);n.useEffect(()=>{if(R&&(O(),Z.current&&P.current)){let e=new ResizeObserver(()=>O());return e.observe(P.current),e.observe(Z.current),()=>{e&&e.disconnect()}}},[O,P,R]),n.useEffect(()=>{O()},[O,g]),n.useEffect(()=>{j(!0)},[]),n.useEffect(()=>{"function"==typeof v&&v()},[]);let S=n.useMemo(()=>r?k*E/s:k<_?_/s:k/s,[r,_,k,E,s]),A=n.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!l||o?"paused":"running","--pause-on-click":!l||o&&!i||i?"paused":"running","--width":"up"===u||"down"===u?"100vh":"100%","--transform":"up"===u?"rotate(-90deg)":"down"===u?"rotate(90deg)":"none"}),[e,l,o,i,u]),N=n.useMemo(()=>({"--gradient-color":m,"--gradient-width":"number"==typeof h?`${h}px`:h}),[m,h]),D=n.useMemo(()=>({"--play":l?"running":"paused","--direction":"left"===u?"normal":"reverse","--duration":`${S}s`,"--delay":`${d}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[l,u,S,d,c,r]),T=n.useMemo(()=>({"--transform":"up"===u?"rotate(90deg)":"down"===u?"rotate(-90deg)":"none"}),[u]),q=n.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>a.default.createElement(n.Fragment,{key:t},n.Children.map(g,e=>a.default.createElement("div",{style:T,className:"rfm-child"},e)))),[T,g]);return R?a.default.createElement("div",{ref:P,style:A,className:"rfm-marquee-container "+t},f&&a.default.createElement("div",{style:N,className:"rfm-overlay"}),a.default.createElement("div",{className:"rfm-marquee",style:D,onAnimationIteration:y,onAnimationEnd:p},a.default.createElement("div",{className:"rfm-initial-child-container",ref:Z},n.Children.map(g,e=>a.default.createElement("div",{style:T,className:"rfm-child"},e))),q(E-1)),a.default.createElement("div",{className:"rfm-marquee",style:D},q(E))):null});t.Z=l}}]);