1 2// By default, Klaro will load the config from a global "klaroConfig" variable. 3// You can change this by specifying the "data-config" attribute on your 4// script take, e.g. like this: 5// <script src="klaro.js" data-config="myConfigVariableName" /> 6// You can also disable auto-loading of the consent notice by adding 7// data-no-auto-load=true to the script tag. 8//var politicaCookiesURL = "${themeDisplay.getPathFriendlyURLPublic()}${themeDisplay.getSiteGroup().getFriendlyURL()}/politica-de-cookies"; 9politicaCookiesURL="https://ceapat.imserso.es/web/ceapat/politica-de-cookies"; 10var klaroConfig = { 11 12 // You can customize the ID of the DIV element that Klaro will create 13 // when starting up. If undefined, Klaro will use 'klaro'. 14 elementID: 'klaro', 15 16 // You can customize the name of the cookie that Klaro uses for storing 17 // user consent decisions. If undefined, Klaro will use 'klaro'. 18 cookieName: 'klaro', 19 20 // You can also set a custom expiration time for the Klaro cookie. 21 // By default, it will expire after 120 days. 22 cookieExpiresAfterDays: 365, 23 24 htmlTexts: true, 25 acceptAll: true, 26 hideDeclineAll: false, 27 // You can customize the name of the cookie that Klaro will use to 28 // store user consent. If undefined, Klaro will use 'klaro'. 29 30 // Put a link to your privacy policy here (relative or absolute). 31 styling: { 32 theme: ['light', 'bottom', 'wide'], 33 }, 34 privacyPolicy: politicaCookiesURL, //PRO 35 /*privacyPolicy: '/web/grupoica/politica-de-cookies',*/ //PRE 36 37 cookiePolicy: politicaCookiesURL, //PRO 38 /*cookiePolicy: '/web/grupoica/politica-de-cookies',*/ //PRE 39 40 // Defines the default state for applications (true=enabled by default). 41 default: false, 42 43 // If "mustConsent" is set to true, Klaro will directly display the consent 44 // manager modal and not allow the user to close it before having actively 45 // consented or declines the use of third-party apps. 46 mustConsent: false, 47 htmlTexts: true, 48 groupByPurpose: false, 49 // You can define the UI language directly here. If undefined, Klaro will 50 // use the value given in the global "lang" variable. If that does 51 // not exist, it will use the value given in the "lang" attribute of your 52 // HTML tag. If that also doesn't exist, it will use 'en'. 53 //lang: 'en', 54 55 // You can overwrite existing translations and add translations for your 56 // app descriptions and purposes. See `src/translations.yml` for a full 57 // list of translations that can be overwritten: 58 // https://github.com/DPKit/klaro/blob/master/src/translations.yml 59 60 // Example config that shows how to overwrite translations: 61 // https://github.com/DPKit/klaro/blob/master/src/configs/i18n.js 62 translations: { 63 // If you erase the "consentModal" translations, Klaro will use the 64 // defaults as defined in translations.yml 65 66 es: { 67 68 69 privacyPolicy: { 70 name: 'polÃtica de cookies', 71 text: 'Para saber más, por favor lea nuestra <a target="_blank" href="'+politicaCookiesURL+'">PolÃtica de <em>cookies</em></a>.' 72 }, 73 app: { 74 disableAll: { 75 title: 'Habilitar/deshabilitar todas', 76 description: ' ' 77 }, 78 optOut:{ 79 title: '(opcional)', 80 description: 'Cookies opcionales que puede deshabilitar' 81 }, 82 required:{ 83 title: '(necesarias)', 84 description: 'Cookies estrictamente necesarias para el funcionamiento de la web' 85 }, 86 purposes: 'Usos', 87 purpose: 'Uso' 88 }, 89 consentModal: { 90 title: 'Información sobre cookies', 91 description: 'Configure las <em>cookies</em> que se pueden o no instalar.', 92 privacyPolicy: { 93 name: 'polÃtica de cookies', 94 text: 'Para saber más, por favor lea nuestra <a target="_blank" href="'+politicaCookie
94sURL+'">PolÃtica de <em>cookies</em></a>.' 95 }, 96 close: 'Cerrar' 97 }, 98 consentNotice: { 99 changeDescription: 'Hubo algún cambio con las cookies desde su última visita, por favor, actualice su consentimiento.', 100 description: 'Utilizamos <em>cookies</em> propias y de terceros para el correcto funcionamiento y visualización de este sitio web por parte de la persona usuaria, asà como para la recogida de estadÃsticas. Si lo desea, puede cambiar la configuración u obtener más información.', 101 learnMore: ' Configuración' 102 }, 103 poweredBy: '', 104 save: 'Guardar', 105 ok: 'Aceptar todas las cookies', 106 decline: 'Rechazar', 107 acceptSelected:'Aceptar seleccionadas ', 108 close: 'Cerrar', 109 liferayPortal: { 110 description: 'Estrictamente necesarias para el correcto funcionamiento del portal web y la utilización de los diferentes servicios que ofrece.' 111 }, 112 webReaderReadSpeaker: { 113 description: 'Permitir leer en voz alta el contenido de texto de este sitio web. Esta herramienta no recopila ningún dato, las cookies se utilizan para su correcto funcionamiento.' 114 }, 115 googleAnalytics: { 116 description: 'Seguimiento y análisis de las visitas que recibe la web.' 117 }, 118 purposes: { 119 analytics: 'Cookies analÃticas', 120 accesibility: 'Cookies accesibilidad', 121 portal: 'Cookies técnicas' 122 } 123 }, 124 ca: { 125 privacyPolicy: { 126 name: 'polÃtica de cookies', 127 text: 'Per saber més, si us plau llegeixi la nostra <a target="_blank" href="'+politicaCookiesURL+'">PolÃtica de <em>cookies</em></a>.' 128 }, 129 app: { 130 disableAll: { 131 title: 'Habilitar/deshabilitar totes', 132 description: ' ' 133 }, 134 optOut: { 135 title: '(opcional)', 136 description: 'Cookies opcionals que pot desactivar' 137 }, 138 required: { 139 title: '(necessà ries)', 140 description: 'Cookies estrictament necessà ries per al funcionament del lloc web' 141 }, 142 purposes: 'Usos', 143 purpose: 'Ãs' 144 }, 145 consentModal: { 146 title: 'Informació sobre cookies', 147 description: 'Configureu les <em>cookies</em> que es poden o no instal·lar.', 148 privacyPolicy: { 149 name: 'polÃtica de cookies', 150 text: 'Per saber més, si us plau llegeixi la nostra <a target="_blank" href="'+politicaCookiesURL+'">PolÃtica de <em>cookies</em></a>.' 151 }, 152 close: 'Tancar' 153 }, 154 consentNotice: { 155 changeDescription: 'Hi va haver algun canvi amb les cookies des de la seva última visita, si us plau, actualitzi el seu consentiment.', 156 description: 'Utilitzem <em>cookies</em> pròpies i de tercers per al correcte funcionament i visualització d\'aquest lloc web per part de la persona usuà ria, aixà com per a la recopilació d\'estadÃstiques. Si ho desitja, pot canviar la configuració o obtenir més informació.', 157 learnMore: ' Configuració' 158 }, 159 poweredBy: '', 160 save: 'Desar', 161 ok: 'Acceptar totes les cookies', 162 decline: 'Rebutjar', 163 acceptSelected: 'Acceptar seleccionades', 164 close: 'Tancar', 165 liferayPortal: { 166 description: 'Estrictament necessà ries per al correcte funcionament del portal web i la utilització dels diferents serveis que ofereix.' 167 }, 168 webReaderReadSpeaker: { 169 description: 'Permetre llegir en veu alta el contingut de text d\'aquest lloc web. Aquesta eina no recopila cap dada, les cookies s\'utilitzen pel seu correcte funcionament.' 170 }, 171 googleAnalytics: { 172 description: 'Seguiment i anà lisi de les visites que rep el lloc web.' 173 }, 174 purposes: { 175 analytics: 'Cookies analÃtiques', 176 accesibility: 'Cookies d\'accessibilitat', 177 portal: 'Cookies tècniques' 178 } 179 }, 180 eu: { 181 privacyPolicy: { 182 name: 'cookie politika', 183 text: 'Gehiago jakin nahi baduzu, mesedez irakurri gure <a target="_blank" href="'+politicaCookiesURL+'">Cookieen politika</a>.' 184 }, 185 app: { 186 disableAll: { 187 title: 'Guztiak gaitu/desgaitu', 188 description: ' ' 189 }, 190 optOut: { 191 title: '(aukerakoa)', 192 description: 'Aukerako cookieak desgaitu ditzakezu' 193 }, 194 required: { 195 title: '(beharrezkoak)', 196 description: 'Gunearen funtzionamendurako beharrezko cookieak' 197 }, 198 purposes: 'Erabilpenak', 199 purpose: 'Erabilpena' 200 }, 201 consentModal: { 202 title: 'Cookieen informazioa', 203 description: 'Cookieak instalatu edo ezin instalatu diren konfiguratu.', 204 privacyPolicy: { 205 name: 'cookie politika', 206 text: 'Gehiago jakin nahi baduzu, mesedez irakurri gure <a target="_blank" href="'+politicaCookie
206sURL+'">Cookieen politika</a>.' 207 }, 208 close: 'Itxi' 209 }, 210 consentNotice: { 211 changeDescription: 'Zure azken bisitan cookie batzuetan aldaketa izan zen, mesedez, zure baimena eguneratu.', 212 description: 'Erabiltzailearen webgune hau behar bezalako funtzionamendu eta bistaratzea bermatzeko, baita estatistikak jasotzeko ere. Nahi izanez gero, konfigurazioa aldatu edo informazio gehiago eskuratu dezakezu.', 213 learnMore: 'Konfigurazioa' 214 }, 215 poweredBy: '', 216 save: 'Gorde', 217 ok: 'Guztiak onartu', 218 decline: 'Ez onartu', 219 acceptSelected: 'Hautatutakoak onartu', 220 close: 'Itxi', 221 liferayPortal: { 222 description: 'Web gunearen eta eskaintzen dituen zerbitzuen egokien funtzionamendurako ezinbestekoak.' 223 }, 224 webReaderReadSpeaker: { 225 description: 'Web gunearen testu edukia irakurtzeko ahalbidetzen du. Tresna honek ez du daturik bildu, cookieak bere egokien funtzionamendurako erabiltzen dira.' 226 }, 227 googleAnalytics: { 228 description: 'Webgunea jasotzen duen bisitak aztertu eta analizatu.' 229 }, 230 purposes: { 231 analytics: 'Analitika cookieak', 232 accesibility: 'Sarrera errazteko cookieak', 233 portal: 'Teknikako cookieak' 234 } 235 }, 236 gl: { 237 privacyPolicy: { 238 name: 'polÃtica de cookies', 239 text: 'Para saber máis, por favor lea a nosa <a target="_blank" href="'+politicaCookiesURL+'">PolÃtica de <em>cookies</em></a>.' 240 }, 241 app: { 242 disableAll: { 243 title: 'Habilitar/deshabilitar todas', 244 description: ' ' 245 }, 246 optOut: { 247 title: '(opcional)', 248 description: 'Cookies opcionais que pode deshabilitar' 249 }, 250 required: { 251 title: '(necesarias)', 252 description: 'Cookies estritamente necesarias para o funcionamento da web' 253 }, 254 purposes: 'Usos', 255 purpose: 'Uso' 256 }, 257 consentModal: { 258 title: 'Información sobre cookies', 259 description: 'Configure as <em>cookies</em> que se poden ou non instalar.', 260 privacyPolicy: { 261 name: 'polÃtica de cookies', 262 text: 'Para saber máis, por favor lea a nosa <a target="_blank" href="'+politicaCookiesURL+'">PolÃtica de <em>cookies</em></a>.' 263 }, 264 close: 'Cerrar' 265 }, 266 consentNotice: { 267 changeDescription: 'Houbo algún cambio coas cookies dende a súa última visita, por favor, actualice o seu consentimento.', 268 description: 'Utilizamos <em>cookies</em> propias e de terceiros para o correcto funcionamento e visualización deste sitio web por parte da persoa usuaria, asà como para a recollida de estatÃsticas. Se o desexa, pode cambiar a configuración ou obter máis información.', 269 learnMore: 'Configuración' 270 }, 271 poweredBy: '', 272 save: 'Gardar', 273 ok: 'Aceptar todas as cookies', 274 decline: 'Rexeitar', 275 acceptSelected: 'Aceptar seleccionadas', 276 close: 'Cerrar', 277 liferayPortal: { 278 description: 'Estritamente necesarias para o correcto funcionamento do portal web e a utilización dos diferentes servizos que ofrece.' 279 }, 280 webReaderReadSpeaker: { 281 description: 'Permitir ler en voz alta o contido de texto deste sitio web. Esta ferramenta non recolle ningún dato, as cookies utilÃzanse para o seu correcto funcionamento.' 282 }, 283 googleAnalytics: { 284 description: 'Seguimento e análise das visitas que recibe a web.' 285 }, 286 purposes: { 287 analytics: 'Cookies analÃticas', 288 accesibility: 'Cookies de accesibilidade', 289 portal: 'Cookies técnicas' 290 } 291 }, 292 en: { 293 privacyPolicy: { 294 name: 'Cookie Policy', 295 text: 'To learn more, please read our <a target="_blank" href="'+politicaCookiesURL+'">Cookie Policy</a>.' 296 }, 297 app: { 298 disableAll: { 299 title: 'Enable/Disable All', 300 description: ' ' 301 }, 302 optOut: { 303 title: '(optional)', 304 description: 'You can disable optional cookies' 305 }, 306 required: { 307 title: '(required)', 308 description: 'Cookies necessary for the functioning of the website' 309 }, 310 purposes: 'Purposes', 311 purpose: 'Purpose' 312 }, 313 consentModal: { 314 title: 'Cookie Information', 315 description: 'Configure the cookies that can or cannot be installed.', 316 privacyPolicy: { 317 name: 'Cookie Policy', 318 text: 'To learn more, please read our <a target="_blank" href="'+politicaCookie
318sURL+'">Cookie Policy</a>.' 319 }, 320 close: 'Close' 321 }, 322 consentNotice: { 323 changeDescription: 'There was a change with the cookies since your last visit, please update your consent.', 324 description: 'We use our own and third-party cookies for the proper functioning and display of this website by the user, as well as for the collection of statistics. If you wish, you can change the configuration or obtain more information.', 325 learnMore: 'Configuration' 326 }, 327 poweredBy: '', 328 save: 'Save', 329 ok: 'Accept All', 330 decline: 'Decline', 331 acceptSelected: 'Accept Selected', 332 close: 'Close', 333 liferayPortal: { 334 description: 'Essential for the proper functioning of the website and the use of the different services it offers.' 335 }, 336 webReaderReadSpeaker: { 337 description: 'Allows reading aloud the text content of this website. This tool does not collect any data, cookies are used for its proper functioning.' 338 }, 339 googleAnalytics: { 340 description: 'Tracking and analysis of visits received by the website.' 341 }, 342 purposes: { 343 analytics: 'Analytics Cookies', 344 accesibility: 'Accessibility Cookies', 345 portal: 'Technical Cookies' 346 } 347 }, 348 fr: { 349 privacyPolicy: { 350 name: 'Politique de cookies', 351 text: 'Pour en savoir plus, veuillez lire notre <a target="_blank" href="'+politicaCookiesURL+'">Politique de cookies</a>.' 352 }, 353 app: { 354 disableAll: { 355 title: 'Activer/Désactiver tout', 356 description: ' ' 357 }, 358 optOut: { 359 title: '(optionnel)', 360 description: 'Vous pouvez désactiver les cookies optionnels' 361 }, 362 required: { 363 title: '(requis)', 364 description: 'Cookies nécessaires au fonctionnement du site web' 365 }, 366 purposes: 'Finalités', 367 purpose: 'Finalité' 368 }, 369 consentModal: { 370 title: 'Informations sur les cookies', 371 description: 'Configurez les cookies qui peuvent être installés ou non.', 372 privacyPolicy: { 373 name: 'Politique de cookies', 374 text: 'Pour en savoir plus, veuillez lire notre <a target="_blank" href="'+politicaCookiesURL+'">Politique de cookies</a>.' 375 }, 376 close: 'Fermer' 377 }, 378 consentNotice: { 379 changeDescription: 'Il y a eu un changement avec les cookies depuis votre dernière visite, veuillez mettre à jour votre consentement.', 380 description: 'Nous utilisons nos propres cookies et ceux de tiers pour le bon fonctionnement et affichage de ce site web par utilisateur, ainsi que pour la collecte de statistiques. Si vous le souhaitez, vous pouvez modifier la configuration ou obtenir plus d\'informations.', 381 learnMore: 'Configuration' 382 }, 383 poweredBy: '', 384 save: 'Enregistrer', 385 ok: 'Accepter tout', 386 decline: 'Refuser', 387 acceptSelected: 'Accepter les sélectionnés', 388 close: 'Fermer', 389 liferayPortal: { 390 description: 'Essentiel pour le bon fonctionnement du site web et l\'utilisation des différents services qu\'il propose.' 391 }, 392 webReaderReadSpeaker: { 393 description: 'Permet de lire à haute voix le contenu textuel de ce site web. Cet outil ne collecte aucune donnée, les cookies sont utilisés pour son bon fonctionnement.' 394 }, 395 googleAnalytics: { 396 description: 'Suivi et analyse des visites reçues par le site web.' 397 }, 398 purposes: { 399 analytics: 'Cookies analytiques', 400 accesibility: 'Cookies d\'accessibilité', 401 portal: 'Cookies techniques' 402 } 403 } 404 }, 405 406 // This is a list of third-party apps that Klaro will manage for you. 407 services : [ 408 // The apps will appear in the modal in the same order as defined here. 409 { 410 name : 'liferayPortal', 411 title : 'Portal Web', 412 purposes : ['portal'], 413 required: true, 414 }, 415 { 416 name : 'webReaderReadSpeaker', 417 purposes : ['accesibility'], 418 title : 'Web Reader (ReadSpeaker)', 419 cookies: ['_rspkrLoadCore', 'ReadSpeakerSettings'], 420 required: true, 421 //default: true, 422 callback: function(consent, service) { 423 424 }, 425 }, 426 { 427 // Each app should have a unique (and short) name. 428 name : 'googleAnalytics', 429 430 // If "default" is set to true, the app will be enabled by default 431 // Overwrites global "default" setting. 432 // We recommend leaving this to "false" for apps that collect 433 // personal information. 434 default: false, 435 436 // The title of you app as listed in the consent modal. 437 title : 'Google Analytics', 438 439 // The purpose(s) of this app. Will be listed on the consent notice.
440 // Do not forget to add translations for all purposes you list here. 441 purposes : ['analytics'], 442 443 // A list of regex expressions or strings giving the names of 444 // cookies set by this app. If the user withdraws consent for a 445 // given app, Klaro will then automatically delete all matching 446 // cookies. 447 cookies : ['_ga','_gat','_gid'], 448 // you can also explicitly provide a path and a domain for 449 // a given cookie. This is necessary if you have apps that 450 // set cookies for a path that is not "/" or a domain that 451 // is not the current domain. If you do not set these values 452 // properly, the cookie can't be deleted by Klaro 453 // (there is no way to access the path or domain of a cookie in JS) 454 455 456 // An optional callback function that will be called each time 457 // the consent state for the app changes (true=consented). Passes 458 // the `app` config as the second parameter as well. 459 callback : function(consent, app){ 460 // This is an example callback function. 461 //console.log("User consent for app "+app.name+": consent="+consent) 462 }, 463 464 // If "required" is set to true, Klaro will not allow this app to 465 // be disabled by the user. 466 required : false, 467 468 // If "optOut" is set to true, Klaro will load this app even before 469 // the user gave explicit consent. 470 // We recommend always leaving this "false". 471 optOut : false, 472 473 // If "onlyOnce" is set to true, the app will only be executed 474 // once regardless how often the user toggles it on and off. 475 onlyOnce: false, 476 } 477 ] 478}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.