@avaturn-live/web-sdk 0.1.0 → 0.1.2

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,6 +1,6 @@
1
- var Xo = Object.defineProperty;
2
- var Zo = (t, e, n) => e in t ? Xo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var Z = (t, e, n) => Zo(t, typeof e != "symbol" ? e + "" : e, n);
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 Y = (t, e, n) => ta(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  function Gr(t, e) {
5
5
  if (t == null) return {};
6
6
  var n, r, i = function(a, c) {
@@ -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 Ns(t) {
28
+ function js(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];
@@ -41,7 +41,7 @@ function Ns(t) {
41
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, Ns(r.key), r);
44
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, js(r.key), r);
45
45
  }
46
46
  }
47
47
  function fe(t, e, n) {
@@ -71,7 +71,7 @@ function de(t) {
71
71
  }, de(t);
72
72
  }
73
73
  function Pe(t, e, n) {
74
- return (e = Ns(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
74
+ return (e = js(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
75
75
  }
76
76
  function Hr(t, e, n, r, i, s, a) {
77
77
  try {
@@ -96,7 +96,7 @@ function O(t) {
96
96
  });
97
97
  };
98
98
  }
99
- function Yr(t, e) {
99
+ function Wr(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,23 +126,23 @@ function $e(t, e) {
126
126
  }
127
127
  }(t, e) || function(n, r) {
128
128
  if (n) {
129
- if (typeof n == "string") return Yr(n, r);
129
+ if (typeof n == "string") return Wr(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) ? Yr(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) ? Wr(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 js, Ee = {}, ea = { get exports() {
138
+ var Is, Ee = {}, na = { get exports() {
139
139
  return Ee;
140
140
  }, set exports(t) {
141
141
  Ee = t;
142
- } }, Ze = typeof Reflect == "object" ? Reflect : null, Wr = Ze && typeof Ze.apply == "function" ? Ze.apply : function(t, e, n) {
142
+ } }, Ze = typeof Reflect == "object" ? Reflect : null, Yr = Ze && typeof Ze.apply == "function" ? Ze.apply : function(t, e, n) {
143
143
  return Function.prototype.apply.call(t, e, n);
144
144
  };
145
- js = Ze && typeof Ze.ownKeys == "function" ? Ze.ownKeys : Object.getOwnPropertySymbols ? function(t) {
145
+ Is = 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);
@@ -153,7 +153,7 @@ var Kr = Number.isNaN || function(t) {
153
153
  function j() {
154
154
  j.init.call(this);
155
155
  }
156
- ea.exports = j, Ee.once = function(t, e) {
156
+ na.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);
@@ -170,24 +170,24 @@ var Qr = 10;
170
170
  function Ht(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 Is(t) {
173
+ function Bs(t) {
174
174
  return t._maxListeners === void 0 ? j.defaultMaxListeners : t._maxListeners;
175
175
  }
176
176
  function Xr(t, e, n, r) {
177
177
  var i, s, a, c;
178
178
  if (Ht(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 = Is(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 = Bs(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 ta() {
186
+ function ra() {
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
189
  function Zr(t, e, n) {
190
- var r = { fired: !1, wrapFn: void 0, target: t, type: e, listener: n }, i = ta.bind(r);
190
+ var r = { fired: !1, wrapFn: void 0, target: t, type: e, listener: n }, i = ra.bind(r);
191
191
  return i.listener = n, r.wrapFn = i, i;
192
192
  }
193
193
  function ei(t, e, n) {
@@ -197,7 +197,7 @@ function ei(t, e, n) {
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) : Bs(i, i.length);
200
+ }(i) : Fs(i, i.length);
201
201
  }
202
202
  function ti(t) {
203
203
  var e = this._events;
@@ -208,7 +208,7 @@ function ti(t) {
208
208
  }
209
209
  return 0;
210
210
  }
211
- function Bs(t, e) {
211
+ function Fs(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
  }
@@ -232,7 +232,7 @@ Object.defineProperty(j, "defaultMaxListeners", { enumerable: !0, get: function(
232
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 + ".");
233
233
  return this._maxListeners = t, this;
234
234
  }, j.prototype.getMaxListeners = function() {
235
- return Is(this);
235
+ return Bs(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,10 +246,10 @@ 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") Wr(c, this, e);
249
+ if (typeof c == "function") Yr(c, this, e);
250
250
  else {
251
- var l = c.length, p = Bs(c, l);
252
- for (n = 0; n < l; ++n) Wr(p[n], this, e);
251
+ var l = c.length, p = Fs(c, l);
252
+ for (n = 0; n < l; ++n) Yr(p[n], this, e);
253
253
  }
254
254
  return !0;
255
255
  }, j.prototype.addListener = function(t, e) {
@@ -296,20 +296,20 @@ Object.defineProperty(j, "defaultMaxListeners", { enumerable: !0, get: function(
296
296
  }, j.listenerCount = function(t, e) {
297
297
  return typeof t.listenerCount == "function" ? t.listenerCount(e) : ti.call(t, e);
298
298
  }, j.prototype.listenerCount = ti, j.prototype.eventNames = function() {
299
- return this._eventsCount > 0 ? js(this._events) : [];
299
+ return this._eventsCount > 0 ? Is(this._events) : [];
300
300
  };
301
301
  var ri = Object.prototype.hasOwnProperty;
302
302
  function ii(t, e, n) {
303
- for (n of t.keys()) if (Q(n, e)) return n;
303
+ for (n of t.keys()) if (X(n, e)) return n;
304
304
  }
305
- function Q(t, e) {
305
+ function X(t, e) {
306
306
  var n, r, i;
307
307
  if (t === e) return !0;
308
308
  if (t && e && (n = t.constructor) === e.constructor) {
309
309
  if (n === Date) return t.getTime() === e.getTime();
310
310
  if (n === RegExp) return t.toString() === e.toString();
311
311
  if (n === Array) {
312
- if ((r = t.length) === e.length) for (; r-- && Q(t[r], e[r]); ) ;
312
+ if ((r = t.length) === e.length) for (; r-- && X(t[r], e[r]); ) ;
313
313
  return r === -1;
314
314
  }
315
315
  if (n === Set) {
@@ -321,7 +321,7 @@ function Q(t, e) {
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)) || !Q(r[1], e.get(i))) return !1;
324
+ if ((i = r[0]) && typeof i == "object" && !(i = ii(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 Q(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) || !Q(t[n], e[n])) return !1;
338
+ if (ri.call(t, n) && ++r && !ri.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 na = { "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" }, Fs = { 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" }, V = { tablet: "tablet", mobile: "mobile", desktop: "desktop", tv: "tv" }, W = { 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 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" };
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 na[e];
461
+ return ia[e];
462
462
  }
463
463
  static getBrowserTypeByAlias(e) {
464
- return Fs[e] || "";
464
+ return Us[e] || "";
465
465
  }
466
466
  }
467
- const I = /version\/(\d+(\.?_?\d+)+)/i, ra = [{ test: [/googlebot/i], describe(t) {
467
+ const I = /version\/(\d+(\.?_?\d+)+)/i, sa = [{ 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,58 +597,58 @@ const I = /version\/(\d+(\.?_?\d+)+)/i, ra = [{ 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 ia = [{ test: [/Roku\/DVP/], describe(t) {
600
+ var oa = [{ test: [/Roku\/DVP/], describe(t) {
601
601
  const e = S.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, t);
602
- return { name: W.Roku, version: e };
602
+ return { name: K.Roku, version: e };
603
603
  } }, { test: [/windows phone/i], describe(t) {
604
604
  const e = S.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, t);
605
- return { name: W.WindowsPhone, version: e };
605
+ return { name: K.WindowsPhone, version: e };
606
606
  } }, { test: [/windows /i], describe(t) {
607
607
  const e = S.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, t), n = S.getWindowsVersionName(e);
608
- return { name: W.Windows, version: e, versionName: n };
608
+ return { name: K.Windows, version: e, versionName: n };
609
609
  } }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe(t) {
610
- const e = { name: W.iOS }, n = S.getSecondMatch(/(Version\/)(\d[\d.]+)/, t);
610
+ const e = { name: K.iOS }, n = S.getSecondMatch(/(Version\/)(\d[\d.]+)/, t);
611
611
  return n && (e.version = n), e;
612
612
  } }, { test: [/macintosh/i], describe(t) {
613
- const e = S.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, t).replace(/[_\s]/g, "."), n = S.getMacOSVersionName(e), r = { name: W.MacOS, version: e };
613
+ const e = S.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, t).replace(/[_\s]/g, "."), n = S.getMacOSVersionName(e), r = { name: K.MacOS, version: e };
614
614
  return n && (r.versionName = n), r;
615
615
  } }, { test: [/(ipod|iphone|ipad)/i], describe(t) {
616
616
  const e = S.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, t).replace(/[_\s]/g, ".");
617
- return { name: W.iOS, version: e };
617
+ return { name: K.iOS, version: e };
618
618
  } }, { test(t) {
619
619
  const e = !t.test(/like android/i), n = t.test(/android/i);
620
620
  return e && n;
621
621
  }, describe(t) {
622
- const e = S.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, t), n = S.getAndroidVersionName(e), r = { name: W.Android, version: e };
622
+ const e = S.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, t), n = S.getAndroidVersionName(e), r = { name: K.Android, version: e };
623
623
  return n && (r.versionName = n), r;
624
624
  } }, { test: [/(web|hpw)[o0]s/i], describe(t) {
625
- const e = S.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, t), n = { name: W.WebOS };
625
+ const e = S.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, t), n = { name: K.WebOS };
626
626
  return e && e.length && (n.version = e), n;
627
627
  } }, { test: [/blackberry|\bbb\d+/i, /rim\stablet/i], describe(t) {
628
628
  const e = S.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, t) || S.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, t) || S.getFirstMatch(/\bbb(\d+)/i, t);
629
- return { name: W.BlackBerry, version: e };
629
+ return { name: K.BlackBerry, version: e };
630
630
  } }, { test: [/bada/i], describe(t) {
631
631
  const e = S.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, t);
632
- return { name: W.Bada, version: e };
632
+ return { name: K.Bada, version: e };
633
633
  } }, { test: [/tizen/i], describe(t) {
634
634
  const e = S.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, t);
635
- return { name: W.Tizen, version: e };
636
- } }, { test: [/linux/i], describe: () => ({ name: W.Linux }) }, { test: [/CrOS/], describe: () => ({ name: W.ChromeOS }) }, { test: [/PlayStation 4/], describe(t) {
635
+ return { name: K.Tizen, version: e };
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
- return { name: W.PlayStation4, version: e };
639
- } }], sa = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(t) {
640
- const e = S.getFirstMatch(/(can-l01)/i, t) && "Nova", n = { type: V.mobile, vendor: "Huawei" };
638
+ return { name: K.PlayStation4, version: e };
639
+ } }], aa = [{ test: [/googlebot/i], describe: () => ({ type: "bot", vendor: "Google" }) }, { test: [/huawei/i], describe(t) {
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
- } }, { test: [/nexus\s*(?:7|8|9|10).*/i], describe: () => ({ type: V.tablet, vendor: "Nexus" }) }, { test: [/ipad/i], describe: () => ({ type: V.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/Macintosh(.*?) FxiOS(.*?)\//], describe: () => ({ type: V.tablet, vendor: "Apple", model: "iPad" }) }, { test: [/kftt build/i], describe: () => ({ type: V.tablet, vendor: "Amazon", model: "Kindle Fire HD 7" }) }, { test: [/silk/i], describe: () => ({ type: V.tablet, vendor: "Amazon" }) }, { test: [/tablet(?! pc)/i], describe: () => ({ type: V.tablet }) }, { test(t) {
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) {
643
643
  const e = t.test(/ipod|iphone/i), n = t.test(/like (ipod|iphone)/i);
644
644
  return e && !n;
645
645
  }, describe(t) {
646
646
  const e = S.getFirstMatch(/(ipod|iphone)/i, t);
647
- return { type: V.mobile, vendor: "Apple", model: e };
648
- } }, { test: [/nexus\s*[0-6].*/i, /galaxy nexus/i], describe: () => ({ type: V.mobile, vendor: "Nexus" }) }, { test: [/[^-]mobi/i], describe: () => ({ type: V.mobile }) }, { test: (t) => t.getBrowserName(!0) === "blackberry", describe: () => ({ type: V.mobile, vendor: "BlackBerry" }) }, { test: (t) => t.getBrowserName(!0) === "bada", describe: () => ({ type: V.mobile }) }, { test: (t) => t.getBrowserName() === "windows phone", describe: () => ({ type: V.mobile, vendor: "Microsoft" }) }, { test(t) {
647
+ return { type: J.mobile, vendor: "Apple", model: e };
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: V.tablet }) }, { test: (t) => t.getOSName(!0) === "android", describe: () => ({ type: V.mobile }) }, { test: (t) => t.getOSName(!0) === "macos", describe: () => ({ type: V.desktop, vendor: "Apple" }) }, { test: (t) => t.getOSName(!0) === "windows", describe: () => ({ type: V.desktop }) }, { test: (t) => t.getOSName(!0) === "linux", describe: () => ({ type: V.desktop }) }, { test: (t) => t.getOSName(!0) === "playstation 4", describe: () => ({ type: V.tv }) }, { test: (t) => t.getOSName(!0) === "roku", describe: () => ({ type: V.tv }) }], oa = [{ 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 }) }], ca = [{ 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 };
@@ -681,7 +681,7 @@ class si {
681
681
  }
682
682
  parseBrowser() {
683
683
  this.parsedResult.browser = {};
684
- const e = S.find(ra, (n) => {
684
+ const e = S.find(sa, (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(ia, (n) => {
705
+ const e = S.find(oa, (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(sa, (n) => {
728
+ const e = S.find(aa, (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(oa, (n) => {
743
+ const e = S.find(ca, (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,7 +811,7 @@ class si {
811
811
  * MIT License | (c) Dustin Diaz 2012-2015
812
812
  * MIT License | (c) Denis Demchenko 2015-2019
813
813
  */
814
- class aa {
814
+ class la {
815
815
  static getParser(e, n = !1) {
816
816
  if (typeof e != "string") throw new Error("UserAgent should be a string");
817
817
  return new si(e, n);
@@ -820,16 +820,16 @@ class aa {
820
820
  return new si(e).getResult();
821
821
  }
822
822
  static get BROWSER_MAP() {
823
- return Fs;
823
+ return Us;
824
824
  }
825
825
  static get ENGINE_MAP() {
826
826
  return Oe;
827
827
  }
828
828
  static get OS_MAP() {
829
- return W;
829
+ return K;
830
830
  }
831
831
  static get PLATFORMS_MAP() {
832
- return V;
832
+ return J;
833
833
  }
834
834
  }
835
835
  function dn() {
@@ -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 Us(t, e) {
841
+ function qs(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 : Us("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 : qs("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 qs = Object.prototype.toString;
855
+ const Vs = Object.prototype.toString;
856
856
  function Js(t) {
857
- switch (qs.call(t)) {
857
+ switch (Vs.call(t)) {
858
858
  case "[object Error]":
859
859
  case "[object Exception]":
860
860
  case "[object DOMException]":
@@ -864,7 +864,7 @@ function Js(t) {
864
864
  }
865
865
  }
866
866
  function lt(t, e) {
867
- return qs.call(t) === `[object ${e}]`;
867
+ return Vs.call(t) === `[object ${e}]`;
868
868
  }
869
869
  function fr(t) {
870
870
  return lt(t, "ErrorEvent");
@@ -875,7 +875,7 @@ function oi(t) {
875
875
  function Ge(t) {
876
876
  return lt(t, "String");
877
877
  }
878
- function Vs(t) {
878
+ function $s(t) {
879
879
  return t === null || typeof t != "object" && typeof t != "function";
880
880
  }
881
881
  function ot(t) {
@@ -910,13 +910,13 @@ function ai(t, e) {
910
910
  }
911
911
  return n.join(e);
912
912
  }
913
- function ca(t, e, n = !1) {
913
+ function ua(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) => ca(t, r, n));
917
+ return e.some((r) => ua(t, r, n));
918
918
  }
919
- function la(t, e, n = 250, r, i, s, a) {
919
+ function da(t, e, n = 250, r, i, s, a) {
920
920
  if (!(s.exception && s.exception.values && a && ze(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;
@@ -957,7 +957,7 @@ function gr(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 ua = Pt(), da = 80;
960
+ const ha = Pt(), pa = 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 || da;
969
- for (; n && s++ < r && (p = ha(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 || 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;
970
970
  return i.reverse().join(c);
971
971
  } catch {
972
972
  return "<unknown>";
973
973
  }
974
974
  }
975
- function ha(t, e) {
975
+ function fa(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 ha(t, e) {
987
987
  return r.join("");
988
988
  }
989
989
  const en = ["debug", "info", "warn", "error", "log", "assert", "trace"];
990
- function $s(t) {
990
+ function Gs(t) {
991
991
  if (!("console" in ie)) return t();
992
992
  const e = ie.console, n = {};
993
993
  en.forEach((r) => {
@@ -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 && $s(() => {
1014
+ t && Gs(() => {
1015
1015
  ie.console[n](`Sentry Logger [${n}]:`, ...r);
1016
1016
  });
1017
1017
  };
@@ -1022,7 +1022,7 @@ function ui() {
1022
1022
  }
1023
1023
  let R;
1024
1024
  R = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__ ? gr("logger", ui) : ui();
1025
- const pa = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
1025
+ const ma = /^(?:(\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}`;
@@ -1030,9 +1030,9 @@ function tn(t, e = !1) {
1030
1030
  function di(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 fa(t) {
1033
+ function ga(t) {
1034
1034
  const e = typeof t == "string" ? function(n) {
1035
- const r = pa.exec(n);
1035
+ const r = ma.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;
@@ -1060,7 +1060,7 @@ 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
- Gs(i, r);
1063
+ zs(i, r);
1064
1064
  } catch {
1065
1065
  }
1066
1066
  t[e] = i;
@@ -1068,14 +1068,14 @@ function z(t, e, n) {
1068
1068
  function vr(t, e, n) {
1069
1069
  Object.defineProperty(t, e, { value: n, writable: !0, configurable: !0 });
1070
1070
  }
1071
- function Gs(t, e) {
1071
+ function zs(t, e) {
1072
1072
  const n = e.prototype || {};
1073
1073
  t.prototype = e.prototype = n, vr(t, "__sentry_original__", e);
1074
1074
  }
1075
1075
  function yr(t) {
1076
1076
  return t.__sentry_original__;
1077
1077
  }
1078
- function zs(t) {
1078
+ function Hs(t) {
1079
1079
  if (Js(t)) return { message: t.message, name: t.name, stack: t.stack, ...pi(t) };
1080
1080
  if (Zt(t)) {
1081
1081
  const e = { type: t.type, target: hi(t.target), currentTarget: hi(t.currentTarget), ...pi(t) };
@@ -1130,10 +1130,10 @@ function Le(t) {
1130
1130
  }
1131
1131
  }
1132
1132
  const wn = Pt();
1133
- function Jn(t) {
1133
+ function Vn(t) {
1134
1134
  return t && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString());
1135
1135
  }
1136
- function ma() {
1136
+ function va() {
1137
1137
  if (!function() {
1138
1138
  if (!("fetch" in wn)) return !1;
1139
1139
  try {
@@ -1142,26 +1142,26 @@ function ma() {
1142
1142
  return !1;
1143
1143
  }
1144
1144
  }()) return !1;
1145
- if (Jn(wn.fetch)) return !0;
1145
+ if (Vn(wn.fetch)) return !0;
1146
1146
  let t = !1;
1147
1147
  const e = wn.document;
1148
1148
  if (e && typeof e.createElement == "function") try {
1149
1149
  const n = e.createElement("iframe");
1150
- n.hidden = !0, e.head.appendChild(n), n.contentWindow && n.contentWindow.fetch && (t = Jn(n.contentWindow.fetch)), e.head.removeChild(n);
1150
+ n.hidden = !0, e.head.appendChild(n), n.contentWindow && n.contentWindow.fetch && (t = Vn(n.contentWindow.fetch)), e.head.removeChild(n);
1151
1151
  } catch (n) {
1152
1152
  (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", n);
1153
1153
  }
1154
1154
  return t;
1155
1155
  }
1156
- const Nt = Pt(), J = Pt(), vt = "__sentry_xhr_v2__", _t = {}, mi = {};
1157
- function ga(t) {
1156
+ const Nt = Pt(), V = Pt(), vt = "__sentry_xhr_v2__", _t = {}, mi = {};
1157
+ function ya(t) {
1158
1158
  if (!mi[t]) switch (mi[t] = !0, t) {
1159
1159
  case "console":
1160
1160
  (function() {
1161
- "console" in J && en.forEach(function(e) {
1162
- e in J.console && z(J.console, e, function(n) {
1161
+ "console" in V && en.forEach(function(e) {
1162
+ e in V.console && z(V.console, e, function(n) {
1163
1163
  return function(...r) {
1164
- ae("console", { args: r, level: e }), n && n.apply(J.console, r);
1164
+ ae("console", { args: r, level: e }), n && n.apply(V.console, r);
1165
1165
  };
1166
1166
  });
1167
1167
  });
@@ -1169,10 +1169,10 @@ function ga(t) {
1169
1169
  break;
1170
1170
  case "dom":
1171
1171
  (function() {
1172
- if (!("document" in J)) return;
1172
+ if (!("document" in V)) return;
1173
1173
  const e = ae.bind(null, "dom"), n = vi(e, !0);
1174
- J.document.addEventListener("click", n, !1), J.document.addEventListener("keypress", n, !1), ["EventTarget", "Node"].forEach((r) => {
1175
- const i = J[r] && J[r].prototype;
1174
+ V.document.addEventListener("click", n, !1), V.document.addEventListener("keypress", n, !1), ["EventTarget", "Node"].forEach((r) => {
1175
+ const i = V[r] && V[r].prototype;
1176
1176
  i && i.hasOwnProperty && i.hasOwnProperty("addEventListener") && (z(i, "addEventListener", function(s) {
1177
1177
  return function(a, c, l) {
1178
1178
  if (a === "click" || a == "keypress") try {
@@ -1201,7 +1201,7 @@ function ga(t) {
1201
1201
  break;
1202
1202
  case "xhr":
1203
1203
  (function() {
1204
- if (!("XMLHttpRequest" in J)) return;
1204
+ if (!("XMLHttpRequest" in V)) return;
1205
1205
  const e = XMLHttpRequest.prototype;
1206
1206
  z(e, "open", function(n) {
1207
1207
  return function(...r) {
@@ -1238,18 +1238,18 @@ function ga(t) {
1238
1238
  break;
1239
1239
  case "fetch":
1240
1240
  (function() {
1241
- ma() && z(J, "fetch", function(e) {
1241
+ va() && 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: Vn(p, "method") ? String(p.method).toUpperCase() : "GET" };
1247
+ return { url: gi(l), method: Jn(p, "method") ? String(p.method).toUpperCase() : "GET" };
1248
1248
  }
1249
1249
  const c = a[0];
1250
- return { url: gi(c), method: Vn(c, "method") ? String(c.method).toUpperCase() : "GET" };
1250
+ return { url: gi(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
- return ae("fetch", { ...s }), e.apply(J, n).then((a) => (ae("fetch", { ...s, endTimestamp: Date.now(), response: a }), a), (a) => {
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;
1254
1254
  });
1255
1255
  };
@@ -1262,7 +1262,7 @@ function ga(t) {
1262
1262
  const r = Nt.chrome, i = r && r.app && r.app.runtime, s = "history" in Nt && !!Nt.history.pushState && !!Nt.history.replaceState;
1263
1263
  return !i && s;
1264
1264
  }()) return;
1265
- const e = J.onpopstate;
1265
+ const e = V.onpopstate;
1266
1266
  function n(r) {
1267
1267
  return function(...i) {
1268
1268
  const s = i.length > 2 ? i[2] : void 0;
@@ -1273,31 +1273,31 @@ function ga(t) {
1273
1273
  return r.apply(this, i);
1274
1274
  };
1275
1275
  }
1276
- J.onpopstate = function(...r) {
1277
- const i = J.location.href, s = jt;
1276
+ V.onpopstate = function(...r) {
1277
+ const i = V.location.href, s = jt;
1278
1278
  if (jt = i, ae("history", { from: s, to: i }), e) try {
1279
1279
  return e.apply(this, r);
1280
1280
  } catch {
1281
1281
  }
1282
- }, z(J.history, "pushState", n), z(J.history, "replaceState", n);
1282
+ }, z(V.history, "pushState", n), z(V.history, "replaceState", n);
1283
1283
  })();
1284
1284
  break;
1285
1285
  case "error":
1286
- Bt = J.onerror, J.onerror = function(e, n, r, i, s) {
1286
+ Bt = V.onerror, V.onerror = function(e, n, r, i, s) {
1287
1287
  return ae("error", { column: i, error: s, line: r, msg: e, url: n }), !(!Bt || Bt.__SENTRY_LOADER__) && Bt.apply(this, arguments);
1288
- }, J.onerror.__SENTRY_INSTRUMENTED__ = !0;
1288
+ }, V.onerror.__SENTRY_INSTRUMENTED__ = !0;
1289
1289
  break;
1290
1290
  case "unhandledrejection":
1291
- Ft = J.onunhandledrejection, J.onunhandledrejection = function(e) {
1291
+ Ft = V.onunhandledrejection, V.onunhandledrejection = function(e) {
1292
1292
  return ae("unhandledrejection", e), !(Ft && !Ft.__SENTRY_LOADER__) || Ft.apply(this, arguments);
1293
- }, J.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
1293
+ }, V.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
1294
1294
  break;
1295
1295
  default:
1296
1296
  return void ((typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.warn("unknown instrumentation type:", t));
1297
1297
  }
1298
1298
  }
1299
1299
  function Ue(t, e) {
1300
- _t[t] = _t[t] || [], _t[t].push(e), ga(t);
1300
+ _t[t] = _t[t] || [], _t[t].push(e), ya(t);
1301
1301
  }
1302
1302
  function ae(t, e) {
1303
1303
  if (t && _t[t]) for (const n of _t[t] || []) try {
@@ -1309,14 +1309,14 @@ Name: ${Le(n)}
1309
1309
  Error:`, r);
1310
1310
  }
1311
1311
  }
1312
- function Vn(t, e) {
1312
+ function Jn(t, e) {
1313
1313
  return !!t && typeof t == "object" && !!t[e];
1314
1314
  }
1315
1315
  function gi(t) {
1316
- return typeof t == "string" ? t : t ? Vn(t, "url") ? t.url : t.toString ? t.toString() : "" : "";
1316
+ return typeof t == "string" ? t : t ? Jn(t, "url") ? t.url : t.toString ? t.toString() : "" : "";
1317
1317
  }
1318
1318
  let jt;
1319
- const va = 1e3;
1319
+ const _a = 1e3;
1320
1320
  let It, Sn;
1321
1321
  function vi(t, e = !1) {
1322
1322
  return (n) => {
@@ -1338,9 +1338,9 @@ function vi(t, e = !1) {
1338
1338
  } catch {
1339
1339
  }
1340
1340
  return !1;
1341
- }(Sn, n)) && (t({ event: n, name: r, global: e }), Sn = n), clearTimeout(It), It = J.setTimeout(() => {
1341
+ }(Sn, n)) && (t({ event: n, name: r, global: e }), Sn = n), clearTimeout(It), It = V.setTimeout(() => {
1342
1342
  It = void 0;
1343
- }, va);
1343
+ }, _a);
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 Hs(t) {
1353
+ function Ws(t) {
1354
1354
  return t.exception && t.exception.values ? t.exception.values[0] : void 0;
1355
1355
  }
1356
1356
  function Ae(t) {
1357
1357
  const { message: e, event_id: n } = t;
1358
1358
  if (e) return e;
1359
- const r = Hs(t);
1359
+ const r = Ws(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 = Hs(t);
1367
+ const n = Ws(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) {
@@ -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 = Hs(e);
1450
1450
  for (const v in k) {
1451
1451
  if (!Object.prototype.hasOwnProperty.call(k, v)) continue;
1452
1452
  if (_ >= r) {
@@ -1460,19 +1460,19 @@ function Gn(t, e, n = 1 / 0, r = 1 / 0, i = /* @__PURE__ */ function() {
1460
1460
  }
1461
1461
  var ke;
1462
1462
  function He(t) {
1463
- return new K((e) => {
1463
+ return new Q((e) => {
1464
1464
  e(t);
1465
1465
  });
1466
1466
  }
1467
1467
  function nn(t) {
1468
- return new K((e, n) => {
1468
+ return new Q((e, n) => {
1469
1469
  n(t);
1470
1470
  });
1471
1471
  }
1472
1472
  (function(t) {
1473
1473
  t[t.PENDING = 0] = "PENDING", t[t.RESOLVED = 1] = "RESOLVED", t[t.REJECTED = 2] = "REJECTED";
1474
1474
  })(ke || (ke = {}));
1475
- class K {
1475
+ class Q {
1476
1476
  __init() {
1477
1477
  this._state = ke.PENDING;
1478
1478
  }
@@ -1480,7 +1480,7 @@ class K {
1480
1480
  this._handlers = [];
1481
1481
  }
1482
1482
  constructor(e) {
1483
- K.prototype.__init.call(this), K.prototype.__init2.call(this), K.prototype.__init3.call(this), K.prototype.__init4.call(this), K.prototype.__init5.call(this), K.prototype.__init6.call(this);
1483
+ Q.prototype.__init.call(this), Q.prototype.__init2.call(this), Q.prototype.__init3.call(this), Q.prototype.__init4.call(this), Q.prototype.__init5.call(this), Q.prototype.__init6.call(this);
1484
1484
  try {
1485
1485
  e(this._resolve, this._reject);
1486
1486
  } catch (n) {
@@ -1488,7 +1488,7 @@ class K {
1488
1488
  }
1489
1489
  }
1490
1490
  then(e, n) {
1491
- return new K((r, i) => {
1491
+ return new Q((r, i) => {
1492
1492
  this._handlers.push([!1, (s) => {
1493
1493
  if (e) try {
1494
1494
  r(e(s));
@@ -1510,7 +1510,7 @@ class K {
1510
1510
  return this.then((n) => n, e);
1511
1511
  }
1512
1512
  finally(e) {
1513
- return new K((n, r) => {
1513
+ return new Q((n, r) => {
1514
1514
  let i, s;
1515
1515
  return this.then((a) => {
1516
1516
  s = !1, i = a, e && e();
@@ -1546,7 +1546,7 @@ class K {
1546
1546
  };
1547
1547
  }
1548
1548
  }
1549
- function ya(t) {
1549
+ function ba(t) {
1550
1550
  const e = [];
1551
1551
  function n(r) {
1552
1552
  return e.splice(e.indexOf(r), 1)[0];
@@ -1557,7 +1557,7 @@ function ya(t) {
1557
1557
  return e.indexOf(i) === -1 && e.push(i), i.then(() => n(i)).then(null, () => n(i).then(null, () => {
1558
1558
  })), i;
1559
1559
  }, drain: function(r) {
1560
- return new K((i, s) => {
1560
+ return new Q((i, s) => {
1561
1561
  let a = e.length;
1562
1562
  if (!a) return i(!0);
1563
1563
  const c = setTimeout(() => {
@@ -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 _a = ["fatal", "error", "warning", "log", "info", "debug"], Ws = Pt(), zn = { 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 } = Ws;
1581
+ const wa = ["fatal", "error", "warning", "log", "info", "debug"], Ks = Pt(), zn = { 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;
1583
1583
  if (!(!t || !t.now))
1584
1584
  return { now: () => t.now(), timeOrigin: Date.now() - t.now() };
1585
1585
  }() : function() {
@@ -1589,11 +1589,11 @@ const _a = ["fatal", "error", "warning", "log", "info", "debug"], Ws = Pt(), zn
1589
1589
  return;
1590
1590
  }
1591
1591
  var t, e;
1592
- }(), _i = En === void 0 ? zn : { nowSeconds: () => (En.timeOrigin + En.now()) / 1e3 }, pn = zn.nowSeconds.bind(zn), Ks = _i.nowSeconds.bind(_i);
1592
+ }(), _i = En === void 0 ? zn : { nowSeconds: () => (En.timeOrigin + En.now()) / 1e3 }, pn = zn.nowSeconds.bind(zn), Qs = _i.nowSeconds.bind(_i);
1593
1593
  function Et(t, e = []) {
1594
1594
  return [t, e];
1595
1595
  }
1596
- function ba(t, e) {
1596
+ function Sa(t, e) {
1597
1597
  const [n, r] = t;
1598
1598
  return [n, [...r, e]];
1599
1599
  }
@@ -1606,7 +1606,7 @@ function bi(t, e) {
1606
1606
  function Hn(t, e) {
1607
1607
  return (e || new TextEncoder()).encode(t);
1608
1608
  }
1609
- function wa(t, e) {
1609
+ function ka(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 Sa(t, e) {
1637
+ function Ea(t, e) {
1638
1638
  const n = typeof t.data == "string" ? Hn(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 } = Ws;
1642
+ const { performance: t } = Ks;
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 ka = { 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" };
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
1648
  function wi(t) {
1649
- return ka[t];
1649
+ return Ta[t];
1650
1650
  }
1651
- function Qs(t) {
1651
+ function Xs(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 Ea = 6e4;
1657
- function Ta(t, { statusCode: e, headers: n }, r = Date.now()) {
1656
+ const Ca = 6e4;
1657
+ function Ma(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 Ta(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) ? Ea : h - l;
1668
+ return isNaN(h) ? Ca : h - l;
1669
1669
  }(a, r) : e === 429 && (i.all = r + 6e4);
1670
1670
  return i;
1671
1671
  }
1672
1672
  const _r = "production";
1673
- function Ca(t) {
1674
- const e = Ks(), n = { sid: xe(), init: !0, timestamp: e, started: e, duration: 0, status: "ok", errors: 0, ignoreDuration: !1, toJSON: () => function(r) {
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) {
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 || Ks(), 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 || 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;
1681
1681
  else if (typeof e.duration == "number") t.duration = e.duration;
1682
1682
  else {
1683
1683
  const n = t.timestamp - t.started;
@@ -1685,12 +1685,12 @@ function at(t, e = {}) {
1685
1685
  }
1686
1686
  e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
1687
1687
  }
1688
- class Je {
1688
+ class Ve {
1689
1689
  constructor() {
1690
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();
1691
1691
  }
1692
1692
  static clone(e) {
1693
- const n = new Je();
1693
+ const n = new Ve();
1694
1694
  return e && (n._breadcrumbs = [...e._breadcrumbs], n._tags = { ...e._tags }, n._extra = { ...e._extra }, n._contexts = { ...e._contexts }, n._user = e._user, n._level = e._level, n._span = e._span, n._session = e._session, n._transactionName = e._transactionName, n._fingerprint = e._fingerprint, n._eventProcessors = [...e._eventProcessors], n._requestSession = e._requestSession, n._attachments = [...e._attachments], n._sdkProcessingMetadata = { ...e._sdkProcessingMetadata }, n._propagationContext = { ...e._propagationContext }), n;
1695
1695
  }
1696
1696
  addScopeListener(e) {
@@ -1755,9 +1755,9 @@ class Je {
1755
1755
  if (!e) return this;
1756
1756
  if (typeof e == "function") {
1757
1757
  const n = e(this);
1758
- return n instanceof Je ? n : this;
1758
+ return n instanceof Ve ? n : this;
1759
1759
  }
1760
- return e instanceof Je ? (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;
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
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;
@@ -1793,7 +1793,7 @@ class Je {
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([...Xs(), ...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([...Zs(), ...this._eventProcessors], e, n);
1797
1797
  }
1798
1798
  setSDKProcessingMetadata(e) {
1799
1799
  return this._sdkProcessingMetadata = { ...this._sdkProcessingMetadata, ...e }, this;
@@ -1805,7 +1805,7 @@ class Je {
1805
1805
  return this._propagationContext;
1806
1806
  }
1807
1807
  _notifyEventProcessors(e, n, r, i = 0) {
1808
- return new K((s, a) => {
1808
+ return new Q((s, a) => {
1809
1809
  const c = e[i];
1810
1810
  if (n === null || typeof c != "function") s(n);
1811
1811
  else {
@@ -1824,18 +1824,18 @@ class Je {
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 Xs() {
1827
+ function Zs() {
1828
1828
  return gr("globalEventProcessors", () => []);
1829
1829
  }
1830
- function Zs(t) {
1831
- Xs().push(t);
1830
+ function eo(t) {
1831
+ Zs().push(t);
1832
1832
  }
1833
1833
  function Si() {
1834
1834
  return { traceId: xe(), spanId: xe().substring(16), sampled: !1 };
1835
1835
  }
1836
- const eo = 4, Ma = 100;
1836
+ const to = 4, Pa = 100;
1837
1837
  class br {
1838
- constructor(e, n = new Je(), r = eo) {
1838
+ constructor(e, n = new Ve(), r = to) {
1839
1839
  this._version = r, this._stack = [{ scope: n }], e && this.bindClient(e);
1840
1840
  }
1841
1841
  isOlderThan(e) {
@@ -1845,7 +1845,7 @@ class br {
1845
1845
  this.getStackTop().client = e, e && e.setupIntegrations && e.setupIntegrations();
1846
1846
  }
1847
1847
  pushScope() {
1848
- const e = Je.clone(this.getScope());
1848
+ const e = Ve.clone(this.getScope());
1849
1849
  return this.getStack().push({ client: this.getClient(), scope: e }), e;
1850
1850
  }
1851
1851
  popScope() {
@@ -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 = Ma } = 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 ? $s(() => s(c, n)) : c;
1900
+ const c = { timestamp: pn(), ...e }, l = s ? Gs(() => 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) {
@@ -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 = Ca({ 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 = _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();
1965
1965
  return l && l.status === "ok" && at(l, { status: "exited" }), this.endSession(), n.setSession(c), c;
1966
1966
  }
1967
1967
  shouldSendDefaultPii() {
@@ -1986,8 +1986,8 @@ function rn() {
1986
1986
  return ie.__SENTRY__ = ie.__SENTRY__ || { extensions: {}, hub: void 0 }, ie;
1987
1987
  }
1988
1988
  function ki(t) {
1989
- const e = rn(), n = Yn(e);
1990
- return to(e, t), n;
1989
+ const e = rn(), n = Wn(e);
1990
+ return no(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 && !Yn(e).isOlderThan(eo) || to(e, new br());
1999
+ n = e, n && n.__SENTRY__ && n.__SENTRY__.hub && !Wn(e).isOlderThan(to) || no(e, new br());
2000
2000
  var n;
2001
- return Yn(e);
2001
+ return Wn(e);
2002
2002
  }(t);
2003
2003
  }
2004
- function Yn(t) {
2004
+ function Wn(t) {
2005
2005
  return gr("hub", () => new br(), t);
2006
2006
  }
2007
- function to(t, e) {
2007
+ function no(t, e) {
2008
2008
  return t ? ((t.__SENTRY__ = t.__SENTRY__ || {}).hub = e, !0) : !1;
2009
2009
  }
2010
- const Oa = "7";
2011
- function Pa(t, e) {
2012
- return n = { sentry_key: t.publicKey, sentry_version: Oa, ...e && { sentry_client: `${e.name}/${e.version}` } }, Object.keys(n).map((r) => `${encodeURIComponent(r)}=${encodeURIComponent(n[r])}`).join("&");
2010
+ const Aa = "7";
2011
+ function Ra(t, e) {
2012
+ return n = { sentry_key: t.publicKey, sentry_version: Aa, ...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 Aa(t, e, n, r) {
2016
- const i = Qs(n), s = t.type && t.type !== "replay_event" ? t.type : "event";
2015
+ function xa(t, e, n, r) {
2016
+ const i = Xs(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);
@@ -2025,9 +2025,9 @@ function Aa(t, e, n, r) {
2025
2025
  }
2026
2026
  const Ei = [];
2027
2027
  function Ti(t, e) {
2028
- e[t.name] = t, Ei.indexOf(t.name) === -1 && (t.setupOnce(Zs, te), Ei.push(t.name), (typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__) && R.log(`Integration installed: ${t.name}`));
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}`));
2029
2029
  }
2030
- function Ra(t, e, n, r) {
2030
+ function Da(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: v, maxValueLength: b = 250 } = f;
@@ -2067,7 +2067,7 @@ function Ra(t, e, n, r) {
2067
2067
  }
2068
2068
  }(a, t.stackParser);
2069
2069
  let l = r;
2070
- n.captureContext && (l = Je.clone(l).update(n.captureContext));
2070
+ n.captureContext && (l = Ve.clone(l).update(n.captureContext));
2071
2071
  let p = He(a);
2072
2072
  if (l) {
2073
2073
  if (l.getAttachments) {
@@ -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 = fa(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 = ga(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,7 +2124,7 @@ 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)}?${Pa(r, a)}`;
2127
+ }(r)}?${Ra(r, a)}`;
2128
2128
  }(this._dsn, e);
2129
2129
  this._transport = e.transport({ recordDroppedEvent: this.recordDroppedEvent.bind(this), ...e.transportOptions, url: n });
2130
2130
  }
@@ -2138,7 +2138,7 @@ class qe {
2138
2138
  }
2139
2139
  captureMessage(e, n, r, i) {
2140
2140
  let s = r && r.event_id;
2141
- const a = Vs(e) ? this.eventFromMessage(String(e), n, r) : this.eventFromException(e, r);
2141
+ const a = $s(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;
@@ -2195,8 +2195,8 @@ class qe {
2195
2195
  }
2196
2196
  sendEvent(e, n = {}) {
2197
2197
  if (this._dsn) {
2198
- let r = Aa(e, this._dsn, this._options._metadata, this._options.tunnel);
2199
- for (const s of n.attachments || []) r = ba(r, Sa(s, this._options.transportOptions && this._options.transportOptions.textEncoder));
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));
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 = Qs(s);
2207
+ const c = Xs(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);
@@ -2239,7 +2239,7 @@ class qe {
2239
2239
  (a && e.errors === 0 || a && r) && (at(e, { ...r && { status: "crashed" }, errors: e.errors || Number(i || r) }), this.captureSession(e));
2240
2240
  }
2241
2241
  _isClientDoneProcessing(e) {
2242
- return new K((n) => {
2242
+ return new Q((n) => {
2243
2243
  let r = 0;
2244
2244
  const i = setInterval(() => {
2245
2245
  this._numProcessing == 0 ? (clearInterval(i), n(!0)) : (r += 1, e && r >= e && (clearInterval(i), n(!1)));
@@ -2251,7 +2251,7 @@ 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), Ra(i, e, n, r).then((a) => {
2254
+ return !n.integrations && s.length > 0 && (n.integrations = s), Da(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) {
@@ -2336,8 +2336,8 @@ function Oi(t) {
2336
2336
  function Pi(t) {
2337
2337
  return t.type === "transaction";
2338
2338
  }
2339
- const xa = 30;
2340
- function Da(t, e, n = ya(t.bufferSize || xa)) {
2339
+ const La = 30;
2340
+ function Na(t, e, n = ba(t.bufferSize || La)) {
2341
2341
  let r = {};
2342
2342
  function i(s) {
2343
2343
  const a = [];
@@ -2358,7 +2358,7 @@ function Da(t, e, n = ya(t.bufferSize || xa)) {
2358
2358
  t.recordDroppedEvent(p, wi(f), _);
2359
2359
  });
2360
2360
  };
2361
- return n.add(() => e({ body: wa(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 = Ta(r, p), p), (p) => {
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) => {
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"), He();
@@ -2394,7 +2394,7 @@ class Tt {
2394
2394
  }
2395
2395
  }
2396
2396
  Tt.__initStatic();
2397
- const La = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/], Na = [/^.*healthcheck.*$/, /^.*healthy.*$/, /^.*live.*$/, /^.*ready.*$/, /^.*heartbeat.*$/, /^.*\/health$/, /^.*\/healthz$/];
2397
+ const ja = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/], Ia = [/^.*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 ? [] : La], ignoreTransactions: [...h.ignoreTransactions || [], ...f.ignoreTransactions || [], ...h.disableTransactionDefaults ? [] : Na], 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 ? [] : ja], ignoreTransactions: [...h.ignoreTransactions || [], ...f.ignoreTransactions || [], ...h.disableTransactionDefaults ? [] : Ia], 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,11 +2482,11 @@ function Ut(t) {
2482
2482
  }
2483
2483
  }
2484
2484
  tt.__initStatic();
2485
- var ja = Object.freeze({ __proto__: null, FunctionToString: Tt, InboundFilters: tt });
2485
+ var Ba = Object.freeze({ __proto__: null, FunctionToString: Tt, InboundFilters: tt });
2486
2486
  const F = ie;
2487
- let Wn = 0;
2488
- function no() {
2489
- return Wn > 0;
2487
+ let Yn = 0;
2488
+ function ro() {
2489
+ return Yn > 0;
2490
2490
  }
2491
2491
  function ct(t, e = {}, n) {
2492
2492
  if (typeof t != "function") return t;
@@ -2504,8 +2504,8 @@ function ct(t, e = {}, n) {
2504
2504
  const a = i.map((c) => ct(c, e));
2505
2505
  return t.apply(this, a);
2506
2506
  } catch (a) {
2507
- throw Wn++, setTimeout(() => {
2508
- Wn--;
2507
+ throw Yn++, setTimeout(() => {
2508
+ Yn--;
2509
2509
  }), s = (c) => {
2510
2510
  var l, p;
2511
2511
  c.addEventProcessor((h) => (e.mechanism && ($n(h, void 0), kt(h, e.mechanism)), h.extra = { ...h.extra, arguments: i }, h)), l = a, te().captureException(l, { captureContext: p });
@@ -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
- Gs(r, t), vr(t, "__sentry_wrapped__", r);
2520
+ zs(r, t), vr(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 ro(t, e) {
2528
- const n = wr(t, e), r = { type: e && e.name, value: Ba(e) };
2527
+ function io(t, e) {
2528
+ const n = wr(t, e), r = { type: e && e.name, value: Ua(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: [ro(t, e)] } };
2532
+ return { exception: { values: [io(t, e)] } };
2533
2533
  }
2534
2534
  function wr(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 (Ia.test(i.message)) return 1;
2538
+ if (Fa.test(i.message)) return 1;
2539
2539
  }
2540
2540
  return 0;
2541
2541
  }(e);
@@ -2545,8 +2545,8 @@ function wr(t, e) {
2545
2545
  }
2546
2546
  return [];
2547
2547
  }
2548
- const Ia = /Minified React error #\d+;/i;
2549
- function Ba(t) {
2548
+ const Fa = /Minified React error #\d+;/i;
2549
+ function Ua(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
  }
@@ -2564,7 +2564,7 @@ function Sr(t, e, n, r, i) {
2564
2564
  return "code" in a && (s.tags = { ...s.tags, "DOMException.code": `${a.code}` }), s;
2565
2565
  }
2566
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: Fa(c, { isUnhandledRejection: p }) }] }, extra: { __serialized__: Ys(c, f) } };
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) } };
2568
2568
  if (l) {
2569
2569
  const k = wr(a, l);
2570
2570
  k.length && (_.exception.values[0].stacktrace = { frames: k });
@@ -2580,9 +2580,9 @@ function Kn(t, e, n, r) {
2580
2580
  }
2581
2581
  return i;
2582
2582
  }
2583
- function Fa(t, { isUnhandledRejection: e }) {
2583
+ function qa(t, { isUnhandledRejection: e }) {
2584
2584
  const n = function(i, s = 40) {
2585
- const a = Object.keys(zs(i));
2585
+ const a = Object.keys(Hs(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--) {
@@ -2599,10 +2599,10 @@ function Fa(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, io = "Breadcrumbs";
2602
+ const Di = 1024, so = "Breadcrumbs";
2603
2603
  class Ct {
2604
2604
  static __initStatic() {
2605
- this.id = io;
2605
+ this.id = so;
2606
2606
  }
2607
2607
  __init() {
2608
2608
  this.name = Ct.id;
@@ -2611,7 +2611,7 @@ 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", Ua), this.options.dom && Ue("dom", /* @__PURE__ */ function(e) {
2614
+ this.options.console && Ue("console", Va), 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
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]);
@@ -2626,18 +2626,18 @@ 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", qa), this.options.fetch && Ue("fetch", Ja), this.options.history && Ue("history", Va);
2629
+ }(this.options.dom)), this.options.xhr && Ue("xhr", Ja), this.options.fetch && Ue("fetch", $a), this.options.history && Ue("history", Ga);
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: Ae(e) }, { event: e });
2633
2633
  }
2634
2634
  }
2635
- function Ua(t) {
2635
+ function Va(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" : _a.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" : wa.includes(n) ? n : "log"), message: ai(t.args, " ") };
2641
2641
  var n;
2642
2642
  if (t.level === "assert") {
2643
2643
  if (t.args[0] !== !1) return;
@@ -2645,13 +2645,13 @@ function Ua(t) {
2645
2645
  }
2646
2646
  te().addBreadcrumb(e, { input: t.args, level: t.level });
2647
2647
  }
2648
- function qa(t) {
2648
+ function Ja(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 Ja(t) {
2654
+ function $a(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 Ja(t) {
2661
2661
  te().addBreadcrumb({ category: "fetch", data: r, type: "http" }, i);
2662
2662
  }
2663
2663
  }
2664
- function Va(t) {
2664
+ function Ga(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,7 +2669,7 @@ function Va(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 $a extends qe {
2672
+ class za extends qe {
2673
2673
  constructor(e) {
2674
2674
  const n = F.SENTRY_SDK_SOURCE || "npm";
2675
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", () => {
@@ -2689,7 +2689,7 @@ class $a 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(io);
2692
+ const r = this.getIntegrationById(so);
2693
2693
  r && r.addSentryBreadcrumb && r.addSentryBreadcrumb(e), super.sendEvent(e, n);
2694
2694
  }
2695
2695
  captureUserFeedback(e) {
@@ -2716,9 +2716,9 @@ class $a extends qe {
2716
2716
  }
2717
2717
  }
2718
2718
  let ft;
2719
- function Ga(t, e = function() {
2719
+ function Ha(t, e = function() {
2720
2720
  if (ft) return ft;
2721
- if (Jn(F.fetch)) return ft = F.fetch.bind(F);
2721
+ if (Vn(F.fetch)) return ft = F.fetch.bind(F);
2722
2722
  const n = F.document;
2723
2723
  let r = F.fetch;
2724
2724
  if (n && typeof n.createElement == "function") try {
@@ -2732,7 +2732,7 @@ function Ga(t, e = function() {
2732
2732
  return ft = r.bind(F);
2733
2733
  }()) {
2734
2734
  let n = 0, r = 0;
2735
- return Da(t, function(i) {
2735
+ return Na(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: za, onunhandledrejection: Ha };
2754
+ this._installFunc = { onerror: Wa, onunhandledrejection: Ya };
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 za() {
2769
+ function Wa() {
2770
2770
  Ue("error", (t) => {
2771
- const [e, n, r] = oo();
2771
+ const [e, n, r] = ao();
2772
2772
  if (!e.getIntegration(De)) return;
2773
2773
  const { msg: i, url: s, line: a, column: c, error: l } = t;
2774
- if (no() || l && l.__sentry_own_request__) return;
2774
+ if (ro() || l && l.__sentry_own_request__) return;
2775
2775
  const p = l === void 0 && Ge(i) ? function(h, f, _, k) {
2776
2776
  const v = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
2777
2777
  let b = fr(h) ? h.message : h, T = "Error";
2778
2778
  const M = b.match(v);
2779
2779
  return M && (T = M[1], b = M[2]), Li({ exception: { values: [{ type: T, value: b }] } }, f, _, k);
2780
2780
  }(i, s, a, c) : Li(Sr(n, l || i, void 0, r, !1), s, a, c);
2781
- p.level = "error", so(e, l, p, "onerror");
2781
+ p.level = "error", oo(e, l, p, "onerror");
2782
2782
  });
2783
2783
  }
2784
- function Ha() {
2784
+ function Ya() {
2785
2785
  Ue("unhandledrejection", (t) => {
2786
- const [e, n, r] = oo();
2786
+ const [e, n, r] = ao();
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 (no() || i && i.__sentry_own_request__) return !0;
2794
- const s = Vs(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", so(e, i, s, "onunhandledrejection");
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");
2796
2796
  });
2797
2797
  }
2798
2798
  function Li(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 ua.document.location.href;
2801
+ return ha.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 so(t, e, n, r) {
2808
+ function oo(t, e, n, r) {
2809
2809
  kt(n, { handled: !1, type: r }), t.captureEvent(n, { originalException: e });
2810
2810
  }
2811
- function oo() {
2811
+ function ao() {
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 Ya = ["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 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"];
2817
2817
  class Mt {
2818
2818
  static __initStatic() {
2819
2819
  this.id = "TryCatch";
@@ -2825,9 +2825,9 @@ 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", Wa), this._options.XMLHttpRequest && "XMLHttpRequest" in F && z(XMLHttpRequest.prototype, "send", Ka);
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);
2829
2829
  const e = this._options.eventTarget;
2830
- e && (Array.isArray(e) ? e : Ya).forEach(Qa);
2830
+ e && (Array.isArray(e) ? e : Ka).forEach(Za);
2831
2831
  }
2832
2832
  }
2833
2833
  function Ni(t) {
@@ -2836,12 +2836,12 @@ function Ni(t) {
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 Wa(t) {
2839
+ function Qa(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 Ka(t) {
2844
+ function Xa(t) {
2845
2845
  return function(...e) {
2846
2846
  const n = this;
2847
2847
  return ["onload", "onerror", "onprogress", "onreadystatechange"].forEach((r) => {
@@ -2852,7 +2852,7 @@ function Ka(t) {
2852
2852
  }), t.apply(this, e);
2853
2853
  };
2854
2854
  }
2855
- function Qa(t) {
2855
+ function Za(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 la(ro, l.stackParser, l.maxValueLength, c._key, c._limit, r, i), r;
2893
+ return da(io, 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
- Zs((e) => {
2909
+ eo((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 };
@@ -2984,21 +2984,21 @@ function Fi(t) {
2984
2984
  }
2985
2985
  }
2986
2986
  it.__initStatic();
2987
- var Xa = Object.freeze({ __proto__: null, Breadcrumbs: Ct, Dedupe: it, GlobalHandlers: De, HttpContext: rt, LinkedErrors: nt, TryCatch: Mt });
2988
- let ao = {};
2989
- F.Sentry && F.Sentry.Integrations && (ao = F.Sentry.Integrations);
2990
- const Ui = { ...ao, ...ja, ...Xa };
2991
- var qi = "new", Ji = "loading", Vi = "loaded", Qn = "joining-meeting", Qe = "joined-meeting", Ie = "left-meeting", Ce = "error", Cn = "unknown", Za = "full", ec = "base", tc = "*", nc = "iframe-ready-for-launch-config", rc = "iframe-launch-config", ic = "theme-updated", sc = "loading", oc = "load-attempt-failed", $i = "loaded", ac = "started-camera", cc = "camera-error", lc = "joining-meeting", uc = "joined-meeting", dc = "left-meeting", hc = "participant-joined", pc = "participant-updated", fc = "participant-left", mc = "participant-counts-updated", gc = "access-state-updated", vc = "meeting-session-summary-updated", yc = "meeting-session-state-updated", _c = "waiting-participant-added", bc = "waiting-participant-updated", wc = "waiting-participant-removed", Sc = "track-started", kc = "track-stopped", Ec = "transcription-started", Tc = "transcription-stopped", Cc = "transcription-error", Gi = "recording-started", zi = "recording-stopped", Mc = "recording-stats", Oc = "recording-error", Pc = "recording-upload-completed", Ac = "recording-data", Rc = "app-message", xc = "transcription-message", Dc = "remote-media-player-started", Lc = "remote-media-player-updated", Nc = "remote-media-player-stopped", jc = "local-screen-share-started", Ic = "local-screen-share-stopped", Bc = "local-screen-share-canceled", Fc = "active-speaker-change", Uc = "active-speaker-mode-change", qc = "network-quality-change", Jc = "network-connection", Vc = "cpu-load-change", $c = "face-counts-updated", qt = "fullscreen", Jt = "exited-fullscreen", Gc = "live-streaming-started", zc = "live-streaming-updated", Hc = "live-streaming-stopped", Yc = "live-streaming-error", Wc = "lang-updated", Kc = "receive-settings-updated", Qc = "input-settings-updated", Hi = "nonfatal-error", Yi = "error", Wi = 102400, Mn = "iframe-call-message", Ki = "local-screen-start", Qi = "daily-method-update-live-streaming-endpoints", Vt = "transmit-log", yt = "daily-custom-track", Yt = { NONE: "none", BGBLUR: "background-blur", BGIMAGE: "background-image", FACE_DETECTION: "face-detection" }, co = { NONE: "none", NOISE_CANCELLATION: "noise-cancellation" }, Xn = { PLAY: "play", PAUSE: "pause" }, Xi = 10, On = ["jpg", "png", "jpeg"], Xc = "add-endpoints", Zc = "remove-endpoints", Zi = "sip-call-transfer";
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", zi = "recording-stopped", Pc = "recording-stats", Ac = "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", zc = "face-counts-updated", qt = "fullscreen", Vt = "exited-fullscreen", Hc = "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", Hi = "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";
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 lo() {
2998
+ function uo() {
2999
2999
  return navigator && navigator.mediaDevices && navigator.mediaDevices.getUserMedia;
3000
3000
  }
3001
- function el() {
3001
+ function nl() {
3002
3002
  return !!(navigator && navigator.mediaDevices && navigator.mediaDevices.getDisplayMedia) && (function(t, e) {
3003
3003
  if (!t || !e) return !0;
3004
3004
  switch (t) {
@@ -3010,14 +3010,14 @@ function el() {
3010
3010
  return e.major >= 67;
3011
3011
  }
3012
3012
  return !0;
3013
- }(Ye(), er()) || N());
3013
+ }(We(), er()) || N());
3014
3014
  }
3015
3015
  function es() {
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 tl = function() {
3020
+ var rl = function() {
3021
3021
  try {
3022
3022
  var t = document.createElement("canvas"), e = t.getContext("webgl2") != null;
3023
3023
  return t.remove(), e;
@@ -3025,13 +3025,13 @@ var tl = function() {
3025
3025
  return !1;
3026
3026
  }
3027
3027
  }();
3028
- function uo() {
3028
+ function ho() {
3029
3029
  var t = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
3030
- return !N() && !!tl && (t ? function() {
3031
- return Zn() ? !1 : ["Chrome", "Firefox"].includes(Ye());
3030
+ return !N() && !!rl && (t ? function() {
3031
+ return Zn() ? !1 : ["Chrome", "Firefox"].includes(We());
3032
3032
  }() : function() {
3033
3033
  if (Zn()) return !1;
3034
- var e = Ye();
3034
+ var e = We();
3035
3035
  if (e === "Safari") {
3036
3036
  var n = Er();
3037
3037
  if (n.major < 15 || n.major === 15 && n.minor < 4) return !1;
@@ -3039,13 +3039,13 @@ function uo() {
3039
3039
  return e === "Chrome" ? kr().major >= 77 : e === "Firefox" ? Tr().major >= 97 : ["Chrome", "Firefox", "Safari"].includes(e);
3040
3040
  }());
3041
3041
  }
3042
- var nl = ["Chrome", "Firefox"];
3043
- function ho() {
3044
- return !N() && !Zn() && typeof AudioWorkletNode < "u" && nl.includes(Ye());
3042
+ var il = ["Chrome", "Firefox"];
3043
+ function po() {
3044
+ return !N() && !Zn() && typeof AudioWorkletNode < "u" && il.includes(We());
3045
3045
  }
3046
3046
  function ts() {
3047
- return lo() && !function() {
3048
- var t, e = Ye();
3047
+ return uo() && !function() {
3048
+ var t, e = We();
3049
3049
  if (!he()) return !0;
3050
3050
  switch (e) {
3051
3051
  case "Chrome":
@@ -3063,14 +3063,14 @@ function Zn() {
3063
3063
  var t, e, n = he(), r = n.match(/Mac/) && (!N() && typeof window < "u" && (t = window) !== null && t !== void 0 && (e = t.navigator) !== null && e !== void 0 && e.maxTouchPoints ? window.navigator.maxTouchPoints : 0) >= 5;
3064
3064
  return !!(n.match(/Mobi/) || n.match(/Android/) || r) || !!he().match(/DailyAnd\//) || void 0;
3065
3065
  }
3066
- function Ye() {
3066
+ function We() {
3067
3067
  if (typeof window < "u") {
3068
3068
  var t = he();
3069
- return po() ? "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 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";
3070
3070
  }
3071
3071
  }
3072
3072
  function er() {
3073
- switch (Ye()) {
3073
+ switch (We()) {
3074
3074
  case "Chrome":
3075
3075
  return kr();
3076
3076
  case "Safari":
@@ -3102,8 +3102,8 @@ function kr() {
3102
3102
  }
3103
3103
  return { major: t, minor: e, build: n, patch: r, opera: i };
3104
3104
  }
3105
- function po() {
3106
- return !!he().match(/iPad|iPhone|iPod/i) && lo();
3105
+ function fo() {
3106
+ return !!he().match(/iPad|iPhone|iPod/i) && uo();
3107
3107
  }
3108
3108
  function Er() {
3109
3109
  var t = 0, e = 0, n = 0;
@@ -3113,7 +3113,7 @@ function Er() {
3113
3113
  t = parseInt(r[1]), e = parseInt(r[2]), n = parseInt(r[4]);
3114
3114
  } catch {
3115
3115
  }
3116
- else po() && (t = 14, e = 0, n = 3);
3116
+ else fo() && (t = 14, e = 0, n = 3);
3117
3117
  }
3118
3118
  return { major: t, minor: e, point: n };
3119
3119
  }
@@ -3128,7 +3128,7 @@ function Tr() {
3128
3128
  }
3129
3129
  return { major: t, minor: e };
3130
3130
  }
3131
- var fo = function() {
3131
+ var mo = function() {
3132
3132
  function t() {
3133
3133
  pe(this, t);
3134
3134
  }
@@ -3165,7 +3165,7 @@ function Pn(t) {
3165
3165
  }
3166
3166
  return t;
3167
3167
  }
3168
- function rl(t) {
3168
+ function sl(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 rl(t) {
3185
3185
  return un(this, n);
3186
3186
  };
3187
3187
  }
3188
- var il = function(t) {
3189
- ln(n, fo);
3190
- var e = rl(n);
3188
+ var ol = function(t) {
3189
+ ln(n, mo);
3190
+ var e = sl(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 il = function(t) {
3249
3249
  return window.location.protocol === "file:" ? "*" : window.location.origin;
3250
3250
  } }]), n;
3251
3251
  }();
3252
- function sl(t) {
3252
+ function al(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 sl(t) {
3269
3269
  return un(this, n);
3270
3270
  };
3271
3271
  }
3272
- var ol = function(t) {
3273
- ln(n, fo);
3274
- var e = sl(n);
3272
+ var cl = function(t) {
3273
+ ln(n, mo);
3274
+ var e = al(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 ol = function(t) {
3303
3303
  }
3304
3304
  i.emit("message", r);
3305
3305
  } }]), n;
3306
- }(), tr = "replace", nr = "shallow-merge", rs = [tr, nr], al = function() {
3306
+ }(), tr = "replace", nr = "shallow-merge", rs = [tr, nr], ll = 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;
@@ -3324,17 +3324,17 @@ var ol = function(t) {
3324
3324
  try {
3325
3325
  if (r = JSON.stringify(e), n === tr) {
3326
3326
  var i = JSON.parse(r);
3327
- Q(i, e) || console.warn("The meeting session data provided will be modified when serialized.", i, e);
3327
+ X(i, e) || console.warn("The meeting session data provided will be modified when serialized.", i, e);
3328
3328
  } else if (n === nr) {
3329
3329
  for (var s in e) if (Object.hasOwnProperty.call(e, s) && e[s] !== void 0) {
3330
3330
  var a = JSON.parse(JSON.stringify(e[s]));
3331
- Q(e[s], a) || console.warn("At least one key in the meeting session data provided will be modified when serialized.", a, e[s]);
3331
+ X(e[s], a) || console.warn("At least one key in the meeting session data provided will be modified when serialized.", a, e[s]);
3332
3332
  }
3333
3333
  }
3334
3334
  } catch (c) {
3335
3335
  throw Error("Meeting session data must be serializable to JSON: ".concat(c));
3336
3336
  }
3337
- if (r.length > Wi) throw Error("Meeting session data is too large (".concat(r.length, " characters). Maximum size suppported is ").concat(Wi, "."));
3337
+ if (r.length > Yi) throw Error("Meeting session data is too large (".concat(r.length, " characters). Maximum size suppported is ").concat(Yi, "."));
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 cl(t) {
3373
+ function ul(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;
@@ -3397,14 +3397,14 @@ function is(t) {
3397
3397
  r !== -1 && n.splice(r, 1);
3398
3398
  }
3399
3399
  }
3400
- var ll = function() {
3400
+ var dl = 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 ul(r, function() {
3407
+ e = this._callClientId, window._daily.pendings.push(e), this._currentLoad && this._currentLoad.cancel(), this._currentLoad = new hl(r, function() {
3408
3408
  i(!1);
3409
3409
  }, function(a, c) {
3410
3410
  c || is(n._callClientId), s(a, c);
@@ -3414,7 +3414,7 @@ var ll = function() {
3414
3414
  } }, { key: "loaded", get: function() {
3415
3415
  return this._currentLoad && this._currentLoad.succeeded;
3416
3416
  } }]), t;
3417
- }(), ul = function() {
3417
+ }(), hl = 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;
@@ -3435,14 +3435,14 @@ var ll = function() {
3435
3435
  } }]), t;
3436
3436
  }(), An = function(t) {
3437
3437
  ln(n, ir(Error));
3438
- var e = cl(n);
3438
+ var e = ul(n);
3439
3439
  function n() {
3440
3440
  return pe(this, n), e.apply(this, arguments);
3441
3441
  }
3442
3442
  return fe(n);
3443
3443
  }(), sn = 2e4, ss = function() {
3444
3444
  function t(n, r, i) {
3445
- pe(this, t), this._loadAttemptImpl = N() || !n.avoidEval ? new dl(n, r, i) : new hl(n, r, i);
3445
+ pe(this, t), this._loadAttemptImpl = N() || !n.avoidEval ? new pl(n, r, i) : new fl(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 ll = function() {
3456
3456
  } }, { key: "succeeded", get: function() {
3457
3457
  return this._loadAttemptImpl.succeeded;
3458
3458
  } }]), t;
3459
- }(), dl = function() {
3459
+ }(), pl = 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 ll = function() {
3502
3502
  }), function(s, a) {
3503
3503
  return e.apply(this, arguments);
3504
3504
  }) }]), t;
3505
- }(), hl = function() {
3505
+ }(), fl = 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 ll = function() {
3531
3531
  window._dailyCallMachineLoadWaitlist.delete(this._attemptId);
3532
3532
  } }]), t;
3533
3533
  }(), $t = function(t, e, n) {
3534
- return fl(t.local, e, n) === !0;
3535
- }, pl = function(t, e, n) {
3534
+ return gl(t.local, e, n) === !0;
3535
+ }, ml = 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 = ml(t, e, n, r);
3538
+ var i = vl(t, e, n, r);
3539
3539
  return i && i.pendingTrack;
3540
- }, fl = function(t, e, n) {
3540
+ }, gl = function(t, e, n) {
3541
3541
  if (!t) return !1;
3542
3542
  var r = function(s) {
3543
3543
  switch (s) {
@@ -3550,14 +3550,14 @@ var ll = 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
- }, ml = function(t, e, n, r) {
3553
+ }, vl = 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
- }, gl = function(t, e) {
3560
+ }, yl = function(t, e) {
3561
3561
  var n = t.local.public.customTracks;
3562
3562
  if (n && n[e]) return n[e].track;
3563
3563
  };
@@ -3565,7 +3565,7 @@ function os(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 ? pl(n, s, l) : Xe(n, t.session_id, s, l);
3568
+ var f = t.local ? ml(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
  }
@@ -3573,12 +3573,12 @@ function os(t, e) {
3573
3573
  function as(t, e) {
3574
3574
  try {
3575
3575
  var n = e.getState();
3576
- for (var r in t.tracks) if (!vl(r)) {
3576
+ for (var r in t.tracks) if (!_l(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 ? gl(n, r) : Xe(n, t.session_id, r, i);
3581
+ var a = t.local ? yl(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,7 +3587,7 @@ function as(t, e) {
3587
3587
  console.error(c);
3588
3588
  }
3589
3589
  }
3590
- function vl(t) {
3590
+ function _l(t) {
3591
3591
  return ["video", "audio", "screenVideo", "screenAudio"].includes(t);
3592
3592
  }
3593
3593
  function cs(t, e, n) {
@@ -3637,7 +3637,7 @@ function cs(t, e, n) {
3637
3637
  }
3638
3638
  }
3639
3639
  }
3640
- function yl(t, e) {
3640
+ function bl(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) {
@@ -3682,7 +3682,7 @@ function ls(t, e) {
3682
3682
  return r;
3683
3683
  }
3684
3684
  var ve = /* @__PURE__ */ new Map(), st = null;
3685
- function _l(t, e) {
3685
+ function wl(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) {
@@ -3726,13 +3726,13 @@ function us(t, e) {
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, bl = 3e3;
3730
- function wl(t) {
3731
- mo() ? function(e) {
3729
+ var ye = /* @__PURE__ */ new Map(), bt = null, Sl = 3e3;
3730
+ function kl(t) {
3731
+ go() ? 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 = yl(ve.keys());
3735
+ var i, s = yield navigator.mediaDevices.enumerateDevices(), a = bl(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 wl(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 = _l(ye.keys());
3756
+ var r, i = yield navigator.mediaDevices.enumerateDevices(), s = wl(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,27 +3764,27 @@ function wl(t) {
3764
3764
  } finally {
3765
3765
  s.f();
3766
3766
  }
3767
- }), bl)));
3767
+ }), Sl)));
3768
3768
  }));
3769
3769
  }(t);
3770
3770
  }
3771
- function Sl(t) {
3772
- mo() ? function(e) {
3771
+ function El(t) {
3772
+ go() ? 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 mo() {
3778
+ function go() {
3779
3779
  return N() || navigator.mediaDevices.ondevicechange !== void 0;
3780
3780
  }
3781
- var kl = /* @__PURE__ */ new Set();
3782
- function El(t, e) {
3781
+ var Tl = /* @__PURE__ */ new Set();
3782
+ function Cl(t, e) {
3783
3783
  return t && t.readyState === "live" && !function(n, r) {
3784
- return n.muted && !kl.has(n.id);
3784
+ return n.muted && !Tl.has(n.id);
3785
3785
  }(t);
3786
3786
  }
3787
- var Tl = ["result"], Cl = ["preserveIframe"];
3787
+ var Ml = ["result"], Ol = ["preserveIframe"];
3788
3788
  function ds(t, e) {
3789
3789
  var n = Object.keys(t);
3790
3790
  if (Object.getOwnPropertySymbols) {
@@ -3806,7 +3806,7 @@ function P(t) {
3806
3806
  }
3807
3807
  return t;
3808
3808
  }
3809
- function Ml(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;
@@ -3870,7 +3870,7 @@ function ps(t, e) {
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", Ol = "voice", ms = N() ? { data: {} } : { data: {}, topology: "none" }, gs = { present: 0, hidden: 0 }, go = { maxBitrate: { min: 1e5, max: 25e5 }, maxFramerate: { min: 1, max: 30 }, scaleResolutionDownBy: { min: 1, max: 8 } }, Rn = Object.keys(go), 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: Eo, help: So() }, customTrayButtons: { validate: ko, help: "customTrayButtons should be a dictionary of the type ".concat(JSON.stringify(on)) }, url: { validate: function(t) {
3873
+ var Be = {}, fs = "video", Al = "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) {
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", Ol = "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 To(t, ys);
3887
+ return Co(t, ys);
3888
3888
  }, help: "reactNativeConfig should look like ".concat(JSON.stringify(ys), ", 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 vo(t), !0;
3892
+ return yo(t), !0;
3893
3893
  } catch (e) {
3894
3894
  return console.error(e), !1;
3895
3895
  }
@@ -3924,8 +3924,8 @@ var Be = {}, fs = "video", Ol = "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 yo(t, { allowAllParticipantsKey: !1 });
3928
- }, help: wo({ allowAllParticipantsKey: !1 }) }, sendSettings: { validate: function(t, e) {
3927
+ return _o(t, { allowAllParticipantsKey: !1 });
3928
+ }, help: So({ 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", Ol = "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 !!_o(t) && (e._preloadCache.inputSettings || (e._preloadCache.inputSettings = {}), bo(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 !!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);
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) {
@@ -4026,15 +4026,15 @@ Promise.any || (Promise.any = function() {
4026
4026
  return t.apply(this, arguments);
4027
4027
  };
4028
4028
  }());
4029
- var Pl = function(t) {
4029
+ var Rl = function(t) {
4030
4030
  ln(re, Ee);
4031
- var e, n, r, i, s, a, c, l, p, h, f, _, k, v, b, T, M, B, L, ne, Ne, oe, _e, ht, Rr, xr, Dr, Lr, Nr, jr, Ir, Br, Fr, Ur, qr, Jr, Vr, $r, Ko = Ml(re);
4031
+ var e, n, r, i, s, a, c, l, p, h, f, _, k, v, b, T, M, B, L, ne, Ne, oe, _e, ht, Rr, xr, Dr, Lr, Nr, jr, Ir, Br, Fr, Ur, qr, Vr, Jr, $r, Xo = 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), Pe(Se(d = Ko.call(this)), "startListeningForDeviceChanges", function() {
4035
- wl(d.handleDeviceChange);
4034
+ if (pe(this, re), Pe(Se(d = Xo.call(this)), "startListeningForDeviceChanges", function() {
4035
+ kl(d.handleDeviceChange);
4036
4036
  }), Pe(Se(d), "stopListeningForDeviceChanges", function() {
4037
- Sl(d.handleDeviceChange);
4037
+ El(d.handleDeviceChange);
4038
4038
  }), Pe(Se(d), "handleDeviceChange", function(E) {
4039
4039
  E = E.map(function(C) {
4040
4040
  return JSON.parse(JSON.stringify(C));
@@ -4056,10 +4056,10 @@ var Pl = 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 = P({}, 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 ll(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 ol() : new il(), d._iframe && (d._iframe.requestFullscreen ? d._iframe.addEventListener("fullscreenchange", function() {
4060
- document.fullscreenElement === d._iframe ? (d.emitDailyJSEvent({ action: qt }), d.sendMessageToCallMachine({ action: qt })) : (d.emitDailyJSEvent({ action: Jt }), d.sendMessageToCallMachine({ action: Jt }));
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 = P({}, 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() {
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
- document.webkitFullscreenElement === d._iframe ? (d.emitDailyJSEvent({ action: qt }), d.sendMessageToCallMachine({ action: qt })) : (d.emitDailyJSEvent({ action: Jt }), d.sendMessageToCallMachine({ action: Jt }));
4062
+ document.webkitFullscreenElement === d._iframe ? (d.emitDailyJSEvent({ action: qt }), d.sendMessageToCallMachine({ action: qt })) : (d.emitDailyJSEvent({ action: Vt }), d.sendMessageToCallMachine({ action: Vt }));
4063
4063
  })), N()) {
4064
4064
  var w = d.nativeUtils();
4065
4065
  w.addAudioFocusChangeListener && w.removeAudioFocusChangeListener && w.addAppStateChangeListener && w.removeAppStateChangeListener && w.addSystemScreenCaptureStopListener && w.removeSystemScreenCaptureStopListener || console.warn("expected (add|remove)(AudioFocusChange|AppActiveStateChange|SystemScreenCaptureStop)Listener to be available in React Native"), d._hasNativeAudioFocus = !0, w.addAudioFocusChangeListener(d.handleNativeAudioFocusChange), w.addAppStateChangeListener(d.handleNativeAppStateChange), w.addSystemScreenCaptureStopListener(d.handleNativeSystemScreenCaptureStop);
@@ -4112,7 +4112,7 @@ var Pl = 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: (Vr = O(function* () {
4115
+ } }, { key: "updateWaitingParticipant", value: (Jr = 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 Pl = function(t) {
4121
4121
  });
4122
4122
  });
4123
4123
  }), function() {
4124
- return Vr.apply(this, arguments);
4125
- }) }, { key: "updateWaitingParticipants", value: (Jr = O(function* () {
4124
+ return Jr.apply(this, arguments);
4125
+ }) }, { key: "updateWaitingParticipants", value: (Vr = 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,9 +4131,9 @@ var Pl = function(t) {
4131
4131
  });
4132
4132
  });
4133
4133
  }), function() {
4134
- return Jr.apply(this, arguments);
4134
+ return Vr.apply(this, arguments);
4135
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: Za } : d, m = u.name, w = m === void 0 ? "" : m;
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, w = 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: w }, 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 });
@@ -4176,7 +4176,7 @@ var Pl = function(t) {
4176
4176
  return Ur.apply(this, arguments);
4177
4177
  }) }, { key: "updateReceiveSettings", value: (Fr = O(function* (o) {
4178
4178
  var u = this;
4179
- if (ce(this._callObjectMode, "updateReceiveSettings()"), !yo(o, { allowAllParticipantsKey: !0 })) throw new Error(wo({ allowAllParticipantsKey: !0 }));
4179
+ if (ce(this._callObjectMode, "updateReceiveSettings()"), !_o(o, { allowAllParticipantsKey: !0 })) throw new Error(So({ 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 });
@@ -4211,7 +4211,7 @@ var Pl = function(t) {
4211
4211
  return this._prepInputSettingsToPresentToUser(H);
4212
4212
  } }, { key: "updateInputSettings", value: (Br = O(function* (o) {
4213
4213
  var u = this;
4214
- return D(), _o(o) ? (o && (this._preloadCache.inputSettings || (this._preloadCache.inputSettings = {}), bo(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(), 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) {
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
  });
@@ -4252,7 +4252,7 @@ var Pl = function(t) {
4252
4252
  ce(this._callObjectMode, "setMeetingSessionData()"), q(this._callState, "setMeetingSessionData");
4253
4253
  try {
4254
4254
  (function(d, g) {
4255
- new al({ data: d, mergeStrategy: g });
4255
+ new ll({ data: d, mergeStrategy: g });
4256
4256
  })(o, u);
4257
4257
  } catch (d) {
4258
4258
  throw console.error(d), d;
@@ -4272,7 +4272,7 @@ var Pl = function(t) {
4272
4272
  } }, { key: "setUserData", value: (jr = O(function* (o) {
4273
4273
  var u = this;
4274
4274
  try {
4275
- vo(o);
4275
+ yo(o);
4276
4276
  } catch (d) {
4277
4277
  throw console.error(d), d;
4278
4278
  }
@@ -4416,8 +4416,8 @@ var Pl = function(t) {
4416
4416
  }) }, { key: "nativeInCallAudioMode", value: function() {
4417
4417
  return mt(), this._nativeInCallAudioMode;
4418
4418
  } }, { key: "setNativeInCallAudioMode", value: function(o) {
4419
- if (mt(), [fs, Ol].includes(o)) {
4420
- if (o !== this._nativeInCallAudioMode) return this._nativeInCallAudioMode = o, !this.disableReactNativeAutoDeviceManagement("audio") && Wt(this._callState, this._isPreparingToJoin) && this.nativeUtils().setAudioMode(this._nativeInCallAudioMode), this;
4419
+ if (mt(), [fs, Al].includes(o)) {
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* () {
4423
4423
  var o = this, u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -4434,21 +4434,21 @@ var Pl = 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 = P(P({}, 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(Ji), this.emitDailyJSEvent({ action: sc }), this._callObjectMode ? new Promise(function(d, g) {
4437
+ return this._updateCallState(Vi), this.emitDailyJSEvent({ action: ac }), 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(w) {
4441
- u._bundleLoadTime = w ? "no-op" : Date.now() - m, u._updateCallState(Vi), w && u.emitDailyJSEvent({ action: $i }), d();
4441
+ u._bundleLoadTime = w ? "no-op" : Date.now() - m, u._updateCallState(Ji), w && u.emitDailyJSEvent({ action: $i }), d();
4442
4442
  }, function(w, E) {
4443
- if (u.emitDailyJSEvent({ action: oc }), !E) {
4443
+ if (u.emitDailyJSEvent({ action: cc }), !E) {
4444
4444
  u._updateCallState(Ce), u.resetMeetingDependentVars();
4445
- var C = { action: Yi, errorMsg: w.msg, error: { type: "connection-error", msg: "Failed to load call object bundle.", details: { on: "load", sourceError: w, bundleUrl: Xt(u.properties.dailyConfig) } } };
4445
+ var C = { action: Wi, errorMsg: w.msg, error: { type: "connection-error", msg: "Failed to load call object bundle.", details: { on: "load", sourceError: w, bundleUrl: Xt(u.properties.dailyConfig) } } };
4446
4446
  u._maybeSendToSentry(C), u.emitDailyJSEvent(C), g(w.msg);
4447
4447
  }
4448
4448
  });
4449
- }) : (this._iframe.src = Us(this.assembleMeetingUrl(), this.properties.dailyConfig), new Promise(function(d, g) {
4449
+ }) : (this._iframe.src = qs(this.assembleMeetingUrl(), this.properties.dailyConfig), new Promise(function(d, g) {
4450
4450
  u._loadedCallback = function(m) {
4451
- u._callState !== Ce ? (u._updateCallState(Vi), (u.properties.cssFile || u.properties.cssText) && u.loadCss(u.properties), d()) : g(m);
4451
+ u._callState !== Ce ? (u._updateCallState(Ji), (u.properties.cssFile || u.properties.cssText) && u.loadCss(u.properties), d()) : g(m);
4452
4452
  };
4453
4453
  }));
4454
4454
  }
@@ -4473,7 +4473,7 @@ var Pl = 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 = P(P({}, 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: lc }), 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: 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) {
4477
4477
  o._joinedCallback = function(w, E) {
4478
4478
  if (o._callState !== Ce) {
4479
4479
  if (o._updateCallState(Qe), w) for (var C in w) {
@@ -4526,10 +4526,10 @@ var Pl = 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: Xc, endpoints: u, instanceId: d });
4529
+ this.sendMessageToCallMachine({ action: Qi, endpointsOp: el, 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: Zc, endpoints: u, instanceId: d });
4532
+ this.sendMessageToCallMachine({ action: Qi, endpointsOp: tl, 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(P({ action: "daily-method-stop-live-streaming" }, o));
@@ -4559,7 +4559,7 @@ var Pl = function(t) {
4559
4559
  if (typeof w != "string") throw new Error('url parameter must be "string" type');
4560
4560
  })(d), bs(m), function(w) {
4561
4561
  for (var E in w) if (!vs.includes(E)) throw new Error("Invalid key ".concat(E, ", valid keys are: ").concat(vs));
4562
- w.simulcastEncodings && this.validateSimulcastEncodings(w.simulcastEncodings, go, !0);
4562
+ w.simulcastEncodings && this.validateSimulcastEncodings(w.simulcastEncodings, vo, !0);
4563
4563
  }(m);
4564
4564
  } catch (w) {
4565
4565
  throw console.error("invalid argument Error: ".concat(w)), console.error(`startRemoteMediaPlayer arguments must be of the form:
@@ -4721,7 +4721,7 @@ var Pl = 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 ? !!El(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 ? !!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);
4725
4725
  } }, { key: "testCallQuality", value: (f = O(function* () {
4726
4726
  var o = this;
4727
4727
  D(), ce(this._callObjectMode, "testCallQuality()"), zt(this._callMachineInitialized, "testCallQuality()", null, !0), xn(this._callState, this._isPreparingToJoin, "testCallQuality()");
@@ -4736,7 +4736,7 @@ var Pl = function(t) {
4736
4736
  }
4737
4737
  return new Promise(function(m) {
4738
4738
  o.sendMessageToCallMachine({ action: "test-call-quality", dailyJsVersion: o.properties.dailyJsVersion }, function(w) {
4739
- var E = w.results, C = E.result, x = Gr(E, Tl);
4739
+ var E = w.results, C = E.result, x = Gr(E, Ml);
4740
4740
  if (C === "failed") {
4741
4741
  var H, G = P({}, x);
4742
4742
  (H = x.error) !== null && H !== void 0 && H.details ? (x.error.details = JSON.parse(x.error.details), G.error = P(P({}, G.error), {}, { details: P({}, G.error.details) }), G.error.details.duringTest = "testCallQuality") : (G.error = G.error ? P({}, G.error) : {}, G.error.details = { duringTest: "testCallQuality" }), o._maybeSendToSentry(G);
@@ -4863,7 +4863,7 @@ var Pl = function(t) {
4863
4863
  var o = this;
4864
4864
  if (this._callObjectMode) {
4865
4865
  var u = yield navigator.mediaDevices.enumerateDevices();
4866
- return Ye() === "Firefox" && er().major > 115 && er().major < 123 && (u = u.filter(function(d) {
4866
+ return We() === "Firefox" && er().major > 115 && er().major < 123 && (u = u.filter(function(d) {
4867
4867
  return d.kind !== "audiooutput";
4868
4868
  })), { devices: u.map(function(d) {
4869
4869
  var g = JSON.parse(JSON.stringify(d));
@@ -4902,7 +4902,7 @@ var Pl = 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()"), Eo(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()"), To(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 Pl = 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()"), ko(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()"), 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);
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 Pl = function(t) {
4933
4933
  try {
4934
4934
  u.validateProperties({ theme: o }), u.properties.theme = P({}, o), u.sendMessageToCallMachine({ action: "set-theme", theme: u.properties.theme });
4935
4935
  try {
4936
- u.emitDailyJSEvent({ action: ic, theme: u.properties.theme });
4936
+ u.emitDailyJSEvent({ action: oc, theme: u.properties.theme });
4937
4937
  } catch (m) {
4938
4938
  console.log("could not emit 'theme-updated'", m);
4939
4939
  }
@@ -5021,7 +5021,7 @@ var Pl = function(t) {
5021
5021
  return "".concat(Fe[m].queryString, "=").concat(d[m]);
5022
5022
  }).join("&");
5023
5023
  } }, { key: "needsLoad", value: function() {
5024
- return [qi, Ji, Ie, Ce].includes(this._callState);
5024
+ return [qi, Vi, 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,22 +5033,22 @@ var Pl = function(t) {
5033
5033
  this._messageChannel.removeListenerForPackagedMessagesFromCallMachine(o);
5034
5034
  } }, { key: "handleMessageFromCallMachine", value: function(o) {
5035
5035
  switch (o.action) {
5036
- case nc:
5037
- this.sendMessageToCallMachine(P({ action: rc }, this.properties));
5036
+ case ic:
5037
+ this.sendMessageToCallMachine(P({ action: sc }, this.properties));
5038
5038
  break;
5039
5039
  case "call-machine-initialized":
5040
5040
  this._callMachineInitialized = !0;
5041
- var u = { action: Vt, 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) } };
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
5044
  case $i:
5045
5045
  this._loadedCallback && (this._loadedCallback(), this._loadedCallback = null), this.emitDailyJSEvent(o);
5046
5046
  break;
5047
- case uc:
5047
+ case hc:
5048
5048
  this._joinedCallback && (this._joinedCallback(o.participants), this._joinedCallback = null), this.emitDailyJSEvent(o);
5049
5049
  break;
5050
- case hc:
5051
- case pc:
5050
+ case fc:
5051
+ case mc:
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;
@@ -5064,49 +5064,49 @@ var Pl = function(t) {
5064
5064
  this.compareEqualForParticipantUpdateEvent(o.participant, this._participants[d]) || (this._participants[d] = P({}, o.participant), this.toggleParticipantAudioBasedOnNativeAudioFocus(), this.emitDailyJSEvent(o));
5065
5065
  }
5066
5066
  break;
5067
- case fc:
5067
+ case gc:
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 mc:
5074
- Q(this._participantCounts, o.participantCounts) || (this._participantCounts = o.participantCounts, this.emitDailyJSEvent(o));
5073
+ case vc:
5074
+ X(this._participantCounts, o.participantCounts) || (this._participantCounts = o.participantCounts, this.emitDailyJSEvent(o));
5075
5075
  break;
5076
- case gc:
5076
+ case yc:
5077
5077
  var w = { access: o.access };
5078
- o.awaitingAccess && (w.awaitingAccess = o.awaitingAccess), Q(this._accessState, w) || (this._accessState = w, this.emitDailyJSEvent(o));
5078
+ o.awaitingAccess && (w.awaitingAccess = o.awaitingAccess), X(this._accessState, w) || (this._accessState = w, this.emitDailyJSEvent(o));
5079
5079
  break;
5080
- case vc:
5080
+ case _c:
5081
5081
  if (o.meetingSession) {
5082
5082
  this._meetingSessionSummary = o.meetingSession, this.emitDailyJSEvent(o);
5083
5083
  var E = P(P({}, o), {}, { action: "meeting-session-updated" });
5084
5084
  this.emitDailyJSEvent(E);
5085
5085
  }
5086
5086
  break;
5087
- case Yi:
5087
+ case Wi:
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, Cl);
5090
+ var x = Gr(o, Ol);
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 dc:
5093
+ case pc:
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 qc:
5099
+ case Jc:
5100
5100
  var H = o.threshold, G = o.quality;
5101
5101
  H === this._network.threshold && G === this._network.quality || (this._network.quality = G, this._network.threshold = H, this.emitDailyJSEvent(o));
5102
5102
  break;
5103
- case Vc:
5103
+ case Gc:
5104
5104
  o && o.cpuLoadState && this.emitDailyJSEvent(o);
5105
5105
  break;
5106
- case $c:
5106
+ case zc:
5107
5107
  o && o.faceCounts !== void 0 && this.emitDailyJSEvent(o);
5108
5108
  break;
5109
- case Fc:
5109
+ case qc:
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,26 +5115,26 @@ var Pl = 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 Uc:
5118
+ case Vc:
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 _c:
5123
- case bc:
5124
5122
  case wc:
5123
+ case Sc:
5124
+ case kc:
5125
5125
  this._waitingParticipants = o.allWaitingParticipants, this.emitDailyJSEvent({ action: o.action, participant: o.participant });
5126
5126
  break;
5127
- case Kc:
5128
- Q(this._receiveSettings, o.receiveSettings) || (this._receiveSettings = o.receiveSettings, this.emitDailyJSEvent({ action: o.action, receiveSettings: o.receiveSettings }));
5127
+ case Xc:
5128
+ X(this._receiveSettings, o.receiveSettings) || (this._receiveSettings = o.receiveSettings, this.emitDailyJSEvent({ action: o.action, receiveSettings: o.receiveSettings }));
5129
5129
  break;
5130
- case Qc:
5131
- if (!Q(this._inputSettings, o.inputSettings)) {
5130
+ case Zc:
5131
+ if (!X(this._inputSettings, o.inputSettings)) {
5132
5132
  var _n = this._getInputSettings();
5133
- this._inputSettings = o.inputSettings, this._preloadCache.inputSettings = {}, Q(_n, this._getInputSettings()) || this.emitDailyJSEvent({ action: o.action, inputSettings: this._getInputSettings() });
5133
+ this._inputSettings = o.inputSettings, this._preloadCache.inputSettings = {}, X(_n, this._getInputSettings()) || this.emitDailyJSEvent({ action: o.action, inputSettings: this._getInputSettings() });
5134
5134
  }
5135
5135
  break;
5136
5136
  case "send-settings-updated":
5137
- Q(this._sendSettings, o.sendSettings) || (this._sendSettings = o.sendSettings, this._preloadCache.sendSettings = null, this.emitDailyJSEvent({ action: o.action, sendSettings: o.sendSettings }));
5137
+ X(this._sendSettings, o.sendSettings) || (this._sendSettings = o.sendSettings, this._preloadCache.sendSettings = null, this.emitDailyJSEvent({ action: o.action, sendSettings: o.sendSettings }));
5138
5138
  break;
5139
5139
  case "local-audio-level":
5140
5140
  this._localAudioLevel = o.audioLevel, this._preloadCache.localAudioLevelObserver = null, this.emitDailyJSEvent(o);
@@ -5142,14 +5142,14 @@ var Pl = 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 Dc:
5146
- var Y = o.session_id;
5147
- this._rmpPlayerState[Y] = o.playerState, this.emitDailyJSEvent(o);
5148
- break;
5149
5145
  case Nc:
5146
+ var W = o.session_id;
5147
+ this._rmpPlayerState[W] = o.playerState, this.emitDailyJSEvent(o);
5148
+ break;
5149
+ case Ic:
5150
5150
  delete this._rmpPlayerState[o.session_id], this.emitDailyJSEvent(o);
5151
5151
  break;
5152
- case Lc:
5152
+ case jc:
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 Pl = function(t) {
5157
5157
  case "sidebar-view-changed":
5158
5158
  this.emitDailyJSEvent(o);
5159
5159
  break;
5160
- case yc:
5160
+ case bc:
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 jc:
5164
+ case Bc:
5165
5165
  this._isScreenSharing = !0, this.emitDailyJSEvent(o);
5166
5166
  break;
5167
- case Ic:
5168
- case Bc:
5167
+ case Fc:
5168
+ case Uc:
5169
5169
  this._isScreenSharing = !1, this.emitDailyJSEvent(o);
5170
5170
  break;
5171
5171
  case Gi:
5172
5172
  case zi:
5173
- case Mc:
5174
- case Oc:
5175
5173
  case Pc:
5176
- case Ec:
5177
- case Tc:
5178
- case Cc:
5179
- case ac:
5180
- case cc:
5174
+ case Ac:
5181
5175
  case Rc:
5176
+ case Cc:
5177
+ case Mc:
5178
+ case Oc:
5179
+ case lc:
5180
+ case uc:
5181
+ case Dc:
5182
+ case Lc:
5183
+ case $c:
5182
5184
  case xc:
5183
- case Jc:
5184
- case Ac:
5185
- case Gc:
5186
- case zc:
5187
5185
  case Hc:
5186
+ case Wc:
5188
5187
  case Yc:
5188
+ case Kc:
5189
5189
  case Hi:
5190
- case Wc:
5190
+ case Qc:
5191
5191
  case "dialin-ready":
5192
5192
  case "dialin-connected":
5193
5193
  case "dialin-error":
@@ -5213,9 +5213,9 @@ var Pl = function(t) {
5213
5213
  var d = "record";
5214
5214
  o && (u.local || u[d] !== !0 || o[d] === u[d] || this.emitDailyJSEvent({ action: Gi }));
5215
5215
  } }, { key: "maybeEventTrackStopped", value: function(o, u, d, g) {
5216
- o && (o.readyState !== "ended" && u && o.id === u.id || this.emitDailyJSEvent({ action: kc, track: o, participant: d, type: g }));
5216
+ o && (o.readyState !== "ended" && u && o.id === u.id || this.emitDailyJSEvent({ action: Tc, 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: Sc, track: u, participant: d, type: g }));
5218
+ u && (o && o.readyState !== "ended" && u.id === o.id || this.emitDailyJSEvent({ action: Ec, 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) {
@@ -5230,7 +5230,7 @@ var Pl = function(t) {
5230
5230
  console.log("could not emit", o, u);
5231
5231
  }
5232
5232
  } }, { key: "compareEqualForParticipantUpdateEvent", value: function(o, u) {
5233
- return !!Q(o, u) && (!o.videoTrack || !u.videoTrack || o.videoTrack.id === u.videoTrack.id && o.videoTrack.muted === u.videoTrack.muted && o.videoTrack.enabled === u.videoTrack.enabled) && (!o.audioTrack || !u.audioTrack || o.audioTrack.id === u.audioTrack.id && o.audioTrack.muted === u.audioTrack.muted && o.audioTrack.enabled === u.audioTrack.enabled);
5233
+ return !!X(o, u) && (!o.videoTrack || !u.videoTrack || o.videoTrack.id === u.videoTrack.id && o.videoTrack.muted === u.videoTrack.muted && o.videoTrack.enabled === u.videoTrack.enabled) && (!o.audioTrack || !u.audioTrack || o.audioTrack.id === u.audioTrack.id && o.audioTrack.muted === u.audioTrack.muted && o.audioTrack.enabled === u.audioTrack.enabled);
5234
5234
  } }, { key: "nativeUtils", value: function() {
5235
5235
  return N() ? typeof DailyNativeUtils > "u" ? (console.warn("in React Native, DailyNativeUtils is expected to be available"), null) : DailyNativeUtils : null;
5236
5236
  } }, { key: "updateIsPreparingToJoin", value: function(o) {
@@ -5240,7 +5240,7 @@ var Pl = function(t) {
5240
5240
  if (o !== this._callState || u !== this._isPreparingToJoin) {
5241
5241
  var d = this._callState, g = this._isPreparingToJoin;
5242
5242
  this._callState = o, this._isPreparingToJoin = u;
5243
- var m = Wt(d, g), w = Wt(this._callState, this._isPreparingToJoin);
5243
+ var m = Yt(d, g), w = Yt(this._callState, this._isPreparingToJoin);
5244
5244
  m !== w && (this.updateKeepDeviceAwake(w), this.updateDeviceAudioMode(w), this.updateShowAndroidOngoingMeetingNotification(w), this.updateNoOpRecordingEnsuringBackgroundContinuity(w));
5245
5245
  }
5246
5246
  } }, { key: "resetMeetingDependentVars", value: function() {
@@ -5286,25 +5286,25 @@ var Pl = function(t) {
5286
5286
  var o = Object.values(Be)[0];
5287
5287
  if (this.needsLoad())
5288
5288
  if (o && !o.needsLoad()) {
5289
- var u = { action: Vt, level: "error", code: this.strictMode ? 9995 : 9997 };
5289
+ var u = { action: Jt, level: "error", code: this.strictMode ? 9995 : 9997 };
5290
5290
  o.sendMessageToCallMachine(u);
5291
5291
  } else this.strictMode || console.error("You are are attempting to use a call instance that was previously destroyed, which is unsupported. Please remove `strictMode: false` from your constructor properties to enable strict mode to track down and fix this unsupported usage.");
5292
5292
  else {
5293
- var d = { action: Vt, level: "error", code: this.strictMode ? 9995 : 9997 };
5293
+ var d = { action: Jt, level: "error", code: this.strictMode ? 9995 : 9997 };
5294
5294
  this._messageChannel.sendMessageToCallMachine(d, null, this._iframe, this.callClientId);
5295
5295
  }
5296
5296
  } }, { key: "_logDuplicateInstanceAttempt", value: function() {
5297
5297
  var o = Object.values(Be)[0], u = o._callMachineInitialized ? o : this._callMachineInitialized ? this : void 0;
5298
- u ? (u.sendMessageToCallMachine({ action: Vt, level: "warn", code: this.allowMultipleCallInstances ? 9993 : 9992 }), this._delayDuplicateInstanceLog = !1) : (this._delayDuplicateInstanceLog = !0, o._delayDuplicateInstanceLog = !0);
5298
+ u ? (u.sendMessageToCallMachine({ action: Jt, level: "warn", code: this.allowMultipleCallInstances ? 9993 : 9992 }), this._delayDuplicateInstanceLog = !1) : (this._delayDuplicateInstanceLog = !0, o._delayDuplicateInstanceLog = !0);
5299
5299
  } }, { key: "_maybeSendToSentry", value: function(o) {
5300
5300
  var u, d, g, m, w, E;
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 H, G, be, Te, we, _n = new $a({ dsn: "https://f10f1c81e5d44a4098416c0867a8b740@o77906.ingest.sentry.io/168844", transport: Ga, integrations: [new Ui.GlobalHandlers({ onunhandledrejection: !1 }), new Ui.HttpContext()], environment: x }), Y = new br(_n, void 0, re.version());
5305
- if (this.session_id && Y.setExtra("sessionId", this.session_id), this.properties) {
5304
+ var H, G, be, Te, we, _n = new za({ dsn: "https://f10f1c81e5d44a4098416c0867a8b740@o77906.ingest.sentry.io/168844", transport: Ha, integrations: [new Ui.GlobalHandlers({ onunhandledrejection: !1 }), new Ui.HttpContext()], environment: x }), W = new br(_n, void 0, re.version());
5305
+ if (this.session_id && W.setExtra("sessionId", this.session_id), this.properties) {
5306
5306
  var ge = P({}, this.properties);
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);
5307
+ ge.userName = ge.userName ? "[Filtered]" : void 0, ge.userData = ge.userData ? "[Filtered]" : void 0, ge.token = ge.token ? "[Filtered]" : void 0, W.setExtra("properties", ge);
5308
5308
  }
5309
5309
  if (C) {
5310
5310
  var je = C.searchParams.get("domain");
@@ -5312,12 +5312,12 @@ var Pl = function(t) {
5312
5312
  var xt = C.host.match(/(.*?)\./);
5313
5313
  je = xt && xt[1] || "";
5314
5314
  }
5315
- je && Y.setTag("domain", je);
5315
+ je && W.setTag("domain", je);
5316
5316
  }
5317
- o.error && (Y.setTag("fatalErrorType", o.error.type), Y.setExtra("errorDetails", o.error.details), !((H = o.error.details) === null || H === void 0) && H.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 && (w = m.callMode) !== null && w !== void 0 && w.includes("prebuilt") ? this.properties.dailyConfig.callMode : "custom" : "prebuilt-frame", version: re.version() });
5317
+ o.error && (W.setTag("fatalErrorType", o.error.type), W.setExtra("errorDetails", o.error.details), !((H = o.error.details) === null || H === void 0) && H.uri && W.setTag("serverAddress", o.error.details.uri), !((G = o.error.details) === null || G === void 0) && G.workerGroup && W.setTag("workerGroup", o.error.details.workerGroup), !((be = o.error.details) === null || be === void 0) && be.geoGroup && W.setTag("geoGroup", o.error.details.geoGroup), !((Te = o.error.details) === null || Te === void 0) && Te.on && W.setTag("connectionAttempt", o.error.details.on), (we = o.error.details) !== null && we !== void 0 && we.bundleUrl && (W.setTag("bundleUrl", o.error.details.bundleUrl), W.setTag("bundleError", o.error.details.sourceError.type))), W.setTags({ callMode: this._callObjectMode ? N() ? "reactNative" : (g = this.properties) !== null && g !== void 0 && (m = g.dailyConfig) !== null && m !== void 0 && (w = m.callMode) !== null && w !== void 0 && w.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(Qo) {
5320
- Qo.captureException(new Error(bn));
5319
+ W.run(function(Zo) {
5320
+ Zo.captureException(new Error(bn));
5321
5321
  });
5322
5322
  }
5323
5323
  } }, { key: "_callMachine", value: function() {
@@ -5325,8 +5325,8 @@ var Pl = 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 = aa.getParser(he());
5329
- return { supported: !!ts(), mobile: o.getPlatformType() === "mobile", name: o.getBrowserName(), version: o.getBrowserVersion(), supportsFullscreen: !!es(), supportsScreenShare: !!el(), supportsSfu: !!ts(), supportsVideoProcessing: uo(), supportsAudioProcessing: ho() };
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() };
5330
5330
  } }, { key: "version", value: function() {
5331
5331
  return "0.68.0";
5332
5332
  } }, { key: "createCallObject", value: function() {
@@ -5391,12 +5391,12 @@ function q(t) {
5391
5391
  throw e && (n += " ".concat(e)), console.error(n), new Error(n);
5392
5392
  }
5393
5393
  }
5394
- function Wt(t, e) {
5394
+ function Yt(t, e) {
5395
5395
  return [Qn, Qe].includes(t) || e;
5396
5396
  }
5397
5397
  function xn(t, e) {
5398
5398
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "This daily-js method", r = arguments.length > 3 ? arguments[3] : void 0;
5399
- if (Wt(t, e)) {
5399
+ if (Yt(t, e)) {
5400
5400
  var i = "".concat(n, " not supported after joining a meeting.");
5401
5401
  throw r && (i += " ".concat(r)), console.error(i), new Error(i);
5402
5402
  }
@@ -5432,19 +5432,19 @@ 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 vo(t) {
5435
+ function yo(t) {
5436
5436
  if (t === void 0) return !0;
5437
5437
  var e;
5438
5438
  if (typeof t == "string") e = t;
5439
5439
  else try {
5440
- e = JSON.stringify(t), Q(JSON.parse(e), t) || console.warn("The userData provided will be modified when serialized.");
5440
+ e = JSON.stringify(t), X(JSON.parse(e), t) || console.warn("The userData provided will be modified when serialized.");
5441
5441
  } catch (n) {
5442
5442
  throw Error("userData must be serializable to JSON: ".concat(n));
5443
5443
  }
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 yo(t, e) {
5447
+ function _o(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,19 +5458,19 @@ function yo(t, e) {
5458
5458
  }
5459
5459
  return !0;
5460
5460
  }
5461
- function _o(t) {
5461
+ function bo(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) {
5465
- return typeof a != "string" ? !1 : Object.values(Yt).includes(a) ? !0 : (console.error("inputSettings video processor type invalid"), !1);
5465
+ return typeof a != "string" ? !1 : Object.values(Wt).includes(a) ? !0 : (console.error("inputSettings video processor type invalid"), !1);
5466
5466
  }(i.type) || i.config && (U(i.config) !== "object" || !function(a, c) {
5467
5467
  var l = Object.keys(c);
5468
5468
  if (l.length === 0) return !0;
5469
5469
  var p = "invalid object in inputSettings -> video -> processor -> config";
5470
5470
  switch (a) {
5471
- case Yt.BGBLUR:
5471
+ case Wt.BGBLUR:
5472
5472
  return l.length > 1 || l[0] !== "strength" ? (console.error(p), !1) : !(typeof c.strength != "number" || c.strength <= 0 || c.strength > 1 || isNaN(c.strength)) || (console.error("".concat(p, "; expected: {0 < strength <= 1}, got: ").concat(c.strength)), !1);
5473
- case Yt.BGIMAGE:
5473
+ case Wt.BGIMAGE:
5474
5474
  return !(c.source !== void 0 && !function(h) {
5475
5475
  if (h.source === "default") return h.type = "default", !0;
5476
5476
  if (h.source instanceof ArrayBuffer) return !0;
@@ -5500,25 +5500,25 @@ function _o(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(co).includes(e) && (console.error("inputSettings audio processor type invalid"), 1)))));
5503
+ }), e = n.type, typeof e != "string" || !Object.values(lo).includes(e) && (console.error("inputSettings audio processor type invalid"), 1)))));
5504
5504
  var e, n, r;
5505
5505
  }
5506
- function bo(t, e) {
5506
+ function wo(t, e) {
5507
5507
  var n, r = [];
5508
- t.video && !uo((n = e == null ? void 0 : e.useLegacyVideoProcessor) !== null && n !== void 0 && n) && (delete t.video, r.push("video")), t.audio && !ho() && (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 && !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(", ")));
5509
5509
  }
5510
5510
  function or() {
5511
- var t = Object.values(Yt).join(" | "), e = Object.values(co).join(" | ");
5511
+ var t = Object.values(Wt).join(" | "), e = Object.values(lo).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 wo(t) {
5514
+ function So(t) {
5515
5515
  var e = t.allowAllParticipantsKey;
5516
- return "receiveSettings must be of the form { [<remote participant id> | ".concat(ec).concat(e ? ' | "'.concat(tc, '"') : "", "]: ") + '{ [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(nc).concat(e ? ' | "'.concat(rc, '"') : "", "]: ") + '{ [video: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]], [screenVideo: [{ layer: [<non-negative integer> | "inherit"] } | "inherit"]] }}}';
5517
5517
  }
5518
- function So() {
5518
+ function ko() {
5519
5519
  return "customIntegrations should be an object of type ".concat(JSON.stringify(sr), ".");
5520
5520
  }
5521
- function ko(t) {
5521
+ function Eo(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 ko(t) {
5529
5529
  }
5530
5530
  return !0;
5531
5531
  }
5532
- function Eo(t) {
5533
- if (!t || t && U(t) !== "object" || Array.isArray(t)) return console.error(So()), !1;
5532
+ function To(t) {
5533
+ if (!t || t && U(t) !== "object" || Array.isArray(t)) return console.error(ko()), !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,14 +5581,14 @@ function Eo(t) {
5581
5581
  }
5582
5582
  return !0;
5583
5583
  }
5584
- function To(t, e) {
5584
+ function Co(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 (!To(t[n], e[n])) return !1;
5591
+ for (var n in t) if (!Co(t[n], e[n])) return !1;
5592
5592
  return !0;
5593
5593
  default:
5594
5594
  return !1;
@@ -5615,33 +5615,33 @@ function ws(t, e, n) {
5615
5615
  function Ln(t, e) {
5616
5616
  return t && !e && delete t.data, t;
5617
5617
  }
5618
- function Co(t, e) {
5618
+ function Mo(t, e) {
5619
5619
  return function() {
5620
5620
  return t.apply(e, arguments);
5621
5621
  };
5622
5622
  }
5623
- const { toString: Al } = Object.prototype, { getPrototypeOf: Cr } = Object, fn = /* @__PURE__ */ ((t) => (e) => {
5624
- const n = Al.call(e);
5623
+ const { toString: xl } = Object.prototype, { getPrototypeOf: Cr } = Object, fn = /* @__PURE__ */ ((t) => (e) => {
5624
+ const n = xl.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 Rl(t) {
5627
+ function Dl(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 Mo = me("ArrayBuffer");
5631
- function xl(t) {
5630
+ const Oo = me("ArrayBuffer");
5631
+ function Ll(t) {
5632
5632
  let e;
5633
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Mo(t.buffer), e;
5633
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Oo(t.buffer), e;
5634
5634
  }
5635
- const Dl = mn("string"), se = mn("function"), Oo = mn("number"), gn = (t) => t !== null && typeof t == "object", Ll = (t) => t === !0 || t === !1, Kt = (t) => {
5635
+ const Nl = mn("string"), se = mn("function"), Po = mn("number"), gn = (t) => t !== null && typeof t == "object", jl = (t) => t === !0 || t === !1, Kt = (t) => {
5636
5636
  if (fn(t) !== "object")
5637
5637
  return !1;
5638
5638
  const e = Cr(t);
5639
5639
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
5640
- }, Nl = me("Date"), jl = me("File"), Il = me("Blob"), Bl = me("FileList"), Fl = (t) => gn(t) && se(t.pipe), Ul = (t) => {
5640
+ }, Il = me("Date"), Bl = me("File"), Fl = me("Blob"), Ul = me("FileList"), ql = (t) => gn(t) && se(t.pipe), Vl = (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
- }, ql = me("URLSearchParams"), [Jl, Vl, $l, Gl] = ["ReadableStream", "Request", "Response", "Headers"].map(me), zl = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
5644
+ }, Jl = me("URLSearchParams"), [$l, Gl, zl, Hl] = ["ReadableStream", "Request", "Response", "Headers"].map(me), Wl = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
5645
5645
  function At(t, e, { allOwnKeys: n = !1 } = {}) {
5646
5646
  if (t === null || typeof t > "u")
5647
5647
  return;
@@ -5656,7 +5656,7 @@ function At(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 Ao(t, e) {
5660
5660
  e = e.toLowerCase();
5661
5661
  const n = Object.keys(t);
5662
5662
  let r = n.length, i;
@@ -5665,23 +5665,23 @@ function Po(t, e) {
5665
5665
  return i;
5666
5666
  return null;
5667
5667
  }
5668
- const Ao = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ro = (t) => !Ot(t) && t !== Ao;
5668
+ const Ro = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, xo = (t) => !Ot(t) && t !== Ro;
5669
5669
  function ar() {
5670
- const { caseless: t } = Ro(this) && this || {}, e = {}, n = (r, i) => {
5671
- const s = t && Po(e, i) || i;
5670
+ const { caseless: t } = xo(this) && this || {}, e = {}, n = (r, i) => {
5671
+ const s = t && Ao(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] && At(arguments[r], n);
5676
5676
  return e;
5677
5677
  }
5678
- const Hl = (t, e, n, { allOwnKeys: r } = {}) => (At(e, (i, s) => {
5679
- n && se(i) ? t[s] = Co(i, n) : t[s] = i;
5680
- }, { allOwnKeys: r }), t), Yl = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Wl = (t, e, n, r) => {
5678
+ const Yl = (t, e, n, { allOwnKeys: r } = {}) => (At(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) => {
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
- }, Kl = (t, e, n, r) => {
5684
+ }, Xl = (t, e, n, r) => {
5685
5685
  let i, s, a;
5686
5686
  const c = {};
5687
5687
  if (e = e || {}, t == null) return e;
@@ -5691,45 +5691,45 @@ const Hl = (t, e, n, { allOwnKeys: r } = {}) => (At(e, (i, s) => {
5691
5691
  t = n !== !1 && Cr(t);
5692
5692
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
5693
5693
  return e;
5694
- }, Ql = (t, e, n) => {
5694
+ }, Zl = (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
- }, Xl = (t) => {
5698
+ }, eu = (t) => {
5699
5699
  if (!t) return null;
5700
5700
  if (ut(t)) return t;
5701
5701
  let e = t.length;
5702
- if (!Oo(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
- }, Zl = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Cr(Uint8Array)), eu = (t, e) => {
5707
+ }, tu = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Cr(Uint8Array)), nu = (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
- }, tu = (t, e) => {
5714
+ }, ru = (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
- }, nu = me("HTMLFormElement"), ru = (t) => t.toLowerCase().replace(
5720
+ }, iu = me("HTMLFormElement"), su = (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), iu = me("RegExp"), xo = (t, e) => {
5725
+ ), Ss = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), ou = me("RegExp"), Do = (t, e) => {
5726
5726
  const n = Object.getOwnPropertyDescriptors(t), r = {};
5727
5727
  At(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
- }, su = (t) => {
5732
- xo(t, (e, n) => {
5731
+ }, au = (t) => {
5732
+ Do(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 Hl = (t, e, n, { allOwnKeys: r } = {}) => (At(e, (i, s) => {
5743
5743
  });
5744
5744
  }
5745
5745
  });
5746
- }, ou = (t, e) => {
5746
+ }, cu = (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
- }, au = () => {
5754
- }, cu = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Nn = "abcdefghijklmnopqrstuvwxyz", ks = "0123456789", Do = {
5753
+ }, lu = () => {
5754
+ }, uu = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Nn = "abcdefghijklmnopqrstuvwxyz", ks = "0123456789", Lo = {
5755
5755
  DIGIT: ks,
5756
5756
  ALPHA: Nn,
5757
5757
  ALPHA_DIGIT: Nn + Nn.toUpperCase() + ks
5758
- }, lu = (t = 16, e = Do.ALPHA_DIGIT) => {
5758
+ }, du = (t = 16, e = Lo.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 uu(t) {
5765
+ function hu(t) {
5766
5766
  return !!(t && se(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
5767
5767
  }
5768
- const du = (t) => {
5768
+ const pu = (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 du = (t) => {
5782
5782
  return r;
5783
5783
  };
5784
5784
  return n(t, 0);
5785
- }, hu = me("AsyncFunction"), pu = (t) => t && (gn(t) || se(t)) && se(t.then) && se(t.catch), y = {
5785
+ }, fu = me("AsyncFunction"), mu = (t) => t && (gn(t) || se(t)) && se(t.then) && se(t.catch), y = {
5786
5786
  isArray: ut,
5787
- isArrayBuffer: Mo,
5788
- isBuffer: Rl,
5789
- isFormData: Ul,
5790
- isArrayBufferView: xl,
5791
- isString: Dl,
5792
- isNumber: Oo,
5793
- isBoolean: Ll,
5787
+ isArrayBuffer: Oo,
5788
+ isBuffer: Dl,
5789
+ isFormData: Vl,
5790
+ isArrayBufferView: Ll,
5791
+ isString: Nl,
5792
+ isNumber: Po,
5793
+ isBoolean: jl,
5794
5794
  isObject: gn,
5795
5795
  isPlainObject: Kt,
5796
- isReadableStream: Jl,
5797
- isRequest: Vl,
5798
- isResponse: $l,
5799
- isHeaders: Gl,
5796
+ isReadableStream: $l,
5797
+ isRequest: Gl,
5798
+ isResponse: zl,
5799
+ isHeaders: Hl,
5800
5800
  isUndefined: Ot,
5801
- isDate: Nl,
5802
- isFile: jl,
5803
- isBlob: Il,
5804
- isRegExp: iu,
5801
+ isDate: Il,
5802
+ isFile: Bl,
5803
+ isBlob: Fl,
5804
+ isRegExp: ou,
5805
5805
  isFunction: se,
5806
- isStream: Fl,
5807
- isURLSearchParams: ql,
5808
- isTypedArray: Zl,
5809
- isFileList: Bl,
5806
+ isStream: ql,
5807
+ isURLSearchParams: Jl,
5808
+ isTypedArray: tu,
5809
+ isFileList: Ul,
5810
5810
  forEach: At,
5811
5811
  merge: ar,
5812
- extend: Hl,
5813
- trim: zl,
5814
- stripBOM: Yl,
5815
- inherits: Wl,
5816
- toFlatObject: Kl,
5812
+ extend: Yl,
5813
+ trim: Wl,
5814
+ stripBOM: Kl,
5815
+ inherits: Ql,
5816
+ toFlatObject: Xl,
5817
5817
  kindOf: fn,
5818
5818
  kindOfTest: me,
5819
- endsWith: Ql,
5820
- toArray: Xl,
5821
- forEachEntry: eu,
5822
- matchAll: tu,
5823
- isHTMLForm: nu,
5819
+ endsWith: Zl,
5820
+ toArray: eu,
5821
+ forEachEntry: nu,
5822
+ matchAll: ru,
5823
+ isHTMLForm: iu,
5824
5824
  hasOwnProperty: Ss,
5825
5825
  hasOwnProp: Ss,
5826
5826
  // an alias to avoid ESLint no-prototype-builtins detection
5827
- reduceDescriptors: xo,
5828
- freezeMethods: su,
5829
- toObjectSet: ou,
5830
- toCamelCase: ru,
5831
- noop: au,
5832
- toFiniteNumber: cu,
5833
- findKey: Po,
5834
- global: Ao,
5835
- isContextDefined: Ro,
5836
- ALPHABET: Do,
5837
- generateString: lu,
5838
- isSpecCompliantForm: uu,
5839
- toJSONObject: du,
5840
- isAsyncFn: hu,
5841
- isThenable: pu
5827
+ reduceDescriptors: Do,
5828
+ freezeMethods: au,
5829
+ toObjectSet: cu,
5830
+ toCamelCase: su,
5831
+ noop: lu,
5832
+ toFiniteNumber: uu,
5833
+ findKey: Ao,
5834
+ global: Ro,
5835
+ isContextDefined: xo,
5836
+ ALPHABET: Lo,
5837
+ generateString: du,
5838
+ isSpecCompliantForm: hu,
5839
+ toJSONObject: pu,
5840
+ isAsyncFn: fu,
5841
+ isThenable: mu
5842
5842
  };
5843
5843
  function A(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 @@ y.inherits(A, Error, {
5864
5864
  };
5865
5865
  }
5866
5866
  });
5867
- const Lo = A.prototype, No = {};
5867
+ const No = A.prototype, jo = {};
5868
5868
  [
5869
5869
  "ERR_BAD_OPTION_VALUE",
5870
5870
  "ERR_BAD_OPTION",
@@ -5880,32 +5880,32 @@ const Lo = A.prototype, No = {};
5880
5880
  "ERR_INVALID_URL"
5881
5881
  // eslint-disable-next-line func-names
5882
5882
  ].forEach((t) => {
5883
- No[t] = { value: t };
5883
+ jo[t] = { value: t };
5884
5884
  });
5885
- Object.defineProperties(A, No);
5886
- Object.defineProperty(Lo, "isAxiosError", { value: !0 });
5885
+ Object.defineProperties(A, jo);
5886
+ Object.defineProperty(No, "isAxiosError", { value: !0 });
5887
5887
  A.from = (t, e, n, r, i, s) => {
5888
- const a = Object.create(Lo);
5888
+ const a = Object.create(No);
5889
5889
  return y.toFlatObject(t, a, function(l) {
5890
5890
  return l !== Error.prototype;
5891
5891
  }, (c) => c !== "isAxiosError"), A.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 fu = null;
5893
+ const gu = null;
5894
5894
  function cr(t) {
5895
5895
  return y.isPlainObject(t) || y.isArray(t);
5896
5896
  }
5897
- function jo(t) {
5897
+ function Io(t) {
5898
5898
  return y.endsWith(t, "[]") ? t.slice(0, -2) : t;
5899
5899
  }
5900
5900
  function Es(t, e, n) {
5901
5901
  return t ? t.concat(e).map(function(i, s) {
5902
- return i = jo(i), !n && s ? "[" + i + "]" : i;
5902
+ return i = Io(i), !n && s ? "[" + i + "]" : i;
5903
5903
  }).join(n ? "." : "") : e;
5904
5904
  }
5905
- function mu(t) {
5905
+ function vu(t) {
5906
5906
  return y.isArray(t) && !t.some(cr);
5907
5907
  }
5908
- const gu = y.toFlatObject(y, {}, null, function(e) {
5908
+ const yu = y.toFlatObject(y, {}, null, function(e) {
5909
5909
  return /^is[A-Z]/.test(e);
5910
5910
  });
5911
5911
  function vn(t, e, n) {
@@ -5934,8 +5934,8 @@ function vn(t, e, n) {
5934
5934
  if (v && !T && typeof v == "object") {
5935
5935
  if (y.endsWith(b, "{}"))
5936
5936
  b = r ? b : b.slice(0, -2), v = JSON.stringify(v);
5937
- else if (y.isArray(v) && mu(v) || (y.isFileList(v) || y.endsWith(b, "[]")) && (M = y.toArray(v)))
5938
- return b = jo(b), M.forEach(function(L, ne) {
5937
+ else if (y.isArray(v) && vu(v) || (y.isFileList(v) || y.endsWith(b, "[]")) && (M = y.toArray(v)))
5938
+ return b = Io(b), M.forEach(function(L, ne) {
5939
5939
  !(y.isUndefined(L) || L === null) && e.append(
5940
5940
  // eslint-disable-next-line no-nested-ternary
5941
5941
  a === !0 ? Es([b], ne, s) : a === null ? b : b + "[]",
@@ -5945,7 +5945,7 @@ function vn(t, e, n) {
5945
5945
  }
5946
5946
  return cr(v) ? !0 : (e.append(Es(T, b, s), p(v)), !1);
5947
5947
  }
5948
- const f = [], _ = Object.assign(gu, {
5948
+ const f = [], _ = Object.assign(yu, {
5949
5949
  defaultVisitor: h,
5950
5950
  convertValue: p,
5951
5951
  isVisitable: cr
@@ -5986,11 +5986,11 @@ function Ts(t) {
5986
5986
  function Mr(t, e) {
5987
5987
  this._pairs = [], t && vn(t, this, e);
5988
5988
  }
5989
- const Io = Mr.prototype;
5990
- Io.append = function(e, n) {
5989
+ const Bo = Mr.prototype;
5990
+ Bo.append = function(e, n) {
5991
5991
  this._pairs.push([e, n]);
5992
5992
  };
5993
- Io.toString = function(e) {
5993
+ Bo.toString = function(e) {
5994
5994
  const n = e ? function(r) {
5995
5995
  return e.call(this, r, Ts);
5996
5996
  } : Ts;
@@ -5998,13 +5998,13 @@ Io.toString = function(e) {
5998
5998
  return n(i[0]) + "=" + n(i[1]);
5999
5999
  }, "").join("&");
6000
6000
  };
6001
- function vu(t) {
6001
+ function _u(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 Bo(t, e, n) {
6004
+ function Fo(t, e, n) {
6005
6005
  if (!e)
6006
6006
  return t;
6007
- const r = n && n.encode || vu, i = n && n.serialize;
6007
+ const r = n && n.encode || _u, i = n && n.serialize;
6008
6008
  let s;
6009
6009
  if (i ? s = i(e, n) : s = y.isURLSearchParams(e) ? e.toString() : new Mr(e, n).toString(r), s) {
6010
6010
  const a = t.indexOf("#");
@@ -6066,40 +6066,40 @@ class Cs {
6066
6066
  });
6067
6067
  }
6068
6068
  }
6069
- const Fo = {
6069
+ const Uo = {
6070
6070
  silentJSONParsing: !0,
6071
6071
  forcedJSONParsing: !0,
6072
6072
  clarifyTimeoutError: !1
6073
- }, yu = typeof URLSearchParams < "u" ? URLSearchParams : Mr, _u = typeof FormData < "u" ? FormData : null, bu = typeof Blob < "u" ? Blob : null, wu = {
6073
+ }, bu = typeof URLSearchParams < "u" ? URLSearchParams : Mr, wu = typeof FormData < "u" ? FormData : null, Su = typeof Blob < "u" ? Blob : null, ku = {
6074
6074
  isBrowser: !0,
6075
6075
  classes: {
6076
- URLSearchParams: yu,
6077
- FormData: _u,
6078
- Blob: bu
6076
+ URLSearchParams: bu,
6077
+ FormData: wu,
6078
+ Blob: Su
6079
6079
  },
6080
6080
  protocols: ["http", "https", "file", "blob", "url", "data"]
6081
- }, Or = typeof window < "u" && typeof document < "u", Su = ((t) => Or && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), ku = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
6082
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Eu = Or && window.location.href || "http://localhost", Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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({
6083
6083
  __proto__: null,
6084
6084
  hasBrowserEnv: Or,
6085
- hasStandardBrowserEnv: Su,
6086
- hasStandardBrowserWebWorkerEnv: ku,
6087
- origin: Eu
6085
+ hasStandardBrowserEnv: Eu,
6086
+ hasStandardBrowserWebWorkerEnv: Tu,
6087
+ origin: Cu
6088
6088
  }, Symbol.toStringTag, { value: "Module" })), ue = {
6089
- ...Tu,
6090
- ...wu
6089
+ ...Mu,
6090
+ ...ku
6091
6091
  };
6092
- function Cu(t, e) {
6092
+ function Ou(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 && y.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
6096
6096
  }
6097
6097
  }, e));
6098
6098
  }
6099
- function Mu(t) {
6099
+ function Pu(t) {
6100
6100
  return y.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
6101
6101
  }
6102
- function Ou(t) {
6102
+ function Au(t) {
6103
6103
  const e = {}, n = Object.keys(t);
6104
6104
  let r;
6105
6105
  const i = n.length;
@@ -6108,22 +6108,22 @@ function Ou(t) {
6108
6108
  s = n[r], e[s] = t[s];
6109
6109
  return e;
6110
6110
  }
6111
- function Uo(t) {
6111
+ function qo(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 && y.isArray(i) ? i.length : a, l ? (y.hasOwnProp(i, a) ? i[a] = [i[a], r] : i[a] = r, !c) : ((!i[a] || !y.isObject(i[a])) && (i[a] = []), e(n, r, i[a], s) && y.isArray(i[a]) && (i[a] = Ou(i[a])), !c);
6116
+ return a = !a && y.isArray(i) ? i.length : a, l ? (y.hasOwnProp(i, a) ? i[a] = [i[a], r] : i[a] = r, !c) : ((!i[a] || !y.isObject(i[a])) && (i[a] = []), e(n, r, i[a], s) && y.isArray(i[a]) && (i[a] = Au(i[a])), !c);
6117
6117
  }
6118
6118
  if (y.isFormData(t) && y.isFunction(t.entries)) {
6119
6119
  const n = {};
6120
6120
  return y.forEachEntry(t, (r, i) => {
6121
- e(Mu(r), i, n, 0);
6121
+ e(Pu(r), i, n, 0);
6122
6122
  }), n;
6123
6123
  }
6124
6124
  return null;
6125
6125
  }
6126
- function Pu(t, e, n) {
6126
+ function Ru(t, e, n) {
6127
6127
  if (y.isString(t))
6128
6128
  try {
6129
6129
  return (e || JSON.parse)(t), y.trim(t);
@@ -6134,12 +6134,12 @@ function Pu(t, e, n) {
6134
6134
  return (n || JSON.stringify)(t);
6135
6135
  }
6136
6136
  const Rt = {
6137
- transitional: Fo,
6137
+ transitional: Uo,
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 = y.isObject(e);
6141
6141
  if (s && y.isHTMLForm(e) && (e = new FormData(e)), y.isFormData(e))
6142
- return i ? JSON.stringify(Uo(e)) : e;
6142
+ return i ? JSON.stringify(qo(e)) : e;
6143
6143
  if (y.isArrayBuffer(e) || y.isBuffer(e) || y.isStream(e) || y.isFile(e) || y.isBlob(e) || y.isReadableStream(e))
6144
6144
  return e;
6145
6145
  if (y.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 Cu(e, this.formSerializer).toString();
6152
+ return Ou(e, this.formSerializer).toString();
6153
6153
  if ((c = y.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), Pu(e)) : e;
6162
+ return s || i ? (n.setContentType("application/json", !1), Ru(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
  y.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
6203
6203
  Rt.headers[t] = {};
6204
6204
  });
6205
- const Au = y.toObjectSet([
6205
+ const xu = y.toObjectSet([
6206
6206
  "age",
6207
6207
  "authorization",
6208
6208
  "content-length",
@@ -6220,12 +6220,12 @@ const Au = y.toObjectSet([
6220
6220
  "referer",
6221
6221
  "retry-after",
6222
6222
  "user-agent"
6223
- ]), Ru = (t) => {
6223
+ ]), Du = (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] && Au[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] && xu[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
6230
  }, Ms = Symbol("internals");
6231
6231
  function gt(t) {
@@ -6234,14 +6234,14 @@ function gt(t) {
6234
6234
  function Qt(t) {
6235
6235
  return t === !1 || t == null ? t : y.isArray(t) ? t.map(Qt) : String(t);
6236
6236
  }
6237
- function xu(t) {
6237
+ function Lu(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 Du = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
6244
+ const Nu = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
6245
6245
  function jn(t, e, n, r, i) {
6246
6246
  if (y.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 Lu(t) {
6255
+ function ju(t) {
6256
6256
  return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
6257
6257
  }
6258
- function Nu(t, e) {
6258
+ function Iu(t, e) {
6259
6259
  const n = y.toCamelCase(" " + e);
6260
6260
  ["get", "set", "has"].forEach((r) => {
6261
6261
  Object.defineProperty(t, r + n, {
@@ -6266,7 +6266,7 @@ function Nu(t, e) {
6266
6266
  });
6267
6267
  });
6268
6268
  }
6269
- class X {
6269
+ class Z {
6270
6270
  constructor(e) {
6271
6271
  e && this.set(e);
6272
6272
  }
@@ -6282,8 +6282,8 @@ class X {
6282
6282
  const a = (c, l) => y.forEach(c, (p, h) => s(p, h, l));
6283
6283
  if (y.isPlainObject(e) || e instanceof this.constructor)
6284
6284
  a(e, n);
6285
- else if (y.isString(e) && (e = e.trim()) && !Du(e))
6286
- a(Ru(e), n);
6285
+ else if (y.isString(e) && (e = e.trim()) && !Nu(e))
6286
+ a(Du(e), n);
6287
6287
  else if (y.isHeaders(e))
6288
6288
  for (const [c, l] of e.entries())
6289
6289
  s(l, c, r);
@@ -6299,7 +6299,7 @@ class X {
6299
6299
  if (!n)
6300
6300
  return i;
6301
6301
  if (n === !0)
6302
- return xu(i);
6302
+ return Lu(i);
6303
6303
  if (y.isFunction(n))
6304
6304
  return n.call(this, i, r);
6305
6305
  if (y.isRegExp(n))
@@ -6343,7 +6343,7 @@ class X {
6343
6343
  n[a] = Qt(i), delete n[s];
6344
6344
  return;
6345
6345
  }
6346
- const c = e ? Lu(s) : String(s).trim();
6346
+ const c = e ? ju(s) : String(s).trim();
6347
6347
  c !== s && delete n[s], n[c] = Qt(i), r[c] = !0;
6348
6348
  }), this;
6349
6349
  }
@@ -6379,13 +6379,13 @@ class X {
6379
6379
  }).accessors, i = this.prototype;
6380
6380
  function s(a) {
6381
6381
  const c = gt(a);
6382
- r[c] || (Nu(i, a), r[c] = !0);
6382
+ r[c] || (Iu(i, a), r[c] = !0);
6383
6383
  }
6384
6384
  return y.isArray(e) ? e.forEach(s) : s(e), this;
6385
6385
  }
6386
6386
  }
6387
- X.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
6388
- y.reduceDescriptors(X.prototype, ({ value: t }, e) => {
6387
+ Z.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
6388
+ y.reduceDescriptors(Z.prototype, ({ value: t }, e) => {
6389
6389
  let n = e[0].toUpperCase() + e.slice(1);
6390
6390
  return {
6391
6391
  get: () => t,
@@ -6394,15 +6394,15 @@ y.reduceDescriptors(X.prototype, ({ value: t }, e) => {
6394
6394
  }
6395
6395
  };
6396
6396
  });
6397
- y.freezeMethods(X);
6397
+ y.freezeMethods(Z);
6398
6398
  function In(t, e) {
6399
- const n = this || Rt, r = e || n, i = X.from(r.headers);
6399
+ const n = this || Rt, r = e || n, i = Z.from(r.headers);
6400
6400
  let s = r.data;
6401
6401
  return y.forEach(t, function(c) {
6402
6402
  s = c.call(n, s, i.normalize(), e ? e.status : void 0);
6403
6403
  }), i.normalize(), s;
6404
6404
  }
6405
- function qo(t) {
6405
+ function Vo(t) {
6406
6406
  return !!(t && t.__CANCEL__);
6407
6407
  }
6408
6408
  function dt(t, e, n) {
@@ -6421,11 +6421,11 @@ function Jo(t, e, n) {
6421
6421
  n
6422
6422
  ));
6423
6423
  }
6424
- function ju(t) {
6424
+ function Bu(t) {
6425
6425
  const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
6426
6426
  return e && e[1] || "";
6427
6427
  }
6428
- function Iu(t, e) {
6428
+ function Fu(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 Iu(t, e) {
6441
6441
  return k ? Math.round(_ * 1e3 / k) : void 0;
6442
6442
  };
6443
6443
  }
6444
- function Bu(t, e) {
6444
+ function Uu(t, e) {
6445
6445
  let n = 0;
6446
6446
  const r = 1e3 / e;
6447
6447
  let i = null;
@@ -6454,8 +6454,8 @@ function Bu(t, e) {
6454
6454
  }
6455
6455
  const an = (t, e, n = 3) => {
6456
6456
  let r = 0;
6457
- const i = Iu(50, 250);
6458
- return Bu((s) => {
6457
+ const i = Fu(50, 250);
6458
+ return Uu((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
- }, Fu = ue.hasStandardBrowserEnv ? (
6473
+ }, qu = 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
- ), Uu = ue.hasStandardBrowserEnv ? (
6504
+ ), Vu = ue.hasStandardBrowserEnv ? (
6505
6505
  // Standard browser envs support document.cookie
6506
6506
  {
6507
6507
  write(t, e, n, r, i, s) {
@@ -6528,17 +6528,17 @@ const an = (t, e, n = 3) => {
6528
6528
  }
6529
6529
  }
6530
6530
  );
6531
- function qu(t) {
6531
+ function Ju(t) {
6532
6532
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
6533
6533
  }
6534
- function Ju(t, e) {
6534
+ function $u(t, e) {
6535
6535
  return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
6536
6536
  }
6537
- function Vo(t, e) {
6538
- return t && !qu(e) ? Ju(t, e) : e;
6537
+ function $o(t, e) {
6538
+ return t && !Ju(e) ? $u(t, e) : e;
6539
6539
  }
6540
- const Os = (t) => t instanceof X ? { ...t } : t;
6541
- function We(t, e) {
6540
+ const Os = (t) => t instanceof Z ? { ...t } : t;
6541
+ function Ye(t, e) {
6542
6542
  e = e || {};
6543
6543
  const n = {};
6544
6544
  function r(p, h, f) {
@@ -6602,10 +6602,10 @@ function We(t, e) {
6602
6602
  y.isUndefined(_) && f !== c || (n[h] = _);
6603
6603
  }), n;
6604
6604
  }
6605
- const $o = (t) => {
6606
- const e = We({}, t);
6605
+ const Go = (t) => {
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 = X.from(a), e.url = Bo(Vo(e.baseURL, e.url), t.params, t.paramsSerializer), c && a.set(
6608
+ e.headers = a = Z.from(a), e.url = Fo($o(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,16 +6618,16 @@ const $o = (t) => {
6618
6618
  a.setContentType([p || "multipart/form-data", ...h].join("; "));
6619
6619
  }
6620
6620
  }
6621
- if (ue.hasStandardBrowserEnv && (r && y.isFunction(r) && (r = r(e)), r || r !== !1 && Fu(e.url))) {
6622
- const p = i && s && Uu.read(s);
6621
+ if (ue.hasStandardBrowserEnv && (r && y.isFunction(r) && (r = r(e)), r || r !== !1 && qu(e.url))) {
6622
+ const p = i && s && Vu.read(s);
6623
6623
  p && a.set(i, p);
6624
6624
  }
6625
6625
  return e;
6626
- }, Vu = typeof XMLHttpRequest < "u", $u = Vu && function(t) {
6626
+ }, Gu = typeof XMLHttpRequest < "u", zu = Gu && function(t) {
6627
6627
  return new Promise(function(n, r) {
6628
- const i = $o(t);
6628
+ const i = Go(t);
6629
6629
  let s = i.data;
6630
- const a = X.from(i.headers).normalize();
6630
+ const a = Z.from(i.headers).normalize();
6631
6631
  let { responseType: c } = i, l;
6632
6632
  function p() {
6633
6633
  i.cancelToken && i.cancelToken.unsubscribe(l), i.signal && i.signal.removeEventListener("abort", l);
@@ -6637,7 +6637,7 @@ const $o = (t) => {
6637
6637
  function f() {
6638
6638
  if (!h)
6639
6639
  return;
6640
- const k = X.from(
6640
+ const k = Z.from(
6641
6641
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
6642
6642
  ), b = {
6643
6643
  data: !c || c === "text" || c === "json" ? h.responseText : h.response,
@@ -6661,7 +6661,7 @@ const $o = (t) => {
6661
6661
  r(new A("Network Error", A.ERR_NETWORK, i, h)), h = null;
6662
6662
  }, h.ontimeout = function() {
6663
6663
  let v = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
6664
- const b = i.transitional || Fo;
6664
+ const b = i.transitional || Uo;
6665
6665
  i.timeoutErrorMessage && (v = i.timeoutErrorMessage), r(new A(
6666
6666
  v,
6667
6667
  b.clarifyTimeoutError ? A.ETIMEDOUT : A.ECONNABORTED,
@@ -6673,14 +6673,14 @@ const $o = (t) => {
6673
6673
  }), y.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 _ = ju(i.url);
6676
+ const _ = Bu(i.url);
6677
6677
  if (_ && ue.protocols.indexOf(_) === -1) {
6678
6678
  r(new A("Unsupported protocol " + _ + ":", A.ERR_BAD_REQUEST, t));
6679
6679
  return;
6680
6680
  }
6681
6681
  h.send(s || null);
6682
6682
  });
6683
- }, Gu = (t, e) => {
6683
+ }, Hu = (t, e) => {
6684
6684
  let n = new AbortController(), r;
6685
6685
  const i = function(l) {
6686
6686
  if (!r) {
@@ -6702,7 +6702,7 @@ const $o = (t) => {
6702
6702
  return c.unsubscribe = a, [c, () => {
6703
6703
  s && clearTimeout(s), s = null;
6704
6704
  }];
6705
- }, zu = function* (t, e) {
6705
+ }, Wu = function* (t, e) {
6706
6706
  let n = t.byteLength;
6707
6707
  if (!e || n < e) {
6708
6708
  yield t;
@@ -6711,11 +6711,11 @@ const $o = (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
- }, Hu = async function* (t, e, n) {
6714
+ }, Yu = async function* (t, e, n) {
6715
6715
  for await (const r of t)
6716
- yield* zu(ArrayBuffer.isView(r) ? r : await n(String(r)), e);
6716
+ yield* Wu(ArrayBuffer.isView(r) ? r : await n(String(r)), e);
6717
6717
  }, Ps = (t, e, n, r, i) => {
6718
- const s = Hu(t, e, i);
6718
+ const s = Yu(t, e, i);
6719
6719
  let a = 0;
6720
6720
  return new ReadableStream({
6721
6721
  type: "bytes",
@@ -6741,7 +6741,7 @@ const $o = (t) => {
6741
6741
  total: t,
6742
6742
  loaded: r
6743
6743
  }));
6744
- }, yn = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Go = 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())), Yu = Go && (() => {
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())), Ku = zo && (() => {
6745
6745
  let t = !1;
6746
6746
  const e = new Request(ue.origin, {
6747
6747
  body: new ReadableStream(),
@@ -6751,7 +6751,7 @@ const $o = (t) => {
6751
6751
  }
6752
6752
  }).headers.has("Content-Type");
6753
6753
  return t && !e;
6754
- })(), Rs = 64 * 1024, ur = Go && !!(() => {
6754
+ })(), Rs = 64 * 1024, ur = zo && !!(() => {
6755
6755
  try {
6756
6756
  return y.isReadableStream(new Response("").body);
6757
6757
  } catch {
@@ -6766,7 +6766,7 @@ yn && ((t) => {
6766
6766
  });
6767
6767
  });
6768
6768
  })(new Response());
6769
- const Wu = async (t) => {
6769
+ const Qu = async (t) => {
6770
6770
  if (t == null)
6771
6771
  return 0;
6772
6772
  if (y.isBlob(t))
@@ -6777,10 +6777,10 @@ const Wu = async (t) => {
6777
6777
  return t.byteLength;
6778
6778
  if (y.isURLSearchParams(t) && (t = t + ""), y.isString(t))
6779
6779
  return (await lr(t)).byteLength;
6780
- }, Ku = async (t, e) => {
6780
+ }, Xu = async (t, e) => {
6781
6781
  const n = y.toFiniteNumber(t.getContentLength());
6782
- return n ?? Wu(e);
6783
- }, Qu = yn && (async (t) => {
6782
+ return n ?? Qu(e);
6783
+ }, Zu = yn && (async (t) => {
6784
6784
  let {
6785
6785
  url: e,
6786
6786
  method: n,
@@ -6794,9 +6794,9 @@ const Wu = async (t) => {
6794
6794
  headers: h,
6795
6795
  withCredentials: f = "same-origin",
6796
6796
  fetchOptions: _
6797
- } = $o(t);
6797
+ } = Go(t);
6798
6798
  p = p ? (p + "").toLowerCase() : "text";
6799
- let [k, v] = i || s || a ? Gu([i, s], a) : [], b, T;
6799
+ let [k, v] = i || s || a ? Hu([i, s], a) : [], b, T;
6800
6800
  const M = () => {
6801
6801
  !b && setTimeout(() => {
6802
6802
  k && k.unsubscribe();
@@ -6804,7 +6804,7 @@ const Wu = async (t) => {
6804
6804
  };
6805
6805
  let B;
6806
6806
  try {
6807
- if (l && Yu && n !== "get" && n !== "head" && (B = await Ku(h, r)) !== 0) {
6807
+ if (l && Ku && n !== "get" && n !== "head" && (B = await Xu(h, r)) !== 0) {
6808
6808
  let oe = new Request(e, {
6809
6809
  method: "POST",
6810
6810
  body: r,
@@ -6845,7 +6845,7 @@ const Wu = async (t) => {
6845
6845
  return !ne && M(), v && v(), await new Promise((oe, _e) => {
6846
6846
  Jo(oe, _e, {
6847
6847
  data: Ne,
6848
- headers: X.from(L.headers),
6848
+ headers: Z.from(L.headers),
6849
6849
  status: L.status,
6850
6850
  statusText: L.statusText,
6851
6851
  config: t,
@@ -6861,9 +6861,9 @@ const Wu = async (t) => {
6861
6861
  ) : A.from(L, L && L.code, t, T);
6862
6862
  }
6863
6863
  }), dr = {
6864
- http: fu,
6865
- xhr: $u,
6866
- fetch: Qu
6864
+ http: gu,
6865
+ xhr: zu,
6866
+ fetch: Zu
6867
6867
  };
6868
6868
  y.forEach(dr, (t, e) => {
6869
6869
  if (t) {
@@ -6874,7 +6874,7 @@ y.forEach(dr, (t, e) => {
6874
6874
  Object.defineProperty(t, "adapterName", { value: e });
6875
6875
  }
6876
6876
  });
6877
- const xs = (t) => `- ${t}`, Xu = (t) => y.isFunction(t) || t === null || t === !1, zo = {
6877
+ const xs = (t) => `- ${t}`, ed = (t) => y.isFunction(t) || t === null || t === !1, Ho = {
6878
6878
  getAdapter: (t) => {
6879
6879
  t = y.isArray(t) ? t : [t];
6880
6880
  const { length: e } = t;
@@ -6883,7 +6883,7 @@ const xs = (t) => `- ${t}`, Xu = (t) => y.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, !Xu(n) && (r = dr[(a = String(n)).toLowerCase()], r === void 0))
6886
+ if (r = n, !ed(n) && (r = dr[(a = String(n)).toLowerCase()], r === void 0))
6887
6887
  throw new A(`Unknown adapter '${a}'`);
6888
6888
  if (r)
6889
6889
  break;
@@ -6910,24 +6910,24 @@ function Bn(t) {
6910
6910
  throw new dt(null, t);
6911
6911
  }
6912
6912
  function Ds(t) {
6913
- return Bn(t), t.headers = X.from(t.headers), t.data = In.call(
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), Ho.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
- ), r.headers = X.from(r.headers), r;
6921
+ ), r.headers = Z.from(r.headers), r;
6922
6922
  }, function(r) {
6923
- return qo(r) || (Bn(t), r && r.response && (r.response.data = In.call(
6923
+ return Vo(r) || (Bn(t), r && r.response && (r.response.data = In.call(
6924
6924
  t,
6925
6925
  t.transformResponse,
6926
6926
  r.response
6927
- ), r.response.headers = X.from(r.response.headers))), Promise.reject(r);
6927
+ ), r.response.headers = Z.from(r.response.headers))), Promise.reject(r);
6928
6928
  });
6929
6929
  }
6930
- const Ho = "1.7.2", Pr = {};
6930
+ const Wo = "1.7.2", Pr = {};
6931
6931
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
6932
6932
  Pr[t] = function(r) {
6933
6933
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
@@ -6936,7 +6936,7 @@ const Ho = "1.7.2", Pr = {};
6936
6936
  const Ls = {};
6937
6937
  Pr.transitional = function(e, n, r) {
6938
6938
  function i(s, a) {
6939
- return "[Axios v" + Ho + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
6939
+ return "[Axios v" + Wo + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
6940
6940
  }
6941
6941
  return (s, a, c) => {
6942
6942
  if (e === !1)
@@ -6952,7 +6952,7 @@ Pr.transitional = function(e, n, r) {
6952
6952
  )), e ? e(s, a, c) : !0;
6953
6953
  };
6954
6954
  };
6955
- function Zu(t, e, n) {
6955
+ function td(t, e, n) {
6956
6956
  if (typeof t != "object")
6957
6957
  throw new A("options must be an object", A.ERR_BAD_OPTION_VALUE);
6958
6958
  const r = Object.keys(t);
@@ -6970,10 +6970,10 @@ function Zu(t, e, n) {
6970
6970
  }
6971
6971
  }
6972
6972
  const hr = {
6973
- assertOptions: Zu,
6973
+ assertOptions: td,
6974
6974
  validators: Pr
6975
6975
  }, Me = hr.validators;
6976
- class Ve {
6976
+ class Je {
6977
6977
  constructor(e) {
6978
6978
  this.defaults = e, this.interceptors = {
6979
6979
  request: new Cs(),
@@ -7006,7 +7006,7 @@ class Ve {
7006
7006
  }
7007
7007
  }
7008
7008
  _request(e, n) {
7009
- typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = We(this.defaults, n);
7009
+ typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Ye(this.defaults, n);
7010
7010
  const { transitional: r, paramsSerializer: i, headers: s } = n;
7011
7011
  r !== void 0 && hr.assertOptions(r, {
7012
7012
  silentJSONParsing: Me.transitional(Me.boolean),
@@ -7027,7 +7027,7 @@ class Ve {
7027
7027
  (v) => {
7028
7028
  delete s[v];
7029
7029
  }
7030
- ), n.headers = X.concat(a, s);
7030
+ ), n.headers = Z.concat(a, s);
7031
7031
  const c = [];
7032
7032
  let l = !0;
7033
7033
  this.interceptors.request.forEach(function(b) {
@@ -7065,14 +7065,14 @@ class Ve {
7065
7065
  return h;
7066
7066
  }
7067
7067
  getUri(e) {
7068
- e = We(this.defaults, e);
7069
- const n = Vo(e.baseURL, e.url);
7070
- return Bo(n, e.params, e.paramsSerializer);
7068
+ e = Ye(this.defaults, e);
7069
+ const n = $o(e.baseURL, e.url);
7070
+ return Fo(n, e.params, e.paramsSerializer);
7071
7071
  }
7072
7072
  }
7073
7073
  y.forEach(["delete", "get", "head", "options"], function(e) {
7074
- Ve.prototype[e] = function(n, r) {
7075
- return this.request(We(r || {}, {
7074
+ Je.prototype[e] = function(n, r) {
7075
+ return this.request(Ye(r || {}, {
7076
7076
  method: e,
7077
7077
  url: n,
7078
7078
  data: (r || {}).data
@@ -7082,7 +7082,7 @@ y.forEach(["delete", "get", "head", "options"], function(e) {
7082
7082
  y.forEach(["post", "put", "patch"], function(e) {
7083
7083
  function n(r) {
7084
7084
  return function(s, a, c) {
7085
- return this.request(We(c || {}, {
7085
+ return this.request(Ye(c || {}, {
7086
7086
  method: e,
7087
7087
  headers: r ? {
7088
7088
  "Content-Type": "multipart/form-data"
@@ -7092,7 +7092,7 @@ y.forEach(["post", "put", "patch"], function(e) {
7092
7092
  }));
7093
7093
  };
7094
7094
  }
7095
- Ve.prototype[e] = n(), Ve.prototype[e + "Form"] = n(!0);
7095
+ Je.prototype[e] = n(), Je.prototype[e + "Form"] = n(!0);
7096
7096
  });
7097
7097
  class Ar {
7098
7098
  constructor(e) {
@@ -7161,12 +7161,12 @@ class Ar {
7161
7161
  };
7162
7162
  }
7163
7163
  }
7164
- function ed(t) {
7164
+ function nd(t) {
7165
7165
  return function(n) {
7166
7166
  return t.apply(null, n);
7167
7167
  };
7168
7168
  }
7169
- function td(t) {
7169
+ function rd(t) {
7170
7170
  return y.isObject(t) && t.isAxiosError === !0;
7171
7171
  }
7172
7172
  const pr = {
@@ -7238,64 +7238,210 @@ Object.entries(pr).forEach(([t, e]) => {
7238
7238
  pr[e] = t;
7239
7239
  });
7240
7240
  function Yo(t) {
7241
- const e = new Ve(t), n = Co(Ve.prototype.request, e);
7242
- return y.extend(n, Ve.prototype, e, { allOwnKeys: !0 }), y.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
7243
- return Yo(We(t, i));
7241
+ const e = new Je(t), n = Mo(Je.prototype.request, e);
7242
+ return y.extend(n, Je.prototype, e, { allOwnKeys: !0 }), y.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
7243
+ return Yo(Ye(t, i));
7244
7244
  }, n;
7245
7245
  }
7246
7246
  const $ = Yo(Rt);
7247
- $.Axios = Ve;
7247
+ $.Axios = Je;
7248
7248
  $.CanceledError = dt;
7249
7249
  $.CancelToken = Ar;
7250
- $.isCancel = qo;
7251
- $.VERSION = Ho;
7250
+ $.isCancel = Vo;
7251
+ $.VERSION = Wo;
7252
7252
  $.toFormData = vn;
7253
7253
  $.AxiosError = A;
7254
7254
  $.Cancel = $.CanceledError;
7255
7255
  $.all = function(e) {
7256
7256
  return Promise.all(e);
7257
7257
  };
7258
- $.spread = ed;
7259
- $.isAxiosError = td;
7260
- $.mergeConfig = We;
7261
- $.AxiosHeaders = X;
7262
- $.formToJSON = (t) => Uo(y.isHTMLForm(t) ? new FormData(t) : t);
7263
- $.getAdapter = zo.getAdapter;
7258
+ $.spread = nd;
7259
+ $.isAxiosError = rd;
7260
+ $.mergeConfig = Ye;
7261
+ $.AxiosHeaders = Z;
7262
+ $.formToJSON = (t) => qo(y.isHTMLForm(t) ? new FormData(t) : t);
7263
+ $.getAdapter = Ho.getAdapter;
7264
7264
  $.HttpStatusCode = pr;
7265
7265
  $.default = $;
7266
- const Wo = "https://api.avaturn.live";
7267
- class nd {
7266
+ const id = `
7267
+ precision mediump float;
7268
+
7269
+ // our textures
7270
+ uniform sampler2D u_frame;
7271
+
7272
+ // data
7273
+ uniform float u_premultipliedAlpha;
7274
+
7275
+ // the texCoords passed in from the vertex shader.
7276
+ varying vec2 v_texCoord;
7277
+
7278
+ void main() {
7279
+ // Calculate the coordinates for the color and alpha
7280
+ vec2 colorCoord = vec2(v_texCoord.x, v_texCoord.y * 0.5);
7281
+ vec2 alphaCoord = vec2(v_texCoord.x, 0.5 + v_texCoord.y * 0.5);
7282
+
7283
+ vec4 color = texture2D(u_frame, colorCoord);
7284
+ float alpha = texture2D(u_frame, alphaCoord).r;
7285
+
7286
+ gl_FragColor = vec4(color.rgb * mix(alpha, 1.0, u_premultipliedAlpha), alpha);
7287
+ }
7288
+ `, sd = `
7289
+ precision mediump float;
7290
+ attribute vec2 a_position;
7291
+ uniform mat3 u_matrix;
7292
+ varying vec2 v_texCoord;
7293
+
7294
+ void main() {
7295
+ gl_Position = vec4(u_matrix * vec3(a_position, 1), 1);
7296
+
7297
+ // because we're using a unit quad we can just use
7298
+ // the same data for our texcoords.
7299
+ v_texCoord = a_position;
7300
+ }
7301
+ `;
7302
+ function Ns(t, e, n) {
7303
+ const r = t.createShader(n);
7304
+ if (!r)
7305
+ throw Error("Unable to create shader");
7306
+ if (t.shaderSource(r, e), t.compileShader(r), !t.getShaderParameter(r, t.COMPILE_STATUS)) {
7307
+ const i = t.getShaderInfoLog(r);
7308
+ throw t.deleteShader(r), Error(i || "unknown error");
7309
+ }
7310
+ return r;
7311
+ }
7312
+ function od(t, e) {
7313
+ const n = t.createProgram();
7314
+ if (!n)
7315
+ throw Error("Unable to create program");
7316
+ for (const r of e)
7317
+ t.attachShader(n, r);
7318
+ if (t.linkProgram(n), !t.getProgramParameter(n, t.LINK_STATUS)) {
7319
+ const r = t.getProgramInfoLog(n);
7320
+ throw t.deleteProgram(n), Error(r || "unknown error");
7321
+ }
7322
+ return n;
7323
+ }
7324
+ const Ko = /* @__PURE__ */ new WeakMap();
7325
+ function ad(t) {
7326
+ const e = {
7327
+ antialias: !1,
7328
+ powerPreference: "low-power",
7329
+ depth: !1,
7330
+ premultipliedAlpha: !0
7331
+ }, n = t.getContext("webgl2", e) ?? t.getContext("webgl", e);
7332
+ if (!n)
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]);
7335
+ n.useProgram(s);
7336
+ const a = n.getAttribLocation(s, "a_position"), c = n.getUniformLocation(s, "u_frame");
7337
+ n.uniform1i(c, 0);
7338
+ const l = n.getUniformLocation(s, "u_matrix");
7339
+ Ko.set(n, n.getUniformLocation(s, "u_premultipliedAlpha")), cd(n);
7340
+ const p = n.createBuffer(), h = new Float32Array([
7341
+ 0,
7342
+ 0,
7343
+ 1,
7344
+ 0,
7345
+ 0,
7346
+ 1,
7347
+ 0,
7348
+ 1,
7349
+ 1,
7350
+ 0,
7351
+ 1,
7352
+ 1
7353
+ ]);
7354
+ n.bindBuffer(n.ARRAY_BUFFER, p), n.bufferData(n.ARRAY_BUFFER, h, n.STATIC_DRAW), n.enableVertexAttribArray(a), n.vertexAttribPointer(a, 2, n.FLOAT, !1, 0, 0), n.uniformMatrix3fv(l, !1, [2, 0, 0, 0, -2, 0, -1, 1, 1]);
7355
+ const f = n.createTexture();
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
+ }
7358
+ function cd(t, e) {
7359
+ t.uniform1f(Ko.get(t), 0);
7360
+ }
7361
+ function ld(t, e) {
7362
+ const n = t.canvas, r = e.videoWidth, i = Math.floor(e.videoHeight / 2);
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
+ }
7365
+ const Qo = "https://api.avaturn.live";
7366
+ class ud {
7268
7367
  /**
7269
- * AvaturnHead main class
7270
- *
7368
+ * The main constructor of the class.
7271
7369
  * @constructor
7272
- * @param {AvaturnHeadConfig} config - The configuration object for Avaturn Head.
7370
+ * @param param1 Configuration options or a DOM element.
7371
+ * @param param2 Configuration options if the first parameter is a DOM element.
7273
7372
  */
7274
- constructor({ apiHost: e = Wo, sessionToken: n, preloadBundle: r, preconnect: i, keepAlive: s }) {
7275
- Z(this, "inited", !1);
7276
- Z(this, "mediaStream");
7277
- Z(this, "session_id", "");
7278
- Z(this, "abortController");
7279
- Z(this, "timeout", 0);
7280
- Z(this, "keepAlive", !1);
7281
- Z(this, "fetcher");
7282
- Z(this, "call");
7283
- Z(this, "handlers", {});
7373
+ constructor(e, n) {
7374
+ Y(this, "inited", !1);
7375
+ Y(this, "mediaStream");
7376
+ Y(this, "session_id", "");
7377
+ Y(this, "frameHandle", 0);
7378
+ Y(this, "rootElement");
7379
+ Y(this, "abortController");
7380
+ Y(this, "timeout", 0);
7381
+ Y(this, "keepAlive", !1);
7382
+ Y(this, "fetcher");
7383
+ Y(this, "call");
7384
+ Y(this, "handlers", {});
7284
7385
  if (typeof window > "u")
7285
7386
  throw new Error("Unfortunately, SDK only works on the client side.");
7286
- this.abortController = new AbortController(), this.fetcher = $.create({
7287
- baseURL: `${e}/_sdk/v0`,
7387
+ const [{ apiHost: r = Qo, sessionToken: i, preloadBundle: s, preconnect: a, keepAlive: c }, l] = this.parseConfig(e, n);
7388
+ this.rootElement = l, this.abortController = new AbortController(), this.fetcher = $.create({
7389
+ baseURL: `${r}/_sdk/v0`,
7288
7390
  headers: {
7289
- "X-Session-Token": n
7391
+ "X-Session-Token": i
7290
7392
  },
7291
7393
  signal: this.abortController.signal
7292
- }), this.keepAlive = !!s, this.mediaStream = new MediaStream(), this.call = Pl.createCallObject({
7394
+ }), this.keepAlive = !!c, this.mediaStream = new MediaStream(), this.call = Rl.createCallObject({
7293
7395
  videoSource: !1,
7294
7396
  audioSource: !1,
7295
7397
  dailyConfig: {
7296
7398
  avoidEval: !0
7297
7399
  }
7298
- }), r && this.call.load(), i && this.fetcher.post("/sessions/start_stream");
7400
+ }), s && this.call.load(), a && this.fetcher.post("/sessions/start_stream");
7401
+ }
7402
+ parseConfig(e, n) {
7403
+ try {
7404
+ let r, i;
7405
+ if (e instanceof HTMLElement) {
7406
+ if (r = e, !n)
7407
+ throw new Error("Options are required when providing a DOM element.");
7408
+ i = n;
7409
+ } else
7410
+ i = e;
7411
+ return [i, r];
7412
+ } catch {
7413
+ throw new Error("Filed to parse configuration object. Bad configuration!");
7414
+ }
7415
+ }
7416
+ drawUI(e) {
7417
+ if (!this.rootElement || this.inited)
7418
+ return;
7419
+ const n = this.rootElement.attachShadow({ mode: "closed" }), r = new CSSStyleSheet();
7420
+ r.replaceSync(`
7421
+ :host {
7422
+ display: inline-block;
7423
+ height: auto;
7424
+ overflow: hidden;
7425
+ }
7426
+
7427
+ canvas {
7428
+ display: block;
7429
+ width: 100%;
7430
+ object-fit: cover;
7431
+ height: 100%;
7432
+ }
7433
+ `), n.adoptedStyleSheets = [r];
7434
+ const i = document.createElement("video");
7435
+ if (i.srcObject = this.mediaStream, i.autoplay = !0, i.style.position = "absolute", i.style.opacity = "0", i.style.objectFit = "cover", i.style.userSelect = "none", n.appendChild(i), !(e != null && e.transparent)) {
7436
+ i.style.width = "100%", i.style.height = "100%", i.style.opacity = "1", i.style.userSelect = "all";
7437
+ return;
7438
+ }
7439
+ const s = document.createElement("canvas");
7440
+ s.style.width = "100%", s.style.height = "100%", s.style.objectFit = "cover", n.appendChild(s);
7441
+ const a = ad(s), c = () => {
7442
+ ld(a, i), this.frameHandle = requestAnimationFrame(c);
7443
+ };
7444
+ c();
7299
7445
  }
7300
7446
  startIdleTimeout() {
7301
7447
  this.timeout = setTimeout(() => {
@@ -7306,6 +7452,10 @@ class nd {
7306
7452
  restartIdleTimeout() {
7307
7453
  clearTimeout(this.timeout), this.startIdleTimeout();
7308
7454
  }
7455
+ async cancelAllTasks() {
7456
+ const { data: e } = await this.fetcher.post("/sessions/cancel_all_speech_tasks");
7457
+ return e;
7458
+ }
7309
7459
  async init(e) {
7310
7460
  if (this.inited)
7311
7461
  return;
@@ -7322,7 +7472,9 @@ class nd {
7322
7472
  if (!p.owner)
7323
7473
  return;
7324
7474
  const { video: h, audio: f } = p.tracks;
7325
- h.persistentTrack && (this.mediaStream.getVideoTracks().forEach((v) => this.mediaStream.removeTrack(v)), (_ = this.mediaStream) == null || _.addTrack(h.persistentTrack)), f.persistentTrack && (this.mediaStream.getAudioTracks().forEach((v) => this.mediaStream.removeTrack(v)), (k = this.mediaStream) == null || k.addTrack(f.persistentTrack)), a && clearTimeout(a), h.persistentTrack && (this.inited = !0, r(null));
7475
+ h.persistentTrack && (this.mediaStream.getVideoTracks().forEach((v) => this.mediaStream.removeTrack(v)), (_ = this.mediaStream) == null || _.addTrack(h.persistentTrack)), f.persistentTrack && (this.mediaStream.getAudioTracks().forEach((v) => this.mediaStream.removeTrack(v)), (k = this.mediaStream) == null || k.addTrack(f.persistentTrack)), a && clearTimeout(a), h.persistentTrack && (this.drawUI({
7476
+ transparent: n.session_config.uses_stacked_alpha
7477
+ }), this.inited = !0, r(null));
7326
7478
  }), this.call.on("error", (p) => {
7327
7479
  console.error("[SKD_ERROR]: ", p);
7328
7480
  }), (l = this.call) == null || l.on("app-message", ({ data: p }) => {
@@ -7348,17 +7500,17 @@ class nd {
7348
7500
  }
7349
7501
  async dispose() {
7350
7502
  var e;
7351
- this.inited = !1, this.mediaStream = new MediaStream(), this.inited = !1, this.timeout && clearTimeout(this.timeout), await ((e = this.call) == null ? void 0 : e.destroy()), this.abortController.abort();
7503
+ this.inited = !1, this.mediaStream = new MediaStream(), this.inited = !1, this.timeout && clearTimeout(this.timeout), this.frameHandle && cancelAnimationFrame(this.frameHandle), await ((e = this.call) == null ? void 0 : e.destroy()), this.abortController.abort();
7352
7504
  }
7353
7505
  }
7354
- class id extends nd {
7506
+ class hd extends ud {
7355
7507
  constructor(n) {
7356
7508
  super(n);
7357
- Z(this, "assistantSessionToken", "");
7358
- Z(this, "assistantFetcher");
7359
- Z(this, "sessionToken", "");
7509
+ Y(this, "assistantSessionToken", "");
7510
+ Y(this, "assistantFetcher");
7511
+ Y(this, "sessionToken", "");
7360
7512
  this.assistantSessionToken = n.assistantSessionToken, this.sessionToken = n.sessionToken, this.assistantFetcher = $.create({
7361
- baseURL: `${n.apiHost || Wo}/`,
7513
+ baseURL: `${n.apiHost || Qo}/`,
7362
7514
  headers: {
7363
7515
  Authorization: `Bearer ${n.assistantSessionToken}`
7364
7516
  },
@@ -7381,7 +7533,9 @@ class id extends nd {
7381
7533
  if (!h.owner)
7382
7534
  return;
7383
7535
  const { video: f, audio: _ } = h.tracks;
7384
- f.persistentTrack && (this.mediaStream.getVideoTracks().forEach((b) => this.mediaStream.removeTrack(b)), (k = this.mediaStream) == null || k.addTrack(f.persistentTrack)), _.persistentTrack && (this.mediaStream.getAudioTracks().forEach((b) => this.mediaStream.removeTrack(b)), (v = this.mediaStream) == null || v.addTrack(_.persistentTrack)), c && clearTimeout(c), f.persistentTrack && (this.inited = !0, i(null));
7536
+ f.persistentTrack && (this.mediaStream.getVideoTracks().forEach((b) => this.mediaStream.removeTrack(b)), (k = this.mediaStream) == null || k.addTrack(f.persistentTrack)), _.persistentTrack && (this.mediaStream.getAudioTracks().forEach((b) => this.mediaStream.removeTrack(b)), (v = this.mediaStream) == null || v.addTrack(_.persistentTrack)), c && clearTimeout(c), f.persistentTrack && (this.drawUI({
7537
+ transparent: r.session_config.uses_stacked_alpha
7538
+ }), this.inited = !0, i(null));
7385
7539
  }), this.call.on("error", (h) => {
7386
7540
  console.error("[SKD_ERROR]: ", h);
7387
7541
  }), (p = this.call) == null || p.on("app-message", ({ data: h }) => {
@@ -7405,6 +7559,6 @@ class id extends nd {
7405
7559
  }
7406
7560
  }
7407
7561
  export {
7408
- id as AvaturnAssistantHead,
7409
- nd as AvaturnHead
7562
+ hd as AvaturnAssistantHead,
7563
+ ud as AvaturnHead
7410
7564
  };