PageSourceSearch

https://pro.galim.org.il/118.61887e1ba325928a.js

js galim.org.il collected 2026-10-01 12:11:06 UTC 53,325 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgalim_pro=self.webpackChunkgalim_pro||[]).push([[118],{74975(F,w,l){l.d(w,{Y:()=>it});var t=l(73664),f=l(27904),u=l(87480),x=l(67376),g=l(2615),v=l(72573),m=l(36643),E=l(35385),b=l(85827),M=l(86953),k=l(42186),y=l(13018),I=l(48964),R=l(72200);let U=(()=>{class i{get el(){return this.elementRef.nativeElement}constructor(n){this.elementRef=n,this.sign="..."}ngAfterViewInit(){this.truncate(),setTimeout(()=>this.truncate())}onWindowResize(){this.truncate()}truncate(){void 0===this.innerText&&(this.innerText=this.el&&this.el.innerText&&this.el.innerText.trim()),this.el.innerText=this.innerText;const n=this.innerText&&this.innerText.split(" ");for(;n&&n.length>0&&this.el.scrollHeight>this.el.clientHeight;)n.pop(),this.el.innerText=`${n.join(" ")}`+this.sign}static{this.\u0275fac=function(e){return new(e||i)(t.rXU(t.aKT))}}static{this.\u0275dir=t.FsC({type:i,selectors:[["","appEllipsys",""]],hostBindings:function(e,c){1&e&&t.bIt("resize",function(){return c.onWindowResize()},t.tSv)},inputs:{sign:[0,"appEllipsys","sign"]}})}}return i})();const T=["titleDiv"],S=["subTitleDiv"],p=()=>({height:"91px"}),_=()=>({}),a=(i,h)=>({block:i,line:h});function C(i,h){if(1&i&&(t.j41(0,"div",12),t.EFF(1),t.k0s()),2&i){const n=t.XpG(),e=t.XpG(2);t.R7$(),t.JRh(n.includes(e.inputs._id)?e.lang.translate("UNIT.REMOVE_RECOMMENDED"):e.lang.translate("UNIT.ADD_RECOMMENDED"))}}function o(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",13)(1,"div",14),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(3);return c.stopPropagation(),c.preventDefault(),g.Njj(d.toggleSelection())}),t.nrm(2,"i",15),t.k0s()()}if(2&i){const n=t.XpG(3);t.Y8G("ngClass",t.l_i(3,a,"block"==n.display,"line"==n.display)),t.R7$(),t.AVh("checked",n.multiSelectServ.isSelected(n.inputs.data.cm_id))}}function s(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",10)(1,"div",11),t.bIt("click",function(c){const d=g.eBV(n),P=t.XpG(2);return g.Njj(P.toggleFavorite(c,d.includes(P.inputs._id)?"remove":"add",P.inputs._id))}),t.nVh(2,C,2,1,"div",12),t.k0s()(),t.nVh(3,o,3,6,"div",13)}if(2&i){const n=h,e=t.XpG(2);t.AVh("anim",e.favoriteAnim),t.R7$(),t.AVh("remove",n.includes(e.inputs._id))("add",!n.includes(e.inputs._id)),t.R7$(),t.vxM(e.isMobile?-1:2),t.R7$(),t.vxM(e.enableSelect?3:-1)}}function r(i,h){if(1&i&&(t.j41(0,"div",16),t.nrm(1,"i",17),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.AVh("enableSelect",n.enableSelect),t.R7$(3),t.JRh(n.lang.translate("UNIT_INFO.RECOMMENDED2"))}}function O(i,h){if(1&i&&(t.j41(0,"div",4),t.nVh(1,s,4,8),t.nI1(2,"async"),t.nI1(3,"async"),t.j41(4,"div",5),t.nrm(5,"i",6),t.k0s(),t.j41(6,"div",7),t.nrm(7,"i",8),t.k0s(),t.nVh(8,r,4,3,"div",9),t.k0s()),2&i){let n;const e=t.XpG();t.xc7("background-image","url("+e.imageUrl+")"),t.Y8G("ngStyle","line"===e.display?t.lJ4(9,p):t.lJ4(10,_)),t.R7$(),t.vxM((n=(null==(n=t.bMT(2,5,e.user.userdata))?null:n.uid)>0&&t.bMT(3,7,e.favoriteService.myFavorites))?1:-1,n),t.R7$(7),t.vxM(null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.isRecommended?8:-1)}}function j(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",27),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return g.Njj(d.openModal(c))}),t.nrm(1,"i",28),t.k0s()}}function A(i,h){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.lang.translate("LIBRARY.PAGE.FILTERS.adaptive_exercise"),":\xa0")}}function D(i,h){if(1&i&&(t.j41(0,"div",23),t.nrm(1,"i",17),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.lang.translate("UNIT_INFO.RECOMMENDED"))}}function V(i,h){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.JRh(n.lang.translate("LIBRARY.PAGE.FILTERS["+(null==n.inputs||null==n.inputs.data?null:n.inputs.data.unitType)+"]"))}}function $(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",29),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return g.Njj(d.assign(c))}),t.nrm(1,"i",30),t.EFF(2),t.k0s()}if(2&i){const n=t.XpG(2);t.R7$(2),t.SpI("",n.lang.translate("ASSIGN")," ")}}function N(i,h){if(1&i&&(t.j41(0,"div",18),t.nVh(1,j,2,0,"div",19),t.j41(2,"div",20),t.nVh(3,A,2,1,"span"),t.j41(4,"div",21),t.EFF(5),t.k0s(),t.j41(6,"div",22),t.EFF(7),t.k0s(),t.nVh(8,D,4,1,"div",23),t.k0s()(),t.j41(9,"div",24)(10,"div",25),t.nrm(11,"div"),t.nVh(12,V,2,1,"span"),t.k0s(),t.nVh(13,$,3,1,"div",26),t.k0s()),2&i){const n=t.XpG();t.R7$(),t.vxM(n.isTeacher?1:-1),t.R7$(2),t.vxM("adaptive_exercise"===(null==n.inputs||null==n.inputs.data||null==n.inputs.data.unitType?null:n.inputs.data.unitType.toLowerCase())?3:-1),t.R7$(),t.AVh("ltr",n.isEnglishUnit),t.R7$(),t.JRh(n.lang.translate_title(n.inputs)),t.R7$(),t.AVh("ltr",n.isEnglishUnit)("withRecommended",null==n.inputs||null==n.inputs.data?null:n.inputs.data.isRecommended),t.Y8G("appEllipsys"," ..."),t.R7$(),t.JRh(null==n.inputs||null==n.inputs.data?null:n.inputs.data.teaser),t.R7$(),t.vxM(null!=n.inputs&&null!=n.inputs.data&&n.inputs.data.isRecommended?8:-1),t.R7$(3),t.HbH("circle "+(null==n.inputs||null==n.inputs.data?null:n.inputs.data.unitType)),t.R7$(),t.vxM(null!=n.inputs&&null!=n.inputs.data&&n.inputs.data.unitType?12:-1),t.R7$(),t.vxM(!n.isTeacher||null!=n.inputs&&null!=n.inputs.data&&n.inputs.data.isNotAssignable?-1:13)}}function G(i,h){if(1&i&&t.nrm(0,"div"),2&i){const n=t.XpG(2);t.HbH("desktop circle "+(null==n.inputs||null==n.inputs.data?null:n.inputs.data.unitType))}}function B(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",39)(1,"div",14),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return c.stopPropagation(),c.preventDefault(),g.Njj(d.toggleSelection())}),t.nrm(2,"i",15),t.k0s()()}if(2&i){const n=t.XpG(2);t.AVh("narrow","narrow"==n.display),t.R7$(),t.AVh("checked",n.multiSelectServ.isSelected(n.inputs.data.cm_id))}}function X(i,h){if(1&i&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.R7$(),t.SpI("",n.lang.translate("LIBRARY.PAGE.FILTERS.adaptive_exercise"),":\xa0")}}function L(i,h){if(1&i&&(t.j41(0,"div",12),t.EFF(1),t.k0s()),2&i){const n=t.XpG(),e=t.XpG(2);t.R7$(),t.JRh(n.includes(e.inputs._id)?e.lang.translate("UNIT.REMOVE_RECOMMENDED"):e.lang.translate("UNIT.ADD_RECOMMENDED"))}}function z(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",40),t.bIt("click",function(c){const d=g.eBV(n),P=t.XpG
1(2);return g.Njj(P.toggleFavorite(c,d.includes(P.inputs._id)?"remove":"add",P.inputs._id))}),t.nVh(1,L,2,1,"div",12),t.k0s()}if(2&i){const n=h,e=t.XpG(2);t.AVh("anim",e.favoriteAnim)("remove",n.includes(e.inputs._id))("add",!n.includes(e.inputs._id)&&e.hoverred),t.R7$(),t.vxM(e.isMobile?-1:1)}}function H(i,h){if(1&i&&(t.j41(0,"div",23),t.nrm(1,"i",17),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.lang.translate("UNIT_INFO.RECOMMENDED"))}}function J(i,h){if(1&i&&(t.j41(0,"div",41,1),t.EFF(2),t.k0s()),2&i){const n=t.XpG(2);t.AVh("ltr",n.isEnglishUnit),t.Y8G("appEllipsys"," ..."),t.R7$(2),t.JRh(null==n.inputs||null==n.inputs.data?null:n.inputs.data.teaser)}}function K(i,h){if(1&i&&(t.j41(0,"div",41),t.EFF(1),t.k0s()),2&i){const n=t.XpG(2);t.AVh("ltr",n.isEnglishUnit),t.Y8G("appEllipsys"," ..."),t.BMQ("title",null==n.inputs||null==n.inputs.data?null:n.inputs.data.teaser),t.R7$(),t.JRh(null==n.inputs||null==n.inputs.data?null:n.inputs.data.teaser)}}function W(i,h){if(1&i&&(t.j41(0,"div",23),t.nrm(1,"i",17),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&i){const n=t.XpG(2);t.R7$(3),t.JRh(n.lang.translate("UNIT_INFO.RECOMMENDED2"))}}function Y(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",29),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return g.Njj(d.assign(c))}),t.nrm(1,"i",30),t.EFF(2),t.k0s()}if(2&i){const n=t.XpG(2);t.R7$(2),t.JRh(n.lang.translate("ASSIGN"))}}function Q(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",42),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return g.Njj(d.assign(c))}),t.nrm(1,"i",30),t.k0s()}}function Z(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",27),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return g.Njj(d.openModal(c))}),t.nrm(1,"i",28),t.k0s()}}function q(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",47),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(4);return g.Njj(d.assign(c))}),t.EFF(1),t.k0s()}if(2&i){const n=t.XpG(4);t.R7$(),t.JRh(n.lang.translate("ASSIGN"))}}function tt(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",45)(1,"i",46),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(3);return c.stopPropagation(),c.preventDefault(),g.Njj(d.actionsDiv=!1)}),t.k0s(),t.j41(2,"div",47),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(3);return g.Njj(d.openModal(c))}),t.EFF(3),t.k0s(),t.nVh(4,q,2,1,"div"),t.k0s()}if(2&i){const n=t.XpG(3);t.R7$(3),t.JRh(n.lang.translate("UNIT_INFO.ACTIONS.INFO")),t.R7$(),t.vxM(null!=n.inputs&&null!=n.inputs.data&&n.inputs.data.isNotAssignable?-1:4)}}function nt(i,h){if(1&i){const n=t.RV6();t.j41(0,"div",43),t.bIt("click",function(c){g.eBV(n);const d=t.XpG(2);return c.stopPropagation(),c.preventDefault(),g.Njj(d.actionsDiv=!0)}),t.nrm(1,"i",44),t.nVh(2,tt,5,2,"div",45),t.k0s()}if(2&i){const n=t.XpG(2);t.R7$(2),t.vxM(n.actionsDiv?2:-1)}}function et(i,h){if(1&i&&(t.nVh(0,G,1,2,"div",31),t.nVh(1,B,3,4,"div",32),t.j41(2,"div",33)(3,"div",21,0),t.nrm(5,"div"),t.nVh(6,X,2,1,"span"),t.j41(7,"div",34),t.EFF(8),t.k0s(),t.nVh(9,z,2,7,"div",35),t.nI1(10,"async"),t.nI1(11,"async"),t.nVh(12,H,4,1,"div",23),t.k0s(),t.nVh(13,J,3,4,"div",36),t.nVh(14,K,2,5,"div",36),t.nI1(15,"async"),t.k0s(),t.nVh(16,W,4,1,"div",23),t.nVh(17,Y,3,1,"div",26),t.nVh(18,Q,2,0,"div",37),t.nVh(19,Z,2,0,"div",19),t.nVh(20,nt,3,1,"div",38)),2&i){let n;const e=t.XpG();t.vxM("line"!=e.display&&e.hoverred&&e.enableSelect?-1:0),t.R7$(),t.vxM(e.enableSelect&&"narrow"==e.display&&e.hoverred?1:-1),t.R7$(2),t.AVh("indent",null==e.inputs||null==e.inputs.data?null:e.input
1s.data.unitType)("noTeaser",!(null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.teaser)),t.R7$(2),t.HbH("mobile circle "+(null==e.inputs||null==e.inputs.data?null:e.inputs.data.unitType)),t.R7$(),t.vxM("adaptive_exercise"!==(null==e.inputs||null==e.inputs.data||null==e.inputs.data.unitType?null:e.inputs.data.unitType.toLowerCase())||e.isMobile?-1:6),t.R7$(),t.AVh("ltr",e.isEnglishUnit),t.R7$(),t.JRh(e.lang.translate_title(e.inputs)),t.R7$(),t.vxM((n="narrow"==e.display&&(null==(n=t.bMT(10,21,e.user.userdata))?null:n.uid)>0&&t.bMT(11,23,e.favoriteService.myFavorites))?9:-1,n),t.R7$(3),t.vxM(null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.isRecommended&&"line"==e.display?12:-1),t.R7$(),t.vxM("line"==e.display&&null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.teaser?13:-1),t.R7$(),t.vxM("narrow"==e.display&&null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.teaser&&e.hoverred&&t.bMT(15,25,e.screenSizesService.screenInfo$).width>e.tabletsMax?14:-1),t.R7$(2),t.vxM(null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.isRecommended&&"narrow"==e.display?16:-1),t.R7$(),t.vxM(!e.isTeacher||null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.isNotAssignable?-1:17),t.R7$(),t.vxM(!e.isTeacher||null!=e.inputs&&null!=e.inputs.data&&e.inputs.data.isNotAssignable?-1:18),t.R7$(),t.vxM(e.isTeacher?19:-1),t.R7$(),t.vxM(e.isTeacher?20:-1)}}let it=(()=>{class i{constructor(n,e,c,d,P,ot,st,at,lt){this.lang=n,this.modal=e,this.router=c,this.user=d,this.treeService=P,this.screenSizesService=ot,this.favoriteService=st,this.renderer=at,this.multiSelectServ=lt,this.display="block",this.enableSelect=!1,this.openInNewTab=!1,this.assignEvent=new t.bkB,this.tabletsMax=1200,this.isEnglishUnit=!1,this.isTeacher=!1,this.UPLOADS_URL=u.H2,this.subscriptions=[],this.fieldname="field"}ngOnInit(){this.imageUrl=this.inputs?.data?.picture?.value||"",this.imageUrl&&!this.imageUrl.startsWith(u.H2)&&(this.imageUrl=u.H2+this.imageUrl),this.subscriptions.push(this.treeService.catalogTree.subscribe(n=>{this.tree=n,this.field||(this.field=this.inputs&&this.inputs.associations[0].field._id?this.inputs.associations[0].field._id:this.inputs&&this.inputs.associations[0].field);const e="string"==typeof this.field&&/^[a-f\d]{24}$/i.test(this.field);this.fieldname=(e?this.tree.fields[this.field]?.data?.url_name:this.field)||"field";let d=x.filter(this.inputs&&this.inputs.associations,{field:n&&n.fieldsByUrlName&&n.fieldsByUrlName.english&&n.fieldsByUrlName.english._id})||[];this.isEnglishUnit=!(!d||!d.length)})),this.subscriptions.push(this.user.userdata.subscribe(n=>{this.isTeacher=!!(n&&n.uid&&n.isTeacher)}))}ngAfterViewInit(){this.subscriptions.push(this.screenSizesService.screenInfo$.subscribe(n=>{this.isMobile=n&&n.isMobile,this.isMobile&&"line"==this.display&&this.titleDiv&&this.titleDiv.nativeElement&&this.subTitleDiv&&this.subTitleDiv.nativeElement&&this.renderer.setStyle(this.subTitleDiv.nativeElement,"height",`calc(90px - 10px - ${this.titleDiv.nativeElement.offsetHeight}px)`)}))}openModal(n){n.preventDefault(),n.stopPropagation(),this.modal.openModal(f.B,{item:this.inputs,field:this.field,isTeacher:this.isTeacher,isEnglishUnit:this.isEnglishUnit,isInPackage:!0})}getUrl(){if(this.inputs&&this.inputs.data.cm_id)return"/"+this.fieldname+"/unit/"+this.inputs.data.cm_id+"?lang="+this.lang.getLanguage().toLowerCase()}navigate(n,e={}){n.preventDefault(),this.openInNewTab?window.location.href=this.getUrl():this.fromLib||this.router.navigateByUrl("/"+this.fieldname+"/unit/"+this.inputs.data.cm_id,e)}assign(n){n.stopPropagation(),n.preventDefault();const e={state:{openAssignTaskOnInit:!0}};this.fromLib?this.assignEvent.emit({clickLibEvent:n,navigationExtras:e}):this.navigate(n,e)}toggleFavorite(n,e,c){this.favoriteAnim=!0,setTimeout(()=>{this.favoriteAnim=!1},800),n.stopPropagation(),n.preventDefault(),this.favoriteService.updateUserFavorite(e,c)}toggleSelection(){this.multiSelectServ.toggleSelection(x.assign(this.inputs,{field:this.fieldname}))}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}static{this.\u0275fac=function(e){return new(e||i)(t.rXU(v.L),t.rXU(m.cN),t.rXU(E.Ix),t.rXU(b.r),t.rXU(M.y),t.rXU(k.sP),t.rXU(y.J),t.rXU(t.sFG),t.rXU(I.z))}}static{this.\u0275cmp=t.VBU({type:i,selectors:[["unit-card"]],viewQuery:function(e,c){if
1(1&e&&(t.GBs(T,5),t.GBs(S,5)),2&e){let d;t.mGM(d=t.lsd())&&(c.titleDiv=d.first),t.mGM(d=t.lsd())&&(c.subTitleDiv=d.first)}},inputs:{fromLib:"fromLib",inputs:"inputs",field:"field",imgHeight:"imgHeight",display:"display",enableSelect:"enableSelect",openInNewTab:"openInNewTab"},outputs:{assignEvent:"assignEvent"},standalone:!1,decls:4,vars:4,consts:[["titleDiv",""],["subTitleDiv",""],[3,"click","mouseenter","mouseleave","href"],[1,"img",3,"background-image","ngStyle"],[1,"img",3,"ngStyle"],[1,"vi",2,"display","none"],[1,"gp","gp-V"],[1,"self",2,"display","none"],[1,"gp","gp-self"],[1,"recommendedTitle2",2,"display","none",3,"enableSelect"],[1,"favorite"],[1,"favorite_img",3,"click"],[1,"favorite_tooltip",2,"display","none"],[1,"select",3,"ngClass"],[1,"checkbox",3,"click"],[1,"gp","gp-v-light"],[1,"recommendedTitle2",2,"display","none"],[1,"gp","gp-star1"],[1,"part"],[1,"round"],[1,"text"],[1,"title"],[1,"subtitle",3,"appEllipsys"],[1,"recommendedTitle"],[1,"inline"],[1,"type"],[1,"task"],[1,"round",3,"click"],[1,"gp","gp-dots"],[1,"task",3,"click"],[1,"gp","gp-task2"],[3,"class"],[1,"select",3,"narrow"],[1,"txt"],[1,"title_txt"],[1,"favorite",3,"anim","remove","add"],[1,"subtitle-line",3,"appEllipsys","ltr"],[1,"task_mini",2,"display","none"],[1,"round","more",2,"display","none"],[1,"select"],[1,"favorite",3,"click"],[1,"subtitle-line",3,"appEllipsys"],[1,"task_mini",2,"display","none",3,"click"],[1,"round","more",2,"display","none",3,"click"],[1,"gp","gp-more"],[1,"actions"],[1,"gp","gp-X",3,"click"],[3,"click"]],template:function(e,c){1&e&&(t.j41(0,"a",2),t.bIt("click",function(P){return c.navigate(P)})("mouseenter",function(){return c.hoverred=!0})("mouseleave",function(){return c.hoverred=!1}),t.nVh(1,O,9,11,"div",3),t.nVh(2,N,14,16),t.nVh(3,et,21,27),t.k0s()),2&e&&(t.Y8G("href",c.getUrl(),t.B4B),t.R7$(),t.vxM("narrow"!=c.display?1:-1),t.R7$(),t.vxM("block"==c.display?2:-1),t.R7$(),t.vxM("line"==c.display||"narrow"==c.display?3:-1))},dependencies:[R.YU,R.B3,U,R.Jj],styles:["[_nghost-%COMP%]{box-shadow:0 0 2px #00000014,0 0 16px #00000014;border-radius:12px;box-sizing:border-box;white-space:normal;color:#363636;text-align:right;cursor:pointer;position:relative;margin-left:32px;width:307.5px;margin-bottom:15px;background-color:#fff;min-height:442px;transition:transform .3s}@media screen and (min-width: 1024px){[_nghost-%COMP%]:hover{box-shadow:0 0 2px #0000002e,0 0 16px #0000002e}}@media screen and (min-width: 1341px) and (max-width: 1600px){[_nghost-%COMP%]{width:276px}}@media screen and (min-width: 1281px) and (max-width: 1340px){[_nghost-%COMP%]{width:251px;min-height:408px}}@media screen and (min-width: 993px) and (max-width: 1280px){[_nghost-%COMP%]{width:295px;min-height:422px;margin-left:16px}}@media screen and (max-width: 992px){[_nghost-%COMP%]{width:190px;min-height:300px;margin-left:16px}}@media screen and (max-width: 600px){[_nghost-%COMP%]{margin-left:8px}}.assigned[_nghost-%COMP%], .selfSubmitted[_nghost-%COMP%]{background:#3aabfc14}.assigned[_nghost-%COMP%]   .vi[_ngcontent-%COMP%], .assigned[_nghost-%COMP%]   .self[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .vi[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .self[_ngcontent-%COMP%]{width:6rem;height:6rem;background:#fff;border-radius:12px;justify-content:center;align-items:center}.assigned[_nghost-%COMP%]   .vi[_ngcontent-%COMP%]   .gp-V[_ngcontent-%COMP%], .assigned[_nghost-%COMP%]   .vi[_ngcontent-%COMP%]   .gp-self[_ngcontent-%COMP%], .assigned[_nghost-%COMP%]   .self[_ngcontent-%COMP%]   .gp-V[_ngcontent-%COMP%], .assigned[_nghost-%COMP%]   .self[_ngcontent-%COMP%]   .gp-self[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .vi[_ngcontent-%COMP%]   .gp-V[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .vi[_ngcontent-%COMP%]   .gp-self[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .self[_ngcontent-%COMP%]   .gp-V[_ngcontent-%COMP%], .selfSubmitted[_nghost-%COMP%]   .self[_ngcontent-%COMP%]   .gp-self[_ngcontent-%COMP%]{color:#00b46f}.assigned[_nghost-%COMP%]   .vi[_ngcontent-%COMP%]{display:flex!important}.selfSubmitted[_nghost-%COMP%]:not(.assigned)   .self[_ngcontent-%COMP%]{display:flex!important;font-size:30px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none!important;color:inherit}[_nghost-%COMP%]   .select[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{width:20px;height:20px;border:1px solid #dadada;border-radius:4px}[_nghost-%COMP%]   .select[_ngcontent-%COMP%]   .checkbox.checked[_ngcontent-%COMP%]{background-color:#007bff}[_nghost-%COMP%]   .select[_ngcontent-%COMP%]   .checkbox.checked[_ngcontent-%COMP%]   .gp-v-light[_ngcontent-%COMP%]{display:block;position:absolute;top:5px;left:3px;color:#fff;font-size:9px}[_nghost-%COMP%]   .select.narrow[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin-right:-5px;margin-left:1.3rem}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{width:100%;min-height:126px;border-radius:10px 10px 0 0;top:0;left:0;background-size:cover;background-position:center;align-items:center;display:flex;justify-content:center;position:relative;height:196px}@media screen and (min-width: 1341px) and (max-width: 1600px){[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{height:176px}}@media screen and (min-width: 1281px) and (max-width: 1340px){[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{max-width:251px}}@media screen and (min-width: 993px) and (max-width: 1280px){[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{max-width:295px;margin-left:16px}}@media screen and (max-width: 600px){[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{width:190px;height:121px}}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .favorite[_ngcontent-%COMP%]{position:absolute;top:3px;right:0}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .favorite[_ngcontent-%COMP%]   .favorite_img[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .select[_ngcontent-%COMP%]{position:absolute}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .select.line[_ngcontent-%COMP%]{right:3px;bottom:6px}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .select.block[_ngcontent-%COMP%]{top:3px;left:3px}@media screen and (max-width: 1024px){[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .recommendedTitle2[_ngcontent-%COMP%]{display:inline-flex!important;padding:2px 7px;align-items:center;border-radius:10px;background:#30303080;color:#fff;font-size:12px;font-weight:700;position:absolute;bottom:5px;right:5px}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .recommendedTitle2.enableSelect[_ngcontent-%COMP%]{right:unset;left:5px}[_nghost-%COMP%]   .img[_ngcontent-%COMP%]   .recommendedTitle2[_ngcontent-%COMP%]   .gp[_ngcontent-%COMP%]{color:#fec803;margin-left:5px;font-size:14px}}[_nghost-%COMP%]   .favorite[_ngcontent-%COMP%]{width:24px;height:24px;margin-right:5px;position:relative}[_nghost-%COMP%]   .favorite.anim[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_onactive .8s ease-in-out}[_nghost-%COMP%]   .favorite.add[_ngcontent-%COMP%], [_nghost-%COMP%]   .favorite[_ngcontent-%COMP%]   .add[_ngcontent-%COMP%]{background-image:url(heart.d63ef98f430338e9.svg)}[_nghost-%COMP%]   .favorite.remove[_ngcontent-%COMP%], [_nghost-%COMP%]   .favorite[_ngcontent-%COMP%]   .remove[_ngcontent-%COMP%]{background-image:url(heart-full.48e6c98f47d3e118.svg)}@keyframes _ngcontent-%COMP%_onactive{50%{transform:scale(1.3)}}
1[_nghost-%COMP%]   .circle[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%;margin-left:5px}[_nghost-%COMP%]   .part[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .text[_ngcontent-%COMP%]{padding:3rem 2rem 5rem}@media screen and (max-width: 600px){[_nghost-%COMP%]   .text[_ngcontent-%COMP%]{padding:1.4rem 1.2rem 4rem}}[_nghost-%COMP%]   .ltr[_ngcontent-%COMP%]{direction:ltr}[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{font-size:2.4rem;line-height:1.2;font-weight:700;display:flex;align-items:center}@media screen and (max-width: 992px){[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{font-size:2rem;margin-top:1.2rem}}[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;color:#878786;margin-bottom:2rem}[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px;font-weight:700}[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]   .gp[_ngcontent-%COMP%]{color:#fec803;font-size:14px}[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px;margin:0 0 0 5px}@media screen and (max-width: 1024px){[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .subtitle[_ngcontent-%COMP%]{padding-top:.9rem;font-size:2rem;color:#878786;margin-bottom:2rem;height:13rem}[_nghost-%COMP%]   .subtitle.withRecommended[_ngcontent-%COMP%]{height:7rem;margin-bottom:0rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .subtitle[_ngcontent-%COMP%]{padding-top:.5rem;height:8rem;font-size:1.6rem;line-height:2.2rem}}[_nghost-%COMP%]   .round[_ngcontent-%COMP%]{background:#007bff;color:#fff;border-radius:25px;width:4.8rem;height:4.8rem;position:absolute;top:-2rem;left:19px;display:flex;justify-content:center;align-items:center;font-size:2rem}@media screen and (max-width: 600px){[_nghost-%COMP%]   .round[_ngcontent-%COMP%]{border-radius:25px;width:26px;height:26px;top:-14px}}[_nghost-%COMP%]   .inline[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;position:absolute;bottom:1.8rem;width:100%}@media screen and (max-width: 992px){[_nghost-%COMP%]   .inline[_ngcontent-%COMP%]{bottom:1.3rem}}[_nghost-%COMP%]   .inline[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{bottom:1.5rem;margin-right:2rem;display:inline-flex;align-items:center;color:#363636;font-size:1.6rem}[_nghost-%COMP%]   .task[_ngcontent-%COMP%]{display:inline-flex;background:#007bff1a;padding:1.5rem 2rem;align-items:center;line-height:1;border-radius:13rem;margin-left:2rem;color:#007bff;font-weight:700}@media screen and (max-width: 992px){[_nghost-%COMP%]   .task[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:700;padding:.6rem 1.2rem}}[_nghost-%COMP%]   .task[_ngcontent-%COMP%]   .gp-task2[_ngcontent-%COMP%]{margin-left:10px;font-size:15px}@media screen and (max-width: 992px){[_nghost-%COMP%]   .task[_ngcontent-%COMP%]   .gp-task2[_ngcontent-%COMP%]{display:none}}.line[_nghost-%COMP%] > a[_ngcontent-%COMP%] > .txt[_ngcontent-%COMP%]:last-child{padding-left:10px}.line[_nghost-%COMP%], .narrow[_nghost-%COMP%]{height:93px;min-height:93px;margin-left:unset!important;width:100%!important;margin-bottom:2rem;display:block}@media screen and (max-width: 1024px){.line[_nghost-%COMP%], .narrow[_nghost-%COMP%]{height:90px;border:none;box-shadow:none}.line[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]{display:none}}.line[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%]{display:none}.line[_nghost-%COMP%]   a[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   a[_ngcontent-%COMP%]{align-items:center;display:flex}.line[_nghost-%COMP%]   .img[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{min-width:138px;width:138px;height:91px;min-height:91px;border-radius:0 10px 10px 0}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .img[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .img[_ngcontent-%COMP%]{min-width:108px;width:108px}}.line[_nghost-%COMP%]   .title[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:400;padding-bottom:6px}.line[_nghost-%COMP%]   .title.noTeaser[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title.noTeaser[_ngcontent-%COMP%]{padding-bottom:0}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .title[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{position:relative;font-size:1.8rem}.line[_nghost-%COMP%]   .title.indent[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title.indent[_ngcontent-%COMP%]{text-indent:2rem}.line[_nghost-%COMP%]   .title.indent[_ngcontent-%COMP%]   .ltr.title_txt[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title.indent[_ngcontent-%COMP%]   .ltr.title_txt[_ngcontent-%COMP%]{margin-right:2rem}.line[_nghost-%COMP%]   .title[_ngcontent-%COMP%]   .mobile[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .title[_ngcontent-%COMP%]   .mobile[_ngcontent-%COMP%]{display:block;position:absolute;right:0;top:5px;margin-right:0}}.line[_nghost-%COMP%]   .subtitle-line[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .subtitle-line[_ngcontent-%COMP%]{font-size:2rem;color:#878786;line-height:2rem;height:3rem}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .subtitle-line[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .subtitle-line[_ngcontent-%COMP%]{font-size:1.4rem;line-height:unset;height:4.4rem}}.line[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]{margin-bottom:unset}.line[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .recommendedTitle[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:0 16px 0 5px}.line[_nghost-%COMP%]   .round[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round[_ngcontent-%COMP%]{position:relative;top:unset;left:unset;margin:0 20px}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .round[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round[_ngcontent-%COMP%]{display:none}.line[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]{margin:0 20px 0 0;display:flex!important;background:#ececec;color:#007bff;width:4rem;height:4rem}.line[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{padding:25px 15px 15px;border-radius:7px;background:#fff;box-shadow:0 0 9px #00000080;position:absolute;top:5px;left:9px;color:#000;font-size:16px;white-space:nowrap;z-index:1}.line[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .gp-X[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .gp-X[_ngcontent-%COMP%]{font-size:10px;position:absolute;top:12px;left:12px}.line[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:10px}}
1.line[_nghost-%COMP%]   .circle[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .circle[_ngcontent-%COMP%]{margin-left:2rem;margin-right:2rem}.line[_nghost-%COMP%]   .txt[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .txt[_ngcontent-%COMP%]{flex:6}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .txt[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .txt[_ngcontent-%COMP%]{margin-right:1rem}}.line[_nghost-%COMP%]   .task[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .task[_ngcontent-%COMP%]{margin-right:2rem;margin-left:unset;height:40px}@media screen and (max-width: 1024px){.line[_nghost-%COMP%]   .task[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .task[_ngcontent-%COMP%]{display:none}}.narrow[_nghost-%COMP%]{padding:0 20px;height:40px;min-height:40px;margin-bottom:0!important;border:0;border-radius:0;align-items:center;display:grid;box-shadow:none}.narrow[_nghost-%COMP%]:not(:first-of-type){border-top:1px solid rgba(0,0,0,.1)}.narrow[_nghost-%COMP%]   .txt[_ngcontent-%COMP%]{display:flex;align-items:center}@media screen and (max-width: 1340px){.narrow[_nghost-%COMP%]   .txt[_ngcontent-%COMP%]{display:unset;margin-right:0!important}}
1.narrow[_nghost-%COMP%]   .circle[_ngcontent-%COMP%]{margin-left:1.3rem;margin-right:0}.narrow[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{font-size:1.8rem;padding-bottom:0}.narrow[_nghost-%COMP%]   .task[_ngcontent-%COMP%], .narrow[_nghost-%COMP%]   .round[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 1200px){.narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]{margin:0 20px 0 0;display:flex!important;background:#ececec;color:#007bff;width:4rem;height:4rem}.narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{padding:25px 15px 15px;border-radius:7px;background:#fff;box-shadow:0 0 9px #00000080;position:absolute;top:5px;left:9px;color:#000;font-size:16px;white-space:nowrap;z-index:1}.narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .gp-X[_ngcontent-%COMP%]{font-size:10px;position:absolute;top:12px;left:12px}.narrow[_nghost-%COMP%]   .round.more[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:10px}}@media screen and (min-width: 1200px){.narrow[_nghost-%COMP%]:hover{background-color:#e3f1fd}}@media screen and (min-width: 1200px) and (max-width: 1340px){.narrow[_nghost-%COMP%]:hover{height:auto;padding:5px 20px}}@media screen and (min-width: 1200px){.narrow[_nghost-%COMP%]:hover   .subtitle-line[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:1.6rem;padding-right:1.3rem}}@media screen and (min-width: 1200px) and (max-width: 1340px){.narrow[_nghost-%COMP%]:hover   .subtitle-line[_ngcontent-%COMP%]{padding-right:0}}@media screen and (min-width: 1200px){.narrow[_nghost-%COMP%]:hover   .task[_ngcontent-%COMP%]{display:flex;height:26px;font-size:13px;background:#fff}.narrow[_nghost-%COMP%]:hover   .task[_ngcontent-%COMP%]   .gp-task2[_ngcontent-%COMP%]{font-size:13px}}@media screen and (min-width: 1200px) and (max-width: 1340px){.narrow[_nghost-%COMP%]:hover   .task[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 1200px){.narrow[_nghost-%COMP%]:hover   .task_mini[_ngcontent-%COMP%]{color:#007bff;font-size:15px;margin:4px 10px 0}}@media screen and (min-width: 1200px) and (max-width: 1340px){.narrow[_nghost-%COMP%]:hover   .task_mini[_ngcontent-%COMP%]{display:block!important}}@media screen and (min-width: 1200px){.narrow[_nghost-%COMP%]:hover   .round[_ngcontent-%COMP%]{display:flex;width:2.6rem;height:2.6rem;font-size:1.6rem;margin:0 20px 0 0}}@media screen and (min-width: 1200px) and (max-width: 1340px){.narrow[_nghost-%COMP%]:hover   .round[_ngcontent-%COMP%]{margin:0}}"]})}}return i})()},93112(F,w,l){l.d(w,{v:()=>v});var t=l(91884),f=l(72200),u=l(67637),x=l(2615),g=l(73664);let v=(()=>{class m{static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275mod=g.$C({type:m})}static{this.\u0275inj=x.G2t({providers:[u.cN],imports:[f.MD,t.g]})}}return m})()},27904(F,w,l){l.d(w,{B:()=>_});var t=l(73664),f=l(67376),u=l(2615),x=l(72573),g=l(86953),v=l(35385),m=l(38132);const E=["root"],b=["*"];let M=(()=>{class a{constructor(){this.data=0}ngOnInit(){this.context=this.selfroot.nativeElement.children[0].getContext("2d"),this.colors=this.colors?this.colors.split(","):["#cccccc","#46BFBD"],this.widths=this.widths?this.widths.split(","):["#cccccc","#46BFBD"],this.currentStep=0,this.begin=-.5*Math.PI,this.draw(0)}ngOnChanges(o){if(o){var s=(o=Object(o)).data;if(0==s.currentValue)return;var r=0;s.currentValue!=s.previousValue&&(this.currentStep=this.delay=0,s.previousValue=s.previousValue||0,r=3.6*s.previousValue*Math.PI/180);var O=this;setTimeout(function(){O.step(3.6*s.currentValue*Math.PI/180-r,r)},this.delay||0)}}requestAnimFrame(){return window.requestAnimationFrame||function(o){return window.setTimeout(o,1e3/60)}}cancelAnimFrame(){return window.cancelAnimationFrame}easeInSine(o){return-1*Math.cos(o/1*(Math.PI/2))+1}draw(o){this.context&&(this.context.clearRect(0,0,this.context.canvas.width,this.context.canvas.height),this.context.beginPath(),this.context.lineWidth=this.widths[0],this.context.strokeStyle=this.colors[0],this.context.arc(.5*this.context.canvas.width,.5*this.context.canvas.height,70-this.widths[0]/2,0,2*Math.PI,!1),this.context.stroke(),this.context.beginPath(),this.context.lineWidth=this.widths[1],this.context.strokeStyle=this.colors[1],this.context.arc(.5*this.context.canvas.width,.5*this.context.canvas.height,70-this.widths[1]/2,this.begin,o+this.begin,!1),this.context.stroke(),this.context.beginPath(),this.context.lineWidth=this.widths[2],this.context.strokeStyle=this.colors[2],this.context.arc(.5*this.context.canvas.width,.5*this.context.canvas.height,70-this.widths[2]/2,this.begin,o+this.begin,!1),this.context.stroke())}step(o,s){var r=this;requestAnimationFrame(function(){var O=r.easeInSine(r.currentStep/30);r.draw(s+o*O),r.currentStep<30&&(r.currentStep++,r.step(o,s))})}static{this.\u0275fac=function(s){return new(s||a)}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["RadialData"]],viewQuery:function(s,r){if(1&s&&t.GBs(E,7),2&s){let O;t.mGM(O=t.lsd())&&(r.selfroot=O.first)}},inputs:{data:"data",delay:"delay",colors:"colors",widths:"widths"},standalone:!1,features:[t.OA$],ngContentSelectors:b,decls:5,vars:0,consts:[["root",""],[1,"radialData"]],template:function(s,r){1&s&&(t.NAR(),t.j41(0,"div",1,0),t.nrm(2,"canvas"),t.j41(3,"span"),t.SdG(4),t.k0s()())},styles:[".radialData[_ngcontent-%COMP%]{color:#fff;display:inline-flex;position:relative;font-size:35px;width:300px;margin-right:-90px}.radialData[_ngcontent-%COMP%]   canvas[_ngcontent-%COMP%]{position:absolute}.radialData[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin:50px auto;position:relative;font-size:3rem;font-weight:700}@media (max-width: 800px){.radialData[_ngcontent-%COMP%]{transform:scale(.8)}}"]})}}return a})();function k(a,C){if(1&a&&(t.j41(0,"div",8),t.nrm(1,"div"),t.j41(2,"span"),t.EFF(3),t.k0s()()),2&a){const o=t.XpG();t.R7$(),t.HbH("circle  "+(null==o.unit||null==o.unit.data?null:o.unit.data.unitType)),t.R7$(2),t.JRh(o.lang.translate("LIBRARY.PAGE.FILTERS["+(null==o.unit||null==o.unit.data?null:o.unit.data.unitType)+"]"))}}function y(a,C){if(1&a&&(t.j41(0,"div",9),t.EFF(1),t.k0s()),2&a){const o=t.XpG();t.Y8G("routerLink","/"+(null==o.tree.fields[o.field]?null:o.tree.fields[o.field].data.url_name)+"/unit/"+o.unit.data.cm_id),t.R7$(),t.SpI(" ",o.lang.translate("HEADER.LOGIN_TITLE"))}}function I(a,C){if(1&a&&(t.j41(0,"span"),t.EFF(1),t.j41(2,"div",18),t.EFF(3,"/"),t.k0s()()),2&a){const o=C.$implicit,s=t.XpG(2);t.R7$(),t.SpI("",s.tree.flat[s.isFlat?o:o._id][s.lang.getTitleField()]," ")}}function R(a,C){if(1&a&&(t.j41(0,"div",11),t.nrm(1,"div",15),t.EFF(2),t.j41(3,"strong"),t.EFF(4),t.k0s(),t.j41(5,"div",16),t.EFF(6,"|"),t.k0s(),t.EFF(7),t.j41(8,"strong"),t.EFF(9),t.k0s(),t.j41(10,"div",16),t.EFF(11,"|"),t.k0s(),t.EFF(12),t.j41(13,"strong"),t.EFF(14),t.k0s(),t.j41(15,"div",17),t.EFF(16,"|"),t.k0s(),t.nrm(17,"br"),t.EFF(18),t.j41(19,"strong"),t.Z7z(20,I,4,1,"span",null,t.fX1),t.k0s()()),2&a){const o=C.$implicit,s=t.XpG();t.R7$(2),t.SpI(" ",s.lang.translate("SEARCH.CLASS"),": "),t.R7$(2),t.JRh(s.lang.translate_title(s.tree.classes[s.isFlat?o.ageLevel:o.ageLevel._id])),t.R7$(3),t.SpI(" ",s.lang.translate("SEARCH.FIELD"),": "),t.R7$(2),t.JRh(s.isFlat?s.tree.flat[o.field][s.lang.getTitleField()]:s.tree.flat[o.field._id][s.lang.getTitleField()]),t.R7$(3),t.SpI(" ",s.lang.translate("SEARCH.TOPIC"),": "),t.R7$(2),t.JRh(s.isFlat?s.tree.flat[o.topic][s.lang.getTitleField()]:s.tree.flat[o.topic._id][s.lang.getTitleField()]),t.R7$(4),t.SpI(" ",s.lang.translate("UNIT_INFO.SUB_TOPICS"),": "),t.R7$(2),t.Dyx(o.subtopic)}}function U(a,C){if(1&a&&(t.j41(0,"h3"),t.EFF(1),t.k0s()),2&a){const o=t.XpG();t.R7$(),t.SpI("",o.lang.translate("UNIT_INFO.TOTAL"),":")}}function T(a,C){if(1&a&&(t.j41(0,"div",12)(1,"div",19)(2,"RadialData",20),t.EFF(3),t.k0s(),t.j41(4,"div",21),t.EFF(5),t.k0s()(),t.j41(6,"div",19)(7,"RadialData",20),t.EFF(8),t.k0s(),t.j41(9,"div",22),t.EFF(10),t.k0s()(),t.j41(11,"div",19)(12,"RadialData",20),t.EFF(13),t.k0s(),t.j41(14,"div",22),t.EFF(15),t.k0s()()()),2&a){const o=t.XpG();t.R7$(2),t.Y8G("data",100)("delay",0)("colors","#3AABFC,transparent,#3AABFC")("widths","15,50,15"),t.R7$(),t.SpI(" ",o.unit.data.NumAdaptiveQuestions?o.unit.data.NumAdaptiveQuestions:o.unit.data.ComputerCheckable+o.unit.data.TeacherCheckable),t.R7$(2),t.SpI("",o.lang.translate("UNIT_INFO.FROM"),":"),t.R7$(2),t.Y8G("data",o.teacherPercent)("delay",0)("colors","#3AABFC,transparent,#FEC803")("widths","15,50,15"),t.R7$(),t.JRh(o.unit.data.TeacherCheckable),t.R7$(2),t.JRh(o.lang.translate("UNIT_INFO.TEACHER_CHECK")),t.R7$(2),t.Y8G("data",o.computerPercent)("delay",0)("colors","#3AABFC,transparent,#FEC803")("widths","15,50,15"),t.R7$(),t.JRh(o.unit.data.NumAdaptiveQuestions?o.unit.data.NumAdaptiveQuestions:o.unit.data.ComputerCheckable),t.R7$(2),t.JRh(o.lang.translate("UNIT_INFO.COMPUTER_CHECK"))}}function S(a,C){if(1&a){const o=t.RV6();t.j41(0,"div",23),t.bIt("click",function(){u.eBV(o);const r=t.XpG();return u.Njj(r.assign())}),t.nrm(1,"i",24),t.EFF(2),t.k0s()}if(2&a){const o=t.XpG();t.R7$(2),t.SpI("\xa0 \xa0 ",o.lang.translate("ASSIGN"),"\xa0")}}let _=(()=>{class a{constructor(o,s,r){this.lang=o,this.treeService=s,this.router=r,this.isTeacher=!1,this.success=new t.bkB}ngOnInit(){if(this.treeService.catalogTree.subscribe(s=>{this.tree=s}),this.unit=f.cloneDeep(this.inputs.item),this.connected=!!this.inputs.connected&&this.inputs.connected,this.isTeacher=this.inputs.isTeacher,this.field=this.inputs.field?this.inputs.field:this.unit.associations[0].field._id,this.isFlat=!(this.unit.associations[0].field&&this.unit.associations[0].field._id),this.unitType=this.lang.translate("exam"==this.unit.data.unitType?"SEARCH.CONTENT_TYPE.EXAM":"SEARCH.CONTENT_TYPE.EXERCISE"),"adaptive_exercise"==this.unit.data.unitType&&!this.unit.data.NumAdaptiveQuestions&&(this.unit.data.NumAdaptiveQuestions=15),this.unit.data.TeacherCheckable){let s=this.unit.data.TeacherCheckable+this.unit.data.ComputerCheckable;this.teacherPercent=this.unit.data.TeacherCheckable/s*100,this.computerPercent=this.unit.data.ComputerCheckable/s*100}let o=this.unit.associations.reduce((s,r)=>{let O=r.ageLevel+"|"+r.field+"|"+r.topic;return s[O]?s[O].subtopic.push(r.subtopic):(s[O]=r,s[O].subtopic=[r.subtopic]),s},{});this.result=Object.values(o)}assign(){const s=[this.tree.fields[this.field]?this.tree.fields[this.field].data.url_name:this.field,"unit",this.unit.data.cm_id];this.success.emit(!0),this.router.navigate(s,{state:{openAssignTaskOnInit:!0}}),this.destroy()}static{this.\u0275fac=function(s){return new(s||a)(t.rXU(x.L),t.rXU(g.y),t.rXU(v.Ix))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["unit-info-modal"]],outputs:{success:"success"},standalone:!1,decls:23,vars:13,consts:[[1,"header"],[1,"close",3,"click"],[1,"gp","gp-X-light"],[1,"content"],[1,"mainInfo"],[1,"tigris"],[1,"info"],[1,"more"],[1,"type"],[1,"enter",3,"routerLink"],[1,"connections"],[1,"subject"],[1,"totalInfo"],[1,"footer"],[1,"assignButton"],[2,"direction","ltr"],[1,"sep"],[1,"sep","last"],[1,"slash"],[1,"part"],[3,"data","delay","colors","widths"],[1,"from","big"],[1,"from"],[1,"assignButton",3,"click"],[1,"gp","gp-task2"]],template:function(s,r){1&s&&(t.j41(0,"div",0)(1,"span"),t.EFF(2),t.k0s(),t.j41(3,"div",1),t.bIt("click",function(){return r.destroy()}),t.nrm(4,"i",2),t.k0s()(),t.j41(5,"div",3)(6,"div",4)(7,"h2",5),t.EFF(8),t.k0s(),t.j41(9,"div",6),t.EFF(10),t.k0s(),t.j41(11,"div",7),t.nVh(12,k,4,3,"div",8),t.nVh(13,y,2,2,"div",9),t.k0s()(),t.j41(14,"div",10)(15,"h3"),t.EFF(16),t.k0s(),t.Z7z(17,R,22,7,"div",11,t.fX1),t.k0s(),t.nVh(19,U,2,1,"h3"),t.nVh(20,T,16,18,"div",12),t.j41(21,"div",13),t.nVh(22,S,3,1,"div",14),t.k0s()()),2&s&&(t.R7$(2),t.JRh(r.lang.translate("INFO.MORE_INFO")),t.R7$(5),t.AVh("ltr",null==r.inputs?null:r.inputs.isEnglishUnit),t.R7$(),t.JRh(r.lang.translate_title(r.unit)),t.R7$(),t.AVh("ltr",null==r.inputs?null:r.inputs.isEnglishUnit),t.R7$(),t.SpI(" ",null==r.unit.data?null:r.unit.data.teaser," "),t.R7$(2),t.vxM(null!=r.unit&&null!=r.unit.data&&r.unit.data.unitType?12:-1),t.R7$(),t.vxM(r.connected?-1:13),t.R7$(3),t.SpI("",r.lang.translate("UNIT_INFO.LINKS"),":"),t.R7$(),t.Dyx(r.result),t.R7$(2),t.vxM(r.unit.data.ComputerCheckable||r.unit.data.TeacherCheckable?19:-1),t.R7$(),t.vxM(r.unit.data.ComputerCheckable||r.unit.data.TeacherCheckable?20:-1),t.R7$(2),t.vxM(r.isTeacher&&(1==r.inputs.isInPackage||r.inputs.isOpen||r.inputs.noPkgNeeded)&&!r.unit.data.isNotAssignable?22:-1))},dependencies:[m.Wk,M],styles:["[_nghost-%COMP%]{background-color:#fff;width:60vw;border-radius:12px;font-size:1.6rem}@media screen and (max-width: 992px){[_nghost-%COMP%]{width:100vw;border-radius:0}}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;color:#878786;padding:2rem 8rem .5rem 2rem;justify-content:space-between;font-size:1.8rem;border-radius:12px 12px 0 0;font-weight:600}@media screen and (max-width: 992px){[_nghost-%COMP%]   .header[_ngcontent-%COMP%]{border-radius:0;padding-right:3rem}}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{line-height:1.2}[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:1rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{padding:0 8rem 4rem;background-color:#fff;border-radius:12px;max-height:85vh;overflow-y:auto}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]{padding:5rem 3rem;border-radius:0}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;font-weight:600;border-bottom:1px solid rgba(48,48,48,.5);line-height:1.5;margin-top:3.2rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{border-bottom:none;font-size:2.2rem}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .mainInfo[_ngcontent-%COMP%]{line-height:3rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .mainInfo[_ngcontent-%COMP%]   .ltr[_ngcontent-%COMP%]{direction:ltr}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .mainInfo[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:2.6rem;margin-top:0;font-weight:700;margin-bottom:1rem;color:#ef5da8;font-size:4rem;line-height:1;margin-bottom:1.5rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .mainInfo[_ngcontent-%COMP%]   h2.tigris[_ngcontent-%COMP%]{font-family:AssistantDigits,Muli,Tigrisibiri}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .more[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;width:100%}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .more[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{bottom:1.5rem;display:inline-flex;align-items:center;font-size:1.6rem;font-weight:700;margin-top:1rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .more[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]   .circle[_ng
1content-%COMP%]{width:10px;height:10px;border-radius:50%;margin-left:10px}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .more[_ngcontent-%COMP%]   .enter[_ngcontent-%COMP%]{color:#007bff;margin-top:1rem;cursor:pointer;font-weight:700;font-weight:1.7rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .tags[_ngcontent-%COMP%]{font-size:1.6rem;margin-top:2rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .tags[_ngcontent-%COMP%]{border-top:1px solid rgba(48,48,48,.5);border-bottom:1px solid rgba(48,48,48,.5);line-height:3;margin-bottom:2rem}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .tags[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]{font-size:1.6rem;margin-bottom:4.8rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]{border-bottom:1px solid rgba(48,48,48,.5);padding-bottom:2rem;margin-bottom:2.2rem}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   .sep[_ngcontent-%COMP%]{width:2rem;text-align:center;display:inline-block}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   .sep.last[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:block}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   .slash[_ngcontent-%COMP%]{display:inline-block;width:1rem;text-align:center}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .connections[_ngcontent-%COMP%]   .subject[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-child   .slash[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]{font-size:1.4rem;height:14rem;margin-top:-4rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]{margin-top:0}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]{display:inline-flex;vertical-align:top;align-items:center;width:36%;margin-top:-1rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]:first-child{width:28%}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   RadialData[_ngcontent-%COMP%]{transform:scale(.36);transform-origin:right;width:10rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   RadialData[_ngcontent-%COMP%]     span{position:relative;font-size:5rem;line-height:5rem;color:#303030;font-weight:700}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]{width:50%;float:left;height:8rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   RadialData[_ngcontent-%COMP%]{transform:scale(.42)}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]:first-child{float:right;width:50%;height:16rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]:first-child   RadialData[_ngcontent-%COMP%]{transform:scale(.6)}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .from[_ngcontent-%COMP%]{margin-right:-3.5rem}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .from.big[_ngcontent-%COMP%]{font-size:1.6rem;font-weight:600}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .totalInfo[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .from.big[_ngcontent-%COMP%]{margin-right:0}}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{display:block;text-align:left;margin-bottom:15rem}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .assignButton[_ngcontent-%COMP%]{color:#fff;background-color:#007bff;padding:1.3rem 3rem;font-weight:700;border-radius:5rem;display:flex;margin-top:5rem;cursor:pointer;float:left;margin-bottom:3rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .assignButton[_ngcontent-%COMP%]{display:inline-flex;float:none}}[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .approved[_ngcontent-%COMP%]{float:right;margin-bottom:3rem}@media screen and (max-width: 992px){[_nghost-%COMP%]   .content[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .approved[_ngcontent-%COMP%]{margin-top:3rem}}"]})}}return a})()},91884(F,w,l){l.d(w,{g:()=>v});
1var t=l(38132),f=l(72200),u=l(73664),x=l(2615);let g=(()=>{class m{static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275mod=u.$C({type:m})}static{this.\u0275inj=x.G2t({imports:[f.MD]})}}return m})(),v=(()=>{class m{static{this.\u0275fac=function(M){return new(M||m)}}static{this.\u0275mod=u.$C({type:m})}static{this.\u0275inj=x.G2t({imports:[f.MD,t.iI,g]})}}return m})()},48964(F,w,l){l.d(w,{z:()=>U});var t=l(74523),f=l(84412),u=l(67376),g=l(97634),v=l(96354),m=l(25558),E=l(96697),b=l(87480),M=l(2615),k=l(29330),y=l(72573),I=l(85827),R=l(20677);let U=(()=>{class T{constructor(p,_,a,C){this.http=p,this.lang=_,this.user=a,this.lms_modal=C,this.MAX_UNITS_DISPLAY_IN_MULTI_ASSIGN=6,this.selectedUnits=new Map,this.selectedSubtopics=new Map,this.selectedUnitsSubj=new f.t([]),this.selectedUnitsObs=this.selectedUnitsSubj.asObservable()}toggleSelection(p){var _=this;return(0,t.A)(function*(){if(_.isSelected(p.data.cm_id)){_.selectedUnits.delete(p.data.cm_id);for(const[a,C]of _.selectedSubtopics.entries())C.includes(p.data.cm_id)&&_.selectedSubtopics.delete(a)}else yield _.selectUnit(p);_.emitSelectedItems()})()}selectUnit(p){var _=this;return(0,t.A)(function*(){let a=yield _.user.is720UnitF(p);u.assign(p,{is720Unit:a}),_.selectedUnits.set(p.data.cm_id,p)})()}isSelected(p){return this.selectedUnits.has(p)}isSelectedSubtopic(p){return this.selectedSubtopics.has(p)}toggleSubtopicSelection(p,_){var a=this;return(0,t.A)(function*(){a.isSelectedSubtopic(p)?(a.selectedSubtopics.delete(p),_.forEach(C=>a.selectedUnits.delete(C.data.cm_id))):(a.selectedSubtopics.set(p,_.map(C=>C.data.cm_id)),yield Promise.all(_.map(function(){var C=(0,t.A)(function*(o){return a.selectUnit(o)});return function(o){return C.apply(this,arguments)}}()))),a.emitSelectedItems()})()}emitSelectedItems(){this.selectedUnitsSubj.next(Array.from(this.selectedUnits.values()))}clearSelected(){this.selectedUnits.clear(),this.selectedSubtopics.clear(),this.emitSelectedItems()}assign(p){return this.lms_modal.registerViewContainerRef(p),this.user.userdata.pipe((0,E.s)(1),(0,m.n)(_=>(this.userdata=_,this.http.post(b.V2+"/api/site/getSiteMultipleUnits",{units:[...this.selectedUnits.keys()]}))),(0,v.T)(_=>_),(0,v.T)(_=>(u.forEach(_,a=>{u.assign(a,{Img:b.H2+u.get(a,"data.picture.value")||"",uniqId:`pro${a.Id}`,Url:b.V2+`/${this.selectedUnits.get(a.data.cm_id).field}/unit/${a.data.cm_id}?lang=`+this.lang.getLanguage().toLowerCase(),AiCheckable:this.selectedUnits.get(a.data.cm_id).data.AiCheckable&&!!a.TeacherCheckable,is720Unit:this.selectedUnits.get(a.data.cm_id).is720Unit})}),_))).subscribe(_=>{this.lms_modal.openModal(g.T,{units:_,multiAssign:!0,userdata:this.userdata,currentSchool:this.user.currentInfo.getValue().school,currentEmail:this.user.currentUserEmail,showExamReminders:!0,AiCheckable:this.user.currentInfo.getValue().school?.products?.ai_answer_check&&_.some(a=>a.data.AiCheckable),enableAiHelper:_.some(a=>a.is720Unit)}).instance.success.pipe((0,E.s)(1)).subscribe(a=>{a&&this.clearSelected()})},_=>{console.error(_),this.lms_modal.alert(this.lang.translate("LIBRARY.UNIT.ERROR_ASSIGN_UNITS"))})}static{this.\u0275fac=function(_){return new(_||T)(M.KVO(k.Qq),M.KVO(y.L),M.KVO(I.r),M.KVO(R.Bg))}}static{this.\u0275prov=M.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()}}]);

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.