aesirx-analytics 2.1.1 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,14 @@
1
1
  import {
2
2
  AnalyticsContext,
3
3
  useTranslation
4
- } from "./chunk-OGDZQCIU.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
  };
@@ -185,7 +294,6 @@ var getWeb3ID = async (provider, account) => {
185
294
 
186
295
  // src/Hooks/useConsentStatus.ts
187
296
  import { toast } from "react-toastify";
188
- import { isDesktop } from "react-device-detect";
189
297
  import {
190
298
  MAINNET,
191
299
  useConnection,
@@ -215,14 +323,16 @@ var WALLET_CONNECT = ephemeralConnectorType(
215
323
  );
216
324
 
217
325
  // src/Hooks/useConsentStatus.ts
326
+ import { isDesktop } from "react-device-detect";
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");
@@ -289,6 +399,19 @@ var useConsentStatus = (endpoint, props) => {
289
399
  });
290
400
  }
291
401
  }, [connection, genesisHash, network]);
402
+ useEffect(() => {
403
+ const initConnector = async () => {
404
+ if (isDesktop && sessionStorage.getItem("aesirx-analytics-revoke") !== "1" && sessionStorage.getItem("aesirx-analytics-revoke") !== "2") {
405
+ const address2 = await window["concordium"]?.requestAccounts() ?? [];
406
+ window.addEventListener("load", function() {
407
+ if (window["concordium"] && address2?.length) {
408
+ setActiveConnectorType(BROWSER_WALLET);
409
+ }
410
+ });
411
+ }
412
+ };
413
+ initConnector();
414
+ }, []);
292
415
  useEffect(() => {
293
416
  if (activeConnector) {
294
417
  connect();
@@ -299,64 +422,49 @@ var useConsentStatus = (endpoint, props) => {
299
422
  toast.error(connectError);
300
423
  }
301
424
  }, [connectError]);
302
- useEffect(() => {
303
- if (isDesktop && sessionStorage.getItem("aesirx-analytics-revoke") !== "1" && sessionStorage.getItem("aesirx-analytics-revoke") !== "2") {
304
- setActiveConnectorType(BROWSER_WALLET);
305
- }
306
- }, []);
307
425
  useEffect(() => {
308
426
  (async () => {
309
427
  try {
310
428
  let l = level;
311
429
  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;
430
+ if (l < 3) {
431
+ setLevel(null);
432
+ l = 3;
433
+ let web3ID2 = "";
434
+ if (account && sessionStorage.getItem("aesirx-analytics-consent-type") !== "metamask") {
435
+ web3ID2 = await getWeb3ID(connection, account);
436
+ if (web3ID2) {
437
+ l = 4;
438
+ }
439
+ }
440
+ setWeb3ID(web3ID2);
441
+ setLevel(l);
442
+ }
443
+ } else if (connector) {
444
+ if (l < 3) {
445
+ l = 3;
446
+ const web3ID2 = "";
447
+ setWeb3ID(web3ID2);
448
+ setLevel(l);
449
+ } else {
450
+ if (l === 4) {
451
+ setLevel(4);
452
+ } else {
453
+ setLevel(3);
319
454
  }
320
455
  }
321
- setWeb3ID(web3ID2);
322
- setLevel(l);
323
456
  } else {
324
457
  setLevel(level ?? 1);
325
458
  }
326
459
  } catch (error) {
327
460
  setLevel(level ?? 1);
461
+ console.error(error);
328
462
  }
329
463
  })();
330
- }, [account]);
464
+ }, [account, address, connector]);
331
465
  const handleLevel = useCallback(
332
466
  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
- }
467
+ setLevel(_level);
360
468
  },
361
469
  [level]
362
470
  );
@@ -372,10 +480,10 @@ var useConsentStatus = (endpoint, props) => {
372
480
  show,
373
481
  setShow,
374
482
  web3ID,
483
+ setWeb3ID,
375
484
  handleLevel,
376
485
  showRevoke,
377
- handleRevoke,
378
- showConnectModal
486
+ handleRevoke
379
487
  ];
380
488
  };
381
489
  var useConsentStatus_default = useConsentStatus;
@@ -1016,23 +1124,23 @@ var css = `:root {
1016
1124
  --aesirxconsent-gray-800: #343a40;
1017
1125
  --aesirxconsent-gray-900: #212529;
1018
1126
  --aesirxconsent-primary: #132342;
1019
- --aesirxconsent-secondary: #6c757d;
1127
+ --aesirxconsent-secondary: #627eea;
1020
1128
  --aesirxconsent-success: #1ab394;
1021
1129
  --aesirxconsent-info: #0dcaf0;
1022
1130
  --aesirxconsent-warning: #ffc107;
1023
1131
  --aesirxconsent-danger: #dc3545;
1024
1132
  --aesirxconsent-light: #f8f9fa;
1025
- --aesirxconsent-dark: #212529;
1133
+ --aesirxconsent-dark: #222328;
1026
1134
  --aesirxconsent-primary-rgb: 19, 35, 66;
1027
- --aesirxconsent-secondary-rgb: 108, 117, 125;
1135
+ --aesirxconsent-secondary-rgb: 98, 126, 234;
1028
1136
  --aesirxconsent-success-rgb: 26, 179, 148;
1029
1137
  --aesirxconsent-info-rgb: 13, 202, 240;
1030
1138
  --aesirxconsent-warning-rgb: 255, 193, 7;
1031
1139
  --aesirxconsent-danger-rgb: 220, 53, 69;
1032
1140
  --aesirxconsent-light-rgb: 248, 249, 250;
1033
- --aesirxconsent-dark-rgb: 33, 37, 41;
1141
+ --aesirxconsent-dark-rgb: 34, 35, 40;
1034
1142
  --aesirxconsent-primary-text-emphasis: #080e1a;
1035
- --aesirxconsent-secondary-text-emphasis: #2b2f32;
1143
+ --aesirxconsent-secondary-text-emphasis: #27325e;
1036
1144
  --aesirxconsent-success-text-emphasis: #0a483b;
1037
1145
  --aesirxconsent-info-text-emphasis: #055160;
1038
1146
  --aesirxconsent-warning-text-emphasis: #664d03;
@@ -1040,7 +1148,7 @@ var css = `:root {
1040
1148
  --aesirxconsent-light-text-emphasis: #495057;
1041
1149
  --aesirxconsent-dark-text-emphasis: #495057;
1042
1150
  --aesirxconsent-primary-bg-subtle: #d0d3d9;
1043
- --aesirxconsent-secondary-bg-subtle: #e2e3e5;
1151
+ --aesirxconsent-secondary-bg-subtle: #e0e5fb;
1044
1152
  --aesirxconsent-success-bg-subtle: #d1f0ea;
1045
1153
  --aesirxconsent-info-bg-subtle: #cff4fc;
1046
1154
  --aesirxconsent-warning-bg-subtle: #fff3cd;
@@ -1048,7 +1156,7 @@ var css = `:root {
1048
1156
  --aesirxconsent-light-bg-subtle: #fcfcfd;
1049
1157
  --aesirxconsent-dark-bg-subtle: #ced4da;
1050
1158
  --aesirxconsent-primary-border-subtle: #a1a7b3;
1051
- --aesirxconsent-secondary-border-subtle: #c4c8cb;
1159
+ --aesirxconsent-secondary-border-subtle: #c0cbf7;
1052
1160
  --aesirxconsent-success-border-subtle: #a3e1d4;
1053
1161
  --aesirxconsent-info-border-subtle: #9eeaf9;
1054
1162
  --aesirxconsent-warning-border-subtle: #ffe69c;
@@ -1085,6 +1193,7 @@ var css = `:root {
1085
1193
  --aesirxconsent-link-hover-color: #0f1c35;
1086
1194
  --aesirxconsent-link-hover-color-rgb: 15, 28, 53;
1087
1195
  --aesirxconsent-code-color: #d63384;
1196
+ --aesirxconsent-highlight-color: #212529;
1088
1197
  --aesirxconsent-highlight-bg: #fff3cd;
1089
1198
  --aesirxconsent-border-width: 1px;
1090
1199
  --aesirxconsent-border-style: solid;
@@ -1127,7 +1236,7 @@ var css = `:root {
1127
1236
  --aesirxconsent-tertiary-bg: #2b3035;
1128
1237
  --aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
1129
1238
  --aesirxconsent-primary-text-emphasis: #717b8e;
1130
- --aesirxconsent-secondary-text-emphasis: #a7acb1;
1239
+ --aesirxconsent-secondary-text-emphasis: #a1b2f2;
1131
1240
  --aesirxconsent-success-text-emphasis: #76d1bf;
1132
1241
  --aesirxconsent-info-text-emphasis: #6edff6;
1133
1242
  --aesirxconsent-warning-text-emphasis: #ffda6a;
@@ -1135,7 +1244,7 @@ var css = `:root {
1135
1244
  --aesirxconsent-light-text-emphasis: #f8f9fa;
1136
1245
  --aesirxconsent-dark-text-emphasis: #dee2e6;
1137
1246
  --aesirxconsent-primary-bg-subtle: #04070d;
1138
- --aesirxconsent-secondary-bg-subtle: #161719;
1247
+ --aesirxconsent-secondary-bg-subtle: #14192f;
1139
1248
  --aesirxconsent-success-bg-subtle: #05241e;
1140
1249
  --aesirxconsent-info-bg-subtle: #032830;
1141
1250
  --aesirxconsent-warning-bg-subtle: #332701;
@@ -1143,7 +1252,7 @@ var css = `:root {
1143
1252
  --aesirxconsent-light-bg-subtle: #0c1124;
1144
1253
  --aesirxconsent-dark-bg-subtle: #132342;
1145
1254
  --aesirxconsent-primary-border-subtle: #0b1528;
1146
- --aesirxconsent-secondary-border-subtle: #41464b;
1255
+ --aesirxconsent-secondary-border-subtle: #3b4c8c;
1147
1256
  --aesirxconsent-success-border-subtle: #106b59;
1148
1257
  --aesirxconsent-info-border-subtle: #087990;
1149
1258
  --aesirxconsent-warning-border-subtle: #997404;
@@ -1156,6 +1265,8 @@ var css = `:root {
1156
1265
  --aesirxconsent-link-color-rgb: 255, 255, 255;
1157
1266
  --aesirxconsent-link-hover-color-rgb: 255, 255, 255;
1158
1267
  --aesirxconsent-code-color: #e685b5;
1268
+ --aesirxconsent-highlight-color: #dee2e6;
1269
+ --aesirxconsent-highlight-bg: #664d03;
1159
1270
  --aesirxconsent-border-color: #1e4284;
1160
1271
  --aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
1161
1272
  --aesirxconsent-form-valid-color: #75b798;
@@ -1169,6 +1280,8 @@ var css = `:root {
1169
1280
  /* rtl:end:remove */
1170
1281
  color: #5f5e70;
1171
1282
  font-size: 16px;
1283
+ --w3m-z-index: 1060;
1284
+ --aesirxconsent-modal-margin: 1.75rem;
1172
1285
  }
1173
1286
  .aesirxconsent .modal {
1174
1287
  --aesirxconsent-modal-zindex: 1055;
@@ -1180,7 +1293,7 @@ var css = `:root {
1180
1293
  --aesirxconsent-modal-border-color: var(--aesirxconsent-border-color-translucent);
1181
1294
  --aesirxconsent-modal-border-width: var(--aesirxconsent-border-width);
1182
1295
  --aesirxconsent-modal-border-radius: var(--aesirxconsent-border-radius-lg);
1183
- --aesirxconsent-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
1296
+ --aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow-sm);
1184
1297
  --aesirxconsent-modal-inner-border-radius: calc(var(--aesirxconsent-border-radius-lg) - (var(--aesirxconsent-border-width)));
1185
1298
  --aesirxconsent-modal-header-padding-x: 16px;
1186
1299
  --aesirxconsent-modal-header-padding-y: 16px;
@@ -1311,7 +1424,7 @@ var css = `:root {
1311
1424
  @media (min-width: 576px) {
1312
1425
  .aesirxconsent .modal {
1313
1426
  --aesirxconsent-modal-margin: 1.75rem;
1314
- --aesirxconsent-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
1427
+ --aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow);
1315
1428
  }
1316
1429
  .aesirxconsent .modal-dialog {
1317
1430
  max-width: var(--aesirxconsent-modal-width);
@@ -1461,7 +1574,7 @@ var css = `:root {
1461
1574
  --aesirxconsent-offcanvas-bg: var(--aesirxconsent-body-bg);
1462
1575
  --aesirxconsent-offcanvas-border-width: var(--aesirxconsent-border-width);
1463
1576
  --aesirxconsent-offcanvas-border-color: var(--aesirxconsent-border-color-translucent);
1464
- --aesirxconsent-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
1577
+ --aesirxconsent-offcanvas-box-shadow: var(--aesirxconsent-box-shadow-sm);
1465
1578
  --aesirxconsent-offcanvas-transition: transform 0.3s ease-in-out;
1466
1579
  --aesirxconsent-offcanvas-title-line-height: 1.5;
1467
1580
  }
@@ -2034,20 +2147,20 @@ var css = `:root {
2034
2147
  --aesirxconsent-btn-disabled-border-color: #132342;
2035
2148
  }
2036
2149
  .aesirxconsent .btn-secondary {
2037
- --aesirxconsent-btn-color: #fff;
2038
- --aesirxconsent-btn-bg: #6c757d;
2039
- --aesirxconsent-btn-border-color: #6c757d;
2040
- --aesirxconsent-btn-hover-color: #fff;
2041
- --aesirxconsent-btn-hover-bg: #5c636a;
2042
- --aesirxconsent-btn-hover-border-color: #565e64;
2043
- --aesirxconsent-btn-focus-shadow-rgb: 130, 138, 145;
2044
- --aesirxconsent-btn-active-color: #fff;
2045
- --aesirxconsent-btn-active-bg: #565e64;
2046
- --aesirxconsent-btn-active-border-color: #51585e;
2150
+ --aesirxconsent-btn-color: #000;
2151
+ --aesirxconsent-btn-bg: #627eea;
2152
+ --aesirxconsent-btn-border-color: #627eea;
2153
+ --aesirxconsent-btn-hover-color: #000;
2154
+ --aesirxconsent-btn-hover-bg: #7a91ed;
2155
+ --aesirxconsent-btn-hover-border-color: #728bec;
2156
+ --aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
2157
+ --aesirxconsent-btn-active-color: #000;
2158
+ --aesirxconsent-btn-active-bg: #8198ee;
2159
+ --aesirxconsent-btn-active-border-color: #728bec;
2047
2160
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2048
- --aesirxconsent-btn-disabled-color: #fff;
2049
- --aesirxconsent-btn-disabled-bg: #6c757d;
2050
- --aesirxconsent-btn-disabled-border-color: #6c757d;
2161
+ --aesirxconsent-btn-disabled-color: #000;
2162
+ --aesirxconsent-btn-disabled-bg: #627eea;
2163
+ --aesirxconsent-btn-disabled-border-color: #627eea;
2051
2164
  }
2052
2165
  .aesirxconsent .btn-success {
2053
2166
  --aesirxconsent-btn-color: #000;
@@ -2131,19 +2244,19 @@ var css = `:root {
2131
2244
  }
2132
2245
  .aesirxconsent .btn-dark {
2133
2246
  --aesirxconsent-btn-color: #fff;
2134
- --aesirxconsent-btn-bg: #212529;
2135
- --aesirxconsent-btn-border-color: #212529;
2247
+ --aesirxconsent-btn-bg: #222328;
2248
+ --aesirxconsent-btn-border-color: #222328;
2136
2249
  --aesirxconsent-btn-hover-color: #fff;
2137
- --aesirxconsent-btn-hover-bg: #424649;
2138
- --aesirxconsent-btn-hover-border-color: #373b3e;
2139
- --aesirxconsent-btn-focus-shadow-rgb: 66, 70, 73;
2250
+ --aesirxconsent-btn-hover-bg: #434448;
2251
+ --aesirxconsent-btn-hover-border-color: #38393e;
2252
+ --aesirxconsent-btn-focus-shadow-rgb: 67, 68, 72;
2140
2253
  --aesirxconsent-btn-active-color: #fff;
2141
- --aesirxconsent-btn-active-bg: #4d5154;
2142
- --aesirxconsent-btn-active-border-color: #373b3e;
2254
+ --aesirxconsent-btn-active-bg: #4e4f53;
2255
+ --aesirxconsent-btn-active-border-color: #38393e;
2143
2256
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2144
2257
  --aesirxconsent-btn-disabled-color: #fff;
2145
- --aesirxconsent-btn-disabled-bg: #212529;
2146
- --aesirxconsent-btn-disabled-border-color: #212529;
2258
+ --aesirxconsent-btn-disabled-bg: #222328;
2259
+ --aesirxconsent-btn-disabled-border-color: #222328;
2147
2260
  }
2148
2261
  .aesirxconsent .btn-outline-primary {
2149
2262
  --aesirxconsent-btn-color: #132342;
@@ -2162,19 +2275,19 @@ var css = `:root {
2162
2275
  --aesirxconsent-gradient: none;
2163
2276
  }
2164
2277
  .aesirxconsent .btn-outline-secondary {
2165
- --aesirxconsent-btn-color: #6c757d;
2166
- --aesirxconsent-btn-border-color: #6c757d;
2167
- --aesirxconsent-btn-hover-color: #fff;
2168
- --aesirxconsent-btn-hover-bg: #6c757d;
2169
- --aesirxconsent-btn-hover-border-color: #6c757d;
2170
- --aesirxconsent-btn-focus-shadow-rgb: 108, 117, 125;
2171
- --aesirxconsent-btn-active-color: #fff;
2172
- --aesirxconsent-btn-active-bg: #6c757d;
2173
- --aesirxconsent-btn-active-border-color: #6c757d;
2278
+ --aesirxconsent-btn-color: #627eea;
2279
+ --aesirxconsent-btn-border-color: #627eea;
2280
+ --aesirxconsent-btn-hover-color: #000;
2281
+ --aesirxconsent-btn-hover-bg: #627eea;
2282
+ --aesirxconsent-btn-hover-border-color: #627eea;
2283
+ --aesirxconsent-btn-focus-shadow-rgb: 98, 126, 234;
2284
+ --aesirxconsent-btn-active-color: #000;
2285
+ --aesirxconsent-btn-active-bg: #627eea;
2286
+ --aesirxconsent-btn-active-border-color: #627eea;
2174
2287
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2175
- --aesirxconsent-btn-disabled-color: #6c757d;
2288
+ --aesirxconsent-btn-disabled-color: #627eea;
2176
2289
  --aesirxconsent-btn-disabled-bg: transparent;
2177
- --aesirxconsent-btn-disabled-border-color: #6c757d;
2290
+ --aesirxconsent-btn-disabled-border-color: #627eea;
2178
2291
  --aesirxconsent-gradient: none;
2179
2292
  }
2180
2293
  .aesirxconsent .btn-outline-success {
@@ -2258,19 +2371,19 @@ var css = `:root {
2258
2371
  --aesirxconsent-gradient: none;
2259
2372
  }
2260
2373
  .aesirxconsent .btn-outline-dark {
2261
- --aesirxconsent-btn-color: #212529;
2262
- --aesirxconsent-btn-border-color: #212529;
2374
+ --aesirxconsent-btn-color: #222328;
2375
+ --aesirxconsent-btn-border-color: #222328;
2263
2376
  --aesirxconsent-btn-hover-color: #fff;
2264
- --aesirxconsent-btn-hover-bg: #212529;
2265
- --aesirxconsent-btn-hover-border-color: #212529;
2266
- --aesirxconsent-btn-focus-shadow-rgb: 33, 37, 41;
2377
+ --aesirxconsent-btn-hover-bg: #222328;
2378
+ --aesirxconsent-btn-hover-border-color: #222328;
2379
+ --aesirxconsent-btn-focus-shadow-rgb: 34, 35, 40;
2267
2380
  --aesirxconsent-btn-active-color: #fff;
2268
- --aesirxconsent-btn-active-bg: #212529;
2269
- --aesirxconsent-btn-active-border-color: #212529;
2381
+ --aesirxconsent-btn-active-bg: #222328;
2382
+ --aesirxconsent-btn-active-border-color: #222328;
2270
2383
  --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
2271
- --aesirxconsent-btn-disabled-color: #212529;
2384
+ --aesirxconsent-btn-disabled-color: #222328;
2272
2385
  --aesirxconsent-btn-disabled-bg: transparent;
2273
- --aesirxconsent-btn-disabled-border-color: #212529;
2386
+ --aesirxconsent-btn-disabled-border-color: #222328;
2274
2387
  --aesirxconsent-gradient: none;
2275
2388
  }
2276
2389
  .aesirxconsent .btn-link {
@@ -2356,7 +2469,7 @@ var css = `:root {
2356
2469
  background-color: RGBA(var(--aesirxconsent-primary-rgb), var(--aesirxconsent-bg-opacity, 1));
2357
2470
  }
2358
2471
  .aesirxconsent .text-bg-secondary {
2359
- color: #fff;
2472
+ color: #000;
2360
2473
  background-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-bg-opacity, 1));
2361
2474
  }
2362
2475
  .aesirxconsent .text-bg-success {
@@ -2396,8 +2509,8 @@ var css = `:root {
2396
2509
  text-decoration-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-link-underline-opacity, 1));
2397
2510
  }
2398
2511
  .aesirxconsent .link-secondary:hover, .aesirxconsent .link-secondary:focus {
2399
- color: RGBA(86, 94, 100, var(--aesirxconsent-link-opacity, 1));
2400
- text-decoration-color: RGBA(86, 94, 100, var(--aesirxconsent-link-underline-opacity, 1));
2512
+ color: RGBA(129, 152, 238, var(--aesirxconsent-link-opacity, 1));
2513
+ text-decoration-color: RGBA(129, 152, 238, var(--aesirxconsent-link-underline-opacity, 1));
2401
2514
  }
2402
2515
  .aesirxconsent .link-success {
2403
2516
  color: RGBA(var(--aesirxconsent-success-rgb), var(--aesirxconsent-link-opacity, 1));
@@ -2444,8 +2557,8 @@ var css = `:root {
2444
2557
  text-decoration-color: RGBA(var(--aesirxconsent-dark-rgb), var(--aesirxconsent-link-underline-opacity, 1));
2445
2558
  }
2446
2559
  .aesirxconsent .link-dark:hover, .aesirxconsent .link-dark:focus {
2447
- color: RGBA(26, 30, 33, var(--aesirxconsent-link-opacity, 1));
2448
- text-decoration-color: RGBA(26, 30, 33, var(--aesirxconsent-link-underline-opacity, 1));
2560
+ color: RGBA(27, 28, 32, var(--aesirxconsent-link-opacity, 1));
2561
+ text-decoration-color: RGBA(27, 28, 32, var(--aesirxconsent-link-underline-opacity, 1));
2449
2562
  }
2450
2563
  .aesirxconsent .link-body-emphasis {
2451
2564
  color: RGBA(var(--aesirxconsent-emphasis-color-rgb), var(--aesirxconsent-link-opacity, 1));
@@ -2936,37 +3049,1071 @@ var css = `:root {
2936
3049
  display: flex;
2937
3050
  flex-flow: row wrap;
2938
3051
  }
2939
- .aesirxconsent .card-group > .card {
2940
- flex: 1 0 0%;
2941
- margin-bottom: 0;
3052
+ .aesirxconsent .card-group > .card {
3053
+ flex: 1 0 0%;
3054
+ margin-bottom: 0;
3055
+ }
3056
+ .aesirxconsent .card-group > .card + .card {
3057
+ margin-left: 0;
3058
+ border-left: 0;
3059
+ }
3060
+ .aesirxconsent .card-group > .card:not(:last-child) {
3061
+ border-top-right-radius: 0;
3062
+ border-bottom-right-radius: 0;
3063
+ }
3064
+ .aesirxconsent .card-group > .card:not(:last-child) .card-img-top,
3065
+ .aesirxconsent .card-group > .card:not(:last-child) .card-header {
3066
+ border-top-right-radius: 0;
3067
+ }
3068
+ .aesirxconsent .card-group > .card:not(:last-child) .card-img-bottom,
3069
+ .aesirxconsent .card-group > .card:not(:last-child) .card-footer {
3070
+ border-bottom-right-radius: 0;
3071
+ }
3072
+ .aesirxconsent .card-group > .card:not(:first-child) {
3073
+ border-top-left-radius: 0;
3074
+ border-bottom-left-radius: 0;
3075
+ }
3076
+ .aesirxconsent .card-group > .card:not(:first-child) .card-img-top,
3077
+ .aesirxconsent .card-group > .card:not(:first-child) .card-header {
3078
+ border-top-left-radius: 0;
3079
+ }
3080
+ .aesirxconsent .card-group > .card:not(:first-child) .card-img-bottom,
3081
+ .aesirxconsent .card-group > .card:not(:first-child) .card-footer {
3082
+ border-bottom-left-radius: 0;
3083
+ }
3084
+ }
3085
+ .aesirxconsent :root {
3086
+ --aesirxconsent-breakpoint-xs: 0;
3087
+ --aesirxconsent-breakpoint-sm: 576px;
3088
+ --aesirxconsent-breakpoint-md: 768px;
3089
+ --aesirxconsent-breakpoint-lg: 992px;
3090
+ --aesirxconsent-breakpoint-xl: 1200px;
3091
+ --aesirxconsent-breakpoint-xxl: 1400px;
3092
+ }
3093
+ .aesirxconsent .row {
3094
+ --aesirxconsent-gutter-x: 1.5rem;
3095
+ --aesirxconsent-gutter-y: 0;
3096
+ display: flex;
3097
+ flex-wrap: wrap;
3098
+ margin-top: calc(-1 * var(--aesirxconsent-gutter-y));
3099
+ margin-right: calc(-0.5 * var(--aesirxconsent-gutter-x));
3100
+ margin-left: calc(-0.5 * var(--aesirxconsent-gutter-x));
3101
+ }
3102
+ .aesirxconsent .row > * {
3103
+ flex-shrink: 0;
3104
+ width: 100%;
3105
+ max-width: 100%;
3106
+ padding-right: calc(var(--aesirxconsent-gutter-x) * 0.5);
3107
+ padding-left: calc(var(--aesirxconsent-gutter-x) * 0.5);
3108
+ margin-top: var(--aesirxconsent-gutter-y);
3109
+ }
3110
+ .aesirxconsent .col {
3111
+ flex: 1 0 0%;
3112
+ }
3113
+ .aesirxconsent .row-cols-auto > * {
3114
+ flex: 0 0 auto;
3115
+ width: auto;
3116
+ }
3117
+ .aesirxconsent .row-cols-1 > * {
3118
+ flex: 0 0 auto;
3119
+ width: 100%;
3120
+ }
3121
+ .aesirxconsent .row-cols-2 > * {
3122
+ flex: 0 0 auto;
3123
+ width: 50%;
3124
+ }
3125
+ .aesirxconsent .row-cols-3 > * {
3126
+ flex: 0 0 auto;
3127
+ width: 33.33333333%;
3128
+ }
3129
+ .aesirxconsent .row-cols-4 > * {
3130
+ flex: 0 0 auto;
3131
+ width: 25%;
3132
+ }
3133
+ .aesirxconsent .row-cols-5 > * {
3134
+ flex: 0 0 auto;
3135
+ width: 20%;
3136
+ }
3137
+ .aesirxconsent .row-cols-6 > * {
3138
+ flex: 0 0 auto;
3139
+ width: 16.66666667%;
3140
+ }
3141
+ .aesirxconsent .col-auto {
3142
+ flex: 0 0 auto;
3143
+ width: auto;
3144
+ }
3145
+ .aesirxconsent .col-1 {
3146
+ flex: 0 0 auto;
3147
+ width: 8.33333333%;
3148
+ }
3149
+ .aesirxconsent .col-2 {
3150
+ flex: 0 0 auto;
3151
+ width: 16.66666667%;
3152
+ }
3153
+ .aesirxconsent .col-3 {
3154
+ flex: 0 0 auto;
3155
+ width: 25%;
3156
+ }
3157
+ .aesirxconsent .col-4 {
3158
+ flex: 0 0 auto;
3159
+ width: 33.33333333%;
3160
+ }
3161
+ .aesirxconsent .col-5 {
3162
+ flex: 0 0 auto;
3163
+ width: 41.66666667%;
3164
+ }
3165
+ .aesirxconsent .col-6 {
3166
+ flex: 0 0 auto;
3167
+ width: 50%;
3168
+ }
3169
+ .aesirxconsent .col-7 {
3170
+ flex: 0 0 auto;
3171
+ width: 58.33333333%;
3172
+ }
3173
+ .aesirxconsent .col-8 {
3174
+ flex: 0 0 auto;
3175
+ width: 66.66666667%;
3176
+ }
3177
+ .aesirxconsent .col-9 {
3178
+ flex: 0 0 auto;
3179
+ width: 75%;
3180
+ }
3181
+ .aesirxconsent .col-10 {
3182
+ flex: 0 0 auto;
3183
+ width: 83.33333333%;
3184
+ }
3185
+ .aesirxconsent .col-11 {
3186
+ flex: 0 0 auto;
3187
+ width: 91.66666667%;
3188
+ }
3189
+ .aesirxconsent .col-12 {
3190
+ flex: 0 0 auto;
3191
+ width: 100%;
3192
+ }
3193
+ .aesirxconsent .offset-1 {
3194
+ margin-left: 8.33333333%;
3195
+ }
3196
+ .aesirxconsent .offset-2 {
3197
+ margin-left: 16.66666667%;
3198
+ }
3199
+ .aesirxconsent .offset-3 {
3200
+ margin-left: 25%;
3201
+ }
3202
+ .aesirxconsent .offset-4 {
3203
+ margin-left: 33.33333333%;
3204
+ }
3205
+ .aesirxconsent .offset-5 {
3206
+ margin-left: 41.66666667%;
3207
+ }
3208
+ .aesirxconsent .offset-6 {
3209
+ margin-left: 50%;
3210
+ }
3211
+ .aesirxconsent .offset-7 {
3212
+ margin-left: 58.33333333%;
3213
+ }
3214
+ .aesirxconsent .offset-8 {
3215
+ margin-left: 66.66666667%;
3216
+ }
3217
+ .aesirxconsent .offset-9 {
3218
+ margin-left: 75%;
3219
+ }
3220
+ .aesirxconsent .offset-10 {
3221
+ margin-left: 83.33333333%;
3222
+ }
3223
+ .aesirxconsent .offset-11 {
3224
+ margin-left: 91.66666667%;
3225
+ }
3226
+ .aesirxconsent .g-0,
3227
+ .aesirxconsent .gx-0 {
3228
+ --aesirxconsent-gutter-x: 0;
3229
+ }
3230
+ .aesirxconsent .g-0,
3231
+ .aesirxconsent .gy-0 {
3232
+ --aesirxconsent-gutter-y: 0;
3233
+ }
3234
+ .aesirxconsent .g-1,
3235
+ .aesirxconsent .gx-1 {
3236
+ --aesirxconsent-gutter-x: 4px;
3237
+ }
3238
+ .aesirxconsent .g-1,
3239
+ .aesirxconsent .gy-1 {
3240
+ --aesirxconsent-gutter-y: 4px;
3241
+ }
3242
+ .aesirxconsent .g-2,
3243
+ .aesirxconsent .gx-2 {
3244
+ --aesirxconsent-gutter-x: 8px;
3245
+ }
3246
+ .aesirxconsent .g-2,
3247
+ .aesirxconsent .gy-2 {
3248
+ --aesirxconsent-gutter-y: 8px;
3249
+ }
3250
+ .aesirxconsent .g-3,
3251
+ .aesirxconsent .gx-3 {
3252
+ --aesirxconsent-gutter-x: 16px;
3253
+ }
3254
+ .aesirxconsent .g-3,
3255
+ .aesirxconsent .gy-3 {
3256
+ --aesirxconsent-gutter-y: 16px;
3257
+ }
3258
+ .aesirxconsent .g-4,
3259
+ .aesirxconsent .gx-4 {
3260
+ --aesirxconsent-gutter-x: 24px;
3261
+ }
3262
+ .aesirxconsent .g-4,
3263
+ .aesirxconsent .gy-4 {
3264
+ --aesirxconsent-gutter-y: 24px;
3265
+ }
3266
+ .aesirxconsent .g-5,
3267
+ .aesirxconsent .gx-5 {
3268
+ --aesirxconsent-gutter-x: 48px;
3269
+ }
3270
+ .aesirxconsent .g-5,
3271
+ .aesirxconsent .gy-5 {
3272
+ --aesirxconsent-gutter-y: 48px;
3273
+ }
3274
+ @media (min-width: 576px) {
3275
+ .aesirxconsent .col-sm {
3276
+ flex: 1 0 0%;
3277
+ }
3278
+ .aesirxconsent .row-cols-sm-auto > * {
3279
+ flex: 0 0 auto;
3280
+ width: auto;
3281
+ }
3282
+ .aesirxconsent .row-cols-sm-1 > * {
3283
+ flex: 0 0 auto;
3284
+ width: 100%;
3285
+ }
3286
+ .aesirxconsent .row-cols-sm-2 > * {
3287
+ flex: 0 0 auto;
3288
+ width: 50%;
3289
+ }
3290
+ .aesirxconsent .row-cols-sm-3 > * {
3291
+ flex: 0 0 auto;
3292
+ width: 33.33333333%;
3293
+ }
3294
+ .aesirxconsent .row-cols-sm-4 > * {
3295
+ flex: 0 0 auto;
3296
+ width: 25%;
3297
+ }
3298
+ .aesirxconsent .row-cols-sm-5 > * {
3299
+ flex: 0 0 auto;
3300
+ width: 20%;
3301
+ }
3302
+ .aesirxconsent .row-cols-sm-6 > * {
3303
+ flex: 0 0 auto;
3304
+ width: 16.66666667%;
3305
+ }
3306
+ .aesirxconsent .col-sm-auto {
3307
+ flex: 0 0 auto;
3308
+ width: auto;
3309
+ }
3310
+ .aesirxconsent .col-sm-1 {
3311
+ flex: 0 0 auto;
3312
+ width: 8.33333333%;
3313
+ }
3314
+ .aesirxconsent .col-sm-2 {
3315
+ flex: 0 0 auto;
3316
+ width: 16.66666667%;
3317
+ }
3318
+ .aesirxconsent .col-sm-3 {
3319
+ flex: 0 0 auto;
3320
+ width: 25%;
3321
+ }
3322
+ .aesirxconsent .col-sm-4 {
3323
+ flex: 0 0 auto;
3324
+ width: 33.33333333%;
3325
+ }
3326
+ .aesirxconsent .col-sm-5 {
3327
+ flex: 0 0 auto;
3328
+ width: 41.66666667%;
3329
+ }
3330
+ .aesirxconsent .col-sm-6 {
3331
+ flex: 0 0 auto;
3332
+ width: 50%;
3333
+ }
3334
+ .aesirxconsent .col-sm-7 {
3335
+ flex: 0 0 auto;
3336
+ width: 58.33333333%;
3337
+ }
3338
+ .aesirxconsent .col-sm-8 {
3339
+ flex: 0 0 auto;
3340
+ width: 66.66666667%;
3341
+ }
3342
+ .aesirxconsent .col-sm-9 {
3343
+ flex: 0 0 auto;
3344
+ width: 75%;
3345
+ }
3346
+ .aesirxconsent .col-sm-10 {
3347
+ flex: 0 0 auto;
3348
+ width: 83.33333333%;
3349
+ }
3350
+ .aesirxconsent .col-sm-11 {
3351
+ flex: 0 0 auto;
3352
+ width: 91.66666667%;
3353
+ }
3354
+ .aesirxconsent .col-sm-12 {
3355
+ flex: 0 0 auto;
3356
+ width: 100%;
3357
+ }
3358
+ .aesirxconsent .offset-sm-0 {
3359
+ margin-left: 0;
3360
+ }
3361
+ .aesirxconsent .offset-sm-1 {
3362
+ margin-left: 8.33333333%;
3363
+ }
3364
+ .aesirxconsent .offset-sm-2 {
3365
+ margin-left: 16.66666667%;
3366
+ }
3367
+ .aesirxconsent .offset-sm-3 {
3368
+ margin-left: 25%;
3369
+ }
3370
+ .aesirxconsent .offset-sm-4 {
3371
+ margin-left: 33.33333333%;
3372
+ }
3373
+ .aesirxconsent .offset-sm-5 {
3374
+ margin-left: 41.66666667%;
3375
+ }
3376
+ .aesirxconsent .offset-sm-6 {
3377
+ margin-left: 50%;
3378
+ }
3379
+ .aesirxconsent .offset-sm-7 {
3380
+ margin-left: 58.33333333%;
3381
+ }
3382
+ .aesirxconsent .offset-sm-8 {
3383
+ margin-left: 66.66666667%;
3384
+ }
3385
+ .aesirxconsent .offset-sm-9 {
3386
+ margin-left: 75%;
3387
+ }
3388
+ .aesirxconsent .offset-sm-10 {
3389
+ margin-left: 83.33333333%;
3390
+ }
3391
+ .aesirxconsent .offset-sm-11 {
3392
+ margin-left: 91.66666667%;
3393
+ }
3394
+ .aesirxconsent .g-sm-0,
3395
+ .aesirxconsent .gx-sm-0 {
3396
+ --aesirxconsent-gutter-x: 0;
3397
+ }
3398
+ .aesirxconsent .g-sm-0,
3399
+ .aesirxconsent .gy-sm-0 {
3400
+ --aesirxconsent-gutter-y: 0;
3401
+ }
3402
+ .aesirxconsent .g-sm-1,
3403
+ .aesirxconsent .gx-sm-1 {
3404
+ --aesirxconsent-gutter-x: 4px;
3405
+ }
3406
+ .aesirxconsent .g-sm-1,
3407
+ .aesirxconsent .gy-sm-1 {
3408
+ --aesirxconsent-gutter-y: 4px;
3409
+ }
3410
+ .aesirxconsent .g-sm-2,
3411
+ .aesirxconsent .gx-sm-2 {
3412
+ --aesirxconsent-gutter-x: 8px;
3413
+ }
3414
+ .aesirxconsent .g-sm-2,
3415
+ .aesirxconsent .gy-sm-2 {
3416
+ --aesirxconsent-gutter-y: 8px;
3417
+ }
3418
+ .aesirxconsent .g-sm-3,
3419
+ .aesirxconsent .gx-sm-3 {
3420
+ --aesirxconsent-gutter-x: 16px;
3421
+ }
3422
+ .aesirxconsent .g-sm-3,
3423
+ .aesirxconsent .gy-sm-3 {
3424
+ --aesirxconsent-gutter-y: 16px;
3425
+ }
3426
+ .aesirxconsent .g-sm-4,
3427
+ .aesirxconsent .gx-sm-4 {
3428
+ --aesirxconsent-gutter-x: 24px;
3429
+ }
3430
+ .aesirxconsent .g-sm-4,
3431
+ .aesirxconsent .gy-sm-4 {
3432
+ --aesirxconsent-gutter-y: 24px;
3433
+ }
3434
+ .aesirxconsent .g-sm-5,
3435
+ .aesirxconsent .gx-sm-5 {
3436
+ --aesirxconsent-gutter-x: 48px;
3437
+ }
3438
+ .aesirxconsent .g-sm-5,
3439
+ .aesirxconsent .gy-sm-5 {
3440
+ --aesirxconsent-gutter-y: 48px;
3441
+ }
3442
+ }
3443
+ @media (min-width: 768px) {
3444
+ .aesirxconsent .col-md {
3445
+ flex: 1 0 0%;
3446
+ }
3447
+ .aesirxconsent .row-cols-md-auto > * {
3448
+ flex: 0 0 auto;
3449
+ width: auto;
3450
+ }
3451
+ .aesirxconsent .row-cols-md-1 > * {
3452
+ flex: 0 0 auto;
3453
+ width: 100%;
3454
+ }
3455
+ .aesirxconsent .row-cols-md-2 > * {
3456
+ flex: 0 0 auto;
3457
+ width: 50%;
3458
+ }
3459
+ .aesirxconsent .row-cols-md-3 > * {
3460
+ flex: 0 0 auto;
3461
+ width: 33.33333333%;
3462
+ }
3463
+ .aesirxconsent .row-cols-md-4 > * {
3464
+ flex: 0 0 auto;
3465
+ width: 25%;
3466
+ }
3467
+ .aesirxconsent .row-cols-md-5 > * {
3468
+ flex: 0 0 auto;
3469
+ width: 20%;
3470
+ }
3471
+ .aesirxconsent .row-cols-md-6 > * {
3472
+ flex: 0 0 auto;
3473
+ width: 16.66666667%;
3474
+ }
3475
+ .aesirxconsent .col-md-auto {
3476
+ flex: 0 0 auto;
3477
+ width: auto;
3478
+ }
3479
+ .aesirxconsent .col-md-1 {
3480
+ flex: 0 0 auto;
3481
+ width: 8.33333333%;
3482
+ }
3483
+ .aesirxconsent .col-md-2 {
3484
+ flex: 0 0 auto;
3485
+ width: 16.66666667%;
3486
+ }
3487
+ .aesirxconsent .col-md-3 {
3488
+ flex: 0 0 auto;
3489
+ width: 25%;
3490
+ }
3491
+ .aesirxconsent .col-md-4 {
3492
+ flex: 0 0 auto;
3493
+ width: 33.33333333%;
3494
+ }
3495
+ .aesirxconsent .col-md-5 {
3496
+ flex: 0 0 auto;
3497
+ width: 41.66666667%;
3498
+ }
3499
+ .aesirxconsent .col-md-6 {
3500
+ flex: 0 0 auto;
3501
+ width: 50%;
3502
+ }
3503
+ .aesirxconsent .col-md-7 {
3504
+ flex: 0 0 auto;
3505
+ width: 58.33333333%;
3506
+ }
3507
+ .aesirxconsent .col-md-8 {
3508
+ flex: 0 0 auto;
3509
+ width: 66.66666667%;
3510
+ }
3511
+ .aesirxconsent .col-md-9 {
3512
+ flex: 0 0 auto;
3513
+ width: 75%;
3514
+ }
3515
+ .aesirxconsent .col-md-10 {
3516
+ flex: 0 0 auto;
3517
+ width: 83.33333333%;
3518
+ }
3519
+ .aesirxconsent .col-md-11 {
3520
+ flex: 0 0 auto;
3521
+ width: 91.66666667%;
3522
+ }
3523
+ .aesirxconsent .col-md-12 {
3524
+ flex: 0 0 auto;
3525
+ width: 100%;
3526
+ }
3527
+ .aesirxconsent .offset-md-0 {
3528
+ margin-left: 0;
3529
+ }
3530
+ .aesirxconsent .offset-md-1 {
3531
+ margin-left: 8.33333333%;
3532
+ }
3533
+ .aesirxconsent .offset-md-2 {
3534
+ margin-left: 16.66666667%;
3535
+ }
3536
+ .aesirxconsent .offset-md-3 {
3537
+ margin-left: 25%;
3538
+ }
3539
+ .aesirxconsent .offset-md-4 {
3540
+ margin-left: 33.33333333%;
3541
+ }
3542
+ .aesirxconsent .offset-md-5 {
3543
+ margin-left: 41.66666667%;
3544
+ }
3545
+ .aesirxconsent .offset-md-6 {
3546
+ margin-left: 50%;
3547
+ }
3548
+ .aesirxconsent .offset-md-7 {
3549
+ margin-left: 58.33333333%;
3550
+ }
3551
+ .aesirxconsent .offset-md-8 {
3552
+ margin-left: 66.66666667%;
3553
+ }
3554
+ .aesirxconsent .offset-md-9 {
3555
+ margin-left: 75%;
3556
+ }
3557
+ .aesirxconsent .offset-md-10 {
3558
+ margin-left: 83.33333333%;
3559
+ }
3560
+ .aesirxconsent .offset-md-11 {
3561
+ margin-left: 91.66666667%;
3562
+ }
3563
+ .aesirxconsent .g-md-0,
3564
+ .aesirxconsent .gx-md-0 {
3565
+ --aesirxconsent-gutter-x: 0;
3566
+ }
3567
+ .aesirxconsent .g-md-0,
3568
+ .aesirxconsent .gy-md-0 {
3569
+ --aesirxconsent-gutter-y: 0;
3570
+ }
3571
+ .aesirxconsent .g-md-1,
3572
+ .aesirxconsent .gx-md-1 {
3573
+ --aesirxconsent-gutter-x: 4px;
3574
+ }
3575
+ .aesirxconsent .g-md-1,
3576
+ .aesirxconsent .gy-md-1 {
3577
+ --aesirxconsent-gutter-y: 4px;
3578
+ }
3579
+ .aesirxconsent .g-md-2,
3580
+ .aesirxconsent .gx-md-2 {
3581
+ --aesirxconsent-gutter-x: 8px;
3582
+ }
3583
+ .aesirxconsent .g-md-2,
3584
+ .aesirxconsent .gy-md-2 {
3585
+ --aesirxconsent-gutter-y: 8px;
3586
+ }
3587
+ .aesirxconsent .g-md-3,
3588
+ .aesirxconsent .gx-md-3 {
3589
+ --aesirxconsent-gutter-x: 16px;
3590
+ }
3591
+ .aesirxconsent .g-md-3,
3592
+ .aesirxconsent .gy-md-3 {
3593
+ --aesirxconsent-gutter-y: 16px;
3594
+ }
3595
+ .aesirxconsent .g-md-4,
3596
+ .aesirxconsent .gx-md-4 {
3597
+ --aesirxconsent-gutter-x: 24px;
3598
+ }
3599
+ .aesirxconsent .g-md-4,
3600
+ .aesirxconsent .gy-md-4 {
3601
+ --aesirxconsent-gutter-y: 24px;
3602
+ }
3603
+ .aesirxconsent .g-md-5,
3604
+ .aesirxconsent .gx-md-5 {
3605
+ --aesirxconsent-gutter-x: 48px;
3606
+ }
3607
+ .aesirxconsent .g-md-5,
3608
+ .aesirxconsent .gy-md-5 {
3609
+ --aesirxconsent-gutter-y: 48px;
3610
+ }
3611
+ }
3612
+ @media (min-width: 992px) {
3613
+ .aesirxconsent .col-lg {
3614
+ flex: 1 0 0%;
3615
+ }
3616
+ .aesirxconsent .row-cols-lg-auto > * {
3617
+ flex: 0 0 auto;
3618
+ width: auto;
3619
+ }
3620
+ .aesirxconsent .row-cols-lg-1 > * {
3621
+ flex: 0 0 auto;
3622
+ width: 100%;
3623
+ }
3624
+ .aesirxconsent .row-cols-lg-2 > * {
3625
+ flex: 0 0 auto;
3626
+ width: 50%;
3627
+ }
3628
+ .aesirxconsent .row-cols-lg-3 > * {
3629
+ flex: 0 0 auto;
3630
+ width: 33.33333333%;
3631
+ }
3632
+ .aesirxconsent .row-cols-lg-4 > * {
3633
+ flex: 0 0 auto;
3634
+ width: 25%;
3635
+ }
3636
+ .aesirxconsent .row-cols-lg-5 > * {
3637
+ flex: 0 0 auto;
3638
+ width: 20%;
3639
+ }
3640
+ .aesirxconsent .row-cols-lg-6 > * {
3641
+ flex: 0 0 auto;
3642
+ width: 16.66666667%;
3643
+ }
3644
+ .aesirxconsent .col-lg-auto {
3645
+ flex: 0 0 auto;
3646
+ width: auto;
3647
+ }
3648
+ .aesirxconsent .col-lg-1 {
3649
+ flex: 0 0 auto;
3650
+ width: 8.33333333%;
3651
+ }
3652
+ .aesirxconsent .col-lg-2 {
3653
+ flex: 0 0 auto;
3654
+ width: 16.66666667%;
3655
+ }
3656
+ .aesirxconsent .col-lg-3 {
3657
+ flex: 0 0 auto;
3658
+ width: 25%;
3659
+ }
3660
+ .aesirxconsent .col-lg-4 {
3661
+ flex: 0 0 auto;
3662
+ width: 33.33333333%;
3663
+ }
3664
+ .aesirxconsent .col-lg-5 {
3665
+ flex: 0 0 auto;
3666
+ width: 41.66666667%;
3667
+ }
3668
+ .aesirxconsent .col-lg-6 {
3669
+ flex: 0 0 auto;
3670
+ width: 50%;
3671
+ }
3672
+ .aesirxconsent .col-lg-7 {
3673
+ flex: 0 0 auto;
3674
+ width: 58.33333333%;
3675
+ }
3676
+ .aesirxconsent .col-lg-8 {
3677
+ flex: 0 0 auto;
3678
+ width: 66.66666667%;
3679
+ }
3680
+ .aesirxconsent .col-lg-9 {
3681
+ flex: 0 0 auto;
3682
+ width: 75%;
3683
+ }
3684
+ .aesirxconsent .col-lg-10 {
3685
+ flex: 0 0 auto;
3686
+ width: 83.33333333%;
3687
+ }
3688
+ .aesirxconsent .col-lg-11 {
3689
+ flex: 0 0 auto;
3690
+ width: 91.66666667%;
3691
+ }
3692
+ .aesirxconsent .col-lg-12 {
3693
+ flex: 0 0 auto;
3694
+ width: 100%;
3695
+ }
3696
+ .aesirxconsent .offset-lg-0 {
3697
+ margin-left: 0;
3698
+ }
3699
+ .aesirxconsent .offset-lg-1 {
3700
+ margin-left: 8.33333333%;
3701
+ }
3702
+ .aesirxconsent .offset-lg-2 {
3703
+ margin-left: 16.66666667%;
3704
+ }
3705
+ .aesirxconsent .offset-lg-3 {
3706
+ margin-left: 25%;
3707
+ }
3708
+ .aesirxconsent .offset-lg-4 {
3709
+ margin-left: 33.33333333%;
3710
+ }
3711
+ .aesirxconsent .offset-lg-5 {
3712
+ margin-left: 41.66666667%;
3713
+ }
3714
+ .aesirxconsent .offset-lg-6 {
3715
+ margin-left: 50%;
3716
+ }
3717
+ .aesirxconsent .offset-lg-7 {
3718
+ margin-left: 58.33333333%;
3719
+ }
3720
+ .aesirxconsent .offset-lg-8 {
3721
+ margin-left: 66.66666667%;
3722
+ }
3723
+ .aesirxconsent .offset-lg-9 {
3724
+ margin-left: 75%;
3725
+ }
3726
+ .aesirxconsent .offset-lg-10 {
3727
+ margin-left: 83.33333333%;
3728
+ }
3729
+ .aesirxconsent .offset-lg-11 {
3730
+ margin-left: 91.66666667%;
3731
+ }
3732
+ .aesirxconsent .g-lg-0,
3733
+ .aesirxconsent .gx-lg-0 {
3734
+ --aesirxconsent-gutter-x: 0;
3735
+ }
3736
+ .aesirxconsent .g-lg-0,
3737
+ .aesirxconsent .gy-lg-0 {
3738
+ --aesirxconsent-gutter-y: 0;
3739
+ }
3740
+ .aesirxconsent .g-lg-1,
3741
+ .aesirxconsent .gx-lg-1 {
3742
+ --aesirxconsent-gutter-x: 4px;
3743
+ }
3744
+ .aesirxconsent .g-lg-1,
3745
+ .aesirxconsent .gy-lg-1 {
3746
+ --aesirxconsent-gutter-y: 4px;
3747
+ }
3748
+ .aesirxconsent .g-lg-2,
3749
+ .aesirxconsent .gx-lg-2 {
3750
+ --aesirxconsent-gutter-x: 8px;
3751
+ }
3752
+ .aesirxconsent .g-lg-2,
3753
+ .aesirxconsent .gy-lg-2 {
3754
+ --aesirxconsent-gutter-y: 8px;
3755
+ }
3756
+ .aesirxconsent .g-lg-3,
3757
+ .aesirxconsent .gx-lg-3 {
3758
+ --aesirxconsent-gutter-x: 16px;
3759
+ }
3760
+ .aesirxconsent .g-lg-3,
3761
+ .aesirxconsent .gy-lg-3 {
3762
+ --aesirxconsent-gutter-y: 16px;
3763
+ }
3764
+ .aesirxconsent .g-lg-4,
3765
+ .aesirxconsent .gx-lg-4 {
3766
+ --aesirxconsent-gutter-x: 24px;
3767
+ }
3768
+ .aesirxconsent .g-lg-4,
3769
+ .aesirxconsent .gy-lg-4 {
3770
+ --aesirxconsent-gutter-y: 24px;
3771
+ }
3772
+ .aesirxconsent .g-lg-5,
3773
+ .aesirxconsent .gx-lg-5 {
3774
+ --aesirxconsent-gutter-x: 48px;
3775
+ }
3776
+ .aesirxconsent .g-lg-5,
3777
+ .aesirxconsent .gy-lg-5 {
3778
+ --aesirxconsent-gutter-y: 48px;
3779
+ }
3780
+ }
3781
+ @media (min-width: 1200px) {
3782
+ .aesirxconsent .col-xl {
3783
+ flex: 1 0 0%;
3784
+ }
3785
+ .aesirxconsent .row-cols-xl-auto > * {
3786
+ flex: 0 0 auto;
3787
+ width: auto;
3788
+ }
3789
+ .aesirxconsent .row-cols-xl-1 > * {
3790
+ flex: 0 0 auto;
3791
+ width: 100%;
3792
+ }
3793
+ .aesirxconsent .row-cols-xl-2 > * {
3794
+ flex: 0 0 auto;
3795
+ width: 50%;
3796
+ }
3797
+ .aesirxconsent .row-cols-xl-3 > * {
3798
+ flex: 0 0 auto;
3799
+ width: 33.33333333%;
3800
+ }
3801
+ .aesirxconsent .row-cols-xl-4 > * {
3802
+ flex: 0 0 auto;
3803
+ width: 25%;
3804
+ }
3805
+ .aesirxconsent .row-cols-xl-5 > * {
3806
+ flex: 0 0 auto;
3807
+ width: 20%;
3808
+ }
3809
+ .aesirxconsent .row-cols-xl-6 > * {
3810
+ flex: 0 0 auto;
3811
+ width: 16.66666667%;
3812
+ }
3813
+ .aesirxconsent .col-xl-auto {
3814
+ flex: 0 0 auto;
3815
+ width: auto;
3816
+ }
3817
+ .aesirxconsent .col-xl-1 {
3818
+ flex: 0 0 auto;
3819
+ width: 8.33333333%;
3820
+ }
3821
+ .aesirxconsent .col-xl-2 {
3822
+ flex: 0 0 auto;
3823
+ width: 16.66666667%;
3824
+ }
3825
+ .aesirxconsent .col-xl-3 {
3826
+ flex: 0 0 auto;
3827
+ width: 25%;
3828
+ }
3829
+ .aesirxconsent .col-xl-4 {
3830
+ flex: 0 0 auto;
3831
+ width: 33.33333333%;
3832
+ }
3833
+ .aesirxconsent .col-xl-5 {
3834
+ flex: 0 0 auto;
3835
+ width: 41.66666667%;
3836
+ }
3837
+ .aesirxconsent .col-xl-6 {
3838
+ flex: 0 0 auto;
3839
+ width: 50%;
3840
+ }
3841
+ .aesirxconsent .col-xl-7 {
3842
+ flex: 0 0 auto;
3843
+ width: 58.33333333%;
3844
+ }
3845
+ .aesirxconsent .col-xl-8 {
3846
+ flex: 0 0 auto;
3847
+ width: 66.66666667%;
3848
+ }
3849
+ .aesirxconsent .col-xl-9 {
3850
+ flex: 0 0 auto;
3851
+ width: 75%;
3852
+ }
3853
+ .aesirxconsent .col-xl-10 {
3854
+ flex: 0 0 auto;
3855
+ width: 83.33333333%;
3856
+ }
3857
+ .aesirxconsent .col-xl-11 {
3858
+ flex: 0 0 auto;
3859
+ width: 91.66666667%;
3860
+ }
3861
+ .aesirxconsent .col-xl-12 {
3862
+ flex: 0 0 auto;
3863
+ width: 100%;
3864
+ }
3865
+ .aesirxconsent .offset-xl-0 {
3866
+ margin-left: 0;
3867
+ }
3868
+ .aesirxconsent .offset-xl-1 {
3869
+ margin-left: 8.33333333%;
3870
+ }
3871
+ .aesirxconsent .offset-xl-2 {
3872
+ margin-left: 16.66666667%;
3873
+ }
3874
+ .aesirxconsent .offset-xl-3 {
3875
+ margin-left: 25%;
3876
+ }
3877
+ .aesirxconsent .offset-xl-4 {
3878
+ margin-left: 33.33333333%;
3879
+ }
3880
+ .aesirxconsent .offset-xl-5 {
3881
+ margin-left: 41.66666667%;
3882
+ }
3883
+ .aesirxconsent .offset-xl-6 {
3884
+ margin-left: 50%;
3885
+ }
3886
+ .aesirxconsent .offset-xl-7 {
3887
+ margin-left: 58.33333333%;
3888
+ }
3889
+ .aesirxconsent .offset-xl-8 {
3890
+ margin-left: 66.66666667%;
3891
+ }
3892
+ .aesirxconsent .offset-xl-9 {
3893
+ margin-left: 75%;
3894
+ }
3895
+ .aesirxconsent .offset-xl-10 {
3896
+ margin-left: 83.33333333%;
3897
+ }
3898
+ .aesirxconsent .offset-xl-11 {
3899
+ margin-left: 91.66666667%;
3900
+ }
3901
+ .aesirxconsent .g-xl-0,
3902
+ .aesirxconsent .gx-xl-0 {
3903
+ --aesirxconsent-gutter-x: 0;
3904
+ }
3905
+ .aesirxconsent .g-xl-0,
3906
+ .aesirxconsent .gy-xl-0 {
3907
+ --aesirxconsent-gutter-y: 0;
3908
+ }
3909
+ .aesirxconsent .g-xl-1,
3910
+ .aesirxconsent .gx-xl-1 {
3911
+ --aesirxconsent-gutter-x: 4px;
3912
+ }
3913
+ .aesirxconsent .g-xl-1,
3914
+ .aesirxconsent .gy-xl-1 {
3915
+ --aesirxconsent-gutter-y: 4px;
3916
+ }
3917
+ .aesirxconsent .g-xl-2,
3918
+ .aesirxconsent .gx-xl-2 {
3919
+ --aesirxconsent-gutter-x: 8px;
3920
+ }
3921
+ .aesirxconsent .g-xl-2,
3922
+ .aesirxconsent .gy-xl-2 {
3923
+ --aesirxconsent-gutter-y: 8px;
3924
+ }
3925
+ .aesirxconsent .g-xl-3,
3926
+ .aesirxconsent .gx-xl-3 {
3927
+ --aesirxconsent-gutter-x: 16px;
3928
+ }
3929
+ .aesirxconsent .g-xl-3,
3930
+ .aesirxconsent .gy-xl-3 {
3931
+ --aesirxconsent-gutter-y: 16px;
3932
+ }
3933
+ .aesirxconsent .g-xl-4,
3934
+ .aesirxconsent .gx-xl-4 {
3935
+ --aesirxconsent-gutter-x: 24px;
3936
+ }
3937
+ .aesirxconsent .g-xl-4,
3938
+ .aesirxconsent .gy-xl-4 {
3939
+ --aesirxconsent-gutter-y: 24px;
3940
+ }
3941
+ .aesirxconsent .g-xl-5,
3942
+ .aesirxconsent .gx-xl-5 {
3943
+ --aesirxconsent-gutter-x: 48px;
3944
+ }
3945
+ .aesirxconsent .g-xl-5,
3946
+ .aesirxconsent .gy-xl-5 {
3947
+ --aesirxconsent-gutter-y: 48px;
3948
+ }
3949
+ }
3950
+ @media (min-width: 1400px) {
3951
+ .aesirxconsent .col-xxl {
3952
+ flex: 1 0 0%;
3953
+ }
3954
+ .aesirxconsent .row-cols-xxl-auto > * {
3955
+ flex: 0 0 auto;
3956
+ width: auto;
3957
+ }
3958
+ .aesirxconsent .row-cols-xxl-1 > * {
3959
+ flex: 0 0 auto;
3960
+ width: 100%;
3961
+ }
3962
+ .aesirxconsent .row-cols-xxl-2 > * {
3963
+ flex: 0 0 auto;
3964
+ width: 50%;
3965
+ }
3966
+ .aesirxconsent .row-cols-xxl-3 > * {
3967
+ flex: 0 0 auto;
3968
+ width: 33.33333333%;
3969
+ }
3970
+ .aesirxconsent .row-cols-xxl-4 > * {
3971
+ flex: 0 0 auto;
3972
+ width: 25%;
3973
+ }
3974
+ .aesirxconsent .row-cols-xxl-5 > * {
3975
+ flex: 0 0 auto;
3976
+ width: 20%;
3977
+ }
3978
+ .aesirxconsent .row-cols-xxl-6 > * {
3979
+ flex: 0 0 auto;
3980
+ width: 16.66666667%;
3981
+ }
3982
+ .aesirxconsent .col-xxl-auto {
3983
+ flex: 0 0 auto;
3984
+ width: auto;
3985
+ }
3986
+ .aesirxconsent .col-xxl-1 {
3987
+ flex: 0 0 auto;
3988
+ width: 8.33333333%;
3989
+ }
3990
+ .aesirxconsent .col-xxl-2 {
3991
+ flex: 0 0 auto;
3992
+ width: 16.66666667%;
3993
+ }
3994
+ .aesirxconsent .col-xxl-3 {
3995
+ flex: 0 0 auto;
3996
+ width: 25%;
3997
+ }
3998
+ .aesirxconsent .col-xxl-4 {
3999
+ flex: 0 0 auto;
4000
+ width: 33.33333333%;
4001
+ }
4002
+ .aesirxconsent .col-xxl-5 {
4003
+ flex: 0 0 auto;
4004
+ width: 41.66666667%;
4005
+ }
4006
+ .aesirxconsent .col-xxl-6 {
4007
+ flex: 0 0 auto;
4008
+ width: 50%;
4009
+ }
4010
+ .aesirxconsent .col-xxl-7 {
4011
+ flex: 0 0 auto;
4012
+ width: 58.33333333%;
4013
+ }
4014
+ .aesirxconsent .col-xxl-8 {
4015
+ flex: 0 0 auto;
4016
+ width: 66.66666667%;
4017
+ }
4018
+ .aesirxconsent .col-xxl-9 {
4019
+ flex: 0 0 auto;
4020
+ width: 75%;
4021
+ }
4022
+ .aesirxconsent .col-xxl-10 {
4023
+ flex: 0 0 auto;
4024
+ width: 83.33333333%;
4025
+ }
4026
+ .aesirxconsent .col-xxl-11 {
4027
+ flex: 0 0 auto;
4028
+ width: 91.66666667%;
4029
+ }
4030
+ .aesirxconsent .col-xxl-12 {
4031
+ flex: 0 0 auto;
4032
+ width: 100%;
4033
+ }
4034
+ .aesirxconsent .offset-xxl-0 {
4035
+ margin-left: 0;
4036
+ }
4037
+ .aesirxconsent .offset-xxl-1 {
4038
+ margin-left: 8.33333333%;
4039
+ }
4040
+ .aesirxconsent .offset-xxl-2 {
4041
+ margin-left: 16.66666667%;
4042
+ }
4043
+ .aesirxconsent .offset-xxl-3 {
4044
+ margin-left: 25%;
4045
+ }
4046
+ .aesirxconsent .offset-xxl-4 {
4047
+ margin-left: 33.33333333%;
4048
+ }
4049
+ .aesirxconsent .offset-xxl-5 {
4050
+ margin-left: 41.66666667%;
4051
+ }
4052
+ .aesirxconsent .offset-xxl-6 {
4053
+ margin-left: 50%;
4054
+ }
4055
+ .aesirxconsent .offset-xxl-7 {
4056
+ margin-left: 58.33333333%;
4057
+ }
4058
+ .aesirxconsent .offset-xxl-8 {
4059
+ margin-left: 66.66666667%;
4060
+ }
4061
+ .aesirxconsent .offset-xxl-9 {
4062
+ margin-left: 75%;
4063
+ }
4064
+ .aesirxconsent .offset-xxl-10 {
4065
+ margin-left: 83.33333333%;
4066
+ }
4067
+ .aesirxconsent .offset-xxl-11 {
4068
+ margin-left: 91.66666667%;
4069
+ }
4070
+ .aesirxconsent .g-xxl-0,
4071
+ .aesirxconsent .gx-xxl-0 {
4072
+ --aesirxconsent-gutter-x: 0;
2942
4073
  }
2943
- .aesirxconsent .card-group > .card + .card {
2944
- margin-left: 0;
2945
- border-left: 0;
4074
+ .aesirxconsent .g-xxl-0,
4075
+ .aesirxconsent .gy-xxl-0 {
4076
+ --aesirxconsent-gutter-y: 0;
2946
4077
  }
2947
- .aesirxconsent .card-group > .card:not(:last-child) {
2948
- border-top-right-radius: 0;
2949
- border-bottom-right-radius: 0;
4078
+ .aesirxconsent .g-xxl-1,
4079
+ .aesirxconsent .gx-xxl-1 {
4080
+ --aesirxconsent-gutter-x: 4px;
2950
4081
  }
2951
- .aesirxconsent .card-group > .card:not(:last-child) .card-img-top,
2952
- .aesirxconsent .card-group > .card:not(:last-child) .card-header {
2953
- border-top-right-radius: 0;
4082
+ .aesirxconsent .g-xxl-1,
4083
+ .aesirxconsent .gy-xxl-1 {
4084
+ --aesirxconsent-gutter-y: 4px;
2954
4085
  }
2955
- .aesirxconsent .card-group > .card:not(:last-child) .card-img-bottom,
2956
- .aesirxconsent .card-group > .card:not(:last-child) .card-footer {
2957
- border-bottom-right-radius: 0;
4086
+ .aesirxconsent .g-xxl-2,
4087
+ .aesirxconsent .gx-xxl-2 {
4088
+ --aesirxconsent-gutter-x: 8px;
2958
4089
  }
2959
- .aesirxconsent .card-group > .card:not(:first-child) {
2960
- border-top-left-radius: 0;
2961
- border-bottom-left-radius: 0;
4090
+ .aesirxconsent .g-xxl-2,
4091
+ .aesirxconsent .gy-xxl-2 {
4092
+ --aesirxconsent-gutter-y: 8px;
2962
4093
  }
2963
- .aesirxconsent .card-group > .card:not(:first-child) .card-img-top,
2964
- .aesirxconsent .card-group > .card:not(:first-child) .card-header {
2965
- border-top-left-radius: 0;
4094
+ .aesirxconsent .g-xxl-3,
4095
+ .aesirxconsent .gx-xxl-3 {
4096
+ --aesirxconsent-gutter-x: 16px;
2966
4097
  }
2967
- .aesirxconsent .card-group > .card:not(:first-child) .card-img-bottom,
2968
- .aesirxconsent .card-group > .card:not(:first-child) .card-footer {
2969
- border-bottom-left-radius: 0;
4098
+ .aesirxconsent .g-xxl-3,
4099
+ .aesirxconsent .gy-xxl-3 {
4100
+ --aesirxconsent-gutter-y: 16px;
4101
+ }
4102
+ .aesirxconsent .g-xxl-4,
4103
+ .aesirxconsent .gx-xxl-4 {
4104
+ --aesirxconsent-gutter-x: 24px;
4105
+ }
4106
+ .aesirxconsent .g-xxl-4,
4107
+ .aesirxconsent .gy-xxl-4 {
4108
+ --aesirxconsent-gutter-y: 24px;
4109
+ }
4110
+ .aesirxconsent .g-xxl-5,
4111
+ .aesirxconsent .gx-xxl-5 {
4112
+ --aesirxconsent-gutter-x: 48px;
4113
+ }
4114
+ .aesirxconsent .g-xxl-5,
4115
+ .aesirxconsent .gy-xxl-5 {
4116
+ --aesirxconsent-gutter-y: 48px;
2970
4117
  }
2971
4118
  }
2972
4119
  .aesirxconsent .align-baseline {
@@ -3096,13 +4243,13 @@ var css = `:root {
3096
4243
  display: none;
3097
4244
  }
3098
4245
  .aesirxconsent .shadow {
3099
- box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
4246
+ box-shadow: var(--aesirxconsent-box-shadow);
3100
4247
  }
3101
4248
  .aesirxconsent .shadow-sm {
3102
- box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
4249
+ box-shadow: var(--aesirxconsent-box-shadow-sm);
3103
4250
  }
3104
4251
  .aesirxconsent .shadow-lg {
3105
- box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
4252
+ box-shadow: var(--aesirxconsent-box-shadow-lg);
3106
4253
  }
3107
4254
  .aesirxconsent .shadow-none {
3108
4255
  box-shadow: none;
@@ -7970,6 +9117,9 @@ var css = `:root {
7970
9117
  .aesirxconsent a {
7971
9118
  text-decoration: underline;
7972
9119
  }
9120
+ .aesirxconsent .fs-14 {
9121
+ font-size: 14px;
9122
+ }
7973
9123
  .aesirxconsent button {
7974
9124
  text-transform: none;
7975
9125
  }
@@ -7982,6 +9132,10 @@ var css = `:root {
7982
9132
  }
7983
9133
  .aesirxconsent .btn {
7984
9134
  --aesirxconsent-btn-font-size: 16px;
9135
+ font-weight: 600;
9136
+ padding: 9px 20px;
9137
+ line-height: 18px;
9138
+ border-radius: 6px;
7985
9139
  }
7986
9140
  .aesirxconsent .btn.text-white {
7987
9141
  color: #fff;
@@ -8019,6 +9173,22 @@ var css = `:root {
8019
9173
  --aesirxconsent-btn-disabled-border-color: #1ab394;
8020
9174
  color: #1ab394;
8021
9175
  }
9176
+ .aesirxconsent .btn-gray {
9177
+ --aesirxconsent-btn-color: #fff;
9178
+ --aesirxconsent-btn-bg: #a5a4b5;
9179
+ --aesirxconsent-btn-border-color: #a5a4b5;
9180
+ --aesirxconsent-btn-hover-color: #fff;
9181
+ --aesirxconsent-btn-hover-bg: transparent;
9182
+ --aesirxconsent-btn-hover-border-color: #a5a4b5;
9183
+ --aesirxconsent-btn-focus-shadow-rgb: 179, 178, 192;
9184
+ --aesirxconsent-btn-active-color: #000;
9185
+ --aesirxconsent-btn-active-bg: #848391;
9186
+ --aesirxconsent-btn-active-border-color: #7c7b88;
9187
+ --aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
9188
+ --aesirxconsent-btn-disabled-color: #000;
9189
+ --aesirxconsent-btn-disabled-bg: #a5a4b5;
9190
+ --aesirxconsent-btn-disabled-border-color: #a5a4b5;
9191
+ }
8022
9192
  .aesirxconsent .btn-success:hover {
8023
9193
  color: var(--aesirxconsent-white);
8024
9194
  }
@@ -8042,6 +9212,9 @@ var css = `:root {
8042
9212
  box-sizing: border-box;
8043
9213
  --aesirxconsent-toast-zindex: 1049;
8044
9214
  }
9215
+ .aesirxconsent .status-tier-text {
9216
+ font-weight: 600;
9217
+ }
8045
9218
  .aesirxconsent .status-tier {
8046
9219
  width: 18px;
8047
9220
  height: 18px;
@@ -8065,7 +9238,7 @@ var css = `:root {
8065
9238
  min-width: 120px;
8066
9239
  }
8067
9240
  .aesirxconsent .revoke-toast {
8068
- width: 500px;
9241
+ width: 530px;
8069
9242
  }
8070
9243
  .aesirxconsent .revoke-toast .toast-body .minimize-revoke {
8071
9244
  position: absolute;
@@ -8104,9 +9277,11 @@ var css = `:root {
8104
9277
  }
8105
9278
  .aesirxconsent .minimize-shield-wrapper .text {
8106
9279
  font-weight: 500;
9280
+ color: #222328;
8107
9281
  }
8108
9282
  .aesirxconsent .read-more {
8109
9283
  text-align: right;
9284
+ margin-top: 12px;
8110
9285
  }
8111
9286
  .aesirxconsent .read-more .read-more-btn {
8112
9287
  display: inline-flex;
@@ -8115,7 +9290,6 @@ var css = `:root {
8115
9290
  cursor: pointer;
8116
9291
  font-size: 14px;
8117
9292
  font-weight: 500;
8118
- padding-top: 10px;
8119
9293
  }
8120
9294
  .aesirxconsent .read-more .read-more-btn img.revert {
8121
9295
  transform: rotate(180deg);
@@ -8141,6 +9315,9 @@ var css = `:root {
8141
9315
  -moz-animation: flash ease-out 5s infinite;
8142
9316
  animation: flash ease-out 5s infinite;
8143
9317
  }
9318
+ .aesirxconsent .block-wallet {
9319
+ background-color: var(--aesirxconsent-body-bg);
9320
+ }
8144
9321
  @-webkit-keyframes flash {
8145
9322
  from {
8146
9323
  opacity: 0;
@@ -8182,10 +9359,58 @@ var css = `:root {
8182
9359
  }
8183
9360
  }
8184
9361
 
9362
+ body.modal-open .aesirxconsent .offcanvas-backdrop,
9363
+ body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
9364
+ z-index: 99;
9365
+ }
9366
+ body.modal-open .aesirxconsent .toast-container,
9367
+ body.modal-sso-open .aesirxconsent .toast-container {
9368
+ --aesirxconsent-toast-zindex: 100;
9369
+ }
9370
+
9371
+ .aesirxconsent-modal.modal {
9372
+ position: fixed;
9373
+ top: 0;
9374
+ left: 0;
9375
+ z-index: 1055;
9376
+ display: none;
9377
+ width: 100%;
9378
+ height: 100%;
9379
+ overflow-x: hidden;
9380
+ overflow-y: auto;
9381
+ outline: 0;
9382
+ }
9383
+
9384
+ .modal-backdrop {
9385
+ --aesirxconsent-backdrop-zindex: 1050;
9386
+ --aesirxconsent-backdrop-bg: #000;
9387
+ --aesirxconsent-backdrop-opacity: 0.5;
9388
+ position: fixed;
9389
+ top: 0;
9390
+ left: 0;
9391
+ z-index: var(--aesirxconsent-backdrop-zindex);
9392
+ width: 100vw;
9393
+ height: 100vh;
9394
+ background-color: var(--aesirxconsent-backdrop-bg);
9395
+ }
9396
+ .modal-backdrop.fade {
9397
+ opacity: 0;
9398
+ }
9399
+ .modal-backdrop.show {
9400
+ opacity: var(--aesirxconsent-backdrop-opacity);
9401
+ }
9402
+
8185
9403
  .aesirxsso {
8186
9404
  color: #5f5e70;
8187
9405
  }
8188
9406
 
9407
+ .aesirxconsent .aesirxsso .modal {
9408
+ --aesirxconsent-modal-width: 846px;
9409
+ }
9410
+ .aesirxconsent .aesirxsso .modal .btn-close {
9411
+ --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");
9412
+ }
9413
+
8189
9414
  [data-bs-theme=dark] .aesirxconsent {
8190
9415
  color: #c8c8db;
8191
9416
  }
@@ -8227,15 +9452,12 @@ var bg_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAADSCAYAAAAP
8227
9452
  // src/Assets/aesirx.svg
8228
9453
  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';
8229
9454
 
8230
- // src/Assets/web3id.svg
8231
- 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';
9455
+ // src/Assets/shield_of_privacy.png
9456
+ 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=";
8232
9457
 
8233
9458
  // src/Assets/concordium.svg
8234
9459
  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';
8235
9460
 
8236
- // src/Assets/upgrade.svg
8237
- var upgrade_default = 'data:image/svg+xml,<svg width="29" height="30" viewBox="0 0 29 30" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M14.5 29.1562C6.48603 29.1562 0 22.6711 0 14.6562C0 6.64228 6.48518 0.15625 14.5 0.15625C22.514 0.15625 29 6.64143 29 14.6562C29 22.6702 22.5148 29.1562 14.5 29.1562Z" fill="%23FF5752"/>%0A<path d="M14.5 0.15625V29.1562C22.5148 29.1562 29 22.6702 29 14.6562C29 6.64143 22.514 0.15625 14.5 0.15625Z" fill="%23DB3A3C"/>%0A<path d="M16.2166 22.444H12.7851C12.2513 22.444 11.8184 22.0112 11.8184 21.4773V15.7177H9.10434C8.29925 15.7177 7.8489 14.7888 8.34218 14.1564L13.7387 7.23896C14.1259 6.74273 14.8768 6.7438 15.263 7.23896L20.6595 14.1564C21.1529 14.7888 20.7024 15.7177 19.8974 15.7177H17.1833V21.4773C17.1833 22.0112 16.7505 22.444 16.2166 22.444Z" fill="%23EFEFEF"/>%0A<path d="M20.6586 14.1564L15.2622 7.23898C15.0689 6.99134 14.7845 6.86724 14.5 6.86719V22.4439H16.2158C16.7496 22.4439 17.1824 22.0111 17.1824 21.4772V15.7176H19.8965C20.7015 15.7176 21.152 14.7888 20.6586 14.1564Z" fill="%23C5D8DF"/>%0A</svg>%0A';
8238
-
8239
9461
  // src/Assets/privacy.svg
8240
9462
  var privacy_default = 'data:image/svg+xml,<svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M11.7946 13.3067L12.1398 13.9012L7.58187 13.8988L9.64794 10.3713L7.88422 7.3937L2.32098 16.8938L17.1865 16.9062L17.3906 16.8888L15.2943 13.3017L11.7946 13.3067Z" fill="white"/>%0A<path d="M12.1935 0.0377515L10.0947 3.62237L11.8534 6.60748L12.2036 6.01046L14.4788 9.90852L10.3366 9.89359L8.61317 12.9061L19.7422 12.916L12.3144 0.191981L12.1935 0.0377515Z" fill="white"/>%0A<path d="M8.16315 7.08689C8.61415 7.86053 9.5515 9.45756 9.5515 9.45756L9.58669 9.51726L9.65731 9.51726L12.6582 9.51726L13.1016 9.51726L7.54334 -0.000266561L-0.000288009 12.888L4.21756 12.9004L5.98127 9.90284L5.26316 9.90284L7.53079 6.01225L8.16315 7.08689Z" fill="white"/>%0A</svg>%0A';
8241
9463
 
@@ -8264,7 +9486,7 @@ var terms = [
8264
9486
  term: "txt_tier_2_term",
8265
9487
  upgrade: "txt_tier_2_upgrade",
8266
9488
  upgradetext: "txt_tier_2_upgradetext",
8267
- logos: [aesirx_default, web3id_default]
9489
+ logos: [shield_of_privacy_default]
8268
9490
  },
8269
9491
  {
8270
9492
  level: 3,
@@ -8275,7 +9497,7 @@ var terms = [
8275
9497
  term: "txt_tier_3_term",
8276
9498
  upgrade: "txt_tier_3_upgrade",
8277
9499
  upgradetext: "txt_tier_3_upgradetext",
8278
- logos: [aesirx_default, web3id_default]
9500
+ logos: [shield_of_privacy_default]
8279
9501
  },
8280
9502
  {
8281
9503
  level: 4,
@@ -8285,7 +9507,7 @@ var terms = [
8285
9507
  content: "txt_tier_4_content",
8286
9508
  term: "txt_tier_4_term",
8287
9509
  upgradetext: "txt_tier_4_upgradetext",
8288
- logos: [aesirx_default, web3id_default, concordium_default]
9510
+ logos: [shield_of_privacy_default, concordium_default]
8289
9511
  }
8290
9512
  ];
8291
9513
  var TermsComponent = ({ children, level, handleLevel }) => {
@@ -8293,12 +9515,20 @@ var TermsComponent = ({ children, level, handleLevel }) => {
8293
9515
  const handleReadmore = (status) => {
8294
9516
  setShowReadmore(status);
8295
9517
  };
8296
- const [showReadmore, setShowReadmore] = useState2(false);
9518
+ const [showReadmore, setShowReadmore] = useState2(true);
8297
9519
  return /* @__PURE__ */ React.createElement(React.Fragment, null, terms.map(
8298
- (term, key) => term.level === level && /* @__PURE__ */ React.createElement(Fragment, { key }, /* @__PURE__ */ React.createElement("div", { className: "rounded-top d-flex justify-content-between bg-light p-3 fw-bold flex-wrap" }, /* @__PURE__ */ React.createElement("div", null, t(term.name)), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center" }, /* @__PURE__ */ React.createElement("div", { className: `status-tier tier-${term.level} rounded-circle` }), t(term.tier), " - ", t(term.levelname))), /* @__PURE__ */ React.createElement("div", { className: "p-3 bg-white" }, /* @__PURE__ */ React.createElement("span", { className: "fw-bold" }, t(term.content)), " ", /* @__PURE__ */ React.createElement("span", { className: "fw-light" }, t(term.term)), /* @__PURE__ */ React.createElement("div", { className: "read-more" }, /* @__PURE__ */ React.createElement(
9520
+ (term, key) => term.level === level && /* @__PURE__ */ React.createElement(Fragment, { key }, /* @__PURE__ */ React.createElement("div", { className: "rounded-top d-flex justify-content-between bg-white p-3 fw-medium flex-wrap border-bottom" }, /* @__PURE__ */ React.createElement("div", { className: "text-primary" }, t(term.name)), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center fs-14 text-primary" }, /* @__PURE__ */ React.createElement("div", { className: `status-tier tier-${term.level} rounded-circle` }), /* @__PURE__ */ React.createElement("div", { className: "status-tier-text" }, t(term.tier), " - ", t(term.levelname)))), /* @__PURE__ */ React.createElement("div", { className: "p-3 bg-white" }, /* @__PURE__ */ React.createElement("span", { className: "text-dark fw-medium" }, t(term.content)), " ", /* @__PURE__ */ React.createElement("span", { className: "" }, t(term.term)), /* @__PURE__ */ React.createElement("div", { className: "read-more d-flex justify-content-between align-items-center" }, term.upgrade && /* @__PURE__ */ React.createElement(
9521
+ "a",
9522
+ {
9523
+ className: "fs-14 text-success fw-bold",
9524
+ href: "#",
9525
+ onClick: () => handleLevel(terms[key + 1].level)
9526
+ },
9527
+ t(term.upgrade)
9528
+ ), /* @__PURE__ */ React.createElement(
8299
9529
  "div",
8300
9530
  {
8301
- className: "read-more-btn",
9531
+ className: "ms-auto read-more-btn",
8302
9532
  onClick: () => {
8303
9533
  handleReadmore(!showReadmore ? true : false);
8304
9534
  }
@@ -8312,15 +9542,7 @@ var TermsComponent = ({ children, level, handleLevel }) => {
8312
9542
  className: "position-absolute h-100 w-100 object-fit-cover lightning flash-effect",
8313
9543
  src: bg_default
8314
9544
  }
8315
- ), /* @__PURE__ */ React.createElement("div", { className: "position-relative p-3" }, showReadmore && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center" }, term.logos.map((logo, i) => /* @__PURE__ */ React.createElement(Fragment, { key: i }, /* @__PURE__ */ React.createElement("img", { className: "me-2", src: logo, alt: t(term.levelname) })))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start my-3" }, /* @__PURE__ */ React.createElement("img", { src: upgrade_default }), /* @__PURE__ */ React.createElement("div", { className: "ms-3" }, term.upgrade && /* @__PURE__ */ React.createElement(
8316
- "a",
8317
- {
8318
- className: "text-white",
8319
- href: "#",
8320
- onClick: () => handleLevel(terms[key + 1].level)
8321
- },
8322
- t(term.upgrade)
8323
- ), t(term.upgradetext), /* @__PURE__ */ React.createElement("div", { className: "fst-italic" }, t("txt_no_collect"))))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "me-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: t(term.name) }), " ", t("txt_shield_of_privacy")), children))))
9545
+ ), /* @__PURE__ */ React.createElement("div", { className: "position-relative p-3" }, showReadmore && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "mb-3" }, term.upgrade && t(term.upgrade), t(term.upgradetext), /* @__PURE__ */ React.createElement("div", { className: "fs-14 fst-italic" }, "* ", t("txt_no_collect")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "me-2" }, /* @__PURE__ */ React.createElement("img", { src: privacy_default, alt: t(term.name) }), " ", t("txt_shield_of_privacy")), children))))
8324
9546
  ));
8325
9547
  };
8326
9548
 
@@ -8333,6 +9555,9 @@ var yes_default = 'data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 1
8333
9555
  // src/Assets/no.svg
8334
9556
  var no_default = 'data:image/svg+xml,<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M9 2C13.1421 2 16.5 5.35786 16.5 9.5C16.5 13.6421 13.1421 17 9 17C4.85786 17 1.5 13.6421 1.5 9.5C1.5 5.35786 4.85786 2 9 2ZM9 3.125C5.47918 3.125 2.625 5.97918 2.625 9.5C2.625 13.0208 5.47918 15.875 9 15.875C12.5208 15.875 15.375 13.0208 15.375 9.5C15.375 5.97918 12.5208 3.125 9 3.125ZM11.5847 6.79779L11.6477 6.85225C11.8474 7.05195 11.8656 7.36445 11.7022 7.58466L11.6477 7.64775L9.79575 9.5L11.6477 11.3523C11.8474 11.552 11.8656 11.8645 11.7022 12.0847L11.6477 12.1477C11.448 12.3474 11.1355 12.3656 10.9153 12.2022L10.8523 12.1477L9 10.2957L7.14775 12.1477C6.94805 12.3474 6.63555 12.3656 6.41534 12.2022L6.35225 12.1477C6.15255 11.948 6.1344 11.6355 6.29779 11.4153L6.35225 11.3523L8.20425 9.5L6.35225 7.64775C6.15255 7.44805 6.1344 7.13555 6.29779 6.91534L6.35225 6.85225C6.55195 6.65255 6.86445 6.6344 7.08466 6.79779L7.14775 6.85225L9 8.70425L10.8523 6.85225C11.052 6.65255 11.3645 6.6344 11.5847 6.79779Z" fill="%231AB394"/>%0A</svg>%0A';
8335
9557
 
9558
+ // src/Assets/no_white.svg
9559
+ var no_white_default = 'data:image/svg+xml,<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M9 2C13.1421 2 16.5 5.35786 16.5 9.5C16.5 13.6421 13.1421 17 9 17C4.85786 17 1.5 13.6421 1.5 9.5C1.5 5.35786 4.85786 2 9 2ZM9 3.125C5.47918 3.125 2.625 5.97918 2.625 9.5C2.625 13.0208 5.47918 15.875 9 15.875C12.5208 15.875 15.375 13.0208 15.375 9.5C15.375 5.97918 12.5208 3.125 9 3.125ZM11.5847 6.79779L11.6477 6.85225C11.8474 7.05195 11.8656 7.36445 11.7022 7.58466L11.6477 7.64775L9.79575 9.5L11.6477 11.3523C11.8474 11.552 11.8656 11.8645 11.7022 12.0847L11.6477 12.1477C11.448 12.3474 11.1355 12.3656 10.9153 12.2022L10.8523 12.1477L9 10.2957L7.14775 12.1477C6.94805 12.3474 6.63555 12.3656 6.41534 12.2022L6.35225 12.1477C6.15255 11.948 6.1344 11.6355 6.29779 11.4153L6.35225 11.3523L8.20425 9.5L6.35225 7.64775C6.15255 7.44805 6.1344 7.13555 6.29779 6.91534L6.35225 6.85225C6.55195 6.65255 6.86445 6.6344 7.08466 6.79779L7.14775 6.85225L9 8.70425L10.8523 6.85225C11.052 6.65255 11.3645 6.6344 11.5847 6.79779Z" fill="%23fff"/>%0A</svg>%0A';
9560
+
8336
9561
  // src/Components/Consent.tsx
8337
9562
  import ContentLoader from "react-content-loader";
8338
9563
  import { SSOButton } from "aesirx-sso";
@@ -8340,7 +9565,8 @@ import {
8340
9565
  MAINNET as MAINNET2,
8341
9566
  WithWalletConnector,
8342
9567
  useConnection as useConnection2,
8343
- useConnect as useConnect2
9568
+ useConnect as useConnect2,
9569
+ stringMessage as stringMessage2
8344
9570
  } from "@concordium/react-components";
8345
9571
  import { OsTypes, isMobile as isMobile2, osName } from "react-device-detect";
8346
9572
 
@@ -8401,14 +9627,50 @@ var LoadingStatus = ({ loading }) => {
8401
9627
  };
8402
9628
 
8403
9629
  // src/Components/Connect.tsx
8404
- import React3, { useState as useState3 } from "react";
9630
+ import React4, { Suspense, useState as useState4 } from "react";
8405
9631
  import { Modal } from "react-bootstrap";
8406
9632
  import { isMobile, isDesktop as isDesktop2 } from "react-device-detect";
8407
9633
 
8408
9634
  // src/Assets/concordium_logo.png
8409
9635
  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==";
8410
9636
 
9637
+ // src/Components/Ethereum/connect.tsx
9638
+ import { useWeb3Modal } from "@web3modal/react";
9639
+ import React3, { useState as useState3 } from "react";
9640
+
9641
+ // src/Assets/ethereum_logo.png
9642
+ 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==";
9643
+
9644
+ // src/Components/Ethereum/connect.tsx
9645
+ var ConnectMetamask = () => {
9646
+ const [loading, setLoading] = useState3(false);
9647
+ const { open } = useWeb3Modal();
9648
+ async function onOpen() {
9649
+ setLoading(true);
9650
+ await open();
9651
+ setLoading(false);
9652
+ }
9653
+ return /* @__PURE__ */ React3.createElement(
9654
+ "button",
9655
+ {
9656
+ onClick: onOpen,
9657
+ disabled: loading,
9658
+ 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"
9659
+ },
9660
+ loading ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
9661
+ "span",
9662
+ {
9663
+ className: "spinner-border spinner-border-sm me-1",
9664
+ role: "status",
9665
+ "aria-hidden": "true"
9666
+ }
9667
+ ), "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")
9668
+ );
9669
+ };
9670
+ var connect_default = ConnectMetamask;
9671
+
8411
9672
  // src/Components/Connect.tsx
9673
+ import { useAccount as useAccount2 } from "wagmi";
8412
9674
  var ConnectModal = ({
8413
9675
  isConnecting,
8414
9676
  handleOnConnect,
@@ -8416,63 +9678,210 @@ var ConnectModal = ({
8416
9678
  activeConnectorType,
8417
9679
  activeConnector
8418
9680
  }) => {
8419
- const [show, setShow] = useState3(true);
9681
+ const [show, setShow] = useState4(true);
8420
9682
  const handleClose = () => setShow(false);
8421
9683
  const { t } = useTranslation();
8422
- return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(Modal, { className: "aesirxconsent-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(
8423
- "button",
8424
- {
8425
- disabled: isConnecting,
8426
- 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",
8427
- onClick: () => handleOnConnect(BROWSER_WALLET)
8428
- },
8429
- isConnecting ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
8430
- "span",
8431
- {
8432
- className: "spinner-border spinner-border-sm me-1",
8433
- role: "status",
8434
- "aria-hidden": "true"
8435
- }
8436
- ), t("txt_connecting")) : /* @__PURE__ */ React3.createElement(React3.Fragment, null, " ", /* @__PURE__ */ React3.createElement(
8437
- "img",
8438
- {
8439
- src: concordium_logo_default,
8440
- className: "me-3 align-text-bottom",
8441
- alt: "Concordium"
8442
- }
8443
- ), "Concordium Browser Wallet")
8444
- ), /* @__PURE__ */ React3.createElement(
8445
- "button",
9684
+ return /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
9685
+ Modal,
8446
9686
  {
8447
- 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",
8448
- onClick: () => handleOnConnect(WALLET_CONNECT)
9687
+ className: "aesirxconsent aesirxconsent-modal",
9688
+ show,
9689
+ onHide: handleClose,
9690
+ centered: true
8449
9691
  },
8450
- !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React3.createElement(
8451
- "span",
9692
+ /* @__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(
9693
+ "button",
8452
9694
  {
8453
- className: "spinner-border spinner-border-sm me-1",
8454
- role: "status",
8455
- "aria-hidden": "true"
8456
- }
8457
- ) : /* @__PURE__ */ React3.createElement(React3.Fragment, null, " ", /* @__PURE__ */ React3.createElement(
8458
- "img",
9695
+ disabled: isConnecting,
9696
+ 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",
9697
+ onClick: () => handleOnConnect(BROWSER_WALLET)
9698
+ },
9699
+ isConnecting ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
9700
+ "span",
9701
+ {
9702
+ className: "spinner-border spinner-border-sm me-1",
9703
+ role: "status",
9704
+ "aria-hidden": "true"
9705
+ }
9706
+ ), t("txt_connecting")) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
9707
+ "img",
9708
+ {
9709
+ src: concordium_logo_default,
9710
+ className: "me-3 align-text-bottom",
9711
+ alt: "Concordium"
9712
+ }
9713
+ ), "Concordium Browser Wallet")
9714
+ ), /* @__PURE__ */ React4.createElement(
9715
+ "button",
8459
9716
  {
8460
- src: concordium_logo_default,
8461
- className: "me-3 align-text-bottom",
8462
- alt: "Concordium"
8463
- }
8464
- ), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
8465
- )), " ")))));
9717
+ 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",
9718
+ onClick: () => handleOnConnect(WALLET_CONNECT)
9719
+ },
9720
+ !activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React4.createElement(
9721
+ "span",
9722
+ {
9723
+ className: "spinner-border spinner-border-sm me-1",
9724
+ role: "status",
9725
+ "aria-hidden": "true"
9726
+ }
9727
+ ) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
9728
+ "img",
9729
+ {
9730
+ src: concordium_logo_default,
9731
+ className: "me-3 align-text-bottom",
9732
+ alt: "Concordium"
9733
+ }
9734
+ ), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
9735
+ )), " ")))
9736
+ ));
9737
+ };
9738
+ var SSOEthereumApp = ({ handleOnConnect }) => {
9739
+ const { isConnected } = useAccount2({
9740
+ onConnect() {
9741
+ handleOnConnect("", "metamask");
9742
+ }
9743
+ });
9744
+ return isConnected ? /* @__PURE__ */ React4.createElement(React4.Fragment, null) : /* @__PURE__ */ React4.createElement(connect_default, null);
8466
9745
  };
8467
9746
  var Connect_default = ConnectModal;
8468
9747
 
8469
9748
  // src/Components/Consent.tsx
8470
- var ConsentComponent = ({ endpoint }) => {
8471
- return /* @__PURE__ */ React4.createElement(WithWalletConnector, { network: MAINNET2 }, (props) => /* @__PURE__ */ React4.createElement(ConsentComponentApp, { ...props, endpoint }));
9749
+ import { useAccount as useAccount3, useSignMessage } from "wagmi";
9750
+
9751
+ // src/Components/Ethereum/index.tsx
9752
+ import React5 from "react";
9753
+ import { configureChains, createConfig, WagmiConfig } from "wagmi";
9754
+ import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
9755
+ import {
9756
+ arbitrum,
9757
+ arbitrumGoerli,
9758
+ aurora,
9759
+ auroraTestnet,
9760
+ avalanche,
9761
+ avalancheFuji,
9762
+ baseGoerli,
9763
+ bronos,
9764
+ bronosTestnet,
9765
+ bsc,
9766
+ bscTestnet,
9767
+ canto,
9768
+ celo,
9769
+ celoAlfajores,
9770
+ crossbell,
9771
+ evmos,
9772
+ evmosTestnet,
9773
+ fantom,
9774
+ fantomTestnet,
9775
+ filecoin,
9776
+ filecoinCalibration,
9777
+ filecoinHyperspace,
9778
+ foundry,
9779
+ gnosis,
9780
+ gnosisChiado,
9781
+ goerli,
9782
+ hardhat,
9783
+ harmonyOne,
9784
+ iotex,
9785
+ iotexTestnet,
9786
+ localhost,
9787
+ mainnet,
9788
+ metis,
9789
+ metisGoerli,
9790
+ moonbaseAlpha,
9791
+ moonbeam,
9792
+ moonriver,
9793
+ okc,
9794
+ optimism,
9795
+ optimismGoerli,
9796
+ polygon,
9797
+ polygonMumbai,
9798
+ polygonZkEvmTestnet,
9799
+ sepolia,
9800
+ taraxa,
9801
+ taraxaTestnet,
9802
+ telos,
9803
+ telosTestnet,
9804
+ zkSync,
9805
+ zkSyncTestnet
9806
+ } from "wagmi/chains";
9807
+ import { Web3Modal } from "@web3modal/react";
9808
+ import { CONCORDIUM_WALLET_CONNECT_PROJECT_ID as CONCORDIUM_WALLET_CONNECT_PROJECT_ID2 } from "@concordium/react-components";
9809
+ var chains = [
9810
+ arbitrum,
9811
+ arbitrumGoerli,
9812
+ aurora,
9813
+ auroraTestnet,
9814
+ avalanche,
9815
+ avalancheFuji,
9816
+ baseGoerli,
9817
+ bronos,
9818
+ bronosTestnet,
9819
+ bsc,
9820
+ bscTestnet,
9821
+ canto,
9822
+ celo,
9823
+ celoAlfajores,
9824
+ crossbell,
9825
+ evmos,
9826
+ evmosTestnet,
9827
+ fantom,
9828
+ fantomTestnet,
9829
+ filecoin,
9830
+ filecoinCalibration,
9831
+ filecoinHyperspace,
9832
+ foundry,
9833
+ gnosis,
9834
+ gnosisChiado,
9835
+ goerli,
9836
+ hardhat,
9837
+ harmonyOne,
9838
+ iotex,
9839
+ iotexTestnet,
9840
+ localhost,
9841
+ mainnet,
9842
+ metis,
9843
+ metisGoerli,
9844
+ moonbaseAlpha,
9845
+ moonbeam,
9846
+ moonriver,
9847
+ okc,
9848
+ optimism,
9849
+ optimismGoerli,
9850
+ polygon,
9851
+ polygonMumbai,
9852
+ polygonZkEvmTestnet,
9853
+ sepolia,
9854
+ taraxa,
9855
+ taraxaTestnet,
9856
+ telos,
9857
+ telosTestnet,
9858
+ zkSync,
9859
+ zkSyncTestnet
9860
+ ];
9861
+ var projectId = CONCORDIUM_WALLET_CONNECT_PROJECT_ID2;
9862
+ var { publicClient, webSocketPublicClient } = configureChains(chains, [
9863
+ w3mProvider({ projectId })
9864
+ ]);
9865
+ var wagmiConfig = createConfig({
9866
+ autoConnect: true,
9867
+ connectors: w3mConnectors({ projectId, chains }),
9868
+ publicClient,
9869
+ webSocketPublicClient
9870
+ });
9871
+ var ethereumClient = new EthereumClient(wagmiConfig, chains);
9872
+ var SSOEthereumProvider = ({ children }) => {
9873
+ return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React5.createElement(Web3Modal, { projectId, ethereumClient }));
9874
+ };
9875
+ var Ethereum_default = SSOEthereumProvider;
9876
+
9877
+ // src/Components/Consent.tsx
9878
+ var ConsentComponent = ({ endpoint, aesirXEndpoint }) => {
9879
+ 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 }))));
8472
9880
  };
8473
9881
  var ConsentComponentApp = (props) => {
8474
9882
  const {
8475
9883
  endpoint,
9884
+ aesirXEndpoint,
8476
9885
  activeConnectorType,
8477
9886
  activeConnector,
8478
9887
  activeConnectorError,
@@ -8482,8 +9891,10 @@ var ConsentComponentApp = (props) => {
8482
9891
  } = props;
8483
9892
  const { setConnection } = useConnection2(connectedAccounts, genesisHashes);
8484
9893
  const { isConnecting } = useConnect2(activeConnector, setConnection);
8485
- const handleOnConnect = async (connectorType) => {
8486
- await setActiveConnectorType(connectorType);
9894
+ const handleOnConnect = async (connectorType, network = "concordium") => {
9895
+ if (network === "concordium") {
9896
+ setActiveConnectorType(connectorType);
9897
+ }
8487
9898
  setLoading("done");
8488
9899
  };
8489
9900
  const [
@@ -8494,18 +9905,81 @@ var ConsentComponentApp = (props) => {
8494
9905
  show,
8495
9906
  setShow,
8496
9907
  web3ID,
9908
+ setWeb3ID,
8497
9909
  handleLevel,
8498
9910
  showRevoke,
8499
- handleRevoke,
8500
- showConnectModal
9911
+ handleRevoke
8501
9912
  ] = useConsentStatus_default(endpoint, props);
8502
- const [consents, setConsents] = useState4([1, 2]);
8503
- const [loading, setLoading] = useState4("done");
8504
- const [showExpandConsent, setShowExpandConsent] = useState4(true);
8505
- const [showExpandRevoke, setShowExpandRevoke] = useState4(false);
8506
- const [showBackdrop, setShowBackdrop] = useState4(true);
9913
+ const [consents, setConsents] = useState5([1, 2]);
9914
+ const [loading, setLoading] = useState5("done");
9915
+ const [loadingCheckAccount, setLoadingCheckAccount] = useState5(false);
9916
+ const [showExpandConsent, setShowExpandConsent] = useState5(true);
9917
+ const [showExpandRevoke, setShowExpandRevoke] = useState5(false);
9918
+ const [showBackdrop, setShowBackdrop] = useState5(true);
8507
9919
  const analyticsContext = useContext2(AnalyticsContext);
8508
9920
  const { t } = useTranslation();
9921
+ const { address, connector } = useAccount3();
9922
+ const { signMessage } = useSignMessage({
9923
+ async onSuccess(data, variables) {
9924
+ const signature = Buffer.from(
9925
+ typeof data === "object" && data !== null ? JSON.stringify(data) : data,
9926
+ "utf-8"
9927
+ ).toString("base64");
9928
+ const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
9929
+ if (variables?.message.indexOf("Revoke consent") > -1) {
9930
+ const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
9931
+ const consentList = await getConsents(endpoint, uuid);
9932
+ consentList.forEach(async (consent) => {
9933
+ !consent?.expiration && await revokeConsents(
9934
+ endpoint,
9935
+ levelRevoke,
9936
+ consent?.consent_uuid,
9937
+ address,
9938
+ signature,
9939
+ web3ID,
9940
+ jwt,
9941
+ "metamask"
9942
+ );
9943
+ });
9944
+ setLoading("done");
9945
+ handleRevoke(false);
9946
+ setShowExpandConsent(false);
9947
+ setShow(true);
9948
+ setShowBackdrop(false);
9949
+ sessionStorage.removeItem("aesirx-analytics-allow");
9950
+ } else if (variables?.message.indexOf("Login with nonce") > -1) {
9951
+ const res = await verifySignature(aesirXEndpoint, "metamask", address, data);
9952
+ sessionStorage.setItem("aesirx-analytics-jwt", res?.jwt);
9953
+ setLoadingCheckAccount(false);
9954
+ const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
9955
+ signMessage({ message: `${nonce}` });
9956
+ } else {
9957
+ setLoading("saving");
9958
+ await agreeConsents(
9959
+ endpoint,
9960
+ level,
9961
+ uuid,
9962
+ consents,
9963
+ address,
9964
+ signature,
9965
+ web3ID,
9966
+ jwt,
9967
+ "metamask"
9968
+ );
9969
+ sessionStorage.setItem("aesirx-analytics-uuid", uuid);
9970
+ sessionStorage.setItem("aesirx-analytics-allow", "1");
9971
+ sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
9972
+ setShow(false);
9973
+ setLoading("done");
9974
+ handleRevoke(true, level);
9975
+ setShowBackdrop(false);
9976
+ }
9977
+ },
9978
+ async onError(error) {
9979
+ setLoading("done");
9980
+ toast2.error(error.message);
9981
+ }
9982
+ });
8509
9983
  const handleChange = async ({ target: { value } }) => {
8510
9984
  if (consents.indexOf(parseInt(value)) === -1) {
8511
9985
  setConsents([...consents, ...[parseInt(value)]]);
@@ -8516,11 +9990,69 @@ var ConsentComponentApp = (props) => {
8516
9990
  const handleAgree = async () => {
8517
9991
  try {
8518
9992
  let flag = true;
9993
+ let jwt = "";
8519
9994
  if (level > 2) {
9995
+ if (level === 4) {
9996
+ try {
9997
+ setLoadingCheckAccount(true);
9998
+ const nonceLogin = await getWalletNonce(
9999
+ aesirXEndpoint,
10000
+ account ? "concordium" : "metamask",
10001
+ account ?? address
10002
+ );
10003
+ if (nonceLogin) {
10004
+ try {
10005
+ if (account) {
10006
+ const signature = await connection.signMessage(
10007
+ account,
10008
+ stringMessage2(`${nonceLogin}`)
10009
+ );
10010
+ const convertedSignature = typeof signature === "object" && signature !== null ? signature : JSON.parse(signature);
10011
+ if (signature) {
10012
+ const data = await verifySignature(
10013
+ aesirXEndpoint,
10014
+ "concordium",
10015
+ account,
10016
+ convertedSignature
10017
+ );
10018
+ sessionStorage.setItem("aesirx-analytics-jwt", data?.jwt);
10019
+ jwt = data?.jwt;
10020
+ setLoadingCheckAccount(false);
10021
+ }
10022
+ } else {
10023
+ signMessage({ message: `${nonceLogin}` });
10024
+ }
10025
+ } catch (error) {
10026
+ setLoadingCheckAccount(false);
10027
+ toast2(error.message);
10028
+ }
10029
+ }
10030
+ } catch (error) {
10031
+ SSOClick(".loginSSO");
10032
+ setLoadingCheckAccount(false);
10033
+ return;
10034
+ }
10035
+ }
8520
10036
  if (account) {
8521
- const signature = await getSignature(endpoint, account, connection, "Give consent:{}");
10037
+ const signature = await getSignature(
10038
+ endpoint,
10039
+ account,
10040
+ connection,
10041
+ level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}"
10042
+ );
8522
10043
  setLoading("saving");
8523
- await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID);
10044
+ await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID, jwt);
10045
+ sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
10046
+ } else if (connector) {
10047
+ if (level === 3) {
10048
+ const nonce = await getNonce(
10049
+ endpoint,
10050
+ address,
10051
+ level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}",
10052
+ "metamask"
10053
+ );
10054
+ signMessage({ message: `${nonce}` });
10055
+ }
8524
10056
  } else {
8525
10057
  setLoading("connect");
8526
10058
  flag = false;
@@ -8537,7 +10069,7 @@ var ConsentComponentApp = (props) => {
8537
10069
  }
8538
10070
  });
8539
10071
  }
8540
- if (flag) {
10072
+ if (flag && (account || level < 3)) {
8541
10073
  sessionStorage.setItem("aesirx-analytics-uuid", uuid);
8542
10074
  sessionStorage.setItem("aesirx-analytics-allow", "1");
8543
10075
  setShow(false);
@@ -8546,6 +10078,7 @@ var ConsentComponentApp = (props) => {
8546
10078
  setShowBackdrop(false);
8547
10079
  }
8548
10080
  } catch (error) {
10081
+ console.log(error);
8549
10082
  handleNotAllow();
8550
10083
  setLoading("done");
8551
10084
  toast2.error(error?.response?.data?.error ?? error.message);
@@ -8554,12 +10087,71 @@ var ConsentComponentApp = (props) => {
8554
10087
  const onGetData = async (response) => {
8555
10088
  try {
8556
10089
  setLoading("saving");
10090
+ const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
8557
10091
  sessionStorage.setItem("aesirx-analytics-jwt", response?.jwt);
8558
- await agreeConsents(endpoint, level, uuid, consents, null, null, null, response?.jwt);
8559
- setShow(false);
8560
- handleRevoke(true, level);
8561
- setLoading("done");
10092
+ if (levelRevoke && levelRevoke !== "0") {
10093
+ sessionStorage.setItem(
10094
+ "aesirx-analytics-consent-type",
10095
+ response?.loginType === "concordium" ? "concordium" : "metamask"
10096
+ );
10097
+ handleRevokeBtn();
10098
+ } else {
10099
+ if (level === 4) {
10100
+ let hasWeb3ID = true;
10101
+ if (response?.loginType === "concordium") {
10102
+ const web3ID2 = await getWeb3ID(connection, account);
10103
+ if (web3ID2) {
10104
+ setWeb3ID(web3ID2);
10105
+ } else {
10106
+ hasWeb3ID = false;
10107
+ }
10108
+ } else {
10109
+ const memberData = await getMember(aesirXEndpoint, response?.access_token);
10110
+ hasWeb3ID = memberData?.web3id ? true : false;
10111
+ }
10112
+ if (hasWeb3ID) {
10113
+ if (response?.loginType === "concordium") {
10114
+ sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
10115
+ const signature = await getSignature(
10116
+ endpoint,
10117
+ account,
10118
+ connection,
10119
+ "Give consent Tier 4:{}"
10120
+ );
10121
+ await agreeConsents(
10122
+ endpoint,
10123
+ level,
10124
+ uuid,
10125
+ consents,
10126
+ account,
10127
+ signature,
10128
+ null,
10129
+ response?.jwt
10130
+ );
10131
+ setShow(false);
10132
+ handleRevoke(true, level);
10133
+ setLoading("done");
10134
+ } else if (response?.loginType === "metamask") {
10135
+ sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
10136
+ const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
10137
+ signMessage({ message: `${nonce}` });
10138
+ }
10139
+ } else {
10140
+ handleLevel(3);
10141
+ toast2(
10142
+ "You haven't minted any WEB3 ID yet. Try to mint at https://dapp.shield.aesirx.io"
10143
+ );
10144
+ setLoading("done");
10145
+ }
10146
+ } else {
10147
+ await agreeConsents(endpoint, level, uuid, consents, null, null, null, response?.jwt);
10148
+ setShow(false);
10149
+ handleRevoke(true, level);
10150
+ setLoading("done");
10151
+ }
10152
+ }
8562
10153
  } catch (error) {
10154
+ console.log(error);
8563
10155
  setShow(false);
8564
10156
  setLoading("done");
8565
10157
  toast2.error(error?.response?.data?.error ?? error.message);
@@ -8573,11 +10165,17 @@ var ConsentComponentApp = (props) => {
8573
10165
  };
8574
10166
  const handleRevokeBtn = async () => {
8575
10167
  const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
10168
+ const consentType = sessionStorage.getItem("aesirx-analytics-consent-type");
10169
+ const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
8576
10170
  try {
8577
10171
  let flag = true;
8578
10172
  if (levelRevoke !== "1") {
8579
10173
  if (parseInt(levelRevoke) > 2) {
8580
- if (account) {
10174
+ if (!jwt && (parseInt(levelRevoke) === 2 || parseInt(levelRevoke) === 4)) {
10175
+ SSOClick(".revokeLogin");
10176
+ return;
10177
+ }
10178
+ if (account && consentType !== "metamask") {
8581
10179
  setLoading("sign");
8582
10180
  const signature = await getSignature(
8583
10181
  endpoint,
@@ -8594,11 +10192,17 @@ var ConsentComponentApp = (props) => {
8594
10192
  consent?.consent_uuid,
8595
10193
  account,
8596
10194
  signature,
8597
- web3ID
10195
+ web3ID,
10196
+ jwt
8598
10197
  );
8599
10198
  });
8600
10199
  setLoading("done");
8601
10200
  handleRevoke(false);
10201
+ } else if (connector) {
10202
+ setLoading("sign");
10203
+ setLoading("saving");
10204
+ const nonce = await getNonce(endpoint, address, "Revoke consent:{}", "metamask");
10205
+ signMessage({ message: `${nonce}` });
8602
10206
  } else {
8603
10207
  setLoading("connect");
8604
10208
  flag = false;
@@ -8614,13 +10218,13 @@ var ConsentComponentApp = (props) => {
8614
10218
  null,
8615
10219
  null,
8616
10220
  null,
8617
- sessionStorage.getItem("aesirx-analytics-jwt")
10221
+ jwt
8618
10222
  );
8619
10223
  });
8620
10224
  setLoading("done");
8621
10225
  handleRevoke(false);
8622
10226
  }
8623
- if (flag) {
10227
+ if (flag && (account && consentType !== "metamask" || level < 3)) {
8624
10228
  setShowExpandConsent(false);
8625
10229
  setShow(true);
8626
10230
  setShowBackdrop(false);
@@ -8634,165 +10238,212 @@ var ConsentComponentApp = (props) => {
8634
10238
  sessionStorage.removeItem("aesirx-analytics-allow");
8635
10239
  }
8636
10240
  } catch (error) {
10241
+ console.log(error);
8637
10242
  setLoading("done");
8638
10243
  toast2.error(error?.response?.data?.error ?? error.message);
8639
10244
  }
8640
10245
  };
10246
+ const SSOClick = (selector) => {
10247
+ const element = document.querySelector(selector);
10248
+ element.click();
10249
+ };
10250
+ useEffect2(() => {
10251
+ if (activeConnectorError) {
10252
+ toast2.error(activeConnectorError);
10253
+ }
10254
+ }, [activeConnectorError]);
8641
10255
  useEffect2(() => {
8642
10256
  if (sessionStorage.getItem("aesirx-analytics-rejected") === "true") {
8643
10257
  setShowBackdrop(false);
8644
10258
  setShowExpandConsent(false);
8645
10259
  }
8646
10260
  }, []);
8647
- 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(
10261
+ console.log("level", uuid, level, web3ID, account, loading);
10262
+ 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(
10263
+ "div",
10264
+ {
10265
+ tabIndex: -1,
10266
+ className: `toast-container position-fixed m-md-3 ${showExpandRevoke ? "top-50 start-50 translate-middle" : "bottom-0 end-0"}`
10267
+ },
10268
+ /* @__PURE__ */ React6.createElement(
10269
+ "div",
10270
+ {
10271
+ className: `toast revoke-toast ${showRevoke || sessionStorage.getItem("aesirx-analytics-revoke") && sessionStorage.getItem("aesirx-analytics-revoke") !== "0" ? "show" : ""} ${showExpandRevoke ? "" : "minimize"}`
10272
+ },
10273
+ /* @__PURE__ */ React6.createElement(LoadingStatus, { loading }),
10274
+ /* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0 shadow mx-3 mx-md-0" }, /* @__PURE__ */ React6.createElement("div", { className: "revoke-wrapper minimize-shield-wrapper position-relative" }, !showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10275
+ "img",
10276
+ {
10277
+ className: "cover-img position-absolute h-100 w-100 object-fit-cover",
10278
+ src: bg_default
10279
+ }
10280
+ ), /* @__PURE__ */ React6.createElement(
10281
+ "div",
10282
+ {
10283
+ className: "minimize-shield",
10284
+ onClick: () => {
10285
+ if (osName !== OsTypes?.IOS && isMobile2 && !connection && sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke")) > 2) {
10286
+ setActiveConnectorType(WALLET_CONNECT);
10287
+ }
10288
+ setShowExpandRevoke(true);
10289
+ }
10290
+ },
10291
+ /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
10292
+ t("txt_shield_of_privacy")
10293
+ )), showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10294
+ "div",
10295
+ {
10296
+ className: "minimize-revoke",
10297
+ onClick: () => {
10298
+ setShowExpandRevoke(false);
10299
+ }
10300
+ },
10301
+ /* @__PURE__ */ React6.createElement("img", { src: no_default })
10302
+ ), /* @__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(
10303
+ "a",
10304
+ {
10305
+ href: "https://nft.shield.aesirx.io",
10306
+ className: "text-success text-decoration-underline",
10307
+ target: "_blank",
10308
+ rel: "noreferrer"
10309
+ },
10310
+ t("txt_link")
10311
+ ), " ", t("txt_for_more_information")), /* @__PURE__ */ React6.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React6.createElement(
10312
+ "img",
10313
+ {
10314
+ className: "cover-img position-absolute h-100 w-100 object-fit-cover",
10315
+ src: bg_default
10316
+ }
10317
+ ), /* @__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(
10318
+ "a",
10319
+ {
10320
+ className: "text-success text-decoration-underline manage-consent fs-14",
10321
+ href: "https://dapp.shield.aesirx.io/revoke-consent",
10322
+ target: "_blank",
10323
+ rel: "noreferrer"
10324
+ },
10325
+ t("txt_manage_consent")
10326
+ ), loading === "done" ? /* @__PURE__ */ React6.createElement(
10327
+ Button2,
10328
+ {
10329
+ variant: "success",
10330
+ onClick: handleRevokeBtn,
10331
+ className: "text-white d-flex align-items-center revoke-btn fs-14"
10332
+ },
10333
+ t("txt_revoke_consent")
10334
+ ) : /* @__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(
10335
+ SSOButton,
10336
+ {
10337
+ className: "d-none revokeLogin",
10338
+ text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, "Login Revoke"),
10339
+ ssoState: "noscopes",
10340
+ onGetData
10341
+ }
10342
+ )))))))))
10343
+ )
10344
+ ), /* @__PURE__ */ React6.createElement(
8648
10345
  "div",
8649
10346
  {
8650
- className: `toast revoke-toast ${showRevoke || sessionStorage.getItem("aesirx-analytics-revoke") && sessionStorage.getItem("aesirx-analytics-revoke") !== "0" ? "show" : ""} ${showExpandRevoke ? "" : "minimize"}`
10347
+ tabIndex: -1,
10348
+ className: `toast-container position-fixed m-md-3 ${showExpandConsent ? "top-50 start-50 translate-middle" : "bottom-0 end-0"}`
8651
10349
  },
8652
- /* @__PURE__ */ React4.createElement(LoadingStatus, { loading }),
8653
- /* @__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(
10350
+ /* @__PURE__ */ React6.createElement("div", { className: `toast ${show ? "show" : ""} ${showExpandConsent ? "" : "minimize"}` }, /* @__PURE__ */ React6.createElement(LoadingStatus, { loading }), /* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0 shadow mx-3 mx-md-0" }, !showExpandConsent ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("div", { className: "minimize-shield-wrapper position-relative" }, /* @__PURE__ */ React6.createElement(
8654
10351
  "img",
8655
10352
  {
8656
10353
  className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8657
10354
  src: bg_default
8658
10355
  }
8659
- ), /* @__PURE__ */ React4.createElement(
10356
+ ), /* @__PURE__ */ React6.createElement(
8660
10357
  "div",
8661
10358
  {
8662
10359
  className: "minimize-shield",
8663
10360
  onClick: () => {
8664
- if (osName !== OsTypes?.IOS && isMobile2 && !connection && sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke")) > 2) {
8665
- setActiveConnectorType(WALLET_CONNECT);
8666
- }
8667
- setShowExpandRevoke(true);
10361
+ setShowExpandConsent(true);
10362
+ sessionStorage.removeItem("aesirx-analytics-rejected");
8668
10363
  }
8669
10364
  },
8670
- /* @__PURE__ */ React4.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
10365
+ /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
8671
10366
  t("txt_shield_of_privacy")
8672
- )), showExpandRevoke && /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
8673
- "div",
8674
- {
8675
- className: "minimize-revoke",
8676
- onClick: () => {
8677
- setShowExpandRevoke(false);
8678
- }
8679
- },
8680
- /* @__PURE__ */ React4.createElement("img", { src: no_default })
8681
- ), /* @__PURE__ */ React4.createElement("div", { className: "p-3 bg-white text" }, t("txt_you_can_revoke"), " ", /* @__PURE__ */ React4.createElement("br", null), t("txt_visit"), " ", /* @__PURE__ */ React4.createElement(
8682
- "a",
10367
+ ))) : /* @__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(
10368
+ Form.Check,
8683
10369
  {
8684
- href: "https://nft.shield.aesirx.io",
8685
- className: "text-success text-decoration-underline",
8686
- target: "_blank",
8687
- rel: "noreferrer"
8688
- },
8689
- t("txt_here")
8690
- ), " ", t("txt_for_more_information")), /* @__PURE__ */ React4.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React4.createElement(
8691
- "img",
10370
+ checked: consents.includes(1),
10371
+ type: "switch",
10372
+ label: "Personal data share consent.",
10373
+ value: 1,
10374
+ onChange: handleChange,
10375
+ className: "d-none"
10376
+ }
10377
+ ), /* @__PURE__ */ React6.createElement(
10378
+ Form.Check,
8692
10379
  {
8693
- className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8694
- src: bg_default
10380
+ checked: consents.includes(2),
10381
+ type: "switch",
10382
+ label: "Personal data cross site share consent.",
10383
+ value: 2,
10384
+ onChange: handleChange,
10385
+ className: "d-none"
8695
10386
  }
8696
- ), /* @__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(
8697
- "a",
10387
+ ), /* @__PURE__ */ React6.createElement("div", { className: "d-flex justify-content-end" }, loading === "done" ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
10388
+ "div",
8698
10389
  {
8699
- className: "text-success text-decoration-underline manage-consent",
8700
- href: "https://dapp.shield.aesirx.io/revoke-consent",
8701
- target: "_blank",
8702
- rel: "noreferrer"
10390
+ className: `ssoBtnWrapper me-1 bg-success ${level === 2 || level === 4 && !account && !address ? "" : "d-none"}`
8703
10391
  },
8704
- t("txt_manage_consent")
8705
- ), loading === "done" ? /* @__PURE__ */ React4.createElement(
10392
+ /* @__PURE__ */ React6.createElement(
10393
+ SSOButton,
10394
+ {
10395
+ className: "btn btn-success text-white d-flex align-items-center loginSSO",
10396
+ text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
10397
+ ssoState: "noscopes",
10398
+ onGetData,
10399
+ ...level === 2 ? { noCreateAccount: true } : {}
10400
+ }
10401
+ )
10402
+ ), level === 2 || level === 4 && !account && !address ? /* @__PURE__ */ React6.createElement(React6.Fragment, null) : /* @__PURE__ */ React6.createElement(
8706
10403
  Button2,
8707
10404
  {
8708
10405
  variant: "success",
8709
- onClick: handleRevokeBtn,
8710
- className: "text-white d-flex align-items-center revoke-btn"
10406
+ onClick: handleAgree,
10407
+ className: "me-1 text-white d-flex align-items-center fs-14"
8711
10408
  },
8712
- t("txt_revoke_consent")
8713
- ) : /* @__PURE__ */ React4.createElement(React4.Fragment, null))))))))
8714
- )), /* @__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(
8715
- "img",
8716
- {
8717
- className: "cover-img position-absolute h-100 w-100 object-fit-cover",
8718
- src: bg_default
8719
- }
8720
- ), /* @__PURE__ */ React4.createElement(
8721
- "div",
8722
- {
8723
- className: "minimize-shield",
8724
- onClick: () => {
8725
- setShowExpandConsent(true);
8726
- sessionStorage.removeItem("aesirx-analytics-rejected");
8727
- }
8728
- },
8729
- /* @__PURE__ */ React4.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
8730
- t("txt_shield_of_privacy")
8731
- ))) : /* @__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(
8732
- Form.Check,
8733
- {
8734
- checked: consents.includes(1),
8735
- type: "switch",
8736
- label: "Personal data share consent.",
8737
- value: 1,
8738
- onChange: handleChange,
8739
- className: "d-none"
8740
- }
8741
- ), /* @__PURE__ */ React4.createElement(
8742
- Form.Check,
8743
- {
8744
- checked: consents.includes(2),
8745
- type: "switch",
8746
- label: "Personal data cross site share consent.",
8747
- value: 2,
8748
- onChange: handleChange,
8749
- className: "d-none"
8750
- }
8751
- ), /* @__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(
8752
- SSOButton,
8753
- {
8754
- className: "btn btn-success text-white d-flex align-items-center",
8755
- text: /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
8756
- ssoState: "noscopes",
8757
- onGetData
8758
- }
8759
- )) : /* @__PURE__ */ React4.createElement(
8760
- Button2,
8761
- {
8762
- variant: "success",
8763
- onClick: handleAgree,
8764
- className: "me-1 text-white d-flex align-items-center"
8765
- },
8766
- /* @__PURE__ */ React4.createElement("img", { src: yes_default, className: "me-1" }),
8767
- t("txt_yes_i_consent")
8768
- ), /* @__PURE__ */ React4.createElement(
8769
- Button2,
8770
- {
8771
- variant: "success-outline",
8772
- onClick: handleNotAllow,
8773
- className: "d-flex align-items-center"
8774
- },
8775
- /* @__PURE__ */ React4.createElement("img", { src: no_default, className: "me-1" }),
8776
- t("txt_reject_consent")
8777
- )) : /* @__PURE__ */ React4.createElement(React4.Fragment, null))))) : /* @__PURE__ */ React4.createElement("div", { className: "p-4" }, /* @__PURE__ */ React4.createElement(
8778
- ContentLoader,
8779
- {
8780
- speed: 2,
8781
- width: 340,
8782
- height: 84,
8783
- viewBox: "0 0 340 84",
8784
- backgroundColor: "#f3f3f3",
8785
- foregroundColor: "#ecebeb"
8786
- },
8787
- /* @__PURE__ */ React4.createElement("rect", { x: "0", y: "0", rx: "3", ry: "3", width: "67", height: "11" }),
8788
- /* @__PURE__ */ React4.createElement("rect", { x: "76", y: "0", rx: "3", ry: "3", width: "140", height: "11" }),
8789
- /* @__PURE__ */ React4.createElement("rect", { x: "127", y: "48", rx: "3", ry: "3", width: "53", height: "11" }),
8790
- /* @__PURE__ */ React4.createElement("rect", { x: "187", y: "48", rx: "3", ry: "3", width: "72", height: "11" }),
8791
- /* @__PURE__ */ React4.createElement("rect", { x: "18", y: "48", rx: "3", ry: "3", width: "100", height: "11" }),
8792
- /* @__PURE__ */ React4.createElement("rect", { x: "0", y: "71", rx: "3", ry: "3", width: "37", height: "11" }),
8793
- /* @__PURE__ */ React4.createElement("rect", { x: "18", y: "23", rx: "3", ry: "3", width: "140", height: "11" }),
8794
- /* @__PURE__ */ React4.createElement("rect", { x: "166", y: "23", rx: "3", ry: "3", width: "173", height: "11" })
8795
- )))))), !account && (loading === "connect" || showConnectModal) && /* @__PURE__ */ React4.createElement(
10409
+ loadingCheckAccount ? /* @__PURE__ */ React6.createElement(
10410
+ "span",
10411
+ {
10412
+ className: "spinner-border spinner-border-sm me-1",
10413
+ role: "status",
10414
+ "aria-hidden": "true"
10415
+ }
10416
+ ) : /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }),
10417
+ t("txt_yes_i_consent")
10418
+ ), /* @__PURE__ */ React6.createElement(
10419
+ Button2,
10420
+ {
10421
+ variant: "gray",
10422
+ onClick: handleNotAllow,
10423
+ className: "d-flex align-items-center fs-14"
10424
+ },
10425
+ /* @__PURE__ */ React6.createElement("img", { src: no_white_default, className: "me-1" }),
10426
+ t("txt_reject_consent")
10427
+ )) : /* @__PURE__ */ React6.createElement(React6.Fragment, null))))) : /* @__PURE__ */ React6.createElement("div", { className: "p-4" }, /* @__PURE__ */ React6.createElement(
10428
+ ContentLoader,
10429
+ {
10430
+ speed: 2,
10431
+ width: 340,
10432
+ height: 84,
10433
+ viewBox: "0 0 340 84",
10434
+ backgroundColor: "#f3f3f3",
10435
+ foregroundColor: "#ecebeb"
10436
+ },
10437
+ /* @__PURE__ */ React6.createElement("rect", { x: "0", y: "0", rx: "3", ry: "3", width: "67", height: "11" }),
10438
+ /* @__PURE__ */ React6.createElement("rect", { x: "76", y: "0", rx: "3", ry: "3", width: "140", height: "11" }),
10439
+ /* @__PURE__ */ React6.createElement("rect", { x: "127", y: "48", rx: "3", ry: "3", width: "53", height: "11" }),
10440
+ /* @__PURE__ */ React6.createElement("rect", { x: "187", y: "48", rx: "3", ry: "3", width: "72", height: "11" }),
10441
+ /* @__PURE__ */ React6.createElement("rect", { x: "18", y: "48", rx: "3", ry: "3", width: "100", height: "11" }),
10442
+ /* @__PURE__ */ React6.createElement("rect", { x: "0", y: "71", rx: "3", ry: "3", width: "37", height: "11" }),
10443
+ /* @__PURE__ */ React6.createElement("rect", { x: "18", y: "23", rx: "3", ry: "3", width: "140", height: "11" }),
10444
+ /* @__PURE__ */ React6.createElement("rect", { x: "166", y: "23", rx: "3", ry: "3", width: "173", height: "11" })
10445
+ )))))
10446
+ ), !account && loading === "connect" && /* @__PURE__ */ React6.createElement(
8796
10447
  Connect_default,
8797
10448
  {
8798
10449
  isConnecting,