1 2'use strict'; 3 4// get module 5var iframemanager = iframemanager(); 6iframemanager.run({ 7 currLang: document.documentElement.getAttribute('lang'), 8 // autoLang: true, 9 services: { 10 youtube: { 11 embedUrl: 'https://www.youtube-nocookie.com/embed/{data-id}', 12 13 iframe: { 14 allow: 'accelerometer; encrypted-media; gyroscope; picture-in-picture; fullscreen;', 15 }, 16 cookie: { 17 name: 'cc_youtube' 18 }, 19 languages: { 20 'en': { 21 notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer" href="https://www.youtube.com/t/terms" title="Terms and conditions" target="_blank">terms and conditions</a> of youtube.com.', 22 loadBtn: 'Load video', 23 loadAllBtn: 'Don\'t ask again' 24 }, 25 'cs': { 26 notice: 'Tento obsah je provozován tÅetà stranou. ZobrazenÃm tohoto obsahu vyjadÅujete souhlas s <a rel="noreferrer" href="https://www.youtube.com/t/terms" title="Terms and conditions" target="_blank">pravidly a podmÃnkami</a> spoleÄnosti youtube.com.', 27 loadBtn: 'PÅehrát video', 28 loadAllBtn: 'PÅehrát video a vÃce se neptat' 29 } 30 } 31 }, 32 GoogleMaps: { 33 embedUrl: '{data-id}', 34 iframe: { 35 allow : 'picture-in-picture; fullscreen;' 36 }, 37 cookie: { 38 name: 'cc_maps' 39 }, 40 languages: { 41 'en': { 42 notice: 'This content is hosted by a third party. By showing the external content you accept the <a rel="noreferrer" href="https://policies.google.com/technologies/cookies" title="Terms and conditions" target="_blank">terms and conditions</a> of google.com.', 43 loadBtn: 'Load video', 44 loadAllBtn: 'Don\'t ask again' 45 }, 46 'cs': { 47 notice: 'Tento obsah je provozován tÅetà stranou. ZobrazenÃm tohoto obsahu vyjadÅujete souhlas s <a rel="noreferrer" href="https://policies.google.com/technologies/cookies" title="Terms and conditions" target="_blank">pravidly a podmÃnkami</a> spoleÄnosti google.com.', 48 loadBtn: 'Nahrát mapu', 49 loadAllBtn: 'Nahrát mapu a vÃce se neptat' 50 } 51 } 52 } 53 } 54 55}); 56 57var getUrlParameter = function getUrlParameter(sParam) { 58 var sPageURL = window.location.search.substring(1), 59 sURLVariables = sPageURL.split('&'), 60 sParameterName, 61 i; 62 63 for (i = 0; i < sURLVariables.length; i++) { 64 sParameterName = sURLVariables[i].split('='); 65 66 if (sParameterName[0] === sParam) { 67 return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]); 68 } 69 } 70 return false; 71}; 72 73var consentJSON = iframemanager._getCookie('cookie_consent_level'); 74if (consentJSON) { 75 consentJSON = $.parseJSON(decodeURIComponent(consentJSON)); 76 77 if (consentJSON.tracking && consentJSON.targeting) { 78 iframemanager.acceptService('all'); 79 } 80} 81if(getUrlParameter('nocc')) 82 iframemanager.acceptService('all');
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.