@photoroom/ui 0.1.686 → 0.1.688

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.
Files changed (2) hide show
  1. package/index.mjs +100 -92
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -16797,7 +16797,7 @@ var $x = "AMP_unsent", eS = "$default_instance", tS = "https://api2.amplitude.co
16797
16797
  "set-cookie"
16798
16798
  ];
16799
16799
  //#endregion
16800
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
16800
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
16801
16801
  Xx();
16802
16802
  var TS = 1e3, ES = function(e) {
16803
16803
  if (Object.keys(e).length > TS) return !1;
@@ -16838,7 +16838,7 @@ var TS = 1e3, ES = function(e) {
16838
16838
  return !0;
16839
16839
  };
16840
16840
  //#endregion
16841
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js
16841
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/identify.js
16842
16842
  Xx();
16843
16843
  var OS = function() {
16844
16844
  function e() {
@@ -16895,7 +16895,7 @@ var AS = [
16895
16895
  e.Unknown = "unknown", e.Skipped = "skipped", e.Success = "success", e.RateLimit = "rate_limit", e.PayloadTooLarge = "payload_too_large", e.Invalid = "invalid", e.Failed = "failed", e.Timeout = "Timeout", e.SystemError = "SystemError";
16896
16896
  })(RS ||= {});
16897
16897
  //#endregion
16898
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
16898
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
16899
16899
  var zS = function(e, t, n) {
16900
16900
  return t === void 0 && (t = 0), n === void 0 && (n = RS.Unknown), {
16901
16901
  event: e,
@@ -16911,7 +16911,7 @@ var zS = function(e, t, n) {
16911
16911
  if (typeof global < "u") return global;
16912
16912
  };
16913
16913
  //#endregion
16914
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
16914
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
16915
16915
  Xx();
16916
16916
  var VS = function(e) {
16917
16917
  return e ? (e ^ Math.random() * 16 >> e / 4).toString(16) : "10000000-1000-4000-8000-100000000000".replace(/[018]/g, US);
@@ -16971,7 +16971,7 @@ var VS = function(e) {
16971
16971
  }, t.exports.ensureProperties = a;
16972
16972
  })))()), GS = WS.default || WS;
16973
16973
  //#endregion
16974
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
16974
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
16975
16975
  Xx();
16976
16976
  var yle = function() {
16977
16977
  function e(e) {
@@ -17176,7 +17176,7 @@ var yle = function() {
17176
17176
  }, e;
17177
17177
  }();
17178
17178
  //#endregion
17179
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
17179
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
17180
17180
  Xx();
17181
17181
  var ble = function(e, t, n) {
17182
17182
  return Y(Y(Y({}, typeof e == "string" ? { event_type: e } : e), n), t && { event_properties: t });
@@ -17208,7 +17208,7 @@ var ble = function(e, t, n) {
17208
17208
  return { promise: e || Promise.resolve() };
17209
17209
  };
17210
17210
  //#endregion
17211
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
17211
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
17212
17212
  Xx();
17213
17213
  var wle = function() {
17214
17214
  function e(e) {
@@ -17362,7 +17362,7 @@ var wle = function() {
17362
17362
  }, e;
17363
17363
  }();
17364
17364
  //#endregion
17365
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
17365
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
17366
17366
  Xx();
17367
17367
  var Tle = function() {
17368
17368
  function e() {
@@ -17399,7 +17399,7 @@ var Tle = function() {
17399
17399
  e.REVENUE_PRODUCT_ID = "$productId", e.REVENUE_QUANTITY = "$quantity", e.REVENUE_PRICE = "$price", e.REVENUE_TYPE = "$revenueType", e.REVENUE_CURRENCY = "$currency", e.REVENUE = "$revenue", e.RECEIPT = "$receipt", e.RECEIPT_SIG = "$receiptSig";
17400
17400
  })(JS ||= {});
17401
17401
  //#endregion
17402
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
17402
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
17403
17403
  var Ele = function(e, t) {
17404
17404
  var n = Math.max(t, 1);
17405
17405
  return e.reduce(function(e, t, r) {
@@ -17411,7 +17411,7 @@ var Ele = function(e, t) {
17411
17411
  e[e.None = 0] = "None", e[e.Error = 1] = "Error", e[e.Warn = 2] = "Warn", e[e.Verbose = 3] = "Verbose", e[e.Debug = 4] = "Debug";
17412
17412
  })(YS ||= {});
17413
17413
  //#endregion
17414
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js
17414
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/logger.js
17415
17415
  var XS = "Amplitude Logger ", ZS = function() {
17416
17416
  function e() {
17417
17417
  this.logLevel = YS.None;
@@ -17488,12 +17488,12 @@ var XS = "Amplitude Logger ", ZS = function() {
17488
17488
  }, e;
17489
17489
  }();
17490
17490
  //#endregion
17491
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
17491
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
17492
17492
  function tC(e) {
17493
17493
  return e >= 200 && e < 300;
17494
17494
  }
17495
17495
  //#endregion
17496
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
17496
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
17497
17497
  Xx();
17498
17498
  var nC = function(e) {
17499
17499
  return e === void 0 && (e = 0), ((/* @__PURE__ */ Error()).stack || "").split("\n").slice(2 + e).map(function(e) {
@@ -17565,7 +17565,7 @@ var nC = function(e) {
17565
17565
  };
17566
17566
  };
17567
17567
  //#endregion
17568
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
17568
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
17569
17569
  Xx();
17570
17570
  var jle = /* @__PURE__ */ new Set([
17571
17571
  tS,
@@ -17910,7 +17910,7 @@ var Vle = class {
17910
17910
  lC(t).identityStore.editIdentity().setDeviceId(e).commit();
17911
17911
  };
17912
17912
  //#endregion
17913
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js
17913
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/identity.js
17914
17914
  Xx();
17915
17915
  var Gle = function() {
17916
17916
  function e() {
@@ -17990,7 +17990,7 @@ var Gle = function() {
17990
17990
  return t;
17991
17991
  };
17992
17992
  //#endregion
17993
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js
17993
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/storage/memory.js
17994
17994
  Xx();
17995
17995
  var vC = function() {
17996
17996
  function e() {
@@ -18039,7 +18039,7 @@ var vC = function() {
18039
18039
  }, e;
18040
18040
  }();
18041
18041
  //#endregion
18042
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js
18042
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/storage/cookie.js
18043
18043
  Xx();
18044
18044
  /* istanbul ignore next */
18045
18045
  var Yle = function() {
@@ -18284,7 +18284,7 @@ var Yle = function() {
18284
18284
  ].filter(Boolean).join("_");
18285
18285
  };
18286
18286
  //#endregion
18287
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js
18287
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/storage/browser-storage.js
18288
18288
  Xx();
18289
18289
  var CC = function() {
18290
18290
  function e(e) {
@@ -18372,7 +18372,7 @@ var CC = function() {
18372
18372
  }, e;
18373
18373
  }();
18374
18374
  //#endregion
18375
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js
18375
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-storage.js
18376
18376
  Xx();
18377
18377
  var Qle = 10, $le = 1, wC = {
18378
18378
  TAGS: "tags",
@@ -18731,7 +18731,7 @@ var Qle = 10, $le = 1, wC = {
18731
18731
  }, e;
18732
18732
  }();
18733
18733
  //#endregion
18734
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js
18734
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/uncaught-sdk-errors.js
18735
18735
  Xx();
18736
18736
  var eue = "__AMPLITUDE_SCRIPT_URL__", tue = "sdk.error.uncaught", nue = function() {
18737
18737
  var e = BS();
@@ -18823,7 +18823,7 @@ var eue = "__AMPLITUDE_SCRIPT_URL__", tue = "sdk.error.uncaught", nue = function
18823
18823
  }
18824
18824
  };
18825
18825
  //#endregion
18826
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js
18826
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/diagnostics/diagnostics-client.js
18827
18827
  Xx();
18828
18828
  var oue = 1e3, OC = 3e5, sue = "https://diagnostics.prod.us-west-2.amplitude.com/v1/capture", cue = "https://diagnostics.prod.eu-central-1.amplitude.com/v1/capture", lue = function() {
18829
18829
  function e(e, t, n, r, i) {
@@ -19050,7 +19050,7 @@ var oue = 1e3, OC = 3e5, sue = "https://diagnostics.prod.us-west-2.amplitude.com
19050
19050
  }, e;
19051
19051
  }();
19052
19052
  //#endregion
19053
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js
19053
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/transports/gzip.js
19054
19054
  Xx();
19055
19055
  function AC() {
19056
19056
  return typeof CompressionStream < "u";
@@ -19077,16 +19077,22 @@ function jC(e) {
19077
19077
  });
19078
19078
  }
19079
19079
  //#endregion
19080
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js
19080
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config-localstorage.js
19081
19081
  var uue = function() {
19082
19082
  function e(e, t) {
19083
19083
  this.key = `AMP_remote_config_${e.substring(0, 10)}`, this.logger = t;
19084
+ try {
19085
+ this.isSupported = typeof localStorage < "u";
19086
+ } catch (e) {
19087
+ this.logger.debug("Remote config localstorage failed to access: ", e), this.isSupported = !1;
19088
+ }
19084
19089
  }
19085
19090
  return e.prototype.fetchConfig = function() {
19086
19091
  var e = null, t = {
19087
19092
  remoteConfig: null,
19088
19093
  lastFetch: /* @__PURE__ */ new Date()
19089
19094
  };
19095
+ if (!this.isSupported) return Promise.resolve(t);
19090
19096
  try {
19091
19097
  e = localStorage.getItem(this.key);
19092
19098
  } catch (e) {
@@ -19095,7 +19101,7 @@ var uue = function() {
19095
19101
  if (e === null) return this.logger.debug("Remote config localstorage gets null because the key does not exist"), Promise.resolve(t);
19096
19102
  try {
19097
19103
  var n = JSON.parse(e);
19098
- return this.logger.debug(`Remote config localstorage parsed successfully: ${JSON.stringify(n)}`), Promise.resolve({
19104
+ return this.logger.debug(`Remote config localstorage parsed successfully: ${GS(n)}`), Promise.resolve({
19099
19105
  remoteConfig: n.remoteConfig,
19100
19106
  lastFetch: new Date(n.lastFetch)
19101
19107
  });
@@ -19103,6 +19109,7 @@ var uue = function() {
19103
19109
  return this.logger.debug("Remote config localstorage failed to parse: ", e), localStorage.removeItem(this.key), Promise.resolve(t);
19104
19110
  }
19105
19111
  }, e.prototype.setConfig = function(e) {
19112
+ if (!this.isSupported) return Promise.resolve(!1);
19106
19113
  try {
19107
19114
  return localStorage.setItem(this.key, JSON.stringify(e)), this.logger.debug("Remote config localstorage set successfully."), Promise.resolve(!0);
19108
19115
  } catch (e) {
@@ -19112,7 +19119,7 @@ var uue = function() {
19112
19119
  }, e;
19113
19120
  }();
19114
19121
  //#endregion
19115
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js
19122
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/remote-config/remote-config.js
19116
19123
  Xx();
19117
19124
  function due(e, t) {
19118
19125
  return new Promise(function(n, r) {
@@ -19132,8 +19139,8 @@ var MC = {
19132
19139
  FORBIDDEN: 403,
19133
19140
  RATE_LIMIT: 429
19134
19141
  }, fue = 1e3, pue = 3e5, mue = function() {
19135
- function e(t, n, r, i, a, o) {
19136
- r === void 0 && (r = "US"), o === void 0 && (o = e.CONFIG_GROUP), this.callbackInfos = [], this.lastSuccessfulFetch = null, this.fetchPromise = null, this.isLastFetchInvalidApiKey = !1, this.apiKey = t, this.serverUrl = i || (r === "US" ? "https://sr-client-cfg.amplitude.com/config" : "https://sr-client-cfg.eu.amplitude.com/config"), this.logger = n, this.storage = new uue(t, n), this.customFetch = a, this.configGroup = o;
19142
+ function e(t, n, r, i, a, o, s) {
19143
+ r === void 0 && (r = "US"), o === void 0 && (o = e.DEFAULT_CONFIG_GROUP), this.callbackInfos = [], this.lastSuccessfulFetch = null, this.fetchPromise = null, this.isLastFetchInvalidApiKey = !1, this.apiKey = t, this.configGroup = o, this.serverUrl = i || (r === "US" ? "https://sr-client-cfg.amplitude.com/config" : "https://sr-client-cfg.eu.amplitude.com/config"), this.logger = n, this.storage = s || new uue(t, n), this.customFetch = a;
19137
19144
  }
19138
19145
  return e.prototype.subscribe = function(e, t, n) {
19139
19146
  var r = US(), i = {
@@ -19282,10 +19289,10 @@ var MC = {
19282
19289
  }, e.prototype.getUrlParams = function() {
19283
19290
  var e = encodeURIComponent(this.apiKey), t = new URLSearchParams();
19284
19291
  return t.append("config_group", this.configGroup), `${this.serverUrl}/${e}?${t.toString()}`;
19285
- }, e.CONFIG_GROUP = "browser", e;
19292
+ }, e.DEFAULT_CONFIG_GROUP = "browser", e;
19286
19293
  }();
19287
19294
  //#endregion
19288
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js
19295
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/observers/console.js
19289
19296
  Xx();
19290
19297
  var NC = BS()?.console, PC = {}, FC = {}, IC = !1;
19291
19298
  function hue(e) {
@@ -19372,7 +19379,7 @@ var LC = {
19372
19379
  "h6"
19373
19380
  ];
19374
19381
  //#endregion
19375
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js
19382
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/types/frustration-interactions.js
19376
19383
  Xx();
19377
19384
  var zC = Jx([
19378
19385
  "input[type=\"button\"]",
@@ -19394,7 +19401,7 @@ var zC = Jx([
19394
19401
  "[contenteditable=\"true\" i]"
19395
19402
  ]), !1), xue = zC, Sue = zC, Cue = ["*"], wue = 1e3;
19396
19403
  //#endregion
19397
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js
19404
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/json-query.js
19398
19405
  Xx();
19399
19406
  function Tue(e) {
19400
19407
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e == null;
@@ -19460,7 +19467,7 @@ function WC(e, t) {
19460
19467
  });
19461
19468
  }
19462
19469
  //#endregion
19463
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js
19470
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/network-request-event.js
19464
19471
  Xx();
19465
19472
  var Eue = 500, Due = function() {
19466
19473
  function e(e) {
@@ -19758,7 +19765,7 @@ var JC = "[REDACTED]", YC = function(e, t) {
19758
19765
  }, e;
19759
19766
  }();
19760
19767
  //#endregion
19761
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js
19768
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/observers/network.js
19762
19769
  Xx();
19763
19770
  function Mue(e) {
19764
19771
  return typeof e == "object" && !!e && "url" in e && "method" in e;
@@ -19941,7 +19948,7 @@ var ZC = new (function() {
19941
19948
  }, e;
19942
19949
  }())();
19943
19950
  //#endregion
19944
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/network-tracking-config.js
19951
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/network-tracking-config.js
19945
19952
  Xx();
19946
19953
  var Pue = function(e, t) {
19947
19954
  return e?.map(function(e) {
@@ -19953,7 +19960,7 @@ var Pue = function(e, t) {
19953
19960
  });
19954
19961
  };
19955
19962
  //#endregion
19956
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js
19963
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/campaign/campaign-parser.js
19957
19964
  Xx();
19958
19965
  var QC = function() {
19959
19966
  function e() {}
@@ -19988,7 +19995,7 @@ var QC = function() {
19988
19995
  }, e;
19989
19996
  }();
19990
19997
  //#endregion
19991
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js
19998
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/plugins/helpers.js
19992
19999
  Xx();
19993
20000
  var $C = "data-amp-mask", ew = "*****", Fue = /\b(?:\d[ -]*?){13,16}\b/, Iue = /(\d{3}-?\d{2}-?\d{4})/g, Lue = /[^\s@]+@[^\s@.]+\.[^\s@]+/g, tw = function(e, t) {
19994
20001
  var n, r;
@@ -20354,7 +20361,7 @@ var $C = "data-amp-mask", ew = "*****", Fue = /\b(?:\d[ -]*?){13,16}\b/, Iue = /
20354
20361
  t.exports = Rue().Observable;
20355
20362
  }));
20356
20363
  //#endregion
20357
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js
20364
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js
20358
20365
  Xx();
20359
20366
  var rw = /* @__PURE__ */ _t(zue());
20360
20367
  function iw(e, t) {
@@ -20484,7 +20491,7 @@ function ow(e) {
20484
20491
  });
20485
20492
  }
20486
20493
  //#endregion
20487
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js
20494
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/constants.js
20488
20495
  var sw = "https://app.amplitude.com", Bue = {
20489
20496
  US: sw,
20490
20497
  EU: "https://app.eu.amplitude.com",
@@ -20513,7 +20520,7 @@ function Uue() {
20513
20520
  return `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
20514
20521
  }
20515
20522
  //#endregion
20516
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js
20523
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/base-window-messenger.js
20517
20524
  Xx();
20518
20525
  var cw, lw = "__AMPLITUDE_MESSENGER_INSTANCE__", uw = "__AMPLITUDE_MESSENGER__", Wue = function() {
20519
20526
  function e(e) {
@@ -20627,7 +20634,7 @@ function Kue(e) {
20627
20634
  return t && (t[uw] = r), r;
20628
20635
  }
20629
20636
  //#endregion
20630
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js
20637
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/messenger/background-capture.js
20631
20638
  var dw = "__AMPLITUDE_BACKGROUND_CAPTURE__";
20632
20639
  function que(e, t) {
20633
20640
  var n = e;
@@ -20661,13 +20668,13 @@ function que(e, t) {
20661
20668
  }
20662
20669
  }
20663
20670
  //#endregion
20664
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js
20671
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/types/config/browser-config.js
20665
20672
  var fw = {
20666
20673
  always: "always",
20667
20674
  ifEmptyCampaign: "ifEmptyCampaign"
20668
20675
  };
20669
20676
  //#endregion
20670
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/utils/environment.js
20677
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/utils/environment.js
20671
20678
  function Jue() {
20672
20679
  return typeof BS()?.chrome?.runtime?.id == "string";
20673
20680
  }
@@ -20675,7 +20682,7 @@ function Yue() {
20675
20682
  return BS()?.navigator?.product === "ReactNative";
20676
20683
  }
20677
20684
  //#endregion
20678
- //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.56.0/node_modules/@amplitude/analytics-core/lib/esm/config/joined-config.js
20685
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.57.0/node_modules/@amplitude/analytics-core/lib/esm/config/joined-config.js
20679
20686
  Xx();
20680
20687
  function pw(e, t, n) {
20681
20688
  var r, i, a = [];
@@ -20776,6 +20783,7 @@ function mw(e) {
20776
20783
  }
20777
20784
  }
20778
20785
  } catch {}
20786
+ e.autocapture?.pageViews !== void 0 && (e.autocapture.screenViews = e.autocapture.pageViews);
20779
20787
  var x = e.autocapture?.frustrationInteractions;
20780
20788
  x && (x.rageClick && (x.rageClicks = x.rageClick, delete x.rageClick), x.deadClick && (x.deadClicks = x.deadClick, delete x.deadClick));
20781
20789
  try {
@@ -20788,7 +20796,7 @@ function mw(e) {
20788
20796
  }
20789
20797
  }
20790
20798
  //#endregion
20791
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js
20799
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/default-tracking.js
20792
20800
  Xx();
20793
20801
  var hw = function(e, t) {
20794
20802
  return typeof e == "boolean" ? e : e?.[t] === !1 ? !1 : !Jue() || !!e?.[t];
@@ -20877,10 +20885,10 @@ function pde() {
20877
20885
  return lde(e) ? t ? "chrome_extension_service_worker" : "service_worker" : ude(e) ? "web_worker" : dde(e) ? t ? "chrome_extension" : "browser" : fde(e) ? "node" : "unknown";
20878
20886
  }
20879
20887
  //#endregion
20880
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/version.js
20881
- var Ew = "2.45.10", Dw = "amplitude-ts";
20888
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/version.js
20889
+ var Ew = "2.46.0", Dw = "amplitude-ts";
20882
20890
  //#endregion
20883
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js
20891
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/plugins/context.js
20884
20892
  Xx();
20885
20893
  var mde = "$remote", hde = function() {
20886
20894
  function e() {
@@ -20915,7 +20923,7 @@ var mde = "$remote", hde = function() {
20915
20923
  }, e;
20916
20924
  }();
20917
20925
  //#endregion
20918
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js
20926
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/storage/local-storage.js
20919
20927
  Xx();
20920
20928
  var Ow = 1e3, kw = function(e) {
20921
20929
  Wx(t, e);
@@ -20945,7 +20953,7 @@ var Ow = 1e3, kw = function(e) {
20945
20953
  }, t;
20946
20954
  }(CC);
20947
20955
  //#endregion
20948
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js
20956
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/storage/session-storage.js
20949
20957
  Xx();
20950
20958
  var gde = function(e) {
20951
20959
  Wx(t, e);
@@ -20955,7 +20963,7 @@ var gde = function(e) {
20955
20963
  return t;
20956
20964
  }(CC);
20957
20965
  //#endregion
20958
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js
20966
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/transports/xhr.js
20959
20967
  Xx();
20960
20968
  var _de = function(e) {
20961
20969
  Wx(t, e);
@@ -21023,7 +21031,7 @@ var _de = function(e) {
21023
21031
  }, t;
21024
21032
  }(kC);
21025
21033
  //#endregion
21026
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js
21034
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/transports/fetch.js
21027
21035
  Xx();
21028
21036
  var vde = function(e) {
21029
21037
  Wx(t, e);
@@ -21065,7 +21073,7 @@ var vde = function(e) {
21065
21073
  }, t;
21066
21074
  }(kC);
21067
21075
  //#endregion
21068
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js
21076
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/transports/send-beacon.js
21069
21077
  Xx();
21070
21078
  var yde = function(e) {
21071
21079
  Wx(t, e);
@@ -21097,7 +21105,7 @@ var yde = function(e) {
21097
21105
  }, t;
21098
21106
  }(kC);
21099
21107
  //#endregion
21100
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js
21108
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/cookie-migration/index.js
21101
21109
  Xx();
21102
21110
  var bde = function(e, t, n) {
21103
21111
  return n === void 0 && (n = !0), q(void 0, void 0, void 0, function() {
@@ -21131,7 +21139,7 @@ var bde = function(e, t, n) {
21131
21139
  `${jw}`;
21132
21140
  var Mw = `${jw} Form Started`, Sde = `${jw} Form Submitted`, Cde = `${jw} File Downloaded`, wde = "session_start", Tde = "session_end", Ede = `${jw} File Extension`, Dde = `${jw} File Name`, Ode = `${jw} Link ID`, kde = `${jw} Link Text`, Ade = `${jw} Link URL`, Nw = `${jw} Form ID`, Pw = `${jw} Form Name`, Fw = `${jw} Form Destination`, Iw = "cookie";
21133
21141
  //#endregion
21134
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js
21142
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/attribution/helpers.js
21135
21143
  Xx();
21136
21144
  var Lw = function(e) {
21137
21145
  var t = e.split(".");
@@ -21203,7 +21211,7 @@ var Rw = /* @__PURE__ */ "ac.in,ac.jp,ac.kr,ac.th,ac.uk,ac.za,appspot.com,asn.au
21203
21211
  return n ? Fde(e, (t || "").trim() || zw(n.location.hostname)) : !1;
21204
21212
  };
21205
21213
  //#endregion
21206
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/config.js
21214
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/config.js
21207
21215
  Xx();
21208
21216
  var Vde = function(e) {
21209
21217
  Wx(t, e);
@@ -21406,7 +21414,7 @@ var Vde = function(e) {
21406
21414
  });
21407
21415
  };
21408
21416
  //#endregion
21409
- //#region ../../node_modules/.pnpm/@amplitude+plugin-page-view-tracking-browser@2.11.15/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js
21417
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-page-view-tracking-browser@2.11.16/node_modules/@amplitude/plugin-page-view-tracking-browser/lib/esm/page-view-tracking.js
21410
21418
  Xx();
21411
21419
  var Kde = "[Amplitude] Page Viewed", Vw = "AMP_PAGE_VIEW", Hw = function(e) {
21412
21420
  e === void 0 && (e = {});
@@ -21539,7 +21547,7 @@ var Kde = "[Amplitude] Page Viewed", Vw = "AMP_PAGE_VIEW", Hw = function(e) {
21539
21547
  }
21540
21548
  };
21541
21549
  //#endregion
21542
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js
21550
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/plugins/form-interaction-tracking.js
21543
21551
  Xx();
21544
21552
  var Xde = function() {
21545
21553
  var e, t = [], n = function(e, n, r) {
@@ -21635,7 +21643,7 @@ var Xde = function() {
21635
21643
  return t;
21636
21644
  };
21637
21645
  //#endregion
21638
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js
21646
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/plugins/file-download-tracking.js
21639
21647
  Xx();
21640
21648
  var Zde = function() {
21641
21649
  var e, t = [], n = function(e, n, r) {
@@ -21718,7 +21726,7 @@ var Zde = function() {
21718
21726
  Gw || e.defaultTracking !== void 0 || (e.loggerProvider.warn("`options.defaultTracking` is set to undefined. This implicitly configures your Amplitude instance to track Page Views, Sessions, File Downloads, and Form Interactions. You can suppress this warning by explicitly setting a value to `options.defaultTracking`. The value must either be a boolean, to enable and disable all default events, or an object, for advanced configuration. For example:\n\namplitude.init(<YOUR_API_KEY>, {\n defaultTracking: true,\n});\n\nVisit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details."), Gw = !0);
21719
21727
  };
21720
21728
  //#endregion
21721
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js
21729
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/plugins/network-connectivity-checker.js
21722
21730
  Xx();
21723
21731
  var $de = function() {
21724
21732
  var e = "@amplitude/plugin-network-checker-browser", t = "before", n = BS(), r = [], i = function(e, t) {
@@ -21760,7 +21768,7 @@ var $de = function() {
21760
21768
  };
21761
21769
  };
21762
21770
  //#endregion
21763
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js
21771
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/config/joined-config.js
21764
21772
  Xx();
21765
21773
  function efe(e, t) {
21766
21774
  if (e) {
@@ -21797,8 +21805,8 @@ function efe(e, t) {
21797
21805
  }
21798
21806
  }
21799
21807
  //#endregion
21800
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js
21801
- var tfe = "1.29.1", nfe = "@amplitude/plugin-autocapture-browser", rfe = "@amplitude/plugin-frustration-browser", ife = "@amplitude/plugin-performance-browser", afe = "[Amplitude] Dead Click", ofe = "[Amplitude] Rage Click", sfe = "[Amplitude] Error Click", cfe = "[Amplitude] Thrashed Cursor", lfe = "[Amplitude] Main Thread Block", ufe = "[Amplitude] Element ID", dfe = "[Amplitude] Element Class", Kw = "[Amplitude] Element Tag", qw = "[Amplitude] Element Text", ffe = "[Amplitude] Element Hierarchy", pfe = "[Amplitude] Element Href", mfe = "[Amplitude] Element Position Left", hfe = "[Amplitude] Element Position Top", gfe = "[Amplitude] Element Aria Label", _fe = "[Amplitude] Element Attributes", vfe = "[Amplitude] Element Path", yfe = "[Amplitude] Element Parent Label", Jw = "[Amplitude] Page URL", bfe = "[Amplitude] Page Title", Yw = "[Amplitude] Viewport Height", Xw = "[Amplitude] Viewport Width", xfe = "[Amplitude] Max Page X", Sfe = "[Amplitude] Max Page Y", Zw = "[Amplitude] Page View ID", Cfe = "https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz", wfe = "amp-visual-tagging-selector-highlight", Qw = "data-amp-mask-attributes", $w = "data-amp-internal-shadow", Tfe = "AMP_PAGE_VIEW", Efe = .5, Dfe = 4e3;
21808
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/version.js
21809
+ var tfe = "1.29.2", nfe = "@amplitude/plugin-autocapture-browser", rfe = "@amplitude/plugin-frustration-browser", ife = "@amplitude/plugin-performance-browser", afe = "[Amplitude] Dead Click", ofe = "[Amplitude] Rage Click", sfe = "[Amplitude] Error Click", cfe = "[Amplitude] Thrashed Cursor", lfe = "[Amplitude] Main Thread Block", ufe = "[Amplitude] Element ID", dfe = "[Amplitude] Element Class", Kw = "[Amplitude] Element Tag", qw = "[Amplitude] Element Text", ffe = "[Amplitude] Element Hierarchy", pfe = "[Amplitude] Element Href", mfe = "[Amplitude] Element Position Left", hfe = "[Amplitude] Element Position Top", gfe = "[Amplitude] Element Aria Label", _fe = "[Amplitude] Element Attributes", vfe = "[Amplitude] Element Path", yfe = "[Amplitude] Element Parent Label", Jw = "[Amplitude] Page URL", bfe = "[Amplitude] Page Title", Yw = "[Amplitude] Viewport Height", Xw = "[Amplitude] Viewport Width", xfe = "[Amplitude] Max Page X", Sfe = "[Amplitude] Max Page Y", Zw = "[Amplitude] Page View ID", Cfe = "https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz", wfe = "amp-visual-tagging-selector-highlight", Qw = "data-amp-mask-attributes", $w = "data-amp-internal-shadow", Tfe = "AMP_PAGE_VIEW", Efe = .5, Dfe = 4e3;
21802
21810
  //#endregion
21803
21811
  //#region ../../node_modules/.pnpm/@amplitude+element-selector@0.3.0/node_modules/@amplitude/element-selector/lib/esm/patterns/autogenerated-ids.js
21804
21812
  Xx();
@@ -22320,7 +22328,7 @@ function Qfe(e, t) {
22320
22328
  };
22321
22329
  }
22322
22330
  //#endregion
22323
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/shadow-mode.js
22331
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/shadow-mode.js
22324
22332
  Xx();
22325
22333
  var $fe = 1, yT = Object.freeze({
22326
22334
  enabled: !1,
@@ -22376,7 +22384,7 @@ var $fe = 1, yT = Object.freeze({
22376
22384
  return bT ||= tpe(), bT;
22377
22385
  };
22378
22386
  //#endregion
22379
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js
22387
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/helpers.js
22380
22388
  Xx();
22381
22389
  var rpe = [
22382
22390
  "input",
@@ -22532,7 +22540,7 @@ var MT;
22532
22540
  e[e.LEFT_OR_TOUCH_CONTACT = 0] = "LEFT_OR_TOUCH_CONTACT", e[e.MIDDLE = 1] = "MIDDLE", e[e.RIGHT = 2] = "RIGHT";
22533
22541
  })(MT ||= {});
22534
22542
  //#endregion
22535
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js
22543
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/libs/messenger.js
22536
22544
  /* istanbul ignore file */
22537
22545
  var NT = "__AMPLITUDE_VISUAL_TAGGING__";
22538
22546
  function mpe(e, t) {
@@ -22581,7 +22589,7 @@ function mpe(e, t) {
22581
22589
  }
22582
22590
  }
22583
22591
  //#endregion
22584
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js
22592
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-click.js
22585
22593
  function hpe(e) {
22586
22594
  var t = e.amplitude, n = e.allObservables, r = e.shouldTrackEvent, i = e.evaluateTriggers;
22587
22595
  return n.clickObservable.filter(kT).filter(function(e) {
@@ -22594,7 +22602,7 @@ function hpe(e) {
22594
22602
  });
22595
22603
  }
22596
22604
  //#endregion
22597
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js
22605
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-change.js
22598
22606
  function gpe(e) {
22599
22607
  var t = e.amplitude, n = e.allObservables, r = e.getEventProperties, i = e.shouldTrackEvent, a = e.evaluateTriggers;
22600
22608
  return n.changeObservable.filter(kT).filter(function(e) {
@@ -22607,7 +22615,7 @@ function gpe(e) {
22607
22615
  });
22608
22616
  }
22609
22617
  //#endregion
22610
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js
22618
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-action-click.js
22611
22619
  function _pe(e) {
22612
22620
  var t = e.amplitude, n = e.allObservables, r = e.options, i = e.getEventProperties, a = e.shouldTrackEvent, o = e.shouldTrackActionClick, s = n.clickObservable, c = n.mutationObservable, l = n.navigateObservable, u = aw(s.filter(function(e) {
22613
22621
  return !a("click", e.closestTrackedAncestor);
@@ -22630,7 +22638,7 @@ function _pe(e) {
22630
22638
  });
22631
22639
  }
22632
22640
  //#endregion
22633
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js
22641
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-scroll.js
22634
22642
  function vpe(e) {
22635
22643
  e.amplitude;
22636
22644
  var t = e.allObservables.scrollObservable, n = {
@@ -22653,7 +22661,7 @@ function vpe(e) {
22653
22661
  };
22654
22662
  }
22655
22663
  //#endregion
22656
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js
22664
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js
22657
22665
  Xx();
22658
22666
  var PT = BS(), FT = function(e) {
22659
22667
  return e.get();
@@ -22893,7 +22901,7 @@ var PT = BS(), FT = function(e) {
22893
22901
  });
22894
22902
  };
22895
22903
  //#endregion
22896
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js
22904
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/pageActions/triggers.js
22897
22905
  Xx();
22898
22906
  var RT = {
22899
22907
  "[Amplitude] Element Clicked": "click",
@@ -23038,7 +23046,7 @@ var RT = {
23038
23046
  return new Mpe(e, t, n, r);
23039
23047
  };
23040
23048
  //#endregion
23041
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js
23049
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/hierarchy.js
23042
23050
  Xx();
23043
23051
  var Ppe = /* @__PURE__ */ new Set([
23044
23052
  "id",
@@ -23137,7 +23145,7 @@ function Vpe(e, t) {
23137
23145
  return i;
23138
23146
  }
23139
23147
  //#endregion
23140
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js
23148
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/data-extractor.js
23141
23149
  Xx();
23142
23150
  var Hpe = function(e) {
23143
23151
  return e.closest(`[${$C}]`) !== null;
@@ -23331,7 +23339,7 @@ function WT(e, t) {
23331
23339
  }
23332
23340
  }
23333
23341
  //#endregion
23334
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js
23342
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-exposure.js
23335
23343
  var GT = 1, Kpe = function(e) {
23336
23344
  return e.assignedSlot || e.parentElement || e.parentNode?.host || null;
23337
23345
  }, KT = function(e, t) {
@@ -23385,7 +23393,7 @@ function Jpe(e) {
23385
23393
  };
23386
23394
  }
23387
23395
  //#endregion
23388
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js
23396
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-viewport-content-updated.js
23389
23397
  function Ype(e) {
23390
23398
  var t, n = e.amplitude, r = e.scrollTracker, i = e.currentElementExposed, a = e.elementExposedForPage, o = e.elementExposedInSentEvents, s = e.exposureTracker, c = e.isPageEnd, l = e.lastScroll, u = r.getState(), d = BS(), f = d?.innerWidth ?? 0, p = d?.innerHeight ?? 0, m = Array.from(i).filter(function(e) {
23391
23399
  return !o.has(e);
@@ -23412,7 +23420,7 @@ function Xpe(e, t, n, r, i) {
23412
23420
  }
23413
23421
  }
23414
23422
  //#endregion
23415
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/schedule-initial-exposure-snapshot.js
23423
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/schedule-initial-exposure-snapshot.js
23416
23424
  function Zpe(e) {
23417
23425
  var t = e.mutationObservable, n = e.onRescan, r = e.onFlush, i = e.exposureDuration, a = e.quietMs, o = a === void 0 ? 150 : a, s = e.maxWaitMs, c = s === void 0 ? Dfe : s, l = !1, u, d, f, p, m, h = function() {
23418
23426
  u &&= (clearTimeout(u), void 0), d &&= (clearTimeout(d), void 0), f &&= (clearTimeout(f), void 0);
@@ -23452,14 +23460,14 @@ function Zpe(e) {
23452
23460
  };
23453
23461
  }
23454
23462
  //#endregion
23455
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js
23463
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js
23456
23464
  Xx();
23457
23465
  var qT;
23458
23466
  (function(e) {
23459
23467
  e.ClickObservable = "clickObservable", e.PointerDownObservable = "pointerDownObservable", e.ChangeObservable = "changeObservable", e.NavigateObservable = "navigateObservable", e.MutationObservable = "mutationObservable", e.ScrollObservable = "scrollObservable", e.ExposureObservable = "exposureObservable", e.BrowserErrorObservable = "browserErrorObservable", e.SelectionObservable = "selectionObservable", e.MouseMoveObservable = "mouseMoveObservable";
23460
23468
  })(qT ||= {});
23461
23469
  var Qpe = function(e, t) {
23462
- e === void 0 && (e = {}), t?.diagnosticsClient.setTag("plugin.autocapture.version", "1.29.1");
23470
+ e === void 0 && (e = {}), t?.diagnosticsClient.setTag("plugin.autocapture.version", "1.29.2");
23463
23471
  var n = e.dataAttributePrefix, r = n === void 0 ? RC : n, i = e.visualTaggingOptions, a = i === void 0 ? { enabled: !0 } : i;
23464
23472
  e.cssSelectorAllowlist = e.cssSelectorAllowlist ?? yue, e.actionClickAllowlist = e.actionClickAllowlist ?? bue, e.debounceTime = e.debounceTime ?? 0;
23465
23473
  var o = e.viewportContentUpdated?.enabled !== !1, s = e.viewportContentUpdated?.exposureDuration ?? e.exposureDuration ?? 150;
@@ -23650,7 +23658,7 @@ var Qpe = function(e, t) {
23650
23658
  };
23651
23659
  };
23652
23660
  //#endregion
23653
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js
23661
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-dead-click.js
23654
23662
  Xx();
23655
23663
  var $pe = 3e3, eme = ["mutation", "navigate"];
23656
23664
  function tme(e) {
@@ -23674,7 +23682,7 @@ function tme(e) {
23674
23682
  });
23675
23683
  }
23676
23684
  //#endregion
23677
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js
23685
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-rage-click.js
23678
23686
  Xx();
23679
23687
  var JT = 4, YT = wue, XT = 50;
23680
23688
  function ZT(e, t) {
@@ -23741,7 +23749,7 @@ function ime(e) {
23741
23749
  } };
23742
23750
  }
23743
23751
  //#endregion
23744
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js
23752
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-error-click.js
23745
23753
  Xx();
23746
23754
  var ame = 2e3;
23747
23755
  function ome(e) {
@@ -23760,7 +23768,7 @@ function ome(e) {
23760
23768
  });
23761
23769
  }
23762
23770
  //#endregion
23763
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js
23771
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js
23764
23772
  var $T;
23765
23773
  (function(e) {
23766
23774
  e.INCREASING = "increasing", e.DECREASING = "decreasing";
@@ -23849,7 +23857,7 @@ var iE = 20, aE = 2e3, ume = function(e) {
23849
23857
  });
23850
23858
  };
23851
23859
  //#endregion
23852
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js
23860
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js
23853
23861
  Xx();
23854
23862
  function oE(e, t, n, r) {
23855
23863
  if (!r) return [];
@@ -23964,7 +23972,7 @@ var sE = 5, cE = 4e3, fme = function(e) {
23964
23972
  };
23965
23973
  };
23966
23974
  //#endregion
23967
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-long-task.js
23975
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-long-task.js
23968
23976
  Xx();
23969
23977
  var pme = 100, mme = 1e4;
23970
23978
  function lE(e, t) {
@@ -24077,7 +24085,7 @@ function vme(e) {
24077
24085
  } };
24078
24086
  }
24079
24087
  //#endregion
24080
- //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.1/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/performance-plugin.js
24088
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-autocapture-browser@1.29.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/performance-plugin.js
24081
24089
  Xx();
24082
24090
  var yme = 100, bme = function(e) {
24083
24091
  e === void 0 && (e = {});
@@ -24126,7 +24134,7 @@ var yme = 100, bme = function(e) {
24126
24134
  };
24127
24135
  }, xme = "@amplitude/plugin-network-capture-browser";
24128
24136
  //#endregion
24129
- //#region ../../node_modules/.pnpm/@amplitude+plugin-network-capture-browser@1.10.15/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js
24137
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-network-capture-browser@1.10.16/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/track-network-event.js
24130
24138
  Xx();
24131
24139
  var uE = "500-599";
24132
24140
  function dE(e, t) {
@@ -24283,7 +24291,7 @@ function Dme(e) {
24283
24291
  });
24284
24292
  }
24285
24293
  //#endregion
24286
- //#region ../../node_modules/.pnpm/@amplitude+plugin-network-capture-browser@1.10.15/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js
24294
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-network-capture-browser@1.10.16/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js
24287
24295
  Xx();
24288
24296
  var gE;
24289
24297
  (function(e) {
@@ -24552,7 +24560,7 @@ var jme = class {
24552
24560
  }));
24553
24561
  };
24554
24562
  //#endregion
24555
- //#region ../../node_modules/.pnpm/@amplitude+plugin-web-vitals-browser@1.1.47/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js
24563
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-web-vitals-browser@1.1.48/node_modules/@amplitude/plugin-web-vitals-browser/lib/esm/web-vitals-plugin.js
24556
24564
  Xx();
24557
24565
  function Bme(e) {
24558
24566
  var t = e.entries[0]?.startTime || 0;
@@ -24625,7 +24633,7 @@ var XE = function() {
24625
24633
  };
24626
24634
  };
24627
24635
  //#endregion
24628
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js
24636
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/attribution/web-attribution.js
24629
24637
  Xx();
24630
24638
  var ZE = function() {
24631
24639
  function e(e, t) {
@@ -24670,7 +24678,7 @@ var ZE = function() {
24670
24678
  }, e;
24671
24679
  }();
24672
24680
  //#endregion
24673
- //#region ../../node_modules/.pnpm/@amplitude+plugin-event-property-attribution-browser@0.2.15/node_modules/@amplitude/plugin-event-property-attribution-browser/lib/esm/event-property-tracking.js
24681
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-event-property-attribution-browser@0.2.16/node_modules/@amplitude/plugin-event-property-attribution-browser/lib/esm/event-property-tracking.js
24674
24682
  Xx();
24675
24683
  var QE = "[Amplitude] Attribution", $E = /* @__PURE__ */ new Set([Qx.IDENTIFY, Qx.GROUP_IDENTIFY]), eD = function(e) {
24676
24684
  return _C(e);
@@ -24731,7 +24739,7 @@ var QE = "[Amplitude] Attribution", $E = /* @__PURE__ */ new Set([Qx.IDENTIFY, Q
24731
24739
  };
24732
24740
  };
24733
24741
  //#endregion
24734
- //#region ../../node_modules/.pnpm/@amplitude+plugin-page-url-enrichment-browser@0.7.25/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js
24742
+ //#region ../../node_modules/.pnpm/@amplitude+plugin-page-url-enrichment-browser@0.7.26/node_modules/@amplitude/plugin-page-url-enrichment-browser/lib/esm/page-url-enrichment.js
24735
24743
  Xx();
24736
24744
  var nD = "AMP_CURRENT_PAGE", rD = "AMP_PREVIOUS_PAGE", iD = "AMP_URL_INFO", aD;
24737
24745
  (function(e) {
@@ -24913,7 +24921,7 @@ var lD = function() {
24913
24921
  };
24914
24922
  };
24915
24923
  //#endregion
24916
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/attribution/tracking-methods.js
24924
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/attribution/tracking-methods.js
24917
24925
  Xx();
24918
24926
  var uD = "userProperty", dD = "eventProperty", fD = function(e) {
24919
24927
  return e === "userProperty" || e === "eventProperty";
@@ -24928,7 +24936,7 @@ var uD = "userProperty", dD = "eventProperty", fD = function(e) {
24928
24936
  return hD(e, dD);
24929
24937
  };
24930
24938
  //#endregion
24931
- //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.45.10/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js
24939
+ //#region ../../node_modules/.pnpm/@amplitude+analytics-browser@2.46.0/node_modules/@amplitude/analytics-browser/lib/esm/browser-client.js
24932
24940
  Xx();
24933
24941
  var vD = -1, yD = function(e) {
24934
24942
  Wx(t, e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.686",
3
+ "version": "0.1.688",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [