PageSourceSearch

https://www.belron.com/chunk-RBKHIPH2.js

js belron.com collected 2026-10-02 16:42:59 UTC 4,667 bytes, 1 lines download raw bytes

1import{a as D}from"./chunk-AFNDRGYQ.js";import{a as R,b as H,c as V,d as $}from"./chunk-ROAIYC3X.js";import{a as B}from"./chunk-ZVQBUF42.js";import"./chunk-WZ5RW7ES.js";import"./chunk-LS3ERFZQ.js";import"./chunk-QH2RXAO2.js";import"./chunk-CQLAGQNM.js";import"./chunk-2AOOQWIT.js";import"./chunk-Q5LJUV3L.js";import"./chunk-3O4NXPYV.js";import{a as A}from"./chunk-6LEZHGLX.js";import"./chunk-SOWNSDVS.js";import{f as I}from"./chunk-D3ED5CAA.js";import{a as Q}from"./chunk-ASZKVKS2.js";import"./chunk-FE4OSO6A.js";import"./chunk-5MARIEUK.js";import"./chunk-PLY5JERT.js";import"./chunk-W4TN3D7V.js";import"./chunk-SGFDMKOB.js";import{H as d}from"./chunk-FBKQDMH7.js";import{a as P}from"./chunk-UYAJYTOD.js";import"./chunk-GM3TIB7Z.js";import"./chunk-QL6YS5OU.js";import"./chunk-FZ7WUL3C.js";import{a as G}from"./chunk-RCUPQHA7.js";import"./chunk-YJOMLR5S.js";import{Cc as f,Db as m,Dc as p,Fa as g,Ga as u,Ob as k,Qc as F,Rc as b,Ub as x,_c as E,gc as v,hc as s,jd as T,kd as L,nc as q,oc as C,qc as y,rc as _,sc as c,tc as l,uc as S,xb as a,yc as w}from"./chunk-P3WUMIUN.js";import"./chunk-2OY4FR2S.js";import{e as M}from"./chunk-P7UHXAQQ.js";var O=M(G(),1);function W(o,r){if(o&1&&(c(0,"span",6),F(1),l()),o&2){let n=p().$implicit;a(),b(n.headline.title)}}function Y(o,r){if(o&1){let n=w();c(0,"ewp-link",9),f("click",function(){let t=g(n).$implicit,i=p(2);return u(i.trackSelectedQuestion(t))}),l()}if(o&2){let n=r.$implicit;s("content",n)}}function z(o,r){if(o&1){let n=w();c(0,"ewp-accordion-item",4),T(1,"slugify"),f("click",function(){let t=g(n).$implicit,i=p();return u(i.handleQuestionClick(t))}),c(2,"ewp-accordion-header",5),x(3,W,2,1,"span",6),l(),c(4,"ewp-accordion-body",5)(5,"div",7),y(6,Y,1,1,"ewp-link",8,C),l()()()}if(o&2){let n=r.$implicit,e=p();v("data-title",L(1,4,n.faqCategory.text.textPlain)),a(2),s("open",e.isAccordionOpen(n)),a(),q(n.headline?3:-1),a(),s("open",e.isAccordionOpen(n)),a(2),_(n.faqLinks.links)}}var oe=(()=>{let r=class r{set content(e){this._content=e,this.categories={templateId:"ewpFaqCategories",faqCategories:this._content.faqCategoryLinks.map(i=>i.faqCategory),bgColor:!1,whitespace:O.Whitespace.S};let t=this._content.faqCategoryLinks.find(i=>i.faqCategory.text.textPlain===this.categories.faqCategories[0].text.textPlain);this.selectedCategory=t,this.handleQuestionClick(t)}get content(){return this._content}constructor(e,t,i){this.isBrowser=e,this.slugifyPipe=t,this.gtmService=i,this.openQuestion=void 0,this.selectedCategory=void 0}handleSelectCategory(e){let t=this._content.faqCategoryLinks.find(i=>i.faqCategory.text.textPlain===e.text.textPlain);this.selectedCategory=t,this.handleQuestionClick(t)}handleQuestionClick(e){if(!this.isBrowser||!e)return;if(this.openQuestion===e){this.openQuestion=void 0,window.matchMedia("(min-width: 576px)").matches&&(this.selectedCategory=void 0);return}this.openQuestion=e,this.selectedCategory=e;let t=document.querySelector(`ewp-accordion-item[data-title='${this.slugifyPipe.transform(e.faqCategory.text.textPlain)}']`);setTimeout(()=>{if(t){let h=t.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:h-B.HEADER_HEIGHT(),behavior:"smooth"})}})}trackSelectedQuestion(e){this.gtmService.trackFaqPageEvent(e.text)}isAccordionOpen(e){return this.isBrowser?this.openQuestion===e:!0}};r.\u0275fac=function(t){return new(t||r)(m(P),m(d),m(I))},r.\u0275cmp=k({type:r,selectors:[["ewp-faq-category-links"]],inputs:{content:"content"},features:[E([d])],decls:6,vars:3,consts:[[1,"flex","flex-col"],[1,"order-2","mb-5","s:order-1","m:mb-8","xl:mb-12",3,"content"],[1,"order-1","mb-5","block","s:order-2","m:mb-8","xl:mb-12",3,"categorySelected","content","selected"],[1,"order-3"],[3,"click"],[3,"open"],[1,"font-ewp-primary","text-ewp-interactive-l","font-ewp-fw-bold","leading-ewp-interactive-l","s:text-ewp-interactive-xl","s:leading-ewp-interactive-xl"],[1,"space-y-4","s:columns-2"],[1,"block","font-ewp-primary","text-ewp-copy-l","font-ewp-fw-normal","leading-ewp-copy-l","underline",3,"content"],[1,"block","font-ewp-primary","text-ewp-copy-l","font-ewp-fw-normal","leading-ewp-copy-l","underline",3,"click","content"]],template:function(t,i){t&1&&(c(0,"div",0),S(1,"ewp-headline",1),c(2,"ewp-faq-categories",2),f("categorySelected",function(j){return i.handleSelectCategory(j)}),l(),c(3,"ewp-accordion",3),y(4,z,8,6,"ewp-accordion-item",null,C),l()()),t&2&&(a(),s("content",i.content.headline),a(),s("content",i.categories)("selected",i.selectedCategory==null?null:i.selectedCategory.faqCategory),a(2),_(i.content.faqCategoryLinks))},dependencies:[A,D,$,V,H,R,Q,d],encapsulation:2,changeDetection:0});let o=r;return o}
1)();export{oe as FaqCategoryLinksComponent};

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.