@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.
package/dist/mod.js CHANGED
@@ -6,13 +6,13 @@ import { domainToASCII, domainToUnicode } from "node:url";
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 { PortableObjectRejectedError, copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableGatewayCandidates, getPortableResponseClaim, isPortableIri, isPortableMode, isUnsecuredPortableObject, isUnverifiedPortableClaim, markUnverifiedPortableClaim, mustDereferencePortableObject, parseCompatibleEf61Reference, recordPortableReferrer, rejectMalformedCompatibleReference, warnUnverifiableEmbeddedObject } from "@fedify/vocab-runtime/internal/portable-dereference";
9
+ import { PortableObjectRejectedError, copyPortableProvenance, createSnapshotContextLoader, dereferencePortableIri, getPortableGatewayCandidates, 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
  import { delay } from "es-toolkit";
13
13
  //#region deno.json
14
14
  var name = "@fedify/vocab";
15
- var version = "2.4.0-dev.2259+d9c843fc";
15
+ var version = "2.4.0-dev.2260+42356e7d";
16
16
  //#endregion
17
17
  //#region src/type.ts
18
18
  function getTypeId(object) {
@@ -1032,7 +1032,7 @@ var Object$1 = class Object$1 {
1032
1032
  span.end();
1033
1033
  }
1034
1034
  };
1035
- if (isPortableIri(url)) return await dereferencePortable(url);
1035
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1036
1036
  const lookupUrl = formatIri(url);
1037
1037
  const portableMode = isPortableMode(this, options);
1038
1038
  if (portableMode) {
@@ -1289,7 +1289,7 @@ var Object$1 = class Object$1 {
1289
1289
  span.end();
1290
1290
  }
1291
1291
  };
1292
- if (isPortableIri(url)) return await dereferencePortable(url);
1292
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1293
1293
  const lookupUrl = formatIri(url);
1294
1294
  const portableMode = isPortableMode(this, options);
1295
1295
  if (portableMode) {
@@ -1641,7 +1641,7 @@ var Object$1 = class Object$1 {
1641
1641
  span.end();
1642
1642
  }
1643
1643
  };
1644
- if (isPortableIri(url)) return await dereferencePortable(url);
1644
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1645
1645
  const lookupUrl = formatIri(url);
1646
1646
  const portableMode = isPortableMode(this, options);
1647
1647
  if (portableMode) {
@@ -1961,7 +1961,7 @@ var Object$1 = class Object$1 {
1961
1961
  span.end();
1962
1962
  }
1963
1963
  };
1964
- if (isPortableIri(url)) return await dereferencePortable(url);
1964
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
1965
1965
  const lookupUrl = formatIri(url);
1966
1966
  const portableMode = isPortableMode(this, options);
1967
1967
  if (portableMode) {
@@ -2233,7 +2233,7 @@ var Object$1 = class Object$1 {
2233
2233
  span.end();
2234
2234
  }
2235
2235
  };
2236
- if (isPortableIri(url)) return await dereferencePortable(url);
2236
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2237
2237
  const lookupUrl = formatIri(url);
2238
2238
  const portableMode = isPortableMode(this, options);
2239
2239
  if (portableMode) {
@@ -2473,7 +2473,7 @@ var Object$1 = class Object$1 {
2473
2473
  span.end();
2474
2474
  }
2475
2475
  };
2476
- if (isPortableIri(url)) return await dereferencePortable(url);
2476
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2477
2477
  const lookupUrl = formatIri(url);
2478
2478
  const portableMode = isPortableMode(this, options);
2479
2479
  if (portableMode) {
@@ -2792,7 +2792,7 @@ var Object$1 = class Object$1 {
2792
2792
  span.end();
2793
2793
  }
2794
2794
  };
2795
- if (isPortableIri(url)) return await dereferencePortable(url);
2795
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
2796
2796
  const lookupUrl = formatIri(url);
2797
2797
  const portableMode = isPortableMode(this, options);
2798
2798
  if (portableMode) {
@@ -3111,7 +3111,7 @@ var Object$1 = class Object$1 {
3111
3111
  span.end();
3112
3112
  }
3113
3113
  };
3114
- if (isPortableIri(url)) return await dereferencePortable(url);
3114
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3115
3115
  const lookupUrl = formatIri(url);
3116
3116
  const portableMode = isPortableMode(this, options);
3117
3117
  if (portableMode) {
@@ -3422,7 +3422,7 @@ var Object$1 = class Object$1 {
3422
3422
  span.end();
3423
3423
  }
3424
3424
  };
3425
- if (isPortableIri(url)) return await dereferencePortable(url);
3425
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3426
3426
  const lookupUrl = formatIri(url);
3427
3427
  const portableMode = isPortableMode(this, options);
3428
3428
  if (portableMode) {
@@ -3733,7 +3733,7 @@ var Object$1 = class Object$1 {
3733
3733
  span.end();
3734
3734
  }
3735
3735
  };
3736
- if (isPortableIri(url)) return await dereferencePortable(url);
3736
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
3737
3737
  const lookupUrl = formatIri(url);
3738
3738
  const portableMode = isPortableMode(this, options);
3739
3739
  if (portableMode) {
@@ -4049,7 +4049,7 @@ var Object$1 = class Object$1 {
4049
4049
  span.end();
4050
4050
  }
4051
4051
  };
4052
- if (isPortableIri(url)) return await dereferencePortable(url);
4052
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4053
4053
  const lookupUrl = formatIri(url);
4054
4054
  const portableMode = isPortableMode(this, options);
4055
4055
  if (portableMode) {
@@ -4275,7 +4275,7 @@ var Object$1 = class Object$1 {
4275
4275
  span.end();
4276
4276
  }
4277
4277
  };
4278
- if (isPortableIri(url)) return await dereferencePortable(url);
4278
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4279
4279
  const lookupUrl = formatIri(url);
4280
4280
  const portableMode = isPortableMode(this, options);
4281
4281
  if (portableMode) {
@@ -4507,7 +4507,7 @@ var Object$1 = class Object$1 {
4507
4507
  span.end();
4508
4508
  }
4509
4509
  };
4510
- if (isPortableIri(url)) return await dereferencePortable(url);
4510
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4511
4511
  const lookupUrl = formatIri(url);
4512
4512
  const portableMode = isPortableMode(this, options);
4513
4513
  if (portableMode) {
@@ -4739,7 +4739,7 @@ var Object$1 = class Object$1 {
4739
4739
  span.end();
4740
4740
  }
4741
4741
  };
4742
- if (isPortableIri(url)) return await dereferencePortable(url);
4742
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4743
4743
  const lookupUrl = formatIri(url);
4744
4744
  const portableMode = isPortableMode(this, options);
4745
4745
  if (portableMode) {
@@ -4989,7 +4989,7 @@ var Object$1 = class Object$1 {
4989
4989
  span.end();
4990
4990
  }
4991
4991
  };
4992
- if (isPortableIri(url)) return await dereferencePortable(url);
4992
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
4993
4993
  const lookupUrl = formatIri(url);
4994
4994
  const portableMode = isPortableMode(this, options);
4995
4995
  if (portableMode) {
@@ -5251,7 +5251,7 @@ var Object$1 = class Object$1 {
5251
5251
  span.end();
5252
5252
  }
5253
5253
  };
5254
- if (isPortableIri(url)) return await dereferencePortable(url);
5254
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5255
5255
  const lookupUrl = formatIri(url);
5256
5256
  const portableMode = isPortableMode(this, options);
5257
5257
  if (portableMode) {
@@ -5551,7 +5551,7 @@ var Object$1 = class Object$1 {
5551
5551
  span.end();
5552
5552
  }
5553
5553
  };
5554
- if (isPortableIri(url)) return await dereferencePortable(url);
5554
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5555
5555
  const lookupUrl = formatIri(url);
5556
5556
  const portableMode = isPortableMode(this, options);
5557
5557
  if (portableMode) {
@@ -5851,7 +5851,7 @@ var Object$1 = class Object$1 {
5851
5851
  span.end();
5852
5852
  }
5853
5853
  };
5854
- if (isPortableIri(url)) return await dereferencePortable(url);
5854
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
5855
5855
  const lookupUrl = formatIri(url);
5856
5856
  const portableMode = isPortableMode(this, options);
5857
5857
  if (portableMode) {
@@ -6151,7 +6151,7 @@ var Object$1 = class Object$1 {
6151
6151
  span.end();
6152
6152
  }
6153
6153
  };
6154
- if (isPortableIri(url)) return await dereferencePortable(url);
6154
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6155
6155
  const lookupUrl = formatIri(url);
6156
6156
  const portableMode = isPortableMode(this, options);
6157
6157
  if (portableMode) {
@@ -6488,7 +6488,7 @@ var Object$1 = class Object$1 {
6488
6488
  span.end();
6489
6489
  }
6490
6490
  };
6491
- if (isPortableIri(url)) return await dereferencePortable(url);
6491
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6492
6492
  const lookupUrl = formatIri(url);
6493
6493
  const portableMode = isPortableMode(this, options);
6494
6494
  if (portableMode) {
@@ -6811,7 +6811,7 @@ var Object$1 = class Object$1 {
6811
6811
  span.end();
6812
6812
  }
6813
6813
  };
6814
- if (isPortableIri(url)) return await dereferencePortable(url);
6814
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
6815
6815
  const lookupUrl = formatIri(url);
6816
6816
  const portableMode = isPortableMode(this, options);
6817
6817
  if (portableMode) {
@@ -7037,7 +7037,7 @@ var Object$1 = class Object$1 {
7037
7037
  span.end();
7038
7038
  }
7039
7039
  };
7040
- if (isPortableIri(url)) return await dereferencePortable(url);
7040
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
7041
7041
  const lookupUrl = formatIri(url);
7042
7042
  const portableMode = isPortableMode(this, options);
7043
7043
  if (portableMode) {
@@ -7263,7 +7263,7 @@ var Object$1 = class Object$1 {
7263
7263
  span.end();
7264
7264
  }
7265
7265
  };
7266
- if (isPortableIri(url)) return await dereferencePortable(url);
7266
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
7267
7267
  const lookupUrl = formatIri(url);
7268
7268
  const portableMode = isPortableMode(this, options);
7269
7269
  if (portableMode) {
@@ -10349,7 +10349,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10349
10349
  span.end();
10350
10350
  }
10351
10351
  };
10352
- if (isPortableIri(url)) return await dereferencePortable(url);
10352
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
10353
10353
  const lookupUrl = formatIri(url);
10354
10354
  const portableMode = isPortableMode(this, options);
10355
10355
  if (portableMode) {
@@ -10592,7 +10592,7 @@ var ChatMessage = class ChatMessage extends Object$1 {
10592
10592
  span.end();
10593
10593
  }
10594
10594
  };
10595
- if (isPortableIri(url)) return await dereferencePortable(url);
10595
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
10596
10596
  const lookupUrl = formatIri(url);
10597
10597
  const portableMode = isPortableMode(this, options);
10598
10598
  if (portableMode) {
@@ -11378,7 +11378,7 @@ var Activity = class Activity extends Object$1 {
11378
11378
  span.end();
11379
11379
  }
11380
11380
  };
11381
- if (isPortableIri(url)) return await dereferencePortable(url);
11381
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
11382
11382
  const lookupUrl = formatIri(url);
11383
11383
  const portableMode = isPortableMode(this, options);
11384
11384
  if (portableMode) {
@@ -11730,7 +11730,7 @@ var Activity = class Activity extends Object$1 {
11730
11730
  span.end();
11731
11731
  }
11732
11732
  };
11733
- if (isPortableIri(url)) return await dereferencePortable(url);
11733
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
11734
11734
  const lookupUrl = formatIri(url);
11735
11735
  const portableMode = isPortableMode(this, options);
11736
11736
  if (portableMode) {
@@ -12032,7 +12032,7 @@ var Activity = class Activity extends Object$1 {
12032
12032
  span.end();
12033
12033
  }
12034
12034
  };
12035
- if (isPortableIri(url)) return await dereferencePortable(url);
12035
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12036
12036
  const lookupUrl = formatIri(url);
12037
12037
  const portableMode = isPortableMode(this, options);
12038
12038
  if (portableMode) {
@@ -12340,7 +12340,7 @@ var Activity = class Activity extends Object$1 {
12340
12340
  span.end();
12341
12341
  }
12342
12342
  };
12343
- if (isPortableIri(url)) return await dereferencePortable(url);
12343
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12344
12344
  const lookupUrl = formatIri(url);
12345
12345
  const portableMode = isPortableMode(this, options);
12346
12346
  if (portableMode) {
@@ -12642,7 +12642,7 @@ var Activity = class Activity extends Object$1 {
12642
12642
  span.end();
12643
12643
  }
12644
12644
  };
12645
- if (isPortableIri(url)) return await dereferencePortable(url);
12645
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12646
12646
  const lookupUrl = formatIri(url);
12647
12647
  const portableMode = isPortableMode(this, options);
12648
12648
  if (portableMode) {
@@ -12946,7 +12946,7 @@ var Activity = class Activity extends Object$1 {
12946
12946
  span.end();
12947
12947
  }
12948
12948
  };
12949
- if (isPortableIri(url)) return await dereferencePortable(url);
12949
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
12950
12950
  const lookupUrl = formatIri(url);
12951
12951
  const portableMode = isPortableMode(this, options);
12952
12952
  if (portableMode) {
@@ -14652,7 +14652,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14652
14652
  span.end();
14653
14653
  }
14654
14654
  };
14655
- if (isPortableIri(url)) return await dereferencePortable(url);
14655
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
14656
14656
  const lookupUrl = formatIri(url);
14657
14657
  const portableMode = isPortableMode(this, options);
14658
14658
  if (portableMode) {
@@ -14878,7 +14878,7 @@ var AnnounceAuthorization = class AnnounceAuthorization extends Object$1 {
14878
14878
  span.end();
14879
14879
  }
14880
14880
  };
14881
- if (isPortableIri(url)) return await dereferencePortable(url);
14881
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
14882
14882
  const lookupUrl = formatIri(url);
14883
14883
  const portableMode = isPortableMode(this, options);
14884
14884
  if (portableMode) {
@@ -16491,7 +16491,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16491
16491
  span.end();
16492
16492
  }
16493
16493
  };
16494
- if (isPortableIri(url)) return await dereferencePortable(url);
16494
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
16495
16495
  const lookupUrl = formatIri(url);
16496
16496
  const portableMode = isPortableMode(this, options);
16497
16497
  if (portableMode) {
@@ -16717,7 +16717,7 @@ var LikeAuthorization = class LikeAuthorization extends Object$1 {
16717
16717
  span.end();
16718
16718
  }
16719
16719
  };
16720
- if (isPortableIri(url)) return await dereferencePortable(url);
16720
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
16721
16721
  const lookupUrl = formatIri(url);
16722
16722
  const portableMode = isPortableMode(this, options);
16723
16723
  if (portableMode) {
@@ -17475,7 +17475,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17475
17475
  span.end();
17476
17476
  }
17477
17477
  };
17478
- if (isPortableIri(url)) return await dereferencePortable(url);
17478
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
17479
17479
  const lookupUrl = formatIri(url);
17480
17480
  const portableMode = isPortableMode(this, options);
17481
17481
  if (portableMode) {
@@ -17701,7 +17701,7 @@ var ReplyAuthorization = class ReplyAuthorization extends Object$1 {
17701
17701
  span.end();
17702
17702
  }
17703
17703
  };
17704
- if (isPortableIri(url)) return await dereferencePortable(url);
17704
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
17705
17705
  const lookupUrl = formatIri(url);
17706
17706
  const portableMode = isPortableMode(this, options);
17707
17707
  if (portableMode) {
@@ -18459,7 +18459,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18459
18459
  span.end();
18460
18460
  }
18461
18461
  };
18462
- if (isPortableIri(url)) return await dereferencePortable(url);
18462
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
18463
18463
  const lookupUrl = formatIri(url);
18464
18464
  const portableMode = isPortableMode(this, options);
18465
18465
  if (portableMode) {
@@ -18684,7 +18684,7 @@ var QuoteAuthorization = class QuoteAuthorization extends Object$1 {
18684
18684
  span.end();
18685
18685
  }
18686
18686
  };
18687
- if (isPortableIri(url)) return await dereferencePortable(url);
18687
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
18688
18688
  const lookupUrl = formatIri(url);
18689
18689
  const portableMode = isPortableMode(this, options);
18690
18690
  if (portableMode) {
@@ -19577,7 +19577,7 @@ var Translation = class {
19577
19577
  span.end();
19578
19578
  }
19579
19579
  };
19580
- if (isPortableIri(url)) return await dereferencePortable(url);
19580
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
19581
19581
  const lookupUrl = formatIri(url);
19582
19582
  const portableMode = isPortableMode(this, options);
19583
19583
  if (portableMode) {
@@ -20456,7 +20456,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20456
20456
  span.end();
20457
20457
  }
20458
20458
  };
20459
- if (isPortableIri(url)) return await dereferencePortable(url);
20459
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
20460
20460
  const lookupUrl = formatIri(url);
20461
20461
  const portableMode = isPortableMode(this, options);
20462
20462
  if (portableMode) {
@@ -20681,7 +20681,7 @@ var FeatureAuthorization = class FeatureAuthorization extends Object$1 {
20681
20681
  span.end();
20682
20682
  }
20683
20683
  };
20684
- if (isPortableIri(url)) return await dereferencePortable(url);
20684
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
20685
20685
  const lookupUrl = formatIri(url);
20686
20686
  const portableMode = isPortableMode(this, options);
20687
20687
  if (portableMode) {
@@ -21572,7 +21572,7 @@ var Collection = class Collection extends Object$1 {
21572
21572
  span.end();
21573
21573
  }
21574
21574
  };
21575
- if (isPortableIri(url)) return await dereferencePortable(url);
21575
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
21576
21576
  const lookupUrl = formatIri(url);
21577
21577
  const portableMode = isPortableMode(this, options);
21578
21578
  if (portableMode) {
@@ -21798,7 +21798,7 @@ var Collection = class Collection extends Object$1 {
21798
21798
  span.end();
21799
21799
  }
21800
21800
  };
21801
- if (isPortableIri(url)) return await dereferencePortable(url);
21801
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
21802
21802
  const lookupUrl = formatIri(url);
21803
21803
  const portableMode = isPortableMode(this, options);
21804
21804
  if (portableMode) {
@@ -22024,7 +22024,7 @@ var Collection = class Collection extends Object$1 {
22024
22024
  span.end();
22025
22025
  }
22026
22026
  };
22027
- if (isPortableIri(url)) return await dereferencePortable(url);
22027
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22028
22028
  const lookupUrl = formatIri(url);
22029
22029
  const portableMode = isPortableMode(this, options);
22030
22030
  if (portableMode) {
@@ -22250,7 +22250,7 @@ var Collection = class Collection extends Object$1 {
22250
22250
  span.end();
22251
22251
  }
22252
22252
  };
22253
- if (isPortableIri(url)) return await dereferencePortable(url);
22253
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22254
22254
  const lookupUrl = formatIri(url);
22255
22255
  const portableMode = isPortableMode(this, options);
22256
22256
  if (portableMode) {
@@ -22491,7 +22491,7 @@ var Collection = class Collection extends Object$1 {
22491
22491
  span.end();
22492
22492
  }
22493
22493
  };
22494
- if (isPortableIri(url)) return await dereferencePortable(url);
22494
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22495
22495
  const lookupUrl = formatIri(url);
22496
22496
  const portableMode = isPortableMode(this, options);
22497
22497
  if (portableMode) {
@@ -22716,7 +22716,7 @@ var Collection = class Collection extends Object$1 {
22716
22716
  span.end();
22717
22717
  }
22718
22718
  };
22719
- if (isPortableIri(url)) return await dereferencePortable(url);
22719
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22720
22720
  const lookupUrl = formatIri(url);
22721
22721
  const portableMode = isPortableMode(this, options);
22722
22722
  if (portableMode) {
@@ -22941,7 +22941,7 @@ var Collection = class Collection extends Object$1 {
22941
22941
  span.end();
22942
22942
  }
22943
22943
  };
22944
- if (isPortableIri(url)) return await dereferencePortable(url);
22944
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
22945
22945
  const lookupUrl = formatIri(url);
22946
22946
  const portableMode = isPortableMode(this, options);
22947
22947
  if (portableMode) {
@@ -23166,7 +23166,7 @@ var Collection = class Collection extends Object$1 {
23166
23166
  span.end();
23167
23167
  }
23168
23168
  };
23169
- if (isPortableIri(url)) return await dereferencePortable(url);
23169
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23170
23170
  const lookupUrl = formatIri(url);
23171
23171
  const portableMode = isPortableMode(this, options);
23172
23172
  if (portableMode) {
@@ -23391,7 +23391,7 @@ var Collection = class Collection extends Object$1 {
23391
23391
  span.end();
23392
23392
  }
23393
23393
  };
23394
- if (isPortableIri(url)) return await dereferencePortable(url);
23394
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23395
23395
  const lookupUrl = formatIri(url);
23396
23396
  const portableMode = isPortableMode(this, options);
23397
23397
  if (portableMode) {
@@ -23616,7 +23616,7 @@ var Collection = class Collection extends Object$1 {
23616
23616
  span.end();
23617
23617
  }
23618
23618
  };
23619
- if (isPortableIri(url)) return await dereferencePortable(url);
23619
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23620
23620
  const lookupUrl = formatIri(url);
23621
23621
  const portableMode = isPortableMode(this, options);
23622
23622
  if (portableMode) {
@@ -23841,7 +23841,7 @@ var Collection = class Collection extends Object$1 {
23841
23841
  span.end();
23842
23842
  }
23843
23843
  };
23844
- if (isPortableIri(url)) return await dereferencePortable(url);
23844
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
23845
23845
  const lookupUrl = formatIri(url);
23846
23846
  const portableMode = isPortableMode(this, options);
23847
23847
  if (portableMode) {
@@ -24066,7 +24066,7 @@ var Collection = class Collection extends Object$1 {
24066
24066
  span.end();
24067
24067
  }
24068
24068
  };
24069
- if (isPortableIri(url)) return await dereferencePortable(url);
24069
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
24070
24070
  const lookupUrl = formatIri(url);
24071
24071
  const portableMode = isPortableMode(this, options);
24072
24072
  if (portableMode) {
@@ -25254,7 +25254,7 @@ var OrderedCollection = class OrderedCollection extends Collection {
25254
25254
  span.end();
25255
25255
  }
25256
25256
  };
25257
- if (isPortableIri(url)) return await dereferencePortable(url);
25257
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
25258
25258
  const lookupUrl = formatIri(url);
25259
25259
  const portableMode = isPortableMode(this, options);
25260
25260
  if (portableMode) {
@@ -26243,7 +26243,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26243
26243
  span.end();
26244
26244
  }
26245
26245
  };
26246
- if (isPortableIri(url)) return await dereferencePortable(url);
26246
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
26247
26247
  const lookupUrl = formatIri(url);
26248
26248
  const portableMode = isPortableMode(this, options);
26249
26249
  if (portableMode) {
@@ -26468,7 +26468,7 @@ var FeaturedItem = class FeaturedItem extends Object$1 {
26468
26468
  span.end();
26469
26469
  }
26470
26470
  };
26471
- if (isPortableIri(url)) return await dereferencePortable(url);
26471
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
26472
26472
  const lookupUrl = formatIri(url);
26473
26473
  const portableMode = isPortableMode(this, options);
26474
26474
  if (portableMode) {
@@ -27575,7 +27575,7 @@ var DataIntegrityProof = class {
27575
27575
  span.end();
27576
27576
  }
27577
27577
  };
27578
- if (isPortableIri(url)) return await dereferencePortable(url);
27578
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
27579
27579
  const lookupUrl = formatIri(url);
27580
27580
  const portableMode = isPortableMode(this, options);
27581
27581
  if (portableMode) {
@@ -28222,7 +28222,7 @@ var CryptographicKey = class {
28222
28222
  span.end();
28223
28223
  }
28224
28224
  };
28225
- if (isPortableIri(url)) return await dereferencePortable(url);
28225
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
28226
28226
  const lookupUrl = formatIri(url);
28227
28227
  const portableMode = isPortableMode(this, options);
28228
28228
  if (portableMode) {
@@ -28875,7 +28875,7 @@ var Multikey = class {
28875
28875
  span.end();
28876
28876
  }
28877
28877
  };
28878
- if (isPortableIri(url)) return await dereferencePortable(url);
28878
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
28879
28879
  const lookupUrl = formatIri(url);
28880
28880
  const portableMode = isPortableMode(this, options);
28881
28881
  if (portableMode) {
@@ -32153,7 +32153,7 @@ var Application = class Application extends Object$1 {
32153
32153
  span.end();
32154
32154
  }
32155
32155
  };
32156
- if (isPortableIri(url)) return await dereferencePortable(url);
32156
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32157
32157
  const lookupUrl = formatIri(url);
32158
32158
  const portableMode = isPortableMode(this, options);
32159
32159
  if (portableMode) {
@@ -32451,7 +32451,7 @@ var Application = class Application extends Object$1 {
32451
32451
  span.end();
32452
32452
  }
32453
32453
  };
32454
- if (isPortableIri(url)) return await dereferencePortable(url);
32454
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32455
32455
  const lookupUrl = formatIri(url);
32456
32456
  const portableMode = isPortableMode(this, options);
32457
32457
  if (portableMode) {
@@ -32785,7 +32785,7 @@ var Application = class Application extends Object$1 {
32785
32785
  span.end();
32786
32786
  }
32787
32787
  };
32788
- if (isPortableIri(url)) return await dereferencePortable(url);
32788
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
32789
32789
  const lookupUrl = formatIri(url);
32790
32790
  const portableMode = isPortableMode(this, options);
32791
32791
  if (portableMode) {
@@ -33033,7 +33033,7 @@ var Application = class Application extends Object$1 {
33033
33033
  span.end();
33034
33034
  }
33035
33035
  };
33036
- if (isPortableIri(url)) return await dereferencePortable(url);
33036
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33037
33037
  const lookupUrl = formatIri(url);
33038
33038
  const portableMode = isPortableMode(this, options);
33039
33039
  if (portableMode) {
@@ -33278,7 +33278,7 @@ var Application = class Application extends Object$1 {
33278
33278
  span.end();
33279
33279
  }
33280
33280
  };
33281
- if (isPortableIri(url)) return await dereferencePortable(url);
33281
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33282
33282
  const lookupUrl = formatIri(url);
33283
33283
  const portableMode = isPortableMode(this, options);
33284
33284
  if (portableMode) {
@@ -33507,7 +33507,7 @@ var Application = class Application extends Object$1 {
33507
33507
  span.end();
33508
33508
  }
33509
33509
  };
33510
- if (isPortableIri(url)) return await dereferencePortable(url);
33510
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33511
33511
  const lookupUrl = formatIri(url);
33512
33512
  const portableMode = isPortableMode(this, options);
33513
33513
  if (portableMode) {
@@ -33739,7 +33739,7 @@ var Application = class Application extends Object$1 {
33739
33739
  span.end();
33740
33740
  }
33741
33741
  };
33742
- if (isPortableIri(url)) return await dereferencePortable(url);
33742
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33743
33743
  const lookupUrl = formatIri(url);
33744
33744
  const portableMode = isPortableMode(this, options);
33745
33745
  if (portableMode) {
@@ -33969,7 +33969,7 @@ var Application = class Application extends Object$1 {
33969
33969
  span.end();
33970
33970
  }
33971
33971
  };
33972
- if (isPortableIri(url)) return await dereferencePortable(url);
33972
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
33973
33973
  const lookupUrl = formatIri(url);
33974
33974
  const portableMode = isPortableMode(this, options);
33975
33975
  if (portableMode) {
@@ -34197,7 +34197,7 @@ var Application = class Application extends Object$1 {
34197
34197
  span.end();
34198
34198
  }
34199
34199
  };
34200
- if (isPortableIri(url)) return await dereferencePortable(url);
34200
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34201
34201
  const lookupUrl = formatIri(url);
34202
34202
  const portableMode = isPortableMode(this, options);
34203
34203
  if (portableMode) {
@@ -34425,7 +34425,7 @@ var Application = class Application extends Object$1 {
34425
34425
  span.end();
34426
34426
  }
34427
34427
  };
34428
- if (isPortableIri(url)) return await dereferencePortable(url);
34428
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34429
34429
  const lookupUrl = formatIri(url);
34430
34430
  const portableMode = isPortableMode(this, options);
34431
34431
  if (portableMode) {
@@ -34650,7 +34650,7 @@ var Application = class Application extends Object$1 {
34650
34650
  span.end();
34651
34651
  }
34652
34652
  };
34653
- if (isPortableIri(url)) return await dereferencePortable(url);
34653
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34654
34654
  const lookupUrl = formatIri(url);
34655
34655
  const portableMode = isPortableMode(this, options);
34656
34656
  if (portableMode) {
@@ -34921,7 +34921,7 @@ var Application = class Application extends Object$1 {
34921
34921
  span.end();
34922
34922
  }
34923
34923
  };
34924
- if (isPortableIri(url)) return await dereferencePortable(url);
34924
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
34925
34925
  const lookupUrl = formatIri(url);
34926
34926
  const portableMode = isPortableMode(this, options);
34927
34927
  if (portableMode) {
@@ -35196,7 +35196,7 @@ var Application = class Application extends Object$1 {
35196
35196
  span.end();
35197
35197
  }
35198
35198
  };
35199
- if (isPortableIri(url)) return await dereferencePortable(url);
35199
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
35200
35200
  const lookupUrl = formatIri(url);
35201
35201
  const portableMode = isPortableMode(this, options);
35202
35202
  if (portableMode) {
@@ -35550,7 +35550,7 @@ var Application = class Application extends Object$1 {
35550
35550
  span.end();
35551
35551
  }
35552
35552
  };
35553
- if (isPortableIri(url)) return await dereferencePortable(url);
35553
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
35554
35554
  const lookupUrl = formatIri(url);
35555
35555
  const portableMode = isPortableMode(this, options);
35556
35556
  if (portableMode) {
@@ -37677,7 +37677,7 @@ var Article = class Article extends Object$1 {
37677
37677
  span.end();
37678
37678
  }
37679
37679
  };
37680
- if (isPortableIri(url)) return await dereferencePortable(url);
37680
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
37681
37681
  const lookupUrl = formatIri(url);
37682
37682
  const portableMode = isPortableMode(this, options);
37683
37683
  if (portableMode) {
@@ -37920,7 +37920,7 @@ var Article = class Article extends Object$1 {
37920
37920
  span.end();
37921
37921
  }
37922
37922
  };
37923
- if (isPortableIri(url)) return await dereferencePortable(url);
37923
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
37924
37924
  const lookupUrl = formatIri(url);
37925
37925
  const portableMode = isPortableMode(this, options);
37926
37926
  if (portableMode) {
@@ -39543,7 +39543,7 @@ var CollectionPage = class CollectionPage extends Collection {
39543
39543
  span.end();
39544
39544
  }
39545
39545
  };
39546
- if (isPortableIri(url)) return await dereferencePortable(url);
39546
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
39547
39547
  const lookupUrl = formatIri(url);
39548
39548
  const portableMode = isPortableMode(this, options);
39549
39549
  if (portableMode) {
@@ -39769,7 +39769,7 @@ var CollectionPage = class CollectionPage extends Collection {
39769
39769
  span.end();
39770
39770
  }
39771
39771
  };
39772
- if (isPortableIri(url)) return await dereferencePortable(url);
39772
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
39773
39773
  const lookupUrl = formatIri(url);
39774
39774
  const portableMode = isPortableMode(this, options);
39775
39775
  if (portableMode) {
@@ -39994,7 +39994,7 @@ var CollectionPage = class CollectionPage extends Collection {
39994
39994
  span.end();
39995
39995
  }
39996
39996
  };
39997
- if (isPortableIri(url)) return await dereferencePortable(url);
39997
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
39998
39998
  const lookupUrl = formatIri(url);
39999
39999
  const portableMode = isPortableMode(this, options);
40000
40000
  if (portableMode) {
@@ -42777,7 +42777,7 @@ var Group = class Group extends Object$1 {
42777
42777
  span.end();
42778
42778
  }
42779
42779
  };
42780
- if (isPortableIri(url)) return await dereferencePortable(url);
42780
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
42781
42781
  const lookupUrl = formatIri(url);
42782
42782
  const portableMode = isPortableMode(this, options);
42783
42783
  if (portableMode) {
@@ -43075,7 +43075,7 @@ var Group = class Group extends Object$1 {
43075
43075
  span.end();
43076
43076
  }
43077
43077
  };
43078
- if (isPortableIri(url)) return await dereferencePortable(url);
43078
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43079
43079
  const lookupUrl = formatIri(url);
43080
43080
  const portableMode = isPortableMode(this, options);
43081
43081
  if (portableMode) {
@@ -43409,7 +43409,7 @@ var Group = class Group extends Object$1 {
43409
43409
  span.end();
43410
43410
  }
43411
43411
  };
43412
- if (isPortableIri(url)) return await dereferencePortable(url);
43412
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43413
43413
  const lookupUrl = formatIri(url);
43414
43414
  const portableMode = isPortableMode(this, options);
43415
43415
  if (portableMode) {
@@ -43657,7 +43657,7 @@ var Group = class Group extends Object$1 {
43657
43657
  span.end();
43658
43658
  }
43659
43659
  };
43660
- if (isPortableIri(url)) return await dereferencePortable(url);
43660
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43661
43661
  const lookupUrl = formatIri(url);
43662
43662
  const portableMode = isPortableMode(this, options);
43663
43663
  if (portableMode) {
@@ -43902,7 +43902,7 @@ var Group = class Group extends Object$1 {
43902
43902
  span.end();
43903
43903
  }
43904
43904
  };
43905
- if (isPortableIri(url)) return await dereferencePortable(url);
43905
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
43906
43906
  const lookupUrl = formatIri(url);
43907
43907
  const portableMode = isPortableMode(this, options);
43908
43908
  if (portableMode) {
@@ -44131,7 +44131,7 @@ var Group = class Group extends Object$1 {
44131
44131
  span.end();
44132
44132
  }
44133
44133
  };
44134
- if (isPortableIri(url)) return await dereferencePortable(url);
44134
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44135
44135
  const lookupUrl = formatIri(url);
44136
44136
  const portableMode = isPortableMode(this, options);
44137
44137
  if (portableMode) {
@@ -44363,7 +44363,7 @@ var Group = class Group extends Object$1 {
44363
44363
  span.end();
44364
44364
  }
44365
44365
  };
44366
- if (isPortableIri(url)) return await dereferencePortable(url);
44366
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44367
44367
  const lookupUrl = formatIri(url);
44368
44368
  const portableMode = isPortableMode(this, options);
44369
44369
  if (portableMode) {
@@ -44593,7 +44593,7 @@ var Group = class Group extends Object$1 {
44593
44593
  span.end();
44594
44594
  }
44595
44595
  };
44596
- if (isPortableIri(url)) return await dereferencePortable(url);
44596
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44597
44597
  const lookupUrl = formatIri(url);
44598
44598
  const portableMode = isPortableMode(this, options);
44599
44599
  if (portableMode) {
@@ -44821,7 +44821,7 @@ var Group = class Group extends Object$1 {
44821
44821
  span.end();
44822
44822
  }
44823
44823
  };
44824
- if (isPortableIri(url)) return await dereferencePortable(url);
44824
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
44825
44825
  const lookupUrl = formatIri(url);
44826
44826
  const portableMode = isPortableMode(this, options);
44827
44827
  if (portableMode) {
@@ -45049,7 +45049,7 @@ var Group = class Group extends Object$1 {
45049
45049
  span.end();
45050
45050
  }
45051
45051
  };
45052
- if (isPortableIri(url)) return await dereferencePortable(url);
45052
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45053
45053
  const lookupUrl = formatIri(url);
45054
45054
  const portableMode = isPortableMode(this, options);
45055
45055
  if (portableMode) {
@@ -45274,7 +45274,7 @@ var Group = class Group extends Object$1 {
45274
45274
  span.end();
45275
45275
  }
45276
45276
  };
45277
- if (isPortableIri(url)) return await dereferencePortable(url);
45277
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45278
45278
  const lookupUrl = formatIri(url);
45279
45279
  const portableMode = isPortableMode(this, options);
45280
45280
  if (portableMode) {
@@ -45545,7 +45545,7 @@ var Group = class Group extends Object$1 {
45545
45545
  span.end();
45546
45546
  }
45547
45547
  };
45548
- if (isPortableIri(url)) return await dereferencePortable(url);
45548
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45549
45549
  const lookupUrl = formatIri(url);
45550
45550
  const portableMode = isPortableMode(this, options);
45551
45551
  if (portableMode) {
@@ -45820,7 +45820,7 @@ var Group = class Group extends Object$1 {
45820
45820
  span.end();
45821
45821
  }
45822
45822
  };
45823
- if (isPortableIri(url)) return await dereferencePortable(url);
45823
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
45824
45824
  const lookupUrl = formatIri(url);
45825
45825
  const portableMode = isPortableMode(this, options);
45826
45826
  if (portableMode) {
@@ -46174,7 +46174,7 @@ var Group = class Group extends Object$1 {
46174
46174
  span.end();
46175
46175
  }
46176
46176
  };
46177
- if (isPortableIri(url)) return await dereferencePortable(url);
46177
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
46178
46178
  const lookupUrl = formatIri(url);
46179
46179
  const portableMode = isPortableMode(this, options);
46180
46180
  if (portableMode) {
@@ -48109,7 +48109,7 @@ var Link = class Link {
48109
48109
  span.end();
48110
48110
  }
48111
48111
  };
48112
- if (isPortableIri(url)) return await dereferencePortable(url);
48112
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
48113
48113
  const lookupUrl = formatIri(url);
48114
48114
  const portableMode = isPortableMode(this, options);
48115
48115
  if (portableMode) {
@@ -50939,7 +50939,7 @@ var Note = class Note extends Object$1 {
50939
50939
  span.end();
50940
50940
  }
50941
50941
  };
50942
- if (isPortableIri(url)) return await dereferencePortable(url);
50942
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
50943
50943
  const lookupUrl = formatIri(url);
50944
50944
  const portableMode = isPortableMode(this, options);
50945
50945
  if (portableMode) {
@@ -51182,7 +51182,7 @@ var Note = class Note extends Object$1 {
51182
51182
  span.end();
51183
51183
  }
51184
51184
  };
51185
- if (isPortableIri(url)) return await dereferencePortable(url);
51185
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
51186
51186
  const lookupUrl = formatIri(url);
51187
51187
  const portableMode = isPortableMode(this, options);
51188
51188
  if (portableMode) {
@@ -51825,7 +51825,7 @@ var OrderedCollectionPage = class OrderedCollectionPage extends CollectionPage {
51825
51825
  span.end();
51826
51826
  }
51827
51827
  };
51828
- if (isPortableIri(url)) return await dereferencePortable(url);
51828
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
51829
51829
  const lookupUrl = formatIri(url);
51830
51830
  const portableMode = isPortableMode(this, options);
51831
51831
  if (portableMode) {
@@ -52826,7 +52826,7 @@ var Organization = class Organization extends Object$1 {
52826
52826
  span.end();
52827
52827
  }
52828
52828
  };
52829
- if (isPortableIri(url)) return await dereferencePortable(url);
52829
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
52830
52830
  const lookupUrl = formatIri(url);
52831
52831
  const portableMode = isPortableMode(this, options);
52832
52832
  if (portableMode) {
@@ -53124,7 +53124,7 @@ var Organization = class Organization extends Object$1 {
53124
53124
  span.end();
53125
53125
  }
53126
53126
  };
53127
- if (isPortableIri(url)) return await dereferencePortable(url);
53127
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53128
53128
  const lookupUrl = formatIri(url);
53129
53129
  const portableMode = isPortableMode(this, options);
53130
53130
  if (portableMode) {
@@ -53458,7 +53458,7 @@ var Organization = class Organization extends Object$1 {
53458
53458
  span.end();
53459
53459
  }
53460
53460
  };
53461
- if (isPortableIri(url)) return await dereferencePortable(url);
53461
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53462
53462
  const lookupUrl = formatIri(url);
53463
53463
  const portableMode = isPortableMode(this, options);
53464
53464
  if (portableMode) {
@@ -53706,7 +53706,7 @@ var Organization = class Organization extends Object$1 {
53706
53706
  span.end();
53707
53707
  }
53708
53708
  };
53709
- if (isPortableIri(url)) return await dereferencePortable(url);
53709
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53710
53710
  const lookupUrl = formatIri(url);
53711
53711
  const portableMode = isPortableMode(this, options);
53712
53712
  if (portableMode) {
@@ -53951,7 +53951,7 @@ var Organization = class Organization extends Object$1 {
53951
53951
  span.end();
53952
53952
  }
53953
53953
  };
53954
- if (isPortableIri(url)) return await dereferencePortable(url);
53954
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
53955
53955
  const lookupUrl = formatIri(url);
53956
53956
  const portableMode = isPortableMode(this, options);
53957
53957
  if (portableMode) {
@@ -54180,7 +54180,7 @@ var Organization = class Organization extends Object$1 {
54180
54180
  span.end();
54181
54181
  }
54182
54182
  };
54183
- if (isPortableIri(url)) return await dereferencePortable(url);
54183
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54184
54184
  const lookupUrl = formatIri(url);
54185
54185
  const portableMode = isPortableMode(this, options);
54186
54186
  if (portableMode) {
@@ -54412,7 +54412,7 @@ var Organization = class Organization extends Object$1 {
54412
54412
  span.end();
54413
54413
  }
54414
54414
  };
54415
- if (isPortableIri(url)) return await dereferencePortable(url);
54415
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54416
54416
  const lookupUrl = formatIri(url);
54417
54417
  const portableMode = isPortableMode(this, options);
54418
54418
  if (portableMode) {
@@ -54642,7 +54642,7 @@ var Organization = class Organization extends Object$1 {
54642
54642
  span.end();
54643
54643
  }
54644
54644
  };
54645
- if (isPortableIri(url)) return await dereferencePortable(url);
54645
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54646
54646
  const lookupUrl = formatIri(url);
54647
54647
  const portableMode = isPortableMode(this, options);
54648
54648
  if (portableMode) {
@@ -54870,7 +54870,7 @@ var Organization = class Organization extends Object$1 {
54870
54870
  span.end();
54871
54871
  }
54872
54872
  };
54873
- if (isPortableIri(url)) return await dereferencePortable(url);
54873
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
54874
54874
  const lookupUrl = formatIri(url);
54875
54875
  const portableMode = isPortableMode(this, options);
54876
54876
  if (portableMode) {
@@ -55098,7 +55098,7 @@ var Organization = class Organization extends Object$1 {
55098
55098
  span.end();
55099
55099
  }
55100
55100
  };
55101
- if (isPortableIri(url)) return await dereferencePortable(url);
55101
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55102
55102
  const lookupUrl = formatIri(url);
55103
55103
  const portableMode = isPortableMode(this, options);
55104
55104
  if (portableMode) {
@@ -55323,7 +55323,7 @@ var Organization = class Organization extends Object$1 {
55323
55323
  span.end();
55324
55324
  }
55325
55325
  };
55326
- if (isPortableIri(url)) return await dereferencePortable(url);
55326
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55327
55327
  const lookupUrl = formatIri(url);
55328
55328
  const portableMode = isPortableMode(this, options);
55329
55329
  if (portableMode) {
@@ -55594,7 +55594,7 @@ var Organization = class Organization extends Object$1 {
55594
55594
  span.end();
55595
55595
  }
55596
55596
  };
55597
- if (isPortableIri(url)) return await dereferencePortable(url);
55597
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55598
55598
  const lookupUrl = formatIri(url);
55599
55599
  const portableMode = isPortableMode(this, options);
55600
55600
  if (portableMode) {
@@ -55869,7 +55869,7 @@ var Organization = class Organization extends Object$1 {
55869
55869
  span.end();
55870
55870
  }
55871
55871
  };
55872
- if (isPortableIri(url)) return await dereferencePortable(url);
55872
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
55873
55873
  const lookupUrl = formatIri(url);
55874
55874
  const portableMode = isPortableMode(this, options);
55875
55875
  if (portableMode) {
@@ -56223,7 +56223,7 @@ var Organization = class Organization extends Object$1 {
56223
56223
  span.end();
56224
56224
  }
56225
56225
  };
56226
- if (isPortableIri(url)) return await dereferencePortable(url);
56226
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
56227
56227
  const lookupUrl = formatIri(url);
56228
56228
  const portableMode = isPortableMode(this, options);
56229
56229
  if (portableMode) {
@@ -58461,7 +58461,7 @@ var Person = class Person extends Object$1 {
58461
58461
  span.end();
58462
58462
  }
58463
58463
  };
58464
- if (isPortableIri(url)) return await dereferencePortable(url);
58464
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
58465
58465
  const lookupUrl = formatIri(url);
58466
58466
  const portableMode = isPortableMode(this, options);
58467
58467
  if (portableMode) {
@@ -58759,7 +58759,7 @@ var Person = class Person extends Object$1 {
58759
58759
  span.end();
58760
58760
  }
58761
58761
  };
58762
- if (isPortableIri(url)) return await dereferencePortable(url);
58762
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
58763
58763
  const lookupUrl = formatIri(url);
58764
58764
  const portableMode = isPortableMode(this, options);
58765
58765
  if (portableMode) {
@@ -59093,7 +59093,7 @@ var Person = class Person extends Object$1 {
59093
59093
  span.end();
59094
59094
  }
59095
59095
  };
59096
- if (isPortableIri(url)) return await dereferencePortable(url);
59096
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59097
59097
  const lookupUrl = formatIri(url);
59098
59098
  const portableMode = isPortableMode(this, options);
59099
59099
  if (portableMode) {
@@ -59341,7 +59341,7 @@ var Person = class Person extends Object$1 {
59341
59341
  span.end();
59342
59342
  }
59343
59343
  };
59344
- if (isPortableIri(url)) return await dereferencePortable(url);
59344
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59345
59345
  const lookupUrl = formatIri(url);
59346
59346
  const portableMode = isPortableMode(this, options);
59347
59347
  if (portableMode) {
@@ -59586,7 +59586,7 @@ var Person = class Person extends Object$1 {
59586
59586
  span.end();
59587
59587
  }
59588
59588
  };
59589
- if (isPortableIri(url)) return await dereferencePortable(url);
59589
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59590
59590
  const lookupUrl = formatIri(url);
59591
59591
  const portableMode = isPortableMode(this, options);
59592
59592
  if (portableMode) {
@@ -59815,7 +59815,7 @@ var Person = class Person extends Object$1 {
59815
59815
  span.end();
59816
59816
  }
59817
59817
  };
59818
- if (isPortableIri(url)) return await dereferencePortable(url);
59818
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
59819
59819
  const lookupUrl = formatIri(url);
59820
59820
  const portableMode = isPortableMode(this, options);
59821
59821
  if (portableMode) {
@@ -60047,7 +60047,7 @@ var Person = class Person extends Object$1 {
60047
60047
  span.end();
60048
60048
  }
60049
60049
  };
60050
- if (isPortableIri(url)) return await dereferencePortable(url);
60050
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60051
60051
  const lookupUrl = formatIri(url);
60052
60052
  const portableMode = isPortableMode(this, options);
60053
60053
  if (portableMode) {
@@ -60277,7 +60277,7 @@ var Person = class Person extends Object$1 {
60277
60277
  span.end();
60278
60278
  }
60279
60279
  };
60280
- if (isPortableIri(url)) return await dereferencePortable(url);
60280
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60281
60281
  const lookupUrl = formatIri(url);
60282
60282
  const portableMode = isPortableMode(this, options);
60283
60283
  if (portableMode) {
@@ -60505,7 +60505,7 @@ var Person = class Person extends Object$1 {
60505
60505
  span.end();
60506
60506
  }
60507
60507
  };
60508
- if (isPortableIri(url)) return await dereferencePortable(url);
60508
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60509
60509
  const lookupUrl = formatIri(url);
60510
60510
  const portableMode = isPortableMode(this, options);
60511
60511
  if (portableMode) {
@@ -60733,7 +60733,7 @@ var Person = class Person extends Object$1 {
60733
60733
  span.end();
60734
60734
  }
60735
60735
  };
60736
- if (isPortableIri(url)) return await dereferencePortable(url);
60736
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60737
60737
  const lookupUrl = formatIri(url);
60738
60738
  const portableMode = isPortableMode(this, options);
60739
60739
  if (portableMode) {
@@ -60958,7 +60958,7 @@ var Person = class Person extends Object$1 {
60958
60958
  span.end();
60959
60959
  }
60960
60960
  };
60961
- if (isPortableIri(url)) return await dereferencePortable(url);
60961
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
60962
60962
  const lookupUrl = formatIri(url);
60963
60963
  const portableMode = isPortableMode(this, options);
60964
60964
  if (portableMode) {
@@ -61229,7 +61229,7 @@ var Person = class Person extends Object$1 {
61229
61229
  span.end();
61230
61230
  }
61231
61231
  };
61232
- if (isPortableIri(url)) return await dereferencePortable(url);
61232
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61233
61233
  const lookupUrl = formatIri(url);
61234
61234
  const portableMode = isPortableMode(this, options);
61235
61235
  if (portableMode) {
@@ -61504,7 +61504,7 @@ var Person = class Person extends Object$1 {
61504
61504
  span.end();
61505
61505
  }
61506
61506
  };
61507
- if (isPortableIri(url)) return await dereferencePortable(url);
61507
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61508
61508
  const lookupUrl = formatIri(url);
61509
61509
  const portableMode = isPortableMode(this, options);
61510
61510
  if (portableMode) {
@@ -61858,7 +61858,7 @@ var Person = class Person extends Object$1 {
61858
61858
  span.end();
61859
61859
  }
61860
61860
  };
61861
- if (isPortableIri(url)) return await dereferencePortable(url);
61861
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
61862
61862
  const lookupUrl = formatIri(url);
61863
61863
  const portableMode = isPortableMode(this, options);
61864
61864
  if (portableMode) {
@@ -64103,7 +64103,7 @@ var Profile = class Profile extends Object$1 {
64103
64103
  span.end();
64104
64104
  }
64105
64105
  };
64106
- if (isPortableIri(url)) return await dereferencePortable(url);
64106
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
64107
64107
  const lookupUrl = formatIri(url);
64108
64108
  const portableMode = isPortableMode(this, options);
64109
64109
  if (portableMode) {
@@ -64659,7 +64659,7 @@ var Question = class Question extends IntransitiveActivity {
64659
64659
  span.end();
64660
64660
  }
64661
64661
  };
64662
- if (isPortableIri(url)) return await dereferencePortable(url);
64662
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
64663
64663
  const lookupUrl = formatIri(url);
64664
64664
  const portableMode = isPortableMode(this, options);
64665
64665
  if (portableMode) {
@@ -64890,7 +64890,7 @@ var Question = class Question extends IntransitiveActivity {
64890
64890
  span.end();
64891
64891
  }
64892
64892
  };
64893
- if (isPortableIri(url)) return await dereferencePortable(url);
64893
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
64894
64894
  const lookupUrl = formatIri(url);
64895
64895
  const portableMode = isPortableMode(this, options);
64896
64896
  if (portableMode) {
@@ -65137,7 +65137,7 @@ var Question = class Question extends IntransitiveActivity {
65137
65137
  span.end();
65138
65138
  }
65139
65139
  };
65140
- if (isPortableIri(url)) return await dereferencePortable(url);
65140
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
65141
65141
  const lookupUrl = formatIri(url);
65142
65142
  const portableMode = isPortableMode(this, options);
65143
65143
  if (portableMode) {
@@ -65380,7 +65380,7 @@ var Question = class Question extends IntransitiveActivity {
65380
65380
  span.end();
65381
65381
  }
65382
65382
  };
65383
- if (isPortableIri(url)) return await dereferencePortable(url);
65383
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
65384
65384
  const lookupUrl = formatIri(url);
65385
65385
  const portableMode = isPortableMode(this, options);
65386
65386
  if (portableMode) {
@@ -66532,7 +66532,7 @@ var Relationship = class Relationship extends Object$1 {
66532
66532
  span.end();
66533
66533
  }
66534
66534
  };
66535
- if (isPortableIri(url)) return await dereferencePortable(url);
66535
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
66536
66536
  const lookupUrl = formatIri(url);
66537
66537
  const portableMode = isPortableMode(this, options);
66538
66538
  if (portableMode) {
@@ -66760,7 +66760,7 @@ var Relationship = class Relationship extends Object$1 {
66760
66760
  span.end();
66761
66761
  }
66762
66762
  };
66763
- if (isPortableIri(url)) return await dereferencePortable(url);
66763
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
66764
66764
  const lookupUrl = formatIri(url);
66765
66765
  const portableMode = isPortableMode(this, options);
66766
66766
  if (portableMode) {
@@ -67058,7 +67058,7 @@ var Relationship = class Relationship extends Object$1 {
67058
67058
  span.end();
67059
67059
  }
67060
67060
  };
67061
- if (isPortableIri(url)) return await dereferencePortable(url);
67061
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
67062
67062
  const lookupUrl = formatIri(url);
67063
67063
  const portableMode = isPortableMode(this, options);
67064
67064
  if (portableMode) {
@@ -68226,7 +68226,7 @@ var Service = class Service extends Object$1 {
68226
68226
  span.end();
68227
68227
  }
68228
68228
  };
68229
- if (isPortableIri(url)) return await dereferencePortable(url);
68229
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68230
68230
  const lookupUrl = formatIri(url);
68231
68231
  const portableMode = isPortableMode(this, options);
68232
68232
  if (portableMode) {
@@ -68524,7 +68524,7 @@ var Service = class Service extends Object$1 {
68524
68524
  span.end();
68525
68525
  }
68526
68526
  };
68527
- if (isPortableIri(url)) return await dereferencePortable(url);
68527
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68528
68528
  const lookupUrl = formatIri(url);
68529
68529
  const portableMode = isPortableMode(this, options);
68530
68530
  if (portableMode) {
@@ -68858,7 +68858,7 @@ var Service = class Service extends Object$1 {
68858
68858
  span.end();
68859
68859
  }
68860
68860
  };
68861
- if (isPortableIri(url)) return await dereferencePortable(url);
68861
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
68862
68862
  const lookupUrl = formatIri(url);
68863
68863
  const portableMode = isPortableMode(this, options);
68864
68864
  if (portableMode) {
@@ -69106,7 +69106,7 @@ var Service = class Service extends Object$1 {
69106
69106
  span.end();
69107
69107
  }
69108
69108
  };
69109
- if (isPortableIri(url)) return await dereferencePortable(url);
69109
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69110
69110
  const lookupUrl = formatIri(url);
69111
69111
  const portableMode = isPortableMode(this, options);
69112
69112
  if (portableMode) {
@@ -69351,7 +69351,7 @@ var Service = class Service extends Object$1 {
69351
69351
  span.end();
69352
69352
  }
69353
69353
  };
69354
- if (isPortableIri(url)) return await dereferencePortable(url);
69354
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69355
69355
  const lookupUrl = formatIri(url);
69356
69356
  const portableMode = isPortableMode(this, options);
69357
69357
  if (portableMode) {
@@ -69580,7 +69580,7 @@ var Service = class Service extends Object$1 {
69580
69580
  span.end();
69581
69581
  }
69582
69582
  };
69583
- if (isPortableIri(url)) return await dereferencePortable(url);
69583
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69584
69584
  const lookupUrl = formatIri(url);
69585
69585
  const portableMode = isPortableMode(this, options);
69586
69586
  if (portableMode) {
@@ -69812,7 +69812,7 @@ var Service = class Service extends Object$1 {
69812
69812
  span.end();
69813
69813
  }
69814
69814
  };
69815
- if (isPortableIri(url)) return await dereferencePortable(url);
69815
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
69816
69816
  const lookupUrl = formatIri(url);
69817
69817
  const portableMode = isPortableMode(this, options);
69818
69818
  if (portableMode) {
@@ -70042,7 +70042,7 @@ var Service = class Service extends Object$1 {
70042
70042
  span.end();
70043
70043
  }
70044
70044
  };
70045
- if (isPortableIri(url)) return await dereferencePortable(url);
70045
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70046
70046
  const lookupUrl = formatIri(url);
70047
70047
  const portableMode = isPortableMode(this, options);
70048
70048
  if (portableMode) {
@@ -70270,7 +70270,7 @@ var Service = class Service extends Object$1 {
70270
70270
  span.end();
70271
70271
  }
70272
70272
  };
70273
- if (isPortableIri(url)) return await dereferencePortable(url);
70273
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70274
70274
  const lookupUrl = formatIri(url);
70275
70275
  const portableMode = isPortableMode(this, options);
70276
70276
  if (portableMode) {
@@ -70498,7 +70498,7 @@ var Service = class Service extends Object$1 {
70498
70498
  span.end();
70499
70499
  }
70500
70500
  };
70501
- if (isPortableIri(url)) return await dereferencePortable(url);
70501
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70502
70502
  const lookupUrl = formatIri(url);
70503
70503
  const portableMode = isPortableMode(this, options);
70504
70504
  if (portableMode) {
@@ -70723,7 +70723,7 @@ var Service = class Service extends Object$1 {
70723
70723
  span.end();
70724
70724
  }
70725
70725
  };
70726
- if (isPortableIri(url)) return await dereferencePortable(url);
70726
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70727
70727
  const lookupUrl = formatIri(url);
70728
70728
  const portableMode = isPortableMode(this, options);
70729
70729
  if (portableMode) {
@@ -70994,7 +70994,7 @@ var Service = class Service extends Object$1 {
70994
70994
  span.end();
70995
70995
  }
70996
70996
  };
70997
- if (isPortableIri(url)) return await dereferencePortable(url);
70997
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
70998
70998
  const lookupUrl = formatIri(url);
70999
70999
  const portableMode = isPortableMode(this, options);
71000
71000
  if (portableMode) {
@@ -71269,7 +71269,7 @@ var Service = class Service extends Object$1 {
71269
71269
  span.end();
71270
71270
  }
71271
71271
  };
71272
- if (isPortableIri(url)) return await dereferencePortable(url);
71272
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
71273
71273
  const lookupUrl = formatIri(url);
71274
71274
  const portableMode = isPortableMode(this, options);
71275
71275
  if (portableMode) {
@@ -71623,7 +71623,7 @@ var Service = class Service extends Object$1 {
71623
71623
  span.end();
71624
71624
  }
71625
71625
  };
71626
- if (isPortableIri(url)) return await dereferencePortable(url);
71626
+ if (isPortableIri(url)) return await dereferencePortable(url, options.gateways == null ? { inferredGateways: getReferrerGateways(this, url) } : {});
71627
71627
  const lookupUrl = formatIri(url);
71628
71628
  const portableMode = isPortableMode(this, options);
71629
71629
  if (portableMode) {