{"version":3,"sources":["webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.less?b4ad","webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.vue?b682","webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.ts","webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.vue?6700","webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.vue?c68b","webpack:///./src/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.vue","webpack:///./src/assets/images/cms/chevron_open.svg","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.vue?a9a3","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.ts","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.vue?bcfe","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.vue?9ff9","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.vue","webpack:///./src/assets/images/cms/resource_link.svg","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.less?0b02","webpack:///./src/assets/images/cms/download_primary_button.svg","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.less?529d","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?cf84","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.ts","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?0f28","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue?47c6","webpack:///./src/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue","webpack:///./src/commoncomponents/CmsLabelComponent/CmsLabelComponent.vue?ba9d","webpack:///./src/commoncomponents/CmsLabelComponent/CmsLabelComponent.vue?a2a8","webpack:///./src/commoncomponents/CmsLabelComponent/CmsLabelComponent.vue?91ce","webpack:///./src/commoncomponents/CmsLabelComponent/CmsLabelComponent.vue","webpack:///./src/commoncomponents/CmsLabelComponent/CmsLabelComponent.less?6197","webpack:///./src/mixins/deviceWidthChecker.mixin.ts","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.less?76a5","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.less?57be","webpack:///./src/assets/images/cms/view_primary_button.svg","webpack:///./src/utilities/contentfulGraphQLHelpers.ts","webpack:///./src/assets/images/cms/checkmark.svg","webpack:///./src/assets/images/cms/chevron_right_nav_link.svg","webpack:///./src/assets/images/cms/chevron_closed.svg","webpack:///./src/assets/images/cms/man_woman.svg","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.vue?c7b8","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.ts","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.vue?e1e8","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.vue?3c39","webpack:///./src/commoncomponents/CmsAccordion/CmsAccordion.vue","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.vue?2bfa","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.ts","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.vue?0c97","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.vue?0a7d","webpack:///./src/commoncomponents/CmsTagComponent/CmsTagComponent.vue","webpack:///./src/assets/images/cms/blue-lock-icon.svg","webpack:///./src/assets/images/common-icon/bird.svg","webpack:///./src/components/cms/mediaResourceLandingPage/MediaResourceLandingPage.less?0cb2","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.vue?b159","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.ts","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.vue?79e8","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.vue?1156","webpack:///./src/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.vue","webpack:///./src/assets/images/cms/link_bullet_blue.svg"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","attrs","_v","CmsNotAuthorizedComponent","Vue","Component","name","component","module","exports","_e","isAuthorized","routineData","id","length","key","resourceIdQuery","_s","title","heroImage","labelData","itemDescription","staticStyle","on","openCourse","buttonType","linkIcon","getButtonText","url","relatedContentCards","tagList","getCopyrightMessage","RoutineLandingPage","checkmarkImage","Checkmark","resourceLinkImage","Bullet","navLinksChevron","ChevronRight","ResourceLink","resourceId","objectivesList","navLinks","allowDownload","fileUrl","loading","store","checkCMSEnabledReRoute","$router","push","path","data","DownloadLink","ViewLink","APP_CONST","CONTENTFUL_GRAPHQL_URL","CONTENTFUL_GRAPHQL_SPACE","CONTENTFUL_GRAPHQL_ENV","headers","Authorization","CONTENTFUL_GRAPHQL_TOKEN","method","axios","query","getContentfulGraphQLQuery","then","result","mediaResourceData","getRelatedContentfulGraphQLQuery","relatedResult","mediaResource","structuredData","mediaResourceResponseToData","isAuthorizedContent","setButtonType","catch","err","console","error","$route","fetchData","window","open","APP_ROUTES","CMS_VIEW_PDF_LANDING","analyticsService","track","analyticsEventNames","LEARNING_MEDIA_RESOURCE_DOWNLOADED","toString","$watch","updatedId","programListStore","appSetting","Mixins","DeviceWidthCheckerMixin","tslib_1","Inject","AnalyticsInjectionKey","Prop","Watch","immediate","deep","components","BreadcrumbComponent","MobileScreenUnavailable","CmsCardComponent","CmsAccordion","CmsTagComponent","CmsLabelComponent","CmsCardCarousel","BouncingPreloaderComponent","MediaResourceLandingPage","style","STYLE","COLOR","PRIMARY_700","getScreenText","screenText","ScreenText","_l","index","getIconForLabelType","type","value","isMobile","APP_UTILITIES","isMobilePortrait","checkClientDeviceWidth","addEventListener","removeEventListener","globalContentFields","fitnessSpecificFields","fitnessContentFields","globalActivityFields","richTextFieldsGQL","mediaVideoResourceFragment","relatedTypesMetaFragment","globalActivityRichTextFields","activityThemeRichTextFields","contentTypesFragments","mediaResourceLong","routine","strategy","course","learnAbout","contentPreview","activityTheme","activityConnections","activityDiscussions","activityFitness","activityLifeSkills","activityServiceLearning","activityBlast","relatedTypesFragment","relatedItemsFragment","additionalResourcesFragment","relatedVideoItemsFragment","contentType","contentId","isPreview","isPreviewUrl","getActivityRichTextFieldsGraphQLQuery","getAdditionalResources","getVideoContentGraphQLQuery","getRelatedVideoContentfulGraphQLQuery","hash","location","params","URLSearchParams","slice","indexOf","get","class","closed","isOpen","accordionData","backgroundColor","NEUTRAL_100","handleClick","icon","subTitle","hideChevron","chevronIcon","description","contentHeight","_t","propOpen","undefined","$nextTick","content","$el","getElementsByClassName","clientHeight","handleResize","ChevronOpen","ChevronClosed","event","log","required","default","ManWoman","props","cardData","Object","$event","tag","CMS_CATALOG","Array","tagData","localConst","MOBILE_ERROR_SORRY_TEXT","MOBILE_ERROR_MESSAGE_TEXT","objScreenText"],"mappings":"iPAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,4BAA4B,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,IAAM,EAAQ,WAAmDJ,EAAG,KAAK,CAACL,EAAIU,GAAG,8DAA8DL,EAAG,IAAI,CAACL,EAAIU,GAAG,wE,wECKvTC,EAAyB,kJAASC,QAAlCD,EAAyB,QAJ7CE,eAAU,CACTC,KAAM,wBAGaH,WCINA,ICVuZ,I,wBCQlaI,EAAY,eACd,EACAhB,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAQ,E,8BCnBfC,EAAOC,QAAU,IAA0B,iC,2CCA3C,IAAIlB,EAAS,WAAa,IAAIC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I,OAAU6B,WAAW4H,YAAY7J,KAAMa,MAAO,CAAC+I,IAAKA,SAC9E,EARiC,CAAS1M,QAI3C4F,QAHCG,eAAK,CACJwB,KAAMqF,SACN,8BAHiBpG,EAAe,QANnCvG,eAAU,CACTC,KAAM,eACNoM,MAAO,CACLO,QAAS,CAAEtF,KAAMqF,WAGApG,WCONA,IChB6Y,I,wBCQxZrG,EAAY,eACd,EACAhB,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAQ,E,8BCnBfC,EAAOC,QAAU,IAA0B,mC,mECA3CD,EAAOC,QAAU,IAA0B,yB,kCCA3C,W,yCCAA,IAAIlB,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,YAAY,wBAAwB,CAACH,EAAG,KAAK,CAACL,EAAIU,GAAGV,EAAIyB,GAAGzB,EAAI0N,WAAWC,4BAA4BtN,EAAG,MAAM,CAACG,YAAY,aAAaC,MAAM,CAAC,IAAM,EAAQ,QAA4C,IAAM,kBAAkBJ,EAAG,IAAI,CAACL,EAAIU,GAAGV,EAAIyB,GAAGzB,EAAI0N,WAAWE,iCAC9WrN,EAAkB,G,4GCGD0G,EAAuB,YAD5C,mBAIsC,OAJtC,uB,+DAGY,EAAA4G,cAA4B,IAAI9F,OACjC,EAAA2F,WAAiB5J,OAAU,EAIjC,OAPuC,oBAQ3C,sDAHwBvC,GACjB,OAAOtB,KAAK4N,cAAchG,cAActG,OAC3C,EAPuC,CAASX,QAAhCqG,EAAuB,QAD3CpG,eAAU,KACUoG,WCMNA,ICVqZ,I,wBCQhalG,EAAY,eACd,EACAhB,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAQ,E,8BCnBfC,EAAOC,QAAU,IAA0B","file":"js/chunk-9c101234.5f08b9651bb5a6f6f0df.1725496708077.min.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CmsNotAuthorizedComponent.less?vue&type=style&index=0&id=567132a6&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"not-authorized-container\"},[_c('img',{attrs:{\"src\":require(\"./../../assets/images/cms/blue-lock-icon.svg\")}}),_c('h3',[_vm._v(\"Sorry, you don't have permission to access this content.\")]),_c('p',[_vm._v(\"To request access, contact the administrator for your program.\")])])}]\n\nexport { render, staticRenderFns }","import { Vue, Component } from \"vue-property-decorator\";\n\n@Component({\n name: \"cms-not-authorized\",\n\n})\nexport default class CmsNotAuthorizedComponent extends Vue {\n\n\n}\n","\n\n\n\n\n\n\n\n\nimport CmsNotAuthorizedComponent from \"./CmsNotAuthorizedComponent\";\nexport default CmsNotAuthorizedComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsNotAuthorizedComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsNotAuthorizedComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CmsNotAuthorizedComponent.vue?vue&type=template&id=567132a6&scoped=true&\"\nimport script from \"./CmsNotAuthorizedComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./CmsNotAuthorizedComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CmsNotAuthorizedComponent.less?vue&type=style&index=0&id=567132a6&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"567132a6\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/chevron_open.9aafd5b7.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content-container lx-landing-page\"},[(_vm.loading)?_c('div',{staticClass:\"loading\"},[_c('bouncing-preloader')],1):_vm._e(),(!_vm.isAuthorized)?_c('div',{staticClass:\"not-authorized-container\"},[_c('cms-not-authorized')],1):_vm._e(),(_vm.isAuthorized && _vm.routineData && !!_vm.routineData.id.length)?_c('div',{key:_vm.resourceIdQuery},[_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"course-title\"},[_vm._v(\" \"+_vm._s(_vm.routineData.title)+\" \")]),_c('div',{staticClass:\"course-image-container\"},[_c('img',{staticClass:\"course-image\",attrs:{\"src\":_vm.routineData.heroImage,\"alt\":\"\"}})])]),_c('div',{staticClass:\"course-facts-container\"},[_c('cms-content-label',{attrs:{\"labelData\":_vm.routineData.labelData}})],1),_c('div',{staticClass:\"description-container\"},[_c('div',{staticClass:\"description-content\"},[_vm._v(\" \"+_vm._s(_vm.routineData.itemDescription)+\" \")])]),_c('div',{staticClass:\"cta-buttons\",staticStyle:{\"margin-top\":\"24px\"}},[_c('button',{staticClass:\"btn-primary\",on:{\"click\":_vm.openCourse}},[(_vm.buttonType !== 'LINK')?_c('img',{attrs:{\"src\":_vm.linkIcon,\"alt\":\"\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.getButtonText())+\" \"),(_vm.routineData.url && _vm.routineData.url.length)?_c('img',{attrs:{\"src\":_vm.linkIcon,\"alt\":\"\"}}):_vm._e()])]),_c('div',{staticClass:\"divider\"}),(_vm.routineData && !!_vm.routineData.relatedContentCards.length)?_c('div',{key:_vm.routineData.id,staticClass:\"related-content-container\"},[_c('card-carousel',{attrs:{\"cardDataArr\":_vm.routineData && _vm.routineData.relatedContentCards,\"title\":\"Related Content\"}})],1):_vm._e(),(_vm.routineData.tagList && !!_vm.routineData.tagList.length)?_c('div',{staticClass:\"tags-container\"},[_c('cms-tag-list',{attrs:{\"tagData\":_vm.routineData.tagList}})],1):_vm._e(),_c('div',{staticClass:\"copyright-message\"},[_vm._v(_vm._s(_vm.getCopyrightMessage()))])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Inject, Prop, Watch } from \"vue-property-decorator\";\n\nimport CmsAccordion from \"@/commoncomponents/CmsAccordion/CmsAccordion.vue\";\nimport CmsCardCarousel from \"@/commoncomponents/CmsCardCarousel/CmsCardCarousel.vue\";\nimport CmsCardComponent from \"@/commoncomponents/CmsCardComponent/CmsCardComponent.vue\";\nimport CmsLabelComponent from \"@/commoncomponents/CmsLabelComponent/CmsLabelComponent.vue\";\nimport CmsTagComponent from \"@/commoncomponents/CmsTagComponent/CmsTagComponent.vue\";\nimport BreadcrumbComponent from \"@/commoncomponents/breadcrumbComponent/BreadcrumbComponent.vue\";\nimport MobileScreenUnavailable from \"@/commoncomponents/mobileScreenUnavailable/MobileScreenUnavailable.vue\";\nimport DeviceWidthCheckerMixin from \"@/mixins/deviceWidthChecker.mixin\";\nimport { Component, Mixins } from \"vue-property-decorator\";\nimport Checkmark from \"../../../assets/images/cms/checkmark.svg\";\nimport ChevronRight from \"../../../assets/images/cms/chevron_right_nav_link.svg\";\nimport Bullet from \"../../../assets/images/cms/link_bullet_blue.svg\";\nimport ResourceLink from \"../../../assets/images/cms/resource_link.svg\";\nimport ViewLink from \"../../../assets/images/cms/view_primary_button.svg\";\nimport DownloadLink from \"../../../assets/images/cms/download_primary_button.svg\";\n\nimport RichTextRenderer from \"contentful-rich-text-vue-renderer\";\n\nimport BouncingPreloaderComponent from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent.vue';\nimport APP_CONST from \"@/constants/AppConst\";\nimport {\n MediaResourcePageData,\n getCopyrightMessage,\n mediaResourceResponseToData,\n isAuthorizedContent,\n checkCMSEnabledReRoute\n} from \"@/utilities/cmsUtilities\";\nimport axios from \"axios\";\nimport CmsNotAuthorizedComponent from \"@/commoncomponents/CmsNotAuthorizedComponent/CmsNotAuthorizedComponent.vue\";\nimport { getContentfulGraphQLQuery, getRelatedContentfulGraphQLQuery } from \"@/utilities/contentfulGraphQLHelpers\";\nimport programListStore from \"@/store/modules/programList\";\nimport { AnalyticsInjectionKey, AnalyticsService, analyticsEventNames } from '@/analytics';\n\n@Component({\n components: {\n \"bread-crumb\": BreadcrumbComponent,\n \"mobile-unavailable-screen\": MobileScreenUnavailable,\n \"cms-card\": CmsCardComponent,\n \"collapsible-layout-card\": CmsAccordion,\n \"cms-tag-list\": CmsTagComponent,\n \"cms-content-label\": CmsLabelComponent,\n \"card-carousel\": CmsCardCarousel,\n \"bouncing-preloader\": BouncingPreloaderComponent,\n 'cms-not-authorized': CmsNotAuthorizedComponent,\n }\n})\nexport default class RoutineLandingPage extends Mixins(\n DeviceWidthCheckerMixin\n) {\n @Inject(AnalyticsInjectionKey)\n private readonly analyticsService!: AnalyticsService;\n \n //Images from assets folder\n checkmarkImage = Checkmark;\n resourceLinkImage = Bullet;\n navLinksChevron = ChevronRight;\n linkIcon = ResourceLink;\n\n buttonType: 'VIEW' | 'DOWNLOAD' | 'LINK' = 'DOWNLOAD';\n\n resourceId: string = \"\";\n @Prop()\n resourceIdQuery: string | undefined;\n\n routineData: MediaResourcePageData = {\n title: \"\",\n id: \"\",\n heroImage: \"\",\n objectivesList: [],\n tagList: [],\n labelData: [],\n navLinks: [],\n relatedContentCards: [],\n url: \"\",\n itemDescription: \"\",\n allowDownload: false,\n fileUrl: \"\",\n };\n loading: boolean = true;\n isAuthorized: boolean = true;\n\n\n /* istanbul ignore next */\n get lxEnabled() {\n return programListStore.appSetting;\n }\n @Watch('lxEnabled', { immediate: true, deep: true })\n cmsFeatureFlag(store: any) {\n if (checkCMSEnabledReRoute(store)) {\n this.$router.push({ path: '/' });\n }\n }\n\n\n setButtonType(data: MediaResourcePageData) {\n if (data.url && data.url.length) {\n this.buttonType = \"LINK\";\n this.linkIcon = ResourceLink;\n } else if (data.allowDownload) {\n this.buttonType = \"DOWNLOAD\";\n this.linkIcon = DownloadLink;\n } else {\n this.buttonType = \"VIEW\";\n this.linkIcon = ViewLink;\n }\n }\n\n async fetchData() {\n const url = `${APP_CONST.CONTENTFUL_GRAPHQL_URL}${APP_CONST.CONTENTFUL_GRAPHQL_SPACE}${APP_CONST.CONTENTFUL_GRAPHQL_ENV}`;\n const headers = { Authorization: `Bearer ${APP_CONST.CONTENTFUL_GRAPHQL_TOKEN}` };\n const method = 'post';\n return axios({\n url: url,\n headers: headers,\n method: method,\n data: {\n query: getContentfulGraphQLQuery(\"mediaResource\", this.resourceId)\n }\n })\n .then(result => {\n let mediaResourceData = result;\n // Get related content\n axios({\n url: url,\n headers: headers,\n method: method,\n data: {\n query: getRelatedContentfulGraphQLQuery(\"mediaResource\", this.resourceId, false)\n }\n }).then(relatedResult => {\n mediaResourceData.data.data.mediaResource = {\n ...mediaResourceData.data.data.mediaResource,\n ...relatedResult.data.data.mediaResource\n };\n const structuredData = mediaResourceResponseToData(\"mediaResource\", result);\n this.isAuthorized = isAuthorizedContent(structuredData);\n\n this.routineData = {\n ...structuredData\n };\n this.setButtonType(structuredData);\n this.loading = false;\n\n return structuredData;\n }).catch(err => {\n console.error(`Failed to Fetch Related Content`, err);\n });\n }).catch(err => {\n console.error(`Failed to Fetch Landing Page`, err);\n });\n }\n\n async updatedId() {\n const id: string = this.$route.query.id as string || '';\n this.loading = true;\n this.resourceId = id || \"\";\n this.fetchData();\n }\n\n openCourse() {\n if (!!this.routineData.url && this.routineData.url.length) {\n //Has External URL\n window.open(this.routineData.url, \"_blank\");\n } else if (this.buttonType === 'VIEW') {\n //Send to ViewPdf page\n this.$router.push({ path: APP_CONST.APP_ROUTES.CMS_VIEW_PDF_LANDING.path, query: { id: this.routineData.id } });\n } else if (this.buttonType === \"DOWNLOAD\") {\n window.open(this.routineData.fileUrl, \"_blank\");\n }\n \n this.analyticsService.track(analyticsEventNames.LEARNING_MEDIA_RESOURCE_DOWNLOADED);\n }\n\n getButtonText() {\n switch (this.buttonType) {\n case \"LINK\":\n return 'RESOURCE';\n break;\n case \"VIEW\":\n return 'VIEW RESOURCE';\n break;\n case \"DOWNLOAD\":\n return 'DOWNLOAD RESOURCE';\n break;\n default:\n return 'RESOURCE';\n break;\n }\n\n }\n\n beforeMount() {\n const id = this.$route.query.id;\n if (id) {\n this.resourceId = id.toString();\n }\n this.$watch(\"$route\", this.updatedId);\n // if(!this.courseData.courseId.length){\n this.fetchData();\n // }\n }\n\n getCopyrightMessage = getCopyrightMessage;\n\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport MediaResourceLandingPage from \"./MediaResourceLandingPage\";\nexport default MediaResourceLandingPage;\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MediaResourceLandingPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MediaResourceLandingPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MediaResourceLandingPage.vue?vue&type=template&id=8e80c9b6&scoped=true&\"\nimport script from \"./MediaResourceLandingPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./MediaResourceLandingPage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MediaResourceLandingPage.less?vue&type=style&index=0&id=8e80c9b6&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8e80c9b6\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/resource_link.7522a76c.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/download_primary_button.cb7da80e.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CmsTagComponent.less?vue&type=style&index=0&id=c591d02c&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bouncing-preloader\"},[_c('div',{key:\"spinner_loading\",style:({ 'color': _vm.STYLE.COLOR.PRIMARY_700 }),attrs:{\"uk-spinner\":\"ratio: 3.2667\"}}),_c('span',[_vm._v(_vm._s(_vm.getScreenText(\"BOUNCING_PRELOADER_LOADING\")))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport APP_CONST from '@/constants/AppConst';\n\n@Component\nexport class BouncingPreloaderComponent extends Vue {\n @Prop() viewClass!: string;\n\n private screenText: ScreenText = new ScreenText();\n\n readonly STYLE = APP_CONST.STYLE;\n\n public getScreenText(key: string): string {\n return this.screenText.getScreenText(key);\n }\n}","\n\n\n\n\n\n\n\n\n\n\n\nimport { BouncingPreloaderComponent } from '@/commoncomponents/bouncingpreloadercomponent/BouncingPreloaderComponent';\nexport default BouncingPreloaderComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BouncingPreloaderComponent.vue?vue&type=template&id=4eff2a66&scoped=true&\"\nimport script from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./BouncingPreloaderComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BouncingPreloaderComponent.less?vue&type=style&index=0&id=4eff2a66&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4eff2a66\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"label-container\"},_vm._l((_vm.labelData),function(data,index){return _c('div',{key:index,staticClass:\"label-item\"},[_c('img',{staticClass:\"label-icon\",attrs:{\"src\":_vm.getIconForLabelType(data.type),\"alt\":\"\"}}),_c('span',{staticClass:\"label-text\"},[_c('b',[_vm._v(_vm._s(data.title))]),_vm._v(\" \"+_vm._s(data.value)+\" \")])])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport CmsLabelComponent from \"./CmsLabelComponent\";\nexport default CmsLabelComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsLabelComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsLabelComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CmsLabelComponent.vue?vue&type=template&id=c25420ae&scoped=true&\"\nimport script from \"./CmsLabelComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./CmsLabelComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CmsLabelComponent.less?vue&type=style&index=0&id=c25420ae&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c25420ae\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CmsLabelComponent.less?vue&type=style&index=0&id=c25420ae&lang=less&scoped=true&\"","import APP_UTILITIES from '@/utilities/commonFunctions';\nimport { Vue, Component} from 'vue-property-decorator';\n\n@Component\nexport default class DeviceWidthCheckerMixin extends Vue {\n public isMobile: boolean = APP_UTILITIES.isMobile();\n public isMobilePortrait: boolean = APP_UTILITIES.isMobilePortrait();\n\n beforeMount(){\n this.checkClientDeviceWidth();\n window.addEventListener(\"resize\", this.checkClientDeviceWidth);\n }\n \n checkClientDeviceWidth(){\n this.isMobile = APP_UTILITIES.isMobile();\n this.isMobilePortrait = APP_UTILITIES.isMobilePortrait();\n }\n\n destroyed(){\n\t\twindow.removeEventListener(\"resize\", this.checkClientDeviceWidth);\n }\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./MobileScreenUnavailable.less?vue&type=style&index=0&id=322780dc&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./CmsAccordion.less?vue&type=style&index=0&id=991c3c12&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/view_primary_button.3cb49e3b.svg\";","// Contentful GraphQL query helpers\n// This file contains the GraphQL queries used to retrieve data from Contentful\n\n// Fields applicable to all non-activity content types\nconst globalContentFields = `\n sys {\n id\n }\n itemTitle\n itemShortDescription\n itemHeroImage {\n url\n }\n itemThumbnailLogo {\n url\n }\n audienceCollection {\n items {\n itemTitle\n }\n }\n tags\n`;\n\nconst fitnessSpecificFields = `\n grades\n completionTime\n numberOfKids\n shapeStandards\n fitnessFocus\n functionalMovements\n activates\n materialsEquipmentTeacher\n materialsEquipmentKids\n modifications\n`;\n\n\nconst fitnessContentFields = `\n ${globalContentFields}\n itemDescription\n ${fitnessSpecificFields}\n printablesCollection(limit: 10) {\n items {\n file {\n fileName\n url\n }\n }\n }\n blastDescription\n activityPartOne {\n json\n }\n activityPartOneTime\n activityPartTwo {\n json\n }\n activityTimePartTwoTime\n activityPartThree {\n json\n }\n activityPartThreeTime\n activityPartFour {\n json\n }\n activityPartFourTime\n objectives\n`;\n\n\n\n// Non-rich-text fields applicable to all activity content types\nconst globalActivityFields = `\n itemDescription\n objectives\n activityBanner {\n url\n }\n leadershipSkillsText\n completionTime\n lifeSkills\n printablesCollection(limit: 10) {\n items {\n file {\n fileName\n url\n }\n }\n }\n subscriptionCollection(limit: 10) {\n items {\n subscriptionCategory\n }\n }\n setupTime\n materialsTeacher\n materialsKids\n grades\n`;\n\n// GraphQL for rich text fields\nconst richTextFieldsGQL = `\n json\n links {\n assets {\n block {\n sys {\n id\n }\n url\n title\n width\n height\n description\n contentType\n }\n }\n }\n`;\n\nconst mediaVideoResourceFragment = `\n itemTitle\n itemShortDescription\n itemThumbnailLogo {\n fileName\n url\n }\n file {\n fileName\n url\n }\n`;\n\n// Types of content and their fields for related content and additional resources\nconst relatedTypesMetaFragment = `\n sys{\n id\n }\n itemTitle\n itemThumbnailLogo {\n url\n }\n itemHeroImage {\n url\n }\n itemShortDescription\n`;\n\n// Rich-text fields applicable to all activity content types\nconst globalActivityRichTextFields = `\n activityPartOne {\n ${richTextFieldsGQL}\n }\n activityPartTwo {\n ${richTextFieldsGQL}\n }\n activityPartThree{\n ${richTextFieldsGQL}\n }\n setupTeacher {\n ${richTextFieldsGQL}\n }\n`;\n\nconst activityThemeRichTextFields = `\n lifeSkillsCallout1 {\n ${richTextFieldsGQL}\n }\n lifeSkillsReminder2 {\n ${richTextFieldsGQL}\n }\n beforeYouStartText {\n ${richTextFieldsGQL}\n }\n technicallySpeaking1 {\n ${richTextFieldsGQL}\n }\n technicallySpeaking2 {\n ${richTextFieldsGQL}\n }\n technicallySpeaking3 {\n ${richTextFieldsGQL}\n }\n activityPartFour {\n ${richTextFieldsGQL}\n }\n activityPartFive {\n ${richTextFieldsGQL}\n }\n springboardPartOne {\n ${richTextFieldsGQL}\n }\n`;\n\n// Type specific fields for content types\nconst contentTypesFragments = {\n mediaResource: `\n itemDescription\n grades\n url\n resourceType\n allowFileDownload\n file {\n url\n fileName\n }\n `,\n mediaResourceLong: `\n itemDescription\n grades\n resourceType\n fileCollection {\n items {\n url\n fileName\n }\n }\n resourcesBodyContent {\n ${richTextFieldsGQL}\n }\n `,\n routine: `\n why\n grades\n routinePartOne{\n json\n }\n routinePartTwo{\n json\n }\n objectives\n authorCollection {\n items {\n authorName\n }\n }\n subscriptionCollection(limit: 10) {\n items {\n subscriptionCategory\n }\n }\n `,\n strategy: `\n objectives\n why\n grades\n strategyPartOne {\n json\n }\n strategyPartTwo {\n json\n }\n authorCollection {\n items{\n authorName\n }\n }\n subscriptionCollection(limit: 10) {\n items {\n subscriptionCategory\n }\n }\n `,\n course: `\n itemDescription{\n json\n }\n minCompletionTime\n maxCompletionTime\n credit\n objectives\n courseUrl\n thoughtIndustriesCourseIds\n surveyLink\n subject\n subscriptionCollection(limit: 10) {\n items {\n subscriptionCategory\n }\n }\n authorCollection {\n items{\n authorName\n }\n }\n `,\n learnAbout: `\n itemDescription\n learnAboutContent {\n ${richTextFieldsGQL}\n }\n `,\n contentPreview: `\n itemDescription\n releaseDate\n marketingContent {\n ${richTextFieldsGQL}\n }\n `,\n // Activty Types\n activityTheme: `\n ${globalActivityFields}\n ${globalActivityRichTextFields}\n activityBanner {\n url\n }\n itemTagline\n surveyLink\n activityTheme\n activityType\n numberOfKids\n academicConnections\n academicConnectionsNotes\n beforeYouStartTitle\n `,\n activityConnections: `\n ${globalActivityFields}\n ${globalActivityRichTextFields}\n activityTheme\n `,\n activityDiscussions: `\n ${globalActivityFields}\n ${globalActivityRichTextFields}\n activityTheme\n `,\n activityFitness: `\n ${fitnessContentFields}\n setupTeacher {\n ${richTextFieldsGQL}\n }\n videosCollection {\n items {\n ${mediaVideoResourceFragment}\n }\n }\n relatedBlastsCollection {\n items {\n __typename,\n ${relatedTypesMetaFragment}\n }\n }\n `,\n activityLifeSkills: `\n ${globalActivityFields}\n ${globalActivityRichTextFields}\n surveyLink\n activityTheme\n numberOfKids\n `,\n activityServiceLearning: `\n ${globalActivityFields}\n ${globalActivityRichTextFields}\n surveyLink\n numberOfKids\n `,\n activityBlast: `\n itemDescription\n grades\n numberOfKids\n completionTime\n gameDirections\n gameSteps {\n ${richTextFieldsGQL}\n }\n videosCollection {\n items {\n ${mediaVideoResourceFragment}\n }\n }\n `\n};\n\n\nconst relatedTypesFragment = `\n items {\n __typename\n ...on Course {\n ${relatedTypesMetaFragment}\n minCompletionTime\n maxCompletionTime\n }\n ...on ActivityConnections {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityDiscussions {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityLifeSkills {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityServiceLearning {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityTheme {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityBlast {\n ${relatedTypesMetaFragment}\n }\n ...on ActivityFitness {\n ${relatedTypesMetaFragment}\n }\n ...on MediaResource {\n ${relatedTypesMetaFragment}\n itemDescription\n file {\n url\n }\n }\n ...on MediaResourceVideo {\n sys {\n id\n },\n itemThumbnailLogo {\n url\n }\n itemTitle,\n itemDescription: itemShortDescription,\n completionTimeMinutes,\n completionTimeSeconds,\n grades,\n tags,\n file {\n url\n }\n }\n ...on MediaResourceLong {\n ${relatedTypesMetaFragment}\n }\n ...on Strategy {\n ${relatedTypesMetaFragment}\n }\n ...on Routine {\n ${relatedTypesMetaFragment}\n }\n ...on LearnAbout {\n ${relatedTypesMetaFragment}\n }\n ...on ContentPreview {\n ${relatedTypesMetaFragment}\n }\n }\n`;\n\n// Fragment for related\nconst relatedItemsFragment = `\n relatedContentCollection {\n ${relatedTypesFragment}\n }\n`;\n\nconst additionalResourcesFragment = `\n relatedResourcesCollection {\n ${relatedTypesFragment}\n }\n`;\n\nconst relatedVideoItemsFragment = `\n relatedContentCollection {\n ${relatedTypesFragment}\n }\n`;\n\n// Get landing page display data\nexport const getContentfulGraphQLQuery = (contentType: string, contentId: String) => {\n const isPreview = isPreviewUrl();\n const query = `\n query {\n ${contentType}(id: \"${contentId}\", preview: ${isPreview}) {\n ${globalContentFields}\n ${contentTypesFragments[contentType as keyof typeof contentTypesFragments]}\n }\n }\n `;\n return query;\n};\n\n// Get Activity Theme Rich Text Fields (Too complex for a single GQL Query)\nexport const getActivityRichTextFieldsGraphQLQuery = (contentType: string, contentId: String) => {\n const query = `\n query {\n ${contentType}(id: \"${contentId}\") {\n sys {\n id\n }\n ${contentType == 'activityTheme' ? activityThemeRichTextFields : ''}\n }\n }\n `;\n return query;\n};\n\n// Get related content data\nexport const getRelatedContentfulGraphQLQuery = (contentType: string, contentId: String, getAdditionalResources: boolean) => {\n const isPreview = isPreviewUrl();\n const query = `{\n ${contentType}(id: \"${contentId}\", preview: ${isPreview}) {\n ${relatedItemsFragment}\n ${getAdditionalResources ? additionalResourcesFragment : ''}\n }\n }`;\n return query;\n};\n\nexport const getVideoContentGraphQLQuery = (contentId: String) => {\n const isPreview = isPreviewUrl();\n const query = `\n query {\n mediaResourceVideo(id: \"${contentId}\", preview: ${isPreview}) {\n __typename,\n sys {\n id\n },\n itemTitle,\n itemShortDescription\n itemDescription{\n json\n },\n completionTimeMinutes,\n completionTimeSeconds,\n grades,\n tags,\n file {\n url\n }\n }\n }\n `;\n return query;\n};\n\nexport const getRelatedVideoContentfulGraphQLQuery = (\n contentType: string,\n contentId: String\n) => {\n const query = `{\n ${contentType}(id: \"${contentId}\") {\n ${relatedVideoItemsFragment}\n }\n }`;\n return query;\n};\n\n\nfunction isPreviewUrl() {\n const hash = window.location.hash;\n const params = new URLSearchParams(hash.slice(hash.indexOf(\"?\")));\n return params.get(\"preview\") === \"true\" ? 'true' : 'false';\n}\n","module.exports = __webpack_public_path__ + \"img/checkmark.9c416c6d.svg\";","module.exports = __webpack_public_path__ + \"img/chevron_right_nav_link.46d658e4.svg\";","module.exports = __webpack_public_path__ + \"img/chevron_closed.79811747.svg\";","module.exports = __webpack_public_path__ + \"img/man_woman.197b68ce.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"accordion-container\",class:{ closed: !_vm.isOpen },style:({\n 'background-color': _vm.accordionData.backgroundColor ? _vm.accordionData.backgroundColor : _vm.STYLE.COLOR.NEUTRAL_100\n })},[_c('div',{staticClass:\"accordion-content\",on:{\"click\":_vm.handleClick}},[_c('div',{staticClass:\"title-chevron\"},[_c('div',{staticClass:\"accordion-title\"},[(!!_vm.accordionData.icon)?_c('img',{staticClass:\"title-icon-image\",attrs:{\"alt\":\"Title Icon\",\"src\":_vm.accordionData.icon}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.accordionData.title)+\" \"),(!!_vm.accordionData.subTitle)?_c('span',{staticClass:\"accordion-subtitle\"},[_vm._v(\" \"+_vm._s(_vm.accordionData.subTitle)+\" \")]):_vm._e()]),(!_vm.hideChevron)?_c('div',{staticClass:\"accordion-icon\"},[_c('img',{staticClass:\"accordion-icon-image\",attrs:{\"alt\":\"Open Close Icon\",\"src\":_vm.chevronIcon}})]):_vm._e()]),(!!_vm.accordionData.description)?_c('div',{staticClass:\"accordion-description\"},[_vm._v(\" \"+_vm._s(_vm.accordionData.description)+\" \")]):_vm._e()]),_c('div',{class:{'collapse-container': !_vm.hideChevron},style:(!_vm.hideChevron ? { 'height': _vm.isOpen ? (\"\" + _vm.contentHeight) : '0px', 'padding-bottom': _vm.isOpen ? '5px' : '0px' } : {})},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from 'vue-property-decorator';\nimport ManWoman from '../../assets/images/cms/man_woman.svg';\nimport ChevronOpen from '../../assets/images/cms/chevron_open.svg';\nimport ChevronClosed from '../../assets/images/cms/chevron_closed.svg';\nimport APP_CONST from '@/constants/AppConst';\n\nexport type CollapseData = {\n title: string;\n subTitle?: string;\n icon?: string;\n description?: string;\n hideChevron?: boolean;\n backgroundColor?: string;\n};\n\n@Component({\n name: 'collapsible-layout-card',\n props: {\n cardData: {\n type: Object\n }\n }\n})\nexport default class CmsAccordion extends Vue {\n private propOpen: boolean | undefined = undefined;\n readonly STYLE = APP_CONST.STYLE;\n\n @Prop({\n required: false,\n default: () => true\n })\n isOpen!: boolean;\n\n chevronIcon!: string;\n\n hideChevron: boolean = false;\n\n @Prop({\n required: true,\n default: () => ({\n title: \"Title\",\n subTitle: \"(10 min)\",\n icon: ManWoman,\n description:\n \"View the resources associated with this course.\",\n hideChevron: false\n })\n })\n accordionData!: CollapseData;\n\n contentHeight: string = 'unset';\n\n handleResize() {\n this.contentHeight = 'unset';\n this.$nextTick(() => {\n const content = this.$el.getElementsByClassName('collapse-container')[0];\n if (content) {\n if (this.contentHeight === 'unset') {\n this.contentHeight = `${content.clientHeight}px`;\n if (this.propOpen !== undefined) {\n this.isOpen = this.propOpen;\n }\n }\n }\n });\n }\n\n mounted() {\n this.$nextTick(() => {\n /**\n * Since the height of the child content is variable, css has trouble animating the height of the parent.\n * This function captures the height of the child when the component first mounts.\n * */\n this.handleResize();\n });\n }\n\n beforeMount() {\n this.chevronIcon = this.isOpen ? ChevronOpen : ChevronClosed;\n if (this.accordionData.hideChevron === true) {\n this.hideChevron = true;\n this.isOpen = true;\n }\n this.propOpen = this.isOpen;\n this.isOpen = true;\n }\n\n\n\n created() {\n window.addEventListener(\"resize\", this.handleResize);\n window.addEventListener(\"beforeprint\", (event) => {\n this.handleResize();\n });\n }\n\n destroyed() {\n window.removeEventListener(\"resize\", this.handleResize);\n }\n\n handleClick() {\n if (!this.hideChevron) {\n this.isOpen = !this.isOpen;\n if (this.isOpen) {\n this.chevronIcon = ChevronOpen;\n } else {\n this.chevronIcon = ChevronClosed;\n }\n }\n console.log(this.isOpen);\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport CmsAccordion from './CmsAccordion';\nexport default CmsAccordion;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsAccordion.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsAccordion.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CmsAccordion.vue?vue&type=template&id=991c3c12&scoped=true&\"\nimport script from \"./CmsAccordion.vue?vue&type=script&lang=ts&\"\nexport * from \"./CmsAccordion.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CmsAccordion.less?vue&type=style&index=0&id=991c3c12&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"991c3c12\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tags-container\"},[_c('span',{staticClass:\"title-text\"},[_vm._v(\"Tags:\")]),_vm._l((_vm.tagData),function(data,index){return _c('div',{key:index,staticClass:\"tag-item\",on:{\"click\":function($event){return _vm.handleClick(data)}}},[_c('span',{staticClass:\"label-text\"},[_vm._v(_vm._s(data))])])})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from \"vue-property-decorator\";\nimport APP_CONST from \"@/constants/AppConst\";\n\n@Component({\n name: \"cms-tag-list\",\n props: {\n tagData: { type: Array }\n }\n})\nexport default class CmsTagComponent extends Vue {\n @Prop({\n type: Array\n })\n tagData!: Array;\n\n handleClick(tag: any) {\n this.$router.push({path: APP_CONST.APP_ROUTES.CMS_CATALOG.path, query: {tag: tag}});\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport CmsTagComponent from \"./CmsTagComponent\";\nexport default CmsTagComponent;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsTagComponent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CmsTagComponent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CmsTagComponent.vue?vue&type=template&id=c591d02c&scoped=true&\"\nimport script from \"./CmsTagComponent.vue?vue&type=script&lang=ts&\"\nexport * from \"./CmsTagComponent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CmsTagComponent.less?vue&type=style&index=0&id=c591d02c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c591d02c\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/blue-lock-icon.493c6bba.svg\";","module.exports = __webpack_public_path__ + \"img/bird.6ac1b672.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./MediaResourceLandingPage.less?vue&type=style&index=0&id=8e80c9b6&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mobile-error-section\"},[_c('h1',[_vm._v(_vm._s(_vm.localConst.MOBILE_ERROR_SORRY_TEXT))]),_c('img',{staticClass:\"error-icon\",attrs:{\"src\":require(\"../../assets/images/common-icon/bird.svg\"),\"alt\":\"error screen\"}}),_c('p',[_vm._v(_vm._s(_vm.localConst.MOBILE_ERROR_MESSAGE_TEXT))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component } from 'vue-property-decorator';\nimport APP_CONST from '@/constants/AppConst';\nimport { ScreenText } from '@/lang/ScreenText'\n@Component({})\nexport default class MobileScreenUnavailable extends Vue {\n \n private objScreenText: ScreenText = new ScreenText();\n public localConst:any = APP_CONST;\n\n public getScreenText(key: string): string {\n return this.objScreenText.getScreenText(key);\n }\n}","\n\n\n\n\n\n\n\n\nimport MobileScreenUnavailable from \"./MobileScreenUnavailable\";\nexport default MobileScreenUnavailable;\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MobileScreenUnavailable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MobileScreenUnavailable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MobileScreenUnavailable.vue?vue&type=template&id=322780dc&scoped=true&\"\nimport script from \"./MobileScreenUnavailable.vue?vue&type=script&lang=ts&\"\nexport * from \"./MobileScreenUnavailable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MobileScreenUnavailable.less?vue&type=style&index=0&id=322780dc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"322780dc\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/link_bullet_blue.2ece969a.svg\";"],"sourceRoot":""}