Files
maestria_docs/07 BIOINFORMÁTICA (LILIBET Y YUSNEY)/TAREA TEMA 2/Nueva carpeta/Ratón inalámbrico M170 - Compacto y portátil Logitech_files/onetrust.min.41ac4cd8610e597df080b70136957dff.js

9 lines
4.6 KiB
JavaScript
Executable File

(function(){function u(m,n,g){function h(e,f){if(!n[e]){if(!m[e]){var l="function"==typeof require&&require;if(!f&&l)return l(e,!0);if(t)return t(e,!0);f=Error("Cannot find module '"+e+"'");throw f.code="MODULE_NOT_FOUND",f;}f=n[e]={exports:{}};m[e][0].call(f.exports,function(p){return h(m[e][1][p]||p)},f,f.exports,u,m,n,g)}return n[e].exports}for(var t="function"==typeof require&&require,k=0;k<g.length;k++)h(g[k]);return h}return u})()({1:[function(u,m,n){function g(){window.logitech.acceptedCookieGroups=
h();if("undefined"===typeof utag_data||"undefined"===typeof window.logitech.initUtagSync||"undefined"===typeof window.logitech.initUtagAsync)500>p&&window.requestAnimationFrame(g),p++;else if(!0!==x){x=!0;console.log("Tealium/utag ready",window.logitech.acceptedCookieGroups);try{window.logitech.initUtagSync()}catch(a){console.error("Tealium utag.sync failed to initialize"),console.error(a)}try{window.logitech.initUtagAsync()}catch(a){console.error("Tealium utag.js failed to initialize"),console.error(a)}}}
function h(){var a=[];if("undefined"!==typeof OnetrustActiveGroups)a=OnetrustActiveGroups.split(","),a=a.filter(function(b){return""!==b&&void 0!==b&&null!==b});else if(t("OptanonConsent")){var c=document.cookie.split("; ").find(function(b){return b.startsWith("OptanonConsent\x3d")}).substr(15);c=decodeURIComponent(c);(c=c.split("\x26").find(function(b){return b.startsWith("groups\x3d")}))&&c.split("\x3d")[1].split(",").forEach(function(b){b=b.split(":");"1"===b[1]&&a.push(b[0])})}return a}function t(a){return document.cookie.split(";").some(function(c){return 0===
c.trim().indexOf(a+"\x3d")})}function k(){f.forEach(function(a){window.logitech.insertScript(a.url,a.selector,a.callback,a.groupId)});l.forEach(function(a){window.logitech.insertHtml(a.html,a.selector,a.callback,a.groupId)})}function e(a){document.body?a.call(this):window.requestAnimationFrame(function(){e(a)})}window.logitech=window.logitech||{};var f=[],l=[],p=0,v=!1,w=!1,x=!1;window.logitech.COOKIES_STRICTLY_NECESSARY="C0001";window.logitech.COOKIES_ANALYTICS="C0002";window.logitech.COOKIES_FUNCTIONAL=
"C0003";window.logitech.COOKIES_MARKETING="C0004";window.logitech.COOKIES_SOCIAL_MEDIA="C0005";window.logitech.acceptedCookieGroups=h();0<window.logitech.acceptedCookieGroups.length&&g();window.OptanonWrapper=function(){console.log("OneTrust initialized",OnetrustActiveGroups);w=!0;g();k();OneTrust.OnConsentChanged(function(c){window.logitech.acceptedCookieGroups=h();console.log("OneTrust consent changed",window.logitech.acceptedCookieGroups);try{window.logitech.reinitUtagSync()}catch(b){console.error("Tealium utag.sync failed to re-initialize"),
console.error(b)}try{utag.view(utag_data)}catch(b){console.error("utag.view(utag_data) failed"),console.error(b)}k()});var a=document.getElementById("onetrust-consent-sdk");a&&(a.setAttribute("role","region"),a.setAttribute("aria-label","Cookies Consent"))};window.logitech.doesUserAllowCookiesFor=function(a){if("string"!==typeof a)return!1;a=a.toUpperCase();for(var c=0,b=window.logitech.acceptedCookieGroups.length;c<b;c++)if(a===window.logitech.acceptedCookieGroups[c])return!0;return!1};window.logitech.insertScript=
function(a,c,b,d){c=c||"head";Array.isArray(d)&&(d=d.join("-"));var r=f.some(function(q){return q.url===a&&q.selector===c});!0!==r&&f.push({url:a,selector:c,callback:b,groupId:d});v?(console.log("We're in author mode. Allow script to load.",a),d=document.createElement("script"),d.src=a,d.type="text/javascript","function"===typeof b&&d.addEventListener("load",b),"head"!==c&&(c="#"+c),document.querySelector(c).appendChild(d)):w?(console.log("OneTrust.InsertScript exists. Letting OneTrust manage",a),
OneTrust.InsertScript(a,c,b,null,d)):!0!==r&&console.log("OneTrust.InsertScript does not exist. Cache it and wait",a)};window.logitech.insertHtml=function(a,c,b,d){Array.isArray(d)&&(d=d.join("-"));var r=l.some(function(q){return q.html===a&&q.selector===c});!0!==r&&l.push({html:a,selector:c,callback:b,groupId:d});v?(console.log("We're in author mode. Allow html to be added.",a),d=document.createElement("div"),d.innerHTML=a,document.querySelector("#"+c).appendChild(d),"function"===typeof b&&b.call(this)):
w?(console.log("OneTrust.InsertHtml exists. Letting OneTrust manage",a),OneTrust.InsertHtml(a,c,b,null,d)):!0!==r&&console.log("OneTrust.InsertHtml does not exist. Cache it and wait",a)};e(function(){if(v=document.body.classList.contains("edit")||document.body.classList.contains("wcm-edit")||document.body.classList.contains("preview")||document.body.classList.contains("wcm-preview"))console.log("In authoring mode, force utag and scripts to load"),g(),k()})},{}]},{},[1]);