PageSourceSearch

https://researcher.life/assets/r-life/production/JBUILD38/browser/en/5139.dc3931e9bebf998d.js

js researcher.life collected 2026-09-24 08:51:05 UTC 153,944 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkr_life=self.webpackChunkr_life||[]).push([[5139],{605:(te,D,s)=>{s.d(D,{Y:()=>E});var t=s(8839),n=s(1584);function E(e=0,O=t.E){return e<0&&(e=0),(0,n.O)(e,e,O)}},683:(te,D,s)=>{s.d(D,{d:()=>se});var t=s(9361),n=s(1360),E=s(6481),e=s(2881),O=s(7337),u=s(8650),b=s(7296);const z=(S,X,v)=>({CTALabel:"Course card",TypeofCTA:"Card",Section:"Upskill onboarded section",SubSection:S,Menu:X,ClickDetail:v,ProductAddressed:"Upskill"}),W=S=>({label:"Clicks to view information detail",description:"Course card clicks",property:S}),B=(S,X,v,H)=>({CTALabel:S,TypeofCTA:"Icon",Section:"Upskill onboarded section",SubSection:X,Menu:v,ClickDetail:H,ProductAddressed:"Upskill"}),R=(S,X)=>({label:"Clicks to view information detail",description:S,property:X}),ee=S=>({bookmarked:S});function $(S,X){1&S&&(n.j41(0,"div",21),n.EFF(1,"Popular"),n.k0s())}function P(S,X){if(1&S&&(n.j41(0,"span",22),n.pXf(1,0),n.k0s()),2&S){const v=n.XpG();n.R7$(),n.uP7(null==v.cardInfo?null:v.cardInfo.userEnrolled),n.nnv(1)}}function G(S,X){if(1&S&&(n.j41(0,"span"),n.EFF(1),n.k0s()),2&S){const v=n.XpG();n.ZvI("content-type-two-card-mobile ",v.cardInfo.type,""),n.R7$(),n.JRh(v.cardInfo.type)}}function T(S,X){if(1&S){const v=n.RV6();n.j41(0,"span",23),n.bIt("click",function(M){n.eBV(v);const ie=n.XpG();return M.stopPropagation(),n.Njj(ie.event.preventDefault())}),n.nrm(1,"img",24),n.j41(2,"span",25),n.pXf(3,1),n.k0s()()}}function y(S,X){if(1&S&&(n.j41(0,"li"),n.nrm(1,"img",37),n.EFF(2),n.k0s()),2&S){const v=n.XpG(3);n.R7$(2),n.SpI(" ",v.cardInfo.customMeta.lectures," Lectures ")}}function K(S,X){1&S&&n.nrm(0,"img",38)}function ue(S,X){1&S&&n.nrm(0,"img",39)}function _e(S,X){if(1&S&&(n.j41(0,"ul",31),n.DNE(1,y,3,1,"li",32),n.j41(2,"li",33),n.DNE(3,K,1,0,"img",34)(4,ue,1,0,"img",35),n.EFF(5),n.k0s(),n.j41(6,"li"),n.nrm(7,"img",36),n.EFF(8),n.k0s()()),2&S){const v=n.XpG(2);n.R7$(),n.Y8G("ngIf",v.cardInfo.customMeta.lectures&&"upskill-two-card quick-feed"!==v.cardType),n.R7$(2),n.Y8G("ngIf","upskill-two-card quick-feed"!==v.cardType),n.R7$(),n.Y8G("ngIf","upskill-two-card quick-feed"===v.cardType),n.R7$(),n.SpI(" ",v.cardInfo.learningTime," "),n.R7$(2),n.Mz_("alt","",v.cardInfo.customMeta.formats," icon"),n.Y8G("src",v.formatIcon.url,n.B4B)("width",v.formatIcon.width)("height",v.formatIcon.height),n.R7$(),n.SpI(" ",v.cardInfo.customMeta.formats," ")}}function ae(S,X){1&S&&(n.j41(0,"a",40),n.PLo(1,2),n.nrm(2,"img",41),n.YFu(),n.k0s())}function fe(S,X){if(1&S){const v=n.RV6();n.j41(0,"div",26),n.DNE(1,_e,9,10,"ul",27),n.j41(2,"ul",28)(3,"li"),n.DNE(4,ae,3,0,"a",29),n.k0s(),n.j41(5,"li")(6,"div",30),n.bIt("click",function(M){n.eBV(v);const ie=n.XpG();return n.Njj(ie.bookmarkCourse(ie.cardInfo,M))}),n.k0s()()()()}if(2&S){const v=n.XpG();n.R7$(),n.Y8G("ngIf",null==v.cardInfo?null:v.cardInfo.customMeta),n.R7$(3),n.Y8G("ngIf",v.essentialPackCard),n.R7$(2),n.Y8G("RAnalytics",n.l_i(9,R,v.cardInfo.wishlisted?"UnBookmark":"Bookmark",n.ziG(4,B,v.cardInfo.wishlisted?"UnBookmark":"Bookmark",v.section?v.section:"Course Recommendation List",v.topicTab?v.topicTab:"NA",v.cardInfo.title)))("ngClass",n.eq3(12,ee,v.cardInfo.wishlisted))}}function Ce(S,X){1&S&&(n.j41(0,"span",44),n.PLo(1,3),n.nrm(2,"img",45),n.YFu(),n.k0s())}function de(S,X){1&S&&n.nrm(0,"img",48)}function pe(S,X){1&S&&n.nrm(0,"img",49)}function ge(S,X){if(1&S&&(n.qex(0),n.DNE(1,de,1,0,"img",46)(2,pe,1,0,"img",47),n.bVm()),2&S){const v=n.XpG(2);n.R7$(),n.Y8G("ngIf",!(null!=v.cardInfo&&v.cardInfo.isEssential)),n.R7$(),n.Y8G("ngIf",null==v.cardInfo?null:v.cardInfo.isEssential)}}function ve(S,X){if(1&S&&(n.j41(0,"div",42),n.DNE(1,Ce,3,0,"span",43)(2,ge,3,2,"ng-container",32),n.k0s()),2&S){const v=n.XpG();n.R7$(),n.Y8G("ngIf",v.isShowStartCourseCta),n.R7$(),n.Y8G("ngIf",v.isShowmembershipPackLogo)}}let se=(()=>{class S{constructor(v,H,M){this.document=v,this.packService=M,this.isShowStartCourseCta=!1,this.isShowmembershipPackLogo=!1,this.startLearningEvent=ne
1w n.bkB,this.bookmarkClick=new n.bkB,this.formatIcon={url:"",height:"",width:""},this.environment=H}ngOnInit(){this.cardInfo?.customMeta?.formats&&this.getCourseFormatIcon(this.cardInfo.customMeta.formats)}getCourseLink(){return this.environment.products.rUpskill+this.cardInfo.urlAlias}bookmarkCourse(v,H){H.stopPropagation(),H.preventDefault(),this.bookmarkClick.emit(v)}getCourseFormatIcon(v){switch(v){case"video":case"video + text":this.formatIcon={url:"https://cdn.researcher.life/rlife/icons/video.svg",height:"14",width:"14"};break;case"email":this.formatIcon={url:"https://cdn.researcher.life/rlife/icons/envelope.svg",height:"14",width:"14"};break;default:this.formatIcon={url:"https://cdn.researcher.life/rlife/icons/text.svg",height:"16",width:"11"}}}get packConfig(){return this.packService.getPackConfig()}get packClassName(){return this.packService.getPackConfig()?.packClass}static{this.\u0275fac=function(H){return new(H||S)(n.rXU(t.q),n.rXU("environment"),n.rXU(E.xd))}}static{this.\u0275cmp=n.VBU({type:S,selectors:[["spectrum-upskill-course-card"]],inputs:{cardInfo:"cardInfo",utmCampaign:"utmCampaign",cardType:"cardType",isLearnigPane:"isLearnigPane",section:"section",topicTab:"topicTab",essentialPackCard:"essentialPackCard",cardAnalytics:"cardAnalytics",isShowStartCourseCta:"isShowStartCourseCta",isShowmembershipPackLogo:"isShowmembershipPackLogo"},outputs:{startLearningEvent:"startLearningEvent",bookmarkClick:"bookmarkClick"},standalone:!1,decls:22,vars:30,consts:()=>{let v,H,M,ie;return v="" + "\ufffd0\ufffd" + " enrolled",H="Certificate available",M=" Start course " + "\ufffd#2\ufffd\ufffd/#2\ufffd" + "",ie="Start course " + "\ufffd#2\ufffd\ufffd/#2\ufffd" + "",[v,H,M,ie,["target","_blank",3,"click","RAnalytics"],[1,"upskill-image-wrap"],[1,"upskill-image-overlay"],[1,"card-image"],["type","image/webp",1,"img",3,"srcset"],["type","image/jpg",1,"img",3,"srcset"],[1,"img",3,"src","alt"],["class","badge",4,"ngIf"],[1,"section-info"],["class","text-xs font-gilroyBold text-white enrolled",4,"ngIfViewport"],[3,"class",4,"ngIfViewport"],[1,"flex","justify-between","items-start"],[1,"heading","heads","heading-4"],["class","relative certificate-available ml-2 flex-shrink-0 mt-1",3,"click",4,"ngIf"],[1,"by-name","heading-5"],["class","w-full mt-auto md:flex md:items-center md:justify-between",4,"ngIf"],["class","w-full mt-auto flex items-center justify-between upskill-dashboard-bottom",4,"ngIf"],[1,"badge"],[1,"text-xs","font-gilroyBold","text-white","enrolled"],[1,"relative","certificate-available","ml-2","flex-shrink-0","mt-1",3,"click"],["src","https://cdn.researcher.life/rlife/icons/certificate.svg","width","16","height","16","alt","Certificate Available"],[1,"certi-text"],[1,"w-full","mt-auto","md:flex","md:items-center","md:justify-between"],["class","details small-paragraph",4,"ngIf"],[1,"deatils-cta"],["class","text-link flex items-center",4,"ngIf"],[1,"bookmark-icon",3,"click","RAnalytics","ngClass"],[1,"details","small-paragraph"],[4,"ngIf"],[1,"learning-time"],["src","https://cdn.researcher.life/rlife/icons/clock.svg","alt","Time","width","14","height","14",4,"ngIf"],["src","https://cdn.researcher.life/rlife/icons/pink-time.svg","alt","Time icon","width","14","height","14",4,"ngIf"],[3,"src","alt","width","height"],["src","https://cdn.researcher.life/rlife/icons/lecture.svg","alt","Lectures","width","16","height","14"],["src","https://cdn.researcher.life/rlife/icons/clock.svg","alt","Time","width","14","height","14"],["src","https://cdn.researcher.life/rlife/icons/pink-time.svg","alt","Time icon","width","14","height","14"],[1,"text-link","flex","items-center"],["width","20","height","20","src","https://cdn.researcher.life/rlife/icons/icon-arrow.svg","alt","Arrow icon",1,"ml-1.5","flex-shrink-0","transform","rotate-180"],[1,"w-full","mt-auto","flex","items-center","justify-between","upskill-dashboard-bottom"],["class","text-sm font-gilroyBold text-blue-prim start-course flex items-center",4,"ngIf"],[1,"text-sm","font-gilroyBold","text-blue-prim","start-course","flex","items-center"],["src","https://cdn.researcher.life/rlife/icons/arrow-right-blue.svg","alt","arrow","width","12","height","12",1,"ml-1"],["src","https://cdn.researcher.life/rlife/icons/prime-pack-logo1.svg","alt","Prime","width","88","height","16",4,"ngIf"],["src","https://cdn.researcher.life/rlife/icons/essential-pack-free.svg","alt","Essential","width","125","height","15",4,"ngIf"],["src","https://cdn.researcher.life/rlife/icons/prime-pack-logo1.svg","alt","Prime","width","88","height","16"],["src","https://cdn.researcher.life/rlife/icons/essential-pack-free.svg","alt","Essential","width","125","height","15"]]},template:function(H,M){1&H&&(n.j41(0,"a",4),n.nI1(1,"addUtmParams"),n.bIt("click",function(){return M.isLearnigPane?M.startLearningEvent.emit(M.cardInfo):""}),n.j41(2,"div",5)(3,"span"),n.EFF(4),n.k0s(),n.nrm(5,"div",6),n.j41(6,"picture",7),n.nrm(7,"source",8)(8,"source",9)(9,"img",10),n.DNE(10,$,2,0,"div",11),n.k0s()(),n.j41(11,"div",12),n.DNE(12,P,2,1,"span",13)(13,G,2,4,"span",14),n.j41(14,"div",15)(15,"div",16),n.EFF(16),n.k0s(),n.DNE(17,T,4,0,"span",17),n.k0s(),n.j41(18,"p",18),n.EFF(19),n.k0s(),n.DNE(20,fe,7,14,"div",19)(21,ve,3,2,"div",20),n.k0s()()),2&H&&(n.ZvI("card ",M.cardType,""),n.Y8G("RAnalytics",M.essentialPackCard?null:n.eq3(28,W,n.sMw(24,z,M.section?M.section:"Course Recommendation List",M.topicTab?M.topicTab:"NA",M.cardInfo.title))),n.BMQ("href",M.isLearnigPane?null:n.i5U(1,21,M.getCourseLink(),M.utmCampaign),n.B4B),n.R7$(3),n.ZvI("content-type caption ",M.cardInfo.type,""),n.R7$(),n.JRh(M.cardInfo.type),n.R7$(3),n.FS9("srcset",M.cardInfo.thumbnail),n.R7$(),n.FS9("srcset",M.cardInfo.thumbnail),n.R7$(),n.Y8G("src",M.cardInfo.thumbnail,n.B4B)("alt",M.cardInfo.instructorName),n.R7$(),n.Y8G("ngIf","popular"===M.cardInfo.isPopular),n.R7$(2),n.Y8G("ngIfViewport","md,lg,xl"),n.R7$(),n.Y8G("ngIfViewport","sm"),n.R7$(3),n.JRh(M.cardInfo.title),n.R7$(),n.Y8G("ngIf","1"===(null==M.cardInfo?null:M.cardInfo.certificate)),n.R7$(2),n.SpI("By ",M.cardInfo.instructorName,""),n.R7$(),n.Y8G("ngIf",!M.isShowStartCourseCta&&!M.isShowmembershipPackLogo),n.R7$(),n.Y8G("ngIf",M.isShowStartCourseCta||M.isShowmembershipPackLogo))},dependencies:[e.YU,e.bT,O.Y,u.m,b.M],styles:['@charset "UTF-8";h3[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:1rem}.card[_ngcontent-%COMP%]{margin-bottom:1.25rem;display:flex;flex-direction:column;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-shadow: 0 2px 6px 0 rgba(0, 0, 0, .12);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}@media (min-width: 768px){.card[_ngcontent-%COMP%]{flex-direction:row}}.card[_ngcontent-%COMP%]:hover{box-shadow:0 4px 10px #00000029;transition:all .3s ease-in-out}.upskill-image-wrap[_ngcontent-%COMP%]{position:relative;width:100%;height:80px}@media (min-width: 768px){.upskill-image-wrap[_ngcontent-%COMP%]{width:165px;height:136px}}@media (min-width: 992px){.upskill-image-wrap[_ngcontent-%COMP%]{width:230px}}.card-image[_ngcontent-%COMP%]{border-radius:.25rem}.card-image[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:.25rem;object-fit:cover}.badge[_ngcontent-%COMP%]{background:linear-gradient(125.88deg,#ff9a00,#ff7100);position:absolute;top:.75rem;display:flex;height:1.125rem;align-items:center;padding-left:.5rem;padding-right:.5rem;font-size:.563rem;text-transform:uppercase;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.badge[_ngcontent-%COMP%]:before{content:"";width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:9px solid #ff7100;position:absolute;right:-7px;bottom:0}.badge[_ngcontent-%COMP%]:after{content:"";width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:9px solid #ff7100;position:absolute;right:-7px;top:0}.section-info[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:1.125rem 1rem}.section-info[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:66px;overflow:hidden}@media (min-width: 992px){.section-info[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{-webkit-line-clamp:2;max-height:44px;margin-bottom:.25rem}}@media (max-width: 767px){.section-info[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{margin-bottom:.25rem}}@media (min-width: 768px){.section-info[_ngcontent-%COMP%]{flex:1 1 0%;padding-top:.5rem}}@media (max-width: 767px){.section-info[_ngcontent-%COMP%]{height:182px}}.by-name[_ngcontent-%COMP%]{--tw-text-opacity: 1;
1color:rgba(101,101,101,var(--tw-text-opacity))}.upskill-image-overlay[_ngcontent-%COMP%]{background:linear-gradient(180deg,#000 -20.24%,#0003 30%);position:absolute;height:100%;width:100%;border-radius:.25rem}.content-type[_ngcontent-%COMP%]{position:absolute;left:.75rem;padding-left:1rem;font-weight:700;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity));z-index:1;top:8px}.content-type-two-card-mobile[_ngcontent-%COMP%]{display:none}.content-type.Course[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/course-play.svg);background-repeat:no-repeat;background-position:0;background-size:11px}.content-type.Handbook[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/handbook.svg);background-repeat:no-repeat;background-position:0;background-size:11px}.content-type.Webinar[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/webinar.svg);background-repeat:no-repeat;background-position:0;background-size:11px}.content-type.Masterclass[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/masterclass.svg);background-repeat:no-repeat;background-position:0}.desc[_ngcontent-%COMP%]{font-family:lato;font-size:.75rem;line-height:1rem;line-height:1.125rem;--tw-text-opacity: 1;color:rgba(107,120,128,var(--tw-text-opacity))}@media (min-width: 768px){.desc[_ngcontent-%COMP%]{margin-top:1rem}}.details[_ngcontent-%COMP%]{display:flex;flex-shrink:0;flex-wrap:wrap}.details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:.75rem;display:flex;align-items:center;text-transform:capitalize;--tw-text-opacity: 1;color:rgba(107,120,128,var(--tw-text-opacity))}@media (min-width: 768px){.details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:.5rem}}@media (min-width: 992px){.details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:1.125rem}}.details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-right:0}.deatils-cta[_ngcontent-%COMP%]{margin-top:.625rem;display:flex;flex-shrink:0;align-items:center;justify-content:space-between;border-top-width:1px;--tw-border-opacity: 1;border-color:rgba(209,213,219,var(--tw-border-opacity));padding-top:.625rem}@media (min-width: 992px){.deatils-cta[_ngcontent-%COMP%]{margin-top:0;border-style:none;padding-top:0}}.deatils-cta[_ngcontent-%COMP%]   .bookmark-icon[_ngcontent-%COMP%]{margin-left:.625rem;display:block;height:1rem;width:.75rem;background-repeat:no-repeat;background-size:contain;background-image:url(https://cdn.researcher.life/rlife/icons/bookmark.svg);background-size:12px 16px;background-position:bottom right}@media (min-width: 1200px){.deatils-cta[_ngcontent-%COMP%]   .bookmark-icon[_ngcontent-%COMP%]:hover{background-image:url(https://cdn.researcher.life/rlife/icons/bookmark-hover.svg);background-size:12px 16px}}.deatils-cta[_ngcontent-%COMP%]   .bookmark-icon.bookmarked[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_heartbeat .4s;background-image:url(https://cdn.researcher.life/rlife/icons/bookmark-solid.svg)}@keyframes _ngcontent-%COMP%_heartbeat{0%{transform:scale(.75)}to{transform:scale(1)}}.details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:.25rem;display:inline-block}.upskill-two-card[_ngcontent-%COMP%]{width:100%;flex-direction:column}.upskill-two-card[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]{display:none}@media (min-width: 768px){.upskill-two-card[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]{display:block;width:100%;height:60px}}@media (min-width: 1200px){.upskill-two-card[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]{height:80px}}.upskill-two-card[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]{min-height:150px}.upskill-two-card[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{max-height:72px}.upskill-two-card[_ngcontent-%COMP%]   .content-type-two-card-mobile[_ngcontent-%COMP%]{margin-bottom:.5rem;display:block;padding-left:1rem;font-size:.6875rem;font-weight:700;text-transform:uppercase;--tw-text-opacity: 1;
1color:rgba(101,101,101,var(--tw-text-opacity));letter-spacing:1px}.upskill-two-card[_ngcontent-%COMP%]   .content-type-two-card-mobile.Course[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/course-mobile.svg);background-repeat:no-repeat;background-position:0;background-size:contain}.upskill-two-card[_ngcontent-%COMP%]   .content-type-two-card-mobile.Handbook[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/handbook-mobile.svg);background-repeat:no-repeat;background-position:0;background-size:11px}.upskill-two-card[_ngcontent-%COMP%]   .content-type-two-card-mobile.Webinar[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/webinar-mobile.svg);background-repeat:no-repeat;background-position:0;background-size:13px}.upskill-two-card[_ngcontent-%COMP%]   .content-type-two-card-mobile.Masterclass[_ngcontent-%COMP%]{background-image:url(https://cdn.researcher.life/rlife/icons/masterclass-mobile.svg);background-repeat:no-repeat;background-position:0}@media (max-width: 991px){.upskill-two-card[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:.25rem}.upskill-two-card[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"\\2022";padding-right:.25rem}.upskill-two-card[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child:before{content:"";padding-right:0}.upskill-two-card[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:none}}@media (min-width: 768px){.upskill-one-card[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]{overflow:hidden;border-radius:.25rem}.upskill-one-card[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto;max-width:none}}.quick-feed[_ngcontent-%COMP%]   .learning-time[_ngcontent-%COMP%]{color:#e7005d}.certi-text[_ngcontent-%COMP%]{position:absolute;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));text-align:center;font-size:.75rem;line-height:1rem;--tw-text-opacity: 1;
1color:rgba(101,101,101,var(--tw-text-opacity));width:max-content;min-width:120px;right:-10px;box-shadow:0 4px 16px #0003;border-radius:2px;padding:2px;border:4px solid #fff;top:calc(100% + 12px);visibility:hidden;opacity:0;transition:all .3s}@media (min-width: 1200px){.certi-text[_ngcontent-%COMP%]{top:-5px;right:28px}}@media (max-width: 1199px){.certi-text[_ngcontent-%COMP%]:before{bottom:100%;right:0;content:"";position:absolute;border-color:#c2e1f500;border-bottom-color:#fff;border-width:12px;margin-left:-12px}}@media (min-width: 1200px){.certi-text[_ngcontent-%COMP%]:before{left:100%;top:50%;border:solid transparent;content:"";position:absolute;border-color:#c2e1f500;border-left-color:#fff;border-width:12px;margin-top:-12px}}.certificate-available[_ngcontent-%COMP%]:hover   .certi-text[_ngcontent-%COMP%]{visibility:visible;opacity:1}.upskill-card-new[_ngcontent-%COMP%]   .enrolled[_ngcontent-%COMP%]{background:#262626;border-radius:20px;padding:5px 10px}@media (max-width: 1599px){.upskill-card-new[_ngcontent-%COMP%]   .enrolled[_ngcontent-%COMP%]{width:fit-content;margin-bottom:10px}}@media (min-width: 1600px){.upskill-card-new[_ngcontent-%COMP%]   .enrolled[_ngcontent-%COMP%]{position:absolute;top:-14px;left:15px}}.upskill-card-new[_ngcontent-%COMP%]   .section-info[_ngcontent-%COMP%]{padding:20px}@media (min-width: 768px) and (max-width: 1599px){.upskill-card-new[_ngcontent-%COMP%]{flex-direction:row}.upskill-card-new[_ngcontent-%COMP%]   .upskill-image-wrap[_ngcontent-%COMP%]{width:190px;height:170px}.upskill-card-new[_ngcontent-%COMP%]   .upskill-dashboard-bottom[_ngcontent-%COMP%]{flex-direction:row-reverse}.upskill-card-new[_ngcontent-%COMP%]   .upskill-dashboard-bottom[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto;height:15px}.upskill-card-new[_ngcontent-%COMP%]   .upskill-dashboard-bottom[_ngcontent-%COMP%]   .free-pack[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:125px;height:16px}.upskill-card-new[_ngcontent-%COMP%]   .upskill-dashboard-bottom[_ngcontent-%COMP%]   .prime-membership[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:88px;height:15px}}.free-pack[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:88px;height:16px}.prime-membership[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:125px;height:15px}']})}}return S})()},812:(te,D,s)=>{s.d(D,{V:()=>n});var t=s(1360);let n=(()=>{class E{crypt(O,u){const b=B=>B.split("").map(R=>
1R.charCodeAt(0));return JSON.stringify(u).split("").map(b).map(B=>b(O).reduce((R,ee)=>R^ee,B)).map(B=>("0"+Number(B).toString(16)).substr(-2)).join("")}decrypt(O,u){return u.match(/.{1,2}/g).map(W=>parseInt(W,16)).map(W=>(W=>W.split("").map(B=>B.charCodeAt(0)))(O).reduce((B,R)=>B^R,W)).map(W=>String.fromCharCode(W)).join("")}static{this.\u0275fac=function(u){return new(u||E)}}static{this.\u0275prov=t.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}}return E})()},1849:(te,D,s)=>{s.d(D,{B:()=>e});var t=s(2881),n=s(5965),E=s(1360);let e=(()=>{class O{static{this.\u0275fac=function(z){return new(z||O)}}static{this.\u0275mod=E.$C({type:O})}static{this.\u0275inj=E.G2t({imports:[t.MD,n.zI]})}}return O})()},3316:(te,D,s)=>{s.d(D,{o:()=>u});var t=s(2881),n=s(7008),E=s(4387),e=s(5207),O=s(1360);let u=(()=>{class b{resolveComponent(){return n.x}static{this.\u0275fac=function(B){return new(B||b)}}static{this.\u0275mod=O.$C({type:b})}static{this.\u0275inj=O.G2t({imports:[t.MD,E.v,e.iI]})}}return b})()},3503:(te,D,s)=>{s.d(D,{P:()=>O});var t=s(2881),n=s(5965),E=s(5207),e=s(1360);let O=(()=>{class u{static{this.\u0275fac=function(W){return new(W||u)}}static{this.\u0275mod=e.$C({type:u})}static{this.\u0275inj=e.G2t({imports:[t.MD,E.iI,n.zI]})}}return u})()},5139:(te,D,s)=>{s.r(D),s.d(D,{LearningPaneDataModule:()=>dt});var t=s(2881),n=s(9377),E=s(9361),e=s(1360),O=s(8989),u=s(5566),b=s(5965),z=s(9547),W=s(6481),B=s(5368),R=s(8593),ee=s(5207),$=s(8070);let P=(()=>{class a{constructor(i,c){this.http=i,this.environment=c}addWishliast(i){return this.post("wishlist",{pid:i})}removeWishliast(i){return this.delete("wishlist/"+i)}post(i,c){return this.http.post(this.environment.api.rUpskill.default+i,c,{headers:{enableDeviceId:"false"}})}delete(i){return this.http.delete(this.environment.api.rUpskill.default+i,{headers:{enableDeviceId:"false"}})}static{this.\u0275fac=function(c){return new(c||a)(e.KVO(O.Qq),e.KVO("environment"))}}static{this.\u0275prov=e.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var G=s(812),T=s(8650),y=s(7337);const K=()=>({CTALabel:"Set a goal",TypeofCTA:"Link",Page:"Learning",Section:"RHS",SubSection:"Weekly goal",ProductAddressed:"Upskill"}),ue=a=>({label:"Clicks to view information detail",description:"Set a goal - Weekly goal section",property:a}),_e=()=>({CTALabel:"Edit",TypeofCTA:"Link",Page:"Learning",Section:"RHS",SubSection:"Weekly goal",ProductAddressed:"Upskill"}),ae=a=>({label:"Clicks to view information detail",description:"Edit - Weekly goal section",property:a});function fe(a,x){1&a&&(e.j41(0,"div",14)(1,"picture"),e.nrm(2,"source",15)(3,"source",16)(4,"img",17),e.k0s(),e.j41(5,"picture",18),e.nrm(6,"source",19)(7,"source",20)(8,"img",21),e.k0s()())}function Ce(a,x){if(1&a){const i=e.RV6();e.j41(0,"div",9)(1,"h3",10),e.pXf(2,0),e.k0s(),e.j41(3,"p",11),e.PLo(4,1),e.nrm(5,"span"),e.YFu(),e.k0s(),e.j41(6,"a",12),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openSetGoal())}),e.pXf(7,2),e.k0s(),e.DNE(8,fe,9,0,"div",13),e.k0s()}2&a&&(e.R7$(6),e.Y8G("RAnalytics",e.eq3(3,ue,e.lJ4(2,K))),e.R7$(2),e.Y8G("ngIfViewport","md,lg,xl"))}function de(a,x){1&a&&(e.j41(0,"div",22)(1,"div",23)(2,"div",24)(3,"div",25),e.nrm(4,"span",26),e.k0s(),e.j41(5,"div",25),e.nrm(6,"span",27),e.k0s()(),e.j41(7,"div",28)(8,"div",29),e.nrm(9,"span",30),e.k0s(),e.j41(10,"div",31),e.nrm(11,"span",32),e.k0s()()()())}function pe(a,x){1&a&&(e.PLo(0,5,1),e.eu8(1),e.YFu())}function ge(a,x){if(1&a){const i=e.RV6();e.j41(0,"div",33)(1,"div",34)(2,"h3",10),e.pXf(3,3),e.k0s(),e.j41(4,"a",12),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openSetGoal())}),e.pXf(5,4),e.k0s()(),e.j41(6,"div",35)(7,"div",36),e.qSk(),e.j41(8,"svg",37),e.nrm(9,"path",38)(10,"path",39),e.j41(11,"text",40),e.EFF(12),e.k0s()()(),e.joV(),e.j41(13,"p",11),e.PLo(14,5),e.j41(15,"span"),e.DNE(16,pe,2,0,"ng-container",41),e.k0s(),e.YFu(),e.k0s()()()}if(2&a){const i=e.XpG();e.R7$(4),e.Y8G("RAnalytics",e.eq3(6,ae,e.lJ4(5,_e))),e.R7$(6),e.BMQ("stroke-dasharray",i.goalProgress+",100"),e.R7$(2),e.JRh(i.goalSettings.remaining),e.R7$(4),e.Y8G("ngIf",i.goalSettings.remaining>1),e.uP7(i.goalSettings.goalType),e.nnv(14)}}let ve=(()=>{class a{constructor(i,c){this.environment=i,this.upskillMemberService=c,this.startLearningEvent=ne
1w e.bkB,this.openSetGoalPopup=new e.bkB,this.isMobile=!1,this.showCompletedPopup=!1,this.auth={isWeeklyGoalSet:!1},this.goalProgress=0}ngOnInit(){this.detectMobile()}ngOnChanges(){this.upskillMemberService.isWeeklyGoalSet&&(this.goalProgress=0===this.goalSettings?.remaining?100:this.goalSettings?.remaining%this.goalSettings?.goalNumber!=0?50:0)}detectMobile(){this.isMobile=window.innerWidth<=991}startLearningNow(i,c,l,f){this.startLearningEvent.next({teachableUrl:i,cta:c,programTitle:l,courseUrl:f})}showHidePopup(i){this.showCompletedPopup=i}openSetGoal(){this.openSetGoalPopup.emit()}static{this.\u0275fac=function(c){return new(c||a)(e.rXU("environment"),e.rXU(B.e))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["spectrum-upskill-goal-settings"]],inputs:{goalSettings:"goalSettings",completedCourses:"completedCourses",feedCounts:"feedCounts",completedCount:"completedCount",goalLoader:"goalLoader"},outputs:{startLearningEvent:"startLearningEvent",openSetGoalPopup:"openSetGoalPopup"},standalone:!1,features:[e.OA$],decls:3,vars:3,consts:()=>{let i,c,l,f,L,Y;return i="Set a weekly learning goal",c="A goal properly set is halfway reached. " + "\ufffd#5\ufffd" + "- Zig Ziglar" + "\ufffd/#5\ufffd" + "",l="Set a goal",f="Weekly goal",L="Edit",Y="" + "\ufffd#15\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd*16:1\ufffd\ufffd#1:1\ufffd" + "s" + "\ufffd/#1:1\ufffd\ufffd/*16:1\ufffd" + "" + "\ufffd/#15\ufffd" + " remaining to reach your weekly goal. ",[i,c,l,f,L,Y,["class","goal-wrapper",4,"ngIf"],["class","skeleton",4,"ngIf"],["class","goalset-wrapper",4,"ngIf"],[1,"goal-wrapper"],[1,"heads","heading-4"],[1,"small-paragraph"],[1,"text-link",3,"click","RAnalytics"],["class","goal-img-wrapper",4,"ngIfViewport"],[1,"goal-img-wrapper"],["srcset","https://cdn.researcher.life/rlife/images/man-binoculars.webp","type","image/webp","loading","lazy"],["srcset","https://cdn.researcher.life/rlife/images/man-binoculars.png","type","image/png","loading","lazy"],["src","https://cdn.researcher.life/rlife/images/man-binoculars.png","loading","lazy","width","58","height","94","alt","Upskill"],[1,"man-trophy"],["srcset","https://cdn.researcher.life/rlife/images/man-trophy.webp","type","image/webp","loading","lazy"],["srcset","https://cdn.researcher.life/rlife/images/man-trophy.png","type","image/png","loading","lazy"],["src","https://cdn.researcher.life/rlife/images/man-trophy.png","loading","lazy","width","76","height","118","alt","Upskill"],[1,"skeleton"],[1,"py-3","px-4","rounded-md","overflow-hidden","h-full","sm:py-3.5",2,"background","#e8ebfb"],[1,"flex","items-center","justify-between","mb-3","sm:pb-3","sm:border-b","sm:border-colPrimGray","sm:border-opacity-40"],[1,"pt-1","pb-1"],[1,"h-3.5","w-20"],[1,"h-3.5","w-6"],[1,"flex","items-center"],[1,"mr-2.5"],[1,"sm:w-12","sm:h-12","w-10","h-10",2,"border-radius","100%"],[1,"flex-1","pt-1","pb-1"],[1,"h-3"],[1,"goalset-wrapper"],[1,"goalset-head"],[1,"goalset-body"],[1,"progress-circle","pointer-events-none"],["viewBox","0 0 36 36",1,"circular-chart"],["d","M18 2.0845\n              a 15.9155 15.9155 0 0 1 0 31.831\n              a 15.9155 15.9155 0 0 1 0 -31.831",1,"circle-bg"],["d","M18 2.0845\n              a 15.9155 15.9155 0 0 1 0 31.831\n              a 15.9155 15.9155 0 0 1 0 -31.831",1,"circle"],["x","18","y","25.5",1,"percentage"],[4,"ngIf"]]},template:function(c,l){1&c&&e.DNE(0,Ce,9,5,"div",6)(1,de,12,0,"div",7)(2,ge,17,8,"div",8),2&c&&(e.Y8G("ngIf",l.goalSettings&&!l.upskillMemberService.isWeeklyGoalSet&&!l.goalLoader),e.R7$(),e.Y8G("ngIf",l.goalLoader),e.R7$(),e.Y8G("ngIf",l.goalSettings&&l.upskillMemberService.isWeeklyGoalSet&&!l.goalLoader))},dependencies:[t.bT,T.m,y.Y],styles:[".goal-wrapper[_ngcontent-%COMP%]{background:#e8ebfb;overflow:hidden;border-radius:.375rem;padding:.75rem 1rem .5rem}@media (min-width: 768px){.goal-wrapper[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;padding-top:1.25rem;padding-bottom:0}}.goal-wrapper[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:.5rem}.goal-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:.625rem}.goal-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}.goal-img-wrapper[_ngcontent-%COMP%]{margin-top:.25rem;display:flex;align-items:flex-end;justify-content:space-between}.man-trophy[_ngcontent-%COMP%]{margin-bottom:-1px}.goalset-wrapper[_ngcontent-%COMP%]{background:#e8ebfb;height:100%;overflow:hidden;border-radius:.375rem;padding:.75rem 1rem}@media (min-width: 768px){.goalset-wrapper[_ngcontent-%COMP%]{padding-top:.875rem;padding-bottom:.875rem}}.goalset-head[_ngcontent-%COMP%]{margin-bottom:.75rem;display:flex;align-items:center;justify-content:space-between}@media (min-width: 768px){.goalset-head[_ngcontent-%COMP%]{padding-bottom:.75rem;border-bottom:1px solid rgba(0,0,0,.1)}}.goalset-head[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem;line-height:1.375rem}.goalset-body[_ngcontent-%COMP%]{display:flex;align-items:center}@media (min-width: 768px) and (max-width: 991px){.goalset-body[_ngcontent-%COMP%]{flex-wrap:wrap}}.goalset-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#00084d80;font-size:.75rem;line-height:1rem;line-height:1.25rem}@media (min-width: 768px) and (max-width: 991px){.goalset-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:.375rem}}.circular-chart[_ngcontent-%COMP%]{margin-right:.625rem;display:block;flex-shrink:0;border-radius:9999px;background-color:#e8ebfb;width:38px;height:38px}@media (min-width: 768px){.circular-chart[_ngcontent-%COMP%]{width:50px;height:50px}}.circle-bg[_ngcontent-%COMP%]{fill:none;stroke:#c4c4c4;stroke-width:3}
1.circle[_ngcontent-%COMP%]{fill:none;stroke-width:3;stroke-linecap:butt;stroke:#455cf6;animation:_ngcontent-%COMP%_progress 1s ease-out forwards}@keyframes _ngcontent-%COMP%_progress{0%{stroke-dasharray:0 100}}.percentage[_ngcontent-%COMP%]{font-family:Gilroy bold;font-size:.875rem;line-height:1.25rem;line-height:1.375rem;text-anchor:middle;transform:translateY(-2px)}@media (min-width: 768px){.percentage[_ngcontent-%COMP%]{font-size:20px;transform:translateY(0)}}"]})}}return a})();const se=["progressModel"],S=a=>({CTALabel:"Purchased",TypeofCTA:"Link",ClickDetail:a,Page:"Learning",Section:"RHS",SubSection:"Progress till date",ProductAddressed:"Upskill"}),X=a=>({label:"Clicks to view information detail",description:"Purchased",property:a}),v=a=>({CTALabel:"In Progress",TypeofCTA:"Link",ClickDetail:a,Page:"Learning",Section:"RHS",SubSection:"Progress till date",ProductAddressed:"Upskill"}),H=a=>({label:"Clicks to view information detail",description:"In Progress",property:a}),M=a=>({CTALabel:"Completed",TypeofCTA:"Link",ClickDetail:a,Page:"Learning",Section:"RHS",SubSection:"Progress till date",ProductAddressed:"Upskill"}),ie=a=>({label:"Clicks to view information detail",description:"Completed",property:a});function ce(a,x){if(1&a){const i=e.RV6();e.j41(0,"li",9),e.bIt("click",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.loadProgressModel("purchased"))}),e.PLo(1,2),e.nrm(2,"span",10)(3,"strong"),e.YFu(),e.k0s()}if(2&a){const i=e.XpG(2);e.Y8G("RAnalytics",e.eq3(4,X,e.eq3(2,S,i.purchaseFeed.length))),e.R7$(3),e.uP7(i.purchaseFeed.length),e.nnv(1)}}function Ee(a,x){if(1&a){const i=e.RV6();e.j41(0,"li",9),e.bIt("click",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.loadProgressModel("progress"))}),e.PLo(1,3),e.nrm(2,"span",11)(3,"strong"),e.YFu(),e.k0s()}if(2&a){const i=e.XpG(2);e.Y8G("RAnalytics",e.eq3(4,H,e.eq3(2,v,i.ongoingFeed.length))),e.R7$(3),e.uP7(i.ongoingFeed.length),e.nnv(1)}}function Me(a,x){if(1&a){const i=e.RV6();e.j41(0,"li",9),e.bIt("click",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.loadProgressModel("completed"))}),e.PLo(1,4),e.nrm(2,"span",11)(3,"strong"),e.YFu(),e.k0s()}if(2&a){const i=e.XpG(2);
1e.Y8G("RAnalytics",e.eq3(4,ie,e.eq3(2,M,i.completedCourses.length))),e.R7$(3),e.uP7(i.completedCourses.length),e.nnv(1)}}function _(a,x){if(1&a&&(e.j41(0,"div",6)(1,"h3"),e.pXf(2,1),e.k0s(),e.j41(3,"ul",7),e.DNE(4,ce,4,6,"li",8)(5,Ee,4,6,"li",8)(6,Me,4,6,"li",8),e.k0s()()),2&a){const i=e.XpG();e.R7$(4),e.Y8G("ngIf",(null==i.purchaseFeed?null:i.purchaseFeed.length)>0),e.R7$(),e.Y8G("ngIf",(null==i.ongoingFeed?null:i.ongoingFeed.length)>0),e.R7$(),e.Y8G("ngIf",(null==i.completedCourses?null:i.completedCourses.length)>0)}}let w=(()=>{class a{constructor(i,c){this.compiler=i,this.injector=c,this.showMoreCompletedCourses=new e.bkB,this.startLearningEvent=new e.bkB}showMore(){this.showMoreCompletedCourses.emit()}startLearningNow(i,c,l,f){this.startLearningEvent.next({teachableUrl:i,cta:c,programTitle:l,courseUrl:f})}loadProgressModel(i){s.e(8850).then(s.bind(s,8850)).then(({ProgressTillDateModule:c})=>{this.compiler.compileModuleAsync(c).then(l=>{const f=l.create(this.injector),L=f.instance.resolveComponent(),{instance:Y}=this.progressModel.createComponent(L,null,f.injector);this.progressModelInstance=Y,this.progressModelInstance.status=i,this.progressModelInstance.purchaseFeed=this.purchaseFeed,this.progressModelInstance.completedCourses=this.completedCourses,this.progressModelInstance.ongoingFeed=this.ongoingFeed,document.getElementsByTagName("body")[0].classList.remove("no-scroll"),this.progressModelInstance.startLearningEvent.subscribe(re=>{setTimeout(()=>{this.progressModel.clear(),document.getElementsByTagName("body")[0].classList.remove("no-scroll"),this.startLearningEvent.emit(re)},300)}),this.progressModelInstance.closeModelEvent.subscribe(()=>{this.progressModel.clear(),this.progressModelInstance=null,document.getElementsByTagName("body")[0].classList.remove("no-scroll")}),document.getElementsByTagName("body")[0].classList.add("no-scroll")})})}static{this.\u0275fac=function(c){return new(c||a)(e.rXU(e.Ql9),e.rXU(e.zZn))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["spectrum-upskill-overall-progress"]],viewQuery:function(c,l){if(1&c&&e.GBs(se,5,e.c1b),2&c){let f;e.mGM(f=e.lsd())&&(l.progressModel=f.first)}},inputs:{completedCourses:"completedCourses",feedCounts:"feedCounts",completedCount:"completedCount",purchaseFeed:"purchaseFeed",ongoingFeed:"ongoingFeed"},outputs:{showMoreCompletedCourses:"showMoreCompletedCourses",startLearningEvent:"startLearningEvent"},standalone:!1,decls:3,vars:1,consts:()=>{let i,c,l,f;return i="Progress till date",c="" + "\ufffd#2\ufffd" + "Purchased" + "\ufffd/#2\ufffd" + "" + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + "",l="" + "\ufffd#2\ufffd" + "In Progress " + "\ufffd/#2\ufffd" + "" + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + "",f="" + "\ufffd#2\ufffd" + "Completed" + "\ufffd/#2\ufffd" + "" + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + "",[["progressModel",""],i,c,l,f,["class","progress-wrapper",4,"ngIf"],[1,"progress-wrapper"],[1,"progress-list"],[3,"RAnalytics","click",4,"ngIf"],[3,"click","RAnalytics"],[1,"purchased","flex-none"],[1,"flex-none"]]},template:function(c,l){1&c&&(e.DNE(0,_,7,3,"div",5),e.nrm(1,"section",null,0)),2&c&&e.Y8G("ngIf",(null==l.purchaseFeed?null:l.purchaseFeed.length)>0||(null==l.ongoingFeed?null:l.ongoingFeed.length)>0||(null==l.completedCourses?null:l.completedCourses.length)>0)},dependencies:[t.bT,y.Y],styles:[".progress-wrapper[_ngcontent-%COMP%]{background:#e8ebfb;height:100%;width:100%;overflow:hidden;border-radius:.375rem;padding-left:1rem;padding-right:1rem;padding-top:1rem}@media (min-width: 768px){.progress-wrapper[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:1rem;padding-bottom:2px}}.progress-wrapper[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:.375rem;font-size:.875rem;line-height:1.25rem;line-height:1.375rem}@media (min-width: 768px){.progress-wrapper[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-bottom:.75rem;padding-left:1rem;padding-right:1rem}}.progress-list[_ngcontent-%COMP%]{margin:-.25rem -.75rem;display:flex;flex-wrap:wrap;justify-content:space-between}@media (min-width: 768px){.progress-list[_ngcontent-%COMP%]{margin:0}}.progress-list[_ngcontent-%COMP%]   .purchased[_ngcontent-%COMP%]{flex:none}.progress-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;width:50%;cursor:pointer;align-items:center;justify-content:space-between;padding:.25rem .75rem;font-size:.875rem;line-height:1.25rem;line-height:1.375rem;--tw-text-opacity: 1;color:rgba(0,8,77,var(--tw-text-opacity))}.progress-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{margin-left:1rem;font-family:Gilroy bold;--tw-text-opacity: 1;color:rgba(17,61,205,var(--tw-text-opacity))}@media (min-width: 768px){.progress-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{border-top:1px solid rgba(169,185,237,.2);width:100%;padding:.625rem 1rem .75rem}.progress-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background:#d6d4fc}}"]})}}return a})();var m=s(8370),A=s(8199),F=s(683),q=s(8319);function ne(a,x){if(1&a&&(e.PLo(0,1,2),e.qex(1),e.nrm(2,"img",10),e.bVm(),e.YFu()),2&a){const i=e.XpG(3);e.R7$(2),e.FS9("alt",null==i.packConfig?null:i.packConfig.alt),e.Y8G("src",i.iconSrc,e.B4B)}}function he(a,x){1&a&&(e.PLo(0,1,3),e.nrm(1,"span",11),e.YFu())}function Fe(a,x){if(1&a&&(e.PLo(0,1,1),e.qex(1),e.DNE(2,ne,3,2,"ng-container",9)(3,he,2,0,"ng-template",null,0,e.C5r),e.bVm(),e.YFu()),2&a){const i=e.sdS(4),c=e.XpG(2);e.R7$(2),e.Y8G("ngIf",null==c.packConfig?null:c.packConfig.icon)("ngIfElse",i),e.R7$(),e.uP7(c.activePackDetail.benefits.length-1),e.nnv(0)}}function be(a,x){if(1&a&&(e.j41(0,"div")(1,"p",4),e.PLo(2,1),e.DNE(3,Fe,5,3,"ng-container",5),e.YFu(),e.k0s(),e.j41(4,"a",6),e.PLo(5,2),e.qex(6),e.nrm(7,"img",7),e.bVm(),e.qex(8),e.nrm(9,"img",8),e.bVm(),e.YFu(),e.k0s()()),2&a){const i=e.XpG();
1e.ZvI("benefits-wrapper ",i.packClassName,""),e.R7$(3),e.Y8G("ngIf",i.activePackDetail.benefits),e.R7$(),e.Y8G("RAnalytics",i.updateClevertapEvent(i.linkClevertapEvent))}}let Ie=(()=>{class a{constructor(i,c){this.membershipService=i,this.packService=c}ngOnInit(){this.getActivePack()}getActivePack(){this.membershipService.getUserActivePack(!0).toPromise().then(i=>{this.activePackDetail=i.data})}updateClevertapEvent(i){return i.property.MembershipType=this.packService.packname}get packConfig(){return this.packService.getPackConfig()}get iconSrc(){return"https://cdn.researcher.life/rlife/icons/pack-logo/essential-pack-light.svg"===this.packConfig?.icon?"https://cdn.researcher.life/logos/editage-plus-dark.svg":this.packConfig?.icon}get packClassName(){return this.packService.getPackConfig()?.packClass}static{this.\u0275fac=function(c){return new(c||a)(e.rXU(z.Cc),e.rXU(W.xd))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["spectrum-benefits-banner"]],inputs:{linkClevertapEvent:"linkClevertapEvent"},standalone:!1,decls:1,vars:1,consts:()=>{let i,c;return i="" + "\ufffd*3:1\ufffd\ufffd#1:1\ufffd" + " " + "\ufffd0:1\ufffd" + " other benefits available in your " + "\ufffd*2:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd#2:2\ufffd\ufffd/#2:2\ufffd" + "" + "[\ufffd/#1:2\ufffd\ufffd/*2:2\ufffd|\ufffd/#1:1\ufffd\ufffd/*3:1\ufffd]" + "" + "\ufffd*3:3\ufffd" + "" + "\ufffd#1:3\ufffd" + " membership" + "\ufffd/#1:3\ufffd" + "" + "\ufffd/*3:3\ufffd" + "" + "[\ufffd/#1:2\ufffd\ufffd/*2:2\ufffd|\ufffd/#1:1\ufffd\ufffd/*3:1\ufffd]" + "",i=e.k04(i),c="View benefits " + "[\ufffd#6\ufffd|\ufffd#8\ufffd]" + "" + "\ufffd#7\ufffd\ufffd/#7\ufffd" + "" + "[\ufffd/#6\ufffd|\ufffd/#8\ufffd]" + "" + "[\ufffd#6\ufffd|\ufffd#8\ufffd]" + "" + "\ufffd#9\ufffd\ufffd/#9\ufffd" + "" + "[\ufffd/#6\ufffd|\ufffd/#8\ufffd]" + "",c=e.k04(c),[["membershipTxt",""],i,c,[3,"class",4,"ngIf"],[1,"flex","flex-wrap","gap-1"],[4,"ngIf"],["routerLink","/my-membership",1,"text-link","flex","items-center",3,"RAnalytics"],["width","20","height","20","src","https://cdn.researcher.life/rlife/icons/icon-arrow.svg","alt","",1,"ml-1.5","flex-shrink-0","icon-arrow"],["width","14","height","12","src","https://cdn.researcher.life/rlife/icons/icon-arrow-white.svg","alt","Back icon",1,"ml-1.5","flex-shrink-0","h-3","icon-arrow-white"],[4,"ngIf","ngIfElse"],["width","110","height","22","loading","lazy",1,"pack-icon",3,"src","alt"],[1,"whitespace-pre"]]},template:function(c,l){1&c&&e.DNE(0,be,10,5,"div",3),2&c&&e.Y8G("ngIf",l.activePackDetail)},dependencies:[t.bT,ee.Wk,y.Y],styles:['.benefits-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;align-items:center;overflow:hidden;border-radius:.25rem;padding:.75rem .875rem .75rem 1.75rem;background:#baeff6;box-shadow:0 0 10px #0000001f}@media (min-width: 768px){.benefits-wrapper[_ngcontent-%COMP%]{flex-wrap:nowrap;justify-content:space-between;padding-top:.875rem;padding-bottom:.875rem}}.benefits-wrapper[_ngcontent-%COMP%]:before{content:"";position:absolute;top:1rem;height:.5rem;width:.5rem;border-radius:9999px;background:#15b4ca;left:14px}@media (min-width: 768px){.benefits-wrapper[_ngcontent-%COMP%]:before{top:19px}}
1.benefits-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-right:.5rem;display:flex;flex-wrap:wrap;font-family:Gilroy bold;font-size:.875rem;line-height:1.25rem;line-height:1.125rem}.benefits-wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   .text-link[_ngcontent-%COMP%]{font-family:Gilroy bold}.benefits-wrapper.prime-membership[_ngcontent-%COMP%]{background:linear-gradient(90.25deg,#0d0e48 27.62%,#113dcd)}.benefits-wrapper.prime-membership[_ngcontent-%COMP%]:before{background:#fbc029}.benefits-wrapper.prime-membership[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .benefits-wrapper.prime-membership[_ngcontent-%COMP%]   .text-link[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.benefits-wrapper.prime-membership[_ngcontent-%COMP%]   .icon-arrow[_ngcontent-%COMP%]{display:none}.benefits-wrapper.prime-membership[_ngcontent-%COMP%]   .pack-icon[_ngcontent-%COMP%]{height:22px;width:110px}.benefits-wrapper.free-pack[_ngcontent-%COMP%]   .icon-arrow-white[_ngcontent-%COMP%]{display:none}.benefits-wrapper.free-pack[_ngcontent-%COMP%]   .pack-icon[_ngcontent-%COMP%]{height:16px;width:revert-layer}']})}}return a})();var Pe=s(7008);const oe=["continueToLearn"],Le=["wishlistFeed"],et=["preferenceFeedSection"],Ne=["exploreCourse"],De=["confirmTeachableModal"],Be=["BenefitNudge"],ye=["BenefitCards"],we=["topicSelectionModal"],Ue=["setGoalModal"],Ge=["learningErrorCard"],We=["learningErrorCardRight"],Xe=a=>({CTALabel:"Essentials pack logo",TypeofCTA:"Logo",ProductAddressed:"R-Life",MembershipType:a,ProductName:"R-LIFE",Page:"Learning"}),Ve=a=>({label:"Clicks to view information detail",description:"Click on Essentials pack logo",property:a}),Ye=()=>({ElementLabel:"Okay, Got It",ElementClicked:"Link",CTALabel:"Essentials pack logo",TypeofCTA:"Logo",Section:"Free courses",SubSection:"Free courses banner",ClickDetail:"Essentials",ProductName:"R-LIFE",Page:"Learning"}),tt=a=>({label:"Click to track - R Life",description:"Free courses banner - Click on Okay, Got it",property:a}),Ke=()=>({Product:"R-LIFE",CTALabel:"View more courses",TypeofCTA:"Link",Page:"Learning","Click Detail":"Explore",Section:"Upskill onboarded section",SubSection:"Courses to learn",Menu:"NA",ClickDetail:"NA",ProductAddressed:"R-Life"}),g=a=>({label:"Clicks to view information detail",property:a}),U=()=>({CTALabel:"View all benefits",TypeofCTA:"Link",Section:"Benefit nudge banner",ProductAddressed:"R-Life",Product:"R-LIFE",Page:"Learning"}),o=a=>({label:"Clicks to view information detail",description:"View all benefits click on benefit nudge banner",property:a}),r=()=>[1],d=a=>({threshold:a}),k=a=>({openBenefit:a}),I=(a,x)=>({CTAlabel:"Benefit card",TypeofCTA:"Card",Page:"Learning","Click Detail":"Explore",Section:a,ProductAddressed:"R-Life","Membership type":x});function V(a,x){if(1&a&&(e.j41(0,"div",29),e.nrm(1,"spectrum-category-header",30),e.k0s()),2&a){const i=e.XpG();e.R7$(),e.Y8G("breadCrumb",i.breadCrumbUpskill)}}function j(a,x){1&a&&(e.j41(0,"div",31)(1,"div",32)(2,"div",33),e.nrm(3,"span",34),e.k0s()(),e.j41(4,"div",35)(5,"div",36)(6,"div",37)(7,"div",38),e.nrm(8,"span",39),e.k0s(),e.j41(9,"div",40)(10,"div",41)(11,"div",42),e.nrm(12,"span",34),e.k0s(),e.j41(13,"div",43),e.nrm(14,"span",34),e.k0s()(),e.j41(15,"div",44),e.nrm(16,"span",45),e.k0s(),e.j41(17,"div",46)(18,"div",47),e.nrm(19,"span",48),e.k0s(),e.j41(20,"div",49),e.nrm(21,"span",48),e.k0s(),e.j41(22,"div",50),e.nrm(23,"span",48),e.k0s()(),e.j41(24,"div",51),e.nrm(25,"span",52),e.k0s()()()(),e.j41(26,"div",53)(27,"div",37)(28,"div",38),e.nrm(29,"span",39),e.k0s(),e.j41(30,"div",40)(31,"div",41)(32,"div",42),e.nrm(33,"span",34),e.k0s(),e.j41(34,"div",43),e.nrm(35,"span",34),e.k0s()(),e.j41(36,"div",44),e.nrm(37,"span",45),e.k0s(),e.j41(38,"div",46)(39,"div",47),e.nrm(40,"span",48),e.k0s(),e.j41(41,"div",49),e.nrm(42,"span",48),e.k0s(),e.j41(43,"div",50),e.nrm(44,"span",48),e.k0s()(),e.j41(45,"div",51),e.nrm(46,"span",52),e.k0s()()()()(),e.j41(47,"div",54)(48,"div",33),e.nrm(49,"span",34),e.k0s()(),e.j41(50,"div")(51,"div",55),e.nrm(52,"span",45),e.k0s()(),e.j41(53,"div",56)(54,"div",57),e.nrm(55,"span",58),e.k0s(),e.j41(56,"div",59)(57,"div",60),e.nrm(58,"span",34),e.k0s(),e.j41(59,"div",61),e.nrm(60,"span",45),e.k0s(),e.j41(61,"div",46)(62,"div",47),e.nrm(63,"span",48),e.k0s(),e.j41(64,"div",49),e.nrm(65,"span",48),e.k0s(),e.j41(66,"div",50),e.nrm(67,"span",48),e.k0s()(),e.j41(68,"div",51),e.nrm(69,"span",52),e.k0s()()(),e.j41(70,"div",56)(71,"div",57),e.nrm(72,"span",58),e.k0s(),e.j41(73,"div",59)(74,"div",60),e.nrm(75,"span",34),e.k0s(),e.j41(76,"div",61),e.nrm(77,"span",45),e.k0s(),e.j41(78,"div",46)(79,"div",47),e.nrm(80,"span",48),e.k0s(),e.j41(81,"div",49),e.nrm(82,"span",48),e.k0s(),e.j41(83,"div",50),e.nrm(84,"span",48),e.k0s()(),e.j41(85,"div",51),e.nrm(86,"span",52),e.k0s()()(),e.j41(87,"div",56)(88,"div",57),e.nrm(89,"span",58),e.k0s(),e.j41(90,"div",59)(91,"div",60),e.nrm(92,"span",34),e.k0s(),e.j41(93,"div",61),e.nrm(94,"span",45),e.k0s(),e.j41(95,"div",46)(96,"div",47),e.nrm(97,"span",48),e.k0s(),e.j41(98,"div",49),e.nrm(99,"span",48),e.k0s(),e.j41(100,"div",50),e.nrm(101,"span",48),e.k0s()(),e.j41(102,"div",51),e.nrm(103,"span",52),e.k0s()()(),e.j41(104,"div",32)(105,"div",33),e.nrm(106,"span",34),e.k0s()(),e.j41(107,"div",35)(108,"div",36)(109,"div",37)(110,"div",38),e.nrm(111,"span",39),e.k0s(),e.j41(112,"div",40)(113,"div",41)(114,"div",42),e.nrm(115,"span",34),e.k0s(),e.j41(116,"div",43),e.nrm(117,"span",34),e.k0s()(),e.j41(118,"div",44),e.nrm(119,"span",45),e.k0s(),e.j41(120,"div",46)(121,"div",47),e.nrm(122,"span",48),e.k0s(),e.j41(123,"div",49),e.nrm(124,"span",48),e.k0s(),e.j41(125,"div",50),e.nrm(126,"span",48),e.k0s()(),e.j41(127,"div",51),e.nrm(128,"span",52),e.k0s()()()(),e.j41(129,"div",53)(130,"div",37)(131,"div",38),e.nrm(132,"span",39),e.k0s(),e.j41(133,"div",40)(134,"div",41)(135,"div",42),e.nrm(136,"span",34),e.k0s(),e.j41(137,"div",43),e.nrm(138,"span",34),e.k0s()(),e.j41(139,"div",44),e.nrm(140,"span",45),e.k0s(),e.j41(141,"div",46)(142,"div",47),e.nrm(143,"span",48),e.k0s(),e.j41(144,"div",49),e.nrm(145,"span",48),e.k0s(),e.j41(146,"div",50),e.nrm(147,"span",48),e.k0s()(),e.j41(148,"div",51),e.nrm(149,"span",52),e.k0s()()()()(),e.j41(150,"div",54)(151,"div",33),e.nrm(152,"span",34),e.k0s()(),e.j41(153,"div")(154,"div",55),e.nrm(155,"span",45),e.k0s()(),e.j41(156,"div",56)(157,"div",57),e.nrm(158,"span",58),e.k0s(),e.j41(159,"div",59)(160,"div",60),e.nrm(161,"span",34),e.k0s(),e.j41(162,"div",61),e.nrm(163,"span",45),e.k0s(),e.j41(164,"div",46)(165,"div",47),e.nrm(166,"span",48),e.k0s(),e.j41(167,"div",49),e.nrm(168,"span",48),e.k0s(),e.j41(169,"div",50),e.nrm(170,"span",48),e.k0s()(),e.j41(171,"div",51),e.nrm(172,"span",52),e.k0s()()(),e.j41(173,"div",56)(174,"div",57),e.nrm(175,"span",58),e.k0s(),e.j41(176,"div",59)(177,"div",60),e.nrm(178,"span",34),e.k0s(),e.j41(179,"div",61),e.nrm(180,"span",45),e.k0s(),e.j41(181,"div",46)(182,"div",47),e.nrm(183,"span",48),e.k0s(),e.j41(184,"div",49),e.nrm(185,"span",48),e.k0s(),e.j41(186,"div",50),e.nrm(187,"span",48),e.k0s()(),e.j41(188,"div",51),e.nrm(189,"span",52),e.k0s()()(),e.j41(190,"div",56)(191,"div",57),e.nrm(192,"span",58),e.k0s(),e.j41(193,"div",59)(194,"div",60),e.nrm(195,"span",34),e.k0s(),e.j41(196,"div",61),e.nrm(197,"span",45),e.k0s(),e.j41(198,"div",46)(199,"div",47),e.nrm(200,"span",48),e.k0s(),e.j41(201,"div",49),e.nrm(202,"span",48),e.k0s(),e.j41(203,"div",50),e.nrm(204,"span",48),e.k0s()(),e.j41(205,"div",51),e.nrm(206,"span",52),e.k0s()()(),e.j41(207,"div",32)(208,"div",33),e.nrm(209,"span",34),e.k0s()(),e.j41(210,"div",35)(211,"div",36)(212,"div",37)(213,"div",38),e.nrm(214,"span",39),e.k0s(),e.j41(215,"div",40)(216,"div",41)(217,"div",42),e.nrm(218,"span",34),e.k0s(),e.j41(219,"div",43),e.nrm(220,"span",34),e.k0s()(),e.j41(221,"div",44),e.nrm(222,"span",45),e.k0s(),e.j41(223,"div",46)(224,"div",47),e.nrm(225,"span",48),e.k0s(),e.j41(226,"div",49),e.nrm(227,"span",48),e.k0s(),e.j41(228,"div",50),e.nrm(229,"span",48),e.k0s()(),e.j41(230,"div",51),e.nrm(231,"span",52),e.k0s()()()(),e.j41(232,"div",53)(233,"div",37)(234,"div",38),e.nrm(235,"span",39),e.k0s(),e.j41(236,"div",40)(237,"div",41)(238,"div",42),e.nrm(239,"span",34),e.k0s(),e.j41(240,"div",43),e.nrm(241,"span",34),e.k0s()(),e.j41(242,"div",44),e.nrm(243,"span",45),e.k0s(),e.j41(244,"div",46)(245,"div",47),e.nrm(246,"span",48),e.k0s(),e.j41(247,"div",49),e.nrm(248,"span",48),e.k0s(),e.j41(249,"div",50),e.nrm(250,"span",48),e.k0s()(),e.j41(251,"div",51),e.nrm(252,"span",52),e.k0s()()()()(),e.j41(253,"div",54)(254,"div",33),e.nrm(255,"span",34),e.k0s()(),e.j41(256,"div")(257,"div",55),e.nrm(258,"span",45),e.k0s()(),e.j41(259,"div",56)(260,"div",57),e.nrm(261,"span",58),e.k0s(),e.j41(262,"div",59)(263,"div",60),e.nrm(264,"span",34),e.k0s(),e.j41(265,"div",61),e.nrm(266,"span",45),e.k0s(),e.j41(267,"div",46)(268,"div",47),e.nrm(269,"span",48),e.k0s(),e.j41(270,"div",49),e.nrm(271,"span",48),e.k0s(),e.j41(272,"div",50),e.nrm(273,"span",48),e.k0s()(),e.j41(274,"div",51),e.nrm(275,"span",52),e.k0s()()(),e.j41(276,"div",56)(277,"div",57),e.nrm(278,"span",58),e.k0s(),e.j41(279,"div",59)(280,"div",60),e.nrm(281,"span",34),e.k0s(),e.j41(282,"div",61),e.nrm(283,"span",45),e.k0s(),e.j41(284,"div",46)(285,"div",47),e.nrm(286,"span",48),e.k0s(),e.j41(287,"div",49),e.nrm(288,"span",48),e.k0s(),e.j41(289,"div",50),e.nrm(290,"span",48),e.k0s()(),e.j41(291,"div",51),e.nrm(292,"span",52),e.k0s()()(),e.j41(293,"div",56)(294,"div",57),e.nrm(295,"span",58),e.k0s(),e.j41(296,"div",59)(297,"div",60),e.nrm(298,"span",34),e.k0s(),e.j41(299,"div",61),e.nrm(300,"span",45),e.k0s(),e.j41(301,"div",46)(302,"div",47),e.nrm(303,"span",48),e.k0s(),e.j41(304,"div",49),e.nrm(305,"span",48),e.k0s(),e.j41(306,"div",50),e.nrm(307,"span",48),e.k0s()(),e.j41(308,"div",51),e.nrm(309,"span",52),e.k0s()()(),e.j41(310,"div",56)(311,"div",57),e.nrm(312,"span",58),e.k0s(),e.j41(313,"div",59)(314,"div",60),e.nrm(315,"span",34),e.k0s(),e.j41(316,"div",61),e.nrm(317,"span",45),e.k0s(),e.j41(318,"div",46)(319,"div",47),e.nrm(320,"span",48),e.k0s(),e.j41(321,"div",49),e.nrm(322,"span",48),e.k0s(),e.j41(323,"div",50),e.nrm(324,"span",48),e.k0s()(),e.j41(325,"div",51),e.nrm(326,"span",52),e.k0s()()(),e.j41(327,"div",56)(328,"div",57),e.nrm(329,"
1span",58),e.k0s(),e.j41(330,"div",59)(331,"div",60),e.nrm(332,"span",34),e.k0s(),e.j41(333,"div",61),e.nrm(334,"span",45),e.k0s(),e.j41(335,"div",46)(336,"div",47),e.nrm(337,"span",48),e.k0s(),e.j41(338,"div",49),e.nrm(339,"span",48),e.k0s(),e.j41(340,"div",50),e.nrm(341,"span",48),e.k0s()(),e.j41(342,"div",51),e.nrm(343,"span",52),e.k0s()()(),e.j41(344,"div",56)(345,"div",57),e.nrm(346,"span",58),e.k0s(),e.j41(347,"div",59)(348,"div",60),e.nrm(349,"span",34),e.k0s(),e.j41(350,"div",61),e.nrm(351,"span",45),e.k0s(),e.j41(352,"div",46)(353,"div",47),e.nrm(354,"span",48),e.k0s(),e.j41(355,"div",49),e.nrm(356,"span",48),e.k0s(),e.j41(357,"div",50),e.nrm(358,"span",48),e.k0s()(),e.j41(359,"div",51),e.nrm(360,"span",52),e.k0s()()(),e.j41(361,"div",56)(362,"div",57),e.nrm(363,"span",58),e.k0s(),e.j41(364,"div",59)(365,"div",60),e.nrm(366,"span",34),e.k0s(),e.j41(367,"div",61),e.nrm(368,"span",45),e.k0s(),e.j41(369,"div",46)(370,"div",47),e.nrm(371,"span",48),e.k0s(),e.j41(372,"div",49),e.nrm(373,"span",48),e.k0s(),e.j41(374,"div",50),e.nrm(375,"span",48),e.k0s()(),e.j41(376,"div",51),e.nrm(377,"span",52),e.k0s()()(),e.j41(378,"div",56)(379,"div",57),e.nrm(380,"span",58),e.k0s(),e.j41(381,"div",59)(382,"div",60),e.nrm(383,"span",34),e.k0s(),e.j41(384,"div",61),e.nrm(385,"span",45),e.k0s(),e.j41(386,"div",46)(387,"div",47),e.nrm(388,"span",48),e.k0s(),e.j41(389,"div",49),e.nrm(390,"span",48),e.k0s(),e.j41(391,"div",50),e.nrm(392,"span",48),e.k0s()(),e.j41(393,"div",51),e.nrm(394,"span",52),e.k0s()()(),e.j41(395,"div",56)(396,"div",57),e.nrm(397,"span",58),e.k0s(),e.j41(398,"div",59)(399,"div",60),e.nrm(400,"span",34),e.k0s(),e.j41(401,"div",61),e.nrm(402,"span",45),e.k0s(),e.j41(403,"div",46)(404,"div",47),e.nrm(405,"span",48),e.k0s(),e.j41(406,"div",49),e.nrm(407,"span",48),e.k0s(),e.j41(408,"div",50),e.nrm(409,"span",48),e.k0s()(),e.j41(410,"div",51),e.nrm(411,"span",52),e.k0s()()()())}function J(a,x){if(1&a){const i=e.RV6();e.j41(0,"div",70)(1,"p",71),e.PLo(2,12),e.nrm(3,"span"),e.YFu(),e.k0s(),e.j41(4,"a",72),e.bIt("click",function(){e.eBV(i);const l=e.XpG(3);return e.Njj(l.freeCourseBannerClick())}),e.pXf(5,13),e.k0s()()}2&a&&(e.R7$(4),e.Y8G("RAnalytics",e.eq3(2,tt,e.lJ4(1,Ye))))}function Q(a,x){if(1&a&&(e.qex(0),e.j41(1,"p",65),e.PLo(2,11),e.j41(3,"a",66),e.nrm(4,"img",67),e.k0s(),e.nrm(5,"shared-help",68),e.YFu(),e.k0s(),e.DNE(6,J,6,4,"div",69),e.bVm()),2&a){const i=e.XpG(2);e.R7$(3),e.Y8G("RAnalytics",e.eq3(10,Ve,e.eq3(8,Xe,i.packName))),e.R7$(),e.FS9("alt",null==i.packConfig?null:i.packConfig.alt),e.Y8G("src",i.iconSrc.src,e.B4B)("width",i.iconSrc.width)("height",i.iconSrc.height),e.R7$(),e.Y8G("section","Free courses section")("cdnUrl","free-courses-v4"),e.R7$(),e.Y8G("ngIf",i.getFreeCourseBanner)}}function Te(a,x){if(1&a){const i=e.RV6();e.qex(0),e.j41(1,"spectrum-upskill-course-card",73),e.bIt("bookmarkClick",function(l){e.eBV(i);const f=e.XpG(2);return e.Njj(f.onBookmarkClick(l))})("startLearningEvent",function(l){e.eBV(i);const f=e.XpG(2);return e.Njj(f.startNowEssentialCardClick(l))}),e.k0s(),e.bVm()}if(2&a){const i=x.$implicit;e.R7$(),e.Y8G("isLearnigPane",!0)("cardInfo",i)("utmCampaign","rlife-dash-learn-and-improve")("essentialPackCard",!0)}}function le(a,x){if(1&a){const i=e.RV6();e.j41(0,"div",74)(1,"a",75),e.bIt("click",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.freeCourseLimit=l.learningFreeCourseFeed.length)}),e.pXf(2,14),e.k0s()()}if(2&a){const i=e.XpG(2);e.R7$(),e.Y8G("RAnalytics",e.eq3(3,g,e.lJ4(2,Ke))),e.R7$(),e.uP7((null==i.learningFreeCourseFeed?null:i.learningFreeCourseFeed.length)-15),e.nnv(2)}}function Ae(a,x){1&a&&(e.qex(0),e.nrm(1,"spectrum-benefits-banner",76),e.bVm()),2&a&&(e.R7$(),e.Y8G("linkClevertapEvent",e.eq3(2,o,e.lJ4(1,U))))}function Re(a,x){if(1&a&&(e.j41(0,"div",62),e.DNE(1,Q,7,12,"ng-container",20)(2,Te,2,4,"ng-container",63),e.nI1(3,"slice"),e.DNE(4,le,3,5,"div",64)(5,Ae,2,4,"ng-container",20),e.k0s()),2&a){const i=e.XpG();e.R7$(),e.Y8G("ngIf",!i.isPrimeUser&&i.userActivePackDetail&&!(null!=i.membershipDetails&&i.membershipDetails.active)),e.R7$(),e.Y8G("ngForOf",e.brH(3,4,i.learningFreeCourseFeed,0,i.freeCourseLimit)),e.R7$(2),e.Y8G("ngIf",(null==i.learningFreeCourseFeed?null:i.learningFreeCourseFeed.length)>15&&i.freeCourseLimit<16),e.R7$(),e.Y8G("ngIf",i.userActivePackDetail)}}function Se(a,x){1&a&&(e.j41(0,"div",31)(1,"div",32)(2,"div",33),e.nrm(3,"span",34),e.k0s()(),e.j41(4,"div",35)(5,"div",36)(6,"div",37)(7,"div",38),e.nrm(8,"span",39),e.k0s(),e.j41(9,"div",40)(10,"div",41)(11,"div",42),e.nrm(12,"span",34),e.k0s(),e.j41(13,"div",43),e.nrm(14,"span",34),e.k0s()(),e.j41(15,"div",44),e.nrm(16,"span",45),e.k0s(),e.j41(17,"div",46)(18,"div",47),e.nrm(19,"span",48),e.k0s(),e.j41(20,"div",49),e.nrm(21,"span",48),e.k0s(),e.j41(22,"div",50),e.nrm(23,"span",48),e.k0s()(),e.j41(24,"div",51),e.nrm(25,"span",52),e.k0s()()()(),e.j41(26,"div",53)(27,"div",37)(28,"div",38),e.nrm(29,"span",39),e.k0s(),e.j41(30,"div",40)(31,"div",41)(32,"div",42),e.nrm(33,"span",34),e.k0s(),e.j41(34,"div",43),e.nrm(35,"span",34),e.k0s()(),e.j41(36,"div",44),e.nrm(37,"span",45),e.k0s(),e.j41(38,"div",46)(39,"div",47),e.nrm(40,"span",48),e.k0s(),e.j41(41,"div",49),e.nrm(42,"span",48),e.k0s(),e.j41(43,"div",50),e.nrm(44,"span",48),e.k0s()(),e.j41(45,"div",51),e.nrm(46,"span",52),e.k0s()()()()()())}function $e(a,x){if(1&a){const i=e.RV6();e.qex(0),e.nrm(1,"section",null,6)(3,"section",null,7),e.j41(5,"div",77)(6,"section",78,8),e.bIt("inViewportAction",function(l){e.eBV(i);const f=e.XpG();return e.Njj(f.loadExploreCourses(l))}),e.k0s()(),e.bVm()}2&a&&(e.R7$(6),e.Y8G("inViewportOptions",e.eq3(2,d,e.lJ4(1,r))))}function Oe(a,x){if(1&a&&(e.j41(0,"div",29),e.nrm(1,"spectrum-category-header",30),e.k0s()),2&a){const i=e.XpG();e.R7$(),e.Y8G("breadCrumb",i.breadCrumbUpskill)}}function je(a,x){1&a&&(e.j41(0,"div",79)(1,"div",80)(2,"div",81),e.nrm(3,"span",34),e.k0s(),e.j41(4,"div",82)(5,"div",83),e.nrm(6,"span",45),e.k0s(),e.j41(7,"div",84),e.nrm(8,"span",45),e.k0s()(),e.j41(9,"div",85),e.nrm(10,"span",34),e.k0s(),e.j41(11,"div",86),e.nrm(12,"span",87)(13,"span",88),e.k0s()(),e.j41(14,"div",89)(15,"div",90),e.nrm(16,"span",91),e.k0s(),e.j41(17,"div",92)(18,"div",93),e.nrm(19,"div",94)(20,"div",95)(21,"div",96)(22,"div",94)(23,"div",95)(24,"div",96)(25,"div",97),e.k0s()(),e.j41(26,"div",98),e.nrm(27,"span",45),e.k0s()(),e.j41(28,"div",99),e.nrm(29,"span",45),e.k0s(),e.j41(30,"div",100)(31,"div",101),e.nrm(32,"span",102),e.j41(33,"div",103),e.nrm(34,"span",104),e.k0s()(),e.j41(35,"div",105)(36,"div",106),e.nrm(37,"span",34),e.k0s(),e.j41(38,"div",107),e.nrm(39,"span",34),e.k0s()()()())}function ze(a,x){if(1&a){const i=e.RV6();e.qex(0),e.j41(1,"div",109)(2,"spectrum-upskill-goal-settings",110),e.bIt("startLearningEvent",function(l){e.eBV(i);const f=e.XpG(2);return e.Njj(f.startLearningEvent(l))})("openSetGoalPopup",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.openSetGoalPopup())}),e.k0s()(),e.bVm()}if(2&a){const i=e.XpG(2);e.R7$(2),e.Y8G("goalSettings",i.goalSettings)("completedCourses",i.completedCourses)("feedCounts",i.feedCounts)("goalLoader",i.goalLoader)("completedCount",i.completedCount)}}
1function me(a,x){if(1&a){const i=e.RV6();e.qex(0),e.j41(1,"div",109)(2,"spectrum-upskill-overall-progress",111),e.bIt("showMoreCompletedCourses",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.showMoreCompletedCourses())})("startLearningEvent",function(l){e.eBV(i);const f=e.XpG(2);return e.Njj(f.startLearningEvent(l))}),e.k0s()(),e.bVm()}if(2&a){const i=e.XpG(2);e.R7$(2),e.Y8G("completedCourses",i.completedCourses)("feedCounts",i.feedCounts)("completedCount",i.completedCount)("purchaseFeed",null==i.recommendationsData?null:i.recommendationsData.purchase_feed)("ongoingFeed",null==i.recommendationsData?null:i.recommendationsData.ongoing_feed)}}function xe(a,x){if(1&a&&(e.j41(0,"div",108),e.DNE(1,ze,3,5,"ng-container",20)(2,me,3,5,"ng-container",20),e.k0s()),2&a){const i=e.XpG();e.R7$(),e.Y8G("ngIf",(null==i.membershipDetails?null:i.membershipDetails.active)||(null==i.membershipDetails?null:i.membershipDetails.cancelled)),e.R7$(),e.Y8G("ngIf",(null==i.membershipDetails?null:i.membershipDetails.active)||(null==i.membershipDetails?null:i.membershipDetails.cancelled)||0!==(null==i.recommendationsData||null==i.recommendationsData.purchase_feed?null:i.recommendationsData.purchase_feed.length)||(null==i.recommendationsData?null:i.recommendationsData.essentialBundleEnrolled))}}function He(a,x){if(1&a){const i=e.RV6();e.j41(0,"spectrum-reading-topics",113),e.bIt("changeOrClickEvent",function(){e.eBV(i);const l=e.XpG(2);return e.Njj(l.changeOrAdd())}),e.k0s()}if(2&a){const i=e.XpG(2);e.Y8G("isOnboarded",i.isOnboarded)("isLearningPane",!0)("data",i.preferenceTopics)}}function Qe(a,x){if(1&a&&(e.qex(0),e.DNE(1,He,1,3,"spectrum-reading-topics",112),e.bVm()),2&a){const i=e.XpG();e.R7$(),e.Y8G("ngIf",i.recommendationsData)}}function Ze(a,x){1&a&&(e.j41(0,"div",31),e.nrm(1,"span",115)(2,"span",116),e.k0s())}function Je(a,x){if(1&a&&(e.qex(0),e.j41(1,"div",114),e.DNE(2,Ze,3,0,"div",18),e.nrm(3,"section",null,9),e.k0s(),e.bVm()),2&a){const i=e.XpG();e.R7$(2),e.Y8G("ngIf",i.showContextNudge&&!i.benefitRecommendationInstance)}}function qe(a,x){if(1&a&&e.nrm(0,"a",117),2&a){const i=e.XpG();e.Y8G("queryParams",e.eq3(2,k,i.packMachineName))("RAnalytics",e.eq3(7,g,e.l_i(4,I,null==i.liveEditWebinarData?null:i.liveEditWebinarData.benefitName,i.packName)))}}function p(a,x){1&a&&(e.qex(0),e.nrm(1,"section",null,10),e.bVm())}let h=(()=>{class a{constructor(i,c,l,f,L,Y,re,pt,gt,ht,mt,ut,_t,ft,Ct,vt){this.platformId=i,this.upskillMemberService=c,this.router=l,this.learningPaneDataService=f,this.environment=L,this.wishlistService=Y,this.compiler=re,this.injector=pt,this.userService=gt,this.document=ht,this.rAnalyticsService=mt,this.userservice=ut,this.encription=_t,this.membershipService=ft,this.languageId=Ct,this.packService=vt,this.isSkeletonShow=!0,this.selectedProgramIndex=0,this.headText="Oops! You don\u2019t have an active membership. Sign up for the free trial and get personalized recommendations for your learning goals.",this.btnText="Try it FREE for 14 days",this.btnTracking="try-for-free-recommendation-tracking",this.btnSubText="Then $17/month.",this.submitDisable=!1,this.isEmptyRecommendationData=!1,this.isMobile=!1,this.isEnrolled=!1,this.essentialBundleEnrolled=!1,this.showLoader=!0,this.goalLoader=!1,this.selectedTeachableUrl="https://upskillstudio.researcher.life",this.freeCourseLimit=15,this.completedPage=0,this.completedCourses=[],this.continueCarouselConfig={grid:{xs:1.2,sm:2,md:2,lg:2,all:0},load:2,slide:1,touch:!0,velocity:0,point:{visible:!0,hideOnSingleSlide:!0}},this.continueLearnCarouselConfig={grid:{xs:1.2,sm:1.2,md:2,lg:2,all:0},load:2,slide:1,touch:!0,velocity:0,point:{visible:!0,hideOnSingleSlide:!0}},this.essentialsNudgeBenefit=["essential-webinar","essential-voice","essential-research-project","essential-discovery","prime-kolabtree"],this.primesNudgeBenefit=["prime-webinar","prime-rvoice","prime-research-project","prime-discovery","prime-kolabtree"],this.apiFailedLoader=!1,this.breadCrumbUpskill={name:"Research skill courses",list:[{label:"Learn & Network",link:"/learn-and-network"},{label:"Research skill courses",active:!0}]}}ngOnInit(){(0,n.UE)(this.platformId)&&(this.getProfileData(),this.detectMobile(),this.getUserPackDetail(),document.getElementsByTagName("body")[0].classList.add("learning-progress-page"),this.selectedProgramIndex=0,this.getTopicData({topic:1184}))}ngOnDestroy(){(0,n.Vy)(this.platformId)||document.getElementsByTagName("body")[0].classList.remove("learning-progress-page")}getUserPackDetail(){this.membershipService.getUserActivePack(!0).toPromise().then(i=>{this.userActivePackDetail=i.data,this.loadBenefitsNudge(),this.getRecommendationsData(),this.getUpskillSelectedTopics(),this.upskillMemberService.getUserMembershipData()})}loadBenefitsNudge(){if(this.showContextNudge){if(window.innerWidth<=767)return void this.loadBenefitNudgeRhs();this.loadBenefitCards()}}get isPrimeUser(){return this.userActivePackDetail&&"premium"===this.userActivePackDetail.pack_tag.toLowerCase()}getProfileData(){this.userservice.profile().subscribe(i=>{this.userData=i,this.getClevertap(i)},()=>{})}getClevertap(i){typeof clevertap<"u"?this.triggerClevertapEvent(i):setTimeout(()=>{this.getClevertap(i)},1e3)}triggerClevertapEvent(i){const c=this.userservice.getSourceOfUser();("direct"!==c||this.userservice.triggerCleverTapEvent())&&this.userservice.getPreActivatedResponse().toPromise().then(l=>{const{data:f}=l,L=this.userService.clevertapEventPropertiesForUserAuthorization(c,i,f.pre_activated);this.rAnalyticsService.reportSyncCall("User redirected after authorization on Researcher.Life",L)})}getRecommendationsData(){this.learningPaneDataService.getRecommendationsData().subscribe(i=>{this.isShowCourseSkeleton=!1,this.isShowWishlistSkeleton=!1,this.apiFailedLoader=!1,this.preferenceFeedInstance&&(this.preferenceFeedInstance.isShowCourseSkeleton=this.isShowCourseSkeleton),i?(this.recommendationsData=i,this.learningFreeCourseFeed=this.recommendationsData.free_courses_bundle_feed,this.preferenceFeedInstance&&(this.preferenceFeedInstance.preferenceFeedData=this.recommendationsData),this.goalLoader=!1,this.loadComponents(),this.userType=this.recommendationsData?.userType,this.membershipDetails=this.recommendationsData.membershipDetails,this.goalSettings=this.recommendationsData?.weekGoalProgress,this.feedCounts=this.recommendationsData?.counts,this.getCompletedCoursesD
1ata(),this.upskillMemberService.isEnrolled=this.recommendationsData?.isEnrolled,this.essentialBundleEnrolled=this.recommendationsData?.essentialBundleEnrolled,this.courseByTopicsLength=this.recommendationsData?.secondFeed?.length,!this.recommendationsData?.wishlisted&&this.recommendationsData?.courseByTopics&&(this.lastTopicData=this.recommendationsData?.courseByTopics[this.courseByTopicsLength-1].courseDetails.slice(0,10))):this.isEmptyRecommendationData=!0},()=>{this.isSkeletonShow=!1,this.isShowCourseSkeleton=!1,this.isShowWishlistSkeleton=!1,this.apiFailedLoader=!0,this.loadApiFailedComponentForLearningPane(),this.loadApiFailedComponentForLearningPaneRight()})}loadApiFailedComponentForLearningPane(){s.e(69).then(s.bind(s,69)).then(({ApiFailedWidgetModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();this.learningErrorCard&&this.learningErrorCard.clear();const{instance:L}=this.learningErrorCard.createComponent(f,null,l.injector);L.clickRefresh.subscribe(()=>{this.learningErrorCard.clear(),this.learningErrorCardRight.clear(),this.isSkeletonShow=!0,this.apiFailedLoader=!1,this.getRecommendationsData(),this.getUpskillSelectedTopics()})})})}loadApiFailedComponentForLearningPaneRight(){s.e(69).then(s.bind(s,69)).then(({ApiFailedWidgetModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();this.learningErrorCardRight&&this.learningErrorCardRight.clear();const{instance:L}=this.learningErrorCardRight.createComponent(f,null,l.injector);L.clickRefresh.subscribe(()=>{this.learningErrorCard.clear(),this.learningErrorCardRight.clear(),this.isSkeletonShow=!0,this.apiFailedLoader=!1,this.getRecommendationsData(),this.getUpskillSelectedTopics()})})})}onboardScroll(i){const c=this.document.getElementById(i);if(c){const l=c.getBoundingClientRect().top+window.pageYOffset-(this.isMobile?150:20);window.scrollTo({top:l,behavior:"smooth"})}else setTimeout(()=>{this.onboardScroll(i)},1e3)}loadComponents(){this.recommendationsData?.continue_learn_feed?.length>0&&this.loadContinueLearnSection(),this.recommendationsData?.wishlist_feed?.length>0?this.loadWishlistFeedSection():(this.wishlistFeedInstance&&(this.wishlistFeedInstance=null),this.wishlistFeed&&this.wishlistFeed.clear()),this.loadPreferenceFeedSection()}onBookmarkClick(i){this.wishlistFeedInstance||(this.isShowWishlistSkeleton=!0),!1===i.wishlisted||0===i.wishlisted?(i.wishlisted=!0,this.wishlistService.addWishliast(i.id).subscribe(()=>{i.wishlisted=!0,this.wishlistFeed&&this.wishlistFeed.clear(),this.isShowWishlistSkeleton=!0,this.getRecommendationsData()},c=>{this.isShowWishlistSkeleton=!1,i.wishlisted=!1,console.log(c)})):(i.wishlisted=!1,this.wishlistService.removeWishliast(i.id).subscribe(()=>{i.wishlisted=!1,this.wishlistFeed&&this.wishlistFeed.clear(),this.isShowWishlistSkeleton=!0,this.getRecommendationsData()},c=>{i.wishlisted=!0,this.isShowWishlistSkeleton=!1,console.log(c)}))}startLearningEvent(i,c=!1){this.ctaText=i.cta,this.userActivePackDetail&&(!this.upskillMemberService.isPrimeEnrolled&&this.isPrimeUser||c&&!this.isPrimeUser&&!this.essentialBundleEnrolled)&&this.enrollUser(),"inactive"!==this.userType||-1!==this.upskillMemberService.alaCartePurchases.indexOf(i?.variationId)||"prime-upskill"===this.getUpskillBenefitNameFromActivePack()?this.recommendationsData.confirmedAccount?window.open(i.teachable_link,"_blank"):(this.selectedTeachableUrl=i.teachable_link,this.teachableConfirmPopup()):window.open(this.environment.products.rUpskill+i.relativeAlias,"_blank")}startNowEssentialCardClick(i){if(this.ctaText=i.cta,this.userActivePackDetail&&(!this.isPrimeUser&&!this.essentialBundleEnrolled||!this.upskillMemberService.isPrimeEnrolled&&this.isPrimeUser)&&this.enrollUser(),this.triggerStartNowCT(i),this.recommendationsData.confirmedAccount)window.open(i.teachable_link,"_blank");else{this.selectedTeachableUrl=i.teachable_link;const c="Congratulations on unlocking this benefit!";this.teachableConfirmPopup(c)}}
1enrollUser(){const i=this.getUpskillBenefitNameFromActivePack();this.learningPaneDataService.enrollUserPack(i).subscribe(c=>{c&&(this.triggerEnrollmentCT(),this.getRecommendationsData(),this.upskillMemberService.getUserMembershipData())})}triggerEnrollmentCT(){this.rAnalyticsService.reportSyncCall("Onboarding Clicks",{OnboardingMode:"Global",ProgressStatus:"Complete",Screen:"Learning tab",AttributedProduct:"Upskill",CTALabel:"Start course",TypeofCTA:"Button"})}triggerStartNowCT(i){this.rAnalyticsService.reportSyncCall("Clicks for intent to update information detail",{CTALabel:"Start course",ClickDetail:i.title,TypeofCTA:"Link",Section:"Free courses section",SubSection:"NA",Menu:"NA",ProductAddressed:"Upskill",Page:"Learning"})}confirmTeachableClickPopup(){this.learningPaneDataService.confirmTeachableAccount({new_user_confirm:1}).subscribe(c=>{c&&(this.getRecommendationsData(),this.confirmTeachableModal.clear(),window.open(this.selectedTeachableUrl,"_blank"))})}getCompletedCoursesData(){let c=new O.Nl;c=c.append("page",JSON.stringify(this.completedPage)),c=c.append("limit",JSON.stringify(0)),this.learningPaneDataService.getCompletedCourses(c).subscribe(l=>{this.completedCount=l.completed_count?l.completed_count:0,this.completedCourses.push(...l.completedFeed),this.completedPage=this.completedPage+1},()=>{})}showMoreCompletedCourses(){this.getCompletedCoursesData()}detectMobile(){this.isMobile=window.innerWidth<=991}confirmAccountClick(){this.learningPaneDataService.confirmTeachableAccount({new_user_confirm:1}).subscribe(c=>{c&&this.getRecommendationsData()})}ChangeProgramEvent(i){this.selectedProgramIndex=i.index,this.getTopicData(i.param)}getTopicData(i){this.learningPaneDataService.getPopularCourse(i).subscribe(c=>{this.popularCourse=c,this.preferenceFeedInstance&&(this.preferenceFeedInstance.popularCourse=this.popularCourse),this.learningPaneDataService.popularStoredata[this.selectedProgramIndex]=this.popularCourse.courseList})}openSetGoalPopup(){this.loadUpskillSetGoalPopup()}loadUpskillSetGoalPopup(){s.e(7343).then(s.bind(s,7343)).then(({UpskillSetGoalModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();if(this.setGoalModal&&this.setGoalModal.clear(),this.setGoalModal){const{instance:L}=this.setGoalModal.createComponent(f,null,l.injector);this.setGoalModalComponent=L,this.setGoalModalComponent.goalSettings=this.goalSettings,this.setGoalModalComponent.setGoalLoader.subscribe(()=>{this.goalLoader=!0}),this.setGoalModalComponent.closeModal.subscribe(Y=>{setTimeout(()=>{Y&&this.getRecommendationsData(),this.setGoalModal.clear()},300)})}})})}changeOrAdd(){s.e(6939).then(s.bind(s,6939)).then(({TopicSelectionModalModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();if(this.topicSelectionModal&&this.topicSelectionModal.clear(),this.topicSelectionModal){const{instance:L}=this.topicSelectionModal.createComponent(f,null,l.injector);this.topicSelectionModalComponent=L,this.addOrRemoveClassFromBody(),this.topicSelectionModalComponent.topicSelectionList=this.selectedTopics,this.topicSelectionModalComponent.closeModal.subscribe(()=>{setTimeout(()=>{this.topicSelectionModal.clear(),this.addOrRemoveClassFromBody()},300)}),this.topicSelectionModalComponent.topicSelected.subscribe(()=>{this.isShowCourseSkeleton=!0,this.onboardScroll("topPicSection"),this.preferenceFeedInstance&&(this.preferenceFeedInstance.isShowCourseSkeleton=this.isShowCourseSkeleton),this.onTopicSelected(),this.getRecommendationsData(),this.userService.completeOnBoarding("upskill")})}})})}onTopicSelected(){this.topicSelectionModal.clear(),this.addOrRemoveClassFromBody(),this.getUpskillSelectedTopics()}addOrRemoveClassFromBody(){this.document.getElementsByTagName("body")[0].classList.toggle("no-scroll")}getUpskillSelectedTopics(){this.userService.getUpskillOnboardingDetails().toPromise().then(i=>{this.selectedTopics=i?.data?.recommended_topic,this.preferenceTopics=i?.data?.recommended_topic?.filter(c=>{if(c.is_selected&&"other"!==c.name.toLowerCase())return c.name}).map(c=>c.name)})}loadContinueLearnSection(){this.continueToLearnInstance||s.e(2493).then(s.bind(s,2493)).then(({ContinueLearningModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>
1{const l=c.create(this.injector),f=l.instance.resolveComponent();if(this.continueToLearn&&this.continueToLearn.clear(),this.continueToLearn){const{instance:L}=this.continueToLearn.createComponent(f,null,l.injector);this.continueToLearnInstance=L,this.continueToLearnInstance.carouselItems=this.recommendationsData.continue_learn_feed,this.continueToLearnInstance.carouselConfig=this.continueLearnCarouselConfig,this.continueToLearnInstance.carouselName="continueLearning",this.continueToLearnInstance.startLearningEvent.subscribe(Y=>{this.startLearningEvent(Y,!0)})}})})}loadWishlistFeedSection(){s.e(6033).then(s.bind(s,6033)).then(({WishlistedFeedModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();if(this.wishlistFeed&&this.wishlistFeed.clear(),this.wishlistFeed){const{instance:L}=this.wishlistFeed.createComponent(f,null,l.injector);this.wishlistFeedInstance=L,this.wishlistFeedInstance.carouselItems=this.recommendationsData.wishlist_feed,this.wishlistFeedInstance.carouselConfig=this.continueCarouselConfig,this.wishlistFeedInstance.carouselName="savedCards",this.wishlistFeedInstance.bookmarkClick.subscribe(Y=>{this.onBookmarkClick(Y)}),this.wishlistFeedInstance.startLearningEvent.subscribe(Y=>{this.startLearningEvent(Y)})}})})}loadPreferenceFeedSection(){this.preferenceFeedInstance||s.e(1525).then(s.bind(s,1525)).then(({PreferenceFeedModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector);this.isSkeletonShow=!1;const f=l.instance.resolveComponent();if(this.preferenceFeedSection&&this.preferenceFeedSection.clear(),this.preferenceFeedSection){const{instance:L}=this.preferenceFeedSection.createComponent(f,null,l.injector);this.preferenceFeedInstance=L,this.preferenceFeedInstance.preferenceFeedData=this.recommendationsData,this.preferenceFeedInstance.popularCourse=this.popularCourse,this.preferenceFeedInstance.carouselName="savedCards",this.preferenceFeedInstance.bookmarkClick.subscribe(Y=>{this.onBookmarkClick(Y)}),this.preferenceFeedInstance.getTopicDataEvent.subscribe(Y=>{this.ChangeProgramEvent(Y)}),this.preferenceFeedInstance.startLearningEvent.subscribe(Y=>{this.startLearningEvent(Y)})}})})}loadExploreCourses({visible:i}){i&&!this.exploreCourseInstance&&s.e(288).then(s.bind(s,288)).then(({ExploreCoursesModule:c})=>{this.compiler.compileModuleAsync(c).then(l=>{const f=l.create(this.injector),L=f.instance.resolveComponent();this.exploreCourse&&this.exploreCourse.clear();const{instance:Y}=this.exploreCourse.createComponent(L,null,f.injector);this.exploreCourseInstance=Y})})}teachableConfirmPopup(i=null){s.e(5586).then(s.bind(s,5586)).then(({ConfirmTeachablePopupModule:c})=>{this.compiler.compileModuleAsync(c).then(l=>{const f=l.create(this.injector),L=f.instance.resolveComponent();if(this.confirmTeachableModal&&this.confirmTeachableModal.clear(),this.confirmTeachableModal){const{instance:Y}=this.confirmTeachableModal.createComponent(L,null,f.injector);this.confirmTeachableModalInstance=Y,this.confirmTeachableModalInstance.popupHeading=i,this.addOrRemoveClassFromBody();const re=this.userService.checkOnboardedOrNot("upskill");this.confirmTeachableModalInstance.closePopupEvent.subscribe(()=>{setTimeout(()=>{this.confirmTeachableModal.clear(),this.document.getElementsByTagName("body")[0].classList.remove("no-scroll")},300),!re&&this.userService.completeOnBoarding("upskill")}),this.confirmTeachableModalInstance.confirmTeachableClickPopup.subscribe(()=>{this.confirmTeachableClickPopup(),this.addOrRemoveClassFromBody(),!re&&this.userService.completeOnBoarding("upskill")})}})})}freeCourseBannerClick(){const i=this.encription.crypt(this.environment.encryptKey,this.userData.id);localStorage.setItem("free-course-banner-"+i,"Yes")}get getFreeCourseBanner(){if(this.userData){const i=this.encription.crypt(this.environment.encryptKey,this.userData.id);return!localStorage.getItem("free-course-banner-"+i)}}getBenefitList(){return this.packService.isFreeTag?this.essentialsNudgeBenefit:this.primesNudgeBenefit}loadBenefitNudgeRhs(){s.e(4636).then(s.bind(s,4636)).then(({BenefitNudgeRhsModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>
1{const l=c.create(this.injector),f=l.instance.resolveComponent();this.BenefitNudge&&this.BenefitNudge.clear();const{instance:L}=this.BenefitNudge.createComponent(f,null,l.injector);this.BenefitNudgeInstance=L,this.BenefitNudgeInstance.benefits=this.getBenefitList(),this.BenefitNudgeInstance.page="Learning",this.BenefitNudgeInstance.subPage="NA"})})}loadBenefitCards(){s.e(2298).then(s.bind(s,9917)).then(({BenefitRecommendationSectionModule:i})=>{this.compiler.compileModuleAsync(i).then(c=>{const l=c.create(this.injector),f=l.instance.resolveComponent();this.BenefitCards&&this.BenefitCards.clear();const{instance:L}=this.BenefitCards.createComponent(f,null,l.injector);this.benefitRecommendationInstance=L,this.benefitRecommendationInstance.subPage="NA",this.benefitRecommendationInstance.page="Learning",this.benefitRecommendationInstance.benefits=this.getBenefitList(),this.benefitRecommendationInstance.isShowViwMoreLink=!0})})}get packName(){return this.packService.packname}get packMachineName(){return this.packService.getBenefitFromProductName("webinar")?.pack_benefit_machine_name}get showContextNudge(){return this.packService.showNudge()}get packConfig(){return this.packService.getPackConfig()}get iconSrc(){return"essential-pack-free"===this.packConfig?.alt?{src:"https://cdn.editage.com/researcherlife/logos/editage-logo-small.svg",width:60,height:12}:{src:this.packConfig?.icon,width:155,height:16}}getUpskillBenefitNameFromActivePack(){return this.packService.getBenefitFromProductName("upskill")?.pack_benefit_machine_name}static{this.\u0275fac=function(c){return new(c||a)(e.rXU(e.Agw),e.rXU(B.e),e.rXU(R.Ix),e.rXU($.U),e.rXU("environment"),e.rXU(P),e.rXU(e.Ql9),e.rXU(e.zZn),e.rXU(u.DL),e.rXU(E.q),e.rXU(b.MM),e.rXU(u.DL),e.rXU(G.V),e.rXU(z.Cc),e.rXU(e.xe9),e.rXU(W.xd))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["spectrum-learning-pane-data"]],viewQuery:function(c,l){if(1&c&&(e.GBs(oe,5,e.c1b),e.GBs(Le,5,e.c1b),e.GBs(et,5,e.c1b),e.GBs(Ne,5,e.c1b),e.GBs(De,5,e.c1b),e.GBs(Be,5,e.c1b),e.GBs(ye,5,e.c1b),e.GBs(we,5,e.c1b),e.GBs(Ue,5,e.c1b),e.GBs(Ge,5,e.c1b),e.GBs(We,5,e.c1b)),2&c){let f;e.mGM(f=e.lsd())&&(l.continueToLearn=f.first),e.mGM(f=e.lsd())&&(l.wishlistFeed=f.first),e.mGM(f=e.lsd())&&(l.preferenceFeedSection=f.first),e.mGM(f=e.lsd())&&(l.exploreCourse=f.first),e.mGM(f=e.lsd())&&(l.confirmTeachableModal=f.first),e.mGM(f=e.lsd())&&(l.BenefitNudge=f.first),e.mGM(f=e.lsd())&&(l.BenefitCards=f.first),e.mGM(f=e.lsd())&&(l.topicSelectionModal=f.first),e.mGM(f=e.lsd())&&(l.setGoalModal=f.first),e.mGM(f=e.lsd())&&(l.learningErrorCard=f.first),e.mGM(f=e.lsd())&&(l.learningErrorCardRight=f.first)}},inputs:{isOnboarded:"isOnboarded"},standalone:!1,decls:31,vars:12,consts:()=>{let i,c,l,f;return i=" FREE courses with " + "\ufffd#3\ufffd" + "" + "\ufffd#4\ufffd\ufffd/#4\ufffd" + "" + "\ufffd/#3\ufffd" + "" + "\ufffd#5\ufffd" + "" + "\ufffd/#5\ufffd" + "",c=" Congratulations! You have " + "\ufffd#3\ufffd" + "20 FREE" + "\ufffd/#3\ufffd" + " courses worth $50 with your Editage account. Avail the benefit by starting any course from the free pack. ",l="Okay, Got it",f=" +" + "\ufffd0\ufffd" + " more courses ",[["learningErrorCard",""],["continueToLearn",""],["learningErrorCardRight",""],["setGoalModal",""],["topicSelectionModal",""],["confirmTeachableModal",""],["wishlistFeed",""],["preferenceFeedSection",""],["exploreCourse",""],["BenefitCards",""],["BenefitNudge",""],i,c,l,f,[1,"content-wrapper"],[1,"section-cards"],["class","page-title",4,"ngIfViewport"],["class","skeleton",4,"ngIf"],["class","mt-4",4,"ngIf"],[4,"ngIf"],["id","asideSec",1,"sect-aside","new-theme"],[1,"aside-container"],["class","skeleton","style","background: #fff !important",4,"ngIf"],["class","progress-goal-wrapper",4,"ngIf"],[4,"ngIfViewport"],["routerLink","/my-membership","class","block mt-4 benifit-card",3,"queryParams","RAnalytics",4,"ngIf"],[1,"setGoalModal"],[1,"sub-section"],[1,"page-title"],[3,"breadCrumb"],[1,"skeleton"],[1,"w-11","mb-3"],[2,"padding-top","3px","padding-bottom","3px"],[1,"h-3.5"],[1,"flex","justify-between"],[1,"w-2/4","pr-2.2","py-2.2"],[1,"rounded-md","shadow-center","bg-white","flex","flex-col","mb-5"],[1,"relative","w-full"],[1,"w-full","hidden","sm:block",2,"height","80px"],[1,"relative","px-4","pt-4.5","pb-4.5",2,"min-height","150px"],[1,"md:mb-1"],[1,"txt",2,"padding-top","5px","padding-bottom","5px"],[1,"txt","w-2/3",2,"padding-top","5px","padding-bottom","5px"],[1,"w-1/4",2,"padding-top","5px","padding-bottom","5px"],[1,"h-3"],[1,"flex","flex-wrap","absolute","bottom-4",2,"width","calc(100% - 54px)"],[1,"mr-3","sm:mr-2","md:mr-6.3",2,"width","75px"],[1,"h-4.5"],[1,"mr-3","sm:mr-2","md:mr-6.3",2,"width","60px"],[2,"width","49px"],[1,"absolute","bottom-4","right-4"],[1,"w-4","h-4","rounded-full"],[1,"w-2/4","pl-2.2","py-2.2"],[1,"w-30","mb-3"],[1,"mb-5","w-39",2,"padding-top","3px","padding-bottom","3px"],[1,"rounded-md","shadow-center","bg-white","flex","flex-col","mb-5","sm:flex-row"],[1,"relative",2,"width","230px"],[2,"height","136px"],[1,"relative","px-4","pt-4.5","pb-4.5","sm:flex-1","sm:pt-2"],[1,"mb-1",2,"padding-top","3px","padding-bottom","3px"],[1,"pt-1.1","pb-1.1"],[1,"mt-4"],[4,"ngFor","ngForOf"],["class","text-center mb-5.5 sm:text-left sm:mb-5 lg:mb-7",4,"ngIf"],[1,"text-base","font-gilroyBold","leading-5.5","mb-1.5","flex","items-center","sm:mb-3.5","flex-wrap"],["routerLink","/",1,"mx-1.5","block",3,"RAnalytics"],["loading","lazy",3,"src","alt","width","height"],[1,"icon-info",3,"section","cdnUrl"],["class","free-course",4,"ngIf"],[1,"free-course"],[1,"flex-1"],[1,"text-link","sm:ml-4",3,"click","RAnalytics"],["cardType","upskill-one-card",3,"bookmarkClick","startLearningEvent","isLearnigPane","cardInfo","utmCampaign","essentialPackCard"],[1,"text-center","mb-5.5","sm:text-left","sm:mb-5","lg:mb-7"],[1,"text-link","inline-block",3,"click","RAnalytics"],[3,"linkClevertapEvent"],[1,"explore-section"],["inViewport","",3,"inViewportAction","inViewportOptions"],[1,"skeleton",2,"background","#fff !important"],[1,"pt-3","px-4","pb-2","rounded-md","overflow-hidden","sm:pt-5","sm:px-4","sm:pb-0","sm:mb-5",2,"background","#e8ebfb"],[1,"pt-1","pb-1","mb-2"],[1,"mb-2.5"],[1,"pt-1","pb-1","w-
151"],[1,"pt-1","pb-1","w-15"],[2,"padding-top","1px","padding-bottom","2px"],[1,"flex","justify-between","mt-2.5","items-end"],[2,"width","58px","height","94px"],[2,"width","76px","height","119px"],[1,"your-topics","sm:pb-5",2,"background-color","#fff !important"],[1,"tl","pt-1","pb-1","mb-5"],[1,"h-3.5","w-20"],[1,"mt-2.5","mb-2.5"],[1,"chip-wrapper","md:flex-wrap","overflow-auto"],[1,"chip","h-6","w-26"],[1,"chip","h-6","w-20"],[1,"chip","h-6","w-43"],[1,"chip","h-6","w-11"],[1,"link","pt-1","pb-1","w-16","mt-5"],[1,"mt-2","pt-1","pb-1","w-60","mx-auto"],[1,"sm:mt-5"],[1,"flex",2,"background","#e8ebfb","padding","14px 20px"],[1,"mr-2",2,"width","21px","height","22px"],[1,"flex-1",2,"padding-top","3px","padding-bottom","3px"],[1,"h-4"],[1,"lg:p-4",2,"background","#f6f6fb"],[1,"mb-2",2,"padding-bottom","3px","padding-top","3px"],[1,"w-20",2,"padding-top","2px","padding-bottom","2px"],[1,"progress-goal-wrapper"],[1,"item-card"],[3,"startLearningEvent","openSetGoalPopup","goalSettings","completedCourses","feedCounts","goalLoader","completedCount"],[3,"showMoreCompletedCourses","startLearningEvent","completedCourses","feedCounts","completedCount","purchaseFeed","ongoingFeed"],[3,"isOnboarded","isLearningPane","data","changeOrClickEvent",4,"ngIf"],[3,"changeOrClickEvent","isOnboarded","isLearningPane","data"],[1,"mt-5"],[1,"h-40","w-full"],[1,"h-40","mt-4","w-full"],["routerLink","/my-membership",1,"block","mt-4","benifit-card",3,"queryParams","RAnalytics"]]},template:function(c,l){if(1&c&&(e.j41(0,"div",15)(1,"div",16),e.DNE(2,V,2,1,"div",17)(3,j,412,0,"div",18),e.nrm(4,"section",null,0)(6,"section",null,1),e.DNE(8,Re,6,8,"div",19)(9,Se,47,0,"div",18)(10,$e,8,4,"ng-container",20),e.k0s(),e.j41(11,"div",21)(12,"div",22),e.DNE(13,Oe,2,1,"div",17),e.nrm(14,"section",null,2),e.DNE(16,je,40,0,"div",23)(17,xe,3,2,"div",24)(18,Qe,2,1,"ng-container",20)(19,Je,5,1,"ng-container",25)(20,qe,1,9,"a",26),e.k0s()()(),e.j41(21,"div",27),e.nrm(22,"section",null,3),e.k0s(),e.j41(24,"div",28),e.nrm(25,"section",null,4),e.k0s(),e.j41(27,"div",28),e.nrm(28,"section",null,5),e.k0s(),e.DNE(30,p,3,0,"ng-container",25)),2&c){let f,L,Y;e.R7$(2),e.Y8G("ngIfViewport","md,lg,xl"),e.R7$(),e.Y8G("ngIf",l.isSkeletonShow),e.R7$(5),e.Y8G("ngIf",null==(f=l.packService.getBenefitFromProductName("upskill"))?null:f.pack_benefit_machine_name),e.R7$(),e.Y8G("ngIf",l.isShowWishlistSkeleton),e.R7$(),e.Y8G("ngIf",null==(L=l.packService.getBenefitFromProductName("upskill"))?null:L.pack_benefit_machine_name),e.R7$(3),e.Y8G("ngIfViewport","sm"),e.R7$(3),e.Y8G("ngIf",!l.recommendationsData&&!l.apiFailedLoader),e.R7$(),e.Y8G("ngIf",(null==l.membershipDetails?null:l.membershipDetails.active)||(null==l.membershipDetails?null:l.membershipDetails.cancelled)||0!==(null==l.recommendationsData||null==l.recommendationsData.purchase_feed?null:l.recommendationsData.purchase_feed.length)||(null==l.recommendationsData?null:l.recommendationsData.essentialBundleEnrolled)),e.R7$(),e.Y8G("ngIf",null==(Y=l.packService.getBenefitFromProductName("upskill"))?null:Y.pack_benefit_machine_name),e.R7$(),e.Y8G("ngIfViewport","lg,xl,md"),e.R7$(),e.Y8G("ngIf",l.recommendationsData),e.R7$(10),e.Y8G("ngIfViewport","sm")}},dependencies:[t.Sq,t.bT,ve,w,m.dQ,T.m,y.Y,A.E,F.d,ee.Wk,q.d,Ie,Pe.x,t.P9],styles:[".progress-goal-wrapper[_ngcontent-%COMP%]{margin-bottom:1.5rem;display:flex;width:100%;align-items:flex-start;overflow-x:auto}@media screen and (min-width: 768px){.progress-goal-wrapper[_ngcontent-%COMP%]{margin-bottom:0;display:block}}.item-card[_ngcontent-%COMP%]{width:250px;min-height:124px;margin-right:.875rem;display:flex;flex-shrink:0}.item-card[_ngcontent-%COMP%]:last-child{margin-right:0}@media screen and (min-width: 768px){.item-card[_ngcontent-%COMP%]{min-height:auto;margin-bottom:1.25rem;display:block;width:100%}}.content-wrapper[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column-reverse;justify-content:flex-end}@media (min-width: 768px){.content-wrapper[_ngcontent-%COMP%]{margin-top:2.25rem;flex-direction:row}}.section-cards[_ngcontent-%COMP%]{padding:1.5rem 1rem 3.75rem}@media (min-width: 768px){.section-cards[_ngcontent-%COMP%]{flex:1 1 0%;padding:1.5rem 1.5rem 2.5rem}}@media (min-width: 1200px){.section-cards[_ngcontent-%COMP%]{padding-bottom:0;margin-top:90px}}.page-title[_ngcontent-%COMP%]{margin-bottom:1.25rem;display:flex;align-items:center}.page-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-right:.875rem;margin-bottom:0;border-right-width:1px;--tw-border-opacity: 1;border-color:rgba(38,38,38,var(--tw-border-opacity));--tw-border-opacity: .75;padding-right:1rem}.page-title[_ngcontent-%COMP%]   .powered-by[_ngcontent-%COMP%]{color:#999}@media (min-width: 768px){.page-title[_ngcontent-%COMP%]{margin-top:0;margin-bottom:1.375rem;padding-bottom:0}}@media (max-width: 767px){.page-title[_ngcontent-%COMP%]{background:#f3f3f3;margin-left:-1.25rem;margin-right:-1.25rem;margin-top:-1.25rem;padding:1.25rem}}.but-reverse[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;display:block;width:15rem}.explore-section[_ngcontent-%COMP%]{margin-top:.75rem}@media screen and (min-width: 768px) and (max-width: 991px){.explore-section[_ngcontent-%COMP%]{margin-top:0}}.w-51[_ngcontent-%COMP%]{width:12.75rem}.w-39[_ngcontent-%COMP%]{width:9.75rem}.w-30[_ngcontent-%COMP%]{width:7.5rem}.w-26[_ngcontent-%COMP%]{width:7.25rem}.free-course[_ngcontent-%COMP%]{margin-bottom:1.5rem;overflow:hidden;border-radius:.25rem;padding:.75rem 1.25rem .625rem .625rem;background:#ececec;border:1px solid #d8d8d8}@media (min-width: 768px){.free-course[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between}}.free-course[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Gilroy Semibold;font-size:.875rem;line-height:1.25rem;line-height:1.375rem}.free-course[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;background:#1ac9e1;padding:0 2px}.text-link[_ngcontent-%COMP%]{font-family:Gilroy bold}@media (max-width: 767px){.aside-container[_ngcontent-%COMP%]{padding-bottom:1rem}}@media (min-width: 768px){.section-cards[_ngcontent-%COMP%]{width:70%;transition:all .3s ease-in-out}}  .icon-info{position:relative;margin-left:8px;display:inline-block}  .section-cards .continue-learning{margin-bottom:20px!important}@media (min-width: 768px) and (max-width: 1199px){  .benifit-card .save-offer-logo,   .benifit-card .card-bottom{display:block}  .benifit-card .logo-wrap{margin-top:6px!important}  .benifit-card .desp{margin-bottom:12px!important}  .benifit-card .explore{margin-left:0;justify-content:center;margin-top:4px;padding-right:0!important}  .benifit-card h4{margin-bottom:20px}  .benifit-card .membership-card{height:340px!important}}@media (max-width: 767px){  .free-pack .main-wraper-cont{padding-top:124px!important}}@media (min-width: 768px){  .free-pack .sect-aside{top:170px!important;height:calc(100vh - 170px)}}@media (min-width: 768px){  .free-pack .section-cards{margin-top:70px!important}}@media (min-width: 1200px){  .free-pack .section-cards{margin-top:150px!important}}"]})}}return a})();
1var C=s(8533);let N=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[t.MD]})}}return a})(),Z=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[t.MD,C.tH,N]})}}return a})();var ke=s(4387);let nt=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[t.MD,ke.v,b.zI]})}}return a})(),it=(()=>{class a{static{this.\u0275fac=function(c){return new(c||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[t.MD,b.zI]})}}return a})();var ot=s(6586),st=s(1849),rt=s(8291),at=s(5784),ct=s(3503),lt=s(3316);let dt=(()=>{class a{constructor(i){this.componentFactoryResolver=i}resolveComponent(){return this.componentFactoryResolver.resolveComponentFactory(h)}static{this.\u0275fac=function(c){return new(c||a)(e.KVO(e.OM3))}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[t.MD,Z,nt,it,N,m.Q5,ke.v,b.zI,ot.l,st.B,rt.k,ee.iI,at.c,ct.P,lt.o]})}}return a})()},5368:(te,D,s)=>{s.d(D,{e:()=>E});var t=s(1360),n=s(8989);let E=(()=>{class e{constructor(u,b){this.http=u,this.isLoggedIn=!1,this.freeCoupon=!1,this.isSubscribeUser=!1,this.teachableLink="https://sso.teachable.com/secure/74619/users/sign_in",this.userStatus="Guest",this.needType="Free Trial",this.isEditageUser=!0,this.isOnBoarded=!1,this.isWeeklyGoalSet=!1,this.alaCartePurchases=[],this.isEssentialEnrolled=!1,this.isPrimeEnrolled=!1,this.environment=b}allAuthVariableUpdate(u){this.isSubscribe="apiCalled",this.freeTrialText=u.text,this.bigintTracking=u.bigint_tracking,this.email=u.email,this.firstName=u.firstName,this.fullName=u?.fullname,this.isLoggedIn=u.isLoggedIn,this.noPlan=u.no_plan,this.regSource=u.regSource,this.ssoId=u.ssoId,this.freeTrialStatus=u.status,this.freeTrialText=u.text,this.freeTrialClass=u.tracking_class,this.textTracking=u.textTracking,this.freeTrialHoverText=u.hoverText?u.hoverText:"",this.freeTrialEndDate=u?.periodEnd,this.isEnrolled=u?.isEnrolled,this.planOverPartner=u?.planOverPartner,this.isOnBoarded=u?.isOnBoarded,this.isWeeklyGoalSet=u?.isWeeklyGoalSet,this.alaCartePurchases=u?.alaCartePurchases,this.planType=u?.planType,this.confirmedAccount=u?.confirmedAccount,this.isPrimeEnrolled=u?.primeBundleEnrolled,this.isEssentialEnrolled=u?.essentialBundleEnrolled,"Try for free"!==this.freeTrialText&&(this.needType=""),this.userStatus=this.isLoggedIn?"Authenticated":"Guest"}getUserMembershipData(){return this.getProfileMenu().subscribe(u=>{this.allAuthVariableUpdate(u)})}getProfileMenu(){return this.http.get(`${this.environment.api.rUpskill.default}profile-menu`,{headers:{enableDeviceId:"false"}})}static{this.\u0275fac=function(b){return new(b||e)(t.KVO(n.Qq),t.KVO
1("environment"))}}static{this.\u0275prov=t.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()},5784:(te,D,s)=>{s.d(D,{c:()=>e});var t=s(2881),n=s(5965),E=s(1360);let e=(()=>{class O{static{this.\u0275fac=function(z){return new(z||O)}}static{this.\u0275mod=E.$C({type:O})}static{this.\u0275inj=E.G2t({imports:[t.MD,n.zI]})}}return O})()},6302:(te,D,s)=>{s.d(D,{Y:()=>E});var t=s(2881),n=s(1360);let E=(()=>{class e{static{this.\u0275fac=function(b){return new(b||e)}}static{this.\u0275mod=n.$C({type:e})}static{this.\u0275inj=n.G2t({imports:[t.MD]})}}return e})()},6586:(te,D,s)=>{s.d(D,{l:()=>u});var t=s(2881),n=s(4387),E=s(5784),e=s(5965),O=s(1360);let u=(()=>{class b{static{this.\u0275fac=function(B){return new(B||b)}}static{this.\u0275mod=O.$C({type:b})}static{this.\u0275inj=O.G2t({imports:[t.MD,n.v,E.c,e.zI]})}}return b})()},7008:(te,D,s)=>{s.d(D,{x:()=>$});var t=s(9377),n=s(1360),E=s(2881),e=s(8650),O=s(5207);function u(P,G){1&P&&(n.j41(0,"span"),n.pXf(1,0),n.k0s())}function b(P,G){if(1&P&&(n.j41(0,"a",7),n.nrm(1,"img",8),n.DNE(2,u,2,0,"span",9),n.k0s()),2&P){const T=n.XpG();n.Y8G("routerLink",T.back()),n.R7$(2),n.Y8G("ngIfViewport","md,lg,xl")}}function z(P,G){1&P&&(n.j41(0,"span"),n.pXf(1,1),n.k0s())}function W(P,G){if(1&P&&(n.j41(0,"a",10),n.nrm(1,"img",11),n.DNE(2,z,2,0,"span",9),n.k0s()),2&P){const T=n.XpG();n.Y8G("href",T.back(),n.B4B),n.R7$(2),n.Y8G("ngIfViewport","md,lg,xl")}}function B(P,G){if(1&P&&(n.j41(0,"a",14),n.EFF(1),n.k0s()),2&P){const T=n.XpG().$implicit;n.Y8G("routerLink",null==T?null:T.link),n.R7$(),n.SpI(" ",T.label," ")}}function R(P,G){if(1&P&&(n.j41(0,"a",15),n.EFF(1),n.k0s()),2&P){const T=n.XpG().$implicit,y=n.XpG();n.Y8G("href",y.externalAppUrl(null==T?null:T.link),n.B4B),n.R7$(),n.SpI(" ",T.label," ")}}function ee(P,G){if(1&P&&(n.qex(0),n.j41(1,"li"),n.DNE(2,B,2,2,"a",12)(3,R,2,2,"a",13),n.k0s(),n.bVm()),2&P){const T=G.$implicit;n.R7$(),n.AVh("active",null==T?null:T.active),n.R7$(),n.Y8G("ngIf",!(null!=T&&T.externalApp)),n.R7$(),n.Y8G("ngIf",null==T?null:T.externalApp)}}let $=(()=>{class P{constructor(T,y,K){this.environment=T,this.languageId=y,this.platformId=K}back(){return this.isExternalApp?this.externalAppUrl(this.sameDomainUrl()):this.sameDomainUrl()}get isExternalApp(){return`${this.breadCrumb.list[this.breadCrumb.list.length-2]?.externalApp}`}sameDomainUrl(){return this.breadCrumb.list[this.breadCrumb.list.length-2].link}externalAppUrl(T){return(0,t.UE)(this.platformId)&&window.location.hostname===this.environment.membershipCNDomain.hostname?`${this.environment.membershipCNDomain}${"en"===this.languageId?"":`/${this.languageId}`}${T}`:`${this.environment.membershipDomain}${"en"===this.languageId?"":`/${this.languageId}`}${T}`}static{this.\u0275fac=function(y){return new(y||P)(n.rXU("environment"),n.rXU(n.xe9),n.rXU(n.Agw))}}static{this.\u0275cmp=n.VBU({type:P,selectors:[["spectrum-category-header"]],inputs:{breadCrumb:"breadCrumb"},standalone:!1,decls:8,vars:4,consts:()=>{let T,y;return T="Back",y="Back",[T,y,[1,"ch-wrapper"],["class","ch-back",3,"routerLink",4,"ngIf"],["class","ch-back",3,"href",4,"ngIf"],[1,"ch-content"],[4,"ngFor","ngForOf"],[1,"ch-back",3,"routerLink"],["width","14","height","12","loading","lazy","alt","Back to previous page","src","https://cdn.researcher.life/discovery/icons/left-arrow.svg"],[4,"ngIfViewport"],[1,"ch-back",3,"href"],["width","14","height","12","loading","lazy","alt","Back to Product","src","https://cdn.researcher.life/discovery/icons/left-arrow.svg"],[3,"routerLink",4,"ngIf"],[3,"href",4,"ngIf"],[3,"routerLink"],[3,"href"]]},template:function(y,K){1&y&&(n.j41(0,"div",2),n.DNE(1,b,3,2,"a",3)(2,W,3,2,"a",4),n.j41(3,"div",5)(4,"h1"),n.EFF(5),n.k0s(),n.j41(6,"ul"),n.DNE(7,ee,4,4,"ng-container",6),n.k0s()()()),2&y&&(n.R7$(),n.Y8G("ngIf",(null==K.breadCrumb||null==K.breadCrumb.list?null:K.breadCrumb.list.length)>1&&!K.isExternalApp),n.R7$(),n.Y8G("ngIf",(null==K.breadCrumb||null==K.breadCrumb.list?null:K.breadCrumb.list.length)>1&&K.isExternalApp),n.R7$(3),n.JRh(null==K.breadCrumb?null:K.breadCrumb.name),n.R7$(2),n.Y8G("ngForOf",null==K.breadCrumb?null:K.breadCrumb.list))},dependencies:[E.Sq,E.bT,e.m,O.Wk],styles:['.ch-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;align-items:flex-start}.ch-back[_ngcontent-%COMP%]{margin-right:1.75rem;flex-shrink:0;padding-top:.25rem}@media (min-width: 768px){.ch-back[_ngcontent-%COMP%]{margin-right:2.25rem;display:flex;cursor:pointer;align-items:center;padding-top:0}.ch-back[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:.5rem;flex-shrink:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.ch-back[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;font-family:Gilroy Semibold;font-size:.875rem;line-height:1.25rem;line-height:1.125rem}.ch-back[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:translate(-5px)}}.ch-content[_ngcontent-%COMP%]{width:100%}.ch-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:.5rem;font-size:1rem;line-height:1.5rem;line-height:1.125rem}@media (min-width: 768px){.ch-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:.625rem;font-size:1.25rem;line-height:1.75rem;line-height:1.5rem}}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{gap:3px;display:flex;flex-wrap:wrap}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{gap:3px;position:relative;display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;line-height:1.125rem;color:#6a6a6a;max-width:180px}@media (min-width: 1200px){.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s;max-width:220px}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgba(17,61,205,var(--tw-text-opacity))}}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:after{content:"/";--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-right:0;padding-right:0}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child:after{display:none}.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgba(0,0,0,var(--tw-text-opacity))}@media (min-width: 1200px){.ch-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:default}}']})}}return P})()},7296:(te,D,s)=>{s.d(D,{M:()=>n});var t=s(1360);let n=(()=>{class E{transform(O,u){return"string"!=typeof O?O:O+(-1!==O.toString().indexOf("?")?"&":"?")+"utm_source=web&utm_medium=referral&utm_campaign="+u}static{this.\u0275fac=function(u){return new(u||E)}}static{this.\u0275pipe=t.EJ8({name:"addUtmParams",type:E,pure:!0,standalone:!1})}}return E})()},8070:(te,D,s)=>{s.d(D,{U:()=>E});var t=s(8989),n=s(1360);let E=(()=>{class e{constructor(u,b){this.http=u,this.popularStoredata=[],this.environment=b}getRecommendationsData(){return this.http.get(`${this.environment.api.rUpskill.default}user-recommendation-api`,{headers:{enableDeviceId:"false"}})}confirmTeachableAccount(u){return this.http.post(this.environment.api.rUpskill.default+"confirm-teachable-account",u,{headers:{enableDeviceId:"false"}})}getSelfServePortalLink(){return this.http.get(`${this.environment.api.rUpskill.default}stripe-self-serve-portal-link`,{headers:{enableAuthorization:"false",enableDeviceId:"false"}})}setqueryParam(u){let b=new t.Nl;return b=b.append("page",u),b}getCompletedCourses(u=new t.Nl){return this.http.get(`${this.environment.api.rUpskill.default}user-completed-course-api`,{headers:{enableDeviceId:"false"},params:u})}getPopularCourse(u=new t.Nl){return this.http.get(`${this.environment.api.rUpskill.default}private/v1.0/new-popular-courses-card`,{headers:{enableDeviceId:"false"},params:u})}enrollUserPack(u){return this.http.post(this.environment.api.rUpskill.default+`enroll-user/${u}`,null,{headers:{enableDeviceId:"false","Content-Type":"application/json"}})}static{this.\u0275fac=function(b){return new(b||e)(n.KVO(t.Qq),n.KVO("environment"))}}static{this.\u0275prov=n.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})()},8199:(te,D,s)=>{s.d(D,{E:()=>Me});var t=s(1360),n=s(5566),E=s(812),e=s(2881),O=s(8650),u=s(8319),b=s(7337);const z=["coachMark"],W=["chipContainer"],B=(_,w)=>({CTALabel:"Change/Add",TypeofCTA:"Link",Section:"RHS",SubSection:_,Menu:"NA",ClickDetail:"NA",ProductAddressed:w}),R=(_,w)=>({label:"Clicks for intent to update information detail",description:_,property:w}),ee=(_,w)=>({CTALabel:"Select topics",TypeofCTA:"Link",Section:"RHS",SubSection:_,Menu:"NA",ClickDetail:"NA",ProductAddressed:w});function $(_,w){1&_&&(t.qex(0),t.j41(1,"span"),t.pXf(2,3),t.k0s(),t.bVm())}function P(_,w){1&_&&(t.j41(0,"span"),t.pXf(1,4),t.k0s())}function G(_,w){if(1&_){const m=t.RV6();t.j41(0,"a",23),t.bIt("click",function(){t.eBV(m);const F=t.XpG(2);return F.changeOrClickEvent.emit(!0),t.Njj(F.coachmarkClick())}),t.pXf(1,5),t.k0s()}if(2&_){const m=t.XpG(2);t.Y8G("RAnalytics",t.l_i(4,R,"Learning topics",t.l_i(1,B,m.isLearningPane?"Topics to upskill":"Topics section",m.isLearningPane?"Upskill":"Discovery")))}}function T(_,w){if(1&_&&(t.j41(0,"h3",18)(1,"span",19),t.DNE(2,$,3,0,"ng-container",20)(3,P,2,0,"ng-template",null,1,t.C5r),t.nrm(5,"shared-help",21),t.k0s(),t.DNE(6,G,2,7,"a",22),t.k0s()),2&_){const m=t.sdS(4),A=t.XpG();t.R7$(2),t.Y8G("ngIf",A.isLearningPane)("ngIfElse",m),t.R7$(3),t.Y8G("section","RHS")("displaySection","bottom")("SubSection",A.isLearningPane?"Topics to upskill":"Topics section")("cdnUrl",A.isLearningPane?"learning-upskill-topic-v2":"reading-topics-v1"),t.R7$(),t.Y8G("ngIfViewport","sm")}}function y(_,w){if(1&_){const m=t.RV6();t.j41(0,"p",26),t.bIt("click",function(){t.eBV(m);const F=t.XpG(2);return F.changeOrClickEvent.emit(!0),t.Njj(F.coachmarkClick())}),t.PLo(1,6),t.nrm(2,"img",27),t.j41(3,"span",28),t.bIt("click",function(F){return t.eBV(m),t.XpG(2).coachmarkClick(),F.preventDefault(),t.Njj(F.stopPropagation())}),t.k0s(),t.YFu(),t.k0s()}}function K(_,w){if(1&_&&(t.qex(0),t.j41(1,"div",24),t.DNE(2,y,4,0,"p",25),t.k0s(),t.bVm()),2&_){const m=t.XpG();t.R7$(2),t.Y8G("ngIf",m.showCoachmark)}}function ue(_,w){if(1&_&&(t.j41(0,"li")(1,"div",31),t.EFF(2),t.k0s()()),2&_){const m=w.$implicit;t.R7$(2),t.JRh(m)}}function _e(_,w){if(1&_&&(t.qex(0),t.DNE(1,ue,3,1,"li",30),t.nI1(2,"slice"),t.bVm()),2&_){const m=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.brH(2,1,m.data,0,5))}}function ae(_,w){if(1&_&&(t.j41(0,"li")(1,"div",31),t.EFF(2),t.k0s()()),2&_){const m=w.$implicit;t.R7$(2),t.JRh(m)}}function fe(_,w){if(1&_&&(t.qex(0),t.DNE(1,ae,3,1,"li",30),t.nI1(2,"slice"),t.bVm()),2&_){const m=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.brH(2,1,m.data,0,2))}}function Ce(_,w){if(1&_&&(t.j41(0,"div",33),t.pXf(1,7),t.k0s()),2&_){const m=t.XpG(3);t.R7$(),t.uP7(m.totalPlus),t.nnv(1)}}function de(_,w){if(1&_&&(t.j41(0,"li"),t.DNE(1,Ce,2,1,"div",32),t.k0s()),2&_){const m=t.XpG(2);t.R7$(),t.Y8G("ngIf",m.totalPlus)}}function pe(_,w){if(1&_){const m=t.RV6();t.j41(0,"div",35),t.bIt("click",function(F){return t.eBV(m),t.XpG(3).showChipPopup(),t.Njj(F.stopPropagation())}),t.EFF(1),t.k0s()}if(2&_){const m=t.XpG(3);t.R7$(),t.SpI(" +",m.totalPlus," ")}}function ge(_,w){if(1&_&&(t.j41(0,"li"),t.DNE(1,pe,2,1,"div",34),t.k0s()),2&_){const m=t.XpG(2);t.R7$(),t.Y8G("ngIf",m.totalPlus)}}function ve(_,w){if(1&_&&(t.j41(0,"li")(1,"div",31),t.EFF(2),t.k0s()()),2&_){const m=w.$implicit;t.R7$(2),t.JRh(m)}}
1function se(_,w){if(1&_){const m=t.RV6();t.j41(0,"div",37)(1,"div",38,2)(3,"div",39),t.bIt("click",function(){t.eBV(m);const F=t.XpG(3);return t.Njj(F.closePopup())}),t.j41(4,"div",40),t.nrm(5,"span")(6,"span"),t.k0s()(),t.j41(7,"ul",29),t.DNE(8,ve,3,1,"li",30),t.k0s()()()}if(2&_){const m=t.XpG(3);t.R7$(8),t.Y8G("ngForOf",m.data)}}function S(_,w){if(1&_&&(t.qex(0),t.DNE(1,se,9,1,"div",36),t.bVm()),2&_){const m=t.XpG(2);t.R7$(),t.Y8G("ngIf",m.chipPopup)}}function X(_,w){1&_&&(t.qex(0),t.j41(1,"ul",29),t.DNE(2,_e,3,5,"ng-container",14)(3,fe,3,5,"ng-container",14)(4,de,2,1,"li",14)(5,ge,2,1,"li",14),t.k0s(),t.DNE(6,S,2,1,"ng-container",14),t.bVm()),2&_&&(t.R7$(2),t.Y8G("ngIfViewport","md,lg,xl"),t.R7$(),t.Y8G("ngIfViewport","sm"),t.R7$(),t.Y8G("ngIfViewport","md,lg,xl"),t.R7$(),t.Y8G("ngIfViewport","sm"),t.R7$(),t.Y8G("ngIfViewport","sm"))}function v(_,w){1&_&&(t.j41(0,"p",41),t.PLo(1,8),t.nrm(2,"br"),t.YFu(),t.k0s())}function H(_,w){1&_&&(t.j41(0,"p",41),t.pXf(1,9),t.k0s())}function M(_,w){if(1&_){const m=t.RV6();t.j41(0,"p",26),t.bIt("click",function(){t.eBV(m);const F=t.XpG(3);return F.changeOrClickEvent.emit(!0),t.Njj(F.coachmarkClick())}),t.PLo(1,11),t.nrm(2,"img",27),t.j41(3,"span",28),t.bIt("click",function(F){return t.eBV(m),t.XpG(3).coachmarkClick(),F.preventDefault(),t.Njj(F.stopPropagation())}),t.k0s(),t.YFu(),t.k0s()}}function ie(_,w){if(1&_){const m=t.RV6();t.j41(0,"div",43)(1,"a",44),t.bIt("click",function(){t.eBV(m);const F=t.XpG(2);return F.changeOrClickEvent.emit(!0),t.Njj(F.coachmarkClick())}),t.pXf(2,10),t.k0s(),t.DNE(3,M,4,0,"p",25),t.k0s()}if(2&_){const m=t.XpG(2);t.R7$(),t.Y8G("RAnalytics",t.l_i(5,R,"Learning topics",t.l_i(2,B,m.isLearningPane?"Topics to upskill":"Topics section",m.isLearningPane?"Upskill":"Discovery"))),t.R7$(2),t.Y8G("ngIf",m.showCoachmark)}}function ce(_,w){if(1&_&&(t.qex(0),t.DNE(1,ie,4,8,"div",42),t.bVm()),2&_){const m=t.XpG();t.R7$(),t.Y8G("ngIf",m.data&&m.data.length>0)}}function Ee(_,w){if(1&_){const m=t.RV6();t.j41(0,"a",45),t.bIt("click",function(){t.eBV(m);const F=t.XpG();return t.Njj(F.changeOrClickEvent.emit(!0))}),t.j41(1,"span"),t.pXf(2,12),t.k0s(),t.nrm(3,"img",46),t.k0s()}if(2&_){const m=t.XpG();t.Y8G("RAnalytics",m.isReadingPane?t.l_i(4,R,"Learning topics",t.l_i(1,ee,m.isLearningPane?"Topics to upskill":"Topics section",m.isLearningPane?"Upskill":"Discovery")):t.l_i(10,R,"Learning topics",t.l_i(7,ee,m.isLearningPane?"Topics to upskill":"Topics section",m.isLearningPane?"Upskill":"Discovery")))}}let Me=(()=>{class _{set couchMark(m){m&&(this.enableCoachMark=m.topics.load),m&&m.topics.load&&this.loadCouchMarkModule(m.topics)}constructor(m,A,F,q,ne){this.compiler=m,this.injector=A,this.encription=F,this.userService=q,this.environment=ne,this.enableCoachMark=!1,this.changeOrClickEvent=new t.bkB,this.coachMarkEvent=new t.bkB,this.totalPlus=0,this.chipPopup=!1,this.detectMobile()}ngOnInit(){this.getProfileData(),this.showNoOfTopics()}ngOnChanges(){this.showNoOfTopics()}ngOnDestroy(){this.userDataSubscription&&this.userDataSubscription.unsubscribe()}detectMobile(){this.noOfTopicShow=window.innerWidth<=767?2:5}showNoOfTopics(){this.totalPlus=this.data&&this.data.length>this.noOfTopicShow?this.data.length-this.noOfTopicShow:0}loadCouchMarkModule(m){s.e(8448).then(s.bind(s,8448)).then(({CoachMarkModule:A})=>{this.compiler.compileModuleAsync(A).then(F=>{const q=F.create(this.injector);document.body.classList.add("coachMarkOverlay");const ne=q.instance.resolveComponent();this.coachMark&&this.coachMark.clear();const{instance:he}=this.coachMark.createComponent(ne,null,q.injector);he.data=m,he.coachMarkClickEvent.subscribe(()=>{this.coachMark&&this.coachMark.clear(),document.body.classList.remove("coachMarkOverlay"),this.coachMarkEvent.emit({key:"topics",value:!1,final:!0})})})})}getProfileData(){this.userDataSubscription=this.userService.profile().subscribe(m=>{this.userData=m},()=>{})}get showCoachmark(){if(!this.userData)return;let m;const A=localStorage.getItem("reading-topic-coachmark");return A&&(m=this.encription.decrypt(this.environment.encryptKey,A)),JSON.stringify(this.userData.id)!==m}coachmarkClick(){const m=this.encription.crypt(this.environment.encryptKe
1y,this.userData.id);localStorage.setItem("reading-topic-coachmark",m)}showChipPopup(){this.chipPopup=!0,document.getElementsByTagName("body")[0].classList.add("no-scroll")}closePopup(){this.chipPopup=!1,document.getElementsByTagName("body")[0].classList.remove("no-scroll")}closePopuponOutSideClick(m){this.chipContainer&&!this.chipContainer.nativeElement.contains(m.target)&&this.closePopup()}static{this.\u0275fac=function(A){return new(A||_)(t.rXU(t.Ql9),t.rXU(t.zZn),t.rXU(E.V),t.rXU(n.DL),t.rXU("environment"))}}static{this.\u0275cmp=t.VBU({type:_,selectors:[["spectrum-reading-topics"]],viewQuery:function(A,F){if(1&A&&(t.GBs(z,5,t.c1b),t.GBs(W,5)),2&A){let q;t.mGM(q=t.lsd())&&(F.coachMark=q.first),t.mGM(q=t.lsd())&&(F.chipContainer=q.first)}},hostBindings:function(A,F){1&A&&t.bIt("click",function(ne){return F.closePopuponOutSideClick(ne)},!1,t.EBC)},inputs:{data:"data",isLearningPane:"isLearningPane",isReadingPane:"isReadingPane",isOnboarded:"isOnboarded",couchMark:"couchMark"},outputs:{changeOrClickEvent:"changeOrClickEvent",coachMarkEvent:"coachMarkEvent"},standalone:!1,features:[t.OA$],decls:10,vars:10,consts:()=>{let m,A,F,q,ne,he,Fe,be,Ie,Pe;return m="Topics to upskill",A="Topics",F="Change/Add ",q="" + "\ufffd#2\ufffd\ufffd/#2\ufffd" + " Update topics for better results " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",ne="+" + "\ufffd0\ufffd" + " more",he=" No topics selected. " + "\ufffd#2\ufffd\ufffd/#2\ufffd" + " Select topics to get course recommendations ",Fe="No topics selected.",be="Change/Add ",Ie="" + "\ufffd#2\ufffd\ufffd/#2\ufffd" + " Update topics for better results " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",Pe="Select topics",[["coachMark",""],["elseTemplate",""],["chipContainer",""],m,A,F,q,ne,he,Fe,be,Ie,Pe,["class","heading heads heading-4",4,"ngIf"],[4,"ngIfViewport"],[4,"ngIf"],["class","no-topics-selected",4,"ngIf"],["class","text-link select-topics flex items-center",3,"RAnalytics","click",4,"ngIf"],[1,"heading","heads","heading-4"],[1,"flex","items-center"],[4,"ngIf","ngIfElse"],[1,"icon-info",3,"section","displaySection","SubSection","cdnUrl"],["class","text-link",3,"RAnalytics","click",4,"ngIfViewport"],[1,"text-link",3,"click","RAnalytics"],[1,"text-right","mt-1"],["class","chip-rounded blue close",3,"click",4,"ngIf"],[1,"chip-rounded","blue","close",3,"click"],["src","https://cdn.researcher.life/rlife/icons/yellow-bulb.svg","alt","text","width","14","height","16",1,"img-left"],[1,"close-tip",3,"click"],[1,"chip-wrapper"],[4,"ngFor","ngForOf"],[1,"chip","pointer-events-none"],["class","chip chip-more sm:pointer-events-none",4,"ngIf"],[1,"chip","chip-more","sm:pointer-events-none"],["class","chip chip-more",3,"click",4,"ngIf"],[1,"chip","chip-more",3,"click"],["class","chip-wrapper-popup",4,"ngIf"],[1,"chip-wrapper-popup"],[1,"chip-wrapper-popup-inner"],[1,"close-icon",3,"click"],[1,"icon-wrapper"],[1,"no-topics-selected"],["class","cta-wrap",4,"ngIf"],[1,"cta-wrap"],[1,"w-full","btn-primary",3,"click","RAnalytics"],[1,"text-link","select-topics","flex","items-center",3,"click","RAnalytics"],["src","https://cdn.researcher.life/rlife/icons/icon-arrow.svg","alt","Arrow icon",1,"ml-1","transform","rotate-180"]]},template:function(A,F){1&A&&(t.j41(0,"div"),t.DNE(1,T,7,7,"h3",13)(2,K,3,1,"ng-container",14)(3,X,7,5,"ng-container",15)(4,v,3,0,"p",16)(5,H,2,0,"p",16),t.eu8(6,null,0),t.k0s(),t.DNE(8,ce,2,1,"ng-container",14)(9,Ee,4,13,"a",17)),2&A&&(t.HbH(F.enableCoachMark?"coach-mark-wrap":""),t.R7$(),t.Y8G("ngIf",F.data),t.R7$(),t.Y8G("ngIfViewport","sm"),t.R7$(),t.Y8G("ngIf",F.data&&F.data.length>0),t.R7$(),t.Y8G("ngIf",F.isLearningPane&&F.data&&0===F.data.length),t.R7$(),t.Y8G("ngIf",F.isReadingPane&&F.data&&0===F.data.length),t.R7$(3),t.Y8G("ngIfViewport","md,lg,xl"),t.R7$(),t.Y8G("ngIf",(F.isLearningPane||F.isReadingPane)&&F.data&&0===F.data.length))},dependencies:[e.Sq,e.bT,O.m,u.d,b.Y,e.P9],styles:[".cta-wrap[_ngcontent-%COMP%]{min-height:22px}@media (min-width: 768px){.cta-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;flex-wrap:wrap;align-items:flex-start;gap:.75rem}}.heading[_ngcontent-%COMP%]{position:relative;margin-bottom:0;display:flex;align-items:center;justify-content:space-between;padding-top:.75rem}@media (min-width: 768px){.heading[_ngcontent-%COMP%]{display:block}}.chip-wrapper[_ngcontent-%COMP%]{margin:.625rem -.25rem;display:flex;flex-wrap:nowrap;overflow:hidden;overflow-x:scroll;white-space:nowrap}.chip-wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:.375rem .5rem}@media (max-width: 767px){.chip-wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-left:.25rem;margin-right:.25rem;flex:1 1 0%;overflow:hidden}.chip-wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{flex:none}}@media (min-width: 768px){.chip-wrapper[_ngcontent-%COMP%]{margin-left:-.5rem;margin-right:-.5rem;flex-wrap:wrap;overflow:auto}}.chip[_ngcontent-%COMP%]{margin:0}.chip[_ngcontent-%COMP%]:hover{background-color:#e2e5ff}@media (max-width: 767px){.chip[_ngcontent-%COMP%]{padding-left:.875rem;padding-right:.875rem;text-align:center}.chip.pointer-events-none[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip.chip-more[_ngcontent-%COMP%]{border-width:1px;--tw-border-opacity: 1;border-color:rgba(17,61,205,var(--tw-border-opacity))}.chip.chip-more[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgba(17,61,205,var(--tw-text-opacity))}}.chip-wrapper-popup[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:100;display:flex;height:100%;width:100%;align-items:flex-end;--tw-bg-opacity: 1;background-color:rgba(0,0,0,var(--tw-bg-opacity));--tw-bg-opacity: .75}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-top-left-radius:1rem;border-top-right-radius:1rem;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));padding:1.75rem 1.25rem 1.25rem}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{position:absolute;top:1rem;right:1rem;height:1rem;width:1rem}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]   .icon-wrapper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:100%!important;top:8px!important}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]   .chip-wrapper[_ngcontent-%COMP%]{margin-bottom:0;flex-wrap:wrap;overflow:auto;white-space:normal}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]   .chip-wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;flex:none}.chip-wrapper-popup[_ngcontent-%COMP%]   .chip-wrapper-popup-inner[_ngcontent-%COMP%]   .chip-wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .chip[_ngcontent-%COMP%]{display:inline-block;width:auto}.btn-primary[_ngcontent-%COMP%]{padding-top:.313rem;padding-bottom:.313rem}.no-topics-selected[_ngcontent-%COMP%]{margin-top:.625rem;margin-bottom:.625rem;font-size:.875rem;line-height:1.25rem;line-height:1.5rem;--tw-text-opacity: 1;
1color:rgba(101,101,101,var(--tw-text-opacity))}"]})}}return _})()},8291:(te,D,s)=>{s.d(D,{k:()=>u});var t=s(2881),n=s(5965),E=s(6302),e=s(4387),O=s(1360);let u=(()=>{class b{static{this.\u0275fac=function(B){return new(B||b)}}static{this.\u0275mod=O.$C({type:b})}static{this.\u0275inj=O.G2t({imports:[t.MD,n.zI,E.Y,e.v]})}}return b})()},8319:(te,D,s)=>{s.d(D,{d:()=>B});var t=s(1360),n=s(2881),E=s(7337);const e=["container"],O=["dashboardAssist"],u=["helpIcon"],b=(R,ee,$,P)=>({Section:R,SubSection:ee,clickDetail:$,page:P}),z=R=>({label:"Dashboard assist used",property:R});function W(R,ee){1&R&&(t.j41(0,"div",6),t.pXf(1,3),t.k0s())}let B=(()=>{class R{constructor($,P){this.compiler=$,this.injector=P,this.toogleDashboardAssist=!1,this.displaySection="right",this.largerLoader=!1,this.isOpenAssist=!1,this.youtubeLoader=!1,this.isOpenTooltip=!1}openDashboardAssist(){this.toogleDashboardAssist=!this.toogleDashboardAssist,this.dashboardAssist&&this.dashboardAssist.clear(),this.toogleDashboardAssist&&s.e(1409).then(s.bind(s,1409)).then(({DashboardAssistModule:$})=>{this.compiler.compileModuleAsync($).then(P=>{const G=P.create(this.injector),T=G.instance.resolveComponent(),{instance:y}=this.dashboardAssist.createComponent(T,null,G.injector);
1y.cdnUrl=this.cdnUrl,y.className=this.addClassForHelp(),y.largerLoader=this.largerLoader,y.youtubeLoader=this.youtubeLoader,y.closeModalEmit.subscribe(()=>{setTimeout(()=>{this.toogleDashboardAssist=!1,this.dashboardAssist.clear()},300)})})}),!this.toogleDashboardAssist&&this.dashboardAssist.clear(),window.innerWidth<=767&&document.getElementsByTagName("body")[0].classList.add("no-scroll")}ngOnChanges(){this.isOpenAssist&&(window.innerWidth<=767?this.isOpenTooltip=!0:this.isOpenAssist&&this.openDashboardAssist())}closeMenuonOutSideClick($){this.isOpenTooltip=!1,this.container&&!this.container.nativeElement.contains($.target)&&this.helpIcon&&!this.helpIcon.nativeElement.contains($.target)&&(this.toogleDashboardAssist=!1,this.dashboardAssist.clear())}addClassForHelp(){return"right"===this.displaySection?"left-arrow":"left"===this.displaySection?"right-arrow":"top-arrow"}static{this.\u0275fac=function(P){return new(P||R)(t.rXU(t.Ql9),t.rXU(t.zZn))}}static{this.\u0275cmp=t.VBU({type:R,selectors:[["shared-help"]],viewQuery:function(P,G){if(1&P&&(t.GBs(e,5),t.GBs(O,5,t.c1b),t.GBs(u,5,t.aKT)),2&P){let T;t.mGM(T=t.lsd())&&(G.container=T.first),t.mGM(T=t.lsd())&&(G.dashboardAssist=T.first),t.mGM(T=t.lsd())&&(G.helpIcon=T.first)}},hostBindings:function(P,G){1&P&&t.bIt("click",function(y){return G.closeMenuonOutSideClick(y)},!1,t.EBC)},inputs:{cdnUrl:"cdnUrl",section:"section",SubSection:"SubSection",clickDetail:"clickDetail",page:"page",displaySection:"displaySection",largerLoader:"largerLoader",isOpenAssist:"isOpenAssist",youtubeLoader:"youtubeLoader"},standalone:!1,features:[t.OA$],decls:7,vars:9,consts:()=>{let $;return $="Tap to see how to use this section",[["container",""],["helpIcon",""],["dashboardAssist",""],$,["height","16px","width","16px","src","https://cdn.researcher.life/rlife/icons/question.svg","alt","Help","loading","lazy",1,"cursor-pointer","relative","help-icon",3,"click","RAnalytics"],["class","tooltip",4,"ngIf"],[1,"tooltip"]]},template:function(P,G){if(1&P){const T=t.RV6();t.j41(0,"div",null,0)(2,"img",4,1),t.bIt("click",function(){return t.eBV(T),t.Njj(G.openDashboardAssist())}),t.k0s(),t.DNE(4,W,2,0,"div",5),t.nrm(5,"section",null,2),t.k0s()}2&P&&(t.R7$(2),t.Y8G("RAnalytics",t.eq3(7,z,t.ziG(2,b,G.section,G.SubSection,G.clickDetail,G.page))),t.R7$(2),t.Y8G("ngIf",G.isOpenTooltip))},dependencies:[n.bT,E.Y],styles:['.help-icon[_ngcontent-%COMP%]{min-width:16px}.tooltip[_ngcontent-%COMP%]{position:absolute;z-index:10;border-radius:.25rem;font-family:lato;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity));line-height:1.4;padding:8px 18px 9px;top:30px;right:-12px;background:#2c2c2c}.tooltip[_ngcontent-%COMP%]:before{bottom:98%;right:10px;border:solid transparent;content:"";position:absolute;border-bottom-color:#2c2c2c;border-width:9px;margin-left:-9px}']})}}return R})()},8370:(te,D,s)=>{s.d(D,{dQ:()=>Je,Q5:()=>qe});var t=s(1360),n=s(2771),E=s(1413),e=s(9377),O=s(5964),u=s(6977),b="object"==typeof global&&global&&global.Object===Object&&global,W="object"==typeof self&&self&&self.Object===Object&&self,ee=(b||W||Function("return this")()).Symbol,P=Object.prototype,G=P.hasOwnProperty,T=P.toString,y=ee?ee.toStringTag:void 0;var ae=Object.prototype.toString;var ge=ee?ee.toStringTag:void 0;const se=function ve(p){return null==p?void 0===p?"[object Undefined]":"[object Null]":ge&&ge in Object(p)?function K(p){var h=G.call(p,y),C=p[y];try{p[y]=void 0;var N=!0}catch{}var Z=T.call(p);return N&&(h?p[y]=C:delete p[y]),Z}(p):function fe(p){return ae.call(p)}(p)},_=function Me(p){return null==p},F=Array.isArray,ne=function q(p){return null!=p&&"object"==typeof p};var Pe=ee?ee.prototype:void 0,oe=Pe?Pe.toString:void 0;const et=function Le(p){if("string"==typeof p)return p;if(F(p))return function w(p,h){for(var C=-1,N=null==p?0:p.length,Z=Array(N);++C<N;)Z[C]=h(p[C],C,p);return Z}(p,Le)+"";if(function Fe(p){return"symbol"==typeof p||ne(p)&&"[object Symbol]"==se(p)}(p))return oe?oe.call(p):"";var h=p+"";return"0"==h&&1/p==-1/0?"-0":h};var Be=0;const we=function ye(p){var h=++Be;return function Ne(p){return null==p?"":et(p)}(p)+h};let U=(()=>{class p{constructor(){this.destroyed$$=new n.m(1),this.destroyed$=this.destroyed$$.asObservable()}ngOnDestroy(){this.destroyed$$&&!this.destroyed$$.closed&&(this.destroyed$$.next(),this.destroyed$$.complete())}static{this.\u0275fac=function(N){return new(N||p)}}static{this.\u0275dir=t.FsC({type:p,selectors:[["","inViewportDe
1stroyable",""]]})}}return p})();const r=new WeakMap;class k{#e;#t;get value(){return this.#e}get id(){return this.#t}constructor(h){this.#e=function ce(p){if(!function S(p){var h=typeof p;return null!=p&&("object"==h||"function"==h)}(p))return!1;var h=se(p);return"[object Function]"==h||"[object GeneratorFunction]"==h||"[object AsyncFunction]"==h||"[object Proxy]"==h}(h)?h:void 0;let C=r.get(h)??"in-viewport-empty-check-fn";!_(h)&&!r.has(h)&&r.set(h,C=we("in-viewport-check-fn-")),this.#t=C}}var I=function(p){return p.BOTH="both",p.VERTICAL="vertical",p.HORIZONTAL="horizontal",p}(I||{});class V extends TypeError{constructor(){super(`The provided value for the direction is incorrect. The value must be any of \`${Object.values(I).join("|")}\`.`)}}class j extends TypeError{constructor(){super("The provided value for the rootMargin is incorrect. The value must be specified in pixels or percent.")}}class J extends TypeError{constructor(){super("The provided value for the root is incorrect. The value must be of type '(Document or Element)'.")}}class Q extends TypeError{constructor(){super("The provided values for the threshold are incorrect. The values must be numbers between 0 and 1.")}}class Te{#e;get value(){return this.#e}constructor(h=I.VERTICAL){if(!Object.values(I).includes(h))throw new V;this.#e=h}}class le{#e;get value(){return this.#e}constructor(h){this.#e=!function Ge(p){return!0===p||!1===p||ne(p)&&"[object Boolean]"==se(p)}(h)||h}}class Ae{#e;get value(){return this.#e}constructor(h){this.#e=Ae.parse(h)}static parse(h){const N=(function Ve(p){return"string"==typeof p||!F(p)&&ne(p)&&"[object String]"==se(p)}(h)?h.trim():"0px").split(/\s+/);if(N.length<=4&&N.every(Z=>/^-?\d*\.?\d+(px|%)$/.test(Z))){const[Z,ke=Z,nt=Z,it=ke]=N;return`${Z} ${ke} ${nt} ${it}`}throw new j}}class Re{#e;get value(){return this.#e}constructor(h){this.#e=Re.validate(h)}static validate(h){if(_(h))return null;if(h instanceof Element&&h.nodeType===Node.ELEMENT_NODE)return h;throw new J}}class Se{#e;get value(){return this.#e}constructor(h){this.#e=Se.validate(h??[0,1])}static validate(h){if(Se.isValid(h))return[h];if(Array.isArray(h)&&h.every(C=>Se.isValid(C)))return h.sort();throw new Q}static isValid(h){return function Ke(p){return"number"==typeof p||ne(p)&&"[object Number]"==se(p)}(h)&&h>=0&&h<=1}}const $e=Symbol("InViewportCheckFnId"),Oe=Symbol("InViewportConfigHash");class je{#e;#t;get root(){return this.#e.root.value}get rootMargin(){return this.#e.rootMargin.value}get threshold(){return this.#e.threshold.value}get partial(){return this.#e.partial.value}get direction(){return this.#e.direction.value}get checkFn(){return this.#e.checkFn.value}get[$e](){return this.#e.checkFn.id}get[Oe](){return this.#t}constructor(h){h??={},this.#e=Object.freeze({root:new Re(h.root),rootMargin:new Ae(h.rootMargin),threshold:new Se(h.threshold),partial:new le(h.partial),direction:new Te(h.direction),checkFn:new k(h.checkFn)}),this.#t=He(xe({rootMargin:this.rootMargin,threshold:this.threshold,partial:this.partial,direction:this.direction,checkFn:this[$e]}))}}class ze{#e=new Set;#t;#n;constructor(h,C){this.#t=new IntersectionObserver((...N)=>{C.next(...N)},{root:h.root,rootMargin:h.rootMargin,threshold:[...h.threshold]}),this.#n=()=>{this.#t.disconnect(),C.complete()}}addNode(h){this.#e.add(h),this.#t.observe(h)}deleteNode(h){this.#e.delete(h),this.#e.size?this.#t.unobserve(h):this.#n()}}class me{static#e=Object.create(null);#t=new WeakMap;#n;constructor(h){this.#n=h}addNode(h,C){const N=this.#t.get(C.root??me.#e)??this.create(C),Z=C[Oe];N.has(Z)||this.insert(N,C),N.get(Z).addNode(h)}deleteNode(h,C){const N=this.#t.get(C.root??me.#e),Z=C[Oe];N&&N.has(Z)&&N.get(Z).deleteNode(h),N&&0===N.size&&this.#t.delete(C.root??me.#e)}create(h){const C=new Map;return this.#t.set(h.root??me.#e,C),this.insert(C,h),C}insert(h,C){const N=C[Oe],Z=new ze(C,{next:(...ke)=>{this.#n(...ke)},complete:()=>{h.delete(N)}});h.set(N,Z)}}const xe=p=>Array.isArray(p)?`[${p.map(xe).join(",")}]`:(p=>"[object Object]"===Object.prototype.toString.call(p))(p)?Object.entries(p).sort(([h],[C])=>String(h).localeCompare(String(C))).map(([h,C])=>`${h}:${xe(C)}
1`).join("|"):String(p),He=p=>{try{const h=globalThis.encodeURI(p);return globalThis.btoa(h)}catch{return p}};let Qe=(()=>{class p{#e;#t;constructor(){this.#e=new E.B,this.trigger$=this.#e.asObservable(),this.zone=(0,t.WQX)(t.SKi),this.zone.runOutsideAngular(()=>{this.#t=new me(C=>this.onIntersectionEvent(C))})}register(C,N){this.zone.runOutsideAngular(()=>{this.#t.addNode(C,N)})}unregister(C,N){this.zone.runOutsideAngular(()=>{this.#t.deleteNode(C,N)})}onIntersectionEvent(C=[]){this.zone.run(()=>C.forEach(N=>this.#e.next(N)))}static{this.\u0275fac=function(N){return new(N||p)}}static{this.\u0275prov=t.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}}return p})();const Ze=Symbol("InViewportMetadata");let Je=(()=>{class p{constructor(){this.inViewportAction=new t.bkB,this.inViewportCustomCheck=new t.bkB,this.config=new je({}),this.platformId=(0,t.WQX)(t.Agw),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.elementRef=(0,t.WQX)(t.aKT),this.destroyable=(0,t.WQX)(U,{self:!0}),this.inViewportService=(0,t.WQX)(Qe)}set options(C){this.config=new je(C)}get nativeElement(){return this.elementRef.nativeElement}ngAfterViewInit(){(0,e.UE)(this.platformId)?(this.inViewportService.trigger$.pipe((0,O.p)(C=>C.target===this.nativeElement),(0,u.Q)(this.destroyable.destroyed$)).subscribe(C=>{this.emit(C,!1),this.changeDetectorRef.markForCheck()}),this.inViewportService.register(this.nativeElement,this.config)):this.emit(void 0,!0,!0)}ngOnDestroy(){(0,e.UE)(this.platformId)&&(this.inViewportService.unregister(this.nativeElement,this.config),this.emit(void 0,!0,!1))}isVisible(C){return this.config.partial?C.isIntersecting||C.intersectionRatio>0:C.intersectionRatio>=1}emit(C,N,Z){this.inViewportAction.emit({[Ze]:{entry:C},target:this.nativeElement,visible:N?!!Z:!C||this.isVisible(C)}),this.config.checkFn&&this.inViewportCustomCheck.emit(this.config.checkFn(C,{force:N,forcedValue:N?!!Z:void 0,config:this.config}))}static{this.\u0275fac=function(N){return new(N||p)}}static{this.\u0275dir=t.FsC({type:p,selectors:[["","inViewport",""]],inputs:{options:[0,"inViewportOptions","options"]},outputs:{inViewportAction:"inViewportAction",inViewportCustomCheck:"inViewportCustomCheck"},features:[t.nM4([U])]})}}return p})(),qe=(()=>{class p{static{this.\u0275fac=function(N){return new(N||p)}}static{this.\u0275mod=t.$C({type:p})}static{this.\u0275inj=t.G2t({})}}return p})()},8533:(te,D,s)=>{s.d(D,{tH:()=>Ye,bw:()=>ye,$u:()=>Ne,k9:()=>Be,Z5:()=>De,wr:()=>Ke});var t=s(1360),n=s(9030),E=s(9568),e=s(1413),O=s(6354),u=s(6977),b=s(8750),z=s(1985),W=s(1397),B=s(7441),R=s(8071),ee=s(6450);const $=["addListener","removeListener"],P=["addEventListener","removeEventListener"],G=["on","off"];function T(g,U,o,r){if((0,R.T)(o)&&(r=o,o=void 0),r)return T(g,U,o).pipe((0,ee.I)(r));const[d,k]=function _e(g){return(0,R.T)(g.addEventListener)&&(0,R.T)(g.removeEventListener)}(g)?P.map(I=>V=>g[I](U,V,o)):function K(g){return(0,R.T)(g.addListener)&&(0,R.T)(g.removeListener)}(g)?$.map(y(g,U)):function ue(g){return(0,R.T)(g.on)&&(0,R.T)(g.off)}(g)?G.map(y(g,U)):[];if(!d&&(0,B.X)(g))return(0,W.Z)(I=>T(I,U,o))((0,b.Tg)(g));if(!d)throw new TypeError("Invalid event target");return new z.c(I=>{const V=(...j)=>I.next(1<j.length?j:j[0]);return d(V),()=>k(V)})}function y(g,U){return o=>r=>g[o](U,r)}var ae=s(1584),fe=s(605),Ce=s(6365),de=s(983),pe=s(9326),ge=s(6648),se=s(5558),S=s(9172),X=s(8839),v=s(9974),H=s(4360),ie=s(5964),ce=s(9377);const Ee=["ngucarousel"],Me=["nguItemsContainer"],_=["touchContainer"],w=[[["","NguCarouselPrev",""]],[["","NguCarouselNext",""]],[["","NguCarouselPoint",""]]],m=["[NguCarouselPrev]","[NguCarouselNext]","[NguCarouselPoint]"],A=["*"];class F{constructor(U=new Fe,o=new ne,r,d=new be,k,I,V,j="fixed",J="",Q=0,Te=0,le=0,Ae=0,Re=0,Se=0,$e=0,Oe=0,je=0,ze="cubic-bezier(0, 0, 0.2, 1)",me=200,xe=!1,He=0,Qe=0,Ze=!1,Je=(0,t.vPA)(!0),qe=(0,t.vPA)(!1),p=!1,h=!0,C=1){this.touch=U,this.vertical=o,this.interval=r,this.transform=d,this.button=k,this.visibleItems=I,this.deviceType=V,this.type=j,this.token=J,this.items=Q,this.load=Te,this.deviceWidth=le,this.carouselWidth=Ae,this.itemWidth=Re,this.slideItems=Se,this.itemWidthPer=$e,this.itemLength=Oe,this.currentSlide=je,this.easing=ze,this.speed=me,this.loop=xe,this.dexVal=He,this.touchTransform=Qe,this.isEnd=Ze,this.isFirst=Je,this.isLast=qe,this.RTL=p,this.point=h,this.velocity=C}}class ne{}class Fe{}class be{constructor(U=0,o=0,r=0,d=0,k=0){this.xs=U,this.sm=o,this.md=r,this.lg=d,this.all=k,this.xl=0}}class Ie{constructor(U=768,o=992,r=1200,d=1200){this.sm=U,this.md=o,this.lg=r,this.xl=d}}class oe{constructor(U){this.$implicit=U}}
1const Le=new t.nKC("IS_BROWSER",{providedIn:"root",factory:()=>(0,ce.UE)((0,t.WQX)(t.Agw))});let Ne=(()=>{class g{static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275dir=t.FsC({type:g,selectors:[["","NguCarouselNext",""]]})}}return g})(),De=(()=>{class g{static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275dir=t.FsC({type:g,selectors:[["","NguCarouselPrev",""]]})}}return g})(),Be=(()=>{class g{static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275dir=t.FsC({type:g,selectors:[["","NguCarouselPoint",""]]})}}return g})(),ye=(()=>{class g{constructor(){this.template=(0,t.WQX)(t.C4Q)}static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275dir=t.FsC({type:g,selectors:[["","nguCarouselDef",""]]})}}return g})(),we=(()=>{class g{constructor(){this.viewContainer=(0,t.WQX)(t.c1b)}static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275dir=t.FsC({type:g,selectors:[["","nguCarouselOutlet",""]]})}}return g})(),Ue=(()=>{class g{constructor(){this._hammer$=(0,n.v)(()=>s.e(4511).then(s.t.bind(s,4511,19))).pipe((0,E.t)({bufferSize:1,refCount:!0}))}load(){return this._hammer$}static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275prov=t.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Ge=(()=>{class g{constructor(o,r){this._ngZone=o,this._nguHammerLoader=r,this._destroy$=new e.B}ngOnDestroy(){this._destroy$.next()}createHammer(o){return this._nguHammerLoader.load().pipe((0,O.T)(()=>this._ngZone.runOutsideAngular(()=>new Hammer(o))),(0,u.Q)(this._destroy$))}on(o,r){return T(o,r).pipe(function We(g){return U=>new z.c(o=>U.subscribe({next:r=>g.run(()=>o.next(r)),error:r=>g.run(()=>o.error(r)),complete:()=>g.run(()=>o.complete())}))}(this._ngZone),(0,u.Q)(this._destroy$))}static{this.\u0275fac=function(r){return new(r||g)(t.KVO(t.SKi),t.KVO(Ue))}}static{this.\u0275prov=t.jDH({token:g,factory:g.\u0275fac})}}return g})(),Xe=(()=>{class g extends e.B{constructor(){super(),this._destroy$=new e.B;const o=(0,t.WQX)(Le),r=(0,t.WQX)(t.SKi);o&&r.runOutsideAngular(()=>T(window,"scroll").pipe((0,u.Q)(this._destroy$)).subscribe(this))}ngOnDestroy(){this._destroy$.next()}static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275prov=t.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),Ye=(()=>{class g extends F{constructor(){super(),this._host=(0,t.WQX)(t.aKT),this._renderer=(0,t.WQX)(t.sFG),this._differs=(0,t.WQX)(t._q3),this._isBrowser=(0,t.WQX)(Le),this._ngZone=(0,t.WQX)(t.SKi),this._nguWindowScrollListener=(0,t.WQX)(Xe),this._nguCarouselHammerManager=(0,t.WQX)(Ge),this._cdr=(0,t.WQX)(t.gRc),this.activePoint=(0,t.vPA)(0),this.pointNumbers=(0,t.vPA)([]),this.inputs=t.hFB.required(),this.carouselLoad=(0,t.CGW)(),this.onMove=(0,t.CGW)(),this._defDirectives=(0,t.tEk)(ye),this._nodeOutlet=t.ebz.required(we),this.nextButton=(0,t.sbv)(Ne,{read:t.aKT}),this.prevButton=(0,t.sbv)(De,{read:t.aKT}),this.carouselMain1=t.ebz.required("ngucarousel",{read:t.aKT}),this._nguItemsContainer=t.ebz.required("nguItemsContainer",{read:t.aKT}),this._touchContainer=t.ebz.required("touchContainer",{read:t.aKT}),this._arrayChanges=null,this.dataSource=t.hFB.required({transform:o=>o||[]}),this._intervalController$=new e.B,this._hammer=null,this._withAnimation=!0,this._destroy$=new e.B,this.trackBy=(0,t.hFB)(),this._trackByFn=(0,t.EWP)(()=>this.trackBy()||((r,d)=>d)),this._dataDiffer=this._differs.find([]).create(this._trackByFn()),(0,t.mal)(()=>{this._inputValidation(),this._carouselCssNode=this._createStyleElem(),this._isBrowser&&(this._carouselInterval(),!this.vertical.enabled&&this.inputs()?.touch&&this._setupHammer(),this._setupWindowResizeListener(),this._onWindowScrolling())},{phase:t.wjH.EarlyRead}),(0,t.QZP)(()=>{this._defDirectives();const r=this.dataSource();(0,t.O8t)(()=>this._checkChanges(r))}),(0,t.QZP)(o=>{const r=this.prevButton();(0,t.O8t)(()=>{if(r){const d=T(r.nativeElement,"click").pipe((0,u.Q)(this._destroy$)).subscribe(()=>this._carouselScrollOne(0));o(()=>d.unsubscribe())}})}),(0,t.QZP)(o=>{const r=this.nextButton();(0,t.O8t)(()=>
1{if(r){const d=T(r.nativeElement,"click").pipe((0,u.Q)(this._destroy$)).subscribe(()=>this._carouselScrollOne(1));o(()=>d.unsubscribe())}})})}_checkChanges(o){this._arrayChanges=this._dataDiffer.diff(o),this._arrayChanges&&this.renderNodeChanges(Array.from(o))}renderNodeChanges(o){if(!this._arrayChanges)return;this.isLast.set(this._pointIndex===this.currentSlide);const r=this._nodeOutlet().viewContainer;this._arrayChanges.forEachOperation((d,k,I)=>{const V=this._getNodeDef(o[I],I);if(V?.template)if(null==d.previousIndex){const j=new oe(o[I]);j.index=I,r.createEmbeddedView(V.template,j,I)}else if(null==I)r.remove(k);else{const j=r.get(k);r.move(j,I)}}),this._updateItemIndexContext(),this._host.nativeElement&&this._storeCarouselData()}_updateItemIndexContext(){const o=this._nodeOutlet().viewContainer;for(let r=0,d=o.length;r<d;r++){const I=o.get(r).context;I.count=d,I.first=0===r,I.last=r===d-1,I.even=r%2==0,I.odd=!I.even,I.index=r}}_getNodeDef(o,r){return 1===this._defDirectives()?.length?this._defDirectives()[0]:(this._defDirectives()||[]).find(k=>!!k.when?.(r,o))}_inputValidation(){const o=this.inputs();o.gridBreakpoints=o.gridBreakpoints?o.gridBreakpoints:new Ie,void 0===o.grid.xl&&(o.grid.xl=o.grid.lg),this.type=0!==o.grid.all?"fixed":"responsive",this.loop=o.loop||!1,o.easing=o.easing||"cubic-bezier(0, 0, 0.2, 1)",this.touch.active=o.touch||!1,this.RTL=!!o.RTL,this.interval=o.interval||void 0,this.velocity="number"==typeof o.velocity?o.velocity:this.velocity,o.vertical&&o.vertical.enabled&&(this.vertical.enabled=o.vertical.enabled,this.vertical.height=o.vertical.height),this._directionSymbol=this.RTL?"":"-",this.point=!(o.point&&typeof o.point.visible<"u")||o.point.visible,this._carouselSize()}ngOnDestroy(){this._hammer?.destroy(),this._destroy$.next()}_setupHammer(){this._nguCarouselHammerManager.createHammer(this._touchContainer().nativeElement).subscribe(o=>{this._hammer=o,o.get("pan").set({direction:Hammer.DIRECTION_HORIZONTAL}),this._nguCarouselHammerManager.on(o,"panstart").subscribe(()=>{this.carouselWidth=this._nguItemsContainer().nativeElement.offsetWidth,this.touchTransform=this.transform[this.deviceType],this.dexVal=0,this._setStyle(this._nguItemsContainer().nativeElement,"transition","")}),this.vertical.enabled?(this._nguCarouselHammerManager.on(o,"panup").subscribe(r=>{this._touchHandling("panleft",r)}),this._nguCarouselHammerManager.on(o,"pandown").subscribe(r=>{this._touchHandling("panright",r)})):(this._nguCarouselHammerManager.on(o,"panleft").subscribe(r=>{this._touchHandling("panleft",r)}),this._nguCarouselHammerManager.on(o,"panright").subscribe(r=>{this._touchHandling("panright",r)})),this._nguCarouselHammerManager.on(o,"panend pancancel").subscribe(({velocity:r})=>{if(Math.abs(r)>=this.velocity){this.touch.velocity=r;let d=0;d=this.RTL?"panright"===this.touch.swipe?1:0:"panright"===this.touch.swipe?0:1,this._carouselScrollOne(d)}else this.dexVal=0,this._setStyle(this._nguItemsContainer().nativeElement,"transition","transform 324ms cubic-bezier(0, 0, 0.2, 1)"),this._setStyle(this._nguItemsContainer().nativeElement,"transform","")}),this._nguCarouselHammerManager.on(o,"hammer.input").subscribe(({srcEvent:r})=>{r.stopPropagation()})})}_touchHandling(o,r){if(0===r.center.x)return;let d=(r=Math.abs(this.vertical.enabled?r.deltaY:r.deltaX))-this.dexVal;d="responsive"===this.type?Math.abs(r-this.dexVal)/(this.vertical.enabled?this.vertical.height:this.carouselWidth)*100:d,this.dexVal=r,this.touch.swipe=o,this._setTouchTransfrom(o,d),this._setTransformFromTouch()}_setTouchTransfrom(o,r){this.touchTransform=o===(this.RTL?"panright":"panleft")?r+this.touchTransform:this.touchTransform-r}_setTransformFromTouch(){this.touchTransform<0&&(this.touchTransform=0);const o="responsive"===this.type?"%":"px";this._setStyle(this._nguItemsContainer().nativeElement,"transform",this.vertical.enabled?`translate3d(0, ${this._directionSymbol}${this.touchTransform}${o}, 0)`:`translate3d(${this._directionSymbol}${this.touchTransform}${o}, 0, 0)`)}_onWindowScrolling(){const{offsetTop:o,offsetHeight:r}=this._host.nativeElement,{scrollY:d,innerHeight:k}=window;this._intervalController$.next(o<=d+k-r/4&&r+r/2>=d?1:0)}_storeCarouselData(){const o=this.inputs(),r=this.inputs().gridBreakpoints;this.deviceWidth=this._isBrowser?window.innerWidth:r?.xl,this.carouselWidth=this.carouselMain1().nativeElement.offsetWidth,"responsive"===this.type?(this.deviceType=this.deviceWidth>=r?.xl?"xl":this.deviceWidth>=r?.lg?"lg":this.deviceWidth>=r?.md?"md":this.deviceWidth>=r?.sm?"sm":"xs",this.items=o.grid[this.deviceType],this.itemWidth=this.carouselWidth/this.items):(this.items=Math.trunc(this.carouselWidth/o.grid.all),this.itemWidth=o.grid.all,this.deviceType="all"),this.slideItems=+(o.slide<this.items?o.slide:this.items),this.load=o.load>=this.slideItems?o.load:this.slideItems,this.speed=o.speed&&o.speed>-1?o.speed:400,this._carouselPoint()}reset(o){o&&(this._withAnimation=!1),this._carouselCssNode.textContent="",this.moveTo(0),this._carouselPoint()}_carouselPoint(){const o=Array.from(this.dataSource()).length-(this.items-this.slideItems);this._pointIndex=Math.ceil(o/this.slideItems);const r=[];if(this._pointIndex>1||!this.inputs().point?.hideOnSingleSlide)for(let d=0;d<this._pointIndex;d++)r.push(d);this.pointNumbers.set(r),this._carouselPointActiver(),this._pointIndex<=1?this._btnBoolean(1,1):this._btnBoolean(0!==this.currentSlide||this.loop?0:1,0)}_carouselPointActiver(){const o=Math.ceil(this.currentSlide/this.slideItems);this.activePoint.set(o)}moveTo(o,r){if(r&&(this._withAnimation=!1),this.activePoint()!==o&&o<this._pointIndex){let d;const k=this.currentSlide<o?1:0;switch(o){case 0:this._btnBoolean(1,0),d=o*this.slideItems;break;case this._pointIndex-1:this._btnBoolean(0,1),d=Array.from(this.dataSource()).length-this.items;break;default:this._btnBoolean(0,0),d=o*this.slideItems}this._carouselScrollTwo(k,d,this.speed)}}_carouselSize(){const o=this.inputs();this.token=this._generateID();let r="";this._styleid=`.${this.token} > .ngucarousel > .ngu-container > .ngu-touch-container > .ngucarousel-items`,"banner"===o.custom&&this._renderer.addClass(this._host.nativeElement,"banner"),"lazy"===o.animation&&(r+=`${this._styleid} > .item {transition: transform .6s ease;}`);const d=o.gridBreakpoints;let k="";if(this.vertical.enabled){const I=`${this._styleid} > .item {height: ${this.vertical.height/+o.grid.xs}px}`,V=`${this._styleid} > .item {height: ${this.vertical.height/+o.grid.sm}px}`,j=`${this._styleid} > .item {height: ${this.vertical.height/+o.grid.md}px}`,J=`${this._styleid} > .item {height: ${this.vertical.height/+o.grid.lg}px}`,Q=`${this._styleid} > .item {height: ${this.vertical.height/+o.grid.xl}px}`;k=`@media (max-width:${d?.sm-1}px){${I}}\n                    @media (max-width:${d?.sm}px){${V}}\n                    @media (min-width:${d?.md}px){${j}}\n                    @media (min-width:${d?.lg}px){${J}}\n                    @media (min-width:${d?.xl}px){${Q}}`}else if("responsive"===this.type){const I="mobile"===o.type?`${this._styleid} .item {flex: 0 0 ${95/+o.grid.xs}%; width: ${95/+o.grid.xs}%;}`:`${this._styleid} .item {flex: 0 0 ${100/+o.grid.xs}%; width: ${100/+o.grid.xs}%;}`,V=`${this._styleid} > .item {flex: 0 0 ${100/+o.grid.sm}%; width: ${100/+o.grid.sm}%}`,j=`${this._styleid} > .item {flex: 0 0 ${100/+o.grid.md}%; width: ${100/+o.grid.md}%}`,J=`${this._styleid} > .item {flex: 0 0 ${100/+o.grid.lg}%; width: ${100/+o.grid.lg}%}`,Q=`${this._styleid} > .item {flex: 0 0 ${100/+o.grid.xl}%; width: ${100/+o.grid.xl}%}`;k=`@media (max-width:${d?.sm-1}px){${I}}\n                    @media (min-width:${d?.sm}px){${V}}\n                    @media (min-width:${d?.md}px){${j}}\n                    @media (min-width:${d?.lg}px){${J}}\n                    @media (min-width:${d?.xl}px){${Q}}`}else k=`${this._styleid} .item {flex: 0 0 ${o.grid.all}px; width: ${o.grid.all}px;}`;this._renderer.addClass(this._host.nativeElement,this.token),this.vertical.enabled&&(this._renderer.addClass(this._nguItemsContainer().nativeElement,"nguvertical"),this._renderer.setStyle(this.carouselMain1().nativeElement,"height",`${this.vertical.height}px`)),this.RTL&&!this.vertical.enabled&&this._renderer.addClass(this._host.nativeElement,"ngurtl"),this._createStyleElem(`${r} ${k}`),this._storeCarouselData()}_carouselScrollOne(o){let r=this.speed,d=0,k=Math.ceil(this.dexVal/this.itemWidth);if(k=isFinite(k)?k:0,this._setStyle(this._nguItemsContainer().nativeElement,"transform",""),1!==this._pointIndex)if(0!==o||(this.loop||this.isFirst())&&!this.loop)1===o&&(!this.loop&&!this.isLast()||this.loop)&&(Array.from(this.dataSource()).length<=this.currentSlide+this.items+this.slideItems&&!this.isLast()?(d=Array.from(this.dataSource()).length-this.items,this._btnBoolean(0,1)):this.isLast()?(d=0,r=400,this._btnBoolean(1,0)):(this._btnBoolean(0,0),k>this.slideItems?(d=this.currentSlide+this.slideItems+(k-this.slideItems),r=200):d=this.currentSlide+this.slideItems),this._carouselScrollTwo(o,d,r));else{const V=this.currentSlide-this.slideItems+this.slideItems;this._btnBoolean(0,1),0===this.currentSlide?(d=Array.from(this.dataSource()).length-this.items,r=400,this._btnBoolean(0,1)):this.slideItems>=V?(d=0,this._btnBoolean(1,0)):(this._btnBoolean(0,0),k>this.slideItems?(d=this.currentSlide-k,r=200):d=this.currentSlide-this.slideItems),this._carouselScrollTwo(o,d,r)}}_carouselScrollTwo(o,r,d){if(0!==this.dexVal){const k=Math.abs(this.touch.velocity);let I=Math.floor(this.dexVal/k/this.dexVal*(this.deviceWidth-this.dexVal));I=I>d?d:I,d=I<200?200:I,this.dexVal=0}this._withAnimation?(this._setStyle(this._nguItemsContainer().nativeElement,"transition",`transform ${d}ms ${this.inputs().easing}`),this.inputs().animation&&this._carouselAnimator(o,r+1,r+this.items,d,Math.abs(this.currentSlide-r))):this._setStyle(this._nguItemsContainer().nativeElement,"transition",""),this.itemLength=Array.from(this.dataSource()).length,this._transformStyle(r),this.currentSlide=r,this.onMove.emit(this),this._carouselPointActiver(),this._carouselLoadTrigger(),this._withAnimation=!0}_btnBoolean(o,r){this.isFirst.set(!!o),this.isLast.set(!!r)}_transformString(o,r){let d="";return d+=`${this._styleid} { transform: translate3d(`,this.vertical.enabled?(this.transform[o
1]=this.vertical.height/this.inputs().grid[o]*r,d+=`0, -${this.transform[o]}px, 0`):(this.transform[o]=100/this.inputs().grid[o]*r,d+=`${this._directionSymbol}${this.transform[o]}%, 0, 0`),d+="); }",d}_transformStyle(o){let r="";if("responsive"===this.type){const d=this.inputs().gridBreakpoints;r=`@media (max-width: ${d?.sm-1}px) {${this._transformString("xs",o)}}\n      @media (min-width: ${d?.sm}px) {${this._transformString("sm",o)} }\n      @media (min-width: ${d?.md}px) {${this._transformString("md",o)} }\n      @media (min-width: ${d?.lg}px) {${this._transformString("lg",o)} }\n      @media (min-width: ${d?.xl}px) {${this._transformString("xl",o)} }`}else this.transform.all=this.inputs().grid.all*o,r=`${this._styleid} { transform: translate3d(${this._directionSymbol}${this.transform.all}px, 0, 0);`;this._carouselCssNode.textContent=r}_carouselLoadTrigger(){"number"==typeof this.inputs().load&&Array.from(this.dataSource()).length-this.load<=this.currentSlide+this.items&&this.carouselLoad.emit(this.currentSlide)}_generateID(){let o="";for(let d=0;d<6;d++)o+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return`ngucarousel${o}`}_carouselInterval(){const o=this.carouselMain1().nativeElement;if(this.interval&&this.loop){this._nguWindowScrollListener.pipe((0,se.n)(()=>(0,ae.O)(600)),(0,u.Q)(this._destroy$)).subscribe(()=>{this._ngZone.run(()=>this._onWindowScrolling())});const r=(0,O.T)(()=>0),d=(0,O.T)(()=>1),k=T(o,"mouseleave").pipe(d),I=T(o,"mouseenter").pipe(r),V=T(o,"touchstart").pipe(d),j=T(o,"touchend").pipe(r),J=(0,fe.Y)(this.inputs().interval?.timing).pipe(d),Q=this.interval.initialDelay||0,Te=function ve(...g){const U=(0,pe.lI)(g),o=(0,pe.R0)(g,1/0),r=g;return r.length?1===r.length?(0,b.Tg)(r[0]):(0,Ce.U)(o)((0,ge.H)(r,U)):de.w}(k,V,I,j,this._intervalController$).pipe((0,S.Z)(1),(0,se.n)(le=>(this._cdr.markForCheck(),le?J:de.w)));(0,ae.O)(Q).pipe((0,se.n)(()=>Te),(0,u.Q)(this._destroy$)).subscribe(()=>{this._carouselScrollOne(1)})}}_carouselAnimator(o,r,d,k,I){const V=this._nodeOutlet().viewContainer;let j=I<5?I:5;j=1===j?3:j;const J=[];if(1===o)for(let Q=r-1;Q<d;Q++)J.push(Q),j*=2,V.get(Q).context.animate={value:!0,params:{distance:j}};else for(let Q=d-1;Q>=r-1;Q--)J.push(Q),j*=2,V.get(Q).context.animate={value:!0,params:{distance:-j}};(0,ae.O)(.7*k).pipe((0,u.Q)(this._destroy$)).subscribe(()=>this._removeAnimations(J))}_removeAnimations(o){const r=this._nodeOutlet().viewContainer;o.forEach(d=>{r.get(d).context.animate={value:!1,params:{distance:0}}}),this._cdr.markForCheck()}_setStyle(o,r,d){this._renderer.setStyle(o,r,d)}_createStyleElem(o){const r=this._renderer.createElement("style");if(o){const d=this._renderer.createText(o);this._renderer.appendChild(r,d)}return this._renderer.appendChild(this._host.nativeElement,r),r}_setupWindowResizeListener(){this._ngZone.runOutsideAngular(()=>T(window,"resize").pipe(function M(g,U=X.E){return(0,v.N)((o,r)=>{let d=null,k=null,I=null;const V=()=>{if(d){d.unsubscribe(),d=null;const J=k;k=null,r.next(J)}};function j(){const J=I+g,Q=U.now();if(Q<J)return d=this.schedule(void 0,J-Q),void r.add(d);V()}o.subscribe((0,H._)(r,J=>{k=J,I=U.now(),d||(d=U.schedule(j,g),r.add(d))},()=>{V(),r.complete()},void 0,()=>{k=d=null}))})}(500),(0,ie.p)(()=>this.deviceWidth!==window.outerWidth),(0,u.Q)(this._destroy$)).subscribe(()=>{this._setStyle(this._nguItemsContainer().nativeElement,"transition",""),this._ngZone.run(()=>{this._storeCarouselData()})}))}static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275cmp=t.VBU({type:g,selectors:[["ngu-carousel"]],contentQueries:function(r,d,k){1&r&&(t.C6U(k,d._defDirectives,ye,4),t.C6U(k,d.nextButton,Ne,5,t.aKT),t.C6U(k,d.prevButton,De,5,t.aKT)),2&r&&t.NyB(3)},viewQuery:function(r,d){1&r&&(t.wEZ(d._nodeOutlet,we,5),t.wEZ(d.carouselMain1,Ee,5,t.aKT),t.wEZ(d._nguItemsContainer,Me,5,t.aKT),t.wEZ(d._touchContainer,_,5,t.aKT)),2&r&&t.NyB(4)},inputs:{inputs:[1,"inputs"],dataSource:[1,"dataSource"],trackBy:[1,"trackBy"]},outputs:{carouselLoad:"carouselLoad",onMove:"onMove"},features:[t.Jv_([Ge]),t.Vt3],ngContentSelectors:m,decls:12,vars:0,consts:[["ngucarousel",""],["touchContainer",""],["nguItemsContainer",""],[1,"ngucarousel"],[1,"ngu-container"],[1,"ngu-touch-container"],[1,"ngucarousel-items"],["nguCarouselOutlet",""],[1,"nguclearFix"]],template:function(r,d){1&r&&(t.NAR(w),t.j41(0,"div",3,0),t.SdG(2),t.j41(3,"div",4)(4,"div",5,1)(6,"div",6,2),t.eu8(8,7),t.k0s()()(),t.nrm(9,"div",8),t.SdG(10,1),t.k0s(),t.SdG(11,2))},dependencies:[we],styles:["[_nghost-%COMP%]{display:block;position:relative}.ngurtl[_nghost-%COMP%]{direction:rtl}
1.ngucarousel[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:100%}.ngucarousel[_ngcontent-%COMP%]   .ngucarousel-items[_ngcontent-%COMP%]{position:relative;display:flex;height:100%}.ngu-container[_ngcontent-%COMP%]{overflow:hidden}.nguvertical[_ngcontent-%COMP%]{flex-direction:column}.banner[_ngcontent-%COMP%]   .ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:20px}.banner[_ngcontent-%COMP%]   .ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{background:#ffffff8c}.banner[_ngcontent-%COMP%]   .ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]{background:#fff}.banner[_ngcontent-%COMP%]   .ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{cursor:pointer}.ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]{list-style-type:none;text-align:center;padding:12px;margin:0;white-space:nowrap;overflow:auto;box-sizing:border-box}.ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;border-radius:50%;background:#0000008c;padding:4px;margin:0 4px;transition-timing-function:cubic-bezier(.17,.67,.83,.67);transition:.4s}.ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]{background:#6b6b6b;transform:scale(1.8)}.ngucarouselPointDefault[_ngcontent-%COMP%]   .ngucarouselPoint[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{cursor:pointer}.nguclearFix[_ngcontent-%COMP%]{clear:both}"],changeDetection:0})}}return g})(),Ke=(()=>{class g{static{this.\u0275fac=function(r){return new(r||g)}}static{this.\u0275cmp=t.VBU({type:g,selectors:[["ngu-tile"]],hostAttrs:[1,"item"],ngContentSelectors:A,decls:2,vars:0,consts:[[1,"tile"]],template:function(r,d){1&r&&(t.NAR(),t.j41(0,"div",0),t.SdG(1),t.k0s())},styles:["[_nghost-%COMP%]{padding:10px;box-sizing:border-box}.tile[_ngcontent-%COMP%]{box-shadow:0 2px 5px #00000029,0 2px 10px #0000001f}"]})}}return g})()}}]);

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.