diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a0a6e6..98f040ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ + +# [2.2.0](https://github.com/lmc-eu/cookie-consent-manager/compare/2.1.2...2.2.0) (2022-04-28) + +### Bug Fixes + +- Prevent content from being unreachable on short viewports ([3a843e7](https://github.com/lmc-eu/cookie-consent-manager/commit/3a843e7)) + +### Dependencies + +- Force dependency update of vulnerable minimist ([9d75378](https://github.com/lmc-eu/cookie-consent-manager/commit/9d75378)) +- Update all dev dependencies ([55afece](https://github.com/lmc-eu/cookie-consent-manager/commit/55afece), [79893f5](https://github.com/lmc-eu/cookie-consent-manager/commit/79893f5), [8b06890](https://github.com/lmc-eu/cookie-consent-manager/commit/8b06890), [c879760](https://github.com/lmc-eu/cookie-consent-manager/commit/c879760), [e616579](https://github.com/lmc-eu/cookie-consent-manager/commit/e616579)) +- Update dependency @lmc-eu/spirit-design-tokens to ^0.9.0 ([8d45d29](https://github.com/lmc-eu/cookie-consent-manager/commit/8d45d29)) + +### Documentation + +- Improve text flow in table ([3728df7](https://github.com/lmc-eu/cookie-consent-manager/commit/3728df7)) + +### Features + +- Add secondaryButtonMode to choose secondary button behavior [#CCM-64](https://jira.int.lmc.cz/browse/CCM-64) ([e480b2d](https://github.com/lmc-eu/cookie-consent-manager/commit/e480b2d)) + +### Styles + +- Conform to updated stylelint rules ([15e3fef](https://github.com/lmc-eu/cookie-consent-manager/commit/15e3fef)) +- Decapitalize '{object}' as per eslint recommendation ([bf49a10](https://github.com/lmc-eu/cookie-consent-manager/commit/bf49a10)) +- Remap tokens ([f350cf6](https://github.com/lmc-eu/cookie-consent-manager/commit/f350cf6)) + + ## [2.1.2](https://github.com/lmc-eu/cookie-consent-manager/compare/2.1.1...2.1.2) (2022-03-23) diff --git a/dist/LmcCookieConsentManager.cjs b/dist/LmcCookieConsentManager.cjs index a12e86e1..f80a493b 100644 --- a/dist/LmcCookieConsentManager.cjs +++ b/dist/LmcCookieConsentManager.cjs @@ -705,35 +705,10 @@ var nanoid = (size = 21) => { return id; }; -// src/utils.ts -var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { - if (i === 0) { - return `${accumulator}${string}`; - } - if (i === strings.length - 1) { - return `${accumulator} ${and}\xA0${string}`; - } - return `${accumulator}, ${string}`; -}); -var pluralize = (count, singular, plural) => count === 1 ? singular : plural; -var assembleDescriptionIntro = (defaultValue, overrideValue) => { - const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; - return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; -}; - -// src/constants/CookieConsentCategory.ts -var CookieConsentCategory = { - NECESSARY: "necessary", - AD: "ad", - ANALYTICS: "analytics", - FUNCTIONALITY: "functionality", - PERSONALIZATION: "personalization" -}; - -// src/constants/DisplayMode.ts -var DisplayMode = { - FORCE: "force", - SOFT: "soft" +// src/constants/SecondaryButtonMode.ts +var SecondaryButtonMode = { + ACCEPT_NECESSARY: "acceptNecessary", + SHOW_SETTINGS: "showSettings" }; // src/types/vanilla-cookieconsent.ts @@ -790,13 +765,53 @@ var VanillaCookieConsent; })(Transition = VanillaCookieConsent2.Transition || (VanillaCookieConsent2.Transition = {})); })(VanillaCookieConsent || (VanillaCookieConsent = {})); +// src/utils.ts +var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { + if (i === 0) { + return `${accumulator}${string}`; + } + if (i === strings.length - 1) { + return `${accumulator} ${and}\xA0${string}`; + } + return `${accumulator}, ${string}`; +}); +var pluralize = (count, singular, plural) => count === 1 ? singular : plural; +var assembleDescriptionIntro = (defaultValue, overrideValue) => { + const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; + return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; +}; +var assembleSecondaryButton = (secondaryButtonMode, textAcceptNecessary, textShowSettings) => { + return { + text: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? textAcceptNecessary : textShowSettings, + role: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY : VanillaCookieConsent.SecondaryButtonRole.SETTINGS + }; +}; +var isSettingsButtonNotShown = (secondaryButtonMode) => { + return secondaryButtonMode !== SecondaryButtonMode.SHOW_SETTINGS; +}; + +// src/constants/CookieConsentCategory.ts +var CookieConsentCategory = { + NECESSARY: "necessary", + AD: "ad", + ANALYTICS: "analytics", + FUNCTIONALITY: "functionality", + PERSONALIZATION: "personalization" +}; + +// src/constants/DisplayMode.ts +var DisplayMode = { + FORCE: "force", + SOFT: "soft" +}; + // src/languages/cs.ts var extra = { and: "a", company: "spole\u010Dnosti", companies: "spole\u010Dnostem" }; -var config = (extraMessages) => { +var config = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra), extraMessages); return { @@ -809,17 +824,13 @@ var config = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} souhlas s\xA0vyu\u017E\xEDv\xE1n\xEDm soubor\u016F Cookies na\xA0\xFA\u010Dely personalizace, anal\xFDzy a\xA0c\xEDlen\xE9ho marketingu. - Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete - ve\xA0vlastn\xEDm nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete ve\xA0vlastn\xEDm nastaven\xED.` : ""}

`, primary_btn: { text: "P\u0159ijmout v\u0161echny", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "P\u0159ijmout nezbytn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "P\u0159ijmout nezbytn\xE9", "Vlastn\xED nastaven\xED") }, settings_modal: { title: "P\u0159izp\u016Fsobit nastaven\xED Cookies", @@ -892,7 +903,7 @@ var config = (extraMessages) => { var extra2 = { and: "und" }; -var config2 = (extraMessages) => { +var config2 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra2), extraMessages); return { @@ -904,17 +915,13 @@ var config2 = (extraMessages) => { Indem Sie auf \u201EAlles\xA0akzeptieren\u201C klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Ger\xE4t durch ${addSeparators(lang.companyNames, extra2.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen. - Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren - eigenen Einstellungen anpassen. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren eigenen Einstellungen anpassen.` : ""}

`, primary_btn: { text: "Alles akzeptieren", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Das Notwendigste akzeptieren", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Das Notwendigste akzeptieren", "Eigene Einstellungen") }, settings_modal: { title: "Benutzerdefinierte Cookie-Einstellungen", @@ -983,7 +990,7 @@ var config2 = (extraMessages) => { var extra3 = { and: "and" }; -var config3 = (extraMessages) => { +var config3 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra3), extraMessages); return { @@ -995,16 +1002,13 @@ var config3 = (extraMessages) => { By clicking the "Accept all" button, you give ${addSeparators(lang.companyNames, extra3.and)} your consent to\xA0use cookies for\xA0personalisation, analytics and\xA0targeted marketing. - You can customize use of cookies in your own settings. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `You can customize use of cookies in your custom settings.` : ""}

`, primary_btn: { text: "Accept all", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Accept necessary", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Accept necessary", "Custom settings") }, settings_modal: { title: "Custom Cookie settings", @@ -1072,7 +1076,7 @@ var config3 = (extraMessages) => { var extra4 = { and: "\xE9s" }; -var config4 = (extraMessages) => { +var config4 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); return { @@ -1084,16 +1088,13 @@ var config4 = (extraMessages) => { A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az ${addSeparators(lang.companyNames, extra4.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. - A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, primary_btn: { text: "Minden elfogad\xE1sa", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", "Egy\xE9ni be\xE1ll\xEDt\xE1sok") }, settings_modal: { title: "Egyedi cookie-f\xE1jl be\xE1ll\xEDt\xE1sok", @@ -1163,7 +1164,7 @@ var extra5 = { company: "firm\u0119", companies: "firmy" }; -var config5 = (extraMessages) => { +var config5 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { @@ -1176,17 +1177,13 @@ var config5 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, extra5.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. - Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 - we\xA0w\u0142asnych ustawieniach. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, primary_btn: { text: "Akceptuj wszystkie", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Akceptuj niezb\u0119dne", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Akceptuj niezb\u0119dne", "W\u0142asne ustawienia") }, settings_modal: { title: "W\u0142asne ustawienia plik\xF3w cookies", @@ -1257,7 +1254,7 @@ var extra6 = { company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C" }; -var config6 = (extraMessages) => { +var config6 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { @@ -1270,17 +1267,13 @@ var config6 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0412\u0430\u0448\u0435\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043E\u0431\u043B\u0435\u0433\u0447\u0438\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430, \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0438\u0437 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438\xA0\u0443\u0441\u043B\u0443\u0433. - \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie - \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", "C\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0439") }, settings_modal: { title: "\u0418\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookies", @@ -1351,7 +1344,7 @@ var extra7 = { company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam" }; -var config7 = (extraMessages) => { +var config7 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { @@ -1364,17 +1357,13 @@ var config7 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} s\xFAhlas s\xA0vyu\u017E\xEDvan\xEDm s\xFAborov Cookies za\xA0\xFA\u010Delom personaliz\xE1cie, anal\xFDzy a\xA0cielen\xE9ho marketingu. - Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete - vo\xA0vlastnom nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete vo\xA0vlastnom nastaven\xED.` : ""}

`, primary_btn: { text: "Prija\u0165 v\u0161etky", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Prija\u0165 nevyhnutn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prija\u0165 nevyhnutn\xE9", "Vlastn\xE9 nastavenia") }, settings_modal: { title: "Prisp\xF4sobi\u0165 nastavenia cookies", @@ -1444,7 +1433,7 @@ var extra8 = { company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C" }; -var config8 = (extraMessages) => { +var config8 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { @@ -1457,17 +1446,13 @@ var config8 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043D\u0430 \u0412\u0430\u0448\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0446\u0438\u0445 \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043F\u043E\u043B\u0435\u0433\u0448\u0438\u0442\u044C \u043D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443, \u0446\u0456\u043B\u044C\u043E\u0432\u0438\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0456\u0437 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0456\u0432 \u0456\xA0\u043F\u043E\u0441\u043B\u0443\u0433. - \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 - \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", "\u0412\u043B\u0430\u0441\u043D\u0439e \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u0439e") }, settings_modal: { title: "\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies", @@ -1585,6 +1570,7 @@ var defaultOptions = { onChange: noopChangeCallback, companyNames: ["LMC"], displayMode: DisplayMode.FORCE, + secondaryButtonMode: SecondaryButtonMode.ACCEPT_NECESSARY, translationOverrides: {}, config: {} }; @@ -1602,20 +1588,21 @@ var LmcCookieConsentManager = (serviceName, args) => { onChange, companyNames, displayMode, + secondaryButtonMode, translationOverrides, config: config9 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); const languages = { - cs: config(__spreadValues({ companyNames }, translationOverrides.cs)), - de: config2(__spreadValues({ companyNames }, translationOverrides.de)), - en: config3(__spreadValues({ companyNames }, translationOverrides.en)), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu)), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl)), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru)), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk)), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk)) + cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), + de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), + en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), + hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); diff --git a/dist/LmcCookieConsentManager.css b/dist/LmcCookieConsentManager.css index 6c8939cf..6c2370ec 100644 --- a/dist/LmcCookieConsentManager.css +++ b/dist/LmcCookieConsentManager.css @@ -1412,17 +1412,26 @@ html.force--consent.show--consent body { /** END IE FIXES **/ :root { - --lmcccm-p-font-family: var(--lmcccm-font-family, Inter, sans-serif); - --lmcccm-p-base-font-size: var(--lmcccm-base-font-size, 1em); + --lmcccm-p-font-family: var( + --lmcccm-font-family, + 'Inter', sans-serif + ); + --lmcccm-p-base-font-size: var( + --lmcccm-base-font-size, + 1em + ); --lmcccm-p-bg: var(--lmcccm-bg, #fff); --lmcccm-p-text: var(--lmcccm-text, #132930); - --lmcccm-p-backdrop-color: var(--lmcccm-backdrop-color, #0b1c2160); + --lmcccm-p-backdrop-color: var(--lmcccm-backdrop-color, rgba(11, 28, 33, 0.6)); --lmcccm-p-link-text: var(--lmcccm-link-text, #29616f); --lmcccm-p-link-text-decoration: var(--lmcccm-link-text-decoration, underline); --lmcccm-p-link-hover-text: var(--lmcccm-link-hover-text, #1b5260); --lmcccm-p-link-hover-text-decoration: var(--lmcccm-link-hover-text-decoration, underline); --lmcccm-p-link-active-text: var(--lmcccm-link-active-text, #0b3a46); - --lmcccm-p-btn-font-weight: var(--lmcccm-btn-font-weight, 600); + --lmcccm-p-btn-font-weight: var( + --lmcccm-btn-font-weight, + 600 + ); --lmcccm-p-btn-text-transform: var(--lmcccm-btn-text-transform, initial); --lmcccm-p-btn-border-width: var(--lmcccm-btn-border-width, 1px); --lmcccm-p-btn-border-style: var(--lmcccm-btn-border-style, solid); @@ -1454,7 +1463,7 @@ html.force--consent.show--consent body { --lmcccm-modal-max-width, min(50em, calc(100vw - 2em)) ); - --lmcccm-p-modal-max-height: var(--lmcccm-modal-max-height, 37em); + --lmcccm-p-modal-max-height: var(--lmcccm-modal-max-height, 38.5em); --lmcccm-p-modal-border-radius: var(--lmcccm-modal-border-radius, 0.5em); --lmcccm-p-modal-bg: var(--lmcccm-modal-bg, var(--lmcccm-p-bg)); --lmcccm-p-modal-text: var(--lmcccm-modal-text, var(--lmcccm-p-text)); @@ -1499,7 +1508,7 @@ html.force--consent.show--consent body { line-height: 1.5; } .cc_div strong { - font-weight: 700; + font-weight: 600; } #c-txt p:not(:last-child) { @@ -1653,9 +1662,12 @@ html.force--consent.show--consent body { } #cm { + overflow-y: auto; + -webkit-overflow-scrolling: touch; max-width: 40em; + max-height: calc(100vh - 2em); padding: 2em; - box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15); + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1490196078); } #cm.box, @@ -1663,6 +1675,10 @@ html.force--consent.show--consent body { padding: 2.5em; } +#cm.bar { + max-height: 100vh; +} + #cm.bar #c-inr { display: flex; align-items: flex-end; @@ -1692,6 +1708,7 @@ html.force--consent.show--consent body { } #cm.cloud { + overflow-y: auto; max-width: 68em; padding: 2.5em 3em; } @@ -1778,7 +1795,7 @@ html.force--consent.show--consent body { padding-top: 4.8125em; padding-bottom: 5.5em; border-radius: var(--lmcccm-p-modal-border-radius); - box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2); + box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2); } @media screen and (max-width: 688px) { #s-inr { @@ -1851,7 +1868,7 @@ html.force--consent.show--consent body { } #s-c-bn::before, #s-c-bn::after { width: 2.5px; - background-color: currentColor; + background-color: currentcolor; } #s-c-bn:hover, #s-c-bn:active { background-color: transparent; @@ -1887,7 +1904,7 @@ html.force--consent.show--consent body { padding: 1em 5em 1em 3.25em; font-size: 1em; font-weight: 400; - line-height: 1.2; + line-height: 1.5; } .cc_div .act .b-bn .exp::before, diff --git a/dist/LmcCookieConsentManager.css.map b/dist/LmcCookieConsentManager.css.map index b6f11d54..e60f8adb 100644 --- a/dist/LmcCookieConsentManager.css.map +++ b/dist/LmcCookieConsentManager.css.map @@ -1 +1 @@ -{"version":3,"sources":["LmcCookieConsentManager.css","../node_modules/vanilla-cookieconsent/src/cookieconsent.css","../src/scss/theme/_default.scss","../src/scss/theme/_vanilla.scss","../src/scss/style/_typography.scss","../node_modules/@lmc-eu/spirit-design-tokens/scss/_typography.scss","../src/scss/style/_links.scss","../src/scss/style/_buttons.scss","../src/scss/settings/_settings.scss","../src/scss/style/_toggles.scss","../src/scss/style/_main.scss","../src/scss/style/_consent-modal.scss","../node_modules/@lmc-eu/spirit-design-tokens/scss/_shadows.scss","../src/scss/style/_settings-modal.scss","../node_modules/@lmc-eu/spirit-design-tokens/scss/_borders.scss","../src/L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AAA;EbmtDN;AACF;;AahtDA;EACI,0CAAA;AbmtDJ;;Aa9sDI;EADJ;IAEQ,sBLvE+B;ERyxDrC;AACF;;Aa9sDI;EADJ;IAEQ,0BAAA;EbktDN;AACF;;Aa9sDA;EACI,oBAAA;EACA,gBAAA;EACA,cAAA;EACA,6BAAA;EACA,YAAA;EACA,gBAAA;AbitDJ;Aa/sDI;EAEI,YAAA;EACA,8BAAA;AbgtDR;Aa7sDI;EAEI,6BAAA;Ab8sDR;;AazsDA;EACI,aAAA;EACA,kBAAA;EACA,cAAA;Ab4sDJ;;AazsDA;;;EAGI,4DAAA;Ab4sDJ;;AazsDA;EACI,oBAAA;Ab4sDJ;Aa1sDI;EACI,kBAAA;Ab4sDR;AazsDI;EACI,gBAAA;Ab2sDR;;AavsDA;EACI,YAAA;Ab0sDJ;;AavsDA;EACI,2BAAA;EACA,cAAA;EACA,gBRzGkB;EQ0GlB,gBRxJgB;ALk2DpB;;AavsDA;;EAEI,QAAA;EACA,qBAAA;Ab0sDJ;;Ae52DA;;;;EAAA","file":"LmcCookieConsentManager.css"} \ No newline at end of file +{"version":3,"sources":["LmcCookieConsentManager.css","../node_modules/vanilla-cookieconsent/src/cookieconsent.css","../src/scss/theme/_default.scss","../src/scss/theme/_vanilla.scss","../src/scss/style/_typography.scss","../src/scss/style/_links.scss","../src/scss/style/_buttons.scss","../src/scss/settings/_settings.scss","../src/scss/style/_toggles.scss","../src/scss/style/_main.scss","../src/scss/style/_consent-modal.scss","../node_modules/@lmc-eu/spirit-design-tokens/scss/_shadows.scss","../src/scss/style/_settings-modal.scss","../node_modules/@lmc-eu/spirit-design-tokens/scss/_borders.scss","../src/LmcCookieConsentManager.scss"],"names":[],"mappings":"AAAA,gBAAgB;ACAhB,yBAAA;AACA;EACI,aAAA;EACA,kBAAA;EACA,4BAAA;EACA,mCAAA;EACA,kCAAA;EACA,8BAAA;EACA,uCAAA;EACA,oCAAA;EACA,2BAAA;EACA,2CAAA;EACA,gCAAA;EACA,y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I;EADJ;IAEQ,0BAAA;EZkuDN;AACF;;AY9tDA;EACI,oBAAA;EACA,gBAAA;EACA,cAAA;EACA,6BAAA;EACA,YAAA;EACA,gBAAA;AZiuDJ;AY/tDI;EAEI,YAAA;EACA,8BAAA;AZguDR;AY7tDI;EAEI,6BAAA;AZ8tDR;;AYztDA;EACI,aAAA;EACA,kBAAA;EACA,cAAA;AZ4tDJ;;AYztDA;;;EAGI,4DAAA;AZ4tDJ;;AYztDA;EACI,oBAAA;AZ4tDJ;AY1tDI;EACI,kBAAA;AZ4tDR;AYztDI;EACI,gBAAA;AZ2tDR;;AYvtDA;EACI,YAAA;AZ0tDJ;;AYvtDA;EACI,2BAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;AZ0tDJ;;AYvtDA;;EAEI,QAAA;EACA,qBAAA;AZ0tDJ;;Ac73DA;;;;EAAA","file":"LmcCookieConsentManager.css"} \ No newline at end of file diff --git a/dist/LmcCookieConsentManager.d.ts b/dist/LmcCookieConsentManager.d.ts index ef48cd2f..5f6af815 100644 --- a/dist/LmcCookieConsentManager.d.ts +++ b/dist/LmcCookieConsentManager.d.ts @@ -15,8 +15,10 @@ import { VanillaCookieConsent } from './types/vanilla-cookieconsent'; * @param {OnChangeCallback} [args.onChange] - Callback to be executed right after user change his/her preferences * @param {Array} [args.companyNames] - Array of strings with company names. Adjust only when the consent needs * to be given to multiple companies. - * @param {DisplayMode} [args.displayMode] - `force` to show consent in a centered modal box and to block page until - * user action. `soft` to show consent in a banner on the bottom of the page. + * @param {DisplayMode} [args.displayMode] - Which button should be displayed next to "Accept all" button. Either + * `acceptNecessary` (default) or `showSettings`. + * @param {SecondaryButtonMode} [args.secondaryButtonMode] - `force` (default) to show consent in a centered modal box + * and to block page until user action. `soft` to show consent in a banner on the bottom of the page. * @param {Record} [args.translationOverrides] - Translation overrides for specified languages * @param {VanillaCookieConsent.Options} [args.config] - Override default config. * See https://github.com/orestbida/cookieconsent/blob/master/Readme.md#all-available-options diff --git a/dist/LmcCookieConsentManager.js b/dist/LmcCookieConsentManager.js index 64ff2c2e..25db2866 100644 --- a/dist/LmcCookieConsentManager.js +++ b/dist/LmcCookieConsentManager.js @@ -661,35 +661,10 @@ return id; }; - // src/utils.ts - var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { - if (i === 0) { - return `${accumulator}${string}`; - } - if (i === strings.length - 1) { - return `${accumulator} ${and}\xA0${string}`; - } - return `${accumulator}, ${string}`; - }); - var pluralize = (count, singular, plural) => count === 1 ? singular : plural; - var assembleDescriptionIntro = (defaultValue, overrideValue) => { - const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; - return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; - }; - - // src/constants/CookieConsentCategory.ts - var CookieConsentCategory = { - NECESSARY: "necessary", - AD: "ad", - ANALYTICS: "analytics", - FUNCTIONALITY: "functionality", - PERSONALIZATION: "personalization" - }; - - // src/constants/DisplayMode.ts - var DisplayMode = { - FORCE: "force", - SOFT: "soft" + // src/constants/SecondaryButtonMode.ts + var SecondaryButtonMode = { + ACCEPT_NECESSARY: "acceptNecessary", + SHOW_SETTINGS: "showSettings" }; // src/types/vanilla-cookieconsent.ts @@ -746,13 +721,53 @@ })(Transition = VanillaCookieConsent2.Transition || (VanillaCookieConsent2.Transition = {})); })(VanillaCookieConsent || (VanillaCookieConsent = {})); + // src/utils.ts + var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { + if (i === 0) { + return `${accumulator}${string}`; + } + if (i === strings.length - 1) { + return `${accumulator} ${and}\xA0${string}`; + } + return `${accumulator}, ${string}`; + }); + var pluralize = (count, singular, plural) => count === 1 ? singular : plural; + var assembleDescriptionIntro = (defaultValue, overrideValue) => { + const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; + return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; + }; + var assembleSecondaryButton = (secondaryButtonMode, textAcceptNecessary, textShowSettings) => { + return { + text: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? textAcceptNecessary : textShowSettings, + role: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY : VanillaCookieConsent.SecondaryButtonRole.SETTINGS + }; + }; + var isSettingsButtonNotShown = (secondaryButtonMode) => { + return secondaryButtonMode !== SecondaryButtonMode.SHOW_SETTINGS; + }; + + // src/constants/CookieConsentCategory.ts + var CookieConsentCategory = { + NECESSARY: "necessary", + AD: "ad", + ANALYTICS: "analytics", + FUNCTIONALITY: "functionality", + PERSONALIZATION: "personalization" + }; + + // src/constants/DisplayMode.ts + var DisplayMode = { + FORCE: "force", + SOFT: "soft" + }; + // src/languages/cs.ts var extra = { and: "a", company: "spole\u010Dnosti", companies: "spole\u010Dnostem" }; - var config = (extraMessages) => { + var config = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra), extraMessages); return { @@ -765,17 +780,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} souhlas s\xA0vyu\u017E\xEDv\xE1n\xEDm soubor\u016F Cookies na\xA0\xFA\u010Dely personalizace, anal\xFDzy a\xA0c\xEDlen\xE9ho marketingu. - Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete - ve\xA0vlastn\xEDm nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete ve\xA0vlastn\xEDm nastaven\xED.` : ""}

`, primary_btn: { text: "P\u0159ijmout v\u0161echny", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "P\u0159ijmout nezbytn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "P\u0159ijmout nezbytn\xE9", "Vlastn\xED nastaven\xED") }, settings_modal: { title: "P\u0159izp\u016Fsobit nastaven\xED Cookies", @@ -848,7 +859,7 @@ var extra2 = { and: "und" }; - var config2 = (extraMessages) => { + var config2 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra2), extraMessages); return { @@ -860,17 +871,13 @@ Indem Sie auf \u201EAlles\xA0akzeptieren\u201C klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Ger\xE4t durch ${addSeparators(lang.companyNames, extra2.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen. - Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren - eigenen Einstellungen anpassen. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren eigenen Einstellungen anpassen.` : ""}

`, primary_btn: { text: "Alles akzeptieren", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Das Notwendigste akzeptieren", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Das Notwendigste akzeptieren", "Eigene Einstellungen") }, settings_modal: { title: "Benutzerdefinierte Cookie-Einstellungen", @@ -939,7 +946,7 @@ var extra3 = { and: "and" }; - var config3 = (extraMessages) => { + var config3 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra3), extraMessages); return { @@ -951,16 +958,13 @@ By clicking the "Accept all" button, you give ${addSeparators(lang.companyNames, extra3.and)} your consent to\xA0use cookies for\xA0personalisation, analytics and\xA0targeted marketing. - You can customize use of cookies in your own settings. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `You can customize use of cookies in your custom settings.` : ""}

`, primary_btn: { text: "Accept all", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Accept necessary", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Accept necessary", "Custom settings") }, settings_modal: { title: "Custom Cookie settings", @@ -1028,7 +1032,7 @@ var extra4 = { and: "\xE9s" }; - var config4 = (extraMessages) => { + var config4 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); return { @@ -1040,16 +1044,13 @@ A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az ${addSeparators(lang.companyNames, extra4.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. - A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, primary_btn: { text: "Minden elfogad\xE1sa", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", "Egy\xE9ni be\xE1ll\xEDt\xE1sok") }, settings_modal: { title: "Egyedi cookie-f\xE1jl be\xE1ll\xEDt\xE1sok", @@ -1119,7 +1120,7 @@ company: "firm\u0119", companies: "firmy" }; - var config5 = (extraMessages) => { + var config5 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { @@ -1132,17 +1133,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, extra5.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. - Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 - we\xA0w\u0142asnych ustawieniach. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, primary_btn: { text: "Akceptuj wszystkie", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Akceptuj niezb\u0119dne", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Akceptuj niezb\u0119dne", "W\u0142asne ustawienia") }, settings_modal: { title: "W\u0142asne ustawienia plik\xF3w cookies", @@ -1213,7 +1210,7 @@ company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C" }; - var config6 = (extraMessages) => { + var config6 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { @@ -1226,17 +1223,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0412\u0430\u0448\u0435\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043E\u0431\u043B\u0435\u0433\u0447\u0438\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430, \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0438\u0437 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438\xA0\u0443\u0441\u043B\u0443\u0433. - \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie - \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", "C\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0439") }, settings_modal: { title: "\u0418\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookies", @@ -1307,7 +1300,7 @@ company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam" }; - var config7 = (extraMessages) => { + var config7 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { @@ -1320,17 +1313,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} s\xFAhlas s\xA0vyu\u017E\xEDvan\xEDm s\xFAborov Cookies za\xA0\xFA\u010Delom personaliz\xE1cie, anal\xFDzy a\xA0cielen\xE9ho marketingu. - Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete - vo\xA0vlastnom nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete vo\xA0vlastnom nastaven\xED.` : ""}

`, primary_btn: { text: "Prija\u0165 v\u0161etky", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Prija\u0165 nevyhnutn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prija\u0165 nevyhnutn\xE9", "Vlastn\xE9 nastavenia") }, settings_modal: { title: "Prisp\xF4sobi\u0165 nastavenia cookies", @@ -1400,7 +1389,7 @@ company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C" }; - var config8 = (extraMessages) => { + var config8 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { @@ -1413,17 +1402,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043D\u0430 \u0412\u0430\u0448\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0446\u0438\u0445 \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043F\u043E\u043B\u0435\u0433\u0448\u0438\u0442\u044C \u043D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443, \u0446\u0456\u043B\u044C\u043E\u0432\u0438\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0456\u0437 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0456\u0432 \u0456\xA0\u043F\u043E\u0441\u043B\u0443\u0433. - \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 - \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", "\u0412\u043B\u0430\u0441\u043D\u0439e \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u0439e") }, settings_modal: { title: "\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies", @@ -1539,6 +1524,7 @@ onChange: noopChangeCallback, companyNames: ["LMC"], displayMode: DisplayMode.FORCE, + secondaryButtonMode: SecondaryButtonMode.ACCEPT_NECESSARY, translationOverrides: {}, config: {} }; @@ -1556,20 +1542,21 @@ onChange, companyNames, displayMode, + secondaryButtonMode, translationOverrides, config: config9 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); const languages = { - cs: config(__spreadValues({ companyNames }, translationOverrides.cs)), - de: config2(__spreadValues({ companyNames }, translationOverrides.de)), - en: config3(__spreadValues({ companyNames }, translationOverrides.en)), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu)), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl)), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru)), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk)), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk)) + cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), + de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), + en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), + hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); diff --git a/dist/LmcCookieConsentManager.min.css b/dist/LmcCookieConsentManager.min.css index 26d79044..a54c197f 100644 --- a/dist/LmcCookieConsentManager.min.css +++ b/dist/LmcCookieConsentManager.min.css @@ -1,10 +1,19 @@ -@charset "UTF-8";:root{--cc-bg:#fff;--cc-text:#2d4156;--cc-btn-primary-bg:#2d4156;--cc-btn-primary-text:var(--cc-bg);--cc-btn-primary-hover-bg:#1d2e38;--cc-btn-secondary-bg:#eaeff2;--cc-btn-secondary-text:var(--cc-text);--cc-btn-secondary-hover-bg:#d8e0e6;--cc-toggle-bg-off:#919ea6;--cc-toggle-bg-on:var(--cc-btn-primary-bg);--cc-toggle-bg-readonly:#d5dee2;--cc-toggle-knob-bg:#fff;--cc-toggle-knob-icon-color:#ecf2fa;--cc-block-text:var(--cc-text);--cc-cookie-category-block-bg:#f0f4f7;--cc-cookie-category-block-bg-hover:#e9eff4;--cc-section-border:#f1f3f5;--cc-cookie-table-border:#e9edf2;--cc-overlay-bg:rgba(4, 6, 8, .85);--cc-webkit-scrollbar-bg:#cfd5db;--cc-webkit-scrollbar-bg-hover:#9199a0}.c_darkmode{--cc-bg:#181b1d;--cc-text:#d8e5ea;--cc-btn-primary-bg:#a6c4dd;--cc-btn-primary-text:#000;--cc-btn-primary-hover-bg:#c2dff7;--cc-btn-secondary-bg:#33383c;--cc-btn-secondary-text:var(--cc-text);--cc-btn-secondary-hover-bg:#3e454a;--cc-toggle-bg-off:#667481;--cc-toggle-bg-on:var(--cc-btn-primary-bg);--cc-toggle-bg-readonly:#454c54;--cc-toggle-knob-bg:var(--cc-cookie-category-block-bg);--cc-toggle-knob-icon-color:var(--cc-bg);--cc-block-text:#b3bfc5;--cc-cookie-category-block-bg:#23272a;--cc-cookie-category-block-bg-hover:#2b3035;--cc-section-border:#292d31;--cc-cookie-table-border:#2b3035;--cc-webkit-scrollbar-bg:#667481;--cc-webkit-scrollbar-bg-hover:#9199a0}.cc_div *,.cc_div :after,.cc_div :before{box-sizing:border-box;float:none;font-style:inherit;font-variant:normal;font-weight:inherit;font-family:inherit;line-height:1.2;font-size:1em;transition:none;animation:none;margin:0;padding:0;text-transform:none;letter-spacing:unset;color:inherit;background:0 0;border:none;box-shadow:none;text-decoration:none;text-align:left;visibility:unset}.cc_div{font-size:16px;font-weight:400;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;color:#2d4156;color:var(--cc-text)}#c-ttl,#s-bl td:before,#s-ttl,.cc_div .b-tl,.cc_div .c-bn{font-weight:600}#cm,#s-bl .act .b-acc,#s-inr,.cc_div .b-tl,.cc_div .c-bl{border-radius:.35em}#s-bl .act .b-acc{border-top-left-radius:0;border-top-right-radius:0}.cc_div a,.cc_div button,.cc_div input{-webkit-appearance:none;appearance:none}.cc_div a{border-bottom:1px solid}.cc_div a:hover{text-decoration:none;border-color:transparent}#cm-ov,#cs-ov,.c--anim #cm,.c--anim #s-cnt,.c--anim #s-inr{transition:visibility .25s linear,opacity .25s ease,transform .25s ease!important}.c--anim .c-bn{transition:background-color .25s ease!important}.c--anim #cm.bar.slide,.c--anim .bar.slide #s-inr{transition:visibility .4s ease,opacity .4s ease,transform .4s ease!important}.c--anim #cm.bar.slide+#cm-ov,.c--anim .bar.slide+#cs-ov{transition:visibility .4s ease,opacity .4s ease,transform .4s ease!important}#cm.bar.slide,.cc_div .bar.slide #s-inr{transform:translateX(100%);opacity:1}#cm.bar.top.slide,.cc_div .bar.left.slide #s-inr{transform:translateX(-100%);opacity:1}#cm.slide,.cc_div .slide #s-inr{transform:translateY(1.6em)}#cm.top.slide{transform:translateY(-1.6em)}#cm.bar.slide{transform:translateY(100%)}#cm.bar.top.slide{transform:translateY(-100%)}.show--consent .c--anim #cm,.show--consent .c--anim #cm.bar,.show--settings .c--anim #s-inr,.show--settings .c--anim .bar.slide #s-inr{opacity:1;transform:scale(1);visibility:visible!important}.show--consent .c--anim #cm.box.middle,.show--consent .c--anim #cm.cloud.middle{transform:scale(1) translateY(-50%)}.show--settings .c--anim #s-cnt{visibility:visible!important}.force--consent.show--consent .c--anim #cm-ov,.show--settings .c--anim #cs-ov{visibility:visible!important;opacity:1!important}#cm{font-family:inherit;padding:1.1em 1.8em 1.4em 1.8em;position:fixed;z-index:1;background:#fff;background:var(--cc-bg);max-width:24.2em;width:100%;bottom:1.25em;right:1.25em;box-shadow:0 .625em 1.875em #000;box-shadow:0 .625em 1.875em rgba(2,2,3,.28);opacity:0;visibility:hidden;transform:scale(.95);line-height:initial}#cc_div #cm{display:block!important}#c-ttl{margin-bottom:.7em;font-size:1.05em}.cloud #c-ttl{margin-top:-.15em}#c-txt{font-size:.9em;line-height:1.5em}.cc_div #c-bns{display:flex;justify-content:space-between;margin-top:1.4em}.cc_div .c-bn{color:#40505a;color:var(--cc-btn-secondary-text);background:#e5ebef;background:var(--cc-btn-secondary-bg);padding:1em 1.7em;display:inline-block;cursor:pointer;font-size:.82em;-webkit-user-select:none;-o-user-select:none;user-select:none;text-align:center;border-radius:4px;flex:1}#c-bns button+button,#s-c-bn,#s-cnt button+button{float:right;margin-left:1em}#s-cnt #s-rall-bn{float:none}#cm .c_link:active,#cm .c_link:hover,#s-c-bn:active,#s-c-bn:hover,#s-cnt button+button:active,#s-cnt button+button:hover{background:#d8e0e6;background:var(--cc-btn-secondary-hover-bg)}#s-cnt{position:fixed;top:0;left:0;width:100%;z-index:101;display:table;height:100%;visibility:hidden}#s-bl{outline:0}#s-bl .title{margin-top:1.4em}#s-bl .title:first-child{margin-top:0}#s-bl .b-bn{margin-top:0}#s-bl .b-acc .p{margin-top:0;padding:1em}#s-cnt .b-bn .b-tl{display:block;font-family:inherit;font-size:.95em;width:100%;position:relative;padding:1.3em 6.4em 1.3em 2.7em;background:0 0;transition:background-color .25s ease}#s-cnt .b-bn .b-tl.exp{cursor:pointer}#s-cnt .act .b-bn .b-tl{border-bottom-right-radius:0;border-bottom-left-radius:0}#s-cnt .b-bn .b-tl:active,#s-cnt .b-bn .b-tl:hover{background:#e9eff4;background:var(--cc-cookie-category-block-bg-hover)}#s-bl .b-bn{position:relative}#s-bl .c-bl{padding:1em;margin-bottom:.5em;border:1px solid #f1f3f5;border-color:var(--cc-section-border);transition:background-color .25s ease}#s-bl .c-bl:hover{background:#f0f4f7;background:var(--cc-cookie-category-block-bg)}#s-bl .c-bl:last-child{margin-bottom:.5em}#s-bl .c-bl:first-child{transition:none;padding:0;margin-top:0;border:none;margin-bottom:2em}#s-bl .c-bl:not(.b-ex):first-child:hover{background:0 0;background:unset}#s-bl .c-bl.b-ex{padding:0;border:none;background:#f0f4f7;background:var(--cc-cookie-category-block-bg);transition:none}#s-bl .c-bl.b-ex+.c-bl{margin-top:2em}#s-bl .c-bl.b-ex+.c-bl.b-ex{margin-top:0}#s-bl .c-bl.b-ex:first-child{margin-bottom:1em}#s-bl .c-bl.b-ex:first-child{margin-bottom:.5em}#s-bl .b-acc{max-height:0;overflow:hidden;padding-top:0;margin-bottom:0;display:none}#s-bl .act .b-acc{max-height:100%;display:block;overflow:hidden}#s-cnt .p{font-size:.9em;line-height:1.5em;margin-top:.85em;color:#2d4156;color:var(--cc-block-text)}.cc_div .b-tg .c-tgl:disabled{cursor:not-allowed}#c-vln{display:table-cell;vertical-align:middle;position:relative}#cs{padding:0 1.7em;width:100%;position:fixed;left:0;right:0;top:0;bottom:0;height:100%}#s-inr{height:100%;position:relative;max-width:45em;margin:0 auto;transform:scale(.96);opacity:0;padding-top:4.75em;padding-bottom:4.75em;position:relative;height:100%;overflow:hidden;visibility:hidden;box-shadow:rgba(3,6,9,.26) 0 13px 27px -5px}#s-bns,#s-hdr,#s-inr{background:#fff;background:var(--cc-bg)}#s-bl{overflow-y:auto;overflow-y:overlay;overflow-x:hidden;height:100%;padding:1.3em 2.1em;display:block;width:100%}#s-bns{position:absolute;bottom:0;left:0;right:0;padding:1em 2.1em;border-top:1px solid #f1f3f5;border-color:var(--cc-section-border);height:4.75em}.cc_div .cc-link{color:#253b48;color:var(--cc-btn-primary-bg);border-bottom:1px solid #253b48;border-color:var(--cc-btn-primary-bg);display:inline;padding-bottom:0;text-decoration:none;cursor:pointer;font-weight:600}.cc_div .cc-link:active,.cc_div .cc-link:hover{border-color:transparent}#c-bns button:first-child,#s-bns button:first-child{color:#fff;color:var(--cc-btn-primary-text);background:#253b48;background:var(--cc-btn-primary-bg)}#c-bns.swap button:first-child{color:#40505a;color:var(--cc-btn-secondary-text);background:#e5ebef;background:var(--cc-btn-secondary-bg)}#c-bns.swap button:last-child{color:#fff;color:var(--cc-btn-primary-text);background:#253b48;background:var(--cc-btn-primary-bg)}.cc_div .b-tg .c-tgl:checked~.c-tg{background:#253b48;background:var(--cc-toggle-bg-on)}#c-bns button:first-child:active,#c-bns button:first-child:hover,#c-bns.swap button:last-child:active,#c-bns.swap button:last-child:hover,#s-bns button:first-child:active,#s-bns button:first-child:hover{background:#1d2e38;background:var(--cc-btn-primary-hover-bg)}#c-bns.swap button:first-child:active,#c-bns.swap button:first-child:hover{background:#d8e0e6;background:var(--cc-btn-secondary-hover-bg)}#s-hdr{position:absolute;top:0;width:100%;display:table;padding:0 2.1em;height:4.75em;vertical-align:middle;z-index:2;border-bottom:1px solid #f1f3f5;border-color:var(--cc-section-border)}#s-ttl{display:table-cell;vertical-align:middle;font-size:1em}#s-c-bn{padding:0;width:1.7em;height:1.7em;font-size:1.45em;margin:0;font-weight:initial;position:relative}#s-c-bnc{display:table-cell;vertical-align:middle}.cc_div span.t-lb{position:absolute;top:0;z-index:-1;opacity:0;pointer-events:none;overflow:hidden}#c_policy__text{height:31.25em;overflow-y:auto;margin-top:1.25em}#c-s-in{position:relative;transform:translateY(-50%);top:50%;height:100%;height:calc(100% - 2.5em);max-height:37.5em}@media screen and (min-width:688px){#s-bl::-webkit-scrollbar{width:.9em;height:100%;background:0 0;border-radius:0 .25em .25em 0}#s-bl::-webkit-scrollbar-thumb{border:.25em solid var(--cc-bg);background:#cfd5db;background:var(--cc-webkit-scrollbar-bg);border-radius:100em}#s-bl::-webkit-scrollbar-thumb:hover{background:#9199a0;background:var(--cc-webkit-scrollbar-bg-hover)}#s-bl::-webkit-scrollbar-button{width:10px;height:5px}}.cc_div .b-tg{position:absolute;right:0;top:0;bottom:0;display:inline-block;margin:auto;right:1.2em;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle}.cc_div .b-tg .c-tgl{position:absolute;cursor:pointer;display:block;top:0;left:0;margin:0;border:0}.cc_div .b-tg .c-tg{position:absolute;background:#919ea6;background:var(--cc-toggle-bg-off);transition:background-color .25s ease,box-shadow .25s ease;pointer-events:none}.cc_div .b-tg,.cc_div .b-tg .c-tg,.cc_div .b-tg .c-tgl,.cc_div span.t-lb{width:3.4em;height:1.5em;border-radius:4em}.cc_div .b-tg .c-tg.c-ro{cursor:not-allowed}.cc_div .b-tg .c-tgl~.c-tg.c-ro{background:#d5dee2;background:var(--cc-toggle-bg-readonly)}.cc_div .b-tg .c-tgl~.c-tg.c-ro:after{box-shadow:none}.cc_div .b-tg .c-tg:after{content:"";position:relative;display:block;left:.125em;top:.125em;width:1.25em;height:1.25em;border:none;box-sizing:content-box;background:#fff;background:var(--cc-toggle-knob-bg);box-shadow:0 1px 2px rgba(24,32,35,.36);transition:transform .25s ease;border-radius:100%}.cc_div .b-tg .c-tgl:checked~.c-tg:after{transform:translateX(1.9em)}#s-bl table,#s-bl td,#s-bl th{border:none}#s-bl tbody tr{transition:background-color .25s ease}#s-bl tbody tr:hover{background:#e9eff4;background:var(--cc-cookie-category-block-bg-hover)}#s-bl table{text-align:left;border-collapse:collapse;width:100%;padding:0;margin:0;overflow:hidden}#s-bl td,#s-bl th{padding:.8em .625em;text-align:left;vertical-align:top;font-size:.8em;padding-left:1.2em}#s-bl th{font-family:inherit;padding:1.2em 1.2em}#s-bl thead tr:first-child{border-bottom:1px solid #e9edf2;border-color:var(--cc-cookie-table-border)}.force--consent #cs,.force--consent #s-cnt{width:100vw}#cm-ov,#cs-ov{position:fixed;left:0;right:0;top:0;bottom:0;visibility:hidden;opacity:0;background:#070707;background:rgba(4,6,8,.85);background:var(--cc-overlay-bg);display:none;transition:none}.c--anim #cs-ov,.force--consent .c--anim #cm-ov,.force--consent.show--consent #cm-ov,.show--settings #cs-ov{display:block}#cs-ov{z-index:2}.force--consent .cc_div{position:fixed;top:0;left:0;bottom:0;width:100%;width:100vw;visibility:hidden;transition:visibility .25s linear}.force--consent.show--consent .c--anim .cc_div,.force--consent.show--settings .c--anim .cc_div{visibility:visible}.force--consent #cm{position:absolute}.force--consent #cm.bar{width:100vw;max-width:100vw}html.force--consent.show--consent{overflow-y:hidden!important}html.force--consent.show--consent,html.force--consent.show--consent body{height:auto!important;overflow-x:hidden!important}.cc_div .act .b-bn .exp::before,.cc_div .b-bn .exp::before{border:solid #2d4156;border-color:var(--cc-btn-secondary-text);border-width:0 2px 2px 0;padding:.2em;display:inline-block;position:absolute;content:"";margin-right:15px;position:absolute;transform:translateY(-50%) rotate(45deg);left:1.2em;top:50%}.cc_div .act .b-bn .b-tl::before{transform:translateY(-20%) rotate(225deg)}.cc_div .on-i::before{border:solid #fff;border-color:var(--cc-toggle-knob-icon-color);border-width:0 2px 2px 0;padding:.1em;display:inline-block;padding-bottom:.45em;content:"";margin:0 auto;transform:rotate(45deg);top:.37em;left:.75em;position:absolute}#s-c-bn::after,#s-c-bn::before{content:"";position:absolute;left:.82em;top:.58em;height:.6em;width:1.5px;background:#444d53;background:var(--cc-btn-secondary-text);transform:rotate(45deg);border-radius:1em;margin:0 auto}#s-c-bn::after{transform:rotate(-45deg)}.cc_div .off-i,.cc_div .on-i{height:100%;width:50%;position:absolute;right:0;display:block;text-align:center;transition:opacity .15s ease}.cc_div .on-i{left:0;opacity:0}.cc_div .off-i::after,.cc_div .off-i::before{right:.8em;top:.42em;content:" ";height:.7em;width:.09375em;display:block;background:#cdd6dc;background:var(--cc-toggle-knob-icon-color);margin:0 auto;position:absolute;transform-origin:center}.cc_div .off-i::before{transform:rotate(45deg)}.cc_div .off-i::after{transform:rotate(-45deg)}.cc_div .b-tg .c-tgl:checked~.c-tg .on-i{opacity:1}.cc_div .b-tg .c-tgl:checked~.c-tg .off-i{opacity:0}#cm.box.middle,#cm.cloud.middle{top:50%;transform:translateY(-37%);bottom:auto}#cm.box.middle.zoom,#cm.cloud.middle.zoom{transform:scale(.95) translateY(-50%)}#cm.box.center{left:1em;right:1em;margin:0 auto}#cm.cloud{max-width:50em;margin:0 auto;text-align:center;left:1em;right:1em;overflow:hidden;padding:1.3em 2em;width:unset}.cc_div .cloud #c-inr{display:table;width:100%}.cc_div .cloud #c-inr-i{width:70%;display:table-cell;vertical-align:top;padding-right:2.4em}.cc_div .cloud #c-txt{font-size:.85em}.cc_div .cloud #c-bns{min-width:170px;display:table-cell;vertical-align:middle}#cm.cloud .c-bn{margin:.625em 0 0 0;width:100%}#cm.cloud .c-bn:first-child{margin:0}#cm.cloud.left{margin-right:1.25em}#cm.cloud.right{margin-left:1.25em}#cm.bar{width:100%;max-width:100%;left:0;right:0;bottom:0;border-radius:0;position:fixed;padding:2em}#cm.bar #c-inr{max-width:32em;margin:0 auto}#cm.bar #c-bns{max-width:33.75em}#cm.bar #cs{padding:0}.cc_div .bar #c-s-in{top:0;transform:none;height:100%;max-height:100%}.cc_div .bar #s-bl,.cc_div .bar #s-bns,.cc_div .bar #s-hdr{padding-left:1.6em;padding-right:1.6em}.cc_div .bar #cs{padding:0}.cc_div .bar #s-inr{margin:0;margin-left:auto;margin-right:0;border-radius:0;max-width:32em}.cc_div .bar.left #s-inr{margin-left:0;margin-right:auto}.cc_div .bar #s-bl table,.cc_div .bar #s-bl tbody,.cc_div .bar #s-bl td,.cc_div .bar #s-bl th,.cc_div .bar #s-bl thead,.cc_div .bar #s-bl tr,.cc_div .bar #s-cnt{display:block}.cc_div .bar #s-bl thead tr{position:absolute;top:-9999px;left:-9999px}.cc_div .bar #s-bl tr{border-top:1px solid #e3e7ed;border-color:var(--cc-cookie-table-border)}.cc_div .bar #s-bl td{border:none;position:relative;padding-left:35%}.cc_div .bar #s-bl td:before{position:absolute;left:1em;padding-right:.625em;white-space:nowrap;content:attr(data-column);color:#000;color:var(--cc-text);overflow:hidden;text-overflow:ellipsis}#cm.top{bottom:auto;top:1.25em}#cm.left{right:auto;left:1.25em}#cm.right{left:auto;right:1.25em}#cm.bar.left,#cm.bar.right{left:0;right:0}#cm.bar.top{top:0}@media screen and (max-width:688px){#cm,#cm.cloud,#cm.left,#cm.right{width:auto;max-width:100%;margin:0;padding:1.4em!important;right:1em;left:1em;bottom:1em;display:block}.force--consent #cm,.force--consent #cm.cloud{width:auto;max-width:100vw}#cm.top{top:1em;bottom:auto}#cm.bottom{bottom:1em;top:auto}#cm.bar.bottom{bottom:0}#cm.cloud .c-bn{font-size:.85em}#s-bns,.cc_div .bar #s-bns{padding:1em 1.3em}.cc_div .bar #s-inr{max-width:100%;width:100%}.cc_div .cloud #c-inr-i{padding-right:0}#cs{border-radius:0;padding:0}#c-s-in{max-height:100%;height:100%;top:0;transform:none}.cc_div .b-tg{transform:scale(1.1);right:1.1em}#s-inr{margin:0;padding-bottom:7.9em;border-radius:0}#s-bns{height:7.9em}#s-bl,.cc_div .bar #s-bl{padding:1.3em}#s-hdr,.cc_div .bar #s-hdr{padding:0 1.3em}#s-bl table{width:100%}#s-inr.bns-t{padding-bottom:10.5em}.bns-t #s-bns{height:10.5em}.cc_div .bns-t .c-bn{font-size:.83em;padding:.9em 1.6em}#s-cnt .b-bn .b-tl{padding-top:1.2em;padding-bottom:1.2em}#s-bl table,#s-bl tbody,#s-bl td,#s-bl th,#s-bl thead,#s-bl tr,#s-cnt{display:block}#s-bl thead tr{position:absolute;top:-9999px;left:-9999px}#s-bl tr{border-top:1px solid #e3e7ed;border-color:var(--cc-cookie-table-border)}#s-bl td{border:none;position:relative;padding-left:35%}#s-bl td:before{position:absolute;left:1em;padding-right:.625em;white-space:nowrap;content:attr(data-column);color:#000;color:var(--cc-text);overflow:hidden;text-overflow:ellipsis}#cm .c-bn,.cc_div .c-bn{width:100%;margin-right:0}#s-cnt #s-rall-bn{margin-left:0}.cc_div #c-bns{flex-direction:column}#c-bns button+button,#s-cnt button+button{margin-top:.625em;margin-left:0;float:unset}#cm.box,#cm.cloud{left:1em;right:1em;width:auto}#cm.cloud.left,#cm.cloud.right{margin:0}.cc_div .cloud #c-bns,.cc_div .cloud #c-inr,.cc_div .cloud #c-inr-i{display:block;width:auto;min-width:unset}.cc_div .cloud #c-txt{font-size:.9em}.cc_div .cloud #c-bns{margin-top:1.625em}}.cc_div.ie #c-vln{height:100%;padding-top:5.62em}.cc_div.ie .bar #c-vln{padding-top:0}.cc_div.ie #cs{max-height:37.5em;position:relative;top:0;margin-top:-5.625em}.cc_div.ie .bar #cs{margin-top:0;max-height:100%}.cc_div.ie #cm{border:1px solid #dee6e9}.cc_div.ie #c-s-in{top:0}.cc_div.ie .b-tg{padding-left:1em;margin-bottom:.7em}.cc_div.ie .b-tg .c-tgl:checked~.c-tg:after{left:1.95em}.cc_div.ie #s-bl table{overflow:auto}.cc_div.ie .b-tg .c-tg{display:none}.cc_div.ie .b-tg .c-tgl{position:relative;display:inline-block;vertical-align:middle;margin-bottom:.2em;height:auto}.cc_div.ie #s-cnt .b-bn .b-tl{padding:1.3em 6.4em 1.3em 1.4em}.cc_div.ie .bar #s-bl td:before{display:none}.cc_div.ie .bar #s-bl td{padding:.8em .625em .8em 1.2em}.cc_div.ie .bar #s-bl thead tr{position:relative}:root{--lmcccm-p-font-family:var(--lmcccm-font-family, Inter, sans-serif);--lmcccm-p-base-font-size:var(--lmcccm-base-font-size, 1em);--lmcccm-p-bg:var(--lmcccm-bg, #fff);--lmcccm-p-text:var(--lmcccm-text, #132930);--lmcccm-p-backdrop-color:var(--lmcccm-backdrop-color, #0b1c2160);--lmcccm-p-link-text:var(--lmcccm-link-text, #29616f);--lmcccm-p-link-text-decoration:var(--lmcccm-link-text-decoration, underline);--lmcccm-p-link-hover-text:var(--lmcccm-link-hover-text, #1b5260);--lmcccm-p-link-hover-text-decoration:var(--lmcccm-link-hover-text-decoration, underline);--lmcccm-p-link-active-text:var(--lmcccm-link-active-text, #0b3a46);--lmcccm-p-btn-font-weight:var(--lmcccm-btn-font-weight, 600);--lmcccm-p-btn-text-transform:var(--lmcccm-btn-text-transform, initial);--lmcccm-p-btn-border-width:var(--lmcccm-btn-border-width, 1px);--lmcccm-p-btn-border-style:var(--lmcccm-btn-border-style, solid);--lmcccm-p-btn-border-radius:var(--lmcccm-btn-border-radius, 0.25em);--lmcccm-p-btn-primary-border:var(--lmcccm-btn-primary-border, #29616f);--lmcccm-p-btn-primary-bg:var(--lmcccm-btn-primary-bg, #29616f);--lmcccm-p-btn-primary-text:var(--lmcccm-btn-primary-text, #fff);--lmcccm-p-btn-primary-hover-border:var(--lmcccm-btn-primary-hover-border, #1b5260);--lmcccm-p-btn-primary-hover-bg:var(--lmcccm-btn-primary-hover-bg, #1b5260);--lmcccm-p-btn-primary-hover-text:var(--lmcccm-btn-primary-hover-text, #fff);--lmcccm-p-btn-primary-active-border:var(--lmcccm-btn-primary-active-border, #0b3a46);--lmcccm-p-btn-primary-active-bg:var(--lmcccm-btn-primary-active-bg, #0b3a46);--lmcccm-p-btn-primary-active-text:var(--lmcccm-btn-primary-active-text, #fff);--lmcccm-p-btn-secondary-border:var(--lmcccm-btn-secondary-border, #29616f);--lmcccm-p-btn-secondary-bg:var(--lmcccm-btn-secondary-bg, transparent);--lmcccm-p-btn-secondary-text:var(--lmcccm-btn-secondary-text, #29616f);--lmcccm-p-btn-secondary-hover-border:var(--lmcccm-btn-secondary-hover-border, #1b5260);--lmcccm-p-btn-secondary-hover-bg:var(--lmcccm-btn-secondary-hover-bg, transparent);--lmcccm-p-btn-secondary-hover-text:var(--lmcccm-btn-secondary-hover-text, #1b5260);--lmcccm-p-btn-secondary-active-border:var(--lmcccm-btn-secondary-active-border, #0b3a46);--lmcccm-p-btn-secondary-active-bg:var(--lmcccm-btn-secondary-active-bg, transparent);--lmcccm-p-btn-secondary-active-text:var(--lmcccm-btn-secondary-active-text, #0b3a46);--lmcccm-p-toggle-bg-off:var(--lmcccm-toggle-bg-off, #132930);--lmcccm-p-toggle-bg-on:var(--lmcccm-toggle-bg-on, #29616f);--lmcccm-p-toggle-bg-readonly:var(--lmcccm-toggle-bg-readonly, #c4c4c4);--lmcccm-p-toggle-knob-bg:var(--lmcccm-toggle-knob-bg, #fff);--lmcccm-p-toggle-knob-icon-color:var(--lmcccm-toggle-knob-icon-color, #fff);--lmcccm-p-modal-max-width:var( +@charset "UTF-8";:root{--cc-bg:#fff;--cc-text:#2d4156;--cc-btn-primary-bg:#2d4156;--cc-btn-primary-text:var(--cc-bg);--cc-btn-primary-hover-bg:#1d2e38;--cc-btn-secondary-bg:#eaeff2;--cc-btn-secondary-text:var(--cc-text);--cc-btn-secondary-hover-bg:#d8e0e6;--cc-toggle-bg-off:#919ea6;--cc-toggle-bg-on:var(--cc-btn-primary-bg);--cc-toggle-bg-readonly:#d5dee2;--cc-toggle-knob-bg:#fff;--cc-toggle-knob-icon-color:#ecf2fa;--cc-block-text:var(--cc-text);--cc-cookie-category-block-bg:#f0f4f7;--cc-cookie-category-block-bg-hover:#e9eff4;--cc-section-border:#f1f3f5;--cc-cookie-table-border:#e9edf2;--cc-overlay-bg:rgba(4, 6, 8, .85);--cc-webkit-scrollbar-bg:#cfd5db;--cc-webkit-scrollbar-bg-hover:#9199a0}.c_darkmode{--cc-bg:#181b1d;--cc-text:#d8e5ea;--cc-btn-primary-bg:#a6c4dd;--cc-btn-primary-text:#000;--cc-btn-primary-hover-bg:#c2dff7;--cc-btn-secondary-bg:#33383c;--cc-btn-secondary-text:var(--cc-text);--cc-btn-secondary-hover-bg:#3e454a;--cc-toggle-bg-off:#667481;--cc-toggle-bg-on:var(--cc-btn-primary-bg);--cc-toggle-bg-readonly:#454c54;--cc-toggle-knob-bg:var(--cc-cookie-category-block-bg);--cc-toggle-knob-icon-color:var(--cc-bg);--cc-block-text:#b3bfc5;--cc-cookie-category-block-bg:#23272a;--cc-cookie-category-block-bg-hover:#2b3035;--cc-section-border:#292d31;--cc-cookie-table-border:#2b3035;--cc-webkit-scrollbar-bg:#667481;--cc-webkit-scrollbar-bg-hover:#9199a0}.cc_div *,.cc_div :after,.cc_div :before{box-sizing:border-box;float:none;font-style:inherit;font-variant:normal;font-weight:inherit;font-family:inherit;line-height:1.2;font-size:1em;transition:none;animation:none;margin:0;padding:0;text-transform:none;letter-spacing:unset;color:inherit;background:0 0;border:none;box-shadow:none;text-decoration:none;text-align:left;visibility:unset}.cc_div{font-size:16px;font-weight:400;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;color:#2d4156;color:var(--cc-text)}#c-ttl,#s-bl td:before,#s-ttl,.cc_div .b-tl,.cc_div .c-bn{font-weight:600}#cm,#s-bl .act .b-acc,#s-inr,.cc_div .b-tl,.cc_div .c-bl{border-radius:.35em}#s-bl .act .b-acc{border-top-left-radius:0;border-top-right-radius:0}.cc_div a,.cc_div button,.cc_div input{-webkit-appearance:none;appearance:none}.cc_div a{border-bottom:1px solid}.cc_div a:hover{text-decoration:none;border-color:transparent}#cm-ov,#cs-ov,.c--anim #cm,.c--anim #s-cnt,.c--anim #s-inr{transition:visibility .25s linear,opacity .25s ease,transform .25s ease!important}.c--anim .c-bn{transition:background-color .25s ease!important}.c--anim #cm.bar.slide,.c--anim .bar.slide #s-inr{transition:visibility .4s ease,opacity .4s ease,transform .4s ease!important}.c--anim #cm.bar.slide+#cm-ov,.c--anim .bar.slide+#cs-ov{transition:visibility .4s ease,opacity .4s ease,transform .4s ease!important}#cm.bar.slide,.cc_div .bar.slide #s-inr{transform:translateX(100%);opacity:1}#cm.bar.top.slide,.cc_div .bar.left.slide #s-inr{transform:translateX(-100%);opacity:1}#cm.slide,.cc_div .slide #s-inr{transform:translateY(1.6em)}#cm.top.slide{transform:translateY(-1.6em)}#cm.bar.slide{transform:translateY(100%)}#cm.bar.top.slide{transform:translateY(-100%)}.show--consent .c--anim #cm,.show--consent .c--anim #cm.bar,.show--settings .c--anim #s-inr,.show--settings .c--anim .bar.slide #s-inr{opacity:1;transform:scale(1);visibility:visible!important}.show--consent .c--anim #cm.box.middle,.show--consent .c--anim #cm.cloud.middle{transform:scale(1) translateY(-50%)}.show--settings .c--anim #s-cnt{visibility:visible!important}.force--consent.show--consent .c--anim #cm-ov,.show--settings .c--anim #cs-ov{visibility:visible!important;opacity:1!important}#cm{font-family:inherit;padding:1.1em 1.8em 1.4em 1.8em;position:fixed;z-index:1;background:#fff;background:var(--cc-bg);max-width:24.2em;width:100%;bottom:1.25em;right:1.25em;box-shadow:0 .625em 1.875em #000;box-shadow:0 .625em 1.875em rgba(2,2,3,.28);opacity:0;visibility:hidden;transform:scale(.95);line-height:initial}#cc_div #cm{display:block!important}#c-ttl{margin-bottom:.7em;font-size:1.05em}.cloud #c-ttl{margin-top:-.15em}#c-txt{font-size:.9em;line-height:1.5em}.cc_div #c-bns{display:flex;justify-content:space-between;margin-top:1.4em}.cc_div .c-bn{color:#40505a;color:var(--cc-btn-secondary-text);background:#e5ebef;background:var(--cc-btn-secondary-bg);padding:1em 1.7em;display:inline-block;cursor:pointer;font-size:.82em;-webkit-user-select:none;-o-user-select:none;user-select:none;text-align:center;border-radius:4px;flex:1}#c-bns button+button,#s-c-bn,#s-cnt button+button{float:right;margin-left:1em}#s-cnt #s-rall-bn{float:none}#cm .c_link:active,#cm .c_link:hover,#s-c-bn:active,#s-c-bn:hover,#s-cnt button+button:active,#s-cnt button+button:hover{background:#d8e0e6;background:var(--cc-btn-secondary-hover-bg)}#s-cnt{position:fixed;top:0;left:0;width:100%;z-index:101;display:table;height:100%;visibility:hidden}#s-bl{outline:0}#s-bl .title{margin-top:1.4em}#s-bl .title:first-child{margin-top:0}#s-bl .b-bn{margin-top:0}#s-bl .b-acc .p{margin-top:0;padding:1em}#s-cnt .b-bn .b-tl{display:block;font-family:inherit;font-size:.95em;width:100%;position:relative;padding:1.3em 6.4em 1.3em 2.7em;background:0 0;transition:background-color .25s ease}#s-cnt .b-bn .b-tl.exp{cursor:pointer}#s-cnt .act .b-bn .b-tl{border-bottom-right-radius:0;border-bottom-left-radius:0}#s-cnt .b-bn .b-tl:active,#s-cnt .b-bn .b-tl:hover{background:#e9eff4;background:var(--cc-cookie-category-block-bg-hover)}#s-bl .b-bn{position:relative}#s-bl .c-bl{padding:1em;margin-bottom:.5em;border:1px solid #f1f3f5;border-color:var(--cc-section-border);transition:background-color .25s ease}#s-bl .c-bl:hover{background:#f0f4f7;background:var(--cc-cookie-category-block-bg)}#s-bl .c-bl:last-child{margin-bottom:.5em}#s-bl .c-bl:first-child{transition:none;padding:0;margin-top:0;border:none;margin-bottom:2em}#s-bl .c-bl:not(.b-ex):first-child:hover{background:0 0;background:unset}#s-bl .c-bl.b-ex{padding:0;border:none;background:#f0f4f7;background:var(--cc-cookie-category-block-bg);transition:none}#s-bl .c-bl.b-ex+.c-bl{margin-top:2em}#s-bl .c-bl.b-ex+.c-bl.b-ex{margin-top:0}#s-bl .c-bl.b-ex:first-child{margin-bottom:1em}#s-bl .c-bl.b-ex:first-child{margin-bottom:.5em}#s-bl .b-acc{max-height:0;overflow:hidden;padding-top:0;margin-bottom:0;display:none}#s-bl .act .b-acc{max-height:100%;display:block;overflow:hidden}#s-cnt .p{font-size:.9em;line-height:1.5em;margin-top:.85em;color:#2d4156;color:var(--cc-block-text)}.cc_div .b-tg .c-tgl:disabled{cursor:not-allowed}#c-vln{display:table-cell;vertical-align:middle;position:relative}#cs{padding:0 1.7em;width:100%;position:fixed;left:0;right:0;top:0;bottom:0;height:100%}#s-inr{height:100%;position:relative;max-width:45em;margin:0 auto;transform:scale(.96);opacity:0;padding-top:4.75em;padding-bottom:4.75em;position:relative;height:100%;overflow:hidden;visibility:hidden;box-shadow:rgba(3,6,9,.26) 0 13px 27px -5px}#s-bns,#s-hdr,#s-inr{background:#fff;background:var(--cc-bg)}#s-bl{overflow-y:auto;overflow-y:overlay;overflow-x:hidden;height:100%;padding:1.3em 2.1em;display:block;width:100%}#s-bns{position:absolute;bottom:0;left:0;right:0;padding:1em 2.1em;border-top:1px solid #f1f3f5;border-color:var(--cc-section-border);height:4.75em}.cc_div .cc-link{color:#253b48;color:var(--cc-btn-primary-bg);border-bottom:1px solid #253b48;border-color:var(--cc-btn-primary-bg);display:inline;padding-bottom:0;text-decoration:none;cursor:pointer;font-weight:600}.cc_div .cc-link:active,.cc_div .cc-link:hover{border-color:transparent}#c-bns button:first-child,#s-bns button:first-child{color:#fff;color:var(--cc-btn-primary-text);background:#253b48;background:var(--cc-btn-primary-bg)}#c-bns.swap button:first-child{color:#40505a;color:var(--cc-btn-secondary-text);background:#e5ebef;background:var(--cc-btn-secondary-bg)}#c-bns.swap button:last-child{color:#fff;color:var(--cc-btn-primary-text);background:#253b48;background:var(--cc-btn-primary-bg)}.cc_div .b-tg .c-tgl:checked~.c-tg{background:#253b48;background:var(--cc-toggle-bg-on)}#c-bns button:first-child:active,#c-bns button:first-child:hover,#c-bns.swap button:last-child:active,#c-bns.swap button:last-child:hover,#s-bns button:first-child:active,#s-bns button:first-child:hover{background:#1d2e38;background:var(--cc-btn-primary-hover-bg)}#c-bns.swap button:first-child:active,#c-bns.swap button:first-child:hover{background:#d8e0e6;background:var(--cc-btn-secondary-hover-bg)}#s-hdr{position:absolute;top:0;width:100%;display:table;padding:0 2.1em;height:4.75em;vertical-align:middle;z-index:2;border-bottom:1px solid #f1f3f5;border-color:var(--cc-section-border)}#s-ttl{display:table-cell;vertical-align:middle;font-size:1em}#s-c-bn{padding:0;width:1.7em;height:1.7em;font-size:1.45em;margin:0;font-weight:initial;position:relative}#s-c-bnc{display:table-cell;vertical-align:middle}.cc_div span.t-lb{position:absolute;top:0;z-index:-1;opacity:0;pointer-events:none;overflow:hidden}#c_policy__text{height:31.25em;overflow-y:auto;margin-top:1.25em}#c-s-in{position:relative;transform:translateY(-50%);top:50%;height:100%;height:calc(100% - 2.5em);max-height:37.5em}@media screen and (min-width:688px){#s-bl::-webkit-scrollbar{width:.9em;height:100%;background:0 0;border-radius:0 .25em .25em 0}#s-bl::-webkit-scrollbar-thumb{border:.25em solid var(--cc-bg);background:#cfd5db;background:var(--cc-webkit-scrollbar-bg);border-radius:100em}#s-bl::-webkit-scrollbar-thumb:hover{background:#9199a0;background:var(--cc-webkit-scrollbar-bg-hover)}#s-bl::-webkit-scrollbar-button{width:10px;height:5px}}.cc_div .b-tg{position:absolute;right:0;top:0;bottom:0;display:inline-block;margin:auto;right:1.2em;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle}.cc_div .b-tg .c-tgl{position:absolute;cursor:pointer;display:block;top:0;left:0;margin:0;border:0}.cc_div .b-tg .c-tg{position:absolute;background:#919ea6;background:var(--cc-toggle-bg-off);transition:background-color .25s ease,box-shadow .25s ease;pointer-events:none}.cc_div .b-tg,.cc_div .b-tg .c-tg,.cc_div .b-tg .c-tgl,.cc_div span.t-lb{width:3.4em;height:1.5em;border-radius:4em}.cc_div .b-tg .c-tg.c-ro{cursor:not-allowed}.cc_div .b-tg .c-tgl~.c-tg.c-ro{background:#d5dee2;background:var(--cc-toggle-bg-readonly)}.cc_div .b-tg .c-tgl~.c-tg.c-ro:after{box-shadow:none}.cc_div .b-tg .c-tg:after{content:"";position:relative;display:block;left:.125em;top:.125em;width:1.25em;height:1.25em;border:none;box-sizing:content-box;background:#fff;background:var(--cc-toggle-knob-bg);box-shadow:0 1px 2px rgba(24,32,35,.36);transition:transform .25s ease;border-radius:100%}.cc_div .b-tg .c-tgl:checked~.c-tg:after{transform:translateX(1.9em)}#s-bl table,#s-bl td,#s-bl th{border:none}#s-bl tbody tr{transition:background-color .25s ease}#s-bl tbody tr:hover{background:#e9eff4;background:var(--cc-cookie-category-block-bg-hover)}#s-bl table{text-align:left;border-collapse:collapse;width:100%;padding:0;margin:0;overflow:hidden}#s-bl td,#s-bl th{padding:.8em .625em;text-align:left;vertical-align:top;font-size:.8em;padding-left:1.2em}#s-bl th{font-family:inherit;padding:1.2em 1.2em}#s-bl thead tr:first-child{border-bottom:1px solid #e9edf2;border-color:var(--cc-cookie-table-border)}.force--consent #cs,.force--consent #s-cnt{width:100vw}#cm-ov,#cs-ov{position:fixed;left:0;right:0;top:0;bottom:0;visibility:hidden;opacity:0;background:#070707;background:rgba(4,6,8,.85);background:var(--cc-overlay-bg);display:none;transition:none}.c--anim #cs-ov,.force--consent .c--anim #cm-ov,.force--consent.show--consent #cm-ov,.show--settings #cs-ov{display:block}#cs-ov{z-index:2}.force--consent .cc_div{position:fixed;top:0;left:0;bottom:0;width:100%;width:100vw;visibility:hidden;transition:visibility .25s linear}.force--consent.show--consent .c--anim .cc_div,.force--consent.show--settings .c--anim .cc_div{visibility:visible}.force--consent #cm{position:absolute}.force--consent #cm.bar{width:100vw;max-width:100vw}html.force--consent.show--consent{overflow-y:hidden!important}html.force--consent.show--consent,html.force--consent.show--consent body{height:auto!important;overflow-x:hidden!important}.cc_div .act .b-bn .exp::before,.cc_div .b-bn .exp::before{border:solid #2d4156;border-color:var(--cc-btn-secondary-text);border-width:0 2px 2px 0;padding:.2em;display:inline-block;position:absolute;content:"";margin-right:15px;position:absolute;transform:translateY(-50%) rotate(45deg);left:1.2em;top:50%}.cc_div .act .b-bn .b-tl::before{transform:translateY(-20%) rotate(225deg)}.cc_div .on-i::before{border:solid #fff;border-color:var(--cc-toggle-knob-icon-color);border-width:0 2px 2px 0;padding:.1em;display:inline-block;padding-bottom:.45em;content:"";margin:0 auto;transform:rotate(45deg);top:.37em;left:.75em;position:absolute}#s-c-bn::after,#s-c-bn::before{content:"";position:absolute;left:.82em;top:.58em;height:.6em;width:1.5px;background:#444d53;background:var(--cc-btn-secondary-text);transform:rotate(45deg);border-radius:1em;margin:0 auto}#s-c-bn::after{transform:rotate(-45deg)}.cc_div .off-i,.cc_div .on-i{height:100%;width:50%;position:absolute;right:0;display:block;text-align:center;transition:opacity .15s ease}.cc_div .on-i{left:0;opacity:0}.cc_div .off-i::after,.cc_div .off-i::before{right:.8em;top:.42em;content:" ";height:.7em;width:.09375em;display:block;background:#cdd6dc;background:var(--cc-toggle-knob-icon-color);margin:0 auto;position:absolute;transform-origin:center}.cc_div .off-i::before{transform:rotate(45deg)}.cc_div .off-i::after{transform:rotate(-45deg)}.cc_div .b-tg .c-tgl:checked~.c-tg .on-i{opacity:1}.cc_div .b-tg .c-tgl:checked~.c-tg .off-i{opacity:0}#cm.box.middle,#cm.cloud.middle{top:50%;transform:translateY(-37%);bottom:auto}#cm.box.middle.zoom,#cm.cloud.middle.zoom{transform:scale(.95) translateY(-50%)}#cm.box.center{left:1em;right:1em;margin:0 auto}#cm.cloud{max-width:50em;margin:0 auto;text-align:center;left:1em;right:1em;overflow:hidden;padding:1.3em 2em;width:unset}.cc_div .cloud #c-inr{display:table;width:100%}.cc_div .cloud #c-inr-i{width:70%;display:table-cell;vertical-align:top;padding-right:2.4em}.cc_div .cloud #c-txt{font-size:.85em}.cc_div .cloud #c-bns{min-width:170px;display:table-cell;vertical-align:middle}#cm.cloud .c-bn{margin:.625em 0 0 0;width:100%}#cm.cloud .c-bn:first-child{margin:0}#cm.cloud.left{margin-right:1.25em}#cm.cloud.right{margin-left:1.25em}#cm.bar{width:100%;max-width:100%;left:0;right:0;bottom:0;border-radius:0;position:fixed;padding:2em}#cm.bar #c-inr{max-width:32em;margin:0 auto}#cm.bar #c-bns{max-width:33.75em}#cm.bar #cs{padding:0}.cc_div .bar #c-s-in{top:0;transform:none;height:100%;max-height:100%}.cc_div .bar #s-bl,.cc_div .bar #s-bns,.cc_div .bar #s-hdr{padding-left:1.6em;padding-right:1.6em}.cc_div .bar #cs{padding:0}.cc_div .bar #s-inr{margin:0;margin-left:auto;margin-right:0;border-radius:0;max-width:32em}.cc_div .bar.left #s-inr{margin-left:0;margin-right:auto}.cc_div .bar #s-bl table,.cc_div .bar #s-bl tbody,.cc_div .bar #s-bl td,.cc_div .bar #s-bl th,.cc_div .bar #s-bl thead,.cc_div .bar #s-bl tr,.cc_div .bar #s-cnt{display:block}.cc_div .bar #s-bl thead tr{position:absolute;top:-9999px;left:-9999px}.cc_div .bar #s-bl tr{border-top:1px solid #e3e7ed;border-color:var(--cc-cookie-table-border)}.cc_div .bar #s-bl td{border:none;position:relative;padding-left:35%}.cc_div .bar #s-bl td:before{position:absolute;left:1em;padding-right:.625em;white-space:nowrap;content:attr(data-column);color:#000;color:var(--cc-text);overflow:hidden;text-overflow:ellipsis}#cm.top{bottom:auto;top:1.25em}#cm.left{right:auto;left:1.25em}#cm.right{left:auto;right:1.25em}#cm.bar.left,#cm.bar.right{left:0;right:0}#cm.bar.top{top:0}@media screen and (max-width:688px){#cm,#cm.cloud,#cm.left,#cm.right{width:auto;max-width:100%;margin:0;padding:1.4em!important;right:1em;left:1em;bottom:1em;display:block}.force--consent #cm,.force--consent #cm.cloud{width:auto;max-width:100vw}#cm.top{top:1em;bottom:auto}#cm.bottom{bottom:1em;top:auto}#cm.bar.bottom{bottom:0}#cm.cloud .c-bn{font-size:.85em}#s-bns,.cc_div .bar #s-bns{padding:1em 1.3em}.cc_div .bar #s-inr{max-width:100%;width:100%}.cc_div .cloud #c-inr-i{padding-right:0}#cs{border-radius:0;padding:0}#c-s-in{max-height:100%;height:100%;top:0;transform:none}.cc_div .b-tg{transform:scale(1.1);right:1.1em}#s-inr{margin:0;padding-bottom:7.9em;border-radius:0}#s-bns{height:7.9em}#s-bl,.cc_div .bar #s-bl{padding:1.3em}#s-hdr,.cc_div .bar #s-hdr{padding:0 1.3em}#s-bl table{width:100%}#s-inr.bns-t{padding-bottom:10.5em}.bns-t #s-bns{height:10.5em}.cc_div .bns-t .c-bn{font-size:.83em;padding:.9em 1.6em}#s-cnt .b-bn .b-tl{padding-top:1.2em;padding-bottom:1.2em}#s-bl table,#s-bl tbody,#s-bl td,#s-bl th,#s-bl thead,#s-bl tr,#s-cnt{display:block}#s-bl thead tr{position:absolute;top:-9999px;left:-9999px}#s-bl tr{border-top:1px solid #e3e7ed;border-color:var(--cc-cookie-table-border)}#s-bl td{border:none;position:relative;padding-left:35%}#s-bl td:before{position:absolute;left:1em;padding-right:.625em;white-space:nowrap;content:attr(data-column);color:#000;color:var(--cc-text);overflow:hidden;text-overflow:ellipsis}#cm .c-bn,.cc_div .c-bn{width:100%;margin-right:0}#s-cnt #s-rall-bn{margin-left:0}.cc_div #c-bns{flex-direction:column}#c-bns button+button,#s-cnt button+button{margin-top:.625em;margin-left:0;float:unset}#cm.box,#cm.cloud{left:1em;right:1em;width:auto}#cm.cloud.left,#cm.cloud.right{margin:0}.cc_div .cloud #c-bns,.cc_div .cloud #c-inr,.cc_div .cloud #c-inr-i{display:block;width:auto;min-width:unset}.cc_div .cloud #c-txt{font-size:.9em}.cc_div .cloud #c-bns{margin-top:1.625em}}.cc_div.ie #c-vln{height:100%;padding-top:5.62em}.cc_div.ie .bar #c-vln{padding-top:0}.cc_div.ie #cs{max-height:37.5em;position:relative;top:0;margin-top:-5.625em}.cc_div.ie .bar #cs{margin-top:0;max-height:100%}.cc_div.ie #cm{border:1px solid #dee6e9}.cc_div.ie #c-s-in{top:0}.cc_div.ie .b-tg{padding-left:1em;margin-bottom:.7em}.cc_div.ie .b-tg .c-tgl:checked~.c-tg:after{left:1.95em}.cc_div.ie #s-bl table{overflow:auto}.cc_div.ie .b-tg .c-tg{display:none}.cc_div.ie .b-tg .c-tgl{position:relative;display:inline-block;vertical-align:middle;margin-bottom:.2em;height:auto}.cc_div.ie #s-cnt .b-bn .b-tl{padding:1.3em 6.4em 1.3em 1.4em}.cc_div.ie .bar #s-bl td:before{display:none}.cc_div.ie .bar #s-bl td{padding:.8em .625em .8em 1.2em}.cc_div.ie .bar #s-bl thead tr{position:relative}:root{--lmcccm-p-font-family:var( + --lmcccm-font-family, + 'Inter', sans-serif + );--lmcccm-p-base-font-size:var( + --lmcccm-base-font-size, + 1em + );--lmcccm-p-bg:var(--lmcccm-bg, #fff);--lmcccm-p-text:var(--lmcccm-text, #132930);--lmcccm-p-backdrop-color:var(--lmcccm-backdrop-color, rgba(11, 28, 33, 0.6));--lmcccm-p-link-text:var(--lmcccm-link-text, #29616f);--lmcccm-p-link-text-decoration:var(--lmcccm-link-text-decoration, underline);--lmcccm-p-link-hover-text:var(--lmcccm-link-hover-text, #1b5260);--lmcccm-p-link-hover-text-decoration:var(--lmcccm-link-hover-text-decoration, underline);--lmcccm-p-link-active-text:var(--lmcccm-link-active-text, #0b3a46);--lmcccm-p-btn-font-weight:var( + --lmcccm-btn-font-weight, + 600 + );--lmcccm-p-btn-text-transform:var(--lmcccm-btn-text-transform, initial);--lmcccm-p-btn-border-width:var(--lmcccm-btn-border-width, 1px);--lmcccm-p-btn-border-style:var(--lmcccm-btn-border-style, solid);--lmcccm-p-btn-border-radius:var(--lmcccm-btn-border-radius, 0.25em);--lmcccm-p-btn-primary-border:var(--lmcccm-btn-primary-border, #29616f);--lmcccm-p-btn-primary-bg:var(--lmcccm-btn-primary-bg, #29616f);--lmcccm-p-btn-primary-text:var(--lmcccm-btn-primary-text, #fff);--lmcccm-p-btn-primary-hover-border:var(--lmcccm-btn-primary-hover-border, #1b5260);--lmcccm-p-btn-primary-hover-bg:var(--lmcccm-btn-primary-hover-bg, #1b5260);--lmcccm-p-btn-primary-hover-text:var(--lmcccm-btn-primary-hover-text, #fff);--lmcccm-p-btn-primary-active-border:var(--lmcccm-btn-primary-active-border, #0b3a46);--lmcccm-p-btn-primary-active-bg:var(--lmcccm-btn-primary-active-bg, #0b3a46);--lmcccm-p-btn-primary-active-text:var(--lmcccm-btn-primary-active-text, #fff);--lmcccm-p-btn-secondary-border:var(--lmcccm-btn-secondary-border, #29616f);--lmcccm-p-btn-secondary-bg:var(--lmcccm-btn-secondary-bg, transparent);--lmcccm-p-btn-secondary-text:var(--lmcccm-btn-secondary-text, #29616f);--lmcccm-p-btn-secondary-hover-border:var(--lmcccm-btn-secondary-hover-border, #1b5260);--lmcccm-p-btn-secondary-hover-bg:var(--lmcccm-btn-secondary-hover-bg, transparent);--lmcccm-p-btn-secondary-hover-text:var(--lmcccm-btn-secondary-hover-text, #1b5260);--lmcccm-p-btn-secondary-active-border:var(--lmcccm-btn-secondary-active-border, #0b3a46);--lmcccm-p-btn-secondary-active-bg:var(--lmcccm-btn-secondary-active-bg, transparent);--lmcccm-p-btn-secondary-active-text:var(--lmcccm-btn-secondary-active-text, #0b3a46);--lmcccm-p-toggle-bg-off:var(--lmcccm-toggle-bg-off, #132930);--lmcccm-p-toggle-bg-on:var(--lmcccm-toggle-bg-on, #29616f);--lmcccm-p-toggle-bg-readonly:var(--lmcccm-toggle-bg-readonly, #c4c4c4);--lmcccm-p-toggle-knob-bg:var(--lmcccm-toggle-knob-bg, #fff);--lmcccm-p-toggle-knob-icon-color:var(--lmcccm-toggle-knob-icon-color, #fff);--lmcccm-p-modal-max-width:var( --lmcccm-modal-max-width, min(50em, calc(100vw - 2em)) - );--lmcccm-p-modal-max-height:var(--lmcccm-modal-max-height, 37em);--lmcccm-p-modal-border-radius:var(--lmcccm-modal-border-radius, 0.5em);--lmcccm-p-modal-bg:var(--lmcccm-modal-bg, var(--lmcccm-p-bg));--lmcccm-p-modal-text:var(--lmcccm-modal-text, var(--lmcccm-p-text));--lmcccm-p-modal-section-border:var(--lmcccm-modal-section-border, #e9e9e9);--lmcccm-p-cookie-category-border-radius:var( + );--lmcccm-p-modal-max-height:var(--lmcccm-modal-max-height, 38.5em);--lmcccm-p-modal-border-radius:var(--lmcccm-modal-border-radius, 0.5em);--lmcccm-p-modal-bg:var(--lmcccm-modal-bg, var(--lmcccm-p-bg));--lmcccm-p-modal-text:var(--lmcccm-modal-text, var(--lmcccm-p-text));--lmcccm-p-modal-section-border:var(--lmcccm-modal-section-border, #e9e9e9);--lmcccm-p-cookie-category-border-radius:var( --lmcccm-cookie-category-border-radius, 0.25em - );--lmcccm-p-cookie-category-bg:var(--lmcccm-cookie-category-bg, #f0f4f5);--lmcccm-p-cookie-category-hover-bg:var(--lmcccm-cookie-category-hover-bg, #f0f4f5);--lmcccm-p-cookie-table-border:var(--lmcccm-cookie-table-border, #e9e9e9)}.cc_div{--cc-bg:var(--lmcccm-p-bg);--cc-text:var(--lmcccm-p-text);--cc-btn-primary-bg:var(--lmcccm-p-btn-primary-bg);--cc-btn-primary-text:var(--lmcccm-p-btn-primary-text);--cc-btn-primary-hover-bg:var(--lmcccm-p-btn-primary-hover-bg);--cc-btn-secondary-bg:var(--lmcccm-p-btn-secondary-bg);--cc-btn-secondary-text:var(--lmcccm-p-btn-secondary-text);--cc-btn-secondary-hover-bg:var(--lmcccm-p-btn-secondary-hover-bg);--cc-toggle-bg-off:var(--lmcccm-p-toggle-bg-off);--cc-toggle-bg-on:var(--lmcccm-p-toggle-bg-on);--cc-toggle-bg-readonly:var(--lmcccm-p-toggle-bg-readonly);--cc-toggle-knob-bg:var(--lmcccm-p-toggle-knob-bg);--cc-toggle-knob-icon-color:var(--lmcccm-p-toggle-knob-icon-color);--cc-block-text:var(--lmcccm-p-text);--cc-cookie-category-block-bg:var(--lmcccm-p-cookie-category-bg);--cc-cookie-category-block-bg-hover:var(--lmcccm-p-cookie-category-hover-bg);--cc-section-border:var(--lmcccm-p-modal-section-border);--cc-cookie-table-border:var(--lmcccm-p-cookie-table-border);--cc-overlay-bg:var(--lmcccm-p-backdrop-color)}.cc_div{font-family:var(--lmcccm-p-font-family);font-size:var(--lmcccm-p-base-font-size);line-height:1.5}.cc_div *,.cc_div::after,.cc_div::before{line-height:1.5}.cc_div strong{font-weight:700}#c-txt p:not(:last-child){margin-bottom:1em}#c-ttl,#s-ttl{margin-bottom:.6666666667em;font-weight:700;font-size:1.5em;line-height:1.2}@media screen and (max-width:1023px){#c-ttl,#s-ttl{font-size:1.5em}}@media screen and (max-width:688px){#c-ttl,#s-ttl{font-size:1.125em}}#c-txt,.cc_div .cloud #c-txt{margin-bottom:0;font-size:1em;line-height:inherit}.cc_div a{-webkit-text-decoration:var(--lmcccm-p-link-text-decoration);text-decoration:var(--lmcccm-p-link-text-decoration);color:var(--lmcccm-p-link-text);border-bottom:none}.cc_div a:hover{-webkit-text-decoration:var(--lmcccm-p-link-hover-text-decoration);text-decoration:var(--lmcccm-p-link-hover-text-decoration);color:var(--lmcccm-p-link-hover-text)}.cc_div a:active{color:var(--lmcccm-p-link-active-text)}#cm.cloud .c-bn,.cc_div .c-bn{padding:calc(.5em - var(--lmcccm-p-btn-border-width)) 1.5em;font-size:inherit;border-width:var(--lmcccm-p-btn-border-width);border-radius:var(--lmcccm-p-btn-border-radius)}@media screen and (max-width:688px){.cc_div .bns-t .c-bn{padding:calc(.5em - var(--lmcccm-p-btn-border-width)) 1.5em;font-size:inherit}}#cm .c-bn,#s-bns .c-bn{overflow:hidden;font-weight:var(--lmcccm-p-btn-font-weight);white-space:nowrap;text-overflow:ellipsis;text-transform:var(--lmcccm-p-btn-text-transform);border-style:var(--lmcccm-p-btn-border-style)}#c-bns.swap .c-bn:first-child,#c-bns:not(.swap) .c-bn:last-child,#cm .c-bn,#s-bns .c-bn{color:var(--lmcccm-p-btn-secondary-text);background-color:var(--lmcccm-p-btn-secondary-bg);border-color:var(--lmcccm-p-btn-secondary-border)}#c-bns.swap .c-bn:first-child:hover,#c-bns:not(.swap) .c-bn:last-child:hover,#cm .c-bn:hover,#s-bns .c-bn:hover{color:var(--lmcccm-p-btn-secondary-hover-text);background-color:var(--lmcccm-p-btn-secondary-hover-bg);border-color:var(--lmcccm-p-btn-secondary-hover-border)}#c-bns.swap .c-bn:first-child:active,#c-bns:not(.swap) .c-bn:last-child:active,#cm .c-bn:active,#s-bns .c-bn:active{color:var(--lmcccm-p-btn-secondary-active-text);background-color:var(--lmcccm-p-btn-secondary-active-bg);border-color:var(--lmcccm-p-btn-secondary-active-border)}#c-bns.swap .c-bn:last-child,#c-bns:not(.swap) .c-bn:first-child,#s-bns .c-bn:first-child{color:var(--lmcccm-p-btn-primary-text);background:var(--lmcccm-p-btn-primary-bg);border-color:var(--lmcccm-p-btn-primary-border)}#c-bns.swap .c-bn:last-child:hover,#c-bns:not(.swap) .c-bn:first-child:hover,#s-bns .c-bn:first-child:hover{color:var(--lmcccm-p-btn-primary-hover-text);background:var(--lmcccm-p-btn-primary-hover-bg);border-color:var(--lmcccm-p-btn-primary-hover-border)}#c-bns.swap .c-bn:last-child:active,#c-bns:not(.swap) .c-bn:first-child:active,#s-bns .c-bn:first-child:active{color:var(--lmcccm-p-btn-primary-active-text);background:var(--lmcccm-p-btn-primary-active-bg);border-color:var(--lmcccm-p-btn-primary-active-border)}#c-bns .c-bn+.c-bn,#s-bns .c-bn+.c-bn{margin-left:1em}@media screen and (max-width:688px){#c-bns .c-bn+.c-bn,#s-bns .c-bn+.c-bn{margin-top:1em;margin-left:0}}#cm.cloud #c-bns .c-bn+.c-bn{margin-top:1em;margin-left:0}.cc_div .b-tg,.cc_div .b-tg .c-tg,.cc_div .b-tg .c-tgl,.cc_div span.t-lb{width:3em}.cc_div .b-tg .c-tgl:checked~.c-tg::after{transform:translateX(1.5em)}#cc--main{z-index:2147483647!important}#cm{max-width:40em;padding:2em;box-shadow:0 .125rem .5rem rgba(0,0,0,.15)}#cm.bar,#cm.box{padding:2.5em}#cm.bar #c-inr{display:flex;align-items:flex-end;max-width:none}#cm.bar #c-inr-i{flex-grow:1;margin-right:3em}#cm.bar #c-bns{flex-shrink:0;align-items:baseline;max-width:none;margin-top:0}#cm.box #c-bns{justify-content:flex-end}#cm.bar #c-bns .c-bn,#cm.box #c-bns .c-bn{width:auto;flex:none}#cm.cloud{max-width:68em;padding:2.5em 3em}.cc_div #c-bns{margin-top:2em}@media screen and (max-width:1023px){#cm.bar #c-inr{flex-flow:column;align-items:stretch}#cm.bar #c-inr-i{margin-right:0;margin-bottom:2em}#cm.bar #c-bns{align-self:flex-end}}@media screen and (max-width:688px){#cm,#cm.cloud,#cm.left,#cm.right{padding:1.5em!important}.cc_div #c-bns{margin-top:1.5em}#cm.bar #c-inr-i{margin-bottom:1.5em}#cm.bar #c-bns{align-self:stretch}#cm .c-bn,#cm.bar #c-bns .c-bn,.cc_div .c-bn{width:100%}}#s-bns,#s-hdr,#s-inr{color:var(--lmcccm-p-modal-text);background-color:var(--lmcccm-p-modal-bg)}#cs,#s-bl,#s-bns{padding:1.5em}@media screen and (max-width:688px){#cs,#s-bl,#s-bns{padding:1em}}#s-hdr{height:calc(4.8125em + 1px);padding:0 1.5em;border-bottom-width:1px}@media screen and (max-width:688px){#s-hdr{height:calc(3.375em + 1px);padding:0 1em}}#s-inr{max-width:var(--lmcccm-p-modal-max-width);padding-top:4.8125em;padding-bottom:5.5em;border-radius:var(--lmcccm-p-modal-border-radius);box-shadow:0 .25rem .75rem rgba(0,0,0,.2)}@media screen and (max-width:688px){#s-inr{padding-top:3.375em;padding-bottom:8em}}#s-bns{display:flex;height:calc(5.5em + 1px);border-top-width:1px}@media screen and (max-width:688px){#s-bns{display:block;height:calc(8em + 1px)}}#s-bns .c-bn{flex-grow:0;flex-basis:auto}#s-bns .c-bn:nth-last-child(2){margin-right:1em}#s-bns .c-bn:last-child{margin-left:auto}@media screen and (max-width:688px){#s-bns .c-bn:nth-last-child(2){margin-right:0}}#c-s-in{height:100%;max-height:var(--lmcccm-p-modal-max-height)}@media screen and (max-width:688px){#c-s-in{max-height:none}}.cc_div .bar #s-inr{max-width:var(--lmcccm-p-modal-max-width)}@media screen and (max-width:688px){#s-inr.bns-t{padding-bottom:11.5em}}@media screen and (max-width:688px){.bns-t #s-bns{height:calc(11.5em + 1px)}}#s-c-bn{margin-right:-.4em;font-size:1.8em;color:inherit;background-color:transparent;border:none;border-radius:0}#s-c-bn::after,#s-c-bn::before{width:2.5px;background-color:currentColor}#s-c-bn:active,#s-c-bn:hover{background-color:transparent}#s-cnt .p{margin-top:0;font-size:inherit;color:inherit}#s-bl .act .b-acc,.cc_div .b-tl,.cc_div .c-bl{border-radius:var(--lmcccm-p-cookie-category-border-radius)}#s-bl .c-bl{margin-bottom:.5em}#s-bl .c-bl:first-child{margin-bottom:1em}#s-bl .c-bl:last-child{margin-bottom:0}#s-bl .b-acc .p{padding:1em}#s-cnt .b-bn .b-tl{padding:1em 5em 1em 3.25em;font-size:1em;font-weight:400;line-height:1.2}.cc_div .act .b-bn .exp::before,.cc_div .b-bn .exp::before{top:48%;border-color:inherit}/*! + );--lmcccm-p-cookie-category-bg:var(--lmcccm-cookie-category-bg, #f0f4f5);--lmcccm-p-cookie-category-hover-bg:var(--lmcccm-cookie-category-hover-bg, #f0f4f5);--lmcccm-p-cookie-table-border:var(--lmcccm-cookie-table-border, #e9e9e9)}.cc_div{--cc-bg:var(--lmcccm-p-bg);--cc-text:var(--lmcccm-p-text);--cc-btn-primary-bg:var(--lmcccm-p-btn-primary-bg);--cc-btn-primary-text:var(--lmcccm-p-btn-primary-text);--cc-btn-primary-hover-bg:var(--lmcccm-p-btn-primary-hover-bg);--cc-btn-secondary-bg:var(--lmcccm-p-btn-secondary-bg);--cc-btn-secondary-text:var(--lmcccm-p-btn-secondary-text);--cc-btn-secondary-hover-bg:var(--lmcccm-p-btn-secondary-hover-bg);--cc-toggle-bg-off:var(--lmcccm-p-toggle-bg-off);--cc-toggle-bg-on:var(--lmcccm-p-toggle-bg-on);--cc-toggle-bg-readonly:var(--lmcccm-p-toggle-bg-readonly);--cc-toggle-knob-bg:var(--lmcccm-p-toggle-knob-bg);--cc-toggle-knob-icon-color:var(--lmcccm-p-toggle-knob-icon-color);--cc-block-text:var(--lmcccm-p-text);--cc-cookie-category-block-bg:var(--lmcccm-p-cookie-category-bg);--cc-cookie-category-block-bg-hover:var(--lmcccm-p-cookie-category-hover-bg);--cc-section-border:var(--lmcccm-p-modal-section-border);--cc-cookie-table-border:var(--lmcccm-p-cookie-table-border);--cc-overlay-bg:var(--lmcccm-p-backdrop-color)}.cc_div{font-family:var(--lmcccm-p-font-family);font-size:var(--lmcccm-p-base-font-size);line-height:1.5}.cc_div *,.cc_div::after,.cc_div::before{line-height:1.5}.cc_div strong{font-weight:600}#c-txt p:not(:last-child){margin-bottom:1em}#c-ttl,#s-ttl{margin-bottom:.6666666667em;font-weight:700;font-size:1.5em;line-height:1.2}@media screen and (max-width:1023px){#c-ttl,#s-ttl{font-size:1.5em}}@media screen and (max-width:688px){#c-ttl,#s-ttl{font-size:1.125em}}#c-txt,.cc_div .cloud #c-txt{margin-bottom:0;font-size:1em;line-height:inherit}.cc_div a{-webkit-text-decoration:var(--lmcccm-p-link-text-decoration);text-decoration:var(--lmcccm-p-link-text-decoration);color:var(--lmcccm-p-link-text);border-bottom:none}.cc_div a:hover{-webkit-text-decoration:var(--lmcccm-p-link-hover-text-decoration);text-decoration:var(--lmcccm-p-link-hover-text-decoration);color:var(--lmcccm-p-link-hover-text)}.cc_div a:active{color:var(--lmcccm-p-link-active-text)}#cm.cloud .c-bn,.cc_div .c-bn{padding:calc(.5em - var(--lmcccm-p-btn-border-width)) 1.5em;font-size:inherit;border-width:var(--lmcccm-p-btn-border-width);border-radius:var(--lmcccm-p-btn-border-radius)}@media screen and (max-width:688px){.cc_div .bns-t .c-bn{padding:calc(.5em - var(--lmcccm-p-btn-border-width)) 1.5em;font-size:inherit}}#cm .c-bn,#s-bns .c-bn{overflow:hidden;font-weight:var(--lmcccm-p-btn-font-weight);white-space:nowrap;text-overflow:ellipsis;text-transform:var(--lmcccm-p-btn-text-transform);border-style:var(--lmcccm-p-btn-border-style)}#c-bns.swap .c-bn:first-child,#c-bns:not(.swap) .c-bn:last-child,#cm .c-bn,#s-bns .c-bn{color:var(--lmcccm-p-btn-secondary-text);background-color:var(--lmcccm-p-btn-secondary-bg);border-color:var(--lmcccm-p-btn-secondary-border)}#c-bns.swap .c-bn:first-child:hover,#c-bns:not(.swap) .c-bn:last-child:hover,#cm .c-bn:hover,#s-bns .c-bn:hover{color:var(--lmcccm-p-btn-secondary-hover-text);background-color:var(--lmcccm-p-btn-secondary-hover-bg);border-color:var(--lmcccm-p-btn-secondary-hover-border)}#c-bns.swap .c-bn:first-child:active,#c-bns:not(.swap) .c-bn:last-child:active,#cm .c-bn:active,#s-bns .c-bn:active{color:var(--lmcccm-p-btn-secondary-active-text);background-color:var(--lmcccm-p-btn-secondary-active-bg);border-color:var(--lmcccm-p-btn-secondary-active-border)}#c-bns.swap .c-bn:last-child,#c-bns:not(.swap) .c-bn:first-child,#s-bns .c-bn:first-child{color:var(--lmcccm-p-btn-primary-text);background:var(--lmcccm-p-btn-primary-bg);border-color:var(--lmcccm-p-btn-primary-border)}#c-bns.swap .c-bn:last-child:hover,#c-bns:not(.swap) .c-bn:first-child:hover,#s-bns .c-bn:first-child:hover{color:var(--lmcccm-p-btn-primary-hover-text);background:var(--lmcccm-p-btn-primary-hover-bg);border-color:var(--lmcccm-p-btn-primary-hover-border)}#c-bns.swap .c-bn:last-child:active,#c-bns:not(.swap) .c-bn:first-child:active,#s-bns .c-bn:first-child:active{color:var(--lmcccm-p-btn-primary-active-text);background:var(--lmcccm-p-btn-primary-active-bg);border-color:var(--lmcccm-p-btn-primary-active-border)}#c-bns .c-bn+.c-bn,#s-bns .c-bn+.c-bn{margin-left:1em}@media screen and (max-width:688px){#c-bns .c-bn+.c-bn,#s-bns .c-bn+.c-bn{margin-top:1em;margin-left:0}}#cm.cloud #c-bns .c-bn+.c-bn{margin-top:1em;margin-left:0}.cc_div .b-tg,.cc_div .b-tg .c-tg,.cc_div .b-tg .c-tgl,.cc_div span.t-lb{width:3em}.cc_div .b-tg .c-tgl:checked~.c-tg::after{transform:translateX(1.5em)}#cc--main{z-index:2147483647!important}#cm{overflow-y:auto;-webkit-overflow-scrolling:touch;max-width:40em;max-height:calc(100vh - 2em);padding:2em;box-shadow:0 2px 8px 0 rgba(0,0,0,.1490196078)}#cm.bar,#cm.box{padding:2.5em}#cm.bar{max-height:100vh}#cm.bar #c-inr{display:flex;align-items:flex-end;max-width:none}#cm.bar #c-inr-i{flex-grow:1;margin-right:3em}#cm.bar #c-bns{flex-shrink:0;align-items:baseline;max-width:none;margin-top:0}#cm.box #c-bns{justify-content:flex-end}#cm.bar #c-bns .c-bn,#cm.box #c-bns .c-bn{width:auto;flex:none}#cm.cloud{overflow-y:auto;max-width:68em;padding:2.5em 3em}.cc_div #c-bns{margin-top:2em}@media screen and (max-width:1023px){#cm.bar #c-inr{flex-flow:column;align-items:stretch}#cm.bar #c-inr-i{margin-right:0;margin-bottom:2em}#cm.bar #c-bns{align-self:flex-end}}@media screen and (max-width:688px){#cm,#cm.cloud,#cm.left,#cm.right{padding:1.5em!important}.cc_div #c-bns{margin-top:1.5em}#cm.bar #c-inr-i{margin-bottom:1.5em}#cm.bar #c-bns{align-self:stretch}#cm .c-bn,#cm.bar #c-bns .c-bn,.cc_div .c-bn{width:100%}}#s-bns,#s-hdr,#s-inr{color:var(--lmcccm-p-modal-text);background-color:var(--lmcccm-p-modal-bg)}#cs,#s-bl,#s-bns{padding:1.5em}@media screen and (max-width:688px){#cs,#s-bl,#s-bns{padding:1em}}#s-hdr{height:calc(4.8125em + 1px);padding:0 1.5em;border-bottom-width:1px}@media screen and (max-width:688px){#s-hdr{height:calc(3.375em + 1px);padding:0 1em}}#s-inr{max-width:var(--lmcccm-p-modal-max-width);padding-top:4.8125em;padding-bottom:5.5em;border-radius:var(--lmcccm-p-modal-border-radius);box-shadow:0 4px 12px 0 rgba(0,0,0,.2)}@media screen and (max-width:688px){#s-inr{padding-top:3.375em;padding-bottom:8em}}#s-bns{display:flex;height:calc(5.5em + 1px);border-top-width:1px}@media screen and (max-width:688px){#s-bns{display:block;height:calc(8em + 1px)}}#s-bns .c-bn{flex-grow:0;flex-basis:auto}#s-bns .c-bn:nth-last-child(2){margin-right:1em}#s-bns .c-bn:last-child{margin-left:auto}@media screen and (max-width:688px){#s-bns .c-bn:nth-last-child(2){margin-right:0}}#c-s-in{height:100%;max-height:var(--lmcccm-p-modal-max-height)}@media screen and (max-width:688px){#c-s-in{max-height:none}}.cc_div .bar #s-inr{max-width:var(--lmcccm-p-modal-max-width)}@media screen and (max-width:688px){#s-inr.bns-t{padding-bottom:11.5em}}@media screen and (max-width:688px){.bns-t #s-bns{height:calc(11.5em + 1px)}}#s-c-bn{margin-right:-.4em;font-size:1.8em;color:inherit;background-color:transparent;border:none;border-radius:0}#s-c-bn::after,#s-c-bn::before{width:2.5px;background-color:currentcolor}#s-c-bn:active,#s-c-bn:hover{background-color:transparent}#s-cnt .p{margin-top:0;font-size:inherit;color:inherit}#s-bl .act .b-acc,.cc_div .b-tl,.cc_div .c-bl{border-radius:var(--lmcccm-p-cookie-category-border-radius)}#s-bl .c-bl{margin-bottom:.5em}#s-bl .c-bl:first-child{margin-bottom:1em}#s-bl .c-bl:last-child{margin-bottom:0}#s-bl .b-acc .p{padding:1em}#s-cnt .b-bn .b-tl{padding:1em 5em 1em 3.25em;font-size:1em;font-weight:400;line-height:1.5}.cc_div .act .b-bn .exp::before,.cc_div .b-bn .exp::before{top:48%;border-color:inherit}/*! * LMC Cookie Consent Manager * Copyright 2021–2022 LMC s.r.o. * Licensed under MIT (https://github.com/lmc-eu/cookie-consent-manager/blob/main/LICENSE.md) diff --git a/dist/LmcCookieConsentManager.mjs b/dist/LmcCookieConsentManager.mjs index 5aa693cd..b2b14d32 100644 --- a/dist/LmcCookieConsentManager.mjs +++ b/dist/LmcCookieConsentManager.mjs @@ -660,35 +660,10 @@ var nanoid = (size = 21) => { return id; }; -// src/utils.ts -var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { - if (i === 0) { - return `${accumulator}${string}`; - } - if (i === strings.length - 1) { - return `${accumulator} ${and}\xA0${string}`; - } - return `${accumulator}, ${string}`; -}); -var pluralize = (count, singular, plural) => count === 1 ? singular : plural; -var assembleDescriptionIntro = (defaultValue, overrideValue) => { - const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; - return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; -}; - -// src/constants/CookieConsentCategory.ts -var CookieConsentCategory = { - NECESSARY: "necessary", - AD: "ad", - ANALYTICS: "analytics", - FUNCTIONALITY: "functionality", - PERSONALIZATION: "personalization" -}; - -// src/constants/DisplayMode.ts -var DisplayMode = { - FORCE: "force", - SOFT: "soft" +// src/constants/SecondaryButtonMode.ts +var SecondaryButtonMode = { + ACCEPT_NECESSARY: "acceptNecessary", + SHOW_SETTINGS: "showSettings" }; // src/types/vanilla-cookieconsent.ts @@ -745,13 +720,53 @@ var VanillaCookieConsent; })(Transition = VanillaCookieConsent2.Transition || (VanillaCookieConsent2.Transition = {})); })(VanillaCookieConsent || (VanillaCookieConsent = {})); +// src/utils.ts +var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { + if (i === 0) { + return `${accumulator}${string}`; + } + if (i === strings.length - 1) { + return `${accumulator} ${and}\xA0${string}`; + } + return `${accumulator}, ${string}`; +}); +var pluralize = (count, singular, plural) => count === 1 ? singular : plural; +var assembleDescriptionIntro = (defaultValue, overrideValue) => { + const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; + return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; +}; +var assembleSecondaryButton = (secondaryButtonMode, textAcceptNecessary, textShowSettings) => { + return { + text: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? textAcceptNecessary : textShowSettings, + role: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY : VanillaCookieConsent.SecondaryButtonRole.SETTINGS + }; +}; +var isSettingsButtonNotShown = (secondaryButtonMode) => { + return secondaryButtonMode !== SecondaryButtonMode.SHOW_SETTINGS; +}; + +// src/constants/CookieConsentCategory.ts +var CookieConsentCategory = { + NECESSARY: "necessary", + AD: "ad", + ANALYTICS: "analytics", + FUNCTIONALITY: "functionality", + PERSONALIZATION: "personalization" +}; + +// src/constants/DisplayMode.ts +var DisplayMode = { + FORCE: "force", + SOFT: "soft" +}; + // src/languages/cs.ts var extra = { and: "a", company: "spole\u010Dnosti", companies: "spole\u010Dnostem" }; -var config = (extraMessages) => { +var config = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra), extraMessages); return { @@ -764,17 +779,13 @@ var config = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} souhlas s\xA0vyu\u017E\xEDv\xE1n\xEDm soubor\u016F Cookies na\xA0\xFA\u010Dely personalizace, anal\xFDzy a\xA0c\xEDlen\xE9ho marketingu. - Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete - ve\xA0vlastn\xEDm nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete ve\xA0vlastn\xEDm nastaven\xED.` : ""}

`, primary_btn: { text: "P\u0159ijmout v\u0161echny", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "P\u0159ijmout nezbytn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "P\u0159ijmout nezbytn\xE9", "Vlastn\xED nastaven\xED") }, settings_modal: { title: "P\u0159izp\u016Fsobit nastaven\xED Cookies", @@ -847,7 +858,7 @@ var config = (extraMessages) => { var extra2 = { and: "und" }; -var config2 = (extraMessages) => { +var config2 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra2), extraMessages); return { @@ -859,17 +870,13 @@ var config2 = (extraMessages) => { Indem Sie auf \u201EAlles\xA0akzeptieren\u201C klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Ger\xE4t durch ${addSeparators(lang.companyNames, extra2.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen. - Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren - eigenen Einstellungen anpassen. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren eigenen Einstellungen anpassen.` : ""}

`, primary_btn: { text: "Alles akzeptieren", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Das Notwendigste akzeptieren", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Das Notwendigste akzeptieren", "Eigene Einstellungen") }, settings_modal: { title: "Benutzerdefinierte Cookie-Einstellungen", @@ -938,7 +945,7 @@ var config2 = (extraMessages) => { var extra3 = { and: "and" }; -var config3 = (extraMessages) => { +var config3 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra3), extraMessages); return { @@ -950,16 +957,13 @@ var config3 = (extraMessages) => { By clicking the "Accept all" button, you give ${addSeparators(lang.companyNames, extra3.and)} your consent to\xA0use cookies for\xA0personalisation, analytics and\xA0targeted marketing. - You can customize use of cookies in your own settings. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `You can customize use of cookies in your custom settings.` : ""}

`, primary_btn: { text: "Accept all", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Accept necessary", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Accept necessary", "Custom settings") }, settings_modal: { title: "Custom Cookie settings", @@ -1027,7 +1031,7 @@ var config3 = (extraMessages) => { var extra4 = { and: "\xE9s" }; -var config4 = (extraMessages) => { +var config4 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); return { @@ -1039,16 +1043,13 @@ var config4 = (extraMessages) => { A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az ${addSeparators(lang.companyNames, extra4.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. - A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, primary_btn: { text: "Minden elfogad\xE1sa", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", "Egy\xE9ni be\xE1ll\xEDt\xE1sok") }, settings_modal: { title: "Egyedi cookie-f\xE1jl be\xE1ll\xEDt\xE1sok", @@ -1118,7 +1119,7 @@ var extra5 = { company: "firm\u0119", companies: "firmy" }; -var config5 = (extraMessages) => { +var config5 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { @@ -1131,17 +1132,13 @@ var config5 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, extra5.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. - Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 - we\xA0w\u0142asnych ustawieniach. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, primary_btn: { text: "Akceptuj wszystkie", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Akceptuj niezb\u0119dne", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Akceptuj niezb\u0119dne", "W\u0142asne ustawienia") }, settings_modal: { title: "W\u0142asne ustawienia plik\xF3w cookies", @@ -1212,7 +1209,7 @@ var extra6 = { company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C" }; -var config6 = (extraMessages) => { +var config6 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { @@ -1225,17 +1222,13 @@ var config6 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0412\u0430\u0448\u0435\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043E\u0431\u043B\u0435\u0433\u0447\u0438\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430, \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0438\u0437 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438\xA0\u0443\u0441\u043B\u0443\u0433. - \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie - \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", "C\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0439") }, settings_modal: { title: "\u0418\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookies", @@ -1306,7 +1299,7 @@ var extra7 = { company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam" }; -var config7 = (extraMessages) => { +var config7 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { @@ -1319,17 +1312,13 @@ var config7 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} s\xFAhlas s\xA0vyu\u017E\xEDvan\xEDm s\xFAborov Cookies za\xA0\xFA\u010Delom personaliz\xE1cie, anal\xFDzy a\xA0cielen\xE9ho marketingu. - Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete - vo\xA0vlastnom nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete vo\xA0vlastnom nastaven\xED.` : ""}

`, primary_btn: { text: "Prija\u0165 v\u0161etky", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Prija\u0165 nevyhnutn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prija\u0165 nevyhnutn\xE9", "Vlastn\xE9 nastavenia") }, settings_modal: { title: "Prisp\xF4sobi\u0165 nastavenia cookies", @@ -1399,7 +1388,7 @@ var extra8 = { company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C" }; -var config8 = (extraMessages) => { +var config8 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { @@ -1412,17 +1401,13 @@ var config8 = (extraMessages) => { ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043D\u0430 \u0412\u0430\u0448\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0446\u0438\u0445 \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043F\u043E\u043B\u0435\u0433\u0448\u0438\u0442\u044C \u043D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443, \u0446\u0456\u043B\u044C\u043E\u0432\u0438\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0456\u0437 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0456\u0432 \u0456\xA0\u043F\u043E\u0441\u043B\u0443\u0433. - \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 - \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", "\u0412\u043B\u0430\u0441\u043D\u0439e \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u0439e") }, settings_modal: { title: "\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies", @@ -1538,6 +1523,7 @@ var defaultOptions = { onChange: noopChangeCallback, companyNames: ["LMC"], displayMode: DisplayMode.FORCE, + secondaryButtonMode: SecondaryButtonMode.ACCEPT_NECESSARY, translationOverrides: {}, config: {} }; @@ -1555,20 +1541,21 @@ var LmcCookieConsentManager = (serviceName, args) => { onChange, companyNames, displayMode, + secondaryButtonMode, translationOverrides, config: config9 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); const languages = { - cs: config(__spreadValues({ companyNames }, translationOverrides.cs)), - de: config2(__spreadValues({ companyNames }, translationOverrides.de)), - en: config3(__spreadValues({ companyNames }, translationOverrides.en)), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu)), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl)), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru)), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk)), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk)) + cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), + de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), + en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), + hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); diff --git a/dist/constants/SecondaryButtonMode.d.ts b/dist/constants/SecondaryButtonMode.d.ts new file mode 100644 index 00000000..0ec0e8b4 --- /dev/null +++ b/dist/constants/SecondaryButtonMode.d.ts @@ -0,0 +1,4 @@ +export declare const SecondaryButtonMode: { + ACCEPT_NECESSARY: string; + SHOW_SETTINGS: string; +}; diff --git a/dist/init.js b/dist/init.js index e9615785..e6c108fd 100644 --- a/dist/init.js +++ b/dist/init.js @@ -661,35 +661,10 @@ return id; }; - // src/utils.ts - var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { - if (i === 0) { - return `${accumulator}${string}`; - } - if (i === strings.length - 1) { - return `${accumulator} ${and}\xA0${string}`; - } - return `${accumulator}, ${string}`; - }); - var pluralize = (count, singular, plural) => count === 1 ? singular : plural; - var assembleDescriptionIntro = (defaultValue, overrideValue) => { - const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; - return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; - }; - - // src/constants/CookieConsentCategory.ts - var CookieConsentCategory = { - NECESSARY: "necessary", - AD: "ad", - ANALYTICS: "analytics", - FUNCTIONALITY: "functionality", - PERSONALIZATION: "personalization" - }; - - // src/constants/DisplayMode.ts - var DisplayMode = { - FORCE: "force", - SOFT: "soft" + // src/constants/SecondaryButtonMode.ts + var SecondaryButtonMode = { + ACCEPT_NECESSARY: "acceptNecessary", + SHOW_SETTINGS: "showSettings" }; // src/types/vanilla-cookieconsent.ts @@ -746,13 +721,53 @@ })(Transition = VanillaCookieConsent2.Transition || (VanillaCookieConsent2.Transition = {})); })(VanillaCookieConsent || (VanillaCookieConsent = {})); + // src/utils.ts + var addSeparators = (strings, and = "") => strings.reduce((accumulator, string, i) => { + if (i === 0) { + return `${accumulator}${string}`; + } + if (i === strings.length - 1) { + return `${accumulator} ${and}\xA0${string}`; + } + return `${accumulator}, ${string}`; + }); + var pluralize = (count, singular, plural) => count === 1 ? singular : plural; + var assembleDescriptionIntro = (defaultValue, overrideValue) => { + const descriptionIntro = overrideValue != null ? overrideValue : defaultValue; + return descriptionIntro !== "" ? `

${descriptionIntro}

` : ""; + }; + var assembleSecondaryButton = (secondaryButtonMode, textAcceptNecessary, textShowSettings) => { + return { + text: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? textAcceptNecessary : textShowSettings, + role: secondaryButtonMode === SecondaryButtonMode.ACCEPT_NECESSARY ? VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY : VanillaCookieConsent.SecondaryButtonRole.SETTINGS + }; + }; + var isSettingsButtonNotShown = (secondaryButtonMode) => { + return secondaryButtonMode !== SecondaryButtonMode.SHOW_SETTINGS; + }; + + // src/constants/CookieConsentCategory.ts + var CookieConsentCategory = { + NECESSARY: "necessary", + AD: "ad", + ANALYTICS: "analytics", + FUNCTIONALITY: "functionality", + PERSONALIZATION: "personalization" + }; + + // src/constants/DisplayMode.ts + var DisplayMode = { + FORCE: "force", + SOFT: "soft" + }; + // src/languages/cs.ts var extra = { and: "a", company: "spole\u010Dnosti", companies: "spole\u010Dnostem" }; - var config = (extraMessages) => { + var config = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra), extraMessages); return { @@ -765,17 +780,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} souhlas s\xA0vyu\u017E\xEDv\xE1n\xEDm soubor\u016F Cookies na\xA0\xFA\u010Dely personalizace, anal\xFDzy a\xA0c\xEDlen\xE9ho marketingu. - Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete - ve\xA0vlastn\xEDm nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Dal\u0161\xED informace o\xA0Cookies a\xA0\xFApravu jejich pou\u017E\xEDv\xE1n\xED naleznete ve\xA0vlastn\xEDm nastaven\xED.` : ""}

`, primary_btn: { text: "P\u0159ijmout v\u0161echny", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "P\u0159ijmout nezbytn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "P\u0159ijmout nezbytn\xE9", "Vlastn\xED nastaven\xED") }, settings_modal: { title: "P\u0159izp\u016Fsobit nastaven\xED Cookies", @@ -848,7 +859,7 @@ var extra2 = { and: "und" }; - var config2 = (extraMessages) => { + var config2 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra2), extraMessages); return { @@ -860,17 +871,13 @@ Indem Sie auf \u201EAlles\xA0akzeptieren\u201C klicken, stimmen Sie der Verwendung von Cookies und anderen Identifikatoren auf Ihrem Ger\xE4t durch ${addSeparators(lang.companyNames, extra2.and)} zu. Die Verwendung dieser Cookies und anderer Identifikatoren erleichtert die Navigation auf der Website, die Anzeige personalisierter Inhalte, gezieltes Marketing und die Analyse der Nutzung unserer Produkte und Dienstleistungen. - Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren - eigenen Einstellungen anpassen. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Sie\xA0k\xF6nnen die\xA0Verwendung von\xA0Cookies in\xA0Ihren eigenen Einstellungen anpassen.` : ""}

`, primary_btn: { text: "Alles akzeptieren", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Das Notwendigste akzeptieren", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Das Notwendigste akzeptieren", "Eigene Einstellungen") }, settings_modal: { title: "Benutzerdefinierte Cookie-Einstellungen", @@ -939,7 +946,7 @@ var extra3 = { and: "and" }; - var config3 = (extraMessages) => { + var config3 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra3), extraMessages); return { @@ -951,16 +958,13 @@ By clicking the "Accept all" button, you give ${addSeparators(lang.companyNames, extra3.and)} your consent to\xA0use cookies for\xA0personalisation, analytics and\xA0targeted marketing. - You can customize use of cookies in your own settings. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `You can customize use of cookies in your custom settings.` : ""}

`, primary_btn: { text: "Accept all", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Accept necessary", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Accept necessary", "Custom settings") }, settings_modal: { title: "Custom Cookie settings", @@ -1028,7 +1032,7 @@ var extra4 = { and: "\xE9s" }; - var config4 = (extraMessages) => { + var config4 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); return { @@ -1040,16 +1044,13 @@ A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az ${addSeparators(lang.companyNames, extra4.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. - A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, primary_btn: { text: "Minden elfogad\xE1sa", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "A\xA0legsz\xFCks\xE9gesebbek elfogad\xE1sa", "Egy\xE9ni be\xE1ll\xEDt\xE1sok") }, settings_modal: { title: "Egyedi cookie-f\xE1jl be\xE1ll\xEDt\xE1sok", @@ -1119,7 +1120,7 @@ company: "firm\u0119", companies: "firmy" }; - var config5 = (extraMessages) => { + var config5 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { @@ -1132,17 +1133,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, extra5.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. - Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 - we\xA0w\u0142asnych ustawieniach. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, primary_btn: { text: "Akceptuj wszystkie", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Akceptuj niezb\u0119dne", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Akceptuj niezb\u0119dne", "W\u0142asne ustawienia") }, settings_modal: { title: "W\u0142asne ustawienia plik\xF3w cookies", @@ -1213,7 +1210,7 @@ company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C" }; - var config6 = (extraMessages) => { + var config6 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { @@ -1226,17 +1223,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0412\u0430\u0448\u0435\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0438\xA0\u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u043E\u0431\u043B\u0435\u0433\u0447\u0438\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430, \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0438\u0437 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438\xA0\u0443\u0441\u043B\u0443\u0433. - \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie - \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 cookie \u0432\xA0\u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u043D\u044F\u0442\u0438\u0435\xA0\u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E", "C\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0439") }, settings_modal: { title: "\u0418\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0430\u0439\u043B\u043E\u0432 cookies", @@ -1307,7 +1300,7 @@ company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam" }; - var config7 = (extraMessages) => { + var config7 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { @@ -1320,17 +1313,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} s\xFAhlas s\xA0vyu\u017E\xEDvan\xEDm s\xFAborov Cookies za\xA0\xFA\u010Delom personaliz\xE1cie, anal\xFDzy a\xA0cielen\xE9ho marketingu. - Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete - vo\xA0vlastnom nastaven\xED. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Viac inform\xE1ci\xED o\xA0Cookies a\xA0\xFApravu ich pou\u017E\xEDvania n\xE1jdete vo\xA0vlastnom nastaven\xED.` : ""}

`, primary_btn: { text: "Prija\u0165 v\u0161etky", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "Prija\u0165 nevyhnutn\xE9", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prija\u0165 nevyhnutn\xE9", "Vlastn\xE9 nastavenia") }, settings_modal: { title: "Prisp\xF4sobi\u0165 nastavenia cookies", @@ -1400,7 +1389,7 @@ company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C" }; - var config8 = (extraMessages) => { + var config8 = (extraMessages, secondaryButtonMode) => { var _a; const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { @@ -1413,17 +1402,13 @@ ${pluralize(lang.companyNames.length, lang.company, lang.companies)} ${addSeparators(lang.companyNames, lang.and)} \u043D\u0430 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043D\u0430 \u0412\u0430\u0448\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0446\u0438\u0445 \u0444\u0430\u0439\u043B\u0456\u0432 cookie \u0442\u0430 \u0456\u043D\u0448\u0438\u0445 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440\u0456\u0432 \u043F\u043E\u043B\u0435\u0433\u0448\u0438\u0442\u044C \u043D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044E \u043F\u043E \u0441\u0430\u0439\u0442\u0443, \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0456\u0437\u043E\u0432\u0430\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443, \u0446\u0456\u043B\u044C\u043E\u0432\u0438\u0439 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433, \u0430\u043D\u0430\u043B\u0456\u0437 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0448\u0438\u0445 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0456\u0432 \u0456\xA0\u043F\u043E\u0441\u043B\u0443\u0433. - \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 - \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u043C\u0456\u043D\u0438\u0442\u0438 \u0432\xA0\u0441\u0432\u043E\u0457\u0445 \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F\u0445.` : ""}

`, primary_btn: { text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438\xA0\u0432\u0441\u0435", role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL }, - secondary_btn: { - text: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", - role: VanillaCookieConsent.SecondaryButtonRole.ACCEPT_NECESSARY - } + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0442\u044F\xA0\u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u043E", "\u0412\u043B\u0430\u0441\u043D\u0439e \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u0439e") }, settings_modal: { title: "\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0444\u0430\u0439\u043B\u0456\u0432 Cookies", @@ -1539,6 +1524,7 @@ onChange: noopChangeCallback, companyNames: ["LMC"], displayMode: DisplayMode.FORCE, + secondaryButtonMode: SecondaryButtonMode.ACCEPT_NECESSARY, translationOverrides: {}, config: {} }; @@ -1556,20 +1542,21 @@ onChange, companyNames, displayMode, + secondaryButtonMode, translationOverrides, config: config9 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); const languages = { - cs: config(__spreadValues({ companyNames }, translationOverrides.cs)), - de: config2(__spreadValues({ companyNames }, translationOverrides.de)), - en: config3(__spreadValues({ companyNames }, translationOverrides.en)), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu)), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl)), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru)), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk)), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk)) + cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), + de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), + en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), + hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); diff --git a/dist/languages/cs.d.ts b/dist/languages/cs.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/cs.d.ts +++ b/dist/languages/cs.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/de.d.ts b/dist/languages/de.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/de.d.ts +++ b/dist/languages/de.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/en.d.ts b/dist/languages/en.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/en.d.ts +++ b/dist/languages/en.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/hu.d.ts b/dist/languages/hu.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/hu.d.ts +++ b/dist/languages/hu.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/pl.d.ts b/dist/languages/pl.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/pl.d.ts +++ b/dist/languages/pl.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/ru.d.ts b/dist/languages/ru.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/ru.d.ts +++ b/dist/languages/ru.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/sk.d.ts b/dist/languages/sk.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/sk.d.ts +++ b/dist/languages/sk.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/languages/uk.d.ts b/dist/languages/uk.d.ts index 9c8ccd39..967b70d4 100644 --- a/dist/languages/uk.d.ts +++ b/dist/languages/uk.d.ts @@ -1,9 +1,10 @@ -import { ExtraMessages } from '../types'; +import { ExtraMessages, Values } from '../types'; import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages - * @param {Array} [extraMessages.companyNames] - Array of strings with company names used to parametrized translations + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown * @returns {VanillaCookieConsent.Languages} Object with translated messages */ -export declare const config: (extraMessages: ExtraMessages) => VanillaCookieConsent.Languages; +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; export default config; diff --git a/dist/scss/settings/_settings.scss b/dist/scss/settings/_settings.scss index 4652ccdd..b89342db 100644 --- a/dist/scss/settings/_settings.scss +++ b/dist/scss/settings/_settings.scss @@ -1,3 +1,4 @@ +@use 'sass:map'; @use '@tokens' as tokens; @use '../tools/units'; @@ -6,18 +7,19 @@ $enable-link-buttons: false; // Optionally render secondary button(s) in consent $breakpoint-tablet-down: 688px; // Original value from Cookie Consent styles. $breakpoint-desktop-down: 1024px - 1; -$button-padding: calc(#{units.rem2em(tokens.$space-4)} - var(--lmcccm-p-btn-border-width)) units.rem2em(tokens.$space-7); -$button-spacing-x: units.rem2em(tokens.$space-6); -$button-spacing-y: units.rem2em(tokens.$space-6); +$button-padding: calc(#{units.convert2em(tokens.$space-400)} - var(--lmcccm-p-btn-border-width)) + units.convert2em(tokens.$space-700); +$button-spacing-x: units.convert2em(tokens.$space-600); +$button-spacing-y: units.convert2em(tokens.$space-600); $consent-box-max-width: 40em; $consent-cloud-max-width: 68em; -$modal-padding-desktop: units.rem2em(tokens.$space-7); -$modal-padding-tablet: units.rem2em(tokens.$space-6); +$modal-padding-desktop: units.convert2em(tokens.$space-700); +$modal-padding-tablet: units.convert2em(tokens.$space-600); $modal-header-height-desktop: 4.8125em; $modal-header-height-tablet: 3.375em; $modal-footer-height-desktop: 5.5em; $modal-footer-height-tablet-2-buttons: 8em; $modal-footer-height-tablet-3-buttons: 11.5em; -$modal-section-border-width: tokens.$border-width-1; +$modal-section-border-width: tokens.$border-width-100; diff --git a/dist/scss/style/_buttons.scss b/dist/scss/style/_buttons.scss index b1243afe..6c068735 100644 --- a/dist/scss/style/_buttons.scss +++ b/dist/scss/style/_buttons.scss @@ -83,8 +83,8 @@ $_consent-modal-button-selector: '#cm .c-bn' !default; #cm .c-bn.c_link, #c-bns.swap .c_link:first-child, #c-bns:not(.swap) .c_link:last-child { - padding-right: units.rem2em(tokens.$space-4); - padding-left: units.rem2em(tokens.$space-4); + padding-right: units.convert2em(tokens.$space-400); + padding-left: units.convert2em(tokens.$space-400); font-weight: inherit; font-size: inherit; text-decoration: var(--lmcccm-p-link-text-decoration); diff --git a/dist/scss/style/_consent-modal.scss b/dist/scss/style/_consent-modal.scss index 7d390358..010d3d40 100644 --- a/dist/scss/style/_consent-modal.scss +++ b/dist/scss/style/_consent-modal.scss @@ -3,14 +3,21 @@ @use '../tools/units'; #cm { + overflow-y: auto; + -webkit-overflow-scrolling: touch; max-width: settings.$consent-box-max-width; - padding: units.rem2em(tokens.$space-8); - box-shadow: tokens.$shadow-1; + max-height: calc(100vh - #{units.convert2em(tokens.$space-800)}); + padding: units.convert2em(tokens.$space-800); + box-shadow: tokens.$shadow-100; } #cm.box, #cm.bar { - padding: units.rem2em(tokens.$space-9); + padding: units.convert2em(tokens.$space-900); +} + +#cm.bar { + max-height: 100vh; } #cm.bar #c-inr { @@ -21,7 +28,7 @@ #cm.bar #c-inr-i { flex-grow: 1; - margin-right: units.rem2em(tokens.$space-10); + margin-right: units.convert2em(tokens.$space-1000); } #cm.bar #c-bns { @@ -42,12 +49,13 @@ } #cm.cloud { + overflow-y: auto; max-width: settings.$consent-cloud-max-width; - padding: units.rem2em(tokens.$space-9) units.rem2em(tokens.$space-10); + padding: units.convert2em(tokens.$space-900) units.convert2em(tokens.$space-1000); } .cc_div #c-bns { - margin-top: units.rem2em(tokens.$space-8); + margin-top: units.convert2em(tokens.$space-800); } @media screen and (max-width: settings.$breakpoint-desktop-down) { @@ -58,7 +66,7 @@ #cm.bar #c-inr-i { margin-right: 0; - margin-bottom: units.rem2em(tokens.$space-8); + margin-bottom: units.convert2em(tokens.$space-800); } #cm.bar #c-bns { @@ -72,15 +80,15 @@ #cm.left, #cm.right { // stylelint-disable-next-line declaration-no-important -- Override original styles. - padding: units.rem2em(tokens.$space-7) !important; + padding: units.convert2em(tokens.$space-700) !important; } .cc_div #c-bns { - margin-top: units.rem2em(tokens.$space-7); + margin-top: units.convert2em(tokens.$space-700); } #cm.bar #c-inr-i { - margin-bottom: units.rem2em(tokens.$space-7); + margin-bottom: units.convert2em(tokens.$space-700); } #cm.bar #c-bns { diff --git a/dist/scss/style/_settings-modal.scss b/dist/scss/style/_settings-modal.scss index 77da4912..dd72fca0 100644 --- a/dist/scss/style/_settings-modal.scss +++ b/dist/scss/style/_settings-modal.scss @@ -1,3 +1,4 @@ +@use 'sass:map'; @use '@tokens' as tokens; @use '../settings/settings'; @use '../tools/units'; @@ -35,7 +36,7 @@ padding-top: settings.$modal-header-height-desktop; padding-bottom: settings.$modal-footer-height-desktop; border-radius: var(--lmcccm-p-modal-border-radius); - box-shadow: tokens.$shadow-2; + box-shadow: tokens.$shadow-200; @media screen and (max-width: settings.$breakpoint-tablet-down) { padding-top: settings.$modal-header-height-tablet; @@ -112,7 +113,7 @@ &::before, &::after { width: 2.5px; - background-color: currentColor; + background-color: currentcolor; } &:hover, @@ -135,10 +136,10 @@ } #s-bl .c-bl { - margin-bottom: units.rem2em(tokens.$space-4); + margin-bottom: units.convert2em(tokens.$space-400); &:first-child { - margin-bottom: units.rem2em(tokens.$space-6); + margin-bottom: units.convert2em(tokens.$space-600); } &:last-child { @@ -147,14 +148,14 @@ } #s-bl .b-acc .p { - padding: units.rem2em(tokens.$space-6); + padding: units.convert2em(tokens.$space-600); } #s-cnt .b-bn .b-tl { - padding: units.rem2em(tokens.$space-6) 5em units.rem2em(tokens.$space-6) 3.25em; - font-size: units.rem2em(tokens.$body-text-medium); - font-weight: tokens.$font-weight-regular; - line-height: tokens.$line-height-small; + padding: units.convert2em(tokens.$space-600) 5em units.convert2em(tokens.$space-600) 3.25em; + font-size: units.convert2em(map.get(tokens.$body-medium-text-regular, 'mobile', 'font-size')); + font-weight: map.get(tokens.$body-medium-text-regular, 'mobile', 'font-weight'); + line-height: map.get(tokens.$body-medium-text-regular, 'mobile', 'line-height'); } .cc_div .act .b-bn .exp::before, diff --git a/dist/scss/style/_typography.scss b/dist/scss/style/_typography.scss index 11e36f27..e40c741a 100644 --- a/dist/scss/style/_typography.scss +++ b/dist/scss/style/_typography.scss @@ -1,46 +1,51 @@ +@use 'sass:map'; @use '@tokens' as tokens; @use '../settings/settings'; @use '../tools/units'; .cc_div { + $_line-height: map.get(tokens.$body-medium-text-regular, 'mobile', 'line-height'); + font-family: var(--lmcccm-p-font-family); font-size: var(--lmcccm-p-base-font-size); - line-height: tokens.$line-height-default; + line-height: $_line-height; & *, &::after, &::before { - line-height: tokens.$line-height-default; + line-height: $_line-height; } strong { - font-weight: tokens.$font-weight-bold; + font-weight: map.get(tokens.$body-medium-text-bold, 'mobile', 'font-weight'); } } #c-txt p:not(:last-child) { - margin-bottom: units.rem2em(tokens.$space-6); + margin-bottom: units.convert2em(tokens.$space-600); } #c-ttl, #s-ttl { - margin-bottom: units.rem2em(tokens.$space-6, units.rem2em(tokens.$heading-small-desktop)); - font-weight: tokens.$font-weight-bold; - font-size: units.rem2em(tokens.$heading-small-desktop); - line-height: tokens.$line-height-small; + $_font-size: units.convert2em(map.get(tokens.$heading-small-text, 'desktop', 'font-size')); + + margin-bottom: units.convert2em(tokens.$space-600, $current-font-size: $_font-size); + font-weight: map.get(tokens.$heading-small-text, 'mobile', 'font-weight'); + font-size: $_font-size; + line-height: map.get(tokens.$heading-medium-text, 'mobile', 'line-height'); @media screen and (max-width: settings.$breakpoint-desktop-down) { - font-size: units.rem2em(tokens.$heading-small-tablet); + font-size: units.convert2em(map.get(tokens.$heading-small-text, 'tablet', 'font-size')); } @media screen and (max-width: settings.$breakpoint-tablet-down) { - font-size: units.rem2em(tokens.$heading-small-mobile); + font-size: units.convert2em(map.get(tokens.$heading-small-text, 'mobile', 'font-size')); } } #c-txt, .cc_div .cloud #c-txt { margin-bottom: 0; - font-size: units.rem2em(tokens.$body-text-medium); + font-size: units.convert2em(map.get(tokens.$body-medium-text-regular, 'mobile', 'font-size')); line-height: inherit; } diff --git a/dist/scss/theme/_default.scss b/dist/scss/theme/_default.scss index efefccda..82e09b2f 100644 --- a/dist/scss/theme/_default.scss +++ b/dist/scss/theme/_default.scss @@ -7,13 +7,20 @@ // // By using Spirit design tokens, all Spirit-based projects benefit from plug-and-play setup. +@use 'sass:map'; @use '@tokens' as tokens; @use '../tools/units'; :root { // Common - --lmcccm-p-font-family: var(--lmcccm-font-family, #{tokens.$font-family-default}); - --lmcccm-p-base-font-size: var(--lmcccm-base-font-size, #{units.rem2em(tokens.$font-size-base)}); + --lmcccm-p-font-family: var( + --lmcccm-font-family, + #{map.get(tokens.$body-medium-text-regular, 'mobile', 'font-family')} + ); + --lmcccm-p-base-font-size: var( + --lmcccm-base-font-size, + #{units.convert2em(map.get(tokens.$body-medium-text-regular, 'mobile', 'font-size'))} + ); --lmcccm-p-bg: var(--lmcccm-bg, #{tokens.$background-basic}); --lmcccm-p-text: var(--lmcccm-text, #{tokens.$text-primary-default}); --lmcccm-p-backdrop-color: var(--lmcccm-backdrop-color, #{tokens.$background-backdrop}); @@ -26,11 +33,14 @@ --lmcccm-p-link-active-text: var(--lmcccm-link-active-text, #{tokens.$action-link-primary-active}); // Buttons - --lmcccm-p-btn-font-weight: var(--lmcccm-btn-font-weight, #{tokens.$font-weight-semibold}); + --lmcccm-p-btn-font-weight: var( + --lmcccm-btn-font-weight, + #{map.get(tokens.$body-medium-button, 'mobile', 'font-weight')} + ); --lmcccm-p-btn-text-transform: var(--lmcccm-btn-text-transform, initial); - --lmcccm-p-btn-border-width: var(--lmcccm-btn-border-width, #{tokens.$border-width-1}); - --lmcccm-p-btn-border-style: var(--lmcccm-btn-border-style, #{tokens.$border-style-1}); - --lmcccm-p-btn-border-radius: var(--lmcccm-btn-border-radius, #{units.rem2em(tokens.$radius-1)}); + --lmcccm-p-btn-border-width: var(--lmcccm-btn-border-width, #{tokens.$border-width-100}); + --lmcccm-p-btn-border-style: var(--lmcccm-btn-border-style, #{tokens.$border-style-100}); + --lmcccm-p-btn-border-radius: var(--lmcccm-btn-border-radius, #{units.convert2em(tokens.$radius-100)}); --lmcccm-p-btn-primary-border: var(--lmcccm-btn-primary-border, #{tokens.$action-primary-default}); --lmcccm-p-btn-primary-bg: var(--lmcccm-btn-primary-bg, #{tokens.$action-primary-default}); --lmcccm-p-btn-primary-text: var(--lmcccm-btn-primary-text, #{tokens.$text-primary-inverted-default}); @@ -60,10 +70,10 @@ // Modal --lmcccm-p-modal-max-width: var( --lmcccm-modal-max-width, - min(50em, calc(100vw - #{units.rem2em(tokens.$space-8)})) + min(50em, calc(100vw - #{units.convert2em(tokens.$space-800)})) ); - --lmcccm-p-modal-max-height: var(--lmcccm-modal-max-height, 37em); - --lmcccm-p-modal-border-radius: var(--lmcccm-modal-border-radius, #{units.rem2em(tokens.$radius-2)}); + --lmcccm-p-modal-max-height: var(--lmcccm-modal-max-height, 38.5em); + --lmcccm-p-modal-border-radius: var(--lmcccm-modal-border-radius, #{units.convert2em(tokens.$radius-200)}); --lmcccm-p-modal-bg: var(--lmcccm-modal-bg, var(--lmcccm-p-bg)); --lmcccm-p-modal-text: var(--lmcccm-modal-text, var(--lmcccm-p-text)); --lmcccm-p-modal-section-border: var(--lmcccm-modal-section-border, #{tokens.$border-main-default}); @@ -71,7 +81,7 @@ // Cookies --lmcccm-p-cookie-category-border-radius: var( --lmcccm-cookie-category-border-radius, - #{units.rem2em(tokens.$radius-1)} + #{units.convert2em(tokens.$radius-100)} ); --lmcccm-p-cookie-category-bg: var(--lmcccm-cookie-category-bg, #{tokens.$background-cover}); --lmcccm-p-cookie-category-hover-bg: var(--lmcccm-cookie-category-hover-bg, #{tokens.$background-cover}); diff --git a/dist/scss/tools/_units.scss b/dist/scss/tools/_units.scss index 4a6bba2b..c5d6fd08 100644 --- a/dist/scss/tools/_units.scss +++ b/dist/scss/tools/_units.scss @@ -1,16 +1,62 @@ @use 'sass:math'; +@use 'sass:string'; // -// Re-calculate `rem` to `em`. +// Get unit from length. +// +// Inspired by https://stackoverflow.com/a/58630116. +// +// @param {length} $length — Original length. +// @returns {string} — Detected unit. + +@function _get($length) { + @return string.slice($length * 0 + '', 2, -1); +} + +// +// Re-calculate `px` to `em`. +// +// @param {length} $length — Original length in `px`. +// @param {length} $current-font-size — Font size of current context in `em`. Necessary when != 1em. +// @returns {length} — New length in `em`, relative to the font size of current context. + +@function _px2em($length, $current-font-size: 1em) { + $_original-font-size: 16px; + + @return math.div($length, $_original-font-size) * math.div(1em, $current-font-size) * 1em; +} + // -// We cannot rely on `rem` as it can vary from project to project. Re-calculation to `em` is -// therefore needed for all `rem`-based design tokens. Output values are then relative to -// `--lmcccm-base-font-size` (see `_theme.scss`). +// Re-calculate `rem` to `em`. // // @param {length} $length — Original length in `rem`. // @param {length} $current-font-size — Font size of current context in `em`. Necessary when != 1em. // @returns {length} — New length in `em`, relative to the font size of current context. -@function rem2em($length, $current-font-size: 1em) { +@function _rem2em($length, $current-font-size: 1em) { @return math.div($length, 1rem) * math.div(1em, $current-font-size) * 1em; } + +// +// Automatically convert input length to `em` for convertible units. Otherwise return the input. +// +// We cannot rely on `rem` as it can vary from project to project. Also, we prefer proportional +// scaling even for pixel-based values. Re-calculation to `em` is therefore needed for all `rem` and +// `px`-based design tokens. Output value is then relative to `--lmcccm-base-font-size` (see +// `src/scss/theme/_default.scss`). +// +// @param {length} $input — Original length in any unit. +// @param {length} $current-font-size — Font size of current context in `em`. Necessary when != 1em. +// @returns {length} — New length in `em`, relative to the font size of current context. + +@function convert2em($input, $current-font-size: 1em) { + $_input-unit: _get($input); + + @if $_input-unit == 'px' { + @return _px2em($input, $current-font-size); + } @else if $_input-unit == 'rem' { + @return _rem2em($input, $current-font-size); + } @else { + @return $input; + } +} diff --git a/dist/types/CookieConsentManager.d.ts b/dist/types/CookieConsentManager.d.ts index 3bcb8f3a..73bb9c5e 100644 --- a/dist/types/CookieConsentManager.d.ts +++ b/dist/types/CookieConsentManager.d.ts @@ -1,5 +1,6 @@ import { CookieConsentCategory, DisplayMode } from '../constants'; import { VanillaCookieConsent } from './vanilla-cookieconsent'; +import { SecondaryButtonMode } from '../constants/SecondaryButtonMode'; export declare type Values = T[keyof T]; export declare type CookieConsentCategoryValues = Values; export declare type CategoriesChangeset = { @@ -23,6 +24,7 @@ export declare type CookieConsentManagerOptions = { onChange: OnChangeCallback; companyNames: string[]; displayMode: Values; + secondaryButtonMode: Values; translationOverrides: Record; config: VanillaCookieConsent.Options; }; diff --git a/dist/types/vanilla-cookieconsent.d.ts b/dist/types/vanilla-cookieconsent.d.ts index e376b902..d7c68368 100644 --- a/dist/types/vanilla-cookieconsent.d.ts +++ b/dist/types/vanilla-cookieconsent.d.ts @@ -41,7 +41,7 @@ export declare namespace VanillaCookieConsent { text?: string; role?: PrimaryButtonRole; } - interface ModalSecondaryButton { + export interface ModalSecondaryButton { text?: string; role?: SecondaryButtonRole; } diff --git a/dist/utils.d.ts b/dist/utils.d.ts index 127b61b7..94bb2f9e 100644 --- a/dist/utils.d.ts +++ b/dist/utils.d.ts @@ -1,3 +1,14 @@ +import { Values } from './types'; +import { SecondaryButtonMode } from './constants/SecondaryButtonMode'; +import { VanillaCookieConsent } from './types/vanilla-cookieconsent'; export declare const addSeparators: (strings: string[], and?: string) => string; export declare const pluralize: (count: number, singular: string, plural: string) => string; +/** + * Assemble description intro based on default value and optional override value. + */ export declare const assembleDescriptionIntro: (defaultValue: string, overrideValue?: string | undefined) => string; +/** + * Assemble secondary button based on secondary button mode + */ +export declare const assembleSecondaryButton: (secondaryButtonMode: Values, textAcceptNecessary: string, textShowSettings: string) => VanillaCookieConsent.ModalSecondaryButton; +export declare const isSettingsButtonNotShown: (secondaryButtonMode: Values) => boolean; diff --git a/package.json b/package.json index f71b8398..21d66449 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lmc-eu/cookie-consent-manager", - "version": "2.1.2", + "version": "2.2.0", "description": "Cookie Consent Manager mainly for LMC products", "keywords": [ "lmc-eu",