@mcp-abap-adt/connection 9.4.2 → 10.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +175 -1
  2. package/README.md +77 -36
  3. package/dist/connection/AbstractAbapConnection.d.ts +211 -56
  4. package/dist/connection/AbstractAbapConnection.d.ts.map +1 -1
  5. package/dist/connection/AbstractAbapConnection.js +622 -255
  6. package/dist/connection/CloudHttpTransport.d.ts.map +1 -1
  7. package/dist/connection/CloudHttpTransport.js +15 -5
  8. package/dist/connection/CredentialAbapConnection.d.ts +21 -20
  9. package/dist/connection/CredentialAbapConnection.d.ts.map +1 -1
  10. package/dist/connection/CredentialAbapConnection.js +39 -46
  11. package/dist/connection/HttpTransport.d.ts +30 -14
  12. package/dist/connection/HttpTransport.d.ts.map +1 -1
  13. package/dist/connection/HttpTransport.js +99 -19
  14. package/dist/connection/IAdtTransport.d.ts +19 -2
  15. package/dist/connection/IAdtTransport.d.ts.map +1 -1
  16. package/dist/connection/OnPremHttpTransport.d.ts.map +1 -1
  17. package/dist/connection/OnPremHttpTransport.js +4 -3
  18. package/dist/connection/RfcTransport.d.ts +23 -3
  19. package/dist/connection/RfcTransport.d.ts.map +1 -1
  20. package/dist/connection/RfcTransport.js +48 -15
  21. package/dist/connection/authErrors.d.ts +61 -0
  22. package/dist/connection/authErrors.d.ts.map +1 -0
  23. package/dist/connection/authErrors.js +78 -0
  24. package/dist/connection/requestTarget.d.ts +12 -0
  25. package/dist/connection/requestTarget.d.ts.map +1 -0
  26. package/dist/connection/requestTarget.js +23 -0
  27. package/dist/connection/rfcConversation.d.ts +10 -5
  28. package/dist/connection/rfcConversation.d.ts.map +1 -1
  29. package/dist/connection/rfcConversation.js +6 -8
  30. package/dist/index.d.ts +1 -2
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +4 -12
  33. package/dist/session/SessionLifecycle.d.ts +1 -1
  34. package/dist/session/SessionLifecycle.d.ts.map +1 -1
  35. package/docs/INDEX.md +4 -1
  36. package/docs/INSTALLATION.md +12 -5
  37. package/docs/JWT_AUTH_TOOLS.md +2 -2
  38. package/docs/MIGRATION-10.0.md +284 -0
  39. package/docs/SCOPE.md +2 -2
  40. package/docs/STATEFUL_SESSION_GUIDE.md +30 -10
  41. package/docs/USAGE.md +118 -35
  42. package/examples/README.md +5 -4
  43. package/examples/basic-connection.js +1 -1
  44. package/examples/jwt-with-token-refresh.js +14 -15
  45. package/examples/saml-connection.js +1 -1
  46. package/package.json +4 -3
  47. package/dist/auth/FileCertificateMaterialLoader.d.ts +0 -6
  48. package/dist/auth/FileCertificateMaterialLoader.d.ts.map +0 -1
  49. package/dist/auth/FileCertificateMaterialLoader.js +0 -28
  50. package/dist/auth/ntlm.d.ts +0 -26
  51. package/dist/auth/ntlm.d.ts.map +0 -1
  52. package/dist/auth/ntlm.js +0 -72
  53. package/dist/auth/providers.d.ts +0 -125
  54. package/dist/auth/providers.d.ts.map +0 -1
  55. package/dist/auth/providers.js +0 -183
  56. package/dist/utils/tokenRefresh.d.ts +0 -15
  57. package/dist/utils/tokenRefresh.d.ts.map +0 -1
  58. package/dist/utils/tokenRefresh.js +0 -55
@@ -1,8 +1,10 @@
1
1
  import type { IAdtWireResponse, ICriticalSection, IRequestProfiling, ISessionLifecycleAware } from '@mcp-abap-adt/interfaces-adt-connection';
2
+ import type { IAuthRejection, ILogonTarget } from '@mcp-abap-adt/interfaces-auth';
2
3
  import type { SapConfig } from '../config/sapConfig.js';
3
4
  import type { ILogger } from '../logger.js';
4
- import { SessionLifecycle } from '../session/SessionLifecycle.js';
5
+ import { type RequestLease, SessionLifecycle } from '../session/SessionLifecycle.js';
5
6
  import type { AbapConnection, AbapRequestOptions } from './AbapConnection.js';
7
+ import { type GuardedAnswer } from './authErrors.js';
6
8
  import { type IAdtSessionContext, type IAdtTransport } from './IAdtTransport.js';
7
9
  declare abstract class AbstractAbapConnection implements AbapConnection, ISessionLifecycleAware, ICriticalSection, IRequestProfiling {
8
10
  private readonly config;
@@ -13,7 +15,9 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
13
15
  * config: the wire is a fact about the deployment, and a library that
14
16
  * picked one would be guessing at the thing this design exists to stop
15
17
  * guessing at. It also carries what the caller alone can wire — the
16
- * credential's TLS material, the client — which is why it arrives built.
18
+ * client, the address, agent options such as `ca` — which is why it
19
+ * arrives built. The credential's TLS material is not among them: the
20
+ * provider offers it to the wire at logon.
17
21
  */
18
22
  readonly transport: IAdtTransport;
19
23
  protected readonly logger: ILogger | null;
@@ -121,7 +125,9 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
121
125
  * config: the wire is a fact about the deployment, and a library that
122
126
  * picked one would be guessing at the thing this design exists to stop
123
127
  * guessing at. It also carries what the caller alone can wire — the
124
- * credential's TLS material, the client — which is why it arrives built.
128
+ * client, the address, agent options such as `ca` — which is why it
129
+ * arrives built. The credential's TLS material is not among them: the
130
+ * provider offers it to the wire at logon.
125
131
  */
126
132
  transport: IAdtTransport, logger: ILogger | null, sessionId?: string);
127
133
  /**
@@ -194,17 +200,10 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
194
200
  /**
195
201
  * Gets the credential ready before anything is sent.
196
202
  *
197
- * A no-op for the auth types whose credential is already in hand — basic
198
- * builds a header from the configuration, JWT carries a token it was given.
199
- * It exists for the ones that have to fetch or load theirs, because the
200
- * preflight now runs BEFORE `establishSession()` and needs a credential to
201
- * go out with: a certificate connection reads its material there, and
202
- * without this the preflight throws `certificate material not loaded` while
203
- * assembling the transport — before a single request is made, on every
204
- * system, cloud or on-prem.
205
- *
206
- * Must be idempotent: `establishSession()` may prepare the same credential
207
- * again, and does.
203
+ * `connect()` calls it once, before the wire opens, so that a credential
204
+ * which cannot get ready sends nothing and the wire's logon has something to
205
+ * bring. Nothing prepares again afterwards: not the preflight, not
206
+ * `establishSession()`, not the one more logon a refused one is given.
208
207
  */
209
208
  protected prepareCredential(): Promise<void>;
210
209
  /**
@@ -269,6 +268,22 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
269
268
  * Safe to call at any time: with nothing dispatched it returns immediately.
270
269
  */
271
270
  flushGoodbye(timeoutMs?: number): Promise<void>;
271
+ /**
272
+ * Say goodbye to the session `context` describes, without waiting for it.
273
+ *
274
+ * The one way every goodbye is sent, so that each behaves the same: a
275
+ * `close()` that rejects and one that throws synchronously — a custom wire
276
+ * may write it as a plain function — are both logged and absorbed, and the
277
+ * promise returned never rejects. Unguarded, a synchronous throw escaped
278
+ * before any `.catch` was attached, replaced the error the caller was owed
279
+ * and skipped the clearing that follows every call site.
280
+ *
281
+ * `close()` is CALLED here, synchronously, not deferred to a later turn: the
282
+ * wires read the cookie jar and the affinity headers on their first line,
283
+ * and every caller clears them right after this returns. A deferred call
284
+ * would send the goodbye without the session it is ending.
285
+ */
286
+ private dispatchGoodbye;
272
287
  isConnected(): boolean;
273
288
  /**
274
289
  * Fingerprint of the SAP-side session, or null when none is known.
@@ -281,33 +296,6 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
281
296
  * learned; only a CHANGED value means the session we had is gone.
282
297
  */
283
298
  getSessionIdentity(): string | null;
284
- /**
285
- * Re-establishes the session for a request that is recovering from a
286
- * credential renewal, then lets that request retry.
287
- *
288
- * Runs as its own `recover` transition, which never joins another: each
289
- * recovery carries the baseline of its own request. It yields to a caller's
290
- * teardown — if the epoch moved since `baselineEpoch`, someone asked to stop
291
- * while this was being prepared, and a retry must not resurrect a session
292
- * they discarded.
293
- *
294
- * The transition queues behind the cleanup that the renewal itself raised, so
295
- * it never re-establishes on top of stale transport state.
296
- */
297
- protected recoverSession(baselineEpoch: number): Promise<void>;
298
- /**
299
- * Establishes a session and publishes it — but only if nobody asked to stop
300
- * meanwhile.
301
- *
302
- * The epoch is checked BEFORE, so a teardown already requested costs no round
303
- * trip, and AFTER, because establishment takes time and a caller can ask to
304
- * stop during it. Checking only before is the defect this exists to prevent:
305
- * markConnected() would then clear the teardown state and hand back a session
306
- * the caller had already discarded.
307
- *
308
- * Shared by connect() and recoverSession() rather than written twice —
309
- * the two drifted apart once already, and a third caller would drift again.
310
- */
311
299
  /**
312
300
  * What a session strategy is given: enough to make one request and to prove
313
301
  * the session is ours, and nothing else. It cannot reach session state, so a
@@ -331,6 +319,19 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
331
319
  * has cleared it.
332
320
  */
333
321
  protected sessionContext(): IAdtSessionContext;
322
+ /**
323
+ * Establishes a session and publishes it — but only if nobody asked to stop
324
+ * meanwhile.
325
+ *
326
+ * The epoch is checked BEFORE, so a teardown already requested costs no round
327
+ * trip, and AFTER, because establishment takes time and a caller can ask to
328
+ * stop during it. Checking only before is the defect this exists to prevent:
329
+ * markConnected() would then clear the teardown state and hand back a session
330
+ * the caller had already discarded.
331
+ *
332
+ * Shared by connect() and its one more attempt after a refused logon rather
333
+ * than written twice — the two would drift apart, as they did once before.
334
+ */
334
335
  private establishAndCommit;
335
336
  /** The teardown epoch, for a recovery to capture before it starts. */
336
337
  protected get teardownEpoch(): number;
@@ -345,14 +346,16 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
345
346
  /**
346
347
  * Raises a session-lost teardown from inside request handling.
347
348
  *
348
- * There are exactly three things that can cost us the ABAP session, and they
349
+ * There are exactly two things that can cost us the ABAP session, and they
349
350
  * were found one at a time precisely because they were written apart. They go
350
- * through here so a fourth joins the list instead of inventing its own
351
+ * through here so a third joins the list instead of inventing its own
351
352
  * sequence:
352
353
  *
353
- * - the credential was renewed (the injected auth says so);
354
354
  * - the server says the session is gone (a dead-session response);
355
- * - the tracked cookie changed under us while a lock was held.
355
+ * - the tracked cookie changed under us.
356
+ *
357
+ * A renewed credential is not one: the session survives a renewal, and a
358
+ * resend that finds it replaced is the second case.
356
359
  *
357
360
  * `internal` origin, so it does not cancel the recovery that raised it, and
358
361
  * `sessionLost`, so admission shuts at once and the identity is dropped
@@ -363,8 +366,6 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
363
366
  * wait for the very request that raised it.
364
367
  */
365
368
  protected raiseSessionLost(reason: string): void;
366
- /** The credential-renewal raiser; see raiseSessionLost(). */
367
- protected discardSession(): void;
368
369
  /**
369
370
  * Whether an error is this connection's own verdict about the session rather
370
371
  * than something the server said about a request.
@@ -424,9 +425,139 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
424
425
  protected sessionFingerprint(): Map<string, string>;
425
426
  getBaseUrl(): Promise<string>;
426
427
  getAuthHeaders(): Promise<Record<string, string>>;
428
+ /**
429
+ * What every request carries: the client, then whatever the credential
430
+ * writes. On every path, the establishing call included.
431
+ */
432
+ protected credentialHeaders(headers: Record<string, string>): Promise<void>;
433
+ /**
434
+ * The credential writes what this request carries into `headers`. Asked per
435
+ * attempt, never held. Throws when the credential refuses. The base has no
436
+ * credential and writes nothing.
437
+ */
438
+ protected authorizeRequest(_headers: Record<string, string>): Promise<void>;
439
+ /**
440
+ * A logon is being made; the credential says what it brings. Throws when the
441
+ * credential refuses. The base has no credential and brings nothing.
442
+ */
443
+ protected logon(_target: ILogonTarget): Promise<void>;
444
+ /**
445
+ * The system refused the credential. The answer is the credential's: Ok
446
+ * means it renewed and one more attempt is worth making; `thrown`, when
447
+ * present, is what the provider threw instead of answering. The base has
448
+ * nothing to renew.
449
+ */
450
+ protected credentialRejected(_rejection: IAuthRejection): Promise<GuardedAnswer>;
427
451
  makeAdtRequest<T = any, D = any>(options: AbapRequestOptions): Promise<IAdtWireResponse<T, D>>;
428
452
  private performRequest;
429
- protected abstract buildAuthorizationHeader(): string;
453
+ /**
454
+ * One attempt: sent, and its response folded into the session.
455
+ *
456
+ * Only while the session the request was admitted to is still the current
457
+ * one. Every attempt passes here — the first and each resend — and a resend
458
+ * can follow an await long enough for the caller to disconnect and connect
459
+ * again; sent then, it would carry the new session's cookie and token and
460
+ * act inside a session the request was never admitted to.
461
+ */
462
+ private sendObserved;
463
+ /**
464
+ * One attempt's headers: the request's own, with what the credential writes
465
+ * for THIS attempt on top.
466
+ *
467
+ * A fresh record every time, never the previous attempt's: a provider that
468
+ * wrote `Authorization` and, once renewed, writes only cookies — or renames
469
+ * its cookie — would otherwise send the stale value beside the new one. The
470
+ * credential's cookies merge into the request's `Cookie` on the copy, so the
471
+ * wire's session cookies in `base` survive and a stale credential cookie
472
+ * does not.
473
+ *
474
+ * The credential owns authentication only. It outranks the caller's custom
475
+ * headers, but not the wire's CSRF token nor the request's `Content-Type`
476
+ * and `Accept`: those are put back from `base` whichever way the provider
477
+ * spelled them — as the wire's own token fetch already does.
478
+ */
479
+ private authorizedFrom;
480
+ /**
481
+ * The wire's own recovery from a failed attempt: the session faults it can
482
+ * cure — a stale CSRF token, a login-form 401 on a mutation, a GET 401 that
483
+ * cookies answer — and the verdicts it must not hide.
484
+ *
485
+ * Runs before anything asks the credential, because it cures session
486
+ * faults, not credential ones: a stale CSRF token under Basic must not
487
+ * become "the user or password was refused". What it cannot cure it throws,
488
+ * and a credential failure among that goes on to the provider. One
489
+ * exception: inside a critical section the login-form 401 is not cured
490
+ * here, because curing it discards the session and the lock with it.
491
+ *
492
+ * `requestHeaders` are the request's own, without the credential's: what
493
+ * the recovery adds — a new token, the jar's cookies — goes there, and each
494
+ * resend is authorized anew on top (`authorizedFrom`).
495
+ */
496
+ private recoverOnWire;
497
+ /**
498
+ * What reaches the provider: a failure the wire's recovery could not cure
499
+ * and that is the credential's — a refused logon, or a 401 on the request.
500
+ * Everything else is thrown as it is.
501
+ *
502
+ * Ok buys one more attempt on the same lease, re-authorized. After a refused
503
+ * logon the wire has no token, so it logs on anew first — its token dropped
504
+ * and earned again, nothing on RFC — and the new token and cookies go onto
505
+ * the request. The logon and the resend share the request's one retry: a
506
+ * credential failure in either is the verdict. As in `recoverOnWire`,
507
+ * `requestHeaders` are the request's own, and the resend is authorized anew.
508
+ */
509
+ private answerCredentialFailure;
510
+ /**
511
+ * The server telling us the session is gone, on any attempt — the first or
512
+ * a resend — is the same verdict: SESSION_REPLACED, and the session is lost.
513
+ *
514
+ * Invisible to the identity comparison: the cookie, and therefore the
515
+ * fingerprint, is unchanged. Only the state can see it, and it must say so
516
+ * at once — otherwise a later unlockAll() finds a match and unlocks over a
517
+ * dead session. A request from a previous session says nothing about the
518
+ * current one, so its answer is not acted on.
519
+ */
520
+ private throwIfSessionDead;
521
+ /**
522
+ * What a request whose lease went stale gets: a session verdict as it is,
523
+ * anything else — the wire's error, the provider's refusal — replaced by
524
+ * NOT_CONNECTED, because it is about a session the request no longer holds.
525
+ */
526
+ private staleVerdict;
527
+ /** `error` as it is while the lease is current; its stale verdict once not. */
528
+ private staleOr;
529
+ /**
530
+ * The provider's answer to a refusal, within the request's one retry.
531
+ *
532
+ * Returns when it renewed. Its Oops is thrown in its own words, the wire's
533
+ * error as the cause — or, when the provider threw instead of answering,
534
+ * that throw. A refusal after the retry was spent is the verdict, and the
535
+ * provider is not asked again — asking would invite a second renewal.
536
+ */
537
+ private renewCredential;
538
+ /**
539
+ * Whether a failure is the credential's to answer, and how to tell the
540
+ * provider: a wire's refused logon, with its raw error, or a 401 on the
541
+ * request. A 403 and every other status are not — the credential got in,
542
+ * and what it may do is not something renewing it changes.
543
+ */
544
+ private credentialRejection;
545
+ /**
546
+ * Whether a failure of the wire's retry says more than the error that
547
+ * started it. A session verdict does, and so does the credential's: a
548
+ * provider's refusal, a refused logon, a 401 — the original 403 would hide
549
+ * exactly what the caller or the provider has to answer.
550
+ */
551
+ private outranksOriginal;
552
+ /**
553
+ * The token fetch before a mutation. Its failures are swallowed as they
554
+ * always were — the CSRF recovery handles a missing token — except the
555
+ * credential's: the provider's refusal ends the request before anything is
556
+ * sent, and a refused logon goes to the provider, whose Ok buys one more
557
+ * fetch within the request's one retry — unless the session the request
558
+ * was admitted to is gone by then, when nothing more is sent.
559
+ */
560
+ private readyWireUpfront;
430
561
  /**
431
562
  * Ask the wire to establish itself, and hand back what it earned.
432
563
  *
@@ -437,8 +568,15 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
437
568
  * read what it means.
438
569
  */
439
570
  protected fetchCsrfToken(_url: string, retryCount?: number, retryDelay?: number,
440
- /** Fences the response effects; omitted during connect(), which has no lease. */
441
- generation?: number): Promise<string>;
571
+ /**
572
+ * The request's lease: fences what is sent and the response effects.
573
+ * A plain session generation — what this parameter took before 10.0.1,
574
+ * and what a subclass may still pass — keeps its 10.0.0 meaning: it fences
575
+ * what the connection does with the answer (the identity policy), not the
576
+ * wire's own ingest of it, and never stops the request being sent.
577
+ * Omitted during connect(), which has no lease.
578
+ */
579
+ fence?: number | Pick<RequestLease, 'generation'>): Promise<string>;
442
580
  protected getCsrfToken(): string | null;
443
581
  /**
444
582
  * Set CSRF token (protected for use by subclasses)
@@ -456,12 +594,6 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
456
594
  * and how it stores them is its business, not this class's.
457
595
  */
458
596
  protected setInitialCookies(cookies: string): void;
459
- /**
460
- * Subclasses override to inject extra https.Agent options (e.g. mTLS
461
- * cert/key/pfx). The returned options are merged with the base options
462
- * (rejectUnauthorized).
463
- */
464
- protected getHttpsAgentOptions(): import('node:https').AgentOptions;
465
597
  /**
466
598
  * Make sure the wire is ready to carry a mutation.
467
599
  *
@@ -472,6 +604,29 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
472
604
  * by the caller, but logged as an error and repeated on the next one.
473
605
  */
474
606
  private ensureWireReady;
607
+ /**
608
+ * The context for a token exchange a request makes on its own behalf — its
609
+ * wire's upfront fetch, a CSRF recovery, the fetch after a refused logon.
610
+ *
611
+ * With a lease, nothing is sent once the session the request was admitted
612
+ * to is gone. The check is made in `authorize`, AFTER the provider has
613
+ * written: that is the last await before the wire sends, and a provider may
614
+ * take long enough for the caller to disconnect and connect again — sent
615
+ * then, the request would carry the new session's cookies. The throw is a
616
+ * session verdict, so the exchange stops at once, past its retries.
617
+ *
618
+ * Without one — connect()'s own establishment, which is making the session
619
+ * rather than working in it — nothing is fenced. `generation` alone fences
620
+ * what the connection does with an answer, and nothing else: the request is
621
+ * sent, and the wire still folds the answer into its jar.
622
+ */
623
+ private leasedContext;
624
+ /**
625
+ * What stops a token exchange at once, past its retries: a session verdict,
626
+ * or the provider's refusal to authorize it — asking again would only ask
627
+ * the provider again.
628
+ */
629
+ protected endsTheExchange(error: unknown): boolean;
475
630
  /**
476
631
  * Clear SAP-side session state when SAP rejects the cached CSRF token + session
477
632
  * cookies (HTTP 401 on a mutation while a cached token exists). This forces the
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractAbapConnection.d.ts","sourceRoot":"","sources":["../../src/connection/AbstractAbapConnection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,yCAAyC,CAAC;AAOjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAEL,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAGnB,MAAM,oBAAoB,CAAC;AAqC5B,uBAAe,sBACb,YACE,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB;IAuGjB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB;;;;;;;;OAQG;IACH,QAAQ,CAAC,SAAS,EAAE,aAAa;IACjC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAhH3C;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,SAAS,mBAA0B;IAEtD,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,WAAW,CAAyC;IAE5D;;;;;;;;;;;;;;OA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