(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25675],{14847:function(e,t,i){"use strict";var n=i(930),o=i(85696),r=i(7980);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,i=e.src,l=e.sizes,s=e.unoptimized,p=void 0!==s&&s,h=e.priority,w=void 0!==h&&h,x=e.loading,j=e.lazyRoot,E=void 0===j?null:j,_=e.lazyBoundary,R=e.className,C=e.quality,L=e.width,O=e.height,q=e.style,M=e.objectFit,N=e.objectPosition,P=e.onLoadingComplete,W=e.placeholder,B=void 0===W?"empty":W,D=e.blurDataURL,U=c(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),V=u.useContext(m.ImageConfigContext),F=u.useMemo((function(){var e=v||V||f.imageConfigDefault,t=[].concat(r(e.deviceSizes),r(e.imageSizes)).sort((function(e,t){return e-t})),i=e.deviceSizes.sort((function(e,t){return e-t}));return a({},e,{allSizes:t,deviceSizes:i})}),[V]),H=U,Z=l?"responsive":"intrinsic";"layout"in H&&(H.layout&&(Z=H.layout),delete H.layout);var G=k;if("loader"in H){if(H.loader){var T=H.loader;G=function(e){e.config;var t=c(e,["config"]);return T(t)}}delete H.loader}var J="";if(function(e){return"object"===typeof e&&(z(e)||function(e){return void 0!==e.src}(e))}(i)){var Q=z(i)?i.default:i;if(!Q.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(Q)));if(D=D||Q.blurDataURL,J=Q.src,(!Z||"fill"!==Z)&&(O=O||Q.height,L=L||Q.width,!Q.height||!Q.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(Q)))}var K=!w&&("lazy"===x||"undefined"===typeof x);((i="string"===typeof i?i:J).startsWith("data:")||i.startsWith("blob:"))&&(p=!0,K=!1);y.has(i)&&(K=!1);F.unoptimized&&(p=!0);var X,Y=u.useState(!1),$=o(Y,2),ee=$[0],te=$[1],ie=g.useIntersection({rootRef:E,rootMargin:_||"200px",disabled:!K}),ne=o(ie,3),oe=ne[0],re=ne[1],ae=ne[2],le=!K||re,se={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ce={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ue=!1,de={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:M,objectPosition:N},fe=A(L),ge=A(O),me=A(C);0;var pe=Object.assign({},q,de),he="blur"!==B||ee?{}:{backgroundSize:M||"cover",backgroundPosition:N||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(D,'")')};if("fill"===Z)se.display="block",se.position="absolute",se.top=0,se.left=0,se.bottom=0,se.right=0;else if("undefined"!==typeof fe&&"undefined"!==typeof ge){var ve=ge/fe,ye=isNaN(ve)?"100%":"".concat(100*ve,"%");"responsive"===Z?(se.display="block",se.position="relative",ue=!0,ce.paddingTop=ye):"intrinsic"===Z?(se.display="inline-block",se.position="relative",se.maxWidth="100%",ue=!0,ce.maxWidth="100%",X="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(fe,"%27%20height=%27").concat(ge,"%27/%3e")):"fixed"===Z&&(se.display="inline-block",se.position="relative",se.width=fe,se.height=ge)}else 0;var be={src:b,srcSet:void 0,sizes:void 0};le&&(be=S({config:F,src:i,unoptimized:p,layout:Z,width:fe,quality:me,sizes:l,loader:G}));var we=i;0;0;var ze=(n(t={},"imagesrcset",be.srcSet),n(t,"imagesizes",be.sizes),n(t,"crossOrigin",H.crossOrigin),t),Se=u.default.useLayoutEffect,Ae=u.useRef(P),ke=u.useRef(i);u.useEffect((function(){Ae.current=P}),[P]),Se((function(){ke.current!==i&&(ae(),ke.current=i)}),[ae,i]);var xe=a({isLazy:K,imgAttributes:be,heightInt:ge,widthInt:fe,qualityInt:me,layout:Z,className:R,imgStyle:pe,blurStyle:he,loading:x,config:F,unoptimized:p,placeholder:B,loader:G,srcString:we,onLoadingCompleteRef:Ae,setBlurComplete:te,setIntersection:oe,isVisible:le,noscriptSizes:l},H);return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{style:se},ue?u.default.createElement("span",{style:ce},X?u.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:X}):null):null,u.default.createElement(I,Object.assign({},xe))),w?u.default.createElement(d.default,null,u.default.createElement("link",Object.assign({key:"__nimg-"+be.src+be.srcSet+be.sizes,rel:"preload",as:"image",href:be.srcSet?void 0:be.src},ze))):null)};var a=i(6495).Z,l=i(92648).Z,s=i(91598).Z,c=i(17273).Z,u=s(i(67294)),d=l(i(50630)),f=i(11211),g=i(74614),m=i(15845),p=(i(23523),i(50120));function h(e){return"/"===e[0]?e.slice(1):e}var v={deviceSizes:[375,480,768,960,1120,1440,1680,2560],imageSizes:[16,32,48,64,96,128,256],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var w=new Map([["default",function(e){var t=e.config,i=e.src,n=e.width,o=e.quality;return i.endsWith(".svg")&&!t.dangerouslyAllowSVG?i:"".concat(p.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(i),"&w=").concat(n,"&q=").concat(o||75)}],["imgix",function(e){var t=e.config,i=e.src,n=e.width,o=e.quality,r=new URL("".concat(t.path).concat(h(i))),a=r.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||n.toString()),o&&a.set("q",o.toString()),r.href}],["cloudinary",function(e){var t=e.config,i=e.src,n=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(n).concat(h(i))}],["akamai",function(e){var t=e.config,i=e.src,n=e.width;return"".concat(t.path).concat(h(i),"?imwidth=").concat(n)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function z(e){return void 0!==e.default}function S(e){var t=e.config,i=e.src,n=e.unoptimized,o=e.layout,a=e.width,l=e.quality,s=e.sizes,c=e.loader;if(n)return{src:i,srcSet:void 0,sizes:void 0};var u=function(e,t,i,n){var o=e.deviceSizes,a=e.allSizes;if(n&&("fill"===i||"responsive"===i)){for(var l,s=/(^|\s)(1?\d?\d)vw/g,c=[];l=s.exec(n);l)c.push(parseInt(l[2]));if(c.length){var u=.01*Math.min.apply(Math,c);return{widths:a.filter((function(e){return e>=o[0]*u})),kind:"w"}}return{widths:a,kind:"w"}}return"number"!==typeof t||"fill"===i||"responsive"===i?{widths:o,kind:"w"}:{widths:r(new Set([t,2*t].map((function(e){return a.find((function(t){return t>=e}))||a[a.length-1]})))),kind:"x"}}(t,a,o,s),d=u.widths,f=u.kind,g=d.length-1;return{sizes:s||"w"!==f?s:"100vw",srcSet:d.map((function(e,n){return"".concat(c({config:t,src:i,quality:l,width:e})," ").concat("w"===f?e:n+1).concat(f)})).join(", "),src:c({config:t,src:i,quality:l,width:d[g]})}}function A(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function k(e){var t,i=(null==(t=e.config)?void 0:t.loader)||"default",n=w.get(i);if(n)return n(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(f.VALID_LOADERS.join(", "),". Received: ").concat(i))}function x(e,t,i,n,o,r){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===n&&r(!0),null==o?void 0:o.current)){var i=e.naturalWidth,a=e.naturalHeight;o.current({naturalWidth:i,naturalHeight:a})}})))}var I=function(e){var t=e.imgAttributes,i=(e.heightInt,e.widthInt),n=e.qualityInt,o=e.layout,r=e.className,l=e.imgStyle,s=e.blurStyle,d=e.isLazy,f=e.placeholder,g=e.loading,m=e.srcString,p=e.config,h=e.unoptimized,v=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,w=e.setIntersection,z=e.onLoad,A=e.onError,k=(e.isVisible,e.noscriptSizes),I=c(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return g=d?"lazy":g,u.default.createElement(u.default.Fragment,null,u.default.createElement("img",Object.assign({},I,t,{decoding:"async","data-nimg":o,className:r,style:a({},l,s),ref:u.useCallback((function(e){w(e),(null==e?void 0:e.complete)&&x(e,m,0,f,y,b)}),[w,m,o,f,y,b]),onLoad:function(e){x(e.currentTarget,m,0,f,y,b),z&&z(e)},onError:function(e){"blur"===f&&b(!0),A&&A(e)}})),(d||"blur"===f)&&u.default.createElement("noscript",null,u.default.createElement("img",Object.assign({},I,S({config:p,src:m,unoptimized:h,layout:o,width:i,quality:n,sizes:k,loader:v}),{decoding:"async","data-nimg":o,style:l,className:r,loading:g}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74614:function(e,t,i){"use strict";var n=i(85696);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,i=e.rootMargin,c=e.disabled||!a,u=o.useState(!1),d=n(u,2),f=d[0],g=d[1],m=o.useState(null),p=n(m,2),h=p[0],v=p[1];o.useEffect((function(){if(a){if(c||f)return;if(h&&h.tagName){var e=function(e,t,i){var n=function(e){var t,i={root:e.root||null,margin:e.rootMargin||""},n=s.find((function(e){return e.root===i.root&&e.margin===i.margin}));if(n&&(t=l.get(n)))return t;var o=new Map,r=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),i=e.isIntersecting||e.intersectionRatio>0;t&&i&&t(i)}))}),e);return t={id:i,observer:r,elements:o},s.push(i),l.set(i,t),t}(i),o=n.id,r=n.observer,a=n.elements;return a.set(e,t),r.observe(e),function(){if(a.delete(e),r.unobserve(e),0===a.size){r.disconnect(),l.delete(o);var t=s.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&s.splice(t,1)}}}(h,(function(e){return e&&g(e)}),{root:null==t?void 0:t.current,rootMargin:i});return e}}else if(!f){var n=r.requestIdleCallback((function(){return g(!0)}));return function(){return r.cancelIdleCallback(n)}}}),[h,c,i,t,f]);var y=o.useCallback((function(){g(!1)}),[]);return[v,f,y]};var o=i(67294),r=i(52115),a="function"===typeof IntersectionObserver,l=new Map,s=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25675:function(e,t,i){e.exports=i(14847)}}]);