1"use strict";(self.webpackChunkthreeddd_front=self.webpackChunkthreeddd_front||[]).push([[655],{6655:(De,S,l)=>{l.r(S),l.d(S,{PolygonMasterComponent:()=>Te});var n=l(7019),X=l(1413),A=l(605),C=l(8810),_=l(1180),P=l(8207),w=l(2965),O=l(710),p=l(5697),T=l(6977),V=l(152),u=l(9437),h=l(430),M=l(174),z=l(1504),W=l(3760),d=l(177),G=l(5349),J=l(7719),q=l(647),Z=l(4439),Q=l(7163),K=l(4247),nn=l(3812),E=l(9310),en=l(8035),D=l(5116),R=l(5979),j=l(1340),$=l(6069),Y=l(2128),tn=l(4173);const on=["bookmarkTemplate"],rn=["bookmarkHeaderTemplate"],ln=function(e){return{display:e}};function an(e,r){if(1&e&&(n.qSk(),n.j41(0,"svg",20),n.nrm(1,"path",21),n.k0s()),2&e){const o=n.XpG(2);n.Y8G("ngStyle",n.eq3(1,ln,o.bookmarkListLoading.isLoading?"none":""))}}function sn(e,r){if(1&e&&n.nrm(0,"app-spinner",22),2&e){const o=n.XpG(2);n.Y8G("height",22)("margin","0 1px")("mainColor",o.model.is_bookmark?"#FF2D55":"rgba(255, 255, 255, .5)")("mobileBorderColor","#373737")}}const gn=function(e,r){return{"is-bookmark":e,"model-bookmark-desktop":r}};function dn(e,r){if(1&e){const o=n.RV6();n.j41(0,"div",17),n.bIt("click",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.toggleBookmark())}),n.DNE(1,an,2,3,"svg",18),n.DNE(2,sn,1,4,"app-spinner",19),n.k0s()}if(2&e){const o=n.XpG();n.xc7("pointer-events",o.bookmarkListLoading.isLoading?"none":""),n.Y8G("ngClass",n.l_i(5,gn,null==o.model?null:o.model.is_bookmark,o.hideStaticBookmark)),n.R7$(1),n.Y8G("ngIf",!o.bookmarkListLoading.isLoading),n.R7$(1),n.Y8G("ngIf",o.bookmarkListLoading.isLoading)}}function mn(e,r){if(1&e){const o=n.RV6();n.j41(0,"div",23),n.bIt("click",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.sliderIndicator(t.sliderIndicatorActive<t.sliderIndicatorsCount-1?t.sliderIndicatorActive+1:0))}),n.qSk(),n.j41(1,"svg",24),n.nrm(2,"path",25),n.k0s()()}}const cn=function(e){return{active:e}};function _n(e,r){if(1&e){const o=n.RV6();n.j41(0,"button",28),n.bIt("click",function(){const a=n.eBV(o).index,g=n.XpG(2);return n.Njj(g.sliderIndicator(a))}),n.nrm(1,"span"),n.k0s()}if(2&e){const o=r.index,i=n.XpG(2);n.Y8G("ngClass",n.eq3(1,cn,o===i.sliderIndicatorActive))}}const k=function(){return[]};function pn(e,r){if(1&e&&(n.j41(0,"div",26),n.DNE(1,_n,2,3,"button",27),n.k0s()),2&e){const o=n.XpG();n.R7$(1),n.Y8G("ngForOf",n.lJ4(1,k).constructor(o.sliderIndicatorsCount))}}function hn(e,r){if(1&e&&(n.j41(0,"div",29)(1,"div",30),n.EFF(2),n.k0s()()),2&e){const o=n.XpG();n.R7$(1),n.Y8G("appTooltip",o.placeTooltip[o.locale]),n.R7$(1),n.JRh(o.position)}}const Cn=function(e){return{visibility:e}};function un(e,r){if(1&e&&n.nrm(0,"div",33),2&e){const o=r.index,i=n.XpG(2);n.Y8G("ngStyle",n.eq3(1,Cn,o>i.model.timeLeft/86400?"hidden":""))}}const Mn=function(e,r,o){return{"time-left-green":e,"time-left-yellow":r,"time-left-red":o}};function fn(e,r){if(1&e&&(n.j41(0,"div",31),n.nI1(1,"translate"),n.nI1(2,"lowercase"),n.nI1(3,"translate"),n.nI1(4,"lowercase"),n.nI1(5,"translate"),n.nI1(6,"lowercase"),n.nI1(7,"translate"),n.DNE(8,un,1,3,"div",32),n.k0s()),2&e){const o=n.XpG();n.Y8G("ngClass",n.sMw(17,Mn,o.model.timeLeft>345600,o.model.timeLeft>259200&&o.model.timeLeft<=345600,o.model.timeLeft<=259200))("appTooltip","<div>"+n.bMT(1,3,"polygon-master.winner.timeLeftRemainingScale")+":\xa0<b>"+o.math.ceil(o.model.timeLeft/86400)+" "+(o.math.ceil(o.model.timeLeft/86400)>4?n.bMT(2,5,n.bMT(3,7,"polygon-master.timeLeftDaysPlural.other")):o.math.ceil(o.model.timeLeft/86400)>1?n.bMT(4,9,n.bMT(5,11,"polygon-master.timeLeftDaysPlural.few")):n.bMT(6,13,n.bMT(7,15,"polygon-master.timeLeftDaysPlural.one")))+"</b></div>"),n.R7$(8),n.Y8G("ngForOf",n.lJ4(21,k).constructor(14))}}function Pn(e,r){1&e&&n.nrm(0,"div",36)}function wn(e,r){1&e&&(n.j41(0,"div",34),n.DNE(1,Pn,1,0,"div",35),n.k0s()),2&e&&(n.R7$(1),n.Y8G("ngForOf",n.lJ4(1,k).constructor(14)))}const On=function(e){return{liked:e}};function kn(e,r){if(1&e){const o=n.RV6();n.j41(0,"button",37),n.bIt("click",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.toggleLike())}),n.qSk(),n.j41(1,"svg",38),n.nrm(2,"path",39),n.k0s(),n.j41(3,"svg",40),n.nrm(4,"path",41)(5,"path",42),n.k0s(),n.joV(),n.j41(6,"span"),n.EFF(7),n.k0s()()}if(2&e){const o=n.XpG();n.Y8G("ngClass",n.eq3(2,On,o.model.isLike)),n.R7$(7),n.JRh(o.model.votes_count)}}function vn(e,r){1&e&&n.nrm(0,"div",43)}function bn(e,r){1&e&&(n.j41(0,"span",44),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&e&&(n.R7$(1),n.JRh(n.bMT(2,1,"collection.bookmarkListPopup.title")))}function xn(e,r){if(1&e){const o=n.RV6();n.j41(0,"app-bookmark-list-popup",45),n.bIt("stateChange",function(t){n.eBV(o);const a=n.XpG();return n.Njj(a.onBookmarkStateChange(t))}),n.k0s()}if(2&e){const o=n.XpG();n.Y8G("bookmarkList",o.bookmarkList)("modelSlug",null==o.model?null:o.model.slug)}}const yn=[[["section",8,"scale-container"]],"*"],U=function(e){return[e]},f=function(e,r,o){return{modelPosition:e,searchHash:r,referrerUrl:o}},Ln=["section.scale-container","*"];let Fn=(()=>{var e;
1class r{constructor(i,t,a,g,m,v,b,x,y,L,F,I){this.bookmarkCollectionService=i,this.subscribeHandlerService=t,this.sharedGlobalDataService=a,this.likesService=g,this.modelCard=m,this.viewContainerRef=v,this.popupBarService=b,this.translate=x,this.backdropComponentService=y,this.modal=L,this.imageBaseUrl=F,this.locale=I,this.defaultNoImage=(0,n.WQX)(_.y2),this.popupComponentList=[],this.modelImg=this.imageBaseUrl.baseUrl+p.oT.modelThumb,this.isMobileDevice=q.Hy,this.bookmarkList=[],this.math=Math,this.sliderIndicatorsCount=7,this.sliderIndicatorActive=0,this.isLoadingMainImg=!0,this.path=O.iw,this.bookmarkListLoading=new P.I,this.placeTooltip={en:"Place",ru:"\u041c\u0435\u0441\u0442\u043e",es:"Puesto"},this.modelLoading=new P.I,this.hideStaticBookmark=!1}sliderIndicator(i){i===this.sliderIndicatorActive||0===this.popupComponentList.length||(this.sliderIndicatorActive=i,this.popupComponentList.forEach(t=>{t.instance.loadingImg=!0,t.instance.popupImgPath=this.model.images[i].web_path}))}toggleBookmark(){if(this.sharedGlobalDataService.authorizedSource.getValue()){if(!this.model?.is_bookmark)return this.subscribeHandlerService.takeOne(this.bookmarkCollectionService.setBookmark(this.model.slug,w.Q8,this.model.is_bookmark).pipe((0,u.W)(i=>(this.showError(),(0,C.$)(()=>i)))),i=>{this.model.is_bookmark="added"===i.data.result,this.popupBarService.showPopup({data:this.translate.transform("collection.bookmarkListPopup.modelAdded"),timeOut:6e3,defaultAction:{text:this.translate.transform("collection.bookmarkListPopup.change"),action:()=>this.toggleBookmark()}})},this.bookmarkListLoading);this.popupBarService.destroy(),this.subscribeHandlerService.takeOne(this.bookmarkCollectionService.getBookmarkCollection(this.model.slug).pipe((0,u.W)(i=>(this.showError(),(0,C.$)(()=>i)))),i=>{this.initBookmarkPopup(i.data),this.deletePopup()},this.bookmarkListLoading)}else this.backdropComponentService.LoginInPopup(void 0)}preparePopup(){if(this.deletePopup(),this.isMobileDevice||!this.model)return;const i=this.viewContainerRef.createComponent(Z.i);i.instance.popupImgPath=this.model.images?.length?this.model.images[this.sliderIndicatorActive].web_path:this.defaultNoImage,i.instance.relativeEl=this.modelCard.nativeElement,i.instance.model=this.model,i.instance.ngOnInit(),this.popupComponentList.push(i)}deletePopup(){this.popupComponentList.forEach(i=>i.destroy()),this.popupComponentList=[]}initBookmarkPopup(i){this.bookmarkCollectionService.isBookmarkListOpen.value||(this.bookmarkList=this.bookmarkCollectionService.buildBookmarkPopupList(i),this.modal.open({styles:{maxWidth:"473px"},preventScroll:!0,template:this.bookmarkTemplate,headerTemplate:this.bookmarkHeaderTemplate}))}onBookmarkStateChange(i){this.model.is_bookmark=i}toggleLike(){if(this.sharedGlobalDataService.authorizedSource.getValue()){const i={entity:"model",slug:this.model.slug,rating:this.model.isLike?0:1};this.model.isLike=!this.model.isLike,(()=>{this.subscribeHandlerService.takeOne(this.likesService.likeModel(i).pipe((0,u.W)(a=>(this.showError(),(0,C.$)(()=>a)))),a=>{a.success||(this.model.isLike=!this.model.isLike),this.model.votes_count=this.model.isLike?this.model.votes_count+1:this.model.votes_count-1})})()}else this.backdropComponentService.LoginInPopup()}ngOnInit(){this.sliderIndicatorsCount=this.model?.images?.length<8?this.model?.images?.length:7}showError(){this.popupBarService.showGlobalErrorPopup()}ngOnChanges(i){i.modelLoading&&(this.modelCard.nativeElement.style.pointerEvents=this.modelLoading.isLoading?"none":""),i.model&&this.model&&(this.isLoadingMainImg=!0)}ngOnDestroy(){this.popupComponentList.forEach(i=>i.destroy())}}return(e=r).\u0275fac=function(i){return new(i||e)(n.rXU(en.K),n.rXU(D.e),n.rXU(R.o),n.rXU(j.A),n.rXU(n.aKT),n.rXU(n.c1b),n.rXU($.h),n.rXU(M.D),n.rXU(Y.v),n.rXU(tn.B),n.rXU(_.sT),n.rXU(n.xe9))},e.\u0275cmp=n.VBU({type:e,selectors:[["app-model-card-polygon-master"]],viewQuery:function(i,t){if(1&i&&(n.GBs(on,7),n.GBs(rn,7)),2&i){let a;n.mGM(a=n.lsd())&&(t.bookmarkTemplate=a.first),n.mGM(a=n.lsd())&&(t.bookmarkHeaderTemplate=a.first)}}
vendor: 4,156 bytes, line 1
1,inputs:{modelLoading:"modelLoading",model:"model",hideStaticBookmark:"hideStaticBookmark",modelPosition:"modelPosition",searchHash:"searchHash",referrerUrl:"referrerUrl",position:"position"},standalone:!0,features:[n.OA$,n.aNF],ngContentSelectors:Ln,decls:25,vars:51,consts:[[1,"model-image",3,"mouseenter","mouseleave"],["class","model-bookmark",3,"ngClass","pointer-events","click",4,"ngIf"],[3,"routerLink","state","appModelAttribution","attribution"],["height","392","width","392",3,"src","alt","load","error"],["img",""],["class","model-slide-next",3,"click",4,"ngIf"],["class","model-slider-nav",4,"ngIf"],["class","position-wrapper",4,"ngIf"],[1,"model-content"],[1,"model-title"],[3,"title","routerLink","state","appModelAttribution","attribution"],["class","scale",3,"ngClass","appTooltip",4,"ngIf"],["class","scale",4,"ngIf"],["class","model-like-button",3,"ngClass","click",4,"ngIf"],["class","model-like-button",4,"ngIf"],["bookmarkHeaderTemplate",""],["bookmarkTemplate",""],[1,"model-bookmark",3,"ngClass","click"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngStyle",4,"ngIf"],[3,"height","margin","mainColor","mobileBorderColor",4,"ngIf"],["width","26","height","26","viewBox","0 0 26 26","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngStyle"],["d","M1 7.47304C1 1.85076 9.5 -0.162805 13 4.90403C16.5 -0.162805 25 1.85076 25 7.47304C25 13.7615 17.421 20.2539 13 24C7.94736 20.0335 1 13.0953 1 7.47304Z","stroke","currentColor","stroke-width","2","stroke-linejoin","round"],[3,"height","margin","mainColor","mobileBorderColor"],[1,"model-slide-next",3,"click"],["width","14","height","28","viewBox","0 0 14 28","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M1 1 L13 14 M1 27 L13 14","stroke","white","stroke-width","2","stroke-linecap","round","stroke-linejoin","miter","stroke-miterlimit","8"],[1,"model-slider-nav"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"ngClass","click"],[1,"position-wrapper"],[1,"position",3,"appTooltip"],[1,"scale",3,"ngClass","appTooltip"],["class","time-left-scale-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"time-left-scale-item",3,"ngStyle"],[1,"scale"],["class","time-left-scale-item loading",4,"ngFor","ngForOf"],[1,"time-left-scale-item","loading"],[1,"model-like-button",3,"ngClass","click"],["width","18","height","20","viewBox","0 0 18 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill-none"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.0436 0.0612021C10.9482 0.0358115 10.8513 0.0162802 10.7534 0.00358491C10.5732 -0.0178995 10.3905 0.0582724 10.2797 0.202804L10.2716 0.212569C8.30713 2.75066 6.20032 5.20183 3.94519 7.48503H0.0131836C-0.010376 10.3229 0.0489502 13.1618 0 15.9997H14.4191C14.4923 15.9997 14.5647 15.9841 14.6315 15.9548C15.5209 15.5573 16.2283 14.8092 16.7542 13.944C17.0188 13.5094 17.2429 13.0358 17.4249 12.5456C17.6061 12.0583 17.7456 11.5544 17.8417 11.0563C18.0337 10.0592 18.0588 9.05241 17.8741 8.21062C17.6927 7.38347 17.2798 6.6071 16.5012 6.27898C16.437 6.25163 16.368 6.23796 16.2983 6.23796H11.2419C12.9069 3.8112 13.1041 2.24773 12.5734 1.22819C12.2841 0.671554 11.817 0.367843 11.45 0.205733C11.3192 0.148116 11.1831 0.0983115 11.0436 0.0612021ZM5 14.9704H14.3026C14.5514 14.8473 14.7891 14.6803 15.0132 14.4753C15.3264 14.1882 15.6133 13.8288 15.8669 13.4118C16.3231 12.6618 16.6509 11.7594 16.8237 10.862C16.9972 9.96257 17.0087 9.10026 16.8615 8.42937C16.7241 7.80339 16.4724 7.4323 16.1791 7.26628H10.2306C10.0339 7.26628 9.85413 7.15593 9.7666 6.98112C9.67896 6.80632 9.69861 6.59733 9.81726 6.44206C12.0106 3.5612 11.9344 2.24187 11.6526 1.70085C11.4969 1.40105 11.2086 1.20183 10.8958 1.09343C10.1814 2.00358 7.72095 5.08757 5 7.88542V14.9704ZM4 8.51433H1.04199C1.03076 10.9108 1.08301 12.6081 1.0531 14.9704H4V8.51433Z","fill","currentColor"],["width","18","height","20","viewBox","0 0 18 20","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill"],["d","M0 7.51891L4 7.5V16L0 15.9905V7.51891Z","fill","#4182AA"],["d","M10.896 0.00116553C10.6658 -0.0190901 10.4604 0.229365 10.3562 0.380973C8.68154 2.8183 6.9561 5.28924 5 7.38524V16C7.35122
115.9963 13.5005 16 14.273 16C15.6525 16 16.9263 14.1873 17.4948 12.5C18.0633 10.8127 18.0108 9.6579 17.9868 9C17.936 7.61019 16.9307 6.21704 16.4186 6.15456H11.3942C12.3446 4.67394 12.6988 3.40204 12.7967 2.47217C12.8947 1.54231 12.6158 0.1525 10.896 0.00116553Z","fill","#4182AA"],[1,"model-like-button"],[1,"bookmark-header-title"],[3,"bookmarkList","modelSlug","stateChange"]],template:function(i,t){if(1&i){const a=n.RV6();n.NAR(yn),n.j41(0,"div",0),n.bIt("mouseenter",function(){return t.preparePopup()})("mouseleave",function(){return t.deletePopup()}),n.DNE(1,dn,3,8,"div",1),n.j41(2,"a",2)(3,"img",3,4),n.bIt("load",function(){return t.isLoadingMainImg=!1})("error",function(){n.eBV(a);const m=n.sdS(4);return n.Njj(m.src=t.defaultNoImage)}),n.nI1(5,"langConverter"),n.k0s()(),n.DNE(6,mn,3,0,"div",5),n.DNE(7,pn,2,2,"div",6),n.k0s(),n.SdG(8),n.DNE(9,hn,3,2,"div",7),n.j41(10,"div",8)(11,"div",9)(12,"a",10),n.nI1(13,"langConverter"),n.EFF(14),n.nI1(15,"langConverter"),n.k0s()(),n.DNE(16,fn,9,22,"div",11),n.DNE(17,wn,2,2,"div",12),n.DNE(18,kn,8,4,"button",13),n.DNE(19,vn,1,0,"div",14),n.k0s(),n.SdG(20,1),n.DNE(21,bn,3,3,"ng-template",null,15,n.C5r),n.DNE(23,xn,1,2,"ng-template",null,16,n.C5r)}2&i&&(n.R7$(1),n.Y8G("ngIf",!t.modelLoading.isLoading),n.R7$(1),n.Y8G("routerLink",n.eq3(31,U,"/"+t.path.modelShow+"/"+(null==t.model?null:t.model.slug)))("state",n.sMw(33,f,t.modelPosition,t.searchHash,t.referrerUrl))("appModelAttribution",null==t.model?null:t.model.slug)("attribution",n.sMw(37,f,t.modelPosition,t.searchHash,t.referrerUrl)),n.R7$(1),n.Y8G("src",t.isLoadingMainImg?t.defaultNoImage:t.model?t.modelImg+(null==t.model||null==t.model.images||null==t.model.images[0]?null:t.model.images[0].web_path):t.defaultNoImage,n.B4B)("alt",n.i5U(5,22,null==t.model?null:t.model.title,null==t.model?null:t.model.title_en)),n.R7$(3),n.Y8G("ngIf",(null==t.model||null==t.model.images?null:t.model.images.length)>1&&!t.isMobileDevice&&!t.modelLoading.isLoading),n.R7$(1),n.Y8G("ngIf",(null==t.model||null==t.model.images?null:t.model.images.length)>1&&!t.isMobileDevice&&!t.modelLoading.isLoading),n.R7$(2),n.Y8G("ngIf",!t.modelLoading.isLoading),n.R7$(2),n.AVh("loading",t.modelLoading.isLoading),n.R7$(1),n.FS9("title",n.i5U(13,25,null==t.model?null:t.model.title,null==t.model?null:t.model.title_en)),n.Y8G("routerLink",n.eq3(41,U,"/"+t.path.modelShow+"/"+(null==t.model?null:t.model.slug)))("state",n.sMw(43,f,t.modelPosition,t.searchHash,t.referrerUrl))("appModelAttribution",null==t.model?null:t.model.slug)("attribution",n.sMw(47,f,t.modelPosition,t.searchHash,t.referrerUrl)),n.R7$(2),n.SpI(" ",n.i5U(15,28,null==t.model?null:t.model.title,null==t.model?null:t.model.title_en)," "),n.R7$(2),n.Y8G("ngIf",!t.modelLoading.isLoading),n.R7$(1),n.Y8G("ngIf",t.modelLoading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.modelLoading.isLoading),n.R7$(1),n.Y8G("ngIf",t.modelLoading.isLoading))},dependencies:[d.MD,d.YU,d.Sq,d.bT,d.B3,d.GH,K.t,h.iI,h.Wk,G.L,nn.d,M.D,E.S,Q.M],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:inline-block;position:relative;border-radius:8px;z-index:1}[_nghost-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:cover;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] a[_ngcontent-%COMP%]{display:inherit;border-radius:4px}[_nghost-%COMP%] a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{border-radius:4px}[_nghost-%COMP%] .model-content[_ngcontent-%COMP%]{padding-top:6px;position:relative}[_nghost-%COMP%] .model-bookmark[_ngcontent-%COMP%]{position:absolute;display:inline-flex}@media (min-width: 992px){[_nghost-%COMP%] .model-bookmark[_ngcontent-%COMP%]{top:12px;left:12px}}@media (max-width: 991.98px){[_nghost-%COMP%] .model-bookmark[_ngcontent-%COMP%]{top:0;left:0;padding:14px;margin:4px}}@media (pointer: fine){[_nghost-%COMP%] .model-bookmark[_ngcontent-%COMP%]{opacity:0;z-index:-1;cursor:pointer}}@media (pointer: coarse){[_nghost-%COMP%] .model-bookmark[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ffffff80;stroke:#373737;color:#373737}}[_nghost-%COMP%] .model-bookmark.is-bookmark[_ngcontent-%COMP%]:not(.model-bookmark-desktop){opacity:1;z-index:10}@media (pointer: coarse){[_nghost-%COMP%] .model-bookmark.is-bookmark.model-bookmark-desktop[_ngcontent-%COMP%]{opacity:1;z-index:10}}[_nghost-%COMP%] .model-bookmark.is-bookmark[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:#ff2d55;stroke:#ff2d55;color:#ff2d55}@media (pointer: fine){[_nghost-%COMP%] .model-slide-next[_ngcontent-%COMP%]{position:absolute;z-index:-1;opacity:0;right:0;top:20px;bottom:20px;padding:0 12px;display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%] .model-slide-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transition:.1s ease-out;width:12px;height:auto}[_nghost-%COMP%] .model-slider-nav[_ngcontent-%COMP%]{position:absolute;z-index:-1;opacity:0;right:0;left:0;bottom:0;padding-bottom:6px;display:flex;align-items:center;justify-content:center;gap:4px}[_nghost-%COMP%] .model-slider-nav[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0;border:0;outline:0;background-color:#0000;width:14px;
1height:14px;display:inline-flex;justify-content:center;align-items:center}[_nghost-%COMP%] .model-slider-nav[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .model-slider-nav[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:6px;width:6px;border-radius:50%;cursor:pointer;background-color:#b9b9b9}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%]:hover:after{position:absolute;content:"";inset:-8px;border:1px solid #D0D0D0;z-index:-1;border-radius:8px}}@media (pointer: fine) and (hover: hover){[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{background-color:#0009}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:brightness(40%)}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-bookmark[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-bookmark[_ngcontent-%COMP%]:not(.is-bookmark) svg[_ngcontent-%COMP%]{fill:none;stroke:#fff;color:#fff}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-bookmark[_ngcontent-%COMP%]:not(.is-bookmark) svg[_ngcontent-%COMP%]:hover{fill:#ffffff80}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-slide-next[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-slide-next[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%]{width:14px}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-slider-nav[_ngcontent-%COMP%]{z-index:10;opacity:1}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]:hover .model-slider-nav[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.active):hover span[_ngcontent-%COMP%]{background-color:#fff}}@media (pointer: coarse){[_nghost-%COMP%] .model-slide-next[_ngcontent-%COMP%], [_nghost-%COMP%] .model-slide-nav[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .model-title[_ngcontent-%COMP%]{padding-right:7px;position:relative}@media (min-width: 992px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%]{height:20px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%]{height:18px}}@media (min-width: 576px) and (max-width: 767.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%]{height:20px}}@media (max-width: 575.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%]{height:18px}}[_nghost-%COMP%] .model-title.loading[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background-color:#efeff0;border-radius:4px}[_nghost-%COMP%] .model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5e5e5e;font-weight:500}@media (min-width: 992px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (min-width: 768px) and (max-width: 991.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;line-height:18px}}@media (min-width: 576px) and (max-width: 767.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}@media (max-width: 575.98px){[_nghost-%COMP%] .model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;line-height:18px}}[_nghost-%COMP%] .model-image[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;height:32px;border:none;border-radius:16px;font-size:14px;line-height:16px;color:#757575;background:#F7F7F7}@media (min-width: 992px){[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%]:hover{color:#4182aa;background:#DEEFF9}}[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%] .svg-fill-none[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%] .svg-fill[_ngcontent-%COMP%]{display:none}@media (min-width: 992px){[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%]{width:86px;height:28px}}@media (max-width: 575.98px){[_nghost-%COMP%] .model-like-button[_ngcontent-%COMP%]{margin-top:7px}}[_nghost-%COMP%] .model-like-button.liked[_ngcontent-%COMP%]{color:#4182aa}@media (min-width: 992px){[_nghost-%COMP%] .model-like-button.liked[_ngcontent-%COMP%]:hover{color:#4182aa;background:#DEEFF9}}[_nghost-%COMP%] .model-like-button.liked[_ngcontent-%COMP%] .svg-fill-none[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .model-like-button.liked[_ngcontent-%COMP%] .svg-fill[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .scale[_ngcontent-%COMP%]{padding-top:6px;padding-bottom:6px;display:flex;gap:1px;justify-content:space-between;width:100%;font-weight:500}[_nghost-%COMP%] .scale[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%]{flex-grow:1;border-radius:1px;height:6px}[_nghost-%COMP%] .scale[_ngcontent-%COMP%] .time-left-scale-item.loading[_ngcontent-%COMP%]{background:#F7F7F7}[_nghost-%COMP%] .scale[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-weight:400}[_nghost-%COMP%] .time-left-green[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%]{background:#47A556;border:1px #47A556 solid}[_nghost-%COMP%] .time-left-yellow[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%]{background:#FFB600;border:1px #FFB600 solid}[_nghost-%COMP%] .time-left-red[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%]{background:#FC6240;border:1px #FC6240 solid}[_nghost-%COMP%] .tooltip-wrapper[_ngcontent-%COMP%]{font-weight:500;font-size:12px}[_nghost-%COMP%] .tooltip-wrapper[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#fafafa}[_nghost-%COMP%] .position-wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-end;position:absolute;margin-top:-24px;padding-right:8px;padding-left:1px;height:24px;background:#FFFFFF;border-radius:0 8px 0 0}[_nghost-%COMP%] .position-wrapper[_ngcontent-%COMP%] .position[_ngcontent-%COMP%]{text-align:center;display:flex;justify-content:center;align-items:center;color:#023d67;font-size:16px;font-style:normal;font-weight:500;line-height:16px}.bookmark-header-title[_ngcontent-%COMP%]{color:var(--gray-800)}']}),r})();var B=l(1626),In=l(5312),Sn=l(480);let Tn=(()=>{var e;
1class r{constructor(i){this.http=i}getPolygonMaster(i){return this.http.post(`${In.c.apiModelUrl+p.y0.polygonMaster}`,{locale:i},{context:(new B._y).set(Sn.cM,!0)})}}return(e=r).\u0275fac=function(i){return new(i||e)(n.KVO(B.Qq))},e.\u0275prov=n.jDH({token:e,factory:e.\u0275fac,providedIn:"root"}),r})();var Gn=l(4678),En=l(8526);const Dn=["winnerModelLikes"],c=function(e){return[e]},Rn=function(e){return{cat:e}},jn=function(e,r){return{subcat:e,cat:r}};function $n(e,r){if(1&e&&(n.j41(0,"div",37)(1,"div",38)(2,"a",39)(3,"span"),n.EFF(4),n.k0s()()(),n.j41(5,"div",40)(6,"a",39),n.EFF(7),n.j41(8,"span"),n.EFF(9),n.k0s()()()()),2&e){const o=n.XpG();n.R7$(2),n.Y8G("routerLink",n.eq3(7,c,o.getCategoryUrl(o.winnerCategoryLink).pathname))("queryParams",n.eq3(9,Rn,o.getCategoryUrl(o.winnerCategoryLink).searchParams.get("cat"))),n.R7$(2),n.JRh(o.winner.categoryTitle),n.R7$(2),n.Y8G("routerLink",n.eq3(11,c,o.getCategoryUrl("/"+o.path.models+"?cat="+o.winner.categorySlug+"&"+o.winner.subcategorySlug).pathname))("queryParams",n.l_i(13,jn,o.getCategoryUrl(o.winnerSubcategoryLink).searchParams.get("subcat"),o.getCategoryUrl(o.winnerSubcategoryLink).searchParams.get("cat"))),n.R7$(1),n.SpI(" "," / "," "),n.R7$(2),n.JRh(o.winner.subcategoryTitle)}}function Yn(e,r){if(1&e&&(n.j41(0,"a",41),n.nrm(1,"img",42),n.k0s()),2&e){const o=n.XpG();n.Y8G("routerLink",n.eq3(2,c,"/"+o.path.users+"/"+o.winner.userSlug)),n.R7$(1),n.Y8G("src",o.avatarPath,n.B4B)}}function Un(e,r){if(1&e&&(n.j41(0,"a",41),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.Y8G("routerLink",n.eq3(2,c,"/"+o.path.users+"/"+o.winner.userSlug)),n.R7$(1),n.SpI(" ",o.winner.userName," ")}}const N=function(e,r){return[e,r]},H=function(e){return{modelPosition:1,referrerUrl:e}};function Bn(e,r){if(1&e&&(n.j41(0,"div",43),n.nrm(1,"div",44),n.j41(2,"a",45),n.nrm(3,"img",46),n.k0s()()),2&e){const o=n.XpG();n.R7$(2),n.Y8G("routerLink",n.l_i(5,N,"/"+o.path.modelShow,o.winner.slug))("state",n.eq3(8,H,o.referrerUrl))("appModelAttribution",o.winner.slug)("attribution",n.eq3(10,H,o.referrerUrl)),n.R7$(1),n.Y8G("src",o.winnerImageUrl,n.B4B)}}function Nn(e,r){1&e&&(n.j41(0,"div",47),n.qSk(),n.j41(1,"svg",48),n.nrm(2,"rect",49)(3,"path",50)(4,"path",51)(5,"path",52),n.k0s()())}function Hn(e,r){if(1&e&&(n.j41(0,"a",41),n.nrm(1,"img",42),n.k0s()),2&e){const o=n.XpG();n.Y8G("routerLink",n.eq3(2,c,"/"+o.path.users+"/"+o.winner.userSlug)),n.R7$(1),n.Y8G("src",o.avatarPath,n.B4B)}}function Xn(e,r){if(1&e&&(n.j41(0,"a",41),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.Y8G("routerLink",n.eq3(2,c,"/"+o.path.users+"/"+o.winner.userSlug)),n.R7$(1),n.SpI(" ",o.winner.userName," ")}}function An(e,r){1&e&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&e&&(n.R7$(1),n.SpI(" ",n.bMT(2,1,"polygon-master.winner.title")," "))}function Vn(e,r){if(1&e&&(n.j41(0,"a",41),n.EFF(1),n.nI1(2,"langConverter"),n.k0s()),2&e){const o=n.XpG();n.Y8G("routerLink",n.l_i(5,N,"/"+o.path.modelShow,o.winner.slug)),n.R7$(1),n.JRh(n.i5U(2,2,o.winner.title,o.winner.title_en))}}const zn=function(e){return{liked:e}};function Wn(e,r){if(1&e){const o=n.RV6();n.j41(0,"button",53,54),n.bIt("mouseenter",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.mouseOverRecommendButton(!0))})("mouseleave",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.mouseOverRecommendButton(!1))})("click",function(){n.eBV(o);const t=n.XpG();return n.Njj(t.toggleLikeWinner())}),n.qSk(),n.j41(2,"svg",55)(3,"g",56),n.nrm(4,"path",57),n.k0s(),n.j41(5,"defs")(6,"clipPath",58),n.nrm(7,"rect",59),n.k0s()()(),n.j41(8,"svg",60),n.nrm(9,"path",61)(10,"path",62),n.k0s(),n.EFF(11),n.k0s()}if(2&e){const o=n.XpG();n.Y8G("ngClass",n.eq3(2,zn,o.winner.isLike)),n.R7$(11),n.SpI(" ",o.winner.votes_count," ")}}function Jn(e,r){1&e&&(n.nrm(0,"span",63),n.nI1(1,"safeHtml"),n.nI1(2,"translate")),2&e&&n.Y8G("innerHTML",n.bMT(1,1,n.bMT(2,3,"polygon-master.winner.timeLeftComment")),n.npT)}function qn(e,r){1&e&&(n.j41(0,"span")(1,"span"),n.EFF(2),n.nI1(3,"translate"),n.k0s(),n.EFF(4),n.nI1(5,"translate"),n.k0s()),2&e&&(n.R7$(2),n.JRh(n.bMT(3,2,"polygon-master.winner.timeLeftRemaining")),n.R7$(2),n.SpI(" ",n.bMT(5,4,"polygon-master.winner.timeLeftOutOfDays")," "))}function Zn(e,r){if(1&e&&(n.j41(0,"div",64),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.R7$(1),n.JRh(o.timeLeftD)}}
1function Qn(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftDaysPlural.one")," ")}function Kn(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftDaysPlural.few")," ")}function ne(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftDaysPlural.many")," ")}function ee(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftDaysPlural.other")," ")}function te(e,r){if(1&e&&(n.j41(0,"div",65),n.DNE(1,Qn,2,3,"ng-template",66),n.DNE(2,Kn,2,3,"ng-template",67),n.DNE(3,ne,2,3,"ng-template",68),n.DNE(4,ee,2,3,"ng-template",69),n.k0s()),2&e){const o=n.XpG();n.Y8G("ngPlural",o.timeLeftD)}}function oe(e,r){if(1&e&&(n.j41(0,"div",64),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.R7$(1),n.JRh(o.timeLeftH)}}function ie(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftHoursPlural.one")," ")}function re(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftHoursPlural.few")," ")}function le(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftHoursPlural.many")," ")}function ae(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftHoursPlural.many")," ")}function se(e,r){if(1&e&&(n.j41(0,"div",65),n.DNE(1,ie,2,3,"ng-template",66),n.DNE(2,re,2,3,"ng-template",67),n.DNE(3,le,2,3,"ng-template",68),n.DNE(4,ae,2,3,"ng-template",69),n.k0s()),2&e){const o=n.XpG();n.Y8G("ngPlural",o.timeLeftH)}}function ge(e,r){if(1&e&&(n.j41(0,"div",64),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.R7$(1),n.JRh(o.timeLeftM)}}function de(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftMinutesPlural.one")," ")}function me(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftMinutesPlural.few")," ")}function ce(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftMinutesPlural.many")," ")}function _e(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftMinutesPlural.many")," ")}function pe(e,r){if(1&e&&(n.j41(0,"div",65),n.DNE(1,de,2,3,"ng-template",66),n.DNE(2,me,2,3,"ng-template",67),n.DNE(3,ce,2,3,"ng-template",68),n.DNE(4,_e,2,3,"ng-template",69),n.k0s()),2&e){const o=n.XpG();n.Y8G("ngPlural",o.timeLeftM)}}function he(e,r){if(1&e&&(n.j41(0,"div",64),n.EFF(1),n.k0s()),2&e){const o=n.XpG();n.R7$(1),n.JRh(o.timeLeftS)}}function Ce(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftSecondsPlural.one")," ")}function ue(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftSecondsPlural.few")," ")}function Me(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftSecondsPlural.many")," ")}function fe(e,r){1&e&&(n.EFF(0),n.nI1(1,"translate")),2&e&&n.SpI("",n.bMT(1,1,"polygon-master.timeLeftSecondsPlural.many")," ")}function Pe(e,r){if(1&e&&(n.j41(0,"div",65),n.DNE(1,Ce,2,3,"ng-template",66),n.DNE(2,ue,2,3,"ng-template",67),n.DNE(3,Me,2,3,"ng-template",68),n.DNE(4,fe,2,3,"ng-template",69),n.k0s()),2&e){const o=n.XpG();n.Y8G("ngPlural",o.timeLeftS)}}const we=function(e){return{visibility:e}},Oe=function(e,r,o){return{"time-left-green":e,"time-left-yellow":r,"time-left-red":o}},ke=function(e){return{width:e}};function ve(e,r){if(1&e&&(n.j41(0,"div",72),n.nrm(1,"div",73),n.k0s()),2&e){const o=r.index,i=n.XpG(2);n.Y8G("ngStyle",n.eq3(3,we,o>(i.timeLeft-1)/86400?"hidden":"")),n.R7$(1),n.Y8G("ngClass",n.sMw(5,Oe,i.timeLeft>345600,i.timeLeft>259200&&i.timeLeft<=345600,i.timeLeft<=259200))("ngStyle",n.eq3(9,ke,o<i.timeLeft/86400&&o+1>i.timeLeft/86400?(i.timeLeft-86400*o)/86400*100+"%":"100%"))}}const be=function(){return[]};function xe(e,r){1&e&&(n.j41(0,"div",70),n.DNE(1,ve,2,11,"div",71),n.k0s()),2&e&&(n.R7$(1),n.Y8G("ngForOf",n.lJ4(1,be).constructor(14)))}function ye(e,r){1&e&&(n.j41(0,"div",74)(1,"div",75),n.nrm(2,"div",76),n.k0s(),n.j41(3,"div",75),n.nrm(4,"div",76),n.k0s(),n.j41(5,"div",75),n.nrm(6,"div",76),n.k0s()())}function Le(e,r){1&e&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&e&&(n.R7$(1),n.JRh(n.bMT(2,1,"polygon-master.models.title")))}function Fe(e,r){1&e&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&e&&(n.R7$(1),n.JRh(n.bMT(2,1,"polygon-master.models.text")))}function Ie(e,r){if(1&e&&n.nrm(0,"app-model-card-polygon-master",77),2&e){const o=r.$implicit,i=r.index,t=n.XpG();n.Y8G("model",o)("referrerUrl",t.referrerUrl)("modelLoading",t.loading)("position",i+2)}}function Se(e,r){1&e&&n.nrm(0,"div",78)}const s=function(e){return{loading:e}};let Te=(()=>{var e;
1class r{constructor(i,t,a,g,m,v,b,x,y,L,F,I,Ge,Ee){this.backdropComponentService=i,this.subscribeHandlerService=t,this.polygonMasterService=a,this.likesService=g,this.modelService=m,this.popupBarService=v,this.sharedGlobalDataService=b,this.router=x,this.viewContainerRef=y,this.translate=L,this.backdropService=F,this.imageBaseUrl=I,this.seoHandler=Ge,this.sky=Ee,this.unsubscriber=new X.B,this.MODELS_PER_PAGE=30,this.models=new Array(this.MODELS_PER_PAGE),this.timeLeft=0,this.timeLeftD=0,this.timeLeftH=0,this.timeLeftM=0,this.timeLeftS=0,this.popupLimit=5,this.math=Math,this.path=O.iw,this.noAvatarPlaceholder=(0,n.WQX)(_.UP),this.imagesWebPath=this.sky?p.oT.modelGalleryEn:p.oT.modelGallery,this.avatarPath="",this.loading=new P.I,this.referrerUrl=z.FW.TOP_MODEL,this.loading.isLoading=!0}ngOnInit(){this.subscribeHandlerService.subjectSubscribe(this.sharedGlobalDataService.userData,i=>{this.userData=i},this.unsubscriber),this.likesService.setModelLikeSetUsersList(this.modelLikesUsersSet),this.getPolygonMaster(),this.modelService.modelRecommendButton.pipe((0,T.Q)(this.unsubscriber),(0,V.B)(w.HN)).subscribe(i=>{i&&this.modelLikesUsersSet.length>1&&this.likesService.userLikeShortStart(this.viewContainerRef,this.winnerModelLikes,this.winner.isLike,this.popupLimit),!1===i&&!this.likesUsersShortHoverOn&&this.likesService.userLikeShortStop()}),this.subscribeHandlerService.subjectSubscribe(this.likesService.likesUsersShortHover,i=>{this.likesUsersShortHoverOn=i},this.unsubscriber)}setMetaTags(){const i=this.translate.transform("polygon-master.seo.title"),t=this.translate.transform("polygon-master.seo.description"),a=this.seoHandler.handleSchemaModels([this.winner,...this.models]);Object.assign(a[0].item,{award:this.translate.transform("polygon-master.seo.award")}),this.seoHandler.setSchema({"@type":"ItemList","@context":"https://schema.org",name:i,description:t,numberOfItems:this.models.length+1,url:location.origin+location.pathname,itemListElement:a});const g=[{name:"twitter:cart",content:"summary"},{property:"og:image",content:this.translate.transform("polygon-master.seo.ogImage")},{property:"og:image:alt",content:this.translate.transform("polygon-master.seo.ogImageAlt")},{property:"og:url",content:location.origin+location.pathname}];this.seoHandler.setMetaTags(i,t,g)}getPolygonMaster(){this.subscribeHandlerService.takeOne(this.polygonMasterService.getPolygonMaster(this.sky?"en":"ru"),i=>{this.winner=i.data.data.winner,this.models=i.data.data.models,this.winnerImageUrl=this.imageBaseUrl.baseUrl+this.imagesWebPath+this.winner.images[0].web_path,this.winnerCategoryLink="/"+this.path.models+"?cat="+this.winner.categorySlug,this.winnerSubcategoryLink="/"+this.path.models+"?cat="+this.winner.categorySlug+"&subcat="+this.winner.subcategorySlug,this.avatarPath=null===this.winner.userAvatar||this.winner.userAvatar.includes("blank")?this.noAvatarPlaceholder:this.imageBaseUrl.baseUrl+p.oT.avatarProfileLargeWebp+this.winner.userAvatar,this.timeLeft=i.data.data.winner.timeLeft,this.startTimer(),this.getLikesUsersSet(),this.setMetaTags()},this.loading)}getLikesUsersSet(){this.subscribeHandlerService.takeOne(this.likesService.likesUsersSetList(this.winner.slug),i=>{if(i.success)if(this.userData.user){const t=i.data.model_like_users.filter(a=>a.user_slug===this.userData.user.slug);if(t.length>0){const a=i.data.model_like_users.filter(g=>g.user_slug!==this.userData.user.slug);this.modelLikesUsersSet=t.concat(a)}else this.modelLikesUsersSet=i.data.model_like_users}else this.modelLikesUsersSet=i.data.model_like_users;this.setLikesData()})}setLikesData(){this.likesService.setModelLikeSetUsersList(this.modelLikesUsersSet)}startTimer(){this.setTimer(),(0,A.Y)(1e3).pipe((0,T.Q)(this.unsubscriber)).subscribe(()=>{this.timeLeft=Math.max(0,this.timeLeft-1),this.setTimer()})}setTimer(){this.timeLeftD=Math.floor(this.timeLeft/86400),this.timeLeftH=Math.floor((this.timeLeft-3600*this.timeLeftD*24)/3600),this.timeLeftM=Math.floor((this.timeLeft-3600*this.timeLeftD*24-3600*this.timeLeftH)/60),this.timeLeftS=this.timeLeft-3600*this.timeLeftD*24-3600*this.timeLeftH-60*this.timeLeftM}toggleLikeWinner(){if(!this.sharedGlobalDataService.authorizedSource.value)return this.router.navigate([O.iw.authLogin],{queryParams:{referer_url:location.pathname+location.search}});const i={entity:"model",slug:this.winner.slug,rating:this.winner.isLike?0:1},t=()=>this.popupBarService.showGlobalError(this.viewContainerRef);this.winner.isLike=!this.winner.isLike,(()=>{this.subscribeHandlerService.takeOne(this.likesService.likeModel(i).pipe((0,u.W)(g=>(t(),(0,C.$)(g)))),g=>{g.success||(this.winner.isLike=!this.winner.isLike),this.winner.isLike?(this.winner.votes_count=this.winner.votes_count+1,this.modelLikesUsersSet=[{user_avatar_url:this.userData.user.avatarUrl,user_name:this.userData.user.username,user_slug:this.userData.user.slug,user_id:null,user_avatar:this.userData.user.avatar}].concat(this.modelLikesUsersSet)):(this.winner.votes_count=this.winner.votes_count-1,this.modelLikesUsersSet=this.modelLikesUsersSet.filter(m=>m.user_slug!==this.userData.user.slug)),this.setLikesData()})})()}getCategoryUrl(i){return new URL(location.origin+i)}mouseOverRecommendButton(i){window.innerWidth>991&&this.modelService.setModelRecommendButton(i)}
1ngOnDestroy(){this.unsubscriber.next(),this.seoHandler.resetMetaTags()}}return(e=r).\u0275fac=function(i){return new(i||e)(n.rXU(Y.v),n.rXU(D.e),n.rXU(Tn),n.rXU(j.A),n.rXU(w.JW),n.rXU($.h),n.rXU(R.o),n.rXU(h.Ix),n.rXU(n.c1b),n.rXU(M.D),n.rXU(Gn.u),n.rXU(_.sT),n.rXU(En.T),n.rXU(_.ef))},e.\u0275cmp=n.VBU({type:e,selectors:[["app-polygon-master"]],viewQuery:function(i,t){if(1&i&&n.GBs(Dn,5,n.c1b),2&i){let a;n.mGM(a=n.lsd())&&(t.winnerModelLikes=a.first)}},standalone:!0,features:[n.aNF],decls:61,vars:80,consts:[[1,"wrapper"],["class","d-flex align-items-center",4,"ngIf"],[1,"winner",3,"ngClass"],[1,"winner__left-block"],[1,"winner__author-mobile"],[1,"winner__avatar",3,"ngClass"],[3,"routerLink",4,"ngIf"],[1,"winner__author-title"],[1,"winner__author-name",3,"ngClass"],["class","winner__image-container",4,"ngIf"],["class","winner__image-loading",4,"ngIf"],[1,"winner__right-block",3,"ngClass"],[1,"winner__author"],[1,"winner__model"],[1,"winner__author-title",3,"ngClass"],[4,"ngIf"],[1,"winner__model-title",3,"ngClass"],[1,"winner__model-likes-wrapper",3,"ngClass"],[1,"winner-insert-component"],["class","winner__model-likes",3,"ngClass","mouseenter","mouseleave","click",4,"ngIf"],[1,"winner__time-left"],[1,"winner__time-left-comment",3,"ngClass"],[3,"innerHTML",4,"ngIf"],[1,"winner__time-left-days",3,"ngClass"],[1,"winner__timer"],[1,"winner__timer-item",3,"ngClass"],["class","winner__timer-item-value",4,"ngIf"],["class","winner__timer-item-label",3,"ngPlural",4,"ngIf"],["class","winner__time-left-scale",4,"ngIf"],["class","winner__time-left-scale loading",4,"ngIf"],[1,"model-list-wrapper"],[1,"model-list-title",3,"ngClass"],["modelListTitle",""],[1,"model-list-text",3,"ngClass"],[1,"model-list"],["class","model-list-item",3,"model","referrerUrl","modelLoading","position",4,"ngFor","ngForOf"],["class","model-list-last-row",4,"ngIf"],[1,"d-flex","align-items-center"],[1,"category"],[3,"routerLink","queryParams"],[1,"subcategory"],[3,"routerLink"],["alt","",3,"src"],[1,"winner__image-container"],[1,"winner__star-label"],[3,"routerLink","state","appModelAttribution","attribution"],["alt","",1,"winner__image",3,"src"],[1,"winner__image-loading"],["width","512","height","512","viewBox","0 0 512 512","fill","none","xmlns","http://www.w3.org/2000/svg"],["width","512","height","512","fill","#F7F7F7"],["d","M306 201H199.71V176.381L175 201H160.093L198.618 162.546C199.646 161.517 200.991 161.002 202.337 161L202.345 161L344.887 161L306 201Z","fill","#D9D9D9"],["d","M313 311V206L353 165.167V307.911L353 307.919C352.998 309.267 352.483 310.615 351.456 311.643L313 350V335.072L337 311H313Z","fill","#D9D9D9"],["d","M158 211.139C158 209.682 159.451 208 160.906 208H303C304.455 208 306 209.543 306 211V348C306 349.457 304.455 351 303 351H161C159.545 351 158 349.457 158 348V211.139Z","fill","#D9D9D9"],[1,"winner__model-likes",3,"ngClass","mouseenter","mouseleave","click"],["winnerModelLikes",""],["width","28","height","28","viewBox","0 0 28 28","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill-none"],["clip-path","url(#clip0_10565_93930)"],["fill-rule","evenodd","clip-rule","evenodd","d","M16.6041 1.86491L16.7151 0.871094L15.8197 1.24468L15.8074 1.26012L15.7671 1.31076C15.7312 1.35571 15.6775 1.42274 15.6071 1.51012C15.4664 1.68489 15.2589 1.94102 14.9933 2.2646C14.4621 2.91187 13.6991 3.82848 12.7737 4.9034C10.9902 6.97515 8.61264 9.62459 6.13494 12.0649H-0.0503162L-0.0588163 13.0563C-0.0759563 15.0555 -0.0621523 16.6587 -0.0488073 18.2087C-0.0325703 20.0946 -0.0170123 21.9016 -0.0586953 24.2471L-0.0767822 25.2649H22.3472C22.484 25.2649 22.6193 25.2368 22.7449 25.1825C24.1617 24.5685 25.2818 23.4135 26.1095 22.0917C26.9405 20.7646 27.5158 19.2092 27.8178 17.6876C28.1186 16.1725 28.1609 14.6271 27.8665 13.3238C27.5768 12.0412 26.907 10.8 25.6226 10.2731C25.5022 10.2237 25.3732 10.1982 25.2431 10.1982H17.8679C18.8801 8.71224 19.5019 7.45286 19.8253 6.37654C20.2658 4.91071 20.1657 3.72898 19.6753 2.81379C19.1958 1.9191 18.4279 1.43861 17.8417 1.18718C17.5443 1.05961 17.2751 0.982582 17.0779 0.936844C16.9786 0.91381 16.8956 0.898249 16.8338 0.888043C16.8029 0.882931 16.7772 0.879134 16.7572 0.876398L16.7317 0.873051L16.7223 0.871911L16.7184 0.871463L16.7167 0.871269C16.7167 0.871269 16.7151 0.871094 16.604
11 1.86491ZM5.53333 14.0649H1.93503C1.92953 15.5439 1.94031 16.8533 1.95088 18.1386C1.96443 19.7849 1.97766 21.3917 1.95594 23.2649H5.53333V14.0649ZM7.53333 23.2649H22.1273C22.9894 22.8382 23.7694 22.0604 24.4144 21.0303C25.1001 19.9353 25.595 18.6138 25.8561 17.2982C26.1185 15.9763 26.1324 14.7243 25.9156 13.7645C25.7204 12.8999 25.3794 12.4186 25.0122 12.1982H15.8932C15.5105 12.1982 15.1614 11.9799 14.994 11.6358C14.8265 11.2917 14.8701 10.8822 15.1063 10.5811C16.7634 8.46814 17.5751 6.91552 17.9099 5.80101C18.2391 4.70548 18.0927 4.09479 17.9125 3.75846C17.7212 3.40164 17.3943 3.17151 17.0533 3.02522C17.0281 3.01442 17.0033 3.00426 16.9788 2.9947C16.8571 3.14482 16.7099 3.32557 16.5393 3.5334C15.9999 4.19068 15.2267 5.11952 14.2894 6.20824C12.4863 8.30279 10.0673 10.9995 7.53333 13.4948V23.2649Z","fill","#4182AA"],["id","clip0_10565_93930"],["width","28","height","28","fill","white"],["width","28","height","28","viewBox","0 0 28 28","fill","none","xmlns","http://www.w3.org/2000/svg",1,"svg-fill"],["d","M8.10236 11.059C9.13193 10.2692 11.3668 8.22825 13.3988 5.80748C14.3361 4.6908 15.2346 3.33517 15.8183 2.45454C15.9798 2.21086 16.1172 2.00355 16.2246 1.84773C16.6949 1.16584 17.4355 0.851901 18.0734 1.06702C18.9661 1.36809 19.6493 2.43767 19.589 3.89221C19.5287 5.34675 19.1393 6.92519 17.6958 9.62118H25.1575C26.6731 9.62118 28 10.3401 28 12.4969C28 13.9347 27.8404 15.6334 27.2893 17.5294C26.3532 20.7503 24.7966 23.9997 21.521 23.9997C21.2721 23.9997 20.6936 23.9995 19.9016 23.9991C16.9282 23.9978 10.946 23.9952 8.10236 23.9997V11.059Z","fill","#FFFFFF"],["d","M6.68113 11.0586L0.996094 11.0874V23.9849L6.68113 23.9993V11.0586Z","fill","#FFFFFF"],[3,"innerHTML"],[1,"winner__timer-item-value"],[1,"winner__timer-item-label",3,"ngPlural"],["ngPluralCase","one"],["ngPluralCase","few"],["ngPluralCase","many"],["ngPluralCase","other"],[1,"winner__time-left-scale"],["class","time-left-scale-item",3,"ngStyle",4,"ngFor","ngForOf"],[1,"time-left-scale-item",3,"ngStyle"],[1,"time-left-scale-item-inner",3,"ngClass","ngStyle"],[1,"winner__time-left-scale","loading"],[1,"time-left-scale-item"],[1,"time-left-scale-item-inner"],[1,"model-list-item",3,"model","referrerUrl","modelLoading","position"],[1,"model-list-last-row"]],template:function(i,t){1&i&&(n.j41(0,"app-base-wide"),n.qex(1),n.j41(2,"div",0),n.DNE(3,$n,10,16,"div",1),n.j41(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5),n.DNE(8,Yn,2,4,"a",6),n.k0s(),n.j41(9,"div")(10,"div",7),n.EFF(11),n.nI1(12,"translate"),n.k0s(),n.j41(13,"div",8),n.DNE(14,Un,2,4,"a",6),n.k0s()()(),n.DNE(15,Bn,4,12,"div",9),n.DNE(16,Nn,6,0,"div",10),n.k0s(),n.j41(17,"div",11)(18,"div",12)(19,"div",5),n.DNE(20,Hn,2,4,"a",6),n.k0s(),n.j41(21,"div")(22,"div",8),n.DNE(23,Xn,2,4,"a",6),n.k0s()()(),n.j41(24,"div",13)(25,"div",14),n.DNE(26,An,3,3,"span",15),n.k0s(),n.j41(27,"div",16),n.DNE(28,Vn,3,8,"a",6),n.k0s(),n.j41(29,"div",17)(30,"div",18),n.DNE(31,Wn,12,4,"button",19),n.k0s()()(),n.j41(32,"div",20)(33,"div",21),n.DNE(34,Jn,3,5,"span",22),n.k0s(),n.j41(35,"div",23),n.DNE(36,qn,6,6,"span",15),n.k0s(),n.j41(37,"div",24)(38,"div",25),n.DNE(39,Zn,2,1,"div",26),n.DNE(40,te,5,1,"div",27),n.k0s(),n.j41(41,"div",25),n.DNE(42,oe,2,1,"div",26),n.DNE(43,se,5,1,"div",27),n.k0s(),n.j41(44,"div",25),n.DNE(45,ge,2,1,"div",26),n.DNE(46,pe,5,1,"div",27),n.k0s(),n.j41(47,"div",25),n.DNE(48,he,2,1,"div",26),n.DNE(49,Pe,5,1,"div",27),n.k0s()(),n.DNE(50,xe,2,2,"div",28),n.DNE(51,ye,7,0,"div",29),n.k0s()()(),n.j41(52,"div",30)(53,"div",31,32),n.DNE(55,Le,3,3,"span",15),n.k0s(),n.j41(56,"div",33),n.DNE(57,Fe,3,3,"span",15),n.k0s(),n.j41(58,"div",34),n.DNE(59,Ie,1,4,"app-model-card-polygon-master",35),n.k0s()(),n.DNE(60,Se,1,0,"div",36),n.k0s(),n.bVm(),n.k0s()),2&i&&(n.R7$(3),n.Y8G("ngIf",t.winner&&t.winner.categoryTitle&&t.winner.subcategoryTitle),n.R7$(1),n.Y8G("ngClass",n.eq3(46,s,t.loading.isLoading)),n.R7$(3),n.Y8G("ngClass",n.eq3(48,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(3),n.SpI(" ",n.bMT(12,44,"polygon-master.winner.title")," "),n.R7$(2),n.Y8G("ngClass",n.eq3(50,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(52,s,t.loading.isLoading)),n.R7$(2),n.Y8G("ngClass",n.eq3(54,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(2),n.Y8G("ngClass",n.eq3(56,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(2),n.Y8G("ngClass",n.eq3(58,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(60,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(62,s,t.loading.isLoading)),n.R7$(2),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(2),n.Y8G("ngClass",n.eq3(64,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(66,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(2),n.Y8G("ngClass",n.eq3(68,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(70,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(72,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(74,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngIf",t.loading.isLoading),n.R7$(2),n.Y8G("ngClass",n.eq3(76,s,t.loading.isLoading)),n.R7$(2),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(1),n.Y8G("ngClass",n.eq3(78,s,t.loading.isLoading)),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading),n.R7$(2),n.Y8G("ngForOf",t.models),n.R7$(1),n.Y8G("ngIf",!t.loading.isLoading))},dependencies:[W.C,d.MD,d.YU,d.Sq,d.bT,d.B3,d.IJ,d.WO,h.iI,h.Wk,M.D,G.L,J.$,Fn,E.S],styles:['.loading[_ngcontent-%COMP%]{background:#F7F7F7;border-radius:4px}@media (max-width: 767.98px){.wrapper[_ngcontent-%COMP%]{margin-top:-48px;margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}}.winner[_ngcontent-%COMP%]{display:flex;border:1px #f4f4f4 solid;border-radius:4px;flex-wrap:wrap;margin-top:8px;background:#f4f4f4}@media (min-width: 768px){.winner[_ngcontent-%COMP%]{flex-wrap:nowrap}}@media (min-width: 768px) and (max-width: 991.98px){.winner[_ngcontent-%COMP%]{border:none}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%]{display:inline;margin-left:calc(var(--bs-gutter-x) * .5 * -1);width:540px;border:none;background:#F4F4F4}}@media (max-width: 575.98px){.winner[_ngcontent-%COMP%]{display:inline;width:100%}}.winner[_ngcontent-%COMP%] .winner__left-block[_ngcontent-%COMP%]{position:relative}.winner[_ngcontent-%COMP%] .winner__left-block[_ngcontent-%COMP%] .winner__star-label[_ngcontent-%COMP%]{position:absolute;
1left:450px;height:90px;width:46px;background:url(/ng-assets/images/label_star_desktop.svg) center center no-repeat}@media (max-width: 991.98px){.winner[_ngcontent-%COMP%] .winner__left-block[_ngcontent-%COMP%] .winner__star-label[_ngcontent-%COMP%]{left:288px;height:68px;width:32px;background:url(/ng-assets/images/label_star_mobile.svg) center center no-repeat}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__left-block[_ngcontent-%COMP%] .winner__star-label[_ngcontent-%COMP%]{left:492px}}@media (max-width: 575.98px){.winner[_ngcontent-%COMP%] .winner__left-block[_ngcontent-%COMP%] .winner__star-label[_ngcontent-%COMP%]{position:relative;left:0;margin-left:auto;margin-right:16px}}.winner[_ngcontent-%COMP%] .winner__image[_ngcontent-%COMP%]{border-radius:4px}@media (min-width: 992px){.winner[_ngcontent-%COMP%] .winner__image[_ngcontent-%COMP%]{min-width:512px;width:512px}}@media (min-width: 768px) and (max-width: 991.98px){.winner[_ngcontent-%COMP%] .winner__image[_ngcontent-%COMP%]{min-width:336px;width:336px;border:1px #F4F4F4 solid}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__image[_ngcontent-%COMP%]{border:1px #F4F4F4 solid;border-radius:0}}@media (max-width: 575.98px){.winner[_ngcontent-%COMP%] .winner__image[_ngcontent-%COMP%]{margin-top:-68px;width:100%;border-width:0}}.winner[_ngcontent-%COMP%] .winner__image-container[_ngcontent-%COMP%]{border-radius:4px;background:#ffffff;width:100%;height:100%}@media (max-width: 991.98px){.winner[_ngcontent-%COMP%] .winner__image-loading[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:336px;height:336px}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__image-loading[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:540px;height:540px}}@media (max-width: 575.98px){.winner[_ngcontent-%COMP%] .winner__image-loading[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:360px;height:360px}}.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px}.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__avatar.loading[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__avatar.loading[_ngcontent-%COMP%]{border-radius:50%;outline:4px #FFFFFF solid;height:66px;min-width:66px;min-height:66px}.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__author-name[_ng
1content-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__author-name[_ngcontent-%COMP%]{font-size:32px;font-weight:700;color:#373737;line-height:38px}.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__author-name[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__author-name[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#373737}.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__author-name.loading[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__author-name.loading[_ngcontent-%COMP%]{width:234px;height:32px}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%] .winner__author-title[_ngcontent-%COMP%], .winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%] .winner__author-title[_ngcontent-%COMP%]{display:none}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__author[_ngcontent-%COMP%]{display:none}}.winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%]{padding:24px 12px;background:#FFFFFF;gap:16px}@media (min-width: 768px){.winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 767.98px){.winner[_ngcontent-%COMP%] .winner__author-mobile[_ngcontent-%COMP%]{padding:24px 16px}}.winner.loading[_ngcontent-%COMP%]{margin-top:32px;border:none;background:none}.winner__right-block[_ngcontent-%COMP%]{width:100%;background:#F4F4F4;padding:24px 16px 4px 48px;border-radius:0 4px 4px 0}@media (max-width: 991.98px){.winner__right-block[_ngcontent-%COMP%]{padding:24px 16px 4px}}@media (max-width: 767.98px){.winner__right-block[_ngcontent-%COMP%]{padding:24px 12px 4px;border-radius:0}}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%]{margin-top:16px}@media (min-width: 992px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%]{min-height:90px}}@media (min-width: 1200px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%]{min-height:118px}}@media (min-width: 1400px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%]{min-height:132px}}@media (max-width: 767.98px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%]{margin-top:0}}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__author-title[_ngcontent-%COMP%]{margin-top:0;font-size:20px;font-weight:500;color:#f1770d;line-height:24px}@media (min-width: 768px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__author-title[_ngcontent-%COMP%]{margin-top:24px}}@media (min-width: 992px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__author-title[_ngcontent-%COMP%]{margin-top:32px}}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__author-title.loading[_ngcontent-%COMP%]{width:134px;height:24px}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:32px;font-weight:700;color:#000;line-height:36px}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-title.loading[_ngcontent-%COMP%]{margin-top:2px;width:134px;height:36px}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#000;text-decoration:none}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;justify-content:center;width:197px;height:52px;border-radius:100px;box-shadow:0 2px 12px #6c92a933;background:linear-gradient(180deg,#FFFFFF -4.81%,#FBFBFB 81.62%,#FFFFFF 104.81%);margin-top:18px;font-weight:500;font-size:24px;line-height:28px;color:#4182aa;border:0}@media (min-width: 992px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes[_ngcontent-%COMP%]:hover{color:#4182aa;background:#CDE8FE}}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes[_ngcontent-%COMP%] .svg-fill-none[_ngcontent-%COMP%]{display:block}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes[_ngcontent-%COMP%] .svg-fill[_ngcontent-%COMP%]{display:none}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes.liked[_ngcontent-%COMP%]{color:#fff;background:#4182AA}@media (min-width: 992px){.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes.liked[_ngcontent-%COMP%]:hover{background:#125884}}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes.liked[_ngcontent-%COMP%] .svg-fill-none[_ngcontent-%COMP%]{display:none}.winner__right-block[_ngcontent-%COMP%] .winner__model[_ngcontent-%COMP%] .winner__model-likes.liked[_ngcontent-%COMP%] .svg-fill[_ngcontent-%COMP%]{display:block}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%]{margin-top:24px}@media (min-width: 992px) and (max-width: 1199.98px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%]{margin-top:18px}}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment[_ngcontent-%COMP%]{margin-top:24px;color:#000;line-height:24px}@media (min-width: 992px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment[_ngcontent-%COMP%]{margin-top:18px}}@media (min-width: 1200px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment[_ngcontent-%COMP%]{margin-top:34px}}@media (min-width: 1400px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment[_ngcontent-%COMP%]{margin-top:66px}}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment.loading[_ngcontent-%COMP%]{width:100%;height:48px}@media (max-width: 1399.98px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment.loading[_ngcontent-%COMP%]{height:72px}}@media (max-width: 1199.98px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-comment.loading[_ngcontent-%COMP%]{height:96px}}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%]{color:#000;font-weight:500;font-size:16px;line-height:20px;padding-bottom:8px;margin-top:16px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%] .gray-5e[_ngcontent-%COMP%]{color:#5e5e5e}@media (min-width: 768px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%]{margin-top:25px}}@media (min-width: 1200px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%]{margin-top:34px}}@media (min-width: 1400px){.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%]{margin-top:24px}}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days.loading[_ngcontent-%COMP%]{width:134px;height:20px;margin-bottom:8px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__time-left-days[_ngcontent-%COMP%] span[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#5e5e5e}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%]{display:flex;gap:2px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%] .winner__timer-item[_ngcontent-%COMP%]{text-align:center;width:78px;height:73px;background:linear-gradient(360deg,#F9F9F9 0%,#FCFCFC 15.93%,#FFFFFF 94.23%);border:1px #EFEFF0 solid;border-radius:8px;padding:8px;box-shadow:0 4px 4px #96aab640;color:#757575}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%] .winner__timer-item[_ngcontent-%COMP%] .winner__timer-item-value[_ngcontent-%COMP%]{font-size:32px;line-height:32px;font-weight:500;width:58px;border-bottom:1px #EFEFF0 solid;padding-bottom:4px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%] .winner__timer-item[_ngcontent-%COMP%] .winner__timer-item-label[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;line-height:14px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%] .winner__timer-item.loading[_ngcontent-%COMP%]{box-shadow:none;background:#F7F7F7;border:none}.winner__right-block[_ngcontent-%COMP%] .winner__time-left[_ngcontent-%COMP%] .winner__timer[_ngcontent-%COMP%] .winner__timer-item[_ngcontent-%COMP%]:first-child{color:#000}.winner__right-block[_ngcontent-%COMP%] .winner__time-left-scale[_ngcontent-%COMP%]{display:flex;gap:1px;justify-content:space-between;width:318px;margin-top:8px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left-scale[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%]{flex-grow:1;background:#D0D0D0;border-radius:1px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left-scale[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%] .time-left-scale-item-inner[_ngcontent-%COMP%]{height:8px;border-radius:1px}.winner__right-block[_ngcontent-%COMP%] .winner__time-left-scale.loading[_ngcontent-%COMP%]{width:69px;background:#FFFFFF}.winner__right-block[_ngcontent-%COMP%] .winner__time-left-scale.loading[_ngcontent-%COMP%] .time-left-scale-item[_ngcontent-%COMP%] .time-left-scale-item-inner[_ngcontent-%COMP%]{background:#F7F7F7}.winner__right-block.loading[_ngcontent-%COMP%]{background:white}@media (max-width: 575.98px){.model-list-wrapper[_ngcontent-%COMP%]{padding:0 12px}}.model-list-title[_ngcontent-%COMP%]{margin-top:46px;font-weight:500;font-size:20px;line-height:24px;color:#000}@media (max-width: 767.98px){.model-list-title[_ngcontent-%COMP%]{margin-top:48px}}.model-list-title.loading[_ngcontent-%COMP%]{width:134px;height:24px}.model-list-text[_ngcontent-%COMP%]{margin-top:8px;color:#000;line-height:24px}.model-list-text.loading[_ngcontent-%COMP%]{width:100%;height:24px}.model-list[_ngcontent-%COMP%]{display:grid;gap:24px;margin-top:48px;grid-row-gap:48px;position:relative}@media (min-width: 1200px){.model-list[_ngcontent-%COMP%]{grid-row-gap:48px;grid-template-columns:repeat(6,minmax(136px,1fr))}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+6){-webkit-user-select:none;user-select:none;pointer-events:none}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+6):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (min-width: 1400px){.model-list[_ngcontent-%COMP%]{grid-row-gap:52px}}@media (min-width: 992px) and (max-width: 1199.98px){.model-list[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(136px,1fr))}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+5){-webkit-user-select:none;user-select:none;pointer-events:none}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+5):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (min-width: 768px) and (max-width: 991.98px){.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+4){-webkit-user-select:none;user-select:none;pointer-events:none}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+4):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (max-width: 767.98px){.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+2){-webkit-user-select:none;user-select:none;pointer-events:none}.model-list-item[_ngcontent-%COMP%]:nth-last-child(-n+2):after{position:absolute;content:"";inset:0;z-index:99;background:linear-gradient(358.56deg,#FFFFFF 29.62%,rgba(255,255,255,.784108) 80.65%,rgba(255,255,255,0) 134.09%)}}@media (min-width: 768px) and (max-width: 991.98px){.model-list[_ngcontent-%COMP%]{margin-top:62px;grid-template-columns:repeat(auto-fill,minmax(156px,1fr))}}@media (min-width: 576px) and (max-width: 767.98px){.model-list[_ngcontent-%COMP%]{padding:0 12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media (max-width: 575.98px){.model-list[_ngcontent-%COMP%]{grid-row-gap:24px;grid-template-columns:repeat(2,minmax(156px,1fr))}}.winner__model-likes-wrapper[_ngcontent-%COMP%]{position:relative}.winner__model-likes-wrapper.loading[_ngcontent-%COMP%]{margin-top:16px;width:197px;height:52px;border-radius:100px}
1.winner-insert-component[_ngcontent-%COMP%]{position:relative;width:-moz-fit-content;width:fit-content}.user-like-else[_ngcontent-%COMP%]{cursor:pointer;font-weight:500;font-size:14px;line-height:18px;margin-top:16px;color:#8c8c8c}.user-like-else[_ngcontent-%COMP%]:hover{color:#5e5e5e}.time-left-green[_ngcontent-%COMP%]{background:#47A556;border:1px #47A556 solid}.time-left-yellow[_ngcontent-%COMP%]{background:#FFB600;border:1px #FFB600 solid}.time-left-red[_ngcontent-%COMP%]{background:#F1770D;border:1px #F1770D solid}.category[_ngcontent-%COMP%], .subcategory[_ngcontent-%COMP%]{cursor:pointer;margin-right:4px;padding:0}@media (max-width: 767.98px){.category[_ngcontent-%COMP%], .subcategory[_ngcontent-%COMP%]{display:none}}.category[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .subcategory[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;line-height:20px;color:#4182aa}.category[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .subcategory[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#023d67}']}),r})()}}]);
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.