1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1178],{58266:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(60072),s=r(60004),u=r(62380),l=r(94122),o=r(28084),i=r(4493),c=r(10983);function a(e){let t=(e.replace(/\/+$/,"")||"/").replace(/^\/(?:[a-z]{2}(?:-[a-z]{2})?)(?=\/|$)/i,"")||"/";return"/success-klub"===t||t.startsWith("/success-klub/")||"/success-klub-tageskarte"===t||t.startsWith("/success-klub-tageskarte/")||"/klub/success-klub-tageskarte"===t||t.startsWith("/klub/success-klub-tageskarte/")}let d=e=>{var t,r,d,f,h;let{jumpmarkLabel:p}=e,{currentStudio:v}=(0,s.useContext)(l.os),{brand:b,brandName:g,isStudioPage:w,isKlubTheme:k}=(0,s.useContext)(l._0),{locale:y}=(0,i.FW4)(),R=(0,c.useRouter)(),m="at"===y||"ch"===y?"de":y,C="/".concat(y).concat(null==R||null==(r=R.asPath)||null==(t=r.split("?"))?void 0:t[0]),S=null!=(h=null==(f=R.asPath)||null==(d=f.split("?"))?void 0:d[0])?h:"",E="true"===R.query.success||a(S),x=(0,i.Hpi)(S)&&"/klub"!==S.replace(/\/+$/,"")&&!a(S),P=w||!!R.query.studioSlug||x,V=R.query.store,W=V?String(V):(null==v?void 0:v.id)&&(E||P)?String(v.id):null,_=W&&"/ch/clubs"!==C&&"/en-ch/clubs"!==C,j=(0,s.useMemo)(()=>{var e;let t=(0,o.j8)(b,R.asPath,R.query),r=k||a(S)||(0,i.Hpi)(S)||x?"klub":t,n=r?(0,o.MF)(r):null;if(!n)return null;let s=new URLSearchParams;return s.set("locale",null!=(e=null==m?void 0:m.toUpperCase())?e:"DE"),_&&s.set("store",W),E&&s.set("success","true"),"".concat(n,"?").concat(s.toString())},[b,m,_,W,E,R.asPath,R.query,k,S,x]);return j?(0,n.jsx)(u.A,{className:"hd:max-w-none",withoutPadding:!0,id:p,children:(0,n.jsx)("iframe",{title:"".concat(g," Store Locator"),allow:"geolocation *;",width:"100%",height:"600px",src:j,style:{border:"none"}})}):null}},84477:(e,t,r)=>{r.d(t,{Wx:()=>p});var n,s,u=r(60004),l=Object.defineProperty,o=new Map,i=new WeakMap,c=0;u.Component;var a=Reflect.get(n||(n=r.t(u,2)),"useInsertionEffect"),d=null!=a?a:u.useEffect,f=function(e){return(null==e?void 0:e.startsWith("19."))||!1}(u.version),h="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function p({threshold:e,delay:t,trackVisibility:r,rootMargin:n,scrollMargin:l,root:v,triggerOnce:b,skip:g,initialInView:w,fallbackInView:k,onChange:y}={}){let R=u.useRef(w),[m,C]=u.useState({inView:!!w,entry:void 0}),S=function(e,{threshold:t,root:r,rootMargin:n,scrollMargin:l,trackVisibility:h,delay:p,fallbackInView:v,skip:b,triggerOnce:g}){let w=u.useRef(e),k=u.useRef({node:null,stop:void 0,owner:null});return a||(w.current=e),d(()=>{w.current=e},[e]),u.useCallback(function e(u){let a,d,y=k.current;if(!u&&y.owner!==e)return;if(u===y.node)return y.owner=e,f?y.stop:void 0;let R=y.stop;if(y.stop=void 0,null==R||R(),!u||b){y.node=null,y.owner=u?e:null;return}function m(){null==a||a(),y.stop===m&&(y.node=null,y.stop=void 0)}return y.node=u,y.owner=e,y.stop=m,a=function(e,t,r={},n=s){if(void 0===window.IntersectionObserver&&void 0!==n){let s=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}let{id:u,observer:l,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(i.has(r)||(c+=1,i.set(r,c.toString())),i.get(r)):e[t]}`}).toString(),r=o.get(t);if(!r){let n,s=new Map,u=new IntersectionObserver(t=>{t.forEach(t=>{var r;let u=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=u),[...null!=(r=s.get(t.target))?r:[]].forEach(e=>{e(u,t)})})},e);n=u.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:u,elements:s},o.set(t,r)}return r}(r),d=a.get(e)||[];a.has(e)||a.set(e,d),d.push(t),l.observe(e);let f=!1;return function(){f||(f=!0,d.splice(d.indexOf(t),1),0===d.length&&(a.delete(e),l.unobserve(e)),0===a.size&&(l.disconnect(),o.delete(u)))}}(u,(e,t)=>{w.current(e,t,d),d=e,g&&e&&m()},{threshold:t,root:r,rootMargin:n,scrollMargin:l,trackVisibility:h,delay:p},v),y.stop!==m&&a(),f?y.stop:void 0},[Array.isArray(t)?t.toString():t,r,n,l,h,p,v,b,g])}((e,t)=>{let r=R.current;R.current=e,(void 0!==r||e)&&(C({inView:e,entry:t}),null==y||y(e,t))},{threshold:e,root:v,rootMargin:n,scrollMargin:l,trackVisibility:r,delay:t,fallbackInView:k,skip:g,triggerOnce:b}),E=u.useRef({node:null,reset:!1}),x=u.useCallback(function(e){e?(E.current.node=e,E.current.reset=!1):E.
1current.node&&(E.current.node=null,E.current.reset=!0);let t=S(e);if(t)return()=>{t(),E.current.node===e&&(E.current.node=null,E.current.reset=!0)}},[S]);h(()=>{E.current.reset&&(E.current.reset=!1,b||g||(C({inView:!!w,entry:void 0}),R.current=w))});let P=[x,m.inView,m.entry];return P.ref=P[0],P.inView=P[1],P.entry=P[2],P}}}]);
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.