PageSourceSearch

https://www.criticalissues-congress.com/modules/contrib/tacjs/asse…/tarteaucitron.services.js?v=1.20.0

js criticalissues-congress.com collected 2026-10-06 02:39:00 UTC 262,882 bytes, 6,993 lines download raw bytes

vendor: 6,301 bytes, lines 1-186
1/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
2/*jslint regexp: true, nomen: true*/
3/* min ready */
4
5// generic iframe
6tarteaucitron.services.iframe = {
7    "key": "iframe",
8    "type": "other",
9    "name": "Web content",
10    "uri": "",
11    "needConsent": true,
12    "cookies": [],
13    "js": function () {
14        "use strict";
15        tarteaucitron.fallback(['tac_iframe'], function (x) {
16            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : '',
17                width = tarteaucitron.getElemAttr(x,"width"),
18                height = tarteaucitron.getElemAttr(x,"height"),
19                allowfullscreen = tarteaucitron.getElemAttr(x,"allowfullscreen"),
20                url = tarteaucitron.getElemAttr(x,"url");
21
22            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
23
24            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
25        });
26    },
27    "fallback": function () {
28        "use strict";
29        var id = 'iframe';
30        tarteaucitron.fallback(['tac_iframe'], function (elem) {
31            elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
32            elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
33            return tarteaucitron.engage(id);
34        });
35    }
36};
37
38// goldenbees
39tarteaucitron.services.goldenbees = {
40    "key": "goldenbees",
41    "type": "ads",
42    "name": "Golden Bees",
43    "uri": "https://www.goldenbees.fr/politique-confidentialite",
44    "needConsent": true,
45    "cookies": [],
46    "js": function () {
47        "use strict";
48
49        if (tarteaucitron.user.goldenbeesId === undefined) {
50            return;
51        }
52
53        tarteaucitron.addScript('https://cdn.goldenbees.fr/proxy?url=http%3A%2F%2Fstatic.goldenbees.fr%2Fcdn%2Fjs%2Fgtag%2Fgoldentag-min.js&attachment=0', '', function() {
54            window.gbTag = GbTagBuilder.build(tarteaucitron.user.goldenbeesId);
55            window.gbTag.fire();
56        });
57    }
58};
59
60// weply
61tarteaucitron.services.weply = {
62    "key": "weply",
63    "type": "support",
64    "name": "Weply",
65    "uri": "https://weply.chat/",
66    "needConsent": true,
67    "cookies": ['weply.analytics', 'logglytrackingsession'],
68    "js": function () {
69        "use strict";
70
71        if (tarteaucitron.user.weplyId === undefined) {
72            return;
73        }
74
75        tarteaucitron.addScript('https://app.weply.chat/widget/' + tarteaucitron.user.weplyId);
76    }
77};
78
79// skaze
80tarteaucitron.services.skaze = {
81    "key": "skaze",
82    "type": "ads",
83    "name": "Skaze",
84    "uri": "https://www.skaze.com/fr/politique/politique-de-confidentialite/",
85    "needConsent": true,
86    "cookies": [],
87    "js": function () {
88        "use strict";
89
90        if (tarteaucitron.user.skazeIdentifier === undefined) {
91            return;
92        }
93
94        window.skaze = window.skaze || {};
95        tarteaucitron.addScript('https://events.sk.ht/' + tarteaucitron.user.skazeIdentifier + '/lib.js', '', function() {
96            skaze.cmd = skaze.cmd || [];
97            skaze.cmd.push(function() {
98                skaze.init({ siteIdentifier : tarteaucitron.user.skazeIdentifier });
99
100                if (typeof tarteaucitron.user.skazeMore === 'function') {
101                    tarteaucitron.user.skazeMore();
102                }
103            });
104        });
105    }
106};
107
108// dialoginsight
109tarteaucitron.services.dialoginsight = {
110    "key": "dialoginsight",
111    "type": "support",
112    "name": "Dialog Insight",
113    "uri": "https://www.dialoginsight.com/politique-de-confidentialite/",
114    "needConsent": true,
115    "cookies": [],
116    "js": function () {
117        "use strict";
118
119        if (tarteaucitron.user.dialogInsightId === undefined) {
120            return;
121        }
122
123        tarteaucitron.addScript('https://t.ofsys.com/js/Journey/1/' + tarteaucitron.user.dialogInsightId + '/DI.Journey-min.js');
124    }
125};
126
127// markerio
128tarteaucitron.services.markerio = {
129    "key": "markerio",
130    "type": "support",
131    "name": "Marker.io",
132    "uri": "https://marker.io/cookie-policy",
133    "needConsent": true,
134    "cookies": [],
135    "js": function () {
136        "use strict";
137
138        if (tarteaucitron.user.markerioProjectId === undefined) {
139            return;
140        }
141
142        window.markerConfig = {
143            project: tarteaucitron.user.markerioProjectId,
144            source: 'snippet'
145        };
146
147        !function(e,r,a){if(!e.__Marker){e.__Marker={};var t=[],n={__cs:t};["show","hide","isVisible","capture","cancelCapture","unload","reload","isExtensionInstalled","setReporter","setCustomData","on","off"].forEach(function(e){n[e]=function(){var r=Array.prototype.slice.call(arguments);r.unshift(e),t.push(r)}}),e.Marker=n;var s=r.createElement("script");s.async=1,s.src="https://edge.marker.io/latest/shim.js";var i=r.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)}}(window,document);
148    }
149};
150
151// tolkaigenii
152tarteaucitron.services.tolkaigenii = {
153    "key": "tolkaigenii",
154    "type": "support",
155    "name": "Tolk.ai Genii",
156    "uri": "https://www.tolk.ai/",
157    "needConsent": true,
158    "cookies": [],
159    "js": function () {
160        "use strict";
161
162        if (tarteaucitron.user.tolkaiGeniiProject === undefined) {
163            return;
164        }
165
166        tarteaucitron.addScript('https://genii-script.tolk.ai/lightchat.js', 'lightchat-bot', '', '', 'project-id', tarteaucitron.user.tolkaiGeniiProject);
167    }
168};
169
170// seamlessaccess
171tarteaucitron.services.seamlessaccess = {
172    "key": "seamlessaccess",
173    "type": "api",
174    "name": "Seamlessaccess",
175    "uri": "https://seamlessaccess.org/about/trust/",
176    "needConsent": true,
177    "cookies": [],
178    "js": function () {
179        "use strict";
180        if (tarteaucitron.user.seamlessaccessInitiator === undefined) {
181            return;
182        }
183        var uniqIds = [];
184        tarteaucitron.fallback(['seamlessaccess_button'], function(x) {
185            var uniqId = tarteaucitron.getElemAttr(x, 'id');
186            if (uniqId === undefined
vendor: 15,962 bytes, lines 186-658
186) {
187                uniqId = '_' + Math.random().toString(36).substr(2, 9);
188                x.setAttribute('id', uniqId);
189            }
190            uniqIds.push(uniqId);
191            x.innerHTML = '';
192        }, true);
193        tarteaucitron.addScript('//service.seamlessaccess.org/thiss.js', 'seamlessaccessjs', function() {
194            for (var i = 0; i < uniqIds.length; i += 1) {
195                thiss.DiscoveryComponent.render({
196                    loginInitiatorURL: tarteaucitron.user.seamlessaccessInitiator,
197                }, '#' + uniqIds[i]);
198            }
199        });
200    },
201    "fallback": function () {
202        "use strict";
203        var id = 'seamlessaccess';
204        tarteaucitron.fallback(['seamlessaccess_button'], tarteaucitron.engage(id));
205    }
206};
207
208// reddit
209tarteaucitron.services.reddit = {
210    "key": "reddit",
211    "type": "ads",
212    "name": "Reddit",
213    "uri": "https://business.reddithelp.com/helpcenter/s/article/Reddit-Advertising-Policy-Overview",
214    "needConsent": true,
215    "cookies": [],
216    "js": function () {
217        "use strict";
218
219        if (tarteaucitron.user.redditInit === undefined) {
220            return;
221        }
222
223        !function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init',tarteaucitron.user.redditInit, {"aaid":tarteaucitron.user.redditAAID,"externalId":tarteaucitron.user.redditExternalId,"idfa":tarteaucitron.user.redditIDFA});rdt('track', 'PageVisit');
224    }
225};
226
227// zoho
228tarteaucitron.services.zoho = {
229    "key": "zoho",
230    "type": "support",
231    "name": "Zoho SalesIQ",
232    "uri": "https://www.zoho.com/gdpr.html",
233    "needConsent": true,
234    "cookies": [],
235    "js": function () {
236        "use strict";
237
238        if (tarteaucitron.user.zohoWidgetCode === undefined) {
239            return;
240        }
241
242        var $zoho=$zoho || {};
243        $zoho.salesiq = $zoho.salesiq || {widgetcode:tarteaucitron.user.zohoWidgetCode, values:{},ready:function(){}};
244        tarteaucitron.addScript('https://salesiq.zoho.eu/widget');
245    }
246};
247
248// teads
249tarteaucitron.services.teads = {
250    "key": "teads",
251    "type": "ads",
252    "name": "Teads",
253    "uri": "https://privacy-policy.teads.com",
254    "needConsent": true,
255    "cookies": [],
256    "js": function () {
257        "use strict";
258
259        if (tarteaucitron.user.teadsBuyerPixelId === undefined) {
260            return;
261        }
262
263        tarteaucitron.addScript('https://p.teads.tv/teads-fellow.js');
264
265        window.teads_e = window.teads_e || [];
266        window.teads_buyer_pixel_id = tarteaucitron.user.teadsBuyerPixelId;
267    }
268};
269
270// thetradedesk
271tarteaucitron.services.thetradedesk = {
272    "key": "thetradedesk",
273    "type": "ads",
274    "name": "TheTradeDesk",
275    "uri": "https://www.thetradedesk.com/fr/privacy",
276    "needConsent": true,
277    "cookies": [],
278    "js": function () {
279        "use strict";
280
281        if (tarteaucitron.user.thetradedeskAdvertiserId === undefined || tarteaucitron.user.thetradedeskUpixelId === undefined) {
282            return;
283        }
284
285        tarteaucitron.addScript('https://js.adsrvr.org/up_loader.1.1.0.js', '', function() {
286            ttd_dom_ready( function() {
287                if (typeof TTDUniversalPixelApi === 'function') {
288                    var universalPixelApi = new TTDUniversalPixelApi();
289                    universalPixelApi.init(tarteaucitron.user.thetradedeskAdvertiserId, [tarteaucitron.user.thetradedeskUpixelId], "https://insight.adsrvr.org/track/up");
290                }
291            });
292        });
293    }
294};
295
296// gcmanalyticsstorage
297tarteaucitron.services.gcmanalyticsstorage = {
298    "key": "gcmanalyticsstorage",
299    "type": "google",
300    "name": "Analytics",
301    "uri": "https://policies.google.com/privacy",
302    "needConsent": true,
303    "cookies": [],
304    "js": function () {
305        "use strict";
306
307        if (tarteaucitron.parameters.googleConsentMode === true) {
308            window.tac_gtag('consent', 'update', {
309                analytics_storage: 'granted'
310            });
311        }
312    },
313    "fallback": function () {
314        "use strict";
315
316        if (tarteaucitron.parameters.googleConsentMode === true) {
317            window.tac_gtag('consent', 'update', {
318                analytics_storage: 'denied'
319            });
320        }
321    }
322};
323
324// gcmadstorage
325tarteaucitron.services.gcmadstorage = {
326    "key": "gcmadstorage",
327    "type": "google",
328    "name": "Advertising",
329    "uri": "https://policies.google.com/privacy",
330    "needConsent": true,
331    "cookies": [],
332    "js": function () {
333        "use strict";
334
335        if (tarteaucitron.parameters.googleConsentMode === true) {
336            window.tac_gtag('consent', 'update', {
337                ad_storage: 'granted'
338            });
339        }
340    },
341    "fallback": function () {
342        "use strict";
343
344        if (tarteaucitron.parameters.googleConsentMode === true) {
345            window.tac_gtag('consent', 'update', {
346                ad_storage: 'denied'
347            });
348        }
349    }
350};
351
352// gcmadsuserdata
353tarteaucitron.services.gcmadsuserdata = {
354    "key": "gcmadsuserdata",
355    "type": "google",
356    "name": "Personalized Advertising",
357    "uri": "https://policies.google.com/privacy",
358    "needConsent": true,
359    "cookies": [],
360    "js": function () {
361        "use strict";
362
363        if (tarteaucitron.parameters.googleConsentMode === true) {
364            window.tac_gtag('consent', 'update', {
365                ad_user_data: 'granted',
366                ad_personalization: 'granted'
367            });
368        }
369    },
370    "fallback": function () {
371        "use strict";
372
373        if (tarteaucitron.parameters.googleConsentMode === true) {
374            window.tac_gtag('consent', 'update', {
375                ad_user_data: 'denied',
376                ad_personalization: 'denied'
377            });
378        }
379    }
380};
381
382// gcmpersonalization
383tarteaucitron.services.gcmpersonalization = {
384    "key": "gcmpersonalization",
385    "type": "google",
386    "name": "Personalization",
387    "uri": "https://policies.google.com/privacy",
388    "needConsent": true,
389    "cookies": [],
390    "js": function () {
391        "use strict";
392
393        if (tarteaucitron.parameters.googleConsentMode === true) {
394            window.tac_gtag('consent', 'update', {
395                personalization_storage: 'granted'
396            });
397        }
398    },
399    "fallback": function () {
400        "use strict";
401
402        if (tarteaucitron.parameters.googleConsentMode === true) {
403            window.tac_gtag('consent', 'update', {
404                personalization_storage: 'denied'
405            });
406        }
407    }
408};
409
410// gcmfunctionality
411tarteaucitron.services.gcmfunctionality = {
412    "key": "gcmfunctionality",
413    "type": "google",
414    "name": "Functionality",
415    "uri": "https://policies.google.com/privacy",
416    "needConsent": true,
417    "cookies": [],
418    "js": function () {
419        "use strict";
420
421        if (tarteaucitron.parameters.googleConsentMode === true) {
422            window.tac_gtag('consent', 'update', {
423                functionality_storage: 'granted'
424            });
425        }
426    },
427    "fallback": function () {
428        "use strict";
429
430        if (tarteaucitron.parameters.googleConsentMode === true) {
431            window.tac_gtag('consent', 'update', {
432                functionality_storage: 'denied'
433            });
434        }
435    }
436};
437
438// gcmsecurity
439tarteaucitron.services.gcmsecurity = {
440    "key": "gcmsecurity",
441    "type": "google",
442    "name": "Security",
443    "uri": "https://policies.google.com/privacy",
444    "needConsent": true,
445    "cookies": [],
446    "js": function () {
447        "use strict";
448
449        if (tarteaucitron.parameters.googleConsentMode === true) {
450            window.tac_gtag('consent', 'update', {
451                security_storage: 'granted'
452            });
453        }
454    },
455    "fallback": function () {
456        "use strict";
457
458        if (tarteaucitron.parameters.googleConsentMode === true) {
459            window.tac_gtag('consent', 'update', {
460                security_storage: 'denied'
461            });
462        }
463    }
464};
465
466// piximedia
467tarteaucitron.services.piximedia = {
468    "key": "piximedia",
469    "type": "ads",
470    "name": "Piximedia",
471    "uri": "https://piximedia.com/privacy/",
472    "needConsent": true,
473    "cookies": [],
474    "js": function () {
475        "use strict";
476
477        if (tarteaucitron.user.piximediaName === undefined || tarteaucitron.user.piximediaTag === undefined || tarteaucitron.user.piximediaType === undefined || tarteaucitron.user.piximediaId === undefined) {
478            return;
479        }
480
481        tarteaucitron.addScript('https://ad.piximedia.com/tools/activity/?' + tarteaucitron.user.piximediaName + '||'+ tarteaucitron.user.piximediaTag + '|' + tarteaucitron.user.piximediaType + '|' + tarteaucitron.user.piximediaId + '|||||');
482    }
483};
484
485// screeb
486tarteaucitron.services.screeb = {
487    "key": "screeb",
488    "type": "support",
489    "name": "Screeb",
490    "uri": "https://screeb.app/gdpr-privacy",
491    "needConsent": true,
492    "cookies": [],
493    "js": function () {
494        "use strict";
495
496        if (tarteaucitron.user.screebId === undefined) {
497            return;
498        }
499
500        window['ScreebObject'] = '$screeb';
501        window['$screeb'] = window['$screeb'] || function() {
502            var d = arguments;
503            return new Promise(function(a, b) {
504                (window['$screeb'].q = window['$screeb'].q || []).push({
505                    v: 1,
506                    args: d,
507                    ok: a,
508                    ko: b
509                })
510            })
511        };
512
513        tarteaucitron.addScript('https://t.screeb.app/tag.js', '$screeb');
514
515        if (tarteaucitron.user.screebDontInit !== true) {
516            window.$screeb('init', tarteaucitron.user.screebId);
517        }
518    }
519};
520
521// pipedrive
522tarteaucitron.services.pipedrive = {
523    "key": "pipedrive",
524    "type": "support",
525    "name": "Pipedrive",
526    "uri": "https://www.pipedrive.com/en/cookie-notice",
527    "needConsent": true,
528    "cookies": [],
529    "js": function () {
530        "use strict";
531
532        if (tarteaucitron.user.pipedriveCompany === undefined || tarteaucitron.user.pipedrivePlaybook === undefined) {
533            return;
534        }
535
536        window.pipedriveLeadboosterConfig = {base: 'leadbooster-chat.pipedrive.com', companyId: tarteaucitron.user.pipedriveCompany, playbookUuid: tarteaucitron.user.pipedrivePlaybook, version: 2};
537
538        if (!window.LeadBooster) {
539            window.LeadBooster = {
540                q: [],
541                on: function(n, h) {
542                    this.q.push({
543                        t: 'o',
544                        n: n,
545                        h: h
546                    });
547                },
548                trigger: function(n) {
549                    this.q.push({
550                        t: 't',
551                        n: n
552                    });
553                },
554            };
555        }
556
557        tarteaucitron.addScript('https://leadbooster-chat.pipedrive.com/assets/loader.js');
558    },
559    "fallback": function () {
560        "use strict";
561        var id = '';
562        tarteaucitron.fallback(['proactiveChat'], function (elem) {
563            return tarteaucitron.engage(id);
564        });
565    }
566};
567
568// dynatrace
569tarteaucitron.services.dynatrace = {
570    "key": "dynatrace",
571    "type": "api",
572    "name": "Dynatrace",
573    "uri": "https://www.dynatrace.com/company/trust-center/privacy/",
574    "needConsent": true,
575    "cookies": [],
576    "js": function () {
577        "use strict";
578
579        if (tarteaucitron.user.dynatraceJSPath === undefined || tarteaucitron.user.dynatraceConfig === undefined) {
580            return;
581        }
582
583        tarteaucitron.addScript(tarteaucitron.user.dynatraceJSPath, '', '', '', 'data-dtconfig', tarteaucitron.user.dynatraceConfig);
584    }
585};
586
587// mixpanel
588tarteaucitron.services.mixpanel = {
589    "key": "mixpanel",
590    "type": "analytic",
591    "name": "Mixpanel",
592    "uri": "https://docs.mixpanel.com/docs/privacy/overview",
593    "needConsent": true,
594    "cookies": [],
595    "js": function () {
596        "use strict";
597
598        (function (f, b) { if (!b.__SV) { var e, g, i, h; window.mixpanel = b; b._i = []; b.init = function (e, f, c) { function g(a, d) { var b = d.split("."); 2 == b.length && ((a = a[b[0]]), (d = b[1])); a[d] = function () { a.push([d].concat(Array.prototype.slice.call(arguments, 0))); }; } var a = b; "undefined" !== typeof c ? (a = b[c] = []) : (c = "mixpanel"); a.people = a.people || []; a.toString = function (a) { var d = "mixpanel"; "mixpanel" !== c && (d += "." + c); a || (d += " (stub)"); return d; }; a.people.toString = function () { return a.toString(1) + ".people (stub)"; }; i = "disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split( " "); for (h = 0; h < i.length; h++) g(a, i[h]); var j = "set set_once union unset remove delete".split(" "); a.get_group = function () { function b(c) { d[c] = function () { call2_args = arguments; call2 = [c].concat(Array.prototype.slice.call(call2_args, 0)); a.push([e, call2]); }; } for ( var d = {}, e = ["get_group"].concat( Array.prototype.slice.call(arguments, 0)), c = 0; c < j.length; c++) b(j[c]); return d; }; b._i.push([e, f, c]); }; b.__SV = 1.2; e = f.createElement("script"); e.type = "text/javascript"; e.async = !0; e.src = "undefined" !== typeof MIXPANEL_CUSTOM_LIB_URL ? MIXPANEL_CUSTOM_LIB_URL : "file:" === f.location.protocol && "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//) ? "https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js" : "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"; g = f.getElementsByTagName("script")[0]; g.parentNode.insertBefore(e, g); } })(document, window.mixpanel || []);
599    }
600};
601
602// freshsalescrm
603tarteaucitron.services.freshsalescrm = {
604  "key": "freshsalescrm",
605  "type": "analytic",
606  "name": "FreshSales (CRM)",
607  "uri": "https://www.freshworks.com/gdpr/",
608  "needConsent": true,
609  "cookies": [],
610  "js": function () {
611    "use strict";
612
613    if (tarteaucitron.user.freshsalescrmId === undefined) {
614     return;
615    }
616
617    tarteaucitron.addScript('https://eu.fw-cdn.com/' + tarteaucitron.user.freshsalescrmId + '.js');
618  }
619};
620
621// equativ
622tarteaucitron.services.equativ = {
623    "key": "equativ",
624    "type": "ads",
625    "name": "Equativ",
626    "uri": "https://equativ.com/",
627    "needConsent": true,
628    "cookies": [],
629    "js": function () {
630        "use strict";
631
632        if (tarteaucitron.user.equativId === undefined) {
633            return;
634        }
635
636        tarteaucitron.addScript('https://ced.sascdn.com/tag/' + tarteaucitron.user.equativId + '/smart.js');
637    }
638};
639
640// twitch
641tarteaucitron.services.twitch = {
642    "key": "twitch",
643    "type": "video",
644    "name": "Twitch",
645    "needConsent": true,
646    "cookies": [],
647    "uri": "https://www.twitch.tv/p/en/legal/privacy-notice",
648    "js": function () {
649        "use strict";
650        tarteaucitron.fallback(['twitch_player'], function (x) {
651            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Twitch iframe',
652                id = tarteaucitron.getElemAttr(x, 'videoID'),
653                parent = tarteaucitron.getElemAttr(x, 'parent'),
654                width = tarteaucitron.getElemAttr(x, 'width'),
655                height = tarteaucitron.getElemAttr(x, 'height');
656            var embedURL = "https://player.twitch.tv/?video=" + id + "&parent=" + parent;
657
658            var styleAttr = (width !== "" ? "width:" + 
vendor: 4,511 bytes, lines 658-805
658parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
659
660            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"" + embedURL + "\"></iframe>";
661        });
662    },
663    "fallback": function () {
664        "use strict";
665        var id = "twitch";
666        tarteaucitron.fallback(["twitch_player"], tarteaucitron.engage(id));
667    }
668};
669
670// eskimi
671tarteaucitron.services.eskimi = {
672    "key": "eskimi",
673    "type": "ads",
674    "name": "Eskimi",
675    "uri": "https://fr.eskimi.com/privacy-policy",
676    "needConsent": true,
677    "cookies": [],
678    "js": function () {
679        "use strict";
680
681        if (tarteaucitron.user.eskimiInit === undefined) {
682            return;
683        }
684
685        window.___esk = window.esk = function () {
686            window.___esk.callMethod ? window.___esk.callMethod.apply(window.___esk, arguments) : window.___esk.queue.push(arguments);
687        };
688        window.___esk.push = window.___esk;
689        window.___esk.loaded = true;
690        window.___esk.queue = [];
691
692        tarteaucitron.addScript("https://dsp-media.eskimi.com/assets/js/e/gtr.min.js", '', function () {
693            esk('init', tarteaucitron.user.eskimiInit);
694        });
695    }
696};
697
698// sharethissticky
699tarteaucitron.services.sharethissticky = {
700    "key": "sharethissticky",
701    "type": "social",
702    "name": "ShareThis Sticky",
703    "uri": "https://sharethis.com/fr/privacy/",
704    "needConsent": true,
705    "cookies": ['_stid','_stidv','pubconsent'],
706    "js": function () {
707        "use strict";
708
709        if (tarteaucitron.user.sharethisStickyProperty === undefined) {
710            return;
711        }
712
713        tarteaucitron.addScript("https://platform-api.sharethis.com/js/sharethis.js#property=" + tarteaucitron.user.sharethisStickyProperty + "&product=sticky-share-buttons");
714    }
715};
716
717// pianoanalytics
718tarteaucitron.services.pianoanalytics = {
719    "key": "pianoanalytics",
720    "type": "analytic",
721    "name": "Piano Analytics",
722    "uri": "https://piano.io/privacy-policy/",
723    "needConsent": true,
724    "cookies": ['_pcid','_pctx','_pctx','pa_user', 'pa_privacy'],
725    "js": function () {
726        "use strict";
727
728        if (tarteaucitron.user.pianoCollectDomain === undefined || tarteaucitron.user.pianoSite === undefined) {
729            return;
730        }
731
732        tarteaucitron.addScript("https://tag.aticdn.net/piano-analytics.js", '', function () {
733
734            pa.setConfigurations({
735                site: tarteaucitron.user.pianoSite,
736                collectDomain: tarteaucitron.user.pianoCollectDomain
737            });
738
739            if (tarteaucitron.user.pianoSendData !== false) {
740                pa.sendEvent('page.display', {
741                    'page': document.title
742                });
743            }
744        });
745    }
746};
747
748// actistat
749tarteaucitron.services.actistat = {
750    "key": "actistat",
751    "type": "analytic",
752    "name": "ActiSTAT",
753    "uri": "https://actigraph.com/actistat",
754    "needConsent": true,
755    "cookies": [],
756    "js": function () {
757        "use strict";
758
759        if (tarteaucitron.user.actistatId === undefined) {
760            return;
761        }
762
763        tarteaucitron.addScript('https://actistat.fr/umami.js', '', '', '', 'data-website-id', tarteaucitron.user.actistatId);
764    }
765};
766
767// outbrainamplify
768tarteaucitron.services.outbrainamplify = {
769    "key": "outbrainamplify",
770    "type": "ads",
771    "name": "Outbrain Amplify",
772    "uri": "https://www.outbrain.com/privacy/",
773    "needConsent": true,
774    "cookies": [],
775    "js": function () {
776        "use strict";
777
778        if (tarteaucitron.user.outbrainamplifyId === undefined) {
779            return;
780        }
781
782        var OB_ADV_ID = tarteaucitron.user.outbrainamplifyId;
783        if (window.obApi) {
784            var toArray = function(object) {
785                return Object.prototype.toString.call(object) === '[object Array]' ? object : [object];
786            };
787            window.obApi.marketerId = toArray(_window.obApi.marketerId).concat(toArray(OB_ADV_ID));
788            return;
789        }
790        var api = window.obApi = function() {
791            api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);
792        };
793        api.version = '1.1';
794        api.loaded = true;
795        api.marketerId = OB_ADV_ID;
796        api.queue = [];
797
798        tarteaucitron.addScript('https://amplify.outbrain.com/cp/obtp.js', '', function () {
799            obApi('track', 'PAGE_VIEW');
800        });
801    }
802};
803
804// playplay
805tarteaucitron.services.playplay = {
806    "key": "playplay",
807    "type": "video",
808    "name": "PlayPlay",
809    "uri": "https://playplay.com/fr/confidentialite",
810    "needConsent": true,
811    "cookies": [],
812    "js": function () {
813        "use strict";
814
815        tarteaucitron.fallback(['tac_playplay'], function (x) {
816            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Playplay iframe',
817                id = tarteaucitron.getElemAttr(x, "data-id"),
818                width = tarteaucitron.getElemAttr(x, "width"),
819                height = tarteaucitron.getElemAttr(x, "height");
820
821            var playURL = "https://playplay.com/app/embed-video/" + id;
822
823            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px
vendor: 10,703 bytes, lines 823-1120
823;" : "");
824
825            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "border:0;\" src=\"" + playURL + "\" allowfullscreen></iframe>";
826        });
827    },
828    "fallback": function () {
829        "use strict";
830        var id = 'playplay';
831        tarteaucitron.fallback(['tac_playplay'], function (elem) {
832            return tarteaucitron.engage(id);
833        });
834    }
835};
836
837// adobeworkspace
838tarteaucitron.services.adobeworkspace = {
839    "key": "adobeworkspace",
840    "type": "analytic",
841    "name": "Adobe - Analysis Workspace",
842    "uri": "https://www.adobe.com/privacy/policy.html",
843    "needConsent": true,
844    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
845    "js": function () {
846        "use strict";
847
848        if (tarteaucitron.user.adobeworkspaceId1 === undefined || tarteaucitron.user.adobeworkspaceId2 === undefined || tarteaucitron.user.adobeworkspaceId3 === undefined) {
849            return;
850        }
851
852        tarteaucitron.addScript('https://assets.adobedtm.com/'+tarteaucitron.user.adobeworkspaceId1+'/'+tarteaucitron.user.adobeworkspaceId2+'/launch-'+tarteaucitron.user.adobeworkspaceId3+'.min.js');
853    }
854};
855
856// zohopagesense
857tarteaucitron.services.zohopagesense = {
858    "key": "zohopagesense",
859    "type": "analytic",
860    "name": "Zoho PageSense",
861    "uri": "https://www.zoho.com/pagesense/cookie-policy.html",
862    "needConsent": true,
863    "cookies": ["zab_g_", "zabUserID", "zabVisitID", "zabSplit", "zabBucket", "zabHMBucket", "zpsfa_", "zfa", "zsr", "zabme", "zsd", "ps_payloadSeqId", "zabPZBucket", "zPersonalization", "zia_", "zpc", "zps_permission_status", "zps-tgr-dts", "zpspolls_", "zpsPollsBucket", "zpspb", "zpsPopupBucket", "zpssr", "zab_g_", "zab_", "zPersonalization"],
864    "js": function () {
865        "use strict";
866
867        if (tarteaucitron.user.zohoPageSenseProjectId === undefined || tarteaucitron.user.zohoPageSenseScriptHash === undefined) {
868            return;
869        }
870        tarteaucitron.addScript('https://cdn-eu.pagesense.io/js/' + tarteaucitron.user.zohoPageSenseProjectId + '/' + tarteaucitron.user.zohoPageSenseScriptHash + '.js');
871    }
872};
873
874// leadinfo
875tarteaucitron.services.leadinfo = {
876    "key": "leadinfo",
877    "type": "analytic",
878    "name": "Leadinfo",
879    "uri": "https://www.leadinfo.com/en/privacy/",
880    "needConsent": true,
881    "cookies": ['_li_id', '_li_ses'],
882    "js": function () {
883        "use strict";
884
885        if (tarteaucitron.user.leadinfoId === undefined) {
886            return;
887        }
888
889        window.GlobalLeadinfoNamespace = window.GlobalLeadinfoNamespace || [];
890        window.GlobalLeadinfoNamespace.push("leadinfo");
891        window["leadinfo"] = function() {
892            (window["leadinfo"].q = window["leadinfo"].q || []).push(arguments)
893        };
894        window["leadinfo"].t = window["leadinfo"].t || tarteaucitron.user.leadinfoId;
895        window["leadinfo"].q = window["leadinfo"].q || [];
896
897        tarteaucitron.addScript('https://cdn.leadinfo.net/ping.js');
898    }
899};
900
901// force24
902tarteaucitron.services.force24 = {
903    "key": "force24",
904    "type": "analytic",
905    "name": "Force24",
906    "uri": "https://support.force24.co.uk/support/solutions/articles/79000128057-cookie-policies",
907    "needConsent": true,
908    "cookies": ['F24_autoID', 'F24_personID'],
909    "js": function () {
910        "use strict";
911
912        if (tarteaucitron.user.force24trackingId === undefined || tarteaucitron.user.force24clientId === undefined) {
913            return;
914        }
915
916        window.Force24Object = "f24", window["f24"] = window["f24"] || function() {
917            window["f24"].q = window["f24"].q || [],
918                window["f24"].q.push(arguments)
919        }, window["f24"].l = 1 * new Date;
920
921        tarteaucitron.addScript('https://static.websites.data-crypt.com/scripts/activity/v3/inject-v3.min.js');
922
923        f24('config', 'set_tracking_id', tarteaucitron.user.force24trackingId);
924        f24('config', 'set_client_id', tarteaucitron.user.force24clientId);
925    }
926};
927
928// tiktokvideo
929tarteaucitron.services.tiktokvideo = {
930    "key": "tiktokvideo",
931    "type": "video",
932    "name": "Tiktok Video",
933    "uri": "https://www.tiktok.com/legal/page/eea/privacy-policy/en",
934    "needConsent": true,
935    "cookies": [],
936    "js": function () {
937        "use strict";
938
939        tarteaucitron.addScript('https://www.tiktok.com/embed.js');
940    },
941    "fallback": function () {
942        "use strict";
943        var id = 'tiktokvideo';
944        tarteaucitron.fallback(['tiktok-embed'], function (elem) {
945            return tarteaucitron.engage(id);
946        });
947    }
948};
949
950// shinystat
951tarteaucitron.services.shinystat = {
952    "key": "shinystat",
953    "type": "analytic",
954    "name": "Shinystat",
955    "uri": "https://www.shinystat.com/en/opt-out.html",
956    "needConsent": true,
957    "cookies": [],
958    "js": function () {
959        "use strict";
960
961        if (tarteaucitron.user.shinystatUser === undefined) {
962            return;
963        }
964
965        tarteaucitron.addScript('https://codice.shinystat.com/cgi-bin/getcod.cgi?USER=' + tarteaucitron.user.shinystatUser);
966    }
967};
968
969// activecampaignvgo
970tarteaucitron.services.activecampaignvgo = {
971    "key": "activecampaignvgo",
972    "type": "other",
973    "name": "Active Campaign",
974    "uri": "https://www.activecampaign.com/legal/privacy-policy/",
975    "needConsent": true,
976    "cookies": [],
977    "js": function () {
978        "use strict";
979
980        if (tarteaucitron.user.activecampaignAccount === undefined) {
981            return;
982        }
983
984        window.visitorGlobalObjectAlias="vgo";
985        window[window.visitorGlobalObjectAlias]=window[window.visitorGlobalObjectAlias]||function(){(window[window.visitorGlobalObjectAlias].q=window[window.visitorGlobalObjectAlias].q||[]).push(arguments)};
986        window[window.visitorGlobalObjectAlias].l=(new Date).getTime();
987
988        tarteaucitron.addScript('https://diffuser-cdn.app-us1.com/diffuser/diffuser.js', '', function () {
989            vgo('setAccount', tarteaucitron.user.activecampaignAccount);
990            vgo('setTrackByDefault', true);
991            vgo('process');
992        });
993    }
994};
995
996// Brevo (formerly sendinblue)
997tarteaucitron.services.sendinblue = {
998    "key": "sendinblue",
999    "type": "other",
1000    "name": "Brevo (formerly sendinblue)",
1001    "uri": "https://www.brevo.com/fr/legal/cookies/",
1002    "needConsent": true,
1003    "cookies": [],
1004    "js": function () {
1005        "use strict";
1006
1007        if (tarteaucitron.user.sendinblueKey === undefined) {
1008            return;
1009        }
1010
1011        window.sib = {equeue: [], client_key: tarteaucitron.user.sendinblueKey};
1012        window.sendinblue = {};
1013        for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) {
1014            (function(k) {
1015                window.sendinblue[k] = function() {
1016                    var arg = Array.prototype.slice.call(arguments);
1017                    (window.sib[k] || function() {
1018                        var t = {};
1019                        t[k] = arg;
1020                        window.sib.equeue.push(t);
1021                    })(arg[0], arg[1], arg[2], arg[3]);
1022                };
1023            })(j[i]);
1024        }
1025
1026        tarteaucitron.addScript('https://sibautomation.com/sa.js?key=' + window.sib.client_key, 'sendinblue-js', function () {
1027            window.sendinblue.page();
1028        });
1029    }
1030};
1031
1032// collectchat
1033tarteaucitron.services.collectchat = {
1034    "key": "collectchat",
1035    "type": "other",
1036    "name": "Collect Chat",
1037    "uri": "https://collect.chat/privacy/",
1038    "needConsent": true,
1039    "cookies": [],
1040    "js": function () {
1041        "use strict";
1042
1043        if (tarteaucitron.user.collectchatId === undefined) {
1044            return;
1045        }
1046
1047        window.CollectId = tarteaucitron.user.collectchatId;
1048
1049        tarteaucitron.addScript('https://collectcdn.com/launcher.js');
1050    }
1051};
1052
1053// eulerian
1054tarteaucitron.services.eulerian = {
1055    "key": "eulerian",
1056    "type": "analytic",
1057    "name": "Eulerian",
1058    "uri": "https://www.eulerian.com/rgpd",
1059    "needConsent": true,
1060    "cookies": [],
1061    "js": function () {
1062        "use strict";
1063
1064        if (tarteaucitron.user.eulerianHost === undefined) {
1065            return;
1066        }
1067
1068        (function(e,a){var i=e.length,y=5381,k='script',s=window,v=document,o=v.createElement(k);for(;i;){i-=1;y=(y*33)^e.charCodeAt(i)}y='_EA_'+(y>>>=0);(function(e,a,s,y){s[a]=s[a]||function(){(s[y]=s[y]||[]).push(arguments);s[y].eah=e;};}(e,a,s,y));i=new Date/1E7|0;o.ea=y;y=i%26;o.async=1;o.src='//'+e+'/'+String.fromCharCode(97+y,122-y,65+y)+(i%1E3)+'.js?2';s=v.getElementsByTagName(k)[0];s.parentNode.insertBefore(o,s);})
1069        (tarteaucitron.user.eulerianHost,'EA_push');
1070        EA_push();
1071    }
1072};
1073
1074// posthog
1075tarteaucitron.services.posthog = {
1076    "key": "posthog",
1077    "type": "other",
1078    "name": "Posthog",
1079    "uri": "https://posthog.com/privacy",
1080    "needConsent": true,
1081    "cookies": [],
1082    "js": function () {
1083        "use strict";
1084
1085        if (tarteaucitron.user.posthogApiKey === undefined || tarteaucitron.user.posthogHost === undefined) {
1086            return;
1087        }
1088
1089        !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
1090
1091        posthog.init(tarteaucitron.user.posthogApiKey, {api_host: tarteaucitron.user.posthogHost});
1092
1093    }
1094};
1095
1096// googlesignin
1097tarteaucitron.services.googlesignin = {
1098    "key": "googlesignin",
1099    "type": "other",
1100    "name": "Google Signin",
1101    "uri": "https://policies.google.com/technologies/cookies#types-of-cookies",
1102    "needConsent": true,
1103    "cookies": [],
1104    "js": function () {
1105        "use strict";
1106
1107        tarteaucitron.addScript('https://accounts.google.com/gsi/client');
1108    }
1109};
1110
1111// calendly
1112tarteaucitron.services.calendly = {
1113    "key": "calendly",
1114    "type": "other",
1115    "name": "Calendly",
1116    "uri": "https://calendly.com/privacy",
1117    "needConsent": true,
1118    "cookies": [],
1119    "js": function () {
1120        "use strict";
vendor: 14,398 bytes, lines 1121-1543
1121
1122        tarteaucitron.addScript('https://assets.calendly.com/assets/external/widget.js');
1123    }
1124};
1125
1126// tolkai
1127tarteaucitron.services.tolkai = {
1128    "key": "tolkai",
1129    "type": "other",
1130    "name": "tolk.ai",
1131    "uri": "https://www.tolk.ai/",
1132    "needConsent": true,
1133    "cookies": [],
1134    "js": function () {
1135        "use strict";
1136
1137        if (tarteaucitron.user.tolkaiBot === undefined) {
1138            return;
1139        }
1140
1141        window.tcfbot = tarteaucitron.user.tolkaiBot;
1142        window.TcfWbchtParams = { behaviour: 'default' };
1143        window.display = 'iframe';
1144        tarteaucitron.addScript('https://script.tolk.ai/iframe-latest.js');
1145    }
1146};
1147
1148// kwanko
1149tarteaucitron.services.kwanko = {
1150    "key": "kwanko",
1151    "type": "ads",
1152    "name": "Kwanko",
1153    "uri": "https://www.kwanko.com/fr/rgpd/politique-gestion-donnees/",
1154    "needConsent": true,
1155    "cookies": [],
1156    "js": function () {
1157        "use strict";
1158        tarteaucitron.fallback(['tac_kwanko'], function (x) {
1159            var mclic = tarteaucitron.getElemAttr(x, "data-mclic");
1160
1161            return '<img src="https://action.metaffiliation.com/trk.php?mclic=' + mclic + '" width="1" height="1" />';
1162        });
1163    },
1164    "fallback": function () {
1165        "use strict";
1166        var id = 'kwanko';
1167        tarteaucitron.fallback(['tac_kwanko'], function (elem) {
1168            return tarteaucitron.engage(id);
1169        });
1170    }
1171};
1172
1173// leadforensics
1174tarteaucitron.services.leadforensics = {
1175    "key": "leadforensics",
1176    "type": "ads",
1177    "name": "Lead Forensics",
1178    "uri": "https://www.leadforensics.com/cookie-policy/",
1179    "needConsent": true,
1180    "cookies": ['ifuuid'],
1181    "js": function () {
1182        "use strict";
1183        if (tarteaucitron.user.leadforensicsId === undefined) {
1184            return;
1185        }
1186
1187        tarteaucitron.addScript('https://secure.team8save.com/js/sc/'+ tarteaucitron.user.leadforensicsId +'.js');
1188    }
1189};
1190
1191// ubib
1192tarteaucitron.services.ubib = {
1193    "key": "ubib",
1194    "type": "support",
1195    "name": "Ubib Chatbot",
1196    "uri": "https://ubib.libanswers.com/",
1197    "needConsent": true,
1198    "cookies": [],
1199    "js": function () {
1200        "use strict";
1201
1202        if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) {
1203            return;
1204        }
1205
1206        tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash);
1207    }
1208};
1209
1210// wysistathightrack
1211tarteaucitron.services.wysistathightrack = {
1212    "key": "wysistathightrack",
1213    "type": "analytic",
1214    "name": "Wysistat (privacy by design)",
1215    "uri": "https://www.wysistat.net/webanalytics/exemption-cnil/",
1216    "needConsent": false,
1217    "cookies": ['wysistat'],
1218    "js": function () {
1219        "use strict";
1220
1221        if (tarteaucitron.user.wysistatNom === undefined) {
1222            return;
1223        }
1224
1225        window._wsq = window._wsq || [];
1226        window._wsq.push(['_setNom', tarteaucitron.user.wysistatNom]);
1227        window._wsq.push(['_wysistat']);
1228
1229        tarteaucitron.addScript('https://www.wysistat.com/ws.jsa');
1230    }
1231};
1232
1233// robofabrica
1234tarteaucitron.services.robofabrica = {
1235    "key": "robofabrica",
1236    "type": "support",
1237    "name": "Robo Fabrica Chatbot",
1238    "uri": "https://robofabrica.tech/charte-vie-privee/",
1239    "needConsent": true,
1240    "cookies": [],
1241    "js": function () {
1242        "use strict";
1243
1244        if (tarteaucitron.user.robofabricaUuid === undefined) {
1245            return;
1246        }
1247
1248        tarteaucitron.addScript('https://app.robofabrica.tech/widget/script', 'inceptive-cw-script', function() {
1249
1250            document.getElementById('inceptive-cw-script').setAttribute('unique-url', tarteaucitron.user.robofabricaUuid);
1251            document.getElementById('inceptive-cw-script').setAttribute('label', 'start');
1252            document.getElementById('inceptive-cw-script').setAttribute('launch-btn-id', 'inceptive-cw-launch');
1253            document.getElementById('inceptive-cw-script').setAttribute('chat-server-url', 'https://app.robofabrica.tech:443');
1254
1255        });
1256    }
1257};
1258
1259// trustpilot
1260tarteaucitron.services.trustpilot = {
1261    "key": "trustpilot",
1262    "type": "other",
1263    "name": "Trustpilot",
1264    "uri": "https://fr.legal.trustpilot.com/for-reviewers/end-user-privacy-terms",
1265    "needConsent": true,
1266    "cookies": [],
1267    "js": function () {
1268        "use strict";
1269        tarteaucitron.fallback(['trustpilot-widget'], '');
1270        tarteaucitron.addScript('https://widget.trustpilot.com/bootstrap/v5/tp.widget.sync.bootstrap.min.js');
1271    },
1272    "fallback": function () {
1273        "use strict";
1274        var id = 'trustpilot';
1275        tarteaucitron.fallback(['trustpilot-widget'], function (elem) {
1276            elem.style.width = tarteaucitron.getElemAttr(elem, 'data-style-width');
1277            elem.style.height = tarteaucitron.getElemAttr(elem, 'data-style-height');
1278            return tarteaucitron.engage(id);
1279        });
1280    }
1281};
1282
1283// snapchat
1284tarteaucitron.services.snapchat = {
1285    "key": "snapchat",
1286    "type": "analytic",
1287    "name": "Snapchat",
1288    "uri": "https://snap.com/fr-FR/privacy/privacy-policy",
1289    "needConsent": true,
1290    "cookies": [],
1291    "js": function () {
1292        "use strict";
1293
1294        if (tarteaucitron.user.snapchatId === undefined) {
1295            return;
1296        }
1297
1298        var a = window.snaptr = function() {
1299            a.handleRequest ? a.handleRequest.apply(a, arguments) : a.queue.push(arguments)
1300        };
1301        a.queue = [];
1302
1303        if (tarteaucitron.user.snapchatEmail === undefined) {
1304            window.snaptr('init', tarteaucitron.user.snapchatId);
1305        } else {
1306            window.snaptr('init', tarteaucitron.user.snapchatId, {
1307                'user_email': tarteaucitron.user.snapchatEmail
1308            });
1309        }
1310        window.snaptr('track', 'PAGE_VIEW');
1311
1312        tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
1313
1314        if (typeof tarteaucitron.user.snapchatMore === 'function') {
1315            tarteaucitron.user.snapchatMore();
1316        }
1317    }
1318};
1319
1320// antvoice
1321tarteaucitron.services.antvoice = {
1322    "key": "antvoice",
1323    "type": "ads",
1324    "name": "antvoice",
1325    "uri": "https://www.antvoice.com/fr/privacy-policy/",
1326    "needConsent": true,
1327    "cookies": ['antvoice'],
1328    "js": function () {
1329        "use strict";
1330
1331        if (tarteaucitron.user.antvoiceId === undefined) {
1332            return;
1333        }
1334
1335        window.avDataLayer = window.avDataLayer || [];
1336        window.avtag = window.avtag || function(_cmd,_p) {
1337            window.avDataLayer.push({cmd:_cmd,p:_p});
1338        }
1339        window.avtag('setConsent', {consent:true});
1340        window.avtag('init', {id: tarteaucitron.user.antvoiceId});
1341
1342        tarteaucitron.addScript('https://static.avads.net/avtag.min.js');
1343    }
1344};
1345
1346// plausible
1347tarteaucitron.services.plausible = {
1348    "key": "plausible",
1349    "type": "analytic",
1350    "name": "Plausible",
1351    "uri": "https://plausible.io/privacy",
1352    "needConsent": false,
1353    "cookies": [],
1354    "js": function () {
1355        "use strict";
1356
1357        if (tarteaucitron.user.plausibleDomain === undefined) {
1358            return;
1359        }
1360
1361        tarteaucitron.addScript('https://plausible.io/js/script.js', '', '', '', 'data-domain', tarteaucitron.user.plausibleDomain);
1362    }
1363};
1364
1365// videas
1366tarteaucitron.services.videas = {
1367    "key": "videas",
1368    "type": "video",
1369    "name": "Videas",
1370    "uri": "https://videas.fr/fr/legal",
1371    "needConsent": true,
1372    "cookies": [],
1373    "js": function () {
1374        "use strict";
1375        tarteaucitron.fallback(['tac_videas'], function (x) {
1376            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Videas iframe',
1377                width = tarteaucitron.getElemAttr(x, "width"),
1378                height = tarteaucitron.getElemAttr(x, "height"),
1379                id = tarteaucitron.getElemAttr(x, "data-id"),
1380                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
1381
1382            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
1383
1384            return '<iframe title="' + frame_title + '" src="https://app.videas.fr/embed/' + id + '/" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
1385        });
1386    },
1387    "fallback": function () {
1388        "use strict";
1389        var id = 'videas';
1390        tarteaucitron.fallback(['tac_videas'], function (elem) {
1391            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
1392            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
1393            return tarteaucitron.engage(id);
1394        });
1395    }
1396};
1397
1398// myfeelback
1399tarteaucitron.services.myfeelback = {
1400    "key": "myfeelback",
1401    "type": "api",
1402    "name": "MyFeelBack (Skeepers)",
1403    "uri": "https://help.myfeelback.com/fr/quels-sont-les-cookies-d%C3%A9pos%C3%A9s-par-un-dispositif-de-collecte-myfeelback",
1404    "needConsent": true,
1405    "cookies": [],
1406    "js": function () {
1407        "use strict";
1408        if (tarteaucitron.user.myfeelbackId === undefined) {
1409            return;
1410        }
1411
1412        window._Mfb_useCookie = true;
1413        window._Mfb_ud = {
1414            var1: undefined,
1415            var2: undefined,
1416            varN: undefined,
1417            _context: {
1418                lang: undefined,
1419                privacyMode: false,
1420                _page: {
1421                    url: location.pathname,
1422                    storageDuration: 30
1423                }
1424            }
1425        };
1426        tarteaucitron.addScript('https://actorssl-5637.kxcdn.com/actor/'+tarteaucitron.user.myfeelbackId+'/action', 'MFBActor');
1427    }
1428};
1429
1430// arcio
1431tarteaucitron.services.arcio = {
1432    "key": "arcio",
1433    "type": "api",
1434    "name": "Arc.io",
1435    "uri": "https://arc.io/about",
1436    "needConsent": true,
1437    "cookies": [],
1438    "js": function () {
1439        "use strict";
1440        if (tarteaucitron.user.arcId === undefined) {
1441            return;
1442        }
1443
1444        tarteaucitron.addScript('https://arc.io/widget.min.js#'+tarteaucitron.user.arcId);
1445    }
1446};
1447
1448// doubleclick
1449tarteaucitron.services.doubleclick = {
1450    "key": "doubleclick",
1451    "type": "ads",
1452    "name": "DoubleClick",
1453    "uri": "https://support.google.com/admanager/answer/2839090",
1454    "needConsent": true,
1455    "cookies": [],
1456    "js": function () {
1457        "use strict";
1458        tarteaucitron.fallback(['doubleclick_container'], function (x) {
1459            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Doubleclick iframe',
1460                id1 = tarteaucitron.getElemAttr(x, "data-id1"),
1461                id2 = tarteaucitron.getElemAttr(x, "data-id2"),
1462                type = tarteaucitron.getElemAttr(x, "data-type"),
1463                cat = tarteaucitron.getElemAttr(x, "data-cat"),
1464                item = tarteaucitron.getElemAttr(x, "data-item"),
1465                quantity = tarteaucitron.getElemAttr(x, "data-quantity"),
1466                price = tarteaucitron.getElemAttr(x, "data-price"),
1467                postage = tarteaucitron.getElemAttr(x, "data-postage"),
1468                seller = tarteaucitron.getElemAttr(x, "data-seller"),
1469                gdpr = tarteaucitron.getElemAttr(x, "data-gdpr"),
1470                gdpr_consent = tarteaucitron.getElemAttr(x, "data-gdpr-consent"),
1471                ord = tarteaucitron.getElemAttr(x, "data-ord"),
1472                num = tarteaucitron.getElemAttr(x, "data-num");
1473
1474            return '<iframe title="' + frame_title + '" src="https://'+id1+'.fls.doubleclick.net/activityi;src='+id2+';type='+type+';cat='+cat+';item='+item+';quantity='+quantity+';price='+price+';postage='+postage+';seller='+seller+';gdpr='+gdpr+';gdpr_consent='+gdpr_consent+';num='+num+';ord='+ord+'?" style="width:1px;height:1px;display:none"></iframe>';
1475        });
1476    }
1477};
1478
1479// userpilot
1480tarteaucitron.services.userpilot = {
1481    "key": "userpilot",
1482    "type": "analytic",
1483    "name": "UserPilot",
1484    "uri": "https://userpilot.com/privacy-policy",
1485    "needConsent": true,
1486    "cookies": [],
1487    "js": function () {
1488        "use strict";
1489        if (tarteaucitron.user.userpilotToken === undefined) {
1490            return;
1491        }
1492
1493        window.userpilotSettings = {token: tarteaucitron.user.userpilotToken};
1494        tarteaucitron.addScript('https://js.userpilot.io/sdk/latest.js');
1495    }
1496};
1497
1498tarteaucitron.services.piwikpro = {
1499    "key": "piwikpro",
1500    "type": "analytic",
1501    "name": "Piwik Pro",
1502    "uri": "https://piwik.pro/privacy-policy/",
1503    "needConsent": true,
1504    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
1505    "js": function () {
1506        "use strict";
1507        if (tarteaucitron.user.piwikProId === undefined || tarteaucitron.user.piwikProContainer === undefined) {
1508            return;
1509        }
1510
1511        window['dataLayer'] = window['dataLayer'] || [], window['dataLayer'].push({
1512            start: (new Date).getTime(),
1513            event: "stg.start"
1514        });
1515
1516        function stgCreateCookie(a, b, c) {
1517            var d = "";
1518            if (c) {
1519                var e = new Date;
1520                e.setTime(e.getTime() + 24 * c * 60 * 60 * 1e3), d = "; expires=" + e.toUTCString()
1521            }
1522            document.cookie = a + "=" + b + d + "; path=/"
1523        }
1524
1525        var isStgDebug = (window.location.href.match("stg_debug") || document.cookie.match("stg_debug")) && !window.location.href.match("stg_disable_debug");
1526        stgCreateCookie("stg_debug", isStgDebug ? 1 : "", isStgDebug ? 14 : -1);
1527        var qP = [];
1528
1529        var qPString = qP.length > 0 ? ("?" + qP.join("&")) : "";
1530        tarteaucitron.addScript('https://'+tarteaucitron.user.piwikProContainer+'.containers.piwik.pro/'+tarteaucitron.user.piwikProId+'.js'+qPString);
1531
1532        ! function(a, n, i) {
1533            a[n] = a[n] || {};
1534            for (var c = 0; c < i.length; c++) ! function(i) {
1535                a[n][i] = a[n][i] || {}, a[n][i].api = a[n][i].api || function() {
1536                    var a = [].slice.call(arguments, 0);
1537                    "string" == typeof a[0] && window['dataLayer'].push({
1538                        event: n + "." + i + ":" + a[0],
1539                        parameters: [].slice.call(arguments, 1)
1540                    })
1541                }
1542            }(i[c])
1543        }(window, "ppms", ["tm", "cm"]);
vendor: 12,065 bytes, lines 1543-1847
1543
1544    }
1545};
1546
1547// pinterestpixel
1548tarteaucitron.services.pinterestpixel = {
1549    "key": "pinterestpixel",
1550    "type": "ads",
1551    "name": "Pinterest Pixel",
1552    "uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
1553    "needConsent": true,
1554    "cookies": ['_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
1555    "js": function () {
1556        "use strict";
1557
1558        if (tarteaucitron.user.pinterestpixelId === undefined) {
1559            return;
1560        }
1561
1562        if (!window.pintrk) {
1563            window.pintrk = function () {
1564                window.pintrk.queue.push(Array.prototype.slice.call(arguments));
1565            };
1566
1567            var n = window.pintrk;
1568            n.queue = [];
1569            n.version = "3.0";
1570
1571            tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function () {
1572                window.pintrk('load', tarteaucitron.user.pinterestpixelId);
1573                window.pintrk('page');
1574            });
1575        }
1576    }
1577};
1578
1579// elfsight
1580tarteaucitron.services.elfsight = {
1581    "key": "elfsight",
1582    "type": "support",
1583    "name": "Elfsight",
1584    "uri": "https://elfsight.com/privacy-policy/",
1585    "needConsent": true,
1586    "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
1587    "js": function () {
1588        "use strict";
1589
1590        tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
1591    }
1592};
1593
1594// plezi
1595tarteaucitron.services.plezi = {
1596    "key": "plezi",
1597    "type": "analytic",
1598    "name": "Plezi",
1599    "uri": "https://www.plezi.co/fr/mentions-legales/",
1600    "needConsent": true,
1601    "cookies": [],
1602    "js": function () {
1603        "use strict";
1604
1605        if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) {
1606            return;
1607        }
1608
1609        tarteaucitron.addScript('https://brain.plezi.co/api/v1/analytics?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw);
1610    }
1611};
1612
1613
1614// smartsupp
1615tarteaucitron.services.smartsupp = {
1616    "key": "smartsupp",
1617    "type": "support",
1618    "name": "Smartsupp",
1619    "uri": "https://www.smartsupp.com/help/privacy/",
1620    "needConsent": true,
1621    "cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
1622    "js": function () {
1623        "use strict";
1624
1625        if (tarteaucitron.user.smartsuppKey === undefined) {
1626            return;
1627        }
1628
1629        window._smartsupp = window._smartsupp || {};
1630        window._smartsupp.key = tarteaucitron.user.smartsuppKey;
1631        window.smartsupp = function () {
1632            window.smartsupp._.push(arguments)
1633        };
1634        window.smartsupp._ = [];
1635
1636        tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
1637    }
1638};
1639
1640
1641
1642// sharpspring
1643tarteaucitron.services.sharpspring = {
1644    "key": "sharpspring",
1645    "type": "analytic",
1646    "name": "SharpSpring",
1647    "uri": "https://sharpspring.com/legal/sharpspring-cookie-policy/",
1648    "needConsent": true,
1649    "cookies": ['koitk', '__ss', '__ss_tk', '__ss_referrer'],
1650    "js": function () {
1651        "use strict";
1652
1653        if (tarteaucitron.user.ssId === undefined || tarteaucitron.user.ssAccount === undefined) {
1654            return;
1655        }
1656
1657        window._ss = window._ss || [];
1658        window._ss.push(['_setDomain', 'https://' + tarteaucitron.user.ssId + '.marketingautomation.services/net']);
1659        window._ss.push(['_setAccount', tarteaucitron.user.ssAccount]);
1660        window._ss.push(['_trackPageView']);
1661
1662        window._pa = window._pa || {};
1663
1664        tarteaucitron.addScript('https://' + tarteaucitron.user.ssId + '.marketingautomation.services/client/ss.js');
1665    }
1666};
1667
1668// pardot
1669tarteaucitron.services.pardot = {
1670    "key": "pardot",
1671    "type": "analytic",
1672    "name": "Pardot",
1673    "uri": "https://www.salesforce.com/company/privacy/full_privacy/",
1674    "needConsent": true,
1675    "cookies": ['visitor_id'],
1676    "js": function () {
1677        "use strict";
1678        if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
1679            return;
1680        }
1681
1682        window.piAId = tarteaucitron.user.piAId;
1683        window.piCId = tarteaucitron.user.piCId;
1684        window.piHostname = 'pi.pardot.com';
1685
1686        tarteaucitron.addScript('https://pi.pardot.com/pd.js');
1687    }
1688};
1689
1690// Open Web Analytics
1691tarteaucitron.services.openwebanalytics = {
1692    "key": "openwebanalytics",
1693    "type": "analytic",
1694    "name": "Open Web Analytics",
1695    "uri": "",
1696    "needConsent": true,
1697    "cookies": [],
1698    "js": function () {
1699        "use strict";
1700
1701        if (tarteaucitron.user.openwebanalyticsId === undefined || tarteaucitron.user.openwebanalyticsHost === undefined) {
1702            return;
1703        }
1704
1705        window.owa_baseUrl = tarteaucitron.user.openwebanalyticsHost;
1706        window.owa_cmds = window.owa_cmds || [];
1707        window.owa_cmds.push(['setSiteId', tarteaucitron.user.openwebanalyticsId]);
1708        window.owa_cmds.push(['trackPageView']);
1709        window.owa_cmds.push(['trackClicks']);
1710
1711        tarteaucitron.addScript(window.owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js');
1712    }
1713};
1714
1715// xandr universal pixel
1716// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/universal-pixel-overview.html
1717tarteaucitron.services.xandr = {
1718    "key": "xandr",
1719    "type": "ads",
1720    "name": "Xandr (Universal)",
1721    "uri": "https://www.xandr.com/privacy/cookie-policy/",
1722    "needConsent": true,
1723    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
1724    "js": function () {
1725        "use strict";
1726        if (tarteaucitron.user.xandrId === undefined) {
1727            return;
1728        }
1729
1730        if (!window.pixie) {
1731            var n = window.pixie = function (e, i, a) {
1732                n.actionQueue.push({
1733                    action: e,
1734                    actionValue: i,
1735                    params: a
1736                })
1737            };
1738            n.actionQueue = [];
1739        }
1740
1741        tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function () {
1742            window.pixie('init', tarteaucitron.user.xandrId);
1743            window.pixie('event', 'PageView');
1744        });
1745    }
1746};
1747
1748// xandr segment
1749// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/segment-pixels-advanced.html
1750tarteaucitron.services.xandrsegment = {
1751    "key": "xandrsegment",
1752    "type": "ads",
1753    "name": "Xandr (Segment)",
1754    "uri": "https://www.xandr.com/privacy/cookie-policy/",
1755    "needConsent": true,
1756    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
1757    "js": function () {
1758        "use strict";
1759        var uniqIds = [],
1760            i,
1761            uri;
1762
1763        tarteaucitron.fallback(['xandrsegment-canvas'], function (x) {
1764            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1765            uniqIds.push(uniqId);
1766            return '<div id="' + uniqId + '" xandrsegmentAdd="' + tarteaucitron.getElemAttr(x, 'xandrsegmentAdd') + '" xandrsegmentAddCode="' + tarteaucitron.getElemAttr(x, 'xandrsegmentAddCode') + '" xandrsegmentRemove="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRemove') + '" xandrsegmentRemoveCode="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRemoveCode') + '" xandrsegmentMember="' + tarteaucitron.getElemAttr(x, 'xandrsegmentMember') + '" xandrsegmentRedir="' + tarteaucitron.getElemAttr(x, 'xandrsegmentRedir') + '" xandrsegmentValue="' + tarteaucitron.getElemAttr(x, 'xandrsegmentValue') + '" xandrsegmentOther="' + tarteaucitron.getElemAttr(x, 'xandrsegmentOther') + '"></div>';
1767        });
1768
1769        for (i = 0; i < uniqIds.length; i += 1) {
1770            uri = '//ib.adnxs.com/seg?t=2&';
1771            uri += 'add=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentAdd') + '&';
1772            uri += 'add_code=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentAddCode') + '&';
1773            uri += 'remove=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRemove') + '&';
1774            uri += 'remove_code=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRemoveCode') + '&';
1775            uri += 'member=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentMember') + '&';
1776            uri += 'redir=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentRedir') + '&';
1777            uri += 'value=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentValue') + '&';
1778            uri += 'other=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrsegmentOther');
1779
1780            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
1781        }
1782    },
1783    "fallback": function () {
1784        "use strict";
1785        var id = 'xandrsegment';
1786        tarteaucitron.fallback(['xandrsegment-canvas'], tarteaucitron.engage(id));
1787    }
1788};
1789
1790// xandr conversion
1791// https://docs.xandr.com/bundle/invest_invest-standard/page/topics/working-with-conversion-pixels.html
1792tarteaucitron.services.xandrconversion = {
1793    "key": "xandrconversion",
1794    "type": "ads",
1795    "name": "Xandr (Conversion)",
1796    "uri": "https://www.xandr.com/privacy/cookie-policy/",
1797    "needConsent": true,
1798    "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
1799    "js": function () {
1800        "use strict";
1801        var uniqIds = [],
1802            i,
1803            uri;
1804
1805        tarteaucitron.fallback(['xandrconversion-canvas'], function (x) {
1806            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1807            uniqIds.push(uniqId);
1808            return '<div id="' + uniqId + '" xandrconversionId="' + tarteaucitron.getElemAttr(x, 'xandrconversionId') + '" xandrconversionSeg="' + tarteaucitron.getElemAttr(x, 'xandrconversionSeg') + '" xandrconversionOrderId="' + tarteaucitron.getElemAttr(x, 'xandrconversionOrderId') + '" xandrconversionValue="' + tarteaucitron.getElemAttr(x, 'xandrconversionValue') + '" xandrconversionRedir="' + tarteaucitron.getElemAttr(x, 'xandrconversionRedir') + '" xandrconversionOther="' + tarteaucitron.getElemAttr(x, 'xandrconversionOther') + '"></div>';
1809        });
1810
1811        for (i = 0; i < uniqIds.length; i += 1) {
1812            uri = '//ib.adnxs.com/px?t=2&';
1813            uri += 'id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionId') + '&';
1814            uri += 'seg=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionSeg') + '&';
1815            uri += 'order_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionOrderId') + '&';
1816            uri += 'value=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionValue') + '&';
1817            uri += 'redir=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionRedir') + '&';
1818            uri += 'other=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'xandrconversionOther');
1819
1820            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
1821        }
1822    },
1823    "fallback": function () {
1824        "use strict";
1825        var id = 'xandrconversion';
1826        tarteaucitron.fallback(['xandrconversion-canvas'], tarteaucitron.engage(id));
1827    }
1828};
1829
1830// helloasso
1831tarteaucitron.services.helloasso = {
1832    "key": "helloasso",
1833    "type": "api",
1834    "name": "HelloAsso",
1835    "uri": "https://www.helloasso.com/confidentialite",
1836    "needConsent": true,
1837    "cookies": [],
1838    "js": function () {
1839        "use strict";
1840        tarteaucitron.fallback(['tac_helloasso'], function (x) {
1841            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'HelloAsso iframe',
1842                width = tarteaucitron.getElemAttr(x, "width"),
1843                height = tarteaucitron.getElemAttr(x, "height"),
1844                url = tarteaucitron.getElemAttr(x, "data-url"),
1845                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
1846
1847            var styleAttr = (width !== "" ? "width:" + 
1847parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
1848
1849            return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
1850        });
1851    },
1852    "fallback": function () {
1853        "use strict";
1854        var id = 'helloasso';
1855        tarteaucitron.fallback(['tac_helloasso'], function (elem) {
1856            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
1857            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
1858            return tarteaucitron.engage(id);
1859        });
1860    }
1861};
1862
1863// podcloud
1864tarteaucitron.services.podcloud = {
1865    "key": "podcloud",
1866    "type": "video",
1867    "name": "podCloud",
1868    "uri": "https://podcloud.fr/privacy",
1869    "needConsent": true,
1870    "cookies": [],
1871    "js": function () {
1872        "use strict";
1873        tarteaucitron.fallback(['tac_podcloud'], function (x) {
1874            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'podCloud iframe',
1875                width = tarteaucitron.getElemAttr(x, "width"),
1876                height = tarteaucitron.getElemAttr(x, "height"),
1877                url = tarteaucitron.getElemAttr(x, "data-url"),
1878                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
1879
1880            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
1881
1882            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
1883        });
1884    },
1885    "fallback": function () {
1886        "use strict";
1887        var id = 'podcloud';
1888        tarteaucitron.fallback(['tac_podcloud'], function (elem) {
1889            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
1890            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
1891            return tarteaucitron.engage(id);
1892        });
1893    }
1894};
1895
1896// facebookpost
1897tarteaucitron.services.facebookpost = {
1898    "key": "facebookpost",
1899    "type": "social",
1900    "name": "Facebook (post)",
1901    "uri": "https://www.facebook.com/policy.php",
1902    "needConsent": true,
1903    "cookies": [],
1904    "js": function () {
1905        "use strict";
1906        tarteaucitron.fallback(['tac_facebookpost'], function (x) {
1907            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Facebook iframe',
1908                width = tarteaucitron.getElemAttr(x, "width"),
1909                height = tarteaucitron.getElemAttr(x, "height"),
1910                url = tarteaucitron.getElemAttr(x, "data-url"),
1911                appId = tarteaucitron.getElemAttr(x, "data-appid"),
1912                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
1913                showText = tarteaucitron.getElemAttr(x, "data-show-text");
1914
1915            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
1916
1917            return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&amp;width=' + width + '&amp;show_text=false&amp;appId=' + appId + '&amp;
1917show_text=' + showText + '&amp;height=' + height + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
1918        });
1919    },
1920    "fallback": function () {
1921        "use strict";
1922        var id = 'facebookpost';
1923        tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
1924            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
1925            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px'
vendor: 14,086 bytes, lines 1925-2290
1925;
1926            return tarteaucitron.engage(id);
1927        });
1928    }
1929};
1930
1931// amplitude
1932tarteaucitron.services.amplitude = {
1933    "key": "amplitude",
1934    "type": "analytic",
1935    "name": "Amplitude",
1936    "uri": "https://amplitude.com/privacy",
1937    "needConsent": true,
1938    "cookies": [],
1939    "js": function () {
1940        "use strict";
1941        if (tarteaucitron.user.amplitude === undefined) {
1942            return;
1943        }
1944        tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function () {
1945
1946            window.amplitude = {
1947                _q: [],
1948                _iq: {}
1949            };
1950            function s(e, t) { e.prototype[t] = function () { this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this } }
1951            var o = function () { this._q = []; return this };
1952            var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
1953            for (var u = 0; u < a.length; u++) { s(o, a[u]) }
1954            amplitude.Identify = o;
1955            var c = function () { this._q = []; return this };
1956            var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
1957            for (var p = 0; p < l.length; p++) { s(c, l[p]) }
1958            amplitude.Revenue = c;
1959            var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"];
1960            function v(e) { function t(t) { e[t] = function () { e._q.push([t].concat(Array.prototype.slice.call(arguments, 0))) } } for (var n = 0; n < d.length; n++) { t(d[n]) } }
1961            v(amplitude);
1962            amplitude.getInstance = function (e) { e = (!e || e.length === 0 ? "$default_instance" : e).toLowerCase(); if (!amplitude._iq.hasOwnProperty(e)) { amplitude._iq[e] = { _q: [] }; v(amplitude._iq[e]) } return amplitude._iq[e] };
1963
1964            amplitude.getInstance().init(tarteaucitron.user.amplitude);
1965        });
1966    }
1967};
1968
1969// abtasty
1970tarteaucitron.services.abtasty = {
1971    "key": "abtasty",
1972    "type": "api",
1973    "name": "ABTasty",
1974    "uri": "https://www.abtasty.com/terms-of-use/",
1975    "needConsent": true,
1976    "cookies": ['ABTasty', 'ABTastySession'],
1977    "js": function () {
1978        "use strict";
1979        if (tarteaucitron.user.abtastyID === undefined) {
1980            return;
1981        }
1982        tarteaucitron.addScript('//try.abtasty.com/' + tarteaucitron.user.abtastyID + '.js');
1983    }
1984};
1985
1986
1987// yandex metrica
1988tarteaucitron.services.metrica = {
1989    "key": "metrica",
1990    "type": "analytic",
1991    "name": "Yandex Metrica",
1992    "uri": "https://yandex.com/legal/confidential/",
1993    "needConsent": true,
1994    "cookies": ['_ym_metrika_enabled', '_ym_isad', '_ym_uid', '_ym_d', 'yabs-sid', '_ym_debug', '_ym_mp2_substs', '_ym_hostIndex', '_ym_mp2_track', 'yandexuid', 'usst'],
1995    "js": function () {
1996        "use strict";
1997        if (tarteaucitron.user.yandexmetrica === undefined) {
1998            return;
1999        }
2000        tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function () {
2001
2002            (function (m, e, t, r, i, k, a) {
2003                m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
2004                m[i].l = 1 * new Date(); k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
2005            })
2006            (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
2007
2008            ym(tarteaucitron.user.yandexmetrica, "init", {
2009                clickmap: true,
2010                trackLinks: true,
2011                accurateTrackBounce: true,
2012                webvisor: true,
2013                ecommerce: "dataLayer"
2014            });
2015        });
2016    }
2017};
2018
2019// addthis
2020tarteaucitron.services.addthis = {
2021    "key": "addthis",
2022    "type": "social",
2023    "name": "AddThis",
2024    "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
2025    "needConsent": true,
2026    "cookies": ['__atuvc', '__atuvs'],
2027    "js": function () {
2028        "use strict";
2029        if (tarteaucitron.user.addthisPubId === undefined) {
2030            return;
2031        }
2032        if (tarteaucitron.isAjax === true) {
2033            window.addthis = null;
2034            window._adr = null;
2035            window._atc = null;
2036            window._atd = null;
2037            window._ate = null;
2038            window._atr = null;
2039            window._atw = null;
2040        }
2041        tarteaucitron.fallback(['addthis_inline_share_toolbox'], '');
2042        tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
2043    },
2044    "fallback": function () {
2045        "use strict";
2046        var id = 'addthis';
2047        tarteaucitron.fallback(['addthis_inline_share_toolbox'], tarteaucitron.engage(id));
2048    }
2049};
2050
2051// addtoanyfeed
2052tarteaucitron.services.addtoanyfeed = {
2053    "key": "addtoanyfeed",
2054    "type": "social",
2055    "name": "AddToAny (feed)",
2056    "uri": "https://www.addtoany.com/privacy",
2057    "needConsent": true,
2058    "cookies": [],
2059    "js": function () {
2060        "use strict";
2061        if (tarteaucitron.user.addtoanyfeedUri === undefined) {
2062            return;
2063        }
2064        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
2065        window.a2a_config = window.a2a_config || {};
2066        window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
2067        tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
2068    },
2069    "fallback": function () {
2070        "use strict";
2071        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
2072    }
2073};
2074
2075// addtoanyshare
2076tarteaucitron.services.addtoanyshare = {
2077    "key": "addtoanyshare",
2078    "type": "social",
2079    "name": "AddToAny (share)",
2080    "uri": "https://www.addtoany.com/privacy",
2081    "needConsent": true,
2082    "cookies": [],
2083    "js": function () {
2084        "use strict";
2085        tarteaucitron.fallback(['tac_addtoanyshare'], function (elem) {
2086            elem.remove();
2087        }, true);
2088        tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
2089    },
2090    "fallback": function () {
2091        "use strict";
2092        var id = 'addtoanyshare';
2093        tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
2094    }
2095};
2096
2097// aduptech ads
2098tarteaucitron.services.aduptech_ads = {
2099    "key": "aduptech_ads",
2100    "type": "ads",
2101    "name": "Ad Up Technology (ads)",
2102    "uri": "https://www.adup-tech.com/datenschutz",
2103    "needConsent": true,
2104    "cookies": [],
2105    "js": function () {
2106        "use strict";
2107
2108        var IDENTIFIER = "aduptech_ads",
2109            API_URL = "https://s.d.adup-tech.com/jsapi";
2110
2111        var elements = document.getElementsByClassName(IDENTIFIER);
2112        if (!elements || elements.length === 0) {
2113            return;
2114        }
2115
2116        tarteaucitron.fallback([IDENTIFIER], "");
2117
2118        tarteaucitron.addScript(API_URL, "", function () {
2119            for (var i = 0; i < elements.length; i++) {
2120                var element = elements[i];
2121
2122                if (!tarteaucitron.getElemAttr(element, "id")) {
2123                    element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
2124                }
2125
2126                window.uAd.embed(tarteaucitron.getElemAttr(element, "id"), {
2127                    placementKey: tarteaucitron.getElemAttr(element, "placementKey"),
2128                    responsive: Boolean(tarteaucitron.getElemAttr(element, "responsive")),
2129                    lazy: Boolean(tarteaucitron.getElemAttr(element, "lazy")),
2130                    adtest: Boolean(tarteaucitron.getElemAttr(element, "test")),
2131                    query: tarteaucitron.getElemAttr(element, "query") || "",
2132                    minCpc: tarteaucitron.getElemAttr(element, "minCpc") || "",
2133                    pageUrl: tarteaucitron.getElemAttr(element, "pageUrl") || "",
2134                    skip: tarteaucitron.getElemAttr(element, "skip") || ""
2135                });
2136            }
2137        });
2138
2139    },
2140    "fallback": function () {
2141        "use strict";
2142        tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
2143    }
2144};
2145
2146// aduptech conversion
2147tarteaucitron.services.aduptech_conversion = {
2148    "key": "aduptech_conversion",
2149    "type": "ads",
2150    "name": "Ad Up Technology (conversion)",
2151    "uri": "https://www.adup-tech.com/datenschutz",
2152    "needConsent": true,
2153    "cookies": [],
2154    "js": function () {
2155        "use strict";
2156
2157        var IDENTIFIER = "aduptech_conversion",
2158            CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
2159
2160        var elements = document.getElementsByClassName(IDENTIFIER);
2161        if (!elements || elements.length === 0) {
2162            return;
2163        }
2164
2165        tarteaucitron.fallback([IDENTIFIER], "");
2166
2167        for (var i = 0; i < elements.length; i++) {
2168            var element = elements[i];
2169
2170            if (!tarteaucitron.getElemAttr(element, "advertiserId") || !tarteaucitron.getElemAttr(element, "conversionCode")) {
2171                continue;
2172            }
2173
2174            var url = CONVERSION_PIXEL_BASE_URL +
2175                "/" + encodeURIComponent(tarteaucitron.getElemAttr(element, "advertiserId")) +
2176                "?t=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "conversionCode"));
2177
2178            if (tarteaucitron.getElemAttr(element, "price")) {
2179                url += "&price=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "price"));
2180            }
2181
2182            if (tarteaucitron.getElemAttr(element, "quantity")) {
2183                url += "&quantity=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "quantity"));
2184            }
2185
2186            if (tarteaucitron.getElemAttr(element, "total")) {
2187                url += "&total=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "total"));
2188            }
2189
2190            if (tarteaucitron.getElemAttr(element, "orderId")) {
2191                url += "&order_id=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "orderId"));
2192            }
2193
2194            if (tarteaucitron.getElemAttr(element, "itemNumber")) {
2195                url += "&item_number=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "itemNumber"));
2196            }
2197
2198            if (tarteaucitron.getElemAttr(element, "description")) {
2199                url += "&description=" + encodeURIComponent(tarteaucitron.getElemAttr(element, "description"));
2200            }
2201
2202            (new Image()).src = url;
2203        }
2204    }
2205};
2206
2207// aduptech retargeting
2208tarteaucitron.services.aduptech_retargeting = {
2209    "key": "aduptech_retargeting",
2210    "type": "ads",
2211    "name": "Ad Up Technology (retargeting)",
2212    "uri": "https://www.adup-tech.com/datenschutz",
2213    "needConsent": true,
2214    "cookies": [],
2215    "js": function () {
2216        "use strict";
2217
2218        var IDENTIFIER = "aduptech_retargeting",
2219            API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
2220
2221        var elements = document.getElementsByClassName(IDENTIFIER);
2222        if (!elements || elements.length === 0) {
2223            return;
2224        }
2225
2226        tarteaucitron.fallback([IDENTIFIER], "");
2227
2228        window.AdUpRetargeting = function (api) {
2229            for (var i = 0; i < elements.length; i++) {
2230                var element = elements[i];
2231
2232                api.init();
2233
2234                api.setAccount(tarteaucitron.getElemAttr(element, "account"));
2235
2236                if (tarteaucitron.getElemAttr(element, "email")) {
2237                    api.setEmail(tarteaucitron.getElemAttr(element, "email"));
2238                } else if (tarteaucitron.getElemAttr(element, "hashedEmail")) {
2239                    api.setHashedEmail(tarteaucitron.getElemAttr(element, "hashedEmail"));
2240                }
2241
2242                if (tarteaucitron.getElemAttr(element, "product")) {
2243                    try {
2244                        api.setProduct(JSON.parse(tarteaucitron.getElemAttr(element, "product")));
2245                    } catch (e) {
2246                        api.setProduct(tarteaucitron.getElemAttr(element, "product"));
2247                    }
2248                }
2249
2250                if (tarteaucitron.getElemAttr(element, "transaction")) {
2251                    try {
2252                        api.setTransaction(JSON.parse(tarteaucitron.getElemAttr(element, "transaction")));
2253                    } catch (e) {
2254                        api.setTransaction(tarteaucitron.getElemAttr(element, "transaction"));
2255                    }
2256                }
2257
2258                if (tarteaucitron.getElemAttr(element, "demarkUser")) {
2259                    api.setDemarkUser();
2260                } else if (tarteaucitron.getElemAttr(element, "demarkProducts")) {
2261                    api.setDemarkProducts();
2262                }
2263
2264                if (tarteaucitron.getElemAttr(element, "conversionCode")) {
2265                    api.setConversionCode(tarteaucitron.getElemAttr(element, "conversionCode"));
2266                }
2267
2268                if (tarteaucitron.getElemAttr(element, "device")) {
2269                    var setter = "set" + tarteaucitron.getElemAttr(element, "device").charAt(0).toUpperCase() + tarteaucitron.getElemAttr(element, "device").slice(1);
2270                    if (typeof api[setter] === 'function') {
2271                        api[setter]();
2272                    }
2273                }
2274
2275                if (tarteaucitron.getElemAttr(element, "track")) {
2276                    var tracker = "track" + tarteaucitron.getElemAttr(element, "track").charAt(0).toUpperCase() + tarteaucitron.getElemAttr(element, "track").slice(1);
2277                    if (typeof api[tracker] === "function") {
2278                        api[tracker]();
2279                    } else {
2280                        api.trackHomepage();
2281                    }
2282                }
2283            };
2284        };
2285
2286        tarteaucitron.addScript(API_URL);
2287    }
2288};
2289
2290// a
2290lexa
2291tarteaucitron.services.alexa = {
2292    "key": "alexa",
2293    "type": "analytic",
2294    "name": "Alexa",
2295    "uri": "https://www.alexa.com/help/privacy",
2296    "needConsent": true,
2297    "cookies": ['__asc', '__auc'],
2298    "js": function () {
2299        "use strict";
2300        if (tarteaucitron.user.alexaAccountID === undefined) {
2301            return;
2302        }
2303        window._atrk_opts = {
2304            atrk_acct: tarteaucitron.user.alexaAccountID,
2305            domain: window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],
2306            dynamic: true
2307        };
2308        tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');
2309    }
2310};
2311
2312// amazon
2313tarteaucitron.services.amazon = {
2314    "key": "amazon",
2315    "type": "ads",
2316    "name": "Amazon",
2317    "uri": "https://www.amazon.com/gp/help/customer/display.html/?ie=UTF8&nodeId=201909010",
2318    "needConsent": true,
2319    "cookies": [],
2320    "js": function () {
2321        "use strict";
2322        tarteaucitron.fallback(['amazon_product'], function (x) {
2323            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Amazon iframe',
2324                amazonId = tarteaucitron.getElemAttr(x, "amazonid"),
2325                productId = tarteaucitron.getElemAttr(x, "productid"),
2326                url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon&region=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',
2327                iframe = '<iframe title="' + frame_title + '" style="width:120px;height:240px;" src="' + url + '"></iframe>';
2328
2329            return iframe;
2330        });
2331    },
2332    "fallback": function () {
2333        "use strict";
2334        var id = 'amazon';
2335        tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
2336    }
2337};
2338
2339// calameo
2340tarteaucitron.services.calameo = {
2341    "key": "calameo",
2342    "type": "video",
2343    "name": "Calameo",
2344    "uri": "https://fr.calameo.com/privacy",
2345    "needConsent": true,
2346    "cookies": [],
2347    "js": function () {
2348        "use strict";
2349        tarteaucitron.fallback(['calameo-canvas'], function (x) {
2350            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Calameo iframe',
2351                id = tarteaucitron.getElemAttr(x, "data-id"),
2352                width = tarteaucitron.getElemAttr(x, "width"),
2353                height = tarteaucitron.getElemAttr(x, "height"),
2354                url = '//v.calameo.com/?bkcode=' + id,
2355                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2356
2357            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
2358
2359            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2360        });
2361    },
2362    "fallback": function () {
2363        "use strict";
2364        var id = 'calameo';
2365        tarteaucitron.fallback(['calameo-canvas'], function (elem) {
2366            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2367            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2368            return tarteaucitron.engage(id);
2369        });
2370    }
2371};
2372
2373// calameolibrary
2374tarteaucitron.services.calameolibrary = {
2375    "key": "calameolibrary",
2376    "type": "video",
2377    "name": "Calameo Library",
2378    "uri": "https://fr.calameo.com/privacy",
2379    "needConsent": true,
2380    "cookies": [],
2381    "js": function () {
2382        "use strict";
2383        tarteaucitron.fallback(['calameolibrary-canvas'], function (x) {
2384            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Calameo iframe',
2385                id = tarteaucitron.getElemAttr(x, "data-id"),
2386                width = tarteaucitron.getElemAttr(x, "width"),
2387                height = tarteaucitron.getElemAttr(x, "height"),
2388                url = '//v.calameo.com/library/?type=subscription&id=' + id,
2389                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2390
vendor: 8,733 bytes, lines 2391-2628
2391            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
2392
2393            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2394        });
2395    },
2396    "fallback": function () {
2397        "use strict";
2398        var id = 'calameolibrary';
2399        tarteaucitron.fallback(['calameolibrary-canvas'], function (elem) {
2400            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2401            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2402            return tarteaucitron.engage(id);
2403        });
2404    }
2405};
2406
2407// clicky
2408tarteaucitron.services.clicky = {
2409    "key": "clicky",
2410    "type": "analytic",
2411    "name": "Clicky",
2412    "uri": "https://clicky.com/terms",
2413    "needConsent": true,
2414    "cookies": ['_jsuid', '_eventqueue', '_referrer_og', '_utm_og', '_first_pageview', 'clicky_olark', 'no_trackyy_' + tarteaucitron.user.clickyId, 'unpoco_' + tarteaucitron.user.clickyId, 'heatmaps_g2g_' + tarteaucitron.user.clickyId],
2415    "js": function () {
2416        "use strict";
2417        if (tarteaucitron.user.clickyId === undefined) {
2418            return;
2419        }
2420        tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
2421            if (typeof clicky.init === 'function') {
2422                clicky.init(tarteaucitron.user.clickyId);
2423            }
2424            if (typeof tarteaucitron.user.clickyMore === 'function') {
2425                tarteaucitron.user.clickyMore();
2426            }
2427        });
2428    }
2429};
2430
2431// clicmanager
2432tarteaucitron.services.clicmanager = {
2433    "key": "clicmanager",
2434    "type": "ads",
2435    "name": "Clicmanager",
2436    "uri": "https://www.clicmanager.fr/infos_legales.php",
2437    "needConsent": true,
2438    "cookies": [],
2439    "js": function () {
2440        "use strict";
2441        var uniqIds = [],
2442            i,
2443            uri;
2444
2445        tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
2446            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2447            uniqIds.push(uniqId);
2448            return '<div id="' + uniqId + '" c="' + tarteaucitron.getElemAttr(x, 'c') + '" s="' + tarteaucitron.getElemAttr(x, 's') + '" t="' + tarteaucitron.getElemAttr(x, 't') + '"></div>';
2449        });
2450
2451        for (i = 0; i < uniqIds.length; i += 1) {
2452            uri = '//ads.clicmanager.fr/exe.php?';
2453            uri += 'c=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'c') + '&';
2454            uri += 's=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 's') + '&';
2455            uri += 't=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 't');
2456
2457            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2458        }
2459    },
2460    "fallback": function () {
2461        "use strict";
2462        var id = 'clicmanager';
2463        tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
2464    }
2465};
2466
2467// compteur
2468tarteaucitron.services.compteur = {
2469    "key": "compteur",
2470    "type": "analytic",
2471    "name": "Compteur.fr",
2472    "uri": "https://www.compteur.fr/help_privacy_policy.htm",
2473    "needConsent": true,
2474    "cookies": [],
2475    "js": function () {
2476        "use strict";
2477        if (tarteaucitron.user.compteurID === undefined) {
2478            return;
2479        }
2480        tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function () { wtslog7(tarteaucitron.user.compteurID, 1); });
2481    }
2482};
2483
2484// contentsquare
2485tarteaucitron.services.contentsquare = {
2486    "key": "contentsquare",
2487    "type": "analytic",
2488    "name": "ContentSquare",
2489    "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
2490    "needConsent": true,
2491    "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
2492    "js": function () {
2493        "use strict";
2494        if (tarteaucitron.user.contentsquareID === undefined) {
2495            return;
2496        }
2497        tarteaucitron.addScript('//t.contentsquare.net/uxa/' + tarteaucitron.user.contentsquareID + '.js');
2498    }
2499};
2500
2501// crazyegg
2502tarteaucitron.services.crazyegg = {
2503    "key": "crazyegg",
2504    "type": "analytic",
2505    "name": "Crazy Egg",
2506    "uri": "https://www.crazyegg.com/privacy",
2507    "needConsent": true,
2508    "cookies": [],
2509    "js": function () {
2510        "use strict";
2511
2512        if (tarteaucitron.user.crazyeggId === undefined) {
2513            return;
2514        }
2515
2516        tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
2517    }
2518};
2519
2520// clarity
2521tarteaucitron.services.clarity = {
2522    "key": "clarity",
2523    "type": "analytic",
2524    "name": "Clarity",
2525    "uri": "https://clarity.microsoft.com/",
2526    "needConsent": true,
2527    "cookies": ['_clck', '_clsk', 'CLID', 'ANONCHK', 'MR', 'MUID', 'SM'],
2528    "js": function () {
2529        "use strict";
2530
2531        window["clarity"] = window["clarity"] || function () { (window["clarity"].q = window["clarity"].q || []).push(arguments) };
2532
2533        tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity, '', function() {
2534            window["clarity"]("consent");
2535        });
2536    },
2537    "fallback": function () {
2538        if (tarteaucitron.parameters.bingConsentMode === true) {
2539            if (tarteaucitron.parameters.softConsentMode === false) {
2540                this.js();
2541            }
2542        }
2543    }
2544};
2545
2546// criteo
2547tarteaucitron.services.criteo = {
2548    "key": "criteo",
2549    "type": "ads",
2550    "name": "Criteo",
2551    "uri": "https://www.criteo.com/privacy/",
2552    "needConsent": true,
2553    "cookies": [],
2554    "js": function () {
2555        "use strict";
2556        document.MAX_ct0 = '';
2557        var uniqIds = [],
2558            i,
2559            uri;
2560
2561        tarteaucitron.fallback(['criteo-canvas'], function (x) {
2562            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2563            uniqIds.push(uniqId);
2564            return '<div id="' + uniqId + '" zoneid="' + tarteaucitron.getElemAttr(x, 'zoneid') + '"></div>';
2565        });
2566
2567        for (i = 0; i < uniqIds.length; i += 1) {
2568            uri = '//cas.criteo.com/delivery/ajs.php?';
2569            uri += 'zoneid=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'zoneid');
2570            uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
2571            uri += '&loc=' + encodeURI(window.location);
2572            uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
2573            uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
2574            uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
2575            uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
2576            uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
2577            uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
2578            uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
2579
2580            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2581        }
2582    },
2583    "fallback": function () {
2584        "use strict";
2585        var id = 'criteo';
2586        tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
2587    }
2588};
2589
2590// criteo onetag
2591tarteaucitron.services.criteoonetag = {
2592    "key": "criteoonetag",
2593    "type": "ads",
2594    "name": "Criteo OneTag",
2595    "uri": "https://www.criteo.com/privacy/",
2596    "needConsent": true,
2597    "cookies": ['uid', 'tk', 'uid3pd'],
2598    "js": function() {
2599        "use strict";
2600        if (tarteaucitron.user.criteoonetagAccount === undefined) return;
2601
2602        window.criteo_q = window.criteo_q || [];
2603        window.criteo_q.push({
2604            event: "setAccount",
2605            account: tarteaucitron.user.criteoonetagAccount
2606        })
2607
2608        tarteaucitron.addScript('//static.criteo.net/js/ld/ld.js', '', function() {
2609            if (typeof tarteaucitron.user.criteoonetagMore === 'function') {
2610                tarteaucitron.user.criteoonetagMore();
2611            }
2612        });
2613    }
2614};
2615
2616// artetv
2617tarteaucitron.services.artetv = {
2618    "key": "artetv",
2619    "type": "video",
2620    "name": "Arte.tv",
2621    "uri": "https://www.arte.tv/sites/fr/corporate/donnees-personnelles/",
2622    "needConsent": true,
2623    "cookies": [],
2624    "js": function () {
2625        "use strict";
2626        tarteaucitron.fallback(['artetv_player'], function (x) {
2627            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Arte.tv iframe',
2628                video_json = tarteaucitron.getElemAttr(x, "json"),
2629                video_width = tarteaucitron.getElemAttr(x, "width"),
2630                video_height = tarteaucitron.getElemAttr(x, "height"),
2631                video_frame,
2632                video_allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
2633
2634            if (video_json === undefined) {
2635                return "";
2636            }
2637
2638            var styleAttr = (width !== "" ? "width:" + parseInt(video_width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(video_height, 10) + "px;" : "");
2639
2640            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + 'transition-duration: 0; transition-property: no; margin: 0 auto; position: relative; display: block; background-color: #000000;" src="https://www.arte.tv/player/v5/index.php?json_url=' + video_json + '" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2641            return video_frame;
2642        });
2643    },
2644    "fallback": function () {
2645        "use strict";
2646        var id = 'artetv';
2647        tarteaucitron.fallback(['artetv_player'], function (elem) {
2648            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2649            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2650            return tarteaucitron.engage(id);
2651        });
2652    }
2653};
2654
2655// dailymotion
2656tarteaucitron.services.dailymotion = {
2657    "key": "dailymotion",
2658    "type": "video",
2659    "name": "Dailymotion",
2660    "uri": "https://www.dailymotion.com/legal/privacy",
2661    "needConsent": true,
2662    "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
2663    "js": function () {
2664        "use strict";
2665        tarteaucitron.fallback(['dailymotion_player'], function (x) {
2666            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Dailymotion iframe',
2667                video_id = tarteaucitron.getElemAttr(x, "videoID"),
2668                video_width = tarteaucitron.getElemAttr(x, "width"),
2669                video_height = tarteaucitron.getElemAttr(x, "height"),
2670                styleAttr = "",
2671                video_frame,
2672                embed_type = tarteaucitron.getElemAttr(x, "embedType"),
2673                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
2674                showinfo = tarteaucitron.getElemAttr(x, "showinfo"),
2675                autoplay = tarteaucitron.getElemAttr(x, "autoplay"),
2676                api = tarteaucitron.getElemAttr(x, "api"),
2677                params = 'info=' + showinfo + '&autoPlay=' + autoplay + '&api=' + api;
2678
2679            if (video_id === undefined) {
2680                return "";
2681            }
2682            if (video_width !== "") {
2683                styleAttr += 'width:' + parseInt(video_width, 10) + 'px;';
2684            }
2685            if (video_height !== undefined) {
2686                styleAttr += 'height:' + parseInt(video_height, 10) + 'px;';
2687            }
2688            if (embed_type === undefined || !['video', 'playlist'].includes(embed_type)) {
2689                embed_type = "video";
2690            }
2691            video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" style="' + styleAttr + '" ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2692            return video_frame;
2693        });
2694    },
2695    "fallback": function () {
2696        "use strict";
2697        var id = 'dailymotion';
2698        tarteaucitron.fallback(['dailymotion_player'], function (elem) {
2699            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2700            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2701            return tarteaucitron.engage(id);
2702        });
2703    }
2704};
2705
2706// dating affiliation
2707tarteaucitron.services.datingaffiliation = {
2708    "key": "datingaffiliation",
2709    "type": "ads",
2710    "name": "Dating Affiliation",
2711    "uri": "https://www.dating-affiliation.com/conditions-generales.php",
2712    "needConsent": true,
2713    "cookies": [],
2714    "js": function () {
2715        "use strict";
2716        tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
2717            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Dating Affiliation iframe',
2718                comfrom = tarteaucitron.getElemAttr(x, "data-comfrom"),
2719                r = tarteaucitron.getElemAttr(x, "data-r"),
2720                p = tarteaucitron.getElemAttr(x, "data-p"),
2721                cf0 = tarteaucitron.getElemAttr(x, "data-cf0"),
2722                langue = tarteaucitron.getElemAttr(x, "data-langue"),
2723                forward_affiliate = tarteaucitron.getElemAttr(x, "data-forwardAffiliate"),
2724                cf2 = tarteaucitron.getElemAttr(x, "data-cf2"),
2725                cfsa2 = tarteaucitron.getElemAttr(x, "data-cfsa2"),
2726                width = tarteaucitron.getElemAttr(x, "width"),
2727                height = tarteaucitron.getElemAttr(x, "height"),
2728                url = 'https://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
2729
vendor: 5,359 bytes, lines 2730-2800
2730            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
2731
2732            return '<iframe title="' + frame_title + '" src="' + url + '&r=' + r + '&p=' + p + '&cf0=' + cf0 + '&langue=' + langue + '&forward_affiliate=' + forward_affiliate + '&cf2=' + cf2 + '&cfsa2=' + cfsa2 + '" style="' + styleAttr + '"></iframe>';
2733        });
2734    },
2735    "fallback": function () {
2736        "use strict";
2737        var id = 'datingaffiliation';
2738        tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
2739            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2740            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2741            return tarteaucitron.engage(id);
2742        });
2743    }
2744};
2745
2746// dating affiliation popup
2747tarteaucitron.services.datingaffiliationpopup = {
2748    "key": "datingaffiliationpopup",
2749    "type": "ads",
2750    "name": "Dating Affiliation (Pop Up)",
2751    "uri": "https://www.dating-affiliation.com/conditions-generales.php",
2752    "needConsent": true,
2753    "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
2754    "js": function () {
2755        "use strict";
2756        var uniqIds = [],
2757            i,
2758            uri;
2759
2760        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
2761            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2762            uniqIds.push(uniqId);
2763            return '<div id="' + uniqId + '" uri="' + tarteaucitron.getElemAttr(x, 'uri') + '" comfrom="' + tarteaucitron.getElemAttr(x, 'comfrom') + '" promo="' + tarteaucitron.getElemAttr(x, 'promo') + '" productid="' + tarteaucitron.getElemAttr(x, 'productid') + '" submitconfig="' + tarteaucitron.getElemAttr(x, 'submitconfig') + '" ur="' + tarteaucitron.getElemAttr(x, 'ur') + '" brand="' + tarteaucitron.getElemAttr(x, 'brand') + '" lang="' + tarteaucitron.getElemAttr(x, 'lang') + '" cf0="' + tarteaucitron.getElemAttr(x, 'cf0') + '" cf2="' + tarteaucitron.getElemAttr(x, 'cf2') + '" subid1="' + tarteaucitron.getElemAttr(x, 'subid1') + '" cfsa2="' + tarteaucitron.getElemAttr(x, 'cfsa2') + '" subid2="' + tarteaucitron.getElemAttr(x, 'subid2') + '" nicheid="' + tarteaucitron.getElemAttr(x, 'nicheid') + '" degreid="' + tarteaucitron.getElemAttr(x, 'degreid') + '" bt="' + tarteaucitron.getElemAttr(x, 'bt') + '" vis="' + tarteaucitron.getElemAttr(x, 'vis') + '" hid="' + tarteaucitron.getElemAttr(x, 'hid') + '" snd="' + tarteaucitron.getElemAttr(x, 'snd') + '" aabd="' + tarteaucitron.getElemAttr(x, 'aabd') + '" aabs="' + tarteaucitron.getElemAttr(x, 'aabs') + '"></div>';
2764        });
2765
2766        for (i = 0; i < uniqIds.length; i += 1) {
2767            uri = 'https://www.promotools.biz/da/popunder/script.php?';
2768            uri += 'comfrom=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'comfrom') + '&';
2769            uri += 'promo=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'promo') + '&';
2770            uri += 'product_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'productid') + '&';
2771            uri += 'submitconfig=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'submitconfig') + '&';
2772            uri += 'ur=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'ur') + '&';
2773            uri += 'brand=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'brand') + '&';
2774            uri += 'lang=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'lang') + '&';
2775            uri += 'cf0=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cf0') + '&';
2776            uri += 'cf2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cf2') + '&';
2777            uri += 'subid1=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'subid1') + '&';
2778            uri += 'cfsa2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'cfsa2') + '&';
2779            uri += 'subid2=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'subid2') + '&';
2780            uri += 'nicheId=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'nicheid') + '&';
2781            uri += 'degreId=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'degreid') + '&';
2782            uri += 'bt=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'bt') + '&';
2783            uri += 'vis=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'vis') + '&';
2784            uri += 'hid=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'hid') + '&';
2785            uri += 'snd=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'snd') + '&';
2786            uri += 'aabd=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'aabd') + '&';
2787            uri += 'aabs=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'aabs');
2788
2789            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
2790        }
2791    },
2792    "fallback": function () {
2793        "use strict";
2794        var id = 'datingaffiliationpopup';
2795        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
2796    }
2797};
2798
2799// deezer
2800tarteaucitron.services.deezer = {
2801    "key": "deezer",
2802    "type": "video",
2803    "name": "Deezer",
2804    "uri": "https://www.deezer.com/legal/personal-datas",
2805    "needConsent": true,
2806    "cookies": [],
2807    "js": function () {
2808        "use strict";
2809        tarteaucitron.fallback(['deezer_player'], function (x) {
2810            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Deezer iframe',
2811                deezer_id = tarteaucitron.getElemAttr(x, "deezerID"),
2812                deezer_width = tarteaucitron.getElemAttr(x, "width"),
2813                deezer_height = tarteaucitron.getElemAttr(x, "height"),
2814                styleAttr = "",
2815                deezer_frame,
2816                embed_theme = tarteaucitron.getElemAttr(x, "theme"),
2817                embed_type = tarteaucitron.getElemAttr(x, "embedType"),
2818                radius = tarteaucitron.getElemAttr(x, "radius"),
2819                tracklist = tarteaucitron.getElemAttr(x, "tracklist"),
2820                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
2821                params;
2822
2823            if (deezer_id === undefined) {
2824                return "";
2825            }
2826            if (deezer_width !== "") {
2827                styleAttr += 'width:' + parseInt(deezer_width, 10) + 'px;';
2828            }
2829            if (deezer_height !== "") {
2830                styleAttr += 'height:' + parseInt(deezer_height, 10) + 'px;';
2831            }
2832            if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme)) {
2833                embed_theme = "auto";
2834            }
2835            if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type)) {
2836                embed_type = "album";
2837            }
2838            if (radius === undefined || !['true', 'false'].includes(radius)) {
2839                radius = "true";
2840            }
2841            if (tracklist === undefined || !['true', 'false'].includes(tracklist)) {
2842                tracklist = "true";
2843            }
2844            params = 'tracklist=' + tracklist + '&radius=' + radius;
2845            deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" style="' + styleAttr + '" ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
2846            return deezer_frame;
2847        });
2848    },
2849    "fallback": function () {
2850        "use strict";
2851        var id = 'deezer';
2852        tarteaucitron.fallback(['deezer_player'], function (elem) {
2853            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
2854            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
2855            return tarteaucitron.engage(id);
2856        });
2857    }
2858};
2859
2860// leadforensicsold
2861tarteaucitron.services.leadforensicsold = {
2862    "key": "leadforensicsold",
2863    "type": "analytic",
2864    "name": "LeadForensics",
2865    "uri": "https://www.leadforensics.com/privacy-policy/",
2866    "needConsent": true,
2867    "cookies": ['trackalyzer'],
2868    "js": function () {
2869        "use strict";
2870        if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
2871            tarteaucitron.user.leadforensicsIidentifier === undefined) {
2872            return;
2873        }
2874
2875        window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
2876
2877        (function () {
2878            var sf14g = document.createElement('script'); sf14g.async = true;
2879            sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
2880            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
2881        })();
2882
2883        tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
2884    }
2885};
2886
2887// disqus
2888tarteaucitron.services.disqus = {
2889    "key": "disqus",
2890    "type": "comment",
2891    "name": "Disqus",
2892    "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
2893    "needConsent": true,
2894    "cookies": [],
2895    "js": function () {
2896        "use strict";
2897        if (tarteaucitron.user.disqusShortname === undefined) {
2898            return;
2899        }
2900        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortn
vendor: 28,543 bytes, lines 2900-3700
2900ame + '.disqus.com/embed.js');
2901        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
2902    },
2903    "fallback": function () {
2904        "use strict";
2905        var id = 'disqus';
2906
2907        if (document.getElementById('disqus_thread')) {
2908            document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
2909        }
2910    }
2911};
2912
2913// ekomi
2914tarteaucitron.services.ekomi = {
2915    "key": "ekomi",
2916    "type": "social",
2917    "name": "eKomi",
2918    "uri": "https://www.ekomi-us.com/us/privacy/",
2919    "needConsent": true,
2920    "cookies": [],
2921    "js": function () {
2922        "use strict";
2923        if (tarteaucitron.user.ekomiCertId === undefined) {
2924            return;
2925        }
2926        window.eKomiIntegrationConfig = [
2927            { certId: tarteaucitron.user.ekomiCertId }
2928        ];
2929        tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
2930    }
2931};
2932
2933// etracker
2934tarteaucitron.services.etracker = {
2935    "key": "etracker",
2936    "type": "analytic",
2937    "name": "eTracker",
2938    "uri": "https://www.etracker.com/en/data-protection.html",
2939    "needConsent": true,
2940    "cookies": [],
2941    "js": function () {
2942        "use strict";
2943        if (tarteaucitron.user.etracker === undefined) {
2944            return;
2945        }
2946
2947        tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () { }, true, "data-secure-code", tarteaucitron.user.etracker);
2948    }
2949};
2950
2951// facebook
2952tarteaucitron.services.facebook = {
2953    "key": "facebook",
2954    "type": "social",
2955    "name": "Facebook",
2956    "uri": "https://www.facebook.com/policy.php",
2957    "needConsent": true,
2958    "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
2959    "js": function () {
2960        "use strict";
2961        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
2962        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
2963        if (tarteaucitron.isAjax === true) {
2964            if (typeof FB !== "undefined") {
2965                FB.XFBML.parse();
2966            }
2967        }
2968    },
2969    "fallback": function () {
2970        "use strict";
2971        var id = 'facebook';
2972        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
2973    }
2974};
2975
2976// facebooklikebox
2977tarteaucitron.services.facebooklikebox = {
2978    "key": "facebooklikebox",
2979    "type": "social",
2980    "name": "Facebook (like box)",
2981    "uri": "https://www.facebook.com/policy.php",
2982    "needConsent": true,
2983    "cookies": [],
2984    "js": function () {
2985        "use strict";
2986        tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
2987        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
2988        if (tarteaucitron.isAjax === true) {
2989            if (typeof FB !== "undefined") {
2990                FB.XFBML.parse();
2991            }
2992        }
2993    },
2994    "fallback": function () {
2995        "use strict";
2996        var id = 'facebooklikebox';
2997        tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
2998    }
2999};
3000
3001// facebookcomment
3002tarteaucitron.services.facebookcomment = {
3003    "key": "facebookcomment",
3004    "type": "comment",
3005    "name": "Facebook (commentaire)",
3006    "uri": "https://www.facebook.com/policy.php",
3007    "needConsent": true,
3008    "cookies": [],
3009    "js": function () {
3010        "use strict";
3011        tarteaucitron.fallback(['fb-comments'], '');
3012        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
3013        if (tarteaucitron.isAjax === true) {
3014            if (typeof FB !== "undefined") {
3015                FB.XFBML.parse();
3016            }
3017        }
3018    },
3019    "fallback": function () {
3020        "use strict";
3021        var id = 'facebookcomment';
3022        tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
3023    }
3024};
3025
3026// ferank
3027tarteaucitron.services.ferank = {
3028    "key": "ferank",
3029    "type": "analytic",
3030    "name": "FERank",
3031    "uri": "https://www.ferank.fr/respect-vie-privee/#mesureaudience",
3032    "needConsent": false,
3033    "cookies": [],
3034    "js": function () {
3035        "use strict";
3036        tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {
3037            if (typeof tarteaucitron.user.ferankMore === 'function') {
3038                tarteaucitron.user.ferankMore();
3039            }
3040        });
3041    }
3042};
3043
3044// pingdom
3045tarteaucitron.services.pingdom = {
3046    "key": "pingdom",
3047    "type": "api",
3048    "name": "Pingdom",
3049    "uri": "https://www.solarwinds.com/general-data-protection-regulation-cloud",
3050    "needConsent": true,
3051    "cookies": [],
3052    "js": function () {
3053        "use strict";
3054
3055        if (tarteaucitron.user.pingdomId === undefined) {
3056            return;
3057        }
3058
3059        window._prum = [['id', tarteaucitron.user.pingdomId], ['mark', 'firstbyte', (new Date()).getTime()]];
3060
3061        tarteaucitron.addScript('https://rum-static.pingdom.net/prum.min.js');
3062    }
3063};
3064
3065
3066// simpleanalytics
3067tarteaucitron.services.simpleanalytics = {
3068    "key": "simpleanalytics",
3069    "type": "analytic",
3070    "name": "Simple Analytics",
3071    "uri": "https://docs.simpleanalytics.com/what-we-collect",
3072    "needConsent": false,
3073    "cookies": [],
3074    "js": function () {
3075        "use strict";
3076        tarteaucitron.addScript('https://scripts.simpleanalyticscdn.com/latest.js');
3077    }
3078};
3079
3080// stonly
3081tarteaucitron.services.stonly = {
3082    "key": "stonly",
3083    "type": "api",
3084    "name": "Stonly (privacy by design)",
3085    "uri": "https://trust.stonly.com/",
3086    "needConsent": false,
3087    "cookies": [],
3088    "js": function () {
3089        "use strict";
3090        if (tarteaucitron.user.stonlyId === undefined) {
3091            return;
3092        }
3093
3094        window.STONLY_WID = tarteaucitron.user.stonlyId;
3095        window.StonlyWidget || ((window.w = window.StonlyWidget = function () {
3096            window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
3097        }).queue = []);
3098
3099        tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
3100    }
3101};
3102
3103// stripe
3104/*tarteaucitron.services.stripe = {
3105    "key": "stripe",
3106    "type": "api",
3107    "name": "Stripe",
3108    "uri": "https://stripe.com/cookies-policy/legal",
3109    "needConsent": true,
3110    "cookies": [],
3111    "js": function () {
3112        "use strict";
3113        tarteaucitron.addScript('https://js.stripe.com/v3/');
3114    }
3115};*/
3116
3117// ferank pub
3118tarteaucitron.services.ferankpub = {
3119    "key": "ferankpub",
3120    "type": "ads",
3121    "name": "FERank (pub)",
3122    "uri": "https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",
3123    "needConsent": false,
3124    "cookies": [],
3125    "js": function () {
3126        "use strict";
3127        tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');
3128        if (tarteaucitron.isAjax === true) {
3129            if (typeof ferankReady === 'function') {
3130                ferankReady();
3131            }
3132        }
3133    },
3134    "fallback": function () {
3135        "use strict";
3136        var id = 'ferankpub';
3137        tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));
3138    }
3139};
3140
3141// get+
3142tarteaucitron.services.getplus = {
3143    "key": "getplus",
3144    "type": "analytic",
3145    "name": "Get+",
3146    "uri": "https://www.getplus.fr/Conditions-generales-de-vente_a226.html",
3147    "needConsent": true,
3148    "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
3149    "js": function () {
3150        "use strict";
3151        if (tarteaucitron.user.getplusId === undefined) {
3152            return;
3153        }
3154
3155        window.webleads_site_ids = window.webleads_site_ids || [];
3156        window.webleads_site_ids.push(tarteaucitron.user.getplusId);
3157        tarteaucitron.addScript('//stats.webleads-tracker.com/js');
3158    }
3159};
3160
3161// google+
3162tarteaucitron.services.gplus = {
3163    "key": "gplus",
3164    "type": "social",
3165    "name": "Google+",
3166    "uri": "https://policies.google.com/privacy",
3167    "needConsent": true,
3168    "cookies": [],
3169    "js": function () {
3170        "use strict";
3171        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3172    },
3173    "fallback": function () {
3174        "use strict";
3175        var id = 'gplus';
3176        tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
3177    }
3178};
3179
3180// google+ badge
3181tarteaucitron.services.gplusbadge = {
3182    "key": "gplusbadge",
3183    "type": "social",
3184    "name": "Google+ (badge)",
3185    "uri": "https://policies.google.com/privacy",
3186    "needConsent": true,
3187    "cookies": [],
3188    "js": function () {
3189        "use strict";
3190        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3191    },
3192    "fallback": function () {
3193        "use strict";
3194        var id = 'gplusbadge';
3195        tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
3196    }
3197};
3198
3199// google adsense
3200tarteaucitron.services.adsense = {
3201    "key": "adsense",
3202    "type": "ads",
3203    "name": "Google Adsense",
3204    "uri": "https://adssettings.google.com/",
3205    "needConsent": true,
3206    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3207    "cookies": ['__gads'],
3208    "js": function () {
3209        "use strict";
3210        tarteaucitron.fallback(['adsbygoogle'], '');
3211        tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
3212    },
3213    "fallback": function () {
3214        "use strict";
3215        var id = 'adsense';
3216        tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
3217    }
3218};
3219
3220
3221// google adsense automatic
3222tarteaucitron.services.adsenseauto = {
3223    "key": "adsenseauto",
3224    "type": "ads",
3225    "name": "Google Adsense Automatic",
3226    "uri": "https://adssettings.google.com/",
3227    "needConsent": true,
3228    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3229    "cookies": ['__gads'],
3230    "js": function () {
3231        "use strict";
3232
3233        if (tarteaucitron.user.adsensecapub === undefined) {
3234            return;
3235        }
3236        tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + tarteaucitron.user.adsensecapub, '', '', '', 'crossorigin', 'anonymous');
3237    }
3238};
3239
3240// Google Adsense Search
3241tarteaucitron.services.adsensesearch = {
3242    "key": "adsensesearch",
3243    "type": "ads",
3244    "name": "Google Adsense Search",
3245    "uri": "https://adssettings.google.com/",
3246    "needConsent": true,
3247    "readmoreLink": "https://policies.google.com/technologies/partner-sites",
3248    "cookies": ['__gads'],
3249    "js": function () {
3250        "use strict";
3251        tarteaucitron.addScript('https://www.google.com/adsense/search/ads.js');
3252    },
3253    "fallback": function () {
3254        "use strict";
3255        var id = 'adsensesearch';
3256        tarteaucitron.fallback(['afscontainer1'], tarteaucitron.engage(id));
3257    }
3258};
3259
3260// google partners badge
3261tarteaucitron.services.googlepartners = {
3262    "key": "googlepartners",
3263    "type": "ads",
3264    "name": "Google Partners Badge",
3265    "uri": "https://adssettings.google.com/",
3266    "needConsent": true,
3267    "cookies": [],
3268    "js": function () {
3269        "use strict";
3270        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
3271    },
3272    "fallback": function () {
3273        "use strict";
3274        var id = 'googlepartners';
3275        tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
3276    }
3277};
3278
3279// google adsense search (form)
3280tarteaucitron.services.adsensesearchform = {
3281    "key": "adsensesearchform",
3282    "type": "ads",
3283    "name": "Google Adsense Search (form)",
3284    "uri": "https://adssettings.google.com/",
3285    "needConsent": true,
3286    "cookies": [],
3287    "js": function () {
3288        "use strict";
3289        tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
3290    }
3291};
3292
3293// google adsense search (result)
3294tarteaucitron.services.adsensesearchresult = {
3295    "key": "adsensesearchresult",
3296    "type": "ads",
3297    "name": "Google Adsense Search (result)",
3298    "uri": "https://adssettings.google.com/",
3299    "needConsent": true,
3300    "cookies": [],
3301    "js": function () {
3302        "use strict";
3303        if (tarteaucitron.user.adsensesearchresultCx === undefined) {
3304            return;
3305        }
3306        tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
3307    },
3308    "fallback": function () {
3309        "use strict";
3310        var id = 'adsensesearchresult';
3311
3312        if (document.getElementById('gcse_searchresults')) {
3313            document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
3314        }
3315    }
3316};
3317
3318// googleadwordsconversion
3319tarteaucitron.services.googleadwordsconversion = {
3320    "key": "googleadwordsconversion",
3321    "type": "ads",
3322    "name": "Google Adwords (conversion)",
3323    "uri": "https://www.google.com/settings/ads",
3324    "needConsent": true,
3325    "cookies": [],
3326    "js": function () {
3327        "use strict";
3328        if (tarteaucitron.user.adwordsconversionId === undefined) {
3329            return;
3330        }
3331
3332        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
3333            window.google_trackConversion({
3334                google_conversion_id: tarteaucitron.user.adwordsconversionId,
3335                google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
3336                google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
3337                google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
3338                google_conversion_color: tarteaucitron.user.adwordsconversionColor,
3339                google_conversion_value: tarteaucitron.user.adwordsconversionValue,
3340                google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
3341                google_custom_params: {
3342                    parameter1: tarteaucitron.user.adwordsconversionCustom1,
3343                    parameter2: tarteaucitron.user.adwordsconversionCustom2
3344                }
3345            });
3346        });
3347    }
3348};
3349
3350// googleadwordsremarketing
3351tarteaucitron.services.googleadwordsremarketing = {
3352    "key": "googleadwordsremarketing",
3353    "type": "ads",
3354    "name": "Google Adwords (remarketing)",
3355    "uri": "https://www.google.com/settings/ads",
3356    "needConsent": true,
3357    "cookies": [],
3358    "js": function () {
3359        "use strict";
3360        if (tarteaucitron.user.adwordsremarketingId === undefined) {
3361            return;
3362        }
3363
3364        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
3365            window.google_trackConversion({
3366                google_conversion_id: tarteaucitron.user.adwordsremarketingId,
3367                google_remarketing_only: true
3368            });
3369        });
3370    }
3371};
3372
3373// google analytics (old)
3374tarteaucitron.services.gajs = {
3375    "key": "gajs",
3376    "type": "analytic",
3377    "name": "Google Analytics (ga.js)",
3378    "uri": "https://policies.google.com/privacy",
3379    "needConsent": true,
3380    "cookies": (function () {
3381        var googleIdentifier = tarteaucitron.user.gajsUa,
3382            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3383            tagGCookie = '_ga_' + googleIdentifier;
3384
3385        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3386        tagGCookie = tagGCookie.replace(/G-/g, '');
3387
3388        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3389    })(),
3390    "js": function () {
3391        "use strict";
3392        window._gaq = window._gaq || [];
3393        window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
3394        if (timeExpire !== undefined) {
3395            _gaq.push(['_setVisitorCookieTimeout', timeExpire]);
3396        }
3397
3398        if (tarteaucitron.user.gajsAnonymizeIp) {
3399            window._gaq.push(['_gat._anonymizeIp']);
3400        }
3401
3402        if (tarteaucitron.user.gajsPageView) {
3403            window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
3404        } else {
3405            window._gaq.push(['_trackPageview']);
3406        }
3407
3408        tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
3409            if (typeof tarteaucitron.user.gajsMore === 'function') {
3410                tarteaucitron.user.gajsMore();
3411            }
3412        });
3413    }
3414};
3415
3416// google analytics
3417tarteaucitron.services.analytics = {
3418    "key": "analytics",
3419    "type": "analytic",
3420    "name": "Google Analytics (universal)",
3421    "uri": "https://policies.google.com/privacy",
3422    "needConsent": true,
3423    "cookies": (function () {
3424        var googleIdentifier = tarteaucitron.user.analyticsUa,
3425            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3426            tagGCookie = '_ga_' + googleIdentifier;
3427
3428        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3429        tagGCookie = tagGCookie.replace(/G-/g, '');
3430
3431        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3432    })(),
3433    "js": function () {
3434        "use strict";
3435        window.GoogleAnalyticsObject = 'ga';
3436        window.ga = window.ga || function () {
3437            window.ga.q = window.ga.q || [];
3438            window.ga.q.push(arguments);
3439        };
3440        window.ga.l = new Date();
3441        tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
3442            var uaCreate = { 'cookieExpires': (timeExpire !== undefined) ? timeExpire : 34128000 };
3443            tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
3444            ga('create', tarteaucitron.user.analyticsUa, uaCreate);
3445
3446            if (tarteaucitron.user.analyticsAnonymizeIp) {
3447                ga('set', 'anonymizeIp', true);
3448            }
3449
3450            if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
3451                tarteaucitron.user.analyticsPrepare();
3452            }
3453
3454            if (tarteaucitron.user.analyticsPageView) {
3455                ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
3456            } else {
3457                ga('send', 'pageview');
3458            }
3459
3460            if (typeof tarteaucitron.user.analyticsMore === 'function') {
3461                tarteaucitron.user.analyticsMore();
3462            }
3463        });
3464    }
3465};
3466
3467// google ads
3468tarteaucitron.services.googleads = {
3469    "key": "googleads",
3470    "type": "ads",
3471    "name": "Google Ads",
3472    "uri": "https://policies.google.com/privacy",
3473    "needConsent": true,
3474    "cookies": (function () {
3475        var googleIdentifier = tarteaucitron.user.googleadsId,
3476            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3477            tagGCookie = '_ga_' + googleIdentifier;
3478
3479        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3480        tagGCookie = tagGCookie.replace(/G-/g, '');
3481
3482        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3483    })(),
3484    "js": function () {
3485        "use strict";
3486        window.dataLayer = window.dataLayer || [];
3487        tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.googleadsId, '', function () {
3488            window.gtag = function gtag() { dataLayer.push(arguments); }
3489            gtag('js', new Date());
3490            var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
3491
3492            gtag('config', tarteaucitron.user.googleadsId, additional_config_info);
3493
3494            if (typeof tarteaucitron.user.googleadsMore === 'function') {
3495                tarteaucitron.user.googleadsMore();
3496            }
3497        });
3498    },
3499    "fallback": function () {
3500        if (tarteaucitron.parameters.googleConsentMode === true) {
3501            if (tarteaucitron.parameters.softConsentMode === false) {
3502                this.js();
3503            }
3504        }
3505    }
3506};
3507
3508// google analytics
3509tarteaucitron.services.gtag = {
3510    "key": "gtag",
3511    "type": "analytic",
3512    "name": "Google Analytics (GA4)",
3513    "uri": "https://policies.google.com/privacy",
3514    "needConsent": true,
3515    "cookies": (function () {
3516        var googleIdentifier = tarteaucitron.user.gtagUa,
3517            tagUaCookie = '_gat_gtag_' + googleIdentifier,
3518            tagGCookie = '_ga_' + googleIdentifier;
3519
3520        tagUaCookie = tagUaCookie.replace(/-/g, '_');
3521        tagGCookie = tagGCookie.replace(/G-/g, '');
3522
3523        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
3524    })(),
3525    "js": function () {
3526        "use strict";
3527        window.dataLayer = window.dataLayer || [];
3528        tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
3529            window.gtag = function gtag() { dataLayer.push(arguments); }
3530            gtag('js', new Date());
3531            var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
3532
3533            if (tarteaucitron.user.gtagCrossdomain) {
3534                /**
3535                 * https://support.google.com/analytics/answer/7476333?hl=en
3536                 * https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
3537                 */
3538                gtag('config', tarteaucitron.user.gtagUa, additional_config_info, { linker: { domains: tarteaucitron.user.gtagCrossdomain, } });
3539            } else {
3540                gtag('config', tarteaucitron.user.gtagUa, additional_config_info);
3541            }
3542
3543            if (typeof tarteaucitron.user.gtagMore === 'function') {
3544                tarteaucitron.user.gtagMore();
3545            }
3546        });
3547    },
3548    "fallback": function () {
3549        if (tarteaucitron.parameters.googleConsentMode === true) {
3550            if (tarteaucitron.parameters.softConsentMode === false) {
3551                this.js();
3552            }
3553        }
3554    }
3555};
3556
3557tarteaucitron.services.firebase = {
3558    "key": "firebase",
3559    "type": "analytic",
3560    "name": "Firebase",
3561    "uri": "https://firebase.google.com/support/privacy",
3562    "needConsent": true,
3563    "cookies": (function () {
3564        var googleIdentifier = tarteaucitron.user.firebaseMeasurementId,
3565            tagGCookie = '_ga_' + googleIdentifier;
3566
3567        tagGCookie = tagGCookie.replace(/G-/g, '');
3568
3569        return ['_ga', tagGCookie];
3570    })(),
3571    "js": function () {
3572        "use strict";
3573
3574        if (tarteaucitron.user.firebaseApiKey === undefined) {
3575            return;
3576        }
3577
3578        tarteaucitron.addScript('https://www.gstatic.com/firebasejs/10.10.0/firebase-app.js', '', function () {
3579            tarteaucitron.addScript('https://www.gstatic.com/firebasejs/10.10.0/firebase-analytics.js', '', function () {
3580
3581                var firebaseConfig = {
3582                    apiKey: tarteaucitron.user.firebaseApiKey,
3583                    authDomain: tarteaucitron.user.firebaseAuthDomain,
3584                    databaseURL: tarteaucitron.user.firebaseDatabaseUrl,
3585                    projectId: tarteaucitron.user.firebaseProjectId,
3586                    storageBucket: tarteaucitron.user.firebaseStorageBucket,
3587                    appId: tarteaucitron.user.firebaseAppId,
3588                    measurementId: tarteaucitron.user.firebaseMeasurementId,
3589                };
3590                firebase.initializeApp(firebaseConfig);
3591                firebase.analytics();
3592            });
3593        });
3594    }
3595};
3596
3597// genially
3598tarteaucitron.services.genially = {
3599    "key": "genially",
3600    "type": "api",
3601    "name": "genially",
3602    "uri": "https://www.genial.ly/cookies",
3603    "needConsent": true,
3604    "cookies": ['_gat', '_ga', '_gid'],
3605    "js": function () {
3606        "use strict";
3607
3608        tarteaucitron.fallback(['tac_genially'], function (x) {
3609            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'genially iframe',
3610                width = tarteaucitron.getElemAttr(x, "width"),
3611                height = tarteaucitron.getElemAttr(x, "height"),
3612                geniallyid = tarteaucitron.getElemAttr(x, "geniallyid"),
3613                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
3614
3615            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
3616
3617            return '<div style="position: relative; padding-bottom: 109.00%; padding-top: 0; height: 0;"><iframe style="position: absolute; top: 0; left: 0;' + styleAttr + '" title="' + frame_title + '" src="https://view.genial.ly/' + geniallyid + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe></div>';
3618        });
3619    },
3620    "fallback": function () {
3621        "use strict";
3622        var id = 'genially';
3623        tarteaucitron.fallback(['tac_genially'], function (elem) {
3624            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
3625            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
3626            return tarteaucitron.engage(id);
3627        });
3628    }
3629};
3630
3631// google maps
3632tarteaucitron.services.googlemaps = {
3633    "key": "googlemaps",
3634    "type": "api",
3635    "name": "Google Maps",
3636    "uri": "https://policies.google.com/privacy",
3637    "needConsent": true,
3638    "cookies": [],
3639    "js": function () {
3640        "use strict";
3641        var mapOptions,
3642            map,
3643            uniqIds = [],
3644            i;
3645
3646        if (tarteaucitron.user.mapscallback === undefined) {
3647            tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
3648        }
3649
3650        // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
3651        var googleMapsLibraries = '';
3652        if (tarteaucitron.user.googlemapsLibraries) {
3653            googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
3654        }
3655
3656        tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback=' + tarteaucitron.user.mapscallback + googleMapsLibraries);
3657
3658        window.tac_googlemaps_callback = function () {
3659            tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
3660                var uniqId = '_' + Math.random().toString(36).substr(2, 9);
3661                uniqIds.push(uniqId);
3662                return '<div id="' + uniqId + '" zoom="' + tarteaucitron.getElemAttr(x, 'zoom') + '" latitude="' + tarteaucitron.getElemAttr(x, 'latitude') + '" longitude="' + tarteaucitron.getElemAttr(x, 'longitude') + '" style="width:' + x.offsetWidth + 'px;height:' + x.offsetHeight + 'px"></div>';
3663            });
3664
3665            var i;
3666            for (i = 0; i < uniqIds.length; i += 1) {
3667                mapOptions = {
3668                    zoom: parseInt(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'zoom'), 10),
3669                    center: new google.maps.LatLng(parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'latitude'), 10), parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'longitude'), 10))
3670                };
3671                map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
3672                new google.maps.Marker({ position: { lat: parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'latitude'), 10), lng: parseFloat(tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'longitude'), 10) }, map: map });
3673            }
3674        };
3675    },
3676    "fallback": function () {
3677        "use strict";
3678        var id = 'googlemaps';
3679        tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
3680    }
3681};
3682
3683// googlemaps search
3684tarteaucitron.services.googlemapssearch = {
3685    "key": "googlemapssearch",
3686    "type": "api",
3687    "name": "Google Maps Search API",
3688    "uri": "https://policies.google.com/privacy",
3689    "needConsent": true,
3690    "cookies": ['nid'],
3691    "js": function () {
3692        "use strict";
3693        tarteaucitron.fallback(['googlemapssearch'], function (x) {
3694            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Google search iframe',
3695                width = tarteaucitron.getElemAttr(x, "width"),
3696                height = tarteaucitron.getElemAttr(x, "height"),
3697                // url = tarteaucitron.getElemAttr(x, "data-url");
3698                query = escape(tarteaucitron.getElemAttr(x, "data-search")),
3699                key = tarteaucitron.getElemAttr(x, "data-api-key");
3700
3701            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
3702
3703            return '<iframe title="' + frame_title + '" style="' + styleAttr + 'border:0" src="https://www.google.com/maps/embed/v1/place?q=' + query + '&key=' + key + '" allowfullscreen></iframe> '
3704        });
3705    },
3706    "fallback": function () {
3707        "use strict";
3708        var id = 'googlemapssearch';
3709        tarteaucitron.fallback(['googlemapssearch'], function (elem) {
3710            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
3711            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
3712            return tarteaucitron.engage(id);
3713        });
3714    }
3715};
3716
3717// googlemaps embed iframe
3718tarteaucitron.services.googlemapsembed = {
3719    "key": "googlemapsembed",
3720    "type": "api",
3721    "name": "Google Maps Embed",
3722    "uri": "https://policies.google.com/privacy",
3723    "needConsent": true,
3724    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3725    "js": function () {
3726        "use strict";
3727        tarteaucitron.fallback(['googlemapsembed'], function (x) {
3728            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Google maps iframe',
3729                width = tarteaucitron.getElemWidth(x),
3730                height = tarteaucitron.getElemHeight(x),
3731                url = tarteaucitron.getElemAttr(x, "data-url");
3732
3733            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
3734
3735            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
3736        });
3737    },
3738    "fallback": function () {
3739        "use strict";
3740        var id = 'googlemapsembed';
3741        tarteaucitron.fallback(['googlemapsembed'], function (elem) {
3742            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
3743            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
3744            return tarteaucitron.engage(id);
3745        });
3746    }
3747};
3748
3749
3750// openstreetmap embed iframe
3751tarteaucitron.services.openstreetmap = {
3752    "key": "openstreetmap",
3753    "type": "api",
3754    "name": "Openstreetmap Embed",
3755    "uri": "https://wiki.osmfoundation.org/wiki/Privacy_Policy#Cookies",
3756    "needConsent": true,
3757    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3758    "js": function () {
3759        "use strict";
3760        tarteaucitron.fallback(['openstreetmap'], function (x) {
3761            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Openstreetmap iframe',
3762                width = tarteaucitron.getElemWidth(x),
3763                height = tarteaucitron.getElemHeight(x),
3764                url = tarteaucitron.getElemAttr(x, "data-url");
3765
3766            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
3767
3768            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowfullscreen></iframe>';
3769        });
3770    },
3771    "fallback": function () {
3772        "use strict";
3773        var id = 'openstreetmap';
3774        tarteaucitron.fallback(['openstreetmap'], function (elem) {
3775            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
3776            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
3777            return tarteaucitron.engage(id);
3778        });
3779    }
3780};
3781
3782// geoportail embed iframe
3783tarteaucitron.services.geoportail = {
3784    "key": "geoportail",
3785    "type": "api",
3786    "name": "Geoportail maps Embed",
3787    "uri": "https://www.ign.fr/institut/gestion-des-cookies",
3788    "needConsent": true,
3789    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
3790    "js": function () {
3791        "use strict";
3792        tarteaucitron.fallback(['geoportail'], function (x) {
3793            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Geoportail maps iframe',
3794                width = tarteaucitron.getElemWidth(x),
3795                height = tarteaucitron.getElemHeight(x),
3796                url = tarteaucitron.getElemAttr(x, "data-url");
3797
3798            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
3799
3800            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" sandbox="allow-forms allow-scripts allow-same-origin" allowfullscreen></iframe>';
3801        });
3802    },
3803    "fallback": function () {
3804        "use strict";
3805        var id = 'geoportail';
3806        tarteaucitron.fallback(['geoportail'], function (elem) {
3807            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
3808            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
3809            return tarteaucitron.engage(id);
3810        });
3811    }
3812};
3813
3814
3815// google tag manager
3816tarteaucitron.services.googletagmanager = {
3817    "key": "googletagmanager",
3818    "type": "api",
3819    "name": "Google Tag Manager",
3820    "uri": "https://policies.google.com/privacy",
3821    "needConsent": true,
3822    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
3823    "js": function () {
3824        "use strict";
3825        if (tarteaucitron.user.googletagmanagerId === undefined) {
3826            return;
3827        }
3828        window.dataLayer = window.dataLayer || [];
3829        window.dataLayer.push({
3830            'gtm.start': new Date().getTime(),
3831            event: 'gtm.js'
3832        });
3833        tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
3834    }
3835};
3836
3837// google tag manager multiple
3838tarteaucitron.services.multiplegoogletagmanager = {
3839    "key": "multiplegoogletagmanager",
3840    "type": "api",
3841    "name": "Google Tag Manager",
3842    "uri": "https://policies.google.com/privacy",
3843    "needConsent": true,
3844    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
3845    "js": function () {
3846        "use strict";
3847        if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
3848            return;
3849        }
3850        window.dataLayer = window.dataLayer || [];
3851        window.dataLayer.push({
3852            'gtm.start': new Date().getTime(),
3853            event: 'gtm.js'
3854        });
3855
3856        tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
3857            tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
3858        });
3859
3860    }
3861};
3862
3863// google webfonts
3864tarteaucitron.services.googlefonts = {
3865    "key": "googlefonts",
3866    "type": "api",
3867    "name": "Google Webfonts",
3868    "uri": "https://policies.google.com/privacy",
3869    "needConsent": true,
3870    "cookies": [],
3871    "js": function () {
3872        "use strict";
3873        if (tarteaucitron.user.googleFonts === undefined) {
3874            return;
3875        }
3876        tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
3877
3878            if (tarteaucitron.user.googleFonts instanceof Array) {
3879                WebFont.load({
3880                    google: {
3881                        families: tarteaucitron.user.googleFonts
3882                    }
3883                });
3884            } else {
3885                WebFont.load({
3886                    google: {
3887                        families: [tarteaucitron.user.googleFonts]
3888                    }
3889                });
3890            }
3891        });
3892    }
3893};
3894
3895// hubspot
3896tarteaucitron.services.hubspot = {
3897    "key": "hubspot",
3898    "type": "analytic",
3899    "name": "Hubspot",
3900    "uri": "https://legal.hubspot.com/privacy-policy",
3901    "needConsent": true,
3902    "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
3903    "js": function () {
3904        "use strict";
3905        tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
3906    }
3907};
3908
3909// instagram
3910tarteaucitron.services.instagram = {
3911    "key": "instagram",
3912    "type": "social",
3913    "name": "Instagram",
3914    "uri": "https://www.instagram.com/legal/privacy/",
3915    "needConsent": true,
3916    "cookies": ['shbts', 'sessionid', 'csrftoken', 'rur', 'shbid', 'mid', 'ds_usr_id', 'ig_did', 'ig_cb', 'datr'],
3917    "js": function () {
3918        "use strict";
3919        tarteaucitron.fallback(['instagram_post'], function (x) {
3920            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Instagram iframe',
3921                post_id = tarteaucitron.getElemAttr(x, 'postId'),
3922                post_permalink = tarteaucitron.getElemAttr(x, 'data-instgrm-permalink'),
3923                embed_width = tarteaucitron.getElemAttr(x, 'width'),
3924                embed_height = tarteaucitron.getElemAttr(x, 'height'),
3925                styleAttr = "",
3926                post_frame;
3927
3928            if (post_permalink != null) {
3929                tarteaucitron.addScript('//www.instagram.com/embed.js', 'instagram-embed');
3930
3931                return '';
3932            }
3933
3934            if (post_id === undefined) {
3935                return "";
3936            }
3937
3938            if (embed_width !== "") {
3939                styleAttr = 'width:' + parseInt(embed_width, 10) + 'px;';
3940            }
3941            if (embed_height !== "") {
3942                styleAttr = 'height:' + parseInt(embed_height, 10) + 'px;';
3943            }
3944
3945            post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/p/' + post_id + '/embed" style="' + styleAttr + '"></iframe>';
3946
3947            return post_frame;
3948        });
3949    },
3950    "fallback": function () {
3951        "use strict";
3952        var id = 'instagram';
3953        tarteaucitron.fallback(['instagram_post'], function (elem) {
3954            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
3955            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
3956            return tarteaucitron.engage(id);
3957        });
3958    }
3959};
3960
3961// jsapi
3962tarteaucitron.services.jsapi = {
vendor: 17,541 bytes, lines 3963-4461
3963    "key": "jsapi",
3964    "type": "api",
3965    "name": "Google jsapi",
3966    "uri": "https://policies.google.com/privacy",
3967    "needConsent": true,
3968    "cookies": [],
3969    "js": function () {
3970        "use strict";
3971        tarteaucitron.addScript('//www.google.com/jsapi');
3972    }
3973};
3974
3975// twitterwidgetsapi
3976tarteaucitron.services.twitterwidgetsapi = {
3977    "key": "twitterwidgetsapi",
3978    "type": "api",
3979    "name": "X (formerly Twitter) Widgets API",
3980    "uri": "https://support.twitter.com/articles/20170514",
3981    "needConsent": true,
3982    "cookies": [],
3983    "js": function () {
3984        "use strict";
3985        tarteaucitron.fallback(['tacTwitterAPI'], '');
3986        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
3987    },
3988    "fallback": function () {
3989        "use strict";
3990        var id = 'twitterwidgetsapi';
3991        tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
3992    }
3993};
3994
3995// recaptcha
3996tarteaucitron.services.recaptcha = {
3997    "key": "recaptcha",
3998    "type": "api",
3999    "name": "reCAPTCHA",
4000    "uri": "https://policies.google.com/privacy",
4001    "needConsent": true,
4002    "cookies": ['nid'],
4003    "js": function () {
4004        "use strict";
4005        window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
4006        tarteaucitron.fallback(['g-recaptcha'], '');
4007
4008        let url = 'https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad';
4009        if (tarteaucitron.user.recaptchaapi !== undefined) {
4010            url += '&render=' + tarteaucitron.user.recaptchaapi;
4011        }
4012        if (tarteaucitron.user.recaptcha_hl !== undefined) {
4013            url += '&hl=' + tarteaucitron.user.recaptcha_hl;
4014        }
4015        tarteaucitron.addScript(url);
4016    },
4017    "fallback": function () {
4018        "use strict";
4019        var id = 'recaptcha';
4020        tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
4021    }
4022};
4023
4024// linkedin
4025tarteaucitron.services.linkedin = {
4026    "key": "linkedin",
4027    "type": "social",
4028    "name": "Linkedin",
4029    "uri": "https://www.linkedin.com/legal/cookie-policy",
4030    "needConsent": true,
4031    "cookies": [],
4032    "js": function () {
4033        "use strict";
4034        tarteaucitron.fallback(['tacLinkedin'], '');
4035        tarteaucitron.addScript('//platform.linkedin.com/in.js');
4036        if (tarteaucitron.isAjax === true) {
4037            if (typeof IN !== "undefined") {
4038                IN.parse();
4039            }
4040        }
4041    },
4042    "fallback": function () {
4043        "use strict";
4044        var id = 'linkedin';
4045        tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
4046    }
4047};
4048
4049// mautic
4050tarteaucitron.services.mautic = {
4051    "key": "mautic",
4052    "type": "analytic",
4053    "name": "Mautic",
4054    "uri": "https://www.mautic.org/privacy-policy/",
4055    "needConsent": true,
4056    "cookies": ['mtc_id', 'mtc_sid'],
4057    "js": function () {
4058        "use strict";
4059        if (tarteaucitron.user.mauticurl === undefined) {
4060            return;
4061        }
4062
4063        window.MauticTrackingObject = 'mt';
4064        window.mt = window.mt || function () {
4065            window.mt.q = window.mt.q || [];
4066            window.mt.q.push(arguments);
4067        };
4068
4069        tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
4070            mt('send', 'pageview');
4071        });
4072    }
4073};
4074
4075// microsoftcampaignanalytics
4076tarteaucitron.services.microsoftcampaignanalytics = {
4077    "key": "microsoftcampaignanalytics",
4078    "type": "analytic",
4079    "name": "Microsoft Campaign Analytics",
4080    "uri": "https://privacy.microsoft.com/privacystatement/",
4081    "needConsent": true,
4082    "cookies": [],
4083    "js": function () {
4084        "use strict";
4085        if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
4086            return;
4087        }
4088
4089        tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
4090            window.mstag = { loadTag: function () { }, time: (new Date()).getTime() };
4091            window.mstag.loadTag("analytics", { dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId });
4092        });
4093    }
4094};
4095
4096// onesignal
4097tarteaucitron.services.onesignal = {
4098    "key": "onesignal",
4099    "type": "api",
4100    "name": "OneSignal",
4101    "uri": "https://onesignal.com/privacy_policy",
4102    "needConsent": true,
4103    "cookies": [],
4104    "js": function () {
4105        "use strict";
4106        if (tarteaucitron.user.onesignalAppId === undefined) {
4107            return;
4108        }
4109        window.OneSignal = window.OneSignal || [];
4110
4111        window.OneSignal.push(function () {
4112            window.OneSignal.init({
4113                appId: tarteaucitron.user.onesignalAppId,
4114            });
4115        });
4116
4117        tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
4118    }
4119};
4120
4121// pinterest
4122tarteaucitron.services.pinterest = {
4123    "key": "pinterest",
4124    "type": "social",
4125    "name": "Pinterest",
4126    "uri": "https://about.pinterest.com/privacy-policy",
4127    "needConsent": true,
4128    "cookies": [],
4129    "js": function () {
4130        "use strict";
4131        tarteaucitron.fallback(['tacPinterest'], '');
4132        tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
4133    },
4134    "fallback": function () {
4135        "use strict";
4136        var id = 'pinterest';
4137        tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
4138    }
4139};
4140
4141// prelinker
4142tarteaucitron.services.prelinker = {
4143    "key": "prelinker",
4144    "type": "ads",
4145    "name": "Prelinker",
4146    "uri": "https://www.prelinker.com/index/index/cgu/",
4147    "needConsent": true,
4148    "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
4149    "js": function () {
4150        "use strict";
4151        var uniqIds = [],
4152            i,
4153            uri;
4154
4155        tarteaucitron.fallback(['prelinker-canvas'], function (x) {
4156            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4157            uniqIds.push(uniqId);
4158            return '<div id="' + uniqId + '" siteId="' + tarteaucitron.getElemAttr(x, 'siteId') + '" bannerId="' + tarteaucitron.getElemAttr(x, 'bannerId') + '" defaultLanguage="' + tarteaucitron.getElemAttr(x, 'defaultLanguage') + '" tracker="' + tarteaucitron.getElemAttr(x, 'tracker') + '"></div>';
4159        });
4160
4161        for (i = 0; i < uniqIds.length; i += 1) {
4162            uri = 'https://promo.easy-dating.org/banner/index?';
4163            uri += 'site_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'siteId') + '&';
4164            uri += 'banner_id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'bannerId') + '&';
4165            uri += 'default_language=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'defaultLanguage') + '&';
4166            uri += 'tr4ck=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'trackrt');
4167
4168            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4169        }
4170    },
4171    "fallback": function () {
4172        "use strict";
4173        var id = 'prelinker';
4174        tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
4175    }
4176};
4177
4178// prezi
4179tarteaucitron.services.prezi = {
4180    "key": "prezi",
4181    "type": "video",
4182    "name": "Prezi",
4183    "uri": "https://prezi.com/privacy-policy/",
4184    "needConsent": true,
4185    "cookies": [],
4186    "js": function () {
4187        "use strict";
4188        tarteaucitron.fallback(['prezi-canvas'], function (x) {
4189            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Prezi iframe',
4190                id = tarteaucitron.getElemAttr(x, "data-id"),
4191                width = tarteaucitron.getElemAttr(x, "width"),
4192                height = tarteaucitron.getElemAttr(x, "height"),
4193                url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
4194
4195            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
4196
4197            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4198        });
4199    },
4200    "fallback": function () {
4201        "use strict";
4202        var id = 'prezi';
4203        tarteaucitron.fallback(['prezi-canvas'], function (elem) {
4204            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
4205            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
4206            return tarteaucitron.engage(id);
4207        });
4208    }
4209};
4210
4211// pubdirecte
4212tarteaucitron.services.pubdirecte = {
4213    "key": "pubdirecte",
4214    "type": "ads",
4215    "name": "Pubdirecte",
4216    "uri": "https://pubdirecte.com/contact.php",
4217    "needConsent": true,
4218    "cookies": [],
4219    "js": function () {
4220        "use strict";
4221        var uniqIds = [],
4222            i,
4223            uri;
4224
4225        tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
4226            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4227            uniqIds.push(uniqId);
4228            return '<div id="' + uniqId + '" pid="' + tarteaucitron.getElemAttr(x, 'pid') + '" ref="' + tarteaucitron.getElemAttr(x, 'ref') + '"></div>';
4229        });
4230
4231        for (i = 0; i < uniqIds.length; i += 1) {
4232            uri = '//www.pubdirecte.com/script/banniere.php?';
4233            uri += 'id=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'pid') + '&';
4234            uri += 'ref=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'ref');
4235
4236            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4237        }
4238    },
4239    "fallback": function () {
4240        "use strict";
4241        var id = 'pubdirecte';
4242        tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
4243    }
4244};
4245
4246// purechat
4247tarteaucitron.services.purechat = {
4248    "key": "purechat",
4249    "type": "support",
4250    "name": "PureChat",
4251    "uri": "https://www.purechat.com/privacy",
4252    "needConsent": true,
4253    "cookies": [],
4254    "js": function () {
4255        "use strict";
4256        if (tarteaucitron.user.purechatId === undefined) {
4257            return;
4258        }
4259
4260        tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
4261            try {
4262                window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
4263            } catch (e) { }
4264        });
4265    }
4266};
4267
4268// Intercom
4269tarteaucitron.services.intercomChat = {
4270    "key": "intercomChat",
4271    "type": "support",
4272    "name": "Intercom",
4273    "uri": "https://www.intercom.com/",
4274    "needConsent": true,
4275    "cookies": [
4276        "intercom-id-" + tarteaucitron.user.intercomKey,
4277        "intercom-session-" + tarteaucitron.user.intercomKey,
4278    ],
4279    "readmoreLink": "https://www.intercom.com/legal/privacy",
4280    "js": function () {
4281        window.intercomSettings = {
4282            app_id: tarteaucitron.user.intercomKey,
4283        };
4284
4285        var w = window;
4286        var ic = w.Intercom;
4287        if (typeof ic === "function") {
4288            ic("reattach_activator");
4289            ic("update", w.intercomSettings);
4290        } else {
4291            var i = function () {
4292                i.c(arguments);
4293            };
4294            i.q = [];
4295            i.c = function (args) {
4296                i.q.push(args);
4297            };
4298            w.Intercom = i;
4299            tarteaucitron.addScript(
4300                "https://widget.intercom.io/widget/" + tarteaucitron.user.intercomKey,
4301                "",
4302                function () {
4303                    // Execute callback if function `intercomChatEnable`
4304                    // is defined
4305                    if (typeof intercomChatEnable === 'function') {
4306                        intercomChatEnable()
4307                    }
4308                }
4309            );
4310        }
4311    },
4312    "fallback": function () {
4313        "use strict";
4314        var id = "intercomChat";
4315        tarteaucitron.fallback(
4316            ["intercom-chat"],
4317            function () {
4318                // Execute callback if function `intercomChatDisable`
4319                // is defined
4320                if (typeof intercomChatDisable === 'function') {
4321                    intercomChatDisable()
4322                }
4323                return tarteaucitron.engage(id)
4324            }
4325        );
4326    },
4327};
4328
4329// rumbletalk
4330tarteaucitron.services.rumbletalk = {
4331    "key": "rumbletalk",
4332    "type": "social",
4333    "name": "RumbleTalk",
4334    "needConsent": true,
4335    "cookies": ['AWSALB'],
4336    "js": function () {
4337        "use strict";
4338        if (tarteaucitron.user.rumbletalkid === undefined) {
4339            return;
4340        }
4341
4342        tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
4343
4344        tarteaucitron.fallback(['rumbletalk'], function (x) {
4345            var width = tarteaucitron.getElemWidth(x),
4346                height = tarteaucitron.getElemHeight(x),
4347                id = tarteaucitron.getElemAttr(x, "data-id");
4348
4349            return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
4350        });
4351    },
4352    "fallback": function () {
4353        "use strict";
4354        var id = 'rumbletalk';
4355        tarteaucitron.fallback(['rumbletalk'], function (elem) {
4356            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
4357            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
4358
4359            return tarteaucitron.engage(id);
4360        });
4361    }
4362};
4363
4364// shareaholic
4365tarteaucitron.services.shareaholic = {
4366    "key": "shareaholic",
4367    "type": "social",
4368    "name": "Shareaholic",
4369    "uri": "https://shareaholic.com/privacy/choices",
4370    "needConsent": true,
4371    "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
4372    "js": function () {
4373        "use strict";
4374        if (tarteaucitron.user.shareaholicSiteId === undefined) {
4375            return;
4376        }
4377
4378        tarteaucitron.fallback(['shareaholic-canvas'], '');
4379        tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
4380            try {
4381                Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
4382            } catch (e) { }
4383        });
4384    },
4385    "fallback": function () {
4386        "use strict";
4387        var id = 'shareaholic';
4388        tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
4389    }
4390};
4391
4392// shareasale
4393tarteaucitron.services.shareasale = {
4394    "key": "shareasale",
4395    "type": "ads",
4396    "name": "ShareASale",
4397    "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
4398    "needConsent": true,
4399    "cookies": [],
4400    "js": function () {
4401        "use strict";
4402        var uniqIds = [],
4403            i,
4404            uri;
4405
4406        tarteaucitron.fallback(['shareasale-canvas'], function (x) {
4407            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4408            uniqIds.push(uniqId);
4409            return '<div id="' + uniqId + '" amount="' + tarteaucitron.getElemAttr(x, 'amount') + '" tracking="' + tarteaucitron.getElemAttr(x, 'tracking') + '" transtype="' + tarteaucitron.getElemAttr(x, 'transtype') + '" persale="' + tarteaucitron.getElemAttr(x, 'persale') + '" perlead="' + tarteaucitron.getElemAttr(x, 'perlead') + '" perhit="' + tarteaucitron.getElemAttr(x, 'perhit') + '" merchantID="' + tarteaucitron.getElemAttr(x, 'merchantID') + '"></div>';
4410        });
4411
4412        for (i = 0; i < uniqIds.length; i += 1) {
4413            uri = 'https://shareasale.com/sale.cfm?';
4414            uri += 'amount=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'amount') + '&';
4415            uri += 'tracking=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'tracking') + '&';
4416            uri += 'transtype=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'transtype') + '&';
4417            uri += 'persale=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'persale') + '&';
4418            uri += 'perlead=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'perlead') + '&';
4419            uri += 'perhit=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'perhit') + '&';
4420            uri += 'merchantID=' + tarteaucitron.getElemAttr(document.getElementById(uniqIds[i]), 'merchantID');
4421
4422            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
4423        }
4424    },
4425    "fallback": function () {
4426        "use strict";
4427        var id = 'shareasale';
4428        tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
4429    }
4430};
4431
4432// sharethis
4433tarteaucitron.services.sharethis = {
4434    "key": "sharethis",
4435    "type": "social",
4436    "name": "ShareThis",
4437    "uri": "https://www.sharethis.com/legal/privacy/",
4438    "needConsent": true,
4439    "cookies": ['__unam'],
4440    "js": function () {
4441        "use strict";
4442        if (tarteaucitron.user.sharethisPublisher === undefined) {
4443            return;
4444        }
4445        var switchTo5x = true,
4446            uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
4447
4448        tarteaucitron.fallback(['tacSharethis'], '');
4449        tarteaucitron.addScript(uri, '', function () {
4450            stLight.options({ publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false });
4451        });
4452
4453        if (tarteaucitron.isAjax === true) {
4454            if (typeof stButtons !== "undefined") {
4455                stButtons.locateElements();
4456            }
4457        }
4458    },
4459    "fallback": function () {
4460        "use strict";
4461        var id = 'sharethis';
4462        tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
4463    }
4464};
4465
4466// slideshare
4467tarteaucitron.services.slideshare = {
4468    "key": "slideshare",
4469    "type": "video",
4470    "name": "SlideShare",
4471    "uri": "https://www.linkedin.com/legal/privacy-policy",
4472    "needConsent": true,
4473    "cookies": [],
4474    "js": function () {
4475        "use strict";
4476        tarteaucitron.fallback(['slideshare-canvas'], function (x) {
4477            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Slideshare iframe',
4478                id = tarteaucitron.getElemAttr(x, "data-id"),
4479                width = tarteaucitron.getElemAttr(x, "width"),
4480                height = tarteaucitron.getElemAttr(x, "height"),
4481                url = '//www.slideshare.net/slideshow/embed_code/key/' + id;
4482
4483            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
4484
4485            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4486        });
4487    },
4488    "fallback": function () {
4489        "use strict";
4490        var id = 'slideshare';
4491        tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
4492            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
4493            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
4494            return tarteaucitron.engage(id);
4495        });
4496    }
4497};
4498
4499// soundcloud
4500tarteaucitron.services.soundcloud = {
4501    key: 'soundcloud',
4502    type: 'video',
4503    name: 'SoundCloud',
4504    needConsent: true,
4505    uri: "https://soundcloud.com/pages/privacy",
4506    cookies: ['sc_anonymous_id', 'sclocale'],
4507    js: function () {
4508        "use strict";
4509        tarteaucitron.fallback(['soundcloud_player'], function (x) {
4510            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Soundcloud iframe',
4511                player_height = tarteaucitron.getElemAttr(x, 'data-height'),
4512                frame_height = 'height:' + parseInt(player_height, 10) + 'px;',
4513                playable_id = tarteaucitron.getElemAttr(x, 'data-playable-id'),
4514                playable_type = tarteaucitron.getElemAttr(x, 'data-playable-type'),
4515                playable_url = tarteaucitron.getElemAttr(x, 'data-playable-url'),
4516                color = tarteaucitron.getElemAttr(x, 'data-color'),
4517                autoplay = tarteaucitron.getElemAttr(x, 'data-auto-play'),
4518                hideRelated = tarteaucitron.getElemAttr(x, 'data-hide-related'),
4519                showComments = tarteaucitron.getElemAttr(x, 'data-show-comments'),
4520                showUser = tarteaucitron.getElemAttr(x, 'data-show-user'),
4521                showReposts = tarteaucitron.getElemAttr(x, 'data-show-reposts'),
4522                showTeaser = tarteaucitron.getElemAttr(x, 'data-show-teaser'),
4523                visual = tarteaucitron.getElemAttr(x, 'data-visual'),
4524                artwork = tarteaucitron.getElemAttr(x, 'data-artwork');
4525
4526            var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
4527
4528            if (playable_id === undefined && playable_url === undefined) {
4529                return "";
4530            }
4531
4532            // Allow to embed from API results (playable_type + playable_id)
4533            var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
4534            // Or from raw URL from Soundcloud website
4535            if (playable_url && playable_url.length > 0) qs = '?url=' + escape(playable_url);
4536
4537            if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
4538            if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
4539            if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
4540            if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
4541            if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
4542            if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
4543            if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
4544            if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
4545            if (visual && visual.length > 0) qs += '&visual=' + visual;
4546            if (artwork && artwork.length >
4546 0) qs += '&show_artwork=' + artwork;
4547
4548            return '<iframe title="' + frame_title + '" style="width:100%;' + frame_height + '" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
4549        });
4550    },
4551    fallback: function () {
4552        "use strict";
4553        tarteaucitron.fallback(['soundcloud_player'], function (elem) {
4554            elem.style.height = tarteaucitron.getElemAttr(elem, 'data-height') + 'px';
4555            return tarteaucitron.engage('soundcloud');
4556        });
4557    }
4558};
4559
4560// spotify
4561tarteaucitron.services.spotify = {
4562    "key": "spotify",
4563    "type": "video",
4564    "name": "Spotify",
4565    "uri": "https://www.spotify.com/us/legal/privacy-policy/",
4566    "needConsent": true,
4567    "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
4568    "js": function () {
4569        "use strict";
4570        tarteaucitron.fallback(['spotify_player'], function (x) {
4571            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Spotify iframe',
4572                spotify_id = tarteaucitron.getElemAttr(x, "spotifyID"),
4573                spotify_width = tarteaucitron.getElemAttr(x, "width"),
4574                spotify_height = tarteaucitron.getElemAttr(x, "height"),
4575                styleAttr = "",
4576                spotify_frame;
4577
4578            if (spotify_id === undefined) {
4579                return "";
4580            }
4581            if (spotify_width !== "") {
4582                styleAttr += 'width:' + parseInt(spotify_width, 10) + 'px;';
4583            }
4584            if (spotify_height !== "") {
4585                styleAttr += 'height:' + parseInt(spotify_height, 10) + 'px;';
4586            }
4587            spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" style="' + styleAttr + '" allowfullscreen></iframe>';
4588            return spotify_frame;
4589        });
4590    },
4591    "fallback": function () {
4592        "use strict";
4593        var id = 'spotify';
4594        tarteaucitron.fallback(['spotify_player'], function (elem) {
4595            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
4596            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
4597            return tarteaucitron.engage(id);
4598        });
4599    }
4600};
4601
4602// statcounter
4603tarteaucitron.services.statcounter = {
4604    "key": "statcounter",
4605    "type": "analytic",
4606    "name": "StatCounter",
4607    "uri": "https://fr.statcounter.com/about/legal/#privacy",
4608    "needConsent": true,
4609    "cookies": ['sc_is_visitor_unique'],
4610    "js": function () {
4611        "use strict";
4612        var uniqIds = [],
4613            i,
4614            uri = '//statcounter.com/counter/counter.js';
4615
4616        tarteaucitron.fallback(['statcounter-canvas'], function (x) {
4617            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4618            uniqIds.push(uniqId);
4619            return '<div id="' + uniqId + '"></div>';
4620        });
4621
4622        for (i = 0; i < uniqIds.length; i += 1) {
4623            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
4624        }
4625    },
4626    "fallback": function () {
4627        "use strict";
4628        var id = 'statcounter';
4629        tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
4630    }
4631};
4632
4633// timelinejs
4634tarteaucitron.services.timelinejs = {
4635    "key": "timelinejs",
4636    "type": "api",
4637    "name": "Timeline JS",
4638    "uri": "https://timeline.knightlab.com/#help",
4639    "needConsent": true,
4640    "cookies": [],
4641    "js": function () {
4642        "use strict";
4643        tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
4644            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Twitter iframe',
4645                spreadsheet_id = tarteaucitron.getElemAttr(x, "spreadsheet_id"),
4646                width = tarteaucitron.getElemAttr(x, "width"),
4647                height = tarteaucitron.getElemAttr(x, "height"),
4648                lang = tarteaucitron.getElemAttr(x, "lang_2_letter"),
4649                font = tarteaucitron.getElemAttr(x, "font"),
4650                map = tarteaucitron.getElemAttr(x, "map"),
4651                start_at_end = tarteaucitron.getElemAttr(x, "start_at_end"),
4652                hash_bookmark = tarteaucitron.getElemAttr(x, "hash_bookmark"),
4653                start_at_slide = tarteaucitron.getElemAttr(x, "start_at_slide"),
4654                start_zoom = tarteaucitron.getElemAttr(x, "start_zoom"),
4655                url = '//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source=' + spreadsheet_id + '&font=' + font + '&maptype=' + map + '&lang=' + lang + '&start_at_end=' + start_at_end + '&hash_bookmark=' + hash_bookmark + '&start_at_slide=' + start_at_slide + '&start_zoom_adjust=' + start_zoom + '&height=' + height;
4656
vendor: 5,336 bytes, lines 4657-4810
4657            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
4658
4659            return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency allowfullscreen></iframe>';
4660        });
4661    },
4662    "fallback": function () {
4663        "use strict";
4664        var id = 'timelinejs';
4665        tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
4666            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
4667            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
4668            return tarteaucitron.engage(id);
4669        });
4670    }
4671};
4672
4673// tagcommander
4674tarteaucitron.services.tagcommander = {
4675    "key": "tagcommander",
4676    "type": "api",
4677    "name": "TagCommander",
4678    "uri": "https://www.commandersact.com/en/privacy/",
4679    "needConsent": true,
4680    "cookies": [],
4681    "js": function () {
4682        "use strict";
4683        if (tarteaucitron.user.tagcommanderid === undefined) {
4684            return;
4685        }
4686        tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
4687    }
4688};
4689
4690// typekit
4691tarteaucitron.services.typekit = {
4692    "key": "typekit",
4693    "type": "api",
4694    "name": "Typekit (adobe)",
4695    "uri": "https://www.adobe.com/privacy.html",
4696    "needConsent": true,
4697    "cookies": [],
4698    "js": function () {
4699        "use strict";
4700        if (tarteaucitron.user.typekitId === undefined) {
4701            return;
4702        }
4703        tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
4704            try {
4705                Typekit.load();
4706            } catch (e) { }
4707        });
4708    }
4709};
4710
4711// twenga
4712tarteaucitron.services.twenga = {
4713    "key": "twenga",
4714    "type": "ads",
4715    "name": "Twenga",
4716    "uri": "https://www.twenga.com/privacy.php",
4717    "needConsent": true,
4718    "cookies": [],
4719    "js": function () {
4720        "use strict";
4721
4722        if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
4723            return;
4724        }
4725
4726        tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
4727    }
4728};
4729
4730// twitter
4731tarteaucitron.services.twitter = {
4732    "key": "twitter",
4733    "type": "social",
4734    "name": "X (formerly Twitter)",
4735    "uri": "https://support.twitter.com/articles/20170514",
4736    "needConsent": true,
4737    "cookies": [],
4738    "js": function () {
4739        "use strict";
4740        tarteaucitron.fallback(['tacTwitter'], '');
4741        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
4742    },
4743    "fallback": function () {
4744        "use strict";
4745        var id = 'twitter';
4746        tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
4747    }
4748};
4749
4750// twitter embed
4751tarteaucitron.services.twitterembed = {
4752    "key": "twitterembed",
4753    "type": "social",
4754    "name": "X (formerly Twitter) cards",
4755    "uri": "https://support.twitter.com/articles/20170514",
4756    "needConsent": true,
4757    "cookies": [],
4758    "js": function () {
4759        "use strict";
4760        var uniqIds = [],
4761            i,
4762            e,
4763            html;
4764
4765        tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
4766            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
4767            uniqIds.push(uniqId);
4768            html = '<div id="' + uniqId + '" ';
4769            html += 'tweetid="' + tarteaucitron.getElemAttr(x, 'tweetid') + '" ';
4770            html += 'theme="' + tarteaucitron.getElemAttr(x, 'theme') + '" ';
4771            html += 'cards="' + tarteaucitron.getElemAttr(x, 'cards') + '" ';
4772            html += 'conversation="' + tarteaucitron.getElemAttr(x, 'conversation') + '" ';
4773            html += 'data-width="' + tarteaucitron.getElemAttr(x, 'data-width') + '" ';
4774            html += 'data-align="' + tarteaucitron.getElemAttr(x, 'data-align') + '" ';
4775            html += '></div>';
4776            return html;
4777        });
4778
4779        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
4780            var i;
4781            for (i = 0; i < uniqIds.length; i += 1) {
4782                e = document.getElementById(uniqIds[i]);
4783                twttr.widgets.createTweet(
4784                    tarteaucitron.getElemAttr(e, 'tweetid'),
4785                    e,
4786                    {
4787                        theme: tarteaucitron.getElemAttr(e, 'theme'),
4788                        cards: tarteaucitron.getElemAttr(e, 'cards'),
4789                        conversation: tarteaucitron.getElemAttr(e, 'conversation'),
4790                        lang: tarteaucitron.getLanguage(),
4791                        dnt: true,
4792                        width: tarteaucitron.getElemAttr(e, 'data-width'),
4793                        align: tarteaucitron.getElemAttr(e, 'data-align')
4794                    }
4795                );
4796            }
4797        });
4798    },
4799    "fallback": function () {
4800        "use strict";
4801        var id = 'twitterembed';
4802        tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
4803            elem.style.width = tarteaucitron.getElemAttr(elem, 'data-width') + 'px';
4804            return tarteaucitron.engage(id);
4805        });
4806    }
4807};
4808
4809// twitter timeline
4810tarteaucitron.services.twittertimeline = {
4811    "key": "twittertimeline",
4812    "type": "social",
4813    "name": "X (formerly Twitter) timelines",
4814    "uri": "https://support.twitter.com/articles/20170514",
4815    "needConsent": true,
4816    "cookies": [],
4817    "js": function () {
4818        "use strict";
4819        tarteaucitron.fallback(['tacTwitterTimelines'], '');
4820        tarteaucitron.addScript('https://platform.twitter.com/widgets.js', 'twitter-wjs');
4821    },
4822    "fallback": function () {
4823        "use strict";
4824        var id = 'twittertimeline';
4825        tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
4826    }
4827};
4828
4829// twitter universal website tag
4830tarteaucitron.services.twitteruwt = {
4831    "key": "twitteruwt",
4832    "type": "analytic",
4833    "name": "X (formerly Twitter) Universal Website Tag",
4834    "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
4835    "needConsent": true,
4836    "cookies": [],
4837    "js": function () {
4838        "use strict";
4839
4840        window.twq = function () {
4841            window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
4842        }
4843        window.twq.version = '1.1';
4844        window.twq.queue = [];
4845
4846        tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
4847            window.twq('init', tarteaucitron.user.twitteruwtId);
4848            window.twq('track', 'PageView');
4849        });
4850    }
4851};
4852
4853// user voice
4854tarteaucitron.services.uservoice = {
4855    "key": "uservoice",
4856    "type": "support",
4857    "name": "UserVoice",
4858    "uri": "https://www.uservoice.com/privacy/",
4859    "needConsent": true,
4860    "cookies": [],
4861    "js": function () {
4862        "use strict";
4863        if (tarteaucitron.user.userVoiceApi === undefined) {
4864            return;
4865        }
4866        tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
4867    }
4868};
4869
4870// vimeo
4871tarteaucitron.services.vimeo = {
4872    "key": "vimeo",
4873    "type": "video",
4874    "name": "Vimeo",
4875    "uri": "https://vimeo.com/privacy",
4876    "needConsent": true,
4877    "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
4878    "js": function () {
4879        "use strict";
4880        tarteaucitron.fallback(['vimeo_player'], function (x) {
4881            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe',
4882                video_width = tarteaucitron.getElemAttr(x, "width"),
4883                video_height = tarteaucitron.getElemAttr(x, "height"),
4884                styleAttr = "",
4885
4886                video_id = tarteaucitron.getElemAttr(x, "videoID"),
4887                video_hash = tarteaucitron.getElemAttr(x, "data-hash") || '',
4888                video_allowfullscreen = tarteaucitron.getElemAttr(x, "data-allowfullscreen"),
4889
4890                video_qs = "",
4891                attrs = ["title", "byline", "portrait", "loop", "autoplay", "autopause", "background", "color", "controls", "maxheight", "maxwidth", "muted", "playsinline", "speed", "transparent"],
4892                params = attrs.filter(function (a) {
4893                    return tarteaucitron.getElemAttr(x, a) !== null;
4894                }).map(function (a) {
4895                    return a + "=" + tarteaucitron.getElemAttr(x, a);
4896                }),
4897
4898                video_frame;
4899
4900            if (video_id === undefined) {
4901                return "";
4902            }
4903
4904            // query params
4905            if (video_hash.length > 0) {
4906                params.push("h=" + video_hash);
4907            }
4908            if (params.length > 0) {
4909                video_qs = "?" + params.join("&");
4910            }
4911
4912            // attributes
4913            if (video_width !== undefined) {
4914                styleAttr += 'width:' + parseInt(video_width, 10) + 'px;';
4915            }
4916            if (video_height !== undefined) {
4917                styleAttr += 'height:' + parseInt(video_height, 10) + 'px;';
4918            }
4919
4920            video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" style="' + styleAttr + '" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
4921
4922            return video_frame;
4923        });
4924    },
4925    "fallback": function () {
4926        "use strict";
4927        var id = 'vimeo';
4928        tarteaucitron.fallback(['vimeo_player'], function (elem) {
4929            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
4930            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
4931            return tarteaucitron.engage(id);
4932        });
4933    }
4934};
4935
4936// visualrevenue
4937tarteaucitron.services.visualrevenue = {
vendor: 34,302 bytes, lines 4938-5871
4938    "key": "visualrevenue",
4939    "type": "analytic",
4940    "name": "VisualRevenue",
4941    "uri": "https://www.outbrain.com/legal/privacy-713/",
4942    "needConsent": true,
4943    "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
4944    "js": function () {
4945        "use strict";
4946        if (tarteaucitron.user.visualrevenueId === undefined) {
4947            return;
4948        }
4949        window._vrq = window._vrq || [];
4950        window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
4951        window._vrq.push(['automate', true]);
4952        window._vrq.push(['track', function () { }]);
4953        tarteaucitron.addScript('https://a.visualrevenue.com/vrs.js');
4954    }
4955};
4956
4957// verizon dot tag
4958tarteaucitron.services.verizondottag = {
4959    "key": "verizondottag",
4960    "type": "analytic",
4961    "name": "Verizon Dot Tag",
4962    "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
4963    "needConsent": true,
4964    "cookies": [],
4965    "js": function () {
4966        "use strict";
4967
4968        window.dotq = window.dotq || [];
4969        window.dotq.push({
4970            'projectId': tarteaucitron.user.verizondottagProjectId,
4971            'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
4972        });
4973
4974        tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
4975            //const items = window.dotq;
4976            window.dotq = [];
4977            window.dotq.push = function (item) {
4978                YAHOO.ywa.I13N.fireBeacon([item])
4979            };
4980            YAHOO.ywa.I13N.fireBeacon(items)
4981        });
4982    }
4983};
4984
4985// vshop
4986tarteaucitron.services.vshop = {
4987    "key": "vshop",
4988    "type": "ads",
4989    "name": "vShop",
4990    "uri": "https://vshop.fr/privacy-policy",
4991    "needConsent": true,
4992    "cookies": [],
4993    "js": function () {
4994        "use strict";
4995        tarteaucitron.fallback(['vcashW'], '');
4996        tarteaucitron.addScript('//vshop.fr/js/w.js');
4997    },
4998    "fallback": function () {
4999        "use strict";
5000        var id = 'vshop';
5001        tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
5002    }
5003};
5004
5005// wysistat
5006tarteaucitron.services.wysistat = {
5007    "key": "wysistat",
5008    "type": "analytic",
5009    "name": "Wysistat",
5010    "uri": "https://wysistat.net/contact/",
5011    "needConsent": true,
5012    "cookies": ['Wysistat'],
5013    "js": function () {
5014        "use strict";
5015        if (tarteaucitron.user.wysistat === undefined) {
5016            return;
5017        }
5018        tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
5019            window.stat(tarteaucitron.user.wysistat.cli, tarteaucitron.user.wysistat.frm, tarteaucitron.user.wysistat.prm, tarteaucitron.user.wysistat.ce, tarteaucitron.user.wysistat.page, tarteaucitron.user.wysistat.roi, tarteaucitron.user.wysistat.prof, tarteaucitron.user.wysistat.cpt);
5020        });
5021    }
5022};
5023
5024// xiti
5025tarteaucitron.services.xiti = {
5026    "key": "xiti",
5027    "type": "analytic",
5028    "name": "Xiti",
5029    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5030    "needConsent": true,
5031    "cookies": [],
5032    "js": function () {
5033        "use strict";
5034        if (tarteaucitron.user.xitiId === undefined) {
5035            return;
5036        }
5037        var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
5038            Xt_r,
5039            Xt_h,
5040            Xt_i,
5041            Xt_s,
5042            div = document.createElement('div');
5043        try {
5044            Xt_r = top.document.referrer;
5045        } catch (e) {
5046            Xt_r = document.referrer;
5047        }
5048        Xt_h = new Date();
5049        Xt_i = '<img style="display:none" border="0" alt="" ';
5050        Xt_i += 'src="https://logv3.xiti.com/hit.xiti?' + Xt_param;
5051        Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
5052        if (parseFloat(navigator.appVersion) >= 4) {
5053            Xt_s = screen;
5054            Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
5055        }
5056
5057        div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
5058        document.getElementsByTagName('body')[0].appendChild(div.firstChild);
5059
5060        if (typeof tarteaucitron.user.xitiMore === 'function') {
5061            tarteaucitron.user.xitiMore();
5062        }
5063    }
5064};
5065
5066// AT Internet
5067tarteaucitron.services.atinternet = {
5068    "key": "atinternet",
5069    "type": "analytic",
5070    "name": "AT Internet (privacy by design)",
5071    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5072    "needConsent": true,
5073    "safeanalytic": false,
5074    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
5075    "js": function () {
5076        "use strict";
5077        if (tarteaucitron.user.atLibUrl === undefined) {
5078            return;
5079        }
5080
5081        if (tarteaucitron.user.atinternetAlreadyLoaded !== undefined) {
5082            return;
5083        }
5084
5085        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5086
5087            window.tag = new ATInternet.Tracker.Tag();
5088
5089            if (typeof window.tag.privacy !== 'undefined') {
5090                window.tag.privacy.setVisitorOptin();
5091            }
5092
5093            if (typeof tarteaucitron.user.atMore === 'function') {
5094                tarteaucitron.user.atMore();
5095            }
5096
5097            if (tarteaucitron.user.atinternetSendData !== false) {
5098                window.tag.page.send();
5099            }
5100        });
5101    },
5102    "fallback": function () {
5103        "use strict";
5104        if (tarteaucitron.user.atLibUrl === undefined) {
5105            return;
5106        }
5107
5108        if (tarteaucitron.user.atNoFallback === true) {
5109            return;
5110        }
5111
5112        tarteaucitron.user.atinternetAlreadyLoaded = true;
5113
5114        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5115
5116            window.tag = new ATInternet.Tracker.Tag();
5117
5118            if (typeof window.tag.privacy !== 'undefined') {
5119
5120                var visitorMode = window.tag.privacy.getVisitorMode();
5121                if (visitorMode !== null && visitorMode.name !== undefined && visitorMode.name == "optout") {
5122                    window.tag.privacy.setVisitorOptout();
5123                } else {
5124                    window.tag.privacy.setVisitorMode('cnil', 'exempt');
5125                }
5126            }
5127
5128            if (typeof tarteaucitron.user.atMore === 'function') {
5129                tarteaucitron.user.atMore();
5130            }
5131
5132            if (tarteaucitron.user.atinternetSendData !== false) {
5133                window.tag.page.send();
5134            }
5135        });
5136    }
5137};
5138
5139// AT Internet
5140tarteaucitron.services.atinternethightrack = {
5141    "key": "atinternethightrack",
5142    "type": "analytic",
5143    "name": "AT Internet",
5144    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5145    "needConsent": true,
5146    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
5147    "js": function () {
5148        "use strict";
5149        if (tarteaucitron.user.atLibUrl === undefined) {
5150            return;
5151        }
5152
5153        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
5154
5155            var tag = new ATInternet.Tracker.Tag();
5156
5157            if (typeof tarteaucitron.user.atMore === 'function') {
5158                tarteaucitron.user.atMore();
5159            }
5160        })
5161    }
5162};
5163
5164// youtube
5165tarteaucitron.services.youtube = {
5166    "key": "youtube",
5167    "type": "video",
5168    "name": "YouTube",
5169    "uri": "https://policies.google.com/privacy",
5170    "needConsent": true,
5171    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
5172    "js": function () {
5173        "use strict";
5174        tarteaucitron.fallback(['youtube_player'], function (x) {
5175            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe',
5176                video_id = tarteaucitron.getElemAttr(x, "videoID"),
5177                srcdoc = tarteaucitron.getElemAttr(x, "srcdoc"),
5178                loading = tarteaucitron.getElemAttr(x, "loading"),
5179                video_width = tarteaucitron.getElemAttr(x, "width"),
5180                video_height = tarteaucitron.getElemAttr(x, "height"),
5181                styleAttr = "",
5182                video_frame,
5183                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
5184                start = tarteaucitron.getElemAttr(x, "start"),
5185                end = tarteaucitron.getElemAttr(x, "end"),
5186                attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "end", "loop", "enablejsapi"],
5187                params = attrs.filter(function (a) {
5188                    return tarteaucitron.getElemAttr(x, a) !== null;
5189                }).map(function (a) {
5190                    return a + "=" + tarteaucitron.getElemAttr(x, a);
5191                }).join("&");
5192
5193            if(tarteaucitron.getElemAttr(x, "loop") == 1) {
5194                params = params + "&playlist=" + video_id;
5195            }
5196
5197            if (video_id === undefined) {
5198                return "";
5199            }
5200            if (video_width !== "") {
5201                styleAttr += 'width:' + parseInt(video_width, 10) + 'px;';
5202            }
5203            if (video_height !== "") {
5204                styleAttr += 'height:' + parseInt(video_height, 10) + 'px;';
5205            }
5206
5207            if (srcdoc !== undefined && srcdoc !== null && srcdoc !== "") {
5208                srcdoc = 'srcdoc="' + srcdoc + '" ';
5209            } else {
5210                srcdoc = '';
5211            }
5212
5213            if (loading !== undefined && loading !== null && loading !== "") {
5214                loading = 'loading ';
5215            } else {
5216                loading = '';
5217            }
5218
5219            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + ' ' + srcdoc + ' ' + loading + '></iframe>';
5220            return video_frame;
5221        });
5222    },
5223    "fallback": function () {
5224        "use strict";
5225        var id = 'youtube';
5226        tarteaucitron.fallback(['youtube_player'], function (elem) {
5227            elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
5228            elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
5229            return tarteaucitron.engage(id);
5230        });
5231    }
5232};
5233
5234// youtube playlist
5235tarteaucitron.services.youtubeplaylist = {
5236    "key": "youtubeplaylist",
5237    "type": "video",
5238    "name": "YouTube (playlist)",
5239    "uri": "https://policies.google.com/privacy",
5240    "needConsent": true,
5241    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
5242    "js": function () {
5243        "use strict";
5244        tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
5245            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe',
5246                playlist_id = tarteaucitron.getElemAttr(x, "playlistID"),
5247                video_width = tarteaucitron.getElemAttr(x, "width"),
5248                video_height = tarteaucitron.getElemAttr(x, "height"),
5249                styleAttr = "",
5250                video_frame,
5251                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
5252                params = 'theme=' + tarteaucitron.getElemAttr(x, "theme") + '&rel=' + tarteaucitron.getElemAttr(x, "rel") + '&controls=' + tarteaucitron.getElemAttr(x, "controls") + '&showinfo=' + tarteaucitron.getElemAttr(x, "showinfo") + '&autoplay=' + tarteaucitron.getElemAttr(x, "autoplay") + '&mute=' + tarteaucitron.getElemAttr(x, "mute");
5253
5254            if (playlist_id === undefined) {
5255                return "";
5256            }
5257            if (video_width !== "") {
5258                styleAttr += 'width:' + parseInt(video_width, 10) + 'px;';
5259            }
5260            if (video_height !== "") {
5261                styleAttr += 'height:' + parseInt(video_height, 10) + 'px;';
5262            }
5263            video_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
5264            return video_frame;
5265        });
5266    },
5267    "fallback": function () {
5268        "use strict";
5269        var id = 'youtubeplaylist';
5270        tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
5271            elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
5272            elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
5273            return tarteaucitron.engage(id);
5274        });
5275    }
5276};
5277
5278// zopim
5279tarteaucitron.services.zopim = {
5280    "key": "zopim",
5281    "type": "support",
5282    "name": "Zopim",
5283    "uri": "https://www.zopim.com/privacy",
5284    "needConsent": true,
5285    "cookies": ['__zlcid', '__zprivacy'],
5286    "js": function () {
5287        "use strict";
5288        if (tarteaucitron.user.zopimID === undefined) {
5289            return;
5290        }
5291        tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
5292    }
5293};
5294
5295// kameleoon
5296tarteaucitron.services.kameleoon = {
5297    "key": "kameleoon",
5298    "type": "analytic",
5299    "name": "Kameleoon",
5300    "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
5301    "needConsent": true,
5302    "cookies": [],
5303    "js": function () {
5304        "use strict";
5305        if (tarteaucitron.user.kameleoon !== undefined) {
5306            tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
5307        }
5308    }
5309};
5310
5311// linkedin insight
5312tarteaucitron.services.linkedininsighttag = {
5313    "key": "linkedininsighttag",
5314    "type": "ads",
5315    "name": "Linkedin Insight",
5316    "uri": "https://www.linkedin.com/legal/cookie-policy",
5317    "needConsent": true,
5318    "cookies": ['li_fat_id'],
5319    "js": function () {
5320        "use strict";
5321        if (tarteaucitron.user.linkedininsighttag !== undefined) {
5322            window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
5323            window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
5324        }
5325
5326        tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
5327    }
5328};
5329
5330// xiti smartTag
5331tarteaucitron.services.xiti_smarttag = {
5332    "key": "xiti_smarttag",
5333    "type": "analytic",
5334    "name": "Xiti (SmartTag)",
5335    "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
5336    "needConsent": true,
5337    "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "attvtreman", "attvtsession"],
5338    "js": function () {
5339        "use strict";
5340        if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
5341            tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
5342        } else {
5343            var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
5344            if (xitiSmarttagId === undefined) {
5345                return;
5346            }
5347
5348            tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
5349        }
5350    }
5351};
5352
5353// facebook pixel
5354tarteaucitron.services.facebookpixel = {
5355    "key": "facebookpixel",
5356    "type": "ads",
5357    "name": "Facebook Pixel",
5358    "uri": "https://www.facebook.com/policy.php",
5359    "needConsent": true,
5360    "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src', '_fbp'],
5361    "js": function () {
5362        "use strict";
5363        var n;
5364        if (window.fbq) return;
5365        n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
5366        if (!window._fbq) window._fbq = n;
5367        n.push = n;
5368        n.loaded = !0;
5369        n.version = '2.0';
5370        n.queue = [];
5371        tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
5372        fbq('init', tarteaucitron.user.facebookpixelId);
5373        fbq('track', 'PageView');
5374
5375        if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
5376            tarteaucitron.user.facebookpixelMore();
5377        }
5378    }
5379};
5380
5381//Issuu
5382tarteaucitron.services.issuu = {
5383    "key": "issuu",
5384    "type": "other",
5385    "name": "Issuu",
5386    "uri": "https://issuu.com/legal/privacy",
5387    "needConsent": true,
5388    "cookies": ['__qca', 'iutk', 'mc'],
5389    "js": function () {
5390        "use strict";
5391        tarteaucitron.fallback(['issuu_player'], function (x) {
5392            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Issuu iframe',
5393                issuu_id = tarteaucitron.getElemAttr(x, "issuuID"),
5394                issuu_width = tarteaucitron.getElemAttr(x, "width"),
5395                issuu_height = tarteaucitron.getElemAttr(x, "height"),
5396                styleAttr = "",
5397                issuu_frame,
5398                issuu_embed;
5399
5400            if (issuu_id === undefined) {
5401                return "";
5402            }
5403            if (issuu_width !== "") {
5404                styleAttr += 'width:' + parseInt(issuu_width, 10) + 'px;';
5405            }
5406            if (issuu_height !== "") {
5407                styleAttr += 'height:' + parseInt(issuu_height, 10) + 'px;';
5408            }
5409
5410
5411            if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
5412
5413
5414            issuu_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
5415
5416            return issuu_frame;
5417        });
5418    },
5419    "fallback": function () {
5420        "use strict";
5421        var id = 'issuu';
5422        tarteaucitron.fallback(['issuu_player'], function (elem) {
5423            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
5424            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
5425            return tarteaucitron.engage(id);
5426        });
5427    }
5428};
5429
5430// webmecanik
5431tarteaucitron.services.webmecanik = {
5432    "key": "webmecanik",
5433    "type": "analytic",
5434    "name": "Webmecanik",
5435    "uri": "https://webmecanik.com/tos",
5436    "needConsent": true,
5437    "cookies": ['mtc_id', 'mtc_sid'],
5438    "js": function () {
5439        "use strict";
5440        if (tarteaucitron.user.webmecanikurl === undefined) {
5441            return;
5442        }
5443
5444        window.MauticTrackingObject = 'mt';
5445        window.mt = window.mt || function () {
5446            window.mt.q = window.mt.q || [];
5447            window.mt.q.push(arguments);
5448        };
5449
5450        tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
5451            mt('send', 'pageview');
5452        });
5453    }
5454};
5455
5456// google analytics multiple
5457tarteaucitron.services.multiplegtag = {
5458    "key": "multiplegtag",
5459    "type": "analytic",
5460    "name": "Google Analytics (gtag.js)",
5461    "uri": "https://support.google.com/analytics/answer/6004245",
5462    "needConsent": true,
5463    "cookies": (function () {
5464
5465        var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '_gcl_au'];
5466
5467        if (tarteaucitron.user.multiplegtagUa !== undefined) {
5468            tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
5469                cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
5470                cookies.push('_ga_' + ua.replace(/G-/g, ''));
5471            });
5472        }
5473
5474        return cookies;
5475    })(),
5476    "js": function () {
5477        "use strict";
5478        window.dataLayer = window.dataLayer || [];
5479
5480        if (tarteaucitron.user.multiplegtagUa !== undefined) {
5481            tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
5482                tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
5483                    window.gtag = function gtag() { dataLayer.push(arguments); }
5484                    gtag('js', new Date());
5485                    var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
5486                    gtag('config', ua, additional_config_info);
5487                });
5488            });
5489        }
5490    },
5491    "fallback": function () {
5492        if (tarteaucitron.parameters.googleConsentMode === true) {
5493            if (tarteaucitron.parameters.softConsentMode === false) {
5494                this.js();
5495            }
5496        }
5497    }
5498};
5499
5500// Koban
5501tarteaucitron.services.koban = {
5502    "key": "koban",
5503    "type": "analytic",
5504    "name": "Koban",
5505    "uri": "https://koban.cloud/tos",
5506    "needConsent": true,
5507    "cookies": ['kbntrk'],
5508    "js": function () {
5509        "use strict";
5510        if (tarteaucitron.user.kobanurl === undefined) {
5511            return;
5512        }
5513        if (tarteaucitron.user.kobanapi === undefined) {
5514            return;
5515        }
5516        window.KobanObject = 'kb';
5517        window.kb = window.kb || function () {
5518            window.kb.q = window.kb.q || [];
5519            window.kb.q.push(arguments);
5520        };
5521        window.kb.l = new Date();
5522        kb('reg', tarteaucitron.user.kobanapi);
5523        tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function () {
5524        });
5525    }
5526};
5527
5528// DEPRECATED, USE MATOMO CLOUD
5529tarteaucitron.services.matomo = {
5530    "key": "matomo",
5531    "type": "analytic",
5532    "name": "Matomo (privacy by design)",
5533    "uri": "https://matomo.org/faq/general/faq_146/",
5534    "needConsent": false,
5535    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
5536    "js": function () {
5537        "use strict";
5538        if (tarteaucitron.user.matomoId === undefined) {
5539            return;
5540        }
5541
5542        window._paq = window._paq || [];
5543        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5544        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
5545        window._paq.push(["setDoNotTrack", 1]);
5546        window._paq.push(["trackPageView"]);
5547        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
5548        window._paq.push(["enableLinkTracking"]);
5549
5550        if (typeof tarteaucitron.user.matomoMore === 'function') {
5551            tarteaucitron.user.matomoMore();
5552        }
5553
5554        window._paq.push([function () {
5555            var self = this;
5556            function getOriginalVisitorCookieTimeout() {
5557                var now = new Date(),
5558                    nowTs = Math.round(now.getTime() / 1000),
5559                    visitorInfo = self.getVisitorInfo();
5560                var createTs = parseInt(visitorInfo[2]);
5561                var cookieTimeout = 33696000; // 13 mois en secondes
5562                var originalTimeout = createTs + cookieTimeout - nowTs;
5563                return originalTimeout;
5564            }
5565            this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
5566        }]);
5567
5568        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
5569
5570        // waiting for piwik to be ready to check first party cookies
5571        var interval = setInterval(function () {
5572            if (typeof Piwik === 'undefined') return
5573
5574            clearInterval(interval)
5575
5576            // make piwik/matomo cookie accessible by getting tracker
5577            Piwik.getTracker();
5578
5579            // looping throught cookies
5580            var theCookies = document.cookie.split(';');
5581            for (var i = 1; i <= theCookies.length; i++) {
5582                var cookie = theCookies[i - 1].split('=');
5583                var cookieName = cookie[0].trim();
5584
5585                // if cookie starts like a piwik one, register it
5586                if (cookieName.indexOf('_pk_') === 0) {
5587                    tarteaucitron.services.matomo.cookies.push(cookieName);
5588                }
5589            }
5590        }, 100)
5591    }
5592};
5593
5594// DEPRECATED, USE MATOMO CLOUD
5595tarteaucitron.services.matomohightrack = {
5596    "key": "matomohightrack",
5597    "type": "analytic",
5598    "name": "Matomo",
5599    "uri": "https://matomo.org/faq/general/faq_146/",
5600    "needConsent": false,
5601    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
5602    "js": function () {
5603        "use strict";
5604        if (tarteaucitron.user.matomoId === undefined) {
5605            return;
5606        }
5607
5608        window._paq = window._paq || [];
5609        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5610        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
5611        window._paq.push(["trackPageView"]);
5612        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
5613        window._paq.push(["enableLinkTracking"]);
5614        window._paq.push([function () {
5615            var self = this;
5616        }]);
5617
5618        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
5619
5620        // waiting for piwik to be ready to check first party cookies
5621        var interval = setInterval(function () {
5622            if (typeof Piwik === 'undefined') return
5623
5624            clearInterval(interval)
5625            Piwik.getTracker();
5626
5627            var theCookies = document.cookie.split(';');
5628            for (var i = 1; i <= theCookies.length; i++) {
5629                var cookie = theCookies[i - 1].split('=');
5630                var cookieName = cookie[0].trim();
5631
5632                if (cookieName.indexOf('_pk_') === 0) {
5633                    tarteaucitron.services.matomo.cookies.push(cookieName);
5634                }
5635            }
5636        }, 100)
5637    }
5638};
5639
5640// matomocloud
5641tarteaucitron.services.matomocloud = {
5642    "key": "matomocloud",
5643    "type": "analytic",
5644    "name": "Matomo Cloud (privacy by design)",
5645    "uri": "https://matomo.org/faq/general/faq_146/",
5646    "needConsent": true,
5647    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'mtm_consent', 'matomo_ignore', 'matomo_sessid'],
5648    "js": function () {
5649        "use strict";
5650        if (tarteaucitron.user.matomoId === undefined) {
5651            return;
5652        }
5653
5654        window._paq = window._paq || [];
5655
5656        if (tarteaucitron.user.matomoFullTracking === true) {
5657            window._paq.push(["requireCookieConsent"]);
5658            window._paq.push(["setCookieConsentGiven"]);
5659            window._paq.push(["trackAllContentImpressions"]);
5660        } else {
5661            window._paq.push(["requireConsent"]);
5662            window._paq.push(["setConsentGiven"]);
5663        }
5664
5665        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5666        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
5667        window._paq.push(["enableLinkTracking"]);
5668
5669        if (tarteaucitron.user.matomoDontTrackPageView !== true) {
5670            window._paq.push(["trackPageView"]);
5671        }
5672
5673        if (tarteaucitron.user.matomoCustomJSPath === undefined || tarteaucitron.user.matomoCustomJSPath == '') {
5674            tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
5675        } else {
5676            tarteaucitron.addScript(tarteaucitron.user.matomoCustomJSPath, '', '', true, 'defer', true);
5677        }
5678
5679        if (typeof tarteaucitron.user.matomocloudMore === 'function') {
5680            tarteaucitron.user.matomocloudMore();
5681        }
5682
5683        // waiting for Matomo to be ready to check first party cookies
5684        var interval = setInterval(function () {
5685            if (typeof Matomo === 'undefined') return
5686
5687            clearInterval(interval)
5688
5689            // make Matomo cookie accessible by getting tracker
5690            Matomo.getTracker();
5691
5692            // looping through cookies
5693            var theCookies = document.cookie.split(';');
5694            for (var i = 1; i <= theCookies.length; i++) {
5695                var cookie = theCookies[i - 1].split('=');
5696                var cookieName = cookie[0].trim();
5697
5698                // if cookie starts like a matomo one, register it
5699                if (cookieName.indexOf('_pk_') === 0) {
5700                    tarteaucitron.services.matomo.cookies.push(cookieName);
5701                }
5702            }
5703        }, 100);
5704    },
5705    "fallback": function () {
5706        "use strict";
5707        if (tarteaucitron.user.matomoId === undefined) {
5708            return;
5709        }
5710
5711        window._paq = window._paq || [];
5712        if (tarteaucitron.user.matomoFullTracking === true) {
5713            window._paq.push(["requireCookieConsent"]);
5714        } else {
5715            window._paq.push(["requireConsent"]);
5716        }
5717        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
5718        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
5719        window._paq.push(["trackPageView"]);
5720        window._paq.push(["enableLinkTracking"]);
5721
5722        if (typeof tarteaucitron.user.matomocloudMore === 'function') {
5723            tarteaucitron.user.matomocloudMore();
5724        }
5725
5726        if (tarteaucitron.user.matomoCustomJSPath === undefined || tarteaucitron.user.matomoCustomJSPath == '') {
5727            tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
5728        } else {
5729            tarteaucitron.addScript(tarteaucitron.user.matomoCustomJSPath, '', '', true, 'defer', true);
5730        }
5731    }
5732};
5733
5734// matomotm
5735tarteaucitron.services.matomotm = {
5736    "key": "matomotm",
5737    "type": "api",
5738    "name": "Matomo Tag Manager",
5739    "uri": "https://matomo.org/privacy/",
5740    "needConsent": true,
5741    "cookies": [],
5742    "js": function () {
5743        "use strict";
5744        if (tarteaucitron.user.matomotmUrl === undefined) {
5745            return;
5746        }
5747
5748        var _mtm = window._mtm = window._mtm || [];
5749        _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
5750
5751        tarteaucitron.addScript(tarteaucitron.user.matomotmUrl);
5752    }
5753};
5754
5755
5756// Hotjar
5757/*
5758   1. Set the following variable before the initialization :
5759    tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
5760   tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
5761    2. Push the service :
5762    (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
5763    3. HTML
5764   You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
5765 */
5766tarteaucitron.services.hotjar = {
5767    "key": "hotjar",
5768    "type": "analytic",
5769    "name": "Hotjar",
5770    "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
5771    "needConsent": true,
5772    "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjid"],
5773    "js": function () {
5774        "use strict";
5775        if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
5776            return;
5777        }
5778        window.hj = window.hj || function () {
5779            (window.hj.q = window.hj.q || []).push(arguments)
5780        };
5781        window._hjSettings = {
5782            hjid: tarteaucitron.user.hotjarId,
5783            hjsv: tarteaucitron.user.HotjarSv
5784        };
5785        var uri = 'https://static.hotjar.com/c/hotjar-';
5786        var extension = '.js?sv=';
5787        tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
5788    }
5789};
5790
5791// bing ads universal event tracking
5792tarteaucitron.services.bingads = {
5793    'key': 'bingads',
5794    'type': 'ads',
5795    'name': 'Bing Ads Universal Event Tracking',
5796    'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
5797    'needConsent': true,
5798    'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
5799    'js': function () {
5800        'use strict';
5801        //var u = tarteaucitron.user.bingadsTag || 'uetq';
5802        window.uetq = window.uetq || [];
5803
5804        tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
5805            var bingadsCreate = { ti: tarteaucitron.user.bingadsID };
5806
5807            if ('bingadsStoreCookies' in tarteaucitron.user) {
5808                bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
5809            }
5810
5811            bingadsCreate.q = window.uetq;
5812            window.uetq = new UET(bingadsCreate);
5813            window.uetq.push('pageLoad');
5814
5815            if (typeof tarteaucitron.user.bingadsMore === 'function') {
5816                tarteaucitron.user.bingadsMore();
5817            }
5818        });
5819    },
5820    "fallback": function () {
5821        if (tarteaucitron.parameters.bingConsentMode === true) {
5822            if (tarteaucitron.parameters.softConsentMode === false) {
5823                this.js();
5824            }
5825        }
5826    }
5827};
5828
5829//Matterport
5830tarteaucitron.services.matterport = {
5831    "key": "matterport",
5832    "type": "other",
5833    "name": "Matterport",
5834    "uri": "https://matterport.com/es/legal/privacy-policy/",
5835    "needConsent": true,
5836    "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
5837    "js": function () {
5838        "use strict";
5839        tarteaucitron.fallback(['matterport'], function (x) {
5840            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Matterport iframe',
5841                matterport_id = tarteaucitron.getElemAttr(x, "matterportID"),
5842                matterport_width = tarteaucitron.getElemAttr(x, "width"),
5843                matterport_height = tarteaucitron.getElemAttr(x, "height"),
5844                styleAttr = "",
5845                matterport_parameters = tarteaucitron.getElemAttr(x, "parameters"),
5846                matterport_allowfullscreen = tarteaucitron.getElemAttr(x, 'allowfullscreen'),
5847                matterport_frame;
5848
5849            if (matterport_id === undefined) {
5850                return "";
5851            }
5852            if (matterport_width !== "") {
5853                styleAttr += 'width:' + parseInt(matterport_width, 10) + 'px;';
5854            }
5855            if (matterport_height !== undefined) {
5856                styleAttr += 'height:' + parseInt(matterport_height, 10) + 'px;';
5857            }
5858            if (matterport_parameters === undefined) {
5859                return "";
5860            }
5861
5862            matterport_frame = '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '"' + (matterport_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
5863            return matterport_frame;
5864        });
5865    },
5866    "fallback": function () {
5867        "use strict";
5868        var id = 'matterport';
5869        tarteaucitron.fallback(['matterport'], function (elem) {
5870            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
5871            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px'
vendor: 6,417 bytes, lines 5871-6078
5871;
5872            return tarteaucitron.engage(id);
5873        });
5874    }
5875};
5876
5877// Adform
5878tarteaucitron.services.adform = {
5879    "key": "adform",
5880    "type": "ads",
5881    "name": "Adform",
5882    "uri": "https://site.adform.com/privacy-center/overview/",
5883    "needConsent": true,
5884    "cookies": [],
5885    "js": function () {
5886        "use strict";
5887
5888        if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
5889            return;
5890        }
5891
5892        window._adftrack = {
5893            pm: tarteaucitron.user.adformpm,
5894            divider: encodeURIComponent('|'),
5895            pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
5896        };
5897
5898        tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
5899    }
5900};
5901
5902// Active Campaign
5903tarteaucitron.services.activecampaign = {
5904    "key": "activecampaign",
5905    "type": "ads",
5906    "name": "Active Campaign",
5907    "uri": "https://www.activecampaign.com/privacy-policy/",
5908    "needConsent": true,
5909    "cookies": [],
5910    "js": function () {
5911        "use strict";
5912        if (tarteaucitron.user.actid === undefined) {
5913            return;
5914        }
5915
5916        window.trackcmp_email = '';
5917
5918        tarteaucitron.addScript('https://trackcmp.net/visit?actid=' + tarteaucitron.user.actid + '&e=' + encodeURIComponent(trackcmp_email) + '&r=' + encodeURIComponent(document.referrer) + '&u=' + encodeURIComponent(window.location.href));
5919    }
5920};
5921
5922// tawk.to
5923tarteaucitron.services.tawkto = {
5924    "key": "tawkto",
5925    "type": "support",
5926    "name": "Tawk.to chat",
5927    "uri": "https://www.tawk.to/data-protection/",
5928    "needConsent": true,
5929    "cookies": [],
5930    "js": function () {
5931        "use strict";
5932        if (tarteaucitron.user.tawktoId === undefined) {
5933            return;
5934        }
5935
5936        tarteaucitron.user.tawktoWidgetId = tarteaucitron.user.tawktoWidgetId || 'default';
5937
5938        window.Tawk_API = window.Tawk_API || {};
5939        window.Tawk_LoadStart = new Date();
5940
5941        tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/' + tarteaucitron.user.tawktoWidgetId);
5942    }
5943
5944};
5945
5946// getquanty
5947tarteaucitron.services.getquanty = {
5948    "key": "getquanty",
5949    "type": "analytic",
5950    "name": "GetQuanty",
5951    "uri": "https://www.getquanty.com/mentions-legales/",
5952    "needConsent": true,
5953    "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid', 'cluid', 'eqy_company', 'cluid', 'gq_utm', '_jsuid'],
5954    "js": function () {
5955        "use strict";
5956        if (tarteaucitron.user.getguanty === undefined) {
5957            return;
5958        }
5959
5960        if (tarteaucitron.user.getquantyAlreadyLoaded !== undefined) {
5961            return;
5962        }
5963
5964        tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
5965    },
5966    "fallback": function () {
5967        "use strict";
5968        if (tarteaucitron.user.getguanty === undefined) {
5969            return;
5970        }
5971
5972        tarteaucitron.user.getquantyAlreadyLoaded = true;
5973
5974        tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&notrack=1');
5975    }
5976};
5977
5978// emolytics
5979tarteaucitron.services.emolytics = {
5980    "key": "emolytics",
5981    "type": "analytic",
5982    "name": "Emolytics",
5983    "uri": "https://www.emolytics.com/main/privacy-policy.php",
5984    "needConsent": true,
5985    "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
5986    "js": function () {
5987        "use strict";
5988        if (tarteaucitron.user.emolyticsID === undefined) {
5989            return;
5990        }
5991        var scriptEmolytics = document.createElement('script');
5992        scriptEmolytics.text = 'var getsmily_id="' + tarteaucitron.user.emolyticsID + '";';
5993        document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
5994        tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
5995    }
5996};
5997
5998// youtubeapi
5999tarteaucitron.services.youtubeapi = {
6000    "key": "youtubeapi",
6001    "type": "video",
6002    "name": "Youtube (Js API)",
6003    "uri": "https://policies.google.com/privacy",
6004    "needConsent": true,
6005    "cookies": [],
6006    "js": function () {
6007        "use strict";
6008        tarteaucitron.addScript('https://www.youtube.com/player_api');
6009    }
6010};
6011
6012// Facil'ITI
6013tarteaucitron.services.faciliti = {
6014    "key": "faciliti",
6015    "type": "other",
6016    "name": "Facil'ITI",
6017    "uri": "https://www.facil-iti.com/legal-terms/",
6018    "needConsent": true,
6019    "cookies": ['FACIL_ITI'],
6020    "js": function () {
6021        "use strict";
6022        if (tarteaucitron.user.facilitiID === undefined) {
6023            return;
6024        }
6025
6026        (function () {
6027            var fs = document.createElement("script");
6028            fs.setAttribute("src", "https://cdn.facil-iti.app/tags/faciliti-tag.min.js");
6029            fs.dataset.applicationIdentifier = tarteaucitron.user.facilitiID;
6030            document.head.appendChild(fs);
6031        }());
6032    }
6033};
6034
6035// userlike
6036tarteaucitron.services.userlike = {
6037    "key": "userlike",
6038    "type": "support",
6039    "name": "Userlike",
6040    "uri": "https://www.userlike.com/en/terms#privacy-policy",
6041    "needConsent": true,
6042    "cookies": ['uslk_s', 'uslk_e'],
6043    "js": function () {
6044        "use strict";
6045        if (tarteaucitron.user.userlikeKey === undefined) {
6046            return;
6047        }
6048        tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
6049    }
6050};
6051
6052// adobeanalytics
6053tarteaucitron.services.adobeanalytics = {
6054    "key": "adobeanalytics",
6055    "type": "analytic",
6056    "name": "Adobe Analytics",
6057    "uri": "https://www.adobe.com/privacy/policy.html",
6058    "needConsent": true,
6059    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
6060    "js": function () {
6061        "use strict";
6062        if (tarteaucitron.user.adobeanalyticskey === undefined) {
6063            return;
6064        }
6065        tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
6066    }
6067};
6068
6069// woopra customer journey analytics
6070tarteaucitron.services.woopra = {
6071    'key': 'woopra',
6072    'type': 'analytic',
6073    'name': 'Woopra Customer Journey Analytics',
6074    'uri': 'https://www.woopra.com/privacy',
6075    'needConsent': true,
6076    'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
6077    'js': function () {
6078        'use strict';
vendor: 4,084 bytes, lines 6079-6171
6079        //var w = tarteaucitron.user.woopraDomain;
6080        //window[w] = window[w] || [];
6081
6082        (function () {
6083            var t, i, e, n = window, o = document, a = arguments, s = "script", r = ["config", "track", "identify", "visit", "push", "call", "trackForm", "trackClick"], c = function () { var t, i = this; for (i._e = [], t = 0; r.length > t; t++)(function (t) { i[t] = function () { return i._e.push([t].concat(Array.prototype.slice.call(arguments, 0))), i } })(r[t]) }; for (n._w = n._w || {}, t = 0; a.length > t; t++)n._w[a[t]] = n[a[t]] = n[a[t]] || new c; i = o.createElement(s), i.async = 1, i.src = "//static.woopra.com/js/w.js", e = o.getElementsByTagName(s)[0], e.parentNode.insertBefore(i, e)
6084        })("woopra");
6085
6086        woopra.config({
6087            domain: tarteaucitron.user.woopraDomain
6088        });
6089        woopra.track();
6090    }
6091};
6092
6093// ausha
6094tarteaucitron.services.ausha = {
6095    key: "ausha",
6096    type: "video",
6097    name: "Ausha",
6098    uri: "https://www.ausha.co/protection-personal-data/",
6099    needConsent: true,
6100    cookies: [],
6101    js: function () {
6102        "use strict";
6103        tarteaucitron.fallback(['ausha_player'], function (x) {
6104            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Ausha iframe',
6105                player_height = tarteaucitron.getElemAttr(x, 'data-height'),
6106                podcast_id = tarteaucitron.getElemAttr(x, 'data-podcast-id'),
6107                player_id = tarteaucitron.getElemAttr(x, 'data-player-id'),
6108                playlist = tarteaucitron.getElemAttr(x, 'data-playlist'),
6109                useshowid = tarteaucitron.getElemAttr(x, 'data-useshowid'),
6110                color = tarteaucitron.getElemAttr(x, 'data-color');
6111
6112            if (podcast_id === undefined) {
6113                return "";
6114            }
6115
6116            var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
6117
6118            if (useshowid == "1") {
6119                src = 'https://player.ausha.co/index.html?showId=' + podcast_id + '&v=3';
6120            }
6121
6122            if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
6123            if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
6124            if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
6125
6126            return '<iframe title="' + frame_title + '" id="' + player_id + '" loading="lazy" style="width:100%;height:' + parseInt(player_height, 10) + 'px;" src="' + src + '"></iframe>';
6127        });
6128
6129        tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
6130    },
6131    fallback: function () {
6132        "use strict";
6133        tarteaucitron.fallback(['ausha_player'], function (elem) {
6134            elem.style.height = tarteaucitron.getElemAttr(elem, 'data-height') + 'px';
6135            return tarteaucitron.engage('ausha');
6136        });
6137    }
6138};
6139
6140// visiblee
6141tarteaucitron.services.visiblee = {
6142    key: "visiblee",
6143    type: "analytic",
6144    name: "Visiblee",
6145    uri: "https://confidentiality.visiblee.io/fr/confidentialite",
6146    needConsent: true,
6147    cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_" + tarteaucitron.user.visibleedomain, "reload_" + tarteaucitron.user.visibleedomain],
6148    js: function () {
6149        "use strict";
6150
6151        if (tarteaucitron.user.visibleeclientid === undefined) {
6152            return;
6153        }
6154        tarteaucitron.addScript('//www.link-page.info/tracking_' + tarteaucitron.user.visibleeclientid + '.js', 'visiblee');
6155    }
6156};
6157
6158// bandcamp
6159tarteaucitron.services.bandcamp = {
6160    key: "bandcamp",
6161    type: "video",
6162    name: "Bandcamp",
6163    uri: "https://bandcamp.com",
6164    readmoreLink: "https://bandcamp.com/privacy",
6165    needConsent: true,
6166    cookies: ['client_id', 'BACKENDID', '_comm_playlist'],
6167    js: function () {
6168        "use strict";
6169        tarteaucitron.fallback(['bandcamp_player'], function (x) {
6170            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Bandcamp iframe',
6171                album_id = tarteaucitron.getElemAttr(x, "albumID"),
6172                bandcamp_width = tarteaucitron.getElemAttr(x, "width"),
6173                bandcamp_height = tarteaucitron.getElemAttr(x, "height"),
6174                styleAttr = "",
6175                attrs = ["size", "bgcol", "linkcol", "artwork", "minimal", "tracklist", "package", "transparent"],
6176                params = attrs.filter(function (a) {
6177                    return tarteaucitron.getElemAttr(x, a) !== null;
6178                }).map(function (a) {
6179                    if (a && a.length > 0) return a + "=" + tarteaucitron.getElemAttr(x, a);
6180                }).join("/");
6181
6182            if (album_id === null) {
6183                return "";
6184            }
6185
6186            if (bandcamp_width !== "") {
6187                styleAttr += 'width:' + parseInt(bandcamp_width, 10) + 'px;';
6188            }
6189            if (bandcamp_height !== "") {
6190                styleAttr += 'height:' + parseInt(bandcamp_height, 10) + 'px;';
6191            }
6192
6193            var src = 'https://bandcamp.com/EmbeddedPlayer/album=' + album_id + '/' + params;
6194
6195            return '<iframe title="' + frame_title + '" src="' + src + '" style="' + styleAttr + '" allowfullscreen seamless></iframe>';
6196        });
6197    },
6198    fallback: function () {
6199        "use strict";
6200        tarteaucitron.fallback(['bandcamp_player'], function (elem) {
6201            elem.style.width = tarteaucitron.getElemAttr(elem, 'width');
6202            elem.style.height = tarteaucitron.getElemAttr(elem, 'height');
6203            return tarteaucitron.engage('bandcamp');
6204        });
6205    }
6206};
6207
6208// Discord Widget
6209tarteaucitron.services.discord = {
6210    "key": "discord",
6211    "type": "social",
6212    "name": "Discord (Server Widget)",
6213    "needConsent": true,
6214    "cookies": ["__cfruid", "__dcfduid", "_ga", "_gcl_au", "OptanonConsent", "locale", "_gid"],
6215    "uri": "https://discord.com/privacy",
6216    "js": function () {
6217        "use strict";
6218        tarteaucitron.fallback(['discord_widget'], function (x) {
6219            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Discord iframe',
6220                id = tarteaucitron.getElemAttr(x, "guildID"),
6221                width = tarteaucitron.getElemAttr(x, "width"),
6222                height = tarteaucitron.getElemAttr(x, "height")
6223            var widgetURL = "https://discord.com/widget?id=" + id;
6224
6225            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6226
6227            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"" + widgetURL + "\"></iframe>";
6228        });
6229    },
6230    "fallback": function () {
6231        "use strict";
6232        var id = 'discord';
6233        tarteaucitron.fallback(['discord_widget'], function (elem) {
6234            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
6235            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
6236            return tarteaucitron.engage(id);
6237        });
6238    }
6239};
6240
6241// Google Maps
6242tarteaucitron.services.maps_noapi = {
6243    "key": "maps_noapi",
6244    "type": "other",
6245    "name": "Google Maps",
6246    "needConsent": true,
6247    "cookies": ["NID", "OGPC", "1P_JAR", "CONSENT"],
6248    "uri": "https://policies.google.com/privacy",
6249    "js": function () {
6250        "use strict";
6251        tarteaucitron.fallback(['googlemaps_embed'], function (x) {
6252            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google maps iframe',
6253                id = tarteaucitron.getElemAttr(x, "id"),
6254                width = tarteaucitron.getElemAttr(x, "width"),
6255                height = tarteaucitron.getElemAttr(x, "height")
6256            var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
6257
6258            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6259
6260            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "border:0;\" src=\"" + widgetURL + "\" allowfullscreen loading=\"lazy\"></iframe>";
6261        });
6262    },
6263    "fallback": function () {
6264        "use strict";
6265        var id = 'maps_noapi';
6266        tarteaucitron.fallback(['googlemaps_embed'], function (elem) {
6267            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
6268            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
6269            return tarteaucitron.engage(id);
6270        });
6271    }
6272};
6273
6274// hCaptcha
6275tarteaucitron.services.hcaptcha = {
vendor: 12,807 bytes, lines 6276-6582
6276    "key": "hcaptcha",
6277    "type": "other",
6278    "name": "hCaptcha",
6279    "needConsent": true,
6280    "cookies": [],
6281    "uri": "https://www.hcaptcha.com/privacy",
6282    "js": function () {
6283        "use strict";
6284        tarteaucitron.fallback(["h-captcha"], '');
6285        tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
6286    },
6287    "fallback": function () {
6288        "use strict";
6289        var id = "hcaptcha";
6290        tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
6291    }
6292};
6293
6294// France Culture
6295tarteaucitron.services.fculture = {
6296    "key": "fculture",
6297    "type": "video",
6298    "name": "France Culture",
6299    "needConsent": true,
6300    "cookies": ["_gid", "didomi_token", "outbrain_cid_fetch", "xtvrn", "xtant", "YSC", "ABTasty", "xtan", "ABTastySession", "xtidc", "_ga", "VISITOR_INFO1_LIVE", "euconsent-v2", "v1st", "dmvk", "ts", "VISITOR_INFO1_LIVE", "YSC"],
6301    "uri": "https://www.radiofrance.com/politique-d-utilisation-des-cookies-sur-les-sites-internet-du-groupe-radio-france",
6302    "js": function () {
6303        "use strict";
6304        tarteaucitron.fallback(['fculture_embed'], function (x) {
6305            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'France culture iframe',
6306                id = tarteaucitron.getElemAttr(x, 'id'),
6307                width = tarteaucitron.getElemAttr(x, 'width'),
6308                height = tarteaucitron.getElemAttr(x, 'height');
6309
6310            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6311
6312            return "<iframe title=\"" + frame_title + "\" src=\"https://www.franceculture.fr/player/export-reecouter?content=" + id + "\" style=\"" + styleAttr + "\"></iframe>"
6313        });
6314    },
6315    "fallback": function () {
6316        "use strict";
6317        var id = "fculture";
6318        tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
6319    }
6320};
6321
6322// Acast
6323tarteaucitron.services.acast = {
6324    "key": "acast",
6325    "type": "video",
6326    "name": "Acast",
6327    "needConsent": true,
6328    "cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
6329    "uri": "https://www.acast.com/en/privacy",
6330    "js": function () {
6331        "use strict";
6332        tarteaucitron.fallback(['acast_embed'], function (x) {
6333            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Acast iframe',
6334                id = tarteaucitron.getElemAttr(x, 'id1'),
6335                id2 = tarteaucitron.getElemAttr(x, 'id2'),
6336                width = tarteaucitron.getElemAttr(x, 'width'),
6337                height = tarteaucitron.getElemAttr(x, 'height'),
6338                seek = tarteaucitron.getElemAttr(x, 'seek');
6339            var widgetURL = "https://embed.acast.com/" + id + "/" + id2 + "?seek=" + seek;
6340
6341            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6342
6343            return "<iframe title=\"" + frame_title + "\" src=\"" + widgetURL + "\" style=\"border: none; overflow: hidden;" + styleAttr + "\"></iframe>";
6344        });
6345    },
6346    "fallback": function () {
6347        "use strict";
6348        var id = "acast";
6349        tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
6350    }
6351};
6352
6353// Mixcloud
6354tarteaucitron.services.mixcloud = {
6355    "key": "mixcloud",
6356    "type": "video",
6357    "name": "Mixcloud",
6358    "needConsent": true,
6359    "cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
6360    "uri": "https://www.mixcloud.com/privacy/",
6361    "js": function () {
6362        "use strict";
6363        tarteaucitron.fallback(['mixcloud_embed'], function (x) {
6364            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Mixcloud iframe',
6365                id = tarteaucitron.getElemAttr(x, 'id'),
6366                hidecover = tarteaucitron.getElemAttr(x, 'hidecover'),
6367                mini = tarteaucitron.getElemAttr(x, 'mini'),
6368                light = tarteaucitron.getElemAttr(x, 'light'),
6369                width = tarteaucitron.getElemAttr(x, 'width'),
6370                height = tarteaucitron.getElemAttr(x, 'height');
6371
6372            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6373            
6374            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://www.mixcloud.com/widget/iframe/?hide_cover=" + hidecover + "&mini=" + mini + "&light=" + light + "&feed=" + id + "\"></iframe>";
6375        });
6376    },
6377    "fallback": function () {
6378        "use strict";
6379        var id = "mixcloud";
6380        tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
6381    }
6382};
6383
6384// Google Agenda
6385tarteaucitron.services.gagenda = {
6386    "key": "gagenda",
6387    "type": "other",
6388    "name": "Google Agenda",
6389    "needConsent": true,
6390    "cookies": ["CONSENT", "NID"],
6391    "uri": "https://policies.google.com/privacy",
6392    "js": function () {
6393        "use strict";
6394        tarteaucitron.fallback(['gagenda_embed'], function (x) {
6395            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google agenda iframe',
6396                calendar_data = tarteaucitron.getElemAttr(x, 'data'),
6397                width = tarteaucitron.getElemAttr(x, 'width'),
6398                height = tarteaucitron.getElemAttr(x, 'height');
6399
6400            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6401
6402            return "<iframe title=\"" + frame_title + "\" loading=\"lazy\" style=\"" + styleAttr + "border-width:0\" src=\"https://www.google.com/calendar/embed?" + calendar_data + "\"></iframe>";
6403        });
6404    },
6405    "fallback": function () {
6406        "use strict";
6407        var id = "gagenda";
6408        tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
6409    }
6410};
6411
6412// Google Docs
6413tarteaucitron.services.gdocs = {
6414    "key": "gdocs",
6415    "type": "other",
6416    "name": "Google Docs",
6417    "needConsent": true,
6418    "cookies": ["CONSENT", "NID"],
6419    "uri": "https://policies.google.com/privacy",
6420    "js": function () {
6421        "use strict";
6422        tarteaucitron.fallback(['gdocs_embed'], function (x) {
6423            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google docs iframe',
6424                id = tarteaucitron.getElemAttr(x, 'id'),
6425                width = tarteaucitron.getElemAttr(x, 'width'),
6426                height = tarteaucitron.getElemAttr(x, 'height');
6427
6428            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6429
6430            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/document/d/e/" + id + "/pub?embedded=true\"></iframe>";
6431        });
6432    },
6433    "fallback": function () {
6434        "use strict";
6435        var id = "gdocs";
6436        tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
6437    }
6438};
6439
6440// Google Sheets
6441tarteaucitron.services.gsheets = {
6442    "key": "gsheets",
6443    "type": "other",
6444    "name": "Google Sheets",
6445    "needConsent": true,
6446    "cookies": ["CONSENT", "NID"],
6447    "uri": "https://policies.google.com/privacy",
6448    "js": function () {
6449        "use strict";
6450        tarteaucitron.fallback(['gsheets_embed'], function (x) {
6451            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google sheets iframe',
6452                id = tarteaucitron.getElemAttr(x, 'id'),
6453                width = tarteaucitron.getElemAttr(x, 'width'),
6454                height = tarteaucitron.getElemAttr(x, 'height'),
6455                headers = tarteaucitron.getElemAttr(x, 'headers');
6456
6457            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6458
6459            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/spreadsheets/d/e/" + id + "/pubhtml?widget=true&amp;headers=" + headers + "\"></iframe>";
6460        });
6461    },
6462    "fallback": function () {
6463        "use strict";
6464        var id = "gsheets";
6465        tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
6466    }
6467};
6468
6469// Google Slides
6470tarteaucitron.services.gslides = {
6471    "key": "gslides",
6472    "type": "other",
6473    "name": "Google Slides",
6474    "needConsent": true,
6475    "cookies": ["CONSENT", "NID"],
6476    "uri": "https://policies.google.com/privacy",
6477    "js": function () {
6478        "use strict";
6479        tarteaucitron.fallback(['gslides_embed'], function (x) {
6480            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google slides iframe',
6481                id = tarteaucitron.getElemAttr(x, 'id'),
6482                width = tarteaucitron.getElemAttr(x, 'width'),
6483                height = tarteaucitron.getElemAttr(x, 'height'),
6484                autostart = tarteaucitron.getElemAttr(x, 'autostart'),
6485                loop = tarteaucitron.getElemAttr(x, 'loop'),
6486                delay = tarteaucitron.getElemAttr(x, 'delay');
6487
6488            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6489
6490            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/presentation/d/e/" + id + "/embed?start=" + autostart + "&loop=" + loop + "&delayms=" + delay + "\" allowfullscreen mozallowfullscreen webkitallowfullscreen></iframe>";
6491        });
6492    },
6493    "fallback": function () {
6494        "use strict";
6495        var id = "gslides";
6496        tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
6497    }
6498};
6499
6500// Google Forms
6501tarteaucitron.services.gforms = {
6502    "key": "gforms",
6503    "type": "other",
6504    "name": "Google Forms",
6505    "needConsent": true,
6506    "cookies": ["CONSENT", "NID"],
6507    "uri": "https://policies.google.com/privacy",
6508    "js": function () {
6509        "use strict";
6510        tarteaucitron.fallback(['gforms_embed'], function (x) {
6511            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Google forms iframe',
6512                id = tarteaucitron.getElemAttr(x, 'id'),
6513                width = tarteaucitron.getElemAttr(x, 'width'),
6514                height = tarteaucitron.getElemAttr(x, 'height');
6515
6516            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6517
6518            return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"https://docs.google.com/forms/d/e/" + id + "/viewform?embedded=true\"></iframe>";
6519        });
6520    },
6521    "fallback": function () {
6522        "use strict";
6523        var id = "gforms";
6524        tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
6525    }
6526};
6527
6528// Google Optimize
6529tarteaucitron.services.goptimize = {
6530    "key": "goptimize",
6531    "type": "other",
6532    "name": "Google Optimize",
6533    "needConsent": true,
6534    "cookies": ["CONSENT", "NID"],
6535    "uri": "https://policies.google.com/privacy",
6536    "js": function () {
6537        "use strict";
6538
6539        if (tarteaucitron.user.goptimize === undefined) {
6540            return;
6541        }
6542
6543        tarteaucitron.addScript('https://www.googleoptimize.com/optimize.js?id=' + tarteaucitron.user.goptimize);
6544    }
6545};
6546
6547// Marketo munchkin
6548tarteaucitron.services.marketomunchkin = {
6549    "key": "marketomunchkin",
6550    "type": "api",
6551    "name": "Marketo munchkin",
6552    "uri": "https://documents.marketo.com/legal/cookies",
6553    "needConsent": true,
6554    "cookies": ['OptAnon', '_mkto_trk'],
6555    "js": function () {
6556        "use strict";
6557        if (tarteaucitron.user.marketomunchkinkey === undefined) {
6558            return;
6559        }
6560        var didInit = false;
6561        function initMunchkin() {
6562            if (didInit === false) {
6563                didInit = true;
6564                Munchkin.init(tarteaucitron.user.marketomunchkinkey);
6565            }
6566        }
6567        var s = document.createElement('script');
6568        s.type = 'text/javascript';
6569        s.async = true;
6570        s.src = '//munchkin.marketo.net/munchkin.js';
6571        s.onreadystatechange = function () {
6572            if (this.readyState == 'complete' || this.readyState == 'loaded') {
6573                initMunchkin();
6574            }
6575        };
6576        s.onload = initMunchkin;
6577        document.getElementsByTagName('head')[0].appendChild(s);
6578    }
6579};
6580
6581// outbrain
6582tarteaucitron.services.outbrain = {
6583    "key": "outbrain",
6584    "type": "ads",
6585    "name": "Outbrain",
6586    "uri": "https://www.outbrain.com/fr/advertisers/guidelines/",
6587    "needConsent": true,
6588    "cookies": [],
6589    "js": function () {
6590        "use strict";
6591
6592        tarteaucitron.addScript('https://widgets.outbrain.com/outbrain.js');
6593    }
6594};
6595
6596// affilae
6597tarteaucitron.services.affilae = {
6598    "key": "affilae",
6599    "type": "ads",
6600    "name": "Affilae",
6601    "uri": "https://affilae.com/en/privacy-cookie-policy/",
6602    "needConsent": true,
6603    "cookies": [],
6604    "js": function () {
6605        "use strict";
6606
6607        if (tarteaucitron.user.affilae === undefined) {
6608            return;
6609        }
6610
6611        window._ae = { "pid": tarteaucitron.user.affilae };
6612
6613        tarteaucitron.addScript('https://static.affilae.com/ae-v3.5.js');
6614    }
6615};
6616
6617// Canal-U.tv
6618tarteaucitron.services.canalu = {
6619    "key": "canalu",
6620    "type": "video",
6621    "name": "Canal-U.tv",
6622    "uri": "https://www.canal-u.tv/conditions-generales-utilisations",
6623    "needConsent": true,
6624    "cookies": [],
6625    "js": function () {
6626        "use strict";
6627        tarteaucitron.fallback(['canalu_player'], function (x) {
6628            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Canal-u.tv iframe',
6629                video_title = tarteaucitron.getElemAttr(x, "videoTitle"),
6630                frame_url = 'https://www.canal-u.tv/embed/' + video_title;
6631
6632            return '<div style="position:relative;padding-bottom:56.25%;padding-top:10px;height:0;overflow:hidden;">' +
6633                '<iframe title="' + frame_title + '" src="' + frame_url + '?width=100%&amp;height=100%" ' +
6634                'style="position:absolute;top:0;left:0;width:100%;height: 100%;" ' +
6635                'allowfullscreen>' +
6636                '</iframe>' +
6637                '</div>';
6638        });
6639    },
6640    "fallback": function () {
6641        "use strict";
6642        tarteaucitron.fallback(['canalu_player'], function (elem) {
6643            return tarteaucitron.engage('canalu');
6644        });
6645    }
6646};
6647
6648// WebTV Normandie Université
6649tarteaucitron.services.webtvnu = {
6650    "key": "webtvnu",
6651    "type": "video",
6652    "name": "WebTV Normandie Université",
6653    "uri": "https://docs.google.com/document/d/1tpVclj4QBoAq1meSZgYrpNECwp7dbmb_IhICY3sTl9c/edit",
6654    "needConsent": true,
6655    "cookies": [],
6656    "js": function () {
6657        "use strict";
6658        tarteaucitron.fallback(['webtvnu_player'], function (x) {
6659            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'WebTV Normandie Université iframe',
6660                frame_url = 'https://webtv.normandie-univ.fr/permalink/' + tarteaucitron.getElemAttr(x, "videoID") + '/iframe/',
6661                width = tarteaucitron.getElemAttr(x, "width"),
6662                height = tarteaucitron.getElemAttr(x, "height");
6663
6664            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6665
6666            return '<iframe title="' + frame_title + '" style="' + styleAttr + '" src="' + frame_url + '" allowfullscreen allow="autoplay"></iframe>';
6667        });
6668    },
6669    "fallback": function () {
6670        "use strict";
6671        tarteaucitron.fallback(['webtvnu_player'], function (elem) {
6672            return tarteaucitron.engage('webtvnu');
6673        });
6674    }
6675};
6676
6677// studizz
6678tarteaucitron.services.studizz = {
6679    "key": "studizz",
6680    "type": "support",
6681    "name": "Studizz Chatbot",
6682    "uri": "https://group.studizz.fr/",
6683    "needConsent": true,
6684    "cookies": [],
6685    "js": function () {
6686        "use strict";
6687
6688        if (tarteaucitron.user.studizzToken === undefined) {
6689            return;
6690        }
6691
6692        tarteaucitron.addScript('https://webchat.studizz.fr/webchat.js?token=' 
6692+ tarteaucitron.user.studizzToken);
6693    }
6694};
6695
6696// meteofrance
6697tarteaucitron.services.meteofrance = {
6698    "key": "meteofrance",
6699    "type": "api",
6700    "name": "Météo France",
6701    "uri": "https://meteofrance.com/politique-de-confidentialite",
6702    "needConsent": true,
6703    "cookies": [],
6704    "js": function () {
6705        "use strict";
6706        tarteaucitron.fallback(['tac_meteofrance'], function (x) {
6707            var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Météo France iframe',
6708                width = tarteaucitron.getElemAttr(x, "width"),
6709                height = tarteaucitron.getElemAttr(x, "height"),
6710                insee = tarteaucitron.getElemAttr(x, "data-insee"),
6711                allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen");
6712
6713            var styleAttr = (width !== "" ? "width:" + parseInt(width, 10) + "px;" : "") + (height !== "" ? "height:" + parseInt(height, 10) + "px;" : "");
6714
6715            return '<iframe title="' + frame_title + '" src="https://meteofrance.com/widget/prevision/' + insee + '" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
6716        });
6717    },
6718    "fallback": function () {
6719        "use strict";
6720        var id = 'meteofrance';
6721        tarteaucitron.fallback(['tac_meteofrance'], function (elem) {
6722            elem.style.width = tarteaucitron.getElemAttr(elem, 'width') + 'px';
6723            elem.style.height = tarteaucitron.getElemAttr(elem, 'height') + 'px';
6724            return tarteaucitron.engage(id);
6725        });
6726    }
6727};
6728
6729// m6meteo
6730tarteaucitron.services.m6meteo = {
6731    "key": "m6meteo",
6732    "type": "api",
6733    "name": "M6 Météo",
6734    "uri": "https://gdpr.m6tech.net/charte-confidentialite-m6-web-meteocity.pdf",
6735    "needConsent": true,
6736    "cookies": [],
6737    "js": function () {
6738        "use strict";
6739        tarteaucitron.fallback(['tac_m6meteo'], function (x) {
6740            var id = tarteaucitron.getElemAttr(x, "data-id");
6741
6742            tarteaucitron.addScript('https://www.meteocity.com/widget/js/'+id);
6743
6744            return '<div id="cont_'+id+'"><div id="spa_'+id+'"><a id="a_'+id+'" href="#"></a> ©<a target="_top" href="https://www.meteocity.com">M6météo</a></div></div>';
6745        });
6746    },
6747    "fallback": function () {
6748        "use strict";
6749        var id = 'm6meteo';
6750        tarteaucitron.fallback(['tac_m6meteo'], function (elem) {
6751
6752            return tarteaucitron.engage(id);
6753        });
6754    }
6755};
6756
6757// mtcaptcha
6758tarteaucitron.services.mtcaptcha = {
6759    "key": "mtcaptcha",
6760    "type": "api",
6761    "name": "MTcaptcha",
6762    "uri": "https://www.mtcaptcha.com",
6763    "readmoreLink": "https://www.mtcaptcha.com/faq-cookie-declaration",
6764    "needConsent": true,
6765    "cookies": ['mtv1Pulse','mtv1ConfSum','mtv1Pong'],
6766
6767    "js": function () {
6768
6769        window.mtcaptchaConfig = {
6770            "sitekey": tarteaucitron.user.mtcaptchaSitekey
6771        };
6772
6773        tarteaucitron.addScript('https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js');
6774        tarteaucitron.addScript('https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js');
6775    }
6776};
6777
6778// Internet Archive / https://archive.org
6779tarteaucitron.services.archive = {
6780    "key": "archive",
6781    "type": "video",
6782    "name": "Internet Archive",
6783    "uri": "https://archive.org/about/terms.php",
6784    "needConsent": true,
6785    "cookies": ['abtest-identifier','donation-identifier'],
6786    "js": function () {
6787        "use strict";
6788        tarteaucitron.fallback(['archive_player'], function (x) {
6789            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Internet Archive iframe',
6790                video_id = tarteaucitron.getElemAttr(x, "data-videoID"),
6791                video_width = tarteaucitron.getElemAttr(x, "data-width"),
6792                video_height = tarteaucitron.getElemAttr(x, "data-height"),
6793                styleAttr = "",
6794                video_frame;
6795
6796            if (video_id === undefined) {
6797                return "";
6798            }
6799            if (video_width !== "") {
6800                styleAttr += 'width:' + parseInt(video_width, 10) + 'px;';
6801            }
6802            if (video_height !== "") {
6803                styleAttr += 'height:' + parseInt(video_height, 10) + 'px;';
6804            }
6805            video_frame = '<iframe title="' + frame_title + '" src="https://archive.org/embed/' + video_id + '" style="' + styleAttr + '" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
6806            return video_frame;
6807        });
6808    },
6809    "fallback": function () {
6810        "use strict";
6811        var id = 'archive';
6812        tarteaucitron.fallback(['archive_player'], function (elem) {
6813            elem.style.width = tarteaucitron.getElemAttr(elem, 'data-width') + 'px';
6814            elem.style.height = tarteaucitron.getElemAttr(elem, 'data-height') + 'px';
6815            return tarteaucitron.engage(id);
6816        });
6817    }
6818};
6819
6820// Gallica
6821tarteaucitron.services.gallica = {
vendor: 5,652 bytes, lines 6822-6979
6822    "key": "gallica",
6823    "type": "other",
6824    "name": "Gallica",
6825    "uri": "https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica",
6826    "needConsent": true,
6827    "cookies": ['dtCookie', 'dtLatC', 'dtPC', 'dtSa', 'rxVisitor', 'rxvt', 'xtvrn'],
6828    "js": function () {
6829        "use strict";
6830        tarteaucitron.fallback(['gallica_player'], function (x) {
6831            var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Gallica iframe',
6832                src = tarteaucitron.getElemAttr(x, "data-src"),
6833                style = tarteaucitron.getElemAttr(x, "data-style"),
6834                frame;
6835            if (src === undefined) {
6836                return "";
6837            }
6838            frame = '<iframe title="' + frame_title + '" style="'+ style + '" src="' + src + '"></iframe>';
6839            return frame;
6840        });
6841    },
6842    "fallback": function () {
6843        "use strict";
6844        var id = 'gallica';
6845        tarteaucitron.fallback(['gallica_player'], function (elem) {
6846            elem.style = tarteaucitron.getElemAttr(elem,'data-style');
6847            return tarteaucitron.engage(id);
6848        });
6849    }
6850};
6851
6852// crisp
6853tarteaucitron.services.crisp = {
6854    "key": "crisp",
6855    "type": "other",
6856    "name": "Crisp Chat",
6857    "uri": "https://help.crisp.chat/en/article/crisp-chatbox-cookie-ip-policy-1147xor/",
6858    "needConsent": false,
6859    "cookies": ['crisp-client', '__cfduid'],
6860    "js": function () {
6861        "use strict";
6862
6863        if (tarteaucitron.user.crispID === undefined) {
6864            return;
6865        }
6866
6867        window.$crisp = [];
6868        window.CRISP_WEBSITE_ID = tarteaucitron.user.crispID;
6869
6870        tarteaucitron.addScript('https://client.crisp.chat/l.js');
6871    }
6872};
6873
6874// microanalytics
6875tarteaucitron.services.microanalytics = {
6876    "key": "microanalytics",
6877    "type": "analytic",
6878    "name": "MicroAnalytic",
6879    "uri": "https://microanalytics.io/page/privacy",
6880    "needConsent": false,
6881    "cookies": [],
6882    "js": function () {
6883        "use strict";
6884
6885        if (tarteaucitron.user.microanalyticsID === undefined) {
6886            return;
6887        }
6888
6889        tarteaucitron.addScript('https://microanalytics.io/js/script.js', tarteaucitron.user.microanalyticsID, undefined, true, "data-host", "https://microanalytics.io");
6890    }
6891};
6892
6893// facebookcustomerchat
6894tarteaucitron.services.facebookcustomerchat = {
6895    "key": "facebookcustomerchat",
6896    "type": "social",
6897    "name": "Facebook (Customer Chat)",
6898    "uri": "https://www.facebook.com/policies/cookies/",
6899    "needConsent": true,
6900    "cookies": ['act','c_user','datr','dpr','presence','sb','wd','xs','/tr'],
6901    "js": function () {
6902        "use strict";
6903
6904        if (tarteaucitron.user.facebookChatID === undefined) {
6905            return;
6906        }
6907
6908        tarteaucitron.fallback(['fb-customerchat'], '');
6909        window.fbAsyncInit=function(){FB.init({appId:tarteaucitron.user.facebookChatID,autoLogAppEvents:!0,xfbml:!0,version:"v3.0"})};
6910        tarteaucitron.addScript('https://connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk/xfbml.customerchat.js', 'facebook-jssdk');
6911    },
6912    "fallback": function () {
6913        "use strict";
6914        var id = 'facebookcustomerchat';
6915        tarteaucitron.fallback(['fb-customerchat'], tarteaucitron.engage(id));
6916    }
6917};
6918
6919// weborama
6920tarteaucitron.services.weborama = {
6921    "key": "weborama",
6922    "type": "analytic",
6923    "name": "Weborama",
6924    "uri": "https://weborama.com/faq-cnil-avril-2021/",
6925    "needConsent": true,
6926    "cookies": [],
6927    "js": function () {
6928        "use strict";
6929        tarteaucitron.addScript('https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js');
6930    }
6931};
6932
6933// tiktok
6934tarteaucitron.services.tiktok = {
6935    "key": "tiktok",
6936    "type": "analytic",
6937    "name": "Tiktok",
6938    "uri": "https://www.tiktok.com/legal/tiktok-website-cookies-policy",
6939    "needConsent": true,
6940    "cookies": [],
6941    "js": function () {
6942        "use strict";
6943
6944        if (tarteaucitron.user.tiktokId === undefined) {
6945            return;
6946        }
6947
6948        !function (w, d, t) {
6949            w.TiktokAnalyticsObject = t;
6950            var ttq = w[t] = w[t] || [];
6951            ttq.methods = ["page", "track", "identify", "instances", "debug", "on", "off", "once", "ready", "alias", "group", "enableCookie", "disableCookie"], ttq.setAndDefer = function (t, e) {
6952                t[e] = function () {
6953                    t.push([e].concat(Array.prototype.slice.call(arguments, 0)))
6954                }
6955            };
6956            for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(ttq, ttq.methods[i]);
6957            ttq.instance = function (t) {
6958                for (var e = ttq._i[t] || [], n = 0; n < ttq.methods.length; n++) ttq.setAndDefer(e, ttq.methods[n]);
6959                return e
6960            }, ttq.load = function (e, n) {
6961                var i = "https://analytics.tiktok.com/i18n/pixel/events.js";
6962                ttq._i = ttq._i || {}, ttq._i[e] = [], ttq._i[e]._u = i, ttq._t = ttq._t || {}, ttq._t[e] = +new Date, ttq._o = ttq._o || {}, ttq._o[e] = n || {};
6963                var o = document.createElement("script");
6964                o.type = "text/javascript", o.async = !0, o.src = i + "?sdkid=" + e + "&lib=" + t;
6965                var a = document.getElementsByTagName("script")[0];
6966                a.parentNode.insertBefore(o, a)
6967            };
6968            ttq.load(tarteaucitron.user.tiktokId);
6969            ttq.page();
6970        }(window, document, 'ttq');
6971
6972        if (typeof tarteaucitron.user.tiktokMore === "function") {
6973            tarteaucitron.user.tiktokMore();
6974        }
6975    }
6976};
6977
6978// Klaviyo
6979tarteaucitron.services.klaviyo = {
6980    "key": "klaviyo",
6981    "type": "ads",
6982    "name": "Klaviyo",
6983    "uri": "https://help.klaviyo.com/hc/en-us/articles/360034666712-About-Cookies-in-Klaviyo",
6984    "needConsent": true,
6985    "cookies": ['__kla_id'],
6986    "js": function () {
6987        "use strict";
6988        if (tarteaucitron.user.klaviyoCompanyId === undefined) {
6989            return;
6990        }
6991        tarteaucitron.addScript('//static.klaviyo.com/onsite/js/klaviyo.js?company_id=' + tarteaucitron.user.klaviyoCompanyId);
6992    }
6993};

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.