PageSourceSearch

https://www.progold.eu/chunk-X53FSY3O.js

js progold.eu collected 2026-10-09 21:52:34 UTC 4,292 bytes, 1 lines download raw bytes

1import{a as K}from"./chunk-6UTUOTXC.js";import"./chunk-76J53O4D.js";import{a as j}from"./chunk-J5NWFZXF.js";import"./chunk-NEQO7ITA.js";import"./chunk-ILIGNJRC.js";import"./chunk-BYUXZABT.js";import{B as N,M as W,Ua as q,ra as Q,va as k,x as Y}from"./chunk-CSKO464Y.js";import"./chunk-RFZ65DFT.js";import"./chunk-ZAELU3GP.js";import{i as v}from"./chunk-KCBWTIVH.js";import"./chunk-Q7LOV5U2.js";import"./chunk-ZS7OWNSY.js";import"./chunk-DIZWDXBB.js";import"./chunk-Q4MTVQC2.js";import{b as B}from"./chunk-RRAYDVNW.js";import{Ea as I,Ia as O,Lc as H,Na as U,Ta as V,a as w,c as C,lc as L,rb as _,yc as G}from"./chunk-WGWIBZ2L.js";import{$ as S,$b as M,$c as l,D as T,Fa as u,Ga as h,Ib as a,La as b,Ob as m,Oe as D,Qa as A,Ta as E,Tb as d,Ub as p,Vb as f,Zb as y,ac as s,ad as g,hb as c,tb as x,ya as r,ye as F,zb as P}from"./chunk-6LP6WHZQ.js";import"./chunk-5KTCK5IS.js";var z="collectionName",J="collection_name";function X(t,R){if(t&1&&(d(0,"section"),f(1,"ppg-breadcrumbs",2),p()),t&2){let o=s();c(),a("breadcrumbs",o.breadcrumbs())("rootName",o.breadcrumbsHome())}}function $(t,R){if(t&1&&(d(0,"section",0),f(1,"ppg-content-banner",3),p()),t&2){let o=s();c(),a("content",o.collectionDescription())}}function Z(t,R){if(t&1){let o=y();d(0,"section",1)(1,"ppg-colors-grid",4),M("favoriteColorRemoved",function(n){u(o);let i=s();return h(i.onFavoriteColorRemoved(n))})("favoriteColorAdded",function(n){u(o);let i=s();return h(i.onFavoriteColorAdded(n))}),p()()}if(t&2){let o=s();c(),a("colors",o.colors())("rows",o.rowsPerPage())}}var To=(()=>{class t{#o;#e;#i;#n;#t;#r;#l;#c;#s;#a;#m;#d;constructor(){this.#o=r(F),this.#e=r(H),this.#i=r(L),this.#n=r(Q),this.#t=r(k),this.#r=r(B),this.#l=r(D),this.#c=r(b),this.#s=C(this.#o.paramMap),this.#a=C(this.#o.data,{initialValue:this.#o.snapshot.data}),this.#m=l(()=>!!this.#a()[G]),this.content=A.required(),this.paginatorHidden=this.#i.getSiteFlag(I.ColorJourneyFamiliesPaginatorHidden),this.rowsPerPage=l(()=>this.paginatorHidden?this.colors()?.length:_.TWENTY),this.defaultRowsPerPage=_.TWENTY,this.routeCollectionName=l(()=>{let o=this.#s()?.get(z);return this.#e.formatUrlPathToStringValue(o)}),this.#d=C(this.#o.queryParams.pipe(T(o=>this.#e.formatUrlPathToStringValue(o[J])),S())),this.breadcrumbsHome=l(()=>this.#r.getResourceByKey(U.BREADCRUMB_HOME)),this.breadcrumbs=l(()=>{let o=this.#p();if(!o)return;let e=this.content()?.breadcrumbs,n={title:o,dataTestId:`colorFamilies.collectionName.${o}`};return[...e,n]}),this.colors=l(()=>this.colorCollection()?.colors),this.collectionDescription=l(()=>{let o=this.colorCollection();return{showLogo:!1,headline:o?.name,image:o?.imageUrl?{url:W(o?.imageUrl),description:void 0,imagePosition:Y.Left}:void 0,content:[{content:o?.description,type:V.RICH_TEXT}],colors:{backgroundColor:N.SECONDARY,textColor:N.PRIMARY}}}),this.colorCollection=E(void 0),g(()=>{let o=this.#p();o&&this.#n.getColorCollectionWithColors(o).pipe(w(this.#c)).subscribe(e=>{e||this.#l.navigate([O.NOT_FOUND]),this.colorCollection.set(e)})},{allowSignalWrites:!0}),g(()=>{let o=this.routeCollectionName();o&&this.#t.pushColorCollectionViewGTMTag(o)})}onFavoriteColorAdded(o){this.#t.addColorToFavoritesGTMtag(o,v.ColorCollection)}onFavoriteColorRemoved(o){this.#t.removeColorFromFavoritesGTMtag(o,v.ColorCollection)}#p(){return this.#m()?this.#d():this.routeCollectionName()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=x({type:t,selectors:[["ppg-color-collection"]],inputs:{content:[1,"content"]},decls:3,vars:3,consts:[["data-test-id","colorFamilies.descriptionSection",1,"section-container","mt-4"],["data-test-id","colorCollection.descriptionSection",1,"section-container","mt-4"],[3,"breadcrumbs","rootName"],[3,"content"],[3,"favoriteColorRemoved","favoriteColorAdded","colors","rows"]],template:function(e,n){if(e&1&&P(0,X,2,2,"section")(1,$,2,1,"section",0)(2,Z,2,2,"section",1),e&2){let i;m(n.breadcrumbs()?0:-1),c(),m(!((i=n.collectionDescription())==null||i.content==null||i.content[0]==null)&&i.content[0].content||!((i=n.collectionDescription())==null||i.image==null)&&i.image.url?1:-1),c(),m(n.colors()?2:-1)}},dependencies:[K,j,q],encapsulation:2,changeDetection:0})}}return t})();export{z as COLLECTION_NAME_PARAM,J as COLLECTION_NAME_QUERY_PARAM,To as ColorCollectionComponent};

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.