From 76055068138a7a801ded23f94b3291e383fb074a Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Fri, 17 May 2024 16:42:30 +0200 Subject: [PATCH] Remove inline style Fix #1236 Content-Security-Policy --- css/tarteaucitron.css | 2 +- css/tarteaucitron.min.css | 2 +- tarteaucitron.js | 4 ++-- tarteaucitron.min.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/css/tarteaucitron.css b/css/tarteaucitron.css index f0edf251..e3c957ac 100644 --- a/css/tarteaucitron.css +++ b/css/tarteaucitron.css @@ -876,7 +876,7 @@ span#tarteaucitronDisclaimerAlert { #tarteaucitronIcon { background: transparent; position: fixed; - display: none; + /*display: none;*/ width: auto; z-index: 2147483646; } diff --git a/css/tarteaucitron.min.css b/css/tarteaucitron.min.css index e62daa1d..6ebd0ecd 100644 --- a/css/tarteaucitron.min.css +++ b/css/tarteaucitron.min.css @@ -1 +1 @@ -.tarteaucitronBorder,div#tarteaucitronMainLineOffset{border:0!important}#tarteaucitron [aria-pressed=true]{font-weight:700}.tac_visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}div#tarteaucitronAlertBig:focus{outline:0}.tarteaucitron-modal-open{overflow:hidden;height:100%}#tarteaucitronContentWrapper{display:unset}div#tarteaucitronServices{border-radius:8px}button#tarteaucitronClosePanel{border-radius:5px 5px 0 0;right:15px!important}button.tarteaucitron-toggle-group{background:0 0!important;padding:10px 0 0;cursor:pointer;display:block}#tarteaucitronRoot .tarteaucitronIsDenied .tarteaucitronAllow .tarteaucitronCheck::before{content:"\2610"!important}#tarteaucitronRoot #tarteaucitronServices_mandatory .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronIsAllowed .tarteaucitronAllow .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronIsDenied .tarteaucitronDeny .tarteaucitronCross::before{content:"\2611"!important}#tarteaucitronRoot .tarteaucitronAllow .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronDeny .tarteaucitronCross::before,#tarteaucitronRoot .tarteaucitronIsAllowed .tarteaucitronDeny .tarteaucitronCross::before{content:"\2610"!important}#tarteaucitronRoot .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronCross::before{font-size:20px}#tarteaucitronRoot #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronAsk{display:none!important}#tarteaucitronRoot button#tarteaucitronCloseAlert,#tarteaucitronRoot button#tarteaucitronPrivacyUrl,#tarteaucitronRoot button.tarteaucitronCTAButton{border:0;border-radius:4px}#tarteaucitronRoot .tarteaucitronStatusInfo,#tarteaucitronRoot button.tarteaucitronCTAButton .tarteaucitronCheck,#tarteaucitronRoot button.tarteaucitronCTAButton .tarteaucitronCross{display:none}#tarteaucitronRoot #tarteaucitron [aria-pressed=true]{font-weight:initial;text-shadow:0 0 1px}#tarteaucitronRoot #tarteaucitronServices li#tarteaucitronNoServicesTitle{padding:20px}#tarteaucitronRoot .tarteaucitronName{padding-top:5px}span.tarteaucitronReadmoreSeparator{display:inline!important}.tarteaucitronName .tacCurrentStatus,.tarteaucitronName .tarteaucitronReadmoreSeparator{color:#333!important;font-size:12px!important;text-transform:capitalize}span.tarteaucitronH3{font-weight:700!important}#tarteaucitron #tarteaucitronServices_mandatory .tarteaucitronH3{font-weight:500!important;font-size:14px;margin-top:7px}.tarteaucitronLine{border-left:0 solid transparent!important}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList{text-align:left;background:#ffffff17;margin:15px 0 10px;padding:15px;display:block;border-radius:4px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList b{font-weight:700;padding-bottom:8px;display:block;font-size:16px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList ul{margin-left:22px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList ul li{list-style:circle;font-size:14px}html body #tarteaucitronRoot button#tarteaucitronSaveButton{font-size:18px!important;padding:7px 20px;border-radius:5px;cursor:pointer}html body #tarteaucitronRoot div#tarteaucitronSave{background:#333;text-align:right;padding:20px}@media screen and (max-width:767px){html body #tarteaucitronRoot #tarteaucitron div#tarteaucitronMainLineOffset .tarteaucitronName,html body #tarteaucitronRoot #tarteaucitron ul#tarteaucitronServices_mandatory .tarteaucitronDeny{display:none!important}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronAsk,html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button,html body #tarteaucitronRoot #tarteaucitron .tarteaucitronName{width:100%!important;display:block!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;max-width:100%!important;margin-bottom:8px!important}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder ul .tarteaucitronLine{padding:16px!important}#tarteaucitronServices_mandatory li.tarteaucitronLine .tarteaucitronName span{width:100%!important;display:inline-block}li.tarteaucitronLine .tarteaucitronName span{width:80%!important;display:inline-block}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group{width:10%!important;position:absolute;top:20px;right:20px;font-size:0;padding:10px 0}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group:before{content:"\0025BE";font-weight:700;font-size:14px}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder .tarteaucitronIsExpanded button.tarteaucitron-toggle-group:before{content:"\0025B4"}}@media screen and (min-width:768px){html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group:after{content:"\0025BE";font-weight:700;font-size:14px;margin-left:15px}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder .tarteaucitronIsExpanded button.tarteaucitron-toggle-group:after{content:"\0025B4";margin-left:15px}}#tarteaucitronRoot a,#tarteaucitronRoot abbr,#tarteaucitronRoot acronym,#tarteaucitronRoot address,#tarteaucitronRoot applet,#tarteaucitronRoot article,#tarteaucitronRoot aside,#tarteaucitronRoot audio,#tarteaucitronRoot b,#tarteaucitronRoot big,#tarteaucitronRoot blockquote,#tarteaucitronRoot canvas,#tarteaucitronRoot caption,#tarteaucitronRoot center,#tarteaucitronRoot cite,#tarteaucitronRoot code,#tarteaucitronRoot dd,#tarteaucitronRoot del,#tarteaucitronRoot details,#tarteaucitronRoot dfn,#tarteaucitronRoot div,#tarteaucitronRoot dl,#tarteaucitronRoot dt,#tarteaucitronRoot em,#tarteaucitronRoot embed,#tarteaucitronRoot fieldset,#tarteaucitronRoot figcaption,#tarteaucitronRoot figure,#tarteaucitronRoot footer,#tarteaucitronRoot form,#tarteaucitronRoot h1,#tarteaucitronRoot h2,#tarteaucitronRoot h3,#tarteaucitronRoot h4,#tarteaucitronRoot h5,#tarteaucitronRoot h6,#tarteaucitronRoot header,#tarteaucitronRoot hgroup,#tarteaucitronRoot i,#tarteaucitronRoot iframe,#tarteaucitronRoot img,#tarteaucitronRoot ins,#tarteaucitronRoot kbd,#tarteaucitronRoot label,#tarteaucitronRoot legend,#tarteaucitronRoot li,#tarteaucitronRoot mark,#tarteaucitronRoot menu,#tarteaucitronRoot nav,#tarteaucitronRoot object,#tarteaucitronRoot ol,#tarteaucitronRoot output,#tarteaucitronRoot p,#tarteaucitronRoot pre,#tarteaucitronRoot q,#tarteaucitronRoot ruby,#tarteaucitronRoot s,#tarteaucitronRoot samp,#tarteaucitronRoot section,#tarteaucitronRoot small,#tarteaucitronRoot span,#tarteaucitronRoot strike,#tarteaucitronRoot strong,#tarteaucitronRoot sub,#tarteaucitronRoot summary,#tarteaucitronRoot sup,#tarteaucitronRoot table,#tarteaucitronRoot tbody,#tarteaucitronRoot td,#tarteaucitronRoot tfoot,#tarteaucitronRoot th,#tarteaucitronRoot thead,#tarteaucitronRoot time,#tarteaucitronRoot tr,#tarteaucitronRoot tt,#tarteaucitronRoot u,#tarteaucitronRoot ul,#tarteaucitronRoot var,#tarteaucitronRoot video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline;text-align:initial;text-shadow:initial}#tarteaucitronRoot *{transition:border 300ms,background 300ms,opacity 200ms,box-shadow 400ms}#tarteaucitronRoot article,#tarteaucitronRoot aside,#tarteaucitronRoot details,#tarteaucitronRoot figcaption,#tarteaucitronRoot figure,#tarteaucitronRoot footer,#tarteaucitronRoot header,#tarteaucitronRoot hgroup,#tarteaucitronRoot menu,#tarteaucitronRoot nav,#tarteaucitronRoot section{display:block}#tarteaucitronRoot ol,#tarteaucitronRoot ul{list-style:none}#tarteaucitronRoot blockquote,#tarteaucitronRoot q{quotes:none}#tarteaucitronRoot blockquote:after,#tarteaucitronRoot blockquote:before,#tarteaucitronRoot q:after,#tarteaucitronRoot q:before{content:none}#tarteaucitronRoot table{border-collapse:collapse;border-spacing:0}#tarteaucitronRoot a:focus-visible,#tarteaucitronRoot button:focus-visible{outline:3px dashed #3d86d8}div#tarteaucitronMainLineOffset{margin-top:0!important}div#tarteaucitronServices{margin-top:21px!important;box-shadow:0 40px 60px #545454}@media screen and (max-width:479px){#tarteaucitron .tarteaucitronLine .tarteaucitronName{width:90%!important}#tarteaucitron .tarteaucitronLine .tarteaucitronAsk{float:left!important;margin:10px 15px 5px}}@media screen and (max-width:767px){#tarteaucitron,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer{background:#fff;border:0!important;bottom:0!important;height:100%!important;left:0!important;margin:0!important;max-height:100%!important;max-width:100%!important;top:0!important;width:100%!important}#tarteaucitron .tarteaucitronBorder,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList{border:0!important}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle{text-align:left!important}.tarteaucitronName .tarteaucitronH2{max-width:80%}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk{text-align:center!important}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk button{margin-bottom:5px}}@media screen and (min-width:768px) and (max-width:991px){#tarteaucitron{border:0!important;left:0!important;margin:0 5%!important;max-height:80%!important;width:90%!important}}#tarteaucitronRoot div#tarteaucitron{left:0;right:0;margin:auto}#tarteaucitronRoot button#tarteaucitronBack{background:#eee}#tarteaucitron .clear{clear:both}#tarteaucitron a{color:#424242;font-size:11px;font-weight:700;text-decoration:none}#tarteaucitronRoot button{background:0 0;border:0}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName button,#tarteaucitronAlertBig a,#tarteaucitronAlertBig strong,#tarteaucitronAlertSmall a,#tarteaucitronAlertSmall strong{color:#fff}#tarteaucitron strong{font-size:22px;font-weight:500}#tarteaucitron ul{padding:0}#tarteaucitron .tarteaucitronH1,#tarteaucitron .tarteaucitronH2,#tarteaucitron .tarteaucitronH3,#tarteaucitron .tarteaucitronH4,#tarteaucitron .tarteaucitronH5,#tarteaucitron .tarteaucitronH6{display:block}.cookie-list{list-style:none;padding:0;margin:0}#tarteaucitronRoot{left:0;position:absolute;right:0;top:0;width:100%}#tarteaucitronRoot *{box-sizing:initial;color:#333;font-size:14px;line-height:normal;vertical-align:initial}#tarteaucitronRoot .tarteaucitronH1{font-size:1.5em;text-align:center;color:#fff;margin:15px 0 28px}#tarteaucitronRoot .tarteaucitronH2{display:inline-block;margin:12px 0 0 15px;color:#fff}#tarteaucitronCookiesNumberBis.tarteaucitronH2{margin-left:0}#tarteaucitronBack{background:#fff;display:none;height:100%;left:0;opacity:.7;position:fixed;top:0;width:100%;z-index:2147483646}#tarteaucitron{display:none;max-height:80%;left:50%;margin:0 auto 0-430px;padding:0;position:fixed;top:6%;width:860px;z-index:2147483647}#tarteaucitron .tarteaucitronBorder{background:#fff;border:2px solid #333;border-top:0;height:auto;overflow:auto}#tarteaucitron #tarteaucitronClosePanel,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie{background:#333;color:#fff;cursor:pointer;font-size:12px;font-weight:700;text-decoration:none;padding:4px 0;position:absolute;right:0;text-align:center;width:70px}#tarteaucitron #tarteaucitronDisclaimer{color:#555;font-size:12px;margin:15px auto 0;width:80%}#tarteaucitron #tarteaucitronServices .tarteaucitronHidden,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden{background:rgba(51,51,51,.07)}#tarteaucitron #tarteaucitronServices .tarteaucitronHidden{display:none;position:relative}#tarteaucitronCookiesList .tarteaucitronH3.tarteaucitronTitle{width:100%;box-sizing:border-box}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle{color:#fff;display:inline-block;font-size:14px;font-weight:700;text-align:left;width:auto;background:#333;padding:5px 10px;margin:0}#tarteaucitron #tarteaucitronInfo,#tarteaucitron #tarteaucitronServices .tarteaucitronDetails,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,#tarteaucitronRoot .asCatToggleBtn{color:#fff;display:inline-block;font-size:14px;font-weight:700;margin:20px 0 0;padding:5px 20px;text-align:left;width:auto;background:#333}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a{color:#fff;font-weight:500}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a:hover,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a:hover{text-decoration:none!important}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a{font-size:22px}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a{font-size:14px}#tarteaucitron #tarteaucitronInfo,#tarteaucitron #tarteaucitronServices .tarteaucitronDetails:not(.tarteaucitronDetailsInline){color:#fff;display:none;font-size:12px;font-weight:500;margin-top:0;max-width:270px;padding:20px;position:absolute;z-index:2147483647}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle+[id^=tarteaucitronDetails]{width:calc(100% - 40px);font-weight:500;margin:0;padding:5px 20px 20px;background:rgba(51,51,51,.2);color:#333}#tarteaucitron #tarteaucitronInfo a{color:#fff;text-decoration:underline}#tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain:hover{background:rgba(51,51,51,.2)}#tarteaucitron #tarteaucitronServices .tarteaucitronLine{background:rgba(51,51,51,.1);border-left:5px solid transparent;margin:0;overflow:hidden;padding:15px 5px}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed{border-color:#1b870b}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied{border-color:#9c1a1a}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine{background:#333;border:3px solid #333;border-left:9px solid #333;border-top:5px solid #333;margin-bottom:0;margin-top:21px;position:relative}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine:hover{background:#333}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName{margin-left:15px;margin-top:2px}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronAsk{margin-top:0!important}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName{display:inline-block;float:left;margin-left:15px;text-align:left;width:50%}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName a:hover{text-decoration:underline}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk{display:inline-block;float:right;margin:7px 15px 0;text-align:right}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,.tac_activate .tarteaucitronAllow{background:#555;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;padding:6px 10px;text-align:center;text-decoration:none;width:auto;border:0}#tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected{background-color:#1b870b;opacity:1}#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected{background-color:#9c1a1a;opacity:1}#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow{background-color:#1b870b}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny{background-color:#9c1a1a}#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow{opacity:.4}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies{color:#333;font-size:12px}#tarteaucitron .tarteaucitronH3{font-size:18px}#tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName{width:auto!important;margin-left:0!important;font-size:14px}.tarteaucitronAlertBigBottom span#tarteaucitronDisclaimerAlert,.tarteaucitronAlertBigTop span#tarteaucitronDisclaimerAlert{display:inline-flex}span#tarteaucitronDisclaimerAlert{padding:0 10px;display:inline-block;overflow-y:auto;max-height:50vh;line-height:normal}@media only screen and (max-width:768px){#tarteaucitronRoot span#tarteaucitronDisclaimerAlert{font-size:16px}}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,#tarteaucitron .tarteaucitronBorder,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden{border-color:#333!important}.tarteaucitronAlertBigTop{top:0}.tarteaucitronAlertBigBottom{bottom:0}#tarteaucitronRoot #tarteaucitronAlertBig{background:#333;color:#fff;display:none;font-size:15px!important;left:0;position:fixed;box-sizing:content-box;z-index:2147483645;text-align:center;padding:10px 0;margin:auto;width:100%}#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong,#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,.tac_activate .tac_float strong{color:#fff}#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong{font-weight:700}#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog{cursor:pointer}#tarteaucitronAlertBig #tarteaucitronCloseAlert{background:#008300;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;text-decoration:none}#tarteaucitronAlertBig #tarteaucitronPersonalize,#tarteaucitronAlertBig #tarteaucitronPersonalize2,.tarteaucitronCTAButton{background:#008300;color:#fff;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;padding:5px 10px;text-decoration:none;margin-left:7px}#tarteaucitron #tarteaucitronPrivacyUrl,#tarteaucitron #tarteaucitronPrivacyUrlDialog,#tarteaucitronRoot .tarteaucitronAllow,#tarteaucitronRoot .tarteaucitronDeny{background:#008300;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;text-decoration:none}#tarteaucitronRoot .tarteaucitronAllow,#tarteaucitronRoot .tarteaucitronDeny{color:#fff;padding:5px 10px;margin-left:7px}#tarteaucitronRoot .tarteaucitronDeny{background:#9c1a1a}#tarteaucitron #tarteaucitronPrivacyUrl,#tarteaucitron #tarteaucitronPrivacyUrlDialog,#tarteaucitronAlertBig #tarteaucitronCloseAlert{background:#fff;color:#333;margin-bottom:3px;margin-left:7px;padding:5px 10px}#tarteaucitronPercentage{background:#0a0!important;box-shadow:0 0 2px #fff,0 1px 2px #555;height:5px;left:0;position:fixed;width:0;z-index:2147483644}.tarteaucitronIconBottomRight{bottom:0;right:0}.tarteaucitronIconBottomLeft{bottom:0;left:0}.tarteaucitronIconTopRight{top:0;right:0}.tarteaucitronIconTopLeft{top:0;left:0}.tarteaucitronIconTopLeft #tarteaucitronManager{border-radius:2px 7px 7px 2px}.tarteaucitronIconTopRight #tarteaucitronManager{border-radius:7px 2px 2px 7px}.tarteaucitronIconBottomLeft #tarteaucitronManager,.tarteaucitronIconBottomRight #tarteaucitronManager{border-radius:7px 7px 2px 2px}#tarteaucitronAlertSmall,#tarteaucitronIcon{display:none;position:fixed;width:auto;z-index:2147483646}#tarteaucitronIcon{background:0 0}#tarteaucitronIcon #tarteaucitronManager{color:transparent;cursor:pointer;display:inline-block;font-size:11px!important;padding:8px 10px;border:0}#tarteaucitronIcon #tarteaucitronManager img{width:50px;height:50px}#tarteaucitronRoot .tarteaucitronCross::before{content:"\2717";display:inline-block;color:#fff}#tarteaucitronRoot .tarteaucitronCheck::before{content:"\2713";display:inline-block;color:#fff}#tarteaucitronRoot .tarteaucitronPlus::before{content:"\271b";display:inline-block;color:#fff}.tarteaucitronAlertSmallBottom,.tarteaucitronAlertSmallTop{bottom:0}#tarteaucitronAlertSmall{background:#333;padding:0;right:0;text-align:center}#tarteaucitronAlertSmall #tarteaucitronManager{color:#fff;cursor:pointer;display:inline-block;font-size:11px!important;padding:8px 10px}#tarteaucitronAlertSmall #tarteaucitronManager:hover{background:rgba(255,255,255,.05)}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot{background-color:gray;border-radius:5px;display:block;height:8px;margin-bottom:1px;margin-top:5px;overflow:hidden;width:100%}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen,#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed,#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow{display:block;float:left;height:100%;width:0%}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen{background-color:#1b870b}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow{background-color:#fbda26}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed{background-color:#9c1a1a}#tarteaucitronAlertSmall #tarteaucitronCookiesNumber{background:rgba(255,255,255,.2);color:#fff;cursor:pointer;display:inline-block;font-size:30px;padding:0 10px;vertical-align:top}#tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover{background:rgba(255,255,255,.3)}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer{display:none;max-height:70%;max-width:500px;position:fixed;right:0;width:100%}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList{background:#fff;border:2px solid #333;color:#333;font-size:11px;height:auto;overflow:auto;text-align:left}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList strong{color:#333}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle{background:#333;margin-top:21px;padding:13px 0 9px 13px;text-align:left}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle strong{color:#fff;font-size:16px}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain{background:rgba(51,51,51,.1);padding:7px 5px 10px;word-wrap:break-word}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain a{color:#333;text-decoration:none}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft{display:inline-block;width:50%}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft a strong{color:#8b0000}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListRight{color:#333;display:inline-block;font-size:11px;margin-left:10%;vertical-align:top;width:30%}.tac_activate{background:#333;color:#fff;display:table;font-size:12px;height:100%;line-height:initial;margin:auto;text-align:center;width:100%}.tac_float{display:table-cell;text-align:center;vertical-align:middle}.tac_activate .tac_float .tarteaucitronAllow{background-color:#1b870b;display:inline-block}ins.adsbygoogle,ins.ferank-publicite{text-decoration:none}div.amazon_product{height:240px;width:120px}.tarteaucitronIsAllowed .tarteaucitronDeny,.tarteaucitronIsDenied .tarteaucitronAllow{opacity:.4!important}.tarteaucitronIsAllowed .tarteaucitronAllow,.tarteaucitronIsDenied .tarteaucitronDeny{opacity:1!important}.tarteaucitronLine .tarteaucitronAllow,.tarteaucitronLine .tarteaucitronDeny{opacity:.4}#tarteaucitronServices_mandatory button.tarteaucitronAllow{opacity:1}div#tarteaucitronInfo{display:block!important;position:relative!important;text-align:center!important;max-width:80%!important;padding:15px 0!important;margin:-10px auto 40px!important;font-size:1em!important;border-bottom:1px solid;border-top:1px solid;border-color:#555}a.tarteaucitronSelfLink{position:absolute;left:0;right:0;bottom:-30px;text-align:center!important;display:block;height:30px}.tarteaucitronMainLine .tarteaucitronH2{font-size:1.2em!important;margin-top:4px!important}span.tarteaucitronTitle.tarteaucitronH3{margin-top:12px!important}#tarteaucitronCloseCross{position:absolute;color:#fff;font-size:1.8rem;cursor:pointer;top:10px;right:26px}#tarteaucitronCloseCross span {color: inherit;}.tarteaucitron-spacer-20{height:20px;display:block}.tarteaucitron-display-block{display:block}.tarteaucitron-display-none{display:none} \ No newline at end of file +.tarteaucitronBorder,div#tarteaucitronMainLineOffset{border:0!important}#tarteaucitron [aria-pressed=true]{font-weight:700}.tac_visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}div#tarteaucitronAlertBig:focus{outline:0}.tarteaucitron-modal-open{overflow:hidden;height:100%}#tarteaucitronContentWrapper{display:unset}div#tarteaucitronServices{border-radius:8px}button#tarteaucitronClosePanel{border-radius:5px 5px 0 0;right:15px!important}button.tarteaucitron-toggle-group{background:0 0!important;padding:10px 0 0;cursor:pointer;display:block}#tarteaucitronRoot .tarteaucitronIsDenied .tarteaucitronAllow .tarteaucitronCheck::before{content:"\2610"!important}#tarteaucitronRoot #tarteaucitronServices_mandatory .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronIsAllowed .tarteaucitronAllow .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronIsDenied .tarteaucitronDeny .tarteaucitronCross::before{content:"\2611"!important}#tarteaucitronRoot .tarteaucitronAllow .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronDeny .tarteaucitronCross::before,#tarteaucitronRoot .tarteaucitronIsAllowed .tarteaucitronDeny .tarteaucitronCross::before{content:"\2610"!important}#tarteaucitronRoot .tarteaucitronCheck::before,#tarteaucitronRoot .tarteaucitronCross::before{font-size:20px}#tarteaucitronRoot #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronAsk{display:none!important}#tarteaucitronRoot button#tarteaucitronCloseAlert,#tarteaucitronRoot button#tarteaucitronPrivacyUrl,#tarteaucitronRoot button.tarteaucitronCTAButton{border:0;border-radius:4px}#tarteaucitronRoot .tarteaucitronStatusInfo,#tarteaucitronRoot button.tarteaucitronCTAButton .tarteaucitronCheck,#tarteaucitronRoot button.tarteaucitronCTAButton .tarteaucitronCross{display:none}#tarteaucitronRoot #tarteaucitron [aria-pressed=true]{font-weight:initial;text-shadow:0 0 1px}#tarteaucitronRoot #tarteaucitronServices li#tarteaucitronNoServicesTitle{padding:20px}#tarteaucitronRoot .tarteaucitronName{padding-top:5px}span.tarteaucitronReadmoreSeparator{display:inline!important}.tarteaucitronName .tacCurrentStatus,.tarteaucitronName .tarteaucitronReadmoreSeparator{color:#333!important;font-size:12px!important;text-transform:capitalize}span.tarteaucitronH3{font-weight:700!important}#tarteaucitron #tarteaucitronServices_mandatory .tarteaucitronH3{font-weight:500!important;font-size:14px;margin-top:7px}.tarteaucitronLine{border-left:0 solid transparent!important}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList{text-align:left;background:#ffffff17;margin:15px 0 10px;padding:15px;display:block;border-radius:4px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList b{font-weight:700;padding-bottom:8px;display:block;font-size:16px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList ul{margin-left:22px}html body #tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList ul li{list-style:circle;font-size:14px}html body #tarteaucitronRoot button#tarteaucitronSaveButton{font-size:18px!important;padding:7px 20px;border-radius:5px;cursor:pointer}html body #tarteaucitronRoot div#tarteaucitronSave{background:#333;text-align:right;padding:20px}@media screen and (max-width:767px){html body #tarteaucitronRoot #tarteaucitron div#tarteaucitronMainLineOffset .tarteaucitronName,html body #tarteaucitronRoot #tarteaucitron ul#tarteaucitronServices_mandatory .tarteaucitronDeny{display:none!important}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronAsk,html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button,html body #tarteaucitronRoot #tarteaucitron .tarteaucitronName{width:100%!important;display:block!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;max-width:100%!important;margin-bottom:8px!important}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder ul .tarteaucitronLine{padding:16px!important}#tarteaucitronServices_mandatory li.tarteaucitronLine .tarteaucitronName span{width:100%!important;display:inline-block}li.tarteaucitronLine .tarteaucitronName span{width:80%!important;display:inline-block}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group{width:10%!important;position:absolute;top:20px;right:20px;font-size:0;padding:10px 0}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group:before{content:"\0025BE";font-weight:700;font-size:14px}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder .tarteaucitronIsExpanded button.tarteaucitron-toggle-group:before{content:"\0025B4"}}@media screen and (min-width:768px){html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder button.tarteaucitron-toggle-group:after{content:"\0025BE";font-weight:700;font-size:14px;margin-left:15px}html body #tarteaucitronRoot #tarteaucitron .tarteaucitronBorder .tarteaucitronIsExpanded button.tarteaucitron-toggle-group:after{content:"\0025B4";margin-left:15px}}#tarteaucitronRoot a,#tarteaucitronRoot abbr,#tarteaucitronRoot acronym,#tarteaucitronRoot address,#tarteaucitronRoot applet,#tarteaucitronRoot article,#tarteaucitronRoot aside,#tarteaucitronRoot audio,#tarteaucitronRoot b,#tarteaucitronRoot big,#tarteaucitronRoot blockquote,#tarteaucitronRoot canvas,#tarteaucitronRoot caption,#tarteaucitronRoot center,#tarteaucitronRoot cite,#tarteaucitronRoot code,#tarteaucitronRoot dd,#tarteaucitronRoot del,#tarteaucitronRoot details,#tarteaucitronRoot dfn,#tarteaucitronRoot div,#tarteaucitronRoot dl,#tarteaucitronRoot dt,#tarteaucitronRoot em,#tarteaucitronRoot embed,#tarteaucitronRoot fieldset,#tarteaucitronRoot figcaption,#tarteaucitronRoot figure,#tarteaucitronRoot footer,#tarteaucitronRoot form,#tarteaucitronRoot h1,#tarteaucitronRoot h2,#tarteaucitronRoot h3,#tarteaucitronRoot h4,#tarteaucitronRoot h5,#tarteaucitronRoot h6,#tarteaucitronRoot header,#tarteaucitronRoot hgroup,#tarteaucitronRoot i,#tarteaucitronRoot iframe,#tarteaucitronRoot img,#tarteaucitronRoot ins,#tarteaucitronRoot kbd,#tarteaucitronRoot label,#tarteaucitronRoot legend,#tarteaucitronRoot li,#tarteaucitronRoot mark,#tarteaucitronRoot menu,#tarteaucitronRoot nav,#tarteaucitronRoot object,#tarteaucitronRoot ol,#tarteaucitronRoot output,#tarteaucitronRoot p,#tarteaucitronRoot pre,#tarteaucitronRoot q,#tarteaucitronRoot ruby,#tarteaucitronRoot s,#tarteaucitronRoot samp,#tarteaucitronRoot section,#tarteaucitronRoot small,#tarteaucitronRoot span,#tarteaucitronRoot strike,#tarteaucitronRoot strong,#tarteaucitronRoot sub,#tarteaucitronRoot summary,#tarteaucitronRoot sup,#tarteaucitronRoot table,#tarteaucitronRoot tbody,#tarteaucitronRoot td,#tarteaucitronRoot tfoot,#tarteaucitronRoot th,#tarteaucitronRoot thead,#tarteaucitronRoot time,#tarteaucitronRoot tr,#tarteaucitronRoot tt,#tarteaucitronRoot u,#tarteaucitronRoot ul,#tarteaucitronRoot var,#tarteaucitronRoot video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline;text-align:initial;text-shadow:initial}#tarteaucitronRoot *{transition:border 300ms,background 300ms,opacity 200ms,box-shadow 400ms}#tarteaucitronRoot article,#tarteaucitronRoot aside,#tarteaucitronRoot details,#tarteaucitronRoot figcaption,#tarteaucitronRoot figure,#tarteaucitronRoot footer,#tarteaucitronRoot header,#tarteaucitronRoot hgroup,#tarteaucitronRoot menu,#tarteaucitronRoot nav,#tarteaucitronRoot section{display:block}#tarteaucitronRoot ol,#tarteaucitronRoot ul{list-style:none}#tarteaucitronRoot blockquote,#tarteaucitronRoot q{quotes:none}#tarteaucitronRoot blockquote:after,#tarteaucitronRoot blockquote:before,#tarteaucitronRoot q:after,#tarteaucitronRoot q:before{content:none}#tarteaucitronRoot table{border-collapse:collapse;border-spacing:0}#tarteaucitronRoot a:focus-visible,#tarteaucitronRoot button:focus-visible{outline:3px dashed #3d86d8}div#tarteaucitronMainLineOffset{margin-top:0!important}div#tarteaucitronServices{margin-top:21px!important;box-shadow:0 40px 60px #545454}@media screen and (max-width:479px){#tarteaucitron .tarteaucitronLine .tarteaucitronName{width:90%!important}#tarteaucitron .tarteaucitronLine .tarteaucitronAsk{float:left!important;margin:10px 15px 5px}}@media screen and (max-width:767px){#tarteaucitron,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer{background:#fff;border:0!important;bottom:0!important;height:100%!important;left:0!important;margin:0!important;max-height:100%!important;max-width:100%!important;top:0!important;width:100%!important}#tarteaucitron .tarteaucitronBorder,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList{border:0!important}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle{text-align:left!important}.tarteaucitronName .tarteaucitronH2{max-width:80%}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk{text-align:center!important}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk button{margin-bottom:5px}}@media screen and (min-width:768px) and (max-width:991px){#tarteaucitron{border:0!important;left:0!important;margin:0 5%!important;max-height:80%!important;width:90%!important}}#tarteaucitronRoot div#tarteaucitron{left:0;right:0;margin:auto}#tarteaucitronRoot button#tarteaucitronBack{background:#eee}#tarteaucitron .clear{clear:both}#tarteaucitron a{color:#424242;font-size:11px;font-weight:700;text-decoration:none}#tarteaucitronRoot button{background:0 0;border:0}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName button,#tarteaucitronAlertBig a,#tarteaucitronAlertBig strong,#tarteaucitronAlertSmall a,#tarteaucitronAlertSmall strong{color:#fff}#tarteaucitron strong{font-size:22px;font-weight:500}#tarteaucitron ul{padding:0}#tarteaucitron .tarteaucitronH1,#tarteaucitron .tarteaucitronH2,#tarteaucitron .tarteaucitronH3,#tarteaucitron .tarteaucitronH4,#tarteaucitron .tarteaucitronH5,#tarteaucitron .tarteaucitronH6{display:block}.cookie-list{list-style:none;padding:0;margin:0}#tarteaucitronRoot{left:0;position:absolute;right:0;top:0;width:100%}#tarteaucitronRoot *{box-sizing:initial;color:#333;font-size:14px;line-height:normal;vertical-align:initial}#tarteaucitronRoot .tarteaucitronH1{font-size:1.5em;text-align:center;color:#fff;margin:15px 0 28px}#tarteaucitronRoot .tarteaucitronH2{display:inline-block;margin:12px 0 0 15px;color:#fff}#tarteaucitronCookiesNumberBis.tarteaucitronH2{margin-left:0}#tarteaucitronBack{background:#fff;display:none;height:100%;left:0;opacity:.7;position:fixed;top:0;width:100%;z-index:2147483646}#tarteaucitron{display:none;max-height:80%;left:50%;margin:0 auto 0-430px;padding:0;position:fixed;top:6%;width:860px;z-index:2147483647}#tarteaucitron .tarteaucitronBorder{background:#fff;border:2px solid #333;border-top:0;height:auto;overflow:auto}#tarteaucitron #tarteaucitronClosePanel,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie{background:#333;color:#fff;cursor:pointer;font-size:12px;font-weight:700;text-decoration:none;padding:4px 0;position:absolute;right:0;text-align:center;width:70px}#tarteaucitron #tarteaucitronDisclaimer{color:#555;font-size:12px;margin:15px auto 0;width:80%}#tarteaucitron #tarteaucitronServices .tarteaucitronHidden,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden{background:rgba(51,51,51,.07)}#tarteaucitron #tarteaucitronServices .tarteaucitronHidden{display:none;position:relative}#tarteaucitronCookiesList .tarteaucitronH3.tarteaucitronTitle{width:100%;box-sizing:border-box}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle{color:#fff;display:inline-block;font-size:14px;font-weight:700;text-align:left;width:auto;background:#333;padding:5px 10px;margin:0}#tarteaucitron #tarteaucitronInfo,#tarteaucitron #tarteaucitronServices .tarteaucitronDetails,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,#tarteaucitronRoot .asCatToggleBtn{color:#fff;display:inline-block;font-size:14px;font-weight:700;margin:20px 0 0;padding:5px 20px;text-align:left;width:auto;background:#333}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a{color:#fff;font-weight:500}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a:hover,#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a:hover{text-decoration:none!important}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a{font-size:22px}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle a{font-size:14px}#tarteaucitron #tarteaucitronInfo,#tarteaucitron #tarteaucitronServices .tarteaucitronDetails:not(.tarteaucitronDetailsInline){color:#fff;display:none;font-size:12px;font-weight:500;margin-top:0;max-width:270px;padding:20px;position:absolute;z-index:2147483647}#tarteaucitron #tarteaucitronServices .tarteaucitronTitle+[id^=tarteaucitronDetails]{width:calc(100% - 40px);font-weight:500;margin:0;padding:5px 20px 20px;background:rgba(51,51,51,.2);color:#333}#tarteaucitron #tarteaucitronInfo a{color:#fff;text-decoration:underline}#tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain:hover{background:rgba(51,51,51,.2)}#tarteaucitron #tarteaucitronServices .tarteaucitronLine{background:rgba(51,51,51,.1);border-left:5px solid transparent;margin:0;overflow:hidden;padding:15px 5px}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed{border-color:#1b870b}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied{border-color:#9c1a1a}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine{background:#333;border:3px solid #333;border-left:9px solid #333;border-top:5px solid #333;margin-bottom:0;margin-top:21px;position:relative}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine:hover{background:#333}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName{margin-left:15px;margin-top:2px}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronAsk{margin-top:0!important}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName{display:inline-block;float:left;margin-left:15px;text-align:left;width:50%}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName a:hover{text-decoration:underline}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk{display:inline-block;float:right;margin:7px 15px 0;text-align:right}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,.tac_activate .tarteaucitronAllow{background:#555;border-radius:4px;color:#fff;cursor:pointer;display:inline-block;padding:6px 10px;text-align:center;text-decoration:none;width:auto;border:0}#tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected{background-color:#1b870b;opacity:1}#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,#tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected{background-color:#9c1a1a;opacity:1}#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow{background-color:#1b870b}#tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny{background-color:#9c1a1a}#tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow{opacity:.4}#tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies{color:#333;font-size:12px}#tarteaucitron .tarteaucitronH3{font-size:18px}#tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName{width:auto!important;margin-left:0!important;font-size:14px}.tarteaucitronAlertBigBottom span#tarteaucitronDisclaimerAlert,.tarteaucitronAlertBigTop span#tarteaucitronDisclaimerAlert{display:inline-flex}span#tarteaucitronDisclaimerAlert{padding:0 10px;display:inline-block;overflow-y:auto;max-height:50vh;line-height:normal}@media only screen and (max-width:768px){#tarteaucitronRoot span#tarteaucitronDisclaimerAlert{font-size:16px}}#tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,#tarteaucitron .tarteaucitronBorder,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain,#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden{border-color:#333!important}.tarteaucitronAlertBigTop{top:0}.tarteaucitronAlertBigBottom{bottom:0}#tarteaucitronRoot #tarteaucitronAlertBig{background:#333;color:#fff;display:none;font-size:15px!important;left:0;position:fixed;box-sizing:content-box;z-index:2147483645;text-align:center;padding:10px 0;margin:auto;width:100%}#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong,#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,.tac_activate .tac_float strong{color:#fff}#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong{font-weight:700}#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog{cursor:pointer}#tarteaucitronAlertBig #tarteaucitronCloseAlert{background:#008300;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;text-decoration:none}#tarteaucitronAlertBig #tarteaucitronPersonalize,#tarteaucitronAlertBig #tarteaucitronPersonalize2,.tarteaucitronCTAButton{background:#008300;color:#fff;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;padding:5px 10px;text-decoration:none;margin-left:7px}#tarteaucitron #tarteaucitronPrivacyUrl,#tarteaucitron #tarteaucitronPrivacyUrlDialog,#tarteaucitronRoot .tarteaucitronAllow,#tarteaucitronRoot .tarteaucitronDeny{background:#008300;cursor:pointer;display:inline-block;font-size:16px!important;line-height:1.2;text-decoration:none}#tarteaucitronRoot .tarteaucitronAllow,#tarteaucitronRoot .tarteaucitronDeny{color:#fff;padding:5px 10px;margin-left:7px}#tarteaucitronRoot .tarteaucitronDeny{background:#9c1a1a}#tarteaucitron #tarteaucitronPrivacyUrl,#tarteaucitron #tarteaucitronPrivacyUrlDialog,#tarteaucitronAlertBig #tarteaucitronCloseAlert{background:#fff;color:#333;margin-bottom:3px;margin-left:7px;padding:5px 10px}#tarteaucitronPercentage{background:#0a0!important;box-shadow:0 0 2px #fff,0 1px 2px #555;height:5px;left:0;position:fixed;width:0;z-index:2147483644}.tarteaucitronIconBottomRight{bottom:0;right:0}.tarteaucitronIconBottomLeft{bottom:0;left:0}.tarteaucitronIconTopRight{top:0;right:0}.tarteaucitronIconTopLeft{top:0;left:0}.tarteaucitronIconTopLeft #tarteaucitronManager{border-radius:2px 7px 7px 2px}.tarteaucitronIconTopRight #tarteaucitronManager{border-radius:7px 2px 2px 7px}.tarteaucitronIconBottomLeft #tarteaucitronManager,.tarteaucitronIconBottomRight #tarteaucitronManager{border-radius:7px 7px 2px 2px}#tarteaucitronAlertSmall,#tarteaucitronIcon{position:fixed;width:auto;z-index:2147483646}#tarteaucitronIcon{background:0 0}#tarteaucitronIcon #tarteaucitronManager{color:transparent;cursor:pointer;display:inline-block;font-size:11px!important;padding:8px 10px;border:0}#tarteaucitronIcon #tarteaucitronManager img{width:50px;height:50px}#tarteaucitronRoot .tarteaucitronCross::before{content:"\2717";display:inline-block;color:#fff}#tarteaucitronRoot .tarteaucitronCheck::before{content:"\2713";display:inline-block;color:#fff}#tarteaucitronRoot .tarteaucitronPlus::before{content:"\271b";display:inline-block;color:#fff}.tarteaucitronAlertSmallBottom,.tarteaucitronAlertSmallTop{bottom:0}#tarteaucitronAlertSmall{background:#333;padding:0;right:0;text-align:center}#tarteaucitronAlertSmall #tarteaucitronManager{color:#fff;cursor:pointer;display:inline-block;font-size:11px!important;padding:8px 10px}#tarteaucitronAlertSmall #tarteaucitronManager:hover{background:rgba(255,255,255,.05)}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot{background-color:gray;border-radius:5px;display:block;height:8px;margin-bottom:1px;margin-top:5px;overflow:hidden;width:100%}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen,#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed,#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow{display:block;float:left;height:100%;width:0%}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen{background-color:#1b870b}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow{background-color:#fbda26}#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed{background-color:#9c1a1a}#tarteaucitronAlertSmall #tarteaucitronCookiesNumber{background:rgba(255,255,255,.2);color:#fff;cursor:pointer;display:inline-block;font-size:30px;padding:0 10px;vertical-align:top}#tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover{background:rgba(255,255,255,.3)}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer{display:none;max-height:70%;max-width:500px;position:fixed;right:0;width:100%}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList{background:#fff;border:2px solid #333;color:#333;font-size:11px;height:auto;overflow:auto;text-align:left}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList strong{color:#333}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle{background:#333;margin-top:21px;padding:13px 0 9px 13px;text-align:left}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle strong{color:#fff;font-size:16px}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain{background:rgba(51,51,51,.1);padding:7px 5px 10px;word-wrap:break-word}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain a{color:#333;text-decoration:none}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft{display:inline-block;width:50%}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft a strong{color:#8b0000}#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListRight{color:#333;display:inline-block;font-size:11px;margin-left:10%;vertical-align:top;width:30%}.tac_activate{background:#333;color:#fff;display:table;font-size:12px;height:100%;line-height:initial;margin:auto;text-align:center;width:100%}.tac_float{display:table-cell;text-align:center;vertical-align:middle}.tac_activate .tac_float .tarteaucitronAllow{background-color:#1b870b;display:inline-block}ins.adsbygoogle,ins.ferank-publicite{text-decoration:none}div.amazon_product{height:240px;width:120px}.tarteaucitronIsAllowed .tarteaucitronDeny,.tarteaucitronIsDenied .tarteaucitronAllow{opacity:.4!important}.tarteaucitronIsAllowed .tarteaucitronAllow,.tarteaucitronIsDenied .tarteaucitronDeny{opacity:1!important}.tarteaucitronLine .tarteaucitronAllow,.tarteaucitronLine .tarteaucitronDeny{opacity:.4}#tarteaucitronServices_mandatory button.tarteaucitronAllow{opacity:1}div#tarteaucitronInfo{display:block!important;position:relative!important;text-align:center!important;max-width:80%!important;padding:15px 0!important;margin:-10px auto 40px!important;font-size:1em!important;border-bottom:1px solid;border-top:1px solid;border-color:#555}a.tarteaucitronSelfLink{position:absolute;left:0;right:0;bottom:-30px;text-align:center!important;display:block;height:30px}.tarteaucitronMainLine .tarteaucitronH2{font-size:1.2em!important;margin-top:4px!important}span.tarteaucitronTitle.tarteaucitronH3{margin-top:12px!important}#tarteaucitronCloseCross{position:absolute;color:#fff;font-size:1.8rem;cursor:pointer;top:10px;right:26px}#tarteaucitronCloseCross span {color: inherit;}.tarteaucitron-spacer-20{height:20px;display:block}.tarteaucitron-display-block{display:block}.tarteaucitron-display-none{display:none} \ No newline at end of file diff --git a/tarteaucitron.js b/tarteaucitron.js index a89b29ff..93957411 100644 --- a/tarteaucitron.js +++ b/tarteaucitron.js @@ -529,7 +529,7 @@ var tarteaucitron = { html += ' '; - html += ' '; html += ' '; @@ -637,7 +637,7 @@ var tarteaucitron = { } if (tarteaucitron.parameters.showIcon === true) { - html += '
'; + html += '
'; html += ' '; diff --git a/tarteaucitron.min.js b/tarteaucitron.min.js index f92884a2..b1277afd 100644 --- a/tarteaucitron.min.js +++ b/tarteaucitron.min.js @@ -1 +1 @@ -var scripts=document.getElementsByTagName("script"),tarteaucitronPath=(document.currentScript||scripts[scripts.length-1]).src.split("?")[0],tarteaucitronForceCDN=tarteaucitronForceCDN===undefined?"":tarteaucitronForceCDN,tarteaucitronUseMin=tarteaucitronUseMin===undefined?"":tarteaucitronUseMin,cdn=tarteaucitronForceCDN===""?tarteaucitronPath.split("/").slice(0,-1).join("/")+"/":tarteaucitronForceCDN,alreadyLaunch=alreadyLaunch===undefined?0:alreadyLaunch,tarteaucitronForceLanguage=tarteaucitronForceLanguage===undefined?"":tarteaucitronForceLanguage,tarteaucitronForceExpire=tarteaucitronForceExpire===undefined?"":tarteaucitronForceExpire,tarteaucitronCustomText=tarteaucitronCustomText===undefined?"":tarteaucitronCustomText,tarteaucitronExpireInDay=tarteaucitronExpireInDay===undefined||typeof tarteaucitronExpireInDay!=="boolean"?true:tarteaucitronExpireInDay,timeExpire=31536e6,tarteaucitronProLoadServices,tarteaucitronNoAdBlocker=false,tarteaucitronIsLoaded=false;var tarteaucitron={version:1.17,cdn:cdn,user:{},lang:{},services:{},added:[],idprocessed:[],state:{},launch:[],parameters:{},isAjax:false,reloadThePage:false,events:{init:function(){},load:function(){}},init:function(params){"use strict";var origOpen;tarteaucitron.parameters=params;if(alreadyLaunch===0){alreadyLaunch=1;if(window.addEventListener){window.addEventListener("load",function(){tarteaucitron.initEvents.loadEvent(false)},false);window.addEventListener("scroll",function(){tarteaucitron.initEvents.scrollEvent()},false);window.addEventListener("keydown",function(evt){tarteaucitron.initEvents.keydownEvent(false,evt)},false);window.addEventListener("hashchange",function(){tarteaucitron.initEvents.hashchangeEvent()},false);window.addEventListener("resize",function(){tarteaucitron.initEvents.resizeEvent()},false)}else{window.attachEvent("onload",function(){tarteaucitron.initEvents.loadEvent(true)});window.attachEvent("onscroll",function(){tarteaucitron.initEvents.scrollEvent()});window.attachEvent("onkeydown",function(evt){tarteaucitron.initEvents.keydownEvent(true,evt)});window.attachEvent("onhashchange",function(){tarteaucitron.initEvents.hashchangeEvent()});window.attachEvent("onresize",function(){tarteaucitron.initEvents.resizeEvent()})}if(typeof XMLHttpRequest!=="undefined"){origOpen=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){if(window.addEventListener){this.addEventListener("load",function(){if(typeof tarteaucitronProLoadServices==="function"){tarteaucitronProLoadServices()}},false)}else if(typeof this.attachEvent!=="undefined"){this.attachEvent("onload",function(){if(typeof tarteaucitronProLoadServices==="function"){tarteaucitronProLoadServices()}})}else{if(typeof tarteaucitronProLoadServices==="function"){setTimeout(tarteaucitronProLoadServices,1e3)}}try{origOpen.apply(this,arguments)}catch(err){}}}}if(tarteaucitron.events.init){tarteaucitron.events.init()}},initEvents:{loadEvent:function(isOldBrowser){tarteaucitron.load();tarteaucitron.fallback(["tarteaucitronOpenPanel"],function(elem){if(isOldBrowser){elem.attachEvent("onclick",function(event){tarteaucitron.userInterface.openPanel();event.preventDefault()})}else{elem.addEventListener("click",function(event){tarteaucitron.userInterface.openPanel();event.preventDefault()},false)}},true)},keydownEvent:function(isOldBrowser,evt){if(evt.keyCode===27){tarteaucitron.userInterface.closePanel()}if(isOldBrowser){if(evt.keyCode===9&&focusableEls.indexOf(evt.target)>=0){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}}},hashchangeEvent:function(){if(document.location.hash===tarteaucitron.hashtag&&tarteaucitron.hashtag!==""){tarteaucitron.userInterface.openPanel()}},resizeEvent:function(){var tacElem=document.getElementById("tarteaucitron");var tacCookieContainer=document.getElementById("tarteaucitronCookiesListContainer");if(tacElem&&tacElem.style.display==="block"){tarteaucitron.userInterface.jsSizing("main")}if(tacCookieContainer&&tacCookieContainer.style.display==="block"){tarteaucitron.userInterface.jsSizing("cookie")}},scrollEvent:function(){var scrollPos=window.pageYOffset||document.documentElement.scrollTop;var heightPosition;var tacPercentage=document.getElementById("tarteaucitronPercentage");var tacAlertBig=document.getElementById("tarteaucitronAlertBig");if(tacAlertBig&&!tarteaucitron.highPrivacy){if(tacAlertBig.style.display==="block"){heightPosition=tacAlertBig.offsetHeight+"px";if(scrollPos>screen.height*2){tarteaucitron.userInterface.respondAll(true)}else if(scrollPos>screen.height/2){document.getElementById("tarteaucitronDisclaimerAlert").innerHTML=""+tarteaucitron.lang.alertBigScroll+" "+tarteaucitron.lang.alertBig}if(tacPercentage){if(tarteaucitron.orientation==="top"){tacPercentage.style.top=heightPosition}else{tacPercentage.style.bottom=heightPosition}tacPercentage.style.width=100/(screen.height*2)*scrollPos+"%"}}}}},load:function(){"use strict";if(tarteaucitronIsLoaded===true){return}var cdn=tarteaucitron.cdn,language=tarteaucitron.getLanguage(),useMinifiedJS=cdn.indexOf("cdn.jsdelivr.net")>=0||tarteaucitronPath.indexOf(".min.")>=0||tarteaucitronUseMin!=="",pathToLang=cdn+"lang/tarteaucitron."+language+(useMinifiedJS?".min":"")+".js",pathToServices=cdn+"tarteaucitron.services"+(useMinifiedJS?".min":"")+".js",linkElement=document.createElement("link"),defaults={adblocker:false,hashtag:"#tarteaucitron",cookieName:"tarteaucitron",highPrivacy:true,orientation:"middle",bodyPosition:"bottom",removeCredit:false,showAlertSmall:false,showDetailsOnClick:true,showIcon:true,iconPosition:"BottomRight",cookieslist:false,handleBrowserDNTRequest:false,DenyAllCta:true,AcceptAllCta:true,moreInfoLink:true,privacyUrl:"",useExternalCss:false,useExternalJs:false,mandatory:true,mandatoryCta:true,closePopup:false,groupServices:false,serviceDefaultState:"wait",googleConsentMode:true,partnersList:false,alwaysNeedConsent:false},params=tarteaucitron.parameters;tarteaucitronIsLoaded=true;if((tarteaucitron.parameters.readmoreLink!==undefined&&window.location.href==tarteaucitron.parameters.readmoreLink||window.location.href==tarteaucitron.parameters.privacyUrl)&&tarteaucitron.parameters.orientation=="middle"){tarteaucitron.parameters.orientation="bottom"}if(typeof tarteaucitronCustomPremium!=="undefined"){tarteaucitronCustomPremium()}if(params!==undefined){for(var k in defaults){if(!tarteaucitron.parameters.hasOwnProperty(k)){tarteaucitron.parameters[k]=defaults[k]}}}tarteaucitron.orientation=tarteaucitron.parameters.orientation;tarteaucitron.hashtag=tarteaucitron.parameters.hashtag;tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy;tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest;tarteaucitron.customCloserId=tarteaucitron.parameters.customCloserId;if(tarteaucitron.parameters.googleConsentMode===true){window.dataLayer=window.dataLayer||[];window.tac_gtag=function tac_gtag(){dataLayer.push(arguments)};window.tac_gtag("consent","default",{ad_storage:"denied",analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:800});document.addEventListener("googleads_added",function(){if(tarteaucitron.added["gcmads"]===true){return}tarteaucitron.services.gcmads={key:"gcmads",type:"ads",name:"Google Ads (personalized ads)",uri:"https://support.google.com/analytics/answer/9976101",needConsent:true,cookies:[],js:function(){},fallback:function(){}};tarteaucitron.job.push("gcmads");var i,allowBtns=document.getElementsByClassName("tarteaucitronAllow"),denyBtns=document.getElementsByClassName("tarteaucitronDeny");for(i=0;itarteaucitron.lang[b].title){return 1}if(tarteaucitron.lang[a].title";html+='
';if(tarteaucitron.reloadThePage){html+=''}else{html+=''}html+='";if(tarteaucitron.parameters.orientation==="bottom"){orientation="Bottom"}if(tarteaucitron.parameters.orientation==="middle"||tarteaucitron.parameters.orientation==="popup"){modalAttrs=' role="dialog" aria-modal="true" aria-labelledby="tac_title"'}if(tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta){html+='
";html+=' ';html+=" "+tarteaucitron.lang.alertBigPrivacy;html+=" ";html+=' ";if(tarteaucitron.parameters.privacyUrl!==""){html+=' "}html+="
"}else{html+='
";html+=' ';if(tarteaucitron.parameters.highPrivacy){html+=" "+tarteaucitron.lang.alertBigPrivacy}else{html+=" "+tarteaucitron.lang.alertBigClick+" "+tarteaucitron.lang.alertBig}html+=" ";html+=' ";if(tarteaucitron.parameters.DenyAllCta){if(tarteaucitron.reloadThePage){html+=' "}html+=' ";if(tarteaucitron.parameters.privacyUrl!==""){html+=' "}html+="
";html+='
'}if(tarteaucitron.parameters.showIcon===true){html+='
';html+=' ";html+="
"}if(tarteaucitron.parameters.showAlertSmall===true){html+='
';html+=' \x3c!-- @whitespace";html+=' --\x3e';html+='
';if(tarteaucitron.reloadThePage){html+=' ";html+='
';html+=' 0 cookie';html+="
";html+='
';html+="
"}else{html+="
"}html+="
"}tarteaucitron.addInternalScript(tarteaucitron.cdn+"advertising"+(useMinifiedJS?".min":"")+".js","",function(){if(tarteaucitronNoAdBlocker===true||tarteaucitron.parameters.adblocker===false){div.id="tarteaucitronRoot";if(tarteaucitron.parameters.bodyPosition==="top"){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)}div.setAttribute("data-nosnippet","true");div.setAttribute("lang",language);div.setAttribute("role","region");div.setAttribute("aria-labelledby","tac_title");div.innerHTML=html;var tacRootAvailableEvent;if(typeof Event==="function"){tacRootAvailableEvent=new Event("tac.root_available")}else if(typeof document.createEvent==="function"){tacRootAvailableEvent=document.createEvent("Event");tacRootAvailableEvent.initEvent("tac.root_available",true,true)}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacRootAvailableEvent)}if(tarteaucitron.job!==undefined){tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job);for(index=0;index';html+='

';html+=" "+tarteaucitron.lang.adblock+"
";html+=" "+tarteaucitron.lang.adblock_call+"";html+="

";html+=' ";html+="
";html+='
'+tarteaucitron.lang.title+"
";html+='
';div.id="tarteaucitronRoot";if(tarteaucitron.parameters.bodyPosition==="top"){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)}div.setAttribute("data-nosnippet","true");div.setAttribute("lang",language);div.setAttribute("role","region");div.setAttribute("aria-labelledby","tac_title");div.innerHTML=html}},1500)}if(tarteaucitron.parameters.closePopup===true){setTimeout(function(){var closeElement=document.getElementById("tarteaucitronAlertBig"),closeButton=document.createElement("button");if(closeElement){closeButton.innerHTML=''+tarteaucitron.lang.closeBanner+"";closeButton.setAttribute("id","tarteaucitronCloseCross");closeElement.insertAdjacentElement("beforeend",closeButton)}},100)}if(tarteaucitron.parameters.groupServices===true){var tac_group_style=document.createElement("style");tac_group_style.innerHTML=".tarteaucitronTitle{display:none}";document.head.appendChild(tac_group_style);var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,"");if(cat!=="mandatory"){var html="";html+='
  • ';html+='
    ';html+=' '+tarteaucitron.lang[cat].title+"";html+=" "+tarteaucitron.lang[cat].details+"";html+=' ";html+="
    ";html+='
    ';html+=' ";html+=' ";html+="
    ";html+="
  • ";var ul=document.createElement("ul");ul.innerHTML=html;item.insertBefore(ul,item.querySelector("#tarteaucitronServices_"+cat+""));document.querySelector("#tarteaucitronServices_"+cat).style.display="none";tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-"+cat,function(){tarteaucitron.userInterface.toggle("tarteaucitronServices_"+cat);if(document.getElementById("tarteaucitronServices_"+cat).style.display=="block"){tarteaucitron.userInterface.addClass("tarteaucitronServicesTitle_"+cat,"tarteaucitronIsExpanded");document.getElementById("tarteaucitron-toggle-group-"+cat).setAttribute("aria-expanded","true")}else{tarteaucitron.userInterface.removeClass("tarteaucitronServicesTitle_"+cat,"tarteaucitronIsExpanded");document.getElementById("tarteaucitron-toggle-group-"+cat).setAttribute("aria-expanded","false")}});tarteaucitron.addClickEventToId("tarteaucitron-accept-group-"+cat,function(){tarteaucitron.userInterface.respondAll(true,cat)});tarteaucitron.addClickEventToId("tarteaucitron-reject-group-"+cat,function(){tarteaucitron.userInterface.respondAll(false,cat)})}})}if(tarteaucitron.parameters.partnersList===true&&(tarteaucitron.parameters.orientation==="middle"||tarteaucitron.parameters.orientation==="popup")){setTimeout(function(){var liPartners="";var tarteaucitronPartnersCat=[];tarteaucitron.job.forEach(function(id){if(tarteaucitronPartnersCat[tarteaucitron.services[id].type]===undefined){tarteaucitronPartnersCat[tarteaucitron.services[id].type]=true;liPartners+="
  • "+tarteaucitron.lang[tarteaucitron.services[id].type].title+"
  • "}});var tacPartnersInfoParent=document.getElementById("tarteaucitronDisclaimerAlert");if(tacPartnersInfoParent!==null){tacPartnersInfoParent.insertAdjacentHTML("beforeend",'
    '+tarteaucitron.lang.ourpartners+" ("+tarteaucitron.job.length+")
    ")}},100)}setTimeout(function(){var tacSaveButtonParent=document.getElementById("tarteaucitronServices");if(tacSaveButtonParent!==null){tacSaveButtonParent.insertAdjacentHTML("beforeend",'
    ")}},100);tarteaucitron.userInterface.color("",true);setTimeout(function(){tarteaucitron.addClickEventToId("tarteaucitronCloseCross",function(){tarteaucitron.userInterface.closeAlert()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",function(){tarteaucitron.userInterface.respondAll(true)});tarteaucitron.addClickEventToId("tarteaucitronManager",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronBack",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronClosePanel",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronClosePanelCookie",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrl",function(){document.location=tarteaucitron.parameters.privacyUrl});tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrlDialog",function(){document.location=tarteaucitron.parameters.privacyUrl});tarteaucitron.addClickEventToId("tarteaucitronCookiesNumber",function(){tarteaucitron.userInterface.toggleCookiesList()});tarteaucitron.addClickEventToId("tarteaucitronAllAllowed",function(){tarteaucitron.userInterface.respondAll(true)});tarteaucitron.addClickEventToId("tarteaucitronAllDenied",function(){tarteaucitron.userInterface.respondAll(false)});tarteaucitron.addClickEventToId("tarteaucitronAllDenied2",function(){tarteaucitron.userInterface.respondAll(false,"",true);if(tarteaucitron.reloadThePage===true){window.location.reload()}});tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronCTAButton",function(){location.reload()});tarteaucitron.addClickEventToId("tarteaucitronSaveButton",function(){var timeoutSaveButton=0;tarteaucitron.job.forEach(function(id){if(tarteaucitron.state[id]!==true&&tarteaucitron.state[id]!==false){timeoutSaveButton=500;tarteaucitron.setConsent(id,false)}});setTimeout(tarteaucitron.userInterface.closePanel,timeoutSaveButton)});var toggleBtns=document.getElementsByClassName("catToggleBtn"),i;for(i=0;i=0,isDenied=cookie.indexOf(service.key+"=false")>=0,isAllowed=cookie.indexOf(service.key+"=true")>=0||!service.needConsent&&cookie.indexOf(service.key+"=false")<0,isResponded=cookie.indexOf(service.key+"=false")>=0||cookie.indexOf(service.key+"=true")>=0,isDNTRequested=navigator.doNotTrack==="1"||navigator.doNotTrack==="yes"||navigator.msDoNotTrack==="1"||window.doNotTrack==="1",currentStatus=isAllowed?tarteaucitron.lang.allowed:tarteaucitron.lang.disallowed,state=undefined!==service.defaultState?service.defaultState:undefined!==tarteaucitron.parameters.serviceDefaultState?tarteaucitron.parameters.serviceDefaultState:"wait";if(tarteaucitron.added[service.key]!==true){tarteaucitron.added[service.key]=true;html+='
  • ';html+='
    ';html+=' '+service.name+"";html+='
    ';html+=' '+currentStatus+"";html+=' - ';html+=' ';html+="
    ";if(tarteaucitron.parameters.moreInfoLink==true){var link="https://tarteaucitron.io/service/"+service.key+"/";if(service.readmoreLink!==undefined&&service.readmoreLink!==""){link=service.readmoreLink}if(tarteaucitron.parameters.readmoreLink!==undefined&&tarteaucitron.parameters.readmoreLink!==""){link=tarteaucitron.parameters.readmoreLink}html+=' '+tarteaucitron.lang.more+"";html+=' - ';html+=' '+tarteaucitron.lang.source+""}html+="
    ";html+='
    ';html+=' ";html+=' ";html+="
    ";html+="
  • ";tarteaucitron.userInterface.css("tarteaucitronServicesTitle_"+service.type,"display","block");if(document.getElementById("tarteaucitronServices_"+service.type)!==null){document.getElementById("tarteaucitronServices_"+service.type).innerHTML+=html}tarteaucitron.userInterface.css("tarteaucitronNoServicesTitle","display","none");tarteaucitron.userInterface.order(service.type);tarteaucitron.addClickEventToId(service.key+"Allowed",function(){tarteaucitron.userInterface.respond(this,true)});tarteaucitron.addClickEventToId(service.key+"Denied",function(){tarteaucitron.userInterface.respond(this,false)})}tarteaucitron.pro("!"+service.key+"="+isAllowed);if(isResponded===false&&tarteaucitron.user.bypass===true){isAllowed=true;tarteaucitron.cookie.create(service.key,true)}if(!isResponded&&(isAutostart||isNavigating&&isWaiting)&&!tarteaucitron.highPrivacy||isAllowed){if(!isAllowed||!service.needConsent&&cookie.indexOf(service.key+"=false")<0){tarteaucitron.cookie.create(service.key,true)}if(tarteaucitron.launch[service.key]!==true){tarteaucitron.launch[service.key]=true;if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.js()}tarteaucitron.sendEvent(service.key+"_loaded")}tarteaucitron.state[service.key]=true;tarteaucitron.userInterface.color(service.key,true)}else if(isDenied){if(typeof service.fallback==="function"){if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}}tarteaucitron.state[service.key]=false;tarteaucitron.userInterface.color(service.key,false)}else if(!isResponded&&isDNTRequested&&tarteaucitron.handleBrowserDNTRequest){tarteaucitron.cookie.create(service.key,"false");if(typeof service.fallback==="function"){if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}}tarteaucitron.state[service.key]=false;tarteaucitron.userInterface.color(service.key,false)}else if(!isResponded){tarteaucitron.cookie.create(service.key,state);if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){if(true===state&&typeof service.js==="function"){service.js();tarteaucitron.sendEvent(key+"_loaded")}else if(typeof service.fallback==="function"){service.fallback()}}tarteaucitron.userInterface.color(service.key,state);if("wait"===state){tarteaucitron.userInterface.openAlert()}}tarteaucitron.cookie.checkCount(service.key);tarteaucitron.sendEvent(service.key+"_added")},sendEvent:function(event_key){if(event_key!==undefined){var send_event_item;if(typeof Event==="function"){send_event_item=new Event(event_key)}else if(typeof document.createEvent==="function"){send_event_item=document.createEvent("Event");send_event_item.initEvent(event_key,true,true)}document.dispatchEvent(send_event_item)}},cleanArray:function cleanArray(arr){"use strict";var i,len=arr.length,out=[],obj={},s=tarteaucitron.services;for(i=0;is[b].type+s[b].key){return 1}if(s[a].type+s[a].key0&&status===false){tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies)}if(status===true){if(document.getElementById("tacCL"+key)!==null){document.getElementById("tacCL"+key).innerHTML="..."}setTimeout(function(){tarteaucitron.cookie.checkCount(key)},2500)}else{tarteaucitron.cookie.checkCount(key)}}var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,""),total=document.getElementById("tarteaucitronServices_"+cat).childElementCount;var doc=document.getElementById("tarteaucitronServices_"+cat),groupdenied=0,groupallowed=0;for(var ii=0;ii0){filtered.push(focusableEls[i])}}firstFocusableEl=filtered[0];lastFocusableEl=filtered[filtered.length-1];document.getElementById(parentElement).addEventListener("keydown",function(evt){if(evt.key==="Tab"||evt.keyCode===9){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}})},openAlert:function(){"use strict";var c="tarteaucitron";tarteaucitron.userInterface.css(c+"Percentage","display","block");tarteaucitron.userInterface.css(c+"AlertSmall","display","none");tarteaucitron.userInterface.css(c+"Icon","display","none");tarteaucitron.userInterface.css(c+"AlertBig","display","block");tarteaucitron.userInterface.addClass(c+"Root","tarteaucitronBeforeVisible");var tacOpenAlertEvent;if(typeof Event==="function"){tacOpenAlertEvent=new Event("tac.open_alert")}else if(typeof document.createEvent==="function"){tacOpenAlertEvent=document.createEvent("Event");tacOpenAlertEvent.initEvent("tac.open_alert",true,true)}if(document.getElementById("tarteaucitronAlertBig")!==null&&tarteaucitron.parameters.orientation==="middle"){document.getElementById("tarteaucitronAlertBig").focus()}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacOpenAlertEvent)}},closeAlert:function(){"use strict";var c="tarteaucitron";tarteaucitron.userInterface.css(c+"Percentage","display","none");tarteaucitron.userInterface.css(c+"AlertSmall","display","block");tarteaucitron.userInterface.css(c+"Icon","display","block");tarteaucitron.userInterface.css(c+"AlertBig","display","none");tarteaucitron.userInterface.removeClass(c+"Root","tarteaucitronBeforeVisible");tarteaucitron.userInterface.jsSizing("box");var tacCloseAlertEvent;if(typeof Event==="function"){tacCloseAlertEvent=new Event("tac.close_alert")}else if(typeof document.createEvent==="function"){tacCloseAlertEvent=document.createEvent("Event");tacCloseAlertEvent.initEvent("tac.close_alert",true,true)}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacCloseAlertEvent)}},toggleCookiesList:function(){"use strict";var div=document.getElementById("tarteaucitronCookiesListContainer"),togglediv=document.getElementById("tarteaucitronCookiesNumber");if(div===null){return}if(div.style.display!=="block"){tarteaucitron.cookie.number();div.style.display="block";togglediv.setAttribute("aria-expanded","true");tarteaucitron.userInterface.jsSizing("cookie");tarteaucitron.userInterface.css("tarteaucitron","display","none");tarteaucitron.userInterface.css("tarteaucitronBack","display","block");tarteaucitron.fallback(["tarteaucitronInfoBox"],function(elem){elem.style.display="none"},true)}else{div.style.display="none";togglediv.setAttribute("aria-expanded","false");tarteaucitron.userInterface.css("tarteaucitron","display","none");tarteaucitron.userInterface.css("tarteaucitronBack","display","none")}},toggle:function(id,closeClass){"use strict";var div=document.getElementById(id);if(div===null){return}if(closeClass!==undefined){tarteaucitron.fallback([closeClass],function(elem){if(elem.id!==id){elem.style.display="none"}},true)}if(div.style.display!=="block"){div.style.display="block"}else{div.style.display="none"}},order:function(id){"use strict";var main=document.getElementById("tarteaucitronServices_"+id),allDivs,store=[],i;if(main===null){return}allDivs=main.childNodes;if(typeof Array.prototype.map==="function"&&typeof Enumerable==="undefined"){Array.prototype.map.call(main.children,Object).sort(function(a,b){if(tarteaucitron.services[a.id.replace(/Line/g,"")].name>tarteaucitron.services[b.id.replace(/Line/g,"")].name){return 1}if(tarteaucitron.services[a.id.replace(/Line/g,"")].name=0&&nb===0){html+=tarteaucitron.lang.useNoCookie}else if(status>=0){for(i=0;i0){html+=tarteaucitron.lang.useCookieCurrent+" "+nbCurrent+" cookie";if(nbCurrent>1){html+="s"}html+="."}else{html+=tarteaucitron.lang.useNoCookie}}else if(nb===0){html=tarteaucitron.lang.noCookie}else{html+=tarteaucitron.lang.useCookie+" "+nb+" cookie";if(nb>1){html+="s"}html+="."}if(document.getElementById("tacCL"+key)!==null){document.getElementById("tacCL"+key).innerHTML=html}},crossIndexOf:function(arr,match){"use strict";var i;for(i=0;i1?"s":"",savedname,regex=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,regexedDomain=tarteaucitron.cdn.match(regex)!==null?tarteaucitron.cdn.match(regex)[1]:tarteaucitron.cdn,host=tarteaucitron.domain!==undefined?tarteaucitron.domain:regexedDomain;cookies=cookies.sort(function(a,b){namea=a.split("=",1).toString().replace(/ /g,"");nameb=b.split("=",1).toString().replace(/ /g,"");c=tarteaucitron.cookie.owner[namea]!==undefined?tarteaucitron.cookie.owner[namea]:"0";d=tarteaucitron.cookie.owner[nameb]!==undefined?tarteaucitron.cookie.owner[nameb]:"0";if(c+a>d+b){return 1}if(c+a';html+=' ';html+=" "+host;html+=" ";html+='"}else{html+='
    ';html+='
    -
    ';html+='
    ';html+="
    "}html+='
    ';if(document.getElementById("tarteaucitronCookiesList")!==null){document.getElementById("tarteaucitronCookiesList").innerHTML=html}if(document.getElementById("tarteaucitronCookiesNumber")!==null){document.getElementById("tarteaucitronCookiesNumber").innerHTML=nb;document.getElementById("tarteaucitronCookiesNumber").setAttribute("aria-label",nb+" cookie"+s+" - "+tarteaucitron.lang.toggleInfoBox);document.getElementById("tarteaucitronCookiesNumber").setAttribute("title",nb+" cookie"+s+" - "+tarteaucitron.lang.toggleInfoBox)}if(document.getElementById("tarteaucitronCookiesNumberBis")!==null){document.getElementById("tarteaucitronCookiesNumberBis").innerHTML=nb+" cookie"+s}var purgeBtns=document.getElementsByClassName("purgeBtn");for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},getLanguage:function(){"use strict";var availableLanguages="ar,bg,ca,cn,cs,da,de,et,el,en,es,fi,fr,hu,it,ja,lb,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,uk,vi,zh",defaultLanguage="en";if(tarteaucitronForceLanguage!==""){if(availableLanguages.indexOf(tarteaucitronForceLanguage)!==-1){return tarteaucitronForceLanguage}}if(availableLanguages.indexOf(document.documentElement.getAttribute("lang").substr(0,2))!==-1){return document.documentElement.getAttribute("lang").substr(0,2)}if(!navigator){return defaultLanguage}var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(availableLanguages.indexOf(userLanguage)!==-1){return userLanguage}return defaultLanguage},getLocale:function(){"use strict";if(!navigator){return"en_US"}var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(userLanguage==="fr"){return"fr_FR"}else if(userLanguage==="en"){return"en_US"}else if(userLanguage==="de"){return"de_DE"}else if(userLanguage==="es"){return"es_ES"}else if(userLanguage==="it"){return"it_IT"}else if(userLanguage==="pt"){return"pt_PT"}else if(userLanguage==="nl"){return"nl_NL"}else if(userLanguage==="el"){return"el_EL"}else{return"en_US"}},addScript:function(url,id,callback,execute,attrName,attrVal,internal){"use strict";var script,done=false;if(execute===false){if(typeof callback==="function"){callback()}}else{script=document.createElement("script");if(id!==undefined){script.id=id}script.async=true;script.src=url;if(attrName!==undefined&&attrVal!==undefined){script.setAttribute(attrName,attrVal)}if(typeof callback==="function"){if(!tarteaucitron.parameters.useExternalJs||!internal){script.onreadystatechange=script.onload=function(){var state=script.readyState;if(!done&&(!state||/loaded|complete/.test(state))){done=true;callback()}}}else{callback()}}if(!tarteaucitron.parameters.useExternalJs||!internal){document.getElementsByTagName("head")[0].appendChild(script)}}},addInternalScript:function(url,id,callback,execute,attrName,attrVal){tarteaucitron.addScript(url,id,callback,execute,attrName,attrVal,true)},checkIfExist:function(elemId){"use strict";return document.getElementById(elemId)!==null&&document.getElementById(elemId).offsetWidth!==0&&document.getElementById(elemId).offsetHeight!==0},makeAsync:{antiGhost:0,buffer:"",init:function(url,id){"use strict";var savedWrite=document.write,savedWriteln=document.writeln;document.write=function(content){tarteaucitron.makeAsync.buffer+=content};document.writeln=function(content){tarteaucitron.makeAsync.buffer+=content.concat("\n")};setTimeout(function(){document.write=savedWrite;document.writeln=savedWriteln},2e4);tarteaucitron.makeAsync.getAndParse(url,id)},getAndParse:function(url,id){"use strict";if(tarteaucitron.makeAsync.antiGhost>9){tarteaucitron.makeAsync.antiGhost=0;return}tarteaucitron.makeAsync.antiGhost+=1;tarteaucitron.addInternalScript(url,"",function(){if(document.getElementById(id)!==null){document.getElementById(id).innerHTML+=" "+tarteaucitron.makeAsync.buffer;tarteaucitron.makeAsync.buffer="";tarteaucitron.makeAsync.execJS(id)}})},execJS:function(id){var i,scripts,childId,type;if(document.getElementById(id)===null){return}scripts=document.getElementById(id).getElementsByTagName("script");for(i=0;i';tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"),childId)}else if(type.indexOf("javascript")!==-1||type===""){eval(scripts[i].innerHTML)}}}},fallback:function(matchClass,content,noInner){"use strict";var elems=document.getElementsByTagName("*"),i,index=0;for(i in elems){if(elems[i]!==undefined){for(index=0;index-1){if(typeof content==="function"){if(noInner===true){content(elems[i])}else{elems[i].innerHTML=content(elems[i])}}else{elems[i].innerHTML=content}}}}}},engage:function(id){"use strict";var html="",r=Math.floor(Math.random()*1e5),engage=tarteaucitron.services[id].name+" "+tarteaucitron.lang.fallback;if(tarteaucitron.lang["engage-"+id]!==undefined){engage=tarteaucitron.lang["engage-"+id]}html+='
    ';html+='
    ';html+=" "+engage;html+=' ";html+="
    ";html+="
    ";return html},extend:function(a,b){"use strict";var prop;for(prop in b){if(b.hasOwnProperty(prop)){a[prop]=b[prop]}}},proTemp:"",proTimer:function(){"use strict";setTimeout(tarteaucitron.proPing,Math.floor(Math.random()*(1200-500+1))+500)},pro:function(list){"use strict";tarteaucitron.proTemp+=list;clearTimeout(tarteaucitron.proTimer);tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,Math.floor(Math.random()*(1200-500+1))+500)},proPing:function(){"use strict";if(tarteaucitron.uuid!==""&&tarteaucitron.uuid!==undefined&&tarteaucitron.proTemp!==""&&tarteaucitronStatsEnabled){var div=document.getElementById("tarteaucitronPremium"),timestamp=(new Date).getTime(),url="https://tarteaucitron.io/log/?";if(div===null){return}url+="account="+tarteaucitron.uuid+"&";url+="domain="+tarteaucitron.domain+"&";url+="status="+encodeURIComponent(tarteaucitron.proTemp)+"&";url+="_time="+timestamp;div.innerHTML='';tarteaucitron.proTemp=""}tarteaucitron.cookie.number()},AddOrUpdate:function(source,custom){for(var key in custom){if(custom[key]instanceof Object){source[key]=tarteaucitron.AddOrUpdate(source[key],custom[key])}else{source[key]=custom[key]}}return source},getElemWidth:function(elem){return tarteaucitron.getElemAttr(elem,"width")||elem.clientWidth},getElemHeight:function(elem){return tarteaucitron.getElemAttr(elem,"height")||elem.clientHeight},getElemAttr:function(elem,attr){var attribute=elem.getAttribute("data-"+attr)||elem.getAttribute(attr);if(typeof attribute==="string"){return tarteaucitron.fixSelfXSS(attribute)}return""},addClickEventToId:function(elemId,func){tarteaucitron.addClickEventToElement(document.getElementById(elemId),func)},addClickEventToElement:function(e,func){if(e){if(e.addEventListener){e.addEventListener("click",func)}else{e.attachEvent("onclick",func)}}},triggerJobsAfterAjaxCall:function(){tarteaucitron.job.forEach(function(e){tarteaucitron.job.push(e)});var i;var allowBtns=document.getElementsByClassName("tarteaucitronAllow");for(i=0;i=0){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}}},hashchangeEvent:function(){if(document.location.hash===tarteaucitron.hashtag&&tarteaucitron.hashtag!==""){tarteaucitron.userInterface.openPanel()}},resizeEvent:function(){var tacElem=document.getElementById("tarteaucitron");var tacCookieContainer=document.getElementById("tarteaucitronCookiesListContainer");if(tacElem&&tacElem.style.display==="block"){tarteaucitron.userInterface.jsSizing("main")}if(tacCookieContainer&&tacCookieContainer.style.display==="block"){tarteaucitron.userInterface.jsSizing("cookie")}},scrollEvent:function(){var scrollPos=window.pageYOffset||document.documentElement.scrollTop;var heightPosition;var tacPercentage=document.getElementById("tarteaucitronPercentage");var tacAlertBig=document.getElementById("tarteaucitronAlertBig");if(tacAlertBig&&!tarteaucitron.highPrivacy){if(tacAlertBig.style.display==="block"){heightPosition=tacAlertBig.offsetHeight+"px";if(scrollPos>screen.height*2){tarteaucitron.userInterface.respondAll(true)}else if(scrollPos>screen.height/2){document.getElementById("tarteaucitronDisclaimerAlert").innerHTML=""+tarteaucitron.lang.alertBigScroll+" "+tarteaucitron.lang.alertBig}if(tacPercentage){if(tarteaucitron.orientation==="top"){tacPercentage.style.top=heightPosition}else{tacPercentage.style.bottom=heightPosition}tacPercentage.style.width=100/(screen.height*2)*scrollPos+"%"}}}}},load:function(){"use strict";if(tarteaucitronIsLoaded===true){return}var cdn=tarteaucitron.cdn,language=tarteaucitron.getLanguage(),useMinifiedJS=cdn.indexOf("cdn.jsdelivr.net")>=0||tarteaucitronPath.indexOf(".min.")>=0||tarteaucitronUseMin!=="",pathToLang=cdn+"lang/tarteaucitron."+language+(useMinifiedJS?".min":"")+".js",pathToServices=cdn+"tarteaucitron.services"+(useMinifiedJS?".min":"")+".js",linkElement=document.createElement("link"),defaults={adblocker:false,hashtag:"#tarteaucitron",cookieName:"tarteaucitron",highPrivacy:true,orientation:"middle",bodyPosition:"bottom",removeCredit:false,showAlertSmall:false,showDetailsOnClick:true,showIcon:true,iconPosition:"BottomRight",cookieslist:false,handleBrowserDNTRequest:false,DenyAllCta:true,AcceptAllCta:true,moreInfoLink:true,privacyUrl:"",useExternalCss:false,useExternalJs:false,mandatory:true,mandatoryCta:true,closePopup:false,groupServices:false,serviceDefaultState:"wait",googleConsentMode:true,partnersList:false,alwaysNeedConsent:false},params=tarteaucitron.parameters;tarteaucitronIsLoaded=true;if((tarteaucitron.parameters.readmoreLink!==undefined&&window.location.href==tarteaucitron.parameters.readmoreLink||window.location.href==tarteaucitron.parameters.privacyUrl)&&tarteaucitron.parameters.orientation=="middle"){tarteaucitron.parameters.orientation="bottom"}if(typeof tarteaucitronCustomPremium!=="undefined"){tarteaucitronCustomPremium()}if(params!==undefined){for(var k in defaults){if(!tarteaucitron.parameters.hasOwnProperty(k)){tarteaucitron.parameters[k]=defaults[k]}}}tarteaucitron.orientation=tarteaucitron.parameters.orientation;tarteaucitron.hashtag=tarteaucitron.parameters.hashtag;tarteaucitron.highPrivacy=tarteaucitron.parameters.highPrivacy;tarteaucitron.handleBrowserDNTRequest=tarteaucitron.parameters.handleBrowserDNTRequest;tarteaucitron.customCloserId=tarteaucitron.parameters.customCloserId;if(tarteaucitron.parameters.googleConsentMode===true){window.dataLayer=window.dataLayer||[];window.tac_gtag=function tac_gtag(){dataLayer.push(arguments)};window.tac_gtag("consent","default",{ad_storage:"denied",analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:800});document.addEventListener("googleads_added",function(){if(tarteaucitron.added["gcmads"]===true){return}tarteaucitron.services.gcmads={key:"gcmads",type:"ads",name:"Google Ads (personalized ads)",uri:"https://support.google.com/analytics/answer/9976101",needConsent:true,cookies:[],js:function(){},fallback:function(){}};tarteaucitron.job.push("gcmads");var i,allowBtns=document.getElementsByClassName("tarteaucitronAllow"),denyBtns=document.getElementsByClassName("tarteaucitronDeny");for(i=0;itarteaucitron.lang[b].title){return 1}if(tarteaucitron.lang[a].title";html+='
    ';if(tarteaucitron.reloadThePage){html+=''}else{html+=''}html+='";if(tarteaucitron.parameters.orientation==="bottom"){orientation="Bottom"}if(tarteaucitron.parameters.orientation==="middle"||tarteaucitron.parameters.orientation==="popup"){modalAttrs=' role="dialog" aria-modal="true" aria-labelledby="tac_title"'}if(tarteaucitron.parameters.highPrivacy&&!tarteaucitron.parameters.AcceptAllCta){html+='
    ";html+=' ';html+=" "+tarteaucitron.lang.alertBigPrivacy;html+=" ";html+=' ";if(tarteaucitron.parameters.privacyUrl!==""){html+=' "}html+="
    "}else{html+='
    ";html+=' ';if(tarteaucitron.parameters.highPrivacy){html+=" "+tarteaucitron.lang.alertBigPrivacy}else{html+=" "+tarteaucitron.lang.alertBigClick+" "+tarteaucitron.lang.alertBig}html+=" ";html+=' ";if(tarteaucitron.parameters.DenyAllCta){if(tarteaucitron.reloadThePage){html+=' "}html+=' ";if(tarteaucitron.parameters.privacyUrl!==""){html+=' "}html+="
    ";html+='
    '}if(tarteaucitron.parameters.showIcon===true){html+='
    ';html+=' ";html+="
    "}if(tarteaucitron.parameters.showAlertSmall===true){html+='
    ';html+=' \x3c!-- @whitespace";html+=' --\x3e';html+='
    ';if(tarteaucitron.reloadThePage){html+=' ";html+='
    ';html+=' 0 cookie';html+="
    ";html+='
    ';html+="
    "}else{html+="
    "}html+=""}tarteaucitron.addInternalScript(tarteaucitron.cdn+"advertising"+(useMinifiedJS?".min":"")+".js","",function(){if(tarteaucitronNoAdBlocker===true||tarteaucitron.parameters.adblocker===false){div.id="tarteaucitronRoot";if(tarteaucitron.parameters.bodyPosition==="top"){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)}div.setAttribute("data-nosnippet","true");div.setAttribute("lang",language);div.setAttribute("role","region");div.setAttribute("aria-labelledby","tac_title");div.innerHTML=html;var tacRootAvailableEvent;if(typeof Event==="function"){tacRootAvailableEvent=new Event("tac.root_available")}else if(typeof document.createEvent==="function"){tacRootAvailableEvent=document.createEvent("Event");tacRootAvailableEvent.initEvent("tac.root_available",true,true)}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacRootAvailableEvent)}if(tarteaucitron.job!==undefined){tarteaucitron.job=tarteaucitron.cleanArray(tarteaucitron.job);for(index=0;index';html+='

    ';html+=" "+tarteaucitron.lang.adblock+"
    ";html+=" "+tarteaucitron.lang.adblock_call+"";html+="

    ";html+=' ";html+="";html+='
    '+tarteaucitron.lang.title+"
    ";html+='
    ';div.id="tarteaucitronRoot";if(tarteaucitron.parameters.bodyPosition==="top"){var bodyFirstChild=body.firstChild;body.insertBefore(div,bodyFirstChild)}else{body.appendChild(div,body)}div.setAttribute("data-nosnippet","true");div.setAttribute("lang",language);div.setAttribute("role","region");div.setAttribute("aria-labelledby","tac_title");div.innerHTML=html}},1500)}if(tarteaucitron.parameters.closePopup===true){setTimeout(function(){var closeElement=document.getElementById("tarteaucitronAlertBig"),closeButton=document.createElement("button");if(closeElement){closeButton.innerHTML=''+tarteaucitron.lang.closeBanner+"";closeButton.setAttribute("id","tarteaucitronCloseCross");closeElement.insertAdjacentElement("beforeend",closeButton)}},100)}if(tarteaucitron.parameters.groupServices===true){var tac_group_style=document.createElement("style");tac_group_style.innerHTML=".tarteaucitronTitle{display:none}";document.head.appendChild(tac_group_style);var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,"");if(cat!=="mandatory"){var html="";html+='
  • ';html+='
    ';html+=' '+tarteaucitron.lang[cat].title+"";html+=" "+tarteaucitron.lang[cat].details+"";html+=' ";html+="
    ";html+='
    ';html+=' ";html+=' ";html+="
    ";html+="
  • ";var ul=document.createElement("ul");ul.innerHTML=html;item.insertBefore(ul,item.querySelector("#tarteaucitronServices_"+cat+""));document.querySelector("#tarteaucitronServices_"+cat).style.display="none";tarteaucitron.addClickEventToId("tarteaucitron-toggle-group-"+cat,function(){tarteaucitron.userInterface.toggle("tarteaucitronServices_"+cat);if(document.getElementById("tarteaucitronServices_"+cat).style.display=="block"){tarteaucitron.userInterface.addClass("tarteaucitronServicesTitle_"+cat,"tarteaucitronIsExpanded");document.getElementById("tarteaucitron-toggle-group-"+cat).setAttribute("aria-expanded","true")}else{tarteaucitron.userInterface.removeClass("tarteaucitronServicesTitle_"+cat,"tarteaucitronIsExpanded");document.getElementById("tarteaucitron-toggle-group-"+cat).setAttribute("aria-expanded","false")}});tarteaucitron.addClickEventToId("tarteaucitron-accept-group-"+cat,function(){tarteaucitron.userInterface.respondAll(true,cat)});tarteaucitron.addClickEventToId("tarteaucitron-reject-group-"+cat,function(){tarteaucitron.userInterface.respondAll(false,cat)})}})}if(tarteaucitron.parameters.partnersList===true&&(tarteaucitron.parameters.orientation==="middle"||tarteaucitron.parameters.orientation==="popup")){setTimeout(function(){var liPartners="";var tarteaucitronPartnersCat=[];tarteaucitron.job.forEach(function(id){if(tarteaucitronPartnersCat[tarteaucitron.services[id].type]===undefined){tarteaucitronPartnersCat[tarteaucitron.services[id].type]=true;liPartners+="
  • "+tarteaucitron.lang[tarteaucitron.services[id].type].title+"
  • "}});var tacPartnersInfoParent=document.getElementById("tarteaucitronDisclaimerAlert");if(tacPartnersInfoParent!==null){tacPartnersInfoParent.insertAdjacentHTML("beforeend",'
    '+tarteaucitron.lang.ourpartners+" ("+tarteaucitron.job.length+")
      "+liPartners+"
    ")}},100)}setTimeout(function(){var tacSaveButtonParent=document.getElementById("tarteaucitronServices");if(tacSaveButtonParent!==null){tacSaveButtonParent.insertAdjacentHTML("beforeend",'
    ")}},100);tarteaucitron.userInterface.color("",true);setTimeout(function(){tarteaucitron.addClickEventToId("tarteaucitronCloseCross",function(){tarteaucitron.userInterface.closeAlert()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronPersonalize2",function(){tarteaucitron.userInterface.respondAll(true)});tarteaucitron.addClickEventToId("tarteaucitronManager",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronBack",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronClosePanel",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronClosePanelCookie",function(){tarteaucitron.userInterface.closePanel()});tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrl",function(){document.location=tarteaucitron.parameters.privacyUrl});tarteaucitron.addClickEventToId("tarteaucitronPrivacyUrlDialog",function(){document.location=tarteaucitron.parameters.privacyUrl});tarteaucitron.addClickEventToId("tarteaucitronCookiesNumber",function(){tarteaucitron.userInterface.toggleCookiesList()});tarteaucitron.addClickEventToId("tarteaucitronAllAllowed",function(){tarteaucitron.userInterface.respondAll(true)});tarteaucitron.addClickEventToId("tarteaucitronAllDenied",function(){tarteaucitron.userInterface.respondAll(false)});tarteaucitron.addClickEventToId("tarteaucitronAllDenied2",function(){tarteaucitron.userInterface.respondAll(false,"",true);if(tarteaucitron.reloadThePage===true){window.location.reload()}});tarteaucitron.addClickEventToId("tarteaucitronCloseAlert",function(){tarteaucitron.userInterface.openPanel()});tarteaucitron.addClickEventToId("tarteaucitronCTAButton",function(){location.reload()});tarteaucitron.addClickEventToId("tarteaucitronSaveButton",function(){var timeoutSaveButton=0;tarteaucitron.job.forEach(function(id){if(tarteaucitron.state[id]!==true&&tarteaucitron.state[id]!==false){timeoutSaveButton=500;tarteaucitron.setConsent(id,false)}});setTimeout(tarteaucitron.userInterface.closePanel,timeoutSaveButton)});var toggleBtns=document.getElementsByClassName("catToggleBtn"),i;for(i=0;i=0,isDenied=cookie.indexOf(service.key+"=false")>=0,isAllowed=cookie.indexOf(service.key+"=true")>=0||!service.needConsent&&cookie.indexOf(service.key+"=false")<0,isResponded=cookie.indexOf(service.key+"=false")>=0||cookie.indexOf(service.key+"=true")>=0,isDNTRequested=navigator.doNotTrack==="1"||navigator.doNotTrack==="yes"||navigator.msDoNotTrack==="1"||window.doNotTrack==="1",currentStatus=isAllowed?tarteaucitron.lang.allowed:tarteaucitron.lang.disallowed,state=undefined!==service.defaultState?service.defaultState:undefined!==tarteaucitron.parameters.serviceDefaultState?tarteaucitron.parameters.serviceDefaultState:"wait";if(tarteaucitron.added[service.key]!==true){tarteaucitron.added[service.key]=true;html+='
  • ';html+='
    ';html+=' '+service.name+"";html+='
    ';html+=' '+currentStatus+"";html+=' - ';html+=' ';html+="
    ";if(tarteaucitron.parameters.moreInfoLink==true){var link="https://tarteaucitron.io/service/"+service.key+"/";if(service.readmoreLink!==undefined&&service.readmoreLink!==""){link=service.readmoreLink}if(tarteaucitron.parameters.readmoreLink!==undefined&&tarteaucitron.parameters.readmoreLink!==""){link=tarteaucitron.parameters.readmoreLink}html+=' '+tarteaucitron.lang.more+"";html+=' - ';html+=' '+tarteaucitron.lang.source+""}html+="
    ";html+='
    ';html+=' ";html+=' ";html+="
    ";html+="
  • ";tarteaucitron.userInterface.css("tarteaucitronServicesTitle_"+service.type,"display","block");if(document.getElementById("tarteaucitronServices_"+service.type)!==null){document.getElementById("tarteaucitronServices_"+service.type).innerHTML+=html}tarteaucitron.userInterface.css("tarteaucitronNoServicesTitle","display","none");tarteaucitron.userInterface.order(service.type);tarteaucitron.addClickEventToId(service.key+"Allowed",function(){tarteaucitron.userInterface.respond(this,true)});tarteaucitron.addClickEventToId(service.key+"Denied",function(){tarteaucitron.userInterface.respond(this,false)})}tarteaucitron.pro("!"+service.key+"="+isAllowed);if(isResponded===false&&tarteaucitron.user.bypass===true){isAllowed=true;tarteaucitron.cookie.create(service.key,true)}if(!isResponded&&(isAutostart||isNavigating&&isWaiting)&&!tarteaucitron.highPrivacy||isAllowed){if(!isAllowed||!service.needConsent&&cookie.indexOf(service.key+"=false")<0){tarteaucitron.cookie.create(service.key,true)}if(tarteaucitron.launch[service.key]!==true){tarteaucitron.launch[service.key]=true;if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.js()}tarteaucitron.sendEvent(service.key+"_loaded")}tarteaucitron.state[service.key]=true;tarteaucitron.userInterface.color(service.key,true)}else if(isDenied){if(typeof service.fallback==="function"){if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}}tarteaucitron.state[service.key]=false;tarteaucitron.userInterface.color(service.key,false)}else if(!isResponded&&isDNTRequested&&tarteaucitron.handleBrowserDNTRequest){tarteaucitron.cookie.create(service.key,"false");if(typeof service.fallback==="function"){if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){service.fallback()}}tarteaucitron.state[service.key]=false;tarteaucitron.userInterface.color(service.key,false)}else if(!isResponded){tarteaucitron.cookie.create(service.key,state);if(typeof tarteaucitronMagic==="undefined"||tarteaucitronMagic.indexOf("_"+service.key+"_")<0){if(true===state&&typeof service.js==="function"){service.js();tarteaucitron.sendEvent(key+"_loaded")}else if(typeof service.fallback==="function"){service.fallback()}}tarteaucitron.userInterface.color(service.key,state);if("wait"===state){tarteaucitron.userInterface.openAlert()}}tarteaucitron.cookie.checkCount(service.key);tarteaucitron.sendEvent(service.key+"_added")},sendEvent:function(event_key){if(event_key!==undefined){var send_event_item;if(typeof Event==="function"){send_event_item=new Event(event_key)}else if(typeof document.createEvent==="function"){send_event_item=document.createEvent("Event");send_event_item.initEvent(event_key,true,true)}document.dispatchEvent(send_event_item)}},cleanArray:function cleanArray(arr){"use strict";var i,len=arr.length,out=[],obj={},s=tarteaucitron.services;for(i=0;is[b].type+s[b].key){return 1}if(s[a].type+s[a].key0&&status===false){tarteaucitron.cookie.purge(tarteaucitron.services[key].cookies)}if(status===true){if(document.getElementById("tacCL"+key)!==null){document.getElementById("tacCL"+key).innerHTML="..."}setTimeout(function(){tarteaucitron.cookie.checkCount(key)},2500)}else{tarteaucitron.cookie.checkCount(key)}}var cats=document.querySelectorAll('[id^="tarteaucitronServicesTitle_"]');Array.prototype.forEach.call(cats,function(item){var cat=item.getAttribute("id").replace(/^(tarteaucitronServicesTitle_)/,""),total=document.getElementById("tarteaucitronServices_"+cat).childElementCount;var doc=document.getElementById("tarteaucitronServices_"+cat),groupdenied=0,groupallowed=0;for(var ii=0;ii0){filtered.push(focusableEls[i])}}firstFocusableEl=filtered[0];lastFocusableEl=filtered[filtered.length-1];document.getElementById(parentElement).addEventListener("keydown",function(evt){if(evt.key==="Tab"||evt.keyCode===9){if(evt.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();evt.preventDefault()}}else{if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();evt.preventDefault()}}}})},openAlert:function(){"use strict";var c="tarteaucitron";tarteaucitron.userInterface.css(c+"Percentage","display","block");tarteaucitron.userInterface.css(c+"AlertSmall","display","none");tarteaucitron.userInterface.css(c+"Icon","display","none");tarteaucitron.userInterface.css(c+"AlertBig","display","block");tarteaucitron.userInterface.addClass(c+"Root","tarteaucitronBeforeVisible");var tacOpenAlertEvent;if(typeof Event==="function"){tacOpenAlertEvent=new Event("tac.open_alert")}else if(typeof document.createEvent==="function"){tacOpenAlertEvent=document.createEvent("Event");tacOpenAlertEvent.initEvent("tac.open_alert",true,true)}if(document.getElementById("tarteaucitronAlertBig")!==null&&tarteaucitron.parameters.orientation==="middle"){document.getElementById("tarteaucitronAlertBig").focus()}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacOpenAlertEvent)}},closeAlert:function(){"use strict";var c="tarteaucitron";tarteaucitron.userInterface.css(c+"Percentage","display","none");tarteaucitron.userInterface.css(c+"AlertSmall","display","block");tarteaucitron.userInterface.css(c+"Icon","display","block");tarteaucitron.userInterface.css(c+"AlertBig","display","none");tarteaucitron.userInterface.removeClass(c+"Root","tarteaucitronBeforeVisible");tarteaucitron.userInterface.jsSizing("box");var tacCloseAlertEvent;if(typeof Event==="function"){tacCloseAlertEvent=new Event("tac.close_alert")}else if(typeof document.createEvent==="function"){tacCloseAlertEvent=document.createEvent("Event");tacCloseAlertEvent.initEvent("tac.close_alert",true,true)}if(typeof window.dispatchEvent==="function"){window.dispatchEvent(tacCloseAlertEvent)}},toggleCookiesList:function(){"use strict";var div=document.getElementById("tarteaucitronCookiesListContainer"),togglediv=document.getElementById("tarteaucitronCookiesNumber");if(div===null){return}if(div.style.display!=="block"){tarteaucitron.cookie.number();div.style.display="block";togglediv.setAttribute("aria-expanded","true");tarteaucitron.userInterface.jsSizing("cookie");tarteaucitron.userInterface.css("tarteaucitron","display","none");tarteaucitron.userInterface.css("tarteaucitronBack","display","block");tarteaucitron.fallback(["tarteaucitronInfoBox"],function(elem){elem.style.display="none"},true)}else{div.style.display="none";togglediv.setAttribute("aria-expanded","false");tarteaucitron.userInterface.css("tarteaucitron","display","none");tarteaucitron.userInterface.css("tarteaucitronBack","display","none")}},toggle:function(id,closeClass){"use strict";var div=document.getElementById(id);if(div===null){return}if(closeClass!==undefined){tarteaucitron.fallback([closeClass],function(elem){if(elem.id!==id){elem.style.display="none"}},true)}if(div.style.display!=="block"){div.style.display="block"}else{div.style.display="none"}},order:function(id){"use strict";var main=document.getElementById("tarteaucitronServices_"+id),allDivs,store=[],i;if(main===null){return}allDivs=main.childNodes;if(typeof Array.prototype.map==="function"&&typeof Enumerable==="undefined"){Array.prototype.map.call(main.children,Object).sort(function(a,b){if(tarteaucitron.services[a.id.replace(/Line/g,"")].name>tarteaucitron.services[b.id.replace(/Line/g,"")].name){return 1}if(tarteaucitron.services[a.id.replace(/Line/g,"")].name=0&&nb===0){html+=tarteaucitron.lang.useNoCookie}else if(status>=0){for(i=0;i0){html+=tarteaucitron.lang.useCookieCurrent+" "+nbCurrent+" cookie";if(nbCurrent>1){html+="s"}html+="."}else{html+=tarteaucitron.lang.useNoCookie}}else if(nb===0){html=tarteaucitron.lang.noCookie}else{html+=tarteaucitron.lang.useCookie+" "+nb+" cookie";if(nb>1){html+="s"}html+="."}if(document.getElementById("tacCL"+key)!==null){document.getElementById("tacCL"+key).innerHTML=html}},crossIndexOf:function(arr,match){"use strict";var i;for(i=0;i1?"s":"",savedname,regex=/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i,regexedDomain=tarteaucitron.cdn.match(regex)!==null?tarteaucitron.cdn.match(regex)[1]:tarteaucitron.cdn,host=tarteaucitron.domain!==undefined?tarteaucitron.domain:regexedDomain;cookies=cookies.sort(function(a,b){namea=a.split("=",1).toString().replace(/ /g,"");nameb=b.split("=",1).toString().replace(/ /g,"");c=tarteaucitron.cookie.owner[namea]!==undefined?tarteaucitron.cookie.owner[namea]:"0";d=tarteaucitron.cookie.owner[nameb]!==undefined?tarteaucitron.cookie.owner[nameb]:"0";if(c+a>d+b){return 1}if(c+a';html+=' ';html+=" "+host;html+=" ";html+='"}else{html+='
    ';html+='
    -
    ';html+='
    ';html+="
    "}html+='
    ';if(document.getElementById("tarteaucitronCookiesList")!==null){document.getElementById("tarteaucitronCookiesList").innerHTML=html}if(document.getElementById("tarteaucitronCookiesNumber")!==null){document.getElementById("tarteaucitronCookiesNumber").innerHTML=nb;document.getElementById("tarteaucitronCookiesNumber").setAttribute("aria-label",nb+" cookie"+s+" - "+tarteaucitron.lang.toggleInfoBox);document.getElementById("tarteaucitronCookiesNumber").setAttribute("title",nb+" cookie"+s+" - "+tarteaucitron.lang.toggleInfoBox)}if(document.getElementById("tarteaucitronCookiesNumberBis")!==null){document.getElementById("tarteaucitronCookiesNumberBis").innerHTML=nb+" cookie"+s}var purgeBtns=document.getElementsByClassName("purgeBtn");for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},getLanguage:function(){"use strict";var availableLanguages="ar,bg,ca,cn,cs,da,de,et,el,en,es,fi,fr,hu,it,ja,lb,lt,lv,nl,no,oc,pl,pt,ro,ru,se,sk,sv,tr,uk,vi,zh",defaultLanguage="en";if(tarteaucitronForceLanguage!==""){if(availableLanguages.indexOf(tarteaucitronForceLanguage)!==-1){return tarteaucitronForceLanguage}}if(availableLanguages.indexOf(document.documentElement.getAttribute("lang").substr(0,2))!==-1){return document.documentElement.getAttribute("lang").substr(0,2)}if(!navigator){return defaultLanguage}var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(availableLanguages.indexOf(userLanguage)!==-1){return userLanguage}return defaultLanguage},getLocale:function(){"use strict";if(!navigator){return"en_US"}var lang=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLang||null,userLanguage=lang?lang.substr(0,2):null;if(userLanguage==="fr"){return"fr_FR"}else if(userLanguage==="en"){return"en_US"}else if(userLanguage==="de"){return"de_DE"}else if(userLanguage==="es"){return"es_ES"}else if(userLanguage==="it"){return"it_IT"}else if(userLanguage==="pt"){return"pt_PT"}else if(userLanguage==="nl"){return"nl_NL"}else if(userLanguage==="el"){return"el_EL"}else{return"en_US"}},addScript:function(url,id,callback,execute,attrName,attrVal,internal){"use strict";var script,done=false;if(execute===false){if(typeof callback==="function"){callback()}}else{script=document.createElement("script");if(id!==undefined){script.id=id}script.async=true;script.src=url;if(attrName!==undefined&&attrVal!==undefined){script.setAttribute(attrName,attrVal)}if(typeof callback==="function"){if(!tarteaucitron.parameters.useExternalJs||!internal){script.onreadystatechange=script.onload=function(){var state=script.readyState;if(!done&&(!state||/loaded|complete/.test(state))){done=true;callback()}}}else{callback()}}if(!tarteaucitron.parameters.useExternalJs||!internal){document.getElementsByTagName("head")[0].appendChild(script)}}},addInternalScript:function(url,id,callback,execute,attrName,attrVal){tarteaucitron.addScript(url,id,callback,execute,attrName,attrVal,true)},checkIfExist:function(elemId){"use strict";return document.getElementById(elemId)!==null&&document.getElementById(elemId).offsetWidth!==0&&document.getElementById(elemId).offsetHeight!==0},makeAsync:{antiGhost:0,buffer:"",init:function(url,id){"use strict";var savedWrite=document.write,savedWriteln=document.writeln;document.write=function(content){tarteaucitron.makeAsync.buffer+=content};document.writeln=function(content){tarteaucitron.makeAsync.buffer+=content.concat("\n")};setTimeout(function(){document.write=savedWrite;document.writeln=savedWriteln},2e4);tarteaucitron.makeAsync.getAndParse(url,id)},getAndParse:function(url,id){"use strict";if(tarteaucitron.makeAsync.antiGhost>9){tarteaucitron.makeAsync.antiGhost=0;return}tarteaucitron.makeAsync.antiGhost+=1;tarteaucitron.addInternalScript(url,"",function(){if(document.getElementById(id)!==null){document.getElementById(id).innerHTML+=" "+tarteaucitron.makeAsync.buffer;tarteaucitron.makeAsync.buffer="";tarteaucitron.makeAsync.execJS(id)}})},execJS:function(id){var i,scripts,childId,type;if(document.getElementById(id)===null){return}scripts=document.getElementById(id).getElementsByTagName("script");for(i=0;i';tarteaucitron.makeAsync.getAndParse(scripts[i].getAttribute("src"),childId)}else if(type.indexOf("javascript")!==-1||type===""){eval(scripts[i].innerHTML)}}}},fallback:function(matchClass,content,noInner){"use strict";var elems=document.getElementsByTagName("*"),i,index=0;for(i in elems){if(elems[i]!==undefined){for(index=0;index-1){if(typeof content==="function"){if(noInner===true){content(elems[i])}else{elems[i].innerHTML=content(elems[i])}}else{elems[i].innerHTML=content}}}}}},engage:function(id){"use strict";var html="",r=Math.floor(Math.random()*1e5),engage=tarteaucitron.services[id].name+" "+tarteaucitron.lang.fallback;if(tarteaucitron.lang["engage-"+id]!==undefined){engage=tarteaucitron.lang["engage-"+id]}html+='
    ';html+='
    ';html+=" "+engage;html+=' ";html+="
    ";html+="
    ";return html},extend:function(a,b){"use strict";var prop;for(prop in b){if(b.hasOwnProperty(prop)){a[prop]=b[prop]}}},proTemp:"",proTimer:function(){"use strict";setTimeout(tarteaucitron.proPing,Math.floor(Math.random()*(1200-500+1))+500)},pro:function(list){"use strict";tarteaucitron.proTemp+=list;clearTimeout(tarteaucitron.proTimer);tarteaucitron.proTimer=setTimeout(tarteaucitron.proPing,Math.floor(Math.random()*(1200-500+1))+500)},proPing:function(){"use strict";if(tarteaucitron.uuid!==""&&tarteaucitron.uuid!==undefined&&tarteaucitron.proTemp!==""&&tarteaucitronStatsEnabled){var div=document.getElementById("tarteaucitronPremium"),timestamp=(new Date).getTime(),url="https://tarteaucitron.io/log/?";if(div===null){return}url+="account="+tarteaucitron.uuid+"&";url+="domain="+tarteaucitron.domain+"&";url+="status="+encodeURIComponent(tarteaucitron.proTemp)+"&";url+="_time="+timestamp;div.innerHTML='';tarteaucitron.proTemp=""}tarteaucitron.cookie.number()},AddOrUpdate:function(source,custom){for(var key in custom){if(custom[key]instanceof Object){source[key]=tarteaucitron.AddOrUpdate(source[key],custom[key])}else{source[key]=custom[key]}}return source},getElemWidth:function(elem){return tarteaucitron.getElemAttr(elem,"width")||elem.clientWidth},getElemHeight:function(elem){return tarteaucitron.getElemAttr(elem,"height")||elem.clientHeight},getElemAttr:function(elem,attr){var attribute=elem.getAttribute("data-"+attr)||elem.getAttribute(attr);if(typeof attribute==="string"){return tarteaucitron.fixSelfXSS(attribute)}return""},addClickEventToId:function(elemId,func){tarteaucitron.addClickEventToElement(document.getElementById(elemId),func)},addClickEventToElement:function(e,func){if(e){if(e.addEventListener){e.addEventListener("click",func)}else{e.attachEvent("onclick",func)}}},triggerJobsAfterAjaxCall:function(){tarteaucitron.job.forEach(function(e){tarteaucitron.job.push(e)});var i;var allowBtns=document.getElementsByClassName("tarteaucitronAllow");for(i=0;i