@gataca/qr 3.0.11 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{esm/qr-code-styling-0eeb38d5.js → cjs/gat-icon-check-c88a30ed.js} +15 -1
- package/dist/cjs/{gataca-qr_2.cjs.entry.js → gataca-qr_3.cjs.entry.js} +398 -53
- package/dist/cjs/gataca-qrws.cjs.entry.js +6 -7
- package/dist/cjs/gataca-ssibuttonws.cjs.entry.js +61 -0
- package/dist/cjs/gatacaqr.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/gataca-qr/components/qr/QR.js +2 -2
- package/dist/collection/components/gataca-qr/components/readQR/ReadQR.js +13 -4
- package/dist/collection/components/gataca-qr/components/retryButton/RetryButton.js +3 -2
- package/dist/collection/components/gataca-qr/gataca-qr.css +1 -1
- package/dist/collection/components/gataca-qr/gataca-qr.js +31 -10
- package/dist/collection/components/gataca-qrdisplay/gataca-qrdisplay.js +22 -0
- package/dist/collection/components/gataca-ssibutton/gataca-ssibutton.js +163 -3
- package/dist/components/{gat-icon-alert.js → gat-icon-check.js} +3 -3
- package/dist/components/gataca-qr2.js +58 -45
- package/dist/components/gataca-qrdisplay2.js +5 -0
- package/dist/components/gataca-qrws2.js +1 -1
- package/dist/components/gataca-ssibutton2.js +88 -4
- package/dist/components/index.js +1 -1
- package/dist/{cjs/qr-code-styling-412bbc7a.js → esm/gat-icon-check-c188cd29.js} +8 -2
- package/dist/esm/{gataca-qr_2.entry.js → gataca-qr_3.entry.js} +395 -51
- package/dist/esm/gataca-qrws.entry.js +1 -2
- package/dist/esm/gataca-ssibuttonws.entry.js +57 -0
- package/dist/esm/gatacaqr.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/gatacaqr/gatacaqr.esm.js +1 -1
- package/dist/gatacaqr/p-5be73956.js +1 -0
- package/dist/gatacaqr/p-831794a4.entry.js +1 -0
- package/dist/gatacaqr/p-948e7d94.entry.js +1 -0
- package/dist/gatacaqr/p-e94e9be8.entry.js +1 -0
- package/dist/types/components/gataca-qr/components/qr/QR.d.ts +3 -1
- package/dist/types/components/gataca-qr/components/readQR/ReadQR.d.ts +2 -0
- package/dist/types/components/gataca-qr/components/retryButton/RetryButton.d.ts +2 -0
- package/dist/types/components/gataca-qr/gataca-qr.d.ts +12 -2
- package/dist/types/components/gataca-qrdisplay/gataca-qrdisplay.d.ts +5 -0
- package/dist/types/components/gataca-ssibutton/gataca-ssibutton.d.ts +30 -1
- package/dist/types/components.d.ts +50 -0
- package/package.json +1 -1
- package/dist/cjs/gat-icon-alert-0ad19b26.js +0 -14
- package/dist/cjs/gataca-ssibutton_2.cjs.entry.js +0 -313
- package/dist/esm/gat-icon-alert-7b06ef3a.js +0 -9
- package/dist/esm/gataca-ssibutton_2.entry.js +0 -308
- package/dist/gatacaqr/p-0be4566d.js +0 -1
- package/dist/gatacaqr/p-2adc0bcc.entry.js +0 -1
- package/dist/gatacaqr/p-2ddbc2fc.entry.js +0 -1
- package/dist/gatacaqr/p-d2dd7c85.entry.js +0 -1
- package/dist/gatacaqr/p-ea783014.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './gataca-qrdisplay2.js';
|
|
3
|
-
import { R as RESULT_STATUS } from './gat-icon-
|
|
3
|
+
import { R as RESULT_STATUS } from './gat-icon-check.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './gataca-qr2.js';
|
|
5
5
|
|
|
6
6
|
const gatacaSsibuttonCss = "@import url(\"https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400&display=swap\"); html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:\"\";content:none}table{border-collapse:collapse;border-spacing:0}.img-fluid{height:auto;max-width:50%}img{margin-left:auto;margin-right:auto}.buttonContainer{display:inline-block;text-align:right;padding:10px;position:relative}.gatacaButtonWrapper{margin:8px}.gatacaButtonWrapper .gatacaButton{display:flex;min-width:100px;padding:8px 8px;background-color:white;font-size:12px;font-family:\"Work Sans\", sans-serif;letter-spacing:1px;font-weight:2;justify-content:space-between;align-items:center;border-radius:6px;border:1px solid rgba(24, 27, 94, 0.5);color:rgba(24, 27, 94, 0.8);box-shadow:0px 1px 3px rgba(48, 48, 48, 0.15);cursor:pointer}.gatacaButtonWrapper .gatacaButton>span{margin-right:10px}.gatacaButtonWrapper .gatacaButton:hover{box-shadow:0px 2px 8px rgba(48, 48, 48, 0.1)}.gatacaButtonWrapper .buttonText{text-align:right;font-size:8px;color:rgba(24, 27, 94, 0.5);font-family:\"Helvetica Neue\", sans-serif;letter-spacing:1px;padding-right:8px;font-weight:1}.gatacaButtonWrapper .buttonImg{height:25px;width:25px;margin:0;margin-right:20px}";
|
|
@@ -17,11 +17,32 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
17
17
|
this.gatacaLoginCompleted = createEvent(this, "gatacaLoginCompleted", 7);
|
|
18
18
|
this.gatacaLoginFailed = createEvent(this, "gatacaLoginFailed", 7);
|
|
19
19
|
this.gatacaButtonPushed = createEvent(this, "gatacaButtonPushed", 7);
|
|
20
|
+
this.getRequestFromUri = async (authRequest) => {
|
|
21
|
+
const requrl = new URL(authRequest);
|
|
22
|
+
const requri = requrl.searchParams.get('request_uri');
|
|
23
|
+
if (requri) {
|
|
24
|
+
const response = await fetch(requri, {
|
|
25
|
+
method: 'GET',
|
|
26
|
+
headers: {
|
|
27
|
+
'Content-Type': 'application/json'
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
const jwt = await response.json();
|
|
31
|
+
const parts = jwt.split('.');
|
|
32
|
+
const base64 = parts[1].replace(/-/g, '+').replace(/_/g, '/');
|
|
33
|
+
const decoded = window.atob(base64);
|
|
34
|
+
let parsed = JSON.parse(decoded);
|
|
35
|
+
parsed.response_mode = 'dc_api';
|
|
36
|
+
return parsed;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
20
39
|
this.buttonText = 'Easy login';
|
|
40
|
+
this.buttonDCAPIText = 'Login with Device Credentials';
|
|
21
41
|
this.qrType = 'svg';
|
|
22
42
|
this.autostart = true;
|
|
23
43
|
this.checkStatus = undefined;
|
|
24
44
|
this.createSession = undefined;
|
|
45
|
+
this.fillSession = undefined;
|
|
25
46
|
this.successCallback = undefined;
|
|
26
47
|
this.errorCallback = undefined;
|
|
27
48
|
this.handleCheckAppLoading = undefined;
|
|
@@ -50,13 +71,30 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
50
71
|
this.successLoginLabel = 'Successful Connection!';
|
|
51
72
|
this.byBrandLabel = 'by Gataca';
|
|
52
73
|
this.waitingStartSessionLabel = 'waiting to start a session';
|
|
74
|
+
this.enableDcApi = false;
|
|
53
75
|
this.hideQrModalDescription = false;
|
|
76
|
+
this.qrStyle = undefined;
|
|
54
77
|
this.open = false;
|
|
55
78
|
this.sessionId = undefined;
|
|
56
79
|
this.authenticationRequest = undefined;
|
|
57
80
|
this.sessionData = undefined;
|
|
58
81
|
this.result = RESULT_STATUS.NOT_STARTED;
|
|
59
|
-
this.qr = (h("gataca-qr", { ref: (el) => (this.qrElement = el), checkStatus: this.checkStatus, createSession: this.createSession, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, qrType: this.qrType, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, pollingFrequency: this.pollingFrequency, autostart: this.autostart, autorefresh: this.autorefresh, v: this.v, qrModalTitle: this.qrModalTitle, qrModalDescription: this.qrModalDescription, hideBrandTitle: this.hideBrandTitle, dynamicLink: this.dynamicLink, logoSize: this.logoSize, logoSrc: this.logoSrc, modalTitleColor: this.modalTitleColor, qrCodeExpiredLabel: this.qrCodeExpiredLabel, credentialsNotValidatedLabel: this.credentialsNotValidatedLabel, clickInsideBoxLabel: this.clickInsideBoxLabel, refreshQrLabel: this.refreshQrLabel, scanQrLabel: this.scanQrLabel, userNotScanInTimeErrorLabel: this.userNotScanInTimeErrorLabel, credsNotValidatedErrorLabel: this.credsNotValidatedErrorLabel, failedLoginErrorLabel: this.failedLoginErrorLabel, successLoginLabel: this.successLoginLabel, byBrandLabel: this.byBrandLabel, waitingStartSessionLabel: this.waitingStartSessionLabel, hideQrModalDescription: this.hideQrModalDescription }));
|
|
82
|
+
this.qr = (h("gataca-qr", { ref: (el) => (this.qrElement = el), checkStatus: this.checkStatus, createSession: this.createSession, successCallback: this.successCallback, errorCallback: this.errorCallback, qrRole: this.qrRole, qrType: this.qrType, callbackServer: this.callbackServer, sessionTimeout: this.sessionTimeout, pollingFrequency: this.pollingFrequency, autostart: this.autostart, autorefresh: this.autorefresh, v: this.v, qrModalTitle: this.qrModalTitle, qrModalDescription: this.qrModalDescription, hideBrandTitle: this.hideBrandTitle, dynamicLink: this.dynamicLink, logoSize: this.logoSize, logoSrc: this.logoSrc, modalTitleColor: this.modalTitleColor, qrCodeExpiredLabel: this.qrCodeExpiredLabel, credentialsNotValidatedLabel: this.credentialsNotValidatedLabel, clickInsideBoxLabel: this.clickInsideBoxLabel, refreshQrLabel: this.refreshQrLabel, scanQrLabel: this.scanQrLabel, userNotScanInTimeErrorLabel: this.userNotScanInTimeErrorLabel, credsNotValidatedErrorLabel: this.credsNotValidatedErrorLabel, failedLoginErrorLabel: this.failedLoginErrorLabel, successLoginLabel: this.successLoginLabel, byBrandLabel: this.byBrandLabel, waitingStartSessionLabel: this.waitingStartSessionLabel, hideQrModalDescription: this.hideQrModalDescription, qrStyle: this.qrStyle }));
|
|
83
|
+
}
|
|
84
|
+
supportsDCAPI() {
|
|
85
|
+
// let mobile = checkMobile();
|
|
86
|
+
// if (!mobile) return false;
|
|
87
|
+
if (!this.enableDcApi) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
//@ts-ignore
|
|
91
|
+
if (typeof window.DigitalCredential === 'undefined')
|
|
92
|
+
return false;
|
|
93
|
+
const protocols = ['org-iso-mdoc', 'openid4vp', 'openid4vci'];
|
|
94
|
+
//@ts-ignore
|
|
95
|
+
const supportedProtocols = protocols.filter(window.DigitalCredential.userAgentAllowsProtocol);
|
|
96
|
+
console.log(supportedProtocols, protocols);
|
|
97
|
+
return true;
|
|
60
98
|
}
|
|
61
99
|
/**
|
|
62
100
|
* Retrieve manually the session data on a successful login
|
|
@@ -201,7 +239,7 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
201
239
|
return authenticationRequest;
|
|
202
240
|
}
|
|
203
241
|
renderMobileButton(isAndroid, isIos) {
|
|
204
|
-
if (this.autostart) {
|
|
242
|
+
if (this.autostart && !this.supportsDCAPI()) {
|
|
205
243
|
this.startMobilePolling();
|
|
206
244
|
}
|
|
207
245
|
let loading = false;
|
|
@@ -240,6 +278,47 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
240
278
|
executeRedirection();
|
|
241
279
|
}, disabled: loading }, h("img", { src: PHONE_ICON, class: "buttonImg", alt: this.buttonText }), h("span", null, this.buttonText))));
|
|
242
280
|
}
|
|
281
|
+
renderDCAPIButton(isAndroid, isIos) {
|
|
282
|
+
let loading = false;
|
|
283
|
+
console.log('Maybe act different', isAndroid, isIos);
|
|
284
|
+
const handleLoading = (isLoading) => {
|
|
285
|
+
loading = isLoading;
|
|
286
|
+
if (this.handleCheckAppLoading) {
|
|
287
|
+
this.handleCheckAppLoading(isLoading);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
const executeDCAPICall = async () => {
|
|
291
|
+
handleLoading(true);
|
|
292
|
+
try {
|
|
293
|
+
const authRequest = await this.getAuthRequest();
|
|
294
|
+
let request = await this.getRequestFromUri(authRequest);
|
|
295
|
+
let credentialResponse = await navigator.credentials.get({
|
|
296
|
+
//@ts-ignore
|
|
297
|
+
digital: {
|
|
298
|
+
requests: [
|
|
299
|
+
{
|
|
300
|
+
protocol: 'openid4vp-v1-unsigned',
|
|
301
|
+
data: request
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
if (credentialResponse.constructor.name == 'DigitalCredential') {
|
|
307
|
+
console.log('Digital Credential - Response Data: ' + credentialResponse);
|
|
308
|
+
}
|
|
309
|
+
//@ts-ignore
|
|
310
|
+
await this.fillSession(request, credentialResponse === null || credentialResponse === void 0 ? void 0 : credentialResponse.data);
|
|
311
|
+
}
|
|
312
|
+
catch (error) {
|
|
313
|
+
this.stop();
|
|
314
|
+
handleLoading(false);
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
return (h("div", { class: "gatacaButtonWrapper" }, h("button", { class: "gatacaButton", onClick: () => {
|
|
318
|
+
this.gatacaButtonPushed.emit();
|
|
319
|
+
executeDCAPICall();
|
|
320
|
+
}, disabled: loading }, h("img", { src: PHONE_ICON, class: "buttonImg", alt: this.buttonDCAPIText }), h("span", null, this.buttonDCAPIText))));
|
|
321
|
+
}
|
|
243
322
|
render() {
|
|
244
323
|
const userAgent =
|
|
245
324
|
// @ts-ignore
|
|
@@ -249,15 +328,18 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
249
328
|
// @ts-ignore
|
|
250
329
|
(/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
|
|
251
330
|
const isMobile = isAndroid || isIos;
|
|
252
|
-
|
|
331
|
+
const displayDCApi = this.supportsDCAPI();
|
|
332
|
+
return (h("div", null, h("div", { class: "buttonContainer" }, isMobile && this.v === '3' ? this.renderMobileButton(isAndroid, isIos) : this.renderDesktopButton(), this.open && (!isMobile || this.v === '3') && this.renderModal()), displayDCApi /** && isMobile */ && h("div", { class: "buttonContainer" }, this.renderDCAPIButton(isAndroid, isIos))));
|
|
253
333
|
}
|
|
254
334
|
static get style() { return gatacaSsibuttonCss; }
|
|
255
335
|
}, [1, "gataca-ssibutton", {
|
|
256
336
|
"buttonText": [1, "button-text"],
|
|
337
|
+
"buttonDCAPIText": [1, "button-d-c-a-p-i-text"],
|
|
257
338
|
"qrType": [1, "qr-type"],
|
|
258
339
|
"autostart": [4],
|
|
259
340
|
"checkStatus": [16],
|
|
260
341
|
"createSession": [16],
|
|
342
|
+
"fillSession": [16],
|
|
261
343
|
"successCallback": [16],
|
|
262
344
|
"errorCallback": [16],
|
|
263
345
|
"handleCheckAppLoading": [16],
|
|
@@ -286,7 +368,9 @@ const GatacaSSIButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
286
368
|
"successLoginLabel": [1, "success-login-label"],
|
|
287
369
|
"byBrandLabel": [1, "by-brand-label"],
|
|
288
370
|
"waitingStartSessionLabel": [1, "waiting-start-session-label"],
|
|
371
|
+
"enableDcApi": [4, "enable-dc-api"],
|
|
289
372
|
"hideQrModalDescription": [4, "hide-qr-modal-description"],
|
|
373
|
+
"qrStyle": [16],
|
|
290
374
|
"open": [32],
|
|
291
375
|
"sessionId": [32],
|
|
292
376
|
"authenticationRequest": [32],
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
export { R as RESULT_STATUS, b as base64UrlEncode, c as checkMobile } from './gat-icon-
|
|
2
|
+
export { R as RESULT_STATUS, b as base64UrlEncode, c as checkMobile } from './gat-icon-check.js';
|
|
3
3
|
export { GatacaAutoqr, defineCustomElement as defineCustomElementGatacaAutoqr } from './gataca-autoqr.js';
|
|
4
4
|
export { GatacaQr, defineCustomElement as defineCustomElementGatacaQr } from './gataca-qr.js';
|
|
5
5
|
export { GatacaQrdisplay, defineCustomElement as defineCustomElementGatacaQrdisplay } from './gataca-qrdisplay.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const logoGatacaSvg = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDc2IDcxIiB3aWR0aD0iNzEiIGhlaWdodD0iNjYiPgoJPHRpdGxlPlZlY3RvciAoMyktc3ZnPC90aXRsZT4KCTxzdHlsZT4KCQkuczAgeyBmaWxsOiAjNDc0NWI3IH0gCgk8L3N0eWxlPgoJPHBhdGggaWQ9IkxheWVyIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsYXNzPSJzMCIgZD0ibTcyLjIgMzguNGMyLjIgMy4zIDMuNSA3LjIgMy41IDExLjQgMCAxMS4yLTguOCAyMC4yLTE5LjkgMjAuN3EtMC40IDAtMC44IDBjLTMgMC01LjgtMC42LTguNC0xLjdxLTIuMS0xLTMuOC0yLjMtMS4xLTAuOC0yLjEtMS43LTEuMy0xLjItMi4zLTIuNi0wLjUgMC42LTEgMS4yYy0zLjggNC40LTkuNCA3LjEtMTUuNyA3LjEtNi43IDAtMTIuNi0zLjItMTYuNC04LjEtMi43LTMuNS00LjMtNy44LTQuMy0xMi42IDAtMTAuNiA4LTE5LjMgMTguMy0yMC41LTEuMS0yLjUtMS43LTUuMi0xLjctOC4xIDAtMTEuNSA5LjMtMjAuNyAyMC44LTIwLjcgMTAuMiAwIDE4LjcgNy40IDIwLjQgMTcuMnEwLjMgMS43IDAuMyAzLjVjMCAyLjktMC42IDUuNi0xLjcgOC4xIDYuMiAwLjcgMTEuNiA0LjIgMTQuOCA5LjF6bS00NC43LTIzLjVjLTMuNCA2LTEuNCAxMy41IDQuNSAxN3EwLjEgMCAwLjIgMC4xYzIuNCAxLjMgNS4xIDEuOCA3LjcgMS41IDEuNS0wLjIgMy4xLTAuNyA0LjUtMS40cTAuMi0wLjIgMC40LTAuM2MxLjgtMSAzLjMtMi41IDQuNC00LjRxMC43LTEuMyAxLjEtMi42YzEuNy01LjQtMC42LTExLjUtNS43LTE0LjQtNi0zLjQtMTMuNi0xLjQtMTcuMSA0LjV6bTM4LjUgNDAuOGMyLTMuOSAxLjktOC40LTAuMi0xMi0xLTEuOC0yLjYtMy41LTQuNi00LjYtMy45LTIuMy04LjUtMi4yLTEyLjMtMC4ycS0wLjIgMC4yLTAuNCAwLjMtMC45IDAuNS0xLjcgMS4ybDEzLjYgNy44djAuMWwtNi43IDUuNi0xMS02LjQtMC40LTAuMi03LTQtNC4yLTIuNS0yLjYtMS40cS0wLjItMC4yLTAuNC0wLjMtMC4xIDAtMC4yLTAuMWMtNS45LTMuNC0xMy41LTEuMy0xNyA0LjYtMi41IDQuNC0yLjEgOS43IDAuNyAxMy41IDEgMS40IDIuMyAyLjYgMy45IDMuNSA0LjggMi43IDEwLjYgMiAxNC41LTEuNGwtMTIuNC03LjEgNi44LTUuNiA5LjYgNS41IDAuNCAwLjIgNyA0LjEgNS42IDMuMiAxLjggMWMzLjMgMS45IDcuMyAyLjMgMTAuOSAwLjkgMi42LTEuMSA0LjgtMyA2LjMtNS43eiIvPgo8L3N2Zz4=';
|
|
2
2
|
|
|
3
3
|
function getDefaultExportFromCjs (x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -25,4 +25,10 @@ var qrCodeStyling = createCommonjsModule(function (module, exports) {
|
|
|
25
25
|
|
|
26
26
|
const QRCode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