(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4762],{6803:function(t){t.exports=function(){function _extends(){return(_extends=Object.assign||function(t){for(var e=1;et.length)&&(e=t.length);for(var i=0,r=Array(e);i=t.length?{done:!0}:{done:!1,value:t[e++]}};throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}(e);!(i=r()).done;){var n=i.value,o=n[0],a=n[1];if(t===o||t===a)return o}return t}(n)]=t[n]);return new ImageUrlBuilder(this,_extends({baseUrl:i},r))},o.image=function(t){return this.withOptions({source:t})},o.dataset=function(t){return this.withOptions({dataset:t})},o.projectId=function(t){return this.withOptions({projectId:t})},o.bg=function(t){return this.withOptions({bg:t})},o.dpr=function(t){return this.withOptions({dpr:t})},o.width=function(t){return this.withOptions({width:t})},o.height=function(t){return this.withOptions({height:t})},o.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},o.maxWidth=function(t){return this.withOptions({maxWidth:t})},o.minWidth=function(t){return this.withOptions({minWidth:t})},o.maxHeight=function(t){return this.withOptions({maxHeight:t})},o.minHeight=function(t){return this.withOptions({minHeight:t})},o.size=function(t,e){return this.withOptions({width:t,height:e})},o.blur=function(t){return this.withOptions({blur:t})},o.sharpen=function(t){return this.withOptions({sharpen:t})},o.rect=function(t,e,i,r){return this.withOptions({rect:{left:t,top:e,width:i,height:r}})},o.format=function(t){return this.withOptions({format:t})},o.invert=function(t){return this.withOptions({invert:t})},o.orientation=function(t){return this.withOptions({orientation:t})},o.quality=function(t){return this.withOptions({quality:t})},o.forceDownload=function(t){return this.withOptions({download:t})},o.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},o.flipVertical=function(){return this.withOptions({flipVertical:!0})},o.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},o.fit=function(t){if(-1===i.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},o.crop=function(t){if(-1===r.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},o.saturation=function(t){return this.withOptions({saturation:t})},o.auto=function(t){if(-1===n.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},o.pad=function(t){return this.withOptions({pad:t})},o.url=function(){return function(i){var r=_extends({},i||{}),n=r.source;delete r.source;var o=function(t){var e;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))e={asset:{_ref:urlToId(t)}};else if("string"==typeof t)e={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)e={asset:t};else if(t&&"string"==typeof t._id)e={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)e={asset:{_ref:urlToId(t.asset.url)}};else{if("object"!=typeof t.asset)return null;e=t}return t.crop&&(e.crop=t.crop),t.hotspot&&(e.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var e=_extends({},t);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(e)}(n);if(!o)return null;var a=function(e){var i=e.split("-"),r=i[1],n=i[2],o=i[3];if(!r||!n||!o)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');var a=n.split("x"),s=a[0],u=a[1],l=+s,c=+u;if(!(isFinite(l)&&isFinite(c)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');return{id:r,width:l,height:c,format:o}}(o.asset._ref||o.asset._id||""),s=Math.round(o.crop.left*a.width),u=Math.round(o.crop.top*a.height),l={left:s,top:u,width:Math.round(a.width-o.crop.right*a.width-s),height:Math.round(a.height-o.crop.bottom*a.height-u)},c=o.hotspot.height*a.height/2,d=o.hotspot.width*a.width/2,f=o.hotspot.x*a.width,h=o.hotspot.y*a.height;return r.rect||r.focalPoint||r.ignoreImageParams||r.crop||(r=_extends(_extends({},r),function(t,e){var i,r=e.width,n=e.height;if(!(r&&n))return{width:r,height:n,rect:t.crop};var o=t.crop,a=t.hotspot,s=r/n;if(o.width/o.height>s){var u=o.height,l=u*s,c=o.top,d=(a.right-a.left)/2+a.left-l/2;do.left+o.width&&(d=o.left+o.width-l),i={left:Math.round(d),top:Math.round(c),width:Math.round(l),height:Math.round(u)}}else{var f=o.width,h=f/s,p=o.left,g=(a.bottom-a.top)/2+a.top-h/2;go.top+o.height&&(g=o.top+o.height-h),i={left:Math.max(0,Math.floor(p)),top:Math.max(0,Math.floor(g)),width:Math.round(f),height:Math.round(h)}}return{width:r,height:n,rect:i}}({crop:l,hotspot:{left:f-d,top:h-c,right:f+d,bottom:h+c}},r))),function(t){var i=t.baseUrl||"https://cdn.sanity.io",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,n=i+"/images/"+t.projectId+"/"+t.dataset+"/"+r,o=[];if(t.rect){var a=t.rect,s=a.left,u=a.top,l=a.width,c=a.height;(0!==s||0!==u||c!==t.asset.height||l!==t.asset.width)&&o.push("rect="+s+","+u+","+l+","+c)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var d=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(d&&o.push("flip="+d),e.forEach(function(e){var i=e[0],r=e[1];void 0!==t[i]?o.push(r+"="+encodeURIComponent(t[i])):void 0!==t[r]&&o.push(r+"="+encodeURIComponent(t[r]))}),0===o.length)?n:n+"?"+o.join("&")}(_extends(_extends({},r),{},{asset:a}))}(this.options)},o.toString=function(){return this.url()},ImageUrlBuilder}();return function(t){if(t&&"object"==typeof t.clientConfig){var e=t.clientConfig,i=e.apiHost,r=e.projectId,n=e.dataset;return new o(null,{baseUrl:(i||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:n})}return new o(null,t)}}()},12870:function(t){"use strict";t.exports=function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r18||18===n&&o>=3?{fetchPriority:t}:{fetchpriority:t}}var w=(0,l.forwardRef)(function(t,e){var i=t.src,a=t.srcSet,s=t.sizes,u=t.height,c=t.width,d=t.decoding,f=t.className,h=t.style,p=t.fetchPriority,g=t.placeholder,m=t.loading,v=t.unoptimized,w=t.fill,y=t.onLoadRef,b=t.onLoadingCompleteRef,_=t.setBlurComplete,x=t.setShowAltText,O=(t.onLoad,t.onError),I=o._(t,["src","srcSet","sizes","height","width","decoding","className","style","fetchPriority","placeholder","loading","unoptimized","fill","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return l.default.createElement("img",n._(r._({},I,getDynamicProps(p)),{loading:m,width:c,height:u,decoding:d,"data-nimg":w?"fill":"1",className:f,style:h,sizes:s,srcSet:a,src:i,ref:(0,l.useCallback)(function(t){e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(O&&(t.src=t.src),t.complete&&handleLoading(t,g,y,b,_,v))},[i,g,y,b,_,O,v,e]),onLoad:function(t){handleLoading(t.currentTarget,g,y,b,_,v)},onError:function(t){x(!0),"empty"!==g&&_(!0),O&&O(t)}}))});function ImagePreload(t){var e=t.isAppRouter,i=t.imgAttributes,n=r._({as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy},getDynamicProps(i.fetchPriority));return e&&c.default.preload?(c.default.preload(i.src,n),null):l.default.createElement(d.default,null,l.default.createElement("link",r._({key:"__nimg-"+i.src+i.srcSet+i.sizes,rel:"preload",href:i.srcSet?void 0:i.src},n)))}var y=(0,l.forwardRef)(function(t,e){var i=(0,l.useContext)(g.RouterContext),o=(0,l.useContext)(p.ImageConfigContext),u=(0,l.useMemo)(function(){var t=v||o||h.imageConfigDefault,e=s._(t.deviceSizes).concat(s._(t.imageSizes)).sort(function(t,e){return t-e}),i=t.deviceSizes.sort(function(t,e){return t-e});return n._(r._({},t),{allSizes:e,deviceSizes:i})},[o]),c=t.onLoad,d=t.onLoadingComplete,y=(0,l.useRef)(c);(0,l.useEffect)(function(){y.current=c},[c]);var b=(0,l.useRef)(d);(0,l.useEffect)(function(){b.current=d},[d]);var _=a._((0,l.useState)(!1),2),x=_[0],O=_[1],I=a._((0,l.useState)(!1),2),S=I[0],P=I[1],z=(0,f.getImgProps)(t,{defaultLoader:m.default,imgConf:u,blurComplete:x,showAltText:S}),j=z.props,C=z.meta;return l.default.createElement(l.default.Fragment,null,l.default.createElement(w,n._(r._({},j),{unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:O,setShowAltText:P,ref:e})),C.priority?l.default.createElement(ImagePreload,{isAppRouter:!i,imgAttributes:j}):null)});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},63560:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(72253),n=i(14932),o=i(47702);i(24043);var a=i(248);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),i(69941);var s=i(91235),u=i(17599);function isStaticRequire(t){return void 0!==t.default}function getInt(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function getImgProps(t,e){var i,l,c,d=t.src,f=t.sizes,h=t.unoptimized,p=void 0!==h&&h,g=t.priority,m=void 0!==g&&g,v=t.loading,w=t.className,y=t.quality,b=t.width,_=t.height,x=t.fill,O=void 0!==x&&x,I=t.style,S=(t.onLoad,t.onLoadingComplete,t.placeholder),P=void 0===S?"empty":S,z=t.blurDataURL,j=t.fetchPriority,C=t.layout,E=t.objectFit,M=t.objectPosition,R=(t.lazyBoundary,t.lazyRoot,o._(t,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"])),L=e.imgConf,A=e.showAltText,k=e.blurComplete,U=e.defaultLoader,B=L||u.imageConfigDefault;if("allSizes"in B)W=B;else{var D=a._(B.deviceSizes).concat(a._(B.imageSizes)).sort(function(t,e){return t-e}),q=B.deviceSizes.sort(function(t,e){return t-e});W=n._(r._({},B),{allSizes:D,deviceSizes:q})}var N=R.loader||U;delete R.loader,delete R.srcSet;var T="__next_img_default"in N;if(T){if("custom"===W.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{var W,H=N;N=function(t){return t.config,H(o._(t,["config"]))}}if(C){"fill"===C&&(O=!0);var F={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];F&&(I=r._({},I,F));var G={responsive:"100vw",fill:"100vw"}[C];G&&!f&&(f=G)}var V="",$=getInt(b),Y=getInt(_);if("object"==typeof(i=d)&&(isStaticRequire(i)||void 0!==i.src)){var J=isStaticRequire(d)?d.default:d;if(!J.src)throw 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 "+JSON.stringify(J));if(!J.height||!J.width)throw 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 "+JSON.stringify(J));if(l=J.blurWidth,c=J.blurHeight,z=z||J.blurDataURL,V=J.src,!O){if($||Y){if($&&!Y){var X=$/J.width;Y=Math.round(J.height*X)}else if(!$&&Y){var K=Y/J.height;$=Math.round(J.width*K)}}else $=J.width,Y=J.height}}var Q=!m&&("lazy"===v||void 0===v);(!(d="string"==typeof d?d:V)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,Q=!1),W.unoptimized&&(p=!0),T&&d.endsWith(".svg")&&!W.dangerouslyAllowSVG&&(p=!0),m&&(j="high");var Z=getInt(y),tt=Object.assign(O?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:M}:{},A?{}:{color:"transparent"},I),te=k||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,s.getImageBlurSvg)({widthInt:$,heightInt:Y,blurWidth:l,blurHeight:c,blurDataURL:z||"",objectFit:tt.objectFit})+'")':'url("'+P+'")',ti=te?{backgroundSize:tt.objectFit||"cover",backgroundPosition:tt.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:te}:{},tr=function(t){var e=t.config,i=t.src,r=t.unoptimized,n=t.width,o=t.quality,s=t.sizes,u=t.loader;if(r)return{src:i,srcSet:void 0,sizes:void 0};var l=function(t,e,i){var r=t.deviceSizes,n=t.allSizes;if(i){for(var o=/(^|\s)(1?\d?\d)vw/g,s=[];u=o.exec(i);u)s.push(parseInt(u[2]));if(s.length){var u,l,c=.01*(l=Math).min.apply(l,a._(s));return{widths:n.filter(function(t){return t>=r[0]*c}),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof e?{widths:r,kind:"w"}:{widths:a._(new Set([e,2*e].map(function(t){return n.find(function(e){return e>=t})||n[n.length-1]}))),kind:"x"}}(e,n,s),c=l.widths,d=l.kind,f=c.length-1;return{sizes:s||"w"!==d?s:"100vw",srcSet:c.map(function(t,r){return u({config:e,src:i,quality:o,width:t})+" "+("w"===d?t:r+1)+d}).join(", "),src:u({config:e,src:i,quality:o,width:c[f]})}}({config:W,src:d,unoptimized:p,width:$,quality:Z,sizes:f,loader:N});return{props:n._(r._({},R),{loading:Q?"lazy":v,fetchPriority:j,width:$,height:Y,decoding:"async",className:w,style:r._({},tt,ti),sizes:tr.sizes,srcSet:tr.srcSet,src:tr.src}),meta:{unoptimized:p,priority:m,placeholder:P,fill:O}}}},91235:function(t,e){"use strict";function getImageBlurSvg(t){var e=t.widthInt,i=t.heightInt,r=t.blurWidth,n=t.blurHeight,o=t.blurDataURL,a=t.objectFit,s=r?40*r:e,u=n?40*n:i,l=s&&u?"viewBox='0 0 "+s+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(l?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},82647:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(24043);Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return l}});var n=i(38754),o=i(63560),a=i(69941),s=i(12715),u=n._(i(57791)),unstable_getImgProps=function(t){(0,a.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");var e=(0,o.getImgProps)(t,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}}).props,i=!0,n=!1,s=void 0;try{for(var l,c=Object.entries(e)[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var d=r._(l.value,2),f=d[0],h=d[1];void 0===h&&delete e[f]}}catch(t){n=!0,s=t}finally{try{i||null==c.return||c.return()}finally{if(n)throw s}}return{props:e}},l=s.Image},57791:function(t,e){"use strict";function defaultLoader(t){var e=t.config,i=t.src,r=t.width,n=t.quality;return e.path+"?url="+encodeURIComponent(i)+"&w="+r+"&q="+(n||75)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}}),defaultLoader.__next_img_default=!0;var i=defaultLoader},25675:function(t,e,i){t.exports=i(82647)}}]);