PageSourceSearch

https://faberlic.com/ru/ru/chunk-FKHYIKBT.js

js faberlic.com collected 2026-10-02 08:33:54 UTC 8,630 bytes, 1 lines download raw bytes

1import{a as re}from"./chunk-S4RXQB5X.js";import"./chunk-DY7IBVEL.js";import{a as E}from"./chunk-SDQ3SYKD.js";import{b as oe}from"./chunk-M4PSCBRV.js";import"./chunk-TJO7WPEC.js";import{a as Z}from"./chunk-JRAHDXNC.js";import{b as te}from"./chunk-ABN32TXD.js";import"./chunk-PHXO2P5A.js";import"./chunk-YS3O3UZD.js";import"./chunk-GYT42MZ4.js";import{b as ie}from"./chunk-G6J4VSYL.js";import"./chunk-H2GP4FK7.js";import"./chunk-TVDTWE6N.js";import{k as ee}from"./chunk-XYJSBMJS.js";import"./chunk-WO2ZYMLX.js";import{e as J}from"./chunk-N24HQOY3.js";import"./chunk-NTP7C7UB.js";import{e as X}from"./chunk-ASIWHYS4.js";import{ha as Y}from"./chunk-HCM5KGT4.js";import{a as b}from"./chunk-5BTCZPTB.js";import"./chunk-7BWKK3ZO.js";import"./chunk-EBBVLR46.js";import"./chunk-T3PSMY7G.js";import"./chunk-K3ZLFE72.js";import{Ja as W}from"./chunk-2GVRJ7AG.js";import"./chunk-WLWOCULQ.js";import{Bb as a,Da as h,Dd as u,Ec as C,Ed as Q,Gc as d,Ib as y,Md as G,Oc as A,Pc as O,Sc as x,Tc as q,Vc as H,W as T,Xc as K,aa as j,gc as w,ic as S,id as I,jc as N,jd as B,lc as $,ma as R,mc as z,nc as p,oc as c,pc as l,qa as f,qc as g,sb as s,tc as L,u as D,xa as v,xc as _,ya as m,yc as U}from"./chunk-APZZU4ZO.js";import{g as F}from"./chunk-JSSFPNKJ.js";var ce=["videoPlayer"],se=(()=>{let o=class o{constructor(i){this.destroyRef=i,this.videoPlayer=Q.required("videoPlayer"),this.videoPath=u.required(),this.poster=u()}ngOnInit(){this.videoPlayer().nativeElement.muted=!0,E.isSupported()?(this.hlsPlayer=new E({capLevelToPlayerSize:!0}),this.hlsPlayer.loadSource(this.videoPath()),this.hlsPlayer.attachMedia(this.videoPlayer().nativeElement)):this.videoPlayer().nativeElement.canPlayType("application/vnd.apple.mpegurl")&&(this.videoPlayer().nativeElement.src=this.videoPath()),this.videoPlayer().nativeElement.play()}ngOnDestroy(){this.hlsPlayer?.destroy()}};o.\u0275fac=function(e){return new(e||o)(a(h))},o.\u0275cmp=y({type:o,selectors:[["app-video-preview"]],viewQuery:function(e,r){e&1&&A(r.videoPlayer,ce,5),e&2&&O()},inputs:{videoPath:[1,"videoPath"],poster:[1,"poster"]},decls:2,vars:1,consts:[["videoPlayer",""],["pip","false","preload","none",1,"rounded-circle","object-fit-cover","w-100","h-100","p-1",3,"poster"]],template:function(e,r){e&1&&L(0,"video",1,0),e&2&&U("poster",r.poster())},encapsulation:2,changeDetection:0});let t=o;return t})();var ae=(()=>{let o=class o{constructor(i,e,r,P){this.userService=i,this.localStorageService=e,this.destroyRef=r,this.storeIpModeUtilsService=P,this.viewedStories=this.localStorageService.getItem("viewedStoriesMap")??{},D([this.userService.$user,this.storeIpModeUtilsService.storeIpModeUuid$.pipe(j(void 0),T())]).pipe(b(this.destroyRef)).subscribe(([k,[M,V]])=>{this.uuid=V??void 0,k&&this.viewedStories.temporary&&(!V||M)&&(this.viewedStories.temporary=[],this.localStorageService.setItem("viewedStoriesMap",this.viewedStories))})}getViewedStories(){return[...this.viewedStories[this.userKey]??[]]}setViewedStory(i){let e=this.userKey;this.viewedStories[e]||(this.viewedStories[e]=[]),this.viewedStories[e]?.push(i),this.localStorageService.setItem("viewedStoriesMap",this.viewedStories)}get userKey(){return!this.userService.user||this.uuid?"temporary":this.userService.user.id}};o.\u0275fac=function(e){return new(e||o)(f(ie),f(Z),f(h),f(ee))},o.\u0275prov=R({token:o,factory:o.\u0275fac,providedIn:"root"});let t=o;return t})();var de=t=>({width:t}),pe=()=>["fal","chevron-left"],ve=()=>["fal","chevron-right"];function me(t,o){if(t&1){let n=_();c(0,"fa-icon",7),C("click",function(){v(n);let e=d();return m(e.swiperNavigationClicked())}),l()}t&2&&p("icon",I(1,pe))}function he(t,o){if(t&1&&g(0,"app-video-preview",10),t&2){let n=d().$implicit;p("videoPath",n.story.video+"/master.m3u8")("poster",n.story.img)}}function ue(t,o){if(t&1){let n=_();c(0,"swiper-slide")(1,"div",8),C("click",function(){let e=v(n).$index,r=d();return m(r.onClick(e))})("mouseenter",function(){let e=v(n).$index,r=d();return m(r.onHovered(e))})("mouseleave",function(){v(n);let e=d();return m(e.onleft())}),c(2,"div",9),w(3,he,1,2,"app-video-preview",10),g(4,"img",11),l(),c(5,"div",12)(6,"p",13),H(7),l()()()()}if(t&2){let n=o.$implicit,i=o.$index,e=d();s(2),x("border-brand",!n.viewed)("border-shadow",n.viewed),s(),S(e.hoveredIndex===i?3:-1),s(),x("visually-hidden",e.hoveredIndex===i),p("ngSrc",n.story.img),s(3),K(" ",n.story.caption," ")}}function fe(t,o){if(t&1){let n=_();c(0,"fa-icon",14),C("click",function(){v(n);let e=d();return m(e.swiperNavigationClicked())}),l()}t&2&&p("icon",I(1,ve))}function we(t,o){t&1&&(c(0,"div",6),g(1,"app-fl-slider-nav-dots",15),l()),t&2&&(s(),p("swiperId","stories-slider"))}var Ae=(()=>{let o=class o{constructor(i,e,r,P,k,M){this.dialog=i,this.destroyRef=e,this.activatedRoute=r,this.gtmService=P,this.cdr=k,this.storiesService=M,this.isMobile=u(),this.stories=u.required(),this.viewedStories=[],this.swiperConfig={loop:!1,autoplay:!1,lazyPreloadPrevNext:6,spaceBetween:8,breakpointsBase:"container",navigation:{nextEl:".stories-right-arrow",prevEl:".stories-left-arrow",lockClass:"d-none",disabledClass:"text-white"},pagination:{el:".stories-slider-nav",type:"custom",lockClass:"d-none"},breakpoints:{0:{slidesPerView:4},460:{slidesPerView:5},720:{slidesPerView:6},1024:{slidesPerView:8},1440:{slidesPerView:10}}}}ngOnInit(){this.viewedStories=this.storiesService.getViewedStories(),this.viewedStories.length&&this.stories().forEac
1h(r=>{r.viewed=this.viewedStories.includes(r.code)});let i=this.activatedRoute.snapshot.queryParams.story,e=this.stories().findIndex(r=>r.code===i);e!==-1&&this.onClick(e),this.sendStoriesShowEvent()}ngAfterViewInit(){this.cdr.markForCheck()}onViewed(i){this.viewedStories.includes(i)||(this.viewedStories.push(i),this.storiesService.setViewedStory(i),this.cdr.markForCheck())}swiperNavigationClicked(){this.sendStoriesClickEvent("slickSlider")}sendStoriesShowEvent(){this.gtmService.pushEvent("userEvent",{eventContext:{eventCategory:"interactions",eventAction:"viewing",eventLabel:"storiesList",title:"MainStories"}})}sendStoriesClickEvent(i){this.gtmService.pushEvent("userEvent",{eventContext:{eventCategory:"interactions",eventAction:"click",eventLabel:"storiesList",title:i}})}onClick(i){return F(this,null,function*(){let{VideoModalComponent:e}=yield import("./chunk-QZCW4Q66.js");this.sendStoriesClickEvent("clickStories"),this.dialog.open(e,{panelClass:["fl-modal","fl-modal-fullscreen"],autoFocus:!1,backdropClass:"fl-modal-backdrop",data:{id:"videoModal",selected:i,stories:this.stories(),isMobile:this.isMobile}}).componentInstance.viewed$.pipe(b(this.destroyRef)).subscribe(r=>{this.onViewed(r)})})}onHovered(i){this.hoveredIndex=i}onleft(){this.hoveredIndex=void 0,this.cdr.markForCheck()}};o.\u0275fac=function(e){return new(e||o)(a(Y),a(h),a(J),a(te),a(G),a(ae))},o.\u0275cmp=y({type:o,selectors:[["app-fl-stories"]],inputs:{isMobile:[1,"isMobile"],stories:[1,"stories"]},decls:9,vars:10,consts:[[1,"d-block"],[1,"rounded-4","gap-1","mt-4","border","border-2","py-sm-4"],[1,"d-flex","align-items-center"],["role","button","size","2xl",1,"fs-6","stories-left-arrow","ps-4","ps-lg-4",3,"icon"],["appSwiper","stories-slider","init","false",3,"options"],["role","button","size","2xl",1,"fs-6","stories-right-arrow","pe-4","pe-lg-4",3,"icon"],[1,"d-flex","justify-content-center","pt-2","pt-lg-4","position-relative"],["role","button","size","2xl",1,"fs-6","stories-left-arrow","ps-4","ps-lg-4",3,"click","icon"],[1,"story","position-relative","d-flex","gap-3","flex-column","justify-content-center","align-items-center","py-sm-4","py-md-0","px-1","px-lg-4",3,"click","mouseenter","mouseleave"],[1,"story-img-content","ratio","ratio-1x1","bg-white","rounded-circle","border","border-3"],[1,"ratio","ratio-1x1",3,"videoPath","poster"],["width","135","height","135","alt","",1,"rounded-circle","object-fit-cover","p-1",3,"ngSrc"],[1,"stories__content"],[1,"stories__text","text-center","m-0","fs-5","lh-1","fw-normal"],["role","button","size","2xl",1,"fs-6","stories-right-arrow","pe-4","pe-lg-4",3,"click","icon"],[3,"swiperId"]],template:function(e,r){e&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),w(3,me,1,2,"fa-icon",3),c(4,"swiper-container",4),$(5,ue,8,9,"swiper-slide",null,N),l(),w(7,fe,1,2,"fa-icon",5),l(),w(8,we,2,1,"div",6),l()()),e&2&&(s(),x("border",!r.isMobile()),s(2),S(r.isMobile()?-1:3),s(),q(B(8,de,r.isMobile()?"100%":"92%")),p("options",r.swiperConfig),s(),z(r.stories()),s(2),S(r.isMobile()?-1:7),s(),S(r.stories().length>1?8:-1))},dependencies:[oe,X,W,se,re],styles:[".story-img-content[_ngcontent-%COMP%]{max-width:6.375rem}"],changeDetection:0});let t=o;return t})();export{Ae as FlStoriesComponent};

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.