PageSourceSearch

https://atvbl.rs/chunk-KDYMGS5F.js

js atvbl.rs collected 2026-09-25 05:02:34 UTC 4,350 bytes, 1 lines download raw bytes

1import{a as O}from"./chunk-EGBNLFE2.js";import{e as F,j as N}from"./chunk-FGYOUMF5.js";import{g as I,o as E,p as M,s as B}from"./chunk-KRFUAPUC.js";import{Ab as u,Bb as A,Bc as y,Cc as l,Db as _,Dc as d,Eb as C,Ec as L,Fb as f,Gb as a,Hb as r,Oc as h,Pb as w,Va as n,_b as S,a as b,b as v,bc as c,ca as P,da as T,ib as $,nc as p,oc as k,pc as s,yb as m}from"./chunk-DBJGGNDI.js";var H=(t,i,e,o)=>[t,i,e,o],j=(t,i)=>i.id;function V(t,i){if(t&1){let e=w();a(0,"li",5),S("click",function(){let g=P(e).$implicit,x=c();return T(x.changeTab(g.id));}),a(1,"p",6),p(2),l(3,"cirLatString"),r()();}if(t&2){let e=i.$implicit;f("ngClass",e.active?"bg-venetian-red":"bg-silver-chalice"),n(2),k(d(3,2,e.name));}}function q(t,i){if(t&1&&(a(0,"a",8)(1,"div",9)(2,"div",10)(3,"p",11),p(4),r()(),a(5,"div",12)(6,"h2",13),p(7),l(8,"cirLatString"),r()()()()),t&2){let e=i.$implicit,o=i.$index;f("routerLink",y(5,H,e.category.parent?"/"+e.category.parent.slug:"",e.category.slug,e.slug,e.id)),n(4),s(" ",o+1," "),n(3),s(" ",d(8,3,e.title)," ");}}function z(t,i){if(t&1&&(a(0,"div",7,0),_(2,q,9,10,"a",8,j),r()),t&2){let e=c();n(2),C(e);}}function R(t,i){if(t&1&&m(0,z,4,0,"div",7),t&2){let e=c();u(e.tabs[1].active?0:-1);}}function G(t,i){if(t&1&&(a(0,"a",8)(1,"div",15)(2,"div",16)(3,"p",17),p(4),l(5,"date"),r(),a(6,"p",18),p(7),l(8,"date"),r()(),a(9,"div",12)(10,"h2",13),p(11),l(12,"cirLatString"),r()()()()),t&2){let e=i.$implicit;f("routerLink",y(12,H,e.category.parent?"/"+e.category.parent.slug:"",e.category.slug,e.slug,e.id)),n(4),s(" ",L(5,4,e.published_at,"HH")," "),n(3),s(" ",L(8,7,e.published_at,"mm")," "),n(4),s(" ",d(12,10,e.title)," ");}}function J(t,i){if(t&1&&(a(0,"div",14,1),_(2,G,13,17,"a",8,j),r()),t&2){let e=c();n(2),C(e);}}function K(t,i){if(t&1&&m(0,J,4,0,"div",14),t&2){let e=c();u(e.tabs[0].active?0:-1);}}var D=class t{constructor(){this.latestArticles$=h.required();this.trendingArticles$=h.required();this.tabs=[{active:!0,name:"\u041D\u0430\u0458\u043D\u043E\u0432\u0438\u0458\u0435",id:0},{active:!1,name:"\u041D\u0430\u0458\u0447\u0438\u0442\u0430\u043D\u0438\u0458\u0435",id:1}];}changeTab(i){this.tabs=this.tabs.map((e,o)=>o===i?v(b({},e),{active:!0}):v(b({},e),{active:!1}));}static{this.ɵfac=function(e){return new(e||t)();};}static{this.ɵcmp=$({type:t,selectors:[["app-card-latest-popular"]],hostAttrs:[1,"order-last"],inputs:{latestArticles$:[1,"latestArticles$"],trendingArticles$:[1,"trendingArticles$"]},decls:8,vars:6,consts:[["popularList",""],["latestList",""],[1,"flex","w-full","tabs"],[1,"font-medium","flex-1","inline-block","py-3","uppercase","items-center","cursor-pointer","transition-colors","text-center","text-lg","text-white",3,"ngClass"],[1,"container","bg-porcelain","rounded-b-md","py-[21px]","mb-10"],[1,"font-medium","flex-1","inline-block","py-3","uppercase","items-center","cursor-pointer","transition-colors","text-center","text-lg","text-white",3,"click","ngClass"],[1,""],[1,"grid","gap-y-5","lg:gap-y-2","2xl:gap-y-5"],[3,"routerLink"],[1,"flex","gap-4","items-start"],[1,"relative","bg-venetian-red","min-w-[36px]","min-h-[36px]","rounded-sm","flex","justify-center","items-center"],[1,"text-2xl","font-bold","text-center","text-white","leading-[24px]"],[1,"col-span-2","flex","flex-col","justify-between","h-full"],[1,"text-dark-jungle-green","xl:text-[17px]","font-medium","leading-tight","sm:text-lg","sm:leading-tight","lg:leading-[1.20]","line-clamp-3","lg:line-clamp-2","2xl:line-clamp-3","hover:text-ferrari-red","transition-colors"],[1,"grid","gap-y-5","lg:gap-y-2","2xl:gap-y-5","relative"],[1,"flex","gap-5","items-start"],[1,"relative","bg-venetian-red","min-w-[36px]","min-h-[36px]","rounded-sm"],[1,"text-lg","font-bold","text-center","text-white","leading-[21px]"],[1,"text-base","text-center","text-white","leading-3.5"]],template:function(e,o){if(e&1&&(a(0,"ul",2),_(1,V,4,4,"li",3,A),r(),a(3,"div",4),m(4,R,1,1),l(5,"async"),m(6,K,1,1),l(7,"async"),r()),e&2){let g,x;n(),C(o.tabs),n(3),u((g=d(5,2,o.trendingArticles$()))?4:-1,g),n(2),u((x=d(7,4,o.latestArticles$()))?6:-1,x);}},dependencies:[B,I,N,F,E,M,O],styles:[".tabs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{border-radius:6px 0 0}.tabs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-radius:0 6px 0 0}"]});}};export{D as a};/**i18n:99d4cc7923e3f61b7732679dbc1d188da91bbe6f587345f937d6b25b536e1ed0*/

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.