@100mslive/roomkit-react 0.1.4-alpha.1 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. package/dist/{HLSView-F2K5VSTS.js → HLSView-P57IRMAR.js} +7 -11
  2. package/dist/{HLSView-F2K5VSTS.js.map → HLSView-P57IRMAR.js.map} +1 -1
  3. package/dist/PinnedTrackView-4FYJEBTB.js +102 -0
  4. package/dist/PinnedTrackView-4FYJEBTB.js.map +7 -0
  5. package/dist/Popover/index.d.ts +1 -0
  6. package/dist/Prebuilt/App.d.ts +25 -0
  7. package/dist/Prebuilt/index.d.ts +1 -0
  8. package/dist/Prebuilt/provider/roomLayoutProvider/index.d.ts +1 -1
  9. package/dist/Sheet/Sheet.d.ts +3093 -0
  10. package/dist/Sheet/index.d.ts +1 -0
  11. package/dist/Theme/ThemeProvider.d.ts +4 -286
  12. package/dist/Theme/stitches.config.d.ts +1 -1
  13. package/dist/{VirtualBackground-S3XEPZ2T.js → VirtualBackground-GGCQJ5JM.js} +31 -7
  14. package/dist/VirtualBackground-GGCQJ5JM.js.map +7 -0
  15. package/dist/chunk-IVTWKQI3.js +827 -0
  16. package/dist/chunk-IVTWKQI3.js.map +7 -0
  17. package/dist/{chunk-42SWPN2C.js → chunk-OSM4QEQG.js} +3020 -2189
  18. package/dist/chunk-OSM4QEQG.js.map +7 -0
  19. package/dist/chunk-P5X32KOD.js +67 -0
  20. package/dist/chunk-P5X32KOD.js.map +7 -0
  21. package/dist/chunk-RVCZPPTL.js +1100 -0
  22. package/dist/chunk-RVCZPPTL.js.map +7 -0
  23. package/dist/{chunk-ESUJK7AT.js → conference-P6I6ESVF.js} +3136 -653
  24. package/dist/conference-P6I6ESVF.js.map +7 -0
  25. package/dist/index.cjs.js +15733 -15498
  26. package/dist/index.cjs.js.map +4 -4
  27. package/dist/index.js +4 -8
  28. package/dist/meta.cjs.json +3355 -3017
  29. package/dist/meta.esbuild.json +3534 -3329
  30. package/dist/utils/animations.d.ts +16 -0
  31. package/package.json +8 -10
  32. package/src/Button/Button.tsx +4 -4
  33. package/src/Dropdown/Dropdown.tsx +2 -2
  34. package/src/IconButton/IconButton.tsx +4 -2
  35. package/src/Pagination/StyledPagination.tsx +1 -0
  36. package/src/Popover/index.tsx +2 -1
  37. package/src/Prebuilt/{App.jsx → App.tsx} +95 -48
  38. package/src/Prebuilt/Prebuilt.stories.tsx +22 -8
  39. package/src/Prebuilt/common/constants.js +1 -2
  40. package/src/Prebuilt/common/hooks.js +8 -0
  41. package/src/Prebuilt/common/utils.js +15 -0
  42. package/src/Prebuilt/components/AppData/AppData.jsx +1 -2
  43. package/src/Prebuilt/components/AppData/useUISettings.js +0 -5
  44. package/src/Prebuilt/components/AudioVideoToggle.jsx +69 -26
  45. package/src/Prebuilt/components/AuthToken.jsx +3 -2
  46. package/src/Prebuilt/components/Chat/ChatSelector.jsx +1 -1
  47. package/src/Prebuilt/components/Connection/TileConnection.jsx +0 -1
  48. package/src/Prebuilt/components/EmojiReaction.jsx +23 -73
  49. package/src/Prebuilt/components/EndSessionContent.jsx +57 -0
  50. package/src/Prebuilt/components/EqualProminence.jsx +180 -0
  51. package/src/Prebuilt/components/ErrorBoundary.jsx +4 -10
  52. package/src/Prebuilt/components/Footer/EmojiCard.jsx +34 -0
  53. package/src/Prebuilt/components/Footer/Footer.jsx +73 -0
  54. package/src/Prebuilt/components/{Header → Footer}/ParticipantList.jsx +5 -5
  55. package/src/Prebuilt/components/Header/ConferencingHeader.jsx +27 -7
  56. package/src/Prebuilt/components/Header/HeaderComponents.jsx +16 -14
  57. package/src/Prebuilt/components/Header/StreamActions.jsx +101 -36
  58. package/src/Prebuilt/components/Header/StreamingHeader.jsx +1 -1
  59. package/src/Prebuilt/components/Header/common.jsx +164 -0
  60. package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx +1 -2
  61. package/src/Prebuilt/components/LeaveCard.jsx +19 -0
  62. package/src/Prebuilt/components/LeaveRoom.jsx +35 -143
  63. package/src/Prebuilt/components/LeaveSessionContent.jsx +45 -0
  64. package/src/Prebuilt/components/MoreSettings/ActionTile.jsx +55 -0
  65. package/src/Prebuilt/components/MoreSettings/ChangeNameContent.jsx +96 -0
  66. package/src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx +31 -54
  67. package/src/Prebuilt/components/MoreSettings/EmbedUrl.jsx +48 -73
  68. package/src/Prebuilt/components/MoreSettings/MoreSettings.jsx +5 -221
  69. package/src/Prebuilt/components/MoreSettings/MuteAllContent.jsx +61 -0
  70. package/src/Prebuilt/components/MoreSettings/MuteAllModal.jsx +32 -49
  71. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopLeaveRoom.jsx +129 -0
  72. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.jsx +219 -0
  73. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebLeaveRoom.jsx +100 -0
  74. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.jsx +259 -0
  75. package/src/Prebuilt/components/Notifications/Notifications.jsx +0 -2
  76. package/src/Prebuilt/components/Notifications/ReconnectNotifications.jsx +0 -4
  77. package/src/Prebuilt/components/PIP/PIPComponent.jsx +30 -26
  78. package/src/Prebuilt/components/PIP/PIPManager.js +13 -0
  79. package/src/Prebuilt/components/PIP/index.jsx +2 -7
  80. package/src/Prebuilt/components/Pagination.jsx +4 -4
  81. package/src/Prebuilt/components/Preview/PreviewContainer.jsx +5 -13
  82. package/src/Prebuilt/components/Preview/PreviewForm.jsx +9 -5
  83. package/src/Prebuilt/components/Preview/PreviewJoin.jsx +20 -27
  84. package/src/Prebuilt/components/RaiseHand.jsx +27 -0
  85. package/src/Prebuilt/components/ScreenShare.jsx +1 -1
  86. package/src/Prebuilt/components/ScreenshareDisplay.jsx +2 -2
  87. package/src/Prebuilt/components/ScreenshareTile.jsx +2 -2
  88. package/src/Prebuilt/components/Settings/DeviceSettings.jsx +2 -1
  89. package/src/Prebuilt/components/Settings/LayoutSettings.jsx +1 -24
  90. package/src/Prebuilt/components/Settings/SettingsModal.jsx +152 -17
  91. package/src/Prebuilt/components/ShareMenuIcon.jsx +1 -0
  92. package/src/Prebuilt/components/TileMenu/TileMenu.jsx +133 -0
  93. package/src/Prebuilt/components/TileMenu/TileMenuContent.jsx +313 -0
  94. package/src/Prebuilt/components/VideoList.jsx +5 -33
  95. package/src/Prebuilt/components/VideoTile.jsx +30 -8
  96. package/src/Prebuilt/components/conference.jsx +14 -1
  97. package/src/Prebuilt/components/init/Init.jsx +0 -27
  98. package/src/Prebuilt/components/init/initUtils.js +0 -23
  99. package/src/Prebuilt/components/pdfAnnotator/pdfFileOptions.jsx +2 -1
  100. package/src/Prebuilt/components/pdfAnnotator/pdfInfo.jsx +1 -1
  101. package/src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx +19 -8
  102. package/src/Prebuilt/components/pdfAnnotator/uploadedFile.jsx +1 -0
  103. package/src/Prebuilt/images/pdf-share.png +0 -0
  104. package/src/Prebuilt/images/screen-share.png +0 -0
  105. package/src/Prebuilt/index.ts +1 -0
  106. package/src/Prebuilt/layouts/EmbedView.jsx +0 -1
  107. package/src/Prebuilt/layouts/InsetView.jsx +65 -24
  108. package/src/Prebuilt/layouts/PDFView.jsx +0 -1
  109. package/src/Prebuilt/layouts/SidePane.jsx +8 -7
  110. package/src/Prebuilt/layouts/mainView.jsx +22 -31
  111. package/src/Prebuilt/layouts/screenShareView.jsx +0 -2
  112. package/src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx +25 -1
  113. package/src/Prebuilt/primitives/DialogContent.jsx +1 -1
  114. package/src/Prebuilt/provider/roomLayoutProvider/index.tsx +1 -1
  115. package/src/Sheet/Sheet.mdx +19 -0
  116. package/src/Sheet/Sheet.stories.tsx +103 -0
  117. package/src/Sheet/Sheet.tsx +118 -0
  118. package/src/Sheet/index.ts +1 -0
  119. package/src/Theme/ThemeProvider.tsx +10 -13
  120. package/src/Theme/base.config.ts +1 -1
  121. package/src/Theme/stitches.config.ts +1 -1
  122. package/src/TileMenu/StyledMenuTile.tsx +2 -2
  123. package/src/TileMenu/TileMenu.tsx +2 -0
  124. package/src/VideoTile/StyledVideoTile.tsx +5 -0
  125. package/src/utils/animations.ts +18 -0
  126. package/dist/ActiveSpeakerView-V6O4K3BV.js +0 -39
  127. package/dist/ActiveSpeakerView-V6O4K3BV.js.map +0 -7
  128. package/dist/PinnedTrackView-7YQG4QKC.js +0 -70
  129. package/dist/PinnedTrackView-7YQG4QKC.js.map +0 -7
  130. package/dist/VirtualBackground-S3XEPZ2T.js.map +0 -7
  131. package/dist/chunk-42SWPN2C.js.map +0 -7
  132. package/dist/chunk-4NEZLVVH.js +0 -811
  133. package/dist/chunk-4NEZLVVH.js.map +0 -7
  134. package/dist/chunk-4ZBEFSRC.js +0 -58
  135. package/dist/chunk-4ZBEFSRC.js.map +0 -7
  136. package/dist/chunk-ESUJK7AT.js.map +0 -7
  137. package/dist/chunk-R6PDR5WZ.js +0 -243
  138. package/dist/chunk-R6PDR5WZ.js.map +0 -7
  139. package/dist/conference-7QKOMJPP.js +0 -3697
  140. package/dist/conference-7QKOMJPP.js.map +0 -7
  141. package/dist/transcription-RJA4V6PC.js +0 -356
  142. package/dist/transcription-RJA4V6PC.js.map +0 -7
  143. package/src/Prebuilt/common/useSortedPeers.js +0 -28
  144. package/src/Prebuilt/components/BottomActionSheet/BottomActionSheet.jsx +0 -96
  145. package/src/Prebuilt/components/BottomActionSheet/BottomActionSheet.stories.tsx +0 -46
  146. package/src/Prebuilt/components/Footer/ConferencingFooter.jsx +0 -101
  147. package/src/Prebuilt/components/Footer/StreamingFooter.jsx +0 -71
  148. package/src/Prebuilt/components/Footer.jsx +0 -8
  149. package/src/Prebuilt/components/MoreSettings/ChangeSelfRole.jsx +0 -67
  150. package/src/Prebuilt/components/TileMenu.jsx +0 -268
  151. package/src/Prebuilt/index.d.ts +0 -20
  152. package/src/Prebuilt/index.js +0 -2
@@ -0,0 +1 @@
1
+ export { Sheet } from './Sheet';
@@ -4,7 +4,7 @@ export declare enum ThemeTypes {
4
4
  default = "default"
5
5
  }
6
6
  export declare type ThemeContextValue = {
7
- themeType: ThemeTypes;
7
+ themeType: string;
8
8
  theme: Theme;
9
9
  aspectRatio: {
10
10
  width: number;
@@ -19,155 +19,14 @@ export declare type ThemeContextValue = {
19
19
  toggleTheme: (themeToUpdateTo?: ThemeTypes) => void;
20
20
  };
21
21
  export declare type ThemeProviderProps = {
22
- themeType?: ThemeTypes;
22
+ themeType?: string;
23
23
  theme?: Theme;
24
24
  aspectRatio?: {
25
25
  width: number;
26
26
  height: number;
27
27
  };
28
28
  };
29
- export declare const ThemeContext: React.Context<{
30
- themeType: ThemeTypes;
31
- theme: string & {
32
- className: string;
33
- selector: string;
34
- } & {
35
- colors: {
36
- primary_default: import("@stitches/react/types/theme").Token<"primary_default", string, "colors", "hms-ui">;
37
- primary_bright: import("@stitches/react/types/theme").Token<"primary_bright", string, "colors", "hms-ui">;
38
- primary_dim: import("@stitches/react/types/theme").Token<"primary_dim", string, "colors", "hms-ui">;
39
- primary_disabled: import("@stitches/react/types/theme").Token<"primary_disabled", string, "colors", "hms-ui">;
40
- on_primary_high: import("@stitches/react/types/theme").Token<"on_primary_high", string, "colors", "hms-ui">;
41
- on_primary_medium: import("@stitches/react/types/theme").Token<"on_primary_medium", string, "colors", "hms-ui">;
42
- on_primary_low: import("@stitches/react/types/theme").Token<"on_primary_low", string, "colors", "hms-ui">;
43
- secondary_default: import("@stitches/react/types/theme").Token<"secondary_default", string, "colors", "hms-ui">;
44
- secondary_bright: import("@stitches/react/types/theme").Token<"secondary_bright", string, "colors", "hms-ui">;
45
- secondary_dim: import("@stitches/react/types/theme").Token<"secondary_dim", string, "colors", "hms-ui">;
46
- secondary_disabled: import("@stitches/react/types/theme").Token<"secondary_disabled", string, "colors", "hms-ui">;
47
- on_secondary_high: import("@stitches/react/types/theme").Token<"on_secondary_high", string, "colors", "hms-ui">;
48
- on_secondary_medium: import("@stitches/react/types/theme").Token<"on_secondary_medium", string, "colors", "hms-ui">;
49
- on_secondary_low: import("@stitches/react/types/theme").Token<"on_secondary_low", string, "colors", "hms-ui">;
50
- background_default: import("@stitches/react/types/theme").Token<"background_default", string, "colors", "hms-ui">;
51
- background_dim: import("@stitches/react/types/theme").Token<"background_dim", string, "colors", "hms-ui">;
52
- surface_default: import("@stitches/react/types/theme").Token<"surface_default", string, "colors", "hms-ui">;
53
- surface_bright: import("@stitches/react/types/theme").Token<"surface_bright", string, "colors", "hms-ui">;
54
- surface_brighter: import("@stitches/react/types/theme").Token<"surface_brighter", string, "colors", "hms-ui">;
55
- surface_dim: import("@stitches/react/types/theme").Token<"surface_dim", string, "colors", "hms-ui">;
56
- on_surface_high: import("@stitches/react/types/theme").Token<"on_surface_high", string, "colors", "hms-ui">;
57
- on_surface_medium: import("@stitches/react/types/theme").Token<"on_surface_medium", string, "colors", "hms-ui">;
58
- on_surface_low: import("@stitches/react/types/theme").Token<"on_surface_low", string, "colors", "hms-ui">;
59
- border_default: import("@stitches/react/types/theme").Token<"border_default", string, "colors", "hms-ui">;
60
- border_bright: import("@stitches/react/types/theme").Token<"border_bright", string, "colors", "hms-ui">;
61
- alert_success: import("@stitches/react/types/theme").Token<"alert_success", string, "colors", "hms-ui">;
62
- alert_warning: import("@stitches/react/types/theme").Token<"alert_warning", string, "colors", "hms-ui">;
63
- alert_error_default: import("@stitches/react/types/theme").Token<"alert_error_default", string, "colors", "hms-ui">;
64
- alert_error_bright: import("@stitches/react/types/theme").Token<"alert_error_bright", string, "colors", "hms-ui">;
65
- alert_error_brighter: import("@stitches/react/types/theme").Token<"alert_error_brighter", string, "colors", "hms-ui">;
66
- alert_error_dim: import("@stitches/react/types/theme").Token<"alert_error_dim", string, "colors", "hms-ui">;
67
- };
68
- shadows: {
69
- sm: import("@stitches/react/types/theme").Token<"sm", string, "shadows", "hms-ui">;
70
- md: import("@stitches/react/types/theme").Token<"md", string, "shadows", "hms-ui">;
71
- };
72
- fonts: {
73
- sans: import("@stitches/react/types/theme").Token<"sans", string, "fonts", "hms-ui">;
74
- };
75
- fontSizes: {
76
- h1: import("@stitches/react/types/theme").Token<"h1", string, "fontSizes", "hms-ui">;
77
- h2: import("@stitches/react/types/theme").Token<"h2", string, "fontSizes", "hms-ui">;
78
- h3: import("@stitches/react/types/theme").Token<"h3", string, "fontSizes", "hms-ui">;
79
- h4: import("@stitches/react/types/theme").Token<"h4", string, "fontSizes", "hms-ui">;
80
- h5: import("@stitches/react/types/theme").Token<"h5", string, "fontSizes", "hms-ui">;
81
- h6: import("@stitches/react/types/theme").Token<"h6", string, "fontSizes", "hms-ui">;
82
- tiny: import("@stitches/react/types/theme").Token<"tiny", string, "fontSizes", "hms-ui">;
83
- xs: import("@stitches/react/types/theme").Token<"xs", string, "fontSizes", "hms-ui">;
84
- sm: import("@stitches/react/types/theme").Token<"sm", string, "fontSizes", "hms-ui">;
85
- md: import("@stitches/react/types/theme").Token<"md", string, "fontSizes", "hms-ui">;
86
- lg: import("@stitches/react/types/theme").Token<"lg", string, "fontSizes", "hms-ui">;
87
- };
88
- fontWeights: {
89
- semiBold: import("@stitches/react/types/theme").Token<"semiBold", string, "fontWeights", "hms-ui">;
90
- medium: import("@stitches/react/types/theme").Token<"medium", string, "fontWeights", "hms-ui">;
91
- regular: import("@stitches/react/types/theme").Token<"regular", string, "fontWeights", "hms-ui">;
92
- };
93
- lineHeights: {
94
- h1: import("@stitches/react/types/theme").Token<"h1", string, "lineHeights", "hms-ui">;
95
- h2: import("@stitches/react/types/theme").Token<"h2", string, "lineHeights", "hms-ui">;
96
- h3: import("@stitches/react/types/theme").Token<"h3", string, "lineHeights", "hms-ui">;
97
- h4: import("@stitches/react/types/theme").Token<"h4", string, "lineHeights", "hms-ui">;
98
- h5: import("@stitches/react/types/theme").Token<"h5", string, "lineHeights", "hms-ui">;
99
- h6: import("@stitches/react/types/theme").Token<"h6", string, "lineHeights", "hms-ui">;
100
- tiny: import("@stitches/react/types/theme").Token<"tiny", string, "lineHeights", "hms-ui">;
101
- xs: import("@stitches/react/types/theme").Token<"xs", string, "lineHeights", "hms-ui">;
102
- sm: import("@stitches/react/types/theme").Token<"sm", string, "lineHeights", "hms-ui">;
103
- md: import("@stitches/react/types/theme").Token<"md", string, "lineHeights", "hms-ui">;
104
- };
105
- radii: {
106
- 0: import("@stitches/react/types/theme").Token<"0", string, "radii", "hms-ui">;
107
- 1: import("@stitches/react/types/theme").Token<"1", string, "radii", "hms-ui">;
108
- 2: import("@stitches/react/types/theme").Token<"2", string, "radii", "hms-ui">;
109
- 3: import("@stitches/react/types/theme").Token<"3", string, "radii", "hms-ui">;
110
- 4: import("@stitches/react/types/theme").Token<"4", string, "radii", "hms-ui">;
111
- round: import("@stitches/react/types/theme").Token<"round", string, "radii", "hms-ui">;
112
- };
113
- space: {
114
- 0: import("@stitches/react/types/theme").Token<"0", string, "space", "hms-ui">;
115
- xs: import("@stitches/react/types/theme").Token<"xs", string, "space", "hms-ui">;
116
- sm: import("@stitches/react/types/theme").Token<"sm", string, "space", "hms-ui">;
117
- md: import("@stitches/react/types/theme").Token<"md", string, "space", "hms-ui">;
118
- lg: import("@stitches/react/types/theme").Token<"lg", string, "space", "hms-ui">;
119
- xl: import("@stitches/react/types/theme").Token<"xl", string, "space", "hms-ui">;
120
- px: import("@stitches/react/types/theme").Token<"px", string, "space", "hms-ui">;
121
- 1: import("@stitches/react/types/theme").Token<"1", string, "space", "hms-ui">;
122
- 2: import("@stitches/react/types/theme").Token<"2", string, "space", "hms-ui">;
123
- 3: import("@stitches/react/types/theme").Token<"3", string, "space", "hms-ui">;
124
- 4: import("@stitches/react/types/theme").Token<"4", string, "space", "hms-ui">;
125
- 5: import("@stitches/react/types/theme").Token<"5", string, "space", "hms-ui">;
126
- 6: import("@stitches/react/types/theme").Token<"6", string, "space", "hms-ui">;
127
- 7: import("@stitches/react/types/theme").Token<"7", string, "space", "hms-ui">;
128
- 8: import("@stitches/react/types/theme").Token<"8", string, "space", "hms-ui">;
129
- 9: import("@stitches/react/types/theme").Token<"9", string, "space", "hms-ui">;
130
- 10: import("@stitches/react/types/theme").Token<"10", string, "space", "hms-ui">;
131
- 11: import("@stitches/react/types/theme").Token<"11", string, "space", "hms-ui">;
132
- 12: import("@stitches/react/types/theme").Token<"12", string, "space", "hms-ui">;
133
- 13: import("@stitches/react/types/theme").Token<"13", string, "space", "hms-ui">;
134
- 14: import("@stitches/react/types/theme").Token<"14", string, "space", "hms-ui">;
135
- 15: import("@stitches/react/types/theme").Token<"15", string, "space", "hms-ui">;
136
- 16: import("@stitches/react/types/theme").Token<"16", string, "space", "hms-ui">;
137
- 17: import("@stitches/react/types/theme").Token<"17", string, "space", "hms-ui">;
138
- 18: import("@stitches/react/types/theme").Token<"18", string, "space", "hms-ui">;
139
- 19: import("@stitches/react/types/theme").Token<"19", string, "space", "hms-ui">;
140
- 20: import("@stitches/react/types/theme").Token<"20", string, "space", "hms-ui">;
141
- 24: import("@stitches/react/types/theme").Token<"24", string, "space", "hms-ui">;
142
- 28: import("@stitches/react/types/theme").Token<"28", string, "space", "hms-ui">;
143
- 32: import("@stitches/react/types/theme").Token<"32", string, "space", "hms-ui">;
144
- 36: import("@stitches/react/types/theme").Token<"36", string, "space", "hms-ui">;
145
- 40: import("@stitches/react/types/theme").Token<"40", string, "space", "hms-ui">;
146
- 44: import("@stitches/react/types/theme").Token<"44", string, "space", "hms-ui">;
147
- 48: import("@stitches/react/types/theme").Token<"48", string, "space", "hms-ui">;
148
- 52: import("@stitches/react/types/theme").Token<"52", string, "space", "hms-ui">;
149
- 56: import("@stitches/react/types/theme").Token<"56", string, "space", "hms-ui">;
150
- 60: import("@stitches/react/types/theme").Token<"60", string, "space", "hms-ui">;
151
- 64: import("@stitches/react/types/theme").Token<"64", string, "space", "hms-ui">;
152
- 72: import("@stitches/react/types/theme").Token<"72", string, "space", "hms-ui">;
153
- 80: import("@stitches/react/types/theme").Token<"80", string, "space", "hms-ui">;
154
- 96: import("@stitches/react/types/theme").Token<"96", string, "space", "hms-ui">;
155
- 100: import("@stitches/react/types/theme").Token<"100", string, "space", "hms-ui">;
156
- };
157
- borderWidths: {
158
- light: import("@stitches/react/types/theme").Token<"light", string, "borderWidths", "hms-ui">;
159
- normal: import("@stitches/react/types/theme").Token<"normal", string, "borderWidths", "hms-ui">;
160
- bold: import("@stitches/react/types/theme").Token<"bold", string, "borderWidths", "hms-ui">;
161
- extrabold: import("@stitches/react/types/theme").Token<"extrabold", string, "borderWidths", "hms-ui">;
162
- black: import("@stitches/react/types/theme").Token<"black", string, "borderWidths", "hms-ui">;
163
- };
164
- };
165
- aspectRatio: {
166
- width: number;
167
- height: number;
168
- };
169
- toggleTheme: (_themeToUpdateTo?: ThemeTypes) => void;
170
- }>;
29
+ export declare const ThemeContext: React.Context<ThemeContextValue>;
171
30
  /**
172
31
  * Wrap this around your root component to get access to theme
173
32
  * eg:
@@ -176,145 +35,4 @@ export declare const ThemeContext: React.Context<{
176
35
  * </ThemeProvider>
177
36
  */
178
37
  export declare const HMSThemeProvider: React.FC<React.PropsWithChildren<ThemeProviderProps>>;
179
- export declare const useTheme: () => {
180
- themeType: ThemeTypes;
181
- theme: string & {
182
- className: string;
183
- selector: string;
184
- } & {
185
- colors: {
186
- primary_default: import("@stitches/react/types/theme").Token<"primary_default", string, "colors", "hms-ui">;
187
- primary_bright: import("@stitches/react/types/theme").Token<"primary_bright", string, "colors", "hms-ui">;
188
- primary_dim: import("@stitches/react/types/theme").Token<"primary_dim", string, "colors", "hms-ui">;
189
- primary_disabled: import("@stitches/react/types/theme").Token<"primary_disabled", string, "colors", "hms-ui">;
190
- on_primary_high: import("@stitches/react/types/theme").Token<"on_primary_high", string, "colors", "hms-ui">;
191
- on_primary_medium: import("@stitches/react/types/theme").Token<"on_primary_medium", string, "colors", "hms-ui">;
192
- on_primary_low: import("@stitches/react/types/theme").Token<"on_primary_low", string, "colors", "hms-ui">;
193
- secondary_default: import("@stitches/react/types/theme").Token<"secondary_default", string, "colors", "hms-ui">;
194
- secondary_bright: import("@stitches/react/types/theme").Token<"secondary_bright", string, "colors", "hms-ui">;
195
- secondary_dim: import("@stitches/react/types/theme").Token<"secondary_dim", string, "colors", "hms-ui">;
196
- secondary_disabled: import("@stitches/react/types/theme").Token<"secondary_disabled", string, "colors", "hms-ui">;
197
- on_secondary_high: import("@stitches/react/types/theme").Token<"on_secondary_high", string, "colors", "hms-ui">;
198
- on_secondary_medium: import("@stitches/react/types/theme").Token<"on_secondary_medium", string, "colors", "hms-ui">;
199
- on_secondary_low: import("@stitches/react/types/theme").Token<"on_secondary_low", string, "colors", "hms-ui">;
200
- background_default: import("@stitches/react/types/theme").Token<"background_default", string, "colors", "hms-ui">;
201
- background_dim: import("@stitches/react/types/theme").Token<"background_dim", string, "colors", "hms-ui">;
202
- surface_default: import("@stitches/react/types/theme").Token<"surface_default", string, "colors", "hms-ui">;
203
- surface_bright: import("@stitches/react/types/theme").Token<"surface_bright", string, "colors", "hms-ui">;
204
- surface_brighter: import("@stitches/react/types/theme").Token<"surface_brighter", string, "colors", "hms-ui">;
205
- surface_dim: import("@stitches/react/types/theme").Token<"surface_dim", string, "colors", "hms-ui">;
206
- on_surface_high: import("@stitches/react/types/theme").Token<"on_surface_high", string, "colors", "hms-ui">;
207
- on_surface_medium: import("@stitches/react/types/theme").Token<"on_surface_medium", string, "colors", "hms-ui">;
208
- on_surface_low: import("@stitches/react/types/theme").Token<"on_surface_low", string, "colors", "hms-ui">;
209
- border_default: import("@stitches/react/types/theme").Token<"border_default", string, "colors", "hms-ui">;
210
- border_bright: import("@stitches/react/types/theme").Token<"border_bright", string, "colors", "hms-ui">;
211
- alert_success: import("@stitches/react/types/theme").Token<"alert_success", string, "colors", "hms-ui">;
212
- alert_warning: import("@stitches/react/types/theme").Token<"alert_warning", string, "colors", "hms-ui">;
213
- alert_error_default: import("@stitches/react/types/theme").Token<"alert_error_default", string, "colors", "hms-ui">;
214
- alert_error_bright: import("@stitches/react/types/theme").Token<"alert_error_bright", string, "colors", "hms-ui">;
215
- alert_error_brighter: import("@stitches/react/types/theme").Token<"alert_error_brighter", string, "colors", "hms-ui">;
216
- alert_error_dim: import("@stitches/react/types/theme").Token<"alert_error_dim", string, "colors", "hms-ui">;
217
- };
218
- shadows: {
219
- sm: import("@stitches/react/types/theme").Token<"sm", string, "shadows", "hms-ui">;
220
- md: import("@stitches/react/types/theme").Token<"md", string, "shadows", "hms-ui">;
221
- };
222
- fonts: {
223
- sans: import("@stitches/react/types/theme").Token<"sans", string, "fonts", "hms-ui">;
224
- };
225
- fontSizes: {
226
- h1: import("@stitches/react/types/theme").Token<"h1", string, "fontSizes", "hms-ui">;
227
- h2: import("@stitches/react/types/theme").Token<"h2", string, "fontSizes", "hms-ui">;
228
- h3: import("@stitches/react/types/theme").Token<"h3", string, "fontSizes", "hms-ui">;
229
- h4: import("@stitches/react/types/theme").Token<"h4", string, "fontSizes", "hms-ui">;
230
- h5: import("@stitches/react/types/theme").Token<"h5", string, "fontSizes", "hms-ui">;
231
- h6: import("@stitches/react/types/theme").Token<"h6", string, "fontSizes", "hms-ui">;
232
- tiny: import("@stitches/react/types/theme").Token<"tiny", string, "fontSizes", "hms-ui">;
233
- xs: import("@stitches/react/types/theme").Token<"xs", string, "fontSizes", "hms-ui">;
234
- sm: import("@stitches/react/types/theme").Token<"sm", string, "fontSizes", "hms-ui">;
235
- md: import("@stitches/react/types/theme").Token<"md", string, "fontSizes", "hms-ui">;
236
- lg: import("@stitches/react/types/theme").Token<"lg", string, "fontSizes", "hms-ui">;
237
- };
238
- fontWeights: {
239
- semiBold: import("@stitches/react/types/theme").Token<"semiBold", string, "fontWeights", "hms-ui">;
240
- medium: import("@stitches/react/types/theme").Token<"medium", string, "fontWeights", "hms-ui">;
241
- regular: import("@stitches/react/types/theme").Token<"regular", string, "fontWeights", "hms-ui">;
242
- };
243
- lineHeights: {
244
- h1: import("@stitches/react/types/theme").Token<"h1", string, "lineHeights", "hms-ui">;
245
- h2: import("@stitches/react/types/theme").Token<"h2", string, "lineHeights", "hms-ui">;
246
- h3: import("@stitches/react/types/theme").Token<"h3", string, "lineHeights", "hms-ui">;
247
- h4: import("@stitches/react/types/theme").Token<"h4", string, "lineHeights", "hms-ui">;
248
- h5: import("@stitches/react/types/theme").Token<"h5", string, "lineHeights", "hms-ui">;
249
- h6: import("@stitches/react/types/theme").Token<"h6", string, "lineHeights", "hms-ui">;
250
- tiny: import("@stitches/react/types/theme").Token<"tiny", string, "lineHeights", "hms-ui">;
251
- xs: import("@stitches/react/types/theme").Token<"xs", string, "lineHeights", "hms-ui">;
252
- sm: import("@stitches/react/types/theme").Token<"sm", string, "lineHeights", "hms-ui">;
253
- md: import("@stitches/react/types/theme").Token<"md", string, "lineHeights", "hms-ui">;
254
- };
255
- radii: {
256
- 0: import("@stitches/react/types/theme").Token<"0", string, "radii", "hms-ui">;
257
- 1: import("@stitches/react/types/theme").Token<"1", string, "radii", "hms-ui">;
258
- 2: import("@stitches/react/types/theme").Token<"2", string, "radii", "hms-ui">;
259
- 3: import("@stitches/react/types/theme").Token<"3", string, "radii", "hms-ui">;
260
- 4: import("@stitches/react/types/theme").Token<"4", string, "radii", "hms-ui">;
261
- round: import("@stitches/react/types/theme").Token<"round", string, "radii", "hms-ui">;
262
- };
263
- space: {
264
- 0: import("@stitches/react/types/theme").Token<"0", string, "space", "hms-ui">;
265
- xs: import("@stitches/react/types/theme").Token<"xs", string, "space", "hms-ui">;
266
- sm: import("@stitches/react/types/theme").Token<"sm", string, "space", "hms-ui">;
267
- md: import("@stitches/react/types/theme").Token<"md", string, "space", "hms-ui">;
268
- lg: import("@stitches/react/types/theme").Token<"lg", string, "space", "hms-ui">;
269
- xl: import("@stitches/react/types/theme").Token<"xl", string, "space", "hms-ui">;
270
- px: import("@stitches/react/types/theme").Token<"px", string, "space", "hms-ui">;
271
- 1: import("@stitches/react/types/theme").Token<"1", string, "space", "hms-ui">;
272
- 2: import("@stitches/react/types/theme").Token<"2", string, "space", "hms-ui">;
273
- 3: import("@stitches/react/types/theme").Token<"3", string, "space", "hms-ui">;
274
- 4: import("@stitches/react/types/theme").Token<"4", string, "space", "hms-ui">;
275
- 5: import("@stitches/react/types/theme").Token<"5", string, "space", "hms-ui">;
276
- 6: import("@stitches/react/types/theme").Token<"6", string, "space", "hms-ui">;
277
- 7: import("@stitches/react/types/theme").Token<"7", string, "space", "hms-ui">;
278
- 8: import("@stitches/react/types/theme").Token<"8", string, "space", "hms-ui">;
279
- 9: import("@stitches/react/types/theme").Token<"9", string, "space", "hms-ui">;
280
- 10: import("@stitches/react/types/theme").Token<"10", string, "space", "hms-ui">;
281
- 11: import("@stitches/react/types/theme").Token<"11", string, "space", "hms-ui">;
282
- 12: import("@stitches/react/types/theme").Token<"12", string, "space", "hms-ui">;
283
- 13: import("@stitches/react/types/theme").Token<"13", string, "space", "hms-ui">;
284
- 14: import("@stitches/react/types/theme").Token<"14", string, "space", "hms-ui">;
285
- 15: import("@stitches/react/types/theme").Token<"15", string, "space", "hms-ui">;
286
- 16: import("@stitches/react/types/theme").Token<"16", string, "space", "hms-ui">;
287
- 17: import("@stitches/react/types/theme").Token<"17", string, "space", "hms-ui">;
288
- 18: import("@stitches/react/types/theme").Token<"18", string, "space", "hms-ui">;
289
- 19: import("@stitches/react/types/theme").Token<"19", string, "space", "hms-ui">;
290
- 20: import("@stitches/react/types/theme").Token<"20", string, "space", "hms-ui">;
291
- 24: import("@stitches/react/types/theme").Token<"24", string, "space", "hms-ui">;
292
- 28: import("@stitches/react/types/theme").Token<"28", string, "space", "hms-ui">;
293
- 32: import("@stitches/react/types/theme").Token<"32", string, "space", "hms-ui">;
294
- 36: import("@stitches/react/types/theme").Token<"36", string, "space", "hms-ui">;
295
- 40: import("@stitches/react/types/theme").Token<"40", string, "space", "hms-ui">;
296
- 44: import("@stitches/react/types/theme").Token<"44", string, "space", "hms-ui">;
297
- 48: import("@stitches/react/types/theme").Token<"48", string, "space", "hms-ui">;
298
- 52: import("@stitches/react/types/theme").Token<"52", string, "space", "hms-ui">;
299
- 56: import("@stitches/react/types/theme").Token<"56", string, "space", "hms-ui">;
300
- 60: import("@stitches/react/types/theme").Token<"60", string, "space", "hms-ui">;
301
- 64: import("@stitches/react/types/theme").Token<"64", string, "space", "hms-ui">;
302
- 72: import("@stitches/react/types/theme").Token<"72", string, "space", "hms-ui">;
303
- 80: import("@stitches/react/types/theme").Token<"80", string, "space", "hms-ui">;
304
- 96: import("@stitches/react/types/theme").Token<"96", string, "space", "hms-ui">;
305
- 100: import("@stitches/react/types/theme").Token<"100", string, "space", "hms-ui">;
306
- };
307
- borderWidths: {
308
- light: import("@stitches/react/types/theme").Token<"light", string, "borderWidths", "hms-ui">;
309
- normal: import("@stitches/react/types/theme").Token<"normal", string, "borderWidths", "hms-ui">;
310
- bold: import("@stitches/react/types/theme").Token<"bold", string, "borderWidths", "hms-ui">;
311
- extrabold: import("@stitches/react/types/theme").Token<"extrabold", string, "borderWidths", "hms-ui">;
312
- black: import("@stitches/react/types/theme").Token<"black", string, "borderWidths", "hms-ui">;
313
- };
314
- };
315
- aspectRatio: {
316
- width: number;
317
- height: number;
318
- };
319
- toggleTheme: (_themeToUpdateTo?: ThemeTypes) => void;
320
- };
38
+ export declare const useTheme: () => ThemeContextValue;
@@ -3917,7 +3917,7 @@ export declare type Theme = typeof HmsStitches.theme;
3917
3917
  * @returns
3918
3918
  */
3919
3919
  export declare const createTheme: ({ themeType, theme, className, }: {
3920
- themeType: ThemeType;
3920
+ themeType: string;
3921
3921
  className?: string | undefined;
3922
3922
  theme?: Partial<string & {
3923
3923
  className: string;
@@ -1,14 +1,15 @@
1
1
  import {
2
- Loading,
3
- useIsFeatureEnabled
4
- } from "./chunk-4ZBEFSRC.js";
2
+ ActionTile
3
+ } from "./chunk-P5X32KOD.js";
5
4
  import {
6
5
  FEATURE_LIST,
7
6
  IconButton_default,
7
+ Loading,
8
8
  Tooltip,
9
9
  __async,
10
- init_define_process_env
11
- } from "./chunk-4NEZLVVH.js";
10
+ init_define_process_env,
11
+ useIsFeatureEnabled
12
+ } from "./chunk-RVCZPPTL.js";
12
13
 
13
14
  // src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx
14
15
  init_define_process_env();
@@ -78,13 +79,19 @@ function getRandomVirtualBackground() {
78
79
  }
79
80
 
80
81
  // src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx
81
- var VirtualBackground = () => {
82
+ var VirtualBackground = ({
83
+ asActionTile = false,
84
+ onVBClick = () => {
85
+ return;
86
+ }
87
+ }) => {
82
88
  const pluginRef = useRef(null);
83
89
  const hmsActions = useHMSActions();
84
90
  const isAllowedToPublish = useHMSStore(selectIsAllowedToPublish);
85
91
  const role = useHMSStore(selectLocalPeerRole);
86
92
  const [isVBLoading, setIsVBLoading] = useState(false);
87
93
  const [isVBSupported, setIsVBSupported] = useState(false);
94
+ const [isVBOn, setIsVBOn] = useState(false);
88
95
  const localPeerVideoTrackID = useHMSStore(selectLocalVideoTrackID);
89
96
  const isVBPresent = useHMSStore(selectIsLocalVideoPluginPresent("HMSVB"));
90
97
  const isFeatureEnabled = useIsFeatureEnabled(FEATURE_LIST.VIDEO_PLUGINS);
@@ -131,6 +138,23 @@ var VirtualBackground = () => {
131
138
  if (!isAllowedToPublish.video || !isVBSupported || !isFeatureEnabled) {
132
139
  return null;
133
140
  }
141
+ if (asActionTile) {
142
+ return /* @__PURE__ */ React.createElement(
143
+ ActionTile.Root,
144
+ {
145
+ "data-testid": "virtual_bg_btn",
146
+ active: isVBPresent,
147
+ disabled: isVBLoading,
148
+ onClick: () => {
149
+ setIsVBOn(!isVBOn);
150
+ !isVBPresent ? addPlugin() : removePlugin();
151
+ onVBClick();
152
+ }
153
+ },
154
+ /* @__PURE__ */ React.createElement(VirtualBackgroundIcon, null),
155
+ /* @__PURE__ */ React.createElement(ActionTile.Title, null, "Virtual Background")
156
+ );
157
+ }
134
158
  return /* @__PURE__ */ React.createElement(
135
159
  Tooltip,
136
160
  {
@@ -156,4 +180,4 @@ export {
156
180
  VirtualBackground,
157
181
  VirtualBackground_default as default
158
182
  };
159
- //# sourceMappingURL=VirtualBackground-S3XEPZ2T.js.map
183
+ //# sourceMappingURL=VirtualBackground-GGCQJ5JM.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx", "../src/Prebuilt/plugins/VirtualBackground/vbutils.js"],
4
+ "sourcesContent": ["import React, { useEffect, useRef, useState } from 'react';\nimport { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background';\nimport {\n selectIsAllowedToPublish,\n selectIsLocalVideoPluginPresent,\n selectLocalPeerRole,\n selectLocalVideoTrackID,\n useHMSActions,\n useHMSStore,\n} from '@100mslive/react-sdk';\nimport { VirtualBackgroundIcon } from '@100mslive/react-icons';\nimport { ActionTile } from '../../components/MoreSettings/ActionTile';\nimport { Loading } from '../../../Loading';\nimport { Tooltip } from '../../../Tooltip';\nimport IconButton from '../../IconButton';\nimport { useIsFeatureEnabled } from '../../components/hooks/useFeatures';\nimport { getRandomVirtualBackground } from './vbutils';\nimport { FEATURE_LIST } from '../../common/constants';\n\nexport const VirtualBackground = ({\n asActionTile = false,\n onVBClick = () => {\n return;\n },\n}) => {\n const pluginRef = useRef(null);\n const hmsActions = useHMSActions();\n const isAllowedToPublish = useHMSStore(selectIsAllowedToPublish);\n const role = useHMSStore(selectLocalPeerRole);\n const [isVBLoading, setIsVBLoading] = useState(false);\n const [isVBSupported, setIsVBSupported] = useState(false);\n const [isVBOn, setIsVBOn] = useState(false);\n const localPeerVideoTrackID = useHMSStore(selectLocalVideoTrackID);\n const isVBPresent = useHMSStore(selectIsLocalVideoPluginPresent('HMSVB'));\n const isFeatureEnabled = useIsFeatureEnabled(FEATURE_LIST.VIDEO_PLUGINS);\n\n async function createPlugin() {\n if (!pluginRef.current) {\n const { HMSVBPlugin } = await import('@100mslive/hms-virtual-background');\n pluginRef.current = new HMSVBPlugin(HMSVirtualBackgroundTypes.NONE, HMSVirtualBackgroundTypes.NONE);\n }\n }\n useEffect(() => {\n if (!localPeerVideoTrackID) {\n return;\n }\n createPlugin().then(() => {\n //check support of plugin\n const pluginSupport = hmsActions.validateVideoPluginSupport(pluginRef.current);\n setIsVBSupported(pluginSupport.isSupported);\n });\n }, [hmsActions, localPeerVideoTrackID]);\n\n async function addPlugin() {\n setIsVBLoading(true);\n try {\n await createPlugin();\n window.HMS.virtualBackground = pluginRef.current;\n const { background, backgroundType } = getRandomVirtualBackground();\n await pluginRef.current.setBackground(background, backgroundType);\n await hmsActions.addPluginToVideoTrack(pluginRef.current, Math.floor(role.publishParams.video.frameRate / 2));\n } catch (err) {\n console.error('add virtual background plugin failed', err);\n }\n setIsVBLoading(false);\n }\n\n async function removePlugin() {\n if (pluginRef.current) {\n await hmsActions.removePluginFromVideoTrack(pluginRef.current);\n pluginRef.current = null;\n }\n }\n\n if (!isAllowedToPublish.video || !isVBSupported || !isFeatureEnabled) {\n return null;\n }\n if (asActionTile) {\n return (\n <ActionTile.Root\n data-testid=\"virtual_bg_btn\"\n active={isVBPresent}\n disabled={isVBLoading}\n onClick={() => {\n setIsVBOn(!isVBOn);\n !isVBPresent ? addPlugin() : removePlugin();\n onVBClick();\n }}\n >\n <VirtualBackgroundIcon />\n <ActionTile.Title>Virtual Background</ActionTile.Title>\n </ActionTile.Root>\n );\n }\n\n return (\n <Tooltip\n boxCss={{ zIndex: '100' }}\n title={isVBLoading ? 'Adding virtual background' : `Turn ${!isVBPresent ? 'on' : 'off'} virtual background`}\n >\n <IconButton\n active={!isVBPresent}\n disabled={isVBLoading}\n onClick={() => {\n !isVBPresent ? addPlugin() : removePlugin();\n }}\n data-testid=\"virtual_bg_btn\"\n >\n {isVBLoading ? <Loading /> : <VirtualBackgroundIcon />}\n </IconButton>\n </Tooltip>\n );\n};\n\nexport default VirtualBackground;\n", "/* eslint-disable no-case-declarations */\nimport { HMSVirtualBackgroundTypes } from '@100mslive/hms-virtual-background';\nexport function getRandomVirtualBackground() {\n const backgroundList = [\n {\n background: HMSVirtualBackgroundTypes.BLUR,\n backgroundType: HMSVirtualBackgroundTypes.BLUR,\n },\n ];\n\n const images = [\n 'https://www.100ms.live/images/vb-1.jpeg',\n 'https://www.100ms.live/images/vb-2.jpg',\n 'https://www.100ms.live/images/vb-3.png',\n 'https://d2qi07yyjujoxr.cloudfront.net/webapp/vb/hms1.png',\n 'https://d2qi07yyjujoxr.cloudfront.net/webapp/vb/hms2.png',\n 'https://d2qi07yyjujoxr.cloudfront.net/webapp/vb/hms3.png',\n 'https://d2qi07yyjujoxr.cloudfront.net/webapp/vb/hms4.png',\n ].map(url => ({\n background: url,\n backgroundType: HMSVirtualBackgroundTypes.IMAGE,\n }));\n\n backgroundList.push(...images);\n\n /* \n //TODO: update with a better quality gif.\n const gifList = [\n {\n background: \"https://www.100ms.live/images/vb-1.gif\",\n backgroundType: HMSVirtualBackgroundTypes.GIF,\n },\n ];\n backgroundList.push(...gifList); \n */\n\n const videoList = [\n 'https://www.100ms.live/images/video-1.mp4',\n 'https://www.100ms.live/images/video-2.mp4',\n 'https://www.100ms.live/images/video-5.mp4',\n 'https://www.100ms.live/images/video-7.mp4',\n 'https://www.100ms.live/images/video-8.mp4',\n ].map(url => ({\n background: url,\n backgroundType: HMSVirtualBackgroundTypes.VIDEO,\n }));\n backgroundList.push(...videoList);\n\n const randomIdx = Math.floor(Math.random() * backgroundList.length);\n const virtualBackground = backgroundList[randomIdx];\n switch (virtualBackground.backgroundType) {\n case HMSVirtualBackgroundTypes.IMAGE:\n const img = document.createElement('img');\n img.alt = 'VB';\n img.src = backgroundList[randomIdx].background;\n virtualBackground.background = img;\n return virtualBackground;\n case HMSVirtualBackgroundTypes.VIDEO:\n const videoEl = document.createElement('video');\n videoEl.src = backgroundList[randomIdx].background;\n virtualBackground.background = videoEl;\n return virtualBackground;\n default:\n return virtualBackground;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA,OAAO,SAAS,WAAW,QAAQ,gBAAgB;AACnD,SAAS,6BAAAA,kCAAiC;A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