PageSourceSearch

https://fondoambiente.it/_next/static/chunks/pages/ldc/addComitato-db8f3048e40e146f3967.js

js fondoambiente.it collected 2026-09-24 08:51:51 UTC 25,628 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[61],{"3XRL":function(e,t,o){"use strict";o.d(t,"a",(function(){return b})),o.d(t,"b",(function(){return v}));var n=o("9fIP"),i=o("MMYH"),r=o("K/z8"),a=o("sRHE"),l=o("8K1b"),c=o("ERkP"),u=o.n(c),s=o("0D0S"),d=o.n(s),p=u.a.createElement;function m(e,t,o){return t=Object(a.a)(t),Object(r.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,o||[],Object(a.a)(e).constructor):t.apply(e,o))}var f=(d()()||{publicRuntimeConfig:{}}).publicRuntimeConfig.TURNSTILE_SITE_KEY;function h(){return window.turnstile&&"function"===typeof window.turnstile.render}function g(){return new Promise((function(e,t){if(h())e(window.turnstile);else var o=Date.now(),n=setInterval((function(){if(h())return clearInterval(n),void e(window.turnstile);Date.now()-o>1e4&&(clearInterval(n),t(new Error("Turnstile API non disponibile entro il timeout")))}),50)}))}var b=function(e){function t(e){var o;return Object(n.a)(this,t),(o=m(this,t,[e])).containerRef=u.a.createRef(),o.widgetId=null,o.isMounted_=!1,o.renderRetryTimer=null,o}return Object(l.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.isMounted_=!0,f?(h()?Promise.resolve(window.turnstile):new Promise((function(e,t){if(document.getElementById("fai-cf-turnstile"))g().then(e,t);else{var o=document.createElement("script");o.id="fai-cf-turnstile",o.src="https://challenges.cloudflare.com/turnstile/v0/api.js",o.async=!0,o.defer=!0,o.addEventListener("load",(function(){return g().then(e,t)})),o.addEventListener("error",t),document.head.appendChild(o)}}))).then((function(t){t&&e.isMounted_&&e.renderWidget(t)})).catch((function(t){console.warn("[Turnstile] script load failed",t),e.props.onError&&e.props.onError()})):console.warn("[Turnstile] TURNSTILE_SITE_KEY non configurata; widget non renderizzato.")}},{key:"renderWidget",value:function(e){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.isMounted_&&this.containerRef.current&&null===this.widgetId){var n;this.containerRef.current.innerHTML="";try{n=e.render(this.containerRef.current,{sitekey:f,action:this.props.action,theme:this.props.theme||"light",callback:function(e){return t.props.onVerify&&t.props.onVerify(e)},"expired-callback":function(){return t.props.onExpire&&t.props.onExpire()},"error-callback":function(){return t.props.onError&&t.props.onError()}})}catch(i){console.warn("[Turnstile] render fallito",i)}n?this.widgetId=n:o<8?this.renderRetryTimer=setTimeout((function(){return t.renderWidget(e,o+1)}),150):(console.warn("[Turnstile] render non ha restituito un widgetId dopo i retry"),this.props.onError&&this.props.onError())}}},{key:"componentWillUnmount",value:function(){if(this.isMounted_=!1,this.renderRetryTimer&&(clearTimeout(this.renderRetryTimer),this.renderRetryTimer=null),null!==this.widgetId&&window.turnstile)try{window.turnstile.remove(this.widgetId)}catch(e){}this.widgetId=null}},{key:"reset",value:function(){null!==this.widgetId&&window.turnstile&&window.turnstile.reset(this.widgetId)}},{key:"render",value:function(){return f?p("div",{ref:this.containerRef}):null}}])}(c.Component),v=function(){return Boolean(f)}},"7BIe":function(e,t,o){"use strict";o.r(t);var n=o("QsI/"),i=o("cxan"),r=o("9fIP"),a=o("MMYH"),l=o("K/z8"),c=o("sRHE"),u=o("8K1b"),s=o("ERkP"),d=o.n(s),p=o("0D0S"),m=o.n(p),f=o("Lm5w"),h=o("pqH2"),g=function(e,t){return{title:e?"Modifica comitato":"Registra comitato",subtitle:"".concat(e?"Modifica":"Crea"," la tua pagina e promuovi il tuo luogo del cuore"),ogImage:"og image",url:"".concat(t,"/il-fai/grandi-campagne/i-luoghi-del-cuore/aggiungi-comitato"),breadCrumbs:[["/","Home"],["/il-fai/","Il fai"],["/il-fai/grandi-campagne","Grandi Campagne"],["/il-fai/grandi-campagne/i-luoghi-del-cuore/comitati","I Comitati"],["/il-fai/grandi-campagne/i-luoghi-del-cuore/registra-comitato","Registra Comitato"]]}},b=function(e){if(e)return{id_luogo:e.id_luogo,titolo:e.titolo,rif_nome:e.rif_nome,rif_cognome:e.rif_cognome,rif_email:e.rif_email,rif_telefono:e.rif_telefono,bisogni_luogo:e.bisogni_luogo,avvisi:e.avvisi||"",testo_materiali:e.testo_materiali||"",collaborazioni:e.collaborazioni||"",proprietario_luogo:e.proprietario_luogo||"",descrizione:e.descrizione,indirizzo:e.indirizzo,nome:null,cognome:null,email:null}},v=o("QtE3"),y=o("uPMs"),w=o("j/s1"),_=w.d.div.withConfig({displayName:"styled__ColumnContainer",componentId:"sc-1wwo1ga-0"})(["display:block;@media screen and (min-width:768px){display:flex;flex-wrap:wrap;}"]),O=w.d.div.withConfig({displayName:"styled__MainCol",componentId:"sc-1wwo1ga-1"})(["display:block;padding:1rem 2rem;@media screen and (min-width:768px){flex-grow:1;flex-basis:300px;flex-shrink:0;flex-grow:1;}"]),C=w.d.div.withConfig({displayName:"styled__LateralCol",componentId:"sc-1wwo1ga-2"})(["display:none;@media screen and (min-width:768px){display:block;flex-grow:1;flex-basis:375px;flex-shrink:0;padding:1rem 2rem;flex-grow:0;}"]),j=w.d.div.withConfig({displayName:"styled__ColumnInner",componentId:"sc-1wwo1ga-3"})(["@media screen and (min-width:768px){max-width:500px;}position:sticky;top:7rem;"]),I=(w.d.div.withConfig({displayName:"styled__Title",componentId:"sc-1wwo1ga-4"})(["text-transform:uppercase;font-weight:500;text-align:center;margin-bottom:2.5rem;padding-bottom:1rem;border-bottom:1px solid ",";"],(function(e){return e.theme.colors.lightGrey})),w.d.label.withConfig({displayName:"styled__Label",componentId:"sc-1wwo1ga-5"})(["display:block;text-transform:uppercase;font-weight:bold;font-size:0.8rem;margin-bottom:0.5rem;"])),x=w.d.div.withConfig({displayName:"styled__SubLabel",componentId:"sc-1wwo1ga-6"})(["color:grey;font-size:0.75rem;margin-bottom:0.75rem;"]),z=o("uDfI"),E=o("voCV"),k=o("Qevp"),T=d.a.createElement,P=w.d.div.withConfig({displayName:"C
1ardPreview__CardContainer",componentId:"sc-14o6eo1-0"})(["height:100%;box-shadow:0 0 9.5px 0.5px rgba(0,0,0,0.15);> div{height:auto;}"]),R=Object(E.a)(Object(z.b)((function(e){return{values:Object(k.a)("ldcAddComitato")(e)}})))((function(e){var t=e.values,o=e.relatedPlace,n=e.selectedLdc,i=o&&o.media&&o.media.length&&o.media[0].url||"https://fai-website.imgix.net/static/placeholder_2.png";return T(P,null,T(v.ListCard,{thumbnail:{url:i,alt:t&&t.titolo||"Titolo comitato",title:t&&t.titolo||"Titolo comitato"},supertitle:"Comitato",title:t&&t.titolo||"Titolo comitato",subtitle:n&&n.titolo&&"Per ".concat(n.titolo)||"Per luogo cuore di riferimento"}))})),S=d.a.createElement;function L(e,t,o){return t=Object(c.a)(t),Object(l.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,o||[],Object(c.a)(e).constructor):t.apply(e,o))}var N=function(e){function t(e){return Object(r.a)(this,t),L(this,t,[e])}return Object(u.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){return S(s.Fragment,null,S(I,null,"Anteprima del comitato"),S(x,null,"Di seguito, l'anteprima del comitato che stai aggiungendo"),S(v.Background,{color:"white"},S(R,this.props)))}}])}(s.Component),D=o("zjfJ"),F=o("HbGN"),A=o("PmxH"),q=o("lw1E"),M=o("PI8s"),B=o("luEP"),G=o("Fz4j"),V=o("iuh3"),H=o("SjgO"),Q=o("3XRL"),U=["nome","cognome","email","accettoRegolamento"],W=d.a.createElement;function K(){var e,t,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function r(o,n,i,r){var c=n&&n.prototype instanceof l?n:l,u=Object.create(c.prototype);return X(u,"_invoke",function(o,n,i){var r,l,c,u=0,s=i||[],d=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,o){return r=t,l=0,c=e,p.n=o,a}};function m(o,n){for(l=o,c=n,t=0;!d&&u&&!i&&t<s.length;t++){var i,r=s[t],m=p.p,f=r[2];o>3?(i=f===n)&&(c=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=m&&((i=o<2&&m<r[1])?(l=0,p.v=n,p.n=r[1]):m<f&&(i=o<3||r[0]>n||n>f)&&(r[4]=o,r[5]=n,p.n=f,l=0))}if(i||o>1)return a;throw d=!0,n}return function(i,s,f){if(u>1)throw TypeError("Generator is already running");for(d&&1===s&&m(s,f),l=s,c=f;(t=l<2?e:c)||!d;){r||(l?l<3?(l>1&&(p.n=-1),m(l,c)):p.n=c:p.v=c);try{if(u=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=p.n<0)?c:o.call(n,p))!==a)break}catch(t){r=e,l=1,c=t}finally{u=1}}return{value:t,done:d}}}(o,i,r),!0),u}var a={};function l(){}function c(){}function u(){}t=Object.getPrototypeOf;var s=[][n]?t(t([][n]())):(X(t={},n,(function(){return this})),t),d=u.prototype=l.prototype=Object.create(s);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,X(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=u,X(d,"constructor",u),X(u,"constructor",c),c.displayName="GeneratorFunction",X(u,i,"GeneratorFunction"),X(d),X(d,i,"Generator"),X(d,n,(function(){return this})),X(d,"toString",(function(){return"[object Generator]"})),(K=function(){return{w:r,m:p}})()}function X(e,t,o,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(X=function(e,t,o,n){function r(t,o){X(e,t,(function(e){return this._invoke(t,o,e)}))}t?i?i(e,t,{value:o,enumerable:!n,configurable:!n,writable:!n}):e[t]=o:(r("next",0),r("throw",1),r("return",2))})(e,t,o,n)}function Y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function J(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(o),!0).forEach((function(t){Object(D.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Z(e,t,o){return t=Object(c.a)(t),Object(l.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,o||[],Object(c.a)(e).constructor):t.apply(e,o))}var $=["id_luogo","titolo","rif_nome","rif_cognome","rif_email","rif_telefono","bisogni_luogo","nome","cognome","email"],ee=function(e){var t=$.indexOf(e.name)>-1;return W(A.a,Object(i.a)({},e,{required:t}))},te=function(e){function t(e){var o;return Object(r.a)(this,t),(o=Z(this,t,[e])).state={status:null,luoghi:[],captchaToken:null,captchaError:null},o.handleFormSubmit=o.handleFormSubmit.bind(o),o.handleCaptchaVerify=o.handleCaptchaVerify.bind(o),o.handleCaptchaExpire=o.handleCaptchaExpire.bind(o),o}return Object(u.a)(t,e),Object(a.a)(t,[{key:"handleCaptchaVerify",value:function(e){this.setState({captchaToken:e,captchaError:null})}},{key:"handleCaptchaExpire",value:function(){this.setState({captchaToken:null})}},{key:"handleFormSubmit",value:function(){var e=Object(n.a)(K().m((function e(t){var o,n,i,r,a,l,c,u,s;return K().w((function(e){for(;;)switch(e.p=e.n){case 0:if(o=this.props.id,!Object(Q.b)()||this.state.captchaToken){e.n=1;break}return this.setState({captchaError:"Completa la verifica anti-bot prima di inviare."}),e.a(2);case 1:if(n=t.nome,i=t.cognome,r=t.email,t.accettoRegolamento,a=Object(F.a)(t,U),l=J(J({},a),{},{url_logo:null,utente_nome:n,utente_cognome:i,utente_email:r}),c=this.state.captchaToken,!o){e.n=6;break}return e.p=2,e.n=3,Object(h.v)({data:l,id:o,captchaToken:c});case 3:this.setState({status:"UPLOADED"}),e.n=5;break;case 4:throw e.p=4,u=e.v,new q.a(J(J({},u.response.data.errors),{},{_error:u.response.data.errors}));case 5:e.n=9;break;case 6:return e.p=6,e.n=7,Object(h.y)({data:l,captchaToken:c});case 7:this.setState({status:"UPLOADED"}),e.n=9;break;case 8:throw e.p=8,s=e.v,new q.a(J(J({},s.response.data.errors),{},{_error:s.response.data.errors}));case 9:return e.a(2)}}),e,this,[[6,8],[2,4]])})));return function(t){return e.apply(this,arguments)}}()},{key:"onInputValueChange",value:function(){var e=Object(n.a)(K().m((function e(t){var o;return K().w((function(e){for(;;)switch(e.n){case 0:if(!(t&&t.length>3)){e.n=3;break}return e.n=1,Object(h.l)({query:"search=".concat(t),limit:999}).then((function(e){return e.data}));case 1:if((o=e.v)&&o.length){e.n=2;break}return e.a(2);case 2:return this.setState({luoghi:o}),e.a(2);case 3:this.state.luoghi&&this.state.luoghi.length>0&&this.setState({luoghi:[]});case 4:return e.a(2)}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.handleSubmit,o=e.relatedPlace,n=e.error,i=this.state,r=i.status,a=i.luoghi;return"UPLOADED"===r?W(V.d,null,W(v.RichText,{text:"<h1>Comitato inserito correttamente!</h1> <p>Grazie! Il Comitato che hai registrato \xe8 ora in moderazione.<br/>
1Esamineremo la tua richiesta entro 2 giorni lavorativi.<br/>Quando il Comitato sar\xe0 on line riceverai una mail di attivazione e il collegamento a un'area con indicazioni e suggerimenti per un'efficace raccolta voti."})):W("form",{onSubmit:t(this.handleFormSubmit)},W(ee,{name:"id_luogo",label:"Luogo del Cuore di riferimento",subLabel:'Per poter effettuare la registrazione \xe8 necessario che il Comitato sia associato a un luogo presente nel nostro database. Se il tuo luogo del cuore non \xe8 stato ancora censito, <a href="/il-fai/grandi-campagne/i-luoghi-del-cuore/aggiungi-luogo">aggiungilo tu</a>',component:V.e,type:"downshift",options:a,placeholder:"Cerca un luogo",renderDropdownItem:function(e){return W(H.a,{title:e&&e.ldc&&e.ldc.titolo,subtitle:e&&e.localita_web})},handleSelection:this.props.handleSelection,defaultInputValue:o&&o.titolo,onInputValueChange:this.onInputValueChange.bind(this),itemToString:function(e){return e?e.ldc.titolo:""}}),W(ee,{name:"titolo",label:"Nome del comitato",subLabel:"Ometti di scrivere 'Comitato' all'inizio",component:V.e}),W(ee,{name:"indirizzo",label:"Sede del comitato",subLabel:"Indirizzo, numero civico, citt\xe0",component:V.e}),W(ee,{name:"rif_nome",label:"Nome del referente",component:V.e}),W(ee,{name:"rif_cognome",label:"Cognome del referente",component:V.e}),W(ee,{name:"rif_email",label:"Indirizzo email del referente",subLabel:"Questo indirizzo email sar\xe0 pubblicato nella pagina Comitato per dare la possibilit\xe0 agli utenti interessati a sostenere attivamente il tuo luogo del cuore di mettersi in contatto con te",component:V.e}),W(ee,{name:"rif_telefono",label:"Telefono del referente",subLabel:"Questo recapito telefonico non verr\xe0 reso pubblico ma servir\xe0 alla redazione per contattare il Comitato in caso di necessit\xe0",component:V.e}),W(ee,{name:"descrizione",label:"Descrizione del Comitato",subLabel:"Raccontaci il tuo Comitato: come vi siete costituiti? Qual \xe8 il vostro obiettivo? Perch\xe9 per voi \xe8 importante proteggere questo luogo del cuore? Racconta le attivit\xe0 svolte a favore del luogo del cuore.",component:V.e,type:"textarea"}),W(ee,{name:"proprietario_luogo",label:"Ente proprietario del luogo",subLabel:"A chi appartiene il luogo che intendi promuovere? Questa informazione rester\xe0 riservata e non verr\xe0 pubblicata, serve al FAI per conoscere meglio il bene votato.",component:V.e}),W(ee,{name:"bisogni_luogo",label:"Bisogni del luogo",subLabel:"Raccontaci quali sono i bisogni del luogo, inserisci qualche informazione sul suo stato di conservazione e indica se \xe8 aperto al pubblico oppure no.",component:V.e,type:"textarea"}),W(ee,{name:"collaborazioni",label:"Con la collaborazione di",subLabel:"Inserisci i nomi di enti e associazioni che collaborano alla raccolta voti, valorizza il vostro lavoro di squadra.",component:V.e,type:"textarea"}),W(ee,{name:"avvisi",label:"Punto di raccolta voti",subLabel:"Indica tutti i punti fissi dove \xe8 possibile trovare i moduli per la raccolta voti (negozi, uffici comunali, biblioteche...)",component:V.e,type:"textarea"}),W(ee,{name:"testo_materiali",label:"Testo per i materiali di raccolta",subLabel:'Scrivi qui il testo (max 500 caratteri) che vuoi utilizzare per personalizzare la locandina (<a href="https://fai-website.imgix.net/uploads/2018/05/23093746/A4_PERS_LDC_COMITATI_FACSIMILE.pdf">guarda un esempio di locandina</a>) e l\'invito digitale (<a href="https://fai-website.imgix.net/uploads/2018/05/23093632/INVITI_PERS_LDC_COMITATI_FACSIMILE.pdf">guarda un esempio di invito digitale</a>) dedicati al tuo luogo del cuore. Potrai scaricare questi materiali dall\'area myFAI e utilizzarli per raccogliere voti. Lancia il tuo appello e spiega perch\xe9 \xe8 importante votare questo luogo. Potrai inserire il testo anche in un momento successivo alla registrazione del comitato.',component:V.e,type:"textarea"}),W(ie,null,"I tuoi dati"),W(ee,{name:"nome",label:"Nome",component:V.e}),W(ee,{name:"cognome",label:"Cognome",component:V.e}),W(ee,{name:"email",label:"Email",component:V.e,type:"email"}),W(A.a,{name:"accettoRegolamento",type:"checkbox",component:V.e,required:!0,label:W(d.a.Fragment,null,"Dichiaro di aver letto il"," ",W("a",{href:"https://fai-website.imgix.net/uploads/2026/05/06165931/2026_LDC_Regolamento_13%C2%B0Censimento-1.pdf",target:"_blank",rel:"noopener noreferrer"},"regolamento")," ",'del Censimento e nello specifico il punto 10 "Propriet\xe0 intellettuale e garanzie"')}),W(oe,null,W(Q.a,{action:"ldc_comitato",onVerify:this.handleCaptchaVerify,onExpire:this.handleCaptchaExpire}),this.state.captchaError&&W(ne,null,this.state.captchaError)),W("div",null,W(v.Button,{type:"submit",small:!0,orange:!0,onClick:t(this.handleFormSubmit)},"Manda in approvazione"),"ERROR"===r&&W("p",null,"Errore di invio, riprova pi\xf9 tardi"),n&&W(V.a,{error:n}),W(re,null,"Facendo clic su MANDA IN APPROVAZIONE dichiari di accettare"," ",W("a",{href:"https://fondoambiente.it/privacy/",target:"_blank",rel:"noopener noreferrer"},"l'informativa sulla privacy"))))}}])}(s.Component),oe=w.d.div.withConfig({displayName:"FormComitato__CaptchaWrapper",componentId:"sc-1gwlfm4-0"})(["margin:1.5rem 0;"]),ne=w.d.p.withConfig({displayName:"FormComitato__CaptchaError",componentId:"sc-1gwlfm4-1"})(["margin-top:0.5rem;font-size:0.825rem;color:#c00;"]),ie=w.d.h3.withConfig({displayName:"FormComitato__UserDataTitle",componentId:"sc-1gwlfm4-2"})(["margin-top:3rem;margin-bottom:1.5rem;padding-top:2rem;border-top:1px solid #e5e5e5;"]),re=w.d.p.withConfig({displayName:"FormComitato__PrivacyText",componentId:"sc-1gwlfm4-3"})(["margin-top:1.5rem;font-size:0.825rem;color:grey;line-height:1.5;"]),ae={ldcAddComitato:B.object().shape({id_luogo:B.string().required(),titolo:B.string().required().max(255),indirizzo:B.string().max(255).nullable(),rif_nome:B.string().required().max(64),rif_cognome:B.string().required().max(64),rif_email:B.string().email().max(255),rif_telefono:B.string().required().max(64),descrizione:B.string().max(4e3).nullable(),collaborazioni:B.string().max(4e3).nullable(),bisogni_luogo:B.string().required().max(4e3),avvisi:B.string().max(4e3),proprietario_luogo:B.string().max(200).nullable(),testo_materiali:B.string().max(500).nullable(),nome:B.string().required().nullable(),cognome:B.string().required().nullable(),email:B.string().email("L'email inserita non \xe8 valida").required().nullable(),accettoRegolamento:B.boolean().oneOf([!0],"Devi accettare il regolamento per inviare il modulo").required("Devi accettare il regolamento per inviare il modulo")})},le=Object(E.a)(Object(M.a)({form:"ldcAddComitato",validate:Object(G.a)({form:"ldcAddComitato",schema:ae})}))(te),ce=o("ezIv"),ue=d.a.createElement;function se(e,t,o){return t=Object(c.a)(t),Object(l.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,o||[],Object(c.a)(e).constructor):t.apply(e,o))}var de=function(e){function t(e){return Object(r.a)(this,t),se(this,t)}return Object(u.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this.props,t=e.comitato,o=(e.id,Object(ce.i)()),n=o||t&&!o;return ue(s.Fragment,null,ue(v.Wrapper,{size:"small"},ue(v.Padder,{size:"medium"},t||o?!t&&o?ue(v.RichText,{text:"<h2>Registra il tuo comitato: dai visibilit\xe0 alle attivit\xe0 e alle iniziative che organizzate a favore del vostro luogo del cuore. Valorizza le collaborazioni attivate sul territorio per raccogliere voti e rimani in contatto con lo staff dei Luoghi del Cuore. Riceverai una mail di conferma di avvenuta registrazione.</h2>"}):null:ue(v.RichText,{text:"<h2>La decima edizione del censimento dei Luoghi del Cuore si \xe8 conclusa il 15 dicembre 2020. Puoi comunque modificare le informazioni del tuo comitato in vista del nuovo censimento che partir\xe0 nella primavera 2022</h2>"}
1))),n&&ue(v.Wrapper,{size:"medium"},ue(v.Padder,{size:"small"},ue(_,null,ue(O,null,ue(j,null,ue(le,this.props))),ue(C,null,ue(j,null,ue(N,this.props)))))))}}])}(s.Component),pe=d.a.createElement;function me(){var e,t,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function r(o,n,i,r){var c=n&&n.prototype instanceof l?n:l,u=Object.create(c.prototype);return fe(u,"_invoke",function(o,n,i){var r,l,c,u=0,s=i||[],d=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,o){return r=t,l=0,c=e,p.n=o,a}};function m(o,n){for(l=o,c=n,t=0;!d&&u&&!i&&t<s.length;t++){var i,r=s[t],m=p.p,f=r[2];o>3?(i=f===n)&&(c=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=m&&((i=o<2&&m<r[1])?(l=0,p.v=n,p.n=r[1]):m<f&&(i=o<3||r[0]>n||n>f)&&(r[4]=o,r[5]=n,p.n=f,l=0))}if(i||o>1)return a;throw d=!0,n}return function(i,s,f){if(u>1)throw TypeError("Generator is already running");for(d&&1===s&&m(s,f),l=s,c=f;(t=l<2?e:c)||!d;){r||(l?l<3?(l>1&&(p.n=-1),m(l,c)):p.n=c:p.v=c);try{if(u=2,r){if(l||(i="next"),t=r[i]){if(!(t=t.call(r,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,l<2&&(l=0)}else 1===l&&(t=r.return)&&t.call(r),l<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),l=1);r=e}else if((t=(d=p.n<0)?c:o.call(n,p))!==a)break}catch(t){r=e,l=1,c=t}finally{u=1}}return{value:t,done:d}}}(o,i,r),!0),u}var a={};function l(){}function c(){}function u(){}t=Object.getPrototypeOf;var s=[][n]?t(t([][n]())):(fe(t={},n,(function(){return this})),t),d=u.prototype=l.prototype=Object.create(s);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,fe(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=u,fe(d,"constructor",u),fe(u,"constructor",c),c.displayName="GeneratorFunction",fe(u,i,"GeneratorFunction"),fe(d),fe(d,i,"Generator"),fe(d,n,(function(){return this})),fe(d,"toString",(function(){return"[object Generator]"})),(me=function(){return{w:r,m:p}})()}function fe(e,t,o,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(fe=function(e,t,o,n){function r(t,o){fe(e,t,(function(e){return this._invoke(t,o,e)}))}t?i?i(e,t,{value:o,enumerable:!n,configurable:!n,writable:!n}):e[t]=o:(r("next",0),r("throw",1),r("return",2))})(e,t,o,n)}function he(e,t,o){return t=Object(c.a)(t),Object(l.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,o||[],Object(c.a)(e).constructor):t.apply(e,o))}var ge=m()().publicRuntimeConfig.APP_DOMAIN,be=function(e){function t(e){var o;return Object(r.a)(this,t),(o=he(this,t)).state={selectedLdc:e.relatedPlace},o}return Object(u.a)(t,e),Object(a.a)(t,[{key:"handleSelection",value:function(e){var t=e.ldc;this.setState({selectedLdc:t})}},{key:"render",value:function(){var e=this.props,t=e.seo,o=(e.comitato,this.state.selectedLdc);return pe(y.a,{seo:t,hasFasciaGrazie:!0,hasFasciaNLApp:!0,hasFasciaSupporto:!0},pe(v.Hero,Object(i.a)({},t,{height:"small",adaptive:!0,center:!0})),pe(de,Object(i.a)({},this.props,{handleSelection:this.handleSelection.bind(this),selectedLdc:o})))}}],[{key:"getInitialProps",value:function(){var e=Object(n.a)(me().m((function e(t){var o,n,i,r,a,l,c,u;return me().w((function(e){for(;;)switch(e.n){case 0:if(o=t.query,n=o.id,i=g(n,ge),!(c=n)){e.n=2;break}return e.n=1,Object(h.f)(n);case 1:c=e.v;case 2:if(a=b(r=c),!(u=n&&a&&a.id_luogo)){e.n=4;break}return e.n=3,Object(h.j)({id:a.id_luogo}).then((function(e){return e&&e.ldc&&e.ldc}));case 3:u=e.v;case 4:return l=u,e.a(2,{seo:i,id:n,comitato:r,initialValues:a,relatedPlace:l})}}),e)})));return function(t){return e.apply(this,arguments)}}()}])}(d.a.Component),ve=Object(f.a)({header:{hasCustomHeader:!0,headerType:"ldc"}})(be);t.default=ve},Qevp:function(e,t,o){"use strict";var n=o("rieb");t.a=function(e){var t=e.getIn;return function(e,o){return function(n){var i=o||function(e){return t(e,"form")};return t(i(n),e+".values")}}}(n.a)},SjgO:function(e,t,o){"use strict";var n=o("ERkP"),i=o.n(n),r=o("j/s1"),a=i.a.createElement;t.a=function(e){return a(l,null,e&&e.title&&a(c,null,e.title),e&&e.subtitle&&a(u,null,e.subtitle))};var l=r.d.div.withConfig({displayName:"DropdownItem__Item",componentId:"sc-1yoc0kx-0"})([""]),c=r.d.div.withConfig({displayName:"DropdownItem__ItemTitolo",componentId:"sc-1yoc0kx-1"})(["font-weight:600;text-transform:lowercase;font-family:",";&:first-letter{text-transform:capitalize;}"],(function(e){return e.theme.fonts.serif})),u=r.d.div.withConfig({displayName:"DropdownItem__ItemSubtitle",componentId:"sc-1yoc0kx-2"})(["font-size:0.75rem;"])},a6XB:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ldc/addComitato",function(){return o("7BIe")}])}},[["a6XB",1,0,5,7,3,2,6,4,8,9,10,11,13,12,15,14,16,18,28,30]]]);

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.