text: (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"/kxI":function(e,t,n){"use strict";var a=n("k1TG"),r=n("8o2o"),o=n("q1tI"),i=n.n(o),c=n("TSYQ"),l=n.n(c),u=n("33Jr"),s=function(e){var t=e.className,n=e.cssModule,o=e.innerRef,c=e.tag,s=Object(r.a)(e,["className","cssModule","innerRef","tag"]),f=Object(u.i)(l()(t,"card-body"),n);return i.a.createElement(c,Object(a.a)({},s,{className:f,ref:o}))};s.defaultProps={tag:"div"},t.a=s},"5dhs":function(e,t,n){},BUe3:function(e,t,n){"use strict";var a=n("q1tI"),r=n.n(a),o=n("kdy/"),i=n("TKhn"),c=(n("rGqo"),n("yt8O"),n("Btvt"),n("Wbzz")),l=n("Gmtg"),u=n("53zH");n("t65T");var s=n("kKoM"),f=n("WD3a");var d=function(e){var t,n,a=e.article,d=e.currentArticleLanguage,m=a.frontmatter,p=m.id,g=m.title,b=m.tags,v=m.date,y=a.timeToRead,h=a.excerpt,O=Object(u.c)(i.a).language,E=Object(u.c)(o.a).getLangPathMap(p),j=Object(s.a)((function(){return Object(f.b)(v)}));return r.a.createElement("div",{className:"article-item"},r.a.createElement(c.Link,{className:"article-item__header",to:E.get(O.metadata.id)||E.values().next().value},g),r.a.createElement(l.a,{currentArticleLanguage:d,date:j,timeToRead:y,tags:b,articleId:p,setItemProp:!1}),r.a.createElement("p",{className:"article-item__excerpt"},(n=function(e){return/[\u4E00-\u9FA5\uF900-\uFA2D]/.test(e)}(t=h)?130:300,t.substring(0,n)+"...")),r.a.createElement("hr",null))},m=n("k1TG"),p=n("8o2o"),g=n("TSYQ"),b=n.n(g),v=n("33Jr"),y=function(e){var t,n=e.className,a=e.listClassName,o=e.cssModule,i=e.size,c=e.tag,l=e.listTag,u=e["aria-label"],s=Object(p.a)(e,["className","listClassName","cssModule","size","tag","listTag","aria-label"]),f=Object(v.i)(b()(n),o),d=Object(v.i)(b()(a,"pagination",((t={})["pagination-"+i]=!!i,t)),o);return r.a.createElement(c,{className:f,"aria-label":u},r.a.createElement(l,Object(m.a)({},s,{className:d})))};y.defaultProps={tag:"nav",listTag:"ul","aria-label":"pagination"};var h=y,O=function(e){var t=e.active,n=e.className,a=e.cssModule,o=e.disabled,i=e.tag,c=Object(p.a)(e,["active","className","cssModule","disabled","tag"]),l=Object(v.i)(b()(n,"page-item",{active:t,disabled:o}),a);return r.a.createElement(i,Object(m.a)({},c,{className:l}))};O.defaultProps={tag:"li"};var E=O,j=(n("LK8F"),function(e){var t,n=e.className,a=e.cssModule,o=e.next,i=e.previous,c=e.first,l=e.last,u=e.tag,s=Object(p.a)(e,["className","cssModule","next","previous","first","last","tag"]),f=Object(v.i)(b()(n,"page-link"),a);i?t="Previous":o?t="Next":c?t="First":l&&(t="Last");var d,g=e["aria-label"]||t;i?d="‹":o?d="›":c?d="«":l&&(d="»");var y=e.children;return y&&Array.isArray(y)&&0===y.length&&(y=null),s.href||"a"!==u||(u="button"),(i||o||c||l)&&(y=[r.a.createElement("span",{"aria-hidden":"true",key:"caret"},y||d),r.a.createElement("span",{className:"sr-only",key:"sr"},g)]),r.a.createElement(u,Object(m.a)({},s,{className:f,"aria-label":g}),y)});j.defaultProps={tag:"a"};var x=j;var w=function(e){var t=e.pageCount,n=e.pageIndex,a=e.toPage;return r.a.createElement(h,{"aria-label":"Page"},r.a.createElement(E,null,r.a.createElement(x,{disabled:0===t||0===n,previous:!0,onClick:a(n-1)})),function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);for(var n=[],a=e;a<t;a++)n.push(a);return n}(0,t).map((function(e){return r.a.createElement(E,{active:n===e,key:e},r.a.createElement(x,{onClick:a(e)},e+1))})),r.a.createElement(E,null,r.a.createElement(x,{disabled:0===t||n===t-1,next:!0,onClick:a(n+1)})))};t.a=function(e){var t=e.ids,n=e.pageCount,a=e.pageIndex,c=e.toPage,l=Object(u.c)(i.a),s=Object(u.c)(o.a),f=t.map((function(e){var t=s.articleIdMap.get(e);if(!t)throw"Invalid articleId "+e;return t}));return r.a.createElement("div",null,f.map((function(e){var t=s.getArticleOfLang(e[0].frontmatter.id,l.language);return r.a.createElement(d,{article:t,key:t.frontmatter.id,currentArticleLanguage:t.frontmatter.lang})})),r.a.createElement(w,{pageCount:n,pageIndex:a,toPage:c}))}},GZI6:function(e,t,n){"use strict";var a=n("q1tI"),r=n.n(a),o=n("ok1R"),i=n("rhny"),c=n("vOnD"),l=(n("rGqo"),n("yt8O"),n("Btvt"),n("XfO3"),n("HEwt"),n("Vd3H"),n("+uIY")),u=n("/kxI"),s=n("TY/J"),f=n("rI/i"),d=n("53zH"),m=n("kdy/"),p=n("TKhn"),g=n("Wbzz"),b=n("k1TG"),v=n("8o2o"),y=n("TSYQ"),h=n.n(y),O=n("33Jr"),E=function(e){var t=e.className,n=e.cssModule,a=e.color,o=e.innerRef,i=e.pill,c=e.tag,l=Object(v.a)(e,["className","cssModule","color","innerRef","pill","tag"]),u=Object(O.i)(h()(t,"badge","badge-"+a,!!i&&"badge-pill"),n);return l.href&&"span"===c&&(c="a"),r.a.createElement(c,Object(b.a)({},l,{className:u,ref:o}))};E.defaultProps={color:"secondary",pill:!1,tag:"span"};var j=E,x=(n("5dhs"),function(e){var t=e.tag,n=e.onClick,o=Object(d.c)(m.a),i=Object(d.c)(p.a),c=o.getTagOfLang(t,i.language)||t,u=i.translate(l.a.articleFrontmatter.tagLinkTitle,[" "+c+" "]),s="/articles/search?query="+c,f=o.getCountOfTag(t),b=Object(a.useCallback)((function(){n&&n(t)}),[n,t]);return r.a.createElement(g.Link,{className:"counted-article-tag",title:u,to:s,onClick:b},r.a.createElement("span",{className:"counted-article-tag__name"},c),r.a.createElement(j,{color:"info"},f))}),w=l.a.tagsCard,k=function(e){var t=e.className,n=Object(d.c)(m.a),a=Array.from(n.tagMap.entries()).sort((function(e,t){return t[1].count-e[1].count})).map((function(e){return e[0]}));return r.a.createElement(s.a,{className:t},r.a.createElement(s.b,null,r.a.createElement("span",null,"🏷️ ",r.a.createElement(f.a,{id:w.title}))),r.a.createElement(u.a,null,a.map((function(e){return r.a.createElement(x,{key:e,tag:e})}))))},N=n("S6nY"),I=n("HgUA"),S=(n("OG14"),function(e){var t=e.className,n=e.cssModule,a=e.tag,o=e.size,i=Object(v.a)(e,["className","cssModule","tag","size"]),c=Object(O.i)(h()(t,"input-group",o?"input-group-"+o:null),n);return r.a.createElement(a,Object(b.a)({},i,{className:c}))});S.defaultProps={tag:"div"};var C=S,P=(n("Oyvg"),n("V+eJ"),n("2Spj"),n("uRdJ")),T=n("9Hrx"),R=function(e){function t(t){var n;return(n=e.call(this,t)||this).getRef=n.getRef.bind(Object(P.a)(n)),n.focus=n.focus.bind(Object(P.a)(n)),n}Object(T.a)(t,e);var n=t.prototype;return n.getRef=function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e},n.focus=function(){this.ref&&this.ref.focus()},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,a=e.type,o=e.bsSize,i=e.valid,c=e.invalid,l=e.tag,u=e.addon,s=e.plaintext,f=e.innerRef,d=Object(v.a)(e,["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"]),m=["radio","checkbox"].indexOf(a)>-1,p=new RegExp("\\D","g"),g=l||("select"===a||"textarea"===a?a:"input"),y="form-control";s?(y+="-plaintext",g=l||"input"):"file"===a?y+="-file":m&&(y=u?null:"form-check-input"),d.size&&p.test(d.size)&&(Object(O.m)('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),o=d.size,delete d.size);var E=Object(O.i)(h()(t,c&&"is-invalid",i&&"is-valid",!!o&&"form-control-"+o,y),n);return("input"===g||l&&"function"==typeof l)&&(d.type=a),d.children&&!s&&"select"!==a&&"string"==typeof g&&"select"!==g&&(Object(O.m)('Input with a type of "'+a+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete d.children),r.a.createElement(g,Object(b.a)({},d,{ref:f,className:E}))},t}(r.a.Component);R.defaultProps={type:"text"};var _=R,M=function(e){var t=e.className,n=e.cssModule,a=e.tag,o=Object(v.a)(e,["className","cssModule","tag"]),i=Object(O.i)(h()(t,"input-group-text"),n);return r.a.createElement(a,Object(b.a)({},o,{className:i}))};M.defaultProps={tag:"span"};var L=M,A=function(e){var t=e.className,n=e.cssModule,a=e.tag,o=e.addonType,i=e.children,c=Object(v.a)(e,["className","cssModule","tag","addonType","children"]),l=Object(O.i)(h()(t,"input-group-"+o),n);return"string"==typeof i?r.a.createElement(a,Object(b.a)({},c,{className:l}),r.a.createElement(L,{children:i})):r.a.createElement(a,Object(b.a)({},c,{className:l,children:i}))};A.defaultProps={tag:"div"};var z=A,F=n("sOKU"),q=n("ma3e"),W=function(e,t){return Object(d.c)(p.a).translate(e,t)},D=function(e){var t=Object(d.c)(m.a),n=Object(a.useState)(""),o=n[0],i=n[1],c=W(l.a.search.inputPlaceholder,[t.articleCount]),u=function(){Object(g.navigate)("/articles/search?query="+encodeURIComponent(o)),e.onSearch&&e.onSearch()};return r.a.createElement(C,{className:e.className},r.a.createElement(_,{value:o,onChange:function(e){return i(e.target.value)},placeholder:c,onFocus:e.onFocus,onBlur:e.onBlur,onKeyPress:function(e){"Enter"===e.key&&u()}}),r.a.createElement(z,{addonType:"append"},r.a.createElement(F.a,{onClick:u,color:"secondary"},r.a.createElement(q.s,null))))},$=l.a.search,H=function(){return r.a.createElement(s.a,null,r.a.createElement(s.b,null,r.a.createElement("span",null,"🔎 ",r.a.createElement(f.a,{id:$.cardTitle}))),r.a.createElement(u.a,null,r.a.createElement(D,null)))},J=n("t6+8"),K=n("kKoM"),G=n("qR4i"),Y=c.a.div.withConfig({displayName:"TagDropdown__TagContainer",componentId:"if9j2h-0"})(["border:1px solid ",";display:",";padding:8px;"],G.b.lightGray,(function(e){return e.show?"block":"none"})),B=function(e){var t=Object(d.c)(m.a),n=Object(K.a)((function(){return Array.from(t.tagMap.entries()).sort((function(e,t){return t[1].count-e[1].count})).map((function(e){return e[0]}))}));return r.a.createElement(Y,{show:e.show},n.map((function(t){return r.a.createElement(x,{onClick:e.onTagClicked,key:t,tag:t})})))},U=n("OXnp"),V=c.a.div.withConfig({displayName:"SearchBar__Container",componentId:"bwiow2-0"})([""]),Q=function(){var e=Object(a.useState)(!1),t=e[0],n=e[1],o=Object(a.useRef)(null);Object(U.a)()||Object(J.a)(window,"click",(function(e){o.current&&!o.current.contains(e.target)&&n(!1)}));var i=Object(a.useCallback)((function(){n(!1)}),[]);return r.a.createElement(V,{ref:o},r.a.createElement(D,{onFocus:function(){return n(!0)}}),r.a.createElement(B,{onTagClicked:i,show:t}))},X=n("s/Ur"),Z=n.n(X),ee=function(e){var t=e.className,n=e.cssModule,a=e.tag,o=Object(v.a)(e,["className","cssModule","tag"]),i=Object(O.i)(h()(t,"card-text"),n);return r.a.createElement(a,Object(b.a)({},o,{className:i}))};ee.defaultProps={tag:"p"};var te=ee,ne=n("8kWc"),ae=c.a.div.withConfig({displayName:"BlogIntroCard__BlockContainer",componentId:"t1xh2u-0"})(["a{display:block;}"]),re=l.a.blogIntro,oe=function(){var e=Object(ne.a)("about-project").path,t=W(re.more);return r.a.createElement(s.a,null,r.a.createElement(s.b,null,r.a.createElement("span",null,"💻 ddadaal.me | ",r.a.createElement(f.a,{id:re.subtitle})),r.a.createElement(g.Link,{className:"card-link",to:e,title:t},r.a.createElement(f.a,{id:re.moreLink}))),r.a.createElement(u.a,null,r.a.createElement(te,null,r.a.createElement(f.a,{id:re.description1})),r.a.createElement(te,null,r.a.createElement(f.a,{id:re.description2})),r.a.createElement(ae,null,r.a.createElement("a",{href:"https://github.com/ddadaal/ddadaal.me",target:"__blank"},r.a.createElement(q.f,null),r.a.createElement(f.a,{id:re.sourceCode})),r.a.createElement("a",{href:"/rss.xml",target:"__blank"},r.a.createElement(q.r,null),"RSS"),r.a.createElement(g.Link,{to:"/feedback"},r.a.createElement(q.q,null),r.a.createElement(f.a,{id:re.feedback})))))},ie=c.a.div.withConfig({displayName:"ArticleListLayout__Sidebar",componentId:"sc-1c0euzr-0"})(["& > *{margin-bottom:8px;}"]),ce=c.a.div.withConfig({displayName:"ArticleListLayout__SearchBarContainer",componentId:"sc-1c0euzr-1"})(["margin:4px 0 0px 0;"]);t.a=function(e){return r.a.createElement(I.a,{transparentHeader:!1},r.a.createElement(N.a,null,r.a.createElement(o.a,null,r.a.createElement(i.a,{md:8,xs:12},r.a.createElement(Z.a,{maxWidth:G.a.md},r.a.createElement(ce,null,r.a.createElement(Q,null),r.a.createElement("hr",null))),e.children),r.a.createElement(i.a,{md:4,xs:12},r.a.createElement(Z.a,{minWidth:G.a.md},r.a.createElement(ie,null,r.a.createElement(oe,null),r.a.createElement(H,null),r.a.createElement(k,null)))))))}},Gmtg:function(e,t,n){"use strict";n("rGqo"),n("yt8O"),n("Btvt"),n("XfO3"),n("HEwt"),n("f3/d");var a=n("q1tI"),r=n.n(a),o=n("+uIY"),i=n("rI/i"),c=n("vOnD"),l=n("ma3e"),u=(n("qR4i"),n("Wbzz")),s=n("53zH"),f=n("kdy/"),d=n("TKhn"),m=(n("5dhs"),Object(c.a)(u.Link).withConfig({displayName:"ArticleTag__Tag",componentId:"tiifqb-0"})(["margin-right:4px;"])),p=function(e){var t=e.tag,n=Object(s.c)(f.a),a=Object(s.c)(d.a),i=n.getTagOfLang(t,a.language)||t,c=a.translate(o.a.articleFrontmatter.tagLinkTitle,[" "+i+" "]),l="/articles/search?query="+i;return r.a.createElement(m,{className:"badge badge-info article-tag",to:l,title:c},i)},g=n("QKZt"),b=n("kKoM"),v=o.a.articleFrontmatter,y=c.a.span.withConfig({displayName:"ArticleFrontmatter__Span",componentId:"sc-1imhxqz-0"})(["margin-right:8px;padding-right:8px;margin-bottom:4px;display:inline-block;"]),h=Object(c.a)(y).withConfig({displayName:"ArticleFrontmatter__Tags",componentId:"sc-1imhxqz-1"})([""]),O=c.a.div.withConfig({displayName:"ArticleFrontmatter__ContainerRow",componentId:"sc-1imhxqz-2"})(["font-size:0.9em;margin:8px 0;vertical-align:center;"]),E=(t.a=function(e){var t=e.date,n=e.timeToRead,a=e.tags,o=e.articleId,c=e.currentArticleLanguage,u=e.setItemProp,s=Object(b.a)((function(){return t.toFormat("yyyy-MM-dd HH:mm 'UTC'Z")}));return r.a.createElement(O,null,a&&r.a.createElement(h,null,r.a.createElement(l.v,null),a.map((function(e){return r.a.createElement(p,{tag:e,key:e})}))),r.a.createElement(y,{title:s},r.a.createElement(l.d,null),u?r.a.createElement("time",{itemProp:"datePublished",dateTime:t.toISO()},s):s),r.a.createElement(y,null,r.a.createElement(l.w,null),r.a.createElement(i.a,{id:v.timeToRead,replacements:[n]})),r.a.createElement(y,null,r.a.createElement(l.j,null),r.a.createElement(x,{articleId:o,currentArticleLanguage:c})))},Object(c.a)(u.Link).withConfig({displayName:"ArticleFrontmatter__LangLink",componentId:"sc-1imhxqz-3"})(["margin-right:8px;"])),j=c.a.span.withConfig({displayName:"ArticleFrontmatter__DisabledLangLink",componentId:"sc-1imhxqz-4"})(["margin-right:8px;"]),x=function(e){var t=e.articleId,n=e.currentArticleLanguage,a=Object(s.c)(f.a).getLangPathMap(t);return a.delete(n),r.a.createElement(r.a.Fragment,null,r.a.createElement(j,null,Object(g.c)(n).metadata.name),Array.from(a.entries()).map((function(e){var t=e[0],n=e[1];return r.a.createElement(E,{key:t,to:n},Object(g.c)(t).metadata.name)})))}},S6nY:function(e,t,n){"use strict";var a=n("q1tI"),r=n.n(a),o=n("vOnD"),i=n("qR4i"),c=n("MzZ/"),l=o.a.div.withConfig({displayName:"Page__StyledPage",componentId:"sc-2w02xb-0"})(["display:block;flex:1;position:relative;padding:16px;img{max-width:100%;}table{display:inline-block;overflow-x:auto;}blockquote p:last-child{margin-bottom:0;}"]),u=o.a.div.withConfig({displayName:"Page__StyledContainer",componentId:"sc-2w02xb-1"})(["position:relative;margin-left:auto;margin-right:auto;width:auto;max-width:","px;animation:"," 0.2s ease-out;"],(function(e){return e.maxWidth}),c.a);t.a=function(e){var t=e.className,n=e.children,a=e.maxWidth,o=void 0===a?i.d.mainContent:a;return r.a.createElement(l,null,r.a.createElement(u,{maxWidth:o,className:t},n))}},"TY/J":function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b}));n("rGqo"),n("yt8O"),n("Btvt"),n("RW0V"),n("91GP");var a=n("q1tI"),r=n.n(a),o=n("k1TG"),i=n("8o2o"),c=n("TSYQ"),l=n.n(c),u=n("33Jr"),s=function(e){var t=e.className,n=e.cssModule,a=e.color,c=e.body,s=e.inverse,f=e.outline,d=e.tag,m=e.innerRef,p=Object(i.a)(e,["className","cssModule","color","body","inverse","outline","tag","innerRef"]),g=Object(u.i)(l()(t,"card",!!s&&"text-white",!!c&&"card-body",!!a&&(f?"border":"bg")+"-"+a),n);return r.a.createElement(d,Object(o.a)({},p,{className:g,ref:m}))};s.defaultProps={tag:"div"};var f=s,d=function(e){var t=e.className,n=e.cssModule,a=e.tag,c=Object(i.a)(e,["className","cssModule","tag"]),s=Object(u.i)(l()(t,"card-header"),n);return r.a.createElement(a,Object(o.a)({},c,{className:s}))};d.defaultProps={tag:"div"};var m=d;function p(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}var g=function(e){var t=e.className,n=p(e,["className"]);return r.a.createElement(f,Object.assign({},n,{className:(t||"")+" hover-card"}),n.children)},b=function(e){var t=e.className,n=p(e,["className"]);return r.a.createElement(m,Object.assign({},n,{className:(t||"")+" d-flex justify-content-between align-items-center"}),n.children)}},WLL4:function(e,t,n){var a=n("XKFU");a(a.S+a.F*!n("nh4g"),"Object",{defineProperties:n("FJW5")})},jm62:function(e,t,n){var a=n("XKFU"),r=n("mQtv"),o=n("aCFj"),i=n("EemH"),c=n("8a7r");a(a.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,a=o(e),l=i.f,u=r(a),s={},f=0;u.length>f;)void 0!==(n=l(a,t=u[f++]))&&c(s,t,n);return s}})},mQtv:function(e,t,n){var a=n("kJMx"),r=n("JiEa"),o=n("y3w9"),i=n("dyZX").Reflect;e.exports=i&&i.ownKeys||function(e){var t=a.f(o(e)),n=r.f;return n?t.concat(n(e)):t}},"s/Ur":function(e,t,n){var a;n("V+eJ"),n("91GP"),n("Oyvg"),n("f3/d"),n("2Spj"),n("WLL4"),n("jm62"),n("0l/t"),n("8+KV"),n("xfY5"),n("Tze0"),n("KKXr"),n("bWfx"),n("dZ+Y"),n("SRfc"),n("pIFo"),n("DNiP"),n("yt8O"),n("Btvt"),n("RW0V"),n("LK8F"),n("rE2o"),n("ioFf"),n("rGqo"),n("HAE/"),"undefined"!=typeof self&&self,e.exports=(a=n("q1tI"),function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,n){"use strict";function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(a=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(l){r=!0,o=l}finally{try{a||null==c.return||c.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=n(1),o=n.n(r),i=n(7),c=n.n(i),l=n(2),u=n(9),s=n.n(u),f=n(10),d=n(5),m=function(e){if(!e)return null;var t=Object.keys(e);return 0===t.length?null:t.reduce((function(t,n){return t[Object(l.a)(n)]=e[n],t}),{})},p=function(){var e=o.a.useRef(!1);return o.a.useEffect((function(){e.current=!0}),[]),e.current},g=function(e){var t=function(){return function(e){return e.query||Object(f.a)(e)}(e)},n=a(o.a.useState(t),2),r=n[0],i=n[1];return o.a.useEffect((function(){var e=t();r!==e&&i(e)}),[e]),r};t.a=function(e,t,n){var r=function(e){var t=o.a.useContext(d.a),n=function(){return m(e)||m(t)},r=a(o.a.useState(n),2),i=r[0],c=r[1];return o.a.useEffect((function(){var e=n();s()(i,e)||c(e)}),[e,t]),i}(t),i=g(e);if(!i)throw new Error("Invalid or missing MediaQuery!");var l=function(e){var t=a(o.a.useState(e.matches),2),n=t[0],r=t[1];return o.a.useEffect((function(){var t=function(){r(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}}),[e]),n}(function(e,t){var n=function(){return c()(e,t||{},!!t)},r=a(o.a.useState(n),2),i=r[0],l=r[1],u=p();return o.a.useEffect((function(){return u&&l(n()),function(){i.dispose()}}),[e,t]),i}(i,r)),u=p();return o.a.useEffect((function(){u&&n&&n(l)}),[l]),l}},function(e,t){e.exports=a},function(e,t,n){"use strict";function a(e){return"-"+e.toLowerCase()}var r=/[A-Z]/g,o=/^ms-/,i={};t.a=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(r,a);return i[e]=o.test(t)?"-"+t:t}},function(e,t,n){"use strict";e.exports=n(13)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var a=n(1),r=n.n(a).a.createContext();t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),r=n(17),o=n(5);n.d(t,"default",(function(){return r.a})),n.d(t,"useMediaQuery",(function(){return a.a})),n.d(t,"Context",(function(){return o.a}))},function(e,t,n){"use strict";function a(e,t,n){function a(e){i.matches=e.matches,i.media=e.media}var i=this;if(o&&!n){var c=o.call(window,e);this.matches=c.matches,this.media=c.media,c.addListener(a)}else this.matches=r(e,t),this.media=e;this.addListener=function(e){c&&c.addListener(e)},this.removeListener=function(e){c&&c.removeListener(e)},this.dispose=function(){c&&c.removeListener(a)}}var r=n(8).match,o="undefined"!=typeof window?window.matchMedia:null;e.exports=function(e,t,n){return new a(e,t,n)}},function(e,t,n){"use strict";function a(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(c),n=t[1],a=t[2],r=t[3]||"",o={};return o.inverse=!!n&&"not"===n.toLowerCase(),o.type=a?a.toLowerCase():"all",r=r.match(/\([^\)]+\)/g)||[],o.expressions=r.map((function(e){var t=e.match(l),n=t[1].toLowerCase().match(u);return{modifier:n[1],feature:n[2],value:t[2]}})),o}))}function r(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function o(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function i(e){var t=parseFloat(e);switch(String(e).match(s)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=function(e,t){return a(e).some((function(e){var n=e.inverse,a="all"===e.type||t.type===e.type;if(a&&n||!a&&!n)return!1;var c=e.expressions.every((function(e){var n=e.feature,a=e.modifier,c=e.value,l=t[n];if(!l)return!1;switch(n){case"orientation":case"scan":return l.toLowerCase()===c.toLowerCase();case"width":case"height":case"device-width":case"device-height":c=i(c),l=i(l);break;case"resolution":c=o(c),l=o(l);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":c=r(c),l=r(l);break;case"grid":case"color":case"color-index":case"monochrome":c=parseInt(c,10)||1,l=parseInt(l,10)||0}switch(a){case"min":return l>=c;case"max":return l<=c;default:return l===c}}));return c&&!n||!c&&n}))},t.parse=a;var c=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,l=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,u=/^(?:(min|max)-)?(.+)/,s=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),a=Object.keys(t),r=n.length;if(a.length!==r)return!1;for(var o=0;o<r;o++){var i=n[o];if(e[i]!==t[i])return!1}return!0}},function(e,t,n){"use strict";var a=n(2),r=n(11);t.a=function(e){var t=[];return Object.keys(r.a.all).forEach((function(n){var r=e[n];null!=r&&t.push(function(e,t){var n=Object(a.a)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?"not ".concat(n):"(".concat(n,": ").concat(t,")")}(n,r))})),t.join(" and ")}},function(e,t,n){"use strict";function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(n,!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(12),c=n.n(i),l=c.a.oneOfType([c.a.string,c.a.number]),u={orientation:c.a.oneOf(["portrait","landscape"]),scan:c.a.oneOf(["progressive","interlace"]),aspectRatio:c.a.string,deviceAspectRatio:c.a.string,height:l,deviceHeight:l,width:l,deviceWidth:l,color:c.a.bool,colorIndex:c.a.bool,monochrome:c.a.bool,resolution:l},s=r({minAspectRatio:c.a.string,maxAspectRatio:c.a.string,minDeviceAspectRatio:c.a.string,maxDeviceAspectRatio:c.a.string,minHeight:l,maxHeight:l,minDeviceHeight:l,maxDeviceHeight:l,minWidth:l,maxWidth:l,minDeviceWidth:l,maxDeviceWidth:l,minColor:c.a.number,maxColor:c.a.number,minColorIndex:c.a.number,maxColorIndex:c.a.number,minMonochrome:c.a.number,maxMonochrome:c.a.number,minResolution:l,maxResolution:l},u),f={all:c.a.bool,grid:c.a.bool,aural:c.a.bool,braille:c.a.bool,handheld:c.a.bool,print:c.a.bool,projection:c.a.bool,screen:c.a.bool,tty:c.a.bool,tv:c.a.bool,embossed:c.a.bool},d=r({},f,{},s);u.type=Object.keys(f),t.a={all:d,types:f,matchers:u,features:s}},function(e,t,n){var a=n(3);e.exports=n(14)(a.isElement,!0)},function(e,t,n){"use strict";!function(){function e(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var n=e.type;switch(n){case f:case d:case i:case l:case c:case p:return n;default:var a=n&&n.$$typeof;switch(a){case s:case m:case u:return a;default:return t}}case v:case b:case o:return t}}}function n(t){return e(t)===d}Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&Symbol.for,r=a?Symbol.for("react.element"):60103,o=a?Symbol.for("react.portal"):60106,i=a?Symbol.for("react.fragment"):60107,c=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,u=a?Symbol.for("react.provider"):60109,s=a?Symbol.for("react.context"):60110,f=a?Symbol.for("react.async_mode"):60111,d=a?Symbol.for("react.concurrent_mode"):60111,m=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,g=a?Symbol.for("react.suspense_list"):60120,b=a?Symbol.for("react.memo"):60115,v=a?Symbol.for("react.lazy"):60116,y=a?Symbol.for("react.fundamental"):60117,h=a?Symbol.for("react.responder"):60118,O=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,(function(){return n[r++]}));"undefined"!=typeof console&&console.warn(o);try{throw new Error(o)}catch(i){}},E=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];O.apply(void 0,[t].concat(a))}},j=f,x=d,w=s,k=u,N=r,I=m,S=i,C=v,P=b,T=o,R=l,_=c,M=p,L=!1;t.typeOf=e,t.AsyncMode=j,t.ConcurrentMode=x,t.ContextConsumer=w,t.ContextProvider=k,t.Element=N,t.ForwardRef=I,t.Fragment=S,t.Lazy=C,t.Memo=P,t.Portal=T,t.Profiler=R,t.StrictMode=_,t.Suspense=M,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===c||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===b||e.$$typeof===u||e.$$typeof===s||e.$$typeof===m||e.$$typeof===y||e.$$typeof===h)},t.isAsyncMode=function(t){return L||(L=!0,E(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),n(t)||e(t)===f},t.isConcurrentMode=n,t.isContextConsumer=function(t){return e(t)===s},t.isContextProvider=function(t){return e(t)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(t){return e(t)===m},t.isFragment=function(t){return e(t)===i},t.isLazy=function(t){return e(t)===v},t.isMemo=function(t){return e(t)===b},t.isPortal=function(t){return e(t)===o},t.isProfiler=function(t){return e(t)===l},t.isStrictMode=function(t){return e(t)===c},t.isSuspense=function(t){return e(t)===p}}()},function(e,t,n){"use strict";function a(){return null}var r,o=n(3),i=n(15),c=n(4),l=n(16),u=Function.call.bind(Object.prototype.hasOwnProperty);r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},e.exports=function(e,t){function n(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e){this.message=e,this.stack=""}function f(e){function n(n,i,l,u,f,d,m){if(u=u||h,d=d||l,m!==c){if(t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}if("undefined"!=typeof console){var g=u+":"+l;!a[g]&&o<3&&(r("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[g]=!0,o++)}}return null==i[l]?n?new s(null===i[l]?"The "+f+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,f,d)}var a={},o=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function d(e){return f((function(t,n,a,r,o,i){var c=t[n];return p(c)!==e?new s("Invalid "+r+" `"+o+"` of type `"+g(c)+"` supplied to `"+a+"`, expected `"+e+"`."):null}))}function m(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(m);if(null===t||e(t))return!0;var n=function(e){var t=e&&(v&&e[v]||e[y]);if("function"==typeof t)return t}(t);if(!n)return!1;var a,r=n.call(t);if(n!==t.entries){for(;!(a=r.next()).done;)if(!m(a.value))return!1}else for(;!(a=r.next()).done;){var o=a.value;if(o&&!m(o[1]))return!1}return!0;default:return!1}}function p(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function g(e){if(null==e)return""+e;var t=p(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){var t=g(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}var v="function"==typeof Symbol&&Symbol.iterator,y="@@iterator",h="<<anonymous>>",O={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(a),arrayOf:function(e){return f((function(t,n,a,r,o){if("function"!=typeof e)return new s("Property `"+o+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new s("Invalid "+r+" `"+o+"` of type `"+p(i)+"` supplied to `"+a+"`, expected an array.");for(var l=0;l<i.length;l++){var u=e(i,l,a,r,o+"["+l+"]",c);if(u instanceof Error)return u}return null}))},element:f((function(t,n,a,r,o){var i=t[n];return e(i)?null:new s("Invalid "+r+" `"+o+"` of type `"+p(i)+"` supplied to `"+a+"`, expected a single ReactElement.")})),elementType:f((function(e,t,n,a,r){var i=e[t];return o.isValidElementType(i)?null:new s("Invalid "+a+" `"+r+"` of type `"+p(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||h;return new s("Invalid "+r+" `"+o+"` of type `"+((c=t[n]).constructor&&c.constructor.name?c.constructor.name:h)+"` supplied to `"+a+"`, expected instance of `"+i+"`.")}var c;return null}))},node:f((function(e,t,n,a,r){return m(e[t])?null:new s("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(t,n,a,r,o){if("function"!=typeof e)return new s("Property `"+o+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var i=t[n],l=p(i);if("object"!==l)return new s("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+a+"`, expected an object.");for(var f in i)if(u(i,f)){var d=e(i,f,a,r,o+"."+f,c);if(d instanceof Error)return d}return null}))},oneOf:function(e){function t(t,a,r,o,i){for(var c=t[a],l=0;l<e.length;l++)if(n(c,e[l]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===g(t)?String(t):t}));return new s("Invalid "+o+" `"+i+"` of value `"+String(c)+"` supplied to `"+r+"`, expected one of "+u+".")}return Array.isArray(e)?f(t):(r(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return r("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return r("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+b(n)+" at index "+t+"."),a}return f((function(t,n,a,r,o){for(var i=0;i<e.length;i++)if(null==(0,e[i])(t,n,a,r,o,c))return null;return new s("Invalid "+r+" `"+o+"` supplied to `"+a+"`.")}))},shape:function(e){return f((function(t,n,a,r,o){var i=t[n],l=p(i);if("object"!==l)return new s("Invalid "+r+" `"+o+"` of type `"+l+"` supplied to `"+a+"`, expected `object`.");for(var u in e){var f=e[u];if(f){var d=f(i,u,a,r,o+"."+u,c);if(d)return d}}return null}))},exact:function(e){return f((function(t,n,a,r,o){var l=t[n],u=p(l);if("object"!==u)return new s("Invalid "+r+" `"+o+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var f=i({},t[n],e);for(var d in f){var m=e[d];if(!m)return new s("Invalid "+r+" `"+o+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var g=m(l,d,a,r,o+"."+d,c);if(g)return g}return null}))}};return s.prototype=Error.prototype,O.checkPropTypes=l,O.resetWarningCache=l.resetWarningCache,O.PropTypes=O,O}},function(e,t,n){"use strict";function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(r){return!1}}()?Object.assign:function(e,t){for(var n,c,l=a(e),u=1;u<arguments.length;u++){for(var s in n=Object(arguments[u]))o.call(n,s)&&(l[s]=n[s]);if(r){c=r(n);for(var f=0;f<c.length;f++)i.call(n,c[f])&&(l[c[f]]=n[c[f]])}}return l}},function(e,t,n){"use strict";function a(e,t,n,a,l){for(var u in e)if(c(e,u)){var s;try{if("function"!=typeof e[u]){var f=Error((a||"React class")+": "+n+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.");throw f.name="Invariant Violation",f}s=e[u](t,u,a,n,null,o)}catch(m){s=m}if(!s||s instanceof Error||r((a||"React class")+": type specification of "+n+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in i)){i[s.message]=!0;var d=l?l():"";r("Failed "+n+" type: "+s.message+(null!=d?d:""))}}}var r=function(){},o=n(4),i={},c=Function.call.bind(Object.prototype.hasOwnProperty);r=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},a.resetWarningCache=function(){i={}},e.exports=a},function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}t.a=function(e){var t=e.children,n=e.device,o=e.onChange,i=a(e,["children","device","onChange"]),c=Object(r.a)(i,n,o);return"function"==typeof t?t(c):c?t:null};var r=n(0)}]))},t65T:function(e,t,n){}}]);
  //# sourceMappingURL=65feb7320345a78dd090c7880f67fdd559e37df8-4f5ffeb9b643b50af354.js.map