@cloudflare/realtimekit 2.0.3-staging.4 → 2.0.3-staging.5

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/index.es.js CHANGED
@@ -7888,8 +7888,8 @@ class ZR extends T {
7888
7888
  ]);
7889
7889
  }
7890
7890
  }
7891
- const eb = new ZR();
7892
- class tb extends T {
7891
+ new ZR();
7892
+ class eb extends T {
7893
7893
  constructor() {
7894
7894
  super("media.edge.ConsumeMultipleProducerResponse", [
7895
7895
  {
@@ -7903,8 +7903,8 @@ class tb extends T {
7903
7903
  ]);
7904
7904
  }
7905
7905
  }
7906
- new tb();
7907
- class sb extends T {
7906
+ new eb();
7907
+ class tb extends T {
7908
7908
  constructor() {
7909
7909
  super("media.edge.ConsumePeerResponse", [
7910
7910
  {
@@ -7919,8 +7919,8 @@ class sb extends T {
7919
7919
  ]);
7920
7920
  }
7921
7921
  }
7922
- const rb = new sb();
7923
- class ib extends T {
7922
+ const sb = new tb();
7923
+ class rb extends T {
7924
7924
  constructor() {
7925
7925
  super("media.edge.ProducerCreateResponse", [
7926
7926
  {
@@ -7941,8 +7941,8 @@ class ib extends T {
7941
7941
  ]);
7942
7942
  }
7943
7943
  }
7944
- const nb = new ib();
7945
- class ab extends T {
7944
+ const ib = new rb();
7945
+ class nb extends T {
7946
7946
  constructor() {
7947
7947
  super("media.edge.ProducerScoreResponse", [
7948
7948
  {
@@ -7956,8 +7956,8 @@ class ab extends T {
7956
7956
  ]);
7957
7957
  }
7958
7958
  }
7959
- new ab();
7960
- class ob extends T {
7959
+ new nb();
7960
+ class ab extends T {
7961
7961
  constructor() {
7962
7962
  super("media.edge.ActiveSpeakerResponse", [
7963
7963
  {
@@ -7977,48 +7977,48 @@ class ob extends T {
7977
7977
  ]);
7978
7978
  }
7979
7979
  }
7980
- new ob();
7981
- class cb extends T {
7980
+ new ab();
7981
+ class ob extends T {
7982
7982
  constructor() {
7983
7983
  super("media.edge.NoActiveSpeakerResponse", []);
7984
7984
  }
7985
7985
  }
7986
- new cb();
7987
- class db extends T {
7986
+ new ob();
7987
+ class cb extends T {
7988
7988
  constructor() {
7989
7989
  super("media.edge.ProducerToggleResponse", []);
7990
7990
  }
7991
7991
  }
7992
- new db();
7993
- class lb extends T {
7992
+ new cb();
7993
+ class db extends T {
7994
7994
  constructor() {
7995
7995
  super("media.edge.ConsumerToggleResponse", []);
7996
7996
  }
7997
7997
  }
7998
- new lb();
7999
- class ub extends T {
7998
+ new db();
7999
+ class lb extends T {
8000
8000
  constructor() {
8001
8001
  super("media.edge.ProducerClosingResponse", [
8002
8002
  { no: 1, name: "description", kind: "message", T: () => ms }
8003
8003
  ]);
8004
8004
  }
8005
8005
  }
8006
- const hb = new ub();
8007
- class pb extends T {
8006
+ const ub = new lb();
8007
+ class hb extends T {
8008
8008
  constructor() {
8009
8009
  super("media.edge.ConsumerClosingResponse", [
8010
8010
  { no: 1, name: "description", kind: "message", T: () => ms }
8011
8011
  ]);
8012
8012
  }
8013
8013
  }
8014
- const gb = new pb();
8015
- class mb extends T {
8014
+ const pb = new hb();
8015
+ class gb extends T {
8016
8016
  constructor() {
8017
8017
  super("media.edge.GlobalPeerPinningResponse", []);
8018
8018
  }
8019
8019
  }
8020
- new mb();
8021
- class fb extends T {
8020
+ new gb();
8021
+ class mb extends T {
8022
8022
  constructor() {
8023
8023
  super("media.edge.KickPeerResponse", [
8024
8024
  {
@@ -8031,8 +8031,8 @@ class fb extends T {
8031
8031
  ]);
8032
8032
  }
8033
8033
  }
8034
- new fb();
8035
- class Sb extends T {
8034
+ new mb();
8035
+ class fb extends T {
8036
8036
  constructor() {
8037
8037
  super("media.edge.KickAllPeersResponse", [
8038
8038
  {
@@ -8045,8 +8045,8 @@ class Sb extends T {
8045
8045
  ]);
8046
8046
  }
8047
8047
  }
8048
- new Sb();
8049
- class vb extends T {
8048
+ new fb();
8049
+ class Sb extends T {
8050
8050
  constructor() {
8051
8051
  super("media.edge.HostMediaControlForPeerResponse", [
8052
8052
  {
@@ -8059,8 +8059,8 @@ class vb extends T {
8059
8059
  ]);
8060
8060
  }
8061
8061
  }
8062
- const Tb = new vb();
8063
- class yb extends T {
8062
+ const vb = new Sb();
8063
+ class Tb extends T {
8064
8064
  constructor() {
8065
8065
  super("media.edge.HostMediaControlForAllPeerResponse", [
8066
8066
  {
@@ -8073,8 +8073,8 @@ class yb extends T {
8073
8073
  ]);
8074
8074
  }
8075
8075
  }
8076
- const Eb = new yb();
8077
- class Pb extends T {
8076
+ const yb = new Tb();
8077
+ class Eb extends T {
8078
8078
  constructor() {
8079
8079
  super("media.edge.PeerDisplayNameEditResponse", [
8080
8080
  {
@@ -8087,16 +8087,16 @@ class Pb extends T {
8087
8087
  ]);
8088
8088
  }
8089
8089
  }
8090
- const _b = new Pb();
8091
- class Cb extends T {
8090
+ const Pb = new Eb();
8091
+ class _b extends T {
8092
8092
  constructor() {
8093
8093
  super("media.edge.PeerJoinBroadcastResponse", [
8094
8094
  { no: 1, name: "participant", kind: "message", T: () => wf }
8095
8095
  ]);
8096
8096
  }
8097
8097
  }
8098
- const rg = new Cb();
8099
- class wb extends T {
8098
+ const rg = new _b();
8099
+ class Cb extends T {
8100
8100
  constructor() {
8101
8101
  super("media.edge.TrackSubscriptionKind", [
8102
8102
  {
@@ -8116,8 +8116,8 @@ class wb extends T {
8116
8116
  ]);
8117
8117
  }
8118
8118
  }
8119
- const ig = new wb();
8120
- class Rb extends T {
8119
+ const ig = new Cb();
8120
+ class wb extends T {
8121
8121
  constructor() {
8122
8122
  super("media.edge.TrackSubscription", [
8123
8123
  {
@@ -8132,8 +8132,8 @@ class Rb extends T {
8132
8132
  ]);
8133
8133
  }
8134
8134
  }
8135
- const bb = new Rb();
8136
- class kb extends T {
8135
+ const Rb = new wb();
8136
+ class bb extends T {
8137
8137
  constructor() {
8138
8138
  super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
8139
8139
  {
@@ -8144,12 +8144,12 @@ class kb extends T {
8144
8144
  /*ScalarType.STRING*/
8145
8145
  },
8146
8146
  { no: 2, name: "transport_details", kind: "message", T: () => yf },
8147
- { no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => bb }
8147
+ { no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => Rb }
8148
8148
  ]);
8149
8149
  }
8150
8150
  }
8151
- new kb();
8152
- class Ab extends T {
8151
+ new bb();
8152
+ class kb extends T {
8153
8153
  constructor() {
8154
8154
  super("media.edge.PeerProducerCreateBroadcastResponse", [
8155
8155
  {
@@ -8163,8 +8163,8 @@ class Ab extends T {
8163
8163
  ]);
8164
8164
  }
8165
8165
  }
8166
- const Ib = new Ab();
8167
- class Mb extends T {
8166
+ const Ab = new kb();
8167
+ class Ib extends T {
8168
8168
  constructor() {
8169
8169
  super("media.edge.PeerProducerToggleBroadcastResponse", [
8170
8170
  {
@@ -8186,8 +8186,8 @@ class Mb extends T {
8186
8186
  ]);
8187
8187
  }
8188
8188
  }
8189
- const ng = new Mb();
8190
- class Db extends T {
8189
+ const ng = new Ib();
8190
+ class Mb extends T {
8191
8191
  constructor() {
8192
8192
  super("media.edge.PeerProducerCloseBroadcastResponse", [
8193
8193
  {
@@ -8201,8 +8201,8 @@ class Db extends T {
8201
8201
  ]);
8202
8202
  }
8203
8203
  }
8204
- const Ob = new Db();
8205
- class Nb extends T {
8204
+ const Db = new Mb();
8205
+ class Ob extends T {
8206
8206
  constructor() {
8207
8207
  super("media.edge.PeerLeaveBroadcastResponse", [
8208
8208
  {
@@ -8215,8 +8215,8 @@ class Nb extends T {
8215
8215
  ]);
8216
8216
  }
8217
8217
  }
8218
- const Nu = new Nb();
8219
- class Lb extends T {
8218
+ const Nu = new Ob();
8219
+ class Nb extends T {
8220
8220
  constructor() {
8221
8221
  super("media.edge.GlobalPeerPinningBroadcastResponse", [
8222
8222
  {
@@ -8229,8 +8229,8 @@ class Lb extends T {
8229
8229
  ]);
8230
8230
  }
8231
8231
  }
8232
- const ag = new Lb();
8233
- class Vb extends T {
8232
+ const ag = new Nb();
8233
+ class Lb extends T {
8234
8234
  constructor() {
8235
8235
  super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
8236
8236
  {
@@ -8243,8 +8243,8 @@ class Vb extends T {
8243
8243
  ]);
8244
8244
  }
8245
8245
  }
8246
- new Vb();
8247
- class xb extends T {
8246
+ new Lb();
8247
+ class Vb extends T {
8248
8248
  constructor() {
8249
8249
  super("media.edge.RecordingStartedBroadcastResponse", [
8250
8250
  {
@@ -8257,8 +8257,8 @@ class xb extends T {
8257
8257
  ]);
8258
8258
  }
8259
8259
  }
8260
- new xb();
8261
- class Ub extends T {
8260
+ new Vb();
8261
+ class xb extends T {
8262
8262
  constructor() {
8263
8263
  super("media.edge.RecordingStoppedBroadcastResponse", [
8264
8264
  {
@@ -8271,8 +8271,8 @@ class Ub extends T {
8271
8271
  ]);
8272
8272
  }
8273
8273
  }
8274
- new Ub();
8275
- class $b extends T {
8274
+ new xb();
8275
+ class Ub extends T {
8276
8276
  constructor() {
8277
8277
  super("media.edge.PeerDisplayNameEditBroadcastResponse", [
8278
8278
  {
@@ -8292,8 +8292,8 @@ class $b extends T {
8292
8292
  ]);
8293
8293
  }
8294
8294
  }
8295
- new $b();
8296
- class Bb extends T {
8295
+ new Ub();
8296
+ class $b extends T {
8297
8297
  constructor() {
8298
8298
  super("media.edge.PeerPingRequestBroadcastResponse", [
8299
8299
  {
@@ -8306,8 +8306,8 @@ class Bb extends T {
8306
8306
  ]);
8307
8307
  }
8308
8308
  }
8309
- new Bb();
8310
- class Hb extends T {
8309
+ new $b();
8310
+ class Bb extends T {
8311
8311
  constructor() {
8312
8312
  super("media.edge.MediaRoomTerminationBroadcastResponse", [
8313
8313
  {
@@ -8320,8 +8320,8 @@ class Hb extends T {
8320
8320
  ]);
8321
8321
  }
8322
8322
  }
8323
- new Hb();
8324
- class Fb extends T {
8323
+ new Bb();
8324
+ class Hb extends T {
8325
8325
  constructor() {
8326
8326
  super("socket.ai.MeetingTranscript", [
8327
8327
  {
@@ -8348,8 +8348,8 @@ class Fb extends T {
8348
8348
  ]);
8349
8349
  }
8350
8350
  }
8351
- const pu = new Fb();
8352
- class qb extends T {
8351
+ const pu = new Hb();
8352
+ class Fb extends T {
8353
8353
  constructor() {
8354
8354
  super("socket.api.BaseSocketHubMessage", [
8355
8355
  {
@@ -8413,8 +8413,8 @@ class qb extends T {
8413
8413
  ]);
8414
8414
  }
8415
8415
  }
8416
- new qb();
8417
- class jb extends T {
8416
+ new Fb();
8417
+ class qb extends T {
8418
8418
  constructor() {
8419
8419
  super("socket.api.ErrorMessage", [
8420
8420
  {
@@ -8435,7 +8435,7 @@ class jb extends T {
8435
8435
  ]);
8436
8436
  }
8437
8437
  }
8438
- const Gb = new jb();
8438
+ const jb = new qb();
8439
8439
  var Zi;
8440
8440
  (function(s) {
8441
8441
  s[s.BROWSER = 0] = "BROWSER", s[s.TRACK = 1] = "TRACK", s[s.COMPOSITE = 2] = "COMPOSITE";
@@ -8456,7 +8456,7 @@ var kd;
8456
8456
  (function(s) {
8457
8457
  s[s.HIVE = 0] = "HIVE", s[s.CHAT = 1] = "CHAT", s[s.PING = 2] = "PING";
8458
8458
  })(kd || (kd = {}));
8459
- class Wb extends T {
8459
+ class Gb extends T {
8460
8460
  constructor() {
8461
8461
  super("socket.room.PeerFlags", [
8462
8462
  {
@@ -8483,8 +8483,8 @@ class Wb extends T {
8483
8483
  ]);
8484
8484
  }
8485
8485
  }
8486
- const Jb = new Wb();
8487
- class Kb extends T {
8486
+ const Wb = new Gb();
8487
+ class Jb extends T {
8488
8488
  constructor() {
8489
8489
  super("socket.room.Peer", [
8490
8490
  {
@@ -8540,20 +8540,20 @@ class Kb extends T {
8540
8540
  T: 8
8541
8541
  /*ScalarType.BOOL*/
8542
8542
  },
8543
- { no: 9, name: "flags", kind: "message", T: () => Jb }
8543
+ { no: 9, name: "flags", kind: "message", T: () => Wb }
8544
8544
  ]);
8545
8545
  }
8546
8546
  }
8547
- const zl = new Kb();
8548
- class zb extends T {
8547
+ const zl = new Jb();
8548
+ class Kb extends T {
8549
8549
  constructor() {
8550
8550
  super("socket.room.PeerInfoResponse", [
8551
8551
  { no: 1, name: "peer", kind: "message", T: () => zl }
8552
8552
  ]);
8553
8553
  }
8554
8554
  }
8555
- const un = new zb();
8556
- class Yb extends T {
8555
+ const un = new Kb();
8556
+ class zb extends T {
8557
8557
  constructor() {
8558
8558
  super("socket.room.PeerStatusUpdate", [
8559
8559
  {
@@ -8574,8 +8574,8 @@ class Yb extends T {
8574
8574
  ]);
8575
8575
  }
8576
8576
  }
8577
- const og = new Yb();
8578
- class Qb extends T {
8577
+ const og = new zb();
8578
+ class Yb extends T {
8579
8579
  constructor() {
8580
8580
  super("socket.room.RoomPeersInfoRequest", [
8581
8581
  {
@@ -8602,16 +8602,16 @@ class Qb extends T {
8602
8602
  ]);
8603
8603
  }
8604
8604
  }
8605
- const Xb = new Qb();
8606
- class Zb extends T {
8605
+ const Qb = new Yb();
8606
+ class Xb extends T {
8607
8607
  constructor() {
8608
8608
  super("socket.room.RoomPeersInfoResponse", [
8609
8609
  { no: 1, name: "peers", kind: "message", repeat: 1, T: () => zl }
8610
8610
  ]);
8611
8611
  }
8612
8612
  }
8613
- const gu = new Zb();
8614
- class ek extends T {
8613
+ const gu = new Xb();
8614
+ class Zb extends T {
8615
8615
  constructor() {
8616
8616
  super("socket.room.RoomPeerCountResponse", [
8617
8617
  {
@@ -8625,8 +8625,8 @@ class ek extends T {
8625
8625
  ]);
8626
8626
  }
8627
8627
  }
8628
- const cg = new ek();
8629
- class tk extends T {
8628
+ const cg = new Zb();
8629
+ class ek extends T {
8630
8630
  constructor() {
8631
8631
  super("socket.room.Room", [
8632
8632
  {
@@ -8651,7 +8651,7 @@ class tk extends T {
8651
8651
  L: 2
8652
8652
  /*LongType.NUMBER*/
8653
8653
  },
8654
- { no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => rk },
8654
+ { no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => sk },
8655
8655
  {
8656
8656
  no: 6,
8657
8657
  name: "room_uuid",
@@ -8663,8 +8663,8 @@ class tk extends T {
8663
8663
  ]);
8664
8664
  }
8665
8665
  }
8666
- const Rf = new tk();
8667
- class sk extends T {
8666
+ const Rf = new ek();
8667
+ class tk extends T {
8668
8668
  constructor() {
8669
8669
  super("socket.room.ActiveRecording", [
8670
8670
  {
@@ -8685,16 +8685,16 @@ class sk extends T {
8685
8685
  ]);
8686
8686
  }
8687
8687
  }
8688
- const rk = new sk();
8689
- class ik extends T {
8688
+ const sk = new tk();
8689
+ class rk extends T {
8690
8690
  constructor() {
8691
8691
  super("socket.room.RoomInfoResponse", [
8692
8692
  { no: 1, name: "room", kind: "message", T: () => Rf }
8693
8693
  ]);
8694
8694
  }
8695
8695
  }
8696
- const dg = new ik();
8697
- class nk extends T {
8696
+ const dg = new rk();
8697
+ class ik extends T {
8698
8698
  constructor() {
8699
8699
  super("socket.room.GetPeerInfoRequest", [
8700
8700
  {
@@ -8707,8 +8707,8 @@ class nk extends T {
8707
8707
  ]);
8708
8708
  }
8709
8709
  }
8710
- const bf = new nk();
8711
- class ak extends T {
8710
+ const bf = new ik();
8711
+ class nk extends T {
8712
8712
  constructor() {
8713
8713
  super("socket.room.UpdatePeerInfoRequest", [
8714
8714
  {
@@ -8729,8 +8729,8 @@ class ak extends T {
8729
8729
  ]);
8730
8730
  }
8731
8731
  }
8732
- new ak();
8733
- class ok extends T {
8732
+ new nk();
8733
+ class ak extends T {
8734
8734
  constructor() {
8735
8735
  super("socket.room.JoinRoomRequest", [
8736
8736
  { no: 1, name: "peer", kind: "message", T: () => zl },
@@ -8778,8 +8778,8 @@ class ok extends T {
8778
8778
  ]);
8779
8779
  }
8780
8780
  }
8781
- const ck = new ok();
8782
- class dk extends T {
8781
+ const ok = new ak();
8782
+ class ck extends T {
8783
8783
  constructor() {
8784
8784
  super("socket.room.LeaveRoomRequest", [
8785
8785
  { no: 1, name: "peer", kind: "message", T: () => zl },
@@ -8795,22 +8795,22 @@ class dk extends T {
8795
8795
  ]);
8796
8796
  }
8797
8797
  }
8798
- const lk = new dk();
8799
- class uk extends T {
8798
+ const dk = new ck();
8799
+ class lk extends T {
8800
8800
  constructor() {
8801
8801
  super("socket.room.UpdateRoomInfoRequest", [
8802
8802
  { no: 1, name: "room", kind: "message", T: () => Rf }
8803
8803
  ]);
8804
8804
  }
8805
8805
  }
8806
- new uk();
8807
- class hk extends T {
8806
+ new lk();
8807
+ class uk extends T {
8808
8808
  constructor() {
8809
8809
  super("socket.room.GetConnectedRoomsDumpRequest", []);
8810
8810
  }
8811
8811
  }
8812
- new hk();
8813
- class pk extends T {
8812
+ new uk();
8813
+ class hk extends T {
8814
8814
  constructor() {
8815
8815
  super("socket.room.ServiceError", [
8816
8816
  {
@@ -8832,8 +8832,8 @@ class pk extends T {
8832
8832
  ]);
8833
8833
  }
8834
8834
  }
8835
- const Fh = new pk();
8836
- class gk extends T {
8835
+ const Fh = new hk();
8836
+ class pk extends T {
8837
8837
  constructor() {
8838
8838
  super("socket.room.ConnectedMeetingPeer", [
8839
8839
  {
@@ -8879,8 +8879,8 @@ class gk extends T {
8879
8879
  ]);
8880
8880
  }
8881
8881
  }
8882
- const mk = new gk();
8883
- class fk extends T {
8882
+ const gk = new pk();
8883
+ class mk extends T {
8884
8884
  constructor() {
8885
8885
  super("socket.room.ConnectedMeetingDump", [
8886
8886
  {
@@ -8899,12 +8899,12 @@ class fk extends T {
8899
8899
  T: 9
8900
8900
  /*ScalarType.STRING*/
8901
8901
  },
8902
- { no: 3, name: "participants", kind: "message", repeat: 1, T: () => mk }
8902
+ { no: 3, name: "participants", kind: "message", repeat: 1, T: () => gk }
8903
8903
  ]);
8904
8904
  }
8905
8905
  }
8906
- const lg = new fk();
8907
- class Sk extends T {
8906
+ const lg = new mk();
8907
+ class fk extends T {
8908
8908
  constructor() {
8909
8909
  super("socket.room.GetConnectedRoomsDumpResponse", [
8910
8910
  { no: 1, name: "parent_meeting", kind: "message", T: () => lg },
@@ -8912,8 +8912,8 @@ class Sk extends T {
8912
8912
  ]);
8913
8913
  }
8914
8914
  }
8915
- const vk = new Sk();
8916
- class Tk extends T {
8915
+ const Sk = new fk();
8916
+ class vk extends T {
8917
8917
  constructor() {
8918
8918
  super("socket.room.CreateRoomRequestPayload", [
8919
8919
  {
@@ -8927,16 +8927,16 @@ class Tk extends T {
8927
8927
  ]);
8928
8928
  }
8929
8929
  }
8930
- const yk = new Tk();
8931
- class Ek extends T {
8930
+ const Tk = new vk();
8931
+ class yk extends T {
8932
8932
  constructor() {
8933
8933
  super("socket.room.CreateConnectedRoomsRequest", [
8934
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => yk }
8934
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Tk }
8935
8935
  ]);
8936
8936
  }
8937
8937
  }
8938
- const Pk = new Ek();
8939
- class _k extends T {
8938
+ const Ek = new yk();
8939
+ class Pk extends T {
8940
8940
  constructor() {
8941
8941
  super("socket.room.CreateRoomResponsePayload", [
8942
8942
  {
@@ -8959,16 +8959,16 @@ class _k extends T {
8959
8959
  ]);
8960
8960
  }
8961
8961
  }
8962
- const Ck = new _k();
8963
- class wk extends T {
8962
+ const _k = new Pk();
8963
+ class Ck extends T {
8964
8964
  constructor() {
8965
8965
  super("socket.room.CreateConnectedRoomsResponse", [
8966
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ck }
8966
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => _k }
8967
8967
  ]);
8968
8968
  }
8969
8969
  }
8970
- const ug = new wk();
8971
- class Rk extends T {
8970
+ const ug = new Ck();
8971
+ class wk extends T {
8972
8972
  constructor() {
8973
8973
  super("socket.room.UpdateRoomRequestPayload", [
8974
8974
  {
@@ -8990,16 +8990,16 @@ class Rk extends T {
8990
8990
  ]);
8991
8991
  }
8992
8992
  }
8993
- const bk = new Rk();
8994
- class kk extends T {
8993
+ const Rk = new wk();
8994
+ class bk extends T {
8995
8995
  constructor() {
8996
8996
  super("socket.room.UpdateConnectedRoomsRequest", [
8997
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => bk }
8997
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Rk }
8998
8998
  ]);
8999
8999
  }
9000
9000
  }
9001
- new kk();
9002
- class Ak extends T {
9001
+ new bk();
9002
+ class kk extends T {
9003
9003
  constructor() {
9004
9004
  super("socket.room.DisableRoomPayload", [
9005
9005
  {
@@ -9013,24 +9013,24 @@ class Ak extends T {
9013
9013
  ]);
9014
9014
  }
9015
9015
  }
9016
- const Ik = new Ak();
9017
- class Mk extends T {
9016
+ const Ak = new kk();
9017
+ class Ik extends T {
9018
9018
  constructor() {
9019
9019
  super("socket.room.DisableConnectedRoomsRequest", [
9020
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ik }
9020
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ak }
9021
9021
  ]);
9022
9022
  }
9023
9023
  }
9024
- const Dk = new Mk();
9025
- class Ok extends T {
9024
+ const Mk = new Ik();
9025
+ class Dk extends T {
9026
9026
  constructor() {
9027
9027
  super("socket.room.DisableConnectedRoomsResponse", [
9028
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Vk }
9028
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Lk }
9029
9029
  ]);
9030
9030
  }
9031
9031
  }
9032
- const Nk = new Ok();
9033
- class Lk extends T {
9032
+ const Ok = new Dk();
9033
+ class Nk extends T {
9034
9034
  constructor() {
9035
9035
  super("socket.room.DisableConnectedRoomPayload", [
9036
9036
  {
@@ -9061,8 +9061,8 @@ class Lk extends T {
9061
9061
  ]);
9062
9062
  }
9063
9063
  }
9064
- const Vk = new Lk();
9065
- class xk extends T {
9064
+ const Lk = new Nk();
9065
+ class Vk extends T {
9066
9066
  constructor() {
9067
9067
  super("socket.room.MovePeerPayload", [
9068
9068
  {
@@ -9084,8 +9084,8 @@ class xk extends T {
9084
9084
  ]);
9085
9085
  }
9086
9086
  }
9087
- const Uk = new xk();
9088
- class $k extends T {
9087
+ const xk = new Vk();
9088
+ class Uk extends T {
9089
9089
  constructor() {
9090
9090
  super("socket.room.MovePeersBetweenRoomsRequest", [
9091
9091
  {
@@ -9104,12 +9104,12 @@ class $k extends T {
9104
9104
  T: 9
9105
9105
  /*ScalarType.STRING*/
9106
9106
  },
9107
- { no: 3, name: "participants", kind: "message", repeat: 1, T: () => Uk }
9107
+ { no: 3, name: "participants", kind: "message", repeat: 1, T: () => xk }
9108
9108
  ]);
9109
9109
  }
9110
9110
  }
9111
- const Bk = new $k();
9112
- class Hk extends T {
9111
+ const $k = new Uk();
9112
+ class Bk extends T {
9113
9113
  constructor() {
9114
9114
  super("socket.room.MovedPeer", [
9115
9115
  {
@@ -9132,16 +9132,16 @@ class Hk extends T {
9132
9132
  ]);
9133
9133
  }
9134
9134
  }
9135
- const kf = new Hk();
9136
- class Fk extends T {
9135
+ const kf = new Bk();
9136
+ class Hk extends T {
9137
9137
  constructor() {
9138
9138
  super("socket.room.MovePeersBetweenRoomsResponse", [
9139
9139
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => kf }
9140
9140
  ]);
9141
9141
  }
9142
9142
  }
9143
- new Fk();
9144
- class qk extends T {
9143
+ new Hk();
9144
+ class Fk extends T {
9145
9145
  constructor() {
9146
9146
  super("socket.room.TransferPeer", [
9147
9147
  {
@@ -9163,16 +9163,16 @@ class qk extends T {
9163
9163
  ]);
9164
9164
  }
9165
9165
  }
9166
- const jk = new qk();
9167
- class Gk extends T {
9166
+ const qk = new Fk();
9167
+ class jk extends T {
9168
9168
  constructor() {
9169
9169
  super("socket.room.GetAllAddedParticipantsResponse", [
9170
- { no: 1, name: "participants", kind: "message", repeat: 1, T: () => Kk }
9170
+ { no: 1, name: "participants", kind: "message", repeat: 1, T: () => Jk }
9171
9171
  ]);
9172
9172
  }
9173
9173
  }
9174
- const Wk = new Gk();
9175
- class Jk extends T {
9174
+ const Gk = new jk();
9175
+ class Wk extends T {
9176
9176
  constructor() {
9177
9177
  super("socket.room.AddedParticipant", [
9178
9178
  {
@@ -9208,8 +9208,8 @@ class Jk extends T {
9208
9208
  ]);
9209
9209
  }
9210
9210
  }
9211
- const Kk = new Jk();
9212
- class zk extends T {
9211
+ const Jk = new Wk();
9212
+ class Kk extends T {
9213
9213
  constructor() {
9214
9214
  super("socket.room.RemoveParticipantsRequest", [
9215
9215
  {
@@ -9223,8 +9223,8 @@ class zk extends T {
9223
9223
  ]);
9224
9224
  }
9225
9225
  }
9226
- const Af = new zk();
9227
- class Yk extends T {
9226
+ const Af = new Kk();
9227
+ class zk extends T {
9228
9228
  constructor() {
9229
9229
  super("socket.room.BroadcastMessage", [
9230
9230
  {
@@ -9261,8 +9261,8 @@ class Yk extends T {
9261
9261
  ]);
9262
9262
  }
9263
9263
  }
9264
- const Ka = new Yk();
9265
- class Qk extends T {
9264
+ const Ka = new zk();
9265
+ class Yk extends T {
9266
9266
  constructor() {
9267
9267
  super("socket.room.AcceptWaitingRoomRequests", [
9268
9268
  {
@@ -9276,8 +9276,8 @@ class Qk extends T {
9276
9276
  ]);
9277
9277
  }
9278
9278
  }
9279
- const Xk = new Qk();
9280
- class Zk extends T {
9279
+ const Qk = new Yk();
9280
+ class Xk extends T {
9281
9281
  constructor() {
9282
9282
  super("socket.room.DenyWaitingRoomRequests", [
9283
9283
  {
@@ -9291,8 +9291,8 @@ class Zk extends T {
9291
9291
  ]);
9292
9292
  }
9293
9293
  }
9294
- const eA = new Zk();
9295
- class tA extends T {
9294
+ const Zk = new Xk();
9295
+ class eA extends T {
9296
9296
  constructor() {
9297
9297
  super("socket.room.WaitingRoomRequest", [
9298
9298
  {
@@ -9343,16 +9343,16 @@ class tA extends T {
9343
9343
  ]);
9344
9344
  }
9345
9345
  }
9346
- const sA = new tA();
9347
- class rA extends T {
9346
+ const tA = new eA();
9347
+ class sA extends T {
9348
9348
  constructor() {
9349
9349
  super("socket.room.GetWaitingRoomRequests", [
9350
- { no: 1, name: "requests", kind: "message", repeat: 1, T: () => sA }
9350
+ { no: 1, name: "requests", kind: "message", repeat: 1, T: () => tA }
9351
9351
  ]);
9352
9352
  }
9353
9353
  }
9354
- const hg = new rA();
9355
- class iA extends T {
9354
+ const hg = new sA();
9355
+ class rA extends T {
9356
9356
  constructor() {
9357
9357
  super("socket.room.GetRoomStageStateResponse", [
9358
9358
  {
@@ -9382,7 +9382,7 @@ class iA extends T {
9382
9382
  ]);
9383
9383
  }
9384
9384
  }
9385
- const pg = new iA();
9385
+ const pg = new rA();
9386
9386
  var xu;
9387
9387
  (function(s) {
9388
9388
  s[s.NONE = 0] = "NONE", s[s.SKIP = 1] = "SKIP", s[s.ON_PRIVILEGED_USER_ENTRY = 2] = "ON_PRIVILEGED_USER_ENTRY", s[s.SKIP_ON_ACCEPT = 3] = "SKIP_ON_ACCEPT";
@@ -9391,7 +9391,7 @@ var zr;
9391
9391
  (function(s) {
9392
9392
  s[s.NONE = 0] = "NONE", s[s.ALLOWED = 1] = "ALLOWED", s[s.NOT_ALLOWED = 2] = "NOT_ALLOWED", s[s.CAN_REQUEST = 3] = "CAN_REQUEST";
9393
9393
  })(zr || (zr = {}));
9394
- class nA extends T {
9394
+ class iA extends T {
9395
9395
  constructor() {
9396
9396
  super("socket.preset.PollsPermissionUpdate", [
9397
9397
  {
@@ -9421,8 +9421,8 @@ class nA extends T {
9421
9421
  ]);
9422
9422
  }
9423
9423
  }
9424
- const aA = new nA();
9425
- class oA extends T {
9424
+ const nA = new iA();
9425
+ class aA extends T {
9426
9426
  constructor() {
9427
9427
  super("socket.preset.PluginsPermissionsUpdate", [
9428
9428
  {
@@ -9444,8 +9444,8 @@ class oA extends T {
9444
9444
  ]);
9445
9445
  }
9446
9446
  }
9447
- const cA = new oA();
9448
- class dA extends T {
9447
+ const oA = new aA();
9448
+ class cA extends T {
9449
9449
  constructor() {
9450
9450
  super("socket.preset.PublicChatPermission", [
9451
9451
  {
@@ -9475,8 +9475,8 @@ class dA extends T {
9475
9475
  ]);
9476
9476
  }
9477
9477
  }
9478
- const lA = new dA();
9479
- class uA extends T {
9478
+ const dA = new cA();
9479
+ class lA extends T {
9480
9480
  constructor() {
9481
9481
  super("socket.preset.PrivateChatPermission", [
9482
9482
  {
@@ -9514,17 +9514,17 @@ class uA extends T {
9514
9514
  ]);
9515
9515
  }
9516
9516
  }
9517
- const hA = new uA();
9518
- class pA extends T {
9517
+ const uA = new lA();
9518
+ class hA extends T {
9519
9519
  constructor() {
9520
9520
  super("socket.preset.ChatPermissionUpdate", [
9521
- { no: 1, name: "public", kind: "message", T: () => lA },
9522
- { no: 2, name: "private", kind: "message", T: () => hA }
9521
+ { no: 1, name: "public", kind: "message", T: () => dA },
9522
+ { no: 2, name: "private", kind: "message", T: () => uA }
9523
9523
  ]);
9524
9524
  }
9525
9525
  }
9526
- const gA = new pA();
9527
- class mA extends T {
9526
+ const pA = new hA();
9527
+ class gA extends T {
9528
9528
  constructor() {
9529
9529
  super("socket.preset.ConnectedMeetingPermissionUpdate", [
9530
9530
  {
@@ -9554,8 +9554,8 @@ class mA extends T {
9554
9554
  ]);
9555
9555
  }
9556
9556
  }
9557
- const fA = new mA();
9558
- class SA extends T {
9557
+ const mA = new gA();
9558
+ class fA extends T {
9559
9559
  constructor() {
9560
9560
  super("socket.preset.StreamPermission", [
9561
9561
  { no: 1, name: "can_produce", kind: "enum", opt: !0, T: () => ["socket.preset.StreamPermissionType", zr, "STREAM_PERMISSION_TYPE_"] },
@@ -9563,8 +9563,8 @@ class SA extends T {
9563
9563
  ]);
9564
9564
  }
9565
9565
  }
9566
- const mu = new SA();
9567
- class vA extends T {
9566
+ const mu = new fA();
9567
+ class SA extends T {
9568
9568
  constructor() {
9569
9569
  super("socket.preset.MediaPermissionUpdate", [
9570
9570
  { no: 1, name: "video", kind: "message", T: () => mu },
@@ -9573,13 +9573,13 @@ class vA extends T {
9573
9573
  ]);
9574
9574
  }
9575
9575
  }
9576
- const TA = new vA();
9577
- class yA extends T {
9576
+ const vA = new SA();
9577
+ class TA extends T {
9578
9578
  constructor() {
9579
9579
  super("socket.preset.PresetUpdates", [
9580
- { no: 1, name: "polls", kind: "message", T: () => aA },
9581
- { no: 2, name: "plugins", kind: "message", T: () => cA },
9582
- { no: 3, name: "chat", kind: "message", T: () => gA },
9580
+ { no: 1, name: "polls", kind: "message", T: () => nA },
9581
+ { no: 2, name: "plugins", kind: "message", T: () => oA },
9582
+ { no: 3, name: "chat", kind: "message", T: () => pA },
9583
9583
  {
9584
9584
  no: 4,
9585
9585
  name: "accept_waiting_requests",
@@ -9710,13 +9710,13 @@ class yA extends T {
9710
9710
  T: 8
9711
9711
  /*ScalarType.BOOL*/
9712
9712
  },
9713
- { no: 22, name: "connected_meetings", kind: "message", T: () => fA },
9714
- { no: 23, name: "media", kind: "message", T: () => TA }
9713
+ { no: 22, name: "connected_meetings", kind: "message", T: () => mA },
9714
+ { no: 23, name: "media", kind: "message", T: () => vA }
9715
9715
  ]);
9716
9716
  }
9717
9717
  }
9718
- const qh = new yA();
9719
- class EA extends T {
9718
+ const qh = new TA();
9719
+ class yA extends T {
9720
9720
  constructor() {
9721
9721
  super("socket.preset.ReadPeersPresetRequest", [
9722
9722
  {
@@ -9730,8 +9730,8 @@ class EA extends T {
9730
9730
  ]);
9731
9731
  }
9732
9732
  }
9733
- const PA = new EA();
9734
- class _A extends T {
9733
+ const EA = new yA();
9734
+ class PA extends T {
9735
9735
  constructor() {
9736
9736
  super("socket.preset.PeerPreset", [
9737
9737
  {
@@ -9758,16 +9758,16 @@ class _A extends T {
9758
9758
  ]);
9759
9759
  }
9760
9760
  }
9761
- const CA = new _A();
9762
- class wA extends T {
9761
+ const _A = new PA();
9762
+ class CA extends T {
9763
9763
  constructor() {
9764
9764
  super("socket.preset.ReadPeersPresetResponse", [
9765
- { no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => CA }
9765
+ { no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => _A }
9766
9766
  ]);
9767
9767
  }
9768
9768
  }
9769
- const RA = new wA();
9770
- class bA extends T {
9769
+ const wA = new CA();
9770
+ class RA extends T {
9771
9771
  constructor() {
9772
9772
  super("socket.preset.UpdatePeerPreset", [
9773
9773
  {
@@ -9781,24 +9781,24 @@ class bA extends T {
9781
9781
  ]);
9782
9782
  }
9783
9783
  }
9784
- const If = new bA();
9785
- class kA extends T {
9784
+ const If = new RA();
9785
+ class bA extends T {
9786
9786
  constructor() {
9787
9787
  super("socket.preset.UpdatePeersPresetRequest", [
9788
9788
  { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => If }
9789
9789
  ]);
9790
9790
  }
9791
9791
  }
9792
- const AA = new kA();
9793
- class IA extends T {
9792
+ const kA = new bA();
9793
+ class AA extends T {
9794
9794
  constructor() {
9795
9795
  super("socket.preset.UpdatePeersPresetResponse", [
9796
9796
  { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => If }
9797
9797
  ]);
9798
9798
  }
9799
9799
  }
9800
- const gg = new IA();
9801
- class MA extends T {
9800
+ const gg = new AA();
9801
+ class IA extends T {
9802
9802
  constructor() {
9803
9803
  super("socket.preset.PeerUserIDMap", [
9804
9804
  {
@@ -9818,25 +9818,25 @@ class MA extends T {
9818
9818
  ]);
9819
9819
  }
9820
9820
  }
9821
- const DA = new MA();
9822
- class OA extends T {
9821
+ const MA = new IA();
9822
+ class DA extends T {
9823
9823
  constructor() {
9824
9824
  super("socket.preset.BulkUpdatePeerPresetRequest", [
9825
- { no: 1, name: "peers", kind: "message", repeat: 1, T: () => DA },
9825
+ { no: 1, name: "peers", kind: "message", repeat: 1, T: () => MA },
9826
9826
  { no: 2, name: "patch", kind: "message", T: () => qh }
9827
9827
  ]);
9828
9828
  }
9829
9829
  }
9830
- new OA();
9831
- class NA extends T {
9830
+ new DA();
9831
+ class OA extends T {
9832
9832
  constructor() {
9833
9833
  super("socket.preset.BulkUpdatePeerPresetResponse", [
9834
9834
  { no: 2, name: "patch", kind: "message", T: () => qh }
9835
9835
  ]);
9836
9836
  }
9837
9837
  }
9838
- new NA();
9839
- class LA extends T {
9838
+ new OA();
9839
+ class NA extends T {
9840
9840
  constructor() {
9841
9841
  super("socket.chat.ChatMessage", [
9842
9842
  {
@@ -9939,8 +9939,8 @@ class LA extends T {
9939
9939
  ]);
9940
9940
  }
9941
9941
  }
9942
- const ti = new LA();
9943
- class VA extends T {
9942
+ const ti = new NA();
9943
+ class LA extends T {
9944
9944
  constructor() {
9945
9945
  super("socket.chat.GetPaginatedChatMessageFilters", [
9946
9946
  {
@@ -9962,8 +9962,8 @@ class VA extends T {
9962
9962
  ]);
9963
9963
  }
9964
9964
  }
9965
- const xA = new VA();
9966
- class UA extends T {
9965
+ const VA = new LA();
9966
+ class xA extends T {
9967
9967
  constructor() {
9968
9968
  super("socket.chat.GetPaginatedChatMessageRoomRequest", [
9969
9969
  {
@@ -10003,12 +10003,12 @@ class UA extends T {
10003
10003
  T: 9
10004
10004
  /*ScalarType.STRING*/
10005
10005
  },
10006
- { no: 6, name: "filters", kind: "message", T: () => xA }
10006
+ { no: 6, name: "filters", kind: "message", T: () => VA }
10007
10007
  ]);
10008
10008
  }
10009
10009
  }
10010
- const $A = new UA();
10011
- class BA extends T {
10010
+ const UA = new xA();
10011
+ class $A extends T {
10012
10012
  constructor() {
10013
10013
  super("socket.chat.GetPaginatedChatMessageRoomResponse", [
10014
10014
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => ti },
@@ -10022,16 +10022,16 @@ class BA extends T {
10022
10022
  ]);
10023
10023
  }
10024
10024
  }
10025
- const HA = new BA();
10026
- class FA extends T {
10025
+ const BA = new $A();
10026
+ class HA extends T {
10027
10027
  constructor() {
10028
10028
  super("socket.chat.GetChatMessagesResponse", [
10029
10029
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => ti }
10030
10030
  ]);
10031
10031
  }
10032
10032
  }
10033
- const Mf = new FA();
10034
- class qA extends T {
10033
+ const Mf = new HA();
10034
+ class FA extends T {
10035
10035
  constructor() {
10036
10036
  super("socket.chat.SendChatMessageToRoomRequest", [
10037
10037
  {
@@ -10051,16 +10051,16 @@ class qA extends T {
10051
10051
  ]);
10052
10052
  }
10053
10053
  }
10054
- const jA = new qA();
10055
- class GA extends T {
10054
+ const qA = new FA();
10055
+ class jA extends T {
10056
10056
  constructor() {
10057
10057
  super("socket.chat.SendChatMessageToRoomResponse", [
10058
10058
  { no: 1, name: "message", kind: "message", T: () => ti }
10059
10059
  ]);
10060
10060
  }
10061
10061
  }
10062
- const fu = new GA();
10063
- class WA extends T {
10062
+ const fu = new jA();
10063
+ class GA extends T {
10064
10064
  constructor() {
10065
10065
  super("socket.chat.SendChatMessageToPeersRequest", [
10066
10066
  {
@@ -10088,16 +10088,16 @@ class WA extends T {
10088
10088
  ]);
10089
10089
  }
10090
10090
  }
10091
- const JA = new WA();
10092
- class KA extends T {
10091
+ const WA = new GA();
10092
+ class JA extends T {
10093
10093
  constructor() {
10094
10094
  super("socket.chat.SendChatMessageToPeersResponse", [
10095
10095
  { no: 1, name: "message", kind: "message", T: () => ti }
10096
10096
  ]);
10097
10097
  }
10098
10098
  }
10099
- const Su = new KA();
10100
- class zA extends T {
10099
+ const Su = new JA();
10100
+ class KA extends T {
10101
10101
  constructor() {
10102
10102
  super("socket.chat.SendChatMessageToChannelRequest", [
10103
10103
  {
@@ -10124,16 +10124,16 @@ class zA extends T {
10124
10124
  ]);
10125
10125
  }
10126
10126
  }
10127
- new zA();
10128
- class YA extends T {
10127
+ new KA();
10128
+ class zA extends T {
10129
10129
  constructor() {
10130
10130
  super("socket.chat.SendChatMessageToChannelResponse", [
10131
10131
  { no: 1, name: "message", kind: "message", T: () => ti }
10132
10132
  ]);
10133
10133
  }
10134
10134
  }
10135
- new YA();
10136
- class QA extends T {
10135
+ new zA();
10136
+ class YA extends T {
10137
10137
  constructor() {
10138
10138
  super("socket.chat.EditChatMessageRequest", [
10139
10139
  {
@@ -10178,8 +10178,8 @@ class QA extends T {
10178
10178
  ]);
10179
10179
  }
10180
10180
  }
10181
- const XA = new QA();
10182
- class ZA extends T {
10181
+ const QA = new YA();
10182
+ class XA extends T {
10183
10183
  constructor() {
10184
10184
  super("socket.chat.PinChatMessageRequest", [
10185
10185
  {
@@ -10207,8 +10207,8 @@ class ZA extends T {
10207
10207
  ]);
10208
10208
  }
10209
10209
  }
10210
- const eI = new ZA();
10211
- class tI extends T {
10210
+ const ZA = new XA();
10211
+ class eI extends T {
10212
10212
  constructor() {
10213
10213
  super("socket.chat.PinChatMessageResponse", [
10214
10214
  {
@@ -10237,16 +10237,16 @@ class tI extends T {
10237
10237
  ]);
10238
10238
  }
10239
10239
  }
10240
- const td = new tI();
10241
- class sI extends T {
10240
+ const td = new eI();
10241
+ class tI extends T {
10242
10242
  constructor() {
10243
10243
  super("socket.chat.EditChatMessageResponse", [
10244
10244
  { no: 1, name: "message", kind: "message", T: () => ti }
10245
10245
  ]);
10246
10246
  }
10247
10247
  }
10248
- const sd = new sI();
10249
- class rI extends T {
10248
+ const sd = new tI();
10249
+ class sI extends T {
10250
10250
  constructor() {
10251
10251
  super("socket.chat.DeleteChatMessageRequest", [
10252
10252
  {
@@ -10267,8 +10267,8 @@ class rI extends T {
10267
10267
  ]);
10268
10268
  }
10269
10269
  }
10270
- const iI = new rI();
10271
- class nI extends T {
10270
+ const rI = new sI();
10271
+ class iI extends T {
10272
10272
  constructor() {
10273
10273
  super("socket.chat.DeleteChatMessageResponse", [
10274
10274
  {
@@ -10289,8 +10289,8 @@ class nI extends T {
10289
10289
  ]);
10290
10290
  }
10291
10291
  }
10292
- const rd = new nI();
10293
- class aI extends T {
10292
+ const rd = new iI();
10293
+ class nI extends T {
10294
10294
  constructor() {
10295
10295
  super("socket.chat.SearchChatMessagesRequest", [
10296
10296
  {
@@ -10340,8 +10340,8 @@ class aI extends T {
10340
10340
  ]);
10341
10341
  }
10342
10342
  }
10343
- const oI = new aI();
10344
- class cI extends T {
10343
+ const aI = new nI();
10344
+ class oI extends T {
10345
10345
  constructor() {
10346
10346
  super("socket.chat.MarkChannelIndexAsReadRequest", [
10347
10347
  {
@@ -10368,8 +10368,8 @@ class cI extends T {
10368
10368
  ]);
10369
10369
  }
10370
10370
  }
10371
- new cI();
10372
- class dI extends T {
10371
+ new oI();
10372
+ class cI extends T {
10373
10373
  constructor() {
10374
10374
  super("socket.chat.MarkChannelIndexAsReadResponse", [
10375
10375
  {
@@ -10382,8 +10382,8 @@ class dI extends T {
10382
10382
  ]);
10383
10383
  }
10384
10384
  }
10385
- new dI();
10386
- class lI extends T {
10385
+ new cI();
10386
+ class dI extends T {
10387
10387
  constructor() {
10388
10388
  super("socket.chat.CreateChatChannelRequest", [
10389
10389
  {
@@ -10426,8 +10426,8 @@ class lI extends T {
10426
10426
  ]);
10427
10427
  }
10428
10428
  }
10429
- new lI();
10430
- class uI extends T {
10429
+ new dI();
10430
+ class lI extends T {
10431
10431
  constructor() {
10432
10432
  super("socket.chat.UpdateChatChannelRequest", [
10433
10433
  {
@@ -10480,8 +10480,8 @@ class uI extends T {
10480
10480
  ]);
10481
10481
  }
10482
10482
  }
10483
- new uI();
10484
- class hI extends T {
10483
+ new lI();
10484
+ class uI extends T {
10485
10485
  constructor() {
10486
10486
  super("socket.chat.CreateChatChannelResponse", [
10487
10487
  {
@@ -10494,8 +10494,8 @@ class hI extends T {
10494
10494
  ]);
10495
10495
  }
10496
10496
  }
10497
- new hI();
10498
- class pI extends T {
10497
+ new uI();
10498
+ class hI extends T {
10499
10499
  constructor() {
10500
10500
  super("socket.chat.GetChatChannelRequest", [
10501
10501
  {
@@ -10508,8 +10508,8 @@ class pI extends T {
10508
10508
  ]);
10509
10509
  }
10510
10510
  }
10511
- new pI();
10512
- class gI extends T {
10511
+ new hI();
10512
+ class pI extends T {
10513
10513
  constructor() {
10514
10514
  super("socket.chat.LatestMessageAndUnreadCount", [
10515
10515
  { no: 1, name: "message", kind: "message", T: () => ti },
@@ -10524,8 +10524,8 @@ class gI extends T {
10524
10524
  ]);
10525
10525
  }
10526
10526
  }
10527
- const mI = new gI();
10528
- class fI extends T {
10527
+ const gI = new pI();
10528
+ class mI extends T {
10529
10529
  constructor() {
10530
10530
  super("socket.chat.ChatChannel", [
10531
10531
  {
@@ -10564,7 +10564,7 @@ class fI extends T {
10564
10564
  T: 8
10565
10565
  /*ScalarType.BOOL*/
10566
10566
  },
10567
- { no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => mI },
10567
+ { no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => gI },
10568
10568
  {
10569
10569
  no: 7,
10570
10570
  name: "target_user_ids",
@@ -10576,16 +10576,16 @@ class fI extends T {
10576
10576
  ]);
10577
10577
  }
10578
10578
  }
10579
- const SI = new fI();
10580
- class vI extends T {
10579
+ const fI = new mI();
10580
+ class SI extends T {
10581
10581
  constructor() {
10582
10582
  super("socket.chat.GetChatChannelResponse", [
10583
- { no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => SI }
10583
+ { no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => fI }
10584
10584
  ]);
10585
10585
  }
10586
10586
  }
10587
- new vI();
10588
- class TI extends T {
10587
+ new SI();
10588
+ class vI extends T {
10589
10589
  constructor() {
10590
10590
  super("socket.chat.ChannelMember", [
10591
10591
  {
@@ -10621,16 +10621,16 @@ class TI extends T {
10621
10621
  ]);
10622
10622
  }
10623
10623
  }
10624
- const yI = new TI();
10625
- class EI extends T {
10624
+ const TI = new vI();
10625
+ class yI extends T {
10626
10626
  constructor() {
10627
10627
  super("socket.chat.GetChatChannelMembersResponse", [
10628
- { no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => yI }
10628
+ { no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => TI }
10629
10629
  ]);
10630
10630
  }
10631
10631
  }
10632
- new EI();
10633
- class PI extends T {
10632
+ new yI();
10633
+ class EI extends T {
10634
10634
  constructor() {
10635
10635
  super("socket.plugin.AddPluginRequest", [
10636
10636
  {
@@ -10650,8 +10650,8 @@ class PI extends T {
10650
10650
  ]);
10651
10651
  }
10652
10652
  }
10653
- new PI();
10654
- class _I extends T {
10653
+ new EI();
10654
+ class PI extends T {
10655
10655
  constructor() {
10656
10656
  super("socket.plugin.RemovePluginRequest", [
10657
10657
  {
@@ -10671,8 +10671,8 @@ class _I extends T {
10671
10671
  ]);
10672
10672
  }
10673
10673
  }
10674
- new _I();
10675
- class CI extends T {
10674
+ new PI();
10675
+ class _I extends T {
10676
10676
  constructor() {
10677
10677
  super("socket.plugin.EnablePluginForRoomRequest", [
10678
10678
  {
@@ -10685,8 +10685,8 @@ class CI extends T {
10685
10685
  ]);
10686
10686
  }
10687
10687
  }
10688
- new CI();
10689
- class wI extends T {
10688
+ new _I();
10689
+ class CI extends T {
10690
10690
  constructor() {
10691
10691
  super("socket.plugin.DisablePluginForRoomRequest", [
10692
10692
  {
@@ -10699,8 +10699,8 @@ class wI extends T {
10699
10699
  ]);
10700
10700
  }
10701
10701
  }
10702
- new wI();
10703
- class RI extends T {
10702
+ new CI();
10703
+ class wI extends T {
10704
10704
  constructor() {
10705
10705
  super("socket.plugin.EnablePluginForPeersRequest", [
10706
10706
  {
@@ -10721,8 +10721,8 @@ class RI extends T {
10721
10721
  ]);
10722
10722
  }
10723
10723
  }
10724
- new RI();
10725
- class bI extends T {
10724
+ new wI();
10725
+ class RI extends T {
10726
10726
  constructor() {
10727
10727
  super("socket.plugin.DisablePluginForPeersRequest", [
10728
10728
  {
@@ -10743,8 +10743,8 @@ class bI extends T {
10743
10743
  ]);
10744
10744
  }
10745
10745
  }
10746
- new bI();
10747
- class kI extends T {
10746
+ new RI();
10747
+ class bI extends T {
10748
10748
  constructor() {
10749
10749
  super("socket.plugin.PluginEventToRoomRequest", [
10750
10750
  {
@@ -10764,8 +10764,8 @@ class kI extends T {
10764
10764
  ]);
10765
10765
  }
10766
10766
  }
10767
- new kI();
10768
- class AI extends T {
10767
+ new bI();
10768
+ class kI extends T {
10769
10769
  constructor() {
10770
10770
  super("socket.plugin.PluginEventToPeersRequest", [
10771
10771
  {
@@ -10793,8 +10793,8 @@ class AI extends T {
10793
10793
  ]);
10794
10794
  }
10795
10795
  }
10796
- new AI();
10797
- class II extends T {
10796
+ new kI();
10797
+ class AI extends T {
10798
10798
  constructor() {
10799
10799
  super("socket.plugin.StoreKeys", [
10800
10800
  {
@@ -10815,8 +10815,8 @@ class II extends T {
10815
10815
  ]);
10816
10816
  }
10817
10817
  }
10818
- const jh = new II();
10819
- class MI extends T {
10818
+ const jh = new AI();
10819
+ class II extends T {
10820
10820
  constructor() {
10821
10821
  super("socket.plugin.PluginStoreInsertKeysRequest", [
10822
10822
  {
@@ -10837,8 +10837,8 @@ class MI extends T {
10837
10837
  ]);
10838
10838
  }
10839
10839
  }
10840
- const DI = new MI();
10841
- class OI extends T {
10840
+ const MI = new II();
10841
+ class DI extends T {
10842
10842
  constructor() {
10843
10843
  super("socket.plugin.PluginStoreGetKeysRequest", [
10844
10844
  {
@@ -10859,8 +10859,8 @@ class OI extends T {
10859
10859
  ]);
10860
10860
  }
10861
10861
  }
10862
- const NI = new OI();
10863
- class LI extends T {
10862
+ const OI = new DI();
10863
+ class NI extends T {
10864
10864
  constructor() {
10865
10865
  super("socket.plugin.PluginStoreDeleteKeysRequest", [
10866
10866
  {
@@ -10881,8 +10881,8 @@ class LI extends T {
10881
10881
  ]);
10882
10882
  }
10883
10883
  }
10884
- const VI = new LI();
10885
- class xI extends T {
10884
+ const LI = new NI();
10885
+ class VI extends T {
10886
10886
  constructor() {
10887
10887
  super("socket.plugin.PluginStoreDeleteRequest", [
10888
10888
  {
@@ -10902,8 +10902,8 @@ class xI extends T {
10902
10902
  ]);
10903
10903
  }
10904
10904
  }
10905
- new xI();
10906
- class UI extends T {
10905
+ new VI();
10906
+ class xI extends T {
10907
10907
  constructor() {
10908
10908
  super("socket.plugin.EnablePluginResponse", [
10909
10909
  {
@@ -10923,16 +10923,16 @@ class UI extends T {
10923
10923
  ]);
10924
10924
  }
10925
10925
  }
10926
- const $I = new UI();
10927
- class BI extends T {
10926
+ const UI = new xI();
10927
+ class $I extends T {
10928
10928
  constructor() {
10929
10929
  super("socket.plugin.EnablePluginsResponse", [
10930
- { no: 1, name: "plugins", kind: "message", repeat: 1, T: () => $I }
10930
+ { no: 1, name: "plugins", kind: "message", repeat: 1, T: () => UI }
10931
10931
  ]);
10932
10932
  }
10933
10933
  }
10934
- new BI();
10935
- class HI extends T {
10934
+ new $I();
10935
+ class BI extends T {
10936
10936
  constructor() {
10937
10937
  super("socket.plugin.DisablePluginResponse", [
10938
10938
  {
@@ -10952,8 +10952,8 @@ class HI extends T {
10952
10952
  ]);
10953
10953
  }
10954
10954
  }
10955
- new HI();
10956
- class FI extends T {
10955
+ new BI();
10956
+ class HI extends T {
10957
10957
  constructor() {
10958
10958
  super("socket.plugin.PluginStoreItem", [
10959
10959
  {
@@ -10987,8 +10987,8 @@ class FI extends T {
10987
10987
  ]);
10988
10988
  }
10989
10989
  }
10990
- const qI = new FI();
10991
- class jI extends T {
10990
+ const FI = new HI();
10991
+ class qI extends T {
10992
10992
  constructor() {
10993
10993
  super("socket.plugin.PluginStoreResponse", [
10994
10994
  {
@@ -11005,12 +11005,12 @@ class jI extends T {
11005
11005
  T: 9
11006
11006
  /*ScalarType.STRING*/
11007
11007
  },
11008
- { no: 3, name: "store_items", kind: "message", repeat: 1, T: () => qI }
11008
+ { no: 3, name: "store_items", kind: "message", repeat: 1, T: () => FI }
11009
11009
  ]);
11010
11010
  }
11011
11011
  }
11012
- const mg = new jI();
11013
- class GI extends T {
11012
+ const mg = new qI();
11013
+ class jI extends T {
11014
11014
  constructor() {
11015
11015
  super("socket.plugin.PluginEventResponse", [
11016
11016
  {
@@ -11030,8 +11030,8 @@ class GI extends T {
11030
11030
  ]);
11031
11031
  }
11032
11032
  }
11033
- new GI();
11034
- class WI extends T {
11033
+ new jI();
11034
+ class GI extends T {
11035
11035
  constructor() {
11036
11036
  super("socket.livestreaming.LiveStreamingEvent", [
11037
11037
  {
@@ -11108,8 +11108,8 @@ class WI extends T {
11108
11108
  ]);
11109
11109
  }
11110
11110
  }
11111
- const fg = new WI();
11112
- class JI extends T {
11111
+ const fg = new GI();
11112
+ class WI extends T {
11113
11113
  constructor() {
11114
11114
  super("socket.livestreaming.GetStagePeersResponse", [
11115
11115
  {
@@ -11123,8 +11123,8 @@ class JI extends T {
11123
11123
  ]);
11124
11124
  }
11125
11125
  }
11126
- const Sg = new JI();
11127
- class KI extends T {
11126
+ const Sg = new WI();
11127
+ class JI extends T {
11128
11128
  constructor() {
11129
11129
  super("socket.livestreaming.StageRequest", [
11130
11130
  {
@@ -11151,16 +11151,16 @@ class KI extends T {
11151
11151
  ]);
11152
11152
  }
11153
11153
  }
11154
- const zI = new KI();
11155
- class YI extends T {
11154
+ const KI = new JI();
11155
+ class zI extends T {
11156
11156
  constructor() {
11157
11157
  super("socket.livestreaming.GetStageRequestsResponse", [
11158
- { no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => zI }
11158
+ { no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => KI }
11159
11159
  ]);
11160
11160
  }
11161
11161
  }
11162
- const vu = new YI();
11163
- class QI extends T {
11162
+ const vu = new zI();
11163
+ class YI extends T {
11164
11164
  constructor() {
11165
11165
  super("socket.livestreaming.GrantStageAccessRequest", [
11166
11166
  {
@@ -11174,8 +11174,8 @@ class QI extends T {
11174
11174
  ]);
11175
11175
  }
11176
11176
  }
11177
- const XI = new QI();
11178
- class ZI extends T {
11177
+ const QI = new YI();
11178
+ class XI extends T {
11179
11179
  constructor() {
11180
11180
  super("socket.livestreaming.DenyStageAccessRequest", [
11181
11181
  {
@@ -11189,8 +11189,8 @@ class ZI extends T {
11189
11189
  ]);
11190
11190
  }
11191
11191
  }
11192
- const e0 = new ZI();
11193
- class t0 extends T {
11192
+ const ZI = new XI();
11193
+ class e0 extends T {
11194
11194
  constructor() {
11195
11195
  super("socket.livestreaming.LeaveStageRequest", [
11196
11196
  {
@@ -11204,8 +11204,8 @@ class t0 extends T {
11204
11204
  ]);
11205
11205
  }
11206
11206
  }
11207
- const vg = new t0();
11208
- class s0 extends T {
11207
+ const vg = new e0();
11208
+ class t0 extends T {
11209
11209
  constructor() {
11210
11210
  super("socket.polls.Poll", [
11211
11211
  {
@@ -11236,7 +11236,7 @@ class s0 extends T {
11236
11236
  T: 9
11237
11237
  /*ScalarType.STRING*/
11238
11238
  },
11239
- { no: 5, name: "options", kind: "message", repeat: 1, T: () => i0 },
11239
+ { no: 5, name: "options", kind: "message", repeat: 1, T: () => r0 },
11240
11240
  {
11241
11241
  no: 6,
11242
11242
  name: "hide_votes",
@@ -11262,8 +11262,8 @@ class s0 extends T {
11262
11262
  ]);
11263
11263
  }
11264
11264
  }
11265
- const Df = new s0();
11266
- class r0 extends T {
11265
+ const Df = new t0();
11266
+ class s0 extends T {
11267
11267
  constructor() {
11268
11268
  super("socket.polls.PollOption", [
11269
11269
  {
@@ -11282,12 +11282,12 @@ class r0 extends T {
11282
11282
  L: 2
11283
11283
  /*LongType.NUMBER*/
11284
11284
  },
11285
- { no: 3, name: "votes", kind: "message", repeat: 1, T: () => a0 }
11285
+ { no: 3, name: "votes", kind: "message", repeat: 1, T: () => n0 }
11286
11286
  ]);
11287
11287
  }
11288
11288
  }
11289
- const i0 = new r0();
11290
- class n0 extends T {
11289
+ const r0 = new s0();
11290
+ class i0 extends T {
11291
11291
  constructor() {
11292
11292
  super("socket.polls.PollVote", [
11293
11293
  {
@@ -11307,8 +11307,8 @@ class n0 extends T {
11307
11307
  ]);
11308
11308
  }
11309
11309
  }
11310
- const a0 = new n0();
11311
- class o0 extends T {
11310
+ const n0 = new i0();
11311
+ class a0 extends T {
11312
11312
  constructor() {
11313
11313
  super("socket.polls.NewPollRequest", [
11314
11314
  {
@@ -11359,8 +11359,8 @@ class o0 extends T {
11359
11359
  ]);
11360
11360
  }
11361
11361
  }
11362
- const c0 = new o0();
11363
- class d0 extends T {
11362
+ const o0 = new a0();
11363
+ class c0 extends T {
11364
11364
  constructor() {
11365
11365
  super("socket.polls.VotePollRequest", [
11366
11366
  {
@@ -11381,24 +11381,24 @@ class d0 extends T {
11381
11381
  ]);
11382
11382
  }
11383
11383
  }
11384
- const l0 = new d0();
11385
- class u0 extends T {
11384
+ const d0 = new c0();
11385
+ class l0 extends T {
11386
11386
  constructor() {
11387
11387
  super("socket.polls.UpdatePollResponse", [
11388
11388
  { no: 1, name: "poll", kind: "message", T: () => Df }
11389
11389
  ]);
11390
11390
  }
11391
11391
  }
11392
- const Tu = new u0();
11393
- class h0 extends T {
11392
+ const Tu = new l0();
11393
+ class u0 extends T {
11394
11394
  constructor() {
11395
11395
  super("socket.polls.GetPollsResponse", [
11396
11396
  { no: 1, name: "polls", kind: "message", repeat: 1, T: () => Df }
11397
11397
  ]);
11398
11398
  }
11399
11399
  }
11400
- const p0 = new h0();
11401
- class g0 extends T {
11400
+ const h0 = new u0();
11401
+ class p0 extends T {
11402
11402
  constructor() {
11403
11403
  super("socket.recording.RecordingEvent", [
11404
11404
  {
@@ -11419,8 +11419,8 @@ class g0 extends T {
11419
11419
  ]);
11420
11420
  }
11421
11421
  }
11422
- const Tg = new g0();
11423
- class m0 extends T {
11422
+ const Tg = new p0();
11423
+ class g0 extends T {
11424
11424
  constructor() {
11425
11425
  super("google.protobuf.Timestamp", [
11426
11426
  {
@@ -11495,8 +11495,8 @@ class m0 extends T {
11495
11495
  return r || (r = this.create()), r.seconds = Wa.from(a / 1e3).toBigInt(), r.nanos = 0, i[7] && (r.nanos = parseInt("1" + i[7] + "0".repeat(9 - i[7].length)) - 1e9), r;
11496
11496
  }
11497
11497
  }
11498
- new m0();
11499
- class f0 extends T {
11498
+ new g0();
11499
+ class m0 extends T {
11500
11500
  constructor() {
11501
11501
  super("common.BaseHubMessage", [
11502
11502
  {
@@ -11584,16 +11584,16 @@ class f0 extends T {
11584
11584
  ]);
11585
11585
  }
11586
11586
  }
11587
- const Uu = new f0();
11588
- class S0 extends T {
11587
+ const Uu = new m0();
11588
+ class f0 extends T {
11589
11589
  constructor() {
11590
11590
  super("common.BulkedHubMessage", [
11591
11591
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => Uu }
11592
11592
  ]);
11593
11593
  }
11594
11594
  }
11595
- new S0();
11596
- class v0 extends T {
11595
+ new f0();
11596
+ class S0 extends T {
11597
11597
  constructor() {
11598
11598
  super("common.CFWorkersResponse", [
11599
11599
  { no: 1, name: "responses", kind: "message", repeat: 1, T: () => Uu },
@@ -11601,8 +11601,8 @@ class v0 extends T {
11601
11601
  ]);
11602
11602
  }
11603
11603
  }
11604
- new v0();
11605
- const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
11604
+ new S0();
11605
+ const v0 = 0, T0 = 1, y0 = 2, E0 = 3, P0 = 5, _0 = {
11606
11606
  getPeerInfo: 0,
11607
11607
  updatePeerInfo: 1,
11608
11608
  getRoomPeersInfo: 2,
@@ -11660,7 +11660,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
11660
11660
  recordingPaused: 42,
11661
11661
  getRoomStageState: 43,
11662
11662
  livestreamingInvoked: 44
11663
- }, w0 = {
11663
+ }, C0 = {
11664
11664
  getMessages: 0,
11665
11665
  sendMessageToRoom: 1,
11666
11666
  sendMessageToPeers: 2,
@@ -11669,7 +11669,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
11669
11669
  getPaginatedMessages: 5,
11670
11670
  searchChannelMessages: 7,
11671
11671
  pinMessage: 10
11672
- }, R0 = {
11672
+ }, w0 = {
11673
11673
  getPlugins: 0,
11674
11674
  addPlugin: 1,
11675
11675
  enablePluginForRoom: 2,
@@ -11683,7 +11683,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
11683
11683
  storeGetKeys: 10,
11684
11684
  storeDeleteKeys: 11,
11685
11685
  storeDelete: 12
11686
- }, b0 = {
11686
+ }, R0 = {
11687
11687
  createPoll: 0,
11688
11688
  getPolls: 1,
11689
11689
  votePoll: 2,
@@ -11725,7 +11725,7 @@ const T0 = 0, y0 = 1, E0 = 2, P0 = 3, _0 = 5, C0 = {
11725
11725
  hostControlAllPeers: 94,
11726
11726
  // only for CF
11727
11727
  audioActivity: 100
11728
- }, k0 = {
11728
+ }, b0 = {
11729
11729
  getUserPresets: 0,
11730
11730
  updateUserPreset: 1
11731
11731
  };
@@ -11735,17 +11735,17 @@ function jc(s, t) {
11735
11735
  function Nf(s, t) {
11736
11736
  return Object.keys(s).reduce((e, r) => (e[r] = t | s[r], e), {});
11737
11737
  }
11738
- const B = jc(T0, C0), Ge = jc(y0, w0), Ns = jc(
11739
- E0,
11740
- R0
11741
- ), Ls = jc(P0, b0), Pr = Nf(Of, 16777216), hs = Nf(Of, 50331648), dd = jc(
11742
- _0,
11743
- k0
11738
+ const B = jc(v0, _0), Ge = jc(T0, C0), Ns = jc(
11739
+ y0,
11740
+ w0
11741
+ ), Ls = jc(E0, R0), Pr = Nf(Of, 16777216), hs = Nf(Of, 50331648), dd = jc(
11742
+ P0,
11743
+ b0
11744
11744
  );
11745
- var A0 = Object.defineProperty, I0 = Object.getOwnPropertyDescriptor, si = (s, t, e, r) => {
11746
- for (var i = r > 1 ? void 0 : r ? I0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
11745
+ var k0 = Object.defineProperty, A0 = Object.getOwnPropertyDescriptor, si = (s, t, e, r) => {
11746
+ for (var i = r > 1 ? void 0 : r ? A0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
11747
11747
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
11748
- return r && i && A0(t, e, i), i;
11748
+ return r && i && k0(t, e, i), i;
11749
11749
  }, Qt = /* @__PURE__ */ ((s) => (s[s.TEXT = 0] = "TEXT", s[s.IMAGE = 1] = "IMAGE", s[s.FILE = 2] = "FILE", s[s.CUSTOM = 3] = "CUSTOM", s))(Qt || {}), Rt, kn;
11750
11750
  class hr {
11751
11751
  constructor(t, e) {
@@ -11780,9 +11780,9 @@ class hr {
11780
11780
  reversed: r
11781
11781
  }, i && { filters: { filters: i } }), o = yield n(this, Rt).sendMessagePromise(
11782
11782
  Ge.getPaginatedMessages,
11783
- $A.toBinary(a)
11783
+ UA.toBinary(a)
11784
11784
  );
11785
- return o.payload ? HA.fromBinary(
11785
+ return o.payload ? BA.fromBinary(
11786
11786
  o.payload
11787
11787
  ) : {
11788
11788
  messages: [],
@@ -11797,7 +11797,7 @@ class hr {
11797
11797
  };
11798
11798
  n(this, Rt).sendMessage(
11799
11799
  Ge.sendMessageToRoom,
11800
- jA.toBinary(r)
11800
+ qA.toBinary(r)
11801
11801
  );
11802
11802
  }
11803
11803
  sendMessageToPeers(t, e, r) {
@@ -11808,7 +11808,7 @@ class hr {
11808
11808
  };
11809
11809
  n(this, Rt).sendMessage(
11810
11810
  Ge.sendMessageToPeers,
11811
- JA.toBinary(i)
11811
+ WA.toBinary(i)
11812
11812
  );
11813
11813
  }
11814
11814
  sendMessage(t, e, r) {
@@ -11828,7 +11828,7 @@ class hr {
11828
11828
  i !== void 0 && (a.pinned = i);
11829
11829
  const o = yield n(this, Rt).sendMessagePromise(
11830
11830
  Ge.editMessage,
11831
- XA.toBinary(a)
11831
+ QA.toBinary(a)
11832
11832
  );
11833
11833
  return sd.fromBinary(o.payload).message;
11834
11834
  });
@@ -11839,7 +11839,7 @@ class hr {
11839
11839
  chatId: t
11840
11840
  }, r = yield n(this, Rt).sendMessagePromise(
11841
11841
  Ge.deleteMessage,
11842
- iI.toBinary(e)
11842
+ rI.toBinary(e)
11843
11843
  );
11844
11844
  return { id: rd.fromBinary(r.payload).chatId };
11845
11845
  });
@@ -11857,7 +11857,7 @@ class hr {
11857
11857
  try {
11858
11858
  const d = yield n(this, Rt).sendMessagePromise(
11859
11859
  Ge.searchChannelMessages,
11860
- oI.toBinary(r)
11860
+ aI.toBinary(r)
11861
11861
  );
11862
11862
  return Mf.fromBinary(d.payload).messages;
11863
11863
  } catch (d) {
@@ -11872,7 +11872,7 @@ class hr {
11872
11872
  pinned: e
11873
11873
  }, i = yield n(this, Rt).sendMessagePromise(
11874
11874
  Ge.pinMessage,
11875
- eI.toBinary(r)
11875
+ ZA.toBinary(r)
11876
11876
  );
11877
11877
  return td.fromBinary(i.payload);
11878
11878
  });
@@ -11953,7 +11953,7 @@ si([
11953
11953
  si([
11954
11954
  P.trace("SocketService.searchMessages")
11955
11955
  ], hr.prototype, "searchMessages", 1);
11956
- function M0(s) {
11956
+ function I0(s) {
11957
11957
  return s.replace(
11958
11958
  /([-_]\w)/g,
11959
11959
  (t) => t[1].toUpperCase()
@@ -11968,11 +11968,11 @@ function bs(s) {
11968
11968
  );
11969
11969
  const t = {};
11970
11970
  return Object.keys(s).forEach((e) => {
11971
- const r = tm(e) ? e : M0(e);
11971
+ const r = tm(e) ? e : I0(e);
11972
11972
  t[r] = bs(s[e]);
11973
11973
  }), t;
11974
11974
  }
11975
- function D0(s) {
11975
+ function M0(s) {
11976
11976
  return s.replace(
11977
11977
  /[A-Z]/g,
11978
11978
  (t) => `_${t.toLowerCase()}`
@@ -11987,7 +11987,7 @@ function Lf(s) {
11987
11987
  );
11988
11988
  const t = {};
11989
11989
  return Object.keys(s).forEach((e) => {
11990
- const r = tm(e) ? e : D0(e);
11990
+ const r = tm(e) ? e : M0(e);
11991
11991
  t[r] = s[e];
11992
11992
  }), t;
11993
11993
  }
@@ -12101,8 +12101,8 @@ class yg {
12101
12101
  });
12102
12102
  }
12103
12103
  }
12104
- const O0 = 3, N0 = 30, L0 = 8e3;
12105
- class V0 {
12104
+ const D0 = 3, O0 = 30, N0 = 8e3;
12105
+ class L0 {
12106
12106
  constructor(t, e) {
12107
12107
  p(this, "fetchClient");
12108
12108
  p(this, "requests");
@@ -12116,9 +12116,9 @@ class V0 {
12116
12116
  p(this, "context");
12117
12117
  this.context = t;
12118
12118
  const {
12119
- timeout: r = L0,
12120
- retry: i = O0,
12121
- retryDelay: a = N0,
12119
+ timeout: r = N0,
12120
+ retry: i = D0,
12121
+ retryDelay: a = O0,
12122
12122
  baseURL: o = ui.apiBase.prod,
12123
12123
  authToken: c,
12124
12124
  cachedUserDetails: d
@@ -12198,12 +12198,12 @@ class V0 {
12198
12198
  this.organizationId = t;
12199
12199
  }
12200
12200
  }
12201
- var x0 = Object.defineProperty, U0 = Object.getOwnPropertyDescriptor, pr = (s, t, e, r) => {
12202
- for (var i = r > 1 ? void 0 : r ? U0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12201
+ var V0 = Object.defineProperty, x0 = Object.getOwnPropertyDescriptor, pr = (s, t, e, r) => {
12202
+ for (var i = r > 1 ? void 0 : r ? x0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12203
12203
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
12204
- return r && i && x0(t, e, i), i;
12204
+ return r && i && V0(t, e, i), i;
12205
12205
  };
12206
- class Is extends V0 {
12206
+ class Is extends L0 {
12207
12207
  constructor(e, r) {
12208
12208
  super(e, r);
12209
12209
  /**
@@ -12382,7 +12382,7 @@ pr([
12382
12382
  P.trace("APIClient.getActiveTranscript")
12383
12383
  ], Is.prototype, "getActiveTranscript", 1);
12384
12384
  let $u;
12385
- function $0(s, t) {
12385
+ function U0(s, t) {
12386
12386
  return $u = new Is(s, t), $u;
12387
12387
  }
12388
12388
  function Nt() {
@@ -12404,12 +12404,12 @@ function Ut(s, t) {
12404
12404
  }, i;
12405
12405
  };
12406
12406
  }
12407
- var B0 = Object.defineProperty, H0 = Object.getOwnPropertyDescriptor, Ms = (s, t, e, r) => {
12408
- for (var i = r > 1 ? void 0 : r ? H0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12407
+ var $0 = Object.defineProperty, B0 = Object.getOwnPropertyDescriptor, Ms = (s, t, e, r) => {
12408
+ for (var i = r > 1 ? void 0 : r ? B0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12409
12409
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
12410
- return r && i && B0(t, e, i), i;
12410
+ return r && i && $0(t, e, i), i;
12411
12411
  };
12412
- const F0 = ["text", "image", "file", "custom", "poll"], ld = { maxInvocations: 180, period: 60 };
12412
+ const H0 = ["text", "image", "file", "custom", "poll"], ld = { maxInvocations: 180, period: 60 };
12413
12413
  var se, pi, ze, An, xd, Vf, ko, Bu, xg;
12414
12414
  let Zt = (xg = class extends xt {
12415
12415
  constructor(t, e, r, i) {
@@ -12891,10 +12891,10 @@ Ms([
12891
12891
  Zt = Ms([
12892
12892
  rt("0500")
12893
12893
  ], Zt);
12894
- var q0 = Object.defineProperty, j0 = Object.getOwnPropertyDescriptor, G0 = (s, t, e, r) => {
12895
- for (var i = r > 1 ? void 0 : r ? j0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12894
+ var F0 = Object.defineProperty, q0 = Object.getOwnPropertyDescriptor, j0 = (s, t, e, r) => {
12895
+ for (var i = r > 1 ? void 0 : r ? q0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
12896
12896
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
12897
- return r && i && q0(t, e, i), i;
12897
+ return r && i && F0(t, e, i), i;
12898
12898
  }, gi, Ug;
12899
12899
  const vr = (Ug = class {
12900
12900
  constructor(s, t, e, r) {
@@ -12936,7 +12936,7 @@ const vr = (Ug = class {
12936
12936
  static formatMessage(s) {
12937
12937
  return z(L({}, s), {
12938
12938
  time: new Date(s.time),
12939
- type: F0[s.type]
12939
+ type: H0[s.type]
12940
12940
  });
12941
12941
  }
12942
12942
  /**
@@ -13086,13 +13086,13 @@ const vr = (Ug = class {
13086
13086
  }
13087
13087
  }, gi = new WeakMap(), Ug);
13088
13088
  let lo = vr;
13089
- G0([
13089
+ j0([
13090
13090
  P.trace("ChatController.setupEvents")
13091
13091
  ], lo.prototype, "setupEvents", 1);
13092
- var W0 = Object.defineProperty, J0 = Object.getOwnPropertyDescriptor, K0 = (s, t, e, r) => {
13093
- for (var i = r > 1 ? void 0 : r ? J0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13092
+ var G0 = Object.defineProperty, W0 = Object.getOwnPropertyDescriptor, J0 = (s, t, e, r) => {
13093
+ for (var i = r > 1 ? void 0 : r ? W0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13094
13094
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13095
- return r && i && W0(t, e, i), i;
13095
+ return r && i && G0(t, e, i), i;
13096
13096
  }, Ud, xf, $d, Uf, In, Mn, Ao, $g;
13097
13097
  let Hu = ($g = class extends xt {
13098
13098
  constructor(t, e, r) {
@@ -13171,13 +13171,13 @@ let Hu = ($g = class extends xt {
13171
13171
  var t;
13172
13172
  return ((t = n(this, Ud, xf)) == null ? void 0 : t.socketJoined) === !0;
13173
13173
  }, In = new WeakMap(), Mn = new WeakMap(), Ao = new WeakMap(), $g);
13174
- Hu = K0([
13174
+ Hu = J0([
13175
13175
  rt("0700")
13176
13176
  ], Hu);
13177
- var z0 = Object.defineProperty, Y0 = Object.getOwnPropertyDescriptor, Q0 = (s, t, e, r) => {
13178
- for (var i = r > 1 ? void 0 : r ? Y0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13177
+ var K0 = Object.defineProperty, z0 = Object.getOwnPropertyDescriptor, Y0 = (s, t, e, r) => {
13178
+ for (var i = r > 1 ? void 0 : r ? z0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13179
13179
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13180
- return r && i && z0(t, e, i), i;
13180
+ return r && i && K0(t, e, i), i;
13181
13181
  }, wr, Dn, mi, Bg;
13182
13182
  const hn = (Bg = class {
13183
13183
  constructor(s, t, e) {
@@ -13257,7 +13257,7 @@ const hn = (Bg = class {
13257
13257
  const s = yield n(this, mi).getPolls();
13258
13258
  if (!(s != null && s.payload))
13259
13259
  return;
13260
- const { polls: t } = p0.fromBinary(s.payload);
13260
+ const { polls: t } = h0.fromBinary(s.payload);
13261
13261
  this.polls.items = t.map(
13262
13262
  (e) => hn.formatSocketServicePoll(e)
13263
13263
  );
@@ -13285,13 +13285,13 @@ const hn = (Bg = class {
13285
13285
  }
13286
13286
  }, wr = new WeakMap(), Dn = new WeakMap(), mi = new WeakMap(), Bg);
13287
13287
  let $f = hn;
13288
- Q0([
13288
+ Y0([
13289
13289
  P.trace("PollController.setupEvents")
13290
13290
  ], $f.prototype, "setupEvents", 1);
13291
- var X0 = Object.defineProperty, Z0 = Object.getOwnPropertyDescriptor, eM = (s, t, e, r) => {
13292
- for (var i = r > 1 ? void 0 : r ? Z0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13291
+ var Q0 = Object.defineProperty, X0 = Object.getOwnPropertyDescriptor, Z0 = (s, t, e, r) => {
13292
+ for (var i = r > 1 ? void 0 : r ? X0(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13293
13293
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13294
- return r && i && X0(t, e, i), i;
13294
+ return r && i && Q0(t, e, i), i;
13295
13295
  }, Bf = /* @__PURE__ */ ((s) => (s[s.User = 0] = "User", s[s.Meeting = 1] = "Meeting", s))(Bf || {}), On, Io, qu, fi, Mo, Hg;
13296
13296
  let Fu = (Hg = class extends xt {
13297
13297
  constructor(t, e, r, i, a) {
@@ -13375,10 +13375,10 @@ let Fu = (Hg = class extends xt {
13375
13375
  }, On = new WeakMap(), Io = new WeakSet(), qu = function() {
13376
13376
  return n(this, On).getValue("connectionHandler");
13377
13377
  }, fi = new WeakMap(), Mo = new WeakMap(), Hg);
13378
- Fu = eM([
13378
+ Fu = Z0([
13379
13379
  rt("0800")
13380
13380
  ], Fu);
13381
- function tM(s) {
13381
+ function eM(s) {
13382
13382
  let t = "", e = [""];
13383
13383
  const r = [e];
13384
13384
  let i = 0, a = 0, o = !0, c;
@@ -13387,10 +13387,10 @@ function tM(s) {
13387
13387
  ` && o ? (t === "\r" && (e[i] = e[i].slice(0, -1)), e = r[++a] = [c = ""], i = 0) : e[i] += c, t = c;
13388
13388
  return r;
13389
13389
  }
13390
- var sM = Object.defineProperty, rM = Object.getOwnPropertyDescriptor, Hf = (s, t, e, r) => {
13391
- for (var i = r > 1 ? void 0 : r ? rM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13390
+ var tM = Object.defineProperty, sM = Object.getOwnPropertyDescriptor, Hf = (s, t, e, r) => {
13391
+ for (var i = r > 1 ? void 0 : r ? sM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13392
13392
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13393
- return r && i && sM(t, e, i), i;
13393
+ return r && i && tM(t, e, i), i;
13394
13394
  }, Do, Fg;
13395
13395
  let Zr = (Fg = class extends xt {
13396
13396
  constructor(t) {
@@ -13433,7 +13433,7 @@ let Zr = (Fg = class extends xt {
13433
13433
  o,
13434
13434
  c,
13435
13435
  d
13436
- ]] = tM(t);
13436
+ ]] = eM(t);
13437
13437
  return {
13438
13438
  id: Pa(),
13439
13439
  name: c,
@@ -13484,10 +13484,10 @@ Hf([
13484
13484
  Zr = Hf([
13485
13485
  rt("0000")
13486
13486
  ], Zr);
13487
- var iM = Object.defineProperty, nM = Object.getOwnPropertyDescriptor, aM = (s, t, e, r) => {
13488
- for (var i = r > 1 ? void 0 : r ? nM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13487
+ var rM = Object.defineProperty, iM = Object.getOwnPropertyDescriptor, nM = (s, t, e, r) => {
13488
+ for (var i = r > 1 ? void 0 : r ? iM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13489
13489
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13490
- return r && i && iM(t, e, i), i;
13490
+ return r && i && rM(t, e, i), i;
13491
13491
  }, Rr, Nn, bt, qg;
13492
13492
  const Ff = (qg = class {
13493
13493
  constructor(s, t, e, r, i, a) {
@@ -13653,7 +13653,7 @@ const Ff = (qg = class {
13653
13653
  }
13654
13654
  }, Rr = new WeakMap(), Nn = new WeakMap(), bt = new WeakMap(), qg);
13655
13655
  let qf = Ff;
13656
- aM([
13656
+ nM([
13657
13657
  P.trace("MetaController.setupEvents")
13658
13658
  ], qf.prototype, "setupEvents", 1);
13659
13659
  const za = {}, gr = {
@@ -13714,10 +13714,10 @@ const za = {}, gr = {
13714
13714
  };
13715
13715
  }
13716
13716
  };
13717
- var oM = Object.defineProperty, cM = Object.getOwnPropertyDescriptor, on = (s, t, e, r) => {
13718
- for (var i = r > 1 ? void 0 : r ? cM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13717
+ var aM = Object.defineProperty, oM = Object.getOwnPropertyDescriptor, on = (s, t, e, r) => {
13718
+ for (var i = r > 1 ? void 0 : r ? oM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13719
13719
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13720
- return r && i && oM(t, e, i), i;
13720
+ return r && i && aM(t, e, i), i;
13721
13721
  }, jt, Bd, ae, Oo, Ss, xe, No, ju, Ln, ud;
13722
13722
  class ri extends xt {
13723
13723
  constructor(e, r, i, a, o) {
@@ -13939,7 +13939,7 @@ on([
13939
13939
  on([
13940
13940
  P.trace("Stage.leaveStage")
13941
13941
  ], ri.prototype, "leave", 1);
13942
- function dM(s) {
13942
+ function cM(s) {
13943
13943
  return !(s.viewType === "LIVESTREAM" || s.viewType === "CHAT");
13944
13944
  }
13945
13945
  function Gh(s) {
@@ -13958,10 +13958,10 @@ function Gh(s) {
13958
13958
  return "OFF_STAGE";
13959
13959
  }
13960
13960
  }
13961
- var lM = Object.defineProperty, uM = Object.getOwnPropertyDescriptor, hM = (s, t, e, r) => {
13962
- for (var i = r > 1 ? void 0 : r ? uM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13961
+ var dM = Object.defineProperty, lM = Object.getOwnPropertyDescriptor, uM = (s, t, e, r) => {
13962
+ for (var i = r > 1 ? void 0 : r ? lM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
13963
13963
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
13964
- return r && i && lM(t, e, i), i;
13964
+ return r && i && dM(t, e, i), i;
13965
13965
  }, br, is, kr, Lo, at;
13966
13966
  class jf {
13967
13967
  constructor(t, e, r, i, a) {
@@ -14084,13 +14084,13 @@ class jf {
14084
14084
  }
14085
14085
  }
14086
14086
  br = new WeakMap(), is = new WeakMap(), kr = new WeakMap(), Lo = new WeakMap(), at = new WeakMap();
14087
- hM([
14087
+ uM([
14088
14088
  P.trace("Stage.setupEvents")
14089
14089
  ], jf.prototype, "setupEvents", 1);
14090
- var pM = Object.defineProperty, gM = Object.getOwnPropertyDescriptor, Wh = (s, t, e, r) => {
14091
- for (var i = r > 1 ? void 0 : r ? gM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14090
+ var hM = Object.defineProperty, pM = Object.getOwnPropertyDescriptor, Wh = (s, t, e, r) => {
14091
+ for (var i = r > 1 ? void 0 : r ? pM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14092
14092
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14093
- return r && i && pM(t, e, i), i;
14093
+ return r && i && hM(t, e, i), i;
14094
14094
  }, Si, Bs, Vo, xo, vi, jg;
14095
14095
  let Co = (jg = class extends Ra {
14096
14096
  constructor(t, e, r, i) {
@@ -14298,10 +14298,10 @@ class Eg extends Gf {
14298
14298
  return super.delete(t, e, r);
14299
14299
  }
14300
14300
  }
14301
- var mM = Object.defineProperty, fM = Object.getOwnPropertyDescriptor, SM = (s, t, e, r) => {
14302
- for (var i = r > 1 ? void 0 : r ? fM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14301
+ var gM = Object.defineProperty, mM = Object.getOwnPropertyDescriptor, fM = (s, t, e, r) => {
14302
+ for (var i = r > 1 ? void 0 : r ? mM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14303
14303
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14304
- return r && i && mM(t, e, i), i;
14304
+ return r && i && gM(t, e, i), i;
14305
14305
  };
14306
14306
  let Gu = class {
14307
14307
  constructor(s) {
@@ -14316,13 +14316,13 @@ let Gu = class {
14316
14316
  this.all = new Eg(s), this.active = new Eg(s);
14317
14317
  }
14318
14318
  };
14319
- Gu = SM([
14319
+ Gu = fM([
14320
14320
  rt("0600")
14321
14321
  ], Gu);
14322
- var vM = Object.defineProperty, TM = Object.getOwnPropertyDescriptor, yM = (s, t, e, r) => {
14323
- for (var i = r > 1 ? void 0 : r ? TM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14322
+ var SM = Object.defineProperty, vM = Object.getOwnPropertyDescriptor, TM = (s, t, e, r) => {
14323
+ for (var i = r > 1 ? void 0 : r ? vM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14324
14324
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14325
- return r && i && vM(t, e, i), i;
14325
+ return r && i && SM(t, e, i), i;
14326
14326
  }, ns, Vn, Ar, yi, Hd, Jf, Uo, Wu, $o, Ju, Bo, Ku, Gg;
14327
14327
  const Wf = (Gg = class {
14328
14328
  constructor(s, t, e, r) {
@@ -14446,11 +14446,11 @@ const Wf = (Gg = class {
14446
14446
  });
14447
14447
  }, Gg);
14448
14448
  let Kf = Wf;
14449
- yM([
14449
+ TM([
14450
14450
  P.trace("PluginController.setupEvents")
14451
14451
  ], Kf.prototype, "setupEvents", 1);
14452
14452
  var Ho;
14453
- class EM {
14453
+ class yM {
14454
14454
  constructor(t) {
14455
14455
  p(this, "mediaJoined");
14456
14456
  p(this, "socketJoined");
@@ -14525,10 +14525,10 @@ class EM {
14525
14525
  }
14526
14526
  }
14527
14527
  Ho = new WeakMap();
14528
- var PM = Object.defineProperty, _M = Object.getOwnPropertyDescriptor, Gc = (s, t, e, r) => {
14529
- for (var i = r > 1 ? void 0 : r ? _M(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14528
+ var EM = Object.defineProperty, PM = Object.getOwnPropertyDescriptor, Gc = (s, t, e, r) => {
14529
+ for (var i = r > 1 ? void 0 : r ? PM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14530
14530
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14531
- return r && i && PM(t, e, i), i;
14531
+ return r && i && EM(t, e, i), i;
14532
14532
  };
14533
14533
  const Pg = "Cannot start recording: another recording is already in progress.";
14534
14534
  var xn, Un, $n, hd, Wg;
@@ -14643,10 +14643,10 @@ Gc([
14643
14643
  sn = Gc([
14644
14644
  rt("1000")
14645
14645
  ], sn);
14646
- var CM = Object.defineProperty, wM = Object.getOwnPropertyDescriptor, RM = (s, t, e, r) => {
14647
- for (var i = r > 1 ? void 0 : r ? wM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14646
+ var _M = Object.defineProperty, CM = Object.getOwnPropertyDescriptor, wM = (s, t, e, r) => {
14647
+ for (var i = r > 1 ? void 0 : r ? CM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14648
14648
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14649
- return r && i && CM(t, e, i), i;
14649
+ return r && i && _M(t, e, i), i;
14650
14650
  }, Ei;
14651
14651
  class zf {
14652
14652
  constructor(t, e, r) {
@@ -14721,11 +14721,11 @@ class zf {
14721
14721
  }
14722
14722
  }
14723
14723
  Ei = new WeakMap();
14724
- RM([
14724
+ wM([
14725
14725
  P.trace("RecordingController.setupEvents")
14726
14726
  ], zf.prototype, "setupEvents", 1);
14727
14727
  var Pi;
14728
- class bM {
14728
+ class RM {
14729
14729
  constructor(t) {
14730
14730
  m(this, Pi, void 0);
14731
14731
  f(this, Pi, t);
@@ -14761,7 +14761,7 @@ class Jh {
14761
14761
  return new Jh(
14762
14762
  t.getValue("authToken"),
14763
14763
  t.getValue("logger"),
14764
- new bM(t),
14764
+ new RM(t),
14765
14765
  t.getValue("callstats")
14766
14766
  );
14767
14767
  }
@@ -14778,10 +14778,10 @@ class Kh {
14778
14778
  });
14779
14779
  }
14780
14780
  }
14781
- var kM = Object.defineProperty, AM = Object.getOwnPropertyDescriptor, $t = (s, t, e, r) => {
14782
- for (var i = r > 1 ? void 0 : r ? AM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14781
+ var bM = Object.defineProperty, kM = Object.getOwnPropertyDescriptor, $t = (s, t, e, r) => {
14782
+ for (var i = r > 1 ? void 0 : r ? kM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
14783
14783
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
14784
- return r && i && kM(t, e, i), i;
14784
+ return r && i && bM(t, e, i), i;
14785
14785
  }, Le, fe, pe, Hs, Gt, Fo, Re;
14786
14786
  class Pt extends Ra {
14787
14787
  constructor(e, r, i = Id, a = !0) {
@@ -14796,20 +14796,20 @@ class Pt extends Ra {
14796
14796
  m(this, Re, void 0);
14797
14797
  p(this, "audioUpdateInProgress");
14798
14798
  p(this, "videoUpdateInProgress");
14799
- f(this, Re, e), this.audioUpdateInProgress = !1, this.videoUpdateInProgress = !1, f(this, Le, new Yf(e, r)), f(this, fe, new XM(
14799
+ f(this, Re, e), this.audioUpdateInProgress = !1, this.videoUpdateInProgress = !1, f(this, Le, new Yf(e, r)), f(this, fe, new QM(
14800
14800
  e,
14801
14801
  n(this, Le),
14802
14802
  void 0,
14803
14803
  i
14804
- )), f(this, pe, new nD(
14804
+ )), f(this, pe, new iD(
14805
14805
  e,
14806
14806
  n(this, Le),
14807
14807
  void 0,
14808
14808
  i
14809
- )), f(this, Gt, new sD(
14809
+ )), f(this, Gt, new tD(
14810
14810
  n(this, Re),
14811
14811
  n(this, Le)
14812
- )), f(this, Hs, new eD(
14812
+ )), f(this, Hs, new ZM(
14813
14813
  e,
14814
14814
  n(this, Le)
14815
14815
  )), f(this, Fo, a), n(this, fe).on("trackMuted", this.onAudioTrackMuted.bind(this)), n(this, fe).on(
@@ -15214,7 +15214,7 @@ function id(s, t, e) {
15214
15214
  return "COULD_NOT_START";
15215
15215
  }
15216
15216
  }
15217
- const IM = [
15217
+ const AM = [
15218
15218
  "virtual",
15219
15219
  "emulator",
15220
15220
  "krisp",
@@ -15245,11 +15245,11 @@ const IM = [
15245
15245
  function Id(s) {
15246
15246
  var e, r;
15247
15247
  const t = (e = s.label) == null ? void 0 : e.toLowerCase();
15248
- return ((r = ve._bowser) == null ? void 0 : r.getOSName()) === "macOS" && t.includes("iphone") ? !0 : IM.some(
15248
+ return ((r = ve._bowser) == null ? void 0 : r.getOSName()) === "macOS" && t.includes("iphone") ? !0 : AM.some(
15249
15249
  (i) => t == null ? void 0 : t.includes(i)
15250
15250
  );
15251
15251
  }
15252
- function MM(s, t, e) {
15252
+ function IM(s, t, e) {
15253
15253
  return u(this, null, function* () {
15254
15254
  if (!(t != null && t.length))
15255
15255
  return e;
@@ -15272,7 +15272,7 @@ function MM(s, t, e) {
15272
15272
  });
15273
15273
  }
15274
15274
  var _i, qo;
15275
- class DM {
15275
+ class MM {
15276
15276
  constructor(t) {
15277
15277
  m(this, _i, void 0);
15278
15278
  m(this, qo, void 0);
@@ -15354,13 +15354,13 @@ class DM {
15354
15354
  }
15355
15355
  }
15356
15356
  _i = new WeakMap(), qo = new WeakMap();
15357
- const OM = {
15357
+ const DM = {
15358
15358
  qvga: { width: { ideal: 320 }, height: { ideal: 240 }, frameRate: { ideal: 30 } },
15359
15359
  vga: { width: { ideal: 640 }, height: { ideal: 480 }, frameRate: { ideal: 30 } },
15360
15360
  hd: { width: { ideal: 1280 }, height: { ideal: 720 }, frameRate: { ideal: 30 } },
15361
15361
  fhd: { width: { ideal: 1920 }, height: { ideal: 1080 }, frameRate: { ideal: 30 } },
15362
15362
  uhd: { width: { ideal: 3840 }, height: { ideal: 2160 }, frameRate: { ideal: 30 } }
15363
- }, NM = [
15363
+ }, OM = [
15364
15364
  [320, [
15365
15365
  {
15366
15366
  rid: "f",
@@ -15423,22 +15423,22 @@ const OM = {
15423
15423
  scaleResolutionDownBy: 4
15424
15424
  }
15425
15425
  ]]
15426
- ], LM = (s, t) => {
15426
+ ], NM = (s, t) => {
15427
15427
  var d, l, h;
15428
15428
  const e = (d = s == null ? void 0 : s.getValue("overrides")) == null ? void 0 : d.simulcastConfig;
15429
15429
  if ((l = e == null ? void 0 : e.encodings) != null && l.length)
15430
15430
  return e.encodings;
15431
- const r = "getSettings" in t && t.getSettings().width || "getConstraints" in t && t.getConstraints().width || "originalSettings" in t && ((h = t.originalSettings) == null ? void 0 : h.width), i = NM, a = i.map(([g]) => g).sort((g, S) => g - S);
15431
+ const r = "getSettings" in t && t.getSettings().width || "getConstraints" in t && t.getConstraints().width || "originalSettings" in t && ((h = t.originalSettings) == null ? void 0 : h.width), i = OM, a = i.map(([g]) => g).sort((g, S) => g - S);
15432
15432
  let o = Number.MAX_VALUE, c = 0;
15433
15433
  return a.forEach((g, S) => {
15434
15434
  Math.abs(g - r) < o && (o = Math.abs(g - r), c = S);
15435
15435
  }), i[c][1];
15436
15436
  };
15437
15437
  var Ce = /* @__PURE__ */ ((s) => (s.WEBCAM = "webcam", s.WEBCAM_BACKUP = "webcam_backup", s.MIC = "mic", s.SCREENSHARE_VIDEO = "screenshare_video", s.SCREENSHARE_AUDIO = "screenshare_audio", s))(Ce || {});
15438
- const VM = _w(), ln = bs(
15439
- VM.config.media
15438
+ const LM = _w(), ln = bs(
15439
+ LM.config.media
15440
15440
  );
15441
- function xM(s) {
15441
+ function VM(s) {
15442
15442
  var e, r;
15443
15443
  const t = {};
15444
15444
  return s.audio && (t.audio = {
@@ -15447,7 +15447,7 @@ function xM(s) {
15447
15447
  }), t.video = s.video.quality, t;
15448
15448
  }
15449
15449
  var Ci, Fd;
15450
- class UM {
15450
+ class xM {
15451
15451
  constructor(t, e) {
15452
15452
  m(this, Ci, void 0);
15453
15453
  m(this, Fd, void 0);
@@ -15487,7 +15487,7 @@ class UM {
15487
15487
  });
15488
15488
  p(this, "getVideoConstraints", (t) => {
15489
15489
  var o, c, d;
15490
- const e = {}, r = (o = n(this, Ci)) == null ? void 0 : o.video, i = $_(OM);
15490
+ const e = {}, r = (o = n(this, Ci)) == null ? void 0 : o.video, i = $_(DM);
15491
15491
  let a = i.vga;
15492
15492
  if (typeof r == "string") {
15493
15493
  const l = i[r];
@@ -15512,7 +15512,7 @@ class yu extends Error {
15512
15512
  this.name = e, this.constraints = i;
15513
15513
  }
15514
15514
  }
15515
- class $M {
15515
+ class UM {
15516
15516
  constructor() {
15517
15517
  p(this, "permissions");
15518
15518
  this.permissions = {
@@ -15540,18 +15540,18 @@ class $M {
15540
15540
  });
15541
15541
  }
15542
15542
  }
15543
- var BM = Object.defineProperty, HM = Object.getOwnPropertyDescriptor, fs = (s, t, e, r) => {
15544
- for (var i = r > 1 ? void 0 : r ? HM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
15543
+ var $M = Object.defineProperty, BM = Object.getOwnPropertyDescriptor, fs = (s, t, e, r) => {
15544
+ for (var i = r > 1 ? void 0 : r ? BM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
15545
15545
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
15546
- return r && i && BM(t, e, i), i;
15546
+ return r && i && $M(t, e, i), i;
15547
15547
  }, Bn, Wt, Ue, Jg;
15548
- let Vt = (Jg = class extends $M {
15548
+ let Vt = (Jg = class extends UM {
15549
15549
  constructor(t, e) {
15550
15550
  super();
15551
15551
  m(this, Bn, void 0);
15552
15552
  m(this, Wt, void 0);
15553
15553
  m(this, Ue, void 0);
15554
- f(this, Ue, t), f(this, Wt, new UM(t, e)), f(this, Bn, new AbortController());
15554
+ f(this, Ue, t), f(this, Wt, new xM(t, e)), f(this, Bn, new AbortController());
15555
15555
  }
15556
15556
  /**
15557
15557
  * @access private
@@ -15964,9 +15964,9 @@ const Yf = Vt, en = {
15964
15964
  }
15965
15965
  return null;
15966
15966
  }
15967
- }, FM = (s = 0) => new Promise(
15967
+ }, HM = (s = 0) => new Promise(
15968
15968
  (t) => setTimeout(t, s)
15969
- ), qM = (s, t, e) => {
15969
+ ), FM = (s, t, e) => {
15970
15970
  const r = typeof e == "number" ? e : 250, i = s.createMediaStreamSource(t), a = s.createAnalyser();
15971
15971
  a.fftSize = 2048, i.connect(a);
15972
15972
  const o = new Uint8Array(a.fftSize);
@@ -15975,7 +15975,7 @@ const Yf = Vt, en = {
15975
15975
  c = !0;
15976
15976
  }, r);
15977
15977
  function d() {
15978
- return c ? Promise.resolve(!0) : (a.getByteTimeDomainData(o), o.some((l) => l !== 128 && l !== 0) ? Promise.resolve(!1) : FM().then(d));
15978
+ return c ? Promise.resolve(!0) : (a.getByteTimeDomainData(o), o.some((l) => l !== 128 && l !== 0) ? Promise.resolve(!1) : HM().then(d));
15979
15979
  }
15980
15980
  return d().then(
15981
15981
  (l) => (i.disconnect(), l),
@@ -15983,13 +15983,13 @@ const Yf = Vt, en = {
15983
15983
  throw i.disconnect(), l;
15984
15984
  }
15985
15985
  );
15986
- }, jM = typeof AudioContext != "undefined" ? AudioContext : null;
15986
+ }, qM = typeof AudioContext != "undefined" ? AudioContext : null;
15987
15987
  class zh {
15988
15988
  constructor(t) {
15989
15989
  p(this, "_AudioContext");
15990
15990
  p(this, "audioContext");
15991
15991
  p(this, "_audioContextRefContainers");
15992
- const e = L({ AudioContext: jM }, t);
15992
+ const e = L({ AudioContext: qM }, t);
15993
15993
  Object.defineProperties(this, {
15994
15994
  _AudioContext: {
15995
15995
  value: e.AudioContext
@@ -16019,14 +16019,14 @@ class zh {
16019
16019
  this._audioContextRefContainers.has(t) && (this._audioContextRefContainers.delete(t), !this._audioContextRefContainers.size && this.audioContext && (this.audioContext.close(), this.audioContext = null));
16020
16020
  }
16021
16021
  }
16022
- const _g = new zh(), GM = 3, WM = 250;
16023
- function JM(s) {
16022
+ const _g = new zh(), jM = 3, GM = 250;
16023
+ function WM(s) {
16024
16024
  const t = {}, e = _g.getOrCreate(
16025
16025
  t
16026
16026
  );
16027
- let r = GM;
16027
+ let r = jM;
16028
16028
  function i() {
16029
- return r -= 1, qM(e, s.srcObject, WM).then((a) => a ? r > 0 ? i() : !0 : !1).catch(() => !0);
16029
+ return r -= 1, FM(e, s.srcObject, GM).then((a) => a ? r > 0 ? i() : !0 : !1).catch(() => !0);
16030
16030
  }
16031
16031
  return i().finally(() => {
16032
16032
  _g.release(t);
@@ -16039,7 +16039,7 @@ function Cg(s, t) {
16039
16039
  let i = !1;
16040
16040
  try {
16041
16041
  const a = e.play();
16042
- a && (yield a), i = yield JM(e), i && s.info("checkIfAudioTrackIsSilent::silence_detected");
16042
+ a && (yield a), i = yield WM(e), i && s.info("checkIfAudioTrackIsSilent::silence_detected");
16043
16043
  } catch (a) {
16044
16044
  s.error("checkIfAudioTrackIsSilent::failed_to_detect_silence", {
16045
16045
  error: a
@@ -16050,10 +16050,10 @@ function Cg(s, t) {
16050
16050
  return i;
16051
16051
  });
16052
16052
  }
16053
- var KM = Object.defineProperty, zM = Object.getOwnPropertyDescriptor, Qf = (s, t, e, r) => {
16054
- for (var i = r > 1 ? void 0 : r ? zM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16053
+ var JM = Object.defineProperty, KM = Object.getOwnPropertyDescriptor, Qf = (s, t, e, r) => {
16054
+ for (var i = r > 1 ? void 0 : r ? KM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16055
16055
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
16056
- return r && i && KM(t, e, i), i;
16056
+ return r && i && JM(t, e, i), i;
16057
16057
  };
16058
16058
  let Md = class extends Ra {
16059
16059
  /**
@@ -16279,10 +16279,10 @@ Md = Qf([
16279
16279
  rt("1600")
16280
16280
  ], Md);
16281
16281
  const Xf = Md;
16282
- var YM = Object.defineProperty, QM = Object.getOwnPropertyDescriptor, Yh = (s, t, e, r) => {
16283
- for (var i = r > 1 ? void 0 : r ? QM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16282
+ var zM = Object.defineProperty, YM = Object.getOwnPropertyDescriptor, Yh = (s, t, e, r) => {
16283
+ for (var i = r > 1 ? void 0 : r ? YM(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16284
16284
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
16285
- return r && i && YM(t, e, i), i;
16285
+ return r && i && zM(t, e, i), i;
16286
16286
  };
16287
16287
  const Eu = "[Realtimekit]nonSilentDeviceLabels";
16288
16288
  class Yl extends Xf {
@@ -16336,7 +16336,7 @@ class Yl extends Xf {
16336
16336
  return;
16337
16337
  }
16338
16338
  try {
16339
- this.transformedMediaTrack = yield MM(
16339
+ this.transformedMediaTrack = yield IM(
16340
16340
  this.context,
16341
16341
  this.middlewares,
16342
16342
  this.mediaTrack
@@ -16417,9 +16417,9 @@ Yh([
16417
16417
  Yh([
16418
16418
  P.trace("AudioMediaHandler.conditionallyChangeTrack")
16419
16419
  ], Yl.prototype, "conditionallyChangeTrack", 1);
16420
- const XM = Yl;
16420
+ const QM = Yl;
16421
16421
  var wi;
16422
- class ZM {
16422
+ class XM {
16423
16423
  constructor(t, e) {
16424
16424
  m(this, wi, void 0);
16425
16425
  p(this, "currentDevice");
@@ -16467,9 +16467,9 @@ class ZM {
16467
16467
  }
16468
16468
  }
16469
16469
  wi = new WeakMap();
16470
- const eD = ZM;
16470
+ const ZM = XM;
16471
16471
  var jo;
16472
- class tD extends Ra {
16472
+ class eD extends Ra {
16473
16473
  constructor(e, r) {
16474
16474
  const i = e.getValue("logger");
16475
16475
  super(i);
@@ -16538,11 +16538,11 @@ class tD extends Ra {
16538
16538
  }
16539
16539
  }
16540
16540
  jo = new WeakMap();
16541
- const sD = tD;
16542
- var rD = Object.defineProperty, iD = Object.getOwnPropertyDescriptor, Ql = (s, t, e, r) => {
16543
- for (var i = r > 1 ? void 0 : r ? iD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16541
+ const tD = eD;
16542
+ var sD = Object.defineProperty, rD = Object.getOwnPropertyDescriptor, Ql = (s, t, e, r) => {
16543
+ for (var i = r > 1 ? void 0 : r ? rD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16544
16544
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
16545
- return r && i && rD(t, e, i), i;
16545
+ return r && i && sD(t, e, i), i;
16546
16546
  }, Hn, Go;
16547
16547
  class Wc extends Xf {
16548
16548
  constructor(e, r, i, a) {
@@ -16551,7 +16551,7 @@ class Wc extends Xf {
16551
16551
  m(this, Go, {
16552
16552
  disablePerFrameCanvasRendering: !1
16553
16553
  });
16554
- f(this, Hn, new DM(e));
16554
+ f(this, Hn, new MM(e));
16555
16555
  }
16556
16556
  onSetDevice(e) {
16557
16557
  return u(this, null, function* () {
@@ -16684,7 +16684,7 @@ Ql([
16684
16684
  Ql([
16685
16685
  P.trace("VideoMediaHandler.conditionallyChangeTrack")
16686
16686
  ], Wc.prototype, "conditionallyChangeTrack", 1);
16687
- const nD = Wc, wg = bs(
16687
+ const iD = Wc, wg = bs(
16688
16688
  Hh()
16689
16689
  );
16690
16690
  var ot, Ri, Wo, Fn;
@@ -16862,10 +16862,10 @@ const vn = class {
16862
16862
  };
16863
16863
  let zu = vn;
16864
16864
  ot = new WeakMap(), Ri = new WeakMap(), Wo = new WeakMap(), Fn = new WeakMap();
16865
- var aD = Object.defineProperty, oD = Object.getOwnPropertyDescriptor, Zf = (s, t, e, r) => {
16866
- for (var i = r > 1 ? void 0 : r ? oD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16865
+ var nD = Object.defineProperty, aD = Object.getOwnPropertyDescriptor, Zf = (s, t, e, r) => {
16866
+ for (var i = r > 1 ? void 0 : r ? aD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16867
16867
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
16868
- return r && i && aD(t, e, i), i;
16868
+ return r && i && nD(t, e, i), i;
16869
16869
  }, qn, Jo;
16870
16870
  class Qh extends xt {
16871
16871
  constructor(e, r) {
@@ -16947,10 +16947,10 @@ Zf([
16947
16947
  Zf([
16948
16948
  P.trace("livestream.stop")
16949
16949
  ], Qh.prototype, "stop", 1);
16950
- var cD = Object.defineProperty, dD = Object.getOwnPropertyDescriptor, lD = (s, t, e, r) => {
16951
- for (var i = r > 1 ? void 0 : r ? dD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16950
+ var oD = Object.defineProperty, cD = Object.getOwnPropertyDescriptor, dD = (s, t, e, r) => {
16951
+ for (var i = r > 1 ? void 0 : r ? cD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
16952
16952
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
16953
- return r && i && cD(t, e, i), i;
16953
+ return r && i && oD(t, e, i), i;
16954
16954
  }, jn, Gn, Fs, vs;
16955
16955
  class eS {
16956
16956
  constructor(t, e, r) {
@@ -17045,13 +17045,13 @@ class eS {
17045
17045
  }
17046
17046
  }
17047
17047
  jn = new WeakMap(), Gn = new WeakMap(), Fs = new WeakMap(), vs = new WeakMap();
17048
- lD([
17048
+ dD([
17049
17049
  P.trace("LivestreamController.setupEvents")
17050
17050
  ], eS.prototype, "setupEvents", 1);
17051
- var uD = Object.defineProperty, hD = Object.getOwnPropertyDescriptor, Jc = (s, t, e, r) => {
17052
- for (var i = r > 1 ? void 0 : r ? hD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17051
+ var lD = Object.defineProperty, uD = Object.getOwnPropertyDescriptor, Jc = (s, t, e, r) => {
17052
+ for (var i = r > 1 ? void 0 : r ? uD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17053
17053
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
17054
- return r && i && uD(t, e, i), i;
17054
+ return r && i && lD(t, e, i), i;
17055
17055
  }, Ye, Ir, Mr, qd, tS;
17056
17056
  class ka {
17057
17057
  constructor({ name: t, socketHandler: e, meetingId: r }) {
@@ -17247,7 +17247,7 @@ Jc([
17247
17247
  Ut(ba, "bulkRateLimitConfig")
17248
17248
  ], ka.prototype, "bulkDelete", 1);
17249
17249
  var Dr, Or, Ko, Yu, zo, as, jd, sS;
17250
- class pD {
17250
+ class hD {
17251
17251
  constructor(t, e) {
17252
17252
  m(this, Ko);
17253
17253
  m(this, jd);
@@ -17354,12 +17354,12 @@ function li(s) {
17354
17354
  }
17355
17355
  } : {};
17356
17356
  }
17357
- var gD = Object.defineProperty, mD = Object.getOwnPropertyDescriptor, Aa = (s, t, e, r) => {
17358
- for (var i = r > 1 ? void 0 : r ? mD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17357
+ var pD = Object.defineProperty, gD = Object.getOwnPropertyDescriptor, Aa = (s, t, e, r) => {
17358
+ for (var i = r > 1 ? void 0 : r ? gD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17359
17359
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
17360
- return r && i && gD(t, e, i), i;
17360
+ return r && i && pD(t, e, i), i;
17361
17361
  };
17362
- const fD = 0.8, SD = 1.2;
17362
+ const mD = 0.8, fD = 1.2;
17363
17363
  var Wn, Jn, kt, bi, Qa, Nr, pn, ki, Xa, Gd, rS, qs, Yo, Lr, Ai, Za, js, Wd, Qo, Qu, Jd, iS, Kd, nS, Kg;
17364
17364
  let dr = (Kg = class extends xt {
17365
17365
  constructor(t, e, r, i) {
@@ -17472,10 +17472,10 @@ let dr = (Kg = class extends xt {
17472
17472
  if (!i || !a)
17473
17473
  return;
17474
17474
  const o = a / r, c = i / e, d = Math.max(o, c);
17475
- d > SD && n(this, js) === 1 ? (f(this, js, 0), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
17475
+ d > fD && n(this, js) === 1 ? (f(this, js, 0), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
17476
17476
  peerId: this.id,
17477
17477
  maxSpatialLayer: n(this, js)
17478
- })) : d < fD && n(this, js) === 0 && (f(this, js, 1), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
17478
+ })) : d < mD && n(this, js) === 0 && (f(this, js, 1), n(this, kt).getValue("peerSessionStore").emit(C.MAX_SPATIAL_LAYER_CHANGE, {
17479
17479
  peerId: this.id,
17480
17480
  maxSpatialLayer: n(this, js)
17481
17481
  }));
@@ -17789,7 +17789,7 @@ class Ya extends Gf {
17789
17789
  }
17790
17790
  }
17791
17791
  var Vr;
17792
- class vD extends Ra {
17792
+ class SD extends Ra {
17793
17793
  constructor(e) {
17794
17794
  super(e);
17795
17795
  m(this, Vr, void 0);
@@ -17815,7 +17815,7 @@ class vD extends Ra {
17815
17815
  }
17816
17816
  }
17817
17817
  Vr = new WeakMap();
17818
- class TD {
17818
+ class vD {
17819
17819
  constructor() {
17820
17820
  p(this, "_orderedArray");
17821
17821
  p(this, "_map");
@@ -17842,11 +17842,11 @@ class TD {
17842
17842
  return this._orderedArray[Symbol.iterator]();
17843
17843
  }
17844
17844
  }
17845
- class yD {
17845
+ class TD {
17846
17846
  constructor() {
17847
17847
  p(this, "_activeSpeakerPeers");
17848
17848
  p(this, "_compulsoryPeers");
17849
- this._activeSpeakerPeers = new TD(), this._compulsoryPeers = /* @__PURE__ */ new Set();
17849
+ this._activeSpeakerPeers = new vD(), this._compulsoryPeers = /* @__PURE__ */ new Set();
17850
17850
  }
17851
17851
  add(t, e, r) {
17852
17852
  if (!t)
@@ -17890,13 +17890,13 @@ class yD {
17890
17890
  this._compulsoryPeers.delete(t);
17891
17891
  }
17892
17892
  }
17893
- const aS = new yD();
17894
- var ED = Object.defineProperty, PD = Object.getOwnPropertyDescriptor, Ds = (s, t, e, r) => {
17895
- for (var i = r > 1 ? void 0 : r ? PD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17893
+ const aS = new TD();
17894
+ var yD = Object.defineProperty, ED = Object.getOwnPropertyDescriptor, Ds = (s, t, e, r) => {
17895
+ for (var i = r > 1 ? void 0 : r ? ED(t, e) : t, a = s.length - 1, o; a >= 0; a--)
17896
17896
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
17897
- return r && i && ED(t, e, i), i;
17897
+ return r && i && yD(t, e, i), i;
17898
17898
  };
17899
- const _D = ["ACTIVE_GRID", "PAGINATED", "MANUAL"];
17899
+ const PD = ["ACTIVE_GRID", "PAGINATED", "MANUAL"];
17900
17900
  var be, Xo, Xu, Ii, eo, Kn, pd, Mi, ft, zg;
17901
17901
  let es = (zg = class extends xt {
17902
17902
  constructor(t, e, r) {
@@ -17977,7 +17977,7 @@ let es = (zg = class extends xt {
17977
17977
  * Keeps a list of all participants who have been present in the selected peers list.
17978
17978
  */
17979
17979
  p(this, "selectedPeers", aS);
17980
- f(this, be, t), f(this, Mi, e), f(this, ft, r), this.waitlisted = new Ya(i), this.joined = new Ya(i), this.videoSubscribed = new Ya(i), this.audioSubscribed = new Ya(i), this.active = this.videoSubscribed, this.pinned = new Ya(i), this.all = new vD(i), this.viewMode = "ACTIVE_GRID", this.currentPage = 0, this.setupEvents();
17980
+ f(this, be, t), f(this, Mi, e), f(this, ft, r), this.waitlisted = new Ya(i), this.joined = new Ya(i), this.videoSubscribed = new Ya(i), this.audioSubscribed = new Ya(i), this.active = this.videoSubscribed, this.pinned = new Ya(i), this.all = new SD(i), this.viewMode = "ACTIVE_GRID", this.currentPage = 0, this.setupEvents();
17981
17981
  }
17982
17982
  /**
17983
17983
  * Return the controls for Picture-in-Picture
@@ -18105,7 +18105,7 @@ let es = (zg = class extends xt {
18105
18105
  pageCount: this.pageCount,
18106
18106
  maxActiveParticipantsCount: this.maxActiveParticipantsCount
18107
18107
  }
18108
- }), !((r) => _D.includes(r))(t))
18108
+ }), !((r) => PD.includes(r))(t))
18109
18109
  throw this.logger.error("Participants::setViewMode::invalid_view_mode", {
18110
18110
  pageNavigation: {
18111
18111
  viewMode: t,
@@ -18340,10 +18340,10 @@ Ds([
18340
18340
  es = Ds([
18341
18341
  rt("1200")
18342
18342
  ], es);
18343
- var CD = Object.defineProperty, wD = Object.getOwnPropertyDescriptor, cn = (s, t, e, r) => {
18344
- for (var i = r > 1 ? void 0 : r ? wD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
18343
+ var _D = Object.defineProperty, CD = Object.getOwnPropertyDescriptor, cn = (s, t, e, r) => {
18344
+ for (var i = r > 1 ? void 0 : r ? CD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
18345
18345
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
18346
- return r && i && CD(t, e, i), i;
18346
+ return r && i && _D(t, e, i), i;
18347
18347
  }, Jt, os, xr, Yg;
18348
18348
  const oS = (Yg = class {
18349
18349
  constructor(s, t, e) {
@@ -20095,10 +20095,10 @@ class cS extends xt {
20095
20095
  }
20096
20096
  }
20097
20097
  At = new WeakMap();
20098
- var RD = Object.defineProperty, bD = Object.getOwnPropertyDescriptor, mt = (s, t, e, r) => {
20099
- for (var i = r > 1 ? void 0 : r ? bD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
20098
+ var wD = Object.defineProperty, RD = Object.getOwnPropertyDescriptor, mt = (s, t, e, r) => {
20099
+ for (var i = r > 1 ? void 0 : r ? RD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
20100
20100
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
20101
- return r && i && RD(t, e, i), i;
20101
+ return r && i && wD(t, e, i), i;
20102
20102
  }, Qn, dt, Xn, $e, Gs, ai, Be, Xe, Zn, gd, De, Ne, ea, ta, Zo, eh, Qg;
20103
20103
  let Je = (Qg = class extends cS {
20104
20104
  constructor(t, e, r, i, a) {
@@ -20172,7 +20172,7 @@ let Je = (Qg = class extends cS {
20172
20172
  var S, y, E, k, R, A;
20173
20173
  let c = (y = (S = t.getValue("defaults")) == null ? void 0 : S.audio) != null ? y : !0, d = (k = (E = t.getValue("defaults")) == null ? void 0 : E.video) != null ? k : !0;
20174
20174
  r.canProduceAudio !== "ALLOWED" && (c = !1), r.canProduceVideo !== "ALLOWED" && (d = !1);
20175
- const l = new Je(t, e, r, i, a), h = xM(i.mediaConstraints);
20175
+ const l = new Je(t, e, r, i, a), h = VM(i.mediaConstraints);
20176
20176
  Sr(h, (R = t.getValue("defaults")) == null ? void 0 : R.mediaConfiguration);
20177
20177
  const g = (A = t.getValue("defaults")) == null ? void 0 : A.mediaHandler;
20178
20178
  return g && (g.context = t), yield l.init({
@@ -20805,7 +20805,7 @@ function dS(s, t) {
20805
20805
  }));
20806
20806
  });
20807
20807
  }
20808
- function kD(s) {
20808
+ function bD(s) {
20809
20809
  return s.map((t) => ({
20810
20810
  channels: t.channels,
20811
20811
  clockRate: t.clockRate,
@@ -20813,18 +20813,18 @@ function kD(s) {
20813
20813
  sdpFmtpLine: t.sdpFmtpLine
20814
20814
  }));
20815
20815
  }
20816
- function AD(s) {
20816
+ function kD(s) {
20817
20817
  return s.map((t) => ({
20818
20818
  uri: t.uri
20819
20819
  }));
20820
20820
  }
20821
20821
  function nd(s) {
20822
20822
  return {
20823
- codecs: kD(s.codecs),
20824
- headerExtensions: AD(s.headerExtensions ? s.headerExtensions : [])
20823
+ codecs: bD(s.codecs),
20824
+ headerExtensions: kD(s.headerExtensions ? s.headerExtensions : [])
20825
20825
  };
20826
20826
  }
20827
- function ID(s) {
20827
+ function AD(s) {
20828
20828
  const t = RTCRtpReceiver.getCapabilities("audio"), e = RTCRtpReceiver.getCapabilities("video"), r = RTCRtpSender.getCapabilities("audio"), i = RTCRtpSender.getCapabilities("video");
20829
20829
  s && (e.codecs = e.codecs.filter(({ mimeType: d }) => s === d), i.codecs = i.codecs.filter(({ mimeType: d }) => s === d));
20830
20830
  const a = {
@@ -20840,7 +20840,7 @@ function ID(s) {
20840
20840
  };
20841
20841
  }
20842
20842
  var He;
20843
- class MD {
20843
+ class ID {
20844
20844
  constructor(t) {
20845
20845
  m(this, He, void 0);
20846
20846
  p(this, "events");
@@ -20883,7 +20883,7 @@ class MD {
20883
20883
  const e = (yield n(this, He).sendMessagePromise(
20884
20884
  this.events.produce,
20885
20885
  _R.toBinary(t)
20886
- )).payload, r = nb.fromBinary(e);
20886
+ )).payload, r = ib.fromBinary(e);
20887
20887
  return {
20888
20888
  answer: {
20889
20889
  sdp: (a = r == null ? void 0 : r.description) == null ? void 0 : a.sdp,
@@ -20901,7 +20901,7 @@ class MD {
20901
20901
  )).payload, {
20902
20902
  consumerIdsMap: { map: r },
20903
20903
  description: i
20904
- } = rb.fromBinary(e);
20904
+ } = sb.fromBinary(e);
20905
20905
  return { consumerStateMap: r, sessionDescription: i };
20906
20906
  });
20907
20907
  }
@@ -20910,7 +20910,7 @@ class MD {
20910
20910
  const e = (yield n(this, He).sendMessagePromise(
20911
20911
  this.events.closeProducer,
20912
20912
  IR.toBinary(t)
20913
- )).payload, { description: r } = hb.fromBinary(e);
20913
+ )).payload, { description: r } = ub.fromBinary(e);
20914
20914
  return r;
20915
20915
  });
20916
20916
  }
@@ -20943,7 +20943,7 @@ class MD {
20943
20943
  )).payload;
20944
20944
  if (!i)
20945
20945
  return !1;
20946
- const { status: a } = Tb.fromBinary(i);
20946
+ const { status: a } = vb.fromBinary(i);
20947
20947
  return a === "success";
20948
20948
  });
20949
20949
  }
@@ -20959,7 +20959,7 @@ class MD {
20959
20959
  )).payload;
20960
20960
  if (!r)
20961
20961
  return !1;
20962
- const { status: i } = Eb.fromBinary(r);
20962
+ const { status: i } = yb.fromBinary(r);
20963
20963
  return i === "success";
20964
20964
  });
20965
20965
  }
@@ -21006,7 +21006,7 @@ class MD {
21006
21006
  )).payload;
21007
21007
  if (!e)
21008
21008
  return !1;
21009
- const { status: r } = _b.fromBinary(e);
21009
+ const { status: r } = Pb.fromBinary(e);
21010
21010
  return r === "success";
21011
21011
  });
21012
21012
  }
@@ -21524,11 +21524,11 @@ class sp extends ep {
21524
21524
  });
21525
21525
  }
21526
21526
  }
21527
- function DD(s, t) {
21527
+ function MD(s, t) {
21528
21528
  return typeof s == "undefined" ? t : typeof window != "undefined" && Object.getOwnPropertyDescriptor(window, "structuredClone") ? structuredClone(s) : JSON.parse(JSON.stringify(s));
21529
21529
  }
21530
21530
  var sc, Di, Ts, Qd, ys, Tr, rc, sh, Xd, lS, Zd, uS;
21531
- class OD extends Xl {
21531
+ class DD extends Xl {
21532
21532
  constructor(e, r) {
21533
21533
  var i;
21534
21534
  super(e);
@@ -21660,7 +21660,7 @@ sc = new WeakMap(), Di = new WeakMap(), Ts = new WeakMap(), Qd = new WeakMap(),
21660
21660
  }
21661
21661
  };
21662
21662
  var cs, sa, ra, Oi, Kt, Qe, Ur, ia, el, It, ts;
21663
- class ND extends Xl {
21663
+ class OD extends Xl {
21664
21664
  /**
21665
21665
  * @emits transportclose
21666
21666
  * @emits trackended
@@ -21905,7 +21905,7 @@ const Tn = class extends Xl {
21905
21905
  f(this, na, e);
21906
21906
  const S = e.getValue("logger");
21907
21907
  S.debug(`constructor() [id: ${r}, direction: ${i}]`), this.id = r, this.direction = i;
21908
- const y = DD(l, {});
21908
+ const y = MD(l, {});
21909
21909
  delete y.iceServers, delete y.iceTransportPolicy, delete y.bundlePolicy, delete y.rtcpMuxPolicy, delete y.sdpSemantics, this.producers = /* @__PURE__ */ new Map(), this.consumers = /* @__PURE__ */ new Map(), this.consumerTrackEvents = /* @__PURE__ */ new Map(), this.unknownTracksMap = /* @__PURE__ */ new Map(), this.awaitQueue = new th(S, !0), this.handler = a(), this.handler.enableHighBitrate = (k = g == null ? void 0 : g.enableHighBitrate) != null ? k : !1, this.handler.enableStereo = (R = g == null ? void 0 : g.enableStereo) != null ? R : !1, this.handler.enableDtx = (A = g == null ? void 0 : g.enableDtx) != null ? A : !0, this.handler.init({
21910
21910
  onTrackHandler: this._ontrack.bind(this),
21911
21911
  direction: i,
@@ -22066,7 +22066,7 @@ const Tn = class extends Xl {
22066
22066
  }
22067
22067
  createProducerObject(e) {
22068
22068
  return u(this, null, function* () {
22069
- const r = new ND(n(this, na), e);
22069
+ const r = new OD(n(this, na), e);
22070
22070
  return this.producers.set(r.id, r), r.once("close", () => {
22071
22071
  this.producers.delete(r.id);
22072
22072
  }), this.emit("newproducer", r), r;
@@ -22240,7 +22240,7 @@ const Tn = class extends Xl {
22240
22240
  else {
22241
22241
  const F = U;
22242
22242
  F.enabled = !0, this.handler.midTransceiverMap.set($.mid, $);
22243
- const X = new OD(n(this, na), {
22243
+ const X = new DD(n(this, na), {
22244
22244
  id: r,
22245
22245
  localId: $.mid,
22246
22246
  transceiver: $,
@@ -22289,7 +22289,7 @@ const Tn = class extends Xl {
22289
22289
  };
22290
22290
  let rh = Tn;
22291
22291
  na = new WeakMap();
22292
- function LD(s) {
22292
+ function ND(s) {
22293
22293
  if (typeof navigator == "object" && navigator.product === "ReactNative") {
22294
22294
  if (typeof RTCPeerConnection == "undefined") {
22295
22295
  s.warn(
@@ -22329,7 +22329,7 @@ function LD(s) {
22329
22329
  s.warn("Device::this._detectDevice() | unknown device");
22330
22330
  }
22331
22331
  var Ws, Ni;
22332
- class VD {
22332
+ class LD {
22333
22333
  constructor(t, { handlerName: e, handlerFactory: r } = {}) {
22334
22334
  // RTC handler factory.
22335
22335
  p(this, "handlerFactory");
@@ -22345,7 +22345,7 @@ class VD {
22345
22345
  else {
22346
22346
  if (e)
22347
22347
  n(this, Ni).debug(`Device::constructor() | handler given: ${e}`);
22348
- else if (e = LD(n(this, Ni)), e)
22348
+ else if (e = ND(n(this, Ni)), e)
22349
22349
  n(this, Ni).debug(`Device::constructor() | detected handler: ${e}`);
22350
22350
  else
22351
22351
  throw new Error("device not supported");
@@ -22389,9 +22389,9 @@ class VD {
22389
22389
  }
22390
22390
  }
22391
22391
  Ws = new WeakMap(), Ni = new WeakMap();
22392
- const xD = 2e3;
22392
+ const VD = 2e3;
22393
22393
  var aa, Fe, qe, ic, nc, Li, oa, ac, ca, Vi, Es, da, md, oc, ih, tl, hS, cc, nh, sl, pS, rl, gS, il, mS, nl, fS, al, SS, dc, ah, $r, gn;
22394
- class UD extends gt.EventEmitter {
22394
+ class xD extends gt.EventEmitter {
22395
22395
  constructor(e, r) {
22396
22396
  super();
22397
22397
  m(this, da);
@@ -22423,7 +22423,7 @@ class UD extends gt.EventEmitter {
22423
22423
  });
22424
22424
  m(this, Vi, void 0);
22425
22425
  m(this, Es, "all");
22426
- this.context = e, f(this, Li, r), f(this, aa, new VD(e)), f(this, oa, new MD(r)), f(this, ac, hs), n(this, da, md).mediaState = {
22426
+ this.context = e, f(this, Li, r), f(this, aa, new LD(e)), f(this, oa, new ID(r)), f(this, ac, hs), n(this, da, md).mediaState = {
22427
22427
  send: { state: Cr.NEW },
22428
22428
  recv: { state: Cr.NEW }
22429
22429
  }, _o(this.context, "forceRelay") && f(this, Es, "relay"), this.logger.info(`ICE Transport Policy initially set to ${n(this, Es)}`), O(this, oc, ih).call(this);
@@ -22661,7 +22661,7 @@ aa = new WeakMap(), Fe = new WeakMap(), qe = new WeakMap(), ic = new WeakMap(),
22661
22661
  case "disconnected":
22662
22662
  n(this, Vi)[r] = setTimeout(() => u(this, null, function* () {
22663
22663
  this.logger.warn(`${r} transport is in disconnected state, reconnecting transport`, { transport: { id: i, serverId: e.serverId, type: r } }), yield O(this, dc, ah).call(this, e.direction);
22664
- }), xD);
22664
+ }), VD);
22665
22665
  break;
22666
22666
  case "failed":
22667
22667
  if (e.closed)
@@ -22727,7 +22727,7 @@ aa = new WeakMap(), Fe = new WeakMap(), qe = new WeakMap(), ic = new WeakMap(),
22727
22727
  );
22728
22728
  };
22729
22729
  var ol, zt;
22730
- class $D {
22730
+ class UD {
22731
22731
  constructor(t, e, r, i, a) {
22732
22732
  /* eslint-disable-next-line no-useless-constructor */
22733
22733
  m(this, ol, void 0);
@@ -22830,7 +22830,7 @@ class $D {
22830
22830
  },
22831
22831
  consumerIds: a,
22832
22832
  consumingTransportId: this.recvTransport.serverId
22833
- }, c = yield this.socketHandler.closeConsumer(o), d = gb.fromBinary(c).description;
22833
+ }, c = yield this.socketHandler.closeConsumer(o), d = pb.fromBinary(c).description;
22834
22834
  return {
22835
22835
  sdp: d.sdp,
22836
22836
  type: d.type
@@ -22899,7 +22899,7 @@ class rp {
22899
22899
  });
22900
22900
  }
22901
22901
  }
22902
- function BD(s) {
22902
+ function $D(s) {
22903
22903
  try {
22904
22904
  const t = JSON.parse(s.message);
22905
22905
  if (typeof t != "object" || t === null)
@@ -22911,7 +22911,7 @@ function BD(s) {
22911
22911
  }
22912
22912
  }
22913
22913
  var Br, Hr, la, lc, Ps, cl, Js, ua, uc, oh, dl, vS, ll, TS, ul, yS, hl, ES;
22914
- class HD extends UD {
22914
+ class BD extends xD {
22915
22915
  constructor(e, r) {
22916
22916
  super(e, r);
22917
22917
  m(this, uc);
@@ -22934,7 +22934,7 @@ class HD extends UD {
22934
22934
  this.context = e, this.sendTransportConnectedCallback = () => u(this, null, function* () {
22935
22935
  f(this, lc, new rp(this.socketHandler));
22936
22936
  }), this.recvTransportConnectedCallback = (i) => u(this, null, function* () {
22937
- n(this, la).clear(), f(this, Ps, new $D(
22937
+ n(this, la).clear(), f(this, Ps, new UD(
22938
22938
  this.context,
22939
22939
  this.events,
22940
22940
  i,
@@ -23083,7 +23083,7 @@ Br = new WeakMap(), Hr = new WeakMap(), la = new WeakMap(), lc = new WeakMap(),
23083
23083
  } catch (i) {
23084
23084
  const a = i instanceof Error ? i : new Error(String(i));
23085
23085
  this.logger.error("failed to consume on transport", { error: a });
23086
- const { errorCode: o, errorDescription: c } = BD(a);
23086
+ const { errorCode: o, errorDescription: c } = $D(a);
23087
23087
  if (o === "internal_error" && c === "Backend error" || o === "invalid_session_description") {
23088
23088
  this.logger.error(
23089
23089
  "Irrecoverable error, closing current recvTransport to create a new one",
@@ -23328,7 +23328,7 @@ class RS {
23328
23328
  return navigator && navigator.RNBackgroundTimerImpl ? navigator.RNBackgroundTimerImpl.clearTimeout(t) : global.clearTimeout(t);
23329
23329
  }
23330
23330
  }
23331
- const FD = 60, qD = 400;
23331
+ const HD = 60, FD = 400;
23332
23332
  var zs, Ys, Qs, yc, fa, Sa, Fr, $i, va, Bi, Xs, _s, vl, bS, Ec, ch, Tl, kS, yl, AS;
23333
23333
  const fo = class {
23334
23334
  constructor(t, e) {
@@ -23371,9 +23371,9 @@ const fo = class {
23371
23371
  const { energy: t } = O(this, vl, bS).call(this), e = O(i = fo, Ec, ch).call(i, t);
23372
23372
  let r = 0.9;
23373
23373
  n(this, va) !== e && n(this, va) ? r = 0.9 : e ? r = 0.3 : r = 0.5, f(this, fa, (n(this, fa) || 0) * (1 - r) + t * r);
23374
- }), FD)), n(this, Ys) && n(this, _s).clearInterval(n(this, Ys)), f(this, Ys, n(this, _s).setInterval(
23374
+ }), HD)), n(this, Ys) && n(this, _s).clearInterval(n(this, Ys)), f(this, Ys, n(this, _s).setInterval(
23375
23375
  O(this, Tl, kS).bind(this),
23376
- qD
23376
+ FD
23377
23377
  ));
23378
23378
  }
23379
23379
  stop() {
@@ -23405,10 +23405,10 @@ zs = new WeakMap(), Ys = new WeakMap(), Qs = new WeakMap(), yc = new WeakMap(),
23405
23405
  const e = Math.log10(t);
23406
23406
  return Math.round(e);
23407
23407
  }, m(so, Ec), m(so, yl);
23408
- var jD = Object.defineProperty, GD = Object.getOwnPropertyDescriptor, oe = (s, t, e, r) => {
23409
- for (var i = r > 1 ? void 0 : r ? GD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
23408
+ var qD = Object.defineProperty, jD = Object.getOwnPropertyDescriptor, oe = (s, t, e, r) => {
23409
+ for (var i = r > 1 ? void 0 : r ? jD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
23410
23410
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
23411
- return r && i && jD(t, e, i), i;
23411
+ return r && i && qD(t, e, i), i;
23412
23412
  }, Pc, _c, tt, q, El, lt, Hi, Fi, qi, Cc, Mt, Cs, st, vt, Zs, oi, Pl, IS, _l, MS, Cl, DS, wc, dh, wl, OS, Rl, NS, ut, wt, ji, ro, bl, LS, kl, VS, Al, xS;
23413
23413
  class ne {
23414
23414
  constructor(t, e) {
@@ -23467,7 +23467,7 @@ class ne {
23467
23467
  const {
23468
23468
  socket: r
23469
23469
  } = e;
23470
- this.mediaJoined = !1, f(this, tt, r), f(this, Hi, !1), f(this, q, new HD(t, r)), f(this, lt, n(this, q).events), f(this, Cs, /* @__PURE__ */ new Set()), f(this, st, /* @__PURE__ */ new Map()), f(this, Fi, !1), f(this, qi, new th(t.getValue("logger"))), f(this, vt, new so(
23470
+ this.mediaJoined = !1, f(this, tt, r), f(this, Hi, !1), f(this, q, new BD(t, r)), f(this, lt, n(this, q).events), f(this, Cs, /* @__PURE__ */ new Set()), f(this, st, /* @__PURE__ */ new Map()), f(this, Fi, !1), f(this, qi, new th(t.getValue("logger"))), f(this, vt, new so(
23471
23471
  this.context,
23472
23472
  n(this, q).socketHandler.audioActivity.bind(n(this, q).socketHandler)
23473
23473
  )), this.e2ee = (a = (i = t.getValue("modules").e2ee) == null ? void 0 : i.enabled) != null ? a : !1, this.handleSocketEvents(), this.handleCallstatsEvents(), f(this, Cc, $h(
@@ -23552,15 +23552,15 @@ class ne {
23552
23552
  const t = {
23553
23553
  closeRoom: !1
23554
23554
  };
23555
- n(this, tt).sendMessagePromise(
23556
- n(this, lt).leaveRoom,
23557
- hR.toBinary(t)
23558
- ).then((r) => {
23559
- var i;
23560
- (i = eb.fromBinary(r.payload)) != null && i.closed && this.logger.warn("Weird state on peer closed and should not happen");
23561
- }).catch((r) => {
23562
- this.logger.error("error on sending leave room request", { error: r });
23563
- }), this.context.getValue("callstats").callEnded(), this.context.getValue("telemetry").destruct().catch((r) => {
23555
+ try {
23556
+ n(this, tt).sendMessage(
23557
+ n(this, lt).leaveRoom,
23558
+ hR.toBinary(t)
23559
+ ) || this.logger.warn("MediaNodeClient.leaveRoom: media leave was not sent");
23560
+ } catch (r) {
23561
+ this.logger.error("MediaNodeClient.leaveRoom: media leave failed", { error: r });
23562
+ }
23563
+ this.context.getValue("callstats").callEnded(), this.context.getValue("telemetry").destruct().catch((r) => {
23564
23564
  this.logger.error("leaveRoom::telemetry_destruct_failed", { error: r });
23565
23565
  });
23566
23566
  });
@@ -23610,7 +23610,7 @@ class ne {
23610
23610
  return this._shareWebcam(t);
23611
23611
  }
23612
23612
  const i = O(this, Al, xS).call(this, t), a = _o(this.context, "disableSimulcast"), o = (g = (h = this.context) == null ? void 0 : h.getValue("overrides")) == null ? void 0 : g.simulcastConfig;
23613
- a || o && o.disable || !((y = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && y.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings = LM(this.context, t), this.logger.info(`Simulcast encodings: ${JSON.stringify(i.encodings)}`));
23613
+ a || o && o.disable || !((y = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && y.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings = NM(this.context, t), this.logger.info(`Simulcast encodings: ${JSON.stringify(i.encodings)}`));
23614
23614
  const d = () => {
23615
23615
  this.logger.info("Disabling video due to the producer closure"), n(this, st).delete(e);
23616
23616
  }, l = n(this, q).createProducer(
@@ -23911,7 +23911,7 @@ class ne {
23911
23911
  ({ payload: t }) => {
23912
23912
  if (this.mediaJoined)
23913
23913
  try {
23914
- const { participantId: e, producerState: r } = Ib.fromBinary(t);
23914
+ const { participantId: e, producerState: r } = Ab.fromBinary(t);
23915
23915
  if (e === this.peerId)
23916
23916
  return;
23917
23917
  r != null && r.mimeType || (r.mimeType = r.kind === ar.AUDIO ? "audio/opus" : "video/VP8"), this.logger.info(
@@ -23997,7 +23997,7 @@ class ne {
23997
23997
  const {
23998
23998
  participantId: e,
23999
23999
  producerState: { producerId: r }
24000
- } = Ob.fromBinary(t);
24000
+ } = Db.fromBinary(t);
24001
24001
  if (e === this.peerId)
24002
24002
  return;
24003
24003
  this.logger.info(`producer closed broadcast:${e}`), this.context.getValue("peerSessionStore").emit(C.PRODUCER_CLOSED, {
@@ -24124,7 +24124,7 @@ Pc = new WeakMap(), _c = new WeakMap(), tt = new WeakMap(), q = new WeakMap(), E
24124
24124
  }
24125
24125
  });
24126
24126
  }, wl = new WeakSet(), OS = function() {
24127
- const t = ID("video/VP8");
24127
+ const t = AD("video/VP8");
24128
24128
  return f(this, El, t), t;
24129
24129
  }, Rl = new WeakSet(), NS = function(t, e, r, i) {
24130
24130
  return u(this, null, function* () {
@@ -24288,7 +24288,7 @@ function US(s, t) {
24288
24288
  const r = new ne(s, t);
24289
24289
  return s.setValue("roomNodeClient", r), r;
24290
24290
  }
24291
- function WD(s) {
24291
+ function GD(s) {
24292
24292
  const t = s.getValue("roomNodeClient");
24293
24293
  try {
24294
24294
  t == null || t.leaveRoom();
@@ -24297,10 +24297,10 @@ function WD(s) {
24297
24297
  }
24298
24298
  s.setValue("roomNodeClient", void 0);
24299
24299
  }
24300
- var JD = Object.defineProperty, KD = Object.getOwnPropertyDescriptor, dn = (s, t, e, r) => {
24301
- for (var i = r > 1 ? void 0 : r ? KD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24300
+ var WD = Object.defineProperty, JD = Object.getOwnPropertyDescriptor, dn = (s, t, e, r) => {
24301
+ for (var i = r > 1 ? void 0 : r ? JD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24302
24302
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
24303
- return r && i && JD(t, e, i), i;
24303
+ return r && i && WD(t, e, i), i;
24304
24304
  }, Rc, Yt, te, Tt, Bt, Xg;
24305
24305
  const $S = (Xg = class {
24306
24306
  /**
@@ -24554,7 +24554,7 @@ const $S = (Xg = class {
24554
24554
  }
24555
24555
  if (this.self.setIsPinned(!1), n(this, te).setValue("stageStatus", "OFF_STAGE", !1), yield this.leaveMediaRoom(s), n(this, te).setValue("roomNodeClient", void 0), n(this, te).notify("stageStatus"), n(this, te).getValue("connectionHandler").socketJoined)
24556
24556
  try {
24557
- n(this, Yt).leaveRoom();
24557
+ n(this, Yt).leaveRoom(this.self) || this.logger.warn("SelfController.leaveRoom: socket leave was not sent");
24558
24558
  } catch (r) {
24559
24559
  this.logger.error("SelfController.leaveRoom: socket leave failed", { error: r });
24560
24560
  }
@@ -24636,7 +24636,7 @@ dn([
24636
24636
  P.trace("SelfController.init")
24637
24637
  ], ii, "init", 1);
24638
24638
  var bc;
24639
- class zD {
24639
+ class KD {
24640
24640
  constructor(t) {
24641
24641
  m(this, bc, void 0);
24642
24642
  f(this, bc, t);
@@ -24653,7 +24653,7 @@ class zD {
24653
24653
  }
24654
24654
  bc = new WeakMap();
24655
24655
  var kc, Ac;
24656
- class YD {
24656
+ class zD {
24657
24657
  constructor(t, e) {
24658
24658
  m(this, kc, void 0);
24659
24659
  m(this, Ac, void 0);
@@ -24694,10 +24694,10 @@ class YD {
24694
24694
  }
24695
24695
  }
24696
24696
  kc = new WeakMap(), Ac = new WeakMap();
24697
- var QD = Object.defineProperty, XD = Object.getOwnPropertyDescriptor, ip = (s, t, e, r) => {
24698
- for (var i = r > 1 ? void 0 : r ? XD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24697
+ var YD = Object.defineProperty, QD = Object.getOwnPropertyDescriptor, ip = (s, t, e, r) => {
24698
+ for (var i = r > 1 ? void 0 : r ? QD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24699
24699
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
24700
- return r && i && QD(t, e, i), i;
24700
+ return r && i && YD(t, e, i), i;
24701
24701
  }, er, Ta;
24702
24702
  class Zl {
24703
24703
  constructor(t, e) {
@@ -24731,7 +24731,7 @@ class Zl {
24731
24731
  };
24732
24732
  return n(this, er).sendMessage(
24733
24733
  Ls.createPoll,
24734
- c0.toBinary(a)
24734
+ o0.toBinary(a)
24735
24735
  );
24736
24736
  }
24737
24737
  votePoll(t, e) {
@@ -24741,7 +24741,7 @@ class Zl {
24741
24741
  };
24742
24742
  return n(this, er).sendMessage(
24743
24743
  Ls.votePoll,
24744
- l0.toBinary(r)
24744
+ d0.toBinary(r)
24745
24745
  );
24746
24746
  }
24747
24747
  on(t, e) {
@@ -24780,10 +24780,10 @@ ip([
24780
24780
  ip([
24781
24781
  P.trace("PollSocketHandler.votePoll")
24782
24782
  ], Zl.prototype, "votePoll", 1);
24783
- var ZD = Object.defineProperty, eO = Object.getOwnPropertyDescriptor, tO = (s, t, e, r) => {
24784
- for (var i = r > 1 ? void 0 : r ? eO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24783
+ var XD = Object.defineProperty, ZD = Object.getOwnPropertyDescriptor, eO = (s, t, e, r) => {
24784
+ for (var i = r > 1 ? void 0 : r ? ZD(t, e) : t, a = s.length - 1, o; a >= 0; a--)
24785
24785
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
24786
- return r && i && ZD(t, e, i), i;
24786
+ return r && i && XD(t, e, i), i;
24787
24787
  }, Dt;
24788
24788
  class BS {
24789
24789
  constructor(t, e) {
@@ -24830,7 +24830,7 @@ class BS {
24830
24830
  roomUuid: ""
24831
24831
  }, r = this.socket.sendMessagePromise(
24832
24832
  B.joinRoom,
24833
- ck.toBinary(e)
24833
+ ok.toBinary(e)
24834
24834
  );
24835
24835
  try {
24836
24836
  const { peer: a } = un.fromBinary((yield r).payload);
@@ -24847,7 +24847,7 @@ class BS {
24847
24847
  getAllAddedParticipants() {
24848
24848
  return u(this, null, function* () {
24849
24849
  try {
24850
- return Wk.fromBinary(
24850
+ return Gk.fromBinary(
24851
24851
  (yield this.socket.sendMessagePromise(B.getAllAddedParticipants)).payload
24852
24852
  ).participants.map(
24853
24853
  (i) => {
@@ -24871,7 +24871,7 @@ class BS {
24871
24871
  offset: r
24872
24872
  }, o = yield this.socket.sendMessagePromise(
24873
24873
  B.getRoomPeersInfo,
24874
- Xb.toBinary(a)
24874
+ Qb.toBinary(a)
24875
24875
  );
24876
24876
  i = gu.fromBinary(o.payload);
24877
24877
  } catch (a) {
@@ -25000,10 +25000,19 @@ class BS {
25000
25000
  );
25001
25001
  });
25002
25002
  }
25003
- leaveRoom() {
25004
- return this.socket.joinAttempted = !1, this.socket.sendMessage(
25003
+ leaveRoom(t) {
25004
+ this.socket.joinAttempted = !1;
25005
+ const e = {
25006
+ peer: {
25007
+ peerId: t.peerId,
25008
+ userId: t.userId,
25009
+ displayName: t.name,
25010
+ waitlisted: t.waitlistStatus === "waiting"
25011
+ }
25012
+ };
25013
+ return this.socket.sendMessage(
25005
25014
  B.leaveRoom,
25006
- lk.toBinary({})
25015
+ dk.toBinary(e)
25007
25016
  );
25008
25017
  }
25009
25018
  kick(t) {
@@ -25037,7 +25046,7 @@ class BS {
25037
25046
  };
25038
25047
  this.socket.sendMessage(
25039
25048
  B.acceptWaitingRoomRequests,
25040
- Xk.toBinary(e)
25049
+ Qk.toBinary(e)
25041
25050
  );
25042
25051
  }
25043
25052
  rejectWaitingRoomRequest(t) {
@@ -25046,7 +25055,7 @@ class BS {
25046
25055
  };
25047
25056
  this.socket.sendMessage(
25048
25057
  B.denyWaitingRoomRequests,
25049
- eA.toBinary(e)
25058
+ Zk.toBinary(e)
25050
25059
  );
25051
25060
  }
25052
25061
  updatePermissions(t, e) {
@@ -25061,7 +25070,7 @@ class BS {
25061
25070
  });
25062
25071
  }), this.socket.sendMessagePromise(
25063
25072
  dd.updateUserPreset,
25064
- AA.toBinary(r)
25073
+ kA.toBinary(r)
25065
25074
  );
25066
25075
  });
25067
25076
  }
@@ -25167,8 +25176,8 @@ class BS {
25167
25176
  try {
25168
25177
  const r = yield this.socket.sendMessagePromise(
25169
25178
  dd.getUserPresets,
25170
- PA.toBinary(e)
25171
- ), i = RA.fromBinary(r.payload).peerPresets[0], a = new TextDecoder().decode(i.preset), o = JSON.parse(a).permissions;
25179
+ EA.toBinary(e)
25180
+ ), i = wA.fromBinary(r.payload).peerPresets[0], a = new TextDecoder().decode(i.preset), o = JSON.parse(a).permissions;
25172
25181
  return { chat: o.chat, polls: o.polls, plugins: o.plugins };
25173
25182
  } catch (r) {
25174
25183
  throw this.logger.error("Error in getting user preset", { error: r }), r;
@@ -25177,11 +25186,11 @@ class BS {
25177
25186
  }
25178
25187
  }
25179
25188
  Dt = new WeakMap();
25180
- tO([
25189
+ eO([
25181
25190
  P.trace("RoomSocketHandler.joinRoom")
25182
25191
  ], BS.prototype, "joinRoom", 1);
25183
25192
  var yt;
25184
- class sO {
25193
+ class tO {
25185
25194
  constructor(t) {
25186
25195
  m(this, yt, void 0);
25187
25196
  f(this, yt, t);
@@ -25207,7 +25216,7 @@ class sO {
25207
25216
  };
25208
25217
  n(this, yt).sendMessage(
25209
25218
  B.grantStageAccess,
25210
- XI.toBinary(e)
25219
+ QI.toBinary(e)
25211
25220
  );
25212
25221
  });
25213
25222
  }
@@ -25218,7 +25227,7 @@ class sO {
25218
25227
  };
25219
25228
  n(this, yt).sendMessage(
25220
25229
  B.denyStageAccess,
25221
- e0.toBinary(e)
25230
+ ZI.toBinary(e)
25222
25231
  );
25223
25232
  });
25224
25233
  }
@@ -25296,7 +25305,7 @@ class sO {
25296
25305
  }
25297
25306
  yt = new WeakMap();
25298
25307
  var qr, ya;
25299
- class rO {
25308
+ class sO {
25300
25309
  constructor(t, e) {
25301
25310
  m(this, qr, void 0);
25302
25311
  m(this, ya, void 0);
@@ -25327,7 +25336,7 @@ class rO {
25327
25336
  };
25328
25337
  n(this, qr).sendMessage(
25329
25338
  Ns.storeInsertKeys,
25330
- DI.toBinary(a),
25339
+ MI.toBinary(a),
25331
25340
  i
25332
25341
  );
25333
25342
  }
@@ -25339,7 +25348,7 @@ class rO {
25339
25348
  };
25340
25349
  n(this, qr).sendMessage(
25341
25350
  Ns.storeGetKeys,
25342
- NI.toBinary(a),
25351
+ OI.toBinary(a),
25343
25352
  i
25344
25353
  );
25345
25354
  }
@@ -25351,7 +25360,7 @@ class rO {
25351
25360
  };
25352
25361
  n(this, qr).sendMessage(
25353
25362
  Ns.storeDeleteKeys,
25354
- VI.toBinary(a),
25363
+ LI.toBinary(a),
25355
25364
  i
25356
25365
  );
25357
25366
  }
@@ -25364,14 +25373,14 @@ class rO {
25364
25373
  }
25365
25374
  }
25366
25375
  qr = new WeakMap(), ya = new WeakMap();
25367
- var iO = Object.defineProperty, nO = (s, t, e) => t in s ? iO(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, aO = (s, t, e) => (nO(s, typeof t != "symbol" ? t + "" : t, e), e), np = (s, t, e) => {
25376
+ var rO = Object.defineProperty, iO = (s, t, e) => t in s ? rO(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, nO = (s, t, e) => (iO(s, typeof t != "symbol" ? t + "" : t, e), e), np = (s, t, e) => {
25368
25377
  if (!t.has(s))
25369
25378
  throw TypeError("Cannot " + e);
25370
25379
  }, M = (s, t, e) => (np(s, t, "read from private field"), e ? e.call(s) : t.get(s)), ce = (s, t, e) => {
25371
25380
  if (t.has(s))
25372
25381
  throw TypeError("Cannot add the same private member more than once");
25373
25382
  t instanceof WeakSet ? t.add(s) : t.set(s, e);
25374
- }, re = (s, t, e, r) => (np(s, t, "write to private field"), r ? r.call(s, e) : t.set(s, e), e), ie = (s, t, e) => (np(s, t, "access private method"), e), Od = {}, oO = {
25383
+ }, re = (s, t, e, r) => (np(s, t, "write to private field"), r ? r.call(s, e) : t.set(s, e), e), ie = (s, t, e) => (np(s, t, "access private method"), e), Od = {}, aO = {
25375
25384
  get exports() {
25376
25385
  return Od;
25377
25386
  },
@@ -25386,7 +25395,7 @@ Pn && typeof Pn.ownKeys == "function" ? fd = Pn.ownKeys : Object.getOwnPropertyS
25386
25395
  } : fd = function(s) {
25387
25396
  return Object.getOwnPropertyNames(s);
25388
25397
  };
25389
- function cO(s) {
25398
+ function oO(s) {
25390
25399
  console && console.warn && console.warn(s);
25391
25400
  }
25392
25401
  var HS = Number.isNaN || function(s) {
@@ -25395,8 +25404,8 @@ var HS = Number.isNaN || function(s) {
25395
25404
  function ue() {
25396
25405
  ue.init.call(this);
25397
25406
  }
25398
- oO.exports = ue;
25399
- Od.once = hO;
25407
+ aO.exports = ue;
25408
+ Od.once = uO;
25400
25409
  ue.EventEmitter = ue;
25401
25410
  ue.prototype._events = void 0;
25402
25411
  ue.prototype._eventsCount = 0;
@@ -25467,7 +25476,7 @@ function qS(s, t, e, r) {
25467
25476
  else if (typeof o == "function" ? o = a[t] = r ? [e, o] : [o, e] : r ? o.unshift(e) : o.push(e), i = FS(s), i > 0 && o.length > i && !o.warned) {
25468
25477
  o.warned = !0;
25469
25478
  var c = new Error("Possible EventEmitter memory leak detected. " + o.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
25470
- c.name = "MaxListenersExceededWarning", c.emitter = s, c.type = t, c.count = o.length, cO(c);
25479
+ c.name = "MaxListenersExceededWarning", c.emitter = s, c.type = t, c.count = o.length, oO(c);
25471
25480
  }
25472
25481
  return s;
25473
25482
  }
@@ -25478,12 +25487,12 @@ ue.prototype.on = ue.prototype.addListener;
25478
25487
  ue.prototype.prependListener = function(s, t) {
25479
25488
  return qS(this, s, t, !0);
25480
25489
  };
25481
- function dO() {
25490
+ function cO() {
25482
25491
  if (!this.fired)
25483
25492
  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);
25484
25493
  }
25485
25494
  function jS(s, t, e) {
25486
- var r = { fired: !1, wrapFn: void 0, target: s, type: t, listener: e }, i = dO.bind(r);
25495
+ var r = { fired: !1, wrapFn: void 0, target: s, type: t, listener: e }, i = cO.bind(r);
25487
25496
  return i.listener = e, r.wrapFn = i, i;
25488
25497
  }
25489
25498
  ue.prototype.once = function(s, t) {
@@ -25508,7 +25517,7 @@ ue.prototype.removeListener = function(s, t) {
25508
25517
  }
25509
25518
  if (i < 0)
25510
25519
  return this;
25511
- i === 0 ? e.shift() : lO(e, i), e.length === 1 && (r[s] = e[0]), r.removeListener !== void 0 && this.emit("removeListener", s, o || t);
25520
+ i === 0 ? e.shift() : dO(e, i), e.length === 1 && (r[s] = e[0]), r.removeListener !== void 0 && this.emit("removeListener", s, o || t);
25512
25521
  }
25513
25522
  return this;
25514
25523
  };
@@ -25537,7 +25546,7 @@ function GS(s, t, e) {
25537
25546
  if (r === void 0)
25538
25547
  return [];
25539
25548
  var i = r[t];
25540
- return i === void 0 ? [] : typeof i == "function" ? e ? [i.listener || i] : [i] : e ? uO(i) : JS(i, i.length);
25549
+ return i === void 0 ? [] : typeof i == "function" ? e ? [i.listener || i] : [i] : e ? lO(i) : JS(i, i.length);
25541
25550
  }
25542
25551
  ue.prototype.listeners = function(s) {
25543
25552
  return GS(this, s, !0);
@@ -25568,17 +25577,17 @@ function JS(s, t) {
25568
25577
  e[r] = s[r];
25569
25578
  return e;
25570
25579
  }
25571
- function lO(s, t) {
25580
+ function dO(s, t) {
25572
25581
  for (; t + 1 < s.length; t++)
25573
25582
  s[t] = s[t + 1];
25574
25583
  s.pop();
25575
25584
  }
25576
- function uO(s) {
25585
+ function lO(s) {
25577
25586
  for (var t = new Array(s.length), e = 0; e < t.length; ++e)
25578
25587
  t[e] = s[e].listener || s[e];
25579
25588
  return t;
25580
25589
  }
25581
- function hO(s, t) {
25590
+ function uO(s, t) {
25582
25591
  return new Promise(function(e, r) {
25583
25592
  function i(o) {
25584
25593
  s.removeListener(t, a), r(o);
@@ -25586,10 +25595,10 @@ function hO(s, t) {
25586
25595
  function a() {
25587
25596
  typeof s.removeListener == "function" && s.removeListener("error", i), e([].slice.call(arguments));
25588
25597
  }
25589
- KS(s, t, a, { once: !0 }), t !== "error" && pO(s, i, { once: !0 });
25598
+ KS(s, t, a, { once: !0 }), t !== "error" && hO(s, i, { once: !0 });
25590
25599
  });
25591
25600
  }
25592
- function pO(s, t, e) {
25601
+ function hO(s, t, e) {
25593
25602
  typeof s.on == "function" && KS(s, "error", t, e);
25594
25603
  }
25595
25604
  function KS(s, t, e, r) {
@@ -25602,7 +25611,7 @@ function KS(s, t, e, r) {
25602
25611
  else
25603
25612
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof s);
25604
25613
  }
25605
- class gO extends T {
25614
+ class pO extends T {
25606
25615
  constructor() {
25607
25616
  super("message.v1.SocketMessage", [
25608
25617
  {
@@ -25639,7 +25648,7 @@ class gO extends T {
25639
25648
  ]);
25640
25649
  }
25641
25650
  }
25642
- const Mg = new gO();
25651
+ const Mg = new pO();
25643
25652
  class zS {
25644
25653
  static encode(t) {
25645
25654
  return Mg.toBinary(t);
@@ -25648,13 +25657,13 @@ class zS {
25648
25657
  return Mg.fromBinary(new Uint8Array(t));
25649
25658
  }
25650
25659
  }
25651
- function mO(s, t) {
25660
+ function gO(s, t) {
25652
25661
  return Math.floor(Math.random() * (t - s + 1) + s);
25653
25662
  }
25654
25663
  var yr;
25655
- class fO {
25664
+ class mO {
25656
25665
  constructor(t = {}) {
25657
- aO(this, "opts"), ce(this, yr, void 0), this.opts = {
25666
+ nO(this, "opts"), ce(this, yr, void 0), this.opts = {
25658
25667
  initialTimeout: t.initialTimeout || 1e3,
25659
25668
  maxTimeout: t.maxTimeout || 1e4,
25660
25669
  factor: t.factor || 2
@@ -25663,7 +25672,7 @@ class fO {
25663
25672
  wait() {
25664
25673
  return u(this, null, function* () {
25665
25674
  re(this, yr, M(this, yr) + 1);
25666
- const t = mO(0, Math.min(this.opts.maxTimeout, this.opts.initialTimeout * ou(2, M(this, yr))));
25675
+ const t = gO(0, Math.min(this.opts.maxTimeout, this.opts.initialTimeout * ou(2, M(this, yr))));
25667
25676
  yield new Promise((e) => {
25668
25677
  setTimeout(e, t);
25669
25678
  });
@@ -25684,7 +25693,7 @@ const fr = {
25684
25693
  error: 3
25685
25694
  };
25686
25695
  var ci, di;
25687
- class SO {
25696
+ class fO {
25688
25697
  constructor(t) {
25689
25698
  ce(this, ci, void 0), ce(this, di, void 0), re(this, ci, console), re(this, di, t);
25690
25699
  }
@@ -25705,7 +25714,7 @@ ci = /* @__PURE__ */ new WeakMap(), di = /* @__PURE__ */ new WeakMap();
25705
25714
  var YS = /* @__PURE__ */ ((s) => (s[s.CONNECTING = 0] = "CONNECTING", s[s.OPEN = 1] = "OPEN", s[s.CLOSING = 2] = "CLOSING", s[s.CLOSED = 3] = "CLOSED", s))(YS || {});
25706
25715
  const Dg = "2", Og = "3";
25707
25716
  var ke, mn, de, Ee, Er, We, rr, Yr, us, fn, Sn, Os, lh, QS, io, Sd, uh, XS, vd, Pu, Nd, hh, ph, ZS, uo, Td, _n, ho, Ld, gh, Cn, po, mh, ev, go, yd, mo, Vd;
25708
- class vO {
25717
+ class SO {
25709
25718
  constructor(t, e) {
25710
25719
  var E, k, R, A, x, D, U, $, F, X, ee, Ke;
25711
25720
  ce(this, lh), ce(this, io), ce(this, uh), ce(this, vd), ce(this, Nd), ce(this, ph), ce(this, uo), ce(this, _n), ce(this, Ld), ce(this, Cn), ce(this, mh), ce(this, go), ce(this, mo), ce(this, ke, void 0), ce(this, mn, void 0), ce(this, de, void 0), ce(this, Ee, void 0), ce(this, Er, void 0), ce(this, We, void 0), ce(this, rr, void 0), ce(this, Yr, void 0), ce(this, us, void 0), ce(this, fn, void 0), ce(this, Sn, void 0), ce(this, Os, void 0);
@@ -25713,7 +25722,7 @@ class vO {
25713
25722
  re(this, mn, t), re(this, Er, []), re(this, We, new Od()), re(this, rr, !0), re(this, us, !1), re(this, de, e != null ? e : {}), (E = (r = M(this, de)).autoReconnect) != null || (r.autoReconnect = !0), (k = (i = M(this, de)).retryConnectionInterval) != null || (i.retryConnectionInterval = 1e3), (R = (a = M(this, de)).pingTimeout) != null || (a.pingTimeout = 3e4), (A = (o = M(this, de)).connectionTimeout) != null || (o.connectionTimeout = 5e3), (x = (c = M(this, de)).debug) != null || (c.debug = !0), (D = (d = M(this, de)).maxReconnectionAttempts) != null || (d.maxReconnectionAttempts = 10), (U = (l = M(this, de)).disconnectOnPingTimeout) != null || (l.disconnectOnPingTimeout = !0), ($ = (h = M(this, de)).queueOnDisconnect) != null || (h.queueOnDisconnect = !1), (F = (g = M(this, de)).flushOnReconnect) != null || (g.flushOnReconnect = !1), (X = (S = M(this, de)).clientInitiatedPings) != null || (S.clientInitiatedPings = !1), (ee = (y = M(this, de)).clientInitiatedPingInterval) != null || (y.clientInitiatedPingInterval = 3e4), re(this, Yr, {
25714
25723
  code: void 0,
25715
25724
  reason: void 0
25716
- }), re(this, Ee, (Ke = M(this, de).logger) != null ? Ke : new SO(M(this, de).debug ? "debug" : "info")), re(this, Os, new fO());
25725
+ }), re(this, Ee, (Ke = M(this, de).logger) != null ? Ke : new fO(M(this, de).debug ? "debug" : "info")), re(this, Os, new mO());
25717
25726
  }
25718
25727
  /**
25719
25728
  * Ready state of the current WebSocket.
@@ -25971,12 +25980,12 @@ ke = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap(), de = /*
25971
25980
  }, mo = /* @__PURE__ */ new WeakSet(), Vd = function() {
25972
25981
  ie(this, go, yd).call(this), M(this, ke) && (M(this, ke).onopen = void 0, M(this, ke).onerror = void 0, M(this, ke).onmessage = void 0, M(this, ke).onclose = void 0);
25973
25982
  };
25974
- var TO = Object.defineProperty, yO = Object.getOwnPropertyDescriptor, tu = (s, t, e, r) => {
25975
- for (var i = r > 1 ? void 0 : r ? yO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
25983
+ var vO = Object.defineProperty, TO = Object.getOwnPropertyDescriptor, tu = (s, t, e, r) => {
25984
+ for (var i = r > 1 ? void 0 : r ? TO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
25976
25985
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
25977
- return r && i && TO(t, e, i), i;
25986
+ return r && i && vO(t, e, i), i;
25978
25987
  };
25979
- const Ng = 65535, EO = 3, PO = 15e3, _O = 8e3, CO = 50, wO = 1e3, RO = 1e4;
25988
+ const Ng = 65535, yO = 3, EO = 15e3, PO = 8e3, _O = 50, CO = 1e3, wO = 1e4;
25980
25989
  var tr, Ea, ye, je, Ze, Gi, jr, Wi, Ji, Gr, ws, Rs, Wr, Ki, ht, Jr, pt, Ve, Ic, fh, Il, sv, Ml, rv, Dl, iv, Mc, Sh, Dc, vh, Ol, _u, nv, Nl, av, Oc, Th, Nc, yh, Lc, Eh, Ll, ov, Vc, Ph, xc, _h;
25981
25990
  const tv = (_u = class {
25982
25991
  constructor(s, {
@@ -26022,7 +26031,7 @@ const tv = (_u = class {
26022
26031
  throw new w("peerId, meetingId, or authToken can not be empty", "0404");
26023
26032
  f(this, Ve, s), f(this, Rs, navigator.isReactNative ? RS : ao), this.capabilities = i, this.roomName = e, this.authToken = r, f(this, tr, O(this, Ic, fh).call(this, t)), f(this, Ea, t);
26024
26033
  const a = i.includes("PING");
26025
- f(this, ye, new vO(n(this, tr), {
26034
+ f(this, ye, new SO(n(this, tr), {
26026
26035
  autoReconnect: !1,
26027
26036
  disconnectOnPingTimeout: a,
26028
26037
  queueOnDisconnect: !1,
@@ -26155,7 +26164,7 @@ const tv = (_u = class {
26155
26164
  } catch (D) {
26156
26165
  x = new Error("failed to parse error message", { cause: D });
26157
26166
  try {
26158
- const U = Gb.fromBinary(A);
26167
+ const U = jb.fromBinary(A);
26159
26168
  x = new Error(U.message);
26160
26169
  } catch (U) {
26161
26170
  x = new Error("failed to parse error message", { cause: U });
@@ -26250,7 +26259,7 @@ const tv = (_u = class {
26250
26259
  try {
26251
26260
  e && (r = n(this, Rs).setTimeout(
26252
26261
  () => e.abort(),
26253
- _O
26262
+ PO
26254
26263
  ));
26255
26264
  const i = yield fetch(s, L({
26256
26265
  method: "GET",
@@ -26271,7 +26280,7 @@ const tv = (_u = class {
26271
26280
  }, Dl = new WeakSet(), iv = function() {
26272
26281
  n(this, jr) === void 0 && f(this, jr, n(this, Rs).setInterval(
26273
26282
  () => O(this, Ml, rv).call(this),
26274
- PO
26283
+ EO
26275
26284
  ));
26276
26285
  }, Mc = new WeakSet(), Sh = function() {
26277
26286
  var s;
@@ -26280,11 +26289,11 @@ const tv = (_u = class {
26280
26289
  f(this, Gi, [
26281
26290
  s,
26282
26291
  ...n(this, Gi).filter((t) => t !== s)
26283
- ].slice(0, EO));
26292
+ ].slice(0, yO));
26284
26293
  }, Ol = new WeakSet(), nv = function(s) {
26285
26294
  const t = Math.min(
26286
- RO,
26287
- wO * ou(2, s - 1)
26295
+ wO,
26296
+ CO * ou(2, s - 1)
26288
26297
  );
26289
26298
  return Math.floor(Math.random() * (t + 1));
26290
26299
  }, Nl = new WeakSet(), av = function(s) {
@@ -26306,7 +26315,7 @@ const tv = (_u = class {
26306
26315
  }, Ll = new WeakSet(), ov = function(s) {
26307
26316
  return u(this, null, function* () {
26308
26317
  try {
26309
- for (let t = 1; t <= CO; t += 1) {
26318
+ for (let t = 1; t <= _O; t += 1) {
26310
26319
  if (!n(this, pt) || s !== n(this, ht) || (yield O(this, Nl, av).call(this, t), !n(this, pt) || s !== n(this, ht)))
26311
26320
  return;
26312
26321
  this.updateURL(Pa()), this.logger.info("SocketService::Attempting to reconnect to socket-edge", {
@@ -26356,7 +26365,7 @@ tu([
26356
26365
  tu([
26357
26366
  P.trace("SocketService.sendMessagePromiseWithTimeout")
26358
26367
  ], Kc.prototype, "sendMessagePromiseWithTimeout", 1);
26359
- class bO {
26368
+ class RO {
26360
26369
  constructor(t) {
26361
26370
  p(this, "socketService");
26362
26371
  this.socketService = t;
@@ -26364,7 +26373,7 @@ class bO {
26364
26373
  // eslint-disable-next-line class-methods-use-this
26365
26374
  handleConnectedRoomsDumpRaw({ payload: t }) {
26366
26375
  var a;
26367
- const e = vk.fromBinary(t), r = e.meetings.map((o) => {
26376
+ const e = Sk.fromBinary(t), r = e.meetings.map((o) => {
26368
26377
  var c;
26369
26378
  return {
26370
26379
  id: o.id,
@@ -26383,7 +26392,7 @@ class bO {
26383
26392
  }
26384
26393
  // eslint-disable-next-line class-methods-use-this
26385
26394
  handleTransferPeerRaw({ payload: t }) {
26386
- const e = jk.fromBinary(t);
26395
+ const e = qk.fromBinary(t);
26387
26396
  return { authToken: e.authToken, meetingId: e.meetingId };
26388
26397
  }
26389
26398
  // eslint-disable-next-line class-methods-use-this
@@ -26403,7 +26412,7 @@ class bO {
26403
26412
  }
26404
26413
  // eslint-disable-next-line class-methods-use-this
26405
26414
  handleConnectedRoomsDeletedRaw({ payload: t }) {
26406
- return Nk.fromBinary(t).payloads;
26415
+ return Ok.fromBinary(t).payloads;
26407
26416
  }
26408
26417
  getConnectedRoomsDump() {
26409
26418
  return u(this, null, function* () {
@@ -26417,7 +26426,7 @@ class bO {
26417
26426
  return u(this, null, function* () {
26418
26427
  const { payload: e } = yield this.socketService.sendMessagePromise(
26419
26428
  B.createConnectedRooms,
26420
- Pk.toBinary({ payloads: t })
26429
+ Ek.toBinary({ payloads: t })
26421
26430
  );
26422
26431
  return ug.fromBinary(e).payloads.map((i) => ({
26423
26432
  id: i.id,
@@ -26434,7 +26443,7 @@ class bO {
26434
26443
  return u(this, null, function* () {
26435
26444
  const e = t.map((i) => ({ id: i })), r = yield this.socketService.sendMessagePromise(
26436
26445
  B.deleteConnectedRooms,
26437
- Dk.toBinary({ payloads: e })
26446
+ Mk.toBinary({ payloads: e })
26438
26447
  );
26439
26448
  return this.handleConnectedRoomsDeletedRaw(
26440
26449
  r
@@ -26446,7 +26455,7 @@ class bO {
26446
26455
  try {
26447
26456
  const e = yield this.socketService.sendMessagePromise(
26448
26457
  B.movePeers,
26449
- Bk.toBinary({
26458
+ $k.toBinary({
26450
26459
  sourceMeetingId: t.sourceMeetingId,
26451
26460
  destinationMeetingId: t.destinationMeetingId,
26452
26461
  participants: t.participants
@@ -26459,10 +26468,10 @@ class bO {
26459
26468
  });
26460
26469
  }
26461
26470
  }
26462
- var kO = Object.defineProperty, AO = Object.getOwnPropertyDescriptor, IO = (s, t, e, r) => {
26463
- for (var i = r > 1 ? void 0 : r ? AO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26471
+ var bO = Object.defineProperty, kO = Object.getOwnPropertyDescriptor, AO = (s, t, e, r) => {
26472
+ for (var i = r > 1 ? void 0 : r ? kO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26464
26473
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
26465
- return r && i && kO(t, e, i), i;
26474
+ return r && i && bO(t, e, i), i;
26466
26475
  }, Ot;
26467
26476
  class cv extends xt {
26468
26477
  constructor(e) {
@@ -26639,13 +26648,13 @@ class cv extends xt {
26639
26648
  }
26640
26649
  }
26641
26650
  Ot = new WeakMap();
26642
- IO([
26651
+ AO([
26643
26652
  Ut({ maxInvocations: 60, period: 60 })
26644
26653
  ], cv.prototype, "getConnectedMeetings", 1);
26645
- var MO = Object.defineProperty, DO = Object.getOwnPropertyDescriptor, ap = (s, t, e, r) => {
26646
- for (var i = r > 1 ? void 0 : r ? DO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26654
+ var IO = Object.defineProperty, MO = Object.getOwnPropertyDescriptor, ap = (s, t, e, r) => {
26655
+ for (var i = r > 1 ? void 0 : r ? MO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26647
26656
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
26648
- return r && i && MO(t, e, i), i;
26657
+ return r && i && IO(t, e, i), i;
26649
26658
  }, ge, Zg;
26650
26659
  const dv = (Zg = class {
26651
26660
  constructor(s) {
@@ -26720,7 +26729,7 @@ const dv = (Zg = class {
26720
26729
  this.logger.error(`ConnectedMeetingsController:: switchMeeting:: issues in leaving previous meeting. Meeting Id: ${(o = (a = n(this, ge).getValue("meeting")) == null ? void 0 : a.meta) == null ? void 0 : o.meetingId}`, { error: l });
26721
26730
  }
26722
26731
  this.logger.info(`ConnectedMeetingsController::switchMeeting:: initializing new meeting. Meeting Id: ${t}`);
26723
- const i = yield HO.init(z(L({}, n(this, ge).getValue("options")), {
26732
+ const i = yield BO.init(z(L({}, n(this, ge).getValue("options")), {
26724
26733
  cachedUserDetails: null,
26725
26734
  defaults: z(L(L({}, n(this, ge).getValue("options").defaults), r), {
26726
26735
  /**
@@ -26794,10 +26803,10 @@ ap([
26794
26803
  ap([
26795
26804
  P.trace("ConnectedMeetingsController.switchMeeting")
26796
26805
  ], su.prototype, "switchMeeting", 1);
26797
- var OO = Object.defineProperty, NO = Object.getOwnPropertyDescriptor, op = (s, t, e, r) => {
26798
- for (var i = r > 1 ? void 0 : r ? NO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26806
+ var DO = Object.defineProperty, OO = Object.getOwnPropertyDescriptor, op = (s, t, e, r) => {
26807
+ for (var i = r > 1 ? void 0 : r ? OO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
26799
26808
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
26800
- return r && i && OO(t, e, i), i;
26809
+ return r && i && DO(t, e, i), i;
26801
26810
  };
26802
26811
  const no = class {
26803
26812
  constructor(s, t, e) {
@@ -26838,9 +26847,9 @@ const no = class {
26838
26847
  cachedUserDetails: o,
26839
26848
  logger: c
26840
26849
  } = s.getAllValues();
26841
- if (WD(s), ve.isSupported() === !1)
26850
+ if (GD(s), ve.isSupported() === !1)
26842
26851
  throw new w("Browser not supported", "0010", c, !0);
26843
- const d = $0(
26852
+ const d = U0(
26844
26853
  s,
26845
26854
  {
26846
26855
  authToken: r,
@@ -26849,7 +26858,7 @@ const no = class {
26849
26858
  }
26850
26859
  );
26851
26860
  d.setRoomName(i), d.setRoomUUID(i), d.setOrganizationId(a), d.setHeader("tracing-id", t), s.setValue("apiClient", d);
26852
- const l = new EM(s);
26861
+ const l = new yM(s);
26853
26862
  s.setValue("connectionHandler", l);
26854
26863
  let h = "", g = null;
26855
26864
  c.info("CF SFU is being used.");
@@ -26887,7 +26896,7 @@ const no = class {
26887
26896
  k,
26888
26897
  R
26889
26898
  );
26890
- dM(k) && ((U = no.createRoomNodeClient(s, S).initializeConnection(
26899
+ cM(k) && ((U = no.createRoomNodeClient(s, S).initializeConnection(
26891
26900
  g.participant.name,
26892
26901
  i,
26893
26902
  !1,
@@ -26915,11 +26924,11 @@ const no = class {
26915
26924
  }
26916
26925
  }, d)), t.setValue("maxPreferredStreams", ve.isMobile() ? i.maxVideoStreams.mobile : i.maxVideoStreams.desktop);
26917
26926
  let S, y, E, k, R, A, x, D, U;
26918
- const $ = new YD(t, s), F = new bO(
26927
+ const $ = new zD(t, s), F = new RO(
26919
26928
  s
26920
26929
  );
26921
26930
  t.setValue("connectedMeetingsSocketHandler", F);
26922
- const X = new Zl(t, s), ee = new hr(t, s), Ke = new sO(s), it = new BS(t, s), _t = new rO(t, s), I = new zD(s), v = yield ii.init(
26931
+ const X = new Zl(t, s), ee = new hr(t, s), Ke = new tO(s), it = new BS(t, s), _t = new sO(t, s), I = new KD(s), v = yield ii.init(
26923
26932
  t,
26924
26933
  it,
26925
26934
  c,
@@ -26962,7 +26971,7 @@ const no = class {
26962
26971
  v.self,
26963
26972
  D.participants
26964
26973
  ));
26965
- const H = new pD(t, _t);
26974
+ const H = new hD(t, _t);
26966
26975
  if (o.plugin) {
26967
26976
  if (!D)
26968
26977
  throw new w(
@@ -27036,7 +27045,7 @@ op([
27036
27045
  op([
27037
27046
  P.trace("Controller.createSocketService")
27038
27047
  ], ru, "createSocketService", 1);
27039
- class LO {
27048
+ class NO {
27040
27049
  constructor() {
27041
27050
  p(this, "battery");
27042
27051
  p(this, "logger");
@@ -27070,8 +27079,8 @@ class LO {
27070
27079
  });
27071
27080
  }
27072
27081
  }
27073
- const Lg = new LO();
27074
- function VO(s, t) {
27082
+ const Lg = new NO();
27083
+ function LO(s, t) {
27075
27084
  s.startsWith("eyJ") || console.error("Invalid auth token provided. Ensure you are passing a %cparticipant `authToken`%c — not an Org API Key or an incorrectly formatted token.\nYou get the participant token from the Add Participant API: https://docs.realtime.cloudflare.com/api#/operations/add_participant", "font-weight: bold", "font-weight: normal");
27076
27085
  try {
27077
27086
  const { meetingId: e, orgId: r, participantId: i } = JSON.parse(atob(s.split(".")[1]));
@@ -27092,7 +27101,7 @@ function VO(s, t) {
27092
27101
  }
27093
27102
  }
27094
27103
  var Kr, zi, Yi, Uc, Vl, lv;
27095
- class xO {
27104
+ class VO {
27096
27105
  constructor() {
27097
27106
  m(this, Vl);
27098
27107
  m(this, Kr, new Audio());
@@ -27131,7 +27140,7 @@ Kr = new WeakMap(), zi = new WeakMap(), Yi = new WeakMap(), Uc = new WeakMap(),
27131
27140
  (e = n(this, Uc)) == null || e.call(this, t);
27132
27141
  };
27133
27142
  var Qi;
27134
- class UO extends xO {
27143
+ class xO extends VO {
27135
27144
  constructor() {
27136
27145
  super();
27137
27146
  /** Maps participantId to trackId */
@@ -27147,10 +27156,10 @@ class UO extends xO {
27147
27156
  }
27148
27157
  }
27149
27158
  Qi = new WeakMap();
27150
- var $O = Object.defineProperty, BO = Object.getOwnPropertyDescriptor, iu = (s, t, e, r) => {
27151
- for (var i = r > 1 ? void 0 : r ? BO(t, e) : t, a = s.length - 1, o; a >= 0; a--)
27159
+ var UO = Object.defineProperty, $O = Object.getOwnPropertyDescriptor, iu = (s, t, e, r) => {
27160
+ for (var i = r > 1 ? void 0 : r ? $O(t, e) : t, a = s.length - 1, o; a >= 0; a--)
27152
27161
  (o = s[a]) && (i = (r ? o(t, e, i) : o(i)) || i);
27153
- return r && i && $O(t, e, i), i;
27162
+ return r && i && UO(t, e, i), i;
27154
27163
  }, Oe, Xi, em;
27155
27164
  let ei = (em = class {
27156
27165
  constructor(t, e) {
@@ -27184,7 +27193,7 @@ let ei = (em = class {
27184
27193
  return u(this, null, function* () {
27185
27194
  var S, y, k, R, A, x, D, U, $;
27186
27195
  ve.init();
27187
- const e = (y = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? y : Pa(), { authToken: r, baseURI: i } = t, E = VO(r, i), { meetingId: a } = E, o = Yc(E, ["meetingId"]);
27196
+ const e = (y = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? y : Pa(), { authToken: r, baseURI: i } = t, E = LO(r, i), { meetingId: a } = E, o = Yc(E, ["meetingId"]);
27188
27197
  if ((k = o.baseURI) != null && k.includes("dyte.io"))
27189
27198
  throw new w("Dyte Base URIs are no longer supported. Use RealtimeKit Base URIs.", "0001");
27190
27199
  window.__zone_symbol__DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION = !0;
@@ -27228,7 +27237,7 @@ let ei = (em = class {
27228
27237
  video: !0
27229
27238
  };
27230
27239
  return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", rw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
27231
- })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.4"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new UO()), a;
27240
+ })), a.setValue("cachedUserDetails", bs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.0.3-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new xO()), a;
27232
27241
  }
27233
27242
  join() {
27234
27243
  return u(this, null, function* () {
@@ -27369,7 +27378,7 @@ iu([
27369
27378
  ei = iu([
27370
27379
  rt("0000")
27371
27380
  ], ei);
27372
- const HO = ei;
27381
+ const BO = ei;
27373
27382
  export {
27374
- HO as default
27383
+ BO as default
27375
27384
  };