PageSourceSearch

https://www.istitutoats.com/_next/static/chunks/8651-a982b962a70827dd.js

js istitutoats.com collected 2026-10-09 05:17:25 UTC 113,957 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8651],{34624:function(e,l,a){a.d(l,{p:function(){return u}});var t=a(31549),s=a(44194),i=a(79744),r=a(32975),n=a(61398),o=a.n(n);a(63994),a(64227);var d=a(83595),c=a(94850);let m={"layout-1":e=>{let{data:l,...a}=e,{containerSize:n}=l,{authors:d}=a.odooDetails.odooData;return(0,t.jsx)(t.Fragment,{children:null==d?void 0:d.map((e,l)=>{let{name:a,picture:d,curriculum:m,timestamp:u}=e;return(0,t.jsx)(s.Fragment,{children:(0,t.jsxs)(i.T,{className:"mt-8 lg:mt-16 gap-y-8 px-6 child-gradient",size:null!=n?n:"small",children:[d&&(0,t.jsxs)("div",{className:"col-span-12 md:col-span-3 relative bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit",children:[(0,t.jsx)(o(),{src:d,alt:a,width:400,height:400,className:"rounded-lg"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-9 ",children:[a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title mb-5",content:a}),m&&(0,t.jsxs)("div",{className:"max-h-[200px] overflow-hidden relative author-bio-".concat(l),children:[(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",content:m}),(0,t.jsx)("div",{className:"author-bio-gradient absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white dark:from-black from-10% via-white/20 dark:via-black/20  via-35%"})]}),(0,t.jsx)(c.x,{href:"#",link:{title:"Leggi di pi\xf9",layout:"button-primary button-small"},className:"inline-block author-show-bio author-show-bio-".concat(l),onClick:e=>{e.preventDefault();let a=document.querySelector(".author-bio-"+l),t=null==a?void 0:a.querySelector(".author-bio-gradient"),s=document.querySelector(".author-show-bio-"+l);if(a){if(a.classList.toggle("max-h-[200px]"),null==t||t.classList.toggle("bg-gradient-to-t"),!s)return;s.textContent=s.classList.contains("show-less")?"Leggi di pi\xf9":"Riduci",s.classList.toggle("show-less")}}},"bio-read-more-".concat(l))]})]})},l)})})},"layout-2":e=>{let{data:l,...a}=e,{containerSize:n}=l,{authors:c}=a.odooDetails.odooData,m=(0,s.useRef)(null),u=(null==c?void 0:c.length)||3;return(0,t.jsxs)(i.T,{size:null!=n?n:"medium",className:"px-6 gap-y-8 child-gradient justify-center items-center authors-slider-container relative",children:[(0,t.jsx)(o(),{src:"../../../assets/images/carousel-right.svg",alt:"arrow",width:50,height:50,className:"author-slider-right-arrow",onClick:()=>{var e;null===(e=m.current)||void 0===e||e.slickNext()}}),(0,t.jsx)(o(),{src:"../../../assets/images/carousel-left.svg",alt:"arrow",width:50,height:50,className:"author-slider-left-arrow",onClick:()=>{var e;null===(e=m.current)||void 0===e||e.slickPrev()}}),(0,t.jsx)(d.Z,{ref:m,dots:!1,infinite:!0,speed:1e3,slidesToShow:u>=3?3:u,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!1,initialSlide:0,arrows:!1,responsive:[{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}],className:"col-span-12 authors-slider",children:null==c?void 0:c.map((e,l)=>{let{name:a,picture:s,excerpt:n,timestamp:d}=e;return(0,t.jsx)("div",{className:"rounded-lg overflow-hidden isolate relative h-full",children:(0,t.jsxs)(i.E,{className:"flex-col gap-4 relative h-full",children:[(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit relative",children:[s&&(0,t.jsx)(o(),{src:s,alt:a,width:650,height:650,className:"rounded-lg"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsxs)("div",{children:[a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title mb-5 ",content:a}),n&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5 line-clamp-2",content:n})]})]})},l)})})]})}};var u=e=>{let{data:l,...a}=e,{layout:s}=l,{authors:i}=a.odooDetails.odooData;if(!i)return null;let r=m[s||"layout-1"];return(0,t.jsx)(r,{data:l,...a})}},40017:function(e,l,a){var t=a(31549);a(44194);var s=a(32975),i=a(94850),r=a(61398),n=a.n(r),o=a(84025),d=a.n(o),c=a(72443),m=a(54684);l.Z=e=>{var l,a;let{data:r}=e,{image:o,title:u,excerpt:x,slug:h,date:p}=r,g=new Date(p),v=d()(g).format("DD MMMM yyyy");return(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[o&&(0,t.jsxs)("div",{className:"relative aspect-video rounded-lg overflow-hidden isolate flex items-center justify-center ",children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 z-10 p-2",children:(0,t.jsx)(n(),{src:"/".concat(m.X_,"/circle-logo-mini.svg"),alt:"Logo",width:36,height:36,className:"rounded-full bg-dark w-10 h-10 "})}),(0,t.jsx)(i.x,{link:{title:" "},href:"/articoli/".concat(h),className:"",children:(null==o?void 0:o.mediaItemUrl)?(0,t.jsx)(n(),{src:o.mediaItemUrl,alt:o.altText||u||"",width:Number(null===(l=o.mediaDetails)||void 0===l?void 0:l.width)||
1600,height:Number(null===(a=o.mediaDetails)||void 0===a?void 0:a.height)||318,className:"object-contain"}):(0,t.jsx)(n(),{src:c.Z,alt:o.altText||u||"",width:600,height:600,className:"object-contain"})}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsxs)("div",{className:"mt-4",children:[p&&(0,t.jsx)(s.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-3 block",content:v}),u&&(0,t.jsx)(s.Z,{tag:"h3",className:"text-md font-semibold mb-5",content:u}),x&&(0,t.jsx)(s.Z,{tag:"p",className:"text-sm font-normal mb-5 line-clamp-3",content:x})]}),h&&(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)(i.x,{link:{title:"Leggi di pi\xf9"},href:"/articoli/".concat(h),className:"inline-flex w-full justify-center rounded-md bg-[#5AC05A] px-2 p-1 text-md font-semibold text-white shadow-sm hover:brightness-125 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"})})]})}},78262:function(e,l,a){a.d(l,{X:function(){return d}});var t=a(31549);a(44194);var s=a(32975),i=a(79744),r=a(94850),n=a(61398),o=a.n(n),d=e=>{var l,a;let{data:n,children:d,...c}=e,{title:m,description:u,sectionLinks:x,dark:h,hasGradient:p,containerSize:g,contrast:v,sectionWithNegativeMargin:f,isFullHeight:j,sectionBackground:b,customSectionId:y,hideOnMobile:N}=n;return c.className=[c.className,h&&"dark",h&&p&&"section-gradient",!h&&p&&v&&"child-gradient",f&&"mt-[-100px]","relative",j&&"min-h-screen flex justify-center items-center",N&&"hidden md:block"].filter(Boolean).join(" "),(0,t.jsxs)("section",{...c,children:[(0,t.jsxs)("div",{className:"dark:bg-dark py-8 xl:py-12 overflow-hidden isolate absolute top-0 left-0 w-full h-full -z-10",children:[(null==b?void 0:b.mediaItemUrl)&&(0,t.jsx)(o(),{src:b.mediaItemUrl,alt:b.altText||m||"",width:(null===(l=b.mediaDetails)||void 0===l?void 0:l.width)||1920,height:(null===(a=b.mediaDetails)||void 0===a?void 0:a.height)||1080,className:"absolute inset-0 -z-10 h-full w-full object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-30 h-full w-full pxn-section-gradient bg-gradient-radial from-slate-800 to-black to-70%"})]}),(0,t.jsxs)("div",{className:"dark:text-white ".concat(f?"":"py-8 xl:py-12 "," "),children:[m||u||x&&x.length>0?(0,t.jsxs)(i.T,{size:"large"===g?"medium":g,className:"pxn-grid border-b border-gray md-3 px-6 mb-8 lg:mb-16 z-20 relative",children:[m&&(0,t.jsx)("div",{className:"lg:col-span-6 lg:border-r border-gray py-5 lg:py-10 pr-2",children:(0,t.jsx)(s.Z,{tag:"h2",className:"text-2xl lg:text-5xl font-bold leading-none",children:m})}),(0,t.jsxs)("div",{className:"relative lg:col-span-6 py-4 lg:py-10 flex flex-col gap-y-3 ".concat(u?"justify-between":"lg:justify-end"),children:[u&&(0,t.jsx)(s.Z,{tag:"p",className:"font-semibold lg:text-lg",children:u}),(0,t.jsx)(i.E,{size:"small",className:"\n                  ".concat(u?"items-center":"items-center lg:justify-end","\n                "),children:x&&x.map((e,l)=>{var a,s;return(null==e?void 0:null===(a=e.link)||void 0===a?void 0:a.url)?(0,t.jsx)(r.x,{href:null==e?void 0:null===(s=e.link)||void 0===s?void 0:s.url,link:{...null==e?void 0:e.link,layout:"green-link"},size:"large"},l):null})})]})]}):null,d]})]})}},905:function(e,l,a){a.d(l,{A:function(){return s},E:function(){return n},l7:function(){return r},lV:function(){return i}});var t=a(67848);let s=(e,l)=>{let a={content_name:e.file||"First Chapter",content_category:e.scopeId};(0,t.EN)({event:"first_chapter_download",...a}),(0,t.k1)({event:"Lead",data:a,custom:!1,eventId:l})},i=(e,l)=>{let a={content_name:e.productName||e.eventName||"Request Info",content_category:e.scopeId};(0,t.EN)({event:"request_info",...a}),(0,t.k1)({event:"Lead",custom:!1,data:a,eventId:l})},r=(e,l)=>{let a={content_name:"Newsletter Subscription",content_category:e.scopeId};(0,t.EN)({event:"newsletter_subscription",...a}),(0,t.k1)({event:"Lead",data:a,custom:!1,eventId:l})},n=e=>{}},91798:function(e,l,a){a.d(l,{s:function(){return ly}});var t=a(31549),s=a(44194),i=a(79744),r=a(32975),n=a(61398),o=a.n(n),d=a(94850),c=a(48008),m=a(96266),u=a(46993);let x={"layout-1":e=>{let{data:l}=e,{title:a,tagline:s,subtitle:n,description:x,image:h,logoList:p,linkList:g,features:v,inverted:f,containerSize:j,video:b,embedVideoUrl:y}=l,N="",w="";return!0===f&&(N="order-1",w="order-0"),(0,t.jsxs)(i.T,{className:"my-8 lg:my-16 gap-y-8 px-6",size:null!=j?j:"medium",children:[h&&(0,t.jsx)("div",{className:"col-span-12 md:col-span-6 ".concat(N),children:(0,t.jsx)(i.E,{className:"items-center h-full",children:(0,t.jsx)(u.Z,{video:b,image:h,contrast:!1,embed:y})})}),(0,t.jsx)("div",{className:"col-span-12 ".concat(h&&"md:col-span-6"," ").concat(w," "),children:(0,t.jsxs)(i.E,{className:"h-full flex-col justify-center",children:[p&&(0,t.jsx)(i.E,{size:"small",className:"justify-start mb-16 flex-wrap",children:p.map((e,l)=>{var s,i;return e.logo?(0,t.jsx)(o(),{src:e.logo.mediaItemUrl,alt:e.logo.altText||a,width:(null===(s=e.logo.mediaDetails)||void 0===s?void 0:s.width)||m.vz,height:(null===(i=e.logo.mediaDetails)||void 0===i?void 0:i.height)||m.rS,className:"max-w-[150px]"},l):null})}),s&&(0,t.jsx)(r.Z,{tag:"h5",className:"pxn-typography text-neutral-400 tagline mb-3",content:s}),a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-dark mb-5",content:a}),n&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography default-title text-dark mb-5",content:n}),x&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",content:x}),v&&(0,t.jsx)(c.A,{data:v,layout:v.layoutFeature,className:"mb-5"}),g&&(0,t.jsx)(i.E,{size:null!=j?j:"medium",className:"items-center justify-start",children:g.map((e,l)=>e.link?(e.link.layout="button-primary button-medium",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l)):null)})]})})]})},"layout-2":e=>{let{data:l}=e,{title:a,tagline:s,subtitle:n,description:m,image:x,logoList:h,linkList:p,features:g,inverted:v,containerSize:f,video:j,embedVideoUrl:b}=l,y="",N="";return!0===v&&(y="order-1",N="order-0"),(0,t.jsxs)(i.T,{className:"mt-8 lg:mt-16 gap-y-8 px-6",size:null!=f?f:"medium",children:[x&&(0,t.jsx)("div",{className:"col-span-12 md:col-span-8 ".concat(y),children:(0,t.jsx)(u.Z,{video:j,image:x,contrast:!1,embed:b})}),(0,t.jsxs)("div",{className:"col-span-12 ".concat(x&&"md:col-span-4 flex flex-col justify-center"," ").concat(N," "),children:[h&&(0,t.jsx)(i.E,{size:"small",className:"justify-start mb-16 flex-wrap",children:h.map((e,l)=>(0,t.jsx)(o(),{src:e.logo.mediaItemUrl,alt:e.logo.altText||a,width:e.logo.mediaDetails.width,height:e.logo.mediaDetails.height,className:"max-w-[150px]"},l))}),s&&(0,t.jsx)(r.Z,{tag:"h5",className:"pxn-typography text-neutral-400 tagline mb-3",content:s}),a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-dark mb-5",content:a}),n&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography default-title text-dark mb-5",content:n}),m&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",content:m}),g&&(0,t.jsx)(c.A,{data:g,layout:g.layoutFeature,className:"mb-5"}),p&&(0,t.jsx)(i.E,{size:null!=f?f:"medium",className:"items-center justify-start",children:p.map((e,l)=>(e.link.layout="button-primary button-small",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l)))})]})]})},"layout-3":e=>{let{data:l}=e,{title:a,tagline:s,subtitle:n,description:m,image:x,logoList:h,linkList:p,features:g,inverted:v,containerSize:f,video:j,embedVideoUrl:b}=l;return(0,t.jsxs)(i.T,{size:null!=f?f:"medium",className:"px-6",children:[(0,t.jsxs)("div",{className:"col-span-12 ".concat(v?"order-1 mt-12":"mb-12"),children:[h&&(0,t.jsx)(i.E,{size:null!=f?f:"medium",className:"justify-start mb-16 flex-wrap",children:h.map((e,l)=>(0,t.jsx)(o(),{src:e.logo.mediaItemUrl,alt:e.logo.altText||a,width:e.logo.mediaDetails.width,height:e.logo.mediaDetails.height,className:"max-w-[150px]"},l))}),s&&(0,t.jsx)(r.Z,{tag:"h5",className:"pxn-typography text-neutral-400 tagline mb-3",content:s}),a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-dark mb-5",content:a}),n&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography default-title text-dark mb-5",content:n}),m&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",content:m}),g&&(0,t.jsx)(c.A,{data:g,layout:g.layoutFeature,className:"mb-5"}),p&&(0,t.jsx)(i.E,{size:null!=f?f:"medium",className:"items-center justify-start",children:p.map((e,l)=>(e.link.layout="button-primary button-medium",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"medium"},l)))})]}),x&&(0,t.jsx)("div",{className:"col-span-12 flex flex-col justify-center",children:(0,t.jsx)(u.Z,{video:j,image:x,contrast:!1,embed:b})})]})}};var h=e=>{let{data:l}=e,{layout:a}=l,s=x[a||"layout-1"];return(0,t.jsx)(s,{data:l})},p=a(56054),g=a(47903),v=a(59449),f=a(13796),j=e=>{let{data:l}=e,{itemList:a,containerSize:s}=l;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"bg-white dark:bg-transparent",children:(0,t.jsx)(i.T,{size:null!=s?s:"medium",className:"divide-y divide-gray",children:(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)("dl",{className:"px-6 divide-y divide-gray  ",children:null==a?void 0:a.map((e,l)=>(0,t.jsx)(g.p,{as:"div",className:"pxn-faq-item group",children:l=>{let{open:a}=l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("dt",{className:"p-6 transition-all duration-300 group-data-[headlessui-state=open]:bg-main",children:(0,t.jsxs)(g.p.Button,{className:"flex w-full items-start justify-between transition-all duration-300 text-left text-black dark:text-white group-data-[headlessui-state=open]:text-white",children:[(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography p font-semibold group-data-[headlessui-state=open]:text-white",children:e.question}),(0,t.jsx)("span",{className:"ml-6 flex h-7 items-center",children:a?(0,t.jsx)(v.Z,{className:"h-6 w-6","aria-hidden":"true"}):(0,t.jsx)(f.Z,{className:"h-6 w-6","aria-hidden":"true"})})]})}),(0,t.jsx)(g.p.Panel,{as:"dd",className:"mt-2 p-6",children:(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p",children:e.answer})})]})}},l))})})})})})},b=a(70528);function y(e,l){return"".concat(e).concat(l)}let N="/auth";y(N,"/register"),y(N,"/login-unprotected"),y(N,"/register-unprotected"),y(N,"/verify"),y(N,"/reset-password"),y(N,"/new-password");let w={eventType:{get:e=>"/api/v1/site-data/event-type/".concat(e)}};var k=a(93533),Z=a(86288),_=a(84025),D=a.n(_),z=a(39378),T=a.n(z),I=function(e){let l=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=e?w.eventType.get(e):null,{data:t,isLoading:i,error:r}=(0,b.ZP)(a,e=>k.Z.get(e).then(e=>e.data));return{data:(0,s.useMemo)(()=>
1{if(!t)return null;let e=D()(),a=l?t.events.filter(l=>l.dateBegin&&(0,Z.o)(l.dateBegin)>=e&&l.address.state&&"Attivo"===l.stage):t.events;return a=T().orderBy(a,"dateBegin","asc"),{...t,events:a}},[t,l]),isLoading:i,error:r}},C=a(4423),P=a(29992),S=a(68839),E=a(86255),F=a(56661),B=a(88759),U=a(7936),R=a(21386),A=a(51046),q=a(16633),V=a(97782),L=a(26475),M=a(67473),O=e=>{let{isOpen:l,onClose:a,onSubmit:n,imageSrc:d,title:c,description:m,content:u,submitText:x,price:h,features:p,product:g,maxWidthClassName:v="sm:max-w-7xl"}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(S.u.Root,{show:l,as:s.Fragment,children:(0,t.jsxs)(V.V,{as:"div",className:"relative z-[101]",onClose:a,children:[(0,t.jsx)(S.u.Child,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full justify-center p-4 text-center items-center",children:(0,t.jsx)(S.u.Child,{as:s.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,t.jsx)(V.V.Panel,{className:"relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all mb-16 lg:my-8 sm:w-full ".concat(v," sm:p-6"),children:(0,t.jsxs)(i.T,{size:"medium",children:[(0,t.jsx)("div",{className:"col-span-12 flex justify-end",children:(0,t.jsx)(L.Z,{className:"h-6 w-6 cursor-pointer","aria-hidden":"true",onClick:a})}),d&&(0,t.jsx)("div",{className:"col-span-6",children:(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit relative",children:[(0,t.jsx)(o(),{src:d,alt:"",width:700,height:700,className:"rounded-lg"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]})}),(0,t.jsx)("div",{className:"".concat(d?"col-span-6":"col-span-12"),children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[c&&(0,t.jsx)(V.V.Title,{as:"h3",className:"pxn-typography secondary-title text-gray-900 border-b border-gray pb-4",children:c}),m&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mt-4",children:m}),g&&(0,t.jsx)(M.Z,{product:g}),p&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-front-content-index",children:p}),u&&u,x&&n&&(0,t.jsx)("div",{className:"mt-16",children:(0,t.jsx)("button",{type:"button",className:"inline-flex w-full justify-left rounded-md bg-green-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:n,children:x})})]})})]})})})})})]})})})},H=a(61825),G=a(28447);function W(e){return function(e){let l=e.trim();if(l.length<3)return{isValid:!1,reason:"Name too short"};if(l.length>50)return{isValid:!1,reason:"Name too long"};if(/\d/.test(l))return{isValid:!1,reason:"Numbers not allowed in names"};if(!/^[a-zA-ZàèéìòùÀÈÉÌÒÙáéíóúÁÉÍÓÚäëïöüÄËÏÖÜâêîôûÂÊÎÔÛçÇñÑ\s'-]+$/.test(l))return{isValid:!1,reason:"Invalid characters in name"};let a=(l.match(/[aeiouAEIOUàèéìòùÀÈÉÌÒÙáéíóúÁÉÍÓÚ]/g)||[]).length,t=(l.match(/[a-zA-ZàèéìòùÀÈÉÌÒÙáéíóúÁÉÍÓÚäëïöüÄËÏÖÜâêîôûÂÊÎÔÛçÇñÑ]/g)||[]).length;if(t>0&&a/t<.15)return{isValid:!1,reason:"Unusual character pattern detected"};if(/[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]{6,}/.test(l))return{isValid:!1,reason:"Unusual character sequence detected"};let s=l.split(/\s+/);for(let e of s)if(!(e.length<2)&&(e.slice(1).match(/[A-Z]/g)||[]).length/e.length>.3)return{isValid:!1,reason:"Unusual capitalization pattern detected"};if(/(.)\1{3,}/.test(l))return{isValid:!1,reason:"Excessive character repetition detected"};for(let e of s)if(e.length<2)return{isValid:!1,reason:"Invalid name format"};for(let e of[/^test\s+test$/i,/^admin\s+admin$/i,/^user\s+user$/i,/^fake\s+name$/i,/^asdf/i,/^qwer/i,/^[a-z]{10,}$/i])if(e.test(l))return{isValid:!1,reason:"Invalid name format"};return{isValid:!0}}(e).isValid}let $=["10minutemail.com","guerrillamail.com","mailinator.com","tempmail.com","throwaway.email","temp-mail.org","getnada.com","maildrop.cc","trashmail.com","sharklasers.com","yopmail.com","fakeinbox.com","emailondeck.com","tempinbox.com","mohmal.com","mintemail.com","mytemp.email","armyspy.com","cuvox.de","dayrep.com","einrot.com","fleckens.hu","gustr.com","jourrapide.com","rhyta.com","superrito.com","teleworm.us","dispostable.com","fakemailgenerator.com","mailnesia.com","spamgourmet.com","incognitomail.com","anonymbox.com"],Y=[".tk",".ml",".ga",".cf",".gq"];function Q(e){return function(e){if(!e||"string"!=typeof e)return{isValid:!1,reason:"Invalid email format"};let l=e.toLowerCase().trim();if(!l.includes("@"))return{isValid:!1,reason:"Invalid email format"};let a=l.split("@");if(2!==a.length)return{isValid:!1,reason:"Invalid email format"};let[t,s]=a;if(!t||0===t.length||!s||0===s.length)return{isValid:!1,reason:"Invalid email format"};if($.includes(s))return{isValid:!1,reason:"Disposable email addresses are not allowed"};for(let e of Y)if(s.endsWith(e))return{isValid:!1,reason:"Suspicious email domain detected"};if(s.length>50)return{isValid:!1,reason:"Invalid email domain"};
1if(!s.includes("."))return{isValid:!1,reason:"Invalid email domain format"};let i=s.split(".")[0];if(i.length>15){let e=(i.match(/[aeiou]/g)||[]).length,l=(i.match(/[bcdfghjklmnpqrstvwxyz]/g)||[]).length;if(l>0&&e/l<.2)return{isValid:!1,reason:"Suspicious email domain detected"}}return{isValid:!0}}(e).isValid}let X=G.Ry({name:G.Z_().required(()=>"Il nome e cognome sono richiesti").test("is-human-name","Il nome inserito non sembra valido",e=>!e||W(e)),email:G.Z_().required("Un Email \xe8 richiesta").email("Inserire un Email valida").test("valid-domain","Questo indirizzo email non \xe8 consentito",e=>!e||Q(e)),mobile:G.Z_().transform(e=>"false"===e?"":e).required(()=>"Il telefono \xe8 richiesto"),recaptchaToken:G.Z_().required("ReCaptcha non verificata."),file:G.Z_().required(()=>"Il file \xe8 richiesto"),addCc:G.Z_().nullable().optional(),hp_url:G.Z_().nullable().optional().max(0,"Invalid submission"),toc:G.O7().required().oneOf([!0],()=>"L'accettazione della Privacy \xe8 richiesta"),scopeId:G.Rx().optional().nullable(),url:G.Z_().nullable().optional(),eventId:G.Z_().optional(),formRenderedAt:G.Rx().optional()}),K=G.Ry({name:G.Z_().required(()=>"Il nome e cognome sono richiesti").test("is-human-name","Il nome inserito non sembra valido",e=>!e||W(e)),email:G.Z_().required("Un Email \xe8 richiesta").email("Inserire un Email valida").test("valid-domain","Questo indirizzo email non \xe8 consentito",e=>!e||Q(e)),mobile:G.Z_().transform(e=>"false"===e?"":e).required(()=>"Il telefono \xe8 richiesto"),recaptchaToken:G.Z_().required("ReCaptcha non verificata."),addCc:G.Z_().nullable().optional(),hp_url:G.Z_().nullable().optional().max(0,"Invalid submission"),toc:G.O7().required().oneOf([!0],()=>"L'accettazione della Privacy \xe8 richiesta"),scopeId:G.Rx().nullable().optional(),eventId:G.Z_().optional(),url:G.Z_().optional().nullable(),formRenderedAt:G.Rx().optional()}),J=G.Ry({name:G.Z_().required(()=>"Il nome e cognome sono richiesti").test("is-human-name","Il nome inserito non sembra valido",e=>!e||W(e)),email:G.Z_().required("Un Email \xe8 richiesta").email("Inserire un Email valida").test("valid-domain","Questo indirizzo email non \xe8 consentito",e=>!e||Q(e)),mobile:G.Z_().transform(e=>"false"===e?"":e).required(()=>"Il telefono \xe8 richiesto"),request:G.Z_().required(()=>"Specificare una richiesta"),recaptchaToken:G.Z_().required("ReCaptcha non verificata."),addCc:G.Z_().nullable().optional(),hp_url:G.Z_().nullable().optional().max(0,"Invalid submission"),toc:G.O7().required().oneOf([!0],()=>"L'accettazione della Privacy \xe8 richiesta"),scopeId:G.Rx().nullable().optional(),productName:G.Z_().nullable().optional(),productId:G.Rx().nullable().optional(),eventId:G.Z_().optional(),odooEventId:G.Z_().nullable().optional(),eventName:G.Z_().nullable().optional(),eventDate:G.Z_().nullable().optional(),eventLocation:G.Z_().nullable().optional(),url:G.Z_().optional().nullable(),formRenderedAt:G.Rx().optional()});var ee=a(22322),el=a(74577),ea=a(83151),et=a(60523),es=a.n(et),ei=e=>{let{loading:l,initialValue:a,onSubmit:s}=e,{t:r}=(0,ea.$G)(),n=(0,ee.cI)({defaultValues:{...a,formRenderedAt:Date.now()},resolver:(0,el.X)(K)}),{handleSubmit:o,formState:{errors:d}}=n;return(0,t.jsx)(q.u,{loading:!1,children:(0,t.jsxs)(H.lv,{form:n,onSubmit:o(s),children:[(0,t.jsx)(H.Iv,{name:"addCc"}),(0,t.jsx)(H.Af,{name:"hp_url"}),(0,t.jsx)(H.Iv,{name:"formRenderedAt"}),(0,t.jsx)(H.mV,{name:"recaptchaToken",action:"newsletter"}),(0,t.jsxs)(i.T,{size:"full",className:"gap-y-2 gap-x-8 mt-16 pxn-form-cta-wrapper md:px-16",children:[(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{name:"name",label:"Nome e Cognome",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{type:"tel",name:"mobile",label:"telefono",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(H.au,{name:"email",label:"Indirizzo Email",className:"autofill:bg-transparent"})}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-6 text-left",children:[(0,t.jsx)(H.jb,{name:"toc",label:(0,t.jsxs)("span",{children:["In relazione all'informativa (",(0,t.jsx)(es(),{href:"/legal/privacy",target:"_blank",className:"text-primary underline",children:"Privacy Policy"}),", art. 13 e art. 14 GDPR 2016/679), che dichiaro di aver letto, al trattamento dei miei dati personali e ai"," ",(0,t.jsx)(es(),{href:"/legal/terms",target:"_blank",className:"text-primary underline",children:"termini di utilizzo della piattaforma"}),"."]})}),(0,t.jsxs)("p",{className:"text-xs text-gray-400",children:["Questo sito \xe8 protetto da reCAPTCHA e si applica"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/privacy",target:"_blank",children:"Privacy Policy"})," ","e"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/terms",target:"_blank",children:"Terms of Service"})," ","di Google."]})]}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6 flex",children:(0,t.jsx)(A.flC,{type:"submit",loading:l,className:"w-full md:w-auto",children:r("label:form.newsletter.submit")})})]})]})})},er=e=>{let{loading:l,initialValue:a,onSubmit:s}=e,{t:r}=(0,ea.$G)(),n=(0,ee.cI)({defaultValues:{...a,formRenderedAt:Date.now()},resolver:(0,el.X)(X)}),{handleSubmit:o,formState:{errors:d}}=n;return(0,t.jsxs)(H.lv,{form:n,onSubmit:o(s),children:[(0,t.jsx)(H.Iv,{name:"file"}),(0,t.jsx)(H.Iv,{name:"addCc"}),(0,t.jsx)(H.Af,{name:"hp_url"}),(0,t.jsx)(H.Iv,{name:"formRenderedAt"}),(0,t.jsx)(H.mV,{name:"recaptchaToken",action:"first_chapter"}),(0,t.jsxs)(i.T,{size:"full",className:"gap-y-2 gap-x-8 mt-16 pxn-form-cta-wrapper",children:[(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{name:"name",label:"Nome e Cognome",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{name:"mobile",label:"Telefono",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(H.au,{name:"email",label:"Indirizzo Email",className:"autofill:bg-transparent"})}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-6",children:[(0,t.jsx)(H.jb,{name:"toc",label:(0,t.jsxs)("span",{children:["In relazione all'informativa (",(0,t.jsx)(es(),{href:"/legal/privacy",target:"_blank",className:"text-primary underline",children:"Privacy Policy"}),", art. 13 e art. 14 GDPR 2016/679), che dichiaro di aver letto, al trattamento dei miei dati personali e ai"," ",(0,t.jsx)(es(),{href:"/legal/terms",target:"_blank",className:"text-primary underline",children:"termini di utilizzo della piattaforma"}),"."]})}),(0,t.jsxs)("p",{className:"text-xs text-gray-400",children:["Questo sito \xe8 protetto da reCAPTCHA e si applica"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/privacy",target:"_blank",children:"Privacy Policy"})," ","e"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/terms",target:"_blank",children:"Terms of Service"})," ","di Google."]})]}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6 flex",children:(0,t.jsx)(A.flC,{type:"submit",loading:l,className:"w-full md:w-auto",children:r("label:form.firstChapter.submit")})})]})]})},en=e=>{let{loading:l,initialValue:a,onSubmit:r,className:n="mt-16",compact:o=!1}=e,{t:d}=(0,ea.$G)(),c=(0,ee.cI)({defaultValues:{...a,formRenderedAt:Date.now()},resolver:(0,el.X)(J)}),{handleSubmit:m,formState:{errors:u}}=c;return(0,s.useEffect)(()=>{c.setValue("url",window.location.href)},[]),(0,t.jsxs)(H.lv,{form:c,onSubmit:m(r),children:[(0,t.jsx)(H.Iv,{name:"file"}),(0,t.jsx)(H.Iv,{name:"addCc"}),(0,t.jsx)(H.Iv,{name:"productName"}),(0,t.jsx)(H.Af,{name:"hp_url"}),(0,t.jsx)(H.Iv,{name:"formRenderedAt"}),(0,t.jsx)(H.mV,{name:"recaptchaToken",action:"request_info"}),(0,t.jsxs)(i.T,{size:"full",className:"gap-y-2 gap-x-8 ".concat(n," pxn-form-cta-wrapper"),children:[(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{name:"name",label:"Nome e Cognome",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6",children:(0,t.jsx)(H.au,{type:"tel",name:"mobile",label:"Telefono",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(H.au,{name:"email",label:"Indirizzo Email",className:"autofill:bg-transparent"})}),(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(H.au,{multiline:!0,rows:3,name:"request",label:"Richiesta",className:"autofill:bg-transparent"})}),(0,t.jsxs)("div",{className:o?"col-span-12":"col-span-12 md:col-span-6",children:[(0,t.jsx)(H.jb,{name:"toc",sx:o?{alignItems:"flex-start",mx:0,"& .MuiCheckbox-root":{p:0,mr:1.5,mt:.25}}:void 0,label:(0,t.jsxs)("span",{className:o?"text-sm leading-snug text-gray-600":void 0,children:["In relazione all'informativa (",(0,t.jsx)(es(),{href:"/legal/privacy",target:"_blank",className:"text-primary underline",children:"Privacy Policy"}),", art. 13 e art. 14 GDPR 2016/679), che dichiaro di aver letto, al trattamento dei miei dati personali e ai"," ",(0,t.jsx)(es(),{href:"/legal/terms",target:"_blank",className:"text-primary underline",children:"termini di utilizzo della piattaforma"}),"."]})}),(0,t.jsxs)("p",{className:o?"mt-2 pl-8 text-[11px] leading-snug text-gray-400":"text-xs text-gray-400",children:["Questo sito \xe8 protetto da reCAPTCHA e si applica"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/privacy",target:"_blank",children:"Privacy Policy"})," ","e"," ",(0,t.jsx)("a",{rel:"noreferrer",href:"https://policies.google.com/terms",target:"_blank",children:"Terms of Service"})," ","di Google."]})]}),(0,t.jsx)("div",{className:o?"col-span-12 mt-3":"col-span-12 md:col-span-6 flex",children:(0,t.jsx)(A.flC,{type:"submit",loading:l,className:o?"w-full !py-3":"w-full md:w-auto",children:d("label:form.requestInfo.submit")})})]})]})},eo=a(905);let ed=(e,l)=>{if(!l||D()(l).toDate().getTime()-D()(e).toDate().getTime()<864e5)return D()(e).format("LL");let a=D()(e).format("DD"),t=D()(e).format("MMMM"),s=D()(e).format("YYYY"),i=D()(l).format("DD"),r=D()(l).format("MMMM"),n=D()(l).format("YYYY"),o=a;return r!=t&&(o+=" "+t),n!=s&&(o+=" "+s),o+"-"+(i+" ")+r+" "+n},ec=e=>e.dateBegin?ed(new Date(e.dateBegin),e.dateEnd?new Date(e.dateEnd):void 0):"",em=e=>{var l,a;return Array.from(new Set([null===(l=e.address)||void 0===l?void 0:l.city,null===(a=e.address)||void 0===a?void 0:a.state].filter(e=>!!e))).join(", ")},eu=e=>e.frontTitle||e.name,ex=e=>{var l,a,t;return null!==(t=null===(a=e.variants)||void 0===a?void 0:null===(l=a[
10])||void 0===l?void 0:l.id)&&void 0!==t?t:null};function eh(){for(var e=arguments.length,l=Array(e),a=0;a<e;a++)l[a]=arguments[a];return l.filter(Boolean).join(" ")}let ep=e=>{let{onClose:l,products:a=[],events:i=[],defaultEventId:n=null,defaultProductId:d=null,scopeId:c,courseTitle:m}=e,{enqueueSnackbar:u}=(0,A.Ds_)(),{customer:x,loadingCustomer:h}=(0,R.v9)(e=>e.customer),[p,g]=(0,s.useState)(i.some(e=>e.id===n)?n:null),[v,f]=(0,s.useState)(null!=d?d:1===a.length?ex(a[0]):null),[j,b]=(0,s.useState)(!1),y=i.find(e=>e.id===p)||null,N=a.find(e=>ex(e)===v)||null,w=async e=>{if(j)return;b(!0);let a={...e,productId:N?ex(N):null,productName:N?eu(N):null,odooEventId:y?y.id.toString():null,eventName:(null==y?void 0:y.name)||m||null,eventDate:y?ec(y):null,eventLocation:y?em(y):null,scopeId:c};try{let e=(0,C.Z)();await k.Z.post("/api/v1/form/request-info",{...a,eventId:e,url:window.location.href}),u("Grazie per averci contattato",{variant:"success"}),(0,eo.lV)(a,e),l()}catch(e){u("Errore nell'invio del messaggio",{variant:"error"})}b(!1)};return(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-5 md:gap-8",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5 md:col-span-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Z,{tag:"h3",className:"text-2xl font-semibold",children:"Richiedi informazioni"}),m&&(0,t.jsx)(r.Z,{tag:"p",className:"mt-1 text-sm text-gray-500",children:m})]}),i.length>0&&(0,t.jsx)(P.R,{value:p,onChange:g,children:e=>{let{open:l}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)(P.R.Label,{className:"block text-sm font-medium text-gray-900",children:"Data"}),(0,t.jsxs)("div",{className:"relative mt-1",children:[(0,t.jsxs)(P.R.Button,{className:"relative w-full cursor-default rounded-md bg-white py-2 pl-3 pr-10 text-left text-sm text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:outline-none focus:ring-2 focus:ring-green-600",children:[(0,t.jsx)("span",{className:"block truncate",children:y?[ec(y),em(y)].filter(Boolean).join(" \xb7 "):"Data da definire"}),(0,t.jsx)("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2",children:(0,t.jsx)(F.Z,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]}),(0,t.jsx)(S.u,{show:l,as:s.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsx)(P.R.Options,{className:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-sm shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:[null,...i].map(e=>{var l,a;return(0,t.jsx)(P.R.Option,{value:null!==(l=null==e?void 0:e.id)&&void 0!==l?l:null,className:e=>{let{active:l}=e;return eh(l?"bg-green-600 text-white":"text-gray-900","relative cursor-default select-none py-2 pl-3 pr-9")},children:l=>{let{selected:a,active:s}=l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:eh(a?"font-semibold":"font-normal","block truncate"),children:e?[ec(e),em(e)].filter(Boolean).join(" \xb7 "):"Data da definire"}),a&&(0,t.jsx)("span",{className:eh(s?"text-white":"text-green-600","absolute inset-y-0 right-0 flex items-center pr-3"),children:(0,t.jsx)(B.Z,{className:"h-5 w-5","aria-hidden":"true"})})]})}},null!==(a=null==e?void 0:e.id)&&void 0!==a?a:"tbd")})})})]})]})}}),a.length>0&&(0,t.jsxs)(E.E,{value:v,onChange:f,children:[(0,t.jsx)(E.E.Label,{className:"block text-sm font-medium text-gray-900",children:a.length>1?"Kit":"Prodotto"}),(0,t.jsx)("div",{className:"mt-1 flex max-h-[45vh] flex-col gap-2 overflow-y-auto",children:a.map(e=>{let l=ex(e);return(0,t.jsx)(E.E.Option,{value:l,className:e=>{let{checked:l}=e;return eh(l?"border-green-600 ring-1 ring-green-600":"border-gray-300","flex cursor-pointer items-center gap-3 rounded-md border bg-white p-2 focus:outline-none")},children:l=>{let{checked:a}=l;return(0,t.jsxs)(t.Fragment,{children:[e.image&&(0,t.jsxs)("div",{className:"relative isolate h-12 w-12 shrink-0 overflow-hidden rounded",children:[(0,t.jsx)(o(),{src:e.image,alt:"",width:48,height:48,className:"h-12 w-12 object-contain"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsx)(E.E.Label,{as:"span",className:"flex-1 text-sm font-medium text-gray-900",children:eu(e)}),(0,t.jsx)(U.Z,{className:eh(!a&&"invisible","h-5 w-5 shrink-0 text-green-600"),"aria-hidden":"true"})]})}},null!=l?l:e.id)})})]})]}),(0,t.jsx)("div",{className:"md:col-span-3",children:h?(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(q.u,{loading:!0})}):(0,t.jsx)(q.u,{loading:j,children:(0,t.jsx)(en,{className:"mt-0 grid-cols-12 max-md:!gap-x-0",compact:!0,loading:j,onSubmit:w,initialValue:{name:x?x.name:"",mobile:x?x.phone:"",email:x?x.email:"",request:"Vorrei ricevere maggiori informazioni.",toc:!1,recaptchaToken:"",scopeId:c,productId:null,productName:null,eventName:null,addCc:"",url:""}})})})]})};var eg=e=>{let{isOpen:l,onClose:a,...s}=e;return(0,t.jsx)(O,{isOpen:l,onClose:a,maxWidthClassName:"sm:max-w-5xl",content:(0,t.jsx)(ep,{onClose:a,...s})})},ev=a(32346);let ef={"layout-1":e=>{var l;let{data:a,...n}=e,d=[n.odooDetails.odooData.mainProductDetails,...n.odooDetails.odooData.associatedProducts||[]].filter(
1Boolean);d.sort((e,l)=>e.price.value-l.price.value);let{data:c,isLoading:m,error:u}=I(n.odooDetails.odooData.eventTypeId),[x,h]=(0,s.useState)(null),p=Number(null===(l=n.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null;if(!d||0===d.length)return null;let g=e=>{h(e)};return m?(0,t.jsx)(q.u,{}):u?(0,t.jsx)(ev.Z,{error:u}):(0,t.jsxs)(t.Fragment,{children:[d.map((e,l)=>(0,t.jsx)("div",{className:"col-span-12 border border-gray p-5 rounded-lg",children:(0,t.jsxs)(i.T,{size:"full",className:"gap-y-8",children:[(0,t.jsx)("div",{className:"col-span-4",children:(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit relative",children:[(0,t.jsx)(o(),{src:e.image,alt:e.name,width:700,height:700}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]})}),(0,t.jsx)("div",{className:"col-span-8",children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[e.frontTitle&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-gray-900 border-b border-gray pb-4",children:e.frontTitle}),e.frontDescription&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mt-4",children:e.frontDescription}),e.frontContentIndex&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-front-content-index",children:e.frontContentIndex}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)("button",{type:"button",onClick:()=>{g(e)},className:"inline-flex  uppercase justify-left rounded-md bg-green-600 px-10 py-2 text-sm font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Richiedi informazioni"})})]})})]})},l)),(0,t.jsx)(eg,{isOpen:!!x,onClose:()=>{h(null)},products:d,events:(null==c?void 0:c.events)||[],defaultProductId:x&&ex(x),scopeId:p,courseTitle:null==c?void 0:c.name})]})},"layout-2":e=>{var l;let{data:a,...n}=e,d=[n.odooDetails.odooData.mainProductDetails,...n.odooDetails.odooData.associatedProducts||[]].filter(Boolean);d.sort((e,l)=>e.price.value-l.price.value);let{data:c,isLoading:m,error:u}
1=I(n.odooDetails.odooData.eventTypeId),[x,h]=(0,s.useState)(null),p=Number(null===(l=n.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null;if(!d||0===d.length)return(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typograph",children:"Nessun Prodotto associato trovato"});let g=e=>{h(e)};return m?(0,t.jsx)(q.u,{}):u?(0,t.jsx)(ev.Z,{error:u}):(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsxs)(i.E,{size:"large",className:"gap-y-8 px-6 justify-center flex-wrap md:flex-nowrap",children:[d.map((e,l)=>(0,t.jsx)("div",{className:"basis-full md:basis-6/12 lg:basis-4/12 rounded-lg border border-gray p-5",children:(0,t.jsxs)(i.E,{className:"flex-col h-full",children:[(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit relative",children:[(0,t.jsx)(o(),{src:e.image,alt:e.name,width:766,height:320}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full rounded-[10px] w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsx)(i.E,{className:"border-b border-t border-gray py-2 justify-between mt-5 mb-5 items-center",children:e.frontTitle&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title",children:e.frontTitle})}),e.frontDescription&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",children:e.frontDescription}),e.frontContentIndex&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-front-content-index",children:e.frontContentIndex}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)("button",{type:"button",onClick:()=>{g(e)},className:"inline-flex w-full uppercase justify-center rounded-md bg-green-600 px-10 py-2 text-sm font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Richiedi informazioni"})})]})},l)),(0,t.jsx)(eg,{isOpen:!!x,onClose:()=>{h(null)},products:d,events:(null==c?void 0:c.events)||[],defaultProductId:x&&ex(x),scopeId:p,courseTitle:null==c?void 0:c.name})]})})}};var ej=e=>{let{data:l,...a}=e,{layout:s,containerSize:r}=l,n=ef[s||"layout-1"];return(0,t.jsx)(i.T,{size:null!=r?r:"medium",className:"pxn-grid gap-y-8",children:(0,t.jsx)(n,{data:l,...a})})};let eb={"layout-1":e=>{var l,a;let{data:s}=e,{title:n,subtitle:c,tagline:m,description:x,image:h,linkList:p,background:g,inverted:v,logo:f,containerSize:j,video:b,isFullHeight:y,embedVideoUrl:N,hasGradient:w}=s,k="",Z="";return!0===v&&(k="order-0",Z="order-1"),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute w-full h-full bg-neutral-100 dark:bg-transparent dark:!bg-cta-bg-dark top-0 left-0"}),(0,t.jsxs)("div",{className:"relative overflow-hidden isolate",children:[!y&&(0,t.jsxs)(t.Fragment,{children:[g&&(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,fill:!0,className:"absolute inset-0 -z-30 h-full w-full object-cover "}),w&&(0,t.jsx)("div",{className:"absolute inset-0 -z-10 dark:bg-gradient-to-t dark:from-black dark:via-black/40"})]}),(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6 pt-8",children:(0,t.jsxs)(i.T,{size:null!=j?j:"medium",className:"relative z-20 isolate lg:gap-x-20 items-center",children:[(0,t.jsxs)("div",{className:"col-span-12 md:col-span-6 py-16 md:py-20  ".concat(Z),children:[f&&(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(o(),{src:f.mediaItemUrl,alt:f.altText,width:null===(l=f.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=f.mediaDetails)||void 0===a?void 0:a.height,className:"h-16 w-auto max-w-full"})}),m&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography tagline text-neutral-400 mb-3 block",content:m}),n&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title text-dark mb-1",content:n}),c&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title text-dark mb-3",content:c}),x&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-3",content:x}),(0,t.jsx)(i.E,{size:"small",className:x?"items-center":"items-center justify-end",children:p&&(0,t.jsx)(i.E,{size:"small",className:"flex justify-start items-center flex-wrap gap-4",children:p.map((e,l)=>e.link?(e.link.layout="button-secondary button-small",e.image)?(0,t.jsx)(es(),{href:e.link.url,className:"relative",children:(0,t.jsx)(o(),{src:e.image.mediaItemUrl,alt:e.image.altText,width:e.image.mediaDetails.width,height:e.image.mediaDetails.height,className:"max-h-14 max-w-full w-auto"})},l):(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small",className:"self-center"},l):null)})})]}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6 flex items-end h-full ".concat(k),children:h&&(0,t.jsx)(u.Z,{video:b,image:h,contrast:!1,embed:N})})]})})]})]})},"layout-2":e=>{var l,a;let{data:s}=e,{title:n,subtitle:c,tagline:m,description:u,linkList:x,background:h,logo:p,containerSize:g}=s;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute w-full h-full ".concat(s.sectionBackgroun
1d?"dark:bg-gradient-to-t dark:from-black dark:via-black/40 ":"bg-neutral-100"," dark:bg-transparent top-0 left-0 dark:!bg-cta-bg-dark ")}),(0,t.jsx)("div",{className:"relative overflow-hidden isolate",children:(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6",children:(0,t.jsx)(i.T,{size:null!=g?g:"medium",className:"relative z-20 isolate py-16 md:py-24 lg:gap-x-20 items-center text-center",children:(0,t.jsxs)("div",{className:"col-span-12",children:[p&&(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(o(),{src:p.mediaItemUrl,alt:p.altText,width:(null===(l=p.mediaDetails)||void 0===l?void 0:l.width)||350,height:null===(a=p.mediaDetails)||void 0===a?void 0:a.height,className:"mx-auto h-16 w-auto max-w-full"})}),m&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography tagline text-neutral-400 mb-8 block",content:m}),n&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography main-title text-dark mb-6",content:n}),c&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title text-dark mb-4",content:c}),u&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-6",content:u}),(0,t.jsx)(i.E,{size:"small",className:"items-center justify-center mx-auto",children:x&&(0,t.jsx)(i.E,{size:null!=g?g:"medium",className:"flex justify-start items-center flex-wrap gap-4",children:x.map((e,l)=>(e.link.layout="button-secondary button-small",e.image)?(0,t.jsx)(es(),{href:e.link.url,children:(0,t.jsx)(o(),{src:e.image.mediaItemUrl,alt:e.image.altText,width:e.image.mediaDetails.width,height:e.image.mediaDetails.height,className:"max-h-14 max-w-full w-auto"})},l):(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l))})})]})})})})]})},"layout-3":e=>{var l,a;let{data:s}=e,{title:n,subtitle:c,tagline:m,description:x,image:h,linkList:p,background:g,inverted:v,logo:f,containerSize:j,video:b,isFullHeight:y,sectionBackground:N,embedVideoUrl:w,hasGradient:k}=s,Z="",_="";return!0===v&&(Z="order-0",_="order-1"),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute w-full h-full ".concat(N?"bg-transparent":"bg-neutral-100"," dark:bg-transparent top-0 left-0 dark:!bg-cta-bg-dark")}),(0,t.jsxs)("div",{className:"relative overflow-hidden isolate",children:[!y&&(0,t.jsxs)(t.Fragment,{children:[g&&(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,fill:!0,className:"absolute inset-0 -z-30 h-full w-full object-cover "}),k&&(0,t.jsx)("div",{className:"absolute inset-0 -z-10 dark:bg-gradient-to-t dark:from-black dark:via-black/40"})]}),(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6 py-8 xl:py-12",children:(0,t.jsxs)(i.T,{size:null!=j?j:"medium",className:"relative z-20 isolate lg:gap-x-20 items-center",children:[(0,t.jsxs)("div",{className:"col-span-12 md:col-span-6 py-16 md:py-20  ".concat(_),children:[f&&(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(o(),{src:f.mediaItemUrl,alt:f.altText,width:null===(l=f.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=f.mediaDetails)||void 0===a?void 0:a.height,className:"h-16 w-auto max-w-full"})}),m&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography tagline text-neutral-400 mb-3 block",content:m}),n&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography main-title text-dark mb-6",content:n}),c&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title text-dark mb-3",content:c}),x&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-6",content:x}),(0,t.jsx)(i.E,{size:"small",className:"items-center flex-wrap gap-4",children:null==p?void 0:p.map((e,l)=>(e.link.layout="button-secondary button-small",e.image)?(0,t.jsx)(i.E,{size:"large",className:"justify-start",children:(0,t.jsx)(es(),{href:e.link.url,children:(0,t.jsx)(o(),{src:e.image.mediaItemUrl,alt:e.image.altText,width:e.image.mediaDetails.width,height:e.image.mediaDetails.height,className:"max-h-14 max-w-full w-auto"})})},l):(0,t.jsx)(d.x,{href:e.link.url,link:e.link},l))})]}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-6 h-full self-end ".concat(Z),children:(0,t.jsx)("div",{className:"relative z-20 h-full flex items-center",children:h&&(0,t.jsx)(u.Z,{video:b,image:h,contrast:!1,embed:w})})})]})})]})]})}};var ey=e=>{let{data:l}=e,{layout:a}=l,s=eb[a||"layout-1"];return(0,t.jsx)("div",{className:"mt-[-2rem] mb-[-2rem] xl:mt-[-3rem] xl:mb-[-3rem] enzi-1",children:(0,t.jsx)(s,{data:l})})},eN=e=>{var l;let{data:a}=e,{containerSize:s}=a;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-full dark:bg-cta-bg-dark z-0"}),(0,t.jsx)(i.T,{size:null!=s?s:"medium",className:"lg:gap-x-8 gap-y-16 mt-10 px-6 relative z-10",children:null===(l=a.numberList)||void 0===l?void 0:l.map((e,l)=>{let{number:a,title:s,subtitle:i,tagline:n,description:d,icon:c}=e;return(0,t.jsxs)("div",{className:"col-span-12 lg:col-span-4 text-center lg:text-left",children:[n&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-3 block",content:n}),a&&(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography claim-title mb-3 relative underline underline-offset-[10px] decoration-accent lg:no-underline lg:before:absolute lg:before:bg-accent lg:before:w-0.5 lg:before:h-full lg:before:-left-[10px] lg:before:top-0 lg:before:z-10",content:a}),s&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title mb-1",content:s}),i&&(0,t.jsx)(r.Z,{tag:"h5",className:"pxn-typography default-title mb-3",content:i}),d&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-3",content:d}),c&&(0,t.jsx)(o(),{src:c.mediaItemUrl,alt:c.altText,width:c.mediaDetails.width,height:c.mediaDetails.height,className:"mx-auto md:mx-0"})]},l)})})]})};a(63994),a(64227);var ew=a(83595);let ek=[16,32,48,64,96,128,256,384],eZ=[640,750,828,1080,1200,1920,2048,3840],e_=[16,32,48,64,96,128,256,384],eD=[640,750,828,1080,1200,1920,2048,3840],ez={"layout-1":e=>{var l;let{data:a}=e,{galleryItems:s,containerSize:r}=a,n=(null===(l=a.galleryItems)||void 0===l?void 0:l.length)||1;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i.T,{size:null!=r?r:"medium",className:"mx-auto justify-center items-center gap-x-8 px-6 gap-y-10 authors-slider-container",children:(0,t.jsx)(ew.Z,{dots:!1,infinite:!0,speed:1e3,slidesToShow:n<5?n:5,slidesToScroll:1,autoplay:!0,autoplaySpeed:5e3,pauseOnHover:!1,initialSlide:0,arrows:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}],className:"col-span-12 overflow-hidden authors-slider",children:null==s?void 0:s.map((e,l)=>{var a,s,i,r,n,d,c;let m=(null==e?void 0:null===(s=e.mediaDetails)||void 0===s?void 0:null===(a=s.sizes)||void 0===a?void 0:a.filter(e=>(null==e?void 0:e.name)==="brand_horizontal"))||[];return(0,t.jsx)("div",{className:"",children:(0,t.jsx)(o(),{className:"object-contain mx-auto",src:(null===(i=m[0])||void 0===i?void 0:i.sourceUrl)||(null==e?void 0:e.mediaItemUrl),alt:(null==e?void 0:e.altText)||(null==e?void 0:e.title)||"",width:Number(null===(r=m[0])||void 0===r?void 0:r.width)||(null==e?void 0:null===(n=e.mediaDetails)||void 0===n?void 0:n.width)||150,height:Number(null===(d=m[0])||void 0===d?void 0:d.height)||(null==e?void 0:null===(c=e.mediaDetails)||void 0===c?void 0:c.height)||100})},l)})})})})},"layout-2":e=>{let{data:l}=e,{galleryItems:a,containerSize:r}=l,n=(0,s.useMemo)(()=>(null==a?void 0:a.map(e=>({mediaItemUrl:null==e?void 0:e.mediaItemUrl,mediaDetails:null==e?void 0:e.mediaDetails,altText:null==e?void 0:e.altText,title:null==e?void 0:e.title}
1)))||[],[a]),[d,c]=(0,s.useState)(-1);return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i.T,{size:null!=r?r:"medium",className:"mx-auto grid-cols-1 justify-center items-center gap-x-8 gap-y-10 px-6",children:(0,t.jsxs)("div",{className:"sm:columns-2 lg:columns-3 gap-x-8 gap-y-10",children:[null==a?void 0:a.map((e,l)=>{var a,s;return(0,t.jsx)("div",{className:"flex-0 pt-8",children:(0,t.jsx)(o(),{className:"w-full object-contain cursor-zoom-in",src:null==e?void 0:e.mediaItemUrl,alt:(null==e?void 0:e.altText)||(null==e?void 0:e.title)||"",width:null==e?void 0:null===(a=e.mediaDetails)||void 0===a?void 0:a.width,height:null==e?void 0:null===(s=e.mediaDetails)||void 0===s?void 0:s.height,onClick:()=>c(l)})},l)}),(0,t.jsx)(A.eyg,{index:d,slides:n.map((e,l)=>{var a,t;return{src:e.mediaItemUrl,width:null===(a=e.mediaDetails)||void 0===a?void 0:a.width,height:null===(t=e.mediaDetails)||void 0===t?void 0:t.height,srcSet:ek.concat(...eZ).filter(l=>{var a;return l<=(null===(a=e.mediaDetails)||void 0===a?void 0:a.width)}).map(l=>{var a,t,s;return{src:(s=e.mediaItemUrl,"/_next/image?url=".concat(encodeURIComponent(s),"&w=").concat(l,"&q=75")),width:l,height:Math.round((null===(a=e.mediaDetails)||void 0===a?void 0:a.height)/(null===(t=e.mediaDetails)||void 0===t?void 0:t.width)*l)}})}}),open:d>=0,close:()=>{c(-1)},onGetCurrentIndex:e=>c(e)})]})})})},"layout-3":e=>{let{data:l}=e,{galleryItems:a,containerSize:s}=l,r={dots:!1,infinite:!0,speed:1e3,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:5e3,pauseOnHover:!1,nextArrow:(0,t.jsx)(o(),{src:"../../../assets/images/slick-arrow.svg",alt:"arrow",width:50,height:50}),prevArrow:(0,t.jsx)(o(),{src:"../../../assets/images/slick-arrow-left.svg",alt:"arrow",width:50,height:50})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i.T,{size:null!=s?s:"medium",className:"mx-auto grid-cols-1 justify-center items-center gap-x-8 gap-y-10 gallery px-6 overflow-hidden",children:(0,t.jsx)(ew.Z,{...r,children:null==a?void 0:a.map((e,l)=>{var a,s;return(0,t.jsx)("div",{className:"flex-0",children:(0,t.jsx)(o(),{className:"object-contain xl:max-h-[70vh] 3xl:max-h-full",src:null==e?void 0:e.mediaItemUrl,alt:(null==e?void 0:e.altText)||(null==e?void 0:e.title)||"",width:null==e?void 0:null===(a=e.mediaDetails)||void 0===a?void 0:a.width,height:null==e?void 0:null===(s=e.mediaDetails)||void 0===s?void 0:s.height})},l)})})})})},"layout-4":e=>{var l;let{data:a}=e,{galleryItems:r,containerSize:n}=a,d=null===(l=a.galleryItems)||void 0===l?void 0:l.length,c=(0,s.useMemo)(()=>(null==r?void 0:r.map(e=>({mediaItemUrl:null==e?void 0:e.mediaItemUrl,mediaDetails:null==e?void 0:e.mediaDetails,altText:null==e?void 0:e.altText,title:null==e?void 0:e.title})))||[],[r]),[m,u]=(0,s.useState)(-1);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.T,{size:null!=n?n:"medium",className:"mx-auto grid-cols-".concat(d," justify-center items-center gap-x-8 gap-y-10 px-6"),children:[null==r?void 0:r.map((e,l)=>{var a,s,i,r,n,d,c;let m=(null==e?void 0:null===(s=e.mediaDetails)||void 0===s?void 0:null===(a=s.sizes)||void 0===a?void 0:a.filter(e=>(null==e?void 0:e.name)==="squared_gallery"))||[];return(0,t.jsx)("div",{className:"col-span-2 lg:col-span-1 flex-0",children:(0,t.jsx)(o(),{className:"w-full object-contain cursor-zoom-in",src:(null===(i=m[0])||void 0===i?void 0:i.sourceUrl)||(null==e?void 0:e.mediaItemUrl),alt:(null==e?void 0:e.altText)||(null==e?void 0:e.title)||"",width:Number(null===(r=m[0])||void 0===r?void 0:r.width)||(null==e?void 0:null===(n=e.mediaDetails)||void 0===n?void 0:n.width)||600,height:Number(null===(d=m[0])||void 0===d?void 0:d.height)||(null==e?void 0:null===(c=e.mediaDetails)||void 0===c?void 0:c.height)||600,onClick:()=>u(l)})},l)}),(0,t.jsx)(A.eyg,{index:m,slides:c.map((e,l)=>{var a,t;return{src:e.mediaItemUrl,width:null===(a=e.mediaDetails)||void 0===a?void 0:a.width,height:null===(t=e.mediaDetails)||void 0===t?void 0:t.height,srcSet:e_.concat(...eD).filter(l=>{var a;return l<=(null===(a=e.mediaDetails)||void 0===a?void 0:a.width)}).map(l=>{var a,t,s;return{src:(s=e.mediaItemUrl,"/_next/image?url=".concat(encodeURIComponent(s),"&w=").concat(l,"&q=75")),width:l,height:Math.round((null===(a=e.mediaDetails)||void 0===a?void 0:a.height)/(null===(t=e.mediaDetails)||void 0===t?void 0:t.width)*l)}})}}),open:m>=0,close:()=>{u(-1)},onGetCurrentIndex:e=>u(e)})]})})}};var eT=e=>{let{data:l,...a}=e,{layout:s}=l,i=ez[s||"layout-1"];return(0,t.jsx)(i,{data:l,...a})};let eI={"layout-1":e=>{var l,a;let{data:s,containerSize:n}
1=e,{title:c,tagline:m,subtitle:u,description:x,background:h,linkList:p,logo:g}=s;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden isolate",children:[h&&(0,t.jsx)(o(),{src:h.mediaItemUrl,alt:h.altText,fill:!0,className:"absolute inset-0 -z-30 h-full w-full object-cover"}),(0,t.jsx)(i.T,{size:null!=n?n:"medium",className:"gap-y-8 px-6 min-h-[70vh]",children:(0,t.jsx)("div",{className:"col-span-12 text-center self-center relative z-10",children:(0,t.jsxs)("div",{className:"pb-24",children:[g&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,width:null===(l=g.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=g.mediaDetails)||void 0===a?void 0:a.height,className:"m-auto"})}),m&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-8 block",children:m}),c&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography main-title mb-8 py-8 border-t border-b border-gray-400",children:c}),u&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title mb-3",children:u}),x&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-4",children:x}),p&&(0,t.jsx)(i.E,{size:"large",className:"justify-center py-4",children:p.map((e,l)=>(e.link.layout="button-secondary button-medium",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l)))})]})})})]})})},"layout-2":e=>{var l,a,s,n;let{data:c,containerSize:m}=e,{title:u,tagline:x,subtitle:h,description:p,background:g,image:v,linkList:f,logo:j}=c;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden isolate",children:[g&&(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,fill:!0,className:"absolute inset-0 -z-30 h-full w-full object-cover"}),(0,t.jsxs)(i.T,{size:null!=m?m:"medium",className:"gap-y-8 px-6 min-h-[70vh]",children:[v&&(0,t.jsx)("div",{className:"col-span-6 self-end relative -z-20",children:(0,t.jsx)(o(),{src:v.mediaItemUrl,alt:v.altText,width:null===(l=v.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=v.mediaDetails)||void 0===a?void 0:a.height,className:"block w-full"})}),(0,t.jsx)("div",{className:"".concat(v?"col-span-6":"col-span-12"," self-center relative z-10"),children:(0,t.jsxs)("div",{className:"pb-24",children:[j&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(o(),{src:j.mediaItemUrl,alt:j.altText,width:null===(s=j.mediaDetails)||void 0===s?void 0:s.width,height:null===(n=j.mediaDetails)||void 0===n?void 0:n.height})}),x&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-4 block",children:x}),u&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title mb-5",children:u}),h&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography xs-title mb-5",children:h}),p&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",children:p}),(0,t.jsx)(i.E,{size:"small",className:"\n                  ".concat(p?"items-center":"items-center justify-end"," py-4"),children:f&&(0,t.jsx)(i.E,{size:"small",className:"justify-start",children:f.map((e,l)=>(e.link.layout="button-secondary button-medium",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l)))})})]})})]})]})})},"layout-3":e=>{var l,a,s,n;let{data:c,containerSize:m}=e,{title:u,tagline:x,subtitle:h,description:p,background:g,image:v,linkList:f,logo:j}=c;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden isolate",children:[g&&(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,fill:!0,className:"absolute inset-0 -z-30 h-full w-full object-cover"}),(0,t.jsxs)(i.T,{size:null!=m?m:"medium",className:"gap-y-8 px-6 min-h-[70vh]",children:[(0,t.jsx)("div",{className:"".concat(v?"col-span-6":"col-span-12"," self-center relative z-10"),children:(0,t.jsxs)("div",{className:"pb-24",children:[j&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(o(),{src:j.mediaItemUrl,alt:j.altText,width:null===(l=j.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=j.mediaDetails)||void 0===a?void 0:a.height})}),x&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-4 block",children:x}),u&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title mb-5",children:u}),h&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography xs-title mb-5",children:h}),p&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",children:p}),(0,t.jsx)(i.E,{size:"small",className:"\n                  ".concat(p?"items-center":"items-center justify-end"," py-4"),children:f&&(0,t.jsx)(i.E,{size:"small",className:"flex justify-start",children:f.map((e,l)=>(e.link.layout="button-secondary button-medium",(0,t.jsx)(d.x,{href:e.link.url,link:e.link,size:"small"},l)))})})]})}),v&&(0,t.jsx)("div",{className:"col-span-6 self-end relative -z-20",children:(0,t.jsx)(o(),{src:v.mediaItemUrl,alt:v.altText,width:null===(s=v.mediaDetails)||void 0===s?void 0:s.width,height:null===(n=v.mediaDetails)||void 0===n?void 0:n.height,className:"block w-full"})})]})]})})}};var eC=e=>{let{data:l}=e,{slides:a,containerSize:s}=l,i={dots:!0,infinite:!0,speed:1e3,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:5e3,pauseOnHover:!1,nextArrow:(0,t.jsx)(o(),{src:"../../../assets/images/slick-arrow.svg",alt:"arrow",width:50,height:50}),prevArrow:(0,t.jsx)(o(),{src:"../../../assets/images/slick-arrow-left.svg",alt:"arrow",width:50,height:50}),responsive:[{breakpoint:1024,settings:{dots:!1,arrows:!1}
1}]};return(0,t.jsx)(t.Fragment,{children:a&&(0,t.jsx)("div",{className:"mt-[-2rem] mb-[-2rem] xl:mt-[-3rem] xl:mb-[-3rem] dark bg-dark",children:(0,t.jsx)(ew.Z,{...i,children:a.map((e,l)=>{let a=eI[e.layout]||eI["layout-1"];return(0,t.jsx)(a,{data:e,containerSize:s},l)})})})})},eP=a(99087),eS=a(22509),eE=a(55790),eF=e=>{let{product:l}=e,{finalPrice:a}=(0,eS.Z)({product:l,variant:l.variants[0]});return a?(0,t.jsx)(eE.E6,{price:a,type:"product"}):null},eB=a(64768),eU=e=>{var l,a,s;let{data:n,...c}=e;if(!c.odooDetails.mainProductDetails)return null;let{logo:m,infoTitle:u,categoryLogo:x,featureIndex:h,productDetails:p,description:g,image:v,enableAddToCart:f}=n,{enqueueSnackbar:j}=(0,A.Ds_)(),b=c.odooDetails.mainProductDetails,y=e=>{try{(0,R.WI)((0,eP.lW)({product:e,productId:e.id,addQuantity:1})),j("Prodotto aggiunto al carrello",{variant:"success"})}catch(e){j("Errore nell'aggiunta al carrello",{variant:"error"})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.T,{size:"full",className:"pxn-grid px-6 py-16 gap-y-8",children:[(0,t.jsx)("div",{className:"col-span-3 hidden 4xl:block md:px-6",children:(0,t.jsx)("div",{className:"flex flex-col h-full",children:(0,t.jsxs)("div",{children:[x&&(0,t.jsx)(o(),{src:x.mediaItemUrl,alt:x.altText,width:null===(l=x.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=x.mediaDetails)||void 0===a?void 0:a.height,className:"mb-5"}),u&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title mb-8",children:u}),h&&h.map((e,l)=>{var a,s;return(0,t.jsxs)("div",{className:"flex items-center gap-x-2 py-5 px-3 border-t border-gray",children:[(0,t.jsx)("div",{className:"shrink-0",children:(null==e?void 0:e.icon)&&(0,t.jsx)(o(),{src:e.icon.mediaItemUrl,alt:e.icon.altText,width:null===(a=e.icon.mediaDetails)||void 0===a?void 0:a.width,height:null===(s=e.icon.mediaDetails)||void 0===s?void 0:s.height,className:"mr-4"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography xs-title",children:e.title}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography tagline text-neutral-400",children:e.detail})]})]},l)})]})})}),(0,t.jsx)("div",{className:"col-span-12 4xl:col-span-6",children:(0,t.jsxs)(i.T,{size:"full",className:"pxn-grid gap-y-8 h-full lg:gap-x-12",children:[(0,t.jsxs)("div",{className:"col-span-12 row-start-2 row-span-1 lg:row-start-1 lg:row-span-3 lg:col-span-5 m-auto lg:m-0 order-1 lg:order-0 lg:shrink-0 relative overflow-hidden rounded-lg flex items-center justify-center",children:[(v||b.image)&&(0,t.jsx)(o(),{src:null!==(s=null==v?void 0:v.mediaItemUrl)&&void 0!==s?s:b.image||eB.mV.PRODUCT,alt:b.name,width:490,height:700,priority:!0,className:"object-contain -z-30 relative"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full bg-gray-100"})]}),b.name&&(0,t.jsx)(r.Z,{tag:"h1",className:"col-span-12 lg:col-span-7 pxn-typography secondary-title mb-8",children:b.name}),(b.techSheet||g)&&(0,t.jsx)(r.Z,{tag:"p",className:"col-span-12 lg:col-span-7 pxn-typography p line-clamp-[10] mb-8",children:null!=g?g:b.techSheet}),b&&(0,t.jsxs)("div",{className:"col-span-12 lg:col-span-7 mt-auto",children:[(0,t.jsx)(M.Z,{product:b,textAlign:"left",direction:"column"}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(eF,{product:b})}),f&&(0,t.jsx)("div",{className:"flex items-center mt-3",children:(0,t.jsx)(d.x,{href:"#",link:{title:"Acquista ora",layout:"bg-success text-white button-large"},onClick:e=>{e.preventDefault(),y(b.variants[0])}})})]})]})}),(0,t.jsx)("div",{className:"col-span-3 hidden 4xl:block pl-4 4xl:border-l border-gray",children:(0,t.jsx)("div",{className:"flex flex-col h-full",children:(0,t.jsx)("div",{className:"mt-auto md:px-6",children:null==p?void 0:p.map((e,l)=>(0,t.jsxs)("div",{className:"pt-3 pb-10 border-t border-gray",children:[(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography tagline text-neutral-400",children:e.title}),(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography xs-title",children:e.text})]},l))})})})]})})},eR=a(34624),eA=e=>{var l,a,s,n,d,c,m,u,x,h;let{data:p}=e,{logo:g,infoTitle:v,categoryLogo:f,infoText:j,eventTypeDetails:b,eventTypeTitle:y,eventTypeImage:N}=p;return(0,t.jsxs)(i.T,{size:"full",className:"px-6 py-8 lg:py-16 gap-y-8",children:[(0,t.jsx)("div",{className:"col-span-12 xl:col-span-5 4xl:col-span-3 order-1 2xl:order-1 4xl:order-0",children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[g&&(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)(o(),{src:g.mediaItemUrl,alt:g.altText,width:(null===(l=g.mediaDetails)||void 0===l?void 0:l.width)&&(null===(a=g.mediaDetails)||void 0===a?void 0:a.width)>=0?null===(s=g.mediaDetails)||void 0===s?void 0:s.width:160,height:(null===(n=g.mediaDetails)||void 0===n?void 0:n.height)&&(null===(d=g.mediaDetails)||void 0===d?void 0:d.height)>=0?null===(c=g.mediaDetails)||void 0===c?void 0:c.height:30})}),(0,t.jsxs)("div",{className:"mt-auto",children:[f&&(0,t.jsx)(o(),{src:f.mediaItemUrl,alt:f.altText,width:null===(m=f.mediaDetails)||void 0===m?void 0:m.width,height:null===(u=f.mediaDetails)||void 0===u?void 0:u.height,className:"mb-5 max-w-[120px]"}),v&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography default-title mb-8",content:v}),j&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p",content:j})]})]})}),(0,t.jsx)("div",{className:"col-span-12 xl:col-span-7 4xl:col-span-6 order-0 2xl:order-0 4xl:order-1",children:(0,t.jsxs)("div",{className:"flex flex-col h-full gap-x-12",children:[(0,t.jsx)("div",{className:"flex flex-col h-full grow",children:y&&(0,t.jsx)(r.Z,{tag:"h1",className:"pxn-typography secondary-title mb-8",content:y})}),(0,t.jsx)("div",{className:"shrink-0",children:(null==N?void 0:N.mediaItemUrl)&&(0,t.jsx)(o(),{src:N.mediaItemUrl,alt:N.altText||"",width:(null===(x=N.mediaDetails)||void 0===x?void 0:x.width)||200,height:(null===(h=N.mediaDetails)||void 0===h?void 0:h.height)||200,priority:!0})})]})}),(0,t.jsx)("div",{className:"col-span-12 xl:col-span-12 4xl:col-span-3 order-2",children:(0,t.jsx)("div",{className:"flex flex-col h-full",children:(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)("div",{className:"grid lg:grid-cols-4 4xl:grid-cols-2 gap-x-4",children:b&&b.map((e,l)=>(0,t.jsxs)("div",{className:"pt-3 pb-10 border-t border-gray",children:[(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography tagline text-neutral-400",content:null==e?void 0:e.title}),(0,t.jsx)(r.Z,{tag:"h4",className:"pxn-typography xs-title",content:null==e?void 0:e.text})]},l))})})})})]})},eq=a(73656);let eV={"layout-1":e=>{var l,a;let{data:n,...c}=e,m=Number(null===(l=c.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null,[u,x]=(0,s.use
1State)(null);return(0,t.jsxs)(t.Fragment,{children:[null===(a=c.odooDetails.odooData.relatedProducts)||void 0===a?void 0:a.map((e,l)=>{let{name:a,image:s,description:n,frontContentIndex:c}=e;return(0,t.jsx)("div",{className:"col-span-12 border border-gray p-5 rounded-lg",children:(0,t.jsxs)(i.T,{size:"full",className:"gap-y-8",children:[s&&(0,t.jsx)("div",{className:"col-span-12 md:col-span-4",children:(0,t.jsxs)("div",{className:"bg-gray-100 isolate rounded-lg overflow-hidden h-fit relative",children:[(0,t.jsx)(o(),{src:s,alt:a,width:700,height:700,className:"object-fit"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]})}),(0,t.jsx)("div",{className:"".concat(s?"col-span-8":"col-span-12"),children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-gray-900 border-b border-gray pb-4",children:a}),n&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mt-4 mb-4",children:n}),c&&c.includes("ul")&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"max-h-[200px] overflow-hidden relative product-horizontal-feature-".concat(l),children:[(0,t.jsx)(r.Z,{tag:"span",className:"pxn-front-content-index",children:c}),(0,t.jsx)("div",{className:"product-horizontal-feature-gradient absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white dark:from-black from-10% via-white/20 dark:via-black/20 via-35%"})]}),(0,t.jsx)(d.x,{href:"#",link:{title:"Leggi di pi\xf9",layout:"button-red button-small"},className:"inline-block author-show-bio mb-5",onClick:e=>{e.preventDefault();let a=document.querySelector(".product-horizontal-feature-"+l),t=null==a?void 0:a.querySelector(".product-horizontal-feature-gradient");a&&(a.classList.toggle("max-h-[200px]"),null==t||t.classList.toggle("bg-gradient-to-t"))}},"feature-horizontal-more-info-".concat(l))]}),(0,t.jsx)(i.E,{size:"full",className:"mt-auto gap-4 flex-wrap md:flex-nowrap flex-col",children:(0,t.jsx)("div",{className:"w-full flex gap-4 flex-wrap md:flex-nowrap",children:(0,t.jsx)(d.x,{href:"#",link:{title:"Richiedi informazioni",layout:"button-success-filled button-medium"},onClick:l=>{l.preventDefault(),x(e)},className:"w-full md:w-auto"})})})]})})]})},l)}),(0,t.jsx)(eg,{isOpen:!!u,onClose:()=>x(null),products:u?[u]:[],scopeId:m})]})},"layout-2":e=>{var l,a;let{data:n,...c}=e,m=Number(null===(l=c.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null,[u,x]=(0,s.use
1State)(null);return(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsxs)(i.E,{size:"large",className:"gap-y-8 px-6 justify-center flex-wrap md:flex-nowrap",children:[null===(a=c.odooDetails.odooData.relatedProducts)||void 0===a?void 0:a.map((e,l)=>{let{name:a,image:s,description:n,frontContentIndex:c}=e;return(0,t.jsx)("div",{className:"basis-full md:basis-6/12 lg:basis-4/12 rounded-lg border border-gray p-5",children:(0,t.jsxs)(i.E,{className:"flex-col h-full",children:[s&&(0,t.jsxs)("div",{className:"bg-gray-100 isolate rounded-lg overflow-hidden h-fit relative",children:[(0,t.jsx)(o(),{src:s,alt:"",width:700,height:700,className:"rounded-lg"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsx)(i.E,{className:"border-b border-t border-gray py-2 justify-between mt-5 mb-5 items-center",children:a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title",children:a})}),n&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",children:n}),c&&c.includes("ul")&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"max-h-[200px] overflow-hidden relative product-vertical-feature-".concat(l),children:[(0,t.jsx)(r.Z,{tag:"span",className:"pxn-front-content-index",children:c}),(0,t.jsx)("div",{className:"product-vertical-feature-gradient absolute top-0 left-0 w-full h-full bg-gradient-to-t from-white dark:from-black from-10% via-white/20 dark:via-black/20 via-35%"})]}),(0,t.jsx)(d.x,{href:"#",link:{title:"Leggi di pi\xf9",layout:"button-red button-small"},className:"inline-block author-show-bio mb-5",onClick:e=>{e.preventDefault();let a=document.querySelector(".product-vertical-feature-"+l),t=null==a?void 0:a.querySelector(".product-vertical-feature-gradient");a&&(a.classList.toggle("max-h-[200px]"),null==t||t.classList.toggle("bg-gradient-to-t"))}},"feature-vertical-more-info-".concat(l))]}),(0,t.jsx)(i.E,{size:"full",className:"mt-auto",children:(0,t.jsx)(d.x,{href:"#",link:{title:"Richiedi informazioni",layout:"button-success-filled button-large"},onClick:l=>{l.preventDefault(),x(e)}})})]})},l)}),(0,t.jsx)(eg,{isOpen:!!u,onClose:()=>x(null),products:u?[u]:[],scopeId:m})]})})}};var eL=e=>{let{data:l,...a}=e,{layout:s,containerSize:r}=l,n=eV[s||"layout-1"];return(0,t.jsx)(i.T,{size:null!=r?r:"medium",className:"pxn-grid gap-y-8 px-6",children:(0,t.jsx)(n,{data:l,...a})})},eM=a(85573),eO=e=>{var l;let{data:a,...n}=e,{data:o,isLoading:d,error:c}=I(n.odooDetails.odooData.eventTypeId),m=null==o?void 0:o.events,u=[n.odooDetails.odooData.mainProductDetails,...n.odooDetails.odooData.associatedProducts||[]].filter(Boolean).sort((e,l)=>
1e.price.value-l.price.value),[x,h]=(0,s.useState)(null),p=Number(null===(l=n.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null;return d?(0,t.jsx)(q.u,{}):c?(0,t.jsx)(ev.Z,{error:c}):(null==m?void 0:m.length)===0?(0,t.jsx)(i.T,{size:"medium",className:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-5 gap-8",children:(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-dark text-center",content:"Non ci sono date disponibili"})})}):(0,t.jsxs)(i.T,{size:"medium",className:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-5 gap-8",children:[null==m?void 0:m.map((e,l)=>{let a=ed(new Date(e.dateBegin),new Date(e.dateEnd));return e.address.state?(0,t.jsx)("div",{className:"rounded-lg border border-gray p-5",children:(0,t.jsxs)(i.E,{className:"flex-col h-full",children:[(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-t-lg overflow-hidden relative px-4 py-6 -m-5 mb-5",children:[e.address.state&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography default-title text-white",content:e.address.state}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography xs-title text-white capitalize",content:a}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsxs)("ul",{className:"flex-col gap-y-2 mb-5 hidden md:flex",children:[(0,t.jsxs)("li",{className:"flex items-center gap-x-2",children:[(0,t.jsx)(eM.Z,{className:"h-5 w-5 text-green-600","aria-hidden":"true"}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p font-medium",content:"Formazione"})]}),(0,t.jsxs)("li",{className:"flex items-center gap-x-2",children:[(0,t.jsx)(eM.Z,{className:"h-5 w-5 text-green-600","aria-hidden":"true"}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p font-medium",content:"Materiale didattico"})]}),(0,t.jsxs)("li",{className:"flex items-center gap-x-2",children:[(0,t.jsx)(eM.Z,{className:"h-5 w-5 text-green-600","aria-hidden":"true"}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p font-medium",content:"Certificazione ufficiale"})]})]}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)("button",{type:"button",onClick:()=>{h(e)},className:"inline-flex w-full justify-center rounded-md bg-green-600 px-3 py-2 uppercase text-sm font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Richiedi informazioni"})})]})},l):null}),(0,t.jsx)(eg,{isOpen:!!x,onClose:()=>h(null),products:u,events:m||[],defaultEventId:null==x?void 0:x.id,scopeId:p,courseTitle:null==o?void 0:o.name})]})};a(61230);var eH=a(74049),eG=a.n(eH);let eW=eG()(Promise.all([a.e(4035),a.e(6347)]).then(a.bind(a,26347)).then(e=>e.Map),{loadableGenerated:{webpack:()=>[26347]},ssr:!1}),e$=eG()(Promise.all([a.e(4035),a.e(6347)]).then(a.bind(a,26347)).then(e=>e.MapControl),{loadableGenerated:{webpack:()=>[26347]},ssr:!1}),eY=eG()(Promise.all([a.e(4035),a.e(6347)]).then(a.bind(a,26347)).then(e=>e.MapMarker),{loadableGenerated:{webpack:()=>[26347]},ssr:!1}),eQ=eG()(Promise.all([a.e(4035),a.e(6347)]).then(a.bind(a,26347)).then(e=>e.MapPopup),{loadableGenerated:{webpack:()=>[26347]},ssr:!1}),eX=(0,A.zop)("div")(e=>{let{theme:l}=e;return{zIndex:0,height:560,overflow:"hidden",position:"relative",borderRadius:l.shape.borderRadius,"& .mapboxgl-ctrl-logo, .mapboxgl-ctrl-bottom-right":{display:"none"}}});function eK(e){let{contacts:l}=e,a="light"===(0,A.FgM)().palette.mode,[i,r]=(0,s.useState)(null);return(0,t.jsx)(eX,{children:(0,t.jsxs)(eW,{initialViewState:{latitude:41.8988,longitude:12.5451,zoom:5},mapStyle:"mapbox://styles/mapbox/".concat(a?"light":"dark","-v10"),mapboxAccessToken:"pk.eyJ1IjoicGl4ZWxmb3VuZHJ5c3JsIiwiYSI6ImNsY2Z0dHV5ajM2bDAzcWw3bWRjeXZwankifQ.5UZVwBI_WFK7Kz_d14HKeg",children:[(0,t.jsx)(e$,{}),l.map((e,l)=>(0,t.jsx)(eY,{latitude:e.latlng[0],longitude:e.latlng[1],onClick:l=>{l.originalEvent.stopPropagation(),r(e)}},"marker-".concat(l))),i&&(0,t.jsx)(eQ,{longitude:i.latlng[1],latitude:i.latlng[0],onClose:()=>r(null),sx:{"& .mapboxgl-popup-content":{bgcolor:"common.white"},"&.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip":{borderTopColor:"#FFF"},"&.mapboxgl-popup-anchor-top .mapboxgl-popup-tip":{borderBottomColor:"#FFF"}}})]})})}let eJ=[{name:"Alessandria",latlng:[44.912849,8.615398]},{name:"Ancona",latlng:[43.616759,13.518875]},{name:"Bari",latlng:[41.125595,16.866535]},{name:"Bergamo",latlng:[45.694768,9.669084]},{name:"Bologna",latlng:[44.494888,11.342616]},{name:"Brescia",latlng:[45.541552,10.211802]},{name:"Brindisi",latlng:[40.636174,17.936463]},{name:"Cagliari",latlng:[39.223841,9.121661]},{name:"Catania",latlng:[37.502235,15.08738]},{name:"Catanzaro",latlng:[38.905977,16.594827]},{name:"Cosenza",latlng:[39.297934,16.256588]},{name:"Firenze",latlng:[43.769562,11.255814]},{name:"Foggia",latlng:[41.462086,15.544032]},{name:"Frosinone",latlng:[41.640753,13.351487]},{name:"Genova",latlng:[44.40564,8.946256]},{name:"Grosseto",latlng:[42.760267,11.113272]},{name:"La Spezia",latlng:[44.105659,9.823422]}
1,{name:"Latina",latlng:[41.468603,12.903136]},{name:"Lecce",latlng:[40.351239,18.174278]},{name:"Livorno",latlng:[43.548473,10.310567]},{name:"Messina",latlng:[38.193517,15.554117]},{name:"Milano",latlng:[45.464664,9.18854]},{name:"Modena",latlng:[44.647128,10.925226]},{name:"Napoli",latlng:[40.851775,14.268124]},{name:"Olbia-Tempio",latlng:[40.906579,9.121402]},{name:"Padova",latlng:[45.409572,11.876568]},{name:"Palermo",latlng:[38.115688,13.361267]},{name:"Parma",latlng:[44.801485,10.327903]},{name:"Perugia",latlng:[43.110717,12.389334]},{name:"Pescara",latlng:[42.461284,14.211172]},{name:"Piacenza",latlng:[45.052807,9.695595]},{name:"Pisa",latlng:[43.715532,10.39661]},{name:"Reggio Calabria",latlng:[38.115697,15.641199]},{name:"Rimini",latlng:[44.067828,12.569515]},{name:"Roma",latlng:[41.8920558,12.4572362]},{name:"Salerno",latlng:[40.679815,14.753273]},{name:"Sassari",latlng:[40.726955,8.555523]},{name:"Savona",latlng:[44.308949,8.481109]},{name:"Siena",latlng:[43.318869,11.330758]},{name:"Taranto",latlng:[40.474027,17.239429]},{name:"Terni",latlng:[42.558421,12.639648]},{name:"Torino",latlng:[45.070312,7.686856]},{name:"Treviso",latlng:[45.667546,12.245841]},{name:"Trieste",latlng:[45.649526,13.776818]},{name:"Udine",latlng:[46.071274,13.234139]},{name:"Verona",latlng:[45.438384,10.991622]},{name:"Viterbo",latlng:[42.417378,12.104736]}],e0={"layout-1":eO,"layout-2":e=>{let{data:l,...a}=e,{data:s,isLoading:n,error:o}=I(a.odooDetails.odooData.eventTypeId);if(n)return(0,t.jsx)(q.u,{});if(o)return(0,t.jsx)(ev.Z,{error:o});let c=null==s?void 0:s.events;return(null==c?void 0:c.length)===0?(0,t.jsx)(i.T,{size:"medium",className:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-5 gap-8",children:(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title text-dark text-center",children:"Non ci sono date disponibili"})})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.T,{size:"small",className:"gap-y-8 px-6 rounded-lg border border-gray p-5",children:[(0,t.jsx)("div",{className:"col-span-12 lg:col-span-5",children:(0,t.jsxs)(i.E,{className:"flex-col h-full",children:[(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography default-title mb-8",children:"Prossime date in programma"}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 gap-x-4",children:null==c?void 0:c.slice(0,12).map((e,l)=>{let a=ed(new Date(e.dateBegin),new Date(e.dateEnd));return e.address.state?(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"pt-3 pb-6 border-t border-gray",children:[e.address.state&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography xs-title",children:e.address.state&&e.address.state}),(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography tagline text-neutral-400",children:a})]})}):null})}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)(d.x,{link:{title:"Tutte le date"},href:"#date",className:"inline-flex w-full justify-center rounded-md bg-[#FCD200] text-xs font-bold px-3 py-2 uppercase text-black shadow-sm hover:bg-yellow-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"})})]})}),(0,t.jsx)("div",{className:"col-span-12 lg:col-span-7 pointer-events-none",children:(0,t.jsx)(eK,{contacts:eJ})})]})})}};var e1=e=>{let{data:l,...a}=e,{layout:s,containerSize:r}=l,n=e0[s||"layout-1"]||eO;return(0,t.jsx)(i.T,{size:null!=r?r:"medium",className:"pxn-grid px-6",children:(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(n,{data:l,...a})})})},e2=()=>(0,t.jsx)("div",{children:"NotImplemented"}),e4=e=>{var l,a,s,n,c,m;let{data:u}=e,{categoryLogo:x,containerSize:h,description:p,hasGradient:g,dark:v,logo:f,image:j,linkList:b,subtitle:y,title:N,tagline:w}=u;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"".concat("".concat(v?"dark ".concat(g?"section-gradient":""):"")),children:(0,t.jsxs)("div",{className:"relative w-full overflow-hidden isolate bg-neutral-100 dark:bg-dark",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-gradient bg-gradient-radial from-slate-700 to-black"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-10 dark:bg-gradient-to-t from-black via-black/40"}),(0,t.jsxs)(i.T,{size:null!=h?h:"medium",className:"gap-y-8 px-6 min-h-[70vh] pt-8 lg:pt-2 relative",children:[(0,t.jsx)("div",{className:"col-span-6 self-center relative z-10",children:(0,t.jsxs)("div",{className:"pb-12 lg:pb-24",children:[x&&(0,t.jsx)("div",{className:"mb-8 lg:mb-4",children:(0,t.jsx)(o(),{src:x.mediaItemUrl,alt:x.altText,width:null===(l=x.mediaDetails)||void 0===l?void 0:l.width,height:null===(a=x.mediaDetails)||void 0===a?void 0:a.height})}),f&&(0,t.jsx)("div",{className:"mb-12 lg:mb-8",children:(0,t.jsx)(o(),{src:f.mediaItemUrl,alt:f.altText,width:null===(s=f.mediaDetails)||void 0===s?void 0:s.width,height:null===(n=f.mediaDetails)||void 0===n?void 0:n.height})}),w&&(0,t.jsx)(r.Z,{tag:"span",className:"pxn-typography tagline text-neutral-400 mb-3 block",children:w}),N&&(0,t.jsx)(r.Z,{tag:"h1",className:"pxn-typography main-title mb-5 py-2 border-t border-b border-gray",children:N}),y&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography xs-title mb-5",children:y}),p&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5",children:p}),(0,t.jsx)(i.E,{size:"small",className:p?"items-center":"items-center justify-end",children:b&&(0,t.jsx)(i.E,{size:"small",className:"flex flex-wrap gap-4 justify-start items-center",children:b.map((e,l)=>e.image?(0,t.jsx)(es(),{href:e.link.url,className:"relative",children:(0,t.jsx)(o(),{src:e.image.mediaItemUrl,alt:e.image.altText,width:e.image.mediaDetails.width,height:e.image.mediaDetails.height,className:"max-h-14 max-w-full w-auto"})},l):(0,t.jsx)(d.x,{href:e.link.url,link:{...e.link,layout:"button-secondary button-medium"},size:"medium",className:"self-center"},l))})})]})}),j&&(0,t.jsx)("div",{className:"col-span-6 self-end hidden md:block md:relative -z-20 absolute bottom-0 left-0 object-contain",children:(0,t.jsx)(o(),{src:j.mediaItemUrl,alt:j.altText,width:null===(c=j.mediaDetails)||void 0===c?void 0:c.width,height:null===(m=j.mediaDetails)||void 0===m?void 0:m.height,className:"block w-full",priority:!0})})]})]})})})};let e6={dots:!1,infinite:!0,speed:1e3,slidesToShow:5,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!1,initialSlide:0,arrows:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}]},e3={"layout-1":e=>{var l;let{data:a,...n}=e,{containerSize:d}=a,c=(0,s.useRef)(null);return(0,t.jsxs)(i.T,{size:null!=d?d:"medium",className:"px-6 relative justify-center items-center authors-slider-container",children:[(0,t.jsx)(o(),{src:"../../../assets/images/carousel-right.svg",alt:"arrow",width:50,height:50,className:"author-slider-right-arrow",onClick:()=>{var e;null===(e=c.current)||void 0===e||e.slickNext()}}),(0,t.jsx)(o(),{src:"../../../assets/images/carousel-left.svg",alt:"arrow",width:50,height:50,className:"author-slider-left-arrow",onClick:()=>{var e;null===(e=c.current)||void 0===e||e.slickPrev()}}),(0,t.jsx)(ew.Z,{ref:c,...e6,className:"col-span-12 authors-slider",children:null===(l=n.odooDetails.authors)||void 0===l?void 0:l.map((e,l)=>{let{name:a,picture:s,excerpt:n}=e;return(0,t.jsx)("div",{className:"rounded-lg overflow-hidden isolate relative h-full",children:(0,t.jsxs)(i.E,{className:"flex-col gap-4 relative h-full",children:[(0,t.jsxs)("div",{className:"bg-dark dark:bg-white isolate rounded-lg overflow-hidden h-fit relative",children:[s&&(0,t.jsx)(o(),{src:s,alt:a,width:6
150,height:650}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full bg-gradient-radial from-slate-700 to-black"})]}),(0,t.jsxs)("div",{children:[a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography secondary-title mb-5 text-dark dark:text-white",content:a}),n&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography p mb-5 text-black dark:text-white line-clamp-2",content:n})]})]})},l)})})]})}};var e5=e=>{let{data:l,...a}=e,{layout:s}=l,i=e3[s||"layout-1"];return(0,t.jsx)(i,{data:l,...a})},e8=e=>{let{wpData:l,productsData:a}=e,{firstProductTitle:s,secondProductTitle:i,thirdProductTitle:r}=l;return(0,t.jsx)(t.Fragment,{children:null==a?void 0:a.map((e,l)=>(0,t.jsxs)("th",{scope:"col",className:"px-1 lg:px-6 pt-6 xl:px-4 xl:pt-4",children:[(0,t.jsxs)("div",{className:"relative isolate overflow-hidden rounded-lg aspect-square items-center justify-center hidden lg:flex",children:[(0,t.jsx)(o(),{src:e.image,alt:e.name,height:600,width:600,className:"object-contain w-full"}),(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full bg-gradient-radial from-slate-700 to-black"})]}),0===l&&s&&(0,t.jsx)("div",{className:"pxn-typography text-lg text-center bg-dark text-white lg:text-black lg:bg-transparent lg:text-left lg:border-t lg:border-b border-gray mt-4 py-2 px-2 ",children:s}),1===l&&i&&(0,t.jsx)("div",{className:"pxn-typography text-lg text-center bg-dark text-white lg:text-black lg:bg-transparent lg:text-left lg:border-t lg:border-b border-gray mt-4 py-2 px-2 ",children:i}),2===l&&r&&(0,t.jsx)("div",{className:"pxn-typography text-lg text-center bg-dark text-white lg:text-black lg:bg-transparent lg:text-left lg:border-t lg:border-b border-gray mt-4 py-2 px-2 ",children:r})]},l))})},e7=a(44518);function e9(){let[e,l]=(0,s.useState)({width:1920,height:1080});return(0,s.useEffect)(()=>{function e(){l({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}var le=e=>{let{wpData:l,productsCount:a}=e,{width:i}=e9();return(0,t.jsx)(t.Fragment,{children:null==l?void 0:l.map((e,l)=>(0,t.jsx)(s.Fragment,{children:(0,t.jsxs)("tr",{children:[(0,t.jsxs)("th",{scope:"row",className:"py-4 text-md font-bold leading-6 text-gray-900",children:[e.title,(0,t.jsx)("div",{className:"absolute inset-x-8 mt-4 h-0 lg:h-px bg-gray-900/5"})]}),(0,t.jsx)("td",{className:"px-2 lg:px-6 py-4 xl:px-8",children:!0===e.includedInFirstProduct?(0,t.jsx)(eM.Z,{className:"mx-auto h-7 w-7 text-green-600","aria-hidden":"true"}):(0,t.jsx)(e7.Z,{className:"mx-auto h-7 w-7 text-main","aria-hidden":"true"})}),(0,t.jsx)("td",{className:"px-2 lg:px-6 py-4 xl:px-8",children:!0===e.includedInSecondProduct?(0,t.jsx)(eM.Z,{className:"mx-auto h-7 w-7 text-green-600","aria-hidden":"true"}):(0,t.jsx)(e7.Z,{className:"mx-auto h-7 w-7 text-main","aria-hidden":"true"})}),a>=3&&(0,t.jsx)("td",{className:"px-2 lg:px-6 py-4 xl:px-8",children:!0===e.includedInThirdProduct?(0,t.jsx)(eM.Z,{className:"mx-auto h-7 w-7 text-green-600","aria-hidden":"true"}):(0,t.jsx)(e7.Z,{className:"mx-auto h-7 w-7 text-main","aria-hidden":"true"})})]})},l))})},ll=a(79639),la=e=>{var l,a,i;let{productsData:r,...n}=e,o=Number(null===(l=n.odooDetails)||void 0===l?void 0:l.erpRelatedAmbiti)||null,{data:d}=I(null===(i=n.odooDetails)||void 0===i?void 0:null===(a=i.odooData)||void 0===a?void 0:a.eventTypeId),[c,m]=(0,s.useState)(null);return(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"row",children:(0,t.jsx)("span",{className:"sr-only",children:"Richiedi informazioni"})}),r.map((e,l)=>(0,t.jsx)("td",{className:"px-2 lg:px-6 pt-2 pb-4 xl:px-4",children:(0,t.jsx)("div",{className:"flex items-center flex-col",children:(0,t.jsx)("button",{type:"button",onClick:()=>{m(e)},className:"inline-flex w-full justify-center rounded-md bg-green-600 px-3 py-2 uppercase text-sm font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"hidden lg:block",children:"Richiedi informazioni"}),(0,t.jsx)(ll.Z,{className:"h-6 w-6 lg:hidden","aria-hidden":"true"})]})})})},l)),(0,t.jsx)(eg,{isOpen:!!c,onClose:()=>m(null),products:r,events:(null==d?void 0:d.events)||[],defaultProductId:c&&ex(c),scopeId:o,courseTitle:null==d?void 0:d.name})]})},lt=a(4159),ls=e=>{let{data:l,...a}=e,s=a.odooDetails.odooData.comparisonProducts,r=s.sort((e,l)=>e.price.value-l.price.value),n=s.length,{containerSize:o,description:d}=l||{},{width:c}=e9();return(0,t.jsx)(i.T,{size:null!=o?o:"medium",className:"mx-auto lg:px-6 grid-cols-12 ",children:(0,t.jsx)("div",{className:"col-span-12 isolate block",children:(0,t.jsxs)("div",{className:"relative xl:-mx-8 overflow-x-auto px-2 xl:px-0",children:[(0,t.jsx)("div",{className:"absolute inset-x-0 inset-y-0 -z-10 flex px-2 lg:px-0",children:(0,t.jsx)("div",{className:"flex ".concat(n>=3?"w-[1px] ml-[150px] px-0 lg:px-2 lg:w-1/4 sm:ml-[25%]":"w-[1px] ml-[150px] px-0 lg:px-2 lg:w-1/3 sm:ml-[33.333333%]"),"aria-hidden":"true",children:(0,t.jsx)("div",{className:"w-full rounded-xl border-l lg:border-x border-t border-b border-gray-900/10 "})})}),(0,t.jsx)("div",{className:"absolute inset-x-0 inset-y-0 -z-10 flex px-2 lg:px-0",children:(0,t.jsx)("div",{className:"flex ".concat(n>=3?"w-[1px] ml-[300px] px-0 lg:px-2 lg:w-1/4 sm:ml-[50%]":"w-[1px] ml-[300px] px-0 lg:px-2 lg:w-1/3 sm:ml-[66.666666%]"),"aria-hidden":"true",children:(0,t.jsx)("div",{className:"w-full rounded-xl border-l lg:border-x border-t border-b border-gray-900/10 "})})}),n>=3&&(0,t.jsx)("div",{className:"absolute inset-x-0 inset-y-0 -z-10 flex px-2 lg:px-0",children:(0,t.jsx)("div",{className:"w-[1px] ml-[450px] flex lg:w-1/4 px-0 lg:px-2 sm:ml-[75%]","aria-hidden":"true",children:(0,t.jsx)("div",{className:"w-full rounded-xl border-l lg:border-x border-t border-b border-gray-900/10 "})})}),(0,t.jsxs)("table",{className:"w-full lg:table-fixed border-collapse border-0 border-t-0 border-b-0 border-gray-900/10 border-spacing-x-1 lg:border-spacing-x-8 text-left px-1",children:[(0,t.jsx)("caption",{className:"sr-only",children:"product comparison"}),(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{className:"w-1/4"}),(0,t.jsx)("col",{className:"w-1/4"}),(0,t.jsx)("col",{className:"w-1/4"}),n>=3&&(0,t.jsx)("col",{className:"w-1/4"})]}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"align-top pt-6",children:(0,t.jsx)(lt.Z,{tag:"p",className:"p line-clamp-[8] hidden lg:block",children:d})}),(0,t.jsx)(e8,{wpData:l,productsData:s})]})}),(0,t.jsxs)("tbody",{children:[(0,t.jsx)(le,{wpData:(null==l?void 0:l.featureList)||[],productsCount:n}),(0,t.jsx)(la,{productsData:r,odooDetails:a.odooDetails})]})]})]})})})},li=a(63034),lr=a(13793),ln=a(21735),lo=a(2971),ld=e=>{let{logoSrc:l,logoAlt:a="Logo",logoWidth:s=200,logoHeight:i=60,title:r,de
1scription:n,ctaLabel:d,ctaHref:c}=e;return(0,t.jsx)(lr.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",py:8,px:2},children:(0,t.jsxs)(ln.Z,{spacing:3,alignItems:"center",maxWidth:"600px",children:[(0,t.jsx)(lr.Z,{sx:{fontSize:80,color:"success.main",animation:"scaleIn 0.5s ease-out","@keyframes scaleIn":{"0%":{transform:"scale(0)",opacity:0},"50%":{transform:"scale(1.1)"},"100%":{transform:"scale(1)",opacity:1}}},children:"✓"}),l&&(0,t.jsx)(lr.Z,{sx:{mb:2},children:(0,t.jsx)(o(),{src:l,alt:a,width:s,height:i,style:{maxWidth:"100%",height:"auto"}})}),(0,t.jsx)(lo.Z,{variant:"h4",component:"h2",className:"pxn-typography secondary-title",sx:{fontWeight:700,color:"text.primary"},children:r}),n&&(0,t.jsx)(lo.Z,{variant:"body1",className:"pxn-typography p",sx:{color:"text.secondary",fontSize:"1.125rem"},children:n}),d&&c&&(0,t.jsx)(lr.Z,{sx:{mt:2},children:(0,t.jsx)("a",{href:c,className:"pxn-link button-yellow-filled button-small",style:{textDecoration:"none",display:"inline-block"},children:d})})]})})};let lc={newsletter:e=>{var l,a,n,d;let{data:c,odooDetails:m}=e,{ctaFormLogo:u,ctaFotmTitle:x,ctaFormSubtitle:h,addCc:p}=c,[g,v]=(0,s.useState)(!1),[f,j]=(0,s.useState)(!1),{enqueueSnackbar:b}=(0,A.Ds_)(),{t:y}=(0,ea.$G)(),N=Number(null==m?void 0:m.erpRelatedAmbiti)||null,w=async e=>{if(!g){v(!0);try{let l=(0,C.Z)(),a={...e,eventId:l,url:window.location.href};await k.Z.post("/api/v1/form/newsletter",a),(0,eo.l7)(e,l),j(!0)}catch(e){b("Errore nell'invio del messaggio",{variant:"error"})}finally{v(!1)}}},{customer:Z,loadingCustomer:_,customerError:D}=(0,R.v9)(e=>e.customer),z=(0,s.useMemo)(()=>_?(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(q.u,{loading:!0})}):(0,t.jsx)(q.u,{loading:g,children:(0,t.jsx)(ei,{loading:g,onSubmit:w,initialValue:{name:Z?Z.name:"",mobile:Z?Z.phone:"",email:Z?Z.email:"",toc:!1,recaptchaToken:"",scopeId:N,addCc:p||""}})}),[_,g,w,Z]);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative overflow-hidden isolate bg-neutral-100 dark:bg-transparent",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient dark:bg-gradient-radial dark:from-slate-700 dark:to-black"}),(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6",children:(0,t.jsx)(i.T,{size:"small",className:"relative z-20 isolate lg:gap-x-20 items-center",children:(0,t.jsx)("div",{className:"col-span-12 py-16 md:py-20 text-center",children:f?(0,t.jsx)(ld,{logoSrc:(null==u?void 0:u.mediaItemUrl)||void 0,logoAlt:(null==u?void 0:u.altText)||void 0,logoWidth:(null==u?void 0:null===(l=u.mediaDetails)||void 0===l?void 0:l.width)||void 0,logoHeight:(null==u?void 0:null===(a=u.mediaDetails)||void 0===a?void 0:a.height)||void 0,title:y("message:form.success.title"),description:y("message:form.success.newsletter")}):(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(o(),{src:u.mediaItemUrl,alt:u.altText,width:null===(n=u.mediaDetails)||void 0===n?void 0:n.width,height:null===(d=u.mediaDetails)||void 0===d?void 0:d.height,className:"mx-auto"})}),x&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title border-t border-b border-gray py-4 mb-4 text-dark dark:text-white",children:x}),h&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography p mb-3 text-dark dark:text-white",children:h}),z]})})})})]})})},first_charapter:e=>{var l,a,n,d,c,m;let{odooDetails:u,data:x}=e,{relatedFile:h,containerSize:p,inverted:g,ctaFormLogo:v,ctaFotmTitle:f,ctaFormSubtitle:j,ctaFormImage:b,addCc:y}=x,N="",w="";!0===g&&(N="order-0",w="order-1");let Z=Number(null==u?void 0:u.erpRelatedAmbiti)||null,{enqueueSnackbar:_}
1=(0,A.Ds_)(),[D,z]=(0,s.useState)(!1),[T,I]=(0,s.useState)(!1),{t:P}=(0,ea.$G)(),S=async e=>{if(!D){z(!0);try{let l=(0,C.Z)(),a={...e,eventId:l,url:window.location.href};await k.Z.post("/api/v1/form/first-chapter",a),(0,eo.A)(e,l),I(!0)}catch(e){_("Errore nell'invio del messaggio",{variant:"error"})}finally{z(!1)}}},{customer:E,loadingCustomer:F,customerError:B}=(0,R.v9)(e=>e.customer),U=(0,s.useMemo)(()=>F?(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(q.u,{loading:!0})}):(0,t.jsx)(q.u,{loading:D,children:(0,t.jsx)(er,{loading:D,onSubmit:S,initialValue:{name:E?E.name:"",mobile:E?E.phone:"",email:E?E.email:"",toc:!1,file:(null==h?void 0:h.mediaItemUrl)||"",recaptchaToken:"",scopeId:Z,addCc:y||"",url:""}})}),[F,D,h,S,E]);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative overflow-hidden isolate bg-neutral-100 dark:bg-transparent",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient dark:bg-gradient-radial dark:from-slate-700 dark:to-black"}),(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6",children:(0,t.jsx)(i.T,{size:null!=p?p:"medium",className:"relative z-20 isolate lg:gap-x-20 items-center",children:T?(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(ld,{logoSrc:(null==v?void 0:v.mediaItemUrl)||void 0,logoAlt:(null==v?void 0:v.altText)||void 0,logoWidth:(null==v?void 0:null===(l=v.mediaDetails)||void 0===l?void 0:l.width)||void 0,logoHeight:(null==v?void 0:null===(a=v.mediaDetails)||void 0===a?void 0:a.height)||void 0,title:P("message:form.success.title"),description:P("message:form.success.firstChapter")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"col-span-12 md:col-span-5 flex items-end h-full ".concat(N),children:b&&(0,t.jsx)(o(),{src:b.mediaItemUrl,alt:b.altText,width:null===(n=b.mediaDetails)||void 0===n?void 0:n.width,height:null===(d=b.mediaDetails)||void 0===d?void 0:d.height})}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-7 py-16 md:py-20  ".concat(w),children:[v&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(o(),{src:v.mediaItemUrl,alt:v.altText,width:null===(c=v.mediaDetails)||void 0===c?void 0:c.width,height:null===(m=v.mediaDetails)||void 0===m?void 0:m.height})}),f&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title border-t border-b border-gray py-4 mb-6 text-dark dark:text-white",children:f}),j&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography p mb-6 text-dark dark:text-white",children:j}),U]})]})})})]})})},info_request:e=>{var l,a,n,d,c,m;let{data:u,odooDetails:x}=e,{relatedFile:h,containerSize:p,inverted:g,ctaFormLogo:v,ctaFotmTitle:f,ctaFormSubtitle:j,ctaFormImage:b,addCc:y,eventId:N}=u,w=Number(null==x?void 0:x.erpRelatedAmbiti)||null,Z="",_="";!0===g&&(Z="order-0",_="order-1");let{customer:D,loadingCustomer:z,customerError:T}=(0,R.v9)(e=>e.customer),[I,P]=(0,s.useState)(!1),[S,E]=(0,s.useState)(!1),{enqueueSnackbar:F}=(0,A.Ds_)(),{t:B}=(0,ea.$G)(),U=async e=>{if(!I){P(!0);try{let l=(0,C.Z)(),a=Number.isInteger(Number(N))&&Number(N)>0?Number(N):void 0;null!=N&&""!==N&&void 0===a&&console.warn("[request-info] ignoring unusable WP eventId ".concat(JSON.stringify(N)," at ").concat(window.location.pathname));let t={...e,eventId:l,odooEventId:a,url:window.location.href};await k.Z.post("/api/v1/form/request-info",t),(0,eo.lV)(e,l),E(!0)}catch(e){F("Errore nell'invio del messaggio",{variant:"error"})}finally{P(!1)}}},V=(0,s.useMemo)(()=>z?(0,t.jsx)("div",{className:"h-[300px]",children:(0,t.jsx)(q.u,{loading:!0})}):(0,t.jsx)(q.u,{loading:I,children:(0,t.jsx)(en,{loading:I,onSubmit:U,initialValue:{name:D?D.name:"",mobile:D?D.phone:"",email:D?D.email:"",request:"",toc:!1,recaptchaToken:"",scopeId:w,productName:"",productId:null,eventId:void 0,eventName:null,addCc:y||"",url:""}})}),[z,I,U,D]);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"relative overflow-hidden isolate bg-neutral-100 dark:bg-transparent",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-40 h-full w-full pxn-child-gradient dark:bg-gradient-radial dark:from-slate-700 dark:to-black"}),(0,t.jsx)("div",{className:"mx-auto gap-y-8 px-6",children:(0,t.jsx)(i.T,{size:null!=p?p:"medium",className:"relative z-20 isolate lg:gap-x-20 items-center",children:S?(0,t.jsx)("div",{className:"col-span-12",children:(0,t.jsx)(ld,{logoSrc:(null==v?void 0:v.mediaItemUrl)||void 0,logoAlt:(null==v?void 0:v.altText)||void 0,logoWidth:(null==v?void 0:null===(l=v.mediaDetails)||void 0===l?void 0:l.width)||void 0,logoHeight:(null==v?void 0:null===(a=v.mediaDetails)||void 0===a?void 0:a.height)||void 0,title:B("message:form.success.title"),description:B("message:form.success.requestInfo")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"col-span-12 md:col-span-5 flex items-end h-full ".concat(Z),children:b&&(0,t.jsx)(o(),{src:b.mediaItemUrl,alt:b.altText,width:null===(n=b.mediaDetails)||void 0===n?void 0:n.width,height:null===(d=b.mediaDetails)||void 0===d?void 0:d.height})}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-7 py-16 md:py-20  ".concat(_),children:[v&&(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(o(),{src:v.mediaItemUrl,alt:v.altText,width:null===(c=v.mediaDetails)||void 0===c?void 0:c.width,height:null===(m=v.mediaDetails)||void 0===m?void 0:m.height})}),f&&(0,t.jsx)(r.Z,{tag:"h2",className:"pxn-typography secondary-title border-t border-b border-gray py-4 mb-4 text-dark dark:text-white",children:f}),j&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography p mb-3 text-dark dark:text-white",children:j}),V]})]})})})]})})}};var lm=e=>{let{data:l,...a}=e,{form:s,eventId:i}=l,r=lc[s||"newsletter"];return(0,t.jsx)("div",{className:"dark:mt-[-2rem] dark:mb-[-2rem] dark:xl:mt-[-3rem] dark:xl:mb-[-3rem] form-cta-wrapper",children:(0,t.jsx)(r,{data:l,...a})})},lu=a(153),lx=a(33111),lh=a(54684);let lp={"layout-1":e=>{var l;let{data:a,...n}=e,{siteData:d}=(0,lu.W)(),{testimonials:c}=d,m=null===(l=n.odooDetails.odooData)||void 0===l?void 0:l.relatedTestimonials,u=null==c?void 0:c.filter(e=>m&&m.includes(e.id)),{containerSize:x}=a,h=(0,s.useRef)(null),p=(null==u?void 0:u.length)||4,g=e=>{let l=[];for(let a=1;a<=5;a++)l.push((0,t.jsx)(lx.Z,{width:20,height:20,className:a<=e?"text-yellow-400":"text-gray-300"},a));return l};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.T,{size:null!=x?x:"medium",className:"px-6 relative justify-center items-center authors-slider-container",children:[(0,t.jsx)(o(),{src:"../../../assets/images/carousel-right.svg",alt:"arrow",width:50,height:50,className:"author-slider-right-arrow",onClick:()=>{var e;null===(e=h.current)||void 0===e||e.slickNext()}}),(0,t.jsx)(o(),{src:"../../../assets/images/carousel-left.svg",alt:"arrow",width:50,height:50,className:"author-slider-left-arrow",onClick:()=>{var e;null===(e=h.current)||void 0===e||e.slickPrev()}}),(0,t.jsx)(ew.Z,{ref:h,dots:!1,infinite:!0,speed:1e3,slidesToShow:p>=4?4:p,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!1,initialSlide:0,arrows:!1,responsive:[{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1}}],className:"col-span-12 authors-slider",children:null==u?void 0:u.map((e,l)=>{let{partner:a,partnerPicture:s,message:i,rating:n,quote:d}=e;return(0,t.jsxs)("div",{className:"relative text-center",children:[s?(0,t.jsx)("div",{className:"mb-2 ",children:(0,t.jsx)(o(),{src:s,alt:a,width:120,height:120,className:"object-fit mx-auto overflow-hidden rounded-full"})}):(0,t.jsx)("div",{className:"mb-2 ",children:(0,t.jsx)(o(),{src:"/"+lh.X_+"/circle-logo-mini.svg",alt:a,width:36,height:36,className:"object-fit mx-auto overflow-hidden rounded-full bg-dark w-10 h-10 p-1"})}),a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography text-xl font-bold mb-3 text-dark dark:text-white",children:a}),i&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography text-sm mb-4 text-black dark:text-white line-clamp-4",children:i}),(0,t.jsx)("div",{className:"flex justify-center items-center",children:g(n)})]},l)})})]})})},"layout-2":e=>{let{data:l,...a}=e,{siteData:n}=(0,lu.W)(),{testimonials:d}=n,c=a.odooDetails.odooData.relatedTestimonials,m=(null==d?void 0:d.filter(e=>c&&c.includes(e.id)))||[],{containerSize:u}=l,x=(0,s.useRef)(null),h=(null==m?void 0:m.length)||4,p=e=>{let l=[];for(let a=1;a<=5;a++)l.push((0,t.jsx)(lx.Z,{width:20,height:20,className:a<=e?"text-yellow-400":"text-gray-300"},a));return l};return(0,t.jsxs)(i.T,{size:null!=u?u:"medium",className:"px-6 relative justify-center items-center grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 ga
1p-x-8 gap-y-12 xl:gap-x-12 xl:gap-y-20",children:[(0,t.jsx)(o(),{src:"../../../assets/images/carousel-right.svg",alt:"arrow",width:50,height:50,className:"author-slider-right-arrow",onClick:()=>{var e;null===(e=x.current)||void 0===e||e.slickNext()}}),(0,t.jsx)(o(),{src:"../../../assets/images/carousel-left.svg",alt:"arrow",width:50,height:50,className:"author-slider-left-arrow",onClick:()=>{var e;null===(e=x.current)||void 0===e||e.slickPrev()}}),(0,t.jsx)(ew.Z,{ref:x,dots:!1,infinite:!0,speed:1e3,slidesToShow:h>=4?4:h,slidesToScroll:1,rows:3,slidesPerRow:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!1,initialSlide:0,arrows:!1,responsive:[{breakpoint:1280,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1,rows:2}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,rows:2}}],className:"col-span-12 authors-slider testimonials-slider",children:null==m?void 0:m.map((e,l)=>{let{partner:a,partnerPicture:s,message:n,rating:d,quote:c}=e;return(0,t.jsxs)(i.E,{className:"relative gap-4 flex-col h-full",children:[(0,t.jsxs)(i.E,{className:"items-center gap-x-4",children:[s?(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsx)(o(),{src:s,alt:a,width:35,height:35,className:"object-fit overflow-hidden rounded-full"})}):(0,t.jsx)("div",{className:"mb-2 ",children:(0,t.jsx)(o(),{src:"/"+lh.X_+"/circle-logo-mini.svg",alt:a,width:36,height:36,className:"object-fit mx-auto overflow-hidden rounded-full bg-dark w-10 h-10 p-1"})}),(0,t.jsxs)(i.E,{className:"flex-col",children:[a&&(0,t.jsx)(r.Z,{tag:"h3",className:"pxn-typography text-md font-bold text-dark dark:text-white",children:a}),(0,t.jsx)("div",{className:"flex items-center",children:p(d)})]})]}),(0,t.jsx)("div",{children:n&&(0,t.jsx)(r.Z,{tag:"p",className:"pxn-typography text-sm mb-4 text-black dark:text-white line-clamp-4",children:n})})]},l)})})]})}};var lg=e=>{let{data:l,...a}=e,{layout:s}=l,i=lp[s||"layout-1"];return(0,t.jsx)(i,{data:l,...a})},lv=a(40017),lf=e=>{let{data:l,...a}=e,{containerSize:s}=l,r=(a.odooDetails.latestArticles||[]).map(e=>{var l;let{slug:a}=e;return{data:{title:e.title||"",image:(null===(l=e.featuredImage)||void 0===l?void 0:l.node)||null,excerpt:e.excerpt||"",slug:a||"",date:e.dateGmt||""}}});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"p-6 child-gradient",children:(0,t.jsx)(i.T,{size:null!=s?s:"medium",className:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 gap-6",children:r.map((e,l)=>(0,t.jsx)(lv.Z,{data:e.data},l))})})})},lj=e=>{let{data:l}=e,{counterImage:a,counterText:r,dailyHoursLabel:n,daysPerWeekLabel:o,hourlyCostLabel:c,link:m,participantsLabel:x,containerSize:h}=l,[p,g]=(0,s.useState)(10),[v,f]=(0,s.useState)(3),[j,b]=(0,s.useState)(5),[y,N]=(0,s.useState)(10),[w,k]=(0,s.useState)(0);return(0,s.useEffect)(()=>{k(p*v*j*y*4)},[p,v,j,y]),(0,t.jsxs)(i.T,{className:"my-8 lg:my-16 gap-y-8 px-6",size:null!=h?h:"medium",children:[a&&(0,t.jsx)("div",{className:"col-span-12 md:col-span-4 ",children:(0,t.jsx)(i.E,{className:"items-center h-full",children:(0,t.jsx)(u.Z,{image:a,contrast:!1,video:null,embed:null})})}),(0,t.jsx)("div",{className:"col-span-12 md:col-span-4",children:(0,t.jsx)("div",{className:"text-base xl:text-xl",dangerouslySetInnerHTML:{__html:r}})}),(0,t.jsxs)("div",{className:"col-span-12 md:col-span-4 flex flex-col gap-y-4",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-3 items-center",children:[(0,t.jsx)("label",{htmlFor:"participants",className:"text-xl xl:text-3xl font-bold",children:x}),(0,t.jsx)("input",{id:"participants",type:"number",className:"h-8 border-2 border-gray rounded-md w-16 text-center dark:bg-black",value:0===p?"":p,onChange:e=>{let l=e.target.value;g(""===l?0:parseInt(l,10)||0)}})]}),(0,t.jsxs)("div",{className:"flex justify-between gap-3 items-center",children:[(0,t.jsx)("label",{htmlFor:"dailyHours",className:"text-xl xl:text-3xl font-bold",children:n}),(0,t.jsx)("input",{id:"dailyHours",max:24,type:"number",className:"h-8 border-2 border-gray rounded-md w-16 text-center dark:bg-black",value:0===v?"":v,onChange:e=>{let l=e.target.value;f(""===l?0:parseInt(l,10)||0)}})]}),(0,t.jsxs)("div",{className:"flex justify-between gap-3 items-center",children:[(0,t.jsx)("label",{htmlFor:"daysPerWeek",className:"text-xl xl:text-3xl font-bold",children:o}),(0,t.jsx)("input",{id:"daysPerWeek",max:7,type:"number",className:"h-8 border-2 border-gray rounded-md w-16 text-center dark:bg-black",value:0===j?"":j,onChange:e=>{let l=e.target.value;b(""===l?0:parseInt(l,10)||0)}})]}),(0,t.jsxs)("div",{className:"flex justify-between gap-3 items-center",children:[(0,t.jsx)("label",{htmlFor:"hourlyCost",className:"text-xl xl:text-3xl font-bold",children:c}),(0,t.jsx)("input",{id:"hourlyCost",type:"number",className:"h-8 border-2 border-gray rounded-md w-16 text-center dark:bg-black",value:0===y?"":y,onChange:e=>{let l=e.target.value;N(""===l?0:parseInt(l,10)||0)}})]}),(0,t.jsx)("div",{className:"text-center text-3xl font-bold",children:"="}),(0,t.jsxs)("div",{className:"text-center text-3xl xl:text-5xl font-semibold",children:[(0,t.jsxs)("span",{className:"text-success total-counter",children:[w.toLocaleStr
1ing()," €"]})," ","/ Mese"]}),(0,t.jsx)("div",{className:"flex justify-center",children:m&&(0,t.jsx)(d.x,{href:m.url||"#",className:"flex w-full justify-center",link:{...m,layout:"button-secondary button-medium text-center"}})})]})]})};let lb={Page_Composer_PageBuilder_Contents:h,Page_Composer_PageBuilder_Cards:p.o,Page_Composer_PageBuilder_Authors:eR.p,Page_Composer_PageBuilder_RandomAuthors:e5,Page_Composer_PageBuilder_Breadcrumbs:li.O,Page_Composer_PageBuilder_CallToAction:ey,Page_Composer_PageBuilder_Counters:eN,Page_Composer_PageBuilder_CourseDate:e1,Page_Composer_PageBuilder_Faq:j,Page_Composer_PageBuilder_FormCta:lm,Page_Composer_PageBuilder_Gallery:eT,Page_Composer_PageBuilder_HeadingCourse:eA,Page_Composer_PageBuilder_HeadingProduct:eU,Page_Composer_PageBuilder_PathHeading:e4,Page_Composer_PageBuilder_Kit:ej,Page_Composer_PageBuilder_Testimonials:lg,Page_Composer_PageBuilder_Slideshow:eC,Page_Composer_PageBuilder_MainHeading:eq.Z,Page_Composer_PageBuilder_Products:eL,Page_Composer_PageBuilder_ProductComparison:ls,Page_Composer_PageBuilder_LatestArticles:lf,Page_Composer_PageBuilder_CounterBlock:lj,Prodotti_Composer_PageBuilder_Contents:h,Prodotti_Composer_PageBuilder_Cards:p.o,Prodotti_Composer_PageBuilder_Authors:eR.p,Prodotti_Composer_PageBuilder_RandomAuthors:e5,Prodotti_Composer_PageBuilder_Breadcrumbs:li.O,Prodotti_Composer_PageBuilder_CallToAction:ey,Prodotti_Composer_PageBuilder_Counters:eN,Prodotti_Composer_PageBuilder_CourseDate:e1,Prodotti_Composer_PageBuilder_Faq:j,Prodotti_Composer_PageBuilder_FormCta:lm,Prodotti_Composer_PageBuilder_Gallery:eT,Prodotti_Composer_PageBuilder_HeadingCourse:eA,Prodotti_Composer_PageBuilder_HeadingProduct:eU,Prodotti_Composer_PageBuilder_PathHeading:e4,Prodotti_Composer_PageBuilder_Kit:ej,Prodotti_Composer_PageBuilder_Testimonials:lg,Prodotti_Composer_PageBuilder_Slideshow:eC,Prodotti_Composer_PageBuilder_Products:eL,Prodotti_Composer_PageBuilder_ProductComparison:ls,Prodotti_Composer_PageBuilder_LatestArticles:lf,Prodotti_Composer_PageBuilder_CounterBlock:lj};function ly(e){return lb[e]||e2}},32346:function(e,l,a){var t=a(31549);a(44194);var s=a(73262),i=a(21735),r=a(13793),n=a(2971),o=a(11826),d=a(20559),c=a(62694),m=a(60523),u=a.n(m),x=a(83151),h=a(39940);l.Z=e=>{let{error:l}=e,{t:a}=(0,x.$G)(),m=(0,s.Z)();return(0,t.jsxs)(i.Z,{spacing:5,justifyContent:"center",sx:{my:8,mx:"auto",maxWidth:"45rem",textAlign:"center",px:{xs:2,sm:0}},children:[(0,t.jsx)(r.Z,{borderRadius:"50%",sx:{background:m.palette.error.main,width:100,height:100,mx:"auto"},children:(0,t.jsx)(h.Z,{icon:"fe:plus",width:100,height:100,color:"#ffffff",sx:{transform:"rotate(45deg)"}})}),(0,t.jsx)(r.Z,{children:(0,t.jsx)(n.Z,{variant:"h2",color:m.palette.error.main,children:a("error:error")})}),(0,t.jsx)(o.Z,{}),(0,t.jsx)(n.Z,{children:a("error:".concat(l.message))}),(0,t.jsx)(n.Z,{children:a("message:tryLaterOrContactSupport")}),(0,t.jsx)(o.Z,{}),(0,t.jsxs)(i.Z,{spacing:2,justifyContent:"center",direction:{xs:"column-reverse",sm:"row"},children:[(0,t.jsx)(d.Z,{component:u(),href:"/",underline:"none",color:m.palette.common.black,children:(0,t.jsx)(c.Z,{size:"large",variant:"outlined",color:"inherit",startIcon:(0,t.jsx)(h.Z,{icon:"eva:arrow-ios-back-fill"}),sx:{textTransform:"revert"},children:a("button:goToHomePage")})}),(0,t.jsx)(c.Z,{size:"large",variant:"outlined",sx:{textTransform:"revert"},onClick:()=>{window.location.reload()},children:a("button:retry")})]})]})}}}]);

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.