@beterdichtbij/component-library 0.72.4 → 0.72.5-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +64 -64
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +174 -171
  5. package/dist/bd-component-lib.umd.js +57 -57
  6. package/dist/locales/en.json +79 -79
  7. package/dist/locales/nl.json +180 -180
  8. package/dist/scss/_active-filters.scss +65 -65
  9. package/dist/scss/_alert.scss +11 -11
  10. package/dist/scss/_article.scss +31 -31
  11. package/dist/scss/_assign-conversation-modal.scss +13 -13
  12. package/dist/scss/_attachments.scss +107 -107
  13. package/dist/scss/_badge.scss +18 -18
  14. package/dist/scss/_button.scss +80 -80
  15. package/dist/scss/_card.scss +62 -62
  16. package/dist/scss/_chatcloud.scss +99 -99
  17. package/dist/scss/_collapsable-card.scss +103 -103
  18. package/dist/scss/_content-library-card-message-template.scss +136 -136
  19. package/dist/scss/_content-library-card.scss +158 -158
  20. package/dist/scss/_content-library-modal.scss +8 -8
  21. package/dist/scss/_content-library-overview.scss +4 -4
  22. package/dist/scss/_content-library-split-button.scss +23 -23
  23. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  24. package/dist/scss/_dropdown.scss +113 -113
  25. package/dist/scss/_extern.scss +1 -1
  26. package/dist/scss/_file-upload-preview.scss +53 -53
  27. package/dist/scss/_file-upload.scss +26 -26
  28. package/dist/scss/_filter-card.scss +64 -64
  29. package/dist/scss/_form-field.scss +12 -12
  30. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  31. package/dist/scss/_forms.scss +3 -3
  32. package/dist/scss/_header.scss +170 -170
  33. package/dist/scss/_icon-luscii-logo.scss +31 -31
  34. package/dist/scss/_icons.scss +38 -38
  35. package/dist/scss/_image-attachment-modal.scss +91 -91
  36. package/dist/scss/_input-group.scss +2 -2
  37. package/dist/scss/_loader.scss +59 -59
  38. package/dist/scss/_markdown-editor.scss +114 -114
  39. package/dist/scss/_message-template-form-modal.scss +47 -47
  40. package/dist/scss/_mixins.scss +78 -78
  41. package/dist/scss/_mobile-menu.scss +91 -91
  42. package/dist/scss/_modal.scss +182 -182
  43. package/dist/scss/_notification-button.scss +29 -29
  44. package/dist/scss/_pagination.scss +56 -56
  45. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  46. package/dist/scss/_pill-container.scss +26 -26
  47. package/dist/scss/_pill.scss +63 -63
  48. package/dist/scss/_profile-image.scss +34 -34
  49. package/dist/scss/_table-sort-header.scss +13 -13
  50. package/dist/scss/_table.scss +16 -16
  51. package/dist/scss/_templates.scss +264 -264
  52. package/dist/scss/_toast.scss +69 -69
  53. package/dist/scss/_user-information.scss +34 -34
  54. package/dist/scss/_user.scss +21 -21
  55. package/dist/scss/_video-call-toast.scss +100 -100
  56. package/dist/scss/_zoomslider.scss +77 -77
  57. package/dist/scss/base/variables.scss +210 -210
  58. package/dist/scss/extern/_bootstrap.scss +14 -14
  59. package/dist/scss/extern/_prime-vue.scss +551 -551
  60. package/dist/scss/forms/_form-check.scss +16 -16
  61. package/dist/scss/forms/_form-input.scss +9 -9
  62. package/dist/scss/forms/_form-select.scss +4 -4
  63. package/dist/scss/main.scss +52 -52
  64. package/dist/scss/templates/_change-password-template.scss +8 -8
  65. package/dist/scss/templates/_content-library-template.scss +135 -135
  66. package/dist/scss/templates/_not-found-template.scss +35 -35
  67. package/dist/scss/templates/_video-call-template.scss +225 -225
  68. package/dist/stores/SessionTimeOutStore.ts +46 -46
  69. package/package.json +133 -133
@@ -244,7 +244,7 @@ var nn = /*#__PURE__*/ L($t, [["render", tn]]), rn = {}, an = {
244
244
  class: "icon icon-common-file-empty"
245
245
  };
246
246
  function on(e, t) {
247
- return A(), l("svg", an, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
247
+ return A(), l("svg", an, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
248
248
  }
249
249
  var sn = /*#__PURE__*/ L(rn, [["render", on]]), cn = {}, ln = {
250
250
  version: "1.1",
@@ -264,9 +264,9 @@ function un(e, t) {
264
264
  cy: "20.625",
265
265
  r: "1.125"
266
266
  }),
267
- u("path", { d: "M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\n C17.999,18.414,17.663,18.75,17.249,18.75z" }),
268
- u("path", { d: "M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z" }),
269
- u("path", { d: "M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\n c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z" })
267
+ u("path", { d: "M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\r\n C17.999,18.414,17.663,18.75,17.249,18.75z" }),
268
+ u("path", { d: "M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\r\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\r\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\r\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\r\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z" }),
269
+ u("path", { d: "M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\r\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\r\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\r\n c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z" })
270
270
  ], -1)]]);
271
271
  }
272
272
  var dn = /*#__PURE__*/ L(cn, [["render", un]]), fn = {}, pn = {
@@ -402,7 +402,7 @@ var tr = /*#__PURE__*/ L(Qn, [["render", er]]), nr = {}, rr = {
402
402
  class: "icon icon-file"
403
403
  };
404
404
  function ir(e, t) {
405
- return A(), l("svg", rr, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
405
+ return A(), l("svg", rr, [...t[0] ||= [u("title", null, "common-file-empty", -1), u("g", null, [u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" })], -1)]]);
406
406
  }
407
407
  var ar = /*#__PURE__*/ L(nr, [["render", ir]]), or = {}, sr = {
408
408
  class: "icon icon-file-added",
@@ -490,9 +490,9 @@ var xr = /*#__PURE__*/ L(vr, [["render", br]]), Sr = {}, Cr = {
490
490
  };
491
491
  function wr(e, t) {
492
492
  return A(), l("svg", Cr, [...t[0] ||= [u("title", null, "image-file-landscape", -1), u("g", null, [
493
- u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" }),
494
- u("path", { d: "M8.273,10.5c-1.654,0-3-1.346-3-3s1.346-3,3-3s3,1.346,3,3S9.927,10.5,8.273,10.5z M8.273,6c-0.827,0-1.5,0.673-1.5,1.5\n S7.446,9,8.273,9s1.5-0.673,1.5-1.5S9.1,6,8.273,6z" }),
495
- u("path", { d: "M18.813,18.95c-0.252,0-0.485-0.125-0.625-0.334l-3.925-5.888c-0.049-0.073-0.131-0.117-0.219-0.117\n c-0.051,0-0.101,0.015-0.144,0.043c-0.027,0.018-0.05,0.041-0.069,0.068l-2.692,3.846c-0.118,0.169-0.303,0.283-0.508,0.312\n c-0.037,0.005-0.072,0.008-0.106,0.008c-0.171,0-0.338-0.059-0.47-0.165l-1.668-1.338c-0.047-0.037-0.102-0.057-0.161-0.057\n c-0.01,0-0.02,0.001-0.03,0.002c-0.071,0.008-0.131,0.041-0.175,0.096l-2.125,3.19c-0.139,0.209-0.373,0.334-0.625,0.334\n c-0.148,0-0.292-0.043-0.415-0.125c-0.344-0.229-0.438-0.696-0.209-1.04l2.111-3.171c0.028-0.042,0.059-0.085,0.093-0.127\n c0.293-0.366,0.713-0.597,1.18-0.648c0.066-0.007,0.132-0.011,0.198-0.011c0.401,0,0.78,0.134,1.096,0.387l1.044,0.837l2.232-3.189\n c0.126-0.181,0.284-0.335,0.468-0.458c0.289-0.193,0.625-0.294,0.973-0.294c0.593,0,1.142,0.294,1.469,0.786l3.925,5.887\n c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z" })
493
+ u("path", { d: "M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883\r\n c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5\r\n c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883\r\n C18.406,1.576,18.22,1.5,18.023,1.5H3.023z" }),
494
+ u("path", { d: "M8.273,10.5c-1.654,0-3-1.346-3-3s1.346-3,3-3s3,1.346,3,3S9.927,10.5,8.273,10.5z M8.273,6c-0.827,0-1.5,0.673-1.5,1.5\r\n S7.446,9,8.273,9s1.5-0.673,1.5-1.5S9.1,6,8.273,6z" }),
495
+ u("path", { d: "M18.813,18.95c-0.252,0-0.485-0.125-0.625-0.334l-3.925-5.888c-0.049-0.073-0.131-0.117-0.219-0.117\r\n c-0.051,0-0.101,0.015-0.144,0.043c-0.027,0.018-0.05,0.041-0.069,0.068l-2.692,3.846c-0.118,0.169-0.303,0.283-0.508,0.312\r\n c-0.037,0.005-0.072,0.008-0.106,0.008c-0.171,0-0.338-0.059-0.47-0.165l-1.668-1.338c-0.047-0.037-0.102-0.057-0.161-0.057\r\n c-0.01,0-0.02,0.001-0.03,0.002c-0.071,0.008-0.131,0.041-0.175,0.096l-2.125,3.19c-0.139,0.209-0.373,0.334-0.625,0.334\r\n c-0.148,0-0.292-0.043-0.415-0.125c-0.344-0.229-0.438-0.696-0.209-1.04l2.111-3.171c0.028-0.042,0.059-0.085,0.093-0.127\r\n c0.293-0.366,0.713-0.597,1.18-0.648c0.066-0.007,0.132-0.011,0.198-0.011c0.401,0,0.78,0.134,1.096,0.387l1.044,0.837l2.232-3.189\r\n c0.126-0.181,0.284-0.335,0.468-0.458c0.289-0.193,0.625-0.294,0.973-0.294c0.593,0,1.142,0.294,1.469,0.786l3.925,5.887\r\n c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z" })
496
496
  ], -1)]]);
497
497
  }
498
498
  var Tr = /*#__PURE__*/ L(Sr, [["render", wr]]), Er = {}, Dr = {
@@ -508,7 +508,7 @@ var Tr = /*#__PURE__*/ L(Sr, [["render", wr]]), Er = {}, Dr = {
508
508
  class: "icon icon-image-file-warning"
509
509
  };
510
510
  function Or(e, t) {
511
- return A(), l("svg", Dr, [...t[0] ||= [f("<title>image-file-warning</title><g><circle cx=\"17.249\" cy=\"20.625\" r=\"1.125\"></circle><path d=\"M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\n C17.999,18.414,17.663,18.75,17.249,18.75z\"></path><path d=\"M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z\"></path><path d=\"M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\n c0,0.414,0.336,0.75,0.75,0.75h5.25c0.414,0,0.75,0.336,0.75,0.75S7.913,21,7.499,21H2.249z\"></path><circle cx=\"5.249\" cy=\"6\" r=\"1.125\"></circle><path d=\"M3.749,15c-0.26,0-0.498-0.132-0.636-0.352c-0.138-0.221-0.153-0.492-0.038-0.726l1.937-3.981\n c0.015-0.03,0.031-0.058,0.049-0.085c0.025-0.038,0.051-0.073,0.078-0.107C5.426,9.39,5.853,9.186,6.311,9.186\n c0.339,0,0.672,0.117,0.937,0.329l0.608,0.487l1.541-2.197C9.505,7.651,9.639,7.52,9.796,7.416c0.246-0.163,0.532-0.25,0.828-0.25\n c0.504,0,0.972,0.25,1.25,0.669l1.618,2.588c0.219,0.351,0.112,0.814-0.239,1.033c-0.12,0.075-0.257,0.114-0.397,0.114\n c-0.26,0-0.498-0.132-0.636-0.352l-1.606-2.57l-1.988,2.87c-0.118,0.169-0.304,0.283-0.508,0.312\n c-0.036,0.005-0.071,0.007-0.106,0.007c-0.17,0-0.337-0.059-0.469-0.165L6.316,10.69L4.948,13.5h4.801\n c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z\"></path></g>", 2)]]);
511
+ return A(), l("svg", Dr, [...t[0] ||= [f("<title>image-file-warning</title><g><circle cx=\"17.249\" cy=\"20.625\" r=\"1.125\"></circle><path d=\"M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3\r\n C17.999,18.414,17.663,18.75,17.249,18.75z\"></path><path d=\"M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451\r\n c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451\r\n c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567\r\n l-4.226,8.451c-0.071,0.142-0.109,0.3-0.109,0.459c0,0.565,0.46,1.024,1.024,1.024h8.452c0.158,0,0.317-0.038,0.46-0.109\r\n c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z\"></path><path d=\"M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658\r\n l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121\r\n c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5\r\n c0,0.414,0.336,0.75,0.75,0.75h5.25c0.414,0,0.75,0.336,0.75,0.75S7.913,21,7.499,21H2.249z\"></path><circle cx=\"5.249\" cy=\"6\" r=\"1.125\"></circle><path d=\"M3.749,15c-0.26,0-0.498-0.132-0.636-0.352c-0.138-0.221-0.153-0.492-0.038-0.726l1.937-3.981\r\n c0.015-0.03,0.031-0.058,0.049-0.085c0.025-0.038,0.051-0.073,0.078-0.107C5.426,9.39,5.853,9.186,6.311,9.186\r\n c0.339,0,0.672,0.117,0.937,0.329l0.608,0.487l1.541-2.197C9.505,7.651,9.639,7.52,9.796,7.416c0.246-0.163,0.532-0.25,0.828-0.25\r\n c0.504,0,0.972,0.25,1.25,0.669l1.618,2.588c0.219,0.351,0.112,0.814-0.239,1.033c-0.12,0.075-0.257,0.114-0.397,0.114\r\n c-0.26,0-0.498-0.132-0.636-0.352l-1.606-2.57l-1.988,2.87c-0.118,0.169-0.304,0.283-0.508,0.312\r\n c-0.036,0.005-0.071,0.007-0.106,0.007c-0.17,0-0.337-0.059-0.469-0.165L6.316,10.69L4.948,13.5h4.801\r\n c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z\"></path></g>", 2)]]);
512
512
  }
513
513
  var kr = /*#__PURE__*/ L(Er, [["render", Or]]), Ar = {}, jr = {
514
514
  xmlns: "http://www.w3.org/2000/svg",
@@ -602,7 +602,7 @@ var ri = /*#__PURE__*/ L(ei, [["render", ni]]), ii = {}, ai = {
602
602
  "xml:space": "preserve"
603
603
  };
604
604
  function oi(e, t) {
605
- return A(), l("svg", ai, [...t[0] ||= [f("<g><path class=\"st0\" d=\"M182.51,146.67l34.45-34.45l-0.02-0.01c4.39-4.3,7.13-10.28,7.13-16.91c0-13.07-10.6-23.67-23.67-23.67\n c-7.19,0-13.61,3.22-17.95,8.27c-4.34-5.06-10.77-8.27-17.95-8.27c-13.07,0-23.67,10.6-23.67,23.67c0,6.36,2.51,12.13,6.58,16.38\n L182.51,146.67z\"></path><g><path class=\"st1\" d=\"M182.52,146.67C182.52,146.66,182.53,146.66,182.52,146.67l-0.07-0.08\n C182.48,146.61,182.5,146.64,182.52,146.67z\"></path><linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"0.1062\" y1=\"200.7396\" x2=\"182.5212\" y2=\"200.7396\"><stop offset=\"0\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"3.045450e-03\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"0.9441\" style=\"stop-color:#61BBA1;\"></stop><stop offset=\"1\" style=\"stop-color:#61BBA1;\"></stop></linearGradient><path class=\"st2\" d=\"M182.52,146.67c-0.02-0.03-0.04-0.05-0.07-0.08l-28.65-28.57c-28.32,22.4-64.09,35.82-103,35.82\n c-17.69,0-34.71-2.79-50.7-7.9c2.22,76.33,64.76,137.54,141.63,137.54c3.2,0,6.36-0.14,9.51-0.35\n c-2.36-11.16-3.63-22.73-3.63-34.59C147.61,210.13,160.66,174.81,182.52,146.67z\"></path><path class=\"st3\" d=\"M152.09,116.3l-4.64-4.63c-4.08-4.25-6.58-10.02-6.58-16.38c0-13.07,10.6-23.67,23.67-23.67\n c2.26,0,4.42,0.35,6.49,0.94c-12.8-21.48-20.92-46.08-22.88-72.4c-2.12-0.09-4.25-0.16-6.4-0.16C83.01,0,32.63,35.71,11.12,86.6\n c12.72-3.12,26-4.8,39.68-4.8C88.95,81.79,124.04,94.7,152.09,116.3z\"></path><path class=\"st4\" d=\"M153.81,118.01l-1.72-1.71C124.04,94.7,88.95,81.79,50.81,81.79c-13.68,0-26.96,1.69-39.68,4.8\n C3.96,103.55,0,122.18,0,141.73c0,1.41,0.07,2.8,0.11,4.2c15.99,5.12,33.02,7.9,50.7,7.9\n C89.72,153.83,125.49,140.42,153.81,118.01z\"></path><path class=\"st5\" d=\"M200.44,71.63c13.07,0,23.67,10.6,23.67,23.67c0,6.63-2.73,12.62-7.13,16.91l0.02,0.01l-5.09,5.09\n c17.75-13.81,38.33-24.15,60.78-29.87c-11.79-28.41-32.56-52.14-58.77-67.68c-3.73,19-10.7,36.83-20.31,52.91\n C195.76,72.01,198.05,71.63,200.44,71.63z\"></path><path class=\"st6\" d=\"M182.48,79.9c2.9-3.38,6.74-5.91,11.11-7.23c9.61-16.08,16.58-33.91,20.31-52.91\n C194.48,8.24,172.09,1.23,148.13,0.16c1.97,26.33,10.08,50.92,22.88,72.4C175.53,73.86,179.51,76.43,182.48,79.9z\"></path><path class=\"st7\" d=\"M182.54,146.67L182.54,146.67c-0.01-0.01-0.01,0-0.02,0c21.62,28.06,34.51,63.19,34.51,101.35\n c0,4.78-0.25,9.5-0.64,14.18c37.8-23.48,63.72-64.24,66.74-111.25c-26.87-5.02-51.45-16.5-72.1-32.78L182.54,146.67z\"></path><path class=\"st8\" d=\"M182.52,146.67c-21.86,28.14-34.91,63.46-34.91,101.86c0,11.86,1.27,23.43,3.63,34.59\n c23.8-1.58,46-9.02,65.15-20.91c0.4-4.68,0.64-9.4,0.64-14.18C217.04,209.86,204.14,174.73,182.52,146.67z\"></path><path class=\"st9\" d=\"M272.67,87.44c-22.45,5.72-43.03,16.06-60.78,29.87l-0.86,0.86c20.64,16.28,45.23,27.76,72.1,32.78\n c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z\"></path></g></g>", 1)]]);
605
+ return A(), l("svg", ai, [...t[0] ||= [f("<g><path class=\"st0\" d=\"M182.51,146.67l34.45-34.45l-0.02-0.01c4.39-4.3,7.13-10.28,7.13-16.91c0-13.07-10.6-23.67-23.67-23.67\r\n c-7.19,0-13.61,3.22-17.95,8.27c-4.34-5.06-10.77-8.27-17.95-8.27c-13.07,0-23.67,10.6-23.67,23.67c0,6.36,2.51,12.13,6.58,16.38\r\n L182.51,146.67z\"></path><g><path class=\"st1\" d=\"M182.52,146.67C182.52,146.66,182.53,146.66,182.52,146.67l-0.07-0.08\r\n C182.48,146.61,182.5,146.64,182.52,146.67z\"></path><linearGradient id=\"SVGID_1_\" gradientUnits=\"userSpaceOnUse\" x1=\"0.1062\" y1=\"200.7396\" x2=\"182.5212\" y2=\"200.7396\"><stop offset=\"0\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"3.045450e-03\" style=\"stop-color:#9AD0BC;\"></stop><stop offset=\"0.9441\" style=\"stop-color:#61BBA1;\"></stop><stop offset=\"1\" style=\"stop-color:#61BBA1;\"></stop></linearGradient><path class=\"st2\" d=\"M182.52,146.67c-0.02-0.03-0.04-0.05-0.07-0.08l-28.65-28.57c-28.32,22.4-64.09,35.82-103,35.82\r\n c-17.69,0-34.71-2.79-50.7-7.9c2.22,76.33,64.76,137.54,141.63,137.54c3.2,0,6.36-0.14,9.51-0.35\r\n c-2.36-11.16-3.63-22.73-3.63-34.59C147.61,210.13,160.66,174.81,182.52,146.67z\"></path><path class=\"st3\" d=\"M152.09,116.3l-4.64-4.63c-4.08-4.25-6.58-10.02-6.58-16.38c0-13.07,10.6-23.67,23.67-23.67\r\n c2.26,0,4.42,0.35,6.49,0.94c-12.8-21.48-20.92-46.08-22.88-72.4c-2.12-0.09-4.25-0.16-6.4-0.16C83.01,0,32.63,35.71,11.12,86.6\r\n c12.72-3.12,26-4.8,39.68-4.8C88.95,81.79,124.04,94.7,152.09,116.3z\"></path><path class=\"st4\" d=\"M153.81,118.01l-1.72-1.71C124.04,94.7,88.95,81.79,50.81,81.79c-13.68,0-26.96,1.69-39.68,4.8\r\n C3.96,103.55,0,122.18,0,141.73c0,1.41,0.07,2.8,0.11,4.2c15.99,5.12,33.02,7.9,50.7,7.9\r\n C89.72,153.83,125.49,140.42,153.81,118.01z\"></path><path class=\"st5\" d=\"M200.44,71.63c13.07,0,23.67,10.6,23.67,23.67c0,6.63-2.73,12.62-7.13,16.91l0.02,0.01l-5.09,5.09\r\n c17.75-13.81,38.33-24.15,60.78-29.87c-11.79-28.41-32.56-52.14-58.77-67.68c-3.73,19-10.7,36.83-20.31,52.91\r\n C195.76,72.01,198.05,71.63,200.44,71.63z\"></path><path class=\"st6\" d=\"M182.48,79.9c2.9-3.38,6.74-5.91,11.11-7.23c9.61-16.08,16.58-33.91,20.31-52.91\r\n C194.48,8.24,172.09,1.23,148.13,0.16c1.97,26.33,10.08,50.92,22.88,72.4C175.53,73.86,179.51,76.43,182.48,79.9z\"></path><path class=\"st7\" d=\"M182.54,146.67L182.54,146.67c-0.01-0.01-0.01,0-0.02,0c21.62,28.06,34.51,63.19,34.51,101.35\r\n c0,4.78-0.25,9.5-0.64,14.18c37.8-23.48,63.72-64.24,66.74-111.25c-26.87-5.02-51.45-16.5-72.1-32.78L182.54,146.67z\"></path><path class=\"st8\" d=\"M182.52,146.67c-21.86,28.14-34.91,63.46-34.91,101.86c0,11.86,1.27,23.43,3.63,34.59\r\n c23.8-1.58,46-9.02,65.15-20.91c0.4-4.68,0.64-9.4,0.64-14.18C217.04,209.86,204.14,174.73,182.52,146.67z\"></path><path class=\"st9\" d=\"M272.67,87.44c-22.45,5.72-43.03,16.06-60.78,29.87l-0.86,0.86c20.64,16.28,45.23,27.76,72.1,32.78\r\n c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z\"></path></g></g>", 1)]]);
606
606
  }
607
607
  var si = /*#__PURE__*/ L(ii, [["render", oi]]), ci = {}, li = {
608
608
  class: "icon icon-luscii-open luscii-open",
@@ -30744,7 +30744,7 @@ var WJ = /* @__PURE__ */ hJ(AJ, [["render", UJ]]), GJ = (e) => typeof e == "numb
30744
30744
  _: 1
30745
30745
  })]));
30746
30746
  }
30747
- }, [["__scopeId", "data-v-bbef8bea"]]), yY = {
30747
+ }, [["__scopeId", "data-v-8a5728a9"]]), yY = {
30748
30748
  name: "TimesCircleIcon",
30749
30749
  extends: Im
30750
30750
  };
@@ -32143,19 +32143,19 @@ var mX = ["src", "alt"], hX = {
32143
32143
  deviceManager: null,
32144
32144
  incomingCall: null,
32145
32145
  call: null
32146
- }), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(0), F = j(0), pe = j(null), me = j(!1), he = j(""), ge = j(""), _e = j(null), ve = j(null), ye = null, be = null, xe = null, Se = a(() => {
32147
- switch (fe.value) {
32148
- case 0: return Me.value.hasNoAvailableCamera;
32149
- case 1: return Me.value.hasOneAvailableCamera;
32150
- default: return Me.value.hasMultipleAvailableCameras;
32146
+ }), ce = j(null), le = j(null), ue = j(null), de = j(null), fe = j(null), F = j(0), pe = j(0), me = j(null), he = j(!1), ge = j(""), _e = j(""), ve = j(null), ye = j(null), be = null, xe = null, Se = null, Ce = a(() => {
32147
+ switch (F.value) {
32148
+ case 0: return Ne.value.hasNoAvailableCamera;
32149
+ case 1: return Ne.value.hasOneAvailableCamera;
32150
+ default: return Ne.value.hasMultipleAvailableCameras;
32151
32151
  }
32152
- }), Ce = a(() => {
32152
+ }), we = a(() => {
32153
32153
  let e = navigator.userAgent;
32154
32154
  return /Mobi/.test(e) && !D.value;
32155
- }), we = a(() => {
32155
+ }), Te = a(() => {
32156
32156
  let e = navigator.userAgent, t = e.indexOf("Android") !== -1, n = /Mobi/.test(e), r = /iPad|iPhone|iPod/.test(e) && !window.MSStream;
32157
32157
  return !(t && n || r);
32158
- }), Te = a(() => !ae.value?.video && ze.value), Ee = a(() => !ae.value?.audio && ze.value), De = a(() => oe.value === i.Declined ? "incoming--declined" : "incoming--loading");
32158
+ }), Ee = a(() => !ae.value?.video && Be.value), De = a(() => !ae.value?.audio && Be.value), Oe = a(() => oe.value === i.Declined ? "incoming--declined" : "incoming--loading");
32159
32159
  a(() => {
32160
32160
  switch (ne.value) {
32161
32161
  case 0: return "weak";
@@ -32171,172 +32171,175 @@ var mX = ["src", "alt"], hX = {
32171
32171
  default: return null;
32172
32172
  }
32173
32173
  });
32174
- let Oe = a(() => E.value.videoCallTemplate || E.value), ke = a(() => Oe.value.actions || Oe.value), Ae = a(() => Oe.value.help || Oe.value), je = a(() => Oe.value.permissions || Oe.value), Me = a(() => Oe.value.cameraAvailability || Oe.value), Ne = a(() => D.value ? ke.value.stopSharingScreen : ke.value.shareScreen), Pe = a(() => Ae.value.placeholderSettingsHelpTitle), L = a(() => Ae.value.placeholderSettingsHelpMessage), Fe = a(() => oe.value === i.Declined), Ie = a(() => oe.value === i.HangedUp), Le = a(() => oe.value === i.Connected), Re = a(() => !Le.value), ze = a(() => oe.value === i.DevicePermissionDenied), Be = a(() => Oe.value.statusTextMessage || Oe.value), Ve = a(() => Oe.value.statusDetailMessage || Oe.value), He = a(() => b.participantRole);
32175
- function Ue(e) {
32174
+ let ke = a(() => E.value.videoCallTemplate || E.value), Ae = a(() => ke.value.actions || ke.value), je = a(() => ke.value.help || ke.value), Me = a(() => ke.value.permissions || ke.value), Ne = a(() => ke.value.cameraAvailability || ke.value), Pe = a(() => D.value ? Ae.value.stopSharingScreen : Ae.value.shareScreen), L = a(() => je.value.placeholderSettingsHelpTitle), Fe = a(() => je.value.placeholderSettingsHelpMessage), Ie = a(() => oe.value === i.Declined), Le = a(() => oe.value === i.HangedUp), Re = a(() => oe.value === i.Connected), ze = a(() => !Re.value), Be = a(() => oe.value === i.DevicePermissionDenied), Ve = a(() => ke.value.statusTextMessage || ke.value), He = a(() => ke.value.statusDetailMessage || ke.value), Ue = a(() => b.participantRole);
32175
+ function We(e) {
32176
32176
  if (typeof e != "string") return e;
32177
- let t = e.replaceAll("{participantRole}", He.value);
32177
+ let t = e.replaceAll("{participantRole}", Ue.value);
32178
32178
  return t && t.charAt(0).toLocaleUpperCase() + t.slice(1);
32179
32179
  }
32180
- let We = a(() => {
32180
+ let Ge = a(() => {
32181
32181
  switch (oe.value) {
32182
- case i.Initializing: return Ue(Be.value.initializing);
32183
- case i.Dialing: return Ue(Be.value.dialing);
32184
- case i.Ringing: return Ue(Be.value.ringing);
32185
- case i.Answered: return Ue(Be.value.answered);
32186
- case i.Connected: return Ue(Be.value.connected);
32187
- case i.Declined: return Ue(Be.value.videoCallDeclined);
32188
- case i.HangedUp: return Ue(Be.value.videoCallHangedUp);
32189
- case i.DevicePermissionDenied: return Ue(Be.value.devicePermissionDenied);
32190
- }
32191
- }), Ge = a(() => he.value || We.value), Ke = a(() => ge.value), qe = a(() => ee.value ? ".incoming__screenshare" : ".incoming__video");
32182
+ case i.Initializing: return We(Ve.value.initializing);
32183
+ case i.Dialing: return We(Ve.value.dialing);
32184
+ case i.Ringing: return We(Ve.value.ringing);
32185
+ case i.Answered: return We(Ve.value.answered);
32186
+ case i.Connected: return We(Ve.value.connected);
32187
+ case i.Declined: return We(Ve.value.videoCallDeclined);
32188
+ case i.HangedUp: return We(Ve.value.videoCallHangedUp);
32189
+ case i.DevicePermissionDenied: return We(Ve.value.devicePermissionDenied);
32190
+ }
32191
+ }), Ke = a(() => ge.value || Ge.value), qe = a(() => _e.value), Je = a(() => ee.value ? ".incoming__screenshare" : ".incoming__video");
32192
32192
  te(() => {
32193
- At(), Ye(), ve.value = window.setInterval(at, 5e3);
32193
+ Mt(), Xe(), ye.value = window.setInterval(ot, 5e3);
32194
32194
  }), re(() => {
32195
- pe.value && window.clearInterval(pe.value), ve.value && window.clearInterval(ve.value), Je(), Ot();
32195
+ me.value && window.clearInterval(me.value), ye.value && window.clearInterval(ye.value), vt(), Ye(), At();
32196
32196
  });
32197
- function Je() {
32198
- ye &&= (window.clearTimeout(ye), null), be &&= (window.clearTimeout(be), null), xe &&= (window.clearTimeout(xe), null);
32199
- }
32200
32197
  function Ye() {
32201
- Je(), oe.value === i.Initializing ? ye = window.setTimeout(() => {
32202
- oe.value === i.Initializing && (he.value = Ue(Be.value.callNotDelivered), ge.value = Ue(Ve.value.callNotDeliveredDetail));
32203
- }, 3e4) : oe.value === i.Dialing ? be = window.setTimeout(() => {
32204
- oe.value === i.Dialing && (he.value = "", ge.value = Ue(Ve.value.notAnsweredDetail));
32205
- }, 1e4) : oe.value === i.Connected && (xe = window.setTimeout(() => {
32206
- oe.value === i.Connected && (ge.value = Ue(Ve.value.noVideoHint));
32198
+ be &&= (window.clearTimeout(be), null), xe &&= (window.clearTimeout(xe), null), Se &&= (window.clearTimeout(Se), null);
32199
+ }
32200
+ function Xe() {
32201
+ Ye(), oe.value === i.Initializing ? be = window.setTimeout(() => {
32202
+ oe.value === i.Initializing && (ge.value = We(Ve.value.callNotDelivered), _e.value = We(He.value.callNotDeliveredDetail));
32203
+ }, 3e4) : oe.value === i.Dialing ? xe = window.setTimeout(() => {
32204
+ oe.value === i.Dialing && (ge.value = "", _e.value = We(He.value.notAnsweredDetail));
32205
+ }, 1e4) : oe.value === i.Connected && (Se = window.setTimeout(() => {
32206
+ oe.value === i.Connected && (_e.value = We(He.value.noVideoHint));
32207
32207
  }, 5e3));
32208
32208
  }
32209
- function Xe(e) {
32209
+ function Ze(e) {
32210
32210
  [
32211
32211
  i.Declined,
32212
32212
  i.HangedUp,
32213
32213
  i.DevicePermissionDenied
32214
- ].includes(oe.value) || (oe.value = e, he.value = "", ge.value = "", Ye());
32215
- }
32216
- function Ze() {
32217
- Xe(i.Declined);
32214
+ ].includes(oe.value) || (oe.value = e, ge.value = "", _e.value = "", Xe());
32218
32215
  }
32219
32216
  function Qe() {
32220
- Xe(i.Answered);
32217
+ Ze(i.Declined);
32221
32218
  }
32222
32219
  function $e() {
32223
- oe.value !== i.Connected && Xe(i.Dialing);
32220
+ Ze(i.Answered);
32224
32221
  }
32225
32222
  function et() {
32226
- oe.value !== i.DevicePermissionDenied && !b.isCallee && lt();
32223
+ oe.value !== i.Connected && Ze(i.Dialing);
32227
32224
  }
32228
- async function tt() {
32229
- Xe(i.HangedUp), ae.value.video && Et();
32225
+ function tt() {
32226
+ oe.value !== i.DevicePermissionDenied && !b.isCallee && ut();
32230
32227
  }
32231
- function nt(e) {
32232
- Xe(i.HangedUp), ge.value = gt(e);
32228
+ async function nt() {
32229
+ Ze(i.HangedUp), ae.value.video && Ot();
32233
32230
  }
32234
- function rt() {
32235
- he.value = Ue(Be.value.signalHold), ge.value = Ue(Ve.value.signalHoldDetail);
32231
+ function rt(e) {
32232
+ Ze(i.HangedUp), _e.value = _t(e);
32236
32233
  }
32237
32234
  function it() {
32238
- _e.value = /* @__PURE__ */ new Date();
32235
+ ge.value = We(Ve.value.signalHold), _e.value = We(He.value.signalHoldDetail);
32239
32236
  }
32240
32237
  function at() {
32241
- if (!_e.value || oe.value === i.HangedUp) return;
32242
- let e = /* @__PURE__ */ new Date(), t = new Date(_e.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
32243
- r >= 40 ? (he.value = Be.value.connectionIssues, ge.value = Ve.value.connectionIssuesStrong, ne.value = 0) : r > 20 && (he.value = Be.value.connectionIssues, ge.value = Ve.value.connectionIssuesMedium, ne.value = 1);
32238
+ ve.value = /* @__PURE__ */ new Date();
32244
32239
  }
32245
- async function ot(e) {
32246
- await kt(), N.client = w(new f());
32240
+ function ot() {
32241
+ if (!ve.value || oe.value === i.HangedUp) return;
32242
+ let e = /* @__PURE__ */ new Date(), t = new Date(ve.value), n = Math.abs(e.getTime() - t.getTime()), r = Math.ceil(n / 1e3);
32243
+ r >= 40 ? (ge.value = Ve.value.connectionIssues, _e.value = He.value.connectionIssuesStrong, ne.value = 0) : r > 20 && (ge.value = Ve.value.connectionIssues, _e.value = He.value.connectionIssuesMedium, ne.value = 1);
32244
+ }
32245
+ async function st(e) {
32246
+ await jt(), N.client = w(new f());
32247
32247
  let t = new y(e);
32248
32248
  if (N.agent = w(await N.client.createCallAgent(t)), N.deviceManager = await N.client.getDeviceManager(), ae.value = await N.deviceManager.askDevicePermission({
32249
32249
  video: !0,
32250
32250
  audio: !0
32251
- }), (await N.deviceManager.getCameras()).length || (ae.value.video = !1), pe.value = window.setInterval(Et, 5e3), !ae.value.audio || !ae.value.video) {
32252
- Xe(i.DevicePermissionDenied);
32251
+ }), (await N.deviceManager.getCameras()).length || (ae.value.video = !1), me.value = window.setInterval(Ot, 5e3), !ae.value.audio || !ae.value.video) {
32252
+ Ze(i.DevicePermissionDenied);
32253
32253
  return;
32254
32254
  }
32255
- N.agent.on("incomingCall", st), b.isCallee ? x("ready") : x("start-call");
32255
+ N.agent.on("incomingCall", ct), b.isCallee ? x("ready") : x("start-call");
32256
32256
  }
32257
- async function st(e) {
32258
- if (!me.value) try {
32259
- me.value = !0, N.incomingCall = e.incomingCall, await ut();
32257
+ async function ct(e) {
32258
+ if (!he.value) try {
32259
+ he.value = !0, N.incomingCall = e.incomingCall, await dt();
32260
32260
  } catch (e) {
32261
32261
  console.log("error occured during starting call", e);
32262
32262
  } finally {
32263
- me.value = !1;
32263
+ he.value = !1;
32264
32264
  }
32265
32265
  }
32266
- async function ct() {
32267
- let e = await dt();
32266
+ async function lt() {
32267
+ let e = await ft();
32268
32268
  return e ? { localVideoStreams: [e] } : void 0;
32269
32269
  }
32270
- async function lt() {
32270
+ async function ut() {
32271
32271
  try {
32272
- Xe(i.Dialing);
32273
- let e = { videoOptions: await ct() }, t = [{ communicationUserId: b.participant.videoCallIdentityId }];
32274
- N.call = N.agent.startCall(t, e), pt(), ft();
32272
+ Ze(i.Dialing);
32273
+ let e = { videoOptions: await lt() }, t = [{ communicationUserId: b.participant.videoCallIdentityId }];
32274
+ N.call = N.agent.startCall(t, e), mt(), pt();
32275
32275
  } catch (e) {
32276
32276
  console.error(e);
32277
32277
  }
32278
32278
  }
32279
- async function ut() {
32280
- let e = await ct();
32279
+ async function dt() {
32280
+ let e = await lt();
32281
32281
  try {
32282
32282
  N.call = await N.incomingCall.accept({ videoOptions: e });
32283
32283
  } catch (e) {
32284
32284
  console.error("Error occurred during accepting call", e);
32285
32285
  }
32286
- pt(), ft();
32286
+ mt(), pt();
32287
32287
  }
32288
- async function dt() {
32288
+ async function ft() {
32289
32289
  let e = (await N.deviceManager.getCameras())[0];
32290
32290
  if (e) return new g(e);
32291
32291
  console.error("No camera device found on the system");
32292
32292
  }
32293
- function ft() {
32294
- N.call.on("stateChanged", ht), N.call.on("localVideoStreamsUpdated", (e) => {
32295
- e.added.forEach(vt), e.removed.forEach(_t);
32296
- }), N.call.remoteParticipants.forEach(bt), N.call.on("remoteParticipantsUpdated", (e) => {
32297
- e.added.forEach(bt);
32293
+ function pt() {
32294
+ N.call.on("stateChanged", gt), N.call.on("localVideoStreamsUpdated", (e) => {
32295
+ e.added.forEach(bt), e.removed.forEach(yt);
32296
+ }), N.call.remoteParticipants.forEach(St), N.call.on("remoteParticipantsUpdated", (e) => {
32297
+ e.added.forEach(St);
32298
32298
  }), N.call.on("isScreenSharingOnChanged", () => {
32299
32299
  D.value = N.call.isScreenSharingOn;
32300
32300
  });
32301
32301
  }
32302
- function pt() {
32303
- M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged", mt), M.value.network.on("diagnosticChanged", mt);
32302
+ function mt() {
32303
+ M.value = N.call.feature(_.UserFacingDiagnostics), M.value.media.on("diagnosticChanged", ht), M.value.network.on("diagnosticChanged", ht);
32304
32304
  }
32305
- function mt(e) {
32305
+ function ht(e) {
32306
32306
  (e.diagnostic === "networkReceiveQuality" || e.diagnostic === "networkSendQuality") && (e.value === v.Bad ? (console.error(`${e.diagnostic} is bad quality`), ne.value = 0) : e.value === v.Poor ? (console.error(`${e.diagnostic} is poor quality`), ne.value = 1) : ne.value = 2);
32307
32307
  }
32308
- function ht() {
32308
+ function gt() {
32309
32309
  switch (N.call.state) {
32310
32310
  case "EarlyMedia":
32311
- Xe(i.Dialing);
32311
+ Ze(i.Dialing);
32312
32312
  break;
32313
32313
  case "Ringing":
32314
- Xe(i.Ringing);
32314
+ Ze(i.Ringing);
32315
32315
  break;
32316
32316
  case "Connected":
32317
- Xe(i.Connected);
32317
+ Ze(i.Connected);
32318
32318
  break;
32319
32319
  case "Disconnected":
32320
32320
  let e = N.call.callEndReason;
32321
- console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), tt();
32321
+ console.log("Call end reason:", e), console.log("Code:", e?.code), console.log("SubCode:", e?.subCode), nt();
32322
32322
  break;
32323
32323
  }
32324
32324
  }
32325
- function gt(e) {
32325
+ function _t(e) {
32326
32326
  let t = String(e);
32327
- return Ue(Oe.value.endReasons?.[t] || "");
32327
+ return We(ke.value.endReasons?.[t] || "");
32328
32328
  }
32329
- async function _t(e) {
32330
- if (!e || e.mediaStreamType !== "ScreenSharing" || !de.value) return;
32331
- de.value.dispose();
32329
+ function vt() {
32330
+ fe.value?.dispose(), fe.value = null, de.value = null;
32331
+ }
32332
+ async function yt(e) {
32333
+ if (!e || e.mediaStreamType !== "ScreenSharing" || !fe.value) return;
32334
+ vt();
32332
32335
  let t = document.querySelector(".outgoing__screenshare");
32333
- t.style.display = "none";
32336
+ t.replaceChildren(), t.style.display = "none";
32334
32337
  let n = document.querySelector(".outgoing__video");
32335
32338
  n.style.display = "flex";
32336
32339
  }
32337
- async function vt(e) {
32340
+ async function bt(e) {
32338
32341
  if (!e || e.mediaStreamType !== "ScreenSharing") return;
32339
- de.value = await new h(e).createView();
32342
+ vt(), fe.value = w(new h(e)), de.value = await fe.value.createView();
32340
32343
  let t = document.querySelector(".outgoing__screenshare");
32341
32344
  t.replaceChildren(de.value.target), t.style.display = "flex";
32342
32345
  let n = document.querySelector(".outgoing__video");
@@ -32344,7 +32347,7 @@ var mX = ["src", "alt"], hX = {
32344
32347
  let r = t.querySelector("video");
32345
32348
  r.style.objectFit = "contain";
32346
32349
  }
32347
- async function yt(e) {
32350
+ async function xt(e) {
32348
32351
  if (e && e.source && ce.value && ce.value.source && ce.value.source.id == e.source.id) return !0;
32349
32352
  try {
32350
32353
  le.value = new h(e);
@@ -32355,60 +32358,60 @@ var mX = ["src", "alt"], hX = {
32355
32358
  }
32356
32359
  return ce.value = e, !0;
32357
32360
  }
32358
- async function bt(e) {
32359
- e.videoStreams.forEach(xt), e.on("videoStreamsUpdated", (e) => {
32360
- e.added.forEach(xt);
32361
+ async function St(e) {
32362
+ e.videoStreams.forEach(Ct), e.on("videoStreamsUpdated", (e) => {
32363
+ e.added.forEach(Ct);
32361
32364
  });
32362
32365
  }
32363
- async function xt(e) {
32364
- if (e.mediaStreamType === "Video" && (await St(e), e.on("isAvailableChanged", async () => await St(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", wt), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
32366
+ async function Ct(e) {
32367
+ if (e.mediaStreamType === "Video" && (await wt(e), e.on("isAvailableChanged", async () => await wt(e))), e.mediaStreamType === "ScreenSharing" && e.on("isAvailableChanged", Et), e.mediaStreamType === "ScreenSharing" && e.isAvailable) {
32365
32368
  ue.value = new h(e);
32366
32369
  let t = await ue.value.createView(), n = document.querySelector(".incoming__screenshare");
32367
- Ct(!0), ee.value = !0, Dt(".incoming__screenshare"), n.replaceChildren(t.target);
32370
+ Tt(!0), ee.value = !0, kt(".incoming__screenshare"), n.replaceChildren(t.target);
32368
32371
  }
32369
32372
  }
32370
- async function St(e) {
32373
+ async function wt(e) {
32371
32374
  if (!e.isAvailable) return;
32372
32375
  ue.value = new h(e);
32373
32376
  let t = await ue.value.createView(), n = document.querySelector(".incoming__video");
32374
- n.hidden = !1, n.replaceChildren(t.target), Dt(".incoming__video"), Ct(!1);
32377
+ n.hidden = !1, n.replaceChildren(t.target), kt(".incoming__video"), Tt(!1);
32375
32378
  }
32376
- function Ct(e) {
32379
+ function Tt(e) {
32377
32380
  let t = document.querySelector(".incoming__video"), n = document.querySelector(".incoming__screenshare");
32378
32381
  t.style.display = e ? "none" : "block", n.style.display = e ? "flex" : "none";
32379
32382
  }
32380
- function wt() {
32381
- ee.value = !1, Ct(!1);
32383
+ function Et() {
32384
+ ee.value = !1, Tt(!1);
32382
32385
  }
32383
- async function Tt() {
32384
- Et(!0);
32386
+ async function Dt() {
32387
+ Ot(!0);
32385
32388
  }
32386
- async function Et(e = !1) {
32389
+ async function Ot(e = !1) {
32387
32390
  let t = N.call?.state;
32388
32391
  if (t === "Connecting" || t === "EarlyMedia") return;
32389
32392
  let n = (await N.deviceManager.getCameras()).filter((e) => e.name != "OBS Virtual Camera");
32390
- fe.value = n.length;
32391
- for (let t = 0; t < fe.value; t++) {
32392
- (e || t != 0) && (F.value = (F.value + 1) % fe.value);
32393
- let r = n[F.value];
32394
- if (await yt(new g(r))) break;
32393
+ F.value = n.length;
32394
+ for (let t = 0; t < F.value; t++) {
32395
+ (e || t != 0) && (pe.value = (pe.value + 1) % F.value);
32396
+ let r = n[pe.value];
32397
+ if (await xt(new g(r))) break;
32395
32398
  }
32396
32399
  }
32397
- function Dt(e) {
32400
+ function kt(e) {
32398
32401
  let t = document.querySelector(e);
32399
32402
  if (!t) return;
32400
32403
  let n = t.querySelector("video");
32401
32404
  n && (n.style.objectFit = "contain", n.disablePictureInPicture = !1);
32402
32405
  }
32403
- async function Ot() {
32406
+ async function At() {
32404
32407
  N.call && N.call.state !== "Disconnected" && (await N.call.hangUp({ forEveryone: !0 }), await N.agent.dispose()), x("end-call", C.value);
32405
32408
  }
32406
- async function kt() {
32409
+ async function jt() {
32407
32410
  return o ||= Promise.all([import("@azure/communication-calling"), import("@azure/communication-common")]).then(([e, t]) => {
32408
32411
  f = e.CallClient, h = e.VideoStreamRenderer, g = e.LocalVideoStream, _ = e.Features, v = e.DiagnosticQuality, y = t.AzureCommunicationTokenCredential;
32409
32412
  }), o;
32410
32413
  }
32411
- async function At() {
32414
+ async function Mt() {
32412
32415
  d ||= import("./browser-aFX0ImH2.js");
32413
32416
  let { AzureLogger: e, setLogLevel: t } = await d;
32414
32417
  e.log = (...e) => console.log(...e), t("info"), e.log = (...e) => {
@@ -32416,26 +32419,26 @@ var mX = ["src", "alt"], hX = {
32416
32419
  C.value = C.value.splice(1 - cZ).concat(t);
32417
32420
  };
32418
32421
  }
32419
- function jt() {
32420
- document.querySelector(qe.value).querySelector("video").requestFullscreen();
32422
+ function Nt() {
32423
+ document.querySelector(Je.value).querySelector("video").requestFullscreen();
32421
32424
  }
32422
- function Mt() {
32423
- let e = document.querySelector(qe.value).querySelector("video");
32425
+ function Pt() {
32426
+ let e = document.querySelector(Je.value).querySelector("video");
32424
32427
  document.pictureInPictureElement ? e.exitPictureInPicture() : document.pictureInPictureEnabled && e.requestPictureInPicture();
32425
32428
  }
32426
- async function Nt() {
32429
+ async function Ft() {
32427
32430
  N.call && N.call.isScreenSharingOn ? await N.call.stopScreenSharing() : await N.call.startScreenSharing();
32428
32431
  }
32429
32432
  return n({
32430
- CallDeclined: Ze,
32431
- CallAnswered: Qe,
32432
- CallForDataReceived: $e,
32433
- CallClosedWithStatusCode: nt,
32434
- CallHeartbeatReceived: it,
32435
- CallSignalHoldDetected: rt,
32436
- CallStartVideoCall: et,
32437
- CallHangUp: tt,
32438
- InitializeAcsConnection: ot
32433
+ CallDeclined: Qe,
32434
+ CallAnswered: $e,
32435
+ CallForDataReceived: et,
32436
+ CallClosedWithStatusCode: rt,
32437
+ CallHeartbeatReceived: at,
32438
+ CallSignalHoldDetected: it,
32439
+ CallStartVideoCall: tt,
32440
+ CallHangUp: nt,
32441
+ InitializeAcsConnection: st
32439
32442
  }), (e, n) => {
32440
32443
  let r = se("BDLoader");
32441
32444
  return A(), l("div", BX, [m(Xq, null, {
@@ -32448,23 +32451,23 @@ var mX = ["src", "alt"], hX = {
32448
32451
  }), m(Zq, null, {
32449
32452
  default: I(() => [m(Yq, {
32450
32453
  sm: "12",
32451
- lg: Fe.value ? "12" : "8"
32454
+ lg: Ie.value ? "12" : "8"
32452
32455
  }, {
32453
- default: I(() => [u("div", { class: O(["incoming", De.value]) }, [Re.value ? (A(), l("div", VX, [
32456
+ default: I(() => [u("div", { class: O(["incoming", Oe.value]) }, [ze.value ? (A(), l("div", VX, [
32454
32457
  m(r, {
32455
32458
  size: "lg",
32456
- message: We.value,
32457
- stopAnimation: Fe.value || Ie.value || ze.value
32459
+ message: Ge.value,
32460
+ stopAnimation: Ie.value || Le.value || Be.value
32458
32461
  }, null, 8, ["message", "stopAnimation"]),
32459
- Ee.value ? (A(), l("div", HX, [u("div", UX, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForAudio), 1)])) : c("", !0),
32460
- Te.value ? (A(), l("div", WX, [u("div", GX, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForVideo), 1)])) : c("", !0),
32461
- Fe.value || Ie.value || ze.value ? (A(), s(R, {
32462
+ De.value ? (A(), l("div", HX, [u("div", UX, [m(Ri, { class: "icon-xl icon-state-error" })]), u("span", null, P(Me.value.permissionDeniedForAudio), 1)])) : c("", !0),
32463
+ Ee.value ? (A(), l("div", WX, [u("div", GX, [m(oo, { class: "icon-xl icon-state-error" })]), u("span", null, P(Me.value.permissionDeniedForVideo), 1)])) : c("", !0),
32464
+ Ie.value || Le.value || Be.value ? (A(), s(R, {
32462
32465
  key: 2,
32463
32466
  variant: "primary",
32464
32467
  class: "text-center",
32465
- onClick: Ot
32468
+ onClick: At
32466
32469
  }, {
32467
- default: I(() => [p(P(ke.value.closeWindow), 1)]),
32470
+ default: I(() => [p(P(Ae.value.closeWindow), 1)]),
32468
32471
  _: 1
32469
32472
  })) : c("", !0)
32470
32473
  ])) : (A(), l("div", KX, [
@@ -32473,68 +32476,68 @@ var mX = ["src", "alt"], hX = {
32473
32476
  u("div", qX, [m(R, {
32474
32477
  variant: "primary",
32475
32478
  class: "text-center",
32476
- onClick: jt
32479
+ onClick: Nt
32477
32480
  }, {
32478
- default: I(() => [m(xa), u("span", null, P(ke.value.fullScreen), 1)]),
32481
+ default: I(() => [m(xa), u("span", null, P(Ae.value.fullScreen), 1)]),
32479
32482
  _: 1
32480
32483
  }), !T && !k.value ? (A(), s(R, {
32481
32484
  key: 0,
32482
32485
  variant: "primary",
32483
32486
  class: "text-center",
32484
- onClick: Mt
32487
+ onClick: Pt
32485
32488
  }, {
32486
- default: I(() => [m(xa), u("span", null, P(ke.value.miniPlayer), 1)]),
32489
+ default: I(() => [m(xa), u("span", null, P(Ae.value.miniPlayer), 1)]),
32487
32490
  _: 1
32488
32491
  })) : c("", !0)])
32489
32492
  ]))], 2)]),
32490
32493
  _: 1
32491
- }, 8, ["lg"]), Fe.value ? c("", !0) : (A(), s(Yq, {
32494
+ }, 8, ["lg"]), Ie.value ? c("", !0) : (A(), s(Yq, {
32492
32495
  key: 0,
32493
32496
  sm: "12",
32494
32497
  lg: "4"
32495
32498
  }, {
32496
32499
  default: I(() => [u("div", JX, [u("div", null, [
32497
32500
  u("div", YX, [u("div", XX, [
32498
- ze.value ? c("", !0) : (A(), l("div", ZX)),
32501
+ Be.value ? c("", !0) : (A(), l("div", ZX)),
32499
32502
  n[2] ||= u("div", { class: "outgoing__screenshare" }, null, -1),
32500
- we.value && !ze.value && !k.value && !Re.value ? (A(), s(R, {
32503
+ Te.value && !Be.value && !k.value && !ze.value ? (A(), s(R, {
32501
32504
  key: 1,
32502
32505
  variant: D.value ? "danger" : "primary",
32503
32506
  class: "text-center",
32504
- onClick: Nt
32507
+ onClick: Ft
32505
32508
  }, {
32506
- default: I(() => [m(xa), u("span", null, P(Ne.value), 1)]),
32509
+ default: I(() => [m(xa), u("span", null, P(Pe.value), 1)]),
32507
32510
  _: 1
32508
32511
  }, 8, ["variant"])) : c("", !0),
32509
- Ce.value ? (A(), l(t, { key: 2 }, [m(R, {
32512
+ we.value ? (A(), l(t, { key: 2 }, [m(R, {
32510
32513
  class: "text-center",
32511
- onClick: Tt
32514
+ onClick: Dt
32512
32515
  }, {
32513
- default: I(() => [p(P(ke.value.switchCamera), 1)]),
32516
+ default: I(() => [p(P(Ae.value.switchCamera), 1)]),
32514
32517
  _: 1
32515
- }), u("p", QX, P(Se.value), 1)], 64)) : c("", !0),
32516
- Te.value ? (A(), l("div", $X, [u("div", eZ, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(je.value.permissionDeniedForVideo), 1)])) : c("", !0)
32518
+ }), u("p", QX, P(Ce.value), 1)], 64)) : c("", !0),
32519
+ Ee.value ? (A(), l("div", $X, [u("div", eZ, [m(oo, { class: "icon-xxl icon-state-error" })]), u("span", null, P(Me.value.permissionDeniedForVideo), 1)])) : c("", !0)
32517
32520
  ])]),
32518
- !Ie.value && !ze.value ? (A(), s(R, {
32521
+ !Le.value && !Be.value ? (A(), s(R, {
32519
32522
  key: 0,
32520
32523
  variant: "danger",
32521
32524
  class: "end-call-button text-center w-100",
32522
- onClick: Ot
32525
+ onClick: At
32523
32526
  }, {
32524
- default: I(() => [m(zn), u("span", null, P(ke.value.endCall), 1)]),
32527
+ default: I(() => [m(zn), u("span", null, P(Ae.value.endCall), 1)]),
32525
32528
  _: 1
32526
32529
  })) : c("", !0),
32527
- u("div", tZ, [u("div", nZ, [u("p", rZ, P(Ge.value), 1), Ke.value ? (A(), l("small", iZ, P(Ke.value), 1)) : c("", !0)]), u("div", aZ, [
32528
- u("p", null, [u("b", null, P(Pe.value), 1)]),
32529
- u("p", null, P(L.value), 1),
32530
+ u("div", tZ, [u("div", nZ, [u("p", rZ, P(Ke.value), 1), qe.value ? (A(), l("small", iZ, P(qe.value), 1)) : c("", !0)]), u("div", aZ, [
32531
+ u("p", null, [u("b", null, P(L.value), 1)]),
32532
+ u("p", null, P(Fe.value), 1),
32530
32533
  u("p", null, [
32531
32534
  u("a", {
32532
32535
  href: b.videoTestUrl,
32533
32536
  target: "_blank",
32534
32537
  rel: "noopener noreferrer"
32535
- }, P(ke.value.testCall), 9, oZ),
32538
+ }, P(Ae.value.testCall), 9, oZ),
32536
32539
  n[3] ||= p(" • ", -1),
32537
- u("a", sZ, P(ke.value.serviceDesk), 1)
32540
+ u("a", sZ, P(Ae.value.serviceDesk), 1)
32538
32541
  ])
32539
32542
  ])])
32540
32543
  ])])]),