1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[66],{F0fO:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ldc/emailConfirmation",function(){return n("OSZV")}])},MJc2:function(t,e,n){var r=n("KEM+");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var i=n("ERkP"),c=n("8cHP").Link;t.exports=function(t){return i.createElement(t.route?c:"a",a(a({},t),{},{href:t.route||t.to||""}),t.children)}},OSZV:function(t,e,n){"use strict";n.r(e);var r=n("QsI/"),o=n("9fIP"),a=n("MMYH"),i=n("K/z8"),c=n("sRHE"),u=n("8K1b"),l=n("ERkP"),s=n.n(l),f=n("j/s1"),p=n("QtE3"),d=n("uPMs"),h=n("Lm5w"),v=n("pqH2"),b=s.a.createElement;function y(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof c?r:c,l=Object.create(u.prototype);return m(l,"_invoke",function(n,r,o){var a,c,u,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(e,n){return a=e,c=0,u=t,p.n=n,i}};function d(n,r){for(c=n,u=r,e=0;!f&&l&&!o&&e<s.length;e++){var o,a=s[e],d=p.p,h=a[2];n>3?(o=h===r)&&(u=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=t):a[0]<=d&&((o=n<2&&d<a[1])?(c=0,p.v=r,p.n=a[1]):d<h&&(o=n<3||a[0]>r||r>h)&&(a[4]=n,a[5]=r,p.n=h,c=0))}if(o||n>1)return i;throw f=!0,r}return function(o,s,h){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&d(s,h),c=s,u=h;(e=c<2?t:u)||!f;){a||(c?c<3?(c>1&&(p.n=-1),d(c,u)):p.n=u:p.v=u);try{if(l=2,a){if(c||(o="next"),e=a[o]){if(!(e=e.call(a,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,c<2&&(c=0)}else 1===c&&(e=a.return)&&e.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=t}else if((e=(f=p.n<0)?u:n.call(r,p))!==i)break}catch(e){a=t,c=1,u=e}finally{l=1}}return{value:e,done:f}}}(n,o,a),!0),l}var i={};function c(){}function u(){}function l(){}e=Object.getPrototypeOf;var s=[][r]?e(e([][r]())):(m(e={},r,(function(){return this})),e),f=l.prototype=c.prototype=Object.create(s);function p(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,m(t,o,"GeneratorFunction")),t.prototype=Object.create(f),t}return u.prototype=l,m(f,"constructor",l),m(l,"constructor",u),u.displayName="GeneratorFunction",m(l,o,"GeneratorFunction"),m(f),m(f,o,"Generator"),m(f,r,(function(){return this})),m(f,"toString",(function(){return"[object Generator]"})),(y=function(){return{w:a,m:p}})()}function m(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}(m=function(t,e,n,r){function a(e,n){m(t,e,(function(t){return this._invoke(e,n,t)}))}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))})(t,e,n,r)}function O(t,e,n){return e=Object(c.a)(e),Object(i.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,n||[],Object(c.a)(t).constructor):e.apply(t,n))}var w={expired_token:"Il link di conferma \xe8 scaduto. Torna alla pagina del luogo che hai votato e richiedi un nuovo invio dell'email.",invalid_token:"Il link di conferma non \xe8 pi\xf9 valido. Torna alla pagina del luogo che hai votato e richiedi un nuovo invio dell'email.",user_not_found:"Non abbiamo trovato il tuo voto. Torna alla pagina del luogo e ripeti la votazione.",unknown:"E' stato riscontrato un errore nella conferma della tua email. Riprova pi\xf9 tardi."},g=function(t){function e(){var t;return Object(o.a)(this,e),(t=O(this,e)).state={status:null},t}
1return Object(u.a)(e,t),Object(a.a)(e,[{key:"componentDidMount",value:function(){var t=Object(r.a)(y().m((function t(){var e,n,r;return y().w((function(t){for(;;)switch(t.n){case 0:if(e=this.props.result,!(e&&e.ok)){t.n=1;break}return window.location.href="/il-fai/grandi-campagne/i-luoghi-del-cuore/grazie-per-aver-votato",this.setState({status:"Reindirizzamento in corso..."}),t.a(2);case 1:n=e&&e.reason||"unknown",r=w[n]||w.unknown,this.setState({status:r});case 2:return t.a(2)}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this.state.status;return b(d.a,{seo:this.props.seo,hasFasciaGrazie:!0,hasFasciaNLApp:!0,hasFasciaSupporto:!0},b(p.Background,{color:"white"},b(p.Padder,{size:"medium"},b(j,null,b("h4",null,null!==t?t:"Validazione e-mail in corso...")))))}}],[{key:"getInitialProps",value:function(){var t=Object(r.a)(y().m((function t(e){var n,r,o,a;return y().w((function(t){for(;;)switch(t.n){case 0:return n=e.query,r=n.email,o=n.token,t.n=1,Object(v.b)({email:r,token:o});case 1:return a=t.v,t.a(2,{result:a})}}),t)})));return function(e){return t.apply(this,arguments)}}()}])}(s.a.Component),j=f.d.div.withConfig({displayName:"EmailConfirmation__EmailValidationBody",componentId:"sc-1rhi1zg-0"})(["width:100%;margin-top:5rem;margin-bottom:2.5rem;text-align:center;"]),k=Object(h.a)({header:{hasCustomHeader:!0,headerType:"ldc"}})(g);e.default=k}},[["F0fO",1,0,5,7,3,2,6,4,8,9,10,11,13,12,15,14,16]]]);
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.