PageSourceSearch

https://1tv.am/build/assets/Index-BpkTh_0X.js

js 1tv.am collected 2026-09-24 22:07:16 UTC 19,388 bytes, 9 lines download raw bytes

1import{D as e,E as t,Ht as n,On as r,Zn as i,_ as a,b as o,bt as s,ct as c,et as l,g as u,k as d,mt as f,o as p,qt as m,tr as h,v as g,vn as _,wt as v,xn as y,xt as b,y as x}from"./runtime-core.esm-bundler-DdjWvPex.js";import{j as S,o as C,r as w,s as T}from"./dist-CShv8PC1.js";import{n as E}from"./const-DDI0M5iB.js";import{o as D,x as O}from"./dist-BAqOrWxC.js";import{C as k,S as A,T as j,n as M,w as N,x as ee,y as P}from"./app-B02XiLEu.js";import{t as te}from"./useApi-BKgfSVlt.js";import{t as F}from"./CardImage-Bo0GB3b2.js";import{t as I}from"./CommonSection-CD2SPcNr.js";import{t as ne}from"./SeoDefault-DGX6eZt_.js";import{t as L}from"./CommonHeading-D5hCx5Fq.js";import{t as R}from"./CommonTime-C3zcwJEJ.js";import{t as re}from"./CommonVideoBlock-Dhis1PZT.js";import{t as ie}from"./CardHorizontal-DMeUHRID.js";import{t as z}from"./embla-carousel-vue.esm-SWr9LdH1.js";import{t as ae}from"./CommonVideoCaption-Ccm22Zla.js";import{t as oe}from"./CommonChannels-BUvv1Hw0.js";import{n as B}from"./schedule-Cvg9tiA6.js";import{t as V}from"./CommonLive-DJpg_Mca.js";var H={class:`container`},U={class:`flex xw`},W=d({__name:`HomeFeed`,props:{feed:{}},setup(n){let[i]=z(P());return(c,l)=>(f(),g(I,{class:`ef pp zb`,bottom:``,compact:``},{default:m(()=>[a(`div`,H,[e(L,{class:`flex xp ue uw ml df`},{default:m(()=>[t(h(r(N)(`home.feed_title`))+` `,1),e(r(w),{class:`zk kj uw lh jp xn te`,href:r(j)(`/news`)},{default:m(()=>[t(h(r(N)(`home.feed_all`))+` `,1),e(M,{name:`ExternalLinkIcon`,class:`ew mr`})]),_:1},8,[`href`])]),_:1}),a(`div`,{ref_key:`emblaRef`,ref:i},[a(`div`,U,[(f(!0),o(p,null,s(n.feed.hits,e=>(f(),g(ie,{key:e.id,class:`caa mr sd`,article:e},null,8,[`article`]))),128))])],512)])]),_:1}))}}),G={active:!0,breakpoints:{},delay:4e3,instant:!1,defaultInteraction:!0,stopOnLastSnap:!1,rootNode:null};function K(e,t){let n=e.snapList();return typeof t==`number`?n.map(()=>t):t(n,e)}function q(e,t){let n=e.rootNode();return t&&t(n)||n}function J(e={}){let t,n,r=!1,i=!1,a,o=null,s=null,c=0,l=!1,u=!1,d=!1,f=!1,p=!1,m=w;function h(){return r||i?!1:t.active}function g(o,s){n=o;let{mergeOptions:c,optionsAtMedia:l}=s,u=c(c(G,J.globalOptions),e);if(i=!1,t=l(u),r=n.internalEngine().isSsr,!h()||n.snapList().length<=1)return;d=t.instant,a=K(n,t.delay),m=t.defaultInteraction?w:T;let{eventStore:f,nodeHandler:p}=n.internalEngine(),{ownerDocument:g}=p,_=q(n,t.rootNode);g&&f.add(g,`visibilitychange`,S),n.on(`pointerdown`,m),n.on(`pointerup`,m),n.on(`slidefocus`,m),f.add(_,`mouseenter`,e=>m(n,e,e.type)),f.add(_,`mouseleave`,e=>m(n,e,e.type)),f.add(n.containerNode(),`focusout`,e=>m(n,e,`slidefocusout`))}function _(){h()&&(n.off(`pointerdown`,m).off(`pointerup`,m).off(`slidefocus`,m),x(),i=!0,l=!1)}function v(){let{ownerWindow:e}=n.internalEngine().nodeHandler;if(!e)return;let t=new Date().getTime(),r=n.createEvent(`autoplay:timerset`,{startTime:t});e.clearTimeout(c),c=e.setTimeout(j,M()),s=t,r.emit()}function y(){let{ownerWindow:e}=n.internalEngine().nodeHandler;if(!e)return;let t=new Date().getTime(),r=n.createEvent(`autoplay:timerstopped`,{stopTime:t});e.clearTimeout(c),c=0,s=null,r.emit()}function b(){if(h()){if(C()){u=!0;return}l||(l=!0,n.createEvent(`autoplay:play`,null).emit()),v()}}function x(){h()&&(l&&(l=!1,n.createEvent(`autoplay:stop`,null).emit()),y())}function S(){if(C())return u=l,x();u&&b()}function C(){let{ownerDocument:e}=n.internalEngine().nodeHandler;return e?e.visibilityState===`hidden`:!1}function w(e,t,n){let r=t.type,i=n||r;i===`slidefocus`&&x(),i===`pointerdown`&&x()}function T(e,t,r){let i=t.type,a=r||i;a===`mouseenter`&&(f=!0),a===`mouseleave`&&(f=!1),a===`pointerdown`&&(p=!0),a===`pointerup`&&(p=!1),n.createEvent(`autoplay:interaction`,{interaction:a,originalEvent:t,isMouseOver:f,isPointerDown:p}).emit()}function E(e){d=e??d,b()}function D(){l&&x()}function O(){l&&b(),o=null}function k(){l&&(o=N(),x())}function A(){return l}function j(){let{indexCurrent:e}=n.internalEngine(),r=e.clone().add(1).get(),i=n.snapList().length-1,a=t.stopOnLastSnap&&r===i,s=n.createEvent(`autoplay:select`,{targetSnap:n.canGoToNext()?r:0,sourceSnap:e.get()});if(n.canGoToNext()?n.goToNext(d):n.goTo(0,d),s.emit(),o=null,a)return x();b()}function M(){return o||a[n.selectedSnap()]}
1function N(){if(!h()||!s)return null;let e=new Date().getTime()-s;return M()-e}return{name:`autoplay`,options:e,init:g,destroy:_,play:E,stop:D,reset:O,pause:k,isPlaying:A,timeUntilNext:N}}J.globalOptions=void 0;var se={active:!0,breakpoints:{}};function Y(e,t,n){return Math.min(Math.max(e,t),n)}function X(e){return typeof e==`number`&&!isNaN(e)}function Z(e={}){let t,n,r=!1,i=!1,a=[],o,s=0,c=0,l=0,u=!1,d,f;function p(){return r||i?!1:t.active}function m(s,c){n=s;let{mergeOptions:l,optionsAtMedia:m}=c,h=l(l(se,Z.globalOptions),e);if(i=!1,t=m(h),r=n.internalEngine().isSsr,!p())return;let x=n.selectedSnap(),{scrollBody:C,containerRect:w,axis:T}=n.internalEngine();o=Y(T.getSize(w)*.75,200,500),u=!1,a=n.snapList().map((e,t)=>+(t===x)),d=C.settled,f=n.scrollProgress,C.settled=k,n.scrollProgress=_,n.on(`select`,b).on(`slidefocus`,g).on(`pointerdown`,y).on(`pointerup`,v),S(),g()}function h(){if(!p())return;let{scrollBody:e}=n.internalEngine();e.settled=d,n.scrollProgress=f,n.off(`select`,b).off(`slidefocus`,g).off(`pointerdown`,y).off(`pointerup`,v),n.slideNodes().forEach(e=>{let t=e.style;t.opacity=``,t.pointerEvents=``}),i=!0}function g(){w(n.selectedSnap(),1)}function _(){return l}function v(){u=!1}function y(){u=!1,s=0,c=0}function b(){let e=n.internalEngine().scrollBody.duration();c=+!e,u=!0,e||g()}function x(e){let{axis:t}=n.internalEngine();return`translate${t.scroll.toUpperCase()}(${t.direction(e)}px)`}function S(){let{translate:e,slideTranslates:t}=n.internalEngine();[e,...t].forEach(e=>{e.clear(),e.toggleActive(!1)}),n.containerNode().style.transform=`translate(0px,0px)`}function C(e){let{scrollSnaps:t,location:r,target:i}=n.internalEngine();!X(e)||a[e]<.5||(r.set(t[e]),i.set(r))}function w(e,t){n.snapList().forEach((r,i)=>{let o=Math.abs(t),s=a[i],c=i===e,l=Y(c?s+o:s-o,0,1);a[i]=l;let d=c&&u,f=n.previousSnap();d&&(a[f]=1-l),c&&E(e,l),T(i)})}function T(e){let{scrollSnaps:t,containerRect:r,scrollSnapList:i}=n.internalEngine(),o=i.slidesBySnap[e],s=a[e];o.forEach(i=>{let a=n.slideNodes()[i].style,o=parseFloat(s.toFixed(2)),c=o>0,l=x(c?t[e]:r.width+2);c&&(a.transform=l),a.opacity=o.toString(),a.pointerEvents=s>.5?`auto`:`none`,c||(a.transform=l)})}function E(e,t){let{indexCurrent:r,dragHandler:i,scrollSnaps:a}=n.internalEngine(),o=i.pointerDown(),c=1/(a.length-1),u=e,d=o?n.selectedSnap():n.previousSnap();if(o&&u===d){let e=Math.sign(s)*-1;u=d,d=r.clone().set(d).add(e).get()}l=d*c+(u-d)*c*t}function D(){let{dragHandler:e,indexCurrent:t,scrollBody:r}=n.internalEngine(),i=n.selectedSnap();if(!e.pointerDown())return i;let a=Math.sign(r.velocity()),o=Math.sign(s),c=t.clone().set(i).add(a*-1).get();return!a||!o?null:o===a?c:i}function O(e){let{dragHandler:t,scrollBody:n}=e.internalEngine(),r=t.pointerDown(),i=n.velocity(),l=n.duration(),u=D(),d=!X(u);if(r){if(!i)return;s+=i,c=Math.abs(i/o),C(u)}if(!r){if(!l||d)return;c+=(1-a[u])/l,c*=.68}d||w(u,c)}function k(){let{target:e,location:t}=n.internalEngine(),r=e.minus(t),i=Math.abs(r)>=1,o=D(),s=!X(o);return O(n),s||i?!1:a[o]>.999}function A(e,t,r){let{active:i}=e,{slidesBySnap:a}=n.internalEngine().scrollSnapList,o=n.selectedSnap(),s=`${t} ${r}{opacity:${+!i};pointer-events:${i?`none`:`auto`};}`,c=a[o].reduce((e,n)=>e+`${t} ${r}:nth-child(${n+1}){opacity:1;pointer-events:auto;}`,``);return i?s+c:s}function j(n,i=`> *`){if(!r)return``;let a=e.breakpoints||{};return A(t,n,i)+Object.keys(a).reduce((e,t)=>e+`@media ${t}{${A(a[t],n,i)}}`,``)}return{name:`fade`,options:e,init:m,destroy:h,ssrStyles:j}}Z.globalOptions=void 0;var ce={class:`flex ej hj ri lj kf cf`},le=[`src`,`onPlaying`,`onWaiting`,`onError`,`onEnded`],ue={key:2,class:`absolute yn zu ad mz`},de={class:`container`},fe={class:`br`},pe=d({__name:`HomeHero`,props:{slider:{}},setup(e){let t=_(!1),u=_(0),d=_(!1),y=_(!1),b=_(null),{start:S}=O(()=>{y.value=!0},2e3,{immediate:!1}),[C,T]=z({loop:!0},[J({delay:8e3}),Z()]);D(`load`,()=>{t.value=!0},{once:!0}),n(T,(e,t,n)=>{if(!e)return;function r(){e&&(u.value!==e.selectedSnap()&&(u.value=e.selectedSnap(),d.value=!1,y.value=!1,S()),d.value?e.plugins().autoplay?.stop():e.plugins().autoplay?.play())}function i(){b.value!==u.value&&(b.value=null)}e.on(`select`,r).on(`reinit`,r).on(`settle`,i),r(),n(()=>{e.off(`select`,r).off(`reinit`,r).off(`settle`,i)})});function E(e,t){e===u.value&&(d.value=t,t?T.value?.plugins().autoplay?.stop():T.value?.plugins().autoplay?.play())}function k(e){if(e!==u.value)return;b.value=e,d.value=!1;let t=T.value;t?.canGoToNext()?t.goToNext():t?.goTo(0),t?.plugins().autoplay?.play()}return c(()=>{t.value=document.readyState===`complete`,S()}),(n,c)=>(f(),o(`section`,{class:`ef wj et`,ref_key:`emblaRef`,ref:C},[a(`div`,ce,[(f(!0),o(p,null,s(e.slider,(e,n)=>(f(),g(v(e.url?e.external?`a`:r(w):`div`),{key:e.id,class:`relative jw mr`,href:e.url||void 0,target:e.external?`_blank`:void 0},{default:m(()=>[e.image?(f(),o(`img`,l({key:0,class:`xo uj`},{ref_for:!0},r(A)(e.image,e.title??``)),null,16)):x(``,!0),t.value&&(n===u.value||n===b.value)&&e.coverVideo?(f(),o(`video`,{key:1,class:i([n===b.value||n===u.value&&y.value&&d.value?`ol`:`so`,`sb absolute qs xo uj fc gj`]),src:e.coverVideo,autoplay:``,muted:``,playsinline:``,preload:`auto`,"aria-hidden":`true`,onPlaying:e=>E(n,!0),onWaiting:e=>E(n,!1),onError:e=>E(n,!1),onEnded:e=>k(n)},null,42,le)):x(``,!0),e.title?(f(),o(`div`,ue,[a(`div`,de,[a(`p`,fe,h(e.title),
11)])])):x(``,!0)]),_:2},1032,[`href`,`target`]))),128))])],512))}}),me={class:`container`},he=[`datetime`],ge={class:`hj zr lj`},_e={class:`xy jp xn`},ve=d({__name:`HomeLive`,props:{activeChannel:{},schedule:{}},setup(t){function n(e){T.get(j(``),{schedule:e},{only:[`activeChannel`,`schedule`],preserveState:!0,preserveScroll:!0,preserveUrl:!0})}return(i,o)=>(f(),g(I,{class:`pp zb`,compact:``},{default:m(()=>[a(`div`,me,[e(oe,{"model-value":t.activeChannel,"onUpdate:modelValue":n,class:`cy xp us ob we`},{default:m(()=>[a(`time`,{class:`flex co uw kz at`,datetime:r(B)().format(`YYYY-MM-DD`)},[a(`span`,ge,h(r(B)().format(`DD`)),1),a(`span`,_e,h(r(B)().format(`MMMM / dddd`)),1)],8,he)]),_:1},8,[`model-value`]),e(V,{"active-channel":t.activeChannel,schedule:t.schedule},null,8,[`active-channel`,`schedule`])])]),_:1}))}}),ye={class:`flex gv xp mz tz`},be={class:`xn le`},xe=d({__name:`CardImageBackground`,props:{headline:{},href:{},workspace:{}},setup(t){return(n,i)=>(f(),g(v(t.href?`a`:r(w)),{class:`flex xp ef rl hh hb`,href:t.href??r(j)(`/video/${t.headline.article_id}`)},{default:m(()=>[e(re,{class:`wt`,article:t.headline,workspace:t.workspace},null,8,[`article`,`workspace`]),a(`div`,ye,[a(`p`,be,h(t.headline.title),1),e(R,{class:`au fz ke`,time:typeof t.headline.published_at==`number`?t.headline.published_at*1e3:t.headline.published_at},null,8,[`time`])])]),_:1},8,[`href`]))}}),Se={class:`flex gv xp raa nv`},Ce={class:`vu xn vm`},we={key:0,class:`ly tk je`},Te=d({__name:`CardTextBackground`,props:{headline:{},href:{}},setup(t){return(n,i)=>(f(),g(v(t.href?`a`:r(w)),{class:`flex xp ef rl hh hb`,href:t.href??r(j)(`/video/${t.headline.article_id}`)},{default:m(()=>[a(`div`,Se,[a(`p`,Ce,h(t.headline.title),1),t.headline.description?(f(),o(`p`,we,h(t.headline.description),1)):x(``,!0),e(R,{class:`au gz ke`,time:t.headline.published_at},null,8,[`time`])])]),_:1},8,[`href`]))}}),Ee={class:`container`},De=[`href`],Oe={class:`common-grid`},ke=[`href`],Ae={class:`flex gv xp raa nv`},je=[`onClick`],Me={key:1,class:`flex cu mr kj cg yj border xf pp vu xn ek zb rc`},Ne={class:`yt`},Pe={class:`block truncate vu xn`},Fe={key:0,class:`block truncate wu`},Ie={class:`sy vy flex kaa kj vw ek ws xs`},Le={class:`tk`},Re=d({__name:`HomeNews`,props:{headlines:{}},setup(n){let i=C();function c(e){return j(`/news/${e}`,i.props.subproject.url)}function u(e){window.open(e,`_blank`)}return(d,_)=>(f(),g(I,{class:`sp pp zb`,top:``,bottom:``},{default:m(()=>[a(`div`,Ee,[e(L,{class:`flex xp ue uw ml df`},{default:m(()=>[t(h(r(N)(`home.news_title`))+` `,1),a(`a`,{class:`zk kj uw lh jp xn te`,href:r(j)(`/news`,r(i).props.subproject.url),target:`_blank`},[t(h(r(N)(`home.feed_all`))+` `,1),e(M,{name:`ExternalLinkIcon`,class:`ew mr`})],8,De)]),_:1}),a(`div`,Oe,[(f(!0),o(p,null,s(n.headlines,t=>(f(),o(p,{key:t.id},[r(ee)(t)?(f(),g(xe,{key:0,headline:t,href:c(t.article_id),workspace:r(i).props.subproject.workspace,target:`_blank`},null,8,[`headline`,`href`,`workspace`])):t.authors?.[0]?(f(),o(`a`,{key:1,class:`flex xp ef rl hh hb`,target:`_blank`,href:c(t.article_id)},[a(`div`,Ae,[a(`button`,{type:`button`,class:`flex kj vw kp te`,onClick:S(e=>u(c(t.authors[0].slug)),[`prevent`,`stop`])},[t.authors[0].avatar?(f(),o(`img`,l({key:0,class:`cu mr yj border xf uj ol rc`},{ref_for:!0},r(A)(t.authors[0].avatar,t.authors[0].name,`240`)),null,16)):(f(),o(`span`,Me,h(t.authors[0].name.charAt(0)),1)),a(`span`,Ne,[a(`span`,Pe,h(t.authors[0].name),1),t.authors[0].description?(f(),o(`span`,Fe,h(t.authors[0].description),1)):x(``,!0)])],8,je),a(`div`,Ie,[_[0]||=a(`span`,{class:`zx gv ih`},null,-1),e(M,{class:`iv vaa mr ek`,name:`QuotesIcon`}),_[1]||=a(`span`,{class:`zx gv ih`},null,-1)]),a(`p`,Le,h(t.title),1),e(R,{class:`au gz ke`,time:t.published_at},null,8,[`time`])])],8,ke)):(f(),g(Te,{key:2,headline:t,href:c(t.article_id),target:`_blank`},null,8,[`headline`,`href`]))],64))),128))])])]),_:1}))}}),ze={class:`ny sr flex cg`},Q=d({__name:`CommonSectionLink`,props:{href:{}},setup(t){return(n,i)=>(f(),o(`div`,ze,[e(r(w),{class:`common-gradient rg nx wz tr pu wu xn ag jw ap dm`,href:t.href},{default:m(()=>[b(n.$slots,`default`)]),_:3},8,[`href`])]))}}),Be={class:`container`},Ve={class:`complex-shows-grid`},$=d({__name:`HomeShows`,props:{shows:{}},setup(n){let c=n,d=[{className:`bj bi ei lg`,imageVariant:`tall`},{className:`pm cj ci di lg`,imageVariant:`wide`},{className:`bj ai di lg`,imageVariant:`square`},{className:`bj ai di lg`,imageVariant:`square`},{className:`pm cj ci di lg`,imageVariant:`wide`},{className:`pm cj ci di lg`,imageVariant:`wide`},{className:`bj ai di lg`,imageVariant:`square`},{className:`pm dj bi di lg`,imageVariant:`wide`},{className:`bj ai di lg`,imageVariant:`square`},{className:`bj bi ei lg`,imageVariant:`tall`},{className:`pm cj ci di lg`,imageVariant:`wide`},{className:`bj ai di lg`,imageVariant:`square`},{className:`pm cj ci di lg`,imageVariant:`wide`}];function _(e){return d[e%d.length]}function v(e,t){let n=e.horizontalSmallImage??e.horizontalImage;return t===`tall`?e.verticalImage??n??e.logoImage:t===`wide`?n??e.verticalImage??e.logoImage:e.logoImage??n??e.verticalImage}let y=u(()=>c.shows.map((e,t)=>{let n=_(t);return{show:e,className:n.className,image:v(e,n.imageVariant)}}));return(n,c)=>(f(),g(I,{class:`sp pp zb`,top:``,bottom:``},{default:m(()=>[a(`div`,Be,[e(L,null,{default:m(()=>[t(h(r(N)(`programs.title`)),1)]),_:1}),a(`div`,Ve,[(f(!0),o(p,null,s(y.value,e=>(f(),g(r(w),{key:e.show.id,class:i([e.className,e.image?`block ef`:`flex kj cg border jh wb mz dm hj vu er nl`,`yt hn jg dh`]),href:r(j)(`/program/${e.show.slug}`)},{default:m(()=>[e.image?(f(),o(`img`,l({key:0,class:`xo uj`},{ref_for:!0},r(A)(e.image,e.show.title)),null,16)):(f(),o(p,{key:1},[t(h(e.show.title),1)],64))]),_:2},1032,[`class`,`href`]))),128))]),e(Q,{href:r(j)(`/programs`)},{default:m(()=>[t(h(r(N)(`home.shows_all`)),1)]),_:1},8,[`href`])])]),_:1}))}}
1),He=[`aria-busy`],Ue=[`src`,`title`],We=[`disabled`],Ge=d({__name:`HomeStudioFeatured`,props:{article:{},overlap:{type:Boolean}},emits:[`play`],setup(t,{emit:n}){let s=t,c=n,u=y(null),d=te(`article-video`,{id:s.article.article_id});function m(){d.processing||u.value||d.submit({onSuccess:({path:e})=>{e&&(u.value=`${e}${e.includes(`?`)?`&`:`?`}autoplay=1`,c(`play`))}})}return(n,s)=>(f(),o(`div`,{class:`relative ej ef jn rf ah yc`,"aria-busy":r(d).processing},[u.value?(f(),o(`iframe`,{key:0,class:`xo`,src:u.value,title:t.article.title,allow:`
2        accelerometer;
3        autoplay;
4        clipboard-write;
5        encrypted-media;
6        gyroscope;
7        picture-in-picture;
8        web-share;
9      `,referrerpolicy:`strict-origin-when-cross-origin`,allowfullscreen:``},null,8,Ue)):(f(),o(p,{key:1},[a(`button`,{class:`block xo`,type:`button`,disabled:r(d).processing,onClick:m},[t.article.thumbnail?(f(),o(`img`,l({key:0,class:`xo uj`},r(A)(t.article.thumbnail,t.article.title)),null,16)):x(``,!0)],8,We),e(ae,{class:i([`absolute ao faa ak oj zi`,t.overlap?`un zj hc`:`vp`]),article:t.article,loading:r(d).processing,onPlay:m},null,8,[`class`,`article`,`loading`])],64))],8,He))}}),Ke={class:`ef`},qe={class:`container`},Je={key:0,class:`complex-program-mask sb absolute fv tp aq bs zc jd rm hk lp wa ja`,style:{"--complex-program-mask-direction":`to top`},"aria-hidden":`true`},Ye={class:`flex ww ss gg cs`},Xe=d({__name:`HomeStudio`,props:{title:{},articles:{}},setup(n){let r=n,c=u(()=>r.articles[0]),l=y(null),d=u(()=>l.value===c.value?.article_id),_=u(()=>r.articles.slice(1)),[v]=z(P(`lg`));return(r,u)=>(f(),o(`div`,Ke,[e(I,{class:`sp pp zb`,top:``,bottom:``},{default:m(()=>[a(`div`,qe,[e(L,null,{default:m(()=>[t(h(n.title),1)]),_:1}),c.value?(f(),g(Ge,{key:c.value.article_id,article:c.value,overlap:!!_.value.length,onPlay:u[0]||=e=>l.value=c.value.article_id},null,8,[`article`,`overlap`])):x(``,!0),_.value.length?(f(),o(`div`,{key:1,class:i([`relative eaa lz mu jt fs`,d.value?`ly dv`:`lw yo mp`])},[d.value?x(``,!0):(f(),o(`div`,Je)),a(`div`,{ref_key:`emblaRef`,ref:v,class:`relative`},[a(`div`,Ye,[(f(!0),o(p,null,s(_.value,e=>(f(),g(F,{key:e.id,class:`av yt mr pn no`,article:e},null,8,[`article`]))),128))])],512)],2)):x(``,!0)])]),_:1})]))}}),Ze={class:`container`},Qe={class:`common-grid`},$e=d({__name:`HomeVideos`,props:{videos:{}},setup(n){return(i,c)=>(f(),g(I,{class:`sp pp zb`,top:``,bottom:``},{default:m(()=>[a(`div`,Ze,[e(L,null,{default:m(()=>[t(h(r(N)(`home.videos_title`)),1)]),_:1}),a(`div`,Qe,[(f(!0),o(p,null,s(n.videos.hits,e=>(f(),g(F,{key:e.id,article:e},null,8,[`article`]))),128))]),e(Q,{href:r(j)(`/videos`)},{default:m(()=>[t(h(r(N)(`home.videos_all`)),1)]),_:1},8,[`href`])])]),_:1}))}}),et=d({__name:`Index`,props:{slider:{},studio:{},news:{},shows:{},feed:{},videos:{},activeChannel:{},schedule:{}},setup(t){let n=k(),i=`${E.url}/`,a=[{"@context":`https://schema.org`,"@type":`WebSite`,"@id":`${i}#website`,name:`Public Television of Armenia`,url:i,publisher:{"@id":n[`@id`]}},n];return(n,i)=>(f(),o(p,null,[e(ne,{title:r(N)(`seo.home`),description:r(N)(`seo.home_description`),canonical:r(j)(``),schema:a},null,8,[`title`,`description`,`canonical`]),t.slider.length?(f(),g(pe,{key:0,slider:t.slider},null,8,[`slider`])):x(``,!0),e(ve,{schedule:t.schedule,"active-channel":t.activeChannel,bottom:!t.feed.hits.length},null,8,[`schedule`,`active-channel`,`bottom`]),t.feed.hits.length?(f(),g(W,{key:1,feed:t.feed},null,8,[`feed`])):x(``,!0),t.shows.length?(f(),g($,{key:2,shows:t.shows},null,8,[`shows`])):x(``,!0),t.studio?.data.hits.length?(f(),g(Xe,{key:3,title:t.studio.title,articles:t.studio.data.hits},null,8,[`title`,`articles`])):x(``,!0),t.videos.hits.length?(f(),g($e,{key:4,videos:t.videos},null,8,[`videos`])):x(``,!0),t.news.length?(f(),g(Re,{key:5,headlines:t.news},null,8,[`headlines`])):x(``,!0)],64))}});export{et as default};

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.