1/*! For license information please see component---src-templates-post-index-tsx-1b5c78a3570f7eef1860.js.LICENSE.txt */ 2(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[545],{59722:function(t,e,r){"use strict";var n=r(9202),o="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof o[n[e]]&&(t[t.length]=n[e]);return t}},62491:function(t){function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},e.prototype.once=function(t,e){var r=this;function n(){r.off(t,n),e.apply(this,arguments)}return this._callbacks=this._callbacks||{},n.fn=e,this.on(t,n),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks[t];if(!n)return this;if(1==arguments.length)return delete this._callbacks[t],this;for(var o=0;o<n.length;o++)if((r=n[o])===e||r.fn===e){n.splice(o,1);break}return this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),r=this._callbacks[t];if(r)for(var n=0,o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,e);return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}},8490:function(t,e,r){"use strict";var n=r(52272),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var c,a;arguments.length>=3&&(c=r),a=t,"[object Array]"===o.call(a)?function(t,e,r){for(var n=0,o=t.length;n<o;n++)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,c):"string"==typeof t?function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(t,e,c):function(t,e,r){for(var n in t)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,c)}},96485:function(t,e,r){"use strict";r.d(e,{f0:function(){return s}});r(32949),r(96540);function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}const o=t=>"[object String]"===Object.prototype.toString.call(t),i=t=>"fixed"===t.layout?"fixed":"fluid",c=t=>{let e;for(e=0;e<t.length;e++)if(!o(t[e]))return t[e];return null},a=t=>{var e,r,n;return null!=(e=t.images)&&e.sources&&Array.isArray(null==(r=t.images)?void 0:r.sources)?null==(n=t.images)?void 0:n.sources.reduce((t,e)=>{var r;const n=(null==e||null==(r=e.type)?void 0:r.split("/")[1])||"",o=(null==n?void 0:n.charAt(0).toUpperCase())+n.slice(1),i=`srcSet${o}`,c=`src${o}`;return o&&(!(i in t)&&null!=e&&e.srcSet&&(t[i]=e.srcSet),!(c in t)&&null!=e&&e.srcSet&&(t[c]=(t=>{if(t.srcSet){var e;const r=[...t.srcSet.matchAll(/(?:([^"'\s,]+)\s*(?:\s+\d+[wx])(?:,\s*)?)/gm)],n=t.sizes.replace("px",""),o=r.filter(t=>(null==t?void 0:t[0].includes("100w"))||(null==t?void 0:t[0].includes("1x"))||(null==t?void 0:t[0].includes(`${n}w`)));return(null==o||null==(e=o[0])?void 0:e[1])||""}return""})(e))),t},{}):{}},u=t=>{if(t&&t.layout){const e={},r=i(t),o=(t=>t.width/t.height)(t),c=(t=>{var e,r,n,o;return t.placeholder?null!=(e=t.placeholder)&&null!=(r=e.fallback)&&r.includes("base64")?{base64:null==(n=t.placeholder)?void 0:n.fallback}:{tracedSVG:null==(o=t.placeholder)?void 0:o.fallback}:{}})(t),u=a(t);return e[r]=n({},t.images.fallback,u,c,"fluid"===r?{aspectRatio:o}:{},"fixed"===r?{width:t.width,height:t.height}:{}),e}return null};function s(t){if(t){if(Array.isArray(t)){const[e,r]=(t=>{const e=c(t);if(e){const r=i(e),c=t.map(t=>{if(o(t))return t;const e=u(t);return n({},e&&e[r],null!=t&&t.media?{media:t.media}:{})});return[r,c]}return[]})(t);return e?{[e]:r}:null}return u(t)}return null}},82585:function(t){"use strict";const e=function*(){}.constructor;t.exports=()=>e},70218:function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},52272:function(t){"use strict";var e,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o(function(){throw 42},null,e)}catch(y){y!==r&&(o=null)}else o=null;var i=/^\s*class\b/,c=function(t){try{var e=n.call(t);return i.test(e)}catch(r){return!1}},a=function(t){try{return!c(t)&&(n.call(t),!0)}catch(e){return!1}},u=Object.prototype.toString,s="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),f=function(){return!1};if("object"==typeof document){var p=document.all;u.call(p)===u.call(document.all)&&(f=function(t){if((l||!t)&&(void 0===t||"object"==typeof t))try{var e=u.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(r){}return!1})}t.exports=o?function(t){if(f(t))return!0;
2if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;try{o(t,null,e)}catch(n){if(n!==r)return!1}return!c(t)&&a(t)}:function(t){if(f(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(s)return a(t);if(c(t))return!1;var e=u.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&a(t)}},48808:function(t,e,r){"use strict";var n=r(14236),o=r(2873)(/^\s*(?:function)?\*/),i=r(98228)(),c=r(51596),a=n("Object.prototype.toString"),u=n("Function.prototype.toString"),s=r(82585);t.exports=function(t){if("function"!=typeof t)return!1;if(o(u(t)))return!0;if(!i)return"[object GeneratorFunction]"===a(t);if(!c)return!1;var e=s();return e&&c(t)===e.prototype}},61616:function(t,e,r){"use strict";var n=r(84663);t.exports=function(t){return!!n(t)}},9202:function(t){"use strict";t.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},80064:function(t,e,r){"use strict";r.d(e,{k5:function(){return s}});var n=r(96540),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)},a=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r};function u(t){return t&&t.map(function(t,e){return n.createElement(t.tag,c({key:e},t.attr),u(t.child))})}function s(t){return function(e){return n.createElement(l,c({attr:c({},t.attr)},e),u(t.child))}}function l(t){var e=function(e){var r,o=t.attr,i=t.size,u=t.title,s=a(t,["attr","size","title"]),l=i||e.size||"1em";return e.className&&(r=e.className),t.className&&(r=(r?r+" ":"")+t.className),n.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,o,s,{className:r,style:c(c({color:t.color||e.color},e.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),t.children)};return void 0!==i?n.createElement(i.Consumer,null,function(t){return e(t)}):e(o)}},2807:function(t,e,r){t.exports.default=t.exports=r(34489),t.exports.readingTimeStream=r(50403)},34489:function(t){"use strict";function e(t,e){return e.some(e=>{let[r,n]=e;return r<=t&&t<=n})}function r(t){if("string"!=typeof t)return!1;return e(t.charCodeAt(0),[[12352,12447],[19968,40959],[44032,55203],[131072,191456]])}function n(t){return" \n\r\t".includes(t)}function o(t){if("string"!=typeof t)return!1;return e(t.charCodeAt(0),[[33,47],[58,64],[91,96],[123,126],[12288,12351],[65280,65519]])}t.exports=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=0,c=0,a=t.length-1;const u=e.wordsPerMinute||200,s=e.wordBound||n;for(;s(t[c]);)c++;for(;s(t[a]);)a--;const l=`${t}\n`;for(let n=c;n<=a;n++)if((r(l[n])||!s(l[n])&&(s(l[n+1])||r(l[n+1])))&&i++,r(l[n]))for(;n<=a&&(o(l[n+1])||s(l[n+1]));)n++;const f=i/u,p=Math.round(60*f*1e3);return{text:Math.ceil(f.toFixed(2))+" min read",minutes:f,time:p,words:i}}},50403:function(t,e,r){"use strict";const n=r(34489),o=r(96469).Transform;function i(t){if(!(this instanceof i))return new i(t);o.call(this,{objectMode:!0}),this.options=t||{},this.stats={minutes:0,time:0,words:0}}r(76425).inherits(i,o),i.prototype._transform=function(t,e,r){const o=n(t.toString(e),this.options);this.stats.minutes+=o.minutes,this.stats.time+=o.time,this.stats.words+=o.words,r()},i.prototype._flush=function(t){this.stats.text=Math.ceil(this.stats.minutes.toFixed(2))+" min read",this.push(this.stats),t()},t.exports=i},2873:function(t,e,r){"use strict";var n=r(14236),o=r(81059),i=n("RegExp.prototype.exec"),c=r(20731);t.exports=function(t){if(!o(t))throw new c("`regex` must be a RegExp");return function(e){return null!==i(t,e)}}},96469:function(t,e,r){var n=r(62491);
vendor: 5,574 bytes, line 2
2function o(){n.call(this)}o.prototype=new n,t.exports=o,o.Stream=o,o.prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",c),r.on("close",a));var i=!1;function c(){i||(i=!0,t.end())}function a(){i||(i=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(s(),!this.hasListeners("error"))throw t}function s(){r.off("data",n),t.off("drain",o),r.off("end",c),r.off("close",a),r.off("error",u),t.off("error",u),r.off("end",s),r.off("close",s),t.off("end",s),t.off("close",s)}return r.on("error",u),t.on("error",u),r.on("end",s),r.on("close",s),t.on("end",s),t.on("close",s),t.emit("pipe",r),t}},99455:function(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},50648:function(t,e,r){"use strict";var n=r(42012),o=r(48808),i=r(84663),c=r(61616);function a(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,l=a(Object.prototype.toString),f=a(Number.prototype.valueOf),p=a(String.prototype.valueOf),y=a(Boolean.prototype.valueOf);if(u)var d=a(BigInt.prototype.valueOf);if(s)var h=a(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(r){return!1}}function m(t){return"[object Map]"===l(t)}function b(t){return"[object Set]"===l(t)}function v(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function A(t){return"[object ArrayBuffer]"===l(t)}function j(t){return"undefined"!=typeof ArrayBuffer&&(A.working?A(t):t instanceof ArrayBuffer)}function O(t){return"[object DataView]"===l(t)}function S(t){return"undefined"!=typeof DataView&&(O.working?O(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=o,e.isTypedArray=c,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):c(t)||S(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},m.working="undefined"!=typeof Map&&m(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(v.working?v(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},A.working="undefined"!=typeof ArrayBuffer&&A(new ArrayBuffer),e.isArrayBuffer=j,O.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&O(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=S;var E="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function k(t){return"[object SharedArrayBuffer]"===l(t)}function x(t){return void 0!==E&&(void 0===k.working&&(k.working=k(new E)),k.working?k(t):t instanceof E)}function _(t){return g(t,f)}function N(t){return g(t,p)}function T(t){return g(t,y)}function B(t){return u&&g(t,d)}function D(t){return s&&g(t,h)}e.isSharedArrayBuffer=x,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=_,e.isStringObject=N,e.isBooleanObject=T,e.isBigIntObject=B,e.isSymbolObject=D,e.isBoxedPrimitive=function(t){return _(t)||N(t)||T(t)||B(t)||D(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(j(t)||x(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})},76425:function(t,e,r){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},o=/%[sdj%]/g;e.format=function(t){if(!b(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,c=String(t).replace(o,function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}}),a=n[r];r<i;a=n[++r])g(a)||!A(a)?c+=" "+a:c+=" "+u(a);return c},e.deprecate=function(t,r){if("undefined"!=typeof process&&!0===process.noDeprecation)return t;if("undefined"==typeof process)return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;
vendor: 4,724 bytes, line 2
2return function(){if(!n){if(process.throwDeprecation)throw new Error(r);process.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}};var i={},c=/^$/;if({}.NODE_DEBUG){var a={}.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),c=new RegExp("^"+a+"$","i")}function u(t,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(r)?n.showHidden=r:r&&e._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),f(n,t,n.depth)}function s(t,e){var r=u.styles[e];return r?"�["+u.colors[r][0]+"m"+t+"�["+u.colors[r][1]+"m":t}function l(t,e){return t}function f(t,r,n){if(t.customInspect&&r&&S(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return b(o)||(o=f(t,o,n)),o}var i=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(b(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(m(e))return t.stylize(""+e,"number");if(h(e))return t.stylize(""+e,"boolean");if(g(e))return t.stylize("null","null")}(t,r);if(i)return i;var c=Object.keys(r),a=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(c);if(t.showHidden&&(c=Object.getOwnPropertyNames(r)),O(r)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return p(r);if(0===c.length){if(S(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(w(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(j(r))return t.stylize(Date.prototype.toString.call(r),"date");if(O(r))return p(r)}var s,l="",A=!1,E=["{","}"];(d(r)&&(A=!0,E=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(l=" "+RegExp.prototype.toString.call(r)),j(r)&&(l=" "+Date.prototype.toUTCString.call(r)),O(r)&&(l=" "+p(r)),0!==c.length||A&&0!=r.length?n<0?w(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),s=A?function(t,e,r,n,o){for(var i=[],c=0,a=e.length;c<a;++c)_(e,String(c))?i.push(y(t,e,r,n,String(c),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(y(t,e,r,n,o,!0))}),i}(t,r,n,a,c):c.map(function(e){return y(t,r,n,a,e,A)}),t.seen.pop(),function(t,e,r){var n=t.reduce(function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(s,l,E)):E[0]+l+E[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function y(t,e,r,n,o,i){var c,a,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),_(n,o)||(c="["+o+"]"),a||(t.seen.indexOf(u.value)<0?(a=g(r)?f(t,u.value,null):f(t,u.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),v(c)){if(i&&o.match(/^\d+$/))return a;(c=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.slice(1,-1),c=t.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=t.stylize(c,"string"))}return c+": "+a}function d(t){return Array.isArray(t)}function h(t){return"boolean"==typeof t}function g(t){return null===t}function m(t){return"number"==typeof t}function b(t){return"string"==typeof t}function v(t){return void 0===t}function w(t){return A(t)&&"[object RegExp]"===E(t)}function A(t){return"object"==typeof t&&null!==t}function j(t){return A(t)&&"[object Date]"===E(t)}function O(t){return A(t)&&("[object Error]"===E(t)||t instanceof Error)}function S(t){return"function"==typeof t}function E(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(c.test(t)){var r=process.pid;i[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else i[t]=function(){};return i[t]},e.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(50648),e.isArray=d,e.isBoolean=h,e.isNull=g,e.isNullOrUndefined=function(t){return null==t}
2,e.isNumber=m,e.isString=b,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=w,e.types.isRegExp=w,e.isObject=A,e.isDate=j,e.types.isDate=j,e.isError=O,e.types.isNativeError=O,e.isFunction=S,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(99455);var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(t=new Date,r=[k(t.getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":"),[t.getDate(),x[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(70218),e._extend=function(t,e){if(!e||!A(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(N&&t[N]){var e;if("function"!=typeof(e=t[N]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,N,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(t,n){t?r(t):e(n)});try{t.apply(this,o)}catch(c){r(c)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),N&&Object.defineProperty(e,N,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=N,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var n=e.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return n.apply(o,arguments)};t.apply(this,e).then(function(t){process.nextTick(i.bind(null,null,t))},function(t){process.nextTick(T.bind(null,t,i))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,n(t)),e}},84663:function(t,e,r){"use strict";var n=r(8490),o=r(59722),i=r(14727),c=r(14236),a=r(90339),u=r(51596),s=c("Object.prototype.toString"),l=r(98228)(),f="undefined"==typeof globalThis?r.g:globalThis,p=o(),y=c("String.prototype.slice"),d=c("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},h={__proto__:null};n(p,l&&a&&u?function(t){var e=new f[t];if(Symbol.toStringTag in e&&u){var r=u(e),n=a(r,Symbol.toStringTag);if(!n&&r){var o=u(r);n=a(o,Symbol.toStringTag)}if(n&&n.get){var c=i(n.get);h["$"+t]=c}}}:function(t){var e=new f[t],r=e.slice||e.set;if(r){var n=i(r);h["$"+t]=n}});t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!l){var e=y(s(t),8,-1);return d(p,e)>-1?e:"Object"===e&&function(t){var e=!1;return n(h,function(r,n){if(!e)try{r(t),e=y(n,1)}catch(o){}}),e}(t)}return a?function(t){var e=!1;return n(h,function(r,n){if(!e)try{"$"+r(t)===n&&(e=y(n,1))}catch(o){}}),e}(t):null}},68083:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return S}});var n=r(96540),o=r(12134),i=r(73949),c=r(32949),a=r(2807),u=r.n(a),s=r(49862),l=r(63973),f=r(96485);const{SANITY_PROJECTID:p,SANITY_DATASET:y}=s.constants;var d=t=>{var e,r,o,i;let{post:a}=t;const{0:s,1:d}=(0,n.useState)(0),{_id:h,author:g,title:m,customImage:b,categories:v,body:w,publishedAt:A}=a;(0,n.useEffect)(()=>{(async()=>{let t=(await fetch(`https://${p}.api.sanity.io/v1/data/query/${y}?query=*[_id==$id]{viewCount}&$id="${h}"`).then(t=>t.json())).result[0].viewCount;t&&d(t)})()},[]);let j="";for(const n of w){var O;j+=null===(O=n.children[0])||void 0===O?void 0:O.text}const S=Math.ceil(u()(j).minutes),E=(0,f.f0)((0,l.d)(null===(e=b.image.asset)||void 0===e?void 0:e.gatsbyImageData));return n.createElement(c.A,Object.assign({Tag:"div",className:"hero-post-container"},E,{alt:null===(r=b.image.asset)||void 0===r?void 0:r.description}),n.createElement("div",{className:"hero-blog-content"},n.createElement("span",{className:"our-blog"},(t=>{const e=new Date(t);return new Intl.DateTimeFormat("en-US",{month:"short",day:"2-digit",year:"numeric"}).format(e)})(A)),n.createElement("h1",{className:"headline"},m),n.createElement("div",{className:"blog-description"},n.createElement("span",{style:{color:(t=>{switch(t){case"Heat":return"#FF6E05";case"Storm":return"#9295E2";case"Drought":return"#CAA65F";case"Fire":return"#FFAA2C";case"Flood":return"#96CDFF";default:return"#242424"}})(null===(o=v[0])||void 0===o?void 0:o.title),textTransform:"uppercase"}},v[0]?null===(i=v[0])||void 0===i?void 0:i.title:null)," | ",n.createElement("span",null,"by ",g.name)," | ",n.createElement("span",null,S," Minutes"))))},h=r(88891),g=r(2204);function m(t){let{slug:e}=t;return n.createElement("div",{className:"social-widget"},n.createElement("a",{href:`http://www.facebook.com/sharer.php?u=https://climatecheck.com/blog/${e}/`,target:"_blank",rel:"noopener noreferrer",className:"social-icon facebook"},n.createElement(g.ok6,null)),n.createElement("a",{href:`http://twitter.com/share?url=https://climatecheck.com/blog/${e}/`,target:"_blank",rel:"noopener noreferrer",className:"social-icon twitter"},n.createElement(g.feZ,null)),n.createElement("a",{href:`http://www.linkedin.com/shareArticle?mini=true&url=https://climatecheck.com/blog/${e}/`,target:"_blank",rel:"noopener noreferrer",className:"social-icon linkedin"},n.createElement(g.H1h,null)))}var b=t=>{let{_rawBody:e,slug:r}=t;return n.createElement("div",{className:"blog-body-container"},n.createElement("div",{className:"body-post-container"},n.createElement("div",{className:"post-content"},n.createElement(h.w,{className:"post-content",blocks:e})),n.createElement(m,{slug:r})))},v=r(7768),w=r(25733);const{SANITY_PROJECTID:A,SANITY_DATASET:j,SANITY_TOKEN:O}=s.constants;var S=t=>{var e;let{data:{sanityPost:r}}=t;(0,n.useEffect)(()=>{localStorage.getItem(`post${r.id}`)||((t=>{const e=[{patch:{id:t,setIfMissing:{viewCount:0},inc:{viewCount:1}}}];fetch(`https://${A}.api.sanity.io/v1/data/mutate/${j}`,{method:"post",headers:{"Content-type":"application/json",Authorization:`Bearer ${O}`},body:JSON.stringify({mutations:e})}).then(t=>t.json()).catch(t=>t)})(r._id),localStorage.setItem(`post${r.id}`,"true"))});const c=r.seo?Object.entries(r.seo).map(t=>{let[e,r]=t;return{name:e,content:r}}):[];return n.createElement(n.Fragment,null,n.createElement(o.A,{meta:c,seo:r.seo,cardImage:null===(e=r.customImage)||void 0===e?void 0:e.image.asset.gatsbyImageData.images.fallback.src}),n.createElement(i.default,null),n.createElement(d,{post:r}),n.createElement(b,{_rawBody:r._rawBody,slug:r.slug.current}),n.createElement(v.A,null),n.createElement(w.A,null))}}}]); 3//# sourceMappingURL=component---src-templates-post-index-tsx-1b5c78a3570f7eef1860.js.map
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.