PageSourceSearch

https://lux.fm/chunk-NZ5WW3OE.js

js lux.fm collected 2026-10-02 03:34:42 UTC 9,995 bytes, 2 lines download raw bytes

1import"./chunk-SAVUFALP.js";import"./chunk-KDM2YUUH.js";import{a as dt,b as ut}from"./chunk-6OK7SRLA.js";import"./chunk-Q5SAMGHL.js";import{a as w}from"./chunk-GEXYTHGP.js";import{a as mt}from"./chunk-KZLFNPIO.js";import"./chunk-VKO2SZP7.js";import"./chunk-A6IZKRH2.js";import"./chunk-6PJDHEHO.js";import{a as lt}from"./chunk-JG6E4EKF.js";import{c as v}from"./chunk-4QBXLFCK.js";import"./chunk-VO4BZ5R3.js";import{a as ct}from"./chunk-KT4DGVPM.js";import{a as st}from"./chunk-7G3EXY2F.js";import"./chunk-5QM7SDDT.js";import{a as pt}from"./chunk-XOOTG56T.js";import{a as nt}from"./chunk-IYIY5QQ4.js";import{a as it}from"./chunk-2YPE2VD5.js";import"./chunk-JYP2JA63.js";import"./chunk-2ZA7MCKQ.js";import"./chunk-BOVKOZS6.js";import{b as et}from"./chunk-WACRNVIW.js";import{a as Z,b as tt}from"./chunk-YNTMUG3Q.js";import"./chunk-7JBGJ47J.js";import"./chunk-OAKHQSJC.js";import"./chunk-H237K7AQ.js";import{a as ot}from"./chunk-L7G2AW7K.js";import"./chunk-W56P2XHX.js";import{a as rt}from"./chunk-5AL3WFTR.js";import{a as k}from"./chunk-JMZMJS7H.js";import{a as at}from"./chunk-CHXLLWTX.js";import"./chunk-OQTMMC4Q.js";import"./chunk-U5XA7ULC.js";import"./chunk-JGREWNZJ.js";import"./chunk-GYTFHDJ6.js";import{i as T}from"./chunk-C5FYYNNK.js";import"./chunk-XER5W7IO.js";import"./chunk-7CYF2ZD5.js";import{d as D}from"./chunk-56CZHGRG.js";import{e as y}from"./chunk-4ZHBVU6N.js";import{G as Y,L as X,m as q,s as H}from"./chunk-TL22AELH.js";import{C as N,F as R,G as A,Jb as f,Jc as h,Kc as J,Lb as g,Nc as b,Oc as j,Qb as r,Rb as s,Sb as c,Tb as l,Ub as L,Vb as $,Wb as V,Y as F,Z as _,_a as i,ac as z,ba as p,fc as B,g as E,ha as P,hb as u,hc as M,i as I,ia as S,kc as Q,lc as G,mc as K,nb as m,ob as x,ta as d,uc as U,vc as W}from"./chunk-WVWDRV7K.js";import"./chunk-47C24N6L.js";var Mt=["target"],ft=(()=>{class t{constructor(){this.STREAM_LINK="https://streamvideo.luxnet.ua/luxcam/index.m3u8",this.pd=p(y)}async ngAfterViewInit(){this.pd.isBrowser&&(await this.loadStyle(),this.loadScript())}ngOnDestroy(){this.player&&this.player.dispose()}createVideo(){let o=window.videojs;this.player=o(this.target.nativeElement,{fill:!0,aspectRatio:"16:9",controls:!0,autoplay:!0,preload:"auto",html5:{vhs:{withCredentials:!1,overrideNative:!0,lowLatencyMode:!0,experimentalBufferBasedABR:!0,useDevicePixelRatio:!0}},sources:[{src:this.STREAM_LINK,type:"application/x-mpegURL"}]})}loadStyle(){return new Promise((o,e)=>{let n="../../../../assets/lib/video-js.css",a=document.createElement("link");a.rel="stylesheet",a.href=n,a.onload=()=>o(),a.onerror=()=>e(`Failed to load CSS: ${n}`),document.head.appendChild(a)})}loadScript(){rt("../../../../assets/lib/vjs.zencdn.net_8.3.0_video.min.js","high").then(()=>{this.createVideo()})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=m({type:t,selectors:[["app-online-player"]],viewQuery:function(e,n){if(e&1&&Q(Mt,7),e&2){let a;G(a=K())&&(n.target=a.first)}},decls:3,vars:0,consts:[["target",""],[1,"wrapper"],["id","videoPlayer","controls","","playsinline","","autoplay","","muted","",1,"video-js"]],template:function(e,n){e&1&&(L(0,"div",1),V(1,"video",2,0),$())},styles:[".wrapper[_ngcontent-%COMP%]{position:relative;aspect-ratio:16/9;width:100%}video[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}"],changeDetection:0})}}return t})();var gt=(()=>{class t{constructor(){this.http=p(Y)}on(){return this.http.get(`${D.apiBase}/online-stream/on`)}off(){return this.http.get(`${D.apiBase}/online-stream/off`)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vt=()=>({text:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u0438",textRu:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u0438"}),wt=()=>({text:"\u0412\u0438\u043A\u043B\u044E\u0447\u0438\u0442\u0438",textRu:"\u0412\u0438\u043A\u043B\u044E\u0447\u0438\u0442\u0438"});function Ot(t,O){t&1&&l(0,"app-loader")}function Pt(t,O){if(t&1){let o=z();s(0,"app-rectangle-button",2),B("click",function(){P(o);let n=M();return S(n.switch(n.StreamCommands.ON))}),c(),s(1,"app-rectangle-button",3),B("click",function(){P(o);let n=M();return S(n.switch(n.StreamCommands.OFF))}),c()}t&2&&(r("options",h(2,vt)),i(),r("options",h(3,wt)))}function St(t,O){if(t&1&&(s(0,"div",1),U(1),c()),t&2){let o=M();i(),W(o.error())}}var ht=(()=>{class t{constructor(){this.onlineStreamService=p(gt),this.loading=d(!1),this.error=d(null),this.StreamCommands=Ct}switch(o){this.loading()||(this.loading.set(!0),this.error.set(null),this.onlineStreamService[o]().pipe(A(2e3),R(1),N(e=>(this.loading.set(!1),this.error.set(JSON.stringify(e.error.message)),E))).subscribe(()=>{this.loading.set(!1)}))}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=m({type:t,selectors:[["app-buttons"]],decls:4,vars:2,consts:[[1,"buttons"],[1,"error"],[1,"on",3,"click","options"],[1,"off",3,"click","options"]],template:function(e,n){e&1&&(s(0,"div",0),f(1,Ot,1,0,"app-loader")(2,Pt,2,4),c(),f(3,St,2,1,"div",1)),e&2&&(i(),g(n.loading()?1:2),i(2),g(n.error()?3:-1))},dependencies:[mt,ct],styles:["[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:20px;width:100%;align-items:center;justify-content:center;padding:0 20px 20px}[_nghost-%COMP%]   .error[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:red;margin-top:-10px;margin-bottom:10px}[_nghost-%COMP%]  .on{background-color:#008d41!important}[_nghost-%COMP%]  .on p{color:#fff!important}"],changeDetection:0})}}return t})(),Ct=(function(t){return t.ON="on",t.OFF="off",t})(Ct||{});var bt=()=>({marginBottom:"20px",display:"block"}),jt=t=>[t];function Dt(t,O){t&1&&l(0,"app-buttons")}var _t=(()=>{class t{constructor(o,e,n,a){this.menuService=o,this.colorService=e,this.djService=n,this.pageDataService=a,this.pd=p(y),this.logged=p(at).isUserLogged(),this.showButtons=d(this.pd.isBrowser&&this.logged),this.colors=X.colors,this.menu$=this.menuService.getMenuByTag(k.RADIO_MENU_TAG_ID),this.gjList$=this.djService.getDjList(),this.BlocksTranslations=pt,this.of=I,this.socials=it,this.MusicConstants=k,this.CommonTranslations=st,this.colorService.setCurrentColor(this.colors.primary),this.pageDataService.getStaticPageData(tt.PROGRAM_WEBCAM)}static{this.\u0275fac=function(e){return new(e||t)(u(nt),u(lt),u(dt),u(Z))}}static{this.\u0275cmp=m({type:t,selectors:[["app-online"]],standalone:!1,decls:12,vars:17,consts:[[3,"showProgress"],[1,"container-branding","px-2"],[3,"menu$"],[3,"ngStyle"],[1,"wrapper"],[1,"other-news-wrapper",3,"title","hideSideBorders"],[3,"djList$"],["appOtherNewsInfinite","",1,"px-5","pt-5",3,"tagIds"]],template:function(e,n){e&1&&(s(0,"app-border-wrapper",0)(1,"section",1),l(2,"app-tag-menu",2)(3,"app-online-player",3),f(4,Dt,1,0,"app-buttons"),s(5,"div",4)(6,"app-border-wrapper",5),b(7,"translation"),l(8,"app-dj-block",6),c(),s(9,"app-border-wrapper",5),b(10,"translation"),l(11,"section",7),c()()()()),e&2&&(r("showProgress",!1),i(2),r("menu$",n.menu$),i(),r("ngStyle",h(14,bt)),i(),g(n.showButtons()?4:-1),i(2),r("title",j(7,10,n.BlocksTranslations.luxAnnouncers))("hideSideBorders",!0),i(2),r("djList$",n.gjList$),i(),r("title",j(10,12,n.BlocksTranslations.newsBlockTitle))("hideSideBorders",!0),i(2),r("tagIds",J(15,jt,n.MusicConstants.DJ_TAG_ID)))},dependencies:[q,et,w,ut,v,ft,ht,ot],styles:["[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:20px;padding-bottom:80px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .online-player[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:20px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-video-button[_ngcontent-%COMP%]{margin:20px;transform:scale(1.5)}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .social-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:20px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-item-list[_ngcontent-%COMP%]{margin-top:-40px;width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .facebook-comments[_ngcontent-%COMP%]{min-height:777p
1x;background-color:#fff;padding:20px}[_nghost-%COMP%]   .info-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:5px}[_nghost-%COMP%]   .info-group[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]{text-transform:lowercase;color:#b15959;font-size:14px;line-height:21px}[_nghost-%COMP%]   .info-group[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}@media(max-width:768px){[_nghost-%COMP%]   app-online-player[_ngcontent-%COMP%]{width:calc(100% + 30px);margin-left:-15px;margin-right:-15px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .social-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;column-gap:10px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   .other-news-wrapper[_ngcontent-%COMP%]{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-item-list[_ngcontent-%COMP%]{margin-top:-20px;width:calc(100% + 20px);margin-left:-10px;margin-right:-10px}}[_nghost-%COMP%]     app-socials-list{column-gap:15px}[_nghost-%COMP%]     app-socials-list app-social-item{--size: 36px}[_nghost-%COMP%]     app-item-list .title{background-color:#ffd3d6!important}@media(max-width:768px){[_nghost-%COMP%]     app-song-page-container .image-block{grid-area:1/1/2/-1!important}}"],changeDetection:0})}}return t})();var Tt=[{path:"",component:_t}],xt=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=x({type:t})}static{this.\u0275inj=_({imports:[T.forChild(Tt),T]})}}return t})();var Ze=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=x({type:t})}static{this.\u0275inj=_({imports:[H,xt,w,v]})}}return t})();export{Ze as OnlineModule};
2/**i18n:b952e75ab23741d25f680fedfc6f30d8ba4a08f86eea995ae72f1e104606fbd9*/

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.