4 lines
47 KiB
JavaScript
4 lines
47 KiB
JavaScript
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="a1485ef3-30bc-0e1b-f068-99fcdc6acbf5")}catch(e){}}();
|
|
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7284,e=>{"use strict";function t(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",()=>t])},676525,e=>{"use strict";var t=e.i(452797),r=e.i(184868),n=e.i(111023);let a={primary:"bg-primary text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",secondary:"bg-secondary text-white shadow-md hover:shadow-secondary/30 hover:shadow-2xl",accent:"bg-accent text-primary-dark shadow-md hover:shadow-accent/30 hover:shadow-2xl",saturated:"bg-saturated text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",outline:"border-2 border-primary bg-transparent text-primary hover:bg-primary/5 hover:shadow-primary/20 hover:shadow-xl",ghost:"text-primary hover:bg-primary/5 hover:shadow-lg",white:"bg-white text-primary shadow-md hover:shadow-primary/30 hover:shadow-2xl",destructive:"bg-destructive text-destructive-foreground shadow-md hover:shadow-destructive/30 hover:shadow-2xl"},i={sm:"h-9 px-4 text-sm md:text-base",md:"h-11 px-6 text-base md:text-lg",lg:"h-14 px-5 md:px-8 text-base md:text-lg",xl:"h-16 px-6 md:px-10 text-lg md:text-xl"},s={primary:"via-white/30",secondary:"via-white/30",accent:"via-white/40",saturated:"via-white/30",outline:"via-primary/20",ghost:"via-primary/10",white:"via-primary/20",destructive:"via-white/30"};function o({variant:e="primary"}){return(0,t.jsx)("span",{className:(0,n.cn)("absolute top-0 -left-[150%] h-full w-[150%] bg-gradient-to-r from-transparent to-transparent skew-x-[-20deg] group-hover/btn:left-[100%] transition-all duration-700 ease-[cubic-bezier(0.16,1,0.3,1)] z-0",s[e])})}function l({className:e,variant:s="primary",size:l="md",href:c,...d}){let u=function(e="primary",t="md",r){return(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-full font-semibold transition-all duration-500 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none active:scale-95 hover:-translate-y-1 hover:scale-[1.02] relative overflow-hidden group/btn isolate",a[e],i[t],r)}(s,l,e),m=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"relative z-10 flex items-center justify-center gap-2",children:d.children}),(0,t.jsx)(o,{variant:s})]});return c?(0,t.jsx)(r.default,{href:c,className:u,children:m}):(0,t.jsx)("button",{className:u,...d,children:m})}e.s(["Button",()=>l])},102227,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},365278,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(496932).createAsyncLocalStorage)()},517110,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=e.r(365278)},780329,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return c},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(579781),s=e.r(517110);function o(e,t){throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function c(){let e=s.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},759823,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={RenderStage:function(){return l},StagedRenderingController:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let s=e.r(436120),o=e.r(444841);var l=((n={})[n.Before=1]="Before",n[n.Static=2]="Static",n[n.Runtime=3]="Runtime",n[n.Dynamic=4]="Dynamic",n[n.Abandoned=5]="Abandoned",n);class c{constructor(e=null,t){this.abortSignal=e,this.hasRuntimePrefetch=t,this.currentStage=1,this.staticInterruptReason=null,this.runtimeInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.runtimeStagePromise=(0,o.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,o.createPromiseWithResolvers)(),this.mayAbandon=!1,e&&(e.addEventListener("abort",()=>{let{reason:t}=e;this.currentStage<3&&(this.runtimeStagePromise.promise.catch(d),this.runtimeStagePromise.reject(t)),(this.currentStage<4||5===this.currentStage)&&(this.dynamicStagePromise.promise.catch(d),this.dynamicStagePromise.reject(t))},{once:!0}),this.mayAbandon=!0)}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.runtimeStageListeners.push(t);else if(4===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new s.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}canSyncInterrupt(){if(1===this.currentStage)return!1;let e=this.hasRuntimePrefetch?4:3;return this.currentStage<e}syncInterruptCurrentStageWithReason(e){if(1!==this.currentStage){if(this.mayAbandon)return this.abandonRenderImpl();switch(this.currentStage){case 2:this.staticInterruptReason=e,this.advanceStage(4);return;case 3:this.hasRuntimePrefetch&&(this.runtimeInterruptReason=e,this.advanceStage(4));return}}}getStaticInterruptReason(){return this.staticInterruptReason}getRuntimeInterruptReason(){return this.runtimeInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){if(!this.mayAbandon)throw Object.defineProperty(new s.InvariantError("`abandonRender` called on a stage controller that cannot be abandoned."),"__NEXT_ERROR_CODE",{value:"E938",enumerable:!1,configurable:!0});this.abandonRenderImpl()}abandonRenderImpl(){let{currentStage:e}=this;switch(e){case 2:this.currentStage=5,this.resolveRuntimeStage();return;case 3:this.currentStage=5;return}}advanceStage(e){if(e<=this.currentStage)return;let t=this.currentStage;if(this.currentStage=e,t<3&&e>=3&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<4&&e>=4){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveRuntimeStage(){let e=this.runtimeStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.runtimeStagePromise.resolve()}resolveDynamicStage(){let e=this.dynamicStageListeners;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.dynamicStagePromise.resolve()}getStagePromise(e){switch(e){case 3:return this.runtimeStagePromise.promise;case 4:return this.dynamicStagePromise.promise;default:throw Object.defineProperty(new s.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}}waitForStage(e){return this.getStagePromise(e)}delayUntilStage(e,t,r){var n,a,i;let s,o=(n=this.getStagePromise(e),a=t,i=r,s=new Promise((e,t)=>{n.then(e.bind(null,i),t)}),void 0!==a&&(s.displayName=a),s);return this.abortSignal&&o.catch(d),o}}function d(){}},118720,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=e.r(506985);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:i}=(0,n.parsePath)(e);return`${r}${t}${a}${i}`}},446247,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return i}});let n=e.r(688391),a=e.r(712550);function i(e,t,r,i){if(!t||t===r)return e;let s=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(s,"/api")||(0,a.pathHasPrefix)(s,`/${t.toLowerCase()}`))?e:(0,n.addPathPrefix)(e,`/${t}`)}},971560,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return o}});let n=e.r(895708),a=e.r(688391),i=e.r(118720),s=e.r(446247);function o(e){let t=(0,s.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},866140,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e,t){let r;if(!t)return{pathname:e};let a=n.get(t);a||(a=t.map(e=>e.toLowerCase()),n.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let s=i[1].toLowerCase(),o=a.indexOf(s);return o<0?{pathname:e}:(r=t[o],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},857436,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(712550);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},707723,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=e.r(866140),a=e.r(857436),i=e.r(712550);function s(e,t){let{basePath:r,i18n:s,trailingSlash:o}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):o};r&&(0,i.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,a.removePathPrefix)(l.pathname,r),l.basePath=r);let c=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],c="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=c)}if(s){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,n.normalizeLocalePath)(l.pathname,s.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(c):(0,n.normalizeLocalePath)(c,s.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},955973,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_SUFFIX:function(){return g},APP_DIR_ALIAS:function(){return H},CACHE_ONE_YEAR:function(){return j},DOT_NEXT_ALIAS:function(){return D},ESLINT_DEFAULT_DIRS:function(){return ea},GSP_NO_RETURNED_VALUE:function(){return Q},GSSP_COMPONENT_MEMBER_ERROR:function(){return et},GSSP_NO_RETURNED_VALUE:function(){return Z},HTML_CONTENT_TYPE_HEADER:function(){return s},INFINITE_CACHE:function(){return T},INSTRUMENTATION_HOOK_FILENAME:function(){return L},JSON_CONTENT_TYPE_HEADER:function(){return o},MATCHED_PATH_HEADER:function(){return d},MIDDLEWARE_FILENAME:function(){return A},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return v},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return P},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return y},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return E},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return N},NEXT_CACHE_TAGS_HEADER:function(){return _},NEXT_CACHE_TAG_MAX_ITEMS:function(){return S},NEXT_CACHE_TAG_MAX_LENGTH:function(){return R},NEXT_DATA_SUFFIX:function(){return x},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return c},NEXT_META_SUFFIX:function(){return b},NEXT_QUERY_PARAM_PREFIX:function(){return l},NEXT_RESUME_HEADER:function(){return w},NON_STANDARD_NODE_ENV:function(){return er},PAGES_DIR_ALIAS:function(){return k},PRERENDER_REVALIDATE_HEADER:function(){return u},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return m},PROXY_FILENAME:function(){return O},PROXY_LOCATION_REGEXP:function(){return C},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return V},ROOT_DIR_ALIAS:function(){return M},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return X},RSC_ACTION_ENCRYPTION_ALIAS:function(){return F},RSC_ACTION_PROXY_ALIAS:function(){return G},RSC_ACTION_VALIDATE_ALIAS:function(){return U},RSC_CACHE_WRAPPER_ALIAS:function(){return W},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return z},RSC_MOD_REF_PROXY_ALIAS:function(){return B},RSC_SEGMENTS_DIR_SUFFIX:function(){return f},RSC_SEGMENT_SUFFIX:function(){return h},RSC_SUFFIX:function(){return p},SERVER_PROPS_EXPORT_ERROR:function(){return q},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return $},SERVER_PROPS_SSG_CONFLICT:function(){return K},SERVER_RUNTIME:function(){return ei},SSG_FALLBACK_EXPORT_ERROR:function(){return en},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return Y},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return J},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return i},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ee},WEBPACK_LAYERS:function(){return el},WEBPACK_RESOURCE_QUERIES:function(){return ec},WEB_SOCKET_MAX_RECONNECTIONS:function(){return es}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="text/plain",s="text/html; charset=utf-8",o="application/json; charset=utf-8",l="nxtP",c="nxtI",d="x-matched-path",u="x-prerender-revalidate",m="x-prerender-revalidate-if-generated",f=".segments",h=".segment.rsc",p=".rsc",g=".action",x=".json",b=".meta",v=".body",_="x-next-cache-tags",y="x-next-revalidated-tags",E="x-next-revalidate-tag-token",w="next-resume",S=128,R=256,N=1024,P="_N_T_",j=31536e3,T=0xfffffffe,A="middleware",I=`(?:src/)?${A}`,O="proxy",C=`(?:src/)?${O}`,L="instrumentation",k="private-next-pages",D="private-dot-next",M="private-next-root-dir",H="private-next-app-dir",B="private-next-rsc-mod-ref-proxy",U="private-next-rsc-action-validate",G="private-next-rsc-server-reference",W="private-next-rsc-cache-wrapper",z="private-next-rsc-track-dynamic-import",F="private-next-rsc-action-encryption",X="private-next-rsc-action-client-wrapper",V="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",Y="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",$="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",K="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",J="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",q="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Q="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",Z="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ee="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",et="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",er='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',en="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ea=["app","pages","components","lib","src"],ei={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},es=12,eo={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},el={...eo,GROUP:{builtinReact:[eo.reactServerComponents,eo.actionBrowser],serverOnly:[eo.reactServerComponents,eo.actionBrowser,eo.instrument,eo.middleware],neutralTarget:[eo.apiNode,eo.apiEdge],clientOnly:[eo.serverSideRendering,eo.appPagesBrowser],bundled:[eo.reactServerComponents,eo.actionBrowser,eo.serverSideRendering,eo.appPagesBrowser,eo.shared,eo.instrument,eo.middleware],appPages:[eo.reactServerComponents,eo.serverSideRendering,eo.appPagesBrowser,eo.actionBrowser]}},ec={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},630655,e=>{"use strict";var t=e.i(907358),r=e.i(777616);function n(){let e=(0,r.getAppServices)();return{trackEvent:(0,t.useCallback)((t,r)=>{e.analytics.track(t,r)},[e]),trackPageview:(0,t.useCallback)(t=>{e.analytics.trackPageview(t)},[e])}}e.s(["useAnalytics",()=>n])},216033,e=>{"use strict";e.s(["AnalyticsEvents",0,{PAGE_VIEW:"pageview",PAGE_SCROLL:"page_scroll",PAGE_EXIT:"page_exit",SCROLL_DEPTH:"scroll_depth",BUTTON_CLICK:"button_click",LINK_CLICK:"link_click",FORM_SUBMIT:"form_submit",FORM_START:"form_start",FORM_ERROR:"form_error",FORM_FIELD_FOCUS:"form_field_focus",PRODUCT_VIEW:"product_view",PRODUCT_ADD_TO_CART:"product_add_to_cart",PRODUCT_REMOVE_FROM_CART:"product_remove_from_cart",PRODUCT_PURCHASE:"product_purchase",PRODUCT_WISHLIST_ADD:"product_wishlist_add",PRODUCT_WISHLIST_REMOVE:"product_wishlist_remove",PRODUCT_TAB_SWITCH:"product_tab_switch",SEARCH:"search",FILTER_APPLY:"filter_apply",FILTER_CLEAR:"filter_clear",USER_SIGNUP:"user_signup",USER_LOGIN:"user_login",USER_LOGOUT:"user_logout",USER_PROFILE_UPDATE:"user_profile_update",BLOG_POST_VIEW:"blog_post_view",VIDEO_PLAY:"video_play",VIDEO_PAUSE:"video_pause",VIDEO_COMPLETE:"video_complete",DOWNLOAD:"download",MODAL_OPEN:"modal_open",MODAL_CLOSE:"modal_close",TOGGLE_SWITCH:"toggle_switch",ACCORDION_TOGGLE:"accordion_toggle",TAB_SWITCH:"tab_switch",TOC_CLICK:"toc_click",ERROR:"error",PERFORMANCE:"performance",API_ERROR:"api_error",API_SUCCESS:"api_success",QUOTE_REQUEST:"quote_request",CONTACT_FORM_SUBMIT:"contact_form_submit",NEWSLETTER_SUBSCRIBE:"newsletter_subscribe",BROCHURE_DOWNLOAD:"brochure_download"}])},610408,e=>{"use strict";var t=e.i(452797),r=e.i(676525),n=e.i(112086);function a(e){let{data:a}=e,i=e.title||a?.title||"DIE EXPERTEN FÜR KABELTIEFBAU",s=e.subtitle||e.description||a?.subtitle||"Wir verbinden Infrastruktur mit Präzision. Von Horizontalbohrungen bis zu komplexen Leitungsnetzen.",o=e.videoUrl||a?.videoUrl||"/assets/dummy-hero.mp4",l=a?.posterImage?.url||"/assets/photos/DJI_0048.JPG";a?.posterImage?.alt;let c=e.ctaLabel||e.linkText||a?.ctaLabel||"Unternehmen entdecken",d=e.ctaHref||e.linkHref||a?.ctaHref||"#unternehmen",u=e.secondaryCtaLabel||a?.secondaryCtaLabel||"Projekt anfragen",m=e.secondaryCtaHref||a?.secondaryCtaHref||"/kontakt";return(0,t.jsxs)("div",{className:"relative w-full h-[100svh] flex items-center justify-center overflow-hidden bg-neutral-dark",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 bg-neutral-dark"}),o&&(0,t.jsx)("video",{className:"absolute inset-0 w-full h-full object-cover z-1 pointer-events-none filter contrast-125 saturate-110 brightness-90",src:o,poster:l,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[#0a192f]/30 z-[2] mix-blend-multiply"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-transparent via-black/20 to-black/80 z-[2]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-neutral-dark via-neutral-dark/60 to-transparent z-[3]"}),(0,t.jsx)("div",{className:"container relative z-[4] text-center px-4",children:(0,t.jsxs)(n.motion.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1.2,ease:[.16,1,.3,1]},children:[(0,t.jsx)("h1",{className:"font-heading font-bold text-4xl md:text-6xl lg:text-8xl text-white mb-6 uppercase tracking-tight drop-shadow-lg",dangerouslySetInnerHTML:{__html:i.replace("KABELTIEFBAU",'<span class="text-primary-light">KABELTIEFBAU</span>').replace(/\n/g,"<br />")}}),(0,t.jsx)("p",{className:"text-lg md:text-xl lg:text-2xl text-white/90 max-w-3xl mx-auto mb-12 drop-shadow",children:s}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6",children:[(0,t.jsx)(r.Button,{href:d,variant:"primary",size:"lg",children:c}),(0,t.jsx)(r.Button,{href:m,variant:"outline",size:"lg",className:"border-white/60 text-white hover:text-primary hover:bg-white",children:u})]})]})})]})}e.s(["HeroVideo",()=>a])},138557,e=>{"use strict";var t=e.i(452797),r=e.i(112086),n=e.i(663067),a=e.i(976819);let i=[{title:"E-TIB GmbH",backgroundImage:"/assets/photos/DJI_0243.JPG"},{title:"E-TIB Ingenieurgesellschaft mbH",url:"https://www.etib-ing.com/",backgroundImage:"/assets/photos/DSC01137.JPG"},{title:"NEMO GmbH",url:"https://www.nemo-gmbh.de/",backgroundImage:"/assets/photos/DJI_0048.JPG"}],s={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},o={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:[.16,1,.3,1]}}};function l(e){let{data:l}=e,c=e.badge||l?.badge,d=e.title||l?.title,u=e.companies||l?.companies,m=(0,a.usePathname)(),f=m?.startsWith("/de")??!0,h=u?.map(e=>({title:e.title,url:e.url,backgroundImage:e.backgroundImage?.url||e.backgroundImage||"/assets/photos/DJI_0243.JPG"}))||i;return(0,t.jsx)("section",{id:"unternehmen",className:"py-24 bg-neutral-dark border-b border-neutral-800",children:(0,t.jsxs)("div",{className:"container relative z-10 px-4",children:[(c||d)&&(0,t.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[c&&(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),d&&(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-white",children:d})]}),(0,t.jsx)(r.motion.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-6",variants:s,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},children:h.map((e,a)=>{let i=!e.url,s=i?{}:{href:e.url,target:"_blank",rel:"noopener noreferrer"},l=e.title.includes("E-TIB"),c=e.title.includes("Ingenieur"),d=e.title.includes("NEMO");return(0,t.jsx)(r.motion.div,{variants:o,className:"h-full",children:(0,t.jsxs)(i?"div":"a",{...s,className:`group relative overflow-hidden aspect-[4/3] flex flex-col justify-center items-center shadow-xl transition-all duration-500 bg-neutral-dark block w-full h-full sm:rounded-xl select-none ${i?"border-2 border-primary shadow-[0_0_30px_rgba(17,124,97,0.15)] cursor-default":"border border-white/5 hover:shadow-2xl hover:-translate-y-1 hover:border-white/10 cursor-pointer"}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[#0a192f] z-0",children:(0,t.jsx)(n.default,{src:e.backgroundImage,alt:"Background",fill:!0,className:`object-cover transition-all duration-1000 ease-out ${i?"opacity-30 grayscale-0 scale-105":"opacity-40 grayscale-[50%] group-hover:opacity-30 group-hover:grayscale-0 group-hover:scale-110"}`,sizes:"(max-width: 768px) 100vw, 33vw"})}),(0,t.jsx)("div",{className:`absolute inset-0 z-0 transition-colors duration-700 mix-blend-multiply ${i?"bg-gradient-to-t from-[#0a192f]/90 via-[#0a192f]/60 to-[#0a192f]/40":"bg-gradient-to-t from-[#0a192f]/90 via-[#0a192f]/60 to-[#0a192f]/40 group-hover:from-primary/90 group-hover:to-primary/20"}`}),i&&(0,t.jsx)("div",{className:"absolute top-6 right-6 z-20",children:(0,t.jsxs)("div",{className:"flex items-center space-x-2 bg-neutral-dark/80 backdrop-blur-md border border-primary/40 px-3 py-1.5 rounded-full shadow-lg",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-primary"})]}),(0,t.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-widest text-primary/90",children:f?"Aktuell hier":"You are here"})]})}),(0,t.jsx)("div",{className:"relative z-10 flex flex-col items-center justify-center w-full h-full p-8 transform group-hover:scale-105 transition-transform duration-500",children:l?(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"relative w-48 h-14 mb-2",children:(0,t.jsx)(n.default,{src:"/assets/logo-white.png",alt:"E-TIB Logo",fill:!0,className:"object-contain"})}),c&&(0,t.jsx)("div",{className:"text-white/80 tracking-[0.3em] text-xs font-semibold uppercase mt-1",children:"Ingenieurgesellschaft"})]}):d?(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"text-5xl font-heading font-black text-white tracking-tight",children:"NEMO"}),(0,t.jsx)("div",{className:"text-white/60 tracking-widest text-xs font-semibold uppercase mt-1",children:"GmbH"})]}):(0,t.jsx)("div",{className:"text-2xl font-heading font-bold text-white uppercase text-center",children:e.title})}),e.url&&(0,t.jsx)("div",{className:"absolute bottom-6 left-0 right-0 flex justify-center opacity-0 group-hover:opacity-100 transform translate-y-4 group-hover:translate-y-0 transition-all duration-500 z-20",children:(0,t.jsxs)("div",{className:"flex items-center text-white font-bold uppercase text-xs tracking-widest bg-white/10 backdrop-blur-md px-4 py-2 rounded-full border border-white/20",children:["Website Besuchen",(0,t.jsx)("svg",{className:"w-4 h-4 ml-2",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})})]})},a)})})]})})}e.s(["SubCompanyTiles",()=>l])},285997,e=>{"use strict";var t=e.i(452797),r=e.i(663067),n=e.i(112086),a=e.i(907358),i=e.i(676525);function s(e){let{data:s}=e,[o,l]=(0,a.useState)(!1);(0,a.useEffect)(()=>{l(!0)},[]);let c=e.badge||s?.badge||"Leistungsspektrum",d=e.title||s?.title||"Umfassende Lösungen für komplexe Netzwerke",u=e.ctaLabel||s?.ctaLabel||"Alle Kompetenzen ansehen",m=e.ctaHref||s?.ctaHref||"/kompetenzen",f=e.items||s?.items||[];return o?(0,t.jsx)("section",{className:"py-24 bg-neutral text-neutral-dark overflow-hidden relative",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-end mb-12",children:[(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:d})]}),(0,t.jsxs)(i.Button,{href:m,variant:"ghost",className:"mt-6 md:mt-0 bg-primary/5 hover:bg-primary/10",children:[u,(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,t.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4 auto-rows-[220px]",children:f.map((e,a)=>{let i="large"===e.size,s="medium"===e.size,o="accent"===e.size,l=e.image?.url,c="rounded-2xl overflow-hidden relative group select-none ";return(i?c+="md:col-span-2 md:row-span-2":s?c+="md:col-span-2 lg:col-span-2":o?c+="md:col-span-1 bg-primary text-white p-6 md:p-8 flex flex-col justify-center border-none shadow-md":c+="md:col-span-1",o)?(0,t.jsxs)(n.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*a},className:c,children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/30 blur-3xl rounded-full -mr-10 -mt-10 group-hover:bg-primary/50 transition-colors duration-500"}),(0,t.jsx)("h4",{className:"font-bold text-xl md:text-2xl relative z-10 leading-snug",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-white/60 text-sm mt-3 relative z-10",children:e.description})]},a):(0,t.jsxs)(n.motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.1*a},className:c,children:[!l&&(0,t.jsx)("div",{className:"absolute inset-0 bg-neutral-dark z-0 transition-colors duration-500 group-hover:bg-primary-dark"}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-white z-0",children:(0,t.jsx)(r.default,{src:l,alt:e.title||"",fill:!0,className:"object-cover opacity-90 group-hover:scale-105 group-hover:opacity-100 transition-all duration-700 ease-in-out",sizes:i?"(max-width: 768px) 100vw, 50vw":"(max-width: 768px) 100vw, 25vw"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-90 transition-opacity duration-500 z-0"})]}),(0,t.jsxs)("div",{className:"relative z-10 p-8 flex flex-col justify-end h-full text-white",children:[e.tag&&(0,t.jsx)("span",{className:"inline-block px-3 py-1 bg-primary/20 backdrop-blur-md rounded-full text-xs font-bold uppercase tracking-wider text-primary-light mb-3 w-fit border border-primary/30",children:e.tag}),(0,t.jsx)("h4",{className:`font-heading font-extrabold mb-2 ${i?"text-3xl md:text-5xl":"text-xl md:text-2xl"}`,children:e.title}),e.description&&(0,t.jsx)("p",{className:`text-white/80 ${i?"text-lg md:text-xl max-w-sm":"text-sm"}`,children:e.description})]})]},a)})})]})}):(0,t.jsx)("section",{className:"py-24 bg-neutral text-neutral-dark overflow-hidden relative",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"flex flex-col md:flex-row justify-between items-end mb-12",children:(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:d})]})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4 auto-rows-[220px]"})]})})}e.s(["CompetenceBentoGrid",()=>s])},677705,e=>{"use strict";var t=e.i(452797),r=e.i(907358),n=e.i(112086),a=e.i(184868),i=e.i(663067);function s(e){let{data:s}=e,o=e.references||[],l=r.useRef(null),[c,d]=r.useState(!1),[u,m]=r.useState(0),[f,h]=r.useState(0),p=e.badge||s?.badge||"Ausgewählte Projekte",g=e.title||s?.title||"Referenzen & Erfolge",x=e.description||s?.description||"Ein Auszug unserer erfolgreich abgeschlossenen Projekte im Bereich Kabeltiefbau, Bohrtechnik und Netzinfrastruktur.",b=e.ctaLabel||s?.ctaLabel||"Alle Referenzen ansehen",v=e.ctaHref||s?.ctaHref||"/referenzen";if(!o||0===o.length)return null;let _=["/assets/photos/DSC01123.JPG","/assets/photos/DSC00850.JPG","/assets/photos/DSC01129.JPG","/assets/photos/DSC00010.JPG"];return(0,t.jsxs)("section",{className:"py-24 bg-neutral-dark text-white overflow-hidden relative select-none",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-neutral-dark via-neutral-900 to-neutral-dark z-0"}),(0,t.jsxs)("div",{className:"container relative z-10 mb-12 flex flex-col md:flex-row justify-between items-end gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-primary-light font-bold tracking-wider uppercase text-sm mb-3",children:p}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold",children:g})]}),(0,t.jsx)("p",{className:"text-white/60 max-w-md",children:x})]}),(0,t.jsx)("div",{className:"relative z-10",children:(0,t.jsx)("div",{ref:l,onMouseDown:e=>{l.current&&(d(!0),m(e.pageX-l.current.offsetLeft),h(l.current.scrollLeft))},onMouseLeave:()=>{d(!1)},onMouseUp:()=>{d(!1)},onMouseMove:e=>{if(!c||!l.current)return;e.preventDefault();let t=e.pageX-l.current.offsetLeft;l.current.scrollLeft=f-(t-u)*2},className:`flex gap-6 overflow-x-auto pb-12 pt-4 px-[calc((100vw-min(100%,1280px))/2)] [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden ${c?"cursor-grabbing snap-none":"cursor-grab snap-x snap-mandatory"}`,children:o.map((e,r)=>{let a=e.image&&"object"==typeof e.image&&e.image.url?e.image.url:_[r%_.length];return(0,t.jsx)(n.motion.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.1*r,duration:.6,ease:"easeOut"},className:"flex-shrink-0 w-[320px] md:w-[480px] snap-center group pointer-events-auto",children:(0,t.jsxs)("div",{className:"relative aspect-[16/10] bg-neutral-800 rounded-2xl overflow-hidden mb-5 border border-white/5 shadow-2xl",children:[(0,t.jsx)(i.default,{src:a,alt:e.title,fill:!0,sizes:"(max-width: 768px) 320px, 480px",className:"object-cover saturate-50 opacity-70 group-hover:scale-105 group-hover:opacity-100 group-hover:saturate-100 transition-all duration-700 ease-in-out pointer-events-none"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent opacity-80 group-hover:opacity-90 transition-opacity duration-300 pointer-events-none"}),(0,t.jsxs)("div",{className:"absolute bottom-6 left-8 right-8 transform translate-y-4 group-hover:translate-y-0 transition-transform duration-500 pointer-events-none",children:[(0,t.jsx)("span",{className:"inline-block py-1.5 px-4 rounded-full bg-primary/30 backdrop-blur-md text-white text-xs font-bold uppercase tracking-widest mb-3 border border-primary/50",children:e.category}),(0,t.jsx)("h4",{className:"font-heading text-2xl md:text-3xl font-bold line-clamp-2",children:e.title})]})]})},e.id)})})}),(0,t.jsx)("div",{className:"container relative z-10 mt-4 flex justify-center",children:(0,t.jsxs)(a.default,{href:v,className:"px-8 py-4 rounded-xl bg-white/5 border border-white/20 hover:bg-white hover:text-neutral-dark hover:shadow-[0_0_20px_rgba(255,255,255,0.3)] transition-all font-bold flex items-center gap-3 backdrop-blur-sm",children:[b,(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,t.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})})]})}e.s(["ReferencesSlider",()=>s])},813804,e=>{"use strict";var t=e.i(452797),r=e.i(184868),n=e.i(630655),a=e.i(216033);function i({href:e,eventName:i=a.AnalyticsEvents.LINK_CLICK,eventProperties:s={},className:o,children:l,onClick:c}){let{trackEvent:d}=(0,n.useAnalytics)();return(0,t.jsx)(r.default,{href:e,className:o,onClick:()=>{try{d(i,{href:e,...s})}catch{}c&&c()},children:l})}e.s(["default",()=>i])},287980,e=>{"use strict";var t=e.i(452797),r=e.i(907358),n=e.i(112086),a=e.i(651692),i=e.i(702915),s=e.i(26809),o=e.i(470919),l=e.i(967682);function c(e,t){let r,n=()=>{let{currentTime:n}=t,a=(null===n?0:n.value)/100;r!==a&&e(a),r=a};return l.frame.preUpdate(n,!0),()=>(0,l.cancelFrame)(n)}function d(e){return!("u"<typeof window)&&(e?(0,a.supportsViewTimeline)():(0,a.supportsScrollTimeline)())}var u=e.i(460208),m=e.i(241058),f=e.i(921692);let h=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),p={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function g(e,t,r,n){let a=r[t],{length:i,position:s}=p[t],o=a.current,l=r.time;a.current=Math.abs(e[`scroll${s}`]),a.scrollLength=e[`scroll${i}`]-e[`client${i}`],a.offset.length=0,a.offset[0]=0,a.offset[1]=a.scrollLength,a.progress=(0,m.progress)(0,a.scrollLength,a.current);let c=n-l;a.velocity=c>50?0:(0,f.velocityPerSecond)(a.current-o,c)}e.i(653782);var x=e.i(498920),b=e.i(805639),v=e.i(493858),_=e.i(250438);let y={start:0,center:.5,end:1};function E(e,t,r=0){let n=0;if(e in y&&(e=y[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),r+n}let w=[0,0],S=[[0,0],[1,1]],R={x:0,y:0},N=new WeakMap,P=new WeakMap,j=new WeakMap,T=new WeakMap,A=new WeakMap,I=e=>e===document.scrollingElement?window:e;function O(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...n}={}){if(!t)return o.noop;let a=j.get(t);a||(a=new Set,j.set(t,a));let i=function(e,t,r,n={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,n.target,r),g(e,"x",r,t),g(e,"y",r,t),r.time=t,(n.offset||n.target)&&function(e,t,r){let{offset:n=S}=r,{target:a=e,axis:i="y"}=r,s="y"===i?"height":"width",o=a!==e?function(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if((0,_.isHTMLElement)(n))r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let e=n.getBoundingClientRect(),t=(n=n.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(n instanceof SVGGraphicsElement){let{x:e,y:t}=n.getBBox();r.x+=e,r.y+=t;let a=null,i=n.parentNode;for(;!a;)"svg"===i.tagName&&(a=i),i=n.parentNode;n=a}else break;return r}(a,e):R,l=a===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in a&&"svg"!==a.tagName?a.getBBox():{width:a.clientWidth,height:a.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let d=!t[i].interpolate,u=n.length;for(let e=0;e<u;e++){let r=function(e,t,r,n){let a=Array.isArray(e)?e:w,i=0;return"number"==typeof e?a=[e,e]:"string"==typeof e&&(a=(e=e.trim()).includes(" ")?e.split(" "):[e,y[e]?e:"0"]),(i=E(a[0],r,n))-E(a[1],t)}(n[e],c[s],l[s],o[i]);d||r===t[i].interpolatorOffsets[e]||(d=!0),t[i].offset[e]=r}d&&(t[i].interpolate=(0,x.interpolate)(t[i].offset,(0,b.defaultOffset)(n),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=(0,v.clamp)(0,1,t[i].interpolate(t[i].current))}(e,r,n)},notify:()=>t(r)}}(t,e,{time:0,x:h(),y:h()},n);if(a.add(i),!N.has(t)){let e=()=>{for(let e of a)e.measure(l.frameData.timestamp);l.frame.preUpdate(r)},r=()=>{for(let e of a)e.notify()},n=()=>l.frame.read(e);N.set(t,n);let i=I(t);window.addEventListener("resize",n),t!==document.documentElement&&P.set(t,(0,u.resize)(t,n)),i.addEventListener("scroll",n),n()}if(r&&!A.has(t)){let e=N.get(t),r={width:t.scrollWidth,height:t.scrollHeight};T.set(t,r);let n=l.frame.read(()=>{let n=t.scrollWidth,a=t.scrollHeight;(r.width!==n||r.height!==a)&&(e(),r.width=n,r.height=a)},!0);A.set(t,n)}let s=N.get(t);return l.frame.read(s,!1,!0),()=>{(0,l.cancelFrame)(s);let e=j.get(t);if(!e||(e.delete(i),e.size))return;let r=N.get(t);N.delete(t),r&&(I(t).removeEventListener("scroll",r),P.get(t)?.(),window.removeEventListener("resize",r));let n=A.get(t);n&&((0,l.cancelFrame)(n),A.delete(t)),T.delete(t)}}let C=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[S,"contain"]],L={start:0,end:1};function k(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of C)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=L[t[0]],n=L[t[1]];if(void 0!==r&&void 0!==n)return[r,n]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let n=r[e],a=t[e];if(n[0]!==a[0]||n[1]!==a[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let D=new Map;function M(e){let t={value:0},r=O(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function H({source:e,container:t,...r}){let{axis:n}=r;e&&(t=e);let a=D.get(t);a||(a=new Map,D.set(t,a));let i=r.target??"self",s=a.get(i);s||(s={},a.set(i,s));let o=n+(r.offset??[]).join(",");return s[o]||(r.target&&d(r.target)?k(r.offset)?s[o]=new ViewTimeline({subject:r.target,axis:n}):s[o]=M({container:t,...r}):d()?s[o]=new ScrollTimeline({source:t,axis:n}):s[o]=M({container:t,...r})),s[o]}function B(e,{axis:t="y",container:r=document.scrollingElement,...n}={}){var a,i;let s,l,u;if(!r)return o.noop;let m={axis:t,container:r,...n};return"function"==typeof e?(a=e,i=m,2===a.length?O(e=>{a(e[i.axis].progress,e)},i):c(a,H(i))):(s=H(m),l=m.target?k(m.offset):void 0,u=m.target?d(m.target)&&!!l:d(),e.attachTimeline({timeline:u?s:void 0,...l&&u&&{rangeStart:l.rangeStart,rangeEnd:l.rangeEnd},observe:e=>(e.pause(),c(t=>{e.time=e.iterationDuration*t},s))}))}var U=e.i(134174),G=e.i(736986);let W=()=>({scrollX:(0,i.motionValue)(0),scrollY:(0,i.motionValue)(0),scrollXProgress:(0,i.motionValue)(0),scrollYProgress:(0,i.motionValue)(0)}),z=e=>!!e&&!e.current;function F(e,t,r,n){return{factory:a=>B(a,{...t,axis:e,container:r?.current||void 0,target:n?.current||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}var X=e.i(753942);function V(e,t){let n=function(e){let t=(0,U.useConstant)(()=>(0,i.motionValue)(e)),{isStatic:n}=(0,r.useContext)(X.MotionConfigContext);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}(t()),a=()=>n.set(t());return a(),(0,G.useIsomorphicLayoutEffect)(()=>{let t=()=>l.frame.preRender(a,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,l.cancelFrame)(a)}}),n}function Y(e,t){let r=(0,U.useConstant)(()=>[]);return V(e,()=>{r.length=0;let n=e.length;for(let t=0;t<n;t++)r[t]=e[t].get();return t(r)})}let $=[{date:"2015",title:"Gründung der E-TIB GmbH",desc:"Gründung im brandenburgischen Guben mit Fokus auf Tiefbauarbeiten und Kabelmontagen."},{date:"Wachstum",title:"Erweiterung der Kompetenzen",desc:"Konsequenter Ausbau der Leistungen um Horizontalspülbohrungen und Kabelpflugarbeiten."},{date:"Unternehmensgruppe",title:"Zusammenschluss",desc:"Bündelung der Fachbereiche mit der NEMO GmbH und der E-TIB Ingenieurgesellschaft mbH."},{date:"Heute",title:"Die E-TIB Gruppe",desc:"Ein starker Verbund mit über 50 Mitarbeitern für bundesweite Infrastrukturprojekte."}];function K({badge:e="Unsere Geschichte",title:o="Meilensteine der Entwicklung",milestones:l=$}){let c=r.useRef(null),{scrollYProgress:d}=function({container:e,target:t,...n}={}){var i;let o=(0,U.useConstant)(W);i=n.offset,!("u"<typeof window)&&(t?(0,a.supportsViewTimeline)()&&!!k(i):(0,a.supportsScrollTimeline)())&&(o.scrollXProgress.accelerate=F("x",n,e,t),o.scrollYProgress.accelerate=F("y",n,e,t));let l=(0,r.useRef)(null),c=(0,r.useRef)(!1),d=(0,r.useCallback)(()=>(l.current=B((e,{x:t,y:r})=>{o.scrollX.set(t.current),o.scrollXProgress.set(t.progress),o.scrollY.set(r.current),o.scrollYProgress.set(r.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{l.current?.()}),[e,t,JSON.stringify(n.offset)]);return(0,G.useIsomorphicLayoutEffect)(()=>{if(c.current=!1,!(z(e)||z(t)))return d();c.current=!0},[d]),(0,r.useEffect)(()=>c.current?((0,s.invariant)(!z(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,s.invariant)(!z(t),"Target ref is defined but not hydrated","use-scroll-ref"),d()):void 0,[d]),o}({target:c,offset:["start center","end center"]}),u=function e(t,r,n,a){if("function"==typeof t){let e;return i.collectMotionValues.current=[],t(),e=V(i.collectMotionValues.current,t),i.collectMotionValues.current=void 0,e}if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof r){var s=t,o=r,l=n,c=a;let i=(0,U.useConstant)(()=>Object.keys(l)),d=(0,U.useConstant)(()=>({}));for(let t of i)d[t]=e(s,o,l[t],c);return d}let d="function"==typeof r?r:function(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],a=e[1+r],i=e[2+r],s=e[3+r],o=(0,x.interpolate)(a,i,s);return t?o(n):o}(r,n,a),u=Array.isArray(t)?Y(t,d):Y([t],([e])=>d(e)),m=Array.isArray(t)?void 0:t.accelerate;return m&&!m.isTransformed&&"function"!=typeof r&&Array.isArray(n)&&a?.clamp!==!1&&(u.accelerate={...m,times:r,keyframes:n,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),u}(d,[0,1],["0%","100%"]);return(0,t.jsx)("section",{className:"py-24 bg-white relative",children:(0,t.jsxs)("div",{className:"container max-w-4xl",children:[(0,t.jsxs)("div",{className:"text-center mb-16",children:[(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:e}),(0,t.jsx)("h3",{className:"font-heading text-4xl font-extrabold text-neutral-dark",children:o})]}),(0,t.jsxs)("div",{ref:c,className:"relative",children:[(0,t.jsx)("div",{className:"absolute left-4 md:left-1/2 top-0 bottom-0 w-1 bg-neutral-200 -translate-x-1/2 rounded-full overflow-hidden",children:(0,t.jsx)(n.motion.div,{className:"w-full bg-primary",style:{height:u}})}),(0,t.jsx)("div",{className:"space-y-12 md:space-y-0",children:l.map((e,r)=>{let a=r%2==0;return(0,t.jsxs)(n.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"relative flex flex-col w-full",children:[(0,t.jsx)("div",{className:"absolute left-4 md:left-1/2 top-8 md:top-1/2 w-6 h-6 rounded-full bg-white border-4 border-primary z-10 -translate-x-1/2 md:-translate-y-1/2 shadow-lg"}),(0,t.jsx)("div",{className:`w-full md:w-[calc(50%-2.5rem)] pl-16 md:pl-0 ${a?"md:mr-auto md:text-right":"md:ml-auto md:text-left"}`,children:(0,t.jsxs)("div",{className:"bg-neutral-50 p-6 md:p-8 rounded-2xl shadow-sm border border-neutral-100 hover:shadow-md transition-shadow relative",children:[(0,t.jsx)("span",{className:"inline-block py-1.5 px-4 rounded-full bg-primary/10 text-primary font-bold text-sm mb-4",children:e.date}),(0,t.jsx)("h4",{className:"font-heading font-bold text-2xl md:text-3xl mb-3 text-neutral-dark leading-tight",children:e.title}),(0,t.jsx)("p",{className:"text-text-secondary leading-relaxed",children:e.desc})]})})]},r)})})]})]})})}e.s(["CompanyTimeline",()=>K],287980)},919007,e=>{e.v(t=>Promise.all(["static/chunks/3ffd2a1cf95ceb60.js","static/chunks/335315091161a984.js","static/chunks/6d182a34db4f4c54.js"].map(t=>e.l(t))).then(()=>t(502456)))}]);
|
|
|
|
//# debugId=a1485ef3-30bc-0e1b-f068-99fcdc6acbf5
|