PageSourceSearch

https://www.bonduelle.hr/chunk-552AXCN5.js

js bonduelle.hr collected 2026-10-03 00:24:37 UTC 5,864 bytes, 1 lines download raw bytes

1import{a as D}from"./chunk-24ZXGC3V.js";import{a as $}from"./chunk-KXOICBZG.js";import{a as k}from"./chunk-3CKN47S4.js";import{a as R,b as I}from"./chunk-LXI3UE4H.js";import{a as V}from"./chunk-ISB3KKDK.js";import"./chunk-4T2TZWRC.js";import"./chunk-P5KIW4CD.js";import{i as B}from"./chunk-WP7UA2RR.js";import"./chunk-HMPNWSAO.js";import{b as E}from"./chunk-3ILGKDWT.js";import"./chunk-45KBAJ67.js";import{a as F}from"./chunk-4HEOBYF5.js";import"./chunk-L6ZI6JII.js";import{a as w}from"./chunk-CRAP6PHG.js";import{Aa as P,Ba as s,Bc as T,Ca as o,Da as r,Ea as m,H as c,Ob as M,Qc as b,Ra as l,bc as S,da as i,he as A,ja as g,ma as C,md as y,tc as x,va as d,wa as _,wb as v,xb as h,ya as f,za as u,zc as O}from"./chunk-Q2IVITMG.js";var H=(()=>{class t{constructor(){this.apiUrl=b.url}transform(e){return{upperTitle:e.uppertitle,title:e.title,backgroundImage:this.apiUrl+e.cover?.uri?.zone_maxi}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=C({name:"menuPageBannerAdapter",type:t,pure:!0})}}return t})();function z(t,a){if(t&1&&(o(0,"div",4),m(1,"sf-section-text",5),r()),t&2){let e=l().$implicit;i(),s("section",e)}}function L(t,a){if(t&1&&(o(0,"div",4),m(1,"sf-section-text",5),r()),t&2){let e=l().$implicit;i(),s("section",e)}}function j(t,a){if(t&1&&(o(0,"div",4),m(1,"som-section-image",6),r()),t&2){let e=l().$implicit;i(),s("section",e)}}function G(t,a){if(t&1&&(o(0,"div",4),m(1,"sf-section-slider",7),r()),t&2){let e=l().$implicit;i(),s("isPinterestVisible",!0)("section",e)}}function K(t,a){if(t&1&&(o(0,"div",4)(1,"som-agree-consent",8),m(2,"sf-section-video",9),r()()),t&2){let e=l().$implicit;i(),s("consentVendor","c:youtube-r6L8RmVK"),i(),s("section",e)("ngClass",e.position?"som-video-"+e.position:"som-video-center")}}function N(t,a){if(t&1&&(o(0,"div",4),m(1,"som-grid-tiles",5),r()),t&2){let e=l().$implicit;i(),s("section",e)}}function q(t,a){if(t&1&&d(0,z,2,1,"div",4)(1,L,2,1,"div",4)(2,j,2,1,"div",4)(3,G,2,2,"div",4)(4,K,3,3,"div",4)(5,N,2,1,"div",4),t&2){let e,n=a.$implicit;_((e=n.type)==="SfSectionText"?0:e==="section_text"?1:e==="SfSectionImage"?2:e==="SfSectionSlider"?3:e==="SfSectionVideo"?4:e==="SomSectionTiles"?5:-1)}}function J(t,a){if(t&1&&(o(0,"div",3),u(1,q,6,1,null,null,f),r()),t&2){let e=l(2);i(),P(e.article.sections)}}function Q(t,a){if(t&1&&(m(0,"app-banner",1),v(1,"menuPageBannerAdapter"),o(2,"div",2),d(3,J,3,0,"div",3),r()),t&2){let e=l();s("banner",h(1,2,e.article)),i(3),_(e.article.sections?3:-1)}}var fe=(()=>{class t{constructor(){this.menuPageService=c(D),this.breadcrumbService=c(F),this.translate=c(x),this.seoService=c(E),this.tagManager=c(w),this.route=c(O),this.router=c(T),this.viewportScroller=c(S)}_watchParams(){this.route.paramMap.subscribe({next:e=>{let n=parseInt(e.get("id"));this._getArticle(n),this.viewportScroller.scrollToPosition([0,0])}})}_getArticle(e){this.menuPageService.getArticle(e).subscribe({next:n=>{this.article=n,this._setSeoMeta(n),this.tagManager.setContentPage("corporate_article",n.nid,n.title)},error:n=>{let p=this.translate.instant("ROUTES.not-found");this.router.navigateByUrl(p)}})}ngOnInit(){this._watchParams()}_setSeoMeta(e){if(e){let n=this.translate.instant("SEO.TITLE.CORPORATE.ARTICLE",{value:e.title}),p=e.sections?.[0]?.text?B(e.sections[0].text):"";e.title&&this._buildBreadcrumb(e.title),this.seoService.setPageTitle(n),this.seoService.setPageDescription(p)}this.tagManager.setContentPage("corporate_article",e.nid,e.title)}_buildBreadcrumb(e){let n=[{label:this.translate.instant("BREAD.menu-page"),url:this.translate.instant("ROUTES.menu-page")},{label:e}];this.breadcrumbService.setBreadcrumb(n)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=g({type:t,selectors:[["som-mp-article"]],decls:2,vars:1,consts:[[1,"som","som-container"],[3,"banner"],[1,"som-article","som-main-color","som-bloc"],[1,"som-article-container"],[1,"som-space"],["seoTitle","H2",3,"section"],["ngSkipHydration","","seoTitle","H2",3,"section"],["seoTitle","H2",3,"isPinterestVisible","section"],[3,"consentVendor"],["view","","seoTitle","H2",3,"section","ngClass"]],template:function(n,p){n&1&&(o(0,"div",0),d(1,Q,4,4),r()),n&2&&(i(),_(p.article?1:-1))},dependencies:[$,y,I,R,V,A,M,k,H],styles:['[_ngcontent-%COMP%]:root{--color-green-dark: #003d21;--color-green-light: #14b072;--color-yellow: #f7cf00}.articles[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-rows:1fr;grid-template-columns:repeat(4,1fr);gap:20px}.articles[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{filter:brightness(.7)}.articles[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin:0}.articles[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;transition:filter .15s ease-in-out}.articles[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   figcaption[_ngcontent-%COMP%]{font-family:"Bree Serif",sans-serif;font-weight:700;line-height:1;font-size:1.25rem;color:var(--color-green-dark)}.som-article[_ngcontent-%COMP%]{display:flex}.som-article-container[_ngcontent-%COMP%]{display:inline-block;flex:1 0 74%}.som-article-container[_ngcontent-%COMP%]   .som-space[_ngcontent-%COMP%]:nth-child(1){margin-top:0}.som-article-banner[_ngcontent-%COMP%]{height:400px!important}.som-article[_ngcontent-%COMP%]   .sf-item-text[_ngcontent-%COMP%]{height:99%}@media screen and (max-width:1024px){.som-article-push-title[_ngcontent-%COMP%]{font-size:14px;margin:12px 0}.articles[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   figcaption[_ngcontent-%COMP%]{font-size:1rem}}@media screen and (max-width:550px){.som-article-container[_ngcontent-%COMP%]{width:100%}.articles[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;overflow:auto}.articles[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto;height:180px}}']})}}return t})();export{fe as MenuPageArticleComponent};

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.