@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.
@@ -873,7 +873,7 @@ var jn = (e2, t2) => {
873
873
  return nt({ auth: r2, host: n2 }).enableContext(`module`), r2.getAccessTokenInjector();
874
874
  };
875
875
  var Mn = (e2) => jn(`215238eb-22a5-4c36-9e7b-e7c08025e04e`, e2);
876
- var Nn = class {
876
+ var N = class {
877
877
  constructor() {
878
878
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
879
879
  }
@@ -890,7 +890,7 @@ var Nn = class {
890
890
  onUnsubscribe() {
891
891
  }
892
892
  };
893
- var Pn = new class extends Nn {
893
+ var Nn = new class extends N {
894
894
  #e;
895
895
  #t;
896
896
  #n;
@@ -928,9 +928,9 @@ var Pn = new class extends Nn {
928
928
  return typeof this.#e == `boolean` ? this.#e : globalThis.document?.visibilityState !== `hidden`;
929
929
  }
930
930
  }();
931
- var Fn = { setTimeout: (e2, t2) => setTimeout(e2, t2), clearTimeout: (e2) => clearTimeout(e2), setInterval: (e2, t2) => setInterval(e2, t2), clearInterval: (e2) => clearInterval(e2) };
932
- var N = new class {
933
- #e = Fn;
931
+ var Pn = { setTimeout: (e2, t2) => setTimeout(e2, t2), clearTimeout: (e2) => clearTimeout(e2), setInterval: (e2, t2) => setInterval(e2, t2), clearInterval: (e2) => clearInterval(e2) };
932
+ var P = new class {
933
+ #e = Pn;
934
934
  setTimeoutProvider(e2) {
935
935
  this.#e = e2;
936
936
  }
@@ -947,33 +947,33 @@ var N = new class {
947
947
  this.#e.clearInterval(e2);
948
948
  }
949
949
  }();
950
- function In(e2) {
950
+ function Fn(e2) {
951
951
  setTimeout(e2, 0);
952
952
  }
953
- var Ln = typeof window > `u` || `Deno` in globalThis;
954
- function P() {
953
+ var In = typeof window > `u` || `Deno` in globalThis;
954
+ function F() {
955
955
  }
956
- function Rn(e2, t2) {
956
+ function Ln(e2, t2) {
957
957
  return typeof e2 == `function` ? e2(t2) : e2;
958
958
  }
959
- function zn(e2) {
959
+ function Rn(e2) {
960
960
  return typeof e2 == `number` && e2 >= 0 && e2 !== 1 / 0;
961
961
  }
962
- function Bn(e2, t2) {
962
+ function zn(e2, t2) {
963
963
  return Math.max(e2 + (t2 || 0) - Date.now(), 0);
964
964
  }
965
- function F(e2, t2) {
965
+ function I(e2, t2) {
966
966
  return typeof e2 == `function` ? e2(t2) : e2;
967
967
  }
968
- function I(e2, t2) {
968
+ function L(e2, t2) {
969
969
  return typeof e2 == `function` ? e2(t2) : e2;
970
970
  }
971
- function Vn(e2, t2) {
971
+ function Bn(e2, t2) {
972
972
  let { type: n2 = `all`, exact: r2, fetchStatus: i2, predicate: a2, queryKey: o2, stale: s2 } = e2;
973
973
  if (o2) {
974
974
  if (r2) {
975
- if (t2.queryHash !== Un(o2, t2.options)) return false;
976
- } else if (!Gn(t2.queryKey, o2)) return false;
975
+ if (t2.queryHash !== Hn(o2, t2.options)) return false;
976
+ } else if (!Wn(t2.queryKey, o2)) return false;
977
977
  }
978
978
  if (n2 !== `all`) {
979
979
  let e3 = t2.isActive();
@@ -981,104 +981,104 @@ function Vn(e2, t2) {
981
981
  }
982
982
  return !(typeof s2 == `boolean` && t2.isStale() !== s2 || i2 && i2 !== t2.state.fetchStatus || a2 && !a2(t2));
983
983
  }
984
- function Hn(e2, t2) {
984
+ function Vn(e2, t2) {
985
985
  let { exact: n2, status: r2, predicate: i2, mutationKey: a2 } = e2;
986
986
  if (a2) {
987
987
  if (!t2.options.mutationKey) return false;
988
988
  if (n2) {
989
- if (Wn(t2.options.mutationKey) !== Wn(a2)) return false;
990
- } else if (!Gn(t2.options.mutationKey, a2)) return false;
989
+ if (Un(t2.options.mutationKey) !== Un(a2)) return false;
990
+ } else if (!Wn(t2.options.mutationKey, a2)) return false;
991
991
  }
992
992
  return !(r2 && t2.state.status !== r2 || i2 && !i2(t2));
993
993
  }
994
- function Un(e2, t2) {
995
- return (t2?.queryKeyHashFn || Wn)(e2);
994
+ function Hn(e2, t2) {
995
+ return (t2?.queryKeyHashFn || Un)(e2);
996
996
  }
997
- function Wn(e2) {
998
- return JSON.stringify(e2, (e3, t2) => Xn(t2) ? Object.keys(t2).sort().reduce((e4, n2) => (e4[n2] = t2[n2], e4), {}) : t2);
997
+ function Un(e2) {
998
+ return JSON.stringify(e2, (e3, t2) => Yn(t2) ? Object.keys(t2).sort().reduce((e4, n2) => (e4[n2] = t2[n2], e4), {}) : t2);
999
999
  }
1000
- function Gn(e2, t2) {
1001
- 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;
1000
+ function Wn(e2, t2) {
1001
+ 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;
1002
1002
  }
1003
- var Kn = Object.prototype.hasOwnProperty;
1004
- function qn(e2, t2, n2 = 0) {
1003
+ var Gn = Object.prototype.hasOwnProperty;
1004
+ function Kn(e2, t2, n2 = 0) {
1005
1005
  if (e2 === t2) return e2;
1006
1006
  if (n2 > 500) return t2;
1007
- let r2 = Yn(e2) && Yn(t2);
1008
- if (!r2 && !(Xn(e2) && Xn(t2))) return t2;
1007
+ let r2 = Jn(e2) && Jn(t2);
1008
+ if (!r2 && !(Yn(e2) && Yn(t2))) return t2;
1009
1009
  let i2 = (r2 ? e2 : Object.keys(e2)).length, a2 = r2 ? t2 : Object.keys(t2), o2 = a2.length, s2 = r2 ? Array(o2) : {}, c2 = 0;
1010
1010
  for (let l2 = 0; l2 < o2; l2++) {
1011
1011
  let o3 = r2 ? l2 : a2[l2], u2 = e2[o3], d2 = t2[o3];
1012
1012
  if (u2 === d2) {
1013
- s2[o3] = u2, (r2 ? l2 < i2 : Kn.call(e2, o3)) && c2++;
1013
+ s2[o3] = u2, (r2 ? l2 < i2 : Gn.call(e2, o3)) && c2++;
1014
1014
  continue;
1015
1015
  }
1016
1016
  if (u2 === null || d2 === null || typeof u2 != `object` || typeof d2 != `object`) {
1017
1017
  s2[o3] = d2;
1018
1018
  continue;
1019
1019
  }
1020
- let f2 = qn(u2, d2, n2 + 1);
1020
+ let f2 = Kn(u2, d2, n2 + 1);
1021
1021
  s2[o3] = f2, f2 === u2 && c2++;
1022
1022
  }
1023
1023
  return i2 === o2 && c2 === i2 ? e2 : s2;
1024
1024
  }
1025
- function Jn(e2, t2) {
1025
+ function qn(e2, t2) {
1026
1026
  if (!t2 || Object.keys(e2).length !== Object.keys(t2).length) return false;
1027
1027
  for (let n2 in e2) if (e2[n2] !== t2[n2]) return false;
1028
1028
  return true;
1029
1029
  }
1030
- function Yn(e2) {
1030
+ function Jn(e2) {
1031
1031
  return Array.isArray(e2) && e2.length === Object.keys(e2).length;
1032
1032
  }
1033
- function Xn(e2) {
1034
- if (!Zn(e2)) return false;
1033
+ function Yn(e2) {
1034
+ if (!Xn(e2)) return false;
1035
1035
  let t2 = e2.constructor;
1036
1036
  if (t2 === void 0) return true;
1037
1037
  let n2 = t2.prototype;
1038
- return !(!Zn(n2) || !n2.hasOwnProperty(`isPrototypeOf`) || Object.getPrototypeOf(e2) !== Object.prototype);
1038
+ return !(!Xn(n2) || !n2.hasOwnProperty(`isPrototypeOf`) || Object.getPrototypeOf(e2) !== Object.prototype);
1039
1039
  }
1040
- function Zn(e2) {
1040
+ function Xn(e2) {
1041
1041
  return Object.prototype.toString.call(e2) === `[object Object]`;
1042
1042
  }
1043
- function Qn(e2) {
1043
+ function Zn(e2) {
1044
1044
  return new Promise((t2) => {
1045
- N.setTimeout(t2, e2);
1045
+ P.setTimeout(t2, e2);
1046
1046
  });
1047
1047
  }
1048
- function $n(e2, t2, n2) {
1049
- return typeof n2.structuralSharing == `function` ? n2.structuralSharing(e2, t2) : n2.structuralSharing === false ? t2 : qn(e2, t2);
1048
+ function Qn(e2, t2, n2) {
1049
+ return typeof n2.structuralSharing == `function` ? n2.structuralSharing(e2, t2) : n2.structuralSharing === false ? t2 : Kn(e2, t2);
1050
1050
  }
1051
- function er(e2) {
1051
+ function $n(e2) {
1052
1052
  return e2;
1053
1053
  }
1054
- function tr(e2, t2, n2 = 0) {
1054
+ function er(e2, t2, n2 = 0) {
1055
1055
  let r2 = [...e2, t2];
1056
1056
  return n2 && r2.length > n2 ? r2.slice(1) : r2;
1057
1057
  }
1058
- function nr(e2, t2, n2 = 0) {
1058
+ function tr(e2, t2, n2 = 0) {
1059
1059
  let r2 = [t2, ...e2];
1060
1060
  return n2 && r2.length > n2 ? r2.slice(0, -1) : r2;
1061
1061
  }
1062
- var rr = Symbol();
1063
- function ir(e2, t2) {
1064
- return !e2.queryFn && t2?.initialPromise ? () => t2.initialPromise : !e2.queryFn || e2.queryFn === rr ? () => Promise.reject(Error(`Missing queryFn: '${e2.queryHash}'`)) : e2.queryFn;
1062
+ var nr = Symbol();
1063
+ function rr(e2, t2) {
1064
+ return !e2.queryFn && t2?.initialPromise ? () => t2.initialPromise : !e2.queryFn || e2.queryFn === nr ? () => Promise.reject(Error(`Missing queryFn: '${e2.queryHash}'`)) : e2.queryFn;
1065
1065
  }
1066
- function ar(e2, t2) {
1066
+ function ir(e2, t2) {
1067
1067
  return typeof e2 == `function` ? e2(...t2) : !!e2;
1068
1068
  }
1069
- function or(e2, t2, n2) {
1069
+ function ar(e2, t2, n2) {
1070
1070
  let r2 = false, i2;
1071
1071
  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;
1072
1072
  }
1073
- var sr = /* @__PURE__ */ (() => {
1074
- let e2 = () => Ln;
1073
+ var or = /* @__PURE__ */ (() => {
1074
+ let e2 = () => In;
1075
1075
  return { isServer() {
1076
1076
  return e2();
1077
1077
  }, setIsServer(t2) {
1078
1078
  e2 = t2;
1079
1079
  } };
1080
1080
  })();
1081
- function cr() {
1081
+ function sr() {
1082
1082
  let e2, t2, n2 = new Promise((n3, r3) => {
1083
1083
  e2 = n3, t2 = r3;
1084
1084
  });
@@ -1093,13 +1093,13 @@ function cr() {
1093
1093
  r2({ status: `rejected`, reason: e3 }), t2(e3);
1094
1094
  }, n2;
1095
1095
  }
1096
- var lr = In;
1097
- function ur() {
1096
+ var cr = Fn;
1097
+ function lr() {
1098
1098
  let e2 = [], t2 = 0, n2 = (e3) => {
1099
1099
  e3();
1100
1100
  }, r2 = (e3) => {
1101
1101
  e3();
1102
- }, i2 = lr, a2 = (r3) => {
1102
+ }, i2 = cr, a2 = (r3) => {
1103
1103
  t2 ? e2.push(r3) : i2(() => {
1104
1104
  n2(r3);
1105
1105
  });
@@ -1134,8 +1134,8 @@ function ur() {
1134
1134
  i2 = e3;
1135
1135
  } };
1136
1136
  }
1137
- var L = ur();
1138
- var dr = new class extends Nn {
1137
+ var R = lr();
1138
+ var ur = new class extends N {
1139
1139
  #e = true;
1140
1140
  #t;
1141
1141
  #n;
@@ -1167,28 +1167,28 @@ var dr = new class extends Nn {
1167
1167
  return this.#e;
1168
1168
  }
1169
1169
  }();
1170
- function fr(e2) {
1170
+ function dr(e2) {
1171
1171
  return Math.min(1e3 * 2 ** e2, 3e4);
1172
1172
  }
1173
- function pr(e2) {
1174
- return (e2 ?? `online`) !== `online` || dr.isOnline();
1173
+ function fr(e2) {
1174
+ return (e2 ?? `online`) !== `online` || ur.isOnline();
1175
1175
  }
1176
- var mr = class extends Error {
1176
+ var pr = class extends Error {
1177
1177
  constructor(e2) {
1178
1178
  super(`CancelledError`), this.revert = e2?.revert, this.silent = e2?.silent;
1179
1179
  }
1180
1180
  };
1181
- function hr(e2) {
1182
- let t2 = false, n2 = 0, r2, i2 = cr(), a2 = () => i2.status !== `pending`, o2 = (t3) => {
1181
+ function mr(e2) {
1182
+ let t2 = false, n2 = 0, r2, i2 = sr(), a2 = () => i2.status !== `pending`, o2 = (t3) => {
1183
1183
  if (!a2()) {
1184
- let n3 = new mr(t3);
1184
+ let n3 = new pr(t3);
1185
1185
  f2(n3), e2.onCancel?.(n3);
1186
1186
  }
1187
1187
  }, s2 = () => {
1188
1188
  t2 = true;
1189
1189
  }, c2 = () => {
1190
1190
  t2 = false;
1191
- }, l2 = () => Pn.isFocused() && (e2.networkMode === `always` || dr.isOnline()) && e2.canRun(), u2 = () => pr(e2.networkMode) && e2.canRun(), d2 = (e3) => {
1191
+ }, l2 = () => Nn.isFocused() && (e2.networkMode === `always` || ur.isOnline()) && e2.canRun(), u2 = () => fr(e2.networkMode) && e2.canRun(), d2 = (e3) => {
1192
1192
  a2() || (r2?.(), i2.resolve(e3));
1193
1193
  }, f2 = (e3) => {
1194
1194
  a2() || (r2?.(), i2.reject(e3));
@@ -1208,56 +1208,56 @@ function hr(e2) {
1208
1208
  }
1209
1209
  Promise.resolve(r3).then(d2).catch((r4) => {
1210
1210
  if (a2()) return;
1211
- 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);
1211
+ 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);
1212
1212
  if (t2 || !c3) {
1213
1213
  f2(r4);
1214
1214
  return;
1215
1215
  }
1216
- n2++, e2.onFail?.(n2, r4), Qn(s3).then(() => l2() ? void 0 : p2()).then(() => {
1216
+ n2++, e2.onFail?.(n2, r4), Zn(s3).then(() => l2() ? void 0 : p2()).then(() => {
1217
1217
  t2 ? f2(r4) : m2();
1218
1218
  });
1219
1219
  });
1220
1220
  };
1221
1221
  return { promise: i2, status: () => i2.status, cancel: o2, continue: () => (r2?.(), i2), cancelRetry: s2, continueRetry: c2, canStart: u2, start: () => (u2() ? m2() : p2().then(m2), i2) };
1222
1222
  }
1223
- var gr = class {
1223
+ var hr = class {
1224
1224
  #e;
1225
1225
  destroy() {
1226
1226
  this.clearGcTimeout();
1227
1227
  }
1228
1228
  scheduleGc() {
1229
- this.clearGcTimeout(), zn(this.gcTime) && (this.#e = N.setTimeout(() => {
1229
+ this.clearGcTimeout(), Rn(this.gcTime) && (this.#e = P.setTimeout(() => {
1230
1230
  this.optionalRemove();
1231
1231
  }, this.gcTime));
1232
1232
  }
1233
1233
  updateGcTime(e2) {
1234
- this.gcTime = Math.max(this.gcTime || 0, e2 ?? (sr.isServer() ? 1 / 0 : 3e5));
1234
+ this.gcTime = Math.max(this.gcTime || 0, e2 ?? (or.isServer() ? 1 / 0 : 3e5));
1235
1235
  }
1236
1236
  clearGcTimeout() {
1237
- this.#e !== void 0 && (N.clearTimeout(this.#e), this.#e = void 0);
1237
+ this.#e !== void 0 && (P.clearTimeout(this.#e), this.#e = void 0);
1238
1238
  }
1239
1239
  };
1240
- function _r(e2) {
1240
+ function gr(e2) {
1241
1241
  return { onFetch: (t2, n2) => {
1242
1242
  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 () => {
1243
1243
  let n3 = false, l3 = (e3) => {
1244
- or(e3, () => t2.signal, () => n3 = true);
1245
- }, u2 = ir(t2.options, t2.fetchOptions), d2 = async (e3, r3, i3) => {
1244
+ ar(e3, () => t2.signal, () => n3 = true);
1245
+ }, u2 = rr(t2.options, t2.fetchOptions), d2 = async (e3, r3, i3) => {
1246
1246
  if (n3) return Promise.reject(t2.signal.reason);
1247
1247
  if (r3 == null && e3.pages.length) return Promise.resolve(e3);
1248
1248
  let a3 = (() => {
1249
1249
  let e4 = { client: t2.client, queryKey: t2.queryKey, pageParam: r3, direction: i3 ? `backward` : `forward`, meta: t2.options.meta };
1250
1250
  return l3(e4), e4;
1251
- })(), o3 = await u2(a3), { maxPages: s3 } = t2.options, c3 = i3 ? nr : tr;
1251
+ })(), o3 = await u2(a3), { maxPages: s3 } = t2.options, c3 = i3 ? tr : er;
1252
1252
  return { pages: c3(e3.pages, o3, s3), pageParams: c3(e3.pageParams, r3, s3) };
1253
1253
  };
1254
1254
  if (i2 && a2.length) {
1255
- let e3 = i2 === `backward`, t3 = e3 ? yr : vr, n4 = { pages: a2, pageParams: o2 };
1255
+ let e3 = i2 === `backward`, t3 = e3 ? vr : _r, n4 = { pages: a2, pageParams: o2 };
1256
1256
  s2 = await d2(n4, t3(r2, n4), e3);
1257
1257
  } else {
1258
1258
  let t3 = e2 ?? a2.length;
1259
1259
  do {
1260
- let e3 = c2 === 0 ? o2[0] ?? r2.initialPageParam : vr(r2, s2);
1260
+ let e3 = c2 === 0 ? o2[0] ?? r2.initialPageParam : _r(r2, s2);
1261
1261
  if (c2 > 0 && e3 == null) break;
1262
1262
  s2 = await d2(s2, e3), c2++;
1263
1263
  } while (c2 < t3);
@@ -1267,20 +1267,20 @@ function _r(e2) {
1267
1267
  t2.fetchFn = t2.options.persister ? () => t2.options.persister?.(l2, { client: t2.client, queryKey: t2.queryKey, meta: t2.options.meta, signal: t2.signal }, n2) : l2;
1268
1268
  } };
1269
1269
  }
1270
- function vr(e2, { pages: t2, pageParams: n2 }) {
1270
+ function _r(e2, { pages: t2, pageParams: n2 }) {
1271
1271
  let r2 = t2.length - 1;
1272
1272
  return t2.length > 0 ? e2.getNextPageParam(t2[r2], t2, n2[r2], n2) : void 0;
1273
1273
  }
1274
- function yr(e2, { pages: t2, pageParams: n2 }) {
1274
+ function vr(e2, { pages: t2, pageParams: n2 }) {
1275
1275
  return t2.length > 0 ? e2.getPreviousPageParam?.(t2[0], t2, n2[0], n2) : void 0;
1276
1276
  }
1277
- function br(e2, t2) {
1278
- return t2 ? vr(e2, t2) != null : false;
1277
+ function yr(e2, t2) {
1278
+ return t2 ? _r(e2, t2) != null : false;
1279
1279
  }
1280
- function xr(e2, t2) {
1281
- return !t2 || !e2.getPreviousPageParam ? false : yr(e2, t2) != null;
1280
+ function br(e2, t2) {
1281
+ return !t2 || !e2.getPreviousPageParam ? false : vr(e2, t2) != null;
1282
1282
  }
1283
- var Sr = class extends gr {
1283
+ var xr = class extends hr {
1284
1284
  #e;
1285
1285
  #t;
1286
1286
  #n;
@@ -1290,7 +1290,7 @@ var Sr = class extends gr {
1290
1290
  #o;
1291
1291
  #s;
1292
1292
  constructor(e2) {
1293
- 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();
1293
+ 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();
1294
1294
  }
1295
1295
  get meta() {
1296
1296
  return this.options.meta;
@@ -1303,15 +1303,15 @@ var Sr = class extends gr {
1303
1303
  }
1304
1304
  setOptions(e2) {
1305
1305
  if (this.options = { ...this.#o, ...e2 }, e2?._type && (this.#e = e2._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
1306
- let e3 = Tr(this.options);
1307
- e3.data !== void 0 && (this.setState(wr(e3.data, e3.dataUpdatedAt)), this.#t = e3);
1306
+ let e3 = wr(this.options);
1307
+ e3.data !== void 0 && (this.setState(Cr(e3.data, e3.dataUpdatedAt)), this.#t = e3);
1308
1308
  }
1309
1309
  }
1310
1310
  optionalRemove() {
1311
1311
  !this.observers.length && this.state.fetchStatus === `idle` && this.#r.remove(this);
1312
1312
  }
1313
1313
  setData(e2, t2) {
1314
- let n2 = $n(this.state.data, e2, this.options);
1314
+ let n2 = Qn(this.state.data, e2, this.options);
1315
1315
  return this.#l({ data: n2, type: `success`, dataUpdatedAt: t2?.updatedAt, manual: t2?.manual }), n2;
1316
1316
  }
1317
1317
  setState(e2) {
@@ -1319,7 +1319,7 @@ var Sr = class extends gr {
1319
1319
  }
1320
1320
  cancel(e2) {
1321
1321
  let t2 = this.#a?.promise;
1322
- return this.#a?.cancel(e2), t2 ? t2.then(P).catch(P) : Promise.resolve();
1322
+ return this.#a?.cancel(e2), t2 ? t2.then(F).catch(F) : Promise.resolve();
1323
1323
  }
1324
1324
  destroy() {
1325
1325
  super.destroy(), this.cancel({ silent: true });
@@ -1331,22 +1331,22 @@ var Sr = class extends gr {
1331
1331
  this.destroy(), this.setState(this.resetState);
1332
1332
  }
1333
1333
  isActive() {
1334
- return this.observers.some((e2) => I(e2.options.enabled, this) !== false);
1334
+ return this.observers.some((e2) => L(e2.options.enabled, this) !== false);
1335
1335
  }
1336
1336
  isDisabled() {
1337
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === rr || !this.isFetched();
1337
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === nr || !this.isFetched();
1338
1338
  }
1339
1339
  isFetched() {
1340
1340
  return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
1341
1341
  }
1342
1342
  isStatic() {
1343
- return this.getObserversCount() > 0 && this.observers.some((e2) => F(e2.options.staleTime, this) === `static`);
1343
+ return this.getObserversCount() > 0 && this.observers.some((e2) => I(e2.options.staleTime, this) === `static`);
1344
1344
  }
1345
1345
  isStale() {
1346
1346
  return this.getObserversCount() > 0 ? this.observers.some((e2) => e2.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
1347
1347
  }
1348
1348
  isStaleByTime(e2 = 0) {
1349
- return this.state.data === void 0 ? true : e2 === `static` ? false : this.state.isInvalidated ? true : !Bn(this.state.dataUpdatedAt, e2);
1349
+ return this.state.data === void 0 ? true : e2 === `static` ? false : this.state.isInvalidated ? true : !zn(this.state.dataUpdatedAt, e2);
1350
1350
  }
1351
1351
  onFocus() {
1352
1352
  this.observers.find((e2) => e2.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: false }), this.#a?.continue();
@@ -1381,7 +1381,7 @@ var Sr = class extends gr {
1381
1381
  let n2 = new AbortController(), r2 = (e3) => {
1382
1382
  Object.defineProperty(e3, "signal", { enumerable: true, get: () => (this.#s = true, n2.signal) });
1383
1383
  }, i2 = () => {
1384
- let e3 = ir(this.options, t2), n3 = (() => {
1384
+ let e3 = rr(this.options, t2), n3 = (() => {
1385
1385
  let e4 = { client: this.#i, queryKey: this.queryKey, meta: this.meta };
1386
1386
  return r2(e4), e4;
1387
1387
  })();
@@ -1390,8 +1390,8 @@ var Sr = class extends gr {
1390
1390
  let e3 = { fetchOptions: t2, options: this.options, queryKey: this.queryKey, client: this.#i, state: this.state, fetchFn: i2 };
1391
1391
  return r2(e3), e3;
1392
1392
  })();
1393
- (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) => {
1394
- e3 instanceof mr && e3.revert && this.setState({ ...this.#n, fetchStatus: `idle` }), n2.abort();
1393
+ (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) => {
1394
+ e3 instanceof pr && e3.revert && this.setState({ ...this.#n, fetchStatus: `idle` }), n2.abort();
1395
1395
  }, onFail: (e3, t3) => {
1396
1396
  this.#l({ type: `failed`, failureCount: e3, error: t3 });
1397
1397
  }, onPause: () => {
@@ -1404,7 +1404,7 @@ var Sr = class extends gr {
1404
1404
  if (e3 === void 0) throw Error(`${this.queryHash} data is undefined`);
1405
1405
  return this.setData(e3), this.#r.config.onSuccess?.(e3, this), this.#r.config.onSettled?.(e3, this.state.error, this), e3;
1406
1406
  } catch (e3) {
1407
- if (e3 instanceof mr) {
1407
+ if (e3 instanceof pr) {
1408
1408
  if (e3.silent) return this.#a.promise;
1409
1409
  if (e3.revert) {
1410
1410
  if (this.state.data === void 0) throw e3;
@@ -1426,9 +1426,9 @@ var Sr = class extends gr {
1426
1426
  case `continue`:
1427
1427
  return { ...t3, fetchStatus: `fetching` };
1428
1428
  case `fetch`:
1429
- return { ...t3, ...Cr(t3.data, this.options), fetchMeta: e2.meta ?? null };
1429
+ return { ...t3, ...Sr(t3.data, this.options), fetchMeta: e2.meta ?? null };
1430
1430
  case `success`:
1431
- let n2 = { ...t3, ...wr(e2.data, e2.dataUpdatedAt), dataUpdateCount: t3.dataUpdateCount + 1, ...!e2.manual && { fetchStatus: `idle`, fetchFailureCount: 0, fetchFailureReason: null } };
1431
+ let n2 = { ...t3, ...Cr(e2.data, e2.dataUpdatedAt), dataUpdateCount: t3.dataUpdateCount + 1, ...!e2.manual && { fetchStatus: `idle`, fetchFailureCount: 0, fetchFailureReason: null } };
1432
1432
  return this.#n = e2.manual ? n2 : void 0, n2;
1433
1433
  case `error`:
1434
1434
  let r2 = e2.error;
@@ -1439,26 +1439,26 @@ var Sr = class extends gr {
1439
1439
  return { ...t3, ...e2.state };
1440
1440
  }
1441
1441
  };
1442
- this.state = t2(this.state), L.batch(() => {
1442
+ this.state = t2(this.state), R.batch(() => {
1443
1443
  this.observers.forEach((e3) => {
1444
1444
  e3.onQueryUpdate();
1445
1445
  }), this.#r.notify({ query: this, type: `updated`, action: e2 });
1446
1446
  });
1447
1447
  }
1448
1448
  };
1449
- function Cr(e2, t2) {
1450
- return { fetchFailureCount: 0, fetchFailureReason: null, fetchStatus: pr(t2.networkMode) ? `fetching` : `paused`, ...e2 === void 0 && { error: null, status: `pending` } };
1449
+ function Sr(e2, t2) {
1450
+ return { fetchFailureCount: 0, fetchFailureReason: null, fetchStatus: fr(t2.networkMode) ? `fetching` : `paused`, ...e2 === void 0 && { error: null, status: `pending` } };
1451
1451
  }
1452
- function wr(e2, t2) {
1452
+ function Cr(e2, t2) {
1453
1453
  return { data: e2, dataUpdatedAt: t2 ?? Date.now(), error: null, isInvalidated: false, status: `success` };
1454
1454
  }
1455
- function Tr(e2) {
1455
+ function wr(e2) {
1456
1456
  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;
1457
1457
  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` };
1458
1458
  }
1459
- var Er = class extends Nn {
1459
+ var Tr = class extends N {
1460
1460
  constructor(e2, t2) {
1461
- super(), this.options = t2, this.#e = e2, this.#s = null, this.#o = cr(), this.bindMethods(), this.setOptions(t2);
1461
+ super(), this.options = t2, this.#e = e2, this.#s = null, this.#o = sr(), this.bindMethods(), this.setOptions(t2);
1462
1462
  }
1463
1463
  #e;
1464
1464
  #t = void 0;
@@ -1479,32 +1479,32 @@ var Er = class extends Nn {
1479
1479
  this.refetch = this.refetch.bind(this);
1480
1480
  }
1481
1481
  onSubscribe() {
1482
- this.listeners.size === 1 && (this.#t.addObserver(this), Or(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
1482
+ this.listeners.size === 1 && (this.#t.addObserver(this), Dr(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
1483
1483
  }
1484
1484
  onUnsubscribe() {
1485
1485
  this.hasListeners() || this.destroy();
1486
1486
  }
1487
1487
  shouldFetchOnReconnect() {
1488
- return kr(this.#t, this.options, this.options.refetchOnReconnect);
1488
+ return Or(this.#t, this.options, this.options.refetchOnReconnect);
1489
1489
  }
1490
1490
  shouldFetchOnWindowFocus() {
1491
- return kr(this.#t, this.options, this.options.refetchOnWindowFocus);
1491
+ return Or(this.#t, this.options, this.options.refetchOnWindowFocus);
1492
1492
  }
1493
1493
  destroy() {
1494
1494
  this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
1495
1495
  }
1496
1496
  setOptions(e2) {
1497
1497
  let t2 = this.options, n2 = this.#t;
1498
- 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`);
1499
- this.#S(), this.#t.setOptions(this.options), t2._defaulted && !Jn(this.options, t2) && this.#e.getQueryCache().notify({ type: `observerOptionsUpdated`, query: this.#t, observer: this });
1498
+ 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`);
1499
+ this.#S(), this.#t.setOptions(this.options), t2._defaulted && !qn(this.options, t2) && this.#e.getQueryCache().notify({ type: `observerOptionsUpdated`, query: this.#t, observer: this });
1500
1500
  let r2 = this.hasListeners();
1501
- 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();
1501
+ 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();
1502
1502
  let i2 = this.#_();
1503
- r2 && (this.#t !== n2 || I(this.options.enabled, this.#t) !== I(t2.enabled, this.#t) || i2 !== this.#p) && this.#v(i2);
1503
+ r2 && (this.#t !== n2 || L(this.options.enabled, this.#t) !== L(t2.enabled, this.#t) || i2 !== this.#p) && this.#v(i2);
1504
1504
  }
1505
1505
  getOptimisticResult(e2) {
1506
1506
  let t2 = this.#e.getQueryCache().build(this.#e, e2), n2 = this.createResult(t2, e2);
1507
- return Mr(this, n2) && (this.#r = n2, this.#a = this.options, this.#i = this.#t.state), n2;
1507
+ return jr(this, n2) && (this.#r = n2, this.#a = this.options, this.#i = this.#t.state), n2;
1508
1508
  }
1509
1509
  getCurrentResult() {
1510
1510
  return this.#r;
@@ -1531,14 +1531,14 @@ var Er = class extends Nn {
1531
1531
  #h(e2) {
1532
1532
  this.#S();
1533
1533
  let t2 = this.#t.fetch(this.options, e2);
1534
- return e2?.throwOnError || (t2 = t2.catch(P)), t2;
1534
+ return e2?.throwOnError || (t2 = t2.catch(F)), t2;
1535
1535
  }
1536
1536
  #g() {
1537
1537
  this.#b();
1538
- let e2 = F(this.options.staleTime, this.#t);
1539
- if (sr.isServer() || this.#r.isStale || !zn(e2)) return;
1540
- let t2 = Bn(this.#r.dataUpdatedAt, e2) + 1;
1541
- this.#d = N.setTimeout(() => {
1538
+ let e2 = I(this.options.staleTime, this.#t);
1539
+ if (or.isServer() || this.#r.isStale || !Rn(e2)) return;
1540
+ let t2 = zn(this.#r.dataUpdatedAt, e2) + 1;
1541
+ this.#d = P.setTimeout(() => {
1542
1542
  this.#r.isStale || this.updateResult();
1543
1543
  }, t2);
1544
1544
  }
@@ -1546,47 +1546,47 @@ var Er = class extends Nn {
1546
1546
  return (typeof this.options.refetchInterval == `function` ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? false;
1547
1547
  }
1548
1548
  #v(e2) {
1549
- this.#x(), this.#p = e2, !sr.isServer() && I(this.options.enabled, this.#t) !== false && zn(this.#p) && this.#p !== 0 && (this.#f = N.setInterval(() => {
1550
- (this.options.refetchIntervalInBackground || Pn.isFocused()) && this.#h();
1549
+ this.#x(), this.#p = e2, !or.isServer() && L(this.options.enabled, this.#t) !== false && Rn(this.#p) && this.#p !== 0 && (this.#f = P.setInterval(() => {
1550
+ (this.options.refetchIntervalInBackground || Nn.isFocused()) && this.#h();
1551
1551
  }, this.#p));
1552
1552
  }
1553
1553
  #y() {
1554
1554
  this.#g(), this.#v(this.#_());
1555
1555
  }
1556
1556
  #b() {
1557
- this.#d !== void 0 && (N.clearTimeout(this.#d), this.#d = void 0);
1557
+ this.#d !== void 0 && (P.clearTimeout(this.#d), this.#d = void 0);
1558
1558
  }
1559
1559
  #x() {
1560
- this.#f !== void 0 && (N.clearInterval(this.#f), this.#f = void 0);
1560
+ this.#f !== void 0 && (P.clearInterval(this.#f), this.#f = void 0);
1561
1561
  }
1562
1562
  createResult(e2, t2) {
1563
1563
  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;
1564
1564
  if (t2._optimisticResults) {
1565
- let i3 = this.hasListeners(), a3 = !i3 && Or(e2, t2), o3 = i3 && Ar(e2, n2, t2, r2);
1566
- (a3 || o3) && (l2 = { ...l2, ...Cr(c2.data, e2.options) }), t2._optimisticResults === `isRestoring` && (l2.fetchStatus = `idle`);
1565
+ let i3 = this.hasListeners(), a3 = !i3 && Dr(e2, t2), o3 = i3 && kr(e2, n2, t2, r2);
1566
+ (a3 || o3) && (l2 = { ...l2, ...Sr(c2.data, e2.options) }), t2._optimisticResults === `isRestoring` && (l2.fetchStatus = `idle`);
1567
1567
  }
1568
1568
  let { error: f2, errorUpdatedAt: p2, status: m2 } = l2;
1569
1569
  d2 = l2.data;
1570
1570
  let h2 = false;
1571
1571
  if (t2.placeholderData !== void 0 && d2 === void 0 && m2 === `pending`) {
1572
1572
  let e3;
1573
- 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);
1573
+ 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);
1574
1574
  }
1575
1575
  if (t2.select && d2 !== void 0 && !h2) {
1576
1576
  if (i2 && d2 === a2?.data && t2.select === this.#c) d2 = this.#l;
1577
1577
  else try {
1578
- this.#c = t2.select, d2 = t2.select(d2), d2 = $n(i2?.data, d2, t2), this.#l = d2, this.#s = null;
1578
+ this.#c = t2.select, d2 = t2.select(d2), d2 = Qn(i2?.data, d2, t2), this.#l = d2, this.#s = null;
1579
1579
  } catch (e3) {
1580
1580
  this.#s = e3;
1581
1581
  }
1582
1582
  }
1583
1583
  this.#s && (f2 = this.#s, d2 = this.#l, p2 = Date.now(), m2 = `error`);
1584
- 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 };
1584
+ 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 };
1585
1585
  if (this.options.experimental_prefetchInRender) {
1586
1586
  let t3 = v2.data !== void 0, r3 = v2.status === `error` && !t3, i3 = (e3) => {
1587
1587
  r3 ? e3.reject(v2.error) : t3 && e3.resolve(v2.data);
1588
1588
  }, a3 = () => {
1589
- let e3 = this.#o = v2.promise = cr();
1589
+ let e3 = this.#o = v2.promise = sr();
1590
1590
  i3(e3);
1591
1591
  }, o3 = this.#o;
1592
1592
  switch (o3.status) {
@@ -1604,7 +1604,7 @@ var Er = class extends Nn {
1604
1604
  }
1605
1605
  updateResult() {
1606
1606
  let e2 = this.#r, t2 = this.createResult(this.#t, this.options);
1607
- 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: (() => {
1607
+ 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: (() => {
1608
1608
  if (!e2) return true;
1609
1609
  let { notifyOnChangeProps: t3 } = this.options, n2 = typeof t3 == `function` ? t3() : t3;
1610
1610
  if (n2 === `all` || !n2 && !this.#m.size) return true;
@@ -1625,36 +1625,36 @@ var Er = class extends Nn {
1625
1625
  this.updateResult(), this.hasListeners() && this.#y();
1626
1626
  }
1627
1627
  #C(e2) {
1628
- L.batch(() => {
1628
+ R.batch(() => {
1629
1629
  e2.listeners && this.listeners.forEach((e3) => {
1630
1630
  e3(this.#r);
1631
1631
  }), this.#e.getQueryCache().notify({ query: this.#t, type: `observerResultsUpdated` });
1632
1632
  });
1633
1633
  }
1634
1634
  };
1635
- function Dr(e2, t2) {
1636
- return I(t2.enabled, e2) !== false && e2.state.data === void 0 && (e2.state.status !== `error` || I(t2.retryOnMount, e2) !== false);
1635
+ function Er(e2, t2) {
1636
+ return L(t2.enabled, e2) !== false && e2.state.data === void 0 && (e2.state.status !== `error` || L(t2.retryOnMount, e2) !== false);
1637
1637
  }
1638
- function Or(e2, t2) {
1639
- return Dr(e2, t2) || e2.state.data !== void 0 && kr(e2, t2, t2.refetchOnMount);
1638
+ function Dr(e2, t2) {
1639
+ return Er(e2, t2) || e2.state.data !== void 0 && Or(e2, t2, t2.refetchOnMount);
1640
1640
  }
1641
- function kr(e2, t2, n2) {
1642
- if (I(t2.enabled, e2) !== false && F(t2.staleTime, e2) !== `static`) {
1641
+ function Or(e2, t2, n2) {
1642
+ if (L(t2.enabled, e2) !== false && I(t2.staleTime, e2) !== `static`) {
1643
1643
  let r2 = typeof n2 == `function` ? n2(e2) : n2;
1644
- return r2 === `always` || r2 !== false && jr(e2, t2);
1644
+ return r2 === `always` || r2 !== false && Ar(e2, t2);
1645
1645
  }
1646
1646
  return false;
1647
1647
  }
1648
- function Ar(e2, t2, n2, r2) {
1649
- return (e2 !== t2 || I(r2.enabled, e2) === false) && (!n2.suspense || e2.state.status !== `error`) && jr(e2, n2);
1648
+ function kr(e2, t2, n2, r2) {
1649
+ return (e2 !== t2 || L(r2.enabled, e2) === false) && (!n2.suspense || e2.state.status !== `error`) && Ar(e2, n2);
1650
1650
  }
1651
- function jr(e2, t2) {
1652
- return I(t2.enabled, e2) !== false && e2.isStaleByTime(F(t2.staleTime, e2));
1651
+ function Ar(e2, t2) {
1652
+ return L(t2.enabled, e2) !== false && e2.isStaleByTime(I(t2.staleTime, e2));
1653
1653
  }
1654
- function Mr(e2, t2) {
1655
- return !Jn(e2.getCurrentResult(), t2);
1654
+ function jr(e2, t2) {
1655
+ return !qn(e2.getCurrentResult(), t2);
1656
1656
  }
1657
- var Nr = class extends Er {
1657
+ var Mr = class extends Tr {
1658
1658
  constructor(e2, t2) {
1659
1659
  super(e2, t2);
1660
1660
  }
@@ -1675,16 +1675,16 @@ var Nr = class extends Er {
1675
1675
  }
1676
1676
  createResult(e2, t2) {
1677
1677
  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`;
1678
- 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 };
1678
+ 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 };
1679
1679
  }
1680
1680
  };
1681
- var Pr = class extends gr {
1681
+ var Nr = class extends hr {
1682
1682
  #e;
1683
1683
  #t;
1684
1684
  #n;
1685
1685
  #r;
1686
1686
  constructor(e2) {
1687
- 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();
1687
+ 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();
1688
1688
  }
1689
1689
  setOptions(e2) {
1690
1690
  this.options = e2, this.updateGcTime(this.options.gcTime);
@@ -1708,7 +1708,7 @@ var Pr = class extends gr {
1708
1708
  let t2 = () => {
1709
1709
  this.#i({ type: `continue` });
1710
1710
  }, n2 = { client: this.#e, meta: this.options.meta, mutationKey: this.options.mutationKey };
1711
- this.#r = hr({ fn: () => this.options.mutationFn ? this.options.mutationFn(e2, n2) : Promise.reject(Error(`No mutationFn found`)), onFail: (e3, t3) => {
1711
+ this.#r = mr({ fn: () => this.options.mutationFn ? this.options.mutationFn(e2, n2) : Promise.reject(Error(`No mutationFn found`)), onFail: (e3, t3) => {
1712
1712
  this.#i({ type: `failed`, failureCount: e3, error: t3 });
1713
1713
  }, onPause: () => {
1714
1714
  this.#i({ type: `pause` });
@@ -1766,17 +1766,17 @@ var Pr = class extends gr {
1766
1766
  return { ...t3, data: void 0, error: e2.error, failureCount: t3.failureCount + 1, failureReason: e2.error, isPaused: false, status: `error` };
1767
1767
  }
1768
1768
  };
1769
- this.state = t2(this.state), L.batch(() => {
1769
+ this.state = t2(this.state), R.batch(() => {
1770
1770
  this.#t.forEach((t3) => {
1771
1771
  t3.onMutationUpdate(e2);
1772
1772
  }), this.#n.notify({ mutation: this, type: `updated`, action: e2 });
1773
1773
  });
1774
1774
  }
1775
1775
  };
1776
- function Fr() {
1776
+ function Pr() {
1777
1777
  return { context: void 0, data: void 0, error: null, failureCount: 0, failureReason: null, isPaused: false, status: `idle`, variables: void 0, submittedAt: 0 };
1778
1778
  }
1779
- var Ir = class extends Nn {
1779
+ var Fr = class extends N {
1780
1780
  constructor(e2 = {}) {
1781
1781
  super(), this.config = e2, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
1782
1782
  }
@@ -1784,12 +1784,12 @@ var Ir = class extends Nn {
1784
1784
  #t;
1785
1785
  #n;
1786
1786
  build(e2, t2, n2) {
1787
- let r2 = new Pr({ client: e2, mutationCache: this, mutationId: ++this.#n, options: e2.defaultMutationOptions(t2), state: n2 });
1787
+ let r2 = new Nr({ client: e2, mutationCache: this, mutationId: ++this.#n, options: e2.defaultMutationOptions(t2), state: n2 });
1788
1788
  return this.add(r2), r2;
1789
1789
  }
1790
1790
  add(e2) {
1791
1791
  this.#e.add(e2);
1792
- let t2 = Lr(e2);
1792
+ let t2 = Ir(e2);
1793
1793
  if (typeof t2 == `string`) {
1794
1794
  let n2 = this.#t.get(t2);
1795
1795
  n2 ? n2.push(e2) : this.#t.set(t2, [e2]);
@@ -1798,7 +1798,7 @@ var Ir = class extends Nn {
1798
1798
  }
1799
1799
  remove(e2) {
1800
1800
  if (this.#e.delete(e2)) {
1801
- let t2 = Lr(e2);
1801
+ let t2 = Ir(e2);
1802
1802
  if (typeof t2 == `string`) {
1803
1803
  let n2 = this.#t.get(t2);
1804
1804
  if (n2) {
@@ -1812,7 +1812,7 @@ var Ir = class extends Nn {
1812
1812
  this.notify({ type: `removed`, mutation: e2 });
1813
1813
  }
1814
1814
  canRun(e2) {
1815
- let t2 = Lr(e2);
1815
+ let t2 = Ir(e2);
1816
1816
  if (typeof t2 == `string`) {
1817
1817
  let n2 = this.#t.get(t2)?.find((e3) => e3.state.status === `pending`);
1818
1818
  return !n2 || n2 === e2;
@@ -1820,11 +1820,11 @@ var Ir = class extends Nn {
1820
1820
  return true;
1821
1821
  }
1822
1822
  runNext(e2) {
1823
- let t2 = Lr(e2);
1823
+ let t2 = Ir(e2);
1824
1824
  return typeof t2 == `string` ? this.#t.get(t2)?.find((t3) => t3 !== e2 && t3.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
1825
1825
  }
1826
1826
  clear() {
1827
- L.batch(() => {
1827
+ R.batch(() => {
1828
1828
  this.#e.forEach((e2) => {
1829
1829
  this.notify({ type: `removed`, mutation: e2 });
1830
1830
  }), this.#e.clear(), this.#t.clear();
@@ -1835,13 +1835,13 @@ var Ir = class extends Nn {
1835
1835
  }
1836
1836
  find(e2) {
1837
1837
  let t2 = { exact: true, ...e2 };
1838
- return this.getAll().find((e3) => Hn(t2, e3));
1838
+ return this.getAll().find((e3) => Vn(t2, e3));
1839
1839
  }
1840
1840
  findAll(e2 = {}) {
1841
- return this.getAll().filter((t2) => Hn(e2, t2));
1841
+ return this.getAll().filter((t2) => Vn(e2, t2));
1842
1842
  }
1843
1843
  notify(e2) {
1844
- L.batch(() => {
1844
+ R.batch(() => {
1845
1845
  this.listeners.forEach((t2) => {
1846
1846
  t2(e2);
1847
1847
  });
@@ -1849,21 +1849,21 @@ var Ir = class extends Nn {
1849
1849
  }
1850
1850
  resumePausedMutations() {
1851
1851
  let e2 = this.getAll().filter((e3) => e3.state.isPaused);
1852
- return L.batch(() => Promise.all(e2.map((e3) => e3.continue().catch(P))));
1852
+ return R.batch(() => Promise.all(e2.map((e3) => e3.continue().catch(F))));
1853
1853
  }
1854
1854
  };
1855
- function Lr(e2) {
1855
+ function Ir(e2) {
1856
1856
  return e2.options.scope?.id;
1857
1857
  }
1858
- function Rr(e2, t2) {
1858
+ function Lr(e2, t2) {
1859
1859
  let n2 = new Set(t2);
1860
1860
  return e2.filter((e3) => !n2.has(e3));
1861
1861
  }
1862
- function zr(e2, t2, n2) {
1862
+ function Rr(e2, t2, n2) {
1863
1863
  let r2 = e2.slice(0);
1864
1864
  return r2[t2] = n2, r2;
1865
1865
  }
1866
- var Br = class extends Nn {
1866
+ var zr = class extends N {
1867
1867
  #e;
1868
1868
  #t;
1869
1869
  #n;
@@ -1893,16 +1893,16 @@ var Br = class extends Nn {
1893
1893
  });
1894
1894
  }
1895
1895
  setQueries(e2, t2) {
1896
- this.#n = e2, this.#r = t2, L.batch(() => {
1896
+ this.#n = e2, this.#r = t2, R.batch(() => {
1897
1897
  let e3 = this.#i, t3 = this.#p(this.#n);
1898
1898
  t3.forEach((e4) => e4.observer.setOptions(e4.defaultedQueryOptions));
1899
1899
  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) => {
1900
1900
  let n3 = this.#t[t4];
1901
- return !n3 || !Jn(e4, n3);
1901
+ return !n3 || !qn(e4, n3);
1902
1902
  });
1903
- (o2 || s2) && (o2 && (this.#l = t3, this.#i = n2), this.#t = r2, this.hasListeners() && (o2 && (Rr(e3, n2).forEach((e4) => {
1903
+ (o2 || s2) && (o2 && (this.#l = t3, this.#i = n2), this.#t = r2, this.hasListeners() && (o2 && (Lr(e3, n2).forEach((e4) => {
1904
1904
  e4.destroy();
1905
- }), Rr(n2, e3).forEach((e4) => {
1905
+ }), Lr(n2, e3).forEach((e4) => {
1906
1906
  e4.subscribe((t4) => {
1907
1907
  this.#m(e4, t4);
1908
1908
  });
@@ -1935,7 +1935,7 @@ var Br = class extends Nn {
1935
1935
  #d(e2, t2, n2) {
1936
1936
  if (t2) {
1937
1937
  let r2 = this.#c, i2 = n2 !== void 0 && r2 !== void 0 && (r2.length !== n2.length || n2.some((e3, t3) => e3 !== r2[t3]));
1938
- 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;
1938
+ 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;
1939
1939
  }
1940
1940
  return e2;
1941
1941
  }
@@ -1952,18 +1952,18 @@ var Br = class extends Nn {
1952
1952
  });
1953
1953
  let n2 = [];
1954
1954
  return e2.forEach((e3) => {
1955
- let r2 = this.#e.defaultQueryOptions(e3), i2 = t2.get(r2.queryHash)?.shift() ?? new Er(this.#e, r2);
1955
+ let r2 = this.#e.defaultQueryOptions(e3), i2 = t2.get(r2.queryHash)?.shift() ?? new Tr(this.#e, r2);
1956
1956
  n2.push({ defaultedQueryOptions: r2, observer: i2 });
1957
1957
  }), n2;
1958
1958
  }
1959
1959
  #m(e2, t2) {
1960
1960
  let n2 = this.#i.indexOf(e2);
1961
- n2 !== -1 && (this.#t = zr(this.#t, n2, t2), this.#h());
1961
+ n2 !== -1 && (this.#t = Rr(this.#t, n2, t2), this.#h());
1962
1962
  }
1963
1963
  #h() {
1964
1964
  if (this.hasListeners()) {
1965
1965
  let e2 = this.#u(this.#t, this.#l), t2 = this.#f(), n2 = this.#a, r2 = t2 ? n2 : this.#d(e2, this.#r?.combine);
1966
- (t2 || n2 !== r2) && L.batch(() => {
1966
+ (t2 || n2 !== r2) && R.batch(() => {
1967
1967
  this.listeners.forEach((e3) => {
1968
1968
  e3(this.#t);
1969
1969
  });
@@ -1971,14 +1971,14 @@ var Br = class extends Nn {
1971
1971
  }
1972
1972
  }
1973
1973
  };
1974
- var Vr = class extends Nn {
1974
+ var Br = class extends N {
1975
1975
  constructor(e2 = {}) {
1976
1976
  super(), this.config = e2, this.#e = /* @__PURE__ */ new Map();
1977
1977
  }
1978
1978
  #e;
1979
1979
  build(e2, t2, n2) {
1980
- let r2 = t2.queryKey, i2 = t2.queryHash ?? Un(r2, t2), a2 = this.get(i2);
1981
- 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;
1980
+ let r2 = t2.queryKey, i2 = t2.queryHash ?? Hn(r2, t2), a2 = this.get(i2);
1981
+ 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;
1982
1982
  }
1983
1983
  add(e2) {
1984
1984
  this.#e.has(e2.queryHash) || (this.#e.set(e2.queryHash, e2), this.notify({ type: `added`, query: e2 }));
@@ -1988,7 +1988,7 @@ var Vr = class extends Nn {
1988
1988
  t2 && (e2.destroy(), t2 === e2 && this.#e.delete(e2.queryHash), this.notify({ type: `removed`, query: e2 }));
1989
1989
  }
1990
1990
  clear() {
1991
- L.batch(() => {
1991
+ R.batch(() => {
1992
1992
  this.getAll().forEach((e2) => {
1993
1993
  this.remove(e2);
1994
1994
  });
@@ -2002,35 +2002,35 @@ var Vr = class extends Nn {
2002
2002
  }
2003
2003
  find(e2) {
2004
2004
  let t2 = { exact: true, ...e2 };
2005
- return this.getAll().find((e3) => Vn(t2, e3));
2005
+ return this.getAll().find((e3) => Bn(t2, e3));
2006
2006
  }
2007
2007
  findAll(e2 = {}) {
2008
2008
  let t2 = this.getAll();
2009
- return Object.keys(e2).length > 0 ? t2.filter((t3) => Vn(e2, t3)) : t2;
2009
+ return Object.keys(e2).length > 0 ? t2.filter((t3) => Bn(e2, t3)) : t2;
2010
2010
  }
2011
2011
  notify(e2) {
2012
- L.batch(() => {
2012
+ R.batch(() => {
2013
2013
  this.listeners.forEach((t2) => {
2014
2014
  t2(e2);
2015
2015
  });
2016
2016
  });
2017
2017
  }
2018
2018
  onFocus() {
2019
- L.batch(() => {
2019
+ R.batch(() => {
2020
2020
  this.getAll().forEach((e2) => {
2021
2021
  e2.onFocus();
2022
2022
  });
2023
2023
  });
2024
2024
  }
2025
2025
  onOnline() {
2026
- L.batch(() => {
2026
+ R.batch(() => {
2027
2027
  this.getAll().forEach((e2) => {
2028
2028
  e2.onOnline();
2029
2029
  });
2030
2030
  });
2031
2031
  }
2032
2032
  };
2033
- var Hr = class {
2033
+ var Vr = class {
2034
2034
  #e;
2035
2035
  #t;
2036
2036
  #n;
@@ -2040,12 +2040,12 @@ var Hr = class {
2040
2040
  #o;
2041
2041
  #s;
2042
2042
  constructor(e2 = {}) {
2043
- 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;
2043
+ 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;
2044
2044
  }
2045
2045
  mount() {
2046
- this.#a++, this.#a === 1 && (this.#o = Pn.subscribe(async (e2) => {
2046
+ this.#a++, this.#a === 1 && (this.#o = Nn.subscribe(async (e2) => {
2047
2047
  e2 && (await this.resumePausedMutations(), this.#e.onFocus());
2048
- }), this.#s = dr.subscribe(async (e2) => {
2048
+ }), this.#s = ur.subscribe(async (e2) => {
2049
2049
  e2 && (await this.resumePausedMutations(), this.#e.onOnline());
2050
2050
  }));
2051
2051
  }
@@ -2064,17 +2064,17 @@ var Hr = class {
2064
2064
  }
2065
2065
  ensureQueryData(e2) {
2066
2066
  let t2 = this.defaultQueryOptions(e2), n2 = this.#e.build(this, t2), r2 = n2.state.data;
2067
- return r2 === void 0 ? this.fetchQuery(e2) : (e2.revalidateIfStale && n2.isStaleByTime(F(t2.staleTime, n2)) && this.prefetchQuery(t2), Promise.resolve(r2));
2067
+ return r2 === void 0 ? this.fetchQuery(e2) : (e2.revalidateIfStale && n2.isStaleByTime(I(t2.staleTime, n2)) && this.prefetchQuery(t2), Promise.resolve(r2));
2068
2068
  }
2069
2069
  getQueriesData(e2) {
2070
2070
  return this.#e.findAll(e2).map(({ queryKey: e3, state: t2 }) => [e3, t2.data]);
2071
2071
  }
2072
2072
  setQueryData(e2, t2, n2) {
2073
- let r2 = this.defaultQueryOptions({ queryKey: e2 }), i2 = this.#e.get(r2.queryHash)?.state.data, a2 = Rn(t2, i2);
2073
+ let r2 = this.defaultQueryOptions({ queryKey: e2 }), i2 = this.#e.get(r2.queryHash)?.state.data, a2 = Ln(t2, i2);
2074
2074
  if (a2 !== void 0) return this.#e.build(this, r2).setData(a2, { ...n2, manual: true });
2075
2075
  }
2076
2076
  setQueriesData(e2, t2, n2) {
2077
- return L.batch(() => this.#e.findAll(e2).map(({ queryKey: e3 }) => [e3, this.setQueryData(e3, t2, n2)]));
2077
+ return R.batch(() => this.#e.findAll(e2).map(({ queryKey: e3 }) => [e3, this.setQueryData(e3, t2, n2)]));
2078
2078
  }
2079
2079
  getQueryState(e2) {
2080
2080
  let t2 = this.defaultQueryOptions({ queryKey: e2 });
@@ -2082,7 +2082,7 @@ var Hr = class {
2082
2082
  }
2083
2083
  removeQueries(e2) {
2084
2084
  let t2 = this.#e;
2085
- L.batch(() => {
2085
+ R.batch(() => {
2086
2086
  t2.findAll(e2).forEach((e3) => {
2087
2087
  t2.remove(e3);
2088
2088
  });
@@ -2090,46 +2090,46 @@ var Hr = class {
2090
2090
  }
2091
2091
  resetQueries(e2, t2) {
2092
2092
  let n2 = this.#e;
2093
- return L.batch(() => (n2.findAll(e2).forEach((e3) => {
2093
+ return R.batch(() => (n2.findAll(e2).forEach((e3) => {
2094
2094
  e3.reset();
2095
2095
  }), this.refetchQueries({ type: `active`, ...e2 }, t2)));
2096
2096
  }
2097
2097
  cancelQueries(e2, t2 = {}) {
2098
- let n2 = { revert: true, ...t2 }, r2 = L.batch(() => this.#e.findAll(e2).map((e3) => e3.cancel(n2)));
2099
- return Promise.all(r2).then(P).catch(P);
2098
+ let n2 = { revert: true, ...t2 }, r2 = R.batch(() => this.#e.findAll(e2).map((e3) => e3.cancel(n2)));
2099
+ return Promise.all(r2).then(F).catch(F);
2100
2100
  }
2101
2101
  invalidateQueries(e2, t2 = {}) {
2102
- return L.batch(() => (this.#e.findAll(e2).forEach((e3) => {
2102
+ return R.batch(() => (this.#e.findAll(e2).forEach((e3) => {
2103
2103
  e3.invalidate();
2104
2104
  }), e2?.refetchType === `none` ? Promise.resolve() : this.refetchQueries({ ...e2, type: e2?.refetchType ?? e2?.type ?? `active` }, t2)));
2105
2105
  }
2106
2106
  refetchQueries(e2, t2 = {}) {
2107
- let n2 = { ...t2, cancelRefetch: t2.cancelRefetch ?? true }, r2 = L.batch(() => this.#e.findAll(e2).filter((e3) => !e3.isDisabled() && !e3.isStatic()).map((e3) => {
2107
+ let n2 = { ...t2, cancelRefetch: t2.cancelRefetch ?? true }, r2 = R.batch(() => this.#e.findAll(e2).filter((e3) => !e3.isDisabled() && !e3.isStatic()).map((e3) => {
2108
2108
  let t3 = e3.fetch(void 0, n2);
2109
- return n2.throwOnError || (t3 = t3.catch(P)), e3.state.fetchStatus === `paused` ? Promise.resolve() : t3;
2109
+ return n2.throwOnError || (t3 = t3.catch(F)), e3.state.fetchStatus === `paused` ? Promise.resolve() : t3;
2110
2110
  }));
2111
- return Promise.all(r2).then(P);
2111
+ return Promise.all(r2).then(F);
2112
2112
  }
2113
2113
  fetchQuery(e2) {
2114
2114
  let t2 = this.defaultQueryOptions(e2);
2115
2115
  t2.retry === void 0 && (t2.retry = false);
2116
2116
  let n2 = this.#e.build(this, t2);
2117
- return n2.isStaleByTime(F(t2.staleTime, n2)) ? n2.fetch(t2) : Promise.resolve(n2.state.data);
2117
+ return n2.isStaleByTime(I(t2.staleTime, n2)) ? n2.fetch(t2) : Promise.resolve(n2.state.data);
2118
2118
  }
2119
2119
  prefetchQuery(e2) {
2120
- return this.fetchQuery(e2).then(P).catch(P);
2120
+ return this.fetchQuery(e2).then(F).catch(F);
2121
2121
  }
2122
2122
  fetchInfiniteQuery(e2) {
2123
2123
  return e2._type = `infinite`, this.fetchQuery(e2);
2124
2124
  }
2125
2125
  prefetchInfiniteQuery(e2) {
2126
- return this.fetchInfiniteQuery(e2).then(P).catch(P);
2126
+ return this.fetchInfiniteQuery(e2).then(F).catch(F);
2127
2127
  }
2128
2128
  ensureInfiniteQueryData(e2) {
2129
2129
  return e2._type = `infinite`, this.ensureQueryData(e2);
2130
2130
  }
2131
2131
  resumePausedMutations() {
2132
- return dr.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
2132
+ return ur.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
2133
2133
  }
2134
2134
  getQueryCache() {
2135
2135
  return this.#e;
@@ -2144,27 +2144,27 @@ var Hr = class {
2144
2144
  this.#n = e2;
2145
2145
  }
2146
2146
  setQueryDefaults(e2, t2) {
2147
- this.#r.set(Wn(e2), { queryKey: e2, defaultOptions: t2 });
2147
+ this.#r.set(Un(e2), { queryKey: e2, defaultOptions: t2 });
2148
2148
  }
2149
2149
  getQueryDefaults(e2) {
2150
2150
  let t2 = [...this.#r.values()], n2 = {};
2151
2151
  return t2.forEach((t3) => {
2152
- Gn(e2, t3.queryKey) && Object.assign(n2, t3.defaultOptions);
2152
+ Wn(e2, t3.queryKey) && Object.assign(n2, t3.defaultOptions);
2153
2153
  }), n2;
2154
2154
  }
2155
2155
  setMutationDefaults(e2, t2) {
2156
- this.#i.set(Wn(e2), { mutationKey: e2, defaultOptions: t2 });
2156
+ this.#i.set(Un(e2), { mutationKey: e2, defaultOptions: t2 });
2157
2157
  }
2158
2158
  getMutationDefaults(e2) {
2159
2159
  let t2 = [...this.#i.values()], n2 = {};
2160
2160
  return t2.forEach((t3) => {
2161
- Gn(e2, t3.mutationKey) && Object.assign(n2, t3.defaultOptions);
2161
+ Wn(e2, t3.mutationKey) && Object.assign(n2, t3.defaultOptions);
2162
2162
  }), n2;
2163
2163
  }
2164
2164
  defaultQueryOptions(e2) {
2165
2165
  if (e2._defaulted) return e2;
2166
2166
  let t2 = { ...this.#n.queries, ...this.getQueryDefaults(e2.queryKey), ...e2, _defaulted: true };
2167
- 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;
2167
+ 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;
2168
2168
  }
2169
2169
  defaultMutationOptions(e2) {
2170
2170
  return e2?._defaulted ? e2 : { ...this.#n.mutations, ...e2?.mutationKey && this.getMutationDefaults(e2.mutationKey), ...e2, _defaulted: true };
@@ -2173,20 +2173,20 @@ var Hr = class {
2173
2173
  this.#e.clear(), this.#t.clear();
2174
2174
  }
2175
2175
  };
2176
- var Ur = e.createContext(void 0);
2177
- var Wr = (t2) => {
2178
- let n2 = e.useContext(Ur);
2176
+ var Hr = e.createContext(void 0);
2177
+ var Ur = (t2) => {
2178
+ let n2 = e.useContext(Hr);
2179
2179
  if (t2) return t2;
2180
2180
  if (!n2) throw Error(`No QueryClient set, use QueryClientProvider to set one`);
2181
2181
  return n2;
2182
2182
  };
2183
- var Gr = ({ client: t2, children: n2 }) => (e.useEffect(() => (t2.mount(), () => {
2183
+ var Wr = ({ client: t2, children: n2 }) => (e.useEffect(() => (t2.mount(), () => {
2184
2184
  t2.unmount();
2185
- }), [t2]), s(Ur.Provider, { value: t2, children: n2 }));
2186
- var Kr = e.createContext(false);
2187
- var qr = () => e.useContext(Kr);
2188
- Kr.Provider;
2189
- function Jr() {
2185
+ }), [t2]), s(Hr.Provider, { value: t2, children: n2 }));
2186
+ var Gr = e.createContext(false);
2187
+ var Kr = () => e.useContext(Gr);
2188
+ Gr.Provider;
2189
+ function qr() {
2190
2190
  let e2 = false;
2191
2191
  return { clearReset: () => {
2192
2192
  e2 = false;
@@ -2194,87 +2194,87 @@ function Jr() {
2194
2194
  e2 = true;
2195
2195
  }, isReset: () => e2 };
2196
2196
  }
2197
- var Yr = e.createContext(Jr());
2198
- var Xr = () => e.useContext(Yr);
2199
- var Zr = (e2, t2, n2) => {
2200
- let r2 = n2?.state.error && typeof e2.throwOnError == `function` ? ar(e2.throwOnError, [n2.state.error, n2]) : e2.throwOnError;
2197
+ var Jr = e.createContext(qr());
2198
+ var Yr = () => e.useContext(Jr);
2199
+ var Xr = (e2, t2, n2) => {
2200
+ let r2 = n2?.state.error && typeof e2.throwOnError == `function` ? ir(e2.throwOnError, [n2.state.error, n2]) : e2.throwOnError;
2201
2201
  (e2.suspense || e2.experimental_prefetchInRender || r2) && (t2.isReset() || (e2.retryOnMount = false));
2202
2202
  };
2203
- var Qr = (t2) => {
2203
+ var Zr = (t2) => {
2204
2204
  e.useEffect(() => {
2205
2205
  t2.clearReset();
2206
2206
  }, [t2]);
2207
2207
  };
2208
- 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]));
2209
- var ei = (e2) => {
2208
+ 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]));
2209
+ var $r = (e2) => {
2210
2210
  if (e2.suspense) {
2211
2211
  let t2 = 1e3, n2 = (e3) => e3 === `static` ? e3 : Math.max(e3 ?? t2, t2), r2 = e2.staleTime;
2212
2212
  e2.staleTime = typeof r2 == `function` ? (...e3) => n2(r2(...e3)) : n2(r2), typeof e2.gcTime == `number` && (e2.gcTime = Math.max(e2.gcTime, t2));
2213
2213
  }
2214
2214
  };
2215
- var ti = (e2, t2) => e2.isLoading && e2.isFetching && !t2;
2216
- var ni = (e2, t2) => e2?.suspense && t2.isPending;
2217
- var ri = (e2, t2, n2) => t2.fetchOptimistic(e2).catch(() => {
2215
+ var ei = (e2, t2) => e2.isLoading && e2.isFetching && !t2;
2216
+ var ti = (e2, t2) => e2?.suspense && t2.isPending;
2217
+ var ni = (e2, t2, n2) => t2.fetchOptimistic(e2).catch(() => {
2218
2218
  n2.clearReset();
2219
2219
  });
2220
- function ii({ queries: t2, ...n2 }, r2) {
2221
- let i2 = Wr(r2), a2 = qr(), o2 = Xr(), s2 = e.useMemo(() => t2.map((e2) => {
2220
+ function ri({ queries: t2, ...n2 }, r2) {
2221
+ let i2 = Ur(r2), a2 = Kr(), o2 = Yr(), s2 = e.useMemo(() => t2.map((e2) => {
2222
2222
  let t3 = i2.defaultQueryOptions(e2);
2223
2223
  return t3._optimisticResults = a2 ? `isRestoring` : `optimistic`, t3;
2224
2224
  }), [t2, i2, a2]);
2225
2225
  s2.forEach((e2) => {
2226
- ei(e2);
2226
+ $r(e2);
2227
2227
  let t3 = i2.getQueryCache().get(e2.queryHash);
2228
- Zr(e2, o2, t3);
2229
- }), Qr(o2);
2230
- let [c2] = e.useState(() => new Br(i2, s2, n2)), [l2, u2, d2] = c2.getOptimisticResult(s2, n2.combine), f2 = !a2 && n2.subscribed !== false;
2231
- e.useSyncExternalStore(e.useCallback((e2) => f2 ? c2.subscribe(L.batchCalls(e2)) : P, [c2, f2]), () => c2.getCurrentResult(), () => c2.getCurrentResult()), e.useEffect(() => {
2228
+ Xr(e2, o2, t3);
2229
+ }), Zr(o2);
2230
+ let [c2] = e.useState(() => new zr(i2, s2, n2)), [l2, u2, d2] = c2.getOptimisticResult(s2, n2.combine), f2 = !a2 && n2.subscribed !== false;
2231
+ e.useSyncExternalStore(e.useCallback((e2) => f2 ? c2.subscribe(R.batchCalls(e2)) : F, [c2, f2]), () => c2.getCurrentResult(), () => c2.getCurrentResult()), e.useEffect(() => {
2232
2232
  c2.setQueries(s2, n2);
2233
2233
  }, [s2, n2, c2]);
2234
- let p2 = l2.some((e2, t3) => ni(s2[t3], e2)) ? l2.flatMap((e2, t3) => {
2234
+ let p2 = l2.some((e2, t3) => ti(s2[t3], e2)) ? l2.flatMap((e2, t3) => {
2235
2235
  let n3 = s2[t3];
2236
- return n3 && ni(n3, e2) ? ri(n3, new Er(i2, n3), o2) : [];
2236
+ return n3 && ti(n3, e2) ? ni(n3, new Tr(i2, n3), o2) : [];
2237
2237
  }) : [];
2238
2238
  if (p2.length > 0) throw Promise.all(p2);
2239
2239
  let m2 = l2.find((e2, t3) => {
2240
2240
  let n3 = s2[t3];
2241
- return n3 && $r({ result: e2, errorResetBoundary: o2, throwOnError: n3.throwOnError, query: i2.getQueryCache().get(n3.queryHash), suspense: n3.suspense });
2241
+ return n3 && Qr({ result: e2, errorResetBoundary: o2, throwOnError: n3.throwOnError, query: i2.getQueryCache().get(n3.queryHash), suspense: n3.suspense });
2242
2242
  });
2243
2243
  if (m2?.error) throw m2.error;
2244
2244
  return u2(d2());
2245
2245
  }
2246
- function ai(t2, n2, r2) {
2247
- let i2 = qr(), a2 = Xr(), o2 = Wr(r2), s2 = o2.defaultQueryOptions(t2);
2246
+ function ii(t2, n2, r2) {
2247
+ let i2 = Kr(), a2 = Yr(), o2 = Ur(r2), s2 = o2.defaultQueryOptions(t2);
2248
2248
  o2.getDefaultOptions().queries?._experimental_beforeQuery?.(s2);
2249
2249
  let c2 = o2.getQueryCache().get(s2.queryHash), l2 = t2.subscribed !== false;
2250
- s2._optimisticResults = i2 ? `isRestoring` : l2 ? `optimistic` : void 0, ei(s2), Zr(s2, a2, c2), Qr(a2);
2250
+ s2._optimisticResults = i2 ? `isRestoring` : l2 ? `optimistic` : void 0, $r(s2), Xr(s2, a2, c2), Zr(a2);
2251
2251
  let u2 = !o2.getQueryCache().get(s2.queryHash), [d2] = e.useState(() => new n2(o2, s2)), f2 = d2.getOptimisticResult(s2), p2 = !i2 && l2;
2252
2252
  if (e.useSyncExternalStore(e.useCallback((e2) => {
2253
- let t3 = p2 ? d2.subscribe(L.batchCalls(e2)) : P;
2253
+ let t3 = p2 ? d2.subscribe(R.batchCalls(e2)) : F;
2254
2254
  return d2.updateResult(), t3;
2255
2255
  }, [d2, p2]), () => d2.getCurrentResult(), () => d2.getCurrentResult()), e.useEffect(() => {
2256
2256
  d2.setOptions(s2);
2257
- }, [s2, d2]), ni(s2, f2)) throw ri(s2, d2, a2);
2258
- if ($r({ result: f2, errorResetBoundary: a2, throwOnError: s2.throwOnError, query: c2, suspense: s2.suspense })) throw f2.error;
2259
- 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(() => {
2257
+ }, [s2, d2]), ti(s2, f2)) throw ni(s2, d2, a2);
2258
+ if (Qr({ result: f2, errorResetBoundary: a2, throwOnError: s2.throwOnError, query: c2, suspense: s2.suspense })) throw f2.error;
2259
+ 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(() => {
2260
2260
  d2.updateResult();
2261
2261
  }), s2.notifyOnChangeProps ? f2 : d2.trackResult(f2);
2262
2262
  }
2263
- function oi(e2, t2) {
2264
- return ai(e2, Nr, t2);
2263
+ function ai(e2, t2) {
2264
+ return ii(e2, Mr, t2);
2265
2265
  }
2266
- function R(e2) {
2266
+ function z(e2) {
2267
2267
  return e2;
2268
2268
  }
2269
- var si = R(`@wix/site-service-url`);
2270
- var ci = `215238eb-22a5-4c36-9e7b-e7c08025e04e`;
2271
- `${ci}`, `${ci}`;
2272
- var li = function(e2) {
2269
+ var oi = z(`@wix/site-service-url`);
2270
+ var si = `215238eb-22a5-4c36-9e7b-e7c08025e04e`;
2271
+ `${si}`, `${si}`;
2272
+ var ci = function(e2) {
2273
2273
  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;
2274
2274
  }({});
2275
- var ui = () => {
2276
- let e2 = f(si), t2 = n((t3, n2) => {
2277
- let r2 = e2.appSectionRelativeUrl(ci, t3, true);
2275
+ var li = () => {
2276
+ let e2 = f(oi), t2 = n((t3, n2) => {
2277
+ let r2 = e2.appSectionRelativeUrl(si, t3, true);
2278
2278
  if (r2) return `./${r2.replace(/^\//, ``).replace(/\/$/, ``)}/${encodeURIComponent(n2)}`;
2279
2279
  }, [e2]);
2280
2280
  return { getPageRelativeUrl: t2, getPageAbsoluteUrl: n((n2, r2) => {
@@ -2282,38 +2282,38 @@ var ui = () => {
2282
2282
  if (i2) return new URL(i2, `${e2.siteUrl.replace(/\/$/, ``)}/`).href;
2283
2283
  }, [t2, e2]) };
2284
2284
  };
2285
- function di(e2) {
2286
- let { getPageAbsoluteUrl: t2 } = ui(), n2 = r(() => {
2285
+ function ui(e2) {
2286
+ let { getPageAbsoluteUrl: t2 } = li(), n2 = r(() => {
2287
2287
  if (!e2.slug) return;
2288
- let n3 = t2(li.CATEGORY_PAGE, e2.slug);
2288
+ let n3 = t2(ci.CATEGORY_PAGE, e2.slug);
2289
2289
  return n3 ? { href: n3 } : void 0;
2290
2290
  }, [e2.slug, t2]);
2291
2291
  return r(() => ({ 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]);
2292
2292
  }
2293
- function fi(e2) {
2293
+ function di(e2) {
2294
2294
  let { category: t2 } = e2;
2295
- return di(t2);
2295
+ return ui(t2);
2296
2296
  }
2297
- function pi(e2, t2) {
2297
+ function fi(e2, t2) {
2298
2298
  return r(() => ({ categories: e2, currentCategoryId: t2 }), [e2, t2]);
2299
2299
  }
2300
- var mi = R(`seo/seo-service`);
2301
- var hi = R(`@wix/site-service-rendering-context`);
2302
- function gi(e2) {
2300
+ var pi = z(`seo/seo-service`);
2301
+ var mi = z(`@wix/site-service-rendering-context`);
2302
+ function hi(e2) {
2303
2303
  return e2.breadcrumbs.map(({ id: e3, name: t2, slug: n2 }) => ({ categoryId: e3, categoryName: t2, categorySlug: n2 }));
2304
2304
  }
2305
- function _i(e2) {
2305
+ function gi(e2) {
2306
2306
  return e2 ? { id: e2 } : void 0;
2307
2307
  }
2308
- function vi(e2) {
2309
- 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 } : {} };
2308
+ function _i(e2) {
2309
+ 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 } : {} };
2310
2310
  }
2311
- function yi(e2) {
2312
- let t2 = f(mi), { SSR: n2 } = f(hi), r2 = i(false);
2313
- !r2.current && e2.id && n2 && (r2.current = true, t2.setSeoEntity(vi(e2)).catch(() => {
2311
+ function vi(e2) {
2312
+ let t2 = f(pi), { SSR: n2 } = f(mi), r2 = i(false);
2313
+ !r2.current && e2.id && n2 && (r2.current = true, t2.setSeoEntity(_i(e2)).catch(() => {
2314
2314
  }));
2315
2315
  }
2316
- function bi(e2) {
2316
+ function yi(e2) {
2317
2317
  if (e2.status === `fulfilled`) return e2.value;
2318
2318
  throw e2.status === `rejected` ? e2.reason : e2.status === `pending` ? e2 : (e2.status = `pending`, e2.then((t2) => {
2319
2319
  e2.status = `fulfilled`, e2.value = t2;
@@ -2321,61 +2321,61 @@ function bi(e2) {
2321
2321
  e2.status = `rejected`, e2.reason = t2;
2322
2322
  }), e2);
2323
2323
  }
2324
- var xi = /* @__PURE__ */ new Set();
2325
- function Si(e2) {
2326
- return xi.add(e2), () => {
2327
- xi.delete(e2);
2324
+ var bi = /* @__PURE__ */ new Set();
2325
+ function xi(e2) {
2326
+ return bi.add(e2), () => {
2327
+ bi.delete(e2);
2328
2328
  };
2329
2329
  }
2330
- function Ci(e2) {
2330
+ function Si(e2) {
2331
2331
  let t2 = globalThis.window;
2332
2332
  if (!t2?.history) return;
2333
2333
  let n2 = t2.location.href;
2334
- t2.history.replaceState({ scrollY: t2.scrollY }, ``, e2.href), t2.location.href !== n2 && xi.forEach((e3) => e3());
2334
+ t2.history.replaceState({ scrollY: t2.scrollY }, ``, e2.href), t2.location.href !== n2 && bi.forEach((e3) => e3());
2335
2335
  }
2336
- function wi() {
2337
- let e2 = f(si), t2 = n(() => e2.currentUrl, [e2]), i2 = o(Si, t2, t2), a2 = r(() => new URL(i2), [i2]), s2 = n((t3) => {
2336
+ function Ci() {
2337
+ let e2 = f(oi), t2 = n(() => e2.currentUrl, [e2]), i2 = o(xi, t2, t2), a2 = r(() => new URL(i2), [i2]), s2 = n((t3) => {
2338
2338
  let n2 = new URL(e2.currentUrl);
2339
- n2.search = t3, Ci(n2);
2339
+ n2.search = t3, Si(n2);
2340
2340
  }, [e2]);
2341
2341
  return { url: a2, siteUrl: e2.siteUrl.replace(/\/$/, ``), search: a2.search, pushSearch: s2 };
2342
2342
  }
2343
- function Ti(e2) {
2343
+ function wi(e2) {
2344
2344
  return e2.priceMin === void 0 && e2.priceMax === void 0 && Object.values(e2.customizationIdToChoiceIds ?? {}).every((e3) => e3.length === 0);
2345
2345
  }
2346
- function Ei(e2, t2, n2) {
2346
+ function Ti(e2, t2, n2) {
2347
2347
  let r2 = e2.customizationIdToChoiceIds ?? {}, i2 = r2[t2] ?? [];
2348
2348
  return i2.includes(n2) ? e2 : { ...e2, customizationIdToChoiceIds: { ...r2, [t2]: [...i2, n2] } };
2349
2349
  }
2350
- function Di(e2, t2, n2) {
2350
+ function Ei(e2, t2, n2) {
2351
2351
  let r2 = e2.customizationIdToChoiceIds ?? {}, i2 = r2[t2] ?? [];
2352
2352
  return i2.includes(n2) ? { ...e2, customizationIdToChoiceIds: { ...r2, [t2]: i2.filter((e3) => e3 !== n2) } } : e2;
2353
2353
  }
2354
- function Oi(e2, t2, n2) {
2354
+ function Di(e2, t2, n2) {
2355
2355
  return e2.priceMin === t2 && e2.priceMax === n2 ? e2 : { ...e2, priceMin: t2, priceMax: n2 };
2356
2356
  }
2357
- function ki(e2) {
2357
+ function Oi(e2) {
2358
2358
  return e2.priceMin === void 0 && e2.priceMax === void 0 ? e2 : { ...e2, priceMin: void 0, priceMax: void 0 };
2359
2359
  }
2360
- function Ai(e2) {
2360
+ function ki(e2) {
2361
2361
  return Object.keys(e2).length === 1 && `$and` in e2 && Array.isArray(e2.$and);
2362
2362
  }
2363
- function ji(e2) {
2363
+ function Ai(e2) {
2364
2364
  return Object.keys(e2).length === 1 && `$or` in e2 && Array.isArray(e2.$or);
2365
2365
  }
2366
- function Mi(e2) {
2366
+ function ji(e2) {
2367
2367
  return Object.keys(e2).length === 1 && `$not` in e2 && typeof e2.$not == `object`;
2368
2368
  }
2369
- function z(e2, t2) {
2370
- 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]] };
2369
+ function B(e2, t2) {
2370
+ 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]] };
2371
2371
  }
2372
- function Ni(e2, t2) {
2373
- 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]] };
2372
+ function Mi(e2, t2) {
2373
+ 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]] };
2374
2374
  }
2375
- function Pi(e2) {
2376
- if (e2 !== void 0 && Object.keys(e2).length !== 0) return Mi(e2) ? e2.$not : { $not: e2 };
2375
+ function Ni(e2) {
2376
+ if (e2 !== void 0 && Object.keys(e2).length !== 0) return ji(e2) ? e2.$not : { $not: e2 };
2377
2377
  }
2378
- var Fi = class {
2378
+ var Pi = class {
2379
2379
  _items;
2380
2380
  _fetchNextPage;
2381
2381
  _fetchPrevPage;
@@ -2405,7 +2405,7 @@ var Fi = class {
2405
2405
  return await this._fetchPrevPage();
2406
2406
  }
2407
2407
  };
2408
- var Ii = class extends Fi {
2408
+ var Fi = class extends Pi {
2409
2409
  _nextCursor;
2410
2410
  _prevCursor;
2411
2411
  cursors;
@@ -2419,7 +2419,7 @@ var Ii = class extends Fi {
2419
2419
  return !!this._prevCursor;
2420
2420
  }
2421
2421
  };
2422
- var Li = class extends Fi {
2422
+ var Ii = class extends Pi {
2423
2423
  _totalCount;
2424
2424
  _offset;
2425
2425
  _tooManyToCount;
@@ -2442,76 +2442,76 @@ var Li = class extends Fi {
2442
2442
  return !!(this._limit !== 0 && this.currentPage && this.currentPage > 0);
2443
2443
  }
2444
2444
  };
2445
- function Ri(e2) {
2445
+ function Li(e2) {
2446
2446
  let t2 = (n2) => ({ query: n2, async find() {
2447
2447
  try {
2448
2448
  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);
2449
2449
  if (e2.pagingMethod === `OFFSET`) {
2450
2450
  let e3 = n2;
2451
- 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 });
2451
+ 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 });
2452
2452
  }
2453
2453
  let s2 = n2.cursorPaging;
2454
- 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 });
2454
+ 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 });
2455
2455
  } catch (t3) {
2456
2456
  throw e2.errorTransformer(t3);
2457
2457
  }
2458
2458
  }, skipTo(e3) {
2459
2459
  return t2({ ...n2, cursorPaging: { cursor: e3, limit: n2.cursorPaging.limit } });
2460
2460
  }, eq(r2, i2) {
2461
- let a2 = i2 === void 0 ? null : i2, o2 = { [B(e2.transformationPaths, r2)]: a2 };
2462
- return t2({ ...n2, filter: z(n2.filter, o2) });
2461
+ let a2 = i2 === void 0 ? null : i2, o2 = { [V(e2.transformationPaths, r2)]: a2 };
2462
+ return t2({ ...n2, filter: B(n2.filter, o2) });
2463
2463
  }, ne(r2, i2) {
2464
- let a2 = i2 === void 0 ? null : i2, o2 = { [B(e2.transformationPaths, r2)]: { $ne: a2 } };
2465
- return t2({ ...n2, filter: z(n2.filter, o2) });
2464
+ let a2 = i2 === void 0 ? null : i2, o2 = { [V(e2.transformationPaths, r2)]: { $ne: a2 } };
2465
+ return t2({ ...n2, filter: B(n2.filter, o2) });
2466
2466
  }, ge(r2, i2) {
2467
- let a2 = { [B(e2.transformationPaths, r2)]: { $gte: i2 } };
2468
- return t2({ ...n2, filter: z(n2.filter, a2) });
2467
+ let a2 = { [V(e2.transformationPaths, r2)]: { $gte: i2 } };
2468
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2469
2469
  }, gt(r2, i2) {
2470
- let a2 = { [B(e2.transformationPaths, r2)]: { $gt: i2 } };
2471
- return t2({ ...n2, filter: z(n2.filter, a2) });
2470
+ let a2 = { [V(e2.transformationPaths, r2)]: { $gt: i2 } };
2471
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2472
2472
  }, le(r2, i2) {
2473
- let a2 = { [B(e2.transformationPaths, r2)]: { $lte: i2 } };
2474
- return t2({ ...n2, filter: z(n2.filter, a2) });
2473
+ let a2 = { [V(e2.transformationPaths, r2)]: { $lte: i2 } };
2474
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2475
2475
  }, lt(r2, i2) {
2476
- let a2 = { [B(e2.transformationPaths, r2)]: { $lt: i2 } };
2477
- return t2({ ...n2, filter: z(n2.filter, a2) });
2476
+ let a2 = { [V(e2.transformationPaths, r2)]: { $lt: i2 } };
2477
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2478
2478
  }, isNotEmpty(e3) {
2479
2479
  return this.ne(e3, null);
2480
2480
  }, isEmpty(e3) {
2481
2481
  return this.eq(e3, null);
2482
2482
  }, startsWith(r2, i2) {
2483
- let a2 = { [B(e2.transformationPaths, r2)]: { $startsWith: i2 } };
2484
- return t2({ ...n2, filter: z(n2.filter, a2) });
2483
+ let a2 = { [V(e2.transformationPaths, r2)]: { $startsWith: i2 } };
2484
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2485
2485
  }, endsWith(r2, i2) {
2486
- let a2 = { [B(e2.transformationPaths, r2)]: { $endsWith: i2 } };
2487
- return t2({ ...n2, filter: z(n2.filter, a2) });
2486
+ let a2 = { [V(e2.transformationPaths, r2)]: { $endsWith: i2 } };
2487
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2488
2488
  }, contains(r2, i2) {
2489
- let a2 = { [B(e2.transformationPaths, r2)]: { $contains: i2 } };
2490
- return t2({ ...n2, filter: z(n2.filter, a2) });
2489
+ let a2 = { [V(e2.transformationPaths, r2)]: { $contains: i2 } };
2490
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2491
2491
  }, hasSome(r2, ...i2) {
2492
- let a2 = { [B(e2.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
2493
- return t2({ ...n2, filter: z(n2.filter, a2) });
2492
+ let a2 = { [V(e2.transformationPaths, r2)]: { $hasSome: Array.isArray(i2[0]) ? i2[0] : i2 } };
2493
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2494
2494
  }, hasAll(r2, ...i2) {
2495
- let a2 = { [B(e2.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
2496
- return t2({ ...n2, filter: z(n2.filter, a2) });
2495
+ let a2 = { [V(e2.transformationPaths, r2)]: { $hasAll: Array.isArray(i2[0]) ? i2[0] : i2 } };
2496
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2497
2497
  }, between(e3, t3, n3) {
2498
2498
  return this.ge(e3, t3).lt(e3, n3);
2499
2499
  }, in(r2, i2) {
2500
- let a2 = { [B(e2.transformationPaths, r2)]: { $in: i2 } };
2501
- return t2({ ...n2, filter: z(n2.filter, a2) });
2500
+ let a2 = { [V(e2.transformationPaths, r2)]: { $in: i2 } };
2501
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2502
2502
  }, exists(r2, i2 = true) {
2503
- let a2 = { [B(e2.transformationPaths, r2)]: { $exists: i2 } };
2504
- return t2({ ...n2, filter: z(n2.filter, a2) });
2503
+ let a2 = { [V(e2.transformationPaths, r2)]: { $exists: i2 } };
2504
+ return t2({ ...n2, filter: B(n2.filter, a2) });
2505
2505
  }, or(e3) {
2506
- return t2({ ...n2, filter: Ni(n2.filter, e3.query.filter) });
2506
+ return t2({ ...n2, filter: Mi(n2.filter, e3.query.filter) });
2507
2507
  }, and(e3) {
2508
- return t2({ ...n2, filter: z(n2.filter, e3.query.filter) });
2508
+ return t2({ ...n2, filter: B(n2.filter, e3.query.filter) });
2509
2509
  }, not(e3) {
2510
- return t2({ ...n2, filter: Pi(e3.query.filter) });
2510
+ return t2({ ...n2, filter: Ni(e3.query.filter) });
2511
2511
  }, ascending(...r2) {
2512
- return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: B(e2.transformationPaths, t3), order: `ASC` }))] });
2512
+ return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: V(e2.transformationPaths, t3), order: `ASC` }))] });
2513
2513
  }, descending(...r2) {
2514
- return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: B(e2.transformationPaths, t3), order: `DESC` }))] });
2514
+ return t2({ ...n2, sort: [...n2.sort ?? [], ...r2.map((t3) => ({ fieldName: V(e2.transformationPaths, t3), order: `DESC` }))] });
2515
2515
  }, skip(e3) {
2516
2516
  return t2({ ...n2, paging: { offset: e3, limit: `limit` in n2.paging ? n2.paging.limit : 50 } });
2517
2517
  }, limit(r2) {
@@ -2524,23 +2524,23 @@ function Ri(e2) {
2524
2524
  } });
2525
2525
  return t2({ filter: {}, ...e2.pagingMethod === `OFFSET` ? { paging: { offset: 0, limit: 50 } } : { cursorPaging: { limit: 50 } } });
2526
2526
  }
2527
- function B(e2, t2) {
2527
+ function V(e2, t2) {
2528
2528
  let n2 = Object.entries(e2).find(([e3]) => e3 === t2 || t2.startsWith(`${e3}.`))?.[0];
2529
2529
  return n2 ? t2.replace(n2, e2[n2]) : lt(t2, { ...e2, ...ct });
2530
2530
  }
2531
- function zi(e2, t2, n2 = {}) {
2532
- let r2 = (r3, i3) => zi(e2, t2, { ...n2, [r3]: i3 }), i2 = () => Object.keys(n2).length === 0 ? {} : { [S(e2, t2)]: n2 };
2531
+ function Ri(e2, t2, n2 = {}) {
2532
+ let r2 = (r3, i3) => Ri(e2, t2, { ...n2, [r3]: i3 }), i2 = () => Object.keys(n2).length === 0 ? {} : { [S(e2, t2)]: n2 };
2533
2533
  return { get filter() {
2534
2534
  return i2();
2535
2535
  }, 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) };
2536
2536
  }
2537
- function Bi(e2) {
2538
- 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 } }) });
2537
+ function zi(e2) {
2538
+ 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 } }) });
2539
2539
  }
2540
- function Vi(e2) {
2540
+ function Bi(e2) {
2541
2541
  return (t2) => ({ asc: () => ({ sort: { fieldName: S(t2, e2), order: `ASC` } }), desc: () => ({ sort: { fieldName: S(t2, e2), order: `DESC` } }) });
2542
2542
  }
2543
- function Hi(e2) {
2543
+ function Vi(e2) {
2544
2544
  return () => {
2545
2545
  let t2 = {}, n2 = { withFilter(e3) {
2546
2546
  return t2 = { ...t2, filter: e3.filter }, n2;
@@ -2556,49 +2556,49 @@ function Hi(e2) {
2556
2556
  return n2;
2557
2557
  };
2558
2558
  }
2559
- function V(e2) {
2560
- return { QueryBuilder: Hi(e2), Filter: Bi(e2), Sort: Vi(e2) };
2561
- }
2562
- var Ui = `filter`;
2563
- var Wi = `sort`;
2564
- var Gi = `cursorPaging`;
2565
- var Ki = `paging`;
2566
- var qi = [Ui, Wi, Gi];
2567
- var Ji = [Ui, Wi, Ki];
2568
- function Yi(e2, t2) {
2559
+ function H(e2) {
2560
+ return { QueryBuilder: Vi(e2), Filter: zi(e2), Sort: Bi(e2) };
2561
+ }
2562
+ var Hi = `filter`;
2563
+ var Ui = `sort`;
2564
+ var Wi = `cursorPaging`;
2565
+ var Gi = `paging`;
2566
+ var Ki = [Hi, Ui, Wi];
2567
+ var qi = [Hi, Ui, Gi];
2568
+ function Ji(e2, t2) {
2569
2569
  return !e2 || typeof e2 != `object` ? false : t2.some((t3) => e2.hasOwnProperty(t3));
2570
2570
  }
2571
+ function Yi(e2) {
2572
+ return Ji(e2, Ki);
2573
+ }
2571
2574
  function Xi(e2) {
2572
- return Yi(e2, qi);
2575
+ return Ji(e2, qi);
2573
2576
  }
2574
2577
  function Zi(e2) {
2575
- return Yi(e2, Ji);
2576
- }
2577
- function Qi(e2) {
2578
2578
  let { hasOptionsParameter: t2 } = e2;
2579
2579
  return function(...n2) {
2580
- return t2 ? ea(n2, e2) : $i(n2, e2);
2580
+ return t2 ? $i(n2, e2) : Qi(n2, e2);
2581
2581
  };
2582
2582
  }
2583
- function $i(e2, t2) {
2583
+ function Qi(e2, t2) {
2584
2584
  return e2.length === 0 ? t2.builderQueryFunction() : t2.typedQueryFunction(e2[0]);
2585
2585
  }
2586
- function ea(e2, t2) {
2586
+ function $i(e2, t2) {
2587
2587
  switch (e2.length) {
2588
2588
  case 0:
2589
2589
  return t2.builderQueryFunction();
2590
2590
  case 1:
2591
- return Xi(e2[0]) || Zi(e2[0]) ? t2.typedQueryFunction(e2[0]) : t2.builderQueryFunction(e2[0]);
2591
+ return Yi(e2[0]) || Xi(e2[0]) ? t2.typedQueryFunction(e2[0]) : t2.builderQueryFunction(e2[0]);
2592
2592
  default:
2593
2593
  return t2.typedQueryFunction(e2[0], e2[1]);
2594
2594
  }
2595
2595
  }
2596
- function H(e2) {
2596
+ function U(e2) {
2597
2597
  if (!e2) return;
2598
2598
  let t2 = ``;
2599
2599
  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;
2600
2600
  }
2601
- function U(e2) {
2601
+ function W(e2) {
2602
2602
  if (!e2) return;
2603
2603
  let t2 = ``;
2604
2604
  e2?.filename && (t2 = `/${encodeURIComponent(e2.filename)}`);
@@ -2613,24 +2613,24 @@ function U(e2) {
2613
2613
  }
2614
2614
  return e2.id ? `wix:video://v1/${e2.id}${t2}${n2}` : e2.url;
2615
2615
  }
2616
- function ta(e2) {
2616
+ function ea(e2) {
2617
2617
  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: `` }] } }));
2618
2618
  }
2619
- var na = `@wix/auto_sdk_stores_customizations-v-3`;
2620
- function ra(e2) {
2619
+ var ta = `@wix/auto_sdk_stores_customizations-v-3`;
2620
+ function na(e2) {
2621
2621
  function t2({ host: t3 }) {
2622
- 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 }] };
2622
+ 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 }] };
2623
2623
  }
2624
2624
  return t2;
2625
2625
  }
2626
- var ia = ((e2) => (e2.PRODUCT_OPTION = `PRODUCT_OPTION`, e2.MODIFIER = `MODIFIER`, e2))(ia || {});
2627
- var W = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(W || {});
2628
- var aa = ((e2) => (e2.DEFAULT = `DEFAULT`, e2.BY_NAME = `BY_NAME`, e2.BY_PRODUCT_COUNT = `BY_PRODUCT_COUNT`, e2.MANUAL = `MANUAL`, e2))(aa || {});
2629
- var oa = ((e2) => (e2.ASSIGNED_PRODUCTS_COUNT = `ASSIGNED_PRODUCTS_COUNT`, e2.CHOICE_DISPLAY_IMAGE = `CHOICE_DISPLAY_IMAGE`, e2))(oa || {});
2630
- function sa(e2) {
2626
+ var ra = ((e2) => (e2.PRODUCT_OPTION = `PRODUCT_OPTION`, e2.MODIFIER = `MODIFIER`, e2))(ra || {});
2627
+ var G = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(G || {});
2628
+ var ia = ((e2) => (e2.DEFAULT = `DEFAULT`, e2.BY_NAME = `BY_NAME`, e2.BY_PRODUCT_COUNT = `BY_PRODUCT_COUNT`, e2.MANUAL = `MANUAL`, e2))(ia || {});
2629
+ var aa = ((e2) => (e2.ASSIGNED_PRODUCTS_COUNT = `ASSIGNED_PRODUCTS_COUNT`, e2.CHOICE_DISPLAY_IMAGE = `CHOICE_DISPLAY_IMAGE`, e2))(aa || {});
2630
+ function oa(e2) {
2631
2631
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2632
- return Ri({ func: async (r2) => {
2633
- let i2 = ra({ ...r2, ...e2 ?? {} });
2632
+ return Li({ func: async (r2) => {
2633
+ let i2 = na({ ...r2, ...e2 ?? {} });
2634
2634
  n2?.onSiteCall?.();
2635
2635
  try {
2636
2636
  let e3 = await t2.request(i2);
@@ -2642,43 +2642,43 @@ function sa(e2) {
2642
2642
  let n3 = [t3, e2];
2643
2643
  return C({ ...n3?.[1], query: n3?.[0] });
2644
2644
  }, responseTransformer: ({ data: e3 }) => {
2645
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2645
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2646
2646
  return { items: t3?.customizations, pagingMetadata: t3?.pagingMetadata };
2647
2647
  }, errorTransformer: (e3) => {
2648
2648
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
2649
2649
  }, pagingMethod: `CURSOR`, transformationPaths: {} });
2650
2650
  }
2651
- async function ca(e2, t2) {
2652
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = ra(C({ query: e2, ...t2 }));
2651
+ async function sa(e2, t2) {
2652
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = na(C({ query: e2, ...t2 }));
2653
2653
  r2?.onSiteCall?.();
2654
2654
  try {
2655
2655
  let e3 = await n2.request(i2);
2656
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2656
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `customizations.choicesSettings.choices.image` }, { path: `customizations.choicesSettings.choices.displayImage` }] }]));
2657
2657
  } catch (e3) {
2658
2658
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2659
2659
  throw r2?.onError?.(e3), t3;
2660
2660
  }
2661
2661
  }
2662
- ({ ...V() });
2663
- function la(e2) {
2664
- return (t2) => sa(t2, { httpClient: e2 });
2662
+ ({ ...H() });
2663
+ function ca(e2) {
2664
+ return (t2) => oa(t2, { httpClient: e2 });
2665
2665
  }
2666
- function ua(e2) {
2667
- return (t2, n2) => ca(t2, n2, { httpClient: e2 });
2666
+ function la(e2) {
2667
+ return (t2, n2) => sa(t2, n2, { httpClient: e2 });
2668
2668
  }
2669
- 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` }] }])))();
2670
- 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` }] }])))();
2671
- 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` }] }])))();
2672
- function ma(e2) {
2673
- let t2 = Qi({ builderQueryFunction: (t3) => la(e2)(t3), typedQueryFunction: (t3, n3) => ua(e2)(t3, n3), hasOptionsParameter: true });
2669
+ 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` }] }])))();
2670
+ 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` }] }])))();
2671
+ 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` }] }])))();
2672
+ function pa(e2) {
2673
+ let t2 = Zi({ builderQueryFunction: (t3) => ca(e2)(t3), typedQueryFunction: (t3, n3) => la(e2)(t3, n3), hasOptionsParameter: true });
2674
2674
  function n2(e3, n3) {
2675
2675
  return t2(...arguments);
2676
2676
  }
2677
2677
  return n2;
2678
2678
  }
2679
- var ha = O(ma);
2680
- j(da), j(fa), j(pa);
2681
- function ga(e2) {
2679
+ var ma = O(pa);
2680
+ j(ua), j(da), j(fa);
2681
+ function ha(e2) {
2682
2682
  let t2 = {}, n2 = { get search() {
2683
2683
  return t2;
2684
2684
  }, expression(e3) {
@@ -2692,13 +2692,13 @@ function ga(e2) {
2692
2692
  } };
2693
2693
  return n2;
2694
2694
  }
2695
- function _a(e2) {
2695
+ function ga(e2) {
2696
2696
  return (t2) => {
2697
- let n2 = ga(e2);
2697
+ let n2 = ha(e2);
2698
2698
  return t2 === void 0 ? n2 : n2.expression(t2);
2699
2699
  };
2700
2700
  }
2701
- function va(e2) {
2701
+ function _a(e2) {
2702
2702
  let t2 = { ...e2, type: `VALUE`, value: { ...e2.value } }, n2 = { get aggregation() {
2703
2703
  return t2;
2704
2704
  }, sortBy(e3, r2) {
@@ -2714,7 +2714,7 @@ function va(e2) {
2714
2714
  } };
2715
2715
  return n2;
2716
2716
  }
2717
- function ya(e2) {
2717
+ function va(e2) {
2718
2718
  let t2 = { ...e2, type: `RANGE`, range: { buckets: [] } }, n2 = { get aggregation() {
2719
2719
  return t2;
2720
2720
  }, withBuckets(...e3) {
@@ -2722,7 +2722,7 @@ function ya(e2) {
2722
2722
  } };
2723
2723
  return n2;
2724
2724
  }
2725
- function ba(e2) {
2725
+ function ya(e2) {
2726
2726
  let t2 = { ...e2, type: `DATE_HISTOGRAM`, dateHistogram: {} }, n2 = { get aggregation() {
2727
2727
  return t2;
2728
2728
  }, interval(e3) {
@@ -2730,7 +2730,7 @@ function ba(e2) {
2730
2730
  } };
2731
2731
  return n2;
2732
2732
  }
2733
- function xa(e2) {
2733
+ function ba(e2) {
2734
2734
  let t2 = { ...e2, type: `SCALAR`, scalar: {} }, n2 = { get aggregation() {
2735
2735
  return t2;
2736
2736
  }, type(e3) {
@@ -2738,7 +2738,7 @@ function xa(e2) {
2738
2738
  } };
2739
2739
  return n2;
2740
2740
  }
2741
- function Sa(e2) {
2741
+ function xa(e2) {
2742
2742
  let t2 = { ...e2, type: `NESTED`, nested: { nestedAggregations: [] } }, n2 = { get aggregation() {
2743
2743
  return t2;
2744
2744
  }, addNestedAggregation(e3) {
@@ -2747,7 +2747,7 @@ function Sa(e2) {
2747
2747
  } };
2748
2748
  return n2;
2749
2749
  }
2750
- function Ca(e2, t2) {
2750
+ function Sa(e2, t2) {
2751
2751
  let n2 = { name: e2 }, r2 = { get aggregation() {
2752
2752
  return n2;
2753
2753
  }, ofType(e3) {
@@ -2755,22 +2755,22 @@ function Ca(e2, t2) {
2755
2755
  }, onField(e3) {
2756
2756
  return n2 = { ...n2, fieldPath: S(e3, t2) }, r2;
2757
2757
  }, asValueAggregation() {
2758
- return va(n2);
2758
+ return _a(n2);
2759
2759
  }, asRangeAggregation() {
2760
- return ya(n2);
2760
+ return va(n2);
2761
2761
  }, asDateHistogramAggregation() {
2762
- return ba(n2);
2762
+ return ya(n2);
2763
2763
  }, asScalarAggregation() {
2764
- return xa(n2);
2764
+ return ba(n2);
2765
2765
  }, asNestedAggregation() {
2766
- return Sa(n2);
2766
+ return xa(n2);
2767
2767
  } };
2768
2768
  return r2;
2769
2769
  }
2770
- function wa(e2) {
2771
- return (t2) => Ca(t2, e2);
2770
+ function Ca(e2) {
2771
+ return (t2) => Sa(t2, e2);
2772
2772
  }
2773
- function Ta() {
2773
+ function wa() {
2774
2774
  return () => {
2775
2775
  let e2 = {}, t2 = { withFilter(n2) {
2776
2776
  return e2 = { ...e2, filter: n2.filter }, t2;
@@ -2790,58 +2790,58 @@ function Ta() {
2790
2790
  return t2;
2791
2791
  };
2792
2792
  }
2793
- function Ea(e2) {
2794
- return { SearchBuilder: Ta(), Filter: Bi(e2), Sort: Vi(e2), SearchParams: _a(e2), Aggregation: wa(e2) };
2793
+ function Ta(e2) {
2794
+ return { SearchBuilder: wa(), Filter: zi(e2), Sort: Bi(e2), SearchParams: ga(e2), Aggregation: Ca(e2) };
2795
2795
  }
2796
- function G(e2) {
2796
+ function K(e2) {
2797
2797
  if (e2) return e2.url;
2798
2798
  }
2799
- function K(e2) {
2799
+ function q(e2) {
2800
2800
  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: `` }] } }));
2801
2801
  }
2802
- var Da = `@wix/auto_sdk_stores_products-v-3`;
2803
- function Oa(e2) {
2802
+ var Ea = `@wix/auto_sdk_stores_products-v-3`;
2803
+ function Da(e2) {
2804
2804
  function t2({ host: t3 }) {
2805
2805
  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` }] }]);
2806
- 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 }] };
2806
+ 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 }] };
2807
2807
  }
2808
2808
  return t2;
2809
2809
  }
2810
- function ka(e2) {
2810
+ function Oa(e2) {
2811
2811
  function t2({ host: t3 }) {
2812
- 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 }] };
2812
+ 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 }] };
2813
2813
  }
2814
2814
  return t2;
2815
2815
  }
2816
- function Aa(e2) {
2816
+ function ka(e2) {
2817
2817
  function t2({ host: t3 }) {
2818
- 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 }] };
2818
+ 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 }] };
2819
2819
  }
2820
2820
  return t2;
2821
2821
  }
2822
- var ja = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(ja || {});
2823
- var q = ((e2) => (e2.ASC = `ASC`, e2.DESC = `DESC`, e2))(q || {});
2822
+ var Aa = ((e2) => (e2.FREE_TEXT = `FREE_TEXT`, e2.TEXT_CHOICES = `TEXT_CHOICES`, e2.SWATCH_CHOICES = `SWATCH_CHOICES`, e2))(Aa || {});
2823
+ var ja = ((e2) => (e2.ASC = `ASC`, e2.DESC = `DESC`, e2))(ja || {});
2824
2824
  var Ma = ((e2) => (e2.COUNT = `COUNT`, e2.VALUE = `VALUE`, e2))(Ma || {});
2825
2825
  var Na = ((e2) => (e2.DESC = `DESC`, e2.ASC = `ASC`, e2))(Na || {});
2826
2826
  var Pa = ((e2) => (e2.COUNT_DISTINCT = `COUNT_DISTINCT`, e2.MIN = `MIN`, e2.MAX = `MAX`, e2))(Pa || {});
2827
2827
  var Fa = ((e2) => (e2.VALUE = `VALUE`, e2.RANGE = `RANGE`, e2.SCALAR = `SCALAR`, e2.DATE_HISTOGRAM = `DATE_HISTOGRAM`, e2.NESTED = `NESTED`, e2))(Fa || {});
2828
2828
  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 || {});
2829
2829
  async function Ia(e2, t2) {
2830
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Oa(C({ search: e2, fields: t2?.fields }, []));
2830
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Da(C({ search: e2, fields: t2?.fields }, []));
2831
2831
  r2?.onSiteCall?.();
2832
2832
  try {
2833
2833
  let e3 = await n2.request(i2);
2834
- 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`]);
2834
+ 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`]);
2835
2835
  } catch (e3) {
2836
2836
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { search: `$[0]`, fields: `$[1].fields` }, singleArgumentUnchanged: false }, [`search`, `options`]);
2837
2837
  throw r2?.onError?.(e3), t3;
2838
2838
  }
2839
2839
  }
2840
- ({ ...Ea() }, { ...V() });
2840
+ ({ ...Ta() }, { ...H() });
2841
2841
  function La(e2) {
2842
2842
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2843
- return Ri({ func: async (r2) => {
2844
- let i2 = ka({ ...r2, ...e2 ?? {} });
2843
+ return Li({ func: async (r2) => {
2844
+ let i2 = Oa({ ...r2, ...e2 ?? {} });
2845
2845
  n2?.onSiteCall?.();
2846
2846
  try {
2847
2847
  let e3 = await t2.request(i2);
@@ -2853,25 +2853,25 @@ function La(e2) {
2853
2853
  let n3 = [t3, e2];
2854
2854
  return C({ ...n3?.[1], query: n3?.[0] }, []);
2855
2855
  }, responseTransformer: ({ data: e3 }) => {
2856
- 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`]);
2856
+ 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`]);
2857
2857
  return { items: t3?.products, pagingMetadata: t3?.pagingMetadata };
2858
2858
  }, errorTransformer: (e3) => {
2859
2859
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
2860
2860
  }, pagingMethod: `CURSOR`, transformationPaths: {} });
2861
2861
  }
2862
2862
  async function Ra(e2, t2) {
2863
- let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = ka(C({ query: e2, ...t2 }, []));
2863
+ let { httpClient: n2, sideEffects: r2 } = arguments[2], i2 = Oa(C({ query: e2, ...t2 }, []));
2864
2864
  r2?.onSiteCall?.();
2865
2865
  try {
2866
2866
  let e3 = await n2.request(i2);
2867
- 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`]);
2867
+ 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`]);
2868
2868
  } catch (e3) {
2869
2869
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2870
2870
  throw r2?.onError?.(e3), t3;
2871
2871
  }
2872
2872
  }
2873
2873
  async function za(e2) {
2874
- let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = Aa(C({ filter: e2?.filter, search: e2?.search, returnNonVisibleProducts: e2?.returnNonVisibleProducts }, []));
2874
+ let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = ka(C({ filter: e2?.filter, search: e2?.search, returnNonVisibleProducts: e2?.returnNonVisibleProducts }, []));
2875
2875
  n2?.onSiteCall?.();
2876
2876
  try {
2877
2877
  let e3 = await t2.request(r2);
@@ -2893,11 +2893,11 @@ function Ha(e2) {
2893
2893
  function Ua(e2) {
2894
2894
  return (t2) => za(t2, { httpClient: e2 });
2895
2895
  }
2896
- 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` }] }])))();
2897
- 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` }] }])))();
2898
- 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` }] }])))();
2896
+ 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` }] }])))();
2897
+ 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` }] }])))();
2898
+ 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` }] }])))();
2899
2899
  function qa(e2) {
2900
- let t2 = Qi({ builderQueryFunction: (t3) => Va(e2)(t3), typedQueryFunction: (t3, n3) => Ha(e2)(t3, n3), hasOptionsParameter: true });
2900
+ let t2 = Zi({ builderQueryFunction: (t3) => Va(e2)(t3), typedQueryFunction: (t3, n3) => Ha(e2)(t3, n3), hasOptionsParameter: true });
2901
2901
  function n2(e3, n3) {
2902
2902
  return t2(...arguments);
2903
2903
  }
@@ -2920,7 +2920,7 @@ function $a(e2) {
2920
2920
  var eo = ((e2) => (e2.GROUPING_CUSTOMIZATION = `GROUPING_CUSTOMIZATION`, e2.THUMBNAIL = `THUMBNAIL`, e2))(eo || {});
2921
2921
  function to(e2) {
2922
2922
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
2923
- return Ri({ func: async (r2) => {
2923
+ return Li({ func: async (r2) => {
2924
2924
  let i2 = $a({ ...r2, ...e2 ?? {} });
2925
2925
  n2?.onSiteCall?.();
2926
2926
  try {
@@ -2933,7 +2933,7 @@ function to(e2) {
2933
2933
  let n3 = [t3, e2];
2934
2934
  return C({ ...n3?.[1], query: n3?.[0] });
2935
2935
  }, responseTransformer: ({ data: e3 }) => {
2936
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `productGroups.media.image` }] }]));
2936
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `productGroups.media.image` }] }]));
2937
2937
  return { items: t3?.productGroups, pagingMetadata: t3?.pagingMetadata };
2938
2938
  }, errorTransformer: (e3) => {
2939
2939
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
@@ -2944,13 +2944,13 @@ async function no(e2, t2) {
2944
2944
  r2?.onSiteCall?.();
2945
2945
  try {
2946
2946
  let e3 = await n2.request(i2);
2947
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `productGroups.media.image` }] }]));
2947
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `productGroups.media.image` }] }]));
2948
2948
  } catch (e3) {
2949
2949
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
2950
2950
  throw r2?.onError?.(e3), t3;
2951
2951
  }
2952
2952
  }
2953
- ({ ...V() }, { ...Ea() });
2953
+ ({ ...H() }, { ...Ta() });
2954
2954
  function ro(e2) {
2955
2955
  return (t2) => to(t2, { httpClient: e2 });
2956
2956
  }
@@ -2958,7 +2958,7 @@ function io(e2) {
2958
2958
  return (t2, n2) => no(t2, n2, { httpClient: e2 });
2959
2959
  }
2960
2960
  function ao(e2) {
2961
- let t2 = Qi({ builderQueryFunction: (t3) => ro(e2)(t3), typedQueryFunction: (t3, n3) => io(e2)(t3, n3), hasOptionsParameter: true });
2961
+ let t2 = Zi({ builderQueryFunction: (t3) => ro(e2)(t3), typedQueryFunction: (t3, n3) => io(e2)(t3, n3), hasOptionsParameter: true });
2962
2962
  function n2(e3, n3) {
2963
2963
  return t2(...arguments);
2964
2964
  }
@@ -2977,7 +2977,7 @@ function lo(e2) {
2977
2977
  }
2978
2978
  function uo() {
2979
2979
  let { httpClient: e2, sideEffects: t2 } = arguments[0];
2980
- return Ri({ func: async (n2) => {
2980
+ return Li({ func: async (n2) => {
2981
2981
  let r2 = lo(n2);
2982
2982
  t2?.onSiteCall?.();
2983
2983
  try {
@@ -3007,7 +3007,7 @@ async function fo(e2) {
3007
3007
  throw n2?.onError?.(e3), t3;
3008
3008
  }
3009
3009
  }
3010
- ({ ...V() });
3010
+ ({ ...H() });
3011
3011
  function po(e2) {
3012
3012
  return () => uo({ httpClient: e2 });
3013
3013
  }
@@ -3015,7 +3015,7 @@ function mo(e2) {
3015
3015
  return (t2) => fo(t2, { httpClient: e2 });
3016
3016
  }
3017
3017
  function ho(e2) {
3018
- let t2 = Qi({ builderQueryFunction: () => po(e2)(), typedQueryFunction: (t3) => mo(e2)(t3), hasOptionsParameter: false });
3018
+ let t2 = Zi({ builderQueryFunction: () => po(e2)(), typedQueryFunction: (t3) => mo(e2)(t3), hasOptionsParameter: false });
3019
3019
  function n2(e3) {
3020
3020
  return t2(...arguments);
3021
3021
  }
@@ -3032,13 +3032,13 @@ function yo(e2) {
3032
3032
  }
3033
3033
  return t2;
3034
3034
  }
3035
- ({ ...V() }, { ...Ea() });
3035
+ ({ ...H() }, { ...Ta() });
3036
3036
  async function bo(e2) {
3037
3037
  let { httpClient: t2, sideEffects: n2 } = arguments[1], r2 = yo(C({ categoryId: e2 }));
3038
3038
  n2?.onSiteCall?.();
3039
3039
  try {
3040
3040
  let e3 = await t2.request(r2);
3041
- return n2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `promotions.promotion.media.image` }] }]));
3041
+ return n2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `promotions.promotion.media.image` }] }]));
3042
3042
  } catch (e3) {
3043
3043
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { categoryId: `$[0]` }, singleArgumentUnchanged: false }, [`categoryId`]);
3044
3044
  throw n2?.onError?.(e3), t3;
@@ -3047,14 +3047,14 @@ async function bo(e2) {
3047
3047
  function xo(e2) {
3048
3048
  return (t2) => bo(t2, { httpClient: e2 });
3049
3049
  }
3050
- 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` }] }])))();
3051
- 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` }] }])))();
3052
- 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` }] }])))();
3053
- 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` }] }])))();
3050
+ 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` }] }])))();
3051
+ 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` }] }])))();
3052
+ 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` }] }])))();
3053
+ 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` }] }])))();
3054
3054
  var Eo = O(xo);
3055
3055
  j(So), j(Co), j(wo), j(To);
3056
3056
  var Y = function(e2) {
3057
- return e2.PRICE = `PRICE`, e2.TEXT_CHOICES = `${W.TEXT_CHOICES}`, e2.SWATCH_CHOICES = `${W.SWATCH_CHOICES}`, e2;
3057
+ return e2.PRICE = `PRICE`, e2.TEXT_CHOICES = `${G.TEXT_CHOICES}`, e2.SWATCH_CHOICES = `${G.SWATCH_CHOICES}`, e2;
3058
3058
  }({});
3059
3059
  var Do = function(e2) {
3060
3060
  return e2.TEXT_CHOICES = `Text Choices`, e2.SWATCH_CHOICES = `Swatch Choices`, e2.PRICE = `Price`, e2;
@@ -3111,19 +3111,19 @@ function zo(e2, t2, n2) {
3111
3111
  return s2 ? `?${s2}` : ``;
3112
3112
  }
3113
3113
  function Bo(e2) {
3114
- let { search: t2, pushSearch: n2 } = wi(), i2 = r(() => No(t2, e2), [t2, e2]), a2 = (r2) => {
3114
+ let { search: t2, pushSearch: n2 } = Ci(), i2 = r(() => No(t2, e2), [t2, e2]), a2 = (r2) => {
3115
3115
  r2 !== i2 && n2(zo(t2, r2, e2));
3116
3116
  };
3117
3117
  return { filterSelection: i2, selectFilterChoice: (e3, t3) => {
3118
- a2(Ei(i2, e3, t3));
3118
+ a2(Ti(i2, e3, t3));
3119
3119
  }, deselectFilterChoice: (e3, t3) => {
3120
- a2(Di(i2, e3, t3));
3120
+ a2(Ei(i2, e3, t3));
3121
3121
  }, setPriceRange: (e3, t3) => {
3122
- a2(Oi(i2, e3, t3));
3122
+ a2(Di(i2, e3, t3));
3123
3123
  }, clearPriceRange: () => {
3124
- a2(ki(i2));
3124
+ a2(Oi(i2));
3125
3125
  }, clearAllFilters: () => {
3126
- Ti(i2) || a2({});
3126
+ wi(i2) || a2({});
3127
3127
  } };
3128
3128
  }
3129
3129
  var Vo = function(e2) {
@@ -3132,7 +3132,7 @@ var Vo = function(e2) {
3132
3132
  var X = function(e2) {
3133
3133
  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;
3134
3134
  }({});
3135
- 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 }];
3135
+ 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 }];
3136
3136
  function Uo(e2) {
3137
3137
  return Ho.find((t2) => t2.type === e2);
3138
3138
  }
@@ -3148,7 +3148,7 @@ function Jo(e2, t2) {
3148
3148
  return t2 === Wo ? n2.delete(Ko) : n2.set(Ko, t2), n2.toString();
3149
3149
  }
3150
3150
  function Yo() {
3151
- let { search: e2, pushSearch: t2 } = wi(), n2 = r(() => qo(e2), [e2]);
3151
+ let { search: e2, pushSearch: t2 } = Ci(), n2 = r(() => qo(e2), [e2]);
3152
3152
  return { sortTypes: Go, selectedSortType: n2, selectSortType: (r2) => {
3153
3153
  r2 !== n2 && t2(Jo(e2, r2));
3154
3154
  } };
@@ -3183,7 +3183,7 @@ var is = (e2) => {
3183
3183
  };
3184
3184
  function as(e2) {
3185
3185
  let t2 = e2.map((e3) => {
3186
- let t3 = e3._id, n2 = e3.modifierRenderType === ja.FREE_TEXT;
3186
+ let t3 = e3._id, n2 = e3.modifierRenderType === Aa.FREE_TEXT;
3187
3187
  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) => {
3188
3188
  let t4 = ts(e4.displayImage) ?? void 0;
3189
3189
  return { choiceId: e4.choiceId, key: e4.key, name: e4.name ?? void 0, colorCode: e4.colorCode, ...t4 ? { displayImageUri: t4 } : {}, mediaIds: is(e4.media) };
@@ -3297,7 +3297,7 @@ var Ns = (e2, t2) => {
3297
3297
  return t3 ? [t3.id, ...t3.childIds ?? []] : [e3];
3298
3298
  });
3299
3299
  };
3300
- var Ps = (e2, t2) => ({ [e2.customizationType === ia.MODIFIER ? $.modifierChoice : $.optionChoice]: { $hasSome: Ns(e2, t2) } });
3300
+ var Ps = (e2, t2) => ({ [e2.customizationType === ra.MODIFIER ? $.modifierChoice : $.optionChoice]: { $hasSome: Ns(e2, t2) } });
3301
3301
  var Fs = (e2, t2) => {
3302
3302
  let n2 = new Map(e2.filter((e3) => e3.type === Y.TEXT_CHOICES || e3.type === Y.SWATCH_CHOICES).map((e3) => [e3.id, e3]));
3303
3303
  return Object.entries(t2.customizationIdToChoiceIds ?? {}).flatMap(([e3, t3]) => {
@@ -3382,12 +3382,12 @@ async function Xs(e2, t2) {
3382
3382
  }
3383
3383
  var Zs = (e2, t2) => `${e2}:${[...t2].toSorted().join(`,`)}`;
3384
3384
  function Qs(e2) {
3385
- if (Ti(e2)) return ``;
3385
+ if (wi(e2)) return ``;
3386
3386
  let t2 = Object.entries(e2.customizationIdToChoiceIds ?? {}).filter(([, e3]) => e3.length > 0).map(([e3, t3]) => Zs(e3, t3)).toSorted().join(`;`), n2 = [];
3387
3387
  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(`&`);
3388
3388
  }
3389
- var $s = R(`@wix/site-service-locale`);
3390
- var ec = R(`@wix/viewer-service-multilingual`);
3389
+ var $s = z(`@wix/site-service-locale`);
3390
+ var ec = z(`@wix/viewer-service-multilingual`);
3391
3391
  function tc() {
3392
3392
  let e2 = d(), t2 = f($s), n2;
3393
3393
  try {
@@ -3397,10 +3397,10 @@ function tc() {
3397
3397
  return n2?.multilingualEnabled && n2.currentLocale?.languageCode || t2.language;
3398
3398
  }
3399
3399
  function nc(e2, t2, a2, o2, s2, c2) {
3400
- 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 = i(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 }) => {
3400
+ 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 = i(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 }) => {
3401
3401
  let r2 = await Vs({ categoryId: e2, filters: t2, filterSelection: a2, sortType: o2, productsPerPage: s2, cursor: n2 });
3402
3402
  return (await Xs(r2.products, p2.current)).forEach((e3, t3) => p2.current.set(t3, e3)), r2;
3403
- }, initialPageParam: void 0, getNextPageParam: (e3) => e3.hasNext ? e3.nextCursor : void 0, initialData: f2, staleTime: 1 / 0, placeholderData: er, retry: false }), _2 = n(async () => {
3403
+ }, initialPageParam: void 0, getNextPageParam: (e3) => e3.hasNext ? e3.nextCursor : void 0, initialData: f2, staleTime: 1 / 0, placeholderData: $n, retry: false }), _2 = n(async () => {
3404
3404
  await g2({ cancelRefetch: false });
3405
3405
  }, [g2]);
3406
3406
  return { products: r(() => (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 };
@@ -3418,7 +3418,7 @@ function ic(e2, t2, n2) {
3418
3418
  }
3419
3419
  function ac(e2) {
3420
3420
  let t2 = tc();
3421
- return ii({ queries: e2.map((e3) => ({ queryKey: [`sibling-product`, t2, e3], queryFn: () => zs(e3), staleTime: 1 / 0, retry: false })) }).flatMap(({ data: e3 }) => e3 ? [e3] : []);
3421
+ return ri({ queries: e2.map((e3) => ({ queryKey: [`sibling-product`, t2, e3], queryFn: () => zs(e3), staleTime: 1 / 0, retry: false })) }).flatMap(({ data: e3 }) => e3 ? [e3] : []);
3422
3422
  }
3423
3423
  function oc(e2, t2) {
3424
3424
  return ic(e2, ac(r(() => rc(e2, t2), [e2, t2])), t2);
@@ -3463,7 +3463,7 @@ function pc(e2, t2) {
3463
3463
  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 });
3464
3464
  return { filters: i2, currency: a2, productItems: lc({ products: f2.size > 0 ? h2.displayedProducts : d2, productGroupByGroupId: f2, defaultLocationId: c2, selectProductGroupMember: h2.selectProductGroupMember }), promotionItems: r(() => o2.map((e3) => ({ promotion: e3 })), [o2]), ...l2, ...u2, ...m2 };
3465
3465
  }
3466
- var mc = R(`@wix/site-service-warmup-data`);
3466
+ var mc = z(`@wix/site-service-warmup-data`);
3467
3467
  async function hc(e2, t2, n2) {
3468
3468
  let r2 = typeof window > `u`;
3469
3469
  if (!r2 && e2) try {
@@ -3495,7 +3495,7 @@ var _c = (e2) => {
3495
3495
  return t2 ? decodeURIComponent(t2) : void 0;
3496
3496
  };
3497
3497
  function vc() {
3498
- let { url: e2 } = wi();
3498
+ let { url: e2 } = Ci();
3499
3499
  return _c(e2);
3500
3500
  }
3501
3501
  function yc(e2) {
@@ -3520,7 +3520,7 @@ async function wc(e2, t2, n2) {
3520
3520
  i2?.onSiteCall?.();
3521
3521
  try {
3522
3522
  let e3 = await r2.request(a2);
3523
- return i2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `category.image` }] }]), [`category.richContentDescription`]);
3523
+ return i2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `category.image` }] }]), [`category.richContentDescription`]);
3524
3524
  } catch (e3) {
3525
3525
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { slug: `$[0]`, treeReference: `$[1]`, fields: `$[2].fields` }, singleArgumentUnchanged: false }, [`slug`, `treeReference`, `options`]);
3526
3526
  throw i2?.onError?.(e3), t3;
@@ -3528,7 +3528,7 @@ async function wc(e2, t2, n2) {
3528
3528
  }
3529
3529
  function Tc(e2) {
3530
3530
  let { httpClient: t2, sideEffects: n2 } = arguments[1];
3531
- return Ri({ func: async (r2) => {
3531
+ return Li({ func: async (r2) => {
3532
3532
  let i2 = Sc({ ...r2, ...e2 });
3533
3533
  n2?.onSiteCall?.();
3534
3534
  try {
@@ -3541,7 +3541,7 @@ function Tc(e2) {
3541
3541
  let n3 = [t3, e2];
3542
3542
  return C({ ...n3?.[1], query: n3?.[0] }, []);
3543
3543
  }, responseTransformer: ({ data: e3 }) => {
3544
- let t3 = w(E(e3, [{ transformFn: H, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3544
+ let t3 = w(E(e3, [{ transformFn: U, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3545
3545
  return { items: t3?.categories, pagingMetadata: t3?.pagingMetadata };
3546
3546
  }, errorTransformer: (e3) => {
3547
3547
  throw D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false });
@@ -3552,13 +3552,13 @@ async function Ec(e2, t2) {
3552
3552
  r2?.onSiteCall?.();
3553
3553
  try {
3554
3554
  let e3 = await n2.request(i2);
3555
- return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: H, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3555
+ return r2?.onSuccess?.(e3), w(E(e3.data, [{ transformFn: U, paths: [{ path: `categories.image` }] }]), [`categories.richContentDescription`]);
3556
3556
  } catch (e3) {
3557
3557
  let t3 = D(e3, { spreadPathsToArguments: {}, explicitPathsToArguments: { query: `$[0]` }, singleArgumentUnchanged: false }, [`query`, `options`]);
3558
3558
  throw r2?.onError?.(e3), t3;
3559
3559
  }
3560
3560
  }
3561
- ({ ...V() }, { ...Ea() });
3561
+ ({ ...H() }, { ...Ta() });
3562
3562
  function Dc(e2) {
3563
3563
  return (t2, n2, r2) => wc(t2, n2, r2, { httpClient: e2 });
3564
3564
  }
@@ -3569,14 +3569,14 @@ function kc(e2) {
3569
3569
  return (t2, n2) => Ec(t2, n2, { httpClient: e2 });
3570
3570
  }
3571
3571
  var Ac = b(`wix.categories.v1.category_category_moved`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3572
- 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` }] }])))();
3573
- 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` }] }])))();
3572
+ 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` }] }])))();
3573
+ 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` }] }])))();
3574
3574
  var Nc = b(`wix.categories.v1.category_item_added_to_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3575
3575
  var Pc = b(`wix.categories.v1.category_item_removed_from_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3576
3576
  var Fc = b(`wix.categories.v1.category_items_arranged_in_category`, true, (e2) => w(E(e2, [{ transformFn: T, paths: [{ path: `metadata.eventTime` }] }])))();
3577
- 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` }] }])))();
3577
+ 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` }] }])))();
3578
3578
  function Lc(e2) {
3579
- let t2 = Qi({ builderQueryFunction: (t3) => Oc(e2)(t3), typedQueryFunction: (t3, n3) => kc(e2)(t3, n3), hasOptionsParameter: true });
3579
+ let t2 = Zi({ builderQueryFunction: (t3) => Oc(e2)(t3), typedQueryFunction: (t3, n3) => kc(e2)(t3, n3), hasOptionsParameter: true });
3580
3580
  function n2(e3, n3) {
3581
3581
  return t2(...arguments);
3582
3582
  }
@@ -3675,7 +3675,7 @@ var cl = (e2, t2) => {
3675
3675
  let n2 = t2.choicesSettings?.choices ?? [], r2 = new Map(n2.map((e3, t3) => [e3._id ?? ``, t3])), i2 = (e3) => r2.get(e3.id) ?? 2 ** 53 - 1;
3676
3676
  return e2.toSorted((e3, t3) => i2(e3) - i2(t3));
3677
3677
  };
3678
- var ll = (e2, t2, n2) => t2 === W.TEXT_CHOICES ? dl(e2, (e3) => e3.name) : n2 ? ul(e2, (e3) => e3.count) : [...e2];
3678
+ var ll = (e2, t2, n2) => t2 === G.TEXT_CHOICES ? dl(e2, (e3) => e3.name) : n2 ? ul(e2, (e3) => e3.count) : [...e2];
3679
3679
  var ul = (e2, t2) => e2.toSorted((e3, n2) => t2(n2) - t2(e3));
3680
3680
  var dl = (e2, t2) => e2.toSorted((e3, n2) => {
3681
3681
  let r2 = sl(t2(e3)), i2 = sl(t2(n2));
@@ -3683,13 +3683,13 @@ var dl = (e2, t2) => e2.toSorted((e3, n2) => {
3683
3683
  });
3684
3684
  function fl(e2, t2, n2) {
3685
3685
  switch (t2.choicesSettings?.sortOrder) {
3686
- case aa.BY_NAME:
3686
+ case ia.BY_NAME:
3687
3687
  return dl(e2, (e3) => e3.name);
3688
- case aa.BY_PRODUCT_COUNT:
3688
+ case ia.BY_PRODUCT_COUNT:
3689
3689
  return ul(e2, (e3) => e3.count);
3690
- case aa.MANUAL:
3690
+ case ia.MANUAL:
3691
3691
  return cl(e2, t2);
3692
- case aa.DEFAULT:
3692
+ case ia.DEFAULT:
3693
3693
  default:
3694
3694
  return ll(e2, t2.customizationRenderType, n2);
3695
3695
  }
@@ -3722,8 +3722,8 @@ var bl = (e2, t2, n2, r2) => {
3722
3722
  return n3 ? [{ id: t3, name: n3.name ?? ``, renderType: n3.customizationRenderType, type: e2, choices: ml(n3, r2) }] : [];
3723
3723
  });
3724
3724
  };
3725
- var xl = (e2) => dl(e2.filter((e3) => e3.renderType === W.SWATCH_CHOICES).map(_l), (e3) => e3.name);
3726
- var Sl = (e2) => dl(e2.filter((e3) => e3.renderType === W.TEXT_CHOICES).map(yl), (e3) => e3.name);
3725
+ var xl = (e2) => dl(e2.filter((e3) => e3.renderType === G.SWATCH_CHOICES).map(_l), (e3) => e3.name);
3726
+ var Sl = (e2) => dl(e2.filter((e3) => e3.renderType === G.TEXT_CHOICES).map(yl), (e3) => e3.name);
3727
3727
  function Cl(e2, t2, n2, r2) {
3728
3728
  if (n2.length === 0) return [];
3729
3729
  let i2 = bl(e2, t2, n2, r2);
@@ -3901,13 +3901,13 @@ var Kl = v(_((e2, t2) => {
3901
3901
  }
3902
3902
  t2.exports = s2;
3903
3903
  })(), 1);
3904
- var ql = [oa.CHOICE_DISPLAY_IMAGE];
3904
+ var ql = [aa.CHOICE_DISPLAY_IMAGE];
3905
3905
  var Jl = `customizationRenderType`;
3906
3906
  async function Yl(e2) {
3907
3907
  let t2 = (0, Kl.default)(e2, 100);
3908
3908
  return (await Promise.all(t2.map(Xl))).flat();
3909
3909
  }
3910
- var Xl = async (e2) => (await ha({ fields: ql }).hasSome(`_id`, e2).ne(Jl, W.FREE_TEXT).limit(100).find()).items;
3910
+ var Xl = async (e2) => (await ma({ fields: ql }).hasSome(`_id`, e2).ne(Jl, G.FREE_TEXT).limit(100).find()).items;
3911
3911
  var Zl = (e2, t2, n2) => ({ name: e2, type: Fa.SCALAR, fieldPath: t2, scalar: { type: n2 } });
3912
3912
  var Ql = (e2, t2, n2) => ({ name: e2, type: Fa.VALUE, fieldPath: t2, value: { limit: n2, sortType: Ma.COUNT, sortDirection: Na.DESC } });
3913
3913
  function $l(e2) {
@@ -3932,7 +3932,7 @@ async function ru(e2, t2) {
3932
3932
  var iu = [ks.PRICE, ks.OPTIONS, ks.MODIFIERS];
3933
3933
  async function au(e2, t2 = iu) {
3934
3934
  let n2 = await ru(e2, t2), r2 = await Yl([...n2.optionIds, ...n2.modifierIds]);
3935
- 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 };
3935
+ 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 };
3936
3936
  }
3937
3937
  var ou = (e2) => {
3938
3938
  let t2 = Bc(e2 ?? void 0);
@@ -3954,57 +3954,145 @@ async function uu(e2, t2, n2) {
3954
3954
  let r2 = au(e2), [i2, a2, o2] = await Promise.all([lu(e2, r2, t2, n2), r2, cu(e2)]), { filters: s2, currency: c2 } = a2;
3955
3955
  return { filters: s2, currency: c2, promotions: o2, initialProductList: i2 };
3956
3956
  }
3957
- var du = async (e2, t2, n2) => {
3957
+ function du({ id: e2 = ``, slug: t2 = `` }, n2, r2) {
3958
+ let i2 = [], a2 = No(n2, i2);
3959
+ 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 } };
3960
+ }
3961
+ function fu() {
3962
+ let e2 = typeof $wixContext < `u` && $wixContext.initWixModules ? $wixContext.initWixModules : globalThis.__wix_context__ !== void 0 && globalThis.__wix_context__.initWixModules ? globalThis.__wix_context__.initWixModules : void 0;
3963
+ if (e2) return { initWixModules(t3, n3) {
3964
+ return pu(() => e2(t3, n3));
3965
+ }, fetchWithAuth() {
3966
+ throw Error(`fetchWithAuth is not available in this context`);
3967
+ }, graphql() {
3968
+ throw Error(`graphql is not available in this context`);
3969
+ } };
3970
+ 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;
3971
+ if (t2 || n2) return { initWixModules(e3, r2) {
3972
+ if (r2) {
3973
+ 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`);
3974
+ return pu(() => n2.use(e3));
3975
+ }
3976
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
3977
+ return pu(() => t2.use(e3));
3978
+ }, fetchWithAuth: (e3, n3) => {
3979
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
3980
+ return t2.fetchWithAuth(e3, n3);
3981
+ }, getAuth() {
3982
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
3983
+ return t2.auth;
3984
+ }, async graphql(e3, n3, r2) {
3985
+ if (!t2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
3986
+ return t2.graphql(e3, n3, r2);
3987
+ } };
3988
+ }
3989
+ function pu(e2) {
3990
+ let t2 = globalThis.__wix_context__, n2 = { client: y.client, elevatedClient: y.elevatedClient }, r2;
3991
+ 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);
3992
+ try {
3993
+ return e2();
3994
+ } finally {
3995
+ globalThis.__wix_context__ = t2, y.client = n2.client, y.elevatedClient = n2.elevatedClient, typeof $wixContext < `u` && ($wixContext.client = r2.client, $wixContext.elevatedClient = r2.elevatedClient);
3996
+ }
3997
+ }
3998
+ function mu(e2, t2) {
3999
+ return { ...e2, ...Object.fromEntries(t2.map((t3) => [t3, (...n2) => {
4000
+ let r2 = fu();
4001
+ if (!r2) throw Error(`Wix context is not available. Make sure to initialize the Wix context before using SDK modules`);
4002
+ return r2.initWixModules(e2)[t3].apply(void 0, n2);
4003
+ }])) };
4004
+ }
4005
+ function hu(e2) {
4006
+ return mu({ __type: `host`, create: (t2) => Object.entries(e2).reduce((e3, [n2, r2]) => ({ ...e3, [n2]: r2(t2) }), {}) }, Object.keys(e2));
4007
+ }
4008
+ var gu = class {
4009
+ constructor(e2) {
4010
+ this.message = e2, this.captureException = () => {
4011
+ console.error(this.message);
4012
+ }, this.captureMessage = () => {
4013
+ console.error(this.message);
4014
+ }, this.startSpan = (e3, t2) => (console.error(this.message), t2(void 0)), this.startSpanManual = () => (console.error(this.message), { end: () => {
4015
+ }, fail: () => {
4016
+ } }), this.endSpanManual = () => {
4017
+ console.error(this.message);
4018
+ }, this.addBreadcrumb = () => {
4019
+ console.error(this.message);
4020
+ };
4021
+ }
4022
+ };
4023
+ var _u = (e2) => new gu(e2);
4024
+ 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.`) });
4025
+ var yu = /* @__PURE__ */ new Set([`APP_NOT_INSTALLED`, `TREE_NOT_FOUND`, `CATALOG_V3_SITE_PROVISIONING`]);
4026
+ function bu(e2) {
4027
+ if (typeof e2 != `object` || !e2) return;
4028
+ let { details: t2 } = e2, n2 = t2?.applicationError?.code;
4029
+ return typeof n2 == `string` ? n2 : void 0;
4030
+ }
4031
+ function xu(e2) {
4032
+ let t2 = bu(e2);
4033
+ return t2 && yu.has(t2) ? t2 : void 0;
4034
+ }
4035
+ function Su(e2, t2, n2) {
4036
+ return t2.catch((t3) => {
4037
+ let r2 = xu(t3);
4038
+ if (!r2) throw t3;
4039
+ return vu.getMonitoringClient().captureException(t3, { level: `warning`, tags: { provider: e2, code: r2 } }), n2();
4040
+ });
4041
+ }
4042
+ function Cu(e2, t2, n2) {
4043
+ return r(() => Su(e2, t2, n2), [t2]);
4044
+ }
4045
+ var wu = async (e2, t2, n2) => {
3958
4046
  let [r2, i2] = await Promise.all([tl(e2), nl()]);
3959
4047
  return { category: r2, defaultLocationId: i2, ...await uu(r2.id, t2, n2) };
3960
4048
  };
3961
- var fu = (e2, t2, n2) => `wixstores-storefront-builder:category-by-slug-context-data:${e2}:${n2}:${t2}`;
3962
- function pu(e2) {
3963
- let { search: t2 } = wi(), n2 = vc();
3964
- return gc(fu(n2, t2, e2), () => du(n2, t2, e2));
4049
+ var Tu = (e2, t2, n2) => `wixstores-storefront-builder:category-by-slug-context-data:${e2}:${n2}:${t2}`;
4050
+ function Eu(e2) {
4051
+ let { search: t2 } = Ci(), n2 = vc();
4052
+ return Cu(`category-by-slug`, gc(Tu(n2, t2, e2), () => wu(n2, t2, e2)), () => du({ slug: n2 }, t2, e2));
3965
4053
  }
3966
- function mu(e2) {
4054
+ function Du(e2) {
3967
4055
  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: [] };
3968
4056
  }
3969
- function hu(e2) {
4057
+ function Ou(e2) {
3970
4058
  let t2 = {};
3971
4059
  for (let n2 of e2) {
3972
4060
  if (n2.visible === false || !n2._id) continue;
3973
- let e3 = mu(n2);
4061
+ let e3 = Du(n2);
3974
4062
  t2[e3.id ?? ``] = e3;
3975
4063
  }
3976
4064
  for (let e3 of Object.values(t2)) e3?.parentCategoryId && t2[e3.parentCategoryId]?.childCategoryIds.push(e3.id ?? ``);
3977
4065
  return t2;
3978
4066
  }
3979
- var gu = { appNamespace: `@wix/stores`, treeKey: null };
3980
- var _u = 1e3;
3981
- async function vu() {
3982
- return hu((await zc({ treeReference: gu }).eq(`visible`, true).limit(_u).find()).items);
4067
+ var ku = { appNamespace: `@wix/stores`, treeKey: null };
4068
+ var Au = 1e3;
4069
+ async function ju() {
4070
+ return Ou((await zc({ treeReference: ku }).eq(`visible`, true).limit(Au).find()).items);
3983
4071
  }
3984
- var yu = `wixstores-storefront-builder:category-list-context-data`;
3985
- function bu() {
3986
- return gc(yu, () => vu());
4072
+ var Mu = `wixstores-storefront-builder:category-list-context-data`;
4073
+ function Nu() {
4074
+ return Cu(`category-list`, gc(Mu, ju), () => ({}));
3987
4075
  }
3988
- function xu() {
4076
+ function Pu() {
3989
4077
  throw Error(`useCategoryBySlugContext must not be used directly`);
3990
4078
  }
3991
- function Su({ categoryValue: e2, categoryListValue: t2, productListValue: n2, children: r2 }) {
4079
+ function Fu({ categoryValue: e2, categoryListValue: t2, productListValue: n2, children: r2 }) {
3992
4080
  return s(u, { value: t2, children: s(l, { value: e2, children: s(c, { value: n2, children: r2 }) }) });
3993
4081
  }
3994
- var Cu = ({ children: e2, dataPromise: t2, categoryListPromise: n2, productsPerPage: r2 }) => {
3995
- let i2 = bi(t2), a2 = bi(n2), o2 = fi(i2), c2 = pi(a2, i2.category.id), l2 = pc(i2, r2);
3996
- return yi(i2.category), s(Su, { categoryValue: o2, categoryListValue: c2, productListValue: l2, children: e2 });
4082
+ var Iu = ({ children: e2, dataPromise: t2, categoryListPromise: n2, productsPerPage: r2 }) => {
4083
+ let i2 = yi(t2), a2 = yi(n2), o2 = di(i2), c2 = fi(a2, i2.category.id), l2 = pc(i2, r2);
4084
+ return vi(i2.category), s(Fu, { categoryValue: o2, categoryListValue: c2, productListValue: l2, children: e2 });
3997
4085
  };
3998
- function wu({ children: e2, productsPerPage: n2 = 20 }) {
3999
- let [r2] = a(() => new Hr()), i2 = pu(n2), o2 = bu();
4000
- return s(Gr, { client: r2, children: s(t, { fallback: null, children: s(Cu, { dataPromise: i2, categoryListPromise: o2, productsPerPage: n2, children: e2 }) }) });
4086
+ function Lu({ children: e2, productsPerPage: n2 = 20 }) {
4087
+ let [r2] = a(() => new Vr()), i2 = Eu(n2), o2 = Nu();
4088
+ return s(Wr, { client: r2, children: s(t, { fallback: null, children: s(Iu, { dataPromise: i2, categoryListPromise: o2, productsPerPage: n2, children: e2 }) }) });
4001
4089
  }
4002
- var Tu = Mn(`404b3ed8-9b27-4342-9451-17ae43ebdebb`);
4090
+ var Ru = Mn(`404b3ed8-9b27-4342-9451-17ae43ebdebb`);
4003
4091
  export {
4004
- wu as CategoryBySlugContextProvider,
4005
- Su as CategoryBySlugContextValues,
4006
- wu as default,
4007
- Tu as injectAccessTokenGetter,
4008
- xu as useCategoryBySlugContext
4092
+ Lu as CategoryBySlugContextProvider,
4093
+ Fu as CategoryBySlugContextValues,
4094
+ Lu as default,
4095
+ Ru as injectAccessTokenGetter,
4096
+ Pu as useCategoryBySlugContext
4009
4097
  };
4010
4098
  //# sourceMappingURL=context-category-by-slug.mjs.map