From ee9115ca500ed690c741770393cc947a0d140392 Mon Sep 17 00:00:00 2001 From: "iconstantin@bitdefender.com" Date: Tue, 21 Jul 2026 12:31:25 +0300 Subject: [PATCH] chore(DEX-24668-stage): added trialLink support and fixed an issue with configMbox on canvas --- 404.html | 32 +-- _src/blocks/mbox-canvas/mbox-canvas.js | 4 +- _src/blocks/new-prod-boxes/new-prod-boxes.js | 13 +- _src/scripts/trialLinkMap.js | 16 +- head.html | 32 +-- package-lock.json | 210 +++++++++---------- package.json | 6 +- 7 files changed, 159 insertions(+), 154 deletions(-) diff --git a/404.html b/404.html index 1d7167ab1..6f230e938 100644 --- a/404.html +++ b/404.html @@ -3,22 +3,22 @@ "imports": { "@glidejs/glide": "https://esm.sh/@glidejs/glide@3.7.1", "@glidejs/glide/": "https://esm.sh/@glidejs/glide@3.7.1/", - "@repobit/dex-constants": "https://esm.sh/@repobit/dex-constants@2.1.70", - "@repobit/dex-constants/": "https://esm.sh/@repobit/dex-constants@2.1.70/", - "@repobit/dex-data-layer": "https://esm.sh/@repobit/dex-data-layer@2.2.71", - "@repobit/dex-data-layer/": "https://esm.sh/@repobit/dex-data-layer@2.2.71/", - "@repobit/dex-launch": "https://esm.sh/@repobit/dex-launch@3.0.74", - "@repobit/dex-launch/": "https://esm.sh/@repobit/dex-launch@3.0.74/", - "@repobit/dex-store-elements": "https://esm.sh/@repobit/dex-store-elements@1.5.0", - "@repobit/dex-store-elements/": "https://esm.sh/@repobit/dex-store-elements@1.5.0/", - "@repobit/dex-store": "https://esm.sh/@repobit/dex-store@1.3.83", - "@repobit/dex-store/": "https://esm.sh/@repobit/dex-store@1.3.83/", - "@repobit/dex-system-design": "https://esm.sh/@repobit/dex-system-design@0.23.87", - "@repobit/dex-system-design/": "https://esm.sh/@repobit/dex-system-design@0.23.87/", - "@repobit/dex-target": "https://esm.sh/@repobit/dex-target@2.15.20", - "@repobit/dex-target/": "https://esm.sh/@repobit/dex-target@2.15.20/", - "@repobit/dex-utils": "https://esm.sh/@repobit/dex-utils@2.3.38", - "@repobit/dex-utils/": "https://esm.sh/@repobit/dex-utils@2.3.38/", + "@repobit/dex-constants": "https://esm.sh/@repobit/dex-constants@2.1.75", + "@repobit/dex-constants/": "https://esm.sh/@repobit/dex-constants@2.1.75/", + "@repobit/dex-data-layer": "https://esm.sh/@repobit/dex-data-layer@2.2.76", + "@repobit/dex-data-layer/": "https://esm.sh/@repobit/dex-data-layer@2.2.76/", + "@repobit/dex-launch": "https://esm.sh/@repobit/dex-launch@3.0.79", + "@repobit/dex-launch/": "https://esm.sh/@repobit/dex-launch@3.0.79/", + "@repobit/dex-store-elements": "https://esm.sh/@repobit/dex-store-elements@1.6.1", + "@repobit/dex-store-elements/": "https://esm.sh/@repobit/dex-store-elements@1.6.1/", + "@repobit/dex-store": "https://esm.sh/@repobit/dex-store@1.4.1", + "@repobit/dex-store/": "https://esm.sh/@repobit/dex-store@1.4.1/", + "@repobit/dex-system-design": "https://esm.sh/@repobit/dex-system-design@0.23.92", + "@repobit/dex-system-design/": "https://esm.sh/@repobit/dex-system-design@0.23.92/", + "@repobit/dex-target": "https://esm.sh/@repobit/dex-target@2.15.25", + "@repobit/dex-target/": "https://esm.sh/@repobit/dex-target@2.15.25/", + "@repobit/dex-utils": "https://esm.sh/@repobit/dex-utils@2.3.43", + "@repobit/dex-utils/": "https://esm.sh/@repobit/dex-utils@2.3.43/", "@tsparticles/all": "https://esm.sh/@tsparticles/all@3.9.1", "@tsparticles/all/": "https://esm.sh/@tsparticles/all@3.9.1/", "@tsparticles/engine": "https://esm.sh/@tsparticles/engine@3.9.1", diff --git a/_src/blocks/mbox-canvas/mbox-canvas.js b/_src/blocks/mbox-canvas/mbox-canvas.js index 9df0337ee..3cdce3dd7 100644 --- a/_src/blocks/mbox-canvas/mbox-canvas.js +++ b/_src/blocks/mbox-canvas/mbox-canvas.js @@ -191,8 +191,8 @@ export default async function decorate(block) { }); const canvasStore = new Store({ - campaign: async () => configMbox.promotion, - locale: configMbox.useGeoIpPricing + campaign: async () => configMbox?.promotion, + locale: configMbox?.useGeoIpPricing ? (await user.locale)?.toLowerCase() : page.locale.toLowerCase(), provider: { name: 'vlaicu' }, diff --git a/_src/blocks/new-prod-boxes/new-prod-boxes.js b/_src/blocks/new-prod-boxes/new-prod-boxes.js index e02cd010a..b0eec5d66 100644 --- a/_src/blocks/new-prod-boxes/new-prod-boxes.js +++ b/_src/blocks/new-prod-boxes/new-prod-boxes.js @@ -35,6 +35,7 @@ function createPriceElement(options, card) { billedText, type, perPrice, + trialDuration, } = options; const priceAttribute = getDiscountedPriceAttribute(type, prodName); @@ -116,7 +117,11 @@ function createPriceElement(options, card) { buyLink.href = '#'; buyLink.className = 'button primary no-arrow'; buyLink.setAttribute('data-store-render', ''); - buyLink.setAttribute('data-store-buy-link', ''); + if (trialDuration) { + buyLink.setAttribute('data-store-trial-link', trialDuration); + } else { + buyLink.setAttribute('data-store-buy-link', ''); + } buyLink.textContent = buyLinkSelector.innerText; container.appendChild(buyLink); } @@ -864,6 +869,7 @@ export default async function decorate(block) { thirdRadioButtonProducts, saveText, addonProductName, + trialDuration, } = section.dataset; section.classList.add('we-container'); @@ -902,6 +908,9 @@ export default async function decorate(block) { // Determine store event type const storeEvent = checkIfNotProductPage() ? 'product-loaded' : 'main-product-loaded'; + // Set Trial Durations + const trialDurations = trialDuration.split(',').map((trial) => trial.trim()); + // Process each product card if (combinedProducts.length) { const productCards = Array.from(block.children); @@ -1044,6 +1053,7 @@ export default async function decorate(block) { billedText, type, perPrice, + trialDuration: Number(productInfo.years) === 1 ? trialDurations[key] : null, }, block.children[key]); block.children[key].querySelector('.hero-aem__prices')?.appendChild(priceBox); @@ -1057,6 +1067,7 @@ export default async function decorate(block) { billedText: billed2, type, perPrice, + trialDuration: Number(productInfo.years) === 1 ? trialDurations[key] : null, }, block.children[key]); block.children[key].querySelector('.hero-aem__prices__addon')?.appendChild(addOnPriceBox); } diff --git a/_src/scripts/trialLinkMap.js b/_src/scripts/trialLinkMap.js index 2d099461e..1fc519615 100644 --- a/_src/scripts/trialLinkMap.js +++ b/_src/scripts/trialLinkMap.js @@ -1,5 +1,3 @@ -import { getMetadata } from './lib-franklin.js'; - const SUBSCRIPTION_MONTHS = 12; const DEFAULT_CAMPAIGN = 'default'; @@ -15,8 +13,8 @@ const getTrials = async () => { }; const getLocale = () => { - const locale = (window.location.pathname.split('/')[1]?.split('-')[0] || '').toLowerCase(); - return !locale || locale === 'en' ? 'COM' : locale.toUpperCase(); + const locale = (window.location.pathname.split('/')[1]?.split('-')[1] || '').toLowerCase(); + return !locale || locale === 'us' ? 'COM' : locale.toUpperCase(); }; let trialMapCache = null; @@ -41,11 +39,6 @@ let trialMapCache = null; */ export default async function getTrialLinkMap() { if (trialMapCache) return trialMapCache; - const trialPeriod = getMetadata('trialbuylinks'); - if (!trialPeriod) { - trialMapCache = {}; - return trialMapCache; - } const trials = await getTrials(); if (!trials?.length) { @@ -55,7 +48,7 @@ export default async function getTrialLinkMap() { const locale = getLocale(); const map = trials.reduce((acc, { - product, devices, buy_link: buyLink, locale: rowLocale, + product, devices, buy_link: buyLink, locale: rowLocale, duration, }) => { if (!product || !devices || !buyLink) return acc; if (rowLocale?.toUpperCase() !== locale) return acc; @@ -64,7 +57,8 @@ export default async function getTrialLinkMap() { acc[product] ??= {}; acc[product][DEFAULT_CAMPAIGN] ??= {}; - acc[product][DEFAULT_CAMPAIGN][variantKey] ??= buyLink; + acc[product][DEFAULT_CAMPAIGN][variantKey] ??= {}; + acc[product][DEFAULT_CAMPAIGN][variantKey][duration] ??= buyLink; return acc; }, {}); diff --git a/head.html b/head.html index 08e97d90b..9391465ab 100644 --- a/head.html +++ b/head.html @@ -2,22 +2,22 @@ "imports": { "@glidejs/glide": "https://esm.sh/@glidejs/glide@3.7.1", "@glidejs/glide/": "https://esm.sh/@glidejs/glide@3.7.1/", - "@repobit/dex-constants": "https://esm.sh/@repobit/dex-constants@2.1.70", - "@repobit/dex-constants/": "https://esm.sh/@repobit/dex-constants@2.1.70/", - "@repobit/dex-data-layer": "https://esm.sh/@repobit/dex-data-layer@2.2.71", - "@repobit/dex-data-layer/": "https://esm.sh/@repobit/dex-data-layer@2.2.71/", - "@repobit/dex-launch": "https://esm.sh/@repobit/dex-launch@3.0.74", - "@repobit/dex-launch/": "https://esm.sh/@repobit/dex-launch@3.0.74/", - "@repobit/dex-store-elements": "https://esm.sh/@repobit/dex-store-elements@1.5.0", - "@repobit/dex-store-elements/": "https://esm.sh/@repobit/dex-store-elements@1.5.0/", - "@repobit/dex-store": "https://esm.sh/@repobit/dex-store@1.3.83", - "@repobit/dex-store/": "https://esm.sh/@repobit/dex-store@1.3.83/", - "@repobit/dex-system-design": "https://esm.sh/@repobit/dex-system-design@0.23.87", - "@repobit/dex-system-design/": "https://esm.sh/@repobit/dex-system-design@0.23.87/", - "@repobit/dex-target": "https://esm.sh/@repobit/dex-target@2.15.20", - "@repobit/dex-target/": "https://esm.sh/@repobit/dex-target@2.15.20/", - "@repobit/dex-utils": "https://esm.sh/@repobit/dex-utils@2.3.38", - "@repobit/dex-utils/": "https://esm.sh/@repobit/dex-utils@2.3.38/", + "@repobit/dex-constants": "https://esm.sh/@repobit/dex-constants@2.1.75", + "@repobit/dex-constants/": "https://esm.sh/@repobit/dex-constants@2.1.75/", + "@repobit/dex-data-layer": "https://esm.sh/@repobit/dex-data-layer@2.2.76", + "@repobit/dex-data-layer/": "https://esm.sh/@repobit/dex-data-layer@2.2.76/", + "@repobit/dex-launch": "https://esm.sh/@repobit/dex-launch@3.0.79", + "@repobit/dex-launch/": "https://esm.sh/@repobit/dex-launch@3.0.79/", + "@repobit/dex-store-elements": "https://esm.sh/@repobit/dex-store-elements@1.6.1", + "@repobit/dex-store-elements/": "https://esm.sh/@repobit/dex-store-elements@1.6.1/", + "@repobit/dex-store": "https://esm.sh/@repobit/dex-store@1.4.1", + "@repobit/dex-store/": "https://esm.sh/@repobit/dex-store@1.4.1/", + "@repobit/dex-system-design": "https://esm.sh/@repobit/dex-system-design@0.23.92", + "@repobit/dex-system-design/": "https://esm.sh/@repobit/dex-system-design@0.23.92/", + "@repobit/dex-target": "https://esm.sh/@repobit/dex-target@2.15.25", + "@repobit/dex-target/": "https://esm.sh/@repobit/dex-target@2.15.25/", + "@repobit/dex-utils": "https://esm.sh/@repobit/dex-utils@2.3.43", + "@repobit/dex-utils/": "https://esm.sh/@repobit/dex-utils@2.3.43/", "@tsparticles/all": "https://esm.sh/@tsparticles/all@3.9.1", "@tsparticles/all/": "https://esm.sh/@tsparticles/all@3.9.1/", "@tsparticles/engine": "https://esm.sh/@tsparticles/engine@3.9.1", diff --git a/package-lock.json b/package-lock.json index 8683c45b0..6657de8b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,11 +13,11 @@ "@glidejs/glide": "^3.7.1", "@repobit/dex-constants": "^2.1.35", "@repobit/dex-data-layer": "^2.2.2", - "@repobit/dex-launch": "^3.0.74", + "@repobit/dex-launch": "^3.0.79", "@repobit/dex-store": "^1.3.71", "@repobit/dex-store-elements": "^1.4.63", - "@repobit/dex-system-design": "^0.23.87", - "@repobit/dex-target": "^2.15.20", + "@repobit/dex-system-design": "^0.23.92", + "@repobit/dex-target": "^2.15.25", "@repobit/dex-utils": "^2.2.2", "@tsparticles/all": "^3.9.1", "@tsparticles/engine": "^3.8.1" @@ -766,53 +766,53 @@ "license": "MIT" }, "node_modules/@repobit/dex-constants": { - "version": "2.1.70", - "resolved": "https://registry.npmjs.org/@repobit/dex-constants/-/dex-constants-2.1.70.tgz", - "integrity": "sha512-A8Rznaxs3ilqQtsKxm2+m5zaA2b0VREiq5kwGiAJLhnm6HgX634PPrV9umoM4HAVAHtMUqEcnBW10TjhiYUuuw==", + "version": "2.1.75", + "resolved": "https://registry.npmjs.org/@repobit/dex-constants/-/dex-constants-2.1.75.tgz", + "integrity": "sha512-SNCy/zk8UcPv0WJOkGk+JuAwHURWBcN7gUBCan/VK/iWYAeKy1QGf4zAeBaxD6mkF0U3xMSMv7cIR+vipT8m1w==", "license": "ISC" }, "node_modules/@repobit/dex-data-layer": { - "version": "2.2.71", - "resolved": "https://registry.npmjs.org/@repobit/dex-data-layer/-/dex-data-layer-2.2.71.tgz", - "integrity": "sha512-UVrmkKhiPuyk1JYn5zAgMxmNqhqUWn8ywf7bMmyckByNIfDsRzg5PQ/JYPLsGrhHnhe3NQdus05rmsdU5UjAdw==", + "version": "2.2.76", + "resolved": "https://registry.npmjs.org/@repobit/dex-data-layer/-/dex-data-layer-2.2.76.tgz", + "integrity": "sha512-3Jbl9sZDQmDdPTk5joB4izQ/DFQ1rtAhimNYqNk/fufbHnoBgDXROYCB9WoHZVt/PNb2aDIasXUr30z+At5/jQ==", "license": "MIT", "dependencies": { - "@repobit/dex-constants": "2.1.70", - "@repobit/dex-store": "1.3.83", - "@repobit/dex-utils": "2.3.38" + "@repobit/dex-constants": "2.1.75", + "@repobit/dex-store": "1.4.1", + "@repobit/dex-utils": "2.3.43" }, "peerDependencies": { "deepmerge": "^4.3.1" } }, "node_modules/@repobit/dex-launch": { - "version": "3.0.74", - "resolved": "https://registry.npmjs.org/@repobit/dex-launch/-/dex-launch-3.0.74.tgz", - "integrity": "sha512-u1Qq9RgFOiAR+VrvRbUXgIwuXVmBRBaRd8XHKyCXrmspFM+WE0We7M38STkLt5zqhWpYjPQVrun5e+4Mb+D5BA==", + "version": "3.0.79", + "resolved": "https://registry.npmjs.org/@repobit/dex-launch/-/dex-launch-3.0.79.tgz", + "integrity": "sha512-lWfsbIv6QUzMVXakpGKW8yB0FIFahGVP5SjAyvN2z6p79U7jcfuydqzDU612P+vPWYqgB3P/YyeudauopUn6uw==", "license": "ISC", "dependencies": { - "@repobit/dex-constants": "2.1.70", - "@repobit/dex-utils": "2.3.38" + "@repobit/dex-constants": "2.1.75", + "@repobit/dex-utils": "2.3.43" } }, "node_modules/@repobit/dex-store": { - "version": "1.3.83", - "resolved": "https://registry.npmjs.org/@repobit/dex-store/-/dex-store-1.3.83.tgz", - "integrity": "sha512-7OErw8QiiRJQpRaDwpvdGYQdCnYWwuwDHJyy/rL77hSbZOQ5sKMQ4E5yCf9JbauvImGQ7i+L2lZ5812u7BP6GA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@repobit/dex-store/-/dex-store-1.4.1.tgz", + "integrity": "sha512-PzO6gqJ9pPp0BZLNN22J7YlLjDKM4vRDeV9H7uETgY56g/AS2FgiaBaXH1G5196ALfD7EHL7JxnhXoWqfUdGSQ==", "license": "ISC", "dependencies": { - "@repobit/dex-constants": "2.1.70" + "@repobit/dex-constants": "2.1.75" } }, "node_modules/@repobit/dex-store-elements": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@repobit/dex-store-elements/-/dex-store-elements-1.5.0.tgz", - "integrity": "sha512-LZJD3D+Ex0yLy/i0GvqDOLXm4K6wp+a8Dt2FfP8h8rZzOxfbhxvMlrcJX/ZwzZkhjXOFB8myMe4W953apwJXOA==", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@repobit/dex-store-elements/-/dex-store-elements-1.6.1.tgz", + "integrity": "sha512-2WiSdaaXvDJUfym5mFv2P+qEUuFE3naJtrrq/tmiOZ86JB+k7S6zAyCIAUaTSE0kxQs/0ywS4S/1zLZAYjCF/g==", "license": "ISC", "dependencies": { "@lit/context": "^1.1.6", "@lit/task": "^1.0.3", - "@repobit/dex-store": "1.3.83", + "@repobit/dex-store": "1.4.1", "eta": "^4.5.1", "nanomorph": "^5.4.3" }, @@ -822,33 +822,33 @@ } }, "node_modules/@repobit/dex-system-design": { - "version": "0.23.87", - "resolved": "https://registry.npmjs.org/@repobit/dex-system-design/-/dex-system-design-0.23.87.tgz", - "integrity": "sha512-SkHrANsNlAv7SdTXyGBpVch4KVAPM6XC89M1xmSX+4WDpwegQu2+SVxA84J5wrNtx2qVTLGsI/Rc8JjQ+DoJ+g==", + "version": "0.23.92", + "resolved": "https://registry.npmjs.org/@repobit/dex-system-design/-/dex-system-design-0.23.92.tgz", + "integrity": "sha512-RQ5+GkeTJAFFvx1ByZr6kNC7qZppnwBh5uzzRQl0vPSNAxSmg9do96mW1+XYzsQNU5yk8E1H5EErDb8T3rTh6g==", "license": "ISC", "dependencies": { - "@repobit/dex-store": "1.3.83", - "@repobit/dex-store-elements": "1.5.0", + "@repobit/dex-store": "1.4.1", + "@repobit/dex-store-elements": "1.6.1", "lit": "^3.3.2" } }, "node_modules/@repobit/dex-target": { - "version": "2.15.20", - "resolved": "https://registry.npmjs.org/@repobit/dex-target/-/dex-target-2.15.20.tgz", - "integrity": "sha512-IvOzG30CfJ9CnChW0UatCnoDq21tt/G1WUsN4SED5l38T3TBYeOsykll5GNY6PhlwFfOEU0JHc0nH1RbTwcenw==", + "version": "2.15.25", + "resolved": "https://registry.npmjs.org/@repobit/dex-target/-/dex-target-2.15.25.tgz", + "integrity": "sha512-ewU6cP9y84oYMbb0BI+QOD93CBXqBrHf1bmCrVfx9Xix3BUp8PvfX6HmGDb5MY4ju/7hGLWc7mzgokfH4AZHag==", "license": "MIT", "dependencies": { - "@repobit/dex-constants": "2.1.70", - "@repobit/dex-data-layer": "2.2.71" + "@repobit/dex-constants": "2.1.75", + "@repobit/dex-data-layer": "2.2.76" } }, "node_modules/@repobit/dex-utils": { - "version": "2.3.38", - "resolved": "https://registry.npmjs.org/@repobit/dex-utils/-/dex-utils-2.3.38.tgz", - "integrity": "sha512-yx7Ysfz7niJEWp/BU9VUUod9QKGZ6yRPreQoFNSEl7CIxD+hbla2ytGuKqxBoOWFdfUnLbv6Y8gy+HDeAzn9zQ==", + "version": "2.3.43", + "resolved": "https://registry.npmjs.org/@repobit/dex-utils/-/dex-utils-2.3.43.tgz", + "integrity": "sha512-0VlETTsVDaHYeRNvHYaCnwMOcSbSVzHIzlFm88+al4yGHU9EXAXizSy7j3FkG0jbJj5b0CK7jGVuCxKrwDSuqQ==", "license": "ISC", "dependencies": { - "@repobit/dex-constants": "2.1.70", + "@repobit/dex-constants": "2.1.75", "js-cookie": "^3.0.5" } }, @@ -4377,9 +4377,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.10.43", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.43.tgz", - "integrity": "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ==", + "version": "2.10.44", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.44.tgz", + "integrity": "sha512-T3ghW+sl/ZJ8w1v/yQx3qvJ9040DWoLBz8JT/CILbAKcFyG9b2MRe75v6W5uXjv6uH1lumK2Kv46y2zSkcej0Q==", "dev": true, "license": "Apache-2.0", "bin": { @@ -5564,9 +5564,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.392", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.392.tgz", - "integrity": "sha512-1yQq3VQCZRwsnYc67Oc+1fge6Lwtn0hzi6zmEVkB61Zx21kTbwJAW4dFLadl5Rc1tKhG/kSpYXnfiAhu0f0a1g==", + "version": "1.5.393", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.393.tgz", + "integrity": "sha512-kiDJdIUawuEIcp9XoICKp1iTYDEbgguIPq526N1Q7jIQDeQ3CqoMx71025PI/7E48Ddtw2HuWsVjY7afEgNxmg==", "dev": true, "license": "ISC" }, @@ -6425,9 +6425,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.3.tgz", - "integrity": "sha512-i70LwGWUduXqzicKXWshooq+sWL1K3WUU5rKZNG/0i3a1OSoX3HqhH5WbWwTmqWfor4urUakGPiRQcleRZTwOg==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz", + "integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==", "dev": true, "funding": [ { @@ -8450,9 +8450,9 @@ "license": "MIT" }, "node_modules/lightningcss": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", - "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", "dev": true, "license": "MPL-2.0", "dependencies": { @@ -8466,23 +8466,23 @@ "url": "https://opencollective.com/parcel" }, "optionalDependencies": { - "lightningcss-android-arm64": "1.32.0", - "lightningcss-darwin-arm64": "1.32.0", - "lightningcss-darwin-x64": "1.32.0", - "lightningcss-freebsd-x64": "1.32.0", - "lightningcss-linux-arm-gnueabihf": "1.32.0", - "lightningcss-linux-arm64-gnu": "1.32.0", - "lightningcss-linux-arm64-musl": "1.32.0", - "lightningcss-linux-x64-gnu": "1.32.0", - "lightningcss-linux-x64-musl": "1.32.0", - "lightningcss-win32-arm64-msvc": "1.32.0", - "lightningcss-win32-x64-msvc": "1.32.0" + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" } }, "node_modules/lightningcss-android-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", - "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", "cpu": [ "arm64" ], @@ -8501,9 +8501,9 @@ } }, "node_modules/lightningcss-darwin-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", - "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", "cpu": [ "arm64" ], @@ -8522,9 +8522,9 @@ } }, "node_modules/lightningcss-darwin-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", - "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", "cpu": [ "x64" ], @@ -8543,9 +8543,9 @@ } }, "node_modules/lightningcss-freebsd-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", - "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", "cpu": [ "x64" ], @@ -8564,9 +8564,9 @@ } }, "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", - "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", "cpu": [ "arm" ], @@ -8585,9 +8585,9 @@ } }, "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", - "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", "cpu": [ "arm64" ], @@ -8606,9 +8606,9 @@ } }, "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", - "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", "cpu": [ "arm64" ], @@ -8627,9 +8627,9 @@ } }, "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", - "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", "cpu": [ "x64" ], @@ -8648,9 +8648,9 @@ } }, "node_modules/lightningcss-linux-x64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", - "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", "cpu": [ "x64" ], @@ -8669,9 +8669,9 @@ } }, "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", - "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", "cpu": [ "arm64" ], @@ -8690,9 +8690,9 @@ } }, "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", - "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", "cpu": [ "x64" ], @@ -9426,9 +9426,9 @@ } }, "node_modules/obug": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.3.tgz", - "integrity": "sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.4.tgz", + "integrity": "sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==", "dev": true, "funding": [ "https://github.com/sponsors/sxzz", @@ -9821,9 +9821,9 @@ } }, "node_modules/postcss": { - "version": "8.5.19", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.19.tgz", - "integrity": "sha512-Mz8SaolMd8nB+G13WkORcxQKHZ/NE4xXevtkJHVuG+guo9/wYKlIMTKAqGdEmYOXR2ijPjTYNHssizdaVSUNdQ==", + "version": "8.5.20", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.20.tgz", + "integrity": "sha512-lW616l85ucIQL+FocMmL7pQFPqBmwejrCMg+iPxyImlrANNJG9NHq/RkyCZopDhd8C3LA03PHRJDjkbGu8vvug==", "dev": true, "funding": [ { @@ -9841,7 +9841,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.12", + "nanoid": "^3.3.16", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -12634,9 +12634,9 @@ } }, "node_modules/ws": { - "version": "7.5.12", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.12.tgz", - "integrity": "sha512-1xGnbYN3zbog9CwuNDQULNRrTCLIn46/WmpR1f0w6PsCYQHkylZr5vkd6kfMZYV6pRnQkcPNRyiA8LsrNKyhpg==", + "version": "7.5.13", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.13.tgz", + "integrity": "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 351c02384..165a484e4 100644 --- a/package.json +++ b/package.json @@ -48,11 +48,11 @@ "@glidejs/glide": "^3.7.1", "@repobit/dex-constants": "^2.1.35", "@repobit/dex-data-layer": "^2.2.2", - "@repobit/dex-launch": "^3.0.74", + "@repobit/dex-launch": "^3.0.79", "@repobit/dex-store": "^1.3.71", "@repobit/dex-store-elements": "^1.4.63", - "@repobit/dex-system-design": "^0.23.87", - "@repobit/dex-target": "^2.15.20", + "@repobit/dex-system-design": "^0.23.92", + "@repobit/dex-target": "^2.15.25", "@repobit/dex-utils": "^2.2.2", "@tsparticles/all": "^3.9.1", "@tsparticles/engine": "^3.8.1"