@wix/blog 1.0.708 → 1.0.709
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_sdk-exports/context-blog-feed/runtime.js +4 -4
- package/_sdk-exports/context-post/runtime.d.ts +36 -1
- package/_sdk-exports/context-post-by-id/runtime.js +4 -4
- package/_sdk-exports/context-post-by-slug/runtime.js +4 -4
- package/_sdk-exports/context-post-list-item/runtime.js +4 -4
- package/_sdk-exports/context-related-posts/runtime.js +4 -4
- package/build/cjs/context-blog-feed.js +972 -944
- package/build/cjs/context-blog-feed.js.map +1 -1
- package/build/cjs/context-post-by-id.js +1060 -1032
- package/build/cjs/context-post-by-id.js.map +1 -1
- package/build/cjs/context-post-by-slug.js +266 -238
- package/build/cjs/context-post-by-slug.js.map +1 -1
- package/build/cjs/context-post-list-item.js +260 -232
- package/build/cjs/context-post-list-item.js.map +1 -1
- package/build/cjs/context-post.d.ts +36 -1
- package/build/cjs/context-related-posts.js +263 -235
- package/build/cjs/context-related-posts.js.map +1 -1
- package/build/es/context-blog-feed.mjs +972 -944
- package/build/es/context-blog-feed.mjs.map +1 -1
- package/build/es/context-post-by-id.mjs +1060 -1032
- package/build/es/context-post-by-id.mjs.map +1 -1
- package/build/es/context-post-by-slug.mjs +266 -238
- package/build/es/context-post-by-slug.mjs.map +1 -1
- package/build/es/context-post-list-item.mjs +260 -232
- package/build/es/context-post-list-item.mjs.map +1 -1
- package/build/es/context-post.d.mts +36 -1
- package/build/es/context-related-posts.mjs +263 -235
- package/build/es/context-related-posts.mjs.map +1 -1
- package/build/internal/cjs/context-post.d.ts +36 -1
- package/build/internal/es/context-post.d.mts +36 -1
- package/package.json +2 -2
|
@@ -1431,7 +1431,7 @@ function B(e6) {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
return e6.id ? `wix:video://v1/${e6.id}${t2}${n2}` : e6.url;
|
|
1433
1433
|
}
|
|
1434
|
-
var qr = [{ path: `draftPost.editedDate` }, { path: `draftPost.scheduledPublishDate` }, { path: `draftPost.firstPublishedDate` }, { path: `draftPost.createdDate` }, { path: `draftPost.heroImage.urlExpirationDate` }, { path: `draftPost.richContent.metadata.createdTimestamp` }, { path: `draftPost.richContent.metadata.updatedTimestamp` }, { path: `draftPost.moderationDetails.submittedDate` }, { path: `draftPost.moderationDetails.moderationDate` }, { path: `draftPost.media.wixMedia.image.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1434
|
+
var qr = [{ path: `draftPost.editedDate` }, { path: `draftPost.scheduledPublishDate` }, { path: `draftPost.firstPublishedDate` }, { path: `draftPost.createdDate` }, { path: `draftPost.expirationDate` }, { path: `draftPost.heroImage.urlExpirationDate` }, { path: `draftPost.richContent.metadata.createdTimestamp` }, { path: `draftPost.richContent.metadata.updatedTimestamp` }, { path: `draftPost.moderationDetails.submittedDate` }, { path: `draftPost.moderationDetails.moderationDate` }, { path: `draftPost.media.wixMedia.image.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `draftPost.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1435
1435
|
var Jr = [{ path: `draftPost.heroImage.focalPoint.x` }, { path: `draftPost.heroImage.focalPoint.y` }, { path: `draftPost.media.wixMedia.image.focalPoint.x` }, { path: `draftPost.media.wixMedia.image.focalPoint.y` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `draftPost.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `draftPost.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `draftPost.richContent.nodes.galleryData.items.image.media.duration` }, { path: `draftPost.richContent.nodes.galleryData.items.video.media.duration` }, { path: `draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `draftPost.richContent.nodes.galleryData.options.item.ratio` }, { path: `draftPost.richContent.nodes.imageData.image.duration` }, { path: `draftPost.richContent.nodes.imageData.crop.x` }, { path: `draftPost.richContent.nodes.imageData.crop.y` }, { path: `draftPost.richContent.nodes.imageData.crop.width` }, { path: `draftPost.richContent.nodes.imageData.crop.height` }, { path: `draftPost.richContent.nodes.mapData.mapSettings.lat` }, { path: `draftPost.richContent.nodes.mapData.mapSettings.lng` }, { path: `draftPost.richContent.nodes.pollData.poll.image.duration` }, { path: `draftPost.richContent.nodes.pollData.poll.options.image.duration` }, { path: `draftPost.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.nodes.appEmbedData.image.duration` }, { path: `draftPost.richContent.nodes.videoData.video.duration` }, { path: `draftPost.richContent.nodes.videoData.thumbnail.duration` }, { path: `draftPost.richContent.nodes.audioData.audio.duration` }, { path: `draftPost.richContent.nodes.audioData.coverImage.duration` }, { path: `draftPost.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `draftPost.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `draftPost.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `draftPost.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `draftPost.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `draftPost.richContent.nodes.shapeData.shape.duration` }, { path: `draftPost.richContent.nodes.cardData.background.gradient.centerX` }, { path: `draftPost.richContent.nodes.cardData.background.gradient.centerY` }, { path: `draftPost.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `draftPost.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `draftPost.richContent.nodes.tocData.fontSize` }, { path: `draftPost.richContent.nodes.tocData.itemSpacing` }, { path: `draftPost.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `draftPost.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
|
|
1436
1436
|
function Yr(e6) {
|
|
1437
1437
|
return P(Object.assign(e6, { domainToMappings: { _api_base_domain_: [{ srcPath: `/draft-post-service-api-proxy`, destPath: `` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }, { srcPath: `/blog/v3/bulk/draft-posts/create`, destPath: `/v3/bulk/draft-posts/create` }, { srcPath: `/blog/v3/bulk/draft-posts`, destPath: `/v3/bulk/draft-posts` }], "*.pub.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], _: [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }, { srcPath: `/blog/v3/bulk/draft-posts/create`, destPath: `/v3/bulk/draft-posts/create` }, { srcPath: `/blog/v3/bulk/draft-posts`, destPath: `/v3/bulk/draft-posts` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }, { srcPath: `/_api/draft-post-service-api-proxy/v3/bulk/draft-posts`, destPath: `/v3/bulk/draft-posts` }, { srcPath: `/_api/communities-blog-node-api/v3/multilingual`, destPath: `/v3/multilingual` }, { srcPath: `/_api/communities-blog-node-api/v3/stats`, destPath: `/v3/stats` }, { srcPath: `/_api/communities-blog-node-api/v3/moderation`, destPath: `/v3/moderation` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/moderation`, destPath: `/v3/bulk/moderation` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/draft-posts/create`, destPath: `/v3/bulk/draft-posts/create` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }], "www.wixapis.com": [{ srcPath: `/blog/v3/draft-posts`, destPath: `/v3/draft-posts` }, { srcPath: `/blog/v3/bulk/draft-posts/create`, destPath: `/v3/bulk/draft-posts/create` }, { srcPath: `/blog/v3/draft-posts/`, destPath: `/v3/draft-posts` }, { srcPath: `/blog/v3/bulk/draft-posts`, destPath: `/v3/bulk/draft-posts` }, { srcPath: `/blog/v3/multilingual`, destPath: `/v3/multilingual` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/draft-posts`, destPath: `/v3/draft-posts` }] } }));
|
|
@@ -1462,10 +1462,10 @@ function ri(e6) {
|
|
|
1462
1462
|
return (t2, n2) => ni(t2, n2, { httpClient: e6 });
|
|
1463
1463
|
}
|
|
1464
1464
|
var ii = M(ri);
|
|
1465
|
-
var ai = [{ path: `post.firstPublishedDate` }, { path: `post.lastPublishedDate` }, { path: `post.heroImage.urlExpirationDate` }, { path: `post.richContent.metadata.createdTimestamp` }, { path: `post.richContent.metadata.updatedTimestamp` }, { path: `post.moderationDetails.submittedDate` }, { path: `post.moderationDetails.moderationDate` }, { path: `post.media.wixMedia.image.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1465
|
+
var ai = [{ path: `post.firstPublishedDate` }, { path: `post.lastPublishedDate` }, { path: `post.expirationDate` }, { path: `post.heroImage.urlExpirationDate` }, { path: `post.richContent.metadata.createdTimestamp` }, { path: `post.richContent.metadata.updatedTimestamp` }, { path: `post.moderationDetails.submittedDate` }, { path: `post.moderationDetails.moderationDate` }, { path: `post.media.wixMedia.image.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `post.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1466
1466
|
var oi = [{ path: `post.richContentCompressed` }];
|
|
1467
1467
|
var si = [{ path: `post.heroImage.focalPoint.x` }, { path: `post.heroImage.focalPoint.y` }, { path: `post.media.wixMedia.image.focalPoint.x` }, { path: `post.media.wixMedia.image.focalPoint.y` }, { path: `post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `post.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `post.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `post.metrics.averageRating` }, { path: `post.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `post.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `post.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `post.richContent.nodes.galleryData.items.image.media.duration` }, { path: `post.richContent.nodes.galleryData.items.video.media.duration` }, { path: `post.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `post.richContent.nodes.galleryData.options.item.ratio` }, { path: `post.richContent.nodes.imageData.image.duration` }, { path: `post.richContent.nodes.imageData.crop.x` }, { path: `post.richContent.nodes.imageData.crop.y` }, { path: `post.richContent.nodes.imageData.crop.width` }, { path: `post.richContent.nodes.imageData.crop.height` }, { path: `post.richContent.nodes.mapData.mapSettings.lat` }, { path: `post.richContent.nodes.mapData.mapSettings.lng` }, { path: `post.richContent.nodes.pollData.poll.image.duration` }, { path: `post.richContent.nodes.pollData.poll.options.image.duration` }, { path: `post.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.nodes.appEmbedData.image.duration` }, { path: `post.richContent.nodes.videoData.video.duration` }, { path: `post.richContent.nodes.videoData.thumbnail.duration` }, { path: `post.richContent.nodes.audioData.audio.duration` }, { path: `post.richContent.nodes.audioData.coverImage.duration` }, { path: `post.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `post.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `post.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `post.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `post.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `post.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `post.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `post.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `post.richContent.nodes.shapeData.shape.duration` }, { path: `post.richContent.nodes.cardData.background.gradient.centerX` }, { path: `post.richContent.nodes.cardData.background.gradient.centerY` }, { path: `post.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `post.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `post.richContent.nodes.tocData.fontSize` }, { path: `post.richContent.nodes.tocData.itemSpacing` }, { path: `post.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `post.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
|
|
1468
|
-
var ci = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1468
|
+
var ci = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.expirationDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
1469
1469
|
var li = [{ path: `posts.richContentCompressed` }];
|
|
1470
1470
|
var ui = [{ path: `posts.heroImage.focalPoint.x` }, { path: `posts.heroImage.focalPoint.y` }, { path: `posts.media.wixMedia.image.focalPoint.x` }, { path: `posts.media.wixMedia.image.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `posts.metrics.averageRating` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `posts.richContent.nodes.galleryData.items.image.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `posts.richContent.nodes.galleryData.options.item.ratio` }, { path: `posts.richContent.nodes.imageData.image.duration` }, { path: `posts.richContent.nodes.imageData.crop.x` }, { path: `posts.richContent.nodes.imageData.crop.y` }, { path: `posts.richContent.nodes.imageData.crop.width` }, { path: `posts.richContent.nodes.imageData.crop.height` }, { path: `posts.richContent.nodes.mapData.mapSettings.lat` }, { path: `posts.richContent.nodes.mapData.mapSettings.lng` }, { path: `posts.richContent.nodes.pollData.poll.image.duration` }, { path: `posts.richContent.nodes.pollData.poll.options.image.duration` }, { path: `posts.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.appEmbedData.image.duration` }, { path: `posts.richContent.nodes.videoData.video.duration` }, { path: `posts.richContent.nodes.videoData.thumbnail.duration` }, { path: `posts.richContent.nodes.audioData.audio.duration` }, { path: `posts.richContent.nodes.audioData.coverImage.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `posts.richContent.nodes.shapeData.shape.duration` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.tocData.fontSize` }, { path: `posts.richContent.nodes.tocData.itemSpacing` }, { path: `posts.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
|
|
1471
1471
|
var di = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
|
|
@@ -2597,7 +2597,8 @@ var ms = class {
|
|
|
2597
2597
|
e7 && (this.isSupportedCode(e7) ? l2.push(e7) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e7}`));
|
|
2598
2598
|
};
|
|
2599
2599
|
return W(e6) && (e6.includes(`-`) || e6.includes(`_`)) ? (this.options.load !== `languageOnly` && u2(this.formatLanguageCode(e6)), this.options.load !== `languageOnly` && this.options.load !== `currentOnly` && u2(this.getScriptPartFromCode(e6)), this.options.load !== `currentOnly` && u2(this.getLanguagePartFromCode(e6))) : W(e6) && u2(this.formatLanguageCode(e6)), c2.forEach((e7) => {
|
|
2600
|
-
|
|
2600
|
+
let t3 = this.formatLanguageCode(e7);
|
|
2601
|
+
l2.includes(t3) || u2(t3);
|
|
2601
2602
|
}), s2 === null ? l2 : (this.resolveHierarchyCache[s2] = l2, l2.slice());
|
|
2602
2603
|
}
|
|
2603
2604
|
};
|
|
@@ -3042,7 +3043,9 @@ var J = class e4 extends os {
|
|
|
3042
3043
|
let e7 = t2.precheck(this, a2);
|
|
3043
3044
|
if (e7 !== void 0) return e7;
|
|
3044
3045
|
}
|
|
3045
|
-
|
|
3046
|
+
if (this.hasResourceBundle(n2, e6) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages) return true;
|
|
3047
|
+
let { languageUtils: o2 } = this.services, s2 = t2.lng ? o2.isSupportedCode(n2) && o2.toResolveHierarchy(n2, false)[0] : n2;
|
|
3048
|
+
return !(s2 && !a2(s2, e6) || r2 && !a2(i2, e6));
|
|
3046
3049
|
}
|
|
3047
3050
|
loadNamespaces(e6, t2) {
|
|
3048
3051
|
let n2 = zo();
|
|
@@ -3080,7 +3083,7 @@ var J = class e4 extends os {
|
|
|
3080
3083
|
cloneInstance(t2 = {}, n2 = ks) {
|
|
3081
3084
|
let r2 = t2.forkResourceStore;
|
|
3082
3085
|
r2 && delete t2.forkResourceStore;
|
|
3083
|
-
let i2 = { ...this.options, ...t2, isClone: true }, a2 = new e4(i2);
|
|
3086
|
+
let i2 = { ...this.options, preload: false, ...t2, isClone: true }, a2 = new e4(i2);
|
|
3084
3087
|
if ((t2.debug !== void 0 || t2.prefix !== void 0) && (a2.logger = a2.logger.clone(t2)), [`store`, `services`, `language`].forEach((e6) => {
|
|
3085
3088
|
a2[e6] = this[e6];
|
|
3086
3089
|
}), a2.services = { ...this.services }, a2.services.utils = { hasLoadedNamespace: a2.hasLoadedNamespace.bind(a2) }, r2 && (a2.store = new cs(Object.keys(this.store.data).reduce((e6, t3) => (e6[t3] = { ...this.store.data[t3] }, e6[t3] = Object.keys(e6[t3]).reduce((n3, r3) => (n3[r3] = { ...e6[t3][r3] }, n3), e6[t3]), e6), {}), i2), a2.services.resourceStore = a2.store), t2.interpolation) {
|
|
@@ -3106,75 +3109,38 @@ var js = ({ locale: e6, asyncMessagesLoader: t2, messages: n2, useSuspense: r2 =
|
|
|
3106
3109
|
}
|
|
3107
3110
|
} }), n2 && (s2.resources = { [e6]: { translation: n2 } }), i2 || c2.init(s2), c2;
|
|
3108
3111
|
};
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
return e7 && e7.indexOf(`###`) > -1 ? e7.replace(/###/g, `.`) : e7;
|
|
3113
|
-
}
|
|
3114
|
-
function i2() {
|
|
3115
|
-
return !e6 || typeof e6 == `string`;
|
|
3116
|
-
}
|
|
3117
|
-
for (var a2 = typeof t2 == `string` ? t2.split(`.`) : [].concat(t2); a2.length > 1; ) {
|
|
3118
|
-
if (i2()) return {};
|
|
3119
|
-
var o2 = r2(a2.shift());
|
|
3120
|
-
if (Ms.indexOf(o2) > -1) return {};
|
|
3121
|
-
!e6[o2] && n2 && (e6[o2] = new n2()), e6 = e6[o2];
|
|
3122
|
-
}
|
|
3123
|
-
if (i2()) return {};
|
|
3124
|
-
var s2 = r2(a2.shift());
|
|
3125
|
-
return Ms.indexOf(s2) > -1 ? {} : { obj: e6, k: s2 };
|
|
3112
|
+
function Ms(e6, t2) {
|
|
3113
|
+
let n2 = t2 && t2.cache ? t2.cache : Hs, r2 = t2 && t2.serializer ? t2.serializer : Bs;
|
|
3114
|
+
return (t2 && t2.strategy ? t2.strategy : Ls)(e6, { cache: n2, serializer: r2 });
|
|
3126
3115
|
}
|
|
3127
|
-
function
|
|
3128
|
-
var r2 = Ns(e6, t2, Object), i2 = r2.obj, a2 = r2.k;
|
|
3129
|
-
i2 !== void 0 && (i2[a2] = n2);
|
|
3130
|
-
}
|
|
3131
|
-
function Fs(e6, t2) {
|
|
3132
|
-
var n2 = Ns(e6, t2), r2 = n2.obj, i2 = n2.k;
|
|
3133
|
-
if (r2) return r2[i2];
|
|
3134
|
-
}
|
|
3135
|
-
var Is = [];
|
|
3136
|
-
var Ls = Is.forEach;
|
|
3137
|
-
var Rs = Is.slice;
|
|
3138
|
-
function zs(e6) {
|
|
3139
|
-
return Ls.call(Rs.call(arguments, 1), function(t2) {
|
|
3140
|
-
if (t2) for (var n2 = 0, r2 = Object.keys(t2); n2 < r2.length; n2++) {
|
|
3141
|
-
var i2 = r2[n2];
|
|
3142
|
-
Ms.indexOf(i2) > -1 || e6[i2] === void 0 && (e6[i2] = t2[i2]);
|
|
3143
|
-
}
|
|
3144
|
-
}), e6;
|
|
3145
|
-
}
|
|
3146
|
-
function Bs(e6, t2) {
|
|
3147
|
-
let n2 = t2 && t2.cache ? t2.cache : Xs, r2 = t2 && t2.serializer ? t2.serializer : Js;
|
|
3148
|
-
return (t2 && t2.strategy ? t2.strategy : Gs)(e6, { cache: n2, serializer: r2 });
|
|
3149
|
-
}
|
|
3150
|
-
function Vs(e6) {
|
|
3116
|
+
function Ns(e6) {
|
|
3151
3117
|
return e6 == null || typeof e6 == `number` || typeof e6 == `boolean`;
|
|
3152
3118
|
}
|
|
3153
|
-
function
|
|
3154
|
-
let i2 =
|
|
3119
|
+
function Ps(e6, t2, n2, r2) {
|
|
3120
|
+
let i2 = Ns(r2) ? r2 : n2(r2), a2 = t2.get(i2);
|
|
3155
3121
|
return a2 === void 0 && (a2 = e6.call(this, r2), t2.set(i2, a2)), a2;
|
|
3156
3122
|
}
|
|
3157
|
-
function
|
|
3123
|
+
function Fs(e6, t2, n2) {
|
|
3158
3124
|
let r2 = Array.prototype.slice.call(arguments, 3), i2 = n2(r2), a2 = t2.get(i2);
|
|
3159
3125
|
return a2 === void 0 && (a2 = e6.apply(this, r2), t2.set(i2, a2)), a2;
|
|
3160
3126
|
}
|
|
3161
|
-
function
|
|
3127
|
+
function Is(e6, t2, n2, r2, i2) {
|
|
3162
3128
|
return n2.bind(t2, e6, r2, i2);
|
|
3163
3129
|
}
|
|
3164
|
-
function
|
|
3165
|
-
let n2 = e6.length === 1 ?
|
|
3166
|
-
return
|
|
3130
|
+
function Ls(e6, t2) {
|
|
3131
|
+
let n2 = e6.length === 1 ? Ps : Fs;
|
|
3132
|
+
return Is(e6, this, n2, t2.cache.create(), t2.serializer);
|
|
3167
3133
|
}
|
|
3168
|
-
function
|
|
3169
|
-
return
|
|
3134
|
+
function Rs(e6, t2) {
|
|
3135
|
+
return Is(e6, this, Fs, t2.cache.create(), t2.serializer);
|
|
3170
3136
|
}
|
|
3171
|
-
function
|
|
3172
|
-
return
|
|
3137
|
+
function zs(e6, t2) {
|
|
3138
|
+
return Is(e6, this, Ps, t2.cache.create(), t2.serializer);
|
|
3173
3139
|
}
|
|
3174
|
-
var
|
|
3140
|
+
var Bs = function() {
|
|
3175
3141
|
return JSON.stringify(arguments);
|
|
3176
3142
|
};
|
|
3177
|
-
var
|
|
3143
|
+
var Vs = class {
|
|
3178
3144
|
constructor() {
|
|
3179
3145
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3180
3146
|
}
|
|
@@ -3185,14 +3151,14 @@ var Ys = class {
|
|
|
3185
3151
|
this.cache[e6] = t2;
|
|
3186
3152
|
}
|
|
3187
3153
|
};
|
|
3188
|
-
var
|
|
3189
|
-
return new
|
|
3154
|
+
var Hs = { create: function() {
|
|
3155
|
+
return new Vs();
|
|
3190
3156
|
} };
|
|
3191
|
-
var
|
|
3192
|
-
var
|
|
3193
|
-
function
|
|
3157
|
+
var Us = { variadic: Rs, monadic: zs };
|
|
3158
|
+
var Ws = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
3159
|
+
function Gs(e6) {
|
|
3194
3160
|
let t2 = {};
|
|
3195
|
-
return e6.replace(
|
|
3161
|
+
return e6.replace(Ws, (e7) => {
|
|
3196
3162
|
let n2 = e7.length;
|
|
3197
3163
|
switch (e7[0]) {
|
|
3198
3164
|
case `G`:
|
|
@@ -3279,10 +3245,10 @@ function $s(e6) {
|
|
|
3279
3245
|
return ``;
|
|
3280
3246
|
}), t2;
|
|
3281
3247
|
}
|
|
3282
|
-
var
|
|
3283
|
-
function
|
|
3248
|
+
var Ks = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
3249
|
+
function qs(e6) {
|
|
3284
3250
|
if (e6.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
3285
|
-
let t2 = e6.split(
|
|
3251
|
+
let t2 = e6.split(Ks).filter((e7) => e7.length > 0), n2 = [];
|
|
3286
3252
|
for (let e7 of t2) {
|
|
3287
3253
|
let t3 = e7.split(`/`);
|
|
3288
3254
|
if (t3.length === 0) throw Error(`Invalid number skeleton`);
|
|
@@ -3292,20 +3258,20 @@ function tc(e6) {
|
|
|
3292
3258
|
}
|
|
3293
3259
|
return n2;
|
|
3294
3260
|
}
|
|
3295
|
-
function
|
|
3261
|
+
function Js(e6) {
|
|
3296
3262
|
return e6.replace(/^(.*?)-/, ``);
|
|
3297
3263
|
}
|
|
3298
|
-
var
|
|
3299
|
-
var
|
|
3300
|
-
var
|
|
3301
|
-
var
|
|
3302
|
-
function
|
|
3264
|
+
var Ys = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;
|
|
3265
|
+
var Xs = /^(@+)?(\+|#+)?[rs]?$/g;
|
|
3266
|
+
var Zs = /(\*)(0+)|(#+)(0+)|(0+)/g;
|
|
3267
|
+
var Qs = /^(0+)$/;
|
|
3268
|
+
function $s(e6) {
|
|
3303
3269
|
let t2 = {};
|
|
3304
|
-
return e6[e6.length - 1] === `r` ? t2.roundingPriority = `morePrecision` : e6[e6.length - 1] === `s` && (t2.roundingPriority = `lessPrecision`), e6.replace(
|
|
3270
|
+
return e6[e6.length - 1] === `r` ? t2.roundingPriority = `morePrecision` : e6[e6.length - 1] === `s` && (t2.roundingPriority = `lessPrecision`), e6.replace(Xs, function(e7, n2, r2) {
|
|
3305
3271
|
return typeof r2 == `string` ? r2 === `+` ? t2.minimumSignificantDigits = n2.length : n2[0] === `#` ? t2.maximumSignificantDigits = n2.length : (t2.minimumSignificantDigits = n2.length, t2.maximumSignificantDigits = n2.length + (typeof r2 == `string` ? r2.length : 0)) : (t2.minimumSignificantDigits = n2.length, t2.maximumSignificantDigits = n2.length), ``;
|
|
3306
3272
|
}), t2;
|
|
3307
3273
|
}
|
|
3308
|
-
function
|
|
3274
|
+
function ec(e6) {
|
|
3309
3275
|
switch (e6) {
|
|
3310
3276
|
case `sign-auto`:
|
|
3311
3277
|
return { signDisplay: `auto` };
|
|
@@ -3329,19 +3295,19 @@ function cc(e6) {
|
|
|
3329
3295
|
return { signDisplay: `never` };
|
|
3330
3296
|
}
|
|
3331
3297
|
}
|
|
3332
|
-
function
|
|
3298
|
+
function tc(e6) {
|
|
3333
3299
|
let t2;
|
|
3334
3300
|
if (e6[0] === `E` && e6[1] === `E` ? (t2 = { notation: `engineering` }, e6 = e6.slice(2)) : e6[0] === `E` && (t2 = { notation: `scientific` }, e6 = e6.slice(1)), t2) {
|
|
3335
3301
|
let n2 = e6.slice(0, 2);
|
|
3336
|
-
if (n2 === `+!` ? (t2.signDisplay = `always`, e6 = e6.slice(2)) : n2 === `+?` && (t2.signDisplay = `exceptZero`, e6 = e6.slice(2)), !
|
|
3302
|
+
if (n2 === `+!` ? (t2.signDisplay = `always`, e6 = e6.slice(2)) : n2 === `+?` && (t2.signDisplay = `exceptZero`, e6 = e6.slice(2)), !Qs.test(e6)) throw Error(`Malformed concise eng/scientific notation`);
|
|
3337
3303
|
t2.minimumIntegerDigits = e6.length;
|
|
3338
3304
|
}
|
|
3339
3305
|
return t2;
|
|
3340
3306
|
}
|
|
3341
|
-
function
|
|
3342
|
-
return
|
|
3307
|
+
function nc(e6) {
|
|
3308
|
+
return ec(e6) || {};
|
|
3343
3309
|
}
|
|
3344
|
-
function
|
|
3310
|
+
function rc(e6) {
|
|
3345
3311
|
let t2 = {};
|
|
3346
3312
|
for (let n2 of e6) {
|
|
3347
3313
|
switch (n2.stem) {
|
|
@@ -3365,7 +3331,7 @@ function dc(e6) {
|
|
|
3365
3331
|
continue;
|
|
3366
3332
|
case `measure-unit`:
|
|
3367
3333
|
case `unit`:
|
|
3368
|
-
t2.style = `unit`, t2.unit =
|
|
3334
|
+
t2.style = `unit`, t2.unit = Js(n2.options[0]);
|
|
3369
3335
|
continue;
|
|
3370
3336
|
case `compact-short`:
|
|
3371
3337
|
case `K`:
|
|
@@ -3376,10 +3342,10 @@ function dc(e6) {
|
|
|
3376
3342
|
t2.notation = `compact`, t2.compactDisplay = `long`;
|
|
3377
3343
|
continue;
|
|
3378
3344
|
case `scientific`:
|
|
3379
|
-
t2 = { ...t2, notation: `scientific`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...
|
|
3345
|
+
t2 = { ...t2, notation: `scientific`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...nc(t3) }), {}) };
|
|
3380
3346
|
continue;
|
|
3381
3347
|
case `engineering`:
|
|
3382
|
-
t2 = { ...t2, notation: `engineering`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...
|
|
3348
|
+
t2 = { ...t2, notation: `engineering`, ...n2.options.reduce((e8, t3) => ({ ...e8, ...nc(t3) }), {}) };
|
|
3383
3349
|
continue;
|
|
3384
3350
|
case `notation-simple`:
|
|
3385
3351
|
t2.notation = `standard`;
|
|
@@ -3422,7 +3388,7 @@ function dc(e6) {
|
|
|
3422
3388
|
continue;
|
|
3423
3389
|
case `integer-width`:
|
|
3424
3390
|
if (n2.options.length > 1) throw RangeError(`integer-width stems only accept a single optional option`);
|
|
3425
|
-
n2.options[0].replace(
|
|
3391
|
+
n2.options[0].replace(Zs, function(e8, n3, r3, i2, a2, o2) {
|
|
3426
3392
|
if (n3) t2.minimumIntegerDigits = r3.length;
|
|
3427
3393
|
else if (i2 && a2) throw Error(`We currently do not support maximum integer digits`);
|
|
3428
3394
|
else if (o2) throw Error(`We currently do not support exact integer digits`);
|
|
@@ -3430,83 +3396,83 @@ function dc(e6) {
|
|
|
3430
3396
|
});
|
|
3431
3397
|
continue;
|
|
3432
3398
|
}
|
|
3433
|
-
if (
|
|
3399
|
+
if (Qs.test(n2.stem)) {
|
|
3434
3400
|
t2.minimumIntegerDigits = n2.stem.length;
|
|
3435
3401
|
continue;
|
|
3436
3402
|
}
|
|
3437
|
-
if (
|
|
3403
|
+
if (Ys.test(n2.stem)) {
|
|
3438
3404
|
if (n2.options.length > 1) throw RangeError(`Fraction-precision stems only accept a single optional option`);
|
|
3439
|
-
n2.stem.replace(
|
|
3405
|
+
n2.stem.replace(Ys, function(e9, n3, r3, i2, a2, o2) {
|
|
3440
3406
|
return r3 === `*` ? t2.minimumFractionDigits = n3.length : i2 && i2[0] === `#` ? t2.maximumFractionDigits = i2.length : a2 && o2 ? (t2.minimumFractionDigits = a2.length, t2.maximumFractionDigits = a2.length + o2.length) : (t2.minimumFractionDigits = n3.length, t2.maximumFractionDigits = n3.length), ``;
|
|
3441
3407
|
});
|
|
3442
3408
|
let e8 = n2.options[0];
|
|
3443
|
-
e8 === `w` ? t2 = { ...t2, trailingZeroDisplay: `stripIfInteger` } : e8 && (t2 = { ...t2,
|
|
3409
|
+
e8 === `w` ? t2 = { ...t2, trailingZeroDisplay: `stripIfInteger` } : e8 && (t2 = { ...t2, ...$s(e8) });
|
|
3444
3410
|
continue;
|
|
3445
3411
|
}
|
|
3446
|
-
if (
|
|
3447
|
-
t2 = { ...t2,
|
|
3412
|
+
if (Xs.test(n2.stem)) {
|
|
3413
|
+
t2 = { ...t2, ...$s(n2.stem) };
|
|
3448
3414
|
continue;
|
|
3449
3415
|
}
|
|
3450
|
-
let e7 =
|
|
3416
|
+
let e7 = ec(n2.stem);
|
|
3451
3417
|
e7 && (t2 = { ...t2, ...e7 });
|
|
3452
|
-
let r2 =
|
|
3418
|
+
let r2 = tc(n2.stem);
|
|
3453
3419
|
r2 && (t2 = { ...t2, ...r2 });
|
|
3454
3420
|
}
|
|
3455
3421
|
return t2;
|
|
3456
3422
|
}
|
|
3457
|
-
var
|
|
3423
|
+
var ic = function(e6) {
|
|
3458
3424
|
return e6[e6.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = `EXPECT_ARGUMENT_CLOSING_BRACE`, e6[e6.EMPTY_ARGUMENT = 2] = `EMPTY_ARGUMENT`, e6[e6.MALFORMED_ARGUMENT = 3] = `MALFORMED_ARGUMENT`, e6[e6.EXPECT_ARGUMENT_TYPE = 4] = `EXPECT_ARGUMENT_TYPE`, e6[e6.INVALID_ARGUMENT_TYPE = 5] = `INVALID_ARGUMENT_TYPE`, e6[e6.EXPECT_ARGUMENT_STYLE = 6] = `EXPECT_ARGUMENT_STYLE`, e6[e6.INVALID_NUMBER_SKELETON = 7] = `INVALID_NUMBER_SKELETON`, e6[e6.INVALID_DATE_TIME_SKELETON = 8] = `INVALID_DATE_TIME_SKELETON`, e6[e6.EXPECT_NUMBER_SKELETON = 9] = `EXPECT_NUMBER_SKELETON`, e6[e6.EXPECT_DATE_TIME_SKELETON = 10] = `EXPECT_DATE_TIME_SKELETON`, e6[e6.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = `UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`, e6[e6.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = `EXPECT_SELECT_ARGUMENT_OPTIONS`, e6[e6.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = `EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`, e6[e6.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = `INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`, e6[e6.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = `EXPECT_SELECT_ARGUMENT_SELECTOR`, e6[e6.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = `EXPECT_PLURAL_ARGUMENT_SELECTOR`, e6[e6.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = `EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`, e6[e6.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = `EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`, e6[e6.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = `INVALID_PLURAL_ARGUMENT_SELECTOR`, e6[e6.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = `DUPLICATE_PLURAL_ARGUMENT_SELECTOR`, e6[e6.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = `DUPLICATE_SELECT_ARGUMENT_SELECTOR`, e6[e6.MISSING_OTHER_CLAUSE = 22] = `MISSING_OTHER_CLAUSE`, e6[e6.INVALID_TAG = 23] = `INVALID_TAG`, e6[e6.INVALID_TAG_NAME = 25] = `INVALID_TAG_NAME`, e6[e6.UNMATCHED_CLOSING_TAG = 26] = `UNMATCHED_CLOSING_TAG`, e6[e6.UNCLOSED_TAG = 27] = `UNCLOSED_TAG`, e6;
|
|
3459
3425
|
}({});
|
|
3460
|
-
function
|
|
3426
|
+
function ac(e6) {
|
|
3461
3427
|
return e6.type === 0;
|
|
3462
3428
|
}
|
|
3463
|
-
function
|
|
3429
|
+
function oc(e6) {
|
|
3464
3430
|
return e6.type === 1;
|
|
3465
3431
|
}
|
|
3466
|
-
function
|
|
3432
|
+
function sc(e6) {
|
|
3467
3433
|
return e6.type === 2;
|
|
3468
3434
|
}
|
|
3469
|
-
function
|
|
3435
|
+
function cc(e6) {
|
|
3470
3436
|
return e6.type === 3;
|
|
3471
3437
|
}
|
|
3472
|
-
function
|
|
3438
|
+
function lc(e6) {
|
|
3473
3439
|
return e6.type === 4;
|
|
3474
3440
|
}
|
|
3475
|
-
function
|
|
3441
|
+
function uc(e6) {
|
|
3476
3442
|
return e6.type === 5;
|
|
3477
3443
|
}
|
|
3478
|
-
function
|
|
3444
|
+
function dc(e6) {
|
|
3479
3445
|
return e6.type === 6;
|
|
3480
3446
|
}
|
|
3481
|
-
function
|
|
3447
|
+
function fc(e6) {
|
|
3482
3448
|
return e6.type === 7;
|
|
3483
3449
|
}
|
|
3484
|
-
function
|
|
3450
|
+
function pc(e6) {
|
|
3485
3451
|
return e6.type === 8;
|
|
3486
3452
|
}
|
|
3487
|
-
function
|
|
3453
|
+
function mc(e6) {
|
|
3488
3454
|
return !!(e6 && typeof e6 == `object` && e6.type === 0);
|
|
3489
3455
|
}
|
|
3490
|
-
function
|
|
3456
|
+
function hc(e6) {
|
|
3491
3457
|
return !!(e6 && typeof e6 == `object` && e6.type === 1);
|
|
3492
3458
|
}
|
|
3493
|
-
var
|
|
3494
|
-
var
|
|
3495
|
-
function
|
|
3459
|
+
var gc = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
3460
|
+
var _c = { "001": [`H`, `h`], 419: [`h`, `H`, `hB`, `hb`], AC: [`H`, `h`, `hb`, `hB`], AD: [`H`, `hB`], AE: [`h`, `hB`, `hb`, `H`], AF: [`H`, `hb`, `hB`, `h`], AG: [`h`, `hb`, `H`, `hB`], AI: [`H`, `h`, `hb`, `hB`], AL: [`h`, `H`, `hB`], AM: [`H`, `hB`], AO: [`H`, `hB`], AR: [`h`, `H`, `hB`, `hb`], AS: [`h`, `H`], AT: [`H`, `hB`], AU: [`h`, `hb`, `H`, `hB`], AW: [`H`, `hB`], AX: [`H`], AZ: [`H`, `hB`, `h`], BA: [`H`, `hB`, `h`], BB: [`h`, `hb`, `H`, `hB`], BD: [`h`, `hB`, `H`], BE: [`H`, `hB`], BF: [`H`, `hB`], BG: [`H`, `hB`, `h`], BH: [`h`, `hB`, `hb`, `H`], BI: [`H`, `h`], BJ: [`H`, `hB`], BL: [`H`, `hB`], BM: [`h`, `hb`, `H`, `hB`], BN: [`hb`, `hB`, `h`, `H`], BO: [`h`, `H`, `hB`, `hb`], BQ: [`H`], BR: [`H`, `hB`], BS: [`h`, `hb`, `H`, `hB`], BT: [`h`, `H`], BW: [`H`, `h`, `hb`, `hB`], BY: [`H`, `h`], BZ: [`H`, `h`, `hb`, `hB`], CA: [`h`, `hb`, `H`, `hB`], CC: [`H`, `h`, `hb`, `hB`], CD: [`hB`, `H`], CF: [`H`, `h`, `hB`], CG: [`H`, `hB`], CH: [`H`, `hB`, `h`], CI: [`H`, `hB`], CK: [`H`, `h`, `hb`, `hB`], CL: [`h`, `H`, `hB`, `hb`], CM: [`H`, `h`, `hB`], CN: [`H`, `hB`, `hb`, `h`], CO: [`h`, `H`, `hB`, `hb`], CP: [`H`], CR: [`h`, `H`, `hB`, `hb`], CU: [`h`, `H`, `hB`, `hb`], CV: [`H`, `hB`], CW: [`H`, `hB`], CX: [`H`, `h`, `hb`, `hB`], CY: [`h`, `H`, `hb`, `hB`], CZ: [`H`], DE: [`H`, `hB`], DG: [`H`, `h`, `hb`, `hB`], DJ: [`h`, `H`], DK: [`H`], DM: [`h`, `hb`, `H`, `hB`], DO: [`h`, `H`, `hB`, `hb`], DZ: [`h`, `hB`, `hb`, `H`], EA: [`H`, `h`, `hB`, `hb`], EC: [`h`, `H`, `hB`, `hb`], EE: [`H`, `hB`], EG: [`h`, `hB`, `hb`, `H`], EH: [`h`, `hB`, `hb`, `H`], ER: [`h`, `H`], ES: [`H`, `hB`, `h`, `hb`], ET: [`hB`, `hb`, `h`, `H`], FI: [`H`], FJ: [`h`, `hb`, `H`, `hB`], FK: [`H`, `h`, `hb`, `hB`], FM: [`h`, `hb`, `H`, `hB`], FO: [`H`, `h`], FR: [`H`, `hB`], GA: [`H`, `hB`], GB: [`H`, `h`, `hb`, `hB`], GD: [`h`, `hb`, `H`, `hB`], GE: [`H`, `hB`, `h`], GF: [`H`, `hB`], GG: [`H`, `h`, `hb`, `hB`], GH: [`h`, `H`], GI: [`H`, `h`, `hb`, `hB`], GL: [`H`, `h`], GM: [`h`, `hb`, `H`, `hB`], GN: [`H`, `hB`], GP: [`H`, `hB`], GQ: [`H`, `hB`, `h`, `hb`], GR: [`h`, `H`, `hb`, `hB`], GS: [`H`, `h`, `hb`, `hB`], GT: [`h`, `H`, `hB`, `hb`], GU: [`h`, `hb`, `H`, `hB`], GW: [`H`, `hB`], GY: [`h`, `hb`, `H`, `hB`], HK: [`h`, `hB`, `hb`, `H`], HN: [`h`, `H`, `hB`, `hb`], HR: [`H`, `hB`], HU: [`H`, `h`], IC: [`H`, `h`, `hB`, `hb`], ID: [`H`], IE: [`H`, `h`, `hb`, `hB`], IL: [`H`, `hB`], IM: [`H`, `h`, `hb`, `hB`], IN: [`h`, `H`], IO: [`H`, `h`, `hb`, `hB`], IQ: [`h`, `hB`, `hb`, `H`], IR: [`hB`, `H`], IS: [`H`], IT: [`H`, `hB`], JE: [`H`, `h`, `hb`, `hB`], JM: [`h`, `hb`, `H`, `hB`], JO: [`h`, `hB`, `hb`, `H`], JP: [`H`, `K`, `h`], KE: [`hB`, `hb`, `H`, `h`], KG: [`H`, `h`, `hB`, `hb`], KH: [`hB`, `h`, `H`, `hb`], KI: [`h`, `hb`, `H`, `hB`], KM: [`H`, `h`, `hB`, `hb`], KN: [`h`, `hb`, `H`, `hB`], KP: [`h`, `H`, `hB`, `hb`], KR: [`h`, `H`, `hB`, `hb`], KW: [`h`, `hB`, `hb`, `H`], KY: [`h`, `hb`, `H`, `hB`], KZ: [`H`, `hB`], LA: [`H`, `hb`, `hB`, `h`], LB: [`h`, `hB`, `hb`, `H`], LC: [`h`, `hb`, `H`, `hB`], LI: [`H`, `hB`, `h`], LK: [`H`, `h`, `hB`, `hb`], LR: [`h`, `hb`, `H`, `hB`], LS: [`h`, `H`], LT: [`H`, `h`, `hb`, `hB`], LU: [`H`, `h`, `hB`], LV: [`H`, `hB`, `hb`, `h`], LY: [`h`, `hB`, `hb`, `H`], MA: [`H`, `h`, `hB`, `hb`], MC: [`H`, `hB`], MD: [`H`, `hB`], ME: [`H`, `hB`, `h`], MF: [`H`, `hB`], MG: [`H`, `h`], MH: [`h`, `hb`, `H`, `hB`], MK: [`H`, `h`, `hb`, `hB`], ML: [`H`], MM: [`hB`, `hb`, `H`, `h`], MN: [`H`, `h`, `hb`, `hB`], MO: [`h`, `hB`, `hb`, `H`], MP: [`h`, `hb`, `H`, `hB`], MQ: [`H`, `hB`], MR: [`h`, `hB`, `hb`, `H`], MS: [`H`, `h`, `hb`, `hB`], MT: [`H`, `h`], MU: [`H`, `h`], MV: [`H`, `h`], MW: [`h`, `hb`, `H`, `hB`], MX: [`h`, `H`, `hB`, `hb`], MY: [`hb`, `hB`, `h`, `H`], MZ: [`H`, `hB`], NA: [`h`, `H`, `hB`, `hb`], NC: [`H`, `hB`], NE: [`H`], NF: [`H`, `h`, `hb`, `hB`], NG: [`H`, `h`, `hb`, `hB`], NI: [`h`, `H`, `hB`, `hb`], NL: [`H`, `hB`], NO: [`H`, `h`], NP: [`H`, `h`, `hB`], NR: [`H`, `h`, `hb`, `hB`], NU: [`H`, `h`, `hb`, `hB`], NZ: [`h`, `hb`, `H`, `hB`], OM: [`h`, `hB`, `hb`, `H`], PA: [`h`, `H`, `hB`, `hb`], PE: [`h`, `H`, `hB`, `hb`], PF: [`H`, `h`, `hB`], PG: [`h`, `H`], PH: [`h`, `hB`, `hb`, `H`], PK: [`h`, `hB`, `H`], PL: [`H`, `h`], PM: [`H`, `hB`], PN: [`H`, `h`, `hb`, `hB`], PR: [`h`, `H`, `hB`, `hb`], PS: [`h`, `hB`, `hb`, `H`], PT: [`H`, `hB`], PW: [`h`, `H`], PY: [`h`, `H`, `hB`, `hb`], QA: [`h`, `hB`, `hb`, `H`], RE: [`H`, `hB`], RO: [`H`, `hB`], RS: [`H`, `hB`, `h`], RU: [`H`], RW: [`H`, `h`], SA: [`h`, `hB`, `hb`, `H`], SB: [`h`, `hb`, `H`, `hB`], SC: [`H`, `h`, `hB`], SD: [`h`, `hB`, `hb`, `H`], SE: [`H`], SG: [`h`, `hb`, `H`, `hB`], SH: [`H`, `h`, `hb`, `hB`], SI: [`H`, `hB`], SJ: [`H`], SK: [`H`], SL: [`h`, `hb`, `H`, `hB`], SM: [`H`, `h`, `hB`], SN: [`H`, `h`, `hB`], SO: [`h`, `H`], SR: [`H`, `hB`], SS: [`h`, `hb`, `H`, `hB`], ST: [`H`, `hB`], SV: [`h`, `H`, `hB`, `hb`], SX: [`H`, `h`, `hb`, `hB`], SY: [`h`, `hB`, `hb`, `H`], SZ: [`h`, `hb`, `H`, `hB`], TA: [`H`, `h`, `hb`, `hB`], TC: [`h`, `hb`, `H`, `hB`], TD: [`h`, `H`, `hB`], TF: [`H`, `h`, `hB`], TG: [`H`, `hB`], TH: [`H`, `h`], TJ: [`H`, `h`], TL: [`H`, `hB`, `hb`, `h`], TM: [`H`, `h`], TN: [`h`, `hB`, `hb`, `H`], TO: [`h`, `H`], TR: [`H`, `hB`], TT: [`h`, `hb`, `H`, `hB`], TW: [`hB`, `hb`, `h`, `H`], TZ: [`hB`, `hb`, `H`, `h`], UA: [`H`, `hB`, `h`], UG: [`hB`, `hb`, `H`, `h`], UM: [`h`, `hb`, `H`, `hB`], US: [`h`, `hb`, `H`, `hB`], UY: [`h`, `H`, `hB`, `hb`], UZ: [`H`, `hB`, `h`], VA: [`H`, `h`, `hB`], VC: [`h`, `hb`, `H`, `hB`], VE: [`h`, `H`, `hB`, `hb`], VG: [`h`, `hb`, `H`, `hB`], VI: [`h`, `hb`, `H`, `hB`], VN: [`H`, `h`], VU: [`h`, `H`], WF: [`H`, `hB`], WS: [`h`, `H`], XK: [`H`, `hB`, `h`], YE: [`h`, `hB`, `hb`, `H`], YT: [`H`, `hB`], ZA: [`H`, `h`, `hb`, `hB`], ZM: [`h`, `hb`, `H`, `hB`], ZW: [`H`, `h`], "af-ZA": [`H`, `h`, `hB`, `hb`], "ar-001": [`h`, `hB`, `hb`, `H`], "ca-ES": [`H`, `h`, `hB`], "en-001": [`h`, `hb`, `H`, `hB`], "en-HK": [`h`, `hb`, `H`, `hB`], "en-IL": [`H`, `h`, `hb`, `hB`], "en-MY": [`h`, `hb`, `H`, `hB`], "es-BR": [`H`, `h`, `hB`, `hb`], "es-ES": [`H`, `h`, `hB`, `hb`], "es-GQ": [`H`, `h`, `hB`, `hb`], "fr-CA": [`H`, `h`, `hB`], "gl-ES": [`H`, `h`, `hB`], "gu-IN": [`hB`, `hb`, `h`, `H`], "hi-IN": [`hB`, `h`, `H`], "it-CH": [`H`, `h`, `hB`], "it-IT": [`H`, `h`, `hB`], "kn-IN": [`hB`, `h`, `H`], "ku-SY": [`H`, `hB`], "ml-IN": [`hB`, `h`, `H`], "mr-IN": [`hB`, `hb`, `h`, `H`], "pa-IN": [`hB`, `hb`, `h`, `H`], "ta-IN": [`hB`, `h`, `hb`, `H`], "te-IN": [`hB`, `h`, `H`], "zu-ZA": [`H`, `hB`, `hb`, `h`] };
|
|
3461
|
+
function vc(e6, t2) {
|
|
3496
3462
|
let n2 = ``;
|
|
3497
3463
|
for (let r2 = 0; r2 < e6.length; r2++) {
|
|
3498
3464
|
let i2 = e6.charAt(r2);
|
|
3499
3465
|
if (i2 === `j`) {
|
|
3500
3466
|
let a2 = 0;
|
|
3501
3467
|
for (; r2 + 1 < e6.length && e6.charAt(r2 + 1) === i2; ) a2++, r2++;
|
|
3502
|
-
let o2 = 1 + (a2 & 1), s2 = a2 < 2 ? 1 : 3 + (a2 >> 1), c2 =
|
|
3468
|
+
let o2 = 1 + (a2 & 1), s2 = a2 < 2 ? 1 : 3 + (a2 >> 1), c2 = yc(t2);
|
|
3503
3469
|
for ((c2 == `H` || c2 == `k`) && (s2 = 0); s2-- > 0; ) n2 += `a`;
|
|
3504
3470
|
for (; o2-- > 0; ) n2 = c2 + n2;
|
|
3505
3471
|
} else n2 += i2 === `J` ? `H` : i2;
|
|
3506
3472
|
}
|
|
3507
3473
|
return n2;
|
|
3508
3474
|
}
|
|
3509
|
-
function
|
|
3475
|
+
function yc(e6) {
|
|
3510
3476
|
let t2 = e6.hourCycle;
|
|
3511
3477
|
if (t2 === void 0) {
|
|
3512
3478
|
let n3 = e6;
|
|
@@ -3525,36 +3491,36 @@ function Dc(e6) {
|
|
|
3525
3491
|
throw Error(`Invalid hourCycle`);
|
|
3526
3492
|
}
|
|
3527
3493
|
let n2 = e6.language, r2;
|
|
3528
|
-
return n2 !== `root` && (r2 = e6.maximize().region), (
|
|
3494
|
+
return n2 !== `root` && (r2 = e6.maximize().region), (_c[`${n2}-${r2}`] || _c[r2 || ``] || _c[n2 || ``] || _c[`${n2}-001`] || _c[`001`])[0].charAt(0);
|
|
3529
3495
|
}
|
|
3530
|
-
var
|
|
3531
|
-
var
|
|
3496
|
+
var bc = RegExp(`^${gc.source}*`);
|
|
3497
|
+
var xc = RegExp(`${gc.source}*$`);
|
|
3532
3498
|
function Y(e6, t2) {
|
|
3533
3499
|
return { start: e6, end: t2 };
|
|
3534
3500
|
}
|
|
3535
|
-
var
|
|
3536
|
-
var
|
|
3537
|
-
var
|
|
3538
|
-
var
|
|
3501
|
+
var Sc = !!Object.fromEntries;
|
|
3502
|
+
var Cc = !!String.prototype.trimStart;
|
|
3503
|
+
var wc = !!String.prototype.trimEnd;
|
|
3504
|
+
var Tc = Sc ? Object.fromEntries : function(e6) {
|
|
3539
3505
|
let t2 = {};
|
|
3540
3506
|
for (let [n2, r2] of e6) t2[n2] = r2;
|
|
3541
3507
|
return t2;
|
|
3542
3508
|
};
|
|
3543
|
-
var
|
|
3509
|
+
var Ec = Cc ? function(e6) {
|
|
3544
3510
|
return e6.trimStart();
|
|
3545
3511
|
} : function(e6) {
|
|
3546
|
-
return e6.replace(
|
|
3512
|
+
return e6.replace(bc, ``);
|
|
3547
3513
|
};
|
|
3548
|
-
var
|
|
3514
|
+
var Dc = wc ? function(e6) {
|
|
3549
3515
|
return e6.trimEnd();
|
|
3550
3516
|
} : function(e6) {
|
|
3551
|
-
return e6.replace(
|
|
3517
|
+
return e6.replace(xc, ``);
|
|
3552
3518
|
};
|
|
3553
|
-
var
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3519
|
+
var Oc = RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`, `yu`);
|
|
3520
|
+
function kc(e6, t2) {
|
|
3521
|
+
return Oc.lastIndex = t2, Oc.exec(e6)[1] ?? ``;
|
|
3556
3522
|
}
|
|
3557
|
-
function
|
|
3523
|
+
function Ac(e6) {
|
|
3558
3524
|
if (e6.length === 0) return null;
|
|
3559
3525
|
let t2 = 1, n2 = 1;
|
|
3560
3526
|
for (let r2 = 0; r2 < e6.length; ) {
|
|
@@ -3575,7 +3541,7 @@ function Rc(e6) {
|
|
|
3575
3541
|
}
|
|
3576
3542
|
return { offset: e6.length, line: t2, column: n2 };
|
|
3577
3543
|
}
|
|
3578
|
-
var
|
|
3544
|
+
var jc = class {
|
|
3579
3545
|
constructor(e6, t2 = {}) {
|
|
3580
3546
|
this.message = e6, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!t2.ignoreTag, this.locale = t2.locale, this.requiresOtherClause = !!t2.requiresOtherClause, this.shouldParseSkeletons = !!t2.shouldParseSkeletons;
|
|
3581
3547
|
}
|
|
@@ -3584,7 +3550,7 @@ var zc = class {
|
|
|
3584
3550
|
if (this.message.length > 0) {
|
|
3585
3551
|
let e6 = this.message.charCodeAt(0);
|
|
3586
3552
|
if (e6 !== 35 && e6 !== 39 && e6 !== 60 && e6 !== 123 && e6 !== 125) {
|
|
3587
|
-
let e7 =
|
|
3553
|
+
let e7 = Ac(this.message);
|
|
3588
3554
|
if (e7) {
|
|
3589
3555
|
let t2 = this.clonePosition();
|
|
3590
3556
|
return this.position = e7, { val: [{ type: 0, value: this.message, location: Y(t2, this.clonePosition()) }], err: null };
|
|
@@ -3608,7 +3574,7 @@ var zc = class {
|
|
|
3608
3574
|
} else if (i2 === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3609
3575
|
if (n2) break;
|
|
3610
3576
|
return this.error(26, Y(this.clonePosition(), this.clonePosition()));
|
|
3611
|
-
} else if (i2 === 60 && !this.ignoreTag &&
|
|
3577
|
+
} else if (i2 === 60 && !this.ignoreTag && Mc(this.peek() || 0)) {
|
|
3612
3578
|
let n3 = this.parseTag(e6, t2);
|
|
3613
3579
|
if (n3.err) return n3;
|
|
3614
3580
|
r2.push(n3.val);
|
|
@@ -3630,7 +3596,7 @@ var zc = class {
|
|
|
3630
3596
|
if (i2.err) return i2;
|
|
3631
3597
|
let a2 = i2.val, o2 = this.clonePosition();
|
|
3632
3598
|
if (this.bumpIf(`</`)) {
|
|
3633
|
-
if (this.isEOF() || !
|
|
3599
|
+
if (this.isEOF() || !Mc(this.char())) return this.error(23, Y(o2, this.clonePosition()));
|
|
3634
3600
|
let e7 = this.clonePosition();
|
|
3635
3601
|
return r2 === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(`>`) ? { val: { type: 8, value: r2, children: a2, location: Y(n2, this.clonePosition()) }, err: null } : this.error(23, Y(o2, this.clonePosition()))) : this.error(26, Y(e7, this.clonePosition()));
|
|
3636
3602
|
}
|
|
@@ -3640,7 +3606,7 @@ var zc = class {
|
|
|
3640
3606
|
}
|
|
3641
3607
|
parseTagName() {
|
|
3642
3608
|
let e6 = this.offset();
|
|
3643
|
-
for (this.bump(); !this.isEOF() &&
|
|
3609
|
+
for (this.bump(); !this.isEOF() && Pc(this.char()); ) this.bump();
|
|
3644
3610
|
return this.message.slice(e6, this.offset());
|
|
3645
3611
|
}
|
|
3646
3612
|
parseLiteral(e6, t2) {
|
|
@@ -3664,7 +3630,7 @@ var zc = class {
|
|
|
3664
3630
|
return { val: { type: 0, value: r2, location: i2 }, err: null };
|
|
3665
3631
|
}
|
|
3666
3632
|
tryParseLeftAngleBracket() {
|
|
3667
|
-
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !
|
|
3633
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !Nc(this.peek() || 0)) ? (this.bump(), `<`) : null;
|
|
3668
3634
|
}
|
|
3669
3635
|
tryParseQuote(e6) {
|
|
3670
3636
|
if (this.isEOF() || this.char() !== 39) return null;
|
|
@@ -3719,7 +3685,7 @@ var zc = class {
|
|
|
3719
3685
|
}
|
|
3720
3686
|
}
|
|
3721
3687
|
parseIdentifierIfPossible() {
|
|
3722
|
-
let e6 = this.clonePosition(), t2 = this.offset(), n2 =
|
|
3688
|
+
let e6 = this.clonePosition(), t2 = this.offset(), n2 = kc(this.message, t2), r2 = t2 + n2.length;
|
|
3723
3689
|
return this.bumpTo(r2), { value: n2, location: Y(e6, this.clonePosition()) };
|
|
3724
3690
|
}
|
|
3725
3691
|
parseArgumentOptions(e6, t2, n2, r2) {
|
|
@@ -3736,7 +3702,7 @@ var zc = class {
|
|
|
3736
3702
|
this.bumpSpace();
|
|
3737
3703
|
let t4 = this.clonePosition(), n3 = this.parseSimpleArgStyleIfPossible();
|
|
3738
3704
|
if (n3.err) return n3;
|
|
3739
|
-
let r3 =
|
|
3705
|
+
let r3 = Dc(n3.val);
|
|
3740
3706
|
if (r3.length === 0) return this.error(6, Y(this.clonePosition(), this.clonePosition()));
|
|
3741
3707
|
e7 = { style: r3, styleLocation: Y(t4, this.clonePosition()) };
|
|
3742
3708
|
}
|
|
@@ -3744,7 +3710,7 @@ var zc = class {
|
|
|
3744
3710
|
if (t3.err) return t3;
|
|
3745
3711
|
let i3 = Y(r2, this.clonePosition());
|
|
3746
3712
|
if (e7 && e7.style.startsWith(`::`)) {
|
|
3747
|
-
let t4 =
|
|
3713
|
+
let t4 = Ec(e7.style.slice(2));
|
|
3748
3714
|
if (a2 === `number`) {
|
|
3749
3715
|
let r3 = this.parseNumberSkeletonFromString(t4, e7.styleLocation);
|
|
3750
3716
|
return r3.err ? r3 : { val: { type: 2, value: n2, location: i3, style: r3.val }, err: null };
|
|
@@ -3752,8 +3718,8 @@ var zc = class {
|
|
|
3752
3718
|
{
|
|
3753
3719
|
if (t4.length === 0) return this.error(10, i3);
|
|
3754
3720
|
let r3 = t4;
|
|
3755
|
-
this.locale && (r3 =
|
|
3756
|
-
let o3 = { type: 1, pattern: r3, location: e7.styleLocation, parsedOptions: this.shouldParseSkeletons ?
|
|
3721
|
+
this.locale && (r3 = vc(t4, this.locale));
|
|
3722
|
+
let o3 = { type: 1, pattern: r3, location: e7.styleLocation, parsedOptions: this.shouldParseSkeletons ? Gs(r3) : {} };
|
|
3757
3723
|
return { val: { type: a2 === `date` ? 3 : 4, value: n2, location: i3, style: o3 }, err: null };
|
|
3758
3724
|
}
|
|
3759
3725
|
}
|
|
@@ -3778,7 +3744,7 @@ var zc = class {
|
|
|
3778
3744
|
let l2 = this.tryParseArgumentClose(r2);
|
|
3779
3745
|
if (l2.err) return l2;
|
|
3780
3746
|
let u2 = Y(r2, this.clonePosition());
|
|
3781
|
-
return a2 === `select` ? { val: { type: 5, value: n2, options:
|
|
3747
|
+
return a2 === `select` ? { val: { type: 5, value: n2, options: Tc(c2.val), location: u2 }, err: null } : { val: { type: 6, value: n2, options: Tc(c2.val), offset: s2, pluralType: a2 === `plural` ? `cardinal` : `ordinal`, location: u2 }, err: null };
|
|
3782
3748
|
}
|
|
3783
3749
|
default:
|
|
3784
3750
|
return this.error(5, Y(i2, o2));
|
|
@@ -3812,11 +3778,11 @@ var zc = class {
|
|
|
3812
3778
|
parseNumberSkeletonFromString(e6, t2) {
|
|
3813
3779
|
let n2 = [];
|
|
3814
3780
|
try {
|
|
3815
|
-
n2 =
|
|
3781
|
+
n2 = qs(e6);
|
|
3816
3782
|
} catch {
|
|
3817
3783
|
return this.error(7, t2);
|
|
3818
3784
|
}
|
|
3819
|
-
return { val: { type: 0, tokens: n2, location: t2, parsedOptions: this.shouldParseSkeletons ?
|
|
3785
|
+
return { val: { type: 0, tokens: n2, location: t2, parsedOptions: this.shouldParseSkeletons ? rc(n2) : {} }, err: null };
|
|
3820
3786
|
}
|
|
3821
3787
|
tryParsePluralOrSelectOptions(e6, t2, n2, r2) {
|
|
3822
3788
|
let i2 = false, a2 = [], o2 = /* @__PURE__ */ new Set(), { value: s2, location: c2 } = r2;
|
|
@@ -3898,7 +3864,7 @@ var zc = class {
|
|
|
3898
3864
|
}
|
|
3899
3865
|
}
|
|
3900
3866
|
bumpSpace() {
|
|
3901
|
-
for (; !this.isEOF() &&
|
|
3867
|
+
for (; !this.isEOF() && Fc(this.char()); ) this.bump();
|
|
3902
3868
|
}
|
|
3903
3869
|
peek() {
|
|
3904
3870
|
if (this.isEOF()) return null;
|
|
@@ -3906,34 +3872,34 @@ var zc = class {
|
|
|
3906
3872
|
return this.message.charCodeAt(t2 + (e6 >= 65536 ? 2 : 1)) ?? null;
|
|
3907
3873
|
}
|
|
3908
3874
|
};
|
|
3909
|
-
function
|
|
3875
|
+
function Mc(e6) {
|
|
3910
3876
|
return e6 >= 97 && e6 <= 122 || e6 >= 65 && e6 <= 90;
|
|
3911
3877
|
}
|
|
3912
|
-
function
|
|
3913
|
-
return
|
|
3878
|
+
function Nc(e6) {
|
|
3879
|
+
return Mc(e6) || e6 === 47;
|
|
3914
3880
|
}
|
|
3915
|
-
function
|
|
3881
|
+
function Pc(e6) {
|
|
3916
3882
|
return e6 === 45 || e6 === 46 || e6 >= 48 && e6 <= 57 || e6 === 95 || e6 >= 97 && e6 <= 122 || e6 >= 65 && e6 <= 90 || e6 == 183 || e6 >= 192 && e6 <= 214 || e6 >= 216 && e6 <= 246 || e6 >= 248 && e6 <= 893 || e6 >= 895 && e6 <= 8191 || e6 >= 8204 && e6 <= 8205 || e6 >= 8255 && e6 <= 8256 || e6 >= 8304 && e6 <= 8591 || e6 >= 11264 && e6 <= 12271 || e6 >= 12289 && e6 <= 55295 || e6 >= 63744 && e6 <= 64975 || e6 >= 65008 && e6 <= 65533 || e6 >= 65536 && e6 <= 983039;
|
|
3917
3883
|
}
|
|
3918
|
-
function
|
|
3884
|
+
function Fc(e6) {
|
|
3919
3885
|
return e6 >= 9 && e6 <= 13 || e6 === 32 || e6 === 133 || e6 >= 8206 && e6 <= 8207 || e6 === 8232 || e6 === 8233;
|
|
3920
3886
|
}
|
|
3921
|
-
function
|
|
3887
|
+
function Ic(e6) {
|
|
3922
3888
|
e6.forEach((e7) => {
|
|
3923
|
-
if (delete e7.location,
|
|
3924
|
-
else
|
|
3889
|
+
if (delete e7.location, uc(e7) || dc(e7)) for (let t2 in e7.options) delete e7.options[t2].location, Ic(e7.options[t2].value);
|
|
3890
|
+
else sc(e7) && mc(e7.style) || (cc(e7) || lc(e7)) && hc(e7.style) ? delete e7.style.location : pc(e7) && Ic(e7.children);
|
|
3925
3891
|
});
|
|
3926
3892
|
}
|
|
3927
|
-
function
|
|
3893
|
+
function Lc(e6, t2 = {}) {
|
|
3928
3894
|
t2 = { shouldParseSkeletons: true, requiresOtherClause: true, ...t2 };
|
|
3929
|
-
let n2 = new
|
|
3895
|
+
let n2 = new jc(e6, t2).parse();
|
|
3930
3896
|
if (n2.err) {
|
|
3931
|
-
let e7 = SyntaxError(
|
|
3897
|
+
let e7 = SyntaxError(ic[n2.err.kind]);
|
|
3932
3898
|
throw e7.location = n2.err.location, e7.originalMessage = n2.err.message, e7;
|
|
3933
3899
|
}
|
|
3934
|
-
return t2?.captureLocation ||
|
|
3900
|
+
return t2?.captureLocation || Ic(n2.val), n2.val;
|
|
3935
3901
|
}
|
|
3936
|
-
var
|
|
3902
|
+
var Rc = class extends Error {
|
|
3937
3903
|
constructor(e6, t2, n2) {
|
|
3938
3904
|
super(e6), this.code = t2, this.originalMessage = n2;
|
|
3939
3905
|
}
|
|
@@ -3941,54 +3907,54 @@ var Kc = class extends Error {
|
|
|
3941
3907
|
return `[formatjs Error: ${this.code}] ${this.message}`;
|
|
3942
3908
|
}
|
|
3943
3909
|
};
|
|
3944
|
-
var
|
|
3910
|
+
var zc = class extends Rc {
|
|
3945
3911
|
constructor(e6, t2, n2, r2) {
|
|
3946
3912
|
super(`Invalid values for "${e6}": "${t2}". Options are "${Object.keys(n2).join(`", "`)}"`, `INVALID_VALUE`, r2);
|
|
3947
3913
|
}
|
|
3948
3914
|
};
|
|
3949
|
-
var
|
|
3915
|
+
var Bc = class extends Rc {
|
|
3950
3916
|
constructor(e6, t2, n2) {
|
|
3951
3917
|
super(`Value for "${e6}" must be of type ${t2}`, `INVALID_VALUE`, n2);
|
|
3952
3918
|
}
|
|
3953
3919
|
};
|
|
3954
|
-
var
|
|
3920
|
+
var Vc = class extends Rc {
|
|
3955
3921
|
constructor(e6, t2) {
|
|
3956
3922
|
super(`The intl string context variable "${e6}" was not provided to the string "${t2}"`, `MISSING_VALUE`, t2);
|
|
3957
3923
|
}
|
|
3958
3924
|
};
|
|
3959
|
-
function
|
|
3925
|
+
function Hc(e6) {
|
|
3960
3926
|
return e6.length < 2 ? e6 : e6.reduce((e7, t2) => {
|
|
3961
3927
|
let n2 = e7[e7.length - 1];
|
|
3962
3928
|
return !n2 || n2.type !== 0 || t2.type !== 0 ? e7.push(t2) : n2.value += t2.value, e7;
|
|
3963
3929
|
}, []);
|
|
3964
3930
|
}
|
|
3965
|
-
function
|
|
3931
|
+
function Uc(e6) {
|
|
3966
3932
|
return typeof e6 == `function`;
|
|
3967
3933
|
}
|
|
3968
|
-
function
|
|
3969
|
-
if (e6.length === 1 &&
|
|
3934
|
+
function Wc(e6, t2, n2, r2, i2, a2, o2) {
|
|
3935
|
+
if (e6.length === 1 && ac(e6[0])) return [{ type: 0, value: e6[0].value }];
|
|
3970
3936
|
let s2 = [];
|
|
3971
3937
|
for (let c2 of e6) {
|
|
3972
|
-
if (
|
|
3938
|
+
if (ac(c2)) {
|
|
3973
3939
|
s2.push({ type: 0, value: c2.value });
|
|
3974
3940
|
continue;
|
|
3975
3941
|
}
|
|
3976
|
-
if (
|
|
3942
|
+
if (fc(c2)) {
|
|
3977
3943
|
typeof a2 == `number` && s2.push({ type: 0, value: n2.getNumberFormat(t2).format(a2) });
|
|
3978
3944
|
continue;
|
|
3979
3945
|
}
|
|
3980
3946
|
let { value: e7 } = c2;
|
|
3981
|
-
if (!(i2 && e7 in i2)) throw new
|
|
3947
|
+
if (!(i2 && e7 in i2)) throw new Vc(e7, o2);
|
|
3982
3948
|
let l2 = i2[e7];
|
|
3983
|
-
if (
|
|
3984
|
-
else if (
|
|
3985
|
-
let e8 = typeof c2.style == `string` ? r2.date[c2.style] :
|
|
3949
|
+
if (oc(c2)) (!l2 || typeof l2 == `string` || typeof l2 == `number` || typeof l2 == `bigint`) && (l2 = typeof l2 == `string` || typeof l2 == `number` || typeof l2 == `bigint` ? String(l2) : ``), s2.push({ type: typeof l2 == `string` ? 0 : 1, value: l2 });
|
|
3950
|
+
else if (cc(c2)) {
|
|
3951
|
+
let e8 = typeof c2.style == `string` ? r2.date[c2.style] : hc(c2.style) ? c2.style.parsedOptions : void 0;
|
|
3986
3952
|
s2.push({ type: 0, value: n2.getDateTimeFormat(t2, e8).format(l2) });
|
|
3987
|
-
} else if (
|
|
3988
|
-
let e8 = typeof c2.style == `string` ? r2.time[c2.style] :
|
|
3953
|
+
} else if (lc(c2)) {
|
|
3954
|
+
let e8 = typeof c2.style == `string` ? r2.time[c2.style] : hc(c2.style) ? c2.style.parsedOptions : r2.time.medium;
|
|
3989
3955
|
s2.push({ type: 0, value: n2.getDateTimeFormat(t2, e8).format(l2) });
|
|
3990
|
-
} else if (
|
|
3991
|
-
let e8 = typeof c2.style == `string` ? r2.number[c2.style] :
|
|
3956
|
+
} else if (sc(c2)) {
|
|
3957
|
+
let e8 = typeof c2.style == `string` ? r2.number[c2.style] : mc(c2.style) ? c2.style.parsedOptions : void 0;
|
|
3992
3958
|
if (e8 && e8.scale) {
|
|
3993
3959
|
let t3 = e8.scale || 1;
|
|
3994
3960
|
if (typeof l2 == `bigint`) {
|
|
@@ -3998,40 +3964,40 @@ function Qc(e6, t2, n2, r2, i2, a2, o2) {
|
|
|
3998
3964
|
}
|
|
3999
3965
|
s2.push({ type: 0, value: n2.getNumberFormat(t2, e8).format(l2) });
|
|
4000
3966
|
} else {
|
|
4001
|
-
if (
|
|
3967
|
+
if (pc(c2)) {
|
|
4002
3968
|
let { children: e8, value: l3 } = c2, u2 = i2[l3];
|
|
4003
|
-
if (!
|
|
4004
|
-
let d2 = u2(
|
|
3969
|
+
if (!Uc(u2)) throw new Bc(l3, `function`, o2);
|
|
3970
|
+
let d2 = u2(Wc(e8, t2, n2, r2, i2, a2).map((e9) => e9.value));
|
|
4005
3971
|
Array.isArray(d2) || (d2 = [d2]), s2.push(...d2.map((e9) => ({ type: typeof e9 == `string` ? 0 : 1, value: e9 })));
|
|
4006
3972
|
}
|
|
4007
|
-
if (
|
|
3973
|
+
if (uc(c2)) {
|
|
4008
3974
|
let e8 = l2, a3 = (Object.prototype.hasOwnProperty.call(c2.options, e8) ? c2.options[e8] : void 0) || c2.options.other;
|
|
4009
|
-
if (!a3) throw new
|
|
4010
|
-
s2.push(...
|
|
4011
|
-
} else if (
|
|
3975
|
+
if (!a3) throw new zc(c2.value, l2, Object.keys(c2.options), o2);
|
|
3976
|
+
s2.push(...Wc(a3.value, t2, n2, r2, i2));
|
|
3977
|
+
} else if (dc(c2)) {
|
|
4012
3978
|
let e8 = `=${l2}`, a3 = Object.prototype.hasOwnProperty.call(c2.options, e8) ? c2.options[e8] : void 0;
|
|
4013
3979
|
if (!a3) {
|
|
4014
|
-
if (!Intl.PluralRules) throw new
|
|
3980
|
+
if (!Intl.PluralRules) throw new Rc(`Intl.PluralRules is not available in this environment.
|
|
4015
3981
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4016
3982
|
`, `MISSING_INTL_API`, o2);
|
|
4017
3983
|
let e9 = typeof l2 == `bigint` ? Number(l2) : l2, r3 = n2.getPluralRules(t2, { type: c2.pluralType }).select(e9 - (c2.offset || 0));
|
|
4018
3984
|
a3 = (Object.prototype.hasOwnProperty.call(c2.options, r3) ? c2.options[r3] : void 0) || c2.options.other;
|
|
4019
3985
|
}
|
|
4020
|
-
if (!a3) throw new
|
|
3986
|
+
if (!a3) throw new zc(c2.value, l2, Object.keys(c2.options), o2);
|
|
4021
3987
|
let u2 = typeof l2 == `bigint` ? Number(l2) : l2;
|
|
4022
|
-
s2.push(...
|
|
3988
|
+
s2.push(...Wc(a3.value, t2, n2, r2, i2, u2 - (c2.offset || 0)));
|
|
4023
3989
|
}
|
|
4024
3990
|
}
|
|
4025
3991
|
}
|
|
4026
|
-
return
|
|
3992
|
+
return Hc(s2);
|
|
4027
3993
|
}
|
|
4028
|
-
function
|
|
3994
|
+
function Gc(e6, t2) {
|
|
4029
3995
|
return t2 ? { ...e6, ...t2, ...Object.keys(e6).reduce((n2, r2) => (n2[r2] = { ...e6[r2], ...t2[r2] }, n2), {}) } : e6;
|
|
4030
3996
|
}
|
|
4031
|
-
function
|
|
4032
|
-
return t2 ? Object.keys(e6).reduce((n2, r2) => (n2[r2] =
|
|
3997
|
+
function Kc(e6, t2) {
|
|
3998
|
+
return t2 ? Object.keys(e6).reduce((n2, r2) => (n2[r2] = Gc(e6[r2], t2[r2]), n2), { ...e6 }) : e6;
|
|
4033
3999
|
}
|
|
4034
|
-
function
|
|
4000
|
+
function qc(e6) {
|
|
4035
4001
|
return { create() {
|
|
4036
4002
|
return { get(t2) {
|
|
4037
4003
|
return e6[t2];
|
|
@@ -4040,23 +4006,23 @@ function tl(e6) {
|
|
|
4040
4006
|
} };
|
|
4041
4007
|
} };
|
|
4042
4008
|
}
|
|
4043
|
-
function
|
|
4044
|
-
return { getNumberFormat:
|
|
4009
|
+
function Jc(e6 = { number: {}, dateTime: {}, pluralRules: {} }) {
|
|
4010
|
+
return { getNumberFormat: Ms((...e7) => new Intl.NumberFormat(...e7), { cache: qc(e6.number), strategy: Us.variadic }), getDateTimeFormat: Ms((...e7) => new Intl.DateTimeFormat(...e7), { cache: qc(e6.dateTime), strategy: Us.variadic }), getPluralRules: Ms((...e7) => new Intl.PluralRules(...e7), { cache: qc(e6.pluralRules), strategy: Us.variadic }) };
|
|
4045
4011
|
}
|
|
4046
|
-
var
|
|
4012
|
+
var Yc = class e5 {
|
|
4047
4013
|
constructor(t2, n2 = e5.defaultLocale, r2, i2) {
|
|
4048
4014
|
if (this.formatterCache = { number: {}, dateTime: {}, pluralRules: {} }, this.format = (e6) => {
|
|
4049
4015
|
let t3 = this.formatToParts(e6);
|
|
4050
4016
|
if (t3.length === 1) return t3[0].value;
|
|
4051
4017
|
let n3 = t3.reduce((e7, t4) => (!e7.length || t4.type !== 0 || typeof e7[e7.length - 1] != `string` ? e7.push(t4.value) : e7[e7.length - 1] += t4.value, e7), []);
|
|
4052
4018
|
return n3.length <= 1 ? n3[0] || `` : n3;
|
|
4053
|
-
}, this.formatToParts = (e6) =>
|
|
4019
|
+
}, this.formatToParts = (e6) => Wc(this.ast, this.locales, this.formatters, this.formats, e6, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n2, this.resolvedLocale = e5.resolveLocale(n2), typeof t2 == `string`) {
|
|
4054
4020
|
if (this.message = t2, !e5.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4055
4021
|
let { ...n3 } = i2 || {};
|
|
4056
4022
|
this.ast = e5.__parse(t2, { ...n3, locale: this.resolvedLocale });
|
|
4057
4023
|
} else this.ast = t2;
|
|
4058
4024
|
if (!Array.isArray(this.ast)) throw TypeError(`A message must be provided as a String or AST.`);
|
|
4059
|
-
this.formats =
|
|
4025
|
+
this.formats = Kc(e5.formats, r2), this.formatters = i2 && i2.formatters || Jc(this.formatterCache);
|
|
4060
4026
|
}
|
|
4061
4027
|
static {
|
|
4062
4028
|
this.memoizedDefaultLocale = null;
|
|
@@ -4072,32 +4038,66 @@ var rl = class e5 {
|
|
|
4072
4038
|
};
|
|
4073
4039
|
}
|
|
4074
4040
|
static {
|
|
4075
|
-
this.__parse =
|
|
4041
|
+
this.__parse = Lc;
|
|
4076
4042
|
}
|
|
4077
4043
|
static {
|
|
4078
4044
|
this.formats = { number: { integer: { maximumFractionDigits: 0 }, currency: { style: `currency` }, percent: { style: `percent` } }, date: { short: { month: `numeric`, day: `numeric`, year: `2-digit` }, medium: { month: `short`, day: `numeric`, year: `numeric` }, long: { month: `long`, day: `numeric`, year: `numeric` }, full: { weekday: `long`, month: `long`, day: `numeric`, year: `numeric` } }, time: { short: { hour: `numeric`, minute: `numeric` }, medium: { hour: `numeric`, minute: `numeric`, second: `numeric` }, long: { hour: `numeric`, minute: `numeric`, second: `numeric`, timeZoneName: `short` }, full: { hour: `numeric`, minute: `numeric`, second: `numeric`, timeZoneName: `short` } } };
|
|
4079
4045
|
}
|
|
4080
4046
|
};
|
|
4081
|
-
|
|
4082
|
-
|
|
4047
|
+
var Xc = [`__proto__`, `constructor`, `prototype`];
|
|
4048
|
+
function Zc(e6, t2, n2) {
|
|
4049
|
+
function r2(e7) {
|
|
4050
|
+
return e7 && e7.indexOf(`###`) > -1 ? e7.replace(/###/g, `.`) : e7;
|
|
4051
|
+
}
|
|
4052
|
+
function i2() {
|
|
4053
|
+
return !e6 || typeof e6 == `string`;
|
|
4054
|
+
}
|
|
4055
|
+
for (var a2 = typeof t2 == `string` ? t2.split(`.`) : [].concat(t2); a2.length > 1; ) {
|
|
4056
|
+
if (i2()) return {};
|
|
4057
|
+
var o2 = r2(a2.shift());
|
|
4058
|
+
if (Xc.indexOf(o2) > -1) return {};
|
|
4059
|
+
!e6[o2] && n2 && (e6[o2] = new n2()), e6 = e6[o2];
|
|
4060
|
+
}
|
|
4061
|
+
if (i2()) return {};
|
|
4062
|
+
var s2 = r2(a2.shift());
|
|
4063
|
+
return Xc.indexOf(s2) > -1 ? {} : { obj: e6, k: s2 };
|
|
4083
4064
|
}
|
|
4084
|
-
function
|
|
4065
|
+
function Qc(e6, t2, n2) {
|
|
4066
|
+
var r2 = Zc(e6, t2, Object), i2 = r2.obj, a2 = r2.k;
|
|
4067
|
+
i2 !== void 0 && (i2[a2] = n2);
|
|
4068
|
+
}
|
|
4069
|
+
function $c(e6, t2) {
|
|
4070
|
+
var n2 = Zc(e6, t2), r2 = n2.obj, i2 = n2.k;
|
|
4071
|
+
if (r2) return r2[i2];
|
|
4072
|
+
}
|
|
4073
|
+
function el(e6) {
|
|
4074
|
+
return [...arguments].slice(1).forEach(function(t2) {
|
|
4075
|
+
if (t2) for (var n2 = 0, r2 = Object.keys(t2); n2 < r2.length; n2++) {
|
|
4076
|
+
var i2 = r2[n2];
|
|
4077
|
+
Xc.indexOf(i2) > -1 || e6[i2] === void 0 && (e6[i2] = t2[i2]);
|
|
4078
|
+
}
|
|
4079
|
+
}), e6;
|
|
4080
|
+
}
|
|
4081
|
+
function tl(e6, t2) {
|
|
4082
|
+
return ol(e6) || al(e6, t2) || rl(e6, t2) || nl();
|
|
4083
|
+
}
|
|
4084
|
+
function nl() {
|
|
4085
4085
|
throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4086
4086
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4088
|
+
function rl(e6, t2) {
|
|
4089
4089
|
if (e6) {
|
|
4090
|
-
if (typeof e6 == `string`) return
|
|
4090
|
+
if (typeof e6 == `string`) return il(e6, t2);
|
|
4091
4091
|
var n2 = {}.toString.call(e6).slice(8, -1);
|
|
4092
|
-
return n2 === `Object` && e6.constructor && (n2 = e6.constructor.name), n2 === `Map` || n2 === `Set` ? Array.from(e6) : n2 === `Arguments` || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ?
|
|
4092
|
+
return n2 === `Object` && e6.constructor && (n2 = e6.constructor.name), n2 === `Map` || n2 === `Set` ? Array.from(e6) : n2 === `Arguments` || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2) ? il(e6, t2) : void 0;
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4095
|
+
function il(e6, t2) {
|
|
4096
4096
|
(t2 == null || t2 > e6.length) && (t2 = e6.length);
|
|
4097
4097
|
for (var n2 = 0, r2 = Array(t2); n2 < t2; n2++) r2[n2] = e6[n2];
|
|
4098
4098
|
return r2;
|
|
4099
4099
|
}
|
|
4100
|
-
function
|
|
4100
|
+
function al(e6, t2) {
|
|
4101
4101
|
var n2 = e6 == null ? null : typeof Symbol < `u` && e6[Symbol.iterator] || e6[`@@iterator`];
|
|
4102
4102
|
if (n2 != null) {
|
|
4103
4103
|
var r2, i2, a2, o2, s2 = [], c2 = true, l2 = false;
|
|
@@ -4118,18 +4118,10 @@ function cl(e6, t2) {
|
|
|
4118
4118
|
return s2;
|
|
4119
4119
|
}
|
|
4120
4120
|
}
|
|
4121
|
-
function
|
|
4121
|
+
function ol(e6) {
|
|
4122
4122
|
if (Array.isArray(e6)) return e6;
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4125
|
-
"@babel/helpers - typeof";
|
|
4126
|
-
return X = typeof Symbol == `function` && typeof Symbol.iterator == `symbol` ? function(e7) {
|
|
4127
|
-
return typeof e7;
|
|
4128
|
-
} : function(e7) {
|
|
4129
|
-
return e7 && typeof Symbol == `function` && e7.constructor === Symbol && e7 !== Symbol.prototype ? `symbol` : typeof e7;
|
|
4130
|
-
}, X(e6);
|
|
4131
|
-
}
|
|
4132
|
-
function ul(e6, t2) {
|
|
4124
|
+
function sl(e6, t2) {
|
|
4133
4125
|
var n2 = Object.keys(e6);
|
|
4134
4126
|
if (Object.getOwnPropertySymbols) {
|
|
4135
4127
|
var r2 = Object.getOwnPropertySymbols(e6);
|
|
@@ -4139,37 +4131,37 @@ function ul(e6, t2) {
|
|
|
4139
4131
|
}
|
|
4140
4132
|
return n2;
|
|
4141
4133
|
}
|
|
4142
|
-
function
|
|
4134
|
+
function cl(e6) {
|
|
4143
4135
|
for (var t2 = 1; t2 < arguments.length; t2++) {
|
|
4144
4136
|
var n2 = arguments[t2] == null ? {} : arguments[t2];
|
|
4145
|
-
t2 % 2 ?
|
|
4146
|
-
|
|
4147
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e6, Object.getOwnPropertyDescriptors(n2)) :
|
|
4137
|
+
t2 % 2 ? sl(Object(n2), true).forEach(function(t3) {
|
|
4138
|
+
ll(e6, t3, n2[t3]);
|
|
4139
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e6, Object.getOwnPropertyDescriptors(n2)) : sl(Object(n2)).forEach(function(t3) {
|
|
4148
4140
|
Object.defineProperty(e6, t3, Object.getOwnPropertyDescriptor(n2, t3));
|
|
4149
4141
|
});
|
|
4150
4142
|
}
|
|
4151
4143
|
return e6;
|
|
4152
4144
|
}
|
|
4153
|
-
function
|
|
4154
|
-
return (t2 =
|
|
4145
|
+
function ll(e6, t2, n2) {
|
|
4146
|
+
return (t2 = pl(t2)) in e6 ? Object.defineProperty(e6, t2, { value: n2, enumerable: true, configurable: true, writable: true }) : e6[t2] = n2, e6;
|
|
4155
4147
|
}
|
|
4156
|
-
function
|
|
4148
|
+
function ul(e6, t2) {
|
|
4157
4149
|
if (!(e6 instanceof t2)) throw TypeError(`Cannot call a class as a function`);
|
|
4158
4150
|
}
|
|
4159
|
-
function
|
|
4151
|
+
function dl(e6, t2) {
|
|
4160
4152
|
for (var n2 = 0; n2 < t2.length; n2++) {
|
|
4161
4153
|
var r2 = t2[n2];
|
|
4162
|
-
r2.enumerable = r2.enumerable || false, r2.configurable = true, `value` in r2 && (r2.writable = true), Object.defineProperty(e6,
|
|
4154
|
+
r2.enumerable = r2.enumerable || false, r2.configurable = true, `value` in r2 && (r2.writable = true), Object.defineProperty(e6, pl(r2.key), r2);
|
|
4163
4155
|
}
|
|
4164
4156
|
}
|
|
4165
|
-
function
|
|
4166
|
-
return t2 &&
|
|
4157
|
+
function fl(e6, t2, n2) {
|
|
4158
|
+
return t2 && dl(e6.prototype, t2), n2 && dl(e6, n2), Object.defineProperty(e6, "prototype", { writable: false }), e6;
|
|
4167
4159
|
}
|
|
4168
|
-
function
|
|
4169
|
-
var t2 =
|
|
4160
|
+
function pl(e6) {
|
|
4161
|
+
var t2 = ml(e6, `string`);
|
|
4170
4162
|
return X(t2) == `symbol` ? t2 : t2 + ``;
|
|
4171
4163
|
}
|
|
4172
|
-
function
|
|
4164
|
+
function ml(e6, t2) {
|
|
4173
4165
|
if (X(e6) != `object` || !e6) return e6;
|
|
4174
4166
|
var n2 = e6[Symbol.toPrimitive];
|
|
4175
4167
|
if (n2 !== void 0) {
|
|
@@ -4179,45 +4171,81 @@ function _l(e6, t2) {
|
|
|
4179
4171
|
}
|
|
4180
4172
|
return (t2 === `string` ? String : Number)(e6);
|
|
4181
4173
|
}
|
|
4182
|
-
function
|
|
4174
|
+
function X(e6) {
|
|
4175
|
+
"@babel/helpers - typeof";
|
|
4176
|
+
return X = typeof Symbol == `function` && typeof Symbol.iterator == `symbol` ? function(e7) {
|
|
4177
|
+
return typeof e7;
|
|
4178
|
+
} : function(e7) {
|
|
4179
|
+
return e7 && typeof Symbol == `function` && e7.constructor === Symbol && e7 !== Symbol.prototype ? `symbol` : typeof e7;
|
|
4180
|
+
}, X(e6);
|
|
4181
|
+
}
|
|
4182
|
+
var hl = `https://www.i18next.com/how-to/using-icu-or-mf2`;
|
|
4183
|
+
var gl = [`zero`, `one`, `two`, `few`, `many`, `other`];
|
|
4184
|
+
function _l() {
|
|
4183
4185
|
return { memoize: true, memoizeFallback: false, bindI18n: ``, bindI18nStore: ``, parseErrorHandler: function(e6, t2, n2, r2) {
|
|
4184
4186
|
return n2;
|
|
4185
4187
|
}, parseLngForICU: function(e6) {
|
|
4186
4188
|
return e6;
|
|
4187
4189
|
}, escapeVariables: false };
|
|
4188
4190
|
}
|
|
4191
|
+
function vl(e6, t2, n2, r2) {
|
|
4192
|
+
return n2 && t2 && X(t2) === `object` ? `${r2} resolved to an object or array, but i18next-icu does not support returnObjects or joinArrays and returns the raw value unformatted.` : n2 && typeof t2 == `string` && t2.indexOf(`{{`) > -1 ? `${r2} could not be parsed (${e6.message}). It contains "{{": i18next interpolation like {{name}} does not work with ICU, use {name}.` : `${r2} could not be ${n2 ? `parsed` : `formatted`}: ${e6.message}`;
|
|
4193
|
+
}
|
|
4189
4194
|
var yl = function() {
|
|
4190
4195
|
function e6(t2) {
|
|
4191
|
-
|
|
4196
|
+
ul(this, e6), this.type = `i18nFormat`, this.mem = {}, this.warned = /* @__PURE__ */ new Set(), this.init(null, t2);
|
|
4192
4197
|
}
|
|
4193
|
-
return
|
|
4198
|
+
return fl(e6, [{ key: `init`, value: function(e7, t2) {
|
|
4194
4199
|
var n2 = this, r2 = e7 && e7.options && e7.options.i18nFormat || {};
|
|
4195
|
-
if (this.options =
|
|
4200
|
+
if (this.options = el(r2, t2, this.options || {}, _l()), this.formats = this.options.formats, e7) {
|
|
4196
4201
|
var i2 = this.options, a2 = i2.bindI18n, o2 = i2.bindI18nStore, s2 = i2.memoize;
|
|
4197
|
-
e7.IntlMessageFormat =
|
|
4202
|
+
e7.IntlMessageFormat = Yc, e7.ICU = this, this.i18next = e7, this.debug = !!(e7.options && e7.options.debug), this.debug && e7.options.interpolation && e7.options.interpolation.escapeValue !== false && !this.options.escapeVariables && this.warn(`interpolation.escapeValue is not applied, values are inserted without HTML escaping. Set the i18next-icu option escapeVariables: true to escape them, or interpolation.escapeValue: false if your output is escaped elsewhere (e.g. by React).`), s2 && (a2 && e7.on(a2, function() {
|
|
4198
4203
|
return n2.clearCache();
|
|
4199
4204
|
}), o2 && e7.store.on(o2, function() {
|
|
4200
4205
|
return n2.clearCache();
|
|
4201
4206
|
}));
|
|
4202
4207
|
}
|
|
4203
4208
|
} }, { key: `addUserDefinedFormats`, value: function(e7) {
|
|
4204
|
-
this.formats = this.formats ?
|
|
4209
|
+
this.formats = this.formats ? cl(cl({}, this.formats), e7) : e7, this.clearCache();
|
|
4205
4210
|
} }, { key: `parse`, value: function(e7, t2, n2, r2, i2, a2) {
|
|
4206
|
-
var o2 = a2 && a2.resolved && a2.resolved.res, s2 = this.options.memoize &&
|
|
4207
|
-
this.options.memoize
|
|
4211
|
+
var o2 = a2 && a2.resolved && a2.resolved.res, s2 = this.options.memoize && [n2, r2, i2], c2;
|
|
4212
|
+
if (this.options.memoize) {
|
|
4213
|
+
var l2 = $c(this.mem, s2);
|
|
4214
|
+
l2 && l2.res === e7 && (c2 = l2.fc);
|
|
4215
|
+
}
|
|
4208
4216
|
try {
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
return this.
|
|
4217
|
+
c2 || (this.debug && typeof e7 == `string` && e7.indexOf(`$t(`) > -1 && this.firstTime(`nesting ${n2} ${r2} ${i2}`) && this.warn(`key "${i2}" (${n2}/${r2}) contains "$t(", but i18next-icu does not support nesting, the text is output as is.`), c2 = new Yc(e7, this.options.parseLngForICU(n2), this.formats, { ignoreTag: true }), this.options.memoize && (this.options.memoizeFallback || !a2 || o2) && Qc(this.mem, s2, { res: e7, fc: c2 }));
|
|
4218
|
+
var u2 = t2 && t2.replace && X(t2.replace) === `object` ? cl(cl({}, t2), t2.replace) : t2;
|
|
4219
|
+
return c2.format(this.escapeVariableValues(u2));
|
|
4220
|
+
} catch (a3) {
|
|
4221
|
+
return this.debug && this.firstTime(`error ${n2} ${r2} ${i2}`) && this.warn(vl(a3, e7, !c2, `key "${i2}" (${n2}/${r2})`)), this.options.parseErrorHandler(a3, i2, e7, t2);
|
|
4212
4222
|
}
|
|
4213
4223
|
} }, { key: `addLookupKeys`, value: function(e7, t2, n2, r2, i2) {
|
|
4214
|
-
return e7;
|
|
4224
|
+
return this.debug && i2 && this.checkSuffixKeys(t2, n2, r2, i2), e7;
|
|
4225
|
+
} }, { key: `checkSuffixKeys`, value: function(e7, t2, n2, r2) {
|
|
4226
|
+
var i2 = r2.count, a2 = r2.context, o2 = this.i18next.options, s2 = o2.pluralSeparator, c2 = s2 === void 0 ? `_` : s2, l2 = o2.contextSeparator, u2 = l2 === void 0 ? `_` : l2, d2 = this.i18next.services.resourceStore, f2 = `key "${e7}" (${t2}/${n2})`;
|
|
4227
|
+
if (i2 !== void 0 && this.firstTime(`plural ${t2} ${n2} ${e7}`)) {
|
|
4228
|
+
var p2 = gl.concat(gl.map(function(e8) {
|
|
4229
|
+
return `ordinal${c2}${e8}`;
|
|
4230
|
+
})).map(function(t3) {
|
|
4231
|
+
return `${e7}${c2}${t3}`;
|
|
4232
|
+
}).filter(function(e8) {
|
|
4233
|
+
return d2.getResource(t2, n2, e8) !== void 0;
|
|
4234
|
+
});
|
|
4235
|
+
p2.length && this.warn(`${f2} was called with count, but i18next-icu does not look up plural suffix keys (${p2.join(`, `)}). Put the plural into the message: {count, plural, one {# item} other {# items}}.`);
|
|
4236
|
+
}
|
|
4237
|
+
var m2 = `${e7}${u2}${a2}`;
|
|
4238
|
+
a2 !== void 0 && a2 !== `` && this.firstTime(`context ${t2} ${n2} ${m2}`) && d2.getResource(t2, n2, m2) !== void 0 && this.warn(`${f2} was called with context "${a2}", but i18next-icu does not look up context keys (${m2}). Use a select in the message: {context, select, ${a2} {...} other {...}}.`);
|
|
4239
|
+
} }, { key: `firstTime`, value: function(e7) {
|
|
4240
|
+
return !this.warned.has(e7) && (this.warned.add(e7), true);
|
|
4241
|
+
} }, { key: `warn`, value: function(e7) {
|
|
4242
|
+
this.i18next.services.logger.warn(`i18next-icu: ${e7} See ${hl}`);
|
|
4215
4243
|
} }, { key: `clearCache`, value: function() {
|
|
4216
4244
|
this.mem = {};
|
|
4217
4245
|
} }, { key: `escapeVariableValues`, value: function(e7) {
|
|
4218
4246
|
if (!this.options.escapeVariables || !e7 || X(e7) !== `object`) return e7;
|
|
4219
4247
|
for (var t2 = {}, n2 = 0, r2 = Object.entries(e7); n2 < r2.length; n2++) {
|
|
4220
|
-
var i2 =
|
|
4248
|
+
var i2 = tl(r2[n2], 2), a2 = i2[0], o2 = i2[1];
|
|
4221
4249
|
t2[a2] = typeof o2 == `string` ? o2.replace(/&/g, `&`).replace(/</g, `<`).replace(/>/g, `>`).replace(/"/g, `"`).replace(/'/g, `'`) : o2;
|
|
4222
4250
|
}
|
|
4223
4251
|
return t2;
|
|
@@ -4470,7 +4498,7 @@ var Au = async (e6) => {
|
|
|
4470
4498
|
return;
|
|
4471
4499
|
}
|
|
4472
4500
|
};
|
|
4473
|
-
var ju = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
4501
|
+
var ju = [{ path: `posts.firstPublishedDate` }, { path: `posts.lastPublishedDate` }, { path: `posts.expirationDate` }, { path: `posts.heroImage.urlExpirationDate` }, { path: `posts.richContent.metadata.createdTimestamp` }, { path: `posts.richContent.metadata.updatedTimestamp` }, { path: `posts.moderationDetails.submittedDate` }, { path: `posts.moderationDetails.moderationDate` }, { path: `posts.media.wixMedia.image.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate` }, { path: `posts.media.wixMedia.videoV2.posters.urlExpirationDate` }];
|
|
4474
4502
|
var Mu = [{ path: `posts.richContentCompressed` }];
|
|
4475
4503
|
var Nu = [{ path: `posts.heroImage.focalPoint.x` }, { path: `posts.heroImage.focalPoint.y` }, { path: `posts.media.wixMedia.image.focalPoint.x` }, { path: `posts.media.wixMedia.image.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.x` }, { path: `posts.media.wixMedia.videoV2.posters.focalPoint.y` }, { path: `posts.metrics.averageRating` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `posts.richContent.nodes.galleryData.items.image.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.media.duration` }, { path: `posts.richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `posts.richContent.nodes.galleryData.options.item.ratio` }, { path: `posts.richContent.nodes.imageData.image.duration` }, { path: `posts.richContent.nodes.imageData.crop.x` }, { path: `posts.richContent.nodes.imageData.crop.y` }, { path: `posts.richContent.nodes.imageData.crop.width` }, { path: `posts.richContent.nodes.imageData.crop.height` }, { path: `posts.richContent.nodes.mapData.mapSettings.lat` }, { path: `posts.richContent.nodes.mapData.mapSettings.lng` }, { path: `posts.richContent.nodes.pollData.poll.image.duration` }, { path: `posts.richContent.nodes.pollData.poll.options.image.duration` }, { path: `posts.richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.nodes.appEmbedData.image.duration` }, { path: `posts.richContent.nodes.videoData.video.duration` }, { path: `posts.richContent.nodes.videoData.thumbnail.duration` }, { path: `posts.richContent.nodes.audioData.audio.duration` }, { path: `posts.richContent.nodes.audioData.coverImage.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.background.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `posts.richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `posts.richContent.nodes.shapeData.shape.duration` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.background.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.background.gradient.stops.position` }, { path: `posts.richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `posts.richContent.nodes.tocData.fontSize` }, { path: `posts.richContent.nodes.tocData.itemSpacing` }, { path: `posts.richContent.nodes.smartBlockCellData.shape.duration` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `posts.richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
|
|
4476
4504
|
var Pu = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
|