PageSourceSearch

https://www.mindmegette.hu/chunk-HDFKQ4LP.js

js mindmegette.hu collected 2026-10-02 07:01:25 UTC 14,778 bytes, 1 lines download raw bytes

1import{a as H,b as Ee}from"./chunk-CXUR522O.js";import{a as De}from"./chunk-HGVHNGLX.js";import{a as Fe}from"./chunk-KZS6O6SK.js";import{a as $e}from"./chunk-PWDAV6DI.js";import"./chunk-HUQKYKG5.js";import{F as Ie,M as Be,t as Ae,y as Re}from"./chunk-J4BO2334.js";import"./chunk-GLN2RGTL.js";import"./chunk-SWQW6FMW.js";import"./chunk-T334T6J2.js";import"./chunk-VM2BOUUM.js";import"./chunk-SIMGH6JR.js";import"./chunk-Z4BFD7RI.js";import"./chunk-PXLXFBHL.js";import"./chunk-HCD627HP.js";import"./chunk-SQQY7H5O.js";import"./chunk-MOASPEFJ.js";import"./chunk-VFNER3JF.js";import"./chunk-MLNWSIEK.js";import"./chunk-SJXOZDAE.js";import"./chunk-SI5NAIFU.js";import"./chunk-EGV5NW3B.js";import"./chunk-6JTU4JE3.js";import"./chunk-VCQ26QJU.js";import"./chunk-RJTN3VFG.js";import"./chunk-3QOJX5RP.js";import"./chunk-P6CY5CKI.js";import"./chunk-HHA7M42L.js";import"./chunk-KEYWNPYY.js";import"./chunk-37MU4KYP.js";import{a as Se}from"./chunk-AKMUFMIV.js";import{b as Oe,c as ke,g as we}from"./chunk-2SOEIUT2.js";import"./chunk-4KIMCKDG.js";import"./chunk-TWDOYPI4.js";import"./chunk-CJNA2AFO.js";import{c as ge,d as Me}from"./chunk-LZT6EPDW.js";import{B as Te,r as ve}from"./chunk-2IOJX3KL.js";import{a as Pe}from"./chunk-ORBKUQY7.js";import{a as ye,m as be}from"./chunk-NUUNCR2U.js";import"./chunk-ZBWJWUPP.js";import{De as U,Je as xe,Oh as q,aa as Ce,be as fe,sa as ue,zb as he}from"./chunk-4B65WXMH.js";import{Fa as _e,Ga as L,na as me,x as pe,z as j}from"./chunk-PXTCM6VB.js";import{$b as x,Ac as D,Bb as ne,Bc as re,Cc as le,Dd as se,F as K,Kd as de,N as Y,Nc as y,Oc as W,Sb as r,Ub as l,Vc as _,Wb as B,Wc as b,X as N,Xb as $,Xc as M,Yb as F,Yc as E,Zb as m,_b as g,a as R,ac as p,b as I,da as X,ea as k,hc as ae,jc as oe,k as J,ka as Z,lb as s,lc as d,md as ce,oa as w,pa as ee,v as Q,wa as te,wb as f,xa as ie,yc as T,z as S}from"./chunk-5HA2B5KU.js";var ze=e=>({label:e}),Ve=e=>[e],O=()=>({margin:"var(--ad-margin)"});function Ge(e,n){e&1&&p(0,"app-breadcrumb",1),e&2&&m("data",W(3,Ve,W(1,ze,n.title??"")))}function Qe(e,n){if(e&1&&(g(0,"h1",4),D(1),_(2,"async"),_(3,"titleWithPage"),x()),e&2){let t,i=d(2);s(),re(E(3,3,n.title,(t=b(2,1,i.limitables$))==null?null:t.pageCurrent,!0))}}function We(e,n){e&1&&(g(0,"div",6),D(1," \xD6sszes tal\xE1lat "),g(2,"sup"),D(3),x()()),e&2&&(s(3),le("(",n.rowAllCount," db)"))}function He(e,n){if(e&1&&(p(0,"mindmegette-article-card",10),_(1,"overwritePriorityContentFlags")),e&2){let t=d().$index,i=d(3);m("data",M(1,3,n,t))("hasBackground",!0)("styleID",i.ArticleCardType.TopImageLeftAlignedCard)}}function Je(e,n){if(e&1&&(p(0,"mindmegette-recipe-card",10),_(1,"overwritePriorityContentFlags")),e&2){let t=d().$index,i=d(3);m("data",M(1,3,n,t))("hasBackground",!0)("styleID",i.RecipeCardType.TopImageLeftAlignedCard)}}function Ke(e,n){if(e&1&&(r(0,He,2,6,"mindmegette-article-card",10),r(1,Je,2,6,"mindmegette-recipe-card",10)),e&2){let t,i,o=n.$implicit,a=d(3);l((t=o.contentType!=="recipe"&&a.backendSearchResultToArticleCard(o))?0:-1,t),s(),l((i=o.contentType==="recipe"&&a.backendSearchResultToRecipeCard(o))?1:-1,i)}}function Ye(e,n){e&1&&$(0,Ke,2,2,null,null,B),e&2&&F(n)}function Ne(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function Xe(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function Ze(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function et(e,n){if(e&1&&(r(0,Ne,1,4,"kesma-advertisement-adocean",11),r(1,Xe,1,4,"kesma-advertisement-adocean",11),r(2,Ze,1,4,"kesma-advertisement-adocean",11)),e&2){let t,i,o,a=d(2);l((t=a.showDesktopAd&&(a.adverts==null||a.adverts.desktop==null?null:a.adverts.desktop.roadblock_1))?0:-1,t),s(),l((i=!a.showDesktopAd&&a.box_1_tablet)?1:-1,i),s(),l((o=a.adverts==null||a.adverts.mobile==null?null:a.adverts.mobile.mobilrectangle_1)?2:-1,o)}}function tt(e,n){if(e&1&&(p(0,"mindmegette-article-card",10),_(1,"overwritePriorityContentFlags")),e&2){let t=d().$index,i=d(4);m("data",M(1,3,n,t+6))("hasBackground",!0)("styleID",i.ArticleCardType.TopImageLeftAlignedCard)}}function it(e,n){if(e&1&&(p(0,"mindmegette-recipe-card",10),_(1,"overwritePriorityContentFlags")),e&2){let t=d().$index,i=d(4);
1m("data",M(1,3,n,t+6))("hasBackground",!0)("styleID",i.RecipeCardType.TopImageLeftAlignedCard)}}function nt(e,n){if(e&1&&(r(0,tt,2,6,"mindmegette-article-card",10),r(1,it,2,6,"mindmegette-recipe-card",10)),e&2){let t,i,o=n.$implicit,a=d(4);l((t=o.contentType!=="recipe"&&a.backendSearchResultToArticleCard(o))?0:-1,t),s(),l((i=o.contentType==="recipe"&&a.backendSearchResultToRecipeCard(o))?1:-1,i)}}function at(e,n){e&1&&$(0,nt,2,2,null,null,B),e&2&&F(n)}function ot(e,n){if(e&1&&(g(0,"div",9),r(1,at,2,0),_(2,"slice"),x()),e&2){let t,i=d();s(),l((t=E(2,1,i,6,12))?1:-1,t)}}function rt(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function lt(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function ct(e,n){e&1&&p(0,"kesma-advertisement-adocean",12),e&2&&(T(y(3,O)),m("ad",n))}function st(e,n){if(e&1&&(r(0,rt,1,4,"kesma-advertisement-adocean",11),r(1,lt,1,4,"kesma-advertisement-adocean",11),r(2,ct,1,4,"kesma-advertisement-adocean",11)),e&2){let t,i,o,a=d(2);l((t=a.showDesktopAd&&(a.adverts==null||a.adverts.desktop==null?null:a.adverts.desktop.roadblock_2))?0:-1,t),s(),l((i=!a.showDesktopAd&&a.box_2_tablet)?1:-1,i),s(),l((o=a.adverts==null||a.adverts.mobile==null?null:a.adverts.mobile.mobilrectangle_2)?2:-1,o)}}function dt(e,n){if(e&1&&p(0,"mindmegette-article-card",10),e&2){let t=d(5);m("data",n)("hasBackground",!0)("styleID",t.ArticleCardType.TopImageLeftAlignedCard)}}function pt(e,n){if(e&1&&p(0,"mindmegette-recipe-card",10),e&2){let t=d(5);m("data",n)("hasBackground",!0)("styleID",t.RecipeCardType.TopImageLeftAlignedCard)}}function mt(e,n){if(e&1&&(r(0,dt,1,3,"mindmegette-article-card",10),r(1,pt,1,3,"mindmegette-recipe-card",10)),e&2){let t,i,o=n.$implicit,a=d(4);l((t=o.contentType!=="recipe"&&a.backendSearchResultToArticleCard(o))?0:-1,t),s(),l((i=o.contentType==="recipe"&&a.backendSearchResultToRecipeCard(o))?1:-1,i)}}function _t(e,n){e&1&&$(0,mt,2,2,null,null,B),e&2&&F(n)}function gt(e,n){if(e&1&&(g(0,"div",9),r(1,_t,2,0),_(2,"slice"),x()),e&2){let t,i=d();s(),l((t=M(2,1,i,12))?1:-1,t)}}function Ct(e,n){if(e&1&&p(0,"mindmegette-pager",13),e&2){let t=d();m("allowAutoScrollToTop",!0)("hasFirstLastButton",!1)("hasSkipButton",!0)("isCountPager",!1)("isListPager",!0)("maxDisplayedPages",5)("rowAllCount",t.rowAllCount)("rowOnPageCount",t.rowOnPageCount)}}function ut(e,n){if(e&1&&r(0,Ct,1,8,"mindmegette-pager",13),e&2){let t=n;l(t&&t.pageMax>0?0:-1)}}function ht(e,n){if(e&1){let t=ae();g(0,"main",3),r(1,Qe,4,7,"h1",4),_(2,"async"),g(3,"div",5),r(4,We,4,1,"div",6),_(5,"async"),g(6,"div",7)(7,"app-search-result-sorter",8),oe("changeValue",function(o){te(t);let a=d();return ie(a.onChangeSort(o))}),x()()(),g(8,"div",9),r(9,Ye,2,0),_(10,"slice"),x(),r(11,et,3,3),r(12,ot,3,5,"div",9),r(13,st,3,3),r(14,gt,3,4,"div",9),r(15,ut,1,1),_(16,"async"),p(17,"app-external-recommendations"),x()}if(e&2){let t,i,o,a,c=n,P=d();s(),l((t=b(2,8,P.tag$))?1:-1,t),s(3),l((i=b(5,10,P.limitables$))?4:-1,i),s(5),l((o=E(10,12,c,0,6))?9:-1,o),s(2),l(c!=null&&c.length&&c.length>=4?11:-1),s(),l(c!=null&&c.length&&c.length>6?12:-1),s(),l(c!=null&&c.length&&c.length>=10?13:-1),s(),l(c!=null&&c.length&&c.length>12?14:-1),s(),l((a=b(16,16,P.limitables$))?15:-1,a)}}var z=(()=>{class e{constructor(t,i,o,a,c,P,G,A){this.cdr=t,this.adStore=i,this.seo=o,this.route=a,this.router=c,this.schemaService=P,this.adoMetaService=G,this.utilsService=A,this.environment=ge(),this.backendSearchResultToArticleCard=H,this.backendSearchResultToRecipeCard=Ee,this.ArticleCardType=ye,this.RecipeCardType=be,this.unsubscribe$=new J,this.tag$=this.route.data.pipe(S(C=>C?.data.tag),k(C=>this.setPageMeta(C))),this.searchResults$=this.route.data.pipe(S(C=>C.data.data),k(C=>{let v=C.map(h=>H(h));this.populateSidebarExcludedIds(v);let u=C?.filter(h=>h.contentType===ue.RECIPE);this.schemaService.removeStructuredData(),u?.length&&this.schemaService.insertSchema(ve(u,this.environment?.siteUrl??""))})),this.limitables$=this.route.data.pipe(S(C=>C.data.limitable)),this.sidebarExcludedIds=[]}ngOnInit(){this.initAds();let t=this.route.snapshot?.params?.tag;this.adoMetaService.set([t])}setPageMeta(t){this.limitables$.pipe(N()).subscribe(i=>{let o=(i?.pageCurrent||0)+1,a=fe(`cimke/${t.slug}
1`,this.route.snapshot,{skipAutoSlugSearch:!0});a&&this.seo.updateCanonicalUrl(a);let c=Te(Pe(t?.title??""),o);this.seo.setMetaData(c)})}initAds(){this.resetAds(),this.showDesktopAd=Fe(this.utilsService.isBrowser(),1030),this.adStore.advertisemenets$.pipe(X(this.unsubscribe$)).subscribe(t=>{this.adverts=this.adStore.separateAdsByMedium(t,Ce.other_pages),this.box_1_tablet=I(R({},this.adverts?.mobile?.mobilrectangle_1),{medium:"desktop"}),this.box_2_tablet=I(R({},this.adverts?.mobile?.mobilrectangle_2),{medium:"desktop"}),this.cdr.detectChanges()})}resetAds(){this.adverts=void 0,this.cdr.detectChanges()}populateSidebarExcludedIds(t){this.sidebarExcludedIds=t?.map(i=>i.id)??[]}onChangeSort(t){this.router.navigate([],{relativeTo:this.route,queryParams:I(R({},t),{page:null}),queryParamsHandling:"merge"})}ngOnDestroy(){this.unsubscribe$.next(!0),this.unsubscribe$.complete()}static{this.\u0275fac=function(i){return new(i||e)(f(ce),f(he),f(L),f(pe),f(j),f(_e),f(Me),f(me))}}static{this.\u0275cmp=ne({type:e,selectors:[["app-tags-page"]],decls:8,vars:6,consts:[[1,"tags-page"],[3,"data"],[1,"wrapper","with-aside"],["id","main-content","tabindex","-1",1,"left-column"],[1,"tag-title"],[1,"results"],[1,"results-label"],[1,"sorter"],[3,"changeValue"],[1,"article-card-wrapper"],[3,"data","hasBackground","styleID"],[3,"ad","style"],[3,"ad"],[3,"allowAutoScrollToTop","hasFirstLastButton","hasSkipButton","isCountPager","isListPager","maxDisplayedPages","rowAllCount","rowOnPageCount"]],template:function(i,o){if(i&1&&(g(0,"section",0),r(1,Ge,1,5,"app-breadcrumb",1),_(2,"async"),g(3,"div",2),r(4,ht,18,18,"main",3),_(5,"async"),g(6,"aside"),p(7,"app-sidebar"),x()()()),i&2){let a,c;s(),l((a=b(2,2,o.tag$))?1:-1,a),s(3),l((c=b(5,4,o.searchResults$))?4:-1,c)}},dependencies:[Ie,xe,Ae,$e,Se,we,Re,De,se,de,Oe,ke],styles:["[_nghost-%COMP%]{display:block;margin-bottom:32px}[_nghost-%COMP%]  mindmegette-pager, [_nghost-%COMP%]  mindmegette-pager .pager{margin-bottom:0}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:32px}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .tag-title[_ngcontent-%COMP%]{font-size:40px;font-weight:600;line-height:48px;letter-spacing:-.4px;color:var(--kui-gray-950)}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:20px}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]   .sorter[_ngcontent-%COMP%]{width:100%}}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]   .sorter[_ngcontent-%COMP%]   app-search-result-sorter[_ngcontent-%COMP%]    {flex-direction:column;width:100%}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]   .sorter[_ngcontent-%COMP%]   app-search-result-sorter[_ngcontent-%COMP%]     ng-select{width:200px}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results[_ngcontent-%COMP%]   .sorter[_ngcontent-%COMP%]   app-search-result-sorter[_ngcontent-%COMP%]     ng-select{width:100%}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results-label[_ngcontent-%COMP%]{font-family:var(--kui-font-primary);font-size:24px;font-weight:600;line-height:28px;letter-spacing:.12px;color:var(--kui-gray-950)}@media(max-width:767.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results-label[_ngcontent-%COMP%]{font-size:18px;line-height:22px}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results-label[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(max-width:767.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .results-label[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-size:12px}}@media(max-width:767.98px){[_nghost-%COMP%]   aside[_ngcontent-%COMP%]{margin-top:32px}}[_nghost-%COMP%]   .article-card-wrapper[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:32px}@media(max-width:1199.98px){[_nghost-%COMP%]   .article-card-wrapper[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media(max-width:575.98px){[_nghost-%COMP%]   .article-card-wrapper[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-gap:24px}}[_nghost-%COMP%]     .external-recommendations{grid-gap:32px!important}@media(max-width:991.98px){[_nghost-%COMP%]     .external-recommendations{grid-gap:16px!important}}"],changeDetection:0})}}return e})();var V=(()=>{class e{constructor(t,i,o,a){this.tagsPage=t,this.router=i,this.redirectService=o,this.seoService=a,this.kesmaRedirectService=ee(U)}resolve(t){let i=t.params.tag,o=18,a=t.queryParams.page?parseInt(t.queryParams.page,10)-1:0,
1c=t.queryParams.order==="asc",P=t.queryParams["content_types[]"];if(!i)return this.router.navigate(["/","404"],{skipLocationChange:!0}).then(),Q(()=>new Error("Tag slug is required"));let G=this.tagsPage.getTag(i),A={};A=P?{"content_types[]":P}:{};let C=this.tagsPage.searchArticleByTags([i],a,o,c,A);return K([G,C]).pipe(k(([,v])=>{let u=v.meta,h=this.seoService.currentUrl.split("/");h.pop(),this.kesmaRedirectService.shouldBeRedirect(a,v.data)&&this.kesmaRedirectService.redirectOldUrl(`cimke/${i}`,!1,302),u?.redirect?.tag?.slug?this.redirectService.redirectOldUrl(`cimke/${u?.redirect.tag.slug}`):(h[h.length-1]==="tag"||h[h.length-2]==="tag")&&this.redirectService.redirectOldUrl(`cimke/${t.url[0].toString()}`)}),S(([v,u])=>(a>0&&u.data.length===0&&this.redirectService.redirectOldUrl(`cimke/${i}`),{tag:v?.data,data:u?.data,limitable:u?.meta?.limitable})),Y(v=>(this.router.navigate(["/","404"],{skipLocationChange:!0}).then(null),Q(()=>v))))}static{this.\u0275fac=function(i){return new(i||e)(w(Be),w(j),w(U),w(L))}}static{this.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var qt=[{path:":tag/:tagname",component:z,canActivate:[q],runGuardsAndResolvers:"paramsOrQueryParamsChange",resolve:{data:V}},{path:":tag",component:z,canActivate:[q],runGuardsAndResolvers:"paramsOrQueryParamsChange",resolve:{data:V}},{path:"",component:z,canActivate:[q],runGuardsAndResolvers:"paramsOrQueryParamsChange",resolve:{data:V}}];export{qt as tagsPageRoutes};

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.