aesirx-analytics 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -4
- package/dist/{Consent-MKSHHJAP.js → Consent-HSP2HBSL.js} +1930 -310
- package/dist/analytics.js +3549 -410
- package/dist/{chunk-OGDZQCIU.js → chunk-ZYCOHH2R.js} +2 -1
- package/dist/index.js +40 -23
- package/package.json +21 -14
@@ -1,13 +1,14 @@
|
|
1
1
|
import {
|
2
2
|
AnalyticsContext,
|
3
3
|
useTranslation
|
4
|
-
} from "./chunk-
|
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(
|
36
|
-
|
37
|
-
|
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 =
|
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(
|
89
|
-
|
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
|
208
|
+
import React6, { useContext as useContext2, useEffect as useEffect2, useState as useState5 } from "react";
|
102
209
|
import { Button as Button2, Form } from "react-bootstrap";
|
103
210
|
|
104
211
|
// src/Hooks/useConsentStatus.ts
|
@@ -142,8 +249,10 @@ var invokeSmartContract = async (provider, account, name, index, subIndex, schem
|
|
142
249
|
method,
|
143
250
|
SchemaVersion.V2
|
144
251
|
);
|
252
|
+
console.log("invokeSmartContract", returnValue);
|
145
253
|
return returnValue;
|
146
254
|
} catch (error) {
|
255
|
+
console.log("invokeSmartContract error", error);
|
147
256
|
return null;
|
148
257
|
}
|
149
258
|
};
|
@@ -215,14 +324,15 @@ var WALLET_CONNECT = ephemeralConnectorType(
|
|
215
324
|
);
|
216
325
|
|
217
326
|
// src/Hooks/useConsentStatus.ts
|
327
|
+
import { useAccount } from "wagmi";
|
218
328
|
var useConsentStatus = (endpoint, props) => {
|
219
329
|
const [show, setShow] = useState(false);
|
220
330
|
const [showRevoke, setShowRevoke] = useState(false);
|
221
|
-
const [showConnectModal, setShowConnectModal] = useState(false);
|
222
331
|
const [level, setLevel] = useState();
|
223
332
|
const [web3ID, setWeb3ID] = useState();
|
224
333
|
const analyticsContext = useContext(AnalyticsContext);
|
225
334
|
const { activeConnector, network, connectedAccounts, genesisHashes, setActiveConnectorType } = props;
|
335
|
+
const { address, connector } = useAccount();
|
226
336
|
useEffect(() => {
|
227
337
|
const allow = sessionStorage.getItem("aesirx-analytics-allow");
|
228
338
|
const currentUuid = sessionStorage.getItem("aesirx-analytics-uuid");
|
@@ -301,7 +411,11 @@ var useConsentStatus = (endpoint, props) => {
|
|
301
411
|
}, [connectError]);
|
302
412
|
useEffect(() => {
|
303
413
|
if (isDesktop && sessionStorage.getItem("aesirx-analytics-revoke") !== "1" && sessionStorage.getItem("aesirx-analytics-revoke") !== "2") {
|
304
|
-
|
414
|
+
window.addEventListener("load", function() {
|
415
|
+
if (window["concordium"]) {
|
416
|
+
setActiveConnectorType(BROWSER_WALLET);
|
417
|
+
}
|
418
|
+
});
|
305
419
|
}
|
306
420
|
}, []);
|
307
421
|
useEffect(() => {
|
@@ -309,54 +423,44 @@ var useConsentStatus = (endpoint, props) => {
|
|
309
423
|
try {
|
310
424
|
let l = level;
|
311
425
|
if (connection) {
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
426
|
+
if (l < 3) {
|
427
|
+
setLevel(null);
|
428
|
+
l = 3;
|
429
|
+
let web3ID2 = "";
|
430
|
+
if (account && sessionStorage.getItem("aesirx-analytics-consent-type") !== "metamask") {
|
431
|
+
web3ID2 = await getWeb3ID(connection, account);
|
432
|
+
if (web3ID2) {
|
433
|
+
l = 4;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
setWeb3ID(web3ID2);
|
437
|
+
setLevel(l);
|
438
|
+
}
|
439
|
+
} else if (connector) {
|
440
|
+
if (l < 3) {
|
441
|
+
l = 3;
|
442
|
+
const web3ID2 = "";
|
443
|
+
setWeb3ID(web3ID2);
|
444
|
+
setLevel(l);
|
445
|
+
} else {
|
446
|
+
if (l === 4) {
|
447
|
+
setLevel(4);
|
448
|
+
} else {
|
449
|
+
setLevel(3);
|
319
450
|
}
|
320
451
|
}
|
321
|
-
setWeb3ID(web3ID2);
|
322
|
-
setLevel(l);
|
323
452
|
} else {
|
324
453
|
setLevel(level ?? 1);
|
325
454
|
}
|
326
455
|
} catch (error) {
|
327
456
|
setLevel(level ?? 1);
|
457
|
+
console.error(error);
|
328
458
|
}
|
329
459
|
})();
|
330
|
-
}, [account]);
|
460
|
+
}, [account, address, connector]);
|
331
461
|
const handleLevel = useCallback(
|
332
462
|
async (_level) => {
|
333
|
-
|
334
|
-
setLevel(_level);
|
335
|
-
} else if (_level === 3) {
|
336
|
-
try {
|
337
|
-
setLevel(3);
|
338
|
-
} catch (error) {
|
339
|
-
setLevel(1);
|
340
|
-
}
|
341
|
-
} else if (_level === 4) {
|
342
|
-
setLevel(null);
|
343
|
-
try {
|
344
|
-
if (connection) {
|
345
|
-
const web3ID2 = await getWeb3ID(connection, account);
|
346
|
-
if (web3ID2) {
|
347
|
-
setLevel(_level);
|
348
|
-
setWeb3ID(web3ID2);
|
349
|
-
} else {
|
350
|
-
throw new Error("no web3id");
|
351
|
-
}
|
352
|
-
} else {
|
353
|
-
setShowConnectModal(true);
|
354
|
-
}
|
355
|
-
} catch (error) {
|
356
|
-
setLevel(3);
|
357
|
-
toast("You haven't minted any WEB3 ID yet. Try to mint at https://dapp.shield.aesirx.io");
|
358
|
-
}
|
359
|
-
}
|
463
|
+
setLevel(_level);
|
360
464
|
},
|
361
465
|
[level]
|
362
466
|
);
|
@@ -372,10 +476,10 @@ var useConsentStatus = (endpoint, props) => {
|
|
372
476
|
show,
|
373
477
|
setShow,
|
374
478
|
web3ID,
|
479
|
+
setWeb3ID,
|
375
480
|
handleLevel,
|
376
481
|
showRevoke,
|
377
|
-
handleRevoke
|
378
|
-
showConnectModal
|
482
|
+
handleRevoke
|
379
483
|
];
|
380
484
|
};
|
381
485
|
var useConsentStatus_default = useConsentStatus;
|
@@ -1016,7 +1120,7 @@ var css = `:root {
|
|
1016
1120
|
--aesirxconsent-gray-800: #343a40;
|
1017
1121
|
--aesirxconsent-gray-900: #212529;
|
1018
1122
|
--aesirxconsent-primary: #132342;
|
1019
|
-
--aesirxconsent-secondary: #
|
1123
|
+
--aesirxconsent-secondary: #627eea;
|
1020
1124
|
--aesirxconsent-success: #1ab394;
|
1021
1125
|
--aesirxconsent-info: #0dcaf0;
|
1022
1126
|
--aesirxconsent-warning: #ffc107;
|
@@ -1024,7 +1128,7 @@ var css = `:root {
|
|
1024
1128
|
--aesirxconsent-light: #f8f9fa;
|
1025
1129
|
--aesirxconsent-dark: #212529;
|
1026
1130
|
--aesirxconsent-primary-rgb: 19, 35, 66;
|
1027
|
-
--aesirxconsent-secondary-rgb:
|
1131
|
+
--aesirxconsent-secondary-rgb: 98, 126, 234;
|
1028
1132
|
--aesirxconsent-success-rgb: 26, 179, 148;
|
1029
1133
|
--aesirxconsent-info-rgb: 13, 202, 240;
|
1030
1134
|
--aesirxconsent-warning-rgb: 255, 193, 7;
|
@@ -1032,7 +1136,7 @@ var css = `:root {
|
|
1032
1136
|
--aesirxconsent-light-rgb: 248, 249, 250;
|
1033
1137
|
--aesirxconsent-dark-rgb: 33, 37, 41;
|
1034
1138
|
--aesirxconsent-primary-text-emphasis: #080e1a;
|
1035
|
-
--aesirxconsent-secondary-text-emphasis: #
|
1139
|
+
--aesirxconsent-secondary-text-emphasis: #27325e;
|
1036
1140
|
--aesirxconsent-success-text-emphasis: #0a483b;
|
1037
1141
|
--aesirxconsent-info-text-emphasis: #055160;
|
1038
1142
|
--aesirxconsent-warning-text-emphasis: #664d03;
|
@@ -1040,7 +1144,7 @@ var css = `:root {
|
|
1040
1144
|
--aesirxconsent-light-text-emphasis: #495057;
|
1041
1145
|
--aesirxconsent-dark-text-emphasis: #495057;
|
1042
1146
|
--aesirxconsent-primary-bg-subtle: #d0d3d9;
|
1043
|
-
--aesirxconsent-secondary-bg-subtle: #
|
1147
|
+
--aesirxconsent-secondary-bg-subtle: #e0e5fb;
|
1044
1148
|
--aesirxconsent-success-bg-subtle: #d1f0ea;
|
1045
1149
|
--aesirxconsent-info-bg-subtle: #cff4fc;
|
1046
1150
|
--aesirxconsent-warning-bg-subtle: #fff3cd;
|
@@ -1048,7 +1152,7 @@ var css = `:root {
|
|
1048
1152
|
--aesirxconsent-light-bg-subtle: #fcfcfd;
|
1049
1153
|
--aesirxconsent-dark-bg-subtle: #ced4da;
|
1050
1154
|
--aesirxconsent-primary-border-subtle: #a1a7b3;
|
1051
|
-
--aesirxconsent-secondary-border-subtle: #
|
1155
|
+
--aesirxconsent-secondary-border-subtle: #c0cbf7;
|
1052
1156
|
--aesirxconsent-success-border-subtle: #a3e1d4;
|
1053
1157
|
--aesirxconsent-info-border-subtle: #9eeaf9;
|
1054
1158
|
--aesirxconsent-warning-border-subtle: #ffe69c;
|
@@ -1085,6 +1189,7 @@ var css = `:root {
|
|
1085
1189
|
--aesirxconsent-link-hover-color: #0f1c35;
|
1086
1190
|
--aesirxconsent-link-hover-color-rgb: 15, 28, 53;
|
1087
1191
|
--aesirxconsent-code-color: #d63384;
|
1192
|
+
--aesirxconsent-highlight-color: #212529;
|
1088
1193
|
--aesirxconsent-highlight-bg: #fff3cd;
|
1089
1194
|
--aesirxconsent-border-width: 1px;
|
1090
1195
|
--aesirxconsent-border-style: solid;
|
@@ -1127,7 +1232,7 @@ var css = `:root {
|
|
1127
1232
|
--aesirxconsent-tertiary-bg: #2b3035;
|
1128
1233
|
--aesirxconsent-tertiary-bg-rgb: 43, 48, 53;
|
1129
1234
|
--aesirxconsent-primary-text-emphasis: #717b8e;
|
1130
|
-
--aesirxconsent-secondary-text-emphasis: #
|
1235
|
+
--aesirxconsent-secondary-text-emphasis: #a1b2f2;
|
1131
1236
|
--aesirxconsent-success-text-emphasis: #76d1bf;
|
1132
1237
|
--aesirxconsent-info-text-emphasis: #6edff6;
|
1133
1238
|
--aesirxconsent-warning-text-emphasis: #ffda6a;
|
@@ -1135,7 +1240,7 @@ var css = `:root {
|
|
1135
1240
|
--aesirxconsent-light-text-emphasis: #f8f9fa;
|
1136
1241
|
--aesirxconsent-dark-text-emphasis: #dee2e6;
|
1137
1242
|
--aesirxconsent-primary-bg-subtle: #04070d;
|
1138
|
-
--aesirxconsent-secondary-bg-subtle: #
|
1243
|
+
--aesirxconsent-secondary-bg-subtle: #14192f;
|
1139
1244
|
--aesirxconsent-success-bg-subtle: #05241e;
|
1140
1245
|
--aesirxconsent-info-bg-subtle: #032830;
|
1141
1246
|
--aesirxconsent-warning-bg-subtle: #332701;
|
@@ -1143,7 +1248,7 @@ var css = `:root {
|
|
1143
1248
|
--aesirxconsent-light-bg-subtle: #0c1124;
|
1144
1249
|
--aesirxconsent-dark-bg-subtle: #132342;
|
1145
1250
|
--aesirxconsent-primary-border-subtle: #0b1528;
|
1146
|
-
--aesirxconsent-secondary-border-subtle: #
|
1251
|
+
--aesirxconsent-secondary-border-subtle: #3b4c8c;
|
1147
1252
|
--aesirxconsent-success-border-subtle: #106b59;
|
1148
1253
|
--aesirxconsent-info-border-subtle: #087990;
|
1149
1254
|
--aesirxconsent-warning-border-subtle: #997404;
|
@@ -1156,6 +1261,8 @@ var css = `:root {
|
|
1156
1261
|
--aesirxconsent-link-color-rgb: 255, 255, 255;
|
1157
1262
|
--aesirxconsent-link-hover-color-rgb: 255, 255, 255;
|
1158
1263
|
--aesirxconsent-code-color: #e685b5;
|
1264
|
+
--aesirxconsent-highlight-color: #dee2e6;
|
1265
|
+
--aesirxconsent-highlight-bg: #664d03;
|
1159
1266
|
--aesirxconsent-border-color: #1e4284;
|
1160
1267
|
--aesirxconsent-border-color-translucent: rgba(255, 255, 255, 0.15);
|
1161
1268
|
--aesirxconsent-form-valid-color: #75b798;
|
@@ -1169,6 +1276,8 @@ var css = `:root {
|
|
1169
1276
|
/* rtl:end:remove */
|
1170
1277
|
color: #5f5e70;
|
1171
1278
|
font-size: 16px;
|
1279
|
+
--w3m-z-index: 1060;
|
1280
|
+
--aesirxconsent-modal-margin: 1.75rem;
|
1172
1281
|
}
|
1173
1282
|
.aesirxconsent .modal {
|
1174
1283
|
--aesirxconsent-modal-zindex: 1055;
|
@@ -1180,7 +1289,7 @@ var css = `:root {
|
|
1180
1289
|
--aesirxconsent-modal-border-color: var(--aesirxconsent-border-color-translucent);
|
1181
1290
|
--aesirxconsent-modal-border-width: var(--aesirxconsent-border-width);
|
1182
1291
|
--aesirxconsent-modal-border-radius: var(--aesirxconsent-border-radius-lg);
|
1183
|
-
--aesirxconsent-modal-box-shadow:
|
1292
|
+
--aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow-sm);
|
1184
1293
|
--aesirxconsent-modal-inner-border-radius: calc(var(--aesirxconsent-border-radius-lg) - (var(--aesirxconsent-border-width)));
|
1185
1294
|
--aesirxconsent-modal-header-padding-x: 16px;
|
1186
1295
|
--aesirxconsent-modal-header-padding-y: 16px;
|
@@ -1311,7 +1420,7 @@ var css = `:root {
|
|
1311
1420
|
@media (min-width: 576px) {
|
1312
1421
|
.aesirxconsent .modal {
|
1313
1422
|
--aesirxconsent-modal-margin: 1.75rem;
|
1314
|
-
--aesirxconsent-modal-box-shadow:
|
1423
|
+
--aesirxconsent-modal-box-shadow: var(--aesirxconsent-box-shadow);
|
1315
1424
|
}
|
1316
1425
|
.aesirxconsent .modal-dialog {
|
1317
1426
|
max-width: var(--aesirxconsent-modal-width);
|
@@ -1461,7 +1570,7 @@ var css = `:root {
|
|
1461
1570
|
--aesirxconsent-offcanvas-bg: var(--aesirxconsent-body-bg);
|
1462
1571
|
--aesirxconsent-offcanvas-border-width: var(--aesirxconsent-border-width);
|
1463
1572
|
--aesirxconsent-offcanvas-border-color: var(--aesirxconsent-border-color-translucent);
|
1464
|
-
--aesirxconsent-offcanvas-box-shadow:
|
1573
|
+
--aesirxconsent-offcanvas-box-shadow: var(--aesirxconsent-box-shadow-sm);
|
1465
1574
|
--aesirxconsent-offcanvas-transition: transform 0.3s ease-in-out;
|
1466
1575
|
--aesirxconsent-offcanvas-title-line-height: 1.5;
|
1467
1576
|
}
|
@@ -2034,20 +2143,20 @@ var css = `:root {
|
|
2034
2143
|
--aesirxconsent-btn-disabled-border-color: #132342;
|
2035
2144
|
}
|
2036
2145
|
.aesirxconsent .btn-secondary {
|
2037
|
-
--aesirxconsent-btn-color: #
|
2038
|
-
--aesirxconsent-btn-bg: #
|
2039
|
-
--aesirxconsent-btn-border-color: #
|
2040
|
-
--aesirxconsent-btn-hover-color: #
|
2041
|
-
--aesirxconsent-btn-hover-bg: #
|
2042
|
-
--aesirxconsent-btn-hover-border-color: #
|
2043
|
-
--aesirxconsent-btn-focus-shadow-rgb:
|
2044
|
-
--aesirxconsent-btn-active-color: #
|
2045
|
-
--aesirxconsent-btn-active-bg: #
|
2046
|
-
--aesirxconsent-btn-active-border-color: #
|
2146
|
+
--aesirxconsent-btn-color: #000;
|
2147
|
+
--aesirxconsent-btn-bg: #627eea;
|
2148
|
+
--aesirxconsent-btn-border-color: #627eea;
|
2149
|
+
--aesirxconsent-btn-hover-color: #000;
|
2150
|
+
--aesirxconsent-btn-hover-bg: #7a91ed;
|
2151
|
+
--aesirxconsent-btn-hover-border-color: #728bec;
|
2152
|
+
--aesirxconsent-btn-focus-shadow-rgb: 83, 107, 199;
|
2153
|
+
--aesirxconsent-btn-active-color: #000;
|
2154
|
+
--aesirxconsent-btn-active-bg: #8198ee;
|
2155
|
+
--aesirxconsent-btn-active-border-color: #728bec;
|
2047
2156
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
2048
|
-
--aesirxconsent-btn-disabled-color: #
|
2049
|
-
--aesirxconsent-btn-disabled-bg: #
|
2050
|
-
--aesirxconsent-btn-disabled-border-color: #
|
2157
|
+
--aesirxconsent-btn-disabled-color: #000;
|
2158
|
+
--aesirxconsent-btn-disabled-bg: #627eea;
|
2159
|
+
--aesirxconsent-btn-disabled-border-color: #627eea;
|
2051
2160
|
}
|
2052
2161
|
.aesirxconsent .btn-success {
|
2053
2162
|
--aesirxconsent-btn-color: #000;
|
@@ -2162,19 +2271,19 @@ var css = `:root {
|
|
2162
2271
|
--aesirxconsent-gradient: none;
|
2163
2272
|
}
|
2164
2273
|
.aesirxconsent .btn-outline-secondary {
|
2165
|
-
--aesirxconsent-btn-color: #
|
2166
|
-
--aesirxconsent-btn-border-color: #
|
2167
|
-
--aesirxconsent-btn-hover-color: #
|
2168
|
-
--aesirxconsent-btn-hover-bg: #
|
2169
|
-
--aesirxconsent-btn-hover-border-color: #
|
2170
|
-
--aesirxconsent-btn-focus-shadow-rgb:
|
2171
|
-
--aesirxconsent-btn-active-color: #
|
2172
|
-
--aesirxconsent-btn-active-bg: #
|
2173
|
-
--aesirxconsent-btn-active-border-color: #
|
2274
|
+
--aesirxconsent-btn-color: #627eea;
|
2275
|
+
--aesirxconsent-btn-border-color: #627eea;
|
2276
|
+
--aesirxconsent-btn-hover-color: #000;
|
2277
|
+
--aesirxconsent-btn-hover-bg: #627eea;
|
2278
|
+
--aesirxconsent-btn-hover-border-color: #627eea;
|
2279
|
+
--aesirxconsent-btn-focus-shadow-rgb: 98, 126, 234;
|
2280
|
+
--aesirxconsent-btn-active-color: #000;
|
2281
|
+
--aesirxconsent-btn-active-bg: #627eea;
|
2282
|
+
--aesirxconsent-btn-active-border-color: #627eea;
|
2174
2283
|
--aesirxconsent-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
2175
|
-
--aesirxconsent-btn-disabled-color: #
|
2284
|
+
--aesirxconsent-btn-disabled-color: #627eea;
|
2176
2285
|
--aesirxconsent-btn-disabled-bg: transparent;
|
2177
|
-
--aesirxconsent-btn-disabled-border-color: #
|
2286
|
+
--aesirxconsent-btn-disabled-border-color: #627eea;
|
2178
2287
|
--aesirxconsent-gradient: none;
|
2179
2288
|
}
|
2180
2289
|
.aesirxconsent .btn-outline-success {
|
@@ -2356,7 +2465,7 @@ var css = `:root {
|
|
2356
2465
|
background-color: RGBA(var(--aesirxconsent-primary-rgb), var(--aesirxconsent-bg-opacity, 1));
|
2357
2466
|
}
|
2358
2467
|
.aesirxconsent .text-bg-secondary {
|
2359
|
-
color: #
|
2468
|
+
color: #000;
|
2360
2469
|
background-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-bg-opacity, 1));
|
2361
2470
|
}
|
2362
2471
|
.aesirxconsent .text-bg-success {
|
@@ -2396,8 +2505,8 @@ var css = `:root {
|
|
2396
2505
|
text-decoration-color: RGBA(var(--aesirxconsent-secondary-rgb), var(--aesirxconsent-link-underline-opacity, 1));
|
2397
2506
|
}
|
2398
2507
|
.aesirxconsent .link-secondary:hover, .aesirxconsent .link-secondary:focus {
|
2399
|
-
color: RGBA(
|
2400
|
-
text-decoration-color: RGBA(
|
2508
|
+
color: RGBA(129, 152, 238, var(--aesirxconsent-link-opacity, 1));
|
2509
|
+
text-decoration-color: RGBA(129, 152, 238, var(--aesirxconsent-link-underline-opacity, 1));
|
2401
2510
|
}
|
2402
2511
|
.aesirxconsent .link-success {
|
2403
2512
|
color: RGBA(var(--aesirxconsent-success-rgb), var(--aesirxconsent-link-opacity, 1));
|
@@ -2936,37 +3045,1071 @@ var css = `:root {
|
|
2936
3045
|
display: flex;
|
2937
3046
|
flex-flow: row wrap;
|
2938
3047
|
}
|
2939
|
-
.aesirxconsent .card-group > .card {
|
2940
|
-
flex: 1 0 0%;
|
2941
|
-
margin-bottom: 0;
|
3048
|
+
.aesirxconsent .card-group > .card {
|
3049
|
+
flex: 1 0 0%;
|
3050
|
+
margin-bottom: 0;
|
3051
|
+
}
|
3052
|
+
.aesirxconsent .card-group > .card + .card {
|
3053
|
+
margin-left: 0;
|
3054
|
+
border-left: 0;
|
3055
|
+
}
|
3056
|
+
.aesirxconsent .card-group > .card:not(:last-child) {
|
3057
|
+
border-top-right-radius: 0;
|
3058
|
+
border-bottom-right-radius: 0;
|
3059
|
+
}
|
3060
|
+
.aesirxconsent .card-group > .card:not(:last-child) .card-img-top,
|
3061
|
+
.aesirxconsent .card-group > .card:not(:last-child) .card-header {
|
3062
|
+
border-top-right-radius: 0;
|
3063
|
+
}
|
3064
|
+
.aesirxconsent .card-group > .card:not(:last-child) .card-img-bottom,
|
3065
|
+
.aesirxconsent .card-group > .card:not(:last-child) .card-footer {
|
3066
|
+
border-bottom-right-radius: 0;
|
3067
|
+
}
|
3068
|
+
.aesirxconsent .card-group > .card:not(:first-child) {
|
3069
|
+
border-top-left-radius: 0;
|
3070
|
+
border-bottom-left-radius: 0;
|
3071
|
+
}
|
3072
|
+
.aesirxconsent .card-group > .card:not(:first-child) .card-img-top,
|
3073
|
+
.aesirxconsent .card-group > .card:not(:first-child) .card-header {
|
3074
|
+
border-top-left-radius: 0;
|
3075
|
+
}
|
3076
|
+
.aesirxconsent .card-group > .card:not(:first-child) .card-img-bottom,
|
3077
|
+
.aesirxconsent .card-group > .card:not(:first-child) .card-footer {
|
3078
|
+
border-bottom-left-radius: 0;
|
3079
|
+
}
|
3080
|
+
}
|
3081
|
+
.aesirxconsent :root {
|
3082
|
+
--aesirxconsent-breakpoint-xs: 0;
|
3083
|
+
--aesirxconsent-breakpoint-sm: 576px;
|
3084
|
+
--aesirxconsent-breakpoint-md: 768px;
|
3085
|
+
--aesirxconsent-breakpoint-lg: 992px;
|
3086
|
+
--aesirxconsent-breakpoint-xl: 1200px;
|
3087
|
+
--aesirxconsent-breakpoint-xxl: 1400px;
|
3088
|
+
}
|
3089
|
+
.aesirxconsent .row {
|
3090
|
+
--aesirxconsent-gutter-x: 1.5rem;
|
3091
|
+
--aesirxconsent-gutter-y: 0;
|
3092
|
+
display: flex;
|
3093
|
+
flex-wrap: wrap;
|
3094
|
+
margin-top: calc(-1 * var(--aesirxconsent-gutter-y));
|
3095
|
+
margin-right: calc(-0.5 * var(--aesirxconsent-gutter-x));
|
3096
|
+
margin-left: calc(-0.5 * var(--aesirxconsent-gutter-x));
|
3097
|
+
}
|
3098
|
+
.aesirxconsent .row > * {
|
3099
|
+
flex-shrink: 0;
|
3100
|
+
width: 100%;
|
3101
|
+
max-width: 100%;
|
3102
|
+
padding-right: calc(var(--aesirxconsent-gutter-x) * 0.5);
|
3103
|
+
padding-left: calc(var(--aesirxconsent-gutter-x) * 0.5);
|
3104
|
+
margin-top: var(--aesirxconsent-gutter-y);
|
3105
|
+
}
|
3106
|
+
.aesirxconsent .col {
|
3107
|
+
flex: 1 0 0%;
|
3108
|
+
}
|
3109
|
+
.aesirxconsent .row-cols-auto > * {
|
3110
|
+
flex: 0 0 auto;
|
3111
|
+
width: auto;
|
3112
|
+
}
|
3113
|
+
.aesirxconsent .row-cols-1 > * {
|
3114
|
+
flex: 0 0 auto;
|
3115
|
+
width: 100%;
|
3116
|
+
}
|
3117
|
+
.aesirxconsent .row-cols-2 > * {
|
3118
|
+
flex: 0 0 auto;
|
3119
|
+
width: 50%;
|
3120
|
+
}
|
3121
|
+
.aesirxconsent .row-cols-3 > * {
|
3122
|
+
flex: 0 0 auto;
|
3123
|
+
width: 33.33333333%;
|
3124
|
+
}
|
3125
|
+
.aesirxconsent .row-cols-4 > * {
|
3126
|
+
flex: 0 0 auto;
|
3127
|
+
width: 25%;
|
3128
|
+
}
|
3129
|
+
.aesirxconsent .row-cols-5 > * {
|
3130
|
+
flex: 0 0 auto;
|
3131
|
+
width: 20%;
|
3132
|
+
}
|
3133
|
+
.aesirxconsent .row-cols-6 > * {
|
3134
|
+
flex: 0 0 auto;
|
3135
|
+
width: 16.66666667%;
|
3136
|
+
}
|
3137
|
+
.aesirxconsent .col-auto {
|
3138
|
+
flex: 0 0 auto;
|
3139
|
+
width: auto;
|
3140
|
+
}
|
3141
|
+
.aesirxconsent .col-1 {
|
3142
|
+
flex: 0 0 auto;
|
3143
|
+
width: 8.33333333%;
|
3144
|
+
}
|
3145
|
+
.aesirxconsent .col-2 {
|
3146
|
+
flex: 0 0 auto;
|
3147
|
+
width: 16.66666667%;
|
3148
|
+
}
|
3149
|
+
.aesirxconsent .col-3 {
|
3150
|
+
flex: 0 0 auto;
|
3151
|
+
width: 25%;
|
3152
|
+
}
|
3153
|
+
.aesirxconsent .col-4 {
|
3154
|
+
flex: 0 0 auto;
|
3155
|
+
width: 33.33333333%;
|
3156
|
+
}
|
3157
|
+
.aesirxconsent .col-5 {
|
3158
|
+
flex: 0 0 auto;
|
3159
|
+
width: 41.66666667%;
|
3160
|
+
}
|
3161
|
+
.aesirxconsent .col-6 {
|
3162
|
+
flex: 0 0 auto;
|
3163
|
+
width: 50%;
|
3164
|
+
}
|
3165
|
+
.aesirxconsent .col-7 {
|
3166
|
+
flex: 0 0 auto;
|
3167
|
+
width: 58.33333333%;
|
3168
|
+
}
|
3169
|
+
.aesirxconsent .col-8 {
|
3170
|
+
flex: 0 0 auto;
|
3171
|
+
width: 66.66666667%;
|
3172
|
+
}
|
3173
|
+
.aesirxconsent .col-9 {
|
3174
|
+
flex: 0 0 auto;
|
3175
|
+
width: 75%;
|
3176
|
+
}
|
3177
|
+
.aesirxconsent .col-10 {
|
3178
|
+
flex: 0 0 auto;
|
3179
|
+
width: 83.33333333%;
|
3180
|
+
}
|
3181
|
+
.aesirxconsent .col-11 {
|
3182
|
+
flex: 0 0 auto;
|
3183
|
+
width: 91.66666667%;
|
3184
|
+
}
|
3185
|
+
.aesirxconsent .col-12 {
|
3186
|
+
flex: 0 0 auto;
|
3187
|
+
width: 100%;
|
3188
|
+
}
|
3189
|
+
.aesirxconsent .offset-1 {
|
3190
|
+
margin-left: 8.33333333%;
|
3191
|
+
}
|
3192
|
+
.aesirxconsent .offset-2 {
|
3193
|
+
margin-left: 16.66666667%;
|
3194
|
+
}
|
3195
|
+
.aesirxconsent .offset-3 {
|
3196
|
+
margin-left: 25%;
|
3197
|
+
}
|
3198
|
+
.aesirxconsent .offset-4 {
|
3199
|
+
margin-left: 33.33333333%;
|
3200
|
+
}
|
3201
|
+
.aesirxconsent .offset-5 {
|
3202
|
+
margin-left: 41.66666667%;
|
3203
|
+
}
|
3204
|
+
.aesirxconsent .offset-6 {
|
3205
|
+
margin-left: 50%;
|
3206
|
+
}
|
3207
|
+
.aesirxconsent .offset-7 {
|
3208
|
+
margin-left: 58.33333333%;
|
3209
|
+
}
|
3210
|
+
.aesirxconsent .offset-8 {
|
3211
|
+
margin-left: 66.66666667%;
|
3212
|
+
}
|
3213
|
+
.aesirxconsent .offset-9 {
|
3214
|
+
margin-left: 75%;
|
3215
|
+
}
|
3216
|
+
.aesirxconsent .offset-10 {
|
3217
|
+
margin-left: 83.33333333%;
|
3218
|
+
}
|
3219
|
+
.aesirxconsent .offset-11 {
|
3220
|
+
margin-left: 91.66666667%;
|
3221
|
+
}
|
3222
|
+
.aesirxconsent .g-0,
|
3223
|
+
.aesirxconsent .gx-0 {
|
3224
|
+
--aesirxconsent-gutter-x: 0;
|
3225
|
+
}
|
3226
|
+
.aesirxconsent .g-0,
|
3227
|
+
.aesirxconsent .gy-0 {
|
3228
|
+
--aesirxconsent-gutter-y: 0;
|
3229
|
+
}
|
3230
|
+
.aesirxconsent .g-1,
|
3231
|
+
.aesirxconsent .gx-1 {
|
3232
|
+
--aesirxconsent-gutter-x: 4px;
|
3233
|
+
}
|
3234
|
+
.aesirxconsent .g-1,
|
3235
|
+
.aesirxconsent .gy-1 {
|
3236
|
+
--aesirxconsent-gutter-y: 4px;
|
3237
|
+
}
|
3238
|
+
.aesirxconsent .g-2,
|
3239
|
+
.aesirxconsent .gx-2 {
|
3240
|
+
--aesirxconsent-gutter-x: 8px;
|
3241
|
+
}
|
3242
|
+
.aesirxconsent .g-2,
|
3243
|
+
.aesirxconsent .gy-2 {
|
3244
|
+
--aesirxconsent-gutter-y: 8px;
|
3245
|
+
}
|
3246
|
+
.aesirxconsent .g-3,
|
3247
|
+
.aesirxconsent .gx-3 {
|
3248
|
+
--aesirxconsent-gutter-x: 16px;
|
3249
|
+
}
|
3250
|
+
.aesirxconsent .g-3,
|
3251
|
+
.aesirxconsent .gy-3 {
|
3252
|
+
--aesirxconsent-gutter-y: 16px;
|
3253
|
+
}
|
3254
|
+
.aesirxconsent .g-4,
|
3255
|
+
.aesirxconsent .gx-4 {
|
3256
|
+
--aesirxconsent-gutter-x: 24px;
|
3257
|
+
}
|
3258
|
+
.aesirxconsent .g-4,
|
3259
|
+
.aesirxconsent .gy-4 {
|
3260
|
+
--aesirxconsent-gutter-y: 24px;
|
3261
|
+
}
|
3262
|
+
.aesirxconsent .g-5,
|
3263
|
+
.aesirxconsent .gx-5 {
|
3264
|
+
--aesirxconsent-gutter-x: 48px;
|
3265
|
+
}
|
3266
|
+
.aesirxconsent .g-5,
|
3267
|
+
.aesirxconsent .gy-5 {
|
3268
|
+
--aesirxconsent-gutter-y: 48px;
|
3269
|
+
}
|
3270
|
+
@media (min-width: 576px) {
|
3271
|
+
.aesirxconsent .col-sm {
|
3272
|
+
flex: 1 0 0%;
|
3273
|
+
}
|
3274
|
+
.aesirxconsent .row-cols-sm-auto > * {
|
3275
|
+
flex: 0 0 auto;
|
3276
|
+
width: auto;
|
3277
|
+
}
|
3278
|
+
.aesirxconsent .row-cols-sm-1 > * {
|
3279
|
+
flex: 0 0 auto;
|
3280
|
+
width: 100%;
|
3281
|
+
}
|
3282
|
+
.aesirxconsent .row-cols-sm-2 > * {
|
3283
|
+
flex: 0 0 auto;
|
3284
|
+
width: 50%;
|
3285
|
+
}
|
3286
|
+
.aesirxconsent .row-cols-sm-3 > * {
|
3287
|
+
flex: 0 0 auto;
|
3288
|
+
width: 33.33333333%;
|
3289
|
+
}
|
3290
|
+
.aesirxconsent .row-cols-sm-4 > * {
|
3291
|
+
flex: 0 0 auto;
|
3292
|
+
width: 25%;
|
3293
|
+
}
|
3294
|
+
.aesirxconsent .row-cols-sm-5 > * {
|
3295
|
+
flex: 0 0 auto;
|
3296
|
+
width: 20%;
|
3297
|
+
}
|
3298
|
+
.aesirxconsent .row-cols-sm-6 > * {
|
3299
|
+
flex: 0 0 auto;
|
3300
|
+
width: 16.66666667%;
|
3301
|
+
}
|
3302
|
+
.aesirxconsent .col-sm-auto {
|
3303
|
+
flex: 0 0 auto;
|
3304
|
+
width: auto;
|
3305
|
+
}
|
3306
|
+
.aesirxconsent .col-sm-1 {
|
3307
|
+
flex: 0 0 auto;
|
3308
|
+
width: 8.33333333%;
|
3309
|
+
}
|
3310
|
+
.aesirxconsent .col-sm-2 {
|
3311
|
+
flex: 0 0 auto;
|
3312
|
+
width: 16.66666667%;
|
3313
|
+
}
|
3314
|
+
.aesirxconsent .col-sm-3 {
|
3315
|
+
flex: 0 0 auto;
|
3316
|
+
width: 25%;
|
3317
|
+
}
|
3318
|
+
.aesirxconsent .col-sm-4 {
|
3319
|
+
flex: 0 0 auto;
|
3320
|
+
width: 33.33333333%;
|
3321
|
+
}
|
3322
|
+
.aesirxconsent .col-sm-5 {
|
3323
|
+
flex: 0 0 auto;
|
3324
|
+
width: 41.66666667%;
|
3325
|
+
}
|
3326
|
+
.aesirxconsent .col-sm-6 {
|
3327
|
+
flex: 0 0 auto;
|
3328
|
+
width: 50%;
|
3329
|
+
}
|
3330
|
+
.aesirxconsent .col-sm-7 {
|
3331
|
+
flex: 0 0 auto;
|
3332
|
+
width: 58.33333333%;
|
3333
|
+
}
|
3334
|
+
.aesirxconsent .col-sm-8 {
|
3335
|
+
flex: 0 0 auto;
|
3336
|
+
width: 66.66666667%;
|
3337
|
+
}
|
3338
|
+
.aesirxconsent .col-sm-9 {
|
3339
|
+
flex: 0 0 auto;
|
3340
|
+
width: 75%;
|
3341
|
+
}
|
3342
|
+
.aesirxconsent .col-sm-10 {
|
3343
|
+
flex: 0 0 auto;
|
3344
|
+
width: 83.33333333%;
|
3345
|
+
}
|
3346
|
+
.aesirxconsent .col-sm-11 {
|
3347
|
+
flex: 0 0 auto;
|
3348
|
+
width: 91.66666667%;
|
3349
|
+
}
|
3350
|
+
.aesirxconsent .col-sm-12 {
|
3351
|
+
flex: 0 0 auto;
|
3352
|
+
width: 100%;
|
3353
|
+
}
|
3354
|
+
.aesirxconsent .offset-sm-0 {
|
3355
|
+
margin-left: 0;
|
3356
|
+
}
|
3357
|
+
.aesirxconsent .offset-sm-1 {
|
3358
|
+
margin-left: 8.33333333%;
|
3359
|
+
}
|
3360
|
+
.aesirxconsent .offset-sm-2 {
|
3361
|
+
margin-left: 16.66666667%;
|
3362
|
+
}
|
3363
|
+
.aesirxconsent .offset-sm-3 {
|
3364
|
+
margin-left: 25%;
|
3365
|
+
}
|
3366
|
+
.aesirxconsent .offset-sm-4 {
|
3367
|
+
margin-left: 33.33333333%;
|
3368
|
+
}
|
3369
|
+
.aesirxconsent .offset-sm-5 {
|
3370
|
+
margin-left: 41.66666667%;
|
3371
|
+
}
|
3372
|
+
.aesirxconsent .offset-sm-6 {
|
3373
|
+
margin-left: 50%;
|
3374
|
+
}
|
3375
|
+
.aesirxconsent .offset-sm-7 {
|
3376
|
+
margin-left: 58.33333333%;
|
3377
|
+
}
|
3378
|
+
.aesirxconsent .offset-sm-8 {
|
3379
|
+
margin-left: 66.66666667%;
|
3380
|
+
}
|
3381
|
+
.aesirxconsent .offset-sm-9 {
|
3382
|
+
margin-left: 75%;
|
3383
|
+
}
|
3384
|
+
.aesirxconsent .offset-sm-10 {
|
3385
|
+
margin-left: 83.33333333%;
|
3386
|
+
}
|
3387
|
+
.aesirxconsent .offset-sm-11 {
|
3388
|
+
margin-left: 91.66666667%;
|
3389
|
+
}
|
3390
|
+
.aesirxconsent .g-sm-0,
|
3391
|
+
.aesirxconsent .gx-sm-0 {
|
3392
|
+
--aesirxconsent-gutter-x: 0;
|
3393
|
+
}
|
3394
|
+
.aesirxconsent .g-sm-0,
|
3395
|
+
.aesirxconsent .gy-sm-0 {
|
3396
|
+
--aesirxconsent-gutter-y: 0;
|
3397
|
+
}
|
3398
|
+
.aesirxconsent .g-sm-1,
|
3399
|
+
.aesirxconsent .gx-sm-1 {
|
3400
|
+
--aesirxconsent-gutter-x: 4px;
|
3401
|
+
}
|
3402
|
+
.aesirxconsent .g-sm-1,
|
3403
|
+
.aesirxconsent .gy-sm-1 {
|
3404
|
+
--aesirxconsent-gutter-y: 4px;
|
3405
|
+
}
|
3406
|
+
.aesirxconsent .g-sm-2,
|
3407
|
+
.aesirxconsent .gx-sm-2 {
|
3408
|
+
--aesirxconsent-gutter-x: 8px;
|
3409
|
+
}
|
3410
|
+
.aesirxconsent .g-sm-2,
|
3411
|
+
.aesirxconsent .gy-sm-2 {
|
3412
|
+
--aesirxconsent-gutter-y: 8px;
|
3413
|
+
}
|
3414
|
+
.aesirxconsent .g-sm-3,
|
3415
|
+
.aesirxconsent .gx-sm-3 {
|
3416
|
+
--aesirxconsent-gutter-x: 16px;
|
3417
|
+
}
|
3418
|
+
.aesirxconsent .g-sm-3,
|
3419
|
+
.aesirxconsent .gy-sm-3 {
|
3420
|
+
--aesirxconsent-gutter-y: 16px;
|
3421
|
+
}
|
3422
|
+
.aesirxconsent .g-sm-4,
|
3423
|
+
.aesirxconsent .gx-sm-4 {
|
3424
|
+
--aesirxconsent-gutter-x: 24px;
|
3425
|
+
}
|
3426
|
+
.aesirxconsent .g-sm-4,
|
3427
|
+
.aesirxconsent .gy-sm-4 {
|
3428
|
+
--aesirxconsent-gutter-y: 24px;
|
3429
|
+
}
|
3430
|
+
.aesirxconsent .g-sm-5,
|
3431
|
+
.aesirxconsent .gx-sm-5 {
|
3432
|
+
--aesirxconsent-gutter-x: 48px;
|
3433
|
+
}
|
3434
|
+
.aesirxconsent .g-sm-5,
|
3435
|
+
.aesirxconsent .gy-sm-5 {
|
3436
|
+
--aesirxconsent-gutter-y: 48px;
|
3437
|
+
}
|
3438
|
+
}
|
3439
|
+
@media (min-width: 768px) {
|
3440
|
+
.aesirxconsent .col-md {
|
3441
|
+
flex: 1 0 0%;
|
3442
|
+
}
|
3443
|
+
.aesirxconsent .row-cols-md-auto > * {
|
3444
|
+
flex: 0 0 auto;
|
3445
|
+
width: auto;
|
3446
|
+
}
|
3447
|
+
.aesirxconsent .row-cols-md-1 > * {
|
3448
|
+
flex: 0 0 auto;
|
3449
|
+
width: 100%;
|
3450
|
+
}
|
3451
|
+
.aesirxconsent .row-cols-md-2 > * {
|
3452
|
+
flex: 0 0 auto;
|
3453
|
+
width: 50%;
|
3454
|
+
}
|
3455
|
+
.aesirxconsent .row-cols-md-3 > * {
|
3456
|
+
flex: 0 0 auto;
|
3457
|
+
width: 33.33333333%;
|
3458
|
+
}
|
3459
|
+
.aesirxconsent .row-cols-md-4 > * {
|
3460
|
+
flex: 0 0 auto;
|
3461
|
+
width: 25%;
|
3462
|
+
}
|
3463
|
+
.aesirxconsent .row-cols-md-5 > * {
|
3464
|
+
flex: 0 0 auto;
|
3465
|
+
width: 20%;
|
3466
|
+
}
|
3467
|
+
.aesirxconsent .row-cols-md-6 > * {
|
3468
|
+
flex: 0 0 auto;
|
3469
|
+
width: 16.66666667%;
|
3470
|
+
}
|
3471
|
+
.aesirxconsent .col-md-auto {
|
3472
|
+
flex: 0 0 auto;
|
3473
|
+
width: auto;
|
3474
|
+
}
|
3475
|
+
.aesirxconsent .col-md-1 {
|
3476
|
+
flex: 0 0 auto;
|
3477
|
+
width: 8.33333333%;
|
3478
|
+
}
|
3479
|
+
.aesirxconsent .col-md-2 {
|
3480
|
+
flex: 0 0 auto;
|
3481
|
+
width: 16.66666667%;
|
3482
|
+
}
|
3483
|
+
.aesirxconsent .col-md-3 {
|
3484
|
+
flex: 0 0 auto;
|
3485
|
+
width: 25%;
|
3486
|
+
}
|
3487
|
+
.aesirxconsent .col-md-4 {
|
3488
|
+
flex: 0 0 auto;
|
3489
|
+
width: 33.33333333%;
|
3490
|
+
}
|
3491
|
+
.aesirxconsent .col-md-5 {
|
3492
|
+
flex: 0 0 auto;
|
3493
|
+
width: 41.66666667%;
|
3494
|
+
}
|
3495
|
+
.aesirxconsent .col-md-6 {
|
3496
|
+
flex: 0 0 auto;
|
3497
|
+
width: 50%;
|
3498
|
+
}
|
3499
|
+
.aesirxconsent .col-md-7 {
|
3500
|
+
flex: 0 0 auto;
|
3501
|
+
width: 58.33333333%;
|
3502
|
+
}
|
3503
|
+
.aesirxconsent .col-md-8 {
|
3504
|
+
flex: 0 0 auto;
|
3505
|
+
width: 66.66666667%;
|
3506
|
+
}
|
3507
|
+
.aesirxconsent .col-md-9 {
|
3508
|
+
flex: 0 0 auto;
|
3509
|
+
width: 75%;
|
3510
|
+
}
|
3511
|
+
.aesirxconsent .col-md-10 {
|
3512
|
+
flex: 0 0 auto;
|
3513
|
+
width: 83.33333333%;
|
3514
|
+
}
|
3515
|
+
.aesirxconsent .col-md-11 {
|
3516
|
+
flex: 0 0 auto;
|
3517
|
+
width: 91.66666667%;
|
3518
|
+
}
|
3519
|
+
.aesirxconsent .col-md-12 {
|
3520
|
+
flex: 0 0 auto;
|
3521
|
+
width: 100%;
|
3522
|
+
}
|
3523
|
+
.aesirxconsent .offset-md-0 {
|
3524
|
+
margin-left: 0;
|
3525
|
+
}
|
3526
|
+
.aesirxconsent .offset-md-1 {
|
3527
|
+
margin-left: 8.33333333%;
|
3528
|
+
}
|
3529
|
+
.aesirxconsent .offset-md-2 {
|
3530
|
+
margin-left: 16.66666667%;
|
3531
|
+
}
|
3532
|
+
.aesirxconsent .offset-md-3 {
|
3533
|
+
margin-left: 25%;
|
3534
|
+
}
|
3535
|
+
.aesirxconsent .offset-md-4 {
|
3536
|
+
margin-left: 33.33333333%;
|
3537
|
+
}
|
3538
|
+
.aesirxconsent .offset-md-5 {
|
3539
|
+
margin-left: 41.66666667%;
|
3540
|
+
}
|
3541
|
+
.aesirxconsent .offset-md-6 {
|
3542
|
+
margin-left: 50%;
|
3543
|
+
}
|
3544
|
+
.aesirxconsent .offset-md-7 {
|
3545
|
+
margin-left: 58.33333333%;
|
3546
|
+
}
|
3547
|
+
.aesirxconsent .offset-md-8 {
|
3548
|
+
margin-left: 66.66666667%;
|
3549
|
+
}
|
3550
|
+
.aesirxconsent .offset-md-9 {
|
3551
|
+
margin-left: 75%;
|
3552
|
+
}
|
3553
|
+
.aesirxconsent .offset-md-10 {
|
3554
|
+
margin-left: 83.33333333%;
|
3555
|
+
}
|
3556
|
+
.aesirxconsent .offset-md-11 {
|
3557
|
+
margin-left: 91.66666667%;
|
3558
|
+
}
|
3559
|
+
.aesirxconsent .g-md-0,
|
3560
|
+
.aesirxconsent .gx-md-0 {
|
3561
|
+
--aesirxconsent-gutter-x: 0;
|
3562
|
+
}
|
3563
|
+
.aesirxconsent .g-md-0,
|
3564
|
+
.aesirxconsent .gy-md-0 {
|
3565
|
+
--aesirxconsent-gutter-y: 0;
|
3566
|
+
}
|
3567
|
+
.aesirxconsent .g-md-1,
|
3568
|
+
.aesirxconsent .gx-md-1 {
|
3569
|
+
--aesirxconsent-gutter-x: 4px;
|
3570
|
+
}
|
3571
|
+
.aesirxconsent .g-md-1,
|
3572
|
+
.aesirxconsent .gy-md-1 {
|
3573
|
+
--aesirxconsent-gutter-y: 4px;
|
3574
|
+
}
|
3575
|
+
.aesirxconsent .g-md-2,
|
3576
|
+
.aesirxconsent .gx-md-2 {
|
3577
|
+
--aesirxconsent-gutter-x: 8px;
|
3578
|
+
}
|
3579
|
+
.aesirxconsent .g-md-2,
|
3580
|
+
.aesirxconsent .gy-md-2 {
|
3581
|
+
--aesirxconsent-gutter-y: 8px;
|
3582
|
+
}
|
3583
|
+
.aesirxconsent .g-md-3,
|
3584
|
+
.aesirxconsent .gx-md-3 {
|
3585
|
+
--aesirxconsent-gutter-x: 16px;
|
3586
|
+
}
|
3587
|
+
.aesirxconsent .g-md-3,
|
3588
|
+
.aesirxconsent .gy-md-3 {
|
3589
|
+
--aesirxconsent-gutter-y: 16px;
|
3590
|
+
}
|
3591
|
+
.aesirxconsent .g-md-4,
|
3592
|
+
.aesirxconsent .gx-md-4 {
|
3593
|
+
--aesirxconsent-gutter-x: 24px;
|
3594
|
+
}
|
3595
|
+
.aesirxconsent .g-md-4,
|
3596
|
+
.aesirxconsent .gy-md-4 {
|
3597
|
+
--aesirxconsent-gutter-y: 24px;
|
3598
|
+
}
|
3599
|
+
.aesirxconsent .g-md-5,
|
3600
|
+
.aesirxconsent .gx-md-5 {
|
3601
|
+
--aesirxconsent-gutter-x: 48px;
|
3602
|
+
}
|
3603
|
+
.aesirxconsent .g-md-5,
|
3604
|
+
.aesirxconsent .gy-md-5 {
|
3605
|
+
--aesirxconsent-gutter-y: 48px;
|
3606
|
+
}
|
3607
|
+
}
|
3608
|
+
@media (min-width: 992px) {
|
3609
|
+
.aesirxconsent .col-lg {
|
3610
|
+
flex: 1 0 0%;
|
3611
|
+
}
|
3612
|
+
.aesirxconsent .row-cols-lg-auto > * {
|
3613
|
+
flex: 0 0 auto;
|
3614
|
+
width: auto;
|
3615
|
+
}
|
3616
|
+
.aesirxconsent .row-cols-lg-1 > * {
|
3617
|
+
flex: 0 0 auto;
|
3618
|
+
width: 100%;
|
3619
|
+
}
|
3620
|
+
.aesirxconsent .row-cols-lg-2 > * {
|
3621
|
+
flex: 0 0 auto;
|
3622
|
+
width: 50%;
|
3623
|
+
}
|
3624
|
+
.aesirxconsent .row-cols-lg-3 > * {
|
3625
|
+
flex: 0 0 auto;
|
3626
|
+
width: 33.33333333%;
|
3627
|
+
}
|
3628
|
+
.aesirxconsent .row-cols-lg-4 > * {
|
3629
|
+
flex: 0 0 auto;
|
3630
|
+
width: 25%;
|
3631
|
+
}
|
3632
|
+
.aesirxconsent .row-cols-lg-5 > * {
|
3633
|
+
flex: 0 0 auto;
|
3634
|
+
width: 20%;
|
3635
|
+
}
|
3636
|
+
.aesirxconsent .row-cols-lg-6 > * {
|
3637
|
+
flex: 0 0 auto;
|
3638
|
+
width: 16.66666667%;
|
3639
|
+
}
|
3640
|
+
.aesirxconsent .col-lg-auto {
|
3641
|
+
flex: 0 0 auto;
|
3642
|
+
width: auto;
|
3643
|
+
}
|
3644
|
+
.aesirxconsent .col-lg-1 {
|
3645
|
+
flex: 0 0 auto;
|
3646
|
+
width: 8.33333333%;
|
3647
|
+
}
|
3648
|
+
.aesirxconsent .col-lg-2 {
|
3649
|
+
flex: 0 0 auto;
|
3650
|
+
width: 16.66666667%;
|
3651
|
+
}
|
3652
|
+
.aesirxconsent .col-lg-3 {
|
3653
|
+
flex: 0 0 auto;
|
3654
|
+
width: 25%;
|
3655
|
+
}
|
3656
|
+
.aesirxconsent .col-lg-4 {
|
3657
|
+
flex: 0 0 auto;
|
3658
|
+
width: 33.33333333%;
|
3659
|
+
}
|
3660
|
+
.aesirxconsent .col-lg-5 {
|
3661
|
+
flex: 0 0 auto;
|
3662
|
+
width: 41.66666667%;
|
3663
|
+
}
|
3664
|
+
.aesirxconsent .col-lg-6 {
|
3665
|
+
flex: 0 0 auto;
|
3666
|
+
width: 50%;
|
3667
|
+
}
|
3668
|
+
.aesirxconsent .col-lg-7 {
|
3669
|
+
flex: 0 0 auto;
|
3670
|
+
width: 58.33333333%;
|
3671
|
+
}
|
3672
|
+
.aesirxconsent .col-lg-8 {
|
3673
|
+
flex: 0 0 auto;
|
3674
|
+
width: 66.66666667%;
|
3675
|
+
}
|
3676
|
+
.aesirxconsent .col-lg-9 {
|
3677
|
+
flex: 0 0 auto;
|
3678
|
+
width: 75%;
|
3679
|
+
}
|
3680
|
+
.aesirxconsent .col-lg-10 {
|
3681
|
+
flex: 0 0 auto;
|
3682
|
+
width: 83.33333333%;
|
3683
|
+
}
|
3684
|
+
.aesirxconsent .col-lg-11 {
|
3685
|
+
flex: 0 0 auto;
|
3686
|
+
width: 91.66666667%;
|
3687
|
+
}
|
3688
|
+
.aesirxconsent .col-lg-12 {
|
3689
|
+
flex: 0 0 auto;
|
3690
|
+
width: 100%;
|
3691
|
+
}
|
3692
|
+
.aesirxconsent .offset-lg-0 {
|
3693
|
+
margin-left: 0;
|
3694
|
+
}
|
3695
|
+
.aesirxconsent .offset-lg-1 {
|
3696
|
+
margin-left: 8.33333333%;
|
3697
|
+
}
|
3698
|
+
.aesirxconsent .offset-lg-2 {
|
3699
|
+
margin-left: 16.66666667%;
|
3700
|
+
}
|
3701
|
+
.aesirxconsent .offset-lg-3 {
|
3702
|
+
margin-left: 25%;
|
3703
|
+
}
|
3704
|
+
.aesirxconsent .offset-lg-4 {
|
3705
|
+
margin-left: 33.33333333%;
|
3706
|
+
}
|
3707
|
+
.aesirxconsent .offset-lg-5 {
|
3708
|
+
margin-left: 41.66666667%;
|
3709
|
+
}
|
3710
|
+
.aesirxconsent .offset-lg-6 {
|
3711
|
+
margin-left: 50%;
|
3712
|
+
}
|
3713
|
+
.aesirxconsent .offset-lg-7 {
|
3714
|
+
margin-left: 58.33333333%;
|
3715
|
+
}
|
3716
|
+
.aesirxconsent .offset-lg-8 {
|
3717
|
+
margin-left: 66.66666667%;
|
3718
|
+
}
|
3719
|
+
.aesirxconsent .offset-lg-9 {
|
3720
|
+
margin-left: 75%;
|
3721
|
+
}
|
3722
|
+
.aesirxconsent .offset-lg-10 {
|
3723
|
+
margin-left: 83.33333333%;
|
3724
|
+
}
|
3725
|
+
.aesirxconsent .offset-lg-11 {
|
3726
|
+
margin-left: 91.66666667%;
|
3727
|
+
}
|
3728
|
+
.aesirxconsent .g-lg-0,
|
3729
|
+
.aesirxconsent .gx-lg-0 {
|
3730
|
+
--aesirxconsent-gutter-x: 0;
|
3731
|
+
}
|
3732
|
+
.aesirxconsent .g-lg-0,
|
3733
|
+
.aesirxconsent .gy-lg-0 {
|
3734
|
+
--aesirxconsent-gutter-y: 0;
|
3735
|
+
}
|
3736
|
+
.aesirxconsent .g-lg-1,
|
3737
|
+
.aesirxconsent .gx-lg-1 {
|
3738
|
+
--aesirxconsent-gutter-x: 4px;
|
3739
|
+
}
|
3740
|
+
.aesirxconsent .g-lg-1,
|
3741
|
+
.aesirxconsent .gy-lg-1 {
|
3742
|
+
--aesirxconsent-gutter-y: 4px;
|
3743
|
+
}
|
3744
|
+
.aesirxconsent .g-lg-2,
|
3745
|
+
.aesirxconsent .gx-lg-2 {
|
3746
|
+
--aesirxconsent-gutter-x: 8px;
|
3747
|
+
}
|
3748
|
+
.aesirxconsent .g-lg-2,
|
3749
|
+
.aesirxconsent .gy-lg-2 {
|
3750
|
+
--aesirxconsent-gutter-y: 8px;
|
3751
|
+
}
|
3752
|
+
.aesirxconsent .g-lg-3,
|
3753
|
+
.aesirxconsent .gx-lg-3 {
|
3754
|
+
--aesirxconsent-gutter-x: 16px;
|
3755
|
+
}
|
3756
|
+
.aesirxconsent .g-lg-3,
|
3757
|
+
.aesirxconsent .gy-lg-3 {
|
3758
|
+
--aesirxconsent-gutter-y: 16px;
|
3759
|
+
}
|
3760
|
+
.aesirxconsent .g-lg-4,
|
3761
|
+
.aesirxconsent .gx-lg-4 {
|
3762
|
+
--aesirxconsent-gutter-x: 24px;
|
3763
|
+
}
|
3764
|
+
.aesirxconsent .g-lg-4,
|
3765
|
+
.aesirxconsent .gy-lg-4 {
|
3766
|
+
--aesirxconsent-gutter-y: 24px;
|
3767
|
+
}
|
3768
|
+
.aesirxconsent .g-lg-5,
|
3769
|
+
.aesirxconsent .gx-lg-5 {
|
3770
|
+
--aesirxconsent-gutter-x: 48px;
|
3771
|
+
}
|
3772
|
+
.aesirxconsent .g-lg-5,
|
3773
|
+
.aesirxconsent .gy-lg-5 {
|
3774
|
+
--aesirxconsent-gutter-y: 48px;
|
3775
|
+
}
|
3776
|
+
}
|
3777
|
+
@media (min-width: 1200px) {
|
3778
|
+
.aesirxconsent .col-xl {
|
3779
|
+
flex: 1 0 0%;
|
3780
|
+
}
|
3781
|
+
.aesirxconsent .row-cols-xl-auto > * {
|
3782
|
+
flex: 0 0 auto;
|
3783
|
+
width: auto;
|
3784
|
+
}
|
3785
|
+
.aesirxconsent .row-cols-xl-1 > * {
|
3786
|
+
flex: 0 0 auto;
|
3787
|
+
width: 100%;
|
3788
|
+
}
|
3789
|
+
.aesirxconsent .row-cols-xl-2 > * {
|
3790
|
+
flex: 0 0 auto;
|
3791
|
+
width: 50%;
|
3792
|
+
}
|
3793
|
+
.aesirxconsent .row-cols-xl-3 > * {
|
3794
|
+
flex: 0 0 auto;
|
3795
|
+
width: 33.33333333%;
|
3796
|
+
}
|
3797
|
+
.aesirxconsent .row-cols-xl-4 > * {
|
3798
|
+
flex: 0 0 auto;
|
3799
|
+
width: 25%;
|
3800
|
+
}
|
3801
|
+
.aesirxconsent .row-cols-xl-5 > * {
|
3802
|
+
flex: 0 0 auto;
|
3803
|
+
width: 20%;
|
3804
|
+
}
|
3805
|
+
.aesirxconsent .row-cols-xl-6 > * {
|
3806
|
+
flex: 0 0 auto;
|
3807
|
+
width: 16.66666667%;
|
3808
|
+
}
|
3809
|
+
.aesirxconsent .col-xl-auto {
|
3810
|
+
flex: 0 0 auto;
|
3811
|
+
width: auto;
|
3812
|
+
}
|
3813
|
+
.aesirxconsent .col-xl-1 {
|
3814
|
+
flex: 0 0 auto;
|
3815
|
+
width: 8.33333333%;
|
3816
|
+
}
|
3817
|
+
.aesirxconsent .col-xl-2 {
|
3818
|
+
flex: 0 0 auto;
|
3819
|
+
width: 16.66666667%;
|
3820
|
+
}
|
3821
|
+
.aesirxconsent .col-xl-3 {
|
3822
|
+
flex: 0 0 auto;
|
3823
|
+
width: 25%;
|
3824
|
+
}
|
3825
|
+
.aesirxconsent .col-xl-4 {
|
3826
|
+
flex: 0 0 auto;
|
3827
|
+
width: 33.33333333%;
|
3828
|
+
}
|
3829
|
+
.aesirxconsent .col-xl-5 {
|
3830
|
+
flex: 0 0 auto;
|
3831
|
+
width: 41.66666667%;
|
3832
|
+
}
|
3833
|
+
.aesirxconsent .col-xl-6 {
|
3834
|
+
flex: 0 0 auto;
|
3835
|
+
width: 50%;
|
3836
|
+
}
|
3837
|
+
.aesirxconsent .col-xl-7 {
|
3838
|
+
flex: 0 0 auto;
|
3839
|
+
width: 58.33333333%;
|
3840
|
+
}
|
3841
|
+
.aesirxconsent .col-xl-8 {
|
3842
|
+
flex: 0 0 auto;
|
3843
|
+
width: 66.66666667%;
|
3844
|
+
}
|
3845
|
+
.aesirxconsent .col-xl-9 {
|
3846
|
+
flex: 0 0 auto;
|
3847
|
+
width: 75%;
|
3848
|
+
}
|
3849
|
+
.aesirxconsent .col-xl-10 {
|
3850
|
+
flex: 0 0 auto;
|
3851
|
+
width: 83.33333333%;
|
3852
|
+
}
|
3853
|
+
.aesirxconsent .col-xl-11 {
|
3854
|
+
flex: 0 0 auto;
|
3855
|
+
width: 91.66666667%;
|
3856
|
+
}
|
3857
|
+
.aesirxconsent .col-xl-12 {
|
3858
|
+
flex: 0 0 auto;
|
3859
|
+
width: 100%;
|
3860
|
+
}
|
3861
|
+
.aesirxconsent .offset-xl-0 {
|
3862
|
+
margin-left: 0;
|
3863
|
+
}
|
3864
|
+
.aesirxconsent .offset-xl-1 {
|
3865
|
+
margin-left: 8.33333333%;
|
3866
|
+
}
|
3867
|
+
.aesirxconsent .offset-xl-2 {
|
3868
|
+
margin-left: 16.66666667%;
|
3869
|
+
}
|
3870
|
+
.aesirxconsent .offset-xl-3 {
|
3871
|
+
margin-left: 25%;
|
3872
|
+
}
|
3873
|
+
.aesirxconsent .offset-xl-4 {
|
3874
|
+
margin-left: 33.33333333%;
|
3875
|
+
}
|
3876
|
+
.aesirxconsent .offset-xl-5 {
|
3877
|
+
margin-left: 41.66666667%;
|
3878
|
+
}
|
3879
|
+
.aesirxconsent .offset-xl-6 {
|
3880
|
+
margin-left: 50%;
|
3881
|
+
}
|
3882
|
+
.aesirxconsent .offset-xl-7 {
|
3883
|
+
margin-left: 58.33333333%;
|
3884
|
+
}
|
3885
|
+
.aesirxconsent .offset-xl-8 {
|
3886
|
+
margin-left: 66.66666667%;
|
3887
|
+
}
|
3888
|
+
.aesirxconsent .offset-xl-9 {
|
3889
|
+
margin-left: 75%;
|
3890
|
+
}
|
3891
|
+
.aesirxconsent .offset-xl-10 {
|
3892
|
+
margin-left: 83.33333333%;
|
3893
|
+
}
|
3894
|
+
.aesirxconsent .offset-xl-11 {
|
3895
|
+
margin-left: 91.66666667%;
|
3896
|
+
}
|
3897
|
+
.aesirxconsent .g-xl-0,
|
3898
|
+
.aesirxconsent .gx-xl-0 {
|
3899
|
+
--aesirxconsent-gutter-x: 0;
|
3900
|
+
}
|
3901
|
+
.aesirxconsent .g-xl-0,
|
3902
|
+
.aesirxconsent .gy-xl-0 {
|
3903
|
+
--aesirxconsent-gutter-y: 0;
|
3904
|
+
}
|
3905
|
+
.aesirxconsent .g-xl-1,
|
3906
|
+
.aesirxconsent .gx-xl-1 {
|
3907
|
+
--aesirxconsent-gutter-x: 4px;
|
3908
|
+
}
|
3909
|
+
.aesirxconsent .g-xl-1,
|
3910
|
+
.aesirxconsent .gy-xl-1 {
|
3911
|
+
--aesirxconsent-gutter-y: 4px;
|
3912
|
+
}
|
3913
|
+
.aesirxconsent .g-xl-2,
|
3914
|
+
.aesirxconsent .gx-xl-2 {
|
3915
|
+
--aesirxconsent-gutter-x: 8px;
|
3916
|
+
}
|
3917
|
+
.aesirxconsent .g-xl-2,
|
3918
|
+
.aesirxconsent .gy-xl-2 {
|
3919
|
+
--aesirxconsent-gutter-y: 8px;
|
3920
|
+
}
|
3921
|
+
.aesirxconsent .g-xl-3,
|
3922
|
+
.aesirxconsent .gx-xl-3 {
|
3923
|
+
--aesirxconsent-gutter-x: 16px;
|
3924
|
+
}
|
3925
|
+
.aesirxconsent .g-xl-3,
|
3926
|
+
.aesirxconsent .gy-xl-3 {
|
3927
|
+
--aesirxconsent-gutter-y: 16px;
|
3928
|
+
}
|
3929
|
+
.aesirxconsent .g-xl-4,
|
3930
|
+
.aesirxconsent .gx-xl-4 {
|
3931
|
+
--aesirxconsent-gutter-x: 24px;
|
3932
|
+
}
|
3933
|
+
.aesirxconsent .g-xl-4,
|
3934
|
+
.aesirxconsent .gy-xl-4 {
|
3935
|
+
--aesirxconsent-gutter-y: 24px;
|
3936
|
+
}
|
3937
|
+
.aesirxconsent .g-xl-5,
|
3938
|
+
.aesirxconsent .gx-xl-5 {
|
3939
|
+
--aesirxconsent-gutter-x: 48px;
|
3940
|
+
}
|
3941
|
+
.aesirxconsent .g-xl-5,
|
3942
|
+
.aesirxconsent .gy-xl-5 {
|
3943
|
+
--aesirxconsent-gutter-y: 48px;
|
3944
|
+
}
|
3945
|
+
}
|
3946
|
+
@media (min-width: 1400px) {
|
3947
|
+
.aesirxconsent .col-xxl {
|
3948
|
+
flex: 1 0 0%;
|
3949
|
+
}
|
3950
|
+
.aesirxconsent .row-cols-xxl-auto > * {
|
3951
|
+
flex: 0 0 auto;
|
3952
|
+
width: auto;
|
3953
|
+
}
|
3954
|
+
.aesirxconsent .row-cols-xxl-1 > * {
|
3955
|
+
flex: 0 0 auto;
|
3956
|
+
width: 100%;
|
3957
|
+
}
|
3958
|
+
.aesirxconsent .row-cols-xxl-2 > * {
|
3959
|
+
flex: 0 0 auto;
|
3960
|
+
width: 50%;
|
3961
|
+
}
|
3962
|
+
.aesirxconsent .row-cols-xxl-3 > * {
|
3963
|
+
flex: 0 0 auto;
|
3964
|
+
width: 33.33333333%;
|
3965
|
+
}
|
3966
|
+
.aesirxconsent .row-cols-xxl-4 > * {
|
3967
|
+
flex: 0 0 auto;
|
3968
|
+
width: 25%;
|
3969
|
+
}
|
3970
|
+
.aesirxconsent .row-cols-xxl-5 > * {
|
3971
|
+
flex: 0 0 auto;
|
3972
|
+
width: 20%;
|
2942
3973
|
}
|
2943
|
-
.aesirxconsent .
|
3974
|
+
.aesirxconsent .row-cols-xxl-6 > * {
|
3975
|
+
flex: 0 0 auto;
|
3976
|
+
width: 16.66666667%;
|
3977
|
+
}
|
3978
|
+
.aesirxconsent .col-xxl-auto {
|
3979
|
+
flex: 0 0 auto;
|
3980
|
+
width: auto;
|
3981
|
+
}
|
3982
|
+
.aesirxconsent .col-xxl-1 {
|
3983
|
+
flex: 0 0 auto;
|
3984
|
+
width: 8.33333333%;
|
3985
|
+
}
|
3986
|
+
.aesirxconsent .col-xxl-2 {
|
3987
|
+
flex: 0 0 auto;
|
3988
|
+
width: 16.66666667%;
|
3989
|
+
}
|
3990
|
+
.aesirxconsent .col-xxl-3 {
|
3991
|
+
flex: 0 0 auto;
|
3992
|
+
width: 25%;
|
3993
|
+
}
|
3994
|
+
.aesirxconsent .col-xxl-4 {
|
3995
|
+
flex: 0 0 auto;
|
3996
|
+
width: 33.33333333%;
|
3997
|
+
}
|
3998
|
+
.aesirxconsent .col-xxl-5 {
|
3999
|
+
flex: 0 0 auto;
|
4000
|
+
width: 41.66666667%;
|
4001
|
+
}
|
4002
|
+
.aesirxconsent .col-xxl-6 {
|
4003
|
+
flex: 0 0 auto;
|
4004
|
+
width: 50%;
|
4005
|
+
}
|
4006
|
+
.aesirxconsent .col-xxl-7 {
|
4007
|
+
flex: 0 0 auto;
|
4008
|
+
width: 58.33333333%;
|
4009
|
+
}
|
4010
|
+
.aesirxconsent .col-xxl-8 {
|
4011
|
+
flex: 0 0 auto;
|
4012
|
+
width: 66.66666667%;
|
4013
|
+
}
|
4014
|
+
.aesirxconsent .col-xxl-9 {
|
4015
|
+
flex: 0 0 auto;
|
4016
|
+
width: 75%;
|
4017
|
+
}
|
4018
|
+
.aesirxconsent .col-xxl-10 {
|
4019
|
+
flex: 0 0 auto;
|
4020
|
+
width: 83.33333333%;
|
4021
|
+
}
|
4022
|
+
.aesirxconsent .col-xxl-11 {
|
4023
|
+
flex: 0 0 auto;
|
4024
|
+
width: 91.66666667%;
|
4025
|
+
}
|
4026
|
+
.aesirxconsent .col-xxl-12 {
|
4027
|
+
flex: 0 0 auto;
|
4028
|
+
width: 100%;
|
4029
|
+
}
|
4030
|
+
.aesirxconsent .offset-xxl-0 {
|
2944
4031
|
margin-left: 0;
|
2945
|
-
border-left: 0;
|
2946
4032
|
}
|
2947
|
-
.aesirxconsent .
|
2948
|
-
|
2949
|
-
border-bottom-right-radius: 0;
|
4033
|
+
.aesirxconsent .offset-xxl-1 {
|
4034
|
+
margin-left: 8.33333333%;
|
2950
4035
|
}
|
2951
|
-
.aesirxconsent .
|
2952
|
-
|
2953
|
-
border-top-right-radius: 0;
|
4036
|
+
.aesirxconsent .offset-xxl-2 {
|
4037
|
+
margin-left: 16.66666667%;
|
2954
4038
|
}
|
2955
|
-
.aesirxconsent .
|
2956
|
-
|
2957
|
-
border-bottom-right-radius: 0;
|
4039
|
+
.aesirxconsent .offset-xxl-3 {
|
4040
|
+
margin-left: 25%;
|
2958
4041
|
}
|
2959
|
-
.aesirxconsent .
|
2960
|
-
|
2961
|
-
border-bottom-left-radius: 0;
|
4042
|
+
.aesirxconsent .offset-xxl-4 {
|
4043
|
+
margin-left: 33.33333333%;
|
2962
4044
|
}
|
2963
|
-
.aesirxconsent .
|
2964
|
-
|
2965
|
-
border-top-left-radius: 0;
|
4045
|
+
.aesirxconsent .offset-xxl-5 {
|
4046
|
+
margin-left: 41.66666667%;
|
2966
4047
|
}
|
2967
|
-
.aesirxconsent .
|
2968
|
-
|
2969
|
-
|
4048
|
+
.aesirxconsent .offset-xxl-6 {
|
4049
|
+
margin-left: 50%;
|
4050
|
+
}
|
4051
|
+
.aesirxconsent .offset-xxl-7 {
|
4052
|
+
margin-left: 58.33333333%;
|
4053
|
+
}
|
4054
|
+
.aesirxconsent .offset-xxl-8 {
|
4055
|
+
margin-left: 66.66666667%;
|
4056
|
+
}
|
4057
|
+
.aesirxconsent .offset-xxl-9 {
|
4058
|
+
margin-left: 75%;
|
4059
|
+
}
|
4060
|
+
.aesirxconsent .offset-xxl-10 {
|
4061
|
+
margin-left: 83.33333333%;
|
4062
|
+
}
|
4063
|
+
.aesirxconsent .offset-xxl-11 {
|
4064
|
+
margin-left: 91.66666667%;
|
4065
|
+
}
|
4066
|
+
.aesirxconsent .g-xxl-0,
|
4067
|
+
.aesirxconsent .gx-xxl-0 {
|
4068
|
+
--aesirxconsent-gutter-x: 0;
|
4069
|
+
}
|
4070
|
+
.aesirxconsent .g-xxl-0,
|
4071
|
+
.aesirxconsent .gy-xxl-0 {
|
4072
|
+
--aesirxconsent-gutter-y: 0;
|
4073
|
+
}
|
4074
|
+
.aesirxconsent .g-xxl-1,
|
4075
|
+
.aesirxconsent .gx-xxl-1 {
|
4076
|
+
--aesirxconsent-gutter-x: 4px;
|
4077
|
+
}
|
4078
|
+
.aesirxconsent .g-xxl-1,
|
4079
|
+
.aesirxconsent .gy-xxl-1 {
|
4080
|
+
--aesirxconsent-gutter-y: 4px;
|
4081
|
+
}
|
4082
|
+
.aesirxconsent .g-xxl-2,
|
4083
|
+
.aesirxconsent .gx-xxl-2 {
|
4084
|
+
--aesirxconsent-gutter-x: 8px;
|
4085
|
+
}
|
4086
|
+
.aesirxconsent .g-xxl-2,
|
4087
|
+
.aesirxconsent .gy-xxl-2 {
|
4088
|
+
--aesirxconsent-gutter-y: 8px;
|
4089
|
+
}
|
4090
|
+
.aesirxconsent .g-xxl-3,
|
4091
|
+
.aesirxconsent .gx-xxl-3 {
|
4092
|
+
--aesirxconsent-gutter-x: 16px;
|
4093
|
+
}
|
4094
|
+
.aesirxconsent .g-xxl-3,
|
4095
|
+
.aesirxconsent .gy-xxl-3 {
|
4096
|
+
--aesirxconsent-gutter-y: 16px;
|
4097
|
+
}
|
4098
|
+
.aesirxconsent .g-xxl-4,
|
4099
|
+
.aesirxconsent .gx-xxl-4 {
|
4100
|
+
--aesirxconsent-gutter-x: 24px;
|
4101
|
+
}
|
4102
|
+
.aesirxconsent .g-xxl-4,
|
4103
|
+
.aesirxconsent .gy-xxl-4 {
|
4104
|
+
--aesirxconsent-gutter-y: 24px;
|
4105
|
+
}
|
4106
|
+
.aesirxconsent .g-xxl-5,
|
4107
|
+
.aesirxconsent .gx-xxl-5 {
|
4108
|
+
--aesirxconsent-gutter-x: 48px;
|
4109
|
+
}
|
4110
|
+
.aesirxconsent .g-xxl-5,
|
4111
|
+
.aesirxconsent .gy-xxl-5 {
|
4112
|
+
--aesirxconsent-gutter-y: 48px;
|
2970
4113
|
}
|
2971
4114
|
}
|
2972
4115
|
.aesirxconsent .align-baseline {
|
@@ -3096,13 +4239,13 @@ var css = `:root {
|
|
3096
4239
|
display: none;
|
3097
4240
|
}
|
3098
4241
|
.aesirxconsent .shadow {
|
3099
|
-
box-shadow:
|
4242
|
+
box-shadow: var(--aesirxconsent-box-shadow);
|
3100
4243
|
}
|
3101
4244
|
.aesirxconsent .shadow-sm {
|
3102
|
-
box-shadow:
|
4245
|
+
box-shadow: var(--aesirxconsent-box-shadow-sm);
|
3103
4246
|
}
|
3104
4247
|
.aesirxconsent .shadow-lg {
|
3105
|
-
box-shadow:
|
4248
|
+
box-shadow: var(--aesirxconsent-box-shadow-lg);
|
3106
4249
|
}
|
3107
4250
|
.aesirxconsent .shadow-none {
|
3108
4251
|
box-shadow: none;
|
@@ -8141,6 +9284,9 @@ var css = `:root {
|
|
8141
9284
|
-moz-animation: flash ease-out 5s infinite;
|
8142
9285
|
animation: flash ease-out 5s infinite;
|
8143
9286
|
}
|
9287
|
+
.aesirxconsent .block-wallet {
|
9288
|
+
background-color: var(--aesirxconsent-body-bg);
|
9289
|
+
}
|
8144
9290
|
@-webkit-keyframes flash {
|
8145
9291
|
from {
|
8146
9292
|
opacity: 0;
|
@@ -8182,10 +9328,58 @@ var css = `:root {
|
|
8182
9328
|
}
|
8183
9329
|
}
|
8184
9330
|
|
9331
|
+
body.modal-open .aesirxconsent .offcanvas-backdrop,
|
9332
|
+
body.modal-sso-open .aesirxconsent .offcanvas-backdrop {
|
9333
|
+
z-index: 99;
|
9334
|
+
}
|
9335
|
+
body.modal-open .aesirxconsent .toast-container,
|
9336
|
+
body.modal-sso-open .aesirxconsent .toast-container {
|
9337
|
+
--aesirxconsent-toast-zindex: 100;
|
9338
|
+
}
|
9339
|
+
|
9340
|
+
.aesirxconsent-modal.modal {
|
9341
|
+
position: fixed;
|
9342
|
+
top: 0;
|
9343
|
+
left: 0;
|
9344
|
+
z-index: 1055;
|
9345
|
+
display: none;
|
9346
|
+
width: 100%;
|
9347
|
+
height: 100%;
|
9348
|
+
overflow-x: hidden;
|
9349
|
+
overflow-y: auto;
|
9350
|
+
outline: 0;
|
9351
|
+
}
|
9352
|
+
|
9353
|
+
.modal-backdrop {
|
9354
|
+
--aesirxconsent-backdrop-zindex: 1050;
|
9355
|
+
--aesirxconsent-backdrop-bg: #000;
|
9356
|
+
--aesirxconsent-backdrop-opacity: 0.5;
|
9357
|
+
position: fixed;
|
9358
|
+
top: 0;
|
9359
|
+
left: 0;
|
9360
|
+
z-index: var(--aesirxconsent-backdrop-zindex);
|
9361
|
+
width: 100vw;
|
9362
|
+
height: 100vh;
|
9363
|
+
background-color: var(--aesirxconsent-backdrop-bg);
|
9364
|
+
}
|
9365
|
+
.modal-backdrop.fade {
|
9366
|
+
opacity: 0;
|
9367
|
+
}
|
9368
|
+
.modal-backdrop.show {
|
9369
|
+
opacity: var(--aesirxconsent-backdrop-opacity);
|
9370
|
+
}
|
9371
|
+
|
8185
9372
|
.aesirxsso {
|
8186
9373
|
color: #5f5e70;
|
8187
9374
|
}
|
8188
9375
|
|
9376
|
+
.aesirxconsent .aesirxsso .modal {
|
9377
|
+
--aesirxconsent-modal-width: 846px;
|
9378
|
+
}
|
9379
|
+
.aesirxconsent .aesirxsso .modal .btn-close {
|
9380
|
+
--aesirxconsent-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
|
9381
|
+
}
|
9382
|
+
|
8189
9383
|
[data-bs-theme=dark] .aesirxconsent {
|
8190
9384
|
color: #c8c8db;
|
8191
9385
|
}
|
@@ -8227,8 +9421,8 @@ var bg_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmcAAADSCAYAAAAP
|
|
8227
9421
|
// src/Assets/aesirx.svg
|
8228
9422
|
var aesirx_default = 'data:image/svg+xml,<svg width="83" height="22" viewBox="0 0 83 22" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.16061 8.27141L3.3678 16.0569H9.11771L6.16061 8.27141ZM6.89989 6.42969L12.7319 21.7494H11.2534L9.44627 17.1451H2.95709L1.31426 21.7494H0L5.42134 6.42969H6.89989Z" fill="white"/>%0A<path d="M19.4648 21.7494V6.42969H27.5968V7.43426H20.8612V13.378H25.379V14.3826H20.8612V20.6612H28.0897V21.7494H19.4648Z" fill="white"/>%0A<path d="M34.9104 19.9909C35.4033 20.242 35.9783 20.4095 36.4711 20.5769C37.1283 20.7443 37.8675 20.9117 38.6068 20.9117C39.6747 20.9117 40.6604 20.7443 41.4818 20.1583C42.1389 19.656 42.4675 18.9026 42.4675 18.1492C42.4675 16.3912 41.0711 15.1354 38.3604 14.382C35.6497 13.6286 34.2533 12.1217 34.3355 9.77772C34.3355 8.68943 34.8283 7.76857 35.6497 7.09885C36.6354 6.34542 37.7854 5.92685 39.0175 6.01056C39.7568 6.01056 40.4139 6.09428 41.0711 6.26171C41.646 6.42914 42.221 6.59656 42.7139 6.84771L42.221 7.936C41.8103 7.76857 41.3996 7.60114 40.9068 7.43371C40.3318 7.26628 39.6747 7.18257 39.0175 7.18257C38.114 7.18257 37.2925 7.35 36.5533 7.85228C36.0604 8.18714 35.7319 9.02429 35.7319 9.77772C35.7319 11.5357 37.1283 12.8752 39.8389 13.6286C42.5496 14.382 43.946 15.8889 43.8639 18.1492C43.8639 19.2375 43.4532 20.242 42.4675 20.9117C41.3175 21.7489 40.1675 22 38.8532 22C38.114 22 37.1283 21.9163 36.389 21.7489C35.814 21.5815 35.1569 21.3303 34.664 20.9955L34.9104 19.9909Z" fill="white"/>%0A<path d="M53.0644 6.42969H51.668V21.7494H53.0644V6.42969Z" fill="white"/>%0A<path d="M71.0549 21.6657L67.5228 15.136C67.5228 15.136 66.7835 15.2197 65.7978 15.2197H63.58V21.582H62.1836V6.42969H66.0442C67.3585 6.42969 68.7549 6.68083 69.9049 7.43426C70.9727 8.18769 71.5477 9.44341 71.4656 10.7828C71.4656 11.7037 71.2192 12.5408 70.7263 13.2943C70.2335 13.964 69.5763 14.55 68.7549 14.8011L72.6156 21.6657H71.0549ZM66.0442 7.60169H63.4979V14.0477H65.7978C67.1121 14.0477 68.0156 13.7966 68.7549 13.378C69.6585 12.8757 70.0692 12.0386 70.0692 10.7828C70.0692 9.52712 69.8228 8.60627 69.0013 8.18769C68.0156 7.76912 67.2764 7.60169 66.0442 7.60169Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M77.3984 15.5025V0H78.7885V15.5025H77.3984Z" fill="white"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M81.9532 12.5256L73.6562 3.74439L74.6575 2.76172L82.9545 11.5429L81.9532 12.5256Z" fill="white"/>%0A</svg>%0A';
|
8229
9423
|
|
8230
|
-
// src/Assets/
|
8231
|
-
var
|
9424
|
+
// src/Assets/shield_of_privacy.png
|
9425
|
+
var shield_of_privacy_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOsAAAAYCAYAAAAbDApiAAAIGElEQVR4Ae1a4XXbOAxG+u5/fRNEnaDuBJYnqDOBnQnqTOB0AqcT2J0gvgnkTpB0AqsTOJ0AR5hADdOgRDm61Lnqe49PNgmAIEgAJCWADpVAxIkrG+jQ4TfjDXTo0OFVoHNWAy6TZlSgQ4czQuesNuauFJ3DdjgndM5q45qfhSuX0KHDGeDCquSM8nRxcfEEiajLQk5WWcPfc48ReOegfr87njXU99tj+U8JdD1VVTk+Hg85Kz1LR/sOEsG8Of8trXEofZLs7Oin7jFw5abOlhU6QSpvU/qGuvTdY+YKPUtXrmP9VKyrRutTyaJdE62tW3jt4PMaoWjIR9vGLd2cGqWo4Z0yL8lYuHIvfOKMFbyzFF1Zbogt95VFeDLWY1unB9P3WecQJGNs6E1YJMjNlKxPcAKUXoNE+g3Tt7qz4LFs9RxAmh4WCmxwVHG0c2GEV4i/jLqP4DNbTgu0YfRaOfrrBvS7VyPuQQvwQxhdafE3jZ41WGr90Ed4Kg/u91WYAUkfV//Z/SSHooUxjOmD+0xMTr3mAiyfdgxLR/PT8a+gIViPW/BZ/h943aCgtbORG9cwJQgyyG5ie+Ihu+bg5+5D4g7gC3gbruH/AMkCHP1mDfiKlCzRFp/in2F6Zl1UyHiItE1wv2N4iC0u3GfuRUQ+6j6wQWZtA3g+mVXGnbS2lB6DoL7H80GYwx+AgwsmzjSZK99cuXNlAi+DNrPnKfgOPlLHQPoNwUf0+wiN8C+NNorot+CzwxHQbw3n7FBUxgbNnANCL6inRXuLfjtf8HMMiVD80vcUTgAHtXs9Bq0r90OBacRVIx7PSdt63uHciCzVzy3LJZtORR9uy3WfTLPAeBAXm/dVXThXUXsbc3M0t6wj9ZEb/KLvzBK+UAPrcdTKIQF4emalgVPmyuAEYDuZlYyCkTZahBv+LWfYuUFXYIMoj/sMU6B9LlsE9EJzqeoyVb8N5NxG9BtE+EXGbgzYILPi4Tl9E/zOVF8W6u4zNqHeqq0vQgxdFloPbpvoPtGvcRlzHsjW+va4bqTo6+ydGbYQ3Cu6mdYpkLHgtuOAhsFFCDZwQDzdWWVQVDJoCGzHWRcxGRh8bsgLJDPo8mBixqgickRvwVwtiKmq1xF9w3XaWR8Mfr1IckVbcN3AqCsi/Af9RcZxp8acKRn3Ijsy7mdtg7lNnO/BGBPhE3qHvAzoC0U/t/RhXsLC0GWm6mis4sB6J7EQ3SK2lewuSfHoElPJzcKB02LbWnWYdhNasCILVVKzTKYGR3LGmOi42MxZ77kvKTnub7GzCN+Bs9b0McLjLCk2yQy9Ee2IWnCbDpwiVxaeBIeNwZ+HsjFwVlRZydBNB546Z91GZOis1TfG/dwza4628xRcZ+1+LGc17Yj7QBj22zfkPgS2zWpsW0R0zlXdKNRV3wbTwjg4U9HtKPodBrV9gXqUcHhm+5nAI+/yrtHfvObgz8pL+t/y+7ARqPMN+LMoldTbxErwTe+KJ436ycGfZSfgb9fpxvkxYCsNUSXU4z0/H9HfqGtIcM0q+KVtHY6d5/0JDt9LH4EXF9E8GjKeXPsavB1I10d4HlasE3CfohvJtdZmUn881tL93AVv/p8BvwN2/78F9GRv6jtnHd7D8X2H/DdtC8e30SuWN1ZtH/m5FKKds3LnE1emeHxGJWYyeJKzhoNrAh7YEryjTt1z5p5vXf0NtIPw1Q2Ni7Y5VRdca2i40NgG37iPDPyLeOqLzirJH1fUQBZrGIA0MqjnLyPttc4a0FbVZ/B8PAW/aU7Wrnxp4fXeEvwF4IBliqOsNRH7BmXEPNAltJUE0hLS8JX7p2x6w+OROf3lT5JZR9xhbOJziTrwQnB90VnoLfgA8rnl963SB0VrOjvQBNxEaEp4Bpj/Cv0Rg6L3pav7Ae1hCfYNdCp6DetPkdHG3E2ekwhqIM4ycYV2d+IDvxIU7t+jE5bgsyHtKH7wVjVX8hrNL+9CHllGH/dfty31+hNnHXODuWDRH+Ap2qzhZSFGJKdt3VkZNDmFG+NXY4uaBJ5IOvOQju9qAsvf0HAyI5CFm1mLGOs/aCn5mYe0fC5LcVaxVz/SXz+gO0vwRydr8LYgX8jB7xK13jk/rQ9/QluV/NSZcgdeK2OW/1XxyBFwrOpWWugb3H/HWrXNJaYJpn9t0hZkspPOvqdAnSFOfrHO0Y8K2WeuLxXQX7Qsua08NSAYIDm0CHIM3o2if41AlzuLCp3XSmd92bEbAySAF+Ga/84NHTJ45tHoBSGOIba8i9CFN7YTCM6sak3FbHsb4ZHdbQ7ebgdfq73hhnXNdk8ceQAtA/2t5Mioz8EP7O6/2AIHoEiZY+I75QiuwBt74sqGbwhpR0IZd6zaWgHb5Ir/ykv6Bfc54/4+14iRDEFHjQ1v50jfDNLPW9dMO2EZ94EOQ3gdoCxH+ooThZ91rmAfHMXWZC8KiKUh74bpQ9uOmN5KjkvwDp6BsYslZ/0ENWceFUGnUI0JxjGO8Oyij1xTc6FB0WXMXYuXS3IRcAQOVBRJG78nVjIo030Ab0uZdJl4qhsGGYZoSrB1stpKCBYFR2O6sKJnDj4YZPx/GATgGP+Q6TOW8ch1R/QWuA+iX4Kfy5HSwbplrxq3hRLSA4emt+RvY21qjVP7yrrdBj+/RJODt3WPfwufptfrQegItM6GkeSoA8QSzhW8XRxw6UOHDn8YsOLdeYcOHc4AnKh6aHwM06FDhzMCHn9DbF7k/gUdOnT4bWDHLLmsoeIjj38B2QRcCRmNKe8AAAAASUVORK5CYII=";
|
8232
9426
|
|
8233
9427
|
// src/Assets/concordium.svg
|
8234
9428
|
var concordium_default = 'data:image/svg+xml,<svg width="110" height="22" viewBox="0 0 110 22" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M84.7849 8.09678C84.7727 8.09678 84.7645 8.09678 84.7523 8.09678H82.9869C82.9869 8.09678 82.9747 8.10902 82.9747 8.1294V12.8874C82.9747 12.8996 82.9869 12.9159 82.9951 12.92H84.7564C85.7675 12.9281 86.4565 12.7324 86.8724 12.3166C87.2475 11.9374 87.431 11.3462 87.431 10.5063C87.431 9.6787 87.2516 9.09159 86.8765 8.7165C86.4647 8.30064 85.7797 8.09678 84.7849 8.09678ZM84.8135 14.1553C84.789 14.1553 84.7686 14.1553 84.7442 14.1553H82.9828C82.2979 14.1553 81.7393 13.5886 81.7393 12.8874V8.1294C81.7393 7.43222 82.2979 6.86142 82.9828 6.86142H84.7442C86.0692 6.84104 87.0844 7.17128 87.7367 7.8277C88.3442 8.43926 88.6541 9.3403 88.6541 10.5023C88.6541 11.6642 88.3483 12.5612 87.7408 13.1768C87.0926 13.8373 86.1344 14.1553 84.8135 14.1553ZM34.6326 14.192C32.2964 14.192 30.7227 12.708 30.7227 10.5023C30.7227 8.32918 32.329 6.8125 34.6326 6.8125C35.766 6.8125 36.7364 7.1509 37.4376 7.791C37.5599 7.90108 37.6293 8.05194 37.6415 8.2191C37.6496 8.38626 37.5966 8.54526 37.4866 8.67165C37.3765 8.79397 37.2256 8.86735 37.0625 8.87959C36.8954 8.89182 36.7364 8.83474 36.6141 8.72058C36.1452 8.29248 35.4602 8.06417 34.6367 8.06417C32.961 8.06417 31.9621 8.97336 31.9621 10.4982C31.9621 12.023 32.961 12.9322 34.6367 12.9322C35.4643 12.9322 36.1493 12.7039 36.6141 12.2758C36.7364 12.1657 36.8954 12.1086 37.0625 12.1168C37.2256 12.129 37.3765 12.1983 37.4866 12.3247C37.7108 12.5816 37.6904 12.973 37.4376 13.2054C36.7445 13.8536 35.7742 14.192 34.6326 14.192ZM42.8031 8.06824C41.1274 8.06824 40.1285 8.97744 40.1285 10.5023C40.1285 12.0312 41.1274 12.9444 42.8031 12.9444C44.4788 12.9444 45.4777 12.0312 45.4777 10.5023C45.4777 8.98151 44.4788 8.06824 42.8031 8.06824ZM42.8031 14.192C40.4669 14.192 38.8932 12.708 38.8932 10.5023C38.8932 8.32918 40.4995 6.8125 42.8031 6.8125C45.1393 6.8125 46.7089 8.29249 46.7089 10.5023C46.7089 12.7121 45.1393 14.192 42.8031 14.192ZM53.8439 14.192C53.4035 14.192 53.004 13.9637 52.7757 13.5805L49.5425 8.09271C49.5303 8.0764 49.5221 8.07232 49.5181 8.07232L49.5058 13.5723C49.5058 13.9148 49.2327 14.1961 48.8943 14.1961C48.5518 14.1961 48.2745 13.9148 48.2745 13.5723V8.08455C48.2745 7.38737 48.8331 6.81658 49.5181 6.81658C49.9584 6.81658 50.3579 7.05305 50.5944 7.44853L53.8275 12.9363C53.8316 12.9445 53.8398 12.9485 53.8439 12.9485C53.8561 12.9485 53.8642 12.9404 53.8642 12.9241V7.44853C53.8642 7.09382 54.1333 6.81658 54.4758 6.81658C54.8224 6.81658 55.0955 7.09382 55.0955 7.44853V12.9281C55.0955 13.6253 54.537 14.192 53.8439 14.192ZM60.514 14.192C58.1778 14.192 56.6041 12.708 56.6041 10.5023C56.6041 8.32918 58.2104 6.8125 60.514 6.8125C61.6474 6.8125 62.6178 7.1509 63.319 7.791C63.4413 7.90108 63.5147 8.05194 63.5229 8.2191C63.531 8.38626 63.478 8.54526 63.3679 8.67165C63.2579 8.79397 63.107 8.86735 62.9439 8.87959C62.7768 8.89182 62.6178 8.83474 62.4955 8.72058C62.0266 8.29248 61.3416 8.06417 60.5181 8.06417C58.8424 8.06417 57.8435 8.97336 57.8435 10.4982C57.8435 12.023 58.8424 12.9322 60.5181 12.9322C61.3457 12.9322 62.0266 12.7039 62.4955 12.2758C62.6178 12.1657 62.7768 12.1086 62.9439 12.1168C63.107 12.129 63.2579 12.1983 63.3679 12.3247C63.5922 12.5816 63.5718 12.973 63.319 13.2054C62.63 13.8536 61.6596 14.192 60.514 14.192ZM68.6845 8.06824C67.0088 8.06824 66.0099 8.97744 66.0099 10.5023C66.0099 12.0312 67.0088 12.9444 68.6845 12.9444C70.3602 12.9444 71.3631 12.0312 71.3631 10.5023C71.3631 8.98151 70.3602 8.06824 68.6845 8.06824ZM68.6845 14.192C66.3483 14.192 64.7786 12.708 64.7786 10.5023C64.7786 8.32918 66.385 6.8125 68.6845 6.8125C71.0247 6.8125 72.5944 8.29249 72.5944 10.5023C72.5944 12.7121 71.0247 14.192 68.6845 14.192ZM90.9169 14.192C90.5785 14.192 90.3053 13.9107 90.3053 13.5682V7.44853C90.3053 7.10197 90.5785 6.81658 90.9169 6.81658C91.2593 6.81658 91.5366 7.0979 91.5366 7.44853V13.5723C91.5366 13.9148 91.2593 14.192 90.9169 14.192ZM108.95 14.192C108.607 14.192 108.33 13.9107 108.33 13.5682V8.08455C108.314 8.07232 108.306 8.0764 108.298 8.08455L106.83 10.5063C106.61 10.8896 106.206 11.1261 105.753 11.1261C105.317 11.1261 104.926 10.9018 104.685 10.5063L103.226 8.09271C103.217 8.0764 103.201 8.06824 103.197 8.06824L103.185 13.5682C103.185 13.9107 102.908 14.192 102.565 14.192C102.227 14.192 101.954 13.9107 101.954 13.5682V8.08455C101.954 7.38737 102.512 6.81658 103.197 6.81658C103.629 6.81658 104.033 7.04897 104.273 7.44445L105.733 9.85809C105.745 9.87847 105.753 9.88255 105.757 9.88663C105.749 9.88255 105.77 9.86624 105.778 9.85401L107.233 7.44853C107.478 7.04897 107.869 6.82065 108.31 6.82065C108.995 6.82065 109.553 7.38737 109.553 8.08863V13.5723C109.561 13.9148 109.288 14.192 108.95 14.192ZM96.7634 14.192C95.6952 14.192 94.8594 13.8944 94.2805 13.3114C93.6934 12.7161 93.3957 11.8477 93.3957 10.7306V7.44037C93.3957 7.0979 93.6648 6.82065 93.9992 6.82065C94.3416 6.82065 94.6189 7.0979 94.6189 7.44037V10.7306C94.6189 12.2677 95.2875 12.9485 96.7879 12.9485C98.3086 12.9485 98.961 12.284 98.9691 10.7265V7.44037C98.9691 7.0979 99.2423 6.82065 99.5807 6.82065C99.9191 6.82065 100.192 7.0979 100.192 7.44037V10.7306C100.192 12.9648 98.9854 14.1961 96.7879 14.1961C96.7797 14.192 96.7716 14.192 96.7634 14.192ZM79.5744 14.1961C79.4072 14.1961 79.2442 14.1309 79.13 14.0045L76.1252 10.9426C75.9458 10.7591 75.8969 10.49 75.9988 10.2576C76.1007 10.0253 76.3127 9.88255 76.5573 9.88255H77.8335C78.3839 9.88255 78.865 9.45853 78.865 8.97336C78.865 8.50449 78.3757 8.09271 77.8212 8.09271H75.3954C75.3995 8.09271 75.3831 8.11309 75.3831 8.13348V13.5723C75.3831 13.9148 75.1059 14.1961 74.7634 14.1961C74.425 14.1961 74.1519 13.9148 74.1519 13.5723V8.1294C74.1519 7.43222 74.7104 6.86142 75.3954 6.86142H77.8212C79.0688 6.86142 80.084 7.80731 80.084 8.96928C80.084 10.0742 79.1626 11.016 78.0251 11.1138L79.9943 13.1279C80.1248 13.2502 80.1982 13.4215 80.19 13.6049C80.186 13.7721 80.1085 13.9311 79.978 14.0412C79.868 14.1472 79.7212 14.1961 79.5744 14.1961Z" fill="%23FBFBF9"/>%0A<path d="M3.34322 11.0041C3.34322 15.2239 6.75575 18.6486 10.9633 18.6486C12.0927 18.6486 13.1609 18.3959 14.1271 17.9514V21.5352C13.1242 21.8369 12.0641 22 10.9674 22C4.90882 22 0 17.0749 0 11C0 4.92513 4.9129 0 10.9674 0C12.0682 0 13.1282 0.163084 14.1271 0.464789V4.04855C13.1609 3.60823 12.0927 3.35137 10.9633 3.35137C6.75575 3.35952 3.34322 6.78429 3.34322 11.0041ZM10.9674 15.6642C8.39881 15.6642 6.3195 13.5767 6.3195 11.0041C6.3195 8.43143 8.39881 6.34396 10.9674 6.34396C13.536 6.34396 15.6153 8.43143 15.6153 11.0041C15.6153 13.5767 13.5319 15.6642 10.9674 15.6642ZM20.9033 15.6642H16.9974C17.9881 14.3758 18.5875 12.7613 18.5875 11.0082C18.5875 9.25093 17.9881 7.6364 16.9974 6.34396H20.9033C21.5638 7.75871 21.9388 9.34062 21.9388 11.0082C21.9348 12.6716 21.5638 14.2494 20.9033 15.6642Z" fill="%23FBFBF9"/>%0A</svg>%0A';
|
@@ -8264,7 +9458,7 @@ var terms = [
|
|
8264
9458
|
term: "txt_tier_2_term",
|
8265
9459
|
upgrade: "txt_tier_2_upgrade",
|
8266
9460
|
upgradetext: "txt_tier_2_upgradetext",
|
8267
|
-
logos: [
|
9461
|
+
logos: [shield_of_privacy_default]
|
8268
9462
|
},
|
8269
9463
|
{
|
8270
9464
|
level: 3,
|
@@ -8275,7 +9469,7 @@ var terms = [
|
|
8275
9469
|
term: "txt_tier_3_term",
|
8276
9470
|
upgrade: "txt_tier_3_upgrade",
|
8277
9471
|
upgradetext: "txt_tier_3_upgradetext",
|
8278
|
-
logos: [
|
9472
|
+
logos: [shield_of_privacy_default]
|
8279
9473
|
},
|
8280
9474
|
{
|
8281
9475
|
level: 4,
|
@@ -8285,7 +9479,7 @@ var terms = [
|
|
8285
9479
|
content: "txt_tier_4_content",
|
8286
9480
|
term: "txt_tier_4_term",
|
8287
9481
|
upgradetext: "txt_tier_4_upgradetext",
|
8288
|
-
logos: [
|
9482
|
+
logos: [shield_of_privacy_default, concordium_default]
|
8289
9483
|
}
|
8290
9484
|
];
|
8291
9485
|
var TermsComponent = ({ children, level, handleLevel }) => {
|
@@ -8340,7 +9534,8 @@ import {
|
|
8340
9534
|
MAINNET as MAINNET2,
|
8341
9535
|
WithWalletConnector,
|
8342
9536
|
useConnection as useConnection2,
|
8343
|
-
useConnect as useConnect2
|
9537
|
+
useConnect as useConnect2,
|
9538
|
+
stringMessage as stringMessage2
|
8344
9539
|
} from "@concordium/react-components";
|
8345
9540
|
import { OsTypes, isMobile as isMobile2, osName } from "react-device-detect";
|
8346
9541
|
|
@@ -8401,14 +9596,50 @@ var LoadingStatus = ({ loading }) => {
|
|
8401
9596
|
};
|
8402
9597
|
|
8403
9598
|
// src/Components/Connect.tsx
|
8404
|
-
import
|
9599
|
+
import React4, { Suspense, useState as useState4 } from "react";
|
8405
9600
|
import { Modal } from "react-bootstrap";
|
8406
9601
|
import { isMobile, isDesktop as isDesktop2 } from "react-device-detect";
|
8407
9602
|
|
8408
9603
|
// src/Assets/concordium_logo.png
|
8409
9604
|
var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF5SURBVHgBrVXtcYMwDJVz/I83qDdoOkHpBtkARmgmgE5QNkg2aDtB2IBkgtIJSCdwpdrcCUcGUvruFDv6eEiyMApGYK3VuGxQUpQ7r/5GaVA+lFIXuAVEiFKgdDaOdIwjEUgp4A1FwwIkAWmGy0Hwa1FqvzfgWjMPSLoRyt2TXvDVvv+ziD8D0hwWIPGkObgSe+zwxA/soZTdFmWNckZbHSQ1iEd7KWW7D4IKoUXkb5hPejUxQm/TCVJOrpnvkdkqUmyZouPl22mUzL9i+mYF7s3qcWL7q2kQEIvVq8BRR/YxrGMGIm4jZDVM48z2hu0vIbGx/oXwF8w7xEH2iv1/ZPuv3187vGxee6s/wEY4tC6YHhPYM+UNJS4Fe+IDZnxigTm4g1r7bCp+ZaL9GZd7Fr/jmXXBjBr4D9BThXIz+CNUQF7CsCWEFtyEUGvo60EtobJfwjtjFERu5yGFW+FP+biEOJGUWGKLy5N1M52DK117oWmgtrQwgh9inye0Cp+8ygAAAABJRU5ErkJggg==";
|
8410
9605
|
|
9606
|
+
// src/Components/Ethereum/connect.tsx
|
9607
|
+
import { useWeb3Modal } from "@web3modal/react";
|
9608
|
+
import React3, { useState as useState3 } from "react";
|
9609
|
+
|
9610
|
+
// src/Assets/ethereum_logo.png
|
9611
|
+
var ethereum_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAhCAYAAAA2/OAtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAI/SURBVHgBxVY9SEJRFD6vokgIAqea3uTUIDS5Ra4GtbiqY1POLRkEDSHmFE3RFi4NOrXkFARGDkLkotEQ/QiBYBSFfUfPq+fzvvd8JvTBx33v3nM+z73n3PMkGhDtdjtKowQE42AJDNIoACEdrIloBvS5+YyROzZAXZ5ZMOLm4CjKUWJIWqbDmA/QsKLAuc38Cg0jysmh321bEcB6mLyIyra3yBkRu6TZRZoi+ygNsGB0IFH8+iqGGA2GkCppqkgz5A1xR1H8Kp+jTt7gh19P7WomQR1DTeH0IPMn4Au4CM5YbFrgjqZpDX6ZMC2kFGIlGRnvYFWogwvgvKxx0uJg+kdUajImjnfgrUlMhbpwRiLnZHHtBhBtVcPDLCYuwSZYEWEVroQqGOKTYJYjnQPz1H9OXsABFcFPcHoM4d7gYRe8oL/hCaxwsjTJOuGljmc/dW+JqhnbbZ+jrMP/Q/x9nZLCyz4PYFbEQ9TtRH4H0U5SYd+UHhCR4HKGKCfrWoxTWDiWeTbkbuQzifK5PYOPsPuSbsV2b9St1Za5+IMm4TqYgEFRtsROU+AZeC9iAdmNcfc3jeLvAQyT7V4cGWeOcVxGvpbr4KGJ6mtqEuZuv2SZToF7chTLchwGyojwwE1Up+5nRLcsqbLP201bt93X+jj7GBI0GHKqc1R2fk4Qhiw5Iw+7smrB9sMHB/40l22WG1gv2Pm6faLXwFfLHPfOtJOTo6ic77ZluqCsR69ARZzKf6k4jQp8jaXI/fRf+AaHjRu6xDEXQwAAAABJRU5ErkJggg==";
|
9612
|
+
|
9613
|
+
// src/Components/Ethereum/connect.tsx
|
9614
|
+
var ConnectMetamask = () => {
|
9615
|
+
const [loading, setLoading] = useState3(false);
|
9616
|
+
const { open } = useWeb3Modal();
|
9617
|
+
async function onOpen() {
|
9618
|
+
setLoading(true);
|
9619
|
+
await open();
|
9620
|
+
setLoading(false);
|
9621
|
+
}
|
9622
|
+
return /* @__PURE__ */ React3.createElement(
|
9623
|
+
"button",
|
9624
|
+
{
|
9625
|
+
onClick: onOpen,
|
9626
|
+
disabled: loading,
|
9627
|
+
className: "btn btn-ethereum fw-medium px-4 fs-18 lh-sm w-100 btn-secondary text-white d-flex align-items-center justify-content-start"
|
9628
|
+
},
|
9629
|
+
loading ? /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(
|
9630
|
+
"span",
|
9631
|
+
{
|
9632
|
+
className: "spinner-border spinner-border-sm me-1",
|
9633
|
+
role: "status",
|
9634
|
+
"aria-hidden": "true"
|
9635
|
+
}
|
9636
|
+
), "Waiting for signing...") : /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("img", { className: "me-3", src: ethereum_logo_default, alt: "Ethereum Logo" }), "Ethereum wallets")
|
9637
|
+
);
|
9638
|
+
};
|
9639
|
+
var connect_default = ConnectMetamask;
|
9640
|
+
|
8411
9641
|
// src/Components/Connect.tsx
|
9642
|
+
import { useAccount as useAccount2 } from "wagmi";
|
8412
9643
|
var ConnectModal = ({
|
8413
9644
|
isConnecting,
|
8414
9645
|
handleOnConnect,
|
@@ -8416,63 +9647,210 @@ var ConnectModal = ({
|
|
8416
9647
|
activeConnectorType,
|
8417
9648
|
activeConnector
|
8418
9649
|
}) => {
|
8419
|
-
const [show, setShow] =
|
9650
|
+
const [show, setShow] = useState4(true);
|
8420
9651
|
const handleClose = () => setShow(false);
|
8421
9652
|
const { t } = useTranslation();
|
8422
|
-
return /* @__PURE__ */
|
8423
|
-
|
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",
|
9653
|
+
return /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
|
9654
|
+
Modal,
|
8446
9655
|
{
|
8447
|
-
className: "
|
8448
|
-
|
9656
|
+
className: "aesirxconsent aesirxconsent-modal",
|
9657
|
+
show,
|
9658
|
+
onHide: handleClose,
|
9659
|
+
centered: true
|
8449
9660
|
},
|
8450
|
-
|
8451
|
-
"
|
9661
|
+
/* @__PURE__ */ React4.createElement(Modal.Body, { className: "aesirxconsent" }, /* @__PURE__ */ React4.createElement("div", { className: "p-4 block-wallet rounded-top" }, /* @__PURE__ */ React4.createElement("div", { className: "px-3 text-center" }, /* @__PURE__ */ React4.createElement("h3", { className: "fs-3 fw-semibold mt-2 mb-4 text-primary" }, t("txt_please_connect_your_wallet")), /* @__PURE__ */ React4.createElement("div", { className: "mb-3" }, /* @__PURE__ */ React4.createElement(Suspense, { fallback: /* @__PURE__ */ React4.createElement(React4.Fragment, null, "Loading...") }, /* @__PURE__ */ React4.createElement(SSOEthereumApp, { handleOnConnect }))), /* @__PURE__ */ React4.createElement("div", { className: "d-flex flex-row flex-wrap" }, isDesktop2 && /* @__PURE__ */ React4.createElement(
|
9662
|
+
"button",
|
8452
9663
|
{
|
8453
|
-
|
8454
|
-
|
8455
|
-
|
8456
|
-
}
|
8457
|
-
|
8458
|
-
|
9664
|
+
disabled: isConnecting,
|
9665
|
+
className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start mb-3",
|
9666
|
+
onClick: () => handleOnConnect(BROWSER_WALLET)
|
9667
|
+
},
|
9668
|
+
isConnecting ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
|
9669
|
+
"span",
|
9670
|
+
{
|
9671
|
+
className: "spinner-border spinner-border-sm me-1",
|
9672
|
+
role: "status",
|
9673
|
+
"aria-hidden": "true"
|
9674
|
+
}
|
9675
|
+
), t("txt_connecting")) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
|
9676
|
+
"img",
|
9677
|
+
{
|
9678
|
+
src: concordium_logo_default,
|
9679
|
+
className: "me-3 align-text-bottom",
|
9680
|
+
alt: "Concordium"
|
9681
|
+
}
|
9682
|
+
), "Concordium Browser Wallet")
|
9683
|
+
), /* @__PURE__ */ React4.createElement(
|
9684
|
+
"button",
|
8459
9685
|
{
|
8460
|
-
|
8461
|
-
|
8462
|
-
|
8463
|
-
|
8464
|
-
|
8465
|
-
|
9686
|
+
className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start text-start",
|
9687
|
+
onClick: () => handleOnConnect(WALLET_CONNECT)
|
9688
|
+
},
|
9689
|
+
!activeConnectorError && activeConnectorType && !activeConnector ? /* @__PURE__ */ React4.createElement(
|
9690
|
+
"span",
|
9691
|
+
{
|
9692
|
+
className: "spinner-border spinner-border-sm me-1",
|
9693
|
+
role: "status",
|
9694
|
+
"aria-hidden": "true"
|
9695
|
+
}
|
9696
|
+
) : /* @__PURE__ */ React4.createElement(React4.Fragment, null, " ", /* @__PURE__ */ React4.createElement(
|
9697
|
+
"img",
|
9698
|
+
{
|
9699
|
+
src: concordium_logo_default,
|
9700
|
+
className: "me-3 align-text-bottom",
|
9701
|
+
alt: "Concordium"
|
9702
|
+
}
|
9703
|
+
), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
|
9704
|
+
)), " ")))
|
9705
|
+
));
|
9706
|
+
};
|
9707
|
+
var SSOEthereumApp = ({ handleOnConnect }) => {
|
9708
|
+
const { isConnected } = useAccount2({
|
9709
|
+
onConnect() {
|
9710
|
+
handleOnConnect("", "metamask");
|
9711
|
+
}
|
9712
|
+
});
|
9713
|
+
return isConnected ? /* @__PURE__ */ React4.createElement(React4.Fragment, null) : /* @__PURE__ */ React4.createElement(connect_default, null);
|
8466
9714
|
};
|
8467
9715
|
var Connect_default = ConnectModal;
|
8468
9716
|
|
8469
9717
|
// src/Components/Consent.tsx
|
8470
|
-
|
8471
|
-
|
9718
|
+
import { useAccount as useAccount3, useSignMessage } from "wagmi";
|
9719
|
+
|
9720
|
+
// src/Components/Ethereum/index.tsx
|
9721
|
+
import React5 from "react";
|
9722
|
+
import { configureChains, createConfig, WagmiConfig } from "wagmi";
|
9723
|
+
import { EthereumClient, w3mConnectors, w3mProvider } from "@web3modal/ethereum";
|
9724
|
+
import {
|
9725
|
+
arbitrum,
|
9726
|
+
arbitrumGoerli,
|
9727
|
+
aurora,
|
9728
|
+
auroraTestnet,
|
9729
|
+
avalanche,
|
9730
|
+
avalancheFuji,
|
9731
|
+
baseGoerli,
|
9732
|
+
bronos,
|
9733
|
+
bronosTestnet,
|
9734
|
+
bsc,
|
9735
|
+
bscTestnet,
|
9736
|
+
canto,
|
9737
|
+
celo,
|
9738
|
+
celoAlfajores,
|
9739
|
+
crossbell,
|
9740
|
+
evmos,
|
9741
|
+
evmosTestnet,
|
9742
|
+
fantom,
|
9743
|
+
fantomTestnet,
|
9744
|
+
filecoin,
|
9745
|
+
filecoinCalibration,
|
9746
|
+
filecoinHyperspace,
|
9747
|
+
foundry,
|
9748
|
+
gnosis,
|
9749
|
+
gnosisChiado,
|
9750
|
+
goerli,
|
9751
|
+
hardhat,
|
9752
|
+
harmonyOne,
|
9753
|
+
iotex,
|
9754
|
+
iotexTestnet,
|
9755
|
+
localhost,
|
9756
|
+
mainnet,
|
9757
|
+
metis,
|
9758
|
+
metisGoerli,
|
9759
|
+
moonbaseAlpha,
|
9760
|
+
moonbeam,
|
9761
|
+
moonriver,
|
9762
|
+
okc,
|
9763
|
+
optimism,
|
9764
|
+
optimismGoerli,
|
9765
|
+
polygon,
|
9766
|
+
polygonMumbai,
|
9767
|
+
polygonZkEvmTestnet,
|
9768
|
+
sepolia,
|
9769
|
+
taraxa,
|
9770
|
+
taraxaTestnet,
|
9771
|
+
telos,
|
9772
|
+
telosTestnet,
|
9773
|
+
zkSync,
|
9774
|
+
zkSyncTestnet
|
9775
|
+
} from "wagmi/chains";
|
9776
|
+
import { Web3Modal } from "@web3modal/react";
|
9777
|
+
import { CONCORDIUM_WALLET_CONNECT_PROJECT_ID as CONCORDIUM_WALLET_CONNECT_PROJECT_ID2 } from "@concordium/react-components";
|
9778
|
+
var chains = [
|
9779
|
+
arbitrum,
|
9780
|
+
arbitrumGoerli,
|
9781
|
+
aurora,
|
9782
|
+
auroraTestnet,
|
9783
|
+
avalanche,
|
9784
|
+
avalancheFuji,
|
9785
|
+
baseGoerli,
|
9786
|
+
bronos,
|
9787
|
+
bronosTestnet,
|
9788
|
+
bsc,
|
9789
|
+
bscTestnet,
|
9790
|
+
canto,
|
9791
|
+
celo,
|
9792
|
+
celoAlfajores,
|
9793
|
+
crossbell,
|
9794
|
+
evmos,
|
9795
|
+
evmosTestnet,
|
9796
|
+
fantom,
|
9797
|
+
fantomTestnet,
|
9798
|
+
filecoin,
|
9799
|
+
filecoinCalibration,
|
9800
|
+
filecoinHyperspace,
|
9801
|
+
foundry,
|
9802
|
+
gnosis,
|
9803
|
+
gnosisChiado,
|
9804
|
+
goerli,
|
9805
|
+
hardhat,
|
9806
|
+
harmonyOne,
|
9807
|
+
iotex,
|
9808
|
+
iotexTestnet,
|
9809
|
+
localhost,
|
9810
|
+
mainnet,
|
9811
|
+
metis,
|
9812
|
+
metisGoerli,
|
9813
|
+
moonbaseAlpha,
|
9814
|
+
moonbeam,
|
9815
|
+
moonriver,
|
9816
|
+
okc,
|
9817
|
+
optimism,
|
9818
|
+
optimismGoerli,
|
9819
|
+
polygon,
|
9820
|
+
polygonMumbai,
|
9821
|
+
polygonZkEvmTestnet,
|
9822
|
+
sepolia,
|
9823
|
+
taraxa,
|
9824
|
+
taraxaTestnet,
|
9825
|
+
telos,
|
9826
|
+
telosTestnet,
|
9827
|
+
zkSync,
|
9828
|
+
zkSyncTestnet
|
9829
|
+
];
|
9830
|
+
var projectId = CONCORDIUM_WALLET_CONNECT_PROJECT_ID2;
|
9831
|
+
var { publicClient, webSocketPublicClient } = configureChains(chains, [
|
9832
|
+
w3mProvider({ projectId })
|
9833
|
+
]);
|
9834
|
+
var wagmiConfig = createConfig({
|
9835
|
+
autoConnect: true,
|
9836
|
+
connectors: w3mConnectors({ projectId, chains }),
|
9837
|
+
publicClient,
|
9838
|
+
webSocketPublicClient
|
9839
|
+
});
|
9840
|
+
var ethereumClient = new EthereumClient(wagmiConfig, chains);
|
9841
|
+
var SSOEthereumProvider = ({ children }) => {
|
9842
|
+
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React5.createElement(Web3Modal, { projectId, ethereumClient }));
|
9843
|
+
};
|
9844
|
+
var Ethereum_default = SSOEthereumProvider;
|
9845
|
+
|
9846
|
+
// src/Components/Consent.tsx
|
9847
|
+
var ConsentComponent = ({ endpoint, aesirXEndpoint }) => {
|
9848
|
+
return /* @__PURE__ */ React6.createElement(WithWalletConnector, { network: MAINNET2 }, (props) => /* @__PURE__ */ React6.createElement("div", { className: "aesirxconsent" }, /* @__PURE__ */ React6.createElement(Ethereum_default, null, /* @__PURE__ */ React6.createElement(ConsentComponentApp, { ...props, endpoint, aesirXEndpoint }))));
|
8472
9849
|
};
|
8473
9850
|
var ConsentComponentApp = (props) => {
|
8474
9851
|
const {
|
8475
9852
|
endpoint,
|
9853
|
+
aesirXEndpoint,
|
8476
9854
|
activeConnectorType,
|
8477
9855
|
activeConnector,
|
8478
9856
|
activeConnectorError,
|
@@ -8482,8 +9860,10 @@ var ConsentComponentApp = (props) => {
|
|
8482
9860
|
} = props;
|
8483
9861
|
const { setConnection } = useConnection2(connectedAccounts, genesisHashes);
|
8484
9862
|
const { isConnecting } = useConnect2(activeConnector, setConnection);
|
8485
|
-
const handleOnConnect = async (connectorType) => {
|
8486
|
-
|
9863
|
+
const handleOnConnect = async (connectorType, network = "concordium") => {
|
9864
|
+
if (network === "concordium") {
|
9865
|
+
setActiveConnectorType(connectorType);
|
9866
|
+
}
|
8487
9867
|
setLoading("done");
|
8488
9868
|
};
|
8489
9869
|
const [
|
@@ -8494,18 +9874,81 @@ var ConsentComponentApp = (props) => {
|
|
8494
9874
|
show,
|
8495
9875
|
setShow,
|
8496
9876
|
web3ID,
|
9877
|
+
setWeb3ID,
|
8497
9878
|
handleLevel,
|
8498
9879
|
showRevoke,
|
8499
|
-
handleRevoke
|
8500
|
-
showConnectModal
|
9880
|
+
handleRevoke
|
8501
9881
|
] = useConsentStatus_default(endpoint, props);
|
8502
|
-
const [consents, setConsents] =
|
8503
|
-
const [loading, setLoading] =
|
8504
|
-
const [
|
8505
|
-
const [
|
8506
|
-
const [
|
9882
|
+
const [consents, setConsents] = useState5([1, 2]);
|
9883
|
+
const [loading, setLoading] = useState5("done");
|
9884
|
+
const [loadingCheckAccount, setLoadingCheckAccount] = useState5(false);
|
9885
|
+
const [showExpandConsent, setShowExpandConsent] = useState5(true);
|
9886
|
+
const [showExpandRevoke, setShowExpandRevoke] = useState5(false);
|
9887
|
+
const [showBackdrop, setShowBackdrop] = useState5(true);
|
8507
9888
|
const analyticsContext = useContext2(AnalyticsContext);
|
8508
9889
|
const { t } = useTranslation();
|
9890
|
+
const { address, connector } = useAccount3();
|
9891
|
+
const { signMessage } = useSignMessage({
|
9892
|
+
async onSuccess(data, variables) {
|
9893
|
+
const signature = Buffer.from(
|
9894
|
+
typeof data === "object" && data !== null ? JSON.stringify(data) : data,
|
9895
|
+
"utf-8"
|
9896
|
+
).toString("base64");
|
9897
|
+
const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
|
9898
|
+
if (variables?.message.indexOf("Revoke consent") > -1) {
|
9899
|
+
const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
|
9900
|
+
const consentList = await getConsents(endpoint, uuid);
|
9901
|
+
consentList.forEach(async (consent) => {
|
9902
|
+
!consent?.expiration && await revokeConsents(
|
9903
|
+
endpoint,
|
9904
|
+
levelRevoke,
|
9905
|
+
consent?.consent_uuid,
|
9906
|
+
address,
|
9907
|
+
signature,
|
9908
|
+
web3ID,
|
9909
|
+
jwt,
|
9910
|
+
"metamask"
|
9911
|
+
);
|
9912
|
+
});
|
9913
|
+
setLoading("done");
|
9914
|
+
handleRevoke(false);
|
9915
|
+
setShowExpandConsent(false);
|
9916
|
+
setShow(true);
|
9917
|
+
setShowBackdrop(false);
|
9918
|
+
sessionStorage.removeItem("aesirx-analytics-allow");
|
9919
|
+
} else if (variables?.message.indexOf("Login with nonce") > -1) {
|
9920
|
+
const res = await verifySignature(aesirXEndpoint, "metamask", address, data);
|
9921
|
+
sessionStorage.setItem("aesirx-analytics-jwt", res?.jwt);
|
9922
|
+
setLoadingCheckAccount(false);
|
9923
|
+
const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
|
9924
|
+
signMessage({ message: `${nonce}` });
|
9925
|
+
} else {
|
9926
|
+
setLoading("saving");
|
9927
|
+
await agreeConsents(
|
9928
|
+
endpoint,
|
9929
|
+
level,
|
9930
|
+
uuid,
|
9931
|
+
consents,
|
9932
|
+
address,
|
9933
|
+
signature,
|
9934
|
+
web3ID,
|
9935
|
+
jwt,
|
9936
|
+
"metamask"
|
9937
|
+
);
|
9938
|
+
sessionStorage.setItem("aesirx-analytics-uuid", uuid);
|
9939
|
+
sessionStorage.setItem("aesirx-analytics-allow", "1");
|
9940
|
+
sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
|
9941
|
+
setShow(false);
|
9942
|
+
setLoading("done");
|
9943
|
+
handleRevoke(true, level);
|
9944
|
+
setShowBackdrop(false);
|
9945
|
+
}
|
9946
|
+
},
|
9947
|
+
async onError(error) {
|
9948
|
+
setLoading("done");
|
9949
|
+
toast2.error(error.message);
|
9950
|
+
}
|
9951
|
+
});
|
8509
9952
|
const handleChange = async ({ target: { value } }) => {
|
8510
9953
|
if (consents.indexOf(parseInt(value)) === -1) {
|
8511
9954
|
setConsents([...consents, ...[parseInt(value)]]);
|
@@ -8516,11 +9959,69 @@ var ConsentComponentApp = (props) => {
|
|
8516
9959
|
const handleAgree = async () => {
|
8517
9960
|
try {
|
8518
9961
|
let flag = true;
|
9962
|
+
let jwt = "";
|
8519
9963
|
if (level > 2) {
|
9964
|
+
if (level === 4) {
|
9965
|
+
try {
|
9966
|
+
setLoadingCheckAccount(true);
|
9967
|
+
const nonceLogin = await getWalletNonce(
|
9968
|
+
aesirXEndpoint,
|
9969
|
+
account ? "concordium" : "metamask",
|
9970
|
+
account ?? address
|
9971
|
+
);
|
9972
|
+
if (nonceLogin) {
|
9973
|
+
try {
|
9974
|
+
if (account) {
|
9975
|
+
const signature = await connection.signMessage(
|
9976
|
+
account,
|
9977
|
+
stringMessage2(`${nonceLogin}`)
|
9978
|
+
);
|
9979
|
+
const convertedSignature = typeof signature === "object" && signature !== null ? signature : JSON.parse(signature);
|
9980
|
+
if (signature) {
|
9981
|
+
const data = await verifySignature(
|
9982
|
+
aesirXEndpoint,
|
9983
|
+
"concordium",
|
9984
|
+
account,
|
9985
|
+
convertedSignature
|
9986
|
+
);
|
9987
|
+
sessionStorage.setItem("aesirx-analytics-jwt", data?.jwt);
|
9988
|
+
jwt = data?.jwt;
|
9989
|
+
setLoadingCheckAccount(false);
|
9990
|
+
}
|
9991
|
+
} else {
|
9992
|
+
signMessage({ message: `${nonceLogin}` });
|
9993
|
+
}
|
9994
|
+
} catch (error) {
|
9995
|
+
setLoadingCheckAccount(false);
|
9996
|
+
toast2(error.message);
|
9997
|
+
}
|
9998
|
+
}
|
9999
|
+
} catch (error) {
|
10000
|
+
SSOClick(".loginSSO");
|
10001
|
+
setLoadingCheckAccount(false);
|
10002
|
+
return;
|
10003
|
+
}
|
10004
|
+
}
|
8520
10005
|
if (account) {
|
8521
|
-
const signature = await getSignature(
|
10006
|
+
const signature = await getSignature(
|
10007
|
+
endpoint,
|
10008
|
+
account,
|
10009
|
+
connection,
|
10010
|
+
level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}"
|
10011
|
+
);
|
8522
10012
|
setLoading("saving");
|
8523
|
-
await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID);
|
10013
|
+
await agreeConsents(endpoint, level, uuid, consents, account, signature, web3ID, jwt);
|
10014
|
+
sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
|
10015
|
+
} else if (connector) {
|
10016
|
+
if (level === 3) {
|
10017
|
+
const nonce = await getNonce(
|
10018
|
+
endpoint,
|
10019
|
+
address,
|
10020
|
+
level === 3 ? "Give consent:{}" : "Give consent Tier 4:{}",
|
10021
|
+
"metamask"
|
10022
|
+
);
|
10023
|
+
signMessage({ message: `${nonce}` });
|
10024
|
+
}
|
8524
10025
|
} else {
|
8525
10026
|
setLoading("connect");
|
8526
10027
|
flag = false;
|
@@ -8537,7 +10038,7 @@ var ConsentComponentApp = (props) => {
|
|
8537
10038
|
}
|
8538
10039
|
});
|
8539
10040
|
}
|
8540
|
-
if (flag) {
|
10041
|
+
if (flag && (account || level < 3)) {
|
8541
10042
|
sessionStorage.setItem("aesirx-analytics-uuid", uuid);
|
8542
10043
|
sessionStorage.setItem("aesirx-analytics-allow", "1");
|
8543
10044
|
setShow(false);
|
@@ -8546,6 +10047,7 @@ var ConsentComponentApp = (props) => {
|
|
8546
10047
|
setShowBackdrop(false);
|
8547
10048
|
}
|
8548
10049
|
} catch (error) {
|
10050
|
+
console.log(error);
|
8549
10051
|
handleNotAllow();
|
8550
10052
|
setLoading("done");
|
8551
10053
|
toast2.error(error?.response?.data?.error ?? error.message);
|
@@ -8554,12 +10056,71 @@ var ConsentComponentApp = (props) => {
|
|
8554
10056
|
const onGetData = async (response) => {
|
8555
10057
|
try {
|
8556
10058
|
setLoading("saving");
|
10059
|
+
const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
|
8557
10060
|
sessionStorage.setItem("aesirx-analytics-jwt", response?.jwt);
|
8558
|
-
|
8559
|
-
|
8560
|
-
|
8561
|
-
|
10061
|
+
if (levelRevoke && levelRevoke !== "0") {
|
10062
|
+
sessionStorage.setItem(
|
10063
|
+
"aesirx-analytics-consent-type",
|
10064
|
+
response?.loginType === "concordium" ? "concordium" : "metamask"
|
10065
|
+
);
|
10066
|
+
handleRevokeBtn();
|
10067
|
+
} else {
|
10068
|
+
if (level === 4) {
|
10069
|
+
let hasWeb3ID = true;
|
10070
|
+
if (response?.loginType === "concordium") {
|
10071
|
+
const web3ID2 = await getWeb3ID(connection, account);
|
10072
|
+
if (web3ID2) {
|
10073
|
+
setWeb3ID(web3ID2);
|
10074
|
+
} else {
|
10075
|
+
hasWeb3ID = false;
|
10076
|
+
}
|
10077
|
+
} else {
|
10078
|
+
const memberData = await getMember(aesirXEndpoint, response?.access_token);
|
10079
|
+
hasWeb3ID = memberData?.web3id ? true : false;
|
10080
|
+
}
|
10081
|
+
if (hasWeb3ID) {
|
10082
|
+
if (response?.loginType === "concordium") {
|
10083
|
+
sessionStorage.setItem("aesirx-analytics-consent-type", "concordium");
|
10084
|
+
const signature = await getSignature(
|
10085
|
+
endpoint,
|
10086
|
+
account,
|
10087
|
+
connection,
|
10088
|
+
"Give consent Tier 4:{}"
|
10089
|
+
);
|
10090
|
+
await agreeConsents(
|
10091
|
+
endpoint,
|
10092
|
+
level,
|
10093
|
+
uuid,
|
10094
|
+
consents,
|
10095
|
+
account,
|
10096
|
+
signature,
|
10097
|
+
null,
|
10098
|
+
response?.jwt
|
10099
|
+
);
|
10100
|
+
setShow(false);
|
10101
|
+
handleRevoke(true, level);
|
10102
|
+
setLoading("done");
|
10103
|
+
} else if (response?.loginType === "metamask") {
|
10104
|
+
sessionStorage.setItem("aesirx-analytics-consent-type", "metamask");
|
10105
|
+
const nonce = await getNonce(endpoint, address, "Give consent Tier 4:{}", "metamask");
|
10106
|
+
signMessage({ message: `${nonce}` });
|
10107
|
+
}
|
10108
|
+
} else {
|
10109
|
+
handleLevel(3);
|
10110
|
+
toast2(
|
10111
|
+
"You haven't minted any WEB3 ID yet. Try to mint at https://dapp.shield.aesirx.io"
|
10112
|
+
);
|
10113
|
+
setLoading("done");
|
10114
|
+
}
|
10115
|
+
} else {
|
10116
|
+
await agreeConsents(endpoint, level, uuid, consents, null, null, null, response?.jwt);
|
10117
|
+
setShow(false);
|
10118
|
+
handleRevoke(true, level);
|
10119
|
+
setLoading("done");
|
10120
|
+
}
|
10121
|
+
}
|
8562
10122
|
} catch (error) {
|
10123
|
+
console.log(error);
|
8563
10124
|
setShow(false);
|
8564
10125
|
setLoading("done");
|
8565
10126
|
toast2.error(error?.response?.data?.error ?? error.message);
|
@@ -8573,11 +10134,17 @@ var ConsentComponentApp = (props) => {
|
|
8573
10134
|
};
|
8574
10135
|
const handleRevokeBtn = async () => {
|
8575
10136
|
const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke");
|
10137
|
+
const consentType = sessionStorage.getItem("aesirx-analytics-consent-type");
|
10138
|
+
const jwt = sessionStorage.getItem("aesirx-analytics-jwt");
|
8576
10139
|
try {
|
8577
10140
|
let flag = true;
|
8578
10141
|
if (levelRevoke !== "1") {
|
8579
10142
|
if (parseInt(levelRevoke) > 2) {
|
8580
|
-
if (
|
10143
|
+
if (!jwt && (parseInt(levelRevoke) === 2 || parseInt(levelRevoke) === 4)) {
|
10144
|
+
SSOClick(".revokeLogin");
|
10145
|
+
return;
|
10146
|
+
}
|
10147
|
+
if (account && consentType !== "metamask") {
|
8581
10148
|
setLoading("sign");
|
8582
10149
|
const signature = await getSignature(
|
8583
10150
|
endpoint,
|
@@ -8594,11 +10161,17 @@ var ConsentComponentApp = (props) => {
|
|
8594
10161
|
consent?.consent_uuid,
|
8595
10162
|
account,
|
8596
10163
|
signature,
|
8597
|
-
web3ID
|
10164
|
+
web3ID,
|
10165
|
+
jwt
|
8598
10166
|
);
|
8599
10167
|
});
|
8600
10168
|
setLoading("done");
|
8601
10169
|
handleRevoke(false);
|
10170
|
+
} else if (connector) {
|
10171
|
+
setLoading("sign");
|
10172
|
+
setLoading("saving");
|
10173
|
+
const nonce = await getNonce(endpoint, address, "Revoke consent:{}", "metamask");
|
10174
|
+
signMessage({ message: `${nonce}` });
|
8602
10175
|
} else {
|
8603
10176
|
setLoading("connect");
|
8604
10177
|
flag = false;
|
@@ -8614,13 +10187,13 @@ var ConsentComponentApp = (props) => {
|
|
8614
10187
|
null,
|
8615
10188
|
null,
|
8616
10189
|
null,
|
8617
|
-
|
10190
|
+
jwt
|
8618
10191
|
);
|
8619
10192
|
});
|
8620
10193
|
setLoading("done");
|
8621
10194
|
handleRevoke(false);
|
8622
10195
|
}
|
8623
|
-
if (flag) {
|
10196
|
+
if (flag && (account && consentType !== "metamask" || level < 3)) {
|
8624
10197
|
setShowExpandConsent(false);
|
8625
10198
|
setShow(true);
|
8626
10199
|
setShowBackdrop(false);
|
@@ -8634,165 +10207,212 @@ var ConsentComponentApp = (props) => {
|
|
8634
10207
|
sessionStorage.removeItem("aesirx-analytics-allow");
|
8635
10208
|
}
|
8636
10209
|
} catch (error) {
|
10210
|
+
console.log(error);
|
8637
10211
|
setLoading("done");
|
8638
10212
|
toast2.error(error?.response?.data?.error ?? error.message);
|
8639
10213
|
}
|
8640
10214
|
};
|
10215
|
+
const SSOClick = (selector) => {
|
10216
|
+
const element = document.querySelector(selector);
|
10217
|
+
element.click();
|
10218
|
+
};
|
10219
|
+
useEffect2(() => {
|
10220
|
+
if (activeConnectorError) {
|
10221
|
+
toast2.error(activeConnectorError);
|
10222
|
+
}
|
10223
|
+
}, [activeConnectorError]);
|
8641
10224
|
useEffect2(() => {
|
8642
10225
|
if (sessionStorage.getItem("aesirx-analytics-rejected") === "true") {
|
8643
10226
|
setShowBackdrop(false);
|
8644
10227
|
setShowExpandConsent(false);
|
8645
10228
|
}
|
8646
10229
|
}, []);
|
8647
|
-
|
10230
|
+
console.log("level", uuid, level, web3ID, account, loading);
|
10231
|
+
return /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement(ToastContainer, null), /* @__PURE__ */ React6.createElement("div", { className: `offcanvas-backdrop fade ${showBackdrop && show ? "show" : "d-none"}` }), /* @__PURE__ */ React6.createElement(
|
10232
|
+
"div",
|
10233
|
+
{
|
10234
|
+
tabIndex: -1,
|
10235
|
+
className: `toast-container position-fixed m-3 ${showExpandRevoke ? "top-50 start-50 translate-middle shadow" : "bottom-0 end-0"}`
|
10236
|
+
},
|
10237
|
+
/* @__PURE__ */ React6.createElement(
|
10238
|
+
"div",
|
10239
|
+
{
|
10240
|
+
className: `toast revoke-toast ${showRevoke || sessionStorage.getItem("aesirx-analytics-revoke") && sessionStorage.getItem("aesirx-analytics-revoke") !== "0" ? "show" : ""} ${showExpandRevoke ? "" : "minimize"}`
|
10241
|
+
},
|
10242
|
+
/* @__PURE__ */ React6.createElement(LoadingStatus, { loading }),
|
10243
|
+
/* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0 " }, /* @__PURE__ */ React6.createElement("div", { className: "revoke-wrapper minimize-shield-wrapper position-relative" }, !showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
|
10244
|
+
"img",
|
10245
|
+
{
|
10246
|
+
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
10247
|
+
src: bg_default
|
10248
|
+
}
|
10249
|
+
), /* @__PURE__ */ React6.createElement(
|
10250
|
+
"div",
|
10251
|
+
{
|
10252
|
+
className: "minimize-shield",
|
10253
|
+
onClick: () => {
|
10254
|
+
if (osName !== OsTypes?.IOS && isMobile2 && !connection && sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke")) > 2) {
|
10255
|
+
setActiveConnectorType(WALLET_CONNECT);
|
10256
|
+
}
|
10257
|
+
setShowExpandRevoke(true);
|
10258
|
+
}
|
10259
|
+
},
|
10260
|
+
/* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
|
10261
|
+
t("txt_shield_of_privacy")
|
10262
|
+
)), showExpandRevoke && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
|
10263
|
+
"div",
|
10264
|
+
{
|
10265
|
+
className: "minimize-revoke",
|
10266
|
+
onClick: () => {
|
10267
|
+
setShowExpandRevoke(false);
|
10268
|
+
}
|
10269
|
+
},
|
10270
|
+
/* @__PURE__ */ React6.createElement("img", { src: no_default })
|
10271
|
+
), /* @__PURE__ */ React6.createElement("div", { className: "p-3 bg-white text" }, t("txt_you_can_revoke"), " ", /* @__PURE__ */ React6.createElement("br", null), t("txt_visit"), " ", /* @__PURE__ */ React6.createElement(
|
10272
|
+
"a",
|
10273
|
+
{
|
10274
|
+
href: "https://nft.shield.aesirx.io",
|
10275
|
+
className: "text-success text-decoration-underline",
|
10276
|
+
target: "_blank",
|
10277
|
+
rel: "noreferrer"
|
10278
|
+
},
|
10279
|
+
t("txt_here")
|
10280
|
+
), " ", t("txt_for_more_information")), /* @__PURE__ */ React6.createElement("div", { className: "rounded-bottom position-relative overflow-hidden text-white" }, /* @__PURE__ */ React6.createElement(
|
10281
|
+
"img",
|
10282
|
+
{
|
10283
|
+
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
10284
|
+
src: bg_default
|
10285
|
+
}
|
10286
|
+
), /* @__PURE__ */ React6.createElement("div", { className: "position-relative p-3" }, /* @__PURE__ */ React6.createElement("div", { className: "d-flex align-items-center justify-content-between flex-wrap" }, /* @__PURE__ */ React6.createElement("div", { className: "me-2" }, /* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }), " ", t("txt_shield_of_privacy")), /* @__PURE__ */ React6.createElement("div", { className: "d-flex align-items-center" }, /* @__PURE__ */ React6.createElement(
|
10287
|
+
"a",
|
10288
|
+
{
|
10289
|
+
className: "text-success text-decoration-underline manage-consent",
|
10290
|
+
href: "https://dapp.shield.aesirx.io/revoke-consent",
|
10291
|
+
target: "_blank",
|
10292
|
+
rel: "noreferrer"
|
10293
|
+
},
|
10294
|
+
t("txt_manage_consent")
|
10295
|
+
), loading === "done" ? /* @__PURE__ */ React6.createElement(
|
10296
|
+
Button2,
|
10297
|
+
{
|
10298
|
+
variant: "success",
|
10299
|
+
onClick: handleRevokeBtn,
|
10300
|
+
className: "text-white d-flex align-items-center revoke-btn"
|
10301
|
+
},
|
10302
|
+
t("txt_revoke_consent")
|
10303
|
+
) : /* @__PURE__ */ React6.createElement(React6.Fragment, null), (sessionStorage.getItem("aesirx-analytics-revoke") === "4" || sessionStorage.getItem("aesirx-analytics-revoke") === "2") && /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement(
|
10304
|
+
SSOButton,
|
10305
|
+
{
|
10306
|
+
className: "d-none revokeLogin",
|
10307
|
+
text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, "Login Revoke"),
|
10308
|
+
ssoState: "noscopes",
|
10309
|
+
onGetData
|
10310
|
+
}
|
10311
|
+
)))))))))
|
10312
|
+
)
|
10313
|
+
), /* @__PURE__ */ React6.createElement(
|
8648
10314
|
"div",
|
8649
10315
|
{
|
8650
|
-
|
10316
|
+
tabIndex: -1,
|
10317
|
+
className: `toast-container position-fixed m-3 ${showExpandConsent ? "top-50 start-50 translate-middle shadow" : "bottom-0 end-0"}`
|
8651
10318
|
},
|
8652
|
-
/* @__PURE__ */
|
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(
|
10319
|
+
/* @__PURE__ */ React6.createElement("div", { className: `toast ${show ? "show" : ""} ${showExpandConsent ? "" : "minimize"}` }, /* @__PURE__ */ React6.createElement(LoadingStatus, { loading }), /* @__PURE__ */ React6.createElement("div", { className: "toast-body p-0" }, !showExpandConsent ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("div", { className: "minimize-shield-wrapper position-relative" }, /* @__PURE__ */ React6.createElement(
|
8654
10320
|
"img",
|
8655
10321
|
{
|
8656
10322
|
className: "cover-img position-absolute h-100 w-100 object-fit-cover",
|
8657
10323
|
src: bg_default
|
8658
10324
|
}
|
8659
|
-
), /* @__PURE__ */
|
10325
|
+
), /* @__PURE__ */ React6.createElement(
|
8660
10326
|
"div",
|
8661
10327
|
{
|
8662
10328
|
className: "minimize-shield",
|
8663
10329
|
onClick: () => {
|
8664
|
-
|
8665
|
-
|
8666
|
-
}
|
8667
|
-
setShowExpandRevoke(true);
|
10330
|
+
setShowExpandConsent(true);
|
10331
|
+
sessionStorage.removeItem("aesirx-analytics-rejected");
|
8668
10332
|
}
|
8669
10333
|
},
|
8670
|
-
/* @__PURE__ */
|
10334
|
+
/* @__PURE__ */ React6.createElement("img", { src: privacy_default, alt: "Shield of Privacy" }),
|
8671
10335
|
t("txt_shield_of_privacy")
|
8672
|
-
)),
|
8673
|
-
|
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",
|
10336
|
+
))) : /* @__PURE__ */ React6.createElement(React6.Fragment, null, level ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(TermsComponent, { level, handleLevel }, /* @__PURE__ */ React6.createElement(Form, { className: "mb-0" }, /* @__PURE__ */ React6.createElement(
|
10337
|
+
Form.Check,
|
8683
10338
|
{
|
8684
|
-
|
8685
|
-
|
8686
|
-
|
8687
|
-
|
8688
|
-
|
8689
|
-
|
8690
|
-
|
8691
|
-
|
10339
|
+
checked: consents.includes(1),
|
10340
|
+
type: "switch",
|
10341
|
+
label: "Personal data share consent.",
|
10342
|
+
value: 1,
|
10343
|
+
onChange: handleChange,
|
10344
|
+
className: "d-none"
|
10345
|
+
}
|
10346
|
+
), /* @__PURE__ */ React6.createElement(
|
10347
|
+
Form.Check,
|
8692
10348
|
{
|
8693
|
-
|
8694
|
-
|
10349
|
+
checked: consents.includes(2),
|
10350
|
+
type: "switch",
|
10351
|
+
label: "Personal data cross site share consent.",
|
10352
|
+
value: 2,
|
10353
|
+
onChange: handleChange,
|
10354
|
+
className: "d-none"
|
8695
10355
|
}
|
8696
|
-
), /* @__PURE__ */
|
8697
|
-
"
|
10356
|
+
), /* @__PURE__ */ React6.createElement("div", { className: "d-flex justify-content-end" }, loading === "done" ? /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
|
10357
|
+
"div",
|
8698
10358
|
{
|
8699
|
-
className:
|
8700
|
-
href: "https://dapp.shield.aesirx.io/revoke-consent",
|
8701
|
-
target: "_blank",
|
8702
|
-
rel: "noreferrer"
|
10359
|
+
className: `ssoBtnWrapper me-1 bg-success ${level === 2 || level === 4 && !account && !address ? "" : "d-none"}`
|
8703
10360
|
},
|
8704
|
-
|
8705
|
-
|
10361
|
+
/* @__PURE__ */ React6.createElement(
|
10362
|
+
SSOButton,
|
10363
|
+
{
|
10364
|
+
className: "btn btn-success text-white d-flex align-items-center loginSSO",
|
10365
|
+
text: /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }), t("txt_yes_i_consent")),
|
10366
|
+
ssoState: "noscopes",
|
10367
|
+
onGetData,
|
10368
|
+
...level === 2 ? { noCreateAccount: true } : {}
|
10369
|
+
}
|
10370
|
+
)
|
10371
|
+
), level === 2 || level === 4 && !account && !address ? /* @__PURE__ */ React6.createElement(React6.Fragment, null) : /* @__PURE__ */ React6.createElement(
|
8706
10372
|
Button2,
|
8707
10373
|
{
|
8708
10374
|
variant: "success",
|
8709
|
-
onClick:
|
8710
|
-
className: "text-white d-flex align-items-center
|
10375
|
+
onClick: handleAgree,
|
10376
|
+
className: "me-1 text-white d-flex align-items-center"
|
8711
10377
|
},
|
8712
|
-
|
8713
|
-
|
8714
|
-
|
8715
|
-
|
8716
|
-
|
8717
|
-
|
8718
|
-
|
8719
|
-
|
8720
|
-
|
8721
|
-
|
8722
|
-
|
8723
|
-
|
8724
|
-
|
8725
|
-
|
8726
|
-
|
8727
|
-
}
|
8728
|
-
|
8729
|
-
|
8730
|
-
|
8731
|
-
|
8732
|
-
|
8733
|
-
|
8734
|
-
|
8735
|
-
|
8736
|
-
|
8737
|
-
|
8738
|
-
|
8739
|
-
|
8740
|
-
|
8741
|
-
|
8742
|
-
|
8743
|
-
|
8744
|
-
|
8745
|
-
|
8746
|
-
|
8747
|
-
|
8748
|
-
|
8749
|
-
|
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(
|
10378
|
+
loadingCheckAccount ? /* @__PURE__ */ React6.createElement(
|
10379
|
+
"span",
|
10380
|
+
{
|
10381
|
+
className: "spinner-border spinner-border-sm me-1",
|
10382
|
+
role: "status",
|
10383
|
+
"aria-hidden": "true"
|
10384
|
+
}
|
10385
|
+
) : /* @__PURE__ */ React6.createElement("img", { src: yes_default, className: "me-1" }),
|
10386
|
+
t("txt_yes_i_consent")
|
10387
|
+
), /* @__PURE__ */ React6.createElement(
|
10388
|
+
Button2,
|
10389
|
+
{
|
10390
|
+
variant: "success-outline",
|
10391
|
+
onClick: handleNotAllow,
|
10392
|
+
className: "d-flex align-items-center"
|
10393
|
+
},
|
10394
|
+
/* @__PURE__ */ React6.createElement("img", { src: no_default, className: "me-1" }),
|
10395
|
+
t("txt_reject_consent")
|
10396
|
+
)) : /* @__PURE__ */ React6.createElement(React6.Fragment, null))))) : /* @__PURE__ */ React6.createElement("div", { className: "p-4" }, /* @__PURE__ */ React6.createElement(
|
10397
|
+
ContentLoader,
|
10398
|
+
{
|
10399
|
+
speed: 2,
|
10400
|
+
width: 340,
|
10401
|
+
height: 84,
|
10402
|
+
viewBox: "0 0 340 84",
|
10403
|
+
backgroundColor: "#f3f3f3",
|
10404
|
+
foregroundColor: "#ecebeb"
|
10405
|
+
},
|
10406
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "0", y: "0", rx: "3", ry: "3", width: "67", height: "11" }),
|
10407
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "76", y: "0", rx: "3", ry: "3", width: "140", height: "11" }),
|
10408
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "127", y: "48", rx: "3", ry: "3", width: "53", height: "11" }),
|
10409
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "187", y: "48", rx: "3", ry: "3", width: "72", height: "11" }),
|
10410
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "18", y: "48", rx: "3", ry: "3", width: "100", height: "11" }),
|
10411
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "0", y: "71", rx: "3", ry: "3", width: "37", height: "11" }),
|
10412
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "18", y: "23", rx: "3", ry: "3", width: "140", height: "11" }),
|
10413
|
+
/* @__PURE__ */ React6.createElement("rect", { x: "166", y: "23", rx: "3", ry: "3", width: "173", height: "11" })
|
10414
|
+
)))))
|
10415
|
+
), !account && loading === "connect" && /* @__PURE__ */ React6.createElement(
|
8796
10416
|
Connect_default,
|
8797
10417
|
{
|
8798
10418
|
isConnecting,
|