1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="98d52458-d0f5-4d8b-b040-5fb9498ad48f",e._sentryDebugIdIdentifier="sentry-dbid-98d52458-d0f5-4d8b-b040-5fb9498ad48f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1523],{18721:(e,a,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/live/domande",function(){return n(45728)}])},45728:(e,a,n)=>{"use strict";n.r(a),n.d(a,{__N_SSG:()=>u,default:()=>domande});var i=n(37876),r=n(14232),s=n(84201),t=n(42534),l=n(24516),o=n(60268),d=n.n(o),m=n(34936),c=n(74691),p=n(57611),h=n(89099);const EventoFormTemplate_EventoFormTemplate=e=>{const{pagina:a}=e,n=(0,h.useRouter)(),o=(0,s.mz)(),[u,v]=(0,r.useState)(1),g={id:void 0,rispostaDomanda:"",nome:"",email:"",domanda1:"",domanda2:"",domanda3:"",privacy:!1,marketing:!1},[x,{loading:_,error:b}]=(0,t.Cw)(),[f,j]=(0,r.useState)(!1),handleSubmit=async e=>{if(e.rispostaDomanda){if(2==u){j(!0);try{const{data:a}=await x({variables:{input:{id:e.id,nome:e.nome,email:e.email,rispostaDomanda:e.rispostaDomanda,domanda1:e.domanda1,domanda2:e.domanda2,domanda3:e.domanda3,privacy:e.privacy,marketing:e.marketing,domanda:`${o("Quando pensi al tuo futuro... cosa ti immagini? ð")} / ${o("Wie stellst du dir die Zukunft vor?")}`}}});a?.upsertUtenteEvento&&a?.upsertUtenteEvento?.utenteEvento?.id&&(n.push("/live/domande/thank-you/"),j(!1))}catch(e){console.error(e),j(!1)}}2!=u&&v(2)}};return(0,i.jsx)(l.YW,{headerVariant:"simple",footerVisible:!1,pagina:a,className:`${d().root} ${d()[`root--step${u}`]}`,children:(0,i.jsxs)("main",{className:d().main,children:[(0,i.jsxs)("div",{className:d().hero,children:[!!a?.mainImage?.url&&(0,i.jsx)("div",{className:d().heroImageBox,children:(0,i.jsx)(m.VJ,{src:a.mainImage?.url,maxWidth:480,maxHeight:266,alt:a.mainImage?.alt})}),(0,i.jsx)("div",{className:d().heroContent,children:!!a?.titolo&&(0,i.jsxs)("h1",{className:d().heroTitle,children:[(0,i.jsx)("span",{lang:"it",children:a.titolo}),(0,i.jsx)("span",{lang:"de",children:o("Willkommen bei Spark")})]})})]}),(0,i.jsx)(c.l1,{onSubmit:e=>handleSubmit(e),initialValues:g,validationSchema:(0,p.nJ)(o),children:e=>(0,i.jsxs)(c.lV,{className:d().form,children:[(0,i.jsxs)("div",{className:`${d().step} ${1===u?d()["step--visible"]:d()["step--hidden"]}`,children:[(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{lang:"it",children:o("Quando pensi al tuo futuro... cosa ti immagini? ð")}),(0,i.jsx)("span",{className:d().labelTranslation,lang:"de",children:o("Wenn du an deine Zukunft denkst ... was stellst du dir vor? ð")})]}),placeholder:o("Un sogno, un obiettivo, qualsiasi cosa ti viene in mente! / Ein Traum, ein Ziel â ganz egal, was dir in den Sinn kommt!"),type:"textarea",name:"rispostaDomanda",max:500,helper:o("Max 500 caratteri / Maximal 500 Zeichen"),required:!0,layout:"full"}),(0,i.jsxs)("div",{className:d().stepDescription,children:[(0,i.jsx)("p",{lang:"it",children:o("La tua risposta verrà proiettata sugli schermi in Spark Space â")}),(0,i.jsx)("p",{lang:"de",children:o("Deine Antwort wird auf den Bildschirmen im Spark Space gezeigt.")})]}),(0,i.jsx)(m.$n,{label:o("Prosegui / Fortfahren"),onClick:()=>handleSubmit(e.values),className:d().cta})]}),(0,i.jsxs)("div",{className:`${d().step} ${2===u?d()["step--visible"]:d()["step--hidden"]}`,children:[(0,i.jsxs)("div",{className:d().stepContent,children:[(0,i.jsxs)("h2",{className:d().stepTitle,children:[(0,i.jsx)("span",{lang:"it",children:o("Conosciamoci un po'")}),(0,i.jsx)("span",{lang:"de",children:o("Lass uns einander ein wenig kennenlernen")})]}),(0,i.jsxs)("div",{className:d().stepDescription,children:[(0,i.jsx)("p",{lang:"it",children:o("Diventa parte dellâevento! Parlaci di te e rispondi alle domande per aiutarci a creare contenuti che ti servono davvero.")}),(0,i.jsx)("p",{lang:"de",children:o("Werde Teil des Events! Erzähl uns von dir und beantworte die Fragen, damit wir Inhalte erstellen können, die wirklich zu dir passen.")})]})]}),(0,i.jsxs)("div",{className:d().fieldsWrap1,children:[(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{lang:"it",children:[o("Nome"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]}),(0,i.jsxs)("span",{className:d().labelTranslation,lang:"de",children:[o("Name"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]})]}),placeholder:o("Nome / Name"),type:"text",name:"nome",layout:"full"}),(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{lang:"it",children:[o("E-mail"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]}),(0,i.jsxs)("span",{className:d().labelTranslation,lang:"de",children:[o("E-mail"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]})]}),placeholder:o("E-mail"),type:"email",name:"email",layout:"full"}),(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{lang:"it",children:o("ð Quali temi legati ai soldi ti incuri
1osiscono di più? (Risparmiare, spendere per esperienze, investire / farli crescere...)")}),(0,i.jsx)("span",{className:d().labelTranslation,lang:"de",children:o(" Welche Themen rund ums Geld interessieren dich am meisten? (Sparen, Geld für Erlebnisse ausgeben, investieren / es vermehren â¦)")})]}),placeholder:o("Scrivi qualcosa / Schreibe etwas..."),type:"textarea",name:"domanda1",max:500,helper:o("Max 500 caratteri / Maximal 500 Zeichen"),layout:"full"}),(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{lang:"it",children:o("ð± Che tipo di contenuti ti aiuterebbero di più a capire queste tematiche? (Video, meme, corsi, eventi...)")}),(0,i.jsx)("span",{className:d().labelTranslation,lang:"de",children:o("Welche Art von Inhalten würde dir am meisten helfen, diese Themen besser zu verstehen? (Videos, Memes, Kurse, Events â¦)")})]}),placeholder:o("Scrivi qualcosa / Schreibe etwas..."),type:"textarea",name:"domanda2",max:500,helper:o("Max 500 caratteri / Maximal 500 Zeichen"),layout:"full"}),(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{lang:"it",children:o("ð¡ Come ti piacerebbe che ti venissero spiegate le cose sui soldi? Più ironiche, pratiche, con storie vere...?")}),(0,i.jsx)("span",{className:d().labelTranslation,lang:"de",children:o("Wie würdest du dir wünschen, dass dir Dinge über Geld erklärt werden? Humorvoller, praktischer, mit echten Geschichten â¦?")})]}),placeholder:o("Scrivi qualcosa / Schreibe etwas..."),type:"textarea",name:"domanda3",max:500,helper:o("Max 500 caratteri / Maximal 500 Zeichen"),layout:"full"})]}),(0,i.jsx)(m.$n,{label:"Informativa Privacy - Datenschutzerklärung",href:"https://sparkasseprod-admin.webranking.biz/d/filer/canonical/1758626106/983/",newPage:!0,variant:"ghost"}),(0,i.jsxs)("div",{className:d().fieldsWrap2,children:[(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{lang:"it",children:[o("Con la presente dichiaro di aver preso visione dellâinformativa privacy consultabile al link di cui sopra e di acconsentire al trattamento dei dati per dar seguito allâiscrizione allâevento"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]}),(0,i.jsxs)("span",{className:d().labelTranslation,lang:"de",children:[o("Hiermit erkläre ich, die Datenschutzerklärung über den oben angegebenen Link gelesen zu haben und stimme der Verarbeitung meiner Daten zu, um die Anmeldung zur Veranstaltung abzuschlieÃen"),(0,i.jsx)("span",{className:d().requiredStar,children:"*"})]})]}),type:"checkbox",name:"privacy",layout:"full",id:"evento_privacy"}),(0,i.jsx)(m.BY,{formik:e,label:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{lang:"it",children:o("Con la presente acconsento allâinvio da parte del Gruppo Sparkasse di materiale informativo agli indirizzi indicati nel form (e.g. email, SMS, telefono) e di essere ricontattato per finalità di promozione dei prodotti e delle iniziative.")}),(0,i.jsx)("span",{className:d().labelTranslation,lang:"de",children:o("Hiermit stimme ich zu, dass die Gruppe Sparkasse Informationsmaterial an die im Formular angegebenen Adressen (z. B. E-Mail, SMS, Telefon) sendet und mich zu Zwecken der Bewerbung von Produkten und Initiativen erneut kontaktiert.")})]}),type:"checkbox",name:"marketing",layout:"full",id:"evento_marketing"}),(0,i.jsx)(m.$n,{label:o("Invia / Senden"),type:"submit",className:d().cta,loading:_||f})]})]})]})})]})})};var u=!0;const domande=({pagina:e})=>(0,i.jsx)(EventoFormTemplate_EventoFormTemplate,{pagina:e})},60268:e=>{e.exports={root:"EventoFormTemplate_root__uFzhH","root--step2":"EventoFormTemplate_root--step2__bTvMy",hero:"EventoFormTemplate_hero__KiLXG",heroImageBox:"EventoFormTemplate_heroImageBox__dEr_0",heroContent:"EventoFormTemplate_heroContent__quRaC",heroTitle:"EventoFormTemplate_heroTitle__RMcL3",form:"EventoFormTemplate_form__B_Koi",step:"EventoFormTemplate_step__MShwg","step--hidden":"EventoFormTemplate_step--hidden__sVHZc",stepContent:"EventoFormTemplate_stepContent__wa4TK",stepTitle:"EventoFormTemplate_stepTitle__vucmB",stepDescription:"EventoFormTemplate_stepDescription__L5GW6",labelTranslation:"EventoFormTemplate_labelTranslation__W46J2",requiredStar:"EventoFormTemplate_requiredStar__b_B4U",fieldsWrap1:"EventoFormTemplate_fieldsWrap1__Nd2wB",fieldsWrap2:"EventoFormTemplate_fieldsWrap2__rg1yV",cta:"EventoFormTemplate_cta__INjNn",privacy:"EventoFormTemplate_privacy___HSAk",rotation:"EventoFormTemplate_rotation__mYNjX"}}},e=>{e.O(0,[4691,636,6593,8792],()=>{return a=18721,e(e.s=a);var a});var a=e.O();_N_E=a}]);
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.