@wix/stores 1.0.980 → 1.0.982

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.
@@ -30,11 +30,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // context-category-by-slug.ts
31
31
  var context_category_by_slug_exports = {};
32
32
  __export(context_category_by_slug_exports, {
33
- CategoryBySlugContextProvider: () => wu,
34
- CategoryBySlugContextValues: () => Su,
35
- default: () => wu,
36
- injectAccessTokenGetter: () => Tu,
37
- useCategoryBySlugContext: () => xu
33
+ CategoryBySlugContextProvider: () => Lu,
34
+ CategoryBySlugContextValues: () => Fu,
35
+ default: () => Lu,
36
+ injectAccessTokenGetter: () => Ru,
37
+ useCategoryBySlugContext: () => Pu
38
38
  });
39
39
  module.exports = __toCommonJS(context_category_by_slug_exports);
40
40
 
@@ -913,7 +913,7 @@ var jn = (e2, t2) => {
913
913
  return nt({ auth: r2, host: n2 }).enableContext(`module`), r2.getAccessTokenInjector();
914
914
  };
915
915
  var Mn = (e2) => jn(`215238eb-22a5-4c36-9e7b-e7c08025e04e`, e2);
916
- var Nn = class {
916
+ var N = class {
917
917
  constructor() {
918
918
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
919
919
  }
@@ -930,7 +930,7 @@ var Nn = class {
930
930
  onUnsubscribe() {
931
931
  }
932
932
  };
933
- var Pn = new class extends Nn {
933
+ var Nn = new class extends N {
934
934
  #e;
935
935
  #t;
936
936
  #n;
@@ -968,9 +968,9 @@ var Pn = new class extends Nn {
968
968
  return typeof this.#e == `boolean` ? this.#e : globalThis.document?.visibilityState !== `hidden`;
969
969
  }
970
970
  }();
971
- var Fn = { setTimeout: (e2, t2) => setTimeout(e2, t2), clearTimeout: (e2) => clearTimeout(e2), setInterval: (e2, t2) => setInterval(e2, t2), clearInterval: (e2) => clearInterval(e2) };
972
- var N = new class {
973
- #e = Fn;
971
+ var Pn = { setTimeout: (e2, t2) => setTimeout(e2, t2), clearTimeout: (e2) => clearTimeout(e2), setInterval: (e2, t2) => setInterval(e2, t2), clearInterval: (e2) => clearInterval(e2) };
972
+ var P = new class {
973
+ #e = Pn;
974
974
  setTimeoutProvider(e2) {
975
975
  this.#e = e2;
976
976
  }
@@ -987,33 +987,33 @@ var N = new class {
987
987
  this.#e.clearInterval(e2);
988
988
  }
989
989
  }();
990
- function In(e2) {
990
+ function Fn(e2) {
991
991
  setTimeout(e2, 0);
992
992
  }
993
- var Ln = typeof window > `u` || `Deno` in globalThis;
994
- function P() {
993
+ var In = typeof window > `u` || `Deno` in globalThis;
994
+ function F() {
995
995
  }
996
- function Rn(e2, t2) {
996
+ function Ln(e2, t2) {
997
997
  return typeof e2 == `function` ? e2(t2) : e2;
998
998
  }
999
- function zn(e2) {
999
+ function Rn(e2) {
1000
1000
  return typeof e2 == `number` && e2 >= 0 && e2 !== 1 / 0;
1001
1001
  }
1002
- function Bn(e2, t2) {
1002
+ function zn(e2, t2) {
1003
1003
  return Math.max(e2 + (t2 || 0) - Date.now(), 0);
1004
1004
  }
1005
- function F(e2, t2) {
1005
+ function I(e2, t2) {
1006
1006
  return typeof e2 == `function` ? e2(t2) : e2;
1007
1007
  }
1008
- function I(e2, t2) {
1008
+ function L(e2, t2) {
1009
1009
  return typeof e2 == `function` ? e2(t2) : e2;
1010
1010
  }
1011
- function Vn(e2, t2) {
1011
+ function Bn(e2, t2) {
1012
1012
  let { type: n2 = `all`, exact: r2, fetchStatus: i2, predicate: a2, queryKey: o2, stale: s2 } = e2;
1013
1013
  if (o2) {
1014
1014
  if (r2) {
1015
- if (t2.queryHash !== Un(o2, t2.options)) return false;
1016
- } else if (!Gn(t2.queryKey, o2)) return false;
1015
+ if (t2.queryHash !== Hn(o2, t2.options)) return false;
1016
+ } else if (!Wn(t2.queryKey, o2)) return false;
1017
1017
  }
1018
1018
  if (n2 !== `all`) {
1019
1019
  let e3 = t2.isActive();
@@ -1021,104 +1021,104 @@ function Vn(e2, t2) {
1021
1021
  }
1022
1022
  return !(typeof s2 == `boolean` && t2.isStale() !== s2 || i2 && i2 !== t2.state.fetchStatus || a2 && !a2(t2));
1023
1023
  }
1024
- function Hn(e2, t2) {
1024
+ function Vn(e2, t2) {
1025
1025
  let { exact: n2, status: r2, predicate: i2, mutationKey: a2 } = e2;
1026
1026
  if (a2) {
1027
1027
  if (!t2.options.mutationKey) return false;
1028
1028
  if (n2) {
1029
- if (Wn(t2.options.mutationKey) !== Wn(a2)) return false;
1030
- } else if (!Gn(t2.options.mutationKey, a2)) return false;
1029
+ if (Un(t2.options.mutationKey) !== Un(a2)) return false;
1030
+ } else if (!Wn(t2.options.mutationKey, a2)) return false;
1031
1031
  }
1032
1032
  return !(r2 && t2.state.status !== r2 || i2 && !i2(t2));
1033
1033
  }
1034
- function Un(e2, t2) {
1035
- return (t2?.queryKeyHashFn || Wn)(e2);
1034
+ function Hn(e2, t2) {
1035
+ return (t2?.queryKeyHashFn || Un)(e2);
1036
1036
  }
1037
- function Wn(e2) {
1038
- return JSON.stringify(e2, (e3, t2) => Xn(t2) ? Object.keys(t2).sort().reduce((e4, n2) => (e4[n2] = t2[n2], e4), {}) : t2);
1037
+ function Un(e2) {
1038
+ return JSON.stringify(e2, (e3, t2) => Yn(t2) ? Object.keys(t2).sort().reduce((e4, n2) => (e4[n2] = t2[n2], e4), {}) : t2);
1039
1039
  }
1040
- function Gn(e2, t2) {
1041
- return e2 === t2 ? true : typeof e2 == typeof t2 && e2 && t2 && typeof e2 == `object` && typeof t2 == `object` ? Object.keys(t2).every((n2) => Gn(e2[n2], t2[n2])) : false;
1040
+ function Wn(e2, t2) {
1041
+ return e2 === t2 ? true : typeof e2 == typeof t2 && e2 && t2 && typeof e2 == `object` && typeof t2 == `object` ? Object.keys(t2).every((n2) => Wn(e2[n2], t2[n2])) : false;
1042
1042
  }
1043
- var Kn = Object.prototype.hasOwnProperty;
1044
- function qn(e2, t2, n2 = 0) {
1043
+ var Gn = Object.prototype.hasOwnProperty;
1044
+ function Kn(e2, t2, n2 = 0) {
1045
1045
  if (e2 === t2) return e2;
1046
1046
  if (n2 > 500) return t2;
1047
- let r2 = Yn(e2) && Yn(t2);
1048
- if (!r2 && !(Xn(e2) && Xn(t2))) return t2;
1047
+ let r2 = Jn(e2) && Jn(t2);
1048
+ if (!r2 && !(Yn(e2) && Yn(t2))) return t2;
1049
1049
  let i2 = (r2 ? e2 : Object.keys(e2)).length, a2 = r2 ? t2 : Object.keys(t2), o2 = a2.length, s2 = r2 ? Array(o2) : {}, c2 = 0;
1050
1050
  for (let l2 = 0; l2 < o2; l2++) {
1051
1051
  let o3 = r2 ? l2 : a2[l2], u2 = e2[o3], d2 = t2[o3];
1052
1052
  if (u2 === d2) {
1053
- s2[o3] = u2, (r2 ? l2 < i2 : Kn.call(e2, o3)) && c2++;
1053
+ s2[o3] = u2, (r2 ? l2 < i2 : Gn.call(e2, o3)) && c2++;
1054
1054
  continue;
1055
1055
  }
1056
1056
  if (u2 === null || d2 === null || typeof u2 != `object` || typeof d2 != `object`) {
1057
1057
  s2[o3] = d2;
1058
1058
  continue;
1059
1059
  }
1060
- let f2 = qn(u2, d2, n2 + 1);
1060
+ let f2 = Kn(u2, d2, n2 + 1);
1061
1061
  s2[o3] = f2, f2 === u2 && c2++;
1062
1062
  }
1063
1063
  return i2 === o2 && c2 === i2 ? e2 : s2;
1064
1064
  }
1065
- function Jn(e2, t2) {
1065
+ function qn(e2, t2) {
1066
1066
  if (!t2 || Object.keys(e2).length !== Object.keys(t2).length) return false;
1067
1067
  for (let n2 in e2) if (e2[n2] !== t2[n2]) return false;
1068
1068
  return true;
1069
1069
  }
1070
- function Yn(e2) {
1070
+ function Jn(e2) {
1071
1071
  return Array.isArray(e2) && e2.length === Object.keys(e2).length;
1072
1072
  }
1073
- function Xn(e2) {
1074
- if (!Zn(e2)) return false;
1073
+ function Yn(e2) {
1074
+ if (!Xn(e2)) return false;
1075
1075
  let t2 = e2.constructor;
1076
1076
  if (t2 === void 0) return true;
1077
1077
  let n2 = t2.prototype;
1078
- return !(!Zn(n2) || !n2.hasOwnProperty(`isPrototypeOf`) || Object.getPrototypeOf(e2) !== Object.prototype);
1078
+ return !(!Xn(n2) || !n2.hasOwnProperty(`isPrototypeOf`) || Object.getPrototypeOf(e2) !== Object.prototype);
1079
1079
  }
1080
- function Zn(e2) {
1080
+ function Xn(e2) {
1081
1081
  return Object.prototype.toString.call(e2) === `[object Object]`;
1082
1082
  }
1083
- function Qn(e2) {
1083
+ function Zn(e2) {
1084
1084
  return new Promise((t2) => {
1085
- N.setTimeout(t2, e2);
1085
+ P.setTimeout(t2, e2);
1086
1086
  });
1087
1087
  }
1088
- function $n(e2, t2, n2) {
1089
- return typeof n2.structuralSharing == `function` ? n2.structuralSharing(e2, t2) : n2.structuralSharing === false ? t2 : qn(e2, t2);
1088
+ function Qn(e2, t2, n2) {
1089
+ return typeof n2.structuralSharing == `function` ? n2.structuralSharing(e2, t2) : n2.structuralSharing === false ? t2 : Kn(e2, t2);
1090
1090
  }
1091
- function er(e2) {
1091
+ function $n(e2) {
1092
1092
  return e2;
1093
1093
  }
1094
- function tr(e2, t2, n2 = 0) {
1094
+ function er(e2, t2, n2 = 0) {
1095
1095
  let r2 = [...e2, t2];
1096
1096
  return n2 && r2.length > n2 ? r2.slice(1) : r2;
1097
1097
  }
1098
- function nr(e2, t2, n2 = 0) {
1098
+ function tr(e2, t2, n2 = 0) {
1099
1099
  let r2 = [t2, ...e2];
1100
1100
  return n2 && r2.length > n2 ? r2.slice(0, -1) : r2;
1101
1101
  }
1102
- var rr = Symbol();
1103
- function ir(e2, t2) {
1104
- return !e2.queryFn && t2?.initialPromise ? () => t2.initialPromise : !e2.queryFn || e2.queryFn === rr ? () => Promise.reject(Error(`Missing queryFn: '${e2.queryHash}'`)) : e2.queryFn;
1102
+ var nr = Symbol();
1103
+ function rr(e2, t2) {
1104
+ return !e2.queryFn && t2?.initialPromise ? () => t2.initialPromise : !e2.queryFn || e2.queryFn === nr ? () => Promise.reject(Error(`Missing queryFn: '${e2.queryHash}'`)) : e2.queryFn;
1105
1105
  }
1106
- function ar(e2, t2) {
1106
+ function ir(e2, t2) {
1107
1107
  return typeof e2 == `function` ? e2(...t2) : !!e2;
1108
1108
  }
1109
- function or(e2, t2, n2) {
1109
+ function ar(e2, t2, n2) {
1110
1110
  let r2 = false, i2;
1111
1111
  return Object.defineProperty(e2, "signal", { enumerable: true, get: () => (i2 ??= t2(), r2 ? i2 : (r2 = true, i2.aborted ? n2() : i2.addEventListener(`abort`, n2, { once: true }), i2)) }), e2;
1112
1112
  }
1113
- var sr = /* @__PURE__ */ (() => {
1114
- let e2 = () => Ln;
1113
+ var or = /* @__PURE__ */ (() => {
1114
+ let e2 = () => In;
1115
1115
  return { isServer() {
1116
1116
  return e2();
1117
1117
  }, setIsServer(t2) {
1118
1118
  e2 = t2;
1119
1119
  } };
1120
1120
  })();
1121
- function cr() {
1121
+ function sr() {
1122
1122
  let e2, t2, n2 = new Promise((n3, r3) => {
1123
1123
  e2 = n3, t2 = r3;
1124
1124
  });
@@ -1133,13 +1133,13 @@ function cr() {
1133
1133
  r2({ status: `rejected`, reason: e3 }), t2(e3);
1134
1134
  }, n2;
1135
1135
  }
1136
- var lr = In;
1137
- function ur() {
1136
+ var cr = Fn;
1137
+ function lr() {
1138
1138
  let e2 = [], t2 = 0, n2 = (e3) => {
1139
1139
  e3();
1140
1140
  }, r2 = (e3) => {
1141
1141
  e3();
1142
- }, i2 = lr, a2 = (r3) => {
1142
+ }, i2 = cr, a2 = (r3) => {
1143
1143
  t2 ? e2.push(r3) : i2(() => {
1144
1144
  n2(r3);
1145
1145
  });
@@ -1174,8 +1174,8 @@ function ur() {
1174
1174
  i2 = e3;
1175
1175
  } };
1176
1176
  }
1177
- var L = ur();
1178
- var dr = new class extends Nn {
1177
+ var R = lr();
1178
+ var ur = new class extends N {
1179
1179
  #e = true;
1180
1180
  #t;
1181
1181
  #n;
@@ -1207,28 +1207,28 @@ var dr = new class extends Nn {
1207
1207
  return this.#e;
1208
1208
  }
1209
1209
  }();
1210
- function fr(e2) {
1210
+ function dr(e2) {
1211
1211
  return Math.min(1e3 * 2 ** e2, 3e4);
1212
1212
  }
1213
- function pr(e2) {
1214
- return (e2 ?? `online`) !== `online` || dr.isOnline();
1213
+ function fr(e2) {
1214
+ return (e2 ?? `online`) !== `online` || ur.isOnline();
1215
1215
  }
1216
- var mr = class extends Error {
1216
+ var pr = class extends Error {
1217
1217
  constructor(e2) {
1218
1218
  super(`CancelledError`), this.revert = e2?.revert, this.silent = e2?.silent;
1219
1219
  }
1220
1220
  };
1221
- function hr(e2) {
1222
- let t2 = false, n2 = 0, r2, i2 = cr(), a2 = () => i2.status !== `pending`, o2 = (t3) => {
1221
+ function mr(e2) {
1222
+ let t2 = false, n2 = 0, r2, i2 = sr(), a2 = () => i2.status !== `pending`, o2 = (t3) => {
1223
1223
  if (!a2()) {
1224
- let n3 = new mr(t3);
1224
+ let n3 = new pr(t3);
1225
1225
  f2(n3), e2.onCancel?.(n3);
1226
1226
  }
1227
1227
  }, s2 = () => {
1228
1228
  t2 = true;
1229
1229
  }, c2 = () => {
1230
1230
  t2 = false;
1231
- }, l2 = () => Pn.isFocused() && (e2.networkMode === `always` || dr.isOnline()) && e2.canRun(), u2 = () => pr(e2.networkMode) && e2.canRun(), d2 = (e3) => {
1231
+ }, l2 = () => Nn.isFocused() && (e2.networkMode === `always` || ur.isOnline()) && e2.canRun(), u2 = () => fr(e2.networkMode) && e2.canRun(), d2 = (e3) => {
1232
1232
  a2() || (r2?.(), i2.resolve(e3));
1233
1233
  }, f2 = (e3) => {
1234
1234
  a2() || (r2?.(), i2.reject(e3));
@@ -1248,56 +1248,56 @@ function hr(e2) {
1248
1248
  }
1249
1249
  Promise.resolve(r3).then(d2).catch((r4) => {
1250
1250
  if (a2()) return;
1251
- let i4 = e2.retry ?? (sr.isServer() ? 0 : 3), o3 = e2.retryDelay ?? fr, s3 = typeof o3 == `function` ? o3(n2, r4) : o3, c3 = i4 === true || typeof i4 == `number` && n2 < i4 || typeof i4 == `function` && i4(n2, r4);
1251
+ let i4 = e2.retry ?? (or.isServer() ? 0 : 3), o3 = e2.retryDelay ?? dr, s3 = typeof o3 == `function` ? o3(n2, r4) : o3, c3 = i4 === true || typeof i4 == `number` && n2 < i4 || typeof i4 == `function` && i4(n2, r4);
1252
1252
  if (t2 || !c3) {
1253
1253
  f2(r4);
1254
1254
  return;
1255
1255
  }
1256
- n2++, e2.onFail?.(n2, r4), Qn(s3).then(() => l2() ? void 0 : p2()).then(() => {
1256
+ n2++, e2.onFail?.(n2, r4), Zn(s3).then(() => l2() ? void 0 : p2()).then(() => {
1257
1257
  t2 ? f2(r4) : m2();
1258
1258
  });
1259
1259
  });
1260
1260
  };
1261
1261
  return { promise: i2, status: () => i2.status, cancel: o2, continue: () => (r2?.(), i2), cancelRetry: s2, continueRetry: c2, canStart: u2, start: () => (u2() ? m2() : p2().then(m2), i2) };
1262
1262
  }
1263
- var gr = class {
1263
+ var hr = class {
1264
1264
  #e;
1265
1265
  destroy() {
1266
1266
  this.clearGcTimeout();
1267
1267
  }
1268
1268
  scheduleGc() {
1269
- this.clearGcTimeout(), zn(this.gcTime) && (this.#e = N.setTimeout(() => {
1269
+ this.clearGcTimeout(), Rn(this.gcTime) && (this.#e = P.setTimeout(() => {
1270
1270
  this.optionalRemove();
1271
1271
  }, this.gcTime));
1272
1272
  }
1273
1273
  updateGcTime(e2) {
1274
- this.gcTime = Math.max(this.gcTime || 0, e2 ?? (sr.isServer() ? 1 / 0 : 3e5));
1274
+ this.gcTime = Math.max(this.gcTime || 0, e2 ?? (or.isServer() ? 1 / 0 : 3e5));
1275
1275
  }
1276
1276
  clearGcTimeout() {
1277
- this.#e !== void 0 && (N.clearTimeout(this.#e), this.#e = void 0);
1277
+ this.#e !== void 0 && (P.clearTimeout(this.#e), this.#e = void 0);
1278
1278
  }
1279
1279
  };
1280
- function _r(e2) {
1280
+ function gr(e2) {
1281
1281
  return { onFetch: (t2, n2) => {
1282
1282
  let r2 = t2.options, i2 = t2.fetchOptions?.meta?.fetchMore?.direction, a2 = t2.state.data?.pages || [], o2 = t2.state.data?.pageParams || [], s2 = { pages: [], pageParams: [] }, c2 = 0, l2 = async () => {
1283
1283
  let n3 = false, l3 = (e3) => {
1284
- or(e3, () => t2.signal, () => n3 = true);
1285
- }, u2 = ir(t2.options, t2.fetchOptions), d2 = async (e3, r3, i3) => {
1284
+ ar(e3, () => t2.signal, () => n3 = true);
1285
+ }, u2 = rr(t2.options, t2.fetchOptions), d2 = async (e3, r3, i3) => {
1286
1286
  if (n3) return Promise.reject(t2.signal.reason);
1287
1287
  if (r3 == null && e3.pages.length) return Promise.resolve(e3);
1288
1288
  let a3 = (() => {
1289
1289
  let e4 = { client: t2.client, queryKey: t2.queryKey, pageParam: r3, direction: i3 ? `backward` : `forward`, meta: t2.options.meta };
1290
1290
  return l3(e4), e4;
1291
- })(), o3 = await u2(a3), { maxPages: s3 } = t2.options, c3 = i3 ? nr : tr;
1291
+ })(), o3 = await u2(a3), { maxPages: s3 } = t2.options, c3 = i3 ? tr : er;
1292
1292
  return { pages: c3(e3.pages, o3, s3), pageParams: c3(e3.pageParams, r3, s3) };
1293
1293
  };
1294
1294
  if (i2 && a2.length) {
1295
- let e3 = i2 === `backward`, t3 = e3 ? yr : vr, n4 = { pages: a2, pageParams: o2 };
1295
+ let e3 = i2 === `backward`, t3 = e3 ? vr : _r, n4 = { pages: a2, pageParams: o2 };
1296
1296
  s2 = await d2(n4, t3(r2, n4), e3);
1297
1297
  } else {
1298
1298
  let t3 = e2 ?? a2.length;
1299
1299
  do {
1300
- let e3 = c2 === 0 ? o2[0] ?? r2.initialPageParam : vr(r2, s2);
1300
+ let e3 = c2 === 0 ? o2[0] ?? r2.initialPageParam : _r(r2, s2);
1301
1301
  if (c2 > 0 && e3 == null) break;
1302
1302
  s2 = await d2(s2, e3), c2++;
1303
1303
  } while (c2 < t3);
@@ -1307,20 +1307,20 @@ function _r(e2) {
1307
1307
  t2.fetchFn = t2.options.persister ? () => t2.options.persister?.(l2, { client: t2.client, queryKey: t2.queryKey, meta: t2.options.meta, signal: t2.signal }, n2) : l2;
1308
1308
  } };
1309
1309
  }
1310
- function vr(e2, { pages: t2, pageParams: n2 }) {
1310
+ function _r(e2, { pages: t2, pageParams: n2 }) {
1311
1311
  let r2 = t2.length - 1;
1312
1312
  return t2.length > 0 ? e2.getNextPageParam(t2[r2], t2, n2[r2], n2) : void 0;
1313
1313
  }
1314
- function yr(e2, { pages: t2, pageParams: n2 }) {
1314
+ function vr(e2, { pages: t2, pageParams: n2 }) {
1315
1315
  return t2.length > 0 ? e2.getPreviousPageParam?.(t2[0], t2, n2[0], n2) : void 0;
1316
1316
  }
1317
- function br(e2, t2) {
1318
- return t2 ? vr(e2, t2) != null : false;
1317
+ function yr(e2, t2) {
1318
+ return t2 ? _r(e2, t2) != null : false;
1319
1319
  }
1320
- function xr(e2, t2) {
1321
- return !t2 || !e2.getPreviousPageParam ? false : yr(e2, t2) != null;
1320
+ function br(e2, t2) {
1321
+ return !t2 || !e2.getPreviousPageParam ? false : vr(e2, t2) != null;
1322
1322
  }
1323
- var Sr = class extends gr {
1323
+ var xr = class extends hr {
1324
1324
  #e;
1325
1325
  #t;
1326
1326
  #n;
@@ -1330,7 +1330,7 @@ var Sr = class extends gr {
1330
1330
  #o;
1331
1331
  #s;
1332
1332
  constructor(e2) {
1333
- super(), this.#s = false, this.#o = e2.defaultOptions, this.setOptions(e2.options), this.observers = [], this.#i = e2.client, this.#r = this.#i.getQueryCache(), this.queryKey = e2.queryKey, this.queryHash = e2.queryHash, this.#t = Tr(this.options), this.state = e2.state ?? this.#t, this.scheduleGc();
1333
+ super(), this.#s = false, this.#o = e2.defaultOptions, this.setOptions(e2.options), this.observers = [], this.#i = e2.client, this.#r = this.#i.getQueryCache(), this.queryKey = e2.queryKey, this.queryHash = e2.queryHash, this.#t = wr(this.options), this.state = e2.state ?? this.#t, this.scheduleGc();
1334
1334
  }
1335
1335
  get meta() {
1336
1336
  return this.options.meta;
@@ -1343,15 +1343,15 @@ var Sr = class extends gr {
1343
1343
  }
1344
1344
  setOptions(e2) {
1345
1345
  if (this.options = { ...this.#o, ...e2 }, e2?._type && (this.#e = e2._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
1346
- let e3 = Tr(this.options);
1347
- e3.data !== void 0 && (this.setState(wr(e3.data, e3.dataUpdatedAt)), this.#t = e3);
1346
+ let e3 = wr(this.options);
1347
+ e3.data !== void 0 && (this.setState(Cr(e3.data, e3.dataUpdatedAt)), this.#t = e3);
1348
1348
  }
1349
1349
  }
1350
1350
  optionalRemove() {
1351
1351
  !this.observers.length && this.state.fetchStatus === `idle` && this.#r.remove(this);
1352
1352
  }
1353
1353
  setData(e2, t2) {
1354
- let n2 = $n(this.state.data, e2, this.options);
1354
+ let n2 = Qn(this.state.data, e2, this.options);
1355
1355
  return this.#l({ data: n2, type: `success`, dataUpdatedAt: t2?.updatedAt, manual: t2?.manual }), n2;
1356
1356
  }
1357
1357
  setState(e2) {
@@ -1359,7 +1359,7 @@ var Sr = class extends gr {
1359
1359
  }
1360
1360
  cancel(e2) {
1361
1361
  let t2 = this.#a?.promise;
1362
- return this.#a?.cancel(e2), t2 ? t2.then(P).catch(P) : Promise.resolve();
1362
+ return this.#a?.cancel(e2), t2 ? t2.then(F).catch(F) : Promise.resolve();
1363
1363
  }
1364
1364
  destroy() {
1365
1365
  super.destroy(), this.cancel({ silent: true });
@@ -1371,22 +1371,22 @@ var Sr = class extends gr {
1371
1371
  this.destroy(), this.setState(this.resetState);
1372
1372
  }
1373
1373
  isActive() {
1374
- return this.observers.some((e2) => I(e2.options.enabled, this) !== false);
1374
+ return this.observers.some((e2) => L(e2.options.enabled, this) !== false);
1375
1375
  }
1376
1376
  isDisabled() {
1377
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === rr || !this.isFetched();
1377
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === nr || !this.isFetched();
1378
1378
  }
1379
1379
  isFetched() {
1380
1380
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
1381
1381
  }
1382
1382
  isStatic() {
1383
- return this.getObserversCount() > 0 && this.observers.some((e2) => F(e2.options.staleTime, this) === `static`);
1383
+ return this.getObserversCount() > 0 && this.observers.some((e2) => I(e2.options.staleTime, this) === `static`);
1384
1384
  }
1385
1385
  isStale() {
1386
1386
  return this.getObserversCount() > 0 ? this.observers.some((e2) => e2.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
1387
1387
  }
1388
1388
  isStaleByTime(e2 = 0) {
1389
- return this.state.data === void 0 ? true : e2 === `static` ? false : this.state.isInvalidated ? true : !Bn(this.state.dataUpdatedAt, e2);
1389
+ return this.state.data === void 0 ? true : e2 === `static` ? false : this.state.isInvalidated ? true : !zn(this.state.dataUpdatedAt, e2);
1390
1390
  }
1391
1391
  onFocus() {
1392
1392
  this.observers.find((e2) => e2.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: false }), this.#a?.continue();
@@ -1421,7 +1421,7 @@ var Sr = class extends gr {
1421
1421
  let n2 = new AbortController(), r2 = (e3) => {
1422
1422
  Object.defineProperty(e3, "signal", { enumerable: true, get: () => (this.#s = true, n2.signal) });
1423
1423
  }, i2 = () => {
1424
- let e3 = ir(this.options, t2), n3 = (() => {
1424
+ let e3 = rr(this.options, t2), n3 = (() => {
1425
1425
  let e4 = { client: this.#i, queryKey: this.queryKey, meta: this.meta };
1426
1426
  return r2(e4), e4;
1427
1427
  })();
@@ -1430,8 +1430,8 @@ var Sr = class extends gr {
1430
1430
  let e3 = { fetchOptions: t2, options: this.options, queryKey: this.queryKey, client: this.#i, state: this.state, fetchFn: i2 };
1431
1431
  return r2(e3), e3;
1432
1432
  })();
1433
- (this.#e === `infinite` ? _r(this.options.pages) : this.options.behavior)?.onFetch(a2, this), this.#n = this.state, (this.state.fetchStatus === `idle` || this.state.fetchMeta !== a2.fetchOptions?.meta) && this.#l({ type: `fetch`, meta: a2.fetchOptions?.meta }), this.#a = hr({ initialPromise: t2?.initialPromise, fn: a2.fetchFn, onCancel: (e3) => {
1434
- e3 instanceof mr && e3.revert && this.setState({ ...this.#n, fetchStatus: `idle` }), n2.abort();
1433
+ (this.#e === `infinite` ? gr(this.options.pages) : this.options.behavior)?.onFetch(a2, this), this.#n = this.state, (this.state.fetchStatus === `idle` || this.state.fetchMeta !== a2.fetchOptions?.meta) && this.#l({ type: `fetch`, meta: a2.fetchOptions?.meta }), this.#a = mr({ initialPromise: t2?.initialPromise, fn: a2.fetchFn, onCancel: (e3) => {
1434
+ e3 instanceof pr && e3.revert && this.setState({ ...this.#n, fetchStatus: `idle` }), n2.abort();
1435
1435
  }, onFail: (e3, t3) => {
1436
1436
  this.#l({ type: `failed`, failureCount: e3, error: t3 });
1437
1437
  }, onPause: () => {
@@ -1444,7 +1444,7 @@ var Sr = class extends gr {
1444
1444
  if (e3 === void 0) throw Error(`${this.queryHash} data is undefined`);
1445
1445
  return this.setData(e3), this.#r.config.onSuccess?.(e3, this), this.#r.config.onSettled?.(e3, this.state.error, this), e3;
1446
1446
  } catch (e3) {
1447
- if (e3 instanceof mr) {
1447
+ if (e3 instanceof pr) {
1448
1448
  if (e3.silent) return this.#a.promise;
1449
1449
  if (e3.revert) {
1450
1450
  if (this.state.data === void 0) throw e3;
@@ -1466,9 +1466,9 @@ var Sr = class extends gr {
1466
1466
  case `continue`:
1467
1467
  return { ...t3, fetchStatus: `fetching` };
1468
1468
  case `fetch`:
1469
- return { ...t3, ...Cr(t3.data, this.options), fetchMeta: e2.meta ?? null };
1469
+ return { ...t3, ...Sr(t3.data, this.options), fetchMeta: e2.meta ?? null };
1470
1470
  case `success`:
1471
- let n2 = { ...t3, ...wr(e2.data, e2.dataUpdatedAt), dataUpdateCount: t3.dataUpdateCount + 1, ...!e2.manual && { fetchStatus: `idle`, fetchFailureCount: 0, fetchFailureReason: null } };
1471
+ let n2 = { ...t3, ...Cr(e2.data, e2.dataUpdatedAt), dataUpdateCount: t3.dataUpdateCount + 1, ...!e2.manual && { fetchStatus: `idle`, fetchFailureCount: 0, fetchFailureReason: null } };
1472
1472
  return this.#n = e2.manual ? n2 : void 0, n2;
1473
1473
  case `error`:
1474
1474
  let r2 = e2.error;
@@ -1479,26 +1479,26 @@ var Sr = class extends gr {
1479
1479
  return { ...t3, ...e2.state };
1480
1480
  }
1481
1481
  };
1482
- this.state = t2(this.state), L.batch(() => {
1482
+ this.state = t2(this.state), R.batch(() => {
1483
1483
  this.observers.forEach((e3) => {
1484
1484
  e3.onQueryUpdate();
1485
1485
  }), this.#r.notify({ query: this, type: `updated`, action: e2 });
1486
1486
  });
1487
1487
  }
1488
1488
  };
1489
- function Cr(e2, t2) {
1490
- return { fetchFailureCount: 0, fetchFailureReason: null, fetchStatus: pr(t2.networkMode) ? `fetching` : `paused`, ...e2 === void 0 && { error: null, status: `pending` } };
1489
+ function Sr(e2, t2) {
1490
+ return { fetchFailureCount: 0, fetchFailureReason: null, fetchStatus: fr(t2.networkMode) ? `fetching` : `paused`, ...e2 === void 0 && { error: null, status: `pending` } };
1491
1491
  }
1492
- function wr(e2, t2) {
1492
+ function Cr(e2, t2) {
1493
1493
  return { data: e2, dataUpdatedAt: t2 ?? Date.now(), error: null, isInvalidated: false, status: `success` };
1494
1494
  }
1495
- function Tr(e2) {
1495
+ function wr(e2) {
1496
1496
  let t2 = typeof e2.initialData == `function` ? e2.initialData() : e2.initialData, n2 = t2 !== void 0, r2 = n2 ? typeof e2.initialDataUpdatedAt == `function` ? e2.initialDataUpdatedAt() : e2.initialDataUpdatedAt : 0;
1497
1497
  return { data: t2, dataUpdateCount: 0, dataUpdatedAt: n2 ? r2 ?? Date.now() : 0, error: null, errorUpdateCount: 0, errorUpdatedAt: 0, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: null, isInvalidated: false, status: n2 ? `success` : `pending`, fetchStatus: `idle` };
1498
1498
  }
1499
- var Er = class extends Nn {
1499
+ var Tr = class extends N {
1500
1500
  constructor(e2, t2) {
1501
- super(), this.options = t2, this.#e = e2, this.#s = null, this.#o = cr(), this.bindMethods(), this.setOptions(t2);
1501
+ super(), this.options = t2, this.#e = e2, this.#s = null, this.#o = sr(), this.bindMethods(), this.setOptions(t2);
1502
1502
  }
1503
1503
  #e;
1504
1504
  #t = void 0;
@@ -1519,32 +1519,32 @@ var Er = class extends Nn {
1519
1519
  this.refetch = this.refetch.bind(this);
1520
1520
  }
1521
1521
  onSubscribe() {
1522
- this.listeners.size === 1 && (this.#t.addObserver(this), Or(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
1522
+ this.listeners.size === 1 && (this.#t.addObserver(this), Dr(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
1523
1523
  }
1524
1524
  onUnsubscribe() {
1525
1525
  this.hasListeners() || this.destroy();
1526
1526
  }
1527
1527
  shouldFetchOnReconnect() {
1528
- return kr(this.#t, this.options, this.options.refetchOnReconnect);
1528
+ return Or(this.#t, this.options, this.options.refetchOnReconnect);
1529
1529
  }
1530
1530
  shouldFetchOnWindowFocus() {
1531
- return kr(this.#t, this.options, this.options.refetchOnWindowFocus);
1531
+ return Or(this.#t, this.options, this.options.refetchOnWindowFocus);
1532
1532
  }
1533
1533
  destroy() {
1534
1534
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
1535
1535
  }
1536
1536
  setOptions(e2) {
1537
1537
  let t2 = this.options, n2 = this.#t;
1538
- if (this.options = this.#e.defaultQueryOptions(e2), this.options.enabled !== void 0 && typeof this.options.enabled != `boolean` && typeof this.options.enabled != `function` && typeof I(this.options.enabled, this.#t) != `boolean`) throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);
1539
- this.#S(), this.#t.setOptions(this.options), t2._defaulted && !Jn(this.options, t2) && this.#e.getQueryCache().notify({ type: `observerOptionsUpdated`, query: this.#t, observer: this });
1538
+ if (this.options = this.#e.defaultQueryOptions(e2), this.options.enabled !== void 0 && typeof this.options.enabled != `boolean` && typeof this.options.enabled != `function` && typeof L(this.options.enabled, this.#t) != `boolean`) throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);
1539
+ this.#S(), this.#t.setOptions(this.options), t2._defaulted && !qn(this.options, t2) && this.#e.getQueryCache().notify({ type: `observerOptionsUpdated`, query: this.#t, observer: this });
1540
1540
  let r2 = this.hasListeners();
1541
- r2 && Ar(this.#t, n2, this.options, t2) && this.#h(), this.updateResult(), r2 && (this.#t !== n2 || I(this.options.enabled, this.#t) !== I(t2.enabled, this.#t) || F(this.options.staleTime, this.#t) !== F(t2.staleTime, this.#t)) && this.#g();
1541
+ r2 && kr(this.#t, n2, this.options, t2) && this.#h(), this.updateResult(), r2 && (this.#t !== n2 || L(this.options.enabled, this.#t) !== L(t2.enabled, this.#t) || I(this.options.staleTime, this.#t) !== I(t2.staleTime, this.#t)) && this.#g();
1542
1542
  let i2 = this.#_();
1543
- r2 && (this.#t !== n2 || I(this.options.enabled, this.#t) !== I(t2.enabled, this.#t) || i2 !== this.#p) && this.#v(i2);
1543
+ r2 && (this.#t !== n2 || L(this.options.enabled, this.#t) !== L(t2.enabled, this.#t) || i2 !== this.#p) && this.#v(i2);
1544
1544
  }
1545
1545
  getOptimisticResult(e2) {
1546
1546
  let t2 = this.#e.getQueryCache().build(this.#e, e2), n2 = this.createResult(t2, e2);
1547
- return Mr(this, n2) && (this.#r = n2, this.#a = this.options, this.#i = this.#t.state), n2;
1547
+ return jr(this, n2) && (this.#r = n2, this.#a = this.options, this.#i = this.#t.state), n2;
1548
1548
  }
1549
1549
  getCurrentResult() {
1550
1550
  return this.#r;
@@ -1571,14 +1571,14 @@ var Er = class extends Nn {
1571
1571
  #h(e2) {
1572
1572
  this.#S();
1573
1573
  let t2 = this.#t.fetch(this.options, e2);
1574
- return e2?.throwOnError || (t2 = t2.catch(P)), t2;
1574
+ return e2?.throwOnError || (t2 = t2.catch(F)), t2;
1575
1575
  }
1576
1576
  #g() {
1577
1577
  this.#b();
1578
- let e2 = F(this.options.staleTime, this.#t);
1579
- if (sr.isServer() || this.#r.isStale || !zn(e2)) return;
1580
- let t2 = Bn(this.#r.dataUpdatedAt, e2) + 1;
1581
- this.#d = N.setTimeout(() => {
1578
+ let e2 = I(this.options.staleTime, this.#t);
1579
+ if (or.isServer() || this.#r.isStale || !Rn(e2)) return;
1580
+ let t2 = zn(this.#r.dataUpdatedAt, e2) + 1;
1581
+ this.#d = P.setTimeout(() => {
1582
1582
  this.#r.isStale || this.updateResult();
1583
1583
  }, t2);
1584
1584
  }
@@ -1586,47 +1586,47 @@ var Er = class extends Nn {
1586
1586
  return (typeof this.options.refetchInterval == `function` ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? false;
1587
1587
  }
1588
1588
  #v(e2) {
1589
- this.#x(), this.#p = e2, !sr.isServer() && I(this.options.enabled, this.#t) !== false && zn(this.#p) && this.#p !== 0 && (this.#f = N.setInterval(() => {
1590
- (this.options.refetchIntervalInBackground || Pn.isFocused()) && this.#h();
1589
+ this.#x(), this.#p = e2, !or.isServer() && L(this.options.enabled, this.#t) !== false && Rn(this.#p) && this.#p !== 0 && (this.#f = P.setInterval(() => {
1590
+ (this.options.refetchIntervalInBackground || Nn.isFocused()) && this.#h();
1591
1591
  }, this.#p));
1592
1592
  }
1593
1593
  #y() {
1594
1594
  this.#g(), this.#v(this.#_());
1595
1595
  }
1596
1596
  #b() {
1597
- this.#d !== void 0 && (N.clearTimeout(this.#d), this.#d = void 0);
1597
+ this.#d !== void 0 && (P.clearTimeout(this.#d), this.#d = void 0);
1598
1598
  }
1599
1599
  #x() {
1600
- this.#f !== void 0 && (N.clearInterval(this.#f), this.#f = void 0);
1600
+ this.#f !== void 0 && (P.clearInterval(this.#f), this.#f = void 0);
1601
1601
  }
1602
1602
  createResult(e2, t2) {
1603
1603
  let n2 = this.#t, r2 = this.options, i2 = this.#r, a2 = this.#i, o2 = this.#a, s2 = e2 === n2 ? this.#n : e2.state, { state: c2 } = e2, l2 = { ...c2 }, u2 = false, d2;
1604
1604
  if (t2._optimisticResults) {
1605
- let i3 = this.hasListeners(), a3 = !i3 && Or(e2, t2), o3 = i3 && Ar(e2, n2, t2, r2);
1606
- (a3 || o3) && (l2 = { ...l2, ...Cr(c2.data, e2.options) }), t2._optimisticResults === `isRestoring` && (l2.fetchStatus = `idle`);
1605
+ let i3 = this.hasListeners(), a3 = !i3 && Dr(e2, t2), o3 = i3 && kr(e2, n2, t2, r2);
1606
+ (a3 || o3) && (l2 = { ...l2, ...Sr(c2.data, e2.options) }), t2._optimisticResults === `isRestoring` && (l2.fetchStatus = `idle`);
1607
1607
  }
1608
1608
  let { error: f2, errorUpdatedAt: p2, status: m2 } = l2;
1609
1609
  d2 = l2.data;
1610
1610
  let h2 = false;
1611
1611
  if (t2.placeholderData !== void 0 && d2 === void 0 && m2 === `pending`) {
1612
1612
  let e3;
1613
- i2?.isPlaceholderData && t2.placeholderData === o2?.placeholderData ? (e3 = i2.data, h2 = true) : e3 = typeof t2.placeholderData == `function` ? t2.placeholderData(this.#u?.state.data, this.#u) : t2.placeholderData, e3 !== void 0 && (m2 = `success`, d2 = $n(i2?.data, e3, t2), u2 = true);
1613
+ i2?.isPlaceholderData && t2.placeholderData === o2?.placeholderData ? (e3 = i2.data, h2 = true) : e3 = typeof t2.placeholderData == `function` ? t2.placeholderData(this.#u?.state.data, this.#u) : t2.placeholderData, e3 !== void 0 && (m2 = `success`, d2 = Qn(i2?.data, e3, t2), u2 = true);
1614
1614
  }
1615
1615
  if (t2.select && d2 !== void 0 && !h2) {
1616
1616
  if (i2 && d2 === a2?.data && t2.select === this.#c) d2 = this.#l;
1617
1617
  else try {
1618
- this.#c = t2.select, d2 = t2.select(d2), d2 = $n(i2?.data, d2, t2), this.#l = d2, this.#s = null;
1618
+ this.#c = t2.select, d2 = t2.select(d2), d2 = Qn(i2?.data, d2, t2), this.#l = d2, this.#s = null;
1619
1619
  } catch (e3) {
1620
1620
  this.#s = e3;
1621
1621
  }
1622
1622
  }
1623
1623
  this.#s && (f2 = this.#s, d2 = this.#l, p2 = Date.now(), m2 = `error`);
1624
- let ee2 = l2.fetchStatus === `fetching`, te2 = m2 === `pending`, g2 = m2 === `error`, _2 = te2 && ee2, ne2 = d2 !== void 0, v2 = { status: m2, fetchStatus: l2.fetchStatus, isPending: te2, isSuccess: m2 === `success`, isError: g2, isInitialLoading: _2, isLoading: _2, data: d2, dataUpdatedAt: l2.dataUpdatedAt, error: f2, errorUpdatedAt: p2, failureCount: l2.fetchFailureCount, failureReason: l2.fetchFailureReason, errorUpdateCount: l2.errorUpdateCount, isFetched: e2.isFetched(), isFetchedAfterMount: l2.dataUpdateCount > s2.dataUpdateCount || l2.errorUpdateCount > s2.errorUpdateCount, isFetching: ee2, isRefetching: ee2 && !te2, isLoadingError: g2 && !ne2, isPaused: l2.fetchStatus === `paused`, isPlaceholderData: u2, isRefetchError: g2 && ne2, isStale: jr(e2, t2), refetch: this.refetch, promise: this.#o, isEnabled: I(t2.enabled, e2) !== false };
1624
+ let ee2 = l2.fetchStatus === `fetching`, te2 = m2 === `pending`, g2 = m2 === `error`, _2 = te2 && ee2, ne2 = d2 !== void 0, v2 = { status: m2, fetchStatus: l2.fetchStatus, isPending: te2, isSuccess: m2 === `success`, isError: g2, isInitialLoading: _2, isLoading: _2, data: d2, dataUpdatedAt: l2.dataUpdatedAt, error: f2, errorUpdatedAt: p2, failureCount: l2.fetchFailureCount, failureReason: l2.fetchFailureReason, errorUpdateCount: l2.errorUpdateCount, isFetched: e2.isFetched(), isFetchedAfterMount: l2.dataUpdateCount > s2.dataUpdateCount || l2.errorUpdateCount > s2.errorUpdateCount, isFetching: ee2, isRefetching: ee2 && !te2, isLoadingError: g2 && !ne2, isPaused: l2.fetchStatus === `paused`, isPlaceholderData: u2, isRefetchError: g2 && ne2, isStale: Ar(e2, t2), refetch: this.refetch, promise: this.#o, isEnabled: L(t2.enabled, e2) !== false };
1625
1625
  if (this.options.experimental_prefetchInRender) {
1626
1626
  let t3 = v2.data !== void 0, r3 = v2.status === `error` && !t3, i3 = (e3) => {
1627
1627
  r3 ? e3.reject(v2.error) : t3 && e3.resolve(v2.data);
1628
1628
  }, a3 = () => {
1629
- let e3 = this.#o = v2.promise = cr();
1629
+ let e3 = this.#o = v2.promise = sr();
1630
1630
  i3(e3);
1631
1631
  }, o3 = this.#o;
1632
1632
  switch (o3.status) {
@@ -1644,7 +1644,7 @@ var Er = class extends Nn {
1644
1644
  }
1645
1645
  updateResult() {
1646
1646
  let e2 = this.#r, t2 = this.createResult(this.#t, this.options);
1647
- this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !Jn(t2, e2) && (this.#r = t2, this.#C({ listeners: (() => {
1647
+ this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !qn(t2, e2) && (this.#r = t2, this.#C({ listeners: (() => {
1648
1648
  if (!e2) return true;
1649
1649
  let { notifyOnChangeProps: t3 } = this.options, n2 = typeof t3 == `function` ? t3() : t3;
1650
1650
  if (n2 === `all` || !n2 && !this.#m.size) return true;
@@ -1665,36 +1665,36 @@ var Er = class extends Nn {
1665
1665
  this.updateResult(), this.hasListeners() && this.#y();
1666
1666
  }
1667
1667
  #C(e2) {
1668
- L.batch(() => {
1668
+ R.batch(() => {
1669
1669
  e2.listeners && this.listeners.forEach((e3) => {
1670
1670
  e3(this.#r);
1671
1671
  }), this.#e.getQueryCache().notify({ query: this.#t, type: `observerResultsUpdated` });
1672
1672
  });
1673
1673
  }
1674
1674
  };
1675
- function Dr(e2, t2) {
1676
- return I(t2.enabled, e2) !== false && e2.state.data === void 0 && (e2.state.status !== `error` || I(t2.retryOnMount, e2) !== false);
1675
+ function Er(e2, t2) {
1676
+ return L(t2.enabled, e2) !== false && e2.state.data === void 0 && (e2.state.status !== `error` || L(t2.retryOnMount, e2) !== false);
1677
1677
  }
1678
- function Or(e2, t2) {
1679
- return Dr(e2, t2) || e2.state.data !== void 0 && kr(e2, t2, t2.refetchOnMount);
1678
+ function Dr(e2, t2) {
1679
+ return Er(e2, t2) || e2.state.data !== void 0 && Or(e2, t2, t2.refetchOnMount);
1680
1680
  }
1681
- function kr(e2, t2, n2) {
1682
- if (I(t2.enabled, e2) !== false && F(t2.staleTime, e2) !== `static`) {
1681
+ function Or(e2, t2, n2) {
1682
+ if (L(t2.enabled, e2) !== false && I(t2.staleTime, e2) !== `static`) {
1683
1683
  let r2 = typeof n2 == `function` ? n2(e2) : n2;
1684
- return r2 === `always` || r2 !== false && jr(e2, t2);
1684
+ return r2 === `always` || r2 !== false && Ar(e2, t2);
1685
1685
  }
1686
1686
  return false;
1687
1687
  }
1688
- function Ar(e2, t2, n2, r2) {
1689
- return (e2 !== t2 || I(r2.enabled, e2) === false) && (!n2.suspense || e2.state.status !== `error`) && jr(e2, n2);
1688
+ function kr(e2, t2, n2, r2) {
1689
+ return (e2 !== t2 || L(r2.enabled, e2) === false) && (!n2.suspense || e2.state.status !== `error`) && Ar(e2, n2);
1690
1690
  }
1691
- function jr(e2, t2) {
1692
- return I(t2.enabled, e2) !== false && e2.isStaleByTime(F(t2.staleTime, e2));
1691
+ function Ar(e2, t2) {
1692
+ return L(t2.enabled, e2) !== false && e2.isStaleByTime(I(t2.staleTime, e2));
1693
1693
  }
1694
- function Mr(e2, t2) {
1695
- return !Jn(e2.getCurrentResult(), t2);
1694
+ function jr(e2, t2) {
1695
+ return !qn(e2.getCurrentResult(), t2);
1696
1696
  }
1697
- var Nr = class extends Er {
1697
+ var Mr = class extends Tr {
1698
1698
  constructor(e2, t2) {
1699
1699
  super(e2, t2);
1700
1700
  }
@@ -1715,16 +1715,16 @@ var Nr = class extends Er {
1715
1715
  }
1716
1716
  createResult(e2, t2) {
1717
1717
  let { state: n2 } = e2, r2 = super.createResult(e2, t2), { isFetching: i2, isRefetching: a2, isError: o2, isRefetchError: s2 } = r2, c2 = n2.fetchMeta?.fetchMore?.direction, l2 = o2 && c2 === `forward`, u2 = i2 && c2 === `forward`, d2 = o2 && c2 === `backward`, f2 = i2 && c2 === `backward`;
1718
- return { ...r2, fetchNextPage: this.fetchNextPage, fetchPreviousPage: this.fetchPreviousPage, hasNextPage: br(t2, n2.data), hasPreviousPage: xr(t2, n2.data), isFetchNextPageError: l2, isFetchingNextPage: u2, isFetchPreviousPageError: d2, isFetchingPreviousPage: f2, isRefetchError: s2 && !l2 && !d2, isRefetching: a2 && !u2 && !f2 };
1718
+ return { ...r2, fetchNextPage: this.fetchNextPage, fetchPreviousPage: this.fetchPreviousPage, hasNextPage: yr(t2, n2.data), hasPreviousPage: br(t2, n2.data), isFetchNextPageError: l2, isFetchingNextPage: u2, isFetchPreviousPageError: d2, isFetchingPreviousPage: f2, isRefetchError: s2 && !l2 && !d2, isRefetching: a2 && !u2 && !f2 };
1719
1719
  }
1720
1720
  };
1721
- var Pr = class extends gr {
1721
+ var Nr = class extends hr {
1722
1722
  #e;
1723
1723
  #t;
1724
1724
  #n;
1725
1725
  #r;
1726
1726
  constructor(e2) {
1727
- super(), this.#e = e2.client, this.mutationId = e2.mutationId, this.#n = e2.mutationCache, this.#t = [], this.state = e2.state || Fr(), this.setOptions(e2.options), this.scheduleGc();
1727
+ super(), this.#e = e2.client, this.mutationId = e2.mutationId, this.#n = e2.mutationCache, this.#t = [], this.state = e2.state || Pr(), this.setOptions(e2.options), this.scheduleGc();
1728
1728
  }
1729
1729
  setOptions(e2) {
1730
1730
  this.options = e2, this.updateGcTime(this.options.gcTime);
@@ -1748,7 +1748,7 @@ var Pr = class extends gr {
1748
1748
  let t2 = () => {
1749
1749
  this.#i({ type: `continue` });
1750
1750
  }, n2 = { client: this.#e, meta: this.options.meta, mutationKey: this.options.mutationKey };
1751
- this.#r = hr({ fn: () => this.options.mutationFn ? this.options.mutationFn(e2, n2) : Promise.reject(Error(`No mutationFn found`)), onFail: (e3, t3) => {
1751
+ this.#r = mr({ fn: () => this.options.mutationFn ? this.options.mutationFn(e2, n2) : Promise.reject(Error(`No mutationFn found`)), onFail: (e3, t3) => {
1752
1752
  this.#i({ type: `failed`, failureCount: e3, error: t3 });
1753
1753
  }, onPause: () => {
1754
1754
  this.#i({ type: `pause` });
@@ -1806,17 +1806,17 @@ var Pr = class extends gr {
1806
1806
  return { ...t3, data: void 0, error: e2.error, failureCount: t3.failureCount + 1, failureReason: e2.error, isPaused: false, status: `error` };
1807
1807
  }
1808
1808
  };
1809
- this.state = t2(this.state), L.batch(() => {
1809
+ this.state = t2(this.state), R.batch(() => {
1810
1810
  this.#t.forEach((t3) => {
1811
1811
  t3.onMutationUpdate(e2);
1812
1812
  }), this.#n.notify({ mutation: this, type: `updated`, action: e2 });
1813
1813
  });
1814
1814
  }
1815
1815
  };
1816
- function Fr() {
1816
+ function Pr() {
1817
1817
  return { context: void 0, data: void 0, error: null, failureCount: 0, failureReason: null, isPaused: false, status: `idle`, variables: void 0, submittedAt: 0 };
1818
1818
  }
1819
- var Ir = class extends Nn {
1819
+ var Fr = class extends N {
1820
1820
  constructor(e2 = {}) {
1821
1821
  super(), this.config = e2, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
1822
1822
  }
@@ -1824,12 +1824,12 @@ var Ir = class extends Nn {
1824
1824
  #t;
1825
1825
  #n;
1826
1826
  build(e2, t2, n2) {
1827
- let r2 = new Pr({ client: e2, mutationCache: this, mutationId: ++this.#n, options: e2.defaultMutationOptions(t2), state: n2 });
1827
+ let r2 = new Nr({ client: e2, mutationCache: this, mutationId: ++this.#n, options: e2.defaultMutationOptions(t2), state: n2 });
1828
1828
  return this.add(r2), r2;
1829
1829
  }
1830
1830
  add(e2) {
1831
1831
  this.#e.add(e2);
1832
- let t2 = Lr(e2);
1832
+ let t2 = Ir(e2);
1833
1833
  if (typeof t2 == `string`) {
1834
1834
  let n2 = this.#t.get(t2);
1835
1835
  n2 ? n2.push(e2) : this.#t.set(t2, [e2]);
@@ -1838,7 +1838,7 @@ var Ir = class extends Nn {
1838
1838
  }
1839
1839
  remove(e2) {
1840
1840
  if (this.#e.delete(e2)) {
1841
- let t2 = Lr(e2);
1841
+ let t2 = Ir(e2);
1842
1842
  if (typeof t2 == `string`) {
1843
1843
  let n2 = this.#t.get(t2);
1844
1844
  if (n2) {
@@ -1852,7 +1852,7 @@ var Ir = class extends Nn {
1852
1852
  this.notify({ type: `removed`, mutation: e2 });
1853
1853
  }
1854
1854
  canRun(e2) {
1855
- let t2 = Lr(e2);
1855
+ let t2 = Ir(e2);
1856
1856
  if (typeof t2 == `string`) {
1857
1857
  let n2 = this.#t.get(t2)?.find((e3) => e3.state.status === `pending`);
1858
1858
  return !n2 || n2 === e2;
@@ -1860,11 +1860,11 @@ var Ir = class extends Nn {
1860
1860
  return true;
1861
1861
  }
1862
1862
  runNext(e2) {
1863
- let t2 = Lr(e2);
1863
+ let t2 = Ir(e2);
1864
1864
  return typeof t2 == `string` ? this.#t.get(t2)?.find((t3) => t3 !== e2 && t3.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
1865
1865
  }
1866
1866
  clear() {
1867
- L.batch(() => {
1867
+ R.batch(() => {
1868
1868
  this.#e.forEach((e2) => {
1869
1869
  this.notify({ type: `removed`, mutation: e2 });
1870
1870
  }), this.#e.clear(), this.#t.clear();
@@ -1875,13 +1875,13 @@ var Ir = class extends Nn {
1875
1875
  }
1876
1876
  find(e2) {
1877
1877
  let t2 = { exact: true, ...e2 };
1878
- return this.getAll().find((e3) => Hn(t2, e3));
1878
+ return this.getAll().find((e3) => Vn(t2, e3));
1879
1879
  }
1880
1880
  findAll(e2 = {}) {
1881
- return this.getAll().filter((t2) => Hn(e2, t2));
1881
+ return this.getAll().filter((t2) => Vn(e2, t2));
1882
1882
  }
1883
1883
  notify(e2) {
1884
- L.batch(() => {
1884
+ R.batch(() => {
1885
1885
  this.listeners.forEach((t2) => {
1886
1886
  t2(e2);
1887
1887
  });
@@ -1889,21 +1889,21 @@ var Ir = class extends Nn {
1889
1889
  }
1890
1890
  resumePausedMutations() {
1891
1891
  let e2 = this.getAll().filter((e3) => e3.state.isPaused);
1892
- return L.batch(() => Promise.all(e2.map((e3) => e3.continue().catch(P))));
1892
+ return R.batch(() => Promise.all(e2.map((e3) => e3.continue().catch(F))));
1893
1893
  }
1894
1894
  };
1895
- function Lr(e2) {
1895
+ function Ir(e2) {
1896
1896
  return e2.options.scope?.id;
1897
1897
  }
1898
- function Rr(e2, t2) {
1898
+ function Lr(e2, t2) {
1899
1899
  let n2 = new Set(t2);
1900
1900
  return e2.filter((e3) => !n2.has(e3));
1901
1901
  }
1902
- function zr(e2, t2, n2) {
1902
+ function Rr(e2, t2, n2) {
1903
1903
  let r2 = e2.slice(0);
1904
1904
  return r2[t2] = n2, r2;
1905
1905
  }
1906
- var Br = class extends Nn {
1906
+ var zr = class extends N {
1907
1907
  #e;
1908
1908
  #t;
1909
1909
  #n;
@@ -1933,16 +1933,16 @@ var Br = class extends Nn {
1933
1933
  });
1934
1934
  }
1935
1935
  setQueries(e2, t2) {
1936
- this.#n = e2, this.#r = t2, L.batch(() => {
1936
+ this.#n = e2, this.#r = t2, R.batch(() => {
1937
1937
  let e3 = this.#i, t3 = this.#p(this.#n);
1938
1938
  t3.forEach((e4) => e4.observer.setOptions(e4.defaultedQueryOptions));
1939
1939
  let n2 = t3.map((e4) => e4.observer), r2 = n2.map((e4) => e4.getCurrentResult()), i2 = e3.length !== n2.length, a2 = n2.some((t4, n3) => t4 !== e3[n3]), o2 = i2 || a2, s2 = o2 ? true : r2.some((e4, t4) => {
1940
1940
  let n3 = this.#t[t4];
1941
- return !n3 || !Jn(e4, n3);
1941
+ return !n3 || !qn(e4, n3);
1942
1942
  });
1943
- (o2 || s2) && (o2 && (this.#l = t3, this.#i = n2), this.#t = r2, this.hasListeners() && (o2 && (Rr(e3, n2).forEach((e4) => {
1943
+ (o2 || s2) && (o2 && (this.#l = t3, this.#i = n2), this.#t = r2, this.hasListeners() && (o2 && (Lr(e3, n2).forEach((e4) => {
1944
1944
  e4.destroy();
1945
- }), Rr(n2, e3).forEach((e4) => {
1945
+ }), Lr(n2, e3).forEach((e4) => {
1946
1946
  e4.subscribe((t4) => {
1947
1947
  this.#m(e4, t4);
1948
1948
  });
@@ -1975,7 +1975,7 @@ var Br = class extends Nn {
1975
1975
  #d(e2, t2, n2) {
1976
1976
  if (t2) {
1977
1977
  let r2 = this.#c, i2 = n2 !== void 0 && r2 !== void 0 && (r2.length !== n2.length || n2.some((e3, t3) => e3 !== r2[t3]));
1978
- return (!this.#a || this.#t !== this.#s || i2 || t2 !== this.#o) && (this.#o = t2, this.#s = this.#t, n2 !== void 0 && (this.#c = n2), this.#a = qn(this.#a, t2(e2))), this.#a;
1978
+ return (!this.#a || this.#t !== this.#s || i2 || t2 !== this.#o) && (this.#o = t2, this.#s = this.#t, n2 !== void 0 && (this.#c = n2), this.#a = Kn(this.#a, t2(e2))), this.#a;
1979
1979
  }
1980
1980
  return e2;
1981
1981
  }
@@ -1992,18 +1992,18 @@ var Br = class extends Nn {
1992
1992
  });
1993
1993
  let n2 = [];
1994
1994
  return e2.forEach((e3) => {
1995
- let r2 = this.#e.defaultQueryOptions(e3), i2 = t2.get(r2.queryHash)?.shift() ?? new Er(this.#e, r2);
1995
+ let r2 = this.#e.defaultQueryOptions(e3), i2 = t2.get(r2.queryHash)?.shift() ?? new Tr(this.#e, r2);
1996
1996
  n2.push({ defaultedQueryOptions: r2, observer: i2 });
1997
1997
  }), n2;
1998
1998
  }
1999
1999
  #m(e2, t2) {
2000
2000
  let n2 = this.#i.indexOf(e2);
2001
- n2 !== -1 && (this.#t = zr(this.#t, n2, t2), this.#h());
2001
+ n2 !== -1 && (this.#t = Rr(this.#t, n2, t2), this.#h());
2002
2002
  }
2003
2003
  #h() {
2004
2004
  if (this.hasListeners()) {
2005
2005
  let e2 = this.#u(this.#t, this.#l), t2 = this.#f(), n2 = this.#a, r2 = t2 ? n2 : this.#d(e2, this.#r?.combine);
2006
- (t2 || n2 !== r2) && L.batch(() => {
2006
+ (t2 || n2 !== r2) && R.batch(() => {
2007
2007
  this.listeners.forEach((e3) => {
2008
2008
  e3(this.#t);
2009
2009
  });
@@ -2011,14 +2011,14 @@ var Br = class extends Nn {
2011
2011
  }
2012
2012
  }
2013
2013
  };
2014
- var Vr = class extends Nn {
2014
+ var Br = class extends N {
2015
2015
  constructor(e2 = {}) {
2016
2016
  super(), this.config = e2, this.#e = /* @__PURE__ */ new Map();
2017
2017
  }
2018
2018
  #e;
2019
2019
  build(e2, t2, n2) {
2020
- let r2 = t2.queryKey, i2 = t2.queryHash ?? Un(r2, t2), a2 = this.get(i2);
2021
- return a2 || (a2 = new Sr({ client: e2, queryKey: r2, queryHash: i2, options: e2.defaultQueryOptions(t2), state: n2, defaultOptions: e2.getQueryDefaults(r2) }), this.add(a2)), a2;
2020
+ let r2 = t2.queryKey, i2 = t2.queryHash ?? Hn(r2, t2), a2 = this.get(i2);
2021
+ return a2 || (a2 = new xr({ client: e2, queryKey: r2, queryHash: i2, options: e2.defaultQueryOptions(t2), state: n2, defaultOptions: e2.getQueryDefaults(r2) }), this.add(a2)), a2;
2022
2022
  }
2023
2023
  add(e2) {
2024
2024
  this.#e.has(e2.queryHash) || (this.#e.set(e2.queryHash, e2), this.notify({ type: `added`, query: e2 }));
@@ -2028,7 +2028,7 @@ var Vr = class extends Nn {
2028
2028
  t2 && (e2.destroy(), t2 === e2 && this.#e.delete(e2.queryHash), this.notify({ type: `removed`, query: e2 }));
2029
2029
  }
2030
2030
  clear() {
2031
- L.batch(() => {
2031
+ R.batch(() => {
2032
2032
  this.getAll().forEach((e2) => {
2033
2033
  this.remove(e2);
2034
2034
  });
@@ -2042,35 +2042,35 @@ var Vr = class extends Nn {
2042
2042
  }
2043
2043
  find(e2) {
2044
2044
  let t2 = { exact: true, ...e2 };
2045
- return this.getAll().find((e3) => Vn(t2, e3));
2045
+ return this.getAll().find((e3) => Bn(t2, e3));
2046
2046
  }
2047
2047
  findAll(e2 = {}) {
2048
2048
  let t2 = this.getAll();
2049
- return Object.keys(e2).length > 0 ? t2.filter((t3) => Vn(e2, t3)) : t2;
2049
+ return Object.keys(e2).length > 0 ? t2.filter((t3) => Bn(e2, t3)) : t2;
2050
2050
  }
2051
2051
  notify(e2) {
2052
- L.batch(() => {
2052
+ R.batch(() => {
2053
2053
  this.listeners.forEach((t2) => {
2054
2054
  t2(e2);
2055
2055
  });
2056
2056
  });
2057
2057
  }
2058
2058
  onFocus() {
2059
- L.batch(() => {
2059
+ R.batch(() => {
2060
2060
  this.getAll().forEach((e2) => {
2061
2061
  e2.onFocus();
2062
2062
  });
2063
2063
  });
2064
2064
  }
2065
2065
  onOnline() {
2066
- L.batch(() => {
2066
+ R.batch(() => {
2067
2067
  this.getAll().forEach((e2) => {
2068
2068
  e2.onOnline();
2069
2069
  });
2070
2070
  });
2071
2071
  }
2072
2072
  };
2073
- var Hr = class {
2073
+ var Vr = class {
2074
2074
  #e;
2075
2075
  #t;
2076
2076
  #n;
@@ -2080,12 +2080,12 @@ var Hr = class {
2080
2080
  #o;
2081
2081
  #s;
2082
2082
  constructor(e2 = {}) {
2083
- this.#e = e2.queryCache || new Vr(), this.#t = e2.mutationCache || new Ir(), this.#n = e2.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
2083
+ this.#e = e2.queryCache || new Br(), this.#t = e2.mutationCache || new Fr(), this.#n = e2.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
2084
2084
  }
2085
2085
  mount() {
2086
- this.#a++, this.#a === 1 && (this.#o = Pn.subscribe(async (e2) => {
2086
+ this.#a++, this.#a === 1 && (this.#o = Nn.subscribe(async (e2) => {
2087
2087
  e2 && (await this.resumePausedMutations(), this.#e.onFocus());
2088
- }), this.#s = dr.subscribe(async (e2) => {
2088
+ }), this.#s = ur.subscribe(async (e2) => {
2089
2089
  e2 && (await this.resumePausedMutations(), this.#e.onOnline());
2090
2090
  }));
2091
2091
  }
@@ -2104,17 +2104,17 @@ var Hr = class {
2104
2104
  }
2105
2105
  ensureQueryData(e2) {
2106
2106
  let t2 = this.defaultQueryOptions(e2), n2 = this.#e.build(this, t2), r2 = n2.state.data;
2107
- return r2 === void 0 ? this.fetchQuery(e2) : (e2.revalidateIfStale && n2.isStaleByTime(F(t2.staleTime, n2)) && this.prefetchQuery(t2), Promise.resolve(r2));
2107
+ return r2 === void 0 ? this.fetchQuery(e2) : (e2.revalidateIfStale && n2.isStaleByTime(I(t2.staleTime, n2)) && this.prefetchQuery(t2), Promise.resolve(r2));
2108
2108
  }
2109
2109
  getQueriesData(e2) {
2110
2110
  return this.#e.findAll(e2).map(({ queryKey: e3, state: t2 }) => [e3, t2.data]);
2111
2111
  }
2112
2112
  setQueryData(e2, t2, n2) {
2113
- let r2 = this.defaultQueryOptions({ queryKey: e2 }), i2 = this.#e.get(r2.queryHash)?.state.data, a2 = Rn(t2, i2);
2113
+ let r2 = this.defaultQueryOptions({ queryKey: e2 }), i2 = this.#e.get(r2.queryHash)?.state.data, a2 = Ln(t2, i2);
2114
2114
  if (a2 !== void 0) return this.#e.build(this, r2).setData(a2, { ...n2, manual: true });
2115
2115
  }
2116
2116
  setQueriesData(e2, t2, n2) {
2117
- return L.batch(() => this.#e.findAll(e2).map(({ queryKey: e3 }) => [e3, this.setQueryData(e3, t2, n2)]));
2117
+ return R.batch(() => this.#e.findAll(e2).map(({ queryKey: e3 }) => [e3, this.setQueryData(e3, t2, n2)]));
2118
2118
  }
2119
2119
  getQueryState(e2) {
2120
2120
  let t2 = this.defaultQueryOptions({ queryKey: e2 });
@@ -2122,7 +2122,7 @@ var Hr = class {
2122
2122
  }
2123
2123
  removeQueries(e2) {
2124
2124
  let t2 = this.#e;
2125
- L.batch(() => {
2125
+ R.batch(() => {
2126
2126
  t2.findAll(e2).forEach((e3) => {
2127
2127
  t2.remove(e3);
2128
2128
  });
@@ -2130,46 +2130,46 @@ var Hr = class {
2130
2130
  }
2131
2131
  resetQueries(e2, t2) {
2132
2132
  let n2 = this.#e;
2133
- return L.batch(() => (n2.findAll(e2).forEach((e3) => {
2133
+ return R.batch(() => (n2.findAll(e2).forEach((e3) => {
2134
2134
  e3.reset();
2135
2135
  }), this.refetchQueries({ type: `active`, ...e2 }, t2)));
2136
2136
  }
2137
2137
  cancelQueries(e2, t2 = {}) {
2138
- let n2 = { revert: true, ...t2 }, r2 = L.batch(() => this.#e.findAll(e2).map((e3) => e3.cancel(n2)));
2139
- return Promise.all(r2).then(P).catch(P);
2138
+ let n2 = { revert: true, ...t2 }, r2 = R.batch(() => this.#e.findAll(e2).map((e3) => e3.cancel(n2)));
2139
+ return Promise.all(r2).then(F).catch(F);
2140
2140
  }
2141
2141
  invalidateQueries(e2, t2 = {}) {
2142
- return L.batch(() => (this.#e.findAll(e2).forEach((e3) => {
2142
+ return R.batch(() => (this.#e.findAll(e2).forEach((e3) => {
2143
2143
  e3.invalidate();
2144
2144
  }), e2?.refetchType === `none` ? Promise.resolve() : this.refetchQueries({ ...e2, type: e2?.refetchType ?? e2?.type ?? `active` }, t2)));
2145
2145
  }
2146
2146
  refetchQueries(e2, t2 = {}) {
2147
- let n2 = { ...t2, cancelRefetch: t2.cancelRefetch ?? true }, r2 = L.batch(() => this.#e.findAll(e2).filter((e3) => !e3.isDisabled() && !e3.isStatic()).map((e3) => {
2147
+ let n2 = { ...t2, cancelRefetch: t2.cancelRefetch ?? true }, r2 = R.batch(() => this.#e.findAll(e2).filter((e3) => !e3.isDisabled() && !e3.isStatic()).map((e3) => {
2148
2148
  let t3 = e3.fetch(void 0, n2);
2149
- return n2.throwOnError || (t3 = t3.catch(P)), e3.state.fetchStatus === `paused` ? Promise.resolve() : t3;
2149
+ return n2.throwOnError || (t3 = t3.catch(F)), e3.state.fetchStatus === `paused` ? Promise.resolve() : t3;
2150
2150
  }));
2151
- return Promise.all(r2).then(P);
2151
+ return Promise.all(r2).then(F);
2152
2152
  }
2153
2153
  fetchQuery(e2) {
2154
2154
  let t2 = this.defaultQueryOptions(e2);
2155
2155
  t2.retry === void 0 && (t2.retry = false);
2156
2156
  let n2 = this.#e.build(this, t2);
2157
- return n2.isStaleByTime(F(t2.staleTime, n2)) ? n2.fetch(t2) : Promise.resolve(n2.state.data);
2157
+ return n2.isStaleByTime(I(t2.staleTime, n2)) ? n2.fetch(t2) : Promise.resolve(n2.state.data);
2158
2158
  }
2159
2159
  prefetchQuery(e2) {
2160
- return this.fetchQuery(e2).then(P).catch(P);
2160
+ return this.fetchQuery(e2).then(F).catch(F);
2161
2161
  }
2162
2162
  fetchInfiniteQuery(e2) {
2163
2163
  return e2._type = `infinite`, this.fetchQuery(e2);
2164
2164
  }
2165
2165
  prefetchInfiniteQuery(e2) {
2166
- return this.fetchInfiniteQuery(e2).then(P).catch(P);
2166
+ return this.fetchInfiniteQuery(e2).then(F).catch(F);
2167
2167
  }
2168
2168
  ensureInfiniteQueryData(e2) {
2169
2169
  return e2._type = `infinite`, this.ensureQueryData(e2);
2170
2170
  }
2171
2171
  resumePausedMutations() {
2172
- return dr.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
2172
+ return ur.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
2173
2173
  }
2174
2174
  getQueryCache() {
2175
2175
  return this.#e;
@@ -2184,27 +2184,27 @@ var Hr = class {
2184
2184
  this.#n = e2;
2185
2185
  }
2186
2186
  setQueryDefaults(e2, t2) {
2187
- this.#r.set(Wn(e2), { queryKey: e2, defaultOptions: t2 });
2187
+ this.#r.set(Un(e2), { queryKey: e2, defaultOptions: t2 });
2188
2188
  }
2189
2189
  getQueryDefaults(e2) {
2190
2190
  let t2 = [...this.#r.values()], n2 = {};
2191
2191
  return t2.forEach((t3) => {
2192
- Gn(e2, t3.queryKey) && Object.assign(n2, t3.defaultOptions);
2192
+ Wn(e2, t3.queryKey) && Object.assign(n2, t3.defaultOptions);
2193
2193
  }), n2;
2194
2194
  }
2195
2195
  setMutationDefaults(e2, t2) {
2196
- this.#i.set(Wn(e2), { mutationKey: e2, defaultOptions: t2 });
2196
+ this.#i.set(Un(e2), { mutationKey: e2, defaultOptions: t2 });
2197
2197
  }
2198
2198
  getMutationDefaults(e2) {
2199
2199
  let t2 = [...this.#i.values()], n2 = {};
2200
2200
  return t2.forEach((t3) => {
2201
- Gn(e2, t3.mutationKey) && Object.assign(n2, t3.defaultOptions);
2201
+ Wn(e2, t3.mutationKey) && Object.assign(n2, t3.defaultOptions);
2202
2202
  }), n2;
2203
2203
  }
2204
2204
  defaultQueryOptions(e2) {
2205
2205
  if (e2._defaulted) return e2;
2206
2206
  let t2 = { ...this.#n.queries, ...this.getQueryDefaults(e2.queryKey), ...e2, _defaulted: true };
2207
- return t2.queryHash ||= Un(t2.queryKey, t2), t2.refetchOnReconnect === void 0 && (t2.refetchOnReconnect = t2.networkMode !== `always`), t2.throwOnError === void 0 && (t2.throwOnError = !!t2.suspense), !t2.networkMode && t2.persister && (t2.networkMode = `offlineFirst`), t2.queryFn === rr && (t2.enabled = false), t2;
2207
+ return t2.queryHash ||= Hn(t2.queryKey, t2), t2.refetchOnReconnect === void 0 && (t2.refetchOnReconnect = t2.networkMode !== `always`), t2.throwOnError === void 0 && (t2.throwOnError = !!t2.suspense), !t2.networkMode && t2.persister && (t2.networkMode = `offlineFirst`), t2.queryFn === nr && (t2.enabled = false), t2;
2208
2208
  }
2209
2209
  defaultMutationOptions(e2) {
2210
2210
  return e2?._defaulted ? e2 : { ...this.#n.mutations, ...e2?.mutationKey && this.getMutationDefaults(e2.mutationKey), ...e2, _defaulted: true };
@@ -2213,20 +2213,20 @@ var Hr = class {
2213
2213
  this.#e.clear(), this.#t.clear();
2214
2214
  }
2215
2215
  };
2216
- var Ur = e.createContext(void 0);
2217
- var Wr = (t2) => {
2218
- let n2 = e.useContext(Ur);
2216
+ var Hr = e.createContext(void 0);
2217
+ var Ur = (t2) => {
2218
+ let n2 = e.useContext(Hr);
2219
2219
  if (t2) return t2;
2220
2220
  if (!n2) throw Error(`No QueryClient set, use QueryClientProvider to set one`);
2221
2221
  return n2;
2222
2222
  };
2223
- var Gr = ({ client: t2, children: n2 }) => (e.useEffect(() => (t2.mount(), () => {
2223
+ var Wr = ({ client: t2, children: n2 }) => (e.useEffect(() => (t2.mount(), () => {
2224
2224
  t2.unmount();
2225
- }), [t2]), (0, import_jsx_runtime.jsx)(Ur.Provider, { value: t2, children: n2 }));
2226
- var Kr = e.createContext(false);
2227
- var qr = () => e.useContext(Kr);
2228
- Kr.Provider;
2229
- function Jr() {
2225
+ }), [t2]), (0, import_jsx_runtime.jsx)(Hr.Provider, { value: t2, children: n2 }));
2226
+ var Gr = e.createContext(false);
2227
+ var Kr = () => e.useContext(Gr);
2228
+ Gr.Provider;
2229
+ function qr() {
2230
2230
  let e2 = false;
2231
2231
  return { clearReset: () => {
2232
2232
  e2 = false;
@@ -2234,87 +2234,87 @@ function Jr() {
2234
2234
  e2 = true;
2235
2235
  }, isReset: () => e2 };
2236
2236
  }
2237
- var Yr = e.createContext(Jr());
2238
- var Xr = () => e.useContext(Yr);
2239
- var Zr = (e2, t2, n2) => {
2240
- let r2 = n2?.state.error && typeof e2.throwOnError == `function` ? ar(e2.throwOnError, [n2.state.error, n2]) : e2.throwOnError;
2237
+ var Jr = e.createContext(qr());
2238
+ var Yr = () => e.useContext(Jr);
2239
+ var Xr = (e2, t2, n2) => {
2240
+ let r2 = n2?.state.error && typeof e2.throwOnError == `function` ? ir(e2.throwOnError, [n2.state.error, n2]) : e2.throwOnError;
2241
2241
  (e2.suspense || e2.experimental_prefetchInRender || r2) && (t2.isReset() || (e2.retryOnMount = false));
2242
2242
  };
2243
- var Qr = (t2) => {
2243
+ var Zr = (t2) => {
2244
2244
  e.useEffect(() => {
2245
2245
  t2.clearReset();
2246
2246
  }, [t2]);
2247
2247
  };
2248
- var $r = ({ result: e2, errorResetBoundary: t2, throwOnError: n2, query: r2, suspense: i2 }) => e2.isError && !t2.isReset() && !e2.isFetching && r2 && (i2 && e2.data === void 0 || ar(n2, [e2.error, r2]));
2249
- var ei = (e2) => {
2248
+ var Qr = ({ result: e2, errorResetBoundary: t2, throwOnError: n2, query: r2, suspense: i2 }) => e2.isError && !t2.isReset() && !e2.isFetching && r2 && (i2 && e2.data === void 0 || ir(n2, [e2.error, r2]));
2249
+ var $r = (e2) => {
2250
2250
  if (e2.suspense) {
2251
2251
  let t2 = 1e3, n2 = (e3) => e3 === `static` ? e3 : Math.max(e3 ?? t2, t2), r2 = e2.staleTime;
2252
2252
  e2.staleTime = typeof r2 == `function` ? (...e3) => n2(r2(...e3)) : n2(r2), typeof e2.gcTime == `number` && (e2.gcTime = Math.max(e2.gcTime, t2));
2253
2253
  }
2254
2254
  };
2255
- var ti = (e2, t2) => e2.isLoading && e2.isFetching && !t2;
2256
- var ni = (e2, t2) => e2?.suspense && t2.isPending;
2257
- var ri = (e2, t2, n2) => t2.fetchOptimistic(e2).catch(() => {
2255
+ var ei = (e2, t2) => e2.isLoading && e2.isFetching && !t2;
2256
+ var ti = (e2, t2) => e2?.suspense && t2.isPending;
2257
+ var ni = (e2, t2, n2) => t2.fetchOptimistic(e2).catch(() => {
2258
2258
  n2.clearReset();
2259
2259
  });
2260
- function ii({ queries: t2, ...n2 }, r2) {
2261
- let i2 = Wr(r2), a2 = qr(), o2 = Xr(), s2 = e.useMemo(() => t2.map((e2) => {
2260
+ function ri({ queries: t2, ...n2 }, r2) {
2261
+ let i2 = Ur(r2), a2 = Kr(), o2 = Yr(), s2 = e.useMemo(() => t2.map((e2) => {
2262
2262
  let t3 = i2.defaultQueryOptions(e2);
2263
2263
  return t3._optimisticResults = a2 ? `isRestoring` : `optimistic`, t3;
2264
2264
  }), [t2, i2, a2]);
2265
2265
  s2.forEach((e2) => {
2266
- ei(e2);
2266
+ $r(e2);
2267
2267
  let t3 = i2.getQueryCache().get(e2.queryHash);
2268
- Zr(e2, o2, t3);
2269
- }), Qr(o2);
2270
- let [c2] = e.useState(() => new Br(i2, s2, n2)), [l2, u2, d2] = c2.getOptimisticResult(s2, n2.combine), f2 = !a2 && n2.subscribed !== false;
2271
- e.useSyncExternalStore(e.useCallback((e2) => f2 ? c2.subscribe(L.batchCalls(e2)) : P, [c2, f2]), () => c2.getCurrentResult(), () => c2.getCurrentResult()), e.useEffect(() => {
2268
+ Xr(e2, o2, t3);
2269
+ }), Zr(o2);
2270
+ let [c2] = e.useState(() => new zr(i2, s2, n2)), [l2, u2, d2] = c2.getOptimisticResult(s2, n2.combine), f2 = !a2 && n2.subscribed !== false;
2271
+ e.useSyncExternalStore(e.useCallback((e2) => f2 ? c2.subscribe(R.batchCalls(e2)) : F, [c2, f2]), () => c2.getCurrentResult(), () => c2.getCurrentResult()), e.useEffect(() => {
2272
2272
  c2.setQueries(s2, n2);
2273
2273
  }, [s2, n2, c2]);
2274
- let p2 = l2.some((e2, t3) => ni(s2[t3], e2)) ? l2.flatMap((e2, t3) => {
2274
+ let p2 = l2.some((e2, t3) => ti(s2[t3], e2)) ? l2.flatMap((e2, t3) => {
2275
2275
  let n3 = s2[t3];
2276
- return n3 && ni(n3, e2) ? ri(n3, new Er(i2, n3), o2) : [];
2276
+ return n3 && ti(n3, e2) ? ni(n3, new Tr(i2, n3), o2) : [];
2277
2277
  }) : [];
2278
2278
  if (p2.length > 0) throw Promise.all(p2);
2279
2279
  let m2 = l2.find((e2, t3) => {
2280
2280
  let n3 = s2[t3];
2281
- return n3 && $r({ result: e2, errorResetBoundary: o2, throwOnError: n3.throwOnError, query: i2.getQueryCache().get(n3.queryHash), suspense: n3.suspense });
2281
+ return n3 && Qr({ result: e2, errorResetBoundary: o2, throwOnError: n3.throwOnError, query: i2.getQueryCache().get(n3.queryHash), suspense: n3.suspense });
2282
2282
  });
2283
2283
  if (m2?.error) throw m2.error;
2284
2284
  return u2(d2());
2285
2285
  }
2286
- function ai(t2, n2, r2) {
2287
- let i2 = qr(), a2 = Xr(), o2 = Wr(r2), s2 = o2.defaultQueryOptions(t2);
2286
+ function ii(t2, n2, r2) {
2287
+ let i2 = Kr(), a2 = Yr(), o2 = Ur(r2), s2 = o2.defaultQueryOptions(t2);
2288
2288
  o2.getDefaultOptions().queries?._experimental_beforeQuery?.(s2);
2289
2289
  let c2 = o2.getQueryCache().get(s2.queryHash), l2 = t2.subscribed !== false;
2290
- s2._optimisticResults = i2 ? `isRestoring` : l2 ? `optimistic` : void 0, ei(s2), Zr(s2, a2, c2), Qr(a2);
2290
+ s2._optimisticResults = i2 ? `isRestoring` : l2 ? `optimistic` : void 0, $r(s2), Xr(s2, a2, c2), Zr(a2);
2291
2291
  let u2 = !o2.getQueryCache().get(s2.queryHash), [d2] = e.useState(() => new n2(o2, s2)), f2 = d2.getOptimisticResult(s2), p2 = !i2 && l2;
2292
2292
  if (e.useSyncExternalStore(e.useCallback((e2) => {
2293
- let t3 = p2 ? d2.subscribe(L.batchCalls(e2)) : P;
2293
+ let t3 = p2 ? d2.subscribe(R.batchCalls(e2)) : F;
2294
2294
  return d2.updateResult(), t3;
2295
2295
  }, [d2, p2]), () => d2.getCurrentResult(), () => d2.getCurrentResult()), e.useEffect(() => {
2296
2296
  d2.setOptions(s2);
2297
- }, [s2, d2]), ni(s2, f2)) throw ri(s2, d2, a2);
2298
- if ($r({ result: f2, errorResetBoundary: a2, throwOnError: s2.throwOnError, query: c2, suspense: s2.suspense })) throw f2.error;
2299
- return o2.getDefaultOptions().queries?._experimental_afterQuery?.(s2, f2), s2.experimental_prefetchInRender && !sr.isServer() && ti(f2, i2) && (u2 ? ri(s2, d2, a2) : c2?.promise)?.catch(P).finally(() => {
2297
+ }, [s2, d2]), ti(s2, f2)) throw ni(s2, d2, a2);
2298
+ if (Qr({ result: f2, errorResetBoundary: a2, throwOnError: s2.throwOnError, query: c2, suspense: s2.suspense })) throw f2.error;
2299
+ return o2.getDefaultOptions().queries?._experimental_afterQuery?.(s2, f2), s2.experimental_prefetchInRender && !or.isServer() && ei(f2, i2) && (u2 ? ni(s2, d2, a2) : c2?.promise)?.catch(F).finally(() => {
2300
2300
  d2.updateResult();
2301
2301
  }), s2.notifyOnChangeProps ? f2 : d2.trackResult(f2);
2302
2302
  }
2303
- function oi(e2, t2) {
2304
- return ai(e2, Nr, t2);
2303
+ function ai(e2, t2) {
2304
+ return ii(e2, Mr, t2);
2305
2305
  }
2306
- function R(e2) {
2306
+ function z(e2) {
2307
2307
  return e2;
2308
2308
  }
2309
- var si = R(`@wix/site-service-url`);
2310
- var ci = `215238eb-22a5-4c36-9e7b-e7c08025e04e`;
2311
- `${ci}`, `${ci}`;
2312
- var li = function(e2) {
2309
+ var oi = z(`@wix/site-service-url`);
2310
+ var si = `215238eb-22a5-4c36-9e7b-e7c08025e04e`;
2311
+ `${si}`, `${si}`;
2312
+ var ci = function(e2) {
2313
2313
  return e2.SIDE_CART = `ecom_side_cart`, e2.CART = `shopping_cart`, e2.CHECKOUT = `checkout`, e2.PRODUCT_PAGE = `product-page-builder`, e2.CATEGORY_PAGE = `category-page-builder`, e2;
2314
2314
  }({});
2315
- var ui = () => {
2316
- let e2 = (0, import_services_manager_react.useService)(si), t2 = (0, import_react.useCallback)((t3, n2) => {
2317
- let r2 = e2.appSectionRelativeUrl(ci, t3, true);
2315
+ var li = () => {
2316
+ let e2 = (0, import_services_manager_react.useService)(oi), t2 = (0, import_react.useCallback)((t3, n2) => {
2317
+ let r2 = e2.appSectionRelativeUrl(si, t3, true);
2318
2318
  if (r2) return `./${r2.replace(/^\//, ``).replace(/\/$/, ``)}/${encodeURIComponent(n2)}`;
2319
2319
  }, [e2]);
2320
2320
  return { getPageRelativeUrl: t2, getPageAbsoluteUrl: (0, import_react.useCallback)((n2, r2) => {
@@ -2322,38 +2322,38 @@ var ui = () => {
2322
2322
  if (i2) return new URL(i2, `${e2.siteUrl.replace(/\/$/, ``)}/`).href;
2323
2323
  }, [t2, e2]) };
2324
2324
  };
2325
- function di(e2) {
2326
- let { getPageAbsoluteUrl: t2 } = ui(), n2 = (0, import_react.useMemo)(() => {
2325
+ function ui(e2) {
2326
+ let { getPageAbsoluteUrl: t2 } = li(), n2 = (0, import_react.useMemo)(() => {
2327
2327
  if (!e2.slug) return;
2328
- let n3 = t2(li.CATEGORY_PAGE, e2.slug);
2328
+ let n3 = t2(ci.CATEGORY_PAGE, e2.slug);
2329
2329
  return n3 ? { href: n3 } : void 0;
2330
2330
  }, [e2.slug, t2]);
2331
2331
  return (0, import_react.useMemo)(() => ({ id: e2.id, name: e2.name, slug: e2.slug, link: n2, description: e2.description, richContentDescription: e2.richContentDescription, image: e2.image, breadcrumbs: e2.breadcrumbs }), [e2, n2]);
2332
2332
  }
2333
- function fi(e2) {
2333
+ function di(e2) {
2334
2334
  let { category: t2 } = e2;
2335
- return di(t2);
2335
+ return ui(t2);
2336
2336
  }
2337
- function pi(e2, t2) {
2337
+ function fi(e2, t2) {
2338
2338
  return (0, import_react.useMemo)(() => ({ categories: e2, currentCategoryId: t2 }), [e2, t2]);
2339
2339
  }
2340
- var mi = R(`seo/seo-service`);
2341
- var hi = R(`@wix/site-service-rendering-context`);
2342
- function gi(e2) {
2340
+ var pi = z(`seo/seo-service`);
2341
+ var mi = z(`@wix/site-service-rendering-context`);
2342
+ function hi(e2) {
2343
2343
  return e2.breadcrumbs.map(({ id: e3, name: t2, slug: n2 }) => ({ categoryId: e3, categoryName: t2, categorySlug: n2 }));
2344
2344
  }
2345
- function _i(e2) {
2345
+ function gi(e2) {
2346
2346
  return e2 ? { id: e2 } : void 0;
2347
2347
  }
2348
- function vi(e2) {
2349
- return { itemType: e2.parentCategoryId ? `STORES_SUB_CATEGORY` : `STORES_CATEGORY`, itemData: { category: { id: e2.id, name: e2.name, slug: e2.slug, description: e2.description, itemCounter: e2.itemCounter, image: e2.image, parentCategory: _i(e2.parentCategoryId), breadcrumbsInfo: { breadcrumbs: gi(e2) } } }, ...e2.seoData ? { seoData: e2.seoData } : {} };
2348
+ function _i(e2) {
2349
+ return { itemType: e2.parentCategoryId ? `STORES_SUB_CATEGORY` : `STORES_CATEGORY`, itemData: { category: { id: e2.id, name: e2.name, slug: e2.slug, description: e2.description, itemCounter: e2.itemCounter, image: e2.image, parentCategory: gi(e2.parentCategoryId), breadcrumbsInfo: { breadcrumbs: hi(e2) } } }, ...e2.seoData ? { seoData: e2.seoData } : {} };
2350
2350
  }
2351
- function yi(e2) {
2352
- let t2 = (0, import_services_manager_react.useService)(mi), { SSR: n2 } = (0, import_services_manager_react.useService)(hi), r2 = (0, import_react.useRef)(false);
2353
- !r2.current && e2.id && n2 && (r2.current = true, t2.setSeoEntity(vi(e2)).catch(() => {
2351
+ function vi(e2) {
2352
+ let t2 = (0, import_services_manager_react.useService)(pi), { SSR: n2 } = (0, import_services_manager_react.useService)(mi), r2 = (0, import_react.useRef)(false);
2353
+ !r2.current && e2.id && n2 && (r2.current = true, t2.setSeoEntity(_i(e2)).catch(() => {
2354
2354
  }));
2355
2355
  }
2356
- function bi(e2) {
2356
+ function yi(e2) {
2357
2357
  if (e2.status === `fulfilled`) return e2.value;
2358
2358
  throw e2.status === `rejected` ? e2.reason : e2.status === `pending` ? e2 : (e2.status = `pending`, e2.then((t2) => {
2359
2359
  e2.status = `fulfilled`, e2.value = t2;
@@ -2361,61 +2361,61 @@ function bi(e2) {
2361
2361
  e2.status = `rejected`, e2.reason = t2;
2362
2362
  }), e2);
2363
2363
  }
2364
- var xi = /* @__PURE__ */ new Set();
2365
- function Si(e2) {
2366
- return xi.add(e2), () => {
2367
- xi.delete(e2);
2364
+ var bi = /* @__PURE__ */ new Set();
2365
+ function xi(e2) {
2366
+ return bi.add(e2), () => {
2367
+ bi.delete(e2);
2368
2368
  };
2369
2369
  }
2370
- function Ci(e2) {
2370
+ function Si(e2) {
2371
2371
  let t2 = globalThis.window;
2372
2372
  if (!t2?.history) return;
2373
2373
  let n2 = t2.location.href;
2374
- t2.history.replaceState({ scrollY: t2.scrollY }, ``, e2.href), t2.location.href !== n2 && xi.forEach((e3) => e3());
2374
+ t2.history.replaceState({ scrollY: t2.scrollY }, ``, e2.href), t2.location.href !== n2 && bi.forEach((e3) => e3());
2375
2375
  }
2376
- function wi() {
2377
- let e2 = (0, import_services_manager_react.useService)(si), t2 = (0, import_react.useCallback)(() => e2.currentUrl, [e2]), i2 = (0, import_react.useSyncExternalStore)(Si, t2, t2), a2 = (0, import_react.useMemo)(() => new URL(i2), [i2]), s2 = (0, import_react.useCallback)((t3) => {
2376
+ function Ci() {
2377
+ let e2 = (0, import_services_manager_react.useService)(oi), t2 = (0, import_react.useCallback)(() => e2.currentUrl, [e2]), i2 = (0, import_react.useSyncExternalStore)(xi, t2, t2), a2 = (0, import_react.useMemo)(() => new URL(i2), [i2]), s2 = (0, import_react.useCallback)((t3) => {
2378
2378
  let n2 = new URL(e2.currentUrl);
2379
- n2.search = t3, Ci(n2);
2379
+ n2.search = t3, Si(n2);
2380
2380
  }, [e2]);
2381
2381
  return { url: a2, siteUrl: e2.siteUrl.replace(/\/$/, ``), search: a2.search, pushSearch: s2 };
2382
2382
  }
2383
- function Ti(e2) {
2383
+ function wi(e2) {
2384
2384
  return e2.priceMin === void 0 && e2.priceMax === void 0 && Object.values(e2.customizationIdToChoiceIds ?? {}).every((e3) => e3.length === 0);
2385
2385
  }
2386
- function Ei(e2, t2, n2) {
2386
+ function Ti(e2, t2, n2) {
2387
2387
  let r2 = e2.customizationIdToChoiceIds ?? {}, i2 = r2[t2] ?? [];
2388
2388
  return i2.includes(n2) ? e2 : { ...e2, customizationIdToChoiceIds: { ...r2, [t2]: [...i2, n2] } };
2389
2389
  }
2390
- function Di(e2, t2, n2) {
2390
+ function Ei(e2, t2, n2) {
2391
2391
  let r2 = e2.customizationIdToChoiceIds ?? {}, i2 = r2[t2] ?? [];
2392
2392
  return i2.includes(n2) ? { ...e2, customizationIdToChoiceIds: { ...r2, [t2]: i2.filter((e3) => e3 !== n2) } } : e2;
2393
2393
  }
2394
- function Oi(e2, t2, n2) {
2394
+ function Di(e2, t2, n2) {
2395
2395
  return e2.priceMin === t2 && e2.priceMax === n2 ? e2 : { ...e2, priceMin: t2, priceMax: n2 };
2396
2396
  }
2397
- function ki(e2) {
2397
+ function Oi(e2) {
2398
2398
  return e2.priceMin === void 0 && e2.priceMax === void 0 ? e2 : { ...e2, priceMin: void 0, priceMax: void 0 };
2399
2399
  }
2400
- function Ai(e2) {
2400
+ function ki(e2) {
2401
2401
  return Object.keys(e2).length === 1 && `$and` in e2 && Array.isArray(e2.$and);
2402
2402
  }
2403
- function ji(e2) {
2403
+ function Ai(e2) {
2404
2404
  return Object.keys(e2).length === 1 && `$or` in e2 && Array.isArray(e2.$or);
2405
2405
  }
2406
- function Mi(e2) {
2406
+ function ji(e2) {
2407
2407
  return Object.keys(e2).length === 1 && `$not` in e2 && typeof e2.$not == `object`;
2408
2408
  }
2409
- function z(e2, t2) {
2410
- return e2 === void 0 || Object.keys(e2).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e2 : { $and: [...Ai(e2) ? e2.$and : [e2], ...Ai(t2) ? t2.$and : [t2]] };
2409
+ function B(e2, t2) {
2410
+ return e2 === void 0 || Object.keys(e2).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e2 : { $and: [...ki(e2) ? e2.$and : [e2], ...ki(t2) ? t2.$and : [t2]] };
2411
2411
  }
2412
- function Ni(e2, t2) {
2413
- return e2 === void 0 || Object.keys(e2).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e2 : { $or: [...ji(e2) ? e2.$or : [e2], ...ji(t2) ? t2.$or : [t2]] };
2412
+ function Mi(e2, t2) {
2413
+ return e2 === void 0 || Object.keys(e2).length === 0 ? t2 : t2 === void 0 || Object.keys(t2).length === 0 ? e2 : { $or: [...Ai(e2) ? e2.$or : [e2], ...Ai(t2) ? t2.$or : [t2]] };
2414
2414
  }
2415
- function Pi(e2) {
2416
- if (e2 !== void 0 && Object.keys(e2).length !== 0) return Mi(e2) ? e2.$not : { $not: e2 };
2415
+ function Ni(e2) {
2416
+ if (e2 !== void 0 && Object.keys(e2).length !== 0) return ji(e2) ? e2.$not : { $not: e2 };
2417
2417
  }
2418
- var Fi = class {
2418
+ var Pi = class {
2419
2419
  _items;
2420
2420
  _fetchNextPage;
2421
2421
  _fetchPrevPage;
@@ -2445,7 +2445,7 @@ var Fi = class {
2445
2445
  return await this._fetchPrevPage();
2446
2446
  }
2447
2447
  };
2448
- var Ii = class extends Fi {
2448
+ var Fi = class extends Pi {
2449
2449
  _nextCursor;
2450
2450
  _prevCursor;
2451
2451
  cursors;
@@ -2459,7 +2459,7 @@ var Ii = class extends Fi {
2459
2459
  return !!this._prevCursor;
2460
2460
  }
2461
2461
  };
2462
- var Li = class extends Fi {
2462
+ var Ii = class extends Pi {
2463
2463
  _totalCount;
2464
2464
  _offset;
2465
2465
  _tooManyToCount;
@@ -2482,76 +2482,76 @@ var Li = class extends Fi {
2482
2482
  return !!(this._limit !== 0 && this.currentPage && this.currentPage > 0);
2483
2483
  }
2484
2484
  };
2485
- function Ri(e2) {
2485
+ function Li(e2) {
2486
2486
  let t2 = (n2) => ({ query: n2, async find() {
2487
2487
  try {
2488
2488
  let r2 = e2.requestTransformer(e2.pagingMethod === `CURSOR` && n2.cursorPaging.cursor ? { cursorPaging: n2.cursorPaging } : n2), i2 = await e2.func(r2), { [ot]: a2, [st]: o2 } = e2.responseTransformer(i2);
2489
2489
  if (e2.pagingMethod === `OFFSET`) {
2490
2490
  let e3 = n2;
2491
- return new Li({ items: a2 ?? [], fetchNextPage: () => t2({ ...e3, paging: { offset: e3.paging.offset + e3.paging.limit, limit: e3.paging.limit } }).find(), fetchPrevPage: () => t2({ ...n2, paging: { offset: Math.max(e3.paging.offset - e3.paging.limit, 0), limit: e3.paging.limit } }).find(), offset: e3.paging.offset, limit: e3.paging.limit, totalCount: o2?.total, tooManyToCount: o2?.tooManyToCount, originQuery: this });
2491
+ return new Ii({ items: a2 ?? [], fetchNextPage: () => t2({ ...e3, paging: { offset: e3.paging.offset + e3.paging.limit, limit: e3.paging.limit } }).find(), fetchPrevPage: () => t2({ ...n2, paging: { offset: Math.max(e3.paging.offset - e3.paging.limit, 0), limit: e3.paging.limit } }).find(), offset: e3.paging.offset, limit: e3.paging.limit, totalCount: o2?.total, tooManyToCount: o2?.tooManyToCount, originQuery: this });
2492
2492
  }
2493
2493
  let s2 = n2.cursorPaging;
2494
- return new Ii({ 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 });
2494
+ return new Fi({ 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 });
2495
2495
  } catch (t3) {
2496
2496
  throw e2.errorTransformer(t3);
2497
2497
  }
2498
2498
  }, skipTo(e3) {
2499
2499
  return t2({ ...n2, cursorPaging: { cursor: e3, limit: n2.cursorPaging.limit } });
2500
2500
  }, eq(r2, i2) {
2501
- let a2 = i2 === void 0 ? null : i2, o2 = { [B(e2.transformationPaths, r2)]: a2 };
2502
- return t2({ ...n2, filter: z(n2.filter, o2) });
2501
+ let a2 = i2 === void 0 ? null : i2, o2 = { [V(e2.transformationPaths, r2)]: a2 };
2502
+ return t2({ ...n2, filter: B(n2.filter, o2) });
2503
2503
  }, ne(r2, i2) {
2504
- let a2 = i2 === void 0 ? null : i2, o2 = { [B(e2.transformationPaths, r2)]: { $ne: a2 } };
2505
- return t2({ ...n2, filter: z(n2.filter, o2) });
2504
+ let a2 = i2 === void 0 ? null : i2, o2 = { [V(e2.transformationPaths, r2)]: { $ne: a2 } };
2505
+ return t2({ ...n2, filter: B(n2.filter, o2) });
2506
2506
  }, ge(r2, i2) {
2507
- let a2 = { [B(e2.transformationPaths, r2)]: { $gte: i2 } };
2508
- return t2({ ...n2, filter: z(n2.filter, a2) });
2507
+ let a2 = { [V(e2.transformationPaths, r2)]: { $gte: i2 } };
2508
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2509
2509
  }, gt(r2, i2) {
2510
- let a2 = { [B(e2.transformationPaths, r2)]: { $gt: i2 } };
2511
- return t2({ ...n2, filter: z(n2.filter, a2) });
2510
+ let a2 = { [V(e2.transformationPaths, r2)]: { $gt: i2 } };
2511
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2512
2512
  }, le(r2, i2) {
2513
- let a2 = { [B(e2.transformationPaths, r2)]: { $lte: i2 } };
2514
- return t2({ ...n2, filter: z(n2.filter, a2) });
2513
+ let a2 = { [V(e2.transformationPaths, r2)]: { $lte: i2 } };
2514
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2515
2515
  }, lt(r2, i2) {
2516
- let a2 = { [B(e2.transformationPaths, r2)]: { $lt: i2 } };
2517
- return t2({ ...n2, filter: z(n2.filter, a2) });
2516
+ let a2 = { [V(e2.transformationPaths, r2)]: { $lt: i2 } };
2517
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2518
2518
  }, isNotEmpty(e3) {
2519
2519
  return this.ne(e3, null);
2520
2520
  }, isEmpty(e3) {
2521
2521
  return this.eq(e3, null);
2522
2522
  }, startsWith(r2, i2) {
2523
- let a2 = { [B(e2.transformationPaths, r2)]: { $startsWith: i2 } };
2524
- return t2({ ...n2, filter: z(n2.filter, a2) });
2523
+ let a2 = { [V(e2.transformationPaths, r2)]: { $startsWith: i2 } };
2524
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2525
2525
  }, endsWith(r2, i2) {
2526
- let a2 = { [B(e2.transformationPaths, r2)]: { $endsWith: i2 } };
2527
- return t2({ ...n2, filter: z(n2.filter, a2) });
2526
+ let a2 = { [V(e2.transformationPaths, r2)]: { $endsWith: i2 } };
2527
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2528
2528
  }, contains(r2, i2) {
2529
- let a2 = { [B(e2.transformationPaths, r2)]: { $contains: i2 } };
2530
- return t2({ ...n2, filter: z(n2.filter, a2) });
2529
+ let a2 = { [V(e2.transformationPaths, r2)]: { $contains: i2 } };
2530
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2531
2531
  }, hasSome(r2, ...i2) {
2532
- let a2 = { [B(e2.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
2533
- return t2({ ...n2, filter: z(n2.filter, a2) });
2532
+ let a2 = { [V(e2.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
2533
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2534
2534
  }, hasAll(r2, ...i2) {
2535
- let a2 = { [B(e2.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
2536
- return t2({ ...n2, filter: z(n2.filter, a2) });
2535
+ let a2 = { [V(e2.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
2536
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2537
2537
  }, between(e3, t3, n3) {
2538
2538
  return this.ge(e3, t3).lt(e3, n3);
2539
2539
  }, in(r2, i2) {
2540
- let a2 = { [B(e2.transformationPaths, r2)]: { $in: i2 } };
2541
- return t2({ ...n2, filter: z(n2.filter, a2) });
2540
+ let a2 = { [V(e2.transformationPaths, r2)]: { $in: i2 } };
2541
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2542
2542
  }, exists(r2, i2 = true) {
2543
- let a2 = { [B(e2.transformationPaths, r2)]: { $exists: i2 } };
2544
- return t2({ ...n2, filter: z(n2.filter, a2) });
2543
+ let a2 = { [V(e2.transformationPaths, r2)]: { $exists: i2 } };
2544
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2545
2545
  }, or(e3) {
2546
- return t2({ ...n2, filter: Ni(n2.filter, e3.query.filter) });
2546
+ return t2({ ...n2, filter: Mi(n2.filter, e3.query.filter) });
2547
2547
  }, and(e3) {
2548
- return t2({ ...n2, filter: z(n2.filter, e3.query.filter) });
2548
+ return t2({ ...n2, filter: B(n2.filter, e3.query.filter) });
2549
2549
  }, not(e3) {
2550
- return t2({ ...n2, filter: Pi(e3.query.filter) });
2550
+ return t2({ ...n2, filter: Ni(e3.query.filter) });
2551
2551
  }, ascending(...r2) {
2552
- return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: B(e2.transformationPaths, t3), order: `ASC` }))] });
2552
+ return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: V(e2.transformationPaths, t3), order: `ASC` }))] });
2553
2553
  }, descending(...r2) {
2554
- return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: B(e2.transformationPaths, t3), order: `DESC` }))] });
2554
+ return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: V(e2.transformationPaths, t3), order: `DESC` }))] });
2555
2555
  }, skip(e3) {
2556
2556
  return t2({ ...n2, paging: { offset: e3, limit: `limit` in n2.paging ? n2.paging.limit : 50 } });
2557
2557
  }, limit(r2) {
@@ -2564,23 +2564,23 @@ function Ri(e2) {
2564
2564
  } });
2565
2565
  return t2({ filter: {}, ...e2.pagingMethod === `OFFSET` ? { paging: { offset: 0, limit: 50 } } : { cursorPaging: { limit: 50 } } });
2566
2566
  }
2567
- function B(e2, t2) {
2567
+ function V(e2, t2) {
2568
2568
  let n2 = Object.entries(e2).find(([e3]) => e3 === t2 || t2.startsWith(`${e3}.`))?.[0];
2569
2569
  return n2 ? t2.replace(n2, e2[n2]) : lt(t2, { ...e2, ...ct });
2570
2570
  }
2571
- function zi(e2, t2, n2 = {}) {
2572
- let r2 = (r3, i3) => zi(e2, t2, { ...n2, [r3]: i3 }), i2 = () => Object.keys(n2).length === 0 ? {} : { [S(e2, t2)]: n2 };
2571
+ function Ri(e2, t2, n2 = {}) {
2572
+ let r2 = (r3, i3) => Ri(e2, t2, { ...n2, [r3]: i3 }), i2 = () => Object.keys(n2).length === 0 ? {} : { [S(e2, t2)]: n2 };
2573
2573
  return { get filter() {
2574
2574
  return i2();
2575
2575
  }, eq: (e3) => r2(`$eq`, e3), ne: (e3) => r2(`$ne`, e3), gt: (e3) => r2(`$gt`, e3), gte: (e3) => r2(`$gte`, e3), lt: (e3) => r2(`$lt`, e3), lte: (e3) => r2(`$lte`, e3), startsWith: (e3) => r2(`$startsWith`, e3), endsWith: (e3) => r2(`$endsWith`, e3), contains: (e3) => r2(`$contains`, e3), in: (e3) => r2(`$in`, e3), nin: (e3) => r2(`$nin`, e3), hasSome: (e3) => r2(`$hasSome`, e3), hasAll: (e3) => r2(`$hasAll`, e3), exists: (e3 = true) => r2(`$exists`, e3), isEmpty: (e3 = true) => r2(`$isEmpty`, e3), isNotEmpty: () => r2(`$ne`, null) };
2576
2576
  }
2577
- function Bi(e2) {
2578
- return Object.assign((t2) => zi(t2, e2), { and: (...e3) => ({ filter: { $and: e3.map((e4) => e4.filter) } }), or: (...e3) => ({ filter: { $or: e3.map((e4) => e4.filter) } }), not: (e3) => ({ filter: { $not: e3.filter } }) });
2577
+ function zi(e2) {
2578
+ return Object.assign((t2) => Ri(t2, e2), { and: (...e3) => ({ filter: { $and: e3.map((e4) => e4.filter) } }), or: (...e3) => ({ filter: { $or: e3.map((e4) => e4.filter) } }), not: (e3) => ({ filter: { $not: e3.filter } }) });
2579
2579
  }
2580
- function Vi(e2) {
2580
+ function Bi(e2) {
2581
2581
  return (t2) => ({ asc: () => ({ sort: { fieldName: S(t2, e2), order: `ASC` } }), desc: () => ({ sort: { fieldName: S(t2, e2), order: `DESC` } }) });
2582
2582
  }
2583
- function Hi(e2) {
2583
+ function Vi(e2) {
2584
2584
  return () => {
2585
2585
  let t2 = {}, n2 = { withFilter(e3) {
2586
2586
  return t2 = { ...t2, filter: e3.filter }, n2;
@@ -2596,49 +2596,49 @@ function Hi(e2) {
2596
2596
  return n2;
2597
2597
  };
2598
2598
  }
2599
- function V(e2) {
2600
- return { QueryBuilder: Hi(e2), Filter: Bi(e2), Sort: Vi(e2) };
2601
- }
2602
- var Ui = `filter`;
2603
- var Wi = `sort`;
2604
- var Gi = `cursorPaging`;
2605
- var Ki = `paging`;
2606
- var qi = [Ui, Wi, Gi];
2607
- var Ji = [Ui, Wi, Ki];
2608
- function Yi(e2, t2) {
2599
+ function H(e2) {
2600
+ return { QueryBuilder: Vi(e2), Filter: zi(e2), Sort: Bi(e2) };
2601
+ }
2602
+ var Hi = `filter`;
2603
+ var Ui = `sort`;
2604
+ var Wi = `cursorPaging`;
2605
+ var Gi = `paging`;
2606
+ var Ki = [Hi, Ui, Wi];
2607
+ var qi = [Hi, Ui, Gi];
2608
+ function Ji(e2, t2) {
2609
2609
  return !e2 || typeof e2 != `object` ? false : t2.some((t3) => e2.hasOwnProperty(t3));
2610
2610
  }
2611
+ function Yi(e2) {
2612
+ return Ji(e2, Ki);
2613
+ }
2611
2614
  function Xi(e2) {
2612
- return Yi(e2, qi);
2615
+ return Ji(e2, qi);
2613
2616
  }
2614
2617
  function Zi(e2) {
2615
- return Yi(e2, Ji);
2616
- }
2617
- function Qi(e2) {
2618
2618
  let { hasOptionsParameter: t2 } = e2;
2619
2619
  return function(...n2) {
2620
- return t2 ? ea(n2, e2) : $i(n2, e2);
2620
+ return t2 ? $i(n2, e2) : Qi(n2, e2);
2621
2621
  };
2622
2622
  }
2623
- function $i(e2, t2) {
2623
+ function Qi(e2, t2) {
2624
2624
  return e2.length === 0 ? t2.builderQueryFunction() : t2.typedQueryFunction(e2[0]);
2625
2625
  }
2626
- function ea(e2, t2) {
2626
+ function $i(e2, t2) {
2627
2627
  switch (e2.length) {
2628
2628
  case 0:
2629
2629
  return t2.builderQueryFunction();
2630
2630
  case 1:
2631
- return Xi(e2[0]) || Zi(e2[0]) ? t2.typedQueryFunction(e2[0]) : t2.builderQueryFunction(e2[0]);
2631
+ return Yi(e2[0]) || Xi(e2[0]) ? t2.typedQueryFunction(e2[0]) : t2.builderQueryFunction(e2[0]);
2632
2632
  default:
2633
2633
  return t2.typedQueryFunction(e2[0], e2[1]);
2634
2634
  }
2635
2635
  }
2636
- function H(e2) {
2636
+ function U(e2) {
2637
2637
  if (!e2) return;
2638
2638
  let t2 = ``;
2639
2639
  return (e2.filename || e2.altText) && (t2 = `/${encodeURIComponent(e2.filename || e2.altText)}`), e2.id ? `wix:image://v1/${e2.id}${t2}#originWidth=${e2.width}&originHeight=${e2.height}` : e2.url;
2640
2640
  }
2641
- function U(e2) {
2641
+ function W(e2) {
2642
2642
  if (!e2) return;
2643
2643
  let t2 = ``;
2644
2644
  e2?.filename && (t2 = `/${encodeURIComponent(e2.filename)}`);
@@ -2653,24 +2653,24 @@ function U(e2) {
2653
2653
  }
2654
2654
  return e2.id ? `wix:video://v1/${e2.id}${t2}${n2}` : e2.url;
2655
2655
  }
2656
- function ta(e2) {
2656
+ function ea(e2) {
2657
2657
  return A(Object.assign(e2, { domainToMappings: { "manage._base_domain_": [{ srcPath: `/customization`, destPath: `` }], "www.wixapis.com": [{ srcPath: `/stores/v3/customizations`, destPath: `/v3/customizations` }, { srcPath: `/stores/v3/bulk/customizations`, destPath: `/v3/bulk/customizations` }], "editor._base_domain_": [{ srcPath: `/_api/customization`, destPath: `` }], "blocks._base_domain_": [{ srcPath: `/_api/customization`, destPath: `` }], "create.editorx": [{ srcPath: `/_api/customization`, destPath: `` }], _: [{ srcPath: `/_api/customization`, destPath: `` }], "*.dev.wix-code.com": [{ srcPath: `/_api/customization`, destPath: `` }] } }));
2658
2658
  }
2659
- var na = `@wix/auto_sdk_stores_customizations-v-3`;
2660
- function ra(e2) {
2659
+ var ta = `@wix/auto_sdk_stores_customizations-v-3`;
2660
+ function na(e2) {
2661
2661
  function t2({ host: t3 }) {
2662
- return { entityFqdn: `wix.stores.catalog.v3.customization`, method: `GET`, methodFqn: `wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations`, packageName: na, migrationOptions: { optInTransformResponse: true }, url: ta({ protoPath: `/v3/customizations/query`, data: e2, host: t3 }), params: k(e2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `customizations.createdDate` }, { path: `customizations.updatedDate` }, { path: `customizations.choicesSettings.choices.image.urlExpirationDate` }, { path: `customizations.choicesSettings.choices.displayImage.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `customizations.choicesSettings.choices.image.focalPoint.x` }, { path: `customizations.choicesSettings.choices.image.focalPoint.y` }] }]), fallback: [{ method: `POST`, url: ta({ protoPath: `/v3/customizations/query`, data: e2, host: t3 }), data: e2 }] };
2662
+ return { entityFqdn: `wix.stores.catalog.v3.customization`, method: `GET`, methodFqn: `wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations`, packageName: ta, migrationOptions: { optInTransformResponse: true }, url: ea({ protoPath: `/v3/customizations/query`, data: e2, host: t3 }), params: k(e2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `customizations.createdDate` }, { path: `customizations.updatedDate` }, { path: `customizations.choicesSettings.choices.image.urlExpirationDate` }, { path: `customizations.choicesSettings.choices.displayImage.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `customizations.choicesSettings.choices.image.focalPoint.x` }, { path: `customizations.choicesSettings.choices.image.focalPoint.y` }] }]), fallback: [{ method: `POST`, url: ea({ protoPath: `/v3/customizations/query`, data: e2, host: t3 }), data: e2 }] };
2663
2663
  }
2664
2664
  return t2;
2665
2665
  }
2666
- var ia = ((e2) => (e2.PRODUCT_OPTION = `PRODUCT_OPTION`, e2.MODIFIER = `MODIFIER`, e2))(ia || {});
2667
- var W = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(W || {});
2668
- var aa = ((e2) => (e2.DEFAULT = `DEFAULT`, e2.BY_NAME = `BY_NAME`, e2.BY_PRODUCT_COUNT = `BY_PRODUCT_COUNT`, e2.MANUAL = `MANUAL`, e2))(aa || {});
2669
- var oa = ((e2) => (e2.ASSIGNED_PRODUCTS_COUNT = `ASSIGNED_PRODUCTS_COUNT`, e2.CHOICE_DISPLAY_IMAGE = `CHOICE_DISPLAY_IMAGE`, e2))(oa || {});
2670
- function sa(e2) {
2666
+ var ra = ((e2) => (e2.PRODUCT_OPTION = `PRODUCT_OPTION`, e2.MODIFIER = `MODIFIER`, e2))(ra || {});
2667
+ var G = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(G || {});
2668
+ var ia = ((e2) => (e2.DEFAULT = `DEFAULT`, e2.BY_NAME = `BY_NAME`, e2.BY_PRODUCT_COUNT = `BY_PRODUCT_COUNT`, e2.MANUAL = `MANUAL`, e2))(ia || {});
2669
+ var aa = ((e2) => (e2.ASSIGNED_PRODUCTS_COUNT = `ASSIGNED_PRODUCTS_COUNT`, e2.CHOICE_DISPLAY_IMAGE = `CHOICE_DISPLAY_IMAGE`, e2))(aa || {});
2670
+ function oa(e2) {
2671
2671
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2672
- return Ri({ func: async (r2) => {
2673
- let i2 = ra({ ...r2, ...e2 ?? {} });
2672
+ return Li({ func: async (r2) => {
2673
+ let i2 = na({ ...r2, ...e2 ?? {} });
2674
2674
  n2?.onSiteCall?.();
2675
2675
  try {
2676
2676
  let e3 = await t2.request(i2);
@@ -2682,43 +2682,43 @@ function sa(e2) {
2682
2682
  let n3 = [t3, e2];
2683
2683
  return C({ ...n3?.[1], query: n3?.[0] });
2684
2684
  }, responseTransformer: ({ data: e3 }) => {
2685
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2685
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2686
2686
  return { items: t3?.customizations, pagingMetadata: t3?.pagingMetadata };
2687
2687
  }, errorTransformer: (e3) => {
2688
2688
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
2689
2689
  }, pagingMethod: `CURSOR`, transformationPaths: {} });
2690
2690
  }
2691
- async function ca(e2, t2) {
2692
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = ra(C({ query: e2, ...t2 }));
2691
+ async function sa(e2, t2) {
2692
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = na(C({ query: e2, ...t2 }));
2693
2693
  r2?.onSiteCall?.();
2694
2694
  try {
2695
2695
  let e3 = await n2.request(i2);
2696
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2696
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2697
2697
  } catch (e3) {
2698
2698
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2699
2699
  throw r2?.onError?.(e3), t3;
2700
2700
  }
2701
2701
  }
2702
- ({ ...V() });
2703
- function la(e2) {
2704
- return (t2) => sa(t2, { httpClient: e2 });
2702
+ ({ ...H() });
2703
+ function ca(e2) {
2704
+ return (t2) => oa(t2, { httpClient: e2 });
2705
2705
  }
2706
- function ua(e2) {
2707
- return (t2, n2) => ca(t2, n2, { httpClient: e2 });
2706
+ function la(e2) {
2707
+ return (t2, n2) => sa(t2, n2, { httpClient: e2 });
2708
2708
  }
2709
- var da = b(`wix.stores.catalog.v3.customization_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }] }])))();
2710
- var fa = b(`wix.stores.catalog.v3.customization_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }] }])))();
2711
- var pa = b(`wix.stores.catalog.v3.customization_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }] }, { transformFn: H, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }, { path: `modifiedFields.choicesSettings.choices.image` }, { path: `modifiedFields.choicesSettings.choices.displayImage` }] }])))();
2712
- function ma(e2) {
2713
- let t2 = Qi({ builderQueryFunction: (t3) => la(e2)(t3), typedQueryFunction: (t3, n3) => ua(e2)(t3, n3), hasOptionsParameter: true });
2709
+ var ua = b(`wix.stores.catalog.v3.customization_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }] }])))();
2710
+ var da = b(`wix.stores.catalog.v3.customization_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }] }])))();
2711
+ var fa = b(`wix.stores.catalog.v3.customization_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }] }, { transformFn: U, paths: [{ path: `entity.choicesSettings.choices.image` }, { path: `entity.choicesSettings.choices.displayImage` }, { path: `modifiedFields.choicesSettings.choices.image` }, { path: `modifiedFields.choicesSettings.choices.displayImage` }] }])))();
2712
+ function pa(e2) {
2713
+ let t2 = Zi({ builderQueryFunction: (t3) => ca(e2)(t3), typedQueryFunction: (t3, n3) => la(e2)(t3, n3), hasOptionsParameter: true });
2714
2714
  function n2(e3, n3) {
2715
2715
  return t2(...arguments);
2716
2716
  }
2717
2717
  return n2;
2718
2718
  }
2719
- var ha = O(ma);
2720
- j(da), j(fa), j(pa);
2721
- function ga(e2) {
2719
+ var ma = O(pa);
2720
+ j(ua), j(da), j(fa);
2721
+ function ha(e2) {
2722
2722
  let t2 = {}, n2 = { get search() {
2723
2723
  return t2;
2724
2724
  }, expression(e3) {
@@ -2732,13 +2732,13 @@ function ga(e2) {
2732
2732
  } };
2733
2733
  return n2;
2734
2734
  }
2735
- function _a(e2) {
2735
+ function ga(e2) {
2736
2736
  return (t2) => {
2737
- let n2 = ga(e2);
2737
+ let n2 = ha(e2);
2738
2738
  return t2 === void 0 ? n2 : n2.expression(t2);
2739
2739
  };
2740
2740
  }
2741
- function va(e2) {
2741
+ function _a(e2) {
2742
2742
  let t2 = { ...e2, type: `VALUE`, value: { ...e2.value } }, n2 = { get aggregation() {
2743
2743
  return t2;
2744
2744
  }, sortBy(e3, r2) {
@@ -2754,7 +2754,7 @@ function va(e2) {
2754
2754
  } };
2755
2755
  return n2;
2756
2756
  }
2757
- function ya(e2) {
2757
+ function va(e2) {
2758
2758
  let t2 = { ...e2, type: `RANGE`, range: { buckets: [] } }, n2 = { get aggregation() {
2759
2759
  return t2;
2760
2760
  }, withBuckets(...e3) {
@@ -2762,7 +2762,7 @@ function ya(e2) {
2762
2762
  } };
2763
2763
  return n2;
2764
2764
  }
2765
- function ba(e2) {
2765
+ function ya(e2) {
2766
2766
  let t2 = { ...e2, type: `DATE_HISTOGRAM`, dateHistogram: {} }, n2 = { get aggregation() {
2767
2767
  return t2;
2768
2768
  }, interval(e3) {
@@ -2770,7 +2770,7 @@ function ba(e2) {
2770
2770
  } };
2771
2771
  return n2;
2772
2772
  }
2773
- function xa(e2) {
2773
+ function ba(e2) {
2774
2774
  let t2 = { ...e2, type: `SCALAR`, scalar: {} }, n2 = { get aggregation() {
2775
2775
  return t2;
2776
2776
  }, type(e3) {
@@ -2778,7 +2778,7 @@ function xa(e2) {
2778
2778
  } };
2779
2779
  return n2;
2780
2780
  }
2781
- function Sa(e2) {
2781
+ function xa(e2) {
2782
2782
  let t2 = { ...e2, type: `NESTED`, nested: { nestedAggregations: [] } }, n2 = { get aggregation() {
2783
2783
  return t2;
2784
2784
  }, addNestedAggregation(e3) {
@@ -2787,7 +2787,7 @@ function Sa(e2) {
2787
2787
  } };
2788
2788
  return n2;
2789
2789
  }
2790
- function Ca(e2, t2) {
2790
+ function Sa(e2, t2) {
2791
2791
  let n2 = { name: e2 }, r2 = { get aggregation() {
2792
2792
  return n2;
2793
2793
  }, ofType(e3) {
@@ -2795,22 +2795,22 @@ function Ca(e2, t2) {
2795
2795
  }, onField(e3) {
2796
2796
  return n2 = { ...n2, fieldPath: S(e3, t2) }, r2;
2797
2797
  }, asValueAggregation() {
2798
- return va(n2);
2798
+ return _a(n2);
2799
2799
  }, asRangeAggregation() {
2800
- return ya(n2);
2800
+ return va(n2);
2801
2801
  }, asDateHistogramAggregation() {
2802
- return ba(n2);
2802
+ return ya(n2);
2803
2803
  }, asScalarAggregation() {
2804
- return xa(n2);
2804
+ return ba(n2);
2805
2805
  }, asNestedAggregation() {
2806
- return Sa(n2);
2806
+ return xa(n2);
2807
2807
  } };
2808
2808
  return r2;
2809
2809
  }
2810
- function wa(e2) {
2811
- return (t2) => Ca(t2, e2);
2810
+ function Ca(e2) {
2811
+ return (t2) => Sa(t2, e2);
2812
2812
  }
2813
- function Ta() {
2813
+ function wa() {
2814
2814
  return () => {
2815
2815
  let e2 = {}, t2 = { withFilter(n2) {
2816
2816
  return e2 = { ...e2, filter: n2.filter }, t2;
@@ -2830,58 +2830,58 @@ function Ta() {
2830
2830
  return t2;
2831
2831
  };
2832
2832
  }
2833
- function Ea(e2) {
2834
- return { SearchBuilder: Ta(), Filter: Bi(e2), Sort: Vi(e2), SearchParams: _a(e2), Aggregation: wa(e2) };
2833
+ function Ta(e2) {
2834
+ return { SearchBuilder: wa(), Filter: zi(e2), Sort: Bi(e2), SearchParams: ga(e2), Aggregation: Ca(e2) };
2835
2835
  }
2836
- function G(e2) {
2836
+ function K(e2) {
2837
2837
  if (e2) return e2.url;
2838
2838
  }
2839
- function K(e2) {
2839
+ function q(e2) {
2840
2840
  return A(Object.assign(e2, { domainToMappings: { "api._api_base_domain_": [{ srcPath: `/stores-catalog-orchestrator`, destPath: `` }], "manage._base_domain_": [{ srcPath: `/stores`, destPath: `` }], "www.wixapis.com": [{ srcPath: `/stores/v3/products`, destPath: `/v3/products` }, { srcPath: `/stores/v3/bulk/products`, destPath: `/v3/bulk/products` }, { srcPath: `/stores/v3/products-with-inventory`, destPath: `/v3/products-with-inventory` }, { srcPath: `/stores/v3/bulk/products-with-inventory`, destPath: `/v3/bulk/products-with-inventory` }, { srcPath: `/stores/v3/all-products-category`, destPath: `/v3/all-products-category` }], "www._base_domain_": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], "editor._base_domain_": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], "blocks._base_domain_": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], "create.editorx": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], "editor.wixapps.net": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], "*.dev.wix-code.com": [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }], _: [{ srcPath: `/_api/stores-catalog-orchestrator`, destPath: `` }] } }));
2841
2841
  }
2842
- var Da = `@wix/auto_sdk_stores_products-v-3`;
2843
- function Oa(e2) {
2842
+ var Ea = `@wix/auto_sdk_stores_products-v-3`;
2843
+ function Da(e2) {
2844
2844
  function t2({ host: t3 }) {
2845
2845
  let n2 = E(e2, [{ transformFn: vn, paths: [{ path: `search.aggregations.range.buckets.from` }, { path: `search.aggregations.range.buckets.to` }, { path: `search.aggregations.nested.nestedAggregations.range.buckets.from` }, { path: `search.aggregations.nested.nestedAggregations.range.buckets.to` }] }]);
2846
- return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.SearchProducts`, packageName: Da, migrationOptions: { optInTransformResponse: true }, url: K({ protoPath: `/v3/products/search`, data: n2, host: t3 }), params: k(n2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `products.createdDate` }, { path: `products.updatedDate` }, { path: `products.description.metadata.createdTimestamp` }, { path: `products.description.metadata.updatedTimestamp` }, { path: `products.media.main.image.urlExpirationDate` }, { path: `products.media.main.video.urlExpirationDate` }, { path: `products.media.main.video.resolutions.urlExpirationDate` }, { path: `products.media.main.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.main.video.posters.urlExpirationDate` }, { path: `products.media.itemsInfo.items.image.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.infoSections.description.metadata.createdTimestamp` }, { path: `products.infoSections.description.metadata.updatedTimestamp` }, { path: `products.variantsInfo.variants.media.image.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.posters.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.image.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.posters.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `products.physicalProperties.pricePerUnit.quantity` }, { path: `products.physicalProperties.shippingWeightRange.minValue` }, { path: `products.physicalProperties.shippingWeightRange.maxValue` }, { path: `products.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `products.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `products.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `products.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `aggregationData.results.scalar.value` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.scalar.value` }, { path: `aggregationData.results.nested.results.results.*.scalar.value` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.description.nodes.galleryData.items.image.media.duration` }, { path: `products.description.nodes.galleryData.items.video.media.duration` }, { path: `products.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.description.nodes.galleryData.options.item.ratio` }, { path: `products.description.nodes.imageData.image.duration` }, { path: `products.description.nodes.imageData.crop.x` }, { path: `products.description.nodes.imageData.crop.y` }, { path: `products.description.nodes.imageData.crop.width` }, { path: `products.description.nodes.imageData.crop.height` }, { path: `products.description.nodes.mapData.mapSettings.lat` }, { path: `products.description.nodes.mapData.mapSettings.lng` }, { path: `products.description.nodes.pollData.poll.image.duration` }, { path: `products.description.nodes.pollData.poll.options.image.duration` }, { path: `products.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.description.nodes.appEmbedData.image.duration` }, { path: `products.description.nodes.videoData.video.duration` }, { path: `products.description.nodes.videoData.thumbnail.duration` }, { path: `products.description.nodes.audioData.audio.duration` }, { path: `products.description.nodes.audioData.coverImage.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.description.nodes.shapeData.shape.duration` }, { path: `products.description.nodes.cardData.background.gradient.centerX` }, { path: `products.description.nodes.cardData.background.gradient.centerY` }, { path: `products.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.tocData.fontSize` }, { path: `products.description.nodes.tocData.itemSpacing` }, { path: `products.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `products.infoSections.description.nodes.imageData.image.duration` }, { path: `products.infoSections.description.nodes.imageData.crop.x` }, { path: `products.infoSections.description.nodes.imageData.crop.y` }, { path: `products.infoSections.description.nodes.imageData.crop.width` }, { path: `products.infoSections.description.nodes.imageData.crop.height` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `products.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `products.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `products.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `products.infoSections.description.nodes.videoData.video.duration` }, { path: `products.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `products.infoSections.description.nodes.audioData.audio.duration` }, { path: `products.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.infoSections.description.nodes.shapeData.shape.duration` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.tocData.fontSize` }, { path: `products.infoSections.description.nodes.tocData.itemSpacing` }, { path: `products.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.variantsInfo.variants.physicalProperties.weight` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `products.minVariantPriceInfo.weight` }, { path: `aggregationData.results.ranges.results.from` }, { path: `aggregationData.results.ranges.results.to` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to` }, { path: `aggregationData.results.nested.results.results.*.range.from` }, { path: `aggregationData.results.nested.results.results.*.range.to` }] }]), fallback: [{ method: `POST`, url: K({ protoPath: `/v3/products/search`, data: n2, host: t3 }), data: n2 }] };
2846
+ return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.SearchProducts`, packageName: Ea, migrationOptions: { optInTransformResponse: true }, url: q({ protoPath: `/v3/products/search`, data: n2, host: t3 }), params: k(n2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `products.createdDate` }, { path: `products.updatedDate` }, { path: `products.description.metadata.createdTimestamp` }, { path: `products.description.metadata.updatedTimestamp` }, { path: `products.media.main.image.urlExpirationDate` }, { path: `products.media.main.video.urlExpirationDate` }, { path: `products.media.main.video.resolutions.urlExpirationDate` }, { path: `products.media.main.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.main.video.posters.urlExpirationDate` }, { path: `products.media.itemsInfo.items.image.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.infoSections.description.metadata.createdTimestamp` }, { path: `products.infoSections.description.metadata.updatedTimestamp` }, { path: `products.variantsInfo.variants.media.image.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.posters.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.image.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.posters.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `products.physicalProperties.pricePerUnit.quantity` }, { path: `products.physicalProperties.shippingWeightRange.minValue` }, { path: `products.physicalProperties.shippingWeightRange.maxValue` }, { path: `products.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `products.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `products.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `products.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `aggregationData.results.scalar.value` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.scalar.value` }, { path: `aggregationData.results.nested.results.results.*.scalar.value` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.description.nodes.galleryData.items.image.media.duration` }, { path: `products.description.nodes.galleryData.items.video.media.duration` }, { path: `products.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.description.nodes.galleryData.options.item.ratio` }, { path: `products.description.nodes.imageData.image.duration` }, { path: `products.description.nodes.imageData.crop.x` }, { path: `products.description.nodes.imageData.crop.y` }, { path: `products.description.nodes.imageData.crop.width` }, { path: `products.description.nodes.imageData.crop.height` }, { path: `products.description.nodes.mapData.mapSettings.lat` }, { path: `products.description.nodes.mapData.mapSettings.lng` }, { path: `products.description.nodes.pollData.poll.image.duration` }, { path: `products.description.nodes.pollData.poll.options.image.duration` }, { path: `products.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.description.nodes.appEmbedData.image.duration` }, { path: `products.description.nodes.videoData.video.duration` }, { path: `products.description.nodes.videoData.thumbnail.duration` }, { path: `products.description.nodes.audioData.audio.duration` }, { path: `products.description.nodes.audioData.coverImage.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.description.nodes.shapeData.shape.duration` }, { path: `products.description.nodes.cardData.background.gradient.centerX` }, { path: `products.description.nodes.cardData.background.gradient.centerY` }, { path: `products.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.tocData.fontSize` }, { path: `products.description.nodes.tocData.itemSpacing` }, { path: `products.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `products.infoSections.description.nodes.imageData.image.duration` }, { path: `products.infoSections.description.nodes.imageData.crop.x` }, { path: `products.infoSections.description.nodes.imageData.crop.y` }, { path: `products.infoSections.description.nodes.imageData.crop.width` }, { path: `products.infoSections.description.nodes.imageData.crop.height` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `products.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `products.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `products.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `products.infoSections.description.nodes.videoData.video.duration` }, { path: `products.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `products.infoSections.description.nodes.audioData.audio.duration` }, { path: `products.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.infoSections.description.nodes.shapeData.shape.duration` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.tocData.fontSize` }, { path: `products.infoSections.description.nodes.tocData.itemSpacing` }, { path: `products.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.variantsInfo.variants.physicalProperties.weight` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `products.minVariantPriceInfo.weight` }, { path: `aggregationData.results.ranges.results.from` }, { path: `aggregationData.results.ranges.results.to` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from` }, { path: `aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to` }, { path: `aggregationData.results.nested.results.results.*.range.from` }, { path: `aggregationData.results.nested.results.results.*.range.to` }] }]), fallback: [{ method: `POST`, url: q({ protoPath: `/v3/products/search`, data: n2, host: t3 }), data: n2 }] };
2847
2847
  }
2848
2848
  return t2;
2849
2849
  }
2850
- function ka(e2) {
2850
+ function Oa(e2) {
2851
2851
  function t2({ host: t3 }) {
2852
- return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.QueryProducts`, packageName: Da, migrationOptions: { optInTransformResponse: true }, url: K({ protoPath: `/v3/products/query`, data: e2, host: t3 }), params: k(e2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `products.createdDate` }, { path: `products.updatedDate` }, { path: `products.description.metadata.createdTimestamp` }, { path: `products.description.metadata.updatedTimestamp` }, { path: `products.media.main.image.urlExpirationDate` }, { path: `products.media.main.video.urlExpirationDate` }, { path: `products.media.main.video.resolutions.urlExpirationDate` }, { path: `products.media.main.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.main.video.posters.urlExpirationDate` }, { path: `products.media.itemsInfo.items.image.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.infoSections.description.metadata.createdTimestamp` }, { path: `products.infoSections.description.metadata.updatedTimestamp` }, { path: `products.variantsInfo.variants.media.image.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.posters.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.image.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.posters.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `products.physicalProperties.pricePerUnit.quantity` }, { path: `products.physicalProperties.shippingWeightRange.minValue` }, { path: `products.physicalProperties.shippingWeightRange.maxValue` }, { path: `products.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `products.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `products.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `products.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.description.nodes.galleryData.items.image.media.duration` }, { path: `products.description.nodes.galleryData.items.video.media.duration` }, { path: `products.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.description.nodes.galleryData.options.item.ratio` }, { path: `products.description.nodes.imageData.image.duration` }, { path: `products.description.nodes.imageData.crop.x` }, { path: `products.description.nodes.imageData.crop.y` }, { path: `products.description.nodes.imageData.crop.width` }, { path: `products.description.nodes.imageData.crop.height` }, { path: `products.description.nodes.mapData.mapSettings.lat` }, { path: `products.description.nodes.mapData.mapSettings.lng` }, { path: `products.description.nodes.pollData.poll.image.duration` }, { path: `products.description.nodes.pollData.poll.options.image.duration` }, { path: `products.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.description.nodes.appEmbedData.image.duration` }, { path: `products.description.nodes.videoData.video.duration` }, { path: `products.description.nodes.videoData.thumbnail.duration` }, { path: `products.description.nodes.audioData.audio.duration` }, { path: `products.description.nodes.audioData.coverImage.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.description.nodes.shapeData.shape.duration` }, { path: `products.description.nodes.cardData.background.gradient.centerX` }, { path: `products.description.nodes.cardData.background.gradient.centerY` }, { path: `products.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.tocData.fontSize` }, { path: `products.description.nodes.tocData.itemSpacing` }, { path: `products.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `products.infoSections.description.nodes.imageData.image.duration` }, { path: `products.infoSections.description.nodes.imageData.crop.x` }, { path: `products.infoSections.description.nodes.imageData.crop.y` }, { path: `products.infoSections.description.nodes.imageData.crop.width` }, { path: `products.infoSections.description.nodes.imageData.crop.height` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `products.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `products.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `products.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `products.infoSections.description.nodes.videoData.video.duration` }, { path: `products.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `products.infoSections.description.nodes.audioData.audio.duration` }, { path: `products.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.infoSections.description.nodes.shapeData.shape.duration` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.tocData.fontSize` }, { path: `products.infoSections.description.nodes.tocData.itemSpacing` }, { path: `products.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.variantsInfo.variants.physicalProperties.weight` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `products.minVariantPriceInfo.weight` }] }]), fallback: [{ method: `POST`, url: K({ protoPath: `/v3/products/query`, data: e2, host: t3 }), data: e2 }] };
2852
+ return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.QueryProducts`, packageName: Ea, migrationOptions: { optInTransformResponse: true }, url: q({ protoPath: `/v3/products/query`, data: e2, host: t3 }), params: k(e2, true), transformResponse: (e3) => E(e3, [{ transformFn: T, paths: [{ path: `products.createdDate` }, { path: `products.updatedDate` }, { path: `products.description.metadata.createdTimestamp` }, { path: `products.description.metadata.updatedTimestamp` }, { path: `products.media.main.image.urlExpirationDate` }, { path: `products.media.main.video.urlExpirationDate` }, { path: `products.media.main.video.resolutions.urlExpirationDate` }, { path: `products.media.main.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.main.video.posters.urlExpirationDate` }, { path: `products.media.itemsInfo.items.image.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.resolutions.poster.urlExpirationDate` }, { path: `products.media.itemsInfo.items.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.options.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.resolutions.poster.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video.posters.urlExpirationDate` }, { path: `products.modifiers.choicesSettings.choices.displayImage.urlExpirationDate` }, { path: `products.infoSections.description.metadata.createdTimestamp` }, { path: `products.infoSections.description.metadata.updatedTimestamp` }, { path: `products.variantsInfo.variants.media.image.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantsInfo.variants.media.video.posters.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.image.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.resolutions.poster.urlExpirationDate` }, { path: `products.variantSummary.minPriceVariant.media.video.posters.urlExpirationDate` }] }, { transformFn: M, paths: [{ path: `products.physicalProperties.pricePerUnit.quantity` }, { path: `products.physicalProperties.shippingWeightRange.minValue` }, { path: `products.physicalProperties.shippingWeightRange.maxValue` }, { path: `products.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `products.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `products.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `products.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `products.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.description.nodes.galleryData.items.image.media.duration` }, { path: `products.description.nodes.galleryData.items.video.media.duration` }, { path: `products.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.description.nodes.galleryData.options.item.ratio` }, { path: `products.description.nodes.imageData.image.duration` }, { path: `products.description.nodes.imageData.crop.x` }, { path: `products.description.nodes.imageData.crop.y` }, { path: `products.description.nodes.imageData.crop.width` }, { path: `products.description.nodes.imageData.crop.height` }, { path: `products.description.nodes.mapData.mapSettings.lat` }, { path: `products.description.nodes.mapData.mapSettings.lng` }, { path: `products.description.nodes.pollData.poll.image.duration` }, { path: `products.description.nodes.pollData.poll.options.image.duration` }, { path: `products.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.description.nodes.appEmbedData.image.duration` }, { path: `products.description.nodes.videoData.video.duration` }, { path: `products.description.nodes.videoData.thumbnail.duration` }, { path: `products.description.nodes.audioData.audio.duration` }, { path: `products.description.nodes.audioData.coverImage.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.description.nodes.shapeData.shape.duration` }, { path: `products.description.nodes.cardData.background.gradient.centerX` }, { path: `products.description.nodes.cardData.background.gradient.centerY` }, { path: `products.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.description.nodes.tocData.fontSize` }, { path: `products.description.nodes.tocData.itemSpacing` }, { path: `products.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `products.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `products.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `products.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `products.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `products.infoSections.description.nodes.imageData.image.duration` }, { path: `products.infoSections.description.nodes.imageData.crop.x` }, { path: `products.infoSections.description.nodes.imageData.crop.y` }, { path: `products.infoSections.description.nodes.imageData.crop.width` }, { path: `products.infoSections.description.nodes.imageData.crop.height` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `products.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `products.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `products.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `products.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `products.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `products.infoSections.description.nodes.videoData.video.duration` }, { path: `products.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `products.infoSections.description.nodes.audioData.audio.duration` }, { path: `products.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `products.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `products.infoSections.description.nodes.shapeData.shape.duration` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `products.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `products.infoSections.description.nodes.tocData.fontSize` }, { path: `products.infoSections.description.nodes.tocData.itemSpacing` }, { path: `products.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `products.variantsInfo.variants.physicalProperties.weight` }, { path: `products.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `products.minVariantPriceInfo.weight` }] }]), fallback: [{ method: `POST`, url: q({ protoPath: `/v3/products/query`, data: e2, host: t3 }), data: e2 }] };
2853
2853
  }
2854
2854
  return t2;
2855
2855
  }
2856
- function Aa(e2) {
2856
+ function ka(e2) {
2857
2857
  function t2({ host: t3 }) {
2858
- return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.CountProducts`, packageName: Da, migrationOptions: { optInTransformResponse: true }, url: K({ protoPath: `/v3/products/count`, data: e2, host: t3 }), params: k(e2, true), fallback: [{ method: `POST`, url: K({ protoPath: `/v3/products/count`, data: e2, host: t3 }), data: e2 }] };
2858
+ return { entityFqdn: `wix.stores.catalog.v3.product`, method: `GET`, methodFqn: `wix.stores.catalog.v3.CatalogApi.CountProducts`, packageName: Ea, migrationOptions: { optInTransformResponse: true }, url: q({ protoPath: `/v3/products/count`, data: e2, host: t3 }), params: k(e2, true), fallback: [{ method: `POST`, url: q({ protoPath: `/v3/products/count`, data: e2, host: t3 }), data: e2 }] };
2859
2859
  }
2860
2860
  return t2;
2861
2861
  }
2862
- var ja = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(ja || {});
2863
- var q = ((e2) => (e2.ASC = `ASC`, e2.DESC = `DESC`, e2))(q || {});
2862
+ var Aa = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(Aa || {});
2863
+ var ja = ((e2) => (e2.ASC = `ASC`, e2.DESC = `DESC`, e2))(ja || {});
2864
2864
  var Ma = ((e2) => (e2.COUNT = `COUNT`, e2.VALUE = `VALUE`, e2))(Ma || {});
2865
2865
  var Na = ((e2) => (e2.DESC = `DESC`, e2.ASC = `ASC`, e2))(Na || {});
2866
2866
  var Pa = ((e2) => (e2.COUNT_DISTINCT = `COUNT_DISTINCT`, e2.MIN = `MIN`, e2.MAX = `MAX`, e2))(Pa || {});
2867
2867
  var Fa = ((e2) => (e2.VALUE = `VALUE`, e2.RANGE = `RANGE`, e2.SCALAR = `SCALAR`, e2.DATE_HISTOGRAM = `DATE_HISTOGRAM`, e2.NESTED = `NESTED`, e2))(Fa || {});
2868
2868
  var J = ((e2) => (e2.URL = `URL`, e2.CURRENCY = `CURRENCY`, e2.INFO_SECTION = `INFO_SECTION`, e2.MERCHANT_DATA = `MERCHANT_DATA`, e2.PLAIN_DESCRIPTION = `PLAIN_DESCRIPTION`, e2.INFO_SECTION_PLAIN_DESCRIPTION = `INFO_SECTION_PLAIN_DESCRIPTION`, e2.SUBSCRIPTION_PRICES_INFO = `SUBSCRIPTION_PRICES_INFO`, e2.BREADCRUMBS_INFO = `BREADCRUMBS_INFO`, e2.WEIGHT_MEASUREMENT_UNIT_INFO = `WEIGHT_MEASUREMENT_UNIT_INFO`, e2.VARIANT_OPTION_CHOICE_NAMES = `VARIANT_OPTION_CHOICE_NAMES`, e2.MEDIA_ITEMS_INFO = `MEDIA_ITEMS_INFO`, e2.DESCRIPTION = `DESCRIPTION`, e2.DIRECT_CATEGORIES_INFO = `DIRECT_CATEGORIES_INFO`, e2.ALL_CATEGORIES_INFO = `ALL_CATEGORIES_INFO`, e2.INFO_SECTION_DESCRIPTION = `INFO_SECTION_DESCRIPTION`, e2.THUMBNAIL = `THUMBNAIL`, e2.PRODUCT_CHOICES_MEDIA_REFERENCES = `PRODUCT_CHOICES_MEDIA_REFERENCES`, e2.PRODUCT_CHOICES_DISPLAY_IMAGE = `PRODUCT_CHOICES_DISPLAY_IMAGE`, e2.MIN_PRICE_VARIANT = `MIN_PRICE_VARIANT`, e2.DISCOUNT_INFO = `DISCOUNT_INFO`, e2))(J || {});
2869
2869
  async function Ia(e2, t2) {
2870
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Oa(C({ search: e2, fields: t2?.fields }, []));
2870
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Da(C({ search: e2, fields: t2?.fields }, []));
2871
2871
  r2?.onSiteCall?.();
2872
2872
  try {
2873
2873
  let e3 = await n2.request(i2);
2874
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: G, paths: [{ path: `products.url` }] }, { transformFn: H, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2874
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: K, paths: [{ path: `products.url` }] }, { transformFn: U, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2875
2875
  } catch (e3) {
2876
2876
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { search: `$[0]`, fields: `$[1].fields` }, singleArgumentUnchanged: false }, [`search`, `options`]);
2877
2877
  throw r2?.onError?.(e3), t3;
2878
2878
  }
2879
2879
  }
2880
- ({ ...Ea() }, { ...V() });
2880
+ ({ ...Ta() }, { ...H() });
2881
2881
  function La(e2) {
2882
2882
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2883
- return Ri({ func: async (r2) => {
2884
- let i2 = ka({ ...r2, ...e2 ?? {} });
2883
+ return Li({ func: async (r2) => {
2884
+ let i2 = Oa({ ...r2, ...e2 ?? {} });
2885
2885
  n2?.onSiteCall?.();
2886
2886
  try {
2887
2887
  let e3 = await t2.request(i2);
@@ -2893,25 +2893,25 @@ function La(e2) {
2893
2893
  let n3 = [t3, e2];
2894
2894
  return C({ ...n3?.[1], query: n3?.[0] }, []);
2895
2895
  }, responseTransformer: ({ data: e3 }) => {
2896
- let t3 = w(E(e3, [{ transformFn: G, paths: [{ path: `products.url` }] }, { transformFn: H, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2896
+ let t3 = w(E(e3, [{ transformFn: K, paths: [{ path: `products.url` }] }, { transformFn: U, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2897
2897
  return { items: t3?.products, pagingMetadata: t3?.pagingMetadata };
2898
2898
  }, errorTransformer: (e3) => {
2899
2899
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
2900
2900
  }, pagingMethod: `CURSOR`, transformationPaths: {} });
2901
2901
  }
2902
2902
  async function Ra(e2, t2) {
2903
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = ka(C({ query: e2, ...t2 }, []));
2903
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Oa(C({ query: e2, ...t2 }, []));
2904
2904
  r2?.onSiteCall?.();
2905
2905
  try {
2906
2906
  let e3 = await n2.request(i2);
2907
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: G, paths: [{ path: `products.url` }] }, { transformFn: H, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2907
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: K, paths: [{ path: `products.url` }] }, { transformFn: U, paths: [{ path: `products.media.main.image` }, { path: `products.media.itemsInfo.items.image` }, { path: `products.options.choicesSettings.choices.image` }, { path: `products.options.choicesSettings.choices.displayImage` }, { path: `products.options.choicesSettings.choices.linkedMedia.image` }, { path: `products.modifiers.choicesSettings.choices.image` }, { path: `products.modifiers.choicesSettings.choices.displayImage` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `products.variantsInfo.variants.media.image` }, { path: `products.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `products.media.main.video` }, { path: `products.media.itemsInfo.items.video` }, { path: `products.options.choicesSettings.choices.linkedMedia.video` }, { path: `products.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `products.variantsInfo.variants.media.video` }, { path: `products.variantSummary.minPriceVariant.media.video` }] }]), [`products.description`, `products.infoSections.description`]);
2908
2908
  } catch (e3) {
2909
2909
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2910
2910
  throw r2?.onError?.(e3), t3;
2911
2911
  }
2912
2912
  }
2913
2913
  async function za(e2) {
2914
- let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Aa(C({ filter: e2?.filter, search: e2?.search, returnNonVisibleProducts: e2?.returnNonVisibleProducts }, []));
2914
+ let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = ka(C({ filter: e2?.filter, search: e2?.search, returnNonVisibleProducts: e2?.returnNonVisibleProducts }, []));
2915
2915
  n2?.onSiteCall?.();
2916
2916
  try {
2917
2917
  let e3 = await t2.request(r2);
@@ -2933,11 +2933,11 @@ function Ha(e2) {
2933
2933
  function Ua(e2) {
2934
2934
  return (t2) => za(t2, { httpClient: e2 });
2935
2935
  }
2936
- var Wa = b(`wix.stores.catalog.v3.product_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: G, paths: [{ path: `entity.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }] }, { transformFn: H, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }] }])))();
2937
- var Ga = b(`wix.stores.catalog.v3.product_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: G, paths: [{ path: `entity.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }] }, { transformFn: H, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }] }])))();
2938
- var Ka = b(`wix.stores.catalog.v3.product_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }, { path: `modifiedFields.description.metadata.createdTimestamp` }, { path: `modifiedFields.description.metadata.updatedTimestamp` }, { path: `modifiedFields.infoSections.description.metadata.createdTimestamp` }, { path: `modifiedFields.infoSections.description.metadata.updatedTimestamp` }] }, { transformFn: G, paths: [{ path: `entity.url` }, { path: `modifiedFields.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }, { path: `modifiedFields.physicalProperties.pricePerUnit.quantity` }, { path: `modifiedFields.physicalProperties.shippingWeightRange.minValue` }, { path: `modifiedFields.physicalProperties.shippingWeightRange.maxValue` }, { path: `modifiedFields.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `modifiedFields.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `modifiedFields.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `modifiedFields.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `modifiedFields.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `modifiedFields.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `modifiedFields.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.description.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.description.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.description.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.description.nodes.imageData.image.duration` }, { path: `modifiedFields.description.nodes.imageData.crop.x` }, { path: `modifiedFields.description.nodes.imageData.crop.y` }, { path: `modifiedFields.description.nodes.imageData.crop.width` }, { path: `modifiedFields.description.nodes.imageData.crop.height` }, { path: `modifiedFields.description.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.description.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.description.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.description.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.description.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.description.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.description.nodes.videoData.video.duration` }, { path: `modifiedFields.description.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.description.nodes.audioData.audio.duration` }, { path: `modifiedFields.description.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.description.nodes.shapeData.shape.duration` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.tocData.fontSize` }, { path: `modifiedFields.description.nodes.tocData.itemSpacing` }, { path: `modifiedFields.description.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.infoSections.description.nodes.imageData.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.x` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.y` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.width` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.height` }, { path: `modifiedFields.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.videoData.video.duration` }, { path: `modifiedFields.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.infoSections.description.nodes.audioData.audio.duration` }, { path: `modifiedFields.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.shapeData.shape.duration` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.tocData.fontSize` }, { path: `modifiedFields.infoSections.description.nodes.tocData.itemSpacing` }, { path: `modifiedFields.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.variantsInfo.variants.physicalProperties.weight` }, { path: `modifiedFields.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `modifiedFields.minVariantPriceInfo.weight` }] }, { transformFn: H, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }, { path: `modifiedFields.media.main.image` }, { path: `modifiedFields.media.itemsInfo.items.image` }, { path: `modifiedFields.options.choicesSettings.choices.image` }, { path: `modifiedFields.options.choicesSettings.choices.displayImage` }, { path: `modifiedFields.options.choicesSettings.choices.linkedMedia.image` }, { path: `modifiedFields.modifiers.choicesSettings.choices.image` }, { path: `modifiedFields.modifiers.choicesSettings.choices.displayImage` }, { path: `modifiedFields.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `modifiedFields.variantsInfo.variants.media.image` }, { path: `modifiedFields.variantSummary.minPriceVariant.media.image` }] }, { transformFn: U, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }, { path: `modifiedFields.media.main.video` }, { path: `modifiedFields.media.itemsInfo.items.video` }, { path: `modifiedFields.options.choicesSettings.choices.linkedMedia.video` }, { path: `modifiedFields.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `modifiedFields.variantsInfo.variants.media.video` }, { path: `modifiedFields.variantSummary.minPriceVariant.media.video` }] }])))();
2936
+ var Wa = b(`wix.stores.catalog.v3.product_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: K, paths: [{ path: `entity.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }] }, { transformFn: U, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }] }])))();
2937
+ var Ga = b(`wix.stores.catalog.v3.product_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: K, paths: [{ path: `entity.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }] }, { transformFn: U, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }] }])))();
2938
+ var Ka = b(`wix.stores.catalog.v3.product_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.description.metadata.createdTimestamp` }, { path: `entity.description.metadata.updatedTimestamp` }, { path: `entity.infoSections.description.metadata.createdTimestamp` }, { path: `entity.infoSections.description.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }, { path: `modifiedFields.description.metadata.createdTimestamp` }, { path: `modifiedFields.description.metadata.updatedTimestamp` }, { path: `modifiedFields.infoSections.description.metadata.createdTimestamp` }, { path: `modifiedFields.infoSections.description.metadata.updatedTimestamp` }] }, { transformFn: K, paths: [{ path: `entity.url` }, { path: `modifiedFields.url` }] }, { transformFn: M, paths: [{ path: `entity.physicalProperties.pricePerUnit.quantity` }, { path: `entity.physicalProperties.shippingWeightRange.minValue` }, { path: `entity.physicalProperties.shippingWeightRange.maxValue` }, { path: `entity.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `entity.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `entity.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `entity.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `entity.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.description.nodes.galleryData.options.item.ratio` }, { path: `entity.description.nodes.imageData.image.duration` }, { path: `entity.description.nodes.imageData.crop.x` }, { path: `entity.description.nodes.imageData.crop.y` }, { path: `entity.description.nodes.imageData.crop.width` }, { path: `entity.description.nodes.imageData.crop.height` }, { path: `entity.description.nodes.mapData.mapSettings.lat` }, { path: `entity.description.nodes.mapData.mapSettings.lng` }, { path: `entity.description.nodes.pollData.poll.image.duration` }, { path: `entity.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.description.nodes.appEmbedData.image.duration` }, { path: `entity.description.nodes.videoData.video.duration` }, { path: `entity.description.nodes.videoData.thumbnail.duration` }, { path: `entity.description.nodes.audioData.audio.duration` }, { path: `entity.description.nodes.audioData.coverImage.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.description.nodes.shapeData.shape.duration` }, { path: `entity.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.description.nodes.tocData.fontSize` }, { path: `entity.description.nodes.tocData.itemSpacing` }, { path: `entity.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `entity.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `entity.infoSections.description.nodes.imageData.image.duration` }, { path: `entity.infoSections.description.nodes.imageData.crop.x` }, { path: `entity.infoSections.description.nodes.imageData.crop.y` }, { path: `entity.infoSections.description.nodes.imageData.crop.width` }, { path: `entity.infoSections.description.nodes.imageData.crop.height` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `entity.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `entity.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `entity.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `entity.infoSections.description.nodes.videoData.video.duration` }, { path: `entity.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `entity.infoSections.description.nodes.audioData.audio.duration` }, { path: `entity.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.shapeData.shape.duration` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.infoSections.description.nodes.tocData.fontSize` }, { path: `entity.infoSections.description.nodes.tocData.itemSpacing` }, { path: `entity.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `entity.variantsInfo.variants.physicalProperties.weight` }, { path: `entity.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `entity.minVariantPriceInfo.weight` }, { path: `modifiedFields.physicalProperties.pricePerUnit.quantity` }, { path: `modifiedFields.physicalProperties.shippingWeightRange.minValue` }, { path: `modifiedFields.physicalProperties.shippingWeightRange.maxValue` }, { path: `modifiedFields.variantsInfo.variants.physicalProperties.pricePerUnit.settings.quantity` }, { path: `modifiedFields.variantsInfo.variants.revenueDetails.profitMargin` }, { path: `modifiedFields.subscriptionDetails.subscriptions.discount.percentOff` }, { path: `modifiedFields.variantSummary.minPriceVariant.physicalProperties.pricePerUnit.settings.quantity` }, { path: `modifiedFields.variantSummary.minPriceVariant.revenueDetails.profitMargin` }, { path: `modifiedFields.minVariantPriceInfo.pricePerUnitData.settings.quantity` }, { path: `modifiedFields.minVariantPriceInfo.revenueDetails.profitMargin` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.description.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.description.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.description.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.description.nodes.imageData.image.duration` }, { path: `modifiedFields.description.nodes.imageData.crop.x` }, { path: `modifiedFields.description.nodes.imageData.crop.y` }, { path: `modifiedFields.description.nodes.imageData.crop.width` }, { path: `modifiedFields.description.nodes.imageData.crop.height` }, { path: `modifiedFields.description.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.description.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.description.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.description.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.description.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.description.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.description.nodes.videoData.video.duration` }, { path: `modifiedFields.description.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.description.nodes.audioData.audio.duration` }, { path: `modifiedFields.description.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.description.nodes.shapeData.shape.duration` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.description.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.description.nodes.tocData.fontSize` }, { path: `modifiedFields.description.nodes.tocData.itemSpacing` }, { path: `modifiedFields.description.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.infoSections.description.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.infoSections.description.nodes.imageData.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.x` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.y` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.width` }, { path: `modifiedFields.infoSections.description.nodes.imageData.crop.height` }, { path: `modifiedFields.infoSections.description.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.infoSections.description.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.infoSections.description.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.infoSections.description.nodes.videoData.video.duration` }, { path: `modifiedFields.infoSections.description.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.infoSections.description.nodes.audioData.audio.duration` }, { path: `modifiedFields.infoSections.description.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.shapeData.shape.duration` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.infoSections.description.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.infoSections.description.nodes.tocData.fontSize` }, { path: `modifiedFields.infoSections.description.nodes.tocData.itemSpacing` }, { path: `modifiedFields.infoSections.description.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.variantsInfo.variants.physicalProperties.weight` }, { path: `modifiedFields.variantSummary.minPriceVariant.physicalProperties.weight` }, { path: `modifiedFields.minVariantPriceInfo.weight` }] }, { transformFn: U, paths: [{ path: `entity.media.main.image` }, { path: `entity.media.itemsInfo.items.image` }, { path: `entity.options.choicesSettings.choices.image` }, { path: `entity.options.choicesSettings.choices.displayImage` }, { path: `entity.options.choicesSettings.choices.linkedMedia.image` }, { path: `entity.modifiers.choicesSettings.choices.image` }, { path: `entity.modifiers.choicesSettings.choices.displayImage` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `entity.variantsInfo.variants.media.image` }, { path: `entity.variantSummary.minPriceVariant.media.image` }, { path: `modifiedFields.media.main.image` }, { path: `modifiedFields.media.itemsInfo.items.image` }, { path: `modifiedFields.options.choicesSettings.choices.image` }, { path: `modifiedFields.options.choicesSettings.choices.displayImage` }, { path: `modifiedFields.options.choicesSettings.choices.linkedMedia.image` }, { path: `modifiedFields.modifiers.choicesSettings.choices.image` }, { path: `modifiedFields.modifiers.choicesSettings.choices.displayImage` }, { path: `modifiedFields.modifiers.choicesSettings.choices.linkedMedia.image` }, { path: `modifiedFields.variantsInfo.variants.media.image` }, { path: `modifiedFields.variantSummary.minPriceVariant.media.image` }] }, { transformFn: W, paths: [{ path: `entity.media.main.video` }, { path: `entity.media.itemsInfo.items.video` }, { path: `entity.options.choicesSettings.choices.linkedMedia.video` }, { path: `entity.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `entity.variantsInfo.variants.media.video` }, { path: `entity.variantSummary.minPriceVariant.media.video` }, { path: `modifiedFields.media.main.video` }, { path: `modifiedFields.media.itemsInfo.items.video` }, { path: `modifiedFields.options.choicesSettings.choices.linkedMedia.video` }, { path: `modifiedFields.modifiers.choicesSettings.choices.linkedMedia.video` }, { path: `modifiedFields.variantsInfo.variants.media.video` }, { path: `modifiedFields.variantSummary.minPriceVariant.media.video` }] }])))();
2939
2939
  function qa(e2) {
2940
- let t2 = Qi({ builderQueryFunction: (t3) => Va(e2)(t3), typedQueryFunction: (t3, n3) => Ha(e2)(t3, n3), hasOptionsParameter: true });
2940
+ let t2 = Zi({ builderQueryFunction: (t3) => Va(e2)(t3), typedQueryFunction: (t3, n3) => Ha(e2)(t3, n3), hasOptionsParameter: true });
2941
2941
  function n2(e3, n3) {
2942
2942
  return t2(...arguments);
2943
2943
  }
@@ -2960,7 +2960,7 @@ function $a(e2) {
2960
2960
  var eo = ((e2) => (e2.GROUPING_CUSTOMIZATION = `GROUPING_CUSTOMIZATION`, e2.THUMBNAIL = `THUMBNAIL`, e2))(eo || {});
2961
2961
  function to(e2) {
2962
2962
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2963
- return Ri({ func: async (r2) => {
2963
+ return Li({ func: async (r2) => {
2964
2964
  let i2 = $a({ ...r2, ...e2 ?? {} });
2965
2965
  n2?.onSiteCall?.();
2966
2966
  try {
@@ -2973,7 +2973,7 @@ function to(e2) {
2973
2973
  let n3 = [t3, e2];
2974
2974
  return C({ ...n3?.[1], query: n3?.[0] });
2975
2975
  }, responseTransformer: ({ data: e3 }) => {
2976
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `productGroups.media.image` }] }]));
2976
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `productGroups.media.image` }] }]));
2977
2977
  return { items: t3?.productGroups, pagingMetadata: t3?.pagingMetadata };
2978
2978
  }, errorTransformer: (e3) => {
2979
2979
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
@@ -2984,13 +2984,13 @@ async function no(e2, t2) {
2984
2984
  r2?.onSiteCall?.();
2985
2985
  try {
2986
2986
  let e3 = await n2.request(i2);
2987
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `productGroups.media.image` }] }]));
2987
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `productGroups.media.image` }] }]));
2988
2988
  } catch (e3) {
2989
2989
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2990
2990
  throw r2?.onError?.(e3), t3;
2991
2991
  }
2992
2992
  }
2993
- ({ ...V() }, { ...Ea() });
2993
+ ({ ...H() }, { ...Ta() });
2994
2994
  function ro(e2) {
2995
2995
  return (t2) => to(t2, { httpClient: e2 });
2996
2996
  }
@@ -2998,7 +2998,7 @@ function io(e2) {
2998
2998
  return (t2, n2) => no(t2, n2, { httpClient: e2 });
2999
2999
  }
3000
3000
  function ao(e2) {
3001
- let t2 = Qi({ builderQueryFunction: (t3) => ro(e2)(t3), typedQueryFunction: (t3, n3) => io(e2)(t3, n3), hasOptionsParameter: true });
3001
+ let t2 = Zi({ builderQueryFunction: (t3) => ro(e2)(t3), typedQueryFunction: (t3, n3) => io(e2)(t3, n3), hasOptionsParameter: true });
3002
3002
  function n2(e3, n3) {
3003
3003
  return t2(...arguments);
3004
3004
  }
@@ -3017,7 +3017,7 @@ function lo(e2) {
3017
3017
  }
3018
3018
  function uo() {
3019
3019
  let { httpClient: e2, sideEffects: t2 } = arguments[0];
3020
- return Ri({ func: async (n2) => {
3020
+ return Li({ func: async (n2) => {
3021
3021
  let r2 = lo(n2);
3022
3022
  t2?.onSiteCall?.();
3023
3023
  try {
@@ -3047,7 +3047,7 @@ async function fo(e2) {
3047
3047
  throw n2?.onError?.(e3), t3;
3048
3048
  }
3049
3049
  }
3050
- ({ ...V() });
3050
+ ({ ...H() });
3051
3051
  function po(e2) {
3052
3052
  return () => uo({ httpClient: e2 });
3053
3053
  }
@@ -3055,7 +3055,7 @@ function mo(e2) {
3055
3055
  return (t2) => fo(t2, { httpClient: e2 });
3056
3056
  }
3057
3057
  function ho(e2) {
3058
- let t2 = Qi({ builderQueryFunction: () => po(e2)(), typedQueryFunction: (t3) => mo(e2)(t3), hasOptionsParameter: false });
3058
+ let t2 = Zi({ builderQueryFunction: () => po(e2)(), typedQueryFunction: (t3) => mo(e2)(t3), hasOptionsParameter: false });
3059
3059
  function n2(e3) {
3060
3060
  return t2(...arguments);
3061
3061
  }
@@ -3072,13 +3072,13 @@ function yo(e2) {
3072
3072
  }
3073
3073
  return t2;
3074
3074
  }
3075
- ({ ...V() }, { ...Ea() });
3075
+ ({ ...H() }, { ...Ta() });
3076
3076
  async function bo(e2) {
3077
3077
  let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = yo(C({ categoryId: e2 }));
3078
3078
  n2?.onSiteCall?.();
3079
3079
  try {
3080
3080
  let e3 = await t2.request(r2);
3081
- return n2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `promotions.promotion.media.image` }] }]));
3081
+ return n2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `promotions.promotion.media.image` }] }]));
3082
3082
  } catch (e3) {
3083
3083
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { categoryId: `$[0]` }, singleArgumentUnchanged: false }, [`categoryId`]);
3084
3084
  throw n2?.onError?.(e3), t3;
@@ -3087,14 +3087,14 @@ async function bo(e2) {
3087
3087
  function xo(e2) {
3088
3088
  return (t2) => bo(t2, { httpClient: e2 });
3089
3089
  }
3090
- var So = b(`wix.stores.catalog.v3.promotion_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `entity.media.image` }] }])))();
3091
- var Co = b(`wix.stores.catalog.v3.promotion_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `entity.media.image` }] }])))();
3092
- var wo = b(`wix.stores.catalog.v3.promotion_tags_modified`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `data.promotion.createdDate` }, { path: `data.promotion.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `data.promotion.media.image` }] }])))();
3093
- var To = b(`wix.stores.catalog.v3.promotion_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }] }, { transformFn: H, paths: [{ path: `entity.media.image` }, { path: `modifiedFields.media.image` }] }])))();
3090
+ var So = b(`wix.stores.catalog.v3.promotion_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `entity.media.image` }] }])))();
3091
+ var Co = b(`wix.stores.catalog.v3.promotion_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `entity.media.image` }] }])))();
3092
+ var wo = b(`wix.stores.catalog.v3.promotion_tags_modified`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `data.promotion.createdDate` }, { path: `data.promotion.updatedDate` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `data.promotion.media.image` }] }])))();
3093
+ var To = b(`wix.stores.catalog.v3.promotion_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }] }, { transformFn: U, paths: [{ path: `entity.media.image` }, { path: `modifiedFields.media.image` }] }])))();
3094
3094
  var Eo = O(xo);
3095
3095
  j(So), j(Co), j(wo), j(To);
3096
3096
  var Y = function(e2) {
3097
- return e2.PRICE = `PRICE`, e2.TEXT_CHOICES = `${W.TEXT_CHOICES}`, e2.SWATCH_CHOICES = `${W.SWATCH_CHOICES}`, e2;
3097
+ return e2.PRICE = `PRICE`, e2.TEXT_CHOICES = `${G.TEXT_CHOICES}`, e2.SWATCH_CHOICES = `${G.SWATCH_CHOICES}`, e2;
3098
3098
  }({});
3099
3099
  var Do = function(e2) {
3100
3100
  return e2.TEXT_CHOICES = `Text Choices`, e2.SWATCH_CHOICES = `Swatch Choices`, e2.PRICE = `Price`, e2;
@@ -3151,19 +3151,19 @@ function zo(e2, t2, n2) {
3151
3151
  return s2 ? `?${s2}` : ``;
3152
3152
  }
3153
3153
  function Bo(e2) {
3154
- let { search: t2, pushSearch: n2 } = wi(), i2 = (0, import_react.useMemo)(() => No(t2, e2), [t2, e2]), a2 = (r2) => {
3154
+ let { search: t2, pushSearch: n2 } = Ci(), i2 = (0, import_react.useMemo)(() => No(t2, e2), [t2, e2]), a2 = (r2) => {
3155
3155
  r2 !== i2 && n2(zo(t2, r2, e2));
3156
3156
  };
3157
3157
  return { filterSelection: i2, selectFilterChoice: (e3, t3) => {
3158
- a2(Ei(i2, e3, t3));
3158
+ a2(Ti(i2, e3, t3));
3159
3159
  }, deselectFilterChoice: (e3, t3) => {
3160
- a2(Di(i2, e3, t3));
3160
+ a2(Ei(i2, e3, t3));
3161
3161
  }, setPriceRange: (e3, t3) => {
3162
- a2(Oi(i2, e3, t3));
3162
+ a2(Di(i2, e3, t3));
3163
3163
  }, clearPriceRange: () => {
3164
- a2(ki(i2));
3164
+ a2(Oi(i2));
3165
3165
  }, clearAllFilters: () => {
3166
- Ti(i2) || a2({});
3166
+ wi(i2) || a2({});
3167
3167
  } };
3168
3168
  }
3169
3169
  var Vo = function(e2) {
@@ -3172,7 +3172,7 @@ var Vo = function(e2) {
3172
3172
  var X = function(e2) {
3173
3173
  return e2.recommended = `recommended`, e2.newest = `newest`, e2.price_ascending = `price_ascending`, e2.price_descending = `price_descending`, e2.name_ascending = `name_ascending`, e2.name_descending = `name_descending`, e2;
3174
3174
  }({});
3175
- var Ho = [{ type: X.recommended }, { type: X.newest, fieldName: Vo.createdDate, order: q.DESC }, { type: X.price_ascending, fieldName: Vo.actualPriceRangeMinValueAmount, order: q.ASC }, { type: X.price_descending, fieldName: Vo.actualPriceRangeMinValueAmount, order: q.DESC }, { type: X.name_ascending, fieldName: Vo.name, order: q.ASC }, { type: X.name_descending, fieldName: Vo.name, order: q.DESC }];
3175
+ var Ho = [{ type: X.recommended }, { type: X.newest, fieldName: Vo.createdDate, order: ja.DESC }, { type: X.price_ascending, fieldName: Vo.actualPriceRangeMinValueAmount, order: ja.ASC }, { type: X.price_descending, fieldName: Vo.actualPriceRangeMinValueAmount, order: ja.DESC }, { type: X.name_ascending, fieldName: Vo.name, order: ja.ASC }, { type: X.name_descending, fieldName: Vo.name, order: ja.DESC }];
3176
3176
  function Uo(e2) {
3177
3177
  return Ho.find((t2) => t2.type === e2);
3178
3178
  }
@@ -3188,7 +3188,7 @@ function Jo(e2, t2) {
3188
3188
  return t2 === Wo ? n2.delete(Ko) : n2.set(Ko, t2), n2.toString();
3189
3189
  }
3190
3190
  function Yo() {
3191
- let { search: e2, pushSearch: t2 } = wi(), n2 = (0, import_react.useMemo)(() => qo(e2), [e2]);
3191
+ let { search: e2, pushSearch: t2 } = Ci(), n2 = (0, import_react.useMemo)(() => qo(e2), [e2]);
3192
3192
  return { sortTypes: Go, selectedSortType: n2, selectSortType: (r2) => {
3193
3193
  r2 !== n2 && t2(Jo(e2, r2));
3194
3194
  } };
@@ -3223,7 +3223,7 @@ var is = (e2) => {
3223
3223
  };
3224
3224
  function as(e2) {
3225
3225
  let t2 = e2.map((e3) => {
3226
- let t3 = e3._id, n2 = e3.modifierRenderType === ja.FREE_TEXT;
3226
+ let t3 = e3._id, n2 = e3.modifierRenderType === Aa.FREE_TEXT;
3227
3227
  return [t3, { id: t3, key: e3.key, name: e3.name ?? void 0, mandatory: e3.mandatory !== false, modifierRenderType: e3.modifierRenderType, freeTextSettings: n2 ? e3.freeTextSettings : void 0, choices: n2 ? void 0 : (e3.choicesSettings?.choices ?? []).map((e4) => {
3228
3228
  let t4 = ts(e4.displayImage) ?? void 0;
3229
3229
  return { choiceId: e4.choiceId, key: e4.key, name: e4.name ?? void 0, colorCode: e4.colorCode, ...t4 ? { displayImageUri: t4 } : {}, mediaIds: is(e4.media) };
@@ -3337,7 +3337,7 @@ var Ns = (e2, t2) => {
3337
3337
  return t3 ? [t3.id, ...t3.childIds ?? []] : [e3];
3338
3338
  });
3339
3339
  };
3340
- var Ps = (e2, t2) => ({ [e2.customizationType === ia.MODIFIER ? $.modifierChoice : $.optionChoice]: { $hasSome: Ns(e2, t2) } });
3340
+ var Ps = (e2, t2) => ({ [e2.customizationType === ra.MODIFIER ? $.modifierChoice : $.optionChoice]: { $hasSome: Ns(e2, t2) } });
3341
3341
  var Fs = (e2, t2) => {
3342
3342
  let n2 = new Map(e2.filter((e3) => e3.type === Y.TEXT_CHOICES || e3.type === Y.SWATCH_CHOICES).map((e3) => [e3.id, e3]));
3343
3343
  return Object.entries(t2.customizationIdToChoiceIds ?? {}).flatMap(([e3, t3]) => {
@@ -3422,12 +3422,12 @@ async function Xs(e2, t2) {
3422
3422
  }
3423
3423
  var Zs = (e2, t2) => `${e2}:${[...t2].toSorted().join(`,`)}`;
3424
3424
  function Qs(e2) {
3425
- if (Ti(e2)) return ``;
3425
+ if (wi(e2)) return ``;
3426
3426
  let t2 = Object.entries(e2.customizationIdToChoiceIds ?? {}).filter(([, e3]) => e3.length > 0).map(([e3, t3]) => Zs(e3, t3)).toSorted().join(`;`), n2 = [];
3427
3427
  return e2.priceMin !== void 0 && n2.push(`min:${e2.priceMin}`), e2.priceMax !== void 0 && n2.push(`max:${e2.priceMax}`), t2 && n2.push(t2), n2.join(`&`);
3428
3428
  }
3429
- var $s = R(`@wix/site-service-locale`);
3430
- var ec = R(`@wix/viewer-service-multilingual`);
3429
+ var $s = z(`@wix/site-service-locale`);
3430
+ var ec = z(`@wix/viewer-service-multilingual`);
3431
3431
  function tc() {
3432
3432
  let e2 = (0, import_services_manager_react.useGetService)(), t2 = (0, import_services_manager_react.useService)($s), n2;
3433
3433
  try {
@@ -3437,10 +3437,10 @@ function tc() {
3437
3437
  return n2?.multilingualEnabled && n2.currentLocale?.languageCode || t2.language;
3438
3438
  }
3439
3439
  function nc(e2, t2, a2, o2, s2, c2) {
3440
- let l2 = tc(), u2 = Qs(a2), d2 = `${u2}:${o2}:${s2}`, f2 = u2 === c2.filterSelectionKey && o2 === c2.sortType && s2 === c2.productsPerPage ? { pages: [c2.page], pageParams: [void 0] } : void 0, p2 = (0, import_react.useRef)(new Map(Object.entries(c2.productGroupByGroupId))), { data: m2, isFetching: h2, isError: ee2, hasNextPage: te2, fetchNextPage: g2 } = oi({ queryKey: [`category-products`, l2, e2, u2, o2, s2], queryFn: async ({ pageParam: n2 }) => {
3440
+ let l2 = tc(), u2 = Qs(a2), d2 = `${u2}:${o2}:${s2}`, f2 = u2 === c2.filterSelectionKey && o2 === c2.sortType && s2 === c2.productsPerPage ? { pages: [c2.page], pageParams: [void 0] } : void 0, p2 = (0, import_react.useRef)(new Map(Object.entries(c2.productGroupByGroupId))), { data: m2, isFetching: h2, isError: ee2, hasNextPage: te2, fetchNextPage: g2 } = ai({ queryKey: [`category-products`, l2, e2, u2, o2, s2], queryFn: async ({ pageParam: n2 }) => {
3441
3441
  let r2 = await Vs({ categoryId: e2, filters: t2, filterSelection: a2, sortType: o2, productsPerPage: s2, cursor: n2 });
3442
3442
  return (await Xs(r2.products, p2.current)).forEach((e3, t3) => p2.current.set(t3, e3)), r2;
3443
- }, initialPageParam: void 0, getNextPageParam: (e3) => e3.hasNext ? e3.nextCursor : void 0, initialData: f2, staleTime: 1 / 0, placeholderData: er, retry: false }), _2 = (0, import_react.useCallback)(async () => {
3443
+ }, initialPageParam: void 0, getNextPageParam: (e3) => e3.hasNext ? e3.nextCursor : void 0, initialData: f2, staleTime: 1 / 0, placeholderData: $n, retry: false }), _2 = (0, import_react.useCallback)(async () => {
3444
3444
  await g2({ cancelRefetch: false });
3445
3445
  }, [g2]);
3446
3446
  return { products: (0, import_react.useMemo)(() => (m2?.pages ?? []).flatMap((e3) => e3.products), [m2]), productGroupByGroupId: p2.current, productListKey: d2, productCount: m2?.pages[0]?.productCount ?? 0, isLoadingProducts: h2, hasProductsError: ee2, hasMoreProducts: te2, loadMoreProducts: _2 };
@@ -3458,7 +3458,7 @@ function ic(e2, t2, n2) {
3458
3458
  }
3459
3459
  function ac(e2) {
3460
3460
  let t2 = tc();
3461
- return ii({ queries: e2.map((e3) => ({ queryKey: [`sibling-product`, t2, e3], queryFn: () => zs(e3), staleTime: 1 / 0, retry: false })) }).flatMap(({ data: e3 }) => e3 ? [e3] : []);
3461
+ return ri({ queries: e2.map((e3) => ({ queryKey: [`sibling-product`, t2, e3], queryFn: () => zs(e3), staleTime: 1 / 0, retry: false })) }).flatMap(({ data: e3 }) => e3 ? [e3] : []);
3462
3462
  }
3463
3463
  function oc(e2, t2) {
3464
3464
  return ic(e2, ac((0, import_react.useMemo)(() => rc(e2, t2), [e2, t2])), t2);
@@ -3503,7 +3503,7 @@ function pc(e2, t2) {
3503
3503
  let { category: n2, filters: i2, currency: a2, promotions: o2, initialProductList: s2, defaultLocationId: c2 } = e2, l2 = Bo(i2), u2 = Yo(), { products: d2, productGroupByGroupId: f2, productListKey: p2, ...m2 } = nc(n2.id, i2, l2.filterSelection, u2.selectedSortType, t2, s2), h2 = sc({ products: d2, productListKey: p2 });
3504
3504
  return { filters: i2, currency: a2, productItems: lc({ products: f2.size > 0 ? h2.displayedProducts : d2, productGroupByGroupId: f2, defaultLocationId: c2, selectProductGroupMember: h2.selectProductGroupMember }), promotionItems: (0, import_react.useMemo)(() => o2.map((e3) => ({ promotion: e3 })), [o2]), ...l2, ...u2, ...m2 };
3505
3505
  }
3506
- var mc = R(`@wix/site-service-warmup-data`);
3506
+ var mc = z(`@wix/site-service-warmup-data`);
3507
3507
  async function hc(e2, t2, n2) {
3508
3508
  let r2 = typeof window > `u`;
3509
3509
  if (!r2 && e2) try {
@@ -3535,7 +3535,7 @@ var _c = (e2) => {
3535
3535
  return t2 ? decodeURIComponent(t2) : void 0;
3536
3536
  };
3537
3537
  function vc() {
3538
- let { url: e2 } = wi();
3538
+ let { url: e2 } = Ci();
3539
3539
  return _c(e2);
3540
3540
  }
3541
3541
  function yc(e2) {
@@ -3560,7 +3560,7 @@ async function wc(e2, t2, n2) {
3560
3560
  i2?.onSiteCall?.();
3561
3561
  try {
3562
3562
  let e3 = await r2.request(a2);
3563
- return i2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `category.image` }] }]), [`category.richContentDescription`]);
3563
+ return i2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `category.image` }] }]), [`category.richContentDescription`]);
3564
3564
  } catch (e3) {
3565
3565
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { slug: `$[0]`, treeReference: `$[1]`, fields: `$[2].fields` }, singleArgumentUnchanged: false }, [`slug`, `treeReference`, `options`]);
3566
3566
  throw i2?.onError?.(e3), t3;
@@ -3568,7 +3568,7 @@ async function wc(e2, t2, n2) {
3568
3568
  }
3569
3569
  function Tc(e2) {
3570
3570
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
3571
- return Ri({ func: async (r2) => {
3571
+ return Li({ func: async (r2) => {
3572
3572
  let i2 = Sc({ ...r2, ...e2 });
3573
3573
  n2?.onSiteCall?.();
3574
3574
  try {
@@ -3581,7 +3581,7 @@ function Tc(e2) {
3581
3581
  let n3 = [t3, e2];
3582
3582
  return C({ ...n3?.[1], query: n3?.[0] }, []);
3583
3583
  }, responseTransformer: ({ data: e3 }) => {
3584
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3584
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3585
3585
  return { items: t3?.categories, pagingMetadata: t3?.pagingMetadata };
3586
3586
  }, errorTransformer: (e3) => {
3587
3587
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
@@ -3592,13 +3592,13 @@ async function Ec(e2, t2) {
3592
3592
  r2?.onSiteCall?.();
3593
3593
  try {
3594
3594
  let e3 = await n2.request(i2);
3595
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3595
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3596
3596
  } catch (e3) {
3597
3597
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
3598
3598
  throw r2?.onError?.(e3), t3;
3599
3599
  }
3600
3600
  }
3601
- ({ ...V() }, { ...Ea() });
3601
+ ({ ...H() }, { ...Ta() });
3602
3602
  function Dc(e2) {
3603
3603
  return (t2, n2, r2) => wc(t2, n2, r2, { httpClient: e2 });
3604
3604
  }
@@ -3609,14 +3609,14 @@ function kc(e2) {
3609
3609
  return (t2, n2) => Ec(t2, n2, { httpClient: e2 });
3610
3610
  }
3611
3611
  var Ac = b(`wix.categories.v1.category_category_moved`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3612
- var jc = b(`wix.categories.v1.category_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.richContentDescription.metadata.createdTimestamp` }, { path: `entity.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `entity.image` }] }, { transformFn: M, paths: [{ path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `entity.richContentDescription.nodes.imageData.image.duration` }, { path: `entity.richContentDescription.nodes.imageData.crop.x` }, { path: `entity.richContentDescription.nodes.imageData.crop.y` }, { path: `entity.richContentDescription.nodes.imageData.crop.width` }, { path: `entity.richContentDescription.nodes.imageData.crop.height` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `entity.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `entity.richContentDescription.nodes.videoData.video.duration` }, { path: `entity.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.audioData.audio.duration` }, { path: `entity.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.shapeData.shape.duration` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.tocData.fontSize` }, { path: `entity.richContentDescription.nodes.tocData.itemSpacing` }, { path: `entity.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3613
- var Mc = b(`wix.categories.v1.category_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `undefined.createdDate` }, { path: `undefined.updatedDate` }, { path: `undefined.richContentDescription.metadata.createdTimestamp` }, { path: `undefined.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: H, paths: [{ path: `undefined.image` }] }, { transformFn: M, paths: [{ path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `undefined.richContentDescription.nodes.imageData.image.duration` }, { path: `undefined.richContentDescription.nodes.imageData.crop.x` }, { path: `undefined.richContentDescription.nodes.imageData.crop.y` }, { path: `undefined.richContentDescription.nodes.imageData.crop.width` }, { path: `undefined.richContentDescription.nodes.imageData.crop.height` }, { path: `undefined.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `undefined.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `undefined.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `undefined.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `undefined.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `undefined.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `undefined.richContentDescription.nodes.videoData.video.duration` }, { path: `undefined.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `undefined.richContentDescription.nodes.audioData.audio.duration` }, { path: `undefined.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.shapeData.shape.duration` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.tocData.fontSize` }, { path: `undefined.richContentDescription.nodes.tocData.itemSpacing` }, { path: `undefined.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3612
+ var jc = b(`wix.categories.v1.category_created`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.richContentDescription.metadata.createdTimestamp` }, { path: `entity.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `entity.image` }] }, { transformFn: M, paths: [{ path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `entity.richContentDescription.nodes.imageData.image.duration` }, { path: `entity.richContentDescription.nodes.imageData.crop.x` }, { path: `entity.richContentDescription.nodes.imageData.crop.y` }, { path: `entity.richContentDescription.nodes.imageData.crop.width` }, { path: `entity.richContentDescription.nodes.imageData.crop.height` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `entity.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `entity.richContentDescription.nodes.videoData.video.duration` }, { path: `entity.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.audioData.audio.duration` }, { path: `entity.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.shapeData.shape.duration` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.tocData.fontSize` }, { path: `entity.richContentDescription.nodes.tocData.itemSpacing` }, { path: `entity.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3613
+ var Mc = b(`wix.categories.v1.category_deleted`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `undefined.createdDate` }, { path: `undefined.updatedDate` }, { path: `undefined.richContentDescription.metadata.createdTimestamp` }, { path: `undefined.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }] }, { transformFn: U, paths: [{ path: `undefined.image` }] }, { transformFn: M, paths: [{ path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `undefined.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `undefined.richContentDescription.nodes.imageData.image.duration` }, { path: `undefined.richContentDescription.nodes.imageData.crop.x` }, { path: `undefined.richContentDescription.nodes.imageData.crop.y` }, { path: `undefined.richContentDescription.nodes.imageData.crop.width` }, { path: `undefined.richContentDescription.nodes.imageData.crop.height` }, { path: `undefined.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `undefined.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `undefined.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `undefined.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `undefined.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `undefined.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `undefined.richContentDescription.nodes.videoData.video.duration` }, { path: `undefined.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `undefined.richContentDescription.nodes.audioData.audio.duration` }, { path: `undefined.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.shapeData.shape.duration` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `undefined.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `undefined.richContentDescription.nodes.tocData.fontSize` }, { path: `undefined.richContentDescription.nodes.tocData.itemSpacing` }, { path: `undefined.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3614
3614
  var Nc = b(`wix.categories.v1.category_item_added_to_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3615
3615
  var Pc = b(`wix.categories.v1.category_item_removed_from_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3616
3616
  var Fc = b(`wix.categories.v1.category_items_arranged_in_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3617
- var Ic = b(`wix.categories.v1.category_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.richContentDescription.metadata.createdTimestamp` }, { path: `entity.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }, { path: `modifiedFields.richContentDescription.metadata.createdTimestamp` }, { path: `modifiedFields.richContentDescription.metadata.updatedTimestamp` }] }, { transformFn: H, paths: [{ path: `entity.image` }, { path: `modifiedFields.image` }] }, { transformFn: M, paths: [{ path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `entity.richContentDescription.nodes.imageData.image.duration` }, { path: `entity.richContentDescription.nodes.imageData.crop.x` }, { path: `entity.richContentDescription.nodes.imageData.crop.y` }, { path: `entity.richContentDescription.nodes.imageData.crop.width` }, { path: `entity.richContentDescription.nodes.imageData.crop.height` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `entity.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `entity.richContentDescription.nodes.videoData.video.duration` }, { path: `entity.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.audioData.audio.duration` }, { path: `entity.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.shapeData.shape.duration` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.tocData.fontSize` }, { path: `entity.richContentDescription.nodes.tocData.itemSpacing` }, { path: `entity.richContentDescription.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.richContentDescription.nodes.imageData.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.x` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.y` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.width` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.height` }, { path: `modifiedFields.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.videoData.video.duration` }, { path: `modifiedFields.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.richContentDescription.nodes.audioData.audio.duration` }, { path: `modifiedFields.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.shapeData.shape.duration` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.tocData.fontSize` }, { path: `modifiedFields.richContentDescription.nodes.tocData.itemSpacing` }, { path: `modifiedFields.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3617
+ var Ic = b(`wix.categories.v1.category_updated`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `entity.createdDate` }, { path: `entity.updatedDate` }, { path: `entity.richContentDescription.metadata.createdTimestamp` }, { path: `entity.richContentDescription.metadata.updatedTimestamp` }, { path: `metadata.eventTime` }, { path: `modifiedFields.createdDate` }, { path: `modifiedFields.updatedDate` }, { path: `modifiedFields.richContentDescription.metadata.createdTimestamp` }, { path: `modifiedFields.richContentDescription.metadata.updatedTimestamp` }] }, { transformFn: U, paths: [{ path: `entity.image` }, { path: `modifiedFields.image` }] }, { transformFn: M, paths: [{ path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `entity.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `entity.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `entity.richContentDescription.nodes.imageData.image.duration` }, { path: `entity.richContentDescription.nodes.imageData.crop.x` }, { path: `entity.richContentDescription.nodes.imageData.crop.y` }, { path: `entity.richContentDescription.nodes.imageData.crop.width` }, { path: `entity.richContentDescription.nodes.imageData.crop.height` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `entity.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `entity.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `entity.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `entity.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `entity.richContentDescription.nodes.videoData.video.duration` }, { path: `entity.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `entity.richContentDescription.nodes.audioData.audio.duration` }, { path: `entity.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `entity.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.shapeData.shape.duration` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `entity.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `entity.richContentDescription.nodes.tocData.fontSize` }, { path: `entity.richContentDescription.nodes.tocData.itemSpacing` }, { path: `entity.richContentDescription.nodes.smartBlockCellData.shape.duration` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.buttonData.styles.backgroundHover.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.image.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.video.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.items.video.thumbnail.duration` }, { path: `modifiedFields.richContentDescription.nodes.galleryData.options.item.ratio` }, { path: `modifiedFields.richContentDescription.nodes.imageData.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.x` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.y` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.width` }, { path: `modifiedFields.richContentDescription.nodes.imageData.crop.height` }, { path: `modifiedFields.richContentDescription.nodes.mapData.mapSettings.lat` }, { path: `modifiedFields.richContentDescription.nodes.mapData.mapSettings.lng` }, { path: `modifiedFields.richContentDescription.nodes.pollData.poll.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.pollData.poll.options.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.pollData.design.poll.background.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.appEmbedData.image.duration` }, { path: `modifiedFields.richContentDescription.nodes.videoData.video.duration` }, { path: `modifiedFields.richContentDescription.nodes.videoData.thumbnail.duration` }, { path: `modifiedFields.richContentDescription.nodes.audioData.audio.duration` }, { path: `modifiedFields.richContentDescription.nodes.audioData.coverImage.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdropImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.layoutData.backdrop.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.shapeData.shape.duration` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.cardData.background.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.media.duration` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerX` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.centerY` }, { path: `modifiedFields.richContentDescription.nodes.cardData.backgroundImage.overlay.gradient.stops.position` }, { path: `modifiedFields.richContentDescription.nodes.tocData.fontSize` }, { path: `modifiedFields.richContentDescription.nodes.tocData.itemSpacing` }, { path: `modifiedFields.richContentDescription.nodes.smartBlockCellData.shape.duration` }] }])))();
3618
3618
  function Lc(e2) {
3619
- let t2 = Qi({ builderQueryFunction: (t3) => Oc(e2)(t3), typedQueryFunction: (t3, n3) => kc(e2)(t3, n3), hasOptionsParameter: true });
3619
+ let t2 = Zi({ builderQueryFunction: (t3) => Oc(e2)(t3), typedQueryFunction: (t3, n3) => kc(e2)(t3, n3), hasOptionsParameter: true });
3620
3620
  function n2(e3, n3) {
3621
3621
  return t2(...arguments);
3622
3622
  }
@@ -3715,7 +3715,7 @@ var cl = (e2, t2) => {
3715
3715
  let n2 = t2.choicesSettings?.choices ?? [], r2 = new Map(n2.map((e3, t3) => [e3._id ?? ``, t3])), i2 = (e3) => r2.get(e3.id) ?? 2 ** 53 - 1;
3716
3716
  return e2.toSorted((e3, t3) => i2(e3) - i2(t3));
3717
3717
  };
3718
- var ll = (e2, t2, n2) => t2 === W.TEXT_CHOICES ? dl(e2, (e3) => e3.name) : n2 ? ul(e2, (e3) => e3.count) : [...e2];
3718
+ var ll = (e2, t2, n2) => t2 === G.TEXT_CHOICES ? dl(e2, (e3) => e3.name) : n2 ? ul(e2, (e3) => e3.count) : [...e2];
3719
3719
  var ul = (e2, t2) => e2.toSorted((e3, n2) => t2(n2) - t2(e3));
3720
3720
  var dl = (e2, t2) => e2.toSorted((e3, n2) => {
3721
3721
  let r2 = sl(t2(e3)), i2 = sl(t2(n2));
@@ -3723,13 +3723,13 @@ var dl = (e2, t2) => e2.toSorted((e3, n2) => {
3723
3723
  });
3724
3724
  function fl(e2, t2, n2) {
3725
3725
  switch (t2.choicesSettings?.sortOrder) {
3726
- case aa.BY_NAME:
3726
+ case ia.BY_NAME:
3727
3727
  return dl(e2, (e3) => e3.name);
3728
- case aa.BY_PRODUCT_COUNT:
3728
+ case ia.BY_PRODUCT_COUNT:
3729
3729
  return ul(e2, (e3) => e3.count);
3730
- case aa.MANUAL:
3730
+ case ia.MANUAL:
3731
3731
  return cl(e2, t2);
3732
- case aa.DEFAULT:
3732
+ case ia.DEFAULT:
3733
3733
  default:
3734
3734
  return ll(e2, t2.customizationRenderType, n2);
3735
3735
  }
@@ -3762,8 +3762,8 @@ var bl = (e2, t2, n2, r2) => {
3762
3762
  return n3 ? [{ id: t3, name: n3.name ?? ``, renderType: n3.customizationRenderType, type: e2, choices: ml(n3, r2) }] : [];
3763
3763
  });
3764
3764
  };
3765
- var xl = (e2) => dl(e2.filter((e3) => e3.renderType === W.SWATCH_CHOICES).map(_l), (e3) => e3.name);
3766
- var Sl = (e2) => dl(e2.filter((e3) => e3.renderType === W.TEXT_CHOICES).map(yl), (e3) => e3.name);
3765
+ var xl = (e2) => dl(e2.filter((e3) => e3.renderType === G.SWATCH_CHOICES).map(_l), (e3) => e3.name);
3766
+ var Sl = (e2) => dl(e2.filter((e3) => e3.renderType === G.TEXT_CHOICES).map(yl), (e3) => e3.name);
3767
3767
  function Cl(e2, t2, n2, r2) {
3768
3768
  if (n2.length === 0) return [];
3769
3769
  let i2 = bl(e2, t2, n2, r2);
@@ -3941,13 +3941,13 @@ var Kl = v(_((e2, t2) => {
3941
3941
  }
3942
3942
  t2.exports = s2;
3943
3943
  })(), 1);
3944
- var ql = [oa.CHOICE_DISPLAY_IMAGE];
3944
+ var ql = [aa.CHOICE_DISPLAY_IMAGE];
3945
3945
  var Jl = `customizationRenderType`;
3946
3946
  async function Yl(e2) {
3947
3947
  let t2 = (0, Kl.default)(e2, 100);
3948
3948
  return (await Promise.all(t2.map(Xl))).flat();
3949
3949
  }
3950
- var Xl = async (e2) => (await ha({ fields: ql }).hasSome(`_id`, e2).ne(Jl, W.FREE_TEXT).limit(100).find()).items;
3950
+ var Xl = async (e2) => (await ma({ fields: ql }).hasSome(`_id`, e2).ne(Jl, G.FREE_TEXT).limit(100).find()).items;
3951
3951
  var Zl = (e2, t2, n2) => ({ name: e2, type: Fa.SCALAR, fieldPath: t2, scalar: { type: n2 } });
3952
3952
  var Ql = (e2, t2, n2) => ({ name: e2, type: Fa.VALUE, fieldPath: t2, value: { limit: n2, sortType: Ma.COUNT, sortDirection: Na.DESC } });
3953
3953
  function $l(e2) {
@@ -3972,7 +3972,7 @@ async function ru(e2, t2) {
3972
3972
  var iu = [ks.PRICE, ks.OPTIONS, ks.MODIFIERS];
3973
3973
  async function au(e2, t2 = iu) {
3974
3974
  let n2 = await ru(e2, t2), r2 = await Yl([...n2.optionIds, ...n2.modifierIds]);
3975
- return { filters: [wl(n2.minPrice, n2.maxPrice), ...Cl(ia.PRODUCT_OPTION, r2, n2.optionIds, n2.optionChoiceIdToCount), ...Cl(ia.MODIFIER, r2, n2.modifierIds, n2.modifierChoiceIdToCount)].filter((e3) => e3 !== void 0), currency: n2.currency };
3975
+ return { filters: [wl(n2.minPrice, n2.maxPrice), ...Cl(ra.PRODUCT_OPTION, r2, n2.optionIds, n2.optionChoiceIdToCount), ...Cl(ra.MODIFIER, r2, n2.modifierIds, n2.modifierChoiceIdToCount)].filter((e3) => e3 !== void 0), currency: n2.currency };
3976
3976
  }
3977
3977
  var ou = (e2) => {
3978
3978
  let t2 = Bc(e2 ?? void 0);
@@ -3994,52 +3994,140 @@ async function uu(e2, t2, n2) {
3994
3994
  let r2 = au(e2), [i2, a2, o2] = await Promise.all([lu(e2, r2, t2, n2), r2, cu(e2)]), { filters: s2, currency: c2 } = a2;
3995
3995
  return { filters: s2, currency: c2, promotions: o2, initialProductList: i2 };
3996
3996
  }
3997
- var du = async (e2, t2, n2) => {
3997
+ function du({ id: e2 = ``, slug: t2 = `` }, n2, r2) {
3998
+ let i2 = [], a2 = No(n2, i2);
3999
+ return { category: { id: e2, name: ``, slug: t2, itemCounter: 0, breadcrumbs: [] }, defaultLocationId: void 0, filters: i2, currency: void 0, promotions: [], initialProductList: { page: { products: [], productCount: 0, hasNext: false }, productGroupByGroupId: {}, filterSelectionKey: Qs(a2), sortType: qo(n2), productsPerPage: r2 } };
4000
+ }
4001
+ function fu() {
4002
+ let e2 = typeof $wixContext < `u` && $wixContext.initWixModules ? $wixContext.initWixModules : globalThis.__wix_context__ !== void 0 && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
4003
+ if (e2) return { initWixModules(t3, n3) {
4004
+ return pu(() => e2(t3, n3));
4005
+ }, fetchWithAuth() {
4006
+ throw Error(`fetchWithAuth is not available in this context`);
4007
+ }, graphql() {
4008
+ throw Error(`graphql is not available in this context`);
4009
+ } };
4010
+ let t2 = typeof $wixContext < `u` ? $wixContext.client : y.client === void 0 ? globalThis.__wix_context__ === void 0 ? void 0 : globalThis.__wix_context__.client : y.client, n2 = typeof $wixContext < `u` ? $wixContext.elevatedClient : y.elevatedClient === void 0 ? globalThis.__wix_context__ === void 0 ? void 0 : globalThis.__wix_context__.elevatedClient : y.elevatedClient;
4011
+ if (t2 || n2) return { initWixModules(e3, r2) {
4012
+ if (r2) {
4013
+ if (!n2) throw Error(`An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules`);
4014
+ return pu(() => n2.use(e3));
4015
+ }
4016
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4017
+ return pu(() => t2.use(e3));
4018
+ }, fetchWithAuth: (e3, n3) => {
4019
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4020
+ return t2.fetchWithAuth(e3, n3);
4021
+ }, getAuth() {
4022
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4023
+ return t2.auth;
4024
+ }, async graphql(e3, n3, r2) {
4025
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4026
+ return t2.graphql(e3, n3, r2);
4027
+ } };
4028
+ }
4029
+ function pu(e2) {
4030
+ let t2 = globalThis.__wix_context__, n2 = { client: y.client, elevatedClient: y.elevatedClient }, r2;
4031
+ globalThis.__wix_context__ = void 0, y.client = void 0, y.elevatedClient = void 0, typeof $wixContext < `u` && (r2 = { client: $wixContext?.client, elevatedClient: $wixContext?.elevatedClient }, delete $wixContext.client, delete $wixContext.elevatedClient);
4032
+ try {
4033
+ return e2();
4034
+ } finally {
4035
+ globalThis.__wix_context__ = t2, y.client = n2.client, y.elevatedClient = n2.elevatedClient, typeof $wixContext < `u` && ($wixContext.client = r2.client, $wixContext.elevatedClient = r2.elevatedClient);
4036
+ }
4037
+ }
4038
+ function mu(e2, t2) {
4039
+ return { ...e2, ...Object.fromEntries(t2.map((t3) => [t3, (...n2) => {
4040
+ let r2 = fu();
4041
+ if (!r2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4042
+ return r2.initWixModules(e2)[t3].apply(void 0, n2);
4043
+ }])) };
4044
+ }
4045
+ function hu(e2) {
4046
+ return mu({ __type: `host`, create: (t2) => Object.entries(e2).reduce((e3, [n2, r2]) => ({ ...e3, [n2]: r2(t2) }), {}) }, Object.keys(e2));
4047
+ }
4048
+ var gu = class {
4049
+ constructor(e2) {
4050
+ this.message = e2, this.captureException = () => {
4051
+ console.error(this.message);
4052
+ }, this.captureMessage = () => {
4053
+ console.error(this.message);
4054
+ }, this.startSpan = (e3, t2) => (console.error(this.message), t2(void 0)), this.startSpanManual = () => (console.error(this.message), { end: () => {
4055
+ }, fail: () => {
4056
+ } }), this.endSpanManual = () => {
4057
+ console.error(this.message);
4058
+ }, this.addBreadcrumb = () => {
4059
+ console.error(this.message);
4060
+ };
4061
+ }
4062
+ };
4063
+ var _u = (e2) => new gu(e2);
4064
+ var vu = hu({ getMonitoringClient: (e2) => () => e2.getMonitoringClient ? e2.getMonitoringClient() : _u(`Host monitoring client is not available on the current host. Make sure to use an updated version of the host initialization package.`) });
4065
+ var yu = /* @__PURE__ */ new Set([`APP_NOT_INSTALLED`, `TREE_NOT_FOUND`, `CATALOG_V3_SITE_PROVISIONING`]);
4066
+ function bu(e2) {
4067
+ if (typeof e2 != `object` || !e2) return;
4068
+ let { details: t2 } = e2, n2 = t2?.applicationError?.code;
4069
+ return typeof n2 == `string` ? n2 : void 0;
4070
+ }
4071
+ function xu(e2) {
4072
+ let t2 = bu(e2);
4073
+ return t2 && yu.has(t2) ? t2 : void 0;
4074
+ }
4075
+ function Su(e2, t2, n2) {
4076
+ return t2.catch((t3) => {
4077
+ let r2 = xu(t3);
4078
+ if (!r2) throw t3;
4079
+ return vu.getMonitoringClient().captureException(t3, { level: `warning`, tags: { provider: e2, code: r2 } }), n2();
4080
+ });
4081
+ }
4082
+ function Cu(e2, t2, n2) {
4083
+ return (0, import_react.useMemo)(() => Su(e2, t2, n2), [t2]);
4084
+ }
4085
+ var wu = async (e2, t2, n2) => {
3998
4086
  let [r2, i2] = await Promise.all([tl(e2), nl()]);
3999
4087
  return { category: r2, defaultLocationId: i2, ...await uu(r2.id, t2, n2) };
4000
4088
  };
4001
- var fu = (e2, t2, n2) => `wixstores-storefront-builder:category-by-slug-context-data:${e2}:${n2}:${t2}`;
4002
- function pu(e2) {
4003
- let { search: t2 } = wi(), n2 = vc();
4004
- return gc(fu(n2, t2, e2), () => du(n2, t2, e2));
4089
+ var Tu = (e2, t2, n2) => `wixstores-storefront-builder:category-by-slug-context-data:${e2}:${n2}:${t2}`;
4090
+ function Eu(e2) {
4091
+ let { search: t2 } = Ci(), n2 = vc();
4092
+ return Cu(`category-by-slug`, gc(Tu(n2, t2, e2), () => wu(n2, t2, e2)), () => du({ slug: n2 }, t2, e2));
4005
4093
  }
4006
- function mu(e2) {
4094
+ function Du(e2) {
4007
4095
  return { id: e2._id, name: e2.name, slug: e2.slug, href: e2.slug ? `/category/${e2.slug}` : ``, parentCategoryId: e2.parentCategory?._id, sortIndex: e2.parentCategory?.index, childCategoryIds: [] };
4008
4096
  }
4009
- function hu(e2) {
4097
+ function Ou(e2) {
4010
4098
  let t2 = {};
4011
4099
  for (let n2 of e2) {
4012
4100
  if (n2.visible === false || !n2._id) continue;
4013
- let e3 = mu(n2);
4101
+ let e3 = Du(n2);
4014
4102
  t2[e3.id ?? ``] = e3;
4015
4103
  }
4016
4104
  for (let e3 of Object.values(t2)) e3?.parentCategoryId && t2[e3.parentCategoryId]?.childCategoryIds.push(e3.id ?? ``);
4017
4105
  return t2;
4018
4106
  }
4019
- var gu = { appNamespace: `@wix/stores`, treeKey: null };
4020
- var _u = 1e3;
4021
- async function vu() {
4022
- return hu((await zc({ treeReference: gu }).eq(`visible`, true).limit(_u).find()).items);
4107
+ var ku = { appNamespace: `@wix/stores`, treeKey: null };
4108
+ var Au = 1e3;
4109
+ async function ju() {
4110
+ return Ou((await zc({ treeReference: ku }).eq(`visible`, true).limit(Au).find()).items);
4023
4111
  }
4024
- var yu = `wixstores-storefront-builder:category-list-context-data`;
4025
- function bu() {
4026
- return gc(yu, () => vu());
4112
+ var Mu = `wixstores-storefront-builder:category-list-context-data`;
4113
+ function Nu() {
4114
+ return Cu(`category-list`, gc(Mu, ju), () => ({}));
4027
4115
  }
4028
- function xu() {
4116
+ function Pu() {
4029
4117
  throw Error(`useCategoryBySlugContext must not be used directly`);
4030
4118
  }
4031
- function Su({ categoryValue: e2, categoryListValue: t2, productListValue: n2, children: r2 }) {
4119
+ function Fu({ categoryValue: e2, categoryListValue: t2, productListValue: n2, children: r2 }) {
4032
4120
  return (0, import_jsx_runtime.jsx)(import_category_list_context_provider.default, { value: t2, children: (0, import_jsx_runtime.jsx)(import_category_info_context_provider.default, { value: e2, children: (0, import_jsx_runtime.jsx)(import_product_list_context_provider.default, { value: n2, children: r2 }) }) });
4033
4121
  }
4034
- var Cu = ({ children: e2, dataPromise: t2, categoryListPromise: n2, productsPerPage: r2 }) => {
4035
- let i2 = bi(t2), a2 = bi(n2), o2 = fi(i2), c2 = pi(a2, i2.category.id), l2 = pc(i2, r2);
4036
- return yi(i2.category), (0, import_jsx_runtime.jsx)(Su, { categoryValue: o2, categoryListValue: c2, productListValue: l2, children: e2 });
4122
+ var Iu = ({ children: e2, dataPromise: t2, categoryListPromise: n2, productsPerPage: r2 }) => {
4123
+ let i2 = yi(t2), a2 = yi(n2), o2 = di(i2), c2 = fi(a2, i2.category.id), l2 = pc(i2, r2);
4124
+ return vi(i2.category), (0, import_jsx_runtime.jsx)(Fu, { categoryValue: o2, categoryListValue: c2, productListValue: l2, children: e2 });
4037
4125
  };
4038
- function wu({ children: e2, productsPerPage: n2 = 20 }) {
4039
- let [r2] = (0, import_react.useState)(() => new Hr()), i2 = pu(n2), o2 = bu();
4040
- return (0, import_jsx_runtime.jsx)(Gr, { client: r2, children: (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: null, children: (0, import_jsx_runtime.jsx)(Cu, { dataPromise: i2, categoryListPromise: o2, productsPerPage: n2, children: e2 }) }) });
4126
+ function Lu({ children: e2, productsPerPage: n2 = 20 }) {
4127
+ let [r2] = (0, import_react.useState)(() => new Vr()), i2 = Eu(n2), o2 = Nu();
4128
+ return (0, import_jsx_runtime.jsx)(Wr, { client: r2, children: (0, import_jsx_runtime.jsx)(import_react.Suspense, { fallback: null, children: (0, import_jsx_runtime.jsx)(Iu, { dataPromise: i2, categoryListPromise: o2, productsPerPage: n2, children: e2 }) }) });
4041
4129
  }
4042
- var Tu = Mn(`404b3ed8-9b27-4342-9451-17ae43ebdebb`);
4130
+ var Ru = Mn(`404b3ed8-9b27-4342-9451-17ae43ebdebb`);
4043
4131
  // Annotate the CommonJS export names for ESM import in node:
4044
4132
  0 && (module.exports = {
4045
4133
  CategoryBySlugContextProvider,