PageSourceSearch

https://renomag.cz/cookieconsent/cookieconsent-init.js?v=1.0

js renomag.cz collected 2026-10-08 19:45:37 UTC 11,160 bytes, 226 lines download raw bytes

1/**
2 * RENOMAG – konfigurace cookie lišty (vanilla-cookieconsent v3)
3 * Jazyk se automaticky detekuje z atributu <html lang="cs|en|de|sk">.
4 * Kategorie:
5 *   - necessary  : vždy zapnuto (nezbytné pro chod webu)
6 *   - analytics  : volitelné (Google Analytics, Leady apod.)
7 */
8var leadyLoaded = false;
9function loadLeady() {
10    if (leadyLoaded) return;
11    leadyLoaded = true;
12    !function(g,t){g.type="text/javascript";g.async=true;g.src=
13    "https://c"+"t.l"+"eady.com/REEjoZXXTnvY9MTl/L"+".js";t=t[0];t.
14    parentNode.insertBefore(g,t);}(document.createElement("script"),
15    document.getElementsByTagName("script"));
16}
17
18function onAnalyticsConsentChange() {
19    var analyticsAccepted = CookieConsent.acceptedCategory('analytics');
20    if (typeof gtag === 'function') {
21        gtag('consent', 'update', {
22            'analytics_storage': analyticsAccepted ? 'granted' : 'denied'
23        });
24    }
25    if (analyticsAccepted) loadLeady();
26}
27
28CookieConsent.run({
29    onFirstConsent: () => { onAnalyticsConsentChange(); },
30    onConsent: () => { onAnalyticsConsentChange(); },
31    onChange: () => { onAnalyticsConsentChange(); },
32
33    guiOptions: {
34        consentModal: {
35            layout: 'box wide',
36            position: 'bottom left',
37            equalWeightButtons: true,
38            flipButtons: false
39        },
40        preferencesModal: {
41            layout: 'box',
42            position: 'right',
43            equalWeightButtons: true,
44            flipButtons: false
45        }
46    },
47
48    categories: {
49        necessary: {
50            enabled: true,
51            readOnly: true
52        },
53        analytics: {
54            autoClear: {
55                cookies: [
56                    { name: /^_ga/ },
57                    { name: '_gid' }
58                ]
59            }
60        }
61    },
62
63    language: {
64        // Detekce z <html lang="...">; fallback na češtinu
65        default: (document.documentElement.lang || 'cs').slice(0, 2).toLowerCase(),
66        autoDetect: 'document',
67
68        translations: {
69            /* ---------------------------- ČEŠTINA ---------------------------- */
70            cs: {
71                consentModal: {
72                    title: 'Používáme cookies',
73                    description: 'Tento web používá cookies k zajištění správného fungování a k analýze návštěvnosti. Nezbytné cookies jsou nutné pro chod webu, ostatní použijeme jen s vaším souhlasem.',
74                    acceptAllBtn: 'Přijmout vše',
75                    acceptNecessaryBtn: 'Odmítnout vše',
76                    showPreferencesBtn: 'Nastavení',
77                    footer: '<a href="/zasady-ochrany-osobnich-udaju">Zásady ochrany osobních údajů</a>'
78                },
79                preferencesModal: {
80                    title: 'Nastavení souhlasu s cookies',
81                    acceptAllBtn: 'Přijmout vše',
82                    acceptNecessaryBtn: 'Odmítnout vše',
83                    savePreferencesBtn: 'Uložit nastavení',
84                    closeIconLabel: 'Zavřít',
85                    sections: [
86                        {
87                            title: 'Používání cookies',
88                            description: 'Cookies používáme, aby web správně fungoval a abychom mohli zlepšovat jeho obsah. Níže si můžete zvolit, které kategorie povolíte.'
89                        },
90                        {
91                            title: 'Nezbytné cookies',
92                            description: 'Tyto cookies jsou nutné pro základní funkce webu a nelze je vypnout.',
93                            linkedCategory: 'necessary'
94                        },
95                        {
96                            title: 'Analytické cookies',
97                            description: 'Pomáhají nám pochopit, jak návštěvníci web používají, a vylepšovat ho (např. Google Analytics).',
98                            linkedCategory: 'analytics'
99                        },
100                        {
101                            title: 'Více informací',
102                            description: 'Podrobnosti najdete v <
102a href="/zasady-ochrany-osobnich-udaju">zásadách ochrany osobních údajů</a>.'
103                        }
104                    ]
105                }
106            },
107
108            /* ---------------------------- ENGLISH ---------------------------- */
109            en: {
110                consentModal: {
111                    title: 'We use cookies',
112                    description: 'This website uses cookies to ensure it works properly and to analyse traffic. Necessary cookies are required for the site to function; the rest are used only with your consent.',
113                    acceptAllBtn: 'Accept all',
114                    acceptNecessaryBtn: 'Reject all',
115                    showPreferencesBtn: 'Manage preferences',
116                    footer: '<a href="/en/zasady-ochrany-osobnich-udaju">Privacy Policy</a>'
117                },
118                preferencesModal: {
119                    title: 'Cookie preferences',
120                    acceptAllBtn: 'Accept all',
121                    acceptNecessaryBtn: 'Reject all',
122                    savePreferencesBtn: 'Save preferences',
123                    closeIconLabel: 'Close',
124                    sections: [
125                        {
126                            title: 'Cookie usage',
127                            description: 'We use cookies to make the site work correctly and to improve its content. Below you can choose which categories to allow.'
128                        },
129                        {
130                            title: 'Strictly necessary cookies',
131                            description: 'These cookies are essential for the basic functions of the website and cannot be disabled.',
132                            linkedCategory: 'necessary'
133                        },
134                        {
135                            title: 'Analytics cookies',
136                            description: 'They help us understand how visitors use the site so we can improve it (e.g. Google Analytics).',
137                            linkedCategory: 'analytics'
138                        },
139                        {
140                            title: 'More information',
141                            description: 'For details, see our <a href="/en/zasady-ochrany-osobnich-udaju">privacy policy</a>.'
142                        }
143                    ]
144                }
145            },
146
147            /* ----------------------------- DEUTSCH ---------------------------- */
148            de: {
149                consentModal: {
150                    title: 'Wir verwenden Cookies',
151                    description: 'Diese Website verwendet Cookies, um ordnungsgemäß zu funktionieren und die Zugriffe zu analysieren. Notwendige Cookies sind für den Betrieb der Website erforderlich, die übrigen verwenden wir nur mit Ihrer Einwilligung.',
152                    acceptAllBtn: 'Alle akzeptieren',
153                    acceptNecessaryBtn: 'Alle ablehnen',
154                    showPreferencesBtn: 'Einstellungen',
155                    footer: '<a href="/de/zasady-ochrany-osobnich-udaju">Datenschutzerklärung</a>'
156                },
157                preferencesModal: {
158                    title: 'Cookie-Einstellungen',
159                    acceptAllBtn: 'Alle akzeptieren',
160                    acceptNecessaryBtn: 'Alle ablehnen',
161                    savePreferencesBtn: 'Einstellungen speichern',
162                    closeIconLabel: 'Schließen',
163                    sections: [
164                        {
165                            title: 'Verwendung von Cookies',
166                            description: 'Wir verwenden Cookies, damit die Website korrekt funktioniert und wir ihre Inhalte verbessern können. Nachfolgend können Sie wählen, welche Kategorien Sie zulassen.'
167                        },
168                        {
169                            title: 'Notwendige Cookies',
170                            description: 'Diese Cookies sind für die Grundfunktionen der Website erforderlich und können nicht deaktiviert werden.',
171                            linkedCategory: 'necessary'
172                        },
173                        {
174                            title: 'Analyse-Cookies',
175                            description: 'Sie helfen uns zu verstehe
175n, wie Besucher die Website nutzen, damit wir sie verbessern können (z. B. Google Analytics).',
176                            linkedCategory: 'analytics'
177                        },
178                        {
179                            title: 'Weitere Informationen',
180                            description: 'Einzelheiten finden Sie in unserer <a href="/de/zasady-ochrany-osobnich-udaju">Datenschutzerklärung</a>.'
181                        }
182                    ]
183                }
184            },
185
186            /* --------------------------- SLOVENČINA --------------------------- */
187            sk: {
188                consentModal: {
189                    title: 'Používame cookies',
190                    description: 'Táto webová stránka používa cookies na zabezpečenie správneho fungovania a na analýzu návštevnosti. Nevyhnutné cookies sú potrebné na chod stránky, ostatné použijeme len s vaším súhlasom.',
191                    acceptAllBtn: 'Prijať všetko',
192                    acceptNecessaryBtn: 'Odmietnuť všetko',
193                    showPreferencesBtn: 'Nastavenia',
194                    footer: '<a href="/sk/zasady-ochrany-osobnich-udaju">Zásady ochrany osobných údajov</a>'
195                },
196                preferencesModal: {
197                    title: 'Nastavenie súhlasu s cookies',
198                    acceptAllBtn: 'Prijať všetko',
199                    acceptNecessaryBtn: 'Odmietnuť všetko',
200                    savePreferencesBtn: 'Uložiť nastavenia',
201                    closeIconLabel: 'Zavrieť',
202                    sections: [
203                        {
204                            title: 'Používanie cookies',
205                            description: 'Cookies používame, aby web správne fungoval a aby sme mohli zlepšovať jeho obsah. Nižšie si môžete zvoliť, ktoré kategórie povolíte.'
206                        },
207                        {
208                            title: 'Nevyhnutné cookies',
209                            description: 'Tieto cookies sú potrebné pre základné funkcie webu a nie je možné ich vypnúť.',
210                            linkedCategory: 'necessary'
211                        },
212                        {
213                            title: 'Analytické cookies',
214                            description: 'Pomáhajú nám pochopiť, ako návštevníci web používajú, a vylepšovať ho (napr. Google Analytics).',
215                            linkedCategory: 'analytics'
216                        },
217                        {
218                            title: 'Viac informácií',
219                            description: 'Podrobnosti nájdete v <a href="/sk/zasady-ochrany-osobnich-udaju">zásadách ochrany osobných údajov</a>.'
220                        }
221                    ]
222                }
223            }
224        }
225    }
226});

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.