@avaturn-live/web-sdk 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
- var ea = Object.defineProperty;
2
- var ta = (t, e, n) => e in t ? ea(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var H = (t, e, n) => ta(t, typeof e != "symbol" ? e + "" : e, n);
4
- function Gr(t, e) {
1
+ var ta = Object.defineProperty;
2
+ var na = (t, e, n) => e in t ? ta(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var H = (t, e, n) => na(t, typeof e != "symbol" ? e + "" : e, n);
4
+ function Hr(t, e) {
5
5
  if (t == null) return {};
6
6
  var n, r, i = function(a, c) {
7
7
  if (a == null) return {};
@@ -25,7 +25,7 @@ function U(t) {
25
25
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
26
26
  }, U(t);
27
27
  }
28
- function js(t) {
28
+ function Is(t) {
29
29
  var e = function(n, r) {
30
30
  if (U(n) !== "object" || n === null) return n;
31
31
  var i = n[Symbol.toPrimitive];
@@ -38,14 +38,14 @@ function js(t) {
38
38
  }(t, "string");
39
39
  return U(e) === "symbol" ? e : String(e);
40
40
  }
41
- function Hr(t, e) {
41
+ function zr(t, e) {
42
42
  for (var n = 0; n < e.length; n++) {
43
43
  var r = e[n];
44
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, js(r.key), r);
44
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Is(r.key), r);
45
45
  }
46
46
  }
47
47
  function fe(t, e, n) {
48
- return e && Hr(t.prototype, e), n && Hr(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
48
+ return e && zr(t.prototype, e), n && zr(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
49
49
  }
50
50
  function Se(t) {
51
51
  if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -71,9 +71,9 @@ function de(t) {
71
71
  }, de(t);
72
72
  }
73
73
  function Ae(t, e, n) {
74
- return (e = js(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
74
+ return (e = Is(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
75
75
  }
76
- function zr(t, e, n, r, i, s, a) {
76
+ function Wr(t, e, n, r, i, s, a) {
77
77
  try {
78
78
  var c = t[s](a), l = c.value;
79
79
  } catch (p) {
@@ -87,16 +87,16 @@ function O(t) {
87
87
  return new Promise(function(r, i) {
88
88
  var s = t.apply(e, n);
89
89
  function a(l) {
90
- zr(s, r, i, a, c, "next", l);
90
+ Wr(s, r, i, a, c, "next", l);
91
91
  }
92
92
  function c(l) {
93
- zr(s, r, i, a, c, "throw", l);
93
+ Wr(s, r, i, a, c, "throw", l);
94
94
  }
95
95
  a(void 0);
96
96
  });
97
97
  };
98
98
  }
99
- function Wr(t, e) {
99
+ function Yr(t, e) {
100
100
  (e == null || e > t.length) && (e = t.length);
101
101
  for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
102
102
  return r;
@@ -126,34 +126,34 @@ function $e(t, e) {
126
126
  }
127
127
  }(t, e) || function(n, r) {
128
128
  if (n) {
129
- if (typeof n == "string") return Wr(n, r);
129
+ if (typeof n == "string") return Yr(n, r);
130
130
  var i = Object.prototype.toString.call(n).slice(8, -1);
131
- return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? Wr(n, r) : void 0;
131
+ return i === "Object" && n.constructor && (i = n.constructor.name), i === "Map" || i === "Set" ? Array.from(n) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? Yr(n, r) : void 0;
132
132
  }
133
133
  }(t, e) || function() {
134
134
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
135
135
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
136
136
  }();
137
137
  }
138
- var Is, Ee = {}, na = { get exports() {
138
+ var Bs, Ee = {}, ra = { get exports() {
139
139
  return Ee;
140
140
  }, set exports(t) {
141
141
  Ee = t;
142
- } }, Ze = typeof Reflect == "object" ? Reflect : null, Yr = Ze && typeof Ze.apply == "function" ? Ze.apply : function(t, e, n) {
142
+ } }, Ze = typeof Reflect == "object" ? Reflect : null, Kr = Ze && typeof Ze.apply == "function" ? Ze.apply : function(t, e, n) {
143
143
  return Function.prototype.apply.call(t, e, n);
144
144
  };
145
- Is = Ze && typeof Ze.ownKeys == "function" ? Ze.ownKeys : Object.getOwnPropertySymbols ? function(t) {
145
+ Bs = Ze && typeof Ze.ownKeys == "function" ? Ze.ownKeys : Object.getOwnPropertySymbols ? function(t) {
146
146
  return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t));
147
147
  } : function(t) {
148
148
  return Object.getOwnPropertyNames(t);
149
149
  };
150
- var Kr = Number.isNaN || function(t) {
150
+ var Qr = Number.isNaN || function(t) {
151
151
  return t != t;
152
152
  };
153
153
  function j() {
154
154
  j.init.call(this);
155
155
  }
156
- na.exports = j, Ee.once = function(t, e) {
156
+ ra.exports = j, Ee.once = function(t, e) {
157
157
  return new Promise(function(n, r) {
158
158
  function i(a) {
159
159
  t.removeListener(e, s), r(a);
@@ -161,45 +161,45 @@ na.exports = j, Ee.once = function(t, e) {
161
161
  function s() {
162
162
  typeof t.removeListener == "function" && t.removeListener("error", i), n([].slice.call(arguments));
163
163
  }
164
- ni(t, e, s, { once: !0 }), e !== "error" && function(a, c, l) {
165
- typeof a.on == "function" && ni(a, "error", c, l);
164
+ ri(t, e, s, { once: !0 }), e !== "error" && function(a, c, l) {
165
+ typeof a.on == "function" && ri(a, "error", c, l);
166
166
  }(t, i, { once: !0 });
167
167
  });
168
168
  }, j.EventEmitter = j, j.prototype._events = void 0, j.prototype._eventsCount = 0, j.prototype._maxListeners = void 0;
169
- var Qr = 10;
169
+ var Xr = 10;
170
170
  function zt(t) {
171
171
  if (typeof t != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof t);
172
172
  }
173
- function Bs(t) {
173
+ function Fs(t) {
174
174
  return t._maxListeners === void 0 ? j.defaultMaxListeners : t._maxListeners;
175
175
  }
176
- function Xr(t, e, n, r) {
176
+ function Zr(t, e, n, r) {
177
177
  var i, s, a, c;
178
178
  if (zt(n), (s = t._events) === void 0 ? (s = t._events = /* @__PURE__ */ Object.create(null), t._eventsCount = 0) : (s.newListener !== void 0 && (t.emit("newListener", e, n.listener ? n.listener : n), s = t._events), a = s[e]), a === void 0) a = s[e] = n, ++t._eventsCount;
179
- else if (typeof a == "function" ? a = s[e] = r ? [n, a] : [a, n] : r ? a.unshift(n) : a.push(n), (i = Bs(t)) > 0 && a.length > i && !a.warned) {
179
+ else if (typeof a == "function" ? a = s[e] = r ? [n, a] : [a, n] : r ? a.unshift(n) : a.push(n), (i = Fs(t)) > 0 && a.length > i && !a.warned) {
180
180
  a.warned = !0;
181
181
  var l = new Error("Possible EventEmitter memory leak detected. " + a.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
182
182
  l.name = "MaxListenersExceededWarning", l.emitter = t, l.type = e, l.count = a.length, c = l, console && console.warn && console.warn(c);
183
183
  }
184
184
  return t;
185
185
  }
186
- function ra() {
186
+ function ia() {
187
187
  if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
188
188
  }
189
- function Zr(t, e, n) {
190
- var r = { fired: !1, wrapFn: void 0, target: t, type: e, listener: n }, i = ra.bind(r);
189
+ function ei(t, e, n) {
190
+ var r = { fired: !1, wrapFn: void 0, target: t, type: e, listener: n }, i = ia.bind(r);
191
191
  return i.listener = n, r.wrapFn = i, i;
192
192
  }
193
- function ei(t, e, n) {
193
+ function ti(t, e, n) {
194
194
  var r = t._events;
195
195
  if (r === void 0) return [];
196
196
  var i = r[e];
197
197
  return i === void 0 ? [] : typeof i == "function" ? n ? [i.listener || i] : [i] : n ? function(s) {
198
198
  for (var a = new Array(s.length), c = 0; c < a.length; ++c) a[c] = s[c].listener || s[c];
199
199
  return a;
200
- }(i) : Fs(i, i.length);
200
+ }(i) : Us(i, i.length);
201
201
  }
202
- function ti(t) {
202
+ function ni(t) {
203
203
  var e = this._events;
204
204
  if (e !== void 0) {
205
205
  var n = e[t];
@@ -208,11 +208,11 @@ function ti(t) {
208
208
  }
209
209
  return 0;
210
210
  }
211
- function Fs(t, e) {
211
+ function Us(t, e) {
212
212
  for (var n = new Array(e), r = 0; r < e; ++r) n[r] = t[r];
213
213
  return n;
214
214
  }
215
- function ni(t, e, n, r) {
215
+ function ri(t, e, n, r) {
216
216
  if (typeof t.on == "function") r.once ? t.once(e, n) : t.on(e, n);
217
217
  else {
218
218
  if (typeof t.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof t);
@@ -222,17 +222,17 @@ function ni(t, e, n, r) {
222
222
  }
223
223
  }
224
224
  Object.defineProperty(j, "defaultMaxListeners", { enumerable: !0, get: function() {
225
- return Qr;
225
+ return Xr;
226
226
  }, set: function(t) {
227
- if (typeof t != "number" || t < 0 || Kr(t)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + t + ".");
228
- Qr = t;
227
+ if (typeof t != "number" || t < 0 || Qr(t)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + t + ".");
228
+ Xr = t;
229
229
  } }), j.init = function() {
230
230
  this._events !== void 0 && this._events !== Object.getPrototypeOf(this)._events || (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
231
231
  }, j.prototype.setMaxListeners = function(t) {
232
- if (typeof t != "number" || t < 0 || Kr(t)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + t + ".");
232
+ if (typeof t != "number" || t < 0 || Qr(t)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + t + ".");
233
233
  return this._maxListeners = t, this;
234
234
  }, j.prototype.getMaxListeners = function() {
235
- return Bs(this);
235
+ return Fs(this);
236
236
  }, j.prototype.emit = function(t) {
237
237
  for (var e = [], n = 1; n < arguments.length; n++) e.push(arguments[n]);
238
238
  var r = t === "error", i = this._events;
@@ -246,20 +246,20 @@ Object.defineProperty(j, "defaultMaxListeners", { enumerable: !0, get: function(
246
246
  }
247
247
  var c = i[t];
248
248
  if (c === void 0) return !1;
249
- if (typeof c == "function") Yr(c, this, e);
249
+ if (typeof c == "function") Kr(c, this, e);
250
250
  else {
251
- var l = c.length, p = Fs(c, l);
252
- for (n = 0; n < l; ++n) Yr(p[n], this, e);
251
+ var l = c.length, p = Us(c, l);
252
+ for (n = 0; n < l; ++n) Kr(p[n], this, e);
253
253
  }
254
254
  return !0;
255
255
  }, j.prototype.addListener = function(t, e) {
256
- return Xr(this, t, e, !1);
256
+ return Zr(this, t, e, !1);
257
257
  }, j.prototype.on = j.prototype.addListener, j.prototype.prependListener = function(t, e) {
258
- return Xr(this, t, e, !0);
258
+ return Zr(this, t, e, !0);
259
259
  }, j.prototype.once = function(t, e) {
260
- return zt(e), this.on(t, Zr(this, t, e)), this;
260
+ return zt(e), this.on(t, ei(this, t, e)), this;
261
261
  }, j.prototype.prependOnceListener = function(t, e) {
262
- return zt(e), this.prependListener(t, Zr(this, t, e)), this;
262
+ return zt(e), this.prependListener(t, ei(this, t, e)), this;
263
263
  }, j.prototype.removeListener = function(t, e) {
264
264
  var n, r, i, s, a;
265
265
  if (zt(e), (r = this._events) === void 0) return this;
@@ -290,16 +290,16 @@ Object.defineProperty(j, "defaultMaxListeners", { enumerable: !0, get: function(
290
290
  else if (e !== void 0) for (r = e.length - 1; r >= 0; r--) this.removeListener(t, e[r]);
291
291
  return this;
292
292
  }, j.prototype.listeners = function(t) {
293
- return ei(this, t, !0);
293
+ return ti(this, t, !0);
294
294
  }, j.prototype.rawListeners = function(t) {
295
- return ei(this, t, !1);
295
+ return ti(this, t, !1);
296
296
  }, j.listenerCount = function(t, e) {
297
- return typeof t.listenerCount == "function" ? t.listenerCount(e) : ti.call(t, e);
298
- }, j.prototype.listenerCount = ti, j.prototype.eventNames = function() {
299
- return this._eventsCount > 0 ? Is(this._events) : [];
297
+ return typeof t.listenerCount == "function" ? t.listenerCount(e) : ni.call(t, e);
298
+ }, j.prototype.listenerCount = ni, j.prototype.eventNames = function() {
299
+ return this._eventsCount > 0 ? Bs(this._events) : [];
300
300
  };
301
- var ri = Object.prototype.hasOwnProperty;
302
- function ii(t, e, n) {
301
+ var ii = Object.prototype.hasOwnProperty;
302
+ function si(t, e, n) {
303
303
  for (n of t.keys()) if (X(n, e)) return n;
304
304
  }
305
305
  function X(t, e) {
@@ -315,13 +315,13 @@ function X(t, e) {
315
315
  if (n === Set) {
316
316
  if (t.size !== e.size) return !1;
317
317
  for (r of t)
318
- if ((i = r) && typeof i == "object" && !(i = ii(e, i)) || !e.has(i)) return !1;
318
+ if ((i = r) && typeof i == "object" && !(i = si(e, i)) || !e.has(i)) return !1;
319
319
  return !0;
320
320
  }
321
321
  if (n === Map) {
322
322
  if (t.size !== e.size) return !1;
323
323
  for (r of t)
324
- if ((i = r[0]) && typeof i == "object" && !(i = ii(e, i)) || !X(r[1], e.get(i))) return !1;
324
+ if ((i = r[0]) && typeof i == "object" && !(i = si(e, i)) || !X(r[1], e.get(i))) return !1;
325
325
  return !0;
326
326
  }
327
327
  if (n === ArrayBuffer) t = new Uint8Array(t), e = new Uint8Array(e);
@@ -335,13 +335,13 @@ function X(t, e) {
335
335
  }
336
336
  if (!n || typeof t == "object") {
337
337
  for (n in r = 0, t)
338
- if (ri.call(t, n) && ++r && !ri.call(e, n) || !(n in e) || !X(t[n], e[n])) return !1;
338
+ if (ii.call(t, n) && ++r && !ii.call(e, n) || !(n in e) || !X(t[n], e[n])) return !1;
339
339
  return Object.keys(e).length === r;
340
340
  }
341
341
  }
342
342
  return t != t && e != e;
343
343
  }
344
- const ia = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", BlackBerry: "blackberry", Chrome: "chrome", Chromium: "chromium", Electron: "electron", Epiphany: "epiphany", Firefox: "firefox", Focus: "focus", Generic: "generic", "Google Search": "google_search", Googlebot: "googlebot", "Internet Explorer": "ie", "K-Meleon": "k_meleon", Maxthon: "maxthon", "Microsoft Edge": "edge", "MZ Browser": "mz", "NAVER Whale Browser": "naver", Opera: "opera", "Opera Coast": "opera_coast", PhantomJS: "phantomjs", Puffin: "puffin", QupZilla: "qupzilla", QQ: "qq", QQLite: "qqlite", Safari: "safari", Sailfish: "sailfish", "Samsung Internet for Android": "samsung_internet", SeaMonkey: "seamonkey", Sleipnir: "sleipnir", Swing: "swing", Tizen: "tizen", "UC Browser": "uc", Vivaldi: "vivaldi", "WebOS Browser": "webos", WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" }, Us = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", blackberry: "BlackBerry", chrome: "Chrome", chromium: "Chromium", electron: "Electron", epiphany: "Epiphany", firefox: "Firefox", focus: "Focus", generic: "Generic", googlebot: "Googlebot", google_search: "Google Search", ie: "Internet Explorer", k_meleon: "K-Meleon", maxthon: "Maxthon", edge: "Microsoft Edge", mz: "MZ Browser", naver: "NAVER Whale Browser", opera: "Opera", opera_coast: "Opera Coast", phantomjs: "PhantomJS", puffin: "Puffin", qupzilla: "QupZilla", qq: "QQ Browser", qqlite: "QQ Browser Lite", safari: "Safari", sailfish: "Sailfish", samsung_internet: "Samsung Internet for Android", seamonkey: "SeaMonkey", sleipnir: "Sleipnir", swing: "Swing", tizen: "Tizen", uc: "UC Browser", vivaldi: "Vivaldi", webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" }, J = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, K = { WindowsPhone: "Windows Phone", Windows: "Windows", MacOS: "macOS", iOS: "iOS", Android: "Android", WebOS: "WebOS", BlackBerry: "BlackBerry", Bada: "Bada", Tizen: "Tizen", Linux: "Linux", ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" }, Oe = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", Presto: "Presto", Gecko: "Gecko", WebKit: "WebKit" };
344
+ const sa = { "Amazon Silk": "amazon_silk", "Android Browser": "android", Bada: "bada", BlackBerry: "blackberry", Chrome: "chrome", Chromium: "chromium", Electron: "electron", Epiphany: "epiphany", Firefox: "firefox", Focus: "focus", Generic: "generic", "Google Search": "google_search", Googlebot: "googlebot", "Internet Explorer": "ie", "K-Meleon": "k_meleon", Maxthon: "maxthon", "Microsoft Edge": "edge", "MZ Browser": "mz", "NAVER Whale Browser": "naver", Opera: "opera", "Opera Coast": "opera_coast", PhantomJS: "phantomjs", Puffin: "puffin", QupZilla: "qupzilla", QQ: "qq", QQLite: "qqlite", Safari: "safari", Sailfish: "sailfish", "Samsung Internet for Android": "samsung_internet", SeaMonkey: "seamonkey", Sleipnir: "sleipnir", Swing: "swing", Tizen: "tizen", "UC Browser": "uc", Vivaldi: "vivaldi", "WebOS Browser": "webos", WeChat: "wechat", "Yandex Browser": "yandex", Roku: "roku" }, qs = { amazon_silk: "Amazon Silk", android: "Android Browser", bada: "Bada", blackberry: "BlackBerry", chrome: "Chrome", chromium: "Chromium", electron: "Electron", epiphany: "Epiphany", firefox: "Firefox", focus: "Focus", generic: "Generic", googlebot: "Googlebot", google_search: "Google Search", ie: "Internet Explorer", k_meleon: "K-Meleon", maxthon: "Maxthon", edge: "Microsoft Edge", mz: "MZ Browser", naver: "NAVER Whale Browser", opera: "Opera", opera_coast: "Opera Coast", phantomjs: "PhantomJS", puffin: "Puffin", qupzilla: "QupZilla", qq: "QQ Browser", qqlite: "QQ Browser Lite", safari: "Safari", sailfish: "Sailfish", samsung_internet: "Samsung Internet for Android", seamonkey: "SeaMonkey", sleipnir: "Sleipnir", swing: "Swing", tizen: "Tizen", uc: "UC Browser", vivaldi: "Vivaldi", webos: "WebOS Browser", wechat: "WeChat", yandex: "Yandex Browser" }, J = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, K = { WindowsPhone: "Windows Phone", Windows: "Windows", MacOS: "macOS", iOS: "iOS", Android: "Android", WebOS: "WebOS", BlackBerry: "BlackBerry", Bada: "Bada", Tizen: "Tizen", Linux: "Linux", ChromeOS: "Chrome OS", PlayStation4: "PlayStation 4", Roku: "Roku" }, Oe = { EdgeHTML: "EdgeHTML", Blink: "Blink", Trident: "Trident", Presto: "Presto", Gecko: "Gecko", WebKit: "WebKit" };
345
345
  class S {
346
346
  static getFirstMatch(e, n) {
347
347
  const r = n.match(e);
@@ -458,13 +458,13 @@ class S {
458
458
  return e;
459
459
  }
460
460
  static getBrowserAlias(e) {
461
- return ia[e];
461
+ return sa[e];
462
462
  }
463
463
  static getBrowserTypeByAlias(e) {
464
- return Us[e] || "";
464
+ return qs[e] || "";
465
465
  }
466
466
  }
467
- const I = /version\/(\d+(\.?_?\d+)+)/i, sa = [{ test: [/googlebot/i], describe(t) {
467
+ const I = /version\/(\d+(\.?_?\d+)+)/i, oa = [{ test: [/googlebot/i], describe(t) {
468
468
  const e = { name: "Googlebot" }, n = S.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, t) || S.getFirstMatch(I, t);
469
469
  return n && (e.version = n), e;
470
470
  } }, { test: [/opera/i], describe(t) {
@@ -597,7 +597,7 @@ const I = /version\/(\d+(\.?_?\d+)+)/i, sa = [{ test: [/googlebot/i], describe(t
597
597
  const e = t.search("\\(") !== -1 ? /^(.*)\/(.*)[ \t]\((.*)/ : /^(.*)\/(.*) /;
598
598
  return { name: S.getFirstMatch(e, t), version: S.getSecondMatch(e, t) };
599
599
  } }];
600
- var oa = [{ test: [/Roku\/DVP/], describe(t) {
600
+ var aa = [{ test: [/Roku\/DVP/], describe(t) {
601
601
  const e = S.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, t);
602
602
  return { name: K.Roku, version: e };
603
603
  } }, { test: [/windows phone/i], describe(t) {
@@ -636,7 +636,7 @@ var oa = [{ test: [/Roku\/DVP/], describe(t) {
636
636
  } }, { test: [/linux/i], describe: () => ({ name: K.Linux }) }, { test: [/CrOS/], describe: () => ({ name: K.ChromeOS }) }, { test: [/PlayStation 4/], describe(t) {
637
637
  const e = S.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, t);
638
638
  return { name: K.PlayStation4, version: e };
639
- } }], aa = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(t) {
639
+ } }], ca = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(t) {
640
640
  const e = S.getFirstMatch(/(can-l01)/i, t) && "Nova", n = { type: J.mobile, vendor: "Huawei" };
641
641
  return e && (n.model = e), n;
642
642
  } }, { test: [/nexus\s*(?:7|8|9|10).*/i], describe: () => ({ type: J.tablet, vendor: "Nexus" }) }, { test: [/ipad/i], describe: () => ({ type: J.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe: () => ({ type: J.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/kftt build/i], describe: () => ({ type: J.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }) }, { test: [/silk/i], describe: () => ({ type: J.tablet, vendor: "Amazon" }) }, { test: [/tablet(?! pc)/i], describe: () => ({ type: J.tablet }) }, { test(t) {
@@ -648,7 +648,7 @@ var oa = [{ test: [/Roku\/DVP/], describe(t) {
648
648
  } }, { test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe: () => ({ type: J.mobile, vendor: "Nexus" }) }, { test: [/[^-]mobi/i], describe: () => ({ type: J.mobile }) }, { test: (t) => t.getBrowserName(!0) === "blackberry", describe: () => ({ type: J.mobile, vendor: "BlackBerry" }) }, { test: (t) => t.getBrowserName(!0) === "bada", describe: () => ({ type: J.mobile }) }, { test: (t) => t.getBrowserName() === "windows phone", describe: () => ({ type: J.mobile, vendor: "Microsoft" }) }, { test(t) {
649
649
  const e = Number(String(t.getOSVersion()).split(".")[0]);
650
650
  return t.getOSName(!0) === "android" && e >= 3;
651
- }, describe: () => ({ type: J.tablet }) }, { test: (t) => t.getOSName(!0) === "android", describe: () => ({ type: J.mobile }) }, { test: (t) => t.getOSName(!0) === "macos", describe: () => ({ type: J.desktop, vendor: "Apple" }) }, { test: (t) => t.getOSName(!0) === "windows", describe: () => ({ type: J.desktop }) }, { test: (t) => t.getOSName(!0) === "linux", describe: () => ({ type: J.desktop }) }, { test: (t) => t.getOSName(!0) === "playstation 4", describe: () => ({ type: J.tv }) }, { test: (t) => t.getOSName(!0) === "roku", describe: () => ({ type: J.tv }) }], ca = [{ test: (t) => t.getBrowserName(!0) === "microsoft edge", describe(t) {
651
+ }, describe: () => ({ type: J.tablet }) }, { test: (t) => t.getOSName(!0) === "android", describe: () => ({ type: J.mobile }) }, { test: (t) => t.getOSName(!0) === "macos", describe: () => ({ type: J.desktop, vendor: "Apple" }) }, { test: (t) => t.getOSName(!0) === "windows", describe: () => ({ type: J.desktop }) }, { test: (t) => t.getOSName(!0) === "linux", describe: () => ({ type: J.desktop }) }, { test: (t) => t.getOSName(!0) === "playstation 4", describe: () => ({ type: J.tv }) }, { test: (t) => t.getOSName(!0) === "roku", describe: () => ({ type: J.tv }) }], la = [{ test: (t) => t.getBrowserName(!0) === "microsoft edge", describe(t) {
652
652
  if (/\sedg\//i.test(t)) return { name: Oe.Blink };
653
653
  const e = S.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, t);
654
654
  return { name: Oe.EdgeHTML, version: e };
@@ -668,7 +668,7 @@ var oa = [{ test: [/Roku\/DVP/], describe(t) {
668
668
  const e = { name: Oe.WebKit }, n = S.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, t);
669
669
  return n && (e.version = n), e;
670
670
  } }];
671
- class si {
671
+ class oi {
672
672
  constructor(e, n = !1) {
673
673
  if (e == null || e === "") throw new Error("UserAgent parameter can't be empty");
674
674
  this._ua = e, this.parsedResult = {}, n !== !0 && this.parse();
@@ -681,7 +681,7 @@ class si {
681
681
  }
682
682
  parseBrowser() {
683
683
  this.parsedResult.browser = {};
684
- const e = S.find(sa, (n) => {
684
+ const e = S.find(oa, (n) => {
685
685
  if (typeof n.test == "function") return n.test(this);
686
686
  if (n.test instanceof Array) return n.test.some((r) => this.test(r));
687
687
  throw new Error("Browser's test function is not valid");
@@ -702,7 +702,7 @@ class si {
702
702
  }
703
703
  parseOS() {
704
704
  this.parsedResult.os = {};
705
- const e = S.find(oa, (n) => {
705
+ const e = S.find(aa, (n) => {
706
706
  if (typeof n.test == "function") return n.test(this);
707
707
  if (n.test instanceof Array) return n.test.some((r) => this.test(r));
708
708
  throw new Error("Browser's test function is not valid");
@@ -725,7 +725,7 @@ class si {
725
725
  }
726
726
  parsePlatform() {
727
727
  this.parsedResult.platform = {};
728
- const e = S.find(aa, (n) => {
728
+ const e = S.find(ca, (n) => {
729
729
  if (typeof n.test == "function") return n.test(this);
730
730
  if (n.test instanceof Array) return n.test.some((r) => this.test(r));
731
731
  throw new Error("Browser's test function is not valid");
@@ -740,7 +740,7 @@ class si {
740
740
  }
741
741
  parseEngine() {
742
742
  this.parsedResult.engine = {};
743
- const e = S.find(ca, (n) => {
743
+ const e = S.find(la, (n) => {
744
744
  if (typeof n.test == "function") return n.test(this);
745
745
  if (n.test instanceof Array) return n.test.some((r) => this.test(r));
746
746
  throw new Error("Browser's test function is not valid");
@@ -811,16 +811,16 @@ class si {
811
811
  * MIT License | (c) Dustin Diaz 2012-2015
812
812
  * MIT License | (c) Denis Demchenko 2015-2019
813
813
  */
814
- class la {
814
+ class ua {
815
815
  static getParser(e, n = !1) {
816
816
  if (typeof e != "string") throw new Error("UserAgent should be a string");
817
- return new si(e, n);
817
+ return new oi(e, n);
818
818
  }
819
819
  static parse(e) {
820
- return new si(e).getResult();
820
+ return new oi(e).getResult();
821
821
  }
822
822
  static get BROWSER_MAP() {
823
- return Us;
823
+ return qs;
824
824
  }
825
825
  static get ENGINE_MAP() {
826
826
  return Oe;
@@ -838,11 +838,11 @@ function dn() {
838
838
  function pt() {
839
839
  throw new Error("Method must be implemented in subclass");
840
840
  }
841
- function qs(t, e) {
841
+ function Vs(t, e) {
842
842
  return e != null && e.proxyUrl ? e.proxyUrl + (e.proxyUrl.slice(-1) === "/" ? "" : "/") + t.substring(8) : t;
843
843
  }
844
844
  function Xt(t) {
845
- return t != null && t.callObjectBundleUrlOverride ? t.callObjectBundleUrlOverride : qs("https://c.daily.co/call-machine/versioned/".concat("0.68.0", "/static/call-machine-object-bundle.js"), t);
845
+ return t != null && t.callObjectBundleUrlOverride ? t.callObjectBundleUrlOverride : Vs("https://c.daily.co/call-machine/versioned/".concat("0.68.0", "/static/call-machine-object-bundle.js"), t);
846
846
  }
847
847
  function St(t) {
848
848
  try {
@@ -852,9 +852,9 @@ function St(t) {
852
852
  }
853
853
  return !0;
854
854
  }
855
- const Vs = Object.prototype.toString;
856
- function Js(t) {
857
- switch (Vs.call(t)) {
855
+ const Js = Object.prototype.toString;
856
+ function $s(t) {
857
+ switch (Js.call(t)) {
858
858
  case "[object Error]":
859
859
  case "[object Exception]":
860
860
  case "[object DOMException]":
@@ -864,18 +864,18 @@ function Js(t) {
864
864
  }
865
865
  }
866
866
  function lt(t, e) {
867
- return Vs.call(t) === `[object ${e}]`;
867
+ return Js.call(t) === `[object ${e}]`;
868
868
  }
869
- function fr(t) {
869
+ function mr(t) {
870
870
  return lt(t, "ErrorEvent");
871
871
  }
872
- function oi(t) {
872
+ function ai(t) {
873
873
  return lt(t, "DOMError");
874
874
  }
875
875
  function Ge(t) {
876
876
  return lt(t, "String");
877
877
  }
878
- function $s(t) {
878
+ function Gs(t) {
879
879
  return t === null || typeof t != "object" && typeof t != "function";
880
880
  }
881
881
  function ot(t) {
@@ -884,7 +884,7 @@ function ot(t) {
884
884
  function Zt(t) {
885
885
  return typeof Event < "u" && He(t, Event);
886
886
  }
887
- function mr(t) {
887
+ function gr(t) {
888
888
  return !!(t && t.then && typeof t.then == "function");
889
889
  }
890
890
  function He(t, e) {
@@ -897,7 +897,7 @@ function He(t, e) {
897
897
  function et(t, e = 0) {
898
898
  return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
899
899
  }
900
- function ai(t, e) {
900
+ function ci(t, e) {
901
901
  if (!Array.isArray(t)) return "";
902
902
  const n = [];
903
903
  for (let r = 0; r < t.length; r++) {
@@ -910,13 +910,13 @@ function ai(t, e) {
910
910
  }
911
911
  return n.join(e);
912
912
  }
913
- function ua(t, e, n = !1) {
913
+ function da(t, e, n = !1) {
914
914
  return !!Ge(t) && (lt(e, "RegExp") ? e.test(t) : !!Ge(e) && (n ? t === e : t.includes(e)));
915
915
  }
916
916
  function Dt(t, e = [], n = !1) {
917
- return e.some((r) => ua(t, r, n));
917
+ return e.some((r) => da(t, r, n));
918
918
  }
919
- function da(t, e, n = 250, r, i, s, a) {
919
+ function ha(t, e, n = 250, r, i, s, a) {
920
920
  if (!(s.exception && s.exception.values && a && He(a.originalException, Error))) return;
921
921
  const c = s.exception.values.length > 0 ? s.exception.values[s.exception.values.length - 1] : void 0;
922
922
  var l, p;
@@ -926,22 +926,22 @@ function Fn(t, e, n, r, i, s, a, c) {
926
926
  if (s.length >= n + 1) return s;
927
927
  let l = [...s];
928
928
  if (He(r[i], Error)) {
929
- ci(a, c);
929
+ li(a, c);
930
930
  const p = t(e, r[i]), h = l.length;
931
- li(p, i, h, c), l = Fn(t, e, n, r[i], i, [p, ...l], p, h);
931
+ ui(p, i, h, c), l = Fn(t, e, n, r[i], i, [p, ...l], p, h);
932
932
  }
933
933
  return Array.isArray(r.errors) && r.errors.forEach((p, h) => {
934
934
  if (He(p, Error)) {
935
- ci(a, c);
935
+ li(a, c);
936
936
  const f = t(e, p), _ = l.length;
937
- li(f, `errors[${h}]`, _, c), l = Fn(t, e, n, p, i, [f, ...l], f, _);
937
+ ui(f, `errors[${h}]`, _, c), l = Fn(t, e, n, p, i, [f, ...l], f, _);
938
938
  }
939
939
  }), l;
940
940
  }
941
- function ci(t, e) {
941
+ function li(t, e) {
942
942
  t.mechanism = t.mechanism || { type: "generic", handled: !0 }, t.mechanism = { ...t.mechanism, is_exception_group: !0, exception_id: e };
943
943
  }
944
- function li(t, e, n, r) {
944
+ function ui(t, e, n, r) {
945
945
  t.mechanism = t.mechanism || { type: "generic", handled: !0 }, t.mechanism = { ...t.mechanism, type: "chained", source: e, exception_id: n, parent_id: r };
946
946
  }
947
947
  function Lt(t) {
@@ -953,11 +953,11 @@ const ie = typeof globalThis == "object" && Lt(globalThis) || typeof window == "
953
953
  function At() {
954
954
  return ie;
955
955
  }
956
- function gr(t, e, n) {
956
+ function vr(t, e, n) {
957
957
  const r = n || ie, i = r.__SENTRY__ = r.__SENTRY__ || {};
958
958
  return i[t] || (i[t] = e());
959
959
  }
960
- const ha = At(), pa = 80;
960
+ const pa = At(), fa = 80;
961
961
  function Un(t, e = {}) {
962
962
  try {
963
963
  let n = t;
@@ -965,14 +965,14 @@ function Un(t, e = {}) {
965
965
  let s = 0, a = 0;
966
966
  const c = " > ", l = c.length;
967
967
  let p;
968
- const h = Array.isArray(e) ? e : e.keyAttrs, f = !Array.isArray(e) && e.maxStringLength || pa;
969
- for (; n && s++ < r && (p = fa(n, h), !(p === "html" || s > 1 && a + i.length * l + p.length >= f)); ) i.push(p), a += p.length, n = n.parentNode;
968
+ const h = Array.isArray(e) ? e : e.keyAttrs, f = !Array.isArray(e) && e.maxStringLength || fa;
969
+ for (; n && s++ < r && (p = ma(n, h), !(p === "html" || s > 1 && a + i.length * l + p.length >= f)); ) i.push(p), a += p.length, n = n.parentNode;
970
970
  return i.reverse().join(c);
971
971
  } catch {
972
972
  return "<unknown>";
973
973
  }
974
974
  }
975
- function fa(t, e) {
975
+ function ma(t, e) {
976
976
  const n = t, r = [];
977
977
  let i, s, a, c, l;
978
978
  if (!n || !n.tagName) return "";
@@ -987,7 +987,7 @@ function fa(t, e) {
987
987
  return r.join("");
988
988
  }
989
989
  const en = ["debug", "info", "warn", "error", "log", "assert", "trace"];
990
- function Gs(t) {
990
+ function Hs(t) {
991
991
  if (!("console" in ie)) return t();
992
992
  const e = ie.console, n = {};
993
993
  en.forEach((r) => {
@@ -1002,7 +1002,7 @@ function Gs(t) {
1002
1002
  });
1003
1003
  }
1004
1004
  }
1005
- function ui() {
1005
+ function di() {
1006
1006
  let t = !1;
1007
1007
  const e = { enable: () => {
1008
1008
  t = !0;
@@ -1011,7 +1011,7 @@ function ui() {
1011
1011
  } };
1012
1012
  return typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__ ? en.forEach((n) => {
1013
1013
  e[n] = (...r) => {
1014
- t && Gs(() => {
1014
+ t && Hs(() => {
1015
1015
  ie.console[n](`Sentry Logger [${n}]:`, ...r);
1016
1016
  });
1017
1017
  };
@@ -1021,18 +1021,18 @@ function ui() {
1021
1021
  }), e;
1022
1022
  }
1023
1023
  let R;
1024
- R = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__ ? gr("logger", ui) : ui();
1025
- const ma = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
1024
+ R = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__ ? vr("logger", di) : di();
1025
+ const ga = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
1026
1026
  function tn(t, e = !1) {
1027
1027
  const { host: n, path: r, pass: i, port: s, projectId: a, protocol: c, publicKey: l } = t;
1028
1028
  return `${c}://${l}${e && i ? `:${i}` : ""}@${n}${s ? `:${s}` : ""}/${r && `${r}/`}${a}`;
1029
1029
  }
1030
- function di(t) {
1030
+ function hi(t) {
1031
1031
  return { protocol: t.protocol, publicKey: t.publicKey || "", pass: t.pass || "", host: t.host, port: t.port || "", path: t.path || "", projectId: t.projectId };
1032
1032
  }
1033
- function ga(t) {
1033
+ function va(t) {
1034
1034
  const e = typeof t == "string" ? function(n) {
1035
- const r = ma.exec(n);
1035
+ const r = ga.exec(n);
1036
1036
  if (!r) return void console.error(`Invalid Sentry Dsn: ${n}`);
1037
1037
  const [i, s, a = "", c, l = "", p] = r.slice(1);
1038
1038
  let h = "", f = p;
@@ -1041,8 +1041,8 @@ function ga(t) {
1041
1041
  const k = f.match(/^\d+/);
1042
1042
  k && (f = k[0]);
1043
1043
  }
1044
- return di({ host: c, pass: a, path: h, projectId: f, port: l, protocol: i, publicKey: s });
1045
- }(t) : di(t);
1044
+ return hi({ host: c, pass: a, path: h, projectId: f, port: l, protocol: i, publicKey: s });
1045
+ }(t) : hi(t);
1046
1046
  if (e && function(n) {
1047
1047
  if (typeof __SENTRY_DEBUG__ < "u" && !__SENTRY_DEBUG__) return !0;
1048
1048
  const { port: r, projectId: i, protocol: s } = n;
@@ -1060,30 +1060,30 @@ function z(t, e, n) {
1060
1060
  if (!(e in t)) return;
1061
1061
  const r = t[e], i = n(r);
1062
1062
  if (typeof i == "function") try {
1063
- Hs(i, r);
1063
+ zs(i, r);
1064
1064
  } catch {
1065
1065
  }
1066
1066
  t[e] = i;
1067
1067
  }
1068
- function vr(t, e, n) {
1068
+ function yr(t, e, n) {
1069
1069
  Object.defineProperty(t, e, { value: n, writable: !0, configurable: !0 });
1070
1070
  }
1071
- function Hs(t, e) {
1071
+ function zs(t, e) {
1072
1072
  const n = e.prototype || {};
1073
- t.prototype = e.prototype = n, vr(t, "__sentry_original__", e);
1073
+ t.prototype = e.prototype = n, yr(t, "__sentry_original__", e);
1074
1074
  }
1075
- function yr(t) {
1075
+ function _r(t) {
1076
1076
  return t.__sentry_original__;
1077
1077
  }
1078
- function zs(t) {
1079
- if (Js(t)) return { message: t.message, name: t.name, stack: t.stack, ...pi(t) };
1078
+ function Ws(t) {
1079
+ if ($s(t)) return { message: t.message, name: t.name, stack: t.stack, ...fi(t) };
1080
1080
  if (Zt(t)) {
1081
- const e = { type: t.type, target: hi(t.target), currentTarget: hi(t.currentTarget), ...pi(t) };
1081
+ const e = { type: t.type, target: pi(t.target), currentTarget: pi(t.currentTarget), ...fi(t) };
1082
1082
  return typeof CustomEvent < "u" && He(t, CustomEvent) && (e.detail = t.detail), e;
1083
1083
  }
1084
1084
  return t;
1085
1085
  }
1086
- function hi(t) {
1086
+ function pi(t) {
1087
1087
  try {
1088
1088
  return e = t, typeof Element < "u" && He(e, Element) ? Un(t) : Object.prototype.toString.call(t);
1089
1089
  } catch {
@@ -1091,7 +1091,7 @@ function hi(t) {
1091
1091
  }
1092
1092
  var e;
1093
1093
  }
1094
- function pi(t) {
1094
+ function fi(t) {
1095
1095
  if (typeof t == "object" && t !== null) {
1096
1096
  const e = {};
1097
1097
  for (const n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
@@ -1121,19 +1121,19 @@ function qn(t, e) {
1121
1121
  }
1122
1122
  return t;
1123
1123
  }
1124
- const fi = "<anonymous>";
1124
+ const mi = "<anonymous>";
1125
1125
  function Le(t) {
1126
1126
  try {
1127
- return t && typeof t == "function" && t.name || fi;
1127
+ return t && typeof t == "function" && t.name || mi;
1128
1128
  } catch {
1129
- return fi;
1129
+ return mi;
1130
1130
  }
1131
1131
  }
1132
1132
  const wn = At();
1133
1133
  function Vn(t) {
1134
1134
  return t && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString());
1135
1135
  }
1136
- function va() {
1136
+ function ya() {
1137
1137
  if (!function() {
1138
1138
  if (!("fetch" in wn)) return !1;
1139
1139
  try {
@@ -1153,9 +1153,9 @@ function va() {
1153
1153
  }
1154
1154
  return t;
1155
1155
  }
1156
- const Nt = At(), V = At(), vt = "__sentry_xhr_v2__", _t = {}, mi = {};
1157
- function ya(t) {
1158
- if (!mi[t]) switch (mi[t] = !0, t) {
1156
+ const Nt = At(), V = At(), vt = "__sentry_xhr_v2__", _t = {}, gi = {};
1157
+ function _a(t) {
1158
+ if (!gi[t]) switch (gi[t] = !0, t) {
1159
1159
  case "console":
1160
1160
  (function() {
1161
1161
  "console" in V && en.forEach(function(e) {
@@ -1170,7 +1170,7 @@ function ya(t) {
1170
1170
  case "dom":
1171
1171
  (function() {
1172
1172
  if (!("document" in V)) return;
1173
- const e = ae.bind(null, "dom"), n = vi(e, !0);
1173
+ const e = ae.bind(null, "dom"), n = yi(e, !0);
1174
1174
  V.document.addEventListener("click", n, !1), V.document.addEventListener("keypress", n, !1), ["EventTarget", "Node"].forEach((r) => {
1175
1175
  const i = V[r] && V[r].prototype;
1176
1176
  i && i.hasOwnProperty && i.hasOwnProperty("addEventListener") && (z(i, "addEventListener", function(s) {
@@ -1178,7 +1178,7 @@ function ya(t) {
1178
1178
  if (a === "click" || a == "keypress") try {
1179
1179
  const p = this, h = p.__sentry_instrumentation_handlers__ = p.__sentry_instrumentation_handlers__ || {}, f = h[a] = h[a] || { refCount: 0 };
1180
1180
  if (!f.handler) {
1181
- const _ = vi(e);
1181
+ const _ = yi(e);
1182
1182
  f.handler = _, s.call(this, a, _, l);
1183
1183
  }
1184
1184
  f.refCount++;
@@ -1238,16 +1238,16 @@ function ya(t) {
1238
1238
  break;
1239
1239
  case "fetch":
1240
1240
  (function() {
1241
- va() && z(V, "fetch", function(e) {
1241
+ ya() && z(V, "fetch", function(e) {
1242
1242
  return function(...n) {
1243
1243
  const { method: r, url: i } = function(a) {
1244
1244
  if (a.length === 0) return { method: "GET", url: "" };
1245
1245
  if (a.length === 2) {
1246
1246
  const [l, p] = a;
1247
- return { url: gi(l), method: Jn(p, "method") ? String(p.method).toUpperCase() : "GET" };
1247
+ return { url: vi(l), method: Jn(p, "method") ? String(p.method).toUpperCase() : "GET" };
1248
1248
  }
1249
1249
  const c = a[0];
1250
- return { url: gi(c), method: Jn(c, "method") ? String(c.method).toUpperCase() : "GET" };
1250
+ return { url: vi(c), method: Jn(c, "method") ? String(c.method).toUpperCase() : "GET" };
1251
1251
  }(n), s = { args: n, fetchData: { method: r, url: i }, startTimestamp: Date.now() };
1252
1252
  return ae("fetch", { ...s }), e.apply(V, n).then((a) => (ae("fetch", { ...s, endTimestamp: Date.now(), response: a }), a), (a) => {
1253
1253
  throw ae("fetch", { ...s, endTimestamp: Date.now(), error: a }), a;
@@ -1297,7 +1297,7 @@ function ya(t) {
1297
1297
  }
1298
1298
  }
1299
1299
  function Ue(t, e) {
1300
- _t[t] = _t[t] || [], _t[t].push(e), ya(t);
1300
+ _t[t] = _t[t] || [], _t[t].push(e), _a(t);
1301
1301
  }
1302
1302
  function ae(t, e) {
1303
1303
  if (t && _t[t]) for (const n of _t[t] || []) try {
@@ -1312,13 +1312,13 @@ Error:`, r);
1312
1312
  function Jn(t, e) {
1313
1313
  return !!t && typeof t == "object" && !!t[e];
1314
1314
  }
1315
- function gi(t) {
1315
+ function vi(t) {
1316
1316
  return typeof t == "string" ? t : t ? Jn(t, "url") ? t.url : t.toString ? t.toString() : "" : "";
1317
1317
  }
1318
1318
  let jt;
1319
- const _a = 1e3;
1319
+ const ba = 1e3;
1320
1320
  let It, Sn;
1321
- function vi(t, e = !1) {
1321
+ function yi(t, e = !1) {
1322
1322
  return (n) => {
1323
1323
  if (!n || Sn === n || function(i) {
1324
1324
  if (i.type !== "keypress") return !1;
@@ -1340,7 +1340,7 @@ function vi(t, e = !1) {
1340
1340
  return !1;
1341
1341
  }(Sn, n)) && (t({ event: n, name: r, global: e }), Sn = n), clearTimeout(It), It = V.setTimeout(() => {
1342
1342
  It = void 0;
1343
- }, _a);
1343
+ }, ba);
1344
1344
  };
1345
1345
  }
1346
1346
  let Bt = null, Ft = null;
@@ -1350,13 +1350,13 @@ function xe() {
1350
1350
  const n = e && e.getRandomValues ? () => e.getRandomValues(new Uint8Array(1))[0] : () => 16 * Math.random();
1351
1351
  return ("10000000100040008000" + 1e11).replace(/[018]/g, (r) => (r ^ (15 & n()) >> r / 4).toString(16));
1352
1352
  }
1353
- function Ws(t) {
1353
+ function Ys(t) {
1354
1354
  return t.exception && t.exception.values ? t.exception.values[0] : void 0;
1355
1355
  }
1356
1356
  function Pe(t) {
1357
1357
  const { message: e, event_id: n } = t;
1358
1358
  if (e) return e;
1359
- const r = Ws(t);
1359
+ const r = Ys(t);
1360
1360
  return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
1361
1361
  }
1362
1362
  function $n(t, e, n) {
@@ -1364,7 +1364,7 @@ function $n(t, e, n) {
1364
1364
  s.value || (s.value = e || ""), s.type || (s.type = "Error");
1365
1365
  }
1366
1366
  function kt(t, e) {
1367
- const n = Ws(t);
1367
+ const n = Ys(t);
1368
1368
  if (!n) return;
1369
1369
  const r = n.mechanism;
1370
1370
  if (n.mechanism = { type: "generic", handled: !0, ...r, ...e }, e && "data" in e) {
@@ -1372,10 +1372,10 @@ function kt(t, e) {
1372
1372
  n.mechanism.data = i;
1373
1373
  }
1374
1374
  }
1375
- function yi(t) {
1375
+ function _i(t) {
1376
1376
  if (t && t.__sentry_captured__) return !0;
1377
1377
  try {
1378
- vr(t, "__sentry_captured__", !0);
1378
+ yr(t, "__sentry_captured__", !0);
1379
1379
  } catch {
1380
1380
  }
1381
1381
  return !1;
@@ -1387,11 +1387,11 @@ function Re(t, e = 100, n = 1 / 0) {
1387
1387
  return { ERROR: `**non-serializable** (${r})` };
1388
1388
  }
1389
1389
  }
1390
- function Ys(t, e = 3, n = 102400) {
1390
+ function Ks(t, e = 3, n = 102400) {
1391
1391
  const r = Re(t, e);
1392
1392
  return i = r, function(s) {
1393
1393
  return ~-encodeURI(s).split(/%..|./).length;
1394
- }(JSON.stringify(i)) > n ? Ys(t, e - 1, n) : r;
1394
+ }(JSON.stringify(i)) > n ? Ks(t, e - 1, n) : r;
1395
1395
  var i;
1396
1396
  }
1397
1397
  function Gn(t, e, n = 1 / 0, r = 1 / 0, i = /* @__PURE__ */ function() {
@@ -1446,7 +1446,7 @@ function Gn(t, e, n = 1 / 0, r = 1 / 0, i = /* @__PURE__ */ function() {
1446
1446
  }
1447
1447
  const f = Array.isArray(e) ? [] : {};
1448
1448
  let _ = 0;
1449
- const k = zs(e);
1449
+ const k = Ws(e);
1450
1450
  for (const y in k) {
1451
1451
  if (!Object.prototype.hasOwnProperty.call(k, y)) continue;
1452
1452
  if (_ >= r) {
@@ -1533,7 +1533,7 @@ class Q {
1533
1533
  }
1534
1534
  __init5() {
1535
1535
  this._setResult = (e, n) => {
1536
- this._state === ke.PENDING && (mr(n) ? n.then(this._resolve, this._reject) : (this._state = e, this._value = n, this._executeHandlers()));
1536
+ this._state === ke.PENDING && (gr(n) ? n.then(this._resolve, this._reject) : (this._state = e, this._value = n, this._executeHandlers()));
1537
1537
  };
1538
1538
  }
1539
1539
  __init6() {
@@ -1546,7 +1546,7 @@ class Q {
1546
1546
  };
1547
1547
  }
1548
1548
  }
1549
- function ba(t) {
1549
+ function wa(t) {
1550
1550
  const e = [];
1551
1551
  function n(r) {
1552
1552
  return e.splice(e.indexOf(r), 1)[0];
@@ -1578,8 +1578,8 @@ function kn(t) {
1578
1578
  const n = e[6] || "", r = e[8] || "";
1579
1579
  return { host: e[4], path: e[5], protocol: e[2], search: n, hash: r, relative: e[5] + n + r };
1580
1580
  }
1581
- const wa = ["fatal", "error", "warning", "log", "info", "debug"], Ks = At(), Hn = { nowSeconds: () => Date.now() / 1e3 }, En = typeof __SENTRY_BROWSER_BUNDLE__ < "u" && __SENTRY_BROWSER_BUNDLE__ || Object.prototype.toString.call(typeof process < "u" ? process : 0) !== "[object process]" ? function() {
1582
- const { performance: t } = Ks;
1581
+ const Sa = ["fatal", "error", "warning", "log", "info", "debug"], Qs = At(), Hn = { nowSeconds: () => Date.now() / 1e3 }, En = typeof __SENTRY_BROWSER_BUNDLE__ < "u" && __SENTRY_BROWSER_BUNDLE__ || Object.prototype.toString.call(typeof process < "u" ? process : 0) !== "[object process]" ? function() {
1582
+ const { performance: t } = Qs;
1583
1583
  if (!(!t || !t.now))
1584
1584
  return { now: () => t.now(), timeOrigin: Date.now() - t.now() };
1585
1585
  }() : function() {
@@ -1589,15 +1589,15 @@ const wa = ["fatal", "error", "warning", "log", "info", "debug"], Ks = At(), Hn
1589
1589
  return;
1590
1590
  }
1591
1591
  var t, e;
1592
- }(), _i = En === void 0 ? Hn : { nowSeconds: () => (En.timeOrigin + En.now()) / 1e3 }, pn = Hn.nowSeconds.bind(Hn), Qs = _i.nowSeconds.bind(_i);
1592
+ }(), bi = En === void 0 ? Hn : { nowSeconds: () => (En.timeOrigin + En.now()) / 1e3 }, pn = Hn.nowSeconds.bind(Hn), Xs = bi.nowSeconds.bind(bi);
1593
1593
  function Et(t, e = []) {
1594
1594
  return [t, e];
1595
1595
  }
1596
- function Sa(t, e) {
1596
+ function ka(t, e) {
1597
1597
  const [n, r] = t;
1598
1598
  return [n, [...r, e]];
1599
1599
  }
1600
- function bi(t, e) {
1600
+ function wi(t, e) {
1601
1601
  const n = t[1];
1602
1602
  for (const r of n)
1603
1603
  if (e(r, r[0].type)) return !0;
@@ -1606,7 +1606,7 @@ function bi(t, e) {
1606
1606
  function zn(t, e) {
1607
1607
  return (e || new TextEncoder()).encode(t);
1608
1608
  }
1609
- function ka(t, e) {
1609
+ function Ea(t, e) {
1610
1610
  const [n, r] = t;
1611
1611
  let i = JSON.stringify(n);
1612
1612
  function s(a) {
@@ -1634,27 +1634,27 @@ ${JSON.stringify(c)}
1634
1634
  return l;
1635
1635
  }(i);
1636
1636
  }
1637
- function Ea(t, e) {
1637
+ function Ta(t, e) {
1638
1638
  const n = typeof t.data == "string" ? zn(t.data, e) : t.data;
1639
1639
  return [hn({ type: "attachment", length: n.length, filename: t.filename, content_type: t.contentType, attachment_type: t.attachmentType }), n];
1640
1640
  }
1641
1641
  (() => {
1642
- const { performance: t } = Ks;
1642
+ const { performance: t } = Qs;
1643
1643
  if (!t || !t.now) return;
1644
1644
  const e = 36e5, n = t.now(), r = Date.now(), i = t.timeOrigin ? Math.abs(t.timeOrigin + n - r) : e, s = i < e, a = t.timing && t.timing.navigationStart, c = typeof a == "number" ? Math.abs(a + n - r) : e;
1645
1645
  (s || c < e) && i <= c && t.timeOrigin;
1646
1646
  })();
1647
- const Ta = { session: "session", sessions: "session", attachment: "attachment", transaction: "transaction", event: "error", client_report: "internal", user_report: "default", profile: "profile", replay_event: "replay", replay_recording: "replay", check_in: "monitor" };
1648
- function wi(t) {
1649
- return Ta[t];
1647
+ const Ca = { session: "session", sessions: "session", attachment: "attachment", transaction: "transaction", event: "error", client_report: "internal", user_report: "default", profile: "profile", replay_event: "replay", replay_recording: "replay", check_in: "monitor" };
1648
+ function Si(t) {
1649
+ return Ca[t];
1650
1650
  }
1651
- function Xs(t) {
1651
+ function Zs(t) {
1652
1652
  if (!t || !t.sdk) return;
1653
1653
  const { name: e, version: n } = t.sdk;
1654
1654
  return { name: e, version: n };
1655
1655
  }
1656
- const Ca = 6e4;
1657
- function Ma(t, { statusCode: e, headers: n }, r = Date.now()) {
1656
+ const Ma = 6e4;
1657
+ function Oa(t, { statusCode: e, headers: n }, r = Date.now()) {
1658
1658
  const i = { ...t }, s = n && n["x-sentry-rate-limits"], a = n && n["retry-after"];
1659
1659
  if (s) for (const c of s.trim().split(",")) {
1660
1660
  const [l, p] = c.split(":", 2), h = parseInt(l, 10), f = 1e3 * (isNaN(h) ? 60 : h);
@@ -1665,19 +1665,19 @@ function Ma(t, { statusCode: e, headers: n }, r = Date.now()) {
1665
1665
  const p = parseInt(`${c}`, 10);
1666
1666
  if (!isNaN(p)) return 1e3 * p;
1667
1667
  const h = Date.parse(`${c}`);
1668
- return isNaN(h) ? Ca : h - l;
1668
+ return isNaN(h) ? Ma : h - l;
1669
1669
  }(a, r) : e === 429 && (i.all = r + 6e4);
1670
1670
  return i;
1671
1671
  }
1672
- const _r = "production";
1673
- function Oa(t) {
1674
- const e = Qs(), n = { sid: xe(), init: !0, timestamp: e, started: e, duration: 0, status: "ok", errors: 0, ignoreDuration: !1, toJSON: () => function(r) {
1672
+ const br = "production";
1673
+ function Aa(t) {
1674
+ const e = Xs(), n = { sid: xe(), init: !0, timestamp: e, started: e, duration: 0, status: "ok", errors: 0, ignoreDuration: !1, toJSON: () => function(r) {
1675
1675
  return hn({ sid: `${r.sid}`, init: r.init, started: new Date(1e3 * r.started).toISOString(), timestamp: new Date(1e3 * r.timestamp).toISOString(), status: r.status, errors: r.errors, did: typeof r.did == "number" || typeof r.did == "string" ? `${r.did}` : void 0, duration: r.duration, attrs: { release: r.release, environment: r.environment, ip_address: r.ipAddress, user_agent: r.userAgent } });
1676
1676
  }(n) };
1677
1677
  return t && at(n, t), n;
1678
1678
  }
1679
1679
  function at(t, e = {}) {
1680
- if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), t.did || e.did || (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || Qs(), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : xe()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration) t.duration = void 0;
1680
+ if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), t.did || e.did || (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || Xs(), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : xe()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration) t.duration = void 0;
1681
1681
  else if (typeof e.duration == "number") t.duration = e.duration;
1682
1682
  else {
1683
1683
  const n = t.timestamp - t.started;
@@ -1687,7 +1687,7 @@ function at(t, e = {}) {
1687
1687
  }
1688
1688
  class Ve {
1689
1689
  constructor() {
1690
- this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = Si();
1690
+ this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = ki();
1691
1691
  }
1692
1692
  static clone(e) {
1693
1693
  const n = new Ve();
@@ -1760,7 +1760,7 @@ class Ve {
1760
1760
  return e instanceof Ve ? (this._tags = { ...this._tags, ...e._tags }, this._extra = { ...this._extra, ...e._extra }, this._contexts = { ...this._contexts, ...e._contexts }, e._user && Object.keys(e._user).length && (this._user = e._user), e._level && (this._level = e._level), e._fingerprint && (this._fingerprint = e._fingerprint), e._requestSession && (this._requestSession = e._requestSession), e._propagationContext && (this._propagationContext = e._propagationContext)) : ot(e) && (this._tags = { ...this._tags, ...e.tags }, this._extra = { ...this._extra, ...e.extra }, this._contexts = { ...this._contexts, ...e.contexts }, e.user && (this._user = e.user), e.level && (this._level = e.level), e.fingerprint && (this._fingerprint = e.fingerprint), e.requestSession && (this._requestSession = e.requestSession), e.propagationContext && (this._propagationContext = e.propagationContext)), this;
1761
1761
  }
1762
1762
  clear() {
1763
- return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = Si(), this;
1763
+ return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this._attachments = [], this._propagationContext = ki(), this;
1764
1764
  }
1765
1765
  addBreadcrumb(e, n) {
1766
1766
  const r = typeof n == "number" ? n : 100;
@@ -1793,7 +1793,7 @@ class Ve {
1793
1793
  i && (e.tags = { transaction: i, ...e.tags });
1794
1794
  }
1795
1795
  }
1796
- return this._applyFingerprint(e), e.breadcrumbs = [...e.breadcrumbs || [], ...this._breadcrumbs], e.breadcrumbs = e.breadcrumbs.length > 0 ? e.breadcrumbs : void 0, e.sdkProcessingMetadata = { ...e.sdkProcessingMetadata, ...this._sdkProcessingMetadata, propagationContext: this._propagationContext }, this._notifyEventProcessors([...Zs(), ...this._eventProcessors], e, n);
1796
+ return this._applyFingerprint(e), e.breadcrumbs = [...e.breadcrumbs || [], ...this._breadcrumbs], e.breadcrumbs = e.breadcrumbs.length > 0 ? e.breadcrumbs : void 0, e.sdkProcessingMetadata = { ...e.sdkProcessingMetadata, ...this._sdkProcessingMetadata, propagationContext: this._propagationContext }, this._notifyEventProcessors([...eo(), ...this._eventProcessors], e, n);
1797
1797
  }
1798
1798
  setSDKProcessingMetadata(e) {
1799
1799
  return this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...e }, this;
@@ -1810,7 +1810,7 @@ class Ve {
1810
1810
  if (n === null || typeof c != "function") s(n);
1811
1811
  else {
1812
1812
  const l = c({ ...n }, r);
1813
- (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && c.id && l === null && R.log(`Event processor "${c.id}" dropped event`), mr(l) ? l.then((p) => this._notifyEventProcessors(e, p, r, i + 1).then(s)).then(null, a) : this._notifyEventProcessors(e, l, r, i + 1).then(s).then(null, a);
1813
+ (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && c.id && l === null && R.log(`Event processor "${c.id}" dropped event`), gr(l) ? l.then((p) => this._notifyEventProcessors(e, p, r, i + 1).then(s)).then(null, a) : this._notifyEventProcessors(e, l, r, i + 1).then(s).then(null, a);
1814
1814
  }
1815
1815
  });
1816
1816
  }
@@ -1824,18 +1824,18 @@ class Ve {
1824
1824
  e.fingerprint = e.fingerprint ? (n = e.fingerprint, Array.isArray(n) ? n : [n]) : [], this._fingerprint && (e.fingerprint = e.fingerprint.concat(this._fingerprint)), e.fingerprint && !e.fingerprint.length && delete e.fingerprint;
1825
1825
  }
1826
1826
  }
1827
- function Zs() {
1828
- return gr("globalEventProcessors", () => []);
1827
+ function eo() {
1828
+ return vr("globalEventProcessors", () => []);
1829
1829
  }
1830
- function eo(t) {
1831
- Zs().push(t);
1830
+ function to(t) {
1831
+ eo().push(t);
1832
1832
  }
1833
- function Si() {
1833
+ function ki() {
1834
1834
  return { traceId: xe(), spanId: xe().substring(16), sampled: !1 };
1835
1835
  }
1836
- const to = 4, Aa = 100;
1837
- class br {
1838
- constructor(e, n = new Ve(), r = to) {
1836
+ const no = 4, Pa = 100;
1837
+ class wr {
1838
+ constructor(e, n = new Ve(), r = no) {
1839
1839
  this._version = r, this._stack = [{ scope: n }], e && this.bindClient(e);
1840
1840
  }
1841
1841
  isOlderThan(e) {
@@ -1895,9 +1895,9 @@ class br {
1895
1895
  addBreadcrumb(e, n) {
1896
1896
  const { scope: r, client: i } = this.getStackTop();
1897
1897
  if (!i) return;
1898
- const { beforeBreadcrumb: s = null, maxBreadcrumbs: a = Aa } = i.getOptions && i.getOptions() || {};
1898
+ const { beforeBreadcrumb: s = null, maxBreadcrumbs: a = Pa } = i.getOptions && i.getOptions() || {};
1899
1899
  if (a <= 0) return;
1900
- const c = { timestamp: pn(), ...e }, l = s ? Gs(() => s(c, n)) : c;
1900
+ const c = { timestamp: pn(), ...e }, l = s ? Hs(() => s(c, n)) : c;
1901
1901
  l !== null && (i.emit && i.emit("beforeAddBreadcrumb", l, n), r.addBreadcrumb(l, a));
1902
1902
  }
1903
1903
  setUser(e) {
@@ -1923,11 +1923,11 @@ class br {
1923
1923
  r && e(n);
1924
1924
  }
1925
1925
  run(e) {
1926
- const n = ki(this);
1926
+ const n = Ei(this);
1927
1927
  try {
1928
1928
  e(this);
1929
1929
  } finally {
1930
- ki(n);
1930
+ Ei(n);
1931
1931
  }
1932
1932
  }
1933
1933
  getIntegration(e) {
@@ -1961,7 +1961,7 @@ Sentry.init({...});
1961
1961
  }(n), this._sendSessionUpdate(), e.setSession();
1962
1962
  }
1963
1963
  startSession(e) {
1964
- const { scope: n, client: r } = this.getStackTop(), { release: i, environment: s = _r } = r && r.getOptions() || {}, { userAgent: a } = ie.navigator || {}, c = Oa({ release: i, environment: s, user: n.getUser(), ...a && { userAgent: a }, ...e }), l = n.getSession && n.getSession();
1964
+ const { scope: n, client: r } = this.getStackTop(), { release: i, environment: s = br } = r && r.getOptions() || {}, { userAgent: a } = ie.navigator || {}, c = Aa({ release: i, environment: s, user: n.getUser(), ...a && { userAgent: a }, ...e }), l = n.getSession && n.getSession();
1965
1965
  return l && l.status === "ok" && at(l, { status: "exited" }), this.endSession(), n.setSession(c), c;
1966
1966
  }
1967
1967
  shouldSendDefaultPii() {
@@ -1985,9 +1985,9 @@ Sentry.init({...});
1985
1985
  function rn() {
1986
1986
  return ie.__SENTRY__ = ie.__SENTRY__ || { extensions: {}, hub: void 0 }, ie;
1987
1987
  }
1988
- function ki(t) {
1988
+ function Ei(t) {
1989
1989
  const e = rn(), n = Wn(e);
1990
- return no(e, t), n;
1990
+ return ro(e, t), n;
1991
1991
  }
1992
1992
  function te() {
1993
1993
  const t = rn();
@@ -1996,24 +1996,24 @@ function te() {
1996
1996
  if (e) return e;
1997
1997
  }
1998
1998
  return function(e = rn()) {
1999
- n = e, n && n.__SENTRY__ && n.__SENTRY__.hub && !Wn(e).isOlderThan(to) || no(e, new br());
1999
+ n = e, n && n.__SENTRY__ && n.__SENTRY__.hub && !Wn(e).isOlderThan(no) || ro(e, new wr());
2000
2000
  var n;
2001
2001
  return Wn(e);
2002
2002
  }(t);
2003
2003
  }
2004
2004
  function Wn(t) {
2005
- return gr("hub", () => new br(), t);
2005
+ return vr("hub", () => new wr(), t);
2006
2006
  }
2007
- function no(t, e) {
2007
+ function ro(t, e) {
2008
2008
  return t ? ((t.__SENTRY__ = t.__SENTRY__ || {}).hub = e, !0) : !1;
2009
2009
  }
2010
- const Pa = "7";
2011
- function Ra(t, e) {
2012
- return n = { sentry_key: t.publicKey, sentry_version: Pa, ...e && { sentry_client: `${e.name}/${e.version}` } }, Object.keys(n).map((r) => `${encodeURIComponent(r)}=${encodeURIComponent(n[r])}`).join("&");
2010
+ const Ra = "7";
2011
+ function xa(t, e) {
2012
+ return n = { sentry_key: t.publicKey, sentry_version: Ra, ...e && { sentry_client: `${e.name}/${e.version}` } }, Object.keys(n).map((r) => `${encodeURIComponent(r)}=${encodeURIComponent(n[r])}`).join("&");
2013
2013
  var n;
2014
2014
  }
2015
- function xa(t, e, n, r) {
2016
- const i = Xs(n), s = t.type && t.type !== "replay_event" ? t.type : "event";
2015
+ function Da(t, e, n, r) {
2016
+ const i = Zs(n), s = t.type && t.type !== "replay_event" ? t.type : "event";
2017
2017
  (function(c, l) {
2018
2018
  l && (c.sdk = c.sdk || {}, c.sdk.name = c.sdk.name || l.name, c.sdk.version = c.sdk.version || l.version, c.sdk.integrations = [...c.sdk.integrations || [], ...l.integrations || []], c.sdk.packages = [...c.sdk.packages || [], ...l.packages || []]);
2019
2019
  })(t, n && n.sdk);
@@ -2023,15 +2023,15 @@ function xa(t, e, n, r) {
2023
2023
  }(t, i, r, e);
2024
2024
  return delete t.sdkProcessingMetadata, Et(a, [[{ type: s }, t]]);
2025
2025
  }
2026
- const Ei = [];
2027
- function Ti(t, e) {
2028
- e[t.name] = t, Ei.indexOf(t.name) === -1 && (t.setupOnce(eo, te), Ei.push(t.name), (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(`Integration installed: ${t.name}`));
2026
+ const Ti = [];
2027
+ function Ci(t, e) {
2028
+ e[t.name] = t, Ti.indexOf(t.name) === -1 && (t.setupOnce(to, te), Ti.push(t.name), (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(`Integration installed: ${t.name}`));
2029
2029
  }
2030
- function Da(t, e, n, r) {
2030
+ function La(t, e, n, r) {
2031
2031
  const { normalizeDepth: i = 3, normalizeMaxBreadth: s = 1e3 } = t, a = { ...e, event_id: e.event_id || n.event_id || xe(), timestamp: e.timestamp || pn() }, c = n.integrations || t.integrations.map((h) => h.name);
2032
2032
  (function(h, f) {
2033
2033
  const { environment: _, release: k, dist: y, maxValueLength: w = 250 } = f;
2034
- "environment" in h || (h.environment = "environment" in f ? _ : _r), h.release === void 0 && k !== void 0 && (h.release = k), h.dist === void 0 && y !== void 0 && (h.dist = y), h.message && (h.message = et(h.message, w));
2034
+ "environment" in h || (h.environment = "environment" in f ? _ : br), h.release === void 0 && k !== void 0 && (h.release = k), h.dist === void 0 && y !== void 0 && (h.dist = y), h.message && (h.message = et(h.message, w));
2035
2035
  const T = h.exception && h.exception.values && h.exception.values[0];
2036
2036
  T && T.value && (T.value = et(T.value, w));
2037
2037
  const M = h.request;
@@ -2042,8 +2042,8 @@ function Da(t, e, n, r) {
2042
2042
  const _ = ie._sentryDebugIds;
2043
2043
  if (!_) return;
2044
2044
  let k;
2045
- const y = Ci.get(f);
2046
- y ? k = y : (k = /* @__PURE__ */ new Map(), Ci.set(f, k));
2045
+ const y = Mi.get(f);
2046
+ y ? k = y : (k = /* @__PURE__ */ new Map(), Mi.set(f, k));
2047
2047
  const w = Object.keys(_).reduce((T, M) => {
2048
2048
  let B;
2049
2049
  const L = k.get(M);
@@ -2098,7 +2098,7 @@ function Da(t, e, n, r) {
2098
2098
  return f.contexts && f.contexts.trace && y.contexts && (y.contexts.trace = f.contexts.trace, f.contexts.trace.data && (y.contexts.trace.data = Re(f.contexts.trace.data, _, k))), f.spans && (y.spans = f.spans.map((w) => (w.data && (w.data = Re(w.data, _, k)), w))), y;
2099
2099
  }(h, i, s) : h));
2100
2100
  }
2101
- const Ci = /* @__PURE__ */ new WeakMap(), Mi = "Not capturing exception because it's already been captured.";
2101
+ const Mi = /* @__PURE__ */ new WeakMap(), Oi = "Not capturing exception because it's already been captured.";
2102
2102
  class qe {
2103
2103
  __init() {
2104
2104
  this._integrations = {};
@@ -2116,7 +2116,7 @@ class qe {
2116
2116
  this._hooks = {};
2117
2117
  }
2118
2118
  constructor(e) {
2119
- if (qe.prototype.__init.call(this), qe.prototype.__init2.call(this), qe.prototype.__init3.call(this), qe.prototype.__init4.call(this), qe.prototype.__init5.call(this), this._options = e, e.dsn ? this._dsn = ga(e.dsn) : (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn("No DSN provided, client will not do anything."), this._dsn) {
2119
+ if (qe.prototype.__init.call(this), qe.prototype.__init2.call(this), qe.prototype.__init3.call(this), qe.prototype.__init4.call(this), qe.prototype.__init5.call(this), this._options = e, e.dsn ? this._dsn = va(e.dsn) : (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn("No DSN provided, client will not do anything."), this._dsn) {
2120
2120
  const n = function(r, i = {}) {
2121
2121
  const s = typeof i == "string" ? i : i.tunnel, a = typeof i != "string" && i._metadata ? i._metadata.sdk : void 0;
2122
2122
  return s || `${function(c) {
@@ -2124,13 +2124,13 @@ class qe {
2124
2124
  const p = l.protocol ? `${l.protocol}:` : "", h = l.port ? `:${l.port}` : "";
2125
2125
  return `${p}//${l.host}${h}${l.path ? `/${l.path}` : ""}/api/`;
2126
2126
  }(c)}${c.projectId}/envelope/`;
2127
- }(r)}?${Ra(r, a)}`;
2127
+ }(r)}?${xa(r, a)}`;
2128
2128
  }(this._dsn, e);
2129
2129
  this._transport = e.transport({ recordDroppedEvent: this.recordDroppedEvent.bind(this), ...e.transportOptions, url: n });
2130
2130
  }
2131
2131
  }
2132
2132
  captureException(e, n, r) {
2133
- if (yi(e)) return void ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(Mi));
2133
+ if (_i(e)) return void ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(Oi));
2134
2134
  let i = n && n.event_id;
2135
2135
  return this._process(this.eventFromException(e, n).then((s) => this._captureEvent(s, n, r)).then((s) => {
2136
2136
  i = s;
@@ -2138,13 +2138,13 @@ class qe {
2138
2138
  }
2139
2139
  captureMessage(e, n, r, i) {
2140
2140
  let s = r && r.event_id;
2141
- const a = $s(e) ? this.eventFromMessage(String(e), n, r) : this.eventFromException(e, r);
2141
+ const a = Gs(e) ? this.eventFromMessage(String(e), n, r) : this.eventFromException(e, r);
2142
2142
  return this._process(a.then((c) => this._captureEvent(c, r, i)).then((c) => {
2143
2143
  s = c;
2144
2144
  })), s;
2145
2145
  }
2146
2146
  captureEvent(e, n, r) {
2147
- if (n && n.originalException && yi(n.originalException)) return void ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(Mi));
2147
+ if (n && n.originalException && _i(n.originalException)) return void ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(Oi));
2148
2148
  let i = n && n.event_id;
2149
2149
  return this._process(this._captureEvent(e, n, r).then((s) => {
2150
2150
  i = s;
@@ -2176,7 +2176,7 @@ class qe {
2176
2176
  this._isEnabled() && !this._integrationsInitialized && (this._integrations = function(e) {
2177
2177
  const n = {};
2178
2178
  return e.forEach((r) => {
2179
- r && Ti(r, n);
2179
+ r && Ci(r, n);
2180
2180
  }), n;
2181
2181
  }(this._options.integrations), this._integrationsInitialized = !0);
2182
2182
  }
@@ -2191,12 +2191,12 @@ class qe {
2191
2191
  }
2192
2192
  }
2193
2193
  addIntegration(e) {
2194
- Ti(e, this._integrations);
2194
+ Ci(e, this._integrations);
2195
2195
  }
2196
2196
  sendEvent(e, n = {}) {
2197
2197
  if (this._dsn) {
2198
- let r = xa(e, this._dsn, this._options._metadata, this._options.tunnel);
2199
- for (const s of n.attachments || []) r = Sa(r, Ea(s, this._options.transportOptions && this._options.transportOptions.textEncoder));
2198
+ let r = Da(e, this._dsn, this._options._metadata, this._options.tunnel);
2199
+ for (const s of n.attachments || []) r = ka(r, Ta(s, this._options.transportOptions && this._options.transportOptions.textEncoder));
2200
2200
  const i = this._sendEnvelope(r);
2201
2201
  i && i.then((s) => this.emit("afterSendEvent", e, s), null);
2202
2202
  }
@@ -2204,7 +2204,7 @@ class qe {
2204
2204
  sendSession(e) {
2205
2205
  if (this._dsn) {
2206
2206
  const n = function(r, i, s, a) {
2207
- const c = Xs(s);
2207
+ const c = Zs(s);
2208
2208
  return Et({ sent_at: (/* @__PURE__ */ new Date()).toISOString(), ...c && { sdk: c }, ...!!a && { dsn: tn(i) } }, ["aggregates" in r ? [{ type: "sessions" }, r] : [{ type: "session" }, r.toJSON()]]);
2209
2209
  }(e, this._dsn, this._options._metadata, this._options.tunnel);
2210
2210
  this._sendEnvelope(n);
@@ -2251,14 +2251,14 @@ class qe {
2251
2251
  }
2252
2252
  _prepareEvent(e, n, r) {
2253
2253
  const i = this.getOptions(), s = Object.keys(this._integrations);
2254
- return !n.integrations && s.length > 0 && (n.integrations = s), Da(i, e, n, r).then((a) => {
2254
+ return !n.integrations && s.length > 0 && (n.integrations = s), La(i, e, n, r).then((a) => {
2255
2255
  if (a === null) return a;
2256
2256
  const { propagationContext: c } = a.sdkProcessingMetadata || {};
2257
2257
  if (!(a.contexts && a.contexts.trace) && c) {
2258
2258
  const { traceId: l, spanId: p, parentSpanId: h, dsc: f } = c;
2259
2259
  a.contexts = { trace: { trace_id: l, span_id: p, parent_span_id: h }, ...a.contexts };
2260
2260
  const _ = f || function(k, y, w) {
2261
- const T = y.getOptions(), { publicKey: M } = y.getDsn() || {}, { segment: B } = w && w.getUser() || {}, L = hn({ environment: T.environment || _r, release: T.release, user_segment: B, public_key: M, trace_id: k });
2261
+ const T = y.getOptions(), { publicKey: M } = y.getDsn() || {}, { segment: B } = w && w.getUser() || {}, L = hn({ environment: T.environment || br, release: T.release, user_segment: B, public_key: M, trace_id: k });
2262
2262
  return y.emit && y.emit("createDsc", L), L;
2263
2263
  }(l, this, r);
2264
2264
  a.sdkProcessingMetadata = { dynamicSamplingContext: _, ...a.sdkProcessingMetadata };
@@ -2277,7 +2277,7 @@ class qe {
2277
2277
  _processEvent(e, n, r) {
2278
2278
  const i = this.getOptions(), { sampleRate: s } = i;
2279
2279
  if (!this._isEnabled()) return nn(new le("SDK not enabled, will not capture event.", "log"));
2280
- const a = Ai(e), c = Oi(e), l = e.type || "error", p = `before send for type \`${l}\``;
2280
+ const a = Pi(e), c = Ai(e), l = e.type || "error", p = `before send for type \`${l}\``;
2281
2281
  if (c && typeof s == "number" && Math.random() > s) return this.recordDroppedEvent("sample_rate", "error", e), nn(new le(`Discarding event because it's not included in the random sample (sampling rate = ${s})`, "log"));
2282
2282
  const h = l === "replay_event" ? "replay" : l;
2283
2283
  return this._prepareEvent(e, n, r).then((f) => {
@@ -2285,11 +2285,11 @@ class qe {
2285
2285
  if (n.data && n.data.__sentry__ === !0) return f;
2286
2286
  const _ = function(k, y, w) {
2287
2287
  const { beforeSend: T, beforeSendTransaction: M } = k;
2288
- return Oi(y) && T ? T(y, w) : Ai(y) && M ? M(y, w) : y;
2288
+ return Ai(y) && T ? T(y, w) : Pi(y) && M ? M(y, w) : y;
2289
2289
  }(i, f, n);
2290
2290
  return function(k, y) {
2291
2291
  const w = `${y} must return \`null\` or a valid event.`;
2292
- if (mr(k)) return k.then((T) => {
2292
+ if (gr(k)) return k.then((T) => {
2293
2293
  if (!ot(T) && T !== null) throw new le(w);
2294
2294
  return T;
2295
2295
  }, (T) => {
@@ -2330,35 +2330,35 @@ Reason: ${f}`));
2330
2330
  });
2331
2331
  }
2332
2332
  }
2333
- function Oi(t) {
2333
+ function Ai(t) {
2334
2334
  return t.type === void 0;
2335
2335
  }
2336
- function Ai(t) {
2336
+ function Pi(t) {
2337
2337
  return t.type === "transaction";
2338
2338
  }
2339
- const La = 30;
2340
- function Na(t, e, n = ba(t.bufferSize || La)) {
2339
+ const Na = 30;
2340
+ function ja(t, e, n = wa(t.bufferSize || Na)) {
2341
2341
  let r = {};
2342
2342
  function i(s) {
2343
2343
  const a = [];
2344
- if (bi(s, (p, h) => {
2345
- const f = wi(h);
2344
+ if (wi(s, (p, h) => {
2345
+ const f = Si(h);
2346
2346
  if (function(_, k, y = Date.now()) {
2347
2347
  return function(w, T) {
2348
2348
  return w[T] || w.all || 0;
2349
2349
  }(_, k) > y;
2350
2350
  }(r, f)) {
2351
- const _ = Pi(p, h);
2351
+ const _ = Ri(p, h);
2352
2352
  t.recordDroppedEvent("ratelimit_backoff", f, _);
2353
2353
  } else a.push(p);
2354
2354
  }), a.length === 0) return ze();
2355
2355
  const c = Et(s[0], a), l = (p) => {
2356
- bi(c, (h, f) => {
2357
- const _ = Pi(h, f);
2358
- t.recordDroppedEvent(p, wi(f), _);
2356
+ wi(c, (h, f) => {
2357
+ const _ = Ri(h, f);
2358
+ t.recordDroppedEvent(p, Si(f), _);
2359
2359
  });
2360
2360
  };
2361
- return n.add(() => e({ body: ka(c, t.textEncoder) }).then((p) => (p.statusCode !== void 0 && (p.statusCode < 200 || p.statusCode >= 300) && (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn(`Sentry responded with status code ${p.statusCode} to sent event.`), r = Ma(r, p), p), (p) => {
2361
+ return n.add(() => e({ body: Ea(c, t.textEncoder) }).then((p) => (p.statusCode !== void 0 && (p.statusCode < 200 || p.statusCode >= 300) && (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn(`Sentry responded with status code ${p.statusCode} to sent event.`), r = Oa(r, p), p), (p) => {
2362
2362
  throw l("network_error"), p;
2363
2363
  })).then((p) => p, (p) => {
2364
2364
  if (p instanceof le) return (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.error("Skipped sending event because buffer is full."), l("queue_overflow"), ze();
@@ -2367,11 +2367,11 @@ function Na(t, e, n = ba(t.bufferSize || La)) {
2367
2367
  }
2368
2368
  return i.__sentry__baseTransport__ = !0, { send: i, flush: (s) => n.drain(s) };
2369
2369
  }
2370
- function Pi(t, e) {
2370
+ function Ri(t, e) {
2371
2371
  if (e === "event" || e === "transaction") return Array.isArray(t) ? t[1] : void 0;
2372
2372
  }
2373
- const Ri = "7.60.1";
2374
- let xi;
2373
+ const xi = "7.60.1";
2374
+ let Di;
2375
2375
  class Tt {
2376
2376
  constructor() {
2377
2377
  Tt.prototype.__init.call(this);
@@ -2383,18 +2383,18 @@ class Tt {
2383
2383
  this.name = Tt.id;
2384
2384
  }
2385
2385
  setupOnce() {
2386
- xi = Function.prototype.toString;
2386
+ Di = Function.prototype.toString;
2387
2387
  try {
2388
2388
  Function.prototype.toString = function(...e) {
2389
- const n = yr(this) || this;
2390
- return xi.apply(n, e);
2389
+ const n = _r(this) || this;
2390
+ return Di.apply(n, e);
2391
2391
  };
2392
2392
  } catch {
2393
2393
  }
2394
2394
  }
2395
2395
  }
2396
2396
  Tt.__initStatic();
2397
- const ja = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/], Ia = [/^.*healthcheck.*$/, /^.*healthy.*$/, /^.*live.*$/, /^.*ready.*$/, /^.*heartbeat.*$/, /^.*\/health$/, /^.*\/healthz$/];
2397
+ const Ia = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/], Ba = [/^.*healthcheck.*$/, /^.*healthy.*$/, /^.*live.*$/, /^.*ready.*$/, /^.*heartbeat.*$/, /^.*\/health$/, /^.*\/healthz$/];
2398
2398
  class tt {
2399
2399
  static __initStatic() {
2400
2400
  this.id = "InboundFilters";
@@ -2412,7 +2412,7 @@ class tt {
2412
2412
  const a = s.getIntegration(tt);
2413
2413
  if (a) {
2414
2414
  const c = s.getClient(), l = c ? c.getOptions() : {}, p = function(h = {}, f = {}) {
2415
- return { allowUrls: [...h.allowUrls || [], ...f.allowUrls || []], denyUrls: [...h.denyUrls || [], ...f.denyUrls || []], ignoreErrors: [...h.ignoreErrors || [], ...f.ignoreErrors || [], ...h.disableErrorDefaults ? [] : ja], ignoreTransactions: [...h.ignoreTransactions || [], ...f.ignoreTransactions || [], ...h.disableTransactionDefaults ? [] : Ia], ignoreInternal: h.ignoreInternal === void 0 || h.ignoreInternal };
2415
+ return { allowUrls: [...h.allowUrls || [], ...f.allowUrls || []], denyUrls: [...h.denyUrls || [], ...f.denyUrls || []], ignoreErrors: [...h.ignoreErrors || [], ...f.ignoreErrors || [], ...h.disableErrorDefaults ? [] : Ia], ignoreTransactions: [...h.ignoreTransactions || [], ...f.ignoreTransactions || [], ...h.disableTransactionDefaults ? [] : Ba], ignoreInternal: h.ignoreInternal === void 0 || h.ignoreInternal };
2416
2416
  }(a._options, l);
2417
2417
  return function(h, f) {
2418
2418
  return f.ignoreInternal && function(_) {
@@ -2482,10 +2482,10 @@ function Ut(t) {
2482
2482
  }
2483
2483
  }
2484
2484
  tt.__initStatic();
2485
- var Ba = Object.freeze({ __proto__: null, FunctionToString: Tt, InboundFilters: tt });
2485
+ var Fa = Object.freeze({ __proto__: null, FunctionToString: Tt, InboundFilters: tt });
2486
2486
  const F = ie;
2487
2487
  let Yn = 0;
2488
- function ro() {
2488
+ function io() {
2489
2489
  return Yn > 0;
2490
2490
  }
2491
2491
  function ct(t, e = {}, n) {
@@ -2493,7 +2493,7 @@ function ct(t, e = {}, n) {
2493
2493
  try {
2494
2494
  const i = t.__sentry_wrapped__;
2495
2495
  if (i) return i;
2496
- if (yr(t)) return t;
2496
+ if (_r(t)) return t;
2497
2497
  } catch {
2498
2498
  return t;
2499
2499
  }
@@ -2517,25 +2517,25 @@ function ct(t, e = {}, n) {
2517
2517
  for (const i in t) Object.prototype.hasOwnProperty.call(t, i) && (r[i] = t[i]);
2518
2518
  } catch {
2519
2519
  }
2520
- Hs(r, t), vr(t, "__sentry_wrapped__", r);
2520
+ zs(r, t), yr(t, "__sentry_wrapped__", r);
2521
2521
  try {
2522
2522
  Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get: () => t.name });
2523
2523
  } catch {
2524
2524
  }
2525
2525
  return r;
2526
2526
  }
2527
- function io(t, e) {
2528
- const n = wr(t, e), r = { type: e && e.name, value: Ua(e) };
2527
+ function so(t, e) {
2528
+ const n = Sr(t, e), r = { type: e && e.name, value: qa(e) };
2529
2529
  return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
2530
2530
  }
2531
2531
  function Tn(t, e) {
2532
- return { exception: { values: [io(t, e)] } };
2532
+ return { exception: { values: [so(t, e)] } };
2533
2533
  }
2534
- function wr(t, e) {
2534
+ function Sr(t, e) {
2535
2535
  const n = e.stacktrace || e.stack || "", r = function(i) {
2536
2536
  if (i) {
2537
2537
  if (typeof i.framesToPop == "number") return i.framesToPop;
2538
- if (Fa.test(i.message)) return 1;
2538
+ if (Ua.test(i.message)) return 1;
2539
2539
  }
2540
2540
  return 0;
2541
2541
  }(e);
@@ -2545,28 +2545,28 @@ function wr(t, e) {
2545
2545
  }
2546
2546
  return [];
2547
2547
  }
2548
- const Fa = /Minified React error #\d+;/i;
2549
- function Ua(t) {
2548
+ const Ua = /Minified React error #\d+;/i;
2549
+ function qa(t) {
2550
2550
  const e = t && t.message;
2551
2551
  return e ? e.error && typeof e.error.message == "string" ? e.error.message : e : "No error message";
2552
2552
  }
2553
- function Sr(t, e, n, r, i) {
2553
+ function kr(t, e, n, r, i) {
2554
2554
  let s;
2555
- if (fr(e) && e.error)
2555
+ if (mr(e) && e.error)
2556
2556
  return Tn(t, e.error);
2557
- if (oi(e) || lt(e, "DOMException")) {
2557
+ if (ai(e) || lt(e, "DOMException")) {
2558
2558
  const a = e;
2559
2559
  if ("stack" in e) s = Tn(t, e);
2560
2560
  else {
2561
- const c = a.name || (oi(a) ? "DOMError" : "DOMException"), l = a.message ? `${c}: ${a.message}` : c;
2561
+ const c = a.name || (ai(a) ? "DOMError" : "DOMException"), l = a.message ? `${c}: ${a.message}` : c;
2562
2562
  s = Kn(t, l, n, r), $n(s, l);
2563
2563
  }
2564
2564
  return "code" in a && (s.tags = { ...s.tags, "DOMException.code": `${a.code}` }), s;
2565
2565
  }
2566
- return Js(e) ? Tn(t, e) : ot(e) || Zt(e) ? (s = function(a, c, l, p) {
2567
- const h = te().getClient(), f = h && h.getOptions().normalizeDepth, _ = { exception: { values: [{ type: Zt(c) ? c.constructor.name : p ? "UnhandledRejection" : "Error", value: qa(c, { isUnhandledRejection: p }) }] }, extra: { __serialized__: Ys(c, f) } };
2566
+ return $s(e) ? Tn(t, e) : ot(e) || Zt(e) ? (s = function(a, c, l, p) {
2567
+ const h = te().getClient(), f = h && h.getOptions().normalizeDepth, _ = { exception: { values: [{ type: Zt(c) ? c.constructor.name : p ? "UnhandledRejection" : "Error", value: Va(c, { isUnhandledRejection: p }) }] }, extra: { __serialized__: Ks(c, f) } };
2568
2568
  if (l) {
2569
- const k = wr(a, l);
2569
+ const k = Sr(a, l);
2570
2570
  k.length && (_.exception.values[0].stacktrace = { frames: k });
2571
2571
  }
2572
2572
  return _;
@@ -2575,14 +2575,14 @@ function Sr(t, e, n, r, i) {
2575
2575
  function Kn(t, e, n, r) {
2576
2576
  const i = { message: e };
2577
2577
  if (r && n) {
2578
- const s = wr(t, n);
2578
+ const s = Sr(t, n);
2579
2579
  s.length && (i.exception = { values: [{ value: e, stacktrace: { frames: s } }] });
2580
2580
  }
2581
2581
  return i;
2582
2582
  }
2583
- function qa(t, { isUnhandledRejection: e }) {
2583
+ function Va(t, { isUnhandledRejection: e }) {
2584
2584
  const n = function(i, s = 40) {
2585
- const a = Object.keys(zs(i));
2585
+ const a = Object.keys(Ws(i));
2586
2586
  if (a.sort(), !a.length) return "[object has no keys]";
2587
2587
  if (a[0].length >= s) return et(a[0], s);
2588
2588
  for (let c = a.length; c > 0; c--) {
@@ -2591,7 +2591,7 @@ function qa(t, { isUnhandledRejection: e }) {
2591
2591
  }
2592
2592
  return "";
2593
2593
  }(t), r = e ? "promise rejection" : "exception";
2594
- return fr(t) ? `Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\`` : Zt(t) ? `Event \`${function(i) {
2594
+ return mr(t) ? `Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\`` : Zt(t) ? `Event \`${function(i) {
2595
2595
  try {
2596
2596
  const s = Object.getPrototypeOf(i);
2597
2597
  return s ? s.constructor.name : void 0;
@@ -2599,10 +2599,10 @@ function qa(t, { isUnhandledRejection: e }) {
2599
2599
  }
2600
2600
  }(t)}\` (type=${t.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
2601
2601
  }
2602
- const Di = 1024, so = "Breadcrumbs";
2602
+ const Li = 1024, oo = "Breadcrumbs";
2603
2603
  class Ct {
2604
2604
  static __initStatic() {
2605
- this.id = so;
2605
+ this.id = oo;
2606
2606
  }
2607
2607
  __init() {
2608
2608
  this.name = Ct.id;
@@ -2611,10 +2611,10 @@ class Ct {
2611
2611
  Ct.prototype.__init.call(this), this.options = { console: !0, dom: !0, fetch: !0, history: !0, sentry: !0, xhr: !0, ...e };
2612
2612
  }
2613
2613
  setupOnce() {
2614
- this.options.console && Ue("console", Va), this.options.dom && Ue("dom", /* @__PURE__ */ function(e) {
2614
+ this.options.console && Ue("console", Ja), this.options.dom && Ue("dom", /* @__PURE__ */ function(e) {
2615
2615
  function n(r) {
2616
2616
  let i, s = typeof e == "object" ? e.serializeAttribute : void 0, a = typeof e == "object" && typeof e.maxStringLength == "number" ? e.maxStringLength : void 0;
2617
- a && a > Di && ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`), a = Di), typeof s == "string" && (s = [s]);
2617
+ a && a > Li && ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`), a = Li), typeof s == "string" && (s = [s]);
2618
2618
  try {
2619
2619
  const c = r.event;
2620
2620
  i = function(l) {
@@ -2626,32 +2626,32 @@ class Ct {
2626
2626
  i.length !== 0 && te().addBreadcrumb({ category: `ui.${r.name}`, message: i }, { event: r.event, name: r.name, global: r.global });
2627
2627
  }
2628
2628
  return n;
2629
- }(this.options.dom)), this.options.xhr && Ue("xhr", Ja), this.options.fetch && Ue("fetch", $a), this.options.history && Ue("history", Ga);
2629
+ }(this.options.dom)), this.options.xhr && Ue("xhr", $a), this.options.fetch && Ue("fetch", Ga), this.options.history && Ue("history", Ha);
2630
2630
  }
2631
2631
  addSentryBreadcrumb(e) {
2632
2632
  this.options.sentry && te().addBreadcrumb({ category: "sentry." + (e.type === "transaction" ? "transaction" : "event"), event_id: e.event_id, level: e.level, message: Pe(e) }, { event: e });
2633
2633
  }
2634
2634
  }
2635
- function Va(t) {
2635
+ function Ja(t) {
2636
2636
  for (let r = 0; r < t.args.length; r++) if (t.args[r] === "ref=Ref<") {
2637
2637
  t.args[r + 1] = "viewRef";
2638
2638
  break;
2639
2639
  }
2640
- const e = { category: "console", data: { arguments: t.args, logger: "console" }, level: (n = t.level, n === "warn" ? "warning" : wa.includes(n) ? n : "log"), message: ai(t.args, " ") };
2640
+ const e = { category: "console", data: { arguments: t.args, logger: "console" }, level: (n = t.level, n === "warn" ? "warning" : Sa.includes(n) ? n : "log"), message: ci(t.args, " ") };
2641
2641
  var n;
2642
2642
  if (t.level === "assert") {
2643
2643
  if (t.args[0] !== !1) return;
2644
- e.message = `Assertion failed: ${ai(t.args.slice(1), " ") || "console.assert"}`, e.data.arguments = t.args.slice(1);
2644
+ e.message = `Assertion failed: ${ci(t.args.slice(1), " ") || "console.assert"}`, e.data.arguments = t.args.slice(1);
2645
2645
  }
2646
2646
  te().addBreadcrumb(e, { input: t.args, level: t.level });
2647
2647
  }
2648
- function Ja(t) {
2648
+ function $a(t) {
2649
2649
  const { startTimestamp: e, endTimestamp: n } = t, r = t.xhr[vt];
2650
2650
  if (!e || !n || !r) return;
2651
2651
  const { method: i, url: s, status_code: a, body: c } = r, l = { method: i, url: s, status_code: a }, p = { xhr: t.xhr, input: c, startTimestamp: e, endTimestamp: n };
2652
2652
  te().addBreadcrumb({ category: "xhr", data: l, type: "http" }, p);
2653
2653
  }
2654
- function $a(t) {
2654
+ function Ga(t) {
2655
2655
  const { startTimestamp: e, endTimestamp: n } = t;
2656
2656
  if (n && (!t.fetchData.url.match(/sentry_key/) || t.fetchData.method !== "POST")) if (t.error) {
2657
2657
  const r = t.fetchData, i = { data: t.error, input: t.args, startTimestamp: e, endTimestamp: n };
@@ -2661,7 +2661,7 @@ function $a(t) {
2661
2661
  te().addBreadcrumb({ category: "fetch", data: r, type: "http" }, i);
2662
2662
  }
2663
2663
  }
2664
- function Ga(t) {
2664
+ function Ha(t) {
2665
2665
  let e = t.from, n = t.to;
2666
2666
  const r = kn(F.location.href);
2667
2667
  let i = kn(e);
@@ -2669,16 +2669,16 @@ function Ga(t) {
2669
2669
  i.path || (i = r), r.protocol === s.protocol && r.host === s.host && (n = s.relative), r.protocol === i.protocol && r.host === i.host && (e = i.relative), te().addBreadcrumb({ category: "navigation", data: { from: e, to: n } });
2670
2670
  }
2671
2671
  Ct.__initStatic();
2672
- class Ha extends qe {
2672
+ class za extends qe {
2673
2673
  constructor(e) {
2674
2674
  const n = F.SENTRY_SDK_SOURCE || "npm";
2675
- e._metadata = e._metadata || {}, e._metadata.sdk = e._metadata.sdk || { name: "sentry.javascript.browser", packages: [{ name: `${n}:@sentry/browser`, version: Ri }], version: Ri }, super(e), e.sendClientReports && F.document && F.document.addEventListener("visibilitychange", () => {
2675
+ e._metadata = e._metadata || {}, e._metadata.sdk = e._metadata.sdk || { name: "sentry.javascript.browser", packages: [{ name: `${n}:@sentry/browser`, version: xi }], version: xi }, super(e), e.sendClientReports && F.document && F.document.addEventListener("visibilitychange", () => {
2676
2676
  F.document.visibilityState === "hidden" && this._flushOutcomes();
2677
2677
  });
2678
2678
  }
2679
2679
  eventFromException(e, n) {
2680
2680
  return function(r, i, s, a) {
2681
- const c = Sr(r, i, s && s.syntheticException || void 0, a);
2681
+ const c = kr(r, i, s && s.syntheticException || void 0, a);
2682
2682
  return kt(c), c.level = "error", s && s.event_id && (c.event_id = s.event_id), ze(c);
2683
2683
  }(this._options.stackParser, e, n, this._options.attachStacktrace);
2684
2684
  }
@@ -2689,7 +2689,7 @@ class Ha extends qe {
2689
2689
  }(this._options.stackParser, e, n, r, this._options.attachStacktrace);
2690
2690
  }
2691
2691
  sendEvent(e, n) {
2692
- const r = this.getIntegrationById(so);
2692
+ const r = this.getIntegrationById(oo);
2693
2693
  r && r.addSentryBreadcrumb && r.addSentryBreadcrumb(e), super.sendEvent(e, n);
2694
2694
  }
2695
2695
  captureUserFeedback(e) {
@@ -2716,7 +2716,7 @@ class Ha extends qe {
2716
2716
  }
2717
2717
  }
2718
2718
  let ft;
2719
- function za(t, e = function() {
2719
+ function Wa(t, e = function() {
2720
2720
  if (ft) return ft;
2721
2721
  if (Vn(F.fetch)) return ft = F.fetch.bind(F);
2722
2722
  const n = F.document;
@@ -2732,7 +2732,7 @@ function za(t, e = function() {
2732
2732
  return ft = r.bind(F);
2733
2733
  }()) {
2734
2734
  let n = 0, r = 0;
2735
- return Na(t, function(i) {
2735
+ return ja(t, function(i) {
2736
2736
  const s = i.body.length;
2737
2737
  n += s, r++;
2738
2738
  const a = { body: i.body, method: "POST", referrerPolicy: "origin", headers: t.headers, keepalive: n <= 6e4 && r < 15, ...t.fetchOptions };
@@ -2751,7 +2751,7 @@ class De {
2751
2751
  this.name = De.id;
2752
2752
  }
2753
2753
  __init2() {
2754
- this._installFunc = { onerror: Wa, onunhandledrejection: Ya };
2754
+ this._installFunc = { onerror: Ya, onunhandledrejection: Ka };
2755
2755
  }
2756
2756
  constructor(e) {
2757
2757
  De.prototype.__init.call(this), De.prototype.__init2.call(this), this._options = { onerror: !0, onunhandledrejection: !0, ...e };
@@ -2766,54 +2766,54 @@ class De {
2766
2766
  var n;
2767
2767
  }
2768
2768
  }
2769
- function Wa() {
2769
+ function Ya() {
2770
2770
  Ue("error", (t) => {
2771
- const [e, n, r] = ao();
2771
+ const [e, n, r] = co();
2772
2772
  if (!e.getIntegration(De)) return;
2773
2773
  const { msg: i, url: s, line: a, column: c, error: l } = t;
2774
- if (ro() || l && l.__sentry_own_request__) return;
2774
+ if (io() || l && l.__sentry_own_request__) return;
2775
2775
  const p = l === void 0 && Ge(i) ? function(h, f, _, k) {
2776
2776
  const y = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
2777
- let w = fr(h) ? h.message : h, T = "Error";
2777
+ let w = mr(h) ? h.message : h, T = "Error";
2778
2778
  const M = w.match(y);
2779
- return M && (T = M[1], w = M[2]), Li({ exception: { values: [{ type: T, value: w }] } }, f, _, k);
2780
- }(i, s, a, c) : Li(Sr(n, l || i, void 0, r, !1), s, a, c);
2781
- p.level = "error", oo(e, l, p, "onerror");
2779
+ return M && (T = M[1], w = M[2]), Ni({ exception: { values: [{ type: T, value: w }] } }, f, _, k);
2780
+ }(i, s, a, c) : Ni(kr(n, l || i, void 0, r, !1), s, a, c);
2781
+ p.level = "error", ao(e, l, p, "onerror");
2782
2782
  });
2783
2783
  }
2784
- function Ya() {
2784
+ function Ka() {
2785
2785
  Ue("unhandledrejection", (t) => {
2786
- const [e, n, r] = ao();
2786
+ const [e, n, r] = co();
2787
2787
  if (!e.getIntegration(De)) return;
2788
2788
  let i = t;
2789
2789
  try {
2790
2790
  "reason" in t ? i = t.reason : "detail" in t && "reason" in t.detail && (i = t.detail.reason);
2791
2791
  } catch {
2792
2792
  }
2793
- if (ro() || i && i.__sentry_own_request__) return !0;
2794
- const s = $s(i) ? { exception: { values: [{ type: "UnhandledRejection", value: `Non-Error promise rejection captured with value: ${String(i)}` }] } } : Sr(n, i, void 0, r, !0);
2795
- s.level = "error", oo(e, i, s, "onunhandledrejection");
2793
+ if (io() || i && i.__sentry_own_request__) return !0;
2794
+ const s = Gs(i) ? { exception: { values: [{ type: "UnhandledRejection", value: `Non-Error promise rejection captured with value: ${String(i)}` }] } } : kr(n, i, void 0, r, !0);
2795
+ s.level = "error", ao(e, i, s, "onunhandledrejection");
2796
2796
  });
2797
2797
  }
2798
- function Li(t, e, n, r) {
2798
+ function Ni(t, e, n, r) {
2799
2799
  const i = t.exception = t.exception || {}, s = i.values = i.values || [], a = s[0] = s[0] || {}, c = a.stacktrace = a.stacktrace || {}, l = c.frames = c.frames || [], p = isNaN(parseInt(r, 10)) ? void 0 : r, h = isNaN(parseInt(n, 10)) ? void 0 : n, f = Ge(e) && e.length > 0 ? e : function() {
2800
2800
  try {
2801
- return ha.document.location.href;
2801
+ return pa.document.location.href;
2802
2802
  } catch {
2803
2803
  return "";
2804
2804
  }
2805
2805
  }();
2806
2806
  return l.length === 0 && l.push({ colno: p, filename: f, function: "?", in_app: !0, lineno: h }), t;
2807
2807
  }
2808
- function oo(t, e, n, r) {
2808
+ function ao(t, e, n, r) {
2809
2809
  kt(n, { handled: !1, type: r }), t.captureEvent(n, { originalException: e });
2810
2810
  }
2811
- function ao() {
2811
+ function co() {
2812
2812
  const t = te(), e = t.getClient(), n = e && e.getOptions() || { stackParser: () => [], attachStacktrace: !1 };
2813
2813
  return [t, n.stackParser, n.attachStacktrace];
2814
2814
  }
2815
2815
  De.__initStatic();
2816
- const Ka = ["EventTarget", "Window", "Node", "ApplicationCache", "AudioTrackList", "ChannelMergerNode", "CryptoOperation", "EventSource", "FileReader", "HTMLUnknownElement", "IDBDatabase", "IDBRequest", "IDBTransaction", "KeyOperation", "MediaController", "MessagePort", "ModalWindow", "Notification", "SVGElementInstance", "Screen", "TextTrack", "TextTrackCue", "TextTrackList", "WebSocket", "WebSocketWorker", "Worker", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestUpload"];
2816
+ const Qa = ["EventTarget", "Window", "Node", "ApplicationCache", "AudioTrackList", "ChannelMergerNode", "CryptoOperation", "EventSource", "FileReader", "HTMLUnknownElement", "IDBDatabase", "IDBRequest", "IDBTransaction", "KeyOperation", "MediaController", "MessagePort", "ModalWindow", "Notification", "SVGElementInstance", "Screen", "TextTrack", "TextTrackCue", "TextTrackList", "WebSocket", "WebSocketWorker", "Worker", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestUpload"];
2817
2817
  class Mt {
2818
2818
  static __initStatic() {
2819
2819
  this.id = "TryCatch";
@@ -2825,34 +2825,34 @@ class Mt {
2825
2825
  Mt.prototype.__init.call(this), this._options = { XMLHttpRequest: !0, eventTarget: !0, requestAnimationFrame: !0, setInterval: !0, setTimeout: !0, ...e };
2826
2826
  }
2827
2827
  setupOnce() {
2828
- this._options.setTimeout && z(F, "setTimeout", Ni), this._options.setInterval && z(F, "setInterval", Ni), this._options.requestAnimationFrame && z(F, "requestAnimationFrame", Qa), this._options.XMLHttpRequest && "XMLHttpRequest" in F && z(XMLHttpRequest.prototype, "send", Xa);
2828
+ this._options.setTimeout && z(F, "setTimeout", ji), this._options.setInterval && z(F, "setInterval", ji), this._options.requestAnimationFrame && z(F, "requestAnimationFrame", Xa), this._options.XMLHttpRequest && "XMLHttpRequest" in F && z(XMLHttpRequest.prototype, "send", Za);
2829
2829
  const e = this._options.eventTarget;
2830
- e && (Array.isArray(e) ? e : Ka).forEach(Za);
2830
+ e && (Array.isArray(e) ? e : Qa).forEach(ec);
2831
2831
  }
2832
2832
  }
2833
- function Ni(t) {
2833
+ function ji(t) {
2834
2834
  return function(...e) {
2835
2835
  const n = e[0];
2836
2836
  return e[0] = ct(n, { mechanism: { data: { function: Le(t) }, handled: !0, type: "instrument" } }), t.apply(this, e);
2837
2837
  };
2838
2838
  }
2839
- function Qa(t) {
2839
+ function Xa(t) {
2840
2840
  return function(e) {
2841
2841
  return t.apply(this, [ct(e, { mechanism: { data: { function: "requestAnimationFrame", handler: Le(t) }, handled: !0, type: "instrument" } })]);
2842
2842
  };
2843
2843
  }
2844
- function Xa(t) {
2844
+ function Za(t) {
2845
2845
  return function(...e) {
2846
2846
  const n = this;
2847
2847
  return ["onload", "onerror", "onprogress", "onreadystatechange"].forEach((r) => {
2848
2848
  r in n && typeof n[r] == "function" && z(n, r, function(i) {
2849
- const s = { mechanism: { data: { function: r, handler: Le(i) }, handled: !0, type: "instrument" } }, a = yr(i);
2849
+ const s = { mechanism: { data: { function: r, handler: Le(i) }, handled: !0, type: "instrument" } }, a = _r(i);
2850
2850
  return a && (s.mechanism.data.handler = Le(a)), ct(i, s);
2851
2851
  });
2852
2852
  }), t.apply(this, e);
2853
2853
  };
2854
2854
  }
2855
- function Za(t) {
2855
+ function ec(t) {
2856
2856
  const e = F, n = e[t] && e[t].prototype;
2857
2857
  n && n.hasOwnProperty && n.hasOwnProperty("addEventListener") && (z(n, "addEventListener", function(r) {
2858
2858
  return function(i, s, a) {
@@ -2890,7 +2890,7 @@ class nt {
2890
2890
  const s = n(), a = s.getClient(), c = s.getIntegration(nt);
2891
2891
  if (!a || !c) return r;
2892
2892
  const l = a.getOptions();
2893
- return da(io, l.stackParser, l.maxValueLength, c._key, c._limit, r, i), r;
2893
+ return ha(so, l.stackParser, l.maxValueLength, c._key, c._limit, r, i), r;
2894
2894
  });
2895
2895
  }
2896
2896
  }
@@ -2906,7 +2906,7 @@ class rt {
2906
2906
  this.name = rt.id;
2907
2907
  }
2908
2908
  setupOnce() {
2909
- eo((e) => {
2909
+ to((e) => {
2910
2910
  if (te().getIntegration(rt)) {
2911
2911
  if (!F.navigator && !F.location && !F.document) return e;
2912
2912
  const n = e.request && e.request.url || F.location && F.location.href, { referrer: r } = F.document || {}, { userAgent: i } = F.navigator || {}, s = { ...e.request && e.request.headers, ...r && { Referer: r }, ...i && { "User-Agent": i } }, a = { ...e.request, ...n && { url: n }, headers: s };
@@ -2936,10 +2936,10 @@ class it {
2936
2936
  if (function(a, c) {
2937
2937
  return c ? !!(function(l, p) {
2938
2938
  const h = l.message, f = p.message;
2939
- return !(!h && !f || h && !f || !h && f || h !== f || !Ii(l, p) || !ji(l, p));
2939
+ return !(!h && !f || h && !f || !h && f || h !== f || !Bi(l, p) || !Ii(l, p));
2940
2940
  }(a, c) || function(l, p) {
2941
- const h = Bi(p), f = Bi(l);
2942
- return !(!h || !f || h.type !== f.type || h.value !== f.value || !Ii(l, p) || !ji(l, p));
2941
+ const h = Fi(p), f = Fi(l);
2942
+ return !(!h || !f || h.type !== f.type || h.value !== f.value || !Bi(l, p) || !Ii(l, p));
2943
2943
  }(a, c)) : !1;
2944
2944
  }(i, s._previousEvent)) return (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn("Event dropped due to being a duplicate of previously captured event."), null;
2945
2945
  } catch {
@@ -2952,8 +2952,8 @@ class it {
2952
2952
  r.id = this.name, e(r);
2953
2953
  }
2954
2954
  }
2955
- function ji(t, e) {
2956
- let n = Fi(t), r = Fi(e);
2955
+ function Ii(t, e) {
2956
+ let n = Ui(t), r = Ui(e);
2957
2957
  if (!n && !r) return !0;
2958
2958
  if (n && !r || !n && r || r.length !== n.length) return !1;
2959
2959
  for (let i = 0; i < r.length; i++) {
@@ -2962,7 +2962,7 @@ function ji(t, e) {
2962
2962
  }
2963
2963
  return !0;
2964
2964
  }
2965
- function Ii(t, e) {
2965
+ function Bi(t, e) {
2966
2966
  let n = t.fingerprint, r = e.fingerprint;
2967
2967
  if (!n && !r) return !0;
2968
2968
  if (n && !r || !n && r) return !1;
@@ -2972,10 +2972,10 @@ function Ii(t, e) {
2972
2972
  return !1;
2973
2973
  }
2974
2974
  }
2975
- function Bi(t) {
2975
+ function Fi(t) {
2976
2976
  return t.exception && t.exception.values && t.exception.values[0];
2977
2977
  }
2978
- function Fi(t) {
2978
+ function Ui(t) {
2979
2979
  const e = t.exception;
2980
2980
  if (e) try {
2981
2981
  return e.values[0].stacktrace.frames;
@@ -2984,21 +2984,21 @@ function Fi(t) {
2984
2984
  }
2985
2985
  }
2986
2986
  it.__initStatic();
2987
- var ec = Object.freeze({ __proto__: null, Breadcrumbs: Ct, Dedupe: it, GlobalHandlers: De, HttpContext: rt, LinkedErrors: nt, TryCatch: Mt });
2988
- let co = {};
2989
- F.Sentry && F.Sentry.Integrations && (co = F.Sentry.Integrations);
2990
- const Ui = { ...co, ...Ba, ...ec };
2991
- var qi = "new", Vi = "loading", Ji = "loaded", Qn = "joining-meeting", Qe = "joined-meeting", Ie = "left-meeting", Ce = "error", Cn = "unknown", tc = "full", nc = "base", rc = "*", ic = "iframe-ready-for-launch-config", sc = "iframe-launch-config", oc = "theme-updated", ac = "loading", cc = "load-attempt-failed", $i = "loaded", lc = "started-camera", uc = "camera-error", dc = "joining-meeting", hc = "joined-meeting", pc = "left-meeting", fc = "participant-joined", mc = "participant-updated", gc = "participant-left", vc = "participant-counts-updated", yc = "access-state-updated", _c = "meeting-session-summary-updated", bc = "meeting-session-state-updated", wc = "waiting-participant-added", Sc = "waiting-participant-updated", kc = "waiting-participant-removed", Ec = "track-started", Tc = "track-stopped", Cc = "transcription-started", Mc = "transcription-stopped", Oc = "transcription-error", Gi = "recording-started", Hi = "recording-stopped", Ac = "recording-stats", Pc = "recording-error", Rc = "recording-upload-completed", xc = "recording-data", Dc = "app-message", Lc = "transcription-message", Nc = "remote-media-player-started", jc = "remote-media-player-updated", Ic = "remote-media-player-stopped", Bc = "local-screen-share-started", Fc = "local-screen-share-stopped", Uc = "local-screen-share-canceled", qc = "active-speaker-change", Vc = "active-speaker-mode-change", Jc = "network-quality-change", $c = "network-connection", Gc = "cpu-load-change", Hc = "face-counts-updated", qt = "fullscreen", Vt = "exited-fullscreen", zc = "live-streaming-started", Wc = "live-streaming-updated", Yc = "live-streaming-stopped", Kc = "live-streaming-error", Qc = "lang-updated", Xc = "receive-settings-updated", Zc = "input-settings-updated", zi = "nonfatal-error", Wi = "error", Yi = 102400, Mn = "iframe-call-message", Ki = "local-screen-start", Qi = "daily-method-update-live-streaming-endpoints", Jt = "transmit-log", yt = "daily-custom-track", Wt = { NONE: "none", BGBLUR: "background-blur", BGIMAGE: "background-image", FACE_DETECTION: "face-detection" }, lo = { NONE: "none", NOISE_CANCELLATION: "noise-cancellation" }, Xn = { PLAY: "play", PAUSE: "pause" }, Xi = 10, On = ["jpg", "png", "jpeg"], el = "add-endpoints", tl = "remove-endpoints", Zi = "sip-call-transfer";
2987
+ var tc = Object.freeze({ __proto__: null, Breadcrumbs: Ct, Dedupe: it, GlobalHandlers: De, HttpContext: rt, LinkedErrors: nt, TryCatch: Mt });
2988
+ let lo = {};
2989
+ F.Sentry && F.Sentry.Integrations && (lo = F.Sentry.Integrations);
2990
+ const qi = { ...lo, ...Fa, ...tc };
2991
+ var Vi = "new", Ji = "loading", $i = "loaded", Qn = "joining-meeting", Qe = "joined-meeting", Ie = "left-meeting", Ce = "error", Cn = "unknown", nc = "full", rc = "base", ic = "*", sc = "iframe-ready-for-launch-config", oc = "iframe-launch-config", ac = "theme-updated", cc = "loading", lc = "load-attempt-failed", Gi = "loaded", uc = "started-camera", dc = "camera-error", hc = "joining-meeting", pc = "joined-meeting", fc = "left-meeting", mc = "participant-joined", gc = "participant-updated", vc = "participant-left", yc = "participant-counts-updated", _c = "access-state-updated", bc = "meeting-session-summary-updated", wc = "meeting-session-state-updated", Sc = "waiting-participant-added", kc = "waiting-participant-updated", Ec = "waiting-participant-removed", Tc = "track-started", Cc = "track-stopped", Mc = "transcription-started", Oc = "transcription-stopped", Ac = "transcription-error", Hi = "recording-started", zi = "recording-stopped", Pc = "recording-stats", Rc = "recording-error", xc = "recording-upload-completed", Dc = "recording-data", Lc = "app-message", Nc = "transcription-message", jc = "remote-media-player-started", Ic = "remote-media-player-updated", Bc = "remote-media-player-stopped", Fc = "local-screen-share-started", Uc = "local-screen-share-stopped", qc = "local-screen-share-canceled", Vc = "active-speaker-change", Jc = "active-speaker-mode-change", $c = "network-quality-change", Gc = "network-connection", Hc = "cpu-load-change", zc = "face-counts-updated", qt = "fullscreen", Vt = "exited-fullscreen", Wc = "live-streaming-started", Yc = "live-streaming-updated", Kc = "live-streaming-stopped", Qc = "live-streaming-error", Xc = "lang-updated", Zc = "receive-settings-updated", el = "input-settings-updated", Wi = "nonfatal-error", Yi = "error", Ki = 102400, Mn = "iframe-call-message", Qi = "local-screen-start", Xi = "daily-method-update-live-streaming-endpoints", Jt = "transmit-log", yt = "daily-custom-track", Wt = { NONE: "none", BGBLUR: "background-blur", BGIMAGE: "background-image", FACE_DETECTION: "face-detection" }, uo = { NONE: "none", NOISE_CANCELLATION: "noise-cancellation" }, Xn = { PLAY: "play", PAUSE: "pause" }, Zi = 10, On = ["jpg", "png", "jpeg"], tl = "add-endpoints", nl = "remove-endpoints", es = "sip-call-transfer";
2992
2992
  function he() {
2993
2993
  return !N() && typeof window < "u" && window.navigator && window.navigator.userAgent ? window.navigator.userAgent : "";
2994
2994
  }
2995
2995
  function N() {
2996
2996
  return typeof navigator < "u" && navigator.product && navigator.product === "ReactNative";
2997
2997
  }
2998
- function uo() {
2998
+ function ho() {
2999
2999
  return navigator && navigator.mediaDevices && navigator.mediaDevices.getUserMedia;
3000
3000
  }
3001
- function nl() {
3001
+ function rl() {
3002
3002
  return !!(navigator && navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia) && (function(t, e) {
3003
3003
  if (!t || !e) return !0;
3004
3004
  switch (t) {
@@ -3012,12 +3012,12 @@ function nl() {
3012
3012
  return !0;
3013
3013
  }(We(), er()) || N());
3014
3014
  }
3015
- function es() {
3015
+ function ts() {
3016
3016
  if (N() || !document) return !1;
3017
3017
  var t = document.createElement("iframe");
3018
3018
  return !!t.requestFullscreen || !!t.webkitRequestFullscreen;
3019
3019
  }
3020
- var rl = function() {
3020
+ var il = function() {
3021
3021
  try {
3022
3022
  var t = document.createElement("canvas"), e = t.getContext("webgl2") != null;
3023
3023
  return t.remove(), e;
@@ -3025,35 +3025,35 @@ var rl = function() {
3025
3025
  return !1;
3026
3026
  }
3027
3027
  }();
3028
- function ho() {
3028
+ function po() {
3029
3029
  var t = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
3030
- return !N() && !!rl && (t ? function() {
3030
+ return !N() && !!il && (t ? function() {
3031
3031
  return Zn() ? !1 : ["Chrome", "Firefox"].includes(We());
3032
3032
  }() : function() {
3033
3033
  if (Zn()) return !1;
3034
3034
  var e = We();
3035
3035
  if (e === "Safari") {
3036
- var n = Er();
3036
+ var n = Tr();
3037
3037
  if (n.major < 15 || n.major === 15 && n.minor < 4) return !1;
3038
3038
  }
3039
- return e === "Chrome" ? kr().major >= 77 : e === "Firefox" ? Tr().major >= 97 : ["Chrome", "Firefox", "Safari"].includes(e);
3039
+ return e === "Chrome" ? Er().major >= 77 : e === "Firefox" ? Cr().major >= 97 : ["Chrome", "Firefox", "Safari"].includes(e);
3040
3040
  }());
3041
3041
  }
3042
- var il = ["Chrome", "Firefox"];
3043
- function po() {
3044
- return !N() && !Zn() && typeof AudioWorkletNode < "u" && il.includes(We());
3042
+ var sl = ["Chrome", "Firefox"];
3043
+ function fo() {
3044
+ return !N() && !Zn() && typeof AudioWorkletNode < "u" && sl.includes(We());
3045
3045
  }
3046
- function ts() {
3047
- return uo() && !function() {
3046
+ function ns() {
3047
+ return ho() && !function() {
3048
3048
  var t, e = We();
3049
3049
  if (!he()) return !0;
3050
3050
  switch (e) {
3051
3051
  case "Chrome":
3052
- return (t = kr()).major && t.major > 0 && t.major < 75;
3052
+ return (t = Er()).major && t.major > 0 && t.major < 75;
3053
3053
  case "Firefox":
3054
- return (t = Tr()).major < 91;
3054
+ return (t = Cr()).major < 91;
3055
3055
  case "Safari":
3056
- return (t = Er()).major < 13 || t.major === 13 && t.minor < 1;
3056
+ return (t = Tr()).major < 13 || t.major === 13 && t.minor < 1;
3057
3057
  default:
3058
3058
  return !0;
3059
3059
  }
@@ -3066,17 +3066,17 @@ function Zn() {
3066
3066
  function We() {
3067
3067
  if (typeof window < "u") {
3068
3068
  var t = he();
3069
- return fo() ? "Safari" : t.indexOf("Edge") > -1 ? "Edge" : t.match(/Chrome\//) ? "Chrome" : t.indexOf("Safari") > -1 ? "Safari" : t.indexOf("Firefox") > -1 ? "Firefox" : t.indexOf("MSIE") > -1 || t.indexOf(".NET") > -1 ? "IE" : "Unknown Browser";
3069
+ return mo() ? "Safari" : t.indexOf("Edge") > -1 ? "Edge" : t.match(/Chrome\//) ? "Chrome" : t.indexOf("Safari") > -1 ? "Safari" : t.indexOf("Firefox") > -1 ? "Firefox" : t.indexOf("MSIE") > -1 || t.indexOf(".NET") > -1 ? "IE" : "Unknown Browser";
3070
3070
  }
3071
3071
  }
3072
3072
  function er() {
3073
3073
  switch (We()) {
3074
3074
  case "Chrome":
3075
- return kr();
3076
- case "Safari":
3077
3075
  return Er();
3078
- case "Firefox":
3076
+ case "Safari":
3079
3077
  return Tr();
3078
+ case "Firefox":
3079
+ return Cr();
3080
3080
  case "Edge":
3081
3081
  return function() {
3082
3082
  var t = 0, e = 0;
@@ -3091,7 +3091,7 @@ function er() {
3091
3091
  }();
3092
3092
  }
3093
3093
  }
3094
- function kr() {
3094
+ function Er() {
3095
3095
  var t = 0, e = 0, n = 0, r = 0, i = !1;
3096
3096
  if (typeof window < "u") {
3097
3097
  var s = he(), a = s.match(/Chrome\/(\d+).(\d+).(\d+).(\d+)/);
@@ -3102,10 +3102,10 @@ function kr() {
3102
3102
  }
3103
3103
  return { major: t, minor: e, build: n, patch: r, opera: i };
3104
3104
  }
3105
- function fo() {
3106
- return !!he().match(/iPad|iPhone|iPod/i) && uo();
3105
+ function mo() {
3106
+ return !!he().match(/iPad|iPhone|iPod/i) && ho();
3107
3107
  }
3108
- function Er() {
3108
+ function Tr() {
3109
3109
  var t = 0, e = 0, n = 0;
3110
3110
  if (typeof window < "u") {
3111
3111
  var r = he().match(/Version\/(\d+).(\d+)(.(\d+))?/);
@@ -3113,11 +3113,11 @@ function Er() {
3113
3113
  t = parseInt(r[1]), e = parseInt(r[2]), n = parseInt(r[4]);
3114
3114
  } catch {
3115
3115
  }
3116
- else fo() && (t = 14, e = 0, n = 3);
3116
+ else mo() && (t = 14, e = 0, n = 3);
3117
3117
  }
3118
3118
  return { major: t, minor: e, point: n };
3119
3119
  }
3120
- function Tr() {
3120
+ function Cr() {
3121
3121
  var t = 0, e = 0;
3122
3122
  if (typeof window < "u") {
3123
3123
  var n = he().match(/Firefox\/(\d+).(\d+)/);
@@ -3128,7 +3128,7 @@ function Tr() {
3128
3128
  }
3129
3129
  return { major: t, minor: e };
3130
3130
  }
3131
- var mo = function() {
3131
+ var go = function() {
3132
3132
  function t() {
3133
3133
  pe(this, t);
3134
3134
  }
@@ -3144,7 +3144,7 @@ var mo = function() {
3144
3144
  pt();
3145
3145
  } }]), t;
3146
3146
  }();
3147
- function ns(t, e) {
3147
+ function rs(t, e) {
3148
3148
  var n = Object.keys(t);
3149
3149
  if (Object.getOwnPropertySymbols) {
3150
3150
  var r = Object.getOwnPropertySymbols(t);
@@ -3157,15 +3157,15 @@ function ns(t, e) {
3157
3157
  function An(t) {
3158
3158
  for (var e = 1; e < arguments.length; e++) {
3159
3159
  var n = arguments[e] != null ? arguments[e] : {};
3160
- e % 2 ? ns(Object(n), !0).forEach(function(r) {
3160
+ e % 2 ? rs(Object(n), !0).forEach(function(r) {
3161
3161
  Ae(t, r, n[r]);
3162
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ns(Object(n)).forEach(function(r) {
3162
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : rs(Object(n)).forEach(function(r) {
3163
3163
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
3164
3164
  });
3165
3165
  }
3166
3166
  return t;
3167
3167
  }
3168
- function sl(t) {
3168
+ function ol(t) {
3169
3169
  var e = function() {
3170
3170
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3171
3171
  if (typeof Proxy == "function") return !0;
@@ -3185,9 +3185,9 @@ function sl(t) {
3185
3185
  return un(this, n);
3186
3186
  };
3187
3187
  }
3188
- var ol = function(t) {
3189
- ln(n, mo);
3190
- var e = sl(n);
3188
+ var al = function(t) {
3189
+ ln(n, go);
3190
+ var e = ol(n);
3191
3191
  function n() {
3192
3192
  var r;
3193
3193
  return pe(this, n), (r = e.call(this))._wrappedListeners = {}, r._messageCallbacks = {}, r;
@@ -3249,7 +3249,7 @@ var ol = function(t) {
3249
3249
  return window.location.protocol === "file:" ? "*" : window.location.origin;
3250
3250
  } }]), n;
3251
3251
  }();
3252
- function al(t) {
3252
+ function cl(t) {
3253
3253
  var e = function() {
3254
3254
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3255
3255
  if (typeof Proxy == "function") return !0;
@@ -3269,9 +3269,9 @@ function al(t) {
3269
3269
  return un(this, n);
3270
3270
  };
3271
3271
  }
3272
- var cl = function(t) {
3273
- ln(n, mo);
3274
- var e = al(n);
3272
+ var ll = function(t) {
3273
+ ln(n, go);
3274
+ var e = cl(n);
3275
3275
  function n() {
3276
3276
  var r;
3277
3277
  return pe(this, n), r = e.call(this), global.callMachineToDailyJsEmitter = global.callMachineToDailyJsEmitter || new Ee.EventEmitter(), global.dailyJsToCallMachineEmitter = global.dailyJsToCallMachineEmitter || new Ee.EventEmitter(), r._wrappedListeners = {}, r._messageCallbacks = {}, r;
@@ -3303,7 +3303,7 @@ var cl = function(t) {
3303
3303
  }
3304
3304
  i.emit("message", r);
3305
3305
  } }]), n;
3306
- }(), tr = "replace", nr = "shallow-merge", rs = [tr, nr], ll = function() {
3306
+ }(), tr = "replace", nr = "shallow-merge", is = [tr, nr], ul = function() {
3307
3307
  function t() {
3308
3308
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = e.data, r = e.mergeStrategy, i = r === void 0 ? tr : r;
3309
3309
  pe(this, t), t._validateMergeStrategy(i), t._validateData(n, i), this.mergeStrategy = i, this.data = n;
@@ -3313,7 +3313,7 @@ var cl = function(t) {
3313
3313
  } }], [{ key: "isNoOpUpdate", value: function(e, n) {
3314
3314
  return Object.keys(e).length === 0 && n === nr;
3315
3315
  } }, { key: "_validateMergeStrategy", value: function(e) {
3316
- if (!rs.includes(e)) throw Error("Unrecognized mergeStrategy provided. Options are: [".concat(rs, "]"));
3316
+ if (!is.includes(e)) throw Error("Unrecognized mergeStrategy provided. Options are: [".concat(is, "]"));
3317
3317
  } }, { key: "_validateData", value: function(e, n) {
3318
3318
  if (!function(c) {
3319
3319
  if (c == null || U(c) !== "object") return !1;
@@ -3334,7 +3334,7 @@ var cl = function(t) {
3334
3334
  } catch (c) {
3335
3335
  throw Error("Meeting session data must be serializable to JSON: ".concat(c));
3336
3336
  }
3337
- if (r.length > Yi) throw Error("Meeting session data is too large (".concat(r.length, " characters). Maximum size suppported is ").concat(Yi, "."));
3337
+ if (r.length > Ki) throw Error("Meeting session data is too large (".concat(r.length, " characters). Maximum size suppported is ").concat(Ki, "."));
3338
3338
  } }]), t;
3339
3339
  }();
3340
3340
  function rr(t, e, n) {
@@ -3370,7 +3370,7 @@ function ir(t) {
3370
3370
  return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), wt(i, n);
3371
3371
  }, ir(t);
3372
3372
  }
3373
- function ul(t) {
3373
+ function dl(t) {
3374
3374
  var e = function() {
3375
3375
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3376
3376
  if (typeof Proxy == "function") return !0;
@@ -3390,40 +3390,40 @@ function ul(t) {
3390
3390
  return un(this, n);
3391
3391
  };
3392
3392
  }
3393
- function is(t) {
3393
+ function ss(t) {
3394
3394
  var e, n = (e = window._daily) === null || e === void 0 ? void 0 : e.pendings;
3395
3395
  if (n) {
3396
3396
  var r = n.indexOf(t);
3397
3397
  r !== -1 && n.splice(r, 1);
3398
3398
  }
3399
3399
  }
3400
- var dl = function() {
3400
+ var hl = function() {
3401
3401
  function t(e) {
3402
3402
  pe(this, t), this._currentLoad = null, this._callClientId = e;
3403
3403
  }
3404
3404
  return fe(t, [{ key: "load", value: function() {
3405
3405
  var e, n = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0, s = arguments.length > 2 ? arguments[2] : void 0;
3406
3406
  if (this.loaded) return window._daily.instances[this._callClientId].callMachine.reset(), void i(!0);
3407
- e = this._callClientId, window._daily.pendings.push(e), this._currentLoad && this._currentLoad.cancel(), this._currentLoad = new hl(r, function() {
3407
+ e = this._callClientId, window._daily.pendings.push(e), this._currentLoad && this._currentLoad.cancel(), this._currentLoad = new pl(r, function() {
3408
3408
  i(!1);
3409
3409
  }, function(a, c) {
3410
- c || is(n._callClientId), s(a, c);
3410
+ c || ss(n._callClientId), s(a, c);
3411
3411
  }), this._currentLoad.start();
3412
3412
  } }, { key: "cancel", value: function() {
3413
- this._currentLoad && this._currentLoad.cancel(), is(this._callClientId);
3413
+ this._currentLoad && this._currentLoad.cancel(), ss(this._callClientId);
3414
3414
  } }, { key: "loaded", get: function() {
3415
3415
  return this._currentLoad && this._currentLoad.succeeded;
3416
3416
  } }]), t;
3417
- }(), hl = function() {
3417
+ }(), pl = function() {
3418
3418
  function t() {
3419
3419
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0;
3420
3420
  pe(this, t), this._attemptsRemaining = 3, this._currentAttempt = null, this._dailyConfig = e, this._successCallback = n, this._failureCallback = r;
3421
3421
  }
3422
3422
  return fe(t, [{ key: "start", value: function() {
3423
3423
  var e = this;
3424
- this._currentAttempt || (this._currentAttempt = new ss(this._dailyConfig, this._successCallback, function n(r) {
3424
+ this._currentAttempt || (this._currentAttempt = new os(this._dailyConfig, this._successCallback, function n(r) {
3425
3425
  e._currentAttempt.cancelled || (e._attemptsRemaining--, e._failureCallback(r, e._attemptsRemaining > 0), e._attemptsRemaining <= 0 || setTimeout(function() {
3426
- e._currentAttempt.cancelled || (e._currentAttempt = new ss(e._dailyConfig, e._successCallback, n), e._currentAttempt.start());
3426
+ e._currentAttempt.cancelled || (e._currentAttempt = new os(e._dailyConfig, e._successCallback, n), e._currentAttempt.start());
3427
3427
  }, 3e3));
3428
3428
  }), this._currentAttempt.start());
3429
3429
  } }, { key: "cancel", value: function() {
@@ -3435,14 +3435,14 @@ var dl = function() {
3435
3435
  } }]), t;
3436
3436
  }(), Pn = function(t) {
3437
3437
  ln(n, ir(Error));
3438
- var e = ul(n);
3438
+ var e = dl(n);
3439
3439
  function n() {
3440
3440
  return pe(this, n), e.apply(this, arguments);
3441
3441
  }
3442
3442
  return fe(n);
3443
- }(), sn = 2e4, ss = function() {
3443
+ }(), sn = 2e4, os = function() {
3444
3444
  function t(n, r, i) {
3445
- pe(this, t), this._loadAttemptImpl = N() || !n.avoidEval ? new pl(n, r, i) : new fl(n, r, i);
3445
+ pe(this, t), this._loadAttemptImpl = N() || !n.avoidEval ? new fl(n, r, i) : new ml(n, r, i);
3446
3446
  }
3447
3447
  var e;
3448
3448
  return fe(t, [{ key: "start", value: (e = O(function* () {
@@ -3456,7 +3456,7 @@ var dl = function() {
3456
3456
  } }, { key: "succeeded", get: function() {
3457
3457
  return this._loadAttemptImpl.succeeded;
3458
3458
  } }]), t;
3459
- }(), pl = function() {
3459
+ }(), fl = function() {
3460
3460
  function t(s, a, c) {
3461
3461
  pe(this, t), this.cancelled = !1, this.succeeded = !1, this._networkTimedOut = !1, this._networkTimeout = null, this._iosCache = typeof iOSCallObjectBundleCache < "u" && iOSCallObjectBundleCache, this._refetchHeaders = null, this._dailyConfig = s, this._successCallback = a, this._failureCallback = c;
3462
3462
  }
@@ -3502,7 +3502,7 @@ var dl = function() {
3502
3502
  }), function(s, a) {
3503
3503
  return e.apply(this, arguments);
3504
3504
  }) }]), t;
3505
- }(), fl = function() {
3505
+ }(), ml = function() {
3506
3506
  function t(e, n, r) {
3507
3507
  pe(this, t), this.cancelled = !1, this.succeeded = !1, this._dailyConfig = e, this._successCallback = n, this._failureCallback = r, this._attemptId = dn(), this._networkTimeout = null, this._scriptElement = null;
3508
3508
  }
@@ -3531,13 +3531,13 @@ var dl = function() {
3531
3531
  window._dailyCallMachineLoadWaitlist.delete(this._attemptId);
3532
3532
  } }]), t;
3533
3533
  }(), $t = function(t, e, n) {
3534
- return gl(t.local, e, n) === !0;
3535
- }, ml = function(t, e, n) {
3534
+ return vl(t.local, e, n) === !0;
3535
+ }, gl = function(t, e, n) {
3536
3536
  return t.local.streams && t.local.streams[e] && t.local.streams[e].stream && t.local.streams[e].stream["get".concat(n === "video" ? "Video" : "Audio", "Tracks")]()[0];
3537
3537
  }, Xe = function(t, e, n, r) {
3538
- var i = vl(t, e, n, r);
3538
+ var i = yl(t, e, n, r);
3539
3539
  return i && i.pendingTrack;
3540
- }, gl = function(t, e, n) {
3540
+ }, vl = function(t, e, n) {
3541
3541
  if (!t) return !1;
3542
3542
  var r = function(s) {
3543
3543
  switch (s) {
@@ -3550,35 +3550,35 @@ var dl = function() {
3550
3550
  }
3551
3551
  }, i = t.public.subscribedTracks;
3552
3552
  return i && i[e] ? ["cam-audio", "cam-video", "screen-video", "screen-audio", "rmpAudio", "rmpVideo"].indexOf(n) === -1 && i[e].custom ? [!0, "staged"].includes(i[e].custom) ? r(i[e].custom) : r(i[e].custom[n]) : r(i[e][n]) : !i || r(i.ALL);
3553
- }, vl = function(t, e, n, r) {
3553
+ }, yl = function(t, e, n, r) {
3554
3554
  var i = Object.values(t.streams || {}).filter(function(s) {
3555
3555
  return s.participantId === e && s.type === n && s.pendingTrack && s.pendingTrack.kind === r;
3556
3556
  }).sort(function(s, a) {
3557
3557
  return new Date(a.starttime) - new Date(s.starttime);
3558
3558
  });
3559
3559
  return i && i[0];
3560
- }, yl = function(t, e) {
3560
+ }, _l = function(t, e) {
3561
3561
  var n = t.local.public.customTracks;
3562
3562
  if (n && n[e]) return n[e].track;
3563
3563
  };
3564
- function os(t, e) {
3564
+ function as(t, e) {
3565
3565
  for (var n = e.getState(), r = 0, i = ["cam", "screen"]; r < i.length; r++) for (var s = i[r], a = 0, c = ["video", "audio"]; a < c.length; a++) {
3566
3566
  var l = c[a], p = s === "cam" ? l : "screen".concat(l.charAt(0).toUpperCase() + l.slice(1)), h = t.tracks[p];
3567
3567
  if (h) {
3568
- var f = t.local ? ml(n, s, l) : Xe(n, t.session_id, s, l);
3568
+ var f = t.local ? gl(n, s, l) : Xe(n, t.session_id, s, l);
3569
3569
  h.state === "playable" && (h.track = f), h.persistentTrack = f;
3570
3570
  }
3571
3571
  }
3572
3572
  }
3573
- function as(t, e) {
3573
+ function cs(t, e) {
3574
3574
  try {
3575
3575
  var n = e.getState();
3576
- for (var r in t.tracks) if (!_l(r)) {
3576
+ for (var r in t.tracks) if (!bl(r)) {
3577
3577
  var i = t.tracks[r].kind;
3578
3578
  if (i) {
3579
3579
  var s = t.tracks[r];
3580
3580
  if (s) {
3581
- var a = t.local ? yl(n, r) : Xe(n, t.session_id, r, i);
3581
+ var a = t.local ? _l(n, r) : Xe(n, t.session_id, r, i);
3582
3582
  s.state === "playable" && (t.tracks[r].track = a), s.persistentTrack = a;
3583
3583
  }
3584
3584
  } else console.error("unknown type for custom track");
@@ -3587,10 +3587,10 @@ function as(t, e) {
3587
3587
  console.error(c);
3588
3588
  }
3589
3589
  }
3590
- function _l(t) {
3590
+ function bl(t) {
3591
3591
  return ["video", "audio", "screenVideo", "screenAudio"].includes(t);
3592
3592
  }
3593
- function cs(t, e, n) {
3593
+ function ls(t, e, n) {
3594
3594
  var r = n.getState();
3595
3595
  if (t.local) {
3596
3596
  if (t.audio) try {
@@ -3637,15 +3637,15 @@ function cs(t, e, n) {
3637
3637
  }
3638
3638
  }
3639
3639
  }
3640
- function bl(t, e) {
3640
+ function wl(t, e) {
3641
3641
  var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3642
3642
  if (!n) {
3643
3643
  if (Array.isArray(t) || (n = function(l, p) {
3644
3644
  if (l) {
3645
- if (typeof l == "string") return ls(l, p);
3645
+ if (typeof l == "string") return us(l, p);
3646
3646
  var h = Object.prototype.toString.call(l).slice(8, -1);
3647
3647
  if (h === "Object" && l.constructor && (h = l.constructor.name), h === "Map" || h === "Set") return Array.from(l);
3648
- if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return ls(l, p);
3648
+ if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return us(l, p);
3649
3649
  }
3650
3650
  }(t)) || e) {
3651
3651
  n && (t = n);
@@ -3676,21 +3676,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3676
3676
  }
3677
3677
  } };
3678
3678
  }
3679
- function ls(t, e) {
3679
+ function us(t, e) {
3680
3680
  (e == null || e > t.length) && (e = t.length);
3681
3681
  for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
3682
3682
  return r;
3683
3683
  }
3684
3684
  var ve = /* @__PURE__ */ new Map(), st = null;
3685
- function wl(t, e) {
3685
+ function Sl(t, e) {
3686
3686
  var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3687
3687
  if (!n) {
3688
3688
  if (Array.isArray(t) || (n = function(l, p) {
3689
3689
  if (l) {
3690
- if (typeof l == "string") return us(l, p);
3690
+ if (typeof l == "string") return ds(l, p);
3691
3691
  var h = Object.prototype.toString.call(l).slice(8, -1);
3692
3692
  if (h === "Object" && l.constructor && (h = l.constructor.name), h === "Map" || h === "Set") return Array.from(l);
3693
- if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return us(l, p);
3693
+ if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return ds(l, p);
3694
3694
  }
3695
3695
  }(t)) || e) {
3696
3696
  n && (t = n);
@@ -3721,18 +3721,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3721
3721
  }
3722
3722
  } };
3723
3723
  }
3724
- function us(t, e) {
3724
+ function ds(t, e) {
3725
3725
  (e == null || e > t.length) && (e = t.length);
3726
3726
  for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
3727
3727
  return r;
3728
3728
  }
3729
- var ye = /* @__PURE__ */ new Map(), bt = null, Sl = 3e3;
3730
- function kl(t) {
3731
- go() ? function(e) {
3729
+ var ye = /* @__PURE__ */ new Map(), bt = null, kl = 3e3;
3730
+ function El(t) {
3731
+ vo() ? function(e) {
3732
3732
  ve.has(e) || (ve.set(e, {}), navigator.mediaDevices.enumerateDevices().then(function(n) {
3733
3733
  ve.has(e) && (ve.get(e).lastDevicesString = JSON.stringify(n), st || (st = function() {
3734
3734
  var r = O(function* () {
3735
- var i, s = yield navigator.mediaDevices.enumerateDevices(), a = bl(ve.keys());
3735
+ var i, s = yield navigator.mediaDevices.enumerateDevices(), a = wl(ve.keys());
3736
3736
  try {
3737
3737
  for (a.s(); !(i = a.n()).done; ) {
3738
3738
  var c = i.value, l = JSON.stringify(s);
@@ -3753,7 +3753,7 @@ function kl(t) {
3753
3753
  }(t) : function(e) {
3754
3754
  ye.has(e) || (ye.set(e, {}), navigator.mediaDevices.enumerateDevices().then(function(n) {
3755
3755
  ye.has(e) && (ye.get(e).lastDevicesString = JSON.stringify(n), bt || (bt = setInterval(O(function* () {
3756
- var r, i = yield navigator.mediaDevices.enumerateDevices(), s = wl(ye.keys());
3756
+ var r, i = yield navigator.mediaDevices.enumerateDevices(), s = Sl(ye.keys());
3757
3757
  try {
3758
3758
  for (s.s(); !(r = s.n()).done; ) {
3759
3759
  var a = r.value, c = JSON.stringify(i);
@@ -3764,28 +3764,28 @@ function kl(t) {
3764
3764
  } finally {
3765
3765
  s.f();
3766
3766
  }
3767
- }), Sl)));
3767
+ }), kl)));
3768
3768
  }));
3769
3769
  }(t);
3770
3770
  }
3771
- function El(t) {
3772
- go() ? function(e) {
3771
+ function Tl(t) {
3772
+ vo() ? function(e) {
3773
3773
  ve.has(e) && (ve.delete(e), ve.size === 0 && st && (navigator.mediaDevices.removeEventListener("devicechange", st), st = null));
3774
3774
  }(t) : function(e) {
3775
3775
  ye.has(e) && (ye.delete(e), ye.size === 0 && bt && (clearInterval(bt), bt = null));
3776
3776
  }(t);
3777
3777
  }
3778
- function go() {
3778
+ function vo() {
3779
3779
  return N() || navigator.mediaDevices.ondevicechange !== void 0;
3780
3780
  }
3781
- var Tl = /* @__PURE__ */ new Set();
3782
- function Cl(t, e) {
3781
+ var Cl = /* @__PURE__ */ new Set();
3782
+ function Ml(t, e) {
3783
3783
  return t && t.readyState === "live" && !function(n, r) {
3784
- return n.muted && !Tl.has(n.id);
3784
+ return n.muted && !Cl.has(n.id);
3785
3785
  }(t);
3786
3786
  }
3787
- var Ml = ["result"], Ol = ["preserveIframe"];
3788
- function ds(t, e) {
3787
+ var Ol = ["result"], Al = ["preserveIframe"];
3788
+ function hs(t, e) {
3789
3789
  var n = Object.keys(t);
3790
3790
  if (Object.getOwnPropertySymbols) {
3791
3791
  var r = Object.getOwnPropertySymbols(t);
@@ -3798,15 +3798,15 @@ function ds(t, e) {
3798
3798
  function A(t) {
3799
3799
  for (var e = 1; e < arguments.length; e++) {
3800
3800
  var n = arguments[e] != null ? arguments[e] : {};
3801
- e % 2 ? ds(Object(n), !0).forEach(function(r) {
3801
+ e % 2 ? hs(Object(n), !0).forEach(function(r) {
3802
3802
  Ae(t, r, n[r]);
3803
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ds(Object(n)).forEach(function(r) {
3803
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : hs(Object(n)).forEach(function(r) {
3804
3804
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
3805
3805
  });
3806
3806
  }
3807
3807
  return t;
3808
3808
  }
3809
- function Al(t) {
3809
+ function Pl(t) {
3810
3810
  var e = function() {
3811
3811
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3812
3812
  if (typeof Proxy == "function") return !0;
@@ -3826,15 +3826,15 @@ function Al(t) {
3826
3826
  return un(this, n);
3827
3827
  };
3828
3828
  }
3829
- function hs(t, e) {
3829
+ function ps(t, e) {
3830
3830
  var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3831
3831
  if (!n) {
3832
3832
  if (Array.isArray(t) || (n = function(l, p) {
3833
3833
  if (l) {
3834
- if (typeof l == "string") return ps(l, p);
3834
+ if (typeof l == "string") return fs(l, p);
3835
3835
  var h = Object.prototype.toString.call(l).slice(8, -1);
3836
3836
  if (h === "Object" && l.constructor && (h = l.constructor.name), h === "Map" || h === "Set") return Array.from(l);
3837
- if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return ps(l, p);
3837
+ if (h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)) return fs(l, p);
3838
3838
  }
3839
3839
  }(t)) || e) {
3840
3840
  n && (t = n);
@@ -3865,12 +3865,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3865
3865
  }
3866
3866
  } };
3867
3867
  }
3868
- function ps(t, e) {
3868
+ function fs(t, e) {
3869
3869
  (e == null || e > t.length) && (e = t.length);
3870
3870
  for (var n = 0, r = new Array(e); n < e; n++) r[n] = t[n];
3871
3871
  return r;
3872
3872
  }
3873
- var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, topology: "none" }, gs = { present: 0, hidden: 0 }, vo = { maxBitrate: { min: 1e5, max: 25e5 }, maxFramerate: { min: 1, max: 30 }, scaleResolutionDownBy: { min: 1, max: 8 } }, Rn = Object.keys(vo), vs = ["state", "volume", "simulcastEncodings"], ys = { androidInCallNotification: { title: "string", subtitle: "string", iconName: "string", disableForCustomOverride: "boolean" }, disableAutoDeviceManagement: { audio: "boolean", video: "boolean" } }, on = { id: { iconPath: "string", iconPathDarkMode: "string", label: "string", tooltip: "string" } }, sr = { id: { allow: "string", controlledBy: "'*' | 'owners' | string[]", csp: "string", iconURL: "string", label: "string", loading: "'eager' | 'lazy'", location: "'main' | 'sidebar'", name: "string", referrerPolicy: "string", sandbox: "string", src: "string", srcdoc: "string", shared: "string[] | 'owners' | boolean" } }, Fe = { customIntegrations: { validate: To, help: ko() }, customTrayButtons: { validate: Eo, help: "customTrayButtons should be a dictionary of the type ".concat(JSON.stringify(on)) }, url: { validate: function(t) {
3873
+ var Be = {}, ms = "video", Rl = "voice", gs = N() ? { data: {} } : { data: {}, topology: "none" }, vs = { present: 0, hidden: 0 }, yo = { maxBitrate: { min: 1e5, max: 25e5 }, maxFramerate: { min: 1, max: 30 }, scaleResolutionDownBy: { min: 1, max: 8 } }, Rn = Object.keys(yo), ys = ["state", "volume", "simulcastEncodings"], _s = { androidInCallNotification: { title: "string", subtitle: "string", iconName: "string", disableForCustomOverride: "boolean" }, disableAutoDeviceManagement: { audio: "boolean", video: "boolean" } }, on = { id: { iconPath: "string", iconPathDarkMode: "string", label: "string", tooltip: "string" } }, sr = { id: { allow: "string", controlledBy: "'*' | 'owners' | string[]", csp: "string", iconURL: "string", label: "string", loading: "'eager' | 'lazy'", location: "'main' | 'sidebar'", name: "string", referrerPolicy: "string", sandbox: "string", src: "string", srcdoc: "string", shared: "string[] | 'owners' | boolean" } }, Fe = { customIntegrations: { validate: Co, help: Eo() }, customTrayButtons: { validate: To, help: "customTrayButtons should be a dictionary of the type ".concat(JSON.stringify(on)) }, url: { validate: function(t) {
3874
3874
  return typeof t == "string";
3875
3875
  }, help: "url should be a string" }, baseUrl: { validate: function(t) {
3876
3876
  return typeof t == "string";
@@ -3884,12 +3884,12 @@ var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, t
3884
3884
  }
3885
3885
  return !1;
3886
3886
  }, help: "Unsupported dailyConfig. Check error logs for detailed info." }, reactNativeConfig: { validate: function(t) {
3887
- return Co(t, ys);
3888
- }, help: "reactNativeConfig should look like ".concat(JSON.stringify(ys), ", all fields optional") }, lang: { validate: function(t) {
3887
+ return Mo(t, _s);
3888
+ }, help: "reactNativeConfig should look like ".concat(JSON.stringify(_s), ", all fields optional") }, lang: { validate: function(t) {
3889
3889
  return ["de", "en-us", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pl", "pt", "pt-BR", "ru", "sv", "tr", "user"].includes(t);
3890
3890
  }, help: "language not supported. Options are: de, en-us, en, es, fi, fr, it, jp, ka, nl, no, pl, pt, pt-BR, ru, sv, tr, user" }, userName: !0, userData: { validate: function(t) {
3891
3891
  try {
3892
- return yo(t), !0;
3892
+ return _o(t), !0;
3893
3893
  } catch (e) {
3894
3894
  return console.error(e), !1;
3895
3895
  }
@@ -3924,8 +3924,8 @@ var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, t
3924
3924
  }
3925
3925
  return !0;
3926
3926
  }, help: "unsupported layoutConfig. Check error logs for detailed info." }, receiveSettings: { validate: function(t) {
3927
- return _o(t, { allowAllParticipantsKey: !1 });
3928
- }, help: So({ allowAllParticipantsKey: !1 }) }, sendSettings: { validate: function(t, e) {
3927
+ return bo(t, { allowAllParticipantsKey: !1 });
3928
+ }, help: ko({ allowAllParticipantsKey: !1 }) }, sendSettings: { validate: function(t, e) {
3929
3929
  return !!function(n, r) {
3930
3930
  try {
3931
3931
  return r.validateUpdateSendSettings(n), !0;
@@ -3935,7 +3935,7 @@ var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, t
3935
3935
  }(t, e) && (e._preloadCache.sendSettings = t, !0);
3936
3936
  }, help: "Invalid sendSettings provided. Check error logs for detailed info." }, inputSettings: { validate: function(t, e) {
3937
3937
  var n;
3938
- return !!bo(t) && (e._preloadCache.inputSettings || (e._preloadCache.inputSettings = {}), wo(t, (n = e.properties) === null || n === void 0 ? void 0 : n.dailyConfig), t.audio && (e._preloadCache.inputSettings.audio = t.audio), t.video && (e._preloadCache.inputSettings.video = t.video), !0);
3938
+ return !!wo(t) && (e._preloadCache.inputSettings || (e._preloadCache.inputSettings = {}), So(t, (n = e.properties) === null || n === void 0 ? void 0 : n.dailyConfig), t.audio && (e._preloadCache.inputSettings.audio = t.audio), t.video && (e._preloadCache.inputSettings.video = t.video), !0);
3939
3939
  }, help: or() }, layout: { validate: function(t) {
3940
3940
  return t === "custom-v1" || t === "browser" || t === "none";
3941
3941
  }, help: 'layout may only be set to "custom-v1"', queryString: "layout" }, emb: { queryString: "emb" }, embHref: { queryString: "embHref" }, dailyJsVersion: { queryString: "dailyJsVersion" }, proxy: { queryString: "proxy" }, strictMode: !0, allowMultipleCallInstances: !0 }, Gt = { styles: { validate: function(t) {
@@ -3973,7 +3973,7 @@ var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, t
3973
3973
  break;
3974
3974
  case "canSend":
3975
3975
  if (s instanceof Set || s instanceof Array || Array.isArray(s)) {
3976
- var a, c = ["video", "audio", "screenVideo", "screenAudio", "customVideo", "customAudio"], l = hs(s);
3976
+ var a, c = ["video", "audio", "screenVideo", "screenAudio", "customVideo", "customAudio"], l = ps(s);
3977
3977
  try {
3978
3978
  for (l.s(); !(a = l.n()).done; ) {
3979
3979
  var p = a.value;
@@ -3989,7 +3989,7 @@ var Be = {}, fs = "video", Pl = "voice", ms = N() ? { data: {} } : { data: {}, t
3989
3989
  break;
3990
3990
  case "canAdmin":
3991
3991
  if (s instanceof Set || s instanceof Array || Array.isArray(s)) {
3992
- var h, f = ["participants", "streaming", "transcription"], _ = hs(s);
3992
+ var h, f = ["participants", "streaming", "transcription"], _ = ps(s);
3993
3993
  try {
3994
3994
  for (_.s(); !(h = _.n()).done; ) {
3995
3995
  var k = h.value;
@@ -4026,15 +4026,15 @@ Promise.any || (Promise.any = function() {
4026
4026
  return t.apply(this, arguments);
4027
4027
  };
4028
4028
  }());
4029
- var Rl = function(t) {
4029
+ var xl = function(t) {
4030
4030
  ln(re, Ee);
4031
- var e, n, r, i, s, a, c, l, p, h, f, _, k, y, w, T, M, B, L, ne, Ne, oe, _e, ht, Rr, xr, Dr, Lr, Nr, jr, Ir, Br, Fr, Ur, qr, Vr, Jr, $r, Xo = Al(re);
4031
+ var e, n, r, i, s, a, c, l, p, h, f, _, k, y, w, T, M, B, L, ne, Ne, oe, _e, ht, xr, Dr, Lr, Nr, jr, Ir, Br, Fr, Ur, qr, Vr, Jr, $r, Gr, Zo = Pl(re);
4032
4032
  function re(o) {
4033
4033
  var u, d, g, m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4034
- if (pe(this, re), Ae(Se(d = Xo.call(this)), "startListeningForDeviceChanges", function() {
4035
- kl(d.handleDeviceChange);
4036
- }), Ae(Se(d), "stopListeningForDeviceChanges", function() {
4034
+ if (pe(this, re), Ae(Se(d = Zo.call(this)), "startListeningForDeviceChanges", function() {
4037
4035
  El(d.handleDeviceChange);
4036
+ }), Ae(Se(d), "stopListeningForDeviceChanges", function() {
4037
+ Tl(d.handleDeviceChange);
4038
4038
  }), Ae(Se(d), "handleDeviceChange", function(E) {
4039
4039
  E = E.map(function(C) {
4040
4040
  return JSON.parse(JSON.stringify(C));
@@ -4056,7 +4056,7 @@ var Rl = function(t) {
4056
4056
  if (d.strictMode) throw new Error("Duplicate DailyIframe instances are not allowed");
4057
4057
  console.warn("Using strictMode: false to allow multiple call instances is now deprecated. Set `allowMultipleCallInstances: true`");
4058
4058
  }
4059
- if (window._daily || (window._daily = { pendings: [], instances: {} }), d.callClientId = dn(), g = Se(d), Be[g.callClientId] = g, window._daily.instances[d.callClientId] = {}, d._sharedTracks = {}, window._daily.instances[d.callClientId].tracks = d._sharedTracks, m.dailyJsVersion = re.version(), d._iframe = o, d._callObjectMode = m.layout === "none" && !d._iframe, d._preloadCache = { subscribeToTracksAutomatically: !0, audioDeviceId: null, videoDeviceId: null, outputDeviceId: null, inputSettings: null, sendSettings: null, videoTrackForNetworkConnectivityTest: null, videoTrackForConnectionQualityTest: null }, m.showLocalVideo !== void 0 ? d._callObjectMode ? console.error("showLocalVideo is not available in call object mode") : d._showLocalVideo = !!m.showLocalVideo : d._showLocalVideo = !0, m.showParticipantsBar !== void 0 ? d._callObjectMode ? console.error("showParticipantsBar is not available in call object mode") : d._showParticipantsBar = !!m.showParticipantsBar : d._showParticipantsBar = !0, m.customIntegrations !== void 0 ? d._callObjectMode ? console.error("customIntegrations is not available in call object mode") : d._customIntegrations = m.customIntegrations : d._customIntegrations = {}, m.customTrayButtons !== void 0 ? d._callObjectMode ? console.error("customTrayButtons is not available in call object mode") : d._customTrayButtons = m.customTrayButtons : d._customTrayButtons = {}, m.activeSpeakerMode !== void 0 ? d._callObjectMode ? console.error("activeSpeakerMode is not available in call object mode") : d._activeSpeakerMode = !!m.activeSpeakerMode : d._activeSpeakerMode = !1, m.receiveSettings ? d._callObjectMode ? d._receiveSettings = m.receiveSettings : console.error("receiveSettings is only available in call object mode") : d._receiveSettings = {}, d.validateProperties(m), d.properties = A({}, m), d._preloadCache.inputSettings || (d._preloadCache.inputSettings = {}), m.inputSettings && m.inputSettings.audio && (d._preloadCache.inputSettings.audio = m.inputSettings.audio), m.inputSettings && m.inputSettings.video && (d._preloadCache.inputSettings.video = m.inputSettings.video), d._callObjectLoader = d._callObjectMode ? new dl(d.callClientId) : null, d._callState = qi, d._isPreparingToJoin = !1, d._accessState = { access: Cn }, d._meetingSessionSummary = {}, d._finalSummaryOfPrevSession = {}, d._meetingSessionState = Ln(ms, d._callObjectMode), d._nativeInCallAudioMode = fs, d._participants = {}, d._isScreenSharing = !1, d._participantCounts = gs, d._rmpPlayerState = {}, d._waitingParticipants = {}, d._network = { threshold: "good", quality: 100 }, d._activeSpeaker = {}, d._localAudioLevel = 0, d._isLocalAudioLevelObserverRunning = !1, d._remoteParticipantsAudioLevel = {}, d._isRemoteParticipantsAudioLevelObserverRunning = !1, d._messageChannel = N() ? new cl() : new ol(), d._iframe && (d._iframe.requestFullscreen ? d._iframe.addEventListener("fullscreenchange", function() {
4059
+ if (window._daily || (window._daily = { pendings: [], instances: {} }), d.callClientId = dn(), g = Se(d), Be[g.callClientId] = g, window._daily.instances[d.callClientId] = {}, d._sharedTracks = {}, window._daily.instances[d.callClientId].tracks = d._sharedTracks, m.dailyJsVersion = re.version(), d._iframe = o, d._callObjectMode = m.layout === "none" && !d._iframe, d._preloadCache = { subscribeToTracksAutomatically: !0, audioDeviceId: null, videoDeviceId: null, outputDeviceId: null, inputSettings: null, sendSettings: null, videoTrackForNetworkConnectivityTest: null, videoTrackForConnectionQualityTest: null }, m.showLocalVideo !== void 0 ? d._callObjectMode ? console.error("showLocalVideo is not available in call object mode") : d._showLocalVideo = !!m.showLocalVideo : d._showLocalVideo = !0, m.showParticipantsBar !== void 0 ? d._callObjectMode ? console.error("showParticipantsBar is not available in call object mode") : d._showParticipantsBar = !!m.showParticipantsBar : d._showParticipantsBar = !0, m.customIntegrations !== void 0 ? d._callObjectMode ? console.error("customIntegrations is not available in call object mode") : d._customIntegrations = m.customIntegrations : d._customIntegrations = {}, m.customTrayButtons !== void 0 ? d._callObjectMode ? console.error("customTrayButtons is not available in call object mode") : d._customTrayButtons = m.customTrayButtons : d._customTrayButtons = {}, m.activeSpeakerMode !== void 0 ? d._callObjectMode ? console.error("activeSpeakerMode is not available in call object mode") : d._activeSpeakerMode = !!m.activeSpeakerMode : d._activeSpeakerMode = !1, m.receiveSettings ? d._callObjectMode ? d._receiveSettings = m.receiveSettings : console.error("receiveSettings is only available in call object mode") : d._receiveSettings = {}, d.validateProperties(m), d.properties = A({}, m), d._preloadCache.inputSettings || (d._preloadCache.inputSettings = {}), m.inputSettings && m.inputSettings.audio && (d._preloadCache.inputSettings.audio = m.inputSettings.audio), m.inputSettings && m.inputSettings.video && (d._preloadCache.inputSettings.video = m.inputSettings.video), d._callObjectLoader = d._callObjectMode ? new hl(d.callClientId) : null, d._callState = Vi, d._isPreparingToJoin = !1, d._accessState = { access: Cn }, d._meetingSessionSummary = {}, d._finalSummaryOfPrevSession = {}, d._meetingSessionState = Ln(gs, d._callObjectMode), d._nativeInCallAudioMode = ms, d._participants = {}, d._isScreenSharing = !1, d._participantCounts = vs, d._rmpPlayerState = {}, d._waitingParticipants = {}, d._network = { threshold: "good", quality: 100 }, d._activeSpeaker = {}, d._localAudioLevel = 0, d._isLocalAudioLevelObserverRunning = !1, d._remoteParticipantsAudioLevel = {}, d._isRemoteParticipantsAudioLevelObserverRunning = !1, d._messageChannel = N() ? new ll() : new al(), d._iframe && (d._iframe.requestFullscreen ? d._iframe.addEventListener("fullscreenchange", function() {
4060
4060
  document.fullscreenElement === d._iframe ? (d.emitDailyJSEvent({ action: qt }), d.sendMessageToCallMachine({ action: qt })) : (d.emitDailyJSEvent({ action: Vt }), d.sendMessageToCallMachine({ action: Vt }));
4061
4061
  }) : d._iframe.webkitRequestFullscreen && d._iframe.addEventListener("webkitfullscreenchange", function() {
4062
4062
  document.webkitFullscreenElement === d._iframe ? (d.emitDailyJSEvent({ action: qt }), d.sendMessageToCallMachine({ action: qt })) : (d.emitDailyJSEvent({ action: Vt }), d.sendMessageToCallMachine({ action: Vt }));
@@ -4066,7 +4066,7 @@ var Rl = function(t) {
4066
4066
  }
4067
4067
  return d._callObjectMode && d.startListeningForDeviceChanges(), d._messageChannel.addListenerForMessagesFromCallMachine(d.handleMessageFromCallMachine, d.callClientId, Se(d)), d;
4068
4068
  }
4069
- return fe(re, [{ key: "destroy", value: ($r = O(function* () {
4069
+ return fe(re, [{ key: "destroy", value: (Gr = O(function* () {
4070
4070
  var o, u;
4071
4071
  try {
4072
4072
  yield this.leave();
@@ -4083,7 +4083,7 @@ var Rl = function(t) {
4083
4083
  }
4084
4084
  this._callObjectMode && this.stopListeningForDeviceChanges(), this.resetMeetingDependentVars(), this._destroyed = !0, this.emitDailyJSEvent({ action: "call-instance-destroyed" }), delete Be[this.callClientId], !((o = window) === null || o === void 0 || (u = o._daily) === null || u === void 0) && u.instances && delete window._daily.instances[this.callClientId], this.strictMode && (this.callClientId = void 0);
4085
4085
  }), function() {
4086
- return $r.apply(this, arguments);
4086
+ return Gr.apply(this, arguments);
4087
4087
  }) }, { key: "isDestroyed", value: function() {
4088
4088
  return !!this._destroyed;
4089
4089
  } }, { key: "loadCss", value: function(o) {
@@ -4112,7 +4112,7 @@ var Rl = function(t) {
4112
4112
  var u = this._participants.local && this._participants.local.session_id;
4113
4113
  for (var d in o) d === u && (d = "local"), d && o[d] && this.validateParticipantProperties(d, o[d]);
4114
4114
  return this.sendMessageToCallMachine({ action: "update-participants", participants: o }), this;
4115
- } }, { key: "updateWaitingParticipant", value: (Jr = O(function* () {
4115
+ } }, { key: "updateWaitingParticipant", value: ($r = O(function* () {
4116
4116
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4117
4117
  if (ce(this._callObjectMode, "updateWaitingParticipant()"), q(this._callState, "updateWaitingParticipant()"), typeof u != "string" || U(d) !== "object") throw new Error("updateWaitingParticipant() must take an id string and a updates object");
4118
4118
  return new Promise(function(g, m) {
@@ -4121,8 +4121,8 @@ var Rl = function(t) {
4121
4121
  });
4122
4122
  });
4123
4123
  }), function() {
4124
- return Jr.apply(this, arguments);
4125
- }) }, { key: "updateWaitingParticipants", value: (Vr = O(function* () {
4124
+ return $r.apply(this, arguments);
4125
+ }) }, { key: "updateWaitingParticipants", value: (Jr = O(function* () {
4126
4126
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4127
4127
  if (ce(this._callObjectMode, "updateWaitingParticipants()"), q(this._callState, "updateWaitingParticipants()"), U(u) !== "object") throw new Error("updateWaitingParticipants() must take a mapping between ids and update objects");
4128
4128
  return new Promise(function(d, g) {
@@ -4131,16 +4131,16 @@ var Rl = function(t) {
4131
4131
  });
4132
4132
  });
4133
4133
  }), function() {
4134
- return Vr.apply(this, arguments);
4135
- }) }, { key: "requestAccess", value: (qr = O(function* () {
4136
- var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = u.access, g = d === void 0 ? { level: tc } : d, m = u.name, b = m === void 0 ? "" : m;
4134
+ return Jr.apply(this, arguments);
4135
+ }) }, { key: "requestAccess", value: (Vr = O(function* () {
4136
+ var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = u.access, g = d === void 0 ? { level: nc } : d, m = u.name, b = m === void 0 ? "" : m;
4137
4137
  return ce(this._callObjectMode, "requestAccess()"), q(this._callState, "requestAccess()"), new Promise(function(E, C) {
4138
4138
  o.sendMessageToCallMachine({ action: "daily-method-request-access", access: g, name: b }, function(x) {
4139
4139
  x.error && C(x.error), x.access || C(new Error("unknown error in requestAccess()")), E({ access: x.access, granted: x.granted });
4140
4140
  });
4141
4141
  });
4142
4142
  }), function() {
4143
- return qr.apply(this, arguments);
4143
+ return Vr.apply(this, arguments);
4144
4144
  }) }, { key: "localAudio", value: function() {
4145
4145
  return this._participants.local ? !["blocked", "off"].includes(this._participants.local.tracks.audio.state) : null;
4146
4146
  } }, { key: "localVideo", value: function() {
@@ -4157,7 +4157,7 @@ var Rl = function(t) {
4157
4157
  console.warn("There is no screen share in progress. Try calling startScreenShare first.");
4158
4158
  } }, { key: "setLocalVideo", value: function(o) {
4159
4159
  return this.sendMessageToCallMachine({ action: "local-video", state: o }), this;
4160
- } }, { key: "getReceiveSettings", value: (Ur = O(function* (o) {
4160
+ } }, { key: "getReceiveSettings", value: (qr = O(function* (o) {
4161
4161
  var u = this, d = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}).showInheritedValues, g = d !== void 0 && d;
4162
4162
  if (ce(this._callObjectMode, "getReceiveSettings()"), !this._callMachineInitialized) return this._receiveSettings;
4163
4163
  switch (U(o)) {
@@ -4173,17 +4173,17 @@ var Rl = function(t) {
4173
4173
  throw new Error('first argument to getReceiveSettings() must be a participant id (or "base"), or there should be no arguments');
4174
4174
  }
4175
4175
  }), function(o) {
4176
- return Ur.apply(this, arguments);
4177
- }) }, { key: "updateReceiveSettings", value: (Fr = O(function* (o) {
4176
+ return qr.apply(this, arguments);
4177
+ }) }, { key: "updateReceiveSettings", value: (Ur = O(function* (o) {
4178
4178
  var u = this;
4179
- if (ce(this._callObjectMode, "updateReceiveSettings()"), !_o(o, { allowAllParticipantsKey: !0 })) throw new Error(So({ allowAllParticipantsKey: !0 }));
4179
+ if (ce(this._callObjectMode, "updateReceiveSettings()"), !bo(o, { allowAllParticipantsKey: !0 })) throw new Error(ko({ allowAllParticipantsKey: !0 }));
4180
4180
  return q(this._callState, "updateReceiveSettings()", "To specify receive settings earlier, use the receiveSettings config property."), new Promise(function(d) {
4181
4181
  u.sendMessageToCallMachine({ action: "update-receive-settings", receiveSettings: o }, function(g) {
4182
4182
  d({ receiveSettings: g.receiveSettings });
4183
4183
  });
4184
4184
  });
4185
4185
  }), function(o) {
4186
- return Fr.apply(this, arguments);
4186
+ return Ur.apply(this, arguments);
4187
4187
  }) }, { key: "_prepInputSettingsToPresentToUser", value: function(o) {
4188
4188
  var u, d, g, m, b, E, C, x;
4189
4189
  if (o) {
@@ -4209,15 +4209,15 @@ var Rl = function(t) {
4209
4209
  this._inputSettings ? (o = ((d = this._inputSettings) === null || d === void 0 ? void 0 : d.video) || x, u = ((g = this._inputSettings) === null || g === void 0 ? void 0 : g.audio) || x) : (o = ((m = this._preloadCache) === null || m === void 0 || (b = m.inputSettings) === null || b === void 0 ? void 0 : b.video) || x, u = ((E = this._preloadCache) === null || E === void 0 || (C = E.inputSettings) === null || C === void 0 ? void 0 : C.audio) || x);
4210
4210
  var W = { audio: u, video: o };
4211
4211
  return this._prepInputSettingsToPresentToUser(W);
4212
- } }, { key: "updateInputSettings", value: (Br = O(function* (o) {
4212
+ } }, { key: "updateInputSettings", value: (Fr = O(function* (o) {
4213
4213
  var u = this;
4214
- return D(), bo(o) ? (o && (this._preloadCache.inputSettings || (this._preloadCache.inputSettings = {}), wo(o, this.properties.dailyConfig), o.audio && (this._preloadCache.inputSettings.audio = o.audio), o.video && (this._preloadCache.inputSettings.video = o.video)), o.video || o.audio ? this._callObjectMode && !this._callMachineInitialized ? this._getInputSettings() : new Promise(function(d, g) {
4214
+ return D(), wo(o) ? (o && (this._preloadCache.inputSettings || (this._preloadCache.inputSettings = {}), So(o, this.properties.dailyConfig), o.audio && (this._preloadCache.inputSettings.audio = o.audio), o.video && (this._preloadCache.inputSettings.video = o.video)), o.video || o.audio ? this._callObjectMode && !this._callMachineInitialized ? this._getInputSettings() : new Promise(function(d, g) {
4215
4215
  u.sendMessageToCallMachine({ action: "update-input-settings", inputSettings: o }, function(m) {
4216
4216
  m.error ? g(m.error) : d({ inputSettings: u._prepInputSettingsToPresentToUser(m.inputSettings) });
4217
4217
  });
4218
4218
  }) : this._getInputSettings()) : (console.error(or()), Promise.reject(or()));
4219
4219
  }), function(o) {
4220
- return Br.apply(this, arguments);
4220
+ return Fr.apply(this, arguments);
4221
4221
  }) }, { key: "setBandwidth", value: function(o) {
4222
4222
  var u = o.kbs, d = o.trackConstraints;
4223
4223
  if (D(), this._callMachineInitialized) return this.sendMessageToCallMachine({ action: "set-bandwidth", kbs: u, trackConstraints: d }), this;
@@ -4236,7 +4236,7 @@ var Rl = function(t) {
4236
4236
  return this.sendMessageToCallMachine({ action: "set-ice-config", iceConfig: o }), this;
4237
4237
  } }, { key: "meetingSessionSummary", value: function() {
4238
4238
  return [Ie, Ce].includes(this._callState) ? this._finalSummaryOfPrevSession : this._meetingSessionSummary;
4239
- } }, { key: "getMeetingSession", value: (Ir = O(function* () {
4239
+ } }, { key: "getMeetingSession", value: (Br = O(function* () {
4240
4240
  var o = this;
4241
4241
  return console.warn("getMeetingSession() is deprecated: use meetingSessionSummary(), which will return immediately"), q(this._callState, "getMeetingSession()"), new Promise(function(u) {
4242
4242
  o.sendMessageToCallMachine({ action: "get-meeting-session" }, function(d) {
@@ -4244,7 +4244,7 @@ var Rl = function(t) {
4244
4244
  });
4245
4245
  });
4246
4246
  }), function() {
4247
- return Ir.apply(this, arguments);
4247
+ return Br.apply(this, arguments);
4248
4248
  }) }, { key: "meetingSessionState", value: function() {
4249
4249
  return q(this._callState, "meetingSessionState"), this._meetingSessionState;
4250
4250
  } }, { key: "setMeetingSessionData", value: function(o) {
@@ -4252,7 +4252,7 @@ var Rl = function(t) {
4252
4252
  ce(this._callObjectMode, "setMeetingSessionData()"), q(this._callState, "setMeetingSessionData");
4253
4253
  try {
4254
4254
  (function(d, g) {
4255
- new ll({ data: d, mergeStrategy: g });
4255
+ new ul({ data: d, mergeStrategy: g });
4256
4256
  })(o, u);
4257
4257
  } catch (d) {
4258
4258
  throw console.error(d), d;
@@ -4269,10 +4269,10 @@ var Rl = function(t) {
4269
4269
  delete m.action, delete m.callbackStamp, g(m);
4270
4270
  });
4271
4271
  });
4272
- } }, { key: "setUserData", value: (jr = O(function* (o) {
4272
+ } }, { key: "setUserData", value: (Ir = O(function* (o) {
4273
4273
  var u = this;
4274
4274
  try {
4275
- yo(o);
4275
+ _o(o);
4276
4276
  } catch (d) {
4277
4277
  throw console.error(d), d;
4278
4278
  }
@@ -4286,7 +4286,7 @@ var Rl = function(t) {
4286
4286
  }
4287
4287
  });
4288
4288
  }), function(o) {
4289
- return jr.apply(this, arguments);
4289
+ return Ir.apply(this, arguments);
4290
4290
  }) }, { key: "validateAudioLevelInterval", value: function(o) {
4291
4291
  if (o && (o < 100 || typeof o != "number")) throw new Error("The interval must be a number greater than or equal to 100 milliseconds.");
4292
4292
  } }, { key: "startLocalAudioLevelObserver", value: function(o) {
@@ -4314,7 +4314,7 @@ var Rl = function(t) {
4314
4314
  return this._isRemoteParticipantsAudioLevelObserverRunning;
4315
4315
  } }, { key: "stopRemoteParticipantsAudioLevelObserver", value: function() {
4316
4316
  this._preloadCache.remoteParticipantsAudioLevelObserver = null, this._remoteParticipantsAudioLevel = {}, this._isRemoteParticipantsAudioLevelObserverRunning = !1, this.sendMessageToCallMachine({ action: "stop-remote-participants-audio-level-observer" });
4317
- } }, { key: "startCamera", value: (Nr = O(function* () {
4317
+ } }, { key: "startCamera", value: (jr = O(function* () {
4318
4318
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4319
4319
  if (ce(this._callObjectMode, "startCamera()"), xn(this._callState, this._isPreparingToJoin, "startCamera()", "Did you mean to use setLocalAudio() and/or setLocalVideo() instead?"), this.needsLoad()) try {
4320
4320
  yield this.load(u);
@@ -4334,7 +4334,7 @@ var Rl = function(t) {
4334
4334
  });
4335
4335
  });
4336
4336
  }), function() {
4337
- return Nr.apply(this, arguments);
4337
+ return jr.apply(this, arguments);
4338
4338
  }) }, { key: "validateCustomTrack", value: function(o, u, d) {
4339
4339
  if (d && d.length > 50) throw new Error("Custom track `trackName` must not be more than 50 characters");
4340
4340
  if (u && u !== "music" && u !== "speech" && !(u instanceof Object)) throw new Error("Custom track `mode` must be either `music` | `speech` | `DailyMicAudioModeSettings` or `undefined`");
@@ -4361,10 +4361,10 @@ var Rl = function(t) {
4361
4361
  d({ device: g.device });
4362
4362
  });
4363
4363
  });
4364
- } }, { key: "setAudioDevice", value: (Lr = O(function* (o) {
4364
+ } }, { key: "setAudioDevice", value: (Nr = O(function* (o) {
4365
4365
  return mt(), this.nativeUtils().setAudioDevice(o), { deviceId: yield this.nativeUtils().getAudioDevice() };
4366
4366
  }), function(o) {
4367
- return Lr.apply(this, arguments);
4367
+ return Nr.apply(this, arguments);
4368
4368
  }) }, { key: "cycleCamera", value: function() {
4369
4369
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4370
4370
  return new Promise(function(d) {
@@ -4386,7 +4386,7 @@ var Rl = function(t) {
4386
4386
  u(d.facingMode);
4387
4387
  });
4388
4388
  });
4389
- } }, { key: "setInputDevicesAsync", value: (Dr = O(function* (o) {
4389
+ } }, { key: "setInputDevicesAsync", value: (Lr = O(function* (o) {
4390
4390
  var u = this, d = o.audioDeviceId, g = o.videoDeviceId, m = o.audioSource, b = o.videoSource;
4391
4391
  return D(), m !== void 0 && (d = m), b !== void 0 && (g = b), d && (this._preloadCache.audioDeviceId = d, this._sharedTracks.audioDeviceId = d), g && (this._preloadCache.videoDeviceId = g, this._sharedTracks.videoDeviceId = g), this._callObjectMode && this.needsLoad() ? { camera: { deviceId: this._preloadCache.videoDeviceId }, mic: { deviceId: this._preloadCache.audioDeviceId }, speaker: { deviceId: this._preloadCache.outputDeviceId } } : (d instanceof MediaStreamTrack && (d = yt), g instanceof MediaStreamTrack && (g = yt), new Promise(function(E) {
4392
4392
  u.sendMessageToCallMachine({ action: "set-input-devices", audioDeviceId: d, videoDeviceId: g }, function(C) {
@@ -4394,8 +4394,8 @@ var Rl = function(t) {
4394
4394
  });
4395
4395
  }));
4396
4396
  }), function(o) {
4397
- return Dr.apply(this, arguments);
4398
- }) }, { key: "setOutputDeviceAsync", value: (xr = O(function* (o) {
4397
+ return Lr.apply(this, arguments);
4398
+ }) }, { key: "setOutputDeviceAsync", value: (Dr = O(function* (o) {
4399
4399
  var u = this, d = o.outputDeviceId;
4400
4400
  return D(), d && (this._preloadCache.outputDeviceId = d), this._callObjectMode && this.needsLoad() ? { camera: { deviceId: this._preloadCache.videoDeviceId }, mic: { deviceId: this._preloadCache.audioDeviceId }, speaker: { deviceId: this._preloadCache.outputDeviceId } } : new Promise(function(g) {
4401
4401
  u.sendMessageToCallMachine({ action: "set-output-device", outputDeviceId: d }, function(m) {
@@ -4403,8 +4403,8 @@ var Rl = function(t) {
4403
4403
  });
4404
4404
  });
4405
4405
  }), function(o) {
4406
- return xr.apply(this, arguments);
4407
- }) }, { key: "getInputDevices", value: (Rr = O(function* () {
4406
+ return Dr.apply(this, arguments);
4407
+ }) }, { key: "getInputDevices", value: (xr = O(function* () {
4408
4408
  var o = this;
4409
4409
  return this._callObjectMode && this.needsLoad() ? { camera: { deviceId: this._preloadCache.videoDeviceId }, mic: { deviceId: this._preloadCache.audioDeviceId }, speaker: { deviceId: this._preloadCache.outputDeviceId } } : new Promise(function(u) {
4410
4410
  o.sendMessageToCallMachine({ action: "get-input-devices" }, function(d) {
@@ -4412,11 +4412,11 @@ var Rl = function(t) {
4412
4412
  });
4413
4413
  });
4414
4414
  }), function() {
4415
- return Rr.apply(this, arguments);
4415
+ return xr.apply(this, arguments);
4416
4416
  }) }, { key: "nativeInCallAudioMode", value: function() {
4417
4417
  return mt(), this._nativeInCallAudioMode;
4418
4418
  } }, { key: "setNativeInCallAudioMode", value: function(o) {
4419
- if (mt(), [fs, Pl].includes(o)) {
4419
+ if (mt(), [ms, Rl].includes(o)) {
4420
4420
  if (o !== this._nativeInCallAudioMode) return this._nativeInCallAudioMode = o, !this.disableReactNativeAutoDeviceManagement("audio") && Yt(this._callState, this._isPreparingToJoin) && this.nativeUtils().setAudioMode(this._nativeInCallAudioMode), this;
4421
4421
  } else console.error("invalid in-call audio mode specified: ", o);
4422
4422
  } }, { key: "preAuth", value: (ht = O(function* () {
@@ -4434,21 +4434,21 @@ var Rl = function(t) {
4434
4434
  if (this.needsLoad()) {
4435
4435
  if (this._destroyed && (this._logUseAfterDestroy(), this.strictMode)) throw new Error("Use after destroy");
4436
4436
  if (o && (this.validateProperties(o), this.properties = A(A({}, this.properties), o)), !this._callObjectMode && !this.properties.url) throw new Error("can't load iframe meeting because url property isn't set");
4437
- return this._updateCallState(Vi), this.emitDailyJSEvent({ action: ac }), this._callObjectMode ? new Promise(function(d, g) {
4437
+ return this._updateCallState(Ji), this.emitDailyJSEvent({ action: cc }), this._callObjectMode ? new Promise(function(d, g) {
4438
4438
  u._callObjectLoader.cancel();
4439
4439
  var m = Date.now();
4440
4440
  u._callObjectLoader.load(u.properties.dailyConfig, function(b) {
4441
- u._bundleLoadTime = b ? "no-op" : Date.now() - m, u._updateCallState(Ji), b && u.emitDailyJSEvent({ action: $i }), d();
4441
+ u._bundleLoadTime = b ? "no-op" : Date.now() - m, u._updateCallState($i), b && u.emitDailyJSEvent({ action: Gi }), d();
4442
4442
  }, function(b, E) {
4443
- if (u.emitDailyJSEvent({ action: cc }), !E) {
4443
+ if (u.emitDailyJSEvent({ action: lc }), !E) {
4444
4444
  u._updateCallState(Ce), u.resetMeetingDependentVars();
4445
- var C = { action: Wi, errorMsg: b.msg, error: { type: "connection-error", msg: "Failed to load call object bundle.", details: { on: "load", sourceError: b, bundleUrl: Xt(u.properties.dailyConfig) } } };
4445
+ var C = { action: Yi, errorMsg: b.msg, error: { type: "connection-error", msg: "Failed to load call object bundle.", details: { on: "load", sourceError: b, bundleUrl: Xt(u.properties.dailyConfig) } } };
4446
4446
  u._maybeSendToSentry(C), u.emitDailyJSEvent(C), g(b.msg);
4447
4447
  }
4448
4448
  });
4449
- }) : (this._iframe.src = qs(this.assembleMeetingUrl(), this.properties.dailyConfig), new Promise(function(d, g) {
4449
+ }) : (this._iframe.src = Vs(this.assembleMeetingUrl(), this.properties.dailyConfig), new Promise(function(d, g) {
4450
4450
  u._loadedCallback = function(m) {
4451
- u._callState !== Ce ? (u._updateCallState(Ji), (u.properties.cssFile || u.properties.cssText) && u.loadCss(u.properties), d()) : g(m);
4451
+ u._callState !== Ce ? (u._updateCallState($i), (u.properties.cssFile || u.properties.cssText) && u.loadCss(u.properties), d()) : g(m);
4452
4452
  };
4453
4453
  }));
4454
4454
  }
@@ -4473,13 +4473,13 @@ var Rl = function(t) {
4473
4473
  if (u.url && !this._callObjectMode && u.url && u.url !== this.properties.url) return console.error("url in join() is different than the one used in load() (".concat(this.properties.url, " -> ").concat(u.url, ")")), this.updateIsPreparingToJoin(!1), Promise.reject();
4474
4474
  this.validateProperties(u), this.properties = A(A({}, this.properties), u);
4475
4475
  }
4476
- return u.showLocalVideo !== void 0 && (this._callObjectMode ? console.error("showLocalVideo is not available in callObject mode") : this._showLocalVideo = !!u.showLocalVideo), u.showParticipantsBar !== void 0 && (this._callObjectMode ? console.error("showParticipantsBar is not available in callObject mode") : this._showParticipantsBar = !!u.showParticipantsBar), this._callState === Qe || this._callState === Qn ? (console.warn("already joined meeting, call leave() before joining again"), void this.updateIsPreparingToJoin(!1)) : (this._updateCallState(Qn, !1), this.emitDailyJSEvent({ action: dc }), this._preloadCache.inputSettings || (this._preloadCache.inputSettings = {}), u.inputSettings && u.inputSettings.audio && (this._preloadCache.inputSettings.audio = u.inputSettings.audio), u.inputSettings && u.inputSettings.video && (this._preloadCache.inputSettings.video = u.inputSettings.video), this.sendMessageToCallMachine({ action: "join-meeting", properties: Ke(this.properties, this.callClientId), preloadCache: Ke(this._preloadCache, this.callClientId) }), new Promise(function(g, m) {
4476
+ return u.showLocalVideo !== void 0 && (this._callObjectMode ? console.error("showLocalVideo is not available in callObject mode") : this._showLocalVideo = !!u.showLocalVideo), u.showParticipantsBar !== void 0 && (this._callObjectMode ? console.error("showParticipantsBar is not available in callObject mode") : this._showParticipantsBar = !!u.showParticipantsBar), this._callState === Qe || this._callState === Qn ? (console.warn("already joined meeting, call leave() before joining again"), void this.updateIsPreparingToJoin(!1)) : (this._updateCallState(Qn, !1), this.emitDailyJSEvent({ action: hc }), this._preloadCache.inputSettings || (this._preloadCache.inputSettings = {}), u.inputSettings && u.inputSettings.audio && (this._preloadCache.inputSettings.audio = u.inputSettings.audio), u.inputSettings && u.inputSettings.video && (this._preloadCache.inputSettings.video = u.inputSettings.video), this.sendMessageToCallMachine({ action: "join-meeting", properties: Ke(this.properties, this.callClientId), preloadCache: Ke(this._preloadCache, this.callClientId) }), new Promise(function(g, m) {
4477
4477
  o._joinedCallback = function(b, E) {
4478
4478
  if (o._callState !== Ce) {
4479
4479
  if (o._updateCallState(Qe), b) for (var C in b) {
4480
4480
  if (o._callObjectMode) {
4481
4481
  var x = o._callMachine().store;
4482
- os(b[C], x), as(b[C], x), cs(b[C], o._participants[C], x);
4482
+ as(b[C], x), cs(b[C], x), ls(b[C], o._participants[C], x);
4483
4483
  }
4484
4484
  o._participants[C] = A({}, b[C]), o.toggleParticipantAudioBasedOnNativeAudioFocus();
4485
4485
  }
@@ -4500,11 +4500,11 @@ var Rl = function(t) {
4500
4500
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4501
4501
  if (Ht(this._callMachineInitialized, "startScreenShare()"), u.screenVideoSendSettings && this._validateVideoSendSettings("screenVideo", u.screenVideoSendSettings), u.mediaStream && (this._sharedTracks.screenMediaStream = u.mediaStream, u.mediaStream = yt), typeof DailyNativeUtils < "u" && DailyNativeUtils.isIOS !== void 0 && DailyNativeUtils.isIOS) {
4502
4502
  var d = this.nativeUtils();
4503
- if (yield d.isScreenBeingCaptured()) return void this.emitDailyJSEvent({ action: zi, type: "screen-share-error", errorMsg: "Could not start the screen sharing. The screen is already been captured!" });
4503
+ if (yield d.isScreenBeingCaptured()) return void this.emitDailyJSEvent({ action: Wi, type: "screen-share-error", errorMsg: "Could not start the screen sharing. The screen is already been captured!" });
4504
4504
  d.setSystemScreenCaptureStartCallback(function() {
4505
- d.setSystemScreenCaptureStartCallback(null), o.sendMessageToCallMachine({ action: Ki, captureOptions: u });
4505
+ d.setSystemScreenCaptureStartCallback(null), o.sendMessageToCallMachine({ action: Qi, captureOptions: u });
4506
4506
  }), d.presentSystemScreenCapturePrompt();
4507
- } else this.sendMessageToCallMachine({ action: Ki, captureOptions: u });
4507
+ } else this.sendMessageToCallMachine({ action: Qi, captureOptions: u });
4508
4508
  }), function() {
4509
4509
  return ne.apply(this, arguments);
4510
4510
  }) }, { key: "stopScreenShare", value: function() {
@@ -4526,10 +4526,10 @@ var Rl = function(t) {
4526
4526
  this.sendMessageToCallMachine({ action: "daily-method-update-live-streaming", layout: d, instanceId: g });
4527
4527
  } }, { key: "addLiveStreamingEndpoints", value: function(o) {
4528
4528
  var u = o.endpoints, d = o.instanceId;
4529
- this.sendMessageToCallMachine({ action: Qi, endpointsOp: el, endpoints: u, instanceId: d });
4529
+ this.sendMessageToCallMachine({ action: Xi, endpointsOp: tl, endpoints: u, instanceId: d });
4530
4530
  } }, { key: "removeLiveStreamingEndpoints", value: function(o) {
4531
4531
  var u = o.endpoints, d = o.instanceId;
4532
- this.sendMessageToCallMachine({ action: Qi, endpointsOp: tl, endpoints: u, instanceId: d });
4532
+ this.sendMessageToCallMachine({ action: Xi, endpointsOp: nl, endpoints: u, instanceId: d });
4533
4533
  } }, { key: "stopLiveStreaming", value: function() {
4534
4534
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4535
4535
  this.sendMessageToCallMachine(A({ action: "daily-method-stop-live-streaming" }, o));
@@ -4539,14 +4539,14 @@ var Rl = function(t) {
4539
4539
  var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, d = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
4540
4540
  if (o) {
4541
4541
  if (!(o instanceof Array || Array.isArray(o))) throw new Error("encodings must be an Array");
4542
- if (!ws(o.length, 1, 3)) throw new Error("encodings must be an Array with between 1 to ".concat(3, " layers"));
4542
+ if (!Ss(o.length, 1, 3)) throw new Error("encodings must be an Array with between 1 to ".concat(3, " layers"));
4543
4543
  for (var g = 0; g < o.length; g++) {
4544
4544
  var m = o[g];
4545
4545
  for (var b in this._validateEncodingLayerHasValidProperties(m), m) if (Rn.includes(b)) {
4546
4546
  if (typeof m[b] != "number") throw new Error("".concat(b, " must be a number"));
4547
4547
  if (u) {
4548
4548
  var E = u[b], C = E.min, x = E.max;
4549
- if (!ws(m[b], C, x)) throw new Error("".concat(b, " value not in range. valid range: ").concat(C, " to ").concat(x));
4549
+ if (!Ss(m[b], C, x)) throw new Error("".concat(b, " value not in range. valid range: ").concat(C, " to ").concat(x));
4550
4550
  }
4551
4551
  } else if (!["active", "scalabilityMode"].includes(b)) throw new Error("Invalid key ".concat(b, ", valid keys are:") + Object.values(Rn));
4552
4552
  if (d && !m.hasOwnProperty("maxBitrate")) throw new Error("maxBitrate is not specified");
@@ -4557,9 +4557,9 @@ var Rl = function(t) {
4557
4557
  try {
4558
4558
  (function(b) {
4559
4559
  if (typeof b != "string") throw new Error('url parameter must be "string" type');
4560
- })(d), bs(m), function(b) {
4561
- for (var E in b) if (!vs.includes(E)) throw new Error("Invalid key ".concat(E, ", valid keys are: ").concat(vs));
4562
- b.simulcastEncodings && this.validateSimulcastEncodings(b.simulcastEncodings, vo, !0);
4560
+ })(d), ws(m), function(b) {
4561
+ for (var E in b) if (!ys.includes(E)) throw new Error("Invalid key ".concat(E, ", valid keys are: ").concat(ys));
4562
+ b.simulcastEncodings && this.validateSimulcastEncodings(b.simulcastEncodings, yo, !0);
4563
4563
  }(m);
4564
4564
  } catch (b) {
4565
4565
  throw console.error("invalid argument Error: ".concat(b)), console.error(`startRemoteMediaPlayer arguments must be of the form:
@@ -4587,7 +4587,7 @@ var Rl = function(t) {
4587
4587
  }) }, { key: "updateRemoteMediaPlayer", value: (M = O(function* (o) {
4588
4588
  var u = this, d = o.session_id, g = o.settings;
4589
4589
  try {
4590
- bs(g);
4590
+ ws(g);
4591
4591
  } catch (m) {
4592
4592
  throw console.error("invalid argument Error: ".concat(m)), console.error(`updateRemoteMediaPlayer arguments must be of the form:
4593
4593
  session_id: "participant session",
@@ -4664,8 +4664,8 @@ var Rl = function(t) {
4664
4664
  } }, { key: "sipCallTransfer", value: (w = O(function* (o) {
4665
4665
  var u = this;
4666
4666
  if (q(this._callState, "sipCallTransfer()"), !o) throw new Error("sipCallTransfer() requires a sessionId and toEndPoint");
4667
- return o.useSipRefer = !1, _s(o, "sipCallTransfer"), new Promise(function(d, g) {
4668
- u.sendMessageToCallMachine(A({ action: Zi }, o), function(m) {
4667
+ return o.useSipRefer = !1, bs(o, "sipCallTransfer"), new Promise(function(d, g) {
4668
+ u.sendMessageToCallMachine(A({ action: es }, o), function(m) {
4669
4669
  m.error ? g(m.error) : d(m);
4670
4670
  });
4671
4671
  });
@@ -4674,8 +4674,8 @@ var Rl = function(t) {
4674
4674
  }) }, { key: "sipRefer", value: (y = O(function* (o) {
4675
4675
  var u = this;
4676
4676
  if (q(this._callState, "sipRefer()"), !o) throw new Error("sessionId and toEndPoint are mandatory parameter");
4677
- return o.useSipRefer = !0, _s(o, "sipRefer"), new Promise(function(d, g) {
4678
- u.sendMessageToCallMachine(A({ action: Zi }, o), function(m) {
4677
+ return o.useSipRefer = !0, bs(o, "sipRefer"), new Promise(function(d, g) {
4678
+ u.sendMessageToCallMachine(A({ action: es }, o), function(m) {
4679
4679
  m.error ? g(m.error) : d(m);
4680
4680
  });
4681
4681
  });
@@ -4721,7 +4721,7 @@ var Rl = function(t) {
4721
4721
  }) }, { key: "abortTestWebsocketConnectivity", value: function() {
4722
4722
  this.sendMessageToCallMachine({ action: "abort-test-websocket-connectivity" });
4723
4723
  } }, { key: "_validateVideoTrackForNetworkTests", value: function(o) {
4724
- return o ? o instanceof MediaStreamTrack ? !!Cl(o) || (console.error("Video track is not playable. This test needs a live video track."), !1) : (console.error("Video track needs to be of type `MediaStreamTrack`."), !1) : (console.error("Missing video track. You must provide a video track in order to run this test."), !1);
4724
+ return o ? o instanceof MediaStreamTrack ? !!Ml(o) || (console.error("Video track is not playable. This test needs a live video track."), !1) : (console.error("Video track needs to be of type `MediaStreamTrack`."), !1) : (console.error("Missing video track. You must provide a video track in order to run this test."), !1);
4725
4725
  } }, { key: "testCallQuality", value: (f = O(function* () {
4726
4726
  var o = this;
4727
4727
  D(), ce(this._callObjectMode, "testCallQuality()"), Ht(this._callMachineInitialized, "testCallQuality()", null, !0), xn(this._callState, this._isPreparingToJoin, "testCallQuality()");
@@ -4736,7 +4736,7 @@ var Rl = function(t) {
4736
4736
  }
4737
4737
  return new Promise(function(m) {
4738
4738
  o.sendMessageToCallMachine({ action: "test-call-quality", dailyJsVersion: o.properties.dailyJsVersion }, function(b) {
4739
- var E = b.results, C = E.result, x = Gr(E, Ml);
4739
+ var E = b.results, C = E.result, x = Hr(E, Ol);
4740
4740
  if (C === "failed") {
4741
4741
  var W, G = A({}, x);
4742
4742
  (W = x.error) !== null && W !== void 0 && W.details ? (x.error.details = JSON.parse(x.error.details), G.error = A(A({}, G.error), {}, { details: A({}, G.error.details) }), G.error.details.duringTest = "testCallQuality") : (G.error = G.error ? A({}, G.error) : {}, G.error.details = { duringTest: "testCallQuality" }), o._maybeSendToSentry(G);
@@ -4902,7 +4902,7 @@ var Rl = function(t) {
4902
4902
  } }, { key: "customIntegrations", value: function() {
4903
4903
  return D(), ee(this._callObjectMode, "customIntegrations()"), this._customIntegrations;
4904
4904
  } }, { key: "setCustomIntegrations", value: function(o) {
4905
- return D(), ee(this._callObjectMode, "setCustomIntegrations()"), q(this._callState, "setCustomIntegrations()"), To(o) ? (this.sendMessageToCallMachine({ action: "set-custom-integrations", integrations: o }), this._customIntegrations = o, this) : this;
4905
+ return D(), ee(this._callObjectMode, "setCustomIntegrations()"), q(this._callState, "setCustomIntegrations()"), Co(o) ? (this.sendMessageToCallMachine({ action: "set-custom-integrations", integrations: o }), this._customIntegrations = o, this) : this;
4906
4906
  } }, { key: "startCustomIntegrations", value: function(o) {
4907
4907
  var u = this;
4908
4908
  if (D(), ee(this._callObjectMode, "startCustomIntegrations()"), q(this._callState, "startCustomIntegrations()"), Array.isArray(o) && o.some(function(m) {
@@ -4924,7 +4924,7 @@ var Rl = function(t) {
4924
4924
  } }, { key: "customTrayButtons", value: function() {
4925
4925
  return ee(this._callObjectMode, "customTrayButtons()"), D(), this._customTrayButtons;
4926
4926
  } }, { key: "updateCustomTrayButtons", value: function(o) {
4927
- return ee(this._callObjectMode, "updateCustomTrayButtons()"), D(), q(this._callState, "updateCustomTrayButtons()"), Eo(o) ? (this.sendMessageToCallMachine({ action: "update-custom-tray-buttons", btns: o }), this._customTrayButtons = o, this) : (console.error("updateCustomTrayButtons only accepts a dictionary of the type ".concat(JSON.stringify(on))), this);
4927
+ return ee(this._callObjectMode, "updateCustomTrayButtons()"), D(), q(this._callState, "updateCustomTrayButtons()"), To(o) ? (this.sendMessageToCallMachine({ action: "update-custom-tray-buttons", btns: o }), this._customTrayButtons = o, this) : (console.error("updateCustomTrayButtons only accepts a dictionary of the type ".concat(JSON.stringify(on))), this);
4928
4928
  } }, { key: "theme", value: function() {
4929
4929
  return ee(this._callObjectMode, "theme()"), this.properties.theme;
4930
4930
  } }, { key: "setTheme", value: function(o) {
@@ -4933,7 +4933,7 @@ var Rl = function(t) {
4933
4933
  try {
4934
4934
  u.validateProperties({ theme: o }), u.properties.theme = A({}, o), u.sendMessageToCallMachine({ action: "set-theme", theme: u.properties.theme });
4935
4935
  try {
4936
- u.emitDailyJSEvent({ action: oc, theme: u.properties.theme });
4936
+ u.emitDailyJSEvent({ action: ac, theme: u.properties.theme });
4937
4937
  } catch (m) {
4938
4938
  console.log("could not emit 'theme-updated'", m);
4939
4939
  }
@@ -4943,7 +4943,7 @@ var Rl = function(t) {
4943
4943
  }
4944
4944
  });
4945
4945
  } }, { key: "requestFullscreen", value: (a = O(function* () {
4946
- if (D(), this._iframe && !document.fullscreenElement && es()) try {
4946
+ if (D(), this._iframe && !document.fullscreenElement && ts()) try {
4947
4947
  (yield this._iframe.requestFullscreen) ? this._iframe.requestFullscreen() : this._iframe.webkitRequestFullscreen();
4948
4948
  } catch (o) {
4949
4949
  console.log("could not make video call fullscreen", o);
@@ -5021,7 +5021,7 @@ var Rl = function(t) {
5021
5021
  return "".concat(Fe[m].queryString, "=").concat(d[m]);
5022
5022
  }).join("&");
5023
5023
  } }, { key: "needsLoad", value: function() {
5024
- return [qi, Vi, Ie, Ce].includes(this._callState);
5024
+ return [Vi, Ji, Ie, Ce].includes(this._callState);
5025
5025
  } }, { key: "sendMessageToCallMachine", value: function(o, u) {
5026
5026
  if (this._destroyed && (this._logUseAfterDestroy(), this.strictMode)) throw new Error("Use after destroy");
5027
5027
  this._messageChannel.sendMessageToCallMachine(o, u, this._iframe, this.callClientId);
@@ -5033,28 +5033,28 @@ var Rl = function(t) {
5033
5033
  this._messageChannel.removeListenerForPackagedMessagesFromCallMachine(o);
5034
5034
  } }, { key: "handleMessageFromCallMachine", value: function(o) {
5035
5035
  switch (o.action) {
5036
- case ic:
5037
- this.sendMessageToCallMachine(A({ action: sc }, this.properties));
5036
+ case sc:
5037
+ this.sendMessageToCallMachine(A({ action: oc }, this.properties));
5038
5038
  break;
5039
5039
  case "call-machine-initialized":
5040
5040
  this._callMachineInitialized = !0;
5041
5041
  var u = { action: Jt, level: "log", code: 1011, stats: { event: "bundle load", time: this._bundleLoadTime === "no-op" ? 0 : this._bundleLoadTime, preLoaded: this._bundleLoadTime === "no-op", url: Xt(this.properties.dailyConfig) } };
5042
5042
  this.sendMessageToCallMachine(u), this._delayDuplicateInstanceLog && this._logDuplicateInstanceAttempt();
5043
5043
  break;
5044
- case $i:
5044
+ case Gi:
5045
5045
  this._loadedCallback && (this._loadedCallback(), this._loadedCallback = null), this.emitDailyJSEvent(o);
5046
5046
  break;
5047
- case hc:
5047
+ case pc:
5048
5048
  this._joinedCallback && (this._joinedCallback(o.participants), this._joinedCallback = null), this.emitDailyJSEvent(o);
5049
5049
  break;
5050
- case fc:
5051
5050
  case mc:
5051
+ case gc:
5052
5052
  if (this._callState === Ie) return;
5053
5053
  if (o.participant && o.participant.session_id) {
5054
5054
  var d = o.participant.local ? "local" : o.participant.session_id;
5055
5055
  if (this._callObjectMode) {
5056
5056
  var g = this._callMachine().store;
5057
- os(o.participant, g), as(o.participant, g), cs(o.participant, this._participants[d], g);
5057
+ as(o.participant, g), cs(o.participant, g), ls(o.participant, this._participants[d], g);
5058
5058
  }
5059
5059
  try {
5060
5060
  this.maybeParticipantTracksStopped(this._participants[d], o.participant), this.maybeParticipantTracksStarted(this._participants[d], o.participant), this.maybeEventRecordingStopped(this._participants[d], o.participant), this.maybeEventRecordingStarted(this._participants[d], o.participant);
@@ -5064,49 +5064,49 @@ var Rl = function(t) {
5064
5064
  this.compareEqualForParticipantUpdateEvent(o.participant, this._participants[d]) || (this._participants[d] = A({}, o.participant), this.toggleParticipantAudioBasedOnNativeAudioFocus(), this.emitDailyJSEvent(o));
5065
5065
  }
5066
5066
  break;
5067
- case gc:
5067
+ case vc:
5068
5068
  if (o.participant && o.participant.session_id) {
5069
5069
  var m = this._participants[o.participant.session_id];
5070
5070
  m && this.maybeParticipantTracksStopped(m, null), delete this._participants[o.participant.session_id], this.emitDailyJSEvent(o);
5071
5071
  }
5072
5072
  break;
5073
- case vc:
5073
+ case yc:
5074
5074
  X(this._participantCounts, o.participantCounts) || (this._participantCounts = o.participantCounts, this.emitDailyJSEvent(o));
5075
5075
  break;
5076
- case yc:
5076
+ case _c:
5077
5077
  var b = { access: o.access };
5078
5078
  o.awaitingAccess && (b.awaitingAccess = o.awaitingAccess), X(this._accessState, b) || (this._accessState = b, this.emitDailyJSEvent(o));
5079
5079
  break;
5080
- case _c:
5080
+ case bc:
5081
5081
  if (o.meetingSession) {
5082
5082
  this._meetingSessionSummary = o.meetingSession, this.emitDailyJSEvent(o);
5083
5083
  var E = A(A({}, o), {}, { action: "meeting-session-updated" });
5084
5084
  this.emitDailyJSEvent(E);
5085
5085
  }
5086
5086
  break;
5087
- case Wi:
5087
+ case Yi:
5088
5088
  var C;
5089
5089
  this._iframe && !o.preserveIframe && (this._iframe.src = ""), this._updateCallState(Ce), this.resetMeetingDependentVars(), this._loadedCallback && (this._loadedCallback(o.errorMsg), this._loadedCallback = null), o.preserveIframe;
5090
- var x = Gr(o, Ol);
5090
+ var x = Hr(o, Al);
5091
5091
  x != null && (C = x.error) !== null && C !== void 0 && C.details && (x.error.details = JSON.parse(x.error.details)), this._maybeSendToSentry(o), this._joinedCallback && (this._joinedCallback(null, x), this._joinedCallback = null), this.emitDailyJSEvent(x);
5092
5092
  break;
5093
- case pc:
5093
+ case fc:
5094
5094
  this._callState !== Ce && this._updateCallState(Ie), this.resetMeetingDependentVars(), this._resolveLeave && (this._resolveLeave(), this._resolveLeave = null), this.emitDailyJSEvent(o);
5095
5095
  break;
5096
5096
  case "selected-devices-updated":
5097
5097
  o.devices && this.emitDailyJSEvent(o);
5098
5098
  break;
5099
- case Jc:
5099
+ case $c:
5100
5100
  var W = o.threshold, G = o.quality;
5101
5101
  W === this._network.threshold && G === this._network.quality || (this._network.quality = G, this._network.threshold = W, this.emitDailyJSEvent(o));
5102
5102
  break;
5103
- case Gc:
5103
+ case Hc:
5104
5104
  o && o.cpuLoadState && this.emitDailyJSEvent(o);
5105
5105
  break;
5106
- case Hc:
5106
+ case zc:
5107
5107
  o && o.faceCounts !== void 0 && this.emitDailyJSEvent(o);
5108
5108
  break;
5109
- case qc:
5109
+ case Vc:
5110
5110
  var be = o.activeSpeaker;
5111
5111
  this._activeSpeaker.peerId !== be.peerId && (this._activeSpeaker.peerId = be.peerId, this.emitDailyJSEvent({ action: o.action, activeSpeaker: this._activeSpeaker }));
5112
5112
  break;
@@ -5115,19 +5115,19 @@ var Rl = function(t) {
5115
5115
  var Te = o.show;
5116
5116
  this._showLocalVideo = Te, this.emitDailyJSEvent({ action: o.action, show: Te });
5117
5117
  break;
5118
- case Vc:
5118
+ case Jc:
5119
5119
  var we = o.enabled;
5120
5120
  this._activeSpeakerMode !== we && (this._activeSpeakerMode = we, this.emitDailyJSEvent({ action: o.action, enabled: this._activeSpeakerMode }));
5121
5121
  break;
5122
- case wc:
5123
5122
  case Sc:
5124
5123
  case kc:
5124
+ case Ec:
5125
5125
  this._waitingParticipants = o.allWaitingParticipants, this.emitDailyJSEvent({ action: o.action, participant: o.participant });
5126
5126
  break;
5127
- case Xc:
5127
+ case Zc:
5128
5128
  X(this._receiveSettings, o.receiveSettings) || (this._receiveSettings = o.receiveSettings, this.emitDailyJSEvent({ action: o.action, receiveSettings: o.receiveSettings }));
5129
5129
  break;
5130
- case Zc:
5130
+ case el:
5131
5131
  if (!X(this._inputSettings, o.inputSettings)) {
5132
5132
  var _n = this._getInputSettings();
5133
5133
  this._inputSettings = o.inputSettings, this._preloadCache.inputSettings = {}, X(_n, this._getInputSettings()) || this.emitDailyJSEvent({ action: o.action, inputSettings: this._getInputSettings() });
@@ -5142,14 +5142,14 @@ var Rl = function(t) {
5142
5142
  case "remote-participants-audio-level":
5143
5143
  this._remoteParticipantsAudioLevel = o.participantsAudioLevel, this._preloadCache.remoteParticipantsAudioLevelObserver = null, this.emitDailyJSEvent(o);
5144
5144
  break;
5145
- case Nc:
5145
+ case jc:
5146
5146
  var Y = o.session_id;
5147
5147
  this._rmpPlayerState[Y] = o.playerState, this.emitDailyJSEvent(o);
5148
5148
  break;
5149
- case Ic:
5149
+ case Bc:
5150
5150
  delete this._rmpPlayerState[o.session_id], this.emitDailyJSEvent(o);
5151
5151
  break;
5152
- case jc:
5152
+ case Ic:
5153
5153
  var ge = o.session_id, je = this._rmpPlayerState[ge];
5154
5154
  je && this.compareEqualForRMPUpdateEvent(je, o.remoteMediaPlayerState) || (this._rmpPlayerState[ge] = o.remoteMediaPlayerState, this.emitDailyJSEvent(o));
5155
5155
  break;
@@ -5157,37 +5157,37 @@ var Rl = function(t) {
5157
5157
  case "sidebar-view-changed":
5158
5158
  this.emitDailyJSEvent(o);
5159
5159
  break;
5160
- case bc:
5160
+ case wc:
5161
5161
  var xt = this._meetingSessionState.topology !== (o.meetingSessionState && o.meetingSessionState.topology);
5162
5162
  this._meetingSessionState = Ln(o.meetingSessionState, this._callObjectMode), (this._callObjectMode || xt) && this.emitDailyJSEvent(o);
5163
5163
  break;
5164
- case Bc:
5164
+ case Fc:
5165
5165
  this._isScreenSharing = !0, this.emitDailyJSEvent(o);
5166
5166
  break;
5167
- case Fc:
5168
5167
  case Uc:
5168
+ case qc:
5169
5169
  this._isScreenSharing = !1, this.emitDailyJSEvent(o);
5170
5170
  break;
5171
- case Gi:
5172
5171
  case Hi:
5173
- case Ac:
5172
+ case zi:
5174
5173
  case Pc:
5175
5174
  case Rc:
5176
- case Cc:
5175
+ case xc:
5177
5176
  case Mc:
5178
5177
  case Oc:
5179
- case lc:
5178
+ case Ac:
5180
5179
  case uc:
5181
- case Dc:
5180
+ case dc:
5182
5181
  case Lc:
5183
- case $c:
5184
- case xc:
5185
- case zc:
5182
+ case Nc:
5183
+ case Gc:
5184
+ case Dc:
5186
5185
  case Wc:
5187
5186
  case Yc:
5188
5187
  case Kc:
5189
- case zi:
5190
5188
  case Qc:
5189
+ case Wi:
5190
+ case Xc:
5191
5191
  case "dialin-ready":
5192
5192
  case "dialin-connected":
5193
5193
  case "dialin-error":
@@ -5208,14 +5208,14 @@ var Rl = function(t) {
5208
5208
  }
5209
5209
  } }, { key: "maybeEventRecordingStopped", value: function(o, u) {
5210
5210
  var d = "record";
5211
- o && (u.local || u[d] !== !1 || o[d] === u[d] || this.emitDailyJSEvent({ action: Hi }));
5211
+ o && (u.local || u[d] !== !1 || o[d] === u[d] || this.emitDailyJSEvent({ action: zi }));
5212
5212
  } }, { key: "maybeEventRecordingStarted", value: function(o, u) {
5213
5213
  var d = "record";
5214
- o && (u.local || u[d] !== !0 || o[d] === u[d] || this.emitDailyJSEvent({ action: Gi }));
5214
+ o && (u.local || u[d] !== !0 || o[d] === u[d] || this.emitDailyJSEvent({ action: Hi }));
5215
5215
  } }, { key: "maybeEventTrackStopped", value: function(o, u, d, g) {
5216
- o && (o.readyState !== "ended" && u && o.id === u.id || this.emitDailyJSEvent({ action: Tc, track: o, participant: d, type: g }));
5216
+ o && (o.readyState !== "ended" && u && o.id === u.id || this.emitDailyJSEvent({ action: Cc, track: o, participant: d, type: g }));
5217
5217
  } }, { key: "maybeEventTrackStarted", value: function(o, u, d, g) {
5218
- u && (o && o.readyState !== "ended" && u.id === o.id || this.emitDailyJSEvent({ action: Ec, track: u, participant: d, type: g }));
5218
+ u && (o && o.readyState !== "ended" && u.id === o.id || this.emitDailyJSEvent({ action: Tc, track: u, participant: d, type: g }));
5219
5219
  } }, { key: "maybeParticipantTracksStopped", value: function(o, u) {
5220
5220
  if (o) for (var d in o.tracks) this.maybeEventTrackStopped(o.tracks[d].track, u && u.tracks[d] ? u.tracks[d].track : null, u, d);
5221
5221
  } }, { key: "maybeParticipantTracksStarted", value: function(o, u) {
@@ -5244,7 +5244,7 @@ var Rl = function(t) {
5244
5244
  m !== b && (this.updateKeepDeviceAwake(b), this.updateDeviceAudioMode(b), this.updateShowAndroidOngoingMeetingNotification(b), this.updateNoOpRecordingEnsuringBackgroundContinuity(b));
5245
5245
  }
5246
5246
  } }, { key: "resetMeetingDependentVars", value: function() {
5247
- this._participants = {}, this._participantCounts = gs, this._waitingParticipants = {}, this._activeSpeaker = {}, this._activeSpeakerMode = !1, this._didPreAuth = !1, this._accessState = { access: Cn }, this._finalSummaryOfPrevSession = this._meetingSessionSummary, this._meetingSessionSummary = {}, this._meetingSessionState = Ln(ms, this._callObjectMode), this._isScreenSharing = !1, this._receiveSettings = {}, this._inputSettings = void 0, this._sendSettings = {}, this._localAudioLevel = 0, this._isLocalAudioLevelObserverRunning = !1, this._remoteParticipantsAudioLevel = {}, this._isRemoteParticipantsAudioLevelObserverRunning = !1, this._callMachineInitialized = !1, this._bundleLoadTime = void 0, this._preloadCache;
5247
+ this._participants = {}, this._participantCounts = vs, this._waitingParticipants = {}, this._activeSpeaker = {}, this._activeSpeakerMode = !1, this._didPreAuth = !1, this._accessState = { access: Cn }, this._finalSummaryOfPrevSession = this._meetingSessionSummary, this._meetingSessionSummary = {}, this._meetingSessionState = Ln(gs, this._callObjectMode), this._isScreenSharing = !1, this._receiveSettings = {}, this._inputSettings = void 0, this._sendSettings = {}, this._localAudioLevel = 0, this._isLocalAudioLevelObserverRunning = !1, this._remoteParticipantsAudioLevel = {}, this._isRemoteParticipantsAudioLevelObserverRunning = !1, this._callMachineInitialized = !1, this._bundleLoadTime = void 0, this._preloadCache;
5248
5248
  } }, { key: "updateKeepDeviceAwake", value: function(o) {
5249
5249
  N() && this.nativeUtils().setKeepDeviceAwake(o, this.callClientId);
5250
5250
  } }, { key: "updateDeviceAudioMode", value: function(o) {
@@ -5301,7 +5301,7 @@ var Rl = function(t) {
5301
5301
  if (!((u = o.error) !== null && u !== void 0 && u.type && !["connection-error", "end-of-life", "no-room"].includes(o.error.type))) {
5302
5302
  var C = (d = this.properties) !== null && d !== void 0 && d.url ? new URL(this.properties.url) : void 0, x = "production";
5303
5303
  C && C.host.includes(".staging.daily") && (x = "staging");
5304
- var W, G, be, Te, we, _n = new Ha({ dsn: "https://f10f1c81e5d44a4098416c0867a8b740@o77906.ingest.sentry.io/168844", transport: za, integrations: [new Ui.GlobalHandlers({ onunhandledrejection: !1 }), new Ui.HttpContext()], environment: x }), Y = new br(_n, void 0, re.version());
5304
+ var W, G, be, Te, we, _n = new za({ dsn: "https://f10f1c81e5d44a4098416c0867a8b740@o77906.ingest.sentry.io/168844", transport: Wa, integrations: [new qi.GlobalHandlers({ onunhandledrejection: !1 }), new qi.HttpContext()], environment: x }), Y = new wr(_n, void 0, re.version());
5305
5305
  if (this.session_id && Y.setExtra("sessionId", this.session_id), this.properties) {
5306
5306
  var ge = A({}, this.properties);
5307
5307
  ge.userName = ge.userName ? "[Filtered]" : void 0, ge.userData = ge.userData ? "[Filtered]" : void 0, ge.token = ge.token ? "[Filtered]" : void 0, Y.setExtra("properties", ge);
@@ -5316,8 +5316,8 @@ var Rl = function(t) {
5316
5316
  }
5317
5317
  o.error && (Y.setTag("fatalErrorType", o.error.type), Y.setExtra("errorDetails", o.error.details), !((W = o.error.details) === null || W === void 0) && W.uri && Y.setTag("serverAddress", o.error.details.uri), !((G = o.error.details) === null || G === void 0) && G.workerGroup && Y.setTag("workerGroup", o.error.details.workerGroup), !((be = o.error.details) === null || be === void 0) && be.geoGroup && Y.setTag("geoGroup", o.error.details.geoGroup), !((Te = o.error.details) === null || Te === void 0) && Te.on && Y.setTag("connectionAttempt", o.error.details.on), (we = o.error.details) !== null && we !== void 0 && we.bundleUrl && (Y.setTag("bundleUrl", o.error.details.bundleUrl), Y.setTag("bundleError", o.error.details.sourceError.type))), Y.setTags({ callMode: this._callObjectMode ? N() ? "reactNative" : (g = this.properties) !== null && g !== void 0 && (m = g.dailyConfig) !== null && m !== void 0 && (b = m.callMode) !== null && b !== void 0 && b.includes("prebuilt") ? this.properties.dailyConfig.callMode : "custom" : "prebuilt-frame", version: re.version() });
5318
5318
  var bn = ((E = o.error) === null || E === void 0 ? void 0 : E.msg) || o.errorMsg;
5319
- Y.run(function(Zo) {
5320
- Zo.captureException(new Error(bn));
5319
+ Y.run(function(ea) {
5320
+ ea.captureException(new Error(bn));
5321
5321
  });
5322
5322
  }
5323
5323
  } }, { key: "_callMachine", value: function() {
@@ -5325,8 +5325,8 @@ var Rl = function(t) {
5325
5325
  return (o = window._daily) === null || o === void 0 || (u = o.instances) === null || u === void 0 || (d = u[this.callClientId]) === null || d === void 0 ? void 0 : d.callMachine;
5326
5326
  } }], [{ key: "supportedBrowser", value: function() {
5327
5327
  if (N()) return { supported: !0, mobile: !0, name: "React Native", version: null, supportsScreenShare: !0, supportsSfu: !0, supportsVideoProcessing: !1, supportsAudioProcessing: !1 };
5328
- var o = la.getParser(he());
5329
- return { supported: !!ts(), mobile: o.getPlatformType() === "mobile", name: o.getBrowserName(), version: o.getBrowserVersion(), supportsFullscreen: !!es(), supportsScreenShare: !!nl(), supportsSfu: !!ts(), supportsVideoProcessing: ho(), supportsAudioProcessing: po() };
5328
+ var o = ua.getParser(he());
5329
+ return { supported: !!ns(), mobile: o.getPlatformType() === "mobile", name: o.getBrowserName(), version: o.getBrowserVersion(), supportsFullscreen: !!ts(), supportsScreenShare: !!rl(), supportsSfu: !!ns(), supportsVideoProcessing: po(), supportsAudioProcessing: fo() };
5330
5330
  } }, { key: "version", value: function() {
5331
5331
  return "0.68.0";
5332
5332
  } }, { key: "createCallObject", value: function() {
@@ -5432,7 +5432,7 @@ function D() {
5432
5432
  function mt() {
5433
5433
  if (!N()) throw new Error("This daily-js method is only supported in React Native");
5434
5434
  }
5435
- function yo(t) {
5435
+ function _o(t) {
5436
5436
  if (t === void 0) return !0;
5437
5437
  var e;
5438
5438
  if (typeof t == "string") e = t;
@@ -5444,7 +5444,7 @@ function yo(t) {
5444
5444
  if (e.length > 4096) throw Error("userData is too large (".concat(e.length, " characters). Maximum size suppported is ").concat(4096, "."));
5445
5445
  return !0;
5446
5446
  }
5447
- function _o(t, e) {
5447
+ function bo(t, e) {
5448
5448
  for (var n = e.allowAllParticipantsKey, r = function(f) {
5449
5449
  var _ = ["local"];
5450
5450
  return n || _.push("*"), f && !_.includes(f);
@@ -5458,7 +5458,7 @@ function _o(t, e) {
5458
5458
  }
5459
5459
  return !0;
5460
5460
  }
5461
- function bo(t) {
5461
+ function wo(t) {
5462
5462
  return U(t) === "object" && !(t.video && (U(t.video) !== "object" || !function(i) {
5463
5463
  var s = ["type", "config"];
5464
5464
  return !i || U(i) !== "object" || !function(a) {
@@ -5485,7 +5485,7 @@ function bo(t) {
5485
5485
  var M = w.split(".").at(-1).toLowerCase().trim();
5486
5486
  return On.includes(M);
5487
5487
  }(h.source) || (console.error("invalid image type; supported types: [".concat(On.join(", "), "]")), !1);
5488
- return f = h.source, _ = Number(f), isNaN(_) || !Number.isInteger(_) || _ <= 0 || _ > Xi ? (console.error("invalid image selection; must be an int, > 0, <= ".concat(Xi)), !1) : (h.type = "daily-preselect", !0);
5488
+ return f = h.source, _ = Number(f), isNaN(_) || !Number.isInteger(_) || _ <= 0 || _ > Zi ? (console.error("invalid image selection; must be an int, > 0, <= ".concat(Zi)), !1) : (h.type = "daily-preselect", !0);
5489
5489
  var f, _;
5490
5490
  }(c));
5491
5491
  default:
@@ -5500,25 +5500,25 @@ function bo(t) {
5500
5500
  return !r.includes(i);
5501
5501
  }).forEach(function(i) {
5502
5502
  console.warn("invalid key inputSettings -> audio -> processor : ".concat(i)), delete n[i];
5503
- }), e = n.type, typeof e != "string" || !Object.values(lo).includes(e) && (console.error("inputSettings audio processor type invalid"), 1)))));
5503
+ }), e = n.type, typeof e != "string" || !Object.values(uo).includes(e) && (console.error("inputSettings audio processor type invalid"), 1)))));
5504
5504
  var e, n, r;
5505
5505
  }
5506
- function wo(t, e) {
5506
+ function So(t, e) {
5507
5507
  var n, r = [];
5508
- t.video && !ho((n = e == null ? void 0 : e.useLegacyVideoProcessor) !== null && n !== void 0 && n) && (delete t.video, r.push("video")), t.audio && !po() && (delete t.audio, r.push("audio")), r.length > 0 && console.error("Ignoring settings for browser- or platform-unsupported input processor(s): ".concat(r.join(", ")));
5508
+ t.video && !po((n = e == null ? void 0 : e.useLegacyVideoProcessor) !== null && n !== void 0 && n) && (delete t.video, r.push("video")), t.audio && !fo() && (delete t.audio, r.push("audio")), r.length > 0 && console.error("Ignoring settings for browser- or platform-unsupported input processor(s): ".concat(r.join(", ")));
5509
5509
  }
5510
5510
  function or() {
5511
- var t = Object.values(Wt).join(" | "), e = Object.values(lo).join(" | ");
5511
+ var t = Object.values(Wt).join(" | "), e = Object.values(uo).join(" | ");
5512
5512
  return "inputSettings must be of the form: { video?: { processor: { type: [ ".concat(t, " ], config?: {} } }, audio?: { processor: {type: [ ").concat(e, " ] } } }");
5513
5513
  }
5514
- function So(t) {
5514
+ function ko(t) {
5515
5515
  var e = t.allowAllParticipantsKey;
5516
- return "receiveSettings must be of the form { [<remote participant id> | ".concat(nc).concat(e ? ' | "'.concat(rc, '"') : "", "]: ") + '{ [video: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]], [screenVideo: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]] }}}';
5516
+ return "receiveSettings must be of the form { [<remote participant id> | ".concat(rc).concat(e ? ' | "'.concat(ic, '"') : "", "]: ") + '{ [video: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]], [screenVideo: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]] }}}';
5517
5517
  }
5518
- function ko() {
5518
+ function Eo() {
5519
5519
  return "customIntegrations should be an object of type ".concat(JSON.stringify(sr), ".");
5520
5520
  }
5521
- function Eo(t) {
5521
+ function To(t) {
5522
5522
  if (t && U(t) !== "object" || Array.isArray(t)) return console.error("customTrayButtons should be an Object of the type ".concat(JSON.stringify(on), ".")), !1;
5523
5523
  if (t) for (var e = 0, n = Object.entries(t); e < n.length; e++) for (var r = $e(n[e], 1)[0], i = 0, s = Object.entries(t[r]); i < s.length; i++) {
5524
5524
  var a = $e(s[i], 2), c = a[0], l = a[1];
@@ -5529,8 +5529,8 @@ function Eo(t) {
5529
5529
  }
5530
5530
  return !0;
5531
5531
  }
5532
- function To(t) {
5533
- if (!t || t && U(t) !== "object" || Array.isArray(t)) return console.error(ko()), !1;
5532
+ function Co(t) {
5533
+ if (!t || t && U(t) !== "object" || Array.isArray(t)) return console.error(Eo()), !1;
5534
5534
  for (var e = function(f) {
5535
5535
  return "".concat(f, " should be ").concat(sr.id[f]);
5536
5536
  }, n = function(f, _) {
@@ -5581,27 +5581,27 @@ function To(t) {
5581
5581
  }
5582
5582
  return !0;
5583
5583
  }
5584
- function Co(t, e) {
5584
+ function Mo(t, e) {
5585
5585
  if (e === void 0) return !1;
5586
5586
  switch (U(e)) {
5587
5587
  case "string":
5588
5588
  return U(t) === e;
5589
5589
  case "object":
5590
5590
  if (U(t) !== "object") return !1;
5591
- for (var n in t) if (!Co(t[n], e[n])) return !1;
5591
+ for (var n in t) if (!Mo(t[n], e[n])) return !1;
5592
5592
  return !0;
5593
5593
  default:
5594
5594
  return !1;
5595
5595
  }
5596
5596
  }
5597
- function _s(t, e) {
5597
+ function bs(t, e) {
5598
5598
  var n = t.sessionId, r = t.toEndPoint, i = t.useSipRefer;
5599
5599
  if (!n || !r) throw new Error("".concat(e, "() requires a sessionId and toEndPoint"));
5600
5600
  if (typeof n != "string" || typeof r != "string") throw new Error("Invalid paramater: sessionId and toEndPoint must be of type string");
5601
5601
  if (i && !r.startsWith("sip:")) throw new Error('"toEndPoint" must be a "sip" address');
5602
5602
  if (!r.startsWith("sip:") && !r.startsWith("+")) throw new Error("toEndPoint: ".concat(r, ' must starts with either "sip:" or "+"'));
5603
5603
  }
5604
- function bs(t) {
5604
+ function ws(t) {
5605
5605
  if (U(t) !== "object") throw new Error('RemoteMediaPlayerSettings: must be "object" type');
5606
5606
  if (t.state && !Object.values(Xn).includes(t.state)) throw new Error("Invalid value for RemoteMediaPlayerSettings.state, valid values are: " + JSON.stringify(Xn));
5607
5607
  if (t.volume) {
@@ -5609,39 +5609,39 @@ function bs(t) {
5609
5609
  if (t.volume < 0 || t.volume > 2) throw new Error("RemoteMediaPlayerSettings.volume: must be between 0.0 - 2.0");
5610
5610
  }
5611
5611
  }
5612
- function ws(t, e, n) {
5612
+ function Ss(t, e, n) {
5613
5613
  return !(typeof t != "number" || t < e || t > n);
5614
5614
  }
5615
5615
  function Ln(t, e) {
5616
5616
  return t && !e && delete t.data, t;
5617
5617
  }
5618
- function Mo(t, e) {
5618
+ function Oo(t, e) {
5619
5619
  return function() {
5620
5620
  return t.apply(e, arguments);
5621
5621
  };
5622
5622
  }
5623
- const { toString: xl } = Object.prototype, { getPrototypeOf: Cr } = Object, fn = /* @__PURE__ */ ((t) => (e) => {
5624
- const n = xl.call(e);
5623
+ const { toString: Dl } = Object.prototype, { getPrototypeOf: Mr } = Object, fn = /* @__PURE__ */ ((t) => (e) => {
5624
+ const n = Dl.call(e);
5625
5625
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
5626
5626
  })(/* @__PURE__ */ Object.create(null)), me = (t) => (t = t.toLowerCase(), (e) => fn(e) === t), mn = (t) => (e) => typeof e === t, { isArray: ut } = Array, Ot = mn("undefined");
5627
- function Dl(t) {
5627
+ function Ll(t) {
5628
5628
  return t !== null && !Ot(t) && t.constructor !== null && !Ot(t.constructor) && se(t.constructor.isBuffer) && t.constructor.isBuffer(t);
5629
5629
  }
5630
- const Oo = me("ArrayBuffer");
5631
- function Ll(t) {
5630
+ const Ao = me("ArrayBuffer");
5631
+ function Nl(t) {
5632
5632
  let e;
5633
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Oo(t.buffer), e;
5633
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Ao(t.buffer), e;
5634
5634
  }
5635
- const Nl = mn("string"), se = mn("function"), Ao = mn("number"), gn = (t) => t !== null && typeof t == "object", jl = (t) => t === !0 || t === !1, Kt = (t) => {
5635
+ const jl = mn("string"), se = mn("function"), Po = mn("number"), gn = (t) => t !== null && typeof t == "object", Il = (t) => t === !0 || t === !1, Kt = (t) => {
5636
5636
  if (fn(t) !== "object")
5637
5637
  return !1;
5638
- const e = Cr(t);
5638
+ const e = Mr(t);
5639
5639
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
5640
- }, Il = me("Date"), Bl = me("File"), Fl = me("Blob"), Ul = me("FileList"), ql = (t) => gn(t) && se(t.pipe), Vl = (t) => {
5640
+ }, Bl = me("Date"), Fl = me("File"), Ul = me("Blob"), ql = me("FileList"), Vl = (t) => gn(t) && se(t.pipe), Jl = (t) => {
5641
5641
  let e;
5642
5642
  return t && (typeof FormData == "function" && t instanceof FormData || se(t.append) && ((e = fn(t)) === "formdata" || // detect form-data instance
5643
5643
  e === "object" && se(t.toString) && t.toString() === "[object FormData]"));
5644
- }, Jl = me("URLSearchParams"), [$l, Gl, Hl, zl] = ["ReadableStream", "Request", "Response", "Headers"].map(me), Wl = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
5644
+ }, $l = me("URLSearchParams"), [Gl, Hl, zl, Wl] = ["ReadableStream", "Request", "Response", "Headers"].map(me), Yl = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
5645
5645
  function Pt(t, e, { allOwnKeys: n = !1 } = {}) {
5646
5646
  if (t === null || typeof t > "u")
5647
5647
  return;
@@ -5656,7 +5656,7 @@ function Pt(t, e, { allOwnKeys: n = !1 } = {}) {
5656
5656
  c = s[r], e.call(null, t[c], c, t);
5657
5657
  }
5658
5658
  }
5659
- function Po(t, e) {
5659
+ function Ro(t, e) {
5660
5660
  e = e.toLowerCase();
5661
5661
  const n = Object.keys(t);
5662
5662
  let r = n.length, i;
@@ -5665,71 +5665,71 @@ function Po(t, e) {
5665
5665
  return i;
5666
5666
  return null;
5667
5667
  }
5668
- const Ro = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, xo = (t) => !Ot(t) && t !== Ro;
5668
+ const xo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Do = (t) => !Ot(t) && t !== xo;
5669
5669
  function ar() {
5670
- const { caseless: t } = xo(this) && this || {}, e = {}, n = (r, i) => {
5671
- const s = t && Po(e, i) || i;
5670
+ const { caseless: t } = Do(this) && this || {}, e = {}, n = (r, i) => {
5671
+ const s = t && Ro(e, i) || i;
5672
5672
  Kt(e[s]) && Kt(r) ? e[s] = ar(e[s], r) : Kt(r) ? e[s] = ar({}, r) : ut(r) ? e[s] = r.slice() : e[s] = r;
5673
5673
  };
5674
5674
  for (let r = 0, i = arguments.length; r < i; r++)
5675
5675
  arguments[r] && Pt(arguments[r], n);
5676
5676
  return e;
5677
5677
  }
5678
- const Yl = (t, e, n, { allOwnKeys: r } = {}) => (Pt(e, (i, s) => {
5679
- n && se(i) ? t[s] = Mo(i, n) : t[s] = i;
5680
- }, { allOwnKeys: r }), t), Kl = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ql = (t, e, n, r) => {
5678
+ const Kl = (t, e, n, { allOwnKeys: r } = {}) => (Pt(e, (i, s) => {
5679
+ n && se(i) ? t[s] = Oo(i, n) : t[s] = i;
5680
+ }, { allOwnKeys: r }), t), Ql = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Xl = (t, e, n, r) => {
5681
5681
  t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
5682
5682
  value: e.prototype
5683
5683
  }), n && Object.assign(t.prototype, n);
5684
- }, Xl = (t, e, n, r) => {
5684
+ }, Zl = (t, e, n, r) => {
5685
5685
  let i, s, a;
5686
5686
  const c = {};
5687
5687
  if (e = e || {}, t == null) return e;
5688
5688
  do {
5689
5689
  for (i = Object.getOwnPropertyNames(t), s = i.length; s-- > 0; )
5690
5690
  a = i[s], (!r || r(a, t, e)) && !c[a] && (e[a] = t[a], c[a] = !0);
5691
- t = n !== !1 && Cr(t);
5691
+ t = n !== !1 && Mr(t);
5692
5692
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
5693
5693
  return e;
5694
- }, Zl = (t, e, n) => {
5694
+ }, eu = (t, e, n) => {
5695
5695
  t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
5696
5696
  const r = t.indexOf(e, n);
5697
5697
  return r !== -1 && r === n;
5698
- }, eu = (t) => {
5698
+ }, tu = (t) => {
5699
5699
  if (!t) return null;
5700
5700
  if (ut(t)) return t;
5701
5701
  let e = t.length;
5702
- if (!Ao(e)) return null;
5702
+ if (!Po(e)) return null;
5703
5703
  const n = new Array(e);
5704
5704
  for (; e-- > 0; )
5705
5705
  n[e] = t[e];
5706
5706
  return n;
5707
- }, tu = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Cr(Uint8Array)), nu = (t, e) => {
5707
+ }, nu = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Mr(Uint8Array)), ru = (t, e) => {
5708
5708
  const r = (t && t[Symbol.iterator]).call(t);
5709
5709
  let i;
5710
5710
  for (; (i = r.next()) && !i.done; ) {
5711
5711
  const s = i.value;
5712
5712
  e.call(t, s[0], s[1]);
5713
5713
  }
5714
- }, ru = (t, e) => {
5714
+ }, iu = (t, e) => {
5715
5715
  let n;
5716
5716
  const r = [];
5717
5717
  for (; (n = t.exec(e)) !== null; )
5718
5718
  r.push(n);
5719
5719
  return r;
5720
- }, iu = me("HTMLFormElement"), su = (t) => t.toLowerCase().replace(
5720
+ }, su = me("HTMLFormElement"), ou = (t) => t.toLowerCase().replace(
5721
5721
  /[-_\s]([a-z\d])(\w*)/g,
5722
5722
  function(n, r, i) {
5723
5723
  return r.toUpperCase() + i;
5724
5724
  }
5725
- ), Ss = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), ou = me("RegExp"), Do = (t, e) => {
5725
+ ), ks = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), au = me("RegExp"), Lo = (t, e) => {
5726
5726
  const n = Object.getOwnPropertyDescriptors(t), r = {};
5727
5727
  Pt(n, (i, s) => {
5728
5728
  let a;
5729
5729
  (a = e(i, s, t)) !== !1 && (r[s] = a || i);
5730
5730
  }), Object.defineProperties(t, r);
5731
- }, au = (t) => {
5732
- Do(t, (e, n) => {
5731
+ }, cu = (t) => {
5732
+ Lo(t, (e, n) => {
5733
5733
  if (se(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
5734
5734
  return !1;
5735
5735
  const r = t[n];
@@ -5743,29 +5743,29 @@ const Yl = (t, e, n, { allOwnKeys: r } = {}) => (Pt(e, (i, s) => {
5743
5743
  });
5744
5744
  }
5745
5745
  });
5746
- }, cu = (t, e) => {
5746
+ }, lu = (t, e) => {
5747
5747
  const n = {}, r = (i) => {
5748
5748
  i.forEach((s) => {
5749
5749
  n[s] = !0;
5750
5750
  });
5751
5751
  };
5752
5752
  return ut(t) ? r(t) : r(String(t).split(e)), n;
5753
- }, lu = () => {
5754
- }, uu = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Nn = "abcdefghijklmnopqrstuvwxyz", ks = "0123456789", Lo = {
5755
- DIGIT: ks,
5753
+ }, uu = () => {
5754
+ }, du = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Nn = "abcdefghijklmnopqrstuvwxyz", Es = "0123456789", No = {
5755
+ DIGIT: Es,
5756
5756
  ALPHA: Nn,
5757
- ALPHA_DIGIT: Nn + Nn.toUpperCase() + ks
5758
- }, du = (t = 16, e = Lo.ALPHA_DIGIT) => {
5757
+ ALPHA_DIGIT: Nn + Nn.toUpperCase() + Es
5758
+ }, hu = (t = 16, e = No.ALPHA_DIGIT) => {
5759
5759
  let n = "";
5760
5760
  const { length: r } = e;
5761
5761
  for (; t--; )
5762
5762
  n += e[Math.random() * r | 0];
5763
5763
  return n;
5764
5764
  };
5765
- function hu(t) {
5765
+ function pu(t) {
5766
5766
  return !!(t && se(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
5767
5767
  }
5768
- const pu = (t) => {
5768
+ const fu = (t) => {
5769
5769
  const e = new Array(10), n = (r, i) => {
5770
5770
  if (gn(r)) {
5771
5771
  if (e.indexOf(r) >= 0)
@@ -5782,63 +5782,63 @@ const pu = (t) => {
5782
5782
  return r;
5783
5783
  };
5784
5784
  return n(t, 0);
5785
- }, fu = me("AsyncFunction"), mu = (t) => t && (gn(t) || se(t)) && se(t.then) && se(t.catch), v = {
5785
+ }, mu = me("AsyncFunction"), gu = (t) => t && (gn(t) || se(t)) && se(t.then) && se(t.catch), v = {
5786
5786
  isArray: ut,
5787
- isArrayBuffer: Oo,
5788
- isBuffer: Dl,
5789
- isFormData: Vl,
5790
- isArrayBufferView: Ll,
5791
- isString: Nl,
5792
- isNumber: Ao,
5793
- isBoolean: jl,
5787
+ isArrayBuffer: Ao,
5788
+ isBuffer: Ll,
5789
+ isFormData: Jl,
5790
+ isArrayBufferView: Nl,
5791
+ isString: jl,
5792
+ isNumber: Po,
5793
+ isBoolean: Il,
5794
5794
  isObject: gn,
5795
5795
  isPlainObject: Kt,
5796
- isReadableStream: $l,
5797
- isRequest: Gl,
5798
- isResponse: Hl,
5799
- isHeaders: zl,
5796
+ isReadableStream: Gl,
5797
+ isRequest: Hl,
5798
+ isResponse: zl,
5799
+ isHeaders: Wl,
5800
5800
  isUndefined: Ot,
5801
- isDate: Il,
5802
- isFile: Bl,
5803
- isBlob: Fl,
5804
- isRegExp: ou,
5801
+ isDate: Bl,
5802
+ isFile: Fl,
5803
+ isBlob: Ul,
5804
+ isRegExp: au,
5805
5805
  isFunction: se,
5806
- isStream: ql,
5807
- isURLSearchParams: Jl,
5808
- isTypedArray: tu,
5809
- isFileList: Ul,
5806
+ isStream: Vl,
5807
+ isURLSearchParams: $l,
5808
+ isTypedArray: nu,
5809
+ isFileList: ql,
5810
5810
  forEach: Pt,
5811
5811
  merge: ar,
5812
- extend: Yl,
5813
- trim: Wl,
5814
- stripBOM: Kl,
5815
- inherits: Ql,
5816
- toFlatObject: Xl,
5812
+ extend: Kl,
5813
+ trim: Yl,
5814
+ stripBOM: Ql,
5815
+ inherits: Xl,
5816
+ toFlatObject: Zl,
5817
5817
  kindOf: fn,
5818
5818
  kindOfTest: me,
5819
- endsWith: Zl,
5820
- toArray: eu,
5821
- forEachEntry: nu,
5822
- matchAll: ru,
5823
- isHTMLForm: iu,
5824
- hasOwnProperty: Ss,
5825
- hasOwnProp: Ss,
5819
+ endsWith: eu,
5820
+ toArray: tu,
5821
+ forEachEntry: ru,
5822
+ matchAll: iu,
5823
+ isHTMLForm: su,
5824
+ hasOwnProperty: ks,
5825
+ hasOwnProp: ks,
5826
5826
  // an alias to avoid ESLint no-prototype-builtins detection
5827
- reduceDescriptors: Do,
5828
- freezeMethods: au,
5829
- toObjectSet: cu,
5830
- toCamelCase: su,
5831
- noop: lu,
5832
- toFiniteNumber: uu,
5833
- findKey: Po,
5834
- global: Ro,
5835
- isContextDefined: xo,
5836
- ALPHABET: Lo,
5837
- generateString: du,
5838
- isSpecCompliantForm: hu,
5839
- toJSONObject: pu,
5840
- isAsyncFn: fu,
5841
- isThenable: mu
5827
+ reduceDescriptors: Lo,
5828
+ freezeMethods: cu,
5829
+ toObjectSet: lu,
5830
+ toCamelCase: ou,
5831
+ noop: uu,
5832
+ toFiniteNumber: du,
5833
+ findKey: Ro,
5834
+ global: xo,
5835
+ isContextDefined: Do,
5836
+ ALPHABET: No,
5837
+ generateString: hu,
5838
+ isSpecCompliantForm: pu,
5839
+ toJSONObject: fu,
5840
+ isAsyncFn: mu,
5841
+ isThenable: gu
5842
5842
  };
5843
5843
  function P(t, e, n, r, i) {
5844
5844
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), i && (this.response = i);
@@ -5864,7 +5864,7 @@ v.inherits(P, Error, {
5864
5864
  };
5865
5865
  }
5866
5866
  });
5867
- const No = P.prototype, jo = {};
5867
+ const jo = P.prototype, Io = {};
5868
5868
  [
5869
5869
  "ERR_BAD_OPTION_VALUE",
5870
5870
  "ERR_BAD_OPTION",
@@ -5880,32 +5880,32 @@ const No = P.prototype, jo = {};
5880
5880
  "ERR_INVALID_URL"
5881
5881
  // eslint-disable-next-line func-names
5882
5882
  ].forEach((t) => {
5883
- jo[t] = { value: t };
5883
+ Io[t] = { value: t };
5884
5884
  });
5885
- Object.defineProperties(P, jo);
5886
- Object.defineProperty(No, "isAxiosError", { value: !0 });
5885
+ Object.defineProperties(P, Io);
5886
+ Object.defineProperty(jo, "isAxiosError", { value: !0 });
5887
5887
  P.from = (t, e, n, r, i, s) => {
5888
- const a = Object.create(No);
5888
+ const a = Object.create(jo);
5889
5889
  return v.toFlatObject(t, a, function(l) {
5890
5890
  return l !== Error.prototype;
5891
5891
  }, (c) => c !== "isAxiosError"), P.call(a, t.message, e, n, r, i), a.cause = t, a.name = t.name, s && Object.assign(a, s), a;
5892
5892
  };
5893
- const gu = null;
5893
+ const vu = null;
5894
5894
  function cr(t) {
5895
5895
  return v.isPlainObject(t) || v.isArray(t);
5896
5896
  }
5897
- function Io(t) {
5897
+ function Bo(t) {
5898
5898
  return v.endsWith(t, "[]") ? t.slice(0, -2) : t;
5899
5899
  }
5900
- function Es(t, e, n) {
5900
+ function Ts(t, e, n) {
5901
5901
  return t ? t.concat(e).map(function(i, s) {
5902
- return i = Io(i), !n && s ? "[" + i + "]" : i;
5902
+ return i = Bo(i), !n && s ? "[" + i + "]" : i;
5903
5903
  }).join(n ? "." : "") : e;
5904
5904
  }
5905
- function vu(t) {
5905
+ function yu(t) {
5906
5906
  return v.isArray(t) && !t.some(cr);
5907
5907
  }
5908
- const yu = v.toFlatObject(v, {}, null, function(e) {
5908
+ const _u = v.toFlatObject(v, {}, null, function(e) {
5909
5909
  return /^is[A-Z]/.test(e);
5910
5910
  });
5911
5911
  function vn(t, e, n) {
@@ -5934,18 +5934,18 @@ function vn(t, e, n) {
5934
5934
  if (y && !T && typeof y == "object") {
5935
5935
  if (v.endsWith(w, "{}"))
5936
5936
  w = r ? w : w.slice(0, -2), y = JSON.stringify(y);
5937
- else if (v.isArray(y) && vu(y) || (v.isFileList(y) || v.endsWith(w, "[]")) && (M = v.toArray(y)))
5938
- return w = Io(w), M.forEach(function(L, ne) {
5937
+ else if (v.isArray(y) && yu(y) || (v.isFileList(y) || v.endsWith(w, "[]")) && (M = v.toArray(y)))
5938
+ return w = Bo(w), M.forEach(function(L, ne) {
5939
5939
  !(v.isUndefined(L) || L === null) && e.append(
5940
5940
  // eslint-disable-next-line no-nested-ternary
5941
- a === !0 ? Es([w], ne, s) : a === null ? w : w + "[]",
5941
+ a === !0 ? Ts([w], ne, s) : a === null ? w : w + "[]",
5942
5942
  p(L)
5943
5943
  );
5944
5944
  }), !1;
5945
5945
  }
5946
- return cr(y) ? !0 : (e.append(Es(T, w, s), p(y)), !1);
5946
+ return cr(y) ? !0 : (e.append(Ts(T, w, s), p(y)), !1);
5947
5947
  }
5948
- const f = [], _ = Object.assign(yu, {
5948
+ const f = [], _ = Object.assign(_u, {
5949
5949
  defaultVisitor: h,
5950
5950
  convertValue: p,
5951
5951
  isVisitable: cr
@@ -5969,7 +5969,7 @@ function vn(t, e, n) {
5969
5969
  throw new TypeError("data must be an object");
5970
5970
  return k(t), e;
5971
5971
  }
5972
- function Ts(t) {
5972
+ function Cs(t) {
5973
5973
  const e = {
5974
5974
  "!": "%21",
5975
5975
  "'": "%27",
@@ -5983,36 +5983,36 @@ function Ts(t) {
5983
5983
  return e[r];
5984
5984
  });
5985
5985
  }
5986
- function Mr(t, e) {
5986
+ function Or(t, e) {
5987
5987
  this._pairs = [], t && vn(t, this, e);
5988
5988
  }
5989
- const Bo = Mr.prototype;
5990
- Bo.append = function(e, n) {
5989
+ const Fo = Or.prototype;
5990
+ Fo.append = function(e, n) {
5991
5991
  this._pairs.push([e, n]);
5992
5992
  };
5993
- Bo.toString = function(e) {
5993
+ Fo.toString = function(e) {
5994
5994
  const n = e ? function(r) {
5995
- return e.call(this, r, Ts);
5996
- } : Ts;
5995
+ return e.call(this, r, Cs);
5996
+ } : Cs;
5997
5997
  return this._pairs.map(function(i) {
5998
5998
  return n(i[0]) + "=" + n(i[1]);
5999
5999
  }, "").join("&");
6000
6000
  };
6001
- function _u(t) {
6001
+ function bu(t) {
6002
6002
  return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
6003
6003
  }
6004
- function Fo(t, e, n) {
6004
+ function Uo(t, e, n) {
6005
6005
  if (!e)
6006
6006
  return t;
6007
- const r = n && n.encode || _u, i = n && n.serialize;
6007
+ const r = n && n.encode || bu, i = n && n.serialize;
6008
6008
  let s;
6009
- if (i ? s = i(e, n) : s = v.isURLSearchParams(e) ? e.toString() : new Mr(e, n).toString(r), s) {
6009
+ if (i ? s = i(e, n) : s = v.isURLSearchParams(e) ? e.toString() : new Or(e, n).toString(r), s) {
6010
6010
  const a = t.indexOf("#");
6011
6011
  a !== -1 && (t = t.slice(0, a)), t += (t.indexOf("?") === -1 ? "?" : "&") + s;
6012
6012
  }
6013
6013
  return t;
6014
6014
  }
6015
- class Cs {
6015
+ class Ms {
6016
6016
  constructor() {
6017
6017
  this.handlers = [];
6018
6018
  }
@@ -6066,40 +6066,40 @@ class Cs {
6066
6066
  });
6067
6067
  }
6068
6068
  }
6069
- const Uo = {
6069
+ const qo = {
6070
6070
  silentJSONParsing: !0,
6071
6071
  forcedJSONParsing: !0,
6072
6072
  clarifyTimeoutError: !1
6073
- }, bu = typeof URLSearchParams < "u" ? URLSearchParams : Mr, wu = typeof FormData < "u" ? FormData : null, Su = typeof Blob < "u" ? Blob : null, ku = {
6073
+ }, wu = typeof URLSearchParams < "u" ? URLSearchParams : Or, Su = typeof FormData < "u" ? FormData : null, ku = typeof Blob < "u" ? Blob : null, Eu = {
6074
6074
  isBrowser: !0,
6075
6075
  classes: {
6076
- URLSearchParams: bu,
6077
- FormData: wu,
6078
- Blob: Su
6076
+ URLSearchParams: wu,
6077
+ FormData: Su,
6078
+ Blob: ku
6079
6079
  },
6080
6080
  protocols: ["http", "https", "file", "blob", "url", "data"]
6081
- }, Or = typeof window < "u" && typeof document < "u", Eu = ((t) => Or && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), Tu = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
6082
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Cu = Or && window.location.href || "http://localhost", Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6081
+ }, Ar = typeof window < "u" && typeof document < "u", Tu = ((t) => Ar && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), Cu = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
6082
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Mu = Ar && window.location.href || "http://localhost", Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6083
6083
  __proto__: null,
6084
- hasBrowserEnv: Or,
6085
- hasStandardBrowserEnv: Eu,
6086
- hasStandardBrowserWebWorkerEnv: Tu,
6087
- origin: Cu
6084
+ hasBrowserEnv: Ar,
6085
+ hasStandardBrowserEnv: Tu,
6086
+ hasStandardBrowserWebWorkerEnv: Cu,
6087
+ origin: Mu
6088
6088
  }, Symbol.toStringTag, { value: "Module" })), ue = {
6089
- ...Mu,
6090
- ...ku
6089
+ ...Ou,
6090
+ ...Eu
6091
6091
  };
6092
- function Ou(t, e) {
6092
+ function Au(t, e) {
6093
6093
  return vn(t, new ue.classes.URLSearchParams(), Object.assign({
6094
6094
  visitor: function(n, r, i, s) {
6095
6095
  return ue.isNode && v.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
6096
6096
  }
6097
6097
  }, e));
6098
6098
  }
6099
- function Au(t) {
6099
+ function Pu(t) {
6100
6100
  return v.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
6101
6101
  }
6102
- function Pu(t) {
6102
+ function Ru(t) {
6103
6103
  const e = {}, n = Object.keys(t);
6104
6104
  let r;
6105
6105
  const i = n.length;
@@ -6108,22 +6108,22 @@ function Pu(t) {
6108
6108
  s = n[r], e[s] = t[s];
6109
6109
  return e;
6110
6110
  }
6111
- function qo(t) {
6111
+ function Vo(t) {
6112
6112
  function e(n, r, i, s) {
6113
6113
  let a = n[s++];
6114
6114
  if (a === "__proto__") return !0;
6115
6115
  const c = Number.isFinite(+a), l = s >= n.length;
6116
- return a = !a && v.isArray(i) ? i.length : a, l ? (v.hasOwnProp(i, a) ? i[a] = [i[a], r] : i[a] = r, !c) : ((!i[a] || !v.isObject(i[a])) && (i[a] = []), e(n, r, i[a], s) && v.isArray(i[a]) && (i[a] = Pu(i[a])), !c);
6116
+ return a = !a && v.isArray(i) ? i.length : a, l ? (v.hasOwnProp(i, a) ? i[a] = [i[a], r] : i[a] = r, !c) : ((!i[a] || !v.isObject(i[a])) && (i[a] = []), e(n, r, i[a], s) && v.isArray(i[a]) && (i[a] = Ru(i[a])), !c);
6117
6117
  }
6118
6118
  if (v.isFormData(t) && v.isFunction(t.entries)) {
6119
6119
  const n = {};
6120
6120
  return v.forEachEntry(t, (r, i) => {
6121
- e(Au(r), i, n, 0);
6121
+ e(Pu(r), i, n, 0);
6122
6122
  }), n;
6123
6123
  }
6124
6124
  return null;
6125
6125
  }
6126
- function Ru(t, e, n) {
6126
+ function xu(t, e, n) {
6127
6127
  if (v.isString(t))
6128
6128
  try {
6129
6129
  return (e || JSON.parse)(t), v.trim(t);
@@ -6134,12 +6134,12 @@ function Ru(t, e, n) {
6134
6134
  return (n || JSON.stringify)(t);
6135
6135
  }
6136
6136
  const Rt = {
6137
- transitional: Uo,
6137
+ transitional: qo,
6138
6138
  adapter: ["xhr", "http", "fetch"],
6139
6139
  transformRequest: [function(e, n) {
6140
6140
  const r = n.getContentType() || "", i = r.indexOf("application/json") > -1, s = v.isObject(e);
6141
6141
  if (s && v.isHTMLForm(e) && (e = new FormData(e)), v.isFormData(e))
6142
- return i ? JSON.stringify(qo(e)) : e;
6142
+ return i ? JSON.stringify(Vo(e)) : e;
6143
6143
  if (v.isArrayBuffer(e) || v.isBuffer(e) || v.isStream(e) || v.isFile(e) || v.isBlob(e) || v.isReadableStream(e))
6144
6144
  return e;
6145
6145
  if (v.isArrayBufferView(e))
@@ -6149,7 +6149,7 @@ const Rt = {
6149
6149
  let c;
6150
6150
  if (s) {
6151
6151
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
6152
- return Ou(e, this.formSerializer).toString();
6152
+ return Au(e, this.formSerializer).toString();
6153
6153
  if ((c = v.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
6154
6154
  const l = this.env && this.env.FormData;
6155
6155
  return vn(
@@ -6159,7 +6159,7 @@ const Rt = {
6159
6159
  );
6160
6160
  }
6161
6161
  }
6162
- return s || i ? (n.setContentType("application/json", !1), Ru(e)) : e;
6162
+ return s || i ? (n.setContentType("application/json", !1), xu(e)) : e;
6163
6163
  }],
6164
6164
  transformResponse: [function(e) {
6165
6165
  const n = this.transitional || Rt.transitional, r = n && n.forcedJSONParsing, i = this.responseType === "json";
@@ -6202,7 +6202,7 @@ const Rt = {
6202
6202
  v.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
6203
6203
  Rt.headers[t] = {};
6204
6204
  });
6205
- const xu = v.toObjectSet([
6205
+ const Du = v.toObjectSet([
6206
6206
  "age",
6207
6207
  "authorization",
6208
6208
  "content-length",
@@ -6220,28 +6220,28 @@ const xu = v.toObjectSet([
6220
6220
  "referer",
6221
6221
  "retry-after",
6222
6222
  "user-agent"
6223
- ]), Du = (t) => {
6223
+ ]), Lu = (t) => {
6224
6224
  const e = {};
6225
6225
  let n, r, i;
6226
6226
  return t && t.split(`
6227
6227
  `).forEach(function(a) {
6228
- i = a.indexOf(":"), n = a.substring(0, i).trim().toLowerCase(), r = a.substring(i + 1).trim(), !(!n || e[n] && xu[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
6228
+ i = a.indexOf(":"), n = a.substring(0, i).trim().toLowerCase(), r = a.substring(i + 1).trim(), !(!n || e[n] && Du[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
6229
6229
  }), e;
6230
- }, Ms = Symbol("internals");
6230
+ }, Os = Symbol("internals");
6231
6231
  function gt(t) {
6232
6232
  return t && String(t).trim().toLowerCase();
6233
6233
  }
6234
6234
  function Qt(t) {
6235
6235
  return t === !1 || t == null ? t : v.isArray(t) ? t.map(Qt) : String(t);
6236
6236
  }
6237
- function Lu(t) {
6237
+ function Nu(t) {
6238
6238
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
6239
6239
  let r;
6240
6240
  for (; r = n.exec(t); )
6241
6241
  e[r[1]] = r[2];
6242
6242
  return e;
6243
6243
  }
6244
- const Nu = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
6244
+ const ju = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
6245
6245
  function jn(t, e, n, r, i) {
6246
6246
  if (v.isFunction(r))
6247
6247
  return r.call(this, e, n);
@@ -6252,10 +6252,10 @@ function jn(t, e, n, r, i) {
6252
6252
  return r.test(e);
6253
6253
  }
6254
6254
  }
6255
- function ju(t) {
6255
+ function Iu(t) {
6256
6256
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
6257
6257
  }
6258
- function Iu(t, e) {
6258
+ function Bu(t, e) {
6259
6259
  const n = v.toCamelCase(" " + e);
6260
6260
  ["get", "set", "has"].forEach((r) => {
6261
6261
  Object.defineProperty(t, r + n, {
@@ -6282,8 +6282,8 @@ class Z {
6282
6282
  const a = (c, l) => v.forEach(c, (p, h) => s(p, h, l));
6283
6283
  if (v.isPlainObject(e) || e instanceof this.constructor)
6284
6284
  a(e, n);
6285
- else if (v.isString(e) && (e = e.trim()) && !Nu(e))
6286
- a(Du(e), n);
6285
+ else if (v.isString(e) && (e = e.trim()) && !ju(e))
6286
+ a(Lu(e), n);
6287
6287
  else if (v.isHeaders(e))
6288
6288
  for (const [c, l] of e.entries())
6289
6289
  s(l, c, r);
@@ -6299,7 +6299,7 @@ class Z {
6299
6299
  if (!n)
6300
6300
  return i;
6301
6301
  if (n === !0)
6302
- return Lu(i);
6302
+ return Nu(i);
6303
6303
  if (v.isFunction(n))
6304
6304
  return n.call(this, i, r);
6305
6305
  if (v.isRegExp(n))
@@ -6343,7 +6343,7 @@ class Z {
6343
6343
  n[a] = Qt(i), delete n[s];
6344
6344
  return;
6345
6345
  }
6346
- const c = e ? ju(s) : String(s).trim();
6346
+ const c = e ? Iu(s) : String(s).trim();
6347
6347
  c !== s && delete n[s], n[c] = Qt(i), r[c] = !0;
6348
6348
  }), this;
6349
6349
  }
@@ -6374,12 +6374,12 @@ class Z {
6374
6374
  return n.forEach((i) => r.set(i)), r;
6375
6375
  }
6376
6376
  static accessor(e) {
6377
- const r = (this[Ms] = this[Ms] = {
6377
+ const r = (this[Os] = this[Os] = {
6378
6378
  accessors: {}
6379
6379
  }).accessors, i = this.prototype;
6380
6380
  function s(a) {
6381
6381
  const c = gt(a);
6382
- r[c] || (Iu(i, a), r[c] = !0);
6382
+ r[c] || (Bu(i, a), r[c] = !0);
6383
6383
  }
6384
6384
  return v.isArray(e) ? e.forEach(s) : s(e), this;
6385
6385
  }
@@ -6402,7 +6402,7 @@ function In(t, e) {
6402
6402
  s = c.call(n, s, i.normalize(), e ? e.status : void 0);
6403
6403
  }), i.normalize(), s;
6404
6404
  }
6405
- function Vo(t) {
6405
+ function Jo(t) {
6406
6406
  return !!(t && t.__CANCEL__);
6407
6407
  }
6408
6408
  function dt(t, e, n) {
@@ -6411,7 +6411,7 @@ function dt(t, e, n) {
6411
6411
  v.inherits(dt, P, {
6412
6412
  __CANCEL__: !0
6413
6413
  });
6414
- function Jo(t, e, n) {
6414
+ function $o(t, e, n) {
6415
6415
  const r = n.config.validateStatus;
6416
6416
  !n.status || !r || r(n.status) ? t(n) : e(new P(
6417
6417
  "Request failed with status code " + n.status,
@@ -6421,11 +6421,11 @@ function Jo(t, e, n) {
6421
6421
  n
6422
6422
  ));
6423
6423
  }
6424
- function Bu(t) {
6424
+ function Fu(t) {
6425
6425
  const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
6426
6426
  return e && e[1] || "";
6427
6427
  }
6428
- function Fu(t, e) {
6428
+ function Uu(t, e) {
6429
6429
  t = t || 10;
6430
6430
  const n = new Array(t), r = new Array(t);
6431
6431
  let i = 0, s = 0, a;
@@ -6441,7 +6441,7 @@ function Fu(t, e) {
6441
6441
  return k ? Math.round(_ * 1e3 / k) : void 0;
6442
6442
  };
6443
6443
  }
6444
- function Uu(t, e) {
6444
+ function qu(t, e) {
6445
6445
  let n = 0;
6446
6446
  const r = 1e3 / e;
6447
6447
  let i = null;
@@ -6454,8 +6454,8 @@ function Uu(t, e) {
6454
6454
  }
6455
6455
  const an = (t, e, n = 3) => {
6456
6456
  let r = 0;
6457
- const i = Fu(50, 250);
6458
- return Uu((s) => {
6457
+ const i = Uu(50, 250);
6458
+ return qu((s) => {
6459
6459
  const a = s.loaded, c = s.lengthComputable ? s.total : void 0, l = a - r, p = i(l), h = a <= c;
6460
6460
  r = a;
6461
6461
  const f = {
@@ -6470,7 +6470,7 @@ const an = (t, e, n = 3) => {
6470
6470
  };
6471
6471
  f[e ? "download" : "upload"] = !0, t(f);
6472
6472
  }, n);
6473
- }, qu = ue.hasStandardBrowserEnv ? (
6473
+ }, Vu = ue.hasStandardBrowserEnv ? (
6474
6474
  // Standard browser envs have full support of the APIs needed to test
6475
6475
  // whether the request URL is of the same origin as current location.
6476
6476
  function() {
@@ -6501,7 +6501,7 @@ const an = (t, e, n = 3) => {
6501
6501
  return !0;
6502
6502
  };
6503
6503
  }()
6504
- ), Vu = ue.hasStandardBrowserEnv ? (
6504
+ ), Ju = ue.hasStandardBrowserEnv ? (
6505
6505
  // Standard browser envs support document.cookie
6506
6506
  {
6507
6507
  write(t, e, n, r, i, s) {
@@ -6528,16 +6528,16 @@ const an = (t, e, n = 3) => {
6528
6528
  }
6529
6529
  }
6530
6530
  );
6531
- function Ju(t) {
6531
+ function $u(t) {
6532
6532
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
6533
6533
  }
6534
- function $u(t, e) {
6534
+ function Gu(t, e) {
6535
6535
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
6536
6536
  }
6537
- function $o(t, e) {
6538
- return t && !Ju(e) ? $u(t, e) : e;
6537
+ function Go(t, e) {
6538
+ return t && !$u(e) ? Gu(t, e) : e;
6539
6539
  }
6540
- const Os = (t) => t instanceof Z ? { ...t } : t;
6540
+ const As = (t) => t instanceof Z ? { ...t } : t;
6541
6541
  function Ye(t, e) {
6542
6542
  e = e || {};
6543
6543
  const n = {};
@@ -6595,17 +6595,17 @@ function Ye(t, e) {
6595
6595
  socketPath: a,
6596
6596
  responseEncoding: a,
6597
6597
  validateStatus: c,
6598
- headers: (p, h) => i(Os(p), Os(h), !0)
6598
+ headers: (p, h) => i(As(p), As(h), !0)
6599
6599
  };
6600
6600
  return v.forEach(Object.keys(Object.assign({}, t, e)), function(h) {
6601
6601
  const f = l[h] || i, _ = f(t[h], e[h], h);
6602
6602
  v.isUndefined(_) && f !== c || (n[h] = _);
6603
6603
  }), n;
6604
6604
  }
6605
- const Go = (t) => {
6605
+ const Ho = (t) => {
6606
6606
  const e = Ye({}, t);
6607
6607
  let { data: n, withXSRFToken: r, xsrfHeaderName: i, xsrfCookieName: s, headers: a, auth: c } = e;
6608
- e.headers = a = Z.from(a), e.url = Fo($o(e.baseURL, e.url), t.params, t.paramsSerializer), c && a.set(
6608
+ e.headers = a = Z.from(a), e.url = Uo(Go(e.baseURL, e.url), t.params, t.paramsSerializer), c && a.set(
6609
6609
  "Authorization",
6610
6610
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
6611
6611
  );
@@ -6618,14 +6618,14 @@ const Go = (t) => {
6618
6618
  a.setContentType([p || "multipart/form-data", ...h].join("; "));
6619
6619
  }
6620
6620
  }
6621
- if (ue.hasStandardBrowserEnv && (r && v.isFunction(r) && (r = r(e)), r || r !== !1 && qu(e.url))) {
6622
- const p = i && s && Vu.read(s);
6621
+ if (ue.hasStandardBrowserEnv && (r && v.isFunction(r) && (r = r(e)), r || r !== !1 && Vu(e.url))) {
6622
+ const p = i && s && Ju.read(s);
6623
6623
  p && a.set(i, p);
6624
6624
  }
6625
6625
  return e;
6626
- }, Gu = typeof XMLHttpRequest < "u", Hu = Gu && function(t) {
6626
+ }, Hu = typeof XMLHttpRequest < "u", zu = Hu && function(t) {
6627
6627
  return new Promise(function(n, r) {
6628
- const i = Go(t);
6628
+ const i = Ho(t);
6629
6629
  let s = i.data;
6630
6630
  const a = Z.from(i.headers).normalize();
6631
6631
  let { responseType: c } = i, l;
@@ -6647,7 +6647,7 @@ const Go = (t) => {
6647
6647
  config: t,
6648
6648
  request: h
6649
6649
  };
6650
- Jo(function(M) {
6650
+ $o(function(M) {
6651
6651
  n(M), p();
6652
6652
  }, function(M) {
6653
6653
  r(M), p();
@@ -6661,7 +6661,7 @@ const Go = (t) => {
6661
6661
  r(new P("Network Error", P.ERR_NETWORK, i, h)), h = null;
6662
6662
  }, h.ontimeout = function() {
6663
6663
  let y = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
6664
- const w = i.transitional || Uo;
6664
+ const w = i.transitional || qo;
6665
6665
  i.timeoutErrorMessage && (y = i.timeoutErrorMessage), r(new P(
6666
6666
  y,
6667
6667
  w.clarifyTimeoutError ? P.ETIMEDOUT : P.ECONNABORTED,
@@ -6673,14 +6673,14 @@ const Go = (t) => {
6673
6673
  }), v.isUndefined(i.withCredentials) || (h.withCredentials = !!i.withCredentials), c && c !== "json" && (h.responseType = i.responseType), typeof i.onDownloadProgress == "function" && h.addEventListener("progress", an(i.onDownloadProgress, !0)), typeof i.onUploadProgress == "function" && h.upload && h.upload.addEventListener("progress", an(i.onUploadProgress)), (i.cancelToken || i.signal) && (l = (k) => {
6674
6674
  h && (r(!k || k.type ? new dt(null, t, h) : k), h.abort(), h = null);
6675
6675
  }, i.cancelToken && i.cancelToken.subscribe(l), i.signal && (i.signal.aborted ? l() : i.signal.addEventListener("abort", l)));
6676
- const _ = Bu(i.url);
6676
+ const _ = Fu(i.url);
6677
6677
  if (_ && ue.protocols.indexOf(_) === -1) {
6678
6678
  r(new P("Unsupported protocol " + _ + ":", P.ERR_BAD_REQUEST, t));
6679
6679
  return;
6680
6680
  }
6681
6681
  h.send(s || null);
6682
6682
  });
6683
- }, zu = (t, e) => {
6683
+ }, Wu = (t, e) => {
6684
6684
  let n = new AbortController(), r;
6685
6685
  const i = function(l) {
6686
6686
  if (!r) {
@@ -6702,7 +6702,7 @@ const Go = (t) => {
6702
6702
  return c.unsubscribe = a, [c, () => {
6703
6703
  s && clearTimeout(s), s = null;
6704
6704
  }];
6705
- }, Wu = function* (t, e) {
6705
+ }, Yu = function* (t, e) {
6706
6706
  let n = t.byteLength;
6707
6707
  if (!e || n < e) {
6708
6708
  yield t;
@@ -6711,11 +6711,11 @@ const Go = (t) => {
6711
6711
  let r = 0, i;
6712
6712
  for (; r < n; )
6713
6713
  i = r + e, yield t.slice(r, i), r = i;
6714
- }, Yu = async function* (t, e, n) {
6714
+ }, Ku = async function* (t, e, n) {
6715
6715
  for await (const r of t)
6716
- yield* Wu(ArrayBuffer.isView(r) ? r : await n(String(r)), e);
6717
- }, As = (t, e, n, r, i) => {
6718
- const s = Yu(t, e, i);
6716
+ yield* Yu(ArrayBuffer.isView(r) ? r : await n(String(r)), e);
6717
+ }, Ps = (t, e, n, r, i) => {
6718
+ const s = Ku(t, e, i);
6719
6719
  let a = 0;
6720
6720
  return new ReadableStream({
6721
6721
  type: "bytes",
@@ -6734,14 +6734,14 @@ const Go = (t) => {
6734
6734
  }, {
6735
6735
  highWaterMark: 2
6736
6736
  });
6737
- }, Ps = (t, e) => {
6737
+ }, Rs = (t, e) => {
6738
6738
  const n = t != null;
6739
6739
  return (r) => setTimeout(() => e({
6740
6740
  lengthComputable: n,
6741
6741
  total: t,
6742
6742
  loaded: r
6743
6743
  }));
6744
- }, yn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ho = yn && typeof ReadableStream == "function", lr = yn && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), Ku = Ho && (() => {
6744
+ }, yn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", zo = yn && typeof ReadableStream == "function", lr = yn && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), Qu = zo && (() => {
6745
6745
  let t = !1;
6746
6746
  const e = new Request(ue.origin, {
6747
6747
  body: new ReadableStream(),
@@ -6751,7 +6751,7 @@ const Go = (t) => {
6751
6751
  }
6752
6752
  }).headers.has("Content-Type");
6753
6753
  return t && !e;
6754
- })(), Rs = 64 * 1024, ur = Ho && !!(() => {
6754
+ })(), xs = 64 * 1024, ur = zo && !!(() => {
6755
6755
  try {
6756
6756
  return v.isReadableStream(new Response("").body);
6757
6757
  } catch {
@@ -6766,7 +6766,7 @@ yn && ((t) => {
6766
6766
  });
6767
6767
  });
6768
6768
  })(new Response());
6769
- const Qu = async (t) => {
6769
+ const Xu = async (t) => {
6770
6770
  if (t == null)
6771
6771
  return 0;
6772
6772
  if (v.isBlob(t))
@@ -6777,10 +6777,10 @@ const Qu = async (t) => {
6777
6777
  return t.byteLength;
6778
6778
  if (v.isURLSearchParams(t) && (t = t + ""), v.isString(t))
6779
6779
  return (await lr(t)).byteLength;
6780
- }, Xu = async (t, e) => {
6780
+ }, Zu = async (t, e) => {
6781
6781
  const n = v.toFiniteNumber(t.getContentLength());
6782
- return n ?? Qu(e);
6783
- }, Zu = yn && (async (t) => {
6782
+ return n ?? Xu(e);
6783
+ }, ed = yn && (async (t) => {
6784
6784
  let {
6785
6785
  url: e,
6786
6786
  method: n,
@@ -6794,9 +6794,9 @@ const Qu = async (t) => {
6794
6794
  headers: h,
6795
6795
  withCredentials: f = "same-origin",
6796
6796
  fetchOptions: _
6797
- } = Go(t);
6797
+ } = Ho(t);
6798
6798
  p = p ? (p + "").toLowerCase() : "text";
6799
- let [k, y] = i || s || a ? zu([i, s], a) : [], w, T;
6799
+ let [k, y] = i || s || a ? Wu([i, s], a) : [], w, T;
6800
6800
  const M = () => {
6801
6801
  !w && setTimeout(() => {
6802
6802
  k && k.unsubscribe();
@@ -6804,13 +6804,13 @@ const Qu = async (t) => {
6804
6804
  };
6805
6805
  let B;
6806
6806
  try {
6807
- if (l && Ku && n !== "get" && n !== "head" && (B = await Xu(h, r)) !== 0) {
6807
+ if (l && Qu && n !== "get" && n !== "head" && (B = await Zu(h, r)) !== 0) {
6808
6808
  let oe = new Request(e, {
6809
6809
  method: "POST",
6810
6810
  body: r,
6811
6811
  duplex: "half"
6812
6812
  }), _e;
6813
- v.isFormData(r) && (_e = oe.headers.get("content-type")) && h.setContentType(_e), oe.body && (r = As(oe.body, Rs, Ps(
6813
+ v.isFormData(r) && (_e = oe.headers.get("content-type")) && h.setContentType(_e), oe.body && (r = Ps(oe.body, xs, Rs(
6814
6814
  B,
6815
6815
  an(l)
6816
6816
  ), null, lr));
@@ -6833,7 +6833,7 @@ const Qu = async (t) => {
6833
6833
  });
6834
6834
  const _e = v.toFiniteNumber(L.headers.get("content-length"));
6835
6835
  L = new Response(
6836
- As(L.body, Rs, c && Ps(
6836
+ Ps(L.body, xs, c && Rs(
6837
6837
  _e,
6838
6838
  an(c, !0)
6839
6839
  ), ne && M, lr),
@@ -6843,7 +6843,7 @@ const Qu = async (t) => {
6843
6843
  p = p || "text";
6844
6844
  let Ne = await cn[v.findKey(cn, p) || "text"](L, t);
6845
6845
  return !ne && M(), y && y(), await new Promise((oe, _e) => {
6846
- Jo(oe, _e, {
6846
+ $o(oe, _e, {
6847
6847
  data: Ne,
6848
6848
  headers: Z.from(L.headers),
6849
6849
  status: L.status,
@@ -6861,9 +6861,9 @@ const Qu = async (t) => {
6861
6861
  ) : P.from(L, L && L.code, t, T);
6862
6862
  }
6863
6863
  }), dr = {
6864
- http: gu,
6865
- xhr: Hu,
6866
- fetch: Zu
6864
+ http: vu,
6865
+ xhr: zu,
6866
+ fetch: ed
6867
6867
  };
6868
6868
  v.forEach(dr, (t, e) => {
6869
6869
  if (t) {
@@ -6874,7 +6874,7 @@ v.forEach(dr, (t, e) => {
6874
6874
  Object.defineProperty(t, "adapterName", { value: e });
6875
6875
  }
6876
6876
  });
6877
- const xs = (t) => `- ${t}`, ed = (t) => v.isFunction(t) || t === null || t === !1, zo = {
6877
+ const Ds = (t) => `- ${t}`, td = (t) => v.isFunction(t) || t === null || t === !1, Wo = {
6878
6878
  getAdapter: (t) => {
6879
6879
  t = v.isArray(t) ? t : [t];
6880
6880
  const { length: e } = t;
@@ -6883,7 +6883,7 @@ const xs = (t) => `- ${t}`, ed = (t) => v.isFunction(t) || t === null || t === !
6883
6883
  for (let s = 0; s < e; s++) {
6884
6884
  n = t[s];
6885
6885
  let a;
6886
- if (r = n, !ed(n) && (r = dr[(a = String(n)).toLowerCase()], r === void 0))
6886
+ if (r = n, !td(n) && (r = dr[(a = String(n)).toLowerCase()], r === void 0))
6887
6887
  throw new P(`Unknown adapter '${a}'`);
6888
6888
  if (r)
6889
6889
  break;
@@ -6894,8 +6894,8 @@ const xs = (t) => `- ${t}`, ed = (t) => v.isFunction(t) || t === null || t === !
6894
6894
  ([c, l]) => `adapter ${c} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
6895
6895
  );
6896
6896
  let a = e ? s.length > 1 ? `since :
6897
- ` + s.map(xs).join(`
6898
- `) : " " + xs(s[0]) : "as no adapter specified";
6897
+ ` + s.map(Ds).join(`
6898
+ `) : " " + Ds(s[0]) : "as no adapter specified";
6899
6899
  throw new P(
6900
6900
  "There is no suitable adapter to dispatch the request " + a,
6901
6901
  "ERR_NOT_SUPPORT"
@@ -6909,34 +6909,34 @@ function Bn(t) {
6909
6909
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
6910
6910
  throw new dt(null, t);
6911
6911
  }
6912
- function Ds(t) {
6912
+ function Ls(t) {
6913
6913
  return Bn(t), t.headers = Z.from(t.headers), t.data = In.call(
6914
6914
  t,
6915
6915
  t.transformRequest
6916
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), zo.getAdapter(t.adapter || Rt.adapter)(t).then(function(r) {
6916
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Wo.getAdapter(t.adapter || Rt.adapter)(t).then(function(r) {
6917
6917
  return Bn(t), r.data = In.call(
6918
6918
  t,
6919
6919
  t.transformResponse,
6920
6920
  r
6921
6921
  ), r.headers = Z.from(r.headers), r;
6922
6922
  }, function(r) {
6923
- return Vo(r) || (Bn(t), r && r.response && (r.response.data = In.call(
6923
+ return Jo(r) || (Bn(t), r && r.response && (r.response.data = In.call(
6924
6924
  t,
6925
6925
  t.transformResponse,
6926
6926
  r.response
6927
6927
  ), r.response.headers = Z.from(r.response.headers))), Promise.reject(r);
6928
6928
  });
6929
6929
  }
6930
- const Wo = "1.7.2", Ar = {};
6930
+ const Yo = "1.7.2", Pr = {};
6931
6931
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
6932
- Ar[t] = function(r) {
6932
+ Pr[t] = function(r) {
6933
6933
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
6934
6934
  };
6935
6935
  });
6936
- const Ls = {};
6937
- Ar.transitional = function(e, n, r) {
6936
+ const Ns = {};
6937
+ Pr.transitional = function(e, n, r) {
6938
6938
  function i(s, a) {
6939
- return "[Axios v" + Wo + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
6939
+ return "[Axios v" + Yo + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
6940
6940
  }
6941
6941
  return (s, a, c) => {
6942
6942
  if (e === !1)
@@ -6944,7 +6944,7 @@ Ar.transitional = function(e, n, r) {
6944
6944
  i(a, " has been removed" + (n ? " in " + n : "")),
6945
6945
  P.ERR_DEPRECATED
6946
6946
  );
6947
- return n && !Ls[a] && (Ls[a] = !0, console.warn(
6947
+ return n && !Ns[a] && (Ns[a] = !0, console.warn(
6948
6948
  i(
6949
6949
  a,
6950
6950
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -6952,7 +6952,7 @@ Ar.transitional = function(e, n, r) {
6952
6952
  )), e ? e(s, a, c) : !0;
6953
6953
  };
6954
6954
  };
6955
- function td(t, e, n) {
6955
+ function nd(t, e, n) {
6956
6956
  if (typeof t != "object")
6957
6957
  throw new P("options must be an object", P.ERR_BAD_OPTION_VALUE);
6958
6958
  const r = Object.keys(t);
@@ -6970,14 +6970,14 @@ function td(t, e, n) {
6970
6970
  }
6971
6971
  }
6972
6972
  const hr = {
6973
- assertOptions: td,
6974
- validators: Ar
6973
+ assertOptions: nd,
6974
+ validators: Pr
6975
6975
  }, Me = hr.validators;
6976
6976
  class Je {
6977
6977
  constructor(e) {
6978
6978
  this.defaults = e, this.interceptors = {
6979
- request: new Cs(),
6980
- response: new Cs()
6979
+ request: new Ms(),
6980
+ response: new Ms()
6981
6981
  };
6982
6982
  }
6983
6983
  /**
@@ -7039,7 +7039,7 @@ class Je {
7039
7039
  });
7040
7040
  let h, f = 0, _;
7041
7041
  if (!l) {
7042
- const y = [Ds.bind(this), void 0];
7042
+ const y = [Ls.bind(this), void 0];
7043
7043
  for (y.unshift.apply(y, c), y.push.apply(y, p), _ = y.length, h = Promise.resolve(n); f < _; )
7044
7044
  h = h.then(y[f++], y[f++]);
7045
7045
  return h;
@@ -7056,7 +7056,7 @@ class Je {
7056
7056
  }
7057
7057
  }
7058
7058
  try {
7059
- h = Ds.call(this, k);
7059
+ h = Ls.call(this, k);
7060
7060
  } catch (y) {
7061
7061
  return Promise.reject(y);
7062
7062
  }
@@ -7066,8 +7066,8 @@ class Je {
7066
7066
  }
7067
7067
  getUri(e) {
7068
7068
  e = Ye(this.defaults, e);
7069
- const n = $o(e.baseURL, e.url);
7070
- return Fo(n, e.params, e.paramsSerializer);
7069
+ const n = Go(e.baseURL, e.url);
7070
+ return Uo(n, e.params, e.paramsSerializer);
7071
7071
  }
7072
7072
  }
7073
7073
  v.forEach(["delete", "get", "head", "options"], function(e) {
@@ -7094,7 +7094,7 @@ v.forEach(["post", "put", "patch"], function(e) {
7094
7094
  }
7095
7095
  Je.prototype[e] = n(), Je.prototype[e + "Form"] = n(!0);
7096
7096
  });
7097
- class Pr {
7097
+ class Rr {
7098
7098
  constructor(e) {
7099
7099
  if (typeof e != "function")
7100
7100
  throw new TypeError("executor must be a function.");
@@ -7154,19 +7154,19 @@ class Pr {
7154
7154
  static source() {
7155
7155
  let e;
7156
7156
  return {
7157
- token: new Pr(function(i) {
7157
+ token: new Rr(function(i) {
7158
7158
  e = i;
7159
7159
  }),
7160
7160
  cancel: e
7161
7161
  };
7162
7162
  }
7163
7163
  }
7164
- function nd(t) {
7164
+ function rd(t) {
7165
7165
  return function(n) {
7166
7166
  return t.apply(null, n);
7167
7167
  };
7168
7168
  }
7169
- function rd(t) {
7169
+ function id(t) {
7170
7170
  return v.isObject(t) && t.isAxiosError === !0;
7171
7171
  }
7172
7172
  const pr = {
@@ -7237,33 +7237,33 @@ const pr = {
7237
7237
  Object.entries(pr).forEach(([t, e]) => {
7238
7238
  pr[e] = t;
7239
7239
  });
7240
- function Yo(t) {
7241
- const e = new Je(t), n = Mo(Je.prototype.request, e);
7240
+ function Ko(t) {
7241
+ const e = new Je(t), n = Oo(Je.prototype.request, e);
7242
7242
  return v.extend(n, Je.prototype, e, { allOwnKeys: !0 }), v.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
7243
- return Yo(Ye(t, i));
7243
+ return Ko(Ye(t, i));
7244
7244
  }, n;
7245
7245
  }
7246
- const $ = Yo(Rt);
7246
+ const $ = Ko(Rt);
7247
7247
  $.Axios = Je;
7248
7248
  $.CanceledError = dt;
7249
- $.CancelToken = Pr;
7250
- $.isCancel = Vo;
7251
- $.VERSION = Wo;
7249
+ $.CancelToken = Rr;
7250
+ $.isCancel = Jo;
7251
+ $.VERSION = Yo;
7252
7252
  $.toFormData = vn;
7253
7253
  $.AxiosError = P;
7254
7254
  $.Cancel = $.CanceledError;
7255
7255
  $.all = function(e) {
7256
7256
  return Promise.all(e);
7257
7257
  };
7258
- $.spread = nd;
7259
- $.isAxiosError = rd;
7258
+ $.spread = rd;
7259
+ $.isAxiosError = id;
7260
7260
  $.mergeConfig = Ye;
7261
7261
  $.AxiosHeaders = Z;
7262
- $.formToJSON = (t) => qo(v.isHTMLForm(t) ? new FormData(t) : t);
7263
- $.getAdapter = zo.getAdapter;
7262
+ $.formToJSON = (t) => Vo(v.isHTMLForm(t) ? new FormData(t) : t);
7263
+ $.getAdapter = Wo.getAdapter;
7264
7264
  $.HttpStatusCode = pr;
7265
7265
  $.default = $;
7266
- const id = `
7266
+ const sd = `
7267
7267
  precision mediump float;
7268
7268
 
7269
7269
  // our textures
@@ -7285,7 +7285,7 @@ void main() {
7285
7285
 
7286
7286
  gl_FragColor = vec4(color.rgb * mix(alpha, 1.0, u_premultipliedAlpha), alpha);
7287
7287
  }
7288
- `, sd = `
7288
+ `, od = `
7289
7289
  precision mediump float;
7290
7290
  attribute vec2 a_position;
7291
7291
  uniform mat3 u_matrix;
@@ -7299,7 +7299,7 @@ void main() {
7299
7299
  v_texCoord = a_position;
7300
7300
  }
7301
7301
  `;
7302
- function Ns(t, e, n) {
7302
+ function js(t, e, n) {
7303
7303
  const r = t.createShader(n);
7304
7304
  if (!r)
7305
7305
  throw Error("Unable to create shader");
@@ -7309,7 +7309,7 @@ function Ns(t, e, n) {
7309
7309
  }
7310
7310
  return r;
7311
7311
  }
7312
- function od(t, e) {
7312
+ function ad(t, e) {
7313
7313
  const n = t.createProgram();
7314
7314
  if (!n)
7315
7315
  throw Error("Unable to create program");
@@ -7321,8 +7321,8 @@ function od(t, e) {
7321
7321
  }
7322
7322
  return n;
7323
7323
  }
7324
- const Ko = /* @__PURE__ */ new WeakMap();
7325
- function ad(t) {
7324
+ const Qo = /* @__PURE__ */ new WeakMap();
7325
+ function cd(t) {
7326
7326
  const e = {
7327
7327
  antialias: !1,
7328
7328
  powerPreference: "low-power",
@@ -7331,12 +7331,12 @@ function ad(t) {
7331
7331
  }, n = t.getContext("webgl2", e) ?? t.getContext("webgl", e);
7332
7332
  if (!n)
7333
7333
  throw Error("Couldn't create GL context");
7334
- const r = Ns(n, id, n.FRAGMENT_SHADER), i = Ns(n, sd, n.VERTEX_SHADER), s = od(n, [r, i]);
7334
+ const r = js(n, sd, n.FRAGMENT_SHADER), i = js(n, od, n.VERTEX_SHADER), s = ad(n, [r, i]);
7335
7335
  n.useProgram(s);
7336
7336
  const a = n.getAttribLocation(s, "a_position"), c = n.getUniformLocation(s, "u_frame");
7337
7337
  n.uniform1i(c, 0);
7338
7338
  const l = n.getUniformLocation(s, "u_matrix");
7339
- Ko.set(n, n.getUniformLocation(s, "u_premultipliedAlpha")), cd(n);
7339
+ Qo.set(n, n.getUniformLocation(s, "u_premultipliedAlpha")), ld(n);
7340
7340
  const p = n.createBuffer(), h = new Float32Array([
7341
7341
  0,
7342
7342
  0,
@@ -7355,15 +7355,19 @@ function ad(t) {
7355
7355
  const f = n.createTexture();
7356
7356
  return n.bindTexture(n.TEXTURE_2D, f), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_WRAP_S, n.CLAMP_TO_EDGE), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_WRAP_T, n.CLAMP_TO_EDGE), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MIN_FILTER, n.NEAREST), n.texParameteri(n.TEXTURE_2D, n.TEXTURE_MAG_FILTER, n.NEAREST), n;
7357
7357
  }
7358
- function cd(t, e) {
7359
- t.uniform1f(Ko.get(t), 0);
7360
- }
7361
7358
  function ld(t, e) {
7359
+ t.uniform1f(Qo.get(t), 0);
7360
+ }
7361
+ function ud(t, e) {
7362
7362
  const n = t.canvas, r = e.videoWidth, i = Math.floor(e.videoHeight / 2);
7363
7363
  (n.width !== r || n.height !== i) && (n.width = r, n.height = i, t.viewport(0, 0, r, i)), t.texImage2D(t.TEXTURE_2D, 0, t.RGBA, t.RGBA, t.UNSIGNED_BYTE, e), t.drawArrays(t.TRIANGLES, 0, 6);
7364
7364
  }
7365
- const Qo = "https://api.avaturn.live";
7366
- class ud {
7365
+ var fr;
7366
+ (function(t) {
7367
+ t.Send = "conversation_engine.message.send";
7368
+ })(fr || (fr = {}));
7369
+ const Xo = "https://api.avaturn.live";
7370
+ class dd {
7367
7371
  /**
7368
7372
  * The main constructor of the class.
7369
7373
  * @constructor
@@ -7389,14 +7393,14 @@ class ud {
7389
7393
  H(this, "handlers", {});
7390
7394
  if (typeof window > "u")
7391
7395
  throw new Error("Unfortunately, SDK only works on the client side.");
7392
- const [r, i] = this.parseConfig(e, n), { apiHost: s = Qo, sessionToken: a, preloadBundle: c, preconnect: l, keepAlive: p, audioSource: h = !1 } = this.config = r;
7396
+ const [r, i] = this.parseConfig(e, n), { apiHost: s = Xo, sessionToken: a, preloadBundle: c, preconnect: l, keepAlive: p, audioSource: h = !1 } = this.config = r;
7393
7397
  this.rootElement = i, this.abortController = new AbortController(), this.fetcher = $.create({
7394
7398
  baseURL: `${s}/_sdk/v0`,
7395
7399
  headers: {
7396
7400
  "X-Session-Token": a
7397
7401
  },
7398
7402
  signal: this.abortController.signal
7399
- }), this.keepAlive = !!p, this.mediaStream = new MediaStream(), this.call = Rl.createCallObject({
7403
+ }), this.keepAlive = !!p, this.mediaStream = new MediaStream(), this.call = xl.createCallObject({
7400
7404
  videoSource: !1,
7401
7405
  audioSource: h,
7402
7406
  dailyConfig: {
@@ -7429,15 +7433,17 @@ class ud {
7429
7433
  const a = document.createElement("div");
7430
7434
  a.style.width = "100%", a.style.height = "100%", a.style.position = "relative", a.style.overflow = "hidden", this.rootElement.appendChild(a), this.shadow = a.attachShadow({ mode: "closed" });
7431
7435
  }
7432
- const e = this.shadow, n = document.createElement("video");
7436
+ const e = this.shadow;
7437
+ this.shadow.innerHTML = "";
7438
+ const n = document.createElement("video");
7433
7439
  if (n.srcObject = this.mediaStream, n.autoplay = !0, n.style.position = "absolute", n.style.opacity = "0", n.style.objectFit = "cover", n.style.pointerEvents = "none", n.playsInline = !0, e.appendChild(n), !this.uiConfig.background.transparent) {
7434
7440
  n.style.width = "100%", n.style.height = "100%", n.style.opacity = "1", n.style.pointerEvents = "all";
7435
7441
  return;
7436
7442
  }
7437
7443
  const r = document.createElement("canvas");
7438
7444
  r.style.width = "100%", r.style.height = "100%", r.style.objectFit = "cover", e.appendChild(r);
7439
- const i = ad(r), s = () => {
7440
- ld(i, n), this.frameHandle = requestAnimationFrame(s);
7445
+ const i = cd(r), s = () => {
7446
+ ud(i, n), this.frameHandle = requestAnimationFrame(s);
7441
7447
  };
7442
7448
  s();
7443
7449
  }
@@ -7450,6 +7456,12 @@ class ud {
7450
7456
  restartIdleTimeout() {
7451
7457
  clearTimeout(this.timeout), this.startIdleTimeout();
7452
7458
  }
7459
+ updateConfig() {
7460
+ this.call.sendAppMessage({
7461
+ type: fr.Send,
7462
+ data: { prompt_update: !0 }
7463
+ });
7464
+ }
7453
7465
  toggleLocalAudio() {
7454
7466
  const e = this.call.localAudio();
7455
7467
  this.call.setLocalAudio(!e), this.dispatch("local_audio_change", !e);
@@ -7484,7 +7496,7 @@ class ud {
7484
7496
  console.error("[SKD_ERROR]: ", l);
7485
7497
  }), (c = this.call) == null || c.on("app-message", ({ data: l }) => {
7486
7498
  var p;
7487
- l.type && ((p = this.handlers[l.type]) == null || p.forEach((h) => h(l)));
7499
+ this.restartIdleTimeout(), l.type && ((p = this.handlers[l.type]) == null || p.forEach((h) => h(l)));
7488
7500
  });
7489
7501
  });
7490
7502
  }
@@ -7520,14 +7532,14 @@ class ud {
7520
7532
  this.inited = !1, this.mediaStream = new MediaStream(), this.timeout && clearTimeout(this.timeout), this.frameHandle && cancelAnimationFrame(this.frameHandle), await this.call.destroy(), this.abortController.abort(), this.abortController = new AbortController(), this.fetcher.defaults.signal = this.abortController.signal;
7521
7533
  }
7522
7534
  }
7523
- class hd extends ud {
7535
+ class pd extends dd {
7524
7536
  constructor(n) {
7525
7537
  super(n);
7526
7538
  H(this, "assistantSessionToken", "");
7527
7539
  H(this, "assistantFetcher");
7528
7540
  H(this, "sessionToken", "");
7529
7541
  this.assistantSessionToken = n.assistantSessionToken, this.sessionToken = n.sessionToken, this.assistantFetcher = $.create({
7530
- baseURL: `${n.apiHost || Qo}/`,
7542
+ baseURL: `${n.apiHost || Xo}/`,
7531
7543
  headers: {
7532
7544
  Authorization: `Bearer ${n.assistantSessionToken}`
7533
7545
  },
@@ -7549,6 +7561,6 @@ class hd extends ud {
7549
7561
  }
7550
7562
  }
7551
7563
  export {
7552
- hd as AvaturnAssistantHead,
7553
- ud as AvaturnHead
7564
+ pd as AvaturnAssistantHead,
7565
+ dd as AvaturnHead
7554
7566
  };