(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7472,8178],{36158:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/magazine/[...post]",function(){return n(69738)}])},38178:function(e,t,n){"use strict";n.r(t),n.d(t,{TobBar:function(){return TobBar}});var r=n(57011),TobBar=function(){return(0,r.jsx)(r.Fragment,{})}},33060:function(e,t,n){"use strict";n.d(t,{D:function(){return useProgressBar},z:function(){return ProgressBarProvider}});var r=n(68208),o=n(57011),a=n(44194),u=(0,a.createContext)(null),ProgressBarProvider=function(e){var t=e.children,n=(0,r._)((0,a.useState)(null),2),i=n[0],l=n[1];return(0,o.jsx)(u.Provider,{value:{targetRef:i,setTargetRef:l},children:t})},useProgressBar=function(){var e=(0,a.useContext)(u);if(null===e)throw Error("useProgressBar must be used within a ProgressBarProvider");return e}},69738:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return _},default:function(){return Post}});var r=n(57011),o=n(44194),a=n(87760),u=n(7306),i=n.n(u),l=n(38178),s=n(70446),d=n(33060),c=i()(function(){return Promise.all([n.e(508),n.e(8749),n.e(2050),n.e(2725),n.e(2272),n.e(6034),n.e(3878),n.e(9107),n.e(7078),n.e(9061),n.e(8593),n.e(7659),n.e(225),n.e(2110),n.e(3249),n.e(220),n.e(7727),n.e(7141),n.e(7309),n.e(1410),n.e(4483)]).then(n.bind(n,64483))},{loadableGenerated:{webpack:function(){return[64483]}},ssr:!1}),f=i()(function(){return Promise.all([n.e(508),n.e(8749),n.e(2050),n.e(2725),n.e(2272),n.e(6034),n.e(3878),n.e(9107),n.e(7078),n.e(9061),n.e(8593),n.e(7659),n.e(225),n.e(2110),n.e(3249),n.e(220),n.e(337),n.e(7141),n.e(7309),n.e(1410),n.e(7344)]).then(n.bind(n,87344))},{loadableGenerated:{webpack:function(){return[87344]}},ssr:!0}),_=!0;function Post(e){var t,n,u,i=e.data,_=e.preview,b=e.category,p=e.seoTags,v=e.shuffledPosts,h=e.hideTopbar,m=(0,a.uL)().setPreview;(0,o.useEffect)(function(){m(_)},[m]);var y=(null==p?void 0:null===(t=p.metaRobots)||void 0===t?void 0:t.toString())||"index, follow";return(0,r.jsxs)(r.Fragment,{children:[p&&(0,r.jsx)(s.PB,{title:null==p?void 0:null===(n=p.metaTitle)||void 0===n?void 0:n.toString(),description:null==p?void 0:null===(u=p.metaDescription)||void 0===u?void 0:u.toString(),additionalLinkTags:[],noindex:y.includes("noindex"),nofollow:y.includes("nofollow")}),!h&&(0,r.jsx)(l.TobBar,{}),b?(0,r.jsx)(f,{data:i,category:b}):(0,r.jsx)(d.z,{children:(0,r.jsx)(c,{data:i,shuffledPosts:v})})]})}},17091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(45548),o=n(91640);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return noSSR},default:function(){return dynamic}});var a=n(83166),u=(n(44194),a._(n(51791)));function convertModule(e){return{default:(null==e?void 0:e.default)||e}}function noSSR(e,t){return delete t.webpack,delete t.modules,e(t)}function dynamic(e,t){var n=u.default,a={loading:function(e){return e.error,e.isLoading,e.pastDelay,null}};e instanceof Promise?a.loader=function(){return e}:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=r._({},a,e));var i=(a=r._({},a,t)).loader;return(a.loadableGenerated&&(a=r._({},a,a.loadableGenerated),delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?n(o._(r._({},a),{loader:function(){return null!=i?i().then(convertModule):Promise.resolve(convertModule(function(){return null}))}})):(delete a.webpack,delete a.modules,noSSR(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});var r=n(83166)._(n(44194)).default.createContext(null)},51791:function(e,t,n){"use strict";/**
@copyright (c) 2017-present James Kyle <me@thejameskyle.com>
 MIT License
 Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
*/Object.defineProperty(t,"__esModule",{value:!0});var r=n(43189),o=n(4220),a=n(45548),u=n(91640);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});var i=n(83166)._(n(44194)),l=n(3233),s=[],d=[],c=!1;function load(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}var f=function(){function LoadableSubscription(e,t){r._(this,LoadableSubscription),this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o._(LoadableSubscription,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"==typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout(function(){e._update({pastDelay:!0})},n.delay)),"number"==typeof n.timeout&&(this._timeout=setTimeout(function(){e._update({timedOut:!0})},n.timeout))),this._res.promise.then(function(){e._update({}),e._clearTimeouts()}).catch(function(t){e._update({}),e._clearTimeouts()}),this._update({})}},{key:"_update",value:function(e){this._state=a._(u._(a._({},this._state),{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}),e),this._callbacks.forEach(function(e){return e()})}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),LoadableSubscription}();function Loadable(e){return function(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function init(){if(!r){var t=new f(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!c){var o=n.webpack?n.webpack():n.modules;o&&d.push(function(e){var t=!0,n=!1,r=void 0;try{for(var a,u=o[Symbol.iterator]();!(t=(a=u.next()).done);t=!0){var i=a.value;if(e.includes(i))return init()}}catch(e){n=!0,r=e}finally{try{t||null==u.return||u.return()}finally{if(n)throw r}}})}function LoadableComponent(e,t){init(),(o=i.default.useContext(l.LoadableContext))&&Array.isArray(n.modules)&&n.modules.forEach(function(e){o(e)});var o,a=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(t,function(){return{retry:r.retry}},[]),i.default.useMemo(function(){var t;return a.loading||a.error?i.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?i.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return LoadableComponent.preload=function(){return init()},LoadableComponent.displayName="LoadableComponent",i.default.forwardRef(LoadableComponent)}(load,e)}function flushInitializers(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then(function(){if(e.length)return flushInitializers(e,t)})}Loadable.preloadAll=function(){return new Promise(function(e,t){flushInitializers(s).then(e,t)})},Loadable.preloadReady=function(e){return void 0===e&&(e=[]),new Promise(function(t){var res=function(){return c=!0,t()};flushInitializers(d,e).then(res,res)})},window.__NEXT_PRELOADREADY=Loadable.preloadReady;var _=Loadable},7306:function(e,t,n){e.exports=n(17091)}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=36158)}),_N_E=e.O()}]);