1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{562:function(t,e,n){t.exports=function(){function t(){return t=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t},t.apply(this,arguments)}function e(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function r(t){var i=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=e(t)))return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=t[Symbol.iterator]()).next.bind(i)}var o="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function l(t){var e=t.split("-"),n=e[1],r=e[2],l=e[3];if(!n||!r||!l)throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+o+'".');var c=r.split("x"),f=+c[0],h=+c[1];if(!isFinite(f)||!isFinite(h))throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+o+'".');return{id:n,width:f,height:h,format:l}}var c=function(t){return!!t&&"string"==typeof t._ref},f=function(t){return!!t&&"string"==typeof t._id},h=function(t){var source=t;return!(!source||!source.asset)&&"string"==typeof source.asset.url};function d(source){if(!source)return null;var image;if("string"==typeof source&&m(source))image={asset:{_ref:v(source)}};else if("string"==typeof source)image={asset:{_ref:source}};else if(c(source))image={asset:source};else if(f(source))image={asset:{_ref:source._id||""}};else if(h(source))image={asset:{_ref:v(source.asset.url)}};else{if("object"!=typeof source.asset)return null;image=source}var img=source;return img.crop&&(image.crop=img.crop),img.hotspot&&(image.hotspot=img.hotspot),y(image)}function m(t){return/^https?:\/\//.test(""+t)}function v(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function y(image){if(image.crop&&image.hotspot)return image;var e=t({},image);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}var w=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]];function k(e){var n=t({},e||{}),source=n.source;delete n.source;var image=d(source);if(!image)return null;var r=l(image.asset._ref||image.asset._id||""),o=Math.round(image.crop.left*r.width),c=Math.round(image.crop.top*r.height),f={left:o,top:c,width:Math.round(r.width-image.crop.right*r.width-o),height:Math.round(r.height-image.crop.bottom*r.height-c)},h=image.hotspot.height*r.height/2,m=image.hotspot.width*r.width/2,v=image.hotspot.x*r.width,y=image.hotspot.y*r.height,w={left:v-m,top:y-h,right:v+m,bottom:y+h};return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=t(t({},n),O({crop:f,hotspot:w},n))),x(t(t({},n),{},{asset:r}))}function x(t){var e=t.baseUrl||"https://cdn.sanity.io",n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,r=e+"/images/"+t.projectId+"/"+t.dataset+"/"+n,o=[];if(t.rect){var l=t.rect,c=l.left,f=l.top,h=l.width,d=l.height;(0!==c||0!==f||d!==t.asset.height||h!==t.asset.width)&&o.push("rect="+c+","+f+","+h+","+d)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var m=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return m&&o.push("flip="+m),w.forEach(function(e){var n=e[0],param=e[1];void 0!==t[n]?o.push(param+"="+encodeURIComponent(t[n])):void 0!==t[param]&&o.push(param+"="+encodeURIComponent(t[param]))}),0===o.length?r:r+"?"+o.join("&")}function O(source,t){var e,n=t.width,r=t.height;if(!n||!r)return{width:n,height:r,rect:source.crop};var o=source.crop,l=source.hotspot,c=n/r;if(o.width/o.height>c){var f=o.height,h=f*c,d=o.top,m=(l.right-l.left)/2+l.left-h/2;m<o.left?m=o.left:m+h>o.left+o.width&&(m=o.left+o.width-h),e={left:Math.round(m),top:Math.round(d),width:Math.round(h),height:Math.round(f)}}else{var v=o.width,y=v/c,w=o.left,k=(l.bottom-l.top)/2+l.top-y/2;k<o.top?k=o.top:k+y>o.top+o.height&&(k=o.top+o.height-y),e={left:Math.max(0,Math.floor(w)),top:Math.max(0,Math.floor(k)),width:Math.round(v),height:Math.round(y)}}return{width:n,height:r,rect:e}}var I=["clip","crop","fill","fillmax","max","scale","min"],_=["top","bottom","left","right","center","focalpoint","entropy"],E=["format"];function S(t){return!!t&&"object"==typeof t.clientConfig}function j(t){for(var e,n=r(w);!(e=n()).done;){var o=e.value,l=o[0],param=o[1];if(t===l||t===param)return l}return t}function z(t){var e=t;if(S(e)){var n=e.clientConfig,r=n.apiHost,o=n.projectId,l=n.dataset;return new M(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:o,dataset:l})}return new M(null,t)}var M=function(){function e(e,n){this.options=t(e?t({},e.options||{}):{},n||{})}var n=e.prototype;return n.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,o={baseUrl:r};for(var l in n)n.hasOwnProperty(l)&&(o[j(l)]=n[l]);return new e(this,t({baseUrl:r},o))},n.image=function(source){return this.withOptions({source:source})},n.dataset=function(t){return this.withOptions({dataset:t})},n.projectId=function(t){return this.withOptions({projectId:t})},n.bg=function(t){return this.withOptions({bg:t})},n.dpr=function(t){return this.withOptions({dpr:t})},n.width=function(t){return this.withOptions({width:t})},n.height=function(t){return this.withOptions({height:t})},n.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},n.maxWidth=function(t){return this.withOptions({maxWidth:t})},n.minWidth=function(t){return this.withOptions({minWidth:t})},n.maxHeight=function(t){return this.withOptions({maxHeight:t})},n.minHeight=function(t){return this.withOptions({minHeight:t})},n.size=function(t,e){return this.withOptions({width:t,height:e})},n.blur=function(t){return this.withOptions({blur:t})},n.sharpen=function(t){return this.withOptions({sharpen:t})},n.rect=function(t,e,n,r){return this.withOptions({rect:{left:t,top:e,width:n,height:r}})},n.format=function(t){return this.withOptions({format:t})},n.invert=function(t){return this.withOptions({invert:t})},n.orientation=function(t){return this.withOptions({orientation:t})},n.quality=function(t){return this.withOptions({quality:t})},n.forceDownload=function(t){return this.withOptions({download:t})},n.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},n.flipVertical=function(){return this.withOptions({flipVertical:!0})},n.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},n.fit=function(t){if(-1===I.indexOf(t))throw new Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},n.crop=function(t){if(-1===_.indexOf(t))throw new Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},n.saturation=function(t){return this.withOptions({saturation:t})},n.auto=function(t){if(-1===E.indexOf(t))throw new Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},n.pad=function(t){return this.withOptions({pad:t})},n.url=function(){return k(this.options)},n.toString=function(){return this.url()},e}();return z}()},570:function(t,e,n){"use strict";var r=n(636),o=r.renderNode,l=function(t){var e=r(t);return e.outerHTML||e};l.defaultSerializers=r.defaultSerializers,l.getImageUrl=r.getImageUrl,l.renderNode=o,l.h=o,t.exports=l},597:function(t,e,n){"use strict";var r=n(641),o=n(562),l=n(25),c=encodeURIComponent,f="You must either:\n - Pass `projectId` and `dataset` to the block renderer\n - Materialize images to include the `url` field.\n\nFor more information, see ".concat(r("block-content-image-materializing"));t.exports=function(t){var e=t.node,n=t.options,r=n.projectId,h=n.dataset,d=e.asset;if(!d)throw new Error("Image does not have required `asset` property");if(d.url)return d.url+function(t){var e=t.imageOptions,n=Object.keys(e);if(!n.length)return"";var r=n.map(function(t){return"".concat(c(t),"=").concat(c(e[t]))});return"?".concat(r.join("&"))}(n);if(!r||!h)throw new Error(f);if(!d._ref)throw new Error("Invalid image reference in block, no `_ref` found on `asset`");return o(l({projectId:r,dataset:h},n.imageOptions||{})).image(e).toString()}},636:function(t,e,n){"use strict";var r=n(637),o=n(25),l=n(597),c=n(642),f=n(647),h=function(t,e,n){var l=e||{};if("function"==typeof t)return t(o({},l,{children:n}));var c=t,f=l.children||n;return r(c,l,f)},d=f(h,{useDashedStyles:!0}),m=d.defaultSerializers,v=d.serializeSpan,y=function(t){return c(h,t,m,v)};y.defaultSerializers=m,y.getImageUrl=l,y.renderNode=h,t.exports=y},637:function(t,e,n){var r=n(638),o=n(639),l="undefined"==typeof window?n(571):window,c=l.document,f=l.Text;function h(){var t=[];function e(){var e=[].slice.call(arguments),n=null;function l(e){var h,v,y;if(null==e);else if("string"==typeof e)n?n.appendChild(h=c.createTextNode(e)):(y=r(e,/([\.#]?[^\s#.]+)/),/^\.|#/.test(y[1])&&(n=c.createElement("div")),m(y,function(t){var s=t.substring(1,t.length);
2t&&(n?"."===t[0]?o(n).add(s):"#"===t[0]&&n.setAttribute("id",s):n=c.createElement(t))}));else if("number"==typeof e||"boolean"==typeof e||e instanceof Date||e instanceof RegExp)n.appendChild(h=c.createTextNode(e.toString()));else if(v=e,"[object Array]"==Object.prototype.toString.call(v))m(e,l);else if(d(e))n.appendChild(h=e);else if(e instanceof f)n.appendChild(h=e);else if("object"==typeof e)for(var w in e)if("function"==typeof e[w])/^on\w+/.test(w)?function(e,r){n.addEventListener?(n.addEventListener(e.substring(2),r[e],!1),t.push(function(){n.removeEventListener(e.substring(2),r[e],!1)})):(n.attachEvent(e,r[e]),t.push(function(){n.detachEvent(e,r[e])}))}(w,e):(n[w]=e[w](),t.push(e[w](function(t){n[w]=t})));else if("style"===w)if("string"==typeof e[w])n.style.cssText=e[w];else for(var s in e[w])(function(s,r){if("function"==typeof r)n.style.setProperty(s,r()),t.push(r(function(t){n.style.setProperty(s,t)}));else var o=e[w][s].match(/(.*)\W+!important\W*$/);o?n.style.setProperty(s,o[1],"important"):n.style.setProperty(s,e[w][s])})(s,e[w][s]);else if("attrs"===w)for(var k in e[w])n.setAttribute(k,e[w][k]);else"data-"===w.substr(0,5)?n.setAttribute(w,e[w]):n[w]=e[w];else if("function"==typeof e){k=e();n.appendChild(h=d(k)?k:c.createTextNode(k)),t.push(e(function(t){d(t)&&h.parentElement?(h.parentElement.replaceChild(t,h),h=t):h.textContent=t}))}return h}for(;e.length;)l(e.shift());return n}return e.cleanup=function(){for(var i=0;i<t.length;i++)t[i]();t.length=0},e}function d(t){return t&&t.nodeName&&t.nodeType}function m(t,e){if(t.forEach)return t.forEach(e);for(var i=0;i<t.length;i++)e(t[i],i)}(t.exports=h()).context=h},638:function(t,e){var n,r,o,l;t.exports=(o=String.prototype.split,l=/()??/.exec("")[1]===n,r=function(t,e,r){if("[object RegExp]"!==Object.prototype.toString.call(e))return o.call(t,e,r);var c,f,h,d,output=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":""),v=0;for(e=new RegExp(e.source,m+"g"),t+="",l||(c=new RegExp("^"+e.source+"$(?!\\s)",m)),r=r===n?-1>>>0:r>>>0;(f=e.exec(t))&&!((h=f.index+f[0].length)>v&&(output.push(t.slice(v,f.index)),!l&&f.length>1&&f[0].replace(c,function(){for(var i=1;i<arguments.length-2;i++)arguments[i]===n&&(f[i]=n)}),f.length>1&&f.index<t.length&&Array.prototype.push.apply(output,f.slice(1)),d=f[0].length,v=h,output.length>=r));)e.lastIndex===f.index&&e.lastIndex++;return v===t.length?!d&&e.test("")||output.push(""):output.push(t.slice(v)),output.length>r?output.slice(0,r):output},r)},639:function(t,e,n){var r=n(640);function o(t){return!!t}t.exports=function(t){var e=t.classList;if(e)return e;var n={add:l,remove:c,contains:f,toggle:function(t){return f(t)?(c(t),!1):(l(t),!0)},toString:function(){return t.className},length:0,item:function(t){return h()[t]||null}};return n;function l(t){var e=h();r(e,t)>-1||(e.push(t),d(e))}function c(t){var e=h(),n=r(e,t);-1!==n&&(e.splice(n,1),d(e))}function f(t){return r(h(),t)>-1}function h(){return function(t,e){for(var n=[],i=0;i<t.length;i++)e(t[i])&&n.push(t[i]);return n}(t.className.split(" "),o)}function d(e){var r=e.length;t.className=e.join(" "),n.length=r;for(var i=0;i<e.length;i++)n[i]=e[i];delete e[r]}}},640:function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},641:function(t,e){t.exports=function(t){return"https://docs.sanity.io/help/"+t}},642:function(t,e,n){"use strict";var r=n(25),o=n(643),l=n(644),c=n(645),f=n(646),h=["projectId","dataset","imageOptions"],d={imageOptions:{}};function m(t){return"block"===t._type&&t.listItem}t.exports=function(t,e,n,v){var y=r({},d,e),w=Array.isArray(y.blocks)?y.blocks:[y.blocks],k=c(w),x=l(k,y.listNestMode),O=f(n,y.serializers||{}),I=h.reduce(function(t,e){var n=y[e];return void 0!==n&&(t[e]=n),t},{});function _(e,n,r,l){return"list"===(w=e)._type&&w.listItem?(f=(c=e).listItem,h=c.level,d=c._key,y=c.children.map(_),t(O.list,{key:d,level:h,type:f,options:I},y)):m(e)?function(e,n){var r=e._key,l=o(e),c=l.map(_);return t(O.listItem,{node:e,serializers:O,index:n,key:r,options:I},c)}(e,function(t,e){for(var n=0,i=0;i<e.length;i++){if(e[i]===t)return n;m(e[i])&&n++}return n}(e,r)):function(t){return"string"==typeof t||t.marks||"span"===t._type}(e)?v(e,O,n,{serializeNode:_}):function(e,n,r){var l=o(e),c=l.map(function(t,i,e){return _(t,i,e,!0)}),f={key:e._key||"block-".concat(n),node:e,isInline:r,serializers:O,options:I};return t(O.block,f,c)}(e,n,l);var c,f,h,d,y,w}var E=Boolean(y.renderContainerOnSingleChild),S=x.map(_);if(E||S.length>1){var j=y.className?{className:y.className}:{};return t(O.container,j,S)}return S[0]?S[0]:"function"==typeof O.empty?t(O.empty):O.empty}},643:function(t,e,n){"use strict";var r=["strong","em","code","underline","strike-through"];function o(span,i,t){if(!span.marks||0===span.marks.length)return span.marks||[];var e=span.marks.reduce(function(e,mark){e[mark]=e[mark]?e[mark]+1:1;for(var n=i+1;n<t.length;n++){var r=t[n];if(!r.marks||!Array.isArray(r.marks)||-1===r.marks.indexOf(mark))break;e[mark]++}return e},{}
2),n=l.bind(null,e);return span.marks.slice().sort(n)}function l(t,e,n){var o=t[e]||0,l=t[n]||0;if(o!==l)return l-o;var c=r.indexOf(e),f=r.indexOf(n);return c!==f?c-f:e<n?-1:e>n?1:0}t.exports=function(t){var e=t.children,n=t.markDefs;if(!e||!e.length)return[];var r=e.map(o),l={_type:"span",children:[]},c=[l];return e.forEach(function(span,i){var t=r[i];if(t){var e=1;if(c.length>1)for(;e<c.length;e++){var mark=c[e].markKey,o=t.indexOf(mark);if(-1===o)break;t.splice(o,1)}var l,f=function(t){for(var i=t.length-1;i>=0;i--){var e=t[i];if("span"===e._type&&e.children)return e}return}(c=c.slice(0,e));if(t.forEach(function(mark){var t={_type:"span",_key:span._key,children:[],mark:n.find(function(t){return t._key===mark})||mark,markKey:mark};f.children.push(t),c.push(t),f=t}),"span"!==(l=span)._type||"string"!=typeof l.text||!Array.isArray(l.marks)&&void 0!==l.marks)f.children=f.children.concat(span);else{for(var h=span.text.split("\n"),line=h.length;line-- >1;)h.splice(line,0,"\n");f.children=f.children.concat(h)}}else{c[c.length-1].children.push(span)}}),l.children}},644:function(t,e,n){"use strict";var r=n(25);function o(t){return Boolean(t.listItem)}function l(t,e){return t.level===e.level&&t.listItem===e.listItem}function c(t){return{_type:"list",_key:"".concat(t._key,"-parent"),level:t.level,listItem:t.listItem,children:[t]}}function f(t){return t.children&&t.children[t.children.length-1]}function h(t,e){var n="string"==typeof e.listItem;if("list"===t._type&&t.level===e.level&&n&&t.listItem===e.listItem)return t;var r=f(t);return!!r&&h(r,e)}t.exports=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",d=[],i=0;i<t.length;i++){var m=t[i];if(o(m))if(e)if(l(m,e))e.children.push(m);else if(m.level>e.level){var v=c(m);if("html"===n){var y=f(e),w=r({},y,{children:y.children.concat(v)});e.children[e.children.length-1]=w}else e.children.push(v);e=v}else if(m.level<e.level){var k=h(d[d.length-1],m);if(k){(e=k).children.push(m);continue}e=c(m),d.push(e)}else if(m.listItem===e.listItem)console.warn("Unknown state encountered for block",m),d.push(m);else{var x=h(d[d.length-1],{level:m.level});if(x&&x.listItem===m.listItem){(e=x).children.push(m);continue}e=c(m),d.push(e)}else e=c(m),d.push(e);else d.push(m),e=null}return d}},645:function(t,e,n){"use strict";var r=n(25);function o(t){var e=0,n=t.length;if(0===n)return e;for(var i=0;i<n;i++)e=(e<<5)-e+t.charCodeAt(i),e&=e;return e}t.exports=function(t){return t.map(function(t){return t._key?t:r({_key:(e=t,o(JSON.stringify(e)).toString(36).replace(/[^A-Za-z0-9]/g,""))},t);var e})}},646:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(25);t.exports=function(t,e){return Object.keys(t).reduce(function(n,l){var c=r(t[l]);return n[l]="function"===c?void 0!==e[l]?e[l]:t[l]:"object"===c?o({},t[l],e[l]):void 0===e[l]?t[l]:e[l],n},{})}},647:function(t,e,n){"use strict";var r=n(25),o=n(597);t.exports=function(t,e){var n=e||{useDashedStyles:!1};function l(e,n){return t(e,null,n.children)}return{defaultSerializers:{types:{block:function(e){var style=e.node.style||"normal";return/^h\d/.test(style)?t(style,null,e.children):t("blockquote"===style?"blockquote":"p",null,e.children)},image:function(e){if(!e.node.asset)return null;var img=t("img",{src:o(e)});return e.isInline?img:t("figure",null,img)}},marks:{strong:l.bind(null,"strong"),em:l.bind(null,"em"),code:l.bind(null,"code"),underline:function(e){var style=n.useDashedStyles?{"text-decoration":"underline"}:{textDecoration:"underline"};return t("span",{style:style},e.children)},"strike-through":function(e){return t("del",null,e.children)},link:function(e){return t("a",{href:e.mark.href},e.children)}},list:function(e){var n="bullet"===e.type?"ul":"ol";return t(n,null,e.children)},listItem:function(e){var n=e.node.style&&"normal"!==e.node.style?t(e.serializers.types.block,e,e.children):e.children;return t("li",null,n)},block:function(e){var n=e.node,r=e.serializers,o=e.options,l=e.isInline,c=e.children,f=n._type,h=r.types[f];
2if(!h)throw new Error('Unknown block type "'.concat(f,'", please specify a serializer for it in the `serializers.types` prop'));return t(h,{node:n,options:o,isInline:l},c)},span:function(e){var n=e.node,mark=n.mark,r=n.children,o="string"==typeof mark?mark:mark._type,l=e.serializers.marks[o];return l?t(l,e.node,r):(console.warn('Unknown mark type "'.concat(o,'", please specify a serializer for it in the `serializers.marks` prop')),t(e.serializers.markFallback,null,r))},hardBreak:function(){return t("br")},container:"div",markFallback:"span",text:void 0,empty:""},serializeSpan:function(span,e,n,o){if("\n"===span&&e.hardBreak)return t(e.hardBreak,{key:"hb-".concat(n)});if("string"==typeof span)return e.text?t(e.text,{key:"text-".concat(n)},span):span;var l;span.children&&(l={children:span.children.map(function(t,i){return o.serializeNode(t,i,span.children,!0)})});var c=r({},span,l);return t(e.span,{key:span._key||"span-".concat(n),node:c,serializers:e})}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.