PageSourceSearch

https://www.maxmeyer.com/chunk-TVBSW26U.js

js maxmeyer.com collected 2026-09-26 09:36:42 UTC 7,070 bytes, 1 lines download raw bytes

1import{e as $,f as _,i as N,j as O,k as W,l as k,m as x,n as I}from"./chunk-DMJOIEZX.js";import"./chunk-IJJXZCMA.js";import"./chunk-Z6LNA6S5.js";import"./chunk-MEFDTAVO.js";import"./chunk-B36GLEBS.js";import"./chunk-WAXSQR7J.js";import"./chunk-QFFHVXQN.js";import"./chunk-ODFXI44U.js";import"./chunk-2FG7ELTG.js";import"./chunk-VWTK4XCA.js";import"./chunk-R4OF56YW.js";import"./chunk-JCXI7DCY.js";import"./chunk-Y4TRFKLK.js";import"./chunk-TKY4JD25.js";import{a as c,bb as m,c as A}from"./chunk-B6Z6LCBX.js";import{$a as D,Bb as r,Bd as g,Ca as M,Fe as b,Ga as i,Je as T,L as w,Qb as s,Ta as L,Ve as C,Y as l,Ya as S,a as y,b as G,bb as p,bc as n,hd as h}from"./chunk-XJX5BABA.js";var u="global-store-locator_favorite-location";var F=(()=>{class e{#o=i(m);#t=i(p);#e=g(this.#t);updateFavoriteLocation(t){if(this.#e)try{t?localStorage.setItem(u,JSON.stringify(t)):localStorage.removeItem(u)}catch(o){this.#o.error(`[FavoriteLocationService][updateFavoriteLocation] Error updating favorite location in localStorage: ${o}`)}}getFavoriteLocation(){if(!this.#e)return null;try{let t=localStorage.getItem(u);return t?JSON.parse(t):null}catch(t){return this.#o.error(`[FavoriteLocationService][getFavoriteLocation] Error parsing localStorage item with key "${u}": ${t}`),null}}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var B=(()=>{class e{constructor(){this.settings=S.required()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=r({type:e,selectors:[["ppg-global-store-locator-location-details-widget"]],inputs:{settings:[1,"settings"]},decls:1,vars:1,consts:[[3,"settings"]],template:function(o,a){o&1&&n(0,"gslw-location-details-widget",0),o&2&&s("settings",a.settings())},dependencies:[$],encapsulation:2,changeDetection:0})}}return e})();var P=(()=>{class e{#o;#t;#e;#n;#s;#i;#c;#a;#r;#m;#l;#p;#d;#f;#g;constructor(){this.#o=i(I),this.#t=i(F),this.#e=i(W),this.#n=i(N),this.#s=i(k),this.#i=i(m),this.#c=i(C),this.#a=i(b),this.#r=i(L),this.#m=i(p),this.#l=g(this.#m),this.#p=A(this.#a.params.pipe(w(t=>({slugUrl:t[R],sapId:t[U]})),c(this.#r))),this.#d=this.#c.getCurrentNavigation()?.extras?.state,this.#f=h(()=>{let t=this.#d?.locationData?.locations,a=this.#p()?.slugUrl||"";return!t||!a?[]:t.filter(f=>f?.slugUrl!==a&&f?.id!==a)}),this.settings=h(()=>{let t=this.#o.locationDetailsWidgetInputsSettings(),o=this.#p(),a=o?.slugUrl||"",d=o?.sapId||"";return G(y({},t),{locationIdOrSlugUrl:a,sapId:d,features:G(y({},t.features),{closestLocations:{isEnabled:!0,locations:this.#f()}})})}),this.#g=D(!1),this.#h(),this.#v(),this.#S(),this.#g.set(!0)}#h(){this.#e.click$.pipe(c(this.#r)).subscribe(()=>{this.#u()})}#u(){let o=this.#p()?.sapId?["../.."]:[".."];this.#i.info("[GlobalStoreLocatorDetailsComponent][navigateBack] Navigating back to Global Store Locator List page"),this.#c.navigate(o,{relativeTo:this.#a})}#v(){this.#L(),this.#n.favoriteLocation$.pipe(l(()=>this.#g()),c(this.#r)).subscribe(t=>{this.#t.updateFavoriteLocation(t)})}#L(){if(!this.#l)return;let t=this.#t.getFavoriteLocation();this.#n.set(t)}#S(){this.#s.moreInfoLocation$.pipe(l(()=>this.#g()),c(this.#r)).subscribe(t=>{t?this.#D(t):this.#i.warn("[GlobalStoreLocatorDetailsComponent][setupMoreInfoLocationNavigation] No location data from GSL Widget provided for navigation")})}#D(t){let o=t?.location?.slugUrl||t?.location?.id,a=t?.location?.sapId||"",f=this.#p()?.sapId?["../.."]:[".."];if(!o){this.#i.warn("[GlobalStoreLocatorDetailsComponent][navigateToLocationDetailsPage] No location slug URL from GSL Widget provided for navigation");return}let z=[a?`${f}/${encodeURIComponent(a)}/${encodeURIComponent(o)}`:`${f}/${encodeURIComponent(o)}`];this.#i.info(`[GlobalStoreLocatorDetailsComponent][navigateToLocationDetailsPage] Navigating to Global Store Locator Details page with Slug URL: ${o} and SAP ID: ${a}`),this.#c.navigate(z,{relativeTo:this.#a,state:{locationData:t}})}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=r({type:e,selectors:[["ppg-global-store-locator-details"]],decls:1,vars:1,consts:[["data-test-id","globalStoreLocatorDetailsPage.locationDetail
1sWidget",3,"settings"]],template:function(o,a){o&1&&n(0,"ppg-global-store-locator-location-details-widget",0),o&2&&s("settings",a.settings())},dependencies:[B],encapsulation:2,changeDetection:0})}}return e})();var E=(()=>{class e{constructor(){this.settings=S.required()}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=r({type:e,selectors:[["ppg-global-store-locator-locations-widget"]],inputs:{settings:[1,"settings"]},decls:1,vars:1,consts:[[3,"settings"]],template:function(o,a){o&1&&n(0,"gslw-locations-widget",0),o&2&&s("settings",a.settings())},dependencies:[_],encapsulation:2,changeDetection:0})}}return e})();var j=(()=>{class e{#o;#t;#e;#n;#s;#i;#c;#a;#r;#m;#l;constructor(){this.#o=i(I),this.#t=i(F),this.#e=i(x),this.#n=i(O),this.#s=i(m),this.#i=i(C),this.#c=i(b),this.#a=i(L),this.#r=i(p),this.#m=g(this.#r),this.settings=h(()=>this.#o.locationsWidgetInputsSettings()),this.#l=D(!1),this.#p(),this.#f(),this.#l.set(!0)}#p(){this.#e.moreInfoLocation$.pipe(l(()=>this.#l()),c(this.#a)).subscribe(t=>{t?this.#d(t):this.#s.warn("[GlobalStoreLocatorListComponent][setupMoreInfoLocationNavigation] No location data from GSL Widget provided for navigation")})}#d(t){let o=t?.location?.slugUrl||t?.location?.id,a=t?.location?.sapId||"";if(!o){this.#s.warn("[GlobalStoreLocatorListComponent][navigateToLocationDetailsPage] No location slug URL from GSL Widget provided for navigation");return}let d=[a?`${encodeURIComponent(a)}/${encodeURIComponent(o)}`:encodeURIComponent(o)];this.#s.info(`[GlobalStoreLocatorListComponent][navigateToLocationDetailsPage] Navigating to Global Store Locator Details page with Slug URL: ${o} and SAP ID: ${a}`),this.#i.navigate(d,{relativeTo:this.#c,state:{locationData:t}})}#f(){this.#g(),this.#n.favoriteLocation$.pipe(l(()=>this.#l()),c(this.#a)).subscribe(t=>{this.#t.updateFavoriteLocation(t)})}#g(){if(!this.#m)return;let t=this.#t.getFavoriteLocation();this.#n.confirm(t)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=r({type:e,selectors:[["ppg-global-store-locator-list"]],decls:1,vars:1,consts:[["data-test-id","globalStoreLocatorPage.locationsWidget",3,"settings"]],template:function(o,a){o&1&&n(0,"ppg-global-store-locator-locations-widget",0),o&2&&s("settings",a.settings())},dependencies:[E],encapsulation:2,changeDetection:0})}}return e})();var q=(()=>{class e{static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=r({type:e,selectors:[["ppg-global-store-locator"]],decls:1,vars:0,template:function(o,a){o&1&&n(0,"router-outlet")},dependencies:[T],encapsulation:2,changeDetection:0})}}return e})();var R="slugUrl",U="sapId",xt=[{path:"",pathMatch:"prefix",component:q,children:[{path:"",pathMatch:"full",component:j},{path:`:${U}/:${R}`,component:P},{path:`:${R}`,component:P}]}];export{xt as GlobalStoreLocatorRoutes,U as SAP_ID_PARAM,R as SLUG_URL_PARAM};

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.