(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[479],{38550:function(e,t,n){e.exports=n(29608)},81923:function(e,t,n){"use strict";var r=n(96086),i=n(72695),o=n(81247),a=n(97118),l=n(41051),s=["projectId","dataset","imageOptions","ignoreUnknownTypes"],c={imageOptions:{},ignoreUnknownTypes:!0};function isListItem(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,u){var f=r({},c,t),h=o(a(Array.isArray(f.blocks)?f.blocks:[f.blocks]),f.listNestMode),y=l(n,f.serializers||{}),g=s.reduce(function(e,t){var n=f[t];return void 0!==n&&(e[t]=n),e},{}),k=!!f.renderContainerOnSingleChild,b=h.map(function serializeNode(t,n,r,o){var a,l,s,c,f,h,k,b,x;return"list"===t._type&&t.listItem?(a=t.listItem,l=t.level,s=t._key,c=t.children.map(serializeNode),e(y.list,{key:s,level:l,type:a,options:g},c)):isListItem(t)?(f=function(e,t){for(var n=0,r=0;r1){var x=f.className?{className:f.className}:{};return e(y.container,x,b)}return b[0]?b[0]:"function"==typeof y.empty?e(y.empty):y.empty}},72695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function sortMarksByOccurences(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var r=sortMarks.bind(null,e.marks.reduce(function(e,r){e[r]=e[r]?e[r]+1:1;for(var i=t+1;ir?1:0}e.exports=function(e){var t=e.children,n=e.markDefs;if(!t||!t.length)return[];var r=t.map(sortMarksByOccurences),i={_type:"span",children:[]},o=[i];return t.forEach(function(e,t){var i=r[t];if(!i){o[o.length-1].children.push(e);return}var a=1;if(o.length>1)for(;a=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}}(o=o.slice(0,a));if(i.forEach(function(t){var r={_type:"span",_key:e._key,children:[],mark:n.find(function(e){return e._key===t})||t,markKey:t};c.children.push(r),o.push(r),c=r}),"span"===e._type&&"string"==typeof e.text&&(Array.isArray(e.marks)||void 0===e.marks)){for(var u=e.text.split("\n"),f=u.length;f-- >1;)u.splice(f,0,"\n");c.children=c.children.concat(u)}else c.children=c.children.concat(e)}),i.children}},97118:function(e,t,n){"use strict";var r=n(96086);e.exports=function(e){return e.map(function(e){return e._key?e:r({_key:(function(e){var t=0,n=e.length;if(0===n)return t;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"html",i=[],o=0;ot.level){var s=listFromBlock(l);if("html"===n){var c=lastChild(t),u=r({},c,{children:c.children.concat(s)});t.children[t.children.length-1]=u}else t.children.push(s);t=s;continue}if(l.level0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),NodeWithChildren}(s);t.NodeWithChildren=y;var g=function(e){function Document(t){return e.call(this,a.ElementType.Root,t)||this}return i(Document,e),Document}(y);t.Document=g;var k=function(e){function Element(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(Element,e),Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),Element}(y);function isTag(e){return(0,a.isTag)(e)}function isCDATA(e){return e.type===a.ElementType.CDATA}function isText(e){return e.type===a.ElementType.Text}function isComment(e){return e.type===a.ElementType.Comment}function isDirective(e){return e.type===a.ElementType.Directive}function isDocument(e){return e.type===a.ElementType.Root}function cloneNode(e,t){if(void 0===t&&(t=!1),isText(e))n=new u(e.data);else if(isComment(e))n=new f(e.data);else if(isTag(e)){var n,r=t?cloneChildren(e.children):[],i=new k(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(isCDATA(e)){var r=t?cloneChildren(e.children):[],l=new y(a.ElementType.CDATA,r);r.forEach(function(e){return e.parent=l}),n=l}else if(isDocument(e)){var r=t?cloneChildren(e.children):[],s=new g(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(isDirective(e)){var c=new h(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function cloneChildren(e){for(var t=e.map(function(e){return cloneNode(e,!0)}),n=1;n/i,c=//i,parseFromDocument=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},parseFromString=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var u=new window.DOMParser;parseFromDocument=parseFromString=function(e,t){return t&&(e="<"+t+">"+e+""),u.parseFromString(e,"text/html")}}if(document.implementation){var f=n(1507).isIE,h=document.implementation.createHTMLDocument(f()?"html-dom-parser":void 0);parseFromDocument=function(e,t){return t?h.documentElement.getElementsByTagName(t)[0].innerHTML=e:h.documentElement.innerHTML=e,h}}var y=document.createElement("template");y.content&&(r=function(e){return y.innerHTML=e,y.content.childNodes}),e.exports=function(e){var t,n,u,f,h=e.match(l);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case i:return n=parseFromString(e),!s.test(e)&&(u=n.getElementsByTagName(o)[0])&&u.parentNode.removeChild(u),!c.test(e)&&(u=n.getElementsByTagName(a)[0])&&u.parentNode.removeChild(u),n.getElementsByTagName(i);case o:case a:if(f=parseFromDocument(e).getElementsByTagName(t),c.test(e)&&s.test(e))return f[0].parentNode.childNodes;return f;default:if(r)return r(e);return parseFromDocument(e,a).getElementsByTagName(a)[0].childNodes}}},14152:function(e,t,n){var r=n(38276),i=n(1507).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(o);return n&&n[1]&&(t=n[1]),i(r(e),null,t)}},1507:function(e,t,n){for(var r,i=n(60885),o=n(97790),a=i.CASE_SENSITIVE_TAG_NAMES,l=o.Comment,s=o.Element,c=o.ProcessingInstruction,u=o.Text,f={},h=0,y=a.length;h1&&(c=y(c,{key:c.key||w})),b.push(c);continue}if("text"===n.type){if((s=!n.data.trim().length)&&n.parent&&!l(n.parent)||T&&s)continue;b.push(n.data);continue}switch(u=n.attribs,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===n.type&&o.isCustomComponent(n.name,n.attribs)?a(u.style,u):u&&(u=i(u)),f=null,n.type){case"script":case"style":n.children[0]&&(u.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?u.defaultValue=n.children[0].data:n.children&&n.children.length&&(f=domToReact(n.children,t));break;default:continue}C>1&&(u.key=w),b.push(g(n.name,u,f))}return 1===b.length?b[0]:b}},23916:function(e,t,n){var r=n(67294),i=n(41476).default,o={reactCompat:!0},a=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e){if(r=e[n],i&&(o=t(n,r))&&2===o.length){a[o[0]]=o[1];continue}"string"==typeof r&&(a[r]=n)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},elementsWithNoTextChildren:l}},70131:function(e,t,n){"use strict";n.d(t,{YD:function(){return useInView},df:function(){return c}});var r=n(67294);function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=l.get(t.target))||n.forEach(function(e){e(i,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:l},i.set(t,n)}return n}(n),u=c.id,f=c.observer,h=c.elements,y=h.get(e)||[];return h.has(e)||h.set(e,y),y.push(t),f.observe(e),function(){y.splice(y.indexOf(t),1),0===y.length&&(h.delete(e),f.unobserve(e)),0===h.size&&(f.disconnect(),i.delete(u))}}var s=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var c=function(e){function InView(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),isPlainChildren(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.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())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},a)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var i=this.props,o=i.children,a=i.as,l=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(i,s);return r.createElement(a||"div",_extends({ref:this.handleNode},l),o)},InView}(r.Component);function useInView(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,a=t.rootMargin,l=t.root,s=t.triggerOnce,c=t.skip,u=t.initialInView,f=t.fallbackInView,h=r.useRef(),y=r.useState({inView:!!u}),g=y[0],k=y[1],b=r.useCallback(function(e){void 0!==h.current&&(h.current(),h.current=void 0),!c&&e&&(h.current=observe(e,function(e,t){k({inView:e,entry:t}),t.isIntersecting&&s&&h.current&&(h.current(),h.current=void 0)},{root:l,rootMargin:a,threshold:n,trackVisibility:o,delay:i},f))},[Array.isArray(n)?n.toString():n,l,a,s,c,o,f,i]);(0,r.useEffect)(function(){h.current||!g.entry||s||c||k({inView:!!u})});var x=[b,g.inView,g.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}c.displayName="InView",c.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},87737:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertySymbols,u=Object.prototype.propertyIsEnumerable,f=Object.assign,O=e=>i(e,"__esModule",{value:!0}),m=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&c)for(var r of c(e))0>t.indexOf(r)&&u.call(e,r)&&(n[r]=e[r]);return n},Q=(e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of l(t))a.call(e,r)||"default"===r||i(e,r,{get:()=>t[r],enumerable:!(n=s(t,r))||n.enumerable});return e},P=e=>Q(O(i(null!=e?r(o(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);O(t),((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>Z,default:()=>b});var h=P(n(67294)),y=P(n(45697)),g=P(n(88863)),k=g.default.defaultSerializers,q=e=>{var{content:t,className:n,serializers:r={},dataset:i,projectId:o}=e,a=m(e,["content","className","serializers","dataset","projectId"]);if(!t)throw Error("No `content` provided to PortableText.");return h.default.createElement(g.default,f({blocks:t,className:n,serializers:V(r),renderContainerOnSingleChild:!0,dataset:i,projectId:o},a))},b=q;q.propTypes={content:y.default.array.isRequired,className:y.default.string,projectId:y.default.string,dataset:y.default.string,ignoreUnknownTypes:y.default.bool,serializers:y.default.shape({link:y.default.elementType,strong:y.default.elementType,em:y.default.elementType,underline:y.default.elementType,del:y.default.elementType,code:y.default.elementType,ul:y.default.elementType,ol:y.default.elementType,li:y.default.elementType,h1:y.default.elementType,h2:y.default.elementType,h3:y.default.elementType,h4:y.default.elementType,h5:y.default.elementType,h6:y.default.elementType,blockquote:y.default.elementType,container:y.default.elementType,block:y.default.elementType,span:y.default.elementType,hardBreak:y.default.elementType,unknownType:y.default.elementType,unknownMark:y.default.elementType})};var V=e=>{let{link:t,strong:n,em:r,underline:i,del:o,code:a,ul:l,ol:s,li:c,h1:u,h2:y,h3:b,h4:x,h5:T,h6:w,blockquote:C,container:S="div",block:E=k.BlockSerializer,span:I=k.SpanSerializer,hardBreak:N=k.HardBreakSerializer,unknownType:_=k.DefaultUnknownTypeSerializer,unknownMark:D="span"}=e,M=m(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),A={h1:u,h2:y,h3:b,h4:x,h5:T,h6:w,blockquote:C};return{container:S,block:E,span:I,hardBreak:N,unknownType:_,unknownMark:D,marks:Y(f({link:t,strong:n,em:r,underline:i,code:a,"strike-through":o},M)),list:e=>{let{type:t,children:n}=e,r="bullet"===t?l:s;return r?r({children:n}):g.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return c?c({children:t}):g.default.defaultSerializers.listItem(e)},types:f({block:e=>{let{node:{style:t},children:n}=e;return A[t]?A[t]({children:n}):M[t]?M[t]({children:n}):g.default.defaultSerializers.types.block(e)}},Object.entries(M).reduce((e,[t,n])=>{let d=({node:e})=>h.default.createElement(n,e);return d.displayName=`${v(t)}Wrapper`,e[t]=d,e},{}))}},Y=e=>Object.entries(e).reduce((e,[t,n])=>{if(n){let p=e=>{var{_type:t,_key:r,mark:i,markKey:o,children:a}=e,l=m(e,["_type","_key","mark","markKey","children"]);if("object"==typeof i){let{_type:e,_key:t}=i;Object.entries(m(i,["_type","_key"])).forEach(([e,t])=>{l[e]=t})}return h.default.createElement(n,l,a)};p.displayName=`${v(t)}Wrapper`,e[t]=p}return e},{}),Z=(e=[])=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join(` `),v=e=>e.slice(0,1).toUpperCase()+e.slice(1)},25726:function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n