"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9030],{15368:t=>{var e=/["'&<>]/;t.exports=function(t){var n,r=""+t,o=e.exec(r);if(!o)return r;var a="",c=0,i=0;for(c=o.index;c{t.exports=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;let e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}},29030:(t,e,n)=>{var r,o,a=n(29333),c=n(15368),i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_1]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_2]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_3]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_4]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_5]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HEADING_6]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.EMBEDDED_ENTRY]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.EMBEDDED_RESOURCE]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.UL_LIST]=function(t,e){return"")},r[a.BLOCKS.OL_LIST]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.LIST_ITEM]=function(t,e){return"".concat(e(t.content),"")},r[a.BLOCKS.QUOTE]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.HR]=function(){return"
"},r[a.BLOCKS.TABLE]=function(t,e){return"")},r[a.BLOCKS.TABLE_ROW]=function(t,e){return"".concat(e(t.content),"
")},r[a.BLOCKS.TABLE_HEADER_CELL]=function(t,e){return"".concat(e(t.content)," | ")},r[a.BLOCKS.TABLE_CELL]=function(t,e){return"".concat(e(t.content)," | ")},r[a.INLINES.ASSET_HYPERLINK]=function(t){return L(a.INLINES.ASSET_HYPERLINK,t)},r[a.INLINES.ENTRY_HYPERLINK]=function(t){return L(a.INLINES.ENTRY_HYPERLINK,t)},r[a.INLINES.RESOURCE_HYPERLINK]=function(t){return S(a.INLINES.RESOURCE_HYPERLINK,t)},r[a.INLINES.EMBEDDED_ENTRY]=function(t){return L(a.INLINES.EMBEDDED_ENTRY,t)},r[a.INLINES.EMBEDDED_RESOURCE]=function(t){return S(a.INLINES.EMBEDDED_RESOURCE,t)},r[a.INLINES.HYPERLINK]=function(t,e){var n="string"==typeof t.data.uri?t.data.uri:"";return"").concat(e(t.content),"")},r),u=((o={})[a.MARKS.BOLD]=function(t){return"".concat(t,"")},o[a.MARKS.ITALIC]=function(t){return"".concat(t,"")},o[a.MARKS.UNDERLINE]=function(t){return"".concat(t,"")},o[a.MARKS.CODE]=function(t){return"".concat(t,"
")},o[a.MARKS.SUPERSCRIPT]=function(t){return"".concat(t,"")},o[a.MARKS.SUBSCRIPT]=function(t){return"".concat(t,"")},o[a.MARKS.STRIKETHROUGH]=function(t){return"".concat(t,"")},o),L=function(t,e){return"type: ".concat(c(t)," id: ").concat(c(e.data.target.sys.id),"")},S=function(t,e){return"type: ".concat(c(t)," urn: ").concat(c(e.data.target.sys.urn),"")};e.v=function(t,e){return(void 0===e&&(e={}),t&&t.content)?function t(e,n){var r=n.renderNode,o=n.renderMark,i=n.preserveWhitespace;return e.map(function(e){return function(e,n){var r=n.renderNode,o=n.renderMark,i=n.preserveWhitespace;if(a.helpers.isText(e)){var E=c(e.value);return(i&&(E=E.replace(/\n/g,"
").replace(/ {2,}/g,function(t){return" ".repeat(t.length)})),e.marks.length>0)?e.marks.reduce(function(t,e){return o[e.type]?o[e.type](t):t},E):E}return e.nodeType&&r[e.nodeType]?r[e.nodeType](e,function(e){return t(e,{renderMark:o,renderNode:r,preserveWhitespace:i})}):""}(e,{renderNode:r,renderMark:o,preserveWhitespace:i})}).join("")}(t.content,{renderNode:i(i({},E),e.renderNode),renderMark:i(i({},u),e.renderMark),preserveWhitespace:e.preserveWhitespace}):""}},29333:(t,e,n)=>{var r,o,a=n(15650);e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={})),e.INLINES=void 0,function(t){t.ASSET_HYPERLINK="asset-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline",t.ENTRY_HYPERLINK="entry-hyperlink",t.HYPERLINK="hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink"}(e.INLINES||(e.INLINES={})),e.MARKS=void 0,function(t){t.BOLD="bold",t.ITALIC="italic",t.UNDERLINE="underline",t.CODE="code",t.SUPERSCRIPT="superscript",t.SUBSCRIPT="subscript",t.STRIKETHROUGH="strikethrough"}(e.MARKS||(e.MARKS={}));var c=function(t,e){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function E(t,e,n){if(n||2==arguments.length)for(var r,o=0,a=e.length;o=e||(n.catch(K({min:e,value:r,path:n.path.of(t)})),!1)},this.noAdditionalProperties=function(t){var e=Object.keys(n.obj).sort().filter(function(e){return!t.includes(e)});return e.forEach(function(t){return n.catch(T({property:t,path:n.path.of(t)}))}),0===e.length},this.each=function(t,e){if(n.array(t)){var r=n.obj[t],o=!1;r.forEach(function(r,a){if(!o){var c=e(r,n.path.of(t).of(a));c.length>0&&(o=!0),n.catch.apply(n,c)}})}}}return Object.defineProperty(t.prototype,"errors",{get:function(){var t=this,e=function(t){return JSON.stringify({details:t.details,path:t.path})};return this._errors.filter(function(n,r){return t._errors.findIndex(function(t){return e(n)===e(t)})===r})},enumerable:!1,configurable:!0}),t}(),R=[],y=function(){function t(t,e){this.contentRule=t,this.validateData=e}return t.prototype.assert=function(t,e){var n,r,o=new d(t,e);if(!o.object())return o.errors;o.noAdditionalProperties(["nodeType","data","content"]);var a=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(t,e),c=a.nodeTypes,i=a.min,E=void 0===i?0:i;if(0===c.length&&E>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(E," with no nodeTypes"));if(o.minLength("content",E),0===c.length?o.empty("content"):o.each("content",function(t,e){var n=new d(t,e);return n.object()&&n.enum("nodeType",c),n.errors}),o.object("data")){var u=null!=(r=null==(n=this.validateData)?void 0:n.call(this,t.data,e.of("data")))?r:[];o.catch.apply(o,u)}return o.errors},t}(),v=function(t){function e(e,n){var r=t.call(this,n,function(t,e){return r.assertLink(t,e)})||this;return r.linkType=e,r.assertLink=function(t,e){var n=new d(t,e);if(n.object("target")){var o=new d(t.target.sys,e.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),n.catch.apply(n,o.errors)}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return i(e,t),e}(y),H=function(t){function e(){var e=t.call(this,["text"],function(t,n){return e.assertLink(t,n)})||this;return e.assertLink=function(t,e){var n=new d(t,e);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors},e}return i(e,t),e}(y),b=function(t,e){return new y(t,e)},M=function(t,e){return new v(t,e)},P=function t(e){void 0===e&&(e=[]);var n=this;this.path=e,this.of=function(e){return new t(E(E([],n.path,!0),[e],!1))},this.isRoot=function(){return 0===n.path.length},this.last=function(){return n.path[n.path.length-1]},this.toArray=function(){return n.path}},g=b(E(E([],Object.values(e.INLINES),!0),["text"],!1).sort()),m=b([e.BLOCKS.LIST_ITEM]),G=M("Entry",R),k=b(function(){return{nodeTypes:[e.BLOCKS.PARAGRAPH],min:1}},function(t,e){var n=new d(t,e);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),U=((o={})[e.BLOCKS.DOCUMENT]=b(u),o[e.BLOCKS.PARAGRAPH]=g,o[e.BLOCKS.HEADING_1]=g,o[e.BLOCKS.HEADING_2]=g,o[e.BLOCKS.HEADING_3]=g,o[e.BLOCKS.HEADING_4]=g,o[e.BLOCKS.HEADING_5]=g,o[e.BLOCKS.HEADING_6]=g,o[e.BLOCKS.QUOTE]=b(p[e.BLOCKS.QUOTE]),o[e.BLOCKS.EMBEDDED_ENTRY]=G,o[e.BLOCKS.EMBEDDED_ASSET]=M("Asset",R),o[e.BLOCKS.EMBEDDED_RESOURCE]=M("Contentful:Entry",R),o[e.BLOCKS.HR]=b(R),o[e.BLOCKS.OL_LIST]=m,o[e.BLOCKS.UL_LIST]=m,o[e.BLOCKS.LIST_ITEM]=b(E([],L,!0).sort()),o[e.BLOCKS.TABLE]=b(function(){return{nodeTypes:[e.BLOCKS.TABLE_ROW],min:1}}),o[e.BLOCKS.TABLE_ROW]=b(function(){return{nodeTypes:[e.BLOCKS.TABLE_CELL,e.BLOCKS.TABLE_HEADER_CELL],min:1}}),o[e.BLOCKS.TABLE_CELL]=k,o[e.BLOCKS.TABLE_HEADER_CELL]=k,o[e.INLINES.HYPERLINK]=new H,o[e.INLINES.EMBEDDED_ENTRY]=G,o[e.INLINES.EMBEDDED_RESOURCE]=M("Contentful:Entry",R),o[e.INLINES.ENTRY_HYPERLINK]=M("Entry",["text"]),o[e.INLINES.ASSET_HYPERLINK]=M("Asset",["text"]),o[e.INLINES.RESOURCE_HYPERLINK]=M("Contentful:Entry",["text"]),o);e.CONTAINERS=p,e.EMPTY_DOCUMENT=l,e.HEADINGS=O,e.LIST_ITEM_BLOCKS=L,e.TABLE_BLOCKS=S,e.TEXT_CONTAINERS=B,e.TOP_LEVEL_BLOCKS=u,e.V1_MARKS=f,e.V1_NODE_TYPES=C,e.VOID_BLOCKS=s,e.helpers=A,e.validateRichTextDocument=function(t){var n=new P,r=new d(t,n);return(r.object()&&r.enum("nodeType",[e.BLOCKS.DOCUMENT]),r.errors.length>0)?r.errors:function t(e,n){if("text"===e.nodeType){var r;return(r=new d(e,n)).object()&&(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(t,e){var n=new d(t,e);return n.object()&&n.string("type"),n.errors}),r.string("value")),r.errors}var o=U[e.nodeType].assert(e,n);if(o.length>0)return o;var a=new d(e,n);return a.each("content",function(e,n){return t(e,n)}),a.errors}(t,n)}}}]);