@fedify/vocab 2.4.0-dev.2259 → 2.4.0-dev.2260

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.
@@ -6,7 +6,7 @@ import { SpanStatusCode, trace } from "@opentelemetry/api";
6
6
  import jsonld from "@fedify/vocab-runtime/jsonld";
7
7
  import { getLogger } from "@logtape/logtape";
8
8
  import { compactJsonLdCache, createScopedContextLoader, getPortableActorGateways, isTrustedIriOrigin, normalizeJsonLdIris } from "@fedify/vocab-runtime/internal/jsonld-cache";
9
- import { copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableResponseClaim, isPortableIri, isPortableMode, isUnsecuredPortableObject, isUnverifiedPortableClaim, markUnverifiedPortableClaim, mustDereferencePortableObject, parseCompatibleEf61Reference, recordPortableReferrer, rejectMalformedCompatibleReference, warnUnverifiableEmbeddedObject } from "@fedify/vocab-runtime/internal/portable-dereference";
9
+ import { copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableResponseClaim, getReferrerGateways, isPortableIri, isPortableMode, isUnsecuredPortableObject, isUnverifiedPortableClaim, markUnverifiedPortableClaim, mustDereferencePortableObject, parseCompatibleEf61Reference, recordPortableReferrer, rejectMalformedCompatibleReference, warnUnverifiableEmbeddedObject } from "@fedify/vocab-runtime/internal/portable-dereference";
10
10
  import { enterSignedValueScope, resolveSignedValues, retainedSignedValueRef } from "@fedify/vocab-runtime/internal/signed-representation";
11
11
  import { isTemporalDuration, isTemporalInstant } from "@fedify/vocab-runtime/temporal";
12
12
  //#region \0rolldown/runtime.js
@@ -1143,7 +1143,7 @@ var Object$1 = class Object$1 {
1143
1143
  span.end();
1144
1144
  }
1145
1145
  };
1146
- if (isPortableIri(url)) return await dereferencePortable(url);
1146
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1147
1147
  const lookupUrl = formatIri(url);
1148
1148
  const portableMode = isPortableMode(this, options);
1149
1149
  if (portableMode) {
@@ -1400,7 +1400,7 @@ var Object$1 = class Object$1 {
1400
1400
  span.end();
1401
1401
  }
1402
1402
  };
1403
- if (isPortableIri(url)) return await dereferencePortable(url);
1403
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1404
1404
  const lookupUrl = formatIri(url);
1405
1405
  const portableMode = isPortableMode(this, options);
1406
1406
  if (portableMode) {
@@ -1752,7 +1752,7 @@ var Object$1 = class Object$1 {
1752
1752
  span.end();
1753
1753
  }
1754
1754
  };
1755
- if (isPortableIri(url)) return await dereferencePortable(url);
1755
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1756
1756
  const lookupUrl = formatIri(url);
1757
1757
  const portableMode = isPortableMode(this, options);
1758
1758
  if (portableMode) {
@@ -2072,7 +2072,7 @@ var Object$1 = class Object$1 {
2072
2072
  span.end();
2073
2073
  }
2074
2074
  };
2075
- if (isPortableIri(url)) return await dereferencePortable(url);
2075
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2076
2076
  const lookupUrl = formatIri(url);
2077
2077
  const portableMode = isPortableMode(this, options);
2078
2078
  if (portableMode) {
@@ -2344,7 +2344,7 @@ var Object$1 = class Object$1 {
2344
2344
  span.end();
2345
2345
  }
2346
2346
  };
2347
- if (isPortableIri(url)) return await dereferencePortable(url);
2347
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2348
2348
  const lookupUrl = formatIri(url);
2349
2349
  const portableMode = isPortableMode(this, options);
2350
2350
  if (portableMode) {
@@ -2584,7 +2584,7 @@ var Object$1 = class Object$1 {
2584
2584
  span.end();
2585
2585
  }
2586
2586
  };
2587
- if (isPortableIri(url)) return await dereferencePortable(url);
2587
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2588
2588
  const lookupUrl = formatIri(url);
2589
2589
  const portableMode = isPortableMode(this, options);
2590
2590
  if (portableMode) {
@@ -2903,7 +2903,7 @@ var Object$1 = class Object$1 {
2903
2903
  span.end();
2904
2904
  }
2905
2905
  };
2906
- if (isPortableIri(url)) return await dereferencePortable(url);
2906
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2907
2907
  const lookupUrl = formatIri(url);
2908
2908
  const portableMode = isPortableMode(this, options);
2909
2909
  if (portableMode) {
@@ -3222,7 +3222,7 @@ var Object$1 = class Object$1 {
3222
3222
  span.end();
3223
3223
  }
3224
3224
  };
3225
- if (isPortableIri(url)) return await dereferencePortable(url);
3225
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3226
3226
  const lookupUrl = formatIri(url);
3227
3227
  const portableMode = isPortableMode(this, options);
3228
3228
  if (portableMode) {
@@ -3533,7 +3533,7 @@ var Object$1 = class Object$1 {
3533
3533
  span.end();
3534
3534
  }
3535
3535
  };
3536
- if (isPortableIri(url)) return await dereferencePortable(url);
3536
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3537
3537
  const lookupUrl = formatIri(url);
3538
3538
  const portableMode = isPortableMode(this, options);
3539
3539
  if (portableMode) {
@@ -3844,7 +3844,7 @@ var Object$1 = class Object$1 {
3844
3844
  span.end();
3845
3845
  }
3846
3846
  };
3847
- if (isPortableIri(url)) return await dereferencePortable(url);
3847
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3848
3848
  const lookupUrl = formatIri(url);
3849
3849
  const portableMode = isPortableMode(this, options);
3850
3850
  if (portableMode) {
@@ -4160,7 +4160,7 @@ var Object$1 = class Object$1 {
4160
4160
  span.end();
4161
4161
  }
4162
4162
  };
4163
- if (isPortableIri(url)) return await dereferencePortable(url);
4163
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4164
4164
  const lookupUrl = formatIri(url);
4165
4165
  const portableMode = isPortableMode(this, options);
4166
4166
  if (portableMode) {
@@ -4386,7 +4386,7 @@ var Object$1 = class Object$1 {
4386
4386
  span.end();
4387
4387
  }
4388
4388
  };
4389
- if (isPortableIri(url)) return await dereferencePortable(url);
4389
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4390
4390
  const lookupUrl = formatIri(url);
4391
4391
  const portableMode = isPortableMode(this, options);
4392
4392
  if (portableMode) {
@@ -4618,7 +4618,7 @@ var Object$1 = class Object$1 {
4618
4618
  span.end();
4619
4619
  }
4620
4620
  };
4621
- if (isPortableIri(url)) return await dereferencePortable(url);
4621
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4622
4622
  const lookupUrl = formatIri(url);
4623
4623
  const portableMode = isPortableMode(this, options);
4624
4624
  if (portableMode) {
@@ -4850,7 +4850,7 @@ var Object$1 = class Object$1 {
4850
4850
  span.end();
4851
4851
  }
4852
4852
  };
4853
- if (isPortableIri(url)) return await dereferencePortable(url);
4853
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4854
4854
  const lookupUrl = formatIri(url);
4855
4855
  const portableMode = isPortableMode(this, options);
4856
4856
  if (portableMode) {
@@ -5100,7 +5100,7 @@ var Object$1 = class Object$1 {
5100
5100
  span.end();
5101
5101
  }
5102
5102
  };
5103
- if (isPortableIri(url)) return await dereferencePortable(url);
5103
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5104
5104
  const lookupUrl = formatIri(url);
5105
5105
  const portableMode = isPortableMode(this, options);
5106
5106
  if (portableMode) {
@@ -5362,7 +5362,7 @@ var Object$1 = class Object$1 {
5362
5362
  span.end();
5363
5363
  }
5364
5364
  };
5365
- if (isPortableIri(url)) return await dereferencePortable(url);
5365
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5366
5366
  const lookupUrl = formatIri(url);
5367
5367
  const portableMode = isPortableMode(this, options);
5368
5368
  if (portableMode) {
@@ -5662,7 +5662,7 @@ var Object$1 = class Object$1 {
5662
5662
  span.end();
5663
5663
  }
5664
5664
  };
5665
- if (isPortableIri(url)) return await dereferencePortable(url);
5665
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5666
5666
  const lookupUrl = formatIri(url);
5667
5667
  const portableMode = isPortableMode(this, options);
5668
5668
  if (portableMode) {
@@ -5962,7 +5962,7 @@ var Object$1 = class Object$1 {
5962
5962
  span.end();
5963
5963
  }
5964
5964
  };
5965
- if (isPortableIri(url)) return await dereferencePortable(url);
5965
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5966
5966
  const lookupUrl = formatIri(url);
5967
5967
  const portableMode = isPortableMode(this, options);
5968
5968
  if (portableMode) {
@@ -6262,7 +6262,7 @@ var Object$1 = class Object$1 {
6262
6262
  span.end();
6263
6263
  }
6264
6264
  };
6265
- if (isPortableIri(url)) return await dereferencePortable(url);
6265
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6266
6266
  const lookupUrl = formatIri(url);
6267
6267
  const portableMode = isPortableMode(this, options);
6268
6268
  if (portableMode) {
@@ -6599,7 +6599,7 @@ var Object$1 = class Object$1 {
6599
6599
  span.end();
6600
6600
  }
6601
6601
  };
6602
- if (isPortableIri(url)) return await dereferencePortable(url);
6602
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6603
6603
  const lookupUrl = formatIri(url);
6604
6604
  const portableMode = isPortableMode(this, options);
6605
6605
  if (portableMode) {
@@ -6922,7 +6922,7 @@ var Object$1 = class Object$1 {
6922
6922
  span.end();
6923
6923
  }
6924
6924
  };
6925
- if (isPortableIri(url)) return await dereferencePortable(url);
6925
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6926
6926
  const lookupUrl = formatIri(url);
6927
6927
  const portableMode = isPortableMode(this, options);
6928
6928
  if (portableMode) {
@@ -7148,7 +7148,7 @@ var Object$1 = class Object$1 {
7148
7148
  span.end();
7149
7149
  }
7150
7150
  };
7151
- if (isPortableIri(url)) return await dereferencePortable(url);
7151
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
7152
7152
  const lookupUrl = formatIri(url);
7153
7153
  const portableMode = isPortableMode(this, options);
7154
7154
  if (portableMode) {
@@ -7374,7 +7374,7 @@ var Object$1 = class Object$1 {
7374
7374
  span.end();
7375
7375
  }
7376
7376
  };
7377
- if (isPortableIri(url)) return await dereferencePortable(url);
7377
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
7378
7378
  const lookupUrl = formatIri(url);
7379
7379
  const portableMode = isPortableMode(this, options);
7380
7380
  if (portableMode) {
@@ -10460,7 +10460,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10460
10460
  span.end();
10461
10461
  }
10462
10462
  };
10463
- if (isPortableIri(url)) return await dereferencePortable(url);
10463
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
10464
10464
  const lookupUrl = formatIri(url);
10465
10465
  const portableMode = isPortableMode(this, options);
10466
10466
  if (portableMode) {
@@ -10703,7 +10703,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10703
10703
  span.end();
10704
10704
  }
10705
10705
  };
10706
- if (isPortableIri(url)) return await dereferencePortable(url);
10706
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
10707
10707
  const lookupUrl = formatIri(url);
10708
10708
  const portableMode = isPortableMode(this, options);
10709
10709
  if (portableMode) {
@@ -11489,7 +11489,7 @@ var Activity = class Activity extends Object$1 {
11489
11489
  span.end();
11490
11490
  }
11491
11491
  };
11492
- if (isPortableIri(url)) return await dereferencePortable(url);
11492
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
11493
11493
  const lookupUrl = formatIri(url);
11494
11494
  const portableMode = isPortableMode(this, options);
11495
11495
  if (portableMode) {
@@ -11841,7 +11841,7 @@ var Activity = class Activity extends Object$1 {
11841
11841
  span.end();
11842
11842
  }
11843
11843
  };
11844
- if (isPortableIri(url)) return await dereferencePortable(url);
11844
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
11845
11845
  const lookupUrl = formatIri(url);
11846
11846
  const portableMode = isPortableMode(this, options);
11847
11847
  if (portableMode) {
@@ -12143,7 +12143,7 @@ var Activity = class Activity extends Object$1 {
12143
12143
  span.end();
12144
12144
  }
12145
12145
  };
12146
- if (isPortableIri(url)) return await dereferencePortable(url);
12146
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12147
12147
  const lookupUrl = formatIri(url);
12148
12148
  const portableMode = isPortableMode(this, options);
12149
12149
  if (portableMode) {
@@ -12451,7 +12451,7 @@ var Activity = class Activity extends Object$1 {
12451
12451
  span.end();
12452
12452
  }
12453
12453
  };
12454
- if (isPortableIri(url)) return await dereferencePortable(url);
12454
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12455
12455
  const lookupUrl = formatIri(url);
12456
12456
  const portableMode = isPortableMode(this, options);
12457
12457
  if (portableMode) {
@@ -12753,7 +12753,7 @@ var Activity = class Activity extends Object$1 {
12753
12753
  span.end();
12754
12754
  }
12755
12755
  };
12756
- if (isPortableIri(url)) return await dereferencePortable(url);
12756
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12757
12757
  const lookupUrl = formatIri(url);
12758
12758
  const portableMode = isPortableMode(this, options);
12759
12759
  if (portableMode) {
@@ -13057,7 +13057,7 @@ var Activity = class Activity extends Object$1 {
13057
13057
  span.end();
13058
13058
  }
13059
13059
  };
13060
- if (isPortableIri(url)) return await dereferencePortable(url);
13060
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
13061
13061
  const lookupUrl = formatIri(url);
13062
13062
  const portableMode = isPortableMode(this, options);
13063
13063
  if (portableMode) {
@@ -14763,7 +14763,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14763
14763
  span.end();
14764
14764
  }
14765
14765
  };
14766
- if (isPortableIri(url)) return await dereferencePortable(url);
14766
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
14767
14767
  const lookupUrl = formatIri(url);
14768
14768
  const portableMode = isPortableMode(this, options);
14769
14769
  if (portableMode) {
@@ -14989,7 +14989,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14989
14989
  span.end();
14990
14990
  }
14991
14991
  };
14992
- if (isPortableIri(url)) return await dereferencePortable(url);
14992
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
14993
14993
  const lookupUrl = formatIri(url);
14994
14994
  const portableMode = isPortableMode(this, options);
14995
14995
  if (portableMode) {
@@ -16602,7 +16602,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16602
16602
  span.end();
16603
16603
  }
16604
16604
  };
16605
- if (isPortableIri(url)) return await dereferencePortable(url);
16605
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
16606
16606
  const lookupUrl = formatIri(url);
16607
16607
  const portableMode = isPortableMode(this, options);
16608
16608
  if (portableMode) {
@@ -16828,7 +16828,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16828
16828
  span.end();
16829
16829
  }
16830
16830
  };
16831
- if (isPortableIri(url)) return await dereferencePortable(url);
16831
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
16832
16832
  const lookupUrl = formatIri(url);
16833
16833
  const portableMode = isPortableMode(this, options);
16834
16834
  if (portableMode) {
@@ -17586,7 +17586,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17586
17586
  span.end();
17587
17587
  }
17588
17588
  };
17589
- if (isPortableIri(url)) return await dereferencePortable(url);
17589
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
17590
17590
  const lookupUrl = formatIri(url);
17591
17591
  const portableMode = isPortableMode(this, options);
17592
17592
  if (portableMode) {
@@ -17812,7 +17812,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17812
17812
  span.end();
17813
17813
  }
17814
17814
  };
17815
- if (isPortableIri(url)) return await dereferencePortable(url);
17815
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
17816
17816
  const lookupUrl = formatIri(url);
17817
17817
  const portableMode = isPortableMode(this, options);
17818
17818
  if (portableMode) {
@@ -18570,7 +18570,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18570
18570
  span.end();
18571
18571
  }
18572
18572
  };
18573
- if (isPortableIri(url)) return await dereferencePortable(url);
18573
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
18574
18574
  const lookupUrl = formatIri(url);
18575
18575
  const portableMode = isPortableMode(this, options);
18576
18576
  if (portableMode) {
@@ -18795,7 +18795,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18795
18795
  span.end();
18796
18796
  }
18797
18797
  };
18798
- if (isPortableIri(url)) return await dereferencePortable(url);
18798
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
18799
18799
  const lookupUrl = formatIri(url);
18800
18800
  const portableMode = isPortableMode(this, options);
18801
18801
  if (portableMode) {
@@ -19688,7 +19688,7 @@ var Translation = class {
19688
19688
  span.end();
19689
19689
  }
19690
19690
  };
19691
- if (isPortableIri(url)) return await dereferencePortable(url);
19691
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
19692
19692
  const lookupUrl = formatIri(url);
19693
19693
  const portableMode = isPortableMode(this, options);
19694
19694
  if (portableMode) {
@@ -20567,7 +20567,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20567
20567
  span.end();
20568
20568
  }
20569
20569
  };
20570
- if (isPortableIri(url)) return await dereferencePortable(url);
20570
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
20571
20571
  const lookupUrl = formatIri(url);
20572
20572
  const portableMode = isPortableMode(this, options);
20573
20573
  if (portableMode) {
@@ -20792,7 +20792,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20792
20792
  span.end();
20793
20793
  }
20794
20794
  };
20795
- if (isPortableIri(url)) return await dereferencePortable(url);
20795
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
20796
20796
  const lookupUrl = formatIri(url);
20797
20797
  const portableMode = isPortableMode(this, options);
20798
20798
  if (portableMode) {
@@ -21683,7 +21683,7 @@ var Collection = class Collection extends Object$1 {
21683
21683
  span.end();
21684
21684
  }
21685
21685
  };
21686
- if (isPortableIri(url)) return await dereferencePortable(url);
21686
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
21687
21687
  const lookupUrl = formatIri(url);
21688
21688
  const portableMode = isPortableMode(this, options);
21689
21689
  if (portableMode) {
@@ -21909,7 +21909,7 @@ var Collection = class Collection extends Object$1 {
21909
21909
  span.end();
21910
21910
  }
21911
21911
  };
21912
- if (isPortableIri(url)) return await dereferencePortable(url);
21912
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
21913
21913
  const lookupUrl = formatIri(url);
21914
21914
  const portableMode = isPortableMode(this, options);
21915
21915
  if (portableMode) {
@@ -22135,7 +22135,7 @@ var Collection = class Collection extends Object$1 {
22135
22135
  span.end();
22136
22136
  }
22137
22137
  };
22138
- if (isPortableIri(url)) return await dereferencePortable(url);
22138
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22139
22139
  const lookupUrl = formatIri(url);
22140
22140
  const portableMode = isPortableMode(this, options);
22141
22141
  if (portableMode) {
@@ -22361,7 +22361,7 @@ var Collection = class Collection extends Object$1 {
22361
22361
  span.end();
22362
22362
  }
22363
22363
  };
22364
- if (isPortableIri(url)) return await dereferencePortable(url);
22364
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22365
22365
  const lookupUrl = formatIri(url);
22366
22366
  const portableMode = isPortableMode(this, options);
22367
22367
  if (portableMode) {
@@ -22602,7 +22602,7 @@ var Collection = class Collection extends Object$1 {
22602
22602
  span.end();
22603
22603
  }
22604
22604
  };
22605
- if (isPortableIri(url)) return await dereferencePortable(url);
22605
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22606
22606
  const lookupUrl = formatIri(url);
22607
22607
  const portableMode = isPortableMode(this, options);
22608
22608
  if (portableMode) {
@@ -22827,7 +22827,7 @@ var Collection = class Collection extends Object$1 {
22827
22827
  span.end();
22828
22828
  }
22829
22829
  };
22830
- if (isPortableIri(url)) return await dereferencePortable(url);
22830
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22831
22831
  const lookupUrl = formatIri(url);
22832
22832
  const portableMode = isPortableMode(this, options);
22833
22833
  if (portableMode) {
@@ -23052,7 +23052,7 @@ var Collection = class Collection extends Object$1 {
23052
23052
  span.end();
23053
23053
  }
23054
23054
  };
23055
- if (isPortableIri(url)) return await dereferencePortable(url);
23055
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23056
23056
  const lookupUrl = formatIri(url);
23057
23057
  const portableMode = isPortableMode(this, options);
23058
23058
  if (portableMode) {
@@ -23277,7 +23277,7 @@ var Collection = class Collection extends Object$1 {
23277
23277
  span.end();
23278
23278
  }
23279
23279
  };
23280
- if (isPortableIri(url)) return await dereferencePortable(url);
23280
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23281
23281
  const lookupUrl = formatIri(url);
23282
23282
  const portableMode = isPortableMode(this, options);
23283
23283
  if (portableMode) {
@@ -23502,7 +23502,7 @@ var Collection = class Collection extends Object$1 {
23502
23502
  span.end();
23503
23503
  }
23504
23504
  };
23505
- if (isPortableIri(url)) return await dereferencePortable(url);
23505
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23506
23506
  const lookupUrl = formatIri(url);
23507
23507
  const portableMode = isPortableMode(this, options);
23508
23508
  if (portableMode) {
@@ -23727,7 +23727,7 @@ var Collection = class Collection extends Object$1 {
23727
23727
  span.end();
23728
23728
  }
23729
23729
  };
23730
- if (isPortableIri(url)) return await dereferencePortable(url);
23730
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23731
23731
  const lookupUrl = formatIri(url);
23732
23732
  const portableMode = isPortableMode(this, options);
23733
23733
  if (portableMode) {
@@ -23952,7 +23952,7 @@ var Collection = class Collection extends Object$1 {
23952
23952
  span.end();
23953
23953
  }
23954
23954
  };
23955
- if (isPortableIri(url)) return await dereferencePortable(url);
23955
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23956
23956
  const lookupUrl = formatIri(url);
23957
23957
  const portableMode = isPortableMode(this, options);
23958
23958
  if (portableMode) {
@@ -24177,7 +24177,7 @@ var Collection = class Collection extends Object$1 {
24177
24177
  span.end();
24178
24178
  }
24179
24179
  };
24180
- if (isPortableIri(url)) return await dereferencePortable(url);
24180
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
24181
24181
  const lookupUrl = formatIri(url);
24182
24182
  const portableMode = isPortableMode(this, options);
24183
24183
  if (portableMode) {
@@ -25365,7 +25365,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25365
25365
  span.end();
25366
25366
  }
25367
25367
  };
25368
- if (isPortableIri(url)) return await dereferencePortable(url);
25368
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
25369
25369
  const lookupUrl = formatIri(url);
25370
25370
  const portableMode = isPortableMode(this, options);
25371
25371
  if (portableMode) {
@@ -26354,7 +26354,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26354
26354
  span.end();
26355
26355
  }
26356
26356
  };
26357
- if (isPortableIri(url)) return await dereferencePortable(url);
26357
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
26358
26358
  const lookupUrl = formatIri(url);
26359
26359
  const portableMode = isPortableMode(this, options);
26360
26360
  if (portableMode) {
@@ -26579,7 +26579,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26579
26579
  span.end();
26580
26580
  }
26581
26581
  };
26582
- if (isPortableIri(url)) return await dereferencePortable(url);
26582
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
26583
26583
  const lookupUrl = formatIri(url);
26584
26584
  const portableMode = isPortableMode(this, options);
26585
26585
  if (portableMode) {
@@ -27686,7 +27686,7 @@ var DataIntegrityProof = class {
27686
27686
  span.end();
27687
27687
  }
27688
27688
  };
27689
- if (isPortableIri(url)) return await dereferencePortable(url);
27689
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
27690
27690
  const lookupUrl = formatIri(url);
27691
27691
  const portableMode = isPortableMode(this, options);
27692
27692
  if (portableMode) {
@@ -28333,7 +28333,7 @@ var CryptographicKey = class {
28333
28333
  span.end();
28334
28334
  }
28335
28335
  };
28336
- if (isPortableIri(url)) return await dereferencePortable(url);
28336
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
28337
28337
  const lookupUrl = formatIri(url);
28338
28338
  const portableMode = isPortableMode(this, options);
28339
28339
  if (portableMode) {
@@ -28986,7 +28986,7 @@ var Multikey = class {
28986
28986
  span.end();
28987
28987
  }
28988
28988
  };
28989
- if (isPortableIri(url)) return await dereferencePortable(url);
28989
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
28990
28990
  const lookupUrl = formatIri(url);
28991
28991
  const portableMode = isPortableMode(this, options);
28992
28992
  if (portableMode) {
@@ -32264,7 +32264,7 @@ var Application = class Application extends Object$1 {
32264
32264
  span.end();
32265
32265
  }
32266
32266
  };
32267
- if (isPortableIri(url)) return await dereferencePortable(url);
32267
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32268
32268
  const lookupUrl = formatIri(url);
32269
32269
  const portableMode = isPortableMode(this, options);
32270
32270
  if (portableMode) {
@@ -32562,7 +32562,7 @@ var Application = class Application extends Object$1 {
32562
32562
  span.end();
32563
32563
  }
32564
32564
  };
32565
- if (isPortableIri(url)) return await dereferencePortable(url);
32565
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32566
32566
  const lookupUrl = formatIri(url);
32567
32567
  const portableMode = isPortableMode(this, options);
32568
32568
  if (portableMode) {
@@ -32896,7 +32896,7 @@ var Application = class Application extends Object$1 {
32896
32896
  span.end();
32897
32897
  }
32898
32898
  };
32899
- if (isPortableIri(url)) return await dereferencePortable(url);
32899
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32900
32900
  const lookupUrl = formatIri(url);
32901
32901
  const portableMode = isPortableMode(this, options);
32902
32902
  if (portableMode) {
@@ -33144,7 +33144,7 @@ var Application = class Application extends Object$1 {
33144
33144
  span.end();
33145
33145
  }
33146
33146
  };
33147
- if (isPortableIri(url)) return await dereferencePortable(url);
33147
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33148
33148
  const lookupUrl = formatIri(url);
33149
33149
  const portableMode = isPortableMode(this, options);
33150
33150
  if (portableMode) {
@@ -33389,7 +33389,7 @@ var Application = class Application extends Object$1 {
33389
33389
  span.end();
33390
33390
  }
33391
33391
  };
33392
- if (isPortableIri(url)) return await dereferencePortable(url);
33392
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33393
33393
  const lookupUrl = formatIri(url);
33394
33394
  const portableMode = isPortableMode(this, options);
33395
33395
  if (portableMode) {
@@ -33618,7 +33618,7 @@ var Application = class Application extends Object$1 {
33618
33618
  span.end();
33619
33619
  }
33620
33620
  };
33621
- if (isPortableIri(url)) return await dereferencePortable(url);
33621
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33622
33622
  const lookupUrl = formatIri(url);
33623
33623
  const portableMode = isPortableMode(this, options);
33624
33624
  if (portableMode) {
@@ -33850,7 +33850,7 @@ var Application = class Application extends Object$1 {
33850
33850
  span.end();
33851
33851
  }
33852
33852
  };
33853
- if (isPortableIri(url)) return await dereferencePortable(url);
33853
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33854
33854
  const lookupUrl = formatIri(url);
33855
33855
  const portableMode = isPortableMode(this, options);
33856
33856
  if (portableMode) {
@@ -34080,7 +34080,7 @@ var Application = class Application extends Object$1 {
34080
34080
  span.end();
34081
34081
  }
34082
34082
  };
34083
- if (isPortableIri(url)) return await dereferencePortable(url);
34083
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34084
34084
  const lookupUrl = formatIri(url);
34085
34085
  const portableMode = isPortableMode(this, options);
34086
34086
  if (portableMode) {
@@ -34308,7 +34308,7 @@ var Application = class Application extends Object$1 {
34308
34308
  span.end();
34309
34309
  }
34310
34310
  };
34311
- if (isPortableIri(url)) return await dereferencePortable(url);
34311
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34312
34312
  const lookupUrl = formatIri(url);
34313
34313
  const portableMode = isPortableMode(this, options);
34314
34314
  if (portableMode) {
@@ -34536,7 +34536,7 @@ var Application = class Application extends Object$1 {
34536
34536
  span.end();
34537
34537
  }
34538
34538
  };
34539
- if (isPortableIri(url)) return await dereferencePortable(url);
34539
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34540
34540
  const lookupUrl = formatIri(url);
34541
34541
  const portableMode = isPortableMode(this, options);
34542
34542
  if (portableMode) {
@@ -34761,7 +34761,7 @@ var Application = class Application extends Object$1 {
34761
34761
  span.end();
34762
34762
  }
34763
34763
  };
34764
- if (isPortableIri(url)) return await dereferencePortable(url);
34764
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34765
34765
  const lookupUrl = formatIri(url);
34766
34766
  const portableMode = isPortableMode(this, options);
34767
34767
  if (portableMode) {
@@ -35032,7 +35032,7 @@ var Application = class Application extends Object$1 {
35032
35032
  span.end();
35033
35033
  }
35034
35034
  };
35035
- if (isPortableIri(url)) return await dereferencePortable(url);
35035
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
35036
35036
  const lookupUrl = formatIri(url);
35037
35037
  const portableMode = isPortableMode(this, options);
35038
35038
  if (portableMode) {
@@ -35307,7 +35307,7 @@ var Application = class Application extends Object$1 {
35307
35307
  span.end();
35308
35308
  }
35309
35309
  };
35310
- if (isPortableIri(url)) return await dereferencePortable(url);
35310
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
35311
35311
  const lookupUrl = formatIri(url);
35312
35312
  const portableMode = isPortableMode(this, options);
35313
35313
  if (portableMode) {
@@ -35661,7 +35661,7 @@ var Application = class Application extends Object$1 {
35661
35661
  span.end();
35662
35662
  }
35663
35663
  };
35664
- if (isPortableIri(url)) return await dereferencePortable(url);
35664
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
35665
35665
  const lookupUrl = formatIri(url);
35666
35666
  const portableMode = isPortableMode(this, options);
35667
35667
  if (portableMode) {
@@ -37788,7 +37788,7 @@ var Article = class Article extends Object$1 {
37788
37788
  span.end();
37789
37789
  }
37790
37790
  };
37791
- if (isPortableIri(url)) return await dereferencePortable(url);
37791
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
37792
37792
  const lookupUrl = formatIri(url);
37793
37793
  const portableMode = isPortableMode(this, options);
37794
37794
  if (portableMode) {
@@ -38031,7 +38031,7 @@ var Article = class Article extends Object$1 {
38031
38031
  span.end();
38032
38032
  }
38033
38033
  };
38034
- if (isPortableIri(url)) return await dereferencePortable(url);
38034
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
38035
38035
  const lookupUrl = formatIri(url);
38036
38036
  const portableMode = isPortableMode(this, options);
38037
38037
  if (portableMode) {
@@ -39654,7 +39654,7 @@ var CollectionPage = class CollectionPage extends Collection {
39654
39654
  span.end();
39655
39655
  }
39656
39656
  };
39657
- if (isPortableIri(url)) return await dereferencePortable(url);
39657
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
39658
39658
  const lookupUrl = formatIri(url);
39659
39659
  const portableMode = isPortableMode(this, options);
39660
39660
  if (portableMode) {
@@ -39880,7 +39880,7 @@ var CollectionPage = class CollectionPage extends Collection {
39880
39880
  span.end();
39881
39881
  }
39882
39882
  };
39883
- if (isPortableIri(url)) return await dereferencePortable(url);
39883
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
39884
39884
  const lookupUrl = formatIri(url);
39885
39885
  const portableMode = isPortableMode(this, options);
39886
39886
  if (portableMode) {
@@ -40105,7 +40105,7 @@ var CollectionPage = class CollectionPage extends Collection {
40105
40105
  span.end();
40106
40106
  }
40107
40107
  };
40108
- if (isPortableIri(url)) return await dereferencePortable(url);
40108
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
40109
40109
  const lookupUrl = formatIri(url);
40110
40110
  const portableMode = isPortableMode(this, options);
40111
40111
  if (portableMode) {
@@ -42888,7 +42888,7 @@ var Group = class Group extends Object$1 {
42888
42888
  span.end();
42889
42889
  }
42890
42890
  };
42891
- if (isPortableIri(url)) return await dereferencePortable(url);
42891
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
42892
42892
  const lookupUrl = formatIri(url);
42893
42893
  const portableMode = isPortableMode(this, options);
42894
42894
  if (portableMode) {
@@ -43186,7 +43186,7 @@ var Group = class Group extends Object$1 {
43186
43186
  span.end();
43187
43187
  }
43188
43188
  };
43189
- if (isPortableIri(url)) return await dereferencePortable(url);
43189
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43190
43190
  const lookupUrl = formatIri(url);
43191
43191
  const portableMode = isPortableMode(this, options);
43192
43192
  if (portableMode) {
@@ -43520,7 +43520,7 @@ var Group = class Group extends Object$1 {
43520
43520
  span.end();
43521
43521
  }
43522
43522
  };
43523
- if (isPortableIri(url)) return await dereferencePortable(url);
43523
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43524
43524
  const lookupUrl = formatIri(url);
43525
43525
  const portableMode = isPortableMode(this, options);
43526
43526
  if (portableMode) {
@@ -43768,7 +43768,7 @@ var Group = class Group extends Object$1 {
43768
43768
  span.end();
43769
43769
  }
43770
43770
  };
43771
- if (isPortableIri(url)) return await dereferencePortable(url);
43771
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43772
43772
  const lookupUrl = formatIri(url);
43773
43773
  const portableMode = isPortableMode(this, options);
43774
43774
  if (portableMode) {
@@ -44013,7 +44013,7 @@ var Group = class Group extends Object$1 {
44013
44013
  span.end();
44014
44014
  }
44015
44015
  };
44016
- if (isPortableIri(url)) return await dereferencePortable(url);
44016
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44017
44017
  const lookupUrl = formatIri(url);
44018
44018
  const portableMode = isPortableMode(this, options);
44019
44019
  if (portableMode) {
@@ -44242,7 +44242,7 @@ var Group = class Group extends Object$1 {
44242
44242
  span.end();
44243
44243
  }
44244
44244
  };
44245
- if (isPortableIri(url)) return await dereferencePortable(url);
44245
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44246
44246
  const lookupUrl = formatIri(url);
44247
44247
  const portableMode = isPortableMode(this, options);
44248
44248
  if (portableMode) {
@@ -44474,7 +44474,7 @@ var Group = class Group extends Object$1 {
44474
44474
  span.end();
44475
44475
  }
44476
44476
  };
44477
- if (isPortableIri(url)) return await dereferencePortable(url);
44477
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44478
44478
  const lookupUrl = formatIri(url);
44479
44479
  const portableMode = isPortableMode(this, options);
44480
44480
  if (portableMode) {
@@ -44704,7 +44704,7 @@ var Group = class Group extends Object$1 {
44704
44704
  span.end();
44705
44705
  }
44706
44706
  };
44707
- if (isPortableIri(url)) return await dereferencePortable(url);
44707
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44708
44708
  const lookupUrl = formatIri(url);
44709
44709
  const portableMode = isPortableMode(this, options);
44710
44710
  if (portableMode) {
@@ -44932,7 +44932,7 @@ var Group = class Group extends Object$1 {
44932
44932
  span.end();
44933
44933
  }
44934
44934
  };
44935
- if (isPortableIri(url)) return await dereferencePortable(url);
44935
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44936
44936
  const lookupUrl = formatIri(url);
44937
44937
  const portableMode = isPortableMode(this, options);
44938
44938
  if (portableMode) {
@@ -45160,7 +45160,7 @@ var Group = class Group extends Object$1 {
45160
45160
  span.end();
45161
45161
  }
45162
45162
  };
45163
- if (isPortableIri(url)) return await dereferencePortable(url);
45163
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45164
45164
  const lookupUrl = formatIri(url);
45165
45165
  const portableMode = isPortableMode(this, options);
45166
45166
  if (portableMode) {
@@ -45385,7 +45385,7 @@ var Group = class Group extends Object$1 {
45385
45385
  span.end();
45386
45386
  }
45387
45387
  };
45388
- if (isPortableIri(url)) return await dereferencePortable(url);
45388
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45389
45389
  const lookupUrl = formatIri(url);
45390
45390
  const portableMode = isPortableMode(this, options);
45391
45391
  if (portableMode) {
@@ -45656,7 +45656,7 @@ var Group = class Group extends Object$1 {
45656
45656
  span.end();
45657
45657
  }
45658
45658
  };
45659
- if (isPortableIri(url)) return await dereferencePortable(url);
45659
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45660
45660
  const lookupUrl = formatIri(url);
45661
45661
  const portableMode = isPortableMode(this, options);
45662
45662
  if (portableMode) {
@@ -45931,7 +45931,7 @@ var Group = class Group extends Object$1 {
45931
45931
  span.end();
45932
45932
  }
45933
45933
  };
45934
- if (isPortableIri(url)) return await dereferencePortable(url);
45934
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45935
45935
  const lookupUrl = formatIri(url);
45936
45936
  const portableMode = isPortableMode(this, options);
45937
45937
  if (portableMode) {
@@ -46285,7 +46285,7 @@ var Group = class Group extends Object$1 {
46285
46285
  span.end();
46286
46286
  }
46287
46287
  };
46288
- if (isPortableIri(url)) return await dereferencePortable(url);
46288
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
46289
46289
  const lookupUrl = formatIri(url);
46290
46290
  const portableMode = isPortableMode(this, options);
46291
46291
  if (portableMode) {
@@ -48220,7 +48220,7 @@ var Link = class Link {
48220
48220
  span.end();
48221
48221
  }
48222
48222
  };
48223
- if (isPortableIri(url)) return await dereferencePortable(url);
48223
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
48224
48224
  const lookupUrl = formatIri(url);
48225
48225
  const portableMode = isPortableMode(this, options);
48226
48226
  if (portableMode) {
@@ -51050,7 +51050,7 @@ var Note = class Note extends Object$1 {
51050
51050
  span.end();
51051
51051
  }
51052
51052
  };
51053
- if (isPortableIri(url)) return await dereferencePortable(url);
51053
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
51054
51054
  const lookupUrl = formatIri(url);
51055
51055
  const portableMode = isPortableMode(this, options);
51056
51056
  if (portableMode) {
@@ -51293,7 +51293,7 @@ var Note = class Note extends Object$1 {
51293
51293
  span.end();
51294
51294
  }
51295
51295
  };
51296
- if (isPortableIri(url)) return await dereferencePortable(url);
51296
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
51297
51297
  const lookupUrl = formatIri(url);
51298
51298
  const portableMode = isPortableMode(this, options);
51299
51299
  if (portableMode) {
@@ -51936,7 +51936,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51936
51936
  span.end();
51937
51937
  }
51938
51938
  };
51939
- if (isPortableIri(url)) return await dereferencePortable(url);
51939
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
51940
51940
  const lookupUrl = formatIri(url);
51941
51941
  const portableMode = isPortableMode(this, options);
51942
51942
  if (portableMode) {
@@ -52937,7 +52937,7 @@ var Organization = class Organization extends Object$1 {
52937
52937
  span.end();
52938
52938
  }
52939
52939
  };
52940
- if (isPortableIri(url)) return await dereferencePortable(url);
52940
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
52941
52941
  const lookupUrl = formatIri(url);
52942
52942
  const portableMode = isPortableMode(this, options);
52943
52943
  if (portableMode) {
@@ -53235,7 +53235,7 @@ var Organization = class Organization extends Object$1 {
53235
53235
  span.end();
53236
53236
  }
53237
53237
  };
53238
- if (isPortableIri(url)) return await dereferencePortable(url);
53238
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53239
53239
  const lookupUrl = formatIri(url);
53240
53240
  const portableMode = isPortableMode(this, options);
53241
53241
  if (portableMode) {
@@ -53569,7 +53569,7 @@ var Organization = class Organization extends Object$1 {
53569
53569
  span.end();
53570
53570
  }
53571
53571
  };
53572
- if (isPortableIri(url)) return await dereferencePortable(url);
53572
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53573
53573
  const lookupUrl = formatIri(url);
53574
53574
  const portableMode = isPortableMode(this, options);
53575
53575
  if (portableMode) {
@@ -53817,7 +53817,7 @@ var Organization = class Organization extends Object$1 {
53817
53817
  span.end();
53818
53818
  }
53819
53819
  };
53820
- if (isPortableIri(url)) return await dereferencePortable(url);
53820
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53821
53821
  const lookupUrl = formatIri(url);
53822
53822
  const portableMode = isPortableMode(this, options);
53823
53823
  if (portableMode) {
@@ -54062,7 +54062,7 @@ var Organization = class Organization extends Object$1 {
54062
54062
  span.end();
54063
54063
  }
54064
54064
  };
54065
- if (isPortableIri(url)) return await dereferencePortable(url);
54065
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54066
54066
  const lookupUrl = formatIri(url);
54067
54067
  const portableMode = isPortableMode(this, options);
54068
54068
  if (portableMode) {
@@ -54291,7 +54291,7 @@ var Organization = class Organization extends Object$1 {
54291
54291
  span.end();
54292
54292
  }
54293
54293
  };
54294
- if (isPortableIri(url)) return await dereferencePortable(url);
54294
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54295
54295
  const lookupUrl = formatIri(url);
54296
54296
  const portableMode = isPortableMode(this, options);
54297
54297
  if (portableMode) {
@@ -54523,7 +54523,7 @@ var Organization = class Organization extends Object$1 {
54523
54523
  span.end();
54524
54524
  }
54525
54525
  };
54526
- if (isPortableIri(url)) return await dereferencePortable(url);
54526
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54527
54527
  const lookupUrl = formatIri(url);
54528
54528
  const portableMode = isPortableMode(this, options);
54529
54529
  if (portableMode) {
@@ -54753,7 +54753,7 @@ var Organization = class Organization extends Object$1 {
54753
54753
  span.end();
54754
54754
  }
54755
54755
  };
54756
- if (isPortableIri(url)) return await dereferencePortable(url);
54756
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54757
54757
  const lookupUrl = formatIri(url);
54758
54758
  const portableMode = isPortableMode(this, options);
54759
54759
  if (portableMode) {
@@ -54981,7 +54981,7 @@ var Organization = class Organization extends Object$1 {
54981
54981
  span.end();
54982
54982
  }
54983
54983
  };
54984
- if (isPortableIri(url)) return await dereferencePortable(url);
54984
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54985
54985
  const lookupUrl = formatIri(url);
54986
54986
  const portableMode = isPortableMode(this, options);
54987
54987
  if (portableMode) {
@@ -55209,7 +55209,7 @@ var Organization = class Organization extends Object$1 {
55209
55209
  span.end();
55210
55210
  }
55211
55211
  };
55212
- if (isPortableIri(url)) return await dereferencePortable(url);
55212
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55213
55213
  const lookupUrl = formatIri(url);
55214
55214
  const portableMode = isPortableMode(this, options);
55215
55215
  if (portableMode) {
@@ -55434,7 +55434,7 @@ var Organization = class Organization extends Object$1 {
55434
55434
  span.end();
55435
55435
  }
55436
55436
  };
55437
- if (isPortableIri(url)) return await dereferencePortable(url);
55437
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55438
55438
  const lookupUrl = formatIri(url);
55439
55439
  const portableMode = isPortableMode(this, options);
55440
55440
  if (portableMode) {
@@ -55705,7 +55705,7 @@ var Organization = class Organization extends Object$1 {
55705
55705
  span.end();
55706
55706
  }
55707
55707
  };
55708
- if (isPortableIri(url)) return await dereferencePortable(url);
55708
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55709
55709
  const lookupUrl = formatIri(url);
55710
55710
  const portableMode = isPortableMode(this, options);
55711
55711
  if (portableMode) {
@@ -55980,7 +55980,7 @@ var Organization = class Organization extends Object$1 {
55980
55980
  span.end();
55981
55981
  }
55982
55982
  };
55983
- if (isPortableIri(url)) return await dereferencePortable(url);
55983
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55984
55984
  const lookupUrl = formatIri(url);
55985
55985
  const portableMode = isPortableMode(this, options);
55986
55986
  if (portableMode) {
@@ -56334,7 +56334,7 @@ var Organization = class Organization extends Object$1 {
56334
56334
  span.end();
56335
56335
  }
56336
56336
  };
56337
- if (isPortableIri(url)) return await dereferencePortable(url);
56337
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
56338
56338
  const lookupUrl = formatIri(url);
56339
56339
  const portableMode = isPortableMode(this, options);
56340
56340
  if (portableMode) {
@@ -58572,7 +58572,7 @@ var Person = class Person extends Object$1 {
58572
58572
  span.end();
58573
58573
  }
58574
58574
  };
58575
- if (isPortableIri(url)) return await dereferencePortable(url);
58575
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
58576
58576
  const lookupUrl = formatIri(url);
58577
58577
  const portableMode = isPortableMode(this, options);
58578
58578
  if (portableMode) {
@@ -58870,7 +58870,7 @@ var Person = class Person extends Object$1 {
58870
58870
  span.end();
58871
58871
  }
58872
58872
  };
58873
- if (isPortableIri(url)) return await dereferencePortable(url);
58873
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
58874
58874
  const lookupUrl = formatIri(url);
58875
58875
  const portableMode = isPortableMode(this, options);
58876
58876
  if (portableMode) {
@@ -59204,7 +59204,7 @@ var Person = class Person extends Object$1 {
59204
59204
  span.end();
59205
59205
  }
59206
59206
  };
59207
- if (isPortableIri(url)) return await dereferencePortable(url);
59207
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59208
59208
  const lookupUrl = formatIri(url);
59209
59209
  const portableMode = isPortableMode(this, options);
59210
59210
  if (portableMode) {
@@ -59452,7 +59452,7 @@ var Person = class Person extends Object$1 {
59452
59452
  span.end();
59453
59453
  }
59454
59454
  };
59455
- if (isPortableIri(url)) return await dereferencePortable(url);
59455
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59456
59456
  const lookupUrl = formatIri(url);
59457
59457
  const portableMode = isPortableMode(this, options);
59458
59458
  if (portableMode) {
@@ -59697,7 +59697,7 @@ var Person = class Person extends Object$1 {
59697
59697
  span.end();
59698
59698
  }
59699
59699
  };
59700
- if (isPortableIri(url)) return await dereferencePortable(url);
59700
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59701
59701
  const lookupUrl = formatIri(url);
59702
59702
  const portableMode = isPortableMode(this, options);
59703
59703
  if (portableMode) {
@@ -59926,7 +59926,7 @@ var Person = class Person extends Object$1 {
59926
59926
  span.end();
59927
59927
  }
59928
59928
  };
59929
- if (isPortableIri(url)) return await dereferencePortable(url);
59929
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59930
59930
  const lookupUrl = formatIri(url);
59931
59931
  const portableMode = isPortableMode(this, options);
59932
59932
  if (portableMode) {
@@ -60158,7 +60158,7 @@ var Person = class Person extends Object$1 {
60158
60158
  span.end();
60159
60159
  }
60160
60160
  };
60161
- if (isPortableIri(url)) return await dereferencePortable(url);
60161
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60162
60162
  const lookupUrl = formatIri(url);
60163
60163
  const portableMode = isPortableMode(this, options);
60164
60164
  if (portableMode) {
@@ -60388,7 +60388,7 @@ var Person = class Person extends Object$1 {
60388
60388
  span.end();
60389
60389
  }
60390
60390
  };
60391
- if (isPortableIri(url)) return await dereferencePortable(url);
60391
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60392
60392
  const lookupUrl = formatIri(url);
60393
60393
  const portableMode = isPortableMode(this, options);
60394
60394
  if (portableMode) {
@@ -60616,7 +60616,7 @@ var Person = class Person extends Object$1 {
60616
60616
  span.end();
60617
60617
  }
60618
60618
  };
60619
- if (isPortableIri(url)) return await dereferencePortable(url);
60619
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60620
60620
  const lookupUrl = formatIri(url);
60621
60621
  const portableMode = isPortableMode(this, options);
60622
60622
  if (portableMode) {
@@ -60844,7 +60844,7 @@ var Person = class Person extends Object$1 {
60844
60844
  span.end();
60845
60845
  }
60846
60846
  };
60847
- if (isPortableIri(url)) return await dereferencePortable(url);
60847
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60848
60848
  const lookupUrl = formatIri(url);
60849
60849
  const portableMode = isPortableMode(this, options);
60850
60850
  if (portableMode) {
@@ -61069,7 +61069,7 @@ var Person = class Person extends Object$1 {
61069
61069
  span.end();
61070
61070
  }
61071
61071
  };
61072
- if (isPortableIri(url)) return await dereferencePortable(url);
61072
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61073
61073
  const lookupUrl = formatIri(url);
61074
61074
  const portableMode = isPortableMode(this, options);
61075
61075
  if (portableMode) {
@@ -61340,7 +61340,7 @@ var Person = class Person extends Object$1 {
61340
61340
  span.end();
61341
61341
  }
61342
61342
  };
61343
- if (isPortableIri(url)) return await dereferencePortable(url);
61343
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61344
61344
  const lookupUrl = formatIri(url);
61345
61345
  const portableMode = isPortableMode(this, options);
61346
61346
  if (portableMode) {
@@ -61615,7 +61615,7 @@ var Person = class Person extends Object$1 {
61615
61615
  span.end();
61616
61616
  }
61617
61617
  };
61618
- if (isPortableIri(url)) return await dereferencePortable(url);
61618
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61619
61619
  const lookupUrl = formatIri(url);
61620
61620
  const portableMode = isPortableMode(this, options);
61621
61621
  if (portableMode) {
@@ -61969,7 +61969,7 @@ var Person = class Person extends Object$1 {
61969
61969
  span.end();
61970
61970
  }
61971
61971
  };
61972
- if (isPortableIri(url)) return await dereferencePortable(url);
61972
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61973
61973
  const lookupUrl = formatIri(url);
61974
61974
  const portableMode = isPortableMode(this, options);
61975
61975
  if (portableMode) {
@@ -64214,7 +64214,7 @@ var Profile = class Profile extends Object$1 {
64214
64214
  span.end();
64215
64215
  }
64216
64216
  };
64217
- if (isPortableIri(url)) return await dereferencePortable(url);
64217
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
64218
64218
  const lookupUrl = formatIri(url);
64219
64219
  const portableMode = isPortableMode(this, options);
64220
64220
  if (portableMode) {
@@ -64770,7 +64770,7 @@ var Question = class Question extends IntransitiveActivity {
64770
64770
  span.end();
64771
64771
  }
64772
64772
  };
64773
- if (isPortableIri(url)) return await dereferencePortable(url);
64773
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
64774
64774
  const lookupUrl = formatIri(url);
64775
64775
  const portableMode = isPortableMode(this, options);
64776
64776
  if (portableMode) {
@@ -65001,7 +65001,7 @@ var Question = class Question extends IntransitiveActivity {
65001
65001
  span.end();
65002
65002
  }
65003
65003
  };
65004
- if (isPortableIri(url)) return await dereferencePortable(url);
65004
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
65005
65005
  const lookupUrl = formatIri(url);
65006
65006
  const portableMode = isPortableMode(this, options);
65007
65007
  if (portableMode) {
@@ -65248,7 +65248,7 @@ var Question = class Question extends IntransitiveActivity {
65248
65248
  span.end();
65249
65249
  }
65250
65250
  };
65251
- if (isPortableIri(url)) return await dereferencePortable(url);
65251
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
65252
65252
  const lookupUrl = formatIri(url);
65253
65253
  const portableMode = isPortableMode(this, options);
65254
65254
  if (portableMode) {
@@ -65491,7 +65491,7 @@ var Question = class Question extends IntransitiveActivity {
65491
65491
  span.end();
65492
65492
  }
65493
65493
  };
65494
- if (isPortableIri(url)) return await dereferencePortable(url);
65494
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
65495
65495
  const lookupUrl = formatIri(url);
65496
65496
  const portableMode = isPortableMode(this, options);
65497
65497
  if (portableMode) {
@@ -66643,7 +66643,7 @@ var Relationship = class Relationship extends Object$1 {
66643
66643
  span.end();
66644
66644
  }
66645
66645
  };
66646
- if (isPortableIri(url)) return await dereferencePortable(url);
66646
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
66647
66647
  const lookupUrl = formatIri(url);
66648
66648
  const portableMode = isPortableMode(this, options);
66649
66649
  if (portableMode) {
@@ -66871,7 +66871,7 @@ var Relationship = class Relationship extends Object$1 {
66871
66871
  span.end();
66872
66872
  }
66873
66873
  };
66874
- if (isPortableIri(url)) return await dereferencePortable(url);
66874
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
66875
66875
  const lookupUrl = formatIri(url);
66876
66876
  const portableMode = isPortableMode(this, options);
66877
66877
  if (portableMode) {
@@ -67169,7 +67169,7 @@ var Relationship = class Relationship extends Object$1 {
67169
67169
  span.end();
67170
67170
  }
67171
67171
  };
67172
- if (isPortableIri(url)) return await dereferencePortable(url);
67172
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
67173
67173
  const lookupUrl = formatIri(url);
67174
67174
  const portableMode = isPortableMode(this, options);
67175
67175
  if (portableMode) {
@@ -68337,7 +68337,7 @@ var Service = class Service extends Object$1 {
68337
68337
  span.end();
68338
68338
  }
68339
68339
  };
68340
- if (isPortableIri(url)) return await dereferencePortable(url);
68340
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68341
68341
  const lookupUrl = formatIri(url);
68342
68342
  const portableMode = isPortableMode(this, options);
68343
68343
  if (portableMode) {
@@ -68635,7 +68635,7 @@ var Service = class Service extends Object$1 {
68635
68635
  span.end();
68636
68636
  }
68637
68637
  };
68638
- if (isPortableIri(url)) return await dereferencePortable(url);
68638
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68639
68639
  const lookupUrl = formatIri(url);
68640
68640
  const portableMode = isPortableMode(this, options);
68641
68641
  if (portableMode) {
@@ -68969,7 +68969,7 @@ var Service = class Service extends Object$1 {
68969
68969
  span.end();
68970
68970
  }
68971
68971
  };
68972
- if (isPortableIri(url)) return await dereferencePortable(url);
68972
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68973
68973
  const lookupUrl = formatIri(url);
68974
68974
  const portableMode = isPortableMode(this, options);
68975
68975
  if (portableMode) {
@@ -69217,7 +69217,7 @@ var Service = class Service extends Object$1 {
69217
69217
  span.end();
69218
69218
  }
69219
69219
  };
69220
- if (isPortableIri(url)) return await dereferencePortable(url);
69220
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69221
69221
  const lookupUrl = formatIri(url);
69222
69222
  const portableMode = isPortableMode(this, options);
69223
69223
  if (portableMode) {
@@ -69462,7 +69462,7 @@ var Service = class Service extends Object$1 {
69462
69462
  span.end();
69463
69463
  }
69464
69464
  };
69465
- if (isPortableIri(url)) return await dereferencePortable(url);
69465
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69466
69466
  const lookupUrl = formatIri(url);
69467
69467
  const portableMode = isPortableMode(this, options);
69468
69468
  if (portableMode) {
@@ -69691,7 +69691,7 @@ var Service = class Service extends Object$1 {
69691
69691
  span.end();
69692
69692
  }
69693
69693
  };
69694
- if (isPortableIri(url)) return await dereferencePortable(url);
69694
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69695
69695
  const lookupUrl = formatIri(url);
69696
69696
  const portableMode = isPortableMode(this, options);
69697
69697
  if (portableMode) {
@@ -69923,7 +69923,7 @@ var Service = class Service extends Object$1 {
69923
69923
  span.end();
69924
69924
  }
69925
69925
  };
69926
- if (isPortableIri(url)) return await dereferencePortable(url);
69926
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69927
69927
  const lookupUrl = formatIri(url);
69928
69928
  const portableMode = isPortableMode(this, options);
69929
69929
  if (portableMode) {
@@ -70153,7 +70153,7 @@ var Service = class Service extends Object$1 {
70153
70153
  span.end();
70154
70154
  }
70155
70155
  };
70156
- if (isPortableIri(url)) return await dereferencePortable(url);
70156
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70157
70157
  const lookupUrl = formatIri(url);
70158
70158
  const portableMode = isPortableMode(this, options);
70159
70159
  if (portableMode) {
@@ -70381,7 +70381,7 @@ var Service = class Service extends Object$1 {
70381
70381
  span.end();
70382
70382
  }
70383
70383
  };
70384
- if (isPortableIri(url)) return await dereferencePortable(url);
70384
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70385
70385
  const lookupUrl = formatIri(url);
70386
70386
  const portableMode = isPortableMode(this, options);
70387
70387
  if (portableMode) {
@@ -70609,7 +70609,7 @@ var Service = class Service extends Object$1 {
70609
70609
  span.end();
70610
70610
  }
70611
70611
  };
70612
- if (isPortableIri(url)) return await dereferencePortable(url);
70612
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70613
70613
  const lookupUrl = formatIri(url);
70614
70614
  const portableMode = isPortableMode(this, options);
70615
70615
  if (portableMode) {
@@ -70834,7 +70834,7 @@ var Service = class Service extends Object$1 {
70834
70834
  span.end();
70835
70835
  }
70836
70836
  };
70837
- if (isPortableIri(url)) return await dereferencePortable(url);
70837
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70838
70838
  const lookupUrl = formatIri(url);
70839
70839
  const portableMode = isPortableMode(this, options);
70840
70840
  if (portableMode) {
@@ -71105,7 +71105,7 @@ var Service = class Service extends Object$1 {
71105
71105
  span.end();
71106
71106
  }
71107
71107
  };
71108
- if (isPortableIri(url)) return await dereferencePortable(url);
71108
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
71109
71109
  const lookupUrl = formatIri(url);
71110
71110
  const portableMode = isPortableMode(this, options);
71111
71111
  if (portableMode) {
@@ -71380,7 +71380,7 @@ var Service = class Service extends Object$1 {
71380
71380
  span.end();
71381
71381
  }
71382
71382
  };
71383
- if (isPortableIri(url)) return await dereferencePortable(url);
71383
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
71384
71384
  const lookupUrl = formatIri(url);
71385
71385
  const portableMode = isPortableMode(this, options);
71386
71386
  if (portableMode) {
@@ -71734,7 +71734,7 @@ var Service = class Service extends Object$1 {
71734
71734
  span.end();
71735
71735
  }
71736
71736
  };
71737
- if (isPortableIri(url)) return await dereferencePortable(url);
71737
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
71738
71738
  const lookupUrl = formatIri(url);
71739
71739
  const portableMode = isPortableMode(this, options);
71740
71740
  if (portableMode) {