"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1002],{81002:function(e,n,t){t.d(n,{o:function(){return u}});var r=t(50029),c=t(64687),s=t.n(c),i=t(95229),o=t(77589);function u(e,n){return a.apply(this,arguments)}function a(){return(a=(0,r.Z)(s().mark(function e(n,t){var r,c,u,a,l,p,f,h=arguments;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=h.length>2&&void 0!==h[2]&&h[2],c=h.length>3&&void 0!==h[3]?h[3]:"en-US",!(n&&t)){e.next=13;break}return u=r?o.z.preview.accessToken:o.z.live.accessToken,a=r?o.z.preview.host:o.z.live.host,l=(0,i.createClient)({space:o.P,accessToken:u,host:a}),e.next=8,l.getEntries({content_type:t,"fields.slug":n,include:10,locale:c});case 8:if(!((f=void 0===(p=e.sent.items)?[]:p).length>0)){e.next=13;break}return e.abrupt("return",f[0]);case 13:return e.abrupt("return",null);case 14:case"end":return e.stop()}},e)}))).apply(this,arguments)}},77589:function(e,n,t){t.d(n,{P:function(){return r},z:function(){return c}});var r="aoyx73g9h2pg",c={preview:{host:"preview.contentful.com",accessToken:"_m2Ya2h7qmrZiY2Ln9iSbLm4HQWEhAWg-tCRNc-wesg"},live:{host:"cdn.contentful.com",accessToken:"r38OWV8WrekczjzQP7Qje7KySFMW58C5sUCk455m7B0"}}}}]);