PageSourceSearch

https://www.ilrestodelcarlino.it/_next/static/chunks/9447-dcf8e4c17690836e.js

js ilrestodelcarlino.it collected 2026-10-01 10:28:50 UTC 14,902 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9447],{9447:function(e,t,i){i.r(t),i.d(t,{__N_SSP:function(){return m}});var a=i(11527),o=i(50959),n=i(51214),s=i(41447),r=i(80240),l=i(69163),c=i(81535),d=i(51195),u=i(15637),m=!0;t.default=()=>{let[e,t]=(0,o.useState)(n.QuizState.INTRO),[i,m]=(0,o.useState)(0),[x,p]=(0,o.useState)(0),[b,f]=(0,o.useState)(0),[h,g]=(0,o.useState)(0),[v,j]=(0,o.useState)(null),[w,N]=(0,o.useState)(null),[S,z]=(0,o.useState)(0),k=(0,o.useCallback)(()=>{t(n.QuizState.QUIZ),m(0),p(0),f(0),g(0),j(Date.now()),N(null),z(0),(0,u.dispatchQuizEvent)({quiz_id:"euroquiz",quiz_title:"Sei un vero europeista?",event:"quiz_start",quiz_total_questions:s.questions.length}),window.scrollTo({top:0,behavior:"smooth"})},[]),C=(0,o.useCallback)((e,i)=>{m(t=>t+e),"wrong"===i?f(e=>e+1):"skipped"===i&&g(e=>e+1),x<s.questions.length-1?p(e=>e+1):(null!==v&&z(Math.round((Date.now()-v)/1e3)),N(new Date().toISOString()),t(n.QuizState.RESULT)),window.scrollTo({top:0,behavior:"smooth"})},[x,v]),y=(0,o.useMemo)(()=>r.profiles.find(e=>i>=e.minScore&&i<=e.maxScore)||r.profiles[r.profiles.length-1],[i]);return(0,a.jsx)("div",{className:"euroquiz-wrapper font-sans text-slate-900",style:{minHeight:"400px"},children:(0,a.jsx)("main",{className:"flex flex-col items-center justify-center w-full",children:(0,a.jsxs)("div",{className:"w-full max-w-2xl bg-white overflow-hidden",children:[e===n.QuizState.INTRO&&(0,a.jsx)(l.default,{onStart:k}),e===n.QuizState.QUIZ&&s.questions[x]&&(0,a.jsx)(c.default,{question:s.questions[x],totalQuestions:s.questions.length,currentIndex:x,onAnswer:C}),e===n.QuizState.RESULT&&(0,a.jsx)(d.default,{profile:y,score:i,wrongAnswers:b,skippedQuestions:h,timeTakenSeconds:S,completionDate:w||new Date().toISOString(),onRestart:k})]})})})}},69163:function(e,t,i){i.r(t),i.d(t,{__N_SSP:function(){return l}});var a=i(11527),o=i(94758),n=i.n(o),s=i(50959);let r=()=>{let[e,t]=s.useState(!1);return(0,a.jsx)("a",{href:"https://www.quotidiano.net/speciali/cohesion-challenge",className:"w-full flex justify-center mb-6 md:mb-8 px-2 md:px-4 cursor-pointer hover:opacity-90 transition-opacity",target:"_blank",rel:"noopener noreferrer",children:e?(0,a.jsx)("div",{className:"bg-brand-blue text-white px-6 py-3 md:px-8 rounded-2xl font-black text-lg md:text-xl uppercase tracking-tighter shadow-lg",children:"COHESION Challenge"}):(0,a.jsx)("img",{src:"/punti-di-vista/logo_challenge.png",alt:"Cohesion Challenge",className:"w-full max-w-[380px] md:max-w-[380px] h-auto object-contain drop-shadow-sm",onError:()=>t(!0)})})};var l=!0;t.default=e=>{let{onStart:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 p-6 text-center animate-in fade-in duration-700",children:[(0,a.jsx)(r,{}),(0,a.jsxs)("h1",{className:"jsx-1858cb76e8dfacb7 quiz-title",children:["Sei un vero europeista? ",(0,a.jsx)("br",{className:"jsx-1858cb76e8dfacb7 hidden xs:block"}),(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-brand-blue",children:"Scoprilo subito"})]}),(0,a.jsxs)("p",{className:"jsx-1858cb76e8dfacb7 text-base md:text-lg text-slate-500 mb-8 md:mb-10 max-w-lg mx-auto leading-relaxed",children:["3 minuti per capire quanto conosci davvero la politica di coesione e l'inclusione sociale. ",(0,a.jsx)("strong",{className:"jsx-1858cb76e8dfacb7",children:"Sfida te stesso."})]}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 mb-10 md:mb-12 text-sm",children:[(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-row sm:flex-col items-center justify-start sm:justify-center gap-3 sm:gap-0 p-4 sm:p-5 bg-slate-50 rounded-2xl md:rounded-3xl border border-slate-100 shadow-sm transition-all duration-300",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-xl md:text-2xl sm:mb-2",children:"⏱️"}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-col sm:items-center",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 font-bold text-slate-800",children:"3 Minuti"}),(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-[9px] md:text-[10px] uppercase font-black tracking-widest opacity-40",children:"Tempo stimato"})]})]}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-row sm:flex-col items-center justify-start sm:justify-center gap-3 sm:gap-0 p-4 sm:p-5 bg-slate-50 rounded-2xl md:rounded-3xl border border-slate-100 shadow-sm transition-all duration-300",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-xl md:text-2xl sm:mb-2",children:"\uD83D\uDCCB"}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-col sm:items-center",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 font-bold text-slate-800",children:"5 Domande"}),(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-[9px] md:text-[10px] uppercase font-black tracking-widest opacity-40",children:"Mirate"})]})]}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-row sm:flex-col items-center justify-start sm:justify-center gap-3 sm:gap-0 p-4 sm:p-5 bg-slate-50 rounded-2xl md:rounded-3xl border border-slate-100 shadow-sm transition-all duration-300",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-xl md:text-2xl sm:mb-2",children:"\uD83C\uDFAF"}),(0,a.jsxs)("div",{className:"jsx-1858cb76e8dfacb7 flex flex-col sm:items-center",children:[(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 font-bold text-slate-800",children:"Profilo Unico"}),(0,a.jsx)("span",{className:"jsx-1858cb76e8dfacb7 text-[9px] md:text-[10px] uppercase font-black tracking-widest opacity-40",children:"Analisi finale"})]})]})]}),(0,a.jsx)("button",{onClick:t,className:"jsx-1858cb76e8dfacb7 w-full md:w-auto px-10 md:px-16 py-4 md:py-5 bg-brand-blue hover:bg-brand-blue-hover text-white font-black text-base md:text-lg rounded-xl md:rounded-2xl transition-all transform hover:scale-[1.02] shadow-xl shadow-brand-blue/20 active:scale-95 uppercase tracking-wider",children:"Inizia la Sfida"}),(0,a.jsx)("div",{className:"jsx-1858cb76e8dfacb7 mt-10 md:mt-12 pt-6 md:pt-8 border-t border-slate-100",children:(0,a.jsx)("p",{className:"jsx-1858cb76e8dfacb7 text-[8px] md:text-[9px] text-slate-400 uppercase tracking-[0.15em] md:tracking-[0.2em] font-black leading-relaxed",children:"Un'iniziativa cofinanziata dall'Unione Europea nell'ambito della Politica di Coesione"})})]}),(0,a.jsx)(n(),{id:"1858cb76e8dfacb7",children:".quiz-title{font-size:2.5rem;line-height:1.1;margin-bottom:20px;font-weight:800}"})]})}},81535:function(e,t,i){i.r(t),i.d(t,{__N_SSP:function(){return s}});
1var a=i(11527),o=i(50959),n=i(15637),s=!0;t.default=e=>{var t,i;let{question:s,currentIndex:r,totalQuestions:l,onAnswer:c}=e,[d,u]=(0,o.useState)(null),[m,x]=(0,o.useState)(!1);if(!s)return null;let p=r/l*100,b=null==s?void 0:null===(t=s.choices)||void 0===t?void 0:t.some(e=>e.isCorrect),f=e=>{var t;if(m)return;u(e);let i=null==s?void 0:null===(t=s.choices)||void 0===t?void 0:t.find(t=>t.id===e);if(!i)return;(null==s?void 0:s.explanation)&&b?x(!0):x(!1);let a=!b||!!i.isCorrect;(0,n.dispatchQuizEvent)({quiz_id:"euroquiz",quiz_title:"Sei un vero europeista?",event:"quiz_answer",question_id:s.id.toString(),question_text:s.explanation||"",question_number:r+1,answer_given:i.id.toString(),is_correct:a,answer_status:b?a?"correct":"wrong":"skipped"})},h=()=>{var e;let t=null==s?void 0:null===(e=s.choices)||void 0===e?void 0:e.find(e=>e.id===d);if(t){let e=!b||!!t.isCorrect;c(t.points,b?e?"correct":"wrong":"skipped"),u(null),x(!1)}};return(0,a.jsxs)("div",{className:"flex flex-col min-h-[480px] md:min-h-[550px]",children:[(0,a.jsx)("div",{className:"bg-slate-100 h-1.5 md:h-2 w-full",children:(0,a.jsx)("div",{className:"bg-brand-blue h-full transition-all duration-700 ease-out",style:{width:"".concat(p,"%")}})}),(0,a.jsxs)("div",{className:"p-5 md:p-10 flex-grow flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-4 md:mb-6 flex justify-between items-center",children:[(0,a.jsx)("span",{className:"px-2.5 py-0.5 bg-brand-blue-light text-brand-blue text-[9px] md:text-[10px] font-extrabold rounded-full uppercase tracking-widest border border-brand-blue/10",children:null==s?void 0:s.theme}),(0,a.jsxs)("p",{className:"text-slate-400 text-[10px] md:text-xs font-bold uppercase tracking-tighter",children:[r+1," / ",l]})]}),(0,a.jsx)("h2",{className:"text-lg md:text-2xl font-bold text-slate-800 mb-6 md:mb-8 leading-snug",children:null==s?void 0:s.text}),(0,a.jsx)("div",{className:"space-y-2.5 md:space-y-3 mb-6 md:mb-8",children:null==s?void 0:null===(i=s.choices)||void 0===i?void 0:i.map(e=>(0,a.jsxs)("button",{onClick:()=>f(e.id),disabled:m,className:"w-full text-left p-3.5 md:p-4 rounded-xl border-2 transition-all flex items-center gap-3 md:gap-4 ".concat(d===e.id?"border-brand-blue bg-brand-blue-light text-brand-blue shadow-sm":"border-slate-100 hover:border-slate-200 hover:bg-slate-50 text-slate-700"," ").concat(m&&!e.isCorrect&&d!==e.id?"opacity-40 grayscale-[0.5]":""," ").concat(m&&e.isCorrect?"border-green-500 bg-green-50 !opacity-100":""," ").concat(m&&!e.isCorrect&&d===e.id?"border-red-500 bg-red-50":""),children:[(0,a.jsx)("div",{className:"w-7 h-7 md:w-8 md:h-8 flex-shrink-0 rounded-lg flex items-center justify-center font-bold text-xs md:text-sm ".concat(d===e.id?!1===e.isCorrect&&m?"bg-red-500 text-white":"bg-brand-blue text-white":e.isCorrect&&m?"bg-green-500 text-white":"bg-slate-100 text-slate-500"),children:e.id.toUpperCase()}),(0,a.jsx)("span",{className:"font-semibold text-xs md:text-base leading-tight md:leading-normal",children:e.text}),m&&e.isCorrect&&(0,a.jsx)("span",{className:"ml-auto text-green-600 font-bold shrink-0",children:"✓"}),m&&!e.isCorrect&&d===e.id&&(0,a.jsx)("span",{className:"ml-auto text-red-600 font-bold shrink-0",children:"✕"})]},e.id))}),d&&!m&&(0,a.jsx)("button",{onClick:h,className:"mt-4 md:mt-6 w-full py-3.5 md:py-4 bg-brand-blue text-white rounded-xl font-black text-xs md:text-sm uppercase tracking-widest shadow-lg shadow-brand-blue/20 hover:bg-brand-blue-hover transition-all active:scale-95",children:"Continua la sfida"}),m&&(0,a.jsxs)("div",{className:"mt-auto p-5 md:p-6 bg-blue-50 border border-blue-200 rounded-2xl md:rounded-3xl mb-4 animate-in fade-in slide-in-from-bottom-2 duration-300 shadow-sm",children:[(0,a.jsxs)("p",{className:"text-xs md:text-sm text-blue-900 leading-relaxed",children:[(0,a.jsx)("span",{className:"font-black text-[10px] md:text-xs uppercase tracking-widest text-brand-blue block mb-1.5 md:mb-2",children:"\uD83D\uDCA1 Lo sapevi che?"}),null==s?void 0:s.explanation]}),(0,a.jsx)("button",{onClick:h,className:"mt-4 md:mt-6 w-full py-3.5 md:py-4 bg-brand-blue text-white rounded-xl font-black text-xs md:text-sm uppercase tracking-widest shadow-lg shadow-brand-blue/20 hover:bg-brand-blue-hover transition-all active:scale-95",children:"Continua la sfida"})]})]})]})}},80240:function(e,t,i){i.r(t),i.d(t,{__N_SSP:function(){return a},default:function(){return n},profiles:function(){return o}});var a=!0;let o=[{minScore:9,maxScore:10,title:"L'Europeo consapevole",icon:"\uD83C\uDF1F",color:"bg-yellow-100 border-yellow-400 text-yellow-800",description:"Congratulazioni! Sei un vero europeo consapevole. Conosci i numeri, le opportunit\xe0 e il valore della Politica di Coesione. Non sei un ingenuo entusiasta dell'UE, ma nemmeno uno scettico sterile: sai che l'Europa funziona meglio quando i cittadini capiscono come, e tu sei tra questi. Il tuo territorio ti deve dire grazie: persone come te difendono davvero i diritti acquisiti.",personalizedMessage:"Non ti accontenti di facili slogan. Approfondisci, confronti i fatti con le opinioni, e sai che l'UE \xe8 complicata ma necessaria. Prosegui cos\xec!"},{minScore:6.5,maxScore:8.9,title:"Il pragmatico europeo",icon:"\uD83D\uDCA1",color:"bg-blue-100 border-blue-400 text-blue-800",de
1scription:"Sei un pragmatico europeo: non canti l'Inno alla Gioia tutte le mattine, ma riconosci che l'Unione funziona quando investe nei giusti settori. Conosci abbastanza per capire che critiche e controversie spesso nascondono ignoranza di chi non sa come funzionano veramente i fondi. Il tuo scetticismo costruttivo \xe8 prezioso per l'UE: l'Europa ha bisogno di gente che la migliori, non solo che l'applaudisca.",personalizedMessage:"Non sei ingenuo, ma sei consapevole. Continua a fare domande e a pretendere trasparenza. Questa \xe8 la vera cittadinanza europea."},{minScore:4.5,maxScore:6.4,title:"L'europeista in costruzione",icon:"\uD83D\uDD28",color:"bg-orange-100 border-orange-400 text-orange-800",description:"Sei in una fase di 'costruzione europea': hai le fondamenta giuste, ma c'\xe8 ancora tanto da scoprire. Non sei un ignorante (gli ignoranti non si fanno il quiz), ma nemmeno un esperto. \xc8 il momento giusto per approfondire: l'UE ha bisogno di persone che imparano e crescono come te. Con un po' di curiosit\xe0 in pi\xf9, diventerai un vero sostenitore consapevole della coesione europea.",personalizedMessage:"Non \xe8 male iniziare il viaggio. Leggi i nostri articoli su come la Coesione cambia il tuo territorio: scoprirai cose che non immaginavi."},{minScore:3.5,maxScore:4.4,title:"Lo scettico stimolato",icon:"⚡",color:"bg-purple-100 border-purple-400 text-purple-800",description:"Titolo onesto: sei scettico verso l'UE, e non \xe8 grave. Molti europei lo sono. Ma quello che ci sorprende \xe8 che hai fatto il quiz: questo significa che una parte di te \xe8 curiosa, anche se dubbiosa. Lo scetticismo costruttivo \xe8 sano, se basato su fatti. Ecco il nostro invito: prima di criticare ulteriormente, scopri come i fondi europei hanno effettivamente trasformato il tuo territorio. Poi, se ancora non ti convince, almeno lo farai con cognizione di causa.",personalizedMessage:"Non ti chiediamo di diventare un fan sfegatato dell'UE. Ti chiediamo solo di verificare i fatti prima di giudicare. Leggere storie vere sul tuo territorio potrebbe cambiarti idea."},{minScore:0,maxScore:3.4,title:"L'ignaro europeo",icon:"\uD83E\uDD37",color:"bg-gray-100 border-gray-400 text-gray-800",description:"Sei l'ignaro europeo: non \xe8 una critica, \xe8 un fatto. Probabilmente non sei neanche particolarmente interessato alle politiche dell'UE (e va bene, non tutti devono esserlo). Per\xf2 vivi in un'Europa che finanzia strade, scuole, startup, programmi di inclusione nel tuo territorio, e tu non lo sai. Il nostro consiglio: scopri come prima di criticarla. Potrebbe sorprenderti.",personalizedMessage:"Non sentirti in colpa: con il caos dei media, \xe8 facile perdere di vista l'Europa. Ma curiosit\xe0 a costo zero \xe8 disponibile. Dai una chance ai nostri contenuti."}];function n(){return null}},51214:function(e,t,i){i.r(t),i.d(t,{QuizState:function(){return o},__N_SSP:function(){return n},default:function(){return s}});var a,o,n=!0;function s(){return null}(a=o||(o={})).INTRO="INTRO",a.QUIZ="QUIZ",a.RESULT="RESULT"}}]);

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.