aesirx-analytics 2.2.21 → 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.
- package/dist/{Consent-OHFGKDZJ.js → Consent-VKKGBHOL.js} +4 -4
- package/dist/{ConsentCustom-UTTNESFI.js → ConsentCustom-ADJKXZV7.js} +23 -51
- package/dist/analytics.js +558 -723
- package/dist/{chunk-AS3MN6ER.js → chunk-IAQD6GXT.js} +303 -224
- package/dist/{chunk-NTEWP6UQ.js → chunk-NKOHXSTE.js} +238 -31
- package/dist/index.js +10 -12
- package/package.json +15 -9
- package/dist/chunk-YOHHSMUP.js +0 -182
@@ -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-
|
9
|
+
} from "./chunk-NKOHXSTE.js";
|
8
10
|
|
9
11
|
// src/Hooks/config.ts
|
10
12
|
import {
|
@@ -162,6 +164,7 @@ var useConsentStatus = (endpoint, layout, props) => {
|
|
162
164
|
setShowRevoke(status);
|
163
165
|
if (level2 && level2 !== "0") {
|
164
166
|
window.funcAfterConsent && window.funcAfterConsent();
|
167
|
+
window.configBlockJS && unBlockScripts();
|
165
168
|
}
|
166
169
|
};
|
167
170
|
return [
|
@@ -831,28 +834,28 @@ var css = `:root {
|
|
831
834
|
--aesirxconsent-danger-rgb: 220, 53, 69;
|
832
835
|
--aesirxconsent-light-rgb: 248, 249, 250;
|
833
836
|
--aesirxconsent-dark-rgb: 34, 35, 40;
|
834
|
-
--aesirxconsent-primary-text-emphasis:
|
835
|
-
--aesirxconsent-secondary-text-emphasis:
|
836
|
-
--aesirxconsent-success-text-emphasis:
|
837
|
-
--aesirxconsent-info-text-emphasis:
|
838
|
-
--aesirxconsent-warning-text-emphasis:
|
839
|
-
--aesirxconsent-danger-text-emphasis:
|
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);
|
840
843
|
--aesirxconsent-light-text-emphasis: #495057;
|
841
844
|
--aesirxconsent-dark-text-emphasis: #495057;
|
842
|
-
--aesirxconsent-primary-bg-subtle:
|
843
|
-
--aesirxconsent-secondary-bg-subtle:
|
844
|
-
--aesirxconsent-success-bg-subtle:
|
845
|
-
--aesirxconsent-info-bg-subtle:
|
846
|
-
--aesirxconsent-warning-bg-subtle:
|
847
|
-
--aesirxconsent-danger-bg-subtle:
|
848
|
-
--aesirxconsent-light-bg-subtle:
|
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);
|
849
852
|
--aesirxconsent-dark-bg-subtle: #ced4da;
|
850
|
-
--aesirxconsent-primary-border-subtle:
|
851
|
-
--aesirxconsent-secondary-border-subtle:
|
852
|
-
--aesirxconsent-success-border-subtle:
|
853
|
-
--aesirxconsent-info-border-subtle:
|
854
|
-
--aesirxconsent-warning-border-subtle:
|
855
|
-
--aesirxconsent-danger-border-subtle:
|
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);
|
856
859
|
--aesirxconsent-light-border-subtle: #e9ecef;
|
857
860
|
--aesirxconsent-dark-border-subtle: #adb5bd;
|
858
861
|
--aesirxconsent-white-rgb: 255, 255, 255;
|
@@ -882,11 +885,11 @@ var css = `:root {
|
|
882
885
|
--aesirxconsent-link-color: #132342;
|
883
886
|
--aesirxconsent-link-color-rgb: 19, 35, 66;
|
884
887
|
--aesirxconsent-link-decoration: underline;
|
885
|
-
--aesirxconsent-link-hover-color:
|
888
|
+
--aesirxconsent-link-hover-color: rgb(15.2, 28, 52.8);
|
886
889
|
--aesirxconsent-link-hover-color-rgb: 15, 28, 53;
|
887
890
|
--aesirxconsent-code-color: #d63384;
|
888
891
|
--aesirxconsent-highlight-color: #212529;
|
889
|
-
--aesirxconsent-highlight-bg:
|
892
|
+
--aesirxconsent-highlight-bg: rgb(255, 242.6, 205.4);
|
890
893
|
--aesirxconsent-border-width: 1px;
|
891
894
|
--aesirxconsent-border-style: solid;
|
892
895
|
--aesirxconsent-border-color: #dee2e6;
|
@@ -915,8 +918,8 @@ var css = `:root {
|
|
915
918
|
color-scheme: dark;
|
916
919
|
--aesirxconsent-body-color: #dee2e6;
|
917
920
|
--aesirxconsent-body-color-rgb: 222, 226, 230;
|
918
|
-
--aesirxconsent-body-bg: #
|
919
|
-
--aesirxconsent-body-bg-rgb:
|
921
|
+
--aesirxconsent-body-bg: #212529;
|
922
|
+
--aesirxconsent-body-bg-rgb: 33, 37, 41;
|
920
923
|
--aesirxconsent-emphasis-color: #fff;
|
921
924
|
--aesirxconsent-emphasis-color-rgb: 255, 255, 255;
|
922
925
|
--aesirxconsent-secondary-color: rgba(222, 226, 230, 0.75);
|
@@ -925,46 +928,46 @@ var css = `:root {
|
|
925
928
|
--aesirxconsent-secondary-bg-rgb: 52, 58, 64;
|
926
929
|
--aesirxconsent-tertiary-color: rgba(222, 226, 230, 0.5);
|
927
930
|
--aesirxconsent-tertiary-color-rgb: 222, 226, 230;
|
928
|
-
--aesirxconsent-tertiary-bg:
|
931
|
+
--aesirxconsent-tertiary-bg: rgb(42.5, 47.5, 52.5);
|
929
932
|
--aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
|
930
|
-
--aesirxconsent-primary-text-emphasis:
|
931
|
-
--aesirxconsent-secondary-text-emphasis:
|
932
|
-
--aesirxconsent-success-text-emphasis:
|
933
|
-
--aesirxconsent-info-text-emphasis:
|
934
|
-
--aesirxconsent-warning-text-emphasis:
|
935
|
-
--aesirxconsent-danger-text-emphasis:
|
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);
|
936
939
|
--aesirxconsent-light-text-emphasis: #f8f9fa;
|
937
940
|
--aesirxconsent-dark-text-emphasis: #dee2e6;
|
938
|
-
--aesirxconsent-primary-bg-subtle:
|
939
|
-
--aesirxconsent-secondary-bg-subtle:
|
940
|
-
--aesirxconsent-success-bg-subtle:
|
941
|
-
--aesirxconsent-info-bg-subtle:
|
942
|
-
--aesirxconsent-warning-bg-subtle:
|
943
|
-
--aesirxconsent-danger-bg-subtle:
|
944
|
-
--aesirxconsent-light-bg-subtle: #
|
945
|
-
--aesirxconsent-dark-bg-subtle: #
|
946
|
-
--aesirxconsent-primary-border-subtle:
|
947
|
-
--aesirxconsent-secondary-border-subtle:
|
948
|
-
--aesirxconsent-success-border-subtle:
|
949
|
-
--aesirxconsent-info-border-subtle:
|
950
|
-
--aesirxconsent-warning-border-subtle:
|
951
|
-
--aesirxconsent-danger-border-subtle:
|
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);
|
952
955
|
--aesirxconsent-light-border-subtle: #495057;
|
953
|
-
--aesirxconsent-dark-border-subtle: #
|
956
|
+
--aesirxconsent-dark-border-subtle: #343a40;
|
954
957
|
--aesirxconsent-heading-color: inherit;
|
955
|
-
--aesirxconsent-link-color:
|
956
|
-
--aesirxconsent-link-hover-color:
|
957
|
-
--aesirxconsent-link-color-rgb:
|
958
|
-
--aesirxconsent-link-hover-color-rgb:
|
959
|
-
--aesirxconsent-code-color:
|
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);
|
960
963
|
--aesirxconsent-highlight-color: #dee2e6;
|
961
|
-
--aesirxconsent-highlight-bg:
|
962
|
-
--aesirxconsent-border-color: #
|
964
|
+
--aesirxconsent-highlight-bg: rgb(102, 77.2, 2.8);
|
965
|
+
--aesirxconsent-border-color: #495057;
|
963
966
|
--aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
|
964
|
-
--aesirxconsent-form-valid-color:
|
965
|
-
--aesirxconsent-form-valid-border-color:
|
966
|
-
--aesirxconsent-form-invalid-color:
|
967
|
-
--aesirxconsent-form-invalid-border-color:
|
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);
|
968
971
|
}
|
969
972
|
|
970
973
|
.aesirxconsent {
|
@@ -1085,7 +1088,6 @@ var css = `:root {
|
|
1085
1088
|
display: flex;
|
1086
1089
|
flex-shrink: 0;
|
1087
1090
|
align-items: center;
|
1088
|
-
justify-content: space-between;
|
1089
1091
|
padding: var(--aesirxconsent-modal-header-padding);
|
1090
1092
|
border-bottom: var(--aesirxconsent-modal-header-border-width) solid var(--aesirxconsent-modal-header-border-color);
|
1091
1093
|
border-top-left-radius: var(--aesirxconsent-modal-inner-border-radius);
|
@@ -1735,14 +1737,11 @@ var css = `:root {
|
|
1735
1737
|
.aesirxconsent .offcanvas-header {
|
1736
1738
|
display: flex;
|
1737
1739
|
align-items: center;
|
1738
|
-
justify-content: space-between;
|
1739
1740
|
padding: var(--aesirxconsent-offcanvas-padding-y) var(--aesirxconsent-offcanvas-padding-x);
|
1740
1741
|
}
|
1741
1742
|
.aesirxconsent .offcanvas-header .btn-close {
|
1742
1743
|
padding: calc(var(--aesirxconsent-offcanvas-padding-y) * 0.5) calc(var(--aesirxconsent-offcanvas-padding-x) * 0.5);
|
1743
|
-
margin
|
1744
|
-
margin-right: calc(-0.5 * var(--aesirxconsent-offcanvas-padding-x));
|
1745
|
-
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;
|
1746
1745
|
}
|
1747
1746
|
.aesirxconsent .offcanvas-title {
|
1748
1747
|
margin-bottom: 0;
|
@@ -1821,6 +1820,9 @@ var css = `:root {
|
|
1821
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 {
|
1822
1821
|
box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
|
1823
1822
|
}
|
1823
|
+
.btn-check:checked:focus-visible + .aesirxconsent .btn {
|
1824
|
+
box-shadow: var(--aesirxconsent-btn-focus-box-shadow);
|
1825
|
+
}
|
1824
1826
|
.aesirxconsent .btn:disabled, .aesirxconsent .btn.disabled, fieldset:disabled .aesirxconsent .btn {
|
1825
1827
|
color: var(--aesirxconsent-btn-disabled-color);
|
1826
1828
|
pointer-events: none;
|
@@ -1833,12 +1835,12 @@ var css = `:root {
|
|
1833
1835
|
--aesirxconsent-btn-bg: #132342;
|
1834
1836
|
--aesirxconsent-btn-border-color: #132342;
|
1835
1837
|
--aesirxconsent-btn-hover-color: #fff;
|
1836
|
-
--aesirxconsent-btn-hover-bg:
|
1837
|
-
--aesirxconsent-btn-hover-border-color:
|
1838
|
+
--aesirxconsent-btn-hover-bg: rgb(16.15, 29.75, 56.1);
|
1839
|
+
--aesirxconsent-btn-hover-border-color: rgb(15.2, 28, 52.8);
|
1838
1840
|
--aesirxconsent-btn-focus-shadow-rgb: 54, 68, 94;
|
1839
1841
|
--aesirxconsent-btn-active-color: #fff;
|
1840
|
-
--aesirxconsent-btn-active-bg:
|
1841
|
-
--aesirxconsent-btn-active-border-color:
|
1842
|
+
--aesirxconsent-btn-active-bg: rgb(15.2, 28, 52.8);
|
1843
|
+
--aesirxconsent-btn-active-border-color: rgb(14.25, 26.25, 49.5);
|
1842
1844
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1843
1845
|
--aesirxconsent-btn-disabled-color: #fff;
|
1844
1846
|
--aesirxconsent-btn-disabled-bg: #132342;
|
@@ -1849,12 +1851,12 @@ var css = `:root {
|
|
1849
1851
|
--aesirxconsent-btn-bg: #627eea;
|
1850
1852
|
--aesirxconsent-btn-border-color: #627eea;
|
1851
1853
|
--aesirxconsent-btn-hover-color: #000;
|
1852
|
-
--aesirxconsent-btn-hover-bg:
|
1853
|
-
--aesirxconsent-btn-hover-border-color:
|
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);
|
1854
1856
|
--aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
|
1855
1857
|
--aesirxconsent-btn-active-color: #000;
|
1856
|
-
--aesirxconsent-btn-active-bg:
|
1857
|
-
--aesirxconsent-btn-active-border-color:
|
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);
|
1858
1860
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1859
1861
|
--aesirxconsent-btn-disabled-color: #000;
|
1860
1862
|
--aesirxconsent-btn-disabled-bg: #627eea;
|
@@ -1865,12 +1867,12 @@ var css = `:root {
|
|
1865
1867
|
--aesirxconsent-btn-bg: #1ab394;
|
1866
1868
|
--aesirxconsent-btn-border-color: #1ab394;
|
1867
1869
|
--aesirxconsent-btn-hover-color: #000;
|
1868
|
-
--aesirxconsent-btn-hover-bg:
|
1869
|
-
--aesirxconsent-btn-hover-border-color:
|
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);
|
1870
1872
|
--aesirxconsent-btn-focus-shadow-rgb: 22, 152, 126;
|
1871
1873
|
--aesirxconsent-btn-active-color: #000;
|
1872
|
-
--aesirxconsent-btn-active-bg:
|
1873
|
-
--aesirxconsent-btn-active-border-color:
|
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);
|
1874
1876
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1875
1877
|
--aesirxconsent-btn-disabled-color: #000;
|
1876
1878
|
--aesirxconsent-btn-disabled-bg: #1ab394;
|
@@ -1881,12 +1883,12 @@ var css = `:root {
|
|
1881
1883
|
--aesirxconsent-btn-bg: #0dcaf0;
|
1882
1884
|
--aesirxconsent-btn-border-color: #0dcaf0;
|
1883
1885
|
--aesirxconsent-btn-hover-color: #000;
|
1884
|
-
--aesirxconsent-btn-hover-bg:
|
1885
|
-
--aesirxconsent-btn-hover-border-color:
|
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);
|
1886
1888
|
--aesirxconsent-btn-focus-shadow-rgb: 11, 172, 204;
|
1887
1889
|
--aesirxconsent-btn-active-color: #000;
|
1888
|
-
--aesirxconsent-btn-active-bg:
|
1889
|
-
--aesirxconsent-btn-active-border-color:
|
1890
|
+
--aesirxconsent-btn-active-bg: rgb(61.4, 212.6, 243);
|
1891
|
+
--aesirxconsent-btn-active-border-color: rgb(37.2, 207.3, 241.5);
|
1890
1892
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1891
1893
|
--aesirxconsent-btn-disabled-color: #000;
|
1892
1894
|
--aesirxconsent-btn-disabled-bg: #0dcaf0;
|
@@ -1897,12 +1899,12 @@ var css = `:root {
|
|
1897
1899
|
--aesirxconsent-btn-bg: #ffc107;
|
1898
1900
|
--aesirxconsent-btn-border-color: #ffc107;
|
1899
1901
|
--aesirxconsent-btn-hover-color: #000;
|
1900
|
-
--aesirxconsent-btn-hover-bg:
|
1901
|
-
--aesirxconsent-btn-hover-border-color:
|
1902
|
+
--aesirxconsent-btn-hover-bg: rgb(255, 202.3, 44.2);
|
1903
|
+
--aesirxconsent-btn-hover-border-color: rgb(255, 199.2, 31.8);
|
1902
1904
|
--aesirxconsent-btn-focus-shadow-rgb: 217, 164, 6;
|
1903
1905
|
--aesirxconsent-btn-active-color: #000;
|
1904
|
-
--aesirxconsent-btn-active-bg:
|
1905
|
-
--aesirxconsent-btn-active-border-color:
|
1906
|
+
--aesirxconsent-btn-active-bg: rgb(255, 205.4, 56.6);
|
1907
|
+
--aesirxconsent-btn-active-border-color: rgb(255, 199.2, 31.8);
|
1906
1908
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1907
1909
|
--aesirxconsent-btn-disabled-color: #000;
|
1908
1910
|
--aesirxconsent-btn-disabled-bg: #ffc107;
|
@@ -1913,12 +1915,12 @@ var css = `:root {
|
|
1913
1915
|
--aesirxconsent-btn-bg: #dc3545;
|
1914
1916
|
--aesirxconsent-btn-border-color: #dc3545;
|
1915
1917
|
--aesirxconsent-btn-hover-color: #fff;
|
1916
|
-
--aesirxconsent-btn-hover-bg:
|
1917
|
-
--aesirxconsent-btn-hover-border-color:
|
1918
|
+
--aesirxconsent-btn-hover-bg: rgb(187, 45.05, 58.65);
|
1919
|
+
--aesirxconsent-btn-hover-border-color: rgb(176, 42.4, 55.2);
|
1918
1920
|
--aesirxconsent-btn-focus-shadow-rgb: 225, 83, 97;
|
1919
1921
|
--aesirxconsent-btn-active-color: #fff;
|
1920
|
-
--aesirxconsent-btn-active-bg:
|
1921
|
-
--aesirxconsent-btn-active-border-color:
|
1922
|
+
--aesirxconsent-btn-active-bg: rgb(176, 42.4, 55.2);
|
1923
|
+
--aesirxconsent-btn-active-border-color: rgb(165, 39.75, 51.75);
|
1922
1924
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1923
1925
|
--aesirxconsent-btn-disabled-color: #fff;
|
1924
1926
|
--aesirxconsent-btn-disabled-bg: #dc3545;
|
@@ -1929,12 +1931,12 @@ var css = `:root {
|
|
1929
1931
|
--aesirxconsent-btn-bg: #f8f9fa;
|
1930
1932
|
--aesirxconsent-btn-border-color: #f8f9fa;
|
1931
1933
|
--aesirxconsent-btn-hover-color: #000;
|
1932
|
-
--aesirxconsent-btn-hover-bg:
|
1933
|
-
--aesirxconsent-btn-hover-border-color:
|
1934
|
+
--aesirxconsent-btn-hover-bg: rgb(210.8, 211.65, 212.5);
|
1935
|
+
--aesirxconsent-btn-hover-border-color: rgb(198.4, 199.2, 200);
|
1934
1936
|
--aesirxconsent-btn-focus-shadow-rgb: 211, 212, 213;
|
1935
1937
|
--aesirxconsent-btn-active-color: #000;
|
1936
|
-
--aesirxconsent-btn-active-bg:
|
1937
|
-
--aesirxconsent-btn-active-border-color:
|
1938
|
+
--aesirxconsent-btn-active-bg: rgb(198.4, 199.2, 200);
|
1939
|
+
--aesirxconsent-btn-active-border-color: rgb(186, 186.75, 187.5);
|
1938
1940
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1939
1941
|
--aesirxconsent-btn-disabled-color: #000;
|
1940
1942
|
--aesirxconsent-btn-disabled-bg: #f8f9fa;
|
@@ -1945,12 +1947,12 @@ var css = `:root {
|
|
1945
1947
|
--aesirxconsent-btn-bg: #222328;
|
1946
1948
|
--aesirxconsent-btn-border-color: #222328;
|
1947
1949
|
--aesirxconsent-btn-hover-color: #fff;
|
1948
|
-
--aesirxconsent-btn-hover-bg:
|
1949
|
-
--aesirxconsent-btn-hover-border-color:
|
1950
|
+
--aesirxconsent-btn-hover-bg: rgb(67.15, 68, 72.25);
|
1951
|
+
--aesirxconsent-btn-hover-border-color: rgb(56.1, 57, 61.5);
|
1950
1952
|
--aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
|
1951
1953
|
--aesirxconsent-btn-active-color: #fff;
|
1952
|
-
--aesirxconsent-btn-active-bg:
|
1953
|
-
--aesirxconsent-btn-active-border-color:
|
1954
|
+
--aesirxconsent-btn-active-bg: rgb(78.2, 79, 83);
|
1955
|
+
--aesirxconsent-btn-active-border-color: rgb(56.1, 57, 61.5);
|
1954
1956
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1955
1957
|
--aesirxconsent-btn-disabled-color: #fff;
|
1956
1958
|
--aesirxconsent-btn-disabled-bg: #222328;
|
@@ -3994,7 +3996,7 @@ var css = `:root {
|
|
3994
3996
|
.aesirxconsent .form-control:focus {
|
3995
3997
|
color: var(--aesirxconsent-body-color);
|
3996
3998
|
background-color: var(--aesirxconsent-body-bg);
|
3997
|
-
border-color:
|
3999
|
+
border-color: rgb(137, 145, 160.5);
|
3998
4000
|
outline: 0;
|
3999
4001
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4000
4002
|
}
|
@@ -4133,7 +4135,7 @@ var css = `:root {
|
|
4133
4135
|
}
|
4134
4136
|
}
|
4135
4137
|
.aesirxconsent .form-select:focus {
|
4136
|
-
border-color:
|
4138
|
+
border-color: rgb(137, 145, 160.5);
|
4137
4139
|
outline: 0;
|
4138
4140
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4139
4141
|
}
|
@@ -4211,7 +4213,7 @@ var css = `:root {
|
|
4211
4213
|
filter: brightness(90%);
|
4212
4214
|
}
|
4213
4215
|
.aesirxconsent .form-check-input:focus {
|
4214
|
-
border-color:
|
4216
|
+
border-color: rgb(137, 145, 160.5);
|
4215
4217
|
outline: 0;
|
4216
4218
|
box-shadow: 0 0 0 0.25rem rgba(19, 35, 66, 0.25);
|
4217
4219
|
}
|
@@ -4257,7 +4259,7 @@ var css = `:root {
|
|
4257
4259
|
}
|
4258
4260
|
}
|
4259
4261
|
.aesirxconsent .form-switch .form-check-input:focus {
|
4260
|
-
--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='%
|
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");
|
4261
4263
|
}
|
4262
4264
|
.aesirxconsent .form-switch .form-check-input:checked {
|
4263
4265
|
background-position: right center;
|
@@ -4323,7 +4325,7 @@ var css = `:root {
|
|
4323
4325
|
}
|
4324
4326
|
}
|
4325
4327
|
.aesirxconsent .form-range::-webkit-slider-thumb:active {
|
4326
|
-
background-color:
|
4328
|
+
background-color: rgb(184.2, 189, 198.3);
|
4327
4329
|
}
|
4328
4330
|
.aesirxconsent .form-range::-webkit-slider-runnable-track {
|
4329
4331
|
width: 100%;
|
@@ -4349,7 +4351,7 @@ var css = `:root {
|
|
4349
4351
|
}
|
4350
4352
|
}
|
4351
4353
|
.aesirxconsent .form-range::-moz-range-thumb:active {
|
4352
|
-
background-color:
|
4354
|
+
background-color: rgb(184.2, 189, 198.3);
|
4353
4355
|
}
|
4354
4356
|
.aesirxconsent .form-range::-moz-range-track {
|
4355
4357
|
width: 100%;
|
@@ -9742,8 +9744,8 @@ var css = `:root {
|
|
9742
9744
|
--aesirxconsent-btn-hover-border-color: #222328;
|
9743
9745
|
--aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
|
9744
9746
|
--aesirxconsent-btn-active-color: #fff;
|
9745
|
-
--aesirxconsent-btn-active-bg:
|
9746
|
-
--aesirxconsent-btn-active-border-color:
|
9747
|
+
--aesirxconsent-btn-active-bg: rgb(27.2, 28, 32);
|
9748
|
+
--aesirxconsent-btn-active-border-color: rgb(25.5, 26.25, 30);
|
9747
9749
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9748
9750
|
--aesirxconsent-btn-disabled-color: #fff;
|
9749
9751
|
--aesirxconsent-btn-disabled-bg: #222328;
|
@@ -9759,7 +9761,7 @@ var css = `:root {
|
|
9759
9761
|
--aesirxconsent-btn-focus-shadow-rgb: 27, 157, 132;
|
9760
9762
|
--aesirxconsent-btn-active-color: #000;
|
9761
9763
|
--aesirxconsent-btn-active-bg: white;
|
9762
|
-
--aesirxconsent-btn-active-border-color:
|
9764
|
+
--aesirxconsent-btn-active-border-color: rgb(48.9, 186.6, 158.7);
|
9763
9765
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9764
9766
|
--aesirxconsent-btn-disabled-color: #000;
|
9765
9767
|
--aesirxconsent-btn-disabled-bg: #fff;
|
@@ -9774,8 +9776,8 @@ var css = `:root {
|
|
9774
9776
|
--aesirxconsent-btn-hover-border-color: #a5a4b5;
|
9775
9777
|
--aesirxconsent-btn-focus-shadow-rgb: 179, 178, 192;
|
9776
9778
|
--aesirxconsent-btn-active-color: #000;
|
9777
|
-
--aesirxconsent-btn-active-bg:
|
9778
|
-
--aesirxconsent-btn-active-border-color:
|
9779
|
+
--aesirxconsent-btn-active-bg: rgb(132, 131.2, 144.8);
|
9780
|
+
--aesirxconsent-btn-active-border-color: rgb(123.75, 123, 135.75);
|
9779
9781
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
9780
9782
|
--aesirxconsent-btn-disabled-color: #000;
|
9781
9783
|
--aesirxconsent-btn-disabled-bg: #a5a4b5;
|
@@ -10143,6 +10145,18 @@ var css = `:root {
|
|
10143
10145
|
.aesirxconsent.opt-in-consent .btn {
|
10144
10146
|
padding: 13px 60px 13px 60px;
|
10145
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
|
+
}
|
10146
10160
|
|
10147
10161
|
body.modal-open .aesirxconsent .offcanvas-backdrop,
|
10148
10162
|
body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
|
@@ -10199,6 +10213,27 @@ body .aesirxsso .btn {
|
|
10199
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");
|
10200
10214
|
}
|
10201
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
|
+
|
10202
10237
|
.aesirxsso .fade, .aesirxsso.fade,
|
10203
10238
|
.aesirxconsent .fade,
|
10204
10239
|
.aesirxconsent.fade {
|
@@ -10270,8 +10305,73 @@ document.head.appendChild(document.createElement("style")).appendChild(document.
|
|
10270
10305
|
// src/Assets/check_circle.svg
|
10271
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';
|
10272
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
|
+
|
10273
10373
|
// src/Components/Terms.tsx
|
10274
|
-
import
|
10374
|
+
import React2, { Fragment, useState as useState2 } from "react";
|
10275
10375
|
|
10276
10376
|
// src/Assets/aesirx.svg
|
10277
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';
|
@@ -10347,7 +10447,8 @@ var TermsComponent = ({
|
|
10347
10447
|
isCustom = false,
|
10348
10448
|
layout,
|
10349
10449
|
isRejectedLayout,
|
10350
|
-
customConsentText
|
10450
|
+
customConsentText,
|
10451
|
+
languageSwitcher
|
10351
10452
|
}) => {
|
10352
10453
|
const { t } = useTranslation();
|
10353
10454
|
const handleReadmore = (status) => {
|
@@ -10355,37 +10456,14 @@ var TermsComponent = ({
|
|
10355
10456
|
};
|
10356
10457
|
const [showReadmore, setShowReadmore] = useState2(false);
|
10357
10458
|
const [activeTab, setActiveTab] = useState2("consent");
|
10358
|
-
return /* @__PURE__ */
|
10359
|
-
(term, key) => term.level === level && /* @__PURE__ */
|
10360
|
-
|
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,
|
10361
10462
|
{
|
10362
|
-
|
10363
|
-
|
10364
|
-
|
10365
|
-
|
10366
|
-
}
|
10367
|
-
}
|
10368
|
-
},
|
10369
|
-
/* @__PURE__ */ React.createElement("div", { className: "text-primary text-nowrap" }, isCustom ? window?.aesirx_analytics_translate?.txt_tracking_data_privacy ?? t("txt_tracking_data_privacy") : t(term.name)),
|
10370
|
-
/* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, isCustom ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
10371
|
-
"a",
|
10372
|
-
{
|
10373
|
-
href: "https://shield.aesirx.io/",
|
10374
|
-
rel: "noreferrer",
|
10375
|
-
target: "_blank",
|
10376
|
-
className: "minimize-shield-wrapper position-relative text-decoration-none"
|
10377
|
-
},
|
10378
|
-
/* @__PURE__ */ React.createElement(
|
10379
|
-
"img",
|
10380
|
-
{
|
10381
|
-
className: "cover-img position-absolute h-100 w-100 object-fit-cover z-1",
|
10382
|
-
src: bg_default,
|
10383
|
-
alt: "Background Image"
|
10384
|
-
}
|
10385
|
-
),
|
10386
|
-
/* @__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"))
|
10387
|
-
)) : /* @__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))))
|
10388
|
-
), /* @__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(
|
10389
10467
|
Tabs,
|
10390
10468
|
{
|
10391
10469
|
id: "consent_info_tab",
|
@@ -10393,14 +10471,14 @@ var TermsComponent = ({
|
|
10393
10471
|
onSelect: (k) => setActiveTab(k),
|
10394
10472
|
className: `mb-2 mb-lg-4 w-100 flex-nowrap align-items-center consent_info_tab ${isRejectedLayout ? "d-none" : ""}`
|
10395
10473
|
},
|
10396
|
-
/* @__PURE__ */
|
10474
|
+
/* @__PURE__ */ React2.createElement(
|
10397
10475
|
Tab,
|
10398
10476
|
{
|
10399
10477
|
eventKey: "consent",
|
10400
10478
|
title: window?.aesirx_analytics_translate?.txt_consent_nanagement ?? t("txt_consent_nanagement"),
|
10401
10479
|
className: "w-auto px-2 px-lg-4"
|
10402
10480
|
},
|
10403
|
-
isRejectedLayout ? /* @__PURE__ */
|
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(
|
10404
10482
|
"img",
|
10405
10483
|
{
|
10406
10484
|
src: check_circle_default,
|
@@ -10408,14 +10486,14 @@ var TermsComponent = ({
|
|
10408
10486
|
height: "15px",
|
10409
10487
|
alt: "Check Icon"
|
10410
10488
|
}
|
10411
|
-
)), /* @__PURE__ */
|
10489
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_allow_data ? /* @__PURE__ */ React2.createElement(
|
10412
10490
|
"div",
|
10413
10491
|
{
|
10414
10492
|
dangerouslySetInnerHTML: {
|
10415
10493
|
__html: window?.aesirx_analytics_translate?.txt_consent_allow_data
|
10416
10494
|
}
|
10417
10495
|
}
|
10418
|
-
) : /* @__PURE__ */
|
10496
|
+
) : /* @__PURE__ */ React2.createElement(
|
10419
10497
|
"div",
|
10420
10498
|
{
|
10421
10499
|
dangerouslySetInnerHTML: {
|
@@ -10424,7 +10502,7 @@ var TermsComponent = ({
|
|
10424
10502
|
})
|
10425
10503
|
}
|
10426
10504
|
}
|
10427
|
-
))), /* @__PURE__ */
|
10505
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10428
10506
|
"img",
|
10429
10507
|
{
|
10430
10508
|
src: check_circle_default,
|
@@ -10432,14 +10510,14 @@ var TermsComponent = ({
|
|
10432
10510
|
height: "15px",
|
10433
10511
|
alt: "Check Icon"
|
10434
10512
|
}
|
10435
|
-
)), /* @__PURE__ */
|
10513
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data ? /* @__PURE__ */ React2.createElement(
|
10436
10514
|
"div",
|
10437
10515
|
{
|
10438
10516
|
dangerouslySetInnerHTML: {
|
10439
10517
|
__html: window?.aesirx_analytics_translate?.txt_decentralized_consent_allow_data
|
10440
10518
|
}
|
10441
10519
|
}
|
10442
|
-
) : /* @__PURE__ */
|
10520
|
+
) : /* @__PURE__ */ React2.createElement(
|
10443
10521
|
"div",
|
10444
10522
|
{
|
10445
10523
|
dangerouslySetInnerHTML: {
|
@@ -10448,14 +10526,14 @@ var TermsComponent = ({
|
|
10448
10526
|
})
|
10449
10527
|
}
|
10450
10528
|
}
|
10451
|
-
)))) : /* @__PURE__ */
|
10529
|
+
)))) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, customConsentText ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(
|
10452
10530
|
"div",
|
10453
10531
|
{
|
10454
10532
|
dangerouslySetInnerHTML: {
|
10455
10533
|
__html: customConsentText
|
10456
10534
|
}
|
10457
10535
|
}
|
10458
|
-
)) : /* @__PURE__ */
|
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(
|
10459
10537
|
"img",
|
10460
10538
|
{
|
10461
10539
|
src: check_circle_default,
|
@@ -10463,7 +10541,7 @@ var TermsComponent = ({
|
|
10463
10541
|
height: "15px",
|
10464
10542
|
alt: "Check Icon"
|
10465
10543
|
}
|
10466
|
-
)), /* @__PURE__ */
|
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(
|
10467
10545
|
"img",
|
10468
10546
|
{
|
10469
10547
|
src: check_circle_default,
|
@@ -10471,7 +10549,7 @@ var TermsComponent = ({
|
|
10471
10549
|
height: "15px",
|
10472
10550
|
alt: "Check Icon"
|
10473
10551
|
}
|
10474
|
-
)), /* @__PURE__ */
|
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(
|
10475
10553
|
"img",
|
10476
10554
|
{
|
10477
10555
|
src: check_circle_default,
|
@@ -10479,7 +10557,7 @@ var TermsComponent = ({
|
|
10479
10557
|
height: "15px",
|
10480
10558
|
alt: "Check Icon"
|
10481
10559
|
}
|
10482
|
-
)), /* @__PURE__ */
|
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(
|
10483
10561
|
"img",
|
10484
10562
|
{
|
10485
10563
|
src: check_circle_default,
|
@@ -10487,7 +10565,7 @@ var TermsComponent = ({
|
|
10487
10565
|
height: "15px",
|
10488
10566
|
alt: "Check Icon"
|
10489
10567
|
}
|
10490
|
-
)), /* @__PURE__ */
|
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(
|
10491
10569
|
"img",
|
10492
10570
|
{
|
10493
10571
|
src: check_circle_default,
|
@@ -10495,14 +10573,14 @@ var TermsComponent = ({
|
|
10495
10573
|
height: "15px",
|
10496
10574
|
alt: "Check Icon"
|
10497
10575
|
}
|
10498
|
-
)), /* @__PURE__ */
|
10576
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_more_details ? /* @__PURE__ */ React2.createElement(
|
10499
10577
|
"div",
|
10500
10578
|
{
|
10501
10579
|
dangerouslySetInnerHTML: {
|
10502
10580
|
__html: window?.aesirx_analytics_translate?.txt_for_more_details
|
10503
10581
|
}
|
10504
10582
|
}
|
10505
|
-
) : /* @__PURE__ */
|
10583
|
+
) : /* @__PURE__ */ React2.createElement(
|
10506
10584
|
"div",
|
10507
10585
|
{
|
10508
10586
|
dangerouslySetInnerHTML: {
|
@@ -10513,14 +10591,14 @@ var TermsComponent = ({
|
|
10513
10591
|
}
|
10514
10592
|
))))))
|
10515
10593
|
),
|
10516
|
-
/* @__PURE__ */
|
10594
|
+
/* @__PURE__ */ React2.createElement(
|
10517
10595
|
Tab,
|
10518
10596
|
{
|
10519
10597
|
eventKey: "detail",
|
10520
10598
|
title: window?.aesirx_analytics_translate?.txt_details ?? t("txt_details"),
|
10521
10599
|
className: "px-2 px-lg-4"
|
10522
10600
|
},
|
10523
|
-
/* @__PURE__ */
|
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(
|
10524
10602
|
"img",
|
10525
10603
|
{
|
10526
10604
|
src: check_circle_default,
|
@@ -10528,14 +10606,14 @@ var TermsComponent = ({
|
|
10528
10606
|
height: "15px",
|
10529
10607
|
alt: "Check Icon"
|
10530
10608
|
}
|
10531
|
-
)), /* @__PURE__ */
|
10609
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_control_your_data ? /* @__PURE__ */ React2.createElement(
|
10532
10610
|
"div",
|
10533
10611
|
{
|
10534
10612
|
dangerouslySetInnerHTML: {
|
10535
10613
|
__html: window?.aesirx_analytics_translate?.txt_control_your_data
|
10536
10614
|
}
|
10537
10615
|
}
|
10538
|
-
) : /* @__PURE__ */
|
10616
|
+
) : /* @__PURE__ */ React2.createElement(
|
10539
10617
|
"div",
|
10540
10618
|
{
|
10541
10619
|
dangerouslySetInnerHTML: {
|
@@ -10544,7 +10622,7 @@ var TermsComponent = ({
|
|
10544
10622
|
})
|
10545
10623
|
}
|
10546
10624
|
}
|
10547
|
-
))), /* @__PURE__ */
|
10625
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10548
10626
|
"img",
|
10549
10627
|
{
|
10550
10628
|
src: check_circle_default,
|
@@ -10552,14 +10630,14 @@ var TermsComponent = ({
|
|
10552
10630
|
height: "15px",
|
10553
10631
|
alt: "Check Icon"
|
10554
10632
|
}
|
10555
|
-
)), /* @__PURE__ */
|
10633
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_earn_rewards ? /* @__PURE__ */ React2.createElement(
|
10556
10634
|
"div",
|
10557
10635
|
{
|
10558
10636
|
dangerouslySetInnerHTML: {
|
10559
10637
|
__html: window?.aesirx_analytics_translate?.txt_earn_rewards
|
10560
10638
|
}
|
10561
10639
|
}
|
10562
|
-
) : /* @__PURE__ */
|
10640
|
+
) : /* @__PURE__ */ React2.createElement(
|
10563
10641
|
"div",
|
10564
10642
|
{
|
10565
10643
|
dangerouslySetInnerHTML: {
|
@@ -10568,7 +10646,7 @@ var TermsComponent = ({
|
|
10568
10646
|
})
|
10569
10647
|
}
|
10570
10648
|
}
|
10571
|
-
))), /* @__PURE__ */
|
10649
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10572
10650
|
"img",
|
10573
10651
|
{
|
10574
10652
|
src: check_circle_default,
|
@@ -10576,14 +10654,14 @@ var TermsComponent = ({
|
|
10576
10654
|
height: "15px",
|
10577
10655
|
alt: "Check Icon"
|
10578
10656
|
}
|
10579
|
-
)), /* @__PURE__ */
|
10657
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_transparent_data ? /* @__PURE__ */ React2.createElement(
|
10580
10658
|
"div",
|
10581
10659
|
{
|
10582
10660
|
dangerouslySetInnerHTML: {
|
10583
10661
|
__html: window?.aesirx_analytics_translate?.txt_transparent_data
|
10584
10662
|
}
|
10585
10663
|
}
|
10586
|
-
) : /* @__PURE__ */
|
10664
|
+
) : /* @__PURE__ */ React2.createElement(
|
10587
10665
|
"div",
|
10588
10666
|
{
|
10589
10667
|
dangerouslySetInnerHTML: {
|
@@ -10592,7 +10670,7 @@ var TermsComponent = ({
|
|
10592
10670
|
})
|
10593
10671
|
}
|
10594
10672
|
}
|
10595
|
-
)))), /* @__PURE__ */
|
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(
|
10596
10674
|
"img",
|
10597
10675
|
{
|
10598
10676
|
src: check_circle_default,
|
@@ -10600,14 +10678,14 @@ var TermsComponent = ({
|
|
10600
10678
|
height: "15px",
|
10601
10679
|
alt: "Check Icon"
|
10602
10680
|
}
|
10603
|
-
)), /* @__PURE__ */
|
10681
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_reject_no_data ? /* @__PURE__ */ React2.createElement(
|
10604
10682
|
"div",
|
10605
10683
|
{
|
10606
10684
|
dangerouslySetInnerHTML: {
|
10607
10685
|
__html: window?.aesirx_analytics_translate?.txt_reject_no_data
|
10608
10686
|
}
|
10609
10687
|
}
|
10610
|
-
) : /* @__PURE__ */
|
10688
|
+
) : /* @__PURE__ */ React2.createElement(
|
10611
10689
|
"div",
|
10612
10690
|
{
|
10613
10691
|
dangerouslySetInnerHTML: {
|
@@ -10616,7 +10694,7 @@ var TermsComponent = ({
|
|
10616
10694
|
})
|
10617
10695
|
}
|
10618
10696
|
}
|
10619
|
-
))), /* @__PURE__ */
|
10697
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10620
10698
|
"img",
|
10621
10699
|
{
|
10622
10700
|
src: check_circle_default,
|
@@ -10624,14 +10702,14 @@ var TermsComponent = ({
|
|
10624
10702
|
height: "15px",
|
10625
10703
|
alt: "Check Icon"
|
10626
10704
|
}
|
10627
|
-
)), /* @__PURE__ */
|
10705
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_consent_first_third_party ? /* @__PURE__ */ React2.createElement(
|
10628
10706
|
"div",
|
10629
10707
|
{
|
10630
10708
|
dangerouslySetInnerHTML: {
|
10631
10709
|
__html: window?.aesirx_analytics_translate?.txt_consent_first_third_party
|
10632
10710
|
}
|
10633
10711
|
}
|
10634
|
-
) : /* @__PURE__ */
|
10712
|
+
) : /* @__PURE__ */ React2.createElement(
|
10635
10713
|
"div",
|
10636
10714
|
{
|
10637
10715
|
dangerouslySetInnerHTML: {
|
@@ -10640,7 +10718,7 @@ var TermsComponent = ({
|
|
10640
10718
|
})
|
10641
10719
|
}
|
10642
10720
|
}
|
10643
|
-
))), layout === "simple-consent-mode" ? /* @__PURE__ */
|
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(
|
10644
10722
|
"img",
|
10645
10723
|
{
|
10646
10724
|
src: check_circle_default,
|
@@ -10648,14 +10726,14 @@ var TermsComponent = ({
|
|
10648
10726
|
height: "15px",
|
10649
10727
|
alt: "Check Icon"
|
10650
10728
|
}
|
10651
|
-
)), /* @__PURE__ */
|
10729
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose ? /* @__PURE__ */ React2.createElement(
|
10652
10730
|
"div",
|
10653
10731
|
{
|
10654
10732
|
dangerouslySetInnerHTML: {
|
10655
10733
|
__html: window?.aesirx_analytics_translate?.txt_decentralizered_consent_choose
|
10656
10734
|
}
|
10657
10735
|
}
|
10658
|
-
) : /* @__PURE__ */
|
10736
|
+
) : /* @__PURE__ */ React2.createElement(
|
10659
10737
|
"div",
|
10660
10738
|
{
|
10661
10739
|
dangerouslySetInnerHTML: {
|
@@ -10666,14 +10744,14 @@ var TermsComponent = ({
|
|
10666
10744
|
}
|
10667
10745
|
)))))
|
10668
10746
|
),
|
10669
|
-
/* @__PURE__ */
|
10747
|
+
/* @__PURE__ */ React2.createElement(
|
10670
10748
|
Tab,
|
10671
10749
|
{
|
10672
10750
|
eventKey: "about",
|
10673
10751
|
title: window?.aesirx_analytics_translate?.txt_about ?? t("txt_about"),
|
10674
10752
|
className: "px-2 px-lg-4"
|
10675
10753
|
},
|
10676
|
-
/* @__PURE__ */
|
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(
|
10677
10755
|
"img",
|
10678
10756
|
{
|
10679
10757
|
src: check_circle_default,
|
@@ -10681,14 +10759,14 @@ var TermsComponent = ({
|
|
10681
10759
|
height: "15px",
|
10682
10760
|
alt: "Check Icon"
|
10683
10761
|
}
|
10684
|
-
)), /* @__PURE__ */
|
10762
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_private_protection ? /* @__PURE__ */ React2.createElement(
|
10685
10763
|
"div",
|
10686
10764
|
{
|
10687
10765
|
dangerouslySetInnerHTML: {
|
10688
10766
|
__html: window?.aesirx_analytics_translate?.txt_private_protection
|
10689
10767
|
}
|
10690
10768
|
}
|
10691
|
-
) : /* @__PURE__ */
|
10769
|
+
) : /* @__PURE__ */ React2.createElement(
|
10692
10770
|
"div",
|
10693
10771
|
{
|
10694
10772
|
dangerouslySetInnerHTML: {
|
@@ -10697,7 +10775,7 @@ var TermsComponent = ({
|
|
10697
10775
|
})
|
10698
10776
|
}
|
10699
10777
|
}
|
10700
|
-
))), /* @__PURE__ */
|
10778
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10701
10779
|
"img",
|
10702
10780
|
{
|
10703
10781
|
src: check_circle_default,
|
@@ -10705,14 +10783,14 @@ var TermsComponent = ({
|
|
10705
10783
|
height: "15px",
|
10706
10784
|
alt: "Check Icon"
|
10707
10785
|
}
|
10708
|
-
)), /* @__PURE__ */
|
10786
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_enables_compliance ? /* @__PURE__ */ React2.createElement(
|
10709
10787
|
"div",
|
10710
10788
|
{
|
10711
10789
|
dangerouslySetInnerHTML: {
|
10712
10790
|
__html: window?.aesirx_analytics_translate?.txt_enables_compliance
|
10713
10791
|
}
|
10714
10792
|
}
|
10715
|
-
) : /* @__PURE__ */
|
10793
|
+
) : /* @__PURE__ */ React2.createElement(
|
10716
10794
|
"div",
|
10717
10795
|
{
|
10718
10796
|
dangerouslySetInnerHTML: {
|
@@ -10721,7 +10799,7 @@ var TermsComponent = ({
|
|
10721
10799
|
})
|
10722
10800
|
}
|
10723
10801
|
}
|
10724
|
-
))), /* @__PURE__ */
|
10802
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10725
10803
|
"img",
|
10726
10804
|
{
|
10727
10805
|
src: check_circle_default,
|
@@ -10729,14 +10807,14 @@ var TermsComponent = ({
|
|
10729
10807
|
height: "15px",
|
10730
10808
|
alt: "Check Icon"
|
10731
10809
|
}
|
10732
|
-
)), /* @__PURE__ */
|
10810
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_proactive_protection ? /* @__PURE__ */ React2.createElement(
|
10733
10811
|
"div",
|
10734
10812
|
{
|
10735
10813
|
dangerouslySetInnerHTML: {
|
10736
10814
|
__html: window?.aesirx_analytics_translate?.txt_proactive_protection
|
10737
10815
|
}
|
10738
10816
|
}
|
10739
|
-
) : /* @__PURE__ */
|
10817
|
+
) : /* @__PURE__ */ React2.createElement(
|
10740
10818
|
"div",
|
10741
10819
|
{
|
10742
10820
|
dangerouslySetInnerHTML: {
|
@@ -10745,7 +10823,7 @@ var TermsComponent = ({
|
|
10745
10823
|
})
|
10746
10824
|
}
|
10747
10825
|
}
|
10748
|
-
))), /* @__PURE__ */
|
10826
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10749
10827
|
"img",
|
10750
10828
|
{
|
10751
10829
|
src: check_circle_default,
|
@@ -10753,7 +10831,7 @@ var TermsComponent = ({
|
|
10753
10831
|
height: "15px",
|
10754
10832
|
alt: "Check Icon"
|
10755
10833
|
}
|
10756
|
-
)), /* @__PURE__ */
|
10834
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React2.createElement(
|
10757
10835
|
"div",
|
10758
10836
|
{
|
10759
10837
|
dangerouslySetInnerHTML: {
|
@@ -10762,7 +10840,7 @@ var TermsComponent = ({
|
|
10762
10840
|
})
|
10763
10841
|
}
|
10764
10842
|
}
|
10765
|
-
))), /* @__PURE__ */
|
10843
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10766
10844
|
"img",
|
10767
10845
|
{
|
10768
10846
|
src: check_circle_default,
|
@@ -10770,14 +10848,14 @@ var TermsComponent = ({
|
|
10770
10848
|
height: "15px",
|
10771
10849
|
alt: "Check Icon"
|
10772
10850
|
}
|
10773
|
-
)), /* @__PURE__ */
|
10851
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_learn_more ? /* @__PURE__ */ React2.createElement(
|
10774
10852
|
"div",
|
10775
10853
|
{
|
10776
10854
|
dangerouslySetInnerHTML: {
|
10777
10855
|
__html: window?.aesirx_analytics_translate?.txt_learn_more
|
10778
10856
|
}
|
10779
10857
|
}
|
10780
|
-
) : /* @__PURE__ */
|
10858
|
+
) : /* @__PURE__ */ React2.createElement(
|
10781
10859
|
"div",
|
10782
10860
|
{
|
10783
10861
|
dangerouslySetInnerHTML: {
|
@@ -10786,7 +10864,7 @@ var TermsComponent = ({
|
|
10786
10864
|
})
|
10787
10865
|
}
|
10788
10866
|
}
|
10789
|
-
))), /* @__PURE__ */
|
10867
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React2.createElement("span", null, /* @__PURE__ */ React2.createElement(
|
10790
10868
|
"img",
|
10791
10869
|
{
|
10792
10870
|
src: check_circle_default,
|
@@ -10794,14 +10872,14 @@ var TermsComponent = ({
|
|
10794
10872
|
height: "15px",
|
10795
10873
|
alt: "Check Icon"
|
10796
10874
|
}
|
10797
|
-
)), /* @__PURE__ */
|
10875
|
+
)), /* @__PURE__ */ React2.createElement("div", { className: "ms-10px" }, window?.aesirx_analytics_translate?.txt_for_business ? /* @__PURE__ */ React2.createElement(
|
10798
10876
|
"div",
|
10799
10877
|
{
|
10800
10878
|
dangerouslySetInnerHTML: {
|
10801
10879
|
__html: window?.aesirx_analytics_translate?.txt_for_business
|
10802
10880
|
}
|
10803
10881
|
}
|
10804
|
-
) : /* @__PURE__ */
|
10882
|
+
) : /* @__PURE__ */ React2.createElement(
|
10805
10883
|
"div",
|
10806
10884
|
{
|
10807
10885
|
dangerouslySetInnerHTML: {
|
@@ -10810,14 +10888,14 @@ var TermsComponent = ({
|
|
10810
10888
|
})
|
10811
10889
|
}
|
10812
10890
|
}
|
10813
|
-
))), /* @__PURE__ */
|
10891
|
+
))), /* @__PURE__ */ React2.createElement("div", { className: "ms-4" }, window?.aesirx_analytics_translate?.txt_more_info_at ? /* @__PURE__ */ React2.createElement(
|
10814
10892
|
"div",
|
10815
10893
|
{
|
10816
10894
|
dangerouslySetInnerHTML: {
|
10817
10895
|
__html: window?.aesirx_analytics_translate?.txt_more_info_at
|
10818
10896
|
}
|
10819
10897
|
}
|
10820
|
-
) : /* @__PURE__ */
|
10898
|
+
) : /* @__PURE__ */ React2.createElement(
|
10821
10899
|
"div",
|
10822
10900
|
{
|
10823
10901
|
dangerouslySetInnerHTML: {
|
@@ -10828,7 +10906,7 @@ var TermsComponent = ({
|
|
10828
10906
|
}
|
10829
10907
|
)))
|
10830
10908
|
)
|
10831
|
-
)) : /* @__PURE__ */
|
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(
|
10832
10910
|
"a",
|
10833
10911
|
{
|
10834
10912
|
className: "fs-14 text-success fw-bold mb-1",
|
@@ -10836,7 +10914,7 @@ var TermsComponent = ({
|
|
10836
10914
|
onClick: () => handleLevel(terms[key + 1].level)
|
10837
10915
|
},
|
10838
10916
|
t(term.upgrade)
|
10839
|
-
), /* @__PURE__ */
|
10917
|
+
), /* @__PURE__ */ React2.createElement(
|
10840
10918
|
"div",
|
10841
10919
|
{
|
10842
10920
|
className: "ms-auto read-more-btn mb-1",
|
@@ -10846,7 +10924,7 @@ var TermsComponent = ({
|
|
10846
10924
|
},
|
10847
10925
|
!showReadmore ? t("txt_show_details") : t("txt_hide_details"),
|
10848
10926
|
" ",
|
10849
|
-
/* @__PURE__ */
|
10927
|
+
/* @__PURE__ */ React2.createElement(
|
10850
10928
|
"img",
|
10851
10929
|
{
|
10852
10930
|
src: arrow_default,
|
@@ -10854,37 +10932,37 @@ var TermsComponent = ({
|
|
10854
10932
|
alt: "Arrow Icon"
|
10855
10933
|
}
|
10856
10934
|
)
|
10857
|
-
)))), isCustom ? /* @__PURE__ */
|
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(
|
10858
10936
|
"img",
|
10859
10937
|
{
|
10860
10938
|
className: "position-absolute h-100 w-100 object-fit-cover",
|
10861
10939
|
src: bg_default,
|
10862
10940
|
alt: "Background Image"
|
10863
10941
|
}
|
10864
|
-
), /* @__PURE__ */
|
10942
|
+
), /* @__PURE__ */ React2.createElement(
|
10865
10943
|
"img",
|
10866
10944
|
{
|
10867
10945
|
className: "position-absolute h-100 w-100 object-fit-cover lightning flash-effect",
|
10868
10946
|
src: bg_default,
|
10869
10947
|
alt: "Background Image"
|
10870
10948
|
}
|
10871
|
-
), /* @__PURE__ */
|
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))))
|
10872
10950
|
));
|
10873
10951
|
};
|
10874
10952
|
|
10875
10953
|
// src/Components/LoadingStatus.tsx
|
10876
|
-
import
|
10954
|
+
import React3 from "react";
|
10877
10955
|
import { Button } from "react-bootstrap";
|
10878
10956
|
var LoadingStatus = ({ loading }) => {
|
10879
10957
|
const { t } = useTranslation();
|
10880
|
-
return /* @__PURE__ */
|
10958
|
+
return /* @__PURE__ */ React3.createElement(React3.Fragment, null, loading === "connect" ? /* @__PURE__ */ React3.createElement("div", { className: "loading-status" }, /* @__PURE__ */ React3.createElement(
|
10881
10959
|
Button,
|
10882
10960
|
{
|
10883
10961
|
variant: "dark",
|
10884
10962
|
disabled: true,
|
10885
10963
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10886
10964
|
},
|
10887
|
-
/* @__PURE__ */
|
10965
|
+
/* @__PURE__ */ React3.createElement(
|
10888
10966
|
"span",
|
10889
10967
|
{
|
10890
10968
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10892,15 +10970,15 @@ var LoadingStatus = ({ loading }) => {
|
|
10892
10970
|
"aria-hidden": "true"
|
10893
10971
|
}
|
10894
10972
|
),
|
10895
|
-
/* @__PURE__ */
|
10896
|
-
)) : loading === "sign" ? /* @__PURE__ */
|
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(
|
10897
10975
|
Button,
|
10898
10976
|
{
|
10899
10977
|
variant: "dark",
|
10900
10978
|
disabled: true,
|
10901
10979
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10902
10980
|
},
|
10903
|
-
/* @__PURE__ */
|
10981
|
+
/* @__PURE__ */ React3.createElement(
|
10904
10982
|
"span",
|
10905
10983
|
{
|
10906
10984
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10908,15 +10986,15 @@ var LoadingStatus = ({ loading }) => {
|
|
10908
10986
|
"aria-hidden": "true"
|
10909
10987
|
}
|
10910
10988
|
),
|
10911
|
-
/* @__PURE__ */
|
10912
|
-
)) : loading === "saving" ? /* @__PURE__ */
|
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(
|
10913
10991
|
Button,
|
10914
10992
|
{
|
10915
10993
|
variant: "dark",
|
10916
10994
|
disabled: true,
|
10917
10995
|
className: "d-flex align-items-center justify-content-center text-white w-100"
|
10918
10996
|
},
|
10919
|
-
/* @__PURE__ */
|
10997
|
+
/* @__PURE__ */ React3.createElement(
|
10920
10998
|
"span",
|
10921
10999
|
{
|
10922
11000
|
className: "spinner-border spinner-border-sm me-1",
|
@@ -10924,12 +11002,12 @@ var LoadingStatus = ({ loading }) => {
|
|
10924
11002
|
"aria-hidden": "true"
|
10925
11003
|
}
|
10926
11004
|
),
|
10927
|
-
/* @__PURE__ */
|
10928
|
-
)) : /* @__PURE__ */
|
11005
|
+
/* @__PURE__ */ React3.createElement("span", { className: "text" }, window?.aesirx_analytics_translate?.txt_saving ?? t("txt_saving"))
|
11006
|
+
)) : /* @__PURE__ */ React3.createElement(React3.Fragment, null));
|
10929
11007
|
};
|
10930
11008
|
|
10931
11009
|
// src/Components/Connect.tsx
|
10932
|
-
import
|
11010
|
+
import React5, { Suspense, useState as useState4 } from "react";
|
10933
11011
|
import { Modal } from "react-bootstrap";
|
10934
11012
|
import { isMobile, isDesktop as isDesktop2, OsTypes, osName } from "react-device-detect";
|
10935
11013
|
|
@@ -10938,7 +11016,7 @@ var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABY
|
|
10938
11016
|
|
10939
11017
|
// src/Components/Ethereum/connect.tsx
|
10940
11018
|
import { useWeb3Modal } from "@web3modal/react";
|
10941
|
-
import
|
11019
|
+
import React4, { useState as useState3 } from "react";
|
10942
11020
|
|
10943
11021
|
// src/Assets/ethereum_logo.png
|
10944
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==";
|
@@ -10952,21 +11030,21 @@ var ConnectMetamask = () => {
|
|
10952
11030
|
await open();
|
10953
11031
|
setLoading(false);
|
10954
11032
|
}
|
10955
|
-
return /* @__PURE__ */
|
11033
|
+
return /* @__PURE__ */ React4.createElement(
|
10956
11034
|
"button",
|
10957
11035
|
{
|
10958
11036
|
onClick: onOpen,
|
10959
11037
|
disabled: loading,
|
10960
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"
|
10961
11039
|
},
|
10962
|
-
loading ? /* @__PURE__ */
|
11040
|
+
loading ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
|
10963
11041
|
"span",
|
10964
11042
|
{
|
10965
11043
|
className: "spinner-border spinner-border-sm me-1",
|
10966
11044
|
role: "status",
|
10967
11045
|
"aria-hidden": "true"
|
10968
11046
|
}
|
10969
|
-
), "Waiting for signing...") : /* @__PURE__ */
|
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")
|
10970
11048
|
);
|
10971
11049
|
};
|
10972
11050
|
var connect_default = ConnectMetamask;
|
@@ -10983,7 +11061,7 @@ var ConnectModal = ({
|
|
10983
11061
|
const [show, setShow] = useState4(true);
|
10984
11062
|
const handleClose = () => setShow(false);
|
10985
11063
|
const { t } = useTranslation();
|
10986
|
-
return /* @__PURE__ */
|
11064
|
+
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
10987
11065
|
Modal,
|
10988
11066
|
{
|
10989
11067
|
className: "aesirxconsent aesirxconsent-modal",
|
@@ -10991,21 +11069,21 @@ var ConnectModal = ({
|
|
10991
11069
|
onHide: handleClose,
|
10992
11070
|
centered: true
|
10993
11071
|
},
|
10994
|
-
/* @__PURE__ */
|
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(
|
10995
11073
|
"button",
|
10996
11074
|
{
|
10997
11075
|
disabled: isConnecting,
|
10998
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",
|
10999
11077
|
onClick: () => handleOnConnect(BROWSER_WALLET)
|
11000
11078
|
},
|
11001
|
-
isConnecting ? /* @__PURE__ */
|
11079
|
+
isConnecting ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
11002
11080
|
"span",
|
11003
11081
|
{
|
11004
11082
|
className: "spinner-border spinner-border-sm me-1",
|
11005
11083
|
role: "status",
|
11006
11084
|
"aria-hidden": "true"
|
11007
11085
|
}
|
11008
|
-
), window?.aesirx_analytics_translate?.txt_connecting ?? t("txt_connecting")) : /* @__PURE__ */
|
11086
|
+
), window?.aesirx_analytics_translate?.txt_connecting ?? t("txt_connecting")) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
|
11009
11087
|
"img",
|
11010
11088
|
{
|
11011
11089
|
src: concordium_logo_default,
|
@@ -11013,20 +11091,20 @@ var ConnectModal = ({
|
|
11013
11091
|
alt: "Concordium"
|
11014
11092
|
}
|
11015
11093
|
), "Concordium Browser Wallet")
|
11016
|
-
), osName !== OsTypes?.IOS ? /* @__PURE__ */
|
11094
|
+
), osName !== OsTypes?.IOS ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
|
11017
11095
|
"button",
|
11018
11096
|
{
|
11019
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",
|
11020
11098
|
onClick: () => handleOnConnect(WALLET_CONNECT)
|
11021
11099
|
},
|
11022
|
-
!activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */
|
11100
|
+
!activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React5.createElement(
|
11023
11101
|
"span",
|
11024
11102
|
{
|
11025
11103
|
className: "spinner-border spinner-border-sm me-1",
|
11026
11104
|
role: "status",
|
11027
11105
|
"aria-hidden": "true"
|
11028
11106
|
}
|
11029
|
-
) : /* @__PURE__ */
|
11107
|
+
) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, " ", /* @__PURE__ */ React5.createElement(
|
11030
11108
|
"img",
|
11031
11109
|
{
|
11032
11110
|
src: concordium_logo_default,
|
@@ -11034,7 +11112,7 @@ var ConnectModal = ({
|
|
11034
11112
|
alt: "Concordium"
|
11035
11113
|
}
|
11036
11114
|
), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
|
11037
|
-
)) : /* @__PURE__ */
|
11115
|
+
)) : /* @__PURE__ */ React5.createElement(React5.Fragment, null)), " ")))
|
11038
11116
|
));
|
11039
11117
|
};
|
11040
11118
|
var SSOEthereumApp = ({ handleOnConnect }) => {
|
@@ -11043,12 +11121,12 @@ var SSOEthereumApp = ({ handleOnConnect }) => {
|
|
11043
11121
|
handleOnConnect("", "metamask");
|
11044
11122
|
}
|
11045
11123
|
});
|
11046
|
-
return isConnected ? /* @__PURE__ */
|
11124
|
+
return isConnected ? /* @__PURE__ */ React5.createElement(React5.Fragment, null) : /* @__PURE__ */ React5.createElement(connect_default, null);
|
11047
11125
|
};
|
11048
11126
|
var Connect_default = ConnectModal;
|
11049
11127
|
|
11050
11128
|
// src/Components/Ethereum/index.tsx
|
11051
|
-
import
|
11129
|
+
import React6 from "react";
|
11052
11130
|
import { configureChains, createConfig, WagmiConfig } from "wagmi";
|
11053
11131
|
import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
|
11054
11132
|
import {
|
@@ -11170,7 +11248,7 @@ var SSOEthereumProvider = ({ children, layout, level }) => {
|
|
11170
11248
|
webSocketPublicClient
|
11171
11249
|
});
|
11172
11250
|
const ethereumClient = new EthereumClient(wagmiConfig, chains);
|
11173
|
-
return /* @__PURE__ */
|
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 })));
|
11174
11252
|
};
|
11175
11253
|
var Ethereum_default = SSOEthereumProvider;
|
11176
11254
|
|
@@ -11256,6 +11334,7 @@ export {
|
|
11256
11334
|
WALLET_CONNECT,
|
11257
11335
|
useConsentStatus_default,
|
11258
11336
|
check_circle_default,
|
11337
|
+
ConsentHeader_default,
|
11259
11338
|
TermsComponent,
|
11260
11339
|
LoadingStatus,
|
11261
11340
|
Connect_default,
|