(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6189],{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),l=n(97118),a=n(41051),u=["projectId","dataset","imageOptions","ignoreUnknownTypes"],s={imageOptions:{},ignoreUnknownTypes:!0};function c(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,f){var p=r({},s,t),d=o(l(Array.isArray(p.blocks)?p.blocks:[p.blocks]),p.listNestMode),h=a(n,p.serializers||{}),m=u.reduce(function(e,t){var n=p[t];return void 0!==n&&(e[t]=n),e},{}),g=!!p.renderContainerOnSingleChild,y=d.map(function t(n,r,o,l){var a,u,s,p,d,g,y,v,x;return"list"===n._type&&n.listItem?(a=n.listItem,u=n.level,s=n._key,p=n.children.map(t),e(h.list,{key:s,level:u,type:a,options:m},p)):c(n)?(d=function(e,t){for(var n=0,r=0;r1){var v=p.className?{className:p.className}:{};return e(h.container,v,y)}return y[0]?y[0]:"function"==typeof h.empty?e(h.empty):h.empty}},72695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function n(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var i=r.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,r=e.markDefs;if(!t||!t.length)return[];var i=t.map(n),o={_type:"span",children:[]},l=[o];return t.forEach(function(e,t){var n=i[t];if(!n){l[l.length-1].children.push(e);return}var o=1;if(l.length>1)for(;o=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}}(l=l.slice(0,o));if(n.forEach(function(t){var n={_type:"span",_key:e._key,children:[],mark:r.find(function(e){return e._key===t})||t,markKey:t};s.children.push(n),l.push(n),s=n}),"span"===e._type&&"string"==typeof e.text&&(Array.isArray(e.marks)||void 0===e.marks)){for(var c=e.text.split("\n"),f=c.length;f-- >1;)c.splice(f,0,"\n");s.children=s.children.concat(c)}else s.children=s.children.concat(e)}),o.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",a=[],u=0;ut.level){var f=i(c);if("html"===n){var p=o(t),d=r({},p,{children:p.children.concat(f)});t.children[t.children.length-1]=d}else t.children.push(f);t=f;continue}if(c.levele.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[n++]}};throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}(i);!(n=r()).done;){var o=n.value,l=o[0],a=o[1];if(e===l||e===a)return l}return e}(l)]=n[l]);return new u(this,e({baseUrl:r},o))},s.image=function(e){return this.withOptions({source:e})},s.dataset=function(e){return this.withOptions({dataset:e})},s.projectId=function(e){return this.withOptions({projectId:e})},s.bg=function(e){return this.withOptions({bg:e})},s.dpr=function(e){return this.withOptions({dpr:e})},s.width=function(e){return this.withOptions({width:e})},s.height=function(e){return this.withOptions({height:e})},s.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},s.maxWidth=function(e){return this.withOptions({maxWidth:e})},s.minWidth=function(e){return this.withOptions({minWidth:e})},s.maxHeight=function(e){return this.withOptions({maxHeight:e})},s.minHeight=function(e){return this.withOptions({minHeight:e})},s.size=function(e,t){return this.withOptions({width:e,height:t})},s.blur=function(e){return this.withOptions({blur:e})},s.sharpen=function(e){return this.withOptions({sharpen:e})},s.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},s.format=function(e){return this.withOptions({format:e})},s.invert=function(e){return this.withOptions({invert:e})},s.orientation=function(e){return this.withOptions({orientation:e})},s.quality=function(e){return this.withOptions({quality:e})},s.forceDownload=function(e){return this.withOptions({download:e})},s.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},s.flipVertical=function(){return this.withOptions({flipVertical:!0})},s.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},s.fit=function(e){if(-1===o.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},s.crop=function(e){if(-1===l.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},s.saturation=function(e){return this.withOptions({saturation:e})},s.auto=function(e){if(-1===a.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},s.pad=function(e){return this.withOptions({pad:e})},s.url=function(){return function(t){var o=e({},t||{}),l=o.source;delete o.source;var a=function(t){var n;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))n={asset:{_ref:r(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:r(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n=t}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(l);if(!a)return null;var u=function(e){var t=e.split("-"),r=t[1],i=t[2],o=t[3];if(!r||!i||!o)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');var l=i.split("x"),a=l[0],u=l[1],s=+a,c=+u;if(!(isFinite(s)&&isFinite(c)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');return{id:r,width:s,height:c,format:o}}(a.asset._ref||a.asset._id||""),s=Math.round(a.crop.left*u.width),c=Math.round(a.crop.top*u.height),f={left:s,top:c,width:Math.round(u.width-a.crop.right*u.width-s),height:Math.round(u.height-a.crop.bottom*u.height-c)},p=a.hotspot.height*u.height/2,d=a.hotspot.width*u.width/2,h=a.hotspot.x*u.width,m=a.hotspot.y*u.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=e(e({},o),function(e,t){var n,r=t.width,i=t.height;if(!(r&&i))return{width:r,height:i,rect:e.crop};var o=e.crop,l=e.hotspot,a=r/i;if(o.width/o.height>a){var u=o.height,s=u*a,c=o.top,f=(l.right-l.left)/2+l.left-s/2;fo.left+o.width&&(f=o.left+o.width-s),n={left:Math.round(f),top:Math.round(c),width:Math.round(s),height:Math.round(u)}}else{var p=o.width,d=p/a,h=o.left,m=(l.bottom-l.top)/2+l.top-d/2;mo.top+o.height&&(m=o.top+o.height-d),n={left:Math.max(0,Math.floor(h)),top:Math.max(0,Math.floor(m)),width:Math.round(p),height:Math.round(d)}}return{width:r,height:i,rect:n}}({crop:f,hotspot:{left:h-d,top:m-p,right:h+d,bottom:m+p}},o))),function(e){var t=e.baseUrl||"https://cdn.sanity.io",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,r=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,o=[];if(e.rect){var l=e.rect,a=l.left,u=l.top,s=l.width,c=l.height;(0!==a||0!==u||c!==e.asset.height||s!==e.asset.width)&&o.push("rect="+a+","+u+","+s+","+c)}e.bg&&o.push("bg="+e.bg),e.focalPoint&&(o.push("fp-x="+e.focalPoint.x),o.push("fp-y="+e.focalPoint.y));var f=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(f&&o.push("flip="+f),i.forEach(function(t){var n=t[0],r=t[1];void 0!==e[n]?o.push(r+"="+encodeURIComponent(e[n])):void 0!==e[r]&&o.push(r+"="+encodeURIComponent(e[r]))}),0===o.length)?r:r+"?"+o.join("&")}(e(e({},o),{},{asset:u}))}(this.options)},s.toString=function(){return this.url()},u}();return function(e){if(e&&"object"==typeof e.clientConfig){var t=e.clientConfig,n=t.apiHost,r=t.projectId,i=t.dataset;return new u(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:i})}return new u(null,e)}},e.exports=t()},18869:function(e){"use strict";e.exports=function(e){if(e)throw e}},56851:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],r=String(e||""),i=r.indexOf(","),o=0,l=!1;!l;)-1===i&&(i=r.length,l=!0),((t=r.slice(o,i).trim())||!l)&&n.push(t),o=i+1,i=r.indexOf(",",o);return n},t.stringify=function(e,t){var n=t||{},r=!1===n.padLeft?"":" ",i=n.padRight?" ":"";return""===e[e.length-1]&&(e=e.concat("")),e.join(i+","+r).trim()}},99960:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(r=n=t.ElementType||(t.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},47915:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(99960),l=n(97790);i(n(97790),t);var a=/\s+/g,u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function e(e,t,n){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=u),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:u,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new l.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(a," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a," "));var r=new l.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new l.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new l.Text(""),t=new l.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new l.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=s,t.default=s},97790:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(u);t.NodeWithChildren=d;var h=function(e){function t(t){return e.call(this,l.ElementType.Root,t)||this}return i(t,e),t}(d);t.Document=h;var m=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.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}),t}(d);function g(e){return(0,l.isTag)(e)}function y(e){return e.type===l.ElementType.CDATA}function v(e){return e.type===l.ElementType.Text}function x(e){return e.type===l.ElementType.Comment}function k(e){return e.type===l.ElementType.Directive}function b(e){return e.type===l.ElementType.Root}function w(e,t){if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(x(e))n=new f(e.data);else if(g(e)){var n,r=t?S(e.children):[],i=new m(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(y(e)){var r=t?S(e.children):[],a=new d(l.ElementType.CDATA,r);r.forEach(function(e){return e.parent=a}),n=a}else if(b(e)){var r=t?S(e.children):[],u=new h(r);r.forEach(function(e){return e.parent=u}),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else if(k(e)){var s=new p(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}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 S(e){for(var t=e.map(function(e){return w(e,!0)}),n=1;n1?t-1:0),r=1;r/i,s=//i,c=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},f=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var p=new window.DOMParser;c=f=function(e,t){return t&&(e="<"+t+">"+e+""),p.parseFromString(e,"text/html")}}if(document.implementation){var d=n(1507).isIE,h=document.implementation.createHTMLDocument(d()?"html-dom-parser":void 0);c=function(e,t){return t?h.documentElement.getElementsByTagName(t)[0].innerHTML=e:h.documentElement.innerHTML=e,h}}var m=document.createElement("template");m.content&&(r=function(e){return m.innerHTML=e,m.content.childNodes}),e.exports=function(e){var t,n,p,d,h=e.match(a);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case i:return n=f(e),!u.test(e)&&(p=n.getElementsByTagName(o)[0])&&p.parentNode.removeChild(p),!s.test(e)&&(p=n.getElementsByTagName(l)[0])&&p.parentNode.removeChild(p),n.getElementsByTagName(i);case o:case l:if(d=c(e).getElementsByTagName(t),s.test(e)&&u.test(e))return d[0].parentNode.childNodes;return d;default:if(r)return r(e);return c(e,l).getElementsByTagName(l)[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),l=i.CASE_SENSITIVE_TAG_NAMES,a=o.Comment,u=o.Element,s=o.ProcessingInstruction,c=o.Text,f={},p=0,d=l.length;p1&&(c=h(c,{key:c.key||k})),y.push(c);continue}if("text"===u.type){if((s=!u.data.trim().length)&&u.parent&&!a(u.parent)||x&&s)continue;y.push(u.data);continue}switch(f=u.attribs,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===u.type&&o.isCustomComponent(u.name,u.attribs)?l(f.style,f):f&&(f=i(f)),p=null,u.type){case"script":case"style":u.children[0]&&(f.dangerouslySetInnerHTML={__html:u.children[0].data});break;case"tag":"textarea"===u.name&&u.children[0]?f.defaultValue=u.children[0].data:u.children&&u.children.length&&(p=e(u.children,n));break;default:continue}b>1&&(f.key=k),y.push(m(u.name,f,p))}return 1===y.length?y[0]:y}},74606:function(e,t,n){var r=n(67294),i=n(41476).default,o={reactCompat:!0},l=r.version.split(".")[0]>=16,a=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:l,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={},l={};for(n in e){if(r=e[n],i&&(o=t(n,r))&&2===o.length){l[o[0]]=o[1];continue}"string"==typeof r&&(l[r]=n)}return l},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!a.has(e.name)},elementsWithNoTextChildren:a}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,f=1;function p(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function d(){var e={line:c,column:f};return function(t){return t.position=new h(e),y(r),t}}function h(e){this.start=e,this.end={line:c,column:f},this.source=u.source}h.prototype.content=e;var m=[];function g(t){var n=Error(u.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=f,n.source=e,u.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=d(),n=y(i);if(n){if(x(),!y(o))return g("property missing ':'");var r=y(l),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return y(a),u}}();)!1!==e&&(n.push(e),v(n));return n}()}},33310:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},86630:function(e,t,n){"use strict";var r=n(62854);e.exports=function(e,t){var n;return n=function(e){var t={};if(!e||!e.type)throw Error("mdast-util-definitions expected node");return r(e,"definition",function(e){var n=o(e.identifier);i.call(t,n)||(t[n]=e)}),t}(e,t),function(e){var t=e&&o(e);return t&&i.call(n,t)?n[t]:null}};var i={}.hasOwnProperty;function o(e){return e.toUpperCase()}},52524:function(e,t,n){"use strict";e.exports=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t=function(e,t){for(var n=-1;++n-1&&(x.call(this,e),k.call(this,e))},link:g(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=l(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:g(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:g(),thematicBreak:g()}},(e||{}).mdastExtensions||[]),n={};return function(e){for(var n,r,l={type:"root",children:[]},a=[],f=[],d=-1,g={stack:[l],tokenStack:a,config:t,enter:m,exit:y,buffer:h,resume:v,setData:u,getData:s};++d0&&c.children.unshift(r("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),p.className=["task-list-item"]),l=s.length,a=-1;++a1:t}},47888:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,l={},a=t.ordered?"ol":"ul",u=-1;for("number"==typeof t.start&&1!==t.start&&(l.start=t.start),o=(n=i(e,t)).length;++u-1?l:e.unknownHandler)?a:function(e,t){var n;return(n=t.data||{},!(o.call(n,"hName")||o.call(n,"hProperties")||o.call(n,"hChildren"))&&"value"in t)?e.augment(t,r("text",t.value)):e(t,"div",i(e,t))})(e,t,n)};var r=n(50914),i=n(95426),o={}.hasOwnProperty;function l(e,t){var n;return t.children?((n=Object.assign({},t)).children=i(e,t),n):t}},713:function(e,t,n){"use strict";e.exports=function(e,t){var n,o,l,a=t.referenceType,u="]";return("collapsed"===a?u+="[]":"full"===a&&(u+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)?r("text","!["+t.alt+u):((o=(n=i(e,t))[0])&&"text"===o.type?o.value="["+o.value:n.unshift(r("text","[")),(l=n[n.length-1])&&"text"===l.type?l.value+=u:n.push(r("text",u)),n)};var r=n(50914),i=n(95426)},96115:function(e,t,n){"use strict";e.exports=function(e,t){var n=[],i=-1,o=e.length;for(t&&n.push(r("text","\n"));++i0&&n.push(r("text","\n")),n};var r=n(50914)},4999:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&u<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[o])}return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},76734:function(e,t,n){"use strict";var r=n(2841)(/[A-Za-z]/);e.exports=r},46712:function(e,t,n){"use strict";var r=n(2841)(/[\dA-Za-z]/);e.exports=r},13571:function(e,t,n){"use strict";var r=n(2841)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},89696:function(e){"use strict";e.exports=function(e){return e<32||127===e}},73977:function(e,t,n){"use strict";var r=n(2841)(/\d/);e.exports=r},56238:function(e,t,n){"use strict";var r=n(2841)(/[\dA-Fa-f]/);e.exports=r},83074:function(e,t,n){"use strict";var r=n(2841)(/[!-/:-@[-`{-~]/);e.exports=r},88367:function(e){"use strict";e.exports=function(e){return e<0||32===e}},17238:function(e){"use strict";e.exports=function(e){return e<-2}},73654:function(e){"use strict";e.exports=function(e){return -2===e||-1===e||32===e}},36996:function(e,t,n){"use strict";var r=n(76830),i=n(2841)(r);e.exports=i},10395:function(e,t,n){"use strict";var r=n(2841)(/\s/);e.exports=r},99198:function(e){"use strict";var t=Object.assign;e.exports=t},93267:function(e){"use strict";var t=String.fromCharCode;e.exports=t},46706:function(e){"use strict";e.exports=({}).hasOwnProperty},57139:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},16871:function(e){"use strict";e.exports=["pre","script","style","textarea"]},21362:function(e){"use strict";var t=[].splice;e.exports=t},76830:function(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},36274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97082),i=n(47542),o=n(1349),l=n(45485),a=n(49653),u=n(36713),s=n(46597),c=n(20431),f=n(60026),p=n(93865),d=n(65694),h=n(596),m=n(76872),g=n(28911),y=n(31294),v=n(36215),x=n(60534),k=n(92607),b=n(46931),w=n(15874),S=n(37039),E={null:[i,r.resolver]};t.contentInitial={91:p},t.disable={null:[]},t.document={42:b,43:b,45:b,48:b,49:b,50:b,51:b,52:b,53:b,54:b,55:b,56:b,57:b,62:l},t.flow={35:h,42:S,45:[w,S],60:m,61:w,95:S,96:s,126:s},t.flowInitial={"-2":c,"-1":c,32:c},t.insideSpan=E,t.string={38:u,92:a},t.text={"-5":k,"-4":k,"-3":k,33:v,38:u,42:i,60:[o,g],91:x,92:[d,a],93:y,95:i,96:f}},13745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928);t.tokenize=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(i){var o=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=o),t=o,function t(i){if(null===i){e.exit("chunkText"),e.exit("paragraph"),e.consume(i);return}return r(i)?(e.consume(i),e.exit("chunkText"),n):(e.consume(i),t)}(i)}(n)});return n}},14201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),o=n(66532),l={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},a={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=function(e){var t,n,i,u=this,s=[],c=0,f={tokenize:function(e,r){var i=0;return t={},c;function c(r){return it;)u.containerState=s[o][1],s[o][0].exit.call(u,e);s.length=t}}},22871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64590),i=n(52928),o=n(66532);t.tokenize=function(e){var t=this,n=e.attempt(o,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,l,i(e,e.attempt(this.parser.constructs.flow,l,e.attempt(r,l)),"linePrefix")));return n;function l(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},97082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99198),i=n(75923),o=u("text"),l=u("string"),a={resolveAll:s()};function u(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return u(e)?i(e):l(e)}function l(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),a}function a(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(e){var t=r[e],i=-1;if(null===e)return!0;if(t){for(;++i1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:l(u(e[n][1].end),-p),end:u(e[n][1].end)},f={type:p>1?"strongSequence":"emphasisSequence",start:u(e[m][1].start),end:l(u(e[m][1].start),p)},s={type:p>1?"strongText":"emphasisText",start:u(e[n][1].end),end:u(e[m][1].start)},o={type:p>1?"strong":"emphasis",start:u(c.start),end:u(f.end)},e[n][1].end=u(c.start),e[m][1].start=u(f.end),d=[],e[n][1].end.offset-e[n][1].start.offset&&(d=r(d,[["enter",e[n][1],t],["exit",e[n][1],t]])),d=r(d,[["enter",o,t],["enter",c,t],["exit",c,t],["enter",s,t]]),d=r(d,a(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),d=r(d,[["exit",s,t],["enter",f,t],["exit",f,t],["exit",o,t]]),e[m][1].end.offset-e[m][1].start.offset?(h=2,d=r(d,[["enter",e[m][1],t],["exit",e[m][1],t]])):h=0,i(e,n-1,m-n+3,d),m=n+d.length-h-2;break}}for(m=-1;++m-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=o},49653:function(e,t,n){"use strict";var r=n(83074);e.exports={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}}},36713:function(e,t,n){"use strict";var r=n(89435),i=n(46712),o=n(73977),l=n(56238),a=r&&"object"==typeof r&&"default"in r?r:{default:r};e.exports={name:"characterReference",tokenize:function(e,t,n){var r,u,s=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),f};function f(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),p):(e.enter("characterReferenceValue"),r=31,u=i,d(t))}function p(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,u=l,d):(e.enter("characterReferenceValue"),r=7,u=o,d(t))}function d(o){var l;return 59===o&&c?(l=e.exit("characterReferenceValue"),u!==i||a.default(s.sliceSerialize(l)))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o):u(o)&&c++-1?void 0:4);function o(i){return null===i||r(i)?(e.exit("codeFencedFence"),t(i)):n(i)}},partial:!0},c=o(this.events,"linePrefix"),f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),a=t,function t(r){return r===a?(e.consume(r),f++,t):(e.exit("codeFencedFenceSequence"),f<3?n(r):l(e,p,"whitespace")(r))}(t)};function p(t){return null===t||r(t)?h(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||i(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(e,d,"whitespace")(r)):96===r&&r===a?n(r):(e.consume(r),t)}(t))}function d(t){return null===t||r(t)?h(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||r(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(i)):96===i&&i===a?n(i):(e.consume(i),t)}(t))}function h(n){return e.exit("codeFencedFence"),u.interrupt?t(n):function t(n){return null===n?m(n):r(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(s,m,c?l(e,t,"linePrefix",c+1):t)):(e.enter("codeFlowValue"),function n(i){return null===i||r(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),n)}(n))}(n)}function m(n){return e.exit("codeFenced"),t(n)}},concrete:!0}},20431:function(e,t,n){"use strict";var r=n(17238),i=n(56808),o=n(15096),l=n(52928),a={tokenize:function(e,t,n){var i=this;return l(e,function a(u){return r(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l(e,a,"linePrefix",5)):4>o(i.events,"linePrefix")?n(u):t(u)},"linePrefix",5)},partial:!0};e.exports={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(a,function n(i){return null===i?t(i):r(i)?e.attempt(a,n,t)(i):(e.enter("codeFlowValue"),function t(i){return null===i||r(i)?(e.exit("codeFlowValue"),n(i)):(e.consume(i),t)}(i))},n)},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return i(e,0,0,[["enter",n,t]]),i(e,e.length,0,[["exit",n,t]]),e}}},60026:function(e,t,n){"use strict";var r=n(17238);e.exports={name:"codeText",tokenize:function(e,t,n){var i,o,l=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(s){return null===s?n(s):96===s?(o=e.enter("codeTextSequence"),i=0,function n(r){return 96===r?(e.consume(r),i++,n):i===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(o.type="codeTextData",u(r))}(s)):32===s?(e.enter("space"),e.consume(s),e.exit("space"),a):r(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(s))}function u(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),u)}},resolve:function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t-1||4>i(o.events,"linePrefix")?e.interrupt(o.parser.constructs.flow,n,t)(l):t(l)}},partial:!0};e.exports={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?o(t):r(t)?e.check(a,l,o)(t):(e.consume(t),i)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),i}},resolve:function(e){return o(e),e},interruptible:!0,lazy:!0}},93865:function(e,t,n){"use strict";var r=n(17238),i=n(88367),o=n(35478),l=n(38229),a=n(97154),u=n(52928),s=n(31056),c=n(59283),f={tokenize:function(e,t,n){return function(t){return i(t)?s(e,o)(t):n(t)};function o(t){return 34===t||39===t||40===t?c(e,u(e,l,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function l(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports={name:"definition",tokenize:function(e,t,n){var i,c=this;return function(t){return e.enter("definition"),a.call(c,e,p,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return(i=o(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s(e,l(e,e.attempt(f,u(e,d,"whitespace"),u(e,d,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function d(o){return null===o||r(o)?(e.exit("definition"),0>c.parser.defined.indexOf(i)&&c.parser.defined.push(i),t(o)):n(o)}}}},38229:function(e,t,n){"use strict";var r=n(89696),i=n(88367),o=n(17238);e.exports=function(e,t,n,l,a,u,s,c,f){var p=f||1/0,d=0;return function(t){return 60===t?(e.enter(l),e.enter(a),e.enter(u),e.consume(t),e.exit(u),h):r(t)||41===t?n(t):(e.enter(l),e.enter(s),e.enter(c),e.enter("chunkString",{contentType:"string"}),y(t))};function h(n){return 62===n?(e.enter(u),e.consume(n),e.exit(u),e.exit(a),e.exit(l),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),h(t)):null===t||60===t||o(t)?n(t):(e.consume(t),92===t?g:m)}function g(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function y(o){return 40===o?++d>p?n(o):(e.consume(o),y):41===o?d--?(e.consume(o),y):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(l),t(o)):null===o||i(o)?d?n(o):(e.exit("chunkString"),e.exit(c),e.exit(s),e.exit(l),t(o)):r(o)?n(o):(e.consume(o),92===o?v:y)}function v(t){return 40===t||41===t||92===t?(e.consume(t),y):y(t)}}},97154:function(e,t,n){"use strict";var r=n(17238),i=n(73654);e.exports=function(e,t,n,o,l,a){var u,s=this,c=0;return function(t){return e.enter(o),e.enter(l),e.consume(t),e.exit(l),e.enter(a),f};function f(i){return null===i||91===i||93===i&&!u||94===i&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?n(i):93===i?(e.exit(a),e.enter(l),e.consume(i),e.exit(l),e.exit(o),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(i))}function p(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),f(t)):(e.consume(t),u=u||!i(t),92===t?d:p)}function d(t){return 91===t||92===t||93===t?(e.consume(t),c++,p):p(t)}}},52928:function(e,t,n){"use strict";var r=n(73654);e.exports=function(e,t,n,i){var o=i?i-1:1/0,l=0;return function(i){return r(i)?(e.enter(n),function i(a){return r(a)&&l++o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},l(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}}},76872:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),l=n(88367),a=n(73654),u=n(93267),s=n(57139),c=n(16871),f=n(66532),p={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(f,t,n)}},partial:!0};e.exports={name:"htmlFlow",tokenize:function(e,t,n){var f,d,h,m,g,y=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),v};function v(i){return 33===i?(e.consume(i),x):47===i?(e.consume(i),w):63===i?(e.consume(i),f=3,y.interrupt?t:R):r(i)?(e.consume(i),h=u(i),d=!0,S):n(i)}function x(i){return 45===i?(e.consume(i),f=2,k):91===i?(e.consume(i),f=5,h="CDATA[",m=0,b):r(i)?(e.consume(i),f=4,y.interrupt?t:R):n(i)}function k(r){return 45===r?(e.consume(r),y.interrupt?t:R):n(r)}function b(r){return r===h.charCodeAt(m++)?(e.consume(r),m===h.length?y.interrupt?t:D:b):n(r)}function w(t){return r(t)?(e.consume(t),h=u(t),S):n(t)}function S(r){return null===r||47===r||62===r||l(r)?47!==r&&d&&c.indexOf(h.toLowerCase())>-1?(f=1,y.interrupt?t(r):D(r)):s.indexOf(h.toLowerCase())>-1?(f=6,47===r)?(e.consume(r),E):y.interrupt?t(r):D(r):(f=7,y.interrupt?n(r):d?C(r):function t(n){return a(n)?(e.consume(n),t):F(n)}(r)):45===r||i(r)?(e.consume(r),h+=u(r),S):n(r)}function E(r){return 62===r?(e.consume(r),y.interrupt?t:D):n(r)}function C(t){return 47===t?(e.consume(t),F):58===t||95===t||r(t)?(e.consume(t),T):a(t)?(e.consume(t),C):F(t)}function T(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),T):O(t)}function O(t){return 61===t?(e.consume(t),I):a(t)?(e.consume(t),O):C(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),g=t,P):a(t)?(e.consume(t),I):(g=void 0,function t(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||l(n)?O(n):(e.consume(n),t)}(t))}function P(t){return t===g?(e.consume(t),A):null===t||o(t)?n(t):(e.consume(t),P)}function A(e){return 47===e||62===e||a(e)?C(e):n(e)}function F(t){return 62===t?(e.consume(t),M):n(t)}function M(t){return a(t)?(e.consume(t),M):null===t||o(t)?D(t):n(t)}function D(t){return 45===t&&2===f?(e.consume(t),_):60===t&&1===f?(e.consume(t),L):62===t&&4===f?(e.consume(t),B):63===t&&3===f?(e.consume(t),R):93===t&&5===f?(e.consume(t),N):o(t)&&(6===f||7===f)?e.check(p,B,z)(t):null===t||o(t)?z(t):(e.consume(t),D)}function z(t){return e.exit("htmlFlowData"),function t(n){return null===n?H(n):o(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t):(e.enter("htmlFlowData"),D(n))}(t)}function _(t){return 45===t?(e.consume(t),R):D(t)}function L(t){return 47===t?(e.consume(t),h="",j):D(t)}function j(t){return 62===t&&c.indexOf(h.toLowerCase())>-1?(e.consume(t),B):r(t)&&h.length<8?(e.consume(t),h+=u(t),j):D(t)}function N(t){return 93===t?(e.consume(t),R):D(t)}function R(t){return 62===t?(e.consume(t),B):D(t)}function B(t){return null===t||o(t)?(e.exit("htmlFlowData"),H(t)):(e.consume(t),B)}function H(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){for(var t=e.length;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0}},28911:function(e,t,n){"use strict";var r=n(76734),i=n(46712),o=n(17238),l=n(88367),a=n(73654),u=n(52928);e.exports={name:"htmlText",tokenize:function(e,t,n){var s,c,f,p,d=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),h};function h(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),I):63===t?(e.consume(t),T):r(t)?(e.consume(t),A):n(t)}function m(t){return 45===t?(e.consume(t),g):91===t?(e.consume(t),c="CDATA[",f=0,b):r(t)?(e.consume(t),C):n(t)}function g(t){return 45===t?(e.consume(t),y):n(t)}function y(t){return null===t||62===t?n(t):45===t?(e.consume(t),v):x(t)}function v(e){return null===e||62===e?n(e):x(e)}function x(t){return null===t?n(t):45===t?(e.consume(t),k):o(t)?(p=x,j(t)):(e.consume(t),x)}function k(t){return 45===t?(e.consume(t),R):x(t)}function b(t){return t===c.charCodeAt(f++)?(e.consume(t),f===c.length?w:b):n(t)}function w(t){return null===t?n(t):93===t?(e.consume(t),S):o(t)?(p=w,j(t)):(e.consume(t),w)}function S(t){return 93===t?(e.consume(t),E):w(t)}function E(t){return 62===t?R(t):93===t?(e.consume(t),E):w(t)}function C(t){return null===t||62===t?R(t):o(t)?(p=C,j(t)):(e.consume(t),C)}function T(t){return null===t?n(t):63===t?(e.consume(t),O):o(t)?(p=T,j(t)):(e.consume(t),T)}function O(e){return 62===e?R(e):T(e)}function I(t){return r(t)?(e.consume(t),P):n(t)}function P(t){return 45===t||i(t)?(e.consume(t),P):function t(n){return o(n)?(p=t,j(n)):a(n)?(e.consume(n),t):R(n)}(t)}function A(t){return 45===t||i(t)?(e.consume(t),A):47===t||62===t||l(t)?F(t):n(t)}function F(t){return 47===t?(e.consume(t),R):58===t||95===t||r(t)?(e.consume(t),M):o(t)?(p=F,j(t)):a(t)?(e.consume(t),F):R(t)}function M(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),M):function t(n){return 61===n?(e.consume(n),D):o(n)?(p=t,j(n)):a(n)?(e.consume(n),t):F(n)}(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,z):o(t)?(p=D,j(t)):a(t)?(e.consume(t),D):(e.consume(t),s=void 0,L)}function z(t){return t===s?(e.consume(t),_):null===t?n(t):o(t)?(p=z,j(t)):(e.consume(t),z)}function _(e){return 62===e||47===e||l(e)?F(e):n(e)}function L(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||l(t)?F(t):(e.consume(t),L)}function j(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u(e,N,"linePrefix",d.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function N(t){return e.enter("htmlTextData"),p(t)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}}},31294:function(e,t,n){"use strict";var r=n(88367),i=n(78811),o=n(56808),l=n(35478),a=n(58280),u=n(75923),s=n(38229),c=n(97154),f=n(59283),p=n(31056),d={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),p(e,i)};function i(t){return 41===t?a(t):s(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function o(t){return r(t)?p(e,l)(t):a(t)}function l(t){return 34===t||39===t||40===t?f(e,p(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},h={tokenize:function(e,t,n){var r=this;return function(t){return c.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return 0>r.parser.defined.indexOf(l(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}}},m={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};e.exports={name:"labelEnd",tokenize:function(e,t,n){for(var r,i,o=this,a=o.events.length;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?s(t):(i=o.parser.defined.indexOf(l(o.sliceSerialize({start:r.end,end:o.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),u):n(t)};function u(n){return 40===n?e.attempt(d,t,i?t:s)(n):91===n?e.attempt(h,t,i?e.attempt(m,t,s):s)(n):i?t(n):s(n)}function s(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){for(var n,r,l,s,c,f,p,d=e.length,h=0;d--;)if(s=e[d][1],c){if("link"===s.type||"labelLink"===s.type&&s._inactive)break;"enter"===e[d][0]&&"labelLink"===s.type&&(s._inactive=!0)}else if(f){if("enter"===e[d][0]&&("labelImage"===s.type||"labelLink"===s.type)&&!s._balanced&&(c=d,"labelLink"!==s.type)){h=2;break}}else"labelEnd"===s.type&&(f=d);return n={type:"labelLink"===e[c][1].type?"link":"image",start:u(e[c][1].start),end:u(e[e.length-1][1].end)},r={type:"label",start:u(e[c][1].start),end:u(e[f][1].end)},l={type:"labelText",start:u(e[c+h+2][1].end),end:u(e[f-2][1].start)},p=i(p=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+h+3)),p=i(p,[["enter",l,t]]),p=i(p,a(t.parser.constructs.insideSpan.null,e.slice(c+h+4,f-3),t)),p=i(p,[["exit",l,t],e[f-2],e[f-1],["exit",r,t]]),p=i(p,e.slice(f+1)),p=i(p,[["exit",n,t]]),o(e,c,e.length,p),e},resolveAll:function(e){for(var t,n=-1;++n-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},f={tokenize:function(e,t,n){var r=this;return a(e,function(e){return i(e)||!o(r.events,"listItemPrefixWhitespace")?n(e):t(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},p={tokenize:function(e,t,n){var r=this;return a(e,function(e){return o(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},66532:function(e,t,n){"use strict";var r=n(17238),i=n(52928);e.exports={tokenize:function(e,t,n){return i(e,function(e){return null===e||r(e)?t(e):n(e)},"linePrefix")},partial:!0}},15874:function(e,t,n){"use strict";var r=n(17238),i=n(75923),o=n(52928);e.exports={name:"setextUnderline",tokenize:function(e,t,n){for(var i,l,a=this,u=a.events.length;u--;)if("lineEnding"!==a.events[u][1].type&&"linePrefix"!==a.events[u][1].type&&"content"!==a.events[u][1].type){l="paragraph"===a.events[u][1].type;break}return function(t){return!a.lazy&&(a.interrupt||l)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,function t(n){return n===i?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),o(e,s,"lineSuffix")(n))}(t)):n(t)};function s(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){for(var n,r,o,l,a=e.length;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);return l={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[o][1].end)):e[n][1]=l,e.push(["exit",l,t]),e}}},37039:function(e,t,n){"use strict";var r=n(17238),i=n(73654),o=n(52928);e.exports={name:"thematicBreak",tokenize:function(e,t,n){var l,a=0;return function(u){return e.enter("thematicBreak"),l=u,function u(s){return s===l?(e.enter("thematicBreakSequence"),function t(n){return n===l?(e.consume(n),a++,t):(e.exit("thematicBreakSequence"),u(n))}(s)):i(s)?o(e,u,"whitespace")(s):a<3||null!==s&&!r(s)?n(s):(e.exit("thematicBreak"),t(s))}(u)}}}},78811:function(e,t,n){"use strict";var r=n(56808);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},56808:function(e,t,n){"use strict";var r=n(21362);e.exports=function(e,t,n,i){var o,l=e.length,a=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,i.length<1e4)(o=Array.from(i)).unshift(t,n),r.apply(e,o);else for(n&&r.apply(e,[t,n]);a-1)?m():e.tokenize.call(t?r({},v,t):v,y,h,m)(n)}}function h(t){return e(s,c),i}function m(e){return(c.restore(),++uh.indexOf(e)&&h.push(e),e.resolve&&l(v.events,t,v.events.length-t,e.resolve(v.events.slice(t),v)),e.resolveTo&&(v.events=e.resolveTo(v.events,v))}function C(){p.line in d&&p.column<2&&(p.column=d[p.line],p.offset+=d[p.line]-1)}}},28180:function(e){"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},15644:function(e){"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},35478:function(e){"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},15096:function(e,t,n){"use strict";var r=n(18892);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},2841:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e){return function(t){return e.test(r(t))}}},58280:function(e){"use strict";e.exports=function(e,t,n){for(var r,i=[],o=-1;++oi.indexOf(r)&&(t=r(t,n),i.push(r));return t}},10596:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":r(n)}},23082:function(e,t,n){"use strict";var r=n(93267);e.exports=function(e){for(var t,n,i,o=-1,l=[];++o-1&&(n[0]=n[0].slice(i)),l>0&&n.push(e[o].slice(0,l))),n}},84423:function(e,t,n){"use strict";var r=n(99198),i=n(56808),o=n(75923);e.exports=function(e){for(var t,n,l,a,u,s,c,f={},p=-1;++p4&&h.slice(0,4)===l&&a.test(t)&&("-"===t.charAt(4)?m=l+(n=t.slice(5).replace(u,f)).charAt(0).toUpperCase()+n.slice(1):(d=(p=t).slice(4),t=u.test(d)?p:("-"!==(d=d.replace(s,c)).charAt(0)&&(d="-"+d),l+d)),g=i),new g(m,t))};var a=/^data[-\w.:]+$/i,u=/-[a-z]/g,s=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var r=n(19940),i=n(8289),o=n(5812),l=n(94397),a=n(67716),u=n(61805);e.exports=r([o,i,l,a,u])},67716:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=r.booleanish,l=r.number,a=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:l,ariaColIndex:l,ariaColSpan:l,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:o,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:a,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:l,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:l,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:a,ariaRowCount:l,ariaRowIndex:l,ariaRowSpan:l,ariaSelected:o,ariaSetSize:l,ariaSort:null,ariaValueMax:l,ariaValueMin:l,ariaValueNow:l,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=n(10855),l=r.boolean,a=r.overloadedBoolean,u=r.booleanish,s=r.number,c=r.spaceSeparated,f=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:l,allowPaymentRequest:l,allowUserMedia:l,alt:null,as:null,async:l,autoCapitalize:null,autoComplete:c,autoFocus:l,autoPlay:l,capture:l,charSet:null,checked:l,cite:null,className:c,cols:s,colSpan:null,content:null,contentEditable:u,controls:l,controlsList:c,coords:s|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l,defer:l,dir:null,dirName:null,disabled:l,download:a,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l,formTarget:null,headers:c,height:s,hidden:l,high:s,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:l,itemId:null,itemProp:c,itemRef:c,itemScope:l,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l,low:s,manifest:null,max:null,maxLength:s,media:null,method:null,min:null,minLength:s,multiple:l,muted:l,name:null,nonce:null,noModule:l,noValidate:l,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l,optimum:s,pattern:null,ping:c,placeholder:null,playsInline:l,poster:null,preload:null,readOnly:l,referrerPolicy:null,rel:c,required:l,reversed:l,rows:s,rowSpan:s,sandbox:c,scope:null,scoped:l,seamless:l,selected:l,shape:null,size:s,sizes:null,slot:null,span:s,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:s,step:null,style:null,tabIndex:s,target:null,title:null,translate:null,type:null,typeMustMatch:l,useMap:null,value:u,width:s,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:s,borderColor:null,bottomMargin:s,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l,declare:l,event:null,face:null,frame:null,frameBorder:null,hSpace:s,leftMargin:s,link:null,longDesc:null,lowSrc:null,marginHeight:s,marginWidth:s,noResize:l,noHref:l,noShade:l,noWrap:l,object:null,profile:null,prompt:null,rev:null,rightMargin:s,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:s,valueType:null,version:null,vAlign:null,vLink:null,vSpace:s,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l,disableRemotePlayback:l,prefix:null,property:null,results:s,security:null,unselectable:null}})},45789:function(e,t,n){"use strict";var r=n(17e3),i=n(17596),o=n(28740),l=r.boolean,a=r.number,u=r.spaceSeparated,s=r.commaSeparated,c=r.commaOrSpaceSeparated;e.exports=i({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:o,properties:{about:c,accentHeight:a,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:a,amplitude:a,arabicForm:null,ascent:a,attributeName:null,attributeType:null,azimuth:a,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:a,by:null,calcMode:null,capHeight:a,className:u,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:a,diffuseConstant:a,direction:null,display:null,dur:null,divisor:a,dominantBaseline:null,download:l,dx:null,dy:null,edgeMode:null,editable:null,elevation:a,enableBackground:null,end:null,event:null,exponent:a,externalResourcesRequired:null,fill:null,fillOpacity:a,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:s,g2:s,glyphName:s,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:a,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:a,horizOriginX:a,horizOriginY:a,id:null,ideographic:a,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:a,k:a,k1:a,k2:a,k3:a,k4:a,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:a,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:a,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:a,overlineThickness:a,paintOrder:null,panose1:null,path:null,pathLength:a,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:a,pointsAtY:a,pointsAtZ:a,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:a,specularExponent:a,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:a,strikethroughThickness:a,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:a,strokeOpacity:a,strokeWidth:null,style:null,surfaceScale:a,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:a,tableValues:null,target:null,targetX:a,targetY:a,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,u1:null,u2:null,underlinePosition:a,underlineThickness:a,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:a,values:null,vAlphabetic:a,vMathematical:a,vectorEffect:null,vHanging:a,vIdeographic:a,version:null,vertAdvY:a,vertOriginX:a,vertOriginY:a,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:a,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:function(e,t,n){"use strict";var r=n(28740);e.exports=function(e,t){return r(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var r=n(66632),i=n(99607),o=n(98805);e.exports=function(e){var t,n,l=e.space,a=e.mustUseProperty||[],u=e.attributes||{},s=e.properties,c=e.transform,f={},p={};for(t in s)n=new o(t,c(u,t),s[t],l),-1!==a.indexOf(t)&&(n.mustUseProperty=!0),f[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new i(f,p,l)}},98805:function(e,t,n){"use strict";var r=n(57643),i=n(17e3);e.exports=a,a.prototype=new r,a.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],l=o.length;function a(e,t,n,a){var u,s,c,f=-1;for(a&&(this.space=a),r.call(this,e,t);++f=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEach(function(e){e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},l.set(t,n)}return n}(n),c=o.id,f=o.observer,p=o.elements,d=p.get(e)||[];return p.has(e)||p.set(e,d),d.push(t),f.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(p.delete(e),f.unobserve(e)),0===p.size&&(f.disconnect(),l.delete(c))}}var f=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function p(e){return"function"!=typeof e.children}var d=function(e){function t(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(),p(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}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var n=t.prototype;return n.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())},n.componentWillUnmount=function(){this.unobserve(),this.node=null},n.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,l=e.fallbackInView;this._unobserveCb=c(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o},l)}},n.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},n.render=function(){if(!p(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var o=this.props,l=o.children,a=o.as,u=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}(o,f);return r.createElement(a||"div",i({ref:this.handleNode},u),l)},t}(r.Component);function h(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,l=t.rootMargin,a=t.root,u=t.triggerOnce,s=t.skip,f=t.initialInView,p=t.fallbackInView,d=r.useRef(),h=r.useState({inView:!!f}),m=h[0],g=h[1],y=r.useCallback(function(e){void 0!==d.current&&(d.current(),d.current=void 0),!s&&e&&(d.current=c(e,function(e,t){g({inView:e,entry:t}),t.isIntersecting&&u&&d.current&&(d.current(),d.current=void 0)},{root:a,rootMargin:l,threshold:n,trackVisibility:o,delay:i},p))},[Array.isArray(n)?n.toString():n,a,l,u,s,o,p,i]);(0,r.useEffect)(function(){d.current||!m.entry||u||s||g({inView:!!f})});var v=[y,m.inView,m.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},71471:function(e,t){"use strict";var n=60103,r=60106,i=60107,o=60108,l=60114,a=60109,u=60110,s=60112,c=60113,f=60120,p=60115,d=60116,h=60121,m=60122,g=60117,y=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var x=Symbol.for;n=x("react.element"),r=x("react.portal"),i=x("react.fragment"),o=x("react.strict_mode"),l=x("react.profiler"),a=x("react.provider"),u=x("react.context"),s=x("react.forward_ref"),c=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),v=x("react.legacy_hidden")}function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case l:case o:case c:case f:return e;default:switch(e=e&&e.$$typeof){case u:case s:case d:case p:case a:return e;default:return t}}case r:return t}}}var b=a,w=n,S=s,E=i,C=d,T=p,O=r,I=l,P=o,A=c;t.ContextConsumer=u,t.ContextProvider=b,t.Element=w,t.ForwardRef=S,t.Fragment=E,t.Lazy=C,t.Memo=T,t.Portal=O,t.Profiler=I,t.StrictMode=P,t.Suspense=A,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===a},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===s},t.isFragment=function(e){return k(e)===i},t.isLazy=function(e){return k(e)===d},t.isMemo=function(e){return k(e)===p},t.isPortal=function(e){return k(e)===r},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===o},t.isSuspense=function(e){return k(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===y||e===o||e===c||e===f||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===u||e.$$typeof===s||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=k},82143:function(e,t,n){"use strict";e.exports=n(71471)},82076:function(e,t,n){"use strict";let r=n(67294),i=n(82143),o=n(11218),l=n(99560),a=n(99640),u=n(36582),s=n(56851),c=n(57848);t.D=function e(t,n){let m;let g=[],y=-1;for(;++yString(e)).join("")),!C&&y.rawSourcePos&&(k.sourcePosition=n.position),!C&&y.includeElementIndex&&(k.index=d(m,n),k.siblingCount=d(m)),C||(k.node=n),w.length>0?r.createElement(E,k,w):r.createElement(E,k)}(t,m,y,n)):"text"===m.type?"element"===n.type&&p.has(n.tagName)&&"\n"===m.value||g.push(m.value):"raw"!==m.type||t.options.skipHtml||g.push(m.value);return g};let f={}.hasOwnProperty,p=new Set(["table","thead","tbody","tfoot","tr"]);function d(e,t){let n=-1,r=0;for(;++n for more info)`),delete h[t]}let n=o().use(l).use(e.remarkPlugins||e.plugins||[]).use(a,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(c,e);"string"==typeof e.children?t=i(e.children):(void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),t=i());let u=n.runSync(n.parse(t),t);if("root"!==u.type)throw TypeError("Expected a `root` node");let f=r.createElement(r.Fragment,{},p({options:e,schema:s,listDepth:0},u));return e.className&&(f=r.createElement("div",{className:e.className},f)),f}m.defaultProps={transformLinkUri:f},m.propTypes={children:u.string,className:u.string,allowElement:u.func,allowedElements:u.arrayOf(u.string),disallowedElements:u.arrayOf(u.string),unwrapDisallowed:u.bool,remarkPlugins:u.arrayOf(u.oneOfType([u.object,u.func,u.arrayOf(u.oneOfType([u.object,u.func]))])),rehypePlugins:u.arrayOf(u.oneOfType([u.object,u.func,u.arrayOf(u.oneOfType([u.object,u.func]))])),sourcePos:u.bool,rawSourcePos:u.bool,skipHtml:u.bool,includeElementIndex:u.bool,transformLinkUri:u.oneOfType([u.func,u.bool]),linkTarget:u.oneOfType([u.func,u.string]),transformImageUri:u.func,components:u.object},m.uriTransformer=f},26625:function(e,t,n){let r=n(62854);e.exports=function(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return e=>{r(e,"element",t)};function t(t,n,r){let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n}}},40100:function(e){let t=["http","https","mailto","tel"];e.exports=function(e){let n=(e||"").trim(),r=n.charAt(0);if("#"===r||"/"===r)return n;let i=n.indexOf(":");if(-1===i)return n;let o=-1;for(;++oo||-1!==(o=n.indexOf("#"))&&i>o?n:"javascript:void(0)"}},87737:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,a=Object.getOwnPropertyNames,u=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertySymbols,c=Object.prototype.propertyIsEnumerable,f=Object.assign,p=e=>i(e,"__esModule",{value:!0}),d=(e,t)=>{var n={};for(var r in e)l.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))0>t.indexOf(r)&&c.call(e,r)&&(n[r]=e[r]);return n},h=(e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))l.call(e,r)||"default"===r||i(e,r,{get:()=>t[r],enumerable:!(n=u(t,r))||n.enumerable});return e},m=e=>h(p(i(null!=e?r(o(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);p(t),((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>E,default:()=>b});var g=m(n(67294)),y=m(n(45697)),v=m(n(88863)),x=v.default.defaultSerializers,k=e=>{var{content:t,className:n,serializers:r={},dataset:i,projectId:o}=e,l=d(e,["content","className","serializers","dataset","projectId"]);if(!t)throw Error("No `content` provided to PortableText.");return g.default.createElement(v.default,f({blocks:t,className:n,serializers:w(r),renderContainerOnSingleChild:!0,dataset:i,projectId:o},l))},b=k;k.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 w=e=>{let{link:t,strong:n,em:r,underline:i,del:o,code:l,ul:a,ol:u,li:s,h1:c,h2:p,h3:h,h4:m,h5:y,h6:k,blockquote:b,container:w="div",block:E=x.BlockSerializer,span:T=x.SpanSerializer,hardBreak:O=x.HardBreakSerializer,unknownType:I=x.DefaultUnknownTypeSerializer,unknownMark:P="span"}=e,A=d(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),F={h1:c,h2:p,h3:h,h4:m,h5:y,h6:k,blockquote:b};return{container:w,block:E,span:T,hardBreak:O,unknownType:I,unknownMark:P,marks:S(f({link:t,strong:n,em:r,underline:i,code:l,"strike-through":o},A)),list:e=>{let{type:t,children:n}=e,r="bullet"===t?a:u;return r?r({children:n}):v.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return s?s({children:t}):v.default.defaultSerializers.listItem(e)},types:f({block:e=>{let{node:{style:t},children:n}=e;return F[t]?F[t]({children:n}):A[t]?A[t]({children:n}):v.default.defaultSerializers.types.block(e)}},Object.entries(A).reduce((e,[t,n])=>{let r=({node:e})=>g.default.createElement(n,e);return r.displayName=`${C(t)}Wrapper`,e[t]=r,e},{}))}},S=e=>Object.entries(e).reduce((e,[t,n])=>{if(n){let r=e=>{var{_type:t,_key:r,mark:i,markKey:o,children:l}=e,a=d(e,["_type","_key","mark","markKey","children"]);if("object"==typeof i){let{_type:e,_key:t}=i;Object.entries(d(i,["_type","_key"])).forEach(([e,t])=>{a[e]=t})}return g.default.createElement(n,a,l)};r.displayName=`${C(t)}Wrapper`,e[t]=r}return e},{}),E=(e=[])=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join(` `),C=e=>e.slice(0,1).toUpperCase()+e.slice(1)},25726:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nl.length;a&&l.push(i);try{n=e.apply(null,l)}catch(e){if(a&&r)throw e;return i(e)}a||(n&&"function"==typeof n.then?n.then(o,i):n instanceof Error?i(n):o(n))};function i(){r||(r=!0,n.apply(null,arguments))}function o(e){i(null,e)}}},18835:function(e,t,n){"use strict";var r=n(18869),i=n(73469),o=n(94470),l=n(33310),a=n(28281),u=n(10939);e.exports=(function e(){var t,n=[],i=a(),v={},x=-1;return k.data=function(e,n){return"string"==typeof e?2==arguments.length?(m("data",t),v[e]=n,k):c.call(v,e)&&v[e]||null:e?(m("data",t),v=e,k):v},k.freeze=b,k.attachers=n,k.use=function(e){var r;if(m("use",t),null==e);else if("function"==typeof e)u.apply(null,arguments);else if("object"==typeof e)"length"in e?a(e):i(e);else throw Error("Expected usable value, not `"+e+"`");return r&&(v.settings=o(v.settings||{},r)),k;function i(e){a(e.plugins),e.settings&&(r=o(r||{},e.settings))}function a(e){var t=-1;if(null==e);else if("object"==typeof e&&"length"in e)for(;++t":""))+")"),d;function d(){var i,f,p,d=c.concat(r),h=[];if((!t||u(r,s,c[c.length-1]||null))&&!1===(h=null!==(i=n(r,c))&&"object"==typeof i&&"length"in i?i:"number"==typeof i?[!0,i]:[i])[0])return h;if(r.children&&h[0]!==o)for(p=(l?r.children.length:-1)+a;p>-1&&pa.indexOf(t)&&(this[t]=e[t])}function s(e,t){if(e&&e.indexOf(r.sep)>-1)throw Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function f(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}u.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(u.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(u.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){f(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(u.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),s(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(u.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(s(e,"extname"),f(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(u.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),s(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},65905:function(e,t,n){"use strict";var r=n(80734),i=n(45442);e.exports=i,i.prototype.message=function(e,t,n){var i=new r(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},28064:function(e,t){"use strict";function n(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,i,o,l,a=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(o){a=r+1;break}}else u<0&&(o=!0,u=r+1);return u<0?"":e.slice(a,u)}if(t===e)return"";for(i=-1,l=t.length-1;r--;)if(47===e.charCodeAt(r)){if(o){a=r+1;break}}else i<0&&(o=!0,i=r+1),l>-1&&(e.charCodeAt(r)===t.charCodeAt(l--)?l<0&&(u=r):(l=-1,u=i));return a===u?u=i:u<0&&(u=e.length),e.slice(a,u)},t.dirname=function(e){var t,r,i;if(n(e),!e.length)return".";for(t=-1,i=e.length;--i;)if(47===e.charCodeAt(i)){if(r){t=i;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,i,o=-1,l=0,a=-1,u=0;for(n(e),i=e.length;i--;){if(47===(r=e.charCodeAt(i))){if(t){l=i+1;break}continue}a<0&&(t=!0,a=i+1),46===r?o<0?o=i:1!==u&&(u=1):o>-1&&(u=-1)}return o<0||a<0||0===u||1===u&&o===a-1&&o===l+1?"":e.slice(o,a)},t.join=function(){for(var e,t,r,i,o=-1;++o2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),l=u,a=0;continue}}else if(i.length){i="",o=0,l=u,a=0;continue}}t&&(i=i.length?i+"/..":"..",o=2)}else i.length?i+="/"+e.slice(l+1,u):i=e.slice(l+1,u),o=u-l-1;l=u,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t)).length||t||(r="."),r.length&&47===e.charCodeAt(e.length-1)&&(r+="/"),t?"/"+r:r)},t.sep="/"},54228:function(e,t){"use strict";t.cwd=function(){return"/"}},70529:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},47529:function(e){e.exports=function(){for(var e={},n=0;n