refactor: enforce global Button component usage across all files (Header, Forms, Grids, MDX)

Former-commit-id: aa55620667a28e5c00ab2603da6ea6dc1e1c5ecf
This commit is contained in:
2026-05-07 11:40:47 +02:00
parent 055f6009d4
commit b393bba073
341 changed files with 885 additions and 877 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
;!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]="02c703dd-0350-4756-86f2-da006024e9f6")}catch(e){}}();
module.exports=[500874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},994367,a=>{a.n(a.i(216893))},298936,a=>{a.n(a.i(55385))},711681,a=>{a.n(a.i(539051))},153884,a=>{a.n(a.i(932922))},727894,a=>{a.n(a.i(787368))},530419,a=>{a.n(a.i(627641))},999040,a=>{a.n(a.i(144505))},727501,a=>{a.n(a.i(825138))},25341,a=>{"use strict";var b=a.i(522734),c=a.i(814747),d=a.i(328860);let e=c.default.join(process.cwd(),"content");async function f(a,f){let g=c.default.join(e,a,`${f}.mdx`);if(!b.default.existsSync(g))return null;let h=b.default.readFileSync(g,"utf8"),{content:i,data:j}=(0,d.default)(h);return{content:i,frontmatter:j}}a.s(["getMdxContent",()=>f])},486180,a=>a.a(async(b,c)=>{try{var d=a.i(998511),e=a.i(838742);a.i(612641);var f=a.i(909547),g=a.i(25341),h=a.i(403492),i=a.i(460095),j=a.i(490907),k=a.i(422515),l=a.i(175670),m=b([h]);[h]=m.then?(await m)():m;let p={HomeHero:i.HeroVideo,HomeSubCompanyTiles:j.SubCompanyTiles,HomeCompetenceBentoGrid:k.CompetenceBentoGrid,HomeReferencesSlider:l.ReferencesSlider};async function n(a){let{locale:b}=await a.params;if("de"!==b&&"en"!==b)return{};let c=await (0,g.getMdxContent)(b,"home");return{title:c?.frontmatter?.title||("de"===b?"Startseite":"Home"),description:c?.frontmatter?.description}}async function o(a){let{locale:b}=await a.params;"de"!==b&&"en"!==b&&(0,f.notFound)(),(0,e.setRequestLocale)(b);let c=await (0,g.getMdxContent)(b,"home");return c||(0,f.notFound)(),(0,d.jsx)("main",{children:(0,d.jsx)(h.MDXRemote,{source:c.content,components:p})})}a.s(["default",()=>o,"dynamic",0,"force-dynamic","generateMetadata",()=>n]),c()}catch(a){c(a)}},!1)];
;!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]="6ac54d20-dc34-41af-4151-8a084536c0d2")}catch(e){}}();
module.exports=[500874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},994367,a=>{a.n(a.i(216893))},298936,a=>{a.n(a.i(55385))},711681,a=>{a.n(a.i(539051))},153884,a=>{a.n(a.i(932922))},727894,a=>{a.n(a.i(787368))},530419,a=>{a.n(a.i(627641))},999040,a=>{a.n(a.i(144505))},727501,a=>{a.n(a.i(825138))},25341,a=>{"use strict";var b=a.i(522734),c=a.i(814747),d=a.i(328860);let e=c.default.join(process.cwd(),"content");async function f(a,f){let g=c.default.join(e,a,`${f}.mdx`);if(!b.default.existsSync(g))return null;let h=b.default.readFileSync(g,"utf8"),{content:i,data:j}=(0,d.default)(h);return{content:i,frontmatter:j}}a.s(["getMdxContent",()=>f])},486180,a=>a.a(async(b,c)=>{try{var d=a.i(998511),e=a.i(838742);a.i(612641);var f=a.i(909547),g=a.i(25341),h=a.i(403492),i=a.i(460095),j=a.i(490907),k=a.i(422515),l=a.i(175670),m=a.i(401719),n=b([h]);[h]=n.then?(await n)():n;let q={HomeHero:i.HeroVideo,HomeSubCompanyTiles:j.SubCompanyTiles,HomeCompetenceBentoGrid:k.CompetenceBentoGrid,HomeReferencesSlider:l.ReferencesSlider,Button:m.Button};async function o(a){let{locale:b}=await a.params;if("de"!==b&&"en"!==b)return{};let c=await (0,g.getMdxContent)(b,"home");return{title:c?.frontmatter?.title||("de"===b?"Startseite":"Home"),description:c?.frontmatter?.description}}async function p(a){let{locale:b}=await a.params;"de"!==b&&"en"!==b&&(0,f.notFound)(),(0,e.setRequestLocale)(b);let c=await (0,g.getMdxContent)(b,"home");return c||(0,f.notFound)(),(0,d.jsx)("main",{children:(0,d.jsx)(h.MDXRemote,{source:c.content,components:q})})}a.s(["default",()=>p,"dynamic",0,"force-dynamic","generateMetadata",()=>o]),c()}catch(a){c(a)}},!1)];
//# debugId=02c703dd-0350-4756-86f2-da006024e9f6
//# debugId=6ac54d20-dc34-41af-4151-8a084536c0d2
//# sourceMappingURL=%5Broot-of-the-server%5D__2e5112e6._.js.map

View File

@@ -1,7 +1,7 @@
{
"version": 3,
"sources": [],
"debugId": "02c703dd-0350-4756-86f2-da006024e9f6",
"debugId": "6ac54d20-dc34-41af-4151-8a084536c0d2",
"sections": [
{"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["../../../../lib/mdx.ts","../../../../app/%5Blocale%5D/page.tsx"],"sourcesContent":["import fs from 'fs';\nimport path from 'path';\nimport matter from 'gray-matter';\n\nconst CONTENT_DIR = path.join(process.cwd(), 'content');\n\nexport async function getMdxContent(locale: string, slug: string) {\n const filePath = path.join(CONTENT_DIR, locale, `${slug}.mdx`);\n \n if (!fs.existsSync(filePath)) {\n return null;\n }\n\n const source = fs.readFileSync(filePath, 'utf8');\n const { content, data } = matter(source);\n\n return {\n content,\n frontmatter: data,\n };\n}\n","import { Metadata } from 'next';\nimport { setRequestLocale } from 'next-intl/server';\nimport { notFound } from 'next/navigation';\nimport { getMdxContent } from '@/lib/mdx';\nimport { MDXRemote } from 'next-mdx-remote/rsc';\n\nexport const dynamic = 'force-dynamic';\n\n// Import components used in MDX\nimport { HeroVideo as HomeHero } from '@/components/blocks/HeroVideo';\nimport { SubCompanyTiles as HomeSubCompanyTiles } from '@/components/blocks/SubCompanyTiles';\nimport { CompetenceBentoGrid as HomeCompetenceBentoGrid } from '@/components/blocks/CompetenceBentoGrid';\nimport { ReferencesSlider as HomeReferencesSlider } from '@/components/blocks/ReferencesSlider';\n\nconst mdxComponents = {\n HomeHero,\n HomeSubCompanyTiles,\n HomeCompetenceBentoGrid,\n HomeReferencesSlider,\n};\n\nexport async function generateMetadata(props: any): Promise<Metadata> {\n const { locale } = await props.params;\n if (locale !== 'de' && locale !== 'en') return {};\n \n const mdx = await getMdxContent(locale, 'home');\n \n return {\n title: mdx?.frontmatter?.title || (locale === 'de' ? 'Startseite' : 'Home'),\n description: mdx?.frontmatter?.description,\n };\n}\n\nexport default async function Home(props: any) {\n const { locale } = await props.params;\n \n if (locale !== 'de' && locale !== 'en') {\n notFound();\n }\n \n setRequestLocale(locale);\n\n const mdx = await getMdxContent(locale, 'home');\n\n if (!mdx) {\n notFound();\n }\n\n return (\n <main>\n <MDXRemote source={mdx.content} components={mdxComponents} />\n </main>\n );\n}\n\n"],"names":[],"mappings":"seAAA,IAAA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QAEA,IAAM,EAAc,EAAA,OAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAI,WAEtC,eAAe,EAAc,CAAc,CAAE,CAAY,EAC9D,IAAM,EAAW,EAAA,OAAI,CAAC,IAAI,CAAC,EAAa,EAAQ,CAAA,EAAG,EAAK,IAAI,CAAC,EAE7D,GAAI,CAAC,EAAA,OAAE,CAAC,UAAU,CAAC,GACjB,OAAO,CADqB,IAI9B,IAAM,EAAS,EAAA,OAAE,CAAC,YAAY,CAAC,EAAU,QACnC,SAAE,CAAO,MAAE,CAAI,CAAE,CAAG,CAAA,EAAA,EAAA,OAAA,AAAM,EAAC,GAEjC,MAAO,SACL,EACA,YAAa,CACf,CACF,gFCnBA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,CAAA,CAAA,QAAA,IAAA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,QAKA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,0CAEA,IAAM,EAAgB,CACpB,SAAA,EAAA,SAAQ,CACR,oBAAA,EAAA,eAAmB,CACnB,wBAAA,EAAA,mBAAuB,CACvB,qBAAA,EAAA,gBAAoB,AACtB,EAEO,eAAe,EAAiB,CAAU,EAC/C,GAAM,QAAE,CAAM,CAAE,CAAG,MAAM,EAAM,MAAM,CACrC,GAAe,OAAX,GAAmB,AAAW,SAAM,MAAO,CAAC,EAEhD,IAAM,EAAM,MAAM,CAAA,EAAA,EAAA,aAAA,AAAa,EAAC,EAAQ,QAExC,MAAO,CACL,MAAO,GAAK,aAAa,QAAU,AAAW,CAAZ,QAAmB,aAAe,MAAA,CAAM,CAC1E,YAAa,GAAK,aAAa,WACjC,CACF,CAEe,eAAe,EAAK,CAAU,EAC3C,GAAM,QAAE,CAAM,CAAE,CAAG,MAAM,EAAM,MAAM,CAEtB,OAAX,GAAmB,AAAW,MAAM,IACtC,CAAA,EAAA,EAAA,QAAA,AAAQ,IAGV,CAAA,EAAA,EAAA,gBAAA,AAAgB,EAAC,GAEjB,IAAM,EAAM,MAAM,CAAA,EAAA,EAAA,aAAA,AAAa,EAAC,EAAQ,QAMxC,OAJI,AAAC,GACH,CAAA,CADQ,CACR,EAAA,QAAA,AAAQ,IAIR,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,UACC,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,SAAS,CAAA,CAAC,OAAQ,EAAI,OAAO,CAAE,WAAY,KAGlD,kCA/CuB"}}]
{"offset": {"line": 1, "column": 0}, "map": {"version":3,"sources":["../../../../lib/mdx.ts","../../../../app/%5Blocale%5D/page.tsx"],"sourcesContent":["import fs from 'fs';\nimport path from 'path';\nimport matter from 'gray-matter';\n\nconst CONTENT_DIR = path.join(process.cwd(), 'content');\n\nexport async function getMdxContent(locale: string, slug: string) {\n const filePath = path.join(CONTENT_DIR, locale, `${slug}.mdx`);\n \n if (!fs.existsSync(filePath)) {\n return null;\n }\n\n const source = fs.readFileSync(filePath, 'utf8');\n const { content, data } = matter(source);\n\n return {\n content,\n frontmatter: data,\n };\n}\n","import { Metadata } from 'next';\nimport { setRequestLocale } from 'next-intl/server';\nimport { notFound } from 'next/navigation';\nimport { getMdxContent } from '@/lib/mdx';\nimport { MDXRemote } from 'next-mdx-remote/rsc';\n\nexport const dynamic = 'force-dynamic';\n\n// Import components used in MDX\nimport { HeroVideo as HomeHero } from '@/components/blocks/HeroVideo';\nimport { SubCompanyTiles as HomeSubCompanyTiles } from '@/components/blocks/SubCompanyTiles';\nimport { CompetenceBentoGrid as HomeCompetenceBentoGrid } from '@/components/blocks/CompetenceBentoGrid';\nimport { ReferencesSlider as HomeReferencesSlider } from '@/components/blocks/ReferencesSlider';\n\nimport { Button } from '@/components/ui/Button';\n\nconst mdxComponents = {\n HomeHero,\n HomeSubCompanyTiles,\n HomeCompetenceBentoGrid,\n HomeReferencesSlider,\n Button,\n};\n\nexport async function generateMetadata(props: any): Promise<Metadata> {\n const { locale } = await props.params;\n if (locale !== 'de' && locale !== 'en') return {};\n \n const mdx = await getMdxContent(locale, 'home');\n \n return {\n title: mdx?.frontmatter?.title || (locale === 'de' ? 'Startseite' : 'Home'),\n description: mdx?.frontmatter?.description,\n };\n}\n\nexport default async function Home(props: any) {\n const { locale } = await props.params;\n \n if (locale !== 'de' && locale !== 'en') {\n notFound();\n }\n \n setRequestLocale(locale);\n\n const mdx = await getMdxContent(locale, 'home');\n\n if (!mdx) {\n notFound();\n }\n\n return (\n <main>\n <MDXRemote source={mdx.content} components={mdxComponents} />\n </main>\n );\n}\n\n"],"names":[],"mappings":"seAAA,IAAA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QAEA,IAAM,EAAc,EAAA,OAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAI,WAEtC,eAAe,EAAc,CAAc,CAAE,CAAY,EAC9D,IAAM,EAAW,EAAA,OAAI,CAAC,IAAI,CAAC,EAAa,EAAQ,CAAA,EAAG,EAAK,IAAI,CAAC,EAE7D,GAAI,CAAC,EAAA,OAAE,CAAC,UAAU,CAAC,GACjB,OAAO,CADqB,IAI9B,IAAM,EAAS,EAAA,OAAE,CAAC,YAAY,CAAC,EAAU,QACnC,SAAE,CAAO,MAAE,CAAI,CAAE,CAAG,CAAA,EAAA,EAAA,OAAA,AAAM,EAAC,GAEjC,MAAO,SACL,EACA,YAAa,CACf,CACF,gFCnBA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,CAAA,CAAA,QAAA,IAAA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,QAKA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QAEA,EAAA,EAAA,CAAA,CAAA,0CAEA,IAAM,EAAgB,CACpB,SAAA,EAAA,SAAQ,CACR,oBAAA,EAAA,eAAmB,CACnB,wBAAA,EAAA,mBAAuB,CACvB,qBAAA,EAAA,gBAAoB,CACpB,OAAA,EAAA,MAAM,AACR,EAEO,eAAe,EAAiB,CAAU,EAC/C,GAAM,QAAE,CAAM,CAAE,CAAG,MAAM,EAAM,MAAM,CACrC,GAAe,OAAX,GAA8B,OAAX,EAAiB,MAAO,CAAC,EAEhD,IAAM,EAAM,MAAM,CAAA,EAAA,EAAA,aAAA,AAAa,EAAC,EAAQ,QAExC,MAAO,CACL,MAAO,GAAK,aAAa,QAAqB,AAAX,CAAD,QAAmB,aAAe,MAAA,CAAM,CAC1E,YAAa,GAAK,aAAa,WACjC,CACF,CAEe,eAAe,EAAK,CAAU,EAC3C,GAAM,QAAE,CAAM,CAAE,CAAG,MAAM,EAAM,MAAM,AAEtB,QAAX,GAA8B,MAAM,CAAjB,GACrB,CAAA,EAAA,EAAA,QAAQ,AAAR,IAGF,CAAA,EAAA,EAAA,gBAAA,AAAgB,EAAC,GAEjB,IAAM,EAAM,MAAM,CAAA,EAAA,EAAA,aAAA,AAAa,EAAC,EAAQ,QAMxC,OAJI,AAAC,GACH,CAAA,CADQ,CACR,EAAA,QAAA,AAAQ,IAIR,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,UACC,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,SAAS,CAAA,CAAC,OAAQ,EAAI,OAAO,CAAE,WAAY,KAGlD,kCAlDuB"}}]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
;!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)))}];
;!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]="444399ca-aa81-f3e3-3e63-3e6d608aaeed")}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]__cf9f2fa5._.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
//# debugId=444399ca-aa81-f3e3-3e63-3e6d608aaeed
//# sourceMappingURL=%5Broot-of-the-server%5D__4f559f29._.js.map

View File

@@ -0,0 +1,5 @@
;!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]="4cc68a43-210c-06a5-31e7-cc9bb07c50eb")}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)},163041,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__0acb6d60._.js","server/chunks/ssr/node_modules__pnpm_2ad0b5ae._.js"].map(b=>a.l(b))).then(()=>b(17814)))}];
//# debugId=4cc68a43-210c-06a5-31e7-cc9bb07c50eb
//# sourceMappingURL=%5Broot-of-the-server%5D__515fce6c._.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +0,0 @@
;!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]="3b15d80d-f91e-485f-9d50-c98d09c50d67")}catch(e){}}();
module.exports=[224354,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/Scribble.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Scribble.tsx <module evaluation>","default")},404449,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/Scribble.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/Scribble.tsx","default")},77716,a=>{"use strict";a.i(224354);var b=a.i(404449);a.n(b)},224650,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/ClientNotFoundTracker.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/analytics/ClientNotFoundTracker.tsx <module evaluation>","default")},588684,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(860211).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/analytics/ClientNotFoundTracker.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/analytics/ClientNotFoundTracker.tsx","default")},230492,a=>{"use strict";a.i(224650);var b=a.i(588684);a.n(b)},825138,a=>{"use strict";var b=a.i(998511),c=a.i(183751);a.i(280896);var d=a.i(873035),e=a.i(401719),f=a.i(277870),g=a.i(77716),h=a.i(230492);async function i(){console.log("--- NOT FOUND RENDERED ---");let a=await (0,c.getTranslations)("Error.notFound");return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("script",{dangerouslySetInnerHTML:{__html:"document.body.setAttribute('data-force-solid-header', 'true');"}}),(0,b.jsx)(h.default,{path:""}),(0,b.jsxs)(d.Container,{className:"relative py-32 mt-16 flex flex-col items-center justify-center text-center min-h-[70vh] overflow-hidden",children:[(0,b.jsx)("div",{className:"absolute inset-0 -z-10 opacity-[0.03] pointer-events-none flex items-center justify-center",children:(0,b.jsx)("span",{className:"text-[20rem] font-bold select-none",children:"404"})}),(0,b.jsxs)("div",{className:"relative mb-8",children:[(0,b.jsx)(f.Heading,{level:1,className:"text-6xl md:text-8xl font-bold mb-2",children:"404"}),(0,b.jsx)(g.default,{variant:"circle",className:"w-[150%] h-[150%] -top-[25%] -left-[25%] text-accent/40"})]}),(0,b.jsx)(f.Heading,{level:2,className:"text-2xl md:text-3xl font-bold mb-4 text-primary",children:a("title")}),(0,b.jsx)("p",{className:"text-text-secondary mb-10 max-w-md text-lg mx-auto",children:a("description")}),null,(0,b.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,b.jsx)(e.Button,{href:"/",variant:"accent",size:"lg",children:a("cta")}),(0,b.jsx)(e.Button,{href:"/contact",variant:"outline",size:"lg",children:"Contact Support"})]}),(0,b.jsx)("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 w-px h-24 bg-gradient-to-t from-accent/50 to-transparent"})]})]})}a.s(["default",()=>i])}];
//# debugId=3b15d80d-f91e-485f-9d50-c98d09c50d67
//# sourceMappingURL=_49a7ffbe._.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
;!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]="122ff4db-1085-033c-17d6-59e9147695e0")}catch(e){}}();
module.exports=[594214,90695,5515,544027,434904,618180,781027,41100,a=>{"use strict";var b=a.i(829091);a.i(912466);var c=a.i(526156);function d({className:a,children:d,...e}){return(0,c.jsx)("section",{className:(0,b.cn)("py-16 md:py-28 lg:py-36 overflow-hidden content-visibility-auto",a),...e,children:d})}function e({className:a,children:d,...e}){return(0,c.jsx)("div",{className:(0,b.cn)("container mx-auto px-4 md:px-12 lg:px-16 max-w-7xl",a),...e,children:d})}function f({level:a=2,children:d,className:e,subtitle:f,align:g="left"}){let h=`h${a}`;return(0,c.jsxs)("div",{className:(0,b.cn)("mb-6 md:mb-12 text-primary",{left:"text-left",center:"text-center mx-auto",right:"text-right"}[g],e),children:[f&&(0,c.jsx)("span",{className:"inline-block text-accent font-bold tracking-widest uppercase text-xs md:text-sm mb-3 md:mb-4 animate-fade-in",children:f}),(0,c.jsx)(h,{className:(0,b.cn)({1:"text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.1] tracking-tight",2:"text-xl md:text-3xl lg:text-4xl font-bold leading-[1.2] tracking-tight",3:"text-lg md:text-2xl lg:text-3xl font-bold leading-[1.3] tracking-tight",4:"text-lg md:text-xl lg:text-2xl font-bold leading-[1.4]",5:"text-base md:text-lg font-bold leading-[1.5]",6:"text-base md:text-lg font-semibold leading-[1.6]"}[a]),children:d})]})}function g({className:a,children:d,tag:e="div",...f}){return(0,c.jsx)(e,{className:(0,b.cn)("premium-card overflow-hidden",a),...f,children:d})}function h({className:a,...d}){return(0,c.jsx)("input",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg",a),...d})}function i({className:a,...d}){return(0,c.jsx)("textarea",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg resize-none",a),...d})}function j({className:a,...d}){return(0,c.jsx)("label",{className:(0,b.cn)("text-[10px] md:text-xs font-extrabold text-primary uppercase tracking-widest",a),...d})}a.s(["Section",()=>d],90695),a.s(["Container",()=>e],5515),a.s(["Heading",()=>f],544027),a.s(["Card",()=>g],434904),a.s(["Input",()=>h],618180),a.s(["Textarea",()=>i],781027),a.s(["Label",()=>j],41100),a.s([],594214)},188457,a=>{"use strict";var b=a.i(526156),c=a.i(150765);a.i(594214);var d=a.i(829091);function e({children:a,className:e,threshold:f=.1,delay:g=0}){let[h,i]=(0,c.useState)(!1),j=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let a=new IntersectionObserver(([b])=>{b.isIntersecting&&(i(!0),a.unobserve(b.target))},{threshold:f}),b=j.current;return b&&a.observe(b),()=>{b&&a.unobserve(b)}},[f]),(0,b.jsx)("div",{ref:j,className:(0,d.cn)("reveal-on-scroll",h&&"is-visible",e),style:{transitionDelay:`${g}ms`},children:a})}a.s(["default",()=>e])},281104,a=>{"use strict";var b=a.i(150765),c=a.i(5423);function d({currentPage:a,totalPages:d,locale:e}){let f=(0,c.useRouter)();return(0,b.useEffect)(()=>{let b=b=>{document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA"&&document.activeElement?.tagName!=="SELECT"&&("ArrowLeft"===b.key&&a>1?f.push(`/${e}/blog?page=${a-1}`):"ArrowRight"===b.key&&a<d&&f.push(`/${e}/blog?page=${a+1}`))};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[a,d,e,f]),null}a.s(["BlogPaginationKeyboardObserver",()=>d])}];
//# debugId=122ff4db-1085-033c-17d6-59e9147695e0
//# sourceMappingURL=components_5d55bae9._.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long