(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[278],{62325:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/suche",function(){return s(47684)}])},3480:function(e,t,s){"use strict";var n=s(85893),i=s(10547),l=s(63937);t.Z=(0,i.Z)(e=>{let{refine:t,setFocused:s}=e,i=e=>{t(e.currentTarget.value)},{t:r}=(0,l.Z)();return(0,n.jsx)("div",{className:"relative w-full rounded-md bg-white shadow-sm",children:(0,n.jsx)("form",{role:"search",children:(0,n.jsx)("input",{id:"algolia_search",className:"DocSearch-PSB-Shadow DocSearch-Input w-full rounded-md border border-blue-whisper px-4 py-3 leading-5 text-dark-gray transition duration-150 ease-in-out placeholder:text-dark-gray focus:border-blue-300 focus:outline-none sm:px-4 sm:shadow",type:"search",placeholder:r("Enter your Search Term..."),onChange:e=>i(e),onFocus:()=>s(!0),autoComplete:"off"})})})})},35012:function(e,t,s){"use strict";s.d(t,{p:function(){return r}});var n=s(85893),i=s(67294),l=s(8285);let r=e=>{let{variant:t}=e,[s,r]=(0,i.useState)(!1),[o,a]=(0,i.useState)(!1),c=()=>{window.pageYOffset>300?r(!0):r(!1)},d=()=>{window.pageYOffset>200?a(!0):a(!1)};return(0,i.useEffect)(()=>(window.addEventListener("scroll",c),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",c),window.removeEventListener("scroll",d)}),[]),(0,n.jsx)("div",{className:"fixed bottom-4 right-4 z-[1000]",children:(0,n.jsx)("button",{type:"button",id:"scroll-to-top",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Scroll to top",className:function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter(Boolean).join(" ")}(s?"opacity-100":"opacity-0",t&&"dark"===t?"bg-white text-charcoal hover:bg-slate-200":"bg-azure text-white hover:bg-blue-biolet","inline-flex items-center rounded-full p-3 shadow-sm transition-opacity focus:outline-none"),children:(0,n.jsx)(l.Cv2,{className:"size-6","aria-hidden":"true"})})})}},62627:function(e,t,s){"use strict";var n=s(85893),i=s(67294),l=s(83694),r=s(72522),o=s(35012),a=s(72763),c=s(88786);t.Z=e=>{var t,s;let{children:d,navStory:u,footerStory:h}=e,p=(0,c.Z)(),[x,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{children:[(0,n.jsx)(r.Z,{blok:null==u?void 0:u.content,isOpen:x,openModal:()=>{m(!0)},setIsOpen:m}),(0,n.jsx)(a.Z,{locale:p,setIsOpen:m,isOpen:x}),(null==u?void 0:null===(t=u.content)||void 0===t?void 0:t.hideNavbar)?d:(0,n.jsx)("div",{className:(null==u?void 0:null===(s=u.content)||void 0===s?void 0:s.hideBar)?"pt-16 lg:pt-[108px]":"",children:d}),(0,n.jsx)(o.p,{}),(0,n.jsx)(l.Z,{blok:null==h?void 0:h.content})]})}},47684:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return b}});var n=s(85893),i=s(67294),l=s(96690),r=s(15916),o=s(12163),a=s(44140),c=s(7230),d=s(20991),u=s(70290),h=s.n(u),p=s(62627),x=s(65890),m=s(3480),v=s(63937);let f=h()("QELKNMT8RR","e0c79af41f19464bf33f04abf080b1d4");var b=!0;t.default=e=>{let{locale:t,navStory:s,footerStory:u}=e,[h,b]=(0,i.useState)(!1),{t:j}=(0,v.Z)();return(0,n.jsx)(p.Z,{footerStory:u,navStory:s,children:(0,n.jsxs)("div",{className:"mx-auto max-w-[1020px] px-4 pb-32 pt-10 md:pt-20",children:[(0,n.jsx)("h1",{className:" mb-3 text-center text-2xl font-bold leading-[28px] text-primary md:text-bigH md:leading-[60px]",children:j("Search")}),(0,n.jsx)(r.Z,{indexName:"web_de",searchClient:f,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"sticky top-0 mb-7 flex justify-center sm:mb-10 sm:rounded-[3px] sm:bg-crystal-sky sm:p-6",children:[(0,n.jsx)(m.Z,{setFocused:b}),(0,n.jsx)(o.Z,{hitsPerPage:15,filters:'(contentType:"post" OR contentType:"page" OR contentType:"product")'})]}),(0,n.jsx)("div",{className:"mb-10 min-h-[50vh]",children:(0,n.jsx)(a.Z,{hitComponent:e=>{var t,s,i;let r=null==e?void 0:null===(t=e.hit)||void 0===t?void 0:t.slug.replace("ccm-europe-com","");if((null==e?void 0:null===(s=e.hit)||void 0===s?void 0:s.title)||(null==e?void 0:null===(i=e.hit)||void 0===i?void 0:i.description))return(0,n.jsx)(d.xb,{href:"/".concat(r),passHref:!0,children:(0,n.jsxs)("div",{className:" DocSearch-Result-Page mb-[10px] sm:mb-[20px]",children:[(0,n.jsxs)("div",{className:"mb-3",children:[(0,n.jsx)("div",{className:"DocSearch-Result-Title",children:(0,n.jsx)(l.Z,{attribute:"title",hit:null==e?void 0:e.hit})}),(0,n.jsx)("div",{className:"DocSearch-Result-Description",children:(0,n.jsx)(l.Z,{attribute:"description",hit:e.hit})})]}),(0,n.jsxs)("span",{className:"DocSearch-Page-Icon flex gap-x-2",children:[(0,n.jsx)("span",{className:"flex self-center",children:j("See Detail")}),(0,n.jsx)("span",{className:"flex self-center",children:(0,n.jsx)(x.lzl,{})})]})]})})}})}),(0,n.jsx)("div",{className:"instand_search_pagination",children:(0,n.jsx)(c.Z,{})})]})})]})})}}},function(e){e.O(0,[230,888,774,179],function(){return e(e.s=62325)}),_N_E=e.O()}]);