PageSourceSearch

https://my.ine.com/js/5959.4b177c1b6339aa1c.js

js ine.com collected 2026-10-01 10:46:24 UTC 97,646 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkmy_ine_com"]=self["webpackChunkmy_ine_com"]||[]).push([[5959],{16965:function(t,e,r){r.d(e,{A:function(){return a}});var n=r(78902),o=r(67930),i=r.n(o),s={name:"PlayIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",i()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-play"},e.data]),[t("polygon",{attrs:{points:"5 3 19 12 5 21 5 3"}})])}},a=(0,n.A)(s)},25851:function(t,e,r){r.d(e,{A:function(){return b}});var n=r(95976),o={class:"sample-video"},i=["id"];function s(t,e,r,s,a,c){return(0,n.uX)(),(0,n.CE)("div",o,[(0,n.Lk)("div",{id:a.localId},null,8,i)])}var a=r(13767),c=r.n(a);function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return l(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function d(){}e=Object.getPrototypeOf;var p=[][n]?e(e([][n]())):(l(e={},n,function(){return this}),e),f=d.prototype=a.prototype=Object.create(p);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return c.prototype=d,l(f,"constructor",d),l(d,"constructor",c),c.displayName="GeneratorFunction",l(d,o,"GeneratorFunction"),l(f),l(f,o,"Generator"),l(f,n,function(){return this}),l(f,"toString",function(){return"[object Generator]"}),(u=function(){return{w:i,m:h}})()}function l(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}l=function(t,e,r,n){function i(e,r){l(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},l(t,e,r,n)}function d(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function p(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){d(i,n,o,s,a,"next",t)}function a(t){d(i,n,o,s,a,"throw",t)}s(void 0)})}}var f={name:"SampleVideo",props:{videoId:{type:String,required:!0},autostart:{type:Boolean,required:!1,default:function(){return!0}}},data:function(){return{localId:"u".concat(c()()),player:null}},created:function(){var t=this;return p(u().m(function e(){return u().w(function(e){while(1)switch(e.n){case 0:return e.n=1,t.$nextTick();case 1:t.setupPlayer();case 2:return e.a(2)}},e)}))()},unmounted:function(){this.player&&this.player.remove()},methods:{setupPlayer:function(){this.player=jwplayer(this.localId),this.player.setup({key:"g1cH6DHj1CpXay3OPr/WtcNEH2rlBMylR2YgcRjPXflVjor+",aspectratio:"16:9",autoPause:{},autostart:!!this.autostart&&"viewable",cast:{appid:"00000000"},controls:!0,displaydescription:!1,displaytitle:!1,ga:{idstring:"title"},height:360,mute:!0,ph:3,pid:"T92WUUWc",playbackRateControls:!1,playlist:"//content.jwplatform.com/v2/media/".concat(this.videoId),preload:"metadata",repeat:!1,skin:{controlbar:{icons:"#EF7D22"},timeslider:{progress:"#FFF4E4"}},stretching:"uniform",width:"100%"})}}},h=r(1169);const v=(0,h.A)(f,[["render",s]]);var b=v},51048:function(t,e,r){r.r(e),r.d(e,{default:function(){return qn}});var n=r(95976),o=r(10160),i={itemscope:"",itemtype:"http://schema.org/Course",class:"course"},s={class:"course__dashboard-bg"},a={class:"course__details-article"},c=["innerHTML"],u={ref:"groupWrapper",class:"course__content"};function l(t,e,r,l,d,p){var f=(0,n.g2)("CourseOverviewSkel"),h=(0,n.g2)("CourseContentSkel"),v=(0,n.g2)("Overview"),b=(0,n.g2)("Details"),y=(0,n.g2)("Dropdown"),g=(0,n.g2)("Group"),m=(0,n.g2)("CpeBanner"),_=(0,n.g2)("RatingModal");return(0,n.uX)(),(0,n.CE)("section",i,[t.isContentLoading||!t.course?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[e[0]||(e[0]=(0,n.Lk)("h1",{class:"sr-only"},"Course",-1)),(0,n.bF)(f,{gradient:p.gradient},null,8,["gradient"]),(0,n.bF)(h)],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.Lk)("article",{class:"course__overview-article",style:(0,o.Tr)("background-image: url(".concat(t.$getCourseBackgroun
1d(t.course.id,p.getBackgroundSize()),"), linear-gradient(").concat(p.gradient,")"))},[(0,n.bF)(v,{class:"course__overview",course:t.course,progress:p.progressPercentage,isAuthenticated:p.isUser||t.isAuthenticated&&t.course.has_sample_content,plansLink:p.checkoutLink,isComingSoon:"coming soon"===p.courseStatus,isFree:t.course.has_sample_content,rating:t.rating,isRatingLoading:t.isRatingLoading,onRateCourse:t.openRatingModal},null,8,["course","progress","isAuthenticated","plansLink","isComingSoon","isFree","rating","isRatingLoading","onRateCourse"])],4),(0,n.Lk)("div",s,[(0,n.Lk)("article",a,[(0,n.bF)(b,{class:"course__details",course:t.course,progress:p.progressPercentage,hasProgress:p.hasProgress,onResume:p.resumeCourse},null,8,["course","progress","hasProgress","onResume"])]),(0,n.Lk)("article",{class:(0,o.C4)(["course__content-article",!t.isAuthenticated&&"course__content-article--anonymous"])},[(0,n.Lk)("div",{ref:"groupdropdown",class:(0,o.C4)(["course__group-dropdown-wrapper",{"course__group-dropdown-wrapper--sticky":d.isDropdownSticky}])},[(0,n.Lk)("div",{class:(0,o.C4)(["course__group-dropdown-container",{"course__group-dropdown-container--sticky":d.isDropdownSticky}])},[(0,n.Lk)("h5",{class:"course__group-dropdown-title",innerHTML:d.currentGroupName},null,8,c),d.courseSectionNames.length?((0,n.uX)(),(0,n.Wv)(y,{key:0,class:"course__options-wrapper",options:d.courseSectionNames,searchable:!1,clearable:!1,handleSelection:p.handleContentSelection,selectedOption:d.selectedContent},null,8,["options","handleSelection","selectedOption"])):(0,n.Q3)("",!0)],2)],2),(0,n.Lk)("div",u,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(p.courseGroups,function(e,r){return(0,n.uX)(),(0,n.Wv)(g,{key:"course-group-".concat(r),group:e,isUser:p.isUser,progress:t.progress,currentVideos:t.videos,currentQuizzes:t.quizzes,currentExercises:t.exercises,currentLabs:t.labs,currentIFrames:t.iframes,courseId:t.course.id},null,8,["group","isUser","progress","currentVideos","currentQuizzes","currentExercises","currentLabs","currentIFrames","courseId"])}),128))],512)],2)]),t.isCpeProgramEnabled&&p.isOver75PercentCompleted?((0,n.uX)(),(0,n.Wv)(m,{key:0,content:t.course,contentType:d.CONSTANTS.CONTENT_TYPES.COURSE,isCompleted:100===p.progressPercentage,canRateContent:"",isRatingConfirmed:t.isRatingConfirmed,onOpenRatingModal:t.openRatingModal},null,8,["content","contentType","isCompleted","isRatingConfirmed","onOpenRatingModal"])):(0,n.Q3)("",!0),t.isRatingModalOpen?((0,n.uX)(),(0,n.Wv)(_,{key:1,modelId:t.contentRatingPayload.model_id,modelType:t.contentRatingPayload.model_type,modelName:t.course.name,instructor:t.course.instructors[0],rating:t.rating,onClose:t.closeRatingModal,onCloseAndRefresh:t.closeRatingModalAndRefresh},null,8,["modelId","modelType","modelName","instructor","rating","onClose","onCloseAndRefresh"])):(0,n.Q3)("",!0)],64))])}var d=r(51449),p=r(58482);function f(t,e,r,i,s,a){return(0,n.uX)(),(0,n.CE)("section",{class:"skeleton overview",style:(0,o.Tr)("background: linear-gradient(".concat(r.gradient,")"))},e[0]||(e[0]=[(0,n.Fv)('<div class="overview__top" data-v-603ba7b0><div class="skeleton__box overview__left" data-v-603ba7b0><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><h4 class="skeleton__title skeleton__animate--white overview__title" data-v-603ba7b0></h4><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p><p class="skeleton__content skeleton__animate--white" data-v-603ba7b0></p></div><div class="skeleton__box skeleton__animate overview__right" data-v-603ba7b0></div></div><div class="overview__bottom" data-v-603ba7b0><div class="skeleton__box skeleton__animate overview__bottom-box" data-v-603ba7b0><div class="skeleton__animate--white overview__profile" data-v-603ba7b0></div></div></div>',2)]),4)}var h={name:"CourseOverviewSkel",props:{gradient:{type:String,required:!0}}},v=r(1169);const b=(0,v.A)(h,[["render",f],["__scopeId","data-v-603ba7b0"]]);var y=b,g={class:"skeleton content"},m={class:"skeleton__box content__right"};function _(t,e,r,o,i,s){return(0,n.uX)(),(0,n.CE)("section",g,[e[1]||(e[1]=(0,n.Lk)("div",{class:"skeleton__box content__left"},[(0,n.Lk)("p",{class:"skeleton__content skeleton__animate"}),(0,n.Lk)("p",{class:"skeleton__content skeleton__animate"}),(0,n.Lk)("p",{class:"skeleton__content skeleton__animate"})],-1)),(0,n.Lk)("div",m,[((0,n.uX)(),(0,n.CE)(n.FK,null,(0,n.pI)(6,function(t){return(0,n.Lk)("div",{key:t,class:"skeleton__box content__level"},e[0]||(e[0]=[(0,n.Lk)("p",{class:"skeleton__content skeleton__animate"},null,-1),(0,n.Lk)("figure",{class:"skeleton__btn skeleton__animate content__btn"},null,-1)]))}),64))])])}var k={name:"CourseContentSkel"};const C=(0,v.A)(k,[["render",_],["__scopeId","data-v-20589002"]]);var w=C,S={class:"overview"},E={class:"overview__course-info-wrapper"},O={class:"overview__branding-wrapper"},P={key:0,class:"overview__branding content-type"},A={key:1,class:"overview__branding content-type"},L={key:2,class:"overview__coming-soon"},T={key:3,class:"overview__refactor-undergoing__wrapper"},I={class:"material-icons info-icon",role:"presentation"},j={itemprop:"courseCode",class:"overview__title content-title"},x={class:"overview__description"},N={class:"overview__description-progress"},D=["innerHTML"],R={key:0,class:"overview__actions"},F=["disabled"],U={key:1,class:"overview__cta"},G={key:0,class:"overview__video"};function M(t,e,r,i,s,a){var c=(0,n.g2)("Active"),u=(0,n.g2)("PlaylistActionsButton"),l=(0,n.g2)("StarIcon"),d=(0,n.g2)("SubscriptionRequired"),p=(0,n.g2)("SampleVideo"),f=(0,n.gN)("tooltip");return(0,n.uX)(),(0,n.CE)("div",S,[(0,n.Lk)("div",E,[(0,n.Lk)("div",O,[r.course.vendor?((0,n.uX)(),(0,n.CE)("h6",P,(0,o.v_)(r.course.vendor.name),1)):((0,n.uX)(),(0,n.CE)("h6",A,"INE")),"coming soon"===r.course.status?((0,n.uX)(),(0,n.CE)("h6",L," Coming Soon ")):(0,n.Q3)("",!0),r.isAuthenticated&&r.course.under_construction?((0,n.uX)(),(0,n.CE)("div",T,[e[2]||(e[2]=(0,n.Lk)("h6",{class:"overview__refactor-undergoing"},"Refactor undergoing",-1)),(0,n.bo)(((0,n.uX)(),(0,n.CE)("i",I,e[1]||(e[1]=[(0,n.eW)(" info_outline ",-1)]))),[[f,{content:"We're working to improve this course. You can expect some changes in the next few weeks",placement:"right-center"}]])])):(0,n.Q3)("",!0)]),(0,n.Lk)("h1",j,(0,o.v_)(r.course.name),1),(0,n.Lk)("p",x,[a.showProgress?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.Lk)("span",N,(0,o.v_)("".concat(r.progress,"% Complete")),1),e[3]||(e[3]=(0,n.Lk)("span",{class:"overview__description-separator"},"|",-1))],64)):(0,n.Q3)("",!0),(0,n.Lk)("span",{itemprop:"about",innerHTML:r.course.description},null,8,D)]),r.isAuthenticated?((0,n.uX)(),(0,n.CE)("div",R,[(0,n.bF)(c,{course:r.course,class:"overview__activator"},null,8,["course"]),(0,n.bF)(u,{content:a.playlistContent,"show-content-label":"","button-classes":"btn--secondary"},null,8,["content"]),!r.isComingSoon&&a.showProgress?((0,n.uX)(),(0,n.CE)("button",{key:0,disabled:r.isRatingLoading,class:"overview__rating-button btn btn--secondary btn--default-icon-color",onClick:e[0]||(e[0]=function(){return a.handleRateCourse&&a.handleRateCourse.apply(a,arguments)})},[(0,n.bF)(l,{class:"overview__rating-button-icon"}),(0,n.eW)(" "+(0,o.v_)(r.rating?"Review your rating":"Rate this course"),1)],8,F)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),a.isCtaShown?((0,n.uX)(),(0,n.CE)("div",U,[(0,n.bF)(d,{plansLink:r.plansLink,content:a.playlistContent},null,8,["plansLink","content"])])):(0,n.Q3)("",!0)]),r.course.trailer_jwplayer_id?((0,n.uX)(),(0,n.CE)("div",G,[(0,n.bF)(p,{videoId:r.course.trailer_jwplayer_id},null,8,["videoId"])])):(0,n.Q3)("",!0)])}var X=r(91194),B={class:"subscription-required"},q={class:"subscription-required__notice"},W=["disabled"];function z(t,e,r,i,s,a){var c=(0,n.g2)("KeyIcon"),u=(0,n.g2)("PlaylistActionsButton"),l=(0,n.g2)("UpgradePlanModal"),d=(0,n.gN)("follow-tooltip");return(0,n.uX)(),(0,n.CE)("div",B,[(0,n.bF)(c,{class:"subscription-required__icon"}),(0,n.Lk)("p",q,(0,o.v_)(a.unSubscribedText),1),(0,n.bo)(((0,n.uX)(),(0,n.CE)("button",{disabled:t.isRequestingRestrictedAccess,class:"btn btn--primary",type:"button",onClick:e[0]||(e[0]=function(){return a.handleGetAccess&&a.handleGetAccess.apply(a,arguments)})},[(0,n.eW)((0,o.v_)(a.unSubscribedTCTA),1)],8,W)),[[d,a.requestAccessTooltipConfig]]),(0,n.bF)(u,{content:r.content,"show-content-label":""},null,8,["content"]),s.isPremiumUpgradeModalShown?((0,n.uX)(),(0,n.Wv)(l,{key:0,isPremiumOnlyModal:!0,subscriptionId:s.planToBeUpgraded.id,onToggleUpgradeModal:e[1]||(e[1]=function(t){return s.isPremiumUpgradeModalShown=!1})},null,8,["subscriptionId"])):(0,n.Q3)("",!0)])}var V={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"};function Q(t,e){return(0,n.uX)(),(0,n.CE)("svg",V,e[0]||(e[0]=[(0,n.Lk)("path",{d:"M10.376 14.447l-2.043 2.22H6.667v1.667H5V20H0v-4.167l5.721-5.791a8.371 8.371 0 004.655 4.405zM20 6.667A6.667 6.667 0 1113.333 0 6.667 6.667 0 0120 6.667zm-2.5-2.5a1.667 1.667 0 10-1.667 1.667A1.667 1.667 0 0017.5 4.167z",fill:"#ef7d22"},null,-1)]))}const $={},Y=(0,v.A)($,[["render",Q]]);var H=Y,K=r(10500),Z=r(26656),J=r(99340),tt=r(3118);function et(t){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function rt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return nt(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f
1:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function u(){}e=Object.getPrototypeOf;var l=[][n]?e(e([][n]())):(nt(e={},n,function(){return this}),e),d=u.prototype=a.prototype=Object.create(l);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,nt(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=u,nt(d,"constructor",u),nt(u,"constructor",c),c.displayName="GeneratorFunction",nt(u,o,"GeneratorFunction"),nt(d),nt(d,o,"Generator"),nt(d,n,function(){return this}),nt(d,"toString",function(){return"[object Generator]"}),(rt=function(){return{w:i,m:p}})()}function nt(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}nt=function(t,e,r,n){function i(e,r){nt(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},nt(t,e,r,n)}function ot(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function it(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){ot(i,n,o,s,a,"next",t)}function a(t){ot(i,n,o,s,a,"throw",t)}s(void 0)})}}function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function at(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach(function(e){ct(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function ct(t,e,r){return(e=ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ut(t){var e=lt(t,"string");return"symbol"==et(e)?e:e+""}function lt(t,e){if("object"!=et(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var dt={name:"SubscriptionRequired",mixins:[tt.Mh],components:{KeyIcon:at(at({},H),{},{name:"KeyIcon"}),PlaylistActionsButton:K.A,UpgradePlanModal:Z.A},props:{plansLink:{type:String,required:!0},content:{type:Object,required:!0},contentType:{type:String,required:!1,default:function(){return J.A.PARENT_CONTENT_TYPES_KEYS.COURSE}},contentId:{type:String,required:!1,default:function(){return""}}},data:function(){return{planToBeUpgraded:{},isPremiumUpgradeModalShown:!1}},computed:at(at({},(0,d.L8)({usersSubscriptions:"subscriptions/usersSubscriptions",isContentAccessRestricted:"auth/isContentAccessRestricted"})),{},{isLabExperiencePath:function(){return this.contentType===J.A.PARENT_CONTENT_TYPES_KEYS.LEARNING_PATH&&Object.values(J.A.SPECIAL_LEARNING_PATHS).includes(this.contentId)},unSubscribedText:function(){return this.isLabExperiencePath?"This content is part of INE's new Lab Experience. Learn more to get exclusive access to the world's best lab experience.":"Get Access to this Content with an INE Subscription"},requestAccessTooltipConfig:function(){return this.isContentAccessRestricted?{content:J.A.PLAYLIST_MESSAGES.NEED_RESTRICTED_ACCESS_TOOLTIP,placement:"top",hideOnTargetClick:!1,html:!0,textAlign:"center"}:null},unSubscribedTCTA:function(){return this.isContentAccessRestricted?"Request access":this.isLabExperiencePath?"Learn more":"Get Started"},unSubscribedTLink:function(){return this.isLabExperiencePath?"//info.ine.com/lab-experience/":"//".concat(this.plansLink)}}),methods:at(at({},(0,d.i0)({getAccessAction:"playlists/getAccessAction",setError:"app/setError"})),{},{handleGetAccess:function(){var t=this;return it(rt().m(function e(){var r;return rt().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,e.n=1,t.getAccessAction({onRedirect:function(e){return t.$router.push(e)},onExternalRedirect:function(t){window.location.href=t},onRequestAccess:function(){return t.requestRestrictedAccess(t.buildRequestAccessPayload())},setPlanToBeUpgraded:function(e){t.planToBeUpgraded=e||{}},setIsPremiumUpgradeModalShown:function(e){t.isPremiumUpgradeModalShown=!1!==e}});case 1:r=e.v,null!==r&&void 0!==r&&r.action&&"none"!==r.action||t.setError("We could not process your access request. Please try again."),e.n=3;break;case 2:e.p=2,e.v,t.setError("We could not process your access request. Please try again.");case 3:return e.a(2)}},e,null,[[0,2]])}))()},buildRequestAccessPayload:function(){var t=this.content,e=this.contentType,r={content_uuid:t.id||t.uuid,content_name:t.name||t.title,content_type:e};try{var n=this.$router.resolve(this.$buildContentLink(e,t));r.content_url="".concat(window.location.origin).concat(n.href)}catch(o){}return r}})};const pt=(0,v.A)(dt,[["render",z]]);var ft=pt,ht=r(25851),vt=r(84463);function bt(t){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bt(t)}function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?yt(Object(r),!0).forEach(function(e){mt(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function mt(t,e,r){return(e=_t(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _t(t){var e=kt(t,"string");return"symbol"==bt(e)?e:e+""}function kt(t,e){if("object"!=bt(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Ct=J.A.CONTENT_TYPES.COURSE,wt={name:"Overview",components:{Active:X.A,SubscriptionRequired:ft,SampleVideo:ht.A,StarIcon:vt.A,PlaylistActionsButton:K.A},props:{course:{type:Object,required:!0},isAuthenticated:{type:Boolean,required:!0},isComingSoon:{type:Boolean},plansLink:{type:String,required:!0},isRatingLoading:{type:Boolean},rating:{type:Object,default:null},progress:{type:Number,default:0}},computed:{showProgress:function(){var t;return(null===(t=this.course)||void 0===t?void 0:t.has_trackable_content)&&this.progress>0},isCtaShown:function(){return!this.isAuthenticated&&"coming soon"!==this.course.status},ratingButtonLabel:function(){return this.rating?"Review your rating":"Rate this course"},playlistContent:function(){return gt(gt({},this.course),{},{content_type:Ct})}},methods:{handleRateCourse:function(){this.$emit("rate-course")}}};const St=(0,v.A)(wt,[["render",M],["__scopeId","data-v-74b86034"]]);var Et=St,Ot={class:"details"},Pt={class:"details__container details__info-container"},At={class:"details__wrapper"},Lt={key:0,class:"details__container details__progress-bar-container"},Tt={class:"details__progress-bar"};function It(t,e,r,i,s,a){var c=(0,n.g2)("Instructor"),u=(0,n.g2)("Stats"),l=(0,n.g2)("PlayIcon"),d=(0,n.gN)("tooltip");return(0,n.uX)(),(0,n.CE)("div",Ot,[(0,n.Lk)("div",Pt,[(0,n.bF)(c,{class:"details__instructor",instructor:r.course.instructors[0]},null,8,["instructor"]),(0,n.Lk)("div",At,[(0,n.bF)(u,{class:"details__stats",course:r.course,isAuthenticated:t.isAuthenticated},null,8,["course","isAuthenticated"]),(0,n.Lk)("button",{class:"details__btn-resume btn btn--secondary btn--default-icon-color",onClick:e[0]||(e[0]=function(e){return t.$emit("resume")})},[(0,n.bF)(l),(0,n.eW)(" "+(0,o.v_)(r.hasProgress?"Resume":"Begin"),1)])])]),a.showProgress?((0,n.uX)(),(0,n.CE)("div",Lt,[(0,n.Lk)("div",Tt,[(0,n.bo)((0,n.Lk)("div",{class:"details__progress-bar-completed",style:(0,o.Tr)("width: ".concat(r.progress,"%"))},null,4),[[d,{content:"<div class='progress-bar__tooltip-content'>Course Progress:<br>".concat(r.progress,"% Complete</div>"),placement:"top-center"}]])])])):(0,n.Q3)("",!0)])}var jt={key:0,class:"instructor"},xt={class:"instructor__avatar-container"},Nt=["src","alt"],Dt={class:"instructor__info"},Rt={class:"instructor__name",itemprop:"author"},Ft={key:0,class:"instructor__certifications"};function Ut(t,e,r,i,s,a){var c=(0,n.gN)("tooltip");return r.instructor?((0,n.uX)(),(0,n.CE)("div",jt,[(0,n.Lk)("div",xt,[(0,n.bo)((0,n.Lk)("img",{class:"instructor__avatar",src:t.$getInstructorImg(r.instructor.profile_img_url),alt:"INE Instructor ".concat(r.instructor.name),onClick:e[0]||(e[0]=function(){return a.searchPresenter&&a.searchPresenter.apply(a,arguments)})},null,8,Nt),[[c,{content:"Show all content by<br/>".concat(r.instructor.name),placement:"top-center",classes:["tooltip--text-center"]}]])]),(0,n.Lk)("div",Dt,[(0,n.Lk)("h5",Rt,(0,o.v_)(r.instructor.name),1),r.instructor.certifications.length?((0,n.uX)(),(0,n.CE)("div",Ft,[(0,n.Lk)("span",null,(0,o.v_)(a.certifications.join(", ")),1)])):(0,n.Q3)("",!0)])])):(0,n.Q3)("",!0)}var Gt={name:"Instructor",filters:{limitCerts:function(t){return t&&t.length>45?"".concat(t.substr(0,45),"..."):t}},props:{instructor:{type:Object,required:!0}},computed:{certifications:function(){var t=this.instructor.certifications;return t.map(function(t){return t.name})}},methods:{searchPresenter:function(){this.$store.dispatch("search/setQuery",""),this.$router.push({name:"search",query:{"instructors.name":this.instructor.name}})}}};const Mt=(0,v.A)(Gt,[["render",Ut],["__scopeId","data-v-2a2a11a0"]]);var Xt=Mt,Bt={class:"stats"},qt={class:"stats__container"},Wt={key:0,class:"stats__duration desktop-only stats__item"},zt={key:2,class:"stats__duration desktop-only stats__item"},Vt={class:"stats__duration stats__duration--full no-desktop"},Qt={key:0},$t={key:1},Yt={key:3,class:"stats__difficulty stats__item"},Ht={class:"stats__cpe-credits-base stats__item"},Kt={class:"stats__cpe-credits-base-mobile"},Zt={class:"stats__cpe-credits-base-desktop"},Jt={class:"stats__cpe-credits-check stats__item"},te={class:"stats__cpe-credits-check-labs"},ee={class:"stats__cpe-credits-check-bonus"},re={key:7,class:"stats__difficulty stats__item"},ne={key:0,class:"stats__files"},oe={key:0,class:"google-recaptcha"},ie={key:1};function se(t,e,r,i,s,a){var c=(0,n.g2)("SeparatorBorder"),u=(0,n.g2)("Difficulty"),l=(0,n.g2)("InfoIcon"),d=(0,n.g2)("SkillCheckIcon"),p=(0,n.g2)("vue-recaptcha"),f=(0,n.g2)("DownloadIcon"),h=(0,n.gN)("tooltip");return(0,n.uX)(),(0,n.CE)("div",Bt,[(0,n.bF)(c,{class:"stats__separator stats__separator--horizontal"}),(0,n.Lk)("div",qt,[(0,n.Lk)("div",{class:(0,o.C4)(["stats__info-container",[{"stats__info-container--expanded":a.columnsExpanded}]])},[a.videoDuration?((0,n.uX)(),(0,n.CE)("span",Wt,[e[1]||(e[1]=(0,n.Lk)("div",{class:"stats__duration-mobile stats__duration-mobile-label"}," Video duration ",-1)),(0,n.eW)(" "+(0,o.v_)(a.videoDuration),1)])):(0,n.Q3)("",!0),a.videoDuration&&a.activitiesDuration?((0,n.uX)(),(0,n.Wv)(c,{key:1,vertical:"",height:"45px",class:"stats__separator stats__separator--video"})):(0,n.Q3)("",!0),a.activitiesDuration?((0,n.uX)(),(0,n.CE)("span",zt,[e[2]||(e[2]=(0,n.Lk)("div",{class:"stats__duration-mobile stats__duration-mobile-label"}," Activities duration ",-1)),(0,n.eW)(" "+(0,o.v_)(a.activitiesDuration),1)])):(0,n.Q3)("",!0),(0,n.Lk)("span",Vt,[a.videoDuration?((0,n.uX)(),(0,n.CE)("div",Qt,"Video duration: "+(0,o.v_)(a.videoDuration),1)):(0,n.Q3)("",!0),a.activitiesDuration?((0,n.uX)(),(0,n.CE)("div",$t," Activities duration: "+(0,o.v_)(a.activitiesDuration),1)):(0,n.Q3)("",!0)]),(0,n.bF)(c,{vertical:"",height:"45px",class:(0,o.C4)(["stats__separator",{"stats__separator--hidden-on-compact-layout":!!a.videoDuration&&!!a.activitiesDuration}])},null,8,["class"]),a.isLgDesktop?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("span",Yt,[e[3]||(e[3]=(0,n.Lk)("div",{class:"stats__difficulty-mobile stats__difficulty-mobile-label"}," Difficulty ",-1)),(0,n.bF)(u,{class:"stats__difficulty-component",difficultyLevel:a.courseDifficulty,alwaysVisible:"",hideIconOnMobile:"",colored:""},null,8,["difficultyLevel"])])),a.isLgDesktop?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(c,{key:4,vertical:"",height:"45px",class:(0,o.C4)(["stats__separator",{"stats__separator--hidden-on-compact-layout":!a.videoDuration||!a.activitiesDuration,"stats__separator--hidden-on-mobile":!a.hasSkillCheckLab&&!
1a.hasTrackableContent}])},null,8,["class"])),a.hasTrackableContent?((0,n.uX)(),(0,n.CE)(n.FK,{key:5},[(0,n.Lk)("span",Ht,[(0,n.Lk)("span",Kt,[e[4]||(e[4]=(0,n.Lk)("div",{class:"stats__cpe-credits-base-mobile-label"},"CPE",-1)),(0,n.Lk)("div",null,(0,o.v_)(r.course.cpe_credits)+" credits",1)]),(0,n.Lk)("span",Zt,[(0,n.Lk)("span",null,(0,o.v_)(r.course.cpe_credits)+" CPE "+(0,o.v_)(t.$pluralizeWord("Credit",r.course.cpe_credits)),1),t.isAuthenticated?(0,n.bo)(((0,n.uX)(),(0,n.Wv)(l,{key:0,size:"14"},null,512)),[[h,{content:a.cpeTooltipText,placement:"right",classes:["tooltip--text-center"]}]]):(0,n.Q3)("",!0)])]),a.hasSkillCheckLab||!a.hasSkillCheckLab&&a.isLgDesktop?((0,n.uX)(),(0,n.Wv)(c,{key:0,vertical:"",height:"45px",class:(0,o.C4)(["stats__separator",{"stats__separator--hidden-on-compact-layout":a.hideSkillCheckSeparator}])},null,8,["class"])):(0,n.Q3)("",!0)],64)):(0,n.Q3)("",!0),a.hasSkillCheckLab?((0,n.uX)(),(0,n.CE)(n.FK,{key:6},[(0,n.Lk)("div",Jt,[(0,n.Lk)("div",te,[(0,n.bF)(d),(0,n.eW)(" "+(0,o.v_)(a.skillCheckLabel)+", "+(0,o.v_)(a.skillCheckFlagsLabel),1)]),(0,n.Lk)("div",ee," +"+(0,o.v_)(a.skillCheckCredits)+" Bonus CPE "+(0,o.v_)(t.$pluralizeWord("Credit",a.skillCheckCredits)),1)]),a.isLgDesktop?((0,n.uX)(),(0,n.Wv)(c,{key:0,vertical:"",height:"45px",class:"stats__separator"})):(0,n.Q3)("",!0)],64)):(0,n.Q3)("",!0),a.isLgDesktop?((0,n.uX)(),(0,n.CE)("span",re,[(0,n.bF)(u,{class:"stats__difficulty-component",difficultyLevel:a.courseDifficulty,alwaysVisible:"",hideIconOnMobile:"",colored:""},null,8,["difficultyLevel"])])):(0,n.Q3)("",!0),(0,n.bF)(c,{vertical:"",height:"45px",class:"stats__separator stats__separator--hidden-on-mobile"})],2),a.hasAccess?((0,n.uX)(),(0,n.CE)("span",ne,[t.recaptchaRequired?((0,n.uX)(),(0,n.CE)("div",oe,[e[5]||(e[5]=(0,n.Lk)("p",null,"Verify to download",-1)),(0,n.bF)(p,{ref:"recaptcha",sitekey:a.recaptchaSitekey,size:"normal",onVerify:a.onCaptchaVerify,onExpired:a.onCaptchaExpire},null,8,["sitekey","onVerify","onExpired"])])):t.rateLimited?((0,n.uX)(),(0,n.CE)("div",ie,e[6]||(e[6]=[(0,n.Lk)("p",{class:"limit-description"}," You have reached the maximum number of downloads. ",-1),(0,n.Lk)("p",{class:"limit-sub-description"},[(0,n.eW)(" Please contact "),(0,n.Lk)("a",{href:"mailto:[email protected]"},"[email protected]"),(0,n.eW)(". ")],-1)]))):a.fileUUIDs.length?(0,n.bo)(((0,n.uX)(),(0,n.CE)("button",{key:2,class:(0,o.C4)(["stats__files-btn-download btn btn--small btn--default-icon-color btn--full-mobile",{"btn--secondary":!a.isDesktop,"btn--tertiary":a.isDesktop}]),onClick:e[0]||(e[0]=function(){return a.download&&a.download.apply(a,arguments)})},[(0,n.bF)(f),e[7]||(e[7]=(0,n.eW)(" Download files ",-1))],2)),[[h,{content:"Download files related<br/>to this course",classes:["tooltip--text-center"]}]]):((0,n.uX)(),(0,n.CE)(n.FK,{key:3},[(0,n.eW)(" No course files ")],64))])):(0,n.Q3)("",!0)])])}var ae=r(62233),ce=r(7650),ue=r(61855),le=r(97211),de=r(16285),pe=r(67606);function fe(t){return fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fe(t)}function he(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return ve(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);
1try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function u(){}e=Object.getPrototypeOf;var l=[][n]?e(e([][n]())):(ve(e={},n,function(){return this}),e),d=u.prototype=a.prototype=Object.create(l);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,ve(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=u,ve(d,"constructor",u),ve(u,"constructor",c),c.displayName="GeneratorFunction",ve(u,o,"GeneratorFunction"),ve(d),ve(d,o,"Generator"),ve(d,n,function(){return this}),ve(d,"toString",function(){return"[object Generator]"}),(he=function(){return{w:i,m:p}})()}function ve(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}ve=function(t,e,r,n){function i(e,r){ve(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},ve(t,e,r,n)}function be(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ye(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,i=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}function ye(t,e){if(t){if("string"==typeof t)return ge(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ge(t,e):void 0}}function ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function me(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function _e(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){me(i,n,o,s,a,"next",t)}function a(t){me(i,n,o,s,a,"throw",t)}s(void 0)})}}function ke(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Ce(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ke(Object(r),!0).forEach(function(e){we(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function we(t,e,r){return(e=Se(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Se(t){var e=Ee(t,"string");return"symbol"==fe(e)?e:e+""}function Ee(t,e){if("object"!=fe(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Oe=J.A.BREAKPOINTS,Pe=Oe.TABLET,Ae=Oe.DESKTOP,Le={name:"Stats",components:{Difficulty:ae.A,InfoIcon:ce.A,DownloadIcon:ue.A,SkillCheckIcon:le.A,SeparatorBorder:de.A,VueRecaptcha:pe.A},inject:["getWindowWidth"],props:{course:{type:Object,required:!0}},data:function(){return{recaptcha:"",loadingDownload:{}}},computed:Ce(Ce(Ce({},(0,d.aH)({isAuthenticated:function(t){return t.auth.isAuthenticated},recaptchaRequired:function(t){return t.content.recaptchaRequired.file},rateLimited:function(t){return t.content.rateLimits.file}})),(0,d.L8)({currentLabs:"content/currentLabs"})),{},{isDesktop:function(){return this.getWindowWidth()>=Pe},isLgDesktop:function(){return this.getWindowWidth()>=Ae},hasAccess:function(){return(0,p.WK)(this.course)}
1,courseId:function(){return this.course.id},courseDifficulty:function(){return this.course.difficulty},cpeTooltipText:function(){var t,e;return this.course.cpe_credits?(0,p.dT)(null===(t=this.course)||void 0===t||null===(e=t.user_status)||void 0===e?void 0:e.started_date):"This course does not provide CPE credits"},hasTrackableContent:function(){return this.course.has_trackable_content},hasSkillCheckLab:function(){return!!this.skillCheckLabs.length},skillCheckLabs:function(){return this.currentLabs.filter(function(t){return t.is_skill_check})},skillCheckFlags:function(){var t=this.skillCheckCredits;return t?t/2:0},skillCheckCredits:function(){return this.skillCheckLabs.reduce(function(t,e){return t+e.cpe_credits},0)},fileUUIDs:function(){return this.course.files_uuids},recaptchaSitekey:function(){return"6LdcPvYUAAAAACv5EhpOKYWV4ZL0vykH_VcHaWfm"},skillCheckLabel:function(){var t,e=null===(t=this.skillCheckLabs)||void 0===t?void 0:t.length;return"".concat(e," ").concat(this.$pluralizeWord("Lab",e))},skillCheckFlagsLabel:function(){return"".concat(this.skillCheckFlags," ").concat(this.$pluralizeWord("Flag",this.skillCheckFlags))},videoDuration:function(){return this.formatDuration(this.course.video_duration_in_seconds)},activitiesDuration:function(){return this.formatDuration(this.course.other_activities_duration_in_seconds)},renderedItems:function(){return[!!this.videoDuration,!!this.activitiesDuration,this.hasTrackableContent,this.hasSkillCheckLab].filter(Boolean).length},columnsExpanded:function(){var t=1;return this.renderedItems+t>2},hideSkillCheckSeparator:function(){var t=4;return this.renderedItems===t}}),methods:Ce(Ce({},(0,d.i0)({getFileDownloadLink:"files/getFileDownloadLink",setError:"app/setError"})),{},{formatDuration:function(t){return t?"".concat(this.$duration.durationFromSecs(t)):""},download:function(){var t=this;return _e(he().m(function e(){var r,n,o,i,s,a,c;return he().w(function(e){while(1)switch(e.p=e.n){case 0:if(!t.recaptchaRequired){e.n=1;break}return e.a(2);case 1:r=be(t.fileUUIDs),e.p=2,r.s();case 3:if((n=r.n()).done){e.n=9;break}return o=n.value,t.loadingDownload[o]=!0,e.p=4,e.n=5,t.getFileDownloadLink(o);case 5:i=e.v,i&&(s=document.createElement("a"),s.href=i.download_url,s.download=i.filename,s.click()),e.n=7;break;case 6:e.p=6,a=e.v,t.setError(a.message);case 7:return e.p=7,delete t.loadingDownload[o],e.f(7);case 8:e.n=3;break;case 9:e.n=11;break;case 10:e.p=10,c=e.v,r.e(c);case 11:return e.p=11,r.f(),e.f(11);case 12:return e.a(2)}},e,null,[[4,6,7,8],[2,10,11,12]])}))()},onCaptchaVerify:function(t){var e=this;return _e(he().m(function r(){var n,o,i,s,a,c,u,l,d,p,f;return he().w(function(r){while(1)switch(r.p=r.n){case 0:r.p=0,n=be(e.fileUUIDs),r.p=1,n.s();case 2:if((o=n.n()).done){r.n=5;break}return i=o.value,e.loadingDownload[i]=!0,s={fileId:i,recaptchaToken:t},r.n=3,e.getFileDownloadLink(s);case 3:a=r.v,a&&(c=document.createElement("a"),c.href=a.download_url,c.download=a.filename,c.click()),delete e.loadingDownload[i];case 4:r.n=2;break;case 5:r.n=7;break;case 6:r.p=6,p=r.v,n.e(p);case 7:return r.p=7,n.f(),r.f(7);case 8:r.n=10;break;case 9:r.p=9,f=r.v,e.setError(f.message),u=be(e.fileUUIDs);try{for(u.s();!(l=u.n()).done;)d=l.value,delete e.loadingDownload[d]}catch(h){u.e(h)}finally{u.f()}case 10:return r.a(2)}},r,null,[[1,6,7,8],[0,9]])}))()},onCaptchaExpire:function(){this.$refs.recaptcha&&this.$refs.recaptcha.reset()}}),watch:{}};const Te=(0,v.A)(Le,[["render",se],["__scopeId","data-v-3a95cec1"]]);var Ie=Te,je=r(16965);function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function Ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function De(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ne(Object(r),!0).forEach(function(e){Re(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Re(t,e,r){return(e=Fe(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Fe(t){var e=Ue(t,"string");return"symbol"==xe(e)?e:e+""}function Ue(t,e){if("object"!=xe(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=xe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Ge={name:"Details",components:{Instructor:Xt,Stats:Ie,PlayIcon:je.A},props:{course:{type:Object,required:!0},progress:{type:Number,required:!0},hasProgress:{type:Boolean,default:!1}},computed:De(De({},(0,d.aH)({isAuthenticated:function(t){return t.auth.isAuthenticated}})),{},{showProgress:function(){var t=this.course,e=t.has_trackable_content,r=t.status,n="coming soon"!==r;return this.isAuthenticated&&n&&e}})};const Me=(0,v.A)(Ge,[["render",It],["__scopeId","data-v-70b6f296"]]);var Xe=Me,Be={class:"group"},qe={class:"group__title"},We={class:"group__topic-wrapper"},ze={key:0,class:"group__checkpoint"},Ve={class:"group__checkpoint-break"},Qe={class:"group__checkpoint-lab"};function $e(t,e,r,i,s,a){var c=(0,n.g2)("Topic"),u=(0,n.g2)("CheckpointBreak"),l=(0,n.g2)("CheckpointLab");return(0,n.uX)(),(0,n.CE)("div",Be,[(0,n.Lk)("h5",qe,(0,o.v_)(r.group.name),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(a.filteredGroupContent,function(t){return(0,n.uX)(),(0,n.CE)("div",{key:"group-".concat(t.name)},[(0,n.Lk)("section",We,[(0,n.bF)(c,{isUser:r.isUser,topic:t,topicProgress:a.getTopicProgress(t),progress:r.progress,type:s.topicType,parentId:r.courseId},null,8,["isUser","topic","topicProgress","progress","type","parentId"])]),t.skillCheckLab?((0,n.uX)(),(0,n.CE)("section",ze,[(0,n.Lk)("div",Ve,[(0,n.bF)(u)]),(0,n.Lk)("div",Qe,[(0,n.bF)(l,{skillCheckLab:t.skillCheckLab,parentId:r.courseId},null,8,["skillCheckLab","parentId"])])])):(0,n.Q3)("",!0)])}),128))])}var Ye=r(1908),He={class:"break"},Ke={class:"break__skillcheck-wrapper"};function Ze(t,e,r,o,i,s){var a=(0,n.g2)("SkillCheckIcon");return(0,n.uX)(),(0,n.CE)("div",He,[e[0]||(e[0]=(0,n.Lk)("div",{class:"break__divider"},null,-1)),(0,n.Lk)("div",Ke,[(0,n.bF)(a,{class:"break__skillcheck-icon"})]),e[1]||(e[1]=(0,n.Lk)("div",{class:"break__divider"},null,-1))])}var Je={width:"132",height:"21",viewBox:"0 0 132 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tr(t,e){return(0,n.uX)(),(0,n.CE)("svg",Je,e[0]||(e[0]=[(0,n.Fv)('<g clip-path="url(#clip0_14457_21147)"><path d="M69.23 10.275c-.868 0-1.589.293-2.165.876-.575.584-.863 1.39-.863 2.415 0 1.026.297 1.805.89 2.39.592.583 1.322.876 2.189.876.725 0 1.323-.19 1.791-.571.47-.38.784-.845.943-1.394l3.558 1.089c-.318 1.257-1.03 2.336-2.137 3.238-1.106.903-2.491 1.354-4.154 1.354-1.982 0-3.66-.66-5.03-1.977-1.372-1.318-2.057-2.986-2.057-5.005 0-2.018.667-3.712 2.004-5.03 1.336-1.317 2.987-1.977 4.952-1.977 1.715 0 3.123.443 4.22 1.327 1.098.885 1.805 1.973 2.125 3.265l-3.61 1.089a2.77 2.77 0 00-.904-1.407c-.443-.372-1.026-.558-1.751-.558h-.002zM80.629 12.398v7.752h-4.036V.93h4.036v6.876c.796-.796 1.92-1.194 3.37-1.194 1.647 0 2.89.49 3.731 1.474.84.982 1.261 2.242 1.261 3.783v8.282h-4.035v-7.592c0-.69-.182-1.243-.544-1.659-.363-.416-.9-.623-1.606-.623-.62 0-1.129.2-1.527.597-.398.398-.615.907-.65 1.527v-.003zM99.567 15.398l3.371.956c-.336 1.22-1.036 2.226-2.097 3.013-1.061.787-2.39 1.18-3.981 1.18-1.912 0-3.536-.637-4.872-1.91-1.337-1.275-2.004-2.983-2.004-5.125s.65-3.725 1.951-5.017c1.301-1.292 2.844-1.937 4.632-1.937 2.054 0 3.667.598 4.845 1.792 1.177 1.194 1.766 2.853 1.766 4.977 0 .672-.027 1.088-.08 1.248h-9.186c.035.726.346 1.332.93 1.819.583.487 1.273.73 2.07.73 1.363 0 2.248-.574 2.655-1.726zm-5.575-3.424h5.283a2.382 2.382 0 00-.704-1.566c-.434-.442-1.084-.663-1.95-.663-.78 0-1.4.23-1.86.69-.46.46-.716.974-.77 1.54h.001zM111.054 10.275c-.866 0-1.588.293-2.164.876-.575.584-.863 1.39-.863 2.415 0 1.026.297 1.805.889 2.39.593.583 1.323.876 2.19.876.725 0 1.323-.19 1.792-.571.469-.38.783-.845.943-1.394l3.557 1.089c-.318 1.257-1.03 2.336-2.137 3.238-1.106.903-2.491 1.354-4.154 1.354-1.982 0-3.659-.66-5.03-1.977-1.371-1.318-2.057-2.986-2.057-5.005 0-2.018.667-3.712 2.005-5.03 1.335-1.317 2.987-1.977 4.951-1.977 1.716 0 3.123.443 4.221 1.327 1.097.885 1.805 1.973 2.124 3.265l-3.611 1.089a2.764 2.764 0 00-.902-1.407c-.444-.372-1.027-.558-1.752-.558h-.002zM131.434 6.957l-5.149 5.548 5.256 7.645h-4.937l-3.105-4.646-1.301 1.406v3.238h-4.036V.93h4.036v10.46l4.008-4.434h5.23l-.002.001z" fill="#fff"></path><path d="M24.192 16.997l2.295-.804c.09.697.395 1.277.918 1.742.522.448 1.224.67 2.106.67.684 0 1.224-.16 1.62-.483.396-.34.594-.75.594-1.232 0-.858-.557-1.412-1.674-1.662l-2.214-.483c-1.009-.214-1.8-.644-2.377-1.287-.576-.644-.864-1.42-.864-2.332 0-1.108.45-2.065 1.35-2.87.918-.803 2.007-1.206 3.266-1.206.829 0 1.567.125 2.215.375.648.232 1.151.545 1.512.938.36.392.63.76.81 1.098.18.34.316.688.404 1.046l-2.24.831c-.037-.214-.1-.42-.19-.617a3.082 3.082 0 00-.432-.697c-.18-.25-.45-.447-.81-.59-.36-.16-.783-.24-1.269-.24-.63 0-1.151.17-1.566.508-.395.34-.594.742-.594 1.207 0 .822.495 1.341 1.486 1.555l2.105.456c1.152.25 2.034.715 2.646 1.393.63.661.946 1.475.946 2.44 0 1.019-.423 1.94-1.27 2.762-.827.822-1.988 1.232-3.482 1.232-1.602 0-2.853-.392-3.754-1.18-.9-.803-1.413-1.661-1.539-2.573l.002.003z" fill="url(#paint0_linear_14457_21147)"></path><path d="M47.091 7.452l-5.535 5.442 5.643 7.453h-3.185l-4.24-5.685-1.808 1.797v3.888h-2.51V.938h2.51v12.225l5.616-5.71h3.51l-.001-.001z" fill="url(#paint1_linear_14457_21147)"></path><path d="M49.99 20.348h-2.51V7.452h2.51V20.348zM47.426 3.86a1.795 1.795 0 01-.513-1.286c0-.5.172-.93.513-1.287A1.77 1.77 0 0148.722.75c.503 0 .936.179 1.296.536.359.34.54.769.54 1.287 0 .517-.181.93-.54 1.286-.36.34-.793.51-1.296.51-.504 0-.937-.17-1.296-.51z" fill="url(#paint2_linear_14457_21147)"></path><path d="M54.687 20.348h-2.538V.938h2.538v19.41z" fill="url(#paint3_linear_14457_21147)"></path><path d="M59.382 20.348h-2.538V.938h2.538v19.41z" fill="url(#paint4_linear_14457_21147)"></path><path d="M20.113 10.774l-9.755 9.757L.46 10.633 10.217.878 15.64 6.3l-5.176 5.278L8.44 9.6l-.27-.264-.27.263-1.633 1.592-.281.274.277.276 3.87 3.858.275.274.273-.275 7.1-7.157 2.332 2.333z" fill="url(#paint5_linear_14457_21147)"></path></g><defs><linearGradient id="paint0_linear_14457_21147" x1="25.449" y1="13.901" x2="58.38" y2="13.891" gradientUnits="userSpaceOnUse"><stop stop-color="#863AD2"></stop><stop offset="1" stop-color="#5936E4"></stop></linearGradient><linearGradient id="paint1_linear_14457_21147" x1="25.447" y1="10.648" x2="58.38" y2="10.637" gradientUnits="userSpaceOnUse"><stop stop-color="#863AD2"></stop><stop offset="1" stop-color="#5936E4"></stop></linearGradient><linearGradient id="paint2_linear_14457_21147" x1="25.448" y1="10.556" x2="58.38" y2="10.546" gradientUnits="userSpaceOnUse"><stop stop-color="#863AD2"></stop><stop offset="1" stop-color="#5936E4"></stop></linearGradient><linearGradient id="paint3_linear_14457_21147" x1="25.447" y1="10.652" x2="58.38" y2="10.641" gradientUnits="userSpaceOnUse"><stop stop-color="#863AD2"></stop><stop offset="1" stop-color="#5936E4"></stop></linearGradient><linearGradient id="paint4_linear_14457_21147" x1="25.447" y1="10.653" x2="58.38" y2="10.642" gradientUnits="userSpaceOnUse"><stop stop-color="#863AD2"></stop><stop offset="1" stop-color="#5936E4"></stop></linearGradient><linearGradient id="paint5_linear_14457_21147" x1=".46" y1="10.704" x2="20.113" y2="10.704" gradientUnits="userSpaceOnUse"><stop stop-color="#FF2545"></stop><stop offset=".06" stop-color="#F42651"></stop><stop offset=".38" stop-color="#C52F88"></stop><stop offset=".65" stop-color="#A234B0"></stop><stop offset=".87" stop-color="#8D38C8"></stop><stop offset="1" stop-color="#863AD2"></stop></linearGradient><clipPath id="clip0_14457_21147"><path fill="#fff" transform="translate(.46 .75)" d="M0 0h131.08v20H0z"></path></clipPath></defs>',2)]))}const er={},rr=(0,v.A)(er,[["render",tr]]);var nr=rr,or={name:"CheckpointBreak",components:{SkillCheckIcon:nr}};const ir=(0,v.A)(or,[["render",Ze],["__scopeId","data-v-29244d7e"]]);var sr=ir,ar={class:"lab"},cr={class:"lab__content"},ur={class:"lab__progress"},lr={class:"lab__flag-progress"},dr={class:"skills-card"},pr={key:0,class:"skills-card__last-tested"},fr={key:1,class:"skills-card__credits"},hr={key:2,class:"skills-card__credits",style:{color:"var(--positive-light)"}},vr={class:"lab__description"},br={class:"lab__description-content"},yr={class:"lab__description-heading"},gr={class:"lab__description-text"},mr={class:"lab__description-tags"},_r={class:"lab__button"},kr=["disabled"];function Cr(t,e,r,i,s,a){var c=(0,n.g2)("UpgradePlanModal"),u=(0,n.g2)("CpeLabProgress"),l=(0,n.g2)("InfoIcon"),d=(0,n.g2)("PillBadge"),p=(0,n.gN)("tooltip"),f=(0,n.gN)("follow-tooltip");return(0,n.uX)(),(0,n.CE)("div",ar,[s.isPremiumUpgradeModalShown?((0,n.uX)(),(0,n.Wv)(c,{key:0,isPremiumOnlyModal:!0,subscriptionId:s.planToBeUpgraded.id,onToggleUpgradeModal:e[0]||(e[0]=function(t){return s.isPremiumUpgradeModalShown=!1})},null,8,["subscriptionId"])):(0,n.Q3)("",!0),e[3]||(e[3]=(0,n.Lk)("div",{class:"lab__attempted"},null,-1)),(0,n.Lk)("div",cr,[(0,n.Lk)("div",ur,[(0,n.Lk)("div",lr,[(0,n.bF)(u,{currentValue:a.flagCount,maxValue:a.totalFlags},null,8,["currentValue","maxValue"])]),(0,n.Lk)("div",dr,[e[2]||(e[2]=(0,n.Lk)("h2",{class:"skills-card__title"},"Test your skills",-1)),r.skillCheckLab.user_status_modified?((0,n.uX)(),(0,n.CE)("p",pr," Last tested: "+(0,o.v_)(a.lastTestedDays),1)):(0,n.Q3)("",!0),a.isLabFinished?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",fr,[(0,n.Lk)("span",null," Score 100% to earn "+(0,o.v_)(r.skillCheckLab.cpe_credits)+" CPE credits ",1),(0,n.bo)((0,n.bF)(l,{size:"14",color:"var(--white)"},null,512),[[p,{content:a.tooltipText,placement:"right"}]])])),a.isLabFinished&&t.isCpeProgramEnabled?((0,n.uX)(),(0,n.CE)("p",hr,[(0,n.eW)(" CPE credits earned: "+(0,o.v_)(a.cpeCreditsEarned)+" ",1),0===a.cpeCreditsEarned?(0,n.bo)(((0,n.uX)(),(0,n.Wv)(l,{key:0,size:"14",color:"var(--white)"},null,512)),[[p,{content:a.tooltipText,placement:"right"}]]):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)])]),(0,n.Lk)("div",vr,[(0,n.Lk)("div",br,[(0,n.Lk)("div",yr,(0,o.v_)(a.labName),1),(0,n.Lk)("div",gr,"Overview: "+(0,o.v_)(a.labOverview),1),(0,n.Lk)("div",mr,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(a.visibleTags,function(t){return(0,n.uX)(),(0,n.CE)("div",{key:t,class:"lab__description-tag-wrapper"},[(0,n.bF)(d,{text:t,translucid:"",sober:""},null,8,["text"])])}),128))])]),(0,n.Lk)("div",_r,[(0,n.bo)(((0,n.uX)(),(0,n.CE)("button",{disabled:t.isRequestingRestrictedAccess,class:"btn btn--primary",onClick:e[1]||(e[1]=function(){return a.openLab&&a.openLab.apply(a,arguments)})},[(0,n.eW)((0,o.v_)(a.buttonText),1)],8,kr)),[[f,a.requestAccessTooltipConfig]])])])])])}var wr=r(13653),Sr={class:"progress-container"},Er=["width","height"],Or={id:"gradient",x1:"71.7879",y1:"6.09445",x2:"122.37",y2:"98.1452",gradientUnits:"userSpaceOnUse"}
1,Pr={"stop-color":"#5639C6"},Ar={key:0,attributeName:"stop-color",values:"#5639C6; #328CBE; #5639C6",dur:"4s",repeatCount:"indefinite"},Lr={offset:"1","stop-color":"#328CBE"},Tr={key:0,attributeName:"stop-color",values:"#328CBE; #5639C6; #328CBE",dur:"4s",repeatCount:"indefinite"},Ir=["r","stroke-width"],jr=["r","stroke-width","stroke-dasharray"],xr=["r","stroke-width","stroke-dasharray","stroke-dashoffset"],Nr=["r"],Dr={x:"27",y:"21",width:"45",height:"58.93"},Rr={class:"progress-container__icon-wrapper"},Fr={class:"progress-container__center-text"};function Ur(t,e,r,i,s,a){var c=(0,n.g2)("SkillCheckIcon");return(0,n.uX)(),(0,n.CE)("div",Sr,[((0,n.uX)(),(0,n.CE)("svg",{width:r.size,height:r.size,viewBox:"0 0 100 100"},[(0,n.Lk)("defs",null,[(0,n.Lk)("linearGradient",Or,[(0,n.Lk)("stop",Pr,[r.animateProgress?((0,n.uX)(),(0,n.CE)("animate",Ar)):(0,n.Q3)("",!0)]),(0,n.Lk)("stop",Lr,[r.animateProgress?((0,n.uX)(),(0,n.CE)("animate",Tr)):(0,n.Q3)("",!0)])]),e[0]||(e[0]=(0,n.Lk)("linearGradient",{id:"progress_holder",x1:"60.0497",y1:"186.157",x2:"-18.2377",y2:"15.9728",gradientUnits:"userSpaceOnUse"},[(0,n.Lk)("stop",{"stop-color":"#3E3F49"}),(0,n.Lk)("stop",{offset:"1","stop-color":"#3E3F49","stop-opacity":"0"})],-1))]),(0,n.Lk)("circle",{class:"progress-container__background",cx:"50",cy:"50",r:a.radius,fill:"none","stroke-width":r.strokeWidth},null,8,Ir),(0,n.Lk)("circle",{class:"progress-container__placeholder",cx:"50",cy:"50",r:a.radius,fill:"none",stroke:"url(#progress_holder)","stroke-width":r.strokeWidth,"stroke-dasharray":a.circumference,"stroke-linecap":"round",transform:"rotate(-90 50 50)"},null,8,jr),(0,n.Lk)("circle",{class:"progress-container__bar",cx:"50",cy:"50",r:a.radius,fill:"none",stroke:"url(#gradient)","stroke-width":r.strokeWidth,"stroke-dasharray":a.circumference,"stroke-dashoffset":a.dashOffset,"stroke-linecap":"round"},null,8,xr),(0,n.Lk)("circle",{class:"progress-container__inner-circle",cx:"50",cy:"50",r:a.innerRadius,fill:"#1E1E1E"},null,8,Nr),e[1]||(e[1]=(0,n.Fv)('<defs data-v-bf4c345c><linearGradient id="gradient1" x1="0%" y1="0%" x2="100%" y2="100%" data-v-bf4c345c><stop offset="0%" style="stop-color:rgba(62, 63, 73, 0.7);stop-opacity:1;" data-v-bf4c345c></stop><stop offset="100%" style="stop-color:rgba(62, 63, 73, 0);stop-opacity:1;" data-v-bf4c345c></stop></linearGradient><radialGradient id="borderGradient1" cx="-53.25%" cy="10.23%" r="94.31%" data-v-bf4c345c><stop offset="0%" style="stop-color:#ffffff;stop-opacity:1;" data-v-bf4c345c></stop><stop offset="100%" style="stop-color:rgba(255, 255, 255, 0.06);stop-opacity:1;" data-v-bf4c345c></stop></radialGradient><radialGradient id="borderGradient2" cx="129.28%" cy="66.93%" r="86.84%" data-v-bf4c345c><stop offset="0%" style="stop-color:#dbbeff;stop-opacity:1;" data-v-bf4c345c></stop><stop offset="100%" style="stop-color:rgba(219, 190, 255, 0);stop-opacity:1;" data-v-bf4c345c></stop></radialGradient><radialGradient id="borderGradient3" cx="51.09%" cy="-22.85%" r="41.06%" data-v-bf4c345c><stop offset="0%" style="stop-color:#c6c6c6;stop-opacity:1;" data-v-bf4c345c></stop><stop offset="100%" style="stop-color:rgba(255, 255, 255, 0);stop-opacity:1;" data-v-bf4c345c></stop></radialGradient><mask id="circleMask" data-v-bf4c345c><circle cx="50" cy="50" r="38" fill="white" data-v-bf4c345c></circle><circle cx="50" cy="50" r="37" fill="black" data-v-bf4c345c></circle></mask></defs><g mask="url(#circleMask)" data-v-bf4c345c><rect x="0" y="0" width="100" height="100" fill="url(#borderGradient1)" data-v-bf4c345c></rect><rect x="0" y="0" width="100" height="100" fill="url(#borderGradient2)" data-v-bf4c345c></rect><rect x="0" y="0" width="100" height="100" fill="url(#borderGradient3)" data-v-bf4c345c></rect></g><circle cx="50" cy="50" r="37" fill="url(#gradient1)" data-v-bf4c345c></circle>',3)),((0,n.uX)(),(0,n.CE)("foreignObject",Dr,[(0,n.Lk)("div",Rr,[(0,n.bF)(c,{class:"progress-container__icon-flag"}),(0,n.Lk)("span",Fr,(0,o.v_)(a.percentage)+"%",1)])]))],8,Er))])}var Gr={name:"CpeLabProgress",components:{SkillCheckIcon:le.A},props:{size:{type:Number,default:134},strokeWidth:{type:Number,default:7},maxValue:{type:Number,default:10},currentValue:{type:Number,default:10},animateProgress:{type:Boolean,default:!1}},computed:{radius:function(){return 49-this.strokeWidth/2},circumference:function(){return 2*Math.PI*this.radius},dashOffset:function(){var t=this.currentValue/this.maxValue;return this.circumference*(1-t)},innerRadius:function(){return this.radius-this.strokeWidth/2},percentage:function(){return Math.round(this.currentValue/this.maxValue*100)}}};const Mr=(0,v.A)(Gr,[["render",Ur],["__scopeId","data-v-bf4c345c"]]);
1var Xr=Mr;function Br(t){return Br="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Br(t)}function qr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return Wr(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function u(){}e=Object.getPrototypeOf;var l=[][n]?e(e([][n]())):(Wr(e={},n,function(){return this}),e),d=u.prototype=a.prototype=Object.create(l);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,Wr(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=u,Wr(d,"constructor",u),Wr(u,"constructor",c),c.displayName="GeneratorFunction",Wr(u,o,"GeneratorFunction"),Wr(d),Wr(d,o,"Generator"),Wr(d,n,function(){return this}),Wr(d,"toString",function(){return"[object Generator]"}),(qr=function(){return{w:i,m:p}})()}function Wr(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}Wr=function(t,e,r,n){function i(e,r){Wr(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},Wr(t,e,r,n)}function zr(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function Vr(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){zr(i,n,o,s,a,"next",t)}function a(t){zr(i,n,o,s,a,"throw",t)}s(void 0)})}}function Qr(t){return Kr(t)||Hr(t)||Yr(t)||$r()}function $r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yr(t,e){if(t){if("string"==typeof t)return Zr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zr(t,e):void 0}}function Hr(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Kr(t){if(Array.isArray(t))return Zr(t)}function Zr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Jr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jr(Object(r),!0).forEach(function(e){en(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jr(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function en(t,e,r){return(e=rn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rn(t){var e=nn(t,"string");return"symbol"==Br(e)?e:e+""}function nn(t,e){if("object"!=Br(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Br(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var on={name:"CheckpointLab",mixins:[tt.Mh],components:{PillBadge:wr.A,CpeLabProgress:Xr,UpgradePlanModal:Z.A,InfoIcon:ce.A},props:{skillCheckLab:{type:Object,required:!0},parentId:{type:String,required:!0}},data:function(){return{planToBeUpgraded:{},isPremiumUpgradeModalShown:!1}},computed:tn(tn(tn({},(0,d.L8)({isCpeProgramEnabled:"auth/isCpeProgramEnabled",isContentAccessRestricted:"auth/isContentAccessRestricted"})),(0,d.aH)({course:function(t){return t.courses.currentCourse}})),{},{isLabFinished:function(){return this.skillCheckLab.user_status===J.A.CONTENT_USER_STATUS.FINISHED},tooltipText:function(){var t,e;return(0,p.dT)(null===(t=this.course)||void 0===t||null===(e=t.user_status)||void 0===e?void 0:e.started_date)},labName:function(){return this.skillCheckLab.name},lastTestedDays:function(){var t=new Date(this.skillCheckLab.user_status_modified),e=new Date;t.setHours(0,0,0,0),e.setHours(0,0,0,0);var r=e-t,n=Math.floor(r/864e5);return 0===n?"Today":1===n?"Yesterday":"".concat(n," days ago")},cpeCreditsEarned:function(){return this.skillCheckLab.earned_cpe_credits||0},flagCount:function(){var t,e,r,n,o;return this.isLabFinished?(null===(t=this.skillCheckLab)||void 0===t||null===(e=t.user_flags)||void 0===e?void 0:e.length)||0:(null===(r=this.skillCheckLab)||void 0===r||null===(n=r.user_flags)||void 0===n||null===(o=n.filter(function(t){return t.has_passed}))||void 0===o?void 0:o.length)||0},totalFlags:function(){return this.skillCheckLab.cpe_credits/2},labOverview:function(){return this.skillCheckLab.description||""},visibleTags:function(){return Qr(this.skillCheckLab.tags)},requestAccessTooltipConfig:function(){return!this.isContentAccessRestricted||this.hasSkillCheckAccess?null:{content:J.A.PLAYLIST_MESSAGES.NEED_RESTRICTED_ACCESS_TOOLTIP,placement:"top",hideOnTargetClick:!1,html:!0,textAlign:"center"}},buttonText:function(){return this.hasSkillCheckAccess?"Open":this.isContentAccessRestricted?"Request access":"Get Access"},hasSkillCheckAccess:function(){var t={type:J.A.CONTENT_TYPES.LAB},e=this.skillCheckLab,r=e.user_status,n=e.lab_type;t.file=e,t.status=r,t.labType=n;var o=(0,p.Mg)({parent:this.course,content:t});return o},checkoutLink:function(){return"https://".concat("checkout.ine.com","?product_selected=ine_premium")}}),methods:tn(tn({},(0,d.i0)({getAccessAction:"playlists/getAccessAction",setError:"app/setError"})),{},{openLab:function(){var t=this;return Vr(qr().m(function e(){var r,n,o;return qr().w(function(e){while(1)switch(e.p=e.n){case 0:if(t.hasSkillCheckAccess){e.n=5;break}return e.p=1,e.n=2,t.getAccessAction({onRedirect:function(e){return t.$router.push(e)},onExternalRedirect:function(t){window.location.href=t},onRequestAccess:function(){return t.requestRestrictedAccess(t.buildRequestAccessPayload())},setPlanToBeUpgraded:function(e){t.planToBeUpgraded=e||{}},setIsPremiumUpgradeModalShown:function(e){t.isPremiumUpgradeModalShown=!0===e}});case 2:r=e.v,null!==r&&void 0!==r&&r.action&&"none"!==r.action||t.setError("We could not process your access request. Please try again."),e.n=4;break;case 3:e.p=3,e.v,t.setError("We could not process your access request. Please try again.");case 4:return e.a(2);case 5:t.$emit("toggle-content",J.A.CONTENT_TYPES.LAB),n="".concat(t.$route.name,"-lab"),o={labId:t.skillCheckLab.id},o.id=t.parentId,t.$router.push({name:n,params:o});case 6:return e.a(2)}},e,null,[[1,3]])}
1))()},buildRequestAccessPayload:function(){var t=this.skillCheckLab,e={content_uuid:t.id,content_name:t.name,content_type:J.A.CONTENT_TYPES.LAB};try{var r=this.$router.resolve(this.$buildContentLink(J.A.CONTENT_TYPES.LAB,tn(tn({},t),{},{objectID:t.id})));e.content_url="".concat(window.location.origin).concat(r.href)}catch(n){}return e}})};const sn=(0,v.A)(on,[["render",Cr],["__scopeId","data-v-a18f66dc"]]);var an=sn;function cn(t){return cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(t)}function un(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ln(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,i=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}function ln(t,e){if(t){if("string"==typeof t)return dn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dn(t,e):void 0}}function dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function pn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function fn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pn(Object(r),!0).forEach(function(e){hn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function hn(t,e,r){return(e=vn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vn(t){var e=bn(t,"string");return"symbol"==cn(e)?e:e+""}function bn(t,e){if("object"!=cn(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=cn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var yn={name:"Group",components:{Topic:Ye.A,CheckpointBreak:sr,CheckpointLab:an},props:{group:{type:Object,required:!0},isUser:{type:Boolean,required:!0},progress:{type:[Object,String],required:!1,default:null},currentVideos:{type:Array,required:!0},currentQuizzes:{type:Array,required:!0},currentExercises:{type:Array,required:!0},currentLabs:{type:Array,required:!0},currentIFrames:{type:Array,required:!0},courseId:{type:String,required:!0}},data:function(){return{topicType:J.A.PARENT_CONTENT_TYPES_KEYS.COURSE}},computed:{filteredGroupContent:function(){var t=this;return this.group.content.map(function(e){var r=t.findSkillCheckLab(e.content),n=e.content.filter(function(e){if(e.content_type===J.A.CONTENT_TYPES.LAB){var r=t.currentLabs.find(function(t){return t.id===e.uuid});return r&&!r.is_skill_check}return!0});return fn(fn({},e),{},{content:n,skillCheckLab:r})})}},methods:{findSkillCheckLab:function(t){var e,r=this,n=un(t);try{var o,i=function(){var t=e.value;if(t.content_type===J.A.CONTENT_TYPES.LAB){var n=r.currentLabs.find(function(e){return e.id===t.uuid});if(n&&n.is_skill_check)return{v:n}}};for(n.s();!(e=n.n()).done;)if(o=i(),o)return o.v}catch(s){n.e(s)}finally{n.f()}return null},getCurrentContent:function(t){var e=t.type,r=t.uuid;switch(e){case"video":return this.currentVideos.find(function(t){return t.id===r});case"quiz":return this.currentQuizzes.find(function(t){return t.id===r});case"exercise":return this.currentExercises.find(function(t){return t.id===r});case"lab":return this.currentLabs.find(function(t){return t.id===r});case"iframe":return this.currentIFrames.find(function(t){return t.id===r});default:return{user_status:J.A.CONTENT_USER_STATUS.UNSTARTED}}},getTopicProgress:function(t){var e=this,r={total:t.content.length,completed:0};return this.isUser&&t.content.map(function(t){var n=t.content_type,o=t.uuid,i=e.getCurrentContent({type:n,uuid:o});if(i){var s=i.user_status,a=i.is_trackable;if(s){var c=J.A.CONTENT_USER_STATUS,u=c.FINISHED,l=c.VISITED,d=c.STARTED,p=J.A.CONTENT_TYPES,f=p.LAB,h=p.IFRAME,v=p.SLIDES,b=p.EXERCISE,y=[u,l].includes(s),g=!a&&n===f&&s===d,m=[v,h].includes(n)&&s===d,_=[b].includes(n)&&s===d;(y||g||m||_)&&(r.completed+=1)}}}),r}}};const gn=(0,v.A)(yn,[["render",$e],["__scopeId","data-v-b4e1febc"]]);var mn=gn,_n=r(95975),kn=r(13),Cn=r(58086),wn=r(18509);function Sn(t){return Sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(t)}function En(t){return An(t)||Pn(t)||Tn(t)||On()}function On(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pn(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function An(t){if(Array.isArray(t))return In(t)}function Ln(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Tn(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,i=t}
vendor: 4,170 bytes, line 1
1,f:function(){try{s||null==r.return||r.return()}finally{if(a)throw i}}}}function Tn(t,e){if(t){if("string"==typeof t)return In(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?In(t,e):void 0}}function In(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function jn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return xn(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function u(){}e=Object.getPrototypeOf;var l=[][n]?e(e([][n]())):(xn(e={},n,function(){return this}),e),d=u.prototype=a.prototype=Object.create(l);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,xn(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=u,xn(d,"constructor",u),xn(u,"constructor",c),c.displayName="GeneratorFunction",xn(u,o,"GeneratorFunction"),xn(d),xn(d,o,"Generator"),xn(d,n,function(){return this}),xn(d,"toString",function(){return"[object Generator]"}),(jn=function(){return{w:i,m:p}})()}function xn(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}xn=function(t,e,r,n){function i(e,r){xn(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},xn(t,e,r,n)}function Nn(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function Dn(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){Nn(i,n,o,s,a,"next",t)}function a(t){Nn(i,n,o,s,a,"throw",t)}s(void 0)})}}function Rn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Fn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rn(Object(r),!0).forEach(function(e){Un(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rn(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Un(t,e,r){return(e=Gn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gn(t){var e=Mn(t,"string");return"symbol"==Sn(e)?e:e+""}function Mn(t,e){if("object"!=Sn(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Sn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Xn={name:"Course",components:{CourseOverviewSkel:y,CourseContentSkel:w,Overview:Et,Details:Xe,Group:mn,RatingModal:kn.A,CpeBanner:Cn.A,Dropdown:_n.A}
1,mixins:[wn.A],inject:["getBreakpoint"],metaInfo:function(){var t,e,r=this.course;return{title:r&&r.name?"Explore ".concat(r.name):"Explore All Courses",meta:[{vmid:"course",name:"description",content:r&&r.description?r.description:""}],link:[{rel:"canonical",href:"".concat(J.A.MARKETING_WEBSITE_DIRECTORY_BASE_URL,"/courses/").concat(null===(t=this.$route)||void 0===t||null===(e=t.params)||void 0===e?void 0:e.slug)}]}},data:function(){return{isLoading:!0,levelUuids:null,selectedContent:{label:"Jump to category"},courseSectionNames:[],groupsOffset:[],currentGroupName:"",CONSTANTS:J.A,isDropdownSticky:!1,courseStarted:!1}},computed:Fn(Fn(Fn({},(0,d.aH)({isContentLoading:function(t){return t.content.isContentLoading},isAuthenticated:function(t){return t.auth.isAuthenticated},course:function(t){return t.courses.currentCourse},allLevels:function(t){return t.courses.currentLevels},videos:function(t){return t.content.currentVideos},quizzes:function(t){return t.content.currentQuizzes},exercises:function(t){return t.content.currentExercises},labs:function(t){return t.content.currentLabs},iframes:function(t){return t.content.currentIFrames},progress:function(t){return t.courses.currentCourseProgress},focusedLabId:function(t){return t.labs.focusedLabId},currentSubscriptions:function(t){return t.subscriptions.currentSubscriptions},resumeExerciseId:function(t){return t.exercises.resumeExerciseId}})),(0,d.L8)({isFreeTrialUser:"auth/isFreeTrialUser",isCpeProgramEnabled:"auth/isCpeProgramEnabled"})),{},{isOver75PercentCompleted:function(){return this.progressPercentage>=75},courseStatus:function(){return this.course.status},checkoutLink:function(){return"".concat("checkout.ine.com","?product_selected=ine_premium")},showProgress:function(){var t=this.course.has_trackable_content;return this.isUser&&t},courseGroups:function(){var t,e=1,r=null===(t=this.course)||void 0===t?void 0:t.content;return null===r||void 0===r||r.forEach(function(t){var r;null===(r=t.content)||void 0===r||r.forEach(function(t){t.id="".concat(e++,"-").concat(t.name.toLowerCase().split(" ").join("-"))})}),r},progressPercentage:function(){var t=this.progress.progress;return t?1===t?100:parseInt(100*t):0},gradient:function(){return this.$getGradient()},hasProgress:function(){var t=this.progress,e=this.courseStarted;return!(!t||!(t.is_active||t.progress>0))||e},files:function(){var t=this.course.files;return t||[]},isUser:function(){return(0,p.WK)(this.course)}}),watch:{$route:function(t,e){t.params.id!==e.params.id&&this.queryData(t.params.id)}},created:function(){var t=this;return Dn(jn().m(function e(){return jn().w(function(e){while(1)switch(e.n){case 0:return e.n=1,t.queryData(t.$route.params.id);case 1:t.isAuthenticated&&t.getRunningLab();case 2:return e.a(2)}},e)}))()},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeUnmount:function(){window.removeEventListener("scroll",this.handleScroll)},unmounted:function(){this.resetContentState()},methods:Fn(Fn(Fn(Fn(Fn(Fn(Fn(Fn({},(0,d.PY)({setParentContent:"content/CURRENT_PARENT"})),(0,d.i0)("app",["setError"])),(0,d.i0)("exercises",["setResumeExerciseId"])),(0,d.i0)("labs",["getRunningLab","setFocusLabId"])),(0,d.i0)("iframes",["setPlayingIFrameId"])),(0,d.i0)("courses",["getActiveCourses","getCourseById","resetCurrentLevels"])),(0,d.i0)("content",["fetchContentForCourse","getBookmarks","setIsContentLoading","resetContentState","setPlayingVideoId","setPlayingVideoTime","setCurrentExercisesId","setCurrentQuizId"])),{},{resumeCourse:function(){var t,e=this,r=this.course,n=this.allLevels,o=this.videos,i=this.quizzes,s=this.exercises,a=this.iframes,c=this.labs,u=null,l=null,d=function(t,e){return t.find(function(t){return t.id===e&&t.user_status!==J.A.CONTENT_USER_STATUS.FINISHED})},p=Ln(r.content);try{t:for(p.s();!(t=p.n()).done;){var f,h=t.value,v=Ln(h.content);try{for(v.s();!(f=v.n()).done;){var b,y=f.value,g=Ln(y.content);try{var m,_=function(){var t,e=b.value,r=e.content_type,p=e.uuid;switch(r){case J.A.CONTENT_TYPES.VIDEO:t=d(o,p);break;case J.A.CONTENT_TYPES.QUIZ:t=d(i,p);break;case J.A.CONTENT_TYPES.IFRAME:t=d(a,p);break;case J.A.CONTENT_TYPES.LAB:t=d(c,p);break;case J.A.CONTENT_TYPES.EXERCISE:t=d(s,p);break;default:return 0}if(!t)return 0;if(r!==J.A.CONTENT_TYPES.EXERCISE)return u=t,l=r,1;var f=n.find(function(t){return t.content_type===J.A.CONTENT_TYPES.EXERCISE_GROUP&&t.exercises&&t.exercises.some(function(t){return t.uuid===p})});return f?(u=f,l=J.A.CONTENT_TYPES.EXERCISE_GROUP,1):void 0};for(g.s();!(b=g.n()).done;)if(m=_(),0!==m&&1===m)break t}catch(k){g.e(k)}finally{g.f()}}}catch(k){v.e(k)}finally{v.f()}}}catch(k){p.e(k)}finally{p.f()}switch(this.courseStarted=!0,l){case J.A.CONTENT_TYPES.VIDEO:this.setPlayingVideoId(u.id),this.setPlayingVideoTime(0),this.setPlayingIFrameId(""),this.setCurrentExercisesId(""),this.setCurrentQuizId("");break;case J.A.CONTENT_TYPES.QUIZ:this.setCurrentQuizId(u.id),this.setPlayingVideoId(""),this.setPlayingVideoTime(0),this.setPlayingIFrameId(""),this.setCurrentExercisesId("");break;case J.A.CONTENT_TYPES.EXERCISE_GROUP:this.setCurrentQuizId(""),this.setPlayingVideoId(""),this.setPlayingVideoTime(0),this.setPlayingIFrameId(""),this.setCurrentExercisesId(u.uuid);break;case J.A.CONTENT_TYPES.IFRAME:this.setPlayingIFrameId(u.id),this.setPlayingVideoId(""),this.setPlayingVideoTime(0),this.setCurrentExercisesId(""),this.setCurrentQuizId("");break}this.$nextTick(function(){e.$scrollTo(".level:not(.finished)",1e3,{container:"body",offset:-220})})},useRatingMixin:function(){this.contentRatingPayload={model_id:this.course.id,model_type:J.A.CONTENT_TYPES.COURSE},this.fetchRating()},fetchCourse:function(t){var e=this;return Dn(jn().m(function r(){var n;return jn().w(function(r){while(1)switch(r.n){case 0:return r.n=1,e.getCourseById(t);case 1:if(n=r.v,n){r.n=2;break}throw e.$router.push({name:"NotFound",params:{pathMatch:e.$route.path}}),new Error("NotFound");case 2:return e.setParentContent(Fn(Fn({},n),{},{type:"course"})),e.isAuthenticated&&(e.getActiveCourses(),e.getBookmarks(),e.useRatingMixin()),e.setCourseSectionNames(),r.n=3,e.fetchContentForCourse({course:n,isAuthenticated:e.isAuthenticated});case 3:return r.a(2)}},r)}))()}
1,queryData:function(t){var e=this;return Dn(jn().m(function r(){var n,o;return jn().w(function(r){while(1)switch(r.p=r.n){case 0:return r.p=0,e.courseStarted=!1,e.resetCurrentLevels(),e.setIsContentLoading(!0),r.n=1,e.fetchCourse(t);case 1:r.n=3;break;case 2:r.p=2,o=r.v,n=o.message,e.setError(n);case 3:return r.p=3,e.setIsContentLoading(!1),r.f(3);case 4:return r.n=5,e.$nextTick();case 5:e.resumeExerciseId&&(e.resumeCourse(),e.setResumeExerciseId("")),e.focusedLabId&&(e.$scrollTo(".lab-focused",1e3,{container:"body",offset:-220}),e.setFocusLabId(""));case 6:return r.a(2)}},r,null,[[0,2,3,4]])}))()},checkExerciseInGroup:function(t){return t.user_status!==J.A.CONTENT_USER_STATUS.FINISHED&&this.levelUuids.includes(t.id)},handleContentSelection:function(t){this.selectedContent=t;var e=document.getElementById(this.selectedContent.id),r=window.innerWidth<=768?165:135,n=e.getBoundingClientRect().top,o=n+window.pageYOffset-r;window.scrollTo({top:o,behavior:"smooth"})},setCourseSectionNames:function(){var t,e,r=1;this.courseSectionNames=null===(t=this.course)||void 0===t||null===(e=t.content)||void 0===e?void 0:e.flatMap(function(t){return t.content.filter(function(t){return t.name&&""!==t.name.trim()}).map(function(t){return{label:t.name,id:"".concat(r++,"-").concat(t.name.toLowerCase().split(" ").join("-"))}})})},handleGroupOffset:function(t){this.groupsOffset.push(t)},handleScrollGroupNames:function(){var t=En(document.querySelectorAll(".group")),e=window.pageYOffset+90,r=t.find(function(t){var r=window.pageYOffset+t.getBoundingClientRect().top,n=t.clientHeight;return e>r&&e<r+n});this.currentGroupName=(null===r||void 0===r?void 0:r.firstChild.innerHTML)||this.currentGroupName},getBackgroundSize:function(){var t=this.getBreakpoint();return(0,p.Pr)(t)},handleScroll:function(){if(!this.isContentLoading){var t=this.$refs.groupdropdown,e=this.$refs.groupWrapper;if(t&&e){var r=e.getBoundingClientRect().top;this.isDropdownSticky=r<65,this.isDropdownSticky&&this.handleScrollGroupNames()}}}})};const Bn=(0,v.A)(Xn,[["render",l],["__scopeId","data-v-7b1747d5"]]);var qn=Bn},57962:function(t,e,r){r.d(e,{A:function(){return b}});var n=r(95976),o=r(10160),i=["width","height"],s=["id","fx","fy","cx","cy","r"],a=["stop-color"],c=["stop-color"],u=["r","cx","cy","
1stroke","stroke-dasharray"],l=["transform","r","cx","cy","stroke","stroke-dasharray","stroke-dashoffset"];function d(t,e,r,d,p,f){return(0,n.uX)(),(0,n.CE)("div",{class:"radial-progress-container",style:(0,o.Tr)(f.containerStyle)},[(0,n.Lk)("div",{class:"radial-progress-inner",style:(0,o.Tr)(f.innerCircleStyle)},[(0,n.RG)(t.$slots,"default",{},void 0,!0)],4),((0,n.uX)(),(0,n.CE)("svg",{class:"radial-progress-bar",width:r.diameter,height:r.diameter,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[(0,n.Lk)("defs",null,[(0,n.Lk)("radialGradient",{id:f.gradientId,fx:p.gradient.fx,fy:p.gradient.fy,cx:p.gradient.cx,cy:p.gradient.cy,r:p.gradient.r},[(0,n.Lk)("stop",{offset:"30%","stop-color":r.startColor},null,8,a),(0,n.Lk)("stop",{offset:"100%","stop-color":r.stopColor},null,8,c)],8,s)]),(0,n.Lk)("circle",{r:f.innerCircleRadius,cx:f.radius,cy:f.radius,fill:"transparent",stroke:r.innerStrokeColor,"stroke-dasharray":f.circumference,"stroke-dashoffset":"0","stroke-linecap":"round",style:(0,o.Tr)(f.strokeStyle)},null,12,u),(0,n.Lk)("circle",{transform:"rotate(270, "+f.radius+","+f.radius+")",r:f.innerCircleRadius,cx:f.radius,cy:f.radius,fill:"transparent",stroke:"url(#"+f.gradientId+")","stroke-dasharray":f.circumference,"stroke-dashoffset":f.circumference,"stroke-linecap":"round",style:(0,o.Tr)(f.progressStyle)},null,12,l)],8,i))],4)}var p=0,f={name:"PlaylistRadialProgressBar",props:{diameter:{type:Number,default:200},totalSteps:{type:Number,required:!0,default:10},completedSteps:{type:Number,required:!0,default:0},startColor:{type:String,default:"#bbff42"},stopColor:{type:String,default:"#429321"},strokeWidth:{type:Number,default:10},animateSpeed:{type:Number,default:1e3},innerStrokeColor:{type:String,default:"#323232"},fps:{type:Number,default:60},timingFunc:{type:String,default:"linear"}},data:function(){return{componentUid:p++,gradient:{fx:.99,fy:.5,cx:.5,cy:.5,r:.65},gradientAnimation:null,currentAngle:0,strokeDashoffset:0}},computed:{gradientId:function(){return"radial-gradient-".concat(this.componentUid)},radius:function(){return this.diameter/2},circumference:function(){return Math.PI*this.innerCircleDiameter},stepSize:function(){return 0===this.totalSteps?0:100/this.totalSteps},finishedPercentage:function(){return this.stepSize*this.completedSteps},circleSlice:function(){return 0===this.totalSteps?0:2*Math.PI/this.totalSteps},animateSlice:function(){return 0===this.totalPoints?0:this.circleSlice/this.totalPoints},innerCircleDiameter:function(){return this.diameter-2*this.strokeWidth},innerCircleRadius:function(){return this.innerCircleDiameter/2},totalPoints:function(){return 0===this.animationIncrements?0:this.animateSpeed/this.animationIncrements},animationIncrements:function(){return 0===this.fps?0:1e3/this.fps},containerStyle:function(){return{height:"".concat(this.diameter,"px"),width:"".concat(this.diameter,"px")}},progressStyle:function(){return{height:"".concat(this.diameter,"px"),width:"".concat(this.diameter,"px"),strokeWidth:"".concat(this.strokeWidth,"px"),strokeDashoffset:this.strokeDashoffset,transition:"stroke-dashoffset ".concat(this.animateSpeed,"ms ").concat(this.timingFunc)}},strokeStyle:function(){return{height:"".concat(this.diameter,"px"),width:"".concat(this.diameter,"px"),strokeWidth:"".concat(this.strokeWidth,"px")}},innerCircleStyle:function(){return{width:"".concat(this.innerCircleDiameter,"px")}}},methods:{getPointOfCircle:function(t){var e=.5,r=e+e*Math.cos(t),n=e+e*Math.sin(t);return{x:r,y:n}},gotoPoint:function(){var t=this.getPointOfCircle(this.currentAngle);this.gradient.fx=t.x,this.gradient.fy=t.y},changeProgress:function(t){var e=this,r=t.isAnimate,n=void 0===r||r;if(this.strokeDashoffset=(100-this.finishedPercentage)/100*this.circumference,this.gradientAnimation&&clearInterval(this.gradientAnimation),n&&0!==this.totalSteps&&0!==this.totalPoints){var o=(this.completedSteps-1)*this.circleSlice,i=(this.currentAngle-o)/this.animateSlice,s=this.totalPoints-i;if(!Number.isFinite(i)||Math.abs(s)<=Number.EPSILON)this.gotoNextStep();else{var a=Math.abs(i-this.totalPoints)/this.totalPoints,c=i<this.totalPoints;this.gradientAnimation=setInterval(function(){c&&i>=e.totalPoints||!c&&i<e.totalPoints?clearInterval(e.gradientAnimation):(e.currentAngle=o+e.animateSlice*i,e.gotoPoint(),i+=c?a:-a)},this.animationIncrements)}}else this.gotoNextStep()},gotoNextStep:function(){this.currentAngle=this.completedSteps*this.circleSlice,this.gotoPoint()}},watch:{totalSteps:function(){this.changeProgress({isAnimate:!0})},completedSteps:function(){this.changeProgress({isAnimate:!0})},diameter:function(){this.changeProgress({isAnimate:!0})},strokeWidth:function(){this.changeProgress({isAnimate:!0})}},created:function(){this.changeProgress({isAnimate:!1})},beforeUnmount:function(){this.gradientAnimation&&clearInterval(this.gradientAnimation)}},h=r(1169);const v=(0,h.A)(f,[["render",d],["__scopeId","data-v-f17e1bb0"]]);var b=v},91194:function(t,e,r){r.d(e,{A:function(){return T}});var n=r(95976);
1function o(t,e,r,o,i,s){var a=(0,n.g2)("PlusIcon"),c=(0,n.g2)("CheckIcon"),u=(0,n.g2)("Action"),l=(0,n.gN)("tooltip");return t.isAuthenticated?(0,n.bo)(((0,n.uX)(),(0,n.Wv)(u,{key:0,ofType:"large",content:s.isActive?"Active":"Add",isLoading:i.isLoading,disabled:i.isLoading,customClass:"black"===r.buttonStyle?"action-black":null,onClick:e[0]||(e[0]=function(t){return s.toggleActive()})},{icon:(0,n.k6)(function(){return[s.isActive?((0,n.uX)(),(0,n.Wv)(c,{key:1})):((0,n.uX)(),(0,n.Wv)(a,{key:0}))]}),_:1},8,["content","isLoading","disabled","customClass"])),[[l,{content:i.isLoading||s.isActive?"Remove From Active Courses":"Add To Active Courses",placement:"bottom-center"}]]):(0,n.Q3)("",!0)}var i=r(51449),s=r(90860),a={width:"24",height:"24",viewBox:"0 0 24 24","fill-rule":"evenodd","clip-rule":"evenodd",fill:"#1E1E1E"};function c(t,e){return(0,n.uX)(),(0,n.CE)("svg",a,e[0]||(e[0]=[(0,n.Lk)("path",{d:"M12.328 4.25a1 1 0 011 1v14a1 1 0 11-2 0v-14a1 1 0 011-1z"},null,-1),(0,n.Lk)("path",{d:"M4.328 12.25a1 1 0 011-1h14a1 1 0 110 2h-14a1 1 0 01-1-1z"},null,-1)]))}var u=r(1169);const l={},d=(0,u.A)(l,[["render",c]]);var p=d,f={width:"24",height:"24",viewBox:"0 0 24 24",fill:"#1E1E1E","fill-rule":"evenodd","clip-rule":"evenodd"};function h(t,e){return(0,n.uX)(),(0,n.CE)("svg",f,e[0]||(e[0]=[(0,n.Lk)("path",{d:"M20.707 5.293a1 1 0 010 1.414l-11 11a1 1 0 01-1.414 0l-5-5a1 1 0 111.414-1.414L9 15.586 19.293 5.293a1 1 0 011.414 0z"},null,-1)]))}const v={},b=(0,u.A)(v,[["render",h]]);var y=b;function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof a?n:a,u=Object.create(c.prototype);return _(u,"_invoke",function(r,n,o){var i,a,c,u=0,l=o||[],d=!1,p={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,r){return i=e,a=0,c=t,p.n=r,s}};function f(r,n){for(a=r,c=n,e=0;!d&&u&&!o&&e<l.length;e++){var o,i=l[e],f=p.p,h=i[2];r>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=r<2&&f<i[1])?(a=0,p.v=n,p.n=i[1]):f<h&&(o=r<3||i[0]>n||n>h)&&(i[4]=r,i[5]=n,p.n=h,a=0))}if(o||r>1)return s;throw d=!0,n}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===l&&f(l,h),a=l,c=h;(e=a<2?t:c)||!d;){i||(a?a<3?(a>1&&(p.n=-1),f(a,c)):p.n=c:p.v=c);try{if(u=2,i){if(a||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,a<2&&(a=0)}else 1===a&&(e=i.return)&&e.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((e=(d=p.n<0)?c:r.call(n,p))!==s)break}catch(e){i=t,a=1,c=e}finally{u=1}}return{value:e,done:d}}}(r,o,i),!0),u}var s={};function a(){}function c(){}function u(){}e=Object.getPrototypeOf;var l=[][n]?e(e([][n]())):(_(e={},n,function(){return this}),e),d=u.prototype=a.prototype=Object.create(l);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,_(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=u,_(d,"constructor",u),_(u,"constructor",c),c.displayName="GeneratorFunction",_(u,o,"GeneratorFunction"),_(d),_(d,o,"Generator"),_(d,n,function(){return this}),_(d,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:p}})()}function _(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}_=function(t,e,r,n){function i(e,r){_(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},_(t,e,r,n)}function k(t,e,r,n,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,o)}function C(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function s(t){k(i,n,o,s,a,"next",t)}function a(t){k(i,n,o,s,a,"throw",t)}s(void 0)})}}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?w(Object(r),!0).forEach(function(e){E(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function E(t,e,r){return(e=O(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t){var e=P(t,"string");return"symbol"==g(e)?e:e+""}function P(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var A={name:"Active",components:{Action:s.A,PlusIcon:S(S({},p),{},{name:"PlusIcon"}),CheckIcon:S(S({},y),{},{name:"CheckIcon"})},props:{course:{type:Object,required:!0},buttonStyle:{type:String,required:!1,default:function(){return"white"}}},data:function(){return{isLoading:!1}},computed:S(S({},(0,i.aH)({active:function(t){return t.courses.activeCourses},isAuthenticated:function(t){return t.auth.isAuthenticated}})),{},{isActive:function(){var t=this;return this.active&&this.active.length?this.active.find(function(e){return e.id===t.courseId}):null},courseId:function(){return this.course.id||this.course.objectID}}),methods:{toggleActive:function(){var t=this;return C(m().m(function e(){return m().w(function(e){while(1)switch(e.n){case 0:if(t.isLoading=!0,t.isActive){e.n=2;break}return e.n=1,t.$store.dispatch("courses/addActiveCourse",t.courseId);case 1:t.sendMixpanelEvent(t.eventsConstants.CONTENT_COURSE_ACTIVE_ADDED,S({course_id:t.courseId,course_name:t.course.name,trigger:"courseButton"},t.course)),e.n=4;break;case 2:return e.n=3,t.$store.dispatch("courses/removeActiveCourse",t.courseId);case 3:t.sendMixpanelEvent(t.eventsConstants.CONTENT_COURSE_ACTIVE_REMOVED,S({course_id:t.courseId,course_name:t.course.name,trigger:"courseButton"},t.course));case 4:return e.n=5,t.$store.dispatch("courses/getActiveCourses");case 5:t.isLoading=!1;case 6:return e.a(2)}},e)}))()}}};const L=(0,u.A)(A,[["render",o]]);var T=L},97211:function(t,e,r){r.d(e,{A:function(){return u}});var n=r(95976),o={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"};function i(t,e){return(0,n.uX)(),(0,n.CE)("svg",o,e[0]||(e[0]=[(0,n.Fv)('<g clip-path="url(#clip0_14457_21087)"><path d="M20 10.07L10.072 20 0 9.928 9.93 0l5.518 5.518-5.267 5.37-2.06-2.011-.275-.27-.275.268-1.662 1.62-.286.28.282.28 3.939 3.926.28.28.277-.281 7.225-7.283L20 10.07z" fill="url(#paint0_linear_14457_21087)"></path></g><defs><linearGradient id="paint0_linear_14457_21087" x1="0" y1="10" x2="20" y2="10" gradientUnits="userSpaceOnUse"><stop stop-color="#FF2545"></stop><stop offset=".06" stop-color="#F42651"></stop><stop offset=".38" stop-color="#C52F88"></stop><stop offset=".65" stop-color="#A234B0"></stop><stop offset=".87" stop-color="#8D38C8"></stop><stop offset="1" stop-color="#863AD2"></stop></linearGradient><clipPath id="clip0_14457_21087"><path fill="#fff" d="M0 0h20v20H0z"></path></clipPath></defs>',2)]))}var s=r(1169);const a={},c=(0,s.A)(a,[["render",i]]);var u=c}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.