aesirx-analytics 2.1.0 → 2.2.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.
@@ -1,13 +1,14 @@
1
1
  import {
2
2
  AnalyticsContext,
3
3
  useTranslation
4
- } from "./chunk-RN267RCX.js";
4
+ } from "./chunk-ZYCOHH2R.js";
5
5
 
6
6
  // src/utils/consent.ts
7
7
  import { stringMessage } from "@concordium/react-components";
8
8
  import axios from "axios";
9
9
  var agreeConsents = async (endpoint, level, uuid, consent, wallet, signature, web3id, jwt, network = "concordium") => {
10
10
  const url = `${endpoint}/consent/v1/level${level}/${uuid}`;
11
+ const urlV2 = `${endpoint}/consent/v2/level${level}/${uuid}`;
11
12
  try {
12
13
  switch (level) {
13
14
  case 1:
@@ -32,10 +33,19 @@ var agreeConsents = async (endpoint, level, uuid, consent, wallet, signature, we
32
33
  });
33
34
  break;
34
35
  case 4:
35
- await axios.post(`${url}/${network}/${web3id}/${wallet}`, {
36
- signature,
37
- consent
38
- });
36
+ await axios.post(
37
+ `${urlV2}/${network}/${wallet}`,
38
+ {
39
+ signature,
40
+ consent
41
+ },
42
+ {
43
+ headers: {
44
+ "Content-Type": "application/json",
45
+ Authorization: "Bearer " + jwt
46
+ }
47
+ }
48
+ );
39
49
  break;
40
50
  default:
41
51
  break;
@@ -54,12 +64,20 @@ var getConsents = async (endpoint, uuid) => {
54
64
  };
55
65
  var getSignature = async (endpoint, address, provider, text, network = "concordium") => {
56
66
  try {
57
- const nonce = (await axios.post(`${endpoint}/wallet/v1/${network}/${address}/nonce`, { text }))?.data.nonce;
67
+ const nonce = await getNonce(endpoint, address, text, network);
58
68
  return getSignedNonce(nonce, address, provider);
59
69
  } catch (error) {
60
70
  throw error;
61
71
  }
62
72
  };
73
+ var getNonce = async (endpoint, address, text, network = "concordium") => {
74
+ try {
75
+ const nonce = (await axios.post(`${endpoint}/wallet/v1/${network}/${address}/nonce`, { text }))?.data.nonce;
76
+ return nonce;
77
+ } catch (error) {
78
+ throw error;
79
+ }
80
+ };
63
81
  var getSignedNonce = async (nonce, address, provider) => {
64
82
  const signature = await provider.signMessage(address, stringMessage(`${nonce}`));
65
83
  return Buffer.from(
@@ -69,6 +87,7 @@ var getSignedNonce = async (nonce, address, provider) => {
69
87
  };
70
88
  var revokeConsents = async (endpoint, level, uuid, wallet, signature, web3id, jwt, network = "concordium") => {
71
89
  const url = `${endpoint}/consent/v1/level${level}/revoke/${uuid}`;
90
+ const urlV2 = `${endpoint}/consent/v2/level${level}/revoke/${uuid}`;
72
91
  try {
73
92
  switch (level) {
74
93
  case "2":
@@ -85,9 +104,18 @@ var revokeConsents = async (endpoint, level, uuid, wallet, signature, web3id, jw
85
104
  });
86
105
  break;
87
106
  case "4":
88
- await axios.put(`${url}/${network}/${web3id}/${wallet}`, {
89
- signature
90
- });
107
+ await axios.put(
108
+ `${urlV2}/${network}/${wallet}`,
109
+ {
110
+ signature
111
+ },
112
+ {
113
+ headers: {
114
+ "Content-Type": "application/json",
115
+ Authorization: "Bearer " + jwt
116
+ }
117
+ }
118
+ );
91
119
  break;
92
120
  default:
93
121
  break;
@@ -96,9 +124,88 @@ var revokeConsents = async (endpoint, level, uuid, wallet, signature, web3id, jw
96
124
  throw error;
97
125
  }
98
126
  };
127
+ var getMember = async (endpoint, accessToken) => {
128
+ try {
129
+ const member = await axios.get(
130
+ `${endpoint}/index.php?webserviceClient=site&webserviceVersion=1.0.0&option=persona&api=hal&task=getTokenByUser`,
131
+ {
132
+ headers: {
133
+ "Content-Type": "application/json",
134
+ Authorization: "Bearer " + accessToken
135
+ }
136
+ }
137
+ );
138
+ if (member?.data?.result?.member_id) {
139
+ const data = await axios.get(
140
+ `${endpoint}/index.php?webserviceClient=site&webserviceVersion=1.0.0&option=member&api=hal&id=${member?.data?.result?.member_id}`,
141
+ {
142
+ headers: {
143
+ "Content-Type": "application/json",
144
+ Authorization: "Bearer " + accessToken
145
+ }
146
+ }
147
+ );
148
+ return data?.data;
149
+ }
150
+ } catch (error) {
151
+ console.log("getMember", error);
152
+ throw error;
153
+ }
154
+ };
155
+ var getWalletNonce = async (endpoint, wallet, publicAddress) => {
156
+ try {
157
+ const reqAuthFormData = {
158
+ publicAddress,
159
+ wallet,
160
+ text: `Login with nonce: {}`
161
+ };
162
+ const config = {
163
+ method: "post",
164
+ url: `${endpoint}/index.php?webserviceClient=site&webserviceVersion=1.0.0&option=member&task=getWalletNonce&api=hal`,
165
+ headers: {
166
+ "Content-Type": "application/json"
167
+ },
168
+ data: reqAuthFormData
169
+ };
170
+ const { data } = await axios(config);
171
+ if (data.result) {
172
+ return data.result;
173
+ }
174
+ throw false;
175
+ } catch (error) {
176
+ throw error;
177
+ }
178
+ };
179
+ var verifySignature = async (endpoint, wallet, publicAddress, signature) => {
180
+ try {
181
+ const returnParams = new URLSearchParams(window.location.search)?.get("return");
182
+ const reqAuthFormData = {
183
+ wallet,
184
+ publicAddress,
185
+ signature
186
+ };
187
+ const config = {
188
+ method: "post",
189
+ url: `${endpoint}/index.php?webserviceClient=site&webserviceVersion=1.0.0&option=member&task=walletLogin&api=hal&return=${returnParams ?? null}`,
190
+ headers: {
191
+ "Content-Type": "application/json"
192
+ },
193
+ data: reqAuthFormData
194
+ };
195
+ const { data } = await axios(config);
196
+ if (data?.result) {
197
+ return data?.result;
198
+ } else {
199
+ throw false;
200
+ }
201
+ } catch (error) {
202
+ console.log(error);
203
+ throw error;
204
+ }
205
+ };
99
206
 
100
207
  // src/Components/Consent.tsx
101
- import React4, { useContext as useContext2, useEffect as useEffect2, useState as useState4 } from "react";
208
+ import React6, { useContext as useContext2, useEffect as useEffect2, useState as useState5 } from "react";
102
209
  import { Button as Button2, Form } from "react-bootstrap";
103
210
 
104
211
  // src/Hooks/useConsentStatus.ts
@@ -142,8 +249,10 @@ var invokeSmartContract = async (provider, account, name, index, subIndex, schem
142
249
  method,
143
250
  SchemaVersion.V2
144
251
  );
252
+ console.log("invokeSmartContract", returnValue);
145
253
  return returnValue;
146
254
  } catch (error) {
255
+ console.log("invokeSmartContract error", error);
147
256
  return null;
148
257
  }
149
258
  };
@@ -215,14 +324,15 @@ var WALLET_CONNECT = ephemeralConnectorType(
215
324
  );
216
325
 
217
326
  // src/Hooks/useConsentStatus.ts
327
+ import { useAccount } from "wagmi";
218
328
  var useConsentStatus = (endpoint, props) => {
219
329
  const [show, setShow] = useState(false);
220
330
  const [showRevoke, setShowRevoke] = useState(false);
221
- const [showConnectModal, setShowConnectModal] = useState(false);
222
331
  const [level, setLevel] = useState();
223
332
  const [web3ID, setWeb3ID] = useState();
224
333
  const analyticsContext = useContext(AnalyticsContext);
225
334
  const { activeConnector, network, connectedAccounts, genesisHashes, setActiveConnectorType } = props;
335
+ const { address, connector } = useAccount();
226
336
  useEffect(() => {
227
337
  const allow = sessionStorage.getItem("aesirx-analytics-allow");
228
338
  const currentUuid = sessionStorage.getItem("aesirx-analytics-uuid");
@@ -295,13 +405,17 @@ var useConsentStatus = (endpoint, props) => {
295
405
  }
296
406
  }, [activeConnector]);
297
407
  useEffect(() => {
298
- if (connectError) {
408
+ if (connectError && connectError !== "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received") {
299
409
  toast.error(connectError);
300
410
  }
301
411
  }, [connectError]);
302
412
  useEffect(() => {
303
413
  if (isDesktop && sessionStorage.getItem("aesirx-analytics-revoke") !== "1" && sessionStorage.getItem("aesirx-analytics-revoke") !== "2") {
304
- setActiveConnectorType(BROWSER_WALLET);
414
+ window.addEventListener("load", function() {
415
+ if (window["concordium"]) {
416
+ setActiveConnectorType(BROWSER_WALLET);
417
+ }
418
+ });
305
419
  }
306
420
  }, []);
307
421
  useEffect(() => {
@@ -309,54 +423,44 @@ var useConsentStatus = (endpoint, props) => {
309
423
  try {
310
424
  let l = level;
311
425
  if (connection) {
312
- setLevel(null);
313
- l = 3;
314
- let web3ID2 = "";
315
- if (account) {
316
- web3ID2 = await getWeb3ID(connection, account);
317
- if (web3ID2) {
318
- l = 4;
426
+ if (l < 3) {
427
+ setLevel(null);
428
+ l = 3;
429
+ let web3ID2 = "";
430
+ if (account && sessionStorage.getItem("aesirx-analytics-consent-type") !== "metamask") {
431
+ web3ID2 = await getWeb3ID(connection, account);
432
+ if (web3ID2) {
433
+ l = 4;
434
+ }
435
+ }
436
+ setWeb3ID(web3ID2);
437
+ setLevel(l);
438
+ }
439
+ } else if (connector) {
440
+ if (l < 3) {
441
+ l = 3;
442
+ const web3ID2 = "";
443
+ setWeb3ID(web3ID2);
444
+ setLevel(l);
445
+ } else {
446
+ if (l === 4) {
447
+ setLevel(4);
448
+ } else {
449
+ setLevel(3);
319
450
  }
320
451
  }
321
- setWeb3ID(web3ID2);
322
- setLevel(l);
323
452
  } else {
324
453
  setLevel(level ?? 1);
325
454
  }
326
455
  } catch (error) {
327
456
  setLevel(level ?? 1);
457
+ console.error(error);
328
458
  }
329
459
  })();
330
- }, [account]);
460
+ }, [account, address, connector]);
331
461
  const handleLevel = useCallback(
332
462
  async (_level) => {
333
- if (_level === 2) {
334
- setLevel(_level);
335
- } else if (_level === 3) {
336
- try {
337
- setLevel(3);
338
- } catch (error) {
339
- setLevel(1);
340
- }
341
- } else if (_level === 4) {
342
- setLevel(null);
343
- try {
344
- if (connection) {
345
- const web3ID2 = await getWeb3ID(connection, account);
346
- if (web3ID2) {
347
- setLevel(_level);
348
- setWeb3ID(web3ID2);
349
- } else {
350
- throw new Error("no web3id");
351
- }
352
- } else {
353
- setShowConnectModal(true);
354
- }
355
- } catch (error) {
356
- setLevel(3);
357
- toast("You haven't minted any WEB3 ID yet. Try to mint at https://dapp.shield.aesirx.io");
358
- }
359
- }
463
+ setLevel(_level);
360
464
  },
361
465
  [level]
362
466
  );
@@ -372,10 +476,10 @@ var useConsentStatus = (endpoint, props) => {
372
476
  show,
373
477
  setShow,
374
478
  web3ID,
479
+ setWeb3ID,
375
480
  handleLevel,
376
481
  showRevoke,
377
- handleRevoke,
378
- showConnectModal
482
+ handleRevoke
379
483
  ];
380
484
  };
381
485
  var useConsentStatus_default = useConsentStatus;
@@ -1016,7 +1120,7 @@ var css = `:root {
1016
1120
  --aesirxconsent-gray-800: #343a40;
1017
1121
  --aesirxconsent-gray-900: #212529;
1018
1122
  --aesirxconsent-primary: #132342;
1019
- --aesirxconsent-secondary: #6c757d;
1123
+ --aesirxconsent-secondary: #627eea;
1020
1124
  --aesirxconsent-success: #1ab394;
1021
1125
  --aesirxconsent-info: #0dcaf0;
1022
1126
  --aesirxconsent-warning: #ffc107;
@@ -1024,7 +1128,7 @@ var css = `:root {
1024
1128
  --aesirxconsent-light: #f8f9fa;
1025
1129
  --aesirxconsent-dark: #212529;
1026
1130
  --aesirxconsent-primary-rgb: 19, 35, 66;
1027
- --aesirxconsent-secondary-rgb: 108, 117, 125;
1131
+ --aesirxconsent-secondary-rgb: 98, 126, 234;
1028
1132
  --aesirxconsent-success-rgb: 26, 179, 148;
1029
1133
  --aesirxconsent-info-rgb: 13, 202, 240;
1030
1134
  --aesirxconsent-warning-rgb: 255, 193, 7;
@@ -1032,7 +1136,7 @@ var css = `:root {
1032
1136
  --aesirxconsent-light-rgb: 248, 249, 250;
1033
1137
  --aesirxconsent-dark-rgb: 33, 37, 41;
1034
1138
  --aesirxconsent-primary-text-emphasis: #080e1a;
1035
- --aesirxconsent-secondary-text-emphasis: #2b2f32;
1139
+ --aesirxconsent-secondary-text-emphasis: #27325e;
1036
1140
  --aesirxconsent-success-text-emphasis: #0a483b;
1037
1141
  --aesirxconsent-info-text-emphasis: #055160;
1038
1142
  --aesirxconsent-warning-text-emphasis: #664d03;
@@ -1040,7 +1144,7 @@ var css = `:root {
1040
1144
  --aesirxconsent-light-text-emphasis: #495057;
1041
1145
  --aesirxconsent-dark-text-emphasis: #495057;
1042
1146
  --aesirxconsent-primary-bg-subtle: #d0d3d9;
1043
- --aesirxconsent-secondary-bg-subtle: #e2e3e5;
1147
+ --aesirxconsent-secondary-bg-subtle: #e0e5fb;
1044
1148
  --aesirxconsent-success-bg-subtle: #d1f0ea;
1045
1149
  --aesirxconsent-info-bg-subtle: #cff4fc;
1046
1150
  --aesirxconsent-warning-bg-subtle: #fff3cd;
@@ -1048,7 +1152,7 @@ var css = `:root {
1048
1152
  --aesirxconsent-light-bg-subtle: #fcfcfd;
1049
1153
  --aesirxconsent-dark-bg-subtle: #ced4da;
1050
1154
  --aesirxconsent-primary-border-subtle: #a1a7b3;
1051
- --aesirxconsent-secondary-border-subtle: #c4c8cb;
1155
+ --aesirxconsent-secondary-border-subtle: #c0cbf7;
1052
1156
  --aesirxconsent-success-border-subtle: #a3e1d4;
1053
1157
  --aesirxconsent-info-border-subtle: #9eeaf9;
1054
1158
  --aesirxconsent-warning-border-subtle: #ffe69c;
@@ -1085,6 +1189,7 @@ var css = `:root {
1085
1189
  --aesirxconsent-link-hover-color: #0f1c35;
1086
1190
  --aesirxconsent-link-hover-color-rgb: 15, 28, 53;
1087
1191
  --aesirxconsent-code-color: #d63384;
1192
+ --aesirxconsent-highlight-color: #212529;
1088
1193
  --aesirxconsent-highlight-bg: #fff3cd;
1089
1194
  --aesirxconsent-border-width: 1px;
1090
1195
  --aesirxconsent-border-style: solid;
@@ -1127,7 +1232,7 @@ var css = `:root {
1127
1232
  --aesirxconsent-tertiary-bg: #2b3035;
1128
1233
  --aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
1129
1234
  --aesirxconsent-primary-text-emphasis: #717b8e;
1130
- --aesirxconsent-secondary-text-emphasis: #a7acb1;
1235
+ --aesirxconsent-secondary-text-emphasis: #a1b2f2;
1131
1236
  --aesirxconsent-success-text-emphasis: #76d1bf;
1132
1237
  --aesirxconsent-info-text-emphasis: #6edff6;
1133
1238
  --aesirxconsent-warning-text-emphasis: #ffda6a;
@@ -1135,7 +1240,7 @@ var css = `:root {
1135
1240
  --aesirxconsent-light-text-emphasis: #f8f9fa;
1136
1241
  --aesirxconsent-dark-text-emphasis: #dee2e6;
1137
1242
  --aesirxconsent-primary-bg-subtle: #04070d;
1138
- --aesirxconsent-secondary-bg-subtle: #161719;
1243
+ --aesirxconsent-secondary-bg-subtle: #14192f;
1139
1244
  --aesirxconsent-success-bg-subtle: #05241e;
1140
1245
  --aesirxconsent-info-bg-subtle: #032830;
1141
1246
  --aesirxconsent-warning-bg-subtle: #332701;
@@ -1143,7 +1248,7 @@ var css = `:root {
1143
1248
  --aesirxconsent-light-bg-subtle: #0c1124;
1144
1249
  --aesirxconsent-dark-bg-subtle: #132342;
1145
1250
  --aesirxconsent-primary-border-subtle: #0b1528;
1146
- --aesirxconsent-secondary-border-subtle: #41464b;
1251
+ --aesirxconsent-secondary-border-subtle: #3b4c8c;
1147
1252
  --aesirxconsent-success-border-subtle: #106b59;
1148
1253
  --aesirxconsent-info-border-subtle: #087990;
1149
1254
  --aesirxconsent-warning-border-subtle: #997404;
@@ -1156,6 +1261,8 @@ var css = `:root {
1156
1261
  --aesirxconsent-link-color-rgb: 255, 255, 255;
1157
1262
  --aesirxconsent-link-hover-color-rgb: 255, 255, 255;
1158
1263
  --aesirxconsent-code-color: #e685b5;
1264
+ --aesirxconsent-highlight-color: #dee2e6;
1265
+ --aesirxconsent-highlight-bg: #664d03;
1159
1266
  --aesirxconsent-border-color: #1e4284;
1160
1267
  --aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
1161
1268
  --aesirxconsent-form-valid-color: #75b798;
@@ -1164,7 +1271,15 @@ var css = `:root {
1164
1271
  --aesirxconsent-form-invalid-border-color: #ea868f;
1165
1272
  }
1166
1273
 
1167
- .modal {
1274
+ .aesirxconsent {
1275
+ /* rtl:begin:remove */
1276
+ /* rtl:end:remove */
1277
+ color: #5f5e70;
1278
+ font-size: 16px;
1279
+ --w3m-z-index: 1060;
1280
+ --aesirxconsent-modal-margin: 1.75rem;
1281
+ }
1282
+ .aesirxconsent .modal {
1168
1283
  --aesirxconsent-modal-zindex: 1055;
1169
1284
  --aesirxconsent-modal-width: 500px;
1170
1285
  --aesirxconsent-modal-padding: 16px;
@@ -1174,7 +1289,7 @@ var css = `:root {
1174
1289
  --aesirxconsent-modal-border-color: var(--aesirxconsent-border-color-translucent);
1175
1290
  --aesirxconsent-modal-border-width: var(--aesirxconsent-border-width);
1176
1291
  --aesirxconsent-modal-border-radius: var(--aesirxconsent-border-radius-lg);
1177
- --aesirxconsent-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
1292
+ --aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow-sm);
1178
1293
  --aesirxconsent-modal-inner-border-radius: calc(var(--aesirxconsent-border-radius-lg) - (var(--aesirxconsent-border-width)));
1179
1294
  --aesirxconsent-modal-header-padding-x: 16px;
1180
1295
  --aesirxconsent-modal-header-padding-y: 16px;
@@ -1197,47 +1312,43 @@ var css = `:root {
1197
1312
  overflow-y: auto;
1198
1313
  outline: 0;
1199
1314
  }
1200
-
1201
- .modal-dialog {
1315
+ .aesirxconsent .modal-dialog {
1202
1316
  position: relative;
1203
1317
  width: auto;
1204
1318
  margin: var(--aesirxconsent-modal-margin);
1205
1319
  pointer-events: none;
1206
1320
  }
1207
- .modal.fade .modal-dialog {
1321
+ .modal.fade .aesirxconsent .modal-dialog {
1208
1322
  transition: transform 0.3s ease-out;
1209
1323
  transform: translate(0, -50px);
1210
1324
  }
1211
1325
  @media (prefers-reduced-motion: reduce) {
1212
- .modal.fade .modal-dialog {
1326
+ .modal.fade .aesirxconsent .modal-dialog {
1213
1327
  transition: none;
1214
1328
  }
1215
1329
  }
1216
- .modal.show .modal-dialog {
1330
+ .modal.show .aesirxconsent .modal-dialog {
1217
1331
  transform: none;
1218
1332
  }
1219
- .modal.modal-static .modal-dialog {
1333
+ .modal.modal-static .aesirxconsent .modal-dialog {
1220
1334
  transform: scale(1.02);
1221
1335
  }
1222
-
1223
- .modal-dialog-scrollable {
1336
+ .aesirxconsent .modal-dialog-scrollable {
1224
1337
  height: calc(100% - var(--aesirxconsent-modal-margin) * 2);
1225
1338
  }
1226
- .modal-dialog-scrollable .modal-content {
1339
+ .aesirxconsent .modal-dialog-scrollable .modal-content {
1227
1340
  max-height: 100%;
1228
1341
  overflow: hidden;
1229
1342
  }
1230
- .modal-dialog-scrollable .modal-body {
1343
+ .aesirxconsent .modal-dialog-scrollable .modal-body {
1231
1344
  overflow-y: auto;
1232
1345
  }
1233
-
1234
- .modal-dialog-centered {
1346
+ .aesirxconsent .modal-dialog-centered {
1235
1347
  display: flex;
1236
1348
  align-items: center;
1237
1349
  min-height: calc(100% - var(--aesirxconsent-modal-margin) * 2);
1238
1350
  }
1239
-
1240
- .modal-content {
1351
+ .aesirxconsent .modal-content {
1241
1352
  position: relative;
1242
1353
  display: flex;
1243
1354
  flex-direction: column;
@@ -1250,8 +1361,7 @@ var css = `:root {
1250
1361
  border-radius: var(--aesirxconsent-modal-border-radius);
1251
1362
  outline: 0;
1252
1363
  }
1253
-
1254
- .modal-backdrop {
1364
+ .aesirxconsent .modal-backdrop {
1255
1365
  --aesirxconsent-backdrop-zindex: 1050;
1256
1366
  --aesirxconsent-backdrop-bg: #000;
1257
1367
  --aesirxconsent-backdrop-opacity: 0.5;
@@ -1263,14 +1373,13 @@ var css = `:root {
1263
1373
  height: 100vh;
1264
1374
  background-color: var(--aesirxconsent-backdrop-bg);
1265
1375
  }
1266
- .modal-backdrop.fade {
1376
+ .aesirxconsent .modal-backdrop.fade {
1267
1377
  opacity: 0;
1268
1378
  }
1269
- .modal-backdrop.show {
1379
+ .aesirxconsent .modal-backdrop.show {
1270
1380
  opacity: var(--aesirxconsent-backdrop-opacity);
1271
1381
  }
1272
-
1273
- .modal-header {
1382
+ .aesirxconsent .modal-header {
1274
1383
  display: flex;
1275
1384
  flex-shrink: 0;
1276
1385
  align-items: center;
@@ -1280,23 +1389,20 @@ var css = `:root {
1280
1389
  border-top-left-radius: var(--aesirxconsent-modal-inner-border-radius);
1281
1390
  border-top-right-radius: var(--aesirxconsent-modal-inner-border-radius);
1282
1391
  }
1283
- .modal-header .btn-close {
1392
+ .aesirxconsent .modal-header .btn-close {
1284
1393
  padding: calc(var(--aesirxconsent-modal-header-padding-y) * 0.5) calc(var(--aesirxconsent-modal-header-padding-x) * 0.5);
1285
1394
  margin: calc(-0.5 * var(--aesirxconsent-modal-header-padding-y)) calc(-0.5 * var(--aesirxconsent-modal-header-padding-x)) calc(-0.5 * var(--aesirxconsent-modal-header-padding-y)) auto;
1286
1395
  }
1287
-
1288
- .modal-title {
1396
+ .aesirxconsent .modal-title {
1289
1397
  margin-bottom: 0;
1290
1398
  line-height: var(--aesirxconsent-modal-title-line-height);
1291
1399
  }
1292
-
1293
- .modal-body {
1400
+ .aesirxconsent .modal-body {
1294
1401
  position: relative;
1295
1402
  flex: 1 1 auto;
1296
1403
  padding: var(--aesirxconsent-modal-padding);
1297
1404
  }
1298
-
1299
- .modal-footer {
1405
+ .aesirxconsent .modal-footer {
1300
1406
  display: flex;
1301
1407
  flex-shrink: 0;
1302
1408
  flex-wrap: wrap;
@@ -1308,160 +1414,152 @@ var css = `:root {
1308
1414
  border-bottom-right-radius: var(--aesirxconsent-modal-inner-border-radius);
1309
1415
  border-bottom-left-radius: var(--aesirxconsent-modal-inner-border-radius);
1310
1416
  }
1311
- .modal-footer > * {
1417
+ .aesirxconsent .modal-footer > * {
1312
1418
  margin: calc(var(--aesirxconsent-modal-footer-gap) * 0.5);
1313
1419
  }
1314
-
1315
1420
  @media (min-width: 576px) {
1316
- .modal {
1421
+ .aesirxconsent .modal {
1317
1422
  --aesirxconsent-modal-margin: 1.75rem;
1318
- --aesirxconsent-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
1423
+ --aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow);
1319
1424
  }
1320
- .modal-dialog {
1425
+ .aesirxconsent .modal-dialog {
1321
1426
  max-width: var(--aesirxconsent-modal-width);
1322
1427
  margin-right: auto;
1323
1428
  margin-left: auto;
1324
1429
  }
1325
- .modal-sm {
1430
+ .aesirxconsent .modal-sm {
1326
1431
  --aesirxconsent-modal-width: 300px;
1327
1432
  }
1328
1433
  }
1329
1434
  @media (min-width: 992px) {
1330
- .modal-lg,
1331
- .modal-xl {
1435
+ .aesirxconsent .modal-lg,
1436
+ .aesirxconsent .modal-xl {
1332
1437
  --aesirxconsent-modal-width: 800px;
1333
1438
  }
1334
1439
  }
1335
1440
  @media (min-width: 1200px) {
1336
- .modal-xl {
1441
+ .aesirxconsent .modal-xl {
1337
1442
  --aesirxconsent-modal-width: 1140px;
1338
1443
  }
1339
1444
  }
1340
- .modal-fullscreen {
1445
+ .aesirxconsent .modal-fullscreen {
1341
1446
  width: 100vw;
1342
1447
  max-width: none;
1343
1448
  height: 100%;
1344
1449
  margin: 0;
1345
1450
  }
1346
- .modal-fullscreen .modal-content {
1451
+ .aesirxconsent .modal-fullscreen .modal-content {
1347
1452
  height: 100%;
1348
1453
  border: 0;
1349
1454
  border-radius: 0;
1350
1455
  }
1351
- .modal-fullscreen .modal-header,
1352
- .modal-fullscreen .modal-footer {
1456
+ .aesirxconsent .modal-fullscreen .modal-header,
1457
+ .aesirxconsent .modal-fullscreen .modal-footer {
1353
1458
  border-radius: 0;
1354
1459
  }
1355
- .modal-fullscreen .modal-body {
1460
+ .aesirxconsent .modal-fullscreen .modal-body {
1356
1461
  overflow-y: auto;
1357
1462
  }
1358
-
1359
1463
  @media (max-width: 575.98px) {
1360
- .modal-fullscreen-sm-down {
1464
+ .aesirxconsent .modal-fullscreen-sm-down {
1361
1465
  width: 100vw;
1362
1466
  max-width: none;
1363
1467
  height: 100%;
1364
1468
  margin: 0;
1365
1469
  }
1366
- .modal-fullscreen-sm-down .modal-content {
1470
+ .aesirxconsent .modal-fullscreen-sm-down .modal-content {
1367
1471
  height: 100%;
1368
1472
  border: 0;
1369
1473
  border-radius: 0;
1370
1474
  }
1371
- .modal-fullscreen-sm-down .modal-header,
1372
- .modal-fullscreen-sm-down .modal-footer {
1475
+ .aesirxconsent .modal-fullscreen-sm-down .modal-header,
1476
+ .aesirxconsent .modal-fullscreen-sm-down .modal-footer {
1373
1477
  border-radius: 0;
1374
1478
  }
1375
- .modal-fullscreen-sm-down .modal-body {
1479
+ .aesirxconsent .modal-fullscreen-sm-down .modal-body {
1376
1480
  overflow-y: auto;
1377
1481
  }
1378
1482
  }
1379
1483
  @media (max-width: 767.98px) {
1380
- .modal-fullscreen-md-down {
1484
+ .aesirxconsent .modal-fullscreen-md-down {
1381
1485
  width: 100vw;
1382
1486
  max-width: none;
1383
1487
  height: 100%;
1384
1488
  margin: 0;
1385
1489
  }
1386
- .modal-fullscreen-md-down .modal-content {
1490
+ .aesirxconsent .modal-fullscreen-md-down .modal-content {
1387
1491
  height: 100%;
1388
1492
  border: 0;
1389
1493
  border-radius: 0;
1390
1494
  }
1391
- .modal-fullscreen-md-down .modal-header,
1392
- .modal-fullscreen-md-down .modal-footer {
1495
+ .aesirxconsent .modal-fullscreen-md-down .modal-header,
1496
+ .aesirxconsent .modal-fullscreen-md-down .modal-footer {
1393
1497
  border-radius: 0;
1394
1498
  }
1395
- .modal-fullscreen-md-down .modal-body {
1499
+ .aesirxconsent .modal-fullscreen-md-down .modal-body {
1396
1500
  overflow-y: auto;
1397
1501
  }
1398
1502
  }
1399
1503
  @media (max-width: 991.98px) {
1400
- .modal-fullscreen-lg-down {
1504
+ .aesirxconsent .modal-fullscreen-lg-down {
1401
1505
  width: 100vw;
1402
1506
  max-width: none;
1403
1507
  height: 100%;
1404
1508
  margin: 0;
1405
1509
  }
1406
- .modal-fullscreen-lg-down .modal-content {
1510
+ .aesirxconsent .modal-fullscreen-lg-down .modal-content {
1407
1511
  height: 100%;
1408
1512
  border: 0;
1409
1513
  border-radius: 0;
1410
1514
  }
1411
- .modal-fullscreen-lg-down .modal-header,
1412
- .modal-fullscreen-lg-down .modal-footer {
1515
+ .aesirxconsent .modal-fullscreen-lg-down .modal-header,
1516
+ .aesirxconsent .modal-fullscreen-lg-down .modal-footer {
1413
1517
  border-radius: 0;
1414
1518
  }
1415
- .modal-fullscreen-lg-down .modal-body {
1519
+ .aesirxconsent .modal-fullscreen-lg-down .modal-body {
1416
1520
  overflow-y: auto;
1417
1521
  }
1418
1522
  }
1419
1523
  @media (max-width: 1199.98px) {
1420
- .modal-fullscreen-xl-down {
1524
+ .aesirxconsent .modal-fullscreen-xl-down {
1421
1525
  width: 100vw;
1422
1526
  max-width: none;
1423
1527
  height: 100%;
1424
1528
  margin: 0;
1425
1529
  }
1426
- .modal-fullscreen-xl-down .modal-content {
1530
+ .aesirxconsent .modal-fullscreen-xl-down .modal-content {
1427
1531
  height: 100%;
1428
1532
  border: 0;
1429
1533
  border-radius: 0;
1430
1534
  }
1431
- .modal-fullscreen-xl-down .modal-header,
1432
- .modal-fullscreen-xl-down .modal-footer {
1535
+ .aesirxconsent .modal-fullscreen-xl-down .modal-header,
1536
+ .aesirxconsent .modal-fullscreen-xl-down .modal-footer {
1433
1537
  border-radius: 0;
1434
1538
  }
1435
- .modal-fullscreen-xl-down .modal-body {
1539
+ .aesirxconsent .modal-fullscreen-xl-down .modal-body {
1436
1540
  overflow-y: auto;
1437
1541
  }
1438
1542
  }
1439
1543
  @media (max-width: 1399.98px) {
1440
- .modal-fullscreen-xxl-down {
1544
+ .aesirxconsent .modal-fullscreen-xxl-down {
1441
1545
  width: 100vw;
1442
1546
  max-width: none;
1443
1547
  height: 100%;
1444
1548
  margin: 0;
1445
1549
  }
1446
- .modal-fullscreen-xxl-down .modal-content {
1550
+ .aesirxconsent .modal-fullscreen-xxl-down .modal-content {
1447
1551
  height: 100%;
1448
1552
  border: 0;
1449
1553
  border-radius: 0;
1450
1554
  }
1451
- .modal-fullscreen-xxl-down .modal-header,
1452
- .modal-fullscreen-xxl-down .modal-footer {
1555
+ .aesirxconsent .modal-fullscreen-xxl-down .modal-header,
1556
+ .aesirxconsent .modal-fullscreen-xxl-down .modal-footer {
1453
1557
  border-radius: 0;
1454
1558
  }
1455
- .modal-fullscreen-xxl-down .modal-body {
1559
+ .aesirxconsent .modal-fullscreen-xxl-down .modal-body {
1456
1560
  overflow-y: auto;
1457
1561
  }
1458
1562
  }
1459
- .aesirxconsent {
1460
- /* rtl:begin:remove */
1461
- /* rtl:end:remove */
1462
- color: #5f5e70;
1463
- font-size: 16px;
1464
- }
1465
1563
  .aesirxconsent .offcanvas, .aesirxconsent .offcanvas-xxl, .aesirxconsent .offcanvas-xl, .aesirxconsent .offcanvas-lg, .aesirxconsent .offcanvas-md, .aesirxconsent .offcanvas-sm {
1466
1564
  --aesirxconsent-offcanvas-zindex: 1045;
1467
1565
  --aesirxconsent-offcanvas-width: 400px;
@@ -1472,7 +1570,7 @@ var css = `:root {
1472
1570
  --aesirxconsent-offcanvas-bg: var(--aesirxconsent-body-bg);
1473
1571
  --aesirxconsent-offcanvas-border-width: var(--aesirxconsent-border-width);
1474
1572
  --aesirxconsent-offcanvas-border-color: var(--aesirxconsent-border-color-translucent);
1475
- --aesirxconsent-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
1573
+ --aesirxconsent-offcanvas-box-shadow: var(--aesirxconsent-box-shadow-sm);
1476
1574
  --aesirxconsent-offcanvas-transition: transform 0.3s ease-in-out;
1477
1575
  --aesirxconsent-offcanvas-title-line-height: 1.5;
1478
1576
  }
@@ -2045,20 +2143,20 @@ var css = `:root {
2045
2143
  --aesirxconsent-btn-disabled-border-color: #132342;
2046
2144
  }
2047
2145
  .aesirxconsent .btn-secondary {
2048
- --aesirxconsent-btn-color: #fff;
2049
- --aesirxconsent-btn-bg: #6c757d;
2050
- --aesirxconsent-btn-border-color: #6c757d;
2051
- --aesirxconsent-btn-hover-color: #fff;
2052
- --aesirxconsent-btn-hover-bg: #5c636a;
2053
- --aesirxconsent-btn-hover-border-color: #565e64;
2054
- --aesirxconsent-btn-focus-shadow-rgb: 130, 138, 145;
2055
- --aesirxconsent-btn-active-color: #fff;
2056
- --aesirxconsent-btn-active-bg: #565e64;
2057
- --aesirxconsent-btn-active-border-color: #51585e;
2146
+ --aesirxconsent-btn-color: #000;
2147
+ --aesirxconsent-btn-bg: #627eea;
2148
+ --aesirxconsent-btn-border-color: #627eea;
2149
+ --aesirxconsent-btn-hover-color: #000;
2150
+ --aesirxconsent-btn-hover-bg: #7a91ed;
2151
+ --aesirxconsent-btn-hover-border-color: #728bec;
2152
+ --aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
2153
+ --aesirxconsent-btn-active-color: #000;
2154
+ --aesirxconsent-btn-active-bg: #8198ee;
2155
+ --aesirxconsent-btn-active-border-color: #728bec;
2058
2156
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2059
- --aesirxconsent-btn-disabled-color: #fff;
2060
- --aesirxconsent-btn-disabled-bg: #6c757d;
2061
- --aesirxconsent-btn-disabled-border-color: #6c757d;
2157
+ --aesirxconsent-btn-disabled-color: #000;
2158
+ --aesirxconsent-btn-disabled-bg: #627eea;
2159
+ --aesirxconsent-btn-disabled-border-color: #627eea;
2062
2160
  }
2063
2161
  .aesirxconsent .btn-success {
2064
2162
  --aesirxconsent-btn-color: #000;
@@ -2173,19 +2271,19 @@ var css = `:root {
2173
2271
  --aesirxconsent-gradient: none;
2174
2272
  }
2175
2273
  .aesirxconsent .btn-outline-secondary {
2176
- --aesirxconsent-btn-color: #6c757d;
2177
- --aesirxconsent-btn-border-color: #6c757d;
2178
- --aesirxconsent-btn-hover-color: #fff;
2179
- --aesirxconsent-btn-hover-bg: #6c757d;
2180
- --aesirxconsent-btn-hover-border-color: #6c757d;
2181
- --aesirxconsent-btn-focus-shadow-rgb: 108, 117, 125;
2182
- --aesirxconsent-btn-active-color: #fff;
2183
- --aesirxconsent-btn-active-bg: #6c757d;
2184
- --aesirxconsent-btn-active-border-color: #6c757d;
2274
+ --aesirxconsent-btn-color: #627eea;
2275
+ --aesirxconsent-btn-border-color: #627eea;
2276
+ --aesirxconsent-btn-hover-color: #000;
2277
+ --aesirxconsent-btn-hover-bg: #627eea;
2278
+ --aesirxconsent-btn-hover-border-color: #627eea;
2279
+ --aesirxconsent-btn-focus-shadow-rgb: 98, 126, 234;
2280
+ --aesirxconsent-btn-active-color: #000;
2281
+ --aesirxconsent-btn-active-bg: #627eea;
2282
+ --aesirxconsent-btn-active-border-color: #627eea;
2185
2283
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2186
- --aesirxconsent-btn-disabled-color: #6c757d;
2284
+ --aesirxconsent-btn-disabled-color: #627eea;
2187
2285
  --aesirxconsent-btn-disabled-bg: transparent;
2188
- --aesirxconsent-btn-disabled-border-color: #6c757d;
2286
+ --aesirxconsent-btn-disabled-border-color: #627eea;
2189
2287
  --aesirxconsent-gradient: none;
2190
2288
  }
2191
2289
  .aesirxconsent .btn-outline-success {
@@ -2367,7 +2465,7 @@ var css = `:root {
2367
2465
  background-color: RGBA(var(--aesirxconsent-primary-rgb), var(--aesirxconsent-bg-opacity, 1));
2368
2466
  }
2369
2467
  .aesirxconsent .text-bg-secondary {
2370
- color: #fff;
2468
+ color: #000;
2371
2469
  background-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-bg-opacity, 1));
2372
2470
  }
2373
2471
  .aesirxconsent .text-bg-success {
@@ -2407,8 +2505,8 @@ var css = `:root {
2407
2505
  text-decoration-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-link-underline-opacity, 1));
2408
2506
  }
2409
2507
  .aesirxconsent .link-secondary:hover, .aesirxconsent .link-secondary:focus {
2410
- color: RGBA(86, 94, 100, var(--aesirxconsent-link-opacity, 1));
2411
- text-decoration-color: RGBA(86, 94, 100, var(--aesirxconsent-link-underline-opacity, 1));
2508
+ color: RGBA(129, 152, 238, var(--aesirxconsent-link-opacity, 1));
2509
+ text-decoration-color: RGBA(129, 152, 238, var(--aesirxconsent-link-underline-opacity, 1));
2412
2510
  }
2413
2511
  .aesirxconsent .link-success {
2414
2512
  color: RGBA(var(--aesirxconsent-success-rgb), var(--aesirxconsent-link-opacity, 1));
@@ -2947,37 +3045,1071 @@ var css = `:root {
2947
3045
  display: flex;
2948
3046
  flex-flow: row wrap;
2949
3047
  }
2950
- .aesirxconsent .card-group > .card {
2951
- flex: 1 0 0%;
2952
- margin-bottom: 0;
3048
+ .aesirxconsent .card-group > .card {
3049
+ flex: 1 0 0%;
3050
+ margin-bottom: 0;
3051
+ }
3052
+ .aesirxconsent .card-group > .card + .card {
3053
+ margin-left: 0;
3054
+ border-left: 0;
3055
+ }
3056
+ .aesirxconsent .card-group > .card:not(:last-child) {
3057
+ border-top-right-radius: 0;
3058
+ border-bottom-right-radius: 0;
3059
+ }
3060
+ .aesirxconsent .card-group > .card:not(:last-child) .card-img-top,
3061
+ .aesirxconsent .card-group > .card:not(:last-child) .card-header {
3062
+ border-top-right-radius: 0;
3063
+ }
3064
+ .aesirxconsent .card-group > .card:not(:last-child) .card-img-bottom,
3065
+ .aesirxconsent .card-group > .card:not(:last-child) .card-footer {
3066
+ border-bottom-right-radius: 0;
3067
+ }
3068
+ .aesirxconsent .card-group > .card:not(:first-child) {
3069
+ border-top-left-radius: 0;
3070
+ border-bottom-left-radius: 0;
3071
+ }
3072
+ .aesirxconsent .card-group > .card:not(:first-child) .card-img-top,
3073
+ .aesirxconsent .card-group > .card:not(:first-child) .card-header {
3074
+ border-top-left-radius: 0;
3075
+ }
3076
+ .aesirxconsent .card-group > .card:not(:first-child) .card-img-bottom,
3077
+ .aesirxconsent .card-group > .card:not(:first-child) .card-footer {
3078
+ border-bottom-left-radius: 0;
3079
+ }
3080
+ }
3081
+ .aesirxconsent :root {
3082
+ --aesirxconsent-breakpoint-xs: 0;
3083
+ --aesirxconsent-breakpoint-sm: 576px;
3084
+ --aesirxconsent-breakpoint-md: 768px;
3085
+ --aesirxconsent-breakpoint-lg: 992px;
3086
+ --aesirxconsent-breakpoint-xl: 1200px;
3087
+ --aesirxconsent-breakpoint-xxl: 1400px;
3088
+ }
3089
+ .aesirxconsent .row {
3090
+ --aesirxconsent-gutter-x: 1.5rem;
3091
+ --aesirxconsent-gutter-y: 0;
3092
+ display: flex;
3093
+ flex-wrap: wrap;
3094
+ margin-top: calc(-1 * var(--aesirxconsent-gutter-y));
3095
+ margin-right: calc(-0.5 * var(--aesirxconsent-gutter-x));
3096
+ margin-left: calc(-0.5 * var(--aesirxconsent-gutter-x));
3097
+ }
3098
+ .aesirxconsent .row > * {
3099
+ flex-shrink: 0;
3100
+ width: 100%;
3101
+ max-width: 100%;
3102
+ padding-right: calc(var(--aesirxconsent-gutter-x) * 0.5);
3103
+ padding-left: calc(var(--aesirxconsent-gutter-x) * 0.5);
3104
+ margin-top: var(--aesirxconsent-gutter-y);
3105
+ }
3106
+ .aesirxconsent .col {
3107
+ flex: 1 0 0%;
3108
+ }
3109
+ .aesirxconsent .row-cols-auto > * {
3110
+ flex: 0 0 auto;
3111
+ width: auto;
3112
+ }
3113
+ .aesirxconsent .row-cols-1 > * {
3114
+ flex: 0 0 auto;
3115
+ width: 100%;
3116
+ }
3117
+ .aesirxconsent .row-cols-2 > * {
3118
+ flex: 0 0 auto;
3119
+ width: 50%;
3120
+ }
3121
+ .aesirxconsent .row-cols-3 > * {
3122
+ flex: 0 0 auto;
3123
+ width: 33.33333333%;
3124
+ }
3125
+ .aesirxconsent .row-cols-4 > * {
3126
+ flex: 0 0 auto;
3127
+ width: 25%;
3128
+ }
3129
+ .aesirxconsent .row-cols-5 > * {
3130
+ flex: 0 0 auto;
3131
+ width: 20%;
3132
+ }
3133
+ .aesirxconsent .row-cols-6 > * {
3134
+ flex: 0 0 auto;
3135
+ width: 16.66666667%;
3136
+ }
3137
+ .aesirxconsent .col-auto {
3138
+ flex: 0 0 auto;
3139
+ width: auto;
3140
+ }
3141
+ .aesirxconsent .col-1 {
3142
+ flex: 0 0 auto;
3143
+ width: 8.33333333%;
3144
+ }
3145
+ .aesirxconsent .col-2 {
3146
+ flex: 0 0 auto;
3147
+ width: 16.66666667%;
3148
+ }
3149
+ .aesirxconsent .col-3 {
3150
+ flex: 0 0 auto;
3151
+ width: 25%;
3152
+ }
3153
+ .aesirxconsent .col-4 {
3154
+ flex: 0 0 auto;
3155
+ width: 33.33333333%;
3156
+ }
3157
+ .aesirxconsent .col-5 {
3158
+ flex: 0 0 auto;
3159
+ width: 41.66666667%;
3160
+ }
3161
+ .aesirxconsent .col-6 {
3162
+ flex: 0 0 auto;
3163
+ width: 50%;
3164
+ }
3165
+ .aesirxconsent .col-7 {
3166
+ flex: 0 0 auto;
3167
+ width: 58.33333333%;
3168
+ }
3169
+ .aesirxconsent .col-8 {
3170
+ flex: 0 0 auto;
3171
+ width: 66.66666667%;
3172
+ }
3173
+ .aesirxconsent .col-9 {
3174
+ flex: 0 0 auto;
3175
+ width: 75%;
3176
+ }
3177
+ .aesirxconsent .col-10 {
3178
+ flex: 0 0 auto;
3179
+ width: 83.33333333%;
3180
+ }
3181
+ .aesirxconsent .col-11 {
3182
+ flex: 0 0 auto;
3183
+ width: 91.66666667%;
3184
+ }
3185
+ .aesirxconsent .col-12 {
3186
+ flex: 0 0 auto;
3187
+ width: 100%;
3188
+ }
3189
+ .aesirxconsent .offset-1 {
3190
+ margin-left: 8.33333333%;
3191
+ }
3192
+ .aesirxconsent .offset-2 {
3193
+ margin-left: 16.66666667%;
3194
+ }
3195
+ .aesirxconsent .offset-3 {
3196
+ margin-left: 25%;
3197
+ }
3198
+ .aesirxconsent .offset-4 {
3199
+ margin-left: 33.33333333%;
3200
+ }
3201
+ .aesirxconsent .offset-5 {
3202
+ margin-left: 41.66666667%;
3203
+ }
3204
+ .aesirxconsent .offset-6 {
3205
+ margin-left: 50%;
3206
+ }
3207
+ .aesirxconsent .offset-7 {
3208
+ margin-left: 58.33333333%;
3209
+ }
3210
+ .aesirxconsent .offset-8 {
3211
+ margin-left: 66.66666667%;
3212
+ }
3213
+ .aesirxconsent .offset-9 {
3214
+ margin-left: 75%;
3215
+ }
3216
+ .aesirxconsent .offset-10 {
3217
+ margin-left: 83.33333333%;
3218
+ }
3219
+ .aesirxconsent .offset-11 {
3220
+ margin-left: 91.66666667%;
3221
+ }
3222
+ .aesirxconsent .g-0,
3223
+ .aesirxconsent .gx-0 {
3224
+ --aesirxconsent-gutter-x: 0;
3225
+ }
3226
+ .aesirxconsent .g-0,
3227
+ .aesirxconsent .gy-0 {
3228
+ --aesirxconsent-gutter-y: 0;
3229
+ }
3230
+ .aesirxconsent .g-1,
3231
+ .aesirxconsent .gx-1 {
3232
+ --aesirxconsent-gutter-x: 4px;
3233
+ }
3234
+ .aesirxconsent .g-1,
3235
+ .aesirxconsent .gy-1 {
3236
+ --aesirxconsent-gutter-y: 4px;
3237
+ }
3238
+ .aesirxconsent .g-2,
3239
+ .aesirxconsent .gx-2 {
3240
+ --aesirxconsent-gutter-x: 8px;
3241
+ }
3242
+ .aesirxconsent .g-2,
3243
+ .aesirxconsent .gy-2 {
3244
+ --aesirxconsent-gutter-y: 8px;
3245
+ }
3246
+ .aesirxconsent .g-3,
3247
+ .aesirxconsent .gx-3 {
3248
+ --aesirxconsent-gutter-x: 16px;
3249
+ }
3250
+ .aesirxconsent .g-3,
3251
+ .aesirxconsent .gy-3 {
3252
+ --aesirxconsent-gutter-y: 16px;
3253
+ }
3254
+ .aesirxconsent .g-4,
3255
+ .aesirxconsent .gx-4 {
3256
+ --aesirxconsent-gutter-x: 24px;
3257
+ }
3258
+ .aesirxconsent .g-4,
3259
+ .aesirxconsent .gy-4 {
3260
+ --aesirxconsent-gutter-y: 24px;
3261
+ }
3262
+ .aesirxconsent .g-5,
3263
+ .aesirxconsent .gx-5 {
3264
+ --aesirxconsent-gutter-x: 48px;
3265
+ }
3266
+ .aesirxconsent .g-5,
3267
+ .aesirxconsent .gy-5 {
3268
+ --aesirxconsent-gutter-y: 48px;
3269
+ }
3270
+ @media (min-width: 576px) {
3271
+ .aesirxconsent .col-sm {
3272
+ flex: 1 0 0%;
3273
+ }
3274
+ .aesirxconsent .row-cols-sm-auto > * {
3275
+ flex: 0 0 auto;
3276
+ width: auto;
3277
+ }
3278
+ .aesirxconsent .row-cols-sm-1 > * {
3279
+ flex: 0 0 auto;
3280
+ width: 100%;
3281
+ }
3282
+ .aesirxconsent .row-cols-sm-2 > * {
3283
+ flex: 0 0 auto;
3284
+ width: 50%;
3285
+ }
3286
+ .aesirxconsent .row-cols-sm-3 > * {
3287
+ flex: 0 0 auto;
3288
+ width: 33.33333333%;
3289
+ }
3290
+ .aesirxconsent .row-cols-sm-4 > * {
3291
+ flex: 0 0 auto;
3292
+ width: 25%;
3293
+ }
3294
+ .aesirxconsent .row-cols-sm-5 > * {
3295
+ flex: 0 0 auto;
3296
+ width: 20%;
3297
+ }
3298
+ .aesirxconsent .row-cols-sm-6 > * {
3299
+ flex: 0 0 auto;
3300
+ width: 16.66666667%;
3301
+ }
3302
+ .aesirxconsent .col-sm-auto {
3303
+ flex: 0 0 auto;
3304
+ width: auto;
3305
+ }
3306
+ .aesirxconsent .col-sm-1 {
3307
+ flex: 0 0 auto;
3308
+ width: 8.33333333%;
3309
+ }
3310
+ .aesirxconsent .col-sm-2 {
3311
+ flex: 0 0 auto;
3312
+ width: 16.66666667%;
3313
+ }
3314
+ .aesirxconsent .col-sm-3 {
3315
+ flex: 0 0 auto;
3316
+ width: 25%;
3317
+ }
3318
+ .aesirxconsent .col-sm-4 {
3319
+ flex: 0 0 auto;
3320
+ width: 33.33333333%;
3321
+ }
3322
+ .aesirxconsent .col-sm-5 {
3323
+ flex: 0 0 auto;
3324
+ width: 41.66666667%;
3325
+ }
3326
+ .aesirxconsent .col-sm-6 {
3327
+ flex: 0 0 auto;
3328
+ width: 50%;
3329
+ }
3330
+ .aesirxconsent .col-sm-7 {
3331
+ flex: 0 0 auto;
3332
+ width: 58.33333333%;
3333
+ }
3334
+ .aesirxconsent .col-sm-8 {
3335
+ flex: 0 0 auto;
3336
+ width: 66.66666667%;
3337
+ }
3338
+ .aesirxconsent .col-sm-9 {
3339
+ flex: 0 0 auto;
3340
+ width: 75%;
3341
+ }
3342
+ .aesirxconsent .col-sm-10 {
3343
+ flex: 0 0 auto;
3344
+ width: 83.33333333%;
3345
+ }
3346
+ .aesirxconsent .col-sm-11 {
3347
+ flex: 0 0 auto;
3348
+ width: 91.66666667%;
3349
+ }
3350
+ .aesirxconsent .col-sm-12 {
3351
+ flex: 0 0 auto;
3352
+ width: 100%;
3353
+ }
3354
+ .aesirxconsent .offset-sm-0 {
3355
+ margin-left: 0;
3356
+ }
3357
+ .aesirxconsent .offset-sm-1 {
3358
+ margin-left: 8.33333333%;
3359
+ }
3360
+ .aesirxconsent .offset-sm-2 {
3361
+ margin-left: 16.66666667%;
3362
+ }
3363
+ .aesirxconsent .offset-sm-3 {
3364
+ margin-left: 25%;
3365
+ }
3366
+ .aesirxconsent .offset-sm-4 {
3367
+ margin-left: 33.33333333%;
3368
+ }
3369
+ .aesirxconsent .offset-sm-5 {
3370
+ margin-left: 41.66666667%;
3371
+ }
3372
+ .aesirxconsent .offset-sm-6 {
3373
+ margin-left: 50%;
3374
+ }
3375
+ .aesirxconsent .offset-sm-7 {
3376
+ margin-left: 58.33333333%;
3377
+ }
3378
+ .aesirxconsent .offset-sm-8 {
3379
+ margin-left: 66.66666667%;
3380
+ }
3381
+ .aesirxconsent .offset-sm-9 {
3382
+ margin-left: 75%;
3383
+ }
3384
+ .aesirxconsent .offset-sm-10 {
3385
+ margin-left: 83.33333333%;
3386
+ }
3387
+ .aesirxconsent .offset-sm-11 {
3388
+ margin-left: 91.66666667%;
3389
+ }
3390
+ .aesirxconsent .g-sm-0,
3391
+ .aesirxconsent .gx-sm-0 {
3392
+ --aesirxconsent-gutter-x: 0;
3393
+ }
3394
+ .aesirxconsent .g-sm-0,
3395
+ .aesirxconsent .gy-sm-0 {
3396
+ --aesirxconsent-gutter-y: 0;
3397
+ }
3398
+ .aesirxconsent .g-sm-1,
3399
+ .aesirxconsent .gx-sm-1 {
3400
+ --aesirxconsent-gutter-x: 4px;
3401
+ }
3402
+ .aesirxconsent .g-sm-1,
3403
+ .aesirxconsent .gy-sm-1 {
3404
+ --aesirxconsent-gutter-y: 4px;
3405
+ }
3406
+ .aesirxconsent .g-sm-2,
3407
+ .aesirxconsent .gx-sm-2 {
3408
+ --aesirxconsent-gutter-x: 8px;
3409
+ }
3410
+ .aesirxconsent .g-sm-2,
3411
+ .aesirxconsent .gy-sm-2 {
3412
+ --aesirxconsent-gutter-y: 8px;
3413
+ }
3414
+ .aesirxconsent .g-sm-3,
3415
+ .aesirxconsent .gx-sm-3 {
3416
+ --aesirxconsent-gutter-x: 16px;
3417
+ }
3418
+ .aesirxconsent .g-sm-3,
3419
+ .aesirxconsent .gy-sm-3 {
3420
+ --aesirxconsent-gutter-y: 16px;
3421
+ }
3422
+ .aesirxconsent .g-sm-4,
3423
+ .aesirxconsent .gx-sm-4 {
3424
+ --aesirxconsent-gutter-x: 24px;
3425
+ }
3426
+ .aesirxconsent .g-sm-4,
3427
+ .aesirxconsent .gy-sm-4 {
3428
+ --aesirxconsent-gutter-y: 24px;
3429
+ }
3430
+ .aesirxconsent .g-sm-5,
3431
+ .aesirxconsent .gx-sm-5 {
3432
+ --aesirxconsent-gutter-x: 48px;
3433
+ }
3434
+ .aesirxconsent .g-sm-5,
3435
+ .aesirxconsent .gy-sm-5 {
3436
+ --aesirxconsent-gutter-y: 48px;
3437
+ }
3438
+ }
3439
+ @media (min-width: 768px) {
3440
+ .aesirxconsent .col-md {
3441
+ flex: 1 0 0%;
3442
+ }
3443
+ .aesirxconsent .row-cols-md-auto > * {
3444
+ flex: 0 0 auto;
3445
+ width: auto;
3446
+ }
3447
+ .aesirxconsent .row-cols-md-1 > * {
3448
+ flex: 0 0 auto;
3449
+ width: 100%;
3450
+ }
3451
+ .aesirxconsent .row-cols-md-2 > * {
3452
+ flex: 0 0 auto;
3453
+ width: 50%;
3454
+ }
3455
+ .aesirxconsent .row-cols-md-3 > * {
3456
+ flex: 0 0 auto;
3457
+ width: 33.33333333%;
3458
+ }
3459
+ .aesirxconsent .row-cols-md-4 > * {
3460
+ flex: 0 0 auto;
3461
+ width: 25%;
3462
+ }
3463
+ .aesirxconsent .row-cols-md-5 > * {
3464
+ flex: 0 0 auto;
3465
+ width: 20%;
3466
+ }
3467
+ .aesirxconsent .row-cols-md-6 > * {
3468
+ flex: 0 0 auto;
3469
+ width: 16.66666667%;
3470
+ }
3471
+ .aesirxconsent .col-md-auto {
3472
+ flex: 0 0 auto;
3473
+ width: auto;
3474
+ }
3475
+ .aesirxconsent .col-md-1 {
3476
+ flex: 0 0 auto;
3477
+ width: 8.33333333%;
3478
+ }
3479
+ .aesirxconsent .col-md-2 {
3480
+ flex: 0 0 auto;
3481
+ width: 16.66666667%;
3482
+ }
3483
+ .aesirxconsent .col-md-3 {
3484
+ flex: 0 0 auto;
3485
+ width: 25%;
3486
+ }
3487
+ .aesirxconsent .col-md-4 {
3488
+ flex: 0 0 auto;
3489
+ width: 33.33333333%;
3490
+ }
3491
+ .aesirxconsent .col-md-5 {
3492
+ flex: 0 0 auto;
3493
+ width: 41.66666667%;
3494
+ }
3495
+ .aesirxconsent .col-md-6 {
3496
+ flex: 0 0 auto;
3497
+ width: 50%;
3498
+ }
3499
+ .aesirxconsent .col-md-7 {
3500
+ flex: 0 0 auto;
3501
+ width: 58.33333333%;
3502
+ }
3503
+ .aesirxconsent .col-md-8 {
3504
+ flex: 0 0 auto;
3505
+ width: 66.66666667%;
3506
+ }
3507
+ .aesirxconsent .col-md-9 {
3508
+ flex: 0 0 auto;
3509
+ width: 75%;
3510
+ }
3511
+ .aesirxconsent .col-md-10 {
3512
+ flex: 0 0 auto;
3513
+ width: 83.33333333%;
3514
+ }
3515
+ .aesirxconsent .col-md-11 {
3516
+ flex: 0 0 auto;
3517
+ width: 91.66666667%;
3518
+ }
3519
+ .aesirxconsent .col-md-12 {
3520
+ flex: 0 0 auto;
3521
+ width: 100%;
3522
+ }
3523
+ .aesirxconsent .offset-md-0 {
3524
+ margin-left: 0;
3525
+ }
3526
+ .aesirxconsent .offset-md-1 {
3527
+ margin-left: 8.33333333%;
3528
+ }
3529
+ .aesirxconsent .offset-md-2 {
3530
+ margin-left: 16.66666667%;
3531
+ }
3532
+ .aesirxconsent .offset-md-3 {
3533
+ margin-left: 25%;
3534
+ }
3535
+ .aesirxconsent .offset-md-4 {
3536
+ margin-left: 33.33333333%;
3537
+ }
3538
+ .aesirxconsent .offset-md-5 {
3539
+ margin-left: 41.66666667%;
3540
+ }
3541
+ .aesirxconsent .offset-md-6 {
3542
+ margin-left: 50%;
3543
+ }
3544
+ .aesirxconsent .offset-md-7 {
3545
+ margin-left: 58.33333333%;
3546
+ }
3547
+ .aesirxconsent .offset-md-8 {
3548
+ margin-left: 66.66666667%;
3549
+ }
3550
+ .aesirxconsent .offset-md-9 {
3551
+ margin-left: 75%;
3552
+ }
3553
+ .aesirxconsent .offset-md-10 {
3554
+ margin-left: 83.33333333%;
3555
+ }
3556
+ .aesirxconsent .offset-md-11 {
3557
+ margin-left: 91.66666667%;
3558
+ }
3559
+ .aesirxconsent .g-md-0,
3560
+ .aesirxconsent .gx-md-0 {
3561
+ --aesirxconsent-gutter-x: 0;
3562
+ }
3563
+ .aesirxconsent .g-md-0,
3564
+ .aesirxconsent .gy-md-0 {
3565
+ --aesirxconsent-gutter-y: 0;
3566
+ }
3567
+ .aesirxconsent .g-md-1,
3568
+ .aesirxconsent .gx-md-1 {
3569
+ --aesirxconsent-gutter-x: 4px;
3570
+ }
3571
+ .aesirxconsent .g-md-1,
3572
+ .aesirxconsent .gy-md-1 {
3573
+ --aesirxconsent-gutter-y: 4px;
3574
+ }
3575
+ .aesirxconsent .g-md-2,
3576
+ .aesirxconsent .gx-md-2 {
3577
+ --aesirxconsent-gutter-x: 8px;
3578
+ }
3579
+ .aesirxconsent .g-md-2,
3580
+ .aesirxconsent .gy-md-2 {
3581
+ --aesirxconsent-gutter-y: 8px;
3582
+ }
3583
+ .aesirxconsent .g-md-3,
3584
+ .aesirxconsent .gx-md-3 {
3585
+ --aesirxconsent-gutter-x: 16px;
3586
+ }
3587
+ .aesirxconsent .g-md-3,
3588
+ .aesirxconsent .gy-md-3 {
3589
+ --aesirxconsent-gutter-y: 16px;
3590
+ }
3591
+ .aesirxconsent .g-md-4,
3592
+ .aesirxconsent .gx-md-4 {
3593
+ --aesirxconsent-gutter-x: 24px;
3594
+ }
3595
+ .aesirxconsent .g-md-4,
3596
+ .aesirxconsent .gy-md-4 {
3597
+ --aesirxconsent-gutter-y: 24px;
3598
+ }
3599
+ .aesirxconsent .g-md-5,
3600
+ .aesirxconsent .gx-md-5 {
3601
+ --aesirxconsent-gutter-x: 48px;
3602
+ }
3603
+ .aesirxconsent .g-md-5,
3604
+ .aesirxconsent .gy-md-5 {
3605
+ --aesirxconsent-gutter-y: 48px;
3606
+ }
3607
+ }
3608
+ @media (min-width: 992px) {
3609
+ .aesirxconsent .col-lg {
3610
+ flex: 1 0 0%;
3611
+ }
3612
+ .aesirxconsent .row-cols-lg-auto > * {
3613
+ flex: 0 0 auto;
3614
+ width: auto;
3615
+ }
3616
+ .aesirxconsent .row-cols-lg-1 > * {
3617
+ flex: 0 0 auto;
3618
+ width: 100%;
3619
+ }
3620
+ .aesirxconsent .row-cols-lg-2 > * {
3621
+ flex: 0 0 auto;
3622
+ width: 50%;
3623
+ }
3624
+ .aesirxconsent .row-cols-lg-3 > * {
3625
+ flex: 0 0 auto;
3626
+ width: 33.33333333%;
3627
+ }
3628
+ .aesirxconsent .row-cols-lg-4 > * {
3629
+ flex: 0 0 auto;
3630
+ width: 25%;
3631
+ }
3632
+ .aesirxconsent .row-cols-lg-5 > * {
3633
+ flex: 0 0 auto;
3634
+ width: 20%;
3635
+ }
3636
+ .aesirxconsent .row-cols-lg-6 > * {
3637
+ flex: 0 0 auto;
3638
+ width: 16.66666667%;
3639
+ }
3640
+ .aesirxconsent .col-lg-auto {
3641
+ flex: 0 0 auto;
3642
+ width: auto;
3643
+ }
3644
+ .aesirxconsent .col-lg-1 {
3645
+ flex: 0 0 auto;
3646
+ width: 8.33333333%;
3647
+ }
3648
+ .aesirxconsent .col-lg-2 {
3649
+ flex: 0 0 auto;
3650
+ width: 16.66666667%;
3651
+ }
3652
+ .aesirxconsent .col-lg-3 {
3653
+ flex: 0 0 auto;
3654
+ width: 25%;
3655
+ }
3656
+ .aesirxconsent .col-lg-4 {
3657
+ flex: 0 0 auto;
3658
+ width: 33.33333333%;
3659
+ }
3660
+ .aesirxconsent .col-lg-5 {
3661
+ flex: 0 0 auto;
3662
+ width: 41.66666667%;
3663
+ }
3664
+ .aesirxconsent .col-lg-6 {
3665
+ flex: 0 0 auto;
3666
+ width: 50%;
3667
+ }
3668
+ .aesirxconsent .col-lg-7 {
3669
+ flex: 0 0 auto;
3670
+ width: 58.33333333%;
3671
+ }
3672
+ .aesirxconsent .col-lg-8 {
3673
+ flex: 0 0 auto;
3674
+ width: 66.66666667%;
3675
+ }
3676
+ .aesirxconsent .col-lg-9 {
3677
+ flex: 0 0 auto;
3678
+ width: 75%;
3679
+ }
3680
+ .aesirxconsent .col-lg-10 {
3681
+ flex: 0 0 auto;
3682
+ width: 83.33333333%;
3683
+ }
3684
+ .aesirxconsent .col-lg-11 {
3685
+ flex: 0 0 auto;
3686
+ width: 91.66666667%;
3687
+ }
3688
+ .aesirxconsent .col-lg-12 {
3689
+ flex: 0 0 auto;
3690
+ width: 100%;
3691
+ }
3692
+ .aesirxconsent .offset-lg-0 {
3693
+ margin-left: 0;
3694
+ }
3695
+ .aesirxconsent .offset-lg-1 {
3696
+ margin-left: 8.33333333%;
3697
+ }
3698
+ .aesirxconsent .offset-lg-2 {
3699
+ margin-left: 16.66666667%;
3700
+ }
3701
+ .aesirxconsent .offset-lg-3 {
3702
+ margin-left: 25%;
3703
+ }
3704
+ .aesirxconsent .offset-lg-4 {
3705
+ margin-left: 33.33333333%;
3706
+ }
3707
+ .aesirxconsent .offset-lg-5 {
3708
+ margin-left: 41.66666667%;
3709
+ }
3710
+ .aesirxconsent .offset-lg-6 {
3711
+ margin-left: 50%;
3712
+ }
3713
+ .aesirxconsent .offset-lg-7 {
3714
+ margin-left: 58.33333333%;
3715
+ }
3716
+ .aesirxconsent .offset-lg-8 {
3717
+ margin-left: 66.66666667%;
3718
+ }
3719
+ .aesirxconsent .offset-lg-9 {
3720
+ margin-left: 75%;
3721
+ }
3722
+ .aesirxconsent .offset-lg-10 {
3723
+ margin-left: 83.33333333%;
3724
+ }
3725
+ .aesirxconsent .offset-lg-11 {
3726
+ margin-left: 91.66666667%;
3727
+ }
3728
+ .aesirxconsent .g-lg-0,
3729
+ .aesirxconsent .gx-lg-0 {
3730
+ --aesirxconsent-gutter-x: 0;
3731
+ }
3732
+ .aesirxconsent .g-lg-0,
3733
+ .aesirxconsent .gy-lg-0 {
3734
+ --aesirxconsent-gutter-y: 0;
3735
+ }
3736
+ .aesirxconsent .g-lg-1,
3737
+ .aesirxconsent .gx-lg-1 {
3738
+ --aesirxconsent-gutter-x: 4px;
3739
+ }
3740
+ .aesirxconsent .g-lg-1,
3741
+ .aesirxconsent .gy-lg-1 {
3742
+ --aesirxconsent-gutter-y: 4px;
3743
+ }
3744
+ .aesirxconsent .g-lg-2,
3745
+ .aesirxconsent .gx-lg-2 {
3746
+ --aesirxconsent-gutter-x: 8px;
3747
+ }
3748
+ .aesirxconsent .g-lg-2,
3749
+ .aesirxconsent .gy-lg-2 {
3750
+ --aesirxconsent-gutter-y: 8px;
3751
+ }
3752
+ .aesirxconsent .g-lg-3,
3753
+ .aesirxconsent .gx-lg-3 {
3754
+ --aesirxconsent-gutter-x: 16px;
3755
+ }
3756
+ .aesirxconsent .g-lg-3,
3757
+ .aesirxconsent .gy-lg-3 {
3758
+ --aesirxconsent-gutter-y: 16px;
3759
+ }
3760
+ .aesirxconsent .g-lg-4,
3761
+ .aesirxconsent .gx-lg-4 {
3762
+ --aesirxconsent-gutter-x: 24px;
3763
+ }
3764
+ .aesirxconsent .g-lg-4,
3765
+ .aesirxconsent .gy-lg-4 {
3766
+ --aesirxconsent-gutter-y: 24px;
3767
+ }
3768
+ .aesirxconsent .g-lg-5,
3769
+ .aesirxconsent .gx-lg-5 {
3770
+ --aesirxconsent-gutter-x: 48px;
3771
+ }
3772
+ .aesirxconsent .g-lg-5,
3773
+ .aesirxconsent .gy-lg-5 {
3774
+ --aesirxconsent-gutter-y: 48px;
3775
+ }
3776
+ }
3777
+ @media (min-width: 1200px) {
3778
+ .aesirxconsent .col-xl {
3779
+ flex: 1 0 0%;
3780
+ }
3781
+ .aesirxconsent .row-cols-xl-auto > * {
3782
+ flex: 0 0 auto;
3783
+ width: auto;
3784
+ }
3785
+ .aesirxconsent .row-cols-xl-1 > * {
3786
+ flex: 0 0 auto;
3787
+ width: 100%;
3788
+ }
3789
+ .aesirxconsent .row-cols-xl-2 > * {
3790
+ flex: 0 0 auto;
3791
+ width: 50%;
3792
+ }
3793
+ .aesirxconsent .row-cols-xl-3 > * {
3794
+ flex: 0 0 auto;
3795
+ width: 33.33333333%;
3796
+ }
3797
+ .aesirxconsent .row-cols-xl-4 > * {
3798
+ flex: 0 0 auto;
3799
+ width: 25%;
3800
+ }
3801
+ .aesirxconsent .row-cols-xl-5 > * {
3802
+ flex: 0 0 auto;
3803
+ width: 20%;
3804
+ }
3805
+ .aesirxconsent .row-cols-xl-6 > * {
3806
+ flex: 0 0 auto;
3807
+ width: 16.66666667%;
3808
+ }
3809
+ .aesirxconsent .col-xl-auto {
3810
+ flex: 0 0 auto;
3811
+ width: auto;
3812
+ }
3813
+ .aesirxconsent .col-xl-1 {
3814
+ flex: 0 0 auto;
3815
+ width: 8.33333333%;
3816
+ }
3817
+ .aesirxconsent .col-xl-2 {
3818
+ flex: 0 0 auto;
3819
+ width: 16.66666667%;
3820
+ }
3821
+ .aesirxconsent .col-xl-3 {
3822
+ flex: 0 0 auto;
3823
+ width: 25%;
3824
+ }
3825
+ .aesirxconsent .col-xl-4 {
3826
+ flex: 0 0 auto;
3827
+ width: 33.33333333%;
3828
+ }
3829
+ .aesirxconsent .col-xl-5 {
3830
+ flex: 0 0 auto;
3831
+ width: 41.66666667%;
3832
+ }
3833
+ .aesirxconsent .col-xl-6 {
3834
+ flex: 0 0 auto;
3835
+ width: 50%;
3836
+ }
3837
+ .aesirxconsent .col-xl-7 {
3838
+ flex: 0 0 auto;
3839
+ width: 58.33333333%;
3840
+ }
3841
+ .aesirxconsent .col-xl-8 {
3842
+ flex: 0 0 auto;
3843
+ width: 66.66666667%;
3844
+ }
3845
+ .aesirxconsent .col-xl-9 {
3846
+ flex: 0 0 auto;
3847
+ width: 75%;
3848
+ }
3849
+ .aesirxconsent .col-xl-10 {
3850
+ flex: 0 0 auto;
3851
+ width: 83.33333333%;
3852
+ }
3853
+ .aesirxconsent .col-xl-11 {
3854
+ flex: 0 0 auto;
3855
+ width: 91.66666667%;
3856
+ }
3857
+ .aesirxconsent .col-xl-12 {
3858
+ flex: 0 0 auto;
3859
+ width: 100%;
3860
+ }
3861
+ .aesirxconsent .offset-xl-0 {
3862
+ margin-left: 0;
3863
+ }
3864
+ .aesirxconsent .offset-xl-1 {
3865
+ margin-left: 8.33333333%;
3866
+ }
3867
+ .aesirxconsent .offset-xl-2 {
3868
+ margin-left: 16.66666667%;
3869
+ }
3870
+ .aesirxconsent .offset-xl-3 {
3871
+ margin-left: 25%;
3872
+ }
3873
+ .aesirxconsent .offset-xl-4 {
3874
+ margin-left: 33.33333333%;
3875
+ }
3876
+ .aesirxconsent .offset-xl-5 {
3877
+ margin-left: 41.66666667%;
3878
+ }
3879
+ .aesirxconsent .offset-xl-6 {
3880
+ margin-left: 50%;
3881
+ }
3882
+ .aesirxconsent .offset-xl-7 {
3883
+ margin-left: 58.33333333%;
3884
+ }
3885
+ .aesirxconsent .offset-xl-8 {
3886
+ margin-left: 66.66666667%;
3887
+ }
3888
+ .aesirxconsent .offset-xl-9 {
3889
+ margin-left: 75%;
3890
+ }
3891
+ .aesirxconsent .offset-xl-10 {
3892
+ margin-left: 83.33333333%;
3893
+ }
3894
+ .aesirxconsent .offset-xl-11 {
3895
+ margin-left: 91.66666667%;
3896
+ }
3897
+ .aesirxconsent .g-xl-0,
3898
+ .aesirxconsent .gx-xl-0 {
3899
+ --aesirxconsent-gutter-x: 0;
3900
+ }
3901
+ .aesirxconsent .g-xl-0,
3902
+ .aesirxconsent .gy-xl-0 {
3903
+ --aesirxconsent-gutter-y: 0;
3904
+ }
3905
+ .aesirxconsent .g-xl-1,
3906
+ .aesirxconsent .gx-xl-1 {
3907
+ --aesirxconsent-gutter-x: 4px;
3908
+ }
3909
+ .aesirxconsent .g-xl-1,
3910
+ .aesirxconsent .gy-xl-1 {
3911
+ --aesirxconsent-gutter-y: 4px;
3912
+ }
3913
+ .aesirxconsent .g-xl-2,
3914
+ .aesirxconsent .gx-xl-2 {
3915
+ --aesirxconsent-gutter-x: 8px;
3916
+ }
3917
+ .aesirxconsent .g-xl-2,
3918
+ .aesirxconsent .gy-xl-2 {
3919
+ --aesirxconsent-gutter-y: 8px;
3920
+ }
3921
+ .aesirxconsent .g-xl-3,
3922
+ .aesirxconsent .gx-xl-3 {
3923
+ --aesirxconsent-gutter-x: 16px;
3924
+ }
3925
+ .aesirxconsent .g-xl-3,
3926
+ .aesirxconsent .gy-xl-3 {
3927
+ --aesirxconsent-gutter-y: 16px;
3928
+ }
3929
+ .aesirxconsent .g-xl-4,
3930
+ .aesirxconsent .gx-xl-4 {
3931
+ --aesirxconsent-gutter-x: 24px;
3932
+ }
3933
+ .aesirxconsent .g-xl-4,
3934
+ .aesirxconsent .gy-xl-4 {
3935
+ --aesirxconsent-gutter-y: 24px;
3936
+ }
3937
+ .aesirxconsent .g-xl-5,
3938
+ .aesirxconsent .gx-xl-5 {
3939
+ --aesirxconsent-gutter-x: 48px;
3940
+ }
3941
+ .aesirxconsent .g-xl-5,
3942
+ .aesirxconsent .gy-xl-5 {
3943
+ --aesirxconsent-gutter-y: 48px;
3944
+ }
3945
+ }
3946
+ @media (min-width: 1400px) {
3947
+ .aesirxconsent .col-xxl {
3948
+ flex: 1 0 0%;
3949
+ }
3950
+ .aesirxconsent .row-cols-xxl-auto > * {
3951
+ flex: 0 0 auto;
3952
+ width: auto;
3953
+ }
3954
+ .aesirxconsent .row-cols-xxl-1 > * {
3955
+ flex: 0 0 auto;
3956
+ width: 100%;
3957
+ }
3958
+ .aesirxconsent .row-cols-xxl-2 > * {
3959
+ flex: 0 0 auto;
3960
+ width: 50%;
3961
+ }
3962
+ .aesirxconsent .row-cols-xxl-3 > * {
3963
+ flex: 0 0 auto;
3964
+ width: 33.33333333%;
3965
+ }
3966
+ .aesirxconsent .row-cols-xxl-4 > * {
3967
+ flex: 0 0 auto;
3968
+ width: 25%;
3969
+ }
3970
+ .aesirxconsent .row-cols-xxl-5 > * {
3971
+ flex: 0 0 auto;
3972
+ width: 20%;
3973
+ }
3974
+ .aesirxconsent .row-cols-xxl-6 > * {
3975
+ flex: 0 0 auto;
3976
+ width: 16.66666667%;
3977
+ }
3978
+ .aesirxconsent .col-xxl-auto {
3979
+ flex: 0 0 auto;
3980
+ width: auto;
3981
+ }
3982
+ .aesirxconsent .col-xxl-1 {
3983
+ flex: 0 0 auto;
3984
+ width: 8.33333333%;
3985
+ }
3986
+ .aesirxconsent .col-xxl-2 {
3987
+ flex: 0 0 auto;
3988
+ width: 16.66666667%;
2953
3989
  }
2954
- .aesirxconsent .card-group > .card + .card {
3990
+ .aesirxconsent .col-xxl-3 {
3991
+ flex: 0 0 auto;
3992
+ width: 25%;
3993
+ }
3994
+ .aesirxconsent .col-xxl-4 {
3995
+ flex: 0 0 auto;
3996
+ width: 33.33333333%;
3997
+ }
3998
+ .aesirxconsent .col-xxl-5 {
3999
+ flex: 0 0 auto;
4000
+ width: 41.66666667%;
4001
+ }
4002
+ .aesirxconsent .col-xxl-6 {
4003
+ flex: 0 0 auto;
4004
+ width: 50%;
4005
+ }
4006
+ .aesirxconsent .col-xxl-7 {
4007
+ flex: 0 0 auto;
4008
+ width: 58.33333333%;
4009
+ }
4010
+ .aesirxconsent .col-xxl-8 {
4011
+ flex: 0 0 auto;
4012
+ width: 66.66666667%;
4013
+ }
4014
+ .aesirxconsent .col-xxl-9 {
4015
+ flex: 0 0 auto;
4016
+ width: 75%;
4017
+ }
4018
+ .aesirxconsent .col-xxl-10 {
4019
+ flex: 0 0 auto;
4020
+ width: 83.33333333%;
4021
+ }
4022
+ .aesirxconsent .col-xxl-11 {
4023
+ flex: 0 0 auto;
4024
+ width: 91.66666667%;
4025
+ }
4026
+ .aesirxconsent .col-xxl-12 {
4027
+ flex: 0 0 auto;
4028
+ width: 100%;
4029
+ }
4030
+ .aesirxconsent .offset-xxl-0 {
2955
4031
  margin-left: 0;
2956
- border-left: 0;
2957
4032
  }
2958
- .aesirxconsent .card-group > .card:not(:last-child) {
2959
- border-top-right-radius: 0;
2960
- border-bottom-right-radius: 0;
4033
+ .aesirxconsent .offset-xxl-1 {
4034
+ margin-left: 8.33333333%;
2961
4035
  }
2962
- .aesirxconsent .card-group > .card:not(:last-child) .card-img-top,
2963
- .aesirxconsent .card-group > .card:not(:last-child) .card-header {
2964
- border-top-right-radius: 0;
4036
+ .aesirxconsent .offset-xxl-2 {
4037
+ margin-left: 16.66666667%;
2965
4038
  }
2966
- .aesirxconsent .card-group > .card:not(:last-child) .card-img-bottom,
2967
- .aesirxconsent .card-group > .card:not(:last-child) .card-footer {
2968
- border-bottom-right-radius: 0;
4039
+ .aesirxconsent .offset-xxl-3 {
4040
+ margin-left: 25%;
2969
4041
  }
2970
- .aesirxconsent .card-group > .card:not(:first-child) {
2971
- border-top-left-radius: 0;
2972
- border-bottom-left-radius: 0;
4042
+ .aesirxconsent .offset-xxl-4 {
4043
+ margin-left: 33.33333333%;
2973
4044
  }
2974
- .aesirxconsent .card-group > .card:not(:first-child) .card-img-top,
2975
- .aesirxconsent .card-group > .card:not(:first-child) .card-header {
2976
- border-top-left-radius: 0;
4045
+ .aesirxconsent .offset-xxl-5 {
4046
+ margin-left: 41.66666667%;
2977
4047
  }
2978
- .aesirxconsent .card-group > .card:not(:first-child) .card-img-bottom,
2979
- .aesirxconsent .card-group > .card:not(:first-child) .card-footer {
2980
- border-bottom-left-radius: 0;
4048
+ .aesirxconsent .offset-xxl-6 {
4049
+ margin-left: 50%;
4050
+ }
4051
+ .aesirxconsent .offset-xxl-7 {
4052
+ margin-left: 58.33333333%;
4053
+ }
4054
+ .aesirxconsent .offset-xxl-8 {
4055
+ margin-left: 66.66666667%;
4056
+ }
4057
+ .aesirxconsent .offset-xxl-9 {
4058
+ margin-left: 75%;
4059
+ }
4060
+ .aesirxconsent .offset-xxl-10 {
4061
+ margin-left: 83.33333333%;
4062
+ }
4063
+ .aesirxconsent .offset-xxl-11 {
4064
+ margin-left: 91.66666667%;
4065
+ }
4066
+ .aesirxconsent .g-xxl-0,
4067
+ .aesirxconsent .gx-xxl-0 {
4068
+ --aesirxconsent-gutter-x: 0;
4069
+ }
4070
+ .aesirxconsent .g-xxl-0,
4071
+ .aesirxconsent .gy-xxl-0 {
4072
+ --aesirxconsent-gutter-y: 0;
4073
+ }
4074
+ .aesirxconsent .g-xxl-1,
4075
+ .aesirxconsent .gx-xxl-1 {
4076
+ --aesirxconsent-gutter-x: 4px;
4077
+ }
4078
+ .aesirxconsent .g-xxl-1,
4079
+ .aesirxconsent .gy-xxl-1 {
4080
+ --aesirxconsent-gutter-y: 4px;
4081
+ }
4082
+ .aesirxconsent .g-xxl-2,
4083
+ .aesirxconsent .gx-xxl-2 {
4084
+ --aesirxconsent-gutter-x: 8px;
4085
+ }
4086
+ .aesirxconsent .g-xxl-2,
4087
+ .aesirxconsent .gy-xxl-2 {
4088
+ --aesirxconsent-gutter-y: 8px;
4089
+ }
4090
+ .aesirxconsent .g-xxl-3,
4091
+ .aesirxconsent .gx-xxl-3 {
4092
+ --aesirxconsent-gutter-x: 16px;
4093
+ }
4094
+ .aesirxconsent .g-xxl-3,
4095
+ .aesirxconsent .gy-xxl-3 {
4096
+ --aesirxconsent-gutter-y: 16px;
4097
+ }
4098
+ .aesirxconsent .g-xxl-4,
4099
+ .aesirxconsent .gx-xxl-4 {
4100
+ --aesirxconsent-gutter-x: 24px;
4101
+ }
4102
+ .aesirxconsent .g-xxl-4,
4103
+ .aesirxconsent .gy-xxl-4 {
4104
+ --aesirxconsent-gutter-y: 24px;
4105
+ }
4106
+ .aesirxconsent .g-xxl-5,
4107
+ .aesirxconsent .gx-xxl-5 {
4108
+ --aesirxconsent-gutter-x: 48px;
4109
+ }
4110
+ .aesirxconsent .g-xxl-5,
4111
+ .aesirxconsent .gy-xxl-5 {
4112
+ --aesirxconsent-gutter-y: 48px;
2981
4113
  }
2982
4114
  }
2983
4115
  .aesirxconsent .align-baseline {
@@ -3107,13 +4239,13 @@ var css = `:root {
3107
4239
  display: none;
3108
4240
  }
3109
4241
  .aesirxconsent .shadow {
3110
- box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
4242
+ box-shadow: var(--aesirxconsent-box-shadow);
3111
4243
  }
3112
4244
  .aesirxconsent .shadow-sm {
3113
- box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
4245
+ box-shadow: var(--aesirxconsent-box-shadow-sm);
3114
4246
  }
3115
4247
  .aesirxconsent .shadow-lg {
3116
- box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
4248
+ box-shadow: var(--aesirxconsent-box-shadow-lg);
3117
4249
  }
3118
4250
  .aesirxconsent .shadow-none {
3119
4251
  box-shadow: none;
@@ -7975,6 +9107,9 @@ var css = `:root {
7975
9107
  display: none;
7976
9108
  }
7977
9109
  }
9110
+ .aesirxconsent-modal .modal-dialog {
9111
+ max-width: 500px;
9112
+ }
7978
9113
  .aesirxconsent a {
7979
9114
  text-decoration: underline;
7980
9115
  }
@@ -8149,6 +9284,9 @@ var css = `:root {
8149
9284
  -moz-animation: flash ease-out 5s infinite;
8150
9285
  animation: flash ease-out 5s infinite;
8151
9286
  }
9287
+ .aesirxconsent .block-wallet {
9288
+ background-color: var(--aesirxconsent-body-bg);
9289
+ }
8152
9290
  @-webkit-keyframes flash {
8153
9291
  from {
8154
9292
  opacity: 0;
@@ -8190,10 +9328,58 @@ var css = `:root {
8190
9328
  }
8191
9329
  }
8192
9330
 
9331
+ body.modal-open .aesirxconsent .offcanvas-backdrop,
9332
+ body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
9333
+ z-index: 99;
9334
+ }
9335
+ body.modal-open .aesirxconsent .toast-container,
9336
+ body.modal-sso-open .aesirxconsent .toast-container {
9337
+ --aesirxconsent-toast-zindex: 100;
9338
+ }
9339
+
9340
+ .aesirxconsent-modal.modal {
9341
+ position: fixed;
9342
+ top: 0;
9343
+ left: 0;
9344
+ z-index: 1055;
9345
+ display: none;
9346
+ width: 100%;
9347
+ height: 100%;
9348
+ overflow-x: hidden;
9349
+ overflow-y: auto;
9350
+ outline: 0;
9351
+ }
9352
+
9353
+ .modal-backdrop {
9354
+ --aesirxconsent-backdrop-zindex: 1050;
9355
+ --aesirxconsent-backdrop-bg: #000;
9356
+ --aesirxconsent-backdrop-opacity: 0.5;
9357
+ position: fixed;
9358
+ top: 0;
9359
+ left: 0;
9360
+ z-index: var(--aesirxconsent-backdrop-zindex);
9361
+ width: 100vw;
9362
+ height: 100vh;
9363
+ background-color: var(--aesirxconsent-backdrop-bg);
9364
+ }
9365
+ .modal-backdrop.fade {
9366
+ opacity: 0;
9367
+ }
9368
+ .modal-backdrop.show {
9369
+ opacity: var(--aesirxconsent-backdrop-opacity);
9370
+ }
9371
+
8193
9372
  .aesirxsso {
8194
9373
  color: #5f5e70;
8195
9374
  }
8196
9375
 
9376
+ .aesirxconsent .aesirxsso .modal {
9377
+ --aesirxconsent-modal-width: 846px;
9378
+ }
9379
+ .aesirxconsent .aesirxsso .modal .btn-close {
9380
+ --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");
9381
+ }
9382
+
8197
9383
  [data-bs-theme=dark] .aesirxconsent {
8198
9384
  color: #c8c8db;
8199
9385
  }
@@ -8235,8 +9421,8 @@ var bg_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAADSCAYAAAAP
8235
9421
  // src/Assets/aesirx.svg
8236
9422
  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';
8237
9423
 
8238
- // src/Assets/web3id.svg
8239
- var web3id_default = 'data:image/svg+xml,<svg width="86" height="21" viewBox="0 0 86 21" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M4.29349 17.8281L2.61207 3.82996H5.84504L6.55589 13.5562H6.67208L10.8346 3.82996H13.6028L14.5461 13.5767H14.6691L18.5924 3.82996H21.8254L15.4961 17.8281H12.6117L11.4771 8.676H11.3678L7.17788 17.8281H4.29349ZM21.0855 17.8281L23.4094 3.82996H32.8418L32.4316 6.27007H25.9589L25.4121 9.60557H31.3996L30.9895 12.0457H25.002L24.4552 15.388H30.9553L30.5452 17.8281H21.0855ZM32.8708 17.8281L35.1947 3.82996H40.7995C41.8293 3.82996 42.6631 3.98261 43.3011 4.28791C43.9436 4.5932 44.3924 5.01698 44.6476 5.55922C44.9028 6.09691 44.9711 6.71662 44.8526 7.41835C44.7569 7.96516 44.5633 8.44361 44.2717 8.85371C43.9846 9.26382 43.6292 9.60101 43.2054 9.8653C42.7816 10.1296 42.3214 10.3164 41.8247 10.4258L41.7974 10.5625C42.3259 10.5853 42.8021 10.7356 43.2259 11.0136C43.6497 11.287 43.9664 11.6743 44.176 12.1755C44.3856 12.6768 44.4334 13.2714 44.3195 13.9595C44.1965 14.7022 43.9026 15.3652 43.4378 15.9485C42.973 16.5272 42.3533 16.9851 41.5786 17.3223C40.8086 17.6595 39.8995 17.8281 38.8515 17.8281H32.8708ZM36.2405 15.4085H38.6532C39.4735 15.4085 40.1 15.249 40.5329 14.9301C40.9658 14.6111 41.2255 14.1896 41.3121 13.6656C41.3713 13.2783 41.3326 12.9365 41.1959 12.6403C41.0637 12.3441 40.8382 12.1118 40.5192 11.9432C40.2048 11.7746 39.8061 11.6903 39.3231 11.6903H36.8488L36.2405 15.4085ZM37.1905 9.68759H39.3846C39.7856 9.68759 40.157 9.61696 40.4987 9.4757C40.845 9.32989 41.1298 9.12484 41.3531 8.86055C41.5809 8.5917 41.7245 8.27501 41.7837 7.91048C41.8657 7.40013 41.7518 6.9923 41.4419 6.687C41.1366 6.37715 40.6582 6.22222 40.0066 6.22222H37.7647L37.1905 9.68759Z" fill="white"/>%0A<path d="M70.9807 3.82996L68.6568 17.8281H65.6972L68.0211 3.82996H70.9807ZM76.1224 17.8281H71.0918L73.4157 3.82996H78.3506C79.7586 3.82996 80.9274 4.11703 81.857 4.69117C82.7911 5.26532 83.4495 6.0878 83.8323 7.15862C84.2151 8.22489 84.2834 9.49849 84.0373 10.9794C83.8004 12.4102 83.3288 13.6382 82.6225 14.6635C81.9162 15.6842 81.0117 16.468 79.909 17.0148C78.8063 17.557 77.5441 17.8281 76.1224 17.8281ZM74.4751 15.2923H76.2932C77.1727 15.2923 77.9428 15.1283 78.6035 14.8002C79.2688 14.4721 79.8133 13.9663 80.2371 13.2828C80.6654 12.5993 80.9684 11.7244 81.1461 10.6582C81.3147 9.64658 81.3033 8.82637 81.112 8.19755C80.9251 7.56417 80.5629 7.10166 80.0252 6.81004C79.4875 6.51385 78.7812 6.36576 77.9063 6.36576H75.9583L74.4751 15.2923Z" fill="white"/>%0A<path d="M48.9477 1.80797C49.0469 1.2306 49.5475 0.808594 50.1333 0.808594H64.5337C65.2795 0.808594 65.8456 1.48016 65.7194 2.21515L62.7241 19.6582C62.6249 20.2356 62.1243 20.6576 61.5385 20.6576H47.1381C46.3923 20.6576 45.8263 19.986 45.9525 19.251L48.9477 1.80797Z" fill="%231AB394"/>%0A<path d="M54.8772 17.8164C53.8292 17.8164 52.9269 17.6409 52.1705 17.2901C51.4141 16.9392 50.8536 16.4517 50.4891 15.8274C50.1291 15.2031 50.0129 14.4832 50.1405 13.6675H53.0796C53.034 14.0047 53.0864 14.3032 53.2368 14.5629C53.3917 14.8226 53.6218 15.0231 53.9271 15.1644C54.237 15.3056 54.6015 15.3763 55.0207 15.3763C55.4901 15.3763 55.923 15.2874 56.3194 15.1097C56.7158 14.932 57.0439 14.6905 57.3036 14.3852C57.5679 14.0753 57.7297 13.7267 57.7889 13.3394C57.8482 12.9703 57.798 12.6559 57.6386 12.3962C57.4791 12.1319 57.2239 11.9291 56.873 11.7879C56.5222 11.6466 56.087 11.576 55.5675 11.576H54.2074L54.5696 9.40244H55.7999C56.2556 9.40244 56.6725 9.31814 57.0507 9.14955C57.4335 8.98095 57.7502 8.74628 58.0008 8.44554C58.2514 8.1448 58.4086 7.79621 58.4724 7.39978C58.5271 7.07625 58.5021 6.79374 58.3972 6.55223C58.297 6.30617 58.1193 6.11707 57.8641 5.98492C57.6135 5.84822 57.2877 5.77987 56.8867 5.77987C56.4812 5.77987 56.087 5.85278 55.7042 5.99859C55.3215 6.13985 54.998 6.34262 54.7337 6.60691C54.4694 6.8712 54.3076 7.18105 54.2484 7.53648H51.4255C51.5668 6.72994 51.904 6.0191 52.4371 5.40394C52.9748 4.78879 53.6423 4.30806 54.4398 3.96175C55.2417 3.61088 56.1075 3.43545 57.0371 3.43545C58.0259 3.43545 58.8598 3.62683 59.5387 4.00959C60.2176 4.3878 60.7098 4.88904 61.0151 5.5133C61.3249 6.13301 61.4206 6.80741 61.3021 7.53648C61.17 8.33845 60.8191 8.97411 60.2495 9.44345C59.6845 9.90824 58.9805 10.209 58.1375 10.3457V10.4482C59.0808 10.5758 59.7916 10.9517 60.2701 11.576C60.7531 12.2003 60.9217 12.9589 60.7758 13.8521C60.6528 14.6267 60.3179 15.3125 59.7711 15.9094C59.2243 16.5063 58.5294 16.9734 57.6864 17.3106C56.8434 17.6478 55.907 17.8164 54.8772 17.8164Z" fill="white"/>%0A</svg>%0A';
9424
+ // src/Assets/shield_of_privacy.png
9425
+ var shield_of_privacy_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOsAAAAYCAYAAAAbDApiAAAIGElEQVR4Ae1a4XXbOAxG+u5/fRNEnaDuBJYnqDOBnQnqTOB0AqcT2J0gvgnkTpB0AqsTOJ0AR5hADdOgRDm61Lnqe49PNgmAIEgAJCWADpVAxIkrG+jQ4TfjDXTo0OFVoHNWAy6TZlSgQ4czQuesNuauFJ3DdjgndM5q45qfhSuX0KHDGeDCquSM8nRxcfEEiajLQk5WWcPfc48ReOegfr87njXU99tj+U8JdD1VVTk+Hg85Kz1LR/sOEsG8Of8trXEofZLs7Oin7jFw5abOlhU6QSpvU/qGuvTdY+YKPUtXrmP9VKyrRutTyaJdE62tW3jt4PMaoWjIR9vGLd2cGqWo4Z0yL8lYuHIvfOKMFbyzFF1Zbogt95VFeDLWY1unB9P3WecQJGNs6E1YJMjNlKxPcAKUXoNE+g3Tt7qz4LFs9RxAmh4WCmxwVHG0c2GEV4i/jLqP4DNbTgu0YfRaOfrrBvS7VyPuQQvwQxhdafE3jZ41WGr90Ed4Kg/u91WYAUkfV//Z/SSHooUxjOmD+0xMTr3mAiyfdgxLR/PT8a+gIViPW/BZ/h943aCgtbORG9cwJQgyyG5ie+Ihu+bg5+5D4g7gC3gbruH/AMkCHP1mDfiKlCzRFp/in2F6Zl1UyHiItE1wv2N4iC0u3GfuRUQ+6j6wQWZtA3g+mVXGnbS2lB6DoL7H80GYwx+AgwsmzjSZK99cuXNlAi+DNrPnKfgOPlLHQPoNwUf0+wiN8C+NNorot+CzwxHQbw3n7FBUxgbNnANCL6inRXuLfjtf8HMMiVD80vcUTgAHtXs9Bq0r90OBacRVIx7PSdt63uHciCzVzy3LJZtORR9uy3WfTLPAeBAXm/dVXThXUXsbc3M0t6wj9ZEb/KLvzBK+UAPrcdTKIQF4emalgVPmyuAEYDuZlYyCkTZahBv+LWfYuUFXYIMoj/sMU6B9LlsE9EJzqeoyVb8N5NxG9BtE+EXGbgzYILPi4Tl9E/zOVF8W6u4zNqHeqq0vQgxdFloPbpvoPtGvcRlzHsjW+va4bqTo6+ydGbYQ3Cu6mdYpkLHgtuOAhsFFCDZwQDzdWWVQVDJoCGzHWRcxGRh8bsgLJDPo8mBixqgickRvwVwtiKmq1xF9w3XaWR8Mfr1IckVbcN3AqCsi/Af9RcZxp8acKRn3Ijsy7mdtg7lNnO/BGBPhE3qHvAzoC0U/t/RhXsLC0GWm6mis4sB6J7EQ3SK2lewuSfHoElPJzcKB02LbWnWYdhNasCILVVKzTKYGR3LGmOi42MxZ77kvKTnub7GzCN+Bs9b0McLjLCk2yQy9Ee2IWnCbDpwiVxaeBIeNwZ+HsjFwVlRZydBNB546Z91GZOis1TfG/dwza4628xRcZ+1+LGc17Yj7QBj22zfkPgS2zWpsW0R0zlXdKNRV3wbTwjg4U9HtKPodBrV9gXqUcHhm+5nAI+/yrtHfvObgz8pL+t/y+7ARqPMN+LMoldTbxErwTe+KJ436ycGfZSfgb9fpxvkxYCsNUSXU4z0/H9HfqGtIcM0q+KVtHY6d5/0JDt9LH4EXF9E8GjKeXPsavB1I10d4HlasE3CfohvJtdZmUn881tL93AVv/p8BvwN2/78F9GRv6jtnHd7D8X2H/DdtC8e30SuWN1ZtH/m5FKKds3LnE1emeHxGJWYyeJKzhoNrAh7YEryjTt1z5p5vXf0NtIPw1Q2Ni7Y5VRdca2i40NgG37iPDPyLeOqLzirJH1fUQBZrGIA0MqjnLyPttc4a0FbVZ/B8PAW/aU7Wrnxp4fXeEvwF4IBliqOsNRH7BmXEPNAltJUE0hLS8JX7p2x6w+OROf3lT5JZR9xhbOJziTrwQnB90VnoLfgA8rnl963SB0VrOjvQBNxEaEp4Bpj/Cv0Rg6L3pav7Ae1hCfYNdCp6DetPkdHG3E2ekwhqIM4ycYV2d+IDvxIU7t+jE5bgsyHtKH7wVjVX8hrNL+9CHllGH/dfty31+hNnHXODuWDRH+Ap2qzhZSFGJKdt3VkZNDmFG+NXY4uaBJ5IOvOQju9qAsvf0HAyI5CFm1mLGOs/aCn5mYe0fC5LcVaxVz/SXz+gO0vwRydr8LYgX8jB7xK13jk/rQ9/QluV/NSZcgdeK2OW/1XxyBFwrOpWWugb3H/HWrXNJaYJpn9t0hZkspPOvqdAnSFOfrHO0Y8K2WeuLxXQX7Qsua08NSAYIDm0CHIM3o2if41AlzuLCp3XSmd92bEbAySAF+Ga/84NHTJ45tHoBSGOIba8i9CFN7YTCM6sak3FbHsb4ZHdbQ7ebgdfq73hhnXNdk8ceQAtA/2t5Mioz8EP7O6/2AIHoEiZY+I75QiuwBt74sqGbwhpR0IZd6zaWgHb5Ir/ykv6Bfc54/4+14iRDEFHjQ1v50jfDNLPW9dMO2EZ94EOQ3gdoCxH+ooThZ91rmAfHMXWZC8KiKUh74bpQ9uOmN5KjkvwDp6BsYslZ/0ENWceFUGnUI0JxjGO8Oyij1xTc6FB0WXMXYuXS3IRcAQOVBRJG78nVjIo030Ab0uZdJl4qhsGGYZoSrB1stpKCBYFR2O6sKJnDj4YZPx/GATgGP+Q6TOW8ch1R/QWuA+iX4Kfy5HSwbplrxq3hRLSA4emt+RvY21qjVP7yrrdBj+/RJODt3WPfwufptfrQegItM6GkeSoA8QSzhW8XRxw6UOHDn8YsOLdeYcOHc4AnKh6aHwM06FDhzMCHn9DbF7k/gUdOnT4bWDHLLmsoeIjj38B2QRcCRmNKe8AAAAASUVORK5CYII=";
8240
9426
 
8241
9427
  // src/Assets/concordium.svg
8242
9428
  var concordium_default = 'data:image/svg+xml,<svg width="110" height="22" viewBox="0 0 110 22" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M84.7849 8.09678C84.7727 8.09678 84.7645 8.09678 84.7523 8.09678H82.9869C82.9869 8.09678 82.9747 8.10902 82.9747 8.1294V12.8874C82.9747 12.8996 82.9869 12.9159 82.9951 12.92H84.7564C85.7675 12.9281 86.4565 12.7324 86.8724 12.3166C87.2475 11.9374 87.431 11.3462 87.431 10.5063C87.431 9.6787 87.2516 9.09159 86.8765 8.7165C86.4647 8.30064 85.7797 8.09678 84.7849 8.09678ZM84.8135 14.1553C84.789 14.1553 84.7686 14.1553 84.7442 14.1553H82.9828C82.2979 14.1553 81.7393 13.5886 81.7393 12.8874V8.1294C81.7393 7.43222 82.2979 6.86142 82.9828 6.86142H84.7442C86.0692 6.84104 87.0844 7.17128 87.7367 7.8277C88.3442 8.43926 88.6541 9.3403 88.6541 10.5023C88.6541 11.6642 88.3483 12.5612 87.7408 13.1768C87.0926 13.8373 86.1344 14.1553 84.8135 14.1553ZM34.6326 14.192C32.2964 14.192 30.7227 12.708 30.7227 10.5023C30.7227 8.32918 32.329 6.8125 34.6326 6.8125C35.766 6.8125 36.7364 7.1509 37.4376 7.791C37.5599 7.90108 37.6293 8.05194 37.6415 8.2191C37.6496 8.38626 37.5966 8.54526 37.4866 8.67165C37.3765 8.79397 37.2256 8.86735 37.0625 8.87959C36.8954 8.89182 36.7364 8.83474 36.6141 8.72058C36.1452 8.29248 35.4602 8.06417 34.6367 8.06417C32.961 8.06417 31.9621 8.97336 31.9621 10.4982C31.9621 12.023 32.961 12.9322 34.6367 12.9322C35.4643 12.9322 36.1493 12.7039 36.6141 12.2758C36.7364 12.1657 36.8954 12.1086 37.0625 12.1168C37.2256 12.129 37.3765 12.1983 37.4866 12.3247C37.7108 12.5816 37.6904 12.973 37.4376 13.2054C36.7445 13.8536 35.7742 14.192 34.6326 14.192ZM42.8031 8.06824C41.1274 8.06824 40.1285 8.97744 40.1285 10.5023C40.1285 12.0312 41.1274 12.9444 42.8031 12.9444C44.4788 12.9444 45.4777 12.0312 45.4777 10.5023C45.4777 8.98151 44.4788 8.06824 42.8031 8.06824ZM42.8031 14.192C40.4669 14.192 38.8932 12.708 38.8932 10.5023C38.8932 8.32918 40.4995 6.8125 42.8031 6.8125C45.1393 6.8125 46.7089 8.29249 46.7089 10.5023C46.7089 12.7121 45.1393 14.192 42.8031 14.192ZM53.8439 14.192C53.4035 14.192 53.004 13.9637 52.7757 13.5805L49.5425 8.09271C49.5303 8.0764 49.5221 8.07232 49.5181 8.07232L49.5058 13.5723C49.5058 13.9148 49.2327 14.1961 48.8943 14.1961C48.5518 14.1961 48.2745 13.9148 48.2745 13.5723V8.08455C48.2745 7.38737 48.8331 6.81658 49.5181 6.81658C49.9584 6.81658 50.3579 7.05305 50.5944 7.44853L53.8275 12.9363C53.8316 12.9445 53.8398 12.9485 53.8439 12.9485C53.8561 12.9485 53.8642 12.9404 53.8642 12.9241V7.44853C53.8642 7.09382 54.1333 6.81658 54.4758 6.81658C54.8224 6.81658 55.0955 7.09382 55.0955 7.44853V12.9281C55.0955 13.6253 54.537 14.192 53.8439 14.192ZM60.514 14.192C58.1778 14.192 56.6041 12.708 56.6041 10.5023C56.6041 8.32918 58.2104 6.8125 60.514 6.8125C61.6474 6.8125 62.6178 7.1509 63.319 7.791C63.4413 7.90108 63.5147 8.05194 63.5229 8.2191C63.531 8.38626 63.478 8.54526 63.3679 8.67165C63.2579 8.79397 63.107 8.86735 62.9439 8.87959C62.7768 8.89182 62.6178 8.83474 62.4955 8.72058C62.0266 8.29248 61.3416 8.06417 60.5181 8.06417C58.8424 8.06417 57.8435 8.97336 57.8435 10.4982C57.8435 12.023 58.8424 12.9322 60.5181 12.9322C61.3457 12.9322 62.0266 12.7039 62.4955 12.2758C62.6178 12.1657 62.7768 12.1086 62.9439 12.1168C63.107 12.129 63.2579 12.1983 63.3679 12.3247C63.5922 12.5816 63.5718 12.973 63.319 13.2054C62.63 13.8536 61.6596 14.192 60.514 14.192ZM68.6845 8.06824C67.0088 8.06824 66.0099 8.97744 66.0099 10.5023C66.0099 12.0312 67.0088 12.9444 68.6845 12.9444C70.3602 12.9444 71.3631 12.0312 71.3631 10.5023C71.3631 8.98151 70.3602 8.06824 68.6845 8.06824ZM68.6845 14.192C66.3483 14.192 64.7786 12.708 64.7786 10.5023C64.7786 8.32918 66.385 6.8125 68.6845 6.8125C71.0247 6.8125 72.5944 8.29249 72.5944 10.5023C72.5944 12.7121 71.0247 14.192 68.6845 14.192ZM90.9169 14.192C90.5785 14.192 90.3053 13.9107 90.3053 13.5682V7.44853C90.3053 7.10197 90.5785 6.81658 90.9169 6.81658C91.2593 6.81658 91.5366 7.0979 91.5366 7.44853V13.5723C91.5366 13.9148 91.2593 14.192 90.9169 14.192ZM108.95 14.192C108.607 14.192 108.33 13.9107 108.33 13.5682V8.08455C108.314 8.07232 108.306 8.0764 108.298 8.08455L106.83 10.5063C106.61 10.8896 106.206 11.1261 105.753 11.1261C105.317 11.1261 104.926 10.9018 104.685 10.5063L103.226 8.09271C103.217 8.0764 103.201 8.06824 103.197 8.06824L103.185 13.5682C103.185 13.9107 102.908 14.192 102.565 14.192C102.227 14.192 101.954 13.9107 101.954 13.5682V8.08455C101.954 7.38737 102.512 6.81658 103.197 6.81658C103.629 6.81658 104.033 7.04897 104.273 7.44445L105.733 9.85809C105.745 9.87847 105.753 9.88255 105.757 9.88663C105.749 9.88255 105.77 9.86624 105.778 9.85401L107.233 7.44853C107.478 7.04897 107.869 6.82065 108.31 6.82065C108.995 6.82065 109.553 7.38737 109.553 8.08863V13.5723C109.561 13.9148 109.288 14.192 108.95 14.192ZM96.7634 14.192C95.6952 14.192 94.8594 13.8944 94.2805 13.3114C93.6934 12.7161 93.3957 11.8477 93.3957 10.7306V7.44037C93.3957 7.0979 93.6648 6.82065 93.9992 6.82065C94.3416 6.82065 94.6189 7.0979 94.6189 7.44037V10.7306C94.6189 12.2677 95.2875 12.9485 96.7879 12.9485C98.3086 12.9485 98.961 12.284 98.9691 10.7265V7.44037C98.9691 7.0979 99.2423 6.82065 99.5807 6.82065C99.9191 6.82065 100.192 7.0979 100.192 7.44037V10.7306C100.192 12.9648 98.9854 14.1961 96.7879 14.1961C96.7797 14.192 96.7716 14.192 96.7634 14.192ZM79.5744 14.1961C79.4072 14.1961 79.2442 14.1309 79.13 14.0045L76.1252 10.9426C75.9458 10.7591 75.8969 10.49 75.9988 10.2576C76.1007 10.0253 76.3127 9.88255 76.5573 9.88255H77.8335C78.3839 9.88255 78.865 9.45853 78.865 8.97336C78.865 8.50449 78.3757 8.09271 77.8212 8.09271H75.3954C75.3995 8.09271 75.3831 8.11309 75.3831 8.13348V13.5723C75.3831 13.9148 75.1059 14.1961 74.7634 14.1961C74.425 14.1961 74.1519 13.9148 74.1519 13.5723V8.1294C74.1519 7.43222 74.7104 6.86142 75.3954 6.86142H77.8212C79.0688 6.86142 80.084 7.80731 80.084 8.96928C80.084 10.0742 79.1626 11.016 78.0251 11.1138L79.9943 13.1279C80.1248 13.2502 80.1982 13.4215 80.19 13.6049C80.186 13.7721 80.1085 13.9311 79.978 14.0412C79.868 14.1472 79.7212 14.1961 79.5744 14.1961Z" fill="%23FBFBF9"/>%0A<path d="M3.34322 11.0041C3.34322 15.2239 6.75575 18.6486 10.9633 18.6486C12.0927 18.6486 13.1609 18.3959 14.1271 17.9514V21.5352C13.1242 21.8369 12.0641 22 10.9674 22C4.90882 22 0 17.0749 0 11C0 4.92513 4.9129 0 10.9674 0C12.0682 0 13.1282 0.163084 14.1271 0.464789V4.04855C13.1609 3.60823 12.0927 3.35137 10.9633 3.35137C6.75575 3.35952 3.34322 6.78429 3.34322 11.0041ZM10.9674 15.6642C8.39881 15.6642 6.3195 13.5767 6.3195 11.0041C6.3195 8.43143 8.39881 6.34396 10.9674 6.34396C13.536 6.34396 15.6153 8.43143 15.6153 11.0041C15.6153 13.5767 13.5319 15.6642 10.9674 15.6642ZM20.9033 15.6642H16.9974C17.9881 14.3758 18.5875 12.7613 18.5875 11.0082C18.5875 9.25093 17.9881 7.6364 16.9974 6.34396H20.9033C21.5638 7.75871 21.9388 9.34062 21.9388 11.0082C21.9348 12.6716 21.5638 14.2494 20.9033 15.6642Z" fill="%23FBFBF9"/>%0A</svg>%0A';
@@ -8272,7 +9458,7 @@ var terms = [
8272
9458
  term: "txt_tier_2_term",
8273
9459
  upgrade: "txt_tier_2_upgrade",
8274
9460
  upgradetext: "txt_tier_2_upgradetext",
8275
- logos: [aesirx_default, web3id_default]
9461
+ logos: [shield_of_privacy_default]
8276
9462
  },
8277
9463
  {
8278
9464
  level: 3,
@@ -8283,7 +9469,7 @@ var terms = [
8283
9469
  term: "txt_tier_3_term",
8284
9470
  upgrade: "txt_tier_3_upgrade",
8285
9471
  upgradetext: "txt_tier_3_upgradetext",
8286
- logos: [aesirx_default, web3id_default]
9472
+ logos: [shield_of_privacy_default]
8287
9473
  },
8288
9474
  {
8289
9475
  level: 4,
@@ -8293,7 +9479,7 @@ var terms = [
8293
9479
  content: "txt_tier_4_content",
8294
9480
  term: "txt_tier_4_term",
8295
9481
  upgradetext: "txt_tier_4_upgradetext",
8296
- logos: [aesirx_default, web3id_default, concordium_default]
9482
+ logos: [shield_of_privacy_default, concordium_default]
8297
9483
  }
8298
9484
  ];
8299
9485
  var TermsComponent = ({ children, level, handleLevel }) => {
@@ -8348,7 +9534,8 @@ import {
8348
9534
  MAINNET as MAINNET2,
8349
9535
  WithWalletConnector,
8350
9536
  useConnection as useConnection2,
8351
- useConnect as useConnect2
9537
+ useConnect as useConnect2,
9538
+ stringMessage as stringMessage2
8352
9539
  } from "@concordium/react-components";
8353
9540
  import { OsTypes, isMobile as isMobile2, osName } from "react-device-detect";
8354
9541
 
@@ -8409,14 +9596,50 @@ var LoadingStatus = ({ loading }) => {
8409
9596
  };
8410
9597
 
8411
9598
  // src/Components/Connect.tsx
8412
- import React3, { useState as useState3 } from "react";
9599
+ import React4, { Suspense, useState as useState4 } from "react";
8413
9600
  import { Modal } from "react-bootstrap";
8414
9601
  import { isMobile, isDesktop as isDesktop2 } from "react-device-detect";
8415
9602
 
8416
9603
  // src/Assets/concordium_logo.png
8417
9604
  var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF5SURBVHgBrVXtcYMwDJVz/I83qDdoOkHpBtkARmgmgE5QNkg2aDtB2IBkgtIJSCdwpdrcCUcGUvruFDv6eEiyMApGYK3VuGxQUpQ7r/5GaVA+lFIXuAVEiFKgdDaOdIwjEUgp4A1FwwIkAWmGy0Hwa1FqvzfgWjMPSLoRyt2TXvDVvv+ziD8D0hwWIPGkObgSe+zwxA/soZTdFmWNckZbHSQ1iEd7KWW7D4IKoUXkb5hPejUxQm/TCVJOrpnvkdkqUmyZouPl22mUzL9i+mYF7s3qcWL7q2kQEIvVq8BRR/YxrGMGIm4jZDVM48z2hu0vIbGx/oXwF8w7xEH2iv1/ZPuv3187vGxee6s/wEY4tC6YHhPYM+UNJS4Fe+IDZnxigTm4g1r7bCp+ZaL9GZd7Fr/jmXXBjBr4D9BThXIz+CNUQF7CsCWEFtyEUGvo60EtobJfwjtjFERu5yGFW+FP+biEOJGUWGKLy5N1M52DK117oWmgtrQwgh9inye0Cp+8ygAAAABJRU5ErkJggg==";
8418
9605
 
9606
+ // src/Components/Ethereum/connect.tsx
9607
+ import { useWeb3Modal } from "@web3modal/react";
9608
+ import React3, { useState as useState3 } from "react";
9609
+
9610
+ // src/Assets/ethereum_logo.png
9611
+ 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==";
9612
+
9613
+ // src/Components/Ethereum/connect.tsx
9614
+ var ConnectMetamask = () => {
9615
+ const [loading, setLoading] = useState3(false);
9616
+ const { open } = useWeb3Modal();
9617
+ async function onOpen() {
9618
+ setLoading(true);
9619
+ await open();
9620
+ setLoading(false);
9621
+ }
9622
+ return /* @__PURE__ */ React3.createElement(
9623
+ "button",
9624
+ {
9625
+ onClick: onOpen,
9626
+ disabled: loading,
9627
+ 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"
9628
+ },
9629
+ loading ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
9630
+ "span",
9631
+ {
9632
+ className: "spinner-border spinner-border-sm me-1",
9633
+ role: "status",
9634
+ "aria-hidden": "true"
9635
+ }
9636
+ ), "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")
9637
+ );
9638
+ };
9639
+ var connect_default = ConnectMetamask;
9640
+
8419
9641
  // src/Components/Connect.tsx
9642
+ import { useAccount as useAccount2 } from "wagmi";
8420
9643
  var ConnectModal = ({
8421
9644
  isConnecting,
8422
9645
  handleOnConnect,
@@ -8424,63 +9647,210 @@ var ConnectModal = ({
8424
9647
  activeConnectorType,
8425
9648
  activeConnector
8426
9649
  }) => {
8427
- const [show, setShow] = useState3(true);
9650
+ const [show, setShow] = useState4(true);
8428
9651
  const handleClose = () => setShow(false);
8429
9652
  const { t } = useTranslation();
8430
- return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(Modal, { show, onHide: handleClose }, /* @__PURE__ */ React3.createElement(Modal.Body, { className: "aesirxconsent" }, /* @__PURE__ */ React3.createElement("div", { className: "pb-4 px-4 block-wallet rounded-top" }, /* @__PURE__ */ React3.createElement("div", { className: "px-3 text-center" }, /* @__PURE__ */ React3.createElement("h3", { className: "fs-3 fw-semibold mt-2 mb-4 text-primary" }, t("txt_please_connect_your_wallet")), /* @__PURE__ */ React3.createElement("div", { className: "d-flex flex-row flex-wrap" }, isDesktop2 && /* @__PURE__ */ React3.createElement(
8431
- "button",
8432
- {
8433
- disabled: isConnecting,
8434
- 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-center mb-3",
8435
- onClick: () => handleOnConnect(BROWSER_WALLET)
8436
- },
8437
- isConnecting ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
8438
- "span",
8439
- {
8440
- className: "spinner-border spinner-border-sm me-1",
8441
- role: "status",
8442
- "aria-hidden": "true"
8443
- }
8444
- ), t("txt_connecting")) : /* @__PURE__ */ React3.createElement(React3.Fragment, null, " ", /* @__PURE__ */ React3.createElement(
8445
- "img",
8446
- {
8447
- src: concordium_logo_default,
8448
- className: "me-3 align-text-bottom",
8449
- alt: "Concordium"
8450
- }
8451
- ), "Concordium Browser Wallet")
8452
- ), /* @__PURE__ */ React3.createElement(
8453
- "button",
9653
+ return /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
9654
+ Modal,
8454
9655
  {
8455
- 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-center",
8456
- onClick: () => handleOnConnect(WALLET_CONNECT)
9656
+ className: "aesirxconsent aesirxconsent-modal",
9657
+ show,
9658
+ onHide: handleClose,
9659
+ centered: true
8457
9660
  },
8458
- !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React3.createElement(
8459
- "span",
9661
+ /* @__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(
9662
+ "button",
8460
9663
  {
8461
- className: "spinner-border spinner-border-sm me-1",
8462
- role: "status",
8463
- "aria-hidden": "true"
8464
- }
8465
- ) : /* @__PURE__ */ React3.createElement(React3.Fragment, null, " ", /* @__PURE__ */ React3.createElement(
8466
- "img",
9664
+ disabled: isConnecting,
9665
+ 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",
9666
+ onClick: () => handleOnConnect(BROWSER_WALLET)
9667
+ },
9668
+ isConnecting ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
9669
+ "span",
9670
+ {
9671
+ className: "spinner-border spinner-border-sm me-1",
9672
+ role: "status",
9673
+ "aria-hidden": "true"
9674
+ }
9675
+ ), t("txt_connecting")) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
9676
+ "img",
9677
+ {
9678
+ src: concordium_logo_default,
9679
+ className: "me-3 align-text-bottom",
9680
+ alt: "Concordium"
9681
+ }
9682
+ ), "Concordium Browser Wallet")
9683
+ ), /* @__PURE__ */ React4.createElement(
9684
+ "button",
8467
9685
  {
8468
- src: concordium_logo_default,
8469
- className: "me-3 align-text-bottom",
8470
- alt: "Concordium"
8471
- }
8472
- ), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
8473
- )), " ")))));
9686
+ 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",
9687
+ onClick: () => handleOnConnect(WALLET_CONNECT)
9688
+ },
9689
+ !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React4.createElement(
9690
+ "span",
9691
+ {
9692
+ className: "spinner-border spinner-border-sm me-1",
9693
+ role: "status",
9694
+ "aria-hidden": "true"
9695
+ }
9696
+ ) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
9697
+ "img",
9698
+ {
9699
+ src: concordium_logo_default,
9700
+ className: "me-3 align-text-bottom",
9701
+ alt: "Concordium"
9702
+ }
9703
+ ), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
9704
+ )), " ")))
9705
+ ));
9706
+ };
9707
+ var SSOEthereumApp = ({ handleOnConnect }) => {
9708
+ const { isConnected } = useAccount2({
9709
+ onConnect() {
9710
+ handleOnConnect("", "metamask");
9711
+ }
9712
+ });
9713
+ return isConnected ? /* @__PURE__ */ React4.createElement(React4.Fragment, null) : /* @__PURE__ */ React4.createElement(connect_default, null);
8474
9714
  };
8475
9715
  var Connect_default = ConnectModal;
8476
9716
 
8477
9717
  // src/Components/Consent.tsx
8478
- var ConsentComponent = ({ endpoint }) => {
8479
- return /* @__PURE__ */ React4.createElement(WithWalletConnector, { network: MAINNET2 }, (props) => /* @__PURE__ */ React4.createElement(ConsentComponentApp, { ...props, endpoint }));
9718
+ import { useAccount as useAccount3, useSignMessage } from "wagmi";
9719
+
9720
+ // src/Components/Ethereum/index.tsx
9721
+ import React5 from "react";
9722
+ import { configureChains, createConfig, WagmiConfig } from "wagmi";
9723
+ import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
9724
+ import {
9725
+ arbitrum,
9726
+ arbitrumGoerli,
9727
+ aurora,
9728
+ auroraTestnet,
9729
+ avalanche,
9730
+ avalancheFuji,
9731
+ baseGoerli,
9732
+ bronos,
9733
+ bronosTestnet,
9734
+ bsc,
9735
+ bscTestnet,
9736
+ canto,
9737
+ celo,
9738
+ celoAlfajores,
9739
+ crossbell,
9740
+ evmos,
9741
+ evmosTestnet,
9742
+ fantom,
9743
+ fantomTestnet,
9744
+ filecoin,
9745
+ filecoinCalibration,
9746
+ filecoinHyperspace,
9747
+ foundry,
9748
+ gnosis,
9749
+ gnosisChiado,
9750
+ goerli,
9751
+ hardhat,
9752
+ harmonyOne,
9753
+ iotex,
9754
+ iotexTestnet,
9755
+ localhost,
9756
+ mainnet,
9757
+ metis,
9758
+ metisGoerli,
9759
+ moonbaseAlpha,
9760
+ moonbeam,
9761
+ moonriver,
9762
+ okc,
9763
+ optimism,
9764
+ optimismGoerli,
9765
+ polygon,
9766
+ polygonMumbai,
9767
+ polygonZkEvmTestnet,
9768
+ sepolia,
9769
+ taraxa,
9770
+ taraxaTestnet,
9771
+ telos,
9772
+ telosTestnet,
9773
+ zkSync,
9774
+ zkSyncTestnet
9775
+ } from "wagmi/chains";
9776
+ import { Web3Modal } from "@web3modal/react";
9777
+ import { CONCORDIUM_WALLET_CONNECT_PROJECT_ID as CONCORDIUM_WALLET_CONNECT_PROJECT_ID2 } from "@concordium/react-components";
9778
+ var chains = [
9779
+ arbitrum,
9780
+ arbitrumGoerli,
9781
+ aurora,
9782
+ auroraTestnet,
9783
+ avalanche,
9784
+ avalancheFuji,
9785
+ baseGoerli,
9786
+ bronos,
9787
+ bronosTestnet,
9788
+ bsc,
9789
+ bscTestnet,
9790
+ canto,
9791
+ celo,
9792
+ celoAlfajores,
9793
+ crossbell,
9794
+ evmos,
9795
+ evmosTestnet,
9796
+ fantom,
9797
+ fantomTestnet,
9798
+ filecoin,
9799
+ filecoinCalibration,
9800
+ filecoinHyperspace,
9801
+ foundry,
9802
+ gnosis,
9803
+ gnosisChiado,
9804
+ goerli,
9805
+ hardhat,
9806
+ harmonyOne,
9807
+ iotex,
9808
+ iotexTestnet,
9809
+ localhost,
9810
+ mainnet,
9811
+ metis,
9812
+ metisGoerli,
9813
+ moonbaseAlpha,
9814
+ moonbeam,
9815
+ moonriver,
9816
+ okc,
9817
+ optimism,
9818
+ optimismGoerli,
9819
+ polygon,
9820
+ polygonMumbai,
9821
+ polygonZkEvmTestnet,
9822
+ sepolia,
9823
+ taraxa,
9824
+ taraxaTestnet,
9825
+ telos,
9826
+ telosTestnet,
9827
+ zkSync,
9828
+ zkSyncTestnet
9829
+ ];
9830
+ var projectId = CONCORDIUM_WALLET_CONNECT_PROJECT_ID2;
9831
+ var { publicClient, webSocketPublicClient } = configureChains(chains, [
9832
+ w3mProvider({ projectId })
9833
+ ]);
9834
+ var wagmiConfig = createConfig({
9835
+ autoConnect: true,
9836
+ connectors: w3mConnectors({ projectId, chains }),
9837
+ publicClient,
9838
+ webSocketPublicClient
9839
+ });
9840
+ var ethereumClient = new EthereumClient(wagmiConfig, chains);
9841
+ var SSOEthereumProvider = ({ children }) => {
9842
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React5.createElement(Web3Modal, { projectId, ethereumClient }));
9843
+ };
9844
+ var Ethereum_default = SSOEthereumProvider;
9845
+
9846
+ // src/Components/Consent.tsx
9847
+ var ConsentComponent = ({ endpoint, aesirXEndpoint }) => {
9848
+ return /* @__PURE__ */ React6.createElement(WithWalletConnector, { network: MAINNET2 }, (props) => /* @__PURE__ */ React6.createElement("div", { className: "aesirxconsent" }, /* @__PURE__ */ React6.createElement(Ethereum_default, null, /* @__PURE__ */ React6.createElement(ConsentComponentApp, { ...props, endpoint, aesirXEndpoint }))));
8480
9849
  };
8481
9850
  var ConsentComponentApp = (props) => {
8482
9851
  const {
8483
9852
  endpoint,
9853
+ aesirXEndpoint,
8484
9854
  activeConnectorType,
8485
9855
  activeConnector,
8486
9856
  activeConnectorError,
@@ -8490,8 +9860,10 @@ var ConsentComponentApp = (props) => {
8490
9860
  } = props;
8491
9861
  const { setConnection } = useConnection2(connectedAccounts, genesisHashes);
8492
9862
  const { isConnecting } = useConnect2(activeConnector, setConnection);
8493
- const handleOnConnect = async (connectorType) => {
8494
- await setActiveConnectorType(connectorType);
9863
+ const handleOnConnect = async (connectorType, network = "concordium") => {
9864
+ if (network === "concordium") {
9865
+ setActiveConnectorType(connectorType);
9866
+ }
8495
9867
  setLoading("done");
8496
9868
  };
8497
9869
  const [
@@ -8502,18 +9874,81 @@ var ConsentComponentApp = (props) => {
8502
9874
  show,
8503
9875
  setShow,
8504
9876
  web3ID,
9877
+ setWeb3ID,
8505
9878
  handleLevel,
8506
9879
  showRevoke,
8507
- handleRevoke,
8508
- showConnectModal
9880
+ handleRevoke
8509
9881
  ] = useConsentStatus_default(endpoint, props);
8510
- const [consents, setConsents] = useState4([1, 2]);
8511
- const [loading, setLoading] = useState4("done");
8512
- const [showExpandConsent, setShowExpandConsent] = useState4(true);
8513
- const [showExpandRevoke, setShowExpandRevoke] = useState4(false);
8514
- const [showBackdrop, setShowBackdrop] = useState4(true);
9882
+ const [consents, setConsents] = useState5([1, 2]);
9883
+ const [loading, setLoading] = useState5("done");
9884
+ const [loadingCheckAccount, setLoadingCheckAccount] = useState5(false);
9885
+ const [showExpandConsent, setShowExpandConsent] = useState5(true);
9886
+ const [showExpandRevoke, setShowExpandRevoke] = useState5(false);
9887
+ const [showBackdrop, setShowBackdrop] = useState5(true);
8515
9888
  const analyticsContext = useContext2(AnalyticsContext);
8516
9889
  const { t } = useTranslation();
9890
+ const { address, connector } = useAccount3();
9891
+ const { signMessage } = useSignMessage({
9892
+ async onSuccess(data, variables) {
9893
+ const signature = Buffer.from(
9894
+ typeof data === "object" && data !== null ? JSON.stringify(data) : data,
9895
+ "utf-8"
9896
+ ).toString("base64");
9897
+ const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
9898
+ if (variables?.message.indexOf("Revoke consent") > -1) {
9899
+ const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
9900
+ const consentList = await getConsents(endpoint, uuid);
9901
+ consentList.forEach(async (consent) => {
9902
+ !consent?.expiration && await revokeConsents(
9903
+ endpoint,
9904
+ levelRevoke,
9905
+ consent?.consent_uuid,
9906
+ address,
9907
+ signature,
9908
+ web3ID,
9909
+ jwt,
9910
+ "metamask"
9911
+ );
9912
+ });
9913
+ setLoading("done");
9914
+ handleRevoke(false);
9915
+ setShowExpandConsent(false);
9916
+ setShow(true);
9917
+ setShowBackdrop(false);
9918
+ sessionStorage.removeItem("aesirx-analytics-allow");
9919
+ } else if (variables?.message.indexOf("Login with nonce") > -1) {
9920
+ const res = await verifySignature(aesirXEndpoint, "metamask", address, data);
9921
+ sessionStorage.setItem("aesirx-analytics-jwt", res?.jwt);
9922
+ setLoadingCheckAccount(false);
9923
+ const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
9924
+ signMessage({ message: `${nonce}` });
9925
+ } else {
9926
+ setLoading("saving");
9927
+ await agreeConsents(
9928
+ endpoint,
9929
+ level,
9930
+ uuid,
9931
+ consents,
9932
+ address,
9933
+ signature,
9934
+ web3ID,
9935
+ jwt,
9936
+ "metamask"
9937
+ );
9938
+ sessionStorage.setItem("aesirx-analytics-uuid", uuid);
9939
+ sessionStorage.setItem("aesirx-analytics-allow", "1");
9940
+ sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
9941
+ setShow(false);
9942
+ setLoading("done");
9943
+ handleRevoke(true, level);
9944
+ setShowBackdrop(false);
9945
+ }
9946
+ },
9947
+ async onError(error) {
9948
+ setLoading("done");
9949
+ toast2.error(error.message);
9950
+ }
9951
+ });
8517
9952
  const handleChange = async ({ target: { value } }) => {
8518
9953
  if (consents.indexOf(parseInt(value)) === -1) {
8519
9954
  setConsents([...consents, ...[parseInt(value)]]);
@@ -8524,11 +9959,69 @@ var ConsentComponentApp = (props) => {
8524
9959
  const handleAgree = async () => {
8525
9960
  try {
8526
9961
  let flag = true;
9962
+ let jwt = "";
8527
9963
  if (level > 2) {
9964
+ if (level === 4) {
9965
+ try {
9966
+ setLoadingCheckAccount(true);
9967
+ const nonceLogin = await getWalletNonce(
9968
+ aesirXEndpoint,
9969
+ account ? "concordium" : "metamask",
9970
+ account ?? address
9971
+ );
9972
+ if (nonceLogin) {
9973
+ try {
9974
+ if (account) {
9975
+ const signature = await connection.signMessage(
9976
+ account,
9977
+ stringMessage2(`${nonceLogin}`)
9978
+ );
9979
+ const convertedSignature = typeof signature === "object" && signature !== null ? signature : JSON.parse(signature);
9980
+ if (signature) {
9981
+ const data = await verifySignature(
9982
+ aesirXEndpoint,
9983
+ "concordium",
9984
+ account,
9985
+ convertedSignature
9986
+ );
9987
+ sessionStorage.setItem("aesirx-analytics-jwt", data?.jwt);
9988
+ jwt = data?.jwt;
9989
+ setLoadingCheckAccount(false);
9990
+ }
9991
+ } else {
9992
+ signMessage({ message: `${nonceLogin}` });
9993
+ }
9994
+ } catch (error) {
9995
+ setLoadingCheckAccount(false);
9996
+ toast2(error.message);
9997
+ }
9998
+ }
9999
+ } catch (error) {
10000
+ SSOClick(".loginSSO");
10001
+ setLoadingCheckAccount(false);
10002
+ return;
10003
+ }
10004
+ }
8528
10005
  if (account) {
8529
- const signature = await getSignature(endpoint, account, connection, "Give consent:{}");
10006
+ const signature = await getSignature(
10007
+ endpoint,
10008
+ account,
10009
+ connection,
10010
+ level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}"
10011
+ );
8530
10012
  setLoading("saving");
8531
- await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID);
10013
+ await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID, jwt);
10014
+ sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
10015
+ } else if (connector) {
10016
+ if (level === 3) {
10017
+ const nonce = await getNonce(
10018
+ endpoint,
10019
+ address,
10020
+ level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}",
10021
+ "metamask"
10022
+ );
10023
+ signMessage({ message: `${nonce}` });
10024
+ }
8532
10025
  } else {
8533
10026
  setLoading("connect");
8534
10027
  flag = false;
@@ -8545,7 +10038,7 @@ var ConsentComponentApp = (props) => {
8545
10038
  }
8546
10039
  });
8547
10040
  }
8548
- if (flag) {
10041
+ if (flag && (account || level < 3)) {
8549
10042
  sessionStorage.setItem("aesirx-analytics-uuid", uuid);
8550
10043
  sessionStorage.setItem("aesirx-analytics-allow", "1");
8551
10044
  setShow(false);
@@ -8554,6 +10047,7 @@ var ConsentComponentApp = (props) => {
8554
10047
  setShowBackdrop(false);
8555
10048
  }
8556
10049
  } catch (error) {
10050
+ console.log(error);
8557
10051
  handleNotAllow();
8558
10052
  setLoading("done");
8559
10053
  toast2.error(error?.response?.data?.error ?? error.message);
@@ -8562,12 +10056,71 @@ var ConsentComponentApp = (props) => {
8562
10056
  const onGetData = async (response) => {
8563
10057
  try {
8564
10058
  setLoading("saving");
10059
+ const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
8565
10060
  sessionStorage.setItem("aesirx-analytics-jwt", response?.jwt);
8566
- await agreeConsents(endpoint, level, uuid, consents, null, null, null, response?.jwt);
8567
- setShow(false);
8568
- handleRevoke(true, level);
8569
- setLoading("done");
10061
+ if (levelRevoke && levelRevoke !== "0") {
10062
+ sessionStorage.setItem(
10063
+ "aesirx-analytics-consent-type",
10064
+ response?.loginType === "concordium" ? "concordium" : "metamask"
10065
+ );
10066
+ handleRevokeBtn();
10067
+ } else {
10068
+ if (level === 4) {
10069
+ let hasWeb3ID = true;
10070
+ if (response?.loginType === "concordium") {
10071
+ const web3ID2 = await getWeb3ID(connection, account);
10072
+ if (web3ID2) {
10073
+ setWeb3ID(web3ID2);
10074
+ } else {
10075
+ hasWeb3ID = false;
10076
+ }
10077
+ } else {
10078
+ const memberData = await getMember(aesirXEndpoint, response?.access_token);
10079
+ hasWeb3ID = memberData?.web3id ? true : false;
10080
+ }
10081
+ if (hasWeb3ID) {
10082
+ if (response?.loginType === "concordium") {
10083
+ sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
10084
+ const signature = await getSignature(
10085
+ endpoint,
10086
+ account,
10087
+ connection,
10088
+ "Give consent Tier 4:{}"
10089
+ );
10090
+ await agreeConsents(
10091
+ endpoint,
10092
+ level,
10093
+ uuid,
10094
+ consents,
10095
+ account,
10096
+ signature,
10097
+ null,
10098
+ response?.jwt
10099
+ );
10100
+ setShow(false);
10101
+ handleRevoke(true, level);
10102
+ setLoading("done");
10103
+ } else if (response?.loginType === "metamask") {
10104
+ sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
10105
+ const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
10106
+ signMessage({ message: `${nonce}` });
10107
+ }
10108
+ } else {
10109
+ handleLevel(3);
10110
+ toast2(
10111
+ "You haven't minted any WEB3 ID yet. Try to mint at https://dapp.shield.aesirx.io"
10112
+ );
10113
+ setLoading("done");
10114
+ }
10115
+ } else {
10116
+ await agreeConsents(endpoint, level, uuid, consents, null, null, null, response?.jwt);
10117
+ setShow(false);
10118
+ handleRevoke(true, level);
10119
+ setLoading("done");
10120
+ }
10121
+ }
8570
10122
  } catch (error) {
10123
+ console.log(error);
8571
10124
  setShow(false);
8572
10125
  setLoading("done");
8573
10126
  toast2.error(error?.response?.data?.error ?? error.message);
@@ -8581,11 +10134,17 @@ var ConsentComponentApp = (props) => {
8581
10134
  };
8582
10135
  const handleRevokeBtn = async () => {
8583
10136
  const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
10137
+ const consentType = sessionStorage.getItem("aesirx-analytics-consent-type");
10138
+ const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
8584
10139
  try {
8585
10140
  let flag = true;
8586
10141
  if (levelRevoke !== "1") {
8587
10142
  if (parseInt(levelRevoke) > 2) {
8588
- if (account) {
10143
+ if (!jwt && (parseInt(levelRevoke) === 2 || parseInt(levelRevoke) === 4)) {
10144
+ SSOClick(".revokeLogin");
10145
+ return;
10146
+ }
10147
+ if (account && consentType !== "metamask") {
8589
10148
  setLoading("sign");
8590
10149
  const signature = await getSignature(
8591
10150
  endpoint,
@@ -8602,11 +10161,17 @@ var ConsentComponentApp = (props) => {
8602
10161
  consent?.consent_uuid,
8603
10162
  account,
8604
10163
  signature,
8605
- web3ID
10164
+ web3ID,
10165
+ jwt
8606
10166
  );
8607
10167
  });
8608
10168
  setLoading("done");
8609
10169
  handleRevoke(false);
10170
+ } else if (connector) {
10171
+ setLoading("sign");
10172
+ setLoading("saving");
10173
+ const nonce = await getNonce(endpoint, address, "Revoke consent:{}", "metamask");
10174
+ signMessage({ message: `${nonce}` });
8610
10175
  } else {
8611
10176
  setLoading("connect");
8612
10177
  flag = false;
@@ -8622,13 +10187,13 @@ var ConsentComponentApp = (props) => {
8622
10187
  null,
8623
10188
  null,
8624
10189
  null,
8625
- sessionStorage.getItem("aesirx-analytics-jwt")
10190
+ jwt
8626
10191
  );
8627
10192
  });
8628
10193
  setLoading("done");
8629
10194
  handleRevoke(false);
8630
10195
  }
8631
- if (flag) {
10196
+ if (flag && (account && consentType !== "metamask" || level < 3)) {
8632
10197
  setShowExpandConsent(false);
8633
10198
  setShow(true);
8634
10199
  setShowBackdrop(false);
@@ -8642,165 +10207,212 @@ var ConsentComponentApp = (props) => {
8642
10207
  sessionStorage.removeItem("aesirx-analytics-allow");
8643
10208
  }
8644
10209
  } catch (error) {
10210
+ console.log(error);
8645
10211
  setLoading("done");
8646
10212
  toast2.error(error?.response?.data?.error ?? error.message);
8647
10213
  }
8648
10214
  };
10215
+ const SSOClick = (selector) => {
10216
+ const element = document.querySelector(selector);
10217
+ element.click();
10218
+ };
10219
+ useEffect2(() => {
10220
+ if (activeConnectorError) {
10221
+ toast2.error(activeConnectorError);
10222
+ }
10223
+ }, [activeConnectorError]);
8649
10224
  useEffect2(() => {
8650
10225
  if (sessionStorage.getItem("aesirx-analytics-rejected") === "true") {
8651
10226
  setShowBackdrop(false);
8652
10227
  setShowExpandConsent(false);
8653
10228
  }
8654
10229
  }, []);
8655
- return /* @__PURE__ */ React4.createElement("div", { className: "aesirxconsent" }, /* @__PURE__ */ React4.createElement(ToastContainer, null), /* @__PURE__ */ React4.createElement("div", { className: `offcanvas-backdrop fade ${showBackdrop && show ? "show" : "d-none"}` }), /* @__PURE__ */ React4.createElement("div", { tabIndex: -1, className: `toast-container position-fixed bottom-0 end-0 p-3` }, /* @__PURE__ */ React4.createElement(
10230
+ console.log("level", uuid, level, web3ID, account, loading);
10231
+ return /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement(ToastContainer, null), /* @__PURE__ */ React6.createElement("div", { className: `offcanvas-backdrop fade ${showBackdrop && show ? "show" : "d-none"}` }), /* @__PURE__ */ React6.createElement(
10232
+ "div",
10233
+ {
10234
+ tabIndex: -1,
10235
+ className: `toast-container position-fixed m-3 ${showExpandRevoke ? "top-50 start-50 translate-middle shadow" : "bottom-0 end-0"}`
10236
+ },
10237
+ /* @__PURE__ */ React6.createElement(
10238
+ "div",
10239
+ {
10240
+ className: `toast revoke-toast ${showRevoke || sessionStorage.getItem("aesirx-analytics-revoke") && sessionStorage.getItem("aesirx-analytics-revoke") !== "0" ? "show" : ""} ${showExpandRevoke ? "" : "minimize"}`
10241
+ },
10242
+ /* @__PURE__ */ React6.createElement(LoadingStatus, { loading }),
10243
+ /* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0 " }, /* @__PURE__ */ React6.createElement("div", { className: "revoke-wrapper minimize-shield-wrapper position-relative" }, !showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10244
+ "img",
10245
+ {
10246
+ className: "cover-img position-absolute h-100 w-100 object-fit-cover",
10247
+ src: bg_default
10248
+ }
10249
+ ), /* @__PURE__ */ React6.createElement(
10250
+ "div",
10251
+ {
10252
+ className: "minimize-shield",
10253
+ onClick: () => {
10254
+ if (osName !== OsTypes?.IOS && isMobile2 && !connection && sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke")) > 2) {
10255
+ setActiveConnectorType(WALLET_CONNECT);
10256
+ }
10257
+ setShowExpandRevoke(true);
10258
+ }
10259
+ },
10260
+ /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
10261
+ t("txt_shield_of_privacy")
10262
+ )), showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10263
+ "div",
10264
+ {
10265
+ className: "minimize-revoke",
10266
+ onClick: () => {
10267
+ setShowExpandRevoke(false);
10268
+ }
10269
+ },
10270
+ /* @__PURE__ */ React6.createElement("img", { src: no_default })
10271
+ ), /* @__PURE__ */ React6.createElement("div", { className: "p-3 bg-white text" }, t("txt_you_can_revoke"), " ", /* @__PURE__ */ React6.createElement("br", null), t("txt_visit"), " ", /* @__PURE__ */ React6.createElement(
10272
+ "a",
10273
+ {
10274
+ href: "https://nft.shield.aesirx.io",
10275
+ className: "text-success text-decoration-underline",
10276
+ target: "_blank",
10277
+ rel: "noreferrer"
10278
+ },
10279
+ t("txt_here")
10280
+ ), " ", t("txt_for_more_information")), /* @__PURE__ */ React6.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React6.createElement(
10281
+ "img",
10282
+ {
10283
+ className: "cover-img position-absolute h-100 w-100 object-fit-cover",
10284
+ src: bg_default
10285
+ }
10286
+ ), /* @__PURE__ */ React6.createElement("div", { className: "position-relative p-3" }, /* @__PURE__ */ React6.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React6.createElement("div", { className: "me-2" }, /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }), " ", t("txt_shield_of_privacy")), /* @__PURE__ */ React6.createElement("div", { className: "d-flex align-items-center" }, /* @__PURE__ */ React6.createElement(
10287
+ "a",
10288
+ {
10289
+ className: "text-success text-decoration-underline manage-consent",
10290
+ href: "https://dapp.shield.aesirx.io/revoke-consent",
10291
+ target: "_blank",
10292
+ rel: "noreferrer"
10293
+ },
10294
+ t("txt_manage_consent")
10295
+ ), loading === "done" ? /* @__PURE__ */ React6.createElement(
10296
+ Button2,
10297
+ {
10298
+ variant: "success",
10299
+ onClick: handleRevokeBtn,
10300
+ className: "text-white d-flex align-items-center revoke-btn"
10301
+ },
10302
+ t("txt_revoke_consent")
10303
+ ) : /* @__PURE__ */ React6.createElement(React6.Fragment, null), (sessionStorage.getItem("aesirx-analytics-revoke") === "4" || sessionStorage.getItem("aesirx-analytics-revoke") === "2") && /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement(
10304
+ SSOButton,
10305
+ {
10306
+ className: "d-none revokeLogin",
10307
+ text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, "Login Revoke"),
10308
+ ssoState: "noscopes",
10309
+ onGetData
10310
+ }
10311
+ )))))))))
10312
+ )
10313
+ ), /* @__PURE__ */ React6.createElement(
8656
10314
  "div",
8657
10315
  {
8658
- className: `toast revoke-toast ${showRevoke || sessionStorage.getItem("aesirx-analytics-revoke") && sessionStorage.getItem("aesirx-analytics-revoke") !== "0" ? "show" : ""} ${showExpandRevoke ? "" : "minimize"}`
10316
+ tabIndex: -1,
10317
+ className: `toast-container position-fixed m-3 ${showExpandConsent ? "top-50 start-50 translate-middle shadow" : "bottom-0 end-0"}`
8659
10318
  },
8660
- /* @__PURE__ */ React4.createElement(LoadingStatus, { loading }),
8661
- /* @__PURE__ */ React4.createElement("div", { className: "toast-body p-0 " }, /* @__PURE__ */ React4.createElement("div", { className: "revoke-wrapper minimize-shield-wrapper position-relative" }, !showExpandRevoke && /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
10319
+ /* @__PURE__ */ React6.createElement("div", { className: `toast ${show ? "show" : ""} ${showExpandConsent ? "" : "minimize"}` }, /* @__PURE__ */ React6.createElement(LoadingStatus, { loading }), /* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0" }, !showExpandConsent ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("div", { className: "minimize-shield-wrapper position-relative" }, /* @__PURE__ */ React6.createElement(
8662
10320
  "img",
8663
10321
  {
8664
10322
  className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8665
10323
  src: bg_default
8666
10324
  }
8667
- ), /* @__PURE__ */ React4.createElement(
10325
+ ), /* @__PURE__ */ React6.createElement(
8668
10326
  "div",
8669
10327
  {
8670
10328
  className: "minimize-shield",
8671
10329
  onClick: () => {
8672
- if (osName !== OsTypes?.IOS && isMobile2 && !connection && sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke")) > 2) {
8673
- setActiveConnectorType(WALLET_CONNECT);
8674
- }
8675
- setShowExpandRevoke(true);
10330
+ setShowExpandConsent(true);
10331
+ sessionStorage.removeItem("aesirx-analytics-rejected");
8676
10332
  }
8677
10333
  },
8678
- /* @__PURE__ */ React4.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
10334
+ /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
8679
10335
  t("txt_shield_of_privacy")
8680
- )), showExpandRevoke && /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
8681
- "div",
8682
- {
8683
- className: "minimize-revoke",
8684
- onClick: () => {
8685
- setShowExpandRevoke(false);
8686
- }
8687
- },
8688
- /* @__PURE__ */ React4.createElement("img", { src: no_default })
8689
- ), /* @__PURE__ */ React4.createElement("div", { className: "p-3 bg-white text" }, t("txt_you_can_revoke"), " ", /* @__PURE__ */ React4.createElement("br", null), t("txt_go_to"), " ", /* @__PURE__ */ React4.createElement(
8690
- "a",
10336
+ ))) : /* @__PURE__ */ React6.createElement(React6.Fragment, null, level ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(TermsComponent, { level, handleLevel }, /* @__PURE__ */ React6.createElement(Form, { className: "mb-0" }, /* @__PURE__ */ React6.createElement(
10337
+ Form.Check,
8691
10338
  {
8692
- href: "https://nft.shield.aesirx.io",
8693
- className: "text-success text-decoration-underline",
8694
- target: "_blank",
8695
- rel: "noreferrer"
8696
- },
8697
- t("txt_link")
8698
- ), " ", t("txt_for_more_information")), /* @__PURE__ */ React4.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React4.createElement(
8699
- "img",
10339
+ checked: consents.includes(1),
10340
+ type: "switch",
10341
+ label: "Personal data share consent.",
10342
+ value: 1,
10343
+ onChange: handleChange,
10344
+ className: "d-none"
10345
+ }
10346
+ ), /* @__PURE__ */ React6.createElement(
10347
+ Form.Check,
8700
10348
  {
8701
- className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8702
- src: bg_default
10349
+ checked: consents.includes(2),
10350
+ type: "switch",
10351
+ label: "Personal data cross site share consent.",
10352
+ value: 2,
10353
+ onChange: handleChange,
10354
+ className: "d-none"
8703
10355
  }
8704
- ), /* @__PURE__ */ React4.createElement("div", { className: "position-relative p-3" }, /* @__PURE__ */ React4.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React4.createElement("div", { className: "me-2" }, /* @__PURE__ */ React4.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }), " ", t("txt_shield_of_privacy")), /* @__PURE__ */ React4.createElement("div", { className: "d-flex align-items-center" }, /* @__PURE__ */ React4.createElement(
8705
- "a",
10356
+ ), /* @__PURE__ */ React6.createElement("div", { className: "d-flex justify-content-end" }, loading === "done" ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10357
+ "div",
8706
10358
  {
8707
- className: "text-success text-decoration-underline manage-consent",
8708
- href: "https://dapp.shield.aesirx.io/revoke-consent",
8709
- target: "_blank",
8710
- rel: "noreferrer"
10359
+ className: `ssoBtnWrapper me-1 bg-success ${level === 2 || level === 4 && !account && !address ? "" : "d-none"}`
8711
10360
  },
8712
- t("txt_manage_consent")
8713
- ), loading === "done" ? /* @__PURE__ */ React4.createElement(
10361
+ /* @__PURE__ */ React6.createElement(
10362
+ SSOButton,
10363
+ {
10364
+ className: "btn btn-success text-white d-flex align-items-center loginSSO",
10365
+ text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
10366
+ ssoState: "noscopes",
10367
+ onGetData,
10368
+ ...level === 2 ? { noCreateAccount: true } : {}
10369
+ }
10370
+ )
10371
+ ), level === 2 || level === 4 && !account && !address ? /* @__PURE__ */ React6.createElement(React6.Fragment, null) : /* @__PURE__ */ React6.createElement(
8714
10372
  Button2,
8715
10373
  {
8716
10374
  variant: "success",
8717
- onClick: handleRevokeBtn,
8718
- className: "text-white d-flex align-items-center revoke-btn"
10375
+ onClick: handleAgree,
10376
+ className: "me-1 text-white d-flex align-items-center"
8719
10377
  },
8720
- t("txt_revoke_consent")
8721
- ) : /* @__PURE__ */ React4.createElement(React4.Fragment, null))))))))
8722
- )), /* @__PURE__ */ React4.createElement("div", { tabIndex: -1, className: `toast-container position-fixed bottom-0 end-0 p-3` }, /* @__PURE__ */ React4.createElement("div", { className: `toast ${show ? "show" : ""} ${showExpandConsent ? "" : "minimize"}` }, /* @__PURE__ */ React4.createElement(LoadingStatus, { loading }), /* @__PURE__ */ React4.createElement("div", { className: "toast-body p-0" }, !showExpandConsent ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("div", { className: "minimize-shield-wrapper position-relative" }, /* @__PURE__ */ React4.createElement(
8723
- "img",
8724
- {
8725
- className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8726
- src: bg_default
8727
- }
8728
- ), /* @__PURE__ */ React4.createElement(
8729
- "div",
8730
- {
8731
- className: "minimize-shield",
8732
- onClick: () => {
8733
- setShowExpandConsent(true);
8734
- sessionStorage.removeItem("aesirx-analytics-rejected");
8735
- }
8736
- },
8737
- /* @__PURE__ */ React4.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
8738
- t("txt_shield_of_privacy")
8739
- ))) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, level ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(TermsComponent, { level, handleLevel }, /* @__PURE__ */ React4.createElement(Form, { className: "mb-0" }, /* @__PURE__ */ React4.createElement(
8740
- Form.Check,
8741
- {
8742
- checked: consents.includes(1),
8743
- type: "switch",
8744
- label: "Personal data share consent.",
8745
- value: 1,
8746
- onChange: handleChange,
8747
- className: "d-none"
8748
- }
8749
- ), /* @__PURE__ */ React4.createElement(
8750
- Form.Check,
8751
- {
8752
- checked: consents.includes(2),
8753
- type: "switch",
8754
- label: "Personal data cross site share consent.",
8755
- value: 2,
8756
- onChange: handleChange,
8757
- className: "d-none"
8758
- }
8759
- ), /* @__PURE__ */ React4.createElement("div", { className: "d-flex justify-content-end" }, loading === "done" ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, level === 2 ? /* @__PURE__ */ React4.createElement("div", { className: "ssoBtnWrapper me-1 bg-success" }, /* @__PURE__ */ React4.createElement(
8760
- SSOButton,
8761
- {
8762
- className: "btn btn-success text-white d-flex align-items-center",
8763
- text: /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
8764
- ssoState: "noscopes",
8765
- onGetData
8766
- }
8767
- )) : /* @__PURE__ */ React4.createElement(
8768
- Button2,
8769
- {
8770
- variant: "success",
8771
- onClick: handleAgree,
8772
- className: "me-1 text-white d-flex align-items-center"
8773
- },
8774
- /* @__PURE__ */ React4.createElement("img", { src: yes_default, className: "me-1" }),
8775
- t("txt_yes_i_consent")
8776
- ), /* @__PURE__ */ React4.createElement(
8777
- Button2,
8778
- {
8779
- variant: "success-outline",
8780
- onClick: handleNotAllow,
8781
- className: "d-flex align-items-center"
8782
- },
8783
- /* @__PURE__ */ React4.createElement("img", { src: no_default, className: "me-1" }),
8784
- t("txt_reject_consent")
8785
- )) : /* @__PURE__ */ React4.createElement(React4.Fragment, null))))) : /* @__PURE__ */ React4.createElement("div", { className: "p-4" }, /* @__PURE__ */ React4.createElement(
8786
- ContentLoader,
8787
- {
8788
- speed: 2,
8789
- width: 340,
8790
- height: 84,
8791
- viewBox: "0 0 340 84",
8792
- backgroundColor: "#f3f3f3",
8793
- foregroundColor: "#ecebeb"
8794
- },
8795
- /* @__PURE__ */ React4.createElement("rect", { x: "0", y: "0", rx: "3", ry: "3", width: "67", height: "11" }),
8796
- /* @__PURE__ */ React4.createElement("rect", { x: "76", y: "0", rx: "3", ry: "3", width: "140", height: "11" }),
8797
- /* @__PURE__ */ React4.createElement("rect", { x: "127", y: "48", rx: "3", ry: "3", width: "53", height: "11" }),
8798
- /* @__PURE__ */ React4.createElement("rect", { x: "187", y: "48", rx: "3", ry: "3", width: "72", height: "11" }),
8799
- /* @__PURE__ */ React4.createElement("rect", { x: "18", y: "48", rx: "3", ry: "3", width: "100", height: "11" }),
8800
- /* @__PURE__ */ React4.createElement("rect", { x: "0", y: "71", rx: "3", ry: "3", width: "37", height: "11" }),
8801
- /* @__PURE__ */ React4.createElement("rect", { x: "18", y: "23", rx: "3", ry: "3", width: "140", height: "11" }),
8802
- /* @__PURE__ */ React4.createElement("rect", { x: "166", y: "23", rx: "3", ry: "3", width: "173", height: "11" })
8803
- )))))), !account && (loading === "connect" || showConnectModal) && /* @__PURE__ */ React4.createElement(
10378
+ loadingCheckAccount ? /* @__PURE__ */ React6.createElement(
10379
+ "span",
10380
+ {
10381
+ className: "spinner-border spinner-border-sm me-1",
10382
+ role: "status",
10383
+ "aria-hidden": "true"
10384
+ }
10385
+ ) : /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }),
10386
+ t("txt_yes_i_consent")
10387
+ ), /* @__PURE__ */ React6.createElement(
10388
+ Button2,
10389
+ {
10390
+ variant: "success-outline",
10391
+ onClick: handleNotAllow,
10392
+ className: "d-flex align-items-center"
10393
+ },
10394
+ /* @__PURE__ */ React6.createElement("img", { src: no_default, className: "me-1" }),
10395
+ t("txt_reject_consent")
10396
+ )) : /* @__PURE__ */ React6.createElement(React6.Fragment, null))))) : /* @__PURE__ */ React6.createElement("div", { className: "p-4" }, /* @__PURE__ */ React6.createElement(
10397
+ ContentLoader,
10398
+ {
10399
+ speed: 2,
10400
+ width: 340,
10401
+ height: 84,
10402
+ viewBox: "0 0 340 84",
10403
+ backgroundColor: "#f3f3f3",
10404
+ foregroundColor: "#ecebeb"
10405
+ },
10406
+ /* @__PURE__ */ React6.createElement("rect", { x: "0", y: "0", rx: "3", ry: "3", width: "67", height: "11" }),
10407
+ /* @__PURE__ */ React6.createElement("rect", { x: "76", y: "0", rx: "3", ry: "3", width: "140", height: "11" }),
10408
+ /* @__PURE__ */ React6.createElement("rect", { x: "127", y: "48", rx: "3", ry: "3", width: "53", height: "11" }),
10409
+ /* @__PURE__ */ React6.createElement("rect", { x: "187", y: "48", rx: "3", ry: "3", width: "72", height: "11" }),
10410
+ /* @__PURE__ */ React6.createElement("rect", { x: "18", y: "48", rx: "3", ry: "3", width: "100", height: "11" }),
10411
+ /* @__PURE__ */ React6.createElement("rect", { x: "0", y: "71", rx: "3", ry: "3", width: "37", height: "11" }),
10412
+ /* @__PURE__ */ React6.createElement("rect", { x: "18", y: "23", rx: "3", ry: "3", width: "140", height: "11" }),
10413
+ /* @__PURE__ */ React6.createElement("rect", { x: "166", y: "23", rx: "3", ry: "3", width: "173", height: "11" })
10414
+ )))))
10415
+ ), !account && loading === "connect" && /* @__PURE__ */ React6.createElement(
8804
10416
  Connect_default,
8805
10417
  {
8806
10418
  isConnecting,