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UAAYmC,EAAOjE,OAAOwF,WAAavB,EAAOjE,OAAOgC,OAAQ,kBAAc,wBAAoB,IAAKjG,EAAa,2CAA4C,wBAAoB,IAAI,YAAe,iBAAa0I,EAA8B,CACrXoB,KAAM1B,EAAM/E,aACZ,gBAAiB6E,EAAOjE,OAAOkD,cAC/B4C,QAAS7B,EAAOjE,OAChB,8BAA+BoE,EAASlE,wBACxC,+BAAgC,UAChC6F,QAAS/B,EAAO,KAAOA,EAAO,GAAK,SAAUc,GAC3C,OAAOX,EAAM/E,cAAe,CAC9B,IACC,KAAM,EAAG,CAAC,OAAQ,gBAAiB,UAAW,iCAAiC,iBAAasF,EAAgC,CAC7H1E,OAAQiE,EAAOjE,OACf,iCAAkCoE,EAASjE,2BAC3C,mCAAoCiE,EAAS/D,4BAC7C,2BAA4B+D,EAAShE,uBACrCyF,KAAM1B,EAAM9E,sBACZ,yBAA0B8E,EAAM5E,iBAAiBuB,KACjD,8BAA+BsD,EAASlE,wBACxC6F,QAAS/B,EAAO,KAAOA,EAAO,GAAK,SAAUc,GAC3C,OAAOX,EAAM9E,uBAAwB,CACvC,GACA2G,eAAgBhC,EAAO,KAAOA,EAAO,GAAK,SAAUc,GAClDX,EAAM9E,uBAAwB,EAC9B8E,EAAM/E,cAAe,CACvB,GACA6G,uBAAwB7B,EAAStB,qBACjCoD,eAAgB9B,EAASN,oBACxB,KAAM,EAAG,CAAC,SAAU,iCAAkC,mCAAoC,2BAA4B,OAAQ,yBAA0B,8BAA+B,yBAA0B,oBACtN,I,gBGpKAqC,EAAQ,EAAU,CAACC,EAAKnH,KACpB,MAAM7B,EAASgJ,EAAIC,WAAaD,EAChC,IAAK,MAAOnL,EAAKqL,KAAQrH,EACrB7B,EAAOnC,GAAOqL,EAElB,OAAOlJ,CAAM,C","sources":["webpack://lawline/./resources/assets/js/vue/apps/course-detail/components/CourseButtonCta.vue?bb9e","webpack://lawline/./resources/assets/js/vue/apps/course-detail/components/CourseButtonCta.vue","webpack://lawline/./resources/assets/js/vue/apps/course-detail/components/CourseButtonCta.vue?c43f","webpack://lawline/./node_modules/vue-loader/dist/exportHelper.js"],"sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, Fragment as _Fragment, createTextVNode as _createTextVNode, withCtx as _withCtx } from \"vue\";\nvar _hoisted_1 = {\n \"class\": \"\"\n};\nvar _hoisted_2 = {\n id: \"course-button-cta\",\n \"class\": \"sticky top-0 z-10\"\n};\nvar _hoisted_3 = {\n \"class\": \"mt-4 flex justify-end\"\n};\nvar _hoisted_4 = {\n \"class\": \"actions w-96 rounded-2xl bg-white p-4 shadow-xl\"\n};\nvar _hoisted_5 = {\n \"class\": \"px-5 text-left\"\n};\nvar _hoisted_6 = {\n key: 0,\n \"class\": \"pt-2 text-center text-sm font-bold text-gray-800\"\n};\nvar _hoisted_7 = {\n key: 1\n};\nvar _hoisted_8 = {\n \"class\": \"my-5 w-full cursor-pointer px-5\"\n};\nvar _hoisted_9 = [\"href\"];\nvar _hoisted_10 = [\"href\"];\nvar _hoisted_11 = [\"href\"];\nvar _hoisted_12 = [\"loading\"];\nvar _hoisted_13 = [\"href\"];\nvar _hoisted_14 = {\n \"class\": \"degular text-center text-sm text-black\"\n};\nvar _hoisted_15 = {\n key: 0\n};\nvar _hoisted_16 = {\n key: 0\n};\nvar _hoisted_17 = [\"href\"];\nvar _hoisted_18 = {\n key: 1,\n \"class\": \"text-sm\"\n};\nvar _hoisted_19 = {\n key: 1,\n \"class\": \"text-base font-bold text-ll-cerulean\"\n};\nvar _hoisted_20 = {\n key: 2\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n var _component_video_preview_thumbnail = _resolveComponent(\"video-preview-thumbnail\");\n var _component_course_pricing_details = _resolveComponent(\"course-pricing-details\");\n var _component_SuccessFilled = _resolveComponent(\"SuccessFilled\");\n var _component_el_icon = _resolveComponent(\"el-icon\");\n var _component_product_cta_modal = _resolveComponent(\"product-cta-modal\");\n var _component_preview_video_modal = _resolveComponent(\"preview-video-modal\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", _hoisted_3, [_createElementVNode(\"div\", _hoisted_4, [_createVNode(_component_video_preview_thumbnail, {\n image: $props.course.cta_image,\n \"enable-preview-modal\": $options.enablePreviewModal,\n onShowVideoPreviewModal: _cache[0] || (_cache[0] = function ($event) {\n return $data.showPreviewVideoModal = true;\n })\n }, null, 8, [\"image\", \"enable-preview-modal\"]), _createElementVNode(\"div\", _hoisted_5, [$options.accessText.length ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString($options.accessText), 1)) : _createCommentVNode(\"\", true), $options.showCoursePricingDetails ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [_createVNode(_component_course_pricing_details, {\n course: $props.course\n }, null, 8, [\"course\"])])) : _createCommentVNode(\"\", true)]), _createElementVNode(\"div\", _hoisted_8, [$props.course.is_free_course_not_added_to_account && !$options.includedInSubscription ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n \"class\": _normalizeClass($options.buttonClasses),\n onClick: _cache[1] || (_cache[1] = function () {\n return $options.addToCartAndRedirect && $options.addToCartAndRedirect.apply($options, arguments);\n })\n }, \" Free - Add to Account \", 2)) : _createCommentVNode(\"\", true), $props.course.is_discounted_free_course_not_added && !$options.includedInSubscription ? (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n \"class\": _normalizeClass($options.buttonClasses),\n onClick: _cache[2] || (_cache[2] = function () {\n return $options.addToCartAndRedirect && $options.addToCartAndRedirect.apply($options, arguments);\n })\n }, \" $0 - Add to Account \", 2)) : _createCommentVNode(\"\", true), $props.course.in_cart ? (_openBlock(), _createElementBlock(\"a\", {\n key: 2,\n \"class\": _normalizeClass($options.buttonClasses),\n href: \"/checkout\"\n }, \" In Cart \", 2)) : _createCommentVNode(\"\", true), $options.userCanUpgradeForAccess ? (_openBlock(), _createElementBlock(\"a\", {\n key: 3,\n \"class\": _normalizeClass($options.buttonClasses),\n onClick: _cache[3] || (_cache[3] = function ($event) {\n return $data.showCtaModal = true;\n })\n }, \" Upgrade for Access \", 2)) : _createCommentVNode(\"\", true), $props.course.online_event ? (_openBlock(), _createElementBlock(_Fragment, {\n key: 4\n }, [$options.canCompleteCourseForCredit ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n \"class\": _normalizeClass($options.buttonClasses),\n href: \"/event/\".concat($props.course.online_event.slug)\n }, \" View Event \", 10, _hoisted_9)) : (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n \"class\": _normalizeClass($options.buttonClasses),\n href: \"/event/\".concat($props.course.online_event.slug)\n }, \" Get Access Now \", 10, _hoisted_10))], 64)) : _createCommentVNode(\"\", true), !$props.course.online_event ? (_openBlock(), _createElementBlock(_Fragment, {\n key: 5\n }, [$props.course.show_get_course_modal ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n \"class\": _normalizeClass($options.buttonClasses),\n onClick: _cache[4] || (_cache[4] = function ($event) {\n return $data.showCtaModal = true;\n })\n }, \" Get this \" + _toDisplayString($props.course.type.name), 3)) : _createCommentVNode(\"\", true), !$props.course.show_get_course_modal && $props.course.show_primary_straight_to_cart_button ? (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n \"class\": _normalizeClass($options.buttonClasses),\n onClick: _cache[5] || (_cache[5] = function () {\n return $options.addToCartAndRedirect && $options.addToCartAndRedirect.apply($options, arguments);\n })\n }, \" Get this \" + _toDisplayString($props.course.type.name), 3)) : _createCommentVNode(\"\", true)], 64)) : _createCommentVNode(\"\", true), $options.showOwnedCourseButton || $options.showJoinWebcastButton ? (_openBlock(), _createElementBlock(\"a\", {\n key: 6,\n href: $props.course.owned_button_url,\n \"class\": _normalizeClass($options.buttonClasses)\n }, _toDisplayString($props.course.owned_button_text), 11, _hoisted_11)) : _createCommentVNode(\"\", true), $options.showRegisterForCourseButton ? (_openBlock(), _createElementBlock(\"a\", {\n key: 7,\n \"class\": _normalizeClass($options.buttonClasses),\n loading: $data.registering,\n onClick: _cache[6] || (_cache[6] = function () {\n return $options.register && $options.register.apply($options, arguments);\n })\n }, \" Register for \" + _toDisplayString($options.courseFormat), 11, _hoisted_12)) : _createCommentVNode(\"\", true), !$props.course.online_event && $props.course.show_free_trial_button ? (_openBlock(), _createElementBlock(\"a\", {\n key: 8,\n \"class\": _normalizeClass($options.ghostButtonClasses),\n href: \"/register/trial\"\n }, \" Try it with free trial \", 2)) : _createCommentVNode(\"\", true), $props.course.completed && $props.course.status === 'Active' ? (_openBlock(), _createElementBlock(\"a\", {\n key: 9,\n href: $props.course.course_center_url,\n \"class\": _normalizeClass($options.buttonClasses)\n }, \" Visit the Course Center \", 10, _hoisted_13)) : _createCommentVNode(\"\", true)]), _createElementVNode(\"div\", _hoisted_14, [$props.course.is_live && !$props.course.completed && !$options.showJoinWebcastButton && (_ctx.isRegistered || $options.eventAccess) && !$props.course.firm ? (_openBlock(), _createElementBlock(\"p\", _hoisted_15, [$options.eventAccess ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, [_cache[10] || (_cache[10] = _createTextVNode(\" You are registered to attend as part of \")), _createElementVNode(\"a\", {\n href: $options.eventAccess.url,\n \"class\": \"text-white underline\"\n }, _toDisplayString($options.eventAccess.name), 9, _hoisted_17), _cache[11] || (_cache[11] = _createTextVNode(\". Return 15 minutes prior to start time to enter webcast. \"))])) : (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _cache[12] || (_cache[12] = [_createTextVNode(\" You are registered to attend.\"), _createElementVNode(\"br\", null, null, -1), _createTextVNode(\"Return 15 minutes prior to start time to enter webcast. \")])))])) : _createCommentVNode(\"\", true), $props.course.completed ? (_openBlock(), _createElementBlock(\"p\", _hoisted_19, [_createVNode(_component_el_icon, null, {\n \"default\": _withCtx(function () {\n return [_createVNode(_component_SuccessFilled)];\n }),\n _: 1\n }), _cache[13] || (_cache[13] = _createTextVNode(\" You have completed this course \"))])) : _createCommentVNode(\"\", true), $props.course.is_live && !$props.course.completed && $props.course.firm ? (_openBlock(), _createElementBlock(\"p\", _hoisted_20, \" This course is hosted by your firm. \")) : _createCommentVNode(\"\", true)])])])]), _createVNode(_component_product_cta_modal, {\n show: $data.showCtaModal,\n \"discount-code\": $props.course.discount_code,\n product: $props.course,\n \"user-can-upgrade-for-access\": $options.userCanUpgradeForAccess,\n \"default-discount-code-suffix\": \"Details\",\n onClose: _cache[7] || (_cache[7] = function ($event) {\n return $data.showCtaModal = false;\n })\n }, null, 8, [\"show\", \"discount-code\", \"product\", \"user-can-upgrade-for-access\"]), _createVNode(_component_preview_video_modal, {\n course: $props.course,\n \"can-complete-course-for-credit\": $options.canCompleteCourseForCredit,\n \"free-course-not-added-to-account\": $options.freeCourseNotAddedToAccount,\n \"included-in-subscription\": $options.includedInSubscription,\n show: $data.showPreviewVideoModal,\n \"user-subscription-type\": $data.userSubscription.type,\n \"user-can-upgrade-for-access\": $options.userCanUpgradeForAccess,\n onClose: _cache[8] || (_cache[8] = function ($event) {\n return $data.showPreviewVideoModal = false;\n }),\n onShowCtaModal: _cache[9] || (_cache[9] = function ($event) {\n $data.showPreviewVideoModal = false;\n $data.showCtaModal = true;\n }),\n onAddToCartAndRedirect: $options.addToCartAndRedirect,\n onPreviewEnded: $options.handlePreviewEnded\n }, null, 8, [\"course\", \"can-complete-course-for-credit\", \"free-course-not-added-to-account\", \"included-in-subscription\", \"show\", \"user-subscription-type\", \"user-can-upgrade-for-access\", \"onAddToCartAndRedirect\", \"onPreviewEnded\"])]);\n}","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport { mapGetters, mapActions } from 'vuex';\nimport { defineAsyncComponent } from 'vue';\nimport _isEmpty from 'lodash/isEmpty';\nimport _first from 'lodash/first';\nimport { SuccessFilled } from '@element-plus/icons-vue';\nexport default {\n components: {\n 'course-options': defineAsyncComponent(function () {\n return import('./CourseOptions.vue');\n }),\n 'product-cta-modal': defineAsyncComponent(function () {\n return import('@vue_shared/components/ProductCtaModal');\n }),\n 'preview-video-modal': defineAsyncComponent(function () {\n return import('@vue_shared/components/PreviewVideoModal');\n }),\n 'video-preview-thumbnail': defineAsyncComponent(function () {\n return import('@vue_shared/components/VideoPreviewThumbnail.vue');\n }),\n 'course-pricing-details': defineAsyncComponent(function () {\n return import('./CoursePricingDetails');\n }),\n SuccessFilled: SuccessFilled\n },\n props: ['course'],\n data: function data() {\n return {\n completedPreview: false,\n showCtaModal: false,\n showPreviewVideoModal: false,\n registering: false,\n userSubscription: window.userSubscription,\n isCle: window.siteInfo.is_cle\n };\n },\n computed: _objectSpread(_objectSpread({}, mapGetters('MyProduct', {\n isRegistered: 'registered'\n })), {}, {\n accessText: function accessText() {\n if (this.course.online_event) {\n return 'This course is part of a live, virtual event. Go to the event page now to see the full schedule and join the next session.';\n }\n if (this.userCanUpgradeForAccess) {\n return 'This course isn’t included in your Essentials plan. Upgrade to Plus or purchase the course to continue.';\n }\n if (this.canCompleteCourseForCredit && this.includedInSubscription) {\n return 'Included in your subscription.';\n }\n if (this.canCompleteCourseForCredit && !this.includedInSubscription && !this.freeCourseNotAddedToAccount) {\n return 'You have access to this course. ';\n }\n return '';\n },\n baseButtonClasses: function baseButtonClasses() {\n return 'btn block my-2 py-4 text-center text-sm';\n },\n buttonClasses: function buttonClasses() {\n if (this.isCle) {\n return this.baseButtonClasses + ' btn--leaf bg-primary text-white';\n }\n return this.baseButtonClasses + ' text-white bg-cpe-mulberry border-cpe-mulberry';\n },\n freeCourseNotAddedToAccount: function freeCourseNotAddedToAccount() {\n return this.course.is_discounted_free_course_not_added || this.course.is_free_course_not_added_to_account;\n },\n ghostButtonClasses: function ghostButtonClasses() {\n if (this.isCle) {\n return this.baseButtonClasses + ' btn--leaf btn--ghost text-primary';\n }\n return this.baseButtonClasses + ' btn--ghost text-cpe-mulberry border-cpe-mulberry';\n },\n canCompleteCourseForCredit: function canCompleteCourseForCredit() {\n return this.course.ownership.can_get_credit;\n },\n includedInSubscription: function includedInSubscription() {\n return this.course.plan === userSubscription.type;\n },\n isUpcomingWebcast: function isUpcomingWebcast() {\n return this.course.is_upcoming && this.course.is_webcast;\n },\n enablePreviewModal: function enablePreviewModal() {\n var course = this.course;\n return course && !course.is_upcoming && !course.is_webcast && !course.is_pre_recorded_webcast && !course.is_live_in_person && !this.completedPreview && this.isCle;\n },\n showCoursePricingDetails: function showCoursePricingDetails() {\n return !this.course.online_event && !this.accessText.length;\n },\n showOwnedCourseButton: function showOwnedCourseButton() {\n if (!this.canCompleteCourseForCredit) {\n return false;\n }\n if (this.isUpcomingWebcast && !this.isRegistered) {\n return false;\n }\n\n // Don't show the button if we're on that page already.\n if (window.location.href.includes(this.course.owned_button_url)) {\n return false;\n }\n if (this.isRegistered && this.course.webcast_joinable) {\n return true;\n }\n if (this.course.has_free_trial) {\n return true;\n }\n return !this.freeCourseNotAddedToAccount || this.includedInSubscription;\n },\n showRegisterForCourseButton: function showRegisterForCourseButton() {\n return this.course.is_live && this.course.access_allowed && !this.isRegistered && !this.course.firm;\n },\n showJoinWebcastButton: function showJoinWebcastButton() {\n return this.course.is_live && this.course.access_allowed && this.isRegistered && this.course.webcast_joinable;\n },\n userCanUpgradeForAccess: function userCanUpgradeForAccess() {\n return this.course.show_upgrade_for_access_button || this.course.plan === 'Plus' && this.userSubscription.type === 'Essentials';\n },\n courseFormat: function courseFormat() {\n var format = _first(this.course.course_types);\n if (format.name === 'Pre-Recorded Webcast') {\n return 'webcast';\n }\n return format.name.toLowerCase();\n },\n eventAccess: function eventAccess() {\n if (_isEmpty(this.course.event_access)) {\n return null;\n }\n return this.course.event_access;\n }\n }),\n mounted: function mounted() {\n this.setRegistered(this.course.is_registered);\n },\n methods: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, mapActions('Cart', ['addProduct'])), mapActions('MyCourse', ['addFreeProduct', 'setAttendance'])), mapActions('MyProduct', ['setRegistered'])), {}, {\n addToCartAndRedirect: function addToCartAndRedirect() {\n this.addProduct({\n product_id: this.course.id,\n code: this.course.discount_code\n }).then(function () {\n window.location.href = '/checkout/signin';\n });\n },\n addProductToAccount: function addProductToAccount() {\n this.addFreeProduct(this.course.id).then(function (response) {\n if (response && response.redirect) {\n window.location.href = response.redirect;\n return;\n }\n window.location.reload();\n });\n },\n register: function register() {\n this.registering = true;\n this.setAttendance({\n attendance_type: 'webcast',\n product_id: this.course.id,\n notify: true\n }).then(function () {\n this.registering = false;\n }.bind(this));\n },\n handlePreviewEnded: function handlePreviewEnded() {\n this.completedPreview = true;\n this.showPreviewVideoModal = false;\n if (!this.canCompleteCourseForCredit) {\n this.showCtaModal = true;\n }\n }\n })\n};","/* unplugin-vue-components disabled */import { render } from \"./CourseButtonCta.vue?vue&type=template&id=a1397420\"\nimport script from \"./CourseButtonCta.vue?vue&type=script&lang=js\"\nexport * from \"./CourseButtonCta.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n"],"names":["_hoisted_1","_hoisted_2","id","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","key","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_typeof","obj","Symbol","iterator","constructor","prototype","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","value","arg","input","hint","prim","toPrimitive","undefined","res","call","TypeError","String","Number","_toPrimitive","_toPropertyKey","configurable","writable","components","defineAsyncComponent","SuccessFilled","props","data","completedPreview","showCtaModal","showPreviewVideoModal","registering","userSubscription","window","isCle","siteInfo","is_cle","computed","isRegistered","accessText","this","course","online_event","userCanUpgradeForAccess","canCompleteCourseForCredit","includedInSubscription","freeCourseNotAddedToAccount","baseButtonClasses","buttonClasses","is_discounted_free_course_not_added","is_free_course_not_added_to_account","ghostButtonClasses","ownership","can_get_credit","plan","type","isUpcomingWebcast","is_upcoming","is_webcast","enablePreviewModal","is_pre_recorded_webcast","is_live_in_person","showCoursePricingDetails","showOwnedCourseButton","location","href","includes","owned_button_url","webcast_joinable","has_free_trial","showRegisterForCourseButton","is_live","access_allowed","firm","showJoinWebcastButton","show_upgrade_for_access_button","courseFormat","format","course_types","name","toLowerCase","eventAccess","event_access","mounted","setRegistered","is_registered","methods","addToCartAndRedirect","addProduct","product_id","code","discount_code","then","addProductToAccount","addFreeProduct","response","redirect","reload","register","setAttendance","attendance_type","notify","bind","handlePreviewEnded","_ctx","_cache","$props","$setup","$data","$options","_component_video_preview_thumbnail","_component_course_pricing_details","_component_SuccessFilled","_component_el_icon","_component_product_cta_modal","_component_preview_video_modal","image","cta_image","onShowVideoPreviewModal","$event","onClick","in_cart","concat","slug","show_get_course_modal","show_primary_straight_to_cart_button","owned_button_text","loading","show_free_trial_button","completed","status","course_center_url","url","_","show","product","onClose","onShowCtaModal","onAddToCartAndRedirect","onPreviewEnded","exports","sfc","__vccOpts","val"],"sourceRoot":""}