@fedify/fedify 0.11.0-dev.252 → 0.11.0-dev.254
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/vocab/vocab.js +1954 -1620
- package/package.json +1 -1
- package/types/vocab/vocab.d.ts.map +1 -1
package/esm/vocab/vocab.js
CHANGED
@@ -3257,506 +3257,449 @@ export class Object {
|
|
3257
3257
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
3258
3258
|
const _49BipA5dq9eoH8LX8xdsVumveTca = [];
|
3259
3259
|
const _49BipA5dq9eoH8LX8xdsVumveTca__array = values["https://www.w3.org/ns/activitystreams#attachment"];
|
3260
|
-
|
3261
|
-
|
3262
|
-
|
3263
|
-
|
3264
|
-
|
3265
|
-
|
3266
|
-
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
[
|
3271
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3272
|
-
"http://joinmastodon.org/ns#Emoji",
|
3273
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3274
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3275
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3276
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3277
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3278
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3279
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3280
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3281
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3282
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3283
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3284
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3285
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3286
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3287
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3288
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3289
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3290
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3291
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3292
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3293
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3294
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3295
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3296
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3297
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3298
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3299
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3300
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3301
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3302
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3303
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3304
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3305
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3306
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3307
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3308
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3309
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3310
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3311
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3312
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3313
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3314
|
-
].some((t) => v["@type"].includes(t))
|
3315
|
-
? await _a.fromJsonLd(v, options)
|
3316
|
-
: typeof v === "object" && "@type" in v &&
|
3260
|
+
if (_49BipA5dq9eoH8LX8xdsVumveTca__array != null) {
|
3261
|
+
for (const v of _49BipA5dq9eoH8LX8xdsVumveTca__array) {
|
3262
|
+
if (v == null)
|
3263
|
+
continue;
|
3264
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3265
|
+
globalThis.Object.keys(v).length === 1) {
|
3266
|
+
_49BipA5dq9eoH8LX8xdsVumveTca.push(new URL(v["@id"]));
|
3267
|
+
continue;
|
3268
|
+
}
|
3269
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3317
3270
|
Array.isArray(v["@type"]) &&
|
3318
3271
|
[
|
3319
|
-
"https://www.w3.org/ns/activitystreams#
|
3320
|
-
"
|
3321
|
-
"https://www.w3.org/ns/activitystreams#
|
3272
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3273
|
+
"http://joinmastodon.org/ns#Emoji",
|
3274
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3275
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3276
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3277
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3278
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3279
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3280
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3281
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3282
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3283
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3284
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3285
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3286
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3287
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3288
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3289
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3290
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3291
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3292
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3293
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3294
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3295
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3296
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3297
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3298
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3299
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3300
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3301
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3302
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3303
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3304
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3305
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3306
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3307
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3308
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3309
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3310
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3311
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3312
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3313
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3314
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3322
3315
|
].some((t) => v["@type"].includes(t))
|
3323
|
-
? await
|
3316
|
+
? await _a.fromJsonLd(v, options)
|
3324
3317
|
: typeof v === "object" && "@type" in v &&
|
3325
3318
|
Array.isArray(v["@type"]) &&
|
3326
|
-
|
3327
|
-
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3319
|
+
[
|
3320
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3321
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3322
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3323
|
+
].some((t) => v["@type"].includes(t))
|
3324
|
+
? await Link.fromJsonLd(v, options)
|
3325
|
+
: typeof v === "object" && "@type" in v &&
|
3326
|
+
Array.isArray(v["@type"]) &&
|
3327
|
+
v["@type"].includes("http://schema.org#PropertyValue")
|
3328
|
+
? await PropertyValue.fromJsonLd(v, options)
|
3329
|
+
: undefined;
|
3330
|
+
if (typeof decoded === "undefined")
|
3331
|
+
continue;
|
3332
|
+
_49BipA5dq9eoH8LX8xdsVumveTca.push(decoded);
|
3333
|
+
}
|
3332
3334
|
}
|
3333
3335
|
instance.#_49BipA5dq9eoH8LX8xdsVumveTca = _49BipA5dq9eoH8LX8xdsVumveTca;
|
3334
3336
|
const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = [];
|
3335
3337
|
const _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array = values["https://www.w3.org/ns/activitystreams#attributedTo"];
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3345
|
-
|
3346
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
3347
|
-
? await Application.fromJsonLd(v, options)
|
3348
|
-
: typeof v === "object" && "@type" in v &&
|
3338
|
+
if (_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array != null) {
|
3339
|
+
for (const v of _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py__array) {
|
3340
|
+
if (v == null)
|
3341
|
+
continue;
|
3342
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3343
|
+
globalThis.Object.keys(v).length === 1) {
|
3344
|
+
_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py.push(new URL(v["@id"]));
|
3345
|
+
continue;
|
3346
|
+
}
|
3347
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3349
3348
|
Array.isArray(v["@type"]) &&
|
3350
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
3351
|
-
? await
|
3349
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
3350
|
+
? await Application.fromJsonLd(v, options)
|
3352
3351
|
: typeof v === "object" && "@type" in v &&
|
3353
3352
|
Array.isArray(v["@type"]) &&
|
3354
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
3355
|
-
? await
|
3353
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Group")
|
3354
|
+
? await Group.fromJsonLd(v, options)
|
3356
3355
|
: typeof v === "object" && "@type" in v &&
|
3357
3356
|
Array.isArray(v["@type"]) &&
|
3358
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
3359
|
-
? await
|
3357
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Organization")
|
3358
|
+
? await Organization.fromJsonLd(v, options)
|
3360
3359
|
: typeof v === "object" && "@type" in v &&
|
3361
3360
|
Array.isArray(v["@type"]) &&
|
3362
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
3363
|
-
? await
|
3364
|
-
:
|
3365
|
-
|
3366
|
-
|
3367
|
-
|
3361
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Person")
|
3362
|
+
? await Person.fromJsonLd(v, options)
|
3363
|
+
: typeof v === "object" && "@type" in v &&
|
3364
|
+
Array.isArray(v["@type"]) &&
|
3365
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Service")
|
3366
|
+
? await Service.fromJsonLd(v, options)
|
3367
|
+
: undefined;
|
3368
|
+
if (typeof decoded === "undefined")
|
3369
|
+
continue;
|
3370
|
+
_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py.push(decoded);
|
3371
|
+
}
|
3368
3372
|
}
|
3369
3373
|
instance.#_42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py = _42CGqJ94zgQ3ZBbfHwD8Hrr2L5Py;
|
3370
3374
|
const _3ocC3VVi88cEd5sPWL8djkZsvTN6 = [];
|
3371
3375
|
const _3ocC3VVi88cEd5sPWL8djkZsvTN6__array = values["https://www.w3.org/ns/activitystreams#audience"];
|
3372
|
-
|
3373
|
-
|
3374
|
-
|
3375
|
-
|
3376
|
-
|
3377
|
-
|
3378
|
-
|
3376
|
+
if (_3ocC3VVi88cEd5sPWL8djkZsvTN6__array != null) {
|
3377
|
+
for (const v of _3ocC3VVi88cEd5sPWL8djkZsvTN6__array) {
|
3378
|
+
if (v == null)
|
3379
|
+
continue;
|
3380
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3381
|
+
globalThis.Object.keys(v).length === 1) {
|
3382
|
+
_3ocC3VVi88cEd5sPWL8djkZsvTN6.push(new URL(v["@id"]));
|
3383
|
+
continue;
|
3384
|
+
}
|
3385
|
+
_3ocC3VVi88cEd5sPWL8djkZsvTN6.push(await _a.fromJsonLd(v, options));
|
3379
3386
|
}
|
3380
|
-
_3ocC3VVi88cEd5sPWL8djkZsvTN6.push(await _a.fromJsonLd(v, options));
|
3381
3387
|
}
|
3382
3388
|
instance.#_3ocC3VVi88cEd5sPWL8djkZsvTN6 = _3ocC3VVi88cEd5sPWL8djkZsvTN6;
|
3383
3389
|
const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = [];
|
3384
3390
|
const _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array = values["https://www.w3.org/ns/activitystreams#content"];
|
3385
|
-
|
3386
|
-
|
3387
|
-
|
3388
|
-
|
3389
|
-
typeof v
|
3390
|
-
|
3391
|
-
|
3392
|
-
typeof v
|
3393
|
-
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3391
|
+
if (_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array != null) {
|
3392
|
+
for (const v of _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz__array) {
|
3393
|
+
if (v == null)
|
3394
|
+
continue;
|
3395
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
3396
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
3397
|
+
? v["@value"]
|
3398
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
3399
|
+
typeof v["@language"] === "string" &&
|
3400
|
+
typeof v["@value"] === "string"
|
3401
|
+
? new LanguageString(v["@value"], v["@language"])
|
3402
|
+
: undefined;
|
3403
|
+
if (typeof decoded === "undefined")
|
3404
|
+
continue;
|
3405
|
+
_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz.push(decoded);
|
3406
|
+
}
|
3399
3407
|
}
|
3400
3408
|
instance.#_4HuuRSdSrXq8Jj2J9gcdYfoCzeuz = _4HuuRSdSrXq8Jj2J9gcdYfoCzeuz;
|
3401
3409
|
const _3mhZzGXSpQ431mBSz2kvych22v4e = [];
|
3402
3410
|
const _3mhZzGXSpQ431mBSz2kvych22v4e__array = values["https://www.w3.org/ns/activitystreams#context"];
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
|
3407
|
-
|
3408
|
-
|
3409
|
-
|
3410
|
-
|
3411
|
-
|
3412
|
-
|
3413
|
-
[
|
3414
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3415
|
-
"http://joinmastodon.org/ns#Emoji",
|
3416
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3417
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3418
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3419
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3420
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3421
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3422
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3423
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3424
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3425
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3426
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3427
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3428
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3429
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3430
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3431
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3432
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3433
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3434
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3435
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3436
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3437
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3438
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3439
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3440
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3441
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3442
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3443
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3444
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3445
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3446
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3447
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3448
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3449
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3450
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3451
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3452
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3453
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3454
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3455
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3456
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3457
|
-
].some((t) => v["@type"].includes(t))
|
3458
|
-
? await _a.fromJsonLd(v, options)
|
3459
|
-
: typeof v === "object" && "@type" in v &&
|
3411
|
+
if (_3mhZzGXSpQ431mBSz2kvych22v4e__array != null) {
|
3412
|
+
for (const v of _3mhZzGXSpQ431mBSz2kvych22v4e__array) {
|
3413
|
+
if (v == null)
|
3414
|
+
continue;
|
3415
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3416
|
+
globalThis.Object.keys(v).length === 1) {
|
3417
|
+
_3mhZzGXSpQ431mBSz2kvych22v4e.push(new URL(v["@id"]));
|
3418
|
+
continue;
|
3419
|
+
}
|
3420
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3460
3421
|
Array.isArray(v["@type"]) &&
|
3461
3422
|
[
|
3462
|
-
"https://www.w3.org/ns/activitystreams#
|
3463
|
-
"
|
3464
|
-
"https://www.w3.org/ns/activitystreams#
|
3423
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3424
|
+
"http://joinmastodon.org/ns#Emoji",
|
3425
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3426
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3427
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3428
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3429
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3430
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3431
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3432
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3433
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3434
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3435
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3436
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3437
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3438
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3439
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3440
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3441
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3442
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3443
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3444
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3445
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3446
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3447
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3448
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3449
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3450
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3451
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3452
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3453
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3454
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3455
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3456
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3457
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3458
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3459
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3460
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3461
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3462
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3463
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3464
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3465
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3465
3466
|
].some((t) => v["@type"].includes(t))
|
3466
|
-
? await
|
3467
|
-
:
|
3468
|
-
|
3469
|
-
|
3470
|
-
|
3467
|
+
? await _a.fromJsonLd(v, options)
|
3468
|
+
: typeof v === "object" && "@type" in v &&
|
3469
|
+
Array.isArray(v["@type"]) &&
|
3470
|
+
[
|
3471
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3472
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3473
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3474
|
+
].some((t) => v["@type"].includes(t))
|
3475
|
+
? await Link.fromJsonLd(v, options)
|
3476
|
+
: undefined;
|
3477
|
+
if (typeof decoded === "undefined")
|
3478
|
+
continue;
|
3479
|
+
_3mhZzGXSpQ431mBSz2kvych22v4e.push(decoded);
|
3480
|
+
}
|
3471
3481
|
}
|
3472
3482
|
instance.#_3mhZzGXSpQ431mBSz2kvych22v4e = _3mhZzGXSpQ431mBSz2kvych22v4e;
|
3473
3483
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
|
3474
3484
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
|
3475
|
-
|
3476
|
-
|
3477
|
-
|
3478
|
-
|
3479
|
-
typeof v
|
3480
|
-
|
3481
|
-
|
3482
|
-
typeof v
|
3483
|
-
|
3484
|
-
|
3485
|
-
|
3486
|
-
|
3487
|
-
|
3488
|
-
|
3485
|
+
if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array != null) {
|
3486
|
+
for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
|
3487
|
+
if (v == null)
|
3488
|
+
continue;
|
3489
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
3490
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
3491
|
+
? v["@value"]
|
3492
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
3493
|
+
typeof v["@language"] === "string" &&
|
3494
|
+
typeof v["@value"] === "string"
|
3495
|
+
? new LanguageString(v["@value"], v["@language"])
|
3496
|
+
: undefined;
|
3497
|
+
if (typeof decoded === "undefined")
|
3498
|
+
continue;
|
3499
|
+
_4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
|
3500
|
+
}
|
3489
3501
|
}
|
3490
3502
|
instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
|
3491
3503
|
const _219RwDanjScTv5tYCjwGZVCM7KZ9 = [];
|
3492
3504
|
const _219RwDanjScTv5tYCjwGZVCM7KZ9__array = values["https://www.w3.org/ns/activitystreams#endTime"];
|
3493
|
-
|
3494
|
-
|
3495
|
-
|
3496
|
-
|
3505
|
+
if (_219RwDanjScTv5tYCjwGZVCM7KZ9__array != null) {
|
3506
|
+
for (const v of _219RwDanjScTv5tYCjwGZVCM7KZ9__array) {
|
3507
|
+
if (v == null)
|
3508
|
+
continue;
|
3509
|
+
_219RwDanjScTv5tYCjwGZVCM7KZ9.push(dntShim.Temporal.Instant.from(v["@value"]));
|
3510
|
+
}
|
3497
3511
|
}
|
3498
3512
|
instance.#_219RwDanjScTv5tYCjwGZVCM7KZ9 = _219RwDanjScTv5tYCjwGZVCM7KZ9;
|
3499
3513
|
const _86xFhmgBapoMvYqjbjRuDPayTrS = [];
|
3500
3514
|
const _86xFhmgBapoMvYqjbjRuDPayTrS__array = values["https://www.w3.org/ns/activitystreams#generator"];
|
3501
|
-
|
3502
|
-
|
3503
|
-
|
3504
|
-
|
3505
|
-
|
3506
|
-
|
3507
|
-
|
3508
|
-
|
3509
|
-
|
3510
|
-
|
3511
|
-
[
|
3512
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3513
|
-
"http://joinmastodon.org/ns#Emoji",
|
3514
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3515
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3516
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3517
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3518
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3519
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3520
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3521
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3522
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3523
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3524
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3525
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3526
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3527
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3528
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3529
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3530
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3531
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3532
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3533
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3534
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3535
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3536
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3537
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3538
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3539
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3540
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3541
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3542
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3543
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3544
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3545
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3546
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3547
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3548
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3549
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3550
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3551
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3552
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3553
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3554
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3555
|
-
].some((t) => v["@type"].includes(t))
|
3556
|
-
? await _a.fromJsonLd(v, options)
|
3557
|
-
: typeof v === "object" && "@type" in v &&
|
3515
|
+
if (_86xFhmgBapoMvYqjbjRuDPayTrS__array != null) {
|
3516
|
+
for (const v of _86xFhmgBapoMvYqjbjRuDPayTrS__array) {
|
3517
|
+
if (v == null)
|
3518
|
+
continue;
|
3519
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3520
|
+
globalThis.Object.keys(v).length === 1) {
|
3521
|
+
_86xFhmgBapoMvYqjbjRuDPayTrS.push(new URL(v["@id"]));
|
3522
|
+
continue;
|
3523
|
+
}
|
3524
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3558
3525
|
Array.isArray(v["@type"]) &&
|
3559
3526
|
[
|
3560
|
-
"https://www.w3.org/ns/activitystreams#
|
3561
|
-
"
|
3562
|
-
"https://www.w3.org/ns/activitystreams#
|
3527
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3528
|
+
"http://joinmastodon.org/ns#Emoji",
|
3529
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3530
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3531
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3532
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3533
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3534
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3535
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3536
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3537
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3538
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3539
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3540
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3541
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3542
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3543
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3544
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3545
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3546
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3547
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3548
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3549
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3550
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3551
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3552
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3553
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3554
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3555
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3556
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3557
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3558
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3559
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3560
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3561
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3562
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3563
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3564
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3565
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3566
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3567
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3568
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3569
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3563
3570
|
].some((t) => v["@type"].includes(t))
|
3564
|
-
? await
|
3565
|
-
:
|
3566
|
-
|
3567
|
-
|
3568
|
-
|
3571
|
+
? await _a.fromJsonLd(v, options)
|
3572
|
+
: typeof v === "object" && "@type" in v &&
|
3573
|
+
Array.isArray(v["@type"]) &&
|
3574
|
+
[
|
3575
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3576
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3577
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3578
|
+
].some((t) => v["@type"].includes(t))
|
3579
|
+
? await Link.fromJsonLd(v, options)
|
3580
|
+
: undefined;
|
3581
|
+
if (typeof decoded === "undefined")
|
3582
|
+
continue;
|
3583
|
+
_86xFhmgBapoMvYqjbjRuDPayTrS.push(decoded);
|
3584
|
+
}
|
3569
3585
|
}
|
3570
3586
|
instance.#_86xFhmgBapoMvYqjbjRuDPayTrS = _86xFhmgBapoMvYqjbjRuDPayTrS;
|
3571
3587
|
const _33CjRLy5ujtsUrwRSCrsggvGdKuR = [];
|
3572
3588
|
const _33CjRLy5ujtsUrwRSCrsggvGdKuR__array = values["https://www.w3.org/ns/activitystreams#icon"];
|
3573
|
-
|
3574
|
-
|
3575
|
-
|
3576
|
-
|
3577
|
-
|
3578
|
-
|
3579
|
-
|
3589
|
+
if (_33CjRLy5ujtsUrwRSCrsggvGdKuR__array != null) {
|
3590
|
+
for (const v of _33CjRLy5ujtsUrwRSCrsggvGdKuR__array) {
|
3591
|
+
if (v == null)
|
3592
|
+
continue;
|
3593
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3594
|
+
globalThis.Object.keys(v).length === 1) {
|
3595
|
+
_33CjRLy5ujtsUrwRSCrsggvGdKuR.push(new URL(v["@id"]));
|
3596
|
+
continue;
|
3597
|
+
}
|
3598
|
+
_33CjRLy5ujtsUrwRSCrsggvGdKuR.push(await Image.fromJsonLd(v, options));
|
3580
3599
|
}
|
3581
|
-
_33CjRLy5ujtsUrwRSCrsggvGdKuR.push(await Image.fromJsonLd(v, options));
|
3582
3600
|
}
|
3583
3601
|
instance.#_33CjRLy5ujtsUrwRSCrsggvGdKuR = _33CjRLy5ujtsUrwRSCrsggvGdKuR;
|
3584
3602
|
const _3dXrUdkARxwyJLtJcYi1AJ92H41U = [];
|
3585
3603
|
const _3dXrUdkARxwyJLtJcYi1AJ92H41U__array = values["https://www.w3.org/ns/activitystreams#image"];
|
3586
|
-
|
3587
|
-
|
3588
|
-
|
3589
|
-
|
3590
|
-
|
3591
|
-
|
3592
|
-
|
3604
|
+
if (_3dXrUdkARxwyJLtJcYi1AJ92H41U__array != null) {
|
3605
|
+
for (const v of _3dXrUdkARxwyJLtJcYi1AJ92H41U__array) {
|
3606
|
+
if (v == null)
|
3607
|
+
continue;
|
3608
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3609
|
+
globalThis.Object.keys(v).length === 1) {
|
3610
|
+
_3dXrUdkARxwyJLtJcYi1AJ92H41U.push(new URL(v["@id"]));
|
3611
|
+
continue;
|
3612
|
+
}
|
3613
|
+
_3dXrUdkARxwyJLtJcYi1AJ92H41U.push(await Image.fromJsonLd(v, options));
|
3593
3614
|
}
|
3594
|
-
_3dXrUdkARxwyJLtJcYi1AJ92H41U.push(await Image.fromJsonLd(v, options));
|
3595
3615
|
}
|
3596
3616
|
instance.#_3dXrUdkARxwyJLtJcYi1AJ92H41U = _3dXrUdkARxwyJLtJcYi1AJ92H41U;
|
3597
3617
|
const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s = [];
|
3598
3618
|
const _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array = values["https://www.w3.org/ns/activitystreams#inReplyTo"];
|
3599
|
-
|
3600
|
-
|
3601
|
-
|
3602
|
-
|
3603
|
-
|
3604
|
-
|
3605
|
-
|
3606
|
-
|
3607
|
-
|
3608
|
-
|
3609
|
-
[
|
3610
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3611
|
-
"http://joinmastodon.org/ns#Emoji",
|
3612
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3613
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3614
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3615
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3616
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3617
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3618
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3619
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3620
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3621
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3622
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3623
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3624
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3625
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3626
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3627
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3628
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3629
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3630
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3631
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3632
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3633
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3634
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3635
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3636
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3637
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3638
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3639
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3640
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3641
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3642
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3643
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3644
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3645
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3646
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3647
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3648
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3649
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3650
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3651
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3652
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3653
|
-
].some((t) => v["@type"].includes(t))
|
3654
|
-
? await _a.fromJsonLd(v, options)
|
3655
|
-
: typeof v === "object" && "@type" in v &&
|
3619
|
+
if (_3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array != null) {
|
3620
|
+
for (const v of _3fpbDrvZgf3Kq1a5V9aByFn8kx3s__array) {
|
3621
|
+
if (v == null)
|
3622
|
+
continue;
|
3623
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3624
|
+
globalThis.Object.keys(v).length === 1) {
|
3625
|
+
_3fpbDrvZgf3Kq1a5V9aByFn8kx3s.push(new URL(v["@id"]));
|
3626
|
+
continue;
|
3627
|
+
}
|
3628
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3656
3629
|
Array.isArray(v["@type"]) &&
|
3657
3630
|
[
|
3658
|
-
"https://www.w3.org/ns/activitystreams#
|
3659
|
-
"
|
3660
|
-
"https://www.w3.org/ns/activitystreams#
|
3631
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3632
|
+
"http://joinmastodon.org/ns#Emoji",
|
3633
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3634
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3635
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3636
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3637
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3638
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3639
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3640
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3641
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3642
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3643
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3644
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3645
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3646
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3647
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3648
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3649
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3650
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3651
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3652
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3653
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3654
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3655
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3656
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3657
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3658
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3659
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3660
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3661
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3662
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3663
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3664
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3665
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3666
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3667
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3668
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3669
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3670
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3671
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3672
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3673
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3661
3674
|
].some((t) => v["@type"].includes(t))
|
3662
|
-
? await
|
3663
|
-
:
|
3664
|
-
|
3665
|
-
|
3666
|
-
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
|
3675
|
-
globalThis.Object.keys(v).length === 1) {
|
3676
|
-
_31k5MUZJsnsPNg8dQQJieWaXTFnR.push(new URL(v["@id"]));
|
3677
|
-
continue;
|
3675
|
+
? await _a.fromJsonLd(v, options)
|
3676
|
+
: typeof v === "object" && "@type" in v &&
|
3677
|
+
Array.isArray(v["@type"]) &&
|
3678
|
+
[
|
3679
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3680
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3681
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3682
|
+
].some((t) => v["@type"].includes(t))
|
3683
|
+
? await Link.fromJsonLd(v, options)
|
3684
|
+
: undefined;
|
3685
|
+
if (typeof decoded === "undefined")
|
3686
|
+
continue;
|
3687
|
+
_3fpbDrvZgf3Kq1a5V9aByFn8kx3s.push(decoded);
|
3678
3688
|
}
|
3679
|
-
const decoded = typeof v === "object" && "@type" in v &&
|
3680
|
-
Array.isArray(v["@type"]) &&
|
3681
|
-
[
|
3682
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3683
|
-
"http://joinmastodon.org/ns#Emoji",
|
3684
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3685
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3686
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3687
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3688
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3689
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3690
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3691
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3692
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3693
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3694
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3695
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3696
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3697
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3698
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3699
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3700
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3701
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3702
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3703
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3704
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3705
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3706
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3707
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3708
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3709
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3710
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3711
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3712
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3713
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3714
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3715
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3716
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3717
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3718
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3719
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3720
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3721
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3722
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3723
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3724
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3725
|
-
].some((t) => v["@type"].includes(t))
|
3726
|
-
? await _a.fromJsonLd(v, options)
|
3727
|
-
: typeof v === "object" && "@type" in v &&
|
3728
|
-
Array.isArray(v["@type"]) &&
|
3729
|
-
[
|
3730
|
-
"https://www.w3.org/ns/activitystreams#Link",
|
3731
|
-
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3732
|
-
"https://www.w3.org/ns/activitystreams#Mention",
|
3733
|
-
].some((t) => v["@type"].includes(t))
|
3734
|
-
? await Link.fromJsonLd(v, options)
|
3735
|
-
: undefined;
|
3736
|
-
if (typeof decoded === "undefined")
|
3737
|
-
continue;
|
3738
|
-
_31k5MUZJsnsPNg8dQQJieWaXTFnR.push(decoded);
|
3739
3689
|
}
|
3740
|
-
instance.#
|
3741
|
-
const
|
3742
|
-
const
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3750
|
-
|
3751
|
-
|
3752
|
-
|
3753
|
-
[
|
3754
|
-
"https://www.w3.org/ns/activitystreams#Link",
|
3755
|
-
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3756
|
-
"https://www.w3.org/ns/activitystreams#Mention",
|
3757
|
-
].some((t) => v["@type"].includes(t))
|
3758
|
-
? await Link.fromJsonLd(v, options)
|
3759
|
-
: typeof v === "object" && "@type" in v &&
|
3690
|
+
instance.#_3fpbDrvZgf3Kq1a5V9aByFn8kx3s = _3fpbDrvZgf3Kq1a5V9aByFn8kx3s;
|
3691
|
+
const _31k5MUZJsnsPNg8dQQJieWaXTFnR = [];
|
3692
|
+
const _31k5MUZJsnsPNg8dQQJieWaXTFnR__array = values["https://www.w3.org/ns/activitystreams#location"];
|
3693
|
+
if (_31k5MUZJsnsPNg8dQQJieWaXTFnR__array != null) {
|
3694
|
+
for (const v of _31k5MUZJsnsPNg8dQQJieWaXTFnR__array) {
|
3695
|
+
if (v == null)
|
3696
|
+
continue;
|
3697
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3698
|
+
globalThis.Object.keys(v).length === 1) {
|
3699
|
+
_31k5MUZJsnsPNg8dQQJieWaXTFnR.push(new URL(v["@id"]));
|
3700
|
+
continue;
|
3701
|
+
}
|
3702
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3760
3703
|
Array.isArray(v["@type"]) &&
|
3761
3704
|
[
|
3762
3705
|
"https://www.w3.org/ns/activitystreams#Object",
|
@@ -3804,248 +3747,361 @@ export class Object {
|
|
3804
3747
|
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3805
3748
|
].some((t) => v["@type"].includes(t))
|
3806
3749
|
? await _a.fromJsonLd(v, options)
|
3807
|
-
:
|
3808
|
-
|
3809
|
-
|
3810
|
-
|
3750
|
+
: typeof v === "object" && "@type" in v &&
|
3751
|
+
Array.isArray(v["@type"]) &&
|
3752
|
+
[
|
3753
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3754
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3755
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3756
|
+
].some((t) => v["@type"].includes(t))
|
3757
|
+
? await Link.fromJsonLd(v, options)
|
3758
|
+
: undefined;
|
3759
|
+
if (typeof decoded === "undefined")
|
3760
|
+
continue;
|
3761
|
+
_31k5MUZJsnsPNg8dQQJieWaXTFnR.push(decoded);
|
3762
|
+
}
|
3763
|
+
}
|
3764
|
+
instance.#_31k5MUZJsnsPNg8dQQJieWaXTFnR = _31k5MUZJsnsPNg8dQQJieWaXTFnR;
|
3765
|
+
const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
|
3766
|
+
const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
|
3767
|
+
if (_gCVTegXxWWCw6wWRxa1QF65zusg__array != null) {
|
3768
|
+
for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
|
3769
|
+
if (v == null)
|
3770
|
+
continue;
|
3771
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3772
|
+
globalThis.Object.keys(v).length === 1) {
|
3773
|
+
_gCVTegXxWWCw6wWRxa1QF65zusg.push(new URL(v["@id"]));
|
3774
|
+
continue;
|
3775
|
+
}
|
3776
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3777
|
+
Array.isArray(v["@type"]) &&
|
3778
|
+
[
|
3779
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3780
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3781
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3782
|
+
].some((t) => v["@type"].includes(t))
|
3783
|
+
? await Link.fromJsonLd(v, options)
|
3784
|
+
: typeof v === "object" && "@type" in v &&
|
3785
|
+
Array.isArray(v["@type"]) &&
|
3786
|
+
[
|
3787
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3788
|
+
"http://joinmastodon.org/ns#Emoji",
|
3789
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3790
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3791
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3792
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3793
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3794
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3795
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3796
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3797
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3798
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3799
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3800
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3801
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3802
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3803
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3804
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3805
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3806
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3807
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3808
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3809
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3810
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3811
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3812
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3813
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3814
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3815
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3816
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3817
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3818
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3819
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3820
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3821
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3822
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3823
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3824
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3825
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3826
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3827
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3828
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3829
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3830
|
+
].some((t) => v["@type"].includes(t))
|
3831
|
+
? await _a.fromJsonLd(v, options)
|
3832
|
+
: undefined;
|
3833
|
+
if (typeof decoded === "undefined")
|
3834
|
+
continue;
|
3835
|
+
_gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
|
3836
|
+
}
|
3811
3837
|
}
|
3812
3838
|
instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
|
3813
3839
|
const _5e258TDXtuhaFRPZiGoDfEpjdMr = [];
|
3814
3840
|
const _5e258TDXtuhaFRPZiGoDfEpjdMr__array = values["https://www.w3.org/ns/activitystreams#published"];
|
3815
|
-
|
3816
|
-
|
3817
|
-
|
3818
|
-
|
3841
|
+
if (_5e258TDXtuhaFRPZiGoDfEpjdMr__array != null) {
|
3842
|
+
for (const v of _5e258TDXtuhaFRPZiGoDfEpjdMr__array) {
|
3843
|
+
if (v == null)
|
3844
|
+
continue;
|
3845
|
+
_5e258TDXtuhaFRPZiGoDfEpjdMr.push(dntShim.Temporal.Instant.from(v["@value"]));
|
3846
|
+
}
|
3819
3847
|
}
|
3820
3848
|
instance.#_5e258TDXtuhaFRPZiGoDfEpjdMr = _5e258TDXtuhaFRPZiGoDfEpjdMr;
|
3821
3849
|
const _7UpwM3JWcXhADcscukEehBorf6k = [];
|
3822
3850
|
const _7UpwM3JWcXhADcscukEehBorf6k__array = values["https://www.w3.org/ns/activitystreams#replies"];
|
3823
|
-
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3851
|
+
if (_7UpwM3JWcXhADcscukEehBorf6k__array != null) {
|
3852
|
+
for (const v of _7UpwM3JWcXhADcscukEehBorf6k__array) {
|
3853
|
+
if (v == null)
|
3854
|
+
continue;
|
3855
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3856
|
+
globalThis.Object.keys(v).length === 1) {
|
3857
|
+
_7UpwM3JWcXhADcscukEehBorf6k.push(new URL(v["@id"]));
|
3858
|
+
continue;
|
3859
|
+
}
|
3860
|
+
_7UpwM3JWcXhADcscukEehBorf6k.push(await Collection.fromJsonLd(v, options));
|
3830
3861
|
}
|
3831
|
-
_7UpwM3JWcXhADcscukEehBorf6k.push(await Collection.fromJsonLd(v, options));
|
3832
3862
|
}
|
3833
3863
|
instance.#_7UpwM3JWcXhADcscukEehBorf6k = _7UpwM3JWcXhADcscukEehBorf6k;
|
3834
3864
|
const _2w3Jmue4up8iVDUA51WZqomEF438 = [];
|
3835
3865
|
const _2w3Jmue4up8iVDUA51WZqomEF438__array = values["https://www.w3.org/ns/activitystreams#startTime"];
|
3836
|
-
|
3837
|
-
|
3838
|
-
|
3839
|
-
|
3866
|
+
if (_2w3Jmue4up8iVDUA51WZqomEF438__array != null) {
|
3867
|
+
for (const v of _2w3Jmue4up8iVDUA51WZqomEF438__array) {
|
3868
|
+
if (v == null)
|
3869
|
+
continue;
|
3870
|
+
_2w3Jmue4up8iVDUA51WZqomEF438.push(dntShim.Temporal.Instant.from(v["@value"]));
|
3871
|
+
}
|
3840
3872
|
}
|
3841
3873
|
instance.#_2w3Jmue4up8iVDUA51WZqomEF438 = _2w3Jmue4up8iVDUA51WZqomEF438;
|
3842
3874
|
const _4LqirZspQbFWWQEbFcXAxm7tTDN1 = [];
|
3843
3875
|
const _4LqirZspQbFWWQEbFcXAxm7tTDN1__array = values["https://www.w3.org/ns/activitystreams#summary"];
|
3844
|
-
|
3845
|
-
|
3846
|
-
|
3847
|
-
|
3848
|
-
typeof v
|
3849
|
-
|
3850
|
-
|
3851
|
-
typeof v
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3855
|
-
|
3856
|
-
|
3857
|
-
|
3876
|
+
if (_4LqirZspQbFWWQEbFcXAxm7tTDN1__array != null) {
|
3877
|
+
for (const v of _4LqirZspQbFWWQEbFcXAxm7tTDN1__array) {
|
3878
|
+
if (v == null)
|
3879
|
+
continue;
|
3880
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
3881
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
3882
|
+
? v["@value"]
|
3883
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
3884
|
+
typeof v["@language"] === "string" &&
|
3885
|
+
typeof v["@value"] === "string"
|
3886
|
+
? new LanguageString(v["@value"], v["@language"])
|
3887
|
+
: undefined;
|
3888
|
+
if (typeof decoded === "undefined")
|
3889
|
+
continue;
|
3890
|
+
_4LqirZspQbFWWQEbFcXAxm7tTDN1.push(decoded);
|
3891
|
+
}
|
3858
3892
|
}
|
3859
3893
|
instance.#_4LqirZspQbFWWQEbFcXAxm7tTDN1 = _4LqirZspQbFWWQEbFcXAxm7tTDN1;
|
3860
3894
|
const _5chuqj6s95p5gg2sk1HntGfarRf = [];
|
3861
3895
|
const _5chuqj6s95p5gg2sk1HntGfarRf__array = values["https://www.w3.org/ns/activitystreams#tag"];
|
3862
|
-
|
3863
|
-
|
3864
|
-
|
3865
|
-
|
3866
|
-
|
3867
|
-
|
3868
|
-
|
3869
|
-
|
3870
|
-
|
3871
|
-
|
3872
|
-
[
|
3873
|
-
"https://www.w3.org/ns/activitystreams#Object",
|
3874
|
-
"http://joinmastodon.org/ns#Emoji",
|
3875
|
-
"https://www.w3.org/ns/activitystreams#Activity",
|
3876
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
3877
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
3878
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
3879
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
3880
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
3881
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
3882
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
3883
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
3884
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
3885
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
3886
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3887
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
3888
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
3889
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
3890
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
3891
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
3892
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
3893
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
3894
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
3895
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
3896
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
3897
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
3898
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3899
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3900
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3901
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
3902
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
3903
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
3904
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
3905
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
3906
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
3907
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
3908
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
3909
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
3910
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
3911
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
3912
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
3913
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
3914
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
3915
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3916
|
-
].some((t) => v["@type"].includes(t))
|
3917
|
-
? await _a.fromJsonLd(v, options)
|
3918
|
-
: typeof v === "object" && "@type" in v &&
|
3896
|
+
if (_5chuqj6s95p5gg2sk1HntGfarRf__array != null) {
|
3897
|
+
for (const v of _5chuqj6s95p5gg2sk1HntGfarRf__array) {
|
3898
|
+
if (v == null)
|
3899
|
+
continue;
|
3900
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
3901
|
+
globalThis.Object.keys(v).length === 1) {
|
3902
|
+
_5chuqj6s95p5gg2sk1HntGfarRf.push(new URL(v["@id"]));
|
3903
|
+
continue;
|
3904
|
+
}
|
3905
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
3919
3906
|
Array.isArray(v["@type"]) &&
|
3920
3907
|
[
|
3921
|
-
"https://www.w3.org/ns/activitystreams#
|
3922
|
-
"
|
3923
|
-
"https://www.w3.org/ns/activitystreams#
|
3908
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
3909
|
+
"http://joinmastodon.org/ns#Emoji",
|
3910
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
3911
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
3912
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
3913
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
3914
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
3915
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
3916
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
3917
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
3918
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
3919
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
3920
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
3921
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
3922
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
3923
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
3924
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
3925
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
3926
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
3927
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
3928
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
3929
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
3930
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
3931
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
3932
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
3933
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
3934
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
3935
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
3936
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
3937
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
3938
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
3939
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
3940
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
3941
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
3942
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
3943
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
3944
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
3945
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
3946
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
3947
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
3948
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
3949
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
3950
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
3924
3951
|
].some((t) => v["@type"].includes(t))
|
3925
|
-
? await
|
3926
|
-
:
|
3927
|
-
|
3928
|
-
|
3929
|
-
|
3952
|
+
? await _a.fromJsonLd(v, options)
|
3953
|
+
: typeof v === "object" && "@type" in v &&
|
3954
|
+
Array.isArray(v["@type"]) &&
|
3955
|
+
[
|
3956
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3957
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3958
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3959
|
+
].some((t) => v["@type"].includes(t))
|
3960
|
+
? await Link.fromJsonLd(v, options)
|
3961
|
+
: undefined;
|
3962
|
+
if (typeof decoded === "undefined")
|
3963
|
+
continue;
|
3964
|
+
_5chuqj6s95p5gg2sk1HntGfarRf.push(decoded);
|
3965
|
+
}
|
3930
3966
|
}
|
3931
3967
|
instance.#_5chuqj6s95p5gg2sk1HntGfarRf = _5chuqj6s95p5gg2sk1HntGfarRf;
|
3932
3968
|
const _385aB7ySixcf5Un6z3VsWmThgCzQ = [];
|
3933
3969
|
const _385aB7ySixcf5Un6z3VsWmThgCzQ__array = values["https://www.w3.org/ns/activitystreams#updated"];
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3970
|
+
if (_385aB7ySixcf5Un6z3VsWmThgCzQ__array != null) {
|
3971
|
+
for (const v of _385aB7ySixcf5Un6z3VsWmThgCzQ__array) {
|
3972
|
+
if (v == null)
|
3973
|
+
continue;
|
3974
|
+
_385aB7ySixcf5Un6z3VsWmThgCzQ.push(dntShim.Temporal.Instant.from(v["@value"]));
|
3975
|
+
}
|
3938
3976
|
}
|
3939
3977
|
instance.#_385aB7ySixcf5Un6z3VsWmThgCzQ = _385aB7ySixcf5Un6z3VsWmThgCzQ;
|
3940
3978
|
const _2oPEH9MQ3aj8JVwyYuWkqoVwV865 = [];
|
3941
3979
|
const _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array = values["https://www.w3.org/ns/activitystreams#url"];
|
3942
|
-
|
3943
|
-
|
3944
|
-
|
3945
|
-
|
3946
|
-
typeof v
|
3947
|
-
|
3948
|
-
|
3949
|
-
|
3950
|
-
|
3951
|
-
|
3952
|
-
|
3953
|
-
|
3954
|
-
|
3955
|
-
|
3956
|
-
|
3957
|
-
|
3958
|
-
|
3959
|
-
|
3980
|
+
if (_2oPEH9MQ3aj8JVwyYuWkqoVwV865__array != null) {
|
3981
|
+
for (const v of _2oPEH9MQ3aj8JVwyYuWkqoVwV865__array) {
|
3982
|
+
if (v == null)
|
3983
|
+
continue;
|
3984
|
+
const decoded = typeof v === "object" && "@id" in v &&
|
3985
|
+
typeof v["@id"] === "string"
|
3986
|
+
? new URL(v["@id"])
|
3987
|
+
: typeof v === "object" && "@type" in v &&
|
3988
|
+
Array.isArray(v["@type"]) &&
|
3989
|
+
[
|
3990
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
3991
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
3992
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
3993
|
+
].some((t) => v["@type"].includes(t))
|
3994
|
+
? await Link.fromJsonLd(v, options)
|
3995
|
+
: undefined;
|
3996
|
+
if (typeof decoded === "undefined")
|
3997
|
+
continue;
|
3998
|
+
_2oPEH9MQ3aj8JVwyYuWkqoVwV865.push(decoded);
|
3999
|
+
}
|
3960
4000
|
}
|
3961
4001
|
instance.#_2oPEH9MQ3aj8JVwyYuWkqoVwV865 = _2oPEH9MQ3aj8JVwyYuWkqoVwV865;
|
3962
4002
|
const _3hFbw7DTpHhq3cvVhkY8njhcsXbd = [];
|
3963
4003
|
const _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array = values["https://www.w3.org/ns/activitystreams#to"];
|
3964
|
-
|
3965
|
-
|
3966
|
-
|
3967
|
-
|
3968
|
-
|
3969
|
-
|
3970
|
-
|
4004
|
+
if (_3hFbw7DTpHhq3cvVhkY8njhcsXbd__array != null) {
|
4005
|
+
for (const v of _3hFbw7DTpHhq3cvVhkY8njhcsXbd__array) {
|
4006
|
+
if (v == null)
|
4007
|
+
continue;
|
4008
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
4009
|
+
globalThis.Object.keys(v).length === 1) {
|
4010
|
+
_3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(new URL(v["@id"]));
|
4011
|
+
continue;
|
4012
|
+
}
|
4013
|
+
_3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(await _a.fromJsonLd(v, options));
|
3971
4014
|
}
|
3972
|
-
_3hFbw7DTpHhq3cvVhkY8njhcsXbd.push(await _a.fromJsonLd(v, options));
|
3973
4015
|
}
|
3974
4016
|
instance.#_3hFbw7DTpHhq3cvVhkY8njhcsXbd = _3hFbw7DTpHhq3cvVhkY8njhcsXbd;
|
3975
4017
|
const _aLZupjwL8XB7tzdLgCMXdjZ6qej = [];
|
3976
4018
|
const _aLZupjwL8XB7tzdLgCMXdjZ6qej__array = values["https://www.w3.org/ns/activitystreams#bto"];
|
3977
|
-
|
3978
|
-
|
3979
|
-
|
3980
|
-
|
3981
|
-
|
3982
|
-
|
3983
|
-
|
4019
|
+
if (_aLZupjwL8XB7tzdLgCMXdjZ6qej__array != null) {
|
4020
|
+
for (const v of _aLZupjwL8XB7tzdLgCMXdjZ6qej__array) {
|
4021
|
+
if (v == null)
|
4022
|
+
continue;
|
4023
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
4024
|
+
globalThis.Object.keys(v).length === 1) {
|
4025
|
+
_aLZupjwL8XB7tzdLgCMXdjZ6qej.push(new URL(v["@id"]));
|
4026
|
+
continue;
|
4027
|
+
}
|
4028
|
+
_aLZupjwL8XB7tzdLgCMXdjZ6qej.push(await _a.fromJsonLd(v, options));
|
3984
4029
|
}
|
3985
|
-
_aLZupjwL8XB7tzdLgCMXdjZ6qej.push(await _a.fromJsonLd(v, options));
|
3986
4030
|
}
|
3987
4031
|
instance.#_aLZupjwL8XB7tzdLgCMXdjZ6qej = _aLZupjwL8XB7tzdLgCMXdjZ6qej;
|
3988
4032
|
const _42a1SvBs24QSLzKcfjCyNTjW5a1g = [];
|
3989
4033
|
const _42a1SvBs24QSLzKcfjCyNTjW5a1g__array = values["https://www.w3.org/ns/activitystreams#cc"];
|
3990
|
-
|
3991
|
-
|
3992
|
-
|
3993
|
-
|
3994
|
-
|
3995
|
-
|
3996
|
-
|
4034
|
+
if (_42a1SvBs24QSLzKcfjCyNTjW5a1g__array != null) {
|
4035
|
+
for (const v of _42a1SvBs24QSLzKcfjCyNTjW5a1g__array) {
|
4036
|
+
if (v == null)
|
4037
|
+
continue;
|
4038
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
4039
|
+
globalThis.Object.keys(v).length === 1) {
|
4040
|
+
_42a1SvBs24QSLzKcfjCyNTjW5a1g.push(new URL(v["@id"]));
|
4041
|
+
continue;
|
4042
|
+
}
|
4043
|
+
_42a1SvBs24QSLzKcfjCyNTjW5a1g.push(await _a.fromJsonLd(v, options));
|
3997
4044
|
}
|
3998
|
-
_42a1SvBs24QSLzKcfjCyNTjW5a1g.push(await _a.fromJsonLd(v, options));
|
3999
4045
|
}
|
4000
4046
|
instance.#_42a1SvBs24QSLzKcfjCyNTjW5a1g = _42a1SvBs24QSLzKcfjCyNTjW5a1g;
|
4001
4047
|
const _3qvegKUB8YLgTXRpEf8E6JZSkz2H = [];
|
4002
4048
|
const _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array = values["https://www.w3.org/ns/activitystreams#bcc"];
|
4003
|
-
|
4004
|
-
|
4005
|
-
|
4006
|
-
|
4007
|
-
|
4008
|
-
|
4009
|
-
|
4049
|
+
if (_3qvegKUB8YLgTXRpEf8E6JZSkz2H__array != null) {
|
4050
|
+
for (const v of _3qvegKUB8YLgTXRpEf8E6JZSkz2H__array) {
|
4051
|
+
if (v == null)
|
4052
|
+
continue;
|
4053
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
4054
|
+
globalThis.Object.keys(v).length === 1) {
|
4055
|
+
_3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(new URL(v["@id"]));
|
4056
|
+
continue;
|
4057
|
+
}
|
4058
|
+
_3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(await _a.fromJsonLd(v, options));
|
4010
4059
|
}
|
4011
|
-
_3qvegKUB8YLgTXRpEf8E6JZSkz2H.push(await _a.fromJsonLd(v, options));
|
4012
4060
|
}
|
4013
4061
|
instance.#_3qvegKUB8YLgTXRpEf8E6JZSkz2H = _3qvegKUB8YLgTXRpEf8E6JZSkz2H;
|
4014
4062
|
const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
|
4015
4063
|
const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
|
4016
|
-
|
4017
|
-
|
4018
|
-
|
4019
|
-
|
4064
|
+
if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array != null) {
|
4065
|
+
for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
|
4066
|
+
if (v == null)
|
4067
|
+
continue;
|
4068
|
+
_3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
|
4069
|
+
}
|
4020
4070
|
}
|
4021
4071
|
instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
|
4022
4072
|
const _3bNvLMBN1bCJETiTihM3wvi1B2JX = [];
|
4023
4073
|
const _3bNvLMBN1bCJETiTihM3wvi1B2JX__array = values["https://www.w3.org/ns/activitystreams#duration"];
|
4024
|
-
|
4025
|
-
|
4026
|
-
|
4027
|
-
|
4074
|
+
if (_3bNvLMBN1bCJETiTihM3wvi1B2JX__array != null) {
|
4075
|
+
for (const v of _3bNvLMBN1bCJETiTihM3wvi1B2JX__array) {
|
4076
|
+
if (v == null)
|
4077
|
+
continue;
|
4078
|
+
_3bNvLMBN1bCJETiTihM3wvi1B2JX.push(dntShim.Temporal.Duration.from(v["@value"]));
|
4079
|
+
}
|
4028
4080
|
}
|
4029
4081
|
instance.#_3bNvLMBN1bCJETiTihM3wvi1B2JX = _3bNvLMBN1bCJETiTihM3wvi1B2JX;
|
4030
4082
|
const _u8gdcDTtChQ4tbSQMXc4cYWyum7 = [];
|
4031
4083
|
const _u8gdcDTtChQ4tbSQMXc4cYWyum7__array = values["https://www.w3.org/ns/activitystreams#sensitive"];
|
4032
|
-
|
4033
|
-
|
4034
|
-
|
4035
|
-
|
4084
|
+
if (_u8gdcDTtChQ4tbSQMXc4cYWyum7__array != null) {
|
4085
|
+
for (const v of _u8gdcDTtChQ4tbSQMXc4cYWyum7__array) {
|
4086
|
+
if (v == null)
|
4087
|
+
continue;
|
4088
|
+
_u8gdcDTtChQ4tbSQMXc4cYWyum7.push(v["@value"]);
|
4089
|
+
}
|
4036
4090
|
}
|
4037
4091
|
instance.#_u8gdcDTtChQ4tbSQMXc4cYWyum7 = _u8gdcDTtChQ4tbSQMXc4cYWyum7;
|
4038
4092
|
const _42rPnotok1ivQ2RNCKNbeFJgx8b8 = [];
|
4039
4093
|
const _42rPnotok1ivQ2RNCKNbeFJgx8b8__array = values["https://w3id.org/security#proof"];
|
4040
|
-
|
4041
|
-
|
4042
|
-
|
4043
|
-
|
4044
|
-
|
4045
|
-
|
4046
|
-
|
4094
|
+
if (_42rPnotok1ivQ2RNCKNbeFJgx8b8__array != null) {
|
4095
|
+
for (const v of _42rPnotok1ivQ2RNCKNbeFJgx8b8__array) {
|
4096
|
+
if (v == null)
|
4097
|
+
continue;
|
4098
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
4099
|
+
globalThis.Object.keys(v).length === 1) {
|
4100
|
+
_42rPnotok1ivQ2RNCKNbeFJgx8b8.push(new URL(v["@id"]));
|
4101
|
+
continue;
|
4102
|
+
}
|
4103
|
+
_42rPnotok1ivQ2RNCKNbeFJgx8b8.push(await DataIntegrityProof.fromJsonLd(v, options));
|
4047
4104
|
}
|
4048
|
-
_42rPnotok1ivQ2RNCKNbeFJgx8b8.push(await DataIntegrityProof.fromJsonLd(v, options));
|
4049
4105
|
}
|
4050
4106
|
instance.#_42rPnotok1ivQ2RNCKNbeFJgx8b8 = _42rPnotok1ivQ2RNCKNbeFJgx8b8;
|
4051
4107
|
return instance;
|
@@ -4766,38 +4822,42 @@ export class PropertyValue {
|
|
4766
4822
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
4767
4823
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
|
4768
4824
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
|
4769
|
-
|
4770
|
-
|
4771
|
-
|
4772
|
-
|
4773
|
-
typeof v
|
4774
|
-
|
4775
|
-
|
4776
|
-
typeof v
|
4777
|
-
|
4778
|
-
|
4779
|
-
|
4780
|
-
|
4781
|
-
|
4782
|
-
|
4825
|
+
if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array != null) {
|
4826
|
+
for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
|
4827
|
+
if (v == null)
|
4828
|
+
continue;
|
4829
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
4830
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
4831
|
+
? v["@value"]
|
4832
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
4833
|
+
typeof v["@language"] === "string" &&
|
4834
|
+
typeof v["@value"] === "string"
|
4835
|
+
? new LanguageString(v["@value"], v["@language"])
|
4836
|
+
: undefined;
|
4837
|
+
if (typeof decoded === "undefined")
|
4838
|
+
continue;
|
4839
|
+
_4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
|
4840
|
+
}
|
4783
4841
|
}
|
4784
4842
|
instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
|
4785
4843
|
const _2cSy2magg4iZ7zLaG8U7DiJMoCkx = [];
|
4786
4844
|
const _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array = values["http://schema.org#value"];
|
4787
|
-
|
4788
|
-
|
4789
|
-
|
4790
|
-
|
4791
|
-
typeof v
|
4792
|
-
|
4793
|
-
|
4794
|
-
typeof v
|
4795
|
-
|
4796
|
-
|
4797
|
-
|
4798
|
-
|
4799
|
-
|
4800
|
-
|
4845
|
+
if (_2cSy2magg4iZ7zLaG8U7DiJMoCkx__array != null) {
|
4846
|
+
for (const v of _2cSy2magg4iZ7zLaG8U7DiJMoCkx__array) {
|
4847
|
+
if (v == null)
|
4848
|
+
continue;
|
4849
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
4850
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
4851
|
+
? v["@value"]
|
4852
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
4853
|
+
typeof v["@language"] === "string" &&
|
4854
|
+
typeof v["@value"] === "string"
|
4855
|
+
? new LanguageString(v["@value"], v["@language"])
|
4856
|
+
: undefined;
|
4857
|
+
if (typeof decoded === "undefined")
|
4858
|
+
continue;
|
4859
|
+
_2cSy2magg4iZ7zLaG8U7DiJMoCkx.push(decoded);
|
4860
|
+
}
|
4801
4861
|
}
|
4802
4862
|
instance.#_2cSy2magg4iZ7zLaG8U7DiJMoCkx = _2cSy2magg4iZ7zLaG8U7DiJMoCkx;
|
4803
4863
|
return instance;
|
@@ -5211,47 +5271,57 @@ export class DataIntegrityProof {
|
|
5211
5271
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
5212
5272
|
const _3RurJsa7tnptyqMFR5hDGcP9pMs5 = [];
|
5213
5273
|
const _3RurJsa7tnptyqMFR5hDGcP9pMs5__array = values["https://w3id.org/security#cryptosuite"];
|
5214
|
-
|
5215
|
-
|
5216
|
-
|
5217
|
-
|
5274
|
+
if (_3RurJsa7tnptyqMFR5hDGcP9pMs5__array != null) {
|
5275
|
+
for (const v of _3RurJsa7tnptyqMFR5hDGcP9pMs5__array) {
|
5276
|
+
if (v == null)
|
5277
|
+
continue;
|
5278
|
+
_3RurJsa7tnptyqMFR5hDGcP9pMs5.push(v["@value"]);
|
5279
|
+
}
|
5218
5280
|
}
|
5219
5281
|
instance.#_3RurJsa7tnptyqMFR5hDGcP9pMs5 = _3RurJsa7tnptyqMFR5hDGcP9pMs5;
|
5220
5282
|
const _2mHVKxqA7zncjveJrDEo3pWpMZqg = [];
|
5221
5283
|
const _2mHVKxqA7zncjveJrDEo3pWpMZqg__array = values["https://w3id.org/security#verificationMethod"];
|
5222
|
-
|
5223
|
-
|
5224
|
-
|
5225
|
-
|
5226
|
-
|
5227
|
-
|
5228
|
-
|
5284
|
+
if (_2mHVKxqA7zncjveJrDEo3pWpMZqg__array != null) {
|
5285
|
+
for (const v of _2mHVKxqA7zncjveJrDEo3pWpMZqg__array) {
|
5286
|
+
if (v == null)
|
5287
|
+
continue;
|
5288
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
5289
|
+
globalThis.Object.keys(v).length === 1) {
|
5290
|
+
_2mHVKxqA7zncjveJrDEo3pWpMZqg.push(new URL(v["@id"]));
|
5291
|
+
continue;
|
5292
|
+
}
|
5293
|
+
_2mHVKxqA7zncjveJrDEo3pWpMZqg.push(await Multikey.fromJsonLd(v, options));
|
5229
5294
|
}
|
5230
|
-
_2mHVKxqA7zncjveJrDEo3pWpMZqg.push(await Multikey.fromJsonLd(v, options));
|
5231
5295
|
}
|
5232
5296
|
instance.#_2mHVKxqA7zncjveJrDEo3pWpMZqg = _2mHVKxqA7zncjveJrDEo3pWpMZqg;
|
5233
5297
|
const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = [];
|
5234
5298
|
const _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array = values["https://w3id.org/security#proofPurpose"];
|
5235
|
-
|
5236
|
-
|
5237
|
-
|
5238
|
-
|
5299
|
+
if (_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array != null) {
|
5300
|
+
for (const v of _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb__array) {
|
5301
|
+
if (v == null)
|
5302
|
+
continue;
|
5303
|
+
_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb.push(v["@id"].substring(26));
|
5304
|
+
}
|
5239
5305
|
}
|
5240
5306
|
instance.#_2AeEnPcAvVrPEuKbpmn9ZKNmWHKb = _2AeEnPcAvVrPEuKbpmn9ZKNmWHKb;
|
5241
5307
|
const _3CjFK5vfKpX4HQuNh2b18TykoVLq = [];
|
5242
5308
|
const _3CjFK5vfKpX4HQuNh2b18TykoVLq__array = values["https://w3id.org/security#proofValue"];
|
5243
|
-
|
5244
|
-
|
5245
|
-
|
5246
|
-
|
5309
|
+
if (_3CjFK5vfKpX4HQuNh2b18TykoVLq__array != null) {
|
5310
|
+
for (const v of _3CjFK5vfKpX4HQuNh2b18TykoVLq__array) {
|
5311
|
+
if (v == null)
|
5312
|
+
continue;
|
5313
|
+
_3CjFK5vfKpX4HQuNh2b18TykoVLq.push(decodeMultibase(v["@value"]));
|
5314
|
+
}
|
5247
5315
|
}
|
5248
5316
|
instance.#_3CjFK5vfKpX4HQuNh2b18TykoVLq = _3CjFK5vfKpX4HQuNh2b18TykoVLq;
|
5249
5317
|
const _3qzP3ukEZoUziK5FEiA1RhU4aqac = [];
|
5250
5318
|
const _3qzP3ukEZoUziK5FEiA1RhU4aqac__array = values["http://purl.org/dc/terms/created"];
|
5251
|
-
|
5252
|
-
|
5253
|
-
|
5254
|
-
|
5319
|
+
if (_3qzP3ukEZoUziK5FEiA1RhU4aqac__array != null) {
|
5320
|
+
for (const v of _3qzP3ukEZoUziK5FEiA1RhU4aqac__array) {
|
5321
|
+
if (v == null)
|
5322
|
+
continue;
|
5323
|
+
_3qzP3ukEZoUziK5FEiA1RhU4aqac.push(dntShim.Temporal.Instant.from(v["@value"]));
|
5324
|
+
}
|
5255
5325
|
}
|
5256
5326
|
instance.#_3qzP3ukEZoUziK5FEiA1RhU4aqac = _3qzP3ukEZoUziK5FEiA1RhU4aqac;
|
5257
5327
|
return instance;
|
@@ -5611,46 +5681,50 @@ export class CryptographicKey {
|
|
5611
5681
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
5612
5682
|
const _5UJq9NDh3ZHgswFwwdVxQvJxdx2 = [];
|
5613
5683
|
const _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array = values["https://w3id.org/security#owner"];
|
5614
|
-
|
5615
|
-
|
5616
|
-
|
5617
|
-
|
5618
|
-
|
5619
|
-
|
5620
|
-
|
5621
|
-
|
5622
|
-
|
5623
|
-
|
5624
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
5625
|
-
? await Application.fromJsonLd(v, options)
|
5626
|
-
: typeof v === "object" && "@type" in v &&
|
5684
|
+
if (_5UJq9NDh3ZHgswFwwdVxQvJxdx2__array != null) {
|
5685
|
+
for (const v of _5UJq9NDh3ZHgswFwwdVxQvJxdx2__array) {
|
5686
|
+
if (v == null)
|
5687
|
+
continue;
|
5688
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
5689
|
+
globalThis.Object.keys(v).length === 1) {
|
5690
|
+
_5UJq9NDh3ZHgswFwwdVxQvJxdx2.push(new URL(v["@id"]));
|
5691
|
+
continue;
|
5692
|
+
}
|
5693
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
5627
5694
|
Array.isArray(v["@type"]) &&
|
5628
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
5629
|
-
? await
|
5695
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
5696
|
+
? await Application.fromJsonLd(v, options)
|
5630
5697
|
: typeof v === "object" && "@type" in v &&
|
5631
5698
|
Array.isArray(v["@type"]) &&
|
5632
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
5633
|
-
? await
|
5699
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Group")
|
5700
|
+
? await Group.fromJsonLd(v, options)
|
5634
5701
|
: typeof v === "object" && "@type" in v &&
|
5635
5702
|
Array.isArray(v["@type"]) &&
|
5636
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
5637
|
-
? await
|
5703
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Organization")
|
5704
|
+
? await Organization.fromJsonLd(v, options)
|
5638
5705
|
: typeof v === "object" && "@type" in v &&
|
5639
5706
|
Array.isArray(v["@type"]) &&
|
5640
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
5641
|
-
? await
|
5642
|
-
:
|
5643
|
-
|
5644
|
-
|
5645
|
-
|
5707
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Person")
|
5708
|
+
? await Person.fromJsonLd(v, options)
|
5709
|
+
: typeof v === "object" && "@type" in v &&
|
5710
|
+
Array.isArray(v["@type"]) &&
|
5711
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Service")
|
5712
|
+
? await Service.fromJsonLd(v, options)
|
5713
|
+
: undefined;
|
5714
|
+
if (typeof decoded === "undefined")
|
5715
|
+
continue;
|
5716
|
+
_5UJq9NDh3ZHgswFwwdVxQvJxdx2.push(decoded);
|
5717
|
+
}
|
5646
5718
|
}
|
5647
5719
|
instance.#_5UJq9NDh3ZHgswFwwdVxQvJxdx2 = _5UJq9NDh3ZHgswFwwdVxQvJxdx2;
|
5648
5720
|
const _2fE2QMDdg6KFGqa4NEC3TmjApSAD = [];
|
5649
5721
|
const _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array = values["https://w3id.org/security#publicKeyPem"];
|
5650
|
-
|
5651
|
-
|
5652
|
-
|
5653
|
-
|
5722
|
+
if (_2fE2QMDdg6KFGqa4NEC3TmjApSAD__array != null) {
|
5723
|
+
for (const v of _2fE2QMDdg6KFGqa4NEC3TmjApSAD__array) {
|
5724
|
+
if (v == null)
|
5725
|
+
continue;
|
5726
|
+
_2fE2QMDdg6KFGqa4NEC3TmjApSAD.push(await importSpki(v["@value"]));
|
5727
|
+
}
|
5654
5728
|
}
|
5655
5729
|
instance.#_2fE2QMDdg6KFGqa4NEC3TmjApSAD = _2fE2QMDdg6KFGqa4NEC3TmjApSAD;
|
5656
5730
|
return instance;
|
@@ -5988,46 +6062,50 @@ export class Multikey {
|
|
5988
6062
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
5989
6063
|
const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN = [];
|
5990
6064
|
const _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array = values["https://w3id.org/security#controller"];
|
5991
|
-
|
5992
|
-
|
5993
|
-
|
5994
|
-
|
5995
|
-
|
5996
|
-
|
5997
|
-
|
5998
|
-
|
5999
|
-
|
6000
|
-
|
6001
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
6002
|
-
? await Application.fromJsonLd(v, options)
|
6003
|
-
: typeof v === "object" && "@type" in v &&
|
6065
|
+
if (_2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array != null) {
|
6066
|
+
for (const v of _2yr3eUBTP6cNcyaxKzAXWjFsnGzN__array) {
|
6067
|
+
if (v == null)
|
6068
|
+
continue;
|
6069
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
6070
|
+
globalThis.Object.keys(v).length === 1) {
|
6071
|
+
_2yr3eUBTP6cNcyaxKzAXWjFsnGzN.push(new URL(v["@id"]));
|
6072
|
+
continue;
|
6073
|
+
}
|
6074
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
6004
6075
|
Array.isArray(v["@type"]) &&
|
6005
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
6006
|
-
? await
|
6076
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
6077
|
+
? await Application.fromJsonLd(v, options)
|
6007
6078
|
: typeof v === "object" && "@type" in v &&
|
6008
6079
|
Array.isArray(v["@type"]) &&
|
6009
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
6010
|
-
? await
|
6080
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Group")
|
6081
|
+
? await Group.fromJsonLd(v, options)
|
6011
6082
|
: typeof v === "object" && "@type" in v &&
|
6012
6083
|
Array.isArray(v["@type"]) &&
|
6013
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
6014
|
-
? await
|
6084
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Organization")
|
6085
|
+
? await Organization.fromJsonLd(v, options)
|
6015
6086
|
: typeof v === "object" && "@type" in v &&
|
6016
6087
|
Array.isArray(v["@type"]) &&
|
6017
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
6018
|
-
? await
|
6019
|
-
:
|
6020
|
-
|
6021
|
-
|
6022
|
-
|
6088
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Person")
|
6089
|
+
? await Person.fromJsonLd(v, options)
|
6090
|
+
: typeof v === "object" && "@type" in v &&
|
6091
|
+
Array.isArray(v["@type"]) &&
|
6092
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Service")
|
6093
|
+
? await Service.fromJsonLd(v, options)
|
6094
|
+
: undefined;
|
6095
|
+
if (typeof decoded === "undefined")
|
6096
|
+
continue;
|
6097
|
+
_2yr3eUBTP6cNcyaxKzAXWjFsnGzN.push(decoded);
|
6098
|
+
}
|
6023
6099
|
}
|
6024
6100
|
instance.#_2yr3eUBTP6cNcyaxKzAXWjFsnGzN = _2yr3eUBTP6cNcyaxKzAXWjFsnGzN;
|
6025
6101
|
const _4XLHbsR2gLVWU3NpEqKt9wANzn4F = [];
|
6026
6102
|
const _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array = values["https://w3id.org/security#publicKeyMultibase"];
|
6027
|
-
|
6028
|
-
|
6029
|
-
|
6030
|
-
|
6103
|
+
if (_4XLHbsR2gLVWU3NpEqKt9wANzn4F__array != null) {
|
6104
|
+
for (const v of _4XLHbsR2gLVWU3NpEqKt9wANzn4F__array) {
|
6105
|
+
if (v == null)
|
6106
|
+
continue;
|
6107
|
+
_4XLHbsR2gLVWU3NpEqKt9wANzn4F.push(await importMultibaseKey(v["@value"]));
|
6108
|
+
}
|
6031
6109
|
}
|
6032
6110
|
instance.#_4XLHbsR2gLVWU3NpEqKt9wANzn4F = _4XLHbsR2gLVWU3NpEqKt9wANzn4F;
|
6033
6111
|
return instance;
|
@@ -7197,103 +7275,115 @@ export class Activity extends Object {
|
|
7197
7275
|
}
|
7198
7276
|
const _2DjTTboo3CNHU2a2JQqUSE2dbv9D = [];
|
7199
7277
|
const _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array = values["https://www.w3.org/ns/activitystreams#actor"];
|
7200
|
-
|
7201
|
-
|
7202
|
-
|
7203
|
-
|
7204
|
-
|
7205
|
-
|
7206
|
-
|
7207
|
-
|
7208
|
-
|
7209
|
-
|
7210
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
7211
|
-
? await Application.fromJsonLd(v, options)
|
7212
|
-
: typeof v === "object" && "@type" in v &&
|
7278
|
+
if (_2DjTTboo3CNHU2a2JQqUSE2dbv9D__array != null) {
|
7279
|
+
for (const v of _2DjTTboo3CNHU2a2JQqUSE2dbv9D__array) {
|
7280
|
+
if (v == null)
|
7281
|
+
continue;
|
7282
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7283
|
+
globalThis.Object.keys(v).length === 1) {
|
7284
|
+
_2DjTTboo3CNHU2a2JQqUSE2dbv9D.push(new URL(v["@id"]));
|
7285
|
+
continue;
|
7286
|
+
}
|
7287
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
7213
7288
|
Array.isArray(v["@type"]) &&
|
7214
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
7215
|
-
? await
|
7289
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Application")
|
7290
|
+
? await Application.fromJsonLd(v, options)
|
7216
7291
|
: typeof v === "object" && "@type" in v &&
|
7217
7292
|
Array.isArray(v["@type"]) &&
|
7218
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
7219
|
-
? await
|
7293
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Group")
|
7294
|
+
? await Group.fromJsonLd(v, options)
|
7220
7295
|
: typeof v === "object" && "@type" in v &&
|
7221
7296
|
Array.isArray(v["@type"]) &&
|
7222
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
7223
|
-
? await
|
7297
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Organization")
|
7298
|
+
? await Organization.fromJsonLd(v, options)
|
7224
7299
|
: typeof v === "object" && "@type" in v &&
|
7225
7300
|
Array.isArray(v["@type"]) &&
|
7226
|
-
v["@type"].includes("https://www.w3.org/ns/activitystreams#
|
7227
|
-
? await
|
7228
|
-
:
|
7229
|
-
|
7230
|
-
|
7231
|
-
|
7301
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Person")
|
7302
|
+
? await Person.fromJsonLd(v, options)
|
7303
|
+
: typeof v === "object" && "@type" in v &&
|
7304
|
+
Array.isArray(v["@type"]) &&
|
7305
|
+
v["@type"].includes("https://www.w3.org/ns/activitystreams#Service")
|
7306
|
+
? await Service.fromJsonLd(v, options)
|
7307
|
+
: undefined;
|
7308
|
+
if (typeof decoded === "undefined")
|
7309
|
+
continue;
|
7310
|
+
_2DjTTboo3CNHU2a2JQqUSE2dbv9D.push(decoded);
|
7311
|
+
}
|
7232
7312
|
}
|
7233
7313
|
instance.#_2DjTTboo3CNHU2a2JQqUSE2dbv9D = _2DjTTboo3CNHU2a2JQqUSE2dbv9D;
|
7234
7314
|
const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
|
7235
7315
|
const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
|
7236
|
-
|
7237
|
-
|
7238
|
-
|
7239
|
-
|
7240
|
-
|
7241
|
-
|
7242
|
-
|
7316
|
+
if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array != null) {
|
7317
|
+
for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
|
7318
|
+
if (v == null)
|
7319
|
+
continue;
|
7320
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7321
|
+
globalThis.Object.keys(v).length === 1) {
|
7322
|
+
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(new URL(v["@id"]));
|
7323
|
+
continue;
|
7324
|
+
}
|
7325
|
+
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
|
7243
7326
|
}
|
7244
|
-
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
|
7245
7327
|
}
|
7246
7328
|
instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
|
7247
7329
|
const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = [];
|
7248
7330
|
const _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array = values["https://www.w3.org/ns/activitystreams#target"];
|
7249
|
-
|
7250
|
-
|
7251
|
-
|
7252
|
-
|
7253
|
-
|
7254
|
-
|
7255
|
-
|
7331
|
+
if (_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array != null) {
|
7332
|
+
for (const v of _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF__array) {
|
7333
|
+
if (v == null)
|
7334
|
+
continue;
|
7335
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7336
|
+
globalThis.Object.keys(v).length === 1) {
|
7337
|
+
_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(new URL(v["@id"]));
|
7338
|
+
continue;
|
7339
|
+
}
|
7340
|
+
_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(await Object.fromJsonLd(v, options));
|
7256
7341
|
}
|
7257
|
-
_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF.push(await Object.fromJsonLd(v, options));
|
7258
7342
|
}
|
7259
7343
|
instance.#_3JQCmF2Ww56Ag9EWRYoSZRDNCYtF = _3JQCmF2Ww56Ag9EWRYoSZRDNCYtF;
|
7260
7344
|
const _u4QGFbRFcYmPEKGbPv1hpBR9r5G = [];
|
7261
7345
|
const _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array = values["https://www.w3.org/ns/activitystreams#result"];
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7265
|
-
|
7266
|
-
|
7267
|
-
|
7268
|
-
|
7346
|
+
if (_u4QGFbRFcYmPEKGbPv1hpBR9r5G__array != null) {
|
7347
|
+
for (const v of _u4QGFbRFcYmPEKGbPv1hpBR9r5G__array) {
|
7348
|
+
if (v == null)
|
7349
|
+
continue;
|
7350
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7351
|
+
globalThis.Object.keys(v).length === 1) {
|
7352
|
+
_u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(new URL(v["@id"]));
|
7353
|
+
continue;
|
7354
|
+
}
|
7355
|
+
_u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(await Object.fromJsonLd(v, options));
|
7269
7356
|
}
|
7270
|
-
_u4QGFbRFcYmPEKGbPv1hpBR9r5G.push(await Object.fromJsonLd(v, options));
|
7271
7357
|
}
|
7272
7358
|
instance.#_u4QGFbRFcYmPEKGbPv1hpBR9r5G = _u4QGFbRFcYmPEKGbPv1hpBR9r5G;
|
7273
7359
|
const _25zu2s3VxVujgEKqrDycjE284XQR = [];
|
7274
7360
|
const _25zu2s3VxVujgEKqrDycjE284XQR__array = values["https://www.w3.org/ns/activitystreams#origin"];
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7278
|
-
|
7279
|
-
|
7280
|
-
|
7281
|
-
|
7361
|
+
if (_25zu2s3VxVujgEKqrDycjE284XQR__array != null) {
|
7362
|
+
for (const v of _25zu2s3VxVujgEKqrDycjE284XQR__array) {
|
7363
|
+
if (v == null)
|
7364
|
+
continue;
|
7365
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7366
|
+
globalThis.Object.keys(v).length === 1) {
|
7367
|
+
_25zu2s3VxVujgEKqrDycjE284XQR.push(new URL(v["@id"]));
|
7368
|
+
continue;
|
7369
|
+
}
|
7370
|
+
_25zu2s3VxVujgEKqrDycjE284XQR.push(await Object.fromJsonLd(v, options));
|
7282
7371
|
}
|
7283
|
-
_25zu2s3VxVujgEKqrDycjE284XQR.push(await Object.fromJsonLd(v, options));
|
7284
7372
|
}
|
7285
7373
|
instance.#_25zu2s3VxVujgEKqrDycjE284XQR = _25zu2s3VxVujgEKqrDycjE284XQR;
|
7286
7374
|
const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ = [];
|
7287
7375
|
const _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array = values["https://www.w3.org/ns/activitystreams#instrument"];
|
7288
|
-
|
7289
|
-
|
7290
|
-
|
7291
|
-
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7376
|
+
if (_3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array != null) {
|
7377
|
+
for (const v of _3c5t2x7DYRo2shwTxpkd4kYSS5WQ__array) {
|
7378
|
+
if (v == null)
|
7379
|
+
continue;
|
7380
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
7381
|
+
globalThis.Object.keys(v).length === 1) {
|
7382
|
+
_3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(new URL(v["@id"]));
|
7383
|
+
continue;
|
7384
|
+
}
|
7385
|
+
_3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(await Object.fromJsonLd(v, options));
|
7295
7386
|
}
|
7296
|
-
_3c5t2x7DYRo2shwTxpkd4kYSS5WQ.push(await Object.fromJsonLd(v, options));
|
7297
7387
|
}
|
7298
7388
|
instance.#_3c5t2x7DYRo2shwTxpkd4kYSS5WQ = _3c5t2x7DYRo2shwTxpkd4kYSS5WQ;
|
7299
7389
|
return instance;
|
@@ -9133,185 +9223,217 @@ export class Application extends Object {
|
|
9133
9223
|
}
|
9134
9224
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
|
9135
9225
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
|
9136
|
-
|
9137
|
-
|
9138
|
-
|
9139
|
-
|
9140
|
-
typeof v
|
9141
|
-
|
9142
|
-
|
9143
|
-
typeof v
|
9144
|
-
|
9145
|
-
|
9146
|
-
|
9147
|
-
|
9148
|
-
|
9149
|
-
|
9226
|
+
if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array != null) {
|
9227
|
+
for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
|
9228
|
+
if (v == null)
|
9229
|
+
continue;
|
9230
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
9231
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
9232
|
+
? v["@value"]
|
9233
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
9234
|
+
typeof v["@language"] === "string" &&
|
9235
|
+
typeof v["@value"] === "string"
|
9236
|
+
? new LanguageString(v["@value"], v["@language"])
|
9237
|
+
: undefined;
|
9238
|
+
if (typeof decoded === "undefined")
|
9239
|
+
continue;
|
9240
|
+
_3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
|
9241
|
+
}
|
9150
9242
|
}
|
9151
9243
|
instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
|
9152
9244
|
const _axq166E2eZADq34V4MYUc8KMZdC = [];
|
9153
9245
|
const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
|
9154
|
-
|
9155
|
-
|
9156
|
-
|
9157
|
-
|
9158
|
-
|
9159
|
-
|
9160
|
-
|
9246
|
+
if (_axq166E2eZADq34V4MYUc8KMZdC__array != null) {
|
9247
|
+
for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
|
9248
|
+
if (v == null)
|
9249
|
+
continue;
|
9250
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9251
|
+
globalThis.Object.keys(v).length === 1) {
|
9252
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(new URL(v["@id"]));
|
9253
|
+
continue;
|
9254
|
+
}
|
9255
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
9161
9256
|
}
|
9162
|
-
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
9163
9257
|
}
|
9164
9258
|
instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
|
9165
9259
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
|
9166
9260
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
|
9167
|
-
|
9168
|
-
|
9169
|
-
|
9170
|
-
|
9171
|
-
|
9172
|
-
|
9173
|
-
|
9261
|
+
if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array != null) {
|
9262
|
+
for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
|
9263
|
+
if (v == null)
|
9264
|
+
continue;
|
9265
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9266
|
+
globalThis.Object.keys(v).length === 1) {
|
9267
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(new URL(v["@id"]));
|
9268
|
+
continue;
|
9269
|
+
}
|
9270
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
9174
9271
|
}
|
9175
|
-
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
9176
9272
|
}
|
9177
9273
|
instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
|
9178
9274
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
|
9179
9275
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
|
9180
|
-
|
9181
|
-
|
9182
|
-
|
9183
|
-
|
9276
|
+
if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array != null) {
|
9277
|
+
for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
|
9278
|
+
if (v == null)
|
9279
|
+
continue;
|
9280
|
+
_36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
|
9281
|
+
}
|
9184
9282
|
}
|
9185
9283
|
instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
|
9186
9284
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
|
9187
9285
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
|
9188
|
-
|
9189
|
-
|
9190
|
-
|
9191
|
-
|
9192
|
-
|
9193
|
-
|
9194
|
-
|
9286
|
+
if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array != null) {
|
9287
|
+
for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
|
9288
|
+
if (v == null)
|
9289
|
+
continue;
|
9290
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9291
|
+
globalThis.Object.keys(v).length === 1) {
|
9292
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(new URL(v["@id"]));
|
9293
|
+
continue;
|
9294
|
+
}
|
9295
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
9195
9296
|
}
|
9196
|
-
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
9197
9297
|
}
|
9198
9298
|
instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
|
9199
9299
|
const _41QwhqJouoLg3h8dRPKat21brynC = [];
|
9200
9300
|
const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
|
9201
|
-
|
9202
|
-
|
9203
|
-
|
9204
|
-
|
9205
|
-
|
9206
|
-
|
9207
|
-
|
9301
|
+
if (_41QwhqJouoLg3h8dRPKat21brynC__array != null) {
|
9302
|
+
for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
|
9303
|
+
if (v == null)
|
9304
|
+
continue;
|
9305
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9306
|
+
globalThis.Object.keys(v).length === 1) {
|
9307
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(new URL(v["@id"]));
|
9308
|
+
continue;
|
9309
|
+
}
|
9310
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
9208
9311
|
}
|
9209
|
-
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
9210
9312
|
}
|
9211
9313
|
instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
|
9212
9314
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
|
9213
9315
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9217
|
-
|
9218
|
-
|
9219
|
-
|
9220
|
-
|
9316
|
+
if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array != null) {
|
9317
|
+
for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
|
9318
|
+
if (v == null)
|
9319
|
+
continue;
|
9320
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9321
|
+
globalThis.Object.keys(v).length === 1) {
|
9322
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(new URL(v["@id"]));
|
9323
|
+
continue;
|
9324
|
+
}
|
9325
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
9221
9326
|
}
|
9222
|
-
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
9223
9327
|
}
|
9224
9328
|
instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
|
9225
9329
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
|
9226
9330
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
|
9227
|
-
|
9228
|
-
|
9229
|
-
|
9230
|
-
|
9231
|
-
|
9232
|
-
|
9233
|
-
|
9331
|
+
if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array != null) {
|
9332
|
+
for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
|
9333
|
+
if (v == null)
|
9334
|
+
continue;
|
9335
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9336
|
+
globalThis.Object.keys(v).length === 1) {
|
9337
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(new URL(v["@id"]));
|
9338
|
+
continue;
|
9339
|
+
}
|
9340
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
9234
9341
|
}
|
9235
|
-
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
9236
9342
|
}
|
9237
9343
|
instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
|
9238
9344
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
|
9239
9345
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
|
9240
|
-
|
9241
|
-
|
9242
|
-
|
9243
|
-
|
9244
|
-
|
9245
|
-
|
9246
|
-
|
9346
|
+
if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array != null) {
|
9347
|
+
for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
|
9348
|
+
if (v == null)
|
9349
|
+
continue;
|
9350
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9351
|
+
globalThis.Object.keys(v).length === 1) {
|
9352
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(new URL(v["@id"]));
|
9353
|
+
continue;
|
9354
|
+
}
|
9355
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
9247
9356
|
}
|
9248
|
-
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
9249
9357
|
}
|
9250
9358
|
instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
|
9251
9359
|
const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
|
9252
9360
|
const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
|
9253
|
-
|
9254
|
-
|
9255
|
-
|
9256
|
-
|
9257
|
-
|
9258
|
-
|
9259
|
-
|
9361
|
+
if (_4N1vBJzXDf8NbBumeECQMFvKetja__array != null) {
|
9362
|
+
for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
|
9363
|
+
if (v == null)
|
9364
|
+
continue;
|
9365
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9366
|
+
globalThis.Object.keys(v).length === 1) {
|
9367
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(new URL(v["@id"]));
|
9368
|
+
continue;
|
9369
|
+
}
|
9370
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
9260
9371
|
}
|
9261
|
-
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
9262
9372
|
}
|
9263
9373
|
instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
|
9264
9374
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
|
9265
9375
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
|
9266
|
-
|
9267
|
-
|
9268
|
-
|
9269
|
-
|
9270
|
-
|
9271
|
-
|
9272
|
-
|
9376
|
+
if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array != null) {
|
9377
|
+
for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
|
9378
|
+
if (v == null)
|
9379
|
+
continue;
|
9380
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
9381
|
+
globalThis.Object.keys(v).length === 1) {
|
9382
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(new URL(v["@id"]));
|
9383
|
+
continue;
|
9384
|
+
}
|
9385
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
9273
9386
|
}
|
9274
|
-
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
9275
9387
|
}
|
9276
9388
|
instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
|
9277
9389
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
|
9278
9390
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
|
9279
|
-
|
9280
|
-
|
9281
|
-
|
9282
|
-
|
9391
|
+
if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array != null) {
|
9392
|
+
for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
|
9393
|
+
if (v == null)
|
9394
|
+
continue;
|
9395
|
+
_sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
|
9396
|
+
}
|
9283
9397
|
}
|
9284
9398
|
instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
|
9285
9399
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
|
9286
9400
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
|
9287
|
-
|
9288
|
-
|
9289
|
-
|
9290
|
-
|
9401
|
+
if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array != null) {
|
9402
|
+
for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
|
9403
|
+
if (v == null)
|
9404
|
+
continue;
|
9405
|
+
_gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
|
9406
|
+
}
|
9291
9407
|
}
|
9292
9408
|
instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
|
9293
9409
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
|
9294
9410
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
|
9295
|
-
|
9296
|
-
|
9297
|
-
|
9298
|
-
|
9411
|
+
if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array != null) {
|
9412
|
+
for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
|
9413
|
+
if (v == null)
|
9414
|
+
continue;
|
9415
|
+
_2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
|
9416
|
+
}
|
9299
9417
|
}
|
9300
9418
|
instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
|
9301
9419
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
|
9302
9420
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
|
9303
|
-
|
9304
|
-
|
9305
|
-
|
9306
|
-
|
9421
|
+
if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array != null) {
|
9422
|
+
for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
|
9423
|
+
if (v == null)
|
9424
|
+
continue;
|
9425
|
+
_79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
|
9426
|
+
}
|
9307
9427
|
}
|
9308
9428
|
instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
|
9309
9429
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
|
9310
9430
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
|
9311
|
-
|
9312
|
-
|
9313
|
-
|
9314
|
-
|
9431
|
+
if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array != null) {
|
9432
|
+
for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
|
9433
|
+
if (v == null)
|
9434
|
+
continue;
|
9435
|
+
_2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
|
9436
|
+
}
|
9315
9437
|
}
|
9316
9438
|
instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
|
9317
9439
|
return instance;
|
@@ -10071,18 +10193,22 @@ export class Document extends Object {
|
|
10071
10193
|
}
|
10072
10194
|
const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
|
10073
10195
|
const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
|
10074
|
-
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10196
|
+
if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array != null) {
|
10197
|
+
for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
|
10198
|
+
if (v == null)
|
10199
|
+
continue;
|
10200
|
+
_2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
|
10201
|
+
}
|
10078
10202
|
}
|
10079
10203
|
instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
|
10080
10204
|
const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
|
10081
10205
|
const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
|
10082
|
-
|
10083
|
-
|
10084
|
-
|
10085
|
-
|
10206
|
+
if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array != null) {
|
10207
|
+
for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
|
10208
|
+
if (v == null)
|
10209
|
+
continue;
|
10210
|
+
_2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
|
10211
|
+
}
|
10086
10212
|
}
|
10087
10213
|
instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
|
10088
10214
|
return instance;
|
@@ -10966,62 +11092,72 @@ export class Collection extends Object {
|
|
10966
11092
|
}
|
10967
11093
|
const _XDbmNDuWHmrhqH712zqtecdbv1V = [];
|
10968
11094
|
const _XDbmNDuWHmrhqH712zqtecdbv1V__array = values["https://www.w3.org/ns/activitystreams#totalItems"];
|
10969
|
-
|
10970
|
-
|
10971
|
-
|
10972
|
-
|
11095
|
+
if (_XDbmNDuWHmrhqH712zqtecdbv1V__array != null) {
|
11096
|
+
for (const v of _XDbmNDuWHmrhqH712zqtecdbv1V__array) {
|
11097
|
+
if (v == null)
|
11098
|
+
continue;
|
11099
|
+
_XDbmNDuWHmrhqH712zqtecdbv1V.push(v["@value"]);
|
11100
|
+
}
|
10973
11101
|
}
|
10974
11102
|
instance.#_XDbmNDuWHmrhqH712zqtecdbv1V = _XDbmNDuWHmrhqH712zqtecdbv1V;
|
10975
11103
|
const _3UyUdxnyn6cDn53QKrh4MBiearma = [];
|
10976
11104
|
const _3UyUdxnyn6cDn53QKrh4MBiearma__array = values["https://www.w3.org/ns/activitystreams#current"];
|
10977
|
-
|
10978
|
-
|
10979
|
-
|
10980
|
-
|
10981
|
-
|
10982
|
-
|
10983
|
-
|
11105
|
+
if (_3UyUdxnyn6cDn53QKrh4MBiearma__array != null) {
|
11106
|
+
for (const v of _3UyUdxnyn6cDn53QKrh4MBiearma__array) {
|
11107
|
+
if (v == null)
|
11108
|
+
continue;
|
11109
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11110
|
+
globalThis.Object.keys(v).length === 1) {
|
11111
|
+
_3UyUdxnyn6cDn53QKrh4MBiearma.push(new URL(v["@id"]));
|
11112
|
+
continue;
|
11113
|
+
}
|
11114
|
+
_3UyUdxnyn6cDn53QKrh4MBiearma.push(await CollectionPage.fromJsonLd(v, options));
|
10984
11115
|
}
|
10985
|
-
_3UyUdxnyn6cDn53QKrh4MBiearma.push(await CollectionPage.fromJsonLd(v, options));
|
10986
11116
|
}
|
10987
11117
|
instance.#_3UyUdxnyn6cDn53QKrh4MBiearma = _3UyUdxnyn6cDn53QKrh4MBiearma;
|
10988
11118
|
const _J52RqweMe6hhv7RnLJMC8BExTE5 = [];
|
10989
11119
|
const _J52RqweMe6hhv7RnLJMC8BExTE5__array = values["https://www.w3.org/ns/activitystreams#first"];
|
10990
|
-
|
10991
|
-
|
10992
|
-
|
10993
|
-
|
10994
|
-
|
10995
|
-
|
10996
|
-
|
11120
|
+
if (_J52RqweMe6hhv7RnLJMC8BExTE5__array != null) {
|
11121
|
+
for (const v of _J52RqweMe6hhv7RnLJMC8BExTE5__array) {
|
11122
|
+
if (v == null)
|
11123
|
+
continue;
|
11124
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11125
|
+
globalThis.Object.keys(v).length === 1) {
|
11126
|
+
_J52RqweMe6hhv7RnLJMC8BExTE5.push(new URL(v["@id"]));
|
11127
|
+
continue;
|
11128
|
+
}
|
11129
|
+
_J52RqweMe6hhv7RnLJMC8BExTE5.push(await CollectionPage.fromJsonLd(v, options));
|
10997
11130
|
}
|
10998
|
-
_J52RqweMe6hhv7RnLJMC8BExTE5.push(await CollectionPage.fromJsonLd(v, options));
|
10999
11131
|
}
|
11000
11132
|
instance.#_J52RqweMe6hhv7RnLJMC8BExTE5 = _J52RqweMe6hhv7RnLJMC8BExTE5;
|
11001
11133
|
const _gyJJnyEFnuNVi1HFZKfAn3Hfn26 = [];
|
11002
11134
|
const _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array = values["https://www.w3.org/ns/activitystreams#last"];
|
11003
|
-
|
11004
|
-
|
11005
|
-
|
11006
|
-
|
11007
|
-
|
11008
|
-
|
11009
|
-
|
11135
|
+
if (_gyJJnyEFnuNVi1HFZKfAn3Hfn26__array != null) {
|
11136
|
+
for (const v of _gyJJnyEFnuNVi1HFZKfAn3Hfn26__array) {
|
11137
|
+
if (v == null)
|
11138
|
+
continue;
|
11139
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11140
|
+
globalThis.Object.keys(v).length === 1) {
|
11141
|
+
_gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(new URL(v["@id"]));
|
11142
|
+
continue;
|
11143
|
+
}
|
11144
|
+
_gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(await CollectionPage.fromJsonLd(v, options));
|
11010
11145
|
}
|
11011
|
-
_gyJJnyEFnuNVi1HFZKfAn3Hfn26.push(await CollectionPage.fromJsonLd(v, options));
|
11012
11146
|
}
|
11013
11147
|
instance.#_gyJJnyEFnuNVi1HFZKfAn3Hfn26 = _gyJJnyEFnuNVi1HFZKfAn3Hfn26;
|
11014
11148
|
const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
|
11015
11149
|
const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
|
11016
|
-
|
11017
|
-
|
11018
|
-
|
11019
|
-
|
11020
|
-
|
11021
|
-
|
11022
|
-
|
11150
|
+
if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array != null) {
|
11151
|
+
for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
|
11152
|
+
if (v == null)
|
11153
|
+
continue;
|
11154
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11155
|
+
globalThis.Object.keys(v).length === 1) {
|
11156
|
+
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(new URL(v["@id"]));
|
11157
|
+
continue;
|
11158
|
+
}
|
11159
|
+
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
|
11023
11160
|
}
|
11024
|
-
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg.push(await Object.fromJsonLd(v, options));
|
11025
11161
|
}
|
11026
11162
|
instance.#_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg;
|
11027
11163
|
return instance;
|
@@ -11457,41 +11593,47 @@ export class CollectionPage extends Collection {
|
|
11457
11593
|
}
|
11458
11594
|
const _2kWgBhQKjEauxx8C6qF3ZQamK4Le = [];
|
11459
11595
|
const _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array = values["https://www.w3.org/ns/activitystreams#partOf"];
|
11460
|
-
|
11461
|
-
|
11462
|
-
|
11463
|
-
|
11464
|
-
|
11465
|
-
|
11466
|
-
|
11596
|
+
if (_2kWgBhQKjEauxx8C6qF3ZQamK4Le__array != null) {
|
11597
|
+
for (const v of _2kWgBhQKjEauxx8C6qF3ZQamK4Le__array) {
|
11598
|
+
if (v == null)
|
11599
|
+
continue;
|
11600
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11601
|
+
globalThis.Object.keys(v).length === 1) {
|
11602
|
+
_2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(new URL(v["@id"]));
|
11603
|
+
continue;
|
11604
|
+
}
|
11605
|
+
_2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(await Collection.fromJsonLd(v, options));
|
11467
11606
|
}
|
11468
|
-
_2kWgBhQKjEauxx8C6qF3ZQamK4Le.push(await Collection.fromJsonLd(v, options));
|
11469
11607
|
}
|
11470
11608
|
instance.#_2kWgBhQKjEauxx8C6qF3ZQamK4Le = _2kWgBhQKjEauxx8C6qF3ZQamK4Le;
|
11471
11609
|
const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY = [];
|
11472
11610
|
const _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array = values["https://www.w3.org/ns/activitystreams#next"];
|
11473
|
-
|
11474
|
-
|
11475
|
-
|
11476
|
-
|
11477
|
-
|
11478
|
-
|
11479
|
-
|
11611
|
+
if (_3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array != null) {
|
11612
|
+
for (const v of _3BT4kQLcXhHx7TAWaNDKh8nFn9eY__array) {
|
11613
|
+
if (v == null)
|
11614
|
+
continue;
|
11615
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11616
|
+
globalThis.Object.keys(v).length === 1) {
|
11617
|
+
_3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(new URL(v["@id"]));
|
11618
|
+
continue;
|
11619
|
+
}
|
11620
|
+
_3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(await _b.fromJsonLd(v, options));
|
11480
11621
|
}
|
11481
|
-
_3BT4kQLcXhHx7TAWaNDKh8nFn9eY.push(await _b.fromJsonLd(v, options));
|
11482
11622
|
}
|
11483
11623
|
instance.#_3BT4kQLcXhHx7TAWaNDKh8nFn9eY = _3BT4kQLcXhHx7TAWaNDKh8nFn9eY;
|
11484
11624
|
const _3b8yG8tDNzQFFEnWhCc13G8eHooA = [];
|
11485
11625
|
const _3b8yG8tDNzQFFEnWhCc13G8eHooA__array = values["https://www.w3.org/ns/activitystreams#prev"];
|
11486
|
-
|
11487
|
-
|
11488
|
-
|
11489
|
-
|
11490
|
-
|
11491
|
-
|
11492
|
-
|
11626
|
+
if (_3b8yG8tDNzQFFEnWhCc13G8eHooA__array != null) {
|
11627
|
+
for (const v of _3b8yG8tDNzQFFEnWhCc13G8eHooA__array) {
|
11628
|
+
if (v == null)
|
11629
|
+
continue;
|
11630
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
11631
|
+
globalThis.Object.keys(v).length === 1) {
|
11632
|
+
_3b8yG8tDNzQFFEnWhCc13G8eHooA.push(new URL(v["@id"]));
|
11633
|
+
continue;
|
11634
|
+
}
|
11635
|
+
_3b8yG8tDNzQFFEnWhCc13G8eHooA.push(await _b.fromJsonLd(v, options));
|
11493
11636
|
}
|
11494
|
-
_3b8yG8tDNzQFFEnWhCc13G8eHooA.push(await _b.fromJsonLd(v, options));
|
11495
11637
|
}
|
11496
11638
|
instance.#_3b8yG8tDNzQFFEnWhCc13G8eHooA = _3b8yG8tDNzQFFEnWhCc13G8eHooA;
|
11497
11639
|
return instance;
|
@@ -12235,50 +12377,62 @@ export class Endpoints {
|
|
12235
12377
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
12236
12378
|
const _2JCYDbSxEHCCLdBYed33cCETfGyR = [];
|
12237
12379
|
const _2JCYDbSxEHCCLdBYed33cCETfGyR__array = values["https://www.w3.org/ns/activitystreams#proxyUrl"];
|
12238
|
-
|
12239
|
-
|
12240
|
-
|
12241
|
-
|
12380
|
+
if (_2JCYDbSxEHCCLdBYed33cCETfGyR__array != null) {
|
12381
|
+
for (const v of _2JCYDbSxEHCCLdBYed33cCETfGyR__array) {
|
12382
|
+
if (v == null)
|
12383
|
+
continue;
|
12384
|
+
_2JCYDbSxEHCCLdBYed33cCETfGyR.push(new URL(v["@id"]));
|
12385
|
+
}
|
12242
12386
|
}
|
12243
12387
|
instance.#_2JCYDbSxEHCCLdBYed33cCETfGyR = _2JCYDbSxEHCCLdBYed33cCETfGyR;
|
12244
12388
|
const _25S6UmgzDead8hxL5sQFezZTAusd = [];
|
12245
12389
|
const _25S6UmgzDead8hxL5sQFezZTAusd__array = values["https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint"];
|
12246
|
-
|
12247
|
-
|
12248
|
-
|
12249
|
-
|
12390
|
+
if (_25S6UmgzDead8hxL5sQFezZTAusd__array != null) {
|
12391
|
+
for (const v of _25S6UmgzDead8hxL5sQFezZTAusd__array) {
|
12392
|
+
if (v == null)
|
12393
|
+
continue;
|
12394
|
+
_25S6UmgzDead8hxL5sQFezZTAusd.push(new URL(v["@id"]));
|
12395
|
+
}
|
12250
12396
|
}
|
12251
12397
|
instance.#_25S6UmgzDead8hxL5sQFezZTAusd = _25S6UmgzDead8hxL5sQFezZTAusd;
|
12252
12398
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = [];
|
12253
12399
|
const _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array = values["https://www.w3.org/ns/activitystreams#oauthTokenEndpoint"];
|
12254
|
-
|
12255
|
-
|
12256
|
-
|
12257
|
-
|
12400
|
+
if (_iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array != null) {
|
12401
|
+
for (const v of _iAMxqrSba7yBCRB1FZ5kEVdKEZ3__array) {
|
12402
|
+
if (v == null)
|
12403
|
+
continue;
|
12404
|
+
_iAMxqrSba7yBCRB1FZ5kEVdKEZ3.push(new URL(v["@id"]));
|
12405
|
+
}
|
12258
12406
|
}
|
12259
12407
|
instance.#_iAMxqrSba7yBCRB1FZ5kEVdKEZ3 = _iAMxqrSba7yBCRB1FZ5kEVdKEZ3;
|
12260
12408
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr = [];
|
12261
12409
|
const _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array = values["https://www.w3.org/ns/activitystreams#provideClientKey"];
|
12262
|
-
|
12263
|
-
|
12264
|
-
|
12265
|
-
|
12410
|
+
if (_8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array != null) {
|
12411
|
+
for (const v of _8Bx9qN8oU7Bpt2xi6khaxWp1gMr__array) {
|
12412
|
+
if (v == null)
|
12413
|
+
continue;
|
12414
|
+
_8Bx9qN8oU7Bpt2xi6khaxWp1gMr.push(new URL(v["@id"]));
|
12415
|
+
}
|
12266
12416
|
}
|
12267
12417
|
instance.#_8Bx9qN8oU7Bpt2xi6khaxWp1gMr = _8Bx9qN8oU7Bpt2xi6khaxWp1gMr;
|
12268
12418
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS = [];
|
12269
12419
|
const _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array = values["https://www.w3.org/ns/activitystreams#signClientKey"];
|
12270
|
-
|
12271
|
-
|
12272
|
-
|
12273
|
-
|
12420
|
+
if (_3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array != null) {
|
12421
|
+
for (const v of _3dU7PMVQZJpsCpo2F4RQXxBXdPmS__array) {
|
12422
|
+
if (v == null)
|
12423
|
+
continue;
|
12424
|
+
_3dU7PMVQZJpsCpo2F4RQXxBXdPmS.push(new URL(v["@id"]));
|
12425
|
+
}
|
12274
12426
|
}
|
12275
12427
|
instance.#_3dU7PMVQZJpsCpo2F4RQXxBXdPmS = _3dU7PMVQZJpsCpo2F4RQXxBXdPmS;
|
12276
12428
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc = [];
|
12277
12429
|
const _3JprUSDLVqqX4dwHRi37qGZZCRCc__array = values["https://www.w3.org/ns/activitystreams#sharedInbox"];
|
12278
|
-
|
12279
|
-
|
12280
|
-
|
12281
|
-
|
12430
|
+
if (_3JprUSDLVqqX4dwHRi37qGZZCRCc__array != null) {
|
12431
|
+
for (const v of _3JprUSDLVqqX4dwHRi37qGZZCRCc__array) {
|
12432
|
+
if (v == null)
|
12433
|
+
continue;
|
12434
|
+
_3JprUSDLVqqX4dwHRi37qGZZCRCc.push(new URL(v["@id"]));
|
12435
|
+
}
|
12282
12436
|
}
|
12283
12437
|
instance.#_3JprUSDLVqqX4dwHRi37qGZZCRCc = _3JprUSDLVqqX4dwHRi37qGZZCRCc;
|
12284
12438
|
return instance;
|
@@ -14086,185 +14240,217 @@ export class Group extends Object {
|
|
14086
14240
|
}
|
14087
14241
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
|
14088
14242
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
|
14089
|
-
|
14090
|
-
|
14091
|
-
|
14092
|
-
|
14093
|
-
typeof v
|
14094
|
-
|
14095
|
-
|
14096
|
-
typeof v
|
14097
|
-
|
14098
|
-
|
14099
|
-
|
14100
|
-
|
14101
|
-
|
14102
|
-
|
14243
|
+
if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array != null) {
|
14244
|
+
for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
|
14245
|
+
if (v == null)
|
14246
|
+
continue;
|
14247
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
14248
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
14249
|
+
? v["@value"]
|
14250
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
14251
|
+
typeof v["@language"] === "string" &&
|
14252
|
+
typeof v["@value"] === "string"
|
14253
|
+
? new LanguageString(v["@value"], v["@language"])
|
14254
|
+
: undefined;
|
14255
|
+
if (typeof decoded === "undefined")
|
14256
|
+
continue;
|
14257
|
+
_3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
|
14258
|
+
}
|
14103
14259
|
}
|
14104
14260
|
instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
|
14105
14261
|
const _axq166E2eZADq34V4MYUc8KMZdC = [];
|
14106
14262
|
const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
|
14107
|
-
|
14108
|
-
|
14109
|
-
|
14110
|
-
|
14111
|
-
|
14112
|
-
|
14113
|
-
|
14263
|
+
if (_axq166E2eZADq34V4MYUc8KMZdC__array != null) {
|
14264
|
+
for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
|
14265
|
+
if (v == null)
|
14266
|
+
continue;
|
14267
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14268
|
+
globalThis.Object.keys(v).length === 1) {
|
14269
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(new URL(v["@id"]));
|
14270
|
+
continue;
|
14271
|
+
}
|
14272
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
14114
14273
|
}
|
14115
|
-
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
14116
14274
|
}
|
14117
14275
|
instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
|
14118
14276
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
|
14119
14277
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
|
14120
|
-
|
14121
|
-
|
14122
|
-
|
14123
|
-
|
14124
|
-
|
14125
|
-
|
14126
|
-
|
14278
|
+
if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array != null) {
|
14279
|
+
for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
|
14280
|
+
if (v == null)
|
14281
|
+
continue;
|
14282
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14283
|
+
globalThis.Object.keys(v).length === 1) {
|
14284
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(new URL(v["@id"]));
|
14285
|
+
continue;
|
14286
|
+
}
|
14287
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
14127
14288
|
}
|
14128
|
-
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
14129
14289
|
}
|
14130
14290
|
instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
|
14131
14291
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
|
14132
14292
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
|
14133
|
-
|
14134
|
-
|
14135
|
-
|
14136
|
-
|
14293
|
+
if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array != null) {
|
14294
|
+
for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
|
14295
|
+
if (v == null)
|
14296
|
+
continue;
|
14297
|
+
_36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
|
14298
|
+
}
|
14137
14299
|
}
|
14138
14300
|
instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
|
14139
14301
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
|
14140
14302
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
|
14141
|
-
|
14142
|
-
|
14143
|
-
|
14144
|
-
|
14145
|
-
|
14146
|
-
|
14147
|
-
|
14303
|
+
if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array != null) {
|
14304
|
+
for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
|
14305
|
+
if (v == null)
|
14306
|
+
continue;
|
14307
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14308
|
+
globalThis.Object.keys(v).length === 1) {
|
14309
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(new URL(v["@id"]));
|
14310
|
+
continue;
|
14311
|
+
}
|
14312
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
14148
14313
|
}
|
14149
|
-
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
14150
14314
|
}
|
14151
14315
|
instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
|
14152
14316
|
const _41QwhqJouoLg3h8dRPKat21brynC = [];
|
14153
14317
|
const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
|
14154
|
-
|
14155
|
-
|
14156
|
-
|
14157
|
-
|
14158
|
-
|
14159
|
-
|
14160
|
-
|
14318
|
+
if (_41QwhqJouoLg3h8dRPKat21brynC__array != null) {
|
14319
|
+
for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
|
14320
|
+
if (v == null)
|
14321
|
+
continue;
|
14322
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14323
|
+
globalThis.Object.keys(v).length === 1) {
|
14324
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(new URL(v["@id"]));
|
14325
|
+
continue;
|
14326
|
+
}
|
14327
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
14161
14328
|
}
|
14162
|
-
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
14163
14329
|
}
|
14164
14330
|
instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
|
14165
14331
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
|
14166
14332
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
|
14167
|
-
|
14168
|
-
|
14169
|
-
|
14170
|
-
|
14171
|
-
|
14172
|
-
|
14173
|
-
|
14333
|
+
if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array != null) {
|
14334
|
+
for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
|
14335
|
+
if (v == null)
|
14336
|
+
continue;
|
14337
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14338
|
+
globalThis.Object.keys(v).length === 1) {
|
14339
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(new URL(v["@id"]));
|
14340
|
+
continue;
|
14341
|
+
}
|
14342
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
14174
14343
|
}
|
14175
|
-
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
14176
14344
|
}
|
14177
14345
|
instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
|
14178
14346
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
|
14179
14347
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
|
14180
|
-
|
14181
|
-
|
14182
|
-
|
14183
|
-
|
14184
|
-
|
14185
|
-
|
14186
|
-
|
14348
|
+
if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array != null) {
|
14349
|
+
for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
|
14350
|
+
if (v == null)
|
14351
|
+
continue;
|
14352
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14353
|
+
globalThis.Object.keys(v).length === 1) {
|
14354
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(new URL(v["@id"]));
|
14355
|
+
continue;
|
14356
|
+
}
|
14357
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
14187
14358
|
}
|
14188
|
-
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
14189
14359
|
}
|
14190
14360
|
instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
|
14191
14361
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
|
14192
14362
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
|
14193
|
-
|
14194
|
-
|
14195
|
-
|
14196
|
-
|
14197
|
-
|
14198
|
-
|
14199
|
-
|
14363
|
+
if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array != null) {
|
14364
|
+
for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
|
14365
|
+
if (v == null)
|
14366
|
+
continue;
|
14367
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14368
|
+
globalThis.Object.keys(v).length === 1) {
|
14369
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(new URL(v["@id"]));
|
14370
|
+
continue;
|
14371
|
+
}
|
14372
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
14200
14373
|
}
|
14201
|
-
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
14202
14374
|
}
|
14203
14375
|
instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
|
14204
14376
|
const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
|
14205
14377
|
const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
|
14206
|
-
|
14207
|
-
|
14208
|
-
|
14209
|
-
|
14210
|
-
|
14211
|
-
|
14212
|
-
|
14378
|
+
if (_4N1vBJzXDf8NbBumeECQMFvKetja__array != null) {
|
14379
|
+
for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
|
14380
|
+
if (v == null)
|
14381
|
+
continue;
|
14382
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14383
|
+
globalThis.Object.keys(v).length === 1) {
|
14384
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(new URL(v["@id"]));
|
14385
|
+
continue;
|
14386
|
+
}
|
14387
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
14213
14388
|
}
|
14214
|
-
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
14215
14389
|
}
|
14216
14390
|
instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
|
14217
14391
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
|
14218
14392
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
|
14219
|
-
|
14220
|
-
|
14221
|
-
|
14222
|
-
|
14223
|
-
|
14224
|
-
|
14225
|
-
|
14393
|
+
if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array != null) {
|
14394
|
+
for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
|
14395
|
+
if (v == null)
|
14396
|
+
continue;
|
14397
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
14398
|
+
globalThis.Object.keys(v).length === 1) {
|
14399
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(new URL(v["@id"]));
|
14400
|
+
continue;
|
14401
|
+
}
|
14402
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
14226
14403
|
}
|
14227
|
-
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
14228
14404
|
}
|
14229
14405
|
instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
|
14230
14406
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
|
14231
14407
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
|
14232
|
-
|
14233
|
-
|
14234
|
-
|
14235
|
-
|
14408
|
+
if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array != null) {
|
14409
|
+
for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
|
14410
|
+
if (v == null)
|
14411
|
+
continue;
|
14412
|
+
_sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
|
14413
|
+
}
|
14236
14414
|
}
|
14237
14415
|
instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
|
14238
14416
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
|
14239
14417
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
|
14240
|
-
|
14241
|
-
|
14242
|
-
|
14243
|
-
|
14418
|
+
if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array != null) {
|
14419
|
+
for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
|
14420
|
+
if (v == null)
|
14421
|
+
continue;
|
14422
|
+
_gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
|
14423
|
+
}
|
14244
14424
|
}
|
14245
14425
|
instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
|
14246
14426
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
|
14247
14427
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
|
14248
|
-
|
14249
|
-
|
14250
|
-
|
14251
|
-
|
14428
|
+
if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array != null) {
|
14429
|
+
for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
|
14430
|
+
if (v == null)
|
14431
|
+
continue;
|
14432
|
+
_2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
|
14433
|
+
}
|
14252
14434
|
}
|
14253
14435
|
instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
|
14254
14436
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
|
14255
14437
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
|
14256
|
-
|
14257
|
-
|
14258
|
-
|
14259
|
-
|
14438
|
+
if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array != null) {
|
14439
|
+
for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
|
14440
|
+
if (v == null)
|
14441
|
+
continue;
|
14442
|
+
_79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
|
14443
|
+
}
|
14260
14444
|
}
|
14261
14445
|
instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
|
14262
14446
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
|
14263
14447
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
|
14264
|
-
|
14265
|
-
|
14266
|
-
|
14267
|
-
|
14448
|
+
if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array != null) {
|
14449
|
+
for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
|
14450
|
+
if (v == null)
|
14451
|
+
continue;
|
14452
|
+
_2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
|
14453
|
+
}
|
14268
14454
|
}
|
14269
14455
|
instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
|
14270
14456
|
return instance;
|
@@ -15055,140 +15241,156 @@ export class Link {
|
|
15055
15241
|
const instance = new this({ id: "@id" in values ? new URL(values["@id"]) : undefined }, options);
|
15056
15242
|
const _pVjLsybKQdmkjuU7MHjiVmNnuj7 = [];
|
15057
15243
|
const _pVjLsybKQdmkjuU7MHjiVmNnuj7__array = values["https://www.w3.org/ns/activitystreams#href"];
|
15058
|
-
|
15059
|
-
|
15060
|
-
|
15061
|
-
|
15244
|
+
if (_pVjLsybKQdmkjuU7MHjiVmNnuj7__array != null) {
|
15245
|
+
for (const v of _pVjLsybKQdmkjuU7MHjiVmNnuj7__array) {
|
15246
|
+
if (v == null)
|
15247
|
+
continue;
|
15248
|
+
_pVjLsybKQdmkjuU7MHjiVmNnuj7.push(new URL(v["@id"]));
|
15249
|
+
}
|
15062
15250
|
}
|
15063
15251
|
instance.#_pVjLsybKQdmkjuU7MHjiVmNnuj7 = _pVjLsybKQdmkjuU7MHjiVmNnuj7;
|
15064
15252
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ = [];
|
15065
15253
|
const _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array = values["https://www.w3.org/ns/activitystreams#rel"];
|
15066
|
-
|
15067
|
-
|
15068
|
-
|
15069
|
-
|
15254
|
+
if (_2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array != null) {
|
15255
|
+
for (const v of _2a1c5GkfkQsnyyLybF8UXBQfFuHZ__array) {
|
15256
|
+
if (v == null)
|
15257
|
+
continue;
|
15258
|
+
_2a1c5GkfkQsnyyLybF8UXBQfFuHZ.push(v["@value"]);
|
15259
|
+
}
|
15070
15260
|
}
|
15071
15261
|
instance.#_2a1c5GkfkQsnyyLybF8UXBQfFuHZ = _2a1c5GkfkQsnyyLybF8UXBQfFuHZ;
|
15072
15262
|
const _3BLrzmscsjHCw8TF5BHRW9WkPnX8 = [];
|
15073
15263
|
const _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array = values["https://www.w3.org/ns/activitystreams#mediaType"];
|
15074
|
-
|
15075
|
-
|
15076
|
-
|
15077
|
-
|
15264
|
+
if (_3BLrzmscsjHCw8TF5BHRW9WkPnX8__array != null) {
|
15265
|
+
for (const v of _3BLrzmscsjHCw8TF5BHRW9WkPnX8__array) {
|
15266
|
+
if (v == null)
|
15267
|
+
continue;
|
15268
|
+
_3BLrzmscsjHCw8TF5BHRW9WkPnX8.push(v["@value"]);
|
15269
|
+
}
|
15078
15270
|
}
|
15079
15271
|
instance.#_3BLrzmscsjHCw8TF5BHRW9WkPnX8 = _3BLrzmscsjHCw8TF5BHRW9WkPnX8;
|
15080
15272
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav = [];
|
15081
15273
|
const _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array = values["https://www.w3.org/ns/activitystreams#name"];
|
15082
|
-
|
15083
|
-
|
15084
|
-
|
15085
|
-
|
15086
|
-
typeof v
|
15087
|
-
|
15088
|
-
|
15089
|
-
typeof v
|
15090
|
-
|
15091
|
-
|
15092
|
-
|
15093
|
-
|
15094
|
-
|
15095
|
-
|
15274
|
+
if (_4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array != null) {
|
15275
|
+
for (const v of _4ZHbBuK7PrsvGgrjM8wgc6KMWjav__array) {
|
15276
|
+
if (v == null)
|
15277
|
+
continue;
|
15278
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
15279
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
15280
|
+
? v["@value"]
|
15281
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
15282
|
+
typeof v["@language"] === "string" &&
|
15283
|
+
typeof v["@value"] === "string"
|
15284
|
+
? new LanguageString(v["@value"], v["@language"])
|
15285
|
+
: undefined;
|
15286
|
+
if (typeof decoded === "undefined")
|
15287
|
+
continue;
|
15288
|
+
_4ZHbBuK7PrsvGgrjM8wgc6KMWjav.push(decoded);
|
15289
|
+
}
|
15096
15290
|
}
|
15097
15291
|
instance.#_4ZHbBuK7PrsvGgrjM8wgc6KMWjav = _4ZHbBuK7PrsvGgrjM8wgc6KMWjav;
|
15098
15292
|
const _f57HKWCp1YRBbTJE8PF12RbDJGf = [];
|
15099
15293
|
const _f57HKWCp1YRBbTJE8PF12RbDJGf__array = values["https://www.w3.org/ns/activitystreams#hreflang"];
|
15100
|
-
|
15101
|
-
|
15102
|
-
|
15103
|
-
|
15294
|
+
if (_f57HKWCp1YRBbTJE8PF12RbDJGf__array != null) {
|
15295
|
+
for (const v of _f57HKWCp1YRBbTJE8PF12RbDJGf__array) {
|
15296
|
+
if (v == null)
|
15297
|
+
continue;
|
15298
|
+
_f57HKWCp1YRBbTJE8PF12RbDJGf.push(parseLanguageTag(v["@value"]));
|
15299
|
+
}
|
15104
15300
|
}
|
15105
15301
|
instance.#_f57HKWCp1YRBbTJE8PF12RbDJGf = _f57HKWCp1YRBbTJE8PF12RbDJGf;
|
15106
15302
|
const _2cGKFeFJMmiNpGZFEF75mCwFQsKb = [];
|
15107
15303
|
const _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array = values["https://www.w3.org/ns/activitystreams#height"];
|
15108
|
-
|
15109
|
-
|
15110
|
-
|
15111
|
-
|
15304
|
+
if (_2cGKFeFJMmiNpGZFEF75mCwFQsKb__array != null) {
|
15305
|
+
for (const v of _2cGKFeFJMmiNpGZFEF75mCwFQsKb__array) {
|
15306
|
+
if (v == null)
|
15307
|
+
continue;
|
15308
|
+
_2cGKFeFJMmiNpGZFEF75mCwFQsKb.push(v["@value"]);
|
15309
|
+
}
|
15112
15310
|
}
|
15113
15311
|
instance.#_2cGKFeFJMmiNpGZFEF75mCwFQsKb = _2cGKFeFJMmiNpGZFEF75mCwFQsKb;
|
15114
15312
|
const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe = [];
|
15115
15313
|
const _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array = values["https://www.w3.org/ns/activitystreams#width"];
|
15116
|
-
|
15117
|
-
|
15118
|
-
|
15119
|
-
|
15314
|
+
if (_2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array != null) {
|
15315
|
+
for (const v of _2e9AP7WdHBJYAgXG6GEyq7nSkNMe__array) {
|
15316
|
+
if (v == null)
|
15317
|
+
continue;
|
15318
|
+
_2e9AP7WdHBJYAgXG6GEyq7nSkNMe.push(v["@value"]);
|
15319
|
+
}
|
15120
15320
|
}
|
15121
15321
|
instance.#_2e9AP7WdHBJYAgXG6GEyq7nSkNMe = _2e9AP7WdHBJYAgXG6GEyq7nSkNMe;
|
15122
15322
|
const _gCVTegXxWWCw6wWRxa1QF65zusg = [];
|
15123
15323
|
const _gCVTegXxWWCw6wWRxa1QF65zusg__array = values["https://www.w3.org/ns/activitystreams#preview"];
|
15124
|
-
|
15125
|
-
|
15126
|
-
|
15127
|
-
|
15128
|
-
|
15129
|
-
|
15130
|
-
|
15131
|
-
|
15132
|
-
|
15133
|
-
|
15134
|
-
[
|
15135
|
-
"https://www.w3.org/ns/activitystreams#Link",
|
15136
|
-
"https://www.w3.org/ns/activitystreams#Hashtag",
|
15137
|
-
"https://www.w3.org/ns/activitystreams#Mention",
|
15138
|
-
].some((t) => v["@type"].includes(t))
|
15139
|
-
? await _c.fromJsonLd(v, options)
|
15140
|
-
: typeof v === "object" && "@type" in v &&
|
15324
|
+
if (_gCVTegXxWWCw6wWRxa1QF65zusg__array != null) {
|
15325
|
+
for (const v of _gCVTegXxWWCw6wWRxa1QF65zusg__array) {
|
15326
|
+
if (v == null)
|
15327
|
+
continue;
|
15328
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
15329
|
+
globalThis.Object.keys(v).length === 1) {
|
15330
|
+
_gCVTegXxWWCw6wWRxa1QF65zusg.push(new URL(v["@id"]));
|
15331
|
+
continue;
|
15332
|
+
}
|
15333
|
+
const decoded = typeof v === "object" && "@type" in v &&
|
15141
15334
|
Array.isArray(v["@type"]) &&
|
15142
15335
|
[
|
15143
|
-
"https://www.w3.org/ns/activitystreams#
|
15144
|
-
"
|
15145
|
-
"https://www.w3.org/ns/activitystreams#
|
15146
|
-
"https://www.w3.org/ns/activitystreams#Accept",
|
15147
|
-
"https://www.w3.org/ns/activitystreams#Add",
|
15148
|
-
"https://www.w3.org/ns/activitystreams#Announce",
|
15149
|
-
"https://www.w3.org/ns/activitystreams#Create",
|
15150
|
-
"https://www.w3.org/ns/activitystreams#Delete",
|
15151
|
-
"https://www.w3.org/ns/activitystreams#Dislike",
|
15152
|
-
"https://www.w3.org/ns/activitystreams#Flag",
|
15153
|
-
"https://www.w3.org/ns/activitystreams#Follow",
|
15154
|
-
"https://www.w3.org/ns/activitystreams#Ignore",
|
15155
|
-
"https://www.w3.org/ns/activitystreams#Block",
|
15156
|
-
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
15157
|
-
"https://www.w3.org/ns/activitystreams#Arrive",
|
15158
|
-
"https://www.w3.org/ns/activitystreams#Question",
|
15159
|
-
"https://www.w3.org/ns/activitystreams#Like",
|
15160
|
-
"https://www.w3.org/ns/activitystreams#Offer",
|
15161
|
-
"https://www.w3.org/ns/activitystreams#Reject",
|
15162
|
-
"https://www.w3.org/ns/activitystreams#Remove",
|
15163
|
-
"https://www.w3.org/ns/activitystreams#Undo",
|
15164
|
-
"https://www.w3.org/ns/activitystreams#Update",
|
15165
|
-
"https://www.w3.org/ns/activitystreams#Application",
|
15166
|
-
"https://www.w3.org/ns/activitystreams#Article",
|
15167
|
-
"https://www.w3.org/ns/activitystreams#Collection",
|
15168
|
-
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
15169
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
15170
|
-
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
15171
|
-
"https://www.w3.org/ns/activitystreams#Document",
|
15172
|
-
"https://www.w3.org/ns/activitystreams#Audio",
|
15173
|
-
"https://www.w3.org/ns/activitystreams#Image",
|
15174
|
-
"https://www.w3.org/ns/activitystreams#Page",
|
15175
|
-
"https://www.w3.org/ns/activitystreams#Video",
|
15176
|
-
"https://www.w3.org/ns/activitystreams#Event",
|
15177
|
-
"https://www.w3.org/ns/activitystreams#Group",
|
15178
|
-
"https://www.w3.org/ns/activitystreams#Note",
|
15179
|
-
"https://www.w3.org/ns/activitystreams#Organization",
|
15180
|
-
"https://www.w3.org/ns/activitystreams#Person",
|
15181
|
-
"https://www.w3.org/ns/activitystreams#Place",
|
15182
|
-
"https://www.w3.org/ns/activitystreams#Profile",
|
15183
|
-
"https://www.w3.org/ns/activitystreams#Relationship",
|
15184
|
-
"https://www.w3.org/ns/activitystreams#Service",
|
15185
|
-
"https://www.w3.org/ns/activitystreams#Tombstone",
|
15336
|
+
"https://www.w3.org/ns/activitystreams#Link",
|
15337
|
+
"https://www.w3.org/ns/activitystreams#Hashtag",
|
15338
|
+
"https://www.w3.org/ns/activitystreams#Mention",
|
15186
15339
|
].some((t) => v["@type"].includes(t))
|
15187
|
-
? await
|
15188
|
-
:
|
15189
|
-
|
15190
|
-
|
15191
|
-
|
15340
|
+
? await _c.fromJsonLd(v, options)
|
15341
|
+
: typeof v === "object" && "@type" in v &&
|
15342
|
+
Array.isArray(v["@type"]) &&
|
15343
|
+
[
|
15344
|
+
"https://www.w3.org/ns/activitystreams#Object",
|
15345
|
+
"http://joinmastodon.org/ns#Emoji",
|
15346
|
+
"https://www.w3.org/ns/activitystreams#Activity",
|
15347
|
+
"https://www.w3.org/ns/activitystreams#Accept",
|
15348
|
+
"https://www.w3.org/ns/activitystreams#Add",
|
15349
|
+
"https://www.w3.org/ns/activitystreams#Announce",
|
15350
|
+
"https://www.w3.org/ns/activitystreams#Create",
|
15351
|
+
"https://www.w3.org/ns/activitystreams#Delete",
|
15352
|
+
"https://www.w3.org/ns/activitystreams#Dislike",
|
15353
|
+
"https://www.w3.org/ns/activitystreams#Flag",
|
15354
|
+
"https://www.w3.org/ns/activitystreams#Follow",
|
15355
|
+
"https://www.w3.org/ns/activitystreams#Ignore",
|
15356
|
+
"https://www.w3.org/ns/activitystreams#Block",
|
15357
|
+
"https://www.w3.org/ns/activitystreams#IntransitiveActivity",
|
15358
|
+
"https://www.w3.org/ns/activitystreams#Arrive",
|
15359
|
+
"https://www.w3.org/ns/activitystreams#Question",
|
15360
|
+
"https://www.w3.org/ns/activitystreams#Like",
|
15361
|
+
"https://www.w3.org/ns/activitystreams#Offer",
|
15362
|
+
"https://www.w3.org/ns/activitystreams#Reject",
|
15363
|
+
"https://www.w3.org/ns/activitystreams#Remove",
|
15364
|
+
"https://www.w3.org/ns/activitystreams#Undo",
|
15365
|
+
"https://www.w3.org/ns/activitystreams#Update",
|
15366
|
+
"https://www.w3.org/ns/activitystreams#Application",
|
15367
|
+
"https://www.w3.org/ns/activitystreams#Article",
|
15368
|
+
"https://www.w3.org/ns/activitystreams#Collection",
|
15369
|
+
"https://www.w3.org/ns/activitystreams#CollectionPage",
|
15370
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollectionPage",
|
15371
|
+
"https://www.w3.org/ns/activitystreams#OrderedCollection",
|
15372
|
+
"https://www.w3.org/ns/activitystreams#Document",
|
15373
|
+
"https://www.w3.org/ns/activitystreams#Audio",
|
15374
|
+
"https://www.w3.org/ns/activitystreams#Image",
|
15375
|
+
"https://www.w3.org/ns/activitystreams#Page",
|
15376
|
+
"https://www.w3.org/ns/activitystreams#Video",
|
15377
|
+
"https://www.w3.org/ns/activitystreams#Event",
|
15378
|
+
"https://www.w3.org/ns/activitystreams#Group",
|
15379
|
+
"https://www.w3.org/ns/activitystreams#Note",
|
15380
|
+
"https://www.w3.org/ns/activitystreams#Organization",
|
15381
|
+
"https://www.w3.org/ns/activitystreams#Person",
|
15382
|
+
"https://www.w3.org/ns/activitystreams#Place",
|
15383
|
+
"https://www.w3.org/ns/activitystreams#Profile",
|
15384
|
+
"https://www.w3.org/ns/activitystreams#Relationship",
|
15385
|
+
"https://www.w3.org/ns/activitystreams#Service",
|
15386
|
+
"https://www.w3.org/ns/activitystreams#Tombstone",
|
15387
|
+
].some((t) => v["@type"].includes(t))
|
15388
|
+
? await Object.fromJsonLd(v, options)
|
15389
|
+
: undefined;
|
15390
|
+
if (typeof decoded === "undefined")
|
15391
|
+
continue;
|
15392
|
+
_gCVTegXxWWCw6wWRxa1QF65zusg.push(decoded);
|
15393
|
+
}
|
15192
15394
|
}
|
15193
15395
|
instance.#_gCVTegXxWWCw6wWRxa1QF65zusg = _gCVTegXxWWCw6wWRxa1QF65zusg;
|
15194
15396
|
return instance;
|
@@ -16158,8 +16360,16 @@ export class OrderedCollection extends Collection {
|
|
16158
16360
|
throw new TypeError("Unexpected type: " + instance.constructor.name);
|
16159
16361
|
}
|
16160
16362
|
const _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg = [];
|
16161
|
-
|
16162
|
-
|
16363
|
+
let _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = values["https://www.w3.org/ns/activitystreams#items"];
|
16364
|
+
if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array == null) {
|
16365
|
+
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array = [];
|
16366
|
+
}
|
16367
|
+
else if (_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array.length === 1 &&
|
16368
|
+
"@list" in _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]) {
|
16369
|
+
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array =
|
16370
|
+
_2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array[0]["@list"];
|
16371
|
+
}
|
16372
|
+
for (const v of _2JPCKWTcfBmTCcW8Tv3TpRaLVaqg__array) {
|
16163
16373
|
if (v == null)
|
16164
16374
|
continue;
|
16165
16375
|
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
@@ -16338,10 +16548,12 @@ export class OrderedCollectionPage extends CollectionPage {
|
|
16338
16548
|
}
|
16339
16549
|
const _2W4yinFwqmpneu2h4m1mZ3pcLADd = [];
|
16340
16550
|
const _2W4yinFwqmpneu2h4m1mZ3pcLADd__array = values["https://www.w3.org/ns/activitystreams#startIndex"];
|
16341
|
-
|
16342
|
-
|
16343
|
-
|
16344
|
-
|
16551
|
+
if (_2W4yinFwqmpneu2h4m1mZ3pcLADd__array != null) {
|
16552
|
+
for (const v of _2W4yinFwqmpneu2h4m1mZ3pcLADd__array) {
|
16553
|
+
if (v == null)
|
16554
|
+
continue;
|
16555
|
+
_2W4yinFwqmpneu2h4m1mZ3pcLADd.push(v["@value"]);
|
16556
|
+
}
|
16345
16557
|
}
|
16346
16558
|
instance.#_2W4yinFwqmpneu2h4m1mZ3pcLADd = _2W4yinFwqmpneu2h4m1mZ3pcLADd;
|
16347
16559
|
return instance;
|
@@ -17753,185 +17965,217 @@ export class Organization extends Object {
|
|
17753
17965
|
}
|
17754
17966
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
|
17755
17967
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
|
17756
|
-
|
17757
|
-
|
17758
|
-
|
17759
|
-
|
17760
|
-
typeof v
|
17761
|
-
|
17762
|
-
|
17763
|
-
typeof v
|
17764
|
-
|
17765
|
-
|
17766
|
-
|
17767
|
-
|
17768
|
-
|
17769
|
-
|
17968
|
+
if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array != null) {
|
17969
|
+
for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
|
17970
|
+
if (v == null)
|
17971
|
+
continue;
|
17972
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
17973
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
17974
|
+
? v["@value"]
|
17975
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
17976
|
+
typeof v["@language"] === "string" &&
|
17977
|
+
typeof v["@value"] === "string"
|
17978
|
+
? new LanguageString(v["@value"], v["@language"])
|
17979
|
+
: undefined;
|
17980
|
+
if (typeof decoded === "undefined")
|
17981
|
+
continue;
|
17982
|
+
_3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
|
17983
|
+
}
|
17770
17984
|
}
|
17771
17985
|
instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
|
17772
17986
|
const _axq166E2eZADq34V4MYUc8KMZdC = [];
|
17773
17987
|
const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
|
17774
|
-
|
17775
|
-
|
17776
|
-
|
17777
|
-
|
17778
|
-
|
17779
|
-
|
17780
|
-
|
17988
|
+
if (_axq166E2eZADq34V4MYUc8KMZdC__array != null) {
|
17989
|
+
for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
|
17990
|
+
if (v == null)
|
17991
|
+
continue;
|
17992
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
17993
|
+
globalThis.Object.keys(v).length === 1) {
|
17994
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(new URL(v["@id"]));
|
17995
|
+
continue;
|
17996
|
+
}
|
17997
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
17781
17998
|
}
|
17782
|
-
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
17783
17999
|
}
|
17784
18000
|
instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
|
17785
18001
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
|
17786
18002
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
|
17787
|
-
|
17788
|
-
|
17789
|
-
|
17790
|
-
|
17791
|
-
|
17792
|
-
|
17793
|
-
|
18003
|
+
if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array != null) {
|
18004
|
+
for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
|
18005
|
+
if (v == null)
|
18006
|
+
continue;
|
18007
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18008
|
+
globalThis.Object.keys(v).length === 1) {
|
18009
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(new URL(v["@id"]));
|
18010
|
+
continue;
|
18011
|
+
}
|
18012
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
17794
18013
|
}
|
17795
|
-
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
17796
18014
|
}
|
17797
18015
|
instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
|
17798
18016
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
|
17799
18017
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
|
17800
|
-
|
17801
|
-
|
17802
|
-
|
17803
|
-
|
18018
|
+
if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array != null) {
|
18019
|
+
for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
|
18020
|
+
if (v == null)
|
18021
|
+
continue;
|
18022
|
+
_36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
|
18023
|
+
}
|
17804
18024
|
}
|
17805
18025
|
instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
|
17806
18026
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
|
17807
18027
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
|
17808
|
-
|
17809
|
-
|
17810
|
-
|
17811
|
-
|
17812
|
-
|
17813
|
-
|
17814
|
-
|
18028
|
+
if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array != null) {
|
18029
|
+
for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
|
18030
|
+
if (v == null)
|
18031
|
+
continue;
|
18032
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18033
|
+
globalThis.Object.keys(v).length === 1) {
|
18034
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(new URL(v["@id"]));
|
18035
|
+
continue;
|
18036
|
+
}
|
18037
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
17815
18038
|
}
|
17816
|
-
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
17817
18039
|
}
|
17818
18040
|
instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
|
17819
18041
|
const _41QwhqJouoLg3h8dRPKat21brynC = [];
|
17820
18042
|
const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
|
17821
|
-
|
17822
|
-
|
17823
|
-
|
17824
|
-
|
17825
|
-
|
17826
|
-
|
17827
|
-
|
18043
|
+
if (_41QwhqJouoLg3h8dRPKat21brynC__array != null) {
|
18044
|
+
for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
|
18045
|
+
if (v == null)
|
18046
|
+
continue;
|
18047
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18048
|
+
globalThis.Object.keys(v).length === 1) {
|
18049
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(new URL(v["@id"]));
|
18050
|
+
continue;
|
18051
|
+
}
|
18052
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
17828
18053
|
}
|
17829
|
-
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
17830
18054
|
}
|
17831
18055
|
instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
|
17832
18056
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
|
17833
18057
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
|
17834
|
-
|
17835
|
-
|
17836
|
-
|
17837
|
-
|
17838
|
-
|
17839
|
-
|
17840
|
-
|
18058
|
+
if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array != null) {
|
18059
|
+
for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
|
18060
|
+
if (v == null)
|
18061
|
+
continue;
|
18062
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18063
|
+
globalThis.Object.keys(v).length === 1) {
|
18064
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(new URL(v["@id"]));
|
18065
|
+
continue;
|
18066
|
+
}
|
18067
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
17841
18068
|
}
|
17842
|
-
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
17843
18069
|
}
|
17844
18070
|
instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
|
17845
18071
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
|
17846
18072
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
|
17847
|
-
|
17848
|
-
|
17849
|
-
|
17850
|
-
|
17851
|
-
|
17852
|
-
|
17853
|
-
|
18073
|
+
if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array != null) {
|
18074
|
+
for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
|
18075
|
+
if (v == null)
|
18076
|
+
continue;
|
18077
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18078
|
+
globalThis.Object.keys(v).length === 1) {
|
18079
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(new URL(v["@id"]));
|
18080
|
+
continue;
|
18081
|
+
}
|
18082
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
17854
18083
|
}
|
17855
|
-
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
17856
18084
|
}
|
17857
18085
|
instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
|
17858
18086
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
|
17859
18087
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
|
17860
|
-
|
17861
|
-
|
17862
|
-
|
17863
|
-
|
17864
|
-
|
17865
|
-
|
17866
|
-
|
18088
|
+
if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array != null) {
|
18089
|
+
for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
|
18090
|
+
if (v == null)
|
18091
|
+
continue;
|
18092
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18093
|
+
globalThis.Object.keys(v).length === 1) {
|
18094
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(new URL(v["@id"]));
|
18095
|
+
continue;
|
18096
|
+
}
|
18097
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
17867
18098
|
}
|
17868
|
-
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
17869
18099
|
}
|
17870
18100
|
instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
|
17871
18101
|
const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
|
17872
18102
|
const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
|
17873
|
-
|
17874
|
-
|
17875
|
-
|
17876
|
-
|
17877
|
-
|
17878
|
-
|
17879
|
-
|
18103
|
+
if (_4N1vBJzXDf8NbBumeECQMFvKetja__array != null) {
|
18104
|
+
for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
|
18105
|
+
if (v == null)
|
18106
|
+
continue;
|
18107
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18108
|
+
globalThis.Object.keys(v).length === 1) {
|
18109
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(new URL(v["@id"]));
|
18110
|
+
continue;
|
18111
|
+
}
|
18112
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
17880
18113
|
}
|
17881
|
-
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
17882
18114
|
}
|
17883
18115
|
instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
|
17884
18116
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
|
17885
18117
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
|
17886
|
-
|
17887
|
-
|
17888
|
-
|
17889
|
-
|
17890
|
-
|
17891
|
-
|
17892
|
-
|
18118
|
+
if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array != null) {
|
18119
|
+
for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
|
18120
|
+
if (v == null)
|
18121
|
+
continue;
|
18122
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
18123
|
+
globalThis.Object.keys(v).length === 1) {
|
18124
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(new URL(v["@id"]));
|
18125
|
+
continue;
|
18126
|
+
}
|
18127
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
17893
18128
|
}
|
17894
|
-
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
17895
18129
|
}
|
17896
18130
|
instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
|
17897
18131
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
|
17898
18132
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
|
17899
|
-
|
17900
|
-
|
17901
|
-
|
17902
|
-
|
18133
|
+
if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array != null) {
|
18134
|
+
for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
|
18135
|
+
if (v == null)
|
18136
|
+
continue;
|
18137
|
+
_sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
|
18138
|
+
}
|
17903
18139
|
}
|
17904
18140
|
instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
|
17905
18141
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
|
17906
18142
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
|
17907
|
-
|
17908
|
-
|
17909
|
-
|
17910
|
-
|
18143
|
+
if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array != null) {
|
18144
|
+
for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
|
18145
|
+
if (v == null)
|
18146
|
+
continue;
|
18147
|
+
_gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
|
18148
|
+
}
|
17911
18149
|
}
|
17912
18150
|
instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
|
17913
18151
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
|
17914
18152
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
|
17915
|
-
|
17916
|
-
|
17917
|
-
|
17918
|
-
|
18153
|
+
if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array != null) {
|
18154
|
+
for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
|
18155
|
+
if (v == null)
|
18156
|
+
continue;
|
18157
|
+
_2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
|
18158
|
+
}
|
17919
18159
|
}
|
17920
18160
|
instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
|
17921
18161
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
|
17922
18162
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
|
17923
|
-
|
17924
|
-
|
17925
|
-
|
17926
|
-
|
18163
|
+
if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array != null) {
|
18164
|
+
for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
|
18165
|
+
if (v == null)
|
18166
|
+
continue;
|
18167
|
+
_79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
|
18168
|
+
}
|
17927
18169
|
}
|
17928
18170
|
instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
|
17929
18171
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
|
17930
18172
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
|
17931
|
-
|
17932
|
-
|
17933
|
-
|
17934
|
-
|
18173
|
+
if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array != null) {
|
18174
|
+
for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
|
18175
|
+
if (v == null)
|
18176
|
+
continue;
|
18177
|
+
_2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
|
18178
|
+
}
|
17935
18179
|
}
|
17936
18180
|
instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
|
17937
18181
|
return instance;
|
@@ -19635,185 +19879,217 @@ export class Person extends Object {
|
|
19635
19879
|
}
|
19636
19880
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
|
19637
19881
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
|
19638
|
-
|
19639
|
-
|
19640
|
-
|
19641
|
-
|
19642
|
-
typeof v
|
19643
|
-
|
19644
|
-
|
19645
|
-
typeof v
|
19646
|
-
|
19647
|
-
|
19648
|
-
|
19649
|
-
|
19650
|
-
|
19651
|
-
|
19882
|
+
if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array != null) {
|
19883
|
+
for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
|
19884
|
+
if (v == null)
|
19885
|
+
continue;
|
19886
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
19887
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
19888
|
+
? v["@value"]
|
19889
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
19890
|
+
typeof v["@language"] === "string" &&
|
19891
|
+
typeof v["@value"] === "string"
|
19892
|
+
? new LanguageString(v["@value"], v["@language"])
|
19893
|
+
: undefined;
|
19894
|
+
if (typeof decoded === "undefined")
|
19895
|
+
continue;
|
19896
|
+
_3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
|
19897
|
+
}
|
19652
19898
|
}
|
19653
19899
|
instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
|
19654
19900
|
const _axq166E2eZADq34V4MYUc8KMZdC = [];
|
19655
19901
|
const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
|
19656
|
-
|
19657
|
-
|
19658
|
-
|
19659
|
-
|
19660
|
-
|
19661
|
-
|
19662
|
-
|
19902
|
+
if (_axq166E2eZADq34V4MYUc8KMZdC__array != null) {
|
19903
|
+
for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
|
19904
|
+
if (v == null)
|
19905
|
+
continue;
|
19906
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19907
|
+
globalThis.Object.keys(v).length === 1) {
|
19908
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(new URL(v["@id"]));
|
19909
|
+
continue;
|
19910
|
+
}
|
19911
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
19663
19912
|
}
|
19664
|
-
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
19665
19913
|
}
|
19666
19914
|
instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
|
19667
19915
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
|
19668
19916
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
|
19669
|
-
|
19670
|
-
|
19671
|
-
|
19672
|
-
|
19673
|
-
|
19674
|
-
|
19675
|
-
|
19917
|
+
if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array != null) {
|
19918
|
+
for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
|
19919
|
+
if (v == null)
|
19920
|
+
continue;
|
19921
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19922
|
+
globalThis.Object.keys(v).length === 1) {
|
19923
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(new URL(v["@id"]));
|
19924
|
+
continue;
|
19925
|
+
}
|
19926
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
19676
19927
|
}
|
19677
|
-
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
19678
19928
|
}
|
19679
19929
|
instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
|
19680
19930
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
|
19681
19931
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
|
19682
|
-
|
19683
|
-
|
19684
|
-
|
19685
|
-
|
19932
|
+
if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array != null) {
|
19933
|
+
for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
|
19934
|
+
if (v == null)
|
19935
|
+
continue;
|
19936
|
+
_36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
|
19937
|
+
}
|
19686
19938
|
}
|
19687
19939
|
instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
|
19688
19940
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
|
19689
19941
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
|
19690
|
-
|
19691
|
-
|
19692
|
-
|
19693
|
-
|
19694
|
-
|
19695
|
-
|
19696
|
-
|
19942
|
+
if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array != null) {
|
19943
|
+
for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
|
19944
|
+
if (v == null)
|
19945
|
+
continue;
|
19946
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19947
|
+
globalThis.Object.keys(v).length === 1) {
|
19948
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(new URL(v["@id"]));
|
19949
|
+
continue;
|
19950
|
+
}
|
19951
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
19697
19952
|
}
|
19698
|
-
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
19699
19953
|
}
|
19700
19954
|
instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
|
19701
19955
|
const _41QwhqJouoLg3h8dRPKat21brynC = [];
|
19702
19956
|
const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
|
19703
|
-
|
19704
|
-
|
19705
|
-
|
19706
|
-
|
19707
|
-
|
19708
|
-
|
19709
|
-
|
19957
|
+
if (_41QwhqJouoLg3h8dRPKat21brynC__array != null) {
|
19958
|
+
for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
|
19959
|
+
if (v == null)
|
19960
|
+
continue;
|
19961
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19962
|
+
globalThis.Object.keys(v).length === 1) {
|
19963
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(new URL(v["@id"]));
|
19964
|
+
continue;
|
19965
|
+
}
|
19966
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
19710
19967
|
}
|
19711
|
-
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
19712
19968
|
}
|
19713
19969
|
instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
|
19714
19970
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
|
19715
19971
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
|
19716
|
-
|
19717
|
-
|
19718
|
-
|
19719
|
-
|
19720
|
-
|
19721
|
-
|
19722
|
-
|
19972
|
+
if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array != null) {
|
19973
|
+
for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
|
19974
|
+
if (v == null)
|
19975
|
+
continue;
|
19976
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19977
|
+
globalThis.Object.keys(v).length === 1) {
|
19978
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(new URL(v["@id"]));
|
19979
|
+
continue;
|
19980
|
+
}
|
19981
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
19723
19982
|
}
|
19724
|
-
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
19725
19983
|
}
|
19726
19984
|
instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
|
19727
19985
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
|
19728
19986
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
|
19729
|
-
|
19730
|
-
|
19731
|
-
|
19732
|
-
|
19733
|
-
|
19734
|
-
|
19735
|
-
|
19987
|
+
if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array != null) {
|
19988
|
+
for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
|
19989
|
+
if (v == null)
|
19990
|
+
continue;
|
19991
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
19992
|
+
globalThis.Object.keys(v).length === 1) {
|
19993
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(new URL(v["@id"]));
|
19994
|
+
continue;
|
19995
|
+
}
|
19996
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
19736
19997
|
}
|
19737
|
-
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
19738
19998
|
}
|
19739
19999
|
instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
|
19740
20000
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
|
19741
20001
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
|
19742
|
-
|
19743
|
-
|
19744
|
-
|
19745
|
-
|
19746
|
-
|
19747
|
-
|
19748
|
-
|
20002
|
+
if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array != null) {
|
20003
|
+
for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
|
20004
|
+
if (v == null)
|
20005
|
+
continue;
|
20006
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
20007
|
+
globalThis.Object.keys(v).length === 1) {
|
20008
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(new URL(v["@id"]));
|
20009
|
+
continue;
|
20010
|
+
}
|
20011
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
19749
20012
|
}
|
19750
|
-
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
19751
20013
|
}
|
19752
20014
|
instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
|
19753
20015
|
const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
|
19754
20016
|
const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
|
19755
|
-
|
19756
|
-
|
19757
|
-
|
19758
|
-
|
19759
|
-
|
19760
|
-
|
19761
|
-
|
20017
|
+
if (_4N1vBJzXDf8NbBumeECQMFvKetja__array != null) {
|
20018
|
+
for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
|
20019
|
+
if (v == null)
|
20020
|
+
continue;
|
20021
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
20022
|
+
globalThis.Object.keys(v).length === 1) {
|
20023
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(new URL(v["@id"]));
|
20024
|
+
continue;
|
20025
|
+
}
|
20026
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
19762
20027
|
}
|
19763
|
-
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
19764
20028
|
}
|
19765
20029
|
instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
|
19766
20030
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
|
19767
20031
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
|
19768
|
-
|
19769
|
-
|
19770
|
-
|
19771
|
-
|
19772
|
-
|
19773
|
-
|
19774
|
-
|
20032
|
+
if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array != null) {
|
20033
|
+
for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
|
20034
|
+
if (v == null)
|
20035
|
+
continue;
|
20036
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
20037
|
+
globalThis.Object.keys(v).length === 1) {
|
20038
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(new URL(v["@id"]));
|
20039
|
+
continue;
|
20040
|
+
}
|
20041
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
19775
20042
|
}
|
19776
|
-
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
19777
20043
|
}
|
19778
20044
|
instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
|
19779
20045
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
|
19780
20046
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
|
19781
|
-
|
19782
|
-
|
19783
|
-
|
19784
|
-
|
20047
|
+
if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array != null) {
|
20048
|
+
for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
|
20049
|
+
if (v == null)
|
20050
|
+
continue;
|
20051
|
+
_sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
|
20052
|
+
}
|
19785
20053
|
}
|
19786
20054
|
instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
|
19787
20055
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
|
19788
20056
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
|
19789
|
-
|
19790
|
-
|
19791
|
-
|
19792
|
-
|
20057
|
+
if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array != null) {
|
20058
|
+
for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
|
20059
|
+
if (v == null)
|
20060
|
+
continue;
|
20061
|
+
_gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
|
20062
|
+
}
|
19793
20063
|
}
|
19794
20064
|
instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
|
19795
20065
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
|
19796
20066
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
|
19797
|
-
|
19798
|
-
|
19799
|
-
|
19800
|
-
|
20067
|
+
if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array != null) {
|
20068
|
+
for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
|
20069
|
+
if (v == null)
|
20070
|
+
continue;
|
20071
|
+
_2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
|
20072
|
+
}
|
19801
20073
|
}
|
19802
20074
|
instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
|
19803
20075
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
|
19804
20076
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
|
19805
|
-
|
19806
|
-
|
19807
|
-
|
19808
|
-
|
20077
|
+
if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array != null) {
|
20078
|
+
for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
|
20079
|
+
if (v == null)
|
20080
|
+
continue;
|
20081
|
+
_79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
|
20082
|
+
}
|
19809
20083
|
}
|
19810
20084
|
instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
|
19811
20085
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
|
19812
20086
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
|
19813
|
-
|
19814
|
-
|
19815
|
-
|
19816
|
-
|
20087
|
+
if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array != null) {
|
20088
|
+
for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
|
20089
|
+
if (v == null)
|
20090
|
+
continue;
|
20091
|
+
_2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
|
20092
|
+
}
|
19817
20093
|
}
|
19818
20094
|
instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
|
19819
20095
|
return instance;
|
@@ -20377,61 +20653,73 @@ export class Place extends Object {
|
|
20377
20653
|
}
|
20378
20654
|
const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = [];
|
20379
20655
|
const _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array = values["https://www.w3.org/ns/activitystreams#accuracy"];
|
20380
|
-
|
20381
|
-
|
20382
|
-
|
20383
|
-
|
20656
|
+
if (_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array != null) {
|
20657
|
+
for (const v of _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne__array) {
|
20658
|
+
if (v == null)
|
20659
|
+
continue;
|
20660
|
+
_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne.push(v["@value"]);
|
20661
|
+
}
|
20384
20662
|
}
|
20385
20663
|
instance.#_3UCsHnBHvDAXJnBuzw3zw1VVs3Ne = _3UCsHnBHvDAXJnBuzw3zw1VVs3Ne;
|
20386
20664
|
const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi = [];
|
20387
20665
|
const _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array = values["https://www.w3.org/ns/activitystreams#altitude"];
|
20388
|
-
|
20389
|
-
|
20390
|
-
|
20391
|
-
|
20666
|
+
if (_3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array != null) {
|
20667
|
+
for (const v of _3Q6KDcFQUJRRaBux1BL2yp5QWiBi__array) {
|
20668
|
+
if (v == null)
|
20669
|
+
continue;
|
20670
|
+
_3Q6KDcFQUJRRaBux1BL2yp5QWiBi.push(v["@value"]);
|
20671
|
+
}
|
20392
20672
|
}
|
20393
20673
|
instance.#_3Q6KDcFQUJRRaBux1BL2yp5QWiBi = _3Q6KDcFQUJRRaBux1BL2yp5QWiBi;
|
20394
20674
|
const _3g85RoKRnaNjP7DFyLSvsWDg7HGM = [];
|
20395
20675
|
const _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array = values["https://www.w3.org/ns/activitystreams#latitude"];
|
20396
|
-
|
20397
|
-
|
20398
|
-
|
20399
|
-
|
20676
|
+
if (_3g85RoKRnaNjP7DFyLSvsWDg7HGM__array != null) {
|
20677
|
+
for (const v of _3g85RoKRnaNjP7DFyLSvsWDg7HGM__array) {
|
20678
|
+
if (v == null)
|
20679
|
+
continue;
|
20680
|
+
_3g85RoKRnaNjP7DFyLSvsWDg7HGM.push(v["@value"]);
|
20681
|
+
}
|
20400
20682
|
}
|
20401
20683
|
instance.#_3g85RoKRnaNjP7DFyLSvsWDg7HGM = _3g85RoKRnaNjP7DFyLSvsWDg7HGM;
|
20402
20684
|
const _B2GEYdS9yBAF3ho1pm1rcRg7cSf = [];
|
20403
20685
|
const _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array = values["https://www.w3.org/ns/activitystreams#longitude"];
|
20404
|
-
|
20405
|
-
|
20406
|
-
|
20407
|
-
|
20686
|
+
if (_B2GEYdS9yBAF3ho1pm1rcRg7cSf__array != null) {
|
20687
|
+
for (const v of _B2GEYdS9yBAF3ho1pm1rcRg7cSf__array) {
|
20688
|
+
if (v == null)
|
20689
|
+
continue;
|
20690
|
+
_B2GEYdS9yBAF3ho1pm1rcRg7cSf.push(v["@value"]);
|
20691
|
+
}
|
20408
20692
|
}
|
20409
20693
|
instance.#_B2GEYdS9yBAF3ho1pm1rcRg7cSf = _B2GEYdS9yBAF3ho1pm1rcRg7cSf;
|
20410
20694
|
const _3ga86BKHUtRkGx5PHBjRiUXXzwnw = [];
|
20411
20695
|
const _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array = values["https://www.w3.org/ns/activitystreams#radius"];
|
20412
|
-
|
20413
|
-
|
20414
|
-
|
20415
|
-
|
20696
|
+
if (_3ga86BKHUtRkGx5PHBjRiUXXzwnw__array != null) {
|
20697
|
+
for (const v of _3ga86BKHUtRkGx5PHBjRiUXXzwnw__array) {
|
20698
|
+
if (v == null)
|
20699
|
+
continue;
|
20700
|
+
_3ga86BKHUtRkGx5PHBjRiUXXzwnw.push(v["@value"]);
|
20701
|
+
}
|
20416
20702
|
}
|
20417
20703
|
instance.#_3ga86BKHUtRkGx5PHBjRiUXXzwnw = _3ga86BKHUtRkGx5PHBjRiUXXzwnw;
|
20418
20704
|
const _oKrwxU4V8wiKhMW1QEYQibcJh8c = [];
|
20419
20705
|
const _oKrwxU4V8wiKhMW1QEYQibcJh8c__array = values["https://www.w3.org/ns/activitystreams#units"];
|
20420
|
-
|
20421
|
-
|
20422
|
-
|
20423
|
-
|
20424
|
-
|
20425
|
-
v["@value"] == "
|
20426
|
-
|
20427
|
-
|
20428
|
-
|
20429
|
-
typeof v
|
20430
|
-
|
20431
|
-
|
20432
|
-
|
20433
|
-
|
20434
|
-
|
20706
|
+
if (_oKrwxU4V8wiKhMW1QEYQibcJh8c__array != null) {
|
20707
|
+
for (const v of _oKrwxU4V8wiKhMW1QEYQibcJh8c__array) {
|
20708
|
+
if (v == null)
|
20709
|
+
continue;
|
20710
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
20711
|
+
(v["@value"] == "cm" || v["@value"] == "feet" ||
|
20712
|
+
v["@value"] == "inches" || v["@value"] == "km" ||
|
20713
|
+
v["@value"] == "m" || v["@value"] == "miles")
|
20714
|
+
? v["@value"]
|
20715
|
+
: typeof v === "object" && "@id" in v &&
|
20716
|
+
typeof v["@id"] === "string"
|
20717
|
+
? new URL(v["@id"])
|
20718
|
+
: undefined;
|
20719
|
+
if (typeof decoded === "undefined")
|
20720
|
+
continue;
|
20721
|
+
_oKrwxU4V8wiKhMW1QEYQibcJh8c.push(decoded);
|
20722
|
+
}
|
20435
20723
|
}
|
20436
20724
|
instance.#_oKrwxU4V8wiKhMW1QEYQibcJh8c = _oKrwxU4V8wiKhMW1QEYQibcJh8c;
|
20437
20725
|
return instance;
|
@@ -20704,15 +20992,17 @@ export class Profile extends Object {
|
|
20704
20992
|
}
|
20705
20993
|
const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = [];
|
20706
20994
|
const _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array = values["https://www.w3.org/ns/activitystreams#describes"];
|
20707
|
-
|
20708
|
-
|
20709
|
-
|
20710
|
-
|
20711
|
-
|
20712
|
-
|
20713
|
-
|
20995
|
+
if (_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array != null) {
|
20996
|
+
for (const v of _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1__array) {
|
20997
|
+
if (v == null)
|
20998
|
+
continue;
|
20999
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
21000
|
+
globalThis.Object.keys(v).length === 1) {
|
21001
|
+
_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(new URL(v["@id"]));
|
21002
|
+
continue;
|
21003
|
+
}
|
21004
|
+
_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(await Object.fromJsonLd(v, options));
|
20714
21005
|
}
|
20715
|
-
_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1.push(await Object.fromJsonLd(v, options));
|
20716
21006
|
}
|
20717
21007
|
instance.#_3CLQ1PLSXrhSQbTGGHuxNyaEFKM1 = _3CLQ1PLSXrhSQbTGGHuxNyaEFKM1;
|
20718
21008
|
return instance;
|
@@ -21026,28 +21316,32 @@ export class Question extends IntransitiveActivity {
|
|
21026
21316
|
}
|
21027
21317
|
const _2N5scKaVEcdYHFmfKYYacAwUhUgQ = [];
|
21028
21318
|
const _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array = values["https://www.w3.org/ns/activitystreams#oneOf"];
|
21029
|
-
|
21030
|
-
|
21031
|
-
|
21032
|
-
|
21033
|
-
|
21034
|
-
|
21035
|
-
|
21319
|
+
if (_2N5scKaVEcdYHFmfKYYacAwUhUgQ__array != null) {
|
21320
|
+
for (const v of _2N5scKaVEcdYHFmfKYYacAwUhUgQ__array) {
|
21321
|
+
if (v == null)
|
21322
|
+
continue;
|
21323
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
21324
|
+
globalThis.Object.keys(v).length === 1) {
|
21325
|
+
_2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(new URL(v["@id"]));
|
21326
|
+
continue;
|
21327
|
+
}
|
21328
|
+
_2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(await Object.fromJsonLd(v, options));
|
21036
21329
|
}
|
21037
|
-
_2N5scKaVEcdYHFmfKYYacAwUhUgQ.push(await Object.fromJsonLd(v, options));
|
21038
21330
|
}
|
21039
21331
|
instance.#_2N5scKaVEcdYHFmfKYYacAwUhUgQ = _2N5scKaVEcdYHFmfKYYacAwUhUgQ;
|
21040
21332
|
const _2mV6isMTPRKbWdLCjcpiEysq5dAY = [];
|
21041
21333
|
const _2mV6isMTPRKbWdLCjcpiEysq5dAY__array = values["https://www.w3.org/ns/activitystreams#anyOf"];
|
21042
|
-
|
21043
|
-
|
21044
|
-
|
21045
|
-
|
21046
|
-
|
21047
|
-
|
21048
|
-
|
21334
|
+
if (_2mV6isMTPRKbWdLCjcpiEysq5dAY__array != null) {
|
21335
|
+
for (const v of _2mV6isMTPRKbWdLCjcpiEysq5dAY__array) {
|
21336
|
+
if (v == null)
|
21337
|
+
continue;
|
21338
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
21339
|
+
globalThis.Object.keys(v).length === 1) {
|
21340
|
+
_2mV6isMTPRKbWdLCjcpiEysq5dAY.push(new URL(v["@id"]));
|
21341
|
+
continue;
|
21342
|
+
}
|
21343
|
+
_2mV6isMTPRKbWdLCjcpiEysq5dAY.push(await Object.fromJsonLd(v, options));
|
21049
21344
|
}
|
21050
|
-
_2mV6isMTPRKbWdLCjcpiEysq5dAY.push(await Object.fromJsonLd(v, options));
|
21051
21345
|
}
|
21052
21346
|
instance.#_2mV6isMTPRKbWdLCjcpiEysq5dAY = _2mV6isMTPRKbWdLCjcpiEysq5dAY;
|
21053
21347
|
return instance;
|
@@ -21689,41 +21983,47 @@ export class Relationship extends Object {
|
|
21689
21983
|
}
|
21690
21984
|
const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq = [];
|
21691
21985
|
const _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array = values["https://www.w3.org/ns/activitystreams#subject"];
|
21692
|
-
|
21693
|
-
|
21694
|
-
|
21695
|
-
|
21696
|
-
|
21697
|
-
|
21698
|
-
|
21986
|
+
if (_2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array != null) {
|
21987
|
+
for (const v of _2Zqdmi46ZnDQsECS6mzwhrv3rUKq__array) {
|
21988
|
+
if (v == null)
|
21989
|
+
continue;
|
21990
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
21991
|
+
globalThis.Object.keys(v).length === 1) {
|
21992
|
+
_2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(new URL(v["@id"]));
|
21993
|
+
continue;
|
21994
|
+
}
|
21995
|
+
_2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(await Object.fromJsonLd(v, options));
|
21699
21996
|
}
|
21700
|
-
_2Zqdmi46ZnDQsECS6mzwhrv3rUKq.push(await Object.fromJsonLd(v, options));
|
21701
21997
|
}
|
21702
21998
|
instance.#_2Zqdmi46ZnDQsECS6mzwhrv3rUKq = _2Zqdmi46ZnDQsECS6mzwhrv3rUKq;
|
21703
21999
|
const _2MH19yxjn1wnHsNfa5n4JBhJzxyc = [];
|
21704
22000
|
const _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array = values["https://www.w3.org/ns/activitystreams#object"];
|
21705
|
-
|
21706
|
-
|
21707
|
-
|
21708
|
-
|
21709
|
-
|
21710
|
-
|
21711
|
-
|
22001
|
+
if (_2MH19yxjn1wnHsNfa5n4JBhJzxyc__array != null) {
|
22002
|
+
for (const v of _2MH19yxjn1wnHsNfa5n4JBhJzxyc__array) {
|
22003
|
+
if (v == null)
|
22004
|
+
continue;
|
22005
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
22006
|
+
globalThis.Object.keys(v).length === 1) {
|
22007
|
+
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(new URL(v["@id"]));
|
22008
|
+
continue;
|
22009
|
+
}
|
22010
|
+
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
|
21712
22011
|
}
|
21713
|
-
_2MH19yxjn1wnHsNfa5n4JBhJzxyc.push(await Object.fromJsonLd(v, options));
|
21714
22012
|
}
|
21715
22013
|
instance.#_2MH19yxjn1wnHsNfa5n4JBhJzxyc = _2MH19yxjn1wnHsNfa5n4JBhJzxyc;
|
21716
22014
|
const _4Lzz89F9qipAQSGkWyX9DGWiUojG = [];
|
21717
22015
|
const _4Lzz89F9qipAQSGkWyX9DGWiUojG__array = values["https://www.w3.org/ns/activitystreams#relationship"];
|
21718
|
-
|
21719
|
-
|
21720
|
-
|
21721
|
-
|
21722
|
-
|
21723
|
-
|
21724
|
-
|
22016
|
+
if (_4Lzz89F9qipAQSGkWyX9DGWiUojG__array != null) {
|
22017
|
+
for (const v of _4Lzz89F9qipAQSGkWyX9DGWiUojG__array) {
|
22018
|
+
if (v == null)
|
22019
|
+
continue;
|
22020
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
22021
|
+
globalThis.Object.keys(v).length === 1) {
|
22022
|
+
_4Lzz89F9qipAQSGkWyX9DGWiUojG.push(new URL(v["@id"]));
|
22023
|
+
continue;
|
22024
|
+
}
|
22025
|
+
_4Lzz89F9qipAQSGkWyX9DGWiUojG.push(await Object.fromJsonLd(v, options));
|
21725
22026
|
}
|
21726
|
-
_4Lzz89F9qipAQSGkWyX9DGWiUojG.push(await Object.fromJsonLd(v, options));
|
21727
22027
|
}
|
21728
22028
|
instance.#_4Lzz89F9qipAQSGkWyX9DGWiUojG = _4Lzz89F9qipAQSGkWyX9DGWiUojG;
|
21729
22029
|
return instance;
|
@@ -23278,185 +23578,217 @@ export class Service extends Object {
|
|
23278
23578
|
}
|
23279
23579
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf = [];
|
23280
23580
|
const _3isuDgRAKSntq9XdbjiNxjwyPZAf__array = values["https://www.w3.org/ns/activitystreams#preferredUsername"];
|
23281
|
-
|
23282
|
-
|
23283
|
-
|
23284
|
-
|
23285
|
-
typeof v
|
23286
|
-
|
23287
|
-
|
23288
|
-
typeof v
|
23289
|
-
|
23290
|
-
|
23291
|
-
|
23292
|
-
|
23293
|
-
|
23294
|
-
|
23581
|
+
if (_3isuDgRAKSntq9XdbjiNxjwyPZAf__array != null) {
|
23582
|
+
for (const v of _3isuDgRAKSntq9XdbjiNxjwyPZAf__array) {
|
23583
|
+
if (v == null)
|
23584
|
+
continue;
|
23585
|
+
const decoded = typeof v === "object" && "@value" in v &&
|
23586
|
+
typeof v["@value"] === "string" && !("@language" in v)
|
23587
|
+
? v["@value"]
|
23588
|
+
: typeof v === "object" && "@language" in v && "@value" in v &&
|
23589
|
+
typeof v["@language"] === "string" &&
|
23590
|
+
typeof v["@value"] === "string"
|
23591
|
+
? new LanguageString(v["@value"], v["@language"])
|
23592
|
+
: undefined;
|
23593
|
+
if (typeof decoded === "undefined")
|
23594
|
+
continue;
|
23595
|
+
_3isuDgRAKSntq9XdbjiNxjwyPZAf.push(decoded);
|
23596
|
+
}
|
23295
23597
|
}
|
23296
23598
|
instance.#_3isuDgRAKSntq9XdbjiNxjwyPZAf = _3isuDgRAKSntq9XdbjiNxjwyPZAf;
|
23297
23599
|
const _axq166E2eZADq34V4MYUc8KMZdC = [];
|
23298
23600
|
const _axq166E2eZADq34V4MYUc8KMZdC__array = values["https://w3id.org/security#publicKey"];
|
23299
|
-
|
23300
|
-
|
23301
|
-
|
23302
|
-
|
23303
|
-
|
23304
|
-
|
23305
|
-
|
23601
|
+
if (_axq166E2eZADq34V4MYUc8KMZdC__array != null) {
|
23602
|
+
for (const v of _axq166E2eZADq34V4MYUc8KMZdC__array) {
|
23603
|
+
if (v == null)
|
23604
|
+
continue;
|
23605
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23606
|
+
globalThis.Object.keys(v).length === 1) {
|
23607
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(new URL(v["@id"]));
|
23608
|
+
continue;
|
23609
|
+
}
|
23610
|
+
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
23306
23611
|
}
|
23307
|
-
_axq166E2eZADq34V4MYUc8KMZdC.push(await CryptographicKey.fromJsonLd(v, options));
|
23308
23612
|
}
|
23309
23613
|
instance.#_axq166E2eZADq34V4MYUc8KMZdC = _axq166E2eZADq34V4MYUc8KMZdC;
|
23310
23614
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3 = [];
|
23311
23615
|
const _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array = values["https://w3id.org/security#assertionMethod"];
|
23312
|
-
|
23313
|
-
|
23314
|
-
|
23315
|
-
|
23316
|
-
|
23317
|
-
|
23318
|
-
|
23616
|
+
if (_4EHQFWZSz1k1d4LmPrQiMba2GbP3__array != null) {
|
23617
|
+
for (const v of _4EHQFWZSz1k1d4LmPrQiMba2GbP3__array) {
|
23618
|
+
if (v == null)
|
23619
|
+
continue;
|
23620
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23621
|
+
globalThis.Object.keys(v).length === 1) {
|
23622
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(new URL(v["@id"]));
|
23623
|
+
continue;
|
23624
|
+
}
|
23625
|
+
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
23319
23626
|
}
|
23320
|
-
_4EHQFWZSz1k1d4LmPrQiMba2GbP3.push(await Multikey.fromJsonLd(v, options));
|
23321
23627
|
}
|
23322
23628
|
instance.#_4EHQFWZSz1k1d4LmPrQiMba2GbP3 = _4EHQFWZSz1k1d4LmPrQiMba2GbP3;
|
23323
23629
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA = [];
|
23324
23630
|
const _36QNc9MxfkKf6h8sEUQSHnV9NZA__array = values["https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"];
|
23325
|
-
|
23326
|
-
|
23327
|
-
|
23328
|
-
|
23631
|
+
if (_36QNc9MxfkKf6h8sEUQSHnV9NZA__array != null) {
|
23632
|
+
for (const v of _36QNc9MxfkKf6h8sEUQSHnV9NZA__array) {
|
23633
|
+
if (v == null)
|
23634
|
+
continue;
|
23635
|
+
_36QNc9MxfkKf6h8sEUQSHnV9NZA.push(v["@value"]);
|
23636
|
+
}
|
23329
23637
|
}
|
23330
23638
|
instance.#_36QNc9MxfkKf6h8sEUQSHnV9NZA = _36QNc9MxfkKf6h8sEUQSHnV9NZA;
|
23331
23639
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB = [];
|
23332
23640
|
const _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array = values["http://www.w3.org/ns/ldp#inbox"];
|
23333
|
-
|
23334
|
-
|
23335
|
-
|
23336
|
-
|
23337
|
-
|
23338
|
-
|
23339
|
-
|
23641
|
+
if (_3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array != null) {
|
23642
|
+
for (const v of _3ghX3VfZXXbLvhCRH7QJqpzLrXjB__array) {
|
23643
|
+
if (v == null)
|
23644
|
+
continue;
|
23645
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23646
|
+
globalThis.Object.keys(v).length === 1) {
|
23647
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(new URL(v["@id"]));
|
23648
|
+
continue;
|
23649
|
+
}
|
23650
|
+
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
23340
23651
|
}
|
23341
|
-
_3ghX3VfZXXbLvhCRH7QJqpzLrXjB.push(await OrderedCollection.fromJsonLd(v, options));
|
23342
23652
|
}
|
23343
23653
|
instance.#_3ghX3VfZXXbLvhCRH7QJqpzLrXjB = _3ghX3VfZXXbLvhCRH7QJqpzLrXjB;
|
23344
23654
|
const _41QwhqJouoLg3h8dRPKat21brynC = [];
|
23345
23655
|
const _41QwhqJouoLg3h8dRPKat21brynC__array = values["https://www.w3.org/ns/activitystreams#outbox"];
|
23346
|
-
|
23347
|
-
|
23348
|
-
|
23349
|
-
|
23350
|
-
|
23351
|
-
|
23352
|
-
|
23656
|
+
if (_41QwhqJouoLg3h8dRPKat21brynC__array != null) {
|
23657
|
+
for (const v of _41QwhqJouoLg3h8dRPKat21brynC__array) {
|
23658
|
+
if (v == null)
|
23659
|
+
continue;
|
23660
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23661
|
+
globalThis.Object.keys(v).length === 1) {
|
23662
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(new URL(v["@id"]));
|
23663
|
+
continue;
|
23664
|
+
}
|
23665
|
+
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
23353
23666
|
}
|
23354
|
-
_41QwhqJouoLg3h8dRPKat21brynC.push(await OrderedCollection.fromJsonLd(v, options));
|
23355
23667
|
}
|
23356
23668
|
instance.#_41QwhqJouoLg3h8dRPKat21brynC = _41QwhqJouoLg3h8dRPKat21brynC;
|
23357
23669
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee = [];
|
23358
23670
|
const _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array = values["https://www.w3.org/ns/activitystreams#following"];
|
23359
|
-
|
23360
|
-
|
23361
|
-
|
23362
|
-
|
23363
|
-
|
23364
|
-
|
23365
|
-
|
23671
|
+
if (_3yAv8jymNfNuJUDuBzJ1NQhdbAee__array != null) {
|
23672
|
+
for (const v of _3yAv8jymNfNuJUDuBzJ1NQhdbAee__array) {
|
23673
|
+
if (v == null)
|
23674
|
+
continue;
|
23675
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23676
|
+
globalThis.Object.keys(v).length === 1) {
|
23677
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(new URL(v["@id"]));
|
23678
|
+
continue;
|
23679
|
+
}
|
23680
|
+
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
23366
23681
|
}
|
23367
|
-
_3yAv8jymNfNuJUDuBzJ1NQhdbAee.push(await Collection.fromJsonLd(v, options));
|
23368
23682
|
}
|
23369
23683
|
instance.#_3yAv8jymNfNuJUDuBzJ1NQhdbAee = _3yAv8jymNfNuJUDuBzJ1NQhdbAee;
|
23370
23684
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA = [];
|
23371
23685
|
const _BBCTgfphhsFzpVfKTykGSpBNwoA__array = values["https://www.w3.org/ns/activitystreams#followers"];
|
23372
|
-
|
23373
|
-
|
23374
|
-
|
23375
|
-
|
23376
|
-
|
23377
|
-
|
23378
|
-
|
23686
|
+
if (_BBCTgfphhsFzpVfKTykGSpBNwoA__array != null) {
|
23687
|
+
for (const v of _BBCTgfphhsFzpVfKTykGSpBNwoA__array) {
|
23688
|
+
if (v == null)
|
23689
|
+
continue;
|
23690
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23691
|
+
globalThis.Object.keys(v).length === 1) {
|
23692
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(new URL(v["@id"]));
|
23693
|
+
continue;
|
23694
|
+
}
|
23695
|
+
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
23379
23696
|
}
|
23380
|
-
_BBCTgfphhsFzpVfKTykGSpBNwoA.push(await Collection.fromJsonLd(v, options));
|
23381
23697
|
}
|
23382
23698
|
instance.#_BBCTgfphhsFzpVfKTykGSpBNwoA = _BBCTgfphhsFzpVfKTykGSpBNwoA;
|
23383
23699
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU = [];
|
23384
23700
|
const _3bgkPwJanyTCoVFM9ovRcus8tKkU__array = values["https://www.w3.org/ns/activitystreams#liked"];
|
23385
|
-
|
23386
|
-
|
23387
|
-
|
23388
|
-
|
23389
|
-
|
23390
|
-
|
23391
|
-
|
23701
|
+
if (_3bgkPwJanyTCoVFM9ovRcus8tKkU__array != null) {
|
23702
|
+
for (const v of _3bgkPwJanyTCoVFM9ovRcus8tKkU__array) {
|
23703
|
+
if (v == null)
|
23704
|
+
continue;
|
23705
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23706
|
+
globalThis.Object.keys(v).length === 1) {
|
23707
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(new URL(v["@id"]));
|
23708
|
+
continue;
|
23709
|
+
}
|
23710
|
+
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
23392
23711
|
}
|
23393
|
-
_3bgkPwJanyTCoVFM9ovRcus8tKkU.push(await Collection.fromJsonLd(v, options));
|
23394
23712
|
}
|
23395
23713
|
instance.#_3bgkPwJanyTCoVFM9ovRcus8tKkU = _3bgkPwJanyTCoVFM9ovRcus8tKkU;
|
23396
23714
|
const _4N1vBJzXDf8NbBumeECQMFvKetja = [];
|
23397
23715
|
const _4N1vBJzXDf8NbBumeECQMFvKetja__array = values["http://joinmastodon.org/ns#featured"];
|
23398
|
-
|
23399
|
-
|
23400
|
-
|
23401
|
-
|
23402
|
-
|
23403
|
-
|
23404
|
-
|
23716
|
+
if (_4N1vBJzXDf8NbBumeECQMFvKetja__array != null) {
|
23717
|
+
for (const v of _4N1vBJzXDf8NbBumeECQMFvKetja__array) {
|
23718
|
+
if (v == null)
|
23719
|
+
continue;
|
23720
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23721
|
+
globalThis.Object.keys(v).length === 1) {
|
23722
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(new URL(v["@id"]));
|
23723
|
+
continue;
|
23724
|
+
}
|
23725
|
+
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
23405
23726
|
}
|
23406
|
-
_4N1vBJzXDf8NbBumeECQMFvKetja.push(await Collection.fromJsonLd(v, options));
|
23407
23727
|
}
|
23408
23728
|
instance.#_4N1vBJzXDf8NbBumeECQMFvKetja = _4N1vBJzXDf8NbBumeECQMFvKetja;
|
23409
23729
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = [];
|
23410
23730
|
const _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array = values["https://www.w3.org/ns/activitystreams#streams"];
|
23411
|
-
|
23412
|
-
|
23413
|
-
|
23414
|
-
|
23415
|
-
|
23416
|
-
|
23417
|
-
|
23731
|
+
if (_3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array != null) {
|
23732
|
+
for (const v of _3sG2Hdwn9qzKGu9mpYkqakAMUkH9__array) {
|
23733
|
+
if (v == null)
|
23734
|
+
continue;
|
23735
|
+
if (typeof v === "object" && "@id" in v && !("@type" in v) &&
|
23736
|
+
globalThis.Object.keys(v).length === 1) {
|
23737
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(new URL(v["@id"]));
|
23738
|
+
continue;
|
23739
|
+
}
|
23740
|
+
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
23418
23741
|
}
|
23419
|
-
_3sG2Hdwn9qzKGu9mpYkqakAMUkH9.push(await Collection.fromJsonLd(v, options));
|
23420
23742
|
}
|
23421
23743
|
instance.#_3sG2Hdwn9qzKGu9mpYkqakAMUkH9 = _3sG2Hdwn9qzKGu9mpYkqakAMUkH9;
|
23422
23744
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG = [];
|
23423
23745
|
const _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array = values["https://www.w3.org/ns/activitystreams#endpoints"];
|
23424
|
-
|
23425
|
-
|
23426
|
-
|
23427
|
-
|
23746
|
+
if (_sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array != null) {
|
23747
|
+
for (const v of _sEoQwUbfk4hEfugzNQ2ZiDcLMkG__array) {
|
23748
|
+
if (v == null)
|
23749
|
+
continue;
|
23750
|
+
_sEoQwUbfk4hEfugzNQ2ZiDcLMkG.push(await Endpoints.fromJsonLd(v, options));
|
23751
|
+
}
|
23428
23752
|
}
|
23429
23753
|
instance.#_sEoQwUbfk4hEfugzNQ2ZiDcLMkG = _sEoQwUbfk4hEfugzNQ2ZiDcLMkG;
|
23430
23754
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH = [];
|
23431
23755
|
const _gAJzg1QDc4rcefFsUzGSYmyXvNH__array = values["http://joinmastodon.org/ns#discoverable"];
|
23432
|
-
|
23433
|
-
|
23434
|
-
|
23435
|
-
|
23756
|
+
if (_gAJzg1QDc4rcefFsUzGSYmyXvNH__array != null) {
|
23757
|
+
for (const v of _gAJzg1QDc4rcefFsUzGSYmyXvNH__array) {
|
23758
|
+
if (v == null)
|
23759
|
+
continue;
|
23760
|
+
_gAJzg1QDc4rcefFsUzGSYmyXvNH.push(v["@value"]);
|
23761
|
+
}
|
23436
23762
|
}
|
23437
23763
|
instance.#_gAJzg1QDc4rcefFsUzGSYmyXvNH = _gAJzg1QDc4rcefFsUzGSYmyXvNH;
|
23438
23764
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7 = [];
|
23439
23765
|
const _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array = values["http://joinmastodon.org/ns#suspended"];
|
23440
|
-
|
23441
|
-
|
23442
|
-
|
23443
|
-
|
23766
|
+
if (_2kGKkJtoFWg8c18PaVSqj9NKP4t7__array != null) {
|
23767
|
+
for (const v of _2kGKkJtoFWg8c18PaVSqj9NKP4t7__array) {
|
23768
|
+
if (v == null)
|
23769
|
+
continue;
|
23770
|
+
_2kGKkJtoFWg8c18PaVSqj9NKP4t7.push(v["@value"]);
|
23771
|
+
}
|
23444
23772
|
}
|
23445
23773
|
instance.#_2kGKkJtoFWg8c18PaVSqj9NKP4t7 = _2kGKkJtoFWg8c18PaVSqj9NKP4t7;
|
23446
23774
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ = [];
|
23447
23775
|
const _79S8K4f5J9MWUgCxziRyUe6PTHZ__array = values["http://joinmastodon.org/ns#memorial"];
|
23448
|
-
|
23449
|
-
|
23450
|
-
|
23451
|
-
|
23776
|
+
if (_79S8K4f5J9MWUgCxziRyUe6PTHZ__array != null) {
|
23777
|
+
for (const v of _79S8K4f5J9MWUgCxziRyUe6PTHZ__array) {
|
23778
|
+
if (v == null)
|
23779
|
+
continue;
|
23780
|
+
_79S8K4f5J9MWUgCxziRyUe6PTHZ.push(v["@value"]);
|
23781
|
+
}
|
23452
23782
|
}
|
23453
23783
|
instance.#_79S8K4f5J9MWUgCxziRyUe6PTHZ = _79S8K4f5J9MWUgCxziRyUe6PTHZ;
|
23454
23784
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk = [];
|
23455
23785
|
const _2diCorzqPGQQqftp6e4SrCEwEnyk__array = values["http://joinmastodon.org/ns#indexable"];
|
23456
|
-
|
23457
|
-
|
23458
|
-
|
23459
|
-
|
23786
|
+
if (_2diCorzqPGQQqftp6e4SrCEwEnyk__array != null) {
|
23787
|
+
for (const v of _2diCorzqPGQQqftp6e4SrCEwEnyk__array) {
|
23788
|
+
if (v == null)
|
23789
|
+
continue;
|
23790
|
+
_2diCorzqPGQQqftp6e4SrCEwEnyk.push(v["@value"]);
|
23791
|
+
}
|
23460
23792
|
}
|
23461
23793
|
instance.#_2diCorzqPGQQqftp6e4SrCEwEnyk = _2diCorzqPGQQqftp6e4SrCEwEnyk;
|
23462
23794
|
return instance;
|
@@ -23807,10 +24139,12 @@ export class Tombstone extends Object {
|
|
23807
24139
|
}
|
23808
24140
|
const _8g8g4LiVMhFTXskuDEqx4ascxUr = [];
|
23809
24141
|
const _8g8g4LiVMhFTXskuDEqx4ascxUr__array = values["https://www.w3.org/ns/activitystreams#deleted"];
|
23810
|
-
|
23811
|
-
|
23812
|
-
|
23813
|
-
|
24142
|
+
if (_8g8g4LiVMhFTXskuDEqx4ascxUr__array != null) {
|
24143
|
+
for (const v of _8g8g4LiVMhFTXskuDEqx4ascxUr__array) {
|
24144
|
+
if (v == null)
|
24145
|
+
continue;
|
24146
|
+
_8g8g4LiVMhFTXskuDEqx4ascxUr.push(dntShim.Temporal.Instant.from(v["@value"]));
|
24147
|
+
}
|
23814
24148
|
}
|
23815
24149
|
instance.#_8g8g4LiVMhFTXskuDEqx4ascxUr = _8g8g4LiVMhFTXskuDEqx4ascxUr;
|
23816
24150
|
return instance;
|