@fedify/fedify 0.11.0-dev.250 → 0.11.0-dev.251

Sign up to get free protection for your applications and to get access to all the features.
@@ -3256,13 +3256,16 @@ export class Object {
3256
3256
  }
3257
3257
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
3258
3258
  const _49BipA5dq9eoH8LX8xdsVumveTca = [];
3259
- const _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
- for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array == null
3261
- ? []
3262
- : _49BipA5dq9eoH8LX8xdsVumveTca__array.length === 1 &&
3263
- "@list" in _49BipA5dq9eoH8LX8xdsVumveTca__array[0]
3264
- ? _49BipA5dq9eoH8LX8xdsVumveTca__array[0]["@list"]
3265
- : _49BipA5dq9eoH8LX8xdsVumveTca__array) {
3259
+ let _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
+ if (_49BipA5dq9eoH8LX8xdsVumveTca__array == null) {
3261
+ _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3262
+ }
3263
+ else if (_49BipA5dq9eoH8LX8xdsVumveTca__array.length === 1 &&
3264
+ "@list" in _49BipA5dq9eoH8LX8xdsVumveTca__array[0]) {
3265
+ _49BipA5dq9eoH8LX8xdsVumveTca__array =
3266
+ _49BipA5dq9eoH8LX8xdsVumveTca__array[0]["@list"];
3267
+ }
3268
+ for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array) {
3266
3269
  if (v == null)
3267
3270
  continue;
3268
3271
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3336,14 +3339,18 @@ export class Object {
3336
3339
  _49BipA5dq9eoH8LX8xdsVumveTca.push(decoded);
3337
3340
  }
3338
3341
  instance.#_49BipA5dq9eoH8LX8xdsVumveTca = _49BipA5dq9eoH8LX8xdsVumveTca;
3342
+ _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3339
3343
  const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = [];
3340
- const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3341
- for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array == null
3342
- ? []
3343
- : _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array.length === 1 &&
3344
- "@list" in _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]
3345
- ? _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]["@list"]
3346
- : _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
3344
+ let _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3345
+ if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array == null) {
3346
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3347
+ }
3348
+ else if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array.length === 1 &&
3349
+ "@list" in _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]) {
3350
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array =
3351
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array[0]["@list"];
3352
+ }
3353
+ for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
3347
3354
  if (v == null)
3348
3355
  continue;
3349
3356
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3377,14 +3384,18 @@ export class Object {
3377
3384
  _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py.push(decoded);
3378
3385
  }
3379
3386
  instance.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py;
3387
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3380
3388
  const _3ocC3VVi88cEd5sPWL8djkZsvTN6 = [];
3381
- const _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3382
- for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array == null
3383
- ? []
3384
- : _3ocC3VVi88cEd5sPWL8djkZsvTN6__array.length === 1 &&
3385
- "@list" in _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]
3386
- ? _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]["@list"]
3387
- : _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
3389
+ let _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3390
+ if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array == null) {
3391
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3392
+ }
3393
+ else if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array.length === 1 &&
3394
+ "@list" in _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]) {
3395
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array =
3396
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array[0]["@list"];
3397
+ }
3398
+ for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
3388
3399
  if (v == null)
3389
3400
  continue;
3390
3401
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3395,14 +3406,18 @@ export class Object {
3395
3406
  _3ocC3VVi88cEd5sPWL8djkZsvTN6.push(await _a.fromJsonLd(v, options));
3396
3407
  }
3397
3408
  instance.#_3ocC3VVi88cEd5sPWL8djkZsvTN6 = _3ocC3VVi88cEd5sPWL8djkZsvTN6;
3409
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3398
3410
  const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = [];
3399
- const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3400
- for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array == null
3401
- ? []
3402
- : _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array.length === 1 &&
3403
- "@list" in _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]
3404
- ? _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]["@list"]
3405
- : _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
3411
+ let _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3412
+ if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array == null) {
3413
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3414
+ }
3415
+ else if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array.length === 1 &&
3416
+ "@list" in _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]) {
3417
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array =
3418
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array[0]["@list"];
3419
+ }
3420
+ for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
3406
3421
  if (v == null)
3407
3422
  continue;
3408
3423
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3418,14 +3433,18 @@ export class Object {
3418
3433
  _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz.push(decoded);
3419
3434
  }
3420
3435
  instance.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz;
3436
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3421
3437
  const _3mhZzGXSpQ431mBSz2kvych22v4e = [];
3422
- const _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3423
- for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array == null
3424
- ? []
3425
- : _3mhZzGXSpQ431mBSz2kvych22v4e__array.length === 1 &&
3426
- "@list" in _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]
3427
- ? _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]["@list"]
3428
- : _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
3438
+ let _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3439
+ if (_3mhZzGXSpQ431mBSz2kvych22v4e__array == null) {
3440
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3441
+ }
3442
+ else if (_3mhZzGXSpQ431mBSz2kvych22v4e__array.length === 1 &&
3443
+ "@list" in _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]) {
3444
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array =
3445
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array[0]["@list"];
3446
+ }
3447
+ for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
3429
3448
  if (v == null)
3430
3449
  continue;
3431
3450
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3495,14 +3514,18 @@ export class Object {
3495
3514
  _3mhZzGXSpQ431mBSz2kvych22v4e.push(decoded);
3496
3515
  }
3497
3516
  instance.#_3mhZzGXSpQ431mBSz2kvych22v4e = _3mhZzGXSpQ431mBSz2kvych22v4e;
3517
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3498
3518
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
3499
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3500
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
3501
- ? []
3502
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
3503
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
3504
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
3505
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
3519
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3520
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
3521
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3522
+ }
3523
+ else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
3524
+ "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
3525
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
3526
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
3527
+ }
3528
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
3506
3529
  if (v == null)
3507
3530
  continue;
3508
3531
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3518,27 +3541,35 @@ export class Object {
3518
3541
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
3519
3542
  }
3520
3543
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
3544
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3521
3545
  const _219RwDanjScTv5tYCjwGZVCM7KZ9 = [];
3522
- const _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3523
- for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array == null
3524
- ? []
3525
- : _219RwDanjScTv5tYCjwGZVCM7KZ9__array.length === 1 &&
3526
- "@list" in _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]
3527
- ? _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]["@list"]
3528
- : _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
3546
+ let _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3547
+ if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array == null) {
3548
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3549
+ }
3550
+ else if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array.length === 1 &&
3551
+ "@list" in _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]) {
3552
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array =
3553
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array[0]["@list"];
3554
+ }
3555
+ for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
3529
3556
  if (v == null)
3530
3557
  continue;
3531
3558
  _219RwDanjScTv5tYCjwGZVCM7KZ9.push(dntShim.Temporal.Instant.from(v["@value"]));
3532
3559
  }
3533
3560
  instance.#_219RwDanjScTv5tYCjwGZVCM7KZ9 = _219RwDanjScTv5tYCjwGZVCM7KZ9;
3561
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3534
3562
  const _86xFhmgBapoMvYqjbjRuDPayTrS = [];
3535
- const _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3536
- for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array == null
3537
- ? []
3538
- : _86xFhmgBapoMvYqjbjRuDPayTrS__array.length === 1 &&
3539
- "@list" in _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]
3540
- ? _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]["@list"]
3541
- : _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
3563
+ let _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3564
+ if (_86xFhmgBapoMvYqjbjRuDPayTrS__array == null) {
3565
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3566
+ }
3567
+ else if (_86xFhmgBapoMvYqjbjRuDPayTrS__array.length === 1 &&
3568
+ "@list" in _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]) {
3569
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array =
3570
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array[0]["@list"];
3571
+ }
3572
+ for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
3542
3573
  if (v == null)
3543
3574
  continue;
3544
3575
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3608,14 +3639,18 @@ export class Object {
3608
3639
  _86xFhmgBapoMvYqjbjRuDPayTrS.push(decoded);
3609
3640
  }
3610
3641
  instance.#_86xFhmgBapoMvYqjbjRuDPayTrS = _86xFhmgBapoMvYqjbjRuDPayTrS;
3642
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3611
3643
  const _33CjRLy5ujtsUrwRSCrsggvGdKuR = [];
3612
- const _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3613
- for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array == null
3614
- ? []
3615
- : _33CjRLy5ujtsUrwRSCrsggvGdKuR__array.length === 1 &&
3616
- "@list" in _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]
3617
- ? _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]["@list"]
3618
- : _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
3644
+ let _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3645
+ if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array == null) {
3646
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3647
+ }
3648
+ else if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array.length === 1 &&
3649
+ "@list" in _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]) {
3650
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array =
3651
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array[0]["@list"];
3652
+ }
3653
+ for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
3619
3654
  if (v == null)
3620
3655
  continue;
3621
3656
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3626,14 +3661,18 @@ export class Object {
3626
3661
  _33CjRLy5ujtsUrwRSCrsggvGdKuR.push(await Image.fromJsonLd(v, options));
3627
3662
  }
3628
3663
  instance.#_33CjRLy5ujtsUrwRSCrsggvGdKuR = _33CjRLy5ujtsUrwRSCrsggvGdKuR;
3664
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3629
3665
  const _3dXrUdkARxwyJLtJcYi1AJ92H41U = [];
3630
- const _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3631
- for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array == null
3632
- ? []
3633
- : _3dXrUdkARxwyJLtJcYi1AJ92H41U__array.length === 1 &&
3634
- "@list" in _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]
3635
- ? _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]["@list"]
3636
- : _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
3666
+ let _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3667
+ if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array == null) {
3668
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3669
+ }
3670
+ else if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array.length === 1 &&
3671
+ "@list" in _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]) {
3672
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array =
3673
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array[0]["@list"];
3674
+ }
3675
+ for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
3637
3676
  if (v == null)
3638
3677
  continue;
3639
3678
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3644,14 +3683,18 @@ export class Object {
3644
3683
  _3dXrUdkARxwyJLtJcYi1AJ92H41U.push(await Image.fromJsonLd(v, options));
3645
3684
  }
3646
3685
  instance.#_3dXrUdkARxwyJLtJcYi1AJ92H41U = _3dXrUdkARxwyJLtJcYi1AJ92H41U;
3686
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3647
3687
  const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s = [];
3648
- const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3649
- for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array == null
3650
- ? []
3651
- : _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array.length === 1 &&
3652
- "@list" in _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]
3653
- ? _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]["@list"]
3654
- : _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
3688
+ let _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3689
+ if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array == null) {
3690
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3691
+ }
3692
+ else if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array.length === 1 &&
3693
+ "@list" in _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]) {
3694
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array =
3695
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array[0]["@list"];
3696
+ }
3697
+ for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
3655
3698
  if (v == null)
3656
3699
  continue;
3657
3700
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3721,14 +3764,18 @@ export class Object {
3721
3764
  _3fpbDrvZgf3Kq1a5V9aByFn8kx3s.push(decoded);
3722
3765
  }
3723
3766
  instance.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s = _3fpbDrvZgf3Kq1a5V9aByFn8kx3s;
3767
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3724
3768
  const _31k5MUZJsnsPNg8dQQJieWaXTFnR = [];
3725
- const _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3726
- for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array == null
3727
- ? []
3728
- : _31k5MUZJsnsPNg8dQQJieWaXTFnR__array.length === 1 &&
3729
- "@list" in _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]
3730
- ? _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]["@list"]
3731
- : _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
3769
+ let _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3770
+ if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array == null) {
3771
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3772
+ }
3773
+ else if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array.length === 1 &&
3774
+ "@list" in _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]) {
3775
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array =
3776
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array[0]["@list"];
3777
+ }
3778
+ for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
3732
3779
  if (v == null)
3733
3780
  continue;
3734
3781
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3798,14 +3845,18 @@ export class Object {
3798
3845
  _31k5MUZJsnsPNg8dQQJieWaXTFnR.push(decoded);
3799
3846
  }
3800
3847
  instance.#_31k5MUZJsnsPNg8dQQJieWaXTFnR = _31k5MUZJsnsPNg8dQQJieWaXTFnR;
3848
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3801
3849
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
3802
- const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3803
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array == null
3804
- ? []
3805
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
3806
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]
3807
- ? _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"]
3808
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
3850
+ let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3851
+ if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
3852
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3853
+ }
3854
+ else if (_gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
3855
+ "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]) {
3856
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array =
3857
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"];
3858
+ }
3859
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
3809
3860
  if (v == null)
3810
3861
  continue;
3811
3862
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3875,27 +3926,35 @@ export class Object {
3875
3926
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
3876
3927
  }
3877
3928
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
3929
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3878
3930
  const _5e258TDXtuhaFRPZiGoDfEpjdMr = [];
3879
- const _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3880
- for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array == null
3881
- ? []
3882
- : _5e258TDXtuhaFRPZiGoDfEpjdMr__array.length === 1 &&
3883
- "@list" in _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]
3884
- ? _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]["@list"]
3885
- : _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
3931
+ let _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3932
+ if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array == null) {
3933
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3934
+ }
3935
+ else if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array.length === 1 &&
3936
+ "@list" in _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]) {
3937
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array =
3938
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array[0]["@list"];
3939
+ }
3940
+ for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
3886
3941
  if (v == null)
3887
3942
  continue;
3888
3943
  _5e258TDXtuhaFRPZiGoDfEpjdMr.push(dntShim.Temporal.Instant.from(v["@value"]));
3889
3944
  }
3890
3945
  instance.#_5e258TDXtuhaFRPZiGoDfEpjdMr = _5e258TDXtuhaFRPZiGoDfEpjdMr;
3946
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3891
3947
  const _7UpwM3JWcXhADcscukEehBorf6k = [];
3892
- const _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3893
- for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array == null
3894
- ? []
3895
- : _7UpwM3JWcXhADcscukEehBorf6k__array.length === 1 &&
3896
- "@list" in _7UpwM3JWcXhADcscukEehBorf6k__array[0]
3897
- ? _7UpwM3JWcXhADcscukEehBorf6k__array[0]["@list"]
3898
- : _7UpwM3JWcXhADcscukEehBorf6k__array) {
3948
+ let _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3949
+ if (_7UpwM3JWcXhADcscukEehBorf6k__array == null) {
3950
+ _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3951
+ }
3952
+ else if (_7UpwM3JWcXhADcscukEehBorf6k__array.length === 1 &&
3953
+ "@list" in _7UpwM3JWcXhADcscukEehBorf6k__array[0]) {
3954
+ _7UpwM3JWcXhADcscukEehBorf6k__array =
3955
+ _7UpwM3JWcXhADcscukEehBorf6k__array[0]["@list"];
3956
+ }
3957
+ for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array) {
3899
3958
  if (v == null)
3900
3959
  continue;
3901
3960
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3906,27 +3965,35 @@ export class Object {
3906
3965
  _7UpwM3JWcXhADcscukEehBorf6k.push(await Collection.fromJsonLd(v, options));
3907
3966
  }
3908
3967
  instance.#_7UpwM3JWcXhADcscukEehBorf6k = _7UpwM3JWcXhADcscukEehBorf6k;
3968
+ _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3909
3969
  const _2w3Jmue4up8iVDUA51WZqomEF438 = [];
3910
- const _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3911
- for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array == null
3912
- ? []
3913
- : _2w3Jmue4up8iVDUA51WZqomEF438__array.length === 1 &&
3914
- "@list" in _2w3Jmue4up8iVDUA51WZqomEF438__array[0]
3915
- ? _2w3Jmue4up8iVDUA51WZqomEF438__array[0]["@list"]
3916
- : _2w3Jmue4up8iVDUA51WZqomEF438__array) {
3970
+ let _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3971
+ if (_2w3Jmue4up8iVDUA51WZqomEF438__array == null) {
3972
+ _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3973
+ }
3974
+ else if (_2w3Jmue4up8iVDUA51WZqomEF438__array.length === 1 &&
3975
+ "@list" in _2w3Jmue4up8iVDUA51WZqomEF438__array[0]) {
3976
+ _2w3Jmue4up8iVDUA51WZqomEF438__array =
3977
+ _2w3Jmue4up8iVDUA51WZqomEF438__array[0]["@list"];
3978
+ }
3979
+ for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array) {
3917
3980
  if (v == null)
3918
3981
  continue;
3919
3982
  _2w3Jmue4up8iVDUA51WZqomEF438.push(dntShim.Temporal.Instant.from(v["@value"]));
3920
3983
  }
3921
3984
  instance.#_2w3Jmue4up8iVDUA51WZqomEF438 = _2w3Jmue4up8iVDUA51WZqomEF438;
3985
+ _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3922
3986
  const _4LqirZspQbFWWQEbFcXAxm7tTDN1 = [];
3923
- const _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3924
- for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array == null
3925
- ? []
3926
- : _4LqirZspQbFWWQEbFcXAxm7tTDN1__array.length === 1 &&
3927
- "@list" in _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]
3928
- ? _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]["@list"]
3929
- : _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
3987
+ let _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3988
+ if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array == null) {
3989
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
3990
+ }
3991
+ else if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array.length === 1 &&
3992
+ "@list" in _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]) {
3993
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array =
3994
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array[0]["@list"];
3995
+ }
3996
+ for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
3930
3997
  if (v == null)
3931
3998
  continue;
3932
3999
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3942,14 +4009,18 @@ export class Object {
3942
4009
  _4LqirZspQbFWWQEbFcXAxm7tTDN1.push(decoded);
3943
4010
  }
3944
4011
  instance.#_4LqirZspQbFWWQEbFcXAxm7tTDN1 = _4LqirZspQbFWWQEbFcXAxm7tTDN1;
4012
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
3945
4013
  const _5chuqj6s95p5gg2sk1HntGfarRf = [];
3946
- const _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
3947
- for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array == null
3948
- ? []
3949
- : _5chuqj6s95p5gg2sk1HntGfarRf__array.length === 1 &&
3950
- "@list" in _5chuqj6s95p5gg2sk1HntGfarRf__array[0]
3951
- ? _5chuqj6s95p5gg2sk1HntGfarRf__array[0]["@list"]
3952
- : _5chuqj6s95p5gg2sk1HntGfarRf__array) {
4014
+ let _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
4015
+ if (_5chuqj6s95p5gg2sk1HntGfarRf__array == null) {
4016
+ _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
4017
+ }
4018
+ else if (_5chuqj6s95p5gg2sk1HntGfarRf__array.length === 1 &&
4019
+ "@list" in _5chuqj6s95p5gg2sk1HntGfarRf__array[0]) {
4020
+ _5chuqj6s95p5gg2sk1HntGfarRf__array =
4021
+ _5chuqj6s95p5gg2sk1HntGfarRf__array[0]["@list"];
4022
+ }
4023
+ for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array) {
3953
4024
  if (v == null)
3954
4025
  continue;
3955
4026
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4019,27 +4090,35 @@ export class Object {
4019
4090
  _5chuqj6s95p5gg2sk1HntGfarRf.push(decoded);
4020
4091
  }
4021
4092
  instance.#_5chuqj6s95p5gg2sk1HntGfarRf = _5chuqj6s95p5gg2sk1HntGfarRf;
4093
+ _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
4022
4094
  const _385aB7ySixcf5Un6z3VsWmThgCzQ = [];
4023
- const _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
4024
- for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array == null
4025
- ? []
4026
- : _385aB7ySixcf5Un6z3VsWmThgCzQ__array.length === 1 &&
4027
- "@list" in _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]
4028
- ? _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]["@list"]
4029
- : _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
4095
+ let _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
4096
+ if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array == null) {
4097
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
4098
+ }
4099
+ else if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array.length === 1 &&
4100
+ "@list" in _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]) {
4101
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array =
4102
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array[0]["@list"];
4103
+ }
4104
+ for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
4030
4105
  if (v == null)
4031
4106
  continue;
4032
4107
  _385aB7ySixcf5Un6z3VsWmThgCzQ.push(dntShim.Temporal.Instant.from(v["@value"]));
4033
4108
  }
4034
4109
  instance.#_385aB7ySixcf5Un6z3VsWmThgCzQ = _385aB7ySixcf5Un6z3VsWmThgCzQ;
4110
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
4035
4111
  const _2oPEH9MQ3aj8JVwyYuWkqoVwV865 = [];
4036
- const _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
4037
- for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array == null
4038
- ? []
4039
- : _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array.length === 1 &&
4040
- "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]
4041
- ? _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]["@list"]
4042
- : _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
4112
+ let _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
4113
+ if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array == null) {
4114
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
4115
+ }
4116
+ else if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array.length === 1 &&
4117
+ "@list" in _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]) {
4118
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array =
4119
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array[0]["@list"];
4120
+ }
4121
+ for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
4043
4122
  if (v == null)
4044
4123
  continue;
4045
4124
  const decoded = typeof v === "object" && "@id" in v &&
@@ -4059,14 +4138,18 @@ export class Object {
4059
4138
  _2oPEH9MQ3aj8JVwyYuWkqoVwV865.push(decoded);
4060
4139
  }
4061
4140
  instance.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865 = _2oPEH9MQ3aj8JVwyYuWkqoVwV865;
4141
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
4062
4142
  const _3hFbw7DTpHhq3cvVhkY8njhcsXbd = [];
4063
- const _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
4064
- for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array == null
4065
- ? []
4066
- : _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array.length === 1 &&
4067
- "@list" in _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]
4068
- ? _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]["@list"]
4069
- : _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
4143
+ let _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
4144
+ if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array == null) {
4145
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
4146
+ }
4147
+ else if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array.length === 1 &&
4148
+ "@list" in _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]) {
4149
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array =
4150
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array[0]["@list"];
4151
+ }
4152
+ for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
4070
4153
  if (v == null)
4071
4154
  continue;
4072
4155
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4077,14 +4160,18 @@ export class Object {
4077
4160
  _3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(await _a.fromJsonLd(v, options));
4078
4161
  }
4079
4162
  instance.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd = _3hFbw7DTpHhq3cvVhkY8njhcsXbd;
4163
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
4080
4164
  const _aLZupjwL8XB7tzdLgCMXdjZ6qej = [];
4081
- const _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
4082
- for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array == null
4083
- ? []
4084
- : _aLZupjwL8XB7tzdLgCMXdjZ6qej__array.length === 1 &&
4085
- "@list" in _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]
4086
- ? _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]["@list"]
4087
- : _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
4165
+ let _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
4166
+ if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array == null) {
4167
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
4168
+ }
4169
+ else if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array.length === 1 &&
4170
+ "@list" in _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]) {
4171
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array =
4172
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array[0]["@list"];
4173
+ }
4174
+ for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
4088
4175
  if (v == null)
4089
4176
  continue;
4090
4177
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4095,14 +4182,18 @@ export class Object {
4095
4182
  _aLZupjwL8XB7tzdLgCMXdjZ6qej.push(await _a.fromJsonLd(v, options));
4096
4183
  }
4097
4184
  instance.#_aLZupjwL8XB7tzdLgCMXdjZ6qej = _aLZupjwL8XB7tzdLgCMXdjZ6qej;
4185
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
4098
4186
  const _42a1SvBs24QSLzKcfjCyNTjW5a1g = [];
4099
- const _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
4100
- for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array == null
4101
- ? []
4102
- : _42a1SvBs24QSLzKcfjCyNTjW5a1g__array.length === 1 &&
4103
- "@list" in _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]
4104
- ? _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]["@list"]
4105
- : _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
4187
+ let _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
4188
+ if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array == null) {
4189
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4190
+ }
4191
+ else if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array.length === 1 &&
4192
+ "@list" in _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]) {
4193
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array =
4194
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array[0]["@list"];
4195
+ }
4196
+ for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
4106
4197
  if (v == null)
4107
4198
  continue;
4108
4199
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4113,14 +4204,18 @@ export class Object {
4113
4204
  _42a1SvBs24QSLzKcfjCyNTjW5a1g.push(await _a.fromJsonLd(v, options));
4114
4205
  }
4115
4206
  instance.#_42a1SvBs24QSLzKcfjCyNTjW5a1g = _42a1SvBs24QSLzKcfjCyNTjW5a1g;
4207
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4116
4208
  const _3qvegKUB8YLgTXRpEf8E6JZSkz2H = [];
4117
- const _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4118
- for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array == null
4119
- ? []
4120
- : _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array.length === 1 &&
4121
- "@list" in _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]
4122
- ? _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]["@list"]
4123
- : _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
4209
+ let _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4210
+ if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array == null) {
4211
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4212
+ }
4213
+ else if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array.length === 1 &&
4214
+ "@list" in _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]) {
4215
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array =
4216
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array[0]["@list"];
4217
+ }
4218
+ for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
4124
4219
  if (v == null)
4125
4220
  continue;
4126
4221
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4131,53 +4226,69 @@ export class Object {
4131
4226
  _3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(await _a.fromJsonLd(v, options));
4132
4227
  }
4133
4228
  instance.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H = _3qvegKUB8YLgTXRpEf8E6JZSkz2H;
4229
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4134
4230
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
4135
- const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4136
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null
4137
- ? []
4138
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
4139
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]
4140
- ? _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"]
4141
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
4231
+ let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4232
+ if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
4233
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4234
+ }
4235
+ else if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
4236
+ "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]) {
4237
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array =
4238
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"];
4239
+ }
4240
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
4142
4241
  if (v == null)
4143
4242
  continue;
4144
4243
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
4145
4244
  }
4146
4245
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
4246
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4147
4247
  const _3bNvLMBN1bCJETiTihM3wvi1B2JX = [];
4148
- const _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4149
- for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array == null
4150
- ? []
4151
- : _3bNvLMBN1bCJETiTihM3wvi1B2JX__array.length === 1 &&
4152
- "@list" in _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]
4153
- ? _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]["@list"]
4154
- : _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
4248
+ let _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4249
+ if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array == null) {
4250
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4251
+ }
4252
+ else if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array.length === 1 &&
4253
+ "@list" in _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]) {
4254
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array =
4255
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array[0]["@list"];
4256
+ }
4257
+ for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
4155
4258
  if (v == null)
4156
4259
  continue;
4157
4260
  _3bNvLMBN1bCJETiTihM3wvi1B2JX.push(dntShim.Temporal.Duration.from(v["@value"]));
4158
4261
  }
4159
4262
  instance.#_3bNvLMBN1bCJETiTihM3wvi1B2JX = _3bNvLMBN1bCJETiTihM3wvi1B2JX;
4263
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4160
4264
  const _u8gdcDTtChQ4tbSQMXc4cYWyum7 = [];
4161
- const _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4162
- for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array == null
4163
- ? []
4164
- : _u8gdcDTtChQ4tbSQMXc4cYWyum7__array.length === 1 &&
4165
- "@list" in _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]
4166
- ? _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]["@list"]
4167
- : _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
4265
+ let _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4266
+ if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array == null) {
4267
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4268
+ }
4269
+ else if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array.length === 1 &&
4270
+ "@list" in _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]) {
4271
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array =
4272
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array[0]["@list"];
4273
+ }
4274
+ for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
4168
4275
  if (v == null)
4169
4276
  continue;
4170
4277
  _u8gdcDTtChQ4tbSQMXc4cYWyum7.push(v["@value"]);
4171
4278
  }
4172
4279
  instance.#_u8gdcDTtChQ4tbSQMXc4cYWyum7 = _u8gdcDTtChQ4tbSQMXc4cYWyum7;
4280
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4173
4281
  const _42rPnotok1ivQ2RNCKNbeFJgx8b8 = [];
4174
- const _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4175
- for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array == null
4176
- ? []
4177
- : _42rPnotok1ivQ2RNCKNbeFJgx8b8__array.length === 1 &&
4178
- "@list" in _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]
4179
- ? _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]["@list"]
4180
- : _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
4282
+ let _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4283
+ if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array == null) {
4284
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4285
+ }
4286
+ else if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array.length === 1 &&
4287
+ "@list" in _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]) {
4288
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array =
4289
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array[0]["@list"];
4290
+ }
4291
+ for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
4181
4292
  if (v == null)
4182
4293
  continue;
4183
4294
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4188,6 +4299,7 @@ export class Object {
4188
4299
  _42rPnotok1ivQ2RNCKNbeFJgx8b8.push(await DataIntegrityProof.fromJsonLd(v, options));
4189
4300
  }
4190
4301
  instance.#_42rPnotok1ivQ2RNCKNbeFJgx8b8 = _42rPnotok1ivQ2RNCKNbeFJgx8b8;
4302
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4191
4303
  return instance;
4192
4304
  }
4193
4305
  _getCustomInspectProxy() {
@@ -4905,13 +5017,16 @@ export class PropertyValue {
4905
5017
  }
4906
5018
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
4907
5019
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
4908
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
4909
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
4910
- ? []
4911
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
4912
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
4913
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
4914
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
5020
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
5021
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
5022
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
5023
+ }
5024
+ else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
5025
+ "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
5026
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
5027
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
5028
+ }
5029
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
4915
5030
  if (v == null)
4916
5031
  continue;
4917
5032
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4927,14 +5042,18 @@ export class PropertyValue {
4927
5042
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
4928
5043
  }
4929
5044
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
5045
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
4930
5046
  const _2cSy2magg4iZ7zLaG8U7DiJMoCkx = [];
4931
- const _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
4932
- for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array == null
4933
- ? []
4934
- : _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array.length === 1 &&
4935
- "@list" in _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]
4936
- ? _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]["@list"]
4937
- : _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
5047
+ let _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
5048
+ if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array == null) {
5049
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
5050
+ }
5051
+ else if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array.length === 1 &&
5052
+ "@list" in _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]) {
5053
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array =
5054
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array[0]["@list"];
5055
+ }
5056
+ for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
4938
5057
  if (v == null)
4939
5058
  continue;
4940
5059
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4950,6 +5069,7 @@ export class PropertyValue {
4950
5069
  _2cSy2magg4iZ7zLaG8U7DiJMoCkx.push(decoded);
4951
5070
  }
4952
5071
  instance.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx = _2cSy2magg4iZ7zLaG8U7DiJMoCkx;
5072
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
4953
5073
  return instance;
4954
5074
  }
4955
5075
  _getCustomInspectProxy() {
@@ -5360,26 +5480,33 @@ export class DataIntegrityProof {
5360
5480
  }
5361
5481
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5362
5482
  const _3RurJsa7tnptyqMFR5hDGcP9pMs5 = [];
5363
- const _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5364
- for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array == null
5365
- ? []
5366
- : _3RurJsa7tnptyqMFR5hDGcP9pMs5__array.length === 1 &&
5367
- "@list" in _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]
5368
- ? _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]["@list"]
5369
- : _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
5483
+ let _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5484
+ if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array == null) {
5485
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5486
+ }
5487
+ else if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array.length === 1 &&
5488
+ "@list" in _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]) {
5489
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array =
5490
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array[0]["@list"];
5491
+ }
5492
+ for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
5370
5493
  if (v == null)
5371
5494
  continue;
5372
5495
  _3RurJsa7tnptyqMFR5hDGcP9pMs5.push(v["@value"]);
5373
5496
  }
5374
5497
  instance.#_3RurJsa7tnptyqMFR5hDGcP9pMs5 = _3RurJsa7tnptyqMFR5hDGcP9pMs5;
5498
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5375
5499
  const _2mHVKxqA7zncjveJrDEo3pWpMZqg = [];
5376
- const _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5377
- for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array == null
5378
- ? []
5379
- : _2mHVKxqA7zncjveJrDEo3pWpMZqg__array.length === 1 &&
5380
- "@list" in _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]
5381
- ? _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]["@list"]
5382
- : _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
5500
+ let _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5501
+ if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array == null) {
5502
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5503
+ }
5504
+ else if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array.length === 1 &&
5505
+ "@list" in _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]) {
5506
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array =
5507
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array[0]["@list"];
5508
+ }
5509
+ for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
5383
5510
  if (v == null)
5384
5511
  continue;
5385
5512
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5390,45 +5517,58 @@ export class DataIntegrityProof {
5390
5517
  _2mHVKxqA7zncjveJrDEo3pWpMZqg.push(await Multikey.fromJsonLd(v, options));
5391
5518
  }
5392
5519
  instance.#_2mHVKxqA7zncjveJrDEo3pWpMZqg = _2mHVKxqA7zncjveJrDEo3pWpMZqg;
5520
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5393
5521
  const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = [];
5394
- const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5395
- for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array == null
5396
- ? []
5397
- : _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array.length === 1 &&
5398
- "@list" in _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]
5399
- ? _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]["@list"]
5400
- : _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
5522
+ let _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5523
+ if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array == null) {
5524
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5525
+ }
5526
+ else if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array.length === 1 &&
5527
+ "@list" in _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]) {
5528
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array =
5529
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array[0]["@list"];
5530
+ }
5531
+ for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
5401
5532
  if (v == null)
5402
5533
  continue;
5403
5534
  _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb.push(v["@id"].substring(26));
5404
5535
  }
5405
5536
  instance.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb;
5537
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5406
5538
  const _3CjFK5vfKpX4HQuNh2b18TykoVLq = [];
5407
- const _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5408
- for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array == null
5409
- ? []
5410
- : _3CjFK5vfKpX4HQuNh2b18TykoVLq__array.length === 1 &&
5411
- "@list" in _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]
5412
- ? _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]["@list"]
5413
- : _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
5539
+ let _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5540
+ if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array == null) {
5541
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5542
+ }
5543
+ else if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array.length === 1 &&
5544
+ "@list" in _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]) {
5545
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array =
5546
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array[0]["@list"];
5547
+ }
5548
+ for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
5414
5549
  if (v == null)
5415
5550
  continue;
5416
5551
  _3CjFK5vfKpX4HQuNh2b18TykoVLq.push(decodeMultibase(v["@value"]));
5417
5552
  }
5418
5553
  instance.#_3CjFK5vfKpX4HQuNh2b18TykoVLq = _3CjFK5vfKpX4HQuNh2b18TykoVLq;
5554
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5419
5555
  const _3qzP3ukEZoUziK5FEiA1RhU4aqac = [];
5420
- const _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5421
- for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null
5422
- ? []
5423
- : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array.length === 1 &&
5424
- "@list" in _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]
5425
- ? _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]["@list"]
5426
- : _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
5556
+ let _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5557
+ if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null) {
5558
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5559
+ }
5560
+ else if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array.length === 1 &&
5561
+ "@list" in _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]) {
5562
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array =
5563
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array[0]["@list"];
5564
+ }
5565
+ for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
5427
5566
  if (v == null)
5428
5567
  continue;
5429
5568
  _3qzP3ukEZoUziK5FEiA1RhU4aqac.push(dntShim.Temporal.Instant.from(v["@value"]));
5430
5569
  }
5431
5570
  instance.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = _3qzP3ukEZoUziK5FEiA1RhU4aqac;
5571
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5432
5572
  return instance;
5433
5573
  }
5434
5574
  _getCustomInspectProxy() {
@@ -5785,13 +5925,16 @@ export class CryptographicKey {
5785
5925
  }
5786
5926
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5787
5927
  const _5UJq9NDh3ZHgswFwwdVxQvJxdx2 = [];
5788
- const _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5789
- for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array == null
5790
- ? []
5791
- : _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array.length === 1 &&
5792
- "@list" in _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]
5793
- ? _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]["@list"]
5794
- : _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
5928
+ let _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5929
+ if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array == null) {
5930
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5931
+ }
5932
+ else if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array.length === 1 &&
5933
+ "@list" in _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]) {
5934
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array =
5935
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array[0]["@list"];
5936
+ }
5937
+ for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
5795
5938
  if (v == null)
5796
5939
  continue;
5797
5940
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5825,19 +5968,24 @@ export class CryptographicKey {
5825
5968
  _5UJq9NDh3ZHgswFwwdVxQvJxdx2.push(decoded);
5826
5969
  }
5827
5970
  instance.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2 = _5UJq9NDh3ZHgswFwwdVxQvJxdx2;
5971
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5828
5972
  const _2fE2QMDdg6KFGqa4NEC3TmjApSAD = [];
5829
- const _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5830
- for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array == null
5831
- ? []
5832
- : _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array.length === 1 &&
5833
- "@list" in _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]
5834
- ? _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]["@list"]
5835
- : _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
5973
+ let _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5974
+ if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array == null) {
5975
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5976
+ }
5977
+ else if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array.length === 1 &&
5978
+ "@list" in _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]) {
5979
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array =
5980
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array[0]["@list"];
5981
+ }
5982
+ for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
5836
5983
  if (v == null)
5837
5984
  continue;
5838
5985
  _2fE2QMDdg6KFGqa4NEC3TmjApSAD.push(await importSpki(v["@value"]));
5839
5986
  }
5840
5987
  instance.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD = _2fE2QMDdg6KFGqa4NEC3TmjApSAD;
5988
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5841
5989
  return instance;
5842
5990
  }
5843
5991
  _getCustomInspectProxy() {
@@ -6172,13 +6320,16 @@ export class Multikey {
6172
6320
  }
6173
6321
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
6174
6322
  const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN = [];
6175
- const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
6176
- for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array == null
6177
- ? []
6178
- : _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array.length === 1 &&
6179
- "@list" in _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]
6180
- ? _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]["@list"]
6181
- : _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
6323
+ let _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
6324
+ if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array == null) {
6325
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6326
+ }
6327
+ else if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array.length === 1 &&
6328
+ "@list" in _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]) {
6329
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array =
6330
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array[0]["@list"];
6331
+ }
6332
+ for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
6182
6333
  if (v == null)
6183
6334
  continue;
6184
6335
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -6212,19 +6363,24 @@ export class Multikey {
6212
6363
  _2yr3eUBTP6cNcyaxKzAXWjFsnGzN.push(decoded);
6213
6364
  }
6214
6365
  instance.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN = _2yr3eUBTP6cNcyaxKzAXWjFsnGzN;
6366
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6215
6367
  const _4XLHbsR2gLVWU3NpEqKt9wANzn4F = [];
6216
- const _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6217
- for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array == null
6218
- ? []
6219
- : _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array.length === 1 &&
6220
- "@list" in _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]
6221
- ? _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]["@list"]
6222
- : _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
6368
+ let _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6369
+ if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array == null) {
6370
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6371
+ }
6372
+ else if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array.length === 1 &&
6373
+ "@list" in _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]) {
6374
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array =
6375
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array[0]["@list"];
6376
+ }
6377
+ for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
6223
6378
  if (v == null)
6224
6379
  continue;
6225
6380
  _4XLHbsR2gLVWU3NpEqKt9wANzn4F.push(await importMultibaseKey(v["@value"]));
6226
6381
  }
6227
6382
  instance.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F = _4XLHbsR2gLVWU3NpEqKt9wANzn4F;
6383
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6228
6384
  return instance;
6229
6385
  }
6230
6386
  _getCustomInspectProxy() {
@@ -7391,13 +7547,16 @@ export class Activity extends Object {
7391
7547
  throw new TypeError("Unexpected type: " + instance.constructor.name);
7392
7548
  }
7393
7549
  const _2DjTTboo3CNHU2a2JQqUSE2dbv9D = [];
7394
- const _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7395
- for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array == null
7396
- ? []
7397
- : _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array.length === 1 &&
7398
- "@list" in _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]
7399
- ? _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]["@list"]
7400
- : _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
7550
+ let _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7551
+ if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array == null) {
7552
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7553
+ }
7554
+ else if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array.length === 1 &&
7555
+ "@list" in _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]) {
7556
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array =
7557
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array[0]["@list"];
7558
+ }
7559
+ for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
7401
7560
  if (v == null)
7402
7561
  continue;
7403
7562
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7431,14 +7590,18 @@ export class Activity extends Object {
7431
7590
  _2DjTTboo3CNHU2a2JQqUSE2dbv9D.push(decoded);
7432
7591
  }
7433
7592
  instance.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D = _2DjTTboo3CNHU2a2JQqUSE2dbv9D;
7593
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7434
7594
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
7435
- const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7436
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null
7437
- ? []
7438
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
7439
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]
7440
- ? _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"]
7441
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
7595
+ let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7596
+ if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
7597
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7598
+ }
7599
+ else if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
7600
+ "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]) {
7601
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array =
7602
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"];
7603
+ }
7604
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
7442
7605
  if (v == null)
7443
7606
  continue;
7444
7607
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7449,14 +7612,18 @@ export class Activity extends Object {
7449
7612
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
7450
7613
  }
7451
7614
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
7615
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7452
7616
  const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = [];
7453
- const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7454
- for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array == null
7455
- ? []
7456
- : _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array.length === 1 &&
7457
- "@list" in _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]
7458
- ? _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]["@list"]
7459
- : _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
7617
+ let _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7618
+ if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array == null) {
7619
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7620
+ }
7621
+ else if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array.length === 1 &&
7622
+ "@list" in _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]) {
7623
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array =
7624
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array[0]["@list"];
7625
+ }
7626
+ for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
7460
7627
  if (v == null)
7461
7628
  continue;
7462
7629
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7467,14 +7634,18 @@ export class Activity extends Object {
7467
7634
  _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(await Object.fromJsonLd(v, options));
7468
7635
  }
7469
7636
  instance.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF;
7637
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7470
7638
  const _u4QGFbRFcYmPEKGbPv1hpBR9r5G = [];
7471
- const _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7472
- for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array == null
7473
- ? []
7474
- : _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array.length === 1 &&
7475
- "@list" in _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]
7476
- ? _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]["@list"]
7477
- : _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
7639
+ let _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7640
+ if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array == null) {
7641
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7642
+ }
7643
+ else if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array.length === 1 &&
7644
+ "@list" in _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]) {
7645
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array =
7646
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array[0]["@list"];
7647
+ }
7648
+ for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
7478
7649
  if (v == null)
7479
7650
  continue;
7480
7651
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7485,14 +7656,18 @@ export class Activity extends Object {
7485
7656
  _u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(await Object.fromJsonLd(v, options));
7486
7657
  }
7487
7658
  instance.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G = _u4QGFbRFcYmPEKGbPv1hpBR9r5G;
7659
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7488
7660
  const _25zu2s3VxVujgEKqrDycjE284XQR = [];
7489
- const _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7490
- for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array == null
7491
- ? []
7492
- : _25zu2s3VxVujgEKqrDycjE284XQR__array.length === 1 &&
7493
- "@list" in _25zu2s3VxVujgEKqrDycjE284XQR__array[0]
7494
- ? _25zu2s3VxVujgEKqrDycjE284XQR__array[0]["@list"]
7495
- : _25zu2s3VxVujgEKqrDycjE284XQR__array) {
7661
+ let _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7662
+ if (_25zu2s3VxVujgEKqrDycjE284XQR__array == null) {
7663
+ _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7664
+ }
7665
+ else if (_25zu2s3VxVujgEKqrDycjE284XQR__array.length === 1 &&
7666
+ "@list" in _25zu2s3VxVujgEKqrDycjE284XQR__array[0]) {
7667
+ _25zu2s3VxVujgEKqrDycjE284XQR__array =
7668
+ _25zu2s3VxVujgEKqrDycjE284XQR__array[0]["@list"];
7669
+ }
7670
+ for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array) {
7496
7671
  if (v == null)
7497
7672
  continue;
7498
7673
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7503,14 +7678,18 @@ export class Activity extends Object {
7503
7678
  _25zu2s3VxVujgEKqrDycjE284XQR.push(await Object.fromJsonLd(v, options));
7504
7679
  }
7505
7680
  instance.#_25zu2s3VxVujgEKqrDycjE284XQR = _25zu2s3VxVujgEKqrDycjE284XQR;
7681
+ _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7506
7682
  const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ = [];
7507
- const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7508
- for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array == null
7509
- ? []
7510
- : _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array.length === 1 &&
7511
- "@list" in _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]
7512
- ? _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]["@list"]
7513
- : _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
7683
+ let _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7684
+ if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array == null) {
7685
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7686
+ }
7687
+ else if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array.length === 1 &&
7688
+ "@list" in _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]) {
7689
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array =
7690
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array[0]["@list"];
7691
+ }
7692
+ for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
7514
7693
  if (v == null)
7515
7694
  continue;
7516
7695
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7521,6 +7700,7 @@ export class Activity extends Object {
7521
7700
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(await Object.fromJsonLd(v, options));
7522
7701
  }
7523
7702
  instance.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ = _3c5t2x7DYRo2shwTxpkd4kYSS5WQ;
7703
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7524
7704
  return instance;
7525
7705
  }
7526
7706
  _getCustomInspectProxy() {
@@ -9357,13 +9537,16 @@ export class Application extends Object {
9357
9537
  throw new TypeError("Unexpected type: " + instance.constructor.name);
9358
9538
  }
9359
9539
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
9360
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9361
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
9362
- ? []
9363
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
9364
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
9365
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
9366
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
9540
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9541
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
9542
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9543
+ }
9544
+ else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
9545
+ "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
9546
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
9547
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
9548
+ }
9549
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
9367
9550
  if (v == null)
9368
9551
  continue;
9369
9552
  const decoded = typeof v === "object" && "@value" in v &&
@@ -9379,14 +9562,18 @@ export class Application extends Object {
9379
9562
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
9380
9563
  }
9381
9564
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
9565
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9382
9566
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
9383
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9384
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
9385
- ? []
9386
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
9387
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
9388
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
9389
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
9567
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9568
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
9569
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9570
+ }
9571
+ else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
9572
+ "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
9573
+ _axq166E2eZADq34V4MYUc8KMZdC__array =
9574
+ _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
9575
+ }
9576
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
9390
9577
  if (v == null)
9391
9578
  continue;
9392
9579
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9397,14 +9584,18 @@ export class Application extends Object {
9397
9584
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
9398
9585
  }
9399
9586
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
9587
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9400
9588
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
9401
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9402
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
9403
- ? []
9404
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
9405
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
9406
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
9407
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
9589
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9590
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
9591
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9592
+ }
9593
+ else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
9594
+ "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
9595
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
9596
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
9597
+ }
9598
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
9408
9599
  if (v == null)
9409
9600
  continue;
9410
9601
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9415,27 +9606,35 @@ export class Application extends Object {
9415
9606
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
9416
9607
  }
9417
9608
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
9609
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9418
9610
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
9419
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9420
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
9421
- ? []
9422
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
9423
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
9424
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
9425
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
9611
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9612
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
9613
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9614
+ }
9615
+ else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
9616
+ "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
9617
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
9618
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
9619
+ }
9620
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
9426
9621
  if (v == null)
9427
9622
  continue;
9428
9623
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
9429
9624
  }
9430
9625
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
9626
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9431
9627
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
9432
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9433
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
9434
- ? []
9435
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
9436
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
9437
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
9438
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
9628
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9629
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
9630
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9631
+ }
9632
+ else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
9633
+ "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
9634
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
9635
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
9636
+ }
9637
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
9439
9638
  if (v == null)
9440
9639
  continue;
9441
9640
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9446,14 +9645,18 @@ export class Application extends Object {
9446
9645
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
9447
9646
  }
9448
9647
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
9648
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9449
9649
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
9450
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9451
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
9452
- ? []
9453
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
9454
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
9455
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
9456
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
9650
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9651
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
9652
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9653
+ }
9654
+ else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
9655
+ "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
9656
+ _41QwhqJouoLg3h8dRPKat21brynC__array =
9657
+ _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
9658
+ }
9659
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
9457
9660
  if (v == null)
9458
9661
  continue;
9459
9662
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9464,14 +9667,18 @@ export class Application extends Object {
9464
9667
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
9465
9668
  }
9466
9669
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
9670
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9467
9671
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
9468
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9469
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
9470
- ? []
9471
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
9472
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
9473
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
9474
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
9672
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9673
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
9674
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9675
+ }
9676
+ else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
9677
+ "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
9678
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
9679
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
9680
+ }
9681
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
9475
9682
  if (v == null)
9476
9683
  continue;
9477
9684
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9482,14 +9689,18 @@ export class Application extends Object {
9482
9689
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
9483
9690
  }
9484
9691
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
9692
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9485
9693
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
9486
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9487
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
9488
- ? []
9489
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
9490
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
9491
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
9492
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
9694
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9695
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
9696
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9697
+ }
9698
+ else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
9699
+ "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
9700
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
9701
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
9702
+ }
9703
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
9493
9704
  if (v == null)
9494
9705
  continue;
9495
9706
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9500,14 +9711,18 @@ export class Application extends Object {
9500
9711
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
9501
9712
  }
9502
9713
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
9714
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9503
9715
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
9504
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9505
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
9506
- ? []
9507
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
9508
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
9509
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
9510
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
9716
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9717
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
9718
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9719
+ }
9720
+ else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
9721
+ "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
9722
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
9723
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
9724
+ }
9725
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
9511
9726
  if (v == null)
9512
9727
  continue;
9513
9728
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9518,14 +9733,18 @@ export class Application extends Object {
9518
9733
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
9519
9734
  }
9520
9735
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
9736
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9521
9737
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
9522
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9523
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
9524
- ? []
9525
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
9526
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
9527
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
9528
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
9738
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9739
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
9740
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9741
+ }
9742
+ else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
9743
+ "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
9744
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array =
9745
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
9746
+ }
9747
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
9529
9748
  if (v == null)
9530
9749
  continue;
9531
9750
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9536,14 +9755,18 @@ export class Application extends Object {
9536
9755
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
9537
9756
  }
9538
9757
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
9758
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9539
9759
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
9540
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9541
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
9542
- ? []
9543
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
9544
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
9545
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
9546
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
9760
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9761
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
9762
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9763
+ }
9764
+ else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
9765
+ "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
9766
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
9767
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
9768
+ }
9769
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
9547
9770
  if (v == null)
9548
9771
  continue;
9549
9772
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9554,71 +9777,92 @@ export class Application extends Object {
9554
9777
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
9555
9778
  }
9556
9779
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
9780
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9557
9781
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
9558
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9559
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
9560
- ? []
9561
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
9562
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
9563
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
9564
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
9782
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9783
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
9784
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9785
+ }
9786
+ else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
9787
+ "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
9788
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
9789
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
9790
+ }
9791
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
9565
9792
  if (v == null)
9566
9793
  continue;
9567
9794
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
9568
9795
  }
9569
9796
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
9797
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9570
9798
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
9571
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9572
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
9573
- ? []
9574
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
9575
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
9576
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
9577
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
9799
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9800
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
9801
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9802
+ }
9803
+ else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
9804
+ "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
9805
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
9806
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
9807
+ }
9808
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
9578
9809
  if (v == null)
9579
9810
  continue;
9580
9811
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
9581
9812
  }
9582
9813
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
9814
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9583
9815
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
9584
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9585
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
9586
- ? []
9587
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
9588
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
9589
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
9590
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
9816
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9817
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
9818
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9819
+ }
9820
+ else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
9821
+ "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
9822
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
9823
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
9824
+ }
9825
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
9591
9826
  if (v == null)
9592
9827
  continue;
9593
9828
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
9594
9829
  }
9595
9830
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
9831
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9596
9832
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
9597
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9598
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
9599
- ? []
9600
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
9601
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
9602
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
9603
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
9833
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9834
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
9835
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9836
+ }
9837
+ else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
9838
+ "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
9839
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
9840
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
9841
+ }
9842
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
9604
9843
  if (v == null)
9605
9844
  continue;
9606
9845
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
9607
9846
  }
9608
9847
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
9848
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9609
9849
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
9610
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9611
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
9612
- ? []
9613
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
9614
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
9615
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
9616
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
9850
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9851
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
9852
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9853
+ }
9854
+ else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
9855
+ "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
9856
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
9857
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
9858
+ }
9859
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
9617
9860
  if (v == null)
9618
9861
  continue;
9619
9862
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
9620
9863
  }
9621
9864
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
9865
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9622
9866
  return instance;
9623
9867
  }
9624
9868
  _getCustomInspectProxy() {
@@ -10375,31 +10619,39 @@ export class Document extends Object {
10375
10619
  throw new TypeError("Unexpected type: " + instance.constructor.name);
10376
10620
  }
10377
10621
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
10378
- const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10379
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null
10380
- ? []
10381
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
10382
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]
10383
- ? _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"]
10384
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
10622
+ let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10623
+ if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
10624
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10625
+ }
10626
+ else if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
10627
+ "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]) {
10628
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array =
10629
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"];
10630
+ }
10631
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
10385
10632
  if (v == null)
10386
10633
  continue;
10387
10634
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
10388
10635
  }
10389
10636
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
10637
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10390
10638
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
10391
- const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10392
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null
10393
- ? []
10394
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
10395
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]
10396
- ? _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"]
10397
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
10639
+ let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10640
+ if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
10641
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10642
+ }
10643
+ else if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
10644
+ "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]) {
10645
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array =
10646
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"];
10647
+ }
10648
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
10398
10649
  if (v == null)
10399
10650
  continue;
10400
10651
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
10401
10652
  }
10402
10653
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
10654
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10403
10655
  return instance;
10404
10656
  }
10405
10657
  _getCustomInspectProxy() {
@@ -11280,26 +11532,33 @@ export class Collection extends Object {
11280
11532
  throw new TypeError("Unexpected type: " + instance.constructor.name);
11281
11533
  }
11282
11534
  const _XDbmNDuWHmrhqH712zqtecdbv1V = [];
11283
- const _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
11284
- for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array == null
11285
- ? []
11286
- : _XDbmNDuWHmrhqH712zqtecdbv1V__array.length === 1 &&
11287
- "@list" in _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]
11288
- ? _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]["@list"]
11289
- : _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
11535
+ let _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
11536
+ if (_XDbmNDuWHmrhqH712zqtecdbv1V__array == null) {
11537
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
11538
+ }
11539
+ else if (_XDbmNDuWHmrhqH712zqtecdbv1V__array.length === 1 &&
11540
+ "@list" in _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]) {
11541
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array =
11542
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array[0]["@list"];
11543
+ }
11544
+ for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
11290
11545
  if (v == null)
11291
11546
  continue;
11292
11547
  _XDbmNDuWHmrhqH712zqtecdbv1V.push(v["@value"]);
11293
11548
  }
11294
11549
  instance.#_XDbmNDuWHmrhqH712zqtecdbv1V = _XDbmNDuWHmrhqH712zqtecdbv1V;
11550
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
11295
11551
  const _3UyUdxnyn6cDn53QKrh4MBiearma = [];
11296
- const _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
11297
- for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array == null
11298
- ? []
11299
- : _3UyUdxnyn6cDn53QKrh4MBiearma__array.length === 1 &&
11300
- "@list" in _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]
11301
- ? _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]["@list"]
11302
- : _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
11552
+ let _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
11553
+ if (_3UyUdxnyn6cDn53QKrh4MBiearma__array == null) {
11554
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
11555
+ }
11556
+ else if (_3UyUdxnyn6cDn53QKrh4MBiearma__array.length === 1 &&
11557
+ "@list" in _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]) {
11558
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array =
11559
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array[0]["@list"];
11560
+ }
11561
+ for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
11303
11562
  if (v == null)
11304
11563
  continue;
11305
11564
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11310,14 +11569,18 @@ export class Collection extends Object {
11310
11569
  _3UyUdxnyn6cDn53QKrh4MBiearma.push(await CollectionPage.fromJsonLd(v, options));
11311
11570
  }
11312
11571
  instance.#_3UyUdxnyn6cDn53QKrh4MBiearma = _3UyUdxnyn6cDn53QKrh4MBiearma;
11572
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
11313
11573
  const _J52RqweMe6hhv7RnLJMC8BExTE5 = [];
11314
- const _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
11315
- for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array == null
11316
- ? []
11317
- : _J52RqweMe6hhv7RnLJMC8BExTE5__array.length === 1 &&
11318
- "@list" in _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]
11319
- ? _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]["@list"]
11320
- : _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
11574
+ let _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
11575
+ if (_J52RqweMe6hhv7RnLJMC8BExTE5__array == null) {
11576
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11577
+ }
11578
+ else if (_J52RqweMe6hhv7RnLJMC8BExTE5__array.length === 1 &&
11579
+ "@list" in _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]) {
11580
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array =
11581
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array[0]["@list"];
11582
+ }
11583
+ for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
11321
11584
  if (v == null)
11322
11585
  continue;
11323
11586
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11328,14 +11591,18 @@ export class Collection extends Object {
11328
11591
  _J52RqweMe6hhv7RnLJMC8BExTE5.push(await CollectionPage.fromJsonLd(v, options));
11329
11592
  }
11330
11593
  instance.#_J52RqweMe6hhv7RnLJMC8BExTE5 = _J52RqweMe6hhv7RnLJMC8BExTE5;
11594
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11331
11595
  const _gyJJnyEFnuNVi1HFZKfAn3Hfn26 = [];
11332
- const _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11333
- for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array == null
11334
- ? []
11335
- : _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array.length === 1 &&
11336
- "@list" in _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]
11337
- ? _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]["@list"]
11338
- : _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
11596
+ let _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11597
+ if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array == null) {
11598
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11599
+ }
11600
+ else if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array.length === 1 &&
11601
+ "@list" in _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]) {
11602
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array =
11603
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array[0]["@list"];
11604
+ }
11605
+ for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
11339
11606
  if (v == null)
11340
11607
  continue;
11341
11608
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11346,14 +11613,18 @@ export class Collection extends Object {
11346
11613
  _gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(await CollectionPage.fromJsonLd(v, options));
11347
11614
  }
11348
11615
  instance.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26 = _gyJJnyEFnuNVi1HFZKfAn3Hfn26;
11616
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11349
11617
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
11350
- const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11351
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null
11352
- ? []
11353
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
11354
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]
11355
- ? _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"]
11356
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
11618
+ let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11619
+ if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
11620
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11621
+ }
11622
+ else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
11623
+ "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
11624
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
11625
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
11626
+ }
11627
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
11357
11628
  if (v == null)
11358
11629
  continue;
11359
11630
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11364,6 +11635,7 @@ export class Collection extends Object {
11364
11635
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
11365
11636
  }
11366
11637
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
11638
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11367
11639
  return instance;
11368
11640
  }
11369
11641
  _getCustomInspectProxy() {
@@ -11796,13 +12068,16 @@ export class CollectionPage extends Collection {
11796
12068
  throw new TypeError("Unexpected type: " + instance.constructor.name);
11797
12069
  }
11798
12070
  const _2kWgBhQKjEauxx8C6qF3ZQamK4Le = [];
11799
- const _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
11800
- for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array == null
11801
- ? []
11802
- : _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array.length === 1 &&
11803
- "@list" in _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]
11804
- ? _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]["@list"]
11805
- : _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
12071
+ let _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
12072
+ if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array == null) {
12073
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
12074
+ }
12075
+ else if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array.length === 1 &&
12076
+ "@list" in _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]) {
12077
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array =
12078
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array[0]["@list"];
12079
+ }
12080
+ for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
11806
12081
  if (v == null)
11807
12082
  continue;
11808
12083
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11813,14 +12088,18 @@ export class CollectionPage extends Collection {
11813
12088
  _2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(await Collection.fromJsonLd(v, options));
11814
12089
  }
11815
12090
  instance.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le = _2kWgBhQKjEauxx8C6qF3ZQamK4Le;
12091
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
11816
12092
  const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY = [];
11817
- const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
11818
- for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array == null
11819
- ? []
11820
- : _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array.length === 1 &&
11821
- "@list" in _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]
11822
- ? _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]["@list"]
11823
- : _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
12093
+ let _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
12094
+ if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array == null) {
12095
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
12096
+ }
12097
+ else if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array.length === 1 &&
12098
+ "@list" in _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]) {
12099
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array =
12100
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array[0]["@list"];
12101
+ }
12102
+ for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
11824
12103
  if (v == null)
11825
12104
  continue;
11826
12105
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11831,14 +12110,18 @@ export class CollectionPage extends Collection {
11831
12110
  _3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(await _b.fromJsonLd(v, options));
11832
12111
  }
11833
12112
  instance.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY = _3BT4kQLcXhHx7TAWaNDKh8nFn9eY;
12113
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
11834
12114
  const _3b8yG8tDNzQFFEnWhCc13G8eHooA = [];
11835
- const _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
11836
- for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array == null
11837
- ? []
11838
- : _3b8yG8tDNzQFFEnWhCc13G8eHooA__array.length === 1 &&
11839
- "@list" in _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]
11840
- ? _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]["@list"]
11841
- : _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
12115
+ let _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
12116
+ if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array == null) {
12117
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
12118
+ }
12119
+ else if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array.length === 1 &&
12120
+ "@list" in _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]) {
12121
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array =
12122
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array[0]["@list"];
12123
+ }
12124
+ for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
11842
12125
  if (v == null)
11843
12126
  continue;
11844
12127
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11849,6 +12132,7 @@ export class CollectionPage extends Collection {
11849
12132
  _3b8yG8tDNzQFFEnWhCc13G8eHooA.push(await _b.fromJsonLd(v, options));
11850
12133
  }
11851
12134
  instance.#_3b8yG8tDNzQFFEnWhCc13G8eHooA = _3b8yG8tDNzQFFEnWhCc13G8eHooA;
12135
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
11852
12136
  return instance;
11853
12137
  }
11854
12138
  _getCustomInspectProxy() {
@@ -12589,83 +12873,107 @@ export class Endpoints {
12589
12873
  }
12590
12874
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
12591
12875
  const _2JCYDbSxEHCCLdBYed33cCETfGyR = [];
12592
- const _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12593
- for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array == null
12594
- ? []
12595
- : _2JCYDbSxEHCCLdBYed33cCETfGyR__array.length === 1 &&
12596
- "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]
12597
- ? _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]["@list"]
12598
- : _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
12876
+ let _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12877
+ if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array == null) {
12878
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12879
+ }
12880
+ else if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array.length === 1 &&
12881
+ "@list" in _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]) {
12882
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array =
12883
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array[0]["@list"];
12884
+ }
12885
+ for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
12599
12886
  if (v == null)
12600
12887
  continue;
12601
12888
  _2JCYDbSxEHCCLdBYed33cCETfGyR.push(new URL(v["@id"]));
12602
12889
  }
12603
12890
  instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR = _2JCYDbSxEHCCLdBYed33cCETfGyR;
12891
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12604
12892
  const _25S6UmgzDead8hxL5sQFezZTAusd = [];
12605
- const _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12606
- for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array == null
12607
- ? []
12608
- : _25S6UmgzDead8hxL5sQFezZTAusd__array.length === 1 &&
12609
- "@list" in _25S6UmgzDead8hxL5sQFezZTAusd__array[0]
12610
- ? _25S6UmgzDead8hxL5sQFezZTAusd__array[0]["@list"]
12611
- : _25S6UmgzDead8hxL5sQFezZTAusd__array) {
12893
+ let _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12894
+ if (_25S6UmgzDead8hxL5sQFezZTAusd__array == null) {
12895
+ _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12896
+ }
12897
+ else if (_25S6UmgzDead8hxL5sQFezZTAusd__array.length === 1 &&
12898
+ "@list" in _25S6UmgzDead8hxL5sQFezZTAusd__array[0]) {
12899
+ _25S6UmgzDead8hxL5sQFezZTAusd__array =
12900
+ _25S6UmgzDead8hxL5sQFezZTAusd__array[0]["@list"];
12901
+ }
12902
+ for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array) {
12612
12903
  if (v == null)
12613
12904
  continue;
12614
12905
  _25S6UmgzDead8hxL5sQFezZTAusd.push(new URL(v["@id"]));
12615
12906
  }
12616
12907
  instance.#_25S6UmgzDead8hxL5sQFezZTAusd = _25S6UmgzDead8hxL5sQFezZTAusd;
12908
+ _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12617
12909
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = [];
12618
- const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12619
- for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array == null
12620
- ? []
12621
- : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array.length === 1 &&
12622
- "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]
12623
- ? _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]["@list"]
12624
- : _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
12910
+ let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12911
+ if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array == null) {
12912
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12913
+ }
12914
+ else if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array.length === 1 &&
12915
+ "@list" in _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]) {
12916
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array =
12917
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array[0]["@list"];
12918
+ }
12919
+ for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
12625
12920
  if (v == null)
12626
12921
  continue;
12627
12922
  _iAMxqrSba7yBCRB1FZ5kEVdKEZ3.push(new URL(v["@id"]));
12628
12923
  }
12629
12924
  instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3;
12925
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12630
12926
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr = [];
12631
- const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12632
- for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array == null
12633
- ? []
12634
- : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array.length === 1 &&
12635
- "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]
12636
- ? _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]["@list"]
12637
- : _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
12927
+ let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12928
+ if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array == null) {
12929
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12930
+ }
12931
+ else if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array.length === 1 &&
12932
+ "@list" in _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]) {
12933
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array =
12934
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array[0]["@list"];
12935
+ }
12936
+ for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
12638
12937
  if (v == null)
12639
12938
  continue;
12640
12939
  _8Bx9qN8oU7Bpt2xi6khaxWp1gMr.push(new URL(v["@id"]));
12641
12940
  }
12642
12941
  instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr;
12942
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12643
12943
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS = [];
12644
- const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12645
- for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array == null
12646
- ? []
12647
- : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array.length === 1 &&
12648
- "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]
12649
- ? _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]["@list"]
12650
- : _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
12944
+ let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12945
+ if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array == null) {
12946
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12947
+ }
12948
+ else if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array.length === 1 &&
12949
+ "@list" in _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]) {
12950
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array =
12951
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array[0]["@list"];
12952
+ }
12953
+ for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
12651
12954
  if (v == null)
12652
12955
  continue;
12653
12956
  _3dU7PMVQZJpsCpo2F4RQXxBXdPmS.push(new URL(v["@id"]));
12654
12957
  }
12655
12958
  instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS;
12959
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12656
12960
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc = [];
12657
- const _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12658
- for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array == null
12659
- ? []
12660
- : _3JprUSDLVqqX4dwHRi37qGZZCRCc__array.length === 1 &&
12661
- "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]
12662
- ? _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]["@list"]
12663
- : _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
12961
+ let _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12962
+ if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array == null) {
12963
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12964
+ }
12965
+ else if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array.length === 1 &&
12966
+ "@list" in _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]) {
12967
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array =
12968
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array[0]["@list"];
12969
+ }
12970
+ for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
12664
12971
  if (v == null)
12665
12972
  continue;
12666
12973
  _3JprUSDLVqqX4dwHRi37qGZZCRCc.push(new URL(v["@id"]));
12667
12974
  }
12668
12975
  instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc = _3JprUSDLVqqX4dwHRi37qGZZCRCc;
12976
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12669
12977
  return instance;
12670
12978
  }
12671
12979
  _getCustomInspectProxy() {
@@ -14470,13 +14778,16 @@ export class Group extends Object {
14470
14778
  throw new TypeError("Unexpected type: " + instance.constructor.name);
14471
14779
  }
14472
14780
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
14473
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14474
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
14475
- ? []
14476
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
14477
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
14478
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
14479
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
14781
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14782
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
14783
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14784
+ }
14785
+ else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
14786
+ "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
14787
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
14788
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
14789
+ }
14790
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
14480
14791
  if (v == null)
14481
14792
  continue;
14482
14793
  const decoded = typeof v === "object" && "@value" in v &&
@@ -14492,14 +14803,18 @@ export class Group extends Object {
14492
14803
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
14493
14804
  }
14494
14805
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
14806
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14495
14807
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
14496
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14497
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
14498
- ? []
14499
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
14500
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
14501
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
14502
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
14808
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14809
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
14810
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14811
+ }
14812
+ else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
14813
+ "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
14814
+ _axq166E2eZADq34V4MYUc8KMZdC__array =
14815
+ _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
14816
+ }
14817
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
14503
14818
  if (v == null)
14504
14819
  continue;
14505
14820
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14510,14 +14825,18 @@ export class Group extends Object {
14510
14825
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
14511
14826
  }
14512
14827
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
14828
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14513
14829
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
14514
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14515
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
14516
- ? []
14517
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
14518
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
14519
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
14520
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
14830
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14831
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
14832
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14833
+ }
14834
+ else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
14835
+ "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
14836
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
14837
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
14838
+ }
14839
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
14521
14840
  if (v == null)
14522
14841
  continue;
14523
14842
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14528,27 +14847,35 @@ export class Group extends Object {
14528
14847
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
14529
14848
  }
14530
14849
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
14850
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14531
14851
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
14532
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14533
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
14534
- ? []
14535
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
14536
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
14537
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
14538
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
14852
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14853
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
14854
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14855
+ }
14856
+ else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
14857
+ "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
14858
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
14859
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
14860
+ }
14861
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
14539
14862
  if (v == null)
14540
14863
  continue;
14541
14864
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
14542
14865
  }
14543
14866
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
14867
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14544
14868
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
14545
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14546
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
14547
- ? []
14548
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
14549
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
14550
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
14551
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
14869
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14870
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
14871
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14872
+ }
14873
+ else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
14874
+ "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
14875
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
14876
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
14877
+ }
14878
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
14552
14879
  if (v == null)
14553
14880
  continue;
14554
14881
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14559,14 +14886,18 @@ export class Group extends Object {
14559
14886
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
14560
14887
  }
14561
14888
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
14889
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14562
14890
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
14563
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14564
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
14565
- ? []
14566
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
14567
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
14568
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
14569
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
14891
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14892
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
14893
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14894
+ }
14895
+ else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
14896
+ "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
14897
+ _41QwhqJouoLg3h8dRPKat21brynC__array =
14898
+ _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
14899
+ }
14900
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
14570
14901
  if (v == null)
14571
14902
  continue;
14572
14903
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14577,14 +14908,18 @@ export class Group extends Object {
14577
14908
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
14578
14909
  }
14579
14910
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
14911
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14580
14912
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
14581
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14582
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
14583
- ? []
14584
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
14585
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
14586
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
14587
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
14913
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14914
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
14915
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14916
+ }
14917
+ else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
14918
+ "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
14919
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
14920
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
14921
+ }
14922
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
14588
14923
  if (v == null)
14589
14924
  continue;
14590
14925
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14595,14 +14930,18 @@ export class Group extends Object {
14595
14930
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
14596
14931
  }
14597
14932
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
14933
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14598
14934
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
14599
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14600
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
14601
- ? []
14602
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
14603
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
14604
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
14605
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
14935
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14936
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
14937
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14938
+ }
14939
+ else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
14940
+ "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
14941
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
14942
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
14943
+ }
14944
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
14606
14945
  if (v == null)
14607
14946
  continue;
14608
14947
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14613,14 +14952,18 @@ export class Group extends Object {
14613
14952
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
14614
14953
  }
14615
14954
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
14955
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14616
14956
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
14617
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14618
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
14619
- ? []
14620
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
14621
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
14622
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
14623
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
14957
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14958
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
14959
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14960
+ }
14961
+ else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
14962
+ "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
14963
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
14964
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
14965
+ }
14966
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
14624
14967
  if (v == null)
14625
14968
  continue;
14626
14969
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14631,14 +14974,18 @@ export class Group extends Object {
14631
14974
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
14632
14975
  }
14633
14976
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
14977
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14634
14978
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
14635
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14636
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
14637
- ? []
14638
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
14639
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
14640
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
14641
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
14979
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14980
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
14981
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
14982
+ }
14983
+ else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
14984
+ "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
14985
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array =
14986
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
14987
+ }
14988
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
14642
14989
  if (v == null)
14643
14990
  continue;
14644
14991
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14649,14 +14996,18 @@ export class Group extends Object {
14649
14996
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
14650
14997
  }
14651
14998
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
14999
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
14652
15000
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
14653
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
14654
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
14655
- ? []
14656
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
14657
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
14658
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
14659
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
15001
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
15002
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
15003
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
15004
+ }
15005
+ else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
15006
+ "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
15007
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
15008
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
15009
+ }
15010
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
14660
15011
  if (v == null)
14661
15012
  continue;
14662
15013
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14667,71 +15018,92 @@ export class Group extends Object {
14667
15018
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
14668
15019
  }
14669
15020
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
15021
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
14670
15022
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
14671
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
14672
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
14673
- ? []
14674
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
14675
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
14676
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
14677
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
15023
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
15024
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
15025
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
15026
+ }
15027
+ else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
15028
+ "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
15029
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
15030
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
15031
+ }
15032
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
14678
15033
  if (v == null)
14679
15034
  continue;
14680
15035
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
14681
15036
  }
14682
15037
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
15038
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
14683
15039
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
14684
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
14685
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
14686
- ? []
14687
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
14688
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
14689
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
14690
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
15040
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
15041
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
15042
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
15043
+ }
15044
+ else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
15045
+ "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
15046
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
15047
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
15048
+ }
15049
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
14691
15050
  if (v == null)
14692
15051
  continue;
14693
15052
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
14694
15053
  }
14695
15054
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
15055
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
14696
15056
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
14697
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
14698
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
14699
- ? []
14700
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
14701
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
14702
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
14703
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
15057
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
15058
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
15059
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
15060
+ }
15061
+ else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
15062
+ "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
15063
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
15064
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
15065
+ }
15066
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
14704
15067
  if (v == null)
14705
15068
  continue;
14706
15069
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
14707
15070
  }
14708
15071
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
15072
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
14709
15073
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
14710
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
14711
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
14712
- ? []
14713
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
14714
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
14715
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
14716
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
15074
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
15075
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
15076
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
15077
+ }
15078
+ else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
15079
+ "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
15080
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
15081
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
15082
+ }
15083
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
14717
15084
  if (v == null)
14718
15085
  continue;
14719
15086
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
14720
15087
  }
14721
15088
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
15089
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
14722
15090
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
14723
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
14724
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
14725
- ? []
14726
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
14727
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
14728
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
14729
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
15091
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
15092
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
15093
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
15094
+ }
15095
+ else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
15096
+ "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
15097
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
15098
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
15099
+ }
15100
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
14730
15101
  if (v == null)
14731
15102
  continue;
14732
15103
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
14733
15104
  }
14734
15105
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
15106
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
14735
15107
  return instance;
14736
15108
  }
14737
15109
  _getCustomInspectProxy() {
@@ -15519,52 +15891,67 @@ export class Link {
15519
15891
  }
15520
15892
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
15521
15893
  const _pVjLsybKQdmkjuU7MHjiVmNnuj7 = [];
15522
- const _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15523
- for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array == null
15524
- ? []
15525
- : _pVjLsybKQdmkjuU7MHjiVmNnuj7__array.length === 1 &&
15526
- "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]
15527
- ? _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]["@list"]
15528
- : _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
15894
+ let _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15895
+ if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array == null) {
15896
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15897
+ }
15898
+ else if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array.length === 1 &&
15899
+ "@list" in _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]) {
15900
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array =
15901
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array[0]["@list"];
15902
+ }
15903
+ for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
15529
15904
  if (v == null)
15530
15905
  continue;
15531
15906
  _pVjLsybKQdmkjuU7MHjiVmNnuj7.push(new URL(v["@id"]));
15532
15907
  }
15533
15908
  instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7 = _pVjLsybKQdmkjuU7MHjiVmNnuj7;
15909
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15534
15910
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ = [];
15535
- const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15536
- for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array == null
15537
- ? []
15538
- : _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array.length === 1 &&
15539
- "@list" in _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]
15540
- ? _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]["@list"]
15541
- : _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
15911
+ let _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15912
+ if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array == null) {
15913
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15914
+ }
15915
+ else if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array.length === 1 &&
15916
+ "@list" in _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]) {
15917
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array =
15918
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array[0]["@list"];
15919
+ }
15920
+ for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
15542
15921
  if (v == null)
15543
15922
  continue;
15544
15923
  _2a1c5GkfkQsnyyLybF8UXBQfFuHZ.push(v["@value"]);
15545
15924
  }
15546
15925
  instance.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ = _2a1c5GkfkQsnyyLybF8UXBQfFuHZ;
15926
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15547
15927
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
15548
- const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15549
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null
15550
- ? []
15551
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
15552
- "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]
15553
- ? _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"]
15554
- : _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
15928
+ let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15929
+ if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
15930
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15931
+ }
15932
+ else if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array.length === 1 &&
15933
+ "@list" in _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]) {
15934
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array =
15935
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array[0]["@list"];
15936
+ }
15937
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
15555
15938
  if (v == null)
15556
15939
  continue;
15557
15940
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
15558
15941
  }
15559
15942
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
15943
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15560
15944
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
15561
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15562
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null
15563
- ? []
15564
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
15565
- "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]
15566
- ? _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"]
15567
- : _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
15945
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15946
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
15947
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15948
+ }
15949
+ else if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array.length === 1 &&
15950
+ "@list" in _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]) {
15951
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array =
15952
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array[0]["@list"];
15953
+ }
15954
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
15568
15955
  if (v == null)
15569
15956
  continue;
15570
15957
  const decoded = typeof v === "object" && "@value" in v &&
@@ -15580,53 +15967,69 @@ export class Link {
15580
15967
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
15581
15968
  }
15582
15969
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
15970
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15583
15971
  const _f57HKWCp1YRBbTJE8PF12RbDJGf = [];
15584
- const _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15585
- for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array == null
15586
- ? []
15587
- : _f57HKWCp1YRBbTJE8PF12RbDJGf__array.length === 1 &&
15588
- "@list" in _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]
15589
- ? _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]["@list"]
15590
- : _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
15972
+ let _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15973
+ if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array == null) {
15974
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15975
+ }
15976
+ else if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array.length === 1 &&
15977
+ "@list" in _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]) {
15978
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array =
15979
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array[0]["@list"];
15980
+ }
15981
+ for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
15591
15982
  if (v == null)
15592
15983
  continue;
15593
15984
  _f57HKWCp1YRBbTJE8PF12RbDJGf.push(parseLanguageTag(v["@value"]));
15594
15985
  }
15595
15986
  instance.#_f57HKWCp1YRBbTJE8PF12RbDJGf = _f57HKWCp1YRBbTJE8PF12RbDJGf;
15987
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15596
15988
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
15597
- const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15598
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null
15599
- ? []
15600
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
15601
- "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]
15602
- ? _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"]
15603
- : _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
15989
+ let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15990
+ if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
15991
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
15992
+ }
15993
+ else if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array.length === 1 &&
15994
+ "@list" in _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]) {
15995
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array =
15996
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array[0]["@list"];
15997
+ }
15998
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
15604
15999
  if (v == null)
15605
16000
  continue;
15606
16001
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
15607
16002
  }
15608
16003
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
16004
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
15609
16005
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
15610
- const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
15611
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null
15612
- ? []
15613
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
15614
- "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]
15615
- ? _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"]
15616
- : _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
16006
+ let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
16007
+ if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
16008
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
16009
+ }
16010
+ else if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array.length === 1 &&
16011
+ "@list" in _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]) {
16012
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array =
16013
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array[0]["@list"];
16014
+ }
16015
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
15617
16016
  if (v == null)
15618
16017
  continue;
15619
16018
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
15620
16019
  }
15621
16020
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
16021
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
15622
16022
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
15623
- const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
15624
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array == null
15625
- ? []
15626
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
15627
- "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]
15628
- ? _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"]
15629
- : _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
16023
+ let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
16024
+ if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
16025
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
16026
+ }
16027
+ else if (_gCVTegXxWWCw6wWRxa1QF65zusg__array.length === 1 &&
16028
+ "@list" in _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]) {
16029
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array =
16030
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array[0]["@list"];
16031
+ }
16032
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
15630
16033
  if (v == null)
15631
16034
  continue;
15632
16035
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -15696,6 +16099,7 @@ export class Link {
15696
16099
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
15697
16100
  }
15698
16101
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
16102
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
15699
16103
  return instance;
15700
16104
  }
15701
16105
  _getCustomInspectProxy() {
@@ -16663,13 +17067,16 @@ export class OrderedCollection extends Collection {
16663
17067
  throw new TypeError("Unexpected type: " + instance.constructor.name);
16664
17068
  }
16665
17069
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
16666
- const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
16667
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null
16668
- ? []
16669
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
16670
- "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]
16671
- ? _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"]
16672
- : _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
17070
+ let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
17071
+ if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
17072
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
17073
+ }
17074
+ else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
17075
+ "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
17076
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
17077
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
17078
+ }
17079
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
16673
17080
  if (v == null)
16674
17081
  continue;
16675
17082
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -16680,6 +17087,7 @@ export class OrderedCollection extends Collection {
16680
17087
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
16681
17088
  }
16682
17089
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
17090
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
16683
17091
  return instance;
16684
17092
  }
16685
17093
  _getCustomInspectProxy() {
@@ -16847,18 +17255,22 @@ export class OrderedCollectionPage extends CollectionPage {
16847
17255
  throw new TypeError("Unexpected type: " + instance.constructor.name);
16848
17256
  }
16849
17257
  const _2W4yinFwqmpneu2h4m1mZ3pcLADd = [];
16850
- const _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
16851
- for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array == null
16852
- ? []
16853
- : _2W4yinFwqmpneu2h4m1mZ3pcLADd__array.length === 1 &&
16854
- "@list" in _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]
16855
- ? _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]["@list"]
16856
- : _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
17258
+ let _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
17259
+ if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array == null) {
17260
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
17261
+ }
17262
+ else if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array.length === 1 &&
17263
+ "@list" in _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]) {
17264
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array =
17265
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array[0]["@list"];
17266
+ }
17267
+ for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
16857
17268
  if (v == null)
16858
17269
  continue;
16859
17270
  _2W4yinFwqmpneu2h4m1mZ3pcLADd.push(v["@value"]);
16860
17271
  }
16861
17272
  instance.#_2W4yinFwqmpneu2h4m1mZ3pcLADd = _2W4yinFwqmpneu2h4m1mZ3pcLADd;
17273
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
16862
17274
  return instance;
16863
17275
  }
16864
17276
  _getCustomInspectProxy() {
@@ -18267,13 +18679,16 @@ export class Organization extends Object {
18267
18679
  throw new TypeError("Unexpected type: " + instance.constructor.name);
18268
18680
  }
18269
18681
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
18270
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
18271
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
18272
- ? []
18273
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
18274
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
18275
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
18276
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
18682
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
18683
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
18684
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
18685
+ }
18686
+ else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
18687
+ "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
18688
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
18689
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
18690
+ }
18691
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
18277
18692
  if (v == null)
18278
18693
  continue;
18279
18694
  const decoded = typeof v === "object" && "@value" in v &&
@@ -18289,14 +18704,18 @@ export class Organization extends Object {
18289
18704
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
18290
18705
  }
18291
18706
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
18707
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
18292
18708
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
18293
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
18294
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
18295
- ? []
18296
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
18297
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
18298
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
18299
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
18709
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
18710
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
18711
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
18712
+ }
18713
+ else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
18714
+ "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
18715
+ _axq166E2eZADq34V4MYUc8KMZdC__array =
18716
+ _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
18717
+ }
18718
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
18300
18719
  if (v == null)
18301
18720
  continue;
18302
18721
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18307,14 +18726,18 @@ export class Organization extends Object {
18307
18726
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
18308
18727
  }
18309
18728
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
18729
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
18310
18730
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
18311
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
18312
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
18313
- ? []
18314
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
18315
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
18316
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
18317
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
18731
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
18732
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
18733
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
18734
+ }
18735
+ else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
18736
+ "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
18737
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
18738
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
18739
+ }
18740
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
18318
18741
  if (v == null)
18319
18742
  continue;
18320
18743
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18325,27 +18748,35 @@ export class Organization extends Object {
18325
18748
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
18326
18749
  }
18327
18750
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
18751
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
18328
18752
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
18329
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
18330
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
18331
- ? []
18332
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
18333
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
18334
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
18335
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
18753
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
18754
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
18755
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
18756
+ }
18757
+ else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
18758
+ "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
18759
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
18760
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
18761
+ }
18762
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
18336
18763
  if (v == null)
18337
18764
  continue;
18338
18765
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
18339
18766
  }
18340
18767
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
18768
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
18341
18769
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
18342
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
18343
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
18344
- ? []
18345
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
18346
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
18347
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
18348
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
18770
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
18771
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
18772
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
18773
+ }
18774
+ else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
18775
+ "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
18776
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
18777
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
18778
+ }
18779
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
18349
18780
  if (v == null)
18350
18781
  continue;
18351
18782
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18356,14 +18787,18 @@ export class Organization extends Object {
18356
18787
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
18357
18788
  }
18358
18789
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
18790
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
18359
18791
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
18360
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
18361
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
18362
- ? []
18363
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
18364
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
18365
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
18366
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
18792
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
18793
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
18794
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
18795
+ }
18796
+ else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
18797
+ "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
18798
+ _41QwhqJouoLg3h8dRPKat21brynC__array =
18799
+ _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
18800
+ }
18801
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
18367
18802
  if (v == null)
18368
18803
  continue;
18369
18804
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18374,14 +18809,18 @@ export class Organization extends Object {
18374
18809
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
18375
18810
  }
18376
18811
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
18812
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
18377
18813
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
18378
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
18379
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
18380
- ? []
18381
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
18382
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
18383
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
18384
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
18814
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
18815
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
18816
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
18817
+ }
18818
+ else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
18819
+ "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
18820
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
18821
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
18822
+ }
18823
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
18385
18824
  if (v == null)
18386
18825
  continue;
18387
18826
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18392,14 +18831,18 @@ export class Organization extends Object {
18392
18831
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
18393
18832
  }
18394
18833
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
18834
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
18395
18835
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
18396
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
18397
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
18398
- ? []
18399
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
18400
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
18401
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
18402
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
18836
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
18837
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
18838
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
18839
+ }
18840
+ else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
18841
+ "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
18842
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
18843
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
18844
+ }
18845
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
18403
18846
  if (v == null)
18404
18847
  continue;
18405
18848
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18410,14 +18853,18 @@ export class Organization extends Object {
18410
18853
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
18411
18854
  }
18412
18855
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
18856
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
18413
18857
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
18414
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
18415
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
18416
- ? []
18417
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
18418
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
18419
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
18420
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
18858
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
18859
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
18860
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
18861
+ }
18862
+ else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
18863
+ "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
18864
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
18865
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
18866
+ }
18867
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
18421
18868
  if (v == null)
18422
18869
  continue;
18423
18870
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18428,14 +18875,18 @@ export class Organization extends Object {
18428
18875
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
18429
18876
  }
18430
18877
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
18878
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
18431
18879
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
18432
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
18433
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
18434
- ? []
18435
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
18436
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
18437
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
18438
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
18880
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
18881
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
18882
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
18883
+ }
18884
+ else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
18885
+ "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
18886
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array =
18887
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
18888
+ }
18889
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
18439
18890
  if (v == null)
18440
18891
  continue;
18441
18892
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18446,14 +18897,18 @@ export class Organization extends Object {
18446
18897
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
18447
18898
  }
18448
18899
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
18900
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
18449
18901
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
18450
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
18451
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
18452
- ? []
18453
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
18454
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
18455
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
18456
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
18902
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
18903
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
18904
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
18905
+ }
18906
+ else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
18907
+ "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
18908
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
18909
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
18910
+ }
18911
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
18457
18912
  if (v == null)
18458
18913
  continue;
18459
18914
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -18464,71 +18919,92 @@ export class Organization extends Object {
18464
18919
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
18465
18920
  }
18466
18921
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
18922
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
18467
18923
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
18468
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
18469
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
18470
- ? []
18471
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
18472
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
18473
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
18474
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
18924
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
18925
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
18926
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
18927
+ }
18928
+ else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
18929
+ "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
18930
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
18931
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
18932
+ }
18933
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
18475
18934
  if (v == null)
18476
18935
  continue;
18477
18936
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
18478
18937
  }
18479
18938
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
18939
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
18480
18940
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
18481
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
18482
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
18483
- ? []
18484
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
18485
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
18486
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
18487
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
18941
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
18942
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
18943
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
18944
+ }
18945
+ else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
18946
+ "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
18947
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
18948
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
18949
+ }
18950
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
18488
18951
  if (v == null)
18489
18952
  continue;
18490
18953
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
18491
18954
  }
18492
18955
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
18956
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
18493
18957
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
18494
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
18495
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
18496
- ? []
18497
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
18498
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
18499
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
18500
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
18958
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
18959
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
18960
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
18961
+ }
18962
+ else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
18963
+ "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
18964
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
18965
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
18966
+ }
18967
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
18501
18968
  if (v == null)
18502
18969
  continue;
18503
18970
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
18504
18971
  }
18505
18972
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
18973
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
18506
18974
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
18507
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
18508
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
18509
- ? []
18510
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
18511
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
18512
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
18513
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
18975
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
18976
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
18977
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
18978
+ }
18979
+ else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
18980
+ "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
18981
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
18982
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
18983
+ }
18984
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
18514
18985
  if (v == null)
18515
18986
  continue;
18516
18987
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
18517
18988
  }
18518
18989
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
18990
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
18519
18991
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
18520
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
18521
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
18522
- ? []
18523
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
18524
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
18525
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
18526
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
18992
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
18993
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
18994
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
18995
+ }
18996
+ else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
18997
+ "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
18998
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
18999
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
19000
+ }
19001
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
18527
19002
  if (v == null)
18528
19003
  continue;
18529
19004
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
18530
19005
  }
18531
19006
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
19007
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
18532
19008
  return instance;
18533
19009
  }
18534
19010
  _getCustomInspectProxy() {
@@ -20229,13 +20705,16 @@ export class Person extends Object {
20229
20705
  throw new TypeError("Unexpected type: " + instance.constructor.name);
20230
20706
  }
20231
20707
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
20232
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
20233
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
20234
- ? []
20235
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
20236
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
20237
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
20238
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
20708
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
20709
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
20710
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
20711
+ }
20712
+ else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
20713
+ "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
20714
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
20715
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
20716
+ }
20717
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
20239
20718
  if (v == null)
20240
20719
  continue;
20241
20720
  const decoded = typeof v === "object" && "@value" in v &&
@@ -20251,14 +20730,18 @@ export class Person extends Object {
20251
20730
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
20252
20731
  }
20253
20732
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
20733
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
20254
20734
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
20255
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
20256
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
20257
- ? []
20258
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
20259
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
20260
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
20261
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
20735
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
20736
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
20737
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
20738
+ }
20739
+ else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
20740
+ "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
20741
+ _axq166E2eZADq34V4MYUc8KMZdC__array =
20742
+ _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
20743
+ }
20744
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
20262
20745
  if (v == null)
20263
20746
  continue;
20264
20747
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20269,14 +20752,18 @@ export class Person extends Object {
20269
20752
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
20270
20753
  }
20271
20754
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
20755
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
20272
20756
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
20273
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
20274
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
20275
- ? []
20276
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
20277
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
20278
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
20279
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
20757
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
20758
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
20759
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
20760
+ }
20761
+ else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
20762
+ "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
20763
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
20764
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
20765
+ }
20766
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
20280
20767
  if (v == null)
20281
20768
  continue;
20282
20769
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20287,27 +20774,35 @@ export class Person extends Object {
20287
20774
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
20288
20775
  }
20289
20776
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
20777
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
20290
20778
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
20291
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
20292
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
20293
- ? []
20294
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
20295
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
20296
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
20297
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
20779
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
20780
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
20781
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
20782
+ }
20783
+ else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
20784
+ "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
20785
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
20786
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
20787
+ }
20788
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
20298
20789
  if (v == null)
20299
20790
  continue;
20300
20791
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
20301
20792
  }
20302
20793
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
20794
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
20303
20795
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
20304
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
20305
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
20306
- ? []
20307
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
20308
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
20309
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
20310
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
20796
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
20797
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
20798
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
20799
+ }
20800
+ else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
20801
+ "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
20802
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
20803
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
20804
+ }
20805
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
20311
20806
  if (v == null)
20312
20807
  continue;
20313
20808
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20318,14 +20813,18 @@ export class Person extends Object {
20318
20813
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
20319
20814
  }
20320
20815
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
20816
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
20321
20817
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
20322
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
20323
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
20324
- ? []
20325
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
20326
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
20327
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
20328
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
20818
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
20819
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
20820
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
20821
+ }
20822
+ else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
20823
+ "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
20824
+ _41QwhqJouoLg3h8dRPKat21brynC__array =
20825
+ _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
20826
+ }
20827
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
20329
20828
  if (v == null)
20330
20829
  continue;
20331
20830
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20336,14 +20835,18 @@ export class Person extends Object {
20336
20835
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
20337
20836
  }
20338
20837
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
20838
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
20339
20839
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
20340
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
20341
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
20342
- ? []
20343
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
20344
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
20345
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
20346
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
20840
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
20841
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
20842
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
20843
+ }
20844
+ else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
20845
+ "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
20846
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
20847
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
20848
+ }
20849
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
20347
20850
  if (v == null)
20348
20851
  continue;
20349
20852
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20354,14 +20857,18 @@ export class Person extends Object {
20354
20857
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
20355
20858
  }
20356
20859
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
20860
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
20357
20861
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
20358
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
20359
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
20360
- ? []
20361
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
20362
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
20363
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
20364
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
20862
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
20863
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
20864
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
20865
+ }
20866
+ else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
20867
+ "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
20868
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
20869
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
20870
+ }
20871
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
20365
20872
  if (v == null)
20366
20873
  continue;
20367
20874
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20372,14 +20879,18 @@ export class Person extends Object {
20372
20879
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
20373
20880
  }
20374
20881
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
20882
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
20375
20883
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
20376
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
20377
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
20378
- ? []
20379
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
20380
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
20381
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
20382
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
20884
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
20885
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
20886
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
20887
+ }
20888
+ else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
20889
+ "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
20890
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
20891
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
20892
+ }
20893
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
20383
20894
  if (v == null)
20384
20895
  continue;
20385
20896
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20390,14 +20901,18 @@ export class Person extends Object {
20390
20901
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
20391
20902
  }
20392
20903
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
20904
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
20393
20905
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
20394
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
20395
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
20396
- ? []
20397
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
20398
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
20399
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
20400
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
20906
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
20907
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
20908
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
20909
+ }
20910
+ else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
20911
+ "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
20912
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array =
20913
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
20914
+ }
20915
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
20401
20916
  if (v == null)
20402
20917
  continue;
20403
20918
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20408,14 +20923,18 @@ export class Person extends Object {
20408
20923
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
20409
20924
  }
20410
20925
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
20926
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
20411
20927
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
20412
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
20413
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
20414
- ? []
20415
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
20416
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
20417
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
20418
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
20928
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
20929
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
20930
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
20931
+ }
20932
+ else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
20933
+ "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
20934
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
20935
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
20936
+ }
20937
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
20419
20938
  if (v == null)
20420
20939
  continue;
20421
20940
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20426,71 +20945,92 @@ export class Person extends Object {
20426
20945
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
20427
20946
  }
20428
20947
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
20948
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
20429
20949
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
20430
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
20431
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
20432
- ? []
20433
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
20434
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
20435
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
20436
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
20950
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
20951
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
20952
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
20953
+ }
20954
+ else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
20955
+ "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
20956
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
20957
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
20958
+ }
20959
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
20437
20960
  if (v == null)
20438
20961
  continue;
20439
20962
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
20440
20963
  }
20441
20964
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
20965
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
20442
20966
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
20443
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
20444
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
20445
- ? []
20446
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
20447
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
20448
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
20449
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
20967
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
20968
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
20969
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
20970
+ }
20971
+ else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
20972
+ "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
20973
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
20974
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
20975
+ }
20976
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
20450
20977
  if (v == null)
20451
20978
  continue;
20452
20979
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
20453
20980
  }
20454
20981
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
20982
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
20455
20983
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
20456
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
20457
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
20458
- ? []
20459
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
20460
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
20461
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
20462
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
20984
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
20985
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
20986
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
20987
+ }
20988
+ else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
20989
+ "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
20990
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
20991
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
20992
+ }
20993
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
20463
20994
  if (v == null)
20464
20995
  continue;
20465
20996
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
20466
20997
  }
20467
20998
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
20999
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
20468
21000
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
20469
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
20470
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
20471
- ? []
20472
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
20473
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
20474
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
20475
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
21001
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
21002
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
21003
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
21004
+ }
21005
+ else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
21006
+ "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
21007
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
21008
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
21009
+ }
21010
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
20476
21011
  if (v == null)
20477
21012
  continue;
20478
21013
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
20479
21014
  }
20480
21015
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
21016
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
20481
21017
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
20482
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
20483
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
20484
- ? []
20485
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
20486
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
20487
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
20488
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
21018
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
21019
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
21020
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
21021
+ }
21022
+ else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
21023
+ "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
21024
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
21025
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
21026
+ }
21027
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
20489
21028
  if (v == null)
20490
21029
  continue;
20491
21030
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
20492
21031
  }
20493
21032
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
21033
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
20494
21034
  return instance;
20495
21035
  }
20496
21036
  _getCustomInspectProxy() {
@@ -21051,78 +21591,101 @@ export class Place extends Object {
21051
21591
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21052
21592
  }
21053
21593
  const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = [];
21054
- const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
21055
- for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array == null
21056
- ? []
21057
- : _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array.length === 1 &&
21058
- "@list" in _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]
21059
- ? _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]["@list"]
21060
- : _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
21594
+ let _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
21595
+ if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array == null) {
21596
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
21597
+ }
21598
+ else if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array.length === 1 &&
21599
+ "@list" in _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]) {
21600
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array =
21601
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array[0]["@list"];
21602
+ }
21603
+ for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
21061
21604
  if (v == null)
21062
21605
  continue;
21063
21606
  _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne.push(v["@value"]);
21064
21607
  }
21065
21608
  instance.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne;
21609
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
21066
21610
  const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi = [];
21067
- const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
21068
- for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array == null
21069
- ? []
21070
- : _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array.length === 1 &&
21071
- "@list" in _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]
21072
- ? _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]["@list"]
21073
- : _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
21611
+ let _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
21612
+ if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array == null) {
21613
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
21614
+ }
21615
+ else if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array.length === 1 &&
21616
+ "@list" in _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]) {
21617
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array =
21618
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array[0]["@list"];
21619
+ }
21620
+ for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
21074
21621
  if (v == null)
21075
21622
  continue;
21076
21623
  _3Q6KDcFQUJRRaBux1BL2yp5QWiBi.push(v["@value"]);
21077
21624
  }
21078
21625
  instance.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi = _3Q6KDcFQUJRRaBux1BL2yp5QWiBi;
21626
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
21079
21627
  const _3g85RoKRnaNjP7DFyLSvsWDg7HGM = [];
21080
- const _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
21081
- for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array == null
21082
- ? []
21083
- : _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array.length === 1 &&
21084
- "@list" in _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]
21085
- ? _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]["@list"]
21086
- : _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
21628
+ let _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
21629
+ if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array == null) {
21630
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
21631
+ }
21632
+ else if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array.length === 1 &&
21633
+ "@list" in _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]) {
21634
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array =
21635
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array[0]["@list"];
21636
+ }
21637
+ for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
21087
21638
  if (v == null)
21088
21639
  continue;
21089
21640
  _3g85RoKRnaNjP7DFyLSvsWDg7HGM.push(v["@value"]);
21090
21641
  }
21091
21642
  instance.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM = _3g85RoKRnaNjP7DFyLSvsWDg7HGM;
21643
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
21092
21644
  const _B2GEYdS9yBAF3ho1pm1rcRg7cSf = [];
21093
- const _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
21094
- for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array == null
21095
- ? []
21096
- : _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array.length === 1 &&
21097
- "@list" in _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]
21098
- ? _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]["@list"]
21099
- : _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
21645
+ let _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
21646
+ if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array == null) {
21647
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
21648
+ }
21649
+ else if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array.length === 1 &&
21650
+ "@list" in _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]) {
21651
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array =
21652
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array[0]["@list"];
21653
+ }
21654
+ for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
21100
21655
  if (v == null)
21101
21656
  continue;
21102
21657
  _B2GEYdS9yBAF3ho1pm1rcRg7cSf.push(v["@value"]);
21103
21658
  }
21104
21659
  instance.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf = _B2GEYdS9yBAF3ho1pm1rcRg7cSf;
21660
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
21105
21661
  const _3ga86BKHUtRkGx5PHBjRiUXXzwnw = [];
21106
- const _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
21107
- for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array == null
21108
- ? []
21109
- : _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array.length === 1 &&
21110
- "@list" in _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]
21111
- ? _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]["@list"]
21112
- : _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
21662
+ let _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
21663
+ if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array == null) {
21664
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
21665
+ }
21666
+ else if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array.length === 1 &&
21667
+ "@list" in _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]) {
21668
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array =
21669
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array[0]["@list"];
21670
+ }
21671
+ for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
21113
21672
  if (v == null)
21114
21673
  continue;
21115
21674
  _3ga86BKHUtRkGx5PHBjRiUXXzwnw.push(v["@value"]);
21116
21675
  }
21117
21676
  instance.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw = _3ga86BKHUtRkGx5PHBjRiUXXzwnw;
21677
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
21118
21678
  const _oKrwxU4V8wiKhMW1QEYQibcJh8c = [];
21119
- const _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
21120
- for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array == null
21121
- ? []
21122
- : _oKrwxU4V8wiKhMW1QEYQibcJh8c__array.length === 1 &&
21123
- "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]
21124
- ? _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]["@list"]
21125
- : _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
21679
+ let _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
21680
+ if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array == null) {
21681
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
21682
+ }
21683
+ else if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array.length === 1 &&
21684
+ "@list" in _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]) {
21685
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array =
21686
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array[0]["@list"];
21687
+ }
21688
+ for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
21126
21689
  if (v == null)
21127
21690
  continue;
21128
21691
  const decoded = typeof v === "object" && "@value" in v &&
@@ -21139,6 +21702,7 @@ export class Place extends Object {
21139
21702
  _oKrwxU4V8wiKhMW1QEYQibcJh8c.push(decoded);
21140
21703
  }
21141
21704
  instance.#_oKrwxU4V8wiKhMW1QEYQibcJh8c = _oKrwxU4V8wiKhMW1QEYQibcJh8c;
21705
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
21142
21706
  return instance;
21143
21707
  }
21144
21708
  _getCustomInspectProxy() {
@@ -21408,13 +21972,16 @@ export class Profile extends Object {
21408
21972
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21409
21973
  }
21410
21974
  const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = [];
21411
- const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
21412
- for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array == null
21413
- ? []
21414
- : _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array.length === 1 &&
21415
- "@list" in _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]
21416
- ? _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]["@list"]
21417
- : _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
21975
+ let _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
21976
+ if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array == null) {
21977
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
21978
+ }
21979
+ else if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array.length === 1 &&
21980
+ "@list" in _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]) {
21981
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array =
21982
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array[0]["@list"];
21983
+ }
21984
+ for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
21418
21985
  if (v == null)
21419
21986
  continue;
21420
21987
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21425,6 +21992,7 @@ export class Profile extends Object {
21425
21992
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(await Object.fromJsonLd(v, options));
21426
21993
  }
21427
21994
  instance.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1;
21995
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
21428
21996
  return instance;
21429
21997
  }
21430
21998
  _getCustomInspectProxy() {
@@ -21735,13 +22303,16 @@ export class Question extends IntransitiveActivity {
21735
22303
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21736
22304
  }
21737
22305
  const _2N5scKaVEcdYHFmfKYYacAwUhUgQ = [];
21738
- const _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
21739
- for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array == null
21740
- ? []
21741
- : _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array.length === 1 &&
21742
- "@list" in _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]
21743
- ? _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]["@list"]
21744
- : _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
22306
+ let _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
22307
+ if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array == null) {
22308
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
22309
+ }
22310
+ else if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array.length === 1 &&
22311
+ "@list" in _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]) {
22312
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array =
22313
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array[0]["@list"];
22314
+ }
22315
+ for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
21745
22316
  if (v == null)
21746
22317
  continue;
21747
22318
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21752,14 +22323,18 @@ export class Question extends IntransitiveActivity {
21752
22323
  _2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(await Object.fromJsonLd(v, options));
21753
22324
  }
21754
22325
  instance.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ = _2N5scKaVEcdYHFmfKYYacAwUhUgQ;
22326
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
21755
22327
  const _2mV6isMTPRKbWdLCjcpiEysq5dAY = [];
21756
- const _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
21757
- for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array == null
21758
- ? []
21759
- : _2mV6isMTPRKbWdLCjcpiEysq5dAY__array.length === 1 &&
21760
- "@list" in _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]
21761
- ? _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]["@list"]
21762
- : _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
22328
+ let _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
22329
+ if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array == null) {
22330
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
22331
+ }
22332
+ else if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array.length === 1 &&
22333
+ "@list" in _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]) {
22334
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array =
22335
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array[0]["@list"];
22336
+ }
22337
+ for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
21763
22338
  if (v == null)
21764
22339
  continue;
21765
22340
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21770,6 +22345,7 @@ export class Question extends IntransitiveActivity {
21770
22345
  _2mV6isMTPRKbWdLCjcpiEysq5dAY.push(await Object.fromJsonLd(v, options));
21771
22346
  }
21772
22347
  instance.#_2mV6isMTPRKbWdLCjcpiEysq5dAY = _2mV6isMTPRKbWdLCjcpiEysq5dAY;
22348
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
21773
22349
  return instance;
21774
22350
  }
21775
22351
  _getCustomInspectProxy() {
@@ -22408,13 +22984,16 @@ export class Relationship extends Object {
22408
22984
  throw new TypeError("Unexpected type: " + instance.constructor.name);
22409
22985
  }
22410
22986
  const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq = [];
22411
- const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
22412
- for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array == null
22413
- ? []
22414
- : _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array.length === 1 &&
22415
- "@list" in _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]
22416
- ? _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]["@list"]
22417
- : _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
22987
+ let _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
22988
+ if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array == null) {
22989
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
22990
+ }
22991
+ else if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array.length === 1 &&
22992
+ "@list" in _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]) {
22993
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array =
22994
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array[0]["@list"];
22995
+ }
22996
+ for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
22418
22997
  if (v == null)
22419
22998
  continue;
22420
22999
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22425,14 +23004,18 @@ export class Relationship extends Object {
22425
23004
  _2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(await Object.fromJsonLd(v, options));
22426
23005
  }
22427
23006
  instance.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq = _2Zqdmi46ZnDQsECS6mzwhrv3rUKq;
23007
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
22428
23008
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
22429
- const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
22430
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null
22431
- ? []
22432
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
22433
- "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]
22434
- ? _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"]
22435
- : _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
23009
+ let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
23010
+ if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
23011
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
23012
+ }
23013
+ else if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array.length === 1 &&
23014
+ "@list" in _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]) {
23015
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array =
23016
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array[0]["@list"];
23017
+ }
23018
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
22436
23019
  if (v == null)
22437
23020
  continue;
22438
23021
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22443,14 +23026,18 @@ export class Relationship extends Object {
22443
23026
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
22444
23027
  }
22445
23028
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
23029
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
22446
23030
  const _4Lzz89F9qipAQSGkWyX9DGWiUojG = [];
22447
- const _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
22448
- for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array == null
22449
- ? []
22450
- : _4Lzz89F9qipAQSGkWyX9DGWiUojG__array.length === 1 &&
22451
- "@list" in _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]
22452
- ? _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]["@list"]
22453
- : _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
23031
+ let _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
23032
+ if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array == null) {
23033
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
23034
+ }
23035
+ else if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array.length === 1 &&
23036
+ "@list" in _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]) {
23037
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array =
23038
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array[0]["@list"];
23039
+ }
23040
+ for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
22454
23041
  if (v == null)
22455
23042
  continue;
22456
23043
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -22461,6 +23048,7 @@ export class Relationship extends Object {
22461
23048
  _4Lzz89F9qipAQSGkWyX9DGWiUojG.push(await Object.fromJsonLd(v, options));
22462
23049
  }
22463
23050
  instance.#_4Lzz89F9qipAQSGkWyX9DGWiUojG = _4Lzz89F9qipAQSGkWyX9DGWiUojG;
23051
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
22464
23052
  return instance;
22465
23053
  }
22466
23054
  _getCustomInspectProxy() {
@@ -24012,13 +24600,16 @@ export class Service extends Object {
24012
24600
  throw new TypeError("Unexpected type: " + instance.constructor.name);
24013
24601
  }
24014
24602
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
24015
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
24016
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null
24017
- ? []
24018
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
24019
- "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]
24020
- ? _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"]
24021
- : _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
24603
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
24604
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
24605
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
24606
+ }
24607
+ else if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array.length === 1 &&
24608
+ "@list" in _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]) {
24609
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array =
24610
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array[0]["@list"];
24611
+ }
24612
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
24022
24613
  if (v == null)
24023
24614
  continue;
24024
24615
  const decoded = typeof v === "object" && "@value" in v &&
@@ -24034,14 +24625,18 @@ export class Service extends Object {
24034
24625
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
24035
24626
  }
24036
24627
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
24628
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
24037
24629
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
24038
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
24039
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array == null
24040
- ? []
24041
- : _axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
24042
- "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]
24043
- ? _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"]
24044
- : _axq166E2eZADq34V4MYUc8KMZdC__array) {
24630
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
24631
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
24632
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
24633
+ }
24634
+ else if (_axq166E2eZADq34V4MYUc8KMZdC__array.length === 1 &&
24635
+ "@list" in _axq166E2eZADq34V4MYUc8KMZdC__array[0]) {
24636
+ _axq166E2eZADq34V4MYUc8KMZdC__array =
24637
+ _axq166E2eZADq34V4MYUc8KMZdC__array[0]["@list"];
24638
+ }
24639
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
24045
24640
  if (v == null)
24046
24641
  continue;
24047
24642
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24052,14 +24647,18 @@ export class Service extends Object {
24052
24647
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
24053
24648
  }
24054
24649
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
24650
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
24055
24651
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
24056
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
24057
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null
24058
- ? []
24059
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
24060
- "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]
24061
- ? _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"]
24062
- : _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
24652
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
24653
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
24654
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
24655
+ }
24656
+ else if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array.length === 1 &&
24657
+ "@list" in _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]) {
24658
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array =
24659
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array[0]["@list"];
24660
+ }
24661
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
24063
24662
  if (v == null)
24064
24663
  continue;
24065
24664
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24070,27 +24669,35 @@ export class Service extends Object {
24070
24669
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
24071
24670
  }
24072
24671
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
24672
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
24073
24673
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
24074
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
24075
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null
24076
- ? []
24077
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
24078
- "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]
24079
- ? _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"]
24080
- : _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
24674
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
24675
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
24676
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
24677
+ }
24678
+ else if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array.length === 1 &&
24679
+ "@list" in _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]) {
24680
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array =
24681
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array[0]["@list"];
24682
+ }
24683
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
24081
24684
  if (v == null)
24082
24685
  continue;
24083
24686
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
24084
24687
  }
24085
24688
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
24689
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
24086
24690
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
24087
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
24088
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null
24089
- ? []
24090
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
24091
- "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]
24092
- ? _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"]
24093
- : _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
24691
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
24692
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
24693
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
24694
+ }
24695
+ else if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array.length === 1 &&
24696
+ "@list" in _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]) {
24697
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array =
24698
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array[0]["@list"];
24699
+ }
24700
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
24094
24701
  if (v == null)
24095
24702
  continue;
24096
24703
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24101,14 +24708,18 @@ export class Service extends Object {
24101
24708
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
24102
24709
  }
24103
24710
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
24711
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
24104
24712
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
24105
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
24106
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array == null
24107
- ? []
24108
- : _41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
24109
- "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]
24110
- ? _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"]
24111
- : _41QwhqJouoLg3h8dRPKat21brynC__array) {
24713
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
24714
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
24715
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
24716
+ }
24717
+ else if (_41QwhqJouoLg3h8dRPKat21brynC__array.length === 1 &&
24718
+ "@list" in _41QwhqJouoLg3h8dRPKat21brynC__array[0]) {
24719
+ _41QwhqJouoLg3h8dRPKat21brynC__array =
24720
+ _41QwhqJouoLg3h8dRPKat21brynC__array[0]["@list"];
24721
+ }
24722
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
24112
24723
  if (v == null)
24113
24724
  continue;
24114
24725
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24119,14 +24730,18 @@ export class Service extends Object {
24119
24730
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
24120
24731
  }
24121
24732
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
24733
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
24122
24734
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
24123
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
24124
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null
24125
- ? []
24126
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
24127
- "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]
24128
- ? _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"]
24129
- : _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
24735
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
24736
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
24737
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
24738
+ }
24739
+ else if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array.length === 1 &&
24740
+ "@list" in _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]) {
24741
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array =
24742
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array[0]["@list"];
24743
+ }
24744
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
24130
24745
  if (v == null)
24131
24746
  continue;
24132
24747
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24137,14 +24752,18 @@ export class Service extends Object {
24137
24752
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
24138
24753
  }
24139
24754
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
24755
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
24140
24756
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
24141
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
24142
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array == null
24143
- ? []
24144
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
24145
- "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]
24146
- ? _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"]
24147
- : _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
24757
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
24758
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
24759
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
24760
+ }
24761
+ else if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array.length === 1 &&
24762
+ "@list" in _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]) {
24763
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array =
24764
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array[0]["@list"];
24765
+ }
24766
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
24148
24767
  if (v == null)
24149
24768
  continue;
24150
24769
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24155,14 +24774,18 @@ export class Service extends Object {
24155
24774
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
24156
24775
  }
24157
24776
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
24777
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
24158
24778
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
24159
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
24160
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null
24161
- ? []
24162
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
24163
- "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]
24164
- ? _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"]
24165
- : _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
24779
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
24780
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
24781
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
24782
+ }
24783
+ else if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array.length === 1 &&
24784
+ "@list" in _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]) {
24785
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array =
24786
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array[0]["@list"];
24787
+ }
24788
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
24166
24789
  if (v == null)
24167
24790
  continue;
24168
24791
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24173,14 +24796,18 @@ export class Service extends Object {
24173
24796
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
24174
24797
  }
24175
24798
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
24799
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
24176
24800
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
24177
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
24178
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array == null
24179
- ? []
24180
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
24181
- "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]
24182
- ? _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"]
24183
- : _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
24801
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
24802
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
24803
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
24804
+ }
24805
+ else if (_4N1vBJzXDf8NbBumeECQMFvKetja__array.length === 1 &&
24806
+ "@list" in _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]) {
24807
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array =
24808
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array[0]["@list"];
24809
+ }
24810
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
24184
24811
  if (v == null)
24185
24812
  continue;
24186
24813
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24191,14 +24818,18 @@ export class Service extends Object {
24191
24818
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
24192
24819
  }
24193
24820
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
24821
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
24194
24822
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
24195
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
24196
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null
24197
- ? []
24198
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
24199
- "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]
24200
- ? _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"]
24201
- : _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
24823
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
24824
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
24825
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
24826
+ }
24827
+ else if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array.length === 1 &&
24828
+ "@list" in _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]) {
24829
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array =
24830
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array[0]["@list"];
24831
+ }
24832
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
24202
24833
  if (v == null)
24203
24834
  continue;
24204
24835
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -24209,71 +24840,92 @@ export class Service extends Object {
24209
24840
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
24210
24841
  }
24211
24842
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
24843
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
24212
24844
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
24213
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
24214
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null
24215
- ? []
24216
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
24217
- "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]
24218
- ? _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"]
24219
- : _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
24845
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
24846
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
24847
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
24848
+ }
24849
+ else if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array.length === 1 &&
24850
+ "@list" in _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]) {
24851
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array =
24852
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array[0]["@list"];
24853
+ }
24854
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
24220
24855
  if (v == null)
24221
24856
  continue;
24222
24857
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
24223
24858
  }
24224
24859
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
24860
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
24225
24861
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
24226
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
24227
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null
24228
- ? []
24229
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
24230
- "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]
24231
- ? _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"]
24232
- : _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
24862
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
24863
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
24864
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
24865
+ }
24866
+ else if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array.length === 1 &&
24867
+ "@list" in _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]) {
24868
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array =
24869
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array[0]["@list"];
24870
+ }
24871
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
24233
24872
  if (v == null)
24234
24873
  continue;
24235
24874
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
24236
24875
  }
24237
24876
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
24877
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
24238
24878
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
24239
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
24240
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null
24241
- ? []
24242
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
24243
- "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]
24244
- ? _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"]
24245
- : _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
24879
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
24880
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
24881
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
24882
+ }
24883
+ else if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array.length === 1 &&
24884
+ "@list" in _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]) {
24885
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array =
24886
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array[0]["@list"];
24887
+ }
24888
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
24246
24889
  if (v == null)
24247
24890
  continue;
24248
24891
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
24249
24892
  }
24250
24893
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
24894
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
24251
24895
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
24252
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
24253
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null
24254
- ? []
24255
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
24256
- "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]
24257
- ? _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"]
24258
- : _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
24896
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
24897
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
24898
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
24899
+ }
24900
+ else if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array.length === 1 &&
24901
+ "@list" in _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]) {
24902
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array =
24903
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array[0]["@list"];
24904
+ }
24905
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
24259
24906
  if (v == null)
24260
24907
  continue;
24261
24908
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
24262
24909
  }
24263
24910
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
24911
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
24264
24912
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
24265
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
24266
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array == null
24267
- ? []
24268
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
24269
- "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]
24270
- ? _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"]
24271
- : _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
24913
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
24914
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
24915
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
24916
+ }
24917
+ else if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array.length === 1 &&
24918
+ "@list" in _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]) {
24919
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array =
24920
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array[0]["@list"];
24921
+ }
24922
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
24272
24923
  if (v == null)
24273
24924
  continue;
24274
24925
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
24275
24926
  }
24276
24927
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
24928
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
24277
24929
  return instance;
24278
24930
  }
24279
24931
  _getCustomInspectProxy() {
@@ -24621,18 +25273,22 @@ export class Tombstone extends Object {
24621
25273
  throw new TypeError("Unexpected type: " + instance.constructor.name);
24622
25274
  }
24623
25275
  const _8g8g4LiVMhFTXskuDEqx4ascxUr = [];
24624
- const _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
24625
- for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array == null
24626
- ? []
24627
- : _8g8g4LiVMhFTXskuDEqx4ascxUr__array.length === 1 &&
24628
- "@list" in _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]
24629
- ? _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]["@list"]
24630
- : _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
25276
+ let _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
25277
+ if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array == null) {
25278
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
25279
+ }
25280
+ else if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array.length === 1 &&
25281
+ "@list" in _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]) {
25282
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array =
25283
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array[0]["@list"];
25284
+ }
25285
+ for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
24631
25286
  if (v == null)
24632
25287
  continue;
24633
25288
  _8g8g4LiVMhFTXskuDEqx4ascxUr.push(dntShim.Temporal.Instant.from(v["@value"]));
24634
25289
  }
24635
25290
  instance.#_8g8g4LiVMhFTXskuDEqx4ascxUr = _8g8g4LiVMhFTXskuDEqx4ascxUr;
25291
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
24636
25292
  return instance;
24637
25293
  }
24638
25294
  _getCustomInspectProxy() {