PageSourceSearch

https://rsf.org/libraries/tarteaucitron/tarteaucitron.services.js?v=1.30.0

js rsf.org collected 2026-09-24 06:54:03 UTC 271,618 bytes, 7,201 lines download raw bytes

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

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.