Files
e-tib.com/.next/server/chunks/ssr/[root-of-the-server]__3b46c561._.js
2026-05-07 10:43:20 +02:00

5 lines
4.6 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]="eddf81a4-faae-db8c-d575-f61aed717606")}catch(e){}}();
module.exports=[324725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},64293,(a,b,c)=>{b.exports=a.x("pino-2e79642258e38174",()=>require("pino-2e79642258e38174"))},274209,281682,a=>{"use strict";var b=a.i(150765),c=a.i(475625);function d(){let a=(0,c.getAppServices)();return{trackEvent:(0,b.useCallback)((b,c)=>{a.analytics.track(b,c)},[a]),trackPageview:(0,b.useCallback)(b=>{a.analytics.trackPageview(b)},[a])}}a.s(["useAnalytics",()=>d],274209),a.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"}],281682)},762771,a=>{"use strict";var b=a.i(526156),c=a.i(150765),d=a.i(829091),e=a.i(274209),f=a.i(281682);function g({headings:a,locale:g}){let[h,i]=(0,c.useState)(""),{trackEvent:j}=(0,e.useAnalytics)();return((0,c.useEffect)(()=>{let b=new IntersectionObserver(a=>{a.forEach(a=>{a.isIntersecting&&i(a.target.id)})},{rootMargin:"-10% 0% -70% 0%",threshold:0}),c=setTimeout(()=>{a.map(a=>document.getElementById(a.id)).forEach(a=>{a&&b.observe(a)})},500);return()=>{clearTimeout(c),b.disconnect()}},[a]),0===a.length)?null:(0,b.jsx)("nav",{className:"hidden lg:block w-full ml-12",children:(0,b.jsxs)("div",{className:"relative pl-6 border-l border-neutral-200",children:[(0,b.jsx)("h4",{className:"text-xs md:text-sm font-bold uppercase tracking-[0.2em] text-text-primary/70 mb-6",children:"de"===g?"Inhalt":"Table of Contents"}),(0,b.jsx)("ul",{className:"space-y-4",children:a.map(a=>(0,b.jsxs)("li",{style:{paddingLeft:`${(a.level-2)*1}rem`},className:"relative",children:[h===a.id&&(0,b.jsx)("div",{className:"absolute -left-[25px] top-0 w-[2px] h-full bg-primary transition-all duration-300"}),(0,b.jsx)("a",{href:`#${a.id}`,className:(0,d.cn)("text-sm md:text-base transition-all duration-300 hover:text-primary block leading-snug",h===a.id?"text-primary font-bold translate-x-1":"text-text-secondary font-medium hover:translate-x-1"),onClick:b=>{b.preventDefault();let c=document.getElementById(a.id);if(c){j(f.AnalyticsEvents.TOC_CLICK,{heading_id:a.id,heading_text:a.text,location:"blog_sidebar"});let b=c.getBoundingClientRect().top+window.pageYOffset+-100;window.scrollTo({top:b,behavior:"smooth"})}},children:a.text.replace(/\*\*(.*?)\*\*/g,"$1")})]},a.id))})]})})}a.s(["default",()=>g])},679329,a=>{"use strict";var b=a.i(150765),c=a.i(274209),d=a.i(281682);function e({title:a,slug:e,category:f,readingTime:g}){let{trackEvent:h}=(0,c.useAnalytics)();return(0,b.useEffect)(()=>{h(d.AnalyticsEvents.BLOG_POST_VIEW,{title:a,slug:e,category:f,estimated_reading_time:g,location:"blog_post_pdp"});let b=Date.now();return()=>{let c=Math.round((Date.now()-b)/1e3);h("blog_dwell_time",{title:a,slug:e,seconds:c,reading_time_completion:Math.min(100,Math.round(c/(60*g)*100))})}},[a,e,f,g,h]),null}a.s(["default",()=>e])},163041,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__a965d2a8._.js","server/chunks/ssr/node_modules__pnpm_2ad0b5ae._.js"].map(b=>a.l(b))).then(()=>b(17814)))}];
//# debugId=eddf81a4-faae-db8c-d575-f61aed717606
//# sourceMappingURL=%5Broot-of-the-server%5D__3b46c561._.js.map