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AA9G,EAAA2B,IAAA,GAAAjB,EAAA+G,sBAAA,CAAAxH,EAAA,QAAAO,EAAAR,EAAA0G,IAAA,qBAAAvG,CAAAA,EAAAK,CAAAA,GAAA,MAAAJ,CAAAA,EAAAD,EAAA8E,MAAA,SAAA5E,CAAAA,EAAAD,EAAA4E,eAAA,SAAA1E,CAAAA,EAAAD,EAAA4E,MAAA,SAAA1E,CAAAA,EAAAD,EAAAoH,cAAA,SAAAnH,EAAA0E,MAAA,GAAAzE,CAAAA,EAAAyE,MAAA,CAAAD,eAAA,CAAAC,MAAA,CAAAyC,cAAA,CAAAzC,MAAA,CAAA0C,aAAA,KAAA3H,EAAA4B,MAAA,WAAAmE,QAAAvF,CAAA,4BAAAR,EAAA6B,IAAA,KAAA7B,EAAA,aAAAA,CAAA,SAAAC,GAAA6B,KAAA,MAAAC,UAAA,MAAA1B,CAAA,EAAAkC,EAAAqF,SAAA,CAAA3H,CAAAA,EAAA6G,OAAA,CAAA7C,CAAA,iBAAAjE,CAAA,CAAAC,CAAA,CAAAC,CAAA,GAAA2H,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAA/H,IAAA,+BAAAG,EAAA,qBAAAF,CAAA,EAAAA,EAAA0C,CAAA,oDAAA1C,EAAAA,EAAAS,CAAA,UAAAsH,KAAA/H,EAAA0C,CAAA","sources":["webpack://_N_E/./adapters/model/ContentfulClient.js","webpack://_N_E/./pages/article.js","webpack://_N_E/?8b27","webpack://_N_E/"],"sourcesContent":["const contentful = require('contentful');\n\nclass ContentfulClient {\n\n constructor() {\n this.personalAccessToken = process.env.CF_PERSONAL_ACCESS_TOKEN;\n this.deliveryAccessToken = process.env.CF_DELIVERY_ACCESS_TOKEN;\n this.spaceId = process.env.CF_SPACE_ID;\n this.environmentId = process.env.CF_ENVIRONMENT;\n\n if(this.deliveryAccessToken && this.deliveryAccessToken !== '') {\n this.contentfulClient = contentful.createClient({\n space: this.spaceId,\n accessToken: this.deliveryAccessToken,\n environment: this.environmentId\n });\n }\n\n }\n\n static create() {\n return new ContentfulClient();\n }\n getPersonalAccessToken() {\n return this.personalAccessToken;\n }\n getDeliveryAccessToken() {\n return this.deliveryAccessToken;\n }\n getSpaceId() {\n return this.spaceId;\n }\n getEnvironmentId() {\n return this.environmentId;\n }\n\n async getClient() {\n return this.contentfulClient;\n }\n}\n\nexport default new ContentfulClient();","import '@babel/polyfill';\nimport React, {Fragment} from 'react'\nimport PropTypes from 'prop-types'\nimport dynamic from 'next/dynamic';\nimport Router from 'next/router';\nimport Block from '../adapters/helpers/Block';\nconst Meta = dynamic(()=>import('../components/Meta/Meta'))\nimport contentfulClient from '../adapters/model/ContentfulClient';\nconst ArticlePageSEO = dynamic(()=>import('../components/SEOschema/ArticlePageSEO'))\nconst FaqSectionSEO = dynamic(()=>import('../components/SEOschema/FaqSectionSEO'))\nconst HowToSEO = dynamic(()=>import('../components/SEOschema/HowToSEO'))\nconst GTMScriptFunction = dynamic(()=>import('../components/GTMScriptFunction'))\n\nclass Article extends React.Component {\n\n componentDidMount() {\n Router.beforePopState(({as}) => {\n location.href = as;\n });\n }\n\n static async getInitialProps({ asPath }) {\n const client = await contentfulClient.getClient();\n const locales = await client.getLocales();\n const defaultLocale = locales.items.find(locale => locale.default);\n const countryCode = defaultLocale.code.slice(-2);\n const languageCode = defaultLocale.code.substring(0, 2);\n\n const baseProps = await this.initPage(asPath);\n baseProps.countryCode = countryCode;\n baseProps.languageCode = languageCode;\n return {\n ...baseProps\n }\n }\n\n static async initPage(slug) {\n let article = undefined;\n\n // Errors pages doesn't have a page entry in Contentful CMS\n if (slug) {\n const { default: articleDao } = await import('Model/dao/ArticleDao');\n article = await articleDao.getActiveArticleBySlug(slug);\n }\n if(article?.fields?.articleOverview?.fields?.thumbnailImage?.fields){\n article.fields.articleOverview.fields.thumbnailImage.fields.isBannerImage = true\n }\n return {'article' : article};\n }\n\n constructor(props) {\n super(props);\n }\n\n /**\n * Rendering of the page. This always render the page using a common layout.\n *\n * Override the render method to do otherwise.\n *\n * @returns {*}\n */\n render() {\n let article = this.getArticle();\n let pagePath = article?.articleOverview?.fields?.slug?.fields?.slug;\n let howTo = this.getHowTo();\n let faqSchema=this.getFaqSchema();\n let metaData = this.getMetadata()\n if(metaData){\n metaData.pageType = 'article'\n }\n return (\n \n \n
\n {this.renderBody()}\n
\n \n {faqSchema && }\n {howTo && }\n \n
\n )\n }\n\n getArticle() {\n return this.props?.article?.fields;\n }\n\n getFaqSchema(){\n return this.props?.article?.fields?.faqSchema;\n }\n\n getHowTo() {\n return this.props?.article?.fields?.howTo;\n }\n \n getMetadata() {\n return this.props?.article?.fields?.metadata?.fields;\n }\n\n /**\n * By default, the page will render the modules of the Product.\n * Can be overridden on the child class to do specific rendering.\n * @returns {*|void}\n */\n renderBody() {\n return new Block(this.props.article).renderChildBlocks({ extraAttributes : {entity: this.getArticle()}});\n }\n}\n\nArticle.propTypes = {\n article: PropTypes.object,\n languageCode: PropTypes.string,\n countryCode: PropTypes.string\n}\n\nexport default Article\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/article\",\n function () {\n return require(\"private-next-pages/article.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/article\"])\n });\n }\n ","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1309],{57503:function(e,t,n){\"use strict\";var r=n(49376),i=n.n(r),a=n(33227),u=n.n(a),c=n(88361),o=n.n(c),s=n(87794),l=n.n(s),f=n(96454),d=function(){function e(){u()(this,e),this.personalAccessToken=\"\",this.deliveryAccessToken=\"98n-XsE3-TWhr-b_aHbb9og3-bxgKT5Upq7lyXO1Mxs\",this.spaceId=\"2gbekol4uxxy\",this.environmentId=\"master\",this.deliveryAccessToken&&\"\"!==this.deliveryAccessToken&&(this.contentfulClient=f.createClient({space:this.spaceId,accessToken:this.deliveryAccessToken,environment:this.environmentId}))}var t;return o()(e,[{key:\"getPersonalAccessToken\",value:function(){return this.personalAccessToken}},{key:\"getDeliveryAccessToken\",value:function(){return this.deliveryAccessToken}},{key:\"getSpaceId\",value:function(){return this.spaceId}},{key:\"getEnvironmentId\",value:function(){return this.environmentId}},{key:\"getClient\",value:(t=i()(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",this.contentfulClient);case 1:case\"end\":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}],[{key:\"create\",value:function(){return new e}}]),e}();t.Z=new d},92575:function(e,t,n){\"use strict\";n.r(t);var r=n(930),i=n.n(r),a=n(49376),u=n.n(a),c=n(33227),o=n.n(c),s=n(88361),l=n.n(s),f=n(85971),d=n.n(f),p=n(52715),h=n.n(p),v=n(91193),y=n.n(v),g=n(87794),b=n.n(g),k=(n(26981),n(67294)),w=n(5152),m=n.n(w),O=n(11163),x=n.n(O),P=n(40483),T=n(57503),j=n(85893);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t