PageSourceSearch

https://www.realemutua.it/SiteAssets/js-dynamic-components-new/shared.js

js realemutua.it collected 2026-09-24 18:54:48 UTC 107,565 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[804],{4(e,t,r){r.d(t,{So:()=>n});const n=e=>0!==e.length&&!!/^([A-Za-z]{6}[0-9lmnpqrstuvLMNPQRSTUV]{2}[abcdehlmprstABCDEHLMPRST]{1}[0-9lmnpqrstuvLMNPQRSTUV]{2}[A-Za-z]{1}[0-9lmnpqrstuvLMNPQRSTUV]{3}[A-Za-z]{1})$|^([0-9]{11})$/i.test(e)},290(e,t,r){r.d(t,{A:()=>o});var n=r(4848),l=r(9579),a=r(5554);const o=({icon:e,title:t,subtitle:r,description:o,cta:s})=>(0,n.jsxs)("div",{className:"flex flex-col gap-s justify-center items-center",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-xs items-center",children:[e,(0,n.jsxs)("div",{className:"flex flex-col gap-s items-center",children:[t&&(0,n.jsx)("h4",{className:"font-bold",children:t}),(0,n.jsxs)("div",{className:"flex flex-col gap-xxs items-center",children:[r&&(0,n.jsx)("h5",{className:"font-bold",children:r}),(0,n.jsx)(a.A,{component:"p",className:"text-neutral-darker",children:o})]})]})]}),(0,n.jsx)("div",{children:(0,n.jsx)(l.$,{size:"Large",color:"Primary",onClick:s.onClick,children:s.label})})]})},346(e,t,r){r.d(t,{A:()=>d});var n=r(4848),l=r(9579),a=r(9720),o=r(5554),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const i=e=>{const t=s(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{d:"M19.8666 30.9001H5.33325V14.5H19.8666V30.9001ZM7.19991 29.1667H18.1333V16.5H7.19991V29.1667Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M26.2665 30.9001H19.0665V29.1667H24.3998V5.03319H13.5998V15.4333H11.7332V3.16666H26.2665V30.9001Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.1999 6.2334H23.0665V8.09994H21.1999V6.2334ZM23.0665 9.0332H21.1999V10.9001H23.0665V9.0332ZM21.1999 11.8333H23.0665V13.6999H21.1999V11.8333ZM23.0665 14.6331H21.1999V16.5H23.0665V14.6331ZM21.1999 17.4333H23.0665V19.2998H21.1999V17.4333ZM10.3999 17.5667H8.5332V19.4333H10.3999V17.5667ZM8.5332 20.3665H10.3999V22.2334H8.5332V20.3665ZM11.7331 20.3665H13.5997V22.2334H11.7331V20.3665ZM16.6668 20.3665H14.8001V22.2334H16.6668V20.3665ZM8.5332 23.1667H10.3999V25.0332H8.5332V23.1667ZM13.5997 23.1667H11.7331V25.0332H13.5997V23.1667ZM14.8001 23.1667H16.6668V25.0332H14.8001V23.1667ZM10.3999 25.9665H8.5332V27.8333H10.3999V25.9665ZM14.8001 25.9665H16.6668V27.8333H14.8001V25.9665ZM11.7331 17.5667H13.5997V19.4333H11.7331V17.5667ZM16.6668 17.5667H14.8001V19.4333H16.6668V17.5667ZM21.1999 20.3665H23.0665V22.2334H21.1999V20.3665ZM23.0665 23.1667H21.1999V25.0332H23.0665V23.1667ZM20.0001 11.8333H18.1335V13.6999H20.0001V11.8333ZM18.1335 9.0332H20.0001V10.9001H18.1335V9.0332ZM20.0001 6.2334H18.1335V8.09994H20.0001V6.2334ZM14.9336 11.8333H16.8003V13.6999H14.9336V11.8333ZM16.8003 9.0332H14.9336V10.9001H16.8003V9.0332ZM14.9336 6.2334H16.8003V8.09994H14.9336V6.2334Z",fill:"currentColor"})]}))};var c=r(8046);const d=({descrizione:e,cta:t,title:r,agenzia:s,indirizzo:d,telefono:p})=>(0,n.jsxs)("div",{className:"bg-neutral-white lg:w-[45.875rem] md:w-[32.875rem] sm:w-[20.4375rem]  shadow-medium",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-m px-m pt-s pb-xs",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-xs",children:[(0,n.jsx)("h3",{className:"font-bold text-primary",children:r}),(0,n.jsx)(o.A,{className:"text-neutral-black",children:e})]}),(0,n.jsx)(a.A,{type:"horizontal"}),(0,n.jsxs)("div",{className:"flex flex-col gap-[12px]",children:[(0,n.jsxs)("div",{className:"flex gap-xxs",children:[(0,n.jsx)(i,{height:24,width:24,className:"text-primary-darker"}),(0,n.jsx)(o.A,{className:"text-primary-darker",children:"La tua Agenzia"})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-xxs",children:[(0,n.jsx)("h5",{className:"font-bold text-primary-dark",children:s}),(0,n.jsx)(o.A,{className:"text-neutral-darker",children:d})]}),(0,n.jsxs)("div",{className:"flex gap-xxs",children:[(0,n.jsx)(c.A,{height:32,width:32,className:"text-primary"}),(0,n.jsx)("a",{className:"text-primary underline font-bold",href:`tel:${p}`,children:p})]})]})]}),(0,n.jsx)("div",{className:"sm:hidden md:block flex sm:justify-end px-m py-s",children:(0,n.jsx)(l.$,{onClick:t.onClick,size:"Large",color:"Primary",children:t.label})}),(0,n.jsx)("div",{className:"sm:block md:hidden w-full justify-center px-m py-s",children:(0,n.jsx)(l.$,{onClick:t.onClick,size:"Large",color:"Primary",children:t.label})})]})},390(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{d:"M18.2 22.3L11.6 18.8L5 22.3L6.30005 15L1 9.80005L8.30005 8.7002L11.6 2L14.9 8.7002L22.2 9.80005L16.9 15L18.2 22.3ZM11.
16 17.3L16.4 19.8L15.5 14.5L19.4 10.7002L14.1 9.90015L11.7 5.1001L9.30005 9.90015L4 10.7002L7.90002 14.5L7 19.8L11.6 17.3Z",fill:"#FFBF00"}),(0,n.jsx)("path",{d:"M19.0949 15.2768L18.5806 16.5789L21.3709 17.6811L21.8852 16.379L19.0949 15.2768Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M4.24098 15.228L1.45068 16.3296L1.96473 17.6316L4.75503 16.53L4.24098 15.228Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M5.84696 4.34936L4.74365 5.21118L6.59045 7.57548L7.69376 6.71366L5.84696 4.34936Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M17.5688 4.34585L15.6401 6.64355L16.7125 7.54371L18.6412 5.24601L17.5688 4.34585Z",fill:"#004291"})]}))}},965(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 82 82",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M39.2916 10.25C26.9916 10.25 17.0833 20.1583 17.0833 32.4583C17.0833 49.2 39.2916 73.8003 39.2916 73.8003C39.2916 73.8003 61.4999 49.2 61.4999 32.4583C61.4999 20.1583 51.5916 10.25 39.2916 10.25ZM39.2916 40.3168C34.8499 40.3168 31.4333 36.9 31.4333 32.4583C31.4333 28.0167 34.8499 24.6007 39.2916 24.6007C43.7332 24.6007 47.1499 28.0167 47.1499 32.4583C47.1499 36.9 43.7332 40.3168 39.2916 40.3168Z",fill:t.color||"#004291"})}))}},1023(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=r(6540),a=r(1358),o=r(3505),s=r(6885),i=r(4743);const c=({children:e,disabled:t=!1,label:r="Informazioni"})=>{const[c,d]=(0,l.useState)(!1),p=(0,l.useRef)(null),u=(0,l.useRef)(`tooltip-${Math.random().toString(36).slice(2)}`),{refs:m,floatingStyles:x,context:f}=(0,o.we)({placement:"top-start",open:!t&&c,onOpenChange:d,middleware:[(0,i.cY)(-16),(0,i.UU)(),(0,i.BN)({padding:8}),(0,i.UE)({element:p,padding:16})],whileElementsMounted:s.ll}),{getReferenceProps:h,getFloatingProps:g}=(0,o.bv)([(0,o.Mk)(f,{enabled:!t}),(0,o.iQ)(f,{enabled:!t}),(0,o.s9)(f),(0,o.It)(f,{role:"tooltip"})]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",Object.assign({ref:m.setReference},h(),{"aria-label":r,"aria-describedby":c?u.current:void 0,disabled:t,type:"button",style:{display:"inline-flex",alignItems:"center",background:"none",border:"none",padding:0,cursor:t?"default":"pointer"},children:(0,n.jsx)(a.A,{"aria-hidden":"true",focusable:"false",height:24,width:24,className:"shrink-0 w-s h-s"})})),c&&!t&&(0,n.jsxs)("div",Object.assign({id:u.current,role:"tooltip",ref:m.setFloating},g(),{style:Object.assign(Object.assign({},x),{background:"#323232",color:"white",padding:"12px 16px",borderRadius:8,fontSize:14,lineHeight:"20px",width:370,maxWidth:370,zIndex:9999,pointerEvents:"none",boxShadow:"0 4px 12px rgba(0,0,0,0.1)"}),children:[e,(0,n.jsx)(o.ie,{width:16,height:8,fill:"#323232",tipRadius:2,ref:p,context:f})]}))]})}},1027(e,t,r){r.d(t,{F5:()=>l,V:()=>n,aq:()=>a});const n=e=>{if(!e)return 0;const t=e.replace(/\./g,"").replace(",","."),r=parseFloat(t);return isNaN(r)?0:r},l=e=>{var t;if(!e)return"";const r=e.replace(/[^\d,]/g,"").split(","),n=r[0],l=null===(t=r[1])||void 0===t?void 0:t.slice(0,2),a=n.replace(/\B(?=(\d{3})+(?!\d))/g,".");return void 0!==l?`${a},${l}`:a},a=(e,t=100)=>{if(!e)return"";let r=e.replace(/[^\d,]/g,"");const[n,l]=r.split(",");if(r.startsWith(","))return"";const a=null==l?void 0:l.slice(0,2),o=void 0!==a?`${n},${a}`:n,s=parseFloat(o.replace(",","."));return isNaN(s)?o:s>t?o.slice(0,-1):o}},1276(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("g",{clipPath:"url(#clip0_30_6316)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.63608 4.22183C5.24556 3.8313 4.6124 3.8313 4.22187 4.22183C3.83135 4.61235 3.83135 5.24551 4.22187 5.63604L10.5858 12L4.22187 18.364C3.83135 18.7545 3.83135 19.3876 4.22187 19.7782C4.6124 20.1687 5.24556 20.1687 5.63608 19.7782L12 13.4142L18.364 19.7782C18.7545 20.1687 19.3877 20.1687 19.7782 19.7782C20.1687 19.3876 20.1687 18.7545 19.7782 18.364L13.4143 12L19.7782 5.63604C20.1687 5.24552 20.1687 4.61235 19.7782 4.22183C19.3877 3.8313 18.7545 3.8313 18.364 4.22183L12 10.5858L5.63608 4.22183Z",fill:"currentColor"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_30_6316",children:(0,n.jsx)("rect",{width:"24",height:"24",fill:"#fff"})})})]}))}},1358(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M13 10.1H11.5V8.59998H13V10.1ZM13 15.8999H11.5V11.5H13V15.8999ZM12.3 5C8.29999 5 5 8.29993 5 12.2999C5 16.2999 8.29999 19.6 12.3 19.6C16.3 19.6 19.6 16.2999 19.6 12.2999C19.5 8.29993 16.3 5 12.3 5Z",fill:"currentColor"})}))}},1668(e,t,r){r.d(t,{u:()=>n});const n=(e,t,r)=>{console.log(`${!!t} %c${e}`,r||"color:white; font-weight: bold; font-size: 13px; padding: 2px;")}},1843(e,t,r){r.d(t,{A:()=>m});var n=r(4848),l=r(6942),a=r.n(l),o=r(4868),s=r(6540);const i=({children:e,isSelected:t})=>(0,n.jsx)("div",{className:`-translate-x-1/2 -translate-y-full pin-mappa-wrapper ${t?"selected":"not-selected"} w-fit h-fit relative`,children:e});var c=r(937),d=r(5606),p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const u={center:{lat:45.0734672,lng:7.6053959},zoom:19},m=e=>{var t,r;const{items:l,mapRef:a,pinSelected:c,childrenPinMappa:m}=e,h=p(e,["items","mapRef","pinSelected","childrenPinMappa"]),g=(0,s.useRef)();(0,s.useEffect)(()=>{var e;c&&g.current&&(null===(e=g.current)||void 0===e||e.map.panTo({lat:c.lat+.015,lng:c.lng-.015}))},[c]);const b=(0,s.useMemo)(()=>null==l?void 0:l.map((e,t)=>{var r;const l=(null==c?void 0:c.lat)===e.lat&&(null==c?void 0:c.lng)===e.lng;return(0,n.jsx)(i,{lat:e.lat,lng:e.lng,isSelected:l,children:(0,n.jsx)(x,{type:e.type,isSelected:null!==(r=e.selected)&&void 0!==r&&r,onClick:e.onClick})},t)}),[l]);return(0,n.jsx)("div",{style:{height:"500px",width:"100%"},children:(0,n.jsxs)(o.Ay,Object.assign({yesIWantToUseGoogleMapApiInternals:!0,options:Object.assign({},e.options),onGoogleApiLoaded:e=>{g.current=e,a&&(a.current=e)},bootstrapURLKeys:{key:null!==(t=d.env.REACT_APP_GOOGLE_MAPS_API_KEY)&&void 0!==t?t:""},defaultCenter:null!==(r=e.defaultCenter)&&void 0!==r?r:u.center,onClick:e=>e.event.preventDefault()},h,{children:[b,c&&(0,n.jsx)(f,{children:m})]}))})},x=({type:e,onClick:t,isSelected:r})=>(0,n.jsx)(c.vq8,{fontSize:63,className:a()("cursor-pointer",r?"text-primary":"text-primary-darker"),onClick:t}),f=({children:e})=>(0,n.jsx)("div",{className:"z-[9999] absolute -translate-x-1/3 -translate-y-[227px] w-[280px] bg-white rounded-[8px]",children:e})},1980(e,t,r){r.d(t,{iC:()=>o});var n=r(1154),l=r(6765);const a=e=>{const t=["creazioneTicketIORP"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/private-area/polizze/iorp/creazione-ticket",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},o=e=>{const t=a(e);return(0,n.n)(t)}},2191(e,t,r){r.d(t,{A:()=>x});
1var n=r(4848),l=r(5554),a=r(2005),o=r(1229),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const i=e=>{const t=s(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M5 9L12 15L19 9",stroke:"currentColor",strokeWidth:"2"})}))};var c=r(4751),d=r(6942),p=r.n(d),u=r(6540),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const x=e=>{const{backgroundColor:t,textColor:r,textWeight:s,label:d,iconOnLabel:x,options:f,error:h,defaultValue:g,onChange:b,value:y,rightIcon:j,labelColor:v,customClasses:w}=e,[O,C]=(m(e,["backgroundColor","textColor","textWeight","label","iconOnLabel","options","error","defaultValue","onChange","value","rightIcon","labelColor","customClasses"]),(0,u.useState)(null!=g?g:f[0])),[L,P]=(0,u.useState)(!1);(0,u.useEffect)(()=>{if(!L)return;const e=document.documentElement;e.style.overflow="",e.style.paddingRight=""},[L]),(0,u.useEffect)(()=>{b(O)},[O]),(0,u.useEffect)(()=>{(null==y?void 0:y.label)&&(null==y?void 0:y.value)&&C({label:y.label,value:y.value})},[y]),(0,u.useEffect)(()=>{if(!L)return;const e=document.documentElement;e.style.overflow="",e.style.paddingRight="";const t=document.querySelector("#headlessui-portal-root"),r=document.querySelector(`.${c.f}`),n=null==r?void 0:r.shadowRoot;t&&n&&n.appendChild(t)},[L]);const k=v?"blue"===v?"text-primary-darker":"text-neutral-white":"text-primary-darker",S=(0,u.useRef)(null);return(0,n.jsxs)("div",{className:"flex flex-col w-full gap-xxs",children:[d&&(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)(l.A,{size:"M",weight:"Bold",className:e.disabled?"text-neutral-semi":k,children:d}),x]}),(0,n.jsx)(a.WF,{value:O,onChange:C,disabled:e.disabled,children:({open:c})=>{var d;return P(c),(0,n.jsxs)("div",{className:"relative mt-1",ref:S,children:[(0,n.jsxs)(a.go,{className:p()("w-full rounded py-[10px] px-xs flex flex-row items-center gap-xxs justify-between focus:ring-2 hover:ring-2 focus:ring-primary-darker hover:ring-primary-darker",{"bg-neutral-lightest":"lightest"===t},{"bg-neutral-white":"white"===t},{"border-2 border-danger":h},{}),children:[(0,n.jsx)(l.A,{weight:"Bold"===s?"Bold":"Regular",className:p()(e.disabled?"text-neutral-semi":"text-neutral-dark","white"===r?"text-white":"text-neutral-dark"),children:null==O?void 0:O.label}),j||(0,n.jsx)(i,{className:p()({"text-white":"white"===e.textColor},{"text-primary-darker":"blue"===e.textColor},{"text-neutral-semi":e.disabled},{"rotate-180 transform":c})})]}),(0,n.jsx)(o.e,{as:u.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)(a.wh,{anchor:"bottom",onMouseDown:e=>e.stopPropagation(),style:{width:null===(d=S.current)||void 0===d?void 0:d.clientWidth},className:p()("mt-xxxs bg-neutral-white absolute inset-x-0 min-w-fit overflow-auto scrollable rounded py-xxs px-[0.0625rem] shadow-md border border-primary-lighter z-50",{"h-[12rem]":f.length>4},null==w?void 0:w.listbox),children:f.map((e,t)=>(0,n.jsx)(a.h7,{className:p()("px-xs py-[0.625rem] text-m hover:cursor-pointer",{"data-[focus]:bg-primary-lighter":O.value!==e.value,"bg-primary-dark text-neutral-white":O.value===e.value},e),value:e,children:t=>{const r=O.value===e.value,a=t.focus,o=t.selected;return(0,n.jsx)("div",{children:(0,n.jsx)(l.A,{weight:r||a?"Bold":"Regular",className:p()("cursor-pointer",{"text-neutral-white":r},{"text-primary-darker":!r&&(a||o)}),children:e.label})})}},t))})})]})}})]})}},2202(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(5554),a=r(6540),o=r(6386);const s=({helperText:e,isMultiple:t,handleDrop:r,accept:s,capture:i,disabled:c,title:d,subtitle:p})=>{const u="images"===s?{"image/png":[".png"],"image/jpeg":[".jpeg",".jpg"]}:"pdf"===s?{"application/pdf":[".pdf"]}:{"application/pdf":[".pdf"],"image/png":[".png"],"image/jpeg":[".jpeg",".jpg"],"image/gif":[".gif"],"image/tiff":[".tiff"],"application/zip":[".zip"],"application/x-7z-compressed":[".7z"],"application/x-rar-compressed":[".rar"],"text/csv":[".csv"],"text/plain":[".txt"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.ms-excel":[".xls"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[".xlsx"],"application/vnd.ms-powerpoint":[".ppt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"],"application/rtf":[".rtf"],"application/postscript":[".ps"],"application/vnd.ms-publisher":[".pub"],"application/x-tar":[".tar"],"application/x-gzip":[".gz"],"audio/wav":[".wav"],"audio/x-wma":[".wma"],"video/mp4":[".mp4"],"video/x-ms-wmv":[".wmv"],"video/quicktime":[".mov"],"application/xml":[".xml"],"message/rfc822":[".eml"],"application/vnd.ms-outlook":[".msg"],"application/vnd.oasis.opendocument.text":[".odt"],"application/vnd.oasis.opendocument.spreadsheet":[".ods"],"application/vnd.oasis.opendocument.presentation":[".odp"],"application/vnd.oasis.opendocument.graphics":[".odg"],"text/html":[".html"],"multipart/related":[".mht"]},{getRootProps:m,getInputProps:x,isFocused:f,isDragActive:h}=(0,o.VB)({multiple:t||!1,onDrop:e=>{r(e)},accept:u}),g=(0,a.useMemo)(()=>({flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"56px 8px",borderWidth:2,borderRadius:8,borderColor:"#0961c9 ",borderStyle:"dashed",backgroundColor:"#EBF4FF",color:"rgb(50 50 50 / var(--tw-text-opacity))",outline:"none",transition:"border .24s ease-in-out",width:"100%",height:"125px"}),[f,h,e]);return(0,n.jsxs)("div",{className:"flex flex-col gap-xxs",children:[d&&(0,n.jsx)(l.A,{weight:"Bold",className:"text-primary-darker",children:d}),p&&(0,n.jsx)(l.A,{weight:"Regular",size:"M",className:"text-primary",children:p}),(0,n.jsxs)("div",Object.assign({style:g,className:"cursor-pointer"},m(),{children:[(0,n.jsx)("input",Object.assign({},x(),{capture:i||void 0,disabled:c})),(0,n.jsxs)("div",{className:"text-primary",children:[(0,n.jsxs)("span",{className:"md:block hidden",children:[(0,n.jsx)("strong",{children:"Trascina"})," il file o ",(0,n.jsx)("strong",{children:"clicca qui"})," per caricare l’immagine"]}),(0,n.jsxs)("span",{className:"md:hidden block",children:[(0,n.jsx)("strong",{children:"Clicca qui"})," per caricare l’immagine"]})]})]})),e&&(0,n.jsx)(l.A,{size:"XS",weight:"Regular",className:"text-danger-dark font-bold",children:e})]})}},2238(e,t,r){r.d(t,{F:()=>l});var n=r(6540);const l={"registrazione-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(354)]).then(r.bind(r,4109)))},"completa-recupero-password-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(855)]).then(r.bind(r,414)))},"completa-recupero-username-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(344)]).then(r.bind(r,7895)))},"completa-registrazione-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(262)]).then(r.bind(r,6164)))},"recupero-password-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(451)]).then(r.bind(r,3661)))},"recupero-username-new":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(812)]).then(r.bind(r,7433)))},chatbot:{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(968)]).then(r.bind(r,323)))},"form-reclami":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(447)]).then(r.bind(r,4919)))},"preventivatore-vita":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(322),r.e(582)]).then(r.bind(r,3784)))},"form-recesso":{webpart:(0,n.lazy)(()=>Promise.all([r.e(121),r.e(804),r.e(306),r.e(946)]).then(r.bind(r,2484)))}}},2245(e,t,r){r.d(t,{A:()=>O});var n=r(4848),l=r(5554),a=r(9054),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{o(e,[]);return(0,n.jsxs)("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.47434 17.0711C5.59898 15.1957 4.54541 12.6522 4.5454
11 10C4.54541 7.34783 5.59898 4.8043 7.47434 2.92893C9.34971 1.05357 11.8932 -3.21184e-07 14.5454 -4.37114e-07C15.0475 -4.5906e-07 15.4545 0.407012 15.4545 0.90909C15.4545 1.41117 15.0475 1.81818 14.5454 1.81818C12.3755 1.81818 10.2944 2.68019 8.75999 4.21458C7.2256 5.74897 6.36359 7.83005 6.36359 10C6.36359 12.17 7.2256 14.251 8.75999 15.7854C10.2944 17.3198 12.3755 18.1818 14.5454 18.1818C15.0475 18.1818 15.4545 18.5888 15.4545 19.0909C15.4545 19.593 15.0475 20 14.5454 20C11.8932 20 9.34971 18.9464 7.47434 17.0711Z",fill:"#323232"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.18183C0 7.67975 0.407014 7.27274 0.909091 7.27274H11.8182C12.3203 7.27274 12.7273 7.67975 12.7273 8.18183C12.7273 8.6839 12.3203 9.09092 11.8182 9.09092H0.909091C0.407014 9.09092 0 8.6839 0 8.18183Z",fill:"#323232"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 11.8182C0 11.3161 0.407014 10.9091 0.909091 10.9091H11.8182C12.3203 10.9091 12.7273 11.3161 12.7273 11.8182C12.7273 12.3203 12.3203 12.7273 11.8182 12.7273H0.909091C0.407014 12.7273 0 12.3203 0 11.8182Z",fill:"#323232"})]})};var i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const c=e=>{const t=i(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0321 7C20.3268 7.9403 19.0645 9.35956 17.4121 10.5352C15.7582 11.7118 13.7778 12.6 11.6098 12.6C9.44685 12.6 7.54172 11.7156 5.98761 10.55C4.43135 9.38281 3.28318 7.97393 2.6641 7.0453L1 8.1547C1.71425 9.22607 3.01053 10.8172 4.78761 12.15C4.89748 12.2324 5.0094 12.314 5.12334 12.3945L3.12494 14.3929L4.53916 15.8071L6.89203 13.4542C8.06544 14.0359 9.38581 14.4565 10.8321 14.5696V17.1H12.8321V14.5254C14.3499 14.3403 15.7437 13.8264 16.978 13.1601L19.6249 15.8071L21.0392 14.3929L18.7108 12.0646C20.5031 10.7614 21.8572 9.23309 22.632 8.2L21.0321 7Z",fill:"currentColor"})}))};var d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const p=e=>{const t=d(e,[]);return(0,n.jsxs)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{d:"M11.7556 5C6.64611 5 2.84214 9.19456 1.297 11.7125C1.10547 12.0246 1.12153 12.4174 1.33319 12.7162C3.00594 15.0778 6.74386 19 11.7556 19C16.7498 19 20.9008 15.105 22.6422 12.7409C22.8702 12.4313 22.8759 12.0164 22.659 11.6989C20.9381 9.17951 16.8558 5 11.7556 5Z",fill:"currentColor"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"5",fill:"white"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]}))};var u=r(1358),m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const x=e=>{const t=m(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M4 17.5063V21H7.31237L17.1312 10.6439L13.8188 7.15024L4 17.5063ZM19.7338 7.89899C20.0887 7.52467 20.0887 6.90069 19.7338 6.52638L17.6044 4.28074C17.2495 3.90642 16.658 3.90642 16.3031 4.28074L14.647 6.02742L17.9593 9.52108C18.0776 9.52108 19.7338 7.89899 19.7338 7.89899Z",fill:t.color||"currentColor"})}))};var f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const h=e=>{f(e,[]);return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M16.4697 5.46973C16.7626 5.17684 17.2373 5.17684 17.5302 5.46973C17.8231 5.76262 17.8231 6.23738 17.5302 6.53028L6.53022 17.5303C6.23732 17.8232 5.76256 17.8232 5.46967 17.5303C5.17678 17.2374 5.17678 16.7626 5.46967 16.4697L16.4697 5.46973Z",fill:"#323232"}),(0,n.jsx)("path",{d:"M9.5 8C9.5 7.17157 8.82843 6.5 8 6.5C7.17157 6.5 6.5 7.17157 6.5 8C6.5 8.82843 7.17157 9.5 8 9.5V11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11V9.5C8.82843 9.5 9.5 8.82843 9.5 8Z",fill:"#323232"}),(0,n.jsx)("path",{d:"M16.5 15C16.5 14.1716 15.8284 13.5 15 13.5C14.1716 13.5 13.5 14.1716 13.5 15C13.5 15.8284 14.1716 16.5 15 16.5V18C13.3431 18 12 16.6569 12 15C12 13.3431 13.3431 12 15 12C16.6569 12 18 13.3431 18 15C18 16.6569 16.6569 18 15 18V16.5C15.8284 16.5 16.5 15.8284 16.5 15Z",fill:"#323232"})]})};var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const b=e=>{const t=g(e,[]);
1return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9503 4.16913C21.0623 3.85054 20.9816 3.49598 20.7428 3.2572C20.504 3.01842 20.1495 2.93773 19.8309 3.04967L3.58699 8.75698C3.23287 8.8814 2.997 9.21714 3.00003 9.59246C3.00306 9.96778 3.24431 10.2997 3.60038 10.4184L11.0863 12.9137L13.5816 20.3996C13.7003 20.7557 14.0322 20.9969 14.4075 21C14.7829 21.003 15.1186 20.7671 15.243 20.413L20.9503 4.16913ZM11.5433 11.2149L6.58909 9.56352L16.7728 5.98546L11.5433 11.2149ZM12.7851 12.4567L14.4365 17.4109L18.0145 7.22721L12.7851 12.4567Z",fill:"currentColor"})}))};var y=r(6942),j=r.n(y),v=r(6540),w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const O=(0,v.forwardRef)((e,t)=>{var r;const{backgroundColor:o,error:i,rightIcon:d,label:m,helperText:f,className:g,onClickIcon:y}=e,O=w(e,["backgroundColor","error","rightIcon","label","helperText","className","onClickIcon"]),C=(0,v.useId)(),L=C,P=null!==(r=e.type)&&void 0!==r?r:"text",k="password"===P,[S,N]=(0,v.useState)(!1),M=(0,v.useRef)(),A=(0,v.useCallback)(e=>{null!=e&&(M.current=e,null!=t&&("function"==typeof t?t(e):t.current=e))},[]);return(0,v.useEffect)(()=>{M.current&&(M.current.type=k?S?"text":"password":P)},[S]),(0,n.jsxs)("div",{className:"flex flex-col w-full gap-xxs",children:[m&&(0,n.jsx)(l.A,{size:"M",htmlFor:C,component:"p",weight:"Bold",className:j()("w-fit",e.disabled?"text-neutral-semi":"text-primary-darker"),children:m}),(0,n.jsxs)("div",{className:j()("flex flex-row items-center justify-end flex-nowrap relative rounded"),children:[(0,n.jsx)("input",Object.assign({ref:A,id:C,name:L,className:j()("relative w-full flex items-center h-xl rounded px-xs py-[0.625rem] text-neutral-black placeholder:text-neutral-dark placeholder:text-m text-m focus:text-neutral-dark border-0 focus:ring-2 focus:ring-primary-darker",{"placeholder:text-neutral-semi":e.disabled},{"bg-neutral-lightest":"lightest"===o},{"border-2 border-danger text-neutral-dark":i},{"hover:ring-2 hover:ring-primary-darker":!e.disabled},g)},O)),(0,n.jsxs)("div",{onClick:y,className:j()("mr-xs absolute cursor-pointer",{"text-danger":i},{"text-neutral-semi":e.disabled},{"text-primary-darker":!e.disabled}),children:[k&&!S&&(0,n.jsx)(c,{onClick:()=>N(!0)}),k&&S&&(0,n.jsx)(p,{onClick:()=>N(!1)}),"pencil"===d&&(0,n.jsx)(x,{}),"calendar"===d&&(0,n.jsx)(a.A,{}),"info"===d&&(0,n.jsx)(u.A,{height:24,width:24,className:"text-neutral-black"}),"euro"===d&&(0,n.jsx)(s,{}),"Info-euro"===d&&(0,n.jsxs)("div",{className:"flex gap-xxxs items-center",children:[(0,n.jsx)(l.A,{children:"€"}),(0,n.jsx)(u.A,{height:24,width:24,className:"text-neutral-black"})]}),"send"===d&&(0,n.jsx)(b,{height:24,width:24,className:"text-primary"}),"send-black"===d&&(0,n.jsx)(b,{height:24,width:24,className:"text-neutral-black"}),"percentuale"===d&&(0,n.jsx)(h,{})]})]}),f&&(0,n.jsx)(l.A,{size:"XS",weight:"Regular",className:j()({"text-neutral-dark":e.disabled},{error:"text-danger"}),children:f})]})})},2274(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.1607 3.25C10.8874 3.25 10.6397 3.41095 10.5287 3.6607L7.20914 11.1298C7.16984 11.2182 7.14954 11.3139 7.14954 11.4107V20.0784C7.14954 20.4604 7.45917 20.77 7.84112 20.77H17.4809C18.6471 20.7812 19.6449 19.9357 19.826 18.7845L20.9692 12.7096C20.97 12.7051 20.9708 12.7006 20.9716 12.6961C20.9722 12.6926 20.9728 12.6891 20.9733 12.6855C21.0768 12.0034 20.8756 11.3103 20.4229 10.7897C19.9712 10.2702 19.3145 9.97482 18.6262 9.98139H14.342V6.43128C14.342 4.67431 12.9177 3.25 11.1607 3.25Z",fill:"currentColor"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.63085 10.1658H7.84106C8.22301 10.1658 8.53264 10.4754 8.53264 10.8574V20.0781C8.53264 20.4601 8.22301 20.7697 7.84106 20.7697H5.63089C4.31078 20.7898 3.18331 19.8201 3.00624 18.511C3.00209 18.4803 3 18.4493 3 18.4183V12.6091C3 12.5781 3.00209 12.5471 3.00624 12.5164C3.17707 11.2535 4.26625 10.1453 5.63085 10.1658ZM4.38316 12.6605V18.3666C4.48399 18.9617 5.00539 19.3974 5.61301 19.3867L5.62524 19.3864L7.14948 19.3866V11.549H5.613C5.04833 11.539 4.49031 12.0189 4.38316 12.6605Z",fill:"currentColor"})]}))}},2329(e,t,r){r.d(t,{A:()=>h});var n=r(4848),l=r(5554),a=r(3750),o=r(5606),s=function(e,t,r,n){return new(r||(r=Promise))(function(l,a){function o(e){try{i(n.next(e))}catch(e){a(e)}}function s(e){try{i(n.throw(e))}catch(e){a(e)}}function i(e){var t;e.done?l(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,s)}i((n=n.apply(e,t||[])).next())})};let i=null,c=!1;var d=r(6942),p=r.n(d),u=r(6540),m=r(483),x=r(5606),f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const h=e=>{const{label:t,backgroundColor:r,className:d,error:h,helperText:g,onPlaceSelected:b,isItaly:y}=e,j=f(e,["label","backgroundColor","className","error","helperText","onPlaceSelected","isItaly"]);(0,u.useEffect)(()=>{s(void 0,void 0,void 0,function*(){if(c&&i)return i;try{return(0,a.hn)({key:o.env.REACT_APP_GOOGLE_MAPS_API_KEY,v:"weekly"}),yield(0,a.lB)("places"),i=new google.maps.Geocoder,c=!0,i}catch(e){throw console.error("Errore durante il caricamento della libreria Google Maps:",e),new Error("Errore durante il caricamento della libreria Google Maps")}}).catch(e=>{console.error("Errore caricamento Google Maps:",e)})},[]);const{ref:v}=(0,m.usePlacesWidget)({apiKey:x.env.REACT_APP_GOOGLE_MAPS_API_KEY,onPlaceSelected:e=>{b(e)},options:{types:[],componentRestrictions:{country:y?"it":null}}});return(0,n.jsxs)("div",{className:"flex flex-col w-full gap-xxs",children:[t&&(0,n.jsx)(l.A,{size:"M",weight:"Bold",className:e.disabled?"text-neutral-semi":"text-primary-darker",children:t}),(0,n.jsxs)("div",{className:p()("flex flex-row items-center justify-end flex-nowrap"),children:[(0,n.jsx)("input",Object.assign({ref:v,className:p()("w-full h-xl rounded focusable px-xs py-[0.625rem] text-m text-neutral-dark focus:text-neutral-black border-0 focus:ring-0",{"placeholder:text-neutral-semi":e.disabled},{"bg-neutral-lightest":"lightest"===r},{"border-2 border-danger":h},d)},j)),(0,n.jsx)("div",{className:p()("absolute mr-xxs",{"text-danger":h},{"text-neutral-semi":e.disabled},{"text-primary-darker":!e.disabled})})]}),g&&(0,n.jsx)(l.A,{size:"XS",weight:"Regular",className:p()({"text-neutral-semi":e.disabled},{"text-neutral-dark":!e.disabled},{"text-danger-dark":h}),children:g})]})}},2731(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=r(9590);const a=({title:e,description:t})=>(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsxs)("div",{className:"bg-white shadow-md rounded-[0.5rem] p-s flex flex-col gap-xs items-center justify-center sm:min-w-[51.25rem]",children:[(0,n.jsx)(l.A,{height:32,width:32,className:"text-danger-dark text-cente"}),(0,n.jsx)("h3",{className:"text-danger font-bold text-lg text-center",children:e}),t]})})},2851(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{d:"M18.5153 19.2693C15.5126 16.7782 10.2167 14.0167 4.43896 13.5586V15.1257C9.11094 15.7096 12.8869 17.1569 16.171 19.4738L18.74 19.4738L18.5153 19.2693Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M16.4028 8.05776C16.4077 7.03137 16.11 6.02666 15.5474 5.17114H13.4957C13.906 5.50752 14.2377 5.93083 14.4673 6.41101C14.6969 6.89118 14.8188 7.41644 14.8243 7.94946C14.8243 11.7108 9.75605 11.2714 4.54735 10.7944V12.3731C4.54735 12.3731 12.1135 12.7042 18.7416 17.9964V16.0907C16.6393 14.5675 14.3351 13.3497 11.8966 12.4731C14.3759 12.3523 16.3801 10.3904 16.4028 8.05776Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M17.2362 11.946C17.2362 11.5302 17.5732 11.1932 17.9889 11.1932C18.4047 11.1932 18.7417 11.5302 18.7417 11.946C18.7417 12.3617 18.4047 12.6987 17.9889 12.6987C17.5732 12.6987 17.2362 12.3617 17.2362 11.946Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M18.7417 8.55859C18.7417 7.93497 19.2472 7.42943 19.8708 7.42943C20.4945 7.42943 21 7.93497 21 8.55859C21 9.1822 20.4945 9.68774 19.8708 9.68774C19.2472 9.68774 18.7417 9.1822 18.7417 8.55859Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M3.30397 8.06837C4.82218 6.99849 5.5418 6.99692 7.05512 8.05974C7.1267 8.13132 7.24303 8.13098 7.31494 8.05908C7.38684 7.98718 7.38711 7.87091 7.31553 7.79933C6.24484 6.28855 6.24649 5.56902 7.31904 4.05331C7.39094 3.98141 7.39127 3.86507 7.3197 3.7935C7.24812 3.72192 7.13172 3.72219 7.05982 3.79409C5.54418 4.86654 4.82462 4.86818 3.31395 3.80271C3.24238 3.73114 3.12597 3.7314 3.05407 3.80331C2.98217 3.87521 2.98196 3.99155 3.05354 4.06312C4.11644 5.57642 4.1147 6.29604 3.04491 7.81427C2.99054 7.88806 2.99861 7.99033 3.06376 8.05419C3.12897 8.1181 3.23133 8.12416 3.30397 8.06837Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M4.60972 20.2374C5.68325 19.4809 6.1921 19.4798 7.26218 20.2313C7.31279 20.2819 7.39506 20.2817 7.4459 20.2308C7.49674 20.18 7.49693 20.0978 7.44632 20.0471C6.68922 18.9789 6.69039 18.4701 7.4488 17.3983C7.49964 17.3475 7.49988 17.2652 7.44927 17.2146C7.39866 17.164 7.31635 17.1642 7.2655 17.215C6.19378 17.9733 5.68498 17.9745 4.61677 17.2211C4.56616 17.1705 4.48385 17.1707 4.43301 17.2215C4.38217 17.2724 4.38202 17.3546 4.43263 17.4052C5.18422 18.4753 5.18299 18.9842 4.42653 20.0577C4.38808 20.1099 4.3938 20.1822 4.43986 20.2274C4.48597 20.2726 4.55835 20.2768 4.60972 20.2374Z",fill:"currentColor"})]}))}},3113(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=r(5554),a=r(8022),o=r(6942),s=r.n(o),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const c=e=>{const{title:t,subtitle:r,description:o,className:c,totalSteps:d,currentStep:p,italic:u}=e,m=i(e,["title","subtitle","description","className","totalSteps","currentStep","italic"]);return(0,n.jsxs)("div",Object.assign({},m,{className:s()({"flex flex-col items-start my-m":void 0!==o||void 0!==r},{"gap-xxs ":(void 0!==o||void 0!==r)&&void 0===d},c),children:[(0,n.jsx)("h2",{className:"font-bold text-primary-dark",children:t}),(0,n.jsx)("div",{className:"flex py-s",children:(0,n.jsx)(a.A,{totalSteps:d,currentStep:p})}),r&&(0,n.jsx)("h5",{className:"text-primary-darker font-bold",children:r}),o&&(0,n.jsx)(l.A,{weight:"Regular",size:"M",className:u?"italic text-neutral-darker":"text-neutral-darker",children:o})]}))}},3154(e,t,r){r.d(t,{A:()=>g});var n=r(4848),l=r(6540),a=r(961),o=r(1668);class s extends l.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error("Webpart in errore:",e,t)}render(){return this.state.hasError?this.props.fallback||(0,n.jsx)("h4",{children:"Webpart in errore!"}):this.props.children}}var i=r(4968),c=r(3064);const d=({children:e})=>{const t=new i.E({defaultOptions:{queries:{retry:!1,refetchOnWindowFocus:!1},mutations:{retry:!1}}});return(0,n.jsx)(c.Ht,{client:t,children:e})};var p=r(4751);const u=({children:e})=>(0,n.jsx)(p.A,{children:e});var m=r(5443);const x=e=>(0,n.jsx)(m.A,{type:"error",text:"Webpart in errore!"});var f=r(7404);const h=({children:e})=>(0,n.jsx)(s,{fallback:(0,n.jsx)(u,{children:(0,n.jsx)(x,{})}),children:(0,n.jsx)(d,{children:(0,n.jsx)(f.Ay,{children:(0,n.jsx)(u,{children:e})})})}),g=({webparts:e})=>(0,n.jsx)(n.Fragment,{children:[...document.querySelectorAll("[data-id]")].map(t=>{var r,s;const i=t.getAttribute("data-id");try{const c=null!==(r=t.getAttribute("data-json"))&&void 0!==r?r:"{}",d=JSON.parse(c),p=null===(s=e[i])||void 0===s?void 0:s.webpart;if(p)return(0,o.u)(`Caricamento Webpart ${i}...`,void 0,"🕸️"),(0,a.createPortal)((0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)(n.Fragment,{}),children:(0,n.jsx)(h,{children:(0,n.jsx)(p,Object.assign({},d))})}),t)}catch(e){(0,o.u)(`Errore caricamento Webpart ${i}!`,"❌")}})})},3337(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const{backgroundColor:t,secondaryColor:r}=e,a=l(e,["backgroundColor","secondaryColor"]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 93 93",fill:"none",xmlns:"http://www.w3.org/2000/svg"}
1,a,{children:[(0,n.jsxs)("g",{filter:"url(#filter0_d_8800_51340)",children:[(0,n.jsx)("circle",{cx:"46.5",cy:"34.5",r:"22.5",fill:"currentColor"}),(0,n.jsx)("path",{d:"M57.8695 44.5289C57.507 44.0456 57.507 43.4414 57.8695 42.8372C60.5279 38.4872 59.1987 32.9289 54.8487 30.2706C54.0029 29.6665 53.0363 29.3039 51.9488 29.0623C51.5863 27.2498 50.6194 25.5581 49.2903 24.229C47.4778 22.5373 45.182 21.6914 42.7654 21.6914C40.3487 21.8122 38.0528 22.7789 36.3612 24.5914C34.5487 26.5248 33.703 29.0623 33.8238 31.5998C33.9447 33.0498 34.4278 34.4998 35.1528 35.7081C35.5153 36.1914 35.5153 36.7956 35.1528 37.3997L34.307 38.7289C34.1862 38.9706 34.1861 39.2123 34.1861 39.4539C34.1861 39.6956 34.4278 39.9373 34.5487 40.0581C34.6695 40.1789 34.7905 40.179 35.0322 40.179H41.0738C42.1613 44.4081 45.7863 47.3081 50.1363 47.3081H57.7486C57.9903 47.3081 58.2319 47.1872 58.3528 47.0664C58.4736 46.9456 58.5947 46.7039 58.5947 46.4622C58.5947 46.3414 58.5945 46.0998 58.4737 45.9789L57.8695 44.5289ZM57.1444 39.6956C56.9028 40.4206 56.6612 41.1456 56.2987 41.8706C55.6945 42.9581 55.6945 44.2873 56.2987 45.3748H49.8944C46.6319 45.2539 43.853 43.1998 42.8863 40.0581C47.8405 39.9373 51.8278 36.0706 52.0695 30.9956V30.8748C53.882 31.3581 55.332 32.5664 56.2987 34.0164C57.2653 35.8289 57.6278 37.7623 57.1444 39.6956ZM36.6028 38.2456C37.2069 37.1581 37.2069 35.829 36.6028 34.7415C35.5153 33.0498 35.2737 31.1164 35.757 29.1831C36.2403 27.2498 37.3278 25.6789 39.0194 24.5914C40.7111 23.5039 42.6445 23.2623 44.5779 23.7456C46.5112 24.2289 48.0821 25.3164 49.1696 27.0081C49.8946 28.2164 50.257 29.5456 50.257 30.9956C50.1362 34.9831 46.7529 38.2456 42.7654 38.2456C42.7654 38.2456 42.7653 38.2456 42.6444 38.2456H36.6028Z",fill:"white"}),(0,n.jsx)("path",{d:"M43.5699 29.4896C43.5699 30.0938 42.9658 30.4563 41.6366 30.5771L41.8783 32.3896H43.0866L43.2074 31.6646C44.4157 31.423 45.3824 30.8188 45.3824 29.3688C45.3824 27.9188 44.2949 26.9521 42.6032 26.9521C41.5157 26.9521 40.5491 27.4355 39.8241 28.1605L40.9116 29.248C41.395 28.7646 41.9991 28.523 42.6032 28.523C43.2074 28.7646 43.5699 29.0063 43.5699 29.4896Z",fill:"white"}),(0,n.jsx)("path",{d:"M43.2074 33.3564H41.3949V35.1689H43.2074V33.3564Z",fill:"white"})]}),(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"filter0_d_8800_51340",x:"0",y:"0",width:"93",height:"93",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,n.jsx)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"12"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"12"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.196078 0 0 0 0 0.196078 0 0 0 0 0.196078 0 0 0 0.16 0"}),(0,n.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_8800_51340"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_8800_51340",result:"shape"})]})})]}))}},3403(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M21.7143 12C21.7143 6.63494 17.3651 2.28571 12 2.28571",stroke:"currentColor",strokeLinecap:"round"})}))};var o=r(6942),s=r.n(o),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const c=e=>{const{isActive:t,size:r,type:l,variant:o}=e,c=i(e,["isActive","size","type","variant"]),d=(()=>{switch(r){case"small":return 24;case"medium":default:return 48;case"large":return 64}})();return t?(0,n.jsxs)("div",Object.assign({},c,{role:"status","aria-live":"polite","aria-busy":"true",className:s()({"bg-neutral-lightest text-primary":!o||"onLight"===o},{"bg-primary-darker text-neutral-white":"onDark"===o},{"bg-white text-primary":"isModal"===o},{"w-screen h-screen absolute top-80 left-0 z-50":!l||"fullscreen"===l},{"w-full h-full":"contained"===l},"flex justify-center items-center"),children:[(0,n.jsx)(a,{width:d,height:d,className:"animate-spin","aria-hidden":"true",focusable:"false"}),(0,n.jsx)("span",{className:"sr-only",children:"Caricamento in corso"})]})):(0,n.jsx)(n.Fragment,{})}},3850(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{l(e,[]);return(0,n.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",f
1ill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M31.7332 58.9333C19.9999 58.9333 10.6665 49.3334 10.6665 37.8667C10.6665 26.1334 20.2666 16.8 31.7332 16.8C43.4666 16.8 52.8 26.4 52.8 37.8667C53.0666 49.3334 43.4666 58.9333 31.7332 58.9333ZM31.7332 20C22.1332 20 14.1333 28 14.1333 37.6C14.1333 47.2 22.1332 55.2 31.7332 55.2C41.3332 55.2 49.3332 47.2 49.3332 37.6C49.3332 28 41.5999 20 31.7332 20Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M33.5999 13.6H30.1333V18.1334H33.5999V13.6Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M31.7331 15.4667C28.2664 15.4667 25.333 12.5334 25.333 9.06673C25.333 5.60006 28.2664 2.66666 31.7331 2.66666C35.1997 2.66666 38.1331 5.60006 38.1331 9.06673C38.1331 12.5334 35.4664 15.4667 31.7331 15.4667ZM31.7331 6.13338C30.1331 6.13338 28.7998 7.46673 28.7998 9.06673C28.7998 10.6667 30.1331 12 31.7331 12C33.3331 12 34.6663 10.6667 34.6663 9.06673C34.6663 7.46673 33.3331 6.13338 31.7331 6.13338Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M31.7332 43.4667C30.1332 43.4667 28.7999 42.9334 27.7332 41.8667C26.6666 40.8 26.1333 39.2 26.1333 37.8667C26.1333 36.2667 26.6666 34.9334 27.7332 33.8667C28.2666 33.3334 28.7998 33.0667 29.3332 32.8H29.5999L41.8665 28.2667L37.0666 40.8C37.0666 41.0667 36.5332 41.8667 35.9998 42.1334C34.6665 42.9334 33.3332 43.4667 31.7332 43.4667ZM30.6665 35.7334C30.3998 35.7334 30.4 36 30.1333 36C29.6 36.5333 29.5999 37.0667 29.5999 37.6C29.5999 38.1333 29.8666 38.6667 30.1333 39.2C30.9333 40 32.5332 40 33.3332 39.2C33.3332 39.2 33.5999 38.9333 33.8665 38.6667L35.7332 33.8667L30.6665 35.7334Z",fill:"#FFBF00"})]})}},4047(e,t,r){r.d(t,{A:()=>i});var n=r(4848),l=r(9579),a=r(6942),o=r.n(a),s=r(6540);const i=({isOpen:e,onClose:t,title:r,size:a,icon:i,type:c,children:d,buttonText:p})=>{const u=(0,s.useRef)(null);return e?(0,n.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-primary-dark bg-opacity-70 z-50",onClick:e=>{u.current&&!u.current.contains(e.target)&&t()},children:(0,n.jsxs)("div",{ref:u,className:o()("relative bg-neutral-white shadow-medium rounded min-w-[22rem] max-w-[45.875rem]"),children:[(0,n.jsx)("div",{className:"overflow-y scrollable p-s",children:(0,n.jsxs)("div",{className:"flex flex-col py-0 px-xxs gap-xs",children:[i&&(0,n.jsx)("div",{className:o()("w-[2.5rem]","danger"===c?"text-neutral-black":"text-primary-dark"),children:i}),r&&(0,n.jsx)("h4",{className:o()("font-bold","danger"===c?"text-danger-dark":"text-primary-dark"),children:r}),d&&(0,n.jsx)("div",{className:"modal-content-container",children:d})]})}),(0,n.jsx)("div",{className:"py-s px-m flex justify-end",children:(0,n.jsx)(l.$,{onClick:t,children:p||"Ho capito",size:"Large",color:"danger"===c?"Danger":"Primary"})})]})}):null}},4200(e,t,r){r.d(t,{A:()=>d});
1var n=r(4848),l=r(5554),a=r(1023),o=r(6942),s=r.n(o),i=r(6540),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const d=(0,i.forwardRef)((e,t)=>{const{error:r,className:o,containerClassName:d,showRefreshIcon:p,onSendIconClick:u,onRefreshIconClick:m}=e,x=c(e,["error","className","containerClassName","showRefreshIcon","onSendIconClick","onRefreshIconClick"]),[f,h]=(0,i.useState)(44),g=(0,i.useRef)(),b=(0,i.useCallback)(e=>{null!=e&&(g.current=e,null!=t&&("function"==typeof t?t(e):t.current=e))},[]),y=(0,i.useRef)("");(0,i.useEffect)(()=>{const e=g.current;if(!e)return;const t=()=>{const t=e.value;if(t!==y.current){y.current=t;const r=getComputedStyle(e),n=document.createElement("span");n.style.position="absolute",n.style.visibility="hidden",n.style.whiteSpace="pre",n.style.font=r.font,n.textContent=t,document.body.appendChild(n);const l=n.offsetWidth;document.body.removeChild(n);const a=e.clientWidth-parseFloat(r.paddingLeft)-parseFloat(r.paddingRight)-24;if(l>a){const e=Math.max(0,l-a)/a,t=Math.min(1+e,1.5);console.log("⚠️ Testo troppo lungo:",l,">",a,e,t),h(48*t)}else console.log("✅ Testo OK:",l,"<=",a),h(48)}};return e.addEventListener("input",t),()=>e.removeEventListener("input",t)},[]);return(0,n.jsx)("div",{id:"input-container",className:s()("w-[98%]",d),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),h(44),null==u||u())},children:(0,n.jsxs)("div",{className:"flex flex-col gap-xxs",children:[(0,n.jsxs)("div",{className:s()("relative flex flex-row items-center justify-end rounded w-full min-w-0",{" ring-[0.0625rem] ring-neutral-lighter":e.disabled},{" ring-[0.0625rem] hover:ring-primary-darker focus:ring-primary-darker":!e.disabled},{"ring-[0.0625rem] ring-danger":r&&!e.disabled}),children:[(0,n.jsx)("textarea",Object.assign({ref:b,className:s()("resize-none break-words whitespace-pre-wrap shadow-xl overflow-y-auto scrollbar-hide overflow-x-hidden w-full rounded pl-xs pr-[48px] py-[0.625rem] text-xs text-neutral-black focus:text-neutral-black border-[0.0625rem] border-primary-lighter focus:ring-0 focus:border-0",{"placeholder:text-neutral-semi placeholder:align-middle":e.disabled,"placeholder:text-neutral-dark":!e.disabled},o)},x,{style:{height:`${f}px`}})),(0,n.jsx)("div",{className:s()("absolute h-full top-1/2 -translate-y-1/2 flex items-end gap-xxs mr-xxs cursor-pointer",{"text-danger":r},{"text-neutral-semi":e.disabled},{"text-primary-darker":!e.disabled}),children:(0,n.jsx)("div",{className:"mb-[0.625rem]",onClick:()=>{h(44),null==u||u()},children:!e.disabled&&(0,n.jsx)(a.A,{children:"Invia messaggio"})})})]}),p&&(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)(l.A,{size:"XS",weight:"Bold",className:"underline text-primary cursor-pointer",onClick:m,children:"Reset conversazione"})})]})})})},4650(e,t,r){var n,l;r.d(t,{c:()=>n,y:()=>l}),function(e){e.REALE="1",e.ITALIANA="3",e.BANCA="J",e.GRUPPO="0"}(n||(n={})),function(e){e.TE="TE",e.PRE="PRE",e.PROD="PROD"}(l||(l={}))},4751(e,t,r){r.d(t,{A:()=>s,f:()=>o});var n=r(4848),l=r(6540),a=r(780);const o="wrapper-div-shadow-dom",s=({children:e})=>{const[t,r]=(0,l.useState)(!1);return(0,n.jsxs)(a.Ay.div,{className:o,children:[(0,n.jsx)("link",{rel:"stylesheet",href:"/SiteAssets/css/styles-new.css",onLoad:()=>{r(!0)}}),(0,n.jsx)("link",{rel:"stylesheet",href:"/SiteAssets/css/vendor.css"}),(0,n.jsx)("style",{type:"text/css",children:"\n  :host {\n    font-family: 'Titillium Web', sans-serif;\n    --tw-bg-opacity: 1;\n    background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n  }\n  "}),(0,n.jsx)("div",{style:{display:t?"block":"none"},children:e})]})}},5132(e,t,r){r.d(t,{K:()=>o,pe:()=>d,w8:()=>i});var n=r(1154),l=r(6765);const a=e=>{const t=["creazioneMailReclami"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/reclami/mail-reclami",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},o=e=>{const t=a(e);return(0,n.n)(t)},s=e=>{const t=["creazioneTicketRecesso"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/reclami/send-ticket-recesso",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},i=e=>{const t=s(e);return(0,n.n)(t)},c=e=>{const t=["allegaDocumentiReclami"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/reclami/upload-file-reclami",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},d=e=>{const t=c(e);return(0,n.n)(t)}},5410(e,t,r){r.d(t,{Qv:()=>i,Zo:()=>o});var n=r(9176),l=r(6765);const a=(e,t)=>{var r;const{query:n,request:a}=null!=t?t:{}
1,o=null!==(r=null==n?void 0:n.queryKey)&&void 0!==r?r:(e=>["/api/geolocalizzatore/get-agenzia-by-code",...e?[e]:[]])(e);return Object.assign({queryKey:o,queryFn:({signal:t})=>((e,t,r)=>(0,l.a)({url:"/api/geolocalizzatore/get-agenzia-by-code",method:"GET",params:e,signal:r},t))(e,a,t)},n)};function o(e,t){const r=a(e,t),l=(0,n.I)(r);return l.queryKey=r.queryKey,l}const s=(e,t)=>{var r;const{query:n,request:a}=null!=t?t:{},o=null!==(r=null==n?void 0:n.queryKey)&&void 0!==r?r:(e=>["/api/geolocalizzatore/agenzie",...e?[e]:[]])(e);return Object.assign({queryKey:o,queryFn:({signal:t})=>((e,t,r)=>(0,l.a)({url:"/api/geolocalizzatore/agenzie",method:"GET",params:e,signal:r},t))(e,a,t)},n)};function i(e,t){const r=s(e,t),l=(0,n.I)(r);return l.queryKey=r.queryKey,l}},5419(e,t,r){r.d(t,{A:()=>i});var n=r(4848),l=r(5554),a=r(6942),o=r.n(a),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const i=e=>{const{backgroundColor:t,error:r,label:a,subtitle:i,helperText:c,className:d}=e,p=s(e,["backgroundColor","error","label","subtitle","helperText","className"]);return(0,n.jsxs)("div",{className:"flex flex-col w-full gap-xxs input-container",children:[a&&(0,n.jsx)(l.A,{size:"M",weight:"Bold",className:e.disabled?"text-neutral-semi":"text-primary-darker",children:a}),i&&(0,n.jsx)(l.A,{size:"M",weight:"Regular",className:e.disabled?"text-neutral-semi":"text-primary",children:i}),(0,n.jsx)("textarea",Object.assign({className:o()("sm:min-w-[18.8125rem] min-h-[4.5625rem] rounded px-xs py-[0.625rem] focusable text-m text-neutral-dark focus:text-neutral-black border-0",{"placeholder:text-neutral-semi":e.disabled},{"bg-neutral-lightest":"lightest"===t},{"border-2 border-danger":r},d)},p)),c&&(0,n.jsx)(l.A,{size:"XS",weight:"Regular",className:o()({"text-danger-dark font-bold":e.disabled&&r||!e.disabled&&r},{"text-neutral-semi":e.disabled},{"text-neutral-dark":!r&&!e.disabled}),children:c})]})}},5443(e,t,r){r.d(t,{A:()=>d});var n=r(4848),l=r(5554),a=r(9590),o=r(1358),s=r(6942),i=r.n(s),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const d=e=>{const{text:t,iconPosition:r,type:s,subtitle:d,textSize:p,padding:u}=e,m=c(e,["text","iconPosition","type","subtitle","textSize","padding"]);return(0,n.jsxs)("div",Object.assign({},m,{className:i()("w-full rounded flex flex-row gap-xxs","S"===u?"p-s":"p-xs","center"===r?"items-center":"",{"bg-danger-lightest":"error"===s},{"bg-warning-lightest":"warning"===s},{"bg-neutral-light":"info"===s},{"bg-primary-dark":"primary"===s}),children:[(0,n.jsxs)("div",{className:"w-s h-s shrink-0",children:[("warning"===s||"error"===s)&&(0,n.jsx)(a.A,{className:"text-danger-darker"}),"info"===s&&(0,n.jsx)(o.A,{className:"text-neutral-black"}),"primary"===s&&(0,n.jsx)(o.A,{className:"text-white"})]}),(0,n.jsxs)(l.A,{size:null!=p?p:"S",weight:"Regular",component:"p",className:i()({"text-danger-darker":"error"===s},{"text-neutral-black":"info"===s},{"text-white":"primary"===s}),children:[d&&(0,n.jsxs)(n.Fragment,{children:[d.includes("<br>")&&(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:d.split("<br>")[0]}),(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:d.split("<br>")[1]})]}),!d.includes("<br>")&&(0,n.jsxs)("p",{children:[" ",(0,n.jsx)("strong",{children:d}),(0,n.jsx)("br",{})]})]}),t]})]}))}},5554(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(6942),a=r.n(l),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{const{component:t,size:r,weight:l,children:s,className:i,innerRef:c,htmlFor:d}=e,p=o(e,["component","size","weight","children","className","innerRef","htmlFor"]),u=null!=t?t:"span";return(0,n.jsx)(u,Object.assign({}
1,p,{htmlFor:d,className:a()("text-neutral-black",i,{"text-xs":"XS"===r},{"text-s":"S"===r},{"text-m":"M"===r||!r},{"text-md":"MD"===r},{"text-l":"L"===r},{"text-lg":"LG"===r},{"text-xl":"XL"===r},{"text-xxl":"XXL"===r},{"text-xxxl":"XXXL"===r},{"font-bold":"Bold"===l}),ref:c,children:s}))}},5661(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(9579),a=r(5554),o=r(9590);function s({open:e,title:t,description:r,onClose:s}){return e?(0,n.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,n.jsxs)("div",{className:"relative bg-white shadow-md rounded-[0.5rem] p-s flex flex-col gap-xs items-center sm:w-[24rem]",children:[(0,n.jsx)(o.A,{height:32,width:32,className:"text-danger-dark"}),(0,n.jsx)(a.A,{size:"LG",weight:"Bold",className:"text-danger text-center",children:t}),r,(0,n.jsx)(l.$,{onClick:s,size:"Small",color:"Danger",children:"Chiudi"})]})]}):null}},5930(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=r(5554),a=r(6942),o=r.n(a),s=r(6540),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const c=(0,s.forwardRef)((e,t)=>{const{label:r,isCheckboxStyled:a,classNameLabel:s,bgDark:c,id:d}=e,p=i(e,["label","isCheckboxStyled","classNameLabel","bgDark","id"]);return(0,n.jsxs)("div",{className:"flex flex-row items-center flex-nowrap gap-xxs",children:[(0,n.jsx)("input",Object.assign({ref:t,type:"radio",id:d},p,{className:o()("appearance-none bg-white  w-[20px] h-[20px] cursor-pointer rounded-xxl border-2 border-neutral-black checked:border-[0.375rem] checked:border-primary-darker")})),(0,n.jsx)(l.A,{component:"label",for:d,size:"M",weight:"Regular",className:o()(s,"text-neutral-black font-bold"),children:r})]})})},6030(e,t,r){r.d(t,{A:()=>d});var n=r(4848),l=r(9092),a=r(9475),o=r(7157),s=r(6942),i=r.n(s),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const d=e=>{const{children:t,goBackBreadcrumb:r}=e,s=c(e,["children","goBackBreadcrumb"]);return(0,n.jsxs)("div",Object.assign({},s,{className:i()("min-h-[70vh]",e.className,(null==r?void 0:r.isActive)?"pt-s":"/"!==location.pathname&&"pt-l"),children:[(null==r?void 0:r.isActive)&&(0,n.jsx)(a.A,{className:"py-s",children:(0,n.jsx)(o.A,{text:r.text,className:"underline text-primary",iconLeft:(0,n.jsx)(l.A,{height:24,width:24,className:"text-primary"}),onClick:()=>{r.goBackCallback?r.goBackCallback():history.back()}})}),t]}))}},6276(e,t,r){r.d(t,{A:()=>y});var n=r(4848),l=r(6540),a=r(5809),o=r(1099),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const i=e=>{const t=s(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2929 3.29297L21.2929 11.293L22 12.0001L21.2929 12.7072L13.2929 20.7072L11.8787 19.293L18.1716 13.0001H1.58579V11.0001H18.1716L11.8787 4.70718L13.2929 3.29297Z",fill:"currentColor"})}))};var c=r(9092),d=r(5554),p=r(6942),u=r.n(p),m=r(9054),x=(r(3755),r(2191));(0,a.E)("it",o.it);const f=(new Date).getFullYear(),h=Array.from({length:100},(e,t)=>f-t),g=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"].map((e,t)=>({label:e,value:t.toString()})),b=h.map(e=>({label:e.toString(),value:e.toString()})),y=({label:e,disabled:t,placeholder:r,value:o,maxDate:s,onChange:p})=>{const[f,h]=(0,l.useState)(null),[y,j]=(0,l.useState)((new Date).getMonth()),[v,w]=(0,l.useState)((new Date).getFullYear()),O=void 0!==o,C=O?o:f,L=e=>{O||h(e),null==p||p(e)};return(0,n.jsxs)("div",{className:"flex flex-col w-full gap-xxs",children:[e&&(0,n.jsx)(d.A,{size:"M",component:"label",weight:"Bold",className:u()("w-fit",t?"text-neutral-semi":"text-primary-darker"),children:e}),(0,n.jsxs)("div",{className:u()("w-full relative flex flex-row items-center justify-end flex-nowrap rounded focus:ring-2 focus:ring-primary-darker hover:ring-2 cursor-pointer",{"hover:ring-primary-darker":!t},{"ring-neutral-lighter":t}),children:[(0,n.jsx)(a.Ay,{locale:"it",dateFormat:"dd/MM/yyyy",placeholderText:r||"Seleziona una data",showPopperArrow:!1,maxDate:s,renderCustomHeader:({date:e,decreaseMonth:t,increaseMonth:r,changeMonth:l,changeYear:a})=>(0,n.jsxs)("div",{className:"bg-neutral-white flex justify-between items-center py-[1.125rem] px-xs gap-xs",children:[(0,n.jsx)("button",{onClick:()=>{t(),j(e=>0===e?11:e-1);const r=new Date(e);r.setMonth(r.getMonth()-1),L(r)},className:"prev-btn flex-shrink-0",type:"button",children:(0,n.jsx)(c.A,{height:24,width:24,className:"text-primary-darker"})}),(0,n.jsxs)("div",{className:"flex gap-xxs flex-1 justify-center",children:[(0,n.jsx)(x.A,{backgroundColor:"white",options:g,value:g.find(e=>e.value===y.toString()),onChange:t=>{l(Number(t.value));const r=new Date(e);r.setMonth(Number(t.value)),L(r)}}),(0,n.jsx)(x.A,{backgroundColor:"white",options:b,value:b.find(e=>e.value===v.toString()),onChange:t=>{a(Number(t.value));const r=new Date(e);r.setFullYear(Number(t.value)),L(r)}})]}),(0,n.jsx)("button",{onClick:()=>{r(),j(e=>11===e?0:e+1);const t=new Date(e);t.setMonth(t.getMonth()+1),L(t)},className:"next-btn flex-shrink-0",type:"button",children:(0,n.jsx)(i,{height:24,width:24,className:"text-primary-darker"})})]}),className:u()("h-xl !w-full rounded py-[0.625rem] px-xs text-m text-neutral-dark focus:text-neutral-black border-0"),selected:C,onChange:L}),(0,n.jsx)(m.A,{height:24,width:24,"aria-hidden":"true",focusable:"false",className:"absolute right-xs text-neutral-black pointer-events-none"})]})]})}},6497(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const{width:t,height:r}=e,a=l(e,["width","height"]);return(0,n.jsxs)("svg",Object.assign({width:null!=t?t:"24",height:null!=r?r:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{children:[(0,n.jsx)("path",{d:"M16.5127 20.791H14.7328V19.691H16.5127C18.2927 19.691 18.3973 17.291 18.3973 17.291H19.549C19.549 18.591 18.7115 20.791 16.5127 20.791Z",fill:"#FFBF00"}),(0,n.jsx)("path",{d:"M19.4674 16.7001H18.3157V10.2001C18.3157 6.80007 15.4888 4.1001 11.9289 4.1001C8.36911 4.1001 5.54222 6.80007 5.54222 10.2001V16.5H4.39053V10.2001C4.39053 6.20007 7.74091 3 11.9289 3C16.117 3 19.4674 6.20007 19.4674 10.2001C19.4674 10.3001 19.4674 16.7001 19.4674 16.7001Z",fill:"#002A5C"}),(0,n.jsx)("path",{d:"M21.9999 17.322H18.3353V11.722H21.9999V17.322ZM19.487 16.1221H20.7434V12.722H19.487V16.1221Z",fill:"#002A5C"}),(0,n.jsx)("path",{d:"M5.55985 17.322H2V11.722H5.66453L5.55985 17.322ZM3.04701 16.1221H4.30343V12.722H3.04701V16.1221Z",fill:"#002A5C"}),(0,n.jsx)("path",{d:"M14.6767 19.2161H11.431V21.1161H14.6767V19.2161Z",fill:"#FFBF00"})]}))}},6510(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const{backgroundColor:t,secondaryColor:r}=e,a=l(e,["backgroundColor","secondaryColor"]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 93 93",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg"},a,{children:[(0,n.jsxs)("g",{filter:"url(#filter0_d_8800_51414)",children:[(0,n.jsx)("circle",{cx:"46.5",cy:"34.5",r:"22.5",fill:"curretColor"}),(0,n.jsx)("path",{d:"M38.0416 30.875L46.5 38.125L54.9583 30.875",stroke:"white","stroke-width":"2"})]}),(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"filter0_d_8800_51414",x:"0",y:"0",width:"93",height:"93",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,n.jsx)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"12"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"12"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.196078 0 0 0 0 0.196078 0 0 0 0 0.196078 0 0 0 0.16 0"}),(0,n.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_8800_51414"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_8800_51414",result:"shape"})]})})]}))}},6765(e,t,r){r.d(t,{a:()=>a});var n=r(1083);const l=n.A.create({baseURL:"/",headers:{Compagnia:"1",Codiceapplicazione:"UL001P",Device:"WEB",Language:""}}),a=(e,t)=>{const r=n.A.CancelToken.source(),a=l(Object.assign(Object.assign(Object.assign({},e),t),{cancelToken:r.token})).then(({data:e})=>e);return a.catch(e=>{console.warn("Errore chiamata",e)}),a.cancel=()=>{r.cancel("Query was cancelled")},a}},6946(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{l(e,[]);return(0,n.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M48.5337 59.4668L30.9338 50.1335L13.3337 59.4668L16.8005 40L2.66699 26.1335L22.1338 23.2005L30.9338 5.33334L39.7337 23.2005L59.2004 26.1335L45.0671 40L48.5337 59.4668ZM30.9338 46.1335L43.7337 52.8001L41.3337 38.6667L51.7337 28.5339L37.6004 26.4004L31.2004 13.6003L24.8005 26.4004L10.667 28.5339L21.0671 38.6667L18.667 52.8001L30.9338 46.1335Z",fill:"#004291"}),(0,n.jsx)("path",{d:"M50.553 41.6681L49.9162 43.2802C49.7133 43.7939 49.9652 44.3748 50.4789 44.5777L56.0596 46.7821C56.5732 46.985 57.1541 46.7331 57.357 46.2194L57.9938 44.6073C58.1967 44.0936 57.9448 43.5127 57.4312 43.3098L51.8505 41.1054C51.3368 40.9025 50.7559 41.1544 50.553 41.6681Z",fill:"#FFBF00"}),(0,n.jsx)("path",{d:"M10.3798 40.9752L4.79928 43.1784C4.28558 43.3812 4.03355 43.962 4.23636 44.4757L4.87271 46.0876C5.07552 46.6013 5.65636 46.8533 6.17006 46.6505L11.7506 44.4473C12.2643 44.2445 12.5163 43.6637 12.3135 43.15L11.6772 41.5381C11.4743 41.0244 10.8935 40.7724 10.3798 40.9752Z",fill:"#FFBF00"}),(0,n.jsx)("path",{d:"M14.8045 12.2139L13.4385 13.2809C13.0032 13.6209 12.926 14.2493 13.266 14.6846L16.9596 19.4132C17.2996 19.8485 17.928 19.9257 18.3633 19.5857L19.7293 18.5187C20.1645 18.1787 20.2417 17.5503 19.9018 17.115L16.2081 12.3864C15.8682 11.9511 15.2397 11.8739 14.8045 12.2139Z",fill:"#FFBF00"}),(0,n.jsx)("path",{d:"M46.2073 12.3549L42.35 16.9502C41.9949 17.3732 42.0499 18.004 42.473 18.3591L43.8008 19.4736C44.2238 19.8287 44.8545 19.7736 45.2096 19.3506L49.067 14.7553C49.422 14.3323 49.367 13.7015 48.944 13.3464L47.6162 12.2319C47.1932 11.8768 46.5624 11.9319 46.2073 12.3549Z",fill:"#FFBF00"})]})}},7042(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=r(5554),a=r(1276),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{const t=o(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M4 11L10 17L21 6",stroke:"#2D8406","stroke-width":"2"})}))};var i=r(1023);const c=({requisito:e,title:t})=>(0,n.jsxs)("div",{className:"flex gap-xxs",children:[e?(0,n.jsx)(s,{height:24,width:24,className:"text-success-dark"}):(0,n.jsx)(a.A,{width:24,height:24,className:"text-danger-dark shrink-0"}),(0,n.jsx)(l.A,{size:"S",className:"text-neutral-darker",children:t}),"Almeno 1 carattere speciale"===t&&(0,n.jsx)(i.A,{children:"Caratteri speciali ammessi: !@#$&*_-+=|\\():;”,.?/’"})]})},7068(e,t,r){r.d(t,{A:()=>c});var n=r(4848),l=r(5554),a=r(9092),o=r(3403),s=r(8022),i=r(7157);const c=({title:e,description:t,progressbar:r,goBackBreadcrumb:c,children:d,showLoader:p})=>(0,n.jsxs)("div",{className:"container pb-80 sm:pb-[7.5rem]",children:[p&&(0,n.jsx)(o.A,{isActive:!0,type:"fullscreen"}),!p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{visibility:(null==c?void 0:c.isActive)?"visible":"hidden"},className:"py-xs",children:(0,n.jsx)(i.A,{text:null==c?void 0:c.text,className:"underline text-primary",iconLeft:(0,n.jsx)(a.A,{height:24,width:24,className:"text-primary"}),onClick:()=>{(null==c?void 0:c.goBackCallback)?c.goBackCallback():history.back()}})}),(0,n.jsxs)("div",{className:"pt-s",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-m pb-m sm:pb-xl",children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)(l.A,{component:"h1",size:"XXL",weight:"Bold",className:"text-primary",children:e}),t&&(0,n.jsx)(l.A,{component:"p",size:"L",weight:"Regular",className:"text-primary-darker",children:t})]}),r&&(0,n.jsx)(s.A,{totalSteps:r.totalSteps,currentStep:r.currentStep})]}),d]})]})]})},7109(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.8393 20.77C13.1126 20.77 13.3603 20.6091 13.4713 20.3593L16.7909 12.8902C16.8302 12.8018 16.8505 12.7061 16.8505 12.6094L16.8505 3.94157C16.8505 3.55963 16.5408 3.24999 16.1589 3.24999H6.5191C5.35288 3.23887 4.35509 4.08434 4.17397 5.23556L3.0308 11.3104C3.02995 11.3149 3.02915 11.3194 3.02839 11.3239C3.0278 11.3274 3.02724 11.331 3.0267 11.3345C2.92317 12.0166 3.12443 12.7097 3.57708 13.2303C4.02882 13.7498 4.68547 14.0452 5.3738 14.0386L9.65803 14.0386V17.5887C9.65803 19.3457 11.0823 20.77 12.8393 20.77Z",fill:"currentColor"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.3691 13.8542H16.1589C15.777 13.8542 15.4674 13.5446 15.4674 13.1626V3.94189C15.4674 3.55994 15.777 3.25031 16.1589 3.25031H18.3691C19.6892 3.23023 20.8167 4.19993 20.9938 5.50898C20.9979 5.5397 21 5.57067 21 5.60168V11.411C21 11.442 20.9979 11.4729 20.9938 11.5037C20.8229 12.7665 19.7337 13.8747 18.3691 13.8542ZM19.6168 11.3596V5.6534C19.516 5.05828 18.9946 4.62261 18.387 4.63336L18.3748 4.63357L16.8505 4.63347V12.4711H18.387C18.9517 12.481 19.5097 12.0011 19.6168 11.3596Z",fill:"currentColor"})]}))}},7157(e,t,r){r.d(t,{A:()=>d});var n=r(4848),l=r(6942),a=r.n(l),o=r(5554);const s=(e,t,r="post",n)=>{var l;const a=document.createElement("form");a.method=r,a.action=e;for(const e in t)if(t.hasOwnProperty(e)){const r=document.createElement("input");r.type="hidden",r.name=e,r.value=t[e],a.appendChild(r)}if(n){const t=window.open(e,"blank");null==t||t.document.body.appendChild(a),null===(l=null==t?void 0:t.document.forms.item(0))||void 0===l||l.submit(),null==t||t.document.body.removeChild(a)}else document.body.appendChild(a),a.submit()},i=(e,t)=>{const r=document.createElement("a");r.style.display="none",r.href=e,r.target=t,r.click(),r.remove()};var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const d=e=>{const{text:t,textSize:r,textWeight:l,className:d,internalHref:p,externalData:u,iconLeft:m,iconRight:x,bgDark:f,onClick:h,hideOnMobile:g}=e,b=c(e,["text","textSize","textWeight","className","internalHref","externalData","iconLeft","iconRight","bgDark","onClick","hideOnMobile"]),y=e=>{u&&u.postData?s(u.href,u.postData):u&&null==u.postData?i(u.href,u.target):p||h&&h(e)};return(0,n.jsxs)("div",Object.assign({className:a()(!0===f?"effectRingWhite focus:outline-none":"effectRing focus:outline-none","group flex flex-nowrap items-center gap-xxs cursor-pointer whitespace-nowrap w-fit","text-primary",d),onClick:y,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),y(e))},tabIndex:0,role:""},b,{children:[m&&m,(0,n.jsx)(o.A,{weight:null!=l?l:"Bold",size:null!=r?r:"M",className:a()(g&&"hidden sm:block","z-1 text-primary underline"),children:t}),x&&x]}))}},7296(e,t,r){r.d(t,{$8:()=>j,Jv:()=>o,WA:()=>u,Ws:()=>x,YB:()=>i,dt:()=>h,fJ:()=>d,im:()=>w,wL:()=>b});var n=r(1154),l=r(6765);const a=e=>{const t=["initRecuperoUsername"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/init-recupero-username",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},o=e=>{const t=a(e);return(0,n.n)(t)},s=e=>{const t=["recuperoPassword"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/recupero-password",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},i=e=>{const t=s(e);return(0,n.n)(t)},c=e=>
1{const t=["recuperoUsername"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/recupero-username",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},d=e=>{const t=c(e);return(0,n.n)(t)},p=e=>{const t=["cercaCliente"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/CercaCliente",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},u=e=>{const t=p(e);return(0,n.n)(t)},m=e=>{const t=["chatbotConversation"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/ChatbotConversation",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},x=e=>{const t=m(e);return(0,n.n)(t)},f=e=>{const t=["getAnagraficaByCodiceFiscalePartitaIva"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/GetAnagraficaByCodiceFiscalePartitaIva",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},h=e=>{const t=f(e);return(0,n.n)(t)},g=e=>{const t=["verificaDatiUtente"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/VerificaDatiUtente",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},b=e=>{const t=g(e);return(0,n.n)(t)},y=e=>{const t=["returnOperation"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/ReturnOperation",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},j=e=>{const t=y(e);return(0,n.n)(t)},v=e=>{const t=["registrazioneNew"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/self-care/registrazione-new",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},w=e=>{const t=v(e);return(0,n.n)(t)}},7404(e,t,r){r.d(t,{Ay:()=>p,p_:()=>d});var n=r(4848);const l=e=>{const t=window.localStorage.getItem(e);if("undefined"!==t)return t?JSON.parse(t):void 0};var a=r(4650),o=r(6540),s=r(5606);const i={compagnia:a.c.REALE,ambiente:a.y.PRE,isLoggedIn:!1,reactData:void 0},c=(0,o.createContext)(i),d=()=>(0,o.useContext)(c),p=({children:e,compagnia:t,ambiente:r,isLoggedIn:s})=>{var i;let d=a.c.REALE;d=null===(i=document.getElementsByName("compagnia")[0])||void 0===i?void 0:i.value;const[p,x]=(0,o.useState)({compagnia:null!=t?t:u(),ambiente:null!=r?r:m(),isLoggedIn:null!=s?s:null!=window.localStorage.getItem("GRMA_ReactData"),reactData:l("GRMA_ReactData")});return console.log("metadata state",p),(0,n.jsx)(c.Provider,{value:p,children:e})},u=()=>{let e=document.getElementsByName("compagnia")[0];return e?e.value:s.env.COMPAGNIA?s.env.COMPAGNIA:a.c.REALE},m=()=>{const e=window.location.hostname.toLowerCase();return/rgprod/.test(e)?a.y.PROD:s.env.AMBIENTE?s.env.AMBIENTE:a.y.PROD}},7727(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M13.0556 19C11.763 19 10.4704 18.4933 9.56551 17.6067L2.06823 10.26L3.10232 9.24666L10.5996 16.5933C12.0215 17.9867 14.219 17.9867 15.5117 16.5933C16.9336 15.2 16.9336 13.0467 15.5117 11.78L5.6876 2.15332C4.78275 1.26665 3.23161 1.26665 2.1975 2.15332C1.68044 2.65998 1.42191 3.16667 1.42191 3.80001C1.42191 4.43334 1.68044 5.06666 2.1975 5.44666L8.91919 12.0333C9.43625 12.54 10.3411 12.54 10.8581 12.0333C11.1167 11.78 11.246 11.4 11.246 11.02C11.246 10.64 11.1167 10.26 10.8581 10.0067L6.33392 5.57333L7.36805 4.56001L11.8923 8.99335C12.4093 9.50001 12.6679 10.26 12.6679 11.02C12.6679 11.78 12.4093 12.4133 11.8923 13.0467C10.7289 14.1867 8.91921 14.1867 7.8851 13.0467L1.16337 6.46001C0.387783 5.70001 0 4.81334 0 3.80001C0 2.78667 0.387783 1.77333 1.16337 1.14C2.71453 -0.38 5.17057 -0.38 6.72173 1.14L16.5458 10.7667C18.4847 12.6667 18.4847 15.8333 16.5458 17.7333C15.6409 18.4933 14.3483 19 13.0556 19Z",fill:"currentColor"})}))}},7910(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M4 17.5063V21H7.31237L17.1312 10.6439L13.8188 7.15024L4 17.5063ZM19.7338 7.89899C20.0887 7.52467 20.0887 6.90069 19.7338 6.52638L17.6044 4.28074C17.2495 3.90642 16.658 3.90642 16.3031 4.28074L14.647 6.02742L17.9593 9.52108C18.0776 9.52108 19.7338 7.89899 19.7338 7.89899Z",fill:"currentColor"})}))}},7975(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M5.90321 18.9875C5.90321 20.1055 6.80643 21 7.93546 21H15.9516C17.0806 21 17.9839 20.1055 17.9839 18.9875V7.02472H5.90321V18.9875ZM19 4.00611H15.5L14.4839 3H9.51614L8.49998 4.00611H5V6.01861H19V4.00611Z",fill:"currentColor"})}))}},8022(e,t,r){r.d(t,{A:()=>
1o});var n=r(4848),l=r(6942),a=r.n(l);const o=function({totalSteps:e,currentStep:t,title:r}){const l=Math.min(t/e*100,100);return(0,n.jsxs)("div",{className:a()("w-full",r&&"flex flex-col gap-m"),children:[r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"hidden font-bold sm:block text-primary",children:r}),(0,n.jsx)("h3",{className:"sm:hidden font-bold text-primary",children:r})]}),(0,n.jsx)("div",{className:"w-full h-[0.5rem] bg-neutral-semi rounded-full overflow-hidden",children:(0,n.jsx)("div",{className:"h-full bg- bg-primary transition-all duration-300 ease-in-out",style:{width:`${l}%`}})})]})}},8046(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M20.2 14.6667C18.7333 14.6667 17.3999 14.4001 16.0666 14.0001C15.6666 13.8667 15.2666 14 14.8666 14.2667L12.9999 16.4001C9.66659 14.9335 6.59992 11.9999 4.99992 8.79989L7.2666 6.93335C7.53327 6.66668 7.66662 6.13348 7.53328 5.73348C7.13328 4.53348 6.86662 3.20015 6.86662 1.73348C6.86662 1.06681 6.33325 0.666748 5.66659 0.666748H1.66659C0.999919 0.666748 0.333252 0.93348 0.333252 1.73348C0.333252 12.1335 9.39995 20.6667 20.2 20.6667C21 20.6667 21.3999 20.0001 21.3999 19.3334V15.4666C21.3999 15.1999 20.8666 14.6667 20.2 14.6667Z",fill:"currentColor"})}))}},8231(e,t,r){r.d(t,{A:()=>i});
1var n=r(4848),l=r(5554),a=r(1023),o=r(6942),s=r.n(o);const i=({label:e,labelMedium:t=!1,textBlock:r=!1,children:o,tooltip:i,flexItem:c=!1})=>(0,n.jsxs)("div",{className:s()("w-full h-full flex flex-col",r?"gap-xxxs h-full justify-end":c?"gap-xs":"gap-xxs"),children:[(0,n.jsxs)("div",{className:"flex justify-between gap-xxxs items-start",children:[(0,n.jsx)(l.A,{className:r?"text-neutral-darker":"text-primary-darker",size:t?"MD":"M",weight:r?"Regular":"Bold",children:e}),i&&(0,n.jsx)(a.A,{children:i})]}),(0,n.jsx)("div",{children:o})]})},8483(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(6942),a=r.n(l),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{const{children:t,icon:r,isActive:l,isFocusable:s,mode:i,className:c}=e,d=o(e,["children","icon","isActive","isFocusable","mode","className"]);return(0,n.jsx)("button",Object.assign({className:a()("rounded min-h-[3rem] px-xs py-xxs whitespace-nowrap group",{"hover:bg-primary-lightest":!e.disabled},{"bg-primary-lighter":l},{focusable:s},{"text-primary-darker":"onLight"===i},{"hover:text-primary-darker":"onDark"===i},{"text-neutral-white":"onDark"===i&&!l},{"text-primary-darker":"onDark"===i&&l},{"text-neutral-semi":e.disabled},"focus:ring-2 focus:ring-primary-darker focus:outline-none",!e.disabled&&"active:bg-primary-lighter",l&&"shadow-small",c)},d,{children:(0,n.jsxs)("div",{className:a()("flex flex-row items-center gap-xxs"),children:[r&&(0,n.jsx)("div",{className:"w-m",children:r}),(0,n.jsx)("span",{children:t})]})}))}},8526(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5287 3.6607C10.6397 3.41095 10.8874 3.25 11.1607 3.25C12.9177 3.25 14.342 4.67431 14.342 6.43128V9.98139H18.6262C19.3145 9.97482 19.9712 10.2702 20.4229 10.7897C20.8756 11.3103 21.0768 12.0034 20.9733 12.6855C20.9721 12.6936 20.9707 12.7016 20.9692 12.7096L19.826 18.7845C19.6449 19.9357 18.6471 20.7812 17.4809 20.77H7.84112C7.45917 20.77 7.14954 20.4604 7.14954 20.0784V11.4107C7.14954 11.3139 7.16984 11.2182 7.20914 11.1298L10.5287 3.6607ZM11.5875 4.68411L8.5327 11.5574V19.3869H17.4923C17.9751 19.3923 18.3882 19.0413 18.4605 18.564C18.4618 18.5559 18.4631 18.5478 18.4646 18.5397L19.6073 12.4675C19.6464 12.19 19.5632 11.909 19.3792 11.6973C19.1928 11.4829 18.9216 11.3613 18.6376 11.3645L18.6298 11.3646L13.6504 11.3646C13.2684 11.3646 12.9588 11.0549 12.9588 10.673V6.43128C12.9588 5.58525 12.3746 4.8757 11.5875 4.68411Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.63085 10.1658H7.84106C8.22301 10.1658 8.53264 10.4754 8.53264 10.8574V20.0781C8.53264 20.4601 8.22301 20.7697 7.84106 20.7697H5.63089C4.31078 20.7898 3.18331 19.8201 3.00624 18.511C3.00209 18.4803 3 18.4493 3 18.4183V12.6091C3 12.5781 3.00209 12.5471 3.00624 12.5164C3.17707 11.2535 4.26625 10.1453 5.63085 10.1658ZM4.38316 12.6605V18.3666C4.48399 18.9617 5.00539 19.3974 5.61301 19.3867L5.62524 19.3864L7.14948 19.3866V11.549H5.613C5.04833 11.539 4.49031 12.0189 4.38316 12.6605Z",fill:"currentColor"})]}))}},8625(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(5554),a=r(9720);const o=({rowElements:e,weight:t,isHeader:r})=>{const o=r?"th":"td";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("tr",{className:"flex flex-row gap-xs pt-xs pb-xxs",children:e.map(e=>(0,n.jsx)(o,{style:{width:e.width,flex:`0 0 ${e.width}`},className:"flex items-center",children:(0,n.jsx)(l.A,{size:"S",weight:t,children:e.label})},e.field))}),(0,n.jsx)("tr",{children:(0,n.jsx)(o,{colSpan:e.length,className:"p-0",children:(0,n.jsx)(a.A,{type:"horizontal",weight:t})})})]})},s=({columns:e,rows:t,maxHeight:r,title:a})=>(0,n.jsxs)("div",{className:a?"w-full flex flex-col gap-xxs":"w-full",children:[a&&(0,n.jsx)(l.A,{component:"h3",weight:"Bold",className:"text-primary-darker",children:a}),(0,n.jsx)("div",{className:"bg-neutral-white border-[0.0625rem] border-primary-lightest roun
1ded-[0.5rem] pt-xxs pl-s pr-xxs pb-xxs shadow-small",children:(0,n.jsx)("div",{className:"scrollArea overflow-auto pb-xxs",style:{maxHeight:r},children:(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{className:"sticky top-0 z-10 bg-neutral-white",children:(0,n.jsx)(o,{rowElements:e,weight:"Bold",isHeader:!0})}),(0,n.jsx)("tbody",{children:t.map((t,r)=>(0,n.jsx)(o,{weight:"Regular",rowElements:e.map(e=>({field:e.field,label:"currency"===e.type?String(Number(t[e.field]).toFixed(2)).replace(".",",").replace(/\B(?=(\d{3})+(?!\d))/g,"."):String(t[e.field]),width:e.width}))},r))})]})})})]})},9016(e,t,r){r.d(t,{MH:()=>o,rU:()=>i});var n=r(1154),l=r(6765);const a=e=>{const t=["quotazioniPip"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/preventivatore-vita/quotazioniPip",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},o=e=>{const t=a(e);return(0,n.n)(t)},s=e=>{const t=["salvaPreventivo"],{mutation:r,request:n}=e?e.mutation&&"mutationKey"in e.mutation&&e.mutation.mutationKey?e:Object.assign(Object.assign({},e),{mutation:Object.assign(Object.assign({},e.mutation),{mutationKey:t})}):{mutation:{mutationKey:t},request:void 0};return Object.assign({mutationFn:e=>{const{data:t}=null!=e?e:{};return((e,t,r)=>(0,l.a)({url:"/api/preventivatore-vita/salva-preventivo",method:"POST",headers:{"Content-Type":"application/json"},data:e,signal:r},t))(t,n)}},r)},i=e=>{const t=s(e);return(0,n.n)(t)}},9054(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M9.20001 10.8H7.5V12.5H9.20001V10.8ZM12.7 10.8H11V12.5H12.7V10.8ZM16.2 10.8H14.5V12.5H16.2V10.8ZM17.9 4.7002H17V3H15.3V4.7002H8.29999V3H6.59998V4.7002H5.70001C4.70001 4.7002 4 5.50015 4 6.40015V18.6001C4 19.6001 4.80001 20.3 5.70001 20.3H17.9C18.9 20.3 19.6 19.5001 19.6 18.6001V6.40015C19.7 5.40015 18.9 4.7002 17.9 4.7002ZM17.9 18.6001H5.70001V9H17.9V18.6001Z",fill:"#323232"})}))}},9092(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.2929 3.29291L2.29292 11.2929L1.58582 12L2.29292 12.7071L10.2929 20.7071L11.7071 19.2929L5.41424 13H22V11H5.41424L11.7071 4.70712L10.2929 3.29291Z",fill:"currentColor"})}))}},9475(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(6942),a=r.n(l),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{const t=o(e,[]);return(0,n.jsx)("div",Object.assign({},t,{className:a()("container",e.className),children:e.children}))}},9520(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M19.8 11.8999C19.4 8.3999 16.6 5.59995 13.1 5.19995V3.5H11.4V5.19995C7.89999 5.59995 5.10001 8.3999 4.70001 11.8999H3V13.6001H4.70001C5.10001 17.1001 7.89999 19.9 11.4 20.3V22H13.1V20.3C16.6 19.9 19.4 17.1001 19.8 13.6001H21.5V11.8999H19.8ZM12.2 18.6001C8.90001 18.6001 6.30002 16 6.30002 12.7C6.30002 9.39995 8.90001 6.80005 12.2 
16.80005C15.5 6.80005 18.1 9.39995 18.1 12.7C18.2 16 15.5 18.6001 12.2 18.6001Z",fill:t.color||"#317ED9"})}))}},9575(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsxs)("svg",Object.assign({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4713 20.3593C13.3603 20.6091 13.1126 20.77 12.8393 20.77C11.0823 20.77 9.65803 19.3457 9.65803 17.5887V14.0386L5.3738 14.0386C4.68547 14.0452 4.02882 13.7498 3.57708 13.2303C3.12443 12.7097 2.92317 12.0166 3.0267 11.3345C3.02792 11.3264 3.02929 11.3184 3.0308 11.3104L4.17397 5.23556C4.35509 4.08434 5.35288 3.23887 6.5191 3.24999H16.1589C16.5408 3.24999 16.8505 3.55963 16.8505 3.94157L16.8505 12.6094C16.8505 12.7061 16.8302 12.8018 16.7909 12.8902L13.4713 20.3593ZM12.4125 19.3359L15.4673 12.4626V4.63315H6.50767C6.02487 4.6277 5.61183 4.97875 5.53947 5.45607C5.53824 5.46417 5.53687 5.47225 5.53535 5.4803L4.39266 11.5526C4.35364 11.83 4.43675 12.111 4.62081 12.3227C4.80725 12.5371 5.07836 12.6587 5.36238 12.6555L5.37024 12.6554L10.3496 12.6555C10.7316 12.6555 11.0412 12.9651 11.0412 13.347V17.5887C11.0412 18.4348 11.6254 19.1443 12.4125 19.3359Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3691 13.8542H16.1589C15.777 13.8542 15.4674 13.5446 15.4674 13.1626V3.94189C15.4674 3.55994 15.777 3.25031 16.1589 3.25031H18.3691C19.6892 3.23023 20.8167 4.19993 20.9938 5.50898C20.9979 5.5397 21 5.57067 21 5.60168V11.411C21 11.442 20.9979 11.4729 20.9938 11.5037C20.8229 12.7665 19.7337 13.8747 18.3691 13.8542ZM19.6168 11.3596V5.6534C19.516 5.05828 18.9946 4.62261 18.387 4.63336L18.3748 4.63357L16.8505 4.63347V12.4711H18.387C18.9517 12.481 19.5097 12.0011 19.6168 11.3596Z",fill:"currentColor"})]}))}},9579(e,t,r){r.d(t,{$:()=>p});var n=r(4848),l=r(6942),a=r.n(l),o=r(6540),s=r(5554),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const c=e=>{const t=i(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62564 4.57633L4.96685 1L2.99994 1.36232L4.1052 7.36232L4.25604 8.18116H5.08866H10.9834V6.18116H6.82868C8.22599 4.93475 10.0592 4.18116 12.0659 4.18116C16.4299 4.18116 19.9834 7.75419 19.9834 12.1812C19.9834 16.6081 16.4299 20.1812 12.0659 20.1812C8.89697 20.1812 6.15586 18.2991 4.89074 15.5685L3.07604 16.4092C4.6531 19.8132 8.08159 22.1812 12.0659 22.1812C17.5518 22.1812 21.9834 17.6953 21.9834 12.1812C21.9834 6.66701 17.5518 2.18116 12.0659 2.18116C9.60648 2.18116 7.35697 3.08451 5.62564 4.57633Z",fill:"currentColor"})}))};var d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const p=e=>{const{children:t,disabled:r,size:l,color:i,leftIcon:p,rightIcon:u,isLoading:m,onClick:x,bgDark:f,focusOutline:h}=e,g=d(e,["children","disabled","size","color","leftIcon","rightIcon","isLoading","onClick","bgDark","focusOutline"]),[b,y]=(0,o.useState)(!1),j=m?{animationDirection:"reverse"}:{};return(0,n.jsx)("button",Object.assign({type:"button","aria-pressed":b,onMouseDown:()=>y(!0),onMouseUp:()=>
1y(!1),tabIndex:r?-1:0,className:a()(!r||h&&"focus:ring-4 focus:outline-2 "+(f?"focus:ring-white focus:outline-primary":"focus:ring-primary-darker focus:outline-white"),"Secondary"!==i&&"bg-gradient-to-b","shadow-medium rounded  flex flex-row justify-center items-center gap-x-xxxs",{"min-w-[8.8125rem] min-h-[3rem] px-m py-[0.625rem]":"Large"===l},{"min-w-[7.25rem] min-h-[2.5rem] px-m py-[0.625rem]":"Medium"===l},{"min-w-[5.75rem] min-h-[2rem] px-xs py-[0.375rem]":"Small"===l},{"w-full min-h-[2rem]":"Full"===l},r?"from-neutral-semi to-neutral-semi cursor-not-allowed":a()({"from-gradient-accent to-gradient-other hover:from-accent hover:to-accent aria-pressed:from-accent-dark aria-pressed:to-accent-dark":"Primary"===i},{"bg-white hover:bg-primary-lightest aria-pressed:bg-primary-lighter":"Secondary"===i},{"bg-danger-dark hover:bg-danger-darker aria-pressed:bg-danger-dark":"Danger"===i},{"bg-primary hover:bg-primary-dark aria-pressed:bg-primary":"Blue"===i})),onClick:r?void 0:x},g,{children:(0,n.jsx)(s.A,{component:"div",size:(()=>{switch(l){case"Large":return"M";case"Medium":return"S";case"Small":return"XS"}})(),weight:"Bold",className:a()(r?"text-neutral-dark":a()({"text-black":"Primary"===i},{"text-primary":"Secondary"===i},{"text-white":"Danger"===i},{"text-white":"Blue"===i})),children:(0,n.jsxs)("div",{className:"flex flex-row items-center flex-nowrap gap-xxs",children:[m&&(0,n.jsx)("div",{className:"w-s h-s animate-spin",style:j,children:(0,n.jsx)(c,{})}),p&&!m&&(0,n.jsx)("div",{className:a()("w-s h-s",{"animate-spin":m}),style:j,children:p}),t,u&&(0,n.jsx)("div",{className:a()("w-s h-s",{"animate-spin":m}),style:j,children:u})]})})}))}},9590(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{d:"M3 20H21L12 4L3 20ZM12.8471 17.4965H11.2588V15.8639H12.8471V17.4965ZM12.8471 14.1225H11.2588V10.7483H12.8471V14.1225Z",fill:"currentColor"})}))}},9603(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const a=e=>{const t=l(e,[]);return(0,n.jsx)("svg",Object.assign({viewBox:"0 0 18 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7 0H1.70001C0.700012 0 0 0.800049 0 1.80005V12.3C0 13.3 0.799988 14.0999 1.79999 14.0999H15.8C16.8 14.0999 17.6 13.3 17.6 12.3V1.80005C17.4 0.800049 16.6 0 15.7 0ZM15.7 12.3H1.70001V3.5L8.70001 7.8999L15.7 3.5V12.3ZM8.70001 6.09985L1.70001 1.69995H15.7L8.70001 6.09985Z",fill:"currentColor"})}))}},9720(e,t,r){r.d(t,{A:()=>s});var n=r(4848),l=r(6942),a=r.n(l),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l<n.length;l++)t.indexOf(n[l])<0&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]])}return r};const s=e=>{const{type:t,weight:r="Regular"}=e,l=o(e,["type","weight"]),s="Bold"===r?"bg-neutral-semi":"bg-neutral-light";return"vertical"===t?(0,n.jsx)("div",Object.assign({className:a()(s,"w-[0.0625rem] h-full")},l)):"horizontal"===t?(0,n.jsx)("div",Object.assign({className:a()(s,"h-[0.0625rem] w-full")},l)):(0,n.jsx)(n.Fragment,{})}},9731(e,t,r){r.d(t,{A:()=>a});var n=r(4848),l=r(9579);const a=({ctaPrimary:e,ctaSecondary1:t,ctaSecondary2:r})=>(0,n.jsxs)("div",{className:"w-full flex flex-col-reverse pt-l sm:flex-row justify-end gap-xs sm:gap-s",children:[(null==t?void 0:t.label)&&(0,n.jsx)(l.$,{size:"Large",disabled:null==t?void 0:t.disabled,color:"Secondary",onClick:t.onClick,children:t.label}),(null==r?void 0:r.label)&&(0,n.jsx)(l.$,{size:"Large",disabled:null==r?void 0:r.disabled,color:"Secondary",onClick:r.onClick,children:r.label}),(null==e?void 0:e.label)&&(0,n.jsx)(l.$,{size:"Large",disabled:null==e?void 0:e.disabled,color:"Primary",onClick:e.onClick,children:e.label})]})}}]);

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.