PageSourceSearch

https://www.atom-mag.com/assets/lib/tarteaucitron/tarteaucitron.services.js

js atom-mag.com collected 2026-10-02 23:33:30 UTC 260,498 bytes, 6,883 lines download raw bytes

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

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.