@wix/blog 1.0.712 → 1.0.714
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 +2 -2
- package/_sdk-exports/context-post-by-id/runtime.js +2 -2
- package/_sdk-exports/context-post-by-slug/runtime.js +3 -3
- 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 +9 -3
- package/build/cjs/context-blog-feed.js.map +1 -1
- package/build/cjs/context-post-by-id.js +118 -111
- package/build/cjs/context-post-by-id.js.map +1 -1
- package/build/cjs/context-post-by-slug.js +419 -413
- package/build/cjs/context-post-by-slug.js.map +1 -1
- package/build/cjs/context-post-list-item.js +596 -589
- package/build/cjs/context-post-list-item.js.map +1 -1
- package/build/cjs/context-related-posts.js +941 -934
- package/build/cjs/context-related-posts.js.map +1 -1
- package/build/es/context-blog-feed.mjs +9 -3
- package/build/es/context-blog-feed.mjs.map +1 -1
- package/build/es/context-post-by-id.mjs +118 -111
- package/build/es/context-post-by-id.mjs.map +1 -1
- package/build/es/context-post-by-slug.mjs +419 -413
- package/build/es/context-post-by-slug.mjs.map +1 -1
- package/build/es/context-post-list-item.mjs +596 -589
- package/build/es/context-post-list-item.mjs.map +1 -1
- package/build/es/context-related-posts.mjs +941 -934
- package/build/es/context-related-posts.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1007,20 +1007,47 @@ function Un(e6, t2, n2) {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
return a2;
|
|
1009
1009
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1010
|
+
function I(e6) {
|
|
1011
|
+
return e6;
|
|
1012
|
+
}
|
|
1013
|
+
var Wn = I(`@wix/site-service-rendering-context`);
|
|
1014
|
+
var Gn = I(`@wix/site-service-editor-context`);
|
|
1015
|
+
var Kn = () => {
|
|
1016
|
+
try {
|
|
1017
|
+
return !!m(Gn).previewMode;
|
|
1018
|
+
} catch {
|
|
1019
|
+
return false;
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
var qn = i({ isEditor: false, isPreview: false });
|
|
1023
|
+
var Jn = () => c(qn);
|
|
1024
|
+
var Yn = ({ isEditor: e6, isPreview: t2 }) => e6 && !t2;
|
|
1025
|
+
var Xn = () => {
|
|
1026
|
+
try {
|
|
1027
|
+
let { SSR: e6, SEO: t2 } = m(Wn);
|
|
1028
|
+
return e6 || t2;
|
|
1029
|
+
} catch {
|
|
1030
|
+
return false;
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
var Zn = () => {
|
|
1034
|
+
let e6 = Xn();
|
|
1035
|
+
return Yn(Jn()) && !e6;
|
|
1036
|
+
};
|
|
1037
|
+
var Qn = [{ path: `richContent.nodes.buttonData.styles.background.gradient.centerX` }, { path: `richContent.nodes.buttonData.styles.background.gradient.centerY` }, { path: `richContent.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `richContent.nodes.galleryData.items.image.media.duration` }, { path: `richContent.nodes.galleryData.items.video.media.duration` }, { path: `richContent.nodes.galleryData.items.video.thumbnail.duration` }, { path: `richContent.nodes.galleryData.options.item.ratio` }, { path: `richContent.nodes.imageData.image.duration` }, { path: `richContent.nodes.imageData.crop.x` }, { path: `richContent.nodes.imageData.crop.y` }, { path: `richContent.nodes.imageData.crop.width` }, { path: `richContent.nodes.imageData.crop.height` }, { path: `richContent.nodes.mapData.mapSettings.lat` }, { path: `richContent.nodes.mapData.mapSettings.lng` }, { path: `richContent.nodes.pollData.poll.image.duration` }, { path: `richContent.nodes.pollData.poll.options.image.duration` }, { path: `richContent.nodes.pollData.design.poll.background.image.duration` }, { path: `richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.nodes.textData.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.nodes.textData.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.nodes.appEmbedData.image.duration` }, { path: `richContent.nodes.videoData.video.duration` }, { path: `richContent.nodes.videoData.thumbnail.duration` }, { path: `richContent.nodes.audioData.audio.duration` }, { path: `richContent.nodes.audioData.coverImage.duration` }, { path: `richContent.nodes.layoutData.backgroundImage.media.duration` }, { path: `richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `richContent.nodes.layoutData.backdropImage.media.duration` }, { path: `richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `richContent.nodes.layoutData.background.gradient.centerX` }, { path: `richContent.nodes.layoutData.background.gradient.centerY` }, { path: `richContent.nodes.layoutData.background.gradient.stops.position` }, { path: `richContent.nodes.layoutData.backdrop.gradient.centerX` }, { path: `richContent.nodes.layoutData.backdrop.gradient.centerY` }, { path: `richContent.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `richContent.nodes.shapeData.shape.duration` }, { path: `richContent.nodes.cardData.background.gradient.centerX` }, { path: `richContent.nodes.cardData.background.gradient.centerY` }, { path: `richContent.nodes.cardData.background.gradient.stops.position` }, { path: `richContent.nodes.cardData.backgroundImage.media.duration` }, { path: `richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `richContent.nodes.tocData.fontSize` }, { path: `richContent.nodes.tocData.itemSpacing` }, { path: `richContent.nodes.smartBlockCellData.shape.duration` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerOne.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerTwo.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerThree.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerFour.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerFive.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.headerSix.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.paragraph.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.blockquote.decorations.colorData.backgroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.foregroundStyle.gradient.stops.position` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerX` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.centerY` }, { path: `richContent.documentStyle.codeBlock.decorations.colorData.backgroundStyle.gradient.stops.position` }];
|
|
1038
|
+
var $n = [{ path: `richContent.metadata.createdTimestamp` }, { path: `richContent.metadata.updatedTimestamp` }];
|
|
1039
|
+
function er(e6) {
|
|
1013
1040
|
return P(Object.assign(e6, { domainToMappings: { "manage._base_domain_": [{ srcPath: `/_api/blog-paywall-service`, destPath: `` }], "editor._base_domain_": [{ srcPath: `/_api/blog-paywall-service`, destPath: `` }], "blocks._base_domain_": [{ srcPath: `/_api/blog-paywall-service`, destPath: `` }], "create.editorx": [{ srcPath: `/_api/blog-paywall-service`, destPath: `` }], _: [{ srcPath: `/_api/blog-paywall-service`, destPath: `` }], "www.wixapis.com": [{ srcPath: `/blog-paywall-service/v1/post-paywalls`, destPath: `/v1/post-paywalls` }] } }));
|
|
1014
1041
|
}
|
|
1015
|
-
var
|
|
1016
|
-
function
|
|
1042
|
+
var tr = `@wix/auto_sdk_blog_post-paywalls`;
|
|
1043
|
+
function nr(e6) {
|
|
1017
1044
|
function t2({ host: t3 }) {
|
|
1018
|
-
return { entityFqdn: `wix.blog.blog_paywall_service.v1.post_paywall`, method: `GET`, methodFqn: `wix.blog.blog_paywall_service.v1.PostPaywallService.GetPostPaywall`, packageName:
|
|
1045
|
+
return { entityFqdn: `wix.blog.blog_paywall_service.v1.post_paywall`, method: `GET`, methodFqn: `wix.blog.blog_paywall_service.v1.PostPaywallService.GetPostPaywall`, packageName: tr, migrationOptions: { optInTransformResponse: true }, url: er({ protoPath: `/v1/post-paywalls/{postFqdn}/{postId}`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: F, paths: Qn }, { transformFn: k, paths: $n }]) };
|
|
1019
1046
|
}
|
|
1020
1047
|
return t2;
|
|
1021
1048
|
}
|
|
1022
|
-
async function
|
|
1023
|
-
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 =
|
|
1049
|
+
async function rr(e6, t2) {
|
|
1050
|
+
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = nr(D({ postFqdn: e6?.postFqdn, postId: e6?.postId, language: t2?.language }, []));
|
|
1024
1051
|
r2?.onSiteCall?.();
|
|
1025
1052
|
try {
|
|
1026
1053
|
let e7 = await n2.request(i2);
|
|
@@ -1030,29 +1057,29 @@ async function Yn(e6, t2) {
|
|
|
1030
1057
|
throw r2?.onError?.(e7), t3;
|
|
1031
1058
|
}
|
|
1032
1059
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return (t2, n2) =>
|
|
1060
|
+
function ir(e6) {
|
|
1061
|
+
return (t2, n2) => rr(t2, n2, { httpClient: e6 });
|
|
1035
1062
|
}
|
|
1036
|
-
var
|
|
1037
|
-
function
|
|
1063
|
+
var ar = M(ir);
|
|
1064
|
+
function or(e6) {
|
|
1038
1065
|
return Object.keys(e6).length === 1 && `$and` in e6 && Array.isArray(e6.$and);
|
|
1039
1066
|
}
|
|
1040
|
-
function
|
|
1067
|
+
function sr(e6) {
|
|
1041
1068
|
return Object.keys(e6).length === 1 && `$or` in e6 && Array.isArray(e6.$or);
|
|
1042
1069
|
}
|
|
1043
|
-
function
|
|
1070
|
+
function cr(e6) {
|
|
1044
1071
|
return Object.keys(e6).length === 1 && `$not` in e6 && typeof e6.$not == `object`;
|
|
1045
1072
|
}
|
|
1046
|
-
function
|
|
1047
|
-
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $and: [...
|
|
1073
|
+
function L(e6, t2) {
|
|
1074
|
+
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $and: [...or(e6) ? e6.$and : [e6], ...or(t2) ? t2.$and : [t2]] };
|
|
1048
1075
|
}
|
|
1049
|
-
function
|
|
1050
|
-
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $or: [
|
|
1076
|
+
function lr(e6, t2) {
|
|
1077
|
+
return e6 === void 0 || Object.keys(e6).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e6 : { $or: [...sr(e6) ? e6.$or : [e6], ...sr(t2) ? t2.$or : [t2]] };
|
|
1051
1078
|
}
|
|
1052
|
-
function
|
|
1053
|
-
if (e6 !== void 0 && Object.keys(e6).length !== 0) return
|
|
1079
|
+
function ur(e6) {
|
|
1080
|
+
if (e6 !== void 0 && Object.keys(e6).length !== 0) return cr(e6) ? e6.$not : { $not: e6 };
|
|
1054
1081
|
}
|
|
1055
|
-
var
|
|
1082
|
+
var dr = class {
|
|
1056
1083
|
_items;
|
|
1057
1084
|
_fetchNextPage;
|
|
1058
1085
|
_fetchPrevPage;
|
|
@@ -1082,7 +1109,7 @@ var rr = class {
|
|
|
1082
1109
|
return await this._fetchPrevPage();
|
|
1083
1110
|
}
|
|
1084
1111
|
};
|
|
1085
|
-
var
|
|
1112
|
+
var fr = class extends dr {
|
|
1086
1113
|
_nextCursor;
|
|
1087
1114
|
_prevCursor;
|
|
1088
1115
|
cursors;
|
|
@@ -1096,7 +1123,7 @@ var ir = class extends rr {
|
|
|
1096
1123
|
return !!this._prevCursor;
|
|
1097
1124
|
}
|
|
1098
1125
|
};
|
|
1099
|
-
var
|
|
1126
|
+
var pr = class extends dr {
|
|
1100
1127
|
_totalCount;
|
|
1101
1128
|
_offset;
|
|
1102
1129
|
_tooManyToCount;
|
|
@@ -1119,76 +1146,76 @@ var ar = class extends rr {
|
|
|
1119
1146
|
return !!(this._limit !== 0 && this.currentPage && this.currentPage > 0);
|
|
1120
1147
|
}
|
|
1121
1148
|
};
|
|
1122
|
-
function
|
|
1149
|
+
function mr(e6) {
|
|
1123
1150
|
let t2 = (n2) => ({ query: n2, async find() {
|
|
1124
1151
|
try {
|
|
1125
1152
|
let r2 = e6.requestTransformer(e6.pagingMethod === `CURSOR` && n2.cursorPaging.cursor ? { cursorPaging: n2.cursorPaging } : n2), i2 = await e6.func(r2), { [$e]: a2, [et]: o2 } = e6.responseTransformer(i2);
|
|
1126
1153
|
if (e6.pagingMethod === `OFFSET`) {
|
|
1127
1154
|
let e7 = n2;
|
|
1128
|
-
return new
|
|
1155
|
+
return new pr({ items: a2 ?? [], fetchNextPage: () => t2({ ...e7, paging: { offset: e7.paging.offset + e7.paging.limit, limit: e7.paging.limit } }).find(), fetchPrevPage: () => t2({ ...n2, paging: { offset: Math.max(e7.paging.offset - e7.paging.limit, 0), limit: e7.paging.limit } }).find(), offset: e7.paging.offset, limit: e7.paging.limit, totalCount: o2?.total, tooManyToCount: o2?.tooManyToCount, originQuery: this });
|
|
1129
1156
|
}
|
|
1130
1157
|
let s2 = n2.cursorPaging;
|
|
1131
|
-
return new
|
|
1158
|
+
return new fr({ items: a2 ?? [], limit: s2.limit, originQuery: this, fetchNextPage: () => t2({ ...n2, cursorPaging: { cursor: o2?.cursors?.next ?? void 0, limit: s2.limit } }).find(), fetchPrevPage: () => t2({ ...n2, cursorPaging: { cursor: o2?.cursors?.prev ?? void 0, limit: s2.limit } }).find(), prevCursor: o2?.cursors?.prev ?? void 0, nextCursor: o2?.cursors?.next ?? void 0 });
|
|
1132
1159
|
} catch (t3) {
|
|
1133
1160
|
throw e6.errorTransformer(t3);
|
|
1134
1161
|
}
|
|
1135
1162
|
}, skipTo(e7) {
|
|
1136
1163
|
return t2({ ...n2, cursorPaging: { cursor: e7, limit: n2.cursorPaging.limit } });
|
|
1137
1164
|
}, eq(r2, i2) {
|
|
1138
|
-
let a2 = i2 === void 0 ? null : i2, o2 = { [
|
|
1139
|
-
return t2({ ...n2, filter:
|
|
1165
|
+
let a2 = i2 === void 0 ? null : i2, o2 = { [R(e6.transformationPaths, r2)]: a2 };
|
|
1166
|
+
return t2({ ...n2, filter: L(n2.filter, o2) });
|
|
1140
1167
|
}, ne(r2, i2) {
|
|
1141
|
-
let a2 = i2 === void 0 ? null : i2, o2 = { [
|
|
1142
|
-
return t2({ ...n2, filter:
|
|
1168
|
+
let a2 = i2 === void 0 ? null : i2, o2 = { [R(e6.transformationPaths, r2)]: { $ne: a2 } };
|
|
1169
|
+
return t2({ ...n2, filter: L(n2.filter, o2) });
|
|
1143
1170
|
}, ge(r2, i2) {
|
|
1144
|
-
let a2 = { [
|
|
1145
|
-
return t2({ ...n2, filter:
|
|
1171
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $gte: i2 } };
|
|
1172
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1146
1173
|
}, gt(r2, i2) {
|
|
1147
|
-
let a2 = { [
|
|
1148
|
-
return t2({ ...n2, filter:
|
|
1174
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $gt: i2 } };
|
|
1175
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1149
1176
|
}, le(r2, i2) {
|
|
1150
|
-
let a2 = { [
|
|
1151
|
-
return t2({ ...n2, filter:
|
|
1177
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $lte: i2 } };
|
|
1178
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1152
1179
|
}, lt(r2, i2) {
|
|
1153
|
-
let a2 = { [
|
|
1154
|
-
return t2({ ...n2, filter:
|
|
1180
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $lt: i2 } };
|
|
1181
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1155
1182
|
}, isNotEmpty(e7) {
|
|
1156
1183
|
return this.ne(e7, null);
|
|
1157
1184
|
}, isEmpty(e7) {
|
|
1158
1185
|
return this.eq(e7, null);
|
|
1159
1186
|
}, startsWith(r2, i2) {
|
|
1160
|
-
let a2 = { [
|
|
1161
|
-
return t2({ ...n2, filter:
|
|
1187
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $startsWith: i2 } };
|
|
1188
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1162
1189
|
}, endsWith(r2, i2) {
|
|
1163
|
-
let a2 = { [
|
|
1164
|
-
return t2({ ...n2, filter:
|
|
1190
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $endsWith: i2 } };
|
|
1191
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1165
1192
|
}, contains(r2, i2) {
|
|
1166
|
-
let a2 = { [
|
|
1167
|
-
return t2({ ...n2, filter:
|
|
1193
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $contains: i2 } };
|
|
1194
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1168
1195
|
}, hasSome(r2, ...i2) {
|
|
1169
|
-
let a2 = { [
|
|
1170
|
-
return t2({ ...n2, filter:
|
|
1196
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
|
|
1197
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1171
1198
|
}, hasAll(r2, ...i2) {
|
|
1172
|
-
let a2 = { [
|
|
1173
|
-
return t2({ ...n2, filter:
|
|
1199
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
|
|
1200
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1174
1201
|
}, between(e7, t3, n3) {
|
|
1175
1202
|
return this.ge(e7, t3).lt(e7, n3);
|
|
1176
1203
|
}, in(r2, i2) {
|
|
1177
|
-
let a2 = { [
|
|
1178
|
-
return t2({ ...n2, filter:
|
|
1204
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $in: i2 } };
|
|
1205
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1179
1206
|
}, exists(r2, i2 = true) {
|
|
1180
|
-
let a2 = { [
|
|
1181
|
-
return t2({ ...n2, filter:
|
|
1207
|
+
let a2 = { [R(e6.transformationPaths, r2)]: { $exists: i2 } };
|
|
1208
|
+
return t2({ ...n2, filter: L(n2.filter, a2) });
|
|
1182
1209
|
}, or(e7) {
|
|
1183
|
-
return t2({ ...n2, filter:
|
|
1210
|
+
return t2({ ...n2, filter: lr(n2.filter, e7.query.filter) });
|
|
1184
1211
|
}, and(e7) {
|
|
1185
|
-
return t2({ ...n2, filter:
|
|
1212
|
+
return t2({ ...n2, filter: L(n2.filter, e7.query.filter) });
|
|
1186
1213
|
}, not(e7) {
|
|
1187
|
-
return t2({ ...n2, filter:
|
|
1214
|
+
return t2({ ...n2, filter: ur(e7.query.filter) });
|
|
1188
1215
|
}, ascending(...r2) {
|
|
1189
|
-
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName:
|
|
1216
|
+
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: R(e6.transformationPaths, t3), order: `ASC` }))] });
|
|
1190
1217
|
}, descending(...r2) {
|
|
1191
|
-
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName:
|
|
1218
|
+
return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: R(e6.transformationPaths, t3), order: `DESC` }))] });
|
|
1192
1219
|
}, skip(e7) {
|
|
1193
1220
|
return t2({ ...n2, paging: { offset: e7, limit: `limit` in n2.paging ? n2.paging.limit : 50 } });
|
|
1194
1221
|
}, limit(r2) {
|
|
@@ -1201,71 +1228,71 @@ function or(e6) {
|
|
|
1201
1228
|
} });
|
|
1202
1229
|
return t2({ filter: {}, ...e6.pagingMethod === `OFFSET` ? { paging: { offset: 0, limit: 50 } } : { cursorPaging: { limit: 50 } } });
|
|
1203
1230
|
}
|
|
1204
|
-
function
|
|
1231
|
+
function R(e6, t2) {
|
|
1205
1232
|
let n2 = Object.entries(e6).find(([e7]) => e7 === t2 || t2.startsWith(`${e7}.`))?.[0];
|
|
1206
1233
|
return n2 ? t2.replace(n2, e6[n2]) : nt(t2, { ...e6, ...tt });
|
|
1207
1234
|
}
|
|
1208
|
-
var
|
|
1209
|
-
var
|
|
1210
|
-
var
|
|
1211
|
-
var
|
|
1212
|
-
var
|
|
1213
|
-
var
|
|
1214
|
-
function
|
|
1235
|
+
var hr = `filter`;
|
|
1236
|
+
var gr = `sort`;
|
|
1237
|
+
var _r = `cursorPaging`;
|
|
1238
|
+
var vr = `paging`;
|
|
1239
|
+
var yr = [hr, gr, _r];
|
|
1240
|
+
var br = [hr, gr, vr];
|
|
1241
|
+
function xr(e6, t2) {
|
|
1215
1242
|
return !e6 || typeof e6 != `object` ? false : t2.some((t3) => e6.hasOwnProperty(t3));
|
|
1216
1243
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return
|
|
1244
|
+
function Sr(e6) {
|
|
1245
|
+
return xr(e6, yr);
|
|
1219
1246
|
}
|
|
1220
|
-
function
|
|
1221
|
-
return
|
|
1247
|
+
function Cr(e6) {
|
|
1248
|
+
return xr(e6, br);
|
|
1222
1249
|
}
|
|
1223
|
-
function
|
|
1250
|
+
function wr(e6) {
|
|
1224
1251
|
let { hasOptionsParameter: t2 } = e6;
|
|
1225
1252
|
return function(...n2) {
|
|
1226
|
-
return t2 ?
|
|
1253
|
+
return t2 ? Er(n2, e6) : Tr(n2, e6);
|
|
1227
1254
|
};
|
|
1228
1255
|
}
|
|
1229
|
-
function
|
|
1256
|
+
function Tr(e6, t2) {
|
|
1230
1257
|
return e6.length === 0 ? t2.builderQueryFunction() : t2.typedQueryFunction(e6[0]);
|
|
1231
1258
|
}
|
|
1232
|
-
function
|
|
1259
|
+
function Er(e6, t2) {
|
|
1233
1260
|
switch (e6.length) {
|
|
1234
1261
|
case 0:
|
|
1235
1262
|
return t2.builderQueryFunction();
|
|
1236
1263
|
case 1:
|
|
1237
|
-
return
|
|
1264
|
+
return Sr(e6[0]) || Cr(e6[0]) ? t2.typedQueryFunction(e6[0]) : t2.builderQueryFunction(e6[0]);
|
|
1238
1265
|
default:
|
|
1239
1266
|
return t2.typedQueryFunction(e6[0], e6[1]);
|
|
1240
1267
|
}
|
|
1241
1268
|
}
|
|
1242
|
-
var
|
|
1243
|
-
var
|
|
1244
|
-
function
|
|
1269
|
+
var Dr = [{ path: `like.createdDate` }];
|
|
1270
|
+
var Or = [{ path: `likes.createdDate` }];
|
|
1271
|
+
function kr(e6) {
|
|
1245
1272
|
return P(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "api._api_base_domain_": [{ srcPath: `/blog-like-service`, destPath: `` }], "social-blog._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "manage._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "apps._base_domain_": [{ srcPath: `/_api/blog-like-service`, destPath: `` }], "www.wixapis.com": [{ srcPath: `/blog/v1/likes`, destPath: `/v1/likes` }], "*.dev.wix-code.com": [{ srcPath: `/blog/v1/likes`, destPath: `/v1/likes` }] } }));
|
|
1246
1273
|
}
|
|
1247
|
-
var
|
|
1248
|
-
function
|
|
1274
|
+
var Ar = `@wix/auto_sdk_blog_likes`;
|
|
1275
|
+
function jr(e6) {
|
|
1249
1276
|
function t2({ host: t3 }) {
|
|
1250
|
-
let n2 = A(e6, [{ transformFn: st, paths:
|
|
1251
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.CreateLike`, packageName:
|
|
1277
|
+
let n2 = A(e6, [{ transformFn: st, paths: Dr }]);
|
|
1278
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.CreateLike`, packageName: Ar, migrationOptions: { optInTransformResponse: true }, url: kr({ protoPath: `/v1/likes`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => A(e7, [{ transformFn: k, paths: Dr }]) };
|
|
1252
1279
|
}
|
|
1253
1280
|
return t2;
|
|
1254
1281
|
}
|
|
1255
|
-
function
|
|
1282
|
+
function Mr(e6) {
|
|
1256
1283
|
function t2({ host: t3 }) {
|
|
1257
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.QueryLikes`, packageName:
|
|
1284
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `POST`, methodFqn: `wix.blog.v1.LikeService.QueryLikes`, packageName: Ar, migrationOptions: { optInTransformResponse: true }, url: kr({ protoPath: `/v1/likes/query`, data: e6, host: t3 }), data: e6, transformResponse: (e7) => A(e7, [{ transformFn: k, paths: Or }]) };
|
|
1258
1285
|
}
|
|
1259
1286
|
return t2;
|
|
1260
1287
|
}
|
|
1261
|
-
function
|
|
1288
|
+
function Nr(e6) {
|
|
1262
1289
|
function t2({ host: t3 }) {
|
|
1263
|
-
return { entityFqdn: `wix.blog.v1.like`, method: `DELETE`, methodFqn: `wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`, packageName:
|
|
1290
|
+
return { entityFqdn: `wix.blog.v1.like`, method: `DELETE`, methodFqn: `wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId`, packageName: Ar, migrationOptions: { optInTransformResponse: true }, url: kr({ protoPath: `/v1/likes/fqdn/{fqdn}/entity-id/{entityId}`, data: e6, host: t3 }), params: N(e6) };
|
|
1264
1291
|
}
|
|
1265
1292
|
return t2;
|
|
1266
1293
|
}
|
|
1267
|
-
async function
|
|
1268
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1294
|
+
async function Pr(e6) {
|
|
1295
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = jr(D({ like: e6?.like }));
|
|
1269
1296
|
n2?.onSiteCall?.();
|
|
1270
1297
|
try {
|
|
1271
1298
|
let e7 = await t2.request(r2);
|
|
@@ -1275,10 +1302,10 @@ async function Er(e6) {
|
|
|
1275
1302
|
throw n2?.onError?.(e7), t3;
|
|
1276
1303
|
}
|
|
1277
1304
|
}
|
|
1278
|
-
function
|
|
1305
|
+
function Fr() {
|
|
1279
1306
|
let { httpClient: e6, sideEffects: t2 } = arguments[0];
|
|
1280
|
-
return
|
|
1281
|
-
let r2 =
|
|
1307
|
+
return mr({ func: async (n2) => {
|
|
1308
|
+
let r2 = Mr(n2);
|
|
1282
1309
|
t2?.onSiteCall?.();
|
|
1283
1310
|
try {
|
|
1284
1311
|
let n3 = await e6.request(r2);
|
|
@@ -1296,8 +1323,8 @@ function Dr() {
|
|
|
1296
1323
|
throw j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
|
|
1297
1324
|
}, pagingMethod: `CURSOR`, transformationPaths: {} });
|
|
1298
1325
|
}
|
|
1299
|
-
async function
|
|
1300
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1326
|
+
async function Ir(e6) {
|
|
1327
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Mr(D({ query: e6 }));
|
|
1301
1328
|
n2?.onSiteCall?.();
|
|
1302
1329
|
try {
|
|
1303
1330
|
let e7 = await t2.request(r2);
|
|
@@ -1307,8 +1334,8 @@ async function Or(e6) {
|
|
|
1307
1334
|
throw n2?.onError?.(e7), t3;
|
|
1308
1335
|
}
|
|
1309
1336
|
}
|
|
1310
|
-
async function
|
|
1311
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1337
|
+
async function Lr(e6) {
|
|
1338
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Nr(D({ fqdn: e6?.fqdn, entityId: e6?.entityId }));
|
|
1312
1339
|
n2?.onSiteCall?.();
|
|
1313
1340
|
try {
|
|
1314
1341
|
let e7 = await t2.request(r2);
|
|
@@ -1318,66 +1345,66 @@ async function kr(e6) {
|
|
|
1318
1345
|
throw n2?.onError?.(e7), t3;
|
|
1319
1346
|
}
|
|
1320
1347
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return (t2) =>
|
|
1348
|
+
function Rr(e6) {
|
|
1349
|
+
return (t2) => Pr(t2, { httpClient: e6 });
|
|
1323
1350
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return () =>
|
|
1351
|
+
function zr(e6) {
|
|
1352
|
+
return () => Fr({ httpClient: e6 });
|
|
1326
1353
|
}
|
|
1327
|
-
function
|
|
1328
|
-
return (t2) =>
|
|
1354
|
+
function Br(e6) {
|
|
1355
|
+
return (t2) => Ir(t2, { httpClient: e6 });
|
|
1329
1356
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return (t2) =>
|
|
1357
|
+
function Vr(e6) {
|
|
1358
|
+
return (t2) => Lr(t2, { httpClient: e6 });
|
|
1332
1359
|
}
|
|
1333
|
-
function
|
|
1334
|
-
let t2 =
|
|
1360
|
+
function Hr(e6) {
|
|
1361
|
+
let t2 = wr({ builderQueryFunction: () => zr(e6)(), typedQueryFunction: (t3) => Br(e6)(t3), hasOptionsParameter: false });
|
|
1335
1362
|
function n2(e7) {
|
|
1336
1363
|
return t2(...arguments);
|
|
1337
1364
|
}
|
|
1338
1365
|
return n2;
|
|
1339
1366
|
}
|
|
1340
|
-
var
|
|
1341
|
-
var
|
|
1342
|
-
var
|
|
1343
|
-
function
|
|
1367
|
+
var Ur = M(Rr);
|
|
1368
|
+
var Wr = M(Vr);
|
|
1369
|
+
var Gr = M(Hr);
|
|
1370
|
+
function z(e6) {
|
|
1344
1371
|
if (!e6) return;
|
|
1345
1372
|
let t2 = ``;
|
|
1346
1373
|
return (e6.filename || e6.altText) && (t2 = `/${encodeURIComponent(e6.filename || e6.altText)}`), e6.id ? `wix:image://v1/${e6.id}${t2}#originWidth=${e6.width}&originHeight=${e6.height}` : e6.url;
|
|
1347
1374
|
}
|
|
1348
|
-
function
|
|
1375
|
+
function B(e6) {
|
|
1349
1376
|
if (e6) return [`http://`, `https://`].some((t2) => e6.base?.startsWith(t2)) ? `${e6.base}${e6.path}` : `http://${e6.base}${e6.path}`;
|
|
1350
1377
|
}
|
|
1351
|
-
var
|
|
1352
|
-
var
|
|
1353
|
-
function
|
|
1378
|
+
var Kr = [{ path: `categories.updatedDate` }, { path: `categories.coverImage.urlExpirationDate` }];
|
|
1379
|
+
var qr = [{ path: `categories.coverImage.focalPoint.x` }, { path: `categories.coverImage.focalPoint.y` }];
|
|
1380
|
+
function Jr(e6) {
|
|
1354
1381
|
return P(Object.assign(e6, { domainToMappings: { "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/category`, destPath: `/v3/bulk/category` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/categories`, destPath: `/v3/bulk/categories` }], "*.pub.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], _: [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "www.wixapis.com": [{ srcPath: `/blog/v3/categories`, destPath: `/v3/categories` }, { srcPath: `/v3/categories`, destPath: `/v3/categories` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/categories`, destPath: `/v3/categories` }], "api._api_base_domain_": [{ srcPath: `/category-service-api-proxy`, destPath: `` }] } }));
|
|
1355
1382
|
}
|
|
1356
|
-
var
|
|
1357
|
-
function
|
|
1383
|
+
var Yr = `@wix/auto_sdk_blog_categories`;
|
|
1384
|
+
function Xr(e6) {
|
|
1358
1385
|
function t2({ host: t3 }) {
|
|
1359
|
-
return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`, packageName:
|
|
1386
|
+
return { entityFqdn: `wix.blog.v3.category`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories`, packageName: Yr, migrationOptions: { optInTransformResponse: true }, url: Jr({ protoPath: `/v3/categories`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: k, paths: Kr }, { transformFn: F, paths: qr }]) };
|
|
1360
1387
|
}
|
|
1361
1388
|
return t2;
|
|
1362
1389
|
}
|
|
1363
|
-
var
|
|
1364
|
-
var
|
|
1365
|
-
async function
|
|
1366
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1390
|
+
var Zr = [{ path: `categories.url` }, { path: `categories.translations.url` }];
|
|
1391
|
+
var Qr = [{ path: `categories.coverImage` }];
|
|
1392
|
+
async function $r(e6) {
|
|
1393
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Xr(D({ paging: e6?.paging, fieldsets: e6?.fieldsets, language: e6?.language }));
|
|
1367
1394
|
n2?.onSiteCall?.();
|
|
1368
1395
|
try {
|
|
1369
1396
|
let e7 = await t2.request(r2);
|
|
1370
|
-
return n2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1397
|
+
return n2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: B, paths: Zr }, { transformFn: z, paths: Qr }]));
|
|
1371
1398
|
} catch (e7) {
|
|
1372
1399
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { paging: `$[0].paging`, fieldsets: `$[0].fieldsets`, language: `$[0].language` }, singleArgumentUnchanged: false }, [`options`]);
|
|
1373
1400
|
throw n2?.onError?.(e7), t3;
|
|
1374
1401
|
}
|
|
1375
1402
|
}
|
|
1376
|
-
function
|
|
1377
|
-
return (t2) =>
|
|
1403
|
+
function ei(e6) {
|
|
1404
|
+
return (t2) => $r(t2, { httpClient: e6 });
|
|
1378
1405
|
}
|
|
1379
|
-
var
|
|
1380
|
-
function
|
|
1406
|
+
var ti = M(ei);
|
|
1407
|
+
function V(e6) {
|
|
1381
1408
|
if (!e6) return;
|
|
1382
1409
|
let t2 = ``;
|
|
1383
1410
|
e6?.filename && (t2 = `/${encodeURIComponent(e6.filename)}`);
|
|
@@ -1392,113 +1419,113 @@ function B(e6) {
|
|
|
1392
1419
|
}
|
|
1393
1420
|
return e6.id ? `wix:video://v1/${e6.id}${t2}${n2}` : e6.url;
|
|
1394
1421
|
}
|
|
1395
|
-
var
|
|
1396
|
-
var Yr = [{ 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` }];
|
|
1397
|
-
function
|
|
1422
|
+
var ni = [{ 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` }];
|
|
1423
|
+
var ri = [{ 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` }];
|
|
1424
|
+
function ii(e6) {
|
|
1398
1425
|
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` }] } }));
|
|
1399
1426
|
}
|
|
1400
|
-
var
|
|
1401
|
-
function
|
|
1427
|
+
var ai = `@wix/auto_sdk_blog_draft-posts`;
|
|
1428
|
+
function oi(e6) {
|
|
1402
1429
|
function t2({ host: t3 }) {
|
|
1403
|
-
return { entityFqdn: `wix.blog.v3.draft`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost`, packageName:
|
|
1430
|
+
return { entityFqdn: `wix.blog.v3.draft`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.DraftPostService.GetDraftPost`, packageName: ai, migrationOptions: { optInTransformResponse: true }, url: ii({ protoPath: `/v3/draft-posts/{draftPostId}`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: k, paths: ni }, { transformFn: F, paths: ri }]) };
|
|
1404
1431
|
}
|
|
1405
1432
|
return t2;
|
|
1406
1433
|
}
|
|
1407
|
-
var
|
|
1408
|
-
var
|
|
1409
|
-
var
|
|
1410
|
-
var
|
|
1411
|
-
async function
|
|
1412
|
-
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 =
|
|
1434
|
+
var si = [{ path: `draftPost.heroImage` }, { path: `draftPost.media.wixMedia.image` }];
|
|
1435
|
+
var ci = [{ path: `draftPost.url` }, { path: `draftPost.translations.url` }];
|
|
1436
|
+
var li = [{ path: `draftPost.media.wixMedia.videoV2` }];
|
|
1437
|
+
var ui = ((e6) => (e6.UNKNOWN = `UNKNOWN`, e6.URL = `URL`, e6.INTERNAL_ID = `INTERNAL_ID`, e6.CONTENT = `CONTENT`, e6.RICH_CONTENT = `RICH_CONTENT`, e6.TRANSLATIONS = `TRANSLATIONS`, e6.GENERATED_EXCERPT = `GENERATED_EXCERPT`, e6))(ui || {});
|
|
1438
|
+
async function di(e6, t2) {
|
|
1439
|
+
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = oi(D({ draftPostId: e6, fieldsets: t2?.fieldsets }, []));
|
|
1413
1440
|
r2?.onSiteCall?.();
|
|
1414
1441
|
try {
|
|
1415
1442
|
let e7 = await n2.request(i2);
|
|
1416
|
-
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1443
|
+
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: z, paths: si }, { transformFn: B, paths: ci }, { transformFn: V, paths: li }]), [`draftPost.richContent`]);
|
|
1417
1444
|
} catch (e7) {
|
|
1418
1445
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { draftPostId: `$[0]`, fieldsets: `$[1].fieldsets` }, singleArgumentUnchanged: false }, [`draftPostId`, `options`]);
|
|
1419
1446
|
throw r2?.onError?.(e7), t3;
|
|
1420
1447
|
}
|
|
1421
1448
|
}
|
|
1422
|
-
function
|
|
1423
|
-
return (t2, n2) =>
|
|
1424
|
-
}
|
|
1425
|
-
var
|
|
1426
|
-
var
|
|
1427
|
-
var
|
|
1428
|
-
var ci = [{ 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` }];
|
|
1429
|
-
var
|
|
1430
|
-
var
|
|
1431
|
-
var di = [{ 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` }];
|
|
1432
|
-
var
|
|
1433
|
-
var
|
|
1434
|
-
function
|
|
1449
|
+
function fi(e6) {
|
|
1450
|
+
return (t2, n2) => di(t2, n2, { httpClient: e6 });
|
|
1451
|
+
}
|
|
1452
|
+
var pi = M(fi);
|
|
1453
|
+
var mi = [{ 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` }];
|
|
1454
|
+
var hi = [{ path: `post.richContentCompressed` }];
|
|
1455
|
+
var gi = [{ 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` }];
|
|
1456
|
+
var _i = [{ 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` }];
|
|
1457
|
+
var vi = [{ path: `posts.richContentCompressed` }];
|
|
1458
|
+
var yi = [{ 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` }];
|
|
1459
|
+
var bi = [{ path: `sort.origin.latitude` }, { path: `sort.origin.longitude` }, { path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
|
|
1460
|
+
var xi = [{ path: `metrics.averageRating` }];
|
|
1461
|
+
function Si(e6) {
|
|
1435
1462
|
return P(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "www.wixapis.com": [{ srcPath: `/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/blog/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/v3/posts`, destPath: `/v3/posts` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }, { srcPath: `/_api/post-service-api-proxy/v3/bulk/posts`, destPath: `/v3/bulk/posts` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }], "dev._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/posts`, destPath: `/v3/posts` }] } }));
|
|
1436
1463
|
}
|
|
1437
|
-
var
|
|
1438
|
-
function
|
|
1464
|
+
var Ci = `@wix/auto_sdk_blog_posts`;
|
|
1465
|
+
function wi(e6) {
|
|
1439
1466
|
function t2({ host: t3 }) {
|
|
1440
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug`, packageName:
|
|
1467
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug`, packageName: Ci, migrationOptions: { optInTransformResponse: true }, url: Si({ protoPath: `/v3/posts/slugs/{slug}`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: k, paths: mi }, { transformFn: fn, paths: hi }, { transformFn: F, paths: gi }]) };
|
|
1441
1468
|
}
|
|
1442
1469
|
return t2;
|
|
1443
1470
|
}
|
|
1444
|
-
function
|
|
1471
|
+
function Ti(e6) {
|
|
1445
1472
|
function t2({ host: t3 }) {
|
|
1446
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`, packageName:
|
|
1473
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts`, packageName: Ci, migrationOptions: { optInTransformResponse: true }, url: Si({ protoPath: `/v3/posts`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: k, paths: _i }, { transformFn: fn, paths: vi }, { transformFn: F, paths: yi }]) };
|
|
1447
1474
|
}
|
|
1448
1475
|
return t2;
|
|
1449
1476
|
}
|
|
1450
|
-
function
|
|
1477
|
+
function Ei(e6) {
|
|
1451
1478
|
function t2({ host: t3 }) {
|
|
1452
|
-
let n2 = A(e6, [{ transformFn: dn, paths:
|
|
1453
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName:
|
|
1479
|
+
let n2 = A(e6, [{ transformFn: dn, paths: bi }]);
|
|
1480
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts`, packageName: Ci, migrationOptions: { optInTransformResponse: true }, url: Si({ protoPath: `/v3/posts/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => A(e7, [{ transformFn: k, paths: _i }, { transformFn: fn, paths: vi }, { transformFn: F, paths: yi }]) };
|
|
1454
1481
|
}
|
|
1455
1482
|
return t2;
|
|
1456
1483
|
}
|
|
1457
|
-
function
|
|
1484
|
+
function Di(e6) {
|
|
1458
1485
|
function t2({ host: t3 }) {
|
|
1459
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`, packageName:
|
|
1486
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `GET`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics`, packageName: Ci, migrationOptions: { optInTransformResponse: true }, url: Si({ protoPath: `/v3/posts/{postId}/metrics`, data: e6, host: t3 }), params: N(e6), transformResponse: (e7) => A(e7, [{ transformFn: F, paths: xi }]) };
|
|
1460
1487
|
}
|
|
1461
1488
|
return t2;
|
|
1462
1489
|
}
|
|
1463
|
-
function
|
|
1490
|
+
function Oi(e6) {
|
|
1464
1491
|
function t2({ host: t3 }) {
|
|
1465
|
-
return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ViewPost`, packageName:
|
|
1492
|
+
return { entityFqdn: `wix.blog.v3.post`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.v3.PostService.ViewPost`, packageName: Ci, migrationOptions: { optInTransformResponse: true }, url: Si({ protoPath: `/v3/posts/{postId}/view`, data: e6, host: t3 }), data: e6 };
|
|
1466
1493
|
}
|
|
1467
1494
|
return t2;
|
|
1468
1495
|
}
|
|
1469
|
-
var
|
|
1470
|
-
var
|
|
1471
|
-
var
|
|
1472
|
-
var
|
|
1473
|
-
var
|
|
1474
|
-
var
|
|
1475
|
-
var
|
|
1476
|
-
async function
|
|
1477
|
-
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 =
|
|
1496
|
+
var ki = [{ path: `post.url` }, { path: `post.translations.url` }];
|
|
1497
|
+
var Ai = [{ path: `post.heroImage` }, { path: `post.media.wixMedia.image` }];
|
|
1498
|
+
var ji = [{ path: `post.media.wixMedia.videoV2` }];
|
|
1499
|
+
var Mi = [{ path: `posts.url` }, { path: `posts.translations.url` }];
|
|
1500
|
+
var Ni = [{ path: `posts.heroImage` }, { path: `posts.media.wixMedia.image` }];
|
|
1501
|
+
var Pi = [{ path: `posts.media.wixMedia.videoV2` }];
|
|
1502
|
+
var H = ((e6) => (e6.UNKNOWN = `UNKNOWN`, e6.COUNTERS = `COUNTERS`, e6.URL = `URL`, e6.CONTENT_TEXT = `CONTENT_TEXT`, e6.METRICS = `METRICS`, e6.SEO = `SEO`, e6.CONTENT = `CONTENT`, e6.INTERNAL_ID = `INTERNAL_ID`, e6.CONTACT_ID = `CONTACT_ID`, e6.RICH_CONTENT = `RICH_CONTENT`, e6.RICH_CONTENT_STRING = `RICH_CONTENT_STRING`, e6.RICH_CONTENT_COMPRESSED = `RICH_CONTENT_COMPRESSED`, e6.TRANSLATIONS = `TRANSLATIONS`, e6.REFERENCE_ID = `REFERENCE_ID`, e6.EXCLUDE_PAID_CONTENT = `EXCLUDE_PAID_CONTENT`, e6.SEO_DATA = `SEO_DATA`, e6.OWNER = `OWNER`, e6.HAS_UNPUBLISHED_CHANGES = `HAS_UNPUBLISHED_CHANGES`, e6.HEADING = `HEADING`, e6.IMAGE = `IMAGE`, e6))(H || {});
|
|
1503
|
+
async function Fi(e6, t2) {
|
|
1504
|
+
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = wi(D({ slug: e6, fieldsets: t2?.fieldsets, language: t2?.language }, []));
|
|
1478
1505
|
r2?.onSiteCall?.();
|
|
1479
1506
|
try {
|
|
1480
1507
|
let e7 = await n2.request(i2);
|
|
1481
|
-
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1508
|
+
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: B, paths: ki }, { transformFn: z, paths: Ai }, { transformFn: V, paths: ji }]), [`post.richContent`, `post.rich_content`]);
|
|
1482
1509
|
} catch (e7) {
|
|
1483
1510
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { slug: `$[0]`, fieldsets: `$[1].fieldsets`, language: `$[1].language` }, singleArgumentUnchanged: false }, [`slug`, `options`]);
|
|
1484
1511
|
throw r2?.onError?.(e7), t3;
|
|
1485
1512
|
}
|
|
1486
1513
|
}
|
|
1487
|
-
async function
|
|
1488
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1514
|
+
async function Ii(e6) {
|
|
1515
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Ti(D({ featured: e6?.featured, hashtags: e6?.hashtags, categoryIds: e6?.categoryIds, tagIds: e6?.tagIds, sort: e6?.sort, paging: e6?.paging, language: e6?.language, memberId: e6?.memberId, fieldsets: e6?.fieldsets }, []));
|
|
1489
1516
|
n2?.onSiteCall?.();
|
|
1490
1517
|
try {
|
|
1491
1518
|
let e7 = await t2.request(r2);
|
|
1492
|
-
return n2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1519
|
+
return n2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: B, paths: Mi }, { transformFn: z, paths: Ni }, { transformFn: V, paths: Pi }]), [`posts.richContent`, `posts.rich_content`]);
|
|
1493
1520
|
} catch (e7) {
|
|
1494
1521
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { featured: `$[0].featured`, hashtags: `$[0].hashtags`, categoryIds: `$[0].categoryIds`, tagIds: `$[0].tagIds`, sort: `$[0].sort`, paging: `$[0].paging`, language: `$[0].language`, memberId: `$[0].memberId`, fieldsets: `$[0].fieldsets` }, singleArgumentUnchanged: false }, [`options`]);
|
|
1495
1522
|
throw n2?.onError?.(e7), t3;
|
|
1496
1523
|
}
|
|
1497
1524
|
}
|
|
1498
|
-
function
|
|
1525
|
+
function Li(e6) {
|
|
1499
1526
|
let { httpClient: t2, sideEffects: n2 } = arguments[1];
|
|
1500
|
-
return
|
|
1501
|
-
let i2 =
|
|
1527
|
+
return mr({ func: async (r2) => {
|
|
1528
|
+
let i2 = Ei({ ...r2, ...e6 ?? {} });
|
|
1502
1529
|
n2?.onSiteCall?.();
|
|
1503
1530
|
try {
|
|
1504
1531
|
let e7 = await t2.request(i2);
|
|
@@ -1510,25 +1537,25 @@ function ki(e6) {
|
|
|
1510
1537
|
let n3 = [t3, e6];
|
|
1511
1538
|
return D({ ...n3?.[1], query: n3?.[0] }, []);
|
|
1512
1539
|
}, responseTransformer: ({ data: e7 }) => {
|
|
1513
|
-
let t3 = O(A(e7, [{ transformFn:
|
|
1540
|
+
let t3 = O(A(e7, [{ transformFn: B, paths: Mi }, { transformFn: z, paths: Ni }, { transformFn: V, paths: Pi }]), [`posts.richContent`, `posts.rich_content`]);
|
|
1514
1541
|
return { items: t3?.posts, pagingMetadata: t3?.pagingMetadata };
|
|
1515
1542
|
}, errorTransformer: (e7) => {
|
|
1516
1543
|
throw j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
|
|
1517
1544
|
}, pagingMethod: `CURSOR`, transformationPaths: {} });
|
|
1518
1545
|
}
|
|
1519
|
-
async function
|
|
1520
|
-
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 =
|
|
1546
|
+
async function Ri(e6, t2) {
|
|
1547
|
+
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Ei(D({ query: e6, ...t2 }, []));
|
|
1521
1548
|
r2?.onSiteCall?.();
|
|
1522
1549
|
try {
|
|
1523
1550
|
let e7 = await n2.request(i2);
|
|
1524
|
-
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1551
|
+
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: B, paths: Mi }, { transformFn: z, paths: Ni }, { transformFn: V, paths: Pi }]), [`posts.richContent`, `posts.rich_content`]);
|
|
1525
1552
|
} catch (e7) {
|
|
1526
1553
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
|
|
1527
1554
|
throw r2?.onError?.(e7), t3;
|
|
1528
1555
|
}
|
|
1529
1556
|
}
|
|
1530
|
-
async function
|
|
1531
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1557
|
+
async function zi(e6) {
|
|
1558
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Di(D({ postId: e6 }, []));
|
|
1532
1559
|
n2?.onSiteCall?.();
|
|
1533
1560
|
try {
|
|
1534
1561
|
let e7 = await t2.request(r2);
|
|
@@ -1538,8 +1565,8 @@ async function ji(e6) {
|
|
|
1538
1565
|
throw n2?.onError?.(e7), t3;
|
|
1539
1566
|
}
|
|
1540
1567
|
}
|
|
1541
|
-
async function
|
|
1542
|
-
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 =
|
|
1568
|
+
async function Bi(e6) {
|
|
1569
|
+
let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Oi(D({ postId: e6 }, []));
|
|
1543
1570
|
n2?.onSiteCall?.();
|
|
1544
1571
|
try {
|
|
1545
1572
|
let e7 = await t2.request(r2);
|
|
@@ -1549,54 +1576,54 @@ async function Mi(e6) {
|
|
|
1549
1576
|
throw n2?.onError?.(e7), t3;
|
|
1550
1577
|
}
|
|
1551
1578
|
}
|
|
1552
|
-
function
|
|
1553
|
-
return (t2, n2) =>
|
|
1579
|
+
function Vi(e6) {
|
|
1580
|
+
return (t2, n2) => Fi(t2, n2, { httpClient: e6 });
|
|
1554
1581
|
}
|
|
1555
|
-
function
|
|
1556
|
-
return (t2) =>
|
|
1582
|
+
function Hi(e6) {
|
|
1583
|
+
return (t2) => Ii(t2, { httpClient: e6 });
|
|
1557
1584
|
}
|
|
1558
|
-
function
|
|
1559
|
-
return (t2) =>
|
|
1585
|
+
function Ui(e6) {
|
|
1586
|
+
return (t2) => Li(t2, { httpClient: e6 });
|
|
1560
1587
|
}
|
|
1561
|
-
function
|
|
1562
|
-
return (t2, n2) =>
|
|
1588
|
+
function Wi(e6) {
|
|
1589
|
+
return (t2, n2) => Ri(t2, n2, { httpClient: e6 });
|
|
1563
1590
|
}
|
|
1564
|
-
function
|
|
1565
|
-
return (t2) =>
|
|
1591
|
+
function Gi(e6) {
|
|
1592
|
+
return (t2) => zi(t2, { httpClient: e6 });
|
|
1566
1593
|
}
|
|
1567
|
-
function
|
|
1568
|
-
return (t2) =>
|
|
1594
|
+
function Ki(e6) {
|
|
1595
|
+
return (t2) => Bi(t2, { httpClient: e6 });
|
|
1569
1596
|
}
|
|
1570
|
-
function
|
|
1571
|
-
let t2 =
|
|
1597
|
+
function qi(e6) {
|
|
1598
|
+
let t2 = wr({ builderQueryFunction: (t3) => Ui(e6)(t3), typedQueryFunction: (t3, n3) => Wi(e6)(t3, n3), hasOptionsParameter: true });
|
|
1572
1599
|
function n2(e7, n3) {
|
|
1573
1600
|
return t2(...arguments);
|
|
1574
1601
|
}
|
|
1575
1602
|
return n2;
|
|
1576
1603
|
}
|
|
1577
|
-
var
|
|
1578
|
-
var
|
|
1579
|
-
var
|
|
1580
|
-
var
|
|
1581
|
-
var
|
|
1582
|
-
var
|
|
1583
|
-
var
|
|
1584
|
-
function
|
|
1604
|
+
var Ji = M(Vi);
|
|
1605
|
+
var Yi = M(Hi);
|
|
1606
|
+
var Xi = M(Gi);
|
|
1607
|
+
var Zi = M(Ki);
|
|
1608
|
+
var Qi = M(qi);
|
|
1609
|
+
var $i = [{ path: `query.sort.origin.latitude` }, { path: `query.sort.origin.longitude` }];
|
|
1610
|
+
var ea = [{ path: `tags.createdDate` }, { path: `tags.updatedDate` }];
|
|
1611
|
+
function ta(e6) {
|
|
1585
1612
|
return P(Object.assign(e6, { domainToMappings: { _: [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "apps._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "www.wixapis.com": [{ srcPath: `/v3/tags`, destPath: `/v3/tags` }, { srcPath: `/blog/v3/tags`, destPath: `/v3/tags` }], "manage._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v2/tags`, destPath: `/v2/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tag`, destPath: `/v3/bulk/tag` }, { srcPath: `/_api/communities-blog-node-api/v3/bulk/tags`, destPath: `/v3/bulk/tags` }, { srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "bo._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wixbo.ai": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "wix-bo.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "blocks._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "create.editorx": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "editor.wixapps.net": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "*.dev.wix-code.com": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }], "social-blog._base_domain_": [{ srcPath: `/_api/communities-blog-node-api/v3/tags`, destPath: `/v3/tags` }] } }));
|
|
1586
1613
|
}
|
|
1587
|
-
var
|
|
1588
|
-
function
|
|
1614
|
+
var na = `@wix/auto_sdk_blog_tags`;
|
|
1615
|
+
function ra(e6) {
|
|
1589
1616
|
function t2({ host: t3 }) {
|
|
1590
|
-
let n2 = A(e6, [{ transformFn: dn, paths:
|
|
1591
|
-
return { entityFqdn: `wix.blog.v3.tag`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.TagService.QueryTags`, packageName:
|
|
1617
|
+
let n2 = A(e6, [{ transformFn: dn, paths: $i }]);
|
|
1618
|
+
return { entityFqdn: `wix.blog.v3.tag`, method: `POST`, methodFqn: `com.wixpress.npm.communities.platformized.blog.TagService.QueryTags`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/tags/query`, data: n2, host: t3 }), data: n2, transformResponse: (e7) => A(e7, [{ transformFn: k, paths: ea }]) };
|
|
1592
1619
|
}
|
|
1593
1620
|
return t2;
|
|
1594
1621
|
}
|
|
1595
|
-
var
|
|
1596
|
-
function
|
|
1622
|
+
var ia = [{ path: `tags.url` }];
|
|
1623
|
+
function aa(e6) {
|
|
1597
1624
|
let { httpClient: t2, sideEffects: n2 } = arguments[1];
|
|
1598
|
-
return
|
|
1599
|
-
let i2 =
|
|
1625
|
+
return mr({ func: async (r2) => {
|
|
1626
|
+
let i2 = ra({ ...r2, ...e6 ?? {} });
|
|
1600
1627
|
n2?.onSiteCall?.();
|
|
1601
1628
|
try {
|
|
1602
1629
|
let e7 = await t2.request(i2);
|
|
@@ -1608,86 +1635,74 @@ function Zi(e6) {
|
|
|
1608
1635
|
let n3 = [t3, e6];
|
|
1609
1636
|
return D({ ...n3?.[1], query: n3?.[0] });
|
|
1610
1637
|
}, responseTransformer: ({ data: e7 }) => {
|
|
1611
|
-
let t3 = O(A(e7, [{ transformFn:
|
|
1638
|
+
let t3 = O(A(e7, [{ transformFn: B, paths: ia }]));
|
|
1612
1639
|
return { items: t3?.tags, pagingMetadata: t3?.pagingMetadata };
|
|
1613
1640
|
}, errorTransformer: (e7) => {
|
|
1614
1641
|
throw j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
|
|
1615
1642
|
}, pagingMethod: `OFFSET`, transformationPaths: {} });
|
|
1616
1643
|
}
|
|
1617
|
-
async function
|
|
1618
|
-
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 =
|
|
1644
|
+
async function oa(e6, t2) {
|
|
1645
|
+
let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = ra(D({ query: e6, ...t2 }));
|
|
1619
1646
|
r2?.onSiteCall?.();
|
|
1620
1647
|
try {
|
|
1621
1648
|
let e7 = await n2.request(i2);
|
|
1622
|
-
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn:
|
|
1649
|
+
return r2?.onSuccess?.(e7), O(A(e7.data, [{ transformFn: B, paths: ia }]));
|
|
1623
1650
|
} catch (e7) {
|
|
1624
1651
|
let t3 = j(e7, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
|
|
1625
1652
|
throw r2?.onError?.(e7), t3;
|
|
1626
1653
|
}
|
|
1627
1654
|
}
|
|
1628
|
-
function
|
|
1629
|
-
return (t2) =>
|
|
1655
|
+
function sa(e6) {
|
|
1656
|
+
return (t2) => aa(t2, { httpClient: e6 });
|
|
1630
1657
|
}
|
|
1631
|
-
function
|
|
1632
|
-
return (t2, n2) =>
|
|
1658
|
+
function ca(e6) {
|
|
1659
|
+
return (t2, n2) => oa(t2, n2, { httpClient: e6 });
|
|
1633
1660
|
}
|
|
1634
|
-
function
|
|
1635
|
-
let t2 =
|
|
1661
|
+
function la(e6) {
|
|
1662
|
+
let t2 = wr({ builderQueryFunction: (t3) => sa(e6)(t3), typedQueryFunction: (t3, n3) => ca(e6)(t3, n3), hasOptionsParameter: true });
|
|
1636
1663
|
function n2(e7, n3) {
|
|
1637
1664
|
return t2(...arguments);
|
|
1638
1665
|
}
|
|
1639
1666
|
return n2;
|
|
1640
1667
|
}
|
|
1641
|
-
var
|
|
1642
|
-
var
|
|
1643
|
-
let { views: t2 } = await
|
|
1668
|
+
var ua = M(la);
|
|
1669
|
+
var da = async (e6) => {
|
|
1670
|
+
let { views: t2 } = await Zi(e6);
|
|
1644
1671
|
return t2;
|
|
1645
1672
|
};
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
}
|
|
1649
|
-
var ia = H(`@wix/site-service-editor-context`);
|
|
1650
|
-
var aa = () => {
|
|
1651
|
-
try {
|
|
1652
|
-
return !!m(ia).previewMode;
|
|
1653
|
-
} catch {
|
|
1654
|
-
return false;
|
|
1655
|
-
}
|
|
1656
|
-
};
|
|
1657
|
-
var oa = (e6) => {
|
|
1658
|
-
let t2 = aa();
|
|
1673
|
+
var fa = (e6) => {
|
|
1674
|
+
let t2 = Zn(), n2 = Kn();
|
|
1659
1675
|
l(() => {
|
|
1660
|
-
e6
|
|
1661
|
-
})
|
|
1662
|
-
}, [e6, t2]);
|
|
1676
|
+
!e6 || t2 || n2 || typeof navigator < `u` && navigator.webdriver || da(e6).catch(() => {
|
|
1677
|
+
});
|
|
1678
|
+
}, [e6, t2, n2]);
|
|
1663
1679
|
};
|
|
1664
|
-
var
|
|
1665
|
-
var ca = () => {
|
|
1680
|
+
var pa = () => {
|
|
1666
1681
|
try {
|
|
1667
|
-
return m(
|
|
1682
|
+
return m(Wn).SSR;
|
|
1668
1683
|
} catch {
|
|
1669
1684
|
return false;
|
|
1670
1685
|
}
|
|
1671
1686
|
};
|
|
1672
|
-
var
|
|
1673
|
-
function
|
|
1687
|
+
var ma = (e6, t2) => e6.length === t2.length && e6.every((e7, n2) => Object.is(e7, t2[n2]));
|
|
1688
|
+
function ha(e6, t2) {
|
|
1674
1689
|
let [n2, r2] = f(() => ({ deps: t2, value: e6() }));
|
|
1675
1690
|
return l(() => {
|
|
1676
|
-
if (
|
|
1691
|
+
if (ma(n2.deps, t2)) return;
|
|
1677
1692
|
let i2 = e6();
|
|
1678
1693
|
o(() => r2({ deps: t2, value: i2 }));
|
|
1679
1694
|
}, t2), n2.value;
|
|
1680
1695
|
}
|
|
1681
|
-
var
|
|
1682
|
-
var
|
|
1696
|
+
var ga = I(`@wix/viewer-service-site-members`);
|
|
1697
|
+
var _a = () => {
|
|
1683
1698
|
try {
|
|
1684
|
-
return m(
|
|
1699
|
+
return m(ga);
|
|
1685
1700
|
} catch {
|
|
1686
1701
|
return;
|
|
1687
1702
|
}
|
|
1688
1703
|
};
|
|
1689
|
-
var
|
|
1690
|
-
let n2 =
|
|
1704
|
+
var va = (e6, t2) => {
|
|
1705
|
+
let n2 = _a(), [r2, i2] = f(), a2 = !!e6.post?.preview;
|
|
1691
1706
|
return l(() => {
|
|
1692
1707
|
if (!a2) return;
|
|
1693
1708
|
let e7 = true, r3 = () => {
|
|
@@ -1705,18 +1720,18 @@ var pa = (e6, t2) => {
|
|
|
1705
1720
|
};
|
|
1706
1721
|
}, [a2, t2, n2]), u(() => a2 && r2 && r2._id === e6.post?._id ? { ...e6, post: r2, paywall: void 0 } : e6, [a2, r2, e6]);
|
|
1707
1722
|
};
|
|
1708
|
-
var U =
|
|
1709
|
-
var
|
|
1710
|
-
var
|
|
1711
|
-
var
|
|
1712
|
-
var
|
|
1713
|
-
var
|
|
1714
|
-
var
|
|
1723
|
+
var U = I(`@wix/site-service-url`);
|
|
1724
|
+
var ya = `14bcded7-0066-7c35-14d7-466cb3f09103`;
|
|
1725
|
+
var ba = `post`;
|
|
1726
|
+
var xa = `category`;
|
|
1727
|
+
var Sa = `builder-post`;
|
|
1728
|
+
var Ca = `__blog_unknown_section__`;
|
|
1729
|
+
var wa = (e6) => {
|
|
1715
1730
|
let t2;
|
|
1716
1731
|
try {
|
|
1717
|
-
let n3 = e6.appSectionRelativeUrl(
|
|
1718
|
-
if (n3 === e6.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`,
|
|
1719
|
-
t2 = e6.appSectionRelativeUrl(
|
|
1732
|
+
let n3 = e6.appSectionRelativeUrl(ya, Sa);
|
|
1733
|
+
if (n3 === e6.appSectionRelativeUrl(`14bcded7-0066-7c35-14d7-466cb3f09103`, Ca) && !n3?.endsWith(`/post-page`)) return;
|
|
1734
|
+
t2 = e6.appSectionRelativeUrl(ya, Sa, true);
|
|
1720
1735
|
} catch {
|
|
1721
1736
|
return;
|
|
1722
1737
|
}
|
|
@@ -1724,12 +1739,12 @@ var ya = (e6) => {
|
|
|
1724
1739
|
let n2 = t2.split(`/`).filter(Boolean);
|
|
1725
1740
|
return n2[n2.length - 1] === `post-page` && n2.pop(), n2.length > 0 ? n2.join(`/`) : void 0;
|
|
1726
1741
|
};
|
|
1727
|
-
var
|
|
1728
|
-
var
|
|
1729
|
-
let t2 =
|
|
1730
|
-
if (t2 && e6.siteUrl) return `${e6.siteUrl.replace(/\/+$/, ``)}/${
|
|
1742
|
+
var Ta = (e6) => `${e6}/${ba}`;
|
|
1743
|
+
var Ea = (e6) => {
|
|
1744
|
+
let t2 = wa(e6);
|
|
1745
|
+
if (t2 && e6.siteUrl) return `${e6.siteUrl.replace(/\/+$/, ``)}/${Ta(t2)}`;
|
|
1731
1746
|
};
|
|
1732
|
-
var
|
|
1747
|
+
var Da = (e6, t2) => {
|
|
1733
1748
|
if (!e6 || !t2) return;
|
|
1734
1749
|
let n2;
|
|
1735
1750
|
try {
|
|
@@ -1743,14 +1758,14 @@ var Sa = (e6, t2) => {
|
|
|
1743
1758
|
if (r2.endsWith(t3) && i2.endsWith(`/post`)) return `${n2.origin}${i2}`;
|
|
1744
1759
|
}
|
|
1745
1760
|
};
|
|
1746
|
-
var
|
|
1761
|
+
var Oa = (e6) => {
|
|
1747
1762
|
if (!e6) return;
|
|
1748
1763
|
if (typeof e6 == `string`) return e6;
|
|
1749
1764
|
let { base: t2, path: n2 } = e6;
|
|
1750
1765
|
return t2 ? `${t2.replace(/\/+$/, ``)}${n2 ?? ``}` : void 0;
|
|
1751
1766
|
};
|
|
1752
|
-
var
|
|
1753
|
-
let n2 =
|
|
1767
|
+
var ka = (e6, t2) => {
|
|
1768
|
+
let n2 = Oa(e6.url), r2 = `/${ba}`;
|
|
1754
1769
|
if (!n2 || !t2?.endsWith(r2)) return;
|
|
1755
1770
|
let i2, a2;
|
|
1756
1771
|
try {
|
|
@@ -1761,34 +1776,34 @@ var wa = (e6, t2) => {
|
|
|
1761
1776
|
let o2 = a2.slice(0, -r2.length);
|
|
1762
1777
|
return o2 && i2.startsWith(`${o2}/`) && !i2.startsWith(`${a2}/`) ? n2 : void 0;
|
|
1763
1778
|
};
|
|
1764
|
-
var
|
|
1765
|
-
let n2 =
|
|
1779
|
+
var Aa = (e6, t2) => {
|
|
1780
|
+
let n2 = ka(e6, t2);
|
|
1766
1781
|
if (n2) return { href: n2, target: `_self` };
|
|
1767
1782
|
if (t2 && e6.slug) return { href: `${t2}/${encodeURIComponent(e6.slug)}`, target: `_self` };
|
|
1768
|
-
let r2 =
|
|
1783
|
+
let r2 = Oa(e6.url);
|
|
1769
1784
|
return r2 ? { href: r2, target: `_self` } : void 0;
|
|
1770
1785
|
};
|
|
1771
|
-
var
|
|
1772
|
-
let n2 =
|
|
1786
|
+
var ja = (e6, t2) => {
|
|
1787
|
+
let n2 = wa(e6);
|
|
1773
1788
|
if (n2 && e6.siteUrl) return `${e6.siteUrl.replace(/\/+$/, ``)}/${n2}/${t2}`;
|
|
1774
1789
|
};
|
|
1775
|
-
var
|
|
1790
|
+
var Ma = (e6) => {
|
|
1776
1791
|
let t2;
|
|
1777
1792
|
try {
|
|
1778
1793
|
t2 = m(U);
|
|
1779
1794
|
} catch {
|
|
1780
1795
|
return;
|
|
1781
1796
|
}
|
|
1782
|
-
return
|
|
1797
|
+
return Ea(t2) ?? Da(t2.currentUrl, e6);
|
|
1783
1798
|
};
|
|
1784
|
-
var
|
|
1785
|
-
var
|
|
1799
|
+
var Na = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
1800
|
+
var Pa = (e6) => {
|
|
1786
1801
|
let t2 = e6.split(`/`).filter(Boolean);
|
|
1787
1802
|
if (t2.length < 3) return;
|
|
1788
1803
|
let [n2, r2, i2] = t2.slice(-3);
|
|
1789
|
-
if (r2 === `preview` &&
|
|
1804
|
+
if (r2 === `preview` && Na.test(n2) && i2) return { draftPostId: n2, instance: i2 };
|
|
1790
1805
|
};
|
|
1791
|
-
var
|
|
1806
|
+
var Fa = () => {
|
|
1792
1807
|
let e6;
|
|
1793
1808
|
try {
|
|
1794
1809
|
e6 = m(U).currentUrl;
|
|
@@ -1796,12 +1811,12 @@ var Aa = () => {
|
|
|
1796
1811
|
return;
|
|
1797
1812
|
}
|
|
1798
1813
|
if (e6) try {
|
|
1799
|
-
return
|
|
1814
|
+
return Pa(new URL(e6).pathname);
|
|
1800
1815
|
} catch {
|
|
1801
1816
|
return;
|
|
1802
1817
|
}
|
|
1803
1818
|
};
|
|
1804
|
-
var
|
|
1819
|
+
var Ia = (e6, t2) => {
|
|
1805
1820
|
let n2;
|
|
1806
1821
|
try {
|
|
1807
1822
|
n2 = new URL(e6).pathname.split(`/`).filter(Boolean);
|
|
@@ -1821,7 +1836,7 @@ var ja = (e6, t2) => {
|
|
|
1821
1836
|
return i2;
|
|
1822
1837
|
}
|
|
1823
1838
|
};
|
|
1824
|
-
var
|
|
1839
|
+
var La = () => {
|
|
1825
1840
|
let e6;
|
|
1826
1841
|
try {
|
|
1827
1842
|
e6 = m(U);
|
|
@@ -1829,92 +1844,92 @@ var Ma = () => {
|
|
|
1829
1844
|
return;
|
|
1830
1845
|
}
|
|
1831
1846
|
if (!e6.currentUrl) return;
|
|
1832
|
-
let t2 =
|
|
1833
|
-
return
|
|
1847
|
+
let t2 = wa(e6);
|
|
1848
|
+
return Ia(e6.currentUrl, t2 && Ta(t2));
|
|
1834
1849
|
};
|
|
1835
|
-
var
|
|
1836
|
-
var
|
|
1837
|
-
var
|
|
1850
|
+
var Ra = { categoryHeader: `WixBlog.CategoryHeader`, coverMedia: `WixBlog.PostCoverMedia`, postActions: `WixBlog.PostActionBar`, postCategories: `WixBlog.PostCategoryList`, postCounters: `WixBlog.PostCounterBar`, postMetadata: `WixBlog.PostMetadataBar`, postTags: `WixBlog.PostTagList`, feedProvider: `WixBlog.BlogFeedContextProvider`, postBySlugProvider: `WixBlog.PostBySlugContextProvider`, postByIdProvider: `WixBlog.PostByIdContextProvider`, relatedPostsProvider: `WixBlog.RelatedPostsContextProvider` };
|
|
1851
|
+
var za = (e6) => `${e6} rendered`;
|
|
1852
|
+
var Ba = (e6, t2, n2) => {
|
|
1838
1853
|
l(() => {
|
|
1839
1854
|
if (t2 !== `loading` && typeof performance < `u` && typeof performance.mark == `function`) try {
|
|
1840
|
-
performance.mark(
|
|
1855
|
+
performance.mark(za(e6), { detail: { state: t2, compId: n2 } });
|
|
1841
1856
|
} catch {
|
|
1842
1857
|
}
|
|
1843
1858
|
}, [e6, t2, n2]);
|
|
1844
1859
|
};
|
|
1845
|
-
var
|
|
1846
|
-
var
|
|
1847
|
-
var
|
|
1848
|
-
var
|
|
1860
|
+
var Va = I(`seo/seo-service`);
|
|
1861
|
+
var Ha = I(`@wix/viewer-service-multilingual`);
|
|
1862
|
+
var Ua = { post: `post`, feed: `feed`, relatedPosts: `related-posts`, comments: `comments`, seo: `seo`, likes: `likes` };
|
|
1863
|
+
var Wa = (e6) => {
|
|
1849
1864
|
try {
|
|
1850
1865
|
return e6.getMonitoringClient?.() ?? null;
|
|
1851
1866
|
} catch {
|
|
1852
1867
|
return null;
|
|
1853
1868
|
}
|
|
1854
1869
|
};
|
|
1855
|
-
var
|
|
1856
|
-
function
|
|
1857
|
-
let s2 =
|
|
1870
|
+
var Ga = (e6, t2) => e6 && typeof e6[t2] == `function` ? e6 : null;
|
|
1871
|
+
function Ka(e6, t2, { feature: n2, action: r2, level: i2 = `error`, tags: a2, contexts: o2 }) {
|
|
1872
|
+
let s2 = Ga(e6, `captureException`);
|
|
1858
1873
|
if (!s2) return;
|
|
1859
1874
|
let c2 = t2 instanceof Error ? t2 : Error(String(t2));
|
|
1860
1875
|
s2.captureException(c2, { level: i2, tags: { feature: n2, action: r2, ...a2 }, ...o2 ? { contexts: o2 } : {} });
|
|
1861
1876
|
}
|
|
1862
|
-
function
|
|
1863
|
-
let a2 =
|
|
1877
|
+
function qa(e6, t2, { feature: n2, tags: r2 }, i2) {
|
|
1878
|
+
let a2 = Ga(e6, `startSpanManual`);
|
|
1864
1879
|
if (!a2) return i2;
|
|
1865
1880
|
let o2 = a2.startSpanManual({ name: t2, tags: { feature: n2, ...r2 } });
|
|
1866
1881
|
return i2.then(() => o2.end(), (e7) => o2.fail(e7 instanceof Error ? e7 : Error(String(e7)))), i2;
|
|
1867
1882
|
}
|
|
1868
|
-
var
|
|
1869
|
-
var
|
|
1870
|
-
var
|
|
1883
|
+
var Ja = `https://static.wixstatic.com/media/`;
|
|
1884
|
+
var Ya = 100;
|
|
1885
|
+
var Xa = (e6, t2 = ``) => {
|
|
1871
1886
|
let n2 = e6?.profile?.photo;
|
|
1872
1887
|
if (!n2?.url) return;
|
|
1873
|
-
let r2 = e6?.profile?.nickname, { _id: i2 } = n2, a2 = i2 || (n2.url.startsWith(
|
|
1874
|
-
return { ...a2 && { uri: a2 }, url: n2.url, name: r2 ?? a2 ?? `author-photo`, width: n2.width ||
|
|
1875
|
-
};
|
|
1876
|
-
var
|
|
1877
|
-
var
|
|
1878
|
-
var
|
|
1879
|
-
var
|
|
1880
|
-
var
|
|
1888
|
+
let r2 = e6?.profile?.nickname, { _id: i2 } = n2, a2 = i2 || (n2.url.startsWith(Ja) ? n2.url.slice(35).split(/[?#]/)[0] : void 0);
|
|
1889
|
+
return { ...a2 && { uri: a2 }, url: n2.url, name: r2 ?? a2 ?? `author-photo`, width: n2.width || Ya, height: n2.height || Ya, alt: r2 ?? t2 };
|
|
1890
|
+
};
|
|
1891
|
+
var Za = `https://static.wixstatic.com/media/`;
|
|
1892
|
+
var Qa = `wix:image://`;
|
|
1893
|
+
var $a = 1200;
|
|
1894
|
+
var eo = 800;
|
|
1895
|
+
var to = (e6) => {
|
|
1881
1896
|
if (!e6) return;
|
|
1882
1897
|
let t2 = Number.parseInt(e6, 10);
|
|
1883
1898
|
return Number.isFinite(t2) && t2 > 0 ? t2 : void 0;
|
|
1884
1899
|
};
|
|
1885
|
-
var
|
|
1886
|
-
if (!e6.startsWith(
|
|
1900
|
+
var no = (e6) => {
|
|
1901
|
+
if (!e6.startsWith(Qa)) {
|
|
1887
1902
|
let t3 = e6.split(/[?#]/)[0];
|
|
1888
1903
|
return t3 ? { uri: t3 } : void 0;
|
|
1889
1904
|
}
|
|
1890
1905
|
let [t2, n2] = e6.slice(12).split(`#`), [, r2, i2] = t2.split(`/`).filter(Boolean);
|
|
1891
1906
|
if (!r2) return;
|
|
1892
1907
|
let a2 = new URLSearchParams(n2 ?? ``);
|
|
1893
|
-
return { uri: decodeURIComponent(r2), name: i2 ? decodeURIComponent(i2) : void 0, width:
|
|
1908
|
+
return { uri: decodeURIComponent(r2), name: i2 ? decodeURIComponent(i2) : void 0, width: to(a2.get(`originWidth`)), height: to(a2.get(`originHeight`)) };
|
|
1894
1909
|
};
|
|
1895
|
-
var
|
|
1910
|
+
var ro = (e6, t2) => {
|
|
1896
1911
|
if (!e6) return;
|
|
1897
|
-
let n2 =
|
|
1912
|
+
let n2 = no(e6);
|
|
1898
1913
|
if (!n2) return;
|
|
1899
1914
|
let r2 = n2.name ?? n2.uri;
|
|
1900
|
-
return { uri: n2.uri, url: `${
|
|
1915
|
+
return { uri: n2.uri, url: `${Za}${n2.uri}`, name: r2, width: n2.width ?? $a, height: n2.height ?? eo, alt: t2 ?? r2 };
|
|
1901
1916
|
};
|
|
1902
|
-
var
|
|
1917
|
+
var io = (e6) => {
|
|
1903
1918
|
let t2 = e6?.media?.wixMedia?.image;
|
|
1904
1919
|
if (!t2) return;
|
|
1905
|
-
let n2 =
|
|
1920
|
+
let n2 = no(t2);
|
|
1906
1921
|
if (!n2) return;
|
|
1907
1922
|
let r2 = n2.name ?? n2.uri;
|
|
1908
|
-
return { uri: n2.uri, url: `${
|
|
1923
|
+
return { uri: n2.uri, url: `${Za}${n2.uri}`, name: r2, width: n2.width ?? $a, height: n2.height ?? eo, alt: e6?.media?.altText ?? e6?.title ?? r2 };
|
|
1909
1924
|
};
|
|
1910
|
-
var
|
|
1911
|
-
var
|
|
1912
|
-
var
|
|
1913
|
-
let t2 =
|
|
1925
|
+
var ao = (e6) => (e6?.tags ?? []).filter((e7) => !e7.disabled);
|
|
1926
|
+
var oo = (e6) => ao(e6).find((e7) => e7.type === `title`)?.children || void 0;
|
|
1927
|
+
var so = (e6) => {
|
|
1928
|
+
let t2 = ao(e6).find((e7) => e7.type === `meta` && e7.props?.name === `description`)?.props?.content;
|
|
1914
1929
|
return typeof t2 == `string` && t2 ? t2 : void 0;
|
|
1915
1930
|
};
|
|
1916
|
-
var
|
|
1917
|
-
var
|
|
1931
|
+
var co = (e6, t2 = []) => (e6.translations ?? []).flatMap(({ language: e7, url: n2 }) => !e7 || !n2 ? [] : [{ url: n2, langCode: (t2.find(({ id: t3 }) => t3 === e7) ?? t2.find(({ languageCode: t3 }) => t3 === e7))?.regionalFormat || e7 }]);
|
|
1932
|
+
var lo = (e6, t2) => {
|
|
1918
1933
|
try {
|
|
1919
1934
|
let n2 = new URL(t2 ?? ``).searchParams.get(`lang`);
|
|
1920
1935
|
if (!n2) return e6;
|
|
@@ -1924,79 +1939,64 @@ var io = (e6, t2) => {
|
|
|
1924
1939
|
return e6;
|
|
1925
1940
|
}
|
|
1926
1941
|
};
|
|
1927
|
-
var
|
|
1928
|
-
var
|
|
1929
|
-
var
|
|
1930
|
-
var
|
|
1942
|
+
var uo = 500;
|
|
1943
|
+
var fo = `max-snippet:-1, max-image-preview:large, max-video-preview:-1`;
|
|
1944
|
+
var po = 1e3;
|
|
1945
|
+
var mo = (e6, t2) => {
|
|
1931
1946
|
if (!e6 || !t2) return { width: e6, height: t2 };
|
|
1932
|
-
let n2 = Math.min(1,
|
|
1947
|
+
let n2 = Math.min(1, po / e6, po / t2);
|
|
1933
1948
|
return { width: Math.round(e6 * n2), height: Math.round(t2 * n2) };
|
|
1934
1949
|
};
|
|
1935
|
-
var
|
|
1950
|
+
var ho = (e6) => {
|
|
1936
1951
|
if (!e6) return;
|
|
1937
1952
|
let t2 = new Date(e6);
|
|
1938
1953
|
return Number.isNaN(t2.getTime()) ? void 0 : t2.toISOString();
|
|
1939
1954
|
};
|
|
1940
|
-
var
|
|
1941
|
-
var
|
|
1942
|
-
var
|
|
1943
|
-
let { _id: o2 } = e6, s2 = r2.flatMap((e7) => e7.label ? [e7.label] : []), c2 =
|
|
1944
|
-
return { post: { id: o2, title:
|
|
1955
|
+
var go = (e6) => (so(e6.seoData) || e6.excerpt || e6.contentText || void 0)?.slice(0, uo);
|
|
1956
|
+
var _o = (e6, t2) => ka(e6, t2) || (t2 && e6.slug ? `${t2}/${encodeURIComponent(e6.slug)}` : e6.url || void 0);
|
|
1957
|
+
var vo = (e6, t2, n2, r2 = [], i2, a2) => {
|
|
1958
|
+
let { _id: o2 } = e6, s2 = r2.flatMap((e7) => e7.label ? [e7.label] : []), c2 = _o(e6, n2), l2 = c2 && lo(c2, a2), u2 = e6.media?.displayed ? io(e6) : void 0, d2 = Xa(t2)?.url;
|
|
1959
|
+
return { post: { id: o2, title: oo(e6.seoData) || e6.title, language: e6.language ?? void 0, description: go(e6), type: `article`, canonicalUrl: l2, optInMeta: fo, slug: e6.slug, excerpt: e6.excerpt, firstPublishedDate: ho(e6.firstPublishedDate), lastPublishedDate: ho(e6.lastPublishedDate), owner: { name: t2?.profile?.nickname ?? void 0, ...d2 && { image: { url: d2 } } }, ...s2.length && { categories: s2.join(`, `), mainCategory: s2[0] }, path: l2, ...u2 && { image: { url: u2.url, ...mo(u2.width, u2.height) } } }, postsSettings: { isAmpEnabled: false, isSchemaEnabled: true }, translatedPages: co(e6, i2) };
|
|
1945
1960
|
};
|
|
1946
|
-
var
|
|
1947
|
-
var
|
|
1961
|
+
var yo = /* @__PURE__ */ new WeakSet();
|
|
1962
|
+
var bo = ({ post: e6, author: t2, categories: n2 }, r2 = false, i2) => {
|
|
1948
1963
|
let a2;
|
|
1949
1964
|
try {
|
|
1950
|
-
a2 = { seo: m(
|
|
1965
|
+
a2 = { seo: m(Va), url: m(U), renderingContext: m(Wn) };
|
|
1951
1966
|
} catch {
|
|
1952
1967
|
return;
|
|
1953
1968
|
}
|
|
1954
1969
|
let o2;
|
|
1955
1970
|
try {
|
|
1956
|
-
o2 = m(
|
|
1971
|
+
o2 = m(Ha).locales;
|
|
1957
1972
|
} catch {
|
|
1958
1973
|
}
|
|
1959
1974
|
let { _id: s2 } = e6 ?? {};
|
|
1960
|
-
if (!r2 && e6 && s2 && !
|
|
1961
|
-
|
|
1962
|
-
let r3 =
|
|
1963
|
-
a2.seo.setSeoEntity({ itemType: `BLOG_POST`, itemData:
|
|
1964
|
-
|
|
1975
|
+
if (!r2 && e6 && s2 && !yo.has(e6) && a2.renderingContext.SSR) {
|
|
1976
|
+
yo.add(e6);
|
|
1977
|
+
let r3 = Ea(a2.url) ?? Da(a2.url.currentUrl, e6.slug);
|
|
1978
|
+
a2.seo.setSeoEntity({ itemType: `BLOG_POST`, itemData: vo({ ...e6, _id: s2 }, t2, r3, n2, o2, a2.url.currentUrl), seoData: e6.seoData }).catch((e7) => {
|
|
1979
|
+
Ka(i2, e7, { feature: Ua.seo, action: `set-post-seo-entity`, contexts: { seo: { postId: s2 } } });
|
|
1965
1980
|
});
|
|
1966
1981
|
}
|
|
1967
1982
|
};
|
|
1968
|
-
var
|
|
1969
|
-
var
|
|
1970
|
-
var
|
|
1983
|
+
var xo = I(`@wix/site-service-locale`);
|
|
1984
|
+
var So = I(`@wix/site-service-renderer-configuration`);
|
|
1985
|
+
var Co = () => {
|
|
1971
1986
|
let e6, t2;
|
|
1972
1987
|
try {
|
|
1973
|
-
e6 = m(
|
|
1988
|
+
e6 = m(So).languageCode;
|
|
1974
1989
|
} catch {
|
|
1975
1990
|
}
|
|
1976
1991
|
try {
|
|
1977
|
-
t2 = m(
|
|
1992
|
+
t2 = m(xo).language;
|
|
1978
1993
|
} catch {
|
|
1979
1994
|
}
|
|
1980
1995
|
return e6 || t2;
|
|
1981
1996
|
};
|
|
1982
|
-
var yo = i({ isEditor: false, isPreview: false });
|
|
1983
|
-
var bo = () => c(yo);
|
|
1984
|
-
var xo = ({ isEditor: e6, isPreview: t2 }) => e6 && !t2;
|
|
1985
|
-
var So = () => {
|
|
1986
|
-
try {
|
|
1987
|
-
let { SSR: e6, SEO: t2 } = m(sa);
|
|
1988
|
-
return e6 || t2;
|
|
1989
|
-
} catch {
|
|
1990
|
-
return false;
|
|
1991
|
-
}
|
|
1992
|
-
};
|
|
1993
|
-
var Co = () => {
|
|
1994
|
-
let e6 = So();
|
|
1995
|
-
return xo(bo()) && !e6;
|
|
1996
|
-
};
|
|
1997
1997
|
var wo = `wix.blog.v4.post`;
|
|
1998
1998
|
var To = async (e6, t2) => {
|
|
1999
|
-
let n2 = await
|
|
1999
|
+
let n2 = await ar({ postFqdn: wo, postId: e6 }, t2 ? { language: t2 } : void 0);
|
|
2000
2000
|
if (typeof n2 != `object` || !n2) throw Error(`No Wix SDK context for the post paywall read`);
|
|
2001
2001
|
let { richContent: r2 } = n2;
|
|
2002
2002
|
return D(r2);
|
|
@@ -2046,7 +2046,7 @@ var No = (e6, t2) => {
|
|
|
2046
2046
|
if (r2.length !== 0) return r2[r2.length - 1] = encodeURIComponent(t2), n2.pathname = `/${r2.join(`/`)}`, n2.toString();
|
|
2047
2047
|
};
|
|
2048
2048
|
var Po = (e6, t2, n2) => {
|
|
2049
|
-
let r2 = jo(), i2 =
|
|
2049
|
+
let r2 = jo(), i2 = Zn(), a2 = Kn(), { language: o2, translationId: s2 } = e6 ?? {}, c2 = !!(t2 && s2 && o2 && o2 !== t2);
|
|
2050
2050
|
l(() => {
|
|
2051
2051
|
if (!c2 || !t2 || !s2 || !r2 || i2 || a2) return;
|
|
2052
2052
|
let e7 = false;
|
|
@@ -2058,9 +2058,9 @@ var Po = (e6, t2, n2) => {
|
|
|
2058
2058
|
};
|
|
2059
2059
|
}, [c2, t2, s2, r2, i2, a2, n2]);
|
|
2060
2060
|
};
|
|
2061
|
-
var Fo =
|
|
2061
|
+
var Fo = I(`@wix/site-service-warmup-data`);
|
|
2062
2062
|
function Io() {
|
|
2063
|
-
let e6 =
|
|
2063
|
+
let e6 = pa(), t2 = null;
|
|
2064
2064
|
try {
|
|
2065
2065
|
t2 = p()(Fo);
|
|
2066
2066
|
} catch {
|
|
@@ -4391,14 +4391,14 @@ function lu(e6) {
|
|
|
4391
4391
|
return t2 || (t2 = iu(e6).finally(() => cu.delete(e6)), cu.set(e6, t2)), t2;
|
|
4392
4392
|
}
|
|
4393
4393
|
function uu({ i18n: e6, locale: t2 }) {
|
|
4394
|
-
let n2 =
|
|
4394
|
+
let n2 = pa(), r2 = Io();
|
|
4395
4395
|
if (!n2) return null;
|
|
4396
4396
|
if (!e6.isInitialized || !e6.hasLoadedNamespace(`translation`)) throw lu(e6);
|
|
4397
4397
|
let i2 = au(e6, t2);
|
|
4398
4398
|
return i2 && r2.set($l, { locale: t2, messages: i2 }), null;
|
|
4399
4399
|
}
|
|
4400
4400
|
function du(e6) {
|
|
4401
|
-
let t2 =
|
|
4401
|
+
let t2 = Co(), n2 = tu()?.locale ?? t2 ?? `en`;
|
|
4402
4402
|
return { i18n: ru(n2, e6), locale: n2 };
|
|
4403
4403
|
}
|
|
4404
4404
|
var fu = y({ default: () => pu });
|
|
@@ -4412,7 +4412,7 @@ var vu = (e6, t2) => {
|
|
|
4412
4412
|
return n2 ? Promise.resolve(n2) : Promise.reject(Error(`no messages file`));
|
|
4413
4413
|
};
|
|
4414
4414
|
var yu = zo({ isDev: false, loadMessages: (e6) => vu(e6, ``), loadDevMessages: (e6) => vu(e6, `.dev`) });
|
|
4415
|
-
var bu = (e6) => O(A(e6, [{ transformFn:
|
|
4415
|
+
var bu = (e6) => O(A(e6, [{ transformFn: B, paths: [{ path: `posts.url` }, { path: `posts.translations.url` }] }, { transformFn: z, paths: [{ path: `posts.heroImage` }, { path: `posts.media.wixMedia.image` }] }, { transformFn: V, paths: [{ path: `posts.media.wixMedia.videoV2` }] }]), [`posts.richContent`, `posts.rich_content`]).posts ?? [];
|
|
4416
4416
|
var xu = `https://blog.wixsite.com/blog-demo-posts`;
|
|
4417
4417
|
var Su = M((e6) => async (t2) => {
|
|
4418
4418
|
let n2 = await e6.fetchWithAuth(`${globalThis.location.origin}/_serverless/blog-demo-posts/v3/demo-posts?${N(t2)}`);
|
|
@@ -4512,9 +4512,9 @@ var Gu = (e6, t2, n2) => {
|
|
|
4512
4512
|
});
|
|
4513
4513
|
return Promise.race([e6, i2]).finally(() => clearTimeout(r2));
|
|
4514
4514
|
};
|
|
4515
|
-
var Ku = [
|
|
4516
|
-
var qu = [
|
|
4517
|
-
|
|
4515
|
+
var Ku = [H.RICH_CONTENT, H.SEO, H.URL, H.CONTENT_TEXT, `TRANSLATIONS`];
|
|
4516
|
+
var qu = [H.RICH_CONTENT, H.URL];
|
|
4517
|
+
H.URL, H.METRICS;
|
|
4518
4518
|
var Ju = (e6) => {
|
|
4519
4519
|
let { status: t2, details: n2 } = e6 ?? {};
|
|
4520
4520
|
return t2 === 404 || String(n2?.applicationError?.code ?? ``).includes(`NOT_FOUND`);
|
|
@@ -4525,13 +4525,13 @@ var Yu = (e6, t2) => {
|
|
|
4525
4525
|
var Xu = (e6) => Uu(e6.filter((e7) => e7.media?.wixMedia?.videoV2).map(({ _id: e7 }) => e7).filter((e7) => !!e7));
|
|
4526
4526
|
var Zu = async (e6, t2, n2 = false, r2) => {
|
|
4527
4527
|
try {
|
|
4528
|
-
let { post: n3 } = await
|
|
4528
|
+
let { post: n3 } = await Ji(e6, { ...t2 && { fieldsets: t2 }, ...r2 && { language: r2 } });
|
|
4529
4529
|
if (n3) return n3;
|
|
4530
4530
|
} catch (e7) {
|
|
4531
4531
|
Yu(e7, n2);
|
|
4532
4532
|
}
|
|
4533
4533
|
try {
|
|
4534
|
-
let { items: n3 } = await
|
|
4534
|
+
let { items: n3 } = await Qi(t2 ? { fieldsets: t2 } : void 0).eq(`slug`, e6).limit(1).find();
|
|
4535
4535
|
return n3[0];
|
|
4536
4536
|
} catch (e7) {
|
|
4537
4537
|
Yu(e7, n2);
|
|
@@ -4541,7 +4541,7 @@ var Zu = async (e6, t2, n2 = false, r2) => {
|
|
|
4541
4541
|
var Qu = async (e6, t2 = false, n2) => {
|
|
4542
4542
|
try {
|
|
4543
4543
|
let t3 = async (t4) => {
|
|
4544
|
-
let { posts: r2 } = await
|
|
4544
|
+
let { posts: r2 } = await Yi({ paging: { limit: 1 }, ...e6 && { fieldsets: e6 }, ...t4 && n2 && { language: n2 } });
|
|
4545
4545
|
return r2?.[0];
|
|
4546
4546
|
};
|
|
4547
4547
|
return await t3(true) ?? (n2 ? await t3(false) : void 0);
|
|
@@ -4553,7 +4553,7 @@ var Qu = async (e6, t2 = false, n2) => {
|
|
|
4553
4553
|
var $u = async (e6, t2 = false, n2) => (e6 ? await Zu(e6, Ku, t2, n2) : void 0) ?? await Qu(Ku, t2, n2);
|
|
4554
4554
|
var ed = async (e6) => {
|
|
4555
4555
|
try {
|
|
4556
|
-
let { metrics: t2 } = await
|
|
4556
|
+
let { metrics: t2 } = await Xi(e6);
|
|
4557
4557
|
return t2;
|
|
4558
4558
|
} catch {
|
|
4559
4559
|
return;
|
|
@@ -4562,7 +4562,7 @@ var ed = async (e6) => {
|
|
|
4562
4562
|
var td = 100;
|
|
4563
4563
|
var nd = async () => {
|
|
4564
4564
|
try {
|
|
4565
|
-
let { categories: e6 } = await
|
|
4565
|
+
let { categories: e6 } = await ti({ paging: { limit: td } });
|
|
4566
4566
|
return e6 ?? [];
|
|
4567
4567
|
} catch {
|
|
4568
4568
|
return [];
|
|
@@ -4578,7 +4578,7 @@ var id = 30;
|
|
|
4578
4578
|
var ad = async (e6) => {
|
|
4579
4579
|
if (!e6?.length) return [];
|
|
4580
4580
|
try {
|
|
4581
|
-
let { items: t2 } = await
|
|
4581
|
+
let { items: t2 } = await ua().in(`_id`, e6).limit(id).find();
|
|
4582
4582
|
return t2 ?? [];
|
|
4583
4583
|
} catch {
|
|
4584
4584
|
return [];
|
|
@@ -4607,7 +4607,7 @@ var fd = (e6) => {
|
|
|
4607
4607
|
};
|
|
4608
4608
|
var pd = async (e6, t2) => {
|
|
4609
4609
|
try {
|
|
4610
|
-
let { items: n2 } = await
|
|
4610
|
+
let { items: n2 } = await Qi().eq(`translationId`, e6).eq(`language`, t2).limit(1).find();
|
|
4611
4611
|
return n2[0]?.slug ?? void 0;
|
|
4612
4612
|
} catch {
|
|
4613
4613
|
return;
|
|
@@ -4646,7 +4646,7 @@ var md = class extends n {
|
|
|
4646
4646
|
return { error: e6 ?? Error(`Unknown render error`) };
|
|
4647
4647
|
}
|
|
4648
4648
|
componentDidCatch(e6, t2) {
|
|
4649
|
-
|
|
4649
|
+
Ka(this.props.monitoringClient, e6, { feature: this.props.feature, action: `render`, tags: this.props.component ? { component: this.props.component } : void 0, contexts: { react: { componentStack: t2.componentStack } } });
|
|
4650
4650
|
}
|
|
4651
4651
|
render() {
|
|
4652
4652
|
if (this.state.error === void 0) return this.props.children;
|
|
@@ -4656,10 +4656,10 @@ var md = class extends n {
|
|
|
4656
4656
|
};
|
|
4657
4657
|
var hd = (e6) => e6.then((e7) => ({ ...e7, fetchedAt: Date.now() }));
|
|
4658
4658
|
var gd = { post: void 0, author: void 0, metrics: void 0, categories: [], tags: [] };
|
|
4659
|
-
var _d = [
|
|
4659
|
+
var _d = [ui.RICH_CONTENT, ui.GENERATED_EXCERPT];
|
|
4660
4660
|
var vd = M((e6) => () => e6.fetchWithAuth);
|
|
4661
4661
|
var yd = (e6) => e6 ? vd() : (...e7) => globalThis.fetch(...e7);
|
|
4662
|
-
var bd = (e6, t2) => Ye({ modules: { draftPosts: { getDraftPost:
|
|
4662
|
+
var bd = (e6, t2) => Ye({ modules: { draftPosts: { getDraftPost: pi } }, auth: { getAuthHeaders: () => ({ headers: { authorization: e6 } }) }, fetch: yd(t2) });
|
|
4663
4663
|
var xd = (e6) => {
|
|
4664
4664
|
let { _id: t2, title: n2, excerpt: r2, seoSlug: i2, memberId: a2, minutesToRead: o2, categoryIds: s2, tagIds: c2, firstPublishedDate: l2, richContent: u2, media: d2 } = e6 ?? {};
|
|
4665
4665
|
if (t2) return { _id: t2, title: n2, excerpt: r2 ?? void 0, slug: i2 ?? void 0, memberId: a2 ?? void 0, minutesToRead: o2, categoryIds: s2, tagIds: c2, firstPublishedDate: l2 ?? void 0, richContent: u2, ...d2 && { media: d2 } };
|
|
@@ -4684,7 +4684,7 @@ var Ed = (e6) => {
|
|
|
4684
4684
|
} catch {
|
|
4685
4685
|
return;
|
|
4686
4686
|
}
|
|
4687
|
-
return
|
|
4687
|
+
return ja(t2, e6);
|
|
4688
4688
|
};
|
|
4689
4689
|
var Dd = 1e4;
|
|
4690
4690
|
function Od(e6) {
|
|
@@ -4696,14 +4696,14 @@ function Od(e6) {
|
|
|
4696
4696
|
}
|
|
4697
4697
|
var kd = `wix.blog.v3.post`;
|
|
4698
4698
|
var Ad = async (e6) => {
|
|
4699
|
-
await
|
|
4699
|
+
await Ur({ like: { entityId: e6, fqdn: kd } });
|
|
4700
4700
|
};
|
|
4701
4701
|
var jd = async (e6) => {
|
|
4702
|
-
await
|
|
4702
|
+
await Wr({ fqdn: kd, entityId: e6 });
|
|
4703
4703
|
};
|
|
4704
4704
|
var Md = (e6) => typeof e6 == `number` ? e6 : void 0;
|
|
4705
4705
|
var Nd = async (e6) => {
|
|
4706
|
-
let [t2, n2] = await Promise.allSettled([
|
|
4706
|
+
let [t2, n2] = await Promise.allSettled([Gr().eq(`fqdn`, kd).eq(`entityId`, e6).limit(1).find(), Xi(e6)]), r2 = n2.status === `fulfilled` ? n2.value.metrics : void 0;
|
|
4707
4707
|
return { liked: t2.status === `fulfilled` && t2.value.items.length > 0, likeCount: Md(r2?.likes), viewCount: Md(r2?.views), commentCount: Md(r2?.comments) };
|
|
4708
4708
|
};
|
|
4709
4709
|
var Pd = { liked: false, baselineLiked: false, freshLikeCount: void 0, viewCount: void 0, commentCount: void 0, isLikeCountLoaded: false };
|
|
@@ -4717,7 +4717,7 @@ var Ld = (e6) => {
|
|
|
4717
4717
|
};
|
|
4718
4718
|
var Rd = (e6, t2) => ({ isLiked: e6.liked, likeCount: Math.max(0, (e6.freshLikeCount ?? t2) + Number(e6.liked) - Number(e6.baselineLiked)), isLikeCountLoaded: e6.isLikeCountLoaded, viewCount: e6.viewCount, commentCount: e6.commentCount });
|
|
4719
4719
|
var zd = (e6, t2, n2 = false, r2) => {
|
|
4720
|
-
let i2 =
|
|
4720
|
+
let i2 = Kn() || n2, [a2, c2] = f(Pd), p2 = d(Pd), m2 = d(t2), h2 = d(/* @__PURE__ */ new Set()), g2 = d(false), _2 = d(false), v2 = d(void 0), y2 = _a(), [b2, x2] = f(0);
|
|
4721
4721
|
l(() => {
|
|
4722
4722
|
let e7 = y2?.addMemberLoginListener?.(() => {
|
|
4723
4723
|
Id().clear(), x2((e8) => e8 + 1);
|
|
@@ -4743,7 +4743,7 @@ var zd = (e6, t2, n2 = false, r2) => {
|
|
|
4743
4743
|
return Nd(e6).then(({ liked: e7, likeCount: n3, viewCount: r3, commentCount: i3 }) => {
|
|
4744
4744
|
t3 || S2({ isLikeCountLoaded: true, viewCount: r3, commentCount: i3, baselineLiked: e7, freshLikeCount: n3, ...!_2.current && { liked: e7 } });
|
|
4745
4745
|
}).catch((n3) => {
|
|
4746
|
-
t3 || S2({ isLikeCountLoaded: true }),
|
|
4746
|
+
t3 || S2({ isLikeCountLoaded: true }), Ka(r2, n3, { feature: Ua.likes, action: `read-like-state`, level: `warning`, contexts: { likes: { postId: e6 } } });
|
|
4747
4747
|
}), () => {
|
|
4748
4748
|
t3 = true;
|
|
4749
4749
|
};
|
|
@@ -4768,7 +4768,7 @@ var zd = (e6, t2, n2 = false, r2) => {
|
|
|
4768
4768
|
try {
|
|
4769
4769
|
await (n3 ? Ad(e6) : jd(e6));
|
|
4770
4770
|
} catch (t4) {
|
|
4771
|
-
S2({ liked: !n3 }), Ld({ postId: e6, liked: !n3 }),
|
|
4771
|
+
S2({ liked: !n3 }), Ld({ postId: e6, liked: !n3 }), Ka(r2, t4, { feature: Ua.likes, action: n3 ? `like-post` : `unlike-post`, contexts: { likes: { postId: e6 } } });
|
|
4772
4772
|
} finally {
|
|
4773
4773
|
g2.current = false;
|
|
4774
4774
|
}
|
|
@@ -4777,12 +4777,18 @@ var zd = (e6, t2, n2 = false, r2) => {
|
|
|
4777
4777
|
return { ...Rd(a2, t2), toggleLike: ee2, liveLikes: C2 };
|
|
4778
4778
|
};
|
|
4779
4779
|
var Bd = () => {
|
|
4780
|
+
let e6;
|
|
4780
4781
|
try {
|
|
4781
|
-
let {
|
|
4782
|
-
|
|
4782
|
+
let { multilingualEnabled: t3, currentLocale: n3 } = m(Ha);
|
|
4783
|
+
t3 && n3 && !n3.primaryLocale && (e6 = n3.regionalFormat);
|
|
4784
|
+
} catch {
|
|
4785
|
+
}
|
|
4786
|
+
let t2, n2;
|
|
4787
|
+
try {
|
|
4788
|
+
({ locale: t2, language: n2 } = m(xo));
|
|
4783
4789
|
} catch {
|
|
4784
|
-
return;
|
|
4785
4790
|
}
|
|
4791
|
+
return e6 || t2 || n2;
|
|
4786
4792
|
};
|
|
4787
4793
|
var Vd = (e6, t2, n2) => typeof e6 != `number` || !Number.isFinite(e6) || e6 < 0 ? `` : new Intl.NumberFormat(n2, t2 === `compact` ? { notation: `compact`, maximumFractionDigits: 1 } : void 0).format(e6);
|
|
4788
4794
|
var Q = { timeToRead: `post.time-to-read`, viewCount: `post.view-count`, commentCount: `post.comment-count`, likeCount: `post.like-count`, noPostsTitle: `post-list.empty-state.title`, noPostsDescription: `post-list.empty-state.description`, noRelatedPostsTitle: `related-posts.empty-state.title`, noRelatedPostsDescription: `related-posts.empty-state.description`, canvasPostTitle: `canvas.post-title`, canvasAuthorName: `canvas.author-name`, canvasExcerpt: `canvas.excerpt`, canvasContent: `canvas.content`, canvasCategory: `canvas.category`, canvasCategoryNumbered: `canvas.category-numbered`, canvasTagNumbered: `canvas.tag-numbered`, canvasCoverAlt: `cover-media.placeholder-alt`, canvasAuthorPhotoAlt: `canvas.author-photo-alt` };
|
|
@@ -4844,7 +4850,7 @@ var sf = (e6) => {
|
|
|
4844
4850
|
var cf = (e6, t2 = []) => {
|
|
4845
4851
|
let n2 = e6?.media;
|
|
4846
4852
|
if (!n2 || n2.displayed === false) return;
|
|
4847
|
-
let r2 =
|
|
4853
|
+
let r2 = io(e6);
|
|
4848
4854
|
if (r2) return { kind: `image`, image: r2 };
|
|
4849
4855
|
let i2 = n2.altText ?? e6?.title ?? ``, a2 = n2.wixMedia?.videoV2 ? nf(n2.wixMedia.videoV2) : void 0;
|
|
4850
4856
|
if (a2) return { kind: `wixVideo`, ...a2, sources: t2, altText: i2 };
|
|
@@ -4855,9 +4861,9 @@ var cf = (e6, t2 = []) => {
|
|
|
4855
4861
|
}
|
|
4856
4862
|
};
|
|
4857
4863
|
var lf = (e6) => {
|
|
4858
|
-
let t2 =
|
|
4864
|
+
let t2 = io(e6), n2 = e6?.media?.wixMedia?.videoV2;
|
|
4859
4865
|
if (t2 || !n2) return t2;
|
|
4860
|
-
let r2 = nf(n2), i2 =
|
|
4866
|
+
let r2 = nf(n2), i2 = ro(r2?.posterUrl?.slice(35), e6?.media?.altText ?? e6?.title);
|
|
4861
4867
|
return i2 && { ...i2, width: r2?.posterWidth ?? i2.width, height: r2?.posterHeight ?? i2.height };
|
|
4862
4868
|
};
|
|
4863
4869
|
var uf = (e6, t2) => e6 && t2 ? `${e6}/${encodeURIComponent(t2)}` : void 0;
|
|
@@ -4891,11 +4897,11 @@ var Sf = (e6, t2, n2, r2) => $(e6 === void 0 ? n2 ? r2(t2) : `` : r2(e6));
|
|
|
4891
4897
|
var Cf = (e6, t2, n2) => e6 ?? (n2 ? t2 : void 0);
|
|
4892
4898
|
var wf = { nodes: [] };
|
|
4893
4899
|
var Tf = () => ({ title: $(``), excerpt: $(``), coverImage: void 0, coverMedia: void 0, richContent: wf, authorName: $(``), authorImage: void 0, timeToRead: $(``), publishedDate: $(``), viewCount: $(``), commentCount: $(``), likeCount: $(``), postCategories: [], itemCategoryLabel: $(``), postTags: [], hasCoverImage: false, hasExcerpt: false, hasTags: false, publishedDateValue: void 0, minutesToReadValue: void 0, viewCountValue: void 0, commentCountValue: void 0 });
|
|
4894
|
-
var Ef = ({ post: e6, author: t2, metrics: n2, categories: r2, tags: i2, videoSources: a2 }, o2, s2, c2 = false, l2 = Date.now(), u2 = {}) => !e6 && !c2 ? Tf() : { title: $(e6?.title ?? o2.canvas.postTitle()), excerpt: $(e6?.excerpt ?? o2.canvas.excerpt()), coverImage: lf(e6), coverMedia: cf(e6, a2), richContent: e6?.richContent ?? xf(o2.canvas.content()), authorName: $(t2?.profile?.nickname ?? o2.canvas.authorName()), authorImage:
|
|
4900
|
+
var Ef = ({ post: e6, author: t2, metrics: n2, categories: r2, tags: i2, videoSources: a2 }, o2, s2, c2 = false, l2 = Date.now(), u2 = {}) => !e6 && !c2 ? Tf() : { title: $(e6?.title ?? o2.canvas.postTitle()), excerpt: $(e6?.excerpt ?? o2.canvas.excerpt()), coverImage: lf(e6), coverMedia: cf(e6, a2), richContent: e6?.richContent ?? xf(o2.canvas.content()), authorName: $(t2?.profile?.nickname ?? o2.canvas.authorName()), authorImage: Xa(t2, o2.canvas.authorPhotoAlt()), timeToRead: $(typeof e6?.minutesToRead == `number` && e6.minutesToRead > 0 ? o2.timeToRead(e6.minutesToRead) : c2 ? o2.timeToRead(yf) : ``), publishedDate: $(Qd(e6?.firstPublishedDate ?? new Date(l2), s2, l2)), viewCount: Sf(n2?.views, bf.views, c2, o2.viewCount), commentCount: Sf(n2?.comments, bf.comments, c2, o2.commentCount), likeCount: Sf(n2?.likes, bf.likes, c2, o2.likeCount), postCategories: r2.length === 0 && c2 ? hf(o2) : r2.map((e7) => pf(e7, u2.category)), itemCategoryLabel: $(r2[0]?.label ?? (c2 ? o2.canvas.category() : ``)), postTags: i2.length === 0 && c2 ? vf(o2) : i2.map((e7) => gf(e7, u2.tag)), hasCoverImage: !e6 || e6.media?.displayed !== false && lf(e6) !== void 0, hasExcerpt: !e6 || !!e6.excerpt?.trim(), hasTags: !e6 || i2.length > 0, publishedDateValue: Wd(e6?.firstPublishedDate) ?? (c2 ? `2026-05-12T12:00:00.000Z` : void 0), minutesToReadValue: Gd(e6?.minutesToRead) ?? (c2 ? yf : void 0), viewCountValue: Cf(n2?.views, bf.views, c2), commentCountValue: Cf(n2?.comments, bf.comments, c2) };
|
|
4895
4901
|
var Df = ({ postWithAuthor: e6, hasError: t2, monitoringClient: n2, isPostInPreview: r2, postPageBase: i2 }) => {
|
|
4896
|
-
let { t: a2 } = Hl(), o2 = Bd(), s2 = u(() => Hd(a2, o2), [a2, o2]), c2 = Od(e6.fetchedAt), l2 =
|
|
4902
|
+
let { t: a2 } = Hl(), o2 = Bd(), s2 = u(() => Hd(a2, o2), [a2, o2]), c2 = Od(e6.fetchedAt), l2 = Zn(), { isLiked: d2, likeCount: f2, isLikeCountLoaded: p2, viewCount: m2, commentCount: h2, toggleLike: g2, liveLikes: _2 } = zd(e6.post?._id ?? void 0, e6.metrics?.likes ?? 0, r2, n2), v2 = Ed(xa), y2 = Ed(`tag`), b2 = u(() => fd(e6.post), [e6]), x2 = Mo(), S2 = u(() => e6.post?.richContent && e6.paywall ? Ao(e6.post.richContent, e6.paywall, x2) : void 0, [e6, x2]);
|
|
4897
4903
|
return u(() => {
|
|
4898
|
-
let n3 = Ef(!e6.post && l2 && e6.demoPost ? { ...e6, post: e6.demoPost } : e6, s2, o2, l2, c2, { category: v2, tag: y2 }), a3 = r2 || !e6.post ? void 0 :
|
|
4904
|
+
let n3 = Ef(!e6.post && l2 && e6.demoPost ? { ...e6, post: e6.demoPost } : e6, s2, o2, l2, c2, { category: v2, tag: y2 }), a3 = r2 || !e6.post ? void 0 : Aa(e6.post, i2), u2 = a3 ?? (l2 ? Ud(i2) : void 0);
|
|
4899
4905
|
return { ...n3, ...S2 && { richContent: S2 }, relatedPostsSource: b2, commentingEnabled: e6.post?.commentingEnabled ?? void 0, viewCountValue: m2 ?? n3.viewCountValue, commentCountValue: h2 ?? n3.commentCountValue, itemLink: u2, postUrl: a3?.href, ...e6.post && (e6.metrics?.likes !== void 0 || p2) ? { likeCount: $(s2.likeCount(f2)) } : {}, isLiked: d2, likeCountValue: f2, isLikeCountLoaded: p2, toggleLike: g2, liveLikes: _2, clockValue: c2, isLoadingPost: false, hasError: t2, isEmpty: !e6.post && !l2 };
|
|
4900
4906
|
}, [e6, t2, b2, S2, s2, o2, c2, f2, d2, p2, m2, h2, g2, _2, l2, r2, i2, v2, y2]);
|
|
4901
4907
|
};
|
|
@@ -4913,23 +4919,23 @@ function Nf() {
|
|
|
4913
4919
|
var Pf = ({ source: e6, children: t2 }) => h(Td.Provider, { value: void 0, children: h(wd.Provider, { value: e6, children: t2 }) });
|
|
4914
4920
|
var Ff = 2500;
|
|
4915
4921
|
var If = ({ children: t2, postLoadPromise: n2, relatedSourcePromise: r2, monitoringClient: i2, slug: a2, language: o2, isPostInPreview: c2 }) => {
|
|
4916
|
-
let { post: l2, hasError: u2 } = Vn(n2), d2 =
|
|
4917
|
-
|
|
4922
|
+
let { post: l2, hasError: u2 } = Vn(n2), d2 = va(l2, s(() => $u(a2, false, o2), [a2, o2]));
|
|
4923
|
+
bo(d2, c2, i2), Po(a2 && d2.post?.slug === a2 && !c2 ? d2.post : void 0, o2, pd);
|
|
4918
4924
|
let { _id: f2 } = d2.post ?? {};
|
|
4919
|
-
|
|
4920
|
-
let p2 = Df({ postWithAuthor: d2, hasError: u2, monitoringClient: i2, isPostInPreview: c2, postPageBase:
|
|
4921
|
-
return
|
|
4925
|
+
fa(c2 ? void 0 : f2 ?? void 0);
|
|
4926
|
+
let p2 = Df({ postWithAuthor: d2, hasError: u2, monitoringClient: i2, isPostInPreview: c2, postPageBase: Ma(a2) });
|
|
4927
|
+
return Ba(Ra.postBySlugProvider, u2 ? `error` : d2.post ? `data` : `empty`), h(e, { value: p2, children: h(Pf, { source: r2, children: t2 }) });
|
|
4922
4928
|
};
|
|
4923
4929
|
function Lf({ children: t2 }) {
|
|
4924
|
-
let n2 =
|
|
4930
|
+
let n2 = Fa(), i2 = La(), a2 = Co(), o2 = pa(), { draftPostId: s2, instance: c2 } = n2 ?? {}, l2 = Zn(), d2 = Io(), f2 = u(() => Wa(zn), []), { i18n: p2, locale: m2 } = du(yu), _2 = ha(() => {
|
|
4925
4931
|
let e6 = s2 && c2 ? hd(Cd({ draftPostId: s2, instance: c2 }, o2)) : Ql({ key: i2 ? `blog-builder:post:${i2}|${a2 ?? ``}` : null, warmupData: d2, fetchData: () => {
|
|
4926
4932
|
let e7 = ud(i2, o2, a2).then((e8) => l2 ? sd(e8, a2) : e8);
|
|
4927
|
-
return hd(
|
|
4933
|
+
return hd(qa(f2, `post-read`, { feature: Ua.post }, o2 ? Gu(e7, Ff, `post`) : e7));
|
|
4928
4934
|
} }), t3 = e6.then(({ post: e7 }) => fd(e7));
|
|
4929
4935
|
return t3.catch(() => {
|
|
4930
4936
|
}), { slug: i2, language: a2, isPostInPreview: !!s2, postLoadPromise: Un(e6, Of, o2 ? Af : kf), relatedSourcePromise: t3 };
|
|
4931
4937
|
}, [s2, c2, a2, i2, o2, l2, d2, f2]);
|
|
4932
|
-
return h(Ul, { i18n: p2, children: g(r, { fallback: h(e, { value: jf, children: h(Pf, { source: _2.relatedSourcePromise, children: t2 }) }), children: [h(uu, { i18n: p2, locale: m2 }), h(md, { fallback: h(e, { value: Mf, children: h(Pf, { source: _2.relatedSourcePromise, children: t2 }) }), feature:
|
|
4938
|
+
return h(Ul, { i18n: p2, children: g(r, { fallback: h(e, { value: jf, children: h(Pf, { source: _2.relatedSourcePromise, children: t2 }) }), children: [h(uu, { i18n: p2, locale: m2 }), h(md, { fallback: h(e, { value: Mf, children: h(Pf, { source: _2.relatedSourcePromise, children: t2 }) }), feature: Ua.post, monitoringClient: f2, rethrow: o2, children: h(If, { postLoadPromise: _2.postLoadPromise, relatedSourcePromise: _2.relatedSourcePromise, monitoringClient: f2, slug: _2.isPostInPreview ? void 0 : _2.slug, language: _2.language, isPostInPreview: _2.isPostInPreview, children: t2 }) })] }) });
|
|
4933
4939
|
}
|
|
4934
4940
|
var Rf = Mn(`12ed204c-821c-4ce9-802b-8bfe8e98d7e2`);
|
|
4935
4941
|
export {
|