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]="ab95b797-b525-51a1-5e49-f901c84b9499")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,643531,e=>{"use strict";var t=e.i(678745);e.s(["Check",()=>t.default])},601323,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2vk3u2_kxor24.js","static/immutable/chunks/2x1s3pk421zmc.js"].map(t=>e.l(t))).then(()=>t(425095)))},402492,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(954528),r=e.i(374954);let l={started:!1,messages:[]};function i(){let[e,a]=(0,s.useState)(l),[i,n]=(0,s.useState)(""),[o,c]=(0,s.useState)(""),[d,m]=(0,s.useState)(!1),[u,p]=(0,s.useState)(!0),[g,x]=(0,s.useState)(!1),h=(0,s.useRef)(null),f=(0,s.useCallback)(async()=>{let e=await fetch("/api/helpline",{cache:"no-store"});if(!e.ok)throw Error("Conversation unavailable");a(await e.json()),p(!1)},[]);async function b(e){if(!(await fetch("/api/helpline",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw Error("Conversation unavailable")}async function j(){if(!d&&i.trim()){m(!0),x(!1);try{e.started||await b({action:"start"}),await b({action:"message",body:i}),n(""),await f()}catch{x(!0)}finally{m(!1)}}}async function v(){m(!0),x(!1);try{await b({action:"contact",email:o}),await f()}catch{x(!0)}finally{m(!1)}}return(0,s.useEffect)(()=>{f().catch(()=>{x(!0),p(!1)});let e=setInterval(()=>{"visible"===document.visibilityState&&f().catch(()=>x(!0))},1e4);return()=>clearInterval(e)},[f]),(0,s.useEffect)(()=>{h.current?.scrollIntoView({block:"nearest"})},[e.messages.length]),(0,t.jsxs)("section",{className:"space-y-4 p-4 text-foreground",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,r.t)("helpline.guest.description")}),u&&(0,t.jsx)("div",{className:"h-24 animate-pulse bg-muted","aria-label":(0,r.t)("helpline.guest.loading")}),(0,t.jsxs)("div",{role:"log","aria-live":"polite",className:"max-h-80 space-y-3 overflow-y-auto",children:[e.messages.map(e=>(0,t.jsxs)("div",{className:`border p-3 text-sm ${"guest"===e.sender_type?"ml-6 border-foreground
2/20":"mr-6 border-foreground/40 bg-muted/30"}`,children:[(0,t.jsx)("p",{className:"mb-1 text-xs text-muted-foreground",children:(0,r.t)("guest"===e.sender_type?"helpline.guest.you":"helpline.guest.team")}),(0,t.jsx)("p",{className:"whitespace-pre-wrap break-words",children:e.body})]},e.id)),(0,t.jsx)("div",{ref:h})]}),g&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-700",children:(0,r.t)("helpline.guest.error")}),e.closed?(0,t.jsx)("p",{children:(0,r.t)("helpline.guest.closed")}):(0,t.jsxs)("form",{className:"space-y-3",onSubmit:e=>{e.preventDefault(),j()},children:[(0,t.jsxs)("label",{className:"block text-sm",children:[(0,r.t)("helpline.guest.message"),(0,t.jsx)("textarea",{className:"mt-1 block min-h-24 w-full rounded-none border border-foreground/40 bg-transparent p-3",value:i,onChange:e=>n(e.target.value),maxLength:4e3,required:!0,disabled:d||u})]}),(0,t.jsx)("button",{className:"border border-foreground px-5 py-3 text-sm disabled:opacity-50",type:"submit",disabled:d||u||!i.trim(),children:(0,r.t)("helpline.guest.send")})]}),!!e.messages.length&&!e.contactSaved&&!e.closed&&(0,t.jsxs)("form",{className:"space-y-2 border-t border-foreground
2/20 pt-4",onSubmit:e=>{e.preventDefault(),v()},children:[(0,t.jsxs)("label",{className:"block text-sm text-muted-foreground",children:[(0,r.t)("helpline.guest.contact"),(0,t.jsx)("input",{className:"mt-2 block w-full rounded-none border border-foreground/40 bg-transparent p-3 text-foreground",type:"email",maxLength:254,value:o,onChange:e=>c(e.target.value),required:!0,disabled:d})]}),(0,t.jsx)("button",{type:"submit",className:"border border-foreground px-4 py-2 text-sm disabled:opacity-50",disabled:d||!o,children:(0,r.t)("helpline.guest.save")})]})]})}e.s(["StorefrontHelpline",0,function(){return!0===(0,a.useAppSetting)("exhibit.helpline-enabled",!1)?(0,t.jsx)(i,{}):null}])},269572,e=>{"use strict";var t=e.i(843476),s=e.i(703513),a=e.i(154768),r=e.i(785299),l=e.i(270474),i=e.i(361317),n=e.i(653145),o=e.i(994814),c=e.i(399583),d=e.i(944044);e.i(854637);var m=e.i(50270);let u=m.z.object({name:m.z.string().min(3,{message:(0,c.t)("fields.full_name.error")}).max(100,{message:(0,c.t)("fields.full_name.error")}),email:m.z.string().email({message:(0,c.t)("fields.email.error")}).min(3,{message:(0,c.t)("fields.email.error")}).max(100,{message:(0,c.t)("fields.email.error")}),company:m.z.string().min(3,{message:(0,c.t)("fields.company.error")}).max(100,{message:(0,c.t)("fields.company.error")}),phone:m.z.string().min(7,{message:(0,c.t)("fields.phone.error")}).max(20,{message:(0,c.t)("fields.phone.error")}),accept:m.z.boolean({required_error:"fields.accept.error"})}).passthrough();var p=e.i(33967),g=e.i(271645);e.s(["RequestACall",0,function({baseLabel:e,className:m,context:x,action:h}){let{handleSubmit:f,register:b,formState:{isSubmitting:j,isSubmitSuccessful:v,errors:y},control:w,trigger:N,reset:S,watch:k}=(0,n.useForm)({mode:"onChange",resolver:(0,o.zodResolver)(u),defaultValues:{accept:!0}}),{track:C}=(0,p.useTrackedEvent)(),_=(0,g.useRef)(!1),E=async t=>{await C("form_submit",{form_id:"request-a-call",base_label:x||e,fields_count:5}),(await h(x||e,t)).success&&S()};return(0,g.useEffect)(()=>{let t=k((t,{name:s,type:a})=>{!_.current&&s&&"change"===a&&(C("form_start",{form_id:"request-a-call",base_label:x||e,field_name:s}),_.current=!0)});return()=>t.unsubscribe()},[k,x,e,C]),(0,t.jsxs)("div",{className:(0,i.cn)("flex-1 w-full",m),children:[v&&(0,t.jsx)("div",{className:"text-center text-[2rem] my-4 font-medium",children:(0,c.t)("form.status.success")}),(0,t.jsxs)("form",{onSubmit:f(E),children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(l.Label,{htmlFor:"call-name",children:(0,c.t)("fields.name.label")}),(0,t.jsx)(a.Input,{id:"call-name",...b("name")}),(0,t.jsx)(d.ErrorMessage,{error:y?.name?.message})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.Label,{htmlFor:"call-company",children:(0,c.t)("fields.company.label")}),(0,t.jsx)(a.Input,{id:"call-company",...b("company")}),(0,t.jsx)(d.ErrorMessage,{error:y?.company?.message})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.Label,{htmlFor:"call-email",children:(0,c.t)("fields.email.label")}),(0,t.jsx)(a.Input,{id:"call-email",...b("email")}),(0,t.jsx)(d.ErrorMessage,{error:y?.email?.message})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.Label,{htmlFor:"call-phone",children:(0,c.t)("fields.phone.label")}),(0,t.jsx)(a.Input,{id:"call-phone",...b("phone")}),(0,t.jsx)(d.ErrorMessage,{error:y?.phone?.message})]})]}),(0,t.jsxs)("div",{className:"space-y-5 mt-10",children:[(0,t.jsx)(s.Button,{type:"submit",size:"lg",className:"w-full cursor-pointer",disabled:j,children:j?"Sending...":(0,c.t)(`${e}.button`)}),(0,t.jsxs)("div",{className:"flex flex-row items-center lg:items-start gap-2.5",children:[(0,t.jsx)(n.Controller,{name:"accept",control:w,render:({field:e})=>(0,t.jsx)(r.Checkbox,{id:"call-accept",checked:e.value,defaultChecked:!0,onCheckedChange:t=>{e.onChange(t),N("accept")}})}),(0,t.jsx)("label",{htmlFor:"call-accept",className:"text-xs font-medium leading-[1.4]",children:(0,c.t)(`${e}.terms`)})]}),(0,t.jsx)(d.ErrorMessage,{error:y?.accept?.message})]})]})]})}],269572)},270474,e=>{"use strict";var t=e.i(843476),s=e.i(271645);e.i(174080);var a=e.i(991918),r=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let l=(0,a.createSlot)(`Primitive.${r}`),i=s.forwardRef((e,s)=>{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?l:r,{...i,ref:s})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{}),l=s.forwardRef((e,s)=>(0,t.jsx)(r.label,{...e,ref:s,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var i=e.i(361317);e.s(["Label",0,function({className:e,...s}){return(0,t.jsx)(l,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...s})}],270474)},699139,e=>{"use strict";var t=e.i(843476),s=e.i(271645);e.s(["LucideIcon",0,function({name:a,size:r=18,className:l}
2){let[i,n]=(0,s.useState)(null);return((0,s.useEffect)(()=>{let t=a.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("");e.A(601323).then(e=>{let s=e[t];s&&n(()=>s)})},[a]),i)?(0,t.jsx)(i,{size:r,className:l}):null}])},924327,e=>{"use strict";e.s(["formatDate",0,function(e,t="pl-PL"){return new Date(e).toLocaleString(t,{year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",timeZone:"Europe/Warsaw"})}])},681967,e=>{"use strict";var t=e.i(843476),s=e.i(269572),a=e.i(399583),r=e.i(954528),l=e.i(64907);e.s(["BookACall",0,function({action:e,baseLabel:i="exhibitor.book-a-call",settingsPrefix:n=""}){let o=(0,a.createT)(n),c=(0,r.useAppSetting)(`${n}.translation-prefix`,i),d=(0,r.useAppSetting)(`${n}.form-context`,c);return(0,t.jsxs)("div",{...(0,l.sectionMarker)(n),className:"mt-[6.25rem] lg:mt-[9.375rem] bg-ebe flex flex-col lg:flex-row p-2.5 lg:p-5 gap-10 lg:gap-5",children:[(0,t.jsxs)("div",{className:"flex-1 flex flex-col gap-10 items-start lg:gap-5",children:[(0,t.jsx)("h2",{className:"text-[3.375rem] leading-none uppercase lg:text-[5.375rem] wrap-anywhere",children:o(`${c}.title`)}),(0,t.jsx)("p",{className:"text-sm leading-[1.4] lg:text-lg",children:o(`${c}.description`)})]}),(0,t.jsx)(s.RequestACall,{baseLabel:c,context:d,action:e})]})}])}]); 3 4//# debugId=ab95b797-b525-51a1-5e49-f901c84b9499
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.