1"use strict";(self.webpackChunknfj=self.webpackChunknfj||[]).push([[9843],{23370(tt,j,h){h.d(j,{w:()=>v});var v=function(r){return r.Currencies="currencies",r.Categories="categories",r.Titles="titles",r.Locations="locations",r.Seniorities="seniorities",r.Industries="industries",r.LanguageLevels="languageLevels",r.DevelopmentPaths="developmentPaths",r.SoftSkills="softSkills",r.Languages="languages",r.JobTitles="jobTitles",r.Schools="schools",r}(v||{})},67456(tt,j,h){h.d(j,{q:()=>R});var v=h(97763),m=h(89085),r=h(44668),f=h(23370),Y=h(47266),T=h(661);let R=(()=>{var t;class B extends v.XK{constructor(U){super(U),this.store=U,this.languages$=this.getDataList$(f.w.Languages).pipe((0,r.t)({bufferSize:1,refCount:!0}))}getDataList$(U){return this.select("dataLists").pipe((0,m.E)(U))}static#t=t=()=>(this.\u0275fac=function(A){return new(A||B)(Y.KVO(T.X))},this.\u0275prov=Y.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}))}return t(),B})()},86508(tt,j,h){h.d(j,["H",0,{arts:{nameI18n:"profile.HOBBY.arts",iconName:"arts"},audiobooks:{nameI18n:"profile.HOBBY.audiobooks",iconName:"audiobooks"},baking:{nameI18n:"profile.HOBBY.baking",iconName:"baking"},blogwriting:{nameI18n:"profile.HOBBY.blogwriting",iconName:"blogwriting"},boardgames:{nameI18n:"profile.HOBBY.boardgames",iconName:"boardgames"},ballooning:{nameI18n:"profile.HOBBY.ballooning",iconName:"balooning"},basketball:{nameI18n:"profile.HOBBY.basketball",iconName:"basketball"},billiards:{nameI18n:"profile.HOBBY.billiards",iconName:"billiards"},books:{nameI18n:"profile.HOBBY.books",iconName:"books"},bowling2:{nameI18n:"profile.HOBBY.bowling",iconName:"bowling2"},boxing:{nameI18n:"profile.HOBBY.boxing",iconName:"boxing"},canoeing:{nameI18n:"profile.HOBBY.canoeing",iconName:"canoeing"},cars:{nameI18n:"profile.HOBBY.cars",iconName:"cars"},chess:{nameI18n:"profile.HOBBY.chess",iconName:"chess"},classicguitar:{nameI18n:"profile.HOBBY.classicguitar",iconName:"classicguitar"},collecting:{nameI18n:"profile.HOBBY.collecting",iconName:"collecting"},computergames:{nameI18n:"profile.HOBBY.computer-games",iconName:"computer-games"},cooking:{nameI18n:"profile.HOBBY.cooking",iconName:"cooking"},cycling:{nameI18n:"profile.HOBBY.cycling",iconName:"cycling"},dancing:{nameI18n:"profile.HOBBY.dancing",iconName:"dancing"},designownclothes:{nameI18n:"profile.HOBBY.designownclothes",iconName:"designownclothes"},disco:{nameI18n:"profile.HOBBY.disco",iconName:"disco"},djing:{nameI18n:"profile.HOBBY.djing",iconName:"djing"},draw:{nameI18n:"profile.HOBBY.draw",iconName:"draw"},electricguitar:{nameI18n:"profile.HOBBY.electricguitar",iconName:"electricguitar"},familyexercises:{nameI18n:"profile.HOBBY.familyexercises",iconName:"family exercises"},familytime:{nameI18n:"profile.HOBBY.familytime",iconName:"familytime"},fencing:{nameI18n:"profile.HOBBY.fencing",iconName:"fencing"},filming2:{nameI18n:"profile.HOBBY.filming2",iconName:"filming2"},fishing:{nameI18n:"profile.HOBBY.fishing",iconName:"fishing"},fitness2:{nameI18n:"profile.HOBBY.fitness",iconName:"fitness2"},fixing:{nameI18n:"profile.HOBBY.fixing",iconName:"fixing"},football:{nameI18n:"profile.HOBBY.football",iconName:"football"},garden:{nameI18n:"profile.HOBBY.garden",iconName:"garden"},golf:{nameI18n:"profile.HOBBY.golf",iconName:"golf"},gym:{nameI18n:"profile.HOBBY.gym",iconName:"gym"},horseriding:{nameI18n:"profile.HOBBY.horseriding",iconName:"horse riding"},iceskating2:{nameI18n:"profile.HOBBY.iceskating",iconName:"ice-skating2"},makeownclothes:{nameI18n:"profile.HOBBY.makeownclothes",iconName:"makeownclothes"},middleages:{nameI18n:"profile.HOBBY.middleages",iconName:"middleages"},music:{nameI18n:"profile.HOBBY.music",iconName:"music"},movies:{nameI18n:"profile.HOBBY.movies",iconName:"movies"},musicplay:{nameI18n:"profile.HOBBY.musicplay",iconName:"musicplay"},outdoor:{nameI18n:"profile.HOBBY.outdoor",iconName:"outdoor"},ownprojects:{nameI18n:"profile.HOBBY.ownprojects",iconName:"own-projects"},painting:{nameI18n:"profile.HOBBY.painting",iconName:"painting"},piano:{nameI18n:"profile.HOBBY.piano",iconName:"piano"},pingpong:{nameI18n:"profile.HOBBY.pingpong",iconName:"pingpong"},plants:{nameI18n:"profile.HOBBY.plants",iconName:"plants"},playinstrument:{nameI18n:"profile.HOBBY.playinstrument",iconName:"play-instrument"},pottery:{nameI18n:"profile.HOBBY.pottery",iconName:"pottery"}
1,photography:{nameI18n:"profile.HOBBY.photography",iconName:"photography"},reading:{nameI18n:"profile.HOBBY.reading",iconName:"reading"},running:{nameI18n:"profile.HOBBY.running",iconName:"running"},sailing:{nameI18n:"profile.HOBBY.sailing",iconName:"sailing"},science:{nameI18n:"profile.HOBBY.science",iconName:"science"},scubadiving:{nameI18n:"profile.HOBBY.scubadiving",iconName:"scuba-diving"},sewing3:{nameI18n:"profile.HOBBY.sewing",iconName:"sewing3"},skateboarding:{nameI18n:"profile.HOBBY.skateboarding",iconName:"skateboarding"},skating:{nameI18n:"profile.HOBBY.skating",iconName:"skating"},skiing:{nameI18n:"profile.HOBBY.skiing",iconName:"skiing"},solarium:{nameI18n:"profile.HOBBY.solarium",iconName:"solarium"},sports:{nameI18n:"profile.HOBBY.sports",iconName:"sports"},streetfood:{nameI18n:"profile.HOBBY.streetfood",iconName:"streetfood"},surfing:{nameI18n:"profile.HOBBY.surfing",iconName:"surfing"},surfing2:{nameI18n:"profile.HOBBY.surfing",iconName:"surfing2"},swimming:{nameI18n:"profile.HOBBY.swimming",iconName:"swimming"},tenis:{nameI18n:"profile.HOBBY.tenis",iconName:"tenis"},tv:{nameI18n:"profile.HOBBY.tv",iconName:"tv"},traveling:{nameI18n:"profile.HOBBY.traveling",iconName:"traveling"},trekking:{nameI18n:"profile.HOBBY.trekking",iconName:"trekking"},volleyball:{nameI18n:"profile.HOBBY.volleyball",iconName:"volleyball"},weightlifting:{nameI18n:"profile.HOBBY.weightlifting",iconName:"weightlifting"},windsurfing:{nameI18n:"profile.HOBBY.windsurfing",iconName:"windsurfing"},writing:{nameI18n:"profile.HOBBY.writing",iconName:"writing"},yachting:{nameI18n:"profile.HOBBY.yachting",iconName:"yachting"},yoga:{nameI18n:"profile.HOBBY.yoga",iconName:"yoga"}},"R",0,["arts","audiobooks","baking","ballooning","basketball","billiards","blogwriting","boardgames","books","bowling2","boxing","canoeing","cars","chess","classicguitar","collecting","computergames","cooking","cycling","dancing","designownclothes","disco","djing","draw","electricguitar","familyexercises","familytime","fencing","filming2","fishing","fitness2","fixing","football","garden","golf","gym","horseriding","iceskating2","makeownclothes","middleages","movies","music","musicplay","outdoor","ownprojects","painting","playinstrument","reading","scubadiving","skiing","swimming","traveling","trekking","yoga","plants","piano","pingpong","photography","pottery","running","sailing","science","sewing3","skateboarding","skating","solarium","sports","streetfood","surfing","tenis","tv","volleyball","weightlifting","windsurfing","writing","yachting"]])},42415(tt,j,h){h.d(j,{E:()=>c});var v=h(49769),m=h(47266),r=h(42822),f=h(816),Y=h(58588),T=h(7854),R=h(35547);const t=["*"];function B(U,A){if(1&U){const q=R.RV6();R.j41(0,"inline-icon",1),R.bIt("click",function(){m.eBV(q);const F=R.XpG();return m.Njj(F.remove.emit())}),R.k0s()}}let c=(()=>{var U;class A{constructor(){this.remove=new m.bkB,(0,Y.N)([T.k])}static#t=U=()=>(this.\u0275fac=function(F){return new(F||A)},this.\u0275cmp=R.VBU({type:A,selectors:[["common-profile-chip-item"]],hostVars:2,hostBindings:function(F,G){2&F&&R.AVh("preview-mode",G.isPreviewMode)},inputs:{isPreviewMode:"isPreviewMode"},outputs:{remove:"remove"},ngContentSelectors:t,decls:2,vars:1,consts:[["class","tw-ml-2 cursor-pointer","style","--width: 12px; --height: 12px","commonIcon","close",3,"click",4,"ngIf"],["commonIcon","close",1,"tw-ml-2","cursor-pointer",2,"--width","12px","--height","12px",3,"click"]],template:function(F,G){1&F&&(R.NAR(),R.SdG(0),R.DNE(1,B,1,0,"inline-icon",0)),2&F&&(R.R7$(),R.Y8G("ngIf",!G.isPreviewMode))},dependencies:[v.bT,r.W,f.I],styles:["[_nghost-%COMP%]{height:32px;display:inline-flex;padding:5px 8px;border-radius:16px;align-items:center;background:#e7f1fd;font-size:15px;color:#191919}.drag-container[_nghost-%COMP%] .chip[_ngcontent-%COMP%], .drag-container [_nghost-%COMP%] .chip[_ngcontent-%COMP%]{padding-left:25px}"]}))}return U(),A})()},13595(tt,j,h){h.d(j,{A:()=>f});var v=h(68018),m=h(35547);const r=["*"];let f=(()=>{var Y;class T{static#t=Y=()=>(this.\u0275fac=function(B){return new(B||T)},this.\u0275cmp=m.VBU({type:T,selectors:[["common-data-label"]],inputs:{labelText:"labelText"},ngContentSelectors:r,decls:5,vars:3,consts:[[1,"tw-text-xs","tw-text-gray-60"],[1,"tw-mb-0","desktop:tw-text-base","tw-text-xs","tw-break-words"]],template:function(B,c){1&B&&(m.NAR(),m.rj2(0,"span",0),m.EFF(1),m.nI1(2,"translate"),m.eux(),m.rj2(3,"p",1),m.SdG(4),m.eux()),2&B&&(m.R7$(),m.SpI(" ",m.bMT(2,1,c.labelText),"\n"))},dependencies:[v.h,v.D9],encapsulation:2}))}return Y(),T})()},66275(tt,j,h){h.d(j,{$:()=>K});var v=h(81391),m=h(49769),r=h(47266),f=h(10498),Y=h(20149),T=h(9300),R=h(17723),t=h(42822),B=h(28776),c=h(35547);let U=(()=>{var C;class O{transform(y,P,k,xt="id"){const yt=P.length;let bt;return bt="number"==typeof k?k-yt>0?k-yt:0:void 0,y.filter(Tt=>!P.find($t=>$t[xt]===Tt[xt])).slice(0,bt)}static#t=C=()=>(this.\u0275fac=function(P){return new(P||O)},this.\u0275pipe=c.EJ8({name:"searchableItems",type:O,pure:!0}))}return C(),O})();const A=()=>[],q=(C,O)=>({item:C,index:O}),et=(C,O,I)=>({$implicit:C,index:O,custom:I}),F=(C,O)=>({cancel:C,accept:O}),G=(C,O)=>({$implicit:C,index:O,selected:!1}),nt=(C,O)=>({addAndEdit:C,add:O});function z(C,O){1&C&&c.nrm(0,"div",11)}function H(C,O){1&C&&(c.j41(0,"div",15),c.nrm(1,"inline-icon",16),c.k0s())}function it(C,O){if(1&C){const I=c.RV6();c.j41(0,"div",17)(1,"div",18),c.bIt("click",function(){r.eBV(I);const P=c.XpG(2).$implicit,k=c.XpG(2);
1return r.Njj(k.startEdit(P))}),c.nrm(2,"inline-icon",19),c.k0s()()}}function D(C,O){if(1&C){const I=c.RV6();c.qex(0),c.DNE(1,H,2,0,"div",12)(2,it,3,0,"div",13),c.j41(3,"nfj-checkbox",14),c.bIt("checkedChange",function(){r.eBV(I);const P=c.XpG().$implicit,k=c.XpG(2);return r.Njj(k.unselect(P))}),c.k0s(),c.bVm()}if(2&C){const I=c.XpG().$implicit,y=c.XpG(2);c.R7$(),c.Y8G("ngIf",y.dragPossible),c.R7$(),c.Y8G("ngIf",I.custom&&y.editPossible),c.R7$(),c.Y8G("checked",!0)}}function vt(C,O){}function W(C,O){if(1&C&&(c.qex(0),c.DNE(1,vt,0,0,"ng-template",20),c.bVm()),2&C){const I=c.XpG(),y=I.$implicit,P=I.index,k=c.XpG(2);c.R7$(),c.Y8G("ngTemplateOutlet",k.itemTemplate)("ngTemplateOutletContext",c.sMw(2,et,y,P,!!y.custom))}}function Q(C,O){}function It(C,O){if(1&C&&(c.j41(0,"div",21),c.DNE(1,Q,0,0,"ng-template",20),c.k0s()),2&C){const I=c.XpG().$implicit,y=c.XpG(2);c.R7$(),c.Y8G("ngTemplateOutlet",y.itemEditTemplate)("ngTemplateOutletContext",c.l_i(2,F,y.cancelEdit(I),y.acceptEdit(I)))}}function gt(C,O){if(1&C){const I=c.RV6();c.j41(0,"div",5),c.bIt("cdkDropListDropped",function(P){r.eBV(I);const k=c.XpG(2);return r.Njj(k.drop(P))}),c.j41(1,"div",6)(2,"div",7),c.DNE(3,z,1,0,"div",8)(4,D,4,3,"ng-container",1),c.j41(5,"div",9),c.bIt("click",function(){const P=r.eBV(I).$implicit,k=c.XpG(2);return r.Njj(k.canUnselect(P)&&k.unselect(P))}),c.DNE(6,W,2,6,"ng-container",1)(7,It,2,5,"div",10),c.k0s()()()()}if(2&C){const I=O.$implicit,y=O.index,P=c.XpG(2);c.AVh("isEdit",I.isEdit),c.Y8G("cdkDropListData",c.l_i(10,q,I,y))("ngClass",P.itemContainerClass),c.R7$(2),c.Y8G("cdkDragDisabled",!P.dragPossible||I.isEdit||!P.addingEnabled),c.R7$(2),c.Y8G("ngIf",!P.isPreviewOnly&&!I.isEdit&&P.addingEnabled),c.R7$(),c.AVh("cursor-pointer",P.canUnselect(I)),c.R7$(),c.Y8G("ngIf",!I.isEdit),c.R7$(),c.Y8G("ngIf",I.isEdit)}}function V(C,O){if(1&C){const I=c.RV6();c.j41(0,"nfj-checkbox",26),c.bIt("checkedChange",function(){r.eBV(I);const P=c.XpG().$implicit,k=c.XpG(2);return r.Njj(k.select(P))}),c.k0s()}if(2&C){const I=c.XpG(3);c.Y8G("disabled",I.isSelectionsLimitReached)("checked",!1)}}function at(C,O){}function ht(C,O){if(1&C){const I=c.RV6();c.j41(0,"div",22)(1,"div",23),c.DNE(2,V,1,2,"nfj-checkbox",24),c.j41(3,"div",25),c.bIt("click",function(){const P=r.eBV(I).$implicit,k=c.XpG(2);return r.Njj(!k.isSelectionsLimitReached&&k.canSelect&&k.select(P))}),c.DNE(4,at,0,0,"ng-template",20),c.k0s()()()}if(2&C){const I=O.$implicit,y=O.index,P=c.XpG(2);c.Y8G("ngClass",P.itemContainerClass),c.R7$(2),c.Y8G("ngIf",P.canSelect),c.R7$(),c.AVh("cursor-pointer",!P.isSelectionsLimitReached&&P.canSelect),c.R7$(),c.Y8G("ngTemplateOutlet",P.itemTemplate)("ngTemplateOutletContext",c.l_i(6,G,I,y))}}function dt(C,O){}function ct(C,O){if(1&C&&(c.j41(0,"div",22)(1,"div",23)(2,"div",21),c.DNE(3,dt,0,0,"ng-template",27),c.k0s()()()),2&C){const I=c.XpG(2);c.Y8G("ngClass",I.itemContainerClass),c.R7$(3),c.Y8G("ngTemplateOutletContext",c.l_i(3,F,I.cancelEdit(I.toAdd),I.acceptEdit(I.toAdd)))("ngTemplateOutlet",I.itemEditTemplate)}}function mt(C,O){if(1&C&&(c.qex(0),c.DNE(1,gt,8,13,"div",2)(2,ht,5,9,"div",3),c.nI1(3,"searchableItems"),c.DNE(4,ct,4,6,"div",4),c.bVm()),2&C){const I=c.XpG();c.R7$(),c.Y8G("ngForOf",I.selected)("ngForTrackBy",I.trackByFn),c.R7$(),c.Y8G("ngForOf",c.ii3(3,5,I.availableItems||c.lJ4(10,A),I.selected,I.limitAllVisibleItems,I.idProperty))("ngForTrackBy",I.trackByFn),c.R7$(2),c.Y8G("ngIf",I.toAdd)}}function pt(C,O){if(1&C){const I=c.RV6();c.qex(0),c.j41(1,"nfj-checkbox",14),c.bIt("checkedChange",function(){r.eBV(I);const P=c.XpG().$implicit,k=c.XpG(2);return r.Njj(k.unselect(P))}),c.k0s(),c.bVm()}2&C&&(c.R7$(),c.Y8G("checked",!0))}function rt(C,O){}function Ct(C,O){if(1&C&&(c.qex(0),c.DNE(1,rt,0,0,"ng-template",20),c.bVm()),2&C){const I=c.XpG(),y=I.$implicit,P=I.index,k=c.XpG(2);c.R7$(),c.Y8G("ngTemplateOutlet",k.itemTemplate)("ngTemplateOutletContext",c.s
1Mw(2,et,y,P,!!y.custom))}}function Z(C,O){if(1&C){const I=c.RV6();c.j41(0,"div",22)(1,"div",6)(2,"div",28),c.DNE(3,pt,2,1,"ng-container",1),c.j41(4,"div",9),c.bIt("click",function(){const P=r.eBV(I).$implicit,k=c.XpG(2);return r.Njj(k.canUnselect(P)&&k.unselect(P))}),c.DNE(5,Ct,2,6,"ng-container",1),c.k0s()()()()}if(2&C){const I=O.$implicit,y=c.XpG(2);c.Y8G("ngClass",y.itemContainerClass),c.R7$(3),c.Y8G("ngIf",!y.isPreviewOnly&&!I.isEdit&&y.addingEnabled),c.R7$(),c.AVh("cursor-pointer",y.canUnselect(I)),c.R7$(),c.Y8G("ngIf",!I.isEdit)}}function X(C,O){if(1&C){const I=c.RV6();c.j41(0,"nfj-checkbox",26),c.bIt("checkedChange",function(){r.eBV(I);const P=c.XpG().$implicit,k=c.XpG(2);return r.Njj(k.select(P))}),c.k0s()}if(2&C){const I=c.XpG(3);c.Y8G("disabled",I.isSelectionsLimitReached)("checked",!1)}}function b(C,O){}function E(C,O){if(1&C){const I=c.RV6();c.j41(0,"div",22)(1,"div",23),c.DNE(2,X,1,2,"nfj-checkbox",24),c.j41(3,"div",25),c.bIt("click",function(){const P=r.eBV(I).$implicit,k=c.XpG(2);return r.Njj(!k.isSelectionsLimitReached&&k.canSelect&&k.select(P))}),c.DNE(4,b,0,0,"ng-template",20),c.k0s()()()}if(2&C){const I=O.$implicit,y=O.index,P=c.XpG(2);c.Y8G("ngClass",P.itemContainerClass),c.R7$(2),c.Y8G("ngIf",P.canSelect),c.R7$(),c.AVh("cursor-pointer",!P.isSelectionsLimitReached&&P.canSelect),c.R7$(),c.Y8G("ngTemplateOutlet",P.itemTemplate)("ngTemplateOutletContext",c.l_i(6,G,I,y))}}function $(C,O){if(1&C&&(c.qex(0),c.DNE(1,Z,6,5,"div",3)(2,E,5,9,"div",3),c.nI1(3,"searchableItems"),c.bVm()),2&C){const I=c.XpG();c.R7$(),c.Y8G("ngForOf",I.selectedSearchResults)("ngForTrackBy",I.trackByFn),c.R7$(),c.Y8G("ngForOf",c.ii3(3,4,I.availableItems||c.lJ4(9,A),I.selected,I.limitAllVisibleItems,I.idProperty))("ngForTrackBy",I.trackByFn)}}function x(C,O){}function S(C,O){if(1&C&&c.DNE(0,x,0,0,"ng-template",20),2&C){const I=c.XpG();c.Y8G("ngTemplateOutlet",I.itemAddTemplate)("ngTemplateOutletContext",c.l_i(2,nt,I.addNewAndEdit,I.addNew))}}let K=(()=>{var C;class O{constructor(){this.selectedChange=new r.bkB,this.itemEdit=new r.bkB,this.isPreviewOnly=!1,this.containerClass="tw-grid tw-grid-cols-12 tw-gap-x-8",this.limitAllVisibleItems=!1,this.limitSelectedItems=!1,this.idProperty="id",this.dragPossible=!0,this.editPossible=!0,this.addPossible=!0,this.showAvailableOnly=!1,this.selected=[],this.selectedSearchResults=[],this.toAdd=null,this.addingEnabled=!0,this.toggleSelect=y=>{this.selected.find(P=>P[this.idProperty]===y[this.idProperty])?this.unselect(y):this.select(y)},this.trackByFn=(y,P)=>P[this.idProperty],this.addNewAndEdit=()=>{const y={...this.createCustom(),isEdit:!0,isNew:!0};this.toAdd=y,this.addingEnabled=!1,this.itemEdit.next(y)},this.addNew=y=>{const P=Array.isArray(y)?y:[y];this.select(P.map(k=>({...this.createCustom(y[this.idProperty]),...k})))},this.acceptEdit=y=>P=>{const k={...y,...P};k.isNew?(this.selected.unshift((0,f.A)(k,["isEdit","isNew"])),this.toAdd=null):this.selected=this.selected.map(yt=>yt[this.idProperty]===k[this.idProperty]?(0,f.A)(k,["isEdit","isNew"]):yt),this.updateLimit(),this.onSelectedChange(),this.addingEnabled=!0},this.cancelEdit=y=>()=>{y.isNew?(this.toAdd=null,this.addingEnabled=!0):this.acceptEdit(y)(null)},(0,T.r)([R.mdIconsEdit])}get canSelect(){return!this.isPreviewOnly&&this.addingEnabled}canUnselect(y){return!this.isPreviewOnly&&!y.isEdit&&this.addingEnabled}ngOnChanges(y){y.selectedItems&&Array.isArray(this.selectedItems)&&(this.selected=[...this.selectedItems]),(y.limitSelectedItems?.currentValue||y.selectedItems?.currentValue)&&this.updateLimit(),y.showAvailableOnly&&(this.selectedSearchResults=[])}select(y,P=!0){const k=Array.isArray(y)?y:[y];this.selected=this.selected.concat(k),this.showAvailableOnly&&(this.selectedSearchResults=this.selectedSearchResults.concat(k)),this.updateLimit(),P&&this.onSelectedChange()}unselect(y,P=!0){this.selected=this.selected.filter(k=>k[this.idProperty]!==y[this.idProperty]),this.showAvailableOnly&&(this.selectedSearchResults=this.selectedSearchResults.filter(k=>k[this.idProperty]!==y[this.idProperty])),this.updateLimit(),P&&this.onSelectedChange()}startEdit(y){this.selected=this.selected.map(P=>P[this.idProperty]===y[this.idProperty]?{...P,isEdit:!0}:P),this.addingEnabled=!1,this.itemEdit.next(y)}onSelectedChange(){this.selectedChange.emit(this.selected)}createCustom(y){return{[this.idProperty]:y||Date.now()+"_custom",custom:!0}}updateLimit(){this.isSelectionsLimitReached=!!this.limitSelectedItems&&this.selected.length===this.limitSelectedItems}drop(y){this.selected=this.selected.filter(P=>P!==y.previousContainer.data.item),this.selected=[...this.selected.slice(0,y.container.data.index),y.previousContainer.data.item,...this.selected.slice(y.container.data.index)],this.onSelectedChange()}static#t=C=()=>(this.\u0275fac=function(P){return new(P||O)},this.\u0275cmp=c.VBU({type:O,selectors:[["common-profile-items-picker"]],inputs:{selectedItems:"selectedItems",isPreviewOnly:"isPreviewOnly",availableItems:"availableItems",containerClass:"containerClass",limitAllVisibleItems:"limitAllVisibleItems",limitSelectedItems:"limitSelectedItems",itemTemplate:"itemTemplate",itemEditTemplate:"itemEditTemplate",itemAddTemplate:"itemAddTemplate",itemContainerClass:"itemContainerClass",idProperty:"idProperty",dragPossible:"dragPossible",editPossible:"editPossible",addPossible:"addPossible",showAvailableOnly:"showAvailableOnly"},outputs:{selectedChange:"selectedChange",itemEdit:"itemEdit"},features:[c.OA$],decls:4,vars:5,consts:[["cdkDropListGroup","",3,"ngClass","cdkDropListGroupDisabled"],[4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",3,"cdkDropListData","isEdit","ngClass","cdkDropListDropped",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngClass",4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",3,"cdkDropListDropped","cdkDropListData","ngClass"],[1,"item-container"],["cdkDrag","",1,"selected","drag-container",3,"cdkDragDisabled"],["class","custom-placeholder",4,"cdkDragPlaceholder"],[3,"click"],["class","edit-mode",4,"ngIf"],[1,"custom-placeholder"],["class","drag-handle tw-flex tw-justify-center","cdkDragHandle","",4,"ngIf"],["class","edit-container tw-flex tw-justify-end",4,"ngIf"],[3,"checkedChange","checked"],["cdkDragHandle","",1,"drag-handle","tw-flex","tw-justify-center"],["matIcon","drag_indicator"],[1,"edit-container","tw-flex","tw-justify-end"],[1,"edit-icon",3,"click"],["matIcon","edit"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"edit-mode"],[3,"ngClass"],[1,"item-container","unselected"],[3,"disabled","checked","checkedChange",4,"ngIf"],[1,"item-overlay",3,"click"],[3,"checkedChange","disabled","checked"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"selected","drag-container"]],template:function(P,k){1&P&&(c.j41(0,"div",0),c.DNE(1,mt,5,11,"ng-container",1)(2,$,4,10,"ng-container",1),c.k0s(),c.DNE(3,S,1,5,null,1)),2&P&&(c.Y8G("ngClass",k.containerClass)("cdkDropListGroupDisabled",k.isPreviewOnly||!k.dragPossible),c.R7$(),c.Y8G("ngIf",!k.showAvailableOnly),c.R7$(),c.Y8G("ngIf",k.showAvailableOnly),c.R7$(),c.Y8G("ngIf",!k.showAvailableOnly&&k.addPossible&&k.addingEnabled&&!k.isSelectionsLimitReached))},dependencies:[v.RK,m.YU,m.bT,m.Sq,v.O7,v.T1,v.EM,v.Fb,t.W,B.w,Y.P,m.T3,U],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]{transition:all .3s}[_nghost-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]:active, [_nghost-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]:hover{color:#1271ed}[_nghost-%COMP%] .cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}
1[_nghost-%COMP%] .cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-preview[_ngcontent-%COMP%]{z-index:1040!important;background:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}nfj-checkbox[_ngcontent-%COMP%]{position:absolute;top:5px;left:10px;z-index:3}nfj-checkbox[_ngcontent-%COMP%] label:before{border-color:#191919}.item-overlay[_ngcontent-%COMP%]{opacity:.5}.edit-container[_ngcontent-%COMP%]{position:absolute;right:0;top:-15px;z-index:3}.edit-icon[_ngcontent-%COMP%], [_nghost-%COMP%] .remove-icon{cursor:pointer;border:solid 1px #111111;border-radius:50%;width:30px;height:30px;display:flex;justify-content:center;align-items:center;background-color:#fff}.edit-icon[_ngcontent-%COMP%] inline-icon[_ngcontent-%COMP%], [_nghost-%COMP%] .remove-icon inline-icon{--%NS%width: 18px;--%NS%height: 18px}.item-container[_ngcontent-%COMP%]{position:relative;margin-top:15px;margin-bottom:15px}.drag-handle[_ngcontent-%COMP%]{position:absolute;top:-24px;left:0;right:0;text-align:center}.drag-handle[_ngcontent-%COMP%] inline-icon[_ngcontent-%COMP%]{transform:rotate(90deg);color:#757575;cursor:grab;transition:all .3s}.drag-handle[_ngcontent-%COMP%] inline-icon[_ngcontent-%COMP%]:hover, .drag-handle[_ngcontent-%COMP%] inline-icon[_ngcontent-%COMP%]:active{color:#1271ed}[_nghost-%COMP%] .overlay:after{content:"";display:block;position:absolute;inset:0}[_nghost-%COMP%] .overlay--%NS%fade:after{background:linear-gradient(transparent,#00000080)}[_nghost-%COMP%] .remove-icon.remove-icon{position:absolute;right:0;top:-15px;display:flex;align-items:center;justify-content:center;z-index:3;--%NS%width: 18px;--%NS%height: 18px}[_nghost-%COMP%] .img-grayscale{filter:grayscale(100%)}']}))}return C(),O})()},8372(tt,j,h){h.d(j,{z:()=>v});var v=function(m){return m.People="people",m.Books="books",m.Watchlist="videos",m.Podcasts="podcasts",m.Projects="projects",m}(v||{})},31241(tt,j,h){h.d(j,{_:()=>m});var v=h(35547);let m=(()=>{var r;class f{constructor(){}static#t=r=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=v.FsC({type:f,selectors:[["","commonProfileSearchableListPlaceholder",""]]}))}return r(),f})()},73838(tt,j,h){h.d(j,{T:()=>m});var v=h(35547);let m=(()=>{var r;class f{constructor(){}static#t=r=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=v.FsC({type:f,selectors:[["","commonProfileSearchableListResults",""]]}))}return r(),f})()},23219(tt,j,h){h.d(j,{r:()=>Z});var v=h(15215),m=h(49769),r=h(91413),f=h(35547),Y=h(89417),T=h(68018),R=h(84412),t=h(84572),B=h(7673),c=h(99437),U=h(70152),A=h(23294),q=h(5964),et=h(44668),F=h(99172),G=h(25558),nt=h(88141),z=h(65943),H=h(8083),it=h(17723),D=h(42822),vt=h(28776),W=h(9300),Q=h(31241),It=h(73838),gt=h(47266);const V=(X,b,E)=>({$implicit:X,searchTerm:b,activeSearch:E});function at(X,b){if(1&X){const E=f.RV6();f.j41(0,"inline-icon",8),f.bIt("click",function(){gt.eBV(E);const x=f.XpG(2);return gt.Njj(x.clearSearch())}),f.k0s()}}function ht(X,b){if(1&X){const E=f.RV6();f.j41(0,"nfj-form-field",3),f.nrm(1,"inline-icon",4),f.j41(2,"input",5),f.bIt("keydown",function(x){gt.eBV(E);const S=f.XpG();return gt.Njj(S.preventSubmitEnter(x))}),f.k0s(),f.qAN(),f.j41(3,"label",6),f.EFF(4),f.nI1(5,"translate"),f.k0s(),f.DNE(6,at,1,0,"inline-icon",7),f.k0s()}if(2&X){const E=f.XpG();f.R7$(2),f.Y8G("formControl",E.searchControl),f.BMQ("id",E.sectionName+"-input-clicked"),f.QXe(),f.R7$(2),f.JRh(f.bMT(5,4,"profile.ACCOUNT.SEARCH")),f.R7$(2),f.Y8G("ngIf",E.searchTerm)}}function dt(X,b){}function ct(X,b){}function mt(X,b){if(1&X&&(f.j41(0,"div",14),f.DNE(1,ct,0,0,"ng-template",15),f.k0s()),2&X){const E=f.XpG(3);f.R7$(),f.Y8G("ngTemplateOutlet",E.placeholderTmpl)}}function pt(X,b){if(1&X&&(f.j41(0,"div",16),f.EFF(1),f.nI1(2,"translate"),f.k0s()),2&X){const E=f.XpG(3);f.R7$(),f.SpI(" ",f.bMT(2,1,E.noResultsPlaceholderTxt)," ")}}function rt(X,b){if(1&X&&(f.qex(0),f.j41(1,"div",10)(2,"div",11),f.DNE(3,mt,2,1,"div",12)(4,pt,3,3,"div",13),f.k0s()(),f.bVm()),2&X){const E=f.XpG(2);f.R7$(3),f.Y8G("ngIf",E.placeholderTmpl),f.R7$(),f.Y8G("ngIf",E.noResultsPlaceholderTxt)}}function Ct(X,b){if(1&X&&(f.qex(0),f.DNE(1,dt,0,0,"ng-template",9),f.nI1(2,"async"),f.DNE(3,rt,5,2,"ng-container",2),f.nI1(4,"async"),f.bVm()),2&X){const E=f.XpG();f.R7$(),f.Y8G("ngTemplateOutlet",E.resultsTmpl)("ngTemplateOutletContext",f.sMw(7,V,f.bMT(2,3,E.results),E.searchTerm,E.activeSearch)),f.R7$(2),f.Y8G("ngIf",0===f.bMT(4,5,E.results)?.length&&E.searchTerm)}}let Z=(()=>{var X;class b{set searchParams($){this.params$.next({...this.params$.getValue(),...$})}constructor($){this.http=$,this.searchControl=new Y.hs,this.params$=new R.t(null),this.showSearchInput=!0,this.maxResults=6,this.withoutParams=!1,this.noResultsPlaceholderTxt="profile.NO_RESULTS_FOUND",this.sectionName="",this.searchOnEmpty=!0,this.results=this.getSearch$(),this.activeSearch=!1,this.searchTerm="",(0,W.r)([it.mdIconsClose])}getSearch$(){const $=this.searchControl.valueChanges.pipe((0,U.B)(500),(0,A.F)(),(0,F.Z)(""),
1(0,nt.M)(x=>{this.searchTerm=x}),(0,q.p)(x=>x||this.searchOnEmpty));return(0,t.z)([this.withoutParams?(0,B.of)({}):this.params$.asObservable(),$]).pipe((0,G.n)(([x,S])=>this.performSearch(this.type,S,new r.Nl({fromObject:{...x,maxResults:this.maxResults.toString()}}).toString())),(0,et.t)({bufferSize:1,refCount:!0}))}performSearch($,x,S){return this.http.get(`/api/candidates/${$}/${x?"search":"predefined"}?${S}`,x?{params:{query:x}}:{}).pipe((0,c.W)(()=>(0,B.of)([])))}clearSearch(){this.searchTerm="",this.searchControl.setValue("")}preventSubmitEnter($){return"Enter"!==$.key}static#t=X=()=>(this.\u0275fac=function(x){return new(x||b)(f.rXU(r.Qq))},this.\u0275cmp=f.VBU({type:b,selectors:[["common-profile-searchable-list"]],contentQueries:function(x,S,K){if(1&x&&f.wni(K,It.T,5,f.C4Q)(K,Q._,5,f.C4Q),2&x){let C;f.mGM(C=f.lsd())&&(S.resultsTmpl=C.first),f.mGM(C=f.lsd())&&(S.placeholderTmpl=C.first)}},inputs:{showSearchInput:"showSearchInput",maxResults:"maxResults",withoutParams:"withoutParams",noResultsPlaceholderTxt:"noResultsPlaceholderTxt",sectionName:"sectionName",searchParams:"searchParams",data:"data",searchOnEmpty:"searchOnEmpty",type:"type"},outputs:{results:"results"},decls:3,vars:2,consts:[[1,"tw-pt-2.5"],["class","inputfield","id","search-container","elementHeight","element-h-40",4,"ngIf"],[4,"ngIf"],["id","search-container","elementHeight","element-h-40",1,"inputfield"],["nfjPrefix","","matIcon","search",1,"tw-text-gray","tw-mx-2.5"],["nfjInput","","type","text","placeholder","Search",3,"keydown","formControl"],["nfjLabel",""],["class","cursor-pointer tw-mx-2.5 tw-text-gray","nfjSuffix","","matIcon","close",3,"click",4,"ngIf"],["nfjSuffix","","matIcon","close",1,"cursor-pointer","tw-mx-2.5","tw-text-gray",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"placeholder"],[1,"tw-text-center"],["class","tw-my-4",4,"ngIf"],["class","tw-text-14 tw-font-medium",4,"ngIf"],[1,"tw-my-4"],[3,"ngTemplateOutlet"],[1,"tw-text-14","tw-font-medium"]],template:function(x,S){1&x&&(f.j41(0,"div",0),f.DNE(1,ht,7,6,"nfj-form-field",1)(2,Ct,5,11,"ng-container",2),f.k0s()),2&x&&(f.R7$(),f.Y8G("ngIf",S.showSearchInput),f.R7$(),f.Y8G("ngIf",S.resultsTmpl))},dependencies:[m.bT,H.KS,D.W,H.Kr,vt.w,Y.X1,Y.me,Y.BC,Y.l_,H.lD,H.C3,H.DL,m.T3,T.h,m.Jj,T.D9],styles:["[_nghost-%COMP%]{display:block}.placeholder[_ngcontent-%COMP%]{min-height:200px;padding:20px;justify-content:center;align-items:center;display:flex}"]}
1))}return X(),(0,v.Cg)([(0,z.R)({maxCacheCount:100})],b.prototype,"performSearch",null),b})()},59843(tt,j,h){h.d(j,{N:()=>Fi});var v=h(95337),m=h(49769),r=h(66092),f=h(54892),Y=h(80431),T=h(13595),R=h(48417),t=h(35547),B=h(90767),c=h(30107);const U=(s,o)=>({"md:tw-col-span-7 tw-order-2 desktop:tw-order-1":s,"md:tw-col-span-12 tw-order-1":o});function A(s,o){if(1&s&&(t.j41(0,"div",4)(1,"a",5),t.nrm(2,"iframe",6),t.nI1(3,"sanitize"),t.k0s()()),2&s){const l=t.XpG();t.R7$(),t.Y8G("lightbox",0),t.R7$(),t.Y8G("src",t.i5U(3,2,l.previewData.video,"resourceUrl"),t.f$h)}}let q=(()=>{var s;class o{set data(d){this._data=d;const g=(0,Y.u)(d?.video);this.galleryRef.reset(),"youtube"===g.type?this.galleryRef.addYoutube({src:g.id}):"vimeo"===g.type&&this.galleryRef.addIframe({src:d?.video})}get showVideo(){return this.includeVideo&&!this.isPdf&&this.previewData.video}constructor(d,g,w){this.previewType=d,this.bs=g,this.gallery=w,this.includeVideo=!0,this.isPdf=this.previewType===R.F6.PDF,this.isMobile$=this.bs.isMobile$,this.isDesktop$=this.bs.isDesktop$,this.galleryRef=this.gallery.ref("aboutMe",{thumb:!1,loadingStrategy:"lazy",loop:!1})}get previewData(){return this._data}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(R.wd,8),t.rXU(B.d),t.rXU(c.Z2))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-about-me-preview"]],inputs:{data:"data",includeVideo:"includeVideo"},decls:5,vars:6,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-5"],[1,"tw-col-span-12",3,"ngClass"],["labelText","profile.ACCOUNT.DESCRIBE_YOURSELF"],["class","tw-col-span-12 md:tw-col-span-5 tw-order-1 desktop:tw-order-2 tw-mb-12 desktop:tw-mb-0",4,"ngIf"],[1,"tw-col-span-12","md:tw-col-span-5","tw-order-1","desktop:tw-order-2","tw-mb-12","desktop:tw-mb-0"],["gallery","aboutMe",1,"video",3,"lightbox"],["frameborder","0",1,"item",2,"pointer-events","none",3,"src"]],template:function(g,w){1&g&&(t.j41(0,"div",0)(1,"div",1)(2,"common-data-label",2),t.EFF(3),t.k0s()(),t.DNE(4,A,4,5,"div",3),t.k0s()),2&g&&(t.R7$(),t.Y8G("ngClass",t.l_i(3,U,w.showVideo,!w.showVideo)),t.R7$(2),t.SpI(" ",w.previewData.description," "),t.R7$(),t.Y8G("ngIf",w.showVideo))},dependencies:[m.YU,T.A,m.bT,r.JM,f.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] iframe[_ngcontent-%COMP%]{max-width:100%}"]}))}return s(),o})();var et=h(70953),F=h(59803),G=h(81343);const nt=(s,o)=>({"md:tw-col-span-12":s,"md:tw-col-span-8":o}),z=()=>["desktop","md"],H=()=>["xs","sm"];function it(s,o){if(1&s&&(t.nrm(0,"img",9),t.nI1(1,"uploadPath"),t.nI1(2,"uploadPath"),t.nI1(3,"retina")),2&s){const l=t.XpG(2);t.Y8G("src",t.bMT(1,2,l.data.avatar.cropped_resized),t.B4B),t.BMQ("srcset",t.bMT(3,6,t.bMT(2,4,l.data.avatar.cropped_resized_2x)))}}function D(s,o){if(1&s&&(t.j41(0,"h3",10),t.EFF(1),t.k0s()),2&s){const l=t.XpG(2);t.R7$(),t.SpI(" ",l.myData.name," ")}}function vt(s,o){if(1&s&&(t.j41(0,"div",5)(1,"div",6),t.DNE(2,it,4,8,"img",7),t.k0s(),t.DNE(3,D,2,1,"h3",8),t.k0s()),2&s){const l=t.XpG();t.R7$(2),t.Y8G("ngIf",l.data?.avatar?.original&&l.data?.avatar?.cropped_resized),t.R7$(),t.Y8G("nfjRenderWhenBreakpoint",t.lJ4(2,H))}}function W(s,o){if(1&s&&(t.j41(0,"div",11)(1,"common-data-label",12),t.EFF(2),t.k0s()()),2&s){const l=t.XpG();t.R7$(2),t.SpI(" ",l.myData?.name," ")}}function Q(s,o){if(1&s&&(t.j41(0,"div",11)(1,"common-data-label",13),t.EFF(2),t.k0s()()),2&s){const l=t.XpG();t.R7$(2),t.SpI(" ",l.wantedJob.position," ")}}function It(s,o){if(1&s&&(t.j41(0,"div",11)(1,"common-data-label",14),t.EFF(2),t.k0s()()),2&s){const l=t.XpG();t.R7$(2),t.SpI(" ",l.data.mainIndustry," ")}}function gt(s,o){if(1&s&&(t.j41(0,"div",11)(1,"common-data-label",15),t.EFF(2),t.k0s()()),2&s){const l=t.XpG();t.R7$(2),t.SpI(" ",l.data.developmentPath," ")}}let V=(()=>{var s;class o{constructor(d){this.previewType=d}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(R.wd,8))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-basic-info-preview"]],inputs:{data:"data",wantedJob:"wantedJob",myData:"myData"},decls:8,vars:10,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8"],["class","tw-col-span-12 md:tw-col-span-4 tw-flex tw-items-center md:tw-justify-center",4,"ngIf"],[1,"tw-col-span-12",3,"ngClass"],["class","tw-col-span-12 md:tw-col-span-6 tw-mb-2.5 md:tw-mb-12",4,"nfjRenderWhenBreakpoint"],["class","tw-col-span-12 md:tw-col-span-6 tw-mb-2.5 md:tw-mb-12",4,"ngIf"],[1,"tw-col-span-12","md:tw-col-span-4","tw-flex","tw-items-center","md:tw-justify-center"],[1,"profile-img","tw-mb-12","md:tw-mb-0"],["alt","profile avatar",3,"src",4,"ngIf"],["class","tw-mb-0 tw-text-[18px] tw-font-semibold tw-ml-12",4,"nfjRenderWhenBreakpoint"],["alt","profile avatar",3,"src"],[1,"tw-mb-0","tw-text-[18px]","tw-font-semibold","tw-ml-12"],[1,"tw-col-span-12","md:tw-col-span-6","tw-mb-2.5","md:tw-mb-12"],["labelText","profile.ACCOUNT.NAME.LABEL"],["labelText","profile.ACCOUNT.POSITION.LABEL"],["labelText","profile.ACCOUNT.MAIN_INDUSTRY"],["labelText","profile.ACCOUNT.DEVELOPMENT_PATH"]],template:function(g,w){1&g&&(t.j41(0,"div",0),t.DNE(1,vt,4,3,"div",1),t.j41(2,"div",2)(3,"div",0),t.DNE(4,W,3,1,"div",3)(5,Q,3,1,"div",4)(6,It,3,1,"div",4)(7,gt,3,1,"div",4),t.k0s()()()),2&g&&(t.R7$(),t.Y8G("ngIf",w.data?.avatar?.original&&w.data?.avatar?.cropped_resized),t.R7$(),t.Y8G("ngClass",t.l_i(6,nt,!(w.data?.avatar?.original&&w.data?.avatar?.cropped_resized),w.data?.avatar?.original&&w.data?.avatar?.cropped_resized)),t.R7$(2),t.Y8G("nfjRenderWhenBreakpoint",t.lJ4(9,z)),t.R7$(),t.Y8G("ngIf",w.wantedJob?.position),t.R7$(),t.Y8G("ngIf",w.data.mainIndustry),t.R7$(),t.Y8G("ngIf",w.data.developmentPath))},dependencies:[m.YU,m.bT,et.X,T.A,F.a,G.J],styles:["[_nghost-%COMP%]{display:block}@media(max-width:768px){[_nghost-%COMP%] common-data-label{display:flex}[_nghost-%COMP%] common-data-label>span{width:40%}[_nghost-%COMP%] common-data-label .data{margin-left:10%;width:50%;word-break:break-word}}[_nghost-%COMP%] .status-bullet[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%}[_nghost-%COMP%] .status-bullet[_ngcontent-%COMP%]:not(.grey){background:#19a59a}[_nghost-%COMP%] .status-bullet.grey[_ngcontent-%COMP%]{background:#757575}
1[_nghost-%COMP%] .circle[_ngcontent-%COMP%]{color:#1271ed;border:1px solid rgb(207.6,226.6,251.4);width:32px;height:32px;min-width:32px;border-radius:50%;margin-right:15px}[_nghost-%COMP%] .circle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:18px}[_nghost-%COMP%] .common-icon[_ngcontent-%COMP%]{color:#1271ed}[_nghost-%COMP%] .profile-img[_ngcontent-%COMP%]{background-color:#fafafa;border-radius:50%;overflow:hidden;width:100px;height:100px}@media(min-width:768px){[_nghost-%COMP%] .profile-img[_ngcontent-%COMP%]{width:180px;height:180px}}[_nghost-%COMP%] .profile-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}"]}))}return s(),o})();var at=h(66844),ht=h(66275),dt=h(8372),ct=h(73838),mt=h(23219);const pt=()=>({xs:2,sm:3,md:4}),rt=s=>({$implicit:s});function Ct(s,o){if(1&s&&(t.qex(0),t.nrm(1,"common-profile-items-picker",5),t.bVm()),2&s){const l=t.XpG().$implicit,d=t.XpG(),g=t.sdS(3);t.R7$(),t.Y8G("isPreviewOnly",!0)("selectedItems",d.data?.list)("availableItems",l)("itemTemplate",g)}}function Z(s,o){}function X(s,o){if(1&s&&t.DNE(0,Z,0,0,"ng-template",7),2&s){const l=o.$implicit;t.XpG(3);const d=t.sdS(3);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,rt,l))}}function b(s,o){if(1&s&&(t.j41(0,"nfj-carousel",6),t.DNE(1,X,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.Y8G("slides",d.data?.list||l)("itemsPerSlideConfig",t.lJ4(2,pt))}}function E(s,o){if(1&s&&(t.qex(0),t.DNE(1,Ct,2,4,"ng-container",4),t.nI1(2,"async"),t.DNE(3,b,2,3,"ng-template",null,1,t.C5r),t.bVm()),2&s){const l=t.sdS(4),d=t.XpG();t.R7$(),t.Y8G("ngIf",!1===t.bMT(2,2,d.isMobile$))("ngIfElse",l)}}function $(s,o){if(1&s&&t.nrm(0,"img",14),2&s){const l=t.XpG().$implicit;t.Y8G("src",l.coverUrl||"assets/images/profile/bookshelf.svg",t.B4B)}}function x(s,o){if(1&s&&(t.nrm(0,"img",14),t.nI1(1,"uploadPath"),t.nI1(2,"retina"),t.nI1(3,"uploadPath")),2&s){const l=t.XpG().$implicit;t.Y8G("src",t.bMT(1,2,l.coverUrl.cropped_resized),t.B4B),t.BMQ("srcset",t.bMT(3,6,t.bMT(2,4,l.coverUrl.cropped_resized_2x)))}}function S(s,o){if(1&s&&(t.j41(0,"div",8)(1,"div",9),t.DNE(2,$,1,1,"img",10)(3,x,4,8,"img",10),t.k0s(),t.j41(4,"div",11)(5,"p",12),t.EFF(6),t.k0s(),t.j41(7,"p",13),t.EFF(8),t.k0s()()()),2&s){const l=o.$implicit;t.R7$(2),t.Y8G("ngIf",!l.custom),t.R7$(),t.Y8G("ngIf",l.custom),t.R7$(3),t.JRh(l.title),t.R7$(2),t.JRh(l.author)}}let K=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.SearchableEntity=dt.z,this.isMobile$=this.breakpoint.isMobile$}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-books-preview"]],inputs:{data:"data",searchParams:"searchParams"},decls:4,vars:5,consts:[["itemTemplate",""],["mobile",""],["sectionName","books",3,"type","showSearchInput","searchParams","searchOnEmpty","maxResults"],[4,"commonProfileSearchableListResults"],[4,"ngIf","ngIfElse"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6 md:tw-col-span-4 desktop:tw-col-span-3",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate"],["cy","carousel-books",3,"slides","itemsPerSlideConfig"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"book"],[1,"book__cover"],[3,"src",4,"ngIf"],[1,"book__caption"],[1,"book__title"],[1,"book__author"],[3,"src"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-searchable-list",2),t.DNE(1,E,5,4,"ng-container",3),t.k0s(),t.DNE(2,S,9,4,"ng-template",null,0,t.C5r)),2&g&&t.Y8G("type",w.SearchableEntity.Books)("showSearchInput",!1)("searchParams",w.searchParams)("searchOnEmpty",!w.data?.list?.length)("maxResults",8)},dependencies:[mt.r,ct.T,m.bT,ht.$,at.g,m.T3,m.Jj,F.a,G.J],styles:[".book[_ngcontent-%COMP%]{width:100%}.book__cover[_ngcontent-%COMP%]{position:relative;padding-bottom:125.22%;box-shadow:0 0 10px #cecece}.book__cover--noshadow[_ngcontent-%COMP%]{box-shadow:none}.book__cover[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .book__cover[_ngcontent-%COMP%] .fill-full[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.book__title[_ngcontent-%COMP%]{margin-top:10px;font-size:14px;color:#191919;margin-bottom:3px;line-height:16px}.book__author[_ngcontent-%COMP%]{font-size:12px;color:#1271ed}.error[_ngcontent-%COMP%]{border:solid 1px red}[_nghost-%COMP%]{display:block}"]}))}return s(),o})(),C=(()=>{var s;class o{static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275dir=t.FsC({type:o,selectors:[["","timelineTemplate",""]]}))}return s(),o})();const O=s=>({$implicit:s});function I(s,o){}function y(s,o){if(1&s&&(t.j41(0,"div",1)(1,"div",2)(2,"span"),t.EFF(3,"\u2022"),t.k0s()(),t.DNE(4,I,0,0,"ng-template",3),t.k0s()),2&s){const l=o.$implicit,d=o.last,g=t.XpG();t.R7$(),t.AVh("last",d),t.R7$(3),t.Y8G("ngTemplateOutlet",g.template)("ngTemplateOutletContext",t.eq3(4,O,l))}}let P=(()=>{var s;class o{static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-timeline"]],contentQueries:function(g,w,Pt){if(1&g&&t.wni(Pt,C,5,t.C4Q),2&g){let Yt;t.mGM(Yt=t.lsd())&&(w.template=Yt.first)}},inputs:{items:"items"},decls:1,vars:1,consts:[["class","tw-relative tw-flex timeline-item tw-pb-4",4,"ngFor","ngForOf"],[1,"tw-relative","tw-flex","timeline-item","tw-pb-4"],[1,"circle","tw-mr-2.5","desktop:tw-mr-6"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(g,w){1&g&&t.DNE(0,y,5,6,"div",0),2&g&&t.Y8G("ngForOf",w.items)},dependencies:[m.Sq,m.T3],styles:['[_nghost-%COMP%]{display:block}
1[_nghost-%COMP%] .circle[_ngcontent-%COMP%]{width:24px;height:24px;border:1px solid #1271ed;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}[_nghost-%COMP%] .circle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:#1271ed;font-size:30px;line-height:24px}[_nghost-%COMP%] .circle[_ngcontent-%COMP%]:not(.last):after{content:"";display:block;width:1px;height:calc(100% - 24px);background-color:#1271ed;position:absolute;top:24px;z-index:0}']}))}return s(),o})();var k=h(64254);function xt(s,o){if(1&s&&(t.j41(0,"p",3),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&s){const l=t.XpG();t.R7$(),t.SpI(" ",t.i5U(2,1,l.item.date,"storedMonthYear"),"\n")}}let yt=(()=>{var s;class o{static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-certificates-preview-item"]],inputs:{item:"item"},decls:5,vars:3,consts:[["class","tw-mb-0 smaller tw-text-gray",4,"ngIf"],[1,"tw-mb-0","bigger"],[1,"tw-mb-0","smaller"],[1,"tw-mb-0","smaller","tw-text-gray"]],template:function(g,w){1&g&&(t.DNE(0,xt,3,4,"p",0),t.j41(1,"p",1),t.EFF(2),t.k0s(),t.j41(3,"p",2),t.EFF(4),t.k0s()),2&g&&(t.Y8G("ngIf",w.item.date),t.R7$(2),t.JRh(w.item.title),t.R7$(2),t.JRh(w.item.company))},dependencies:[m.bT,k.a],styles:["[_nghost-%COMP%]{display:block}@media(max-width:992px){.smaller[_ngcontent-%COMP%]{font-size:12px}}@media(min-width:992px){.bigger[_ngcontent-%COMP%]{font-size:16px}}"]}))}return s(),o})();function bt(s,o){1&s&&t.nrm(0,"common-certificates-preview-item",2),2&s&&t.Y8G("item",o.$implicit)}let Tt=(()=>{var s;class o{get previewData(){return this.data?.list}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-certificates-preview"]],inputs:{data:"data"},decls:2,vars:1,consts:[[3,"items"],[3,"item",4,"timelineTemplate"],[3,"item"]],template:function(g,w){1&g&&(t.j41(0,"common-timeline",0),t.DNE(1,bt,1,1,"common-certificates-preview-item",1),t.k0s()),2&g&&t.Y8G("items",w.previewData)},dependencies:[P,C,yt],styles:["[_nghost-%COMP%]{display:block}"]}))}return s(),o})();function $t(s,o){if(1&s&&(t.j41(0,"div",4)(1,"common-data-label",5)(2,"a",6),t.EFF(3),t.k0s()()()),2&s){const l=t.XpG();t.R7$(2),t.BMQ("href","mailto:"+l.previewData.username,t.B4B),t.R7$(),t.SpI(" ",l.previewData.username," ")}}function lt(s,o){if(1&s&&(t.j41(0,"div",7)(1,"common-data-label",8)(2,"a",6),t.EFF(3),t.k0s()()()),2&s){const l=t.XpG();t.R7$(2),t.BMQ("href","tel:"+l.previewData.phone,t.B4B),t.R7$(),t.SpI(" ",l.previewData.phone," ")}}function Et(s,o){if(1&s&&(t.j41(0,"div",9)(1,"common-data-label",10)(2,"a",11),t.EFF(3),t.k0s()()()),2&s){const l=t.XpG();t.R7$(2),t.BMQ("href",l.linkedInLink,t.B4B),t.R7$(),t.SpI(" ",l.previewData.linkedin," ")}}function St(s,o){if(1&s&&(t.j41(0,"div",9)(1,"common-data-label",12)(2,"a",11),t.EFF(3),t.k0s()()()),2&s){const l=t.XpG();t.R7$(2),t.BMQ("href",l.githubLink,t.B4B),t.R7$(),t.SpI(" ",l.previewData.github," ")}}let Mt=(()=>{var s;class o{constructor(){this.emptyValue={email:"[email protected]",phone:"011 011 100",linkedin:"my-profile-linkedin",github:"my-profile-github"}}get previewData(){return this.data||this.emptyValue}get linkedInLink(){return this.returnLink(this.previewData.linkedin)}get githubLink(){return this.returnLink(this.previewData.github)}returnLink(d){return d?.startsWith("http")?d:null}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-contact-info-preview"]],inputs:{data:"data"},decls:5,vars:4,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8"],["class","tw-col-span-12 md:tw-col-span-6",4,"ngIf"],["class","tw-col-span-12 md:tw-col-span-6 tw-mt-2.5 desktop:tw-mt-0",4,"ngIf"],["class","tw-col-span-12 tw-mt-2.5 desktop:tw-mt-12",4,"ngIf"],[1,"tw-col-span-12","md:tw-col-span-6"],["labelText","profile.ACCOUNT.EMAIL"],[1,"tw-mb-0"],[1,"tw-col-span-12","md:tw-col-span-6","tw-mt-2.5","desktop:tw-mt-0"],["labelText","profile.ACCOUNT.PHONE"],[1,"tw-col-span-12","tw-mt-2.5","desktop:tw-mt-12"],["labelText","profile.ACCOUNT.LINKED_IN"],["target","_blank",1,"tw-mb-0","tw-truncate"],["labelText","profile.ACCOUNT.GITHUB"]],template:function(g,w){1&g&&(t.j41(0,"div",0),t.DNE(1,$t,4,2,"div",1)(2,lt,4,2,"div",2)(3,Et,4,2,"div",3)(4,St,4,2,"div",3),t.k0s()),2&g&&(t.R7$(),t.Y8G("ngIf",w.previewData.username),t.R7$(),t.Y8G("ngIf",w.previewData.phone),t.R7$(),t.Y8G("ngIf",w.previewData.linkedin),t.R7$(),t.Y8G("ngIf",w.previewData.github))},dependencies:[m.bT,T.A],styles:["[_nghost-%COMP%]{display:block}
1[_nghost-%COMP%] .circle[_ngcontent-%COMP%]{color:#1271ed;border:1px solid rgb(207.6,226.6,251.4);width:32px;height:32px;min-width:32px;border-radius:50%;margin-right:15px}[_nghost-%COMP%] .circle[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:18px}[_nghost-%COMP%] .common-icon[_ngcontent-%COMP%]{color:#1271ed}"]}))}return s(),o})();function Rt(s,o){1&s&&(t.qex(0),t.EFF(1,"-"),t.bVm())}function Gt(s,o){if(1&s&&(t.j41(0,"p",3),t.EFF(1),t.DNE(2,Rt,2,0,"ng-container",4),t.EFF(3),t.k0s()),2&s){const l=t.XpG();t.R7$(),t.SpI(" ",l.item.started," "),t.R7$(),t.Y8G("ngIf",l.item.started&&l.item.ended),t.R7$(),t.SpI(" ",l.item.ended,"\n")}}function Nt(s,o){if(1&s&&(t.j41(0,"p",5),t.EFF(1),t.k0s()),2&s){const l=t.XpG();t.R7$(),t.JRh(l.item.school)}}function Bt(s,o){if(1&s&&(t.j41(0,"p",6),t.EFF(1),t.k0s()),2&s){const l=t.XpG();t.R7$(),t.JRh(l.item.title)}}let u=(()=>{var s;class o{static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-education-preview-item"]],inputs:{item:"item"},decls:3,vars:3,consts:[["class","tw-mb-0 smaller tw-text-gray",4,"ngIf"],["class","tw-mb-0 bigger",4,"ngIf"],["class","tw-mb-0 smaller",4,"ngIf"],[1,"tw-mb-0","smaller","tw-text-gray"],[4,"ngIf"],[1,"tw-mb-0","bigger"],[1,"tw-mb-0","smaller"]],template:function(g,w){1&g&&t.DNE(0,Gt,4,3,"p",0)(1,Nt,2,1,"p",1)(2,Bt,2,1,"p",2),2&g&&(t.Y8G("ngIf",w.item.started||w.item.ended),t.R7$(),t.Y8G("ngIf",w.item.school),t.R7$(),t.Y8G("ngIf",w.item.title))},dependencies:[m.bT],styles:["[_nghost-%COMP%]{display:block}@media(max-width:992px){.smaller[_ngcontent-%COMP%]{font-size:12px}}@media(min-width:992px){.bigger[_ngcontent-%COMP%]{font-size:16px}}"]}))}return s(),o})();function i(s,o){1&s&&t.nrm(0,"common-education-preview-item",2),2&s&&t.Y8G("item",o.$implicit)}let e=(()=>{var s;class o{get previewData(){return this.data?.list}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-education-preview"]],inputs:{data:"data"},decls:2,vars:1,consts:[[3,"items"],[3,"item",4,"timelineTemplate"],[3,"item"]],template:function(g,w){1&g&&(t.j41(0,"common-timeline",0),t.DNE(1,i,1,1,"common-education-preview-item",1),t.k0s()),2&g&&t.Y8G("items",w.previewData)},dependencies:[P,C,u],styles:["[_nghost-%COMP%]{display:block}"]}))}return s(),o})();var n=h(59240);function a(s,o){if(1&s&&(t.j41(0,"gridster-item",3),t.EFF(1),t.k0s()),2&s){const l=o.$implicit;t.AVh("small",1===l.cols)("big",l.cols>3),t.Y8G("item",l),t.R7$(),t.SpI(" ",l.content," ")}}let p=(()=>{var s;class o{constructor(){this.heatmapBreakpoint=615,this.options={minCols:8,maxCols:8,minRows:4,maxRows:4,margin:10,outerMargin:!1,mobileBreakpoint:200,keepFixedWidthInMobile:!0,gridType:window.innerWidth>this.heatmapBreakpoint?"fit":"scrollHorizontal"}}get previewData(){return this.data.dashboard}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-heatmap-preview"]],inputs:{data:"data"},decls:3,vars:2,consts:[[1,"gridster-wrapper"],[3,"options"],["class","!tw-flex tw-items-center tw-justify-center",3,"item","small","big",4,"ngFor","ngForOf"],[1,"!tw-flex","tw-items-center","tw-justify-center",3,"item"]],template:function(g,w){1&g&&(t.j41(0,"div",0)(1,"gridster",1),t.DNE(2,a,2,6,"gridster-item",2),t.k0s()()),2&g&&(t.R7$(),t.Y8G("options",w.options),t.R7$(),t.Y8G("ngForOf",w.previewData))},dependencies:[n.Vk,n.iA,n.Zu,m.Sq],styles:["[_nghost-%COMP%]{display:block}"]}))}return s(),o})();var _=h(86508),M=h(18418);const L=()=>({xs:2,sm:4}),N=s=>({$implicit:s});function J(s,o){if(1&s&&t.nrm(0,"common-profile-items-picker",3),2&s){const l=t.XpG(),d=t.sdS(5);t.Y8G("isPreviewOnly",!0)("selectedItems",l.data?.list)("availableItems",l.available)("itemTemplate",d)("limitAllVisibleItems",l.data?.list?.length)}}function st(s,o){}function ft(s,o){if(1&s&&t.DNE(0,st,0,0,"ng-template",5),2&s){const l=o.$implicit;t.XpG(2);const d=t.sdS(5);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,N,l))}}function _t(s,o){if(1&s&&(t.j41(0,"nfj-carousel",4),t.DNE(1,ft,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG();t.Y8G("slides",l.data?.list)("itemsPerSlideConfig",t.lJ4(2,L))}}function ot(s,o){1&s&&t.nrm(0,"common-hobby-entry",6),2&s&&t.Y8G("id",o.$implicit.id)}let wt=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.available=_.R,this.isMobile$=this.breakpoint.isMobile$}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-hobby-preview"]],inputs:{data:"data"},decls:6,vars:4,consts:[["mobile",""],["itemTemplate",""],["class","tw-block tw-mt-2","containerClass","tw-grid tw-gri
1d-cols-12 tw-gap-x-8","itemContainerClass","tw-col-span-3 md:tw-col-span-2",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate","limitAllVisibleItems",4,"ngIf","ngIfElse"],["containerClass","tw-grid tw-grid-cols-12 tw-gap-x-8","itemContainerClass","tw-col-span-3 md:tw-col-span-2",1,"tw-block","tw-mt-2",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate","limitAllVisibleItems"],["cy","carousel-hobby",3,"slides","itemsPerSlideConfig"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"id"]],template:function(g,w){if(1&g&&(t.DNE(0,J,1,5,"common-profile-items-picker",2),t.nI1(1,"async"),t.DNE(2,_t,2,3,"ng-template",null,0,t.C5r)(4,ot,1,1,"ng-template",null,1,t.C5r)),2&g){const Pt=t.sdS(3);t.Y8G("ngIf",!1===t.bMT(1,2,w.isMobile$))("ngIfElse",Pt)}},dependencies:[m.bT,ht.$,at.g,m.T3,M.c,m.Jj],styles:["[_nghost-%COMP%]{display:block}"]}))}return s(),o})();var ut=h(68018),kt=h(19882),Ot=h(42415);function Dt(s,o){if(1&s&&(t.j41(0,"h3",23),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&s){const l=t.XpG().index,d=t.XpG();t.R7$(),t.Lme(" ",t.bMT(2,2,"profile.SECTIONS.JOBEXPERIENCE")," (",l+1+"/"+d.previewData?.entries?.length,") ")}}function jt(s,o){if(1&s&&(t.nrm(0,"img",29),t.nI1(1,"uploadPath")),2&s){const l=t.XpG(2).$implicit;t.Y8G("src",t.bMT(1,1,l.logo.resized_2x),t.B4B)}}function zt(s,o){1&s&&t.nrm(0,"img",30)}function Lt(s,o){if(1&s&&(t.j41(0,"div",24)(1,"div",25),t.DNE(2,jt,2,3,"img",26)(3,zt,1,0,"img",27),t.k0s(),t.nrm(4,"div",28),t.k0s()),2&s){const l=t.XpG().$implicit;t.R7$(2),t.Y8G("ngIf",l.logo?.resized_2x),t.R7$(),t.Y8G("ngIf",!l.logo?.resized_2x)}}function Xt(s,o){if(1&s&&(t.nrm(0,"img",29),t.nI1(1,"uploadPath")),2&s){const l=t.XpG(2).$implicit;t.Y8G("src",t.bMT(1,1,l.logo.resized_2x),t.B4B)}}function At(s,o){1&s&&t.nrm(0,"img",30)}function Ht(s,o){if(1&s&&(t.j41(0,"div",31),t.DNE(1,Xt,2,3,"img",26)(2,At,1,0,"img",27),t.k0s()),2&s){const l=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",l.logo?.resized_2x),t.R7$(),t.Y8G("ngIf",!l.logo?.resized_2x)}}function Wt(s,o){if(1&s&&(t.j41(0,"section",17)(1,"h4",32),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"p",33),t.k0s()),2&s){const l=t.XpG().$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,2,"profile.MY_DUTIES")," "),t.R7$(2),t.Y8G("innerHTML",l.duties,t.npT)}}function Ut(s,o){if(1&s&&(t.qex(0),t.j41(1,"h4",32),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"p",33),t.bVm()),2&s){const l=t.XpG().$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,2,"profile.WHAT_IVE_LEARNT")," "),t.R7$(2),t.Y8G("innerHTML",l.learnt,t.npT)}}function Vt(s,o){if(1&s&&(t.j41(0,"common-profile-chip-item",34),t.EFF(1),t.k0s()),2&s){const l=o.$implicit;t.Y8G("isPreviewMode",!0),t.R7$(),t.SpI(" ",l," ")}}function Jt(s,o){if(1&s&&(t.j41(0,"common-profile-chip-item",34),t.EFF(1),t.k0s()),2&s){const l=o.$implicit;t.Y8G("isPreviewMode",!0),t.R7$(),t.SpI(" ",l," ")}}function Kt(s,o){if(1&s&&(t.j41(0,"a",38),t.EFF(1),t.k0s()),2&s){const l=o.$implicit;t.AVh("tw-mt-12",!o.first),t.Y8G("href",l.url,t.B4B),t.R7$(),t.SpI(" ",l.url," ")}}function Qt(s,o){if(1&s&&(t.j41(0,"section",35)(1,"h4",36),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.DNE(4,Kt,2,4,"a",37),t.k0s()),2&s){const l=t.XpG().$implicit;t.R7$(2),t.SpI(" ",t.bMT(3,2,"profile.LINKS")," "),t.R7$(2),t.Y8G("ngForOf",l.links)}}function Zt(s,o){if(1&s&&(t.j41(0,"article",4),t.DNE(1,Dt,3,4,"h3",5),t.j41(2,"div",6),t.DNE(3,Lt,5,2,"div",7),t.j41(4,"div",8)(5,"section")(6,"div",9),t.DNE(7,Ht,3,2,"div",10),t.j41(8,"div",11)(9,"h1",12),t.EFF(10),t.k0s(),t.j41(11,"p",13)(12,"span",14),t.EFF(13),t.k0s(),t.j41(14,"span",14),t.EFF(15),t.k0s()()()(),t.j41(16,"p",15)(17,"span",14),t.EFF(18),t.nI1(19,"dateFormat"),t.nI1(20,"dateFormat"),t.k0s(),t.j41(21,"span",14),t.EFF(22),t.k0s()()(),t.DNE(23,Wt,5,4,"section",16),t.j41(24,"section",17),t.DNE(25,Ut,5,4,"ng-container",18),t.j41(26,"div",19),t.DNE(27,Vt,2,2,"common-profile-chip-item",20)(28,Jt,2,2,"common-profile-chip-item",20),t.k0s()(),t.DNE(29,Qt,5,4,"section",21),t.nrm(30,"div",22),t.k0s()()()),2&s){const l=o.$implicit,d=t.XpG();t.R7$(),t.Y8G("ngIf",d.isPdf),t.R7$(2),t.Y8G("nfjRenderWhenBreakpoint","desktop"),t.R7$(4),t.Y8G("nfjRenderWhenBreakpoint","mobile"),t.R7$(3),t.SpI(" ",l.jobTitle," "),t.R7$(3),t.JRh(l.company),t.R7$(2),t.JRh(l.industry),t.R7$(3),t.Lme(" ",t.i5U(19,15,l.dateRange.started,"storedMonthYear")," - ",l.dateRange?.ended?t.i5U(20,18,l.dateRange?.ended,"storedMonthYear"):"present"," "),t.R7$(4),t.Lme(" ",l.location?l.location+", ":"","",l.country," "),t.R7$(),t.Y8G("ngIf",l.duties),t.R7$(2),t.Y8G("ngIf",l.learnt),t.R7$(2),t.Y8G("ngForOf",l.technologies),t.R7$(),t.Y8G("ngForOf",l.languages),t.R7$(),t.Y8G("ngIf",l.links.length)}}let qt=(()=>{var s;class o{constructor(d){this.previewType=d,this.isPdf=this.previewType===R.F6.PDF,this.emptyValue={entries:[{jobTitle:"Senior Frontend developer",customLogo:!0,company:"Google",companyId:"",industry:"Webservices",country:"Warsaw/Poland",dateRange:{started:"15th June 2018",ended:"present"},duties:"",languages:["Polish","English (UK)"],learnt:"CSS & Javascript Frameworks\n CSS Preprocessing\n Client experience understanding",location:"Warszawa",logo:{resized_2x:"candidates/job-ex
1perience/logos/resized_2x/157pxgoogle__g__logosvg_20200930_232025.png",original:"candidates/job-experience/logos/original/157pxgoogle__g__logosvg_20200930_232025.png",resized:"candidates/job-experience/logos/resized/157pxgoogle__g__logosvg_20200930_232025.png"},links:[{website:"dribble",url:"Google.design"},{website:"Custom",url:"Google.android"}],technologies:["Java","Spring","Javascript","Git"]},{customLogo:!0,jobTitle:"Frontend developer",company:"No Fluff Jobs",dateRange:{started:"15th June 2016",ended:"14th June 2018"},logo:{resized_2x:"companies/logos/companies_listing_2x/logonfj_20190613_0813_20200820_153143.png",original:"companies/logos/companies_listing_2x/logonfj_20190613_0813_20200820_153143.png",resized:"companies/logos/companies_listing_2x/logonfj_20190613_0813_20200820_153143.png"},duties:"- Javascript programming\n - Work with RESTful Services and APIs",links:[{website:"dribble",url:"Google.design"},{website:"Custom",url:"Google.android"}],technologies:["Angular","Typescript","Javascript","Git"]}]}}get previewData(){return this.data?this.data:this.emptyValue}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(R.wd))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-job-experience-preview"]],inputs:{data:"data"},decls:4,vars:7,consts:[["content",""],[3,"disabled","row","textLess","textMore"],[1,"content"],["class","entry",4,"ngFor","ngForOf"],[1,"entry"],["class","tw-mt-0 tw-text-ink tw-mb-4 tw-font-semibold tw-mr-4 tw-inline-flex tw-items-center tw-text-[22px]",4,"ngIf"],[1,"tw-flex"],["class","entry-left",4,"nfjRenderWhenBreakpoint"],[1,"tw-grow","entry-content"],[1,"tw-flex","tw-flex-row","desktop:tw-flex-col"],["class","logo tw-mb-12",4,"nfjRenderWhenBreakpoint"],[1,"tw-flex","tw-flex-col","tw-justify-center","desktop:tw-justify-start","tw-ml-2.5","desktop:tw-ml-0"],[1,"tw-font-semibold","tw-mb-1","desktop:tw-mb-2.5","tw-text-ink"],[1,"info","tw-mb-4","tw-text-ink"],[1,"tw-block"],[1,"tw-mb-4","tw-text-gray","dates"],["class","tw-mb-4",4,"ngIf"],[1,"tw-mb-4"],[4,"ngIf"],[1,"tw-flex","tw-flex-wrap"],[3,"isPreviewMode",4,"ngFor","ngForOf"],["class","tw-mb-12",4,"ngIf"],[1,"entry-divider","tw-border-t","tw-border-gray-ddd","tw-pt-4"],[1,"tw-mt-0","tw-text-ink","tw-mb-4","tw-font-semibold","tw-mr-4","tw-inline-flex","tw-items-center","tw-text-[22px]"],[1,"entry-left"],[1,"logo"],[3,"src",4,"ngIf"],["alt","Company logo placeholder","src","https://s3.eu-central-1.amazonaws.com/static.nofluffjobs.com/nfj/assets/images/profile/job_exp_placeholder.png",4,"ngIf"],[1,"line","tw-mt-4"],[3,"src"],["alt","Company logo placeholder","src","https://s3.eu-central-1.amazonaws.com/static.nofluffjobs.com/nfj/assets/images/profile/job_exp_placeholder.png"],[1,"logo","tw-mb-12"],[1,"dates","tw-font-normal","tw-text-ink","tw-mb-1"],[1,"dates","ws-pre-line","tw-text-gray",3,"innerHTML"],[3,"isPreviewMode"],[1,"tw-mb-12"],[1,"tw-text-14","tw-font-normal","tw-text-ink","tw-mb-12"],["class","tw-flex tw-items-center tw-text-tastyBlue","target","_blank",3,"href","tw-mt-12",4,"ngFor","ngForOf"],["target","_blank",1,"tw-flex","tw-items-center","tw-text-tastyBlue",3,"href"]],template:function(g,w){1&g&&(t.j41(0,"nfj-read-more-html",1)(1,"div",2,0),t.DNE(3,Zt,31,21,"article",3),t.k0s()()),2&g&&(t.Y8G("disabled",w.isPdf)("row",31)("textLess","Show less")("textMore","Show more"),t.R7$(),t.AVh("pdf",w.isPdf),t.R7$(2),t.Y8G("ngForOf",w.previewData?.entries))},dependencies:[kt.o,m.Sq,m.bT,et.X,Ot.E,ut.h,ut.D9,G.J,k.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .read-more-btn{display:block;text-align:center;margin-top:20px;color:#1271ed}.pdf[_ngcontent-%COMP%]{margin:-20px}.pdf[_ngcontent-%COMP%] .entry-divider[_ngcontent-%COMP%]{display:none}.pdf[_ngcontent-%COMP%] .entry[_ngcontent-%COMP%]{padding:20px;margin-top:5px;border:1px solid #eee}.pdf[_ngcontent-%COMP%] .entry[_ngcontent-%COMP%]:first-child{margin-top:0}.entry[_ngcontent-%COMP%]{color:#757575}.entry-left[_ngcontent-%COMP%]{width:85px;margin-right:20px;display:flex;flex-direction:column}.entry-left[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{flex-grow:1;align-self:center}.entry[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}.entry[_ngcontent-%COMP%] .text-dark[_ngcontent-%COMP%]{color:#191919}@media(max-width:992px){.entry-content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:14px}}@media(min-width:992px){.entry-content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px}}@media(max-width:992px){.entry-content[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:14px}}@media(min-width:992px){.entry-content[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{font-size:16px}}@media(max-width:992px){.entry-content[_ngcontent-%COMP%] .dates[_ngcontent-%COMP%]{font-size:12px}}@media(min-width:992px){.entry-content[_ngcontent-%COMP%] .dates[_ngcontent-%COMP%]{font-size:14px}}.logo[_ngcontent-%COMP%]{width:84px;height:84px;display:flex;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;object-fit:contain;object-position:center;height:100%}.line[_ngcontent-%COMP%]{position:relative;width:5px;background-color:#f1f1f1b3}.website-icon[_ngcontent-%COMP%]{width:30px;height:30px;display:flex;justify-content:center;align-items:center;background-color:#191919;color:#fff;border-radius:50%}.website-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:20px}"]}))}return s(),o})(),te=(()=>{var s;class o{transform(d){const g=parseFloat(String(d));return 1===g?"profile.N_YEAR":Number(g)===g&&g%1!=0?"profile.N_FLOAT_YEARS":g%10<5&&g%10>1&&~~(g/10)%10!=1?"profile.N_YEARS":"profile.N_MANY_YEARS"}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275pipe=t.EJ8({name:"convertYearsSentence",type:o,pure:!0}))}return s(),o})();const ee=s=>({n:s});function ie(s,o){if(1&s&&(t.j41(0,"div",2)(1,"p",3),t.EFF(2),t.k0s(),t.j41(3,"div",4),t.nrm(4,"div"),t.k0s(),t.j41(5,"p",5),t.EFF(6),t.nI1(7,"convertYearsSentence"),t.nI1(8,"translate"),t.k0s()()),2&s){const l=o.$implicit,d=o.index,g=t.XpG
1();t.AVh("desktop-mb-20",g.previewData.length-2>d),t.R7$(2),t.SpI(" ",l.speciality," "),t.R7$(2),t.HbH(t.VkB("progress-bar tw-max-w-full ",g.colors[d]," tw-h-full")),t.xc7("width",l.years/10*100+"%"),t.R7$(2),t.SpI(" ",t.i5U(8,11,t.bMT(7,9,l.years),t.eq3(14,ee,l.years))," ")}}let se=(()=>{var s;class o{constructor(){this.colors=["green","red","yellow","purple","black","blue"],this.emptyValue=[{speciality:"javascript",years:8},{speciality:"HTML",years:8},{speciality:"CSS",years:6},{speciality:"ANGULAR",years:5},{speciality:"REACT",years:4},{speciality:"GIT",years:4}]}get previewData(){return this.data?this.data.list:this.emptyValue}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-key-specialities-preview"]],inputs:{data:"data"},decls:2,vars:1,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8"],["class","tw-col-span-12 md:tw-col-span-6",3,"desktop-mb-20",4,"ngFor","ngForOf"],[1,"tw-col-span-12","md:tw-col-span-6"],[1,"tw-mb-0","speciality"],[1,"progress","tw-my-1"],[1,"years","tw-text-gray"]],template:function(g,w){1&g&&(t.j41(0,"div",0),t.DNE(1,ie,9,16,"div",1),t.k0s()),2&g&&(t.R7$(),t.Y8G("ngForOf",w.previewData))},dependencies:[m.Sq,ut.h,ut.D9,te],styles:["[_nghost-%COMP%]{display:block}@media(min-width:768px){[_nghost-%COMP%] .speciality[_ngcontent-%COMP%]{font-size:14px}}@media(min-width:992px){[_nghost-%COMP%] .speciality[_ngcontent-%COMP%]{font-size:16px}}@media(min-width:768px){[_nghost-%COMP%] .years[_ngcontent-%COMP%]{font-size:12px}}[_nghost-%COMP%] .progress[_ngcontent-%COMP%]{background-color:#75757533;height:10px;border-radius:5px;width:100%;overflow:hidden}[_nghost-%COMP%] .progress-bar[_ngcontent-%COMP%]{border-radius:5px}[_nghost-%COMP%] .green[_ngcontent-%COMP%]{background-color:#19a59a}[_nghost-%COMP%] .red[_ngcontent-%COMP%]{background-color:#f45958}[_nghost-%COMP%] .yellow[_ngcontent-%COMP%]{background-color:#f9eec9}[_nghost-%COMP%] .purple[_ngcontent-%COMP%]{background-color:#9f70ae}[_nghost-%COMP%] .black[_ngcontent-%COMP%]{background-color:#191919}[_nghost-%COMP%] .blue[_ngcontent-%COMP%]{background-color:#418df1}"]}))}return s(),o})();var ne=h(89824);const oe=()=>({xs:2,sm:3,md:4}),re=s=>({$implicit:s});function le(s,o){if(1&s&&t.nrm(0,"common-profile-items-picker",5),2&s){const l=t.XpG().$implicit,d=t.XpG(),g=t.sdS(3);t.Y8G("isPreviewOnly",!0)("selectedItems",d.data?.list)("availableItems",l)("itemTemplate",g)}}function ae(s,o){}function ce(s,o){if(1&s&&t.DNE(0,ae,0,0,"ng-template",7),2&s){const l=o.$implicit;t.XpG(3);const d=t.sdS(3);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,re,l))}}function me(s,o){if(1&s&&(t.j41(0,"nfj-carousel",6),t.DNE(1,ce,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.Y8G("slides",d.data?.list||l)("itemsPerSlideConfig",t.lJ4(2,oe))}}function he(s,o){if(1&s&&(t.qex(0),t.DNE(1,le,1,4,"common-profile-items-picker",4),t.nI1(2,"async"),t.DNE(3,me,2,3,"ng-template",null,1,t.C5r),t.bVm()),2&s){const l=t.sdS(4),d=t.XpG();t.R7$(),t.Y8G("ngIf",!1===t.bMT(2,2,d.isMobile$))("ngIfElse",l)}}function de(s,o){if(1&s&&(t.nrm(0,"img",13),t.nI1(1,"uploadPath"),t.nI1(2,"retina"),t.nI1(3,"uploadPath")),2&s){const l=t.XpG().$implicit;t.Y8G("src",t.bMT(1,3,l.thumbnail.cropped_resized),t.B4B)("alt",l.name),t.BMQ("srcset",t.bMT(3,7,t.bMT(2,5,l.thumbnail.cropped_resized_2x)))}}function pe(s,o){if(1&s&&t.nrm(0,"img",13),2&s){const l=t.XpG().$implicit;t.Y8G("src",l.thumbnail||"assets/images/profile/idol.svg",t.B4B)("alt",l.name)}}function ge(s,o){if(1&s&&(t.j41(0,"div",8)(1,"div",9),t.DNE(2,de,4,9,"img",10)(3,pe,1,2,"img",10),t.k0s(),t.j41(4,"div",11)(5,"p",12),t.EFF(6),t.k0s()()()),2&s){const l=o.$implicit;t.R7$(2),t.Y8G("ngIf",l.custom),t.R7$(),t.Y8G("ngIf",!l.custom),t.R7$(3),t.JRh(l.name)}}let fe=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.SearchableEntity=dt.z,this.isMobile$=this.breakpoint.isMobile$}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-people-preview"]],inputs:{data:"data",searchParams:"searchParams"},decls:4,vars:5,consts:[["itemTemplate",""],["mobile",""],[3,"type","showSearchInput","searchParams","searchOnEmpty","maxResults"],[4,"commonProfileSearchableListResults"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6 md:tw-col-span-4 desktop:tw-col-span-3",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate",4,"ngIf","ngIfElse"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6 md:tw-col-span-4 desktop:tw-col-span-3",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate"],["cy","carousel-people",3,"slides","itemsPerSlideConfig"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"entry"],[1,"entry__cover","overlay","overlay--fade"],["class","img-grayscale",3,"src","alt",4,"ngIf"],[1,"entry__caption"],[1,"entry__title"],[1,"img-grayscale",3,"src","alt"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-searchable-list",2),t.DNE(1,he,5,4,"ng-container",3),t.k0s(),t.DNE(2,ge,7,3,"ng-template",null,0,t.C5r)),2&g&&t.Y8G("type",w.SearchableEntity.People)("showSearchInput",!1)("searchParams",w.searchParams)("searchOnEmpty",!w.data?.list?.length)("maxResults",6)},dependencies:[mt.r,ct.T,m.bT,ht.$,at.g,m.T3,m.Jj,F.a,G.J],styles:[".entry__cover[_ngcontent-%COMP%]{position:relative;padding-bottom:125.22%}.entry__cover[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .entry__cover[_ngcontent-%COMP%] .fill-full[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.entry__title[_ngcontent-%COMP%]{margin-top:10px;font-size:14px;color:#191919;margin-bottom:3px;line-height:18px}.error[_ngcontent-%COMP%]{border:solid 1px red}","[_nghost-%COMP%]{display:block}"]}))}return s(),o})();const ue=()=>({xs:2,sm:3,md:4}),_e=s=>({$implicit:s}),we=s=>({pointerEvents:s}
1);function ve(s,o){if(1&s&&t.nrm(0,"common-profile-items-picker",5),2&s){const l=t.XpG().$implicit,d=t.XpG(),g=t.sdS(3);t.Y8G("isPreviewOnly",!0)("selectedItems",d.data?.list)("availableItems",l)("itemTemplate",g)}}function Ce(s,o){}function ye(s,o){if(1&s&&t.DNE(0,Ce,0,0,"ng-template",7),2&s){const l=o.$implicit;t.XpG(3);const d=t.sdS(3);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,_e,l))}}function Ie(s,o){if(1&s&&(t.j41(0,"nfj-carousel",6),t.DNE(1,ye,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.Y8G("slides",d.data?.list||l)("itemsPerSlideConfig",t.lJ4(2,ue))}}function xe(s,o){if(1&s&&(t.qex(0),t.DNE(1,ve,1,4,"common-profile-items-picker",4),t.nI1(2,"async"),t.DNE(3,Ie,2,3,"ng-template",null,1,t.C5r),t.bVm()),2&s){const l=t.sdS(4),d=t.XpG();t.R7$(),t.Y8G("ngIf",!1===t.bMT(2,2,d.isMobile$))("ngIfElse",l)}}function be(s,o){if(1&s&&t.nrm(0,"img",13),2&s){const l=t.XpG().$implicit;t.Y8G("src",l.thumbnail||"assets/images/profile/playlist.svg",t.B4B)("alt",l.title)}}function Pe(s,o){if(1&s&&(t.nrm(0,"img",13),t.nI1(1,"uploadPath"),t.nI1(2,"retina"),t.nI1(3,"uploadPath")),2&s){const l=t.XpG().$implicit;t.Y8G("src",t.bMT(1,3,l.thumbnail.cropped_resized),t.B4B)("alt",l.title),t.BMQ("srcset",t.bMT(3,7,t.bMT(2,5,l.thumbnail.cropped_resized_2x)))}}function Te(s,o){if(1&s&&(t.j41(0,"a",8)(1,"div",9),t.DNE(2,be,1,2,"img",10)(3,Pe,4,9,"img",10),t.k0s(),t.j41(4,"div",11)(5,"p",12),t.EFF(6),t.k0s()()()),2&s){const l=o.$implicit;t.Y8G("href",l.url||null,t.B4B)("ngStyle",t.eq3(5,we,l.url?"auto":"none")),t.R7$(2),t.Y8G("ngIf",!l.custom),t.R7$(),t.Y8G("ngIf",l.custom),t.R7$(3),t.JRh(l.title)}}let $e=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.SearchableEntity=dt.z,this.isMobile$=this.breakpoint.isMobile$}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-podcasts-preview"]],inputs:{data:"data",searchParams:"searchParams"},decls:4,vars:5,consts:[["itemTemplate",""],["mobile",""],[3,"type","showSearchInput","searchParams","searchOnEmpty","maxResults"],[4,"commonProfileSearchableListResults"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6 md:tw-col-span-4 desktop:tw-col-span-3",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate",4,"ngIf","ngIfElse"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6 md:tw-col-span-4 desktop:tw-col-span-3",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate"],["cy","carousel-podcasts",3,"slides","itemsPerSlideConfig"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["target","_blank",1,"tw-block","entry",3,"href","ngStyle"],[1,"entry__cover"],[3,"src","alt",4,"ngIf"],[1,"entry__caption"],[1,"entry__title"],[3,"src","alt"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-searchable-list",2),t.DNE(1,xe,5,4,"ng-container",3),t.k0s(),t.DNE(2,Te,7,7,"ng-template",null,0,t.C5r)),2&g&&t.Y8G("type",w.SearchableEntity.Podcasts)("showSearchInput",!1)("searchParams",w.searchParams)("searchOnEmpty",!w.data?.list?.length)("maxResults",4)},dependencies:[mt.r,ct.T,m.bT,ht.$,at.g,m.T3,m.B3,m.Jj,F.a,G.J],styles:[".entry__cover[_ngcontent-%COMP%]{position:relative;padding-bottom:100%}.entry__cover[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .entry__cover[_ngcontent-%COMP%] .fill-full[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.entry__title[_ngcontent-%COMP%]{margin-top:10px;font-size:18px;color:#757575;margin-bottom:3px;line-height:18px}.error[_ngcontent-%COMP%]{border:solid 1px red}","[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .entry__title[_ngcontent-%COMP%]{margin-top:10px;font-size:14px;color:#757575;margin-bottom:3px;line-height:16px}"]}))}return s(),o})();var ke=h(67891),Ft=h(16415),Oe=h(58588);const Ee={name:"window",data:'<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="m16 3.414-8.07 8.07a1 1 0 0 1-1.415-1.413L14.585 2h-2.918a1 1 0 1 1 0-2H17a1 1 0 0 1 1 1v5.333a1 1 0 1 1-2 0V3.414zM13.333 9.89a1 1 0 1 1 2 0v5.333A2.778 2.778 0 0 1 12.556 18H2.778A2.778 2.778 0 0 1 0 15.222V5.444a2.778 2.778 0 0 1 2.778-2.777H8.11a1 1 0 1 1 0 2H2.778A.778.778 0 0 0 2 5.444v9.778c0 .43.348.778.778.778h9.778c.43 0 .777-.348.777-.778V9.89z"/></svg>'};var Se=h(42822),Me=h(816);let Re=(()=>{var s;class o{transform(d){return d.filter(g=>g)}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275pipe=t.EJ8({name:"clearFalsyValues",type:o,pure:!0}))}return s(),o})();const Be=s=>({"desktop:tw-mt-12":s}),De=(s,o,l)=>({$implicit:s,index:o,last:l}),Ge=s=>({"tw-mb-12":s}),Ne=(s,o,l)=>({$implicit:s,predefined:!0,index:o,last:l}),Fe=()=>({xs:1,sm:2}),Ye=s=>({$implicit:s});function je(s,o){}function ze(s,o){if(1&s&&(t.j41(0,"div",10),t.DNE(1,je,0,0,"ng-template",11),t.k0s()),2&s){const l=o.$implicit,d=o.index,g=o.last;t.XpG(3);const w=t.sdS(3);t.Y8G("ngClass",t.eq3(3,Be,d>1)),t.R7$(),t.Y8G("ngTemplateOutlet",w)("ngTemplateOutletContext",t.sMw(5,De,l,d,g))}}function Le(s,o){}function Xe(s,o){if(1&s&&(t.j41(0,"div",10),t.DNE(1,Le,0,0,"ng-template",11),t.k0s()),2&s){const l=o.$implicit,d=o.index,g=o.last;t.XpG(3);const w=t.sdS(3);t.Y8G("ngClass",t.eq3(3,Ge,d%2==0&&!g)),t.R7$(),t.Y8G("ngTemplateOutlet",w)("ngTemplateOutletContext",t.sMw(5,Ne,l,d,g))}}function Ae(s,o){if(1&s&&(t.j41(0,"div",8),t.DNE(1,ze,2,9,"div",9)(2,Xe,2,9,"div",9),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.R7$(),t.Y8G("ngForOf",d.data?.list),t.R7$(),t.Y8G("ngForOf",l)}}function He(s,o){}function We(s,o){if(1&s&&t.DNE(0,He,0,0,"ng-template",11),2&s){const l=o.$implicit;t.XpG(3);const d=t.sdS(3);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,Ye,l))}}function Ue(s,o){if(1&s&&(t.j41(0,"nfj-carousel",12),t.DNE(1,We,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.Y8G("slides",d.data?.list||l)("itemsPerSlideConfig",t.lJ4(2,Fe))}}function Ve(s,o){if(1&s&&(t.qex(0),t.DNE(1,Ae,3,2,"div",7),t.nI1(2,"async"),t.DNE(3,Ue,2,3,"ng-template",null,1,t.C5r),t.bVm()),2&s){const l=t.sdS(4),d=t.XpG();t.R7$(),t.Y8G("ngIf",!1===t.bMT(2,2,d.isMobile$))("ngIfElse",l)}}function Je(s,o){if(1&s&&(t.j41(0,"a",20),t.nrm(1,"inline-icon",21),t.k0s()),2&s){const l=t.XpG().$implicit;t.BMQ("href",l.url,t.B4B)}}function Ke(s,o){if(1&s&&t.nrm(0,"img",23),2&s){const l=t.XpG(2).$implicit;t.Y8G("src",l.imageUrl,t.B4B)}}function Qe(s,o){if(1&s&&(t.nrm(0,"img",23),t.nI1(1,"uploadPath"),t.nI1(2,"retina"),t.nI1(3,"uploadPath")),2&s){const l=t.XpG(2).$implicit;t.Y8G("src",t.bMT(1,2,l.imageUrl.cropped_resized),t.B4B),t.BMQ("srcset",t.bMT(3,6,t.bMT(2,4,l.imageUrl.cropped_resized_2x)))}}function Ze(s,o){if(1&s&&(t.qex(0),t.DNE(1,Ke,1,1,"img",22)(2,Qe,4,8,"ng-template",null,4,t.C5r),t.bVm()),2&s){const l=t.sdS(3),d=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",!d.imageUrl.cropped_resized)("ngIfElse",l)}}function qe(s,o){1&s&&(t.j41(0,"div",24),t.EFF(1,"LOGO"),t.k0s())}function ti(s,o){if(1&s&&t.nrm(0,"p",25),2&s){const l=t.XpG().$implicit;t.Y8G("innerHTML",l.description,t.npT)}}function ei(s,o){if(1&s&&(t.j41(0,"common-profile-chip-item",27),t.EFF(1),t.k0s()),2&s){const l=o.$implicit;t.Y8G("isPreviewMode",!0),t.R7$(),t.SpI(" ",l," ")}}function ii(s,o){if(1&s&&(t.qex(0),t.DNE(1,ei,2,2,"common-profile-chip-item",26),t.nI1(2,"clearFalsyValues"),t.bVm()),2&s){const l=t.XpG().$implicit;t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,l.language))}}function si(s,o){if(1&s&&(t.j41(0,"common-profile-chip-item",27),t.EFF(1),t.k0s()),2&s){const l=t.XpG().$implicit;t.Y8G("isPreviewMode",!0),t.R7$(),t.SpI(" ",l.language," ")}}function ni(s,o){if(1&s&&(t.j41(0,"div",13),t.DNE(1,Je,2,1,"a",14),t.j41(2,"div",15)(3,"div",16),t.DNE(4,Ze,4,2,"ng-container",17)(5,qe,2,0,"ng-template",null,2,t.C5r),t.k0s(),t.j41(7,"h4",18),t.EFF(8),t.k0s()(),t.DNE(9,ti,1,1,"p",19)(10,ii,3,3,"ng-container",17)(11,si,2,2,"ng-template",null,3,t.C5r),t.k0s()),2&s){const l=o.$implicit,d=o.predefined,g=t.sdS(6),w=t.sdS(12),Pt=t.XpG();t.R7$(),t.Y8G("ngIf",d||l.url),t.R7$(3),t.Y8G("ngIf",l.imageUrl)("ngIfElse",g),t.R7$(4),t.SpI(" ",l.name," "),t.R7$(),t.Y8G("ngIf",l.description),t.R7$(),t.Y8G("ngIf","string"!==Pt.typeOf(l.language))("ngIfElse",w)}}let oi=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.isMobile$=this.breakpoint.isMobile$,this.SearchableEntity=dt.z,(0,Oe.N)([Ee])}typeOf(d){return typeof d}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-projects-preview"]],inputs:{data:"data",searchParams:"searchParams"},decls:4,vars:5,consts:[["itemTemplate",""],["mobile",""],["placeholder",""],["single",""],["customLogo",""],[3,"type","showSearchInput","searchParams","searchOnEmpty","maxResults"],[4,"commonProfileSearchableListResults"],["class","tw-grid tw-gri
1d-cols-12 tw-gap-x-8",4,"ngIf","ngIfElse"],[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8"],["class","tw-col-span-12 desktop:tw-col-span-6",3,"ngClass",4,"ngFor","ngForOf"],[1,"tw-col-span-12","desktop:tw-col-span-6",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["cy","carousel-projects",3,"slides","itemsPerSlideConfig"],[1,"entry","tw-relative","tw-p-4","tw-h-full"],["target","_blank",4,"ngIf"],[1,"tw-flex","tw-items-center","tw-mb-5"],[1,"entry__logo","tw-mr-2.5"],[4,"ngIf","ngIfElse"],[1,"tw-text-[18px]","tw-font-semibold","tw-text-ink"],["class","tw-mb-12 tw-text-gray ws-pre-line",3,"innerHTML",4,"ngIf"],["target","_blank"],["commonIcon","window",1,"tw-text-tastyBlue","tw-absolute","tw-top-2.5","tw-right-2.5"],[3,"src",4,"ngIf","ngIfElse"],[3,"src"],[1,"logo-placeholder"],[1,"tw-mb-12","tw-text-gray","ws-pre-line",3,"innerHTML"],[3,"isPreviewMode",4,"ngFor","ngForOf"],[3,"isPreviewMode"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-searchable-list",5),t.DNE(1,Ve,5,4,"ng-container",6),t.k0s(),t.DNE(2,ni,13,7,"ng-template",null,0,t.C5r)),2&g&&t.Y8G("type",w.SearchableEntity.Projects)("showSearchInput",!1)("searchParams",w.searchParams)("searchOnEmpty",!w.data?.list?.length)("maxResults",2)},dependencies:[mt.r,ct.T,m.YU,m.bT,m.Sq,m.T3,at.g,Se.W,Me.I,Ot.E,m.Jj,F.a,G.J,Re],styles:["[_nghost-%COMP%]{display:block}.entry[_ngcontent-%COMP%]{box-shadow:0 0 6px #00000026}.entry__logo[_ngcontent-%COMP%]{width:64px;height:64px;display:flex;justify-content:center;align-items:center}.entry__logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.entry[_ngcontent-%COMP%] .github-icon[_ngcontent-%COMP%]{width:17px;height:17px}.entry[_ngcontent-%COMP%] .logo-placeholder[_ngcontent-%COMP%]{background-color:#cecece;justify-content:center;align-items:center;display:flex;width:100%;height:100%}"]}))}return s(),o})();function ri(s,o){if(1&s&&(t.j41(0,"div",2)(1,"p",3),t.EFF(2),t.k0s(),t.j41(3,"p"),t.EFF(4),t.k0s()()),2&s){const l=o.$implicit;t.R7$(2),t.SpI("",l.value,"%"),t.R7$(2),t.JRh(l.name)}}let li=(()=>{var s;class o{static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-soft-skills-legend"]],inputs:{softSkills:"softSkills"},decls:2,vars:1,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-5"],["class","tw-col-span-12 md:tw-col-span-6 tw-my-4",4,"ngFor","ngForOf"],[1,"tw-col-span-12","md:tw-col-span-6","tw-my-4"],[1,"tw-mb-0","tw-text-[26px]","value"]],template:function(g,w){1&g&&(t.j41(0,"div",0),t.DNE(1,ri,5,2,"div",1),t.k0s()),2&g&&(t.R7$(),t.Y8G("ngForOf",w.softSkills))},dependencies:[m.Sq],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .value[_ngcontent-%COMP%]{color:#1271ed}"]}))}return s(),o})();var ai=h(40752);const ci=()=>["desktop","md"];function mi(s,o){if(1&s&&t.nrm(0,"common-soft-skills-legend",1),2&s){const l=t.XpG();t.Y8G("softSkills",l.previewData)}}let hi=(()=>{var s;class o{get previewData(){return this.data?.list}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-soft-skills-preview"]],inputs:{data:"data"},decls:3,vars:3,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8","tw-items-center"],[1,"tw-col-span-12","md:tw-col-span-6",3,"softSkills"],["class","tw-col-span-12 md:tw-col-span-6",3,"softSkills",4,"nfjRenderWhenBreakpoint"]],template:function(g,w){1&g&&(t.j41(0,"div",0),t.nrm(1,"common-soft-skills-radar",1),t.DNE(2,mi,1,1,"common-soft-skills-legend",2),t.k0s()),2&g&&(t.R7$(),t.Y8G("softSkills",w.previewData),t.R7$(),t.Y8G("nfjRenderWhenBreakpoint",t.lJ4(2,ci)))},dependencies:[ai.E,et.X,li],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]}))}return s(),o})();const di=()=>({xs:1,sm:2}),pi=s=>({$implicit:s});function gi(s,o){if(1&s&&(t.qex(0),t.nrm(1,"common-profile-items-picker",5),t.bVm()),2&s){const l=t.XpG().$implicit,d=t.XpG(),g=t.sdS(3);t.R7$(),t.Y8G("isPreviewOnly",!0)("selectedItems",d.data?.list)("availableItems",l)("itemTemplate",g)}}function fi(s,o){}function ui(s,o){if(1&s&&t.DNE(0,fi,0,0,"ng-template",7),2&s){const l=o.$implicit;t.XpG(3);const d=t.sdS(3);t.Y8G("ngTemplateOutlet",d)("ngTemplateOutletContext",t.eq3(2,pi,l))}}function _i(s,o){if(1&s&&(t.j41(0,"nfj-carousel",6),t.DNE(1,ui,1,4,"ng-template"),t.k0s()),2&s){const l=t.XpG().$implicit,d=t.XpG();t.Y8G("slides",d.data?.list||l)("itemsPerSlideConfig",t.lJ4(2,di))}}function wi(s,o){if(1&s&&(t.qex(0),t.DNE(1,gi,2,4,"ng-container",4),t.nI1(2,"async"),t.DNE(3,_i,2,3,"ng-template",null,1,t.C5r),t.bVm()),2&s){const l=t.sdS(4),d=t.XpG();t.R7$(),t.Y8G("ngIf",!1===t.bMT(2,2,d.isMobile$))("ngIfElse",l)}}function vi(s,o){if(1&s&&(t.j41(0,"a",8)(1,"div",9),t.nrm(2,"img",10),t.k0s(),t.j41(3,"div",11)(4,"p",12),t.EFF(5),t.k0s()()()),2&s){const l=o.$implicit;t.Y8G("href",l.url,t.B4B),t.R7$(2),t.Y8G("src",l.thumbnail,t.B4B),t.R7$(3),t.JRh(l.title)}}let Ci=(()=>{var s;class o{constructor(d){this.breakpoint=d,this.SearchableEntity=dt.z,this.isMobile$=this.breakpoint.isMobile$}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)(t.rXU(B.d))},this.\u0275cmp=t.VBU({type:o,selectors:[["common-watchlist-preview"]],inputs:{searchParams:"searchParams",data:"data"},decls:4,vars:5,consts:[["itemTemplate",""],["mobile",""],[3,"type","showSearchInput","searchParams","searchOnEmpty","maxResults"],[4,"commonProfileSearchableListResults"],[4,"ngIf","ngIfElse"],["itemContainerClass","tw-col-span-12 sm:tw-col-span-6",3,"isPreviewOnly","selectedItems","availableItems","itemTemplate"],["cy","carousel-watchlist",3,"slides","itemsPerSlideConfig"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["target","_blank",1,"tw-block","entry",3,"href"],[1,"entry__cover","overlay","overlay--fade"],[3,"src"],[1,"entry__caption"],[1,"entry__title"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-searchable-list",2),t.DNE(1,wi,5,4,"ng-container",3),t.k0s(),t.DNE(2,vi,6,3,"ng-template",null,0,t.C5r)),2&g&&t.Y8G("type",w.SearchableEntity.Watchlist)("showSearchInput",!1)("searchParams",w.searchParams)("searchOnEmpty",!w.data?.list?.length)("maxResults",2)},dependencies:[mt.r,ct.T,m.bT,ht.$,at.g,m.T3,m.Jj],styles:[".entry[_ngcontent-%COMP%]{width:100%}.entry__cover[_ngcontent-%COMP%]{position:relative;padding-bottom:66.6%}.entry__cover[_ngcontent-%COMP%] > img[_ngcontent-%COMP%], .entry__cover[_ngcontent-%COMP%] .fill-full[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.entry__title[_ngcontent-%COMP%]{margin-top:10px;font-size:18px;font-weight:500;color:#757575;margin-bottom:3px;line-height:18px}.entry__author[_ngcontent-%COMP%]{font-size:12px;color:#1271ed}.entry__caption[_ngcontent-%COMP%]{padding-right:15%}.error[_ngcontent-%COMP%]{border:solid 1px red}[_nghost-%COMP%] .edit-mode .entry__caption{padding-right:0}","[_nghost-%COMP%]{display:block}.entry__caption[_ngcontent-%COMP%]{position:absolute;bottom:0;padding:10px 10px 15px}.entry__title[_ngcontent-%COMP%]{color:#fff}"]}))}return s(),o})();function yi(s,o){if(1&s&&t.nrm(0,"common-basic-info-preview",8),2&s){const l=o.$implicit,d=t.XpG();
1t.Y8G("data",l)("myData",d.myData)("wantedJob",d.wantedJob)}}function Ii(s,o){1&s&&t.nrm(0,"common-contact-info-preview",9),2&s&&t.Y8G("data",o.$implicit)}function xi(s,o){1&s&&t.nrm(0,"common-about-me-preview",9),2&s&&t.Y8G("data",o.$implicit)}function bi(s,o){1&s&&t.nrm(0,"common-key-specialities-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Pi(s,o){1&s&&t.nrm(0,"common-job-experience-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Ti(s,o){if(1&s&&t.nrm(0,"common-projects-preview",10),2&s){const l=o.$implicit,d=t.XpG();t.Y8G("data",l)("searchParams",d.categoriesAndTech)}}function $i(s,o){1&s&&t.nrm(0,"common-soft-skills-preview",9),2&s&&t.Y8G("data",o.$implicit)}function ki(s,o){1&s&&t.nrm(0,"common-languages-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Oi(s,o){1&s&&t.nrm(0,"common-heatmap-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Ei(s,o){1&s&&t.nrm(0,"common-education-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Si(s,o){1&s&&t.nrm(0,"common-certificates-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Mi(s,o){1&s&&t.nrm(0,"common-certificates-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Ri(s,o){1&s&&t.nrm(0,"common-hobby-preview",9),2&s&&t.Y8G("data",o.$implicit)}function Bi(s,o){if(1&s&&t.nrm(0,"common-people-preview",11),2&s){const l=o.$implicit,d=t.XpG();t.Y8G("searchParams",d.categoriesAndTech)("data",l)}}function Di(s,o){if(1&s&&t.nrm(0,"common-books-preview",11),2&s){const l=o.$implicit,d=t.XpG();t.Y8G("searchParams",d.categoriesAndTech)("data",l)}}function Gi(s,o){if(1&s&&t.nrm(0,"common-podcasts-preview",11),2&s){const l=o.$implicit,d=t.XpG();t.Y8G("searchParams",d.categoriesAndTech)("data",l)}}function Ni(s,o){if(1&s&&t.nrm(0,"common-watchlist-preview",11),2&s){const l=o.$implicit,d=t.XpG();t.Y8G("searchParams",d.categoriesAndTech)("data",l)}}let Fi=(()=>{var s;class o{constructor(){this.PROFILE_SECTIONS=v.Xs}static#t=s=()=>(this.\u0275fac=function(g){return new(g||o)},this.\u0275cmp=t.VBU({type:o,selectors:[["common-candidate-sections"]],viewQuery:function(g,w){if(1&g&&t.GBs(Ft.y,5),2&g){let Pt;t.mGM(Pt=t.lsd())&&(w.profileSections=Pt)}},inputs:{wantedJob:"wantedJob",myData:"myData",categoriesAndTech:"categoriesAndTech"},decls:34,vars:19,consts:[[1,"tw-border","tw-border-gray-ddd",3,"sectionName"],[3,"data","myData","wantedJob",4,"profileSectionPreview"],["titleSectionName","CONTACTINFO",1,"tw-border","tw-border-gray-ddd",3,"showEmptyText","sectionName"],[3,"data",4,"profileSectionPreview"],[1,"tw-border","tw-border-gray-ddd","about-me",3,"sectionName"],[1,"tw-border","tw-border-gray-ddd",3,"disableEventsOnFaded","sectionName"],[3,"data","searchParams",4,"profileSectionPreview"],[3,"searchParams","data",4,"profileSectionPreview"],[3,"data","myData","wantedJob"],[3,"data"],[3,"data","searchParams"],[3,"searchParams","data"]],template:function(g,w){1&g&&(t.j41(0,"common-profile-section",0),t.DNE(1,yi,1,3,"common-basic-info-preview",1),t.k0s(),t.j41(2,"common-profile-section",2),t.DNE(3,Ii,1,1,"common-contact-info-preview",3),t.k0s(),t.j41(4,"common-profile-section",4),t.DNE(5,xi,1,1,"common-about-me-preview",3),t.k0s(),t.j41(6,"common-profile-section",0),t.DNE(7,bi,1,1,"common-key-specialities-preview",3),t.k0s(),t.j41(8,"common-profile-section",5),t.DNE(9,Pi,1,1,"common-job-experience-preview",3),t.k0s(),t.j41(10,"common-profile-section",0),t.DNE(11,Ti,1,2,"common-projects-preview",6),t.k0s(),t.j41(12,"common-profile-section",0),t.DNE(13,$i,1,1,"common-soft-skills-preview",3),t.k0s(),t.j41(14,"common-profile-section",0),t.DNE(15,ki,1,1,"common-languages-preview",3),t.k0s(),t.j41(16,"common-profile-section",0),t.DNE(17,Oi,1,1,"common-heatmap-preview",3),t.k0s(),t.j41(18,"common-profile-section",0),t.DNE(19,Ei,1,1,"common-education-preview",3),t.k0s(),t.j41(20,"common-profile-section",0),t.DNE(21,Si,1,1,"common-certificates-preview",3),t.k0s(),t.j41(22,"common-profile-section",0),t.DNE(23,Mi,1,1,"common-certificates-preview",3),t.k0s(),t.j41(24,"common-profile-section",0),t.DNE(25,Ri,1,1,"common-hobby-preview",3),t.k0s(),t.j41(26,"common-profile-section",0),t.DNE(27,Bi,1,2,"common-people-preview",7),t.k0s(),t.j41(28,"common-profile-section",0),t.DNE(29,Di,1,2,"common-books-preview",7),t.k0s(),t.j41(30,"common-profile-section",0),t.DNE(31,Gi,1,2,"common-podcasts-preview",7),t.k0s(),t.j41(32,"common-profile-section",0),t.DNE(33,Ni,1,2,"common-watchlist-preview",7),t.k0s()),2&g&&(t.Y8G("sectionName",w.PROFILE_SECTIONS.BasicInfo),t.R7$(2),t.Y8G("showEmptyText",!1)("sectionName",w.PROFILE_SECTIONS.MyData),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.AboutMe),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.KeySpecialities),t.R7$(2),t.Y8G("disableEventsOnFaded",!1)("sectionName",w.PROFILE_SECTIONS.JobExperience),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Projects),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.SoftSkills),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Languages),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Heatmap),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Education),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Courses),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Certificates),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Hobby),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.People),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Books),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Podcasts),t.R7$(2),t.Y8G("sectionName",w.PROFILE_SECTIONS.Watchlist))},dependencies:[Ft.y,ke.A,V,Mt,q,se,qt,oi,hi,ne.d,p,e,Tt,wt,fe,K,$e,Ci],styles:["[_nghost-%COMP%]:not(.profile-account) .pdf-export-hide[_ngcontent-%COMP%]:not(.bio){display:none}@media(max-width:992px){common-profile-section[_ngcontent-%COMP%]{background:#fff;margin-bottom:10px}}@media(min-width:992px){common-profile-section[_ngcontent-%COMP%]{margin-bottom:24px;background:#fff}}"]}))}return s(),o})()},18418(tt,j,h){h.d(j,{c:()=>f});var v=h(68018),m=h(86508),r=h(35547);let f=(()=>{var Y;class T{constructor(){this.hobbies=m.H}static#t=Y=()=>(this.\u0275fac=function(B){return new(B||T)},this.\u0275cmp=r.VBU({type:T,selectors:[["common-hobby-entry"]],inputs:{id:"id"},decls:8,vars:5,consts:[[1,"hobby"],[1,"hobby__icon"],[1,"tw-flex","tw-justify-center","tw-items-center"],[3,"src","alt"],[1,"hobby__caption"],[1,"hobby__name"]],template:function(B,c){1&B&&(r.rj2(0,"div",0)(1,"div",1)(2,"div",2),r.Hgh(3,"img",3),r.eux()(),r.rj2(4,"div",4)(5,"p",5),r.EFF(6),r.nI1(7,"translate"),r.eux()()()),2&B&&(r.R7$(3),r.Avn("src","https://static.nofluffjobs.com/nfj/assets/images/profile/hobby/"+c.hobbies[c.id].iconName+".svg",r.B4B)("alt",c.id),r.R7$(3),r.SpI(" ",r.bMT(7,3,c.hobbies[c.id].nameI18n)," "))},dependencies:[v.h,v.D9],styles:[".hobby__icon[_ngcontent-%COMP%]{display:flex;position:relative;padding-bottom:100%;align-items:center;justify-content:center;border-radius:50%;border:solid 1px #eeeeee}.hobby__icon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;inset:15%}.hobby__icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80%;height:80%}.hobby__name[_ngcontent-%COMP%]{font-size:12px;color:#111;text-align:center;margin:10px 0 0}.hobby--add[_ngcontent-%COMP%] .hobby__icon[_ngcontent-%COMP%], .box-shadow-none[_ngcontent-%COMP%]{box-shadow:none}"]}))}return Y(),T})()},89824(tt,j,h){h.d(j,{d:()=>et});var v=h(49769),m=h(5964),r=h(96354),f=h(23370),Y=h(47266),T=h(35547);let R=(()=>{var F;class G{constructor(z){this.document=z}loadStyle(z){const H=this.document.getElementsByTagName("head")[0],it=this.document.getElementById("flag-icons");if(it)it.href=z;else{const D=this.document.createElement("link");D.id="flag-icons",D.rel="stylesheet",D.href=`${z}`,H.appendChild(D)}}ngOnInit(){this.loadStyle("assets/styles/flag-icon.css")}static#t=F=()=>(this.\u0275fac=function(H){return new(H||G)(T.rXU(Y.qQL))},this.\u0275cmp=T.VBU({type:G,selectors:[["nfj-flag-icons"],["flag-icon"]],inputs:{flag:"flag"},decls:1,vars:3,template:function(H,it){1&H&&T.Hgh(0,"span"),2&H&&T.HbH(T.VkB("flag-icon flag-icon-squared flag-icon-",it.flag))},styles:["[_nghost-%COMP%]{display:flex}[_nghost-%COMP%] .flag-icon[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%}"]}
1))}return F(),G})();var t=h(67456),B=h(5576);function c(F,G){1&F&&T.nrm(0,"flag-icon",1),2&F&&T.Y8G("flag",G.ngIf)}let U=(()=>{var F;class G{constructor(z,H){this.dataListsQuery=z,this.dataListsService=H}ngOnInit(){this.dataListsService.getDataLists([f.w.Languages]).subscribe(),this.flag$=this.dataListsQuery.languages$.pipe((0,m.p)(Boolean),(0,r.T)(z=>z.find(H=>H.language===this.lang)),(0,r.T)(z=>z?z.flag.toLowerCase():"empty"))}static#t=F=()=>(this.\u0275fac=function(H){return new(H||G)(T.rXU(t.q),T.rXU(B.d))},this.\u0275cmp=T.VBU({type:G,selectors:[["common-languages-flag"]],inputs:{lang:"lang"},decls:2,vars:3,consts:[[3,"flag",4,"ngIf"],[3,"flag"]],template:function(H,it){1&H&&(T.DNE(0,c,1,1,"flag-icon",0),T.nI1(1,"async")),2&H&&T.Y8G("ngIf",T.bMT(1,1,it.flag$))},dependencies:[v.bT,R,v.Jj],styles:["[_nghost-%COMP%]{display:flex}[_nghost-%COMP%] .flag-icon-empty{background-color:#eee}"]}))}return F(),G})();const A=(F,G,nt,z)=>({"pr-md-10":F,"pl-md-10":G,"mt-20":nt,"mb-20 md:tw-mb-0":z});function q(F,G){if(1&F&&(T.j41(0,"div",2),T.nrm(1,"common-languages-flag",3),T.j41(2,"span"),T.EFF(3),T.k0s(),T.EFF(4),T.k0s()),2&F){const nt=G.$implicit,z=G.index;T.AVh("pr-md-10",z%2!=1)("pl-md-10",z%2==1)("mt-20",z>=2),T.Y8G("ngClass",T.ziG(10,A,z%2!=1,z%2==1,z>=2,0===z)),T.R7$(),T.Y8G("lang",nt.language),T.R7$(2),T.SpI("",nt.language," \u2022"),T.R7$(),T.SpI(" \xa0",nt.level," ")}}let et=(()=>{var F;class G{get previewData(){return this.data?.list}static#t=F=()=>(this.\u0275fac=function(H){return new(H||G)},this.\u0275cmp=T.VBU({type:G,selectors:[["common-languages-preview"]],inputs:{data:"data"},decls:2,vars:1,consts:[[1,"tw-grid","tw-grid-cols-12","tw-gap-x-8"],["class","tw-col-span-12 md:tw-col-span-6 tw-flex tw-items-center",3,"ngClass","pr-md-10","pl-md-10","mt-20",4,"ngFor","ngForOf"],[1,"tw-col-span-12","md:tw-col-span-6","tw-flex","tw-items-center",3,"ngClass"],[1,"mr-10",3,"lang"]],template:function(H,it){1&H&&(T.j41(0,"div",0),T.DNE(1,q,5,15,"div",1),T.k0s()),2&H&&(T.R7$(),T.Y8G("ngForOf",it.previewData))},dependencies:[v.Sq,v.YU,U],styles:["[_nghost-%COMP%]{display:block}@media(min-width:992px){[_nghost-%COMP%]{font-size:16px}}[_nghost-%COMP%] .flag-icon{width:40px!important;height:40px!important;border:1px solid #eee}"]}))}return F(),G})()},67891(tt,j,h){h.d(j,{A:()=>m});var v=h(35547);let m=(()=>{var r;class f{static#t=r=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=v.FsC({type:f,selectors:[["","profileSectionPreview",""]]}))}return r(),f})()},93392(tt,j,h){h.d(j,{I:()=>m});var v=h(47266);let m=(()=>{var r;class f{static#t=r=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=v.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return r(),f})()},16415(tt,j,h){h.d(j,{y:()=>X});var v=h(49769),m=h(47266),r=h(35547),f=h(73864),Y=h(68018),T=h(94768),R=h(80525),t=h(73046),B=h(9300),c=h(17723),U=h(42822),A=h(28776),q=h(48417);function et(b,E){1&b&&(r.qex(0),r.EFF(1),r.nI1(2,"translate"),r.bVm()),2&b&&(r.R7$(),r.SpI(" ",r.bMT(2,1,"profile.ACCOUNT.ADD_SECTION")," "))}function F(b,E){if(1&b){const $=r.RV6();r.qex(0),r.j41(1,"button",2),r.bIt("click",function(){m.eBV($);const S=r.XpG();return m.Njj(S.edit.next())}),r.nrm(2,"inline-icon",3),r.DNE(3,et,3,3,"ng-container",4),r.k0s(),r.bVm()}if(2&b){const $=r.XpG();r.R7$(),r.AVh("tw-px-2",!$.isDesktop),r.BMQ("id","add-section-"+$.sectionName),r.R7$(),r.AVh("tw-mr-2",$.isDesktop),r.R7$(),r.Y8G("ngIf",$.isDesktop)}}function G(b,E){if(1&b){const $=r.RV6();r.j41(0,"button",2),r.bIt("click",function(){m.eBV($);const S=r.XpG(2);return m.Njj(S.edit.next())}),r.nrm(1,"inline-icon",7),r.EFF(2),r.nI1(3,"translate"),r.k0s()}if(2&b){const $=r.XpG(2);r.BMQ("id","edit-section-"+$.sectionName),r.R7$(2),r.SpI(" ",r.bMT(3,2,"profile.ACCOUNT.EDIT")," ")}}function nt(b,E){if(1&b){const $=r.RV6();r.j41(0,"inline-icon",8),r.bIt("click",function(){m.eBV($);const S=r.XpG(2);return m.Njj(S.edit.next())}),r.k0s()}}function z(b,E){if(1&b&&(r.qex(0),r.DNE(1,G,4,4,"button",5)(2,nt,1,0,"inline-icon",6),r.bVm()),2&b){const $=r.XpG();r.R7$(),r.Y8G("ngIf",$.isDesktop),r.R7$(),r.Y8G("ngIf",!$.isDesktop)}}let H=(()=>{var b;class E{constructor(){this.state=R.g.Empty,this.edit=new m.bkB,this.ProfileSectionState=R.g,(0,B.r)([c.mdIconsEdit,c.mdIconsAddCircle])}static#t=b=()=>(this.\u0275fac=function(S){return new(S||E)},this.\u0275cmp=r.VBU({type:E,selectors:[["common-profile-section-action-btn"]
1],inputs:{sectionName:"sectionName",isDesktop:"isDesktop",state:"state"},outputs:{edit:"edit"},decls:3,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tw-btn","tw-btn-sm","tw-btn-primary-outline","tw-truncate",2,"--width","20px","--height","20px",3,"click"],["matIcon","add_circle"],[4,"ngIf"],["class","tw-btn tw-btn-sm tw-btn-primary-outline tw-truncate","style","--width: 20px; --height: 20px",3,"click",4,"ngIf"],["class","edit tw-text-gray","style","--width: 18px; --height: 18px","matIcon","edit",3,"click",4,"ngIf"],["matIcon","edit",1,"edit","tw-mr-2.5",2,"--width","18px","--height","18px"],["matIcon","edit",1,"edit","tw-text-gray",2,"--width","18px","--height","18px",3,"click"]],template:function(S,K){1&S&&(r.qex(0,0),r.DNE(1,F,4,6,"ng-container",1)(2,z,3,2,"ng-container",1),r.bVm()),2&S&&(r.Y8G("ngSwitch",K.state),r.R7$(),r.Y8G("ngSwitchCase",K.ProfileSectionState.Empty),r.R7$(),r.Y8G("ngSwitchCase",K.ProfileSectionState.Init))},dependencies:[v.ux,v.e1,U.W,A.w,v.bT,Y.h,Y.D9],styles:["[_nghost-%COMP%]{display:flex}"]}
1))}return b(),E})();var it=h(67891),D=h(90767),vt=h(93392),W=h(54663);const Q=["*"],It=b=>({$implicit:b});function gt(b,E){if(1&b&&(r.j41(0,"p",8),r.EFF(1),r.nI1(2,"uppercase"),r.nI1(3,"translate"),r.k0s()),2&b){const $=r.XpG(3);r.R7$(),r.SpI(" ",r.bMT(3,3,"profile.SECTIONS_EMPTY."+r.bMT(2,1,$.titleSectionName??$.sectionName))," ")}}function V(b,E){if(1&b&&r.nrm(0,"inline-icon",12),2&b){const $=r.XpG(3).ngIf;r.Y8G("matIcon",$.collapsed?"keyboard_arrow_down":"keyboard_arrow_up")}}function at(b,E){if(1&b){const $=r.RV6();r.qex(0),r.j41(1,"div",9)(2,"common-profile-section-action-btn",10),r.bIt("edit",function(){m.eBV($);const S=r.XpG(3);return m.Njj(S.editSection.emit(S.sectionName))}),r.k0s(),r.DNE(3,V,1,1,"inline-icon",11),r.k0s(),r.bVm()}if(2&b){const $=r.XpG(2).ngIf,x=r.XpG();r.R7$(2),r.Y8G("sectionName",x.sectionName)("state",$.state)("isDesktop",$.isDesktop),r.R7$(),r.Y8G("ngIf",$.state!==x.ProfileSectionState.Empty)}}function ht(b,E){if(1&b){const $=r.RV6();r.j41(0,"div",3),r.bIt("click",function(){m.eBV($);const S=r.XpG(2);return S.toggleCollapse(),m.Njj(S.emitCollapseStatus())}),r.j41(1,"div",4)(2,"h3",5),r.EFF(3),r.nI1(4,"uppercase"),r.nI1(5,"translate"),r.k0s(),r.DNE(6,gt,4,5,"p",6),r.k0s(),r.DNE(7,at,4,4,"ng-container",7),r.k0s()}if(2&b){const $=r.XpG().ngIf,x=r.XpG();r.R7$(2),r.AVh("events-disabled",x.disableEventsOnFaded),r.R7$(),r.SpI(" ",r.bMT(5,7,"profile.SECTIONS."+r.bMT(4,5,x.titleSectionName??x.sectionName))," "),r.R7$(3),r.Y8G("ngIf",x.showEmptyText&&$.state===x.ProfileSectionState.Empty),r.R7$(),r.Y8G("ngIf",x.profilePreviewType===x.candidateProfilePreviewType.Own)}}function dt(b,E){1&b&&(r.j41(0,"div",16),r.nrm(1,"inline-icon",17),r.j41(2,"span",18),r.EFF(3),r.nI1(4,"translate"),r.k0s()()),2&b&&(r.R7$(3),r.SpI(" ",r.bMT(4,1,"profile.ACCOUNT.PRIVATE_INFO")," "))}function ct(b,E){1&b&&(r.j41(0,"div",16),r.nrm(1,"inline-icon",19),r.j41(2,"span",18),r.EFF(3),r.nI1(4,"translate"),r.k0s()()),2&b&&(r.R7$(3),r.SpI(" ",r.bMT(4,1,"profile.ACCOUNT.EMPTY_INFO")," "))}function mt(b,E){}function pt(b,E){if(1&b&&(r.j41(0,"div",20),r.DNE(1,mt,0,0,"ng-template",21),r.k0s()),2&b){const $=r.XpG(2).ngIf,x=r.XpG();r.AVh("events-disabled",x.disableEventsOnFaded),r.R7$(),r.Y8G("ngTemplateOutlet",x.previewTemplate)("ngTemplateOutletContext",r.eq3(4,It,$.data))}}function rt(b,E){if(1&b&&(r.j41(0,"div",13),r.DNE(1,dt,5,3,"div",14)(2,ct,5,3,"div",14)(3,pt,2,6,"div",15),r.k0s()),2&b){const $=r.XpG().ngIf,x=r.XpG();r.AVh("events-disabled",x.disableEventsOnFaded)("blur",(x.profilePreviewType===x.candidateProfilePreviewType.Public||x.profilePreviewType===x.candidateProfilePreviewType.Recruiter)&&!$.data),r.R7$(),r.Y8G("ngIf",x.profilePreviewType===x.candidateProfilePreviewType.Public&&!$.data),r.R7$(),r.Y8G("ngIf",x.profilePreviewType===x.candidateProfilePreviewType.Recruiter&&!$.data),r.R7$(),r.Y8G("ngIf",$.data)}}function Ct(b,E){if(1&b&&(r.j41(0,"div"),r.DNE(1,ht,8,9,"div",1)(2,rt,4,7,"div",2),r.k0s()),2&b){const $=E.ngIf,x=r.XpG();r.HbH(r.VkB("profile-section profile-section-",x.sectionName)),r.R7$(),r.Y8G("ngIf",$.isDesktop||!$.alwaysOpen),r.R7$(),r.Y8G("ngIf",$.data&&!$.collapsed)}}const Z="LS_PROFILE_SECTION_COLLAPSE";let X=(()=>{var b;class E{set alwaysOpen(x){this.rxState.set({alwaysOpen:x})}get pdfHide(){const{data:x}=this.rxState.get();return!x}get isCollapsed(){const{collapsed:x,alwaysOpen:S}=this.rxState.get();return!S&&x}constructor(x,S,K,C,O){this.ls=x,this.breakpointService=S,this.profileService=K,this.profileQuery=C,this.profilePreviewType=O,this.showEmptyText=!0,this.disableEventsOnFaded=!0,this.editSection=new m.bkB,this.collapsed=new m.bkB,this.rxState=new T.Yz,this.vm$=this.rxState.select(),this.ProfileSectionState=R.g,this.candidateProfilePreviewType=q.F6,(0,B.r)([c.mdIconsKeyboardArrowUp,c.mdIconsKeyboardArrowDown])}ngOnInit(){this.rxState.connect("isDesktop",this.breakpointService.isDesktop$),this.rxState.connect("state",this.profileQuery.getSectionState$(this.sectionName)),this.rxState.connect("data",this.profileQuery.getSection$(this.sectionName)),this.rxState.set({collapsed:this.profilePreviewType===q.F6.Own&&this.checkInStorage()})}toggleCollapse(x){this.toggleEmpty();const S=x??!this.rxState.get().collapsed;this.rxState.set({collapsed:S}),this.rxState.get("isDesktop")&&this.setInStorage(S)}checkInStorage(){return!!this.ls&&(JSON.parse(this.ls.getItem(Z)??"{}")[this.sectionName]??this.breakpointService.isMobile)}setInStorage(x){const S=this.ls.getItem(Z),K={...S?JSON.parse(S):{},[this.sectionName]:x};this.ls.setItem(Z,JSON.stringify(K))}toggleEmpty(){this.rxState.get().state===R.g.Empty&&this.breakpointService.isDesktop&&this.editSection.emit(this.sectionName)}emitCollapseStatus(){setTimeout(()=>
1{this.collapsed.emit(this.rxState.get("collapsed"))})}static#t=b=()=>(this.\u0275fac=function(S){return new(S||E)(r.rXU(f.Wd),r.rXU(D.d,8),r.rXU(vt.I,8),r.rXU(W.H),r.rXU(q.wd))},this.\u0275cmp=r.VBU({type:E,selectors:[["common-profile-section"]],contentQueries:function(S,K,C){if(1&S&&r.wni(C,it.A,5,r.C4Q),2&S){let O;r.mGM(O=r.lsd())&&(K.previewTemplate=O.first)}},hostVars:4,hostBindings:function(S,K){2&S&&r.AVh("pdf-export-hide",K.pdfHide)("collapsed",K.isCollapsed)},inputs:{titleSectionName:"titleSectionName",showEmptyText:"showEmptyText",sectionName:"sectionName",disableEventsOnFaded:"disableEventsOnFaded",alwaysOpen:"alwaysOpen"},outputs:{editSection:"editSection",collapsed:"collapsed"},ngContentSelectors:Q,decls:3,vars:3,consts:[[3,"class",4,"ngIf"],["class","tw-p-5 tw-flex tw-items-center tw-justify-between cursor-pointer",3,"click",4,"ngIf"],["class","content tw-p-5 tw-relative tw-border-t tw-border-gray-ddd",3,"events-disabled","blur",4,"ngIf"],[1,"tw-p-5","tw-flex","tw-items-center","tw-justify-between","cursor-pointer",3,"click"],[1,"tw-flex","tw-flex-col","tw-items-start"],[1,"tw-mb-0","profile-section-title","tw-mr-4","tw-inline-flex","tw-items-center"],["class","tw-mt-2 tw-text-gray tw-mb-0",4,"ngIf"],[4,"ngIf"],[1,"tw-mt-2","tw-text-gray","tw-mb-0"],[1,"tw-flex","tw-items-center"],["nfjStopEvent","",1,"tw-ml-12",3,"edit","sectionName","state","isDesktop"],["class","tw-ml-4 tw-text-gray","style","--width: 28px; --height: 28px",3,"matIcon",4,"ngIf"],[1,"tw-ml-4","tw-text-gray",2,"--width","28px","--height","28px",3,"matIcon"],[1,"content","tw-p-5","tw-relative","tw-border-t","tw-border-gray-ddd"],["class","tw-flex tw-flex-col tw-items-center tw-justify-center private-info tw-absolute tw-w-full tw-h-full",4,"ngIf"],["class","preview tw-w-full tw-h-full",3,"events-disabled",4,"ngIf"],[1,"tw-flex","tw-flex-col","tw-items-center","tw-justify-center","private-info","tw-absolute","tw-w-full","tw-h-full"],["matIcon","admin_panel_settings",2,"--width","30px","--height","30px"],[1,"tw-text-gray-ddd"],["matIcon","search_off",2,"--width","30px","--height","30px"],[1,"preview","tw-w-full","tw-h-full"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,K){1&S&&(r.NAR(),r.DNE(0,Ct,3,5,"div",0),r.nI1(1,"async"),r.SdG(2)),2&S&&r.Y8G("ngIf",r.bMT(1,1,K.vm$))},dependencies:[v.bT,H,t.M,U.W,A.w,v.T3,Y.h,v.Jj,v.Pc,Y.D9],styles:["[_nghost-%COMP%]{display:block}@media(max-width:992px){[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-weight:500;font-size:16px}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{overflow:hidden;transition:opacity .2s ease-out,max-height .5s ease-out;height:auto;max-height:1000px}.collapsed[_nghost-%COMP%] .content[_ngcontent-%COMP%]{opacity:0;max-height:0}}@media(min-width:992px){[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:20px}}[_nghost-%COMP%] .faded[_ngcontent-%COMP%]:not(.blur){opacity:.2}[_nghost-%COMP%] .faded[_ngcontent-%COMP%]:not(.blur).events-disabled{pointer-events:none}[_nghost-%COMP%] .blur[_ngcontent-%COMP%] .preview[_ngcontent-%COMP%]{filter:blur(5px);opacity:.2}[_nghost-%COMP%] .blur[_ngcontent-%COMP%] .preview.events-disabled[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%] nfj-carousel slide>
1div{align-items:flex-start}[_nghost-%COMP%] .btn-dashed-primary{border-width:1px;border-style:dashed}[_nghost-%COMP%] common-profile-chip-item{margin-bottom:8px;margin-right:8px}"]}))}return b(),E})()},40752(tt,j,h){h.d(j,{E:()=>R});var v=h(49769),m=h(14972),r=h(84412),f=h(23005),Y=h(35547);function T(t,B){if(1&t&&(Y.nrm(0,"div",1),Y.nI1(1,"async")),2&t){const c=Y.XpG();Y.Y8G("options",Y.bMT(1,2,c.data))("initOpts",c.initOpts)}}let R=(()=>{var t;class B{constructor(){this.data=new r.t(null),this.initOpts={devicePixelRatio:2.5}}set softSkills(U){U&&U.length&&this.data.next(B.createChartOption(U))}static createChartOption(U=[]){return{tooltip:{},radar:{nameGap:0,name:{textStyle:{color:"#000",fontSize:11,align:"center"},formatter:A=>A?A.split(/((?:\w+ ){2})/g).filter(Boolean).join("\n"):""},splitArea:{show:!1},axisLine:{lineStyle:{color:"#e6e9ee"}},splitLine:{lineStyle:{color:"#e6e9ee"}},indicator:U.map(A=>({name:A.name,max:100}))},series:[{name:"Soft skills",type:"radar",areaStyle:{color:"#1271ed3d"},lineStyle:{color:"#1271ED"},z:0,tooltip:{formatter:A=>A.name+"<br/>"+U.map(q=>`${q.name}: ${q.value}%`).join("<br/>")},data:[{symbol:"none",value:U.map(A=>A.value),name:"My soft skills"}]}]}}static#t=t=()=>(this.\u0275fac=function(A){return new(A||B)},this.\u0275cmp=Y.VBU({type:B,selectors:[["common-soft-skills-radar"]],inputs:{softSkills:"softSkills"},decls:1,vars:0,consts:[["echarts","","style","height: 100%; width: 100%; min-height: 320px",3,"options","initOpts",4,"isBrowser"],["echarts","",2,"height","100%","width","100%","min-height","320px",3,"options","initOpts"]],template:function(A,q){1&A&&Y.DNE(0,T,2,4,"div",0)},dependencies:[f.S,m.$P,v.Jj],styles:["[_nghost-%COMP%]{display:block;height:100%}"]}))}return t(),B})()},89085(tt,j,h){h.d(j,{E:()=>m});var v=h(96354);function m(...r){const f=r.length;if(0===f)throw new Error("list of properties cannot be empty.");return(0,v.T)(Y=>{let T=Y;for(let R=0;R<f;R++){const t=T?.[r[R]];if(!(typeof t<"u"))return;T=t}return T})}},59240(tt,j,h){h.d(j,{Vk:()=>Bt,Zu:()=>Rt,iA:()=>ct});var v=h(47266),m=h(35547),r=h(65157),f=h(21413),Y=h(41584),T=h(70152),R=h(25558),t=h(56977),B=h(49769);const c=["*"];function U(u,i){if(1&u&&m.nrm(0,"div",3),2&u){const e=i.index,n=m.XpG();m.Y8G("ngStyle",n.gridRenderer.getGridColumnStyle(e))}}function A(u,i){if(1&u&&m.nrm(0,"div",4),2&u){const e=i.index,n=m.XpG();m.Y8G("ngStyle",n.gridRenderer.getGridRowStyle(e))}}function q(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",8),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function et(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",9),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function F(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",10),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function G(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",11),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function nt(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",12),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function z(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",13),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function H(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",14),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}function it(u,i){if(1&u){const e=m.RV6();m.j41(0,"div",15),m.bIt("mousedown",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))})("touchstart",function(a){v.eBV(e);const p=m.XpG();return v.Njj(p.resize.dragStartDelay(a))}),m.k0s()}}var D=function(u){return u.Fit="fit",u.ScrollVertical="scrollVertical",u.ScrollHorizontal="scrollHorizontal",u.Fixed="fixed",u.VerticalFixed="verticalFixed",u.HorizontalFixed="horizontalFixed",u}(D||{}),vt=function(u){return u.Always="always",u.OnDragAndResize="onDrag&Resize",u.None="none",u}(vt||{}),W=function(u){return u.None="none",u.CompactUp="compactUp",u.CompactLeft="compactLeft",u.CompactUpAndLeft="compactUp&Left",u.CompactLeftAndUp="compactLeft&Up",u.CompactRight="compactRight",u.CompactUpAndRight="compactUp&Right",u.CompactRightAndUp="compactRight&Up",u.CompactDown="compactDown",u.CompactDownAndLeft="compactDown&Left",u.CompactLeftAndDown="compactLeft&Down",u.CompactDownAndRight="compactDown&Right",u.CompactRightAndDown="compactRight&Down",u}(W||{}),Q=function(u){return u.LTR="ltr",u.RTL="rtl",u}(Q||{});class It{constructor(i){this.gridster=i}destroy(){this.gridster=null}checkCompact(){this.gridster.$options.compactType!==W.None&&(this.gridster.$options.compactType===W.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===W.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===W.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===W.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===W.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===W.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===W.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===W.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===W.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===W.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===W.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===W.CompactRightAndDown&&(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)))}checkCompactItem(i){this.gridster.$options.compactType!==W.None&&(this.gridster.$options.compactType===W.CompactUp?this.moveTillCollision(i,"y",-1):this.gridster.$options.compactType===W.CompactLeft?this.moveTillCollision(i,"x",-1):this.gridster.$options.compactType===W.CompactUpAndLeft?(this.moveTillCollision(i,"y",-1),this.moveTillCollision(i,"x",-1)):this.gridster.$options.compactType===W.CompactLeftAndUp?(this.moveTillCollision(i,"x",-1),this.moveTillCollision(i,"y",-1)):this.gridster.$options.compactType===W.CompactUpAndRight?(this.moveTillCollision(i,"y",-1),this.moveTillCollision(i,"x",1)):this.gridster.$options.compactType===W.CompactDown?this.moveTillCollision(i,"y",1):this.gridster.$options.compactType===W.CompactDownAndLeft?(this.moveTillCollision(i,"y",1),this.moveTillCollision(i,"x",-1)):this.gridster.$options.compactType===W.CompactLeftAndDown?(this.moveTillCollision(i,"x",-1),this.moveTillCollision(i,"y",1)):this.gridster.$options.compactType===W.CompactDownAndRight?(this.moveTillCollision(i,"y",1),this.moveTillCollision(i,"x",1)):this.gridster.$options.compactType===W.CompactRightAndDown&&(this.moveTillCollision(i,"x",1),this.moveTillCollision(i,"y",1)))}checkCompactMovement(i,e){let n=!1;
1this.gridster.grid.forEach(a=>{!1!==a.$item.compactEnabled&&this.moveTillCollision(a.$item,i,e)&&(n=!0,a.item[i]=a.$item[i],a.itemChanged())}),n&&this.checkCompact()}moveTillCollision(i,e,n){return i[e]+=n,this.gridster.checkCollision(i)?(i[e]-=n,!1):(this.moveTillCollision(i,e,n),!0)}}const gt={gridType:D.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:W.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:vt.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:Q.LTR};class V{static merge(i,e,n){for(const a in e)void 0!==e[a]&&n.hasOwnProperty(a)&&("object"==typeof e[a]?(a in i||(i[a]={}),i[a]=V.merge(i[a],e[a],n[a])):i[a]=e[a]);return i}static checkTouchEvent(i){void 0===i.clientX&&i.touches&&(i.touches&&i.touches.length?(i.clientX=i.touches[0].clientX,i.clientY=i.touches[0].clientY):i.changedTouches&&i.changedTouches.length&&(i.clientX=i.changedTouches[0].clientX,i.clientY=i.changedTouches[0].clientY))}static checkContentClassForEvent(i,e){if(i.$options.draggable.ignoreContent){if(!V.checkDragHandleClass(e.target,e.currentTarget,i.$options.draggable.dragHandleClass,i.$options.draggable.ignoreContentClass))return!0}else if(V.checkContentClass(e.target,e.currentTarget,i.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(i,e){return V.checkContentClass(e.target,e.currentTarget,i.$options.draggable.ignoreContentClass)||V.checkContentClass(e.target,e.currentTarget,i.$options.draggable.dragHandleClass)}static checkDragHandleClass(i,e,n,a){if(!i||i===e)return!1;if(i.hasAttribute("class")){const p=i.getAttribute("class").split(" ");if(p.indexOf(n)>-1)return!0;if(p.indexOf(a)>-1)return!1}return V.checkDragHandleClass(i.parentNode,e,n,a)}static checkContentClass(i,e,n){return!(!i||i===e)&&(!!(i.hasAttribute("class")&&i.getAttribute("class").split(" ").indexOf(n)>-1)||V.checkContentClass(i.parentNode,e,n))}static compareItems(i,e){return i.y>e.y?-1:i.y<e.y?1:i.x>e.x?-1:1}}class at{constructor(i){this.gridster=i,this.emptyCellClickCb=e=>{if(!this.gridster||this.gridster.movingItem||V.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;const n=this.getValidItemFromEvent(e);n&&(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(e,n),this.gridster.cdRef.markForCheck())},this.emptyCellContextMenuCb=e=>{if(this.gridster.movingItem||V.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();const n=this.getValidItemFromEvent(e);n&&(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(e,n),this.gridster.cdRef.markForCheck())},this.emptyCellDragDrop=e=>{const n=this.getValidItemFromEvent(e);n&&(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(e,n),this.gridster.cdRef.markForCheck())},this.emptyCellDragOver=e=>{e.preventDefault(),e.stopPropagation();const n=this.getValidItemFromEvent(e);n?(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),this.gridster.movingItem=n):(e.dataTransfer&&(e.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()},this.emptyCellMouseDown=e=>{if(V.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();const n=this.getValidItemFromEvent(e);!n||1!==e.buttons&&!(e instanceof TouchEvent)||(this.initialItem=n,this.gridster.movingItem=n,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.removeWindowMousemoveListenerFn=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove),this.removeWindowTouchmoveListenerFn=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove)}),this.removeWindowMouseupListenerFn=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp),this.removeWindowTouchendListenerFn=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp))},this.emptyCellMouseMove=e=>{e.preventDefault(),e.stopPropagation();const n=this.getValidItemFromEvent(e,this.initialItem);n&&(this.gridster.movingItem=n,this.gridster.previewStyle())},this.emptyCellMouseUp=e=>{this.removeWindowMousemoveListenerFn(),this.removeWindowTouchmoveListenerFn(),this.removeWindowMouseupListenerFn(),this.removeWindowTouchendListenerFn();const n=this.getValidItemFromEvent(e,this.initialItem);n&&(this.gridster.movingItem=n),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(e,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()}}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(()=>{this.removeEmptyCellDragoverListenerFn=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()}
1)):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}getPixelsX(i,e){const n=this.gridster.options.scale;return n?(i.clientX-e.left)/n+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():i.clientX+this.gridster.el.scrollLeft-e.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(i,e){const n=this.gridster.options.scale;return n?(i.clientY-e.top)/n+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():i.clientY+this.gridster.el.scrollTop-e.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(i,e){i.preventDefault(),i.stopPropagation(),V.checkTouchEvent(i);const n=this.gridster.el.getBoundingClientRect(),a=this.getPixelsX(i,n),p=this.getPixelsY(i,n),_={x:this.gridster.pixelsToPositionX(a,Math.floor,!0),y:this.gridster.pixelsToPositionY(p,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(e&&(_.cols=Math.min(Math.abs(e.x-_.x)+1,this.gridster.$options.emptyCellDragMaxCols),_.rows=Math.min(Math.abs(e.y-_.y)+1,this.gridster.$options.emptyCellDragMaxRows),e.x<_.x?_.x=e.x:e.x-_.x>this.gridster.$options.emptyCellDragMaxCols-1&&(_.x=this.gridster.movingItem?this.gridster.movingItem.x:0),e.y<_.y?_.y=e.y:e.y-_.y>this.gridster.$options.emptyCellDragMaxRows-1&&(_.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),this.gridster.$options.enableOccupiedCellDrop||!this.gridster.checkCollision(_))return _}}class ht{constructor(i){this.gridster=i,this.lastGridColumnStyles={},this.lastGridRowStyles={}}destroy(){this.gridster=null}updateItem(i,e,n){if(this.gridster.mobile)this.clearCellPosition(n,i),n.setStyle(i,"height",this.gridster.$options.keepFixedHeightInMobile?(e.rows-1)*this.gridster.$options.margin+e.rows*this.gridster.$options.fixedRowHeight+"px":e.rows*this.gridster.curWidth/e.cols+"px"),n.setStyle(i,"width",this.gridster.$options.keepFixedWidthInMobile?this.gridster.$options.fixedColWidth+"px":""),n.setStyle(i,"margin-bottom",this.gridster.$options.margin+"px"),n.setStyle(i,Q.LTR?"margin-right":"margin-left","");else{const a=Math.round(this.gridster.curColWidth*e.x),p=Math.round(this.gridster.curRowHeight*e.y),_=this.gridster.curColWidth*e.cols-this.gridster.$options.margin,M=this.gridster.curRowHeight*e.rows-this.gridster.$options.margin;this.setCellPosition(n,i,a,p),n.setStyle(i,"width",_+"px"),n.setStyle(i,"height",M+"px");let L=null,N=null;this.gridster.$options.outerMargin&&(this.gridster.rows===e.rows+e.y&&(L=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginBottom+"px":this.gridster.$options.margin+"px"),this.gridster.columns===e.cols+e.x&&(N=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginRight+"px":this.gridster.$options.margin+"px")),n.setStyle(i,"margin-bottom",L),n.setStyle(i,Q.LTR?"margin-right":"margin-left",N)}}updateGridster(){let i="",e="",n="",a="";if(this.gridster.$options.gridType===D.Fit)i=D.Fit,e=D.ScrollVertical,n=D.ScrollHorizontal,a=D.Fixed;else if(this.gridster.$options.gridType===D.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,i=D.ScrollVertical,e=D.Fit,n=D.ScrollHorizontal,a=D.Fixed;else if(this.gridster.$options.gridType===D.ScrollHorizontal){const p=this.gridster.$options.rowHeightRatio;this.gridster.curColWidth=this.gridster.curRowHeight*(p>=1?p:p+1),i=D.ScrollHorizontal,e=D.Fit,n=D.ScrollVertical,a=D.Fixed}else this.gridster.$options.gridType===D.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),i=D.Fixed,e=D.Fit,n=D.ScrollVertical,a=D.ScrollHorizontal):this.gridster.$options.gridType===D.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),i=D.ScrollVertical,e=D.Fit,n=D.ScrollHorizontal,a=D.Fixed):this.gridster.$options.gridType===D.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),i=D.ScrollHorizontal,e=D.Fit,n=D.ScrollVertical,a=D.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==D.Fit?this.gridster.renderer.removeClass(this.gridster.el,i):this.gridster.renderer.addClass(this.gridster.el,i),this.gridster.renderer.removeClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,n),this.gridster.renderer.removeClass(this.gridster.el,a)}getGridColumnStyle(i){const e={left:this.gridster.curColWidth*i,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style={...this.getLeftPosition(e.left),width:e.width+"px",height:e.height+"px"};const n=this.lastGridColumnStyles[i];return n&&n.left===e.left&&n.width===e.width&&n.height===e.height?n.style:(this.lastGridColumnStyles[i]=e,e.style)}getGridRowStyle(i){const e={top:this.gridster.curRowHeight*i,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};e.style={...this.getTopPosition(e.top),width:e.width+"px",height:e.height+"px"};const n=this.lastGridRowStyles[i];return n&&n.top===e.top&&n.width===e.width&&n.height===e.height?n.style:(this.lastGridRowStyles[i]=e,e.style)}getLeftPosition(i){const e=this.gridster.$options.dirType===Q.RTL?-i:i;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+e+"px)"}:{left:this.getLeftMargin()+e+"px"}}getTopPosition(i){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+i+"px)"}:{top:this.getTopMargin()+i+"px"}}clearCellPosition(i,e){this.gridster.$options.useTransformPositioning?i.setStyle(e,"transform",""):(i.setStyle(e,"top",""),i.setStyle(e,"left",""))}setCellPosition(i,e,n,a){const p=this.gridster.$options.dirType===Q.RTL?-n:n;this.gridster.$options.useTransformPositioning?i.setStyle(e,"transform","translate3d("+p+"px, "+a+"px, 0)"):(i.setStyle(e,"left",this.getLeftMargin()+p+"px"),i.setStyle(e,"top",this.getTopMargin()+a+"px"))}getLeftMargin(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginLeft?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginTop?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}}let pt,rt,Z,X,b,E,$,x,S,dt=(()=>{class u{constructor(e,n){this.renderer=n,this.el=e.nativeElement}ngOnInit(){this.sub=this.previewStyle$.subscribe(e=>this.previewStyle(e))}ngOnDestroy(){this.sub?.unsubscribe()}previewStyle(e){e?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,e,this.renderer)):this.renderer.setStyle(this.el,"display","")}}return u.\u0275fac=function(e){return new(e||u)(m.rXU(m.aKT),m.rXU(m.sFG))},u.\u0275cmp=m.VBU({type:u,selectors:[["gridster-preview"]],inputs:{previewStyle$:"previewStyle$",gridRenderer:"gridRenderer"},standalone:!1,decls:0,vars:0,template:function(e,n){},styles:["gridster-preview{position:absolute;display:none;background:rgba(0,0,0,.15)}\n"],encapsulation:2,changeDetection:1}),u})(),ct=(()=>{class u{constructor(e,n,a,p){this.renderer=n,this.cdRef=a,this.zone=p,this.columns=0,this.rows=0,this.gridColumns=[],this.gridRows=[],this.previewStyle$=new v.bkB,this.calculateLayout$=new f.B,this.resize$=new f.B,this.destroy$=new f.B,this.optionsChanged=()=>{this.setOptions();let M,_=this.grid.length-1;for(;_>=0;_--)M=this.grid[_],M.updateOptions();this.calculateLayout()},this.onResize=()=>{this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())},this.getNextPossiblePosition=(_,M={})=>{-1===_.cols&&(_.cols=this.$options.defaultItemCols),-1===_.rows&&(_.rows=this.$options.defaultItemRows),this.setGridDimensions();let N,L=M.y||0;for(;L<this.rows;L++)for(_.y=L,N=M.x||0;N<this.columns;N++)if(_.x=N,!this.checkCollision(_))return!0;const J=this.$options.maxRows>=this.rows+_.rows;return this.rows<=this.columns&&J||!(this.$options.maxCols>=this.columns+_.cols)?!!J&&(_.y=this.rows,_.x=0,!0):(_.x=this.columns,_.y=0,!0)},this.getFirstPossiblePosition=_=>{const M=Object.assign({},_);return this.getNextPossiblePosition(M),M},this.getLastPossiblePosition=_=>{let M={y:0,x:0};M=this.grid.reduce((N,J)=>{const st={y:J.$item.y+J.$item.rows-1,x:J.$item.x+J.$item.cols-1};return 1===V.compareItems(N,st)?st:N},M);const L=Object.assign({},_);return this.getNextPossiblePosition(L,M),L},this.el=e.nativeElement,this.$options=JSON.parse(JSON.stringify(gt)),this.mobile=!1,this.curW
1idth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new at(this),this.compact=new It(this),this.gridRenderer=new ht(this)}static checkCollisionTwoItemsForSwaping(e,n){return e.x+(1===e.cols?0:1)<n.x+n.cols&&e.x+e.cols>n.x+(1===n.cols?0:1)&&e.y+(1===e.rows?0:1)<n.y+n.rows&&e.y+e.rows>n.y+(1===n.rows?0:1)}checkCollisionTwoItems(e,n){if(!(e.x<n.x+n.cols&&e.x+e.cols>n.x&&e.y<n.y+n.rows&&e.y+e.rows>n.y))return!1;if(!this.$options.allowMultiLayer)return!0;const p=this.$options.defaultLayerIndex;return(void 0===e.layerIndex?p:e.layerIndex)===(void 0===n.layerIndex?p:n.layerIndex)}ngOnInit(){this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe((0,T.B)(0),(0,t.Q)(this.destroy$)).subscribe(()=>this.calculateLayout()),this.resize$.pipe((0,R.n)(()=>(0,Y.O)(100)),(0,t.Q)(this.destroy$)).subscribe(()=>this.resize())}ngOnChanges(e){e.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:n=>this.getItemComponent(n)},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}resize(){let e,n;"fit"!==this.$options.gridType||this.mobile?(n=this.el.clientWidth,e=this.el.clientHeight):(n=this.el.offsetWidth,e=this.el.offsetHeight),(n!==this.curWidth||e!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=V.merge(this.$options,this.options,this.$options),this.$options.disableWindowResize||this.windowResize?this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null):this.windowResize=this.renderer.listen("window","resize",this.onResize),this.emptyCell.updateOptions()}ngOnDestroy(){this.destroy$.next(),this.previewStyle$.complete(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}checkIfToResize(){const e=this.el.clientWidth,n=this.el.offsetWidth,a=this.el.scrollWidth,p=this.el.clientHeight,_=this.el.offsetHeight,M=this.el.scrollHeight;return!(e<n&&M>_&&M-_<n-e||p<_&&a>n&&a-n<_-p)}checkIfMobile(){return this.$options.useBodyForBreakpoint?this.$options.mobileBreakpoint>document.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}setGridSize(){const e=this.el;let n,a;this.$options.setGridSize||this.$options.gridType===D.Fit&&!this.mobile?(n=e.offsetWidth,a=e.offsetHeight):(n=e.clientWidth,a=e.clientHeight),this.curWidth=n,this.curHeight=a}setGridDimensions(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let p,e=this.$options.minRows,n=this.$options.minCols,a=this.grid.length-1;for(;a>=0;a--)p=this.grid[a],p.notPlaced||(e=Math.max(e,p.$item.y+p.$item.rows),n=Math.max(n,p.$item.x+p.$item.cols));e+=this.$options.addEmptyRowsCount,(this.columns!==n||this.rows!==e)&&(this.columns=n,this.rows=e,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let a=-this.$options.margin;null!==this.$options.outerMarginLeft?(a+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(a+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),null!==this.$options.outerMarginRight?(a+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(a+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curW
1idth-a)/this.columns;let p=-this.$options.margin;null!==this.$options.outerMarginTop?(p+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(p+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),null!==this.$options.outerMarginBottom?(p+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(p+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-p)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let n,e=this.grid.length-1;for(;e>=0;e--)n=this.grid[e],n.setSize(),n.drag.toggle(),n.resize.toggle();this.resize$.next()}updateGrid(){"always"!==this.$options.displayGrid||this.mobile?"onDrag&Resize"===this.$options.displayGrid&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):("none"===this.$options.displayGrid||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"):this.renderer.addClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=u.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=u.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(e){void 0===e.$item.cols&&(e.$item.cols=this.$options.defaultItemCols,e.item.cols=e.$item.cols,e.itemChanged()),void 0===e.$item.rows&&(e.$item.rows=this.$options.defaultItemRows,e.item.rows=e.$item.rows,e.itemChanged()),-1===e.$item.x||-1===e.$item.y?this.autoPositionItem(e):this.checkCollision(e.$item)&&(this.$options.disableWarnings||(e.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(e.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?e.notPlaced=!0:this.autoPositionItem(e)),this.grid.push(e),this.calculateLayout$.next()}removeItem(e){this.grid.splice(this.grid.indexOf(e),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(e.item,e)}checkCollision(e){let n=!1;if(this.options.itemValidateCallback&&(n=!this.options.itemValidateCallback(e)),!n&&this.checkGridCollision(e)&&(n=!0),!n){const a=this.findItemWithItem(e);a&&(n=a)}return n}checkGridCollision(e){const ot=e.cols*e.rows;return!(e.y>-1&&e.x>-1&&e.cols+e.x<=this.$options.maxCols&&e.rows+e.y<=this.$options.maxRows&&e.cols<=(void 0===e.maxItemCols?this.$options.maxItemCols:e.maxItemCols)&&e.cols>=(void 0===e.minItemCols?this.$options.minItemCols:e.minItemCols)&&e.rows<=(void 0===e.maxItemRows?this.$options.maxItemRows:e.maxItemRows)&&e.rows>=(void 0===e.minItemRows?this.$options.minItemRows:e.minItemRows)&&(void 0===e.minItemArea?this.$options.minItemArea:e.minItemArea)<=ot&&(void 0===e.maxItemArea?this.$options.maxItemArea:e.maxItemArea)>=ot)}findItemWithItem(e){let a,n=0;for(;n<this.grid.length;n++)if(a=this.grid[n],a.$item!==e&&this.checkCollisionTwoItems(a.$item,e))return a;return!1}findItemsWithItem(e){const n=[];let p,a=0;for(;a<this.grid.length;a++)p=this.grid[a],p.$item!==e&&this.checkCollisionTwoItems(p.$item,e)&&n.push(p);return n}autoPositionItem(e){this.getNextPossiblePosition(e.$item)?(e.notPlaced=!1,e.item.x=e.$item.x,e.item.y=e.$item.y,e.itemChanged()):(e.notPlaced=!0,this.$options.disableWarnings||console.warn("Can't be placed in the bounds of the dashboard!/n"+JSON.stringify(e.item,["cols","rows","x","y"])))}pixelsToPositionX(e,n,a){const p=n(e/this.curColWidth);return a?p:Math.max(p,0)}pixelsToPositionY(e,n,a){const p=n(e/this.curRowHeight);return a?p:Math.max(p,0)}positionXToPixels(e){return e*this.curColWidth}positionYToPixels(e){return e*this.curRowHeight}getItemComponent(e){return this.grid.find(n=>n.item===e)}checkCollisionForSwaping(e){let n=!1;if(this.options.itemValidateCallback&&(n=!this.options.itemValidateCallback(e)),!n&&this.checkGridCollision(e)&&(n=!0),!n){const a=this.findItemWithItemForSwapping(e);a&&(n=a)}return n}findItemWithItemForSwapping(e){let a,n=this.grid.length-1;for(;n>-1;n--)if(a=this.grid[n],a.$item!==e&&u.checkCollisionTwoItemsForSwaping(a.$item,e))return a;return!1}previewStyle(e=!1){this.movingItem?(this.compact&&e&&this.compact.checkCompactItem(this.movingItem),this.previewStyle$.next(this.movingItem)):this.previewStyle$.next(null)}static getNewArrayLength(e,n,a){const p=Math.max(e,Math.floor(n/a));return p<0?0:Number.isFinite(p)?Math.floor(p):0}}return u.\u0275fac=function(e){return new(e||u)(m.rXU(m.aKT),m.rXU(m.sFG),m.rXU(r.gRc),m.rXU(v.SKi))},u.\u0275cmp=m.VBU({type:u,selectors:[["gridster"]],inputs:{options:"options"},standalone:!1,features:[m.OA$],ngContentSelectors:c,decls:4,vars:4,consts:[["class","gridster-column",3,"ngStyle",4,"ngFor","ngForOf"],["class","gridster-row",3,"ngStyle",4,"ngFor","ngForOf"],[1,"gridster-preview",3,"gridRenderer","previewStyle$"],[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"]],template:function(e,n){1&e&&(m.NAR(),m.DNE(0,U,1,1,"div",0)(1,A,1,1,"div",1),m.SdG(2),m.nrm(3,"gridster-preview",2)),2&e&&(m.Y8G("ngForOf",n.gridColumns),m.R7$(),m.Y8G("ngForOf",n.gridRows),m.R7$(2),m.Y8G("gridRenderer",n.gridRenderer)("previewStyle$",n.previewStyle$))},dependencies:[B.Sq,B.B3,dt],styles:["gridster{position:relative;box-sizing:border-box;background:grey;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}\n"],encapsulation:2,changeDetection:1}),u})();class mt{constructor(i){this.iteration=0,this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=i,this.gridster=i.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(i,e){if(this.gridster.$options.pushItems&&!e){this.pushedItemsOrder=[],this.iteration=0;const n=this.push(this.gridsterItem,i);return n||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],n}return!1}restoreTempItems(){let i=this.pushedItemsTemp.length-1;for(;i>-1;i--)this.removeFromTempPushed(this.pushedItemsTemp[i])}restoreItems(){let i=0;const e=this.pushedItems.length;let n;for(;i<e;i++)n=this.pushedItems[i],n.$item.x=n.item.x||0,n.$item.y=n.item.y||0,n.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let i=0;const e=this.pushedItems.length;let n;for(;i<e;i++)n=this.pushedItems[i],n.checkItemChanges(n.$item,n.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let i=this.pushedItems.length-1,e=!1;for(;i>-1;i--)this.checkPushedItem(this.pushedItems[i],i)&&(e=!0);e&&this.checkPushBack()}push(i,e){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(i.$item)||""===e)return!1;const n=this.gridster.findItemsWithItem(i.$item),a=e===this.fromNorth||e===this.fromWest;n.sort((N,J)=>a?J.$item.y-N.$item.y||J.$item.x-N.$item.x:N.$item.y-J.$item.y||N.$item.x-J.$item.x);let _,p=0,M=!0;const L=[];for(;p<n.length;p++){if(_=n[p],_===this.gridsterItem)continue;if(!_.canBeDragged()){M=!1;break}const N=this.pushedItemsTemp.indexOf(_);if(N>-1&&this.pushedItemsTempPath[N].length>10){M=!1;break}if(this.tryPattern[e][0].call(this,_,i))this.pushedItemsOrder.push(_),L.push(_);else if(this.tryPattern[e][1].call(this,_,i))this.pushedItemsOrder.push(_),L.push(_);else if(this.tryPattern[e][2].call(this,_,i))this.pushedItemsOrder.push(_),L.push(_);else{if(!this.tryPattern[e][3].call(this,_,i)){M=!1;break}this.pushedItemsOrder.push(_),L.push(_)}}if(!M&&(p=this.pushedItemsOrder.lastIndexOf(L[0]),p>-1)){let N=this.pushedItemsOrder.length-1;for(;N>=p;N--)_=this.pushedItemsOrder[N],this.pushedItemsOrder.pop(),this.removeFromTempPushed(_),this.removeFromPushedItem(_)}return this.iteration++,M}trySouth(i,e){return!!this.gridster.$options.pushDirections.south&&(this.addToTempPushed(i),i.$item.y=e.$item.y+e.$item.rows,this.push(i,this.fromNorth)?(i.setSize(),this.addToPushed(i),!0):(this.removeFromTempPushed(i),!1))}tryNorth(i,e){return!!this.gridster.$options.pushDirections.north&&(this.addToTempPushed(i),i.$item.y=e.$item.y-i.$item.rows,this.push(i,this.fromSouth)?(i.setSize(),this.addToPushed(i),!0):(this.removeFromTempPushed(i),!1))}tryEast(i,e){return!!this.gridster.$options.pushDirections.east&&(this.addToTempPushed(i),i.$item.x=e.$item.x+e.$item.cols,this.push(i,this.fromWest)?(i.setSize(),this.addToPushed(i),!0):(this.removeFromTempPushed(i),!1))}tryWest(i,e){return!!this.gridster.$options.pushDirections.west&&(this.addToTempPushed(i),i.$item.x=e.$item.x-i.$item.cols,this.push(i,this.fromEast)?(i.setSize(),this.addToPushed(i),!0):(this.removeFromTempPushed(i),!1))}addToTempPushed(i){let e=this.pushedItemsTemp.indexOf(i);-1===e&&(e=this.pushedItemsTemp.push(i)-1,this.pushedItemsTempPath[e]=[]),this.pushedItemsTempPath[e].push({x:i.$item.x,y:i.$item.y})}removeFromTempPushed(i){const e=this.pushedItemsTemp.indexOf(i),n=this.pushedItemsTempPath[e].pop();n&&(i.$item.x=n.x,i.$item.y=n.y,i.setSize(),this.pushedItemsTempPath[e].length||(this.pushedItemsTemp.splice(e,1),this.pushedItemsTempPath.splice(e,1)))}addToPushed(i){if(this.pushedItems.indexOf(i)<0)this.pushedItems.push(i),this.pushedItemsPath.push([{x:i.item.x||0,y:i.item.y||0},{x:i.$item.x,y:i.$item.y}]);else{const e=this.pushedItems.indexOf(i);this.pushedItemsPath[e].push({x:i.$item.x,y:i.$item.y})}}removeFromPushed(i){i>-1&&(this.pushedItems.splice(i,1),this.pushedItemsPath.splice(i,1))}removeFromPushedItem(i){const e=this.pushedItems.indexOf(i);e>-1&&(this.pushedItemsPath[e].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1)))}checkPushedItem(i,e){const n=this.pushedItemsPath[e];let p,_,M,a=n.length-2,L=!1;for(;a>-1;a--)p=n[a],_=i.$item.x,M=i.$item.y,i.$item.x=p.x,i.$item.y=p.y,this.gridster.findItemWithItem(i.$item)?(i.$item.x=_,i.$item.y=M):(i.setSize(),n.splice(a+1,n.length-a-1),L=!0);return n.length<2&&this.removeFromPushed(e),L}}function K(u,i,e,n,a,p,_,M,L,N){pt=u.$options.scrollSensitivity,rt=u.$options.scrollSpeed,Z=u.el,X=L,b=N;const J=Z.offsetWidth,ft=Z.scrollLeft,_t=Z.scrollTop,ot=e-_t,wt=Z.offsetHeight+_t-e-a,{clientX:ut,clientY:kt}=p;
1if(!u.$options.disableScrollVertical)if(_.clientY<kt&&wt<pt){if(bt(),X&&b&&!b.south||S)return;S=C(1,M,_)}else if(_.clientY>kt&&_t>0&&ot<pt){if(yt(),X&&b&&!b.north||x)return;x=C(-1,M,_)}else _.clientY!==kt&&P();const Dt=i-ft;if(!u.$options.disableScrollHorizontal)if(_.clientX<ut&&ft+J-i-n<=pt){if(xt(),X&&b&&!b.east||E)return;E=O(1,M,_)}else if(_.clientX>ut&&ft>0&&Dt<pt){if(k(),X&&b&&!b.west||$)return;$=O(-1,M,_)}else _.clientX!==ut&&y()}function C(u,i,e){let n=e.clientY;return window.setInterval(()=>{(!Z||-1===u&&Z.scrollTop-rt<0)&&P(),Z.scrollTop+=u*rt,n+=u*rt,i({clientX:e.clientX,clientY:n})},50)}function O(u,i,e){let n=e.clientX;return window.setInterval(()=>{(!Z||-1===u&&Z.scrollLeft-rt<0)&&y(),Z.scrollLeft+=u*rt,n+=u*rt,i({clientX:n,clientY:e.clientY})},50)}function I(){y(),P(),Z=null}function y(){k(),xt()}function P(){bt(),yt()}function k(){E&&(clearInterval(E),E=0)}function xt(){$&&(clearInterval($),$=0)}function yt(){S&&(clearInterval(S),S=0)}function bt(){x&&(clearInterval(x),x=0)}class Tt{constructor(i){this.gridsterItem=i,this.gridster=i.gridster}destroy(){this.gridster=this.gridsterItem=this.swapedItem=null}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){const i=this.swapedItem.$item.x,e=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=i,this.swapedItem.$item.y=e):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(i){let e;if(e=this.gridster.$options.swapWhileDragging?this.gridster.checkCollisionForSwaping(i.$item):this.gridster.checkCollision(i.$item),e&&!0!==e&&e.canBeDragged()){const n=e,a=n.$item.x,p=n.$item.y,_=i.$item.x,M=i.$item.y,L=_-a,N=M-p;n.$item.x=i.item.x-L,n.$item.y=i.item.y-N,i.$item.x=n.item.x+L,i.$item.y=n.item.y+N,this.gridster.checkCollision(n.$item)||this.gridster.checkCollision(i.$item)?(i.$item.x=_,i.$item.y=M,n.$item.x=a,n.$item.y=p):(n.setSize(),this.swapedItem=n,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}}var lt=function(u){return u.UP="UP",u.DOWN="DOWN",u.LEFT="LEFT",u.RIGHT="RIGHT",u}(lt||{});class Et{constructor(i,e,n){this.zone=n,this.collision=!1,this.dragMove=a=>{a.stopPropagation(),a.preventDefault(),V.checkTouchEvent(a);let p=this.getDirections(a);this.gridster.options.enableBoundaryControl&&(p.includes(lt.UP)&&this.gridsterItem.el.getBoundingClientRect().top<this.gridster.el.getBoundingClientRect().top+this.margin&&(p=p.filter(_=>_!=lt.UP),a=new MouseEvent(a.type,{clientX:a.clientX,clientY:this.lastMouse.clientY})),p.includes(lt.LEFT)&&this.gridsterItem.el.getBoundingClientRect().left<this.gridster.el.getBoundingClientRect().left+this.margin&&(p=p.filter(_=>_!=lt.LEFT),a=new MouseEvent(a.type,{clientX:this.lastMouse.clientX,clientY:a.clientY})),p.includes(lt.RIGHT)&&this.gridsterItem.el.getBoundingClientRect().right>this.gridster.el.getBoundingClientRect().right-this.margin&&(p=p.filter(_=>_!=lt.RIGHT),a=new MouseEvent(a.type,{clientX:this.lastMouse.clientX,clientY:a.clientY})),p.includes(lt.DOWN)&&this.gridsterItem.el.getBoundingClientRect().bottom>this.gridster.el.getBoundingClientRect().bottom-this.margin&&(p=p.filter(_=>_!=lt.DOWN),a=new MouseEvent(a.type,{clientX:a.clientX,clientY:this.lastMouse.clientY}))),p.length&&(this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,K(this.gridster,this.left,this.top,this.width,this.height,a,this.lastMouse,this.calculateItemPositionFromMousePosition),this.calculateItemPositionFromMousePosition(a))},this.calculateItemPositionFromMousePosition=a=>{this.gridster.options.scale?this.calculateItemPositionWithScale(a,this.gridster.options.scale):this.calculateItemPositionWithoutScale(a),this.calculateItemPosition(),this.lastMouse.clientX=a.clientX,this.lastMouse.clientY=a.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=a=>{a.stopPropagation(),a.preventDefault(),I(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,a)).then(this.makeDrag,this.cancelDrag):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})},this.cancelDrag=()=>{this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.makeDrag=()=>{this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&!0!==this.collision&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)},this.dragStartDelay=a=>{if(a.target.classList.contains("gridster-item-resizable-handler")||V.checkContentClassForEvent(this.gridster,a))return;if(V.checkTouchEvent(a),!this.gridster.$options.draggable.delayStart)return void this.dragStart(a);const _=setTimeout(()=>{this.dragStart(a),ot()},this.gridster.$options.draggable.delayStart),M=this.gridsterItem.renderer.listen("document","mouseup",ot),L=this.gridsterItem.renderer.listen("document","mouseleave",ot),N=this.gridsterItem.renderer.listen("window","blur",ot),J=this.gridsterItem.renderer.listen("document","touchmove",function _t(wt){V.checkTouchEvent(wt),(Math.abs(wt.clientX-a.clientX)>9||Math.abs(wt.clientY-a.clientY)>9)&&ot()}),st=this.gridsterItem.renderer.listen("document","touchend",ot),ft=this.gridsterItem.renderer.listen("document","touchcancel",ot);function ot(){clearTimeout(_),N(),M(),L(),J(),st(),ft()}},this.gridsterItem=i,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(i){i.which&&1!==i.which||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,i),i.stopPropagation(),i.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=i.clientX,this.originalClientY=i.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.diffLeft=this.gridster.$options.dirType===Q.RTL?i.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:i.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=i.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new mt(this.gridsterItem),this.swap=new Tt(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}calculateItemPositionWithScale(i,e){this.left=this.gridster.$options.dirType===Q.RTL?this.gridster.el.scrollWidth-this.originalClientX+(i.clientX-this.originalClientX)/e+this.diffLeft:this.originalClientX+(i.clientX-this.originalClientX)/e+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(i.clientY-this.originalClientY)/e+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(i){this.left=this.gridster.$options.dirType===Q.RTL?this.gridster.el.scrollWidth-i.clientX+this.diffLeft:i.clientX+this.offsetLeft-this.diffLeft,this.top=i.clientY+this.offsetTop-this.diffTop}calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){const i=this.path[this.path.length-1];let e="";i.x<this.gridsterItem.$item.x?e=this.push.fromWest:i.x>this.gridsterItem.$item.x?e=this.push.fromEast:i.y<this.gridsterItem.$item.y?e=this.push.fromNorth:i.y>this.gridsterItem.$item.y&&(e=this.push.fromSouth),this.push.pushItems(e,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&!0!==this.collision&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}toggle(){const i=this.gridsterItem.canBeDragged();!this.enabled&&i?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!i&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}getDirections(i){const e=[];return 0===this.lastMouse.clientX&&0===this.lastMouse.clientY&&(this.lastMouse.clientY=i.clientY,this.lastMouse.clientX=i.clientX),this.lastMouse.clientY>
1i.clientY&&e.push(lt.UP),this.lastMouse.clientY<i.clientY&&e.push(lt.DOWN),this.lastMouse.clientX<i.clientX&&e.push(lt.RIGHT),this.lastMouse.clientX>i.clientX&&e.push(lt.LEFT),e}}class St{constructor(i){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=i,this.gridster=i.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(i){return!!this.gridster.$options.pushResizeItems&&this.push(this.gridsterItem,i)}restoreItems(){let i=0;const e=this.pushedItems.length;let n;for(;i<e;i++)n=this.pushedItems[i],n.$item.x=n.item.x||0,n.$item.y=n.item.y||0,n.$item.cols=n.item.cols||1,n.$item.row=n.item.row||1,n.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let i=0;const e=this.pushedItems.length;let n;for(;i<e;i++)n=this.pushedItems[i],n.checkItemChanges(n.$item,n.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let i=this.pushedItems.length-1,e=!1;for(;i>-1;i--)this.checkPushedItem(this.pushedItems[i],i)&&(e=!0);e&&this.checkPushBack()}push(i,e){const n=this.gridster.checkCollision(i.$item);if(n&&!0!==n&&n!==this.gridsterItem&&n.canBeResized()){if(this.tryPattern[e].call(this,n,i,e))return!0}else if(!1===n)return!0;return!1}trySouth(i,e,n){const a=i.$item.y,p=i.$item.rows;return i.$item.y=e.$item.y+e.$item.rows,i.$item.rows=p+a-i.$item.y,this.gridster.checkCollisionTwoItems(i.$item,e.$item)||this.gridster.checkGridCollision(i.$item)?(i.$item.y=a,i.$item.rows=p,!1):(i.setSize(),this.addToPushed(i),this.push(e,n),!0)}tryNorth(i,e,n){const a=i.$item.rows;return i.$item.rows=e.$item.y-i.$item.y,this.gridster.checkCollisionTwoItems(i.$item,e.$item)||this.gridster.checkGridCollision(i.$item)?(i.$item.rows=a,!1):(i.setSize(),this.addToPushed(i),this.push(e,n),!0)}tryEast(i,e,n){const a=i.$item.x,p=i.$item.cols;return i.$item.x=e.$item.x+e.$item.cols,i.$item.cols=p+a-i.$item.x,this.gridster.checkCollisionTwoItems(i.$item,e.$item)||this.gridster.checkGridCollision(i.$item)?(i.$item.x=a,i.$item.cols=p,!1):(i.setSize(),this.addToPushed(i),this.push(e,n),!0)}tryWest(i,e,n){const a=i.$item.cols;return i.$item.cols=e.$item.x-i.$item.x,this.gridster.checkCollisionTwoItems(i.$item,e.$item)||this.gridster.checkGridCollision(i.$item)?(i.$item.cols=a,!1):(i.setSize(),this.addToPushed(i),this.push(e,n),!0)}addToPushed(i){if(this.pushedItems.indexOf(i)<0)this.pushedItems.push(i),this.pushedItemsPath.push([{x:i.item.x||0,y:i.item.y||0,cols:i.item.cols||0,rows:i.item.rows||0},{x:i.$item.x,y:i.$item.y,cols:i.$item.cols,rows:i.$item.rows}]);else{const e=this.pushedItems.indexOf(i);this.pushedItemsPath[e].push({x:i.$item.x,y:i.$item.y,cols:i.$item.cols,rows:i.$item.rows})}}removeFromPushed(i){i>-1&&(this.pushedItems.splice(i,1),this.pushedItemsPath.splice(i,1))}checkPushedItem(i,e){const n=this.pushedItemsPath[e];let p,_,M,L,N,a=n.length-2;for(;a>-1;a--)p=n[a],_=i.$item.x,M=i.$item.y,L=i.$item.cols,N=i.$item.rows,i.$item.x=p.x,i.$item.y=p.y,i.$item.cols=p.cols,i.$item.rows=p.rows,this.gridster.findItemWithItem(i.$item)?(i.$item.x=_,i.$item.y=M,i.$item.cols=L,i.$item.rows=N):(i.setSize(),n.splice(a+1,n.length-1-a));return n.length<2&&(this.removeFromPushed(e),!0)}}class Mt{constructor(i,e,n){this.zone=n,this.directionFunction=null,this.dragMove=a=>{if(null===this.directionFunction)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");a.stopPropagation(),a.preventDefault(),V.checkTouchEvent(a),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,K(this.gridster,this.left,this.top,this.width,this.height,a,this.lastMouse,this.directionFunction,!0,this.resizeEventScrollType);const p=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(a.clientX-this.originalClientX)/p,clientY:this.originalClientY+(a.clientY-this.originalClientY)/p}),this.lastMouse.clientX=a.clientX,this.lastMouse.clientY=a.clientY,this.zone.run(()=>{this.gridster.updateGrid()})},this.dragStop=a=>{a.stopPropagation(),a.preventDefault(),I(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,a)).then(this.makeResize,this.cancelResize):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})},this.cancelResize=()=>{this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.makeResize=()=>{this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null},this.handleNorth=a=>{if(this.top=a.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight,this.top=this.bottom-this.minHeight),this.newPosition=this.gridster.pixelsToPositionY(this.top+this.margin,Math.floor),this.gridsterItem.$item.y!==this.newPosition){if(this.itemBackup[1]=this.gridsterItem.$item.y,this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-this.newPosition,this.gridsterItem.$item.y=this.newPosition,this.pushResize.pushItems(this.pushResize.fromSouth),this.push.pushItems(this.push.fromSouth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.y=this.itemBackup[1],this.gridsterItem.$item.rows=this.itemBackup[3],this.setItemTop(this.gridster.positionYToPixels(this.gridsterItem.$item.y)),void this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemTop(this.top),this.setItemHeight(this.height)},this.handleWest=a=>{if(this.left=(this.gridster.$options.dirType===Q.RTL?this.originalClientX+(this.originalClientX-a.clientX):a.clientX)+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width&&(this.width=this.minWidth,this.left=this.right-this.minWidth),this.newPosition=this.gridster.pixelsToPositionX(this.left+this.margin,Math.floor),this.gridsterItem.$item.x!==this.newPosition){if(this.itemBackup[0]=this.gridsterItem.$item.x,this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-this.newPosition,this.gridsterItem.$item.x=this.newPosition,this.pushResize.pushItems(this.pushResize.fromEast),this.push.pushItems(this.push.fromEast,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.x=this.itemBackup[0],this.gridsterItem.$item.cols=this.itemBackup[2],this.setItemLeft(this.gridster.positionXToPixels(this.gridsterItem.$item.x)),void this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemLeft(this.left),this.setItemWidth(this.width)},this.handleSouth=a=>{if(this.height=a.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.newPosition=this.gridster.pixelsToPositionY(this.bottom,Math.ceil),this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==this.newPosition){if(this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows=this.newPosition-this.gridsterItem.$item.y,this.pushResize.pushItems(this.pushResize.fromNorth),this.push.pushItems(this.push.fromNorth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.rows=this.itemBackup[3],void this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemHeight(this.height)},this.handleEast=a=>{if(this.width=(this.gridster.$options.dirType===Q.RTL?this.originalClientX+(this.originalClientX-a.clientX):a.clientX)+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.newPosition=this.gridster.pixelsToPositionX(this.right,Math.ceil),this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==this.newPosition){if(this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols=this.newPosition-this.gridsterItem.$item.x,this.pushResize.pushItems(this.pushResize.fromWest),this.push.pushItems(this.push.fromWest,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.cols=this.itemBackup[2],void this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemWidth(this.width)},this.handleNorthWest=a=>{this.handleNorth(a),this.handleWest(a)},this.handleNorthEast=a=>{this.handleNorth(a),this.handleEast(a)},this.handleSouthWest=a=>{this.handleSouth(a),this.handleWest(a)},this.handleSouthEast=a=>{this.handleSouth(a),this.handleEast(a)},this.gridsterItem=i,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.itemBackup=[0,0,0,0],this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}destroy(){this.gridster?.previewStyle(),this.gridster=this.gridsterItem=null}dragStart(i){if(i.which&&1!==i.which)return;this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,i),i.stopPropagation(),i.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=i.clientX,this.lastMouse.clientY=i.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=i.clientX,this.originalClientY=i.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=i.clientX+this.offsetLeft-this.left,this.diffRight=i.clientX+this.offsetLeft-this.right,this.diffTop=i.clientY+this.offsetTop-this.top,this.diffBottom=i.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new mt(this.gridsterItem),this.pushResize=new St(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid();const{classList:e}=i.target;e.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):e.contains("handle-w")?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):e.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):e.contains("handle-e")?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):e.contains("handle-nw")?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):e.contains("handle-ne")?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):e.contains("handle-sw")?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):e.contains("handle-se")&&(this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}dragStartDelay(i){if(V.checkTouchEvent(i),!this.gridster.$options.resizable.delayStart)return void this.dragStart(i);const e=setTimeout(()=>{this.dragStart(i),J()},this.gridster.$options.resizable.delayStart),{cancelMouse:n,cancelMouseLeave:a,cancelOnBlur:p,cancelTouchMove:_,cancelTouchEnd:M,cancelTouchCancel:L}=this.zone.runOutsideAngular(()=>({cancelMouse:this.gridsterItem.renderer.listen("document","mouseup",J),cancelMouseLeave:this.gridsterItem.renderer.listen("document","mouseleave",J),cancelOnBlur:this.gridsterItem.renderer.listen("window","blur",J),cancelTouchMove:this.gridsterItem.renderer.listen("document","touchmove",N),cancelTouchEnd:this.gridsterItem.renderer.listen("document","touchend",J),cancelTouchCancel:this.gridsterItem.renderer.listen("document","touchcancel",J)}));function N(st){V.checkTouchEvent(st),(Math.abs(st.clientX-i.clientX)>9||Math.abs(st.clientY-i.clientY)>9)&&J()}function J(){clearTimeout(e),p(),n(),a(),_(),M(),L()}}setItemTop(i){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,i)}setItemLeft(i){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,i,this.top)}setItemHeight(i){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",i+"px")}setItemWidth(i){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",i+"px")}}let Rt=(()=>{class u{constructor(e,n,a,p){this.renderer=a,this.zone=p,this.itemInit=new v.bkB,this.itemChange=new v.bkB,this.itemResize=new v.bkB,this.el=e.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=n,this.drag=new Et(this,n,this.zone),this.resize=new Mt(this,n,this.zone)}get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(e){e.item&&(this.updateOptions(),this.init||this.gridster.calcula
1teLayout$.next()),e.item&&e.item.previousValue&&this.setSize()}updateOptions(){this.$item=V.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}ngOnDestroy(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){const n=this.$item.x*this.gridster.curColWidth,a=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,p=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=this.$item.y*this.gridster.curRowHeight,this.left=n,!this.init&&a>0&&p>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView(!1)),(a!==this.width||p!==this.height)&&(this.width=a,this.height=p,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(e,n){e.rows===n.rows&&e.cols===n.cols&&e.x===n.x&&e.y===n.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=n.x||0,this.$item.y=n.y||0,this.$item.cols=n.cols||1,this.$item.rows=n.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}canBeDragged(){const e=this.gridster.$options.draggable.enabled;return!this.gridster.mobile&&e&&(void 0===this.$item.dragEnabled?e:this.$item.dragEnabled)}canBeResized(){const e=this.gridster.$options.resizable.enabled;return!this.gridster.mobile&&e&&(void 0===this.$item.resizeEnabled?e:this.$item.resizeEnabled)}getResizableHandles(){const e=this.gridster.$options.resizable.handles,n=this.$item.resizableHandles;return void 0===n?e:{...e,...n}}bringToFront(e){if(e&&e<=0)return;const n=this.getLayerIndex(),a=this.gridster.$options.maxLayerIndex;if(n<a){const p=e?n+e:a;this.item.layerIndex=this.$item.layerIndex=p>a?a:p}}sendToBack(e){if(e&&e<=0)return;const n=this.getLayerIndex();if(n>0){const a=e?n-e:0;this.item.layerIndex=this.$item.layerIndex=a<0?0:a}}getLayerIndex(){return void 0!==this.item.layerIndex?this.item.layerIndex:void 0!==this.gridster.$options.defaultLayerIndex?this.gridster.$options.defaultLayerIndex:0}}return u.\u0275fac=function(e){return new(e||u)(m.rXU(m.aKT),m.rXU(ct),m.rXU(m.sFG),m.rXU(v.SKi))},u.\u0275cmp=m.VBU({type:u,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(e,n){2&e&&m.xc7("z-index",n.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},standalone:!1,features:[m.OA$],ngContentSelectors:c,decls:9,vars:8,consts:[["class","gridster-item-resizable-handler handle-s",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-e",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-n",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-w",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-se",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-ne",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-sw",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-nw",3,"mousedown","touchstart",4,"ngIf"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(e,n){1&e&&(m.NAR(),m.SdG(0),m.DNE(1,q,1,0,"div",0)(2,et,1,0,"div",1)(3,F,1,0,"div",2)(4,G,1,0,"div",3)(5,nt,1,0,"div",4)(6,z,1,0,"div",5)(7,H,1,0,"div",6)(8,it,1,0,"div",7)),2&e&&(m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.s)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.e)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.n)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.w)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.se)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.ne)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.sw)&&n.resize.resizeEnabled),m.R7$(),m.Y8G("ngIf",(null==n.resize.resizableHandles?null:n.resize.resizableHandles.nw)&&n.resize.resizeEnabled))},dependencies:[B.bT],styles:["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:white;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}\n"],encapsulation:2,changeDetection:1}),u})(),Bt=(()=>{class u{}return u.\u0275fac=function(e){return new(e||u)},u.\u0275mod=m.$C({type:u}),u.\u0275inj=v.G2t({imports:[B.MD]}),u})()}}]);
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.