@fedify/fedify 0.11.0-dev.252 → 0.11.0-dev.253

Sign up to get free protection for your applications and to get access to all the features.
@@ -3256,8 +3256,11 @@ 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 ?? []) {
3259
+ let _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
3260
+ if (_49BipA5dq9eoH8LX8xdsVumveTca__array == null) {
3261
+ _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3262
+ }
3263
+ for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array) {
3261
3264
  if (v == null)
3262
3265
  continue;
3263
3266
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3331,9 +3334,13 @@ export class Object {
3331
3334
  _49BipA5dq9eoH8LX8xdsVumveTca.push(decoded);
3332
3335
  }
3333
3336
  instance.#_49BipA5dq9eoH8LX8xdsVumveTca = _49BipA5dq9eoH8LX8xdsVumveTca;
3337
+ _49BipA5dq9eoH8LX8xdsVumveTca__array = [];
3334
3338
  const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = [];
3335
- const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3336
- for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array ?? []) {
3339
+ let _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
3340
+ if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array == null) {
3341
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3342
+ }
3343
+ for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
3337
3344
  if (v == null)
3338
3345
  continue;
3339
3346
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3367,9 +3374,13 @@ export class Object {
3367
3374
  _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py.push(decoded);
3368
3375
  }
3369
3376
  instance.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py;
3377
+ _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = [];
3370
3378
  const _3ocC3VVi88cEd5sPWL8djkZsvTN6 = [];
3371
- const _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3372
- for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array ?? []) {
3379
+ let _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
3380
+ if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array == null) {
3381
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3382
+ }
3383
+ for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
3373
3384
  if (v == null)
3374
3385
  continue;
3375
3386
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3380,9 +3391,13 @@ export class Object {
3380
3391
  _3ocC3VVi88cEd5sPWL8djkZsvTN6.push(await _a.fromJsonLd(v, options));
3381
3392
  }
3382
3393
  instance.#_3ocC3VVi88cEd5sPWL8djkZsvTN6 = _3ocC3VVi88cEd5sPWL8djkZsvTN6;
3394
+ _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = [];
3383
3395
  const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = [];
3384
- const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3385
- for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array ?? []) {
3396
+ let _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
3397
+ if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array == null) {
3398
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3399
+ }
3400
+ for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
3386
3401
  if (v == null)
3387
3402
  continue;
3388
3403
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3398,9 +3413,13 @@ export class Object {
3398
3413
  _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz.push(decoded);
3399
3414
  }
3400
3415
  instance.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz;
3416
+ _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = [];
3401
3417
  const _3mhZzGXSpQ431mBSz2kvych22v4e = [];
3402
- const _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3403
- for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array ?? []) {
3418
+ let _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
3419
+ if (_3mhZzGXSpQ431mBSz2kvych22v4e__array == null) {
3420
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3421
+ }
3422
+ for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
3404
3423
  if (v == null)
3405
3424
  continue;
3406
3425
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3470,9 +3489,13 @@ export class Object {
3470
3489
  _3mhZzGXSpQ431mBSz2kvych22v4e.push(decoded);
3471
3490
  }
3472
3491
  instance.#_3mhZzGXSpQ431mBSz2kvych22v4e = _3mhZzGXSpQ431mBSz2kvych22v4e;
3492
+ _3mhZzGXSpQ431mBSz2kvych22v4e__array = [];
3473
3493
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
3474
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3475
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
3494
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
3495
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
3496
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3497
+ }
3498
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
3476
3499
  if (v == null)
3477
3500
  continue;
3478
3501
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3488,17 +3511,25 @@ export class Object {
3488
3511
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
3489
3512
  }
3490
3513
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
3514
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
3491
3515
  const _219RwDanjScTv5tYCjwGZVCM7KZ9 = [];
3492
- const _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3493
- for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array ?? []) {
3516
+ let _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
3517
+ if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array == null) {
3518
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3519
+ }
3520
+ for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
3494
3521
  if (v == null)
3495
3522
  continue;
3496
3523
  _219RwDanjScTv5tYCjwGZVCM7KZ9.push(dntShim.Temporal.Instant.from(v["@value"]));
3497
3524
  }
3498
3525
  instance.#_219RwDanjScTv5tYCjwGZVCM7KZ9 = _219RwDanjScTv5tYCjwGZVCM7KZ9;
3526
+ _219RwDanjScTv5tYCjwGZVCM7KZ9__array = [];
3499
3527
  const _86xFhmgBapoMvYqjbjRuDPayTrS = [];
3500
- const _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3501
- for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array ?? []) {
3528
+ let _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
3529
+ if (_86xFhmgBapoMvYqjbjRuDPayTrS__array == null) {
3530
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3531
+ }
3532
+ for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
3502
3533
  if (v == null)
3503
3534
  continue;
3504
3535
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3568,9 +3599,13 @@ export class Object {
3568
3599
  _86xFhmgBapoMvYqjbjRuDPayTrS.push(decoded);
3569
3600
  }
3570
3601
  instance.#_86xFhmgBapoMvYqjbjRuDPayTrS = _86xFhmgBapoMvYqjbjRuDPayTrS;
3602
+ _86xFhmgBapoMvYqjbjRuDPayTrS__array = [];
3571
3603
  const _33CjRLy5ujtsUrwRSCrsggvGdKuR = [];
3572
- const _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3573
- for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array ?? []) {
3604
+ let _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
3605
+ if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array == null) {
3606
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3607
+ }
3608
+ for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
3574
3609
  if (v == null)
3575
3610
  continue;
3576
3611
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3581,9 +3616,13 @@ export class Object {
3581
3616
  _33CjRLy5ujtsUrwRSCrsggvGdKuR.push(await Image.fromJsonLd(v, options));
3582
3617
  }
3583
3618
  instance.#_33CjRLy5ujtsUrwRSCrsggvGdKuR = _33CjRLy5ujtsUrwRSCrsggvGdKuR;
3619
+ _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = [];
3584
3620
  const _3dXrUdkARxwyJLtJcYi1AJ92H41U = [];
3585
- const _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3586
- for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array ?? []) {
3621
+ let _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
3622
+ if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array == null) {
3623
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3624
+ }
3625
+ for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
3587
3626
  if (v == null)
3588
3627
  continue;
3589
3628
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3594,9 +3633,13 @@ export class Object {
3594
3633
  _3dXrUdkARxwyJLtJcYi1AJ92H41U.push(await Image.fromJsonLd(v, options));
3595
3634
  }
3596
3635
  instance.#_3dXrUdkARxwyJLtJcYi1AJ92H41U = _3dXrUdkARxwyJLtJcYi1AJ92H41U;
3636
+ _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = [];
3597
3637
  const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s = [];
3598
- const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3599
- for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array ?? []) {
3638
+ let _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
3639
+ if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array == null) {
3640
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3641
+ }
3642
+ for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
3600
3643
  if (v == null)
3601
3644
  continue;
3602
3645
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3666,9 +3709,13 @@ export class Object {
3666
3709
  _3fpbDrvZgf3Kq1a5V9aByFn8kx3s.push(decoded);
3667
3710
  }
3668
3711
  instance.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s = _3fpbDrvZgf3Kq1a5V9aByFn8kx3s;
3712
+ _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = [];
3669
3713
  const _31k5MUZJsnsPNg8dQQJieWaXTFnR = [];
3670
- const _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3671
- for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array ?? []) {
3714
+ let _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
3715
+ if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array == null) {
3716
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3717
+ }
3718
+ for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
3672
3719
  if (v == null)
3673
3720
  continue;
3674
3721
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3738,9 +3785,13 @@ export class Object {
3738
3785
  _31k5MUZJsnsPNg8dQQJieWaXTFnR.push(decoded);
3739
3786
  }
3740
3787
  instance.#_31k5MUZJsnsPNg8dQQJieWaXTFnR = _31k5MUZJsnsPNg8dQQJieWaXTFnR;
3788
+ _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = [];
3741
3789
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
3742
- const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3743
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
3790
+ let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
3791
+ if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
3792
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3793
+ }
3794
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
3744
3795
  if (v == null)
3745
3796
  continue;
3746
3797
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3810,17 +3861,25 @@ export class Object {
3810
3861
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
3811
3862
  }
3812
3863
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
3864
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
3813
3865
  const _5e258TDXtuhaFRPZiGoDfEpjdMr = [];
3814
- const _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3815
- for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array ?? []) {
3866
+ let _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
3867
+ if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array == null) {
3868
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3869
+ }
3870
+ for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
3816
3871
  if (v == null)
3817
3872
  continue;
3818
3873
  _5e258TDXtuhaFRPZiGoDfEpjdMr.push(dntShim.Temporal.Instant.from(v["@value"]));
3819
3874
  }
3820
3875
  instance.#_5e258TDXtuhaFRPZiGoDfEpjdMr = _5e258TDXtuhaFRPZiGoDfEpjdMr;
3876
+ _5e258TDXtuhaFRPZiGoDfEpjdMr__array = [];
3821
3877
  const _7UpwM3JWcXhADcscukEehBorf6k = [];
3822
- const _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3823
- for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array ?? []) {
3878
+ let _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
3879
+ if (_7UpwM3JWcXhADcscukEehBorf6k__array == null) {
3880
+ _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3881
+ }
3882
+ for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array) {
3824
3883
  if (v == null)
3825
3884
  continue;
3826
3885
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3831,17 +3890,25 @@ export class Object {
3831
3890
  _7UpwM3JWcXhADcscukEehBorf6k.push(await Collection.fromJsonLd(v, options));
3832
3891
  }
3833
3892
  instance.#_7UpwM3JWcXhADcscukEehBorf6k = _7UpwM3JWcXhADcscukEehBorf6k;
3893
+ _7UpwM3JWcXhADcscukEehBorf6k__array = [];
3834
3894
  const _2w3Jmue4up8iVDUA51WZqomEF438 = [];
3835
- const _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3836
- for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array ?? []) {
3895
+ let _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
3896
+ if (_2w3Jmue4up8iVDUA51WZqomEF438__array == null) {
3897
+ _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3898
+ }
3899
+ for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array) {
3837
3900
  if (v == null)
3838
3901
  continue;
3839
3902
  _2w3Jmue4up8iVDUA51WZqomEF438.push(dntShim.Temporal.Instant.from(v["@value"]));
3840
3903
  }
3841
3904
  instance.#_2w3Jmue4up8iVDUA51WZqomEF438 = _2w3Jmue4up8iVDUA51WZqomEF438;
3905
+ _2w3Jmue4up8iVDUA51WZqomEF438__array = [];
3842
3906
  const _4LqirZspQbFWWQEbFcXAxm7tTDN1 = [];
3843
- const _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3844
- for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array ?? []) {
3907
+ let _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
3908
+ if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array == null) {
3909
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
3910
+ }
3911
+ for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
3845
3912
  if (v == null)
3846
3913
  continue;
3847
3914
  const decoded = typeof v === "object" && "@value" in v &&
@@ -3857,9 +3924,13 @@ export class Object {
3857
3924
  _4LqirZspQbFWWQEbFcXAxm7tTDN1.push(decoded);
3858
3925
  }
3859
3926
  instance.#_4LqirZspQbFWWQEbFcXAxm7tTDN1 = _4LqirZspQbFWWQEbFcXAxm7tTDN1;
3927
+ _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = [];
3860
3928
  const _5chuqj6s95p5gg2sk1HntGfarRf = [];
3861
- const _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
3862
- for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array ?? []) {
3929
+ let _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
3930
+ if (_5chuqj6s95p5gg2sk1HntGfarRf__array == null) {
3931
+ _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
3932
+ }
3933
+ for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array) {
3863
3934
  if (v == null)
3864
3935
  continue;
3865
3936
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3929,17 +4000,25 @@ export class Object {
3929
4000
  _5chuqj6s95p5gg2sk1HntGfarRf.push(decoded);
3930
4001
  }
3931
4002
  instance.#_5chuqj6s95p5gg2sk1HntGfarRf = _5chuqj6s95p5gg2sk1HntGfarRf;
4003
+ _5chuqj6s95p5gg2sk1HntGfarRf__array = [];
3932
4004
  const _385aB7ySixcf5Un6z3VsWmThgCzQ = [];
3933
- const _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
3934
- for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array ?? []) {
4005
+ let _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
4006
+ if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array == null) {
4007
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
4008
+ }
4009
+ for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
3935
4010
  if (v == null)
3936
4011
  continue;
3937
4012
  _385aB7ySixcf5Un6z3VsWmThgCzQ.push(dntShim.Temporal.Instant.from(v["@value"]));
3938
4013
  }
3939
4014
  instance.#_385aB7ySixcf5Un6z3VsWmThgCzQ = _385aB7ySixcf5Un6z3VsWmThgCzQ;
4015
+ _385aB7ySixcf5Un6z3VsWmThgCzQ__array = [];
3940
4016
  const _2oPEH9MQ3aj8JVwyYuWkqoVwV865 = [];
3941
- const _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
3942
- for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array ?? []) {
4017
+ let _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
4018
+ if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array == null) {
4019
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
4020
+ }
4021
+ for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
3943
4022
  if (v == null)
3944
4023
  continue;
3945
4024
  const decoded = typeof v === "object" && "@id" in v &&
@@ -3959,9 +4038,13 @@ export class Object {
3959
4038
  _2oPEH9MQ3aj8JVwyYuWkqoVwV865.push(decoded);
3960
4039
  }
3961
4040
  instance.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865 = _2oPEH9MQ3aj8JVwyYuWkqoVwV865;
4041
+ _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = [];
3962
4042
  const _3hFbw7DTpHhq3cvVhkY8njhcsXbd = [];
3963
- const _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
3964
- for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array ?? []) {
4043
+ let _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
4044
+ if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array == null) {
4045
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
4046
+ }
4047
+ for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
3965
4048
  if (v == null)
3966
4049
  continue;
3967
4050
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3972,9 +4055,13 @@ export class Object {
3972
4055
  _3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(await _a.fromJsonLd(v, options));
3973
4056
  }
3974
4057
  instance.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd = _3hFbw7DTpHhq3cvVhkY8njhcsXbd;
4058
+ _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = [];
3975
4059
  const _aLZupjwL8XB7tzdLgCMXdjZ6qej = [];
3976
- const _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
3977
- for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array ?? []) {
4060
+ let _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
4061
+ if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array == null) {
4062
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
4063
+ }
4064
+ for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
3978
4065
  if (v == null)
3979
4066
  continue;
3980
4067
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3985,9 +4072,13 @@ export class Object {
3985
4072
  _aLZupjwL8XB7tzdLgCMXdjZ6qej.push(await _a.fromJsonLd(v, options));
3986
4073
  }
3987
4074
  instance.#_aLZupjwL8XB7tzdLgCMXdjZ6qej = _aLZupjwL8XB7tzdLgCMXdjZ6qej;
4075
+ _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = [];
3988
4076
  const _42a1SvBs24QSLzKcfjCyNTjW5a1g = [];
3989
- const _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
3990
- for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array ?? []) {
4077
+ let _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
4078
+ if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array == null) {
4079
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4080
+ }
4081
+ for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
3991
4082
  if (v == null)
3992
4083
  continue;
3993
4084
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -3998,9 +4089,13 @@ export class Object {
3998
4089
  _42a1SvBs24QSLzKcfjCyNTjW5a1g.push(await _a.fromJsonLd(v, options));
3999
4090
  }
4000
4091
  instance.#_42a1SvBs24QSLzKcfjCyNTjW5a1g = _42a1SvBs24QSLzKcfjCyNTjW5a1g;
4092
+ _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = [];
4001
4093
  const _3qvegKUB8YLgTXRpEf8E6JZSkz2H = [];
4002
- const _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4003
- for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array ?? []) {
4094
+ let _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
4095
+ if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array == null) {
4096
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4097
+ }
4098
+ for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
4004
4099
  if (v == null)
4005
4100
  continue;
4006
4101
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4011,33 +4106,49 @@ export class Object {
4011
4106
  _3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(await _a.fromJsonLd(v, options));
4012
4107
  }
4013
4108
  instance.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H = _3qvegKUB8YLgTXRpEf8E6JZSkz2H;
4109
+ _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = [];
4014
4110
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
4015
- const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4016
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
4111
+ let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
4112
+ if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
4113
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4114
+ }
4115
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
4017
4116
  if (v == null)
4018
4117
  continue;
4019
4118
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
4020
4119
  }
4021
4120
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
4121
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
4022
4122
  const _3bNvLMBN1bCJETiTihM3wvi1B2JX = [];
4023
- const _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4024
- for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array ?? []) {
4123
+ let _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
4124
+ if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array == null) {
4125
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4126
+ }
4127
+ for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
4025
4128
  if (v == null)
4026
4129
  continue;
4027
4130
  _3bNvLMBN1bCJETiTihM3wvi1B2JX.push(dntShim.Temporal.Duration.from(v["@value"]));
4028
4131
  }
4029
4132
  instance.#_3bNvLMBN1bCJETiTihM3wvi1B2JX = _3bNvLMBN1bCJETiTihM3wvi1B2JX;
4133
+ _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = [];
4030
4134
  const _u8gdcDTtChQ4tbSQMXc4cYWyum7 = [];
4031
- const _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4032
- for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array ?? []) {
4135
+ let _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
4136
+ if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array == null) {
4137
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4138
+ }
4139
+ for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
4033
4140
  if (v == null)
4034
4141
  continue;
4035
4142
  _u8gdcDTtChQ4tbSQMXc4cYWyum7.push(v["@value"]);
4036
4143
  }
4037
4144
  instance.#_u8gdcDTtChQ4tbSQMXc4cYWyum7 = _u8gdcDTtChQ4tbSQMXc4cYWyum7;
4145
+ _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = [];
4038
4146
  const _42rPnotok1ivQ2RNCKNbeFJgx8b8 = [];
4039
- const _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4040
- for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array ?? []) {
4147
+ let _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
4148
+ if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array == null) {
4149
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4150
+ }
4151
+ for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
4041
4152
  if (v == null)
4042
4153
  continue;
4043
4154
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -4048,6 +4159,7 @@ export class Object {
4048
4159
  _42rPnotok1ivQ2RNCKNbeFJgx8b8.push(await DataIntegrityProof.fromJsonLd(v, options));
4049
4160
  }
4050
4161
  instance.#_42rPnotok1ivQ2RNCKNbeFJgx8b8 = _42rPnotok1ivQ2RNCKNbeFJgx8b8;
4162
+ _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = [];
4051
4163
  return instance;
4052
4164
  }
4053
4165
  _getCustomInspectProxy() {
@@ -4765,8 +4877,11 @@ export class PropertyValue {
4765
4877
  }
4766
4878
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
4767
4879
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
4768
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
4769
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
4880
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
4881
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
4882
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
4883
+ }
4884
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
4770
4885
  if (v == null)
4771
4886
  continue;
4772
4887
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4782,9 +4897,13 @@ export class PropertyValue {
4782
4897
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
4783
4898
  }
4784
4899
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
4900
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
4785
4901
  const _2cSy2magg4iZ7zLaG8U7DiJMoCkx = [];
4786
- const _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
4787
- for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array ?? []) {
4902
+ let _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
4903
+ if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array == null) {
4904
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
4905
+ }
4906
+ for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
4788
4907
  if (v == null)
4789
4908
  continue;
4790
4909
  const decoded = typeof v === "object" && "@value" in v &&
@@ -4800,6 +4919,7 @@ export class PropertyValue {
4800
4919
  _2cSy2magg4iZ7zLaG8U7DiJMoCkx.push(decoded);
4801
4920
  }
4802
4921
  instance.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx = _2cSy2magg4iZ7zLaG8U7DiJMoCkx;
4922
+ _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = [];
4803
4923
  return instance;
4804
4924
  }
4805
4925
  _getCustomInspectProxy() {
@@ -5210,16 +5330,23 @@ export class DataIntegrityProof {
5210
5330
  }
5211
5331
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5212
5332
  const _3RurJsa7tnptyqMFR5hDGcP9pMs5 = [];
5213
- const _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5214
- for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array ?? []) {
5333
+ let _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
5334
+ if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array == null) {
5335
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5336
+ }
5337
+ for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
5215
5338
  if (v == null)
5216
5339
  continue;
5217
5340
  _3RurJsa7tnptyqMFR5hDGcP9pMs5.push(v["@value"]);
5218
5341
  }
5219
5342
  instance.#_3RurJsa7tnptyqMFR5hDGcP9pMs5 = _3RurJsa7tnptyqMFR5hDGcP9pMs5;
5343
+ _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = [];
5220
5344
  const _2mHVKxqA7zncjveJrDEo3pWpMZqg = [];
5221
- const _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5222
- for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array ?? []) {
5345
+ let _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
5346
+ if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array == null) {
5347
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5348
+ }
5349
+ for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
5223
5350
  if (v == null)
5224
5351
  continue;
5225
5352
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5230,30 +5357,43 @@ export class DataIntegrityProof {
5230
5357
  _2mHVKxqA7zncjveJrDEo3pWpMZqg.push(await Multikey.fromJsonLd(v, options));
5231
5358
  }
5232
5359
  instance.#_2mHVKxqA7zncjveJrDEo3pWpMZqg = _2mHVKxqA7zncjveJrDEo3pWpMZqg;
5360
+ _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = [];
5233
5361
  const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = [];
5234
- const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5235
- for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array ?? []) {
5362
+ let _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
5363
+ if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array == null) {
5364
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5365
+ }
5366
+ for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
5236
5367
  if (v == null)
5237
5368
  continue;
5238
5369
  _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb.push(v["@id"].substring(26));
5239
5370
  }
5240
5371
  instance.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb;
5372
+ _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = [];
5241
5373
  const _3CjFK5vfKpX4HQuNh2b18TykoVLq = [];
5242
- const _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5243
- for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array ?? []) {
5374
+ let _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
5375
+ if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array == null) {
5376
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5377
+ }
5378
+ for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
5244
5379
  if (v == null)
5245
5380
  continue;
5246
5381
  _3CjFK5vfKpX4HQuNh2b18TykoVLq.push(decodeMultibase(v["@value"]));
5247
5382
  }
5248
5383
  instance.#_3CjFK5vfKpX4HQuNh2b18TykoVLq = _3CjFK5vfKpX4HQuNh2b18TykoVLq;
5384
+ _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = [];
5249
5385
  const _3qzP3ukEZoUziK5FEiA1RhU4aqac = [];
5250
- const _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5251
- for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array ?? []) {
5386
+ let _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
5387
+ if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array == null) {
5388
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5389
+ }
5390
+ for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
5252
5391
  if (v == null)
5253
5392
  continue;
5254
5393
  _3qzP3ukEZoUziK5FEiA1RhU4aqac.push(dntShim.Temporal.Instant.from(v["@value"]));
5255
5394
  }
5256
5395
  instance.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = _3qzP3ukEZoUziK5FEiA1RhU4aqac;
5396
+ _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = [];
5257
5397
  return instance;
5258
5398
  }
5259
5399
  _getCustomInspectProxy() {
@@ -5610,8 +5750,11 @@ export class CryptographicKey {
5610
5750
  }
5611
5751
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5612
5752
  const _5UJq9NDh3ZHgswFwwdVxQvJxdx2 = [];
5613
- const _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5614
- for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array ?? []) {
5753
+ let _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
5754
+ if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array == null) {
5755
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5756
+ }
5757
+ for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
5615
5758
  if (v == null)
5616
5759
  continue;
5617
5760
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -5645,14 +5788,19 @@ export class CryptographicKey {
5645
5788
  _5UJq9NDh3ZHgswFwwdVxQvJxdx2.push(decoded);
5646
5789
  }
5647
5790
  instance.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2 = _5UJq9NDh3ZHgswFwwdVxQvJxdx2;
5791
+ _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = [];
5648
5792
  const _2fE2QMDdg6KFGqa4NEC3TmjApSAD = [];
5649
- const _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5650
- for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array ?? []) {
5793
+ let _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
5794
+ if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array == null) {
5795
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5796
+ }
5797
+ for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
5651
5798
  if (v == null)
5652
5799
  continue;
5653
5800
  _2fE2QMDdg6KFGqa4NEC3TmjApSAD.push(await importSpki(v["@value"]));
5654
5801
  }
5655
5802
  instance.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD = _2fE2QMDdg6KFGqa4NEC3TmjApSAD;
5803
+ _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = [];
5656
5804
  return instance;
5657
5805
  }
5658
5806
  _getCustomInspectProxy() {
@@ -5987,8 +6135,11 @@ export class Multikey {
5987
6135
  }
5988
6136
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
5989
6137
  const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN = [];
5990
- const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
5991
- for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array ?? []) {
6138
+ let _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
6139
+ if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array == null) {
6140
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6141
+ }
6142
+ for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
5992
6143
  if (v == null)
5993
6144
  continue;
5994
6145
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -6022,14 +6173,19 @@ export class Multikey {
6022
6173
  _2yr3eUBTP6cNcyaxKzAXWjFsnGzN.push(decoded);
6023
6174
  }
6024
6175
  instance.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN = _2yr3eUBTP6cNcyaxKzAXWjFsnGzN;
6176
+ _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = [];
6025
6177
  const _4XLHbsR2gLVWU3NpEqKt9wANzn4F = [];
6026
- const _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6027
- for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array ?? []) {
6178
+ let _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
6179
+ if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array == null) {
6180
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6181
+ }
6182
+ for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
6028
6183
  if (v == null)
6029
6184
  continue;
6030
6185
  _4XLHbsR2gLVWU3NpEqKt9wANzn4F.push(await importMultibaseKey(v["@value"]));
6031
6186
  }
6032
6187
  instance.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F = _4XLHbsR2gLVWU3NpEqKt9wANzn4F;
6188
+ _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = [];
6033
6189
  return instance;
6034
6190
  }
6035
6191
  _getCustomInspectProxy() {
@@ -7196,8 +7352,11 @@ export class Activity extends Object {
7196
7352
  throw new TypeError("Unexpected type: " + instance.constructor.name);
7197
7353
  }
7198
7354
  const _2DjTTboo3CNHU2a2JQqUSE2dbv9D = [];
7199
- const _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7200
- for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array ?? []) {
7355
+ let _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
7356
+ if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array == null) {
7357
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7358
+ }
7359
+ for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
7201
7360
  if (v == null)
7202
7361
  continue;
7203
7362
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7231,9 +7390,13 @@ export class Activity extends Object {
7231
7390
  _2DjTTboo3CNHU2a2JQqUSE2dbv9D.push(decoded);
7232
7391
  }
7233
7392
  instance.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D = _2DjTTboo3CNHU2a2JQqUSE2dbv9D;
7393
+ _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = [];
7234
7394
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
7235
- const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7236
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
7395
+ let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
7396
+ if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
7397
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7398
+ }
7399
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
7237
7400
  if (v == null)
7238
7401
  continue;
7239
7402
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7244,9 +7407,13 @@ export class Activity extends Object {
7244
7407
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
7245
7408
  }
7246
7409
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
7410
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
7247
7411
  const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = [];
7248
- const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7249
- for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array ?? []) {
7412
+ let _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
7413
+ if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array == null) {
7414
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7415
+ }
7416
+ for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
7250
7417
  if (v == null)
7251
7418
  continue;
7252
7419
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7257,9 +7424,13 @@ export class Activity extends Object {
7257
7424
  _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(await Object.fromJsonLd(v, options));
7258
7425
  }
7259
7426
  instance.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF;
7427
+ _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = [];
7260
7428
  const _u4QGFbRFcYmPEKGbPv1hpBR9r5G = [];
7261
- const _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7262
- for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array ?? []) {
7429
+ let _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
7430
+ if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array == null) {
7431
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7432
+ }
7433
+ for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
7263
7434
  if (v == null)
7264
7435
  continue;
7265
7436
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7270,9 +7441,13 @@ export class Activity extends Object {
7270
7441
  _u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(await Object.fromJsonLd(v, options));
7271
7442
  }
7272
7443
  instance.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G = _u4QGFbRFcYmPEKGbPv1hpBR9r5G;
7444
+ _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = [];
7273
7445
  const _25zu2s3VxVujgEKqrDycjE284XQR = [];
7274
- const _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7275
- for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array ?? []) {
7446
+ let _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
7447
+ if (_25zu2s3VxVujgEKqrDycjE284XQR__array == null) {
7448
+ _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7449
+ }
7450
+ for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array) {
7276
7451
  if (v == null)
7277
7452
  continue;
7278
7453
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7283,9 +7458,13 @@ export class Activity extends Object {
7283
7458
  _25zu2s3VxVujgEKqrDycjE284XQR.push(await Object.fromJsonLd(v, options));
7284
7459
  }
7285
7460
  instance.#_25zu2s3VxVujgEKqrDycjE284XQR = _25zu2s3VxVujgEKqrDycjE284XQR;
7461
+ _25zu2s3VxVujgEKqrDycjE284XQR__array = [];
7286
7462
  const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ = [];
7287
- const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7288
- for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array ?? []) {
7463
+ let _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
7464
+ if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array == null) {
7465
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7466
+ }
7467
+ for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
7289
7468
  if (v == null)
7290
7469
  continue;
7291
7470
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -7296,6 +7475,7 @@ export class Activity extends Object {
7296
7475
  _3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(await Object.fromJsonLd(v, options));
7297
7476
  }
7298
7477
  instance.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ = _3c5t2x7DYRo2shwTxpkd4kYSS5WQ;
7478
+ _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = [];
7299
7479
  return instance;
7300
7480
  }
7301
7481
  _getCustomInspectProxy() {
@@ -9132,8 +9312,11 @@ export class Application extends Object {
9132
9312
  throw new TypeError("Unexpected type: " + instance.constructor.name);
9133
9313
  }
9134
9314
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
9135
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9136
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
9315
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
9316
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
9317
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9318
+ }
9319
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
9137
9320
  if (v == null)
9138
9321
  continue;
9139
9322
  const decoded = typeof v === "object" && "@value" in v &&
@@ -9149,9 +9332,13 @@ export class Application extends Object {
9149
9332
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
9150
9333
  }
9151
9334
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
9335
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
9152
9336
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
9153
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9154
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
9337
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
9338
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
9339
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9340
+ }
9341
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
9155
9342
  if (v == null)
9156
9343
  continue;
9157
9344
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9162,9 +9349,13 @@ export class Application extends Object {
9162
9349
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
9163
9350
  }
9164
9351
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
9352
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
9165
9353
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
9166
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9167
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
9354
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
9355
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
9356
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9357
+ }
9358
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
9168
9359
  if (v == null)
9169
9360
  continue;
9170
9361
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9175,17 +9366,25 @@ export class Application extends Object {
9175
9366
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
9176
9367
  }
9177
9368
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
9369
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
9178
9370
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
9179
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9180
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
9371
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
9372
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
9373
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9374
+ }
9375
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
9181
9376
  if (v == null)
9182
9377
  continue;
9183
9378
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
9184
9379
  }
9185
9380
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
9381
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
9186
9382
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
9187
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9188
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
9383
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
9384
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
9385
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9386
+ }
9387
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
9189
9388
  if (v == null)
9190
9389
  continue;
9191
9390
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9196,9 +9395,13 @@ export class Application extends Object {
9196
9395
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
9197
9396
  }
9198
9397
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
9398
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
9199
9399
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
9200
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9201
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
9400
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
9401
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
9402
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9403
+ }
9404
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
9202
9405
  if (v == null)
9203
9406
  continue;
9204
9407
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9209,9 +9412,13 @@ export class Application extends Object {
9209
9412
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
9210
9413
  }
9211
9414
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
9415
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
9212
9416
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
9213
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9214
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
9417
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
9418
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
9419
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9420
+ }
9421
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
9215
9422
  if (v == null)
9216
9423
  continue;
9217
9424
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9222,9 +9429,13 @@ export class Application extends Object {
9222
9429
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
9223
9430
  }
9224
9431
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
9432
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
9225
9433
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
9226
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9227
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
9434
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
9435
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
9436
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9437
+ }
9438
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
9228
9439
  if (v == null)
9229
9440
  continue;
9230
9441
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9235,9 +9446,13 @@ export class Application extends Object {
9235
9446
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
9236
9447
  }
9237
9448
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
9449
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
9238
9450
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
9239
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9240
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
9451
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
9452
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
9453
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9454
+ }
9455
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
9241
9456
  if (v == null)
9242
9457
  continue;
9243
9458
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9248,9 +9463,13 @@ export class Application extends Object {
9248
9463
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
9249
9464
  }
9250
9465
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
9466
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
9251
9467
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
9252
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9253
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
9468
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
9469
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
9470
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9471
+ }
9472
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
9254
9473
  if (v == null)
9255
9474
  continue;
9256
9475
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9261,9 +9480,13 @@ export class Application extends Object {
9261
9480
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
9262
9481
  }
9263
9482
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
9483
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
9264
9484
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
9265
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9266
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
9485
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
9486
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
9487
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9488
+ }
9489
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
9267
9490
  if (v == null)
9268
9491
  continue;
9269
9492
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -9274,46 +9497,67 @@ export class Application extends Object {
9274
9497
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
9275
9498
  }
9276
9499
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
9500
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
9277
9501
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
9278
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9279
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
9502
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
9503
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
9504
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9505
+ }
9506
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
9280
9507
  if (v == null)
9281
9508
  continue;
9282
9509
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
9283
9510
  }
9284
9511
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
9512
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
9285
9513
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
9286
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9287
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
9514
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
9515
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
9516
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9517
+ }
9518
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
9288
9519
  if (v == null)
9289
9520
  continue;
9290
9521
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
9291
9522
  }
9292
9523
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
9524
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
9293
9525
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
9294
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9295
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
9526
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
9527
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
9528
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9529
+ }
9530
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
9296
9531
  if (v == null)
9297
9532
  continue;
9298
9533
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
9299
9534
  }
9300
9535
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
9536
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
9301
9537
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
9302
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9303
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
9538
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
9539
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
9540
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9541
+ }
9542
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
9304
9543
  if (v == null)
9305
9544
  continue;
9306
9545
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
9307
9546
  }
9308
9547
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
9548
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
9309
9549
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
9310
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9311
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
9550
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
9551
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
9552
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9553
+ }
9554
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
9312
9555
  if (v == null)
9313
9556
  continue;
9314
9557
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
9315
9558
  }
9316
9559
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
9560
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
9317
9561
  return instance;
9318
9562
  }
9319
9563
  _getCustomInspectProxy() {
@@ -10070,21 +10314,29 @@ export class Document extends Object {
10070
10314
  throw new TypeError("Unexpected type: " + instance.constructor.name);
10071
10315
  }
10072
10316
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
10073
- const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10074
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
10317
+ let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
10318
+ if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
10319
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10320
+ }
10321
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
10075
10322
  if (v == null)
10076
10323
  continue;
10077
10324
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
10078
10325
  }
10079
10326
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
10327
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
10080
10328
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
10081
- const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10082
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
10329
+ let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
10330
+ if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
10331
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10332
+ }
10333
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
10083
10334
  if (v == null)
10084
10335
  continue;
10085
10336
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
10086
10337
  }
10087
10338
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
10339
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
10088
10340
  return instance;
10089
10341
  }
10090
10342
  _getCustomInspectProxy() {
@@ -10965,16 +11217,23 @@ export class Collection extends Object {
10965
11217
  throw new TypeError("Unexpected type: " + instance.constructor.name);
10966
11218
  }
10967
11219
  const _XDbmNDuWHmrhqH712zqtecdbv1V = [];
10968
- const _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
10969
- for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array ?? []) {
11220
+ let _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
11221
+ if (_XDbmNDuWHmrhqH712zqtecdbv1V__array == null) {
11222
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
11223
+ }
11224
+ for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
10970
11225
  if (v == null)
10971
11226
  continue;
10972
11227
  _XDbmNDuWHmrhqH712zqtecdbv1V.push(v["@value"]);
10973
11228
  }
10974
11229
  instance.#_XDbmNDuWHmrhqH712zqtecdbv1V = _XDbmNDuWHmrhqH712zqtecdbv1V;
11230
+ _XDbmNDuWHmrhqH712zqtecdbv1V__array = [];
10975
11231
  const _3UyUdxnyn6cDn53QKrh4MBiearma = [];
10976
- const _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
10977
- for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array ?? []) {
11232
+ let _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
11233
+ if (_3UyUdxnyn6cDn53QKrh4MBiearma__array == null) {
11234
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
11235
+ }
11236
+ for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
10978
11237
  if (v == null)
10979
11238
  continue;
10980
11239
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -10985,9 +11244,13 @@ export class Collection extends Object {
10985
11244
  _3UyUdxnyn6cDn53QKrh4MBiearma.push(await CollectionPage.fromJsonLd(v, options));
10986
11245
  }
10987
11246
  instance.#_3UyUdxnyn6cDn53QKrh4MBiearma = _3UyUdxnyn6cDn53QKrh4MBiearma;
11247
+ _3UyUdxnyn6cDn53QKrh4MBiearma__array = [];
10988
11248
  const _J52RqweMe6hhv7RnLJMC8BExTE5 = [];
10989
- const _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
10990
- for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array ?? []) {
11249
+ let _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
11250
+ if (_J52RqweMe6hhv7RnLJMC8BExTE5__array == null) {
11251
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11252
+ }
11253
+ for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
10991
11254
  if (v == null)
10992
11255
  continue;
10993
11256
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -10998,9 +11261,13 @@ export class Collection extends Object {
10998
11261
  _J52RqweMe6hhv7RnLJMC8BExTE5.push(await CollectionPage.fromJsonLd(v, options));
10999
11262
  }
11000
11263
  instance.#_J52RqweMe6hhv7RnLJMC8BExTE5 = _J52RqweMe6hhv7RnLJMC8BExTE5;
11264
+ _J52RqweMe6hhv7RnLJMC8BExTE5__array = [];
11001
11265
  const _gyJJnyEFnuNVi1HFZKfAn3Hfn26 = [];
11002
- const _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11003
- for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array ?? []) {
11266
+ let _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
11267
+ if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array == null) {
11268
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11269
+ }
11270
+ for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
11004
11271
  if (v == null)
11005
11272
  continue;
11006
11273
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11011,9 +11278,13 @@ export class Collection extends Object {
11011
11278
  _gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(await CollectionPage.fromJsonLd(v, options));
11012
11279
  }
11013
11280
  instance.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26 = _gyJJnyEFnuNVi1HFZKfAn3Hfn26;
11281
+ _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = [];
11014
11282
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
11015
- const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11016
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
11283
+ let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
11284
+ if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
11285
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11286
+ }
11287
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
11017
11288
  if (v == null)
11018
11289
  continue;
11019
11290
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11024,6 +11295,7 @@ export class Collection extends Object {
11024
11295
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
11025
11296
  }
11026
11297
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
11298
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
11027
11299
  return instance;
11028
11300
  }
11029
11301
  _getCustomInspectProxy() {
@@ -11456,8 +11728,11 @@ export class CollectionPage extends Collection {
11456
11728
  throw new TypeError("Unexpected type: " + instance.constructor.name);
11457
11729
  }
11458
11730
  const _2kWgBhQKjEauxx8C6qF3ZQamK4Le = [];
11459
- const _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
11460
- for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array ?? []) {
11731
+ let _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
11732
+ if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array == null) {
11733
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
11734
+ }
11735
+ for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
11461
11736
  if (v == null)
11462
11737
  continue;
11463
11738
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11468,9 +11743,13 @@ export class CollectionPage extends Collection {
11468
11743
  _2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(await Collection.fromJsonLd(v, options));
11469
11744
  }
11470
11745
  instance.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le = _2kWgBhQKjEauxx8C6qF3ZQamK4Le;
11746
+ _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = [];
11471
11747
  const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY = [];
11472
- const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
11473
- for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array ?? []) {
11748
+ let _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
11749
+ if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array == null) {
11750
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
11751
+ }
11752
+ for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
11474
11753
  if (v == null)
11475
11754
  continue;
11476
11755
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11481,9 +11760,13 @@ export class CollectionPage extends Collection {
11481
11760
  _3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(await _b.fromJsonLd(v, options));
11482
11761
  }
11483
11762
  instance.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY = _3BT4kQLcXhHx7TAWaNDKh8nFn9eY;
11763
+ _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = [];
11484
11764
  const _3b8yG8tDNzQFFEnWhCc13G8eHooA = [];
11485
- const _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
11486
- for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array ?? []) {
11765
+ let _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
11766
+ if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array == null) {
11767
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
11768
+ }
11769
+ for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
11487
11770
  if (v == null)
11488
11771
  continue;
11489
11772
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -11494,6 +11777,7 @@ export class CollectionPage extends Collection {
11494
11777
  _3b8yG8tDNzQFFEnWhCc13G8eHooA.push(await _b.fromJsonLd(v, options));
11495
11778
  }
11496
11779
  instance.#_3b8yG8tDNzQFFEnWhCc13G8eHooA = _3b8yG8tDNzQFFEnWhCc13G8eHooA;
11780
+ _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = [];
11497
11781
  return instance;
11498
11782
  }
11499
11783
  _getCustomInspectProxy() {
@@ -12234,53 +12518,77 @@ export class Endpoints {
12234
12518
  }
12235
12519
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
12236
12520
  const _2JCYDbSxEHCCLdBYed33cCETfGyR = [];
12237
- const _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12238
- for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array ?? []) {
12521
+ let _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
12522
+ if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array == null) {
12523
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12524
+ }
12525
+ for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
12239
12526
  if (v == null)
12240
12527
  continue;
12241
12528
  _2JCYDbSxEHCCLdBYed33cCETfGyR.push(new URL(v["@id"]));
12242
12529
  }
12243
12530
  instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR = _2JCYDbSxEHCCLdBYed33cCETfGyR;
12531
+ _2JCYDbSxEHCCLdBYed33cCETfGyR__array = [];
12244
12532
  const _25S6UmgzDead8hxL5sQFezZTAusd = [];
12245
- const _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12246
- for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array ?? []) {
12533
+ let _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
12534
+ if (_25S6UmgzDead8hxL5sQFezZTAusd__array == null) {
12535
+ _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12536
+ }
12537
+ for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array) {
12247
12538
  if (v == null)
12248
12539
  continue;
12249
12540
  _25S6UmgzDead8hxL5sQFezZTAusd.push(new URL(v["@id"]));
12250
12541
  }
12251
12542
  instance.#_25S6UmgzDead8hxL5sQFezZTAusd = _25S6UmgzDead8hxL5sQFezZTAusd;
12543
+ _25S6UmgzDead8hxL5sQFezZTAusd__array = [];
12252
12544
  const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = [];
12253
- const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12254
- for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array ?? []) {
12545
+ let _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
12546
+ if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array == null) {
12547
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12548
+ }
12549
+ for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
12255
12550
  if (v == null)
12256
12551
  continue;
12257
12552
  _iAMxqrSba7yBCRB1FZ5kEVdKEZ3.push(new URL(v["@id"]));
12258
12553
  }
12259
12554
  instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3;
12555
+ _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = [];
12260
12556
  const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr = [];
12261
- const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12262
- for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array ?? []) {
12557
+ let _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
12558
+ if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array == null) {
12559
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12560
+ }
12561
+ for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
12263
12562
  if (v == null)
12264
12563
  continue;
12265
12564
  _8Bx9qN8oU7Bpt2xi6khaxWp1gMr.push(new URL(v["@id"]));
12266
12565
  }
12267
12566
  instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr;
12567
+ _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = [];
12268
12568
  const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS = [];
12269
- const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12270
- for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array ?? []) {
12569
+ let _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
12570
+ if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array == null) {
12571
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12572
+ }
12573
+ for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
12271
12574
  if (v == null)
12272
12575
  continue;
12273
12576
  _3dU7PMVQZJpsCpo2F4RQXxBXdPmS.push(new URL(v["@id"]));
12274
12577
  }
12275
12578
  instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS;
12579
+ _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = [];
12276
12580
  const _3JprUSDLVqqX4dwHRi37qGZZCRCc = [];
12277
- const _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12278
- for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array ?? []) {
12581
+ let _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
12582
+ if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array == null) {
12583
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12584
+ }
12585
+ for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
12279
12586
  if (v == null)
12280
12587
  continue;
12281
12588
  _3JprUSDLVqqX4dwHRi37qGZZCRCc.push(new URL(v["@id"]));
12282
12589
  }
12283
12590
  instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc = _3JprUSDLVqqX4dwHRi37qGZZCRCc;
12591
+ _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = [];
12284
12592
  return instance;
12285
12593
  }
12286
12594
  _getCustomInspectProxy() {
@@ -14085,8 +14393,11 @@ export class Group extends Object {
14085
14393
  throw new TypeError("Unexpected type: " + instance.constructor.name);
14086
14394
  }
14087
14395
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
14088
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14089
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
14396
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
14397
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
14398
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14399
+ }
14400
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
14090
14401
  if (v == null)
14091
14402
  continue;
14092
14403
  const decoded = typeof v === "object" && "@value" in v &&
@@ -14102,9 +14413,13 @@ export class Group extends Object {
14102
14413
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
14103
14414
  }
14104
14415
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
14416
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
14105
14417
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
14106
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14107
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
14418
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
14419
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
14420
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14421
+ }
14422
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
14108
14423
  if (v == null)
14109
14424
  continue;
14110
14425
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14115,9 +14430,13 @@ export class Group extends Object {
14115
14430
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
14116
14431
  }
14117
14432
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
14433
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
14118
14434
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
14119
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14120
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
14435
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
14436
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
14437
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14438
+ }
14439
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
14121
14440
  if (v == null)
14122
14441
  continue;
14123
14442
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14128,17 +14447,25 @@ export class Group extends Object {
14128
14447
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
14129
14448
  }
14130
14449
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
14450
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
14131
14451
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
14132
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14133
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
14452
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
14453
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
14454
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14455
+ }
14456
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
14134
14457
  if (v == null)
14135
14458
  continue;
14136
14459
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
14137
14460
  }
14138
14461
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
14462
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
14139
14463
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
14140
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14141
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
14464
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
14465
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
14466
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14467
+ }
14468
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
14142
14469
  if (v == null)
14143
14470
  continue;
14144
14471
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14149,9 +14476,13 @@ export class Group extends Object {
14149
14476
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
14150
14477
  }
14151
14478
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
14479
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
14152
14480
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
14153
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14154
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
14481
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
14482
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
14483
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14484
+ }
14485
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
14155
14486
  if (v == null)
14156
14487
  continue;
14157
14488
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14162,9 +14493,13 @@ export class Group extends Object {
14162
14493
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
14163
14494
  }
14164
14495
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
14496
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
14165
14497
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
14166
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14167
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
14498
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
14499
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
14500
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14501
+ }
14502
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
14168
14503
  if (v == null)
14169
14504
  continue;
14170
14505
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14175,9 +14510,13 @@ export class Group extends Object {
14175
14510
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
14176
14511
  }
14177
14512
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
14513
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
14178
14514
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
14179
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14180
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
14515
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
14516
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
14517
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14518
+ }
14519
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
14181
14520
  if (v == null)
14182
14521
  continue;
14183
14522
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14188,9 +14527,13 @@ export class Group extends Object {
14188
14527
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
14189
14528
  }
14190
14529
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
14530
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
14191
14531
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
14192
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14193
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
14532
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
14533
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
14534
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14535
+ }
14536
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
14194
14537
  if (v == null)
14195
14538
  continue;
14196
14539
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14201,9 +14544,13 @@ export class Group extends Object {
14201
14544
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
14202
14545
  }
14203
14546
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
14547
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
14204
14548
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
14205
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14206
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
14549
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
14550
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
14551
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
14552
+ }
14553
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
14207
14554
  if (v == null)
14208
14555
  continue;
14209
14556
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14214,9 +14561,13 @@ export class Group extends Object {
14214
14561
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
14215
14562
  }
14216
14563
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
14564
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
14217
14565
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
14218
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
14219
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
14566
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
14567
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
14568
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
14569
+ }
14570
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
14220
14571
  if (v == null)
14221
14572
  continue;
14222
14573
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -14227,46 +14578,67 @@ export class Group extends Object {
14227
14578
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
14228
14579
  }
14229
14580
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
14581
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
14230
14582
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
14231
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
14232
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
14583
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
14584
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
14585
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
14586
+ }
14587
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
14233
14588
  if (v == null)
14234
14589
  continue;
14235
14590
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
14236
14591
  }
14237
14592
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
14593
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
14238
14594
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
14239
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
14240
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
14595
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
14596
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
14597
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
14598
+ }
14599
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
14241
14600
  if (v == null)
14242
14601
  continue;
14243
14602
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
14244
14603
  }
14245
14604
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
14605
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
14246
14606
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
14247
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
14248
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
14607
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
14608
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
14609
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
14610
+ }
14611
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
14249
14612
  if (v == null)
14250
14613
  continue;
14251
14614
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
14252
14615
  }
14253
14616
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
14617
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
14254
14618
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
14255
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
14256
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
14619
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
14620
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
14621
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
14622
+ }
14623
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
14257
14624
  if (v == null)
14258
14625
  continue;
14259
14626
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
14260
14627
  }
14261
14628
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
14629
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
14262
14630
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
14263
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
14264
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
14631
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
14632
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
14633
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
14634
+ }
14635
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
14265
14636
  if (v == null)
14266
14637
  continue;
14267
14638
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
14268
14639
  }
14269
14640
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
14641
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
14270
14642
  return instance;
14271
14643
  }
14272
14644
  _getCustomInspectProxy() {
@@ -15054,32 +15426,47 @@ export class Link {
15054
15426
  }
15055
15427
  const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
15056
15428
  const _pVjLsybKQdmkjuU7MHjiVmNnuj7 = [];
15057
- const _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15058
- for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array ?? []) {
15429
+ let _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
15430
+ if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array == null) {
15431
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15432
+ }
15433
+ for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
15059
15434
  if (v == null)
15060
15435
  continue;
15061
15436
  _pVjLsybKQdmkjuU7MHjiVmNnuj7.push(new URL(v["@id"]));
15062
15437
  }
15063
15438
  instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7 = _pVjLsybKQdmkjuU7MHjiVmNnuj7;
15439
+ _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = [];
15064
15440
  const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ = [];
15065
- const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15066
- for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array ?? []) {
15441
+ let _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
15442
+ if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array == null) {
15443
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15444
+ }
15445
+ for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
15067
15446
  if (v == null)
15068
15447
  continue;
15069
15448
  _2a1c5GkfkQsnyyLybF8UXBQfFuHZ.push(v["@value"]);
15070
15449
  }
15071
15450
  instance.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ = _2a1c5GkfkQsnyyLybF8UXBQfFuHZ;
15451
+ _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = [];
15072
15452
  const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
15073
- const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15074
- for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array ?? []) {
15453
+ let _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
15454
+ if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array == null) {
15455
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15456
+ }
15457
+ for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
15075
15458
  if (v == null)
15076
15459
  continue;
15077
15460
  _3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
15078
15461
  }
15079
15462
  instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
15463
+ _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = [];
15080
15464
  const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
15081
- const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15082
- for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array ?? []) {
15465
+ let _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
15466
+ if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array == null) {
15467
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15468
+ }
15469
+ for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
15083
15470
  if (v == null)
15084
15471
  continue;
15085
15472
  const decoded = typeof v === "object" && "@value" in v &&
@@ -15095,33 +15482,49 @@ export class Link {
15095
15482
  _4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
15096
15483
  }
15097
15484
  instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
15485
+ _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = [];
15098
15486
  const _f57HKWCp1YRBbTJE8PF12RbDJGf = [];
15099
- const _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15100
- for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array ?? []) {
15487
+ let _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
15488
+ if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array == null) {
15489
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15490
+ }
15491
+ for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
15101
15492
  if (v == null)
15102
15493
  continue;
15103
15494
  _f57HKWCp1YRBbTJE8PF12RbDJGf.push(parseLanguageTag(v["@value"]));
15104
15495
  }
15105
15496
  instance.#_f57HKWCp1YRBbTJE8PF12RbDJGf = _f57HKWCp1YRBbTJE8PF12RbDJGf;
15497
+ _f57HKWCp1YRBbTJE8PF12RbDJGf__array = [];
15106
15498
  const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
15107
- const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15108
- for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array ?? []) {
15499
+ let _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
15500
+ if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array == null) {
15501
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
15502
+ }
15503
+ for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
15109
15504
  if (v == null)
15110
15505
  continue;
15111
15506
  _2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
15112
15507
  }
15113
15508
  instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
15509
+ _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = [];
15114
15510
  const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
15115
- const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
15116
- for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array ?? []) {
15511
+ let _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
15512
+ if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array == null) {
15513
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
15514
+ }
15515
+ for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
15117
15516
  if (v == null)
15118
15517
  continue;
15119
15518
  _2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
15120
15519
  }
15121
15520
  instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
15521
+ _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = [];
15122
15522
  const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
15123
- const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
15124
- for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array ?? []) {
15523
+ let _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
15524
+ if (_gCVTegXxWWCw6wWRxa1QF65zusg__array == null) {
15525
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
15526
+ }
15527
+ for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
15125
15528
  if (v == null)
15126
15529
  continue;
15127
15530
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -15191,6 +15594,7 @@ export class Link {
15191
15594
  _gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
15192
15595
  }
15193
15596
  instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
15597
+ _gCVTegXxWWCw6wWRxa1QF65zusg__array = [];
15194
15598
  return instance;
15195
15599
  }
15196
15600
  _getCustomInspectProxy() {
@@ -16158,8 +16562,16 @@ export class OrderedCollection extends Collection {
16158
16562
  throw new TypeError("Unexpected type: " + instance.constructor.name);
16159
16563
  }
16160
16564
  const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
16161
- const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
16162
- for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array ?? []) {
16565
+ let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
16566
+ if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
16567
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
16568
+ }
16569
+ else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
16570
+ "@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
16571
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
16572
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
16573
+ }
16574
+ for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
16163
16575
  if (v == null)
16164
16576
  continue;
16165
16577
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -16170,6 +16582,7 @@ export class OrderedCollection extends Collection {
16170
16582
  _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
16171
16583
  }
16172
16584
  instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
16585
+ _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
16173
16586
  return instance;
16174
16587
  }
16175
16588
  _getCustomInspectProxy() {
@@ -16337,13 +16750,17 @@ export class OrderedCollectionPage extends CollectionPage {
16337
16750
  throw new TypeError("Unexpected type: " + instance.constructor.name);
16338
16751
  }
16339
16752
  const _2W4yinFwqmpneu2h4m1mZ3pcLADd = [];
16340
- const _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
16341
- for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array ?? []) {
16753
+ let _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
16754
+ if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array == null) {
16755
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
16756
+ }
16757
+ for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
16342
16758
  if (v == null)
16343
16759
  continue;
16344
16760
  _2W4yinFwqmpneu2h4m1mZ3pcLADd.push(v["@value"]);
16345
16761
  }
16346
16762
  instance.#_2W4yinFwqmpneu2h4m1mZ3pcLADd = _2W4yinFwqmpneu2h4m1mZ3pcLADd;
16763
+ _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = [];
16347
16764
  return instance;
16348
16765
  }
16349
16766
  _getCustomInspectProxy() {
@@ -17752,8 +18169,11 @@ export class Organization extends Object {
17752
18169
  throw new TypeError("Unexpected type: " + instance.constructor.name);
17753
18170
  }
17754
18171
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
17755
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
17756
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
18172
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
18173
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
18174
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
18175
+ }
18176
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
17757
18177
  if (v == null)
17758
18178
  continue;
17759
18179
  const decoded = typeof v === "object" && "@value" in v &&
@@ -17769,9 +18189,13 @@ export class Organization extends Object {
17769
18189
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
17770
18190
  }
17771
18191
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
18192
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
17772
18193
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
17773
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
17774
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
18194
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
18195
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
18196
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
18197
+ }
18198
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
17775
18199
  if (v == null)
17776
18200
  continue;
17777
18201
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17782,9 +18206,13 @@ export class Organization extends Object {
17782
18206
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
17783
18207
  }
17784
18208
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
18209
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
17785
18210
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
17786
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
17787
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
18211
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
18212
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
18213
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
18214
+ }
18215
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
17788
18216
  if (v == null)
17789
18217
  continue;
17790
18218
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17795,17 +18223,25 @@ export class Organization extends Object {
17795
18223
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
17796
18224
  }
17797
18225
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
18226
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
17798
18227
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
17799
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
17800
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
18228
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
18229
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
18230
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
18231
+ }
18232
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
17801
18233
  if (v == null)
17802
18234
  continue;
17803
18235
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
17804
18236
  }
17805
18237
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
18238
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
17806
18239
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
17807
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
17808
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
18240
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
18241
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
18242
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
18243
+ }
18244
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
17809
18245
  if (v == null)
17810
18246
  continue;
17811
18247
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17816,9 +18252,13 @@ export class Organization extends Object {
17816
18252
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
17817
18253
  }
17818
18254
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
18255
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
17819
18256
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
17820
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
17821
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
18257
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
18258
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
18259
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
18260
+ }
18261
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
17822
18262
  if (v == null)
17823
18263
  continue;
17824
18264
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17829,9 +18269,13 @@ export class Organization extends Object {
17829
18269
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
17830
18270
  }
17831
18271
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
18272
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
17832
18273
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
17833
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
17834
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
18274
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
18275
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
18276
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
18277
+ }
18278
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
17835
18279
  if (v == null)
17836
18280
  continue;
17837
18281
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17842,9 +18286,13 @@ export class Organization extends Object {
17842
18286
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
17843
18287
  }
17844
18288
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
18289
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
17845
18290
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
17846
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
17847
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
18291
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
18292
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
18293
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
18294
+ }
18295
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
17848
18296
  if (v == null)
17849
18297
  continue;
17850
18298
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17855,9 +18303,13 @@ export class Organization extends Object {
17855
18303
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
17856
18304
  }
17857
18305
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
18306
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
17858
18307
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
17859
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
17860
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
18308
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
18309
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
18310
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
18311
+ }
18312
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
17861
18313
  if (v == null)
17862
18314
  continue;
17863
18315
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17868,9 +18320,13 @@ export class Organization extends Object {
17868
18320
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
17869
18321
  }
17870
18322
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
18323
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
17871
18324
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
17872
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
17873
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
18325
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
18326
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
18327
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
18328
+ }
18329
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
17874
18330
  if (v == null)
17875
18331
  continue;
17876
18332
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17881,9 +18337,13 @@ export class Organization extends Object {
17881
18337
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
17882
18338
  }
17883
18339
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
18340
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
17884
18341
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
17885
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
17886
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
18342
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
18343
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
18344
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
18345
+ }
18346
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
17887
18347
  if (v == null)
17888
18348
  continue;
17889
18349
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -17894,46 +18354,67 @@ export class Organization extends Object {
17894
18354
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
17895
18355
  }
17896
18356
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
18357
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
17897
18358
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
17898
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
17899
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
18359
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
18360
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
18361
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
18362
+ }
18363
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
17900
18364
  if (v == null)
17901
18365
  continue;
17902
18366
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
17903
18367
  }
17904
18368
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
18369
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
17905
18370
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
17906
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
17907
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
18371
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
18372
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
18373
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
18374
+ }
18375
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
17908
18376
  if (v == null)
17909
18377
  continue;
17910
18378
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
17911
18379
  }
17912
18380
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
18381
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
17913
18382
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
17914
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
17915
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
18383
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
18384
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
18385
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
18386
+ }
18387
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
17916
18388
  if (v == null)
17917
18389
  continue;
17918
18390
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
17919
18391
  }
17920
18392
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
18393
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
17921
18394
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
17922
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
17923
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
18395
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
18396
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
18397
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
18398
+ }
18399
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
17924
18400
  if (v == null)
17925
18401
  continue;
17926
18402
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
17927
18403
  }
17928
18404
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
18405
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
17929
18406
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
17930
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
17931
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
18407
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
18408
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
18409
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
18410
+ }
18411
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
17932
18412
  if (v == null)
17933
18413
  continue;
17934
18414
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
17935
18415
  }
17936
18416
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
18417
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
17937
18418
  return instance;
17938
18419
  }
17939
18420
  _getCustomInspectProxy() {
@@ -19634,8 +20115,11 @@ export class Person extends Object {
19634
20115
  throw new TypeError("Unexpected type: " + instance.constructor.name);
19635
20116
  }
19636
20117
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
19637
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
19638
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
20118
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
20119
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
20120
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
20121
+ }
20122
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
19639
20123
  if (v == null)
19640
20124
  continue;
19641
20125
  const decoded = typeof v === "object" && "@value" in v &&
@@ -19651,9 +20135,13 @@ export class Person extends Object {
19651
20135
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
19652
20136
  }
19653
20137
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
20138
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
19654
20139
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
19655
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
19656
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
20140
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
20141
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
20142
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
20143
+ }
20144
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
19657
20145
  if (v == null)
19658
20146
  continue;
19659
20147
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19664,9 +20152,13 @@ export class Person extends Object {
19664
20152
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
19665
20153
  }
19666
20154
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
20155
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
19667
20156
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
19668
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
19669
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
20157
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
20158
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
20159
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
20160
+ }
20161
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
19670
20162
  if (v == null)
19671
20163
  continue;
19672
20164
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19677,17 +20169,25 @@ export class Person extends Object {
19677
20169
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
19678
20170
  }
19679
20171
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
20172
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
19680
20173
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
19681
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
19682
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
20174
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
20175
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
20176
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
20177
+ }
20178
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
19683
20179
  if (v == null)
19684
20180
  continue;
19685
20181
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
19686
20182
  }
19687
20183
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
20184
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
19688
20185
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
19689
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
19690
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
20186
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
20187
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
20188
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
20189
+ }
20190
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
19691
20191
  if (v == null)
19692
20192
  continue;
19693
20193
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19698,9 +20198,13 @@ export class Person extends Object {
19698
20198
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
19699
20199
  }
19700
20200
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
20201
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
19701
20202
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
19702
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
19703
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
20203
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
20204
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
20205
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
20206
+ }
20207
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
19704
20208
  if (v == null)
19705
20209
  continue;
19706
20210
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19711,9 +20215,13 @@ export class Person extends Object {
19711
20215
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
19712
20216
  }
19713
20217
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
20218
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
19714
20219
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
19715
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
19716
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
20220
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
20221
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
20222
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
20223
+ }
20224
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
19717
20225
  if (v == null)
19718
20226
  continue;
19719
20227
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19724,9 +20232,13 @@ export class Person extends Object {
19724
20232
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
19725
20233
  }
19726
20234
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
20235
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
19727
20236
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
19728
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
19729
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
20237
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
20238
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
20239
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
20240
+ }
20241
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
19730
20242
  if (v == null)
19731
20243
  continue;
19732
20244
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19737,9 +20249,13 @@ export class Person extends Object {
19737
20249
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
19738
20250
  }
19739
20251
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
20252
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
19740
20253
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
19741
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
19742
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
20254
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
20255
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
20256
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
20257
+ }
20258
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
19743
20259
  if (v == null)
19744
20260
  continue;
19745
20261
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19750,9 +20266,13 @@ export class Person extends Object {
19750
20266
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
19751
20267
  }
19752
20268
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
20269
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
19753
20270
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
19754
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
19755
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
20271
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
20272
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
20273
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
20274
+ }
20275
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
19756
20276
  if (v == null)
19757
20277
  continue;
19758
20278
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19763,9 +20283,13 @@ export class Person extends Object {
19763
20283
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
19764
20284
  }
19765
20285
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
20286
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
19766
20287
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
19767
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
19768
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
20288
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
20289
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
20290
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
20291
+ }
20292
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
19769
20293
  if (v == null)
19770
20294
  continue;
19771
20295
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -19776,46 +20300,67 @@ export class Person extends Object {
19776
20300
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
19777
20301
  }
19778
20302
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
20303
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
19779
20304
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
19780
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
19781
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
20305
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
20306
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
20307
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
20308
+ }
20309
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
19782
20310
  if (v == null)
19783
20311
  continue;
19784
20312
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
19785
20313
  }
19786
20314
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
20315
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
19787
20316
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
19788
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
19789
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
20317
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
20318
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
20319
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
20320
+ }
20321
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
19790
20322
  if (v == null)
19791
20323
  continue;
19792
20324
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
19793
20325
  }
19794
20326
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
20327
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
19795
20328
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
19796
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
19797
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
20329
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
20330
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
20331
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
20332
+ }
20333
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
19798
20334
  if (v == null)
19799
20335
  continue;
19800
20336
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
19801
20337
  }
19802
20338
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
20339
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
19803
20340
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
19804
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
19805
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
20341
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
20342
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
20343
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
20344
+ }
20345
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
19806
20346
  if (v == null)
19807
20347
  continue;
19808
20348
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
19809
20349
  }
19810
20350
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
20351
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
19811
20352
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
19812
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
19813
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
20353
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
20354
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
20355
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
20356
+ }
20357
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
19814
20358
  if (v == null)
19815
20359
  continue;
19816
20360
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
19817
20361
  }
19818
20362
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
20363
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
19819
20364
  return instance;
19820
20365
  }
19821
20366
  _getCustomInspectProxy() {
@@ -20376,48 +20921,71 @@ export class Place extends Object {
20376
20921
  throw new TypeError("Unexpected type: " + instance.constructor.name);
20377
20922
  }
20378
20923
  const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = [];
20379
- const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
20380
- for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array ?? []) {
20924
+ let _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
20925
+ if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array == null) {
20926
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
20927
+ }
20928
+ for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
20381
20929
  if (v == null)
20382
20930
  continue;
20383
20931
  _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne.push(v["@value"]);
20384
20932
  }
20385
20933
  instance.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne;
20934
+ _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = [];
20386
20935
  const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi = [];
20387
- const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
20388
- for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array ?? []) {
20936
+ let _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
20937
+ if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array == null) {
20938
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
20939
+ }
20940
+ for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
20389
20941
  if (v == null)
20390
20942
  continue;
20391
20943
  _3Q6KDcFQUJRRaBux1BL2yp5QWiBi.push(v["@value"]);
20392
20944
  }
20393
20945
  instance.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi = _3Q6KDcFQUJRRaBux1BL2yp5QWiBi;
20946
+ _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = [];
20394
20947
  const _3g85RoKRnaNjP7DFyLSvsWDg7HGM = [];
20395
- const _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
20396
- for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array ?? []) {
20948
+ let _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
20949
+ if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array == null) {
20950
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
20951
+ }
20952
+ for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
20397
20953
  if (v == null)
20398
20954
  continue;
20399
20955
  _3g85RoKRnaNjP7DFyLSvsWDg7HGM.push(v["@value"]);
20400
20956
  }
20401
20957
  instance.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM = _3g85RoKRnaNjP7DFyLSvsWDg7HGM;
20958
+ _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = [];
20402
20959
  const _B2GEYdS9yBAF3ho1pm1rcRg7cSf = [];
20403
- const _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
20404
- for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array ?? []) {
20960
+ let _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
20961
+ if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array == null) {
20962
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
20963
+ }
20964
+ for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
20405
20965
  if (v == null)
20406
20966
  continue;
20407
20967
  _B2GEYdS9yBAF3ho1pm1rcRg7cSf.push(v["@value"]);
20408
20968
  }
20409
20969
  instance.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf = _B2GEYdS9yBAF3ho1pm1rcRg7cSf;
20970
+ _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = [];
20410
20971
  const _3ga86BKHUtRkGx5PHBjRiUXXzwnw = [];
20411
- const _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
20412
- for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array ?? []) {
20972
+ let _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
20973
+ if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array == null) {
20974
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
20975
+ }
20976
+ for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
20413
20977
  if (v == null)
20414
20978
  continue;
20415
20979
  _3ga86BKHUtRkGx5PHBjRiUXXzwnw.push(v["@value"]);
20416
20980
  }
20417
20981
  instance.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw = _3ga86BKHUtRkGx5PHBjRiUXXzwnw;
20982
+ _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = [];
20418
20983
  const _oKrwxU4V8wiKhMW1QEYQibcJh8c = [];
20419
- const _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
20420
- for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array ?? []) {
20984
+ let _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
20985
+ if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array == null) {
20986
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
20987
+ }
20988
+ for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
20421
20989
  if (v == null)
20422
20990
  continue;
20423
20991
  const decoded = typeof v === "object" && "@value" in v &&
@@ -20434,6 +21002,7 @@ export class Place extends Object {
20434
21002
  _oKrwxU4V8wiKhMW1QEYQibcJh8c.push(decoded);
20435
21003
  }
20436
21004
  instance.#_oKrwxU4V8wiKhMW1QEYQibcJh8c = _oKrwxU4V8wiKhMW1QEYQibcJh8c;
21005
+ _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = [];
20437
21006
  return instance;
20438
21007
  }
20439
21008
  _getCustomInspectProxy() {
@@ -20703,8 +21272,11 @@ export class Profile extends Object {
20703
21272
  throw new TypeError("Unexpected type: " + instance.constructor.name);
20704
21273
  }
20705
21274
  const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = [];
20706
- const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
20707
- for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array ?? []) {
21275
+ let _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
21276
+ if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array == null) {
21277
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
21278
+ }
21279
+ for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
20708
21280
  if (v == null)
20709
21281
  continue;
20710
21282
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -20715,6 +21287,7 @@ export class Profile extends Object {
20715
21287
  _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(await Object.fromJsonLd(v, options));
20716
21288
  }
20717
21289
  instance.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1;
21290
+ _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = [];
20718
21291
  return instance;
20719
21292
  }
20720
21293
  _getCustomInspectProxy() {
@@ -21025,8 +21598,11 @@ export class Question extends IntransitiveActivity {
21025
21598
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21026
21599
  }
21027
21600
  const _2N5scKaVEcdYHFmfKYYacAwUhUgQ = [];
21028
- const _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
21029
- for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array ?? []) {
21601
+ let _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
21602
+ if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array == null) {
21603
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
21604
+ }
21605
+ for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
21030
21606
  if (v == null)
21031
21607
  continue;
21032
21608
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21037,9 +21613,13 @@ export class Question extends IntransitiveActivity {
21037
21613
  _2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(await Object.fromJsonLd(v, options));
21038
21614
  }
21039
21615
  instance.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ = _2N5scKaVEcdYHFmfKYYacAwUhUgQ;
21616
+ _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = [];
21040
21617
  const _2mV6isMTPRKbWdLCjcpiEysq5dAY = [];
21041
- const _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
21042
- for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array ?? []) {
21618
+ let _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
21619
+ if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array == null) {
21620
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
21621
+ }
21622
+ for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
21043
21623
  if (v == null)
21044
21624
  continue;
21045
21625
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21050,6 +21630,7 @@ export class Question extends IntransitiveActivity {
21050
21630
  _2mV6isMTPRKbWdLCjcpiEysq5dAY.push(await Object.fromJsonLd(v, options));
21051
21631
  }
21052
21632
  instance.#_2mV6isMTPRKbWdLCjcpiEysq5dAY = _2mV6isMTPRKbWdLCjcpiEysq5dAY;
21633
+ _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = [];
21053
21634
  return instance;
21054
21635
  }
21055
21636
  _getCustomInspectProxy() {
@@ -21688,8 +22269,11 @@ export class Relationship extends Object {
21688
22269
  throw new TypeError("Unexpected type: " + instance.constructor.name);
21689
22270
  }
21690
22271
  const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq = [];
21691
- const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
21692
- for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array ?? []) {
22272
+ let _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
22273
+ if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array == null) {
22274
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
22275
+ }
22276
+ for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
21693
22277
  if (v == null)
21694
22278
  continue;
21695
22279
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21700,9 +22284,13 @@ export class Relationship extends Object {
21700
22284
  _2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(await Object.fromJsonLd(v, options));
21701
22285
  }
21702
22286
  instance.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq = _2Zqdmi46ZnDQsECS6mzwhrv3rUKq;
22287
+ _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = [];
21703
22288
  const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
21704
- const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
21705
- for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array ?? []) {
22289
+ let _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
22290
+ if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array == null) {
22291
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
22292
+ }
22293
+ for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
21706
22294
  if (v == null)
21707
22295
  continue;
21708
22296
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21713,9 +22301,13 @@ export class Relationship extends Object {
21713
22301
  _2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
21714
22302
  }
21715
22303
  instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
22304
+ _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = [];
21716
22305
  const _4Lzz89F9qipAQSGkWyX9DGWiUojG = [];
21717
- const _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
21718
- for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array ?? []) {
22306
+ let _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
22307
+ if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array == null) {
22308
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
22309
+ }
22310
+ for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
21719
22311
  if (v == null)
21720
22312
  continue;
21721
22313
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -21726,6 +22318,7 @@ export class Relationship extends Object {
21726
22318
  _4Lzz89F9qipAQSGkWyX9DGWiUojG.push(await Object.fromJsonLd(v, options));
21727
22319
  }
21728
22320
  instance.#_4Lzz89F9qipAQSGkWyX9DGWiUojG = _4Lzz89F9qipAQSGkWyX9DGWiUojG;
22321
+ _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = [];
21729
22322
  return instance;
21730
22323
  }
21731
22324
  _getCustomInspectProxy() {
@@ -23277,8 +23870,11 @@ export class Service extends Object {
23277
23870
  throw new TypeError("Unexpected type: " + instance.constructor.name);
23278
23871
  }
23279
23872
  const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
23280
- const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
23281
- for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array ?? []) {
23873
+ let _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
23874
+ if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array == null) {
23875
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
23876
+ }
23877
+ for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
23282
23878
  if (v == null)
23283
23879
  continue;
23284
23880
  const decoded = typeof v === "object" && "@value" in v &&
@@ -23294,9 +23890,13 @@ export class Service extends Object {
23294
23890
  _3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
23295
23891
  }
23296
23892
  instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
23893
+ _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = [];
23297
23894
  const _axq166E2eZADq34V4MYUc8KMZdC = [];
23298
- const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
23299
- for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array ?? []) {
23895
+ let _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
23896
+ if (_axq166E2eZADq34V4MYUc8KMZdC__array == null) {
23897
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
23898
+ }
23899
+ for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
23300
23900
  if (v == null)
23301
23901
  continue;
23302
23902
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23307,9 +23907,13 @@ export class Service extends Object {
23307
23907
  _axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
23308
23908
  }
23309
23909
  instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
23910
+ _axq166E2eZADq34V4MYUc8KMZdC__array = [];
23310
23911
  const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
23311
- const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
23312
- for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array ?? []) {
23912
+ let _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
23913
+ if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array == null) {
23914
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
23915
+ }
23916
+ for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
23313
23917
  if (v == null)
23314
23918
  continue;
23315
23919
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23320,17 +23924,25 @@ export class Service extends Object {
23320
23924
  _4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
23321
23925
  }
23322
23926
  instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
23927
+ _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = [];
23323
23928
  const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
23324
- const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
23325
- for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array ?? []) {
23929
+ let _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
23930
+ if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array == null) {
23931
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
23932
+ }
23933
+ for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
23326
23934
  if (v == null)
23327
23935
  continue;
23328
23936
  _36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
23329
23937
  }
23330
23938
  instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
23939
+ _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = [];
23331
23940
  const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
23332
- const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
23333
- for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array ?? []) {
23941
+ let _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
23942
+ if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array == null) {
23943
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
23944
+ }
23945
+ for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
23334
23946
  if (v == null)
23335
23947
  continue;
23336
23948
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23341,9 +23953,13 @@ export class Service extends Object {
23341
23953
  _3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
23342
23954
  }
23343
23955
  instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
23956
+ _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = [];
23344
23957
  const _41QwhqJouoLg3h8dRPKat21brynC = [];
23345
- const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
23346
- for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array ?? []) {
23958
+ let _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
23959
+ if (_41QwhqJouoLg3h8dRPKat21brynC__array == null) {
23960
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
23961
+ }
23962
+ for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
23347
23963
  if (v == null)
23348
23964
  continue;
23349
23965
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23354,9 +23970,13 @@ export class Service extends Object {
23354
23970
  _41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
23355
23971
  }
23356
23972
  instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
23973
+ _41QwhqJouoLg3h8dRPKat21brynC__array = [];
23357
23974
  const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
23358
- const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
23359
- for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array ?? []) {
23975
+ let _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
23976
+ if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array == null) {
23977
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
23978
+ }
23979
+ for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
23360
23980
  if (v == null)
23361
23981
  continue;
23362
23982
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23367,9 +23987,13 @@ export class Service extends Object {
23367
23987
  _3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
23368
23988
  }
23369
23989
  instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
23990
+ _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = [];
23370
23991
  const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
23371
- const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
23372
- for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array ?? []) {
23992
+ let _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
23993
+ if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array == null) {
23994
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
23995
+ }
23996
+ for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
23373
23997
  if (v == null)
23374
23998
  continue;
23375
23999
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23380,9 +24004,13 @@ export class Service extends Object {
23380
24004
  _BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
23381
24005
  }
23382
24006
  instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
24007
+ _BBCTgfphhsFzpVfKTykGSpBNwoA__array = [];
23383
24008
  const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
23384
- const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
23385
- for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array ?? []) {
24009
+ let _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
24010
+ if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array == null) {
24011
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
24012
+ }
24013
+ for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
23386
24014
  if (v == null)
23387
24015
  continue;
23388
24016
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23393,9 +24021,13 @@ export class Service extends Object {
23393
24021
  _3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
23394
24022
  }
23395
24023
  instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
24024
+ _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = [];
23396
24025
  const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
23397
- const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
23398
- for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array ?? []) {
24026
+ let _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
24027
+ if (_4N1vBJzXDf8NbBumeECQMFvKetja__array == null) {
24028
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
24029
+ }
24030
+ for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
23399
24031
  if (v == null)
23400
24032
  continue;
23401
24033
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23406,9 +24038,13 @@ export class Service extends Object {
23406
24038
  _4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
23407
24039
  }
23408
24040
  instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
24041
+ _4N1vBJzXDf8NbBumeECQMFvKetja__array = [];
23409
24042
  const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
23410
- const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
23411
- for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array ?? []) {
24043
+ let _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
24044
+ if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array == null) {
24045
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
24046
+ }
24047
+ for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
23412
24048
  if (v == null)
23413
24049
  continue;
23414
24050
  if (typeof v === "object" && "@id" in v && !("@type" in v) &&
@@ -23419,46 +24055,67 @@ export class Service extends Object {
23419
24055
  _3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
23420
24056
  }
23421
24057
  instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
24058
+ _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = [];
23422
24059
  const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
23423
- const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
23424
- for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array ?? []) {
24060
+ let _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
24061
+ if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array == null) {
24062
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
24063
+ }
24064
+ for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
23425
24065
  if (v == null)
23426
24066
  continue;
23427
24067
  _sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
23428
24068
  }
23429
24069
  instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
24070
+ _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = [];
23430
24071
  const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
23431
- const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
23432
- for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array ?? []) {
24072
+ let _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
24073
+ if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array == null) {
24074
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
24075
+ }
24076
+ for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
23433
24077
  if (v == null)
23434
24078
  continue;
23435
24079
  _gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
23436
24080
  }
23437
24081
  instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
24082
+ _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = [];
23438
24083
  const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
23439
- const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
23440
- for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array ?? []) {
24084
+ let _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
24085
+ if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array == null) {
24086
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
24087
+ }
24088
+ for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
23441
24089
  if (v == null)
23442
24090
  continue;
23443
24091
  _2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
23444
24092
  }
23445
24093
  instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
24094
+ _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = [];
23446
24095
  const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
23447
- const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
23448
- for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array ?? []) {
24096
+ let _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
24097
+ if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array == null) {
24098
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
24099
+ }
24100
+ for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
23449
24101
  if (v == null)
23450
24102
  continue;
23451
24103
  _79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
23452
24104
  }
23453
24105
  instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
24106
+ _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = [];
23454
24107
  const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
23455
- const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
23456
- for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array ?? []) {
24108
+ let _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
24109
+ if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array == null) {
24110
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
24111
+ }
24112
+ for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
23457
24113
  if (v == null)
23458
24114
  continue;
23459
24115
  _2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
23460
24116
  }
23461
24117
  instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
24118
+ _2diCorzqPGQQqftp6e4SrCEwEnyk__array = [];
23462
24119
  return instance;
23463
24120
  }
23464
24121
  _getCustomInspectProxy() {
@@ -23806,13 +24463,17 @@ export class Tombstone extends Object {
23806
24463
  throw new TypeError("Unexpected type: " + instance.constructor.name);
23807
24464
  }
23808
24465
  const _8g8g4LiVMhFTXskuDEqx4ascxUr = [];
23809
- const _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
23810
- for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array ?? []) {
24466
+ let _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
24467
+ if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array == null) {
24468
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
24469
+ }
24470
+ for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
23811
24471
  if (v == null)
23812
24472
  continue;
23813
24473
  _8g8g4LiVMhFTXskuDEqx4ascxUr.push(dntShim.Temporal.Instant.from(v["@value"]));
23814
24474
  }
23815
24475
  instance.#_8g8g4LiVMhFTXskuDEqx4ascxUr = _8g8g4LiVMhFTXskuDEqx4ascxUr;
24476
+ _8g8g4LiVMhFTXskuDEqx4ascxUr__array = [];
23816
24477
  return instance;
23817
24478
  }
23818
24479
  _getCustomInspectProxy() {