aesirx-analytics 2.2.20 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,10 @@ import {
3
3
  bg_default,
4
4
  getConsents,
5
5
  privacy_default,
6
+ unBlockScripts,
7
+ useI18nextContext,
6
8
  useTranslation
7
- } from "./chunk-HGACFQLI.js";
9
+ } from "./chunk-NKOHXSTE.js";
8
10
 
9
11
  // src/Hooks/config.ts
10
12
  import {
@@ -46,9 +48,29 @@ var useConsentStatus = (endpoint, layout, props) => {
46
48
  const [web3ID, setWeb3ID] = useState();
47
49
  const analyticsContext = useContext(AnalyticsContext);
48
50
  const { activeConnector, network, connectedAccounts, genesisHashes, setActiveConnectorType } = props;
51
+ const observerModal = () => {
52
+ const callback = (mutationList) => {
53
+ for (const mutation of mutationList) {
54
+ if (mutation.type === "attributes" && mutation.attributeName === "class") {
55
+ if (!mutation.target.classList?.contains("minimize")) {
56
+ const firstElement = mutation.target.querySelector("a, button, input");
57
+ if (firstElement) {
58
+ firstElement.focus();
59
+ }
60
+ }
61
+ }
62
+ }
63
+ };
64
+ const targetNode = document.querySelector("#consent-modal > div");
65
+ if (targetNode) {
66
+ const observer = new MutationObserver(callback);
67
+ observer.observe(targetNode, { attributes: true });
68
+ }
69
+ };
49
70
  useEffect(() => {
50
71
  const allow = sessionStorage.getItem("aesirx-analytics-allow");
51
72
  const currentUuid = sessionStorage.getItem("aesirx-analytics-uuid");
73
+ observerModal();
52
74
  if (analyticsContext.visitor_uuid && (allow === null || analyticsContext.visitor_uuid !== currentUuid)) {
53
75
  (async () => {
54
76
  const consentList = await getConsents(endpoint, analyticsContext.visitor_uuid);
@@ -142,6 +164,7 @@ var useConsentStatus = (endpoint, layout, props) => {
142
164
  setShowRevoke(status);
143
165
  if (level2 && level2 !== "0") {
144
166
  window.funcAfterConsent && window.funcAfterConsent();
167
+ window.configBlockJS && unBlockScripts();
145
168
  }
146
169
  };
147
170
  return [
@@ -811,28 +834,28 @@ var css = `:root {
811
834
  --aesirxconsent-danger-rgb: 220, 53, 69;
812
835
  --aesirxconsent-light-rgb: 248, 249, 250;
813
836
  --aesirxconsent-dark-rgb: 34, 35, 40;
814
- --aesirxconsent-primary-text-emphasis: #080e1a;
815
- --aesirxconsent-secondary-text-emphasis: #27325e;
816
- --aesirxconsent-success-text-emphasis: #0a483b;
817
- --aesirxconsent-info-text-emphasis: #055160;
818
- --aesirxconsent-warning-text-emphasis: #664d03;
819
- --aesirxconsent-danger-text-emphasis: #58151c;
837
+ --aesirxconsent-primary-text-emphasis: rgb(7.6, 14, 26.4);
838
+ --aesirxconsent-secondary-text-emphasis: rgb(39.2, 50.4, 93.6);
839
+ --aesirxconsent-success-text-emphasis: rgb(10.4, 71.6, 59.2);
840
+ --aesirxconsent-info-text-emphasis: rgb(5.2, 80.8, 96);
841
+ --aesirxconsent-warning-text-emphasis: rgb(102, 77.2, 2.8);
842
+ --aesirxconsent-danger-text-emphasis: rgb(88, 21.2, 27.6);
820
843
  --aesirxconsent-light-text-emphasis: #495057;
821
844
  --aesirxconsent-dark-text-emphasis: #495057;
822
- --aesirxconsent-primary-bg-subtle: #d0d3d9;
823
- --aesirxconsent-secondary-bg-subtle: #e0e5fb;
824
- --aesirxconsent-success-bg-subtle: #d1f0ea;
825
- --aesirxconsent-info-bg-subtle: #cff4fc;
826
- --aesirxconsent-warning-bg-subtle: #fff3cd;
827
- --aesirxconsent-danger-bg-subtle: #f8d7da;
828
- --aesirxconsent-light-bg-subtle: #fcfcfd;
845
+ --aesirxconsent-primary-bg-subtle: rgb(207.8, 211, 217.2);
846
+ --aesirxconsent-secondary-bg-subtle: rgb(223.6, 229.2, 250.8);
847
+ --aesirxconsent-success-bg-subtle: rgb(209.2, 239.8, 233.6);
848
+ --aesirxconsent-info-bg-subtle: rgb(206.6, 244.4, 252);
849
+ --aesirxconsent-warning-bg-subtle: rgb(255, 242.6, 205.4);
850
+ --aesirxconsent-danger-bg-subtle: rgb(248, 214.6, 217.8);
851
+ --aesirxconsent-light-bg-subtle: rgb(251.5, 252, 252.5);
829
852
  --aesirxconsent-dark-bg-subtle: #ced4da;
830
- --aesirxconsent-primary-border-subtle: #a1a7b3;
831
- --aesirxconsent-secondary-border-subtle: #c0cbf7;
832
- --aesirxconsent-success-border-subtle: #a3e1d4;
833
- --aesirxconsent-info-border-subtle: #9eeaf9;
834
- --aesirxconsent-warning-border-subtle: #ffe69c;
835
- --aesirxconsent-danger-border-subtle: #f1aeb5;
853
+ --aesirxconsent-primary-border-subtle: rgb(160.6, 167, 179.4);
854
+ --aesirxconsent-secondary-border-subtle: rgb(192.2, 203.4, 246.6);
855
+ --aesirxconsent-success-border-subtle: rgb(163.4, 224.6, 212.2);
856
+ --aesirxconsent-info-border-subtle: rgb(158.2, 233.8, 249);
857
+ --aesirxconsent-warning-border-subtle: rgb(255, 230.2, 155.8);
858
+ --aesirxconsent-danger-border-subtle: rgb(241, 174.2, 180.6);
836
859
  --aesirxconsent-light-border-subtle: #e9ecef;
837
860
  --aesirxconsent-dark-border-subtle: #adb5bd;
838
861
  --aesirxconsent-white-rgb: 255, 255, 255;
@@ -862,11 +885,11 @@ var css = `:root {
862
885
  --aesirxconsent-link-color: #132342;
863
886
  --aesirxconsent-link-color-rgb: 19, 35, 66;
864
887
  --aesirxconsent-link-decoration: underline;
865
- --aesirxconsent-link-hover-color: #0f1c35;
888
+ --aesirxconsent-link-hover-color: rgb(15.2, 28, 52.8);
866
889
  --aesirxconsent-link-hover-color-rgb: 15, 28, 53;
867
890
  --aesirxconsent-code-color: #d63384;
868
891
  --aesirxconsent-highlight-color: #212529;
869
- --aesirxconsent-highlight-bg: #fff3cd;
892
+ --aesirxconsent-highlight-bg: rgb(255, 242.6, 205.4);
870
893
  --aesirxconsent-border-width: 1px;
871
894
  --aesirxconsent-border-style: solid;
872
895
  --aesirxconsent-border-color: #dee2e6;
@@ -895,8 +918,8 @@ var css = `:root {
895
918
  color-scheme: dark;
896
919
  --aesirxconsent-body-color: #dee2e6;
897
920
  --aesirxconsent-body-color-rgb: 222, 226, 230;
898
- --aesirxconsent-body-bg: #101529;
899
- --aesirxconsent-body-bg-rgb: 16, 21, 41;
921
+ --aesirxconsent-body-bg: #212529;
922
+ --aesirxconsent-body-bg-rgb: 33, 37, 41;
900
923
  --aesirxconsent-emphasis-color: #fff;
901
924
  --aesirxconsent-emphasis-color-rgb: 255, 255, 255;
902
925
  --aesirxconsent-secondary-color: rgba(222, 226, 230, 0.75);
@@ -905,46 +928,46 @@ var css = `:root {
905
928
  --aesirxconsent-secondary-bg-rgb: 52, 58, 64;
906
929
  --aesirxconsent-tertiary-color: rgba(222, 226, 230, 0.5);
907
930
  --aesirxconsent-tertiary-color-rgb: 222, 226, 230;
908
- --aesirxconsent-tertiary-bg: #2b3035;
931
+ --aesirxconsent-tertiary-bg: rgb(42.5, 47.5, 52.5);
909
932
  --aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
910
- --aesirxconsent-primary-text-emphasis: #717b8e;
911
- --aesirxconsent-secondary-text-emphasis: #a1b2f2;
912
- --aesirxconsent-success-text-emphasis: #76d1bf;
913
- --aesirxconsent-info-text-emphasis: #6edff6;
914
- --aesirxconsent-warning-text-emphasis: #ffda6a;
915
- --aesirxconsent-danger-text-emphasis: #ea868f;
933
+ --aesirxconsent-primary-text-emphasis: rgb(113.4, 123, 141.6);
934
+ --aesirxconsent-secondary-text-emphasis: rgb(160.8, 177.6, 242.4);
935
+ --aesirxconsent-success-text-emphasis: rgb(117.6, 209.4, 190.8);
936
+ --aesirxconsent-info-text-emphasis: rgb(109.8, 223.2, 246);
937
+ --aesirxconsent-warning-text-emphasis: rgb(255, 217.8, 106.2);
938
+ --aesirxconsent-danger-text-emphasis: rgb(234, 133.8, 143.4);
916
939
  --aesirxconsent-light-text-emphasis: #f8f9fa;
917
940
  --aesirxconsent-dark-text-emphasis: #dee2e6;
918
- --aesirxconsent-primary-bg-subtle: #04070d;
919
- --aesirxconsent-secondary-bg-subtle: #14192f;
920
- --aesirxconsent-success-bg-subtle: #05241e;
921
- --aesirxconsent-info-bg-subtle: #032830;
922
- --aesirxconsent-warning-bg-subtle: #332701;
923
- --aesirxconsent-danger-bg-subtle: #2c0b0e;
924
- --aesirxconsent-light-bg-subtle: #0c1124;
925
- --aesirxconsent-dark-bg-subtle: #132342;
926
- --aesirxconsent-primary-border-subtle: #0b1528;
927
- --aesirxconsent-secondary-border-subtle: #3b4c8c;
928
- --aesirxconsent-success-border-subtle: #106b59;
929
- --aesirxconsent-info-border-subtle: #087990;
930
- --aesirxconsent-warning-border-subtle: #997404;
931
- --aesirxconsent-danger-border-subtle: #842029;
941
+ --aesirxconsent-primary-bg-subtle: rgb(3.8, 7, 13.2);
942
+ --aesirxconsent-secondary-bg-subtle: rgb(19.6, 25.2, 46.8);
943
+ --aesirxconsent-success-bg-subtle: rgb(5.2, 35.8, 29.6);
944
+ --aesirxconsent-info-bg-subtle: rgb(2.6, 40.4, 48);
945
+ --aesirxconsent-warning-bg-subtle: rgb(51, 38.6, 1.4);
946
+ --aesirxconsent-danger-bg-subtle: rgb(44, 10.6, 13.8);
947
+ --aesirxconsent-light-bg-subtle: #343a40;
948
+ --aesirxconsent-dark-bg-subtle: #1a1d20;
949
+ --aesirxconsent-primary-border-subtle: rgb(11.4, 21, 39.6);
950
+ --aesirxconsent-secondary-border-subtle: rgb(58.8, 75.6, 140.4);
951
+ --aesirxconsent-success-border-subtle: rgb(15.6, 107.4, 88.8);
952
+ --aesirxconsent-info-border-subtle: rgb(7.8, 121.2, 144);
953
+ --aesirxconsent-warning-border-subtle: rgb(153, 115.8, 4.2);
954
+ --aesirxconsent-danger-border-subtle: rgb(132, 31.8, 41.4);
932
955
  --aesirxconsent-light-border-subtle: #495057;
933
- --aesirxconsent-dark-border-subtle: #132342;
956
+ --aesirxconsent-dark-border-subtle: #343a40;
934
957
  --aesirxconsent-heading-color: inherit;
935
- --aesirxconsent-link-color: #fff;
936
- --aesirxconsent-link-hover-color: white;
937
- --aesirxconsent-link-color-rgb: 255, 255, 255;
938
- --aesirxconsent-link-hover-color-rgb: 255, 255, 255;
939
- --aesirxconsent-code-color: #e685b5;
958
+ --aesirxconsent-link-color: rgb(113.4, 123, 141.6);
959
+ --aesirxconsent-link-hover-color: rgb(141.72, 149.4, 164.28);
960
+ --aesirxconsent-link-color-rgb: 113, 123, 142;
961
+ --aesirxconsent-link-hover-color-rgb: 142, 149, 164;
962
+ --aesirxconsent-code-color: rgb(230.4, 132.6, 181.2);
940
963
  --aesirxconsent-highlight-color: #dee2e6;
941
- --aesirxconsent-highlight-bg: #664d03;
942
- --aesirxconsent-border-color: #1e4284;
964
+ --aesirxconsent-highlight-bg: rgb(102, 77.2, 2.8);
965
+ --aesirxconsent-border-color: #495057;
943
966
  --aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
944
- --aesirxconsent-form-valid-color: #75b798;
945
- --aesirxconsent-form-valid-border-color: #75b798;
946
- --aesirxconsent-form-invalid-color: #ea868f;
947
- --aesirxconsent-form-invalid-border-color: #ea868f;
967
+ --aesirxconsent-form-valid-color: rgb(117, 183, 152.4);
968
+ --aesirxconsent-form-valid-border-color: rgb(117, 183, 152.4);
969
+ --aesirxconsent-form-invalid-color: rgb(234, 133.8, 143.4);
970
+ --aesirxconsent-form-invalid-border-color: rgb(234, 133.8, 143.4);
948
971
  }
949
972
 
950
973
  .aesirxconsent {
@@ -1065,7 +1088,6 @@ var css = `:root {
1065
1088
  display: flex;
1066
1089
  flex-shrink: 0;
1067
1090
  align-items: center;
1068
- justify-content: space-between;
1069
1091
  padding: var(--aesirxconsent-modal-header-padding);
1070
1092
  border-bottom: var(--aesirxconsent-modal-header-border-width) solid var(--aesirxconsent-modal-header-border-color);
1071
1093
  border-top-left-radius: var(--aesirxconsent-modal-inner-border-radius);
@@ -1715,14 +1737,11 @@ var css = `:root {
1715
1737
  .aesirxconsent .offcanvas-header {
1716
1738
  display: flex;
1717
1739
  align-items: center;
1718
- justify-content: space-between;
1719
1740
  padding: var(--aesirxconsent-offcanvas-padding-y) var(--aesirxconsent-offcanvas-padding-x);
1720
1741
  }
1721
1742
  .aesirxconsent .offcanvas-header .btn-close {
1722
1743
  padding: calc(var(--aesirxconsent-offcanvas-padding-y) * 0.5) calc(var(--aesirxconsent-offcanvas-padding-x) * 0.5);
1723
- margin-top: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y));
1724
- margin-right: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-x));
1725
- margin-bottom: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y));
1744
+ margin: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y)) calc(-0.5 * var(--aesirxconsent-offcanvas-padding-x)) calc(-0.5 * var(--aesirxconsent-offcanvas-padding-y)) auto;
1726
1745
  }
1727
1746
  .aesirxconsent .offcanvas-title {
1728
1747
  margin-bottom: 0;
@@ -1801,6 +1820,9 @@ var css = `:root {
1801
1820
  .btn-check:checked + .aesirxconsent .btn:focus-visible, :not(.btn-check) + .aesirxconsent .btn:active:focus-visible, .aesirxconsent .btn:first-child:active:focus-visible, .aesirxconsent .btn.active:focus-visible, .aesirxconsent .btn.show:focus-visible {
1802
1821
  box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
1803
1822
  }
1823
+ .btn-check:checked:focus-visible + .aesirxconsent .btn {
1824
+ box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
1825
+ }
1804
1826
  .aesirxconsent .btn:disabled, .aesirxconsent .btn.disabled, fieldset:disabled .aesirxconsent .btn {
1805
1827
  color: var(--aesirxconsent-btn-disabled-color);
1806
1828
  pointer-events: none;
@@ -1813,12 +1835,12 @@ var css = `:root {
1813
1835
  --aesirxconsent-btn-bg: #132342;
1814
1836
  --aesirxconsent-btn-border-color: #132342;
1815
1837
  --aesirxconsent-btn-hover-color: #fff;
1816
- --aesirxconsent-btn-hover-bg: #101e38;
1817
- --aesirxconsent-btn-hover-border-color: #0f1c35;
1838
+ --aesirxconsent-btn-hover-bg: rgb(16.15, 29.75, 56.1);
1839
+ --aesirxconsent-btn-hover-border-color: rgb(15.2, 28, 52.8);
1818
1840
  --aesirxconsent-btn-focus-shadow-rgb: 54, 68, 94;
1819
1841
  --aesirxconsent-btn-active-color: #fff;
1820
- --aesirxconsent-btn-active-bg: #0f1c35;
1821
- --aesirxconsent-btn-active-border-color: #0e1a32;
1842
+ --aesirxconsent-btn-active-bg: rgb(15.2, 28, 52.8);
1843
+ --aesirxconsent-btn-active-border-color: rgb(14.25, 26.25, 49.5);
1822
1844
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1823
1845
  --aesirxconsent-btn-disabled-color: #fff;
1824
1846
  --aesirxconsent-btn-disabled-bg: #132342;
@@ -1829,12 +1851,12 @@ var css = `:root {
1829
1851
  --aesirxconsent-btn-bg: #627eea;
1830
1852
  --aesirxconsent-btn-border-color: #627eea;
1831
1853
  --aesirxconsent-btn-hover-color: #000;
1832
- --aesirxconsent-btn-hover-bg: #7a91ed;
1833
- --aesirxconsent-btn-hover-border-color: #728bec;
1854
+ --aesirxconsent-btn-hover-bg: rgb(121.55, 145.35, 237.15);
1855
+ --aesirxconsent-btn-hover-border-color: rgb(113.7, 138.9, 236.1);
1834
1856
  --aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
1835
1857
  --aesirxconsent-btn-active-color: #000;
1836
- --aesirxconsent-btn-active-bg: #8198ee;
1837
- --aesirxconsent-btn-active-border-color: #728bec;
1858
+ --aesirxconsent-btn-active-bg: rgb(129.4, 151.8, 238.2);
1859
+ --aesirxconsent-btn-active-border-color: rgb(113.7, 138.9, 236.1);
1838
1860
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1839
1861
  --aesirxconsent-btn-disabled-color: #000;
1840
1862
  --aesirxconsent-btn-disabled-bg: #627eea;
@@ -1845,12 +1867,12 @@ var css = `:root {
1845
1867
  --aesirxconsent-btn-bg: #1ab394;
1846
1868
  --aesirxconsent-btn-border-color: #1ab394;
1847
1869
  --aesirxconsent-btn-hover-color: #000;
1848
- --aesirxconsent-btn-hover-bg: #3cbea4;
1849
- --aesirxconsent-btn-hover-border-color: #31bb9f;
1870
+ --aesirxconsent-btn-hover-bg: rgb(60.35, 190.4, 164.05);
1871
+ --aesirxconsent-btn-hover-border-color: rgb(48.9, 186.6, 158.7);
1850
1872
  --aesirxconsent-btn-focus-shadow-rgb: 22, 152, 126;
1851
1873
  --aesirxconsent-btn-active-color: #000;
1852
- --aesirxconsent-btn-active-bg: #48c2a9;
1853
- --aesirxconsent-btn-active-border-color: #31bb9f;
1874
+ --aesirxconsent-btn-active-bg: rgb(71.8, 194.2, 169.4);
1875
+ --aesirxconsent-btn-active-border-color: rgb(48.9, 186.6, 158.7);
1854
1876
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1855
1877
  --aesirxconsent-btn-disabled-color: #000;
1856
1878
  --aesirxconsent-btn-disabled-bg: #1ab394;
@@ -1861,12 +1883,12 @@ var css = `:root {
1861
1883
  --aesirxconsent-btn-bg: #0dcaf0;
1862
1884
  --aesirxconsent-btn-border-color: #0dcaf0;
1863
1885
  --aesirxconsent-btn-hover-color: #000;
1864
- --aesirxconsent-btn-hover-bg: #31d2f2;
1865
- --aesirxconsent-btn-hover-border-color: #25cff2;
1886
+ --aesirxconsent-btn-hover-bg: rgb(49.3, 209.95, 242.25);
1887
+ --aesirxconsent-btn-hover-border-color: rgb(37.2, 207.3, 241.5);
1866
1888
  --aesirxconsent-btn-focus-shadow-rgb: 11, 172, 204;
1867
1889
  --aesirxconsent-btn-active-color: #000;
1868
- --aesirxconsent-btn-active-bg: #3dd5f3;
1869
- --aesirxconsent-btn-active-border-color: #25cff2;
1890
+ --aesirxconsent-btn-active-bg: rgb(61.4, 212.6, 243);
1891
+ --aesirxconsent-btn-active-border-color: rgb(37.2, 207.3, 241.5);
1870
1892
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1871
1893
  --aesirxconsent-btn-disabled-color: #000;
1872
1894
  --aesirxconsent-btn-disabled-bg: #0dcaf0;
@@ -1877,12 +1899,12 @@ var css = `:root {
1877
1899
  --aesirxconsent-btn-bg: #ffc107;
1878
1900
  --aesirxconsent-btn-border-color: #ffc107;
1879
1901
  --aesirxconsent-btn-hover-color: #000;
1880
- --aesirxconsent-btn-hover-bg: #ffca2c;
1881
- --aesirxconsent-btn-hover-border-color: #ffc720;
1902
+ --aesirxconsent-btn-hover-bg: rgb(255, 202.3, 44.2);
1903
+ --aesirxconsent-btn-hover-border-color: rgb(255, 199.2, 31.8);
1882
1904
  --aesirxconsent-btn-focus-shadow-rgb: 217, 164, 6;
1883
1905
  --aesirxconsent-btn-active-color: #000;
1884
- --aesirxconsent-btn-active-bg: #ffcd39;
1885
- --aesirxconsent-btn-active-border-color: #ffc720;
1906
+ --aesirxconsent-btn-active-bg: rgb(255, 205.4, 56.6);
1907
+ --aesirxconsent-btn-active-border-color: rgb(255, 199.2, 31.8);
1886
1908
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1887
1909
  --aesirxconsent-btn-disabled-color: #000;
1888
1910
  --aesirxconsent-btn-disabled-bg: #ffc107;
@@ -1893,12 +1915,12 @@ var css = `:root {
1893
1915
  --aesirxconsent-btn-bg: #dc3545;
1894
1916
  --aesirxconsent-btn-border-color: #dc3545;
1895
1917
  --aesirxconsent-btn-hover-color: #fff;
1896
- --aesirxconsent-btn-hover-bg: #bb2d3b;
1897
- --aesirxconsent-btn-hover-border-color: #b02a37;
1918
+ --aesirxconsent-btn-hover-bg: rgb(187, 45.05, 58.65);
1919
+ --aesirxconsent-btn-hover-border-color: rgb(176, 42.4, 55.2);
1898
1920
  --aesirxconsent-btn-focus-shadow-rgb: 225, 83, 97;
1899
1921
  --aesirxconsent-btn-active-color: #fff;
1900
- --aesirxconsent-btn-active-bg: #b02a37;
1901
- --aesirxconsent-btn-active-border-color: #a52834;
1922
+ --aesirxconsent-btn-active-bg: rgb(176, 42.4, 55.2);
1923
+ --aesirxconsent-btn-active-border-color: rgb(165, 39.75, 51.75);
1902
1924
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1903
1925
  --aesirxconsent-btn-disabled-color: #fff;
1904
1926
  --aesirxconsent-btn-disabled-bg: #dc3545;
@@ -1909,12 +1931,12 @@ var css = `:root {
1909
1931
  --aesirxconsent-btn-bg: #f8f9fa;
1910
1932
  --aesirxconsent-btn-border-color: #f8f9fa;
1911
1933
  --aesirxconsent-btn-hover-color: #000;
1912
- --aesirxconsent-btn-hover-bg: #d3d4d5;
1913
- --aesirxconsent-btn-hover-border-color: #c6c7c8;
1934
+ --aesirxconsent-btn-hover-bg: rgb(210.8, 211.65, 212.5);
1935
+ --aesirxconsent-btn-hover-border-color: rgb(198.4, 199.2, 200);
1914
1936
  --aesirxconsent-btn-focus-shadow-rgb: 211, 212, 213;
1915
1937
  --aesirxconsent-btn-active-color: #000;
1916
- --aesirxconsent-btn-active-bg: #c6c7c8;
1917
- --aesirxconsent-btn-active-border-color: #babbbc;
1938
+ --aesirxconsent-btn-active-bg: rgb(198.4, 199.2, 200);
1939
+ --aesirxconsent-btn-active-border-color: rgb(186, 186.75, 187.5);
1918
1940
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1919
1941
  --aesirxconsent-btn-disabled-color: #000;
1920
1942
  --aesirxconsent-btn-disabled-bg: #f8f9fa;
@@ -1925,12 +1947,12 @@ var css = `:root {
1925
1947
  --aesirxconsent-btn-bg: #222328;
1926
1948
  --aesirxconsent-btn-border-color: #222328;
1927
1949
  --aesirxconsent-btn-hover-color: #fff;
1928
- --aesirxconsent-btn-hover-bg: #434448;
1929
- --aesirxconsent-btn-hover-border-color: #38393e;
1950
+ --aesirxconsent-btn-hover-bg: rgb(67.15, 68, 72.25);
1951
+ --aesirxconsent-btn-hover-border-color: rgb(56.1, 57, 61.5);
1930
1952
  --aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
1931
1953
  --aesirxconsent-btn-active-color: #fff;
1932
- --aesirxconsent-btn-active-bg: #4e4f53;
1933
- --aesirxconsent-btn-active-border-color: #38393e;
1954
+ --aesirxconsent-btn-active-bg: rgb(78.2, 79, 83);
1955
+ --aesirxconsent-btn-active-border-color: rgb(56.1, 57, 61.5);
1934
1956
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
1935
1957
  --aesirxconsent-btn-disabled-color: #fff;
1936
1958
  --aesirxconsent-btn-disabled-bg: #222328;
@@ -3974,7 +3996,7 @@ var css = `:root {
3974
3996
  .aesirxconsent .form-control:focus {
3975
3997
  color: var(--aesirxconsent-body-color);
3976
3998
  background-color: var(--aesirxconsent-body-bg);
3977
- border-color: #8991a1;
3999
+ border-color: rgb(137, 145, 160.5);
3978
4000
  outline: 0;
3979
4001
  box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
3980
4002
  }
@@ -4113,7 +4135,7 @@ var css = `:root {
4113
4135
  }
4114
4136
  }
4115
4137
  .aesirxconsent .form-select:focus {
4116
- border-color: #8991a1;
4138
+ border-color: rgb(137, 145, 160.5);
4117
4139
  outline: 0;
4118
4140
  box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
4119
4141
  }
@@ -4191,7 +4213,7 @@ var css = `:root {
4191
4213
  filter: brightness(90%);
4192
4214
  }
4193
4215
  .aesirxconsent .form-check-input:focus {
4194
- border-color: #8991a1;
4216
+ border-color: rgb(137, 145, 160.5);
4195
4217
  outline: 0;
4196
4218
  box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
4197
4219
  }
@@ -4237,7 +4259,7 @@ var css = `:root {
4237
4259
  }
4238
4260
  }
4239
4261
  .aesirxconsent .form-switch .form-check-input:focus {
4240
- --aesirxconsent-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238991a1'/%3e%3c/svg%3e");
4262
+ --aesirxconsent-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28137, 145, 160.5%29'/%3e%3c/svg%3e");
4241
4263
  }
4242
4264
  .aesirxconsent .form-switch .form-check-input:checked {
4243
4265
  background-position: right center;
@@ -4303,7 +4325,7 @@ var css = `:root {
4303
4325
  }
4304
4326
  }
4305
4327
  .aesirxconsent .form-range::-webkit-slider-thumb:active {
4306
- background-color: #b8bdc6;
4328
+ background-color: rgb(184.2, 189, 198.3);
4307
4329
  }
4308
4330
  .aesirxconsent .form-range::-webkit-slider-runnable-track {
4309
4331
  width: 100%;
@@ -4329,7 +4351,7 @@ var css = `:root {
4329
4351
  }
4330
4352
  }
4331
4353
  .aesirxconsent .form-range::-moz-range-thumb:active {
4332
- background-color: #b8bdc6;
4354
+ background-color: rgb(184.2, 189, 198.3);
4333
4355
  }
4334
4356
  .aesirxconsent .form-range::-moz-range-track {
4335
4357
  width: 100%;
@@ -9722,8 +9744,8 @@ var css = `:root {
9722
9744
  --aesirxconsent-btn-hover-border-color: #222328;
9723
9745
  --aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
9724
9746
  --aesirxconsent-btn-active-color: #fff;
9725
- --aesirxconsent-btn-active-bg: #1b1c20;
9726
- --aesirxconsent-btn-active-border-color: #1a1a1e;
9747
+ --aesirxconsent-btn-active-bg: rgb(27.2, 28, 32);
9748
+ --aesirxconsent-btn-active-border-color: rgb(25.5, 26.25, 30);
9727
9749
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
9728
9750
  --aesirxconsent-btn-disabled-color: #fff;
9729
9751
  --aesirxconsent-btn-disabled-bg: #222328;
@@ -9739,7 +9761,7 @@ var css = `:root {
9739
9761
  --aesirxconsent-btn-focus-shadow-rgb: 27, 157, 132;
9740
9762
  --aesirxconsent-btn-active-color: #000;
9741
9763
  --aesirxconsent-btn-active-bg: white;
9742
- --aesirxconsent-btn-active-border-color: #31bb9f;
9764
+ --aesirxconsent-btn-active-border-color: rgb(48.9, 186.6, 158.7);
9743
9765
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
9744
9766
  --aesirxconsent-btn-disabled-color: #000;
9745
9767
  --aesirxconsent-btn-disabled-bg: #fff;
@@ -9754,8 +9776,8 @@ var css = `:root {
9754
9776
  --aesirxconsent-btn-hover-border-color: #a5a4b5;
9755
9777
  --aesirxconsent-btn-focus-shadow-rgb: 179, 178, 192;
9756
9778
  --aesirxconsent-btn-active-color: #000;
9757
- --aesirxconsent-btn-active-bg: #848391;
9758
- --aesirxconsent-btn-active-border-color: #7c7b88;
9779
+ --aesirxconsent-btn-active-bg: rgb(132, 131.2, 144.8);
9780
+ --aesirxconsent-btn-active-border-color: rgb(123.75, 123, 135.75);
9759
9781
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
9760
9782
  --aesirxconsent-btn-disabled-color: #000;
9761
9783
  --aesirxconsent-btn-disabled-bg: #a5a4b5;
@@ -10123,6 +10145,18 @@ var css = `:root {
10123
10145
  .aesirxconsent.opt-in-consent .btn {
10124
10146
  padding: 13px 60px 13px 60px;
10125
10147
  }
10148
+ .aesirxconsent .language-switcher *::-webkit-scrollbar-track {
10149
+ border-radius: 5px;
10150
+ background-color: #e9e9e9;
10151
+ }
10152
+ .aesirxconsent .language-switcher *::-webkit-scrollbar {
10153
+ width: 4px;
10154
+ background-color: #e9e9e9;
10155
+ }
10156
+ .aesirxconsent .language-switcher *::-webkit-scrollbar-thumb {
10157
+ border-radius: 5px;
10158
+ background-color: #1ab394;
10159
+ }
10126
10160
 
10127
10161
  body.modal-open .aesirxconsent .offcanvas-backdrop,
10128
10162
  body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
@@ -10179,6 +10213,27 @@ body .aesirxsso .btn {
10179
10213
  --aesirxconsent-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
10180
10214
  }
10181
10215
 
10216
+ .video-placeholder-normal,
10217
+ .video-placeholder-youtube {
10218
+ background-size: 100% 100%;
10219
+ background-position: center;
10220
+ background-repeat: no-repeat;
10221
+ background-color: rgba(178, 176, 176, 0.3490196078);
10222
+ position: relative;
10223
+ display: flex;
10224
+ align-items: center;
10225
+ justify-content: center;
10226
+ max-width: 100%;
10227
+ }
10228
+
10229
+ .video-placeholder-text-normal,
10230
+ .video-placeholder-text-youtube {
10231
+ text-align: center;
10232
+ padding: 10px 16px;
10233
+ border: 1px solid;
10234
+ border-radius: 2px;
10235
+ }
10236
+
10182
10237
  .aesirxsso .fade, .aesirxsso.fade,
10183
10238
  .aesirxconsent .fade,
10184
10239
  .aesirxconsent.fade {
@@ -10250,8 +10305,73 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
10250
10305
  // src/Assets/check_circle.svg
10251
10306
  var check_circle_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="7" cy="7" r="7" fill="%231AB394"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M7 1.4C3.90721 1.4 1.4 3.90721 1.4 7C1.4 10.0928 3.90721 12.6 7 12.6C10.0928 12.6 12.6 10.0928 12.6 7C12.6 3.90721 10.0928 1.4 7 1.4ZM0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7Z" fill="%231AB394"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M9.59499 5.10542C9.86835 5.37878 9.86835 5.822 9.59499 6.09537L6.79499 8.89537C6.52162 9.16873 6.0784 9.16873 5.80504 8.89537L4.40504 7.49537C4.13167 7.222 4.13167 6.77878 4.40504 6.50542C4.6784 6.23205 5.12162 6.23205 5.39499 6.50542L6.30001 7.41044L8.60504 5.10542C8.8784 4.83205 9.32162 4.83205 9.59499 5.10542Z" fill="white"/>%0A</svg>%0A';
10252
10307
 
10308
+ // src/Components/ConsentHeader.tsx
10309
+ import React from "react";
10310
+ import Select from "react-select";
10311
+ import i18n from "i18next";
10312
+ var ConsentHeader = ({ isRejectedLayout, languageSwitcher }) => {
10313
+ const { t } = useTranslation();
10314
+ const { listLanguages } = useI18nextContext();
10315
+ const currentLanguage = listLanguages.filter(
10316
+ (lang) => lang.value == i18n.language || i18n.language?.includes(lang.value)
10317
+ );
10318
+ const customStyles = {
10319
+ menuList: (base) => ({
10320
+ ...base,
10321
+ maxHeight: "160px"
10322
+ })
10323
+ };
10324
+ return /* @__PURE__ */ React.createElement(
10325
+ "div",
10326
+ {
10327
+ className: `rounded-top align-items-center justify-content-between p-2 p-lg-3 fw-medium flex-wrap py-2 py-lg-3 px-lg-4 header-consent-bg ${isRejectedLayout ? "d-none" : "d-flex"}`,
10328
+ style: {
10329
+ borderBottom: "1px solid #DEDEDE"
10330
+ }
10331
+ },
10332
+ /* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, window?.aesirx_analytics_translate?.txt_tracking_data_privacy ?? t("txt_tracking_data_privacy")),
10333
+ languageSwitcher ? /* @__PURE__ */ React.createElement("div", { className: "language-switcher ms-auto me-2 d-flex align-items-center fs-14" }, /* @__PURE__ */ React.createElement(
10334
+ Select,
10335
+ {
10336
+ styles: customStyles,
10337
+ components: {
10338
+ IndicatorSeparator: () => null
10339
+ },
10340
+ isClearable: false,
10341
+ isSearchable: false,
10342
+ placeholder: t("txt_select"),
10343
+ options: listLanguages,
10344
+ className: "shadow-none",
10345
+ onChange: (data) => {
10346
+ i18n.changeLanguage(data.value);
10347
+ },
10348
+ defaultValue: currentLanguage?.length ? currentLanguage : [{ label: "English", value: "en" }]
10349
+ }
10350
+ )) : /* @__PURE__ */ React.createElement(React.Fragment, null),
10351
+ /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, /* @__PURE__ */ React.createElement(
10352
+ "a",
10353
+ {
10354
+ href: "https://shield.aesirx.io/",
10355
+ rel: "noreferrer",
10356
+ target: "_blank",
10357
+ className: "minimize-shield-wrapper position-relative text-decoration-none"
10358
+ },
10359
+ /* @__PURE__ */ React.createElement(
10360
+ "img",
10361
+ {
10362
+ className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
10363
+ src: bg_default,
10364
+ alt: "Background Image"
10365
+ }
10366
+ ),
10367
+ /* @__PURE__ */ React.createElement("div", { className: "minimize-shield position-relative z-2 py-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "SoP Icon" }), window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy"))
10368
+ ))
10369
+ );
10370
+ };
10371
+ var ConsentHeader_default = ConsentHeader;
10372
+
10253
10373
  // src/Components/Terms.tsx
10254
- import React, { Fragment, useState as useState2 } from "react";
10374
+ import React2, { Fragment, useState as useState2 } from "react";
10255
10375
 
10256
10376
  // src/Assets/aesirx.svg
10257
10377
  var aesirx_default = 'data:image/svg+xml,<svg width="83" height="22" viewBox="0 0 83 22" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.16061 8.27141L3.3678 16.0569H9.11771L6.16061 8.27141ZM6.89989 6.42969L12.7319 21.7494H11.2534L9.44627 17.1451H2.95709L1.31426 21.7494H0L5.42134 6.42969H6.89989Z" fill="white"/>%0A<path d="M19.4648 21.7494V6.42969H27.5968V7.43426H20.8612V13.378H25.379V14.3826H20.8612V20.6612H28.0897V21.7494H19.4648Z" fill="white"/>%0A<path d="M34.9104 19.9909C35.4033 20.242 35.9783 20.4095 36.4711 20.5769C37.1283 20.7443 37.8675 20.9117 38.6068 20.9117C39.6747 20.9117 40.6604 20.7443 41.4818 20.1583C42.1389 19.656 42.4675 18.9026 42.4675 18.1492C42.4675 16.3912 41.0711 15.1354 38.3604 14.382C35.6497 13.6286 34.2533 12.1217 34.3355 9.77772C34.3355 8.68943 34.8283 7.76857 35.6497 7.09885C36.6354 6.34542 37.7854 5.92685 39.0175 6.01056C39.7568 6.01056 40.4139 6.09428 41.0711 6.26171C41.646 6.42914 42.221 6.59656 42.7139 6.84771L42.221 7.936C41.8103 7.76857 41.3996 7.60114 40.9068 7.43371C40.3318 7.26628 39.6747 7.18257 39.0175 7.18257C38.114 7.18257 37.2925 7.35 36.5533 7.85228C36.0604 8.18714 35.7319 9.02429 35.7319 9.77772C35.7319 11.5357 37.1283 12.8752 39.8389 13.6286C42.5496 14.382 43.946 15.8889 43.8639 18.1492C43.8639 19.2375 43.4532 20.242 42.4675 20.9117C41.3175 21.7489 40.1675 22 38.8532 22C38.114 22 37.1283 21.9163 36.389 21.7489C35.814 21.5815 35.1569 21.3303 34.664 20.9955L34.9104 19.9909Z" fill="white"/>%0A<path d="M53.0644 6.42969H51.668V21.7494H53.0644V6.42969Z" fill="white"/>%0A<path d="M71.0549 21.6657L67.5228 15.136C67.5228 15.136 66.7835 15.2197 65.7978 15.2197H63.58V21.582H62.1836V6.42969H66.0442C67.3585 6.42969 68.7549 6.68083 69.9049 7.43426C70.9727 8.18769 71.5477 9.44341 71.4656 10.7828C71.4656 11.7037 71.2192 12.5408 70.7263 13.2943C70.2335 13.964 69.5763 14.55 68.7549 14.8011L72.6156 21.6657H71.0549ZM66.0442 7.60169H63.4979V14.0477H65.7978C67.1121 14.0477 68.0156 13.7966 68.7549 13.378C69.6585 12.8757 70.0692 12.0386 70.0692 10.7828C70.0692 9.52712 69.8228 8.60627 69.0013 8.18769C68.0156 7.76912 67.2764 7.60169 66.0442 7.60169Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M77.3984 15.5025V0H78.7885V15.5025H77.3984Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M81.9532 12.5256L73.6562 3.74439L74.6575 2.76172L82.9545 11.5429L81.9532 12.5256Z" fill="white"/>%0A</svg>%0A';
@@ -10327,7 +10447,8 @@ var TermsComponent = ({
10327
10447
  isCustom = false,
10328
10448
  layout,
10329
10449
  isRejectedLayout,
10330
- customConsentText
10450
+ customConsentText,
10451
+ languageSwitcher
10331
10452
  }) => {
10332
10453
  const { t } = useTranslation();
10333
10454
  const handleReadmore = (status) => {
@@ -10335,36 +10456,14 @@ var TermsComponent = ({
10335
10456
  };
10336
10457
  const [showReadmore, setShowReadmore] = useState2(false);
10337
10458
  const [activeTab, setActiveTab] = useState2("consent");
10338
- return /* @__PURE__ */ React.createElement(React.Fragment, null, terms.map(
10339
- (term, key) => term.level === level && /* @__PURE__ */ React.createElement(Fragment, { key }, /* @__PURE__ */ React.createElement(
10340
- "div",
10459
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, terms.map(
10460
+ (term, key) => term.level === level && /* @__PURE__ */ React2.createElement(Fragment, { key }, /* @__PURE__ */ React2.createElement(
10461
+ ConsentHeader_default,
10341
10462
  {
10342
- className: `rounded-top align-items-center justify-content-between p-2 p-lg-3 fw-medium flex-wrap ${isCustom ? "py-2 py-lg-3 px-lg-4 header-consent-bg" : "p-2 p-lg-3 border-bottom bg-white"} ${isRejectedLayout ? "d-none" : "d-flex"}`,
10343
- style: {
10344
- ...isCustom && {
10345
- borderBottom: "1px solid #DEDEDE"
10346
- }
10347
- }
10348
- },
10349
- /* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, isCustom ? t("txt_tracking_data_privacy") : t(term.name)),
10350
- /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, isCustom ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10351
- "a",
10352
- {
10353
- href: "https://shield.aesirx.io/",
10354
- rel: "noreferrer",
10355
- target: "_blank",
10356
- className: "minimize-shield-wrapper position-relative text-decoration-none"
10357
- },
10358
- /* @__PURE__ */ React.createElement(
10359
- "img",
10360
- {
10361
- className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
10362
- src: bg_default
10363
- }
10364
- ),
10365
- /* @__PURE__ */ React.createElement("div", { className: "minimize-shield position-relative z-2 py-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }), t("txt_shield_of_privacy"))
10366
- )) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: `status-tier tier-${term.level} rounded-circle` }), /* @__PURE__ */ React.createElement("div", { className: "status-tier-text" }, t(term.tier), " - ", t(term.levelname))))
10367
- ), /* @__PURE__ */ React.createElement("div", { className: `pb-1 pb-lg-3 ${isCustom ? "pt-0" : "p-3"} bg-white` }, isCustom ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10463
+ isRejectedLayout,
10464
+ languageSwitcher
10465
+ }
10466
+ ), /* @__PURE__ */ React2.createElement("div", { className: `pb-1 pb-lg-3 ${isCustom ? "pt-0" : "p-3"} bg-white` }, isCustom ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
10368
10467
  Tabs,
10369
10468
  {
10370
10469
  id: "consent_info_tab",
@@ -10372,14 +10471,29 @@ var TermsComponent = ({
10372
10471
  onSelect: (k) => setActiveTab(k),
10373
10472
  className: `mb-2 mb-lg-4 w-100 flex-nowrap align-items-center consent_info_tab ${isRejectedLayout ? "d-none" : ""}`
10374
10473
  },
10375
- /* @__PURE__ */ React.createElement(
10474
+ /* @__PURE__ */ React2.createElement(
10376
10475
  Tab,
10377
10476
  {
10378
10477
  eventKey: "consent",
10379
- title: t("txt_consent_nanagement"),
10478
+ title: window?.aesirx_analytics_translate?.txt_consent_nanagement ?? t("txt_consent_nanagement"),
10380
10479
  className: "w-auto px-2 px-lg-4"
10381
10480
  },
10382
- isRejectedLayout ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mt-0 pt-4 mb-2" }, t("txt_you_have_chosen")), /* @__PURE__ */ React.createElement("p", { className: "mt-2 mb-3" }, t("txt_only_anonymized")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10481
+ isRejectedLayout ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("p", { className: "mt-0 pt-4 mb-2" }, window?.aesirx_analytics_translate?.txt_you_have_chosen ?? t("txt_you_have_chosen")), /* @__PURE__ */ React2.createElement("p", { className: "mt-2 mb-3" }, window?.aesirx_analytics_translate?.txt_only_anonymized ?? t("txt_only_anonymized")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10482
+ "img",
10483
+ {
10484
+ src: check_circle_default,
10485
+ width: "14px",
10486
+ height: "15px",
10487
+ alt: "Check Icon"
10488
+ }
10489
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_allow_data ? /* @__PURE__ */ React2.createElement(
10490
+ "div",
10491
+ {
10492
+ dangerouslySetInnerHTML: {
10493
+ __html: window?.aesirx_analytics_translate?.txt_consent_allow_data
10494
+ }
10495
+ }
10496
+ ) : /* @__PURE__ */ React2.createElement(
10383
10497
  "div",
10384
10498
  {
10385
10499
  dangerouslySetInnerHTML: {
@@ -10388,7 +10502,22 @@ var TermsComponent = ({
10388
10502
  })
10389
10503
  }
10390
10504
  }
10391
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10505
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10506
+ "img",
10507
+ {
10508
+ src: check_circle_default,
10509
+ width: "14px",
10510
+ height: "15px",
10511
+ alt: "Check Icon"
10512
+ }
10513
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data ? /* @__PURE__ */ React2.createElement(
10514
+ "div",
10515
+ {
10516
+ dangerouslySetInnerHTML: {
10517
+ __html: window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data
10518
+ }
10519
+ }
10520
+ ) : /* @__PURE__ */ React2.createElement(
10392
10521
  "div",
10393
10522
  {
10394
10523
  dangerouslySetInnerHTML: {
@@ -10397,14 +10526,61 @@ var TermsComponent = ({
10397
10526
  })
10398
10527
  }
10399
10528
  }
10400
- )))) : /* @__PURE__ */ React.createElement(React.Fragment, null, customConsentText ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
10529
+ )))) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, customConsentText ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
10401
10530
  "div",
10402
10531
  {
10403
10532
  dangerouslySetInnerHTML: {
10404
10533
  __html: customConsentText
10405
10534
  }
10406
10535
  }
10407
- )) : /* @__PURE__ */ React.createElement(React.Fragment, null, " ", /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_manage_your_consent")), /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? t("txt_choose_how_we_use_simple") : t("txt_choose_how_we_use")), /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, t("txt_by_consenting")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_analytics_behavioral")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_form_data"))))), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, t("txt_please_note")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_we_do_not_share")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_you_can_opt_in")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10536
+ )) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, " ", /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_manage_your_consent ?? t("txt_manage_your_consent")), /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? window?.aesirx_analytics_translate?.txt_choose_how_we_use_simple ?? t("txt_choose_how_we_use_simple") : window?.aesirx_analytics_translate?.txt_choose_how_we_use ?? t("txt_choose_how_we_use")), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, window?.aesirx_analytics_translate?.txt_by_consenting ?? t("txt_by_consenting")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10537
+ "img",
10538
+ {
10539
+ src: check_circle_default,
10540
+ width: "14px",
10541
+ height: "15px",
10542
+ alt: "Check Icon"
10543
+ }
10544
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_analytics_behavioral ?? t("txt_analytics_behavioral")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10545
+ "img",
10546
+ {
10547
+ src: check_circle_default,
10548
+ width: "14px",
10549
+ height: "15px",
10550
+ alt: "Check Icon"
10551
+ }
10552
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_form_data ?? t("txt_form_data"))))), /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, window?.aesirx_analytics_translate?.txt_please_note ?? t("txt_please_note")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10553
+ "img",
10554
+ {
10555
+ src: check_circle_default,
10556
+ width: "14px",
10557
+ height: "15px",
10558
+ alt: "Check Icon"
10559
+ }
10560
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_we_do_not_share ?? t("txt_we_do_not_share")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10561
+ "img",
10562
+ {
10563
+ src: check_circle_default,
10564
+ width: "14px",
10565
+ height: "15px",
10566
+ alt: "Check Icon"
10567
+ }
10568
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement("div", null, window?.aesirx_analytics_translate?.txt_you_can_opt_in ?? t("txt_you_can_opt_in")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10569
+ "img",
10570
+ {
10571
+ src: check_circle_default,
10572
+ width: "14px",
10573
+ height: "15px",
10574
+ alt: "Check Icon"
10575
+ }
10576
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_more_details ? /* @__PURE__ */ React2.createElement(
10577
+ "div",
10578
+ {
10579
+ dangerouslySetInnerHTML: {
10580
+ __html: window?.aesirx_analytics_translate?.txt_for_more_details
10581
+ }
10582
+ }
10583
+ ) : /* @__PURE__ */ React2.createElement(
10408
10584
  "div",
10409
10585
  {
10410
10586
  dangerouslySetInnerHTML: {
@@ -10415,126 +10591,322 @@ var TermsComponent = ({
10415
10591
  }
10416
10592
  ))))))
10417
10593
  ),
10418
- /* @__PURE__ */ React.createElement(Tab, { eventKey: "detail", title: t("txt_details"), className: "px-2 px-lg-4" }, /* @__PURE__ */ React.createElement("div", { className: `about_section` }, /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_manage_your_consent")), /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? t("txt_choose_how_we_use_simple") : t("txt_choose_how_we_use")), /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_benefit")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10419
- "div",
10594
+ /* @__PURE__ */ React2.createElement(
10595
+ Tab,
10420
10596
  {
10421
- dangerouslySetInnerHTML: {
10422
- __html: t("txt_control_your_data", {
10423
- interpolation: { escapeValue: false }
10424
- })
10597
+ eventKey: "detail",
10598
+ title: window?.aesirx_analytics_translate?.txt_details ?? t("txt_details"),
10599
+ className: "px-2 px-lg-4"
10600
+ },
10601
+ /* @__PURE__ */ React2.createElement("div", { className: `about_section` }, /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_manage_your_consent ?? t("txt_manage_your_consent")), /* @__PURE__ */ React2.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? window?.aesirx_analytics_translate?.txt_choose_how_we_use_simple ?? t("txt_choose_how_we_use_simple") : window?.aesirx_analytics_translate?.txt_choose_how_we_use ?? t("txt_choose_how_we_use")), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_benefit ?? t("txt_benefit")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10602
+ "img",
10603
+ {
10604
+ src: check_circle_default,
10605
+ width: "14px",
10606
+ height: "15px",
10607
+ alt: "Check Icon"
10425
10608
  }
10426
- }
10427
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10428
- "div",
10429
- {
10430
- dangerouslySetInnerHTML: {
10431
- __html: t("txt_earn_rewards", {
10432
- interpolation: { escapeValue: false }
10433
- })
10609
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_control_your_data ? /* @__PURE__ */ React2.createElement(
10610
+ "div",
10611
+ {
10612
+ dangerouslySetInnerHTML: {
10613
+ __html: window?.aesirx_analytics_translate?.txt_control_your_data
10614
+ }
10434
10615
  }
10435
- }
10436
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10437
- "div",
10438
- {
10439
- dangerouslySetInnerHTML: {
10440
- __html: t("txt_transparent_data", {
10441
- interpolation: { escapeValue: false }
10442
- })
10616
+ ) : /* @__PURE__ */ React2.createElement(
10617
+ "div",
10618
+ {
10619
+ dangerouslySetInnerHTML: {
10620
+ __html: t("txt_control_your_data", {
10621
+ interpolation: { escapeValue: false }
10622
+ })
10623
+ }
10443
10624
  }
10444
- }
10445
- )))), /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_understanding_your_privacy")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10446
- "div",
10447
- {
10448
- dangerouslySetInnerHTML: {
10449
- __html: t("txt_reject_no_data", {
10450
- interpolation: { escapeValue: false }
10451
- })
10625
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10626
+ "img",
10627
+ {
10628
+ src: check_circle_default,
10629
+ width: "14px",
10630
+ height: "15px",
10631
+ alt: "Check Icon"
10452
10632
  }
10453
- }
10454
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10455
- "div",
10456
- {
10457
- dangerouslySetInnerHTML: {
10458
- __html: t("txt_consent_first_third_party", {
10459
- interpolation: { escapeValue: false }
10460
- })
10633
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_earn_rewards ? /* @__PURE__ */ React2.createElement(
10634
+ "div",
10635
+ {
10636
+ dangerouslySetInnerHTML: {
10637
+ __html: window?.aesirx_analytics_translate?.txt_earn_rewards
10638
+ }
10461
10639
  }
10462
- }
10463
- ))), layout === "simple-consent-mode" ? /* @__PURE__ */ React.createElement(React.Fragment, null) : /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10464
- "div",
10465
- {
10466
- dangerouslySetInnerHTML: {
10467
- __html: t("txt_decentralizered_consent_choose", {
10468
- interpolation: { escapeValue: false }
10469
- })
10640
+ ) : /* @__PURE__ */ React2.createElement(
10641
+ "div",
10642
+ {
10643
+ dangerouslySetInnerHTML: {
10644
+ __html: t("txt_earn_rewards", {
10645
+ interpolation: { escapeValue: false }
10646
+ })
10647
+ }
10470
10648
  }
10471
- }
10472
- )))))),
10473
- /* @__PURE__ */ React.createElement(Tab, { eventKey: "about", title: t("txt_about"), className: "px-2 px-lg-4" }, /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_our_commitment_in_action")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10474
- "div",
10475
- {
10476
- dangerouslySetInnerHTML: {
10477
- __html: t("txt_private_protection", {
10478
- interpolation: { escapeValue: false }
10479
- })
10649
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10650
+ "img",
10651
+ {
10652
+ src: check_circle_default,
10653
+ width: "14px",
10654
+ height: "15px",
10655
+ alt: "Check Icon"
10480
10656
  }
10481
- }
10482
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10483
- "div",
10484
- {
10485
- dangerouslySetInnerHTML: {
10486
- __html: t("txt_enables_compliance", {
10487
- interpolation: { escapeValue: false }
10488
- })
10657
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_transparent_data ? /* @__PURE__ */ React2.createElement(
10658
+ "div",
10659
+ {
10660
+ dangerouslySetInnerHTML: {
10661
+ __html: window?.aesirx_analytics_translate?.txt_transparent_data
10662
+ }
10489
10663
  }
10490
- }
10491
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10492
- "div",
10493
- {
10494
- dangerouslySetInnerHTML: {
10495
- __html: t("txt_proactive_protection", {
10496
- interpolation: { escapeValue: false }
10497
- })
10664
+ ) : /* @__PURE__ */ React2.createElement(
10665
+ "div",
10666
+ {
10667
+ dangerouslySetInnerHTML: {
10668
+ __html: t("txt_transparent_data", {
10669
+ interpolation: { escapeValue: false }
10670
+ })
10671
+ }
10498
10672
  }
10499
- }
10500
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10501
- "div",
10502
- {
10503
- dangerouslySetInnerHTML: {
10504
- __html: t("txt_flexible_consent", {
10505
- interpolation: { escapeValue: false }
10506
- })
10673
+ )))), /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_understanding_your_privacy ?? t("txt_understanding_your_privacy")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10674
+ "img",
10675
+ {
10676
+ src: check_circle_default,
10677
+ width: "14px",
10678
+ height: "15px",
10679
+ alt: "Check Icon"
10507
10680
  }
10508
- }
10509
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10510
- "div",
10511
- {
10512
- dangerouslySetInnerHTML: {
10513
- __html: t("txt_learn_more", {
10514
- interpolation: { escapeValue: false }
10515
- })
10681
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_reject_no_data ? /* @__PURE__ */ React2.createElement(
10682
+ "div",
10683
+ {
10684
+ dangerouslySetInnerHTML: {
10685
+ __html: window?.aesirx_analytics_translate?.txt_reject_no_data
10686
+ }
10516
10687
  }
10517
- }
10518
- ))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
10519
- "div",
10520
- {
10521
- dangerouslySetInnerHTML: {
10522
- __html: t("txt_for_business", {
10523
- interpolation: { escapeValue: false }
10524
- })
10688
+ ) : /* @__PURE__ */ React2.createElement(
10689
+ "div",
10690
+ {
10691
+ dangerouslySetInnerHTML: {
10692
+ __html: t("txt_reject_no_data", {
10693
+ interpolation: { escapeValue: false }
10694
+ })
10695
+ }
10525
10696
  }
10526
- }
10527
- ))), /* @__PURE__ */ React.createElement("div", { className: "ms-4" }, /* @__PURE__ */ React.createElement(
10528
- "div",
10697
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10698
+ "img",
10699
+ {
10700
+ src: check_circle_default,
10701
+ width: "14px",
10702
+ height: "15px",
10703
+ alt: "Check Icon"
10704
+ }
10705
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_first_third_party ? /* @__PURE__ */ React2.createElement(
10706
+ "div",
10707
+ {
10708
+ dangerouslySetInnerHTML: {
10709
+ __html: window?.aesirx_analytics_translate?.txt_consent_first_third_party
10710
+ }
10711
+ }
10712
+ ) : /* @__PURE__ */ React2.createElement(
10713
+ "div",
10714
+ {
10715
+ dangerouslySetInnerHTML: {
10716
+ __html: t("txt_consent_first_third_party", {
10717
+ interpolation: { escapeValue: false }
10718
+ })
10719
+ }
10720
+ }
10721
+ ))), layout === "simple-consent-mode" ? /* @__PURE__ */ React2.createElement(React2.Fragment, null) : /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10722
+ "img",
10723
+ {
10724
+ src: check_circle_default,
10725
+ width: "14px",
10726
+ height: "15px",
10727
+ alt: "Check Icon"
10728
+ }
10729
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose ? /* @__PURE__ */ React2.createElement(
10730
+ "div",
10731
+ {
10732
+ dangerouslySetInnerHTML: {
10733
+ __html: window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose
10734
+ }
10735
+ }
10736
+ ) : /* @__PURE__ */ React2.createElement(
10737
+ "div",
10738
+ {
10739
+ dangerouslySetInnerHTML: {
10740
+ __html: t("txt_decentralizered_consent_choose", {
10741
+ interpolation: { escapeValue: false }
10742
+ })
10743
+ }
10744
+ }
10745
+ )))))
10746
+ ),
10747
+ /* @__PURE__ */ React2.createElement(
10748
+ Tab,
10529
10749
  {
10530
- dangerouslySetInnerHTML: {
10531
- __html: t("txt_more_info_at", {
10532
- interpolation: { escapeValue: false }
10533
- })
10750
+ eventKey: "about",
10751
+ title: window?.aesirx_analytics_translate?.txt_about ?? t("txt_about"),
10752
+ className: "px-2 px-lg-4"
10753
+ },
10754
+ /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React2.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, window?.aesirx_analytics_translate?.txt_our_commitment_in_action ?? t("txt_our_commitment_in_action")), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10755
+ "img",
10756
+ {
10757
+ src: check_circle_default,
10758
+ width: "14px",
10759
+ height: "15px",
10760
+ alt: "Check Icon"
10534
10761
  }
10535
- }
10536
- ))))
10537
- )) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { className: "text-dark fw-medium" }, t(term.content)), " ", /* @__PURE__ */ React.createElement("span", { className: "" }, t(term.term)), /* @__PURE__ */ React.createElement("div", { className: "read-more d-flex justify-content-between align-items-center flex-wrap" }, term.upgrade && /* @__PURE__ */ React.createElement(
10762
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_private_protection ? /* @__PURE__ */ React2.createElement(
10763
+ "div",
10764
+ {
10765
+ dangerouslySetInnerHTML: {
10766
+ __html: window?.aesirx_analytics_translate?.txt_private_protection
10767
+ }
10768
+ }
10769
+ ) : /* @__PURE__ */ React2.createElement(
10770
+ "div",
10771
+ {
10772
+ dangerouslySetInnerHTML: {
10773
+ __html: t("txt_private_protection", {
10774
+ interpolation: { escapeValue: false }
10775
+ })
10776
+ }
10777
+ }
10778
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10779
+ "img",
10780
+ {
10781
+ src: check_circle_default,
10782
+ width: "14px",
10783
+ height: "15px",
10784
+ alt: "Check Icon"
10785
+ }
10786
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_enables_compliance ? /* @__PURE__ */ React2.createElement(
10787
+ "div",
10788
+ {
10789
+ dangerouslySetInnerHTML: {
10790
+ __html: window?.aesirx_analytics_translate?.txt_enables_compliance
10791
+ }
10792
+ }
10793
+ ) : /* @__PURE__ */ React2.createElement(
10794
+ "div",
10795
+ {
10796
+ dangerouslySetInnerHTML: {
10797
+ __html: t("txt_enables_compliance", {
10798
+ interpolation: { escapeValue: false }
10799
+ })
10800
+ }
10801
+ }
10802
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10803
+ "img",
10804
+ {
10805
+ src: check_circle_default,
10806
+ width: "14px",
10807
+ height: "15px",
10808
+ alt: "Check Icon"
10809
+ }
10810
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_proactive_protection ? /* @__PURE__ */ React2.createElement(
10811
+ "div",
10812
+ {
10813
+ dangerouslySetInnerHTML: {
10814
+ __html: window?.aesirx_analytics_translate?.txt_proactive_protection
10815
+ }
10816
+ }
10817
+ ) : /* @__PURE__ */ React2.createElement(
10818
+ "div",
10819
+ {
10820
+ dangerouslySetInnerHTML: {
10821
+ __html: t("txt_proactive_protection", {
10822
+ interpolation: { escapeValue: false }
10823
+ })
10824
+ }
10825
+ }
10826
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10827
+ "img",
10828
+ {
10829
+ src: check_circle_default,
10830
+ width: "14px",
10831
+ height: "15px",
10832
+ alt: "Check Icon"
10833
+ }
10834
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement(
10835
+ "div",
10836
+ {
10837
+ dangerouslySetInnerHTML: {
10838
+ __html: t("txt_flexible_consent", {
10839
+ interpolation: { escapeValue: false }
10840
+ })
10841
+ }
10842
+ }
10843
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10844
+ "img",
10845
+ {
10846
+ src: check_circle_default,
10847
+ width: "14px",
10848
+ height: "15px",
10849
+ alt: "Check Icon"
10850
+ }
10851
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_learn_more ? /* @__PURE__ */ React2.createElement(
10852
+ "div",
10853
+ {
10854
+ dangerouslySetInnerHTML: {
10855
+ __html: window?.aesirx_analytics_translate?.txt_learn_more
10856
+ }
10857
+ }
10858
+ ) : /* @__PURE__ */ React2.createElement(
10859
+ "div",
10860
+ {
10861
+ dangerouslySetInnerHTML: {
10862
+ __html: t("txt_learn_more", {
10863
+ interpolation: { escapeValue: false }
10864
+ })
10865
+ }
10866
+ }
10867
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
10868
+ "img",
10869
+ {
10870
+ src: check_circle_default,
10871
+ width: "14px",
10872
+ height: "15px",
10873
+ alt: "Check Icon"
10874
+ }
10875
+ )), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_business ? /* @__PURE__ */ React2.createElement(
10876
+ "div",
10877
+ {
10878
+ dangerouslySetInnerHTML: {
10879
+ __html: window?.aesirx_analytics_translate?.txt_for_business
10880
+ }
10881
+ }
10882
+ ) : /* @__PURE__ */ React2.createElement(
10883
+ "div",
10884
+ {
10885
+ dangerouslySetInnerHTML: {
10886
+ __html: t("txt_for_business", {
10887
+ interpolation: { escapeValue: false }
10888
+ })
10889
+ }
10890
+ }
10891
+ ))), /* @__PURE__ */ React2.createElement("div", { className: "ms-4" }, window?.aesirx_analytics_translate?.txt_more_info_at ? /* @__PURE__ */ React2.createElement(
10892
+ "div",
10893
+ {
10894
+ dangerouslySetInnerHTML: {
10895
+ __html: window?.aesirx_analytics_translate?.txt_more_info_at
10896
+ }
10897
+ }
10898
+ ) : /* @__PURE__ */ React2.createElement(
10899
+ "div",
10900
+ {
10901
+ dangerouslySetInnerHTML: {
10902
+ __html: t("txt_more_info_at", {
10903
+ interpolation: { escapeValue: false }
10904
+ })
10905
+ }
10906
+ }
10907
+ )))
10908
+ )
10909
+ )) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("span", { className: "text-dark fw-medium" }, t(term.content)), " ", /* @__PURE__ */ React2.createElement("span", { className: "" }, t(term.term)), /* @__PURE__ */ React2.createElement("div", { className: "read-more d-flex justify-content-between align-items-center flex-wrap" }, term.upgrade && /* @__PURE__ */ React2.createElement(
10538
10910
  "a",
10539
10911
  {
10540
10912
  className: "fs-14 text-success fw-bold mb-1",
@@ -10542,7 +10914,7 @@ var TermsComponent = ({
10542
10914
  onClick: () => handleLevel(terms[key + 1].level)
10543
10915
  },
10544
10916
  t(term.upgrade)
10545
- ), /* @__PURE__ */ React.createElement(
10917
+ ), /* @__PURE__ */ React2.createElement(
10546
10918
  "div",
10547
10919
  {
10548
10920
  className: "ms-auto read-more-btn mb-1",
@@ -10552,30 +10924,45 @@ var TermsComponent = ({
10552
10924
  },
10553
10925
  !showReadmore ? t("txt_show_details") : t("txt_hide_details"),
10554
10926
  " ",
10555
- /* @__PURE__ */ React.createElement("img", { src: arrow_default, className: `ms-1 ${showReadmore ? "revert" : ""}` })
10556
- )))), isCustom ? /* @__PURE__ */ React.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white bg-white" }, /* @__PURE__ */ React.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, children))) : /* @__PURE__ */ React.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React.createElement("img", { className: "position-absolute h-100 w-100 object-fit-cover", src: bg_default }), /* @__PURE__ */ React.createElement(
10927
+ /* @__PURE__ */ React2.createElement(
10928
+ "img",
10929
+ {
10930
+ src: arrow_default,
10931
+ className: `ms-1 ${showReadmore ? "revert" : ""}`,
10932
+ alt: "Arrow Icon"
10933
+ }
10934
+ )
10935
+ )))), isCustom ? /* @__PURE__ */ React2.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white bg-white" }, /* @__PURE__ */ React2.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, children))) : /* @__PURE__ */ React2.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React2.createElement(
10936
+ "img",
10937
+ {
10938
+ className: "position-absolute h-100 w-100 object-fit-cover",
10939
+ src: bg_default,
10940
+ alt: "Background Image"
10941
+ }
10942
+ ), /* @__PURE__ */ React2.createElement(
10557
10943
  "img",
10558
10944
  {
10559
10945
  className: "position-absolute h-100 w-100 object-fit-cover lightning flash-effect",
10560
- src: bg_default
10946
+ src: bg_default,
10947
+ alt: "Background Image"
10561
10948
  }
10562
- ), /* @__PURE__ */ React.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, showReadmore && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, term.upgrade && t(term.upgrade), t(term.upgradetext), /* @__PURE__ */ React.createElement("div", { className: "fs-14 fst-italic" }, "* ", t("txt_no_collect")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "me-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: t(term.name) }), " ", t("txt_shield_of_privacy")), children))))
10949
+ ), /* @__PURE__ */ React2.createElement("div", { className: "position-relative pt-2 pt-lg-3 p-3" }, showReadmore && /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("div", { className: "mb-1 mb-lg-3" }, term.upgrade && t(term.upgrade), t(term.upgradetext), /* @__PURE__ */ React2.createElement("div", { className: "fs-14 fst-italic" }, "* ", t("txt_no_collect")))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React2.createElement("div", { className: "me-2" }, /* @__PURE__ */ React2.createElement("img", { src: privacy_default, alt: "SoP Icon" }), " ", window?.aesirx_analytics_translate?.txt_shield_of_privacy ?? t("txt_shield_of_privacy")), children))))
10563
10950
  ));
10564
10951
  };
10565
10952
 
10566
10953
  // src/Components/LoadingStatus.tsx
10567
- import React2 from "react";
10954
+ import React3 from "react";
10568
10955
  import { Button } from "react-bootstrap";
10569
10956
  var LoadingStatus = ({ loading }) => {
10570
10957
  const { t } = useTranslation();
10571
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, loading === "connect" ? /* @__PURE__ */ React2.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React2.createElement(
10958
+ return /* @__PURE__ */ React3.createElement(React3.Fragment, null, loading === "connect" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
10572
10959
  Button,
10573
10960
  {
10574
10961
  variant: "dark",
10575
10962
  disabled: true,
10576
10963
  className: "d-flex align-items-center justify-content-center text-white w-100"
10577
10964
  },
10578
- /* @__PURE__ */ React2.createElement(
10965
+ /* @__PURE__ */ React3.createElement(
10579
10966
  "span",
10580
10967
  {
10581
10968
  className: "spinner-border spinner-border-sm me-1",
@@ -10583,15 +10970,15 @@ var LoadingStatus = ({ loading }) => {
10583
10970
  "aria-hidden": "true"
10584
10971
  }
10585
10972
  ),
10586
- /* @__PURE__ */ React2.createElement("span", { className: "text" }, t("txt_please_connect"))
10587
- )) : loading === "sign" ? /* @__PURE__ */ React2.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React2.createElement(
10973
+ /* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_please_connect ?? t("txt_please_connect"))
10974
+ )) : loading === "sign" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
10588
10975
  Button,
10589
10976
  {
10590
10977
  variant: "dark",
10591
10978
  disabled: true,
10592
10979
  className: "d-flex align-items-center justify-content-center text-white w-100"
10593
10980
  },
10594
- /* @__PURE__ */ React2.createElement(
10981
+ /* @__PURE__ */ React3.createElement(
10595
10982
  "span",
10596
10983
  {
10597
10984
  className: "spinner-border spinner-border-sm me-1",
@@ -10599,15 +10986,15 @@ var LoadingStatus = ({ loading }) => {
10599
10986
  "aria-hidden": "true"
10600
10987
  }
10601
10988
  ),
10602
- /* @__PURE__ */ React2.createElement("span", { className: "text" }, t("txt_please_sign"))
10603
- )) : loading === "saving" ? /* @__PURE__ */ React2.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React2.createElement(
10989
+ /* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_please_sign ?? t("txt_please_sign"))
10990
+ )) : loading === "saving" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
10604
10991
  Button,
10605
10992
  {
10606
10993
  variant: "dark",
10607
10994
  disabled: true,
10608
10995
  className: "d-flex align-items-center justify-content-center text-white w-100"
10609
10996
  },
10610
- /* @__PURE__ */ React2.createElement(
10997
+ /* @__PURE__ */ React3.createElement(
10611
10998
  "span",
10612
10999
  {
10613
11000
  className: "spinner-border spinner-border-sm me-1",
@@ -10615,12 +11002,12 @@ var LoadingStatus = ({ loading }) => {
10615
11002
  "aria-hidden": "true"
10616
11003
  }
10617
11004
  ),
10618
- /* @__PURE__ */ React2.createElement("span", { className: "text" }, t("txt_saving"))
10619
- )) : /* @__PURE__ */ React2.createElement(React2.Fragment, null));
11005
+ /* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_saving ?? t("txt_saving"))
11006
+ )) : /* @__PURE__ */ React3.createElement(React3.Fragment, null));
10620
11007
  };
10621
11008
 
10622
11009
  // src/Components/Connect.tsx
10623
- import React4, { Suspense, useState as useState4 } from "react";
11010
+ import React5, { Suspense, useState as useState4 } from "react";
10624
11011
  import { Modal } from "react-bootstrap";
10625
11012
  import { isMobile, isDesktop as isDesktop2, OsTypes, osName } from "react-device-detect";
10626
11013
 
@@ -10629,7 +11016,7 @@ var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABY
10629
11016
 
10630
11017
  // src/Components/Ethereum/connect.tsx
10631
11018
  import { useWeb3Modal } from "@web3modal/react";
10632
- import React3, { useState as useState3 } from "react";
11019
+ import React4, { useState as useState3 } from "react";
10633
11020
 
10634
11021
  // src/Assets/ethereum_logo.png
10635
11022
  var ethereum_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAhCAYAAAA2/OAtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAI/SURBVHgBxVY9SEJRFD6vokgIAqea3uTUIDS5Ra4GtbiqY1POLRkEDSHmFE3RFi4NOrXkFARGDkLkotEQ/QiBYBSFfUfPq+fzvvd8JvTBx33v3nM+z73n3PMkGhDtdjtKowQE42AJDNIoACEdrIloBvS5+YyROzZAXZ5ZMOLm4CjKUWJIWqbDmA/QsKLAuc38Cg0jysmh321bEcB6mLyIyra3yBkRu6TZRZoi+ygNsGB0IFH8+iqGGA2GkCppqkgz5A1xR1H8Kp+jTt7gh19P7WomQR1DTeH0IPMn4Au4CM5YbFrgjqZpDX6ZMC2kFGIlGRnvYFWogwvgvKxx0uJg+kdUajImjnfgrUlMhbpwRiLnZHHtBhBtVcPDLCYuwSZYEWEVroQqGOKTYJYjnQPz1H9OXsABFcFPcHoM4d7gYRe8oL/hCaxwsjTJOuGljmc/dW+JqhnbbZ+jrMP/Q/x9nZLCyz4PYFbEQ9TtRH4H0U5SYd+UHhCR4HKGKCfrWoxTWDiWeTbkbuQzifK5PYOPsPuSbsV2b9St1Za5+IMm4TqYgEFRtsROU+AZeC9iAdmNcfc3jeLvAQyT7V4cGWeOcVxGvpbr4KGJ6mtqEuZuv2SZToF7chTLchwGyojwwE1Up+5nRLcsqbLP201bt93X+jj7GBI0GHKqc1R2fk4Qhiw5Iw+7smrB9sMHB/40l22WG1gv2Pm6faLXwFfLHPfOtJOTo6ic77ZluqCsR69ARZzKf6k4jQp8jaXI/fRf+AaHjRu6xDEXQwAAAABJRU5ErkJggg==";
@@ -10643,21 +11030,21 @@ var ConnectMetamask = () => {
10643
11030
  await open();
10644
11031
  setLoading(false);
10645
11032
  }
10646
- return /* @__PURE__ */ React3.createElement(
11033
+ return /* @__PURE__ */ React4.createElement(
10647
11034
  "button",
10648
11035
  {
10649
11036
  onClick: onOpen,
10650
11037
  disabled: loading,
10651
11038
  className: "btn btn-ethereum fw-medium px-4 fs-18 lh-sm w-100 btn-secondary text-white d-flex align-items-center justify-content-start"
10652
11039
  },
10653
- loading ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
11040
+ loading ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
10654
11041
  "span",
10655
11042
  {
10656
11043
  className: "spinner-border spinner-border-sm me-1",
10657
11044
  role: "status",
10658
11045
  "aria-hidden": "true"
10659
11046
  }
10660
- ), "Waiting for signing...") : /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("img", { className: "me-3", src: ethereum_logo_default, alt: "Ethereum Logo" }), "Ethereum wallets")
11047
+ ), "Waiting for signing...") : /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("img", { className: "me-3", src: ethereum_logo_default, alt: "Ethereum Logo" }), "Ethereum wallets")
10661
11048
  );
10662
11049
  };
10663
11050
  var connect_default = ConnectMetamask;
@@ -10674,7 +11061,7 @@ var ConnectModal = ({
10674
11061
  const [show, setShow] = useState4(true);
10675
11062
  const handleClose = () => setShow(false);
10676
11063
  const { t } = useTranslation();
10677
- return /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
11064
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
10678
11065
  Modal,
10679
11066
  {
10680
11067
  className: "aesirxconsent aesirxconsent-modal",
@@ -10682,21 +11069,21 @@ var ConnectModal = ({
10682
11069
  onHide: handleClose,
10683
11070
  centered: true
10684
11071
  },
10685
- /* @__PURE__ */ React4.createElement(Modal.Body, { className: "aesirxconsent" }, /* @__PURE__ */ React4.createElement("div", { className: "p-4 block-wallet rounded-top" }, /* @__PURE__ */ React4.createElement("div", { className: "px-3 text-center" }, /* @__PURE__ */ React4.createElement("h3", { className: "fs-3 fw-semibold mt-2 mb-4 text-primary" }, t("txt_please_connect_your_wallet")), /* @__PURE__ */ React4.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React4.createElement(Suspense, { fallback: /* @__PURE__ */ React4.createElement(React4.Fragment, null, "Loading...") }, /* @__PURE__ */ React4.createElement(SSOEthereumApp, { handleOnConnect }))), /* @__PURE__ */ React4.createElement("div", { className: "d-flex flex-row flex-wrap" }, isDesktop2 && /* @__PURE__ */ React4.createElement(
11072
+ /* @__PURE__ */ React5.createElement(Modal.Body, { className: "aesirxconsent" }, /* @__PURE__ */ React5.createElement("div", { className: "p-4 block-wallet rounded-top" }, /* @__PURE__ */ React5.createElement("div", { className: "px-3 text-center" }, /* @__PURE__ */ React5.createElement("h3", { className: "fs-3 fw-semibold mt-2 mb-4 text-primary" }, window?.aesirx_analytics_translate?.txt_please_connect_your_wallet ?? t("txt_please_connect_your_wallet")), /* @__PURE__ */ React5.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React5.createElement(Suspense, { fallback: /* @__PURE__ */ React5.createElement(React5.Fragment, null, "Loading...") }, /* @__PURE__ */ React5.createElement(SSOEthereumApp, { handleOnConnect }))), /* @__PURE__ */ React5.createElement("div", { className: "d-flex flex-row flex-wrap" }, isDesktop2 && /* @__PURE__ */ React5.createElement(
10686
11073
  "button",
10687
11074
  {
10688
11075
  disabled: isConnecting,
10689
11076
  className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start mb-3",
10690
11077
  onClick: () => handleOnConnect(BROWSER_WALLET)
10691
11078
  },
10692
- isConnecting ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
11079
+ isConnecting ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
10693
11080
  "span",
10694
11081
  {
10695
11082
  className: "spinner-border spinner-border-sm me-1",
10696
11083
  role: "status",
10697
11084
  "aria-hidden": "true"
10698
11085
  }
10699
- ), t("txt_connecting")) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
11086
+ ), window?.aesirx_analytics_translate?.txt_connecting ?? t("txt_connecting")) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
10700
11087
  "img",
10701
11088
  {
10702
11089
  src: concordium_logo_default,
@@ -10704,20 +11091,20 @@ var ConnectModal = ({
10704
11091
  alt: "Concordium"
10705
11092
  }
10706
11093
  ), "Concordium Browser Wallet")
10707
- ), osName !== OsTypes?.IOS ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
11094
+ ), osName !== OsTypes?.IOS ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
10708
11095
  "button",
10709
11096
  {
10710
11097
  className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start text-start",
10711
11098
  onClick: () => handleOnConnect(WALLET_CONNECT)
10712
11099
  },
10713
- !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React4.createElement(
11100
+ !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React5.createElement(
10714
11101
  "span",
10715
11102
  {
10716
11103
  className: "spinner-border spinner-border-sm me-1",
10717
11104
  role: "status",
10718
11105
  "aria-hidden": "true"
10719
11106
  }
10720
- ) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
11107
+ ) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
10721
11108
  "img",
10722
11109
  {
10723
11110
  src: concordium_logo_default,
@@ -10725,7 +11112,7 @@ var ConnectModal = ({
10725
11112
  alt: "Concordium"
10726
11113
  }
10727
11114
  ), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
10728
- )) : /* @__PURE__ */ React4.createElement(React4.Fragment, null)), " ")))
11115
+ )) : /* @__PURE__ */ React5.createElement(React5.Fragment, null)), " ")))
10729
11116
  ));
10730
11117
  };
10731
11118
  var SSOEthereumApp = ({ handleOnConnect }) => {
@@ -10734,12 +11121,12 @@ var SSOEthereumApp = ({ handleOnConnect }) => {
10734
11121
  handleOnConnect("", "metamask");
10735
11122
  }
10736
11123
  });
10737
- return isConnected ? /* @__PURE__ */ React4.createElement(React4.Fragment, null) : /* @__PURE__ */ React4.createElement(connect_default, null);
11124
+ return isConnected ? /* @__PURE__ */ React5.createElement(React5.Fragment, null) : /* @__PURE__ */ React5.createElement(connect_default, null);
10738
11125
  };
10739
11126
  var Connect_default = ConnectModal;
10740
11127
 
10741
11128
  // src/Components/Ethereum/index.tsx
10742
- import React5 from "react";
11129
+ import React6 from "react";
10743
11130
  import { configureChains, createConfig, WagmiConfig } from "wagmi";
10744
11131
  import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
10745
11132
  import {
@@ -10861,7 +11248,7 @@ var SSOEthereumProvider = ({ children, layout, level }) => {
10861
11248
  webSocketPublicClient
10862
11249
  });
10863
11250
  const ethereumClient = new EthereumClient(wagmiConfig, chains);
10864
- return /* @__PURE__ */ React5.createElement(React5.Fragment, null, (layout === "simple-consent-mode" || level === 1) && (!revoke || revoke === "0" || revoke === "1") ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, children) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React5.createElement(Web3Modal, { projectId, ethereumClient })));
11251
+ return /* @__PURE__ */ React6.createElement(React6.Fragment, null, (layout === "simple-consent-mode" || level === 1) && (!revoke || revoke === "0" || revoke === "1") ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, children) : /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React6.createElement(Web3Modal, { projectId, ethereumClient })));
10865
11252
  };
10866
11253
  var Ethereum_default = SSOEthereumProvider;
10867
11254
 
@@ -10947,6 +11334,7 @@ export {
10947
11334
  WALLET_CONNECT,
10948
11335
  useConsentStatus_default,
10949
11336
  check_circle_default,
11337
+ ConsentHeader_default,
10950
11338
  TermsComponent,
10951
11339
  LoadingStatus,
10952
11340
  Connect_default,