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AAA5C,EAAA6C,QAAA,cAAA3C,GAAA,MAAAD,CAAAA,EAAAC,EAAA4C,MAAA,SAAA7C,EAAA8C,WAAA,IAAAxC,EAAAyC,EAAA,CAAAC,eAAA,IAAA9C,EAAA+C,GAAA,EAAAxC,EAAA,CAAAS,gBAAAjB,EAAAoB,mBAAAhB,EAAAkB,qBAAAD,EAAAG,sBAAAD,EAAAE,oBAAAvB,EAAAyB,WAAAD,EAAAG,UAAAD,EAAAG,WAAAD,EAAAG,oBAAAD,EAAAG,qBAAAD,EAAAS,SAAAD,CAAA,MAAAzC,EAAA+C,GAAA,EAAAjC,EAAA,CAAAkC,MAAAjD,EAAAqC,aAAAD,EAAAG,uBAAAD,EAAAG,sBAAAD,EAAAtB,mBAAAZ,EAAA4C,oBAAA3C,EAAAoC,SAAAD,CAAA,GAAAtC,EAAA+C,YAAA,EAAAlC,gBAAA,OAAAC,mBAAA,EAAAC,iBAAA,EAAAwB,SAAA","sources":["webpack://_N_E/./components/Content/BackgroundWrapper.js","webpack://_N_E/"],"sourcesContent":["import {ContentConstants} from '../../adapters/helpers/Constants';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport dynamic from 'next/dynamic';\nconst VideoBackgroundWrapper = dynamic(() => import('./VideoBackgroundWrapper'));\nconst Image = dynamic(() => import('../Image/Image'));\n\nexport default function BackgroundWrapper({\n backgroundAsset,\n backgroundPosition,\n sectionOffsetTop,\n mainAssetOffsetTop,\n mainAssetOffsetRight,\n mainAssetOffsetBottom,\n mainAssetOffsetLeft,\n pauseLabel,\n playLabel,\n resetLabel,\n openTranscriptLabel,\n closeTranscriptLabel,\n preloadImage,\n desktopBackgroundImage,\n mobileBackgroundImage,\n children\n }) {\n switch(backgroundAsset?.fields?.contentType) {\n case ContentConstants.cloudinaryVideo:\n return (\n \n {children}\n \n );\n default:\n return (\n \n {children}\n \n );\n }\n}\n\nBackgroundWrapper.propTypes = {\n backgroundAsset: PropTypes.any,\n backgroundPosition: PropTypes.any,\n sectionOffsetTop: PropTypes.any,\n children: PropTypes.node,\n mainAssetOffsetTop: PropTypes.string,\n mainAssetOffsetRight: PropTypes.string,\n mainAssetOffsetBottom: PropTypes.string,\n mainAssetOffsetLeft: PropTypes.string,\n};\n\nBackgroundWrapper.defaultProps = {\n backgroundAsset: undefined,\n backgroundPosition: 0,\n sectionOffsetTop: 0,\n children: null,\n};\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[366],{40366:function(e,n,t){t.r(n),t.d(n,{default:function(){return c}});var a=t(24036),s=(t(67294),t(5152)),o=t.n(s),r=t(85893),i=o()((function(){return Promise.all([t.e(9636),t.e(7749),t.e(7115),t.e(8411),t.e(2844),t.e(5509),t.e(3123)]).then(t.bind(t,83123))}),{loadableGenerated:{webpack:function(){return[83123]}}}),l=o()((function(){return Promise.resolve().then(t.bind(t,48084))}),{loadableGenerated:{webpack:function(){return[48084]}}});function c(e){var n,t=e.backgroundAsset,s=e.backgroundPosition,o=e.sectionOffsetTop,c=e.mainAssetOffsetTop,u=e.mainAssetOffsetRight,f=e.mainAssetOffsetBottom,d=e.mainAssetOffsetLeft,b=e.pauseLabel,p=e.playLabel,m=e.resetLabel,g=e.openTranscriptLabel,k=e.closeTranscriptLabel,h=e.preloadImage,L=e.desktopBackgroundImage,A=e.mobileBackgroundImage,O=e.children;switch(null==t||null==(n=t.fields)?void 0:n.contentType){case a.Kd.cloudinaryVideo:return(0,r.jsx)(i,{backgroundAsset:t,mainAssetOffsetTop:c,mainAssetOffsetRight:u,mainAssetOffsetBottom:f,mainAssetOffsetLeft:d,pauseLabel:b,playLabel:p,resetLabel:m,openTranscriptLabel:g,closeTranscriptLabel:k,children:O});default:return(0,r.jsx)(l,{image:t,preloadImage:h,desktopBackgroundImage:L,mobileBackgroundImage:A,backgroundPosition:s,backgroundOffsetTop:o,children:O})}}c.defaultProps={backgroundAsset:void 0,backgroundPosition:0,sectionOffsetTop:0,children:null}}}]);"],"names":["self","webpackChunk_N_E","push","e","n","t","r","d","default","c","a","s","o","i","Promise","all","then","bind","loadableGenerated","webpack","l","resolve","backgroundAsset","backgroundPosition","sectionOffsetTop","mainAssetOffsetTop","u","mainAssetOffsetRight","f","mainAssetOffsetBottom","mainAssetOffsetLeft","b","pauseLabel","p","playLabel","m","resetLabel","g","openTranscriptLabel","k","closeTranscriptLabel","h","preloadImage","L","desktopBackgroundImage","A","mobileBackgroundImage","O","children","fields","contentType","Kd","cloudinaryVideo","jsx","image","backgroundOffsetTop","defaultProps"],"sourceRoot":""}