(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1533,1613],{45679:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletter",function(){return r(98901)}])},31097:function(e,t,r){"use strict";var l=r(85893),a=r(67294),n=r(16266),s=r(78820);let o={small:"px-2 text-sm",big:"px-4 py-2 text-lg"},i={transparent:{default:(0,n.d)("rounded-full border border-transparent px-3 py-1 text-base font-medium leading-relaxed text-slate-700 dark:text-slate-200","hover:bg-slate-200 disabled:opacity-50 hover:dark:bg-slate-700","flex flex-row items-center focus:outline-none"),active:"text-blue-600 dark:text-blue-600",disabled:"opacity-50 cursor-not-allowed"},"transparent-outline":{default:(0,n.d)("rounded-full border border-slate-200 px-3 py-1 text-base font-medium leading-relaxed text-slate-700 dark:border-slate-800 dark:text-slate-200","hover:bg-slate-200 disabled:opacity-50 hover:dark:bg-slate-700","flex flex-row items-center focus:outline-none"),active:"text-white bg-blue-600 hover:bg-blue-600 border-blue-600",disabled:"opacity-50 cursor-not-allowed"},primary:{default:(0,n.d)("rounded-full border border-blue-600 bg-blue-600 px-3 py-1 text-center text-base font-medium leading-relaxed text-white transition-colors duration-150","hover:bg-opacity-90 hover:shadow-lg focus:outline-none disabled:opacity-50"),active:"text-white bg-blue-600 hover:bg-blue-500 hover:dark:bg-blue-500",disabled:"opacity-50 cursor-not-allowed"},"primary-outline":{default:(0,n.d)("rounded-full border border-blue-600 px-3 py-1 text-center text-base font-medium leading-relaxed transition-colors duration-150 dark:border-blue-500","flex flex-row items-center justify-center text-blue-600 focus:outline-none\n    dark:text-blue-500","hover:bg-blue-50 disabled:opacity-50 hover:dark:bg-slate-800"),active:"text-white bg-blue-600 hover:bg-blue-500 hover:dark:bg-blue-500",disabled:"opacity-50 cursor-not-allowed"}},c=a.forwardRef((e,t)=>{let{size:r,active:a,as:n,href:c,disabled:d,children:u,className:f,...x}=e,{variant:m="primary"}=e;m in i||(m="primary");let b=i[m];return"a"===n?(delete x.type,(0,l.jsx)("a",{ref:t,href:c,className:(0,s.m)(b.default,a&&b.active,d&&b.disabled,r&&o[r],f),...x,children:u})):(0,l.jsx)("button",{ref:t,disabled:d,className:(0,s.m)(b.default,a&&b.active,d&&b.disabled,r&&o[r],f),type:"button",...x,children:u})});c.displayName="Button",c.defaultProps={variant:"primary",active:!1,disabled:!1,size:void 0,type:"button",as:null,href:"#"},t.Z=c},2686:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var l=r(85893),a=r(67294);class n extends a.Component{render(){return(0,l.jsx)("svg",{className:this.props.className,viewBox:"0 0 576 512",children:(0,l.jsx)("path",{d:"M540.9 56.77c-45.95-16.66-90.23-24.09-129.1-24.75-60.7.94-102.7 17.45-123.8 27.72-21.1-10.27-64.1-26.8-123.2-27.74-40-.05-84.4 8.35-129.7 24.77C14.18 64.33 0 84.41 0 106.7v302.9c0 14.66 6.875 28.06 18.89 36.8 11.81 8.531 26.64 10.98 40.73 6.781 118.9-36.34 209.3 19.05 214.3 22.19C277.8 477.6 281.2 480 287.1 480c6.52 0 10.12-2.373 14.07-4.578 10.78-6.688 98.3-57.66 214.3-22.27 14.11 4.25 28.86 1.75 40.75-6.812C569.1 437.6 576 424.2 576 409.6V106.7c0-22.28-14.2-42.35-35.1-49.93zM272 438.1c-24.95-12.03-71.01-29.37-130.5-29.37-27.83 0-58.5 3.812-91.19 13.77-4.406 1.344-9 .594-12.69-2.047C34.02 417.8 32 413.1 32 409.6V106.7c0-8.859 5.562-16.83 13.86-19.83C87.66 71.7 127.9 63.95 164.5 64c51.8.81 89.7 15.26 107.5 23.66V438.1zm272-28.5c0 4.375-2.016 8.234-5.594 10.84-3.766 2.703-8.297 3.422-12.69 2.125C424.1 391.6 341.3 420.4 304 438.3V87.66c17.8-8.4 55.7-22.85 107.4-23.66 35.31-.063 76.34 7.484 118.8 22.88 8.2 3 13.8 10.96 13.8 19.82v302.9z"})})}}},87597:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var l=r(85893),a=r(67294);class n extends a.Component{render(){return(0,l.jsx)("svg",{className:this.props.className,viewBox:"0 0 512 512",children:(0,l.jsx)("path",{d:"M507.8 37.24c6 6.54 5.5 16.65-1 22.6l-176 159.96c-6.4 5.8-16.1 5.6-22.1-.5L190.4 100.1 25.41 220.9c-7.15 5.2-17.152 3.7-22.349-3.5-5.198-7.1-3.617-17.1 3.529-22.3L182.6 67.06c5.5-4.63 15.1-3.94 20.7 1.63L320.5 185.9 485.2 36.16c6.6-5.94 16.7-5.46 22.6 1.08zM112 368v64c0 26.5-21.49 48-48 48s-48-21.5-48-48v-64c0-26.5 21.49-48.9 48-48.9s48 22.4 48 48.9zm-32 64v-64c0-8.8-7.16-16-16-16s-16 7.2-16 16v64c0 8.8 7.16 16 16 16s16-7.2 16-16zm64-160.9c0-25.6 21.5-48 48-48s48 22.4 48 48V432c0 26.5-21.5 48-48 48s-48-21.5-48-48V271.1zm48-16c-8.8 0-16 8.1-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V271.1c0-7.9-7.2-16-16-16zM368 336v96c0 26.5-21.5 48-48 48s-48-21.5-48-48v-96c0-26.5 21.5-48.9 48-48.9s48 22.4 48 48.9zm-32 96v-96c0-8.8-7.2-16.9-16-16.9s-16 8.1-16 16.9v96c0 8.8 7.2 16 16 16s16-7.2 16-16zm64-160.9c0-25.6 21.5-48 48-48s48 22.4 48 48V432c0 26.5-21.5 48-48 48s-48-21.5-48-48V271.1zm48-16c-8.8 0-16 8.1-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V271.1c0-7.9-7.2-16-16-16z"})})}}},92602:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var l=r(85893),a=r(67294);class n extends a.Component{render(){return(0,l.jsx)("svg",{className:this.props.className,viewBox:"0 0 512 512",children:(0,l.jsx)("path",{d:"M464 4.3L16 262.7C-7 276-4.7 309.9 19.8 320L160 378v102c0 30.2 37.8 43.3 56.7 20.3l60.7-73.8 126.4 52.2c19.1 7.9 40.7-4.2 43.8-24.7l64-417.1C515.7 10.2 487-9 464 4.3zM192 480v-88.8l54.5 22.5L192 480zm224-30.9l-206.2-85.2 199.5-235.8c4.8-5.6-2.9-13.2-8.5-8.4L145.5 337.3 32 290.5 480 32l-64 417.1z"})})}}},11613:function(e,t,r){"use strict";r.r(t);var l=r(85893),a=r(67294),n=r(83868),s=r.n(n),o=r(74162),i=r(31097),c=r(81651),d=r(92602),u=r(45470),f=r(92432),x=r(54811);t.default=function(e){let{subscribeEventOrigin:t}=e,{publication:r}=(0,o.Fn)(),[,n]=(0,f.Db)(x.HZ),[m,b]=(0,a.useState)({submitDisabled:!1,err:"",subscribed:!1}),p=(0,a.useRef)(null),{data:h}=(0,c.Z)(),v=async()=>{let e={event_type:"newsletter_subscribe_initiate",time:new Date().getTime(),event_properties:{subscribeTo:(null==r?void 0:r._id)||"",origin:t,hostname:window.location.hostname,url:window.location.pathname}};h&&(e.user_id=h._id,e.user_properties={username:h.username,email:h.email,photo:h.photo||"",dateJoined:h.dateJoined||""}),await (0,u.e)().sendEventToAmplitude(e)},g=async()=>{var e;if(!r||!p.current)return;let t=p.current.value,l=null===(e=r._id)||void 0===e?void 0:e.toString();if(!t.trim())return;if(!s()(t)){b({...m,err:"Please enter a valid email"});return}b({...m,submitDisabled:!0});let{data:a,error:o}=await n({input:{publicationId:l,email:t}}),i={submitDisabled:!1,err:"",subscribed:!1};v(),(null==a?void 0:a.subscribeToNewsletter.status)&&!o?(i.subscribed=!0,i.err=""):i.err=(null==o?void 0:o.graphQLErrors[0].message)||"Something went wrong. Please try again.",b({...m,...i})},_=e=>{m.err&&b({...m,err:""}),13===e.keyCode&&g()};return(0,l.jsxs)("div",{className:"my-10 mt-20 flex w-full flex-col items-center pb-10 md:px-5",children:[(0,l.jsxs)("h2",{className:"mb-5 text-center font-heading text-2xl font-bold text-slate-900 dark:text-slate-50 md:text-3xl",children:["Subscribe to ",r.isTeam?"our":"my"," newsletter"]}),(0,l.jsxs)("p",{className:"mb-5 text-center text-lg text-slate-700 dark:text-slate-300 md:w-2/3 md:text-xl",children:["Read articles from ",(0,l.jsx)("strong",{children:r.title})||"this blog"," directly inside your inbox. Subscribe to the newsletter, and don't miss out."]}),!m.subscribed&&(0,l.jsxs)("div",{className:"flex flex-row overflow-hidden rounded-lg border border-slate-800 dark:border-slate-200 md:w-2/3",children:[(0,l.jsx)("input",{"aria-label":"Enter your email address",type:"email",ref:p,onKeyUp:_,defaultValue:h&&h.email,placeholder:"Enter your email address",className:"w-full bg-transparent p-3 text-black outline-none dark:text-white md:p-5 md:text-lg"}),(0,l.jsx)(i.Z,{type:"button",onClick:g,variant:"transparent",disabled:m.submitDisabled,className:"shrink-0 rounded-none bg-slate-800 px-3 font-bold uppercase tracking-wide text-white hover:bg-slate-700 dark:bg-slate-200 dark:text-black dark:hover:bg-slate-300 md:px-5",children:"Subscribe"})]}),m.subscribed&&(0,l.jsxs)("div",{className:"flex flex-col items-center overflow-hidden rounded-lg border border-green-600 bg-green-50 p-5 text-center text-slate-900 dark:border-green-400 dark:bg-green-900 dark:text-white md:w-2/3",children:[(0,l.jsx)("span",{className:"text-green-600 dark:text-green-400",children:(0,l.jsx)(d.Z,{className:"[animation-iteration-count: 3] mb-5 h-10 w-10 animate-bounce fill-current"})}),(0,l.jsxs)("p",{className:"font-semibold ",children:["We've sent a confirmation email;",(0,l.jsx)("br",{}),"click on the link to complete your subscription to this newsletter."]})]}),m.err&&(0,l.jsx)("div",{className:"mt-2 text-red-600",children:m.err})]})}},81601:function(e,t,r){"use strict";var l=r(85893),a=r(27724),n=r(2686),s=r(87597),o=r(74162),i=r(70474),c=r(45077),d=r(5714),u=r(94743),f=r(41664),x=r.n(f);t.Z=function(e){var t,r,f,m;let{post:b,publication:p}=e,{isDarkTheme:h}=(0,o.Fn)(),v=b.url,g=null!==(m=null===(t=b.coverImage)||void 0===t?void 0:t.url)&&void 0!==m?m:(0,i.R1)(h),_=async()=>{let e=document.getElementById("__NEXT_DATA__");if(e){let{buildId:t}=JSON.parse(e.innerHTML);t&&fetch("/_next/data/".concat(t,"/").concat(b.slug,".json?slug=").concat(b.slug))}},w=p.features.readTime.isEnabled&&b.readTimeInMinutes,y=Number(b.views)>0&&p.features.viewCount.isEnabled;return(0,l.jsxs)("div",{className:"blog-article-card col-span-1",children:[(0,l.jsx)(x(),{href:v,onMouseOver:_,onFocus:()=>void 0,"aria-label":"Cover photo of the article titled ".concat(b.title),className:"mb-4 block w-full overflow-hidden rounded-lg border bg-slate-100 hover:opacity-90 dark:border-slate-800 dark:bg-slate-800",children:(0,l.jsx)(a.Z,{className:"blog-article-card-cover block w-full",originalSrc:g,src:(0,d.tg)(g,{w:1600,h:840,...(null===(r=b.coverImage)||void 0===r?void 0:r.isPortrait)?{fill:"blur"}:{c:"thumb"}}),width:1600,height:840,placeholder:"blur",blurDataURL:(0,d.nM)((0,d.tg)(g,{...c.blurImageDimensions,...(null===(f=b.coverImage)||void 0===f?void 0:f.isPortrait)?{fill:"blur"}:{c:"thumb"}})),layout:"responsive",alt:b.title})}),(0,l.jsx)("h1",{className:"blog-article-card-title mx-4 mb-2 block break-words font-heading text-2xl font-bold leading-snug text-slate-900 hover:opacity-75 dark:text-slate-100",children:(0,l.jsx)(x(),{href:v,onMouseOver:_,onFocus:()=>void 0,children:b.title})}),(0,l.jsx)("div",{className:"blog-article-card-author-strip mx-4 flex flex-row flex-wrap items-center",children:(0,l.jsxs)("div",{className:"flex flex-col items-start leading-snug",children:[(0,l.jsx)("a",{className:"block font-semibold text-slate-700 dark:text-slate-400",href:"https://hashnode.com/@".concat(b.author.username),onMouseOver:_,onFocus:()=>void 0,children:b.author.name}),w||y?(0,l.jsx)("div",{className:"blog-article-card-article-meta flex flex-row text-sm",children:(0,l.jsxs)(x(),{href:v,className:"flex flex-row items-center text-slate-500 dark:text-slate-400",onMouseOver:_,onFocus:()=>void 0,children:[w?(0,l.jsxs)("span",{className:"flex items-center",children:[(0,l.jsx)(n.Z,{className:"mr-2 h-4 w-4 fill-current"}),(0,l.jsxs)("span",{children:[b.readTimeInMinutes," min read"]})]}):null,w&&y?(0,l.jsx)("p",{className:"mx-2 font-bold",children:"\xb7"}):null,y?(0,l.jsxs)("span",{className:"flex items-center",children:[(0,l.jsx)(s.Z,{className:"mr-2 h-4 w-4 fill-current"}),(0,l.jsxs)("span",{children:[(0,u.kFormatter)(b.views)," views"]})]}):null]})}):null]})})]})}},98901:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return d}});var l=r(85893),a=r(27724),n=r(11613),s=r(66933),o=r(5714),i=r(81601);let c=e=>{let{recent3Posts:t,publication:r,rootLayout:c}=e,d=r.author,u=t.map(e=>(0,l.jsx)(i.Z,{post:e,publication:r},e.id)),f=r.favicon||(null==d?void 0:d.profilePicture)||"https://cdn.hashnode.com/res/hashnode/image/upload/v1600792675173/rY-APy9Fc.png",x=(0,o.tg)(f,{w:400,h:400,c:"face"});return(0,l.jsx)(s.Z,{...c,children:(0,l.jsxs)("div",{className:"blog-page-area mx-auto min-h-screen px-4 pb-8 pt-20 md:px-10 md:pt-20",children:[(0,l.jsx)("div",{className:"blog-page-card container relative z-30 mx-auto grid grid-flow-row grid-cols-8 pb-0 2xl:grid-cols-10",children:(0,l.jsxs)("div",{className:"col-span-full",children:[(0,l.jsx)("span",{className:"mx-auto -mb-10 block h-32 w-32 overflow-hidden rounded-full",children:(0,l.jsx)(a.Z,{originalSrc:f,src:x,alt:r.title||(null==d?void 0:d.name),className:"block w-full",width:400,height:400,priority:!0,layout:"responsive"})}),(0,l.jsx)(n.default,{subscribeEventOrigin:"newsletter-page-stand-out"})]})}),t&&t.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"blog-more-articles mt-10",children:(0,l.jsx)("h3",{className:"mb-3 text-center font-heading text-xl font-bold text-slate-900 dark:text-slate-50",children:"Recent articles"})}),(0,l.jsx)("div",{className:"blog-articles-container container mx-auto grid grid-cols-1 gap-10 px-4 md:grid-cols-2 lg:grid-cols-3 xl:px-10 xl:py-10 2xl:px-24 2xl:py-5",children:u})]})]})})};var d=!0;t.default=c},93235:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(e),"object"===n(t)?(r=t.min||0,l=t.max):(r=arguments[1],l=arguments[2]);var r,l,s=encodeURI(e).split(/%..|./).length-1;return s>=r&&(void 0===l||s<=l)};var l,a=(l=r(65571))&&l.__esModule?l:{default:l};function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},83868:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,l.default)(e),(t=(0,a.default)(t,c)).require_display_name||t.allow_display_name){var r=e.match(d);if(r){var i,p,h=r[1];if(e=e.replace(h,"").replace(/(^<|>$)/g,""),h.endsWith(" ")&&(h=h.substr(0,h.length-1)),!(p=(i=h).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(p)&&(p===i||p.split('"').length!==p.split('\\"').length))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),g=v.pop(),_=v.join("@"),w=g.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===w||"googlemail.com"===w)){var y=(_=_.toLowerCase()).split("+")[0];if(!(0,n.default)(y.replace(".",""),{min:6,max:30}))return!1;for(var j=y.split("."),N=0;N<j.length;N++)if(!f.test(j[N]))return!1}if(!1===t.ignore_max_length&&(!(0,n.default)(_,{max:64})||!(0,n.default)(g,{max:254})))return!1;if(!(0,s.default)(g,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(g)){if(!g.startsWith("[")||!g.endsWith("]"))return!1;var k=g.substr(1,g.length-2);if(0===k.length||!(0,o.default)(k))return!1}}if('"'===_[0])return _=_.slice(1,_.length-1),t.allow_utf8_local_part?b.test(_):x.test(_);for(var F=t.allow_utf8_local_part?m:u,M=_.split("."),z=0;z<M.length;z++)if(!F.test(M[z]))return!1;return!t.blacklisted_chars||-1===_.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))};var l=i(r(65571)),a=i(r(84808)),n=i(r(93235)),s=i(r(10221)),o=i(r(61028));function i(e){return e&&e.__esModule?e:{default:e}}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},d=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,u=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,x=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,b=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},10221:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,l.default)(e),(t=(0,a.default)(t,s)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));var r=e.split("."),n=r[r.length-1];return!(t.require_tld&&(r.length<2||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(n)||/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(n))||!t.allow_numeric_tld&&/^\d+$/.test(n))&&r.every(function(e){return!(e.length>63||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var l=n(r(65571)),a=n(r(84808));function n(e){return e&&e.__esModule?e:{default:e}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1};e.exports=t.default,e.exports.default=t.default},61028:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return((0,a.default)(t),r=String(r))?"4"===r?!!o.test(t)&&t.split(".").sort(function(e,t){return e-t})[3]<=255:"6"===r&&!!c.test(t):e(t,4)||e(t,6)};var l,a=(l=r(65571))&&l.__esModule?l:{default:l},n="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",s="(".concat(n,"[.]){3}").concat(n),o=new RegExp("^".concat(s,"$")),i="(?:[0-9a-fA-F]{1,4})",c=RegExp("^("+"(?:".concat(i,":){7}(?:").concat(i,"|:)|")+"(?:".concat(i,":){6}(?:").concat(s,"|:").concat(i,"|:)|")+"(?:".concat(i,":){5}(?::").concat(s,"|(:").concat(i,"){1,2}|:)|")+"(?:".concat(i,":){4}(?:(:").concat(i,"){0,1}:").concat(s,"|(:").concat(i,"){1,3}|:)|")+"(?:".concat(i,":){3}(?:(:").concat(i,"){0,2}:").concat(s,"|(:").concat(i,"){1,4}|:)|")+"(?:".concat(i,":){2}(?:(:").concat(i,"){0,3}:").concat(s,"|(:").concat(i,"){1,5}|:)|")+"(?:".concat(i,":){1}(?:(:").concat(i,"){0,4}:").concat(s,"|(:").concat(i,"){1,6}|:)|")+"(?::((?::".concat(i,"){0,5}:").concat(s,"|(?::").concat(i,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},65571:function(e,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},84808:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default}},function(e){e.O(0,[924,8820,6933,9774,2888,179],function(){return e(e.s=45679)}),_N_E=e.O()}]);