5 lines
14 KiB
JavaScript
5 lines
14 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]="8fd69152-5b36-40dd-aea8-ff70fad106eb")}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)},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,size:d,variant:e="dark",align:f="left",subtitle:g,children:h,className:i,subtitleClassName:j,badgeStyle:k="industrial"}){let l=`h${a}`,m=d||String(a);return(0,c.jsxs)("div",{className:(0,b.cn)("mb-6 md:mb-8",{left:"text-left",center:"text-center mx-auto",right:"text-right"}[f],i),children:[g&&"industrial"===k&&(0,c.jsxs)("span",{className:(0,b.cn)("inline-flex items-center space-x-2 px-3 py-1.5 rounded-full mb-6 border shadow-sm text-xs font-bold uppercase tracking-widest","white"===e?"bg-white/10 text-white border-white/20":"bg-primary/5 text-primary border-primary/20",j),children:[(0,c.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,c.jsx)("span",{className:(0,b.cn)("animate-ping absolute inline-flex h-full w-full rounded-full opacity-75","white"===e?"bg-white":"bg-primary")}),(0,c.jsx)("span",{className:(0,b.cn)("relative inline-flex rounded-full h-2 w-2","white"===e?"bg-white":"bg-primary")})]}),(0,c.jsx)("span",{children:g})]}),g&&"simple"===k&&(0,c.jsx)("span",{className:(0,b.cn)("inline-block font-bold tracking-widest uppercase text-xs md:text-sm mb-3 md:mb-4 animate-fade-in","white"===e?"text-white/80":"text-accent",j),children:g}),(0,c.jsx)(l,{className:(0,b.cn)({hero:"font-heading text-4xl md:text-5xl lg:text-6xl font-black tracking-tight leading-[1.0]",section:"font-heading text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight leading-[1.1]",subsection:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight leading-[1.15]",card:"text-xl md:text-2xl font-bold leading-snug",small:"text-lg font-semibold leading-snug",1:"text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.0] tracking-tight",2:"text-xl md:text-3xl lg:text-4xl font-bold leading-[1.1] tracking-tight",3:"text-lg md:text-2xl lg:text-3xl font-bold leading-[1.15] tracking-tight",4:"text-lg md:text-xl lg:text-2xl font-bold leading-[1.2]",5:"text-base md:text-lg font-bold leading-[1.3]",6:"text-base md:text-lg font-semibold leading-[1.4]"}[m],{primary:"text-primary",neutral:"text-text-primary",white:"text-white",dark:"text-neutral-dark"}[e]),children:h})]})}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])},100249,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(297622),g=a.r(308360),h=a.r(770173)},366014,a=>{"use strict";var b=a.i(526156),c=a.i(150765),d=a.i(603836);a.i(594214);var e=a.i(912466),f=a.i(544027),g=a.i(434904),h=a.i(618180),i=a.i(781027),j=a.i(41100),k=a.i(100249);let l=(0,k.createServerReference)("406fa8a8e7f827b5ac517f1985fa7a67a217b1e6b5",k.callServer,void 0,k.findSourceMapURL,"sendContactFormAction");var m=a.i(274209),n=a.i(281682);function o(){let a=(0,d.useTranslations)("Contact"),{trackEvent:k}=(0,m.useAnalytics)(),[o,p]=(0,c.useState)("idle"),[q,r]=(0,c.useState)(!1),s=a=>{q||(r(!0),k(n.AnalyticsEvents.FORM_START,{form_id:"contact_form",form_name:"Contact"})),k(n.AnalyticsEvents.FORM_FIELD_FOCUS,{form_id:"contact_form",field_id:a})};async function t(a){a.preventDefault(),p("submitting");let b=new FormData(a.currentTarget),c=b.get("email");try{let d=await l(b);d?.success?(k("contact_form_submission",{form_type:"general",email:c}),p("success"),a.target.reset()):(console.error("Contact form submission failed:",{email:c,error:d.error}),k(n.AnalyticsEvents.FORM_ERROR,{form_id:"contact_form",error:d.error||"submission_failed"}),p("error"))}catch(a){console.error("Contact form submission error:",{email:c,error:a}),k(n.AnalyticsEvents.FORM_ERROR,{form_id:"contact_form",error:a.message||"unexpected_error"}),p("error")}}return"success"===o?(0,b.jsxs)(g.Card,{className:"p-6 md:p-12 rounded-2xl md:rounded-[40px] border-none shadow-2xl text-center",role:"alert","aria-live":"polite",children:[(0,b.jsx)("div",{className:"w-20 h-20 bg-accent rounded-full flex items-center justify-center mx-auto mb-6 shadow-lg shadow-accent/20",children:(0,b.jsx)("svg",{className:"w-10 h-10 text-primary-dark",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),(0,b.jsx)(f.Heading,{level:3,className:"mb-4",children:a("form.successTitle")||"Message Sent!"}),(0,b.jsx)("p",{className:"text-text-secondary text-lg mb-8",children:a("form.successDesc")||"Thank you for your message. We will get back to you as soon as possible."}),(0,b.jsx)(e.Button,{onClick:()=>p("idle"),variant:"saturated",children:a("form.sendAnother")||"Send another message"})]}):"error"===o?(0,b.jsxs)(g.Card,{className:"p-6 md:p-12 rounded-2xl md:rounded-[40px] border-destructive/20 shadow-2xl text-center bg-destructive/5 animate-slide-up",role:"alert","aria-live":"assertive",children:[(0,b.jsx)("div",{className:"w-20 h-20 bg-destructive rounded-full flex items-center justify-center mx-auto mb-6 shadow-lg shadow-destructive/20",children:(0,b.jsxs)("svg",{className:"w-10 h-10 text-destructive-foreground",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("line",{x1:"15",y1:"9",x2:"9",y2:"15",strokeLinecap:"round",strokeLinejoin:"round"}),(0,b.jsx)("line",{x1:"9",y1:"9",x2:"15",y2:"15",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,b.jsx)(f.Heading,{level:3,className:"mb-4 text-destructive font-black",children:a("form.errorTitle")||"Submission Failed!"}),(0,b.jsx)("p",{className:"text-destructive/80 text-lg mb-8 leading-relaxed font-medium",children:a("form.error")||"Something went wrong. Please check your input and try again."}),(0,b.jsx)(e.Button,{onClick:()=>p("idle"),variant:"destructive",size:"lg",className:"w-full",children:a("form.tryAgain")||"Try Again"})]}):(0,b.jsxs)(g.Card,{className:"p-6 md:p-12 rounded-2xl md:rounded-[40px] border-none shadow-2xl animate-slide-up",children:[(0,b.jsx)(f.Heading,{level:3,subtitle:a("form.subtitle"),className:"mb-6 md:mb-10",children:a("form.title")}),(0,b.jsxs)("form",{id:"contact-form",onSubmit:t,className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8",children:[(0,b.jsx)("input",{type:"text",name:"company_website",tabIndex:-1,autoComplete:"off",style:{display:"none"},"aria-hidden":"true"}),(0,b.jsxs)("div",{className:"space-y-1 md:space-y-2",children:[(0,b.jsx)(j.Label,{htmlFor:"contact-name",children:a("form.name")}),(0,b.jsx)(h.Input,{type:"text",id:"contact-name",name:"name",autoComplete:"name",enterKeyHint:"next",onFocus:()=>s("contact-name"),required:!0})]}),(0,b.jsxs)("div",{className:"space-y-1 md:space-y-2",children:[(0,b.jsx)(j.Label,{htmlFor:"contact-email",children:a("form.email")}),(0,b.jsx)(h.Input,{type:"email",id:"contact-email",name:"email",autoComplete:"email",inputMode:"email",enterKeyHint:"next",placeholder:a("form.emailPlaceholder"),onFocus:()=>s("contact-email"),required:!0})]}),(0,b.jsxs)("div",{className:"md:col-span-2 space-y-1 md:space-y-2",children:[(0,b.jsx)(j.Label,{htmlFor:"contact-message",children:a("form.message")}),(0,b.jsx)(i.Textarea,{id:"contact-message",name:"message",rows:4,enterKeyHint:"send",placeholder:a("form.messagePlaceholder"),onFocus:()=>s("contact-message"),required:!0})]}),(0,b.jsx)("div",{className:"md:col-span-2 pt-2 md:pt-4",children:(0,b.jsx)(e.Button,{type:"submit",variant:"saturated",size:"lg",disabled:"submitting"===o,className:"w-full shadow-xl shadow-saturated/20 md:h-16 md:px-10 md:text-xl active:scale-[0.98] transition-transform",children:"submitting"===o?(0,b.jsxs)("span",{className:"flex items-center gap-2",children:[(0,b.jsxs)("svg",{className:"animate-spin h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,b.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,b.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),a("form.submitting")||"Sending..."]}):a("form.submit")})})]})]})}a.s(["default",()=>o],366014)},648658,a=>{"use strict";var b=a.i(526156);let c=(0,a.i(411487).default)(async()=>{},{loadableGenerated:{modules:[408235]},ssr:!1,loading:()=>(0,b.jsx)("div",{className:"h-full w-full bg-neutral-medium flex items-center justify-center",children:(0,b.jsx)("div",{className:"animate-pulse text-primary font-medium",children:"Loading Map..."})})});function d({address:a,lat:d,lng:e}){return(0,b.jsx)(c,{locations:[{name:"E-TIB Gruppe",address:a,lat:d,lng:e}]})}a.s(["default",()=>d])},567784,a=>{"use strict";var b=a.i(526156),c=a.i(150765);function d({email:a,className:d="",children:e}){let[f,g]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{g(!0)},[]),f)?(0,b.jsx)("a",{href:`mailto:${a}`,className:d,children:e||a}):(0,b.jsx)("span",{className:d,"aria-hidden":"true",children:e||a.replace("@"," [at] ").replace(/\./g," [dot] ")})}a.s(["default",()=>d])},163041,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__00212f08._.js","server/chunks/ssr/node_modules__pnpm_2ad0b5ae._.js"].map(b=>a.l(b))).then(()=>b(17814)))}];
|
|
|
|
//# debugId=8fd69152-5b36-40dd-aea8-ff70fad106eb
|
|
//# sourceMappingURL=%5Broot-of-the-server%5D__b20a6437._.js.map
|