From d7e8ce49a498fd44c7c875c604951aeba0598f7c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 07:24:41 +0000 Subject: [PATCH 1/2] chore(deps): bump symfony/security-bundle Bumps the symfony group with 1 update: [symfony/security-bundle](https://github.com/symfony/security-bundle). Updates `symfony/security-bundle` from 8.1.7 to 8.1.8 - [Release notes](https://github.com/symfony/security-bundle/releases) - [Changelog](https://github.com/symfony/security-bundle/blob/8.2/CHANGELOG.md) - [Commits](https://github.com/symfony/security-bundle/compare/v8.1.7...v8.1.8) --- updated-dependencies: - dependency-name: symfony/security-bundle dependency-version: 8.1.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: symfony ... Signed-off-by: dependabot[bot] --- composer.lock | 180 +++++++++++++++++++++++++------------------------- 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/composer.lock b/composer.lock index 55aa5c5..76e293e 100644 --- a/composer.lock +++ b/composer.lock @@ -1665,16 +1665,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "3fd96e4b54e2372c4ce019cee9d5026add6e7f38" + "reference": "e375617d3f132059bd096f41951b527c2eb60cd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/3fd96e4b54e2372c4ce019cee9d5026add6e7f38", - "reference": "3fd96e4b54e2372c4ce019cee9d5026add6e7f38", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/e375617d3f132059bd096f41951b527c2eb60cd0", + "reference": "e375617d3f132059bd096f41951b527c2eb60cd0", "shasum": "" }, "require": { @@ -1722,7 +1722,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v8.1.7" + "source": "https://github.com/symfony/dependency-injection/tree/v8.1.8" }, "funding": [ { @@ -1742,7 +1742,7 @@ "type": "tidelift" } ], - "time": "2026-09-11T15:21:30+00:00" + "time": "2026-09-29T12:38:40+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1922,16 +1922,16 @@ }, { "name": "symfony/error-handler", - "version": "v8.1.5", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "8b2a4289ffe5e2dc8fcf645b8e7870e1fa0325ce" + "reference": "c146daceccd5d4f864c051b233c276641cec527b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/8b2a4289ffe5e2dc8fcf645b8e7870e1fa0325ce", - "reference": "8b2a4289ffe5e2dc8fcf645b8e7870e1fa0325ce", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/c146daceccd5d4f864c051b233c276641cec527b", + "reference": "c146daceccd5d4f864c051b233c276641cec527b", "shasum": "" }, "require": { @@ -1979,7 +1979,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v8.1.5" + "source": "https://github.com/symfony/error-handler/tree/v8.1.8" }, "funding": [ { @@ -1999,7 +1999,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T17:47:34+00:00" + "time": "2026-09-22T18:58:53+00:00" }, { "name": "symfony/event-dispatcher", @@ -2452,16 +2452,16 @@ }, { "name": "symfony/http-foundation", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "d8fdc670ed510a69e3a9eb4f5eac89f5ed627e17" + "reference": "662f5257658d4f60deff1bc790e9f2c68cb391bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d8fdc670ed510a69e3a9eb4f5eac89f5ed627e17", - "reference": "d8fdc670ed510a69e3a9eb4f5eac89f5ed627e17", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/662f5257658d4f60deff1bc790e9f2c68cb391bf", + "reference": "662f5257658d4f60deff1bc790e9f2c68cb391bf", "shasum": "" }, "require": { @@ -2509,7 +2509,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v8.1.7" + "source": "https://github.com/symfony/http-foundation/tree/v8.1.8" }, "funding": [ { @@ -2529,20 +2529,20 @@ "type": "tidelift" } ], - "time": "2026-09-14T17:47:24+00:00" + "time": "2026-09-24T07:13:53+00:00" }, { "name": "symfony/http-kernel", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "ec7a3a5832c22cf880cf27d2fdc7ad2e94838e85" + "reference": "51c014e881d8b4ce61e56c0d4105f65b50df786a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ec7a3a5832c22cf880cf27d2fdc7ad2e94838e85", - "reference": "ec7a3a5832c22cf880cf27d2fdc7ad2e94838e85", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/51c014e881d8b4ce61e56c0d4105f65b50df786a", + "reference": "51c014e881d8b4ce61e56c0d4105f65b50df786a", "shasum": "" }, "require": { @@ -2619,7 +2619,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v8.1.7" + "source": "https://github.com/symfony/http-kernel/tree/v8.1.8" }, "funding": [ { @@ -2639,7 +2639,7 @@ "type": "tidelift" } ], - "time": "2026-09-15T07:12:52+00:00" + "time": "2026-09-29T14:08:01+00:00" }, { "name": "symfony/messenger", @@ -2962,16 +2962,16 @@ }, { "name": "symfony/polyfill-deepclone", - "version": "v1.42.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-deepclone.git", - "reference": "70ba0627efc68e97ea392843458a2dd9d6dbd156" + "reference": "8db92c5508a3f7f82d8688d32f0a4868a26e58ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-deepclone/zipball/70ba0627efc68e97ea392843458a2dd9d6dbd156", - "reference": "70ba0627efc68e97ea392843458a2dd9d6dbd156", + "url": "https://api.github.com/repos/symfony/polyfill-deepclone/zipball/8db92c5508a3f7f82d8688d32f0a4868a26e58ad", + "reference": "8db92c5508a3f7f82d8688d32f0a4868a26e58ad", "shasum": "" }, "require": { @@ -3025,7 +3025,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-deepclone/tree/v1.42.0" + "source": "https://github.com/symfony/polyfill-deepclone/tree/v1.43.0" }, "funding": [ { @@ -3045,20 +3045,20 @@ "type": "tidelift" } ], - "time": "2026-08-07T06:33:24+00:00" + "time": "2026-09-30T09:07:27+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.41.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "bb899c1db0aa8127dc3afe8cda4a67eb24915f8d" + "reference": "5cac8f4db97208823aa353f59a01faad2da52c75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/bb899c1db0aa8127dc3afe8cda4a67eb24915f8d", - "reference": "bb899c1db0aa8127dc3afe8cda4a67eb24915f8d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5cac8f4db97208823aa353f59a01faad2da52c75", + "reference": "5cac8f4db97208823aa353f59a01faad2da52c75", "shasum": "" }, "require": { @@ -3107,7 +3107,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.41.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.43.0" }, "funding": [ { @@ -3127,20 +3127,20 @@ "type": "tidelift" } ], - "time": "2026-07-28T08:25:59+00:00" + "time": "2026-09-25T15:46:47+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.42.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "aa20edea75bd9c48cfecc8360922e5a6e5c44502" + "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/aa20edea75bd9c48cfecc8360922e5a6e5c44502", - "reference": "aa20edea75bd9c48cfecc8360922e5a6e5c44502", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/ebd57ccc7edb93d632e184efbe7693d2517bab3b", + "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b", "shasum": "" }, "require": { @@ -3192,7 +3192,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.42.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.43.0" }, "funding": [ { @@ -3212,20 +3212,20 @@ "type": "tidelift" } ], - "time": "2026-08-07T06:33:24+00:00" + "time": "2026-09-23T22:02:09+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.38.2", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6" + "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6", - "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", + "reference": "4d5d331bf731e0aedbc6b2f5e61135b7b7996a72", "shasum": "" }, "require": { @@ -3277,7 +3277,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.2" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.0" }, "funding": [ { @@ -3297,20 +3297,20 @@ "type": "tidelift" } ], - "time": "2026-05-27T06:59:30+00:00" + "time": "2026-09-24T15:19:04+00:00" }, { "name": "symfony/polyfill-php85", - "version": "v1.41.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php85.git", - "reference": "255fab485aaa1006ed411040c42aecd7b5302d7a" + "reference": "86a42cbcc07adc331481a5ab310a4024bfc227f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/255fab485aaa1006ed411040c42aecd7b5302d7a", - "reference": "255fab485aaa1006ed411040c42aecd7b5302d7a", + "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/86a42cbcc07adc331481a5ab310a4024bfc227f6", + "reference": "86a42cbcc07adc331481a5ab310a4024bfc227f6", "shasum": "" }, "require": { @@ -3357,7 +3357,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php85/tree/v1.41.0" + "source": "https://github.com/symfony/polyfill-php85/tree/v1.43.0" }, "funding": [ { @@ -3377,7 +3377,7 @@ "type": "tidelift" } ], - "time": "2026-07-01T12:47:55+00:00" + "time": "2026-09-25T15:46:47+00:00" }, { "name": "symfony/polyfill-php86", @@ -3625,16 +3625,16 @@ }, { "name": "symfony/property-info", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "b42ee98197831d33788c33492cfc35ba62d1f701" + "reference": "fe727d4888a92ac9200a2c1b8e0a995b6022afa7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/b42ee98197831d33788c33492cfc35ba62d1f701", - "reference": "b42ee98197831d33788c33492cfc35ba62d1f701", + "url": "https://api.github.com/repos/symfony/property-info/zipball/fe727d4888a92ac9200a2c1b8e0a995b6022afa7", + "reference": "fe727d4888a92ac9200a2c1b8e0a995b6022afa7", "shasum": "" }, "require": { @@ -3687,7 +3687,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v8.1.7" + "source": "https://github.com/symfony/property-info/tree/v8.1.8" }, "funding": [ { @@ -3707,7 +3707,7 @@ "type": "tidelift" } ], - "time": "2026-09-04T10:14:04+00:00" + "time": "2026-09-28T19:13:15+00:00" }, { "name": "symfony/rate-limiter", @@ -3865,16 +3865,16 @@ }, { "name": "symfony/security-bundle", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "9db17d7700b1fda480565b257ab9cb53b6d1c264" + "reference": "b18be9c45bb6e8dbc91787165516013ffefb72fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/9db17d7700b1fda480565b257ab9cb53b6d1c264", - "reference": "9db17d7700b1fda480565b257ab9cb53b6d1c264", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/b18be9c45bb6e8dbc91787165516013ffefb72fb", + "reference": "b18be9c45bb6e8dbc91787165516013ffefb72fb", "shasum": "" }, "require": { @@ -3943,7 +3943,7 @@ "description": "Provides a tight integration of the Security component into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-bundle/tree/v8.1.7" + "source": "https://github.com/symfony/security-bundle/tree/v8.1.8" }, "funding": [ { @@ -3963,20 +3963,20 @@ "type": "tidelift" } ], - "time": "2026-09-09T22:03:06+00:00" + "time": "2026-09-24T11:09:32+00:00" }, { "name": "symfony/security-core", - "version": "v8.1.6", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", - "reference": "efa0b10f82504d5710db3b53e234607a8ccbd2a1" + "reference": "2dc0c95a47282476d90cf6c9e274767c50126b04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/efa0b10f82504d5710db3b53e234607a8ccbd2a1", - "reference": "efa0b10f82504d5710db3b53e234607a8ccbd2a1", + "url": "https://api.github.com/repos/symfony/security-core/zipball/2dc0c95a47282476d90cf6c9e274767c50126b04", + "reference": "2dc0c95a47282476d90cf6c9e274767c50126b04", "shasum": "" }, "require": { @@ -4026,7 +4026,7 @@ "description": "Symfony Security Component - Core Library", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-core/tree/v8.1.6" + "source": "https://github.com/symfony/security-core/tree/v8.1.8" }, "funding": [ { @@ -4046,7 +4046,7 @@ "type": "tidelift" } ], - "time": "2026-08-30T01:03:44+00:00" + "time": "2026-09-28T19:13:15+00:00" }, { "name": "symfony/security-csrf", @@ -4122,16 +4122,16 @@ }, { "name": "symfony/security-http", - "version": "v8.1.7", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/security-http.git", - "reference": "ad202cd2d434b5d72872739fad2b022a4327711a" + "reference": "eac4db5a18d8c83a49d20ee46d6b42820103502f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-http/zipball/ad202cd2d434b5d72872739fad2b022a4327711a", - "reference": "ad202cd2d434b5d72872739fad2b022a4327711a", + "url": "https://api.github.com/repos/symfony/security-http/zipball/eac4db5a18d8c83a49d20ee46d6b42820103502f", + "reference": "eac4db5a18d8c83a49d20ee46d6b42820103502f", "shasum": "" }, "require": { @@ -4186,7 +4186,7 @@ "description": "Symfony Security Component - HTTP Integration", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-http/tree/v8.1.7" + "source": "https://github.com/symfony/security-http/tree/v8.1.8" }, "funding": [ { @@ -4206,7 +4206,7 @@ "type": "tidelift" } ], - "time": "2026-09-15T06:01:24+00:00" + "time": "2026-09-28T19:13:15+00:00" }, { "name": "symfony/serializer", @@ -4760,16 +4760,16 @@ }, { "name": "symfony/type-info", - "version": "v8.1.5", + "version": "v8.1.8", "source": { "type": "git", "url": "https://github.com/symfony/type-info.git", - "reference": "ceb48db5b38d6a48640c414be0c69d53980ae5c5" + "reference": "18e1d891f0b8776141f281f7b6f5e67e4df9d9cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/type-info/zipball/ceb48db5b38d6a48640c414be0c69d53980ae5c5", - "reference": "ceb48db5b38d6a48640c414be0c69d53980ae5c5", + "url": "https://api.github.com/repos/symfony/type-info/zipball/18e1d891f0b8776141f281f7b6f5e67e4df9d9cd", + "reference": "18e1d891f0b8776141f281f7b6f5e67e4df9d9cd", "shasum": "" }, "require": { @@ -4818,7 +4818,7 @@ "type" ], "support": { - "source": "https://github.com/symfony/type-info/tree/v8.1.5" + "source": "https://github.com/symfony/type-info/tree/v8.1.8" }, "funding": [ { @@ -4838,7 +4838,7 @@ "type": "tidelift" } ], - "time": "2026-08-21T17:47:34+00:00" + "time": "2026-09-28T19:13:15+00:00" }, { "name": "symfony/uid", @@ -8603,16 +8603,16 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.37.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411" + "reference": "9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dfb55726c3a76ea3b6459fcfda1ec2d80a682411", - "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74", + "reference": "9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74", "shasum": "" }, "require": { @@ -8663,7 +8663,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.37.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.43.0" }, "funding": [ { @@ -8683,7 +8683,7 @@ "type": "tidelift" } ], - "time": "2026-04-10T16:19:22+00:00" + "time": "2026-09-25T15:50:05+00:00" }, { "name": "symfony/polyfill-php81", From 71bf7ac9e63ccc7e64d4ae54fc2953a5a77e5bc0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 08:25:06 +0000 Subject: [PATCH 2/2] [dependabot-skip] Rebuild frontend assets --- src/Resources/public/js/device-intelligence.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/public/js/device-intelligence.min.js b/src/Resources/public/js/device-intelligence.min.js index 3e906f8..7701660 100644 --- a/src/Resources/public/js/device-intelligence.min.js +++ b/src/Resources/public/js/device-intelligence.min.js @@ -1,2 +1,2 @@ -var DeviceIntelligence=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=class{entry=null;get(){return this.entry===null?null:Date.now()>=this.entry.expiresAt?(this.entry=null,null):this.entry.value}set(e,t){let n=t*1e3;this.entry={value:e,expiresAt:Date.now()+n},n<=0&&(this.entry=null)}clear(){this.entry=null}has(){return this.get()!==null}},n=16;async function r(e){let t=globalThis.crypto?.subtle;if(!t)throw Error(`WebCrypto SubtleCrypto is not available`);let n=typeof e==`string`?new TextEncoder().encode(e):e,r=await t.digest(`SHA-256`,n),i=new Uint8Array(r),a=``;for(let e=0;e1?1:e}function o(e){return{name:e.name,value:e.value,normalizedValue:e.normalizedValue,quality:a(e.quality),stability:a(e.stability),entropyCategory:e.entropyCategory,collectedAt:e.collectedAt??Date.now()}}function s(e){return new Promise((t,n)=>{let r=()=>{n(new DOMException(`The operation was aborted.`,`AbortError`))};if(e.aborted){r();return}e.addEventListener(`abort`,r,{once:!0})})}function c(e,t){return Promise.race([e,s(t)])}function l(e){if(e.abortSignal.aborted)throw new DOMException(`The operation was aborted.`,`AbortError`)}var u=44100,d=44100,f=256,p=class{name=`audio`;async collect(e){l(e);let t=m();if(!t)throw Error(`OfflineAudioContext is not available`);let n=new t(1,d,u),r=n.createOscillator();r.type=`triangle`,r.frequency.value=1e4;let a=n.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,r.connect(a),a.connect(n.destination),r.start(0);let s=await i(h((await c(n.startRendering(),e.abortSignal)).getChannelData(0),f).join(`,`));return o({name:this.name,value:s,normalizedValue:s,quality:.85,stability:.9,entropyCategory:`high`})}};function m(){let e=globalThis;return e.OfflineAudioContext??e.webkitOfflineAudioContext??null}function h(e,t){let n=Math.max(1,Math.floor(e.length/t)),r=[];for(let i=0;i`u`?null:navigator,r=n?.userAgent??``;n&&n.webdriver===!0&&t.push(`webdriver`),!n||!Array.isArray(n.languages)||n.languages.length===0?t.push(`missing-languages`):n.language&&n.languages[0]&&n.language!==n.languages[0]&&t.push(`language-mismatch`),!n||typeof n.hardwareConcurrency!=`number`?t.push(`missing-hardware-concurrency`):(n.hardwareConcurrency<=0||n.hardwareConcurrency>128)&&t.push(`implausible-hardware-concurrency`),/headless/i.test(r)&&t.push(`headless-ua`),/HeadlessChrome/i.test(r)&&t.push(`headless-chrome`),typeof window<`u`&&window.outerWidth===0&&window.outerHeight===0&&t.push(`zero-outer-size`);let i={indicators:t,confidence:a(t.reduce((e,t)=>e+(ee[t]??.15),0))};return o({name:this.name,value:i,normalizedValue:i,quality:.8,stability:.5,entropyCategory:`low`})}},g=280,_=80,v=class{name=`canvas`;async collect(e){if(l(e),typeof document>`u`)throw Error(`document is not available`);let t=document.createElement(`canvas`);t.width=g,t.height=_,t.style.display=`none`;let n=t.getContext(`2d`,{willReadFrequently:!0});if(!n)throw Error(`CanvasRenderingContext2D is not available`);y(n);let r=await i(n.getImageData(0,0,g,_).data);return o({name:this.name,value:r,normalizedValue:r,quality:.92,stability:.95,entropyCategory:`high`})}};function y(e){e.fillStyle=`#f60`,e.fillRect(8,8,90,48),e.fillStyle=`#069`,e.fillRect(108,12,70,40),e.strokeStyle=`#111827`,e.lineWidth=2,e.beginPath(),e.arc(220,36,26,0,Math.PI*2),e.stroke(),e.beginPath(),e.arc(248,52,14,.25*Math.PI,1.6*Math.PI),e.stroke(),e.fillStyle=`#111827`,e.font=`16px Arial, sans-serif`,e.textBaseline=`top`,e.fillText(`DeviceIntelligence`,12,58),e.fillStyle=`rgba(16, 185, 129, 0.45)`,e.fillRect(40,20,36,18)}var b=class{name=`capabilities`;async collect(e){l(e);let t=typeof navigator>`u`?null:navigator,n=typeof window>`u`?null:window,r={cookieEnabled:t?.cookieEnabled??!1,pdfViewerEnabled:!!t?.pdfViewerEnabled,serviceWorker:!!(t&&`serviceWorker`in t),webgl:x(),webgpu:!!(t&&`gpu`in t),wasm:typeof WebAssembly<`u`,sharedArrayBuffer:typeof SharedArrayBuffer<`u`,touch:(t?.maxTouchPoints??0)>0,matchMedia:typeof n?.matchMedia==`function`,localStorage:S(`localStorage`),sessionStorage:S(`sessionStorage`),indexedDB:typeof indexedDB<`u`},i=Object.entries(r).filter(([,e])=>e).map(([e])=>e).sort();return o({name:this.name,value:r,normalizedValue:i,quality:.9,stability:.9,entropyCategory:`medium`})}};function x(){if(typeof document>`u`||typeof navigator<`u`&&/jsdom/i.test(navigator.userAgent))return!1;try{let e=document.createElement(`canvas`);return!!(e.getContext(`webgl`)||e.getContext(`experimental-webgl`))}catch{return!1}}function S(e){try{let t=globalThis[e],n=`__di_cap__`;return t.setItem(n,`1`),t.removeItem(n),!0}catch{return!1}}function C(e){let t=e.trim();return t.length===0?`other`:/Edg(?:e|A|iOS)?\/|\bEdge\//i.test(t)||/^Edge\s/i.test(t)?w(t,`Edge`,/(?:Edg(?:e|A|iOS)?|Edge)[/\s](\d+)/i):/\bOPR\/|\bOpera\//i.test(t)||/^Opera\s/i.test(t)?w(t,`Opera`,/(?:OPR|Opera)[/\s](\d+)/i):/\bFirefox\/|\bFxiOS\//i.test(t)||/^Firefox\s/i.test(t)?w(t,`Firefox`,/(?:Firefox|FxiOS)[/\s](\d+)/i):/^Chrome\s+\d+/i.test(t)?w(t,`Chrome`,/^Chrome\s+(\d+)/i):/\bSafari\//i.test(t)&&/\bVersion\//i.test(t)&&!/\b(Chrome|Chromium|CriOS|Edg|OPR)\b/i.test(t)||/^Safari\s/i.test(t)?w(t,`Safari`,/(?:Version|Safari)[/\s](\d+)/i):/\b(Chrome|Chromium|CriOS)\//i.test(t)?w(t,`Chrome`,/(?:Chrome|Chromium|CriOS)\/(\d+)/i):`other`}function w(e,t,n){let r=e.match(n)?.[1];return r?`${t} ${r}`:t}function T(e){let t=e.toLowerCase();return t.includes(`win`)?`windows`:t.includes(`android`)?`android`:t.includes(`iphone`)||t.includes(`ipad`)||t.includes(`ipod`)||t.includes(`ios`)?`ios`:t.includes(`mac`)||t.includes(`darwin`)?`macos`:t.includes(`linux`)||t.includes(`x11`)||t.includes(`cros`)?`linux`:`other`}function E(e,t){let n=Math.max(e,t);return!Number.isFinite(n)||n<=0?`other`:n<=480?`mobile-s`:n<=767?`mobile-l`:n<=1280?`tablet`:n<=1920?`hd`:n<=2560?`qhd`:n<=3840?`uhd`:`other`}function D(e,t){let n=`${e} ${t}`.toLowerCase();return n.includes(`apple`)||n.includes(`metal`)?`apple`:n.includes(`nvidia`)||n.includes(`geforce`)||n.includes(`quadro`)?`nvidia`:n.includes(`amd`)||n.includes(`radeon`)||n.includes(`ati`)?`amd`:n.includes(`intel`)?`intel`:n.includes(`mali`)?`mali`:n.includes(`adreno`)?`adreno`:`other`}var O=[`architecture`,`bitness`,`model`,`platformVersion`,`uaFullVersion`,`fullVersionList`],ne=class{name=`client_hints`;async collect(e){if(l(e),typeof navigator>`u`)throw Error(`navigator is not available`);let t=navigator.userAgentData;if(!t)return o({name:this.name,value:{brands:[],mobile:null,platform:``,highEntropy:!1,available:!1},normalizedValue:{browser:C(navigator.userAgent??``),platform:T(navigator.platform??navigator.userAgent??``),highEntropy:!1},quality:.35,stability:.7,entropyCategory:`medium`});let n={brands:Array.isArray(t.brands)?t.brands:[],mobile:typeof t.mobile==`boolean`?t.mobile:null,platform:t.platform??``,highEntropy:!1,available:!0},r={},i=!1;if(e.consent.highEntropy&&typeof t.getHighEntropyValues==`function`)try{r=await c(t.getHighEntropyValues([...O]),e.abortSignal),i=!0}catch{i=!1}let a={...n,...r,highEntropy:i},s=re(n.brands),u=typeof r.uaFullVersion==`string`?String(r.uaFullVersion):s?.version??``,d=s?`${s.brand} ${u}`:navigator.userAgent;return o({name:this.name,value:a,normalizedValue:{browser:C(d),platform:T(n.platform||navigator.platform||``),highEntropy:i},quality:i?.95:.7,stability:.75,entropyCategory:`medium`})}};function re(e){return e.find(e=>{let t=e.brand.toLowerCase();return t!==`not?a;brand`&&t!==`not a;brand`&&!t.includes(`not:`)})??e[0]??null}var k=`mmmmmmmmmmlli`,A=`monospace`,j=[`Arial`,`Times New Roman`,`Courier New`,`Georgia`,`Verdana`,`Roboto`],M=class{name=`fonts`;async collect(e){if(l(e),typeof document>`u`||!document.body)throw Error(`document.body is not available`);let t=N(k,A),n=j.filter(e=>N(k,`${e}, ${A}`)!==t);return o({name:this.name,value:n,normalizedValue:[...n].sort(),quality:.7,stability:.8,entropyCategory:`high`})}};function N(e,t){let n=document.createElement(`span`);n.style.cssText=[`position:absolute`,`left:-9999px`,`top:0`,`visibility:hidden`,`white-space:nowrap`,`font:72px ${t}`].join(`;`),n.textContent=e,document.body.appendChild(n);let r=n.offsetWidth;return document.body.removeChild(n),r}var P=class{name=`navigator`;async collect(e){if(l(e),typeof navigator>`u`)throw Error(`navigator is not available`);let t=navigator.userAgent??``,n=navigator.platform??``,r=Array.isArray(navigator.languages)?[...navigator.languages]:[],i=navigator,a={userAgent:t,platform:n,language:navigator.language??``,languages:r,hardwareConcurrency:navigator.hardwareConcurrency??null,deviceMemory:typeof i.deviceMemory==`number`?i.deviceMemory:null,maxTouchPoints:navigator.maxTouchPoints??0,vendor:navigator.vendor??``},s=C(t),c=T(n||t);return o({name:this.name,value:a,normalizedValue:{browser:s,platform:c,hardwareConcurrency:a.hardwareConcurrency},quality:t.length>0?.9:.4,stability:.8,entropyCategory:`medium`})}},F=class{name=`screen`;async collect(e){l(e);let t=typeof screen>`u`?null:screen;if(!t)throw Error(`screen is not available`);let n=I(t.width),r=I(t.height),i={width:n,height:r,availWidth:I(t.availWidth),availHeight:I(t.availHeight),colorDepth:I(t.colorDepth),pixelDepth:I(t.pixelDepth),pixelRatio:I(typeof devicePixelRatio==`number`?devicePixelRatio:1)},a=E(n,r);return o({name:this.name,value:i,normalizedValue:{screenClass:a,width:n,height:r},quality:n>0&&r>0?.95:.4,stability:.7,entropyCategory:`low`})}};function I(e){return Number.isFinite(e)?e:0}var L=class{name=`timezone`;async collect(e){l(e);let t=`UTC`;try{t=Intl.DateTimeFormat().resolvedOptions().timeZone||`UTC`}catch{t=`UTC`}let n=new Date().getTimezoneOffset(),r={timeZone:t,offsetMinutes:n};return o({name:this.name,value:r,normalizedValue:t,quality:t.length>0?.99:.3,stability:.85,entropyCategory:`low`})}},R=class{name=`webgl`;async collect(e){if(l(e),typeof document>`u`)throw Error(`document is not available`);let t=document.createElement(`canvas`);t.width=1,t.height=1;let n=z(t);if(!n)throw Error(`WebGL is not available`);try{let e=n.getExtension(`WEBGL_debug_renderer_info`),t=B(n,e?e.UNMASKED_VENDOR_WEBGL:n.VENDOR),r=B(n,e?e.UNMASKED_RENDERER_WEBGL:n.RENDERER),a=await i([...n.getSupportedExtensions()??[]].sort().join(`,`)),s=n.getParameter(n.MAX_VIEWPORT_DIMS),c={maxTextureSize:V(n,n.MAX_TEXTURE_SIZE),maxViewportDims:Array.isArray(s)?[Number(s[0]),Number(s[1])]:s instanceof Int32Array?[s[0]??0,s[1]??0]:null,maxRenderbufferSize:V(n,n.MAX_RENDERBUFFER_SIZE),maxVertexAttribs:V(n,n.MAX_VERTEX_ATTRIBS),maxFragmentUniformVectors:V(n,n.MAX_FRAGMENT_UNIFORM_VECTORS)},l={vendor:t,renderer:r,extensionsHash:a,limits:c},u=typeof r==`string`&&r.length>0,d=u&&e?.88:u?.7:.45;return o({name:this.name,value:l,normalizedValue:{gpuFamily:D(t??``,r??``),extensionsHash:a,maxTextureSize:c.maxTextureSize},quality:d,stability:.95,entropyCategory:`high`})}finally{n.getExtension(`WEBGL_lose_context`)?.loseContext()}}};function z(e){let t={alpha:!0,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1};return e.getContext(`webgl`,t)||e.getContext(`experimental-webgl`,t)}function B(e,t){try{let n=e.getParameter(t);return typeof n==`string`&&n.length>0?n:null}catch{return null}}function V(e,t){try{let n=e.getParameter(t);return typeof n==`number`&&Number.isFinite(n)?n:null}catch{return null}}var H=`X-Previous-Debug-Token`;function U(){if(typeof document>`u`)return;let e=document.querySelector(`[id^="sfwdt"]`);if(!(e instanceof Element)||!e.id.startsWith(`sfwdt`))return;let t=e.id.slice(5);return t.length>0?t:void 0}async function W(e,t,n){try{let r={"Content-Type":`application/json`},i=U();i!==void 0&&(r[H]=i);let a=await fetch(e,{method:`POST`,credentials:`same-origin`,headers:r,body:JSON.stringify(t),signal:n});if(!a.ok)return null;let o=await a.text();if(o.trim().length===0)return{ok:!0};let s=JSON.parse(o);return typeof s!=`object`||!s?{ok:!0}:s}catch{return null}}var G=`1.0.0`,K=`/_device/collect`,q=1500,J=3600,Y={audio:!0,canvas:!0,webgl:!0,screen:!0,timezone:!0,navigator:!0,clientHints:!0,capabilities:!0,automation:!0,fonts:!1},ie=class{endpoint;timeout;cacheTtl;cacheEnabled;consent;cache=new t;collectors=[];constructor(e={}){this.endpoint=e.endpoint??K,this.timeout=oe(e.timeout),this.cacheEnabled=e.cache?.enabled??!0,this.cacheTtl=e.cache?.ttl??J,this.consent={highEntropy:e.consent?.highEntropy??!0},this.collectors=ae({...Y,...e.collectors})}async collect(){return this.runCollect(!1)}async refresh(){return this.runCollect(!0)}getCachedObservation(){return this.cache.get()}clear(){this.cache.clear()}registerCollector(e){this.collectors.push(e)}async runCollect(e){try{if(!e&&this.cacheEnabled){let e=this.cache.get();if(e)return e.result}let t=new AbortController,n=globalThis.setTimeout(()=>t.abort(),this.timeout),r={timeout:this.timeout,abortSignal:t.signal,consent:this.consent},i={};try{i=await this.collectSignals(r)}finally{globalThis.clearTimeout(n)}let a=this.collectors.length,o=Object.keys(i).length,s=ol.abort(),this.timeout),d=null;try{d=await W(this.endpoint,c,l.signal)}finally{globalThis.clearTimeout(u)}let f=d===null,p=o>0,m={ok:!f&&p&&d?.ok!==!1,degraded:!!d?.degraded||s||f||!p,signals:i};d?.new!==void 0&&(m.new=d.new),d?.token!==void 0&&(m.token=d.token),d?.expiresAt!==void 0&&(m.expiresAt=d.expiresAt),d?.deviceId!==void 0&&(m.deviceId=d.deviceId),d?.confidence!==void 0&&(m.confidence=d.confidence),d?.risk!==void 0&&(m.risk=d.risk),(f||!p)&&(m.ok=!1,m.degraded=!0);let h={timestamp:Date.now(),signals:i,result:m};return this.cacheEnabled&&this.cache.set(h,this.cacheTtl),m}catch{return{ok:!1,degraded:!0,signals:{}}}}async collectSignals(e){let t={},n=this.collectors.map(async n=>{try{let r=await c(n.collect(e),e.abortSignal);r&&typeof r.name==`string`&&(t[r.name]=r)}catch{}}),r=Promise.all(n),i=ce(this.timeout,e.abortSignal);return await Promise.race([r,i]),await Promise.allSettled(n),t}toPayload(e){let t={};for(let[n,r]of Object.entries(e))t[n]={value:r.value,quality:r.quality,collectedAt:r.collectedAt};return{v:1,sdkVersion:G,timestamp:Math.floor(Date.now()/1e3),nonce:se(),consent:this.consent,signals:t}}};function ae(e){let t=[];return e.navigator&&t.push(new P),e.clientHints&&t.push(new ne),e.screen&&t.push(new F),e.timezone&&t.push(new L),e.capabilities&&t.push(new b),e.automation&&t.push(new te),e.canvas&&t.push(new v),e.webgl&&t.push(new R),e.audio&&t.push(new p),e.fonts&&t.push(new M),t}function oe(e){return typeof e==`number`&&Number.isFinite(e)&&e>0?e:q}function se(){let e=new Uint8Array(16);if(globalThis.crypto?.getRandomValues)globalThis.crypto.getRandomValues(e);else for(let t=0;t{if(t.aborted){n();return}let r=globalThis.setTimeout(n,e);t.addEventListener(`abort`,()=>{globalThis.clearTimeout(r),n()},{once:!0})})}var X={script:`color:#0ea5e9;font-weight:bold`,debug:`color:#6b7280`,info:`color:#2563eb`,warn:`color:#d97706`,error:`color:#dc2626;font-weight:bold`},Z={script:`đŸ“Ļ`,debug:`🔍`,info:`â„šī¸`,warn:`âš ī¸`,error:`❌`};function le(e){return e.map(e=>typeof e==`object`&&e&&!(e instanceof Error)?JSON.stringify(e):e)}function ue(e,t){if(t!==void 0&&t!==``){console.log(`%c${Z.script} ${e} script loaded, build time: %c${t}`,X.script,`color:#059669`);return}console.log(`%c${Z.script} ${e} script loaded`,X.script)}function Q(e,t,n){let r=Z[e],i=X[e],a=`%c${r} ${t}`,o=console[e];if(n.length>0){o(a,i,...le(n));return}o(a,i)}function $(e,t,n){return(...r)=>{e()&&Q(n,t,r)}}function de(e,t={}){let n=`[${e}]`,{buildTime:r,alwaysLog:i=!1}=t,a=i===!0,o=a;return{scriptLoaded(){ue(n,r)},setDebug(e){o=a?!0:e},debug:$(()=>o,n,`debug`),info:$(()=>o,n,`info`),warn:$(()=>o,n,`warn`),error:$(()=>o,n,`error`)}}return de(`device-intelligence`,{buildTime:`2026-09-28T07:47:30.314Z`}).scriptLoaded(),e.DeviceIntelligence=ie,e.MemoryCache=t,e.SDK_VERSION=G,e.normalizeBrowser=C,e.normalizeGpuFamily=D,e.normalizePlatform=T,e.normalizeScreenClass=E,e})({});globalThis.DeviceIntelligence=DeviceIntelligence.DeviceIntelligence; +var DeviceIntelligence=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=class{entry=null;get(){return this.entry===null?null:Date.now()>=this.entry.expiresAt?(this.entry=null,null):this.entry.value}set(e,t){let n=t*1e3;this.entry={value:e,expiresAt:Date.now()+n},n<=0&&(this.entry=null)}clear(){this.entry=null}has(){return this.get()!==null}},n=16;async function r(e){let t=globalThis.crypto?.subtle;if(!t)throw Error(`WebCrypto SubtleCrypto is not available`);let n=typeof e==`string`?new TextEncoder().encode(e):e,r=await t.digest(`SHA-256`,n),i=new Uint8Array(r),a=``;for(let e=0;e1?1:e}function o(e){return{name:e.name,value:e.value,normalizedValue:e.normalizedValue,quality:a(e.quality),stability:a(e.stability),entropyCategory:e.entropyCategory,collectedAt:e.collectedAt??Date.now()}}function s(e){return new Promise((t,n)=>{let r=()=>{n(new DOMException(`The operation was aborted.`,`AbortError`))};if(e.aborted){r();return}e.addEventListener(`abort`,r,{once:!0})})}function c(e,t){return Promise.race([e,s(t)])}function l(e){if(e.abortSignal.aborted)throw new DOMException(`The operation was aborted.`,`AbortError`)}var u=44100,d=44100,f=256,p=class{name=`audio`;async collect(e){l(e);let t=m();if(!t)throw Error(`OfflineAudioContext is not available`);let n=new t(1,d,u),r=n.createOscillator();r.type=`triangle`,r.frequency.value=1e4;let a=n.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,r.connect(a),a.connect(n.destination),r.start(0);let s=await i(h((await c(n.startRendering(),e.abortSignal)).getChannelData(0),f).join(`,`));return o({name:this.name,value:s,normalizedValue:s,quality:.85,stability:.9,entropyCategory:`high`})}};function m(){let e=globalThis;return e.OfflineAudioContext??e.webkitOfflineAudioContext??null}function h(e,t){let n=Math.max(1,Math.floor(e.length/t)),r=[];for(let i=0;i`u`?null:navigator,r=n?.userAgent??``;n&&n.webdriver===!0&&t.push(`webdriver`),!n||!Array.isArray(n.languages)||n.languages.length===0?t.push(`missing-languages`):n.language&&n.languages[0]&&n.language!==n.languages[0]&&t.push(`language-mismatch`),!n||typeof n.hardwareConcurrency!=`number`?t.push(`missing-hardware-concurrency`):(n.hardwareConcurrency<=0||n.hardwareConcurrency>128)&&t.push(`implausible-hardware-concurrency`),/headless/i.test(r)&&t.push(`headless-ua`),/HeadlessChrome/i.test(r)&&t.push(`headless-chrome`),typeof window<`u`&&window.outerWidth===0&&window.outerHeight===0&&t.push(`zero-outer-size`);let i={indicators:t,confidence:a(t.reduce((e,t)=>e+(ee[t]??.15),0))};return o({name:this.name,value:i,normalizedValue:i,quality:.8,stability:.5,entropyCategory:`low`})}},g=280,_=80,v=class{name=`canvas`;async collect(e){if(l(e),typeof document>`u`)throw Error(`document is not available`);let t=document.createElement(`canvas`);t.width=g,t.height=_,t.style.display=`none`;let n=t.getContext(`2d`,{willReadFrequently:!0});if(!n)throw Error(`CanvasRenderingContext2D is not available`);y(n);let r=await i(n.getImageData(0,0,g,_).data);return o({name:this.name,value:r,normalizedValue:r,quality:.92,stability:.95,entropyCategory:`high`})}};function y(e){e.fillStyle=`#f60`,e.fillRect(8,8,90,48),e.fillStyle=`#069`,e.fillRect(108,12,70,40),e.strokeStyle=`#111827`,e.lineWidth=2,e.beginPath(),e.arc(220,36,26,0,Math.PI*2),e.stroke(),e.beginPath(),e.arc(248,52,14,.25*Math.PI,1.6*Math.PI),e.stroke(),e.fillStyle=`#111827`,e.font=`16px Arial, sans-serif`,e.textBaseline=`top`,e.fillText(`DeviceIntelligence`,12,58),e.fillStyle=`rgba(16, 185, 129, 0.45)`,e.fillRect(40,20,36,18)}var b=class{name=`capabilities`;async collect(e){l(e);let t=typeof navigator>`u`?null:navigator,n=typeof window>`u`?null:window,r={cookieEnabled:t?.cookieEnabled??!1,pdfViewerEnabled:!!t?.pdfViewerEnabled,serviceWorker:!!(t&&`serviceWorker`in t),webgl:x(),webgpu:!!(t&&`gpu`in t),wasm:typeof WebAssembly<`u`,sharedArrayBuffer:typeof SharedArrayBuffer<`u`,touch:(t?.maxTouchPoints??0)>0,matchMedia:typeof n?.matchMedia==`function`,localStorage:S(`localStorage`),sessionStorage:S(`sessionStorage`),indexedDB:typeof indexedDB<`u`},i=Object.entries(r).filter(([,e])=>e).map(([e])=>e).sort();return o({name:this.name,value:r,normalizedValue:i,quality:.9,stability:.9,entropyCategory:`medium`})}};function x(){if(typeof document>`u`||typeof navigator<`u`&&/jsdom/i.test(navigator.userAgent))return!1;try{let e=document.createElement(`canvas`);return!!(e.getContext(`webgl`)||e.getContext(`experimental-webgl`))}catch{return!1}}function S(e){try{let t=globalThis[e],n=`__di_cap__`;return t.setItem(n,`1`),t.removeItem(n),!0}catch{return!1}}function C(e){let t=e.trim();return t.length===0?`other`:/Edg(?:e|A|iOS)?\/|\bEdge\//i.test(t)||/^Edge\s/i.test(t)?w(t,`Edge`,/(?:Edg(?:e|A|iOS)?|Edge)[/\s](\d+)/i):/\bOPR\/|\bOpera\//i.test(t)||/^Opera\s/i.test(t)?w(t,`Opera`,/(?:OPR|Opera)[/\s](\d+)/i):/\bFirefox\/|\bFxiOS\//i.test(t)||/^Firefox\s/i.test(t)?w(t,`Firefox`,/(?:Firefox|FxiOS)[/\s](\d+)/i):/^Chrome\s+\d+/i.test(t)?w(t,`Chrome`,/^Chrome\s+(\d+)/i):/\bSafari\//i.test(t)&&/\bVersion\//i.test(t)&&!/\b(Chrome|Chromium|CriOS|Edg|OPR)\b/i.test(t)||/^Safari\s/i.test(t)?w(t,`Safari`,/(?:Version|Safari)[/\s](\d+)/i):/\b(Chrome|Chromium|CriOS)\//i.test(t)?w(t,`Chrome`,/(?:Chrome|Chromium|CriOS)\/(\d+)/i):`other`}function w(e,t,n){let r=e.match(n)?.[1];return r?`${t} ${r}`:t}function T(e){let t=e.toLowerCase();return t.includes(`win`)?`windows`:t.includes(`android`)?`android`:t.includes(`iphone`)||t.includes(`ipad`)||t.includes(`ipod`)||t.includes(`ios`)?`ios`:t.includes(`mac`)||t.includes(`darwin`)?`macos`:t.includes(`linux`)||t.includes(`x11`)||t.includes(`cros`)?`linux`:`other`}function E(e,t){let n=Math.max(e,t);return!Number.isFinite(n)||n<=0?`other`:n<=480?`mobile-s`:n<=767?`mobile-l`:n<=1280?`tablet`:n<=1920?`hd`:n<=2560?`qhd`:n<=3840?`uhd`:`other`}function D(e,t){let n=`${e} ${t}`.toLowerCase();return n.includes(`apple`)||n.includes(`metal`)?`apple`:n.includes(`nvidia`)||n.includes(`geforce`)||n.includes(`quadro`)?`nvidia`:n.includes(`amd`)||n.includes(`radeon`)||n.includes(`ati`)?`amd`:n.includes(`intel`)?`intel`:n.includes(`mali`)?`mali`:n.includes(`adreno`)?`adreno`:`other`}var O=[`architecture`,`bitness`,`model`,`platformVersion`,`uaFullVersion`,`fullVersionList`],ne=class{name=`client_hints`;async collect(e){if(l(e),typeof navigator>`u`)throw Error(`navigator is not available`);let t=navigator.userAgentData;if(!t)return o({name:this.name,value:{brands:[],mobile:null,platform:``,highEntropy:!1,available:!1},normalizedValue:{browser:C(navigator.userAgent??``),platform:T(navigator.platform??navigator.userAgent??``),highEntropy:!1},quality:.35,stability:.7,entropyCategory:`medium`});let n={brands:Array.isArray(t.brands)?t.brands:[],mobile:typeof t.mobile==`boolean`?t.mobile:null,platform:t.platform??``,highEntropy:!1,available:!0},r={},i=!1;if(e.consent.highEntropy&&typeof t.getHighEntropyValues==`function`)try{r=await c(t.getHighEntropyValues([...O]),e.abortSignal),i=!0}catch{i=!1}let a={...n,...r,highEntropy:i},s=re(n.brands),u=typeof r.uaFullVersion==`string`?String(r.uaFullVersion):s?.version??``,d=s?`${s.brand} ${u}`:navigator.userAgent;return o({name:this.name,value:a,normalizedValue:{browser:C(d),platform:T(n.platform||navigator.platform||``),highEntropy:i},quality:i?.95:.7,stability:.75,entropyCategory:`medium`})}};function re(e){return e.find(e=>{let t=e.brand.toLowerCase();return t!==`not?a;brand`&&t!==`not a;brand`&&!t.includes(`not:`)})??e[0]??null}var k=`mmmmmmmmmmlli`,A=`monospace`,j=[`Arial`,`Times New Roman`,`Courier New`,`Georgia`,`Verdana`,`Roboto`],M=class{name=`fonts`;async collect(e){if(l(e),typeof document>`u`||!document.body)throw Error(`document.body is not available`);let t=N(k,A),n=j.filter(e=>N(k,`${e}, ${A}`)!==t);return o({name:this.name,value:n,normalizedValue:[...n].sort(),quality:.7,stability:.8,entropyCategory:`high`})}};function N(e,t){let n=document.createElement(`span`);n.style.cssText=[`position:absolute`,`left:-9999px`,`top:0`,`visibility:hidden`,`white-space:nowrap`,`font:72px ${t}`].join(`;`),n.textContent=e,document.body.appendChild(n);let r=n.offsetWidth;return document.body.removeChild(n),r}var P=class{name=`navigator`;async collect(e){if(l(e),typeof navigator>`u`)throw Error(`navigator is not available`);let t=navigator.userAgent??``,n=navigator.platform??``,r=Array.isArray(navigator.languages)?[...navigator.languages]:[],i=navigator,a={userAgent:t,platform:n,language:navigator.language??``,languages:r,hardwareConcurrency:navigator.hardwareConcurrency??null,deviceMemory:typeof i.deviceMemory==`number`?i.deviceMemory:null,maxTouchPoints:navigator.maxTouchPoints??0,vendor:navigator.vendor??``},s=C(t),c=T(n||t);return o({name:this.name,value:a,normalizedValue:{browser:s,platform:c,hardwareConcurrency:a.hardwareConcurrency},quality:t.length>0?.9:.4,stability:.8,entropyCategory:`medium`})}},F=class{name=`screen`;async collect(e){l(e);let t=typeof screen>`u`?null:screen;if(!t)throw Error(`screen is not available`);let n=I(t.width),r=I(t.height),i={width:n,height:r,availWidth:I(t.availWidth),availHeight:I(t.availHeight),colorDepth:I(t.colorDepth),pixelDepth:I(t.pixelDepth),pixelRatio:I(typeof devicePixelRatio==`number`?devicePixelRatio:1)},a=E(n,r);return o({name:this.name,value:i,normalizedValue:{screenClass:a,width:n,height:r},quality:n>0&&r>0?.95:.4,stability:.7,entropyCategory:`low`})}};function I(e){return Number.isFinite(e)?e:0}var L=class{name=`timezone`;async collect(e){l(e);let t=`UTC`;try{t=Intl.DateTimeFormat().resolvedOptions().timeZone||`UTC`}catch{t=`UTC`}let n=new Date().getTimezoneOffset(),r={timeZone:t,offsetMinutes:n};return o({name:this.name,value:r,normalizedValue:t,quality:t.length>0?.99:.3,stability:.85,entropyCategory:`low`})}},R=class{name=`webgl`;async collect(e){if(l(e),typeof document>`u`)throw Error(`document is not available`);let t=document.createElement(`canvas`);t.width=1,t.height=1;let n=z(t);if(!n)throw Error(`WebGL is not available`);try{let e=n.getExtension(`WEBGL_debug_renderer_info`),t=B(n,e?e.UNMASKED_VENDOR_WEBGL:n.VENDOR),r=B(n,e?e.UNMASKED_RENDERER_WEBGL:n.RENDERER),a=await i([...n.getSupportedExtensions()??[]].sort().join(`,`)),s=n.getParameter(n.MAX_VIEWPORT_DIMS),c={maxTextureSize:V(n,n.MAX_TEXTURE_SIZE),maxViewportDims:Array.isArray(s)?[Number(s[0]),Number(s[1])]:s instanceof Int32Array?[s[0]??0,s[1]??0]:null,maxRenderbufferSize:V(n,n.MAX_RENDERBUFFER_SIZE),maxVertexAttribs:V(n,n.MAX_VERTEX_ATTRIBS),maxFragmentUniformVectors:V(n,n.MAX_FRAGMENT_UNIFORM_VECTORS)},l={vendor:t,renderer:r,extensionsHash:a,limits:c},u=typeof r==`string`&&r.length>0,d=u&&e?.88:u?.7:.45;return o({name:this.name,value:l,normalizedValue:{gpuFamily:D(t??``,r??``),extensionsHash:a,maxTextureSize:c.maxTextureSize},quality:d,stability:.95,entropyCategory:`high`})}finally{n.getExtension(`WEBGL_lose_context`)?.loseContext()}}};function z(e){let t={alpha:!0,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1};return e.getContext(`webgl`,t)||e.getContext(`experimental-webgl`,t)}function B(e,t){try{let n=e.getParameter(t);return typeof n==`string`&&n.length>0?n:null}catch{return null}}function V(e,t){try{let n=e.getParameter(t);return typeof n==`number`&&Number.isFinite(n)?n:null}catch{return null}}var H=`X-Previous-Debug-Token`;function U(){if(typeof document>`u`)return;let e=document.querySelector(`[id^="sfwdt"]`);if(!(e instanceof Element)||!e.id.startsWith(`sfwdt`))return;let t=e.id.slice(5);return t.length>0?t:void 0}async function W(e,t,n){try{let r={"Content-Type":`application/json`},i=U();i!==void 0&&(r[H]=i);let a=await fetch(e,{method:`POST`,credentials:`same-origin`,headers:r,body:JSON.stringify(t),signal:n});if(!a.ok)return null;let o=await a.text();if(o.trim().length===0)return{ok:!0};let s=JSON.parse(o);return typeof s!=`object`||!s?{ok:!0}:s}catch{return null}}var G=`1.0.0`,K=`/_device/collect`,q=1500,J=3600,Y={audio:!0,canvas:!0,webgl:!0,screen:!0,timezone:!0,navigator:!0,clientHints:!0,capabilities:!0,automation:!0,fonts:!1},ie=class{endpoint;timeout;cacheTtl;cacheEnabled;consent;cache=new t;collectors=[];constructor(e={}){this.endpoint=e.endpoint??K,this.timeout=oe(e.timeout),this.cacheEnabled=e.cache?.enabled??!0,this.cacheTtl=e.cache?.ttl??J,this.consent={highEntropy:e.consent?.highEntropy??!0},this.collectors=ae({...Y,...e.collectors})}async collect(){return this.runCollect(!1)}async refresh(){return this.runCollect(!0)}getCachedObservation(){return this.cache.get()}clear(){this.cache.clear()}registerCollector(e){this.collectors.push(e)}async runCollect(e){try{if(!e&&this.cacheEnabled){let e=this.cache.get();if(e)return e.result}let t=new AbortController,n=globalThis.setTimeout(()=>t.abort(),this.timeout),r={timeout:this.timeout,abortSignal:t.signal,consent:this.consent},i={};try{i=await this.collectSignals(r)}finally{globalThis.clearTimeout(n)}let a=this.collectors.length,o=Object.keys(i).length,s=ol.abort(),this.timeout),d=null;try{d=await W(this.endpoint,c,l.signal)}finally{globalThis.clearTimeout(u)}let f=d===null,p=o>0,m={ok:!f&&p&&d?.ok!==!1,degraded:!!d?.degraded||s||f||!p,signals:i};d?.new!==void 0&&(m.new=d.new),d?.token!==void 0&&(m.token=d.token),d?.expiresAt!==void 0&&(m.expiresAt=d.expiresAt),d?.deviceId!==void 0&&(m.deviceId=d.deviceId),d?.confidence!==void 0&&(m.confidence=d.confidence),d?.risk!==void 0&&(m.risk=d.risk),(f||!p)&&(m.ok=!1,m.degraded=!0);let h={timestamp:Date.now(),signals:i,result:m};return this.cacheEnabled&&this.cache.set(h,this.cacheTtl),m}catch{return{ok:!1,degraded:!0,signals:{}}}}async collectSignals(e){let t={},n=this.collectors.map(async n=>{try{let r=await c(n.collect(e),e.abortSignal);r&&typeof r.name==`string`&&(t[r.name]=r)}catch{}}),r=Promise.all(n),i=ce(this.timeout,e.abortSignal);return await Promise.race([r,i]),await Promise.allSettled(n),t}toPayload(e){let t={};for(let[n,r]of Object.entries(e))t[n]={value:r.value,quality:r.quality,collectedAt:r.collectedAt};return{v:1,sdkVersion:G,timestamp:Math.floor(Date.now()/1e3),nonce:se(),consent:this.consent,signals:t}}};function ae(e){let t=[];return e.navigator&&t.push(new P),e.clientHints&&t.push(new ne),e.screen&&t.push(new F),e.timezone&&t.push(new L),e.capabilities&&t.push(new b),e.automation&&t.push(new te),e.canvas&&t.push(new v),e.webgl&&t.push(new R),e.audio&&t.push(new p),e.fonts&&t.push(new M),t}function oe(e){return typeof e==`number`&&Number.isFinite(e)&&e>0?e:q}function se(){let e=new Uint8Array(16);if(globalThis.crypto?.getRandomValues)globalThis.crypto.getRandomValues(e);else for(let t=0;t{if(t.aborted){n();return}let r=globalThis.setTimeout(n,e);t.addEventListener(`abort`,()=>{globalThis.clearTimeout(r),n()},{once:!0})})}var X={script:`color:#0ea5e9;font-weight:bold`,debug:`color:#6b7280`,info:`color:#2563eb`,warn:`color:#d97706`,error:`color:#dc2626;font-weight:bold`},Z={script:`đŸ“Ļ`,debug:`🔍`,info:`â„šī¸`,warn:`âš ī¸`,error:`❌`};function le(e){return e.map(e=>typeof e==`object`&&e&&!(e instanceof Error)?JSON.stringify(e):e)}function ue(e,t){if(t!==void 0&&t!==``){console.log(`%c${Z.script} ${e} script loaded, build time: %c${t}`,X.script,`color:#059669`);return}console.log(`%c${Z.script} ${e} script loaded`,X.script)}function Q(e,t,n){let r=Z[e],i=X[e],a=`%c${r} ${t}`,o=console[e];if(n.length>0){o(a,i,...le(n));return}o(a,i)}function $(e,t,n){return(...r)=>{e()&&Q(n,t,r)}}function de(e,t={}){let n=`[${e}]`,{buildTime:r,alwaysLog:i=!1}=t,a=i===!0,o=a;return{scriptLoaded(){ue(n,r)},setDebug(e){o=a?!0:e},debug:$(()=>o,n,`debug`),info:$(()=>o,n,`info`),warn:$(()=>o,n,`warn`),error:$(()=>o,n,`error`)}}return de(`device-intelligence`,{buildTime:`2026-10-05T08:25:05.841Z`}).scriptLoaded(),e.DeviceIntelligence=ie,e.MemoryCache=t,e.SDK_VERSION=G,e.normalizeBrowser=C,e.normalizeGpuFamily=D,e.normalizePlatform=T,e.normalizeScreenClass=E,e})({});globalThis.DeviceIntelligence=DeviceIntelligence.DeviceIntelligence; //# sourceMappingURL=device-intelligence.min.js.map \ No newline at end of file