@graffico/legal 0.3.11 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import{createContext as pt,useContext as ke,useEffect as we,useMemo as gt}from"react";var J={it:{legal:"Legal",lastUpdated:"Ultima modifica",email:"Email",vat:"P.IVA",generatedBy:"Generato professionalmente da",bannerTitle:"Informativa sui Cookie",bannerDescription:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalit\xE0 tecniche e, con il tuo consenso, anche per le finalit\xE0 di ",bannerDescriptionMeasurement:"misurazione",bannerDescriptionEnd:" come specificato nella ",cookiePolicyLink:"cookie policy",decline:"Rifiuta",customize:"Personalizza",accept:"Accetta",close:"Chiudi",preferencesTitle:"Preferenze Privacy",preferencesSubtitle:"Personalizza come trattiamo i tuoi dati",preferencesDescription:'Questo pannello ti permette di esprimere alcune preferenze relative al trattamento delle tue informazioni personali. Puoi rivedere e modificare le tue scelte in qualsiasi momento. Per rifiutare il tuo consenso alle attivit\xE0 di trattamento descritte di seguito, disattiva i singoli comandi o utilizza il pulsante "Rifiuta tutto".',necessaryTitle:"Strettamente necessari",necessaryDescription:"Questi strumenti sono richiesti per le funzionalit\xE0 base del sito e non possono essere disattivati.",measurementTitle:"Misurazione",measurementDescription:"Ci permettono di misurare il traffico e analizzare il tuo comportamento per migliorare il servizio.",marketingTitle:"Marketing e Profilazione",marketingDescription:"Utilizzati per inviarti comunicazioni commerciali personalizzate in base ai tuoi interessi.",consentId:"IDC (Consent ID)",consentDate:"Data Consenso",consentPolicyVersion:"Versione policy",consentSource:"Origine",legalProofDescription:"Questi identificativi fungono da prova legale del tuo consenso secondo le linee guida GDPR. Puoi richiederne la cancellazione in qualsiasi momento.",consentCheckboxLabel:"Acconsento al trattamento dei miei dati personali per la gestione della richiesta come descritto nella",privacyPolicyLink:"privacy policy",declineAll:"Rifiuta tutto",saveAndContinue:"Salva e continua",acceptAll:"Accetta tutto",monitorTitle:"Monitoraggio e Stats",supportTitle:"Supporto e Feedback",privacyPreferences:"Preferenze Privacy",privacyPolicyTitle:"Privacy Policy di",privacyWelcome:"Benvenuto nella privacy policy di",privacyIntro:"Questa policy ti aiuter\xE0 a comprendere quali dati raccogliamo, perch\xE9 li raccogliamo e quali sono i tuoi diritti in merito.",ownerTitle:"Titolare del Trattamento dei Dati",dataSummaryTitle:"Riepilogo dei Dati",automaticDataTitle:"Dati raccolti automaticamente",automaticDataDescription:"Raccogliamo automaticamente i tuoi dati, ad esempio quando visiti ",automaticDataIncludes:". Include: indirizzo IP, Dati di utilizzo, Strumenti di Tracciamento, numero di Utenti, statistiche delle sessioni, identificativi del dispositivo (user-agent, lingua, fuso orario).",providedDataTitle:"Dati forniti dall'Utente",providedDataDescription:"Raccogliamo i dati che ci fornisci, ad esempio quando compili un modulo di contatto. Include: nome, email.",treatmentDetailsTitle:"Dettagli sul trattamento dei Dati Personali",treatmentDetailsDescription:"Di seguito sono riportati i dettagli sulle modalit\xE0 di raccolta dei dati e i servizi di terze parti che utilizziamo.",modeAndPlaceTitle:"Modalit\xE0 e luogo del trattamento",modeDescription:"Il Titolare adotta le opportune misure di sicurezza volte ad impedire l'accesso, la divulgazione, la modifica o la distruzione non autorizzate dei Dati Personali. Il trattamento viene effettuato mediante strumenti informatici e/o telematici, con modalit\xE0 organizzative e con logiche strettamente correlate alle finalit\xE0 indicate.",placeDescription:"I Dati sono trattati presso le sedi operative del Titolare ed in ogni altro luogo in cui le parti coinvolte nel trattamento siano localizzate. Se non diversamente indicato, i Dati Personali sono trattati e conservati per il tempo richiesto dalla finalit\xE0 per la quale sono stati raccolti.",rightsTitle:"I tuoi Diritti (GDPR)",right1:"Revocare il consenso in ogni momento",right2:"Opporsi al trattamento dei propri Dati",right3:"Accedere ai propri Dati",right4:"Verificare e chiedere la rettificazione",right5:"Ottenere la limitazione del trattamento",right6:"Ottenere la cancellazione o rimozione",right7:"Ricevere i propri Dati o farli trasferire ad altro titolare",right8:"Proporre reclamo all'Autorit\xE0 di controllo (Garante)",howToExerciseRights:"Come esercitare i diritti",exerciseRightsDescription:"Le richieste vanno indirizzate ai recapiti del Titolare indicati in questo documento. La richiesta \xE8 gratuita e risponderemo nel pi\xF9 breve tempo possibile.",supervisoryAuthorityTitle:"Autorit\xE0 di controllo",supervisoryAuthorityIntro:"Ai sensi degli artt. 13.2.d e 77 GDPR, l'interessato ha diritto di proporre reclamo all'autorit\xE0 di controllo competente qualora ritenga che il trattamento dei propri dati personali violi la normativa vigente.",supervisoryAuthorityName:"Garante per la Protezione dei Dati Personali",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Roma (Italia)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Sede",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Sito web",definitionsTitle:"Definizioni e riferimenti legali",personalDataTitle:"Dati Personali",personalDataDescription:"Qualunque informazione che, direttamente o indirettamente, renda identificata o identificabile una persona fisica.",usageDataTitle:"Dati di Utilizzo",usageDataDescription:"Informazioni raccolte automaticamente attraverso questa Applicazione (es. indirizzi IP, orario della richiesta, browser utilizzato).",ownerDefinitionTitle:"Titolare del Trattamento",ownerDefinitionDescription:"La persona fisica o giuridica che determina le finalit\xE0 e i mezzi del trattamento di dati personali.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Piccole porzioni di dati conservate all'interno del browser dell'Utente.",processorsTitle:"Destinatari e responsabili esterni",processorsIntro:"I Dati Personali possono essere comunicati ai responsabili del trattamento elencati di seguito. Ciascun responsabile \xE8 stato selezionato per affidabilit\xE0 e adeguatezza delle garanzie tecniche e organizzative.",processorPurpose:"Finalit\xE0",processorCountry:"Sede",processorTransferBasis:"Base giuridica trasferimento",processorPrivacyPolicy:"Privacy policy",unitedStates:"Stati Uniti",ireland:"Irlanda",malta:"Malta",france:"Francia",italy:"Italia",siteHostingAndCdn:"Hosting e CDN del sito.",contactFormTransmission:"Trasmissione form contatti",contactFormTransmissionSmtp:"Trasmissione form contatti tramite SMTP",analyticsAdsTagFonts:"Analytics 4, Ads, Tag Manager, Fonts",metaPixelConversionApi:"Meta Pixel, Conversion API",sessionRecordingHeatmap:"Session recording, heatmap",fraudPrevention:"Prevenzione frodi",paymentSession:"Sessione di pagamento",transfersTitle:"Trasferimenti di Dati Personali fuori dall'Unione Europea",transfersDescription:"Alcuni dei responsabili esterni hanno sede al di fuori dello Spazio Economico Europeo. I trasferimenti avvengono sulla base di decisioni di adeguatezza (es. EU-US Data Privacy Framework) o di Clausole Contrattuali Tipo (SCC 2021/914) adottate dalla Commissione Europea, integrate da misure supplementari ove necessarie. L'Utente pu\xF2 richiedere copia delle garanzie scrivendo al Titolare.",retentionTitle:"Conservazione dei Dati",retentionIntro:"I Dati Personali sono conservati per il tempo strettamente necessario alle finalit\xE0 per cui sono stati raccolti.",retentionContactForms:"Form di contatto",retentionAnalytics:"Dati analitici",retentionMarketing:"Dati di marketing",retentionUntilCancellation:"Fino a richiesta di cancellazione",dpoTitle:"Responsabile della Protezione dei Dati (DPO)",dpoIntro:"L'Utente pu\xF2 contattare il DPO per qualsiasi questione relativa al trattamento dei propri Dati Personali e all'esercizio dei diritti GDPR.",dpoPhone:"Telefono",policyVersionLabel:"Versione",lawfulBasisTitle:"Basi giuridiche del trattamento",lawfulBasisIntro:"Ciascuna finalit\xE0 di trattamento poggia su una specifica base giuridica ex art. 6 GDPR. Di seguito la mappatura dichiarata dal Titolare.",lawfulBasisContract:"Esecuzione di un contratto o misure precontrattuali (art. 6.1.b GDPR)",lawfulBasisConsent:"Consenso espresso dell'interessato (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legittimo interesse del Titolare (art. 6.1.f GDPR) \u2014 es. sicurezza del sito, prevenzione frodi, statistiche aggregate",lawfulBasisLegalObligation:"Adempimento di un obbligo di legge (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Tutela degli interessi vitali dell'interessato (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Esecuzione di un compito di interesse pubblico (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Base giuridica non dichiarata per questo servizio",profilingTitle:"Processi decisionali automatizzati e profilazione",profilingDeclaredYes:"Il Titolare effettua trattamenti che includono processi decisionali automatizzati e/o profilazione ai sensi dell'art. 22 GDPR. L'interessato ha diritto a ottenere intervento umano, esprimere la propria opinione e contestare la decisione. Per dettagli su logica, importanza e conseguenze previste, contattare il Titolare ai recapiti indicati.",profilingDeclaredNo:"Il Titolare non effettua processi decisionali automatizzati n\xE9 profilazione che producano effetti giuridici sull'interessato o che incidano significativamente sulla sua persona, ai sensi dell'art. 22 GDPR. Eventuali strumenti di analisi (es. Google Analytics, Meta Pixel) sono utilizzati per misurazione aggregata e non per decisioni automatizzate individuali.",cookieTableTitle:"Elenco dettagliato dei Cookie e degli identificatori",cookieTableIntro:"Di seguito i cookie e gli identificatori utilizzati da ciascun servizio, con finalit\xE0, durata e categoria. La lista \xE8 esaustiva per i servizi attivi sull'Applicazione al momento della pubblicazione di questa policy.",cookieTableName:"Nome",cookieTableProvider:"Fornitore",cookieTablePurpose:"Finalit\xE0",cookieTableDuration:"Durata",cookieTableType:"Tipologia",cookieTypeTechnical:"Tecnico",cookieTypeStatistical:"Statistico",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profilazione",cookieTableNoneDeclared:"Per questo servizio non sono dichiarati cookie nominali (pu\xF2 utilizzare identificatori dinamici o LocalStorage).",marketingConsentLabel:"Acconsento a ricevere comunicazioni commerciali e di marketing (newsletter, offerte) ex art. 6.1.a GDPR. Posso revocare il consenso in qualunque momento scrivendo a",cookiePolicyTitle:"Cookie Policy di",cookieWelcome:"Benvenuto nella cookie policy di",cookieIntro:"Questa policy ti aiuter\xE0 a comprendere quali cookie e tecnologie di tracciamento utilizziamo, come li utilizziamo e quali sono i tuoi diritti in merito.",introduction:"Introduzione",introDescription1:"Questo documento contiene informazioni in merito alle tecnologie che consentono a questa Applicazione di raggiungere gli scopi descritti di seguito. Tali tecnologie permettono al Titolare di raccogliere e salvare informazioni (per esempio tramite l'utilizzo di Cookie) o di utilizzare risorse (per esempio eseguendo uno script).",introDescription2:"Per semplicit\xE0, in questo documento tali tecnologie sono sinteticamente definite \u201CStrumenti di Tracciamento\u201D. Alcune delle finalit\xE0 per le quali vengono impiegati potrebbero richiedere il consenso dell'Utente.",usageTrackingTitle:"Utilizzo degli Strumenti di Tracciamento",usageTrackingDescription:"Questa Applicazione utilizza Strumenti di Tracciamento per svolere attivit\xE0 che sono strettamente necessarie a garantire il funzionamento e per misurare il traffico tramite analisi.",managePreferencesTitle:"Come gestire le preferenze",managePreferencesDescription1:"Qualora l'utilizzo dei Tracker sia basato sul consenso, l'Utente pu\xF2 fornire o revocare tale consenso impostando o aggiornando le proprie preferenze tramite il relativo pannello delle scelte in materia di privacy disponibile su questa Applicazione.",managePreferencesDescription2:"Gli Utenti possono inoltre utilizzare le impostazioni del proprio browser per vedere quali Cookie sono stati installati, bloccarli o cancellarli. Tuttavia, le impostazioni del browser non consentono un controllo granulare del consenso per categoria.",preferenceCenterTitle:"Centro Preferenze",preferenceCenterDescription:"Puoi gestire i tuoi consensi in modo granulare o resettare completamente le tue impostazioni per visualizzare nuovamente il banner iniziale.",managePreferencesButton:"Gestisci preferenze",resetBannerButton:"Resetta e riapri banner",fullPrivacyPolicyLink:"Privacy Policy Completa",browserInfo:"Info Browser",browserSettingsTitle:"Impostazioni Browser",browserSettingsDescription:"I cookie possono essere gestiti anche tramite le impostazioni del tuo browser (Chrome, Safari, Firefox, ecc.) per un controllo totale sulla privacy e sulla conservazione dei dati.",trackingToolTitle:"Strumento di Tracciamento",trackingToolDescription:"Qualsiasi tecnologia \u2014 es. Cookie, identificativi univoci, web beacons \u2014 che consenta di tracciare gli Utenti, raccogliendo o salvando informazioni sul dispositivo.",dataSubjectTitle:"Interessato",dataSubjectDescription:"La persona fisica cui si riferiscono i Dati Personali.",purposes:"Finalit\xE0",dataCollected:"Dati raccolti",statistics:"Statistica",optimization:"Ottimizzazione",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Analisi del comportamento",sessionScreencast:"Screencast sessione",usageData:"Dati di utilizzo",trackingTools:"Strumenti di Tracciamento",tagManagement:"Gestione dei tag",userDatabaseManagement:"Gestione database Utenti",sendingMessages:"Invio messaggi",name:"Nome",surname:"Cognome",paymentManagement:"Gestione dei pagamenti",variousDataAsSpecified:"Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio",externalContent:"Visualizzazione di contenuti da piattaforme esterne",geographicPosition:"Posizione geografica",contactUser:"Contattare l'utente",requestManagement:"Gestione richieste",variousData:"Dati vari",contentDisplay:"Visualizzazione dei contenuti",variousDataTypes:"Varie tipologie di Dati",contactForm:"Modulo di contatto",youtubeWidget:"Widget Video YouTube",googleMapsWidget:"Widget Google Maps",noActiveService:"Nessun servizio attivo"},en:{legal:"Legal",lastUpdated:"Last modified",email:"Email",vat:"VAT",generatedBy:"Professionally generated by",bannerTitle:"Cookie Policy",bannerDescription:"We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, also for the purposes of ",bannerDescriptionMeasurement:"measurement",bannerDescriptionEnd:" as specified in the ",cookiePolicyLink:"cookie policy",decline:"Refuse",customize:"Customize",accept:"Accept",close:"Close",preferencesTitle:"Privacy Preferences",preferencesSubtitle:"Customize how we process your data",preferencesDescription:'This panel allows you to express certain preferences regarding the processing of your personal information. You can review and modify your choices at any time. To refuse your consent to the processing activities described below, disable the individual controls or use the "Refuse all" button.',necessaryTitle:"Strictly necessary",necessaryDescription:"These tools are required for the basic functionality of the site and cannot be disabled.",measurementTitle:"Measurement",measurementDescription:"They allow us to measure traffic and analyze your behavior to improve the service.",marketingTitle:"Marketing and Profiling",marketingDescription:"Used to send you personalized marketing communications based on your interests.",consentId:"Consent ID",consentDate:"Consent Date",consentPolicyVersion:"Policy version",consentSource:"Source",legalProofDescription:"These identifiers serve as legal proof of your consent according to GDPR guidelines. You can request their deletion at any time.",consentCheckboxLabel:"I consent to the processing of my personal data for handling this request as described in the",privacyPolicyLink:"privacy policy",declineAll:"Refuse all",saveAndContinue:"Save and continue",acceptAll:"Accept all",monitorTitle:"Monitoring and Stats",supportTitle:"Support and Feedback",privacyPreferences:"Privacy Preferences",privacyPolicyTitle:"Privacy Policy of",privacyWelcome:"Welcome to the privacy policy of",privacyIntro:"This policy will help you understand what data we collect, why we collect it and what your rights are in this regard.",ownerTitle:"Data Controller",dataSummaryTitle:"Data Summary",automaticDataTitle:"Automatically collected data",automaticDataDescription:"We automatically collect your data, for example when you visit ",automaticDataIncludes:". Includes: IP address, Usage data, Tracking Tools, number of Users, session statistics, device identifiers (user-agent, language, timezone).",providedDataTitle:"Data provided by the User",providedDataDescription:"We collect the data you provide us, for example when you fill out a contact form. Includes: name, email.",treatmentDetailsTitle:"Details on the processing of Personal Data",treatmentDetailsDescription:"Below are details on how data is collected and the third-party services we use.",modeAndPlaceTitle:"Method and place of processing",modeDescription:"The Controller takes appropriate security measures to prevent unauthorized access, disclosure, modification or destruction of Personal Data. Processing is carried out using computers and/or IT enabled tools, with organizational methods and logic strictly related to the purposes indicated.",placeDescription:"The Data is processed at the Controller's operating offices and in any other places where the parties involved in the processing are located. Unless otherwise stated, Personal Data is processed and stored for the time required by the purpose for which it was collected.",rightsTitle:"Your Rights (GDPR)",right1:"Withdraw consent at any time",right2:"Object to the processing of your Data",right3:"Access your Data",right4:"Verify and seek rectification",right5:"Obtain restriction of processing",right6:"Obtain erasure or removal",right7:"Receive your Data or have it transferred to another controller",right8:"Lodge a complaint with the Supervisory Authority (Italian Garante)",howToExerciseRights:"How to exercise rights",exerciseRightsDescription:"Requests should be addressed to the Controller's contact details indicated in this document. The request is free of charge and we will respond as soon as possible.",supervisoryAuthorityTitle:"Supervisory Authority",supervisoryAuthorityIntro:"Pursuant to art. 13.2.d and 77 GDPR, the data subject has the right to lodge a complaint with the competent supervisory authority where they consider that the processing of their personal data infringes applicable law.",supervisoryAuthorityName:"Italian Data Protection Authority (Garante per la Protezione dei Dati Personali)",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Rome (Italy)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Address",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Website",definitionsTitle:"Definitions and legal references",personalDataTitle:"Personal Data",personalDataDescription:"Any information that, directly or indirectly, makes a natural person identified or identifiable.",usageDataTitle:"Usage Data",usageDataDescription:"Information collected automatically through this Application (e.g. IP addresses, time of request, browser used).",ownerDefinitionTitle:"Data Controller",ownerDefinitionDescription:"The natural or legal person who determines the purposes and means of the processing of personal data.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Small portions of data stored within the User's browser.",processorsTitle:"Recipients and external data processors",processorsIntro:"Personal Data may be shared with the data processors listed below. Each processor has been selected for reliability and adequacy of technical and organizational safeguards.",processorPurpose:"Purpose",processorCountry:"Location",processorTransferBasis:"Transfer legal basis",processorPrivacyPolicy:"Privacy policy",unitedStates:"United States",ireland:"Ireland",malta:"Malta",france:"France",italy:"Italy",siteHostingAndCdn:"Site hosting and CDN.",contactFormTransmission:"Contact form transmission",contactFormTransmissionSmtp:"Contact form transmission via SMTP",analyticsAdsTagFonts:"Analytics 4, Ads, Tag Manager, Fonts",metaPixelConversionApi:"Meta Pixel, Conversion API",sessionRecordingHeatmap:"Session recording, heatmap",fraudPrevention:"Fraud prevention",paymentSession:"Payment session",transfersTitle:"Transfers of Personal Data outside the European Union",transfersDescription:"Some external processors are based outside the European Economic Area. Transfers occur under adequacy decisions (e.g. EU-US Data Privacy Framework) or Standard Contractual Clauses (SCC 2021/914) adopted by the European Commission, supplemented by additional measures where needed. The User can request a copy of the safeguards by contacting the Controller.",retentionTitle:"Data Retention",retentionIntro:"Personal Data is kept only for the time strictly necessary to the purposes for which it was collected.",retentionContactForms:"Contact forms",retentionAnalytics:"Analytics data",retentionMarketing:"Marketing data",retentionUntilCancellation:"Until deletion request",dpoTitle:"Data Protection Officer (DPO)",dpoIntro:"The User can contact the DPO for any matter related to the processing of their Personal Data and the exercise of GDPR rights.",dpoPhone:"Phone",policyVersionLabel:"Version",lawfulBasisTitle:"Lawful bases of processing",lawfulBasisIntro:"Each processing purpose relies on a specific lawful basis pursuant to art. 6 GDPR. Below is the mapping declared by the Controller.",lawfulBasisContract:"Performance of a contract or pre-contractual measures (art. 6.1.b GDPR)",lawfulBasisConsent:"Explicit consent of the data subject (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legitimate interest of the Controller (art. 6.1.f GDPR) \u2014 e.g. site security, fraud prevention, aggregated statistics",lawfulBasisLegalObligation:"Compliance with a legal obligation (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Protection of vital interests of the data subject (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Performance of a task carried out in the public interest (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Lawful basis not declared for this service",profilingTitle:"Automated decision-making and profiling",profilingDeclaredYes:"The Controller carries out processing that includes automated decision-making and/or profiling pursuant to art. 22 GDPR. The data subject has the right to obtain human intervention, express their opinion and contest the decision. For details on logic, significance and envisaged consequences, contact the Controller at the addresses indicated.",profilingDeclaredNo:"The Controller does not carry out automated decision-making or profiling that produces legal effects on the data subject or significantly affects them, pursuant to art. 22 GDPR. Any analytics tools (e.g. Google Analytics, Meta Pixel) are used for aggregated measurement and not for individual automated decisions.",cookieTableTitle:"Detailed list of Cookies and identifiers",cookieTableIntro:"Below are the cookies and identifiers used by each service, with purpose, duration and category. The list is exhaustive for the services active on the Application at the time of publication of this policy.",cookieTableName:"Name",cookieTableProvider:"Provider",cookieTablePurpose:"Purpose",cookieTableDuration:"Duration",cookieTableType:"Type",cookieTypeTechnical:"Technical",cookieTypeStatistical:"Statistical",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profiling",cookieTableNoneDeclared:"No nominal cookies declared for this service (it may use dynamic identifiers or LocalStorage).",marketingConsentLabel:"I consent to receive commercial and marketing communications (newsletter, offers) pursuant to art. 6.1.a GDPR. I may withdraw consent at any time by writing to",cookiePolicyTitle:"Cookie Policy of",cookieWelcome:"Welcome to the cookie policy of",cookieIntro:"This policy will help you understand which cookies and tracking technologies we use, how we use them and what your rights are in this regard.",introduction:"Introduction",introDescription1:"This document contains information regarding the technologies that enable this Application to achieve the purposes described below. Such technologies allow the Controller to collect and store information (for example through the use of Cookies) or to use resources (for example by running a script).",introDescription2:"For simplicity, in this document these technologies are synthetically defined as \u201CTracking Tools\u201D. Some of the purposes for which they are used may require the User's consent.",usageTrackingTitle:"Use of Tracking Tools",usageTrackingDescription:"This Application uses Tracking Tools to carry out activities that are strictly necessary to ensure operation and to measure traffic through analysis.",managePreferencesTitle:"How to manage preferences",managePreferencesDescription1:"If the use of Trackers is based on consent, the User can give or withdraw such consent by setting or updating their preferences through the relevant privacy choice panel available on this Application.",managePreferencesDescription2:"Users can also use their browser settings to see which Cookies have been installed, block or delete them. However, browser settings do not allow granular control of consent by category.",preferenceCenterTitle:"Preference Center",preferenceCenterDescription:"You can manage your consents granularly or reset your settings completely to view the initial banner again.",managePreferencesButton:"Manage preferences",resetBannerButton:"Reset and reopen banner",fullPrivacyPolicyLink:"Full Privacy Policy",browserInfo:"Browser Info",browserSettingsTitle:"Browser Settings",browserSettingsDescription:"Cookies can also be managed through your browser settings (Chrome, Safari, Firefox, etc.) for total control over privacy and data storage.",trackingToolTitle:"Tracking Tool",trackingToolDescription:"Any technology \u2014 e.g. Cookies, unique identifiers, web beacons \u2014 that allows users to be tracked, collecting or saving information on the device.",dataSubjectTitle:"Data Subject",dataSubjectDescription:"The natural person to whom the Personal Data refers.",purposes:"Purposes",dataCollected:"Data collected",statistics:"Statistics",optimization:"Optimization",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Behavior analysis",sessionScreencast:"Session screencast",usageData:"Usage data",trackingTools:"Tracking Tools",tagManagement:"Tag management",userDatabaseManagement:"User database management",sendingMessages:"Sending messages",name:"Name",surname:"Last Name",paymentManagement:"Payment management",variousDataAsSpecified:"Various types of Data as specified in the privacy policy of the service",externalContent:"Displaying content from external platforms",geographicPosition:"Geographic position",contactUser:"Contacting the user",requestManagement:"Request management",variousData:"Various data",contentDisplay:"Content display",variousDataTypes:"Various types of Data",contactForm:"Contact Form",youtubeWidget:"YouTube Video Widget",googleMapsWidget:"Google Maps Widget",noActiveService:"No active service"}};var rt={it:"it-IT",en:"en-US"},fe=new Map;function K(e){return e&&e.toLowerCase().startsWith("en")?"en":"it"}function A(e){let t=fe.get(e);if(t)return t;let i=J[e]??J.it,o=J.it,n=r=>i[r]??o[r];return fe.set(e,n),n}var ye=e=>rt[e];function he(){if(typeof crypto<"u"){if(typeof crypto.randomUUID=="function")try{return crypto.randomUUID()}catch{}if(typeof crypto.getRandomValues=="function"){let t=new Uint8Array(16);crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128;let i=Array.from(t,o=>o.toString(16).padStart(2,"0"));return`${i.slice(0,4).join("")}-${i.slice(4,6).join("")}-${i.slice(6,8).join("")}-${i.slice(8,10).join("")}-${i.slice(10,16).join("")}`}}let e=()=>Math.floor(Math.random()*4294967296).toString(16).padStart(8,"0");return`${e()}-${e().slice(0,4)}-4${e().slice(0,3)}-${e().slice(0,4)}-${e()}${e().slice(0,4)}`}var Y="graffico-legal-consent",ve=1e3*60*60*24*180,V={necessary:!0,statistical:!1,marketing:!1},be=Object.freeze({language:"it",consent:V,showBanner:!1,isModalOpen:!1,hydrated:!1}),S=be,ee=new Set;function st(){for(let e of ee)e()}function L(e){let t=!1;for(let i in e)if(S[i]!==e[i]){t=!0;break}t&&(S={...S,...e},st())}function D(e){return ee.add(e),()=>{ee.delete(e)}}var P=()=>S,U=()=>be;function te(e){L({language:K(e)})}function lt(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.necessary!="boolean"||typeof t.statistical!="boolean"||typeof t.marketing!="boolean")return null;let i={necessary:!0,statistical:t.statistical,marketing:t.marketing};return typeof t.consentId=="string"&&t.consentId.length>0&&t.consentId.length<100&&(i.consentId=t.consentId),typeof t.timestamp=="string"&&t.timestamp.length<50&&(i.timestamp=t.timestamp),typeof t.expiresAt=="number"&&Number.isFinite(t.expiresAt)&&(i.expiresAt=t.expiresAt),typeof t.policyVersion=="string"&&t.policyVersion.length<100&&(i.policyVersion=t.policyVersion),(t.source==="banner"||t.source==="modal"||t.source==="gpc-auto"||t.source==="api")&&(i.source=t.source),i}function ct(){if(typeof navigator>"u")return!1;let e=navigator;return e.globalPrivacyControl===!0||typeof e.doNotTrack=="string"&&e.doNotTrack==="1"}function dt(e){return typeof e.expiresAt=="number"&&Date.now()>e.expiresAt}function ut(e,t){return t?e.policyVersion!==t:!1}function ie(e={}){if(S.hydrated||typeof window>"u")return;let t;try{let s=window.localStorage.getItem(Y);if(s){let p=JSON.parse(s);t=lt(p)??void 0}}catch{}let i=t&&dt(t),o=t&&ut(t,e.policyVersion),n=t&&!i&&!o?t:void 0;if(!n&&(i||o))try{window.localStorage.removeItem(Y)}catch{}let r={language:e.language??S.language,activePolicyVersion:e.policyVersion,hydrated:!0};if(n){L({...r,consent:n,showBanner:!1});return}if(ct()){L(r),Q(V,"gpc-auto");return}L({...r,consent:V,showBanner:!0})}function Q(e,t){let i=S.consent.consentId||he(),o={...e,necessary:!0,consentId:i,timestamp:new Date().toISOString(),expiresAt:Date.now()+ve,policyVersion:S.activePolicyVersion,source:t};try{window.localStorage.setItem(Y,JSON.stringify(o))}catch{}return L({consent:o,showBanner:!1,isModalOpen:!1}),o}function oe(e,t="modal"){return Q(e,t)}function O(e="banner"){return Q({necessary:!0,statistical:!0,marketing:!0},e)}function q(e="banner"){return Q(V,e)}function ne(){try{window.localStorage.removeItem(Y)}catch{}L({consent:V,showBanner:!0,isModalOpen:!1})}function C(e){L({isModalOpen:e})}import{jsx as ft}from"react/jsx-runtime";var ae=pt(null);function mt({config:e,children:t}){let i=gt(()=>({config:e}),[e]);return we(()=>{ie({policyVersion:e.policyVersion})},[]),we(()=>{te(K(e.language))},[e.language]),ft(ae.Provider,{value:i,children:t})}function I(){let e=ke(ae);if(!e)throw new Error("useLegalConfig deve essere usato dentro <LegalProvider>");return e.config}function _(){return ke(ae)?.config??null}import{useSyncExternalStore as E}from"react";var R=()=>E(D,()=>P().language,()=>U().language),N=()=>E(D,()=>P().consent,()=>U().consent),d=e=>E(D,()=>{let t=P();return t.hydrated?t.consent[e]:void 0},()=>{}),yt=()=>E(D,()=>P().hydrated,()=>!1),W=()=>E(D,()=>P().showBanner,()=>U().showBanner),re=()=>E(D,()=>P().isModalOpen,()=>U().isModalOpen);function T(){return A(R())}var xe="#2c5282",k=e=>e.primaryColor??xe,Ce=e=>e.domain||e.name;var ht={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5,M:2592e6,y:31536e6},vt={s:"s",sec:"s",m:"M",min:"m",h:"h",hr:"h",d:"d",day:"d",days:"d",w:"w",week:"w",weeks:"w",M:"M",month:"M",months:"M",y:"y",year:"y",years:"y"},bt=/^(\d+)\s*(min|sec|hr|days?|weeks?|months?|years?|[smhdwMy])$/;function wt(e){if(typeof e!="string")return null;let t=e.trim().match(bt);if(!t)return null;let i=Number(t[1]);if(!Number.isFinite(i)||i<0)return null;let o=vt[t[2]];return o?i*ht[o]:null}function Te(e,t=new Date){let i=wt(e);return i===null?null:new Date(t.getTime()+i)}function Se(e,t){if(e)try{e(t)}catch{}}function De(e,t){if(!(typeof window>"u"))try{fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),keepalive:!0,credentials:"same-origin"}).catch(()=>{})}catch{}}import{useEffect as kt,useState as xt}from"react";import{jsx as l,jsxs as f}from"react/jsx-runtime";var Z=()=>{let e=I(),t=N(),i=re(),o=R(),n=T(),[r,s]=xt(t),p=k(e);if(kt(()=>{s(t)},[t,i]),!i)return null;let y=u=>{u!=="necessary"&&s(h=>({...h,[u]:!h[u]}))};return l("div",{className:"fixed inset-0 z-10000 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm animate-in fade-in duration-300",children:f("div",{className:"w-full max-w-2xl max-h-[90vh] bg-white/95 text-gray-900 border-gray-100 rounded-3xl shadow-2xl overflow-hidden flex flex-col animate-in zoom-in-95 duration-300",children:[f("div",{className:"p-6 md:p-8 border-b border-gray-100 flex items-center justify-between",children:[f("div",{children:[l("h2",{className:"text-2xl font-black tracking-tight text-gray-900",children:n("preferencesTitle")}),l("p",{className:"text-sm text-gray-500 font-medium",children:n("preferencesSubtitle")})]}),l("button",{onClick:()=>C(!1),"aria-label":n("close"),className:"p-2 text-gray-400 hover:text-gray-900 transition-colors",children:l("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),f("div",{className:"flex-1 overflow-y-auto p-6 md:p-8",children:[l("p",{className:"text-sm text-gray-600 leading-relaxed",children:n("preferencesDescription")}),l("div",{className:"space-y-4",children:f("div",{className:"flex flex-col gap-4",children:[f("div",{className:"p-4 bg-gray-50 rounded-2xl border border-gray-100 flex items-center justify-between",children:[f("div",{className:"max-w-[80%]",children:[l("h3",{className:"font-bold text-gray-900",children:n("necessaryTitle")}),l("p",{className:"text-xs text-gray-500 mt-0.5",children:n("necessaryDescription")})]}),f("div",{className:"relative inline-flex items-center cursor-not-allowed opacity-50",children:[l("div",{className:"w-11 h-6 rounded-full",style:{backgroundColor:p}}),l("div",{className:"absolute left-6 w-4 h-4 bg-white rounded-full"})]})]}),l(Pe,{title:n("measurementTitle"),description:n("measurementDescription"),active:r.statistical,primaryColor:p,onClick:()=>y("statistical")}),l(Pe,{title:n("marketingTitle"),description:n("marketingDescription"),active:r.marketing,primaryColor:p,onClick:()=>y("marketing")})]})}),t.consentId&&f("div",{className:"pt-8 mt-4 border-t border-gray-100",children:[l("div",{className:"bg-gray-50/50 p-4 rounded-2xl border border-dashed border-gray-200",children:f("div",{className:"flex flex-col gap-2",children:[f("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-[10px] font-black text-gray-400 uppercase tracking-widest",children:n("consentId")}),l("span",{className:"text-[10px] font-mono text-gray-500 bg-white px-2 py-0.5 rounded border border-gray-100",children:t.consentId})]}),f("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-[10px] font-black text-gray-400 uppercase tracking-widest",children:n("consentDate")}),l("span",{className:"text-[10px] font-bold text-gray-500",children:t.timestamp?new Date(t.timestamp).toLocaleString(ye(o)):"-"})]})]})}),l("p",{className:"text-[9px] text-gray-400 mt-3 leading-relaxed",children:n("legalProofDescription")})]})]}),f("div",{className:"p-6 bg-gray-50 border-t border-gray-100 flex flex-col sm:flex-row gap-3",children:[l("button",{onClick:()=>q("modal"),className:"flex-1 px-6 py-3 border border-gray-300 text-gray-700 font-bold rounded-xl hover:bg-white transition-all text-sm uppercase tracking-wider",children:n("declineAll")}),l("button",{onClick:()=>oe(r,"modal"),className:"flex-1 px-6 py-3 bg-gray-900 text-white font-bold rounded-xl hover:bg-black transition-all text-sm uppercase tracking-wider",children:n("saveAndContinue")}),l("button",{onClick:()=>O("modal"),className:"flex-1 px-6 py-3 text-white font-bold rounded-xl hover:opacity-90 transition-all text-sm uppercase tracking-wider",style:{backgroundColor:p},children:n("acceptAll")})]})]})})};function Pe({title:e,description:t,active:i,primaryColor:o,onClick:n}){return f("div",{className:"p-4 bg-white rounded-2xl border border-gray-100 flex items-center justify-between transition-colors cursor-pointer group/item",onClick:n,children:[f("div",{className:"max-w-[80%]",children:[l("h3",{className:"font-bold text-gray-900",children:e}),l("p",{className:"text-xs text-gray-500 mt-0.5",children:t})]}),l("div",{className:"relative inline-flex items-center h-6 rounded-full w-11 transition-colors duration-200",style:{backgroundColor:i?o:"#e5e7eb"},children:l("span",{className:`inline-block w-4 h-4 transform bg-white rounded-full transition-transform duration-200 ${i?"translate-x-6":"translate-x-1"}`})})]})}import{jsx as se,jsxs as Tt}from"react/jsx-runtime";var Ct={"bottom-right":"bottom-6 right-6","bottom-left":"bottom-6 left-6","top-right":"top-6 right-6","top-left":"top-6 left-6"},le=()=>{let e=I(),t=W(),i=T();if(t)return null;let o=e.togglePosition??"bottom-right";return Tt("button",{onClick:()=>C(!0),className:`fixed ${Ct[o]} z-8000 w-12 h-12 bg-white rounded-xl shadow-xl border border-gray-100 flex items-center justify-center hover:scale-110 active:scale-95 transition-all group`,style:{color:k(e)},"aria-label":i("privacyPreferences"),children:[se("svg",{className:"w-6 h-6 group-hover:rotate-12 transition-transform",fill:"currentColor",viewBox:"0 0 24 24",children:se("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"})}),se("span",{className:"absolute right-full mr-3 px-2 py-1 bg-black text-white text-[10px] rounded opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap pointer-events-none",children:i("privacyPreferences")})]})};import{Fragment as ze,jsx as b,jsxs as M}from"react/jsx-runtime";var St=()=>{let e=I(),t=W(),i=T();if(!t)return M(ze,{children:[b(le,{}),b(Z,{})]});let o=e.theme!=="light",n=k(e);return M(ze,{children:[b("div",{role:"dialog","aria-modal":"false","aria-labelledby":"graffico-legal-banner-title",className:"fixed bottom-0 left-0 right-0 p-3 md:p-8 z-9000 flex justify-center animate-in slide-in-from-bottom-full duration-500",children:M("div",{className:`w-full max-w-5xl rounded-3xl md:rounded-4xl shadow-[0_20px_50px_rgba(0,0,0,0.3)] backdrop-blur-xl border p-4 md:p-8 flex flex-col md:flex-row items-center gap-4 md:gap-6 relative overflow-hidden ${o?"bg-black/95 text-white border-white/10":"bg-white/95 text-gray-900 border-gray-100"}`,children:[b("div",{className:"absolute -bottom-24 -right-24 w-64 h-64 blur-[100px] opacity-20 transition-colors pointer-events-none",style:{backgroundColor:n}}),M("div",{className:"grow space-y-2 md:space-y-3 text-center md:text-left relative z-10",children:[b("h2",{id:"graffico-legal-banner-title",className:"text-base md:text-xl font-black tracking-tight",children:i("bannerTitle")}),M("p",{className:`text-[11px] md:text-sm leading-relaxed max-w-3xl font-medium ${o?"text-gray-400":"text-gray-500"}`,children:[i("bannerDescription"),b("span",{className:o?"text-white":"text-gray-900",children:i("bannerDescriptionMeasurement")}),i("bannerDescriptionEnd"),b("a",{href:"/cookie-policy",className:"underline hover:opacity-80 transition-opacity font-bold",style:{color:o?"inherit":n},children:i("cookiePolicyLink")})]})]}),M("div",{className:"flex flex-col items-center gap-4 w-full md:w-auto relative z-10",children:[M("div",{className:"flex flex-row items-center gap-2 md:gap-3 w-full md:w-auto",children:[b("button",{onClick:()=>q("banner"),className:`cursor-pointer flex-1 md:flex-initial px-4 md:px-8 py-2.5 md:py-3 font-black rounded-xl md:rounded-2xl transition-all text-[10px] md:text-[11px] uppercase tracking-widest whitespace-nowrap md:shadow-lg ${o?"bg-white text-gray-900 hover:bg-gray-100":"bg-gray-900 text-white hover:bg-black"}`,children:i("decline")}),b("button",{onClick:()=>O("banner"),className:"cursor-pointer flex-1 md:flex-initial px-4 md:px-8 py-2.5 md:py-3 text-white font-black rounded-xl md:rounded-2xl transition-all text-[10px] md:text-[11px] uppercase tracking-widest whitespace-nowrap md:shadow-lg",style:{backgroundColor:n},children:i("accept")})]}),b("button",{onClick:()=>C(!0),className:`cursor-pointer text-[9px] md:text-[10px] font-bold uppercase tracking-widest underline-offset-4 hover:underline transition-opacity ${o?"text-gray-400 hover:text-white":"text-gray-500 hover:text-gray-900"}`,children:i("customize")})]})]})}),b(Z,{})]})};import{useMemo as Pt,useState as zt}from"react";var Le={"google-analytics":{id:"google-analytics",name:"Google Analytics 4",category:"automatic",purposes:["Statistica","Ottimizzazione"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ga",provider:"google-analytics.com",purpose:"Identificatore univoco utente per statistiche di sessione",duration:"2 anni",type:"statistical"},{name:"_ga_<container-id>",provider:"google-analytics.com",purpose:"Stato di sessione GA4",duration:"2 anni",type:"statistical"},{name:"_gid",provider:"google-analytics.com",purpose:"Identificatore utente giornaliero",duration:"24 ore",type:"statistical"}]},"facebook-pixel":{id:"facebook-pixel",name:"Meta Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_fbp",provider:"facebook.com",purpose:"Identificatore browser per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"fr",provider:"facebook.com",purpose:"Pubblicit\xE0 mirata e misurazione",duration:"90 giorni",type:"marketing"},{name:"_fbc",provider:"facebook.com",purpose:"Click-ID per attribuzione di campagna",duration:"90 giorni",type:"marketing"}]},"google-ads":{id:"google-ads",name:"Google Ads",category:"marketing",purposes:["Marketing","Targeting","Misurazione conversioni"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"IDE",provider:"doubleclick.net",purpose:"Profilazione e remarketing Google Ads",duration:"13 mesi",type:"marketing"},{name:"_gcl_au",provider:"google.com",purpose:"Misurazione conversioni cross-site",duration:"90 giorni",type:"marketing"},{name:"NID",provider:"google.com",purpose:"Memorizza preferenze utente per annunci",duration:"6 mesi",type:"marketing"}]},"linkedin-insight":{id:"linkedin-insight",name:"LinkedIn Insight Tag",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"li_sugr",provider:"linkedin.com",purpose:"Inferenza identit\xE0 per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"lidc",provider:"linkedin.com",purpose:"Routing data center",duration:"24 ore",type:"technical"}]},"tiktok-pixel":{id:"tiktok-pixel",name:"TikTok Pixel",category:"automatic",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ttp",provider:"tiktok.com",purpose:"Identificatore univoco utente TikTok Pixel",duration:"13 mesi",type:"marketing"}]},"microsoft-clarity":{id:"microsoft-clarity",name:"Microsoft Clarity",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento","Screencast sessione"],lawfulBasis:"consent",cookies:[{name:"_clck",provider:"clarity.ms",purpose:"ID utente persistente Clarity",duration:"1 anno",type:"statistical"},{name:"_clsk",provider:"clarity.ms",purpose:"Sessione di registrazione Clarity",duration:"24 ore",type:"statistical"}]},hotjar:{id:"hotjar",name:"Hotjar",category:"automatic",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_hjSessionUser_<id>",provider:"hotjar.com",purpose:"Identificatore utente persistente",duration:"1 anno",type:"statistical"},{name:"_hjSession_<id>",provider:"hotjar.com",purpose:"Sessione di registrazione",duration:"30 minuti",type:"statistical"}]},"google-tag-manager":{id:"google-tag-manager",name:"Google Tag Manager",category:"automatic",purposes:["Gestione dei tag"],dataCollected:["Dati di utilizzo"],lawfulBasis:"legitimate-interest"},mailchimp:{id:"mailchimp",name:"Mailchimp",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome","Dati di utilizzo"],lawfulBasis:"consent"},newsletter:{id:"newsletter",name:"Newsletter",category:"provided",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome"],lawfulBasis:"consent"},stripe:{id:"stripe",name:"Stripe",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract",cookies:[{name:"__stripe_mid",provider:"stripe.com",purpose:"Prevenzione frodi",duration:"1 anno",type:"technical"},{name:"__stripe_sid",provider:"stripe.com",purpose:"Sessione di pagamento",duration:"30 minuti",type:"technical"}]},paypal:{id:"paypal",name:"PayPal",category:"automatic",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract"},youtube:{id:"youtube",name:"YouTube Video Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"VISITOR_INFO1_LIVE",provider:"youtube.com",purpose:"Stima banda utente per pre-buffering",duration:"6 mesi",type:"statistical"},{name:"YSC",provider:"youtube.com",purpose:"Sessione video corrente",duration:"Sessione",type:"statistical"}]},"google-maps":{id:"google-maps",name:"Google Maps Widget",category:"automatic",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Posizione geografica","Strumenti di Tracciamento"],lawfulBasis:"consent"},"contact-form":{id:"contact-form",name:"Modulo di contatto",category:"provided",purposes:["Contattare l'utente","Gestione richieste"],dataCollected:["Email","Nome","Cognome","Dati vari"],lawfulBasis:"contract"},"google-fonts":{id:"google-fonts",name:"Google Fonts",category:"automatic",purposes:["Visualizzazione dei contenuti"],dataCollected:["Dati di utilizzo","Varie tipologie di Dati"],lawfulBasis:"legitimate-interest"}},ce=e=>typeof e=="string"?Le[e]||{id:e,name:e,category:"automatic",purposes:[],dataCollected:[]}:e,Dt={Statistica:"statistics",Ottimizzazione:"optimization",Marketing:"marketing",Targeting:"targeting","Analisi del comportamento":"behaviorAnalysis","Screencast sessione":"sessionScreencast","Dati di utilizzo":"usageData","Strumenti di Tracciamento":"trackingTools","Gestione dei tag":"tagManagement","Gestione database Utenti":"userDatabaseManagement","Invio messaggi":"sendingMessages",Nome:"name",Cognome:"surname",Email:"email","Gestione dei pagamenti":"paymentManagement","Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio":"variousDataAsSpecified","Visualizzazione di contenuti da piattaforme esterne":"externalContent","Posizione geografica":"geographicPosition","Contattare l'utente":"contactUser","Gestione richieste":"requestManagement","Dati vari":"variousData","Visualizzazione dei contenuti":"contentDisplay","Varie tipologie di Dati":"variousDataTypes","Modulo di Contatto":"contactForm","Modulo di contatto":"contactForm","Widget Video YouTube":"youtubeWidget","Widget Google Maps":"googleMapsWidget","Stati Uniti":"unitedStates",Irlanda:"ireland",Malta:"malta",Francia:"france",Italia:"italy","Hosting e CDN del sito.":"siteHostingAndCdn","Trasmissione form contatti":"contactFormTransmission","Trasmissione form contatti tramite SMTP":"contactFormTransmissionSmtp","Analytics 4, Ads, Tag Manager, Fonts":"analyticsAdsTagFonts","Meta Pixel, Conversion API":"metaPixelConversionApi","Session recording, heatmap":"sessionRecordingHeatmap","Prevenzione frodi":"fraudPrevention","Sessione di pagamento":"paymentSession",Statistics:"statistics",Optimization:"optimization","Behavior analysis":"behaviorAnalysis","Session screencast":"sessionScreencast","Usage data":"usageData","Tracking Tools":"trackingTools","Tag management":"tagManagement","User database management":"userDatabaseManagement","Sending messages":"sendingMessages",Name:"name","Last Name":"surname",Surname:"surname","Payment management":"paymentManagement","Various types of Data as specified in the privacy policy of the service":"variousDataAsSpecified","Displaying content from external platforms":"externalContent","Geographic position":"geographicPosition","Contacting the user":"contactUser","Request management":"requestManagement","Various data":"variousData","Content display":"contentDisplay","Various types of Data":"variousDataTypes","Contact Form":"contactForm","YouTube Video Widget":"youtubeWidget","Google Maps Widget":"googleMapsWidget","United States":"unitedStates",Ireland:"ireland",France:"france",Italy:"italy","Site hosting and CDN.":"siteHostingAndCdn","Contact form transmission":"contactFormTransmission","Contact form transmission via SMTP":"contactFormTransmissionSmtp","Fraud prevention":"fraudPrevention","Payment session":"paymentSession"},Ie=(e,t)=>{let i=e.trim().replace(/\s+/g," "),o=Dt[i];return o?t(o):e};import{Fragment as Gt,jsx as a,jsxs as c}from"react/jsx-runtime";var de=4,Ae=({id:e})=>{switch(e){case"google-analytics":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:[a("path",{d:"M12 2L4.5 20.29L5.21 21L12 18L18.79 21L19.5 20.29L12 2Z",fill:"currentColor",fillOpacity:"0.2"}),a("path",{d:"M12 18V2M12 18L5.21 21L4.5 20.29L12 2M12 18L18.79 21L19.5 20.29L12 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});case"facebook-pixel":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M18 2H15C12.7909 2 11 3.79086 11 6V9H8V13H11V22H15V13H18L19 9H15V6C15 5.44772 15.4477 5 16 5H18V2Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"google-fonts":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M4 7V4H20V7M5 20H19M12 4V20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"linkedin-insight":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a("rect",{x:"2",y:"9",width:"4",height:"12"}),a("circle",{cx:"4",cy:"4",r:"2"})]});case"tiktok-pixel":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:a("path",{d:"M9 12a4 4 0 1 0 4 4V4a5 5 0 0 0 5 5"})});case"microsoft-clarity":case"hotjar":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),a("circle",{cx:"12",cy:"12",r:"3"})]});case"google-tag-manager":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:a("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"})});case"mailchimp":case"newsletter":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"m22 2-7 20-4-9-9-4Z"}),a("path",{d:"M22 2 11 13"})]});case"stripe":case"paypal":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("rect",{x:"1",y:"4",width:"22",height:"16",rx:"2",ry:"2"}),a("line",{x1:"1",y1:"10",x2:"23",y2:"10"})]});case"youtube":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"}),a("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"})]});case"google-maps":return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),a("circle",{cx:"12",cy:"10",r:"3"})]});case"contact-form":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M3 8L10.89 13.26C11.56 13.71 12.44 13.71 13.11 13.26L21 8M5 19H19C20.1 19 21 18.1 21 17V7C21 5.9 20.1 5 19 5H5C3.9 5 3 5.9 3 7V17C3 18.1 3.9 19 5 19Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});default:return c("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:[a("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),a("path",{d:"M12 8V16M8 12H16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}},Lt=({config:e,language:t}={})=>{let i=_(),o=R(),n=e??i,r=t??o,s=A(r),p=n?k(n):"#2c5282",{automaticServices:y,providedServices:u}=Pt(()=>{if(!n)return{automaticServices:[],providedServices:[]};let h=m=>Ie(m,s),x=(n.services??[]).map(m=>{let g=ce(m);return{...g,name:h(g.name),purposes:g.purposes.map(h),dataCollected:g.dataCollected.map(h)}});return{automaticServices:x.filter(m=>m.category==="automatic"),providedServices:x.filter(m=>m.category==="provided")}},[n,r,s]);return n?c("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 p-1",children:[a(Ne,{variant:"compact",title:s("automaticDataTitle"),subtitle:s("monitorTitle"),description:c(Gt,{children:[s("automaticDataDescription"),a("span",{className:"text-gray-900 font-black",children:Ce(n)})," ",s("automaticDataIncludes")]}),emptyLabel:s("noActiveService"),primaryColor:p,services:y,icon:a(_t,{}),emptyIcon:a(Rt,{})}),a(Ne,{variant:"expanded",title:s("providedDataTitle"),subtitle:s("supportTitle"),description:s("providedDataDescription"),emptyLabel:s("noActiveService"),primaryColor:p,services:u,icon:a(Et,{}),emptyIcon:a(Bt,{})})]}):null};function Ne({variant:e,title:t,subtitle:i,description:o,emptyLabel:n,primaryColor:r,services:s,icon:p,emptyIcon:y}){let[u,h]=zt(0),x=Math.ceil(s.length/de),m=s.slice(u*de,(u+1)*de);return c("div",{className:"bg-white p-8 rounded-[2.5rem] border border-gray-100 shadow-sm flex flex-col transition-all hover:shadow-xl group/card min-h-[750px]",children:[c("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8",children:[c("div",{className:"flex items-center gap-4",children:[a("div",{className:"p-3 rounded-2xl shrink-0",style:{backgroundColor:`${r}1a`,color:r},children:p}),c("div",{children:[a("h3",{className:"text-xl sm:text-2xl font-black text-gray-900 tracking-tight leading-tight",children:t}),a("p",{className:"text-[10px] text-gray-400 font-black uppercase tracking-widest mt-0.5",children:i})]})]}),x>1&&a(It,{page:u,totalPages:x,onChange:h})]}),a("p",{className:"text-gray-500 mb-8 text-sm leading-relaxed font-medium",children:o}),a("div",{className:"space-y-4 grow",children:m.length>0?a("div",{className:"grid grid-cols-1 gap-4 animate-in fade-in slide-in-from-bottom-2 duration-300",children:m.map(g=>e==="compact"?a(Nt,{service:g,primaryColor:r},g.id):a(Mt,{service:g,primaryColor:r},g.id))}):a(At,{icon:y,label:n})})]})}function It({page:e,totalPages:t,onChange:i}){return c("div",{className:"flex items-center gap-2 bg-gray-50/50 p-1.5 rounded-2xl border border-gray-100 self-end sm:self-center",children:[a(Me,{disabled:e===0,onClick:()=>i(e-1),d:"M15 19l-7-7 7-7"}),c("span",{className:"text-[10px] font-black font-mono text-gray-500 w-10 text-center",children:[e+1," / ",t]}),a(Me,{disabled:e>=t-1,onClick:()=>i(e+1),d:"M9 5l7 7-7 7"})]})}function Me({disabled:e,onClick:t,d:i}){return a("button",{disabled:e,onClick:t,className:`p-2 rounded-xl transition-all ${e?"opacity-20 cursor-not-allowed":"bg-white hover:bg-gray-100 active:scale-95 text-gray-900 shadow-sm"}`,children:a("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:i})})})}function _e({tags:e}){return a("div",{className:"flex flex-wrap gap-2",children:e.map(t=>a("span",{className:"px-3 py-1 bg-white text-gray-600 text-[11px] font-bold rounded-xl border border-gray-100 shadow-sm",children:t},t))})}function Nt({service:e,primaryColor:t}){return c("div",{className:"flex items-center gap-4 bg-gray-50/50 p-5 rounded-3xl border border-gray-100 hover:bg-white transition-all group",children:[a("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center shrink-0 shadow-sm border border-gray-100 transition-all group-hover:scale-110 bg-white",style:{color:t},children:a(Ae,{id:e.id})}),c("div",{children:[a("h4",{className:"text-base font-black text-gray-900 leading-none",children:e.name}),a("div",{className:"mt-2",children:a(_e,{tags:e.dataCollected})})]})]})}function Mt({service:e,primaryColor:t}){return c("div",{className:"p-6 bg-gray-50/50 rounded-3xl border border-gray-100 hover:bg-white transition-all group",children:[c("div",{className:"flex items-center justify-between mb-4",children:[c("div",{className:"flex items-center gap-3",children:[a("div",{className:"text-gray-400 group-hover:scale-110 transition-transform",style:{color:t},children:a(Ae,{id:e.id})}),a("h4",{className:"text-base font-black text-gray-900 leading-none",children:e.name})]}),a("div",{className:"h-2 w-2 rounded-full",style:{backgroundColor:t}})]}),a(_e,{tags:e.dataCollected})]})}function At({icon:e,label:t}){return c("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[a("div",{className:"w-12 h-12 rounded-full bg-gray-50 flex items-center justify-center mb-3",children:e}),a("p",{className:"text-xs text-gray-400 font-bold uppercase tracking-widest",children:t})]})}var _t=()=>c("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04"}),a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})]}),Et=()=>a("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),Rt=()=>a("svg",{className:"w-6 h-6 text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),Bt=()=>a("svg",{className:"w-6 h-6 text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})});import{Fragment as ue,jsx as pe}from"react/jsx-runtime";function jt({category:e,children:t,fallback:i=null,renderWhileHydrating:o=!1}){let n=d(e);return n===void 0?pe(ue,{children:o?t:i}):n?pe(ue,{children:t}):pe(ue,{children:i})}import{jsx as z,jsxs as B}from"react/jsx-runtime";function Ft({language:e,primaryColor:t}){let i=A(e);return B("div",{className:"p-12 rounded-[3.5rem] text-white space-y-8 shadow-2xl relative overflow-hidden",style:{backgroundColor:t,boxShadow:`0 20px 50px ${t}33`},children:[B("div",{className:"relative z-10",children:[z("h3",{className:"text-3xl font-black",children:i("preferenceCenterTitle")}),z("p",{className:"text-white/80 font-medium mt-3 max-w-xl",children:i("preferenceCenterDescription")}),B("div",{className:"pt-10 flex flex-wrap gap-4",children:[z("button",{onClick:()=>C(!0),className:"px-8 py-4 bg-white text-gray-900 font-black rounded-2xl hover:scale-105 transition-all text-sm uppercase tracking-widest shadow-xl",style:{color:t},children:i("managePreferencesButton")}),z("button",{onClick:ne,className:"px-8 py-4 bg-white/10 hover:bg-white/20 text-white font-black rounded-2xl transition-all text-sm uppercase tracking-widest border border-white/10",children:i("resetBannerButton")})]}),B("div",{className:"pt-12 flex flex-wrap gap-8 text-[10px] font-black uppercase tracking-widest",children:[z("a",{href:"/privacy-policy",className:"text-white/70 hover:text-white transition-colors underline decoration-2 underline-offset-4",children:i("fullPrivacyPolicyLink")}),B("span",{className:"cursor-help text-white/70 hover:text-white transition-colors relative group",children:[i("browserInfo"),B("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-4 w-72 p-5 bg-white text-gray-900 text-[12px] font-medium leading-relaxed rounded-2xl opacity-0 group-hover:opacity-100 transition-all pointer-events-none shadow-[0_20px_50px_rgba(0,0,0,0.3)] z-50 normal-case tracking-normal border border-gray-100 scale-95 group-hover:scale-100 origin-bottom",children:[z("p",{className:"font-black text-[10px] uppercase tracking-widest mb-2",style:{color:t},children:i("browserSettingsTitle")}),i("browserSettingsDescription"),z("div",{className:"absolute top-full left-1/2 -translate-x-1/2 border-8 border-transparent border-t-white"})]})]})]})]}),z("div",{className:"absolute -bottom-24 -right-24 w-80 h-80 bg-white/10 rounded-full blur-3xl"})]})}import{useEffect as Vt}from"react";import{jsx as Ot}from"react/jsx-runtime";var Ut=`
2
+ import{createContext as zt,useContext as Ge,useEffect as Be,useMemo as Lt}from"react";var ie={it:{legal:"Legal",lastUpdated:"Ultima modifica",email:"Email",vat:"P.IVA",generatedBy:"Generato professionalmente da",bannerTitle:"Informativa sui Cookie",bannerDescription:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalit\xE0 tecniche e, con il tuo consenso, anche per le finalit\xE0 di ",bannerDescriptionMeasurement:"misurazione",bannerDescriptionMarketing:"marketing e profilazione",bannerDescriptionExternalContent:"visualizzazione di contenuti esterni",bannerDescriptionEnd:" come specificato nella ",bannerDescriptionTechnicalOnly:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili esclusivamente per finalit\xE0 tecniche, come specificato nella ",cookiePolicyLink:"cookie policy",decline:"Rifiuta",customize:"Personalizza",accept:"Accetta",close:"Chiudi",preferencesTitle:"Preferenze Privacy",preferencesSubtitle:"Personalizza come trattiamo i tuoi dati",preferencesDescription:'Questo pannello ti permette di esprimere alcune preferenze relative al trattamento delle tue informazioni personali. Puoi rivedere e modificare le tue scelte in qualsiasi momento. Per rifiutare il tuo consenso alle attivit\xE0 di trattamento descritte di seguito, disattiva i singoli comandi o utilizza il pulsante "Rifiuta tutto".',necessaryTitle:"Strettamente necessari",necessaryDescription:"Questi strumenti sono richiesti per le funzionalit\xE0 base del sito e non possono essere disattivati.",measurementTitle:"Misurazione",measurementDescription:"Ci permettono di misurare il traffico e analizzare il tuo comportamento per migliorare il servizio.",marketingTitle:"Marketing e Profilazione",marketingDescription:"Consentono a noi e a terze parti di misurare le campagne e di mostrarti pubblicit\xE0 in base ai tuoi interessi, anche su altri siti.",externalContentTitle:"Contenuti esterni",externalContentDescription:"Mappe, video e altri contenuti ospitati da terzi. Caricandoli, il fornitore riceve dati come il tuo indirizzo IP e pu\xF2 usare cookie propri.",closeWithoutAccepting:"Chiudi e continua senza accettare",bannerCloseNotice:"Chiudendo con la X continui senza accettare",reviewCookieChoices:"Rivedi le tue scelte sui cookie",providersLabel:"Fornitori",retentionDay:"giorno",retentionDays:"giorni",retentionWeek:"settimana",retentionWeeks:"settimane",retentionMonth:"mese",retentionMonths:"mesi",retentionYear:"anno",retentionYears:"anni",consentId:"IDC (Consent ID)",consentDate:"Data Consenso",consentPolicyVersion:"Versione policy",consentSource:"Origine",legalProofDescription:"Questi dati identificano la tua scelta e sono salvati solo nel tuo browser. Puoi indicarli al Titolare se chiedi informazioni sul tuo consenso.",consentCheckboxLabel:"Acconsento al trattamento dei miei dati personali per la gestione della richiesta come descritto nella",privacyPolicyLink:"privacy policy",declineAll:"Rifiuta tutto",saveAndContinue:"Salva e continua",acceptAll:"Accetta tutto",monitorTitle:"Monitoraggio e Stats",supportTitle:"Supporto e Feedback",privacyPreferences:"Preferenze Privacy",privacyPolicyTitle:"Privacy Policy di",privacyWelcome:"Benvenuto nella privacy policy di",privacyIntro:"Questa policy ti aiuter\xE0 a comprendere quali dati raccogliamo, perch\xE9 li raccogliamo e quali sono i tuoi diritti in merito.",ownerTitle:"Titolare del Trattamento dei Dati",dataSummaryTitle:"Riepilogo dei Dati",automaticDataTitle:"Dati raccolti automaticamente",automaticDataDescription:"Raccogliamo automaticamente i tuoi dati, ad esempio quando visiti ",automaticDataIncludes:". Include: indirizzo IP, Dati di utilizzo, Strumenti di Tracciamento, numero di Utenti, statistiche delle sessioni, identificativi del dispositivo (user-agent, lingua, fuso orario).",providedDataTitle:"Dati forniti dall'Utente",providedDataDescription:"Raccogliamo i dati che ci fornisci, ad esempio quando compili un modulo di contatto. Include: nome, email.",treatmentDetailsTitle:"Dettagli sul trattamento dei Dati Personali",treatmentDetailsDescription:"Di seguito sono riportati i dettagli sulle modalit\xE0 di raccolta dei dati e i servizi di terze parti che utilizziamo.",modeAndPlaceTitle:"Modalit\xE0 e luogo del trattamento",modeDescription:"Il Titolare adotta le opportune misure di sicurezza volte ad impedire l'accesso, la divulgazione, la modifica o la distruzione non autorizzate dei Dati Personali. Il trattamento viene effettuato mediante strumenti informatici e/o telematici, con modalit\xE0 organizzative e con logiche strettamente correlate alle finalit\xE0 indicate.",placeDescription:"I Dati sono trattati presso le sedi operative del Titolare ed in ogni altro luogo in cui le parti coinvolte nel trattamento siano localizzate. Se non diversamente indicato, i Dati Personali sono trattati e conservati per il tempo richiesto dalla finalit\xE0 per la quale sono stati raccolti.",rightsTitle:"I tuoi Diritti (GDPR)",right1:"Revocare il consenso in ogni momento",right2:"Opporsi al trattamento dei propri Dati",right3:"Accedere ai propri Dati",right4:"Verificare e chiedere la rettificazione",right5:"Ottenere la limitazione del trattamento",right6:"Ottenere la cancellazione o rimozione",right7:"Ricevere i propri Dati o farli trasferire ad altro titolare",right8:"Proporre reclamo all'Autorit\xE0 di controllo (Garante)",howToExerciseRights:"Come esercitare i diritti",exerciseRightsDescription:"Le richieste vanno indirizzate ai recapiti del Titolare indicati in questo documento. La richiesta \xE8 gratuita e risponderemo nel pi\xF9 breve tempo possibile.",supervisoryAuthorityTitle:"Autorit\xE0 di controllo",supervisoryAuthorityIntro:"Ai sensi degli artt. 13.2.d e 77 GDPR, l'interessato ha diritto di proporre reclamo all'autorit\xE0 di controllo competente qualora ritenga che il trattamento dei propri dati personali violi la normativa vigente.",supervisoryAuthorityName:"Garante per la Protezione dei Dati Personali",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Roma (Italia)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Sede",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Sito web",definitionsTitle:"Definizioni e riferimenti legali",personalDataTitle:"Dati Personali",personalDataDescription:"Qualunque informazione che, direttamente o indirettamente, renda identificata o identificabile una persona fisica.",usageDataTitle:"Dati di Utilizzo",usageDataDescription:"Informazioni raccolte automaticamente attraverso questa Applicazione (es. indirizzi IP, orario della richiesta, browser utilizzato).",ownerDefinitionTitle:"Titolare del Trattamento",ownerDefinitionDescription:"La persona fisica o giuridica che determina le finalit\xE0 e i mezzi del trattamento di dati personali.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Piccole porzioni di dati conservate all'interno del browser dell'Utente.",processorsTitle:"Destinatari e responsabili esterni",processorsIntro:"I Dati Personali possono essere comunicati ai responsabili del trattamento elencati di seguito. Ciascun responsabile \xE8 stato selezionato per affidabilit\xE0 e adeguatezza delle garanzie tecniche e organizzative.",processorPurpose:"Finalit\xE0",processorCountry:"Sede",processorTransferBasis:"Base giuridica trasferimento",processorPrivacyPolicy:"Privacy policy",unitedStates:"Stati Uniti",ireland:"Irlanda",malta:"Malta",france:"Francia",italy:"Italia",siteHostingAndCdn:"Hosting e CDN del sito.",contactFormTransmission:"Trasmissione form contatti",contactFormTransmissionSmtp:"Trasmissione form contatti tramite SMTP",analyticsAdsTagFonts:"Analytics 4, Ads, Tag Manager, Fonts",metaPixelConversionApi:"Meta Pixel, Conversion API",sessionRecordingHeatmap:"Session recording, heatmap",fraudPrevention:"Prevenzione frodi",paymentSession:"Sessione di pagamento",transfersTitle:"Trasferimenti di Dati Personali fuori dall'Unione Europea",transfersDescription:"Alcuni dei responsabili esterni hanno sede al di fuori dello Spazio Economico Europeo. I trasferimenti avvengono sulla base di decisioni di adeguatezza (es. EU-US Data Privacy Framework) o di Clausole Contrattuali Tipo (SCC 2021/914) adottate dalla Commissione Europea, integrate da misure supplementari ove necessarie. L'Utente pu\xF2 richiedere copia delle garanzie scrivendo al Titolare.",retentionTitle:"Conservazione dei Dati",retentionIntro:"I Dati Personali sono conservati per il tempo strettamente necessario alle finalit\xE0 per cui sono stati raccolti.",retentionContactForms:"Form di contatto",retentionAnalytics:"Dati analitici",retentionMarketing:"Dati di marketing",retentionUntilCancellation:"Fino a richiesta di cancellazione",dpoTitle:"Responsabile della Protezione dei Dati (DPO)",dpoIntro:"L'Utente pu\xF2 contattare il DPO per qualsiasi questione relativa al trattamento dei propri Dati Personali e all'esercizio dei diritti GDPR.",dpoPhone:"Telefono",policyVersionLabel:"Versione",lawfulBasisTitle:"Basi giuridiche del trattamento",lawfulBasisIntro:"Ciascuna finalit\xE0 di trattamento poggia su una specifica base giuridica ex art. 6 GDPR. Di seguito la mappatura dichiarata dal Titolare.",lawfulBasisContract:"Esecuzione di un contratto o misure precontrattuali (art. 6.1.b GDPR)",lawfulBasisConsent:"Consenso espresso dell'interessato (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legittimo interesse del Titolare (art. 6.1.f GDPR) \u2014 es. sicurezza del sito, prevenzione frodi, statistiche aggregate",lawfulBasisLegalObligation:"Adempimento di un obbligo di legge (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Tutela degli interessi vitali dell'interessato (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Esecuzione di un compito di interesse pubblico (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Base giuridica non dichiarata per questo servizio",profilingTitle:"Processi decisionali automatizzati e profilazione",profilingMarketingNote:"Gli strumenti di marketing indicati in questa policy possono creare profili a fini pubblicitari, solo con il consenso dell'Utente. Questa profilazione non comporta decisioni con effetti giuridici sull'interessato.",profilingDeclaredYes:"Il Titolare effettua trattamenti che includono processi decisionali automatizzati e/o profilazione ai sensi dell'art. 22 GDPR. L'interessato ha diritto a ottenere intervento umano, esprimere la propria opinione e contestare la decisione. Per dettagli su logica, importanza e conseguenze previste, contattare il Titolare ai recapiti indicati.",profilingDeclaredNo:"Il Titolare non effettua processi decisionali automatizzati che producano effetti giuridici sull'interessato o che incidano significativamente sulla sua persona, ai sensi dell'art. 22 GDPR.",cookieTableTitle:"Elenco dettagliato dei Cookie e degli identificatori",consentRecordName:"Scelte sulla privacy",consentRecordPurpose:"Memorizza nel browser le tue scelte sulla privacy",consentRecordDuration:"180 giorni",cookieTableIntro:"Di seguito i cookie e gli identificatori dei servizi dichiarati dal Titolare, con finalit\xE0, durata e categoria. I fornitori terzi possono modificare nomi e durate: per i dettagli fanno fede le loro informative.",cookieTableName:"Nome",cookieTableProvider:"Fornitore",cookieTablePurpose:"Finalit\xE0",cookieTableDuration:"Durata",cookieTableType:"Tipologia",cookieTypeTechnical:"Tecnico",cookieTypeStatistical:"Statistico",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profilazione",cookieTableNoneDeclared:"Per questo servizio non sono dichiarati cookie nominali (pu\xF2 utilizzare identificatori dinamici o LocalStorage).",marketingConsentLabel:"Acconsento a ricevere comunicazioni commerciali e di marketing (newsletter, offerte) ex art. 6.1.a GDPR. Posso revocare il consenso in qualunque momento scrivendo a",cookiePolicyTitle:"Cookie Policy di",cookieWelcome:"Benvenuto nella cookie policy di",cookieIntro:"Questa policy ti aiuter\xE0 a comprendere quali cookie e tecnologie di tracciamento utilizziamo, come li utilizziamo e quali sono i tuoi diritti in merito.",introduction:"Introduzione",introDescription1:"Questo documento contiene informazioni in merito alle tecnologie che consentono a questa Applicazione di raggiungere gli scopi descritti di seguito. Tali tecnologie permettono al Titolare di raccogliere e salvare informazioni (per esempio tramite l'utilizzo di Cookie) o di utilizzare risorse (per esempio eseguendo uno script).",introDescription2:"Per semplicit\xE0, in questo documento tali tecnologie sono sinteticamente definite \u201CStrumenti di Tracciamento\u201D. Alcune delle finalit\xE0 per le quali vengono impiegati potrebbero richiedere il consenso dell'Utente.",usageTrackingTitle:"Utilizzo degli Strumenti di Tracciamento",usageTrackingDescription:"Questa Applicazione utilizza Strumenti di Tracciamento per svolgere attivit\xE0 strettamente necessarie a garantirne il funzionamento e per finalit\xE0 di",usageTrackingDescriptionTechnicalOnly:"Questa Applicazione utilizza Strumenti di Tracciamento esclusivamente per svolgere attivit\xE0 strettamente necessarie a garantirne il funzionamento.",managePreferencesTitle:"Come gestire le preferenze",managePreferencesDescription1:"Qualora l'utilizzo dei Tracker sia basato sul consenso, l'Utente pu\xF2 fornire o revocare tale consenso impostando o aggiornando le proprie preferenze tramite il relativo pannello delle scelte in materia di privacy disponibile su questa Applicazione.",managePreferencesDescription2:"Gli Utenti possono inoltre utilizzare le impostazioni del proprio browser per vedere quali Cookie sono stati installati, bloccarli o cancellarli. Tuttavia, le impostazioni del browser non consentono un controllo granulare del consenso per categoria.",preferenceCenterTitle:"Centro Preferenze",preferenceCenterDescription:"Puoi gestire i tuoi consensi in modo granulare o resettare completamente le tue impostazioni per visualizzare nuovamente il banner iniziale.",managePreferencesButton:"Gestisci preferenze",resetBannerButton:"Resetta e riapri banner",fullPrivacyPolicyLink:"Privacy Policy Completa",browserInfo:"Info Browser",browserSettingsTitle:"Impostazioni Browser",browserSettingsDescription:"I cookie possono essere gestiti anche tramite le impostazioni del tuo browser (Chrome, Safari, Firefox, ecc.) per un controllo totale sulla privacy e sulla conservazione dei dati.",trackingToolTitle:"Strumento di Tracciamento",trackingToolDescription:"Qualsiasi tecnologia \u2014 es. Cookie, identificativi univoci, web beacons \u2014 che consenta di tracciare gli Utenti, raccogliendo o salvando informazioni sul dispositivo.",dataSubjectTitle:"Interessato",dataSubjectDescription:"La persona fisica cui si riferiscono i Dati Personali.",purposes:"Finalit\xE0",dataCollected:"Dati raccolti",statistics:"Statistica",optimization:"Ottimizzazione",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Analisi del comportamento",sessionScreencast:"Screencast sessione",usageData:"Dati di utilizzo",trackingTools:"Strumenti di Tracciamento",tagManagement:"Gestione dei tag",userDatabaseManagement:"Gestione database Utenti",sendingMessages:"Invio messaggi",name:"Nome",surname:"Cognome",paymentManagement:"Gestione dei pagamenti",variousDataAsSpecified:"Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio",externalContent:"Visualizzazione di contenuti da piattaforme esterne",geographicPosition:"Posizione geografica",contactUser:"Contattare l'utente",requestManagement:"Gestione richieste",variousData:"Dati vari",contentDisplay:"Visualizzazione dei contenuti",variousDataTypes:"Varie tipologie di Dati",contactForm:"Modulo di contatto",youtubeWidget:"Widget Video YouTube",googleMapsWidget:"Widget Google Maps",noActiveService:"Nessun servizio attivo"},en:{legal:"Legal",lastUpdated:"Last modified",email:"Email",vat:"VAT",generatedBy:"Professionally generated by",bannerTitle:"Cookie Policy",bannerDescription:"We and selected third parties use cookies or similar technologies for technical purposes and, with your consent, also for the purposes of ",bannerDescriptionMeasurement:"measurement",bannerDescriptionMarketing:"marketing and profiling",bannerDescriptionExternalContent:"display of external content",bannerDescriptionEnd:" as specified in the ",bannerDescriptionTechnicalOnly:"We and selected third parties use cookies or similar technologies for technical purposes only, as specified in the ",cookiePolicyLink:"cookie policy",decline:"Refuse",customize:"Customize",accept:"Accept",close:"Close",preferencesTitle:"Privacy Preferences",preferencesSubtitle:"Customize how we process your data",preferencesDescription:'This panel allows you to express certain preferences regarding the processing of your personal information. You can review and modify your choices at any time. To refuse your consent to the processing activities described below, disable the individual controls or use the "Refuse all" button.',necessaryTitle:"Strictly necessary",necessaryDescription:"These tools are required for the basic functionality of the site and cannot be disabled.",measurementTitle:"Measurement",measurementDescription:"They allow us to measure traffic and analyze your behavior to improve the service.",marketingTitle:"Marketing and Profiling",marketingDescription:"They allow us and third parties to measure campaigns and show you advertising based on your interests, including on other websites.",externalContentTitle:"External content",externalContentDescription:"Maps, videos and other content hosted by third parties. When loaded, the provider receives data such as your IP address and may use its own cookies.",closeWithoutAccepting:"Close and continue without accepting",bannerCloseNotice:"Closing with the X continues without accepting",reviewCookieChoices:"Review your cookie choices",providersLabel:"Providers",retentionDay:"day",retentionDays:"days",retentionWeek:"week",retentionWeeks:"weeks",retentionMonth:"month",retentionMonths:"months",retentionYear:"year",retentionYears:"years",consentId:"Consent ID",consentDate:"Consent Date",consentPolicyVersion:"Policy version",consentSource:"Source",legalProofDescription:"These details identify your choice and are stored only in your browser. You can share them with the Controller when asking about your consent.",consentCheckboxLabel:"I consent to the processing of my personal data for handling this request as described in the",privacyPolicyLink:"privacy policy",declineAll:"Refuse all",saveAndContinue:"Save and continue",acceptAll:"Accept all",monitorTitle:"Monitoring and Stats",supportTitle:"Support and Feedback",privacyPreferences:"Privacy Preferences",privacyPolicyTitle:"Privacy Policy of",privacyWelcome:"Welcome to the privacy policy of",privacyIntro:"This policy will help you understand what data we collect, why we collect it and what your rights are in this regard.",ownerTitle:"Data Controller",dataSummaryTitle:"Data Summary",automaticDataTitle:"Automatically collected data",automaticDataDescription:"We automatically collect your data, for example when you visit ",automaticDataIncludes:". Includes: IP address, Usage data, Tracking Tools, number of Users, session statistics, device identifiers (user-agent, language, timezone).",providedDataTitle:"Data provided by the User",providedDataDescription:"We collect the data you provide us, for example when you fill out a contact form. Includes: name, email.",treatmentDetailsTitle:"Details on the processing of Personal Data",treatmentDetailsDescription:"Below are details on how data is collected and the third-party services we use.",modeAndPlaceTitle:"Method and place of processing",modeDescription:"The Controller takes appropriate security measures to prevent unauthorized access, disclosure, modification or destruction of Personal Data. Processing is carried out using computers and/or IT enabled tools, with organizational methods and logic strictly related to the purposes indicated.",placeDescription:"The Data is processed at the Controller's operating offices and in any other places where the parties involved in the processing are located. Unless otherwise stated, Personal Data is processed and stored for the time required by the purpose for which it was collected.",rightsTitle:"Your Rights (GDPR)",right1:"Withdraw consent at any time",right2:"Object to the processing of your Data",right3:"Access your Data",right4:"Verify and seek rectification",right5:"Obtain restriction of processing",right6:"Obtain erasure or removal",right7:"Receive your Data or have it transferred to another controller",right8:"Lodge a complaint with the Supervisory Authority (Italian Garante)",howToExerciseRights:"How to exercise rights",exerciseRightsDescription:"Requests should be addressed to the Controller's contact details indicated in this document. The request is free of charge and we will respond as soon as possible.",supervisoryAuthorityTitle:"Supervisory Authority",supervisoryAuthorityIntro:"Pursuant to art. 13.2.d and 77 GDPR, the data subject has the right to lodge a complaint with the competent supervisory authority where they consider that the processing of their personal data infringes applicable law.",supervisoryAuthorityName:"Italian Data Protection Authority (Garante per la Protezione dei Dati Personali)",supervisoryAuthorityAddress:"Piazza Venezia 11, 00187 Rome (Italy)",supervisoryAuthorityEmail:"protocollo@gpdp.it",supervisoryAuthorityWebsite:"https://www.garanteprivacy.it",supervisoryAuthorityLabelAddress:"Address",supervisoryAuthorityLabelEmail:"PEC / Email",supervisoryAuthorityLabelWebsite:"Website",definitionsTitle:"Definitions and legal references",personalDataTitle:"Personal Data",personalDataDescription:"Any information that, directly or indirectly, makes a natural person identified or identifiable.",usageDataTitle:"Usage Data",usageDataDescription:"Information collected automatically through this Application (e.g. IP addresses, time of request, browser used).",ownerDefinitionTitle:"Data Controller",ownerDefinitionDescription:"The natural or legal person who determines the purposes and means of the processing of personal data.",cookieDefinitionTitle:"Cookie",cookieDefinitionDescription:"Small portions of data stored within the User's browser.",processorsTitle:"Recipients and external data processors",processorsIntro:"Personal Data may be shared with the data processors listed below. Each processor has been selected for reliability and adequacy of technical and organizational safeguards.",processorPurpose:"Purpose",processorCountry:"Location",processorTransferBasis:"Transfer legal basis",processorPrivacyPolicy:"Privacy policy",unitedStates:"United States",ireland:"Ireland",malta:"Malta",france:"France",italy:"Italy",siteHostingAndCdn:"Site hosting and CDN.",contactFormTransmission:"Contact form transmission",contactFormTransmissionSmtp:"Contact form transmission via SMTP",analyticsAdsTagFonts:"Analytics 4, Ads, Tag Manager, Fonts",metaPixelConversionApi:"Meta Pixel, Conversion API",sessionRecordingHeatmap:"Session recording, heatmap",fraudPrevention:"Fraud prevention",paymentSession:"Payment session",transfersTitle:"Transfers of Personal Data outside the European Union",transfersDescription:"Some external processors are based outside the European Economic Area. Transfers occur under adequacy decisions (e.g. EU-US Data Privacy Framework) or Standard Contractual Clauses (SCC 2021/914) adopted by the European Commission, supplemented by additional measures where needed. The User can request a copy of the safeguards by contacting the Controller.",retentionTitle:"Data Retention",retentionIntro:"Personal Data is kept only for the time strictly necessary to the purposes for which it was collected.",retentionContactForms:"Contact forms",retentionAnalytics:"Analytics data",retentionMarketing:"Marketing data",retentionUntilCancellation:"Until deletion request",dpoTitle:"Data Protection Officer (DPO)",dpoIntro:"The User can contact the DPO for any matter related to the processing of their Personal Data and the exercise of GDPR rights.",dpoPhone:"Phone",policyVersionLabel:"Version",lawfulBasisTitle:"Lawful bases of processing",lawfulBasisIntro:"Each processing purpose relies on a specific lawful basis pursuant to art. 6 GDPR. Below is the mapping declared by the Controller.",lawfulBasisContract:"Performance of a contract or pre-contractual measures (art. 6.1.b GDPR)",lawfulBasisConsent:"Explicit consent of the data subject (art. 6.1.a GDPR)",lawfulBasisLegitInterest:"Legitimate interest of the Controller (art. 6.1.f GDPR) \u2014 e.g. site security, fraud prevention, aggregated statistics",lawfulBasisLegalObligation:"Compliance with a legal obligation (art. 6.1.c GDPR)",lawfulBasisVitalInterests:"Protection of vital interests of the data subject (art. 6.1.d GDPR)",lawfulBasisPublicTask:"Performance of a task carried out in the public interest (art. 6.1.e GDPR)",lawfulBasisNotDeclared:"Lawful basis not declared for this service",profilingTitle:"Automated decision-making and profiling",profilingMarketingNote:"The marketing tools listed in this policy may build profiles for advertising purposes, only with the User's consent. This profiling does not lead to decisions with legal effects on the data subject.",profilingDeclaredYes:"The Controller carries out processing that includes automated decision-making and/or profiling pursuant to art. 22 GDPR. The data subject has the right to obtain human intervention, express their opinion and contest the decision. For details on logic, significance and envisaged consequences, contact the Controller at the addresses indicated.",profilingDeclaredNo:"The Controller does not carry out automated decision-making that produces legal effects on the data subject or significantly affects them, pursuant to art. 22 GDPR.",cookieTableTitle:"Detailed list of Cookies and identifiers",consentRecordName:"Privacy choices",consentRecordPurpose:"Stores your privacy choices in the browser",consentRecordDuration:"180 days",cookieTableIntro:"Below are the cookies and identifiers of the services declared by the Controller, with their purpose, duration and category. Third-party providers may change names and durations: their own policies prevail for details.",cookieTableName:"Name",cookieTableProvider:"Provider",cookieTablePurpose:"Purpose",cookieTableDuration:"Duration",cookieTableType:"Type",cookieTypeTechnical:"Technical",cookieTypeStatistical:"Statistical",cookieTypeMarketing:"Marketing",cookieTypeProfiling:"Profiling",cookieTableNoneDeclared:"No nominal cookies declared for this service (it may use dynamic identifiers or LocalStorage).",marketingConsentLabel:"I consent to receive commercial and marketing communications (newsletter, offers) pursuant to art. 6.1.a GDPR. I may withdraw consent at any time by writing to",cookiePolicyTitle:"Cookie Policy of",cookieWelcome:"Welcome to the cookie policy of",cookieIntro:"This policy will help you understand which cookies and tracking technologies we use, how we use them and what your rights are in this regard.",introduction:"Introduction",introDescription1:"This document contains information regarding the technologies that enable this Application to achieve the purposes described below. Such technologies allow the Controller to collect and store information (for example through the use of Cookies) or to use resources (for example by running a script).",introDescription2:"For simplicity, in this document these technologies are synthetically defined as \u201CTracking Tools\u201D. Some of the purposes for which they are used may require the User's consent.",usageTrackingTitle:"Use of Tracking Tools",usageTrackingDescription:"This Application uses Tracking Tools to carry out activities strictly necessary to ensure its operation and for the purposes of",usageTrackingDescriptionTechnicalOnly:"This Application uses Tracking Tools only to carry out activities that are strictly necessary to ensure its operation.",managePreferencesTitle:"How to manage preferences",managePreferencesDescription1:"If the use of Trackers is based on consent, the User can give or withdraw such consent by setting or updating their preferences through the relevant privacy choice panel available on this Application.",managePreferencesDescription2:"Users can also use their browser settings to see which Cookies have been installed, block or delete them. However, browser settings do not allow granular control of consent by category.",preferenceCenterTitle:"Preference Center",preferenceCenterDescription:"You can manage your consents granularly or reset your settings completely to view the initial banner again.",managePreferencesButton:"Manage preferences",resetBannerButton:"Reset and reopen banner",fullPrivacyPolicyLink:"Full Privacy Policy",browserInfo:"Browser Info",browserSettingsTitle:"Browser Settings",browserSettingsDescription:"Cookies can also be managed through your browser settings (Chrome, Safari, Firefox, etc.) for total control over privacy and data storage.",trackingToolTitle:"Tracking Tool",trackingToolDescription:"Any technology \u2014 e.g. Cookies, unique identifiers, web beacons \u2014 that allows users to be tracked, collecting or saving information on the device.",dataSubjectTitle:"Data Subject",dataSubjectDescription:"The natural person to whom the Personal Data refers.",purposes:"Purposes",dataCollected:"Data collected",statistics:"Statistics",optimization:"Optimization",marketing:"Marketing",targeting:"Targeting",behaviorAnalysis:"Behavior analysis",sessionScreencast:"Session screencast",usageData:"Usage data",trackingTools:"Tracking Tools",tagManagement:"Tag management",userDatabaseManagement:"User database management",sendingMessages:"Sending messages",name:"Name",surname:"Last Name",paymentManagement:"Payment management",variousDataAsSpecified:"Various types of Data as specified in the privacy policy of the service",externalContent:"Displaying content from external platforms",geographicPosition:"Geographic position",contactUser:"Contacting the user",requestManagement:"Request management",variousData:"Various data",contentDisplay:"Content display",variousDataTypes:"Various types of Data",contactForm:"Contact Form",youtubeWidget:"YouTube Video Widget",googleMapsWidget:"Google Maps Widget",noActiveService:"No active service"}};var kt={it:"it-IT",en:"en-US"},Me=new Map;function ne(e){return e&&e.toLowerCase().startsWith("en")?"en":"it"}function j(e){let t=Me.get(e);if(t)return t;let o=ie[e]??ie.it,i=ie.it,n=r=>o[r]??i[r];return Me.set(e,n),n}var Ne=e=>kt[e];function Ie(){if(typeof crypto<"u"){if(typeof crypto.randomUUID=="function")try{return crypto.randomUUID()}catch{}if(typeof crypto.getRandomValues=="function"){let t=new Uint8Array(16);crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128;let o=Array.from(t,i=>i.toString(16).padStart(2,"0"));return`${o.slice(0,4).join("")}-${o.slice(4,6).join("")}-${o.slice(6,8).join("")}-${o.slice(8,10).join("")}-${o.slice(10,16).join("")}`}}let e=()=>Math.floor(Math.random()*4294967296).toString(16).padStart(8,"0");return`${e()}-${e().slice(0,4)}-4${e().slice(0,3)}-${e().slice(0,4)}-${e()}${e().slice(0,4)}`}var ae="graffico-legal-consent",Ae=1e3*60*60*24*180,F={necessary:!0,statistical:!1,marketing:!1,externalContent:!1},Ee=Object.freeze({language:"it",consent:F,showBanner:!1,isModalOpen:!1,hydrated:!1,requestedCategories:[]}),C=Ee,ge=new Set;function xt(){for(let e of ge)e()}function N(e){let t=!1;for(let o in e)if(C[o]!==e[o]){t=!0;break}t&&(C={...C,...e},xt())}function z(e){return ge.add(e),()=>{ge.delete(e)}}var L=()=>C,q=()=>Ee;function me(e){N({language:ne(e)})}function Tt(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.necessary!="boolean"||typeof t.statistical!="boolean"||typeof t.marketing!="boolean"||typeof t.externalContent!="boolean")return null;let o={necessary:!0,statistical:t.statistical,marketing:t.marketing,externalContent:t.externalContent};return typeof t.consentId=="string"&&t.consentId.length>0&&t.consentId.length<100&&(o.consentId=t.consentId),typeof t.timestamp=="string"&&t.timestamp.length<50&&(o.timestamp=t.timestamp),typeof t.expiresAt=="number"&&Number.isFinite(t.expiresAt)&&(o.expiresAt=t.expiresAt),typeof t.policyVersion=="string"&&t.policyVersion.length<100&&(o.policyVersion=t.policyVersion),(t.source==="banner"||t.source==="modal"||t.source==="gpc-auto"||t.source==="api")&&(o.source=t.source),o}function St(){if(typeof navigator>"u")return!1;let e=navigator;return e.globalPrivacyControl===!0||typeof e.doNotTrack=="string"&&e.doNotTrack==="1"}function Dt(e){return typeof e.expiresAt=="number"&&Date.now()>e.expiresAt}function Pt(e,t){return t?e.policyVersion!==t:!1}function fe(e={}){if(C.hydrated||typeof window>"u")return;let t;try{let s=window.localStorage.getItem(ae);if(s){let g=JSON.parse(s);t=Tt(g)??void 0}}catch{}let o=t&&Dt(t),i=t&&Pt(t,e.policyVersion),n=t&&!o&&!i?t:void 0;if(!n&&(o||i))try{window.localStorage.removeItem(ae)}catch{}let r={language:e.language??C.language,activePolicyVersion:e.policyVersion,hydrated:!0};if(n){N({...r,consent:n,showBanner:!1});return}if(St()){N(r),re(F,"gpc-auto");return}N({...r,consent:F,showBanner:!0})}function _e(e,t){return e.statistical&&!t.statistical||e.marketing&&!t.marketing}function re(e,t){let o=C.consent.consentId||Ie(),i={...e,necessary:!0,consentId:o,timestamp:new Date().toISOString(),expiresAt:Date.now()+Ae,policyVersion:C.activePolicyVersion,source:t};try{window.localStorage.setItem(ae,JSON.stringify(i))}catch{}let n=_e(C.consent,i);return N({consent:i,showBanner:!1,isModalOpen:!1}),n&&window.location.reload(),i}function ye(e,t="modal"){return re(e,t)}function Y(e="banner"){return re({necessary:!0,statistical:!0,marketing:!0,externalContent:!0},e)}function O(e="banner"){return re(F,e)}function he(){try{window.localStorage.removeItem(ae)}catch{}let e=_e(C.consent,F);N({consent:F,showBanner:!0,isModalOpen:!1}),e&&window.location.reload()}function k(e){N({isModalOpen:e})}function Re(e){C.requestedCategories.includes(e)||N({requestedCategories:[...C.requestedCategories,e]})}import{jsx as Nt}from"react/jsx-runtime";var ve=zt(null);function Mt({config:e,children:t}){let o=Lt(()=>({config:e}),[e]);return Be(()=>{fe({policyVersion:e.policyVersion})},[]),Be(()=>{me(ne(e.language))},[e.language]),Nt(ve.Provider,{value:o,children:t})}function _(){let e=Ge(ve);if(!e)throw new Error("useLegalConfig deve essere usato dentro <LegalProvider>");return e.config}function U(){return Ge(ve)?.config??null}import{useEffect as It,useSyncExternalStore as R}from"react";var V=()=>R(z,()=>L().language,()=>q().language),B=()=>R(z,()=>L().consent,()=>q().consent),v=e=>R(z,()=>{let t=L();return t.hydrated?t.consent[e]:void 0},()=>{});function y(e){return It(()=>{e!=="necessary"&&Re(e)},[e]),v(e)}var se=()=>R(z,()=>L().requestedCategories,()=>q().requestedCategories),At=()=>R(z,()=>L().hydrated,()=>!1),Q=()=>R(z,()=>L().showBanner,()=>q().showBanner),be=()=>R(z,()=>L().isModalOpen,()=>q().isModalOpen);function T(){return j(V())}function W(e){if(!e||typeof e!="string")return;let t=e.trim();if(t.length===0)return;if(t.startsWith("/")||t.startsWith("#")||t.startsWith("?"))return t;let o=t.toLowerCase();if(o.startsWith("http://")||o.startsWith("https://")||o.startsWith("mailto:")||o.startsWith("tel:"))return t}var je="#2c5282",D=e=>e.primaryColor??je,Fe=e=>e.domain||e.name;var Et={s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5,M:2592e6,y:31536e6},_t={s:"s",sec:"s",m:"M",min:"m",h:"h",hr:"h",d:"d",day:"d",days:"d",w:"w",week:"w",weeks:"w",M:"M",month:"M",months:"M",y:"y",year:"y",years:"y"},Rt=/^(\d+)\s*(min|sec|hr|days?|weeks?|months?|years?|[smhdwMy])$/;function Bt(e){if(typeof e!="string")return null;let t=e.trim().match(Rt);if(!t)return null;let o=Number(t[1]);if(!Number.isFinite(o)||o<0)return null;let i=_t[t[2]];return i?o*Et[i]:null}function qe(e,t=new Date){let o=Bt(e);return o===null?null:new Date(t.getTime()+o)}function Oe(e,t){if(e)try{e(t)}catch{}}function Ue(e,t){if(!(typeof window>"u"))try{fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),keepalive:!0,credentials:"same-origin"}).catch(()=>{})}catch{}}var le={"google-analytics":{id:"google-analytics",name:"Google Analytics 4",category:"automatic",consentCategory:"statistical",purposes:["Statistica","Ottimizzazione"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ga",provider:"google-analytics.com",purpose:"Identificatore univoco utente per statistiche di sessione",duration:"2 anni",type:"statistical"},{name:"_ga_<container-id>",provider:"google-analytics.com",purpose:"Stato di sessione GA4",duration:"2 anni",type:"statistical"}]},"facebook-pixel":{id:"facebook-pixel",name:"Meta Pixel",category:"automatic",consentCategory:"marketing",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_fbp",provider:"facebook.com",purpose:"Identificatore browser per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"fr",provider:"facebook.com",purpose:"Pubblicit\xE0 mirata e misurazione",duration:"90 giorni",type:"marketing"},{name:"_fbc",provider:"facebook.com",purpose:"Click-ID per attribuzione di campagna",duration:"90 giorni",type:"marketing"}]},"google-ads":{id:"google-ads",name:"Google Ads",category:"marketing",consentCategory:"marketing",purposes:["Marketing","Targeting","Misurazione conversioni"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"IDE",provider:"doubleclick.net",purpose:"Profilazione e remarketing Google Ads",duration:"13 mesi",type:"marketing"},{name:"_gcl_au",provider:"google.com",purpose:"Misurazione conversioni cross-site",duration:"90 giorni",type:"marketing"},{name:"NID",provider:"google.com",purpose:"Memorizza preferenze utente per annunci",duration:"6 mesi",type:"marketing"}]},"linkedin-insight":{id:"linkedin-insight",name:"LinkedIn Insight Tag",category:"automatic",consentCategory:"marketing",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"li_sugr",provider:"linkedin.com",purpose:"Inferenza identit\xE0 per attribuzione campagne",duration:"90 giorni",type:"marketing"},{name:"lidc",provider:"linkedin.com",purpose:"Routing data center",duration:"24 ore",type:"marketing"}]},"tiktok-pixel":{id:"tiktok-pixel",name:"TikTok Pixel",category:"automatic",consentCategory:"marketing",purposes:["Marketing","Targeting","Statistica"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_ttp",provider:"tiktok.com",purpose:"Identificatore univoco utente TikTok Pixel",duration:"13 mesi",type:"marketing"}]},"microsoft-clarity":{id:"microsoft-clarity",name:"Microsoft Clarity",category:"automatic",consentCategory:"statistical",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento","Screencast sessione"],lawfulBasis:"consent",cookies:[{name:"_clck",provider:"clarity.ms",purpose:"ID utente persistente Clarity",duration:"1 anno",type:"statistical"},{name:"_clsk",provider:"clarity.ms",purpose:"Sessione di registrazione Clarity",duration:"24 ore",type:"statistical"}]},hotjar:{id:"hotjar",name:"Hotjar",category:"automatic",consentCategory:"statistical",purposes:["Statistica","Analisi del comportamento"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"_hjSessionUser_<id>",provider:"hotjar.com",purpose:"Identificatore utente persistente",duration:"1 anno",type:"statistical"},{name:"_hjSession_<id>",provider:"hotjar.com",purpose:"Sessione di registrazione",duration:"30 minuti",type:"statistical"}]},"google-tag-manager":{id:"google-tag-manager",name:"Google Tag Manager",category:"automatic",consentCategory:"marketing",purposes:["Gestione dei tag"],dataCollected:["Dati di utilizzo"],lawfulBasis:"consent"},mailchimp:{id:"mailchimp",name:"Mailchimp",category:"provided",consentCategory:"necessary",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome","Dati di utilizzo"],lawfulBasis:"consent"},newsletter:{id:"newsletter",name:"Newsletter",category:"provided",consentCategory:"necessary",purposes:["Gestione database Utenti","Invio messaggi"],dataCollected:["Email","Nome","Cognome"],lawfulBasis:"consent"},stripe:{id:"stripe",name:"Stripe",category:"automatic",consentCategory:"necessary",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract",cookies:[{name:"__stripe_mid",provider:"stripe.com",purpose:"Prevenzione frodi",duration:"1 anno",type:"technical"},{name:"__stripe_sid",provider:"stripe.com",purpose:"Sessione di pagamento",duration:"30 minuti",type:"technical"}]},paypal:{id:"paypal",name:"PayPal",category:"automatic",consentCategory:"necessary",purposes:["Gestione dei pagamenti"],dataCollected:["Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio"],lawfulBasis:"contract"},youtube:{id:"youtube",name:"YouTube Video Widget",category:"automatic",consentCategory:"externalContent",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Strumenti di Tracciamento"],lawfulBasis:"consent",cookies:[{name:"VISITOR_INFO1_LIVE",provider:"youtube.com",purpose:"Stima banda utente per pre-buffering",duration:"6 mesi",type:"statistical"},{name:"YSC",provider:"youtube.com",purpose:"Sessione video corrente",duration:"Sessione",type:"statistical"}]},"google-maps":{id:"google-maps",name:"Google Maps Widget",category:"automatic",consentCategory:"externalContent",purposes:["Visualizzazione di contenuti da piattaforme esterne"],dataCollected:["Dati di utilizzo","Posizione geografica","Strumenti di Tracciamento"],lawfulBasis:"consent"},"contact-form":{id:"contact-form",name:"Modulo di contatto",category:"provided",consentCategory:"necessary",purposes:["Contattare l'utente","Gestione richieste"],dataCollected:["Email","Nome","Cognome","Dati vari"],lawfulBasis:"contract"},"google-fonts":{id:"google-fonts",name:"Google Fonts",category:"automatic",consentCategory:"externalContent",purposes:["Visualizzazione dei contenuti"],dataCollected:["Dati di utilizzo","Varie tipologie di Dati"],lawfulBasis:"consent"}},H=e=>typeof e=="string"?le[e]||{id:e,name:e,category:"automatic",purposes:[],dataCollected:[]}:e,Gt={Statistica:"statistics",Ottimizzazione:"optimization",Marketing:"marketing",Targeting:"targeting","Analisi del comportamento":"behaviorAnalysis","Screencast sessione":"sessionScreencast","Dati di utilizzo":"usageData","Strumenti di Tracciamento":"trackingTools","Gestione dei tag":"tagManagement","Gestione database Utenti":"userDatabaseManagement","Invio messaggi":"sendingMessages",Nome:"name",Cognome:"surname",Email:"email","Gestione dei pagamenti":"paymentManagement","Varie tipologie di Dati secondo quanto specificato dalla privacy policy del servizio":"variousDataAsSpecified","Visualizzazione di contenuti da piattaforme esterne":"externalContent","Posizione geografica":"geographicPosition","Contattare l'utente":"contactUser","Gestione richieste":"requestManagement","Dati vari":"variousData","Visualizzazione dei contenuti":"contentDisplay","Varie tipologie di Dati":"variousDataTypes","Modulo di Contatto":"contactForm","Modulo di contatto":"contactForm","Widget Video YouTube":"youtubeWidget","Widget Google Maps":"googleMapsWidget","Stati Uniti":"unitedStates",Irlanda:"ireland",Malta:"malta",Francia:"france",Italia:"italy","Hosting e CDN del sito.":"siteHostingAndCdn","Trasmissione form contatti":"contactFormTransmission","Trasmissione form contatti tramite SMTP":"contactFormTransmissionSmtp","Analytics 4, Ads, Tag Manager, Fonts":"analyticsAdsTagFonts","Meta Pixel, Conversion API":"metaPixelConversionApi","Session recording, heatmap":"sessionRecordingHeatmap","Prevenzione frodi":"fraudPrevention","Sessione di pagamento":"paymentSession",Statistics:"statistics",Optimization:"optimization","Behavior analysis":"behaviorAnalysis","Session screencast":"sessionScreencast","Usage data":"usageData","Tracking Tools":"trackingTools","Tag management":"tagManagement","User database management":"userDatabaseManagement","Sending messages":"sendingMessages",Name:"name","Last Name":"surname",Surname:"surname","Payment management":"paymentManagement","Various types of Data as specified in the privacy policy of the service":"variousDataAsSpecified","Displaying content from external platforms":"externalContent","Geographic position":"geographicPosition","Contacting the user":"contactUser","Request management":"requestManagement","Various data":"variousData","Content display":"contentDisplay","Various types of Data":"variousDataTypes","Contact Form":"contactForm","YouTube Video Widget":"youtubeWidget","Google Maps Widget":"googleMapsWidget","United States":"unitedStates",Ireland:"ireland",France:"france",Italy:"italy","Site hosting and CDN.":"siteHostingAndCdn","Contact form transmission":"contactFormTransmission","Contact form transmission via SMTP":"contactFormTransmissionSmtp","Fraud prevention":"fraudPrevention","Payment session":"paymentSession"},ce=(e,t)=>{let o=e.trim().replace(/\s+/g," "),i=Gt[o];return i?t(i):e};function Ve(e){if(typeof e=="string"&&!le[e])return;let t=H(e);if(t.consentCategory)return t.consentCategory;if(t.category==="marketing")return"marketing";let o=(t.cookies??[]).map(i=>i.type);if(o.includes("marketing")||o.includes("profiling"))return"marketing";if(o.includes("statistical"))return"statistical";if(t.category==="provided"||o.length>0||t.lawfulBasis&&t.lawfulBasis!=="consent")return"necessary"}function Z(e=[],t=[]){let o=new Set(t);for(let r of e)o.add(Ve(r));let i=e.length===0||o.has(void 0),n=[];return(i||o.has("statistical"))&&n.push("measurement"),o.has("marketing")&&n.push("marketing"),o.has("externalContent")&&n.push("externalContent"),n}var jt={measurement:"bannerDescriptionMeasurement",marketing:"bannerDescriptionMarketing",externalContent:"bannerDescriptionExternalContent"};function We(e,t){return e.map(o=>t(jt[o])).join(", ")}function He(e=[],t,o){return e.filter(i=>Ve(i)===t).map(i=>ce(H(i).name,o))}import{useEffect as $e,useId as X,useRef as Ft,useState as qt}from"react";import{jsx as l,jsxs as m}from"react/jsx-runtime";var Ot='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';function Ut(e,t){let o=Array.from(t.querySelectorAll(Ot));if(o.length===0)return;let i=o[0],n=o[o.length-1],r=document.activeElement,s=r!==t&&t.contains(r);e.shiftKey&&(!s||r===i)?(e.preventDefault(),n.focus()):!e.shiftKey&&(!s||r===n)&&(e.preventDefault(),i.focus())}function Vt(e){(e instanceof HTMLElement&&e.isConnected?e:document.querySelector("[data-graffico-legal-toggle]"))?.focus()}var de=()=>{let e=_(),t=B(),o=be(),i=se(),n=V(),r=T(),[s,g]=qt(t),f=Ft(null),p=X(),b=X(),w=X(),c=D(e),u=Z(e.services,i).includes("externalContent");if($e(()=>{g(t)},[t,o]),$e(()=>{if(!o)return;let M=document.activeElement;f.current?.focus();let E=G=>{let Le=f.current;Le&&(G.key==="Escape"?k(!1):G.key==="Tab"&&Ut(G,Le))};return document.addEventListener("keydown",E),()=>{document.removeEventListener("keydown",E),Vt(M)}},[o]),!o)return null;let oe=(M,E)=>{let G=He(e.services,E,r);return G.length===0?M:`${M} ${r("providersLabel")}: ${G.join(", ")}.`},pe=M=>{M!=="necessary"&&g(E=>({...E,[M]:!E[M]}))};return l("div",{ref:f,role:"dialog","aria-modal":"true","aria-labelledby":p,tabIndex:-1,className:"fixed inset-0 z-10000 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm animate-in fade-in duration-300 outline-none",children:m("div",{className:"w-full max-w-2xl max-h-[90vh] bg-white/95 text-gray-900 border-gray-100 rounded-3xl shadow-2xl overflow-hidden flex flex-col animate-in zoom-in-95 duration-300",children:[m("div",{className:"p-6 md:p-8 border-b border-gray-100 flex items-center justify-between",children:[m("div",{children:[l("h2",{id:p,className:"text-2xl font-black tracking-tight text-gray-900",children:r("preferencesTitle")}),l("p",{className:"text-sm text-gray-500 font-medium",children:r("preferencesSubtitle")})]}),l("button",{onClick:()=>k(!1),"aria-label":r("close"),className:"p-2 text-gray-400 hover:text-gray-900 transition-colors",children:l("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),m("div",{className:"flex-1 overflow-y-auto p-6 md:p-8",children:[l("p",{className:"text-sm text-gray-600 leading-relaxed",children:r("preferencesDescription")}),l("div",{className:"space-y-4",children:m("div",{className:"flex flex-col gap-4",children:[m("div",{className:"p-4 bg-gray-50 rounded-2xl border border-gray-100 flex items-center justify-between",children:[m("div",{className:"max-w-[80%]",children:[l("h3",{id:b,className:"font-bold text-gray-900",children:r("necessaryTitle")}),l("p",{id:w,className:"text-xs text-gray-500 mt-0.5",children:r("necessaryDescription")})]}),m("button",{type:"button",role:"switch","aria-checked":"true","aria-disabled":"true","aria-labelledby":b,"aria-describedby":w,className:"relative inline-flex items-center cursor-not-allowed opacity-50",children:[l("span",{className:"w-11 h-6 rounded-full",style:{backgroundColor:c}}),l("span",{className:"absolute left-6 w-4 h-4 bg-white rounded-full"})]})]}),l(we,{title:r("measurementTitle"),description:oe(r("measurementDescription"),"statistical"),active:s.statistical,primaryColor:c,onClick:()=>pe("statistical")}),l(we,{title:r("marketingTitle"),description:oe(r("marketingDescription"),"marketing"),active:s.marketing,primaryColor:c,onClick:()=>pe("marketing")}),u&&l(we,{title:r("externalContentTitle"),description:oe(r("externalContentDescription"),"externalContent"),active:s.externalContent,primaryColor:c,onClick:()=>pe("externalContent")})]})}),t.consentId&&m("div",{className:"pt-8 mt-4 border-t border-gray-100",children:[l("div",{className:"bg-gray-50/50 p-4 rounded-2xl border border-dashed border-gray-200",children:m("div",{className:"flex flex-col gap-2",children:[m("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-[10px] font-black text-gray-400 uppercase tracking-widest",children:r("consentId")}),l("span",{className:"text-[10px] font-mono text-gray-500 bg-white px-2 py-0.5 rounded border border-gray-100",children:t.consentId})]}),m("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-[10px] font-black text-gray-400 uppercase tracking-widest",children:r("consentDate")}),l("span",{className:"text-[10px] font-bold text-gray-500",children:t.timestamp?new Date(t.timestamp).toLocaleString(Ne(n)):"-"})]})]})}),l("p",{className:"text-[9px] text-gray-400 mt-3 leading-relaxed",children:r("legalProofDescription")})]})]}),m("div",{className:"p-6 bg-gray-50 border-t border-gray-100 flex flex-col sm:flex-row gap-3",children:[l("button",{onClick:()=>O("modal"),className:"flex-1 px-6 py-3 border border-gray-300 text-gray-700 font-bold rounded-xl hover:bg-white transition-all text-sm uppercase tracking-wider",children:r("declineAll")}),l("button",{onClick:()=>ye(s,"modal"),className:"flex-1 px-6 py-3 bg-gray-900 text-white font-bold rounded-xl hover:bg-black transition-all text-sm uppercase tracking-wider",children:r("saveAndContinue")}),l("button",{onClick:()=>Y("modal"),className:"flex-1 px-6 py-3 text-white font-bold rounded-xl hover:opacity-90 transition-all text-sm uppercase tracking-wider",style:{backgroundColor:c},children:r("acceptAll")})]})]})})};function we({title:e,description:t,active:o,primaryColor:i,onClick:n}){let r=X(),s=X();return m("div",{className:"p-4 bg-white rounded-2xl border border-gray-100 flex items-center justify-between transition-colors cursor-pointer group/item",onClick:n,children:[m("div",{className:"max-w-[80%]",children:[l("h3",{id:r,className:"font-bold text-gray-900",children:e}),l("p",{id:s,className:"text-xs text-gray-500 mt-0.5",children:t})]}),l("button",{type:"button",role:"switch","aria-checked":o,"aria-labelledby":r,"aria-describedby":s,className:"relative inline-flex items-center h-6 rounded-full w-11 transition-colors duration-200 cursor-pointer",style:{backgroundColor:o?i:"#e5e7eb"},children:l("span",{className:`inline-block w-4 h-4 transform bg-white rounded-full transition-transform duration-200 ${o?"translate-x-6":"translate-x-1"}`})})]})}import{jsx as Ce,jsxs as Ht}from"react/jsx-runtime";var Wt={"bottom-right":"bottom-6 right-6","bottom-left":"bottom-6 left-6","top-right":"top-6 right-6","top-left":"top-6 left-6"},ke=()=>{let e=_(),t=Q(),o=T();if(t)return null;let i=e.togglePosition??"bottom-right";return Ht("button",{onClick:()=>k(!0),"data-graffico-legal-toggle":"",className:`fixed ${Wt[i]} z-8000 w-12 h-12 bg-white rounded-xl shadow-xl border border-gray-100 flex items-center justify-center hover:scale-110 active:scale-95 transition-all group`,style:{color:D(e)},"aria-label":o("privacyPreferences"),children:[Ce("svg",{className:"w-6 h-6 group-hover:rotate-12 transition-transform",fill:"currentColor",viewBox:"0 0 24 24",children:Ce("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"})}),Ce("span",{className:"absolute right-full mr-3 px-2 py-1 bg-black text-white text-[10px] rounded opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap pointer-events-none",children:o("privacyPreferences")})]})};import{Fragment as xe,jsx as h,jsxs as I}from"react/jsx-runtime";var $t=()=>{let e=_(),t=Q(),o=se(),i=T();if(!t)return I(xe,{children:[h(ke,{}),h(de,{})]});let n=e.theme!=="light",r=D(e),s=Z(e.services,o);return I(xe,{children:[h("div",{role:"dialog","aria-modal":"false","aria-labelledby":"graffico-legal-banner-title",className:"fixed bottom-0 left-0 right-0 p-3 md:p-8 z-9000 flex justify-center animate-in slide-in-from-bottom-full duration-500",children:I("div",{className:`w-full max-w-5xl rounded-3xl md:rounded-4xl shadow-[0_20px_50px_rgba(0,0,0,0.3)] backdrop-blur-xl border p-4 md:p-8 flex flex-col md:flex-row items-center gap-4 md:gap-6 relative overflow-hidden ${n?"bg-black/95 text-white border-white/10":"bg-white/95 text-gray-900 border-gray-100"}`,children:[h("div",{className:"absolute -bottom-24 -right-24 w-64 h-64 blur-[100px] opacity-20 transition-colors pointer-events-none",style:{backgroundColor:r}}),h("button",{type:"button",onClick:()=>O("banner"),"aria-label":i("closeWithoutAccepting"),className:`absolute top-3 right-3 md:top-4 md:right-4 z-20 cursor-pointer p-1.5 rounded-full transition-colors ${n?"text-gray-400 hover:text-white":"text-gray-500 hover:text-gray-900"}`,children:h("svg",{"aria-hidden":"true",className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),I("div",{className:"grow space-y-2 md:space-y-3 text-center md:text-left relative z-10",children:[h("h2",{id:"graffico-legal-banner-title",className:"text-base md:text-xl font-black tracking-tight",children:i("bannerTitle")}),I("p",{className:`text-[11px] md:text-sm leading-relaxed max-w-3xl font-medium ${n?"text-gray-400":"text-gray-500"}`,children:[s.length===0?i("bannerDescriptionTechnicalOnly"):I(xe,{children:[i("bannerDescription"),h("span",{className:n?"text-white":"text-gray-900",children:We(s,i)}),i("bannerDescriptionEnd")]}),h("a",{href:W(e.cookiePolicyPath)??"/cookie-policy",className:"underline hover:opacity-80 transition-opacity font-bold",style:{color:n?"inherit":r},children:i("cookiePolicyLink")}),s.length>0&&`. ${i("bannerCloseNotice")}.`]})]}),I("div",{className:"flex flex-col items-center gap-4 w-full md:w-auto relative z-10",children:[I("div",{className:"flex flex-row items-center gap-2 md:gap-3 w-full md:w-auto",children:[h("button",{onClick:()=>O("banner"),className:`cursor-pointer flex-1 md:flex-initial px-4 md:px-8 py-2.5 md:py-3 font-black rounded-xl md:rounded-2xl transition-all text-[10px] md:text-[11px] uppercase tracking-widest whitespace-nowrap md:shadow-lg ${n?"bg-white text-gray-900 hover:bg-gray-100":"bg-gray-900 text-white hover:bg-black"}`,children:i("decline")}),h("button",{onClick:()=>Y("banner"),className:"cursor-pointer flex-1 md:flex-initial px-4 md:px-8 py-2.5 md:py-3 text-white font-black rounded-xl md:rounded-2xl transition-all text-[10px] md:text-[11px] uppercase tracking-widest whitespace-nowrap md:shadow-lg",style:{backgroundColor:r},children:i("accept")})]}),h("button",{onClick:()=>k(!0),className:`cursor-pointer text-[9px] md:text-[10px] font-bold uppercase tracking-widest underline-offset-4 hover:underline transition-opacity ${n?"text-gray-400 hover:text-white":"text-gray-500 hover:text-gray-900"}`,children:i("customize")})]})]})}),h(de,{})]})};import{useMemo as Kt,useState as Jt}from"react";import{Fragment as ao,jsx as a,jsxs as d}from"react/jsx-runtime";var Te=4,Ye=({id:e})=>{switch(e){case"google-analytics":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:[a("path",{d:"M12 2L4.5 20.29L5.21 21L12 18L18.79 21L19.5 20.29L12 2Z",fill:"currentColor",fillOpacity:"0.2"}),a("path",{d:"M12 18V2M12 18L5.21 21L4.5 20.29L12 2M12 18L18.79 21L19.5 20.29L12 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});case"facebook-pixel":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M18 2H15C12.7909 2 11 3.79086 11 6V9H8V13H11V22H15V13H18L19 9H15V6C15 5.44772 15.4477 5 16 5H18V2Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"google-fonts":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M4 7V4H20V7M5 20H19M12 4V20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"linkedin-insight":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a("rect",{x:"2",y:"9",width:"4",height:"12"}),a("circle",{cx:"4",cy:"4",r:"2"})]});case"tiktok-pixel":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:a("path",{d:"M9 12a4 4 0 1 0 4 4V4a5 5 0 0 0 5 5"})});case"microsoft-clarity":case"hotjar":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),a("circle",{cx:"12",cy:"12",r:"3"})]});case"google-tag-manager":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:a("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"})});case"mailchimp":case"newsletter":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"m22 2-7 20-4-9-9-4Z"}),a("path",{d:"M22 2 11 13"})]});case"stripe":case"paypal":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("rect",{x:"1",y:"4",width:"22",height:"16",rx:"2",ry:"2"}),a("line",{x1:"1",y1:"10",x2:"23",y2:"10"})]});case"youtube":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"}),a("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"})]});case"google-maps":return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),a("circle",{cx:"12",cy:"10",r:"3"})]});case"contact-form":return a("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:a("path",{d:"M3 8L10.89 13.26C11.56 13.71 12.44 13.71 13.11 13.26L21 8M5 19H19C20.1 19 21 18.1 21 17V7C21 5.9 20.1 5 19 5H5C3.9 5 3 5.9 3 7V17C3 18.1 3.9 19 5 19Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});default:return d("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"none",children:[a("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),a("path",{d:"M12 8V16M8 12H16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}},Yt=({config:e,language:t}={})=>{let o=U(),i=V(),n=e??o,r=t??i,s=j(r),g=n?D(n):"#2c5282",{automaticServices:f,providedServices:p}=Kt(()=>{if(!n)return{automaticServices:[],providedServices:[]};let b=c=>ce(c,s),w=(n.services??[]).map(c=>{let u=H(c);return{...u,name:b(u.name),purposes:u.purposes.map(b),dataCollected:u.dataCollected.map(b)}});return{automaticServices:w.filter(c=>c.category==="automatic"||c.category==="marketing"),providedServices:w.filter(c=>c.category==="provided")}},[n,r,s]);return n?d("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 p-1",children:[a(Ke,{variant:"compact",title:s("automaticDataTitle"),subtitle:s("monitorTitle"),description:d(ao,{children:[s("automaticDataDescription"),a("span",{className:"text-gray-900 font-black",children:Fe(n)})," ",s("automaticDataIncludes")]}),emptyLabel:s("noActiveService"),primaryColor:g,services:f,icon:a(to,{}),emptyIcon:a(io,{})}),a(Ke,{variant:"expanded",title:s("providedDataTitle"),subtitle:s("supportTitle"),description:s("providedDataDescription"),emptyLabel:s("noActiveService"),primaryColor:g,services:p,icon:a(oo,{}),emptyIcon:a(no,{})})]}):null};function Ke({variant:e,title:t,subtitle:o,description:i,emptyLabel:n,primaryColor:r,services:s,icon:g,emptyIcon:f}){let[p,b]=Jt(0),w=Math.ceil(s.length/Te),c=s.slice(p*Te,(p+1)*Te);return d("div",{className:"bg-white p-8 rounded-[2.5rem] border border-gray-100 shadow-sm flex flex-col transition-all hover:shadow-xl group/card min-h-[750px]",children:[d("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-8",children:[d("div",{className:"flex items-center gap-4",children:[a("div",{className:"p-3 rounded-2xl shrink-0",style:{backgroundColor:`${r}1a`,color:r},children:g}),d("div",{children:[a("h3",{className:"text-xl sm:text-2xl font-black text-gray-900 tracking-tight leading-tight",children:t}),a("p",{className:"text-[10px] text-gray-400 font-black uppercase tracking-widest mt-0.5",children:o})]})]}),w>1&&a(Qt,{page:p,totalPages:w,onChange:b})]}),a("p",{className:"text-gray-500 mb-8 text-sm leading-relaxed font-medium",children:i}),a("div",{className:"space-y-4 grow",children:c.length>0?a("div",{className:"grid grid-cols-1 gap-4 animate-in fade-in slide-in-from-bottom-2 duration-300",children:c.map(u=>e==="compact"?a(Zt,{service:u,primaryColor:r},u.id):a(Xt,{service:u,primaryColor:r},u.id))}):a(eo,{icon:f,label:n})})]})}function Qt({page:e,totalPages:t,onChange:o}){return d("div",{className:"flex items-center gap-2 bg-gray-50/50 p-1.5 rounded-2xl border border-gray-100 self-end sm:self-center",children:[a(Je,{disabled:e===0,onClick:()=>o(e-1),d:"M15 19l-7-7 7-7"}),d("span",{className:"text-[10px] font-black font-mono text-gray-500 w-10 text-center",children:[e+1," / ",t]}),a(Je,{disabled:e>=t-1,onClick:()=>o(e+1),d:"M9 5l7 7-7 7"})]})}function Je({disabled:e,onClick:t,d:o}){return a("button",{disabled:e,onClick:t,className:`p-2 rounded-xl transition-all ${e?"opacity-20 cursor-not-allowed":"bg-white hover:bg-gray-100 active:scale-95 text-gray-900 shadow-sm"}`,children:a("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:o})})})}function Qe({tags:e}){return a("div",{className:"flex flex-wrap gap-2",children:e.map(t=>a("span",{className:"px-3 py-1 bg-white text-gray-600 text-[11px] font-bold rounded-xl border border-gray-100 shadow-sm",children:t},t))})}function Zt({service:e,primaryColor:t}){return d("div",{className:"flex items-center gap-4 bg-gray-50/50 p-5 rounded-3xl border border-gray-100 hover:bg-white transition-all group",children:[a("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center shrink-0 shadow-sm border border-gray-100 transition-all group-hover:scale-110 bg-white",style:{color:t},children:a(Ye,{id:e.id})}),d("div",{children:[a("h4",{className:"text-base font-black text-gray-900 leading-none",children:e.name}),a("div",{className:"mt-2",children:a(Qe,{tags:e.dataCollected})})]})]})}function Xt({service:e,primaryColor:t}){return d("div",{className:"p-6 bg-gray-50/50 rounded-3xl border border-gray-100 hover:bg-white transition-all group",children:[d("div",{className:"flex items-center justify-between mb-4",children:[d("div",{className:"flex items-center gap-3",children:[a("div",{className:"text-gray-400 group-hover:scale-110 transition-transform",style:{color:t},children:a(Ye,{id:e.id})}),a("h4",{className:"text-base font-black text-gray-900 leading-none",children:e.name})]}),a("div",{className:"h-2 w-2 rounded-full",style:{backgroundColor:t}})]}),a(Qe,{tags:e.dataCollected})]})}function eo({icon:e,label:t}){return d("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[a("div",{className:"w-12 h-12 rounded-full bg-gray-50 flex items-center justify-center mb-3",children:e}),a("p",{className:"text-xs text-gray-400 font-bold uppercase tracking-widest",children:t})]})}var to=()=>d("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04"}),a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})]}),oo=()=>a("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),io=()=>a("svg",{className:"w-6 h-6 text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),no=()=>a("svg",{className:"w-6 h-6 text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})});import{Fragment as Se,jsx as De}from"react/jsx-runtime";function ro({category:e,children:t,fallback:o=null,renderWhileHydrating:i=!1}){let n=y(e);return n===void 0?De(Se,{children:i?t:o}):n?De(Se,{children:t}):De(Se,{children:o})}import{jsx as lo}from"react/jsx-runtime";function so({className:e}){let t=T();return lo("button",{type:"button",onClick:()=>k(!0),className:e??"cursor-pointer underline-offset-4 hover:underline",children:t("reviewCookieChoices")})}import{jsx as A,jsxs as $}from"react/jsx-runtime";function co({language:e,primaryColor:t,privacyPolicyPath:o}){let i=j(e);return $("div",{className:"p-12 rounded-[3.5rem] text-white space-y-8 shadow-2xl relative overflow-hidden",style:{backgroundColor:t,boxShadow:`0 20px 50px ${t}33`},children:[$("div",{className:"relative z-10",children:[A("h3",{className:"text-3xl font-black",children:i("preferenceCenterTitle")}),A("p",{className:"text-white/80 font-medium mt-3 max-w-xl",children:i("preferenceCenterDescription")}),$("div",{className:"pt-10 flex flex-wrap gap-4",children:[A("button",{onClick:()=>k(!0),className:"px-8 py-4 bg-white text-gray-900 font-black rounded-2xl hover:scale-105 transition-all text-sm uppercase tracking-widest shadow-xl",style:{color:t},children:i("managePreferencesButton")}),A("button",{onClick:he,className:"px-8 py-4 bg-white/10 hover:bg-white/20 text-white font-black rounded-2xl transition-all text-sm uppercase tracking-widest border border-white/10",children:i("resetBannerButton")})]}),$("div",{className:"pt-12 flex flex-wrap gap-8 text-[10px] font-black uppercase tracking-widest",children:[A("a",{href:W(o)??"/privacy-policy",className:"text-white/70 hover:text-white transition-colors underline decoration-2 underline-offset-4",children:i("fullPrivacyPolicyLink")}),$("span",{className:"cursor-help text-white/70 hover:text-white transition-colors relative group",children:[i("browserInfo"),$("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-4 w-72 p-5 bg-white text-gray-900 text-[12px] font-medium leading-relaxed rounded-2xl opacity-0 group-hover:opacity-100 transition-all pointer-events-none shadow-[0_20px_50px_rgba(0,0,0,0.3)] z-50 normal-case tracking-normal border border-gray-100 scale-95 group-hover:scale-100 origin-bottom",children:[A("p",{className:"font-black text-[10px] uppercase tracking-widest mb-2",style:{color:t},children:i("browserSettingsTitle")}),i("browserSettingsDescription"),A("div",{className:"absolute top-full left-1/2 -translate-x-1/2 border-8 border-transparent border-t-white"})]})]})]})]}),A("div",{className:"absolute -bottom-24 -right-24 w-80 h-80 bg-white/10 rounded-full blur-3xl"})]})}import{useEffect as uo}from"react";import{jsx as go}from"react/jsx-runtime";var po=`
3
3
  (function(){
4
4
  if (window.__gLegalConsentBooted) return;
5
5
  window.__gLegalConsentBooted = true;
@@ -20,4 +20,4 @@ import{createContext as pt,useContext as ke,useEffect as we,useMemo as gt}from"r
20
20
  window.gtag('set', 'ads_data_redaction', true);
21
21
  window.gtag('set', 'url_passthrough', true);
22
22
  })();
23
- `;function Ee({regions:e}={}){let{statistical:t,marketing:i}=N();return Vt(()=>{if(typeof window>"u"||typeof window.gtag!="function")return;let o={analytics_storage:t?"granted":"denied",ad_storage:i?"granted":"denied",ad_user_data:i?"granted":"denied",ad_personalization:i?"granted":"denied",personalization_storage:i?"granted":"denied"};e&&e.length>0?window.gtag("consent","update",{...o,region:e}):window.gtag("consent","update",o)},[t,i,e]),Ot("script",{dangerouslySetInnerHTML:{__html:Ut}})}import{useCallback as qt,useEffect as Wt}from"react";function v(e,t){if(typeof document>"u"||document.getElementById(t))return;let i=document.createElement("script");i.id=t,i.async=!0,i.src=e,i.dataset.grafficoLegal="1",document.head.appendChild(i)}function X(){typeof window>"u"||(window.dataLayer=window.dataLayer||[],typeof window.gtag!="function"&&(window.gtag=function(){window.dataLayer.push(arguments)}))}function G(e){if(typeof document>"u")return;let t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild(t)}function j(e,t){typeof window>"u"||(window[`ga-disable-${e}`]=t)}function F(e){if(typeof document>"u"||typeof window>"u")return;let t=window.location.hostname,i=t.split(".").slice(-2).join("."),o="expires=Thu, 01 Jan 1970 00:00:00 GMT";for(let n of e)document.cookie=`${n}=; ${o}; path=/`,document.cookie=`${n}=; ${o}; path=/; domain=${t}`,document.cookie=`${n}=; ${o}; path=/; domain=.${i}`}var Re=e=>`graffico-legal-ga-${e}`;function Ht(e){return["_ga","_gid",`_ga_${e.replace(/^G-/,"")}`,`_gat_${e}`,"_gcl_au"]}function Be({gaId:e,category:t="statistical",anonymizeIp:i=!0,sendPageViews:o=!0,debug:n=!1}){let r=d(t);return Wt(()=>{if(!(typeof window>"u")){if(r){j(e,!1),X(),v(`https://www.googletagmanager.com/gtag/js?id=${e}`,Re(e)),window.gtag("js",new Date),window.gtag("config",e,{anonymize_ip:i,send_page_view:o,debug_mode:n});return}r===!1&&(j(e,!0),G(Re(e)),F(Ht(e)))}},[r,e,i,o,n]),null}function Ge(){let e=d("statistical");return qt((t,i)=>{e&&(typeof window>"u"||typeof window.gtag!="function"||window.gtag("event",t,i))},[e])}import{useCallback as $t,useEffect as Jt}from"react";var Kt=["_gcl_au","_gcl_aw","_gcl_dc"],je=e=>`graffico-legal-ads-${e}`,Fe={};function Ve({conversionId:e,conversions:t,category:i="marketing"}){let o=d(i);return Fe=t??{},Jt(()=>{if(!(typeof window>"u")){if(o){j(e,!1),X(),v(`https://www.googletagmanager.com/gtag/js?id=${e}`,je(e)),window.gtag("js",new Date),window.gtag("config",e);return}o===!1&&(j(e,!0),G(je(e)),F(Kt))}},[o,e]),null}function Ue(e){let t=d("marketing");return $t(i=>{if(!t)return;let o=Fe[e];o&&(typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","conversion",{send_to:o.sendTo,value:o.value,currency:o.currency,...i}))},[t,e])}import{useCallback as Yt,useEffect as Qt}from"react";var ge=null;function Zt(e,t){let i=window;if(i.fbq){i.fbq("consent","grant");return}let o=function(...n){o.callMethod?o.callMethod.apply(o,n):o.queue.push(n)};o.queue=[],o.push=o,o.loaded=!0,o.version="2.0",i.fbq=o,i._fbq||(i._fbq=o),v("https://connect.facebook.net/en_US/fbevents.js",`graffico-legal-meta-${e}`),o("init",e),t&&o("track","PageView")}function Oe({pixelId:e,category:t="marketing",autoPageView:i=!0,events:o}){let n=d(t);return ge=o??null,Qt(()=>{n?Zt(e,i):n===!1&&typeof window.fbq=="function"&&window.fbq("consent","revoke")},[n,e,i]),null}function qe(e){let t=d("marketing");return Yt(i=>{if(t){if(ge&&!ge.includes(e)){typeof console<"u"&&console.warn(`[graffico-legal] Meta event "${e}" non in whitelist`);return}typeof window>"u"||typeof window.fbq!="function"||window.fbq("track",e,i)}},[t,e])}import{useEffect as Xt}from"react";function We({containerId:e,category:t="marketing",dataLayerName:i="dataLayer"}){let o=d(t);return Xt(()=>{if(!o)return;let n=window;n[i]=n[i]||[],n[i].push({"gtm.start":Date.now(),event:"gtm.js"});let r=i!=="dataLayer"?`&l=${i}`:"";v(`https://www.googletagmanager.com/gtm.js?id=${e}${r}`,`graffico-legal-gtm-${e}`)},[o,e,i]),null}import{useCallback as He,useEffect as ei}from"react";function $e({siteId:e,snippetVersion:t=6,category:i="statistical"}){let o=d(i);return ei(()=>{if(!o||typeof window>"u"||window.hj)return;let n=[],r=function(...s){n.push(s)};r.q=n,window.hj=r,window._hjSettings={hjid:e,hjsv:t},v(`https://static.hotjar.com/c/hotjar-${e}.js?sv=${t}`,`graffico-legal-hotjar-${e}`)},[o,e,t]),null}function Je(e="statistical"){let t=d(e);return He(i=>{t&&(typeof window>"u"||typeof window.hj!="function"||window.hj("event",i))},[t])}function Ke(e="statistical"){let t=d(e);return He((i,o)=>{t&&(typeof window>"u"||typeof window.hj!="function"||window.hj("identify",i,o))},[t])}import{useCallback as ti,useEffect as ii}from"react";var Ye=e=>`graffico-legal-linkedin-${e}`;function oi(){return["UserMatchHistory","AnalyticsSyncHistory","li_sugr","lidc","bcookie","bscookie"]}function Qe({partnerId:e,category:t="marketing"}){let i=d(t);return ii(()=>{if(!(typeof window>"u")){if(i){let o=window;if(o._linkedin_partner_id=e,o._linkedin_data_partner_ids=o._linkedin_data_partner_ids||[],o._linkedin_data_partner_ids.includes(e)||o._linkedin_data_partner_ids.push(e),typeof o.lintrk!="function"){let n=[],r=function(s,p){n.push([s,p])};r.q=n,o.lintrk=r}v("https://snap.licdn.com/li.lms-analytics/insight.min.js",Ye(e));return}i===!1&&(G(Ye(e)),F(oi()))}},[i,e]),null}function Ze(){let e=d("marketing");return ti(t=>{e&&(typeof window>"u"||typeof window.lintrk!="function"||window.lintrk("track",{conversion_id:t}))},[e])}import{useCallback as et,useEffect as ni,useRef as tt,useState as ai}from"react";function Xe(e){if(!e||typeof e!="string")return;let t=e.trim();if(t.length===0)return;if(t.startsWith("/")||t.startsWith("#")||t.startsWith("?"))return t;let i=t.toLowerCase();if(i.startsWith("http://")||i.startsWith("https://")||i.startsWith("mailto:")||i.startsWith("tel:"))return t}import{jsx as it,jsxs as ot}from"react/jsx-runtime";var w={requireExplicitConsent:!0};function nt({serviceId:e,templateId:t,publicKey:i,requireExplicitConsent:o=!0}){return w.serviceId=e,w.templateId=t,w.publicKey=i,w.requireExplicitConsent=o,null}var H={consentId:"_consentId",consentTimestamp:"_consentTimestamp",policyVersion:"_policyVersion",submittedAt:"_submittedAt",retentionUntil:"_retentionUntil"};function $(e,t,i){let o=e.querySelector(`input[type="hidden"][name="${CSS.escape(t)}"]`);o||(o=document.createElement("input"),o.type="hidden",o.name=t,e.appendChild(o)),o.value=i}function me({label:e,privacyHref:t="/privacy-policy",privacyLabel:i,className:o,style:n,...r}){let s=T(),p=_(),y=p?k(p):void 0,u=Xe(t)??"/privacy-policy";return ot("label",{className:o??"flex items-start gap-3 text-sm text-gray-600 leading-relaxed cursor-pointer select-none",style:n,children:[it("input",{type:"checkbox",name:"_legalConsent",className:"mt-1 h-4 w-4 rounded border-gray-300 cursor-pointer",style:y?{accentColor:y}:void 0,required:!0,...r}),ot("span",{children:[e??s("consentCheckboxLabel")," ",it("a",{href:u,className:"underline underline-offset-2 hover:opacity-80",style:y?{color:y}:void 0,children:i??s("privacyPolicyLink")})]})]})}function at(e={}){let t=N(),i=_(),[o,n]=ai("idle"),r=tt(e.onSent),s=tt(e.submissionLogEndpoint);ni(()=>{r.current=e.onSent,s.current=e.submissionLogEndpoint});let p=et(async u=>{if(!w.serviceId||!w.templateId||!w.publicKey)return{ok:!1,error:"CONFIG_MISSING"};if(w.requireExplicitConsent){let g=u.querySelector('input[name="_legalConsent"]');if(!g||!g.checked)return{ok:!1,error:"CONSENT_MISSING"}}let h=new Date,x=Te(i?.retention?.contactForms,h);$(u,H.consentId,t.consentId??""),$(u,H.consentTimestamp,t.timestamp??""),$(u,H.policyVersion,t.policyVersion??""),$(u,H.submittedAt,h.toISOString()),$(u,H.retentionUntil,x?x.toISOString():"");let m={consentId:t.consentId,consentTimestamp:t.timestamp,policyVersion:t.policyVersion,retentionUntil:x?.toISOString(),submittedAt:h.toISOString()};n("loading");try{let g=await import("@emailjs/browser").catch(()=>null);return g?(await(g.sendForm??g.default.sendForm)(w.serviceId,w.templateId,u,w.publicKey),n("success"),Se(r.current,m),s.current&&De(s.current,m),{ok:!0,meta:m}):(n("error"),{ok:!1,error:"MODULE_MISSING",meta:m})}catch(g){return n("error"),{ok:!1,error:"SEND_FAILED",detail:g,meta:m}}},[t,i]),y=et(()=>n("idle"),[]);return{send:p,status:o,reset:y,ConsentCheckbox:me}}export{ve as CONSENT_TTL_MS,St as ConsentBanner,me as ConsentCheckbox,jt as ConsentGate,Ee as ConsentModeBoot,xe as DEFAULT_PRIMARY_COLOR,nt as EmailJSLegal,le as FloatingConsentToggle,We as GTMLegal,Ve as GoogleAdsLegal,Be as GoogleAnalyticsLegal,$e as HotjarLegal,mt as LegalConfigProvider,Qe as LinkedInInsightLegal,Oe as MetaPixelLegal,Ft as PreferenceCard,Z as PreferenceModal,Le as SERVICE_PRESETS,Lt as ServiceGrid,O as acceptAll,q as declineAll,P as getConsentSnapshot,ie as hydrateFromStorage,ne as resetConsent,ce as resolveService,oe as savePreferences,te as setLanguage,C as setModalOpen,D as subscribeConsent,Ue as useAdsConversion,N as useConsent,d as useConsentCategory,at as useEmailJS,Ge as useGAEvent,Je as useHotjarEvent,Ke as useHotjarIdentify,yt as useIsHydrated,I as useLegalConfig,_ as useLegalConfigOptional,R as useLegalLanguage,Ze as useLinkedInInsightEvent,qe as useMetaEvent,re as useModalOpen,W as useShowBanner,T as useT};
23
+ `;function Ze({regions:e}={}){let{statistical:t,marketing:o}=B();return uo(()=>{if(typeof window>"u"||typeof window.gtag!="function")return;let i={analytics_storage:t?"granted":"denied",ad_storage:o?"granted":"denied",ad_user_data:o?"granted":"denied",ad_personalization:o?"granted":"denied",personalization_storage:o?"granted":"denied"};e&&e.length>0?window.gtag("consent","update",{...i,region:e}):window.gtag("consent","update",i)},[t,o,e]),go("script",{dangerouslySetInnerHTML:{__html:po}})}import{useCallback as mo,useEffect as fo}from"react";function x(e,t){if(typeof document>"u"||document.getElementById(t))return;let o=document.createElement("script");o.id=t,o.async=!0,o.src=e,o.dataset.grafficoLegal="1",document.head.appendChild(o)}function ue(){typeof window>"u"||(window.dataLayer=window.dataLayer||[],typeof window.gtag!="function"&&(window.gtag=function(){window.dataLayer.push(arguments)}))}function K(e){if(typeof document>"u")return;let t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild(t)}function J(e,t){typeof window>"u"||(window[`ga-disable-${e}`]=t)}function P(e){if(typeof document>"u"||typeof window>"u")return;let t=window.location.hostname,o=t.split(".").slice(-2).join("."),i="expires=Thu, 01 Jan 1970 00:00:00 GMT";for(let n of e)document.cookie=`${n}=; ${i}; path=/`,document.cookie=`${n}=; ${i}; path=/; domain=${t}`,document.cookie=`${n}=; ${i}; path=/; domain=.${o}`}var Xe=e=>`graffico-legal-ga-${e}`;function yo(e){return["_ga","_gid",`_ga_${e.replace(/^G-/,"")}`,`_gat_${e}`,"_gcl_au"]}function et({gaId:e,category:t="statistical",anonymizeIp:o=!0,sendPageViews:i=!0,debug:n=!1}){let r=y(t);return fo(()=>{if(!(typeof window>"u")){if(r){J(e,!1),ue(),x(`https://www.googletagmanager.com/gtag/js?id=${e}`,Xe(e)),window.gtag("js",new Date),window.gtag("config",e,{anonymize_ip:o,send_page_view:i,debug_mode:n});return}r===!1&&(J(e,!0),K(Xe(e)),P(yo(e)))}},[r,e,o,i,n]),null}function tt(){let e=v("statistical");return mo((t,o)=>{e&&(typeof window>"u"||typeof window.gtag!="function"||window.gtag("event",t,o))},[e])}import{useCallback as ho,useEffect as vo}from"react";var bo=["_gcl_au","_gcl_aw","_gcl_dc"],ot=e=>`graffico-legal-ads-${e}`,it={};function nt({conversionId:e,conversions:t,category:o="marketing"}){let i=y(o);return it=t??{},vo(()=>{if(!(typeof window>"u")){if(i){J(e,!1),ue(),x(`https://www.googletagmanager.com/gtag/js?id=${e}`,ot(e)),window.gtag("js",new Date),window.gtag("config",e);return}i===!1&&(J(e,!0),K(ot(e)),P(bo))}},[i,e]),null}function at(e){let t=v("marketing");return ho(o=>{if(!t)return;let i=it[e];i&&(typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","conversion",{send_to:i.sendTo,value:i.value,currency:i.currency,...o}))},[t,e])}import{useCallback as wo,useEffect as Co}from"react";var ko=["_fbp","_fbc"],Pe=null;function xo(e,t){let o=window;if(o.fbq){o.fbq("consent","grant");return}let i=function(...n){i.callMethod?i.callMethod.apply(i,n):i.queue.push(n)};i.queue=[],i.push=i,i.loaded=!0,i.version="2.0",o.fbq=i,o._fbq||(o._fbq=i),x("https://connect.facebook.net/en_US/fbevents.js",`graffico-legal-meta-${e}`),i("init",e),t&&i("track","PageView")}function rt({pixelId:e,category:t="marketing",autoPageView:o=!0,events:i}){let n=y(t);return Pe=i??null,Co(()=>{n?xo(e,o):n===!1&&(typeof window.fbq=="function"&&window.fbq("consent","revoke"),P(ko))},[n,e,o]),null}function st(e){let t=v("marketing");return wo(o=>{if(t){if(Pe&&!Pe.includes(e)){typeof console<"u"&&console.warn(`[graffico-legal] Meta event "${e}" non in whitelist`);return}typeof window>"u"||typeof window.fbq!="function"||window.fbq("track",e,o)}},[t,e])}import{useEffect as To}from"react";function lt({containerId:e,category:t="marketing",dataLayerName:o="dataLayer"}){let i=y(t);return To(()=>{if(!i)return;let n=window;n[o]=n[o]||[],n[o].push({"gtm.start":Date.now(),event:"gtm.js"});let r=o!=="dataLayer"?`&l=${o}`:"";x(`https://www.googletagmanager.com/gtm.js?id=${e}${r}`,`graffico-legal-gtm-${e}`)},[i,e,o]),null}import{useCallback as ct,useEffect as So}from"react";function dt({siteId:e,snippetVersion:t=6,category:o="statistical"}){let i=y(o);return So(()=>{if(i===!1&&P([`_hjSessionUser_${e}`,`_hjSession_${e}`]),!i||typeof window>"u"||window.hj)return;let n=[],r=function(...s){n.push(s)};r.q=n,window.hj=r,window._hjSettings={hjid:e,hjsv:t},x(`https://static.hotjar.com/c/hotjar-${e}.js?sv=${t}`,`graffico-legal-hotjar-${e}`)},[i,e,t]),null}function ut(e="statistical"){let t=v(e);return ct(o=>{t&&(typeof window>"u"||typeof window.hj!="function"||window.hj("event",o))},[t])}function pt(e="statistical"){let t=v(e);return ct((o,i)=>{t&&(typeof window>"u"||typeof window.hj!="function"||window.hj("identify",o,i))},[t])}import{useCallback as Do,useEffect as Po}from"react";var gt=e=>`graffico-legal-linkedin-${e}`;function zo(){return["UserMatchHistory","AnalyticsSyncHistory","li_sugr","lidc","bcookie","bscookie"]}function mt({partnerId:e,category:t="marketing"}){let o=y(t);return Po(()=>{if(!(typeof window>"u")){if(o){let i=window;if(i._linkedin_partner_id=e,i._linkedin_data_partner_ids=i._linkedin_data_partner_ids||[],i._linkedin_data_partner_ids.includes(e)||i._linkedin_data_partner_ids.push(e),typeof i.lintrk!="function"){let n=[],r=function(s,g){n.push([s,g])};r.q=n,i.lintrk=r}x("https://snap.licdn.com/li.lms-analytics/insight.min.js",gt(e));return}o===!1&&(K(gt(e)),P(zo()))}},[o,e]),null}function ft(){let e=v("marketing");return Do(t=>{e&&(typeof window>"u"||typeof window.lintrk!="function"||window.lintrk("track",{conversion_id:t}))},[e])}import{useCallback as yt,useEffect as Lo,useRef as ht,useState as Mo}from"react";import{jsx as vt,jsxs as bt}from"react/jsx-runtime";var S={requireExplicitConsent:!0};function wt({serviceId:e,templateId:t,publicKey:o,requireExplicitConsent:i=!0}){return S.serviceId=e,S.templateId=t,S.publicKey=o,S.requireExplicitConsent=i,null}var ee={consentId:"_consentId",consentTimestamp:"_consentTimestamp",policyVersion:"_policyVersion",submittedAt:"_submittedAt",retentionUntil:"_retentionUntil"};function te(e,t,o){let i=e.querySelector(`input[type="hidden"][name="${CSS.escape(t)}"]`);i||(i=document.createElement("input"),i.type="hidden",i.name=t,e.appendChild(i)),i.value=o}function ze({label:e,privacyHref:t,privacyLabel:o,className:i,style:n,...r}){let s=T(),g=U(),f=g?D(g):void 0,p=W(t??g?.privacyPolicyPath)??"/privacy-policy";return bt("label",{className:i??"flex items-start gap-3 text-sm text-gray-600 leading-relaxed cursor-pointer select-none",style:n,children:[vt("input",{type:"checkbox",name:"_legalConsent",className:"mt-1 h-4 w-4 rounded border-gray-300 cursor-pointer",style:f?{accentColor:f}:void 0,required:!0,...r}),bt("span",{children:[e??s("consentCheckboxLabel")," ",vt("a",{href:p,className:"underline underline-offset-2 hover:opacity-80",style:f?{color:f}:void 0,children:o??s("privacyPolicyLink")})]})]})}function Ct(e={}){let t=B(),o=U(),[i,n]=Mo("idle"),r=ht(e.onSent),s=ht(e.submissionLogEndpoint);Lo(()=>{r.current=e.onSent,s.current=e.submissionLogEndpoint});let g=yt(async p=>{if(!S.serviceId||!S.templateId||!S.publicKey)return{ok:!1,error:"CONFIG_MISSING"};if(S.requireExplicitConsent){let u=p.querySelector('input[name="_legalConsent"]');if(!u||!u.checked)return{ok:!1,error:"CONSENT_MISSING"}}let b=new Date,w=qe(o?.retention?.contactForms,b);te(p,ee.consentId,t.consentId??""),te(p,ee.consentTimestamp,t.timestamp??""),te(p,ee.policyVersion,t.policyVersion??""),te(p,ee.submittedAt,b.toISOString()),te(p,ee.retentionUntil,w?w.toISOString():"");let c={consentId:t.consentId,consentTimestamp:t.timestamp,policyVersion:t.policyVersion,retentionUntil:w?.toISOString(),submittedAt:b.toISOString()};n("loading");try{let u=await import("@emailjs/browser").catch(()=>null);return u?(await(u.sendForm??u.default.sendForm)(S.serviceId,S.templateId,p,S.publicKey),n("success"),Oe(r.current,c),s.current&&Ue(s.current,c),{ok:!0,meta:c}):(n("error"),{ok:!1,error:"MODULE_MISSING",meta:c})}catch(u){return n("error"),{ok:!1,error:"SEND_FAILED",detail:u,meta:c}}},[t,o]),f=yt(()=>n("idle"),[]);return{send:g,status:i,reset:f,ConsentCheckbox:ze}}export{Ae as CONSENT_TTL_MS,$t as ConsentBanner,ze as ConsentCheckbox,ro as ConsentGate,Ze as ConsentModeBoot,so as ConsentPreferencesLink,je as DEFAULT_PRIMARY_COLOR,wt as EmailJSLegal,ke as FloatingConsentToggle,lt as GTMLegal,nt as GoogleAdsLegal,et as GoogleAnalyticsLegal,dt as HotjarLegal,Mt as LegalConfigProvider,mt as LinkedInInsightLegal,rt as MetaPixelLegal,co as PreferenceCard,de as PreferenceModal,le as SERVICE_PRESETS,Yt as ServiceGrid,Y as acceptAll,O as declineAll,L as getConsentSnapshot,Z as getTrackingPurposes,fe as hydrateFromStorage,he as resetConsent,H as resolveService,ye as savePreferences,me as setLanguage,k as setModalOpen,z as subscribeConsent,at as useAdsConversion,B as useConsent,v as useConsentCategory,Ct as useEmailJS,tt as useGAEvent,ut as useHotjarEvent,pt as useHotjarIdentify,At as useIsHydrated,_ as useLegalConfig,U as useLegalConfigOptional,V as useLegalLanguage,ft as useLinkedInInsightEvent,st as useMetaEvent,be as useModalOpen,Q as useShowBanner,T as useT};
package/dist/next.d.cts CHANGED
@@ -23,13 +23,25 @@ interface CookieDeclaration {
23
23
  duration: string;
24
24
  type: CookieType;
25
25
  }
26
+ /**
27
+ * Categoria di consenso gestita dal CMP.
28
+ */
29
+ type ConsentCategory = "necessary" | "statistical" | "marketing" | "externalContent";
26
30
  /**
27
31
  * Tracker o servizio terzo dichiarato in cookie/privacy policy.
28
32
  */
29
33
  interface LegalService {
30
34
  id: string;
31
35
  name: string;
36
+ /** Modalità di raccolta dei dati (non la categoria di consenso). */
32
37
  category: "automatic" | "provided" | "marketing";
38
+ /**
39
+ * Categoria di consenso del banner che abilita il servizio: decide quali
40
+ * finalità citano banner e cookie policy. `necessary` = non serve consenso
41
+ * da banner (tecnico, o dati forniti tramite form). Se assente viene dedotta
42
+ * da `cookies[].type` e `lawfulBasis`.
43
+ */
44
+ consentCategory?: ConsentCategory;
33
45
  logo?: string;
34
46
  purposes: string[];
35
47
  dataCollected: string[];
@@ -129,6 +141,10 @@ interface CompanyConfig {
129
141
  * Default: `false`.
130
142
  */
131
143
  automatedDecisionMaking?: boolean;
144
+ /** Percorso della privacy policy. Default `/privacy-policy`. */
145
+ privacyPolicyPath?: string;
146
+ /** Percorso della cookie policy. Default `/cookie-policy`. */
147
+ cookiePolicyPath?: string;
132
148
  }
133
149
 
134
150
  type CspDirective = "default-src" | "script-src" | "style-src" | "img-src" | "font-src" | "connect-src" | "frame-src" | "frame-ancestors" | "base-uri" | "form-action" | "media-src" | "object-src" | "worker-src" | "upgrade-insecure-requests" | "report-uri" | "report-to";
package/dist/next.d.ts CHANGED
@@ -23,13 +23,25 @@ interface CookieDeclaration {
23
23
  duration: string;
24
24
  type: CookieType;
25
25
  }
26
+ /**
27
+ * Categoria di consenso gestita dal CMP.
28
+ */
29
+ type ConsentCategory = "necessary" | "statistical" | "marketing" | "externalContent";
26
30
  /**
27
31
  * Tracker o servizio terzo dichiarato in cookie/privacy policy.
28
32
  */
29
33
  interface LegalService {
30
34
  id: string;
31
35
  name: string;
36
+ /** Modalità di raccolta dei dati (non la categoria di consenso). */
32
37
  category: "automatic" | "provided" | "marketing";
38
+ /**
39
+ * Categoria di consenso del banner che abilita il servizio: decide quali
40
+ * finalità citano banner e cookie policy. `necessary` = non serve consenso
41
+ * da banner (tecnico, o dati forniti tramite form). Se assente viene dedotta
42
+ * da `cookies[].type` e `lawfulBasis`.
43
+ */
44
+ consentCategory?: ConsentCategory;
33
45
  logo?: string;
34
46
  purposes: string[];
35
47
  dataCollected: string[];
@@ -129,6 +141,10 @@ interface CompanyConfig {
129
141
  * Default: `false`.
130
142
  */
131
143
  automatedDecisionMaking?: boolean;
144
+ /** Percorso della privacy policy. Default `/privacy-policy`. */
145
+ privacyPolicyPath?: string;
146
+ /** Percorso della cookie policy. Default `/cookie-policy`. */
147
+ cookiePolicyPath?: string;
132
148
  }
133
149
 
134
150
  type CspDirective = "default-src" | "script-src" | "style-src" | "img-src" | "font-src" | "connect-src" | "frame-src" | "frame-ancestors" | "base-uri" | "form-action" | "media-src" | "object-src" | "worker-src" | "upgrade-insecure-requests" | "report-uri" | "report-to";
package/dist/server.d.ts CHANGED
@@ -26,13 +26,25 @@ interface CookieDeclaration {
26
26
  duration: string;
27
27
  type: CookieType;
28
28
  }
29
+ /**
30
+ * Categoria di consenso gestita dal CMP.
31
+ */
32
+ type ConsentCategory = "necessary" | "statistical" | "marketing" | "externalContent";
29
33
  /**
30
34
  * Tracker o servizio terzo dichiarato in cookie/privacy policy.
31
35
  */
32
36
  interface LegalService {
33
37
  id: string;
34
38
  name: string;
39
+ /** Modalità di raccolta dei dati (non la categoria di consenso). */
35
40
  category: "automatic" | "provided" | "marketing";
41
+ /**
42
+ * Categoria di consenso del banner che abilita il servizio: decide quali
43
+ * finalità citano banner e cookie policy. `necessary` = non serve consenso
44
+ * da banner (tecnico, o dati forniti tramite form). Se assente viene dedotta
45
+ * da `cookies[].type` e `lawfulBasis`.
46
+ */
47
+ consentCategory?: ConsentCategory;
36
48
  logo?: string;
37
49
  purposes: string[];
38
50
  dataCollected: string[];
@@ -132,21 +144,27 @@ interface CompanyConfig {
132
144
  * Default: `false`.
133
145
  */
134
146
  automatedDecisionMaking?: boolean;
147
+ /** Percorso della privacy policy. Default `/privacy-policy`. */
148
+ privacyPolicyPath?: string;
149
+ /** Percorso della cookie policy. Default `/cookie-policy`. */
150
+ cookiePolicyPath?: string;
135
151
  }
136
152
  /**
137
153
  * Origine della scelta di consenso salvata. Utile per audit.
138
154
  */
139
155
  type ConsentSource = "banner" | "modal" | "gpc-auto" | "api";
140
156
  /**
141
- * Stato di consenso persistito per categoria, con prova legale e TTL.
157
+ * Stato di consenso persistito per categoria, con riferimenti della scelta e TTL.
142
158
  */
143
159
  interface ConsentState {
144
160
  necessary: boolean;
145
161
  statistical: boolean;
146
162
  marketing: boolean;
163
+ /** Mappe, video e altri contenuti ospitati da terzi. */
164
+ externalContent: boolean;
147
165
  consentId?: string;
148
166
  timestamp?: string;
149
- /** Epoch ms oltre cui il consenso scade e va riproposto (Garante: max 6 mesi). */
167
+ /** Epoch ms oltre cui il consenso scade e va riproposto (180 giorni). */
150
168
  expiresAt?: number;
151
169
  /** Versione delle policy al momento del consenso. */
152
170
  policyVersion?: string;