@memori.ai/memori-react 8.45.2 → 8.45.4

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 (543) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/components/Chat/Chat.js +4 -1
  3. package/dist/components/Chat/Chat.js.map +1 -1
  4. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.d.ts +39 -0
  5. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.js +66 -0
  6. package/dist/components/ChatHistoryDrawer/ChatResumeDrawer.js.map +1 -0
  7. package/dist/components/DrawerFooter/DrawerFooter.d.ts +12 -0
  8. package/dist/components/DrawerFooter/DrawerFooter.js +10 -0
  9. package/dist/components/DrawerFooter/DrawerFooter.js.map +1 -0
  10. package/dist/components/IconButton/IconButton.d.ts +9 -0
  11. package/dist/components/IconButton/IconButton.js +36 -0
  12. package/dist/components/IconButton/IconButton.js.map +1 -0
  13. package/dist/components/MemoriWidget/MemoriWidget.d.ts +1 -1
  14. package/dist/components/MemoriWidget/MemoriWidget.js +2 -1
  15. package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
  16. package/dist/components/MobileSessionPanel/MobileSessionPanel.d.ts +65 -0
  17. package/dist/components/MobileSessionPanel/MobileSessionPanel.js +294 -0
  18. package/dist/components/MobileSessionPanel/MobileSessionPanel.js.map +1 -0
  19. package/dist/components/PositionPopover/PositionPopover.d.ts +22 -0
  20. package/dist/components/PositionPopover/PositionPopover.js +208 -0
  21. package/dist/components/PositionPopover/PositionPopover.js.map +1 -0
  22. package/dist/components/layouts/WebsiteAssistant/WebsiteAssistant.d.ts +4 -0
  23. package/dist/components/layouts/WebsiteAssistant/WebsiteAssistant.js +64 -0
  24. package/dist/components/layouts/WebsiteAssistant/WebsiteAssistant.js.map +1 -0
  25. package/dist/components/layouts/chat.css +27 -4
  26. package/dist/context/widgetSurfaceContext.d.ts +3 -0
  27. package/dist/context/widgetSurfaceContext.js +11 -0
  28. package/dist/context/widgetSurfaceContext.js.map +1 -0
  29. package/dist/helpers/positionPopover.d.ts +2 -0
  30. package/dist/helpers/positionPopover.js +16 -0
  31. package/dist/helpers/positionPopover.js.map +1 -0
  32. package/dist/helpers/tts/muteSpeaker.d.ts +13 -0
  33. package/dist/helpers/tts/muteSpeaker.js +27 -0
  34. package/dist/helpers/tts/muteSpeaker.js.map +1 -0
  35. package/dist/helpers/usePressTooltip.d.ts +13 -0
  36. package/dist/helpers/usePressTooltip.js +24 -0
  37. package/dist/helpers/usePressTooltip.js.map +1 -0
  38. package/dist/icons/FacebookIcon.d.ts +3 -0
  39. package/dist/icons/FacebookIcon.js +6 -0
  40. package/dist/icons/FacebookIcon.js.map +1 -0
  41. package/dist/icons/LinkedinIcon.d.ts +3 -0
  42. package/dist/icons/LinkedinIcon.js +6 -0
  43. package/dist/icons/LinkedinIcon.js.map +1 -0
  44. package/dist/icons/MemoriIcon.d.ts +3 -0
  45. package/dist/icons/MemoriIcon.js +8 -0
  46. package/dist/icons/MemoriIcon.js.map +1 -0
  47. package/dist/icons/TelegramIcon.d.ts +3 -0
  48. package/dist/icons/TelegramIcon.js +6 -0
  49. package/dist/icons/TelegramIcon.js.map +1 -0
  50. package/dist/icons/TwitterIcon.d.ts +3 -0
  51. package/dist/icons/TwitterIcon.js +6 -0
  52. package/dist/icons/TwitterIcon.js.map +1 -0
  53. package/dist/icons/WhatsappIcon.d.ts +3 -0
  54. package/dist/icons/WhatsappIcon.js +6 -0
  55. package/dist/icons/WhatsappIcon.js.map +1 -0
  56. package/dist/icons/artifacts/DocumentIcon.d.ts +3 -0
  57. package/dist/icons/artifacts/DocumentIcon.js +6 -0
  58. package/dist/icons/artifacts/DocumentIcon.js.map +1 -0
  59. package/dist/icons/artifacts/HtmlIcon.d.ts +3 -0
  60. package/dist/icons/artifacts/HtmlIcon.js +6 -0
  61. package/dist/icons/artifacts/HtmlIcon.js.map +1 -0
  62. package/dist/icons/artifacts/JavascriptIcon.d.ts +3 -0
  63. package/dist/icons/artifacts/JavascriptIcon.js +6 -0
  64. package/dist/icons/artifacts/JavascriptIcon.js.map +1 -0
  65. package/dist/icons/artifacts/MarkdownIcon.d.ts +3 -0
  66. package/dist/icons/artifacts/MarkdownIcon.js +6 -0
  67. package/dist/icons/artifacts/MarkdownIcon.js.map +1 -0
  68. package/dist/icons/artifacts/PythonIcon.d.ts +3 -0
  69. package/dist/icons/artifacts/PythonIcon.js +6 -0
  70. package/dist/icons/artifacts/PythonIcon.js.map +1 -0
  71. package/dist/icons/artifacts/SvgIcon.d.ts +3 -0
  72. package/dist/icons/artifacts/SvgIcon.js +6 -0
  73. package/dist/icons/artifacts/SvgIcon.js.map +1 -0
  74. package/dist/icons/artifacts/XmlIcon.d.ts +3 -0
  75. package/dist/icons/artifacts/XmlIcon.js +6 -0
  76. package/dist/icons/artifacts/XmlIcon.js.map +1 -0
  77. package/dist/icons/artifacts/cssIcon.d.ts +3 -0
  78. package/dist/icons/artifacts/cssIcon.js +6 -0
  79. package/dist/icons/artifacts/cssIcon.js.map +1 -0
  80. package/dist/styles.css +1 -2
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/esm/components/Chat/Chat.js +4 -1
  84. package/esm/components/Chat/Chat.js.map +1 -1
  85. package/esm/components/MemoriWidget/MemoriWidget.d.ts +1 -1
  86. package/esm/components/MemoriWidget/MemoriWidget.js +2 -1
  87. package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
  88. package/esm/components/layouts/chat.css +27 -4
  89. package/esm/styles.css +1 -2
  90. package/esm/version.d.ts +1 -1
  91. package/esm/version.js +1 -1
  92. package/package.json +6 -7
  93. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.d.ts +0 -3
  94. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.js +0 -64
  95. package/dist/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.js.map +0 -1
  96. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.d.ts +0 -3
  97. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.js +0 -62
  98. package/esm/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.js.map +0 -1
  99. package/src/I18nWrapper.tsx +0 -13
  100. package/src/__snapshots__/index.test.tsx.snap +0 -96
  101. package/src/components/AgeVerificationModal/AgeVerificationModal.css +0 -95
  102. package/src/components/AgeVerificationModal/AgeVerificationModal.stories.tsx +0 -46
  103. package/src/components/AgeVerificationModal/AgeVerificationModal.test.tsx +0 -33
  104. package/src/components/AgeVerificationModal/AgeVerificationModal.tsx +0 -99
  105. package/src/components/AgeVerificationModal/__snapshots__/AgeVerificationModal.test.tsx.snap +0 -19
  106. package/src/components/Auth/Auth.css +0 -57
  107. package/src/components/Auth/Auth.stories.tsx +0 -90
  108. package/src/components/Auth/Auth.test.tsx +0 -63
  109. package/src/components/Auth/Auth.tsx +0 -201
  110. package/src/components/Auth/__snapshots__/Auth.test.tsx.snap +0 -143
  111. package/src/components/Avatar/Avatar.css +0 -151
  112. package/src/components/Avatar/Avatar.stories.tsx +0 -160
  113. package/src/components/Avatar/Avatar.test.tsx +0 -158
  114. package/src/components/Avatar/Avatar.tsx +0 -245
  115. package/src/components/Avatar/AvatarView/AvatarComponent/Shadow/DynamicShadow.tsx +0 -103
  116. package/src/components/Avatar/AvatarView/AvatarComponent/avatarComponent.tsx +0 -105
  117. package/src/components/Avatar/AvatarView/AvatarComponent/components/FullbodyAvatar/fullbodyAvatar.tsx +0 -338
  118. package/src/components/Avatar/AvatarView/AvatarComponent/components/FullbodyAvatar/types.ts +0 -44
  119. package/src/components/Avatar/AvatarView/AvatarComponent/components/controllers/AvatarAnimator.ts +0 -1091
  120. package/src/components/Avatar/AvatarView/AvatarComponent/components/controllers/AvatarPositionController.ts +0 -83
  121. package/src/components/Avatar/AvatarView/AvatarComponent/components/controllers/MorphTargetController.ts +0 -301
  122. package/src/components/Avatar/AvatarView/AvatarComponent/components/controls.tsx +0 -100
  123. package/src/components/Avatar/AvatarView/AvatarComponent/components/halfbodyAvatar.tsx +0 -152
  124. package/src/components/Avatar/AvatarView/AvatarComponent/components/loader.tsx +0 -31
  125. package/src/components/Avatar/AvatarView/AvatarComponent/constants.ts +0 -141
  126. package/src/components/Avatar/AvatarView/AvatarComponent/lights/Lights.tsx +0 -145
  127. package/src/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +0 -111
  128. package/src/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.tsx +0 -201
  129. package/src/components/Avatar/AvatarView/AvatarView.stories.tsx +0 -254
  130. package/src/components/Avatar/AvatarView/index.tsx +0 -194
  131. package/src/components/Avatar/AvatarView/utils/hideHands.ts +0 -11
  132. package/src/components/Avatar/AvatarView/utils/useEyeBlink.ts +0 -100
  133. package/src/components/Avatar/AvatarView/utils/useHeadMovement.ts +0 -72
  134. package/src/components/Avatar/AvatarView/utils/useLoadingMorphAnim.ts +0 -38
  135. package/src/components/Avatar/AvatarView/utils/useMouthAnimation.ts +0 -93
  136. package/src/components/Avatar/AvatarView/utils/useSmile.ts +0 -39
  137. package/src/components/Avatar/AvatarView/utils/utils.ts +0 -55
  138. package/src/components/Avatar/__snapshots__/Avatar.test.tsx.snap +0 -246
  139. package/src/components/Blob/Blob.css +0 -286
  140. package/src/components/Blob/Blob.stories.tsx +0 -53
  141. package/src/components/Blob/Blob.test.tsx +0 -18
  142. package/src/components/Blob/Blob.tsx +0 -26
  143. package/src/components/Blob/__snapshots__/Blob.test.tsx.snap +0 -80
  144. package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.css +0 -40
  145. package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.stories.tsx +0 -58
  146. package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.test.tsx +0 -53
  147. package/src/components/BlockedMemoriBadge/BlockedMemoriBadge.tsx +0 -74
  148. package/src/components/BlockedMemoriBadge/__snapshots__/BlockedMemoriBadge.test.tsx.snap +0 -181
  149. package/src/components/ChangeMode/ChangeMode.css +0 -22
  150. package/src/components/ChangeMode/ChangeMode.stories.tsx +0 -50
  151. package/src/components/ChangeMode/ChangeMode.test.tsx +0 -24
  152. package/src/components/ChangeMode/ChangeMode.tsx +0 -51
  153. package/src/components/ChangeMode/__snapshots__/ChangeMode.test.tsx.snap +0 -107
  154. package/src/components/Chat/Chat.css +0 -285
  155. package/src/components/Chat/Chat.stories.tsx +0 -1684
  156. package/src/components/Chat/Chat.test.tsx +0 -372
  157. package/src/components/Chat/Chat.tsx +0 -778
  158. package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +0 -6816
  159. package/src/components/ChatBubble/ChatBubble.css +0 -430
  160. package/src/components/ChatBubble/ChatBubble.stories.tsx +0 -1192
  161. package/src/components/ChatBubble/ChatBubble.test.tsx +0 -481
  162. package/src/components/ChatBubble/ChatBubble.tsx +0 -776
  163. package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +0 -8734
  164. package/src/components/ChatHistoryDrawer/ChatHistory.css +0 -587
  165. package/src/components/ChatHistoryDrawer/ChatHistory.stories.tsx +0 -410
  166. package/src/components/ChatHistoryDrawer/ChatHistory.test.tsx +0 -107
  167. package/src/components/ChatHistoryDrawer/ChatHistory.tsx +0 -1298
  168. package/src/components/ChatHistoryDrawer/__snapshots__/ChatHistory.test.tsx.snap +0 -27
  169. package/src/components/ChatInputs/ChatInputs.css +0 -340
  170. package/src/components/ChatInputs/ChatInputs.stories.tsx +0 -251
  171. package/src/components/ChatInputs/ChatInputs.tsx +0 -487
  172. package/src/components/ChatTextArea/ChatTextArea.css +0 -185
  173. package/src/components/ChatTextArea/ChatTextArea.stories.tsx +0 -55
  174. package/src/components/ChatTextArea/ChatTextArea.test.tsx +0 -28
  175. package/src/components/ChatTextArea/ChatTextArea.tsx +0 -171
  176. package/src/components/ChatTextArea/__snapshots__/ChatTextArea.test.tsx.snap +0 -68
  177. package/src/components/CompletionProviderStatus/CompletionProviderStatus.css +0 -36
  178. package/src/components/CompletionProviderStatus/CompletionProviderStatus.stories.tsx +0 -296
  179. package/src/components/CompletionProviderStatus/CompletionProviderStatus.test.tsx +0 -31
  180. package/src/components/CompletionProviderStatus/CompletionProviderStatus.tsx +0 -232
  181. package/src/components/CompletionProviderStatus/__snapshots__/CompletionProviderStatus.test.tsx.snap +0 -96
  182. package/src/components/ContentPreviewModal/ContentPreviewModal.css +0 -128
  183. package/src/components/ContentPreviewModal/ContentPreviewModal.tsx +0 -67
  184. package/src/components/ContentPreviewModal/index.ts +0 -2
  185. package/src/components/CustomGLBModelViewer/ModelViewer.css +0 -11
  186. package/src/components/CustomGLBModelViewer/ModelViewer.stories.tsx +0 -58
  187. package/src/components/CustomGLBModelViewer/ModelViewer.test.tsx +0 -13
  188. package/src/components/CustomGLBModelViewer/ModelViewer.tsx +0 -37
  189. package/src/components/CustomGLBModelViewer/__snapshots__/ModelViewer.test.tsx.snap +0 -20
  190. package/src/components/DateSelector/DateSelector.css +0 -158
  191. package/src/components/DateSelector/DateSelector.stories.tsx +0 -47
  192. package/src/components/DateSelector/DateSelector.test.tsx +0 -149
  193. package/src/components/DateSelector/DateSelector.tsx +0 -251
  194. package/src/components/DateSelector/__snapshots__/DateSelector.test.tsx.snap +0 -1954
  195. package/src/components/ErrorBoundary/ErrorBoundary.tsx +0 -54
  196. package/src/components/ExpertsDrawer/ExpertsDrawer.css +0 -67
  197. package/src/components/ExpertsDrawer/ExpertsDrawer.stories.tsx +0 -54
  198. package/src/components/ExpertsDrawer/ExpertsDrawer.test.tsx +0 -53
  199. package/src/components/ExpertsDrawer/ExpertsDrawer.tsx +0 -69
  200. package/src/components/ExpertsDrawer/__snapshots__/ExpertsDrawer.test.tsx.snap +0 -11
  201. package/src/components/ExportHistoryButton/ExportHistoryButton.css +0 -22
  202. package/src/components/FeedbackButtons/FeedbackButtons.css +0 -107
  203. package/src/components/FeedbackButtons/FeedbackButtons.stories.tsx +0 -52
  204. package/src/components/FeedbackButtons/FeedbackButtons.test.tsx +0 -11
  205. package/src/components/FeedbackButtons/FeedbackButtons.tsx +0 -152
  206. package/src/components/FeedbackButtons/__snapshots__/FeedbackButtons.test.tsx.snap +0 -42
  207. package/src/components/FilePreview/FilePreview.css +0 -358
  208. package/src/components/FilePreview/FilePreview.stories.tsx +0 -63
  209. package/src/components/FilePreview/FilePreview.test.tsx +0 -26
  210. package/src/components/FilePreview/FilePreview.tsx +0 -277
  211. package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +0 -185
  212. package/src/components/Header/ChatConsumptionDropdown.test.tsx +0 -117
  213. package/src/components/Header/ChatConsumptionDropdown.tsx +0 -275
  214. package/src/components/Header/Header.css +0 -282
  215. package/src/components/Header/Header.stories.tsx +0 -338
  216. package/src/components/Header/Header.test.tsx +0 -371
  217. package/src/components/Header/Header.tsx +0 -442
  218. package/src/components/Header/__snapshots__/Header.test.tsx.snap +0 -964
  219. package/src/components/KnownFacts/KnownFacts.css +0 -19
  220. package/src/components/KnownFacts/KnownFacts.stories.tsx +0 -80
  221. package/src/components/KnownFacts/KnownFacts.test.tsx +0 -57
  222. package/src/components/KnownFacts/KnownFacts.tsx +0 -376
  223. package/src/components/KnownFacts/__snapshots__/KnownFacts.test.tsx.snap +0 -19
  224. package/src/components/LoginDrawer/LoginDrawer.css +0 -1616
  225. package/src/components/LoginDrawer/LoginDrawer.stories.tsx +0 -102
  226. package/src/components/LoginDrawer/LoginDrawer.test.tsx +0 -199
  227. package/src/components/LoginDrawer/LoginDrawer.tsx +0 -600
  228. package/src/components/LoginDrawer/__snapshots__/LoginDrawer.test.tsx.snap +0 -91
  229. package/src/components/MediaWidget/DocumentCard.test.tsx +0 -45
  230. package/src/components/MediaWidget/DocumentCard.tsx +0 -19
  231. package/src/components/MediaWidget/MediaItemWidget.css +0 -1398
  232. package/src/components/MediaWidget/MediaItemWidget.stories.tsx +0 -423
  233. package/src/components/MediaWidget/MediaItemWidget.test.tsx +0 -248
  234. package/src/components/MediaWidget/MediaItemWidget.tsx +0 -997
  235. package/src/components/MediaWidget/MediaItemWidget.types.ts +0 -65
  236. package/src/components/MediaWidget/MediaItemWidget.utils.test.ts +0 -367
  237. package/src/components/MediaWidget/MediaItemWidget.utils.ts +0 -227
  238. package/src/components/MediaWidget/MediaPreviewModal.test.tsx +0 -271
  239. package/src/components/MediaWidget/MediaPreviewModal.tsx +0 -425
  240. package/src/components/MediaWidget/MediaWidget.css +0 -131
  241. package/src/components/MediaWidget/MediaWidget.stories.tsx +0 -319
  242. package/src/components/MediaWidget/MediaWidget.test.tsx +0 -41
  243. package/src/components/MediaWidget/MediaWidget.tsx +0 -107
  244. package/src/components/MediaWidget/__snapshots__/DocumentCard.test.tsx.snap +0 -24
  245. package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +0 -791
  246. package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +0 -154
  247. package/src/components/MemoriArtifactSystem/ArtifactDrawer.stories.tsx +0 -2299
  248. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.css +0 -163
  249. package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +0 -250
  250. package/src/components/MemoriArtifactSystem/components/ArtifactActions/CopyButton.stories.tsx +0 -30
  251. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.tsx +0 -467
  252. package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.tsx +0 -89
  253. package/src/components/MemoriArtifactSystem/components/ArtifactActions/hooks/useCopyArtifact.ts +0 -619
  254. package/src/components/MemoriArtifactSystem/components/ArtifactActions/index.ts +0 -9
  255. package/src/components/MemoriArtifactSystem/components/ArtifactActions/styles.css +0 -489
  256. package/src/components/MemoriArtifactSystem/components/ArtifactActions/test/CopyButtonTest.tsx +0 -90
  257. package/src/components/MemoriArtifactSystem/components/ArtifactActions/types.ts +0 -73
  258. package/src/components/MemoriArtifactSystem/components/ArtifactActions/utils/PDFExporter.ts +0 -454
  259. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.css +0 -1059
  260. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +0 -431
  261. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css +0 -150
  262. package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.tsx +0 -79
  263. package/src/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css +0 -253
  264. package/src/components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.tsx +0 -561
  265. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +0 -355
  266. package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +0 -160
  267. package/src/components/MemoriArtifactSystem/context/ArtifactContext.tsx +0 -167
  268. package/src/components/MemoriArtifactSystem/types/artifact.types.ts +0 -35
  269. package/src/components/MemoriArtifactSystem/utils/ArtifactAPI.test.tsx +0 -308
  270. package/src/components/MemoriArtifactSystem/utils/ArtifactAPI.tsx +0 -379
  271. package/src/components/MemoriArtifactSystem/utils/applyEdits.test.ts +0 -85
  272. package/src/components/MemoriArtifactSystem/utils/applyEdits.ts +0 -173
  273. package/src/components/MemoriWidget/MemoriWidget.css +0 -220
  274. package/src/components/MemoriWidget/MemoriWidget.stories.tsx +0 -274
  275. package/src/components/MemoriWidget/MemoriWidget.tsx +0 -3930
  276. package/src/components/MicrophoneButton/MicrophoneButton.css +0 -142
  277. package/src/components/MicrophoneButton/MicrophoneButton.stories.tsx +0 -52
  278. package/src/components/MicrophoneButton/MicrophoneButton.tsx +0 -128
  279. package/src/components/PositionDrawer/PositionDrawer.stories.tsx +0 -51
  280. package/src/components/PositionDrawer/PositionDrawer.test.tsx +0 -39
  281. package/src/components/PositionDrawer/PositionDrawer.tsx +0 -50
  282. package/src/components/PositionDrawer/__snapshots__/PositionDrawer.test.tsx.snap +0 -17
  283. package/src/components/PoweredBy/PoweredBy.css +0 -47
  284. package/src/components/PoweredBy/PoweredBy.stories.tsx +0 -75
  285. package/src/components/PoweredBy/PoweredBy.test.tsx +0 -15
  286. package/src/components/PoweredBy/PoweredBy.tsx +0 -44
  287. package/src/components/PoweredBy/__snapshots__/PoweredBy.test.tsx.snap +0 -55
  288. package/src/components/SendOnEnterMenu/SendOnEnterMenu.css +0 -47
  289. package/src/components/SendOnEnterMenu/SendOnEnterMenu.stories.tsx +0 -58
  290. package/src/components/SendOnEnterMenu/SendOnEnterMenu.test.tsx +0 -17
  291. package/src/components/SendOnEnterMenu/SendOnEnterMenu.tsx +0 -82
  292. package/src/components/SendOnEnterMenu/__snapshots__/SendOnEnterMenu.test.tsx.snap +0 -57
  293. package/src/components/SettingsDrawer/SettingsDrawer.css +0 -24
  294. package/src/components/SettingsDrawer/SettingsDrawer.stories.tsx +0 -94
  295. package/src/components/SettingsDrawer/SettingsDrawer.test.tsx +0 -202
  296. package/src/components/SettingsDrawer/SettingsDrawer.tsx +0 -255
  297. package/src/components/SettingsDrawer/__snapshots__/SettingsDrawer.test.tsx.snap +0 -59
  298. package/src/components/ShareButton/ShareButton.css +0 -73
  299. package/src/components/ShareButton/ShareButton.stories.tsx +0 -98
  300. package/src/components/ShareButton/ShareButton.test.tsx +0 -53
  301. package/src/components/ShareButton/ShareButton.tsx +0 -395
  302. package/src/components/ShareButton/__snapshots__/ShareButton.test.tsx.snap +0 -316
  303. package/src/components/Snippet/Snippet.css +0 -142
  304. package/src/components/Snippet/Snippet.stories.tsx +0 -286
  305. package/src/components/Snippet/Snippet.test.tsx +0 -176
  306. package/src/components/Snippet/Snippet.tsx +0 -148
  307. package/src/components/Snippet/__snapshots__/Snippet.test.tsx.snap +0 -603
  308. package/src/components/StartPanel/StartPanel.css +0 -273
  309. package/src/components/StartPanel/StartPanel.stories.tsx +0 -404
  310. package/src/components/StartPanel/StartPanel.test.tsx +0 -360
  311. package/src/components/StartPanel/StartPanel.tsx +0 -426
  312. package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +0 -1986
  313. package/src/components/Typing/Typing.stories.tsx +0 -130
  314. package/src/components/Typing/Typing.test.tsx +0 -62
  315. package/src/components/Typing/Typing.tsx +0 -154
  316. package/src/components/Typing/__snapshots__/Typing.test.tsx.snap +0 -133
  317. package/src/components/UploadButton/UploadButton.css +0 -542
  318. package/src/components/UploadButton/UploadButton.stories.tsx +0 -376
  319. package/src/components/UploadButton/UploadButton.test.tsx +0 -11
  320. package/src/components/UploadButton/UploadButton.tsx +0 -688
  321. package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +0 -421
  322. package/src/components/UploadButton/UploadImages/UploadImages.tsx +0 -538
  323. package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +0 -165
  324. package/src/components/VenueWidget/VenueWidget.css +0 -163
  325. package/src/components/VenueWidget/VenueWidget.stories.tsx +0 -66
  326. package/src/components/VenueWidget/VenueWidget.test.tsx +0 -49
  327. package/src/components/VenueWidget/VenueWidget.tsx +0 -458
  328. package/src/components/VenueWidget/__snapshots__/VenueWidget.test.tsx.snap +0 -370
  329. package/src/components/WhyThisAnswer/WhyThisAnswer.css +0 -171
  330. package/src/components/WhyThisAnswer/WhyThisAnswer.stories.tsx +0 -285
  331. package/src/components/WhyThisAnswer/WhyThisAnswer.test.tsx +0 -245
  332. package/src/components/WhyThisAnswer/WhyThisAnswer.tsx +0 -233
  333. package/src/components/WhyThisAnswer/__snapshots__/WhyThisAnswer.test.tsx.snap +0 -27
  334. package/src/components/icons/AI.tsx +0 -34
  335. package/src/components/icons/Alert.tsx +0 -31
  336. package/src/components/icons/ArrowUp.tsx +0 -28
  337. package/src/components/icons/Bug.tsx +0 -81
  338. package/src/components/icons/Chat.tsx +0 -30
  339. package/src/components/icons/ChevronDown.tsx +0 -26
  340. package/src/components/icons/ChevronLeft.tsx +0 -28
  341. package/src/components/icons/ChevronRight.tsx +0 -28
  342. package/src/components/icons/ChevronUp.tsx +0 -24
  343. package/src/components/icons/Clear.tsx +0 -23
  344. package/src/components/icons/Close.tsx +0 -30
  345. package/src/components/icons/Code.tsx +0 -24
  346. package/src/components/icons/Copy.tsx +0 -23
  347. package/src/components/icons/DeepThought.tsx +0 -38
  348. package/src/components/icons/Delete.tsx +0 -23
  349. package/src/components/icons/Document.tsx +0 -50
  350. package/src/components/icons/Download.tsx +0 -23
  351. package/src/components/icons/Edit.tsx +0 -17
  352. package/src/components/icons/Expand.tsx +0 -23
  353. package/src/components/icons/Eye.tsx +0 -17
  354. package/src/components/icons/EyeInvisible.tsx +0 -24
  355. package/src/components/icons/Facebook.tsx +0 -23
  356. package/src/components/icons/Feedback.tsx +0 -24
  357. package/src/components/icons/File.tsx +0 -17
  358. package/src/components/icons/FileExcel.tsx +0 -23
  359. package/src/components/icons/FilePdf.tsx +0 -23
  360. package/src/components/icons/FileWord.tsx +0 -23
  361. package/src/components/icons/Fullscreen.tsx +0 -23
  362. package/src/components/icons/FullscreenExit.tsx +0 -23
  363. package/src/components/icons/GasStation.tsx +0 -36
  364. package/src/components/icons/Group.tsx +0 -30
  365. package/src/components/icons/History.tsx +0 -33
  366. package/src/components/icons/Image.tsx +0 -37
  367. package/src/components/icons/Info.tsx +0 -31
  368. package/src/components/icons/Link.tsx +0 -17
  369. package/src/components/icons/Linkedin.tsx +0 -23
  370. package/src/components/icons/Loading.tsx +0 -28
  371. package/src/components/icons/Logout.tsx +0 -27
  372. package/src/components/icons/Mail.tsx +0 -17
  373. package/src/components/icons/MapMarker.tsx +0 -26
  374. package/src/components/icons/MenuHorizontal.tsx +0 -29
  375. package/src/components/icons/MenuVertical.tsx +0 -29
  376. package/src/components/icons/Message.tsx +0 -23
  377. package/src/components/icons/Microphone.tsx +0 -23
  378. package/src/components/icons/Minus.tsx +0 -23
  379. package/src/components/icons/MinusCircle.tsx +0 -24
  380. package/src/components/icons/PaperClip.tsx +0 -23
  381. package/src/components/icons/Picture.tsx +0 -23
  382. package/src/components/icons/Plus.tsx +0 -18
  383. package/src/components/icons/Preview.tsx +0 -29
  384. package/src/components/icons/Print.tsx +0 -38
  385. package/src/components/icons/QuestionHelp.tsx +0 -30
  386. package/src/components/icons/Refresh.tsx +0 -30
  387. package/src/components/icons/SelectIcon.tsx +0 -28
  388. package/src/components/icons/Send.tsx +0 -17
  389. package/src/components/icons/Setting.tsx +0 -23
  390. package/src/components/icons/Share.tsx +0 -23
  391. package/src/components/icons/Sound.tsx +0 -23
  392. package/src/components/icons/SoundDeactivated.tsx +0 -27
  393. package/src/components/icons/Telegram.tsx +0 -26
  394. package/src/components/icons/ThumbDown.tsx +0 -29
  395. package/src/components/icons/ThumbUp.tsx +0 -29
  396. package/src/components/icons/Translation.tsx +0 -24
  397. package/src/components/icons/Twitter.tsx +0 -23
  398. package/src/components/icons/Upload.tsx +0 -34
  399. package/src/components/icons/User.tsx +0 -17
  400. package/src/components/icons/Warning.tsx +0 -24
  401. package/src/components/icons/WhatsApp.tsx +0 -24
  402. package/src/components/icons/icons.stories.css +0 -5
  403. package/src/components/icons/icons.stories.tsx +0 -81
  404. package/src/components/icons/loading.css +0 -14
  405. package/src/components/layouts/Chat.test.tsx +0 -40
  406. package/src/components/layouts/Chat.tsx +0 -69
  407. package/src/components/layouts/FullBody/FullBody.stories.tsx +0 -110
  408. package/src/components/layouts/FullPage.test.tsx +0 -65
  409. package/src/components/layouts/FullPage.tsx +0 -80
  410. package/src/components/layouts/HiddenChat.test.tsx +0 -40
  411. package/src/components/layouts/HiddenChat.tsx +0 -233
  412. package/src/components/layouts/Totem/Totem.stories.tsx +0 -131
  413. package/src/components/layouts/Totem.test.tsx +0 -40
  414. package/src/components/layouts/Totem.tsx +0 -49
  415. package/src/components/layouts/WebsiteAssistant.test.tsx +0 -40
  416. package/src/components/layouts/WebsiteAssistant.tsx +0 -132
  417. package/src/components/layouts/ZoomedFullBody/ZoomedFullBody.stories.tsx +0 -131
  418. package/src/components/layouts/ZoomedFullBody.test.tsx +0 -40
  419. package/src/components/layouts/ZoomedFullBody.tsx +0 -81
  420. package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +0 -457
  421. package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +0 -1045
  422. package/src/components/layouts/__snapshots__/HiddenChat.test.tsx.snap +0 -460
  423. package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +0 -566
  424. package/src/components/layouts/__snapshots__/WebsiteAssistant.test.tsx.snap +0 -59
  425. package/src/components/layouts/__snapshots__/ZoomedFullBody.test.tsx.snap +0 -523
  426. package/src/components/layouts/chat.css +0 -451
  427. package/src/components/layouts/hidden-chat.css +0 -276
  428. package/src/components/layouts/layouts.stories.tsx +0 -231
  429. package/src/components/layouts/totem.css +0 -221
  430. package/src/components/layouts/website-assistant.css +0 -677
  431. package/src/components/layouts/zoomed-full-body.css +0 -18
  432. package/src/components/ui/Alert.css +0 -93
  433. package/src/components/ui/Alert.stories.tsx +0 -137
  434. package/src/components/ui/Alert.test.tsx +0 -129
  435. package/src/components/ui/Alert.tsx +0 -123
  436. package/src/components/ui/Button.css +0 -167
  437. package/src/components/ui/Button.stories.tsx +0 -156
  438. package/src/components/ui/Button.test.tsx +0 -74
  439. package/src/components/ui/Button.tsx +0 -107
  440. package/src/components/ui/Card.css +0 -65
  441. package/src/components/ui/Card.stories.tsx +0 -95
  442. package/src/components/ui/Card.test.tsx +0 -47
  443. package/src/components/ui/Card.tsx +0 -48
  444. package/src/components/ui/Checkbox.css +0 -116
  445. package/src/components/ui/Checkbox.stories.tsx +0 -74
  446. package/src/components/ui/Checkbox.test.tsx +0 -28
  447. package/src/components/ui/Checkbox.tsx +0 -58
  448. package/src/components/ui/ConfirmDialog.css +0 -42
  449. package/src/components/ui/ConfirmDialog.stories.tsx +0 -216
  450. package/src/components/ui/ConfirmDialog.test.tsx +0 -124
  451. package/src/components/ui/ConfirmDialog.tsx +0 -58
  452. package/src/components/ui/Details.css +0 -66
  453. package/src/components/ui/Drawer.css +0 -270
  454. package/src/components/ui/Drawer.stories.tsx +0 -267
  455. package/src/components/ui/Drawer.test.tsx +0 -130
  456. package/src/components/ui/Drawer.tsx +0 -293
  457. package/src/components/ui/Dropdown.css +0 -173
  458. package/src/components/ui/Dropdown.tsx +0 -63
  459. package/src/components/ui/Expandable.css +0 -15
  460. package/src/components/ui/Expandable.stories.tsx +0 -180
  461. package/src/components/ui/Expandable.test.tsx +0 -107
  462. package/src/components/ui/Expandable.tsx +0 -121
  463. package/src/components/ui/Modal.css +0 -98
  464. package/src/components/ui/Modal.stories.tsx +0 -171
  465. package/src/components/ui/Modal.test.tsx +0 -111
  466. package/src/components/ui/Modal.tsx +0 -117
  467. package/src/components/ui/Select.css +0 -138
  468. package/src/components/ui/Select.stories.tsx +0 -79
  469. package/src/components/ui/Select.test.tsx +0 -84
  470. package/src/components/ui/Select.tsx +0 -79
  471. package/src/components/ui/Slider.css +0 -192
  472. package/src/components/ui/Slider.stories.tsx +0 -63
  473. package/src/components/ui/Slider.tsx +0 -142
  474. package/src/components/ui/Spin.css +0 -31
  475. package/src/components/ui/Spin.stories.tsx +0 -64
  476. package/src/components/ui/Spin.test.tsx +0 -41
  477. package/src/components/ui/Spin.tsx +0 -31
  478. package/src/components/ui/Table.css +0 -132
  479. package/src/components/ui/Tooltip.css +0 -171
  480. package/src/components/ui/Tooltip.stories.tsx +0 -109
  481. package/src/components/ui/Tooltip.test.tsx +0 -102
  482. package/src/components/ui/Tooltip.tsx +0 -163
  483. package/src/components/ui/__snapshots__/Alert.test.tsx.snap +0 -59
  484. package/src/components/ui/__snapshots__/Button.test.tsx.snap +0 -204
  485. package/src/components/ui/__snapshots__/Card.test.tsx.snap +0 -321
  486. package/src/components/ui/__snapshots__/Checkbox.test.tsx.snap +0 -131
  487. package/src/components/ui/__snapshots__/ConfirmDialog.test.tsx.snap +0 -35
  488. package/src/components/ui/__snapshots__/Drawer.test.tsx.snap +0 -67
  489. package/src/components/ui/__snapshots__/Expandable.test.tsx.snap +0 -159
  490. package/src/components/ui/__snapshots__/Modal.test.tsx.snap +0 -59
  491. package/src/components/ui/__snapshots__/Select.test.tsx.snap +0 -254
  492. package/src/components/ui/__snapshots__/Spin.test.tsx.snap +0 -193
  493. package/src/components/ui/__snapshots__/Tooltip.test.tsx.snap +0 -113
  494. package/src/components/ui/definitions.stories.tsx +0 -139
  495. package/src/context/visemeContext.tsx +0 -384
  496. package/src/helpers/chatPdfExport.ts +0 -544
  497. package/src/helpers/configuration.ts +0 -42
  498. package/src/helpers/constants.ts +0 -268
  499. package/src/helpers/convertDocument.test.ts +0 -67
  500. package/src/helpers/convertDocument.ts +0 -35
  501. package/src/helpers/credits.ts +0 -54
  502. package/src/helpers/error.test.ts +0 -29
  503. package/src/helpers/error.ts +0 -278
  504. package/src/helpers/imageCompression.ts +0 -230
  505. package/src/helpers/llmUsage.ts +0 -328
  506. package/src/helpers/markedExtendedTables.js +0 -217
  507. package/src/helpers/media.test.ts +0 -169
  508. package/src/helpers/media.ts +0 -81
  509. package/src/helpers/message.test.ts +0 -126
  510. package/src/helpers/message.ts +0 -219
  511. package/src/helpers/nats/getNatsConfig.ts +0 -148
  512. package/src/helpers/nats/isSessionExpiredError.test.ts +0 -38
  513. package/src/helpers/nats/isSessionExpiredError.ts +0 -51
  514. package/src/helpers/nats/useNats.test.tsx +0 -81
  515. package/src/helpers/nats/useNats.ts +0 -204
  516. package/src/helpers/nats/useNatsSession.test.ts +0 -16
  517. package/src/helpers/nats/useNatsSession.ts +0 -460
  518. package/src/helpers/piiDetection.test.ts +0 -186
  519. package/src/helpers/piiDetection.ts +0 -91
  520. package/src/helpers/sanitizer.ts +0 -17
  521. package/src/helpers/statistics.ts +0 -58
  522. package/src/helpers/stt/useSTT.ts +0 -515
  523. package/src/helpers/translations.ts +0 -39
  524. package/src/helpers/tts/ttsVoiceUtility.ts +0 -275
  525. package/src/helpers/tts/useTTS.ts +0 -621
  526. package/src/helpers/utils.test.ts +0 -331
  527. package/src/helpers/utils.ts +0 -591
  528. package/src/helpers/venue.ts +0 -36
  529. package/src/i18n.ts +0 -39
  530. package/src/index.stories.tsx +0 -220
  531. package/src/index.test.tsx +0 -156
  532. package/src/index.tsx +0 -592
  533. package/src/locales/de.json +0 -680
  534. package/src/locales/en.json +0 -754
  535. package/src/locales/es.json +0 -682
  536. package/src/locales/fr.json +0 -682
  537. package/src/locales/it.json +0 -750
  538. package/src/mocks/data.ts +0 -790
  539. package/src/styles.css +0 -126
  540. package/src/types/integration.test.ts +0 -32
  541. package/src/types/integration.ts +0 -31
  542. package/src/types/layout.ts +0 -50
  543. package/src/version.ts +0 -2
@@ -1,1986 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders StartPanel for board of experts unchanged 1`] = `
4
- <div>
5
- <div
6
- class="memori--start-panel"
7
- >
8
- <div
9
- class="memori--cover"
10
- >
11
- <div
12
- class="memori--board-of-experts"
13
- >
14
- <div
15
- class="memori-tooltip memori-tooltip--align-left"
16
- >
17
- <div
18
- class="memori-tooltip--trigger"
19
- >
20
- <span
21
- aria-label="boardOfExperts"
22
- >
23
- <svg
24
- aria-hidden="true"
25
- fill="none"
26
- focusable="false"
27
- height="16"
28
- role="img"
29
- stroke="currentColor"
30
- stroke-linecap="round"
31
- stroke-linejoin="round"
32
- stroke-width="2"
33
- viewBox="0 0 640 512"
34
- width="20"
35
- xmlns="http://www.w3.org/2000/svg"
36
- >
37
- <path
38
- d="M211.2 96a64 64 0 10-128 0 64 64 0 10128 0zM32 256c0 17.7 14.3 32 32 32h85.6c10.1-39.4 38.6-71.5 75.8-86.6-9.7-6-21.2-9.4-33.4-9.4H96c-35.3 0-64 28.7-64 64zm461.6 32H576c17.7 0 32-14.3 32-32 0-35.3-28.7-64-64-64h-96c-11.7 0-22.7 3.1-32.1 8.6 38.1 14.8 67.4 47.3 77.7 87.4zm-102.4-61.6c-6.9-1.6-14.2-2.4-21.6-2.4h-96c-8.5 0-16.7 1.1-24.5 3.1-30.8 8.1-55.6 31.1-66.1 60.9-3.5 10-5.5 20.8-5.5 32 0 17.7 14.3 32 32 32h224c17.7 0 32-14.3 32-32 0-11.2-1.9-22-5.5-32-10.8-30.7-36.8-54.2-68.9-61.6zM563.2 96a64 64 0 10-128 0 64 64 0 10128 0zm-241.6 96a80 80 0 100-160 80 80 0 100 160zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32h576c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"
39
- />
40
- </svg>
41
- </span>
42
- </div>
43
- </div>
44
- </div>
45
- </div>
46
- <picture
47
- class="memori--avatar"
48
- >
49
- <source
50
- src="https://aisuru.com/images/aisuru/square_logo.png"
51
- />
52
- <img
53
- alt="Memori"
54
- src="https://aisuru.com/images/aisuru/square_logo.png"
55
- />
56
- </picture>
57
- <h2
58
- class="memori--title"
59
- >
60
- Memori
61
- </h2>
62
- <div
63
- class="memori--description"
64
- >
65
- <p>
66
- <div
67
- class="memori-expandable memori--description-text"
68
- >
69
- <div
70
- class="memori-expandable--inner"
71
- style="max-height: 9999px;"
72
- >
73
- Lorem ipsum.
74
- </div>
75
- </div>
76
- </p>
77
- <div
78
- class="memori--start-privacy-explanation-container"
79
- >
80
- <p
81
- class="memori--start-privacy-explanation"
82
- >
83
- write_and_speak.pagePrivacyExplanation
84
- </p>
85
- <div
86
- class="memori-tooltip memori-tooltip--align-topLeft"
87
- >
88
- <div
89
- class="memori-tooltip--trigger"
90
- >
91
- <svg
92
- aria-hidden="true"
93
- class="memori--start-privacy-explanation-icon"
94
- fill="none"
95
- focusable="false"
96
- role="img"
97
- stroke="currentColor"
98
- stroke-linecap="round"
99
- stroke-linejoin="round"
100
- stroke-width="1.5"
101
- viewBox="0 0 24 24"
102
- xmlns="http://www.w3.org/2000/svg"
103
- >
104
- <circle
105
- cx="12"
106
- cy="12"
107
- r="10"
108
- />
109
- <path
110
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
111
- />
112
- <path
113
- d="M12 17L12.01 17"
114
- />
115
- </svg>
116
- </div>
117
- </div>
118
- </div>
119
- <button
120
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
121
- >
122
- write_and_speak.tryMeButton
123
- </button>
124
- <div
125
- class="memori--completion-provider-status--loading"
126
- >
127
- <div
128
- class="memori-spin memori-spin--spinning"
129
- >
130
- <div
131
- class="memori-spin--spinner"
132
- >
133
- <svg
134
- aria-hidden="true"
135
- class="memori-loading-icon"
136
- focusable="false"
137
- role="img"
138
- viewBox="0 0 1024 1024"
139
- xmlns="http://www.w3.org/2000/svg"
140
- >
141
- <path
142
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
143
- />
144
- </svg>
145
- </div>
146
- </div>
147
- </div>
148
- <p
149
- class="memori--start-description"
150
- >
151
- write_and_speak.pageTryMeExplanation
152
- </p>
153
- </div>
154
- </div>
155
- </div>
156
- `;
157
-
158
- exports[`renders StartPanel on instruct unchanged 1`] = `
159
- <div>
160
- <div
161
- class="memori--start-panel"
162
- >
163
- <div
164
- class="memori--cover"
165
- />
166
- <picture
167
- class="memori--avatar"
168
- >
169
- <source
170
- src="https://aisuru.com/images/aisuru/square_logo.png"
171
- />
172
- <img
173
- alt="Memori"
174
- src="https://aisuru.com/images/aisuru/square_logo.png"
175
- />
176
- </picture>
177
- <h2
178
- class="memori--title"
179
- >
180
- Memori
181
- </h2>
182
- <div
183
- class="memori--description"
184
- >
185
- <p>
186
- <div
187
- class="memori-expandable memori--description-text"
188
- >
189
- <div
190
- class="memori-expandable--inner"
191
- style="max-height: 9999px;"
192
- >
193
- Lorem ipsum.
194
- </div>
195
- </div>
196
- </p>
197
- <div
198
- class="memori--start-privacy-explanation-container"
199
- >
200
- <p
201
- class="memori--start-privacy-explanation"
202
- >
203
- write_and_speak.pagePrivacyExplanation
204
- </p>
205
- <div
206
- class="memori-tooltip memori-tooltip--align-topLeft"
207
- >
208
- <div
209
- class="memori-tooltip--trigger"
210
- >
211
- <svg
212
- aria-hidden="true"
213
- class="memori--start-privacy-explanation-icon"
214
- fill="none"
215
- focusable="false"
216
- role="img"
217
- stroke="currentColor"
218
- stroke-linecap="round"
219
- stroke-linejoin="round"
220
- stroke-width="1.5"
221
- viewBox="0 0 24 24"
222
- xmlns="http://www.w3.org/2000/svg"
223
- >
224
- <circle
225
- cx="12"
226
- cy="12"
227
- r="10"
228
- />
229
- <path
230
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
231
- />
232
- <path
233
- d="M12 17L12.01 17"
234
- />
235
- </svg>
236
- </div>
237
- </div>
238
- </div>
239
- <button
240
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
241
- >
242
- write_and_speak.instructButton
243
- </button>
244
- <div
245
- class="memori--completion-provider-status--loading"
246
- >
247
- <div
248
- class="memori-spin memori-spin--spinning"
249
- >
250
- <div
251
- class="memori-spin--spinner"
252
- >
253
- <svg
254
- aria-hidden="true"
255
- class="memori-loading-icon"
256
- focusable="false"
257
- role="img"
258
- viewBox="0 0 1024 1024"
259
- xmlns="http://www.w3.org/2000/svg"
260
- >
261
- <path
262
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
263
- />
264
- </svg>
265
- </div>
266
- </div>
267
- </div>
268
- <p
269
- class="memori--start-description"
270
- >
271
- write_and_speak.pageInstructExplanation
272
- </p>
273
- </div>
274
- </div>
275
- </div>
276
- `;
277
-
278
- exports[`renders StartPanel unchanged 1`] = `
279
- <div>
280
- <div
281
- class="memori--start-panel"
282
- >
283
- <div
284
- class="memori--cover"
285
- />
286
- <picture
287
- class="memori--avatar"
288
- >
289
- <source
290
- src="https://aisuru.com/images/aisuru/square_logo.png"
291
- />
292
- <img
293
- alt="Memori"
294
- src="https://aisuru.com/images/aisuru/square_logo.png"
295
- />
296
- </picture>
297
- <h2
298
- class="memori--title"
299
- >
300
- Memori
301
- </h2>
302
- <div
303
- class="memori--description"
304
- >
305
- <p>
306
- <div
307
- class="memori-expandable memori--description-text"
308
- >
309
- <div
310
- class="memori-expandable--inner"
311
- style="max-height: 9999px;"
312
- >
313
- Lorem ipsum.
314
- </div>
315
- </div>
316
- </p>
317
- <div
318
- class="memori--start-privacy-explanation-container"
319
- >
320
- <p
321
- class="memori--start-privacy-explanation"
322
- >
323
- write_and_speak.pagePrivacyExplanation
324
- </p>
325
- <div
326
- class="memori-tooltip memori-tooltip--align-topLeft"
327
- >
328
- <div
329
- class="memori-tooltip--trigger"
330
- >
331
- <svg
332
- aria-hidden="true"
333
- class="memori--start-privacy-explanation-icon"
334
- fill="none"
335
- focusable="false"
336
- role="img"
337
- stroke="currentColor"
338
- stroke-linecap="round"
339
- stroke-linejoin="round"
340
- stroke-width="1.5"
341
- viewBox="0 0 24 24"
342
- xmlns="http://www.w3.org/2000/svg"
343
- >
344
- <circle
345
- cx="12"
346
- cy="12"
347
- r="10"
348
- />
349
- <path
350
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
351
- />
352
- <path
353
- d="M12 17L12.01 17"
354
- />
355
- </svg>
356
- </div>
357
- </div>
358
- </div>
359
- <button
360
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
361
- >
362
- write_and_speak.tryMeButton
363
- </button>
364
- <div
365
- class="memori--completion-provider-status--loading"
366
- >
367
- <div
368
- class="memori-spin memori-spin--spinning"
369
- >
370
- <div
371
- class="memori-spin--spinner"
372
- >
373
- <svg
374
- aria-hidden="true"
375
- class="memori-loading-icon"
376
- focusable="false"
377
- role="img"
378
- viewBox="0 0 1024 1024"
379
- xmlns="http://www.w3.org/2000/svg"
380
- >
381
- <path
382
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
383
- />
384
- </svg>
385
- </div>
386
- </div>
387
- </div>
388
- <p
389
- class="memori--start-description"
390
- >
391
- write_and_speak.pageTryMeExplanation
392
- </p>
393
- </div>
394
- </div>
395
- </div>
396
- `;
397
-
398
- exports[`renders StartPanel with completion provider down unchanged 1`] = `
399
- <div>
400
- <div
401
- class="memori--start-panel"
402
- >
403
- <div
404
- class="memori--cover"
405
- />
406
- <picture
407
- class="memori--avatar"
408
- >
409
- <source
410
- src="https://aisuru.com/images/aisuru/square_logo.png"
411
- />
412
- <img
413
- alt="Memori"
414
- src="https://aisuru.com/images/aisuru/square_logo.png"
415
- />
416
- </picture>
417
- <h2
418
- class="memori--title"
419
- >
420
- Memori
421
- </h2>
422
- <div
423
- class="memori--description"
424
- >
425
- <p>
426
- <div
427
- class="memori-expandable memori--description-text"
428
- >
429
- <div
430
- class="memori-expandable--inner"
431
- style="max-height: 9999px;"
432
- >
433
- Lorem ipsum.
434
- </div>
435
- </div>
436
- </p>
437
- <div
438
- class="memori--start-privacy-explanation-container"
439
- >
440
- <p
441
- class="memori--start-privacy-explanation"
442
- >
443
- write_and_speak.pagePrivacyExplanation
444
- </p>
445
- <div
446
- class="memori-tooltip memori-tooltip--align-topLeft"
447
- >
448
- <div
449
- class="memori-tooltip--trigger"
450
- >
451
- <svg
452
- aria-hidden="true"
453
- class="memori--start-privacy-explanation-icon"
454
- fill="none"
455
- focusable="false"
456
- role="img"
457
- stroke="currentColor"
458
- stroke-linecap="round"
459
- stroke-linejoin="round"
460
- stroke-width="1.5"
461
- viewBox="0 0 24 24"
462
- xmlns="http://www.w3.org/2000/svg"
463
- >
464
- <circle
465
- cx="12"
466
- cy="12"
467
- r="10"
468
- />
469
- <path
470
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
471
- />
472
- <path
473
- d="M12 17L12.01 17"
474
- />
475
- </svg>
476
- </div>
477
- </div>
478
- </div>
479
- <button
480
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
481
- >
482
- write_and_speak.tryMeButton
483
- </button>
484
- <div
485
- class="memori-tooltip memori-tooltip--align-right memori--completion-provider-status--tooltip"
486
- >
487
- <div
488
- class="memori-tooltip--trigger"
489
- >
490
- <svg
491
- aria-hidden="true"
492
- class="memori--completion-provider-status--icon memori--completion-provider-status--icon-error"
493
- color="currentColor"
494
- fill="none"
495
- height="800px"
496
- viewBox="0 0 24 24"
497
- width="800px"
498
- xmlns="http://www.w3.org/2000/svg"
499
- >
500
- <path
501
- d="M12 16H12.01M12 8V12M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
502
- stroke="currentColor"
503
- stroke-linecap="round"
504
- stroke-linejoin="round"
505
- stroke-width="2"
506
- />
507
- </svg>
508
- </div>
509
- </div>
510
- <p
511
- class="memori--start-description"
512
- >
513
- write_and_speak.pageTryMeExplanation
514
- </p>
515
- </div>
516
- </div>
517
- </div>
518
- `;
519
-
520
- exports[`renders StartPanel with completions enabled unchanged 1`] = `
521
- <div>
522
- <div
523
- class="memori--start-panel"
524
- >
525
- <div
526
- class="memori--cover"
527
- />
528
- <picture
529
- class="memori--avatar"
530
- >
531
- <source
532
- src="https://aisuru.com/images/aisuru/square_logo.png"
533
- />
534
- <img
535
- alt="Memori"
536
- src="https://aisuru.com/images/aisuru/square_logo.png"
537
- />
538
- </picture>
539
- <h2
540
- class="memori--title"
541
- >
542
- Memori
543
- </h2>
544
- <div
545
- class="memori--description"
546
- >
547
- <p>
548
- <div
549
- class="memori-expandable memori--description-text"
550
- >
551
- <div
552
- class="memori-expandable--inner"
553
- style="max-height: 9999px;"
554
- >
555
- Lorem ipsum.
556
- </div>
557
- </div>
558
- </p>
559
- <div
560
- class="memori--start-privacy-explanation-container"
561
- >
562
- <p
563
- class="memori--start-privacy-explanation"
564
- >
565
- write_and_speak.pagePrivacyExplanation
566
- </p>
567
- <div
568
- class="memori-tooltip memori-tooltip--align-topLeft"
569
- >
570
- <div
571
- class="memori-tooltip--trigger"
572
- >
573
- <svg
574
- aria-hidden="true"
575
- class="memori--start-privacy-explanation-icon"
576
- fill="none"
577
- focusable="false"
578
- role="img"
579
- stroke="currentColor"
580
- stroke-linecap="round"
581
- stroke-linejoin="round"
582
- stroke-width="1.5"
583
- viewBox="0 0 24 24"
584
- xmlns="http://www.w3.org/2000/svg"
585
- >
586
- <circle
587
- cx="12"
588
- cy="12"
589
- r="10"
590
- />
591
- <path
592
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
593
- />
594
- <path
595
- d="M12 17L12.01 17"
596
- />
597
- </svg>
598
- </div>
599
- </div>
600
- </div>
601
- <button
602
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
603
- >
604
- write_and_speak.tryMeButton
605
- </button>
606
- <div
607
- class="memori--completion-provider-status--loading"
608
- >
609
- <div
610
- class="memori-spin memori-spin--spinning"
611
- >
612
- <div
613
- class="memori-spin--spinner"
614
- >
615
- <svg
616
- aria-hidden="true"
617
- class="memori-loading-icon"
618
- focusable="false"
619
- role="img"
620
- viewBox="0 0 1024 1024"
621
- xmlns="http://www.w3.org/2000/svg"
622
- >
623
- <path
624
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
625
- />
626
- </svg>
627
- </div>
628
- </div>
629
- </div>
630
- <p
631
- class="memori--start-description"
632
- >
633
- write_and_speak.pageTryMeExplanation
634
- </p>
635
- </div>
636
- </div>
637
- </div>
638
- `;
639
-
640
- exports[`renders StartPanel with deep thought but unlogged unchanged 1`] = `
641
- <div>
642
- <div
643
- class="memori--start-panel"
644
- >
645
- <div
646
- class="memori--cover"
647
- />
648
- <picture
649
- class="memori--avatar"
650
- >
651
- <source
652
- src="https://aisuru.com/images/aisuru/square_logo.png"
653
- />
654
- <img
655
- alt="Memori"
656
- src="https://aisuru.com/images/aisuru/square_logo.png"
657
- />
658
- </picture>
659
- <h2
660
- class="memori--title"
661
- >
662
- Memori
663
- </h2>
664
- <div
665
- class="memori--description"
666
- >
667
- <p>
668
- <div
669
- class="memori-expandable memori--description-text"
670
- >
671
- <div
672
- class="memori-expandable--inner"
673
- style="max-height: 9999px;"
674
- >
675
- Lorem ipsum.
676
- </div>
677
- </div>
678
- </p>
679
- <div
680
- class="memori--start-privacy-explanation-container"
681
- >
682
- <p
683
- class="memori--start-privacy-explanation"
684
- >
685
- write_and_speak.pagePrivacyExplanation
686
- </p>
687
- <div
688
- class="memori-tooltip memori-tooltip--align-topLeft"
689
- >
690
- <div
691
- class="memori-tooltip--trigger"
692
- >
693
- <svg
694
- aria-hidden="true"
695
- class="memori--start-privacy-explanation-icon"
696
- fill="none"
697
- focusable="false"
698
- role="img"
699
- stroke="currentColor"
700
- stroke-linecap="round"
701
- stroke-linejoin="round"
702
- stroke-width="1.5"
703
- viewBox="0 0 24 24"
704
- xmlns="http://www.w3.org/2000/svg"
705
- >
706
- <circle
707
- cx="12"
708
- cy="12"
709
- r="10"
710
- />
711
- <path
712
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
713
- />
714
- <path
715
- d="M12 17L12.01 17"
716
- />
717
- </svg>
718
- </div>
719
- </div>
720
- </div>
721
- <button
722
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
723
- >
724
- write_and_speak.tryMeButton
725
- </button>
726
- <div
727
- class="memori--completion-provider-status--loading"
728
- >
729
- <div
730
- class="memori-spin memori-spin--spinning"
731
- >
732
- <div
733
- class="memori-spin--spinner"
734
- >
735
- <svg
736
- aria-hidden="true"
737
- class="memori-loading-icon"
738
- focusable="false"
739
- role="img"
740
- viewBox="0 0 1024 1024"
741
- xmlns="http://www.w3.org/2000/svg"
742
- >
743
- <path
744
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
745
- />
746
- </svg>
747
- </div>
748
- </div>
749
- </div>
750
- <p
751
- class="memori--start-description"
752
- >
753
- write_and_speak.pageTryMeExplanation
754
- </p>
755
- <div
756
- class="memori--deep-thought-disclaimer"
757
- >
758
- <div
759
- class="memori-tooltip memori-tooltip--align-left"
760
- >
761
- <div
762
- class="memori-tooltip--trigger"
763
- >
764
- <svg
765
- aria-hidden="true"
766
- fill="none"
767
- focusable="false"
768
- height="20"
769
- role="img"
770
- stroke="currentColor"
771
- stroke-linecap="round"
772
- stroke-linejoin="round"
773
- stroke-width="3"
774
- viewBox="0 0 48 48"
775
- width="20"
776
- xmlns="http://www.w3.org/2000/svg"
777
- >
778
- <path
779
- d="M30.106 48v-2.745a2.213 2.213 0 012.213-2.212h6.11a2.392 2.392 0 002.326-2.466v-3.223a1.834 1.834 0 01.459-1.145 2.912 2.912 0 00.712-1.926l-.007-.667a1.016 1.016 0 01.651-.952h1.067a1.363 1.363 0 001.051-.456 1.304 1.304 0 00.19-1.395 67.032 67.032 0 01-3.037-7.51 4.767 4.767 0 01-.217-1.507l-.002-4.994a14.513 14.513 0 00-.552-3.963l-.006-.022a13.959 13.959 0 00-3.137-5.702q-.479-.516-1.006-1.003a17.67 17.67 0 00-.677-.623A18.303 18.303 0 0024.194 1a19.617 19.617 0 00-12.539 4.489 17.555 17.555 0 00-3.945 21.69C9.945 31.507 11.694 38.622 12.14 46v2"
780
- stroke-miterlimit="10"
781
- />
782
- <path
783
- d="M27.917 12L31.417 12"
784
- />
785
- <path
786
- d="M27.917 26L31.417 26"
787
- />
788
- <path
789
- d="M29.667 12L29.667 26"
790
- />
791
- <path
792
- d="M23.992 26L19.904 12 19.226 12 15.159 26"
793
- />
794
- <path
795
- d="M16.854 21.133L22.276 21.133"
796
- />
797
- </svg>
798
- </div>
799
- </div>
800
- <h2>
801
- deepThought
802
- </h2>
803
- <p>
804
- deepThoughtPreDisclaimerUnlogged
805
- </p>
806
- <p>
807
- <button
808
- class="memori-button memori-button--outlined memori-button--rounded"
809
- >
810
- login.login
811
- </button>
812
- </p>
813
- <p
814
- class="memori--deep-thought-disclaimer-text"
815
- >
816
- deepThoughtDisclaimer
817
- </p>
818
- </div>
819
- </div>
820
- </div>
821
- </div>
822
- `;
823
-
824
- exports[`renders StartPanel with deep thought enabled but without permission flag unchanged 1`] = `
825
- <div>
826
- <div
827
- class="memori--start-panel"
828
- >
829
- <div
830
- class="memori--cover"
831
- />
832
- <picture
833
- class="memori--avatar"
834
- >
835
- <source
836
- src="https://aisuru.com/images/aisuru/square_logo.png"
837
- />
838
- <img
839
- alt="Memori"
840
- src="https://aisuru.com/images/aisuru/square_logo.png"
841
- />
842
- </picture>
843
- <h2
844
- class="memori--title"
845
- >
846
- Memori
847
- </h2>
848
- <div
849
- class="memori--description"
850
- >
851
- <p>
852
- <div
853
- class="memori-expandable memori--description-text"
854
- >
855
- <div
856
- class="memori-expandable--inner"
857
- style="max-height: 9999px;"
858
- >
859
- Lorem ipsum.
860
- </div>
861
- </div>
862
- </p>
863
- <div
864
- class="memori--start-privacy-explanation-container"
865
- >
866
- <p
867
- class="memori--start-privacy-explanation"
868
- >
869
- write_and_speak.pagePrivacyExplanation
870
- </p>
871
- <div
872
- class="memori-tooltip memori-tooltip--align-topLeft"
873
- >
874
- <div
875
- class="memori-tooltip--trigger"
876
- >
877
- <svg
878
- aria-hidden="true"
879
- class="memori--start-privacy-explanation-icon"
880
- fill="none"
881
- focusable="false"
882
- role="img"
883
- stroke="currentColor"
884
- stroke-linecap="round"
885
- stroke-linejoin="round"
886
- stroke-width="1.5"
887
- viewBox="0 0 24 24"
888
- xmlns="http://www.w3.org/2000/svg"
889
- >
890
- <circle
891
- cx="12"
892
- cy="12"
893
- r="10"
894
- />
895
- <path
896
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
897
- />
898
- <path
899
- d="M12 17L12.01 17"
900
- />
901
- </svg>
902
- </div>
903
- </div>
904
- </div>
905
- <button
906
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
907
- >
908
- write_and_speak.tryMeButton
909
- </button>
910
- <div
911
- class="memori--completion-provider-status--loading"
912
- >
913
- <div
914
- class="memori-spin memori-spin--spinning"
915
- >
916
- <div
917
- class="memori-spin--spinner"
918
- >
919
- <svg
920
- aria-hidden="true"
921
- class="memori-loading-icon"
922
- focusable="false"
923
- role="img"
924
- viewBox="0 0 1024 1024"
925
- xmlns="http://www.w3.org/2000/svg"
926
- >
927
- <path
928
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
929
- />
930
- </svg>
931
- </div>
932
- </div>
933
- </div>
934
- <p
935
- class="memori--start-description"
936
- >
937
- write_and_speak.pageTryMeExplanation
938
- </p>
939
- <div
940
- class="memori--deep-thought-disclaimer"
941
- >
942
- <div
943
- class="memori-tooltip memori-tooltip--align-left"
944
- >
945
- <div
946
- class="memori-tooltip--trigger"
947
- >
948
- <svg
949
- aria-hidden="true"
950
- fill="none"
951
- focusable="false"
952
- height="20"
953
- role="img"
954
- stroke="currentColor"
955
- stroke-linecap="round"
956
- stroke-linejoin="round"
957
- stroke-width="3"
958
- viewBox="0 0 48 48"
959
- width="20"
960
- xmlns="http://www.w3.org/2000/svg"
961
- >
962
- <path
963
- d="M30.106 48v-2.745a2.213 2.213 0 012.213-2.212h6.11a2.392 2.392 0 002.326-2.466v-3.223a1.834 1.834 0 01.459-1.145 2.912 2.912 0 00.712-1.926l-.007-.667a1.016 1.016 0 01.651-.952h1.067a1.363 1.363 0 001.051-.456 1.304 1.304 0 00.19-1.395 67.032 67.032 0 01-3.037-7.51 4.767 4.767 0 01-.217-1.507l-.002-4.994a14.513 14.513 0 00-.552-3.963l-.006-.022a13.959 13.959 0 00-3.137-5.702q-.479-.516-1.006-1.003a17.67 17.67 0 00-.677-.623A18.303 18.303 0 0024.194 1a19.617 19.617 0 00-12.539 4.489 17.555 17.555 0 00-3.945 21.69C9.945 31.507 11.694 38.622 12.14 46v2"
964
- stroke-miterlimit="10"
965
- />
966
- <path
967
- d="M27.917 12L31.417 12"
968
- />
969
- <path
970
- d="M27.917 26L31.417 26"
971
- />
972
- <path
973
- d="M29.667 12L29.667 26"
974
- />
975
- <path
976
- d="M23.992 26L19.904 12 19.226 12 15.159 26"
977
- />
978
- <path
979
- d="M16.854 21.133L22.276 21.133"
980
- />
981
- </svg>
982
- </div>
983
- </div>
984
- <h2>
985
- deepThought
986
- </h2>
987
- <p>
988
- deepThoughtPreDisclaimerNotAllowed
989
- </p>
990
- <p
991
- class="memori--deep-thought-disclaimer-text"
992
- >
993
- deepThoughtDisclaimer
994
- </p>
995
- </div>
996
- </div>
997
- </div>
998
- </div>
999
- `;
1000
-
1001
- exports[`renders StartPanel with deep thought enabled unchanged 1`] = `
1002
- <div>
1003
- <div
1004
- class="memori--start-panel"
1005
- >
1006
- <div
1007
- class="memori--cover"
1008
- />
1009
- <picture
1010
- class="memori--avatar"
1011
- >
1012
- <source
1013
- src="https://aisuru.com/images/aisuru/square_logo.png"
1014
- />
1015
- <img
1016
- alt="Memori"
1017
- src="https://aisuru.com/images/aisuru/square_logo.png"
1018
- />
1019
- </picture>
1020
- <h2
1021
- class="memori--title"
1022
- >
1023
- Memori
1024
- </h2>
1025
- <div
1026
- class="memori--description"
1027
- >
1028
- <p>
1029
- <div
1030
- class="memori-expandable memori--description-text"
1031
- >
1032
- <div
1033
- class="memori-expandable--inner"
1034
- style="max-height: 9999px;"
1035
- >
1036
- Lorem ipsum.
1037
- </div>
1038
- </div>
1039
- </p>
1040
- <div
1041
- class="memori--start-privacy-explanation-container"
1042
- >
1043
- <p
1044
- class="memori--start-privacy-explanation"
1045
- >
1046
- write_and_speak.pagePrivacyExplanation
1047
- </p>
1048
- <div
1049
- class="memori-tooltip memori-tooltip--align-topLeft"
1050
- >
1051
- <div
1052
- class="memori-tooltip--trigger"
1053
- >
1054
- <svg
1055
- aria-hidden="true"
1056
- class="memori--start-privacy-explanation-icon"
1057
- fill="none"
1058
- focusable="false"
1059
- role="img"
1060
- stroke="currentColor"
1061
- stroke-linecap="round"
1062
- stroke-linejoin="round"
1063
- stroke-width="1.5"
1064
- viewBox="0 0 24 24"
1065
- xmlns="http://www.w3.org/2000/svg"
1066
- >
1067
- <circle
1068
- cx="12"
1069
- cy="12"
1070
- r="10"
1071
- />
1072
- <path
1073
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
1074
- />
1075
- <path
1076
- d="M12 17L12.01 17"
1077
- />
1078
- </svg>
1079
- </div>
1080
- </div>
1081
- </div>
1082
- <button
1083
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
1084
- >
1085
- write_and_speak.tryMeButton
1086
- </button>
1087
- <div
1088
- class="memori--completion-provider-status--loading"
1089
- >
1090
- <div
1091
- class="memori-spin memori-spin--spinning"
1092
- >
1093
- <div
1094
- class="memori-spin--spinner"
1095
- >
1096
- <svg
1097
- aria-hidden="true"
1098
- class="memori-loading-icon"
1099
- focusable="false"
1100
- role="img"
1101
- viewBox="0 0 1024 1024"
1102
- xmlns="http://www.w3.org/2000/svg"
1103
- >
1104
- <path
1105
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
1106
- />
1107
- </svg>
1108
- </div>
1109
- </div>
1110
- </div>
1111
- <p
1112
- class="memori--start-description"
1113
- >
1114
- write_and_speak.pageTryMeExplanation
1115
- </p>
1116
- <div
1117
- class="memori--deep-thought-disclaimer"
1118
- >
1119
- <div
1120
- class="memori-tooltip memori-tooltip--align-left"
1121
- >
1122
- <div
1123
- class="memori-tooltip--trigger"
1124
- >
1125
- <svg
1126
- aria-hidden="true"
1127
- fill="none"
1128
- focusable="false"
1129
- height="20"
1130
- role="img"
1131
- stroke="currentColor"
1132
- stroke-linecap="round"
1133
- stroke-linejoin="round"
1134
- stroke-width="3"
1135
- viewBox="0 0 48 48"
1136
- width="20"
1137
- xmlns="http://www.w3.org/2000/svg"
1138
- >
1139
- <path
1140
- d="M30.106 48v-2.745a2.213 2.213 0 012.213-2.212h6.11a2.392 2.392 0 002.326-2.466v-3.223a1.834 1.834 0 01.459-1.145 2.912 2.912 0 00.712-1.926l-.007-.667a1.016 1.016 0 01.651-.952h1.067a1.363 1.363 0 001.051-.456 1.304 1.304 0 00.19-1.395 67.032 67.032 0 01-3.037-7.51 4.767 4.767 0 01-.217-1.507l-.002-4.994a14.513 14.513 0 00-.552-3.963l-.006-.022a13.959 13.959 0 00-3.137-5.702q-.479-.516-1.006-1.003a17.67 17.67 0 00-.677-.623A18.303 18.303 0 0024.194 1a19.617 19.617 0 00-12.539 4.489 17.555 17.555 0 00-3.945 21.69C9.945 31.507 11.694 38.622 12.14 46v2"
1141
- stroke-miterlimit="10"
1142
- />
1143
- <path
1144
- d="M27.917 12L31.417 12"
1145
- />
1146
- <path
1147
- d="M27.917 26L31.417 26"
1148
- />
1149
- <path
1150
- d="M29.667 12L29.667 26"
1151
- />
1152
- <path
1153
- d="M23.992 26L19.904 12 19.226 12 15.159 26"
1154
- />
1155
- <path
1156
- d="M16.854 21.133L22.276 21.133"
1157
- />
1158
- </svg>
1159
- </div>
1160
- </div>
1161
- <h2>
1162
- deepThoughtDisclaimerTitle
1163
- </h2>
1164
- <p
1165
- class="memori--deep-thought-disclaimer-text"
1166
- >
1167
- deepThoughtDisclaimer
1168
- </p>
1169
- </div>
1170
- </div>
1171
- </div>
1172
- </div>
1173
- `;
1174
-
1175
- exports[`renders StartPanel with existing sessionunchanged 1`] = `
1176
- <div>
1177
- <div
1178
- class="memori--start-panel"
1179
- >
1180
- <div
1181
- class="memori--cover"
1182
- />
1183
- <picture
1184
- class="memori--avatar"
1185
- >
1186
- <source
1187
- src="https://aisuru.com/images/aisuru/square_logo.png"
1188
- />
1189
- <img
1190
- alt="Memori"
1191
- src="https://aisuru.com/images/aisuru/square_logo.png"
1192
- />
1193
- </picture>
1194
- <h2
1195
- class="memori--title"
1196
- >
1197
- Memori
1198
- </h2>
1199
- <div
1200
- class="memori--description"
1201
- >
1202
- <p>
1203
- <div
1204
- class="memori-expandable memori--description-text"
1205
- >
1206
- <div
1207
- class="memori-expandable--inner"
1208
- style="max-height: 9999px;"
1209
- >
1210
- Lorem ipsum.
1211
- </div>
1212
- </div>
1213
- </p>
1214
- <div
1215
- class="memori--start-privacy-explanation-container"
1216
- >
1217
- <p
1218
- class="memori--start-privacy-explanation"
1219
- >
1220
- write_and_speak.pagePrivacyExplanation
1221
- </p>
1222
- <div
1223
- class="memori-tooltip memori-tooltip--align-topLeft"
1224
- >
1225
- <div
1226
- class="memori-tooltip--trigger"
1227
- >
1228
- <svg
1229
- aria-hidden="true"
1230
- class="memori--start-privacy-explanation-icon"
1231
- fill="none"
1232
- focusable="false"
1233
- role="img"
1234
- stroke="currentColor"
1235
- stroke-linecap="round"
1236
- stroke-linejoin="round"
1237
- stroke-width="1.5"
1238
- viewBox="0 0 24 24"
1239
- xmlns="http://www.w3.org/2000/svg"
1240
- >
1241
- <circle
1242
- cx="12"
1243
- cy="12"
1244
- r="10"
1245
- />
1246
- <path
1247
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
1248
- />
1249
- <path
1250
- d="M12 17L12.01 17"
1251
- />
1252
- </svg>
1253
- </div>
1254
- </div>
1255
- </div>
1256
- <button
1257
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
1258
- >
1259
- write_and_speak.resumeButton
1260
- </button>
1261
- <div
1262
- class="memori--completion-provider-status--loading"
1263
- >
1264
- <div
1265
- class="memori-spin memori-spin--spinning"
1266
- >
1267
- <div
1268
- class="memori-spin--spinner"
1269
- >
1270
- <svg
1271
- aria-hidden="true"
1272
- class="memori-loading-icon"
1273
- focusable="false"
1274
- role="img"
1275
- viewBox="0 0 1024 1024"
1276
- xmlns="http://www.w3.org/2000/svg"
1277
- >
1278
- <path
1279
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
1280
- />
1281
- </svg>
1282
- </div>
1283
- </div>
1284
- </div>
1285
- <p
1286
- class="memori--start-description"
1287
- >
1288
- write_and_speak.pageTryMeExplanation
1289
- </p>
1290
- </div>
1291
- </div>
1292
- </div>
1293
- `;
1294
-
1295
- exports[`renders StartPanel with integrationConfig unchanged 1`] = `
1296
- <div>
1297
- <div
1298
- class="memori--start-panel"
1299
- >
1300
- <div
1301
- class="memori--cover"
1302
- />
1303
- <picture
1304
- class="memori--avatar"
1305
- >
1306
- <source
1307
- src="https://aisuru.com/images/aisuru/square_logo.png"
1308
- />
1309
- <img
1310
- alt="Memori"
1311
- src="https://aisuru.com/images/aisuru/square_logo.png"
1312
- />
1313
- </picture>
1314
- <h2
1315
- class="memori--title"
1316
- >
1317
- Memori
1318
- </h2>
1319
- <div
1320
- class="memori--description"
1321
- >
1322
- <p>
1323
- <div
1324
- class="memori-expandable memori--description-text"
1325
- >
1326
- <div
1327
- class="memori-expandable--inner"
1328
- style="max-height: 9999px;"
1329
- >
1330
- Lorem ipsum.
1331
- </div>
1332
- </div>
1333
- </p>
1334
- <div
1335
- class="memori--start-privacy-explanation-container"
1336
- >
1337
- <p
1338
- class="memori--start-privacy-explanation"
1339
- >
1340
- write_and_speak.pagePrivacyExplanation
1341
- </p>
1342
- <div
1343
- class="memori-tooltip memori-tooltip--align-topLeft"
1344
- >
1345
- <div
1346
- class="memori-tooltip--trigger"
1347
- >
1348
- <svg
1349
- aria-hidden="true"
1350
- class="memori--start-privacy-explanation-icon"
1351
- fill="none"
1352
- focusable="false"
1353
- role="img"
1354
- stroke="currentColor"
1355
- stroke-linecap="round"
1356
- stroke-linejoin="round"
1357
- stroke-width="1.5"
1358
- viewBox="0 0 24 24"
1359
- xmlns="http://www.w3.org/2000/svg"
1360
- >
1361
- <circle
1362
- cx="12"
1363
- cy="12"
1364
- r="10"
1365
- />
1366
- <path
1367
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
1368
- />
1369
- <path
1370
- d="M12 17L12.01 17"
1371
- />
1372
- </svg>
1373
- </div>
1374
- </div>
1375
- </div>
1376
- <button
1377
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
1378
- >
1379
- write_and_speak.tryMeButton
1380
- </button>
1381
- <div
1382
- class="memori--completion-provider-status--loading"
1383
- >
1384
- <div
1385
- class="memori-spin memori-spin--spinning"
1386
- >
1387
- <div
1388
- class="memori-spin--spinner"
1389
- >
1390
- <svg
1391
- aria-hidden="true"
1392
- class="memori-loading-icon"
1393
- focusable="false"
1394
- role="img"
1395
- viewBox="0 0 1024 1024"
1396
- xmlns="http://www.w3.org/2000/svg"
1397
- >
1398
- <path
1399
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
1400
- />
1401
- </svg>
1402
- </div>
1403
- </div>
1404
- </div>
1405
- <p
1406
- class="memori--start-description"
1407
- >
1408
- write_and_speak.pageTryMeExplanation
1409
- </p>
1410
- </div>
1411
- </div>
1412
- </div>
1413
- `;
1414
-
1415
- exports[`renders StartPanel with login required unchanged 1`] = `
1416
- <div>
1417
- <div
1418
- class="memori--start-panel"
1419
- >
1420
- <div
1421
- class="memori--cover"
1422
- />
1423
- <picture
1424
- class="memori--avatar"
1425
- >
1426
- <source
1427
- src="https://aisuru.com/images/aisuru/square_logo.png"
1428
- />
1429
- <img
1430
- alt="Memori"
1431
- src="https://aisuru.com/images/aisuru/square_logo.png"
1432
- />
1433
- </picture>
1434
- <h2
1435
- class="memori--title"
1436
- >
1437
- Memori
1438
- </h2>
1439
- <div
1440
- class="memori--needsLogin"
1441
- >
1442
- <p>
1443
- write_and_speak.requirePositionHelp
1444
- </p>
1445
- <button
1446
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori-button--with-icon memori--start-button"
1447
- >
1448
- <span
1449
- class="memori-button--icon"
1450
- >
1451
- <svg
1452
- aria-hidden="true"
1453
- focusable="false"
1454
- role="img"
1455
- viewBox="0 0 1024 1024"
1456
- xmlns="http://www.w3.org/2000/svg"
1457
- >
1458
- <path
1459
- d="M858.5 763.6a374 374 0 0 0-80.6-119.5 375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"
1460
- />
1461
- </svg>
1462
- </span>
1463
- login.login
1464
- </button>
1465
- </div>
1466
- </div>
1467
- </div>
1468
- `;
1469
-
1470
- exports[`renders StartPanel with multilangual unchanged 1`] = `
1471
- <div>
1472
- <div
1473
- class="memori--start-panel"
1474
- >
1475
- <div
1476
- class="memori--cover"
1477
- />
1478
- <picture
1479
- class="memori--avatar"
1480
- >
1481
- <source
1482
- src="https://aisuru.com/images/aisuru/square_logo.png"
1483
- />
1484
- <img
1485
- alt="Memori"
1486
- src="https://aisuru.com/images/aisuru/square_logo.png"
1487
- />
1488
- </picture>
1489
- <h2
1490
- class="memori--title"
1491
- >
1492
- Memori
1493
- </h2>
1494
- <div
1495
- class="memori--description"
1496
- >
1497
- <p>
1498
- <div
1499
- class="memori-expandable memori--description-text"
1500
- >
1501
- <div
1502
- class="memori-expandable--inner"
1503
- style="max-height: 9999px;"
1504
- >
1505
- Lorem ipsum.
1506
- </div>
1507
- </div>
1508
- </p>
1509
- <div
1510
- class="memori--language-chooser"
1511
- >
1512
- <label
1513
- for="user-lang-pref"
1514
- id="user-lang-pref-label"
1515
- >
1516
- write_and_speak.iWantToTalkToIn
1517
- </label>
1518
- <select
1519
- aria-labelledby="user-lang-pref-label"
1520
- class="memori-select--button"
1521
- id="user-lang-pref"
1522
- >
1523
- <optgroup
1524
- label="popularLanguages"
1525
- >
1526
- <option
1527
- aria-label="English"
1528
- value="EN"
1529
- >
1530
- English
1531
- </option>
1532
- <option
1533
- aria-label="Italiano"
1534
- value="IT"
1535
- >
1536
- Italiano
1537
- </option>
1538
- </optgroup>
1539
- <optgroup
1540
- label="allLanguages"
1541
- >
1542
- <option
1543
- aria-label="العربية"
1544
- value="AR"
1545
- >
1546
- العربية
1547
- </option>
1548
- <option
1549
- aria-label="български"
1550
- value="BG"
1551
- >
1552
- български
1553
- </option>
1554
- <option
1555
- aria-label="Čeština / český jazyk"
1556
- value="CS"
1557
- >
1558
- Čeština / český jazyk
1559
- </option>
1560
- <option
1561
- aria-label="Dansk"
1562
- value="DA"
1563
- >
1564
- Dansk
1565
- </option>
1566
- <option
1567
- aria-label="Deutsch"
1568
- value="DE"
1569
- >
1570
- Deutsch
1571
- </option>
1572
- <option
1573
- aria-label="Ελληνικά"
1574
- value="EL"
1575
- >
1576
- Ελληνικά
1577
- </option>
1578
- <option
1579
- aria-label="Español"
1580
- value="ES"
1581
- >
1582
- Español
1583
- </option>
1584
- <option
1585
- aria-label="Eesti keel"
1586
- value="ET"
1587
- >
1588
- Eesti keel
1589
- </option>
1590
- <option
1591
- aria-label="Suomi"
1592
- value="FI"
1593
- >
1594
- Suomi
1595
- </option>
1596
- <option
1597
- aria-label="Français"
1598
- value="FR"
1599
- >
1600
- Français
1601
- </option>
1602
- <option
1603
- aria-label="Hrvatski"
1604
- value="HR"
1605
- >
1606
- Hrvatski
1607
- </option>
1608
- <option
1609
- aria-label="Magyar"
1610
- value="HU"
1611
- >
1612
- Magyar
1613
- </option>
1614
- <option
1615
- aria-label="日本語"
1616
- value="JA"
1617
- >
1618
- 日本語
1619
- </option>
1620
- <option
1621
- aria-label="Lietuvių kalba"
1622
- value="LT"
1623
- >
1624
- Lietuvių kalba
1625
- </option>
1626
- <option
1627
- aria-label="Latvian"
1628
- value="LV"
1629
- >
1630
- Latvian
1631
- </option>
1632
- <option
1633
- aria-label="Nederlands"
1634
- value="NL"
1635
- >
1636
- Nederlands
1637
- </option>
1638
- <option
1639
- aria-label="Polski"
1640
- value="PL"
1641
- >
1642
- Polski
1643
- </option>
1644
- <option
1645
- aria-label="Português"
1646
- value="PT"
1647
- >
1648
- Português
1649
- </option>
1650
- <option
1651
- aria-label="Română"
1652
- value="RO"
1653
- >
1654
- Română
1655
- </option>
1656
- <option
1657
- aria-label="Русский"
1658
- value="RU"
1659
- >
1660
- Русский
1661
- </option>
1662
- <option
1663
- aria-label="Slovenčina"
1664
- value="SK"
1665
- >
1666
- Slovenčina
1667
- </option>
1668
- <option
1669
- aria-label="Slovenščina"
1670
- value="SL"
1671
- >
1672
- Slovenščina
1673
- </option>
1674
- <option
1675
- aria-label="Svenska"
1676
- value="SV"
1677
- >
1678
- Svenska
1679
- </option>
1680
- <option
1681
- aria-label="Українська"
1682
- value="UK"
1683
- >
1684
- Українська
1685
- </option>
1686
- <option
1687
- aria-label="中文"
1688
- value="ZH"
1689
- >
1690
- 中文
1691
- </option>
1692
- </optgroup>
1693
- </select>
1694
- </div>
1695
- <div
1696
- class="memori--start-privacy-explanation-container"
1697
- >
1698
- <p
1699
- class="memori--start-privacy-explanation"
1700
- >
1701
- write_and_speak.pagePrivacyExplanation
1702
- </p>
1703
- <div
1704
- class="memori-tooltip memori-tooltip--align-topLeft"
1705
- >
1706
- <div
1707
- class="memori-tooltip--trigger"
1708
- >
1709
- <svg
1710
- aria-hidden="true"
1711
- class="memori--start-privacy-explanation-icon"
1712
- fill="none"
1713
- focusable="false"
1714
- role="img"
1715
- stroke="currentColor"
1716
- stroke-linecap="round"
1717
- stroke-linejoin="round"
1718
- stroke-width="1.5"
1719
- viewBox="0 0 24 24"
1720
- xmlns="http://www.w3.org/2000/svg"
1721
- >
1722
- <circle
1723
- cx="12"
1724
- cy="12"
1725
- r="10"
1726
- />
1727
- <path
1728
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
1729
- />
1730
- <path
1731
- d="M12 17L12.01 17"
1732
- />
1733
- </svg>
1734
- </div>
1735
- </div>
1736
- </div>
1737
- <button
1738
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
1739
- >
1740
- write_and_speak.tryMeButton
1741
- </button>
1742
- <div
1743
- class="memori--completion-provider-status--loading"
1744
- >
1745
- <div
1746
- class="memori-spin memori-spin--spinning"
1747
- >
1748
- <div
1749
- class="memori-spin--spinner"
1750
- >
1751
- <svg
1752
- aria-hidden="true"
1753
- class="memori-loading-icon"
1754
- focusable="false"
1755
- role="img"
1756
- viewBox="0 0 1024 1024"
1757
- xmlns="http://www.w3.org/2000/svg"
1758
- >
1759
- <path
1760
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
1761
- />
1762
- </svg>
1763
- </div>
1764
- </div>
1765
- </div>
1766
- <p
1767
- class="memori--start-description"
1768
- >
1769
- write_and_speak.pageTryMeExplanation
1770
- </p>
1771
- </div>
1772
- </div>
1773
- </div>
1774
- `;
1775
-
1776
- exports[`renders StartPanel with not enough credits unchanged 1`] = `
1777
- <div>
1778
- <div
1779
- class="memori--start-panel"
1780
- >
1781
- <div
1782
- class="memori--cover"
1783
- />
1784
- <picture
1785
- class="memori--avatar"
1786
- >
1787
- <source
1788
- src="https://aisuru.com/images/aisuru/square_logo.png"
1789
- />
1790
- <img
1791
- alt="Memori"
1792
- src="https://aisuru.com/images/aisuru/square_logo.png"
1793
- />
1794
- </picture>
1795
- <h2
1796
- class="memori--title"
1797
- >
1798
- Memori
1799
- </h2>
1800
- <div
1801
- class="memori--description"
1802
- >
1803
- <p>
1804
- <div
1805
- class="memori-expandable memori--description-text"
1806
- >
1807
- <div
1808
- class="memori-expandable--inner"
1809
- style="max-height: 9999px;"
1810
- >
1811
- Lorem ipsum.
1812
- </div>
1813
- </div>
1814
- </p>
1815
- <div
1816
- class="memori--start-privacy-explanation-container"
1817
- >
1818
- <p
1819
- class="memori--start-privacy-explanation"
1820
- >
1821
- write_and_speak.pagePrivacyExplanation
1822
- </p>
1823
- <div
1824
- class="memori-tooltip memori-tooltip--align-topLeft"
1825
- >
1826
- <div
1827
- class="memori-tooltip--trigger"
1828
- >
1829
- <svg
1830
- aria-hidden="true"
1831
- class="memori--start-privacy-explanation-icon"
1832
- fill="none"
1833
- focusable="false"
1834
- role="img"
1835
- stroke="currentColor"
1836
- stroke-linecap="round"
1837
- stroke-linejoin="round"
1838
- stroke-width="1.5"
1839
- viewBox="0 0 24 24"
1840
- xmlns="http://www.w3.org/2000/svg"
1841
- >
1842
- <circle
1843
- cx="12"
1844
- cy="12"
1845
- r="10"
1846
- />
1847
- <path
1848
- d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3"
1849
- />
1850
- <path
1851
- d="M12 17L12.01 17"
1852
- />
1853
- </svg>
1854
- </div>
1855
- </div>
1856
- </div>
1857
- <button
1858
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
1859
- disabled=""
1860
- >
1861
- write_and_speak.tryMeButton
1862
- </button>
1863
- <div
1864
- class="memori--completion-provider-status--loading"
1865
- >
1866
- <div
1867
- class="memori-spin memori-spin--spinning"
1868
- >
1869
- <div
1870
- class="memori-spin--spinner"
1871
- >
1872
- <svg
1873
- aria-hidden="true"
1874
- class="memori-loading-icon"
1875
- focusable="false"
1876
- role="img"
1877
- viewBox="0 0 1024 1024"
1878
- xmlns="http://www.w3.org/2000/svg"
1879
- >
1880
- <path
1881
- d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
1882
- />
1883
- </svg>
1884
- </div>
1885
- </div>
1886
- </div>
1887
- <p
1888
- class="memori--start-description"
1889
- >
1890
- write_and_speak.pageTryMeExplanation
1891
- </p>
1892
- <div
1893
- class="memori-tooltip memori-tooltip--align-right blocked-memori-badge--tooltip"
1894
- >
1895
- <div
1896
- class="memori-tooltip--trigger"
1897
- >
1898
- <div
1899
- class="blocked-memori-badge--wrapper"
1900
- >
1901
- <div
1902
- class="blocked-memori-badge margin-left"
1903
- >
1904
- <svg
1905
- aria-hidden="true"
1906
- class="blocked-memori-badge--icon"
1907
- color="currentColor"
1908
- focusable="false"
1909
- role="img"
1910
- viewBox="0 0 1024 1024"
1911
- xmlns="http://www.w3.org/2000/svg"
1912
- >
1913
- <path
1914
- d="M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"
1915
- fill="currentColor"
1916
- />
1917
- </svg>
1918
- </div>
1919
- <span
1920
- class="blocked-memori-badge--title"
1921
- >
1922
- memoriBlockedTitle
1923
- </span>
1924
- </div>
1925
- </div>
1926
- </div>
1927
- </div>
1928
- </div>
1929
- </div>
1930
- `;
1931
-
1932
- exports[`renders StartPanel with position required unchanged 1`] = `
1933
- <div>
1934
- <div
1935
- class="memori--start-panel"
1936
- >
1937
- <div
1938
- class="memori--cover"
1939
- />
1940
- <picture
1941
- class="memori--avatar"
1942
- >
1943
- <source
1944
- src="https://aisuru.com/images/aisuru/square_logo.png"
1945
- />
1946
- <img
1947
- alt="Memori"
1948
- src="https://aisuru.com/images/aisuru/square_logo.png"
1949
- />
1950
- </picture>
1951
- <h2
1952
- class="memori--title"
1953
- >
1954
- Memori
1955
- </h2>
1956
- <div
1957
- class="memori--needsPosition"
1958
- >
1959
- <p>
1960
- write_and_speak.requirePositionHelp
1961
- </p>
1962
- <button
1963
- class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori-button--with-icon memori--start-button"
1964
- >
1965
- <span
1966
- class="memori-button--icon"
1967
- >
1968
- <svg
1969
- aria-hidden="true"
1970
- focusable="false"
1971
- role="img"
1972
- viewBox="0 0 384 512"
1973
- xmlns="http://www.w3.org/2000/svg"
1974
- >
1975
- <path
1976
- d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"
1977
- fill="currentColor"
1978
- />
1979
- </svg>
1980
- </span>
1981
- widget.position
1982
- </button>
1983
- </div>
1984
- </div>
1985
- </div>
1986
- `;