1"use strict";(self.webpackChunkadults=self.webpackChunkadults||[]).push([[3861],{33861:(Oi,V,P)=>{P.r(V),P.d(V,{AngerModule:()=>Ji});var t=P(37691),b=P(36895),l=P(24006),E=P(91182),te=P(38099),k=P(24937),v=P(25845),f=P(71208),e=P(55062),w=P(28615),z=P(80548);let se=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tts","bg_red_pink"),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_flat"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",162),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),(0,t.Z)(this,"angerResume",sessionStorage.getItem("pgResume")),this.router=s,this.service=i,this.location=r,this.path=this.router.url,this.service.setmoduleID(14)}ngOnInit(){localStorage.getItem("NaviagtedFrom")||localStorage.setItem("NaviagtedFrom","/adults/pathway/manage-your-emotions"),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark162"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark162")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark162",JSON.stringify(this.bookmark))}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s163"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))})}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s162"]],decls:13,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg_tts","bg","nextEmitter"],[1,"mtb0px","comparison"],[1,"clearfix"],[1,"mtb0px","session"],[1,"session_title"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-tap-start",1),e.NdJ("nextEmitter",function(){return i.submitProgress()}),e.TgZ(2,"form")(3,"h4",2),e._uU(4," Anger "),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h5",4),e._uU(7," Session #1 "),e.qZA(),e._UZ(8,"div",3)(9,"br"),e.TgZ(10,"h1",5),e._uU(11," Understanding the roots of anger "),e.qZA(),e._UZ(12,"div",3),e.qZA()()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg_tts",i.bg_tts)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,z.s]})),o})();var j=P(63452),ie=P(53850),re=P(27926),oe=P(50282),ae=P(18392);function ne(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"a",19),e.NdJ("click",function(){e.CHM(c);const i=e.oxw();return e.KtG(i.Resume("/adults/anger/"))}),e.TgZ(1,"button",20),e._uU(2,"Continue where you left"),e.qZA()()}}function ce(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function le(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function me(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function de(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function he(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function ue(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function ge(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function pe(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function _e(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function ve(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function fe(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function be(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}function Ze(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"i",44),e.qZA())}function ke(n,o){1&n&&(e.TgZ(0,"div",43),e._UZ(1,"img",45),e.qZA())}const Ie=function(){return["/adults/audiopage/~podcasts~132.mp3/132/T/Managing anger, and angry people."]}
1,Te=function(){return["/adults/subscription/start-your-free-trial"]};function ye(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div",21)(1,"a",6)(2,"div",1)(3,"div",22)(4,"div",23)(5,"h4",24),e._uU(6," Session #1 "),e.qZA(),e.TgZ(7,"h4",25),e._uU(8," Exploring Anger "),e.qZA(),e.TgZ(9,"h4",26),e._uU(10," 08:00 "),e.qZA()(),e.YNc(11,ce,2,0,"div",27),e.YNc(12,le,2,0,"div",27),e.qZA()()(),e.TgZ(13,"a",28)(14,"div",1)(15,"div",22)(16,"div",23)(17,"h4",24),e._uU(18," Session #2 "),e.qZA(),e.TgZ(19,"h4",25),e._uU(20," The nature of anger "),e.qZA(),e.TgZ(21,"h4",26),e._uU(22," 17:00 "),e.qZA()(),e.YNc(23,me,2,0,"div",27),e.YNc(24,de,2,0,"div",27),e.qZA()()(),e.TgZ(25,"a",29)(26,"div",1)(27,"div",22)(28,"div",23)(29,"h4",24),e._uU(30," Session #3 "),e.qZA(),e.TgZ(31,"h4",25),e._uU(32," Responding to anger with wisdom "),e.qZA(),e.TgZ(33,"h4",26),e._uU(34," 07:00 "),e.qZA()(),e.YNc(35,he,2,0,"div",27),e.YNc(36,ue,2,0,"div",27),e.qZA()()(),e.TgZ(37,"a",30)(38,"div",1)(39,"div",22)(40,"div",23)(41,"h4",24),e._uU(42," Session #4 "),e.qZA(),e.TgZ(43,"h4",25),e._uU(44," Releasing Anger "),e.qZA(),e.TgZ(45,"h4",26),e._uU(46," 04:00 "),e.qZA()(),e.YNc(47,ge,2,0,"div",27),e.YNc(48,pe,2,0,"div",27),e.qZA()()(),e.TgZ(49,"a",31)(50,"div",1)(51,"div",22)(52,"div",32)(53,"div",33),e._UZ(54,"img",34)(55,"img",35),e.qZA(),e.TgZ(56,"div",36)(57,"h4",24),e._uU(58," Session #5 "),e.qZA(),e.TgZ(59,"h4",37),e._uU(60," Understand and manage your anger "),e.qZA(),e.TgZ(61,"h4",26),e._uU(62," 45:05 "),e.qZA()()(),e.YNc(63,_e,2,0,"div",27),e.YNc(64,ve,2,0,"div",27),e.qZA()()(),e.TgZ(65,"a",19),e.NdJ("click",function(){e.CHM(c);const i=e.oxw();return e.KtG(i.getClickEvent({MediaUrl:"https://d1tenzemoxuh75.cloudfront.net/soundscapes/2.mp3",SoundscapeID:2,Title:"Soft Horizon"}))}),e.TgZ(66,"div",1)(67,"div",22)(68,"div",32)(69,"div",33),e._UZ(70,"img",38)(71,"img",39),e.qZA(),e.TgZ(72,"div",36)(73,"h4",24),e._uU(74," Session #6 "),e.qZA(),e.TgZ(75,"h4",37),e._uU(76," Soft Horizon "),e.qZA(),e.TgZ(77,"h4",26),e._uU(78," 30:00 "),e.qZA()()(),e.YNc(79,fe,2,0,"div",27),e.YNc(80,be,2,0,"div",27),e.qZA()()(),e.TgZ(81,"a",40)(82,"div",1)(83,"div",22)(84,"div",32)(85,"div",33),e._UZ(86,"img",41)(87,"img",39),e.qZA(),e.TgZ(88,"div",36)(89,"h4",24),e._uU(90," Podcast "),e.qZA(),e.TgZ(91,"h4",42),e._uU(92," Managing anger, and angry people. "),e.qZA(),e.TgZ(93,"h4",26),e._uU(94," 1:05:12 mins "),e.qZA()()(),e.YNc(95,Ze,2,0,"div",27),e.YNc(96,ke,2,0,"div",27),e.qZA()()()()}if(2&n){const c=e.oxw();e.xp6(11),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(11),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(11),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(11),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(15),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(15),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber),e.xp6(1),e.Q6J("routerLink",c.isSubscriber?e.DdM(15,Ie):e.DdM(16,Te)),e.xp6(14),e.Q6J("ngIf",c.isLoggedIn&&c.isSubscriber),e.xp6(1),e.Q6J("ngIf",!c.isLoggedIn||!c.isSubscriber)}}let K=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",void 0),(0,t.Z)(this,"screenNumber","162p0"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"isContentsOpen",!1),(0,t.Z)(this,"bookmarkList",[]),(0,t.Z)(this,"pgResume",void 0),(0,t.Z)(this,"tocImage","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/toc/14.png"),(0,t.Z)(this,"tocColor","white"),(0,t.Z)(this,"lastvisited",!1),(0,t.Z)(this,"stories",[]),(0,t.Z)(this,"isLoggedIn",!1),(0,t.Z)(this,"isSubscriber",!1),(0,t.Z)(this,"config",void 0),this.router=s,this.service=i,this.location=r,this.config=j.F.getScreenConfiguration("SoundCapes"),this.service.setmoduleID(14);let a=JSON.parse(JSON.stringify(localStorage.getItem("wisdomstories")));a=JSON.parse(a);let m=[],y=[];
1a?.length<=2?(a.forEach(Z=>{y.push(Z)}),m.push(y)):a?.forEach(Z=>{y.length<2||(m.push(y),y=[]),y.push(Z)}),this.stories=m}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),localStorage.getItem("isloggedin")&&"T"===localStorage.getItem("isloggedin")&&(this.isLoggedIn=!0),localStorage.getItem("Subscriber")&&"1"===localStorage.getItem("Subscriber")&&(this.isSubscriber=!0),this.service.setmoduleID(14),this.service.clickModule(14,this.userId).subscribe(s=>{this.pgResume=""!=s.lastVisitedScreen?"s"+s.lastVisitedScreen:"",this.lastvisited=""!=s.lastVisitedScreen}),localStorage.setItem("moduleId",JSON.stringify(14)),this.moduleId=localStorage.getItem("moduleId"),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}toggleContents(){this.isContentsOpen=!this.isContentsOpen}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))})}ngOnDestroy(){}routeJournal(){this.router.navigate(["/adults/journal"])}goBack(){this.location.back()}Resume(s){this.router.navigate([s+this.pgResume])}getClickEvent(s){if(!this.isSubscriber){const Z=this.router.url.includes("/teenagers/")?"/teenagers/subscription/start-your-free-trial":"/subscription/start-your-free-trial";return void this.router.navigate([Z])}let i=s.MediaUrl;i.startsWith("https://d1tenzemoxuh75.cloudfront.net/")&&(i=i.replace("https://d1tenzemoxuh75.cloudfront.net/","/"));let r=encodeURIComponent(i.replaceAll("/","~"));const a=s.Title?.replaceAll(" ","-"),m=this.config?.moduleName||"Soundscapes";this.router.navigate([`${j.F.getprogramName()}/audiopage/`,r,s.SoundscapeID,"T",a,m])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s162p0"]],decls:30,vars:8,consts:[[3,"moduleName","tocImage","tocColor"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt_comparison"],[1,"row","center_flex","mt40px"],[1,"col-md-12","col-sm-12","col-xs-12","p0","tcenter"],["routerLink","/adults/anger/s162"],["type","button","data-dismiss","modal",1,"btn","mb10pxi","btn_begin_here","w100"],[3,"click",4,"ngIf"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0"],[1,"hr_style_v3_01"],[1,"row","clickable",3,"click"],[1,"col-md-12","col-sm-12","col-xs-12","p0","center_flex","plr10pxi"],[1,"col-md-11","col-sm-11","col-xs-11","p0"],[1,"title_content","mtb0px"],[1,"col-md-1","col-sm-1","col-xs-1","p0","tright"],[1,"fa",3,"ngClass"],["class","toc_adiv mt20px",4,"ngIf"],[3,"wisdomstories","isAccordion"],[3,"click"],["type","button","data-dismiss","modal",1,"btn","mb0","btn_begin_here"],[1,"toc_adiv","mt20px"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0","center_flex"],[1,"col-lg-11","col-md-11","col-sm-11","col-xs-11","p0"],[1,"mt0px","mb5px","fs_12px","fw_400","lh_130p","fc_000000"],[1,"mt0px","mb5px","fs_15px","fw_500","lh_130p","fc_000000","ellipsis_01"],[1,"mtb0px","fs_12px","fw_400","lh_130p","fc_000000_0_5"],["class","col-lg-1 col-md-1 col-sm-1 col-xs-1 p0 tright",4,"ngIf"],["routerLink","/adults/anger/s179"],["routerLink","/adults/anger/s199"],["routerLink","/adults/anger/s228p3"],["routerLink","/adults/anger/s231p0"],[1,"col-lg-11","col-md-11","col-sm-11","col-xs-11","p0","center_flex"],[1,"col-md-5","col-sm-5","col-xs-5","p0","prelative"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/curated_dbs/images/events/13.svg","alt","",1,"p0","session_img"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/play_icon.svg","alt","",1,"p0","session_img_play"],[1,"col-md-8","col-sm-8","col-xs-8","p0","pl20pxi"],[1,"mt0px","mb5px","fs_15px","fw_500","lh_130p","fc_000000","ellipsis"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/webp/soundscapes/02.webp","alt","Soft Horizon",1,"p0","session_img"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/play_icon.svg","alt","Play",1,"p0","session_img_play"],[3,"routerLink"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/webp/podcast/132.webp","alt","Soft Horizon",1,"p0","session_img"],[1,"mt0px","mb5px","fs_15px","fw_500","lh_130p","fc_000000","ellipsis_02"],[1,"col-lg-1","col-md-1","col-sm-1","col-xs-1","p0","tright"],[1,"fa","fa-angle-right","fc_000000","fs_20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v1_3/lock.svg",1,"img-responsive"]],template:function(s,i){1&s&&(e._UZ(0,"app-toc-
1header",0),e.TgZ(1,"app-index-content")(2,"form")(3,"div",1)(4,"div",2)(5,"h4",3),e._uU(6," In this module we explore anger, a natural human emotion, which can protect us from harm, but can also harm us and others. It is responsible for so much violence in the world. Understanding it in depth allows us to respond with intelligence, so it has its rightful place in our lives. "),e.qZA()()(),e.TgZ(7,"div",4)(8,"div",5)(9,"a",6)(10,"button",7),e._uU(11,"Begin here"),e.qZA()()(),e.TgZ(12,"div",5),e.YNc(13,ne,3,0,"a",8),e.qZA()(),e.TgZ(14,"div",1)(15,"div",9),e._UZ(16,"hr",10),e.qZA()(),e.TgZ(17,"div",11),e.NdJ("click",function(){return i.toggleContents()}),e.TgZ(18,"div",12)(19,"div",13)(20,"h4",14),e._uU(21," Contents "),e.qZA()(),e.TgZ(22,"div",15),e._UZ(23,"i",16),e.qZA()()(),e.YNc(24,ye,97,17,"div",17),e.TgZ(25,"div",1)(26,"div",9),e._UZ(27,"hr",10),e.qZA()(),e._UZ(28,"app-related-wisdom-stories-tiles",18),e.qZA()(),e._UZ(29,"app-index-footer")),2&s&&(e.Q6J("moduleName","Anger")("tocImage",i.tocImage)("tocColor",i.tocColor),e.xp6(13),e.Q6J("ngIf",i.lastvisited),e.xp6(10),e.Q6J("ngClass",i.isContentsOpen?"fa-angle-up":"fa-angle-down"),e.xp6(1),e.Q6J("ngIf",i.isContentsOpen),e.xp6(4),e.Q6J("wisdomstories",i.stories)("isAccordion",!0))},dependencies:[b.mk,b.O5,l._Y,l.JL,l.F,E.YI,ie.G,re.$,oe.$,ae.q,v.rH],styles:[".btn_begin_here[_ngcontent-%COMP%]{background:#ED7D6F!important;color:#fff;height:40px;border-radius:50px;padding:10px 20px;font-size:15px;font-weight:600;border:none;box-shadow:none;line-height:22px;margin:0}.btn_begin_here[_ngcontent-%COMP%]:hover{background:#f09186}.btn_begin_here[_ngcontent-%COMP%]:focus{outline:none}.title_content[_ngcontent-%COMP%]{font-size:18px!important;font-weight:600!important;color:#000;margin-top:0}.clickable[_ngcontent-%COMP%]{cursor:pointer}.clickable[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:#000}"]})),o})();var I=P(71145),M=P(9967);let we=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",163),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark163"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark163")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark163",JSON.stringify(this.bookmark))}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s164"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))})}previous(){this.router.navigate(["/adults/anger/s162"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s163"]],decls:12,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0","mb20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/quotation_01.svg","alt",""],[1,"mtb0px","quotation_txt"],[1,"hr_style_v3_05","mtb20px"],[1,"mtb0px","quotation_writer"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-quotation",1)(2,"form")(3,"div",2)(4,"div",3),e._UZ(5,"img",4),e.qZA()(),e.TgZ(6,"h1",5),e._uU(7," Holding onto your anger is like drinking poison and expecting the other person to die "),e.qZA(),e._UZ(8,"hr",6),e.TgZ(9,"h1",7),e._uU(10," Buddha "),e.qZA()()(),e.TgZ(11,"app-course-footer",8),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(10),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,M.P]})),o})();
1var J=P(42965),Pe=P(92565),Ne=P(36952);let Ae=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w3"),(0,t.Z)(this,"title","Exploring anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+1.1.mp3"),(0,t.Z)(this,"colours",["btn_5circles_01 disabled"," btn_5circles_02 disabled"," btn_5circles_03 disabled"," btn_5circles_04"," btn_5circles_05 disabled"]),(0,t.Z)(this,"text",["Nurture a quiet mind","Art of enquiry","How the mind works","Anger","Transform your life"]),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",164),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s164t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen(),0==JSON.parse(sessionStorage.getItem("bookmark164"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark164")))&&(this.bookmark=1)}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark164",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s165"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))})}previous(){this.router.navigate(["/adults/anger/s163"])}ngOnDestroy(){localStorage.setItem("totalTime164",this.totalTime),localStorage.setItem("avDuration164",this.avDuration)}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s164"]],decls:4,vars:11,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"colours","text"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-circles",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e._UZ(2,"app-five-circles",2),e.qZA(),e.TgZ(3,"app-course-footer",3),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("colours",i.colours)("text",i.text),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,Pe.f,Ne.y]})),o})();var N=P(72669),A=P(75303);let Je=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",164),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s164"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"avDuration",localStorage.getItem("av164")),(0,t.Z)(this,"totalTime",localStorage.getItem("totalTime164")),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),0==JSON.parse(sessionStorage.getItem("bookmark164"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark164")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark164",JSON.stringify(this.bookmark))}submitProgress(){this.router.navigate(["/adults/anger/s165"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s164"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s164t"]],decls:11,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Welcome to this module on exploring anger. It is part of the 4th circle of wisdom, Understanding our emotions, and is connected to every other circle. It\u2019s a natural human emotion which can protect us from harm, but can also impact our health, damage our relationships, and is a cause of so much violence in the world. Understanding its roots in our thinking allows us to understand others, and respond with wisdom. We are going to walk with you and show you how you can do this. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," Anger is a form of violence so needs to be used sparingly and with great c
1are because its consequences can last for years, and create a chain reaction of escalating conflict. "),e.qZA()()()()()(),e.TgZ(10,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(9),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var B=P(31266);let Oe=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",165),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s166"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s164"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s165"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," Anger is a natural human emotion, and can protect us from harm, but can also harm us, hurt others, and is behind much of the violence in the world. Channeled correctly, anger can also be a driver for social change. "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})();var ee=P(35942);let Ue=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_footer"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",166),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.router.navigate(["/adults/anger/s167"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s165"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s166"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],["base","anger_base1","overlay","anger_overlay1"],[1,"txt2","fc_ffffff"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-image-text",1)(2,"form")(3,"h1",2),e._uU(4," We humans killed 200 million other human beings in the last century. Anger was behind much of that violence. "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(6),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,ee.t]})),o})();var D=P(60353);let xe=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"hint","I get angry when someone does not do what they s
1aid they would, and when my son forgets my birthday"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",167),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",62),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r167",JSON.parse(sessionStorage.getItem("r167"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s168"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r167",JSON.stringify(s)),this.r167=sessionStorage.getItem("r167"),"undefined"!=this.r167?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r167}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s168"])}previous(){this.router.navigate(["/adults/anger/s166"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s167"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r167)},dependencies:[D.i]})),o})(),$e=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w6"),(0,t.Z)(this,"hint","I always think my anger is justified. I get angry usually when I feel hurt."),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",168),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",63),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r168",JSON.parse(sessionStorage.getItem("r168"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s169"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r168",JSON.stringify(s)),this.r168=sessionStorage.getItem("r168"),"undefined"!=this.r168?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r168}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s169"])}previous(){this.router.navigate(["/adults/anger/s167"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s168"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r168)},dependencies:[D.i]})),o})();var Q=P(34864);const Ee=["playerContainer"];let De=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+1.2.mp3"),(0,t.Z)(this,"title","What is the root cause of anger?"),(0,t.Z)(this,"transcriptPage","anger/s169t"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",169),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s170"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s168"])}ngOnDestroy(){}ngAfterViewInit(){var s={borderColor:"#ffffff",playedColor:"#FFC455",backgroundColor:"#ffffff",iconColor:"#FFC455",borderWidth:2,size:48,className:"circle-audio-player audio_pulse_button nanimation"},i=Math.PI,r=2*i,a=-i/2,Z=function(S){for(var g in S=S||{},s)this[g]=S[g]||s[g];this._canvas=document.createElement("canvas"),this._canvas.setAttribute("class",this.className+" is-loading"),this._canvas.addEventListener("mousedown",function(){this.playing?this.pause():this.play()}.bind(this)),this._ctx=this._canvas.getContext("2d"),this.setAudio(S.audio),this.setSize(this.size),function d(p){this.animating&&this._updateAnimations(p),(this._forceDraw||this.playing||this.animating||this.loading)&&(this._draw(),this._forceDraw=!1),requestAnimationFrame(d.bind(this))}.call(this,(new Date).getTime())};Z.prototype={_animateIcon:function(S,g){this._animationProps={animStart:null,from:g,to:S},g?this.animating=!0:(this._animationProps.current=this._icons[S].slice(),this.draw())},_updateAnimations:function(S){this._animationProps.animStart=this._animationProps.animStart||S;var g=S-this._animationProps.animStart,d=1-Math.cos(g/200*i/2);if(g>=200)this.animating=!1,d=1,this._animationProps.current=this._icons[this._animationProps.to].slice(),this.draw();else{for(var p=this._icons[this._animationProps.from],h=[],_=0;_<p.length;_++){h.push([]);for(var T=0;T<p[_].length;T++){h[_].push([]);var U=this._icons[this._animationProps.to][_][T];h[_][T][0]=p[_][T][0]+(U[0]-p[_][T][0])*d,h[_][T][1]=p[_][T][1]+(U[1]-p[_][T][1])*d}}this._animationProps.current=h}},_draw:function(S){if(isNaN(S)&&(S=this.audio.currentTime/this.audio.duration||0),this._ctx.clearRect(0,0,this.size,this.size),this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize-this.borderWidth/2,0,r),this._ctx.closePath(),this._ctx.fillStyle=this.backgroundColor,this._ctx.fill(),this._ctx.lineWidth=this.borderWidth,this._ctx.strokeStyle=this.borderColor,this._ctx.stroke(),S>0&&(this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize-this.borderWidth/2,a,a+r*S),this._ctx.strokeStyle=this.playedColor,this._ctx.stroke()),this._ctx.fillStyle=this.iconColor,this.loading){var g=-Math.cos((new Date).getTime()%1800/1800*i)*r-i/3-i/2;this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize/3,g,g+i/3*2),this._ctx.strokeStyle=this.iconColor,this._ctx.stroke()}else{this._ctx.beginPath();for(var d=this._animationProps&&this._animationProps.current||this._icons.play,p=0;p<d.length;p++){this._ctx.moveTo(d[p][0][0],d[p][0][1]);for(var h=1;h<d[p].length;h++)this._ctx.lineTo(d[p][h][0],d[p][h][1])}this._ctx.fill(),this._ctx.strokeStyle=this.iconColor,this._ctx.lineWidth=2,this._ctx.lineJoin="miter",this._ctx.stroke()}},_setState:function(S){this.playing=!1,this.loading=!1,"playing"===S?(this.playing=!0,this._animateIcon("pause","play")):"loading"===S?this.loading=!0:this._animateIcon("play","loading"!==this.state?"pause":null),this.state=S,this._canvas.setAttribute("class",this.className+" is-"+S),this.draw()},draw:function(){this._forceDraw=!0},setSize:function(S){this.size=S,this._halfSize=S/2,this._canvas.width=S,this._canvas.height=S;var g=this.size/2,d=g/10,p=Math.cos(i/3*2)*(g/2)+this._halfSize,h=g/2+this._halfSize,_=(h-p)/2+p,T=this._halfSize-Math.sin(i/3*2)*(g/2),U=this.size-T,C=this._halfSize-g/3,F=this.size-C;this._icons={play:[[[p,T],[_,(this._halfSize-T)/2+T],[_,(this._halfSize-T)/2+this._halfSize],[p,U]],[[_,(this._halfSize-T)/2+T],[h,this._halfSize],[h,this._halfSize],[_,(this._halfSize-T)/2+this._halfSize]]],pause:[[[C,T+d],[this._halfSize-d,T+d],[this._halfSize-d,U-d],[C,U-d]],[[this._halfSize+d,T+d],[F,T+d],[F,U-d],[this._halfSize+d,U-d]]]},this._animationProps&&this._animationProps.current&&this._animateIcon(this._animationProps.to),this.playing||this.draw()},setAudio:function(S){this.audio=new Audio(S),this.audio.addEventListener("play",function(){this._setState("playing")}.bind(this)),this.audio.addEventListener("pause",function(){this.audio.currentTime===this.audio.duration&&(this.audio.currentTime=0),this._setState("paused")}.bind(this))},appendTo:function(S){S.appendChild(this._canvas)},play:function(){this.audio.play()},pause:function(){this.audio.pause()}},new Z({audio:"https://d1tenzemoxuh75.cloudfront.net/anger/audios/anger+1.2.mp3",size:120,borderWidth:8}).appendTo(this.playerContainer.nativeElement)}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s169"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Ee,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:28,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[1,"row","p0","mlr-20px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_1.png","alt","",1,"img-responsive","w100"],[1,"icenter_t1","mtb0px","pno","pno1"],[1,"icenter_t1","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_2.png","alt","",1,"img-responsive","w100"],[1,"icenter_tn","mtb0px","pno","pnotn"],[1,"icenter_tn","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_3.png","alt","",1,"img-responsive","w100"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_4.png","alt","",1,"img-responsive","w100"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-pyramid-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h6",5),e._uU(6," 01 "),e.qZA(),e.TgZ(7,"h6",6),e._uU(8," What happens in the world "),e.qZA()(),e.TgZ(9,"div",3),e._UZ(10,"img",7),e.TgZ(11,"h6",8),e._uU(12," 02 "),e.qZA(),e.TgZ(13,"h6",9),e._uU(14," We react with anger "),e.qZA()(),e.TgZ(15,"div",3),e._UZ(16,"img",10),e.TgZ(17,"h6",8),e._uU(18," 03 "),e.qZA(),e.TgZ(19,"h6",9),e._uU(20," We are hurt or disappointed "),e.qZA()(),e.TgZ(21,"div",3),e._UZ(22,"img",11),e.TgZ(23,"h6",8),e._uU(24," 04 "),e.qZA(),e.TgZ(25,"h6",9),e._uU(26," The \u2018I\u2019 that feels hurt and wants to retaliate "),e.qZA()()()(),e.TgZ(27,"app-course-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(26),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,Q.m]})),o})(),qe=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s169"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",169),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s170"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s168"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s169t"]],decls:25,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," The human mind naturally thinks the cause of our anger is out there, but the real reason may lie in the hidden depths of our thinking and exploring that can illuminate the entire process and bring freedom, so it no longer operates without our awareness or our consent. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," Spend some time examining this image because it illustrates an idea that is at the heart of the program. For the sake of explaining it clearly, you could say there are 4 layers to our thinking process, and we are not aware of them all. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," Layer 1 is what is happening in the world outside. "),e.qZA(),e.TgZ(12,"p"),e._uU(13," Layer 2 is the content of our memory and all our reactions, thoughts and feelings are here too. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," This is where human awareness usually stops. "),e.qZA(),e.TgZ(16,"p"),e._uU(17," Layer 3 contains all the unconscious patterns of thinking that are common to all human beings, like conditioning, comparison, our self-interest, our emotional needs and so on. These control what we feel and think in layer 2, but are not aware of it. "),e.qZA(),e.TgZ(18,"p"),e._uU(19," Layer 4 is the \u2018I\u2019 that feels and records everything and it\u2019s where our sense of identity resides. "),e.qZA(),e.TgZ(20,"p"),e._uU(21," Though this is divided into 4 layers to explain it more easily, we can see them all at once if we have that depth of awareness of what is going on in our thinking. "),e.qZA(),e.TgZ(22,"p"),e._uU(23," We now explore 2 examples of how this can be applied to understanding anger. "),e.qZA()()()()()(),e.TgZ(24,"a
1pp-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(23),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();const Be=["playerContainer"];let Ye=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+1.3.mp3"),(0,t.Z)(this,"title","Understanding religious rage"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",170),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s170t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s171"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s169"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s170"]],viewQuery:function(s,i){if(1&s&&e.Gf(Be,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:28,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[1,"row","p0","mlr-20px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_1.png","alt","",1,"img-responsive","w100"],[1,"icenter_t1","mtb0px","pno","pno1"],[1,"icenter_t1","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_2.png","alt","",1,"img-responsive","w100"],[1,"icenter_tn","mtb0px","pno","pnotn"],[1,"icenter_tn","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_3.png","alt","",1,"img-responsive","w100"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_4.png","alt","",1,"img-responsive","w100"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-pyramid-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h6",5),e._uU(6," 01 "),e.qZA(),e.TgZ(7,"h6",6),e._uU(8," You insult my religion "),e.qZA()(),e.TgZ(9,"div",3),e._UZ(10,"img",7),e.TgZ(11,"h6",8),e._uU(12," 02 "),e.qZA(),e.TgZ(13,"h6",9),e._uU(14," I get angry and blame you "),e.qZA()(),e.TgZ(15,"div",3),e._UZ(16,"img",10),e.TgZ(17,"h6",8),e._uU(18," 03 "),e.qZA(),e.TgZ(19,"h6",9),e._uU(20," I identify with my religion and feel hurt "),e.qZA()(),e.TgZ(21,"div",3),e._UZ(22,"img",11),e.TgZ(23,"h6",8),e._uU(24," 04 "),e.qZA(),e.TgZ(25,"h6",9),e._uU(26," My religion meets my emotional needs "),e.qZA()()()(),e.TgZ(27,"app-course-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(26),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,Q.m]})),o})(),Ce=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s170"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",170),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s171"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s169"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s170t"]],decls:17,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Consider this example where someone insults my religion. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," I feel hurt and react by getting really angry, and want to retaliate in some way.Some people do react with violence and feel it is entirely justified. We all feel our anger is always justified and caused by the behaviour and actions of others.This is where human awareness stops. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," If I ask myself why I got angry and what is going on in my thinking I discover so much more. "),e.qZA(),e.TgZ(12,"p"),e._uU(13," I got hurt because I am attached to my religion. I am attached to it and identify myself with it, because it meets my deep emotional needs to feel secure, belong to a group, and so on. If it is challenged, I feel physical pain and react with anger. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," Now that I am aware of this I can ask myself what is the intelligent way to respond. "),e.qZA()()()()()(),e.TgZ(16,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(15),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();const Le=["playerContainer"];let Me=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+1.4.mp3"),(0,t.Z)(this,"title","Anger based on conditioning"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",171),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s171t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s172"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s170"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s171"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Le,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:28,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[1,"row","p0","mlr-20px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_1.png","alt","",1,"img-responsive","w100"],[1,"icenter_t1","mtb0px","pno","pno1"],[1,"icenter_t1","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_2.png","alt","",1,"img-responsive","w100"],[1,"icenter_tn","mtb0px","pno","pnotn"],[1,"icenter_tn","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_3.png","alt","",1,"img-responsive","w100"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_4.png","alt","",1,"img-responsive","w100"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-pyramid-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h6",5),e._uU(6," 01 "),e.qZA(),e.TgZ(7,"h6",6),e._uU(8," My son is in bed at 1pm "),e.qZA()(),e.TgZ(9,"div",3),e._UZ(10,"img",7),e.TgZ(11,"h6",8),e._uU(12," 02 "),e.qZA(),e.TgZ(13,"h6",9),e._uU(14," I get angry and blame him for making me angry "),e.qZA()(),e.TgZ(15,"div",3),e._UZ(16,"img",10),e.TgZ(17,"h6",8),e._uU(18," 03 "),e.qZA(),e.TgZ(19,"h6",9),e._uU(20," His behaviour is different to my \u2018normal\u2019 "),e.qZA()(),e.TgZ(21,"div",3),e._UZ(22,"img",11),e.TgZ(23,"h6",8),e._uU(24," 04 "),e.qZA(),e.TgZ(25,"h6",9),e._uU(26," \u2018I\u2019 feel I am right and he is wrong "),e.qZA()()()(),e.TgZ(27,"app-course-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(26),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,Q.m]})),o})(),Fe=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s171"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",171),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s172"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s170"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s171t"]],decls:13,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Consider another example. My son is still in bed at 12pm and I look at that and get irritated and angry with him. He reacts back and we end up in an argument. I am sure I am right and he is wrong. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," He justifies his actions, and we fall out. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," I pause and ask myself, what\u2019s behind my anger. I discover it\u2019s my conditioning which says it\u2019s not okay to sleep in so late, and just a difference between me and him. Can I accept the situation as it is? As soon as I do, my anger melts away.This does not mean we do not have a discussion about his sleeping habits, but it could be a friendly one, and n
1ot one laced with anger. "),e.qZA()()()()()(),e.TgZ(12,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(11),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var O=P(44505);const Qe=["playerContainer"];let Re=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"title","Anger directed at yourself"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+1.5.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",172),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s172t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s173"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s171"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s172"]],viewQuery:function(s,i){if(1&s&&e.Gf(Qe,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Ge=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s172"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",172),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s173"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s171"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s172t"]],decls:9,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Sometimes people get angry with themselves. The causes of this are complex and include previous trauma and not meeting their own expectations. They may have low self-esteem and feel bad about their behaviour which they can't seem to control. Or, they are generally unhappy and do not understand why. They can express this frustration through self-harm and its a growing problem in y
1oung people. We explore the roots of this negative self-talk in the modules on comparison and self-esteem. This understanding can bring freedom. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var L=P(23329);let ze=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_w11"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/anger/videos/1.1.mp4"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_01.jpg"),(0,t.Z)(this,"title","What is the root cause of anger?"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",173),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s174"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{},s=>console.log(s),()=>{})}previous(){this.router.navigate(["/adults/anger/s172"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s173"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})();var Y=P(6688);let We=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w12"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",174),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s175"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){console.log("prev"),this.router.navigate(["/adults/anger/s173"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s174"]],decls:7,vars:8,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," Behind our anger is a feeling of being disappointed or emotionally hurt "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})(),Xe=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",175),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s176"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s174"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s175"]],decls:9,vars:8,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," Make no mistake, anger can lead to aggression and violence. "),e._UZ(5,"br"),e._uU(6," In a relationship, it is communicated to the other person, even if you do not say anything. "),e.qZA(),e._UZ(7,"div",4),e.qZA()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})();var x=P(76660);function He(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div",21)(1,"div",22)(2,"div",10)(3,"a",23)(4,"div",21)(5,"div",24)(6,"label",25)(7,"input",26),e.NdJ("ngModelChange",function(i){e.CHM(c);const r=e.oxw();return e.KtG(r.shared=i)})("click",function(i){e.CHM(c);const r=e.oxw();return e.KtG(r.sharedForum(i.target.checked))}),e.qZA(),e.TgZ(8,"h4",27)(9,"span",28),e._uU(10," Share this note on the forum "),e.qZA()()()()()()()(),e.TgZ(11,"h5",29),e._uU(12," All posts shared on the forum are moderated "),e.qZA()()}if(2&n){const c=e.oxw();e.xp6(7),e.Q6J("disabled",c.textDisabled)("ngModel",c.shared)}}function Ve(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div",21)(1,"div",30)(2,"div",31)(3,"div",32)(4,"a",23)(5,"div",21)(6,"div",24)(7,"label",25)(8,"input",26),e.NdJ("ngModelChange",function(i){e.CHM(c);const r=e.oxw();return e.KtG(r.shared=i)})("click",function(i){e.CHM(c);const r=e.oxw();return e.KtG(r.sharedForum(i.target.checked))}),e.qZA(),e.TgZ(9,"h4",27)(10,"span",28),e._uU(11," Share this note on the forum "),e.qZA()()()()()()(),e.TgZ(12,"div",33)(13,"button",34),e.NdJ("click",function(){e.CHM(c);const i=e.oxw();return e.KtG(i.confirmShare())}),e._uU(14," Confirm? "),e.qZA()()()()()}if(2&n){const c=e.oxw();e.xp6(8),e.Q6J("disabled",c.textDisabled)("ngModel",c.shared),e.xp6(
15),e.Q6J("disabled",""===c.r176_1&&""===c.r176)}}function je(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div")(1,"h5",35),e._uU(2," Great! We will notify you once it is published. "),e.qZA(),e.TgZ(3,"div",3)(4,"div",24)(5,"button",36),e.NdJ("click",function(){e.CHM(c);const i=e.oxw();return e.KtG(i.router.navigate(["/forum"]))}),e.TgZ(6,"div",21)(7,"div",37)(8,"div",38)(9,"h4",39),e._uU(10," See what others have to say "),e.qZA()(),e.TgZ(11,"div",40),e._UZ(12,"i",41),e.qZA()()()()()()()}}let Ke=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",176),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",64),(0,t.Z)(this,"rId_1",2348),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r176",""),(0,t.Z)(this,"r176_1",""),(0,t.Z)(this,"hint","My son did not call on my birthday, My anger is caused by my own expectations"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","bg_176"),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),(0,t.Z)(this,"scrNumber",void 0),(0,t.Z)(this,"progress",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress_1(){sessionStorage.setItem("r176_1",JSON.stringify(this.r176_1)),this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId_1,Resp:this.r176_1}).subscribe(s=>{},s=>{this.submitProgress()},()=>{this.submitProgress()})}submitProgress(){sessionStorage.setItem("r176",JSON.stringify(this.r176)),this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r176}).subscribe(s=>{},s=>{console.log(s),this.router.navigate(["/adults/anger/s177"])},()=>{this.router.navigate(["/adults/anger/s177"])})}ngOnDestroy(){}getProgress(s){this.service.screenProgress(s).subscribe(i=>{this.progress=parseFloat(i)})}goToToc(){this.router.navigate(["/adults/"+this.toc])}goToDash(){this.router.navigate(["/adults/adult-dashboard"])}prev(){this.router.navigate(["/adults/anger/s175"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s176"]],decls:31,vars:14,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","mc_02"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_02_v3","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"mt0px","mb20px","v3_reflection_qtn","fs_15px","fw_400","lh_150p","fc_000000"],[1,"mtb0px","v3_reflection_qtn","fs_15px","fw_400","lh_150p","fc_000000","p0"],[1,"row","pt5px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["id","message","required","required","name","message","rows","12","placeholder","Write your answer here",1,"rtextarea","v3_reflection_ta",3,"ngModel","ngModelChange"],[1,"mtb0px","v3_reflection_qtn","fs_15px","fw_400","lh_150p","fc_000000","p0","mt40px"],["id","message1","required","required","name","message1","rows","12","placeholder","Write your answer here",1,"rtextarea","v3_reflection_ta",3,"ngModel","ngModelChange"],["class","row",4,"ngIf"],[4,"ngIf"],["id","ex_modal","data-keyboard","false","data-backdrop","true",1,"modal","fade"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","p0"],[1,"mtb0px","fs_12px","fw_400","lh_140p","fc_000000","tleft","rhdm","hm"],[1,"pagebreak"],[3,"bg_cft","bg","nextEmitter","previousEmitter"],[1,"row"],[1,"row","mt20px","mb15px"],[1,""],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0"],["for","cb1",1,"tcenter","chkb_post_anonymously","mt0px"],["id","cb1","type","checkbox","name","shared",1,"",3,"disabled","ngModel","ngModelChange","click"],[1,"mtb0px","fs_12px","fw_500","lh_150p","fc_000000"],[1,"ml10px"],[1,"mtb0px","fs_12px","fw_400","lh_150p","fc_000000_0_7"],[1,"row","mt30px"],[1,"col-md-12","col-sm-12","col-xs-12","p0","center_flex"],[1,"col-lg-9","col-md-9","col-sm-9","col-xs-9","p0"],[1,"col-lg-3","col-md-3","col-sm-3","col-xs-3","p0","tright"],["type","button",1,"btn","igbtn1",3,"disabled","click"],[1,"mtb20px","fs_12px","fw_400","lh_150p","fc_000000_0_7"],["type","button",1,"btn","jbtn1",3,"click"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0","center_flex"],[1,"col-lg-10","col-md-10","col-sm-10","col-xs-10","p0"],[1,"mtb0px","fs_15px","fw_400","lh_150p","fc_000000","tleft"],[1,"col-lg-2","col-md-2","col-sm-2","col-xs-2","p0","tright"],[1,"fa","fa-angle-right","fc_000000"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10),e.qZA(),e.TgZ(11,"h5",8),e._uU(12," 1. Apparent cause (wh
1at you think) "),e.qZA(),e.TgZ(13,"div",9)(14,"div",10)(15,"textarea",11),e.NdJ("ngModelChange",function(a){return i.r176=a}),e.qZA()()(),e.TgZ(16,"h5",12),e._uU(17," 2. Real cause (layer 3) "),e.qZA(),e.TgZ(18,"div",9)(19,"div",10)(20,"textarea",13),e.NdJ("ngModelChange",function(a){return i.r176_1=a}),e.qZA()()(),e.YNc(21,He,13,2,"div",14),e.YNc(22,Ve,15,3,"div",14),e.YNc(23,je,13,0,"div",15),e.TgZ(24,"div",16)(25,"div",3)(26,"div",17)(27,"h4",18),e._uU(28),e.qZA()()()(),e._UZ(29,"div",19),e.qZA()()()()()()(),e.TgZ(30,"app-course-footer",20),e.NdJ("nextEmitter",function(){return i.submitProgress_1()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(10),e.hij(" ",i.reflection," "),e.xp6(5),e.Q6J("ngModel",i.r176),e.xp6(5),e.Q6J("ngModel",i.r176_1),e.xp6(1),e.Q6J("ngIf",!i.shared&&!i.confirmed),e.xp6(1),e.Q6J("ngIf",i.shared&&!i.confirmed),e.xp6(1),e.Q6J("ngIf",i.confirmed),e.xp6(5),e.hij(" ",i.hint," "),e.xp6(2),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[b.O5,l._Y,l.Fj,l.Wl,l.JJ,l.JL,l.Q7,l.On,l.F,w.O,I.p,x.Y]})),o})(),et=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",177),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s178p1"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s176"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s177"]],decls:12,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0","mb20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/quotation_01.svg","alt",""],[1,"mtb0px","quotation_txt"],[1,"hr_style_v3_05","mtb20px"],[1,"mtb0px","quotation_writer"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-quotation",1)(2,"form")(3,"div",2)(4,"div",3),e._UZ(5,"img",4),e.qZA()(),e.TgZ(6,"h1",5),e._uU(7," For every minute you remain angry, you give up 60 seconds of peace of mind. "),e.qZA(),e._UZ(8,"hr",6),e.TgZ(9,"h1",7),e._uU(10," Ralph Waldo Emerson "),e.qZA()()(),e.TgZ(11,"app-course-footer",8),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(10),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,M.P]})),o})();var R=P(446);let tt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w2"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"points",void 0),(0,t.Z)(this,"overallPercentage",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.sessionPoints()}sessionPoints(){this.service.sessionPoints({UserId:this.userId,ScreenNos:"162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177"}).subscribe(s=>{console.log("points",s),this.points=s})}submitProgress(){this.router.navigate(["/adults/anger/s178p2"])}previous(){this.router.navigate(["/adults/anger/s177"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s178p1"]],decls:2,vars:3,consts:[[3,"bg","points"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e._UZ(0,"app-sessionover-s1",0),e.TgZ(1,"app-course-footer",1),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("points",i.points),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,R.d]})),o})();var W=P(47191);let st=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w3"),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"userName",void 0),(0,t.Z)(this,"progressPercent",void 0),(0,t.Z)(this,"progressText","1/4"),(0,t.Z)(this,"link","/adults/anger/s179"),(0,t.Z)(this,"name","#2 The nature of anger"),(0,t.Z)(this,"progressImg",""),(0,t.Z)(this,"toc","anger/s162p0"),this.router=s,this.location=i,this.service=r}ngOnInit(){0==this.saveUsername?(this.userId=JSON.parse(sessionStorage.getItem("userId")),this.userName=JSON.parse(sessionStorage.getItem("userName"))):(this.userId=JSON.parse(localStorage.getItem("userId")),this.userName=JSON.parse(localStorage.getItem("userName"))),this.getProgress()}getProgress(){this.service.getPoints(this.userId).subscribe(s=>{this.progressPercent=parseInt(s.ModUserScrPc.find(i=>14==i.ModuleId).Percentage)})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(b.Ye),e.Y36(k.$))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s178p2"]],decls:1,vars:7,consts:[[3,"bg","progressText","progressImg","progressPercent","link","name","toc"]],template:function(s,i){1&s&&e._UZ(0,"app-session-end",0),2&s&&e.Q6J("bg",i.bg)("progressText",i.progressText)("progressImg",i.progressImg)("progressPercent",i.progressPercent)("link",i.link)("name",i.name)("toc",i.toc)},dependencies:[W.C]})),o})(),it=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tts","bg_red_pink"),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_flat"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",179),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s180"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s178"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s179"]],decls:13,vars:6,consts:[[3,"bookmark","toc","path","bg_tn","sendBookmark"],[3,"bg_tts","bg","nextEmitter"],[1,"mtb0px","comparison"],[1,"clearfix"],[1,"mtb0px","session"],[1,"session_title"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-tap-start",1),e.NdJ("nextEmitter",function(){return i.submitProgress()}),e.TgZ(2,"form")(3,"h4",2),e._uU(4," Anger "),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h5",4),e._uU(7," Session #2 "),e.qZA(),e._UZ(8,"div",3)(9,"br"),e.TgZ(10,"h1",5),e._uU(11," What is the nature of anger? "),e.qZA(),e._UZ(12,"div",3),e.qZA()()),2&s&&(e.Q6J("bookmark",i.bookmark)("toc",i.toc)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg_tts",i.bg_tts)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,z.s]})),o})(),rt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",180),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s181"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s179"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s180"]],decls:12,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0","mb20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/quotation_01.svg","alt",""],[1,"mtb0px","quotation_txt"],[1,"hr_style_v3_05","mtb20px"],[1,"mtb0px","quotation_writer"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-quotation",1)(2,"form")(3,"div",2)(4,"div",3),e._UZ(5,"img",4),e.qZA()(),e.TgZ(6,"h1",5),e._uU(7," Those who are at war with others, are not at peace with themselves "),e.qZA(),e._UZ(8,"hr",6),e.TgZ(9,"h1",7),e._uU(10," William Hazlitt "),e.qZA()()(),e.TgZ(11,"app-course-footer",8),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(10),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,M.P]})),o})();const ot=["playerContainer"];let at=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"title","Understanding anger"),(0,t.Z)(this,"transcriptPage","anger/s181t"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.1.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",181),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s182"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s180"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s181"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(ot,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),nt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s181"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",181),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s182"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s180"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s181t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Anger is an unconscious, automatic reaction from our thinking to events in the world around us. Alternatively we can get angry with ourselves. In this session we are going to explore the nature of anger, and its effect on others and ourselves. We don\u2019t seem to have any control of the feeling of anger, but how we express it depends on our circumstances. Sometimes it erupts out of us, and at other times we internalise it and it lasts a long time, as the memory of the hurt lingers. We always seem to justify our anger and rarely think we are wrong. We mostly blame others or a situation for our anger. The nature of anger is the same in all human beings. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),ct=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_w3"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/anger/videos/2.1.mp4"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_01.jpg"),(0,t.Z)(this,"title","Anger and blame"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",182),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s183"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{},s=>console.log(s),()=>{})}previous(){this.router.navigate(["/adults/anger/s181"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s182"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})();const lt=["playerContainer"];let mt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"title","Patterns repeat themselves"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.2.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",183),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s183t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s184"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s182"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s183"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(lt,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),dt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s183"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",183),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s184"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s182"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s183t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Have you noticed how the patterns of anger keep repeating themselves in our lives? The same trigger will usually generate the same anger reaction in us, while someone next to us may be really calm. Why is that? Why can't we seem to learn from the last time we were angry, and avoid it this time? A mother may get angry with her son for the same reason each time, for example if he did not clear his plate after dinner. If she paused and saw that pattern was not working, and the effects of that anger on herself and her son, she might consider a different way to address that problem. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var ht=P(88511);const ut=["playerContainer"];let gt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"title","Anger comes from conditioning"),(0,t.Z)(this,"yellow","#FFC455"),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_footer"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.3.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",184),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s184t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s185"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s183"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s184"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(ut,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:9,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],["base","anger_base2","overlay","anger_overlay2"],[1,"txt2","fc_ffffff"],[1,"row","tcenter"],[1,"col-md-12","col-sm-12","col-xs-12","center_flex","p0","pt30px"],["id","aud1",3,"audioLink"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-image-text",1)(2,"form")(3,"h1",2),e._uU(4," Anger comes from conditioning "),e.qZA(),e.TgZ(5,"div",3)(6,"div",4),e._UZ(7,"app-audio-player",5),e.qZA()()()(),e.TgZ(8,"app-course-footer",6),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(7),e.Q6J("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,ee.t,ht.N],styles:["#aud1[_ngcontent-%COMP%]{width:100%}"]})),o})(),pt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s184"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",184),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s185"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s183"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s184t"]],decls:11,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Why do the patterns of anger repeat themselves in our lives? It is probably because our anger reaction comes from our particular slice of memory, which is our unconscious conditioning, and we are not aware of it. Our mind automatically compares what it sees with what it knows, and if there is a big difference, it creates a disturbance in our thinking, which creates a feeling of hurt, and we respond with anger. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," Since everyone is conditioned differently this also explains why people have different triggers that make them angry. "),e.qZA()()()()()(),e.TgZ(10,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(9),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),_t=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w6"),(0,t.Z)(this,"hint","For example, it could be you getting angry with your children, or your boss, or a politician."),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",185),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",65),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r185",JSON.parse(sessionStorage.getItem("r185"))),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s186"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r185",JSON.stringify(s)),this.r185=sessionStorage.getItem("r185"),"undefined"!=this.r185?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r185}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s186"])}previous(){this.router.navigate(["/adults/anger/s184"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s185"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r185)},dependencies:[D.i]})),o})(),vt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"hint","Usually we are not aware of them."),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",186),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",66),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r186",JSON.parse(sessionStorage.getItem("r186"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s187"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r186",JSON.stringify(s)),this.r186=sessionStorage.getItem("r186"),"undefined"!=this.r186?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r186}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s187"])}previous(){this.router.navigate(["/adults/anger/s185"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s186"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r186)},dependencies:[D.i]})),o}
1)(),ft=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"hint","Answer in this module."),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",187),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",67),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r187",JSON.parse(sessionStorage.getItem("r187"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s188"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r187",JSON.stringify(s)),this.r187=sessionStorage.getItem("r187"),"undefined"!=this.r187?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r187}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s188"])}previous(){this.router.navigate(["/adults/anger/s186"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s187"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r187)},dependencies:[D.i]})),o})();const bt=["playerContainer"];let Zt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"title","How does anger impact our health?"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.4.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",188),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s188t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s187"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(bt,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})();var q=P(5906);let kt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p0"]],decls:45,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p1"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15)(21,"section")(22,"section")(23,"section")(24,"section")(25,"section")(26,"section")(27,"section")(28,"section"),e.TgZ(29,"div",16)(30,"div",17),e._UZ(31,"div",18),e.qZA()()()()()()()()(),e.TgZ(32,"div",19)(33,"div",20)(34,"div",21)(35,"div",22)(36,"a",23)(37,"button",24),e._uU(38,"Previous"),e.qZA()()(),e.TgZ(39,"div",25)(40,"a",26)(41,"button",27),e._uU(42,"Next"),e.qZA()()(),e._UZ(43,"div",22),e.qZA()()(),e._UZ(44,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),St=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p1"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p0"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p2"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 1. Heart disease "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," lowers your \u2018good\u2019 cholesterol levels, and indirectly by making you eat more and exercise less "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),It=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p2"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p1"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p3"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 2. Headaches "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," a dull aching pain, or a pressure across your forehead or the sides of your head "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),Tt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p3"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p2"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p4"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 3. High Blood Pressure "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," can occur without any reason, but also can be caused by long term stress and anger "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),yt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p4"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p3"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p5"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 4. Abdominal pain "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," Stress can cause stomach cramps, nausea, diarrhoea, and constipation "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),wt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p5"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p4"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p6"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 5. Poor sleep "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," this can cause many health problems of its own and a good sleep is so important for our overall health "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),Pt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p6"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p5"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p7"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 6. Anxiety "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," Long term stress and anger can contribute to our feelings of anxiety "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),Nt=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p7"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p6"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s188p8"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 7. Stroke "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," Stress can cause increased sugar and fat levels in your blood and increased blood pressure - all of which increase the risk of blood clots "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),At=(()=>{var n;class o{constructor(){}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var d=$(this).attr("id");"next"==d?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==d&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var p=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+p+")").css("fill",s);var h=$("section:nth-of-type("+a+")");h.fadeIn(),h.css("transform","translateX(0)"),h.prevAll("section").css("transform","translateX(-100px)"),h.nextAll("section").css("transform","translateX(100px)"),$("section").not(h).hide()})})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188p8"]],decls:51,vars:0,consts:[[1,"top_nav","ml0"],[1,"nav_menu","cnav_menu"],[1,"nav","navbar-nav","navbar-right","cnav"],[1,""],["href","javascript:;","data-toggle","dropdown","aria-expanded","false",1,"cuser-profile","dropdown-toggle"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/pencil.png","alt",""],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/icons/header/bookmark.png","alt",""],["role","main",1,"right_col","ml0","anger_w10"],[1,"cw100p","cabsolute"],[1,"row","center_flex"],[1,"col-md-6","col-sm-8","col-xs-12","p0"],[1,"x_panel","cxpanel","center_flex","dflexblock"],[1,"x_content","c_white","fwunset","tcenter"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[1,"sidebar-footer","hidden-small"],[1,"row","lh5rem"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","center_flex"],[1,"col-md-2","col-sm-2","col-xs-4"],["routerLink","/adults/anger/s188p7"],["type","button",1,"btn","w100","mb0","btn_prev"],[1,"col-md-2","col-sm-2","col-xs-6","p0"],["routerLink","/adults/anger/s189"],["type","button",1,"btn","btn-default","w100","mb0","btn_next"]],template:function(s,i){1&s&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav")(3,"ul",2)(4,"li",3)(5,"a",4),e._UZ(6,"img",5),e.qZA()(),e.TgZ(7,"li",3)(8,"a",4),e._UZ(9,"
1img",6),e.qZA()()()()()(),e.TgZ(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10)(14,"div",11)(15,"div",12)(16,"form")(17,"h5",13),e._uU(18," What are the side-effects of long term anger? "),e.qZA(),e._UZ(19,"div",14)(20,"div",15),e.TgZ(21,"section")(22,"div",16)(23,"div",17)(24,"h4",18),e._uU(25," 8. Skin problems "),e.qZA(),e.TgZ(26,"h4",19),e._uU(27," Can make eczema and psoriasis worse "),e.qZA()()()(),e._UZ(28,"section")(29,"section")(30,"section")(31,"section")(32,"section")(33,"section")(34,"section"),e.TgZ(35,"div",16)(36,"div",20),e._UZ(37,"div",21),e.qZA()()()()()()()()(),e.TgZ(38,"div",22)(39,"div",23)(40,"div",24)(41,"div",25)(42,"a",26)(43,"button",27),e._uU(44,"Previous"),e.qZA()()(),e.TgZ(45,"div",28)(46,"a",29)(47,"button",30),e._uU(48,"Next"),e.qZA()()(),e._UZ(49,"div",25),e.qZA()()(),e._UZ(50,"app-botnav"))},dependencies:[l._Y,l.JL,l.F,E.YI,q.r,v.rH]})),o})(),Jt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s188"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",188),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s189"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s187"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s188t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Anger results in the flight or fight response. The body releases stress hormones like cortisol and this prepares us to respond to danger. When anger becomes chronic or long-term the same chemicals can cause many health problems as shown here. It is therefore really important for our long term health that we understand the root causes of anger in our thinking, so we can respond with our intelligence. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();const Ot=["playerContainer"];let Ut=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"title","How do we respond when we get angry?"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.5.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",189),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s189t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p0"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s188"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Ot,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),xt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p0"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill","#E58D82")}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p0"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p0")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p0",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p1"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p0"]],decls:23,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9)(13,"section")(14,"section")(15,"section")(16,"section")(17,"section")(18,"section"),e.TgZ(19,"div",10)(20,"div",11),e._UZ(21,"div",12),e.qZA()()()()()()()()(),e.TgZ(22,"app-course-footer",13),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(22),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),$t=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p1"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill","#E58D82")}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p1"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p1")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p1",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p2"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p0"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p1"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 1. We withdraw our affection "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We may become cool towards people, not talk to them as much, not be affectionate, or reply with short answers in a sharp tone "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Et=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p2"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p2"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p2")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p2",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p3"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p1"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p2"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 2. We think of ways to retaliate "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We can retaliate by not doing things that others may want us to do "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Dt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p3"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p3"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p3")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p3",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p4"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p2"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p3"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 3. We shout at people "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We may lose control and start shouting at people which is a form of verbal violence "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),qt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p4"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p4"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p4")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p4",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p5"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p3"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p4"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 4. We can get physically violent "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," Many cases of abuse in relationships begin with anger and loss of self-control, especially with children "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Bt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p5"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p5"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p5")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p5",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s189p6"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p4"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p5"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 5. We go over and over the situation in our mind "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We cannot stop thinking about the problem and go over and over it in our mind "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Yt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","189p6"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark189p6"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark189p6")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark189p6",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s190"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s189p5"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189p6"]],decls:29,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," How do we respond when we get angry? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 6. We justify our anger as right and caused by the other person or situation "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We usually think we are right and the other person is wrong "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section"),e.TgZ(25,"div",10)(26,"div",14),e._UZ(27,"div",15),e.qZA()()()()()()()()(),e.TgZ(28,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(28),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Ct=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s189"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",189),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s189p0"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s188"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s189t"]],decls:15,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," The extent of our anger varies, depending on the situation. When we are really angry we can start shouting, think of how to retaliate, or even get violent. If we grew up in a culture where it was normal to respond with violence, then we would respond in the same way. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," Examples here include domestic violence, and gang violence. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," In relationships when we are angry, we can withdraw our affection and this can cause longer term problems. Sometimes we can internalise our anger, thinking the other person will not notice, but our anger is like a lighthouse - and can be spotted a mile away, even if we say nothing. "),e.qZA(),e.TgZ(12,"p"),e._uU(13," If countries get angry with each other, it leads to war. "),e.qZA()()()()()(),e.TgZ(14,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(13),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),Lt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"hint","You could become quiet, or shout, or become violent even."),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",190),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",68),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r190",JSON.parse(sessionStorage.getItem("r190"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s191"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r190",JSON.stringify(s)),this.r190=sessionStorage.getItem("r190"),"undefined"!=this.r190?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r190}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s191"])}previous(){this.router.navigate(["/adults/anger/s189p6"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s190"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r190)},dependencies:[D.i]})),o})();const Mt=["playerContainer"];let Ft=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"title","Extent of our anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.6.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",191),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s191t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s192"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s190"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s191"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Mt,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Qt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s191"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",191),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s192"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s190"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s191t"]],decls:13,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," The extent of our anger reaction depends on how disturbed our mind is at that time, and our reaction can seem disproportionate to the event. If I have had a bad day at the office and am driving home and have a minor car accident, I can get out and get really angry. I may not have reacted in that way yesterday when I was happy. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," Or, if we are in a relationship, and I am irritated with you generally, I can get angry about the smallest thing, like how the soap is always out of the soap dish. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," Or if I am a member of a gang, and there is violence all around me and my life is hard, the smallest trigger, like someone making prolonged eye contact can elicit a violent response. This can help us understand the behaviour of others who are angry, and help us respond with intelligence. "),e.qZA()()()()()(),e.TgZ(12,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(11),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),Rt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_w12"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/anger/videos/2.2.mp4"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_02.jpg"),(0,t.Z)(this,"title","How do we respond when we are angry?"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",192),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s193"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{},s=>console.log(s),()=>{})}previous(){this.router.navigate(["/adults/anger/s191"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s192"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})();const Gt=["playerContainer"];let zt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"title","How do we respond when people are angry with us?"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.7.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",193),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s193t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s194"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s192"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s193"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Gt,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Wt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s193"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",193),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s194"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s192"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s193t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," How do we respond when others are angry with us? We also get triggered, and usually get angry in return. We feel it as a form of violence against us and react accordingly. Our reaction may help us understand how others react to our anger because deep down we are the same human being. It takes great intelligence to remain calm when others are angry, but if we can, it can diffuse a situation which in some cases can lead to violence. Ofcourse, if there is the threat of real violence, we need to act to protect ourselves. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),Xt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_w2"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/anger/videos/2.3.mp4"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_03.jpg"),(0,t.Z)(this,"title","How do we respond when others are angry with us?"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",194),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s195"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{},s=>console.log(s),()=>{})}previous(){this.router.navigate(["/adults/anger/s193"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s194"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})(),Ht=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w3"),(0,t.Z)(this,"hint","You may feel angry in return, or go quiet, or say sorry."),
1(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",195),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",69),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r195",JSON.parse(sessionStorage.getItem("r195"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s196"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r195",JSON.stringify(s)),this.r195=sessionStorage.getItem("r195"),"undefined"!=this.r195?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r195}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s196"])}previous(){this.router.navigate(["/adults/anger/s194"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s195"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r195)},dependencies:[D.i]})),o})();const Vt=["playerContainer"];let jt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"title","Expressing our anger brings a subtle pleasure"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+2.8.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",196),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s196t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s197"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s195"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s196"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Vt,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Kt=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s196"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",196),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s197"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s195"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s196t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," We usually express our anger when we can\u2019t control it anymore, or in situations where we have the upper hand or feel its safe to do so - towards our family members, or our employees, or to the waiter in a restaurant. We probably don\u2019t express it to our friends because we may lose the friendship or to our boss at work. When we do express it , it feels like a release of a pent up emotion, and there is a subtle pleasure in that. Since we feel our anger is always justified, there is a subtle pleasure in feeling right about things too "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),es=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",197),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s198p1"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s196"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s197"]],decls:7,vars:8,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," Waking up to and exploring the process of anger in our thinking can allow us to respond with wisdom, and also help us understand others "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})(),ts=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w5"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"points",void 0),(0,t.Z)(this,"overallPercentage",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.sessionPoints()}sessionPoints(){this.service.sessionPoints({UserId:this.userId,ScreenNos:"179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197"}).subscribe(s=>{console.log("points",s),this.points=s})}submitProgress(){this.router.navigate(["/adults/anger/s198p2"])}previous(){this.router.navigate(["/adults/anger/s197"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s198p1"]],decls:2,vars:3,consts:[[3,"bg","points"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e._UZ(0,"app-sessionover-s1",0),e.TgZ(1,"app-course-footer",1),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("points",i.points),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,R.d]})),o})(),ss=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w6"),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"userName",void 0),(0,t.Z)(this,"progressPercent",void 0),(0,t.Z)(this,"progressText","2/4"),(0,t.Z)(this,"link","/adults/anger/s199"),(0,t.Z)(this,"name","#3 Responding to anger with wisdom"),(0,t.Z)(this,"progressImg",""),(0,t.Z)(this,"toc","anger/s162p0"),this.router=s,this.location=i,this.service=r}ngOnInit(){0==this.saveUsername?(this.userId=JSON.parse(sessionStorage.getItem("userId")),this.userName=JSON.parse(sessionStorage.getItem("userName"))):(this.userId=JSON.parse(localStorage.getItem("userId")),this.userName=JSON.parse(localStorage.getItem("userName"))),this.getProgress()}getProgress(){this.service.getPoints(this.userId).subscribe(s=>{this.progressPercent=parseInt(s.ModUserScrPc.find(i=>14==i.ModuleId).Percentage)})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(b.Ye),e.Y36(k.$))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s198p2"]],decls:1,vars:7,consts:[[3,"bg","progressText","progressImg","progressPercent","link","name","toc"]],template:function(s,i){1&s&&e._UZ(0,"app-session-end",0),2&s&&e.Q6J("bg",i.bg)("progressText",i.progressText)("progressImg",i.progressImg)("progressPercent",i.progressPercent)("link",i.link)("name",i.name)("toc",i.toc)},dependencies:[W.C]})),o})(),is=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tts","bg_red_pink"),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_flat"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",199),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s200"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s198"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s199"]],decls:13,vars:6,consts:[[3,"bookmark","toc","path","bg_tn","sendBookmark"],[3,"bg_tts","bg","nextEmitter"],[1,"mtb0px","comparison"],[1,"clearfix"],[1,"mtb0px","session"],[1,"session_title"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-tap-start",1),e.NdJ("nextEmitter",function(){return i.submitProgress()}),e.TgZ(2,"form")(3,"h4",2),e._uU(4," Anger "),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h5",4),e._uU(7," Session #3 "),e.qZA(),e._UZ(8,"div",3)(9,"br"),e.TgZ(10,"h1",5),e._uU(11," Responding to anger with wisdom "),e.qZA(),e._UZ(12,"div",3),e.qZA()()),2&s&&(e.Q6J("bookmark",i.bookmark)("toc",i.toc)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg_tts",i.bg_tts)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,z.s]})),o})(),rs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",200),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s201"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s199"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s200"]],decls:12,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0","mb20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/quotation_01.svg","alt",""],[1,"mtb0px","quotation_txt"],[1,"hr_style_v3_05","mtb20px"],[1,"mtb0px","quotation_writer"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-quotation",1)(2,"form")(3,"div",2)(4,"div",3),e._UZ(5,"img",4),e.qZA()(),e.TgZ(6,"h1",5),e._uU(7," Anger is an opportunity to learn about yourself "),e.qZA(),e._UZ(8,"hr",6),e.TgZ(9,"h1",7),e._uU(10," Anon "),e.qZA()()(),e.TgZ(11,"app-course-footer",8),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(10),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,M.P]})),o})();const os=["playerContainer"];let as=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"title","Dealing with anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.1.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",201),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s201t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")
1):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s202"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s200"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s201"]],viewQuery:function(s,i){if(1&s&&e.Gf(os,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),ns=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s201"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",201),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s202"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s200"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s201t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Welcome. In this module we are going to explore how we can use our understanding of the nature of anger, and the art of enquiry, to respond to anger with wisdom. Anger is neither right or wrong, and part of being human, but we can use our inner intelligence to manage it so it can protect us if needed, and make sure it does not harm us or others. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),cs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w3"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",202),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s203"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s201"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s202"]],decls:12,vars:7,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0","mb20px"],["src","https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/svgs/v_1_4/quotation_01.svg","alt",""],[1,"mtb0px","quotation_txt"],[1,"hr_style_v3_05","mtb20px"],[1,"mtb0px","quotation_writer"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-quotation",1)(2,"form")(3,"div",2)(4,"div",3),e._UZ(5,"img",4),e.qZA()(),e.TgZ(6,"h1",5),e._uU(7," When you are angry, think of the consequences "),e.qZA(),e._UZ(8,"hr",6),e.TgZ(9,"h1",7),e._uU(10," Confucious "),e.qZA()()(),e.TgZ(11,"app-course-footer",8),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(10),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,M.P]})),o})(),ls=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",203),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s204"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s202"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s203"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," Are you in immediate danger? If not, you have time to respond. "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})();const ms=["playerContainer"];let ds=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"title","Identifying danger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.2.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",204),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s204t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s205"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s203"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s204"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(ms,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),hs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s204"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",204),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s205"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s203"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s204t"]],decls:11,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," The first question to ask yourself - Are you or is anyone around you in immediate danger? "),e.qZA(),e.TgZ(8,"p"),e._uU(9," If the answer is NO, relax, you have time to respond. This question can break the automatic anger reaction, when you realise there is no imminent physical threat, and it\u2019s just a reaction from our thinking process "),e.qZA()()()()()(),e.TgZ(10,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(9),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),us=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w6"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",205),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s206"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s204"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s205"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," Interrupt the automatic anger reaction "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})();const gs=["playerContainer"];let ps=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"title","Learn a breathing exercise"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.3.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",206),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s206t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s207"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s205"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s206"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(gs,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),_s=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s206"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",170),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s207"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s205"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s206t"]],decls:15,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Anger feels like a fire in the brain, and as with any fire our urgent need is to escape. Expressing our anger feels like a release. How can you interrupt the anger reaction, which is faster than a bullet coming out of a gun? You could take a deep breath, become grounded in the present, and do one of the breathing exercises you learned in the section on nurturing a quiet mind. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," You need to practice these exercises regularly, even when there is no problem, so when the anger storm comes, you are ready and can slip into a breathing exercise more easily. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," You can also walk away. "),e.qZA(),e.TgZ(12,"p"),e._uU(13," If you are in an argument, and see a trigger beginning to cause an anger reaction. you can just say, \u201ccan we talk about this later?\u201d "),e.qZA()()()()()(),e.TgZ(14,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(13),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var X=P(55146);function vs(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div")(1,"div",8)(2,"div",9)(3,"a",10)(4,"div",10)(5,"div",11)(6,"div",12)(7,"div",13)(8,"span",14),e._uU(9),e.qZA()(),e.TgZ(10,"div",15)(11,"input",16),e.NdJ("click",function(i){const a=e.CHM(c).$implicit,m=e.oxw();return e.KtG(m.selectOption(a.OptId,i.target.checked,a.OptStr))}),e.qZA(),e.TgZ(12,"label",17)(13,"span"),e.O4$(),e.TgZ(14,"svg",18),e._UZ(15,"use",19),e.qZA()()()()()(),e.TgZ(16,"svg",20)(17,"symbol",21),e._UZ(18,"polyline",22),e.qZA()()()()()(),e.kcU(),e._UZ(19,"br"),e.qZA()}if(2&n){const c=o.$implicit,s=e.oxw();e.xp6(5),e.Q6J("id",c.OptStr),e.xp6(4),e.hij(" ",c.OptStr," "),e.xp6(2),e.Q6J("id",c.OptId)("checked",s.sessionFetch(c.OptId,c.OptStr)),e.xp6(1),e.Q6J("for",c.OptId)}}let fs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",JSON.parse(localStorage.getItem("moduleId"))),(0,t.Z)(this,"screenType",JSON.parse(localStorage.getItem("question"))),(0,t.Z)(this,"screenNumber",207),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"questionA",void 0),(0,t.Z)(this,"question",void 0),(0,t.Z)(this,"optionList",[]),(0,t.Z)(this,"sessionOption207",JSON.parse(sessionStorage.getItem("sessionOption207"))),(0,t.Z)(this,"sendOption",JSON.parse(sessionStorage.getItem("sessionOption207"))),this.router=s,this.service=i,this.location=r}ngOnInit(){if(console.log("sessionOption207",this.sessionOption207),null==this.sessionOption207&&(this.sessionOption207=[],this.sendOption=[]),null==this.sessionOption207&&(this.sessionOption207=[]),this.createScreen(),this.startTime=Date.now(),this.qrList.ListOfQueOpts)for(var s=0;s<this.qrList.ListOfQueOpts.length;s++)this.qrList.ListOfQueOpts[s].OptId=parseInt(this.qrList.ListOfQueOpts[s].OptId);this.questionA=this.qrList?.ListOfQueOpts,this.question=this.findQuestion(47).Question,this.optionList=this.findQuestion(47).optionList,this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId"))}ngAfterViewInit(){this.optionList&&this.sessionOption207&&this.optionList.forEach(s=>{this.sessionOption207.includes(s.OptId)&&(document.getElementById(s.OptStr).style.backgroundColor="#E58D82")})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}findQuestion(s){this.optionList=[];for(var i=0;i<this.questionA.length;
1i++)if(this.questionA[i].CorrectAns="0"!=this.questionA[i].CorrectAns,s==this.questionA[i].QueId){var r=this.questionA[i].Que;this.optionList.push(this.questionA[i])}return{Question:r,optionList:this.optionList}}selectOption(s,i,r){console.log(s,i),1==i?(document.getElementById(r).style.backgroundColor="#E58D82",this.sendOption.push(s)):0==i&&(document.getElementById(r).style.backgroundColor="rgba(255,255,255,0.1)",this.sendOption.forEach((a,m)=>{a==s&&this.sendOption.splice(m,1)})),sessionStorage.setItem("sessionOption207",JSON.stringify(this.sendOption))}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s208"]),this.service.submitProgressQuestion({ModuleId:this.moduleId,screenType:this.screenType,ScrNumber:this.screenNumber,Bookmark:this.bookmark,UserId:this.userId,timeSpent:this.totalTime,OptionIDs:this.sendOption.join()}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s206"])}sessionFetch(s,i){return!!this.sessionOption207.includes(s)}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s207"]],decls:11,vars:8,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt4"],[1,"clearfix"],[1,"txt5","pb20px","pt40px"],[4,"ngFor","ngForOf"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,""],[1,"row","cb_box",3,"id"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0"],[1,"col-lg-10","col-md-10","col-sm-10","col-xs-10","p0"],[1,"txt46","ellipsis"],[1,"col-lg-2","col-md-2","col-sm-2","col-xs-2","p0","tright"],["type","checkbox",1,"inp-cbx",3,"id","checked","click"],[1,"cbx","mt0px",3,"for"],["width","12px","height","10px"],[0,"xlink","href","#check"],[1,"inline-svg"],["id","check","viewbox","0 0 12 10"],["points","1.5 6 4.5 9 10.5 1"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-multi-select",1)(2,"form")(3,"h4",2),e._uU(4),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h6",4),e._uU(7," Click all that apply "),e.qZA(),e.YNc(8,vs,20,5,"div",5),e._UZ(9,"div",6),e.qZA()(),e.TgZ(10,"app-course-footer",7),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(3),e.hij(" ",i.question," "),e.xp6(4),e.Q6J("ngForOf",i.optionList),e.xp6(2),e.Q6J("bg_cft",i.bg_cft))},dependencies:[b.sg,l._Y,l.JL,l.F,w.O,I.p,X.O]})),o})(),bs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",208),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s209"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s207"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s208"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," How can we begin to explore anger? "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})();const Zs=["playerContainer"];let ks=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"title","Accept it\u2019s a reaction from our thinking"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.4.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",209),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s209t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s210"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s208"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s209"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Zs,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Ss=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w10"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s209"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",209),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s210"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s208"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s209t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," It is not easy to do, but you can only begin to explore your anger if you let go of the idea of right and wrong or whose fault it is, and accept that anger is a reaction from your own thinking, or your conditioned mind, which is a sum of all your past influences. It may help to realise that anger is not unique to you and part of being human. This acceptance also focuses your attention on dealing with this anger, rather than lashing out at others. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),Is=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",210),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s211"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s209"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s210"]],decls:7,vars:8,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," While you may
1not be able to control the anger reaction, you can always manage the way you respond "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})();const Ts=["playerContainer"];let ys=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"title","Meet anger without language"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.5.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",211),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s211t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s212"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s210"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s211"]],viewQuery:function(s,i){if(1&s&&e.Gf(Ts,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),ws=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s211"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",211),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s212"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s210"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s211t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," As we discussed in the Art of Enquiry, looking at a feeling like anger without language, without thinking, can help end it immediately. This is because anger is a reaction from our thinking and if we can meet it without thinking, it cuts off the oxygen supply to it, and it can dissolve. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),Ps=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w12"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",212),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s213"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s211"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s212"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," Even if you do nothing, your anger will eventually dissipate - Like all emotions that we may experience, anger too is transient and with or without our help, will eventually dissipate and release its choke hold on us. "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})(),Ns=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w1"),(0,t.Z)(this,"hint","Go back to the art of enquiry section to explore this more fully"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",213),
1(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",776),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r213",JSON.parse(sessionStorage.getItem("r213"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s214"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r213",JSON.stringify(s)),this.r213=sessionStorage.getItem("r213"),"undefined"!=this.r213?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r213}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s214"])}previous(){this.router.navigate(["/adults/anger/s212"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s213"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r213)},dependencies:[D.i]})),o})(),As=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w2"),(0,t.Z)(this,"hint","The art of enquiry section covers this more fully"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",214),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",71),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r214",JSON.parse(sessionStorage.getItem("r214"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),(0,t.Z)(this,"toc","anger/s162p0"),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s215"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r214",JSON.stringify(s)),this.r214=sessionStorage.getItem("r214"),"undefined"!=this.r214?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r214}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s215"])}previous(){this.router.navigate(["/adults/anger/s213"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s214"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r214)},dependencies:[D.i]})),o})(),Js=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w3"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",215),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s214"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s215"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," What is the root cause of anger? What can I learn about myself? "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})();const Os=["playerContainer"];let Us=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.6.mp3"),(0,t.Z)(this,"title","The unconscious thinking patterns behind anger"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s216t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",216),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),this.router=s,this.service=i,this.location=r}ngAfterViewInit(){var s={borderColor:"#ffffff",playedColor:"#FFC455",backgroundColor:"#ffffff",iconColor:"#FFC455",borderWidth:2,size:48,className:"circle-audio-player audio_pulse_button nanimation"},i=Math.PI,r=2*i,a=-i/2,Z=function(S){for(var g in S=S||{},s)this[g]=S[g]||s[g];this._canvas=document.createElement("canvas"),this._canvas.setAttribute("class",this.className+" is-loading"),this._canvas.addEventListener("mousedown",function(){this.playing?this.pause():this.play()}.bind(this)),this._ctx=this._canvas.getContext("2d"),this.setAudio(S.audio),this.setSize(this.size),function d(p){this.animating&&this._updateAnimations(p),(this._forceDraw||this.playing||this.animating||this.loading)&&(this._draw(),this._forceDraw=!1),requestAnimationFrame(d.bind(this))}.call(this,(new Date).getTime())};Z.prototype={_animateIcon:function(S,g){this._animationProps={animStart:null,from:g,to:S},g?this.animating=!0:(this._animationProps.current=this._icons[S].slice(),this.draw())},_updateAnimations:function(S){this._animationProps.animStart=this._animationProps.animStart||S;var g=S-this._animationProps.animStart,d=1-Math.cos(g/200*i/2);if(g>=200)this.animating=!1,d=1,this._animationProps.current=this._icons[this._animationProps.to].slice(),this.draw();else{for(var p=this._icons[this._animationProps.from],h=[],_=0;_<p.length;_++){h.push([]);for(var T=0;T<p[_].length;T++){h[_].push([]);var U=this._icons[this._animationProps.to][_][T];h[_][T][0]=p[_][T][0]+(U[0]-p[_][T][0])*d,h[_][T][1]=p[_][T][1]+(U[1]-p[_][T][1])*d}}this._animationProps.current=h}},_draw:function(S){if(isNaN(S)&&(S=this.audio.currentTime/this.audio.duration||0),this._ctx.clearRect(0,0,this.size,this.size),this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize-this.borderWidth/2,0,r),this._ctx.closePath(),this._ctx.fillStyle=this.backgroundColor,this._ctx.fill(),this._ctx.lineWidth=this.borderWidth,this._ctx.strokeStyle=this.borderColor,this._ctx.stroke(),S>0&&(this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize-this.borderWidth/2,a,a+r*S),this._ctx.strokeStyle=this.playedColor,this._ctx.stroke()),this._ctx.fillStyle=this.iconColor,this.loading){var g=-Math.cos((new Date).getTime()%1800/1800*i)*r-i/3-i/2;this._ctx.beginPath(),this._ctx.arc(this._halfSize,this._halfSize,this._halfSize/3,g,g+i/3*2),this._ctx.strokeStyle=this.iconColor,this._ctx.stroke()}else{this._ctx.beginPath();for(var d=this._animationProps&&this._animationProps.current||this._icons.play,p=0;p<d.length;p++){this._ctx.moveTo(d[p][0][0],d[p][0][1]);for(var h=1;h<d[p].length;h++)this._ctx.lineTo(d[p][h][0],d[p][h][1])}this._ctx.fill(),this._ctx.strokeStyle=this.iconColor,this._ctx.lineWidth=2,this._ctx.lineJoin="miter",this._ctx.stroke()}},_setState:function(S){this.playing=!1,this.loading=!1,"playing"===S?(this.playing=!0,this._animateIcon("pause","play")):"loading"===S?this.loading=!0:this._animateIcon("play","loading"!==this.state?"pause":null),this.state=S,this._canvas.setAttribute("class",this.className+" is-"+S),this.draw()},draw:function(){this._forceDraw=!0},setSize:function(S){this.size=S,this._halfSize=S/2,this._canvas.width=S,this._canvas.height=S;var g=this.size/2,d=g/10,p=Math.cos(i/3*2)*(g/2)+this._halfSize,h=g/2+this._halfSize,_=(h-p)/2+p,T=this._halfSize-Math.sin(i/3*2)*(g/2),U=this.size-T,C=this._halfSize-g/3,F=this.size-C;this._icons={play:[[[p,T],[_,(this._halfSize-T)/2+T],[_,(this._halfSize-T)/2+this._halfSize],[p,U]],[[_,(this._halfSize-T)/2+T],[h,this._halfSize],[h,this._halfSize],[_,(this._halfSize-T)/2+this._halfSize]]],pause:[[[C,T+d],[this._halfSize-d,T+d],[this._halfSize-d,U-d],[C,U-d]],[[this._halfSize+d,T+d],[F,T+d],[F,U-d],[this._halfSize+d,U-d]]]},this._animationProps&&this._animationProps.current&&this._animateIcon(this._animationProps.to),this.playing||this.draw()},setAudio:function(S){this.audio=new Audio(S),this.audio.addEventListener("play",function(){this._setState("playing")}.bind(this)),this.audio.addEventListener("pause",function(){this.audio.currentTime===this.audio.duration&&(this.audio.currentTime=0),this._setState("paused")}.bind(this))},appendTo:function(S){S.appendChild(this._canvas)},play:function(){this.audio.play()},pause:function(){this.audio.pause()}},new Z({audio:"https://d1tenzemoxuh75.cloudfront.net/anger/audios/anger+3.6.mp3",size:120,borderWidth:8}).appendTo(this.playerContainer.nativeElement)}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p0"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s215"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Os,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:28,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[1,"row","p0","mlr-20px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_1.png","alt","",1,"img-responsive","w100"],[1,"icenter_t1","mtb0px","pno","pno1"],[1,"icenter_t1","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_2.png","alt","",1,"img-responsive","w100"],[1,"icenter_tn","mtb0px","pno","pnotn"],[1,"icenter_tn","mtb0px","ptext"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_3.png","alt","",1,"img-responsive","w100"],["src","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/pyramid/4l_4.png","alt","",1,"img-responsive","w100"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-pyramid-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h6",5),e._uU(6," 01 "),e.qZA(),e.TgZ(7,"h6",6),e._uU(8," My friend does not call me "),e.qZA()(),e.TgZ(9,"div",3),e._UZ(10,"img",7),e.TgZ(11,"h6",8),e._uU(12," 02 "),e.qZA(),e.TgZ(13,"h6",9),e._uU(14," I get angry with him "),e.qZA()(),e.TgZ(15,"div",3),e._UZ(16,"img",10),e.TgZ(17,"h6",8),e._uU(18," 03 "),e.qZA(),e.TgZ(19,"h6",9),e._uU(20," It\u2019s my own unmet expectation that is making me angry "),e.qZA()(),e.TgZ(21,"div",3),e._UZ(22,"img",11),e.TgZ(23,"h6",8),e._uU(24," 04 "),e.qZA(),e.TgZ(25,"h6",9),e._uU(26," The \u2018I\u2019 that feels the anger "),e.qZA()()()(),e.TgZ(27,"app-course-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(26),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,Q.m]})),o})(),xs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p0"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill","#E58D82")}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p0"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p0")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p0",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p1"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p0"]],decls:24,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9)(13,"section")(14,"section")(15,"section")(16,"section")(17,"section")(18,"section")(19,"section"),e.TgZ(20,"div",10)(21,"div",11),e._UZ(22,"div",12),e.qZA()()()()()()()()(),e.TgZ(23,"app-course-footer",13),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(23),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),$s=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p1"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(d,p){var h=document.createElementNS("http://www.w3.org/2000/svg",d);for(var _ in p)h.setAttribute(_,p[_]);return h}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill","#E58D82")}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p1"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p1")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p1",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p2"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p0"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p1"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 1. Unmet expectations "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," We may not be aware we have them until they are not met, making us angry "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Es=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p2"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p2"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p2")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p2",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p3"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p1"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p2"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 2. Conditioning "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," Something \u2018out there\u2019 is different to what I regard as \u2018normal\u2019, e.g. I see a gay couple being physically affectionate "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Ds=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p3"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p3"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p3")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p3",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p4"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p2"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p3"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 3. Comparison "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," You have a car and I don\u2019t, and I feel bad, and from that hurt comes anger towards you "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),qs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p4"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p4"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p4")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p4",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p5"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p3"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p4"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 4. Fear "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," If I am afraid of you and see you as a threat I can get angry as a defence mechanism. My mind magnifies the threat you pose. "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Bs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p5"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p5"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p5")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p5",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p6"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p4"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p5"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 5. Differences of opinion "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," If our opinion is challenged by another, and we are attached to it, we can get defensive and angry "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Ys=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p6"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p6"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p6")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p6",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s216p7"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p5"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p6"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 6. I am criticized "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," When I am criticized I get hurt, and from that hurt comes anger. I react by being defensive or criticizing you "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Cs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","light_blue_w6"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","216p7"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)}),this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark216p7"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark216p7")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark216p7",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s217"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))},s=>{console.log(s)},()=>{})}prev(){this.router.navigate(["/adults/anger/s216p6"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216p7"]],decls:30,vars:5,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[1,"right_col","m
1c_01"],[1,"cw100p"],[1,"row","center_flex"],[1,"col-lg-4","col-md-6","col-sm-6","col-xs-12","sc_01","bg_FFF7E6","col_cw"],[1,"x_panel","p0"],[1,"x_content","p0"],[1,"txt1"],[1,"clearfix"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"txt44","tleft"],[1,"txt45","tleft"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-bg-video"),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6)(8,"form")(9,"h5",7),e._uU(10," What are the unconscious patterns of thinking that can trigger our anger? "),e.qZA(),e._UZ(11,"div",8)(12,"div",9),e.TgZ(13,"section")(14,"div",10)(15,"div",11)(16,"h4",12),e._uU(17," 7. Emotional needs are not met "),e.qZA(),e.TgZ(18,"h4",13),e._uU(19," If I have an unconscious need to feel important, for example, and you don't meet that need, then I feel hurt and that can lead to anger "),e.qZA()()()(),e._UZ(20,"section")(21,"section")(22,"section")(23,"section")(24,"section")(25,"section"),e.TgZ(26,"div",10)(27,"div",14),e._UZ(28,"div",15),e.qZA()()()()()()()()(),e.TgZ(29,"app-course-footer",16),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(29),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,x.Y]})),o})(),Ls=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w4"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s216"),(0,t.Z)(this,"toc","/anger/s162"),this.router=s,this.service=i,this.location=r}ngOnInit(){}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s217"])}previous(){this.router.navigate(["/adults/anger/s215"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s216t"]],decls:15,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," Once the acute anger reaction begins to settle down, you can explore the root cause of your anger, by asking a question: What is going on in my thinking to make me feel the way I do? What can I learn? This question takes you deeper to explore 3, which contains all the unconscious thinking patterns that operate behind the scenes. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," As you explore Layer 3 you may come across the real reason for your anger - an unmet expectation, or if you feel attacked in some way, or if you encounter a situation or person very different to your norm, or if your emotional needs are not being met. "),e.qZA(),e.TgZ(10,"p"),e._uU(11," These can then be explored further. The more you explore, the greater the chances of finding the hidden cause of your anger. You can then stop the anger recurring each time and respond with intelligence. "),e.qZA(),e.TgZ(12,"p"),e._uU(13," This exploration also helps you to understand others when they are angry, and can awaken compassion because you realise that you are both the same human being. "),e.qZA()()()()()(),e.TgZ(14,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(13),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();function Ms(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div")(1,"div",8)(2,"div",9)(3,"a",10)(4,"div",10)(5,"div",11)(6,"div",12)(7,"div",13)(8,"span",14),e._uU(9),e.qZA()(),e.TgZ(10,"div",15)(11,"input",16),e.NdJ("click",function(i){const a=e.CHM(c).$implicit,m=e.oxw();return e.KtG(m.selectOption(a.OptId,i.target.checked,a.OptStr))}),e.qZA(),e.TgZ(12,"label",17)(13,"span"),e.O4$(),e.TgZ(14,"svg",18),e._UZ(15,"use",19),e.qZA()()()()()(),e.TgZ(16,"svg",20)(17,"symbol",21),e._UZ(18,"polyline",22),e.qZA()()()()()(),e.kcU(),e._UZ(19,"br"),e.qZA()}if(2&n){const c=o.$implicit,s=e.oxw();e.xp6(5),e.Q6J("id",c.OptStr),e.xp6(4),e.hij(" ",c.OptStr," "),e.xp6(2),e.Q6J("id",c.OptId)("checked",s.sessionFetch(c.OptId,c.OptStr)),e.xp6(1),e.Q6J("for",c.OptId)}}let Fs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w5"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",JSON.parse(localStorage.getItem("moduleId"))),(0,t.Z)(this,"screenType",JSON.parse(localStorage.getItem("question"))),(0,t.Z)(this,"screenNumber",217),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"questionA",void 0),(0,t.Z)(this,"question",void 0),(0,t.Z)(this,"optionList",[]),(0,t.Z)(this,"sessionOption217",JSON.parse(sessionStorage.getItem("sessionOption217"))),(0,t.Z)(this,"sendOption",JSON.parse(sessionStorage.getItem("sessionOption217"))),this.router=s,this.service=i,this.location=r}ngOnInit(){if(console.log("sessionOption217",this.sessionOption217),null==this.sessionOption217&&(this.sessionOption217=[],this.sendOption=[]),console.log("sessionOption217s",this.sessionOption217),null==this.sessionOption217&&(this.sessionOption217=[]),this.createScreen(),this.startTime=Date.now(),this.qrList.ListOfQueOpts)for(var s=0;s<this.qrList.ListOfQueOpts.length;s++)this.qrList.ListOfQueOpts[s].OptId=parseInt(this.qrList.ListOfQueOpts[s].OptId);this.questionA=this.qrList?.ListOfQueOpts,this.question=this.findQuestion(48).Question,this.optionList=this.findQuestion(48).optionList,this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId"))}ngAfterViewInit(){this.optionList&&this.sessionOption217&&this.optionList.forEach(s=>{this.sessionOption217.includes(s.OptId)&&(document.getElementById(s.OptStr).style.backgroundColor="#E58D82")})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}findQuestion(s){this.optionList=[];for(var i=0;i<this.questionA.length;
1i++)if(this.questionA[i].CorrectAns="0"!=this.questionA[i].CorrectAns,s==this.questionA[i].QueId){var r=this.questionA[i].Que;this.optionList.push(this.questionA[i])}return{Question:r,optionList:this.optionList}}selectOption(s,i,r){console.log(s,i),1==i?(document.getElementById(r).style.backgroundColor="#E58D82",this.sendOption.push(s)):0==i&&(document.getElementById(r).style.backgroundColor="rgba(255,255,255,0.1)",this.sendOption.forEach((a,m)=>{a==s&&this.sendOption.splice(m,1)})),sessionStorage.setItem("sessionOption217",JSON.stringify(this.sendOption))}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s218"]),this.service.submitProgressQuestion({ModuleId:this.moduleId,screenType:this.screenType,ScrNumber:this.screenNumber,Bookmark:this.bookmark,UserId:this.userId,timeSpent:this.totalTime,OptionIDs:this.sendOption.join()}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s216p7"])}sessionFetch(s,i){return!!this.sessionOption217.includes(s)}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s217"]],decls:11,vars:8,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt4"],[1,"clearfix"],[1,"txt5","pb20px","pt40px"],[4,"ngFor","ngForOf"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,""],[1,"row","cb_box",3,"id"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0"],[1,"col-lg-10","col-md-10","col-sm-10","col-xs-10","p0"],[1,"txt46","ellipsis"],[1,"col-lg-2","col-md-2","col-sm-2","col-xs-2","p0","tright"],["type","checkbox",1,"inp-cbx",3,"id","checked","click"],[1,"cbx","mt0px",3,"for"],["width","12px","height","10px"],[0,"xlink","href","#check"],[1,"inline-svg"],["id","check","viewbox","0 0 12 10"],["points","1.5 6 4.5 9 10.5 1"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-multi-select",1)(2,"form")(3,"h4",2),e._uU(4),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h6",4),e._uU(7," Click all that apply "),e.qZA(),e.YNc(8,Ms,20,5,"div",5),e._UZ(9,"div",6),e.qZA()(),e.TgZ(10,"app-course-footer",7),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(3),e.hij(" ",i.question," "),e.xp6(4),e.Q6J("ngForOf",i.optionList),e.xp6(2),e.Q6J("bg_cft",i.bg_cft))},dependencies:[b.sg,l._Y,l.JL,l.F,w.O,I.p,X.O]})),o})();const Qs=["playerContainer"];let Rs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w6"),(0,t.Z)(this,"title","Acceptance dissolves anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.7.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",218),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s218t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s219"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s217"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s218"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Qs,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Gs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w6"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s218"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",218),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s219"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s217"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s218t"]],decls:13,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," When you are angry, if you can accept things as they are, your anger can dissipate immediately. For example, if you accept that someone is perfectly entitled to walk away from your relationship, because it\u2019s not a prison, or that it\u2019s okay for others to have different opinions or beliefs than you. "),e.qZA(),e.TgZ(8,"p"),e._uU(9," When you are getting angry in an argument you can ask yourself if you need to say anything at all, and even if you do, ask how it is going to be received. What will it accomplish? Would it be better to speak later? "),e.qZA(),e.TgZ(10,"p"),e._uU(11," You can then say, for example, that you were hurt by what someone said. You might get a completely different response than if you shout at them. "),e.qZA()()()()()(),e.TgZ(12,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(11),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),zs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",219),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s220"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s218"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s219"]],decls:7,vars:8,consts:[[3,"bg","bookmark","toc","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," If you can share your hurt and disappointment, rather than your anger, the other person will respond positively, rather than with anger "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("bookmark",i.bookmark)("toc",i.toc)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})(),Ws=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",220),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s221"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s219"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s220"]],decls:7,vars:8,consts:[[3,"bg","toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," If you can forgive, forget and move on, you do not carry with you that long-term anger which can damage your health. "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})();function Xs(n,o){if(1&n){const c=e.EpF();e.TgZ(0,"div")(1,"div",8)(2,"div",9)(3,"a",10)(4,"div",10)(5,"div",11)(6,"div",12)(7,"div",13)(8,"span",14),e._uU(9),e.qZA()(),e.TgZ(10,"div",15)(11,"input",16),e.NdJ("click",function(i){const a=e.CHM(c).$implicit,m=e.oxw();return e.KtG(m.selectOption(a.OptId,i.target.checked,a.OptStr))}),e.qZA(),e.TgZ(12,"label",17)(13,"span"),e.O4$(),e.TgZ(14,"svg",18),e._UZ(15,"use",19),e.qZA()()()()()(),e.TgZ(16,"svg",20)(17,"symbol",21),e._UZ(18,"polyline",22),e.qZA()()()()()(),e.kcU(),e._UZ(19,"br"),e.qZA()}if(2&n){const c=o.$implicit,s=e.oxw();e.xp6(5),e.Q6J("id",c.OptStr),e.xp6(4),e.hij(" ",c.OptStr," "),e.xp6(2),e.Q6J("id",c.OptId)("checked",s.sessionFetch(c.OptId,c.OptStr)),e.xp6(1),e.Q6J("for",c.OptId)}}let Hs=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w7"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",JSON.parse(localStorage.getItem("moduleId"))),(0,t.Z)(this,"screenType",JSON.parse(localStorage.getItem("question"))),(0,t.Z)(this,"screenNumber",221),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"questionA",void 0),(0,t.Z)(this,"question",void 0),(0,t.Z)(this,"optionList",[]),(0,t.Z)(this,"sessionOption221",JSON.parse(sessionStorage.getItem("sessionOption221"))),(0,t.Z)(this,"sendOption",JSON.parse(sessionStorage.getItem("sessionOption221"))),this.router=s,this.service=i,this.location=r}ngOnInit(){if(console.log("sessionOption221",this.sessionOption221),null==this.sessionOption221&&(this.sessionOption221=[],this.sendOption=[]),this.createScreen(),this.startTime=Date.now(),this.qrList.ListOfQueOpts)for(var s=0;s<this.qrList.ListOfQueOpts.length;s++)this.qrList.ListOfQueOpts[s].OptId=parseInt(this.qrList.ListOfQueOpts[s].OptId);this.questionA=this.qrList?.ListOfQueOpts,this.question=this.findQuestion(49).Question,this.optionList=this.findQuestion(49).optionList,this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId"))}ngAfterViewInit(){this.optionList&&this.sessionOption221&&this.optionList.forEach(s=>{this.sessionOption221.includes(s.OptId)&&(document.getElementById(s.OptStr).style.backgroundColor="#E58D82")})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}findQuestion(s){this.optionList=[];for(var i=0;i<this.questionA.length;
1i++)if(this.questionA[i].CorrectAns="0"!=this.questionA[i].CorrectAns,s==this.questionA[i].QueId){var r=this.questionA[i].Que;this.optionList.push(this.questionA[i])}return{Question:r,optionList:this.optionList}}selectOption(s,i,r){console.log(s,i),1==i?(document.getElementById(r).style.backgroundColor="#E58D82",this.sendOption.push(s)):0==i&&(document.getElementById(r).style.backgroundColor="rgba(255,255,255,0.1)",this.sendOption.forEach((a,m)=>{a==s&&this.sendOption.splice(m,1)})),sessionStorage.setItem("sessionOption221",JSON.stringify(this.sendOption))}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s222"]),this.service.submitProgressQuestion({ModuleId:this.moduleId,screenType:this.screenType,ScrNumber:this.screenNumber,Bookmark:this.bookmark,UserId:this.userId,timeSpent:this.totalTime,OptionIDs:this.sendOption.join()}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s220"])}sessionFetch(s,i){return!!this.sessionOption221.includes(s)}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s221"]],decls:11,vars:8,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt4"],[1,"clearfix"],[1,"txt5","pb20px","pt40px"],[4,"ngFor","ngForOf"],[1,"pagebreak"],[3,"bg_cft","nextEmitter","previousEmitter"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,""],[1,"row","cb_box",3,"id"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","p0"],[1,"col-lg-10","col-md-10","col-sm-10","col-xs-10","p0"],[1,"txt46","ellipsis"],[1,"col-lg-2","col-md-2","col-sm-2","col-xs-2","p0","tright"],["type","checkbox",1,"inp-cbx",3,"id","checked","click"],[1,"cbx","mt0px",3,"for"],["width","12px","height","10px"],[0,"xlink","href","#check"],[1,"inline-svg"],["id","check","viewbox","0 0 12 10"],["points","1.5 6 4.5 9 10.5 1"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-multi-select",1)(2,"form")(3,"h4",2),e._uU(4),e.qZA(),e._UZ(5,"div",3),e.TgZ(6,"h6",4),e._uU(7," Click all that apply "),e.qZA(),e.YNc(8,Xs,20,5,"div",5),e._UZ(9,"div",6),e.qZA()(),e.TgZ(10,"app-course-footer",7),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(3),e.hij(" ",i.question," "),e.xp6(4),e.Q6J("ngForOf",i.optionList),e.xp6(2),e.Q6J("bg_cft",i.bg_cft))},dependencies:[b.sg,l._Y,l.JL,l.F,w.O,I.p,X.O]})),o})();const Vs=["playerContainer"];let js=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"title","Say sorry. It's not that hard."),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.8.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",222),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s222t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s223"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s221"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s222"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(Vs,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),Ks=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s222"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",222),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s223"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s221"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s222t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," When others are angry with us, you may realise that the other person's anger, like your own, is not within their control and just an automatic reaction from their thinking. If you watch your own reaction carefully, you can watch your anger bubbling up in response. The intelligent response may be just to listen with intent to the other person and try and understand why they are angry. You could ask what you can do to defuse the situation. It may be a simple matter of saying sorry, and that is often enough to allow the other person to calm down. If you find it hard to say sorry, you are missing out on something simple you can do to make life easier for yourself. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),ei=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",223),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s224"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s222"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s223"]],decls:7,vars:8,consts:[[3,"toc","bg","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,""],[1,"fw_300","fs_24px","lh_35px","fc_000000","tleft"],[1,"clearfix"],[3,"bg_cft","bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-kta-prevnext",1)(2,"form",2)(3,"h1",3),e._uU(4," When people have calmed down, they are much more amenable to a conversation about what happened. "),e.qZA(),e._UZ(5,"div",4),e.qZA()(),e.TgZ(6,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bg",i.bg)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft)("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,Y.n]})),o})(),ti=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w8"),(0,t.Z)(this,"hint","We have explored so much. What has resonated with you?"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",224),
1(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",72),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r224",JSON.parse(sessionStorage.getItem("r224"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s225"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r224",JSON.stringify(s)),this.r224=sessionStorage.getItem("r224"),"undefined"!=this.r224?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r224}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s225"])}previous(){this.router.navigate(["/adults/anger/s223"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s224"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r224)},dependencies:[D.i]})),o})(),si=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w9"),(0,t.Z)(this,"hint","There are so many ways you can do that now. THik of at least 3."),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber",225),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",73),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r225",JSON.parse(sessionStorage.getItem("r225"))),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(s){this.router.navigate(["/adults/anger/s226"]),console.log("returned response",s),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r225",JSON.stringify(s)),this.r225=sessionStorage.getItem("r225"),"undefined"!=this.r225?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r225}).subscribe(i=>{},i=>{console.log(i)},()=>{}):this.router.navigate(["/adults/anger/s226"])}previous(){this.router.navigate(["/adults/anger/s224"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s225"]],decls:1,vars:8,consts:[[3,"rid","bg_tn","bg_cft","toc","hint","bg","reflection","reflectionResponse","sendResponse","goPrevious"]],template:function(s,i){1&s&&(e.TgZ(0,"app-reflection",0),e.NdJ("sendResponse",function(a){return i.submitProgress(a)})("goPrevious",function(){return i.previous()}),e.qZA()),2&s&&e.Q6J("rid",i.rId)("bg_tn",i.bg_tn)("bg_cft",i.bg_cft)("toc",i.toc)("hint",i.hint)("bg",i.bg)("reflection",i.reflection)("reflectionResponse",i.r225)},dependencies:[D.i]})),o})(),ii=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_overlay_w10"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/anger/videos/3.1.mp4"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_01.jpg"),(0,t.Z)(this,"title","Responding with intelligence"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",226),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s227"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:0,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{},s=>console.log(s),()=>{})}previous(){this.router.navigate(["/adults/anger/s225"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s226"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})();const ri=["playerContainer"];let oi=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"title","Consider the consequences of your anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+3.9.mp3"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",227),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"playerContainer",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"transcriptPage","/anger/s227t"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen()}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s228"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s226"])}ngAfterViewInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s227"]],viewQuery:function(s,i){if
1(1&s&&e.Gf(ri,5),2&s){let r;e.iGM(r=e.CRH())&&(i.playerContainer=r.first)}},decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),ai=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s227"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",227),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s228"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s226"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s227t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," It is always useful, but not easy, to pause, and consider the consequences of your anger, for yourself and others, even though it is bursting to express itself. It is a form of violence and may have many unintended effects. It may set up a chain reaction of escalating conflict, or banish all goodwill and affection in a relationship, or damage your own health. It prevents you from learning about the root cause of it in your thinking, because you think it is justified and caused by external events. If you use anger as a means of controlling others, ask yourself if you are aware you do that and why, and if there is any goodness in that. You may get what you want, but you lose affection and goodwill, which may be more of a loss than you realize. If there is no goodness there is no love, and without love, your heart remains empty, and you cannot be at peace. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})(),ni=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w12"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",228),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s228p1"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s227"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s228"]],decls:7,vars:6,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"bg"],[1,"txt1"],[1,"clearfix"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-simple-text",1)(2,"form")(3,"h1",2),e._uU(4," Continue observing anger in all its guises, and keep learning. One day, you will realise the patterns of anger have shifted and you are changed "),e.qZA(),e._UZ(5,"div",3),e.qZA()(),e.TgZ(6,"app-course-footer",4),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(5),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,w.O,I.p,B.P]})),o})(),ci=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"points",void 0),(0,t.Z)(this,"overallPercentage",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.sessionPoints()}sessionPoints(){this.service.sessionPoints({UserId:this.userId,ScreenNos:"179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227"}).subscribe(s=>{console.log("points",s),this.points=s})}submitProgress(){this.router.navigate(["/adults/anger/s228p2"])}prev(){this.router.navigate(["/adults/anger/s228"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s228p1"]],decls:2,vars:3,consts:[[3,"bg","points"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e._UZ(0,"app-sessionover-s1",0),e.TgZ(1,"app-course-footer",1),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("points",i.points),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,R.d]})),o})(),li=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w2"),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"userName",void 0),(0,t.Z)(this,"progressPercent",void 0),(0,t.Z)(this,"progressText","3/4"),(0,t.Z)(this,"link","/adults/anger/s228p3"),(0,t.Z)(this,"name","#4 Releasing Anger"),(0,t.Z)(this,"progressImg",""),(0,t.Z)(this,"toc","anger/s162p0"),this.router=s,this.location=i,this.service=r}ngOnInit(){0==this.saveUsername?(this.userId=JSON.parse(sessionStorage.getItem("userId")),this.userName=JSON.parse(sessionStorage.getItem("userName"))):(this.userId=JSON.parse(localStorage.getItem("userId")),this.userName=JSON.parse(localStorage.getItem("userName"))),this.getProgress()}getProgress(){this.service.getPoints(this.userId).subscribe(s=>{this.progressPercent=parseInt(s.ModUserScrPc.find(i=>14==i.ModuleId).Percentage)})}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(b.Ye),e.Y36(k.$))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s228p2"]],decls:1,vars:7,consts:[[3,"bg","progressText","progressImg","progressPercent","link","name","toc"]],template:function(s,i){1&s&&e._UZ(0,"app-session-end",0),2&s&&e.Q6J("bg",i.bg)("progressText",i.progressText)("progressImg",i.progressImg)("progressPercent",i.progressPercent)("link",i.link)("name",i.name)("toc",i.toc)},dependencies:[W.C]})),o})(),mi=(()=>{var n;class o{constructor(s,i){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w1"),(0,t.Z)(this,"title","Releasing Anger"),(0,t.Z)(this,"mediaAudio",JSON.parse(localStorage.getItem("mediaAudio"))),(0,t.Z)(this,"audioLink",this.mediaAudio+"/anger/audios/anger+4.1.mp3"),(0,t.Z)(this,"transcriptPage","/anger/s228p3t"),(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","228p3"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),this.createScreen(),0==JSON.parse(sessionStorage.getItem("bookmark228p3"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark228p3")))&&(this.bookmark=1)}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark228p3",JSON.stringify(this.bookmark))}receiveAvDuration(s){console.log(s),this.avDuration=s}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s231p1"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList))})}prev(){this.router.navigate(["/adults/anger/s162p0"])}ngOnDestroy(){localStorage.setItem("totalTime228p3",this.totalTime),localStorage.setItem("avDuration228p3",this.avDuration)}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s228p3"]],decls:3,vars:9,consts:[[3,"bookmark","path","bg_tn","toc","transcriptPage","sendBookmark"],[3,"title","bg","audioLink","sendAvDuration"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-audio-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-audio-content",1),e.NdJ("sendAvDuration",function(a){return i.receiveAvDuration(a)}),e.qZA(),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("transcriptPage",i.transcriptPage),e.xp6(1),e.Q6J("title",i.title)("bg",i.bg)("audioLink",i.audioLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,J.M,O.O]})),o})(),di=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_w11"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"audioPage","/anger/s228p3"),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"screenType",localStorage.getItem("audio")),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",227),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}submitProgress(){this.router.navigate(["/adults/anger/s229"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:0,avDuration:this.avDuration}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s226"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s228p3t"]],decls:9,vars:7,consts:[[3,"bookmark","path","bg_tn","toc","audioPage","sendBookmark"],[3,"bg"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12"],[1,"transcript_txt"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-transcript-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e.TgZ(1,"app-transcript-content",1)(2,"form")(3,"div",2)(4,"div",3)(5,"h3",4)(6,"p"),e._uU(7," It is always useful, but not easy, to pause, and consider the consequences of your anger, for yourself and others, even though it is bursting to express itself. It is a form of violence and may have many unintended effects. It may set up a chain reaction of escalating conflict, or banish all goodwill and affection in a relationship, or damage your own health. It prevents you from learning about the root cause of it in your thinking, because you think it is justified and caused by external events. If you use anger as a means of controlling others, ask yourself if you are aware you do that and why, and if there is any goodness in that. You may get what you want, but you lose affection and goodwill, which may be more of a loss than you realize. If there is no goodness there is no love, and without love, your heart remains empty, and you cannot be at peace. "),e.qZA()()()()()(),e.TgZ(8,"app-course-footer",5),e.NdJ("nextEmitter",f
1unction(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn)("toc",i.toc)("audioPage",i.audioPage),e.xp6(1),e.Q6J("bg",i.bg),e.xp6(7),e.Q6J("bg_cft",i.bg_cft))},dependencies:[l._Y,l.JL,l.F,I.p,N.d,A.x]})),o})();var hi=P(28557);let ui=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","anger_flat"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("text")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber",229),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}toggleBookmark(){this.bookmark=0==this.bookmark?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.router.navigate(["/adults/anger/s230"]),this.service.submitProgressText({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime}).subscribe(s=>{})}previous(){this.router.navigate(["/adults/anger/s228p3"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s229"]],decls:16,vars:2,consts:[[3,"bg","toc"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","tcenter","p0"],[1,"mtb0px","fs_18px","fw_400","lh_150p","fc_000000","tcenter"],[1,"row","mt30px","mb20px"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],["routerLink","/adults/anger/s230"],["type","button","data-dismiss","modal",1,"btn","btn_begin_here_orange"],["routerLink","/adults/anger/s231p1"],["type","button","data-dismiss","modal",1,"btn","mb0","w100","btn_skip","tcenter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-begin-survey",0)(1,"form")(2,"div",1)(3,"div",2)(4,"h4",3),e._uU(5," Please take a moment to fill out this survey. It will help us actively improve our programs. "),e.qZA()()(),e.TgZ(6,"div",4)(7,"div",5)(8,"a",6)(9,"button",7),e._uU(10," Begin Survey "),e.qZA()()()(),e.TgZ(11,"div",1)(12,"div",5)(13,"a",8)(14,"button",9),e._uU(15," Skip "),e.qZA()()()()()()),2&s&&e.Q6J("bg",i.bg)("toc",i.toc)},dependencies:[l._Y,l.JL,l.F,E.YI,hi.J,v.rH]})),o})();var gi=P(9369),pi=P(29300),_i=P(7954),vi=P(37388),G=P(19158),fi=P(84534);let bi=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","feedback_survey_footer"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",JSON.parse(localStorage.getItem("moduleId"))),(0,t.Z)(this,"screenType",JSON.parse(localStorage.getItem("feedbackSurvey"))),(0,t.Z)(this,"screenNumber",230),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"x",[]),(0,t.Z)(this,"q1",51),(0,t.Z)(this,"q2",52),(0,t.Z)(this,"q3",53),(0,t.Z)(this,"q4",54),(0,t.Z)(this,"q5",55),(0,t.Z)(this,"optionList1",[]),(0,t.Z)(this,"optionList2",[]),(0,t.Z)(this,"optionList3",[]),(0,t.Z)(this,"optionList4",[]),(0,t.Z)(this,"optionList5",[]),(0,t.Z)(this,"s1",void 0),(0,t.Z)(this,"s2",void 0),(0,t.Z)(this,"s3",void 0),(0,t.Z)(this,"s4",void 0),(0,t.Z)(this,"s5",void 0),(0,t.Z)(this,"question",void 0),(0,t.Z)(this,"optionList",[]),(0,t.Z)(this,"questionA",void 0),(0,t.Z)(this,"checkedRight",!1),(0,t.Z)(this,"option",void 0),(0,t.Z)(this,"sessionOption",JSON.parse(sessionStorage.getItem("sessionOption"))),(0,t.Z)(this,"sendOption",[]),(0,t.Z)(this,"value1",100),(0,t.Z)(this,"value2",100),(0,t.Z)(this,"value3",100),(0,t.Z)(this,"value4",100),(0,t.Z)(this,"value5",100),(0,t.Z)(this,"dummychange",void 0),(0,t.Z)(this,"options1",{floor:0,ceil:5}),(0,t.Z)(this,"options2",{floor:0,ceil:5}),(0,t.Z)(this,"options3",{floor:0,ceil:5}),(0,t.Z)(this,"options4",{floor:0,ceil:5}),(0,t.Z)(this,"options5",{floor:0,ceil:5}),(0,t.Z)(this,"rating1",0),(0,t.Z)(this,"rating2",0),(0,t.Z)(this,"rating3",0),(0,t.Z)(this,"rating4",0),(0,t.Z)(this,"rating5",0),this.router=s,this.service=i,this.location=r}ngOnInit(){var s=document.getElementById("pmd-slider-tooltip");gi.create(s,{start:[3],connect:"lower",tooltips:[pi({decimals:0})],range:{min:[0],max:[5]}}),$(document).ready(function(){var a,i="rgba(196,196,196,1)",r="#E58D82",m=1,y=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var Z=200*y+24;function u(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+Z+' 24" xml:space="preserve"></svg>'),a=0;a<y;
1a++){var S=12+200*a,g=u("rect",{x:S+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(g);var d=u("circle",{cx:S,cy:12,r:12,width:S,height:6});document.getElementById("svg_form_time").appendChild(d)}d=u("circle",{cx:S+200,cy:12,r:12,width:S,height:6}),document.getElementById("svg_form_time").appendChild(d),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("circle:nth-of-type(1)").css("fill",r),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",r),$("#svg_form_time circle").css("fill",r);var p=$(this).attr("id");"next"==p?($("#prev").removeClass("disabled"),m>=y&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),m<=y&&m++):"prev"==p&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),m<=2&&$(this).addClass("disabled"),m>1&&m--);var h=m+1;$("#svg_form_time rect:nth-of-type(n + "+m+")").css("fill",i),$("#svg_form_time circle:nth-of-type(n + "+h+")").css("fill",i);var _=$("section:nth-of-type("+m+")");_.fadeIn(),_.css("transform","translateX(0)"),_.prevAll("section").css("transform","translateX(-100px)"),_.nextAll("section").css("transform","translateX(100px)"),$("section").not(_).hide()})}),this.createScreen(),this.questionA=this.qrList.ListOfQueOpts,this.q1=this.findQuestion(51).Question,this.optionList1=this.findQuestion(51).optionList,this.q2=this.findQuestion(52).Question,this.optionList2=this.findQuestion(52).optionList,this.q3=this.findQuestion(53).Question,this.optionList3=this.findQuestion(53).optionList,this.q4=this.findQuestion(54).Question,this.optionList4=this.findQuestion(54).optionList,this.q5=this.findQuestion(55).Question,this.optionList5=this.findQuestion(55).optionList,this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}findQuestion(s){var i=[];console.log(s,"questionId");for(var r=0;r<this.questionA.length;r++)if(this.questionA[r].CorrectAns="0"!=this.questionA[r].CorrectAns,s==this.questionA[r].QueId){var a=this.questionA[r].Que;i.push(this.questionA[r])}return console.log(a,i),{Question:a,optionList:i}}receiveRating(s){switch(console.log(s),(s=JSON.parse(s)).Id){case"1":this.rating1=s.Rating,this.s1=this.optionList1.find(i=>i.Points==s.Rating).OptId,console.log("selected rating",this.s1);break;case"2":this.optionList2.forEach(i=>{i.OptId=parseInt(i.OptId)}),this.optionList2.sort((i,r)=>i.OptId-r.OptId),this.s2=this.optionList2.find(i=>this.optionList2.indexOf(i)+1==s.Rating).OptId;break;case"3":this.rating1=s.Rating,this.s3=this.optionList3.find(i=>i.Points==s.Rating).OptId,console.log("selected rating",this.s1);break;case"4":this.rating1=s.Rating,this.s4=this.optionList4.find(i=>i.Points==s.Rating).OptId,console.log("selected rating",this.s1);break;case"5":this.rating1=s.Rating,this.s5=this.optionList5.find(i=>i.Points==s.Rating).OptId,console.log("selected rating",this.s1);break;default:console.log("week")}}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,this.option=[this.s1,this.s2,this.s3,this.s4,this.s5].join(),this.router.navigate(["/adults/anger/s230p1"]),this.service.submitProgressQuestion({ModuleId:this.moduleId,screenType:this.screenType,ScrNumber:this.screenNumber,Bookmark:this.bookmark,UserId:this.userId,timeSpent:this.totalTime,OptionIDs:this.option}).subscribe(i=>{},i=>{console.log(i)},()=>{})}previous(){this.router.navigate(["/adults/anger/s229"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s230"]],decls:22,vars:6,consts:[["skipToPage","/anger/s231p1"],[1,"mt0px","fs_24px","fw_600","lh_150p","fc_000000"],[1,"mtb0px","fs_15px","fw_400","lh_150p","fc_000000"],["id","svg_wrap"],["r","1","pFilter","Excellent","nFilter","Not very Good",3,"q","sendRating"],["r","2","pFilter","Too long","nFilter","Too short",3,"q","sendRating"],["r","3","pFilter","Excellent","nFilter","Not very Good",3,"q","sendRating"],["r","4","pFilter","Excellent","nFilter","Not very Good",3,"q","sendRating"],["r","5","pFilter","Excellent","nFilter","Not very Good",3,"q","sendRating"],[3,"bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-likert-scale",0)(1,"form")(2,"h2",1),e._uU(3," Feedback Survey "),e.qZA(),e.TgZ(4,"h4",2),e._uU(5," Anger Module "),e.qZA(),e._UZ(6,"div",3),e.TgZ(7,"section")(8,"app-progress-slider",4),e.NdJ("sendRating",function(a){return i.receiveRating(a)}),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"app-progress-slider3",5),e.NdJ("sendRating",function(a){return i.receiveRating(a)}),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"app-progress-slider",6),e.NdJ("sendRating",function(a){return i.receiveRating(a)}),e.qZA(),e._UZ(13,"br"),e.TgZ(14,"app-progress-slider",7),e.NdJ("sendRating",function(a){return i.receiveRating(a)}),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"app-progress-slider",8),e.NdJ("sendRating",function(a){return i.receiveRating(a)}),e.qZA(),e._UZ(17,"br"),e.qZA(),e._UZ(18,"section")(19,"section")(20,"section"),e.qZA()(),e.TgZ(21,"app-feedback-footer",9),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.xp6(8),e.Q6J("q",i.q1),e.xp6(2),e.Q6J("q",i.q2),e.xp6(2),e.Q6J("q",i.q3),e.xp6(2),e.Q6J("q",i.q4),e.xp6(2),e.Q6J("q",i.q5),e.xp6(
15),e.Q6J("bg",i.bg))},dependencies:[l._Y,l.JL,l.F,_i.i,vi.I,G.L,fi.q]})),o})();var H=P(94028);let Zi=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","feedback_survey_footer"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber","230p1"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",107),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r230p1","null"!==sessionStorage.getItem("r230p1")?sessionStorage.getItem("r230p1"):""),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var p=$(this).attr("id");"next"==p?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==p&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var h=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+h+")").css("fill",s);var _=$("section:nth-of-type("+a+")");_.fadeIn(),_.css("transform","translateX(0)"),_.prevAll("section").css("transform","translateX(-100px)"),_.nextAll("section").css("transform","translateX(100px)"),$("section").not(_).hide()}),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(){this.router.navigate(["/adults/anger/s230p2"]),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r230p1",this.r230p1),this.r230p1=sessionStorage.getItem("r230p1"),"undefined"!=this.r230p1?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r230p1}).subscribe(s=>{},s=>{console.log(s)},()=>{}):this.router.navigate(["/adults/anger/s230p2"])}previous(){this.router.navigate(["/adults/anger/s230"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s230p1"]],decls:23,vars:3,consts:[["skipToPage","/anger/s231p1"],[1,"mt0px","fs_24px","fw_600","lh_150p","fc_000000"],[1,"mtb0px","fs_15px","fw_400","lh_150p","fc_000000"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"sb_anchor"],[1,"box","textarea_box"],[1,"mtb0px","fs_15px","fw_500","lh_150p","fc_000000","display_flex"],[1,"mtb0px","ml5px"],[1,"hr_style_v3_06"],["
1id","message","required","required","name","message","rows","15","name","p1","placeholder","Write your answer here",1,"form-control","textarea_fs",3,"ngModel","ngModelChange"],[3,"bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-feedback-question",0)(1,"form")(2,"h2",1),e._uU(3," Feedback Survey "),e.qZA(),e.TgZ(4,"h4",2),e._uU(5," Anger Module "),e.qZA(),e._UZ(6,"div",3),e.TgZ(7,"section")(8,"div",4)(9,"div",5)(10,"a",6)(11,"div",7)(12,"h4",8),e._uU(13," 1. "),e.TgZ(14,"p",9),e._uU(15),e.qZA()(),e._UZ(16,"hr",10),e.TgZ(17,"textarea",11),e.NdJ("ngModelChange",function(a){return i.r230p1=a}),e.qZA(),e._UZ(18,"br"),e.qZA()()()()(),e._UZ(19,"section")(20,"section")(21,"section"),e.qZA()(),e.TgZ(22,"app-feedback-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.xp6(15),e.hij(" ",i.reflection," "),e.xp6(2),e.Q6J("ngModel",i.r230p1),e.xp6(5),e.Q6J("bg",i.bg))},dependencies:[l._Y,l.Fj,l.JJ,l.JL,l.Q7,l.On,l.F,H.M,G.L]})),o})(),ki=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","feedback_survey_footer"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber","230p2"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",108),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r230p2","null"!==sessionStorage.getItem("r230p2")?sessionStorage.getItem("r230p2"):""),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var p=$(this).attr("id");"next"==p?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==p&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var h=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+h+")").css("fill",s);var _=$("section:nth-of-type("+a+")");_.fadeIn(),_.css("transform","translateX(0)"),_.prevAll("section").css("transform","translateX(-100px)"),_.nextAll("section").css("transform","translateX(100px)"),$("section").not(_).hide()}),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(){this.router.navigate(["/adults/anger/s230p3"]),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r230p2",JSON.stringify(this.r230p2)),this.r230p2=sessionStorage.getItem("r230p2"),"undefined"!=this.r230p2?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r230p2}).subscribe(s=>{},s=>{console.log(s)},()=>{}):this.router.navigate(["/adults/anger/s230p3"])}previous(){this.router.navigate(["/adults/anger/s230p1"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s230p2"]],decls:23,vars:3,consts:[["skipToPage","/anger/s231p1"],[1,"mt0px","fs_24px","fw_600","lh_150p","fc_000000"],[1,"mtb0px","fs_15px","fw_400","lh_150p","fc_000000"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"sb_anchor"],[1,"box","textarea_box"],[1,"mtb0px","fs_15px","fw_500","lh_150p","fc_000000","display_flex"],[1,"mtb0px","ml5px"],[1,"hr_style_v3_06"],["
1id","message","required","required","name","message","rows","15","name","p1","placeholder","Write your answer here",1,"form-control","textarea_fs",3,"ngModel","ngModelChange"],[3,"bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-feedback-question",0)(1,"form")(2,"h2",1),e._uU(3," Feedback Survey "),e.qZA(),e.TgZ(4,"h4",2),e._uU(5," Anger Module "),e.qZA(),e._UZ(6,"div",3),e.TgZ(7,"section")(8,"div",4)(9,"div",5)(10,"a",6)(11,"div",7)(12,"h4",8),e._uU(13," 2. "),e.TgZ(14,"p",9),e._uU(15),e.qZA()(),e._UZ(16,"hr",10),e.TgZ(17,"textarea",11),e.NdJ("ngModelChange",function(a){return i.r230p2=a}),e.qZA(),e._UZ(18,"br"),e.qZA()()()()(),e._UZ(19,"section")(20,"section")(21,"section"),e.qZA()(),e.TgZ(22,"app-feedback-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.xp6(15),e.hij(" ",i.reflection," "),e.xp6(2),e.Q6J("ngModel",i.r230p2),e.xp6(5),e.Q6J("bg",i.bg))},dependencies:[l._Y,l.Fj,l.JJ,l.JL,l.Q7,l.On,l.F,H.M,G.L]})),o})(),Si=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","feedback_survey_footer"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"qrList",JSON.parse(localStorage.getItem("qrList"))),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenType",localStorage.getItem("reflection")),(0,t.Z)(this,"screenNumber","230p3"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"bookmark",void 0),(0,t.Z)(this,"rId",107),(0,t.Z)(this,"reflection",void 0),(0,t.Z)(this,"reflectionA",void 0),(0,t.Z)(this,"r230p3","null"!==sessionStorage.getItem("r230p3")?sessionStorage.getItem("r230p3"):""),(0,t.Z)(this,"shared",void 0),(0,t.Z)(this,"confirmed",void 0),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.reflectionA=this.qrList.ListOfReflection,this.findReflection(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),$(document).ready(function(){var r,s="rgba(196,196,196,1)",i="#E58D82",a=1,m=$("section").length-1;$("#prev").addClass("disabled"),$("#submit").addClass("disabled"),$("section").not("section:nth-of-type(1)").hide(),$("section").not("section:nth-of-type(1)").css("transform","translateX(100px)");var y=200*m+24;function Z(p,h){var _=document.createElementNS("http://www.w3.org/2000/svg",p);for(var T in h)_.setAttribute(T,h[T]);return _}for($("#svg_wrap").html('<svg version="1.1" id="svg_form_time" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 '+y+' 24" xml:space="preserve"></svg>'),r=0;r<m;r++){var u=12+200*r,S=Z("rect",{x:u+12,y:9,width:176,height:6});document.getElementById("svg_form_time").appendChild(S);var g=Z("circle",{cx:u,cy:12,r:12,width:u,height:6});document.getElementById("svg_form_time").appendChild(g)}g=Z("circle",{cx:u+200,cy:12,r:12,width:u,height:6}),document.getElementById("svg_form_time").appendChild(g),$("#svg_form_time rect").css("fill",s),$("#svg_form_time circle").css("fill",s),$("circle:nth-of-type(1)").css("fill",i),$(".mt_btn").click(function(){$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i);var p=$(this).attr("id");"next"==p?($("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++):"prev"==p&&($("#next").removeClass("disabled"),$("#submit").addClass("disabled"),a<=2&&$(this).addClass("disabled"),a>1&&a--);var h=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+h+")").css("fill",s);var _=$("section:nth-of-type("+a+")");_.fadeIn(),_.css("transform","translateX(0)"),_.prevAll("section").css("transform","translateX(-100px)"),_.nextAll("section").css("transform","translateX(100px)"),$("section").not(_).hide()}),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++;var d=a+1;$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s),$("#svg_form_time rect").css("fill",i),$("#svg_form_time circle").css("fill",i),$("#prev").removeClass("disabled"),a>=m&&($(this).addClass("disabled"),$("#submit").removeClass("disabled")),a<=m&&a++,d=a+1,$("#svg_form_time rect:nth-of-type(n + "+a+")").css("fill",s),$("#svg_form_time circle:nth-of-type(n + "+d+")").css("fill",s)})}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}sharedForum(s){console.log(s),this.shared=s}confirmShare(){this.confirmed=!0}findReflection(){for(var s=0;s<this.reflectionA.length;s++)this.rId==this.reflectionA[s].ReflectionId&&(this.reflection=this.reflectionA[s].Que)}submitProgress(){this.router.navigate(["/adults/anger/s231p1"]),this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,sessionStorage.setItem("r230p3",JSON.stringify(this.r230p3)),this.r230p3=sessionStorage.getItem("r230p3"),"undefined"!=this.r230p3?this.service.submitProgressReflection({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,ReflectionId:this.rId,Resp:this.r230p3}).subscribe(s=>{},s=>{console.log(s)},()=>{}):this.router.navigate(["/adults/anger/s231p1"])}previous(){this.router.navigate(["/adults/anger/s230p2"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s230p3"]],decls:23,vars:3,consts:[["skipToPage","/anger/s231p1"],[1,"mt0px","fs_24px","fw_600","lh_150p","fc_000000"],[1,"mtb0px","fs_15px","fw_400","lh_150p","fc_000000"],["id","svg_wrap"],[1,"row"],[1,"col-md-12","col-sm-12","col-xs-12","p0"],[1,"sb_anchor"],[1,"box","textarea_box"],[1,"mtb0px","fs_15px","fw_500","lh_150p","fc_000000","display_flex"],[1,"mtb0px","ml5px"],[1,"hr_style_v3_06"],["
1id","message","required","required","name","message","rows","15","name","p1","placeholder","Write your answer here",1,"form-control","textarea_fs",3,"ngModel","ngModelChange"],[3,"bg","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-feedback-question",0)(1,"form")(2,"h2",1),e._uU(3," Feedback Survey "),e.qZA(),e.TgZ(4,"h4",2),e._uU(5," Anger Module "),e.qZA(),e._UZ(6,"div",3),e.TgZ(7,"section")(8,"div",4)(9,"div",5)(10,"a",6)(11,"div",7)(12,"h4",8),e._uU(13," 3. "),e.TgZ(14,"p",9),e._uU(15),e.qZA()(),e._UZ(16,"hr",10),e.TgZ(17,"textarea",11),e.NdJ("ngModelChange",function(a){return i.r230p3=a}),e.qZA(),e._UZ(18,"br"),e.qZA()()()()(),e._UZ(19,"section")(20,"section")(21,"section"),e.qZA()(),e.TgZ(22,"app-feedback-footer",12),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.xp6(15),e.hij(" ",i.reflection," "),e.xp6(2),e.Q6J("ngModel",i.r230p3),e.xp6(5),e.Q6J("bg",i.bg))},dependencies:[l._Y,l.Fj,l.JJ,l.JL,l.Q7,l.On,l.F,H.M,G.L]})),o})(),Ii=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w1"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"points",void 0),(0,t.Z)(this,"overallPercentage",void 0),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),this.router=s,this.service=i,this.location=r}ngOnInit(){this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.sessionPoints()}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0}sessionPoints(){this.service.sessionPoints({UserId:this.userId,ScreenNos:"199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229"}).subscribe(s=>{console.log("points",s),this.points=s})}submitProgress(){this.router.navigate(["/adults/anger/s231p0"])}previous(){this.router.navigate(["/adults/anger/s228p3"])}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s231p1"]],decls:2,vars:3,consts:[[3,"bg","points"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e._UZ(0,"app-sessionover-s1",0),e.TgZ(1,"app-course-footer",1),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.previous()}),e.qZA()),2&s&&(e.Q6J("bg",i.bg)("points",i.points),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[I.p,R.d]})),o})(),Ti=(()=>{var n;class o{constructor(s,i,r){(0,t.Z)(this,"router",void 0),(0,t.Z)(this,"service",void 0),(0,t.Z)(this,"location",void 0),(0,t.Z)(this,"bg_tn","bg_red_pink"),(0,t.Z)(this,"bg_cft","bg_red_pink"),(0,t.Z)(this,"bg","red_pink_w2"),(0,t.Z)(this,"mediaVideo",JSON.parse(localStorage.getItem("mediaVideo"))),(0,t.Z)(this,"videoLink",this.mediaVideo+"/events/13.mp4"),(0,t.Z)(this,"title","Understand and manage your anger"),(0,t.Z)(this,"poster","https://d1tenzemoxuh75.cloudfront.net/assets/images/tiles/video_posters/anger/anger_01.jpg"),(0,t.Z)(this,"userId",void 0),(0,t.Z)(this,"saveUsername",JSON.parse(localStorage.getItem("saveUsername"))),(0,t.Z)(this,"screenType",localStorage.getItem("video")),(0,t.Z)(this,"moduleId",localStorage.getItem("moduleId")),(0,t.Z)(this,"screenNumber","231p0"),(0,t.Z)(this,"startTime",void 0),(0,t.Z)(this,"endTime",void 0),(0,t.Z)(this,"totalTime",void 0),(0,t.Z)(this,"toc","/anger/s162p0"),(0,t.Z)(this,"bookmark",0),(0,t.Z)(this,"path",setTimeout(()=>this.router.url,1e3)),(0,t.Z)(this,"avDuration",void 0),(0,t.Z)(this,"bookmarkList",JSON.parse(localStorage.getItem("bookmarkList"))),this.router=s,this.service=i,this.location=r}ngOnInit(){this.createScreen(),this.userId=0==this.saveUsername?JSON.parse(sessionStorage.getItem("userId")):JSON.parse(localStorage.getItem("userId")),this.startTime=Date.now(),this.startTime=Date.now(),0==JSON.parse(sessionStorage.getItem("bookmark231p0"))?this.bookmark=0:(this.bookmarkList.includes(this.screenNumber)||1==JSON.parse(sessionStorage.getItem("bookmark231p0")))&&(this.bookmark=1)}receiveBookmark(s){console.log(s),this.bookmark=1==s?1:0,sessionStorage.setItem("bookmark231p0",JSON.stringify(this.bookmark))}createScreen(){this.service.createScreen({ScrId:0,ModuleId:this.moduleId,GSetID:this.screenType,ScreenNo:this.screenNumber}).subscribe(s=>{})}submitProgress(){this.endTime=Date.now(),this.totalTime=this.endTime-this.startTime,localStorage.setItem("pageaction","next"),this.router.navigate(["/adults/anger/s231p2"]),this.service.submitProgressAv({ScrNumber:this.screenNumber,UserId:this.userId,BookMark:this.bookmark,ModuleId:this.moduleId,screenType:this.screenType,timeSpent:this.totalTime,avDuration:this.avDuration}).subscribe(s=>{s.GetBkMrkScr&&(this.bookmarkList=s.GetBkMrkScr.map(i=>parseInt(i.ScrNo)),localStorage.setItem("bookmarkList",JSON.stringify(this.bookmarkList)))})}prev(){localStorage.setItem("pageaction","prev"),this.router.navigate(["/adults/anger/s162p0"])}ngOnDestroy(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)(e.Y36(v.F0),e.Y36(k.$),e.Y36(b.Ye))}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s231p0"]],decls:3,vars:9,consts:[[3,"toc","bookmark","path","bg_tn","sendBookmark"],[3,"title","poster","bg","videoLink"],[3,"bg_cft","nextEmitter","previousEmitter"]],template:function(s,i){1&s&&(e.TgZ(0,"app-course-header",0),e.NdJ("sendBookmark",function(a){return i.receiveBookmark(a)}),e.qZA(),e._UZ(1,"app-video-content",1),e.TgZ(2,"app-course-footer",2),e.NdJ("nextEmitter",function(){return i.submitProgress()})("previousEmitter",function(){return i.prev()}),e.qZA()),2&s&&(e.Q6J("toc",i.toc)("bookmark",i.bookmark)("path",i.path)("bg_tn",i.bg_tn),e.xp6(1),e.Q6J("title",i.title)("poster",i.poster)("bg",i.bg)("videoLink",i.videoLink),e.xp6(1),e.Q6J("bg_cft",i.bg_cft))},dependencies:[w.O,I.p,L._]})),o})();var yi=P(61120);const Pi=[{path:"",component:K},{path:"s162",canActivate:[f.u],component:se},{path:"s162p0",component:K},{path:"s163",canActivate:[f.u],component:we},{path:"s164",canActivate:[f.u],component:Ae},{path:"s164t",canActivate:[f.u],component:Je},{path:"s165",canActivate:[f.u],component:Oe},{path:"s166",canActivate:[f.u],component:Ue},{path:"s167",canActivate:[f.u],component:xe},{path:"s168",canActivate:[f.u],component:$e},{path:"s169",canActivate:[f.u],component:De},{path:"s169t",canActivate:[f.u],component:qe},{path:"s170",canActivate:[f.u],component:Ye},{path:"s170t",canActivate:[f.u],component:Ce},{path:"s171",canActivate:[f.u],component:Me},{path:"s171t",canActivate:[f.u],component:Fe},{path:"s172",canActivate:[f.u],component:Re},{path:"s172t",canActivate:[f.u],component:Ge},{path:"s173",canActivate:[f.u],component:ze},{path:"s174",canActivate:[f.u],component:We},{path:"s175",canActivate:[f.u],component:Xe},{path:"s176",canActivate:[f.u],component:Ke},{path:"s177",canActivate:[f.u],component:et},{path:"s178p1",canActivate:[f.u],component:tt},{path:"s178p2",canActivate:[f.u],component:st},{path:"s179",canActivate:[f.u],component:it},{path:"s180",canActivate:[f.u],component:rt},{path:"s181",canActivate:[f.u],component:at},{path:"s181t",canActivate:[f.u],component:nt},{path:"s182",canActivate:[f.u],component:ct},{path:"s183",canActivate:[f.u],component:mt},{path:"s183t",canActivate:[f.u],component:dt},{path:"s184",canActivate:[f.u],component:gt},{path:"s184t",canActivate:[f.u],component:pt},{path:"s185",canActivate:[f.u],component:_t},{path:"s186",canActivate:[f.u],component:vt},{path:"s187",canActivate:[f.u],component:ft},{path:"s188",canActivate:[f.u],component:Zt},{path:"s188p0",canActivate:[f.u],component:kt},{path:"s188p1",canActivate:[f.u],component:St},{path:"s188p2",canActivate:[f.u],component:It},{path:"s188p3",canActivate:[f.u],component:Tt},{path:"s188p4",canActivate:[f.u],component:yt},{path:"s188p5",canActivate:[f.u],component:wt},{path:"s188p6",canActivate:[f.u],component:Pt},{path:"s188p7",canActivate:[f.u],component:Nt},{path:"s188p8",canActivate:[f.u],component:At},{path:"s188t",canActivate:[f.u],component:Jt},{path:"s189",canActivate:[f.u],component:Ut},{path:"s189p0",canActivate:[f.u],component:xt},{path:"s189p1",canActivate:[f.u],component:$t},{path:"s189p2",canActivate:[f.u],component:Et},{path:"s189p3",canActivate:[f.u],component:Dt},{path:"s189p4",canActivate:[f.u],component:qt},{path:"s189p5",canActivate:[f.u],component:Bt},{path:"s189p6",canActivate:[f.u],component:Yt},{path:"s189t",canActivate:[f.u],component:Ct},{path:"s190",canActivate:[f.u],component:Lt},{path:"s191",canActivate:[f.u],component:Ft},{path:"s191t",canActivate:[f.u],component:Qt},{path:"s192",canActivate:[f.u],component:Rt},{path:"s193",canActivate:[f.u],component:zt},{path:"s193t",canActivate:[f.u],component:Wt},{path:"s194",canActivate:[f.u],component:Xt},{path:"s195",canActivate:[f.u],component:Ht},{path:"s196",canActivate:[f.u],component:jt},{path:"s196t",canActivate:[f.u],component:Kt},{path:"s197",canActivate:[f.u],component:es},{path:"s198p1",canActivate:[f.u],component:ts},{path:"s198p2",canActivate:[f.u],component:ss},{path:"s199",canActivate:[f.u],component:is},{path:"s200",canActivate:[f.u],component:rs},{path:"s201",canActivate:[f.u],component:as},{path:"s201t",canActivate:[f.u],component:ns},{path:"s202",canActivate:[f.u],component:cs},{path:"s203",canActivate:[f.u],component:ls},{path:"s204",canActivate:[f.u],component:ds},{path:"s204t",canActivate:[f.u],component:hs},{path:"s205",canActivate:[f.u],component:us},{path:"s206",canActivate:[f.u],component:ps},{path:"s206t",canActivate:[f.u],component:_s},{path:"s207",canActivate:[f.u],component:fs},{path:"s208",canActivate:[f.u],component:bs},{path:"s209",canActivate:[f.u],component:ks},{path:"s209t",canActivate:[f.u],component:Ss},{path:"s210",canActivate:[f.u],component:Is},{path:"s211",canActivate:[f.u],component:ys},{path:"s211t",canActivate:[f.u],component:ws},{path:"s212",canActivate:[f.u],component:Ps},{path:"s213",canActivate:[f.u],component:Ns},{path:"s214",canActivate:[f.u],component:As},{path:"s215",canActivate:[f.u],component:Js},{path:"s216",canActivate:[f.u],component:Us},{path:"s216p0",canActivate:[f.u],component:xs},{path:"s216p1",canActivate:[f.u],component:$s},{path:"s216p2",canActivate:[f.u],component:Es},{path:"s216p3",canActivate:[f.u],component:Ds},{path:"s216p4",canActivate:[f.u],component:qs},{path:"s216p5",canActivate:[f.u],component:Bs},{path:"s216p6",canActivate:[f.u],component:Ys},{path:"s216p7",canActivate:[f.u],component:Cs},{path:"s216t",canActivate:[f.u],component:Ls},{path:"s217",canActivate:[f.u],component:Fs},{path:"s218",canActivate:[f.u],component:Rs},{path:"s218t",canActivate:[f.u],component:Gs},{path:"s219",canActivate:[f.u],component:zs},{path:"s220",canActivate:[f.u],component:Ws},{path:"s221",canActivate:[f.u],component:Hs},{path:"s222",canActivate:[f.u],component:js},{path:"s222t",canActivate:[f.u],component:Ks},{path:"s223",canActivate:[f.u],component:ei},{path:"s224",canActivate:[f.u],component:ti},{path:"s225",canActivate:[f.u],component:si},{path:"s226",canActivate:[f.u],component:ii},{path:"s227",canActivate:[f.u],component:oi},{path:"s227t",canActivate:[f.u],component:ai},{path:"s228",canActivate:[f.u],component:ni},{path:"s228p1",canActivate:[f.u],component:ci},{path:"s228p2",canActivate:[f.u],component:li},{path:"s228p3",canActivate:[f.u],component:mi},{path:"s228p3t",canActivate:[f.u],component:di}
1,{path:"s229",canActivate:[f.u],component:ui},{path:"s230",canActivate:[f.u],component:bi},{path:"s230p1",canActivate:[f.u],component:Zi},{path:"s230p2",canActivate:[f.u],component:ki},{path:"s230p3",canActivate:[f.u],component:Si},{path:"s231p1",canActivate:[f.u],component:Ii},{path:"s231p0",canActivate:[f.u],component:Ti},{path:"s231p2",canActivate:[f.u],component:(()=>{var n;class o{constructor(){(0,t.Z)(this,"toc","anger/s162p0"),(0,t.Z)(this,"moduleImg","https://d1tenzemoxuh75.cloudfront.net/assets/images/background/toc/19.png"),(0,t.Z)(this,"moduleLink","/adults/fear-anxiety"),(0,t.Z)(this,"moduleName","Fear & Anxiety "),(0,t.Z)(this,"sectionName","Understand Emotions"),(0,t.Z)(this,"bg",""),(0,t.Z)(this,"moduleId",19),(0,t.Z)(this,"moduleList",[{name:"Reactive mind",image:"https://d1tenzemoxuh75.cloudfront.net/assets/images/background/toc/54.webp",link:"/reactive-mind",id:54},{name:"Stress",image:"https://d1tenzemoxuh75.cloudfront.net/assets/images/background/toc/44.webp",link:"/stress",id:44},{name:"Relationships",image:"https://d1tenzemoxuh75.cloudfront.net/assets/images/background/toc/47.webp",link:"/relationships",id:47}]);let s=localStorage.getItem("curated");s&&"emotions"===s&&(this.moduleImg="https://humanwisdoms3.s3.eu-west-2.amazonaws.com/assets/images/background/toc/reactive_mind.jpg",this.moduleLink="/adults/reactive-mind",this.moduleName="Reactive Mind",this.sectionName="Explore how your mind works",this.moduleId=54)}ngOnInit(){}}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275cmp",e.Xpm({type:n,selectors:[["app-s231p2"]],decls:1,vars:8,consts:[[3,"toc","bg","moduleLink","moduleImg","moduleName","sectionName","moduleId","moduleList"]],template:function(s,i){1&s&&e._UZ(0,"app-module-end",0),2&s&&e.Q6J("toc",i.toc)("bg",i.bg)("moduleLink",i.moduleLink)("moduleImg",i.moduleImg)("moduleName",i.moduleName)("sectionName",i.sectionName)("moduleId",i.moduleId)("moduleList",i.moduleList)},dependencies:[yi.o]})),o})()}];let Ni=(()=>{var n;class o{}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275mod",e.oAB({type:n})),(0,t.Z)(o,"\u0275inj",e.cJS({imports:[v.Bz.forChild(Pi),v.Bz]})),o})();var Ai=P(63307);let Ji=(()=>{var n;class o{}return n=o,(0,t.Z)(o,"\u0275fac",function(s){return new(s||n)}),(0,t.Z)(o,"\u0275mod",e.oAB({type:n})),(0,t.Z)(o,"\u0275inj",e.cJS({providers:[k.$],imports:[b.ez,l.u5,E.Pc,te.m,Ni,Ai.v]})),o})()}}]);
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.