@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +16 -16
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x9ffb7a,_0x1e4be9){const _0x218105=_0x429e,_0x16cba0=_0x9ffb7a();while(!![]){try{const _0x1748b4=parseInt(_0x218105(0x158))/0x1*(-parseInt(_0x218105(0x14c))/0x2)+-parseInt(_0x218105(0x156))/0x3*(-parseInt(_0x218105(0x150))/0x4)+-parseInt(_0x218105(0x157))/0x5+-parseInt(_0x218105(0x154))/0x6+parseInt(_0x218105(0x155))/0x7+-parseInt(_0x218105(0x14d))/0x8*(-parseInt(_0x218105(0x14b))/0x9)+-parseInt(_0x218105(0x152))/0xa;if(_0x1748b4===_0x1e4be9)break;else _0x16cba0['push'](_0x16cba0['shift']());}catch(_0x46a96d){_0x16cba0['push'](_0x16cba0['shift']());}}}(_0x2a01,0xca1a6));import{SpinnerView as _0xf373eb}from'ckeditor5/src/ui.js';function _0x429e(_0x4f20ff,_0x13ed93){const _0x2a0184=_0x2a01();return _0x429e=function(_0x429eb7,_0xd8a348){_0x429eb7=_0x429eb7-0x14b;let _0x94821b=_0x2a0184[_0x429eb7];return _0x94821b;},_0x429e(_0x4f20ff,_0x13ed93);}import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0xf373eb{constructor(_0x23c025=void 0x0){const _0x13881d=_0x429e;super();const _0x1689bb=_0x23c025?_0x13881d(0x14f)+_0x23c025:'';this[_0x13881d(0x153)]({'tag':_0x13881d(0x151),'attributes':{'class':[_0x13881d(0x14e),_0x1689bb]}});}}function _0x2a01(){const _0x587123=['ck-ai-spinner_','72aEiiTC','span','11654390HMeZXK','extendTemplate','1022016aylxPL','8267938PagHoY','275289dawwNX','5873520eoWnts','21676Kkjbmh','2860605awBacy','100pIPucg','40afGipZ','ck-ai-spinner'];_0x2a01=function(){return _0x587123;};return _0x2a01();}
23
+ (function(_0x395340,_0x44762e){const _0x1760cd=_0x3421,_0x19088c=_0x395340();while(!![]){try{const _0x1f636f=parseInt(_0x1760cd(0xd5))/0x1+-parseInt(_0x1760cd(0xcf))/0x2*(parseInt(_0x1760cd(0xd0))/0x3)+-parseInt(_0x1760cd(0xd1))/0x4+parseInt(_0x1760cd(0xd3))/0x5+-parseInt(_0x1760cd(0xd4))/0x6*(-parseInt(_0x1760cd(0xd2))/0x7)+-parseInt(_0x1760cd(0xd6))/0x8+-parseInt(_0x1760cd(0xd7))/0x9*(-parseInt(_0x1760cd(0xcd))/0xa);if(_0x1f636f===_0x44762e)break;else _0x19088c['push'](_0x19088c['shift']());}catch(_0x54e9b2){_0x19088c['push'](_0x19088c['shift']());}}}(_0x5872,0xf1372));function _0x3421(_0x2de956,_0x23bafe){const _0x58728b=_0x5872();return _0x3421=function(_0x3421ee,_0x24a2fc){_0x3421ee=_0x3421ee-0xcb;let _0x340835=_0x58728b[_0x3421ee];return _0x340835;},_0x3421(_0x2de956,_0x23bafe);}import{SpinnerView as _0x4dfdee}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';function _0x5872(){const _0x19dc41=['ck-ai-spinner_','ck-ai-spinner','extendTemplate','10nhboye','span','3398998ciSQHD','3gFHRrp','2523192XcDofM','536669GZyDjE','5514070IIxDZi','120LvUMtw','939346OuriqN','5247424ZwWxIR','3588687zHWoMH'];_0x5872=function(){return _0x19dc41;};return _0x5872();}export class AISpinnerView extends _0x4dfdee{constructor(_0x2fec93=void 0x0){const _0x16457f=_0x3421;super();const _0x3a3f9f=_0x2fec93?_0x16457f(0xd8)+_0x2fec93:'';this[_0x16457f(0xcc)]({'tag':_0x16457f(0xce),'attributes':{'class':[_0x16457f(0xcb),_0x3a3f9f]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ee09a=_0x3a02;function _0x5d7a(){const _0x1ccf24=['showChangesButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislikeButton','AI_MINI_TOOLBAR_COPY','showCopy','804870BYqWIK','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-button-tertiary','bind','class','isShowChangesOn','addMany','32MzPYeH','showChanges','isOn','664623ASlgIS','length','720097ZwWwIX','extendTemplate','41570esRygj','showLike','679947eeFMlJ','locale','showDislike','customView','copyButton','items','_setupShowChangesButton','full','_config','fire','_setupRatingButtons','icon','add','like','ck-ai-mini-toolbar','557768nxlhSZ','toggleShowChanges','set','AI_MINI_TOOLBAR_DISLIKE','dislike','_setupCopyButton','toggleShowChangesEnabled','ck-ai-mini-toolbar-copy-button','isEnabled','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','7702uOxAwv','execute','likeButton','children','AI_MINI_TOOLBAR_LIKE','10ObMJsU','24iRhvsJ','60QsXIFj'];_0x5d7a=function(){return _0x1ccf24;};return _0x5d7a();}(function(_0x4f880c,_0x2e960a){const _0x110b82=_0x3a02,_0x3815b7=_0x4f880c();while(!![]){try{const _0x72dfaf=parseInt(_0x110b82(0xe9))/0x1*(-parseInt(_0x110b82(0xc6))/0x2)+parseInt(_0x110b82(0xcf))/0x3+parseInt(_0x110b82(0xde))/0x4+parseInt(_0x110b82(0xcd))/0x5*(parseInt(_0x110b82(0xf0))/0x6)+parseInt(_0x110b82(0xcb))/0x7*(-parseInt(_0x110b82(0xef))/0x8)+parseInt(_0x110b82(0xc9))/0x9+-parseInt(_0x110b82(0xee))/0xa*(-parseInt(_0x110b82(0xbf))/0xb);if(_0x72dfaf===_0x2e960a)break;else _0x3815b7['push'](_0x3815b7['shift']());}catch(_0x4c1435){_0x3815b7['push'](_0x3815b7['shift']());}}}(_0x5d7a,0x28233));import{ButtonView as _0x58a5dd,IconView as _0x1d352d,ToolbarView as _0x49c58c}from'ckeditor5/src/ui.js';function _0x3a02(_0x5b200e,_0x2d5ba4){const _0x5d7a10=_0x5d7a();return _0x3a02=function(_0x3a0221,_0x22bfc7){_0x3a0221=_0x3a0221-0xbc;let _0x347638=_0x5d7a10[_0x3a0221];return _0x347638;},_0x3a02(_0x5b200e,_0x2d5ba4);}import{IconCheck as _0x189f54,IconCopy as _0xc1c4a3,IconShowChangesOff as _0x18a7d4,IconShowChangesOn as _0x582ef7,IconThumbDown as _0x576626,IconThumbUp as _0x52c502}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2b6464}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x49c58c{[_0x2ee09a(0xd3)];[_0x2ee09a(0xeb)];[_0x2ee09a(0xbc)];[_0x2ee09a(0xf1)];[_0x2ee09a(0xd7)];constructor(_0x32f1af,_0x4f3b10={}){const _0x59c97=_0x2ee09a;super(_0x32f1af),this[_0x59c97(0xe0)](_0x59c97(0xe6),!0x0),this[_0x59c97(0xe0)](_0x59c97(0xc4),!0x1),this[_0x59c97(0xd7)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4f3b10};const _0xa901b1=!(this[_0x59c97(0xd7)][_0x59c97(0xbe)]||this[_0x59c97(0xd7)][_0x59c97(0xc7)]||this[_0x59c97(0xd7)][_0x59c97(0xce)]||this[_0x59c97(0xd7)][_0x59c97(0xd1)]||this[_0x59c97(0xd7)][_0x59c97(0xd2)]?.[_0x59c97(0xca)]);this[_0x59c97(0xc3)]=_0xa901b1?_0x59c97(0xc0):_0x59c97(0xdd),this[_0x59c97(0xd7)][_0x59c97(0xbe)]&&(this[_0x59c97(0xe3)](),this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xd3)])),this[_0x59c97(0xd7)][_0x59c97(0xc7)]&&(this[_0x59c97(0xd5)](),this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xf1)])),this[_0x59c97(0xd9)](),this[_0x59c97(0xd7)][_0x59c97(0xce)]&&this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xeb)]),this[_0x59c97(0xd7)][_0x59c97(0xd1)]&&this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xbc)]),this[_0x59c97(0xd7)][_0x59c97(0xd2)]&&this[_0x59c97(0xd4)][_0x59c97(0xc5)](this[_0x59c97(0xd7)][_0x59c97(0xd2)]);}[_0x2ee09a(0xe4)](_0x2d09dd){const _0x1db858=_0x2ee09a;this[_0x1db858(0xf1)][_0x1db858(0xe6)]=_0x2d09dd;}[_0x2ee09a(0xd9)](){const _0x45b620=_0x2ee09a;this[_0x45b620(0xeb)]=new _0x58a5dd(this[_0x45b620(0xd0)]),this[_0x45b620(0xeb)][_0x45b620(0xe0)]({'icon':_0x52c502,'label':_0x2b6464(this[_0x45b620(0xd0)],_0x45b620(0xed)),'tooltip':!0x0}),this[_0x45b620(0xeb)][_0x45b620(0xc2)](_0x45b620(0xe6))['to'](this),this[_0x45b620(0xeb)]['on'](_0x45b620(0xea),()=>{const _0x30cd5f=_0x45b620;this[_0x30cd5f(0xd8)](_0x30cd5f(0xdc));}),this[_0x45b620(0xbc)]=new _0x58a5dd(this[_0x45b620(0xd0)]),this[_0x45b620(0xbc)][_0x45b620(0xe0)]({'icon':_0x576626,'label':_0x2b6464(this[_0x45b620(0xd0)],_0x45b620(0xe1)),'tooltip':!0x0}),this[_0x45b620(0xbc)][_0x45b620(0xc2)](_0x45b620(0xe6))['to'](this),this[_0x45b620(0xbc)]['on'](_0x45b620(0xea),()=>{const _0x2e4543=_0x45b620;this[_0x2e4543(0xd8)](_0x2e4543(0xe2));});}[_0x2ee09a(0xe3)](){const _0x70125a=_0x2ee09a;this[_0x70125a(0xd3)]=new _0x58a5dd(this[_0x70125a(0xd0)]),this[_0x70125a(0xd3)][_0x70125a(0xe0)]({'icon':_0xc1c4a3,'label':_0x2b6464(this[_0x70125a(0xd0)],_0x70125a(0xbd)),'class':_0x70125a(0xe5),'tooltip':!0x0}),this[_0x70125a(0xd3)][_0x70125a(0xc2)](_0x70125a(0xe6))['to'](this);const _0x45a1db=new _0x1d352d();_0x45a1db[_0x70125a(0xe0)]({'content':_0x189f54}),_0x45a1db[_0x70125a(0xcc)]({'attributes':{'class':[_0x70125a(0xe7)]}}),this[_0x70125a(0xd3)]['on'](_0x70125a(0xea),()=>{const _0x2cd6c3=_0x70125a;this[_0x2cd6c3(0xd3)][_0x2cd6c3(0xc3)]=_0x2cd6c3(0xe8),setTimeout(()=>{const _0x334d75=_0x2cd6c3;this[_0x334d75(0xd3)][_0x334d75(0xc3)]=_0x334d75(0xe5);},0x7d0);}),this[_0x70125a(0xd3)][_0x70125a(0xec)][_0x70125a(0xdb)](_0x45a1db);}[_0x2ee09a(0xd5)](){const _0x4c66e7=_0x2ee09a;this[_0x4c66e7(0xf1)]=new _0x58a5dd(this[_0x4c66e7(0xd0)]),this[_0x4c66e7(0xf1)][_0x4c66e7(0xe0)]({'icon':_0x18a7d4,'label':_0x2b6464(this[_0x4c66e7(0xd0)],_0x4c66e7(0xf2)),'withText':_0x4c66e7(0xd6)==this[_0x4c66e7(0xd7)][_0x4c66e7(0xc7)],'tooltip':_0x4c66e7(0xd6)!=this[_0x4c66e7(0xd7)][_0x4c66e7(0xc7)],'class':_0x4c66e7(0xc1)}),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xc8))['to'](this,_0x4c66e7(0xc4)),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xe6))['to'](this),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xda))['to'](this,_0x4c66e7(0xc4),_0x34ee90=>_0x34ee90?_0x582ef7:_0x18a7d4),this[_0x4c66e7(0xf1)]['on'](_0x4c66e7(0xea),()=>{const _0x28364f=_0x4c66e7;this[_0x28364f(0xd8)](_0x28364f(0xdf));});}}
23
+ const _0x106958=_0x1377;(function(_0x197cfd,_0xbaeeb){const _0x467aad=_0x1377,_0x3afbdb=_0x197cfd();while(!![]){try{const _0x39fb7c=parseInt(_0x467aad(0xc1))/0x1*(-parseInt(_0x467aad(0xdb))/0x2)+-parseInt(_0x467aad(0xcb))/0x3*(-parseInt(_0x467aad(0xab))/0x4)+-parseInt(_0x467aad(0xd3))/0x5*(parseInt(_0x467aad(0xcd))/0x6)+parseInt(_0x467aad(0xaf))/0x7*(parseInt(_0x467aad(0xda))/0x8)+parseInt(_0x467aad(0xb5))/0x9+parseInt(_0x467aad(0xb0))/0xa+-parseInt(_0x467aad(0xd7))/0xb;if(_0x39fb7c===_0xbaeeb)break;else _0x3afbdb['push'](_0x3afbdb['shift']());}catch(_0x2e9fee){_0x3afbdb['push'](_0x3afbdb['shift']());}}}(_0x4780,0xe2298));import{ButtonView as _0xca3628,IconView as _0x42c9d7,ToolbarView as _0x346ee7}from'ckeditor5/src/ui.js';function _0x4780(){const _0x5f5707=['isEnabled','AI_MINI_TOOLBAR_COPY','class','addMany','8141535EcSHqM','showChanges','length','extendTemplate','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showDislike','dislikeButton','isShowChangesOn','customView','full','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','add','1djFKLm','AI_MINI_TOOLBAR_DISLIKE','toggleShowChangesEnabled','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar','ck-ai-button-tertiary','items','children','isOn','12fqxzUU','set','603042BckvDp','likeButton','_setupRatingButtons','showLike','showChangesButton','_config','55DZJizg','execute','toggleShowChanges','ck-ai-mini-toolbar-copy-button','4365768Rhfamt','bind','_setupCopyButton','41656lQNguZ','1890582khlNva','fire','copyButton','icon','_setupShowChangesButton','dislike','showCopy','292216jeSbns','locale','like','AI_MINI_TOOLBAR_LIKE','1687EfjGPR','9223980GnDDTA'];_0x4780=function(){return _0x5f5707;};return _0x4780();}import{IconCheck as _0x546f28,IconCopy as _0x588c9e,IconShowChangesOff as _0xffa59e,IconShowChangesOn as _0x19caec,IconThumbDown as _0x5efb6a,IconThumbUp as _0x5a865d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x57855c}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';function _0x1377(_0x1f4fcd,_0x31281d){const _0x478010=_0x4780();return _0x1377=function(_0x13773c,_0x1554d9){_0x13773c=_0x13773c-0xab;let _0x4ef859=_0x478010[_0x13773c];return _0x4ef859;},_0x1377(_0x1f4fcd,_0x31281d);}export class AIMiniToolbarView extends _0x346ee7{[_0x106958(0xdd)];[_0x106958(0xce)];[_0x106958(0xbb)];[_0x106958(0xd1)];[_0x106958(0xd2)];constructor(_0x2c7984,_0x5a427b={}){const _0x3e2a81=_0x106958;super(_0x2c7984),this[_0x3e2a81(0xcc)](_0x3e2a81(0xb1),!0x0),this[_0x3e2a81(0xcc)](_0x3e2a81(0xbc),!0x1),this[_0x3e2a81(0xd2)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x5a427b};const _0x27bfbe=!(this[_0x3e2a81(0xd2)][_0x3e2a81(0xe1)]||this[_0x3e2a81(0xd2)][_0x3e2a81(0xb6)]||this[_0x3e2a81(0xd2)][_0x3e2a81(0xd0)]||this[_0x3e2a81(0xd2)][_0x3e2a81(0xba)]||this[_0x3e2a81(0xd2)][_0x3e2a81(0xbd)]?.[_0x3e2a81(0xb7)]);this[_0x3e2a81(0xb3)]=_0x27bfbe?_0x3e2a81(0xc4):_0x3e2a81(0xc6),this[_0x3e2a81(0xd2)][_0x3e2a81(0xe1)]&&(this[_0x3e2a81(0xd9)](),this[_0x3e2a81(0xc8)][_0x3e2a81(0xc0)](this[_0x3e2a81(0xdd)])),this[_0x3e2a81(0xd2)][_0x3e2a81(0xb6)]&&(this[_0x3e2a81(0xdf)](),this[_0x3e2a81(0xc8)][_0x3e2a81(0xc0)](this[_0x3e2a81(0xd1)])),this[_0x3e2a81(0xcf)](),this[_0x3e2a81(0xd2)][_0x3e2a81(0xd0)]&&this[_0x3e2a81(0xc8)][_0x3e2a81(0xc0)](this[_0x3e2a81(0xce)]),this[_0x3e2a81(0xd2)][_0x3e2a81(0xba)]&&this[_0x3e2a81(0xc8)][_0x3e2a81(0xc0)](this[_0x3e2a81(0xbb)]),this[_0x3e2a81(0xd2)][_0x3e2a81(0xbd)]&&this[_0x3e2a81(0xc8)][_0x3e2a81(0xb4)](this[_0x3e2a81(0xd2)][_0x3e2a81(0xbd)]);}[_0x106958(0xc3)](_0x493edb){const _0x42bffa=_0x106958;this[_0x42bffa(0xd1)][_0x42bffa(0xb1)]=_0x493edb;}[_0x106958(0xcf)](){const _0x1b73b8=_0x106958;this[_0x1b73b8(0xce)]=new _0xca3628(this[_0x1b73b8(0xac)]),this[_0x1b73b8(0xce)][_0x1b73b8(0xcc)]({'icon':_0x5a865d,'label':_0x57855c(this[_0x1b73b8(0xac)],_0x1b73b8(0xae)),'tooltip':!0x0}),this[_0x1b73b8(0xce)][_0x1b73b8(0xd8)](_0x1b73b8(0xb1))['to'](this),this[_0x1b73b8(0xce)]['on'](_0x1b73b8(0xd4),()=>{const _0x2c62d2=_0x1b73b8;this[_0x2c62d2(0xdc)](_0x2c62d2(0xad));}),this[_0x1b73b8(0xbb)]=new _0xca3628(this[_0x1b73b8(0xac)]),this[_0x1b73b8(0xbb)][_0x1b73b8(0xcc)]({'icon':_0x5efb6a,'label':_0x57855c(this[_0x1b73b8(0xac)],_0x1b73b8(0xc2)),'tooltip':!0x0}),this[_0x1b73b8(0xbb)][_0x1b73b8(0xd8)](_0x1b73b8(0xb1))['to'](this),this[_0x1b73b8(0xbb)]['on'](_0x1b73b8(0xd4),()=>{const _0x58244e=_0x1b73b8;this[_0x58244e(0xdc)](_0x58244e(0xe0));});}[_0x106958(0xd9)](){const _0x556ffd=_0x106958;this[_0x556ffd(0xdd)]=new _0xca3628(this[_0x556ffd(0xac)]),this[_0x556ffd(0xdd)][_0x556ffd(0xcc)]({'icon':_0x588c9e,'label':_0x57855c(this[_0x556ffd(0xac)],_0x556ffd(0xb2)),'class':_0x556ffd(0xd6),'tooltip':!0x0}),this[_0x556ffd(0xdd)][_0x556ffd(0xd8)](_0x556ffd(0xb1))['to'](this);const _0x4c67fa=new _0x42c9d7();_0x4c67fa[_0x556ffd(0xcc)]({'content':_0x546f28}),_0x4c67fa[_0x556ffd(0xb8)]({'attributes':{'class':[_0x556ffd(0xc5)]}}),this[_0x556ffd(0xdd)]['on'](_0x556ffd(0xd4),()=>{const _0x111ef5=_0x556ffd;this[_0x111ef5(0xdd)][_0x111ef5(0xb3)]=_0x111ef5(0xbf),setTimeout(()=>{const _0x88d8c6=_0x111ef5;this[_0x88d8c6(0xdd)][_0x88d8c6(0xb3)]=_0x88d8c6(0xd6);},0x7d0);}),this[_0x556ffd(0xdd)][_0x556ffd(0xc9)][_0x556ffd(0xc0)](_0x4c67fa);}[_0x106958(0xdf)](){const _0x2a2677=_0x106958;this[_0x2a2677(0xd1)]=new _0xca3628(this[_0x2a2677(0xac)]),this[_0x2a2677(0xd1)][_0x2a2677(0xcc)]({'icon':_0xffa59e,'label':_0x57855c(this[_0x2a2677(0xac)],_0x2a2677(0xb9)),'withText':_0x2a2677(0xbe)==this[_0x2a2677(0xd2)][_0x2a2677(0xb6)],'tooltip':_0x2a2677(0xbe)!=this[_0x2a2677(0xd2)][_0x2a2677(0xb6)],'class':_0x2a2677(0xc7)}),this[_0x2a2677(0xd1)][_0x2a2677(0xd8)](_0x2a2677(0xca))['to'](this,_0x2a2677(0xbc)),this[_0x2a2677(0xd1)][_0x2a2677(0xd8)](_0x2a2677(0xb1))['to'](this),this[_0x2a2677(0xd1)][_0x2a2677(0xd8)](_0x2a2677(0xde))['to'](this,_0x2a2677(0xbc),_0x1699bb=>_0x1699bb?_0x19caec:_0xffa59e),this[_0x2a2677(0xd1)]['on'](_0x2a2677(0xd4),()=>{const _0xcf2b41=_0x2a2677;this[_0xcf2b41(0xdc)](_0xcf2b41(0xd5));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c36(){const _0xc526e0=['80KOOtOn','updatePartState','partDefinition','_children','10FUQyrJ','ck-ai-suggestion__body__content-parts','_actionsView','createCollection','updateSources','_showUnchangedParts','_updateContentPartsPromiseQueue','81739bJdIqf','158101hChwCe','updateContent','empty-parts-warning','filter','setPartActive','from','forEach','isVisible','findIndex','availableActions','updateContentParts','hasPendingParts','_sourcesView','queueEmptyPromise','pending','partsCount','markAsDone','addEventListener','bind','delegate','push','AI_SUGGESTION_EMPTY_PART_WARNING','enqueue','531705cwQWcm','isActive','set','_areActionsDisabled','_availableActions','bodyCollection','setContent','hasChanges','index','_switchButtonLabelsPlurality','AI_SUGGESTION_NO_PARTS_WARNING','59338SzAFos','_emptyPartsWarningView','174975AapgDd','hasNonEmptyParts','some','824679oHXHPG','12DqpbWw','areActionsDisabled','87040EhzdAF','_cachedContentParts','setTemplate','warning','add','updateVisibility','abort','addSource','ck-ai-suggestion__body','length','isEnabled','state','locale','div','getPartView','find','isTrackChangesOn'];_0x4c36=function(){return _0xc526e0;};return _0x4c36();}function _0xcd2a(_0x7a865c,_0xc65508){const _0x4c36af=_0x4c36();return _0xcd2a=function(_0xcd2a43,_0x8724a9){_0xcd2a43=_0xcd2a43-0x1c0;let _0x432376=_0x4c36af[_0xcd2a43];return _0x432376;},_0xcd2a(_0x7a865c,_0xc65508);}const _0x10d172=_0xcd2a;(function(_0x2805e2,_0x45b4de){const _0x4e5e7b=_0xcd2a,_0x5e5ea1=_0x2805e2();while(!![]){try{const _0x39331e=-parseInt(_0x4e5e7b(0x1de))/0x1+-parseInt(_0x4e5e7b(0x200))/0x2+parseInt(_0x4e5e7b(0x1f5))/0x3+-parseInt(_0x4e5e7b(0x1c1))/0x4+parseInt(_0x4e5e7b(0x202))/0x5*(-parseInt(_0x4e5e7b(0x206))/0x6)+parseInt(_0x4e5e7b(0x1dd))/0x7*(parseInt(_0x4e5e7b(0x1d2))/0x8)+parseInt(_0x4e5e7b(0x205))/0x9*(parseInt(_0x4e5e7b(0x1d6))/0xa);if(_0x39331e===_0x45b4de)break;else _0x5e5ea1['push'](_0x5e5ea1['shift']());}catch(_0x595ef0){_0x5e5ea1['push'](_0x5e5ea1['shift']());}}}(_0x4c36,0x19e84));import{View as _0x48d1fb}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x65bcd4}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3b3881}from'../../utils/eventnames.js';import{PromiseQueue as _0x348ecf}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x5aab5d}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x4c2278}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x16400c}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x1aa12e}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x48d1fb{[_0x10d172(0x1d8)];[_0x10d172(0x1ea)];[_0x10d172(0x1d5)];[_0x10d172(0x1f8)];[_0x10d172(0x1db)];[_0x10d172(0x1dc)];[_0x10d172(0x201)];[_0x10d172(0x1f9)];[_0x10d172(0x1c2)]=[];constructor(_0x1f9c06,_0x28f767){const _0x1a2f10=_0x10d172;super(_0x1f9c06);const {areActionsDisabled:_0x351859,showUnchangedParts:_0x3f752f,availableActions:_0x14e83f}=_0x28f767;this[_0x1a2f10(0x1f8)]=_0x351859,this[_0x1a2f10(0x1db)]=_0x3f752f,this[_0x1a2f10(0x1f9)]=_0x14e83f,this[_0x1a2f10(0x1f7)](_0x1a2f10(0x1e9),!0x1),this[_0x1a2f10(0x1f7)](_0x1a2f10(0x1d1),!0x1),this[_0x1a2f10(0x1d5)]=this[_0x1a2f10(0x1d9)](),this[_0x1a2f10(0x1dc)]=new _0x348ecf(),this[_0x1a2f10(0x201)]=new _0x5aab5d({'id':_0x1a2f10(0x1e0),'initialContent':_0x4c2278(_0x1f9c06,_0x1a2f10(0x1f3)),'level':_0x1a2f10(0x1c4)}),this[_0x1a2f10(0x201)][_0x1a2f10(0x1e5)]=!0x1,this[_0x1a2f10(0x1d8)]=new _0x16400c(_0x1f9c06,_0x28f767[_0x1a2f10(0x1e7)],this[_0x1a2f10(0x1f8)]),this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f0)](_0x1a2f10(0x1d1))['to'](this),this[_0x1a2f10(0x1ea)]=new _0x1aa12e(this[_0x1a2f10(0x1cd)],_0x28f767[_0x1a2f10(0x1fa)]),_0x28f767[_0x1a2f10(0x1c0)]?this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1cb)]=!0x1:this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f0)](_0x1a2f10(0x1cb))['to'](this,_0x1a2f10(0x1e9)),this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f1)](..._0x3b3881)['to'](this),this[_0x1a2f10(0x1c3)]({'tag':_0x1a2f10(0x1ce),'attributes':{'class':['ck',_0x1a2f10(0x1c9)]},'children':[{'tag':_0x1a2f10(0x1ce),'attributes':{'class':['ck',_0x1a2f10(0x1d7)]},'children':this[_0x1a2f10(0x1d5)]},this[_0x1a2f10(0x201)],this[_0x1a2f10(0x1d8)],this[_0x1a2f10(0x1ea)]]});}get[_0x10d172(0x1ed)](){const _0x582b60=_0x10d172;return this[_0x582b60(0x1d5)][_0x582b60(0x1ca)];}async[_0x10d172(0x1e8)]({parts:_0x3b7acd,renderingStrategy:_0x3a6ad9,abortSignal:_0x117688}){const _0x2a0410=_0x10d172;this[_0x2a0410(0x1d5)][_0x2a0410(0x1ca)]?_0x3b7acd[_0x2a0410(0x1e4)](_0x202259=>{const _0x4b1c27=_0x2a0410,_0x3a6e58=this[_0x4b1c27(0x1c2)][_0x4b1c27(0x1e6)](_0x462b77=>_0x462b77[_0x4b1c27(0x1fd)]==_0x202259[_0x4b1c27(0x1fd)]);-0x1===_0x3a6e58?this[_0x4b1c27(0x1c2)][_0x4b1c27(0x1f2)](_0x202259):this[_0x4b1c27(0x1c2)][_0x3a6e58]=_0x202259;}):this[_0x2a0410(0x1c2)]=_0x3b7acd;const _0x1c6a09=this[_0x2a0410(0x1db)]?_0x3b7acd:_0x3b7acd[_0x2a0410(0x1e1)](_0x5a4889=>_0x5a4889[_0x2a0410(0x1fc)]);this[_0x2a0410(0x1d8)][_0x2a0410(0x1fe)](_0x1c6a09[_0x2a0410(0x1ca)]>0x1);for(const _0x5601 of _0x1c6a09)this[_0x2a0410(0x1dc)][_0x2a0410(0x1f4)](async _0x55b080=>{const _0x27252f=_0x2a0410;let _0x290676=this[_0x27252f(0x1cf)](_0x5601[_0x27252f(0x1fd)]);_0x290676||(_0x290676=new _0x65bcd4(this[_0x27252f(0x1cd)],{'part':_0x5601,'uiIndex':this[_0x27252f(0x1d5)][_0x27252f(0x1ca)]+0x1,'areActionsDisabled':this[_0x27252f(0x1f8)],'availableActions':this[_0x27252f(0x1f9)]}),_0x290676[_0x27252f(0x1f1)](..._0x3b3881)['to'](this),this[_0x27252f(0x1d5)][_0x27252f(0x1c5)](_0x290676),this[_0x27252f(0x1e9)]=!0x0),await _0x290676[_0x27252f(0x1df)]({'part':_0x5601,'renderingStrategy':_0x3a6ad9,'showUnchangedParts':this[_0x27252f(0x1db)],'abortSignal':_0x55b080}),_0x290676[_0x27252f(0x1ee)]();});return _0x117688?.[_0x2a0410(0x1ef)](_0x2a0410(0x1c7),()=>{const _0x1a87f8=_0x2a0410;this[_0x1a87f8(0x1dc)][_0x1a87f8(0x1c7)]();}),this[_0x2a0410(0x1dc)][_0x2a0410(0x1eb)];}[_0x10d172(0x1d3)](_0x358bad,_0x432ce3){const _0x463b08=_0x10d172,_0x5031c2=this[_0x463b08(0x1cf)](_0x358bad);_0x5031c2&&(_0x5031c2[_0x463b08(0x1cc)]=_0x432ce3),this[_0x463b08(0x1e9)]=_0x463b08(0x1ec)==_0x432ce3||Array[_0x463b08(0x1e3)](this[_0x463b08(0x1d5)])[_0x463b08(0x204)](_0x2aa755=>_0x463b08(0x1ec)==_0x2aa755[_0x463b08(0x1cc)]);}[_0x10d172(0x1e2)](_0x1cfca4,_0x59f79b){const _0x4e2eb5=_0x10d172;if(!0x1===_0x1cfca4){for(const _0x1de707 of this[_0x4e2eb5(0x1d5)])_0x1de707[_0x4e2eb5(0x1f6)]=!0x1;}else{const _0x2bf4cf=this[_0x4e2eb5(0x1cf)](_0x1cfca4);_0x2bf4cf&&(_0x2bf4cf[_0x4e2eb5(0x1f6)]=_0x59f79b);}}[_0x10d172(0x1da)](_0x3ad3d){const _0x45e128=_0x10d172;_0x3ad3d[_0x45e128(0x1e4)](_0x5a7dcb=>this[_0x45e128(0x1ea)][_0x45e128(0x1c8)](_0x5a7dcb)),this[_0x45e128(0x1ea)][_0x45e128(0x1e5)]=!0x0;}[_0x10d172(0x1cf)](_0x183900){const _0x4afeac=_0x10d172;return this[_0x4afeac(0x1d5)][_0x4afeac(0x1d0)](_0x2115bb=>_0x2115bb[_0x4afeac(0x1d4)][_0x4afeac(0x1fd)]==_0x183900)??null;}[_0x10d172(0x1ee)](){const _0x4e6e06=_0x10d172;if(!this[_0x4e6e06(0x1db)]){const _0x90ed1b=!this[_0x4e6e06(0x1c2)][_0x4e6e06(0x1d0)](({hasChanges:_0x289f2d})=>_0x289f2d),_0x1c7632=!!this[_0x4e6e06(0x1c2)][_0x4e6e06(0x1d0)](({hasChanges:_0xd7a2d9})=>!_0xd7a2d9);this[_0x4e6e06(0x201)][_0x4e6e06(0x1e5)]=0x0==this[_0x4e6e06(0x1d5)][_0x4e6e06(0x1ca)]||_0x1c7632,_0x90ed1b?this[_0x4e6e06(0x201)][_0x4e6e06(0x1fb)](_0x4c2278(this[_0x4e6e06(0x1cd)],_0x4e6e06(0x1ff))):this[_0x4e6e06(0x201)][_0x4e6e06(0x1fb)](_0x4c2278(this[_0x4e6e06(0x1cd)],_0x4e6e06(0x1f3)));}this[_0x4e6e06(0x1d5)][_0x4e6e06(0x1e4)](_0x1e3c49=>_0x1e3c49[_0x4e6e06(0x1ee)]()),this[_0x4e6e06(0x1d8)][_0x4e6e06(0x1c6)](this[_0x4e6e06(0x203)]);}get[_0x10d172(0x203)](){const _0x639507=_0x10d172;return this[_0x639507(0x1d5)][_0x639507(0x1e1)](_0x179c60=>_0x179c60[_0x639507(0x1d4)][_0x639507(0x1fc)])[_0x639507(0x1ca)]>0x0;}}
23
+ function _0x4a59(){const _0x51822a=['hasChanges','markAsDone','length','_showUnchangedParts','_children','358799wzxHdH','forEach','updateVisibility','108645jvUaHw','13uFryiO','updatePartState','bind','enqueue','setTemplate','_areActionsDisabled','bodyCollection','index','locale','set','isEnabled','some','add','from','partsCount','empty-parts-warning','5090094eMkQKV','addSource','state','hasPendingParts','AI_SUGGESTION_EMPTY_PART_WARNING','_cachedContentParts','8tZdNxf','availableActions','_emptyPartsWarningView','push','partDefinition','updateContentParts','_actionsView','div','findIndex','1739757MthbCs','setContent','ck-ai-suggestion__body','_availableActions','AI_SUGGESTION_NO_PARTS_WARNING','206060ZUnafm','_sourcesView','297xRAhkv','hasNonEmptyParts','isVisible','abort','_updateContentPartsPromiseQueue','15EbRZui','isTrackChangesOn','createCollection','isActive','areActionsDisabled','23921640YnjuUk','delegate','filter','queueEmptyPromise','setPartActive','12CCELjd','find','6kVEQct','ck-ai-suggestion__body__content-parts','addEventListener','updateContent','_switchButtonLabelsPlurality','652152maxPlQ','getPartView','updateSources','warning','pending'];_0x4a59=function(){return _0x51822a;};return _0x4a59();}const _0x555322=_0x42dc;(function(_0x4b97a8,_0x4066ce){const _0x50733=_0x42dc,_0x496888=_0x4b97a8();while(!![]){try{const _0x2c6034=-parseInt(_0x50733(0x162))/0x1*(-parseInt(_0x50733(0x14e))/0x2)+-parseInt(_0x50733(0x138))/0x3+parseInt(_0x50733(0x155))/0x4*(-parseInt(_0x50733(0x144))/0x5)+-parseInt(_0x50733(0x150))/0x6*(-parseInt(_0x50733(0x15f))/0x7)+parseInt(_0x50733(0x12f))/0x8*(-parseInt(_0x50733(0x129))/0x9)+-parseInt(_0x50733(0x13d))/0xa*(parseInt(_0x50733(0x13f))/0xb)+-parseInt(_0x50733(0x149))/0xc*(-parseInt(_0x50733(0x163))/0xd);if(_0x2c6034===_0x4066ce)break;else _0x496888['push'](_0x496888['shift']());}catch(_0x4113e8){_0x496888['push'](_0x496888['shift']());}}}(_0x4a59,0x7b724));function _0x42dc(_0xf5445d,_0x56c5bf){const _0x4a594b=_0x4a59();return _0x42dc=function(_0x42dc80,_0x500d30){_0x42dc80=_0x42dc80-0x121;let _0x4a3041=_0x4a594b[_0x42dc80];return _0x4a3041;},_0x42dc(_0xf5445d,_0x56c5bf);}import{View as _0x1a6a47}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x383b32}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2ce3fa}from'../../utils/eventnames.js';import{PromiseQueue as _0x2d00f0}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x2d802b}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x295616}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x3bd03e}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x364673}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x1a6a47{[_0x555322(0x135)];[_0x555322(0x13e)];[_0x555322(0x15e)];[_0x555322(0x168)];[_0x555322(0x15d)];[_0x555322(0x143)];[_0x555322(0x131)];[_0x555322(0x13b)];[_0x555322(0x12e)]=[];constructor(_0x40cef9,_0x3dcbfa){const _0x4f7395=_0x555322;super(_0x40cef9);const {areActionsDisabled:_0x572cf7,showUnchangedParts:_0x3c03a9,availableActions:_0x50595f}=_0x3dcbfa;this[_0x4f7395(0x168)]=_0x572cf7,this[_0x4f7395(0x15d)]=_0x3c03a9,this[_0x4f7395(0x13b)]=_0x50595f,this[_0x4f7395(0x122)](_0x4f7395(0x12c),!0x1),this[_0x4f7395(0x122)](_0x4f7395(0x145),!0x1),this[_0x4f7395(0x15e)]=this[_0x4f7395(0x146)](),this[_0x4f7395(0x143)]=new _0x2d00f0(),this[_0x4f7395(0x131)]=new _0x2d802b({'id':_0x4f7395(0x128),'initialContent':_0x295616(_0x40cef9,_0x4f7395(0x12d)),'level':_0x4f7395(0x158)}),this[_0x4f7395(0x131)][_0x4f7395(0x141)]=!0x1,this[_0x4f7395(0x135)]=new _0x3bd03e(_0x40cef9,_0x3dcbfa[_0x4f7395(0x130)],this[_0x4f7395(0x168)]),this[_0x4f7395(0x135)][_0x4f7395(0x165)](_0x4f7395(0x145))['to'](this),this[_0x4f7395(0x13e)]=new _0x364673(this[_0x4f7395(0x121)],_0x3dcbfa[_0x4f7395(0x169)]),_0x3dcbfa[_0x4f7395(0x148)]?this[_0x4f7395(0x135)][_0x4f7395(0x123)]=!0x1:this[_0x4f7395(0x135)][_0x4f7395(0x165)](_0x4f7395(0x123))['to'](this,_0x4f7395(0x12c)),this[_0x4f7395(0x135)][_0x4f7395(0x14a)](..._0x2ce3fa)['to'](this),this[_0x4f7395(0x167)]({'tag':_0x4f7395(0x136),'attributes':{'class':['ck',_0x4f7395(0x13a)]},'children':[{'tag':_0x4f7395(0x136),'attributes':{'class':['ck',_0x4f7395(0x151)]},'children':this[_0x4f7395(0x15e)]},this[_0x4f7395(0x131)],this[_0x4f7395(0x135)],this[_0x4f7395(0x13e)]]});}get[_0x555322(0x127)](){const _0x2faa93=_0x555322;return this[_0x2faa93(0x15e)][_0x2faa93(0x15c)];}async[_0x555322(0x134)]({parts:_0xa22fa7,renderingStrategy:_0x1b837c,abortSignal:_0x49eca9}){const _0x3ae784=_0x555322;this[_0x3ae784(0x15e)][_0x3ae784(0x15c)]?_0xa22fa7[_0x3ae784(0x160)](_0x214226=>{const _0x45b9b7=_0x3ae784,_0x4f737b=this[_0x45b9b7(0x12e)][_0x45b9b7(0x137)](_0x12c837=>_0x12c837[_0x45b9b7(0x16a)]==_0x214226[_0x45b9b7(0x16a)]);-0x1===_0x4f737b?this[_0x45b9b7(0x12e)][_0x45b9b7(0x132)](_0x214226):this[_0x45b9b7(0x12e)][_0x4f737b]=_0x214226;}):this[_0x3ae784(0x12e)]=_0xa22fa7;const _0x44cd73=this[_0x3ae784(0x15d)]?_0xa22fa7:_0xa22fa7[_0x3ae784(0x14b)](_0x420f07=>_0x420f07[_0x3ae784(0x15a)]);this[_0x3ae784(0x135)][_0x3ae784(0x154)](_0x44cd73[_0x3ae784(0x15c)]>0x1);for(const _0x43d947 of _0x44cd73)this[_0x3ae784(0x143)][_0x3ae784(0x166)](async _0x4fb02a=>{const _0x1a7d8d=_0x3ae784;let _0x8bf85d=this[_0x1a7d8d(0x156)](_0x43d947[_0x1a7d8d(0x16a)]);_0x8bf85d||(_0x8bf85d=new _0x383b32(this[_0x1a7d8d(0x121)],{'part':_0x43d947,'uiIndex':this[_0x1a7d8d(0x15e)][_0x1a7d8d(0x15c)]+0x1,'areActionsDisabled':this[_0x1a7d8d(0x168)],'availableActions':this[_0x1a7d8d(0x13b)]}),_0x8bf85d[_0x1a7d8d(0x14a)](..._0x2ce3fa)['to'](this),this[_0x1a7d8d(0x15e)][_0x1a7d8d(0x125)](_0x8bf85d),this[_0x1a7d8d(0x12c)]=!0x0),await _0x8bf85d[_0x1a7d8d(0x153)]({'part':_0x43d947,'renderingStrategy':_0x1b837c,'showUnchangedParts':this[_0x1a7d8d(0x15d)],'abortSignal':_0x4fb02a}),_0x8bf85d[_0x1a7d8d(0x15b)]();});return _0x49eca9?.[_0x3ae784(0x152)](_0x3ae784(0x142),()=>{const _0x1f46d7=_0x3ae784;this[_0x1f46d7(0x143)][_0x1f46d7(0x142)]();}),this[_0x3ae784(0x143)][_0x3ae784(0x14c)];}[_0x555322(0x164)](_0x2a0e8b,_0x5029dc){const _0x1b6379=_0x555322,_0x3aeff7=this[_0x1b6379(0x156)](_0x2a0e8b);_0x3aeff7&&(_0x3aeff7[_0x1b6379(0x12b)]=_0x5029dc),this[_0x1b6379(0x12c)]=_0x1b6379(0x159)==_0x5029dc||Array[_0x1b6379(0x126)](this[_0x1b6379(0x15e)])[_0x1b6379(0x124)](_0x1ca820=>_0x1b6379(0x159)==_0x1ca820[_0x1b6379(0x12b)]);}[_0x555322(0x14d)](_0x19423e,_0x2975e7){const _0x574cdd=_0x555322;if(!0x1===_0x19423e){for(const _0x279eca of this[_0x574cdd(0x15e)])_0x279eca[_0x574cdd(0x147)]=!0x1;}else{const _0x271560=this[_0x574cdd(0x156)](_0x19423e);_0x271560&&(_0x271560[_0x574cdd(0x147)]=_0x2975e7);}}[_0x555322(0x157)](_0x3f7448){const _0x3563ea=_0x555322;_0x3f7448[_0x3563ea(0x160)](_0x33a68e=>this[_0x3563ea(0x13e)][_0x3563ea(0x12a)](_0x33a68e)),this[_0x3563ea(0x13e)][_0x3563ea(0x141)]=!0x0;}[_0x555322(0x156)](_0x26cba8){const _0x36f335=_0x555322;return this[_0x36f335(0x15e)][_0x36f335(0x14f)](_0x56b4c9=>_0x56b4c9[_0x36f335(0x133)][_0x36f335(0x16a)]==_0x26cba8)??null;}[_0x555322(0x15b)](){const _0x456867=_0x555322;if(!this[_0x456867(0x15d)]){const _0x2347aa=!this[_0x456867(0x12e)][_0x456867(0x14f)](({hasChanges:_0x307aa0})=>_0x307aa0),_0xc29e1a=!!this[_0x456867(0x12e)][_0x456867(0x14f)](({hasChanges:_0x255f72})=>!_0x255f72);this[_0x456867(0x131)][_0x456867(0x141)]=0x0==this[_0x456867(0x15e)][_0x456867(0x15c)]||_0xc29e1a,_0x2347aa?this[_0x456867(0x131)][_0x456867(0x139)](_0x295616(this[_0x456867(0x121)],_0x456867(0x13c))):this[_0x456867(0x131)][_0x456867(0x139)](_0x295616(this[_0x456867(0x121)],_0x456867(0x12d)));}this[_0x456867(0x15e)][_0x456867(0x160)](_0x2ae92d=>_0x2ae92d[_0x456867(0x15b)]()),this[_0x456867(0x135)][_0x456867(0x161)](this[_0x456867(0x140)]);}get[_0x555322(0x140)](){const _0x5050b1=_0x555322;return this[_0x5050b1(0x15e)][_0x5050b1(0x14b)](_0x8d337d=>_0x8d337d[_0x5050b1(0x133)][_0x5050b1(0x15a)])[_0x5050b1(0x15c)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43cf04=_0xdd00;(function(_0x30c689,_0x3a8d18){const _0x2e3125=_0xdd00,_0x59cebc=_0x30c689();while(!![]){try{const _0x21882c=parseInt(_0x2e3125(0x76))/0x1*(-parseInt(_0x2e3125(0x95))/0x2)+parseInt(_0x2e3125(0x7e))/0x3+parseInt(_0x2e3125(0x89))/0x4*(parseInt(_0x2e3125(0x85))/0x5)+-parseInt(_0x2e3125(0x90))/0x6*(-parseInt(_0x2e3125(0x7c))/0x7)+parseInt(_0x2e3125(0x86))/0x8*(-parseInt(_0x2e3125(0x87))/0x9)+parseInt(_0x2e3125(0x96))/0xa+parseInt(_0x2e3125(0x82))/0xb*(-parseInt(_0x2e3125(0x8b))/0xc);if(_0x21882c===_0x3a8d18)break;else _0x59cebc['push'](_0x59cebc['shift']());}catch(_0x4df21e){_0x59cebc['push'](_0x59cebc['shift']());}}}(_0x4107,0xd6cf5));import{View as _0xc2a70e}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x83565b}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4ad58b}from'./aisuggestionbodyview.js';function _0xdd00(_0x418636,_0x363f16){const _0x41073f=_0x4107();return _0xdd00=function(_0xdd007b,_0x55c3bf){_0xdd007b=_0xdd007b-0x75;let _0x62cf27=_0x41073f[_0xdd007b];return _0x62cf27;},_0xdd00(_0x418636,_0x363f16);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x19ba3f}from'../../utils/eventnames.js';function _0x4107(){const _0x213014=['978612fZhfAh','3369570epHCNe','toggleShowChanges','updateContent','children','1EAvmNl','setTemplate','hasNonEmptyParts','div','bodyView','headerView','39011gfTKXF','toggleSuggestionDisplayMode','5106396dSxswB','createCollection','add','updateContentParts','121NRWIDy','bind','fire','2805BOOdJG','9291832DodxEk','9tctAlE','markAsDone','4788mHjZAN','set','1333212TucKAN','areChangesVisible','ck-ai-suggestion__container','isOn','isShowChangesToggleVisible','1122ZZUBXj','ck-rounded-corners','delegate','updateSources','isTrackChangesOn'];_0x4107=function(){return _0x213014;};return _0x4107();}import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0xc2a70e{[_0x43cf04(0x7a)];[_0x43cf04(0x75)];[_0x43cf04(0x7b)];constructor(_0xef6adb,_0x157d1b,_0x2e4de3){const _0x5ead11=_0x43cf04;super(_0xef6adb);const {showDiff:_0x52fe8b,areActionsDisabled:_0x3a892d,showUnchangedParts:_0x43910b,availableActions:_0x49d221}=_0x157d1b;this[_0x5ead11(0x8a)](_0x5ead11(0x94),!0x1),this[_0x5ead11(0x8a)](_0x5ead11(0x8c),!0x1),this[_0x5ead11(0x75)]=this[_0x5ead11(0x7f)](),this[_0x5ead11(0x7b)]=new _0x83565b(_0xef6adb,{'showDiff':_0x52fe8b}),this[_0x5ead11(0x7b)]['on'](_0x5ead11(0x97),(_0x4388dd,_0x1ae556)=>{const _0x56630d=_0x5ead11;this[_0x56630d(0x8c)]=_0x1ae556[_0x56630d(0x8e)],this[_0x56630d(0x84)](_0x56630d(0x7d),{'showDiff':_0x1ae556[_0x56630d(0x8e)]});}),this[_0x5ead11(0x75)][_0x5ead11(0x80)](this[_0x5ead11(0x7b)]),this[_0x5ead11(0x7a)]=new _0x4ad58b(_0xef6adb,{'areActionsDisabled':_0x3a892d,'showUnchangedParts':!!_0x43910b,'availableActions':_0x49d221,'bodyCollection':_0x2e4de3}),this[_0x5ead11(0x7a)][_0x5ead11(0x92)](..._0x19ba3f)['to'](this),this[_0x5ead11(0x7a)][_0x5ead11(0x83)](_0x5ead11(0x94))['to'](this),this[_0x5ead11(0x75)][_0x5ead11(0x80)](this[_0x5ead11(0x7a)]),this[_0x5ead11(0x77)]({'tag':_0x5ead11(0x79),'attributes':{'class':['ck',_0x5ead11(0x8d),_0x5ead11(0x91)]},'children':this[_0x5ead11(0x75)]});}async[_0x43cf04(0x98)](_0x450dc7){const _0x2960ed=_0x43cf04;await this[_0x2960ed(0x7a)][_0x2960ed(0x81)](_0x450dc7);}[_0x43cf04(0x93)](_0x22265c){const _0x4facd6=_0x43cf04;this[_0x4facd6(0x7a)][_0x4facd6(0x93)](_0x22265c);}[_0x43cf04(0x88)](){const _0x2bdd86=_0x43cf04;this[_0x2bdd86(0x7a)][_0x2bdd86(0x88)](),this[_0x2bdd86(0x7b)]&&(this[_0x2bdd86(0x7b)][_0x2bdd86(0x8f)]=this[_0x2bdd86(0x7a)][_0x2bdd86(0x78)]);}}
23
+ function _0x1c87(){const _0x1bd473=['626502tAUQiz','updateContent','isOn','children','fire','isShowChangesToggleVisible','ck-rounded-corners','48962hkFENs','hasNonEmptyParts','add','createCollection','updateContentParts','5705126AExpOY','toggleSuggestionDisplayMode','2124890fjVjzf','updateSources','ck-ai-suggestion__container','div','delegate','3161370sHdcce','headerView','toggleShowChanges','markAsDone','bind','isTrackChangesOn','setTemplate','12603560MHBSbT','286796vRWmiH','5IwOgLF','areChangesVisible','bodyView','set'];_0x1c87=function(){return _0x1bd473;};return _0x1c87();}const _0x4faed7=_0x3cf8;(function(_0x15b8a5,_0x1cd4b7){const _0x4c7605=_0x3cf8,_0x6d3515=_0x15b8a5();while(!![]){try{const _0x5e0c3f=-parseInt(_0x4c7605(0x9c))/0x1+parseInt(_0x4c7605(0xa3))/0x2+-parseInt(_0x4c7605(0xa8))/0x3+-parseInt(_0x4c7605(0x90))/0x4+parseInt(_0x4c7605(0x91))/0x5*(-parseInt(_0x4c7605(0x95))/0x6)+-parseInt(_0x4c7605(0xa1))/0x7+parseInt(_0x4c7605(0x8f))/0x8;if(_0x5e0c3f===_0x1cd4b7)break;else _0x6d3515['push'](_0x6d3515['shift']());}catch(_0x308be3){_0x6d3515['push'](_0x6d3515['shift']());}}}(_0x1c87,0x84d04));import{View as _0x30abb2}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x111c42}from'./aisuggestionheaderview.js';function _0x3cf8(_0x5dec6c,_0x3feee7){const _0x1c87b8=_0x1c87();return _0x3cf8=function(_0x3cf8f9,_0x13718d){_0x3cf8f9=_0x3cf8f9-0x8e;let _0x7ced07=_0x1c87b8[_0x3cf8f9];return _0x7ced07;},_0x3cf8(_0x5dec6c,_0x3feee7);}import{AISuggestionBodyView as _0x20fa59}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2b5991}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x30abb2{[_0x4faed7(0x93)];[_0x4faed7(0x98)];[_0x4faed7(0xa9)];constructor(_0x206c6c,_0x3c2149,_0x4604e5){const _0x254c04=_0x4faed7;super(_0x206c6c);const {showDiff:_0x210878,areActionsDisabled:_0x4e597e,showUnchangedParts:_0x5af070,availableActions:_0x1d53f1}=_0x3c2149;this[_0x254c04(0x94)](_0x254c04(0xad),!0x1),this[_0x254c04(0x94)](_0x254c04(0x92),!0x1),this[_0x254c04(0x98)]=this[_0x254c04(0x9f)](),this[_0x254c04(0xa9)]=new _0x111c42(_0x206c6c,{'showDiff':_0x210878}),this[_0x254c04(0xa9)]['on'](_0x254c04(0xaa),(_0x213991,_0x5efd70)=>{const _0x516642=_0x254c04;this[_0x516642(0x92)]=_0x5efd70[_0x516642(0x97)],this[_0x516642(0x99)](_0x516642(0xa2),{'showDiff':_0x5efd70[_0x516642(0x97)]});}),this[_0x254c04(0x98)][_0x254c04(0x9e)](this[_0x254c04(0xa9)]),this[_0x254c04(0x93)]=new _0x20fa59(_0x206c6c,{'areActionsDisabled':_0x4e597e,'showUnchangedParts':!!_0x5af070,'availableActions':_0x1d53f1,'bodyCollection':_0x4604e5}),this[_0x254c04(0x93)][_0x254c04(0xa7)](..._0x2b5991)['to'](this),this[_0x254c04(0x93)][_0x254c04(0xac)](_0x254c04(0xad))['to'](this),this[_0x254c04(0x98)][_0x254c04(0x9e)](this[_0x254c04(0x93)]),this[_0x254c04(0x8e)]({'tag':_0x254c04(0xa6),'attributes':{'class':['ck',_0x254c04(0xa5),_0x254c04(0x9b)]},'children':this[_0x254c04(0x98)]});}async[_0x4faed7(0x96)](_0x42dad5){const _0x1239a8=_0x4faed7;await this[_0x1239a8(0x93)][_0x1239a8(0xa0)](_0x42dad5);}[_0x4faed7(0xa4)](_0xcd3e54){const _0x1e10ee=_0x4faed7;this[_0x1e10ee(0x93)][_0x1e10ee(0xa4)](_0xcd3e54);}[_0x4faed7(0xab)](){const _0x4b18a7=_0x4faed7;this[_0x4b18a7(0x93)][_0x4b18a7(0xab)](),this[_0x4b18a7(0xa9)]&&(this[_0x4b18a7(0xa9)][_0x4b18a7(0x9a)]=this[_0x4b18a7(0x93)][_0x4b18a7(0x9d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5277e0=_0x3a29;(function(_0x36fc44,_0x219506){var _0x395292=_0x3a29,_0x46de01=_0x36fc44();while(!![]){try{var _0x552740=-parseInt(_0x395292(0xac))/0x1+parseInt(_0x395292(0xb1))/0x2+-parseInt(_0x395292(0xb3))/0x3+-parseInt(_0x395292(0xbf))/0x4*(-parseInt(_0x395292(0xae))/0x5)+parseInt(_0x395292(0xba))/0x6*(-parseInt(_0x395292(0xb9))/0x7)+-parseInt(_0x395292(0xb5))/0x8+parseInt(_0x395292(0xa3))/0x9*(parseInt(_0x395292(0xbc))/0xa);if(_0x552740===_0x219506)break;else _0x46de01['push'](_0x46de01['shift']());}catch(_0x1b82ab){_0x46de01['push'](_0x46de01['shift']());}}}(_0x664b,0x81a46));import{View as _0x4b52ae}from'ckeditor5/src/ui.js';function _0x664b(){var _0x492d3c=['4065976gMlIrk','index','rejectSuggestion','pending','674807YdKdvy','36WIHkKy','ck-ai-suggestion__body__content-part__title','130PYXmrX','state','ck-reset_all-excluded','4jTSHeq','createCollection','applySuggestion','ck-ai-suggestion__body__content-part__title__label','fire','div','bind','setState','toString','setTemplate','519399jsoxmG','remove','addMany','titleLabelView','set','stateView','toolbarView','insertSuggestion','AI_SUGGESTION_CONTENT_PART_TITLE','111269AoJDvl','children','715545vbclmh','isEnabled','span','2024638WzumvC','add','530205MmXBEi','change:state'];_0x664b=function(){return _0x492d3c;};return _0x664b();}import{getTranslation as _0x136f49}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x3996a6}from'./aisuggestioncontentpartstateview.js';function _0x3a29(_0x87a639,_0x52e59e){var _0x664b0e=_0x664b();return _0x3a29=function(_0x3a29e4,_0x2684b7){_0x3a29e4=_0x3a29e4-0xa3;var _0x21b951=_0x664b0e[_0x3a29e4];return _0x21b951;},_0x3a29(_0x87a639,_0x52e59e);}import{AISuggestionContentPartToolbarView as _0x50c0ac}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x4b52ae{[_0x5277e0(0xa9)];[_0x5277e0(0xa8)];[_0x5277e0(0xa6)];[_0x5277e0(0xad)];constructor(_0x336640,{part:_0x3ba932,uiIndex:_0x4b5a48,availableActions:_0x2d8951,areActionsDisabled:_0x7f271d}){var _0x4de876=_0x5277e0;super(_0x336640),this[_0x4de876(0xa7)](_0x4de876(0xaf),!0x0),this[_0x4de876(0xa7)](_0x4de876(0xbd),_0x4de876(0xb8)),this[_0x4de876(0xa9)]=new _0x50c0ac(_0x336640,_0x2d8951,_0x7f271d),this[_0x4de876(0xa9)]['on'](_0x4de876(0xb7),()=>{var _0x2b4d5d=_0x4de876;this[_0x2b4d5d(0xc3)](_0x2b4d5d(0xb7),{'index':_0x3ba932[_0x2b4d5d(0xb6)]});}),this[_0x4de876(0xa9)]['on'](_0x4de876(0xaa),()=>{var _0x4e0691=_0x4de876;this[_0x4e0691(0xc3)](_0x4e0691(0xaa),{'index':_0x3ba932[_0x4e0691(0xb6)]});}),this[_0x4de876(0xa9)]['on'](_0x4de876(0xc1),()=>{var _0x5979dc=_0x4de876;this[_0x5979dc(0xc3)](_0x5979dc(0xc1),{'index':_0x3ba932[_0x5979dc(0xb6)]});}),this[_0x4de876(0xa9)][_0x4de876(0xc5)](_0x4de876(0xaf))['to'](this),this[_0x4de876(0xa8)]=new _0x3996a6(_0x336640),this[_0x4de876(0xa6)]=new AISuggestionBodyContentPartTitleLabelView(_0x336640,_0x4b5a48),this[_0x4de876(0xad)]=this[_0x4de876(0xc0)](),this[_0x4de876(0xad)][_0x4de876(0xa5)]([this[_0x4de876(0xa6)],this[_0x4de876(0xa9)]]),this[_0x4de876(0xc8)]({'tag':_0x4de876(0xc4),'attributes':{'class':['ck',_0x4de876(0xbe),_0x4de876(0xbb)]},'children':this[_0x4de876(0xad)]}),this['on'](_0x4de876(0xb4),(_0x213d77,_0x34763e,_0x1eb513,_0x10bd76)=>{var _0x5cb230=_0x4de876;_0x5cb230(0xb8)===_0x10bd76?this[_0x5cb230(0xad)][_0x5cb230(0xa4)](this[_0x5cb230(0xa9)]):this[_0x5cb230(0xad)][_0x5cb230(0xa4)](this[_0x5cb230(0xa8)]),_0x5cb230(0xb8)===_0x1eb513?this[_0x5cb230(0xad)][_0x5cb230(0xb2)](this[_0x5cb230(0xa9)]):(this[_0x5cb230(0xa8)][_0x5cb230(0xc6)](_0x1eb513),this[_0x5cb230(0xad)][_0x5cb230(0xb2)](this[_0x5cb230(0xa8)]));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x4b52ae{constructor(_0x4f739d,_0x17a5e3){var _0x2713af=_0x5277e0;super(_0x4f739d),this[_0x2713af(0xc8)]({'tag':_0x2713af(0xb0),'attributes':{'class':['ck',_0x2713af(0xc2)]},'children':[_0x136f49(_0x4f739d,_0x2713af(0xab),_0x17a5e3[_0x2713af(0xc7)]())]});}}
23
+ var _0x1807bb=_0x4c89;(function(_0x15d4f7,_0x2b29c5){var _0x2513a2=_0x4c89,_0x127dca=_0x15d4f7();while(!![]){try{var _0x395974=-parseInt(_0x2513a2(0x11c))/0x1*(-parseInt(_0x2513a2(0x134))/0x2)+-parseInt(_0x2513a2(0x11d))/0x3*(parseInt(_0x2513a2(0x135))/0x4)+-parseInt(_0x2513a2(0x125))/0x5*(parseInt(_0x2513a2(0x138))/0x6)+-parseInt(_0x2513a2(0x124))/0x7+-parseInt(_0x2513a2(0x123))/0x8*(parseInt(_0x2513a2(0x12d))/0x9)+parseInt(_0x2513a2(0x11a))/0xa*(-parseInt(_0x2513a2(0x12b))/0xb)+parseInt(_0x2513a2(0x11f))/0xc*(parseInt(_0x2513a2(0x13b))/0xd);if(_0x395974===_0x2b29c5)break;else _0x127dca['push'](_0x127dca['shift']());}catch(_0x277f94){_0x127dca['push'](_0x127dca['shift']());}}}(_0x29b6,0x52b2d));import{View as _0xac7bb4}from'ckeditor5/src/ui.js';import{getTranslation as _0x2b941f}from'../../utils/common-translations.js';function _0x29b6(){var _0x2a4c70=['applySuggestion','8iGZYQF','1006488xRFRuu','5nztdem','index','toString','addMany','remove','state','452364KKVVHc','rejectSuggestion','1813788PcjKqm','createCollection','titleLabelView','stateView','add','pending','ck-ai-suggestion__body__content-part__title__label','37738BUaiJn','4MCozlC','isEnabled','AI_SUGGESTION_CONTENT_PART_TITLE','1318116MkdiDq','set','children','169AaOoFh','fire','div','insertSuggestion','ck-ai-suggestion__body__content-part__title','bind','ck-reset_all-excluded','span','150WGrMtf','toolbarView','19xxmbPP','1750902fWvVXi','change:state','1611432pIYIEY','setTemplate','setState'];_0x29b6=function(){return _0x2a4c70;};return _0x29b6();}import{AISuggestionContentPartStateView as _0x4675d8}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x159aa9}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0xac7bb4{[_0x1807bb(0x11b)];[_0x1807bb(0x130)];[_0x1807bb(0x12f)];[_0x1807bb(0x13a)];constructor(_0xe0e24e,{part:_0xbe4bd2,uiIndex:_0x32e8e3,availableActions:_0x3122d6,areActionsDisabled:_0x18d754}){var _0x237882=_0x1807bb;super(_0xe0e24e),this[_0x237882(0x139)](_0x237882(0x136),!0x0),this[_0x237882(0x139)](_0x237882(0x12a),_0x237882(0x132)),this[_0x237882(0x11b)]=new _0x159aa9(_0xe0e24e,_0x3122d6,_0x18d754),this[_0x237882(0x11b)]['on'](_0x237882(0x12c),()=>{var _0x565cb9=_0x237882;this[_0x565cb9(0x13c)](_0x565cb9(0x12c),{'index':_0xbe4bd2[_0x565cb9(0x126)]});}),this[_0x237882(0x11b)]['on'](_0x237882(0x115),()=>{var _0x48c1f5=_0x237882;this[_0x48c1f5(0x13c)](_0x48c1f5(0x115),{'index':_0xbe4bd2[_0x48c1f5(0x126)]});}),this[_0x237882(0x11b)]['on'](_0x237882(0x122),()=>{var _0x3fda1e=_0x237882;this[_0x3fda1e(0x13c)](_0x3fda1e(0x122),{'index':_0xbe4bd2[_0x3fda1e(0x126)]});}),this[_0x237882(0x11b)][_0x237882(0x117)](_0x237882(0x136))['to'](this),this[_0x237882(0x130)]=new _0x4675d8(_0xe0e24e),this[_0x237882(0x12f)]=new AISuggestionBodyContentPartTitleLabelView(_0xe0e24e,_0x32e8e3),this[_0x237882(0x13a)]=this[_0x237882(0x12e)](),this[_0x237882(0x13a)][_0x237882(0x128)]([this[_0x237882(0x12f)],this[_0x237882(0x11b)]]),this[_0x237882(0x120)]({'tag':_0x237882(0x13d),'attributes':{'class':['ck',_0x237882(0x118),_0x237882(0x116)]},'children':this[_0x237882(0x13a)]}),this['on'](_0x237882(0x11e),(_0x153372,_0x43d177,_0x3d1cdc,_0x4fe524)=>{var _0x378572=_0x237882;_0x378572(0x132)===_0x4fe524?this[_0x378572(0x13a)][_0x378572(0x129)](this[_0x378572(0x11b)]):this[_0x378572(0x13a)][_0x378572(0x129)](this[_0x378572(0x130)]),_0x378572(0x132)===_0x3d1cdc?this[_0x378572(0x13a)][_0x378572(0x131)](this[_0x378572(0x11b)]):(this[_0x378572(0x130)][_0x378572(0x121)](_0x3d1cdc),this[_0x378572(0x13a)][_0x378572(0x131)](this[_0x378572(0x130)]));});}}function _0x4c89(_0x54ba5e,_0x547e6f){var _0x29b60f=_0x29b6();return _0x4c89=function(_0x4c8954,_0x2e078e){_0x4c8954=_0x4c8954-0x115;var _0x47ace4=_0x29b60f[_0x4c8954];return _0x47ace4;},_0x4c89(_0x54ba5e,_0x547e6f);}class AISuggestionBodyContentPartTitleLabelView extends _0xac7bb4{constructor(_0x280351,_0x1cd773){var _0x30cfc9=_0x1807bb;super(_0x280351),this[_0x30cfc9(0x120)]({'tag':_0x30cfc9(0x119),'attributes':{'class':['ck',_0x30cfc9(0x133)]},'children':[_0x2b941f(_0x280351,_0x30cfc9(0x137),_0x1cd773[_0x30cfc9(0x127)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c4f(){const _0x239c3d=['ck-ai-suggestion__content-part-state_','setTemplate','div','9eriWEH','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','set','content','state','ck-ai-suggestion__content-part-state__label','accepted','2yHdzRr','stateIconView','543729MzZdfy','setState','rejected','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','span','1117745atHuMm','bind','2317VrSwRN','4xPWlJb','4974FkKERk','8242146GEZmGg','286401rsLsqU','1990470lhyyYV','outdated','ck-hidden','change:state','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','ck-ai-suggestion__content-part-state','isVisible','bindTemplate','1334848gVPRvB'];_0x1c4f=function(){return _0x239c3d;};return _0x1c4f();}const _0x3ea524=_0x4dd5;(function(_0x5ba092,_0x436fd6){const _0x1abdee=_0x4dd5,_0x40e37a=_0x5ba092();while(!![]){try{const _0x10e122=parseInt(_0x1abdee(0x1c4))/0x1*(-parseInt(_0x1abdee(0x1b7))/0x2)+-parseInt(_0x1abdee(0x1b9))/0x3*(parseInt(_0x1abdee(0x1c1))/0x4)+parseInt(_0x1abdee(0x1be))/0x5+parseInt(_0x1abdee(0x1c2))/0x6*(-parseInt(_0x1abdee(0x1c0))/0x7)+parseInt(_0x1abdee(0x1cd))/0x8+-parseInt(_0x1abdee(0x1b0))/0x9*(parseInt(_0x1abdee(0x1c5))/0xa)+parseInt(_0x1abdee(0x1c3))/0xb;if(_0x10e122===_0x436fd6)break;else _0x40e37a['push'](_0x40e37a['shift']());}catch(_0x384e0b){_0x40e37a['push'](_0x40e37a['shift']());}}}(_0x1c4f,0x307c9));import{IconView as _0x7443fa,View as _0x5e19c8}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x44d8c6,IconBoxWithCheck as _0x5d3c2e}from'ckeditor5/src/icons.js';import{getTranslation as _0x34672b}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x5d3c2e,'rejected':_0x44d8c6,'outdated':_0x44d8c6};function _0x4dd5(_0x380208,_0x434df1){const _0x1c4fcb=_0x1c4f();return _0x4dd5=function(_0x4dd5e6,_0x7b7023){_0x4dd5e6=_0x4dd5e6-0x1ad;let _0x20c929=_0x1c4fcb[_0x4dd5e6];return _0x20c929;},_0x4dd5(_0x380208,_0x434df1);}export class AISuggestionContentPartStateView extends _0x5e19c8{[_0x3ea524(0x1b8)];constructor(_0x52633f){const _0xd426e5=_0x3ea524;super(_0x52633f);const _0x37ea03=this[_0xd426e5(0x1cc)];this[_0xd426e5(0x1b2)](_0xd426e5(0x1b4),_0xd426e5(0x1b6)),this[_0xd426e5(0x1b2)](_0xd426e5(0x1cb),!0x0),this[_0xd426e5(0x1b8)]=new StateIconView(),this[_0xd426e5(0x1b8)][_0xd426e5(0x1bf)](_0xd426e5(0x1b4))['to'](this),this[_0xd426e5(0x1ae)]({'tag':_0xd426e5(0x1af),'attributes':{'class':['ck',_0xd426e5(0x1ca),_0x37ea03['to'](_0xd426e5(0x1b4),_0x40fdd6=>_0xd426e5(0x1ad)+_0x40fdd6),_0x37ea03['if'](_0xd426e5(0x1cb),_0xd426e5(0x1c7),_0x482d27=>!_0x482d27)]},'children':[{'tag':_0xd426e5(0x1bd),'attributes':{'class':[_0xd426e5(0x1b5)]},'children':[{'text':_0x37ea03['to'](_0xd426e5(0x1b4),_0x4dcba4=>{const _0x5b9d77=_0xd426e5;switch(_0x4dcba4){case _0x5b9d77(0x1b6):return _0x34672b(_0x52633f,_0x5b9d77(0x1b1));case _0x5b9d77(0x1bb):return _0x34672b(_0x52633f,_0x5b9d77(0x1c9));case _0x5b9d77(0x1c6):return _0x34672b(_0x52633f,_0x5b9d77(0x1bc));}})}]},this[_0xd426e5(0x1b8)]]});}[_0x3ea524(0x1ba)](_0x5b2fd6){const _0x569b73=_0x3ea524;this[_0x569b73(0x1b4)]=_0x5b2fd6;}}export class StateIconView extends _0x7443fa{constructor(){const _0x148ff0=_0x3ea524;super(),this[_0x148ff0(0x1b2)](_0x148ff0(0x1b4),_0x148ff0(0x1b6)),this[_0x148ff0(0x1b3)]=ICON_STATE_MAP[this[_0x148ff0(0x1b4)]],this['on'](_0x148ff0(0x1c8),()=>{const _0x1af1ec=_0x148ff0;this[_0x1af1ec(0x1b3)]=ICON_STATE_MAP[this[_0x1af1ec(0x1b4)]];});}}
23
+ const _0x11ca19=_0x18b5;(function(_0x2972a9,_0x2e71ff){const _0x2116f8=_0x18b5,_0x469323=_0x2972a9();while(!![]){try{const _0x2d0b2b=-parseInt(_0x2116f8(0x73))/0x1*(parseInt(_0x2116f8(0x88))/0x2)+parseInt(_0x2116f8(0x87))/0x3+-parseInt(_0x2116f8(0x7a))/0x4+-parseInt(_0x2116f8(0x6f))/0x5*(-parseInt(_0x2116f8(0x7d))/0x6)+-parseInt(_0x2116f8(0x79))/0x7+parseInt(_0x2116f8(0x72))/0x8*(-parseInt(_0x2116f8(0x7c))/0x9)+parseInt(_0x2116f8(0x6c))/0xa;if(_0x2d0b2b===_0x2e71ff)break;else _0x469323['push'](_0x469323['shift']());}catch(_0x383258){_0x469323['push'](_0x469323['shift']());}}}(_0x582d,0x79d3e));import{IconView as _0x2d2d8a,View as _0x45f82b}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x399221,IconBoxWithCheck as _0x135c7e}from'ckeditor5/src/icons.js';import{getTranslation as _0x542ab0}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x135c7e,'rejected':_0x399221,'outdated':_0x399221};export class AISuggestionContentPartStateView extends _0x45f82b{[_0x11ca19(0x74)];constructor(_0x5c2e51){const _0x29f923=_0x11ca19;super(_0x5c2e51);const _0x35ee3f=this[_0x29f923(0x84)];this[_0x29f923(0x75)](_0x29f923(0x78),_0x29f923(0x7e)),this[_0x29f923(0x75)](_0x29f923(0x70),!0x0),this[_0x29f923(0x74)]=new StateIconView(),this[_0x29f923(0x74)][_0x29f923(0x82)](_0x29f923(0x78))['to'](this),this[_0x29f923(0x71)]({'tag':_0x29f923(0x80),'attributes':{'class':['ck',_0x29f923(0x7b),_0x35ee3f['to'](_0x29f923(0x78),_0x39b1aa=>_0x29f923(0x76)+_0x39b1aa),_0x35ee3f['if'](_0x29f923(0x70),_0x29f923(0x83),_0x217926=>!_0x217926)]},'children':[{'tag':_0x29f923(0x6b),'attributes':{'class':[_0x29f923(0x81)]},'children':[{'text':_0x35ee3f['to'](_0x29f923(0x78),_0x3eb60b=>{const _0x24ce73=_0x29f923;switch(_0x3eb60b){case _0x24ce73(0x7e):return _0x542ab0(_0x5c2e51,_0x24ce73(0x89));case _0x24ce73(0x77):return _0x542ab0(_0x5c2e51,_0x24ce73(0x8a));case _0x24ce73(0x6e):return _0x542ab0(_0x5c2e51,_0x24ce73(0x85));}})}]},this[_0x29f923(0x74)]]});}[_0x11ca19(0x86)](_0x3e88a1){const _0x3379fe=_0x11ca19;this[_0x3379fe(0x78)]=_0x3e88a1;}}function _0x18b5(_0x6b3180,_0x49af49){const _0x582df0=_0x582d();return _0x18b5=function(_0x18b51a,_0x2642a9){_0x18b51a=_0x18b51a-0x6b;let _0x26816c=_0x582df0[_0x18b51a];return _0x26816c;},_0x18b5(_0x6b3180,_0x49af49);}function _0x582d(){const _0x470fa8=['1178YyxjUA','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','span','20785000fggXhX','content','outdated','56215gIARcK','isVisible','setTemplate','144EEXdfh','983JSNiRH','stateIconView','set','ck-ai-suggestion__content-part-state_','rejected','state','4403357ANmrPQ','3056228ZLQOcF','ck-ai-suggestion__content-part-state','418320HmScWe','186wVkhPi','accepted','change:state','div','ck-ai-suggestion__content-part-state__label','bind','ck-hidden','bindTemplate','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','setState','2642124mTZOqX'];_0x582d=function(){return _0x470fa8;};return _0x582d();}export class StateIconView extends _0x2d2d8a{constructor(){const _0x27d919=_0x11ca19;super(),this[_0x27d919(0x75)](_0x27d919(0x78),_0x27d919(0x7e)),this[_0x27d919(0x6d)]=ICON_STATE_MAP[this[_0x27d919(0x78)]],this['on'](_0x27d919(0x7f),()=>{const _0x1e599b=_0x27d919;this[_0x1e599b(0x6d)]=ICON_STATE_MAP[this[_0x1e599b(0x78)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a79c8=_0x4156;function _0x4156(_0x13f847,_0xb6c6b9){const _0x141a27=_0x141a();return _0x4156=function(_0x41569d,_0x451a8b){_0x41569d=_0x41569d-0xd1;let _0x26c5ef=_0x141a27[_0x41569d];return _0x26c5ef;},_0x4156(_0x13f847,_0xb6c6b9);}(function(_0x161d1a,_0x182330){const _0x58e048=_0x4156,_0x794519=_0x161d1a();while(!![]){try{const _0x117d45=parseInt(_0x58e048(0xdf))/0x1*(parseInt(_0x58e048(0xf2))/0x2)+parseInt(_0x58e048(0xd5))/0x3+parseInt(_0x58e048(0xd8))/0x4*(-parseInt(_0x58e048(0xf1))/0x5)+-parseInt(_0x58e048(0xec))/0x6+-parseInt(_0x58e048(0xd2))/0x7*(-parseInt(_0x58e048(0xed))/0x8)+-parseInt(_0x58e048(0xd4))/0x9+parseInt(_0x58e048(0xe3))/0xa*(parseInt(_0x58e048(0xd9))/0xb);if(_0x117d45===_0x182330)break;else _0x794519['push'](_0x794519['shift']());}catch(_0x29fb36){_0x794519['push'](_0x794519['shift']());}}}(_0x141a,0xafe7f));import{ButtonView as _0x5e803b,ToolbarView as _0x5b9489}from'ckeditor5/src/ui.js';import{getTranslation as _0x149bbd}from'../../utils/common-translations.js';function _0x141a(){const _0x172c2b=['addMany','_suggestButton','AI_SUGGESTION_CONTENT_PART_REJECT','ck-ai-suggestion-content-part-toolbar','_applyButton','setButtonsVisibility','AI_SUGGESTION_CONTENT_PART_APPLY','isEnabled','5306136Huaxgm','7288664qhvDUr','bind','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','extendTemplate','5NcKCvr','399604vEhkOx','ck-hidden','includes','applySuggestion','7HWpIsh','bindTemplate','6890283AQMSCU','3483060TftKJv','execute','set','2832756vPXVCq','11MksXnl','items','rejectSuggestion','class','isVisible','insertSuggestion','1Ldvrji','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','fire','push','8067380cmVeGM'];_0x141a=function(){return _0x172c2b;};return _0x141a();}import{IconBoxWithCross as _0x26c8d1,IconBoxWithCheck as _0x4d4b4c,IconBoxWithMarker as _0x5b6e4f,IconInfo as _0x1b1dd7}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x5b9489{[_0x3a79c8(0xe8)];[_0x3a79c8(0xe5)];constructor(_0x2a3a58,_0x46613f,_0x2d6f6f){const _0xaa4866=_0x3a79c8;super(_0x2a3a58);const _0x574f13=Boolean(_0x2d6f6f);this[_0xaa4866(0xd7)](_0xaa4866(0xeb),!_0x574f13),this[_0xaa4866(0xd7)](_0xaa4866(0xdd),!0x0),this[_0xaa4866(0xdc)]=_0xaa4866(0xe7);const _0x2c5a18=[];if(_0x574f13){const _0x818e85=new _0x5e803b(_0x2a3a58);_0x818e85[_0xaa4866(0xd7)]({'label':_0x149bbd(_0x2a3a58,_0xaa4866(0xe0)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1b1dd7}),_0x2c5a18[_0xaa4866(0xe2)](_0x818e85);}else{_0x46613f[_0xaa4866(0xf4)](_0xaa4866(0xd1))&&(this[_0xaa4866(0xe8)]=new _0x5e803b(_0x2a3a58),this[_0xaa4866(0xe8)][_0xaa4866(0xd7)]({'label':_0x149bbd(_0x2a3a58,_0xaa4866(0xea)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4d4b4c}),this[_0xaa4866(0xe8)][_0xaa4866(0xee)](_0xaa4866(0xeb))['to'](this),this[_0xaa4866(0xe8)]['on'](_0xaa4866(0xd6),()=>{const _0x26f18a=_0xaa4866;this[_0x26f18a(0xe1)](_0x26f18a(0xd1));}),_0x2c5a18[_0xaa4866(0xe2)](this[_0xaa4866(0xe8)])),_0x46613f[_0xaa4866(0xf4)](_0xaa4866(0xde))&&(this[_0xaa4866(0xe5)]=new _0x5e803b(_0x2a3a58),this[_0xaa4866(0xe5)][_0xaa4866(0xd7)]({'label':_0x149bbd(_0x2a3a58,_0xaa4866(0xef)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5b6e4f}),this[_0xaa4866(0xe5)][_0xaa4866(0xee)](_0xaa4866(0xeb))['to'](this),this[_0xaa4866(0xe5)]['on'](_0xaa4866(0xd6),()=>{const _0x114c66=_0xaa4866;this[_0x114c66(0xe1)](_0x114c66(0xde));}),_0x2c5a18[_0xaa4866(0xe2)](this[_0xaa4866(0xe5)]));const _0x7fa205=new _0x5e803b(_0x2a3a58);_0x7fa205[_0xaa4866(0xd7)]({'label':_0x149bbd(_0x2a3a58,_0xaa4866(0xe6)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x26c8d1}),_0x7fa205[_0xaa4866(0xee)](_0xaa4866(0xeb))['to'](this),_0x7fa205['on'](_0xaa4866(0xd6),()=>{const _0x21e02c=_0xaa4866;this[_0x21e02c(0xe1)](_0x21e02c(0xdb));}),_0x2c5a18[_0xaa4866(0xe2)](_0x7fa205);}this[_0xaa4866(0xda)][_0xaa4866(0xe4)](_0x2c5a18);const _0x32d266=this[_0xaa4866(0xd3)];this[_0xaa4866(0xf0)]({'attributes':{'class':[_0x32d266['if'](_0xaa4866(0xdd),_0xaa4866(0xf3),_0x482235=>!_0x482235)]}});}[_0x3a79c8(0xe9)]({showApplyButton:_0x1e6e9a,showSuggestButton:_0x45aece}){const _0x2bf13d=_0x3a79c8;this[_0x2bf13d(0xe8)]&&(this[_0x2bf13d(0xe8)][_0x2bf13d(0xdd)]=_0x1e6e9a),this[_0x2bf13d(0xe5)]&&(this[_0x2bf13d(0xe5)][_0x2bf13d(0xdd)]=_0x45aece);}}
23
+ const _0x344ff8=_0x30d7;(function(_0x2d4bee,_0x599c50){const _0x5c5443=_0x30d7,_0xa93cb4=_0x2d4bee();while(!![]){try{const _0x5c215a=parseInt(_0x5c5443(0x10c))/0x1+-parseInt(_0x5c5443(0xf1))/0x2*(parseInt(_0x5c5443(0xff))/0x3)+parseInt(_0x5c5443(0xfe))/0x4*(-parseInt(_0x5c5443(0xf2))/0x5)+parseInt(_0x5c5443(0x108))/0x6*(parseInt(_0x5c5443(0xeb))/0x7)+parseInt(_0x5c5443(0x105))/0x8+parseInt(_0x5c5443(0x102))/0x9+parseInt(_0x5c5443(0xef))/0xa*(-parseInt(_0x5c5443(0x100))/0xb);if(_0x5c215a===_0x599c50)break;else _0xa93cb4['push'](_0xa93cb4['shift']());}catch(_0x384f6d){_0xa93cb4['push'](_0xa93cb4['shift']());}}}(_0x141e,0x7441f));import{ButtonView as _0x1d56eb,ToolbarView as _0xfd8f44}from'ckeditor5/src/ui.js';function _0x30d7(_0x1a6cc5,_0x526dc8){const _0x141e07=_0x141e();return _0x30d7=function(_0x30d759,_0x5759bc){_0x30d759=_0x30d759-0xeb;let _0x3b23c3=_0x141e07[_0x30d759];return _0x3b23c3;},_0x30d7(_0x1a6cc5,_0x526dc8);}import{getTranslation as _0x2f1a9e}from'../../utils/common-translations.js';function _0x141e(){const _0x3cb138=['setButtonsVisibility','AI_SUGGESTION_CONTENT_PART_APPLY','fire','685378zoTDqw','includes','ck-ai-suggestion-content-part-toolbar','21HBfjnc','bindTemplate','items','extendTemplate','240ejcDhU','bind','10ubtbxg','2910RwrRxx','_applyButton','rejectSuggestion','isEnabled','insertSuggestion','class','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','set','execute','isVisible','applySuggestion','addMany','2816FokVpV','496350RWLCun','377509AkFUKH','push','1886346liqOIG','ck-hidden','_suggestButton','5876816SiABNG','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','AI_SUGGESTION_CONTENT_PART_REJECT','1814502RnUWwj'];_0x141e=function(){return _0x3cb138;};return _0x141e();}import{IconBoxWithCross as _0x218b75,IconBoxWithCheck as _0x39a61e,IconBoxWithMarker as _0x47a22d,IconInfo as _0x3f385a}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0xfd8f44{[_0x344ff8(0xf3)];[_0x344ff8(0x104)];constructor(_0x47cee1,_0x10ee30,_0x260221){const _0x3e4e01=_0x344ff8;super(_0x47cee1);const _0x52c295=Boolean(_0x260221);this[_0x3e4e01(0xf9)](_0x3e4e01(0xf5),!_0x52c295),this[_0x3e4e01(0xf9)](_0x3e4e01(0xfb),!0x0),this[_0x3e4e01(0xf7)]=_0x3e4e01(0x10e);const _0x2c9781=[];if(_0x52c295){const _0x1c7edc=new _0x1d56eb(_0x47cee1);_0x1c7edc[_0x3e4e01(0xf9)]({'label':_0x2f1a9e(_0x47cee1,_0x3e4e01(0xf8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3f385a}),_0x2c9781[_0x3e4e01(0x101)](_0x1c7edc);}else{_0x10ee30[_0x3e4e01(0x10d)](_0x3e4e01(0xfc))&&(this[_0x3e4e01(0xf3)]=new _0x1d56eb(_0x47cee1),this[_0x3e4e01(0xf3)][_0x3e4e01(0xf9)]({'label':_0x2f1a9e(_0x47cee1,_0x3e4e01(0x10a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x39a61e}),this[_0x3e4e01(0xf3)][_0x3e4e01(0xf0)](_0x3e4e01(0xf5))['to'](this),this[_0x3e4e01(0xf3)]['on'](_0x3e4e01(0xfa),()=>{const _0x161462=_0x3e4e01;this[_0x161462(0x10b)](_0x161462(0xfc));}),_0x2c9781[_0x3e4e01(0x101)](this[_0x3e4e01(0xf3)])),_0x10ee30[_0x3e4e01(0x10d)](_0x3e4e01(0xf6))&&(this[_0x3e4e01(0x104)]=new _0x1d56eb(_0x47cee1),this[_0x3e4e01(0x104)][_0x3e4e01(0xf9)]({'label':_0x2f1a9e(_0x47cee1,_0x3e4e01(0x106)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x47a22d}),this[_0x3e4e01(0x104)][_0x3e4e01(0xf0)](_0x3e4e01(0xf5))['to'](this),this[_0x3e4e01(0x104)]['on'](_0x3e4e01(0xfa),()=>{const _0x4fff78=_0x3e4e01;this[_0x4fff78(0x10b)](_0x4fff78(0xf6));}),_0x2c9781[_0x3e4e01(0x101)](this[_0x3e4e01(0x104)]));const _0x3ea84c=new _0x1d56eb(_0x47cee1);_0x3ea84c[_0x3e4e01(0xf9)]({'label':_0x2f1a9e(_0x47cee1,_0x3e4e01(0x107)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x218b75}),_0x3ea84c[_0x3e4e01(0xf0)](_0x3e4e01(0xf5))['to'](this),_0x3ea84c['on'](_0x3e4e01(0xfa),()=>{const _0x360596=_0x3e4e01;this[_0x360596(0x10b)](_0x360596(0xf4));}),_0x2c9781[_0x3e4e01(0x101)](_0x3ea84c);}this[_0x3e4e01(0xed)][_0x3e4e01(0xfd)](_0x2c9781);const _0x5cd6eb=this[_0x3e4e01(0xec)];this[_0x3e4e01(0xee)]({'attributes':{'class':[_0x5cd6eb['if'](_0x3e4e01(0xfb),_0x3e4e01(0x103),_0x854778=>!_0x854778)]}});}[_0x344ff8(0x109)]({showApplyButton:_0x4b8f6b,showSuggestButton:_0x431b91}){const _0x1a3e53=_0x344ff8;this[_0x1a3e53(0xf3)]&&(this[_0x1a3e53(0xf3)][_0x1a3e53(0xfb)]=_0x4b8f6b),this[_0x1a3e53(0x104)]&&(this[_0x1a3e53(0x104)][_0x1a3e53(0xfb)]=_0x431b91);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11e106=_0x4f6e;(function(_0x495cf1,_0x33ecd1){const _0x13c780=_0x4f6e,_0x9d9e5f=_0x495cf1();while(!![]){try{const _0x1157c5=parseInt(_0x13c780(0xf0))/0x1*(parseInt(_0x13c780(0xe3))/0x2)+-parseInt(_0x13c780(0xf4))/0x3*(parseInt(_0x13c780(0xee))/0x4)+parseInt(_0x13c780(0x102))/0x5*(parseInt(_0x13c780(0x101))/0x6)+-parseInt(_0x13c780(0xed))/0x7+parseInt(_0x13c780(0xd9))/0x8+-parseInt(_0x13c780(0xfb))/0x9*(-parseInt(_0x13c780(0xf8))/0xa)+-parseInt(_0x13c780(0xeb))/0xb;if(_0x1157c5===_0x33ecd1)break;else _0x9d9e5f['push'](_0x9d9e5f['shift']());}catch(_0x3dd5c0){_0x9d9e5f['push'](_0x9d9e5f['shift']());}}}(_0x28f0,0x503ed));function _0x28f0(){const _0x1eacc7=['ck-hidden','44260JrjrfC','element','bind','612iXeHBp','isVisible','setTemplate','state','updateContent','ck-ai-suggestion__body__content-part_active','141354QrHVHD','25ECgLJF','change:state','_headerView','mouseLeaveSuggestion','pending','update','hasChanges','contains','4435208gfkdYc','_children','markAsDone','change:isDone','isActive','div','isEnabled','set','createCollection','ck-ai-suggestion__body__content-part_enabled','4RngPFh','toolbarView','fire','_streamableContentView','ck-ai-suggestion__body__content-part','showChangeInText','target','bindTemplate','4650723KjDmlf','index','4109266aBmKwZ','8cmAsYx','addMany','184486AUEUzX','ck-ai-suggestion__body__content-part_','mouseOverSuggestion','partDefinition','5430IYoYDY','delegate','isDone'];_0x28f0=function(){return _0x1eacc7;};return _0x28f0();}import{View as _0x434ffc}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4375d3}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x59fb69}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x1169a5}from'./aisuggestionstreamablecontentview.js';function _0x4f6e(_0x3b7304,_0x12f3e3){const _0x28f003=_0x28f0();return _0x4f6e=function(_0x4f6e23,_0x2c00b1){_0x4f6e23=_0x4f6e23-0xd6;let _0x5badbd=_0x28f003[_0x4f6e23];return _0x5badbd;},_0x4f6e(_0x3b7304,_0x12f3e3);}export class AISuggestionBodyViewContentPartView extends _0x434ffc{[_0x11e106(0xda)];[_0x11e106(0x104)];[_0x11e106(0xe6)];constructor(_0x22cf65,{part:_0x4b9c32,uiIndex:_0x1b4fca,areActionsDisabled:_0x5b8acc,availableActions:_0x575227}){const _0x7ee539=_0x11e106;super(_0x22cf65);const _0x4b0f20=this[_0x7ee539(0xea)];this[_0x7ee539(0xe0)](_0x7ee539(0xfe),_0x7ee539(0x106)),this[_0x7ee539(0xe0)](_0x7ee539(0xf6),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xfc),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xdd),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xdf),!0x1);const _0x48d241=()=>{const _0x18893c=_0x7ee539;this[_0x18893c(0xdf)]=this[_0x18893c(0xf6)]&&_0x18893c(0x106)==this[_0x18893c(0xfe)]&&!_0x5b8acc;};this['on'](_0x7ee539(0x103),_0x48d241),this['on'](_0x7ee539(0xdc),_0x48d241),_0x48d241(),this[_0x7ee539(0xda)]=this[_0x7ee539(0xe1)](),this[_0x7ee539(0x104)]=new _0x59fb69(_0x22cf65,{'part':_0x4b9c32,'uiIndex':_0x1b4fca,'availableActions':_0x575227,'areActionsDisabled':_0x5b8acc}),this[_0x7ee539(0x104)][_0x7ee539(0xfa)](_0x7ee539(0xdf),_0x7ee539(0xfe))['to'](this),this[_0x7ee539(0x104)][_0x7ee539(0xf5)](..._0x4375d3)['to'](this),this[_0x7ee539(0xe6)]=new _0x1169a5(_0x22cf65),this[_0x7ee539(0xda)][_0x7ee539(0xef)]([this[_0x7ee539(0x104)],this[_0x7ee539(0xe6)]]),this[_0x7ee539(0xfd)]({'tag':_0x7ee539(0xde),'attributes':{'class':['ck',_0x7ee539(0xe7),_0x4b0f20['to'](_0x7ee539(0xfe),_0x48764b=>_0x7ee539(0xf1)+_0x48764b),_0x4b0f20['if'](_0x7ee539(0xdf),_0x7ee539(0xe2)),_0x4b0f20['if'](_0x7ee539(0xdd),_0x7ee539(0x100)),_0x4b0f20['if'](_0x7ee539(0xfc),_0x7ee539(0xf7),_0x4a2311=>!_0x4a2311)]},'children':this[_0x7ee539(0xda)],'on':{'mouseenter':_0x4b0f20['to'](()=>{const _0x555390=_0x7ee539;this[_0x555390(0xdf)]&&this[_0x555390(0xe5)](_0x555390(0xf2),{'index':_0x4b9c32[_0x555390(0xec)]});}),'mouseleave':_0x4b0f20['to'](()=>{const _0x3f4cff=_0x7ee539;this[_0x3f4cff(0xdf)]&&this[_0x3f4cff(0xe5)](_0x3f4cff(0x105),{'index':_0x4b9c32[_0x3f4cff(0xec)]});}),'click':_0x4b0f20['to'](_0x525791=>{const _0xbc7cc6=_0x7ee539,_0x2e51f6=_0x525791[_0xbc7cc6(0xe9)];this[_0xbc7cc6(0xdf)]&&!this[_0xbc7cc6(0x104)][_0xbc7cc6(0xe4)][_0xbc7cc6(0xf9)][_0xbc7cc6(0xd8)](_0x2e51f6)&&this[_0xbc7cc6(0xe5)](_0xbc7cc6(0xe8),{'index':_0x4b9c32[_0xbc7cc6(0xec)]});})}});}async[_0x11e106(0xff)]({part:_0x46ee5b,renderingStrategy:_0x20c018,showUnchangedParts:_0x311360=!0x1,abortSignal:_0x37e918}){const _0x2f3994=_0x11e106;this[_0x2f3994(0xf3)]=_0x46ee5b,this[_0x2f3994(0xfc)]=this[_0x2f3994(0xf3)][_0x2f3994(0xd7)]||_0x311360,this[_0x2f3994(0xfc)]&&await this[_0x2f3994(0xe6)][_0x2f3994(0xd6)]({'part':_0x46ee5b,'renderingStrategy':_0x20c018,'abortSignal':_0x37e918});}[_0x11e106(0xdb)](){const _0x42791b=_0x11e106;this[_0x42791b(0xf6)]=!0x0;}}
23
+ const _0x3c706f=_0x216b;(function(_0x187a7f,_0xa20ece){const _0x2471fa=_0x216b,_0x5b9156=_0x187a7f();while(!![]){try{const _0x2bae0b=parseInt(_0x2471fa(0x15e))/0x1*(parseInt(_0x2471fa(0x15b))/0x2)+parseInt(_0x2471fa(0x179))/0x3*(parseInt(_0x2471fa(0x157))/0x4)+-parseInt(_0x2471fa(0x15f))/0x5+parseInt(_0x2471fa(0x164))/0x6*(-parseInt(_0x2471fa(0x155))/0x7)+-parseInt(_0x2471fa(0x165))/0x8*(parseInt(_0x2471fa(0x17a))/0x9)+-parseInt(_0x2471fa(0x16b))/0xa+parseInt(_0x2471fa(0x14e))/0xb*(parseInt(_0x2471fa(0x154))/0xc);if(_0x2bae0b===_0xa20ece)break;else _0x5b9156['push'](_0x5b9156['shift']());}catch(_0x3e8148){_0x5b9156['push'](_0x5b9156['shift']());}}}(_0x21ec,0xde1d4));import{View as _0x12c160}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3b3f07}from'../../utils/eventnames.js';function _0x216b(_0x1784a3,_0x979683){const _0x21ec8d=_0x21ec();return _0x216b=function(_0x216b57,_0x3a22f4){_0x216b57=_0x216b57-0x14c;let _0x351fdb=_0x21ec8d[_0x216b57];return _0x351fdb;},_0x216b(_0x1784a3,_0x979683);}import{AISuggestionContentPartHeaderView as _0x47f6f7}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x2e03a0}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x12c160{[_0x3c706f(0x153)];[_0x3c706f(0x177)];[_0x3c706f(0x172)];constructor(_0x7b2e2e,{part:_0x41cc9d,uiIndex:_0x518f33,areActionsDisabled:_0x40878a,availableActions:_0x5de8f1}){const _0x78974=_0x3c706f;super(_0x7b2e2e);const _0x26ce4f=this[_0x78974(0x156)];this[_0x78974(0x17d)](_0x78974(0x16d),_0x78974(0x166)),this[_0x78974(0x17d)](_0x78974(0x158),!0x1),this[_0x78974(0x17d)](_0x78974(0x17c),!0x1),this[_0x78974(0x17d)](_0x78974(0x15d),!0x1),this[_0x78974(0x17d)](_0x78974(0x176),!0x1);const _0x122ea7=()=>{const _0x47af29=_0x78974;this[_0x47af29(0x176)]=this[_0x47af29(0x158)]&&_0x47af29(0x166)==this[_0x47af29(0x16d)]&&!_0x40878a;};this['on'](_0x78974(0x16f),_0x122ea7),this['on'](_0x78974(0x15a),_0x122ea7),_0x122ea7(),this[_0x78974(0x153)]=this[_0x78974(0x178)](),this[_0x78974(0x177)]=new _0x47f6f7(_0x7b2e2e,{'part':_0x41cc9d,'uiIndex':_0x518f33,'availableActions':_0x5de8f1,'areActionsDisabled':_0x40878a}),this[_0x78974(0x177)][_0x78974(0x150)](_0x78974(0x176),_0x78974(0x16d))['to'](this),this[_0x78974(0x177)][_0x78974(0x170)](..._0x3b3f07)['to'](this),this[_0x78974(0x172)]=new _0x2e03a0(_0x7b2e2e),this[_0x78974(0x153)][_0x78974(0x14d)]([this[_0x78974(0x177)],this[_0x78974(0x172)]]),this[_0x78974(0x162)]({'tag':_0x78974(0x168),'attributes':{'class':['ck',_0x78974(0x160),_0x26ce4f['to'](_0x78974(0x16d),_0x4a134c=>_0x78974(0x15c)+_0x4a134c),_0x26ce4f['if'](_0x78974(0x176),_0x78974(0x152)),_0x26ce4f['if'](_0x78974(0x15d),_0x78974(0x175)),_0x26ce4f['if'](_0x78974(0x17c),_0x78974(0x169),_0x30f666=>!_0x30f666)]},'children':this[_0x78974(0x153)],'on':{'mouseenter':_0x26ce4f['to'](()=>{const _0x411a20=_0x78974;this[_0x411a20(0x176)]&&this[_0x411a20(0x171)](_0x411a20(0x151),{'index':_0x41cc9d[_0x411a20(0x16a)]});}),'mouseleave':_0x26ce4f['to'](()=>{const _0x4e4281=_0x78974;this[_0x4e4281(0x176)]&&this[_0x4e4281(0x171)](_0x4e4281(0x174),{'index':_0x41cc9d[_0x4e4281(0x16a)]});}),'click':_0x26ce4f['to'](_0xbc2eb7=>{const _0x56298e=_0x78974,_0x5e1e76=_0xbc2eb7[_0x56298e(0x17b)];this[_0x56298e(0x176)]&&!this[_0x56298e(0x177)][_0x56298e(0x14c)][_0x56298e(0x16c)][_0x56298e(0x159)](_0x5e1e76)&&this[_0x56298e(0x171)](_0x56298e(0x163),{'index':_0x41cc9d[_0x56298e(0x16a)]});})}});}async[_0x3c706f(0x161)]({part:_0x225530,renderingStrategy:_0x45d1c1,showUnchangedParts:_0xe88c3d=!0x1,abortSignal:_0x3c0727}){const _0x1302e4=_0x3c706f;this[_0x1302e4(0x167)]=_0x225530,this[_0x1302e4(0x17c)]=this[_0x1302e4(0x167)][_0x1302e4(0x173)]||_0xe88c3d,this[_0x1302e4(0x17c)]&&await this[_0x1302e4(0x172)][_0x1302e4(0x16e)]({'part':_0x225530,'renderingStrategy':_0x45d1c1,'abortSignal':_0x3c0727});}[_0x3c706f(0x14f)](){const _0x201eaa=_0x3c706f;this[_0x201eaa(0x158)]=!0x0;}}function _0x21ec(){const _0x2f3269=['updateContent','setTemplate','showChangeInText','6792354vkUKEJ','232kXAwod','pending','partDefinition','div','ck-hidden','index','4744980rLcwrU','element','state','update','change:state','delegate','fire','_streamableContentView','hasChanges','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part_active','isEnabled','_headerView','createCollection','530616cMQgEJ','289287iZBWjI','target','isVisible','set','toolbarView','addMany','22PplFru','markAsDone','bind','mouseOverSuggestion','ck-ai-suggestion__body__content-part_enabled','_children','15329148AMwVcg','7jCIhTz','bindTemplate','12UWDQNV','isDone','contains','change:isDone','1651094nIlJnw','ck-ai-suggestion__body__content-part_','isActive','1VLqYGP','2312685OBmywA','ck-ai-suggestion__body__content-part'];_0x21ec=function(){return _0x2f3269;};return _0x21ec();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f30d6=_0x58c1;(function(_0xbf0931,_0x2c9d91){const _0x1f7073=_0x58c1,_0x4c4cbd=_0xbf0931();while(!![]){try{const _0x19727b=-parseInt(_0x1f7073(0x13f))/0x1+-parseInt(_0x1f7073(0x136))/0x2*(parseInt(_0x1f7073(0x14a))/0x3)+parseInt(_0x1f7073(0x12a))/0x4+-parseInt(_0x1f7073(0x129))/0x5+-parseInt(_0x1f7073(0x128))/0x6*(-parseInt(_0x1f7073(0x133))/0x7)+parseInt(_0x1f7073(0x143))/0x8*(-parseInt(_0x1f7073(0x148))/0x9)+parseInt(_0x1f7073(0x12c))/0xa*(parseInt(_0x1f7073(0x140))/0xb);if(_0x19727b===_0x2c9d91)break;else _0x4c4cbd['push'](_0x4c4cbd['shift']());}catch(_0x32c194){_0x4c4cbd['push'](_0x4c4cbd['shift']());}}}(_0x9809,0xc3861));function _0x58c1(_0x5e6d7b,_0x53134c){const _0x9809ac=_0x9809();return _0x58c1=function(_0x58c168,_0x3429ee){_0x58c168=_0x58c168-0x126;let _0x2e5f16=_0x9809ac[_0x58c168];return _0x2e5f16;},_0x58c1(_0x5e6d7b,_0x53134c);}import{getTranslation as _0x5584dd}from'../../utils/common-translations.js';import{ButtonView as _0x34dfa0,IconView as _0x180cea,View as _0x3b2523}from'ckeditor5/src/ui.js';import{IconDocument as _0x183831,IconShowChangesOff as _0x552c6b,IconShowChangesOn as _0x58a32a}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3b2523{[_0x4f30d6(0x132)];constructor(_0xd16715,_0x30f75c){const _0xbf93eb=_0x4f30d6;super(_0xd16715),this[_0xbf93eb(0x13b)](_0xbf93eb(0x12e),!0x0),this[_0xbf93eb(0x132)]=new ShowChangesToggleView(_0xd16715),this[_0xbf93eb(0x132)][_0xbf93eb(0x13b)]({'class':_0xbf93eb(0x14b),'label':_0x5584dd(_0xd16715,_0xbf93eb(0x130)),'withText':!0x0}),this[_0xbf93eb(0x132)][_0xbf93eb(0x149)]=_0x30f75c[_0xbf93eb(0x145)],this[_0xbf93eb(0x132)][_0xbf93eb(0x138)](_0xbf93eb(0x147))['to'](this,_0xbf93eb(0x12e)),this[_0xbf93eb(0x132)][_0xbf93eb(0x138)](_0xbf93eb(0x12f))['to'](this[_0xbf93eb(0x132)],_0xbf93eb(0x149),_0x577993=>_0x577993?_0x58a32a:_0x552c6b),this[_0xbf93eb(0x132)]['on'](_0xbf93eb(0x144),()=>{const _0xb43154=_0xbf93eb;this[_0xb43154(0x132)][_0xb43154(0x149)]=!this[_0xb43154(0x132)][_0xb43154(0x149)],this[_0xb43154(0x142)](_0xb43154(0x135),{'isOn':this[_0xb43154(0x132)][_0xb43154(0x149)]});});const _0x3c0bc2=new _0x180cea();_0x3c0bc2[_0xbf93eb(0x137)]=_0x183831,this[_0xbf93eb(0x134)]({'tag':_0xbf93eb(0x13d),'attributes':{'class':['ck',_0xbf93eb(0x127),!0x1===_0x30f75c[_0xbf93eb(0x13e)]?_0xbf93eb(0x12d):null][_0xbf93eb(0x146)](Boolean)},'children':[_0x3c0bc2,{'tag':_0xbf93eb(0x141),'children':[_0x5584dd(_0xd16715,_0xbf93eb(0x13a))]},this[_0xbf93eb(0x132)]]});}}function _0x9809(){const _0x4fec61=['filter','isVisible','2259qIATXZ','isOn','6ZeRyeO','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','remove','ck-ai-suggestion__header','150RcMYkj','226670AOQfNB','1471452nIyOFL','render','10HecJtv','ck-hidden','isShowChangesToggleVisible','icon','AI_SUGGESTION_BUTTON_SHOW_CHANGES','children','showChangesToggleView','399364jfSaUQ','setTemplate','toggleShowChanges','896404dfcoPx','content','bind','add','AI_SUGGESTION_HEADER_TITLE','set','iconView','div','showHeader','652521BgIFEU','11072347FzCeGG','span','fire','12928JzMPZj','execute','showDiff'];_0x9809=function(){return _0x4fec61;};return _0x9809();}export class ShowChangesToggleView extends _0x34dfa0{[_0x4f30d6(0x12b)](){const _0x27845c=_0x4f30d6;super[_0x27845c(0x12b)](),this[_0x27845c(0x131)][_0x27845c(0x126)](this[_0x27845c(0x13c)]),this[_0x27845c(0x131)][_0x27845c(0x139)](this[_0x27845c(0x13c)]);}}
23
+ const _0xdc16c0=_0x50e9;function _0x50e9(_0x5060f1,_0x8447da){const _0x1329e8=_0x1329();return _0x50e9=function(_0x50e94b,_0x69f038){_0x50e94b=_0x50e94b-0x134;let _0x476462=_0x1329e8[_0x50e94b];return _0x476462;},_0x50e9(_0x5060f1,_0x8447da);}(function(_0x54982a,_0x83db78){const _0x493e47=_0x50e9,_0x5ec56d=_0x54982a();while(!![]){try{const _0x479972=parseInt(_0x493e47(0x146))/0x1+-parseInt(_0x493e47(0x14d))/0x2*(parseInt(_0x493e47(0x153))/0x3)+parseInt(_0x493e47(0x13a))/0x4*(-parseInt(_0x493e47(0x15b))/0x5)+-parseInt(_0x493e47(0x149))/0x6*(parseInt(_0x493e47(0x14a))/0x7)+-parseInt(_0x493e47(0x141))/0x8*(parseInt(_0x493e47(0x148))/0x9)+parseInt(_0x493e47(0x144))/0xa*(-parseInt(_0x493e47(0x138))/0xb)+-parseInt(_0x493e47(0x134))/0xc*(-parseInt(_0x493e47(0x13d))/0xd);if(_0x479972===_0x83db78)break;else _0x5ec56d['push'](_0x5ec56d['shift']());}catch(_0x2b9cb4){_0x5ec56d['push'](_0x5ec56d['shift']());}}}(_0x1329,0xa4d48));import{getTranslation as _0x417f00}from'../../utils/common-translations.js';function _0x1329(){const _0x39a688=['252758GDXNse','set','2962992ZYpZME','bind','AI_SUGGESTION_BUTTON_SHOW_CHANGES','55224INXjTT','children','remove','fire','8GtsVWK','isOn','render','580VFHtcJ','showChangesToggleView','1205974jBjJHm','span','136062KiaCXD','90BqqQmQ','528430vFFHDC','showDiff','toggleShowChanges','52sZjerB','ck-hidden','setTemplate','filter','showHeader','div','66531gxyXcp','AI_SUGGESTION_HEADER_TITLE','content','isShowChangesToggleVisible','isVisible','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','add','execute','5bzTPyG','9228hLlTJq','ck-ai-suggestion__header','iconView','icon'];_0x1329=function(){return _0x39a688;};return _0x1329();}import{ButtonView as _0x152e78,IconView as _0x1b19cc,View as _0x102264}from'ckeditor5/src/ui.js';import{IconDocument as _0x5e4057,IconShowChangesOff as _0x2b90aa,IconShowChangesOn as _0x2a5df0}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x102264{[_0xdc16c0(0x145)];constructor(_0x4279ac,_0x374860){const _0x2b400a=_0xdc16c0;super(_0x4279ac),this[_0x2b400a(0x139)](_0x2b400a(0x156),!0x0),this[_0x2b400a(0x145)]=new ShowChangesToggleView(_0x4279ac),this[_0x2b400a(0x145)][_0x2b400a(0x139)]({'class':_0x2b400a(0x158),'label':_0x417f00(_0x4279ac,_0x2b400a(0x13c)),'withText':!0x0}),this[_0x2b400a(0x145)][_0x2b400a(0x142)]=_0x374860[_0x2b400a(0x14b)],this[_0x2b400a(0x145)][_0x2b400a(0x13b)](_0x2b400a(0x157))['to'](this,_0x2b400a(0x156)),this[_0x2b400a(0x145)][_0x2b400a(0x13b)](_0x2b400a(0x137))['to'](this[_0x2b400a(0x145)],_0x2b400a(0x142),_0x338f79=>_0x338f79?_0x2a5df0:_0x2b90aa),this[_0x2b400a(0x145)]['on'](_0x2b400a(0x15a),()=>{const _0x1381ec=_0x2b400a;this[_0x1381ec(0x145)][_0x1381ec(0x142)]=!this[_0x1381ec(0x145)][_0x1381ec(0x142)],this[_0x1381ec(0x140)](_0x1381ec(0x14c),{'isOn':this[_0x1381ec(0x145)][_0x1381ec(0x142)]});});const _0xf05cb=new _0x1b19cc();_0xf05cb[_0x2b400a(0x155)]=_0x5e4057,this[_0x2b400a(0x14f)]({'tag':_0x2b400a(0x152),'attributes':{'class':['ck',_0x2b400a(0x135),!0x1===_0x374860[_0x2b400a(0x151)]?_0x2b400a(0x14e):null][_0x2b400a(0x150)](Boolean)},'children':[_0xf05cb,{'tag':_0x2b400a(0x147),'children':[_0x417f00(_0x4279ac,_0x2b400a(0x154))]},this[_0x2b400a(0x145)]]});}}export class ShowChangesToggleView extends _0x152e78{[_0xdc16c0(0x143)](){const _0x5a639b=_0xdc16c0;super[_0x5a639b(0x143)](),this[_0x5a639b(0x13e)][_0x5a639b(0x13f)](this[_0x5a639b(0x136)]),this[_0x5a639b(0x13e)][_0x5a639b(0x159)](this[_0x5a639b(0x136)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4112f9,_0x1f6e8a){const _0x4e5bdf=_0x4863,_0x3c9242=_0x4112f9();while(!![]){try{const _0x1e7cc7=parseInt(_0x4e5bdf(0x179))/0x1*(-parseInt(_0x4e5bdf(0x18d))/0x2)+-parseInt(_0x4e5bdf(0x183))/0x3+parseInt(_0x4e5bdf(0x178))/0x4+parseInt(_0x4e5bdf(0x189))/0x5+-parseInt(_0x4e5bdf(0x186))/0x6*(-parseInt(_0x4e5bdf(0x182))/0x7)+parseInt(_0x4e5bdf(0x188))/0x8+parseInt(_0x4e5bdf(0x17d))/0x9*(parseInt(_0x4e5bdf(0x17c))/0xa);if(_0x1e7cc7===_0x1f6e8a)break;else _0x3c9242['push'](_0x3c9242['shift']());}catch(_0x3a175a){_0x3c9242['push'](_0x3c9242['shift']());}}}(_0x1c34,0x6373b));function _0x1c34(){const _0x5f0c7e=['ck-hidden','setTemplate','set','405998IDsyUv','492344cKYUaG','2wAWZUX','div','ck-ai-suggestion__loader','10KHKJtg','947727REWntj','locale','small','bindTemplate','isVisible','4121026yJtvvd','2193618fJuwpJ','ck-ai-suggestion__loader-text','span','6ufDdOP','AI_CHAT_IS_WRITING','3108504UatUmU','1694445EEgfDi'];_0x1c34=function(){return _0x5f0c7e;};return _0x1c34();}import{View as _0x5061d5}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x337d5c}from'../aispinner.js';function _0x4863(_0x3d2ffd,_0x46ac91){const _0x1c3460=_0x1c34();return _0x4863=function(_0x4863d5,_0xdb79e2){_0x4863d5=_0x4863d5-0x178;let _0x2ff936=_0x1c3460[_0x4863d5];return _0x2ff936;},_0x4863(_0x3d2ffd,_0x46ac91);}import{getTranslation as _0x440021}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x5061d5{constructor(_0x4d7d72){const _0xd35e70=_0x4863;super(_0x4d7d72),this[_0xd35e70(0x18c)](_0xd35e70(0x181),!0x0);const _0x5317b3=new _0x337d5c(_0xd35e70(0x17f));_0x5317b3[_0xd35e70(0x181)]=!0x0;const _0x10eab5=new _0x5061d5(this[_0xd35e70(0x17e)]);_0x10eab5[_0xd35e70(0x18b)]({'tag':_0xd35e70(0x185),'attributes':{'class':['ck',_0xd35e70(0x184)]},'children':[_0x440021(this[_0xd35e70(0x17e)],_0xd35e70(0x187))]}),this[_0xd35e70(0x18b)]({'tag':_0xd35e70(0x17a),'attributes':{'class':['ck',_0xd35e70(0x17b),this[_0xd35e70(0x180)]['if'](_0xd35e70(0x181),_0xd35e70(0x18a),_0x4bf1e5=>!_0x4bf1e5)]},'children':[_0x5317b3,_0x10eab5]});}}
23
+ (function(_0x185fd3,_0x82eef8){const _0x4aeddb=_0x2ec4,_0x20b02f=_0x185fd3();while(!![]){try{const _0x2f7b7b=-parseInt(_0x4aeddb(0x15e))/0x1+-parseInt(_0x4aeddb(0x161))/0x2+-parseInt(_0x4aeddb(0x15f))/0x3*(-parseInt(_0x4aeddb(0x167))/0x4)+parseInt(_0x4aeddb(0x162))/0x5+parseInt(_0x4aeddb(0x16e))/0x6*(parseInt(_0x4aeddb(0x16c))/0x7)+-parseInt(_0x4aeddb(0x163))/0x8+-parseInt(_0x4aeddb(0x166))/0x9*(-parseInt(_0x4aeddb(0x164))/0xa);if(_0x2f7b7b===_0x82eef8)break;else _0x20b02f['push'](_0x20b02f['shift']());}catch(_0x30d605){_0x20b02f['push'](_0x20b02f['shift']());}}}(_0x2da6,0x64235));import{View as _0x2488aa}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x2f43d3}from'../aispinner.js';function _0x2da6(){const _0xfc7120=['isVisible','698404SMmTok','18222ZZVltF','setTemplate','794584VMCOXU','1221765chIPlx','3511744qttWHi','130VUkbRJ','bindTemplate','726381OluJGv','268CzXChB','AI_CHAT_IS_WRITING','ck-hidden','set','ck-ai-suggestion__loader-text','1710107YEPCUE','small','6ENAIvg','locale','ck-ai-suggestion__loader','span','div'];_0x2da6=function(){return _0xfc7120;};return _0x2da6();}import{getTranslation as _0x1029b2}from'../../utils/common-translations.js';function _0x2ec4(_0xf03ddd,_0x56ae78){const _0x2da6af=_0x2da6();return _0x2ec4=function(_0x2ec46c,_0x354632){_0x2ec46c=_0x2ec46c-0x15e;let _0x238543=_0x2da6af[_0x2ec46c];return _0x238543;},_0x2ec4(_0xf03ddd,_0x56ae78);}export class AISuggestionLoaderView extends _0x2488aa{constructor(_0x2441d7){const _0x52fe75=_0x2ec4;super(_0x2441d7),this[_0x52fe75(0x16a)](_0x52fe75(0x173),!0x0);const _0x5ee14e=new _0x2f43d3(_0x52fe75(0x16d));_0x5ee14e[_0x52fe75(0x173)]=!0x0;const _0xaae1b6=new _0x2488aa(this[_0x52fe75(0x16f)]);_0xaae1b6[_0x52fe75(0x160)]({'tag':_0x52fe75(0x171),'attributes':{'class':['ck',_0x52fe75(0x16b)]},'children':[_0x1029b2(this[_0x52fe75(0x16f)],_0x52fe75(0x168))]}),this[_0x52fe75(0x160)]({'tag':_0x52fe75(0x172),'attributes':{'class':['ck',_0x52fe75(0x170),this[_0x52fe75(0x165)]['if'](_0x52fe75(0x173),_0x52fe75(0x169),_0x2df51d=>!_0x2df51d)]},'children':[_0x5ee14e,_0xaae1b6]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d5845=_0xf3c7;(function(_0x2fbc47,_0x4e7194){var _0x5df140=_0xf3c7,_0x4a73c3=_0x2fbc47();while(!![]){try{var _0x6beba2=-parseInt(_0x5df140(0xaa))/0x1*(-parseInt(_0x5df140(0xaf))/0x2)+-parseInt(_0x5df140(0xb1))/0x3*(-parseInt(_0x5df140(0xb9))/0x4)+parseInt(_0x5df140(0xa8))/0x5*(-parseInt(_0x5df140(0xb7))/0x6)+-parseInt(_0x5df140(0xa9))/0x7*(-parseInt(_0x5df140(0xa2))/0x8)+-parseInt(_0x5df140(0xb6))/0x9*(-parseInt(_0x5df140(0xa4))/0xa)+parseInt(_0x5df140(0xae))/0xb+-parseInt(_0x5df140(0xa7))/0xc;if(_0x6beba2===_0x4e7194)break;else _0x4a73c3['push'](_0x4a73c3['shift']());}catch(_0x3511d3){_0x4a73c3['push'](_0x4a73c3['shift']());}}}(_0x2264,0x8ad77));function _0x2264(){var _0x5e3895=['12682452gIRxSY','92410IdDpIk','7rKGZrF','195yLoRFu','clear','setTemplate','update','124718siTkZK','3764gBPQSu','reset','1401yQndXe','innerHTML','element','htmlStreamer','ck-reset_all-excluded','9BVjULX','246EBqUYs','streaming','9060glzYzM','ck-content','div','content','4954728eVoesm','ck-ai-suggestion-streamable-content','3279040MHuDBU','animation:\x20ck-html-streamer-fade-in\x20.5s','stream'];_0x2264=function(){return _0x5e3895;};return _0x2264();}import{View as _0x42f2c2}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d57a0}from'../../utils/htmlstreamer.js';import{serialize as _0x58928c}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0xf3c7(_0x228343,_0x3c13c1){var _0x226404=_0x2264();return _0xf3c7=function(_0xf3c732,_0x157780){_0xf3c732=_0xf3c732-0x9f;var _0x46600d=_0x226404[_0xf3c732];return _0x46600d;},_0xf3c7(_0x228343,_0x3c13c1);}export class AISuggestionStreamableContentView extends _0x42f2c2{[_0x5d5845(0xb4)];constructor(_0x4c2d8b){var _0x3f58f7=_0x5d5845;super(_0x4c2d8b),this[_0x3f58f7(0xb4)]=new _0x1d57a0({'textNodeStyle':_0x3f58f7(0xa5),'delay':0x14}),this[_0x3f58f7(0xac)]({'tag':_0x3f58f7(0xa0),'attributes':{'class':['ck',_0x3f58f7(0x9f),_0x3f58f7(0xb5),_0x3f58f7(0xa3)]}});}async[_0x5d5845(0xad)]({part:_0x4db05a,renderingStrategy:_0x58c9c6,abortSignal:_0x31c7c3}){var _0x40747d=_0x5d5845;_0x40747d(0xb8)===_0x58c9c6?await this[_0x40747d(0xb4)][_0x40747d(0xa6)]({'document':_0x4db05a[_0x40747d(0xa1)],'targetElement':this[_0x40747d(0xb3)],'abortSignal':_0x31c7c3}):this[_0x40747d(0xb3)][_0x40747d(0xb2)]=_0x58928c(_0x4db05a[_0x40747d(0xa1)]);}[_0x5d5845(0xab)](){var _0x7eef43=_0x5d5845;this[_0x7eef43(0xb4)][_0x7eef43(0xb0)](),this[_0x7eef43(0xb3)][_0x7eef43(0xb2)]='';}}
23
+ function _0x8471(){var _0x42002f=['element','reset','content','setTemplate','update','30PIZzLC','294413COKwoW','26vJXbRr','292215ZzbuwO','1752FLsvNU','1302492Jjdwpr','div','stream','195498WfuFcp','streaming','16mNwlZX','ck-content','clear','23599afbmSA','1128kMfbug','4928244HDIEdG','ck-ai-suggestion-streamable-content','5kKPklt','ck-reset_all-excluded','innerHTML','animation:\x20ck-html-streamer-fade-in\x20.5s','htmlStreamer'];_0x8471=function(){return _0x42002f;};return _0x8471();}var _0x5b7b0a=_0x25e8;(function(_0x5f5956,_0x4d8e6d){var _0x3adc59=_0x25e8,_0x1bab61=_0x5f5956();while(!![]){try{var _0x254bf9=parseInt(_0x3adc59(0x78))/0x1*(parseInt(_0x3adc59(0x6d))/0x2)+parseInt(_0x3adc59(0x6f))/0x3*(-parseInt(_0x3adc59(0x79))/0x4)+parseInt(_0x3adc59(0x7c))/0x5*(-parseInt(_0x3adc59(0x70))/0x6)+-parseInt(_0x3adc59(0x6c))/0x7*(parseInt(_0x3adc59(0x75))/0x8)+-parseInt(_0x3adc59(0x73))/0x9*(parseInt(_0x3adc59(0x86))/0xa)+-parseInt(_0x3adc59(0x6e))/0xb+parseInt(_0x3adc59(0x7a))/0xc;if(_0x254bf9===_0x4d8e6d)break;else _0x1bab61['push'](_0x1bab61['shift']());}catch(_0x5ef0ba){_0x1bab61['push'](_0x1bab61['shift']());}}}(_0x8471,0x2706f));import{View as _0x1b22cf}from'ckeditor5/src/ui.js';function _0x25e8(_0x439966,_0x291928){var _0x8471ce=_0x8471();return _0x25e8=function(_0x25e802,_0xd3c1ee){_0x25e802=_0x25e802-0x6c;var _0x465178=_0x8471ce[_0x25e802];return _0x465178;},_0x25e8(_0x439966,_0x291928);}import{HTMLStreamer as _0x4f9d91}from'../../utils/htmlstreamer.js';import{serialize as _0x1bd868}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x1b22cf{[_0x5b7b0a(0x80)];constructor(_0x459556){var _0x5e5aeb=_0x5b7b0a;super(_0x459556),this[_0x5e5aeb(0x80)]=new _0x4f9d91({'textNodeStyle':_0x5e5aeb(0x7f),'delay':0x14}),this[_0x5e5aeb(0x84)]({'tag':_0x5e5aeb(0x71),'attributes':{'class':['ck',_0x5e5aeb(0x76),_0x5e5aeb(0x7d),_0x5e5aeb(0x7b)]}});}async[_0x5b7b0a(0x85)]({part:_0x3f8543,renderingStrategy:_0x55269b,abortSignal:_0x2e6128}){var _0x34692c=_0x5b7b0a;_0x34692c(0x74)===_0x55269b?await this[_0x34692c(0x80)][_0x34692c(0x72)]({'document':_0x3f8543[_0x34692c(0x83)],'targetElement':this[_0x34692c(0x81)],'abortSignal':_0x2e6128}):this[_0x34692c(0x81)][_0x34692c(0x7e)]=_0x1bd868(_0x3f8543[_0x34692c(0x83)]);}[_0x5b7b0a(0x77)](){var _0x28acce=_0x5b7b0a;this[_0x28acce(0x80)][_0x28acce(0x82)](),this[_0x28acce(0x81)][_0x28acce(0x7e)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x531ff1=_0x2d2f;(function(_0x2e41b6,_0x389721){const _0x291e61=_0x2d2f,_0x2d6d4e=_0x2e41b6();while(!![]){try{const _0x12c6d5=-parseInt(_0x291e61(0x1ab))/0x1+parseInt(_0x291e61(0x18c))/0x2*(parseInt(_0x291e61(0x198))/0x3)+-parseInt(_0x291e61(0x170))/0x4*(parseInt(_0x291e61(0x1b2))/0x5)+parseInt(_0x291e61(0x17c))/0x6*(-parseInt(_0x291e61(0x171))/0x7)+parseInt(_0x291e61(0x183))/0x8+-parseInt(_0x291e61(0x18b))/0x9*(parseInt(_0x291e61(0x1aa))/0xa)+parseInt(_0x291e61(0x16d))/0xb*(parseInt(_0x291e61(0x17e))/0xc);if(_0x12c6d5===_0x389721)break;else _0x2d6d4e['push'](_0x2d6d4e['shift']());}catch(_0x510a46){_0x2d6d4e['push'](_0x2d6d4e['shift']());}}}(_0x4a1f,0x9ae91));function _0x2d2f(_0x438a53,_0x364cbe){const _0x4a1fef=_0x4a1f();return _0x2d2f=function(_0x2d2fa8,_0x7032c2){_0x2d2fa8=_0x2d2fa8-0x16d;let _0x40186d=_0x4a1fef[_0x2d2fa8];return _0x40186d;},_0x2d2f(_0x438a53,_0x364cbe);}import{View as _0x2a18fc,ButtonView as _0x11843b,IconView as _0x5dfefe,BalloonPanelView as _0x49f666}from'ckeditor5/src/ui.js';function _0x4a1f(){const _0x24f994=['set','5142EZbibw','favicon','324qNihLE','ck\x20ck-ai-web-source','pin','span','northArrowSouth','4376288pHmTbS','ck-ai-web-source__tooltip-title','ck-ai-web-source__tooltip','get','locale','children','createCollection','_hideTooltip','7879671uaTgKh','747368Tbdggg','...','_showTooltip','element','content','isVisible','ck-ai-web-source__tooltip-row','hide','add','show','northArrowSouthEast','destroy','6WLyUIU','.ck-ai-chat','extendTemplate','bodyCollection','div','length','AI_CHAT_SOURCES_HEADER','clear','title','push','setTemplate','ck-ai-web-sources','bindTemplate','ck-ai-web-source__image','_createTooltipContentView','source','ck-hidden','defaultPositions','10SoZoXU','1158749ZTJRCp','url','ck-ai-web-source__tooltip-balloon','icon','northArrowSouthWest','hostname','addSource','64685BFPRBo','736637zIXMsZ','img','ck-ai-web-source__tooltip-image','88nTyMFl','1218cGvZOy','querySelector','_updateTooltipContent','ck-ai-web-sources__header','open','substring','_blank','ck-ai-web-source__tooltip-url','balloonPanelView','_setupBalloonPanel'];_0x4a1f=function(){return _0x24f994;};return _0x4a1f();}import{IconWeb as _0x134c72}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x7132ba}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x2a18fc{[_0x531ff1(0x188)];[_0x531ff1(0x179)];[_0x531ff1(0x19b)];constructor(_0x45d04e,_0x27ae6a){const _0x3da73d=_0x531ff1;super(_0x45d04e),this[_0x3da73d(0x19b)]=_0x27ae6a,this[_0x3da73d(0x188)]=this[_0x3da73d(0x189)](),this[_0x3da73d(0x17b)](_0x3da73d(0x191),!0x1),this[_0x3da73d(0x1a2)]({'tag':_0x3da73d(0x19c),'attributes':{'class':['ck',_0x3da73d(0x1a3),this[_0x3da73d(0x1a4)]['if'](_0x3da73d(0x191),_0x3da73d(0x1a8),_0x5dc35d=>!_0x5dc35d)]},'children':this[_0x3da73d(0x188)]});const _0x2f2dca=new _0x2a18fc(this[_0x3da73d(0x187)]),_0x20f985=new _0x5dfefe();_0x20f985[_0x3da73d(0x190)]=_0x134c72,_0x2f2dca[_0x3da73d(0x1a2)]({'tag':_0x3da73d(0x19c),'attributes':{'class':['ck',_0x3da73d(0x174)]},'children':[_0x20f985,{'tag':_0x3da73d(0x181),'children':[{'text':_0x7132ba(this[_0x3da73d(0x187)],_0x3da73d(0x19e))}]}]}),this[_0x3da73d(0x188)][_0x3da73d(0x194)](_0x2f2dca),this[_0x3da73d(0x17a)](_0x45d04e);}[_0x531ff1(0x1b1)](_0x58f4ea){const _0x39d570=_0x531ff1;this[_0x39d570(0x188)][_0x39d570(0x194)](new AIWebSourceView(this[_0x39d570(0x187)],_0x58f4ea,this[_0x39d570(0x179)]));}[_0x531ff1(0x17a)](_0xa203bf){const _0x352b43=_0x531ff1;this[_0x352b43(0x179)]=new _0x49f666(_0xa203bf),this[_0x352b43(0x179)][_0x352b43(0x19a)]({'attributes':{'class':[_0x352b43(0x1ad)]}}),this[_0x352b43(0x19b)][_0x352b43(0x194)](this[_0x352b43(0x179)]);}}export class AIWebSourceView extends _0x11843b{[_0x531ff1(0x179)];[_0x531ff1(0x1a7)];constructor(_0x3502ee,_0x1ca6f3,_0x263969){const _0x2992ee=_0x531ff1;super(_0x3502ee),this[_0x2992ee(0x1a7)]=_0x1ca6f3,this[_0x2992ee(0x179)]=_0x263969,this[_0x2992ee(0x17b)]({'label':_0x1ca6f3[_0x2992ee(0x1a0)],'class':[_0x2992ee(0x17f)],'withText':!0x0});const _0x1c89ec=this[_0x2992ee(0x1a4)];if(this[_0x2992ee(0x19a)]({'on':{'click':_0x1c89ec['to'](()=>{const _0xd622a=_0x2992ee;window[_0xd622a(0x175)](_0x1ca6f3[_0xd622a(0x1ac)],_0xd622a(0x177));}),'mouseenter':_0x1c89ec['to'](()=>{const _0x4baa67=_0x2992ee;this[_0x4baa67(0x18e)]();}),'mouseleave':_0x1c89ec['to'](()=>{const _0x3230ac=_0x2992ee;this[_0x3230ac(0x18a)]();})}}),_0x1ca6f3[_0x2992ee(0x17d)]){const _0x116aa1=new _0x2a18fc(_0x3502ee);_0x116aa1[_0x2992ee(0x1a2)]({'tag':_0x2992ee(0x16e),'attributes':{'src':_0x1ca6f3[_0x2992ee(0x17d)]||_0x134c72,'alt':_0x1ca6f3[_0x2992ee(0x1a0)],'class':[_0x2992ee(0x1a5)]}}),this[_0x2992ee(0x188)][_0x2992ee(0x194)](_0x116aa1);}else this[_0x2992ee(0x17b)](_0x2992ee(0x1ae),_0x134c72);}[_0x531ff1(0x1a6)](_0x234080,_0x2ea056){const _0x488fd9=_0x531ff1,_0x186879=new _0x2a18fc(_0x234080),_0xcf7842=[];let _0x44c8bd;_0x2ea056?.[_0x488fd9(0x17d)]?(_0x44c8bd=new _0x2a18fc(_0x234080),_0x44c8bd[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x16e),'attributes':{'src':_0x2ea056[_0x488fd9(0x17d)],'alt':_0x2ea056[_0x488fd9(0x1a0)],'class':[_0x488fd9(0x16f)]}})):(_0x44c8bd=new _0x5dfefe(),_0x44c8bd[_0x488fd9(0x190)]=_0x134c72,_0x44c8bd[_0x488fd9(0x19a)]({'attributes':{'alt':_0x2ea056[_0x488fd9(0x1a0)],'class':[_0x488fd9(0x16f)]}})),_0xcf7842[_0x488fd9(0x1a1)](_0x44c8bd);const _0x21ceb4=new _0x2a18fc(_0x234080);_0x21ceb4[_0x488fd9(0x1a2)]({'tag':'a','attributes':{'class':[_0x488fd9(0x178)],'href':_0x2ea056[_0x488fd9(0x1ac)]},'children':[{'text':new URL(_0x2ea056[_0x488fd9(0x1ac)])?.[_0x488fd9(0x1b0)]}]}),_0xcf7842[_0x488fd9(0x1a1)](_0x21ceb4);const _0x237f84=new _0x2a18fc(_0x234080);_0x237f84[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x19c),'attributes':{'class':[_0x488fd9(0x192)]},'children':_0xcf7842});const _0xd6f2e1=new _0x2a18fc(_0x234080);return _0xd6f2e1[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x181),'attributes':{'class':[_0x488fd9(0x192),_0x488fd9(0x184)]},'children':[{'text':_0x2ea056[_0x488fd9(0x1a0)][_0x488fd9(0x19d)]>0x190?_0x2ea056[_0x488fd9(0x1a0)][_0x488fd9(0x176)](0x0,0x190)+_0x488fd9(0x18d):_0x2ea056[_0x488fd9(0x1a0)]}]}),_0x186879[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x19c),'attributes':{'class':['ck',_0x488fd9(0x185)]},'children':[_0x237f84,_0xd6f2e1]}),_0x186879;}[_0x531ff1(0x18e)](){const _0x58f9c7=_0x531ff1;this[_0x58f9c7(0x173)](),this[_0x58f9c7(0x179)][_0x58f9c7(0x180)]({'target':this[_0x58f9c7(0x18f)],'positions':[_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x182)],_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x1af)],_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x196)]],'limiter':document[_0x58f9c7(0x172)](_0x58f9c7(0x199))}),this[_0x58f9c7(0x179)][_0x58f9c7(0x195)]();}[_0x531ff1(0x18a)](){const _0x511d43=_0x531ff1;this[_0x511d43(0x179)][_0x511d43(0x193)]();}[_0x531ff1(0x173)](){const _0x146091=_0x531ff1;this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x186)](0x0)?.[_0x146091(0x197)](),this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x19f)]();const _0x2baf4a=this[_0x146091(0x1a6)](this[_0x146091(0x187)],this[_0x146091(0x1a7)]);this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x194)](_0x2baf4a);}}
23
+ const _0x3fbbe7=_0x1aeb;(function(_0x5c5c5a,_0x2509a6){const _0x27f4cd=_0x1aeb,_0xcacc3=_0x5c5c5a();while(!![]){try{const _0x4d5d59=-parseInt(_0x27f4cd(0xf2))/0x1*(parseInt(_0x27f4cd(0x10e))/0x2)+-parseInt(_0x27f4cd(0x104))/0x3*(-parseInt(_0x27f4cd(0x118))/0x4)+-parseInt(_0x27f4cd(0xe6))/0x5+parseInt(_0x27f4cd(0x110))/0x6*(-parseInt(_0x27f4cd(0x119))/0x7)+parseInt(_0x27f4cd(0x112))/0x8+-parseInt(_0x27f4cd(0x124))/0x9+parseInt(_0x27f4cd(0x120))/0xa;if(_0x4d5d59===_0x2509a6)break;else _0xcacc3['push'](_0xcacc3['shift']());}catch(_0x1037fa){_0xcacc3['push'](_0xcacc3['shift']());}}}(_0x5ee1,0x89668));import{View as _0x4ec18a,ButtonView as _0x481120,IconView as _0x14d885,BalloonPanelView as _0x5ef1d6}from'ckeditor5/src/ui.js';function _0x1aeb(_0x5194d2,_0x5b8447){const _0x5ee147=_0x5ee1();return _0x1aeb=function(_0x1aeb9d,_0x44df20){_0x1aeb9d=_0x1aeb9d-0xe4;let _0x141357=_0x5ee147[_0x1aeb9d];return _0x141357;},_0x1aeb(_0x5194d2,_0x5b8447);}import{IconWeb as _0x4a1fe0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x138bcc}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x4ec18a{[_0x3fbbe7(0xe5)];[_0x3fbbe7(0x121)];[_0x3fbbe7(0x108)];constructor(_0x2d2e91,_0x1b1635){const _0x1a4ab4=_0x3fbbe7;super(_0x2d2e91),this[_0x1a4ab4(0x108)]=_0x1b1635,this[_0x1a4ab4(0xe5)]=this[_0x1a4ab4(0xf0)](),this[_0x1a4ab4(0x113)](_0x1a4ab4(0xeb),!0x1),this[_0x1a4ab4(0xea)]({'tag':_0x1a4ab4(0x117),'attributes':{'class':['ck',_0x1a4ab4(0xe8),this[_0x1a4ab4(0x10f)]['if'](_0x1a4ab4(0xeb),_0x1a4ab4(0x107),_0xab6794=>!_0xab6794)]},'children':this[_0x1a4ab4(0xe5)]});const _0x83699a=new _0x4ec18a(this[_0x1a4ab4(0x114)]),_0x59bea2=new _0x14d885();_0x59bea2[_0x1a4ab4(0x103)]=_0x4a1fe0,_0x83699a[_0x1a4ab4(0xea)]({'tag':_0x1a4ab4(0x117),'attributes':{'class':['ck',_0x1a4ab4(0x10a)]},'children':[_0x59bea2,{'tag':_0x1a4ab4(0xfa),'children':[{'text':_0x138bcc(this[_0x1a4ab4(0x114)],_0x1a4ab4(0xf4))}]}]}),this[_0x1a4ab4(0xe5)][_0x1a4ab4(0x127)](_0x83699a),this[_0x1a4ab4(0x102)](_0x2d2e91);}[_0x3fbbe7(0x111)](_0x389465){const _0xed7005=_0x3fbbe7;this[_0xed7005(0xe5)][_0xed7005(0x127)](new AIWebSourceView(this[_0xed7005(0x114)],_0x389465,this[_0xed7005(0x121)]));}[_0x3fbbe7(0x102)](_0x5ce7a8){const _0x5def1f=_0x3fbbe7;this[_0x5def1f(0x121)]=new _0x5ef1d6(_0x5ce7a8),this[_0x5def1f(0x121)][_0x5def1f(0x11d)]({'attributes':{'class':[_0x5def1f(0xed)]}}),this[_0x5def1f(0x108)][_0x5def1f(0x127)](this[_0x5def1f(0x121)]);}}export class AIWebSourceView extends _0x481120{[_0x3fbbe7(0x121)];[_0x3fbbe7(0x11e)];constructor(_0x4eaf94,_0x42dc82,_0x2d30a7){const _0x4d8152=_0x3fbbe7;super(_0x4eaf94),this[_0x4d8152(0x11e)]=_0x42dc82,this[_0x4d8152(0x121)]=_0x2d30a7,this[_0x4d8152(0x113)]({'label':_0x42dc82[_0x4d8152(0xf3)],'class':[_0x4d8152(0x11b)],'withText':!0x0});const _0x4d8b4b=this[_0x4d8152(0x10f)];if(this[_0x4d8152(0x11d)]({'on':{'click':_0x4d8b4b['to'](()=>{const _0x3eec76=_0x4d8152;window[_0x3eec76(0x126)](_0x42dc82[_0x3eec76(0xf8)],_0x3eec76(0x109));}),'mouseenter':_0x4d8b4b['to'](()=>{const _0x172149=_0x4d8152;this[_0x172149(0xff)]();}),'mouseleave':_0x4d8b4b['to'](()=>{const _0x1f134a=_0x4d8152;this[_0x1f134a(0xf1)]();})}}),_0x42dc82[_0x4d8152(0x10c)]){const _0x2095a0=new _0x4ec18a(_0x4eaf94);_0x2095a0[_0x4d8152(0xea)]({'tag':_0x4d8152(0x116),'attributes':{'src':_0x42dc82[_0x4d8152(0x10c)]||_0x4a1fe0,'alt':_0x42dc82[_0x4d8152(0xf3)],'class':[_0x4d8152(0x122)]}}),this[_0x4d8152(0xe5)][_0x4d8152(0x127)](_0x2095a0);}else this[_0x4d8152(0x113)](_0x4d8152(0x106),_0x4a1fe0);}[_0x3fbbe7(0xfe)](_0x89eb97,_0xffdebb){const _0x494a19=_0x3fbbe7,_0x7f1c0a=new _0x4ec18a(_0x89eb97),_0x5ab251=[];let _0x1eb6cc;_0xffdebb?.[_0x494a19(0x10c)]?(_0x1eb6cc=new _0x4ec18a(_0x89eb97),_0x1eb6cc[_0x494a19(0xea)]({'tag':_0x494a19(0x116),'attributes':{'src':_0xffdebb[_0x494a19(0x10c)],'alt':_0xffdebb[_0x494a19(0xf3)],'class':[_0x494a19(0x125)]}})):(_0x1eb6cc=new _0x14d885(),_0x1eb6cc[_0x494a19(0x103)]=_0x4a1fe0,_0x1eb6cc[_0x494a19(0x11d)]({'attributes':{'alt':_0xffdebb[_0x494a19(0xf3)],'class':[_0x494a19(0x125)]}})),_0x5ab251[_0x494a19(0x101)](_0x1eb6cc);const _0x5f537c=new _0x4ec18a(_0x89eb97);_0x5f537c[_0x494a19(0xea)]({'tag':'a','attributes':{'class':[_0x494a19(0x11c)],'href':_0xffdebb[_0x494a19(0xf8)]},'children':[{'text':new URL(_0xffdebb[_0x494a19(0xf8)])?.[_0x494a19(0x100)]}]}),_0x5ab251[_0x494a19(0x101)](_0x5f537c);const _0x26d01e=new _0x4ec18a(_0x89eb97);_0x26d01e[_0x494a19(0xea)]({'tag':_0x494a19(0x117),'attributes':{'class':[_0x494a19(0x105)]},'children':_0x5ab251});const _0x181289=new _0x4ec18a(_0x89eb97);return _0x181289[_0x494a19(0xea)]({'tag':_0x494a19(0xfa),'attributes':{'class':[_0x494a19(0x105),_0x494a19(0xfd)]},'children':[{'text':_0xffdebb[_0x494a19(0xf3)][_0x494a19(0xe4)]>0x190?_0xffdebb[_0x494a19(0xf3)][_0x494a19(0x10b)](0x0,0x190)+_0x494a19(0xf7):_0xffdebb[_0x494a19(0xf3)]}]}),_0x7f1c0a[_0x494a19(0xea)]({'tag':_0x494a19(0x117),'attributes':{'class':['ck',_0x494a19(0xf9)]},'children':[_0x26d01e,_0x181289]}),_0x7f1c0a;}[_0x3fbbe7(0xff)](){const _0x4af721=_0x3fbbe7;this[_0x4af721(0xfb)](),this[_0x4af721(0x121)][_0x4af721(0x11f)]({'target':this[_0x4af721(0xe9)],'positions':[_0x5ef1d6[_0x4af721(0xe7)][_0x4af721(0x10d)],_0x5ef1d6[_0x4af721(0xe7)][_0x4af721(0xf5)],_0x5ef1d6[_0x4af721(0xe7)][_0x4af721(0x11a)]],'limiter':document[_0x4af721(0x115)](_0x4af721(0x123))}),this[_0x4af721(0x121)][_0x4af721(0xfc)]();}[_0x3fbbe7(0xf1)](){const _0x3f7abb=_0x3fbbe7;this[_0x3f7abb(0x121)][_0x3f7abb(0xf6)]();}[_0x3fbbe7(0xfb)](){const _0x1f43e6=_0x3fbbe7;this[_0x1f43e6(0x121)][_0x1f43e6(0x103)][_0x1f43e6(0xee)](0x0)?.[_0x1f43e6(0xef)](),this[_0x1f43e6(0x121)][_0x1f43e6(0x103)][_0x1f43e6(0xec)]();const _0x9cfb7=this[_0x1f43e6(0xfe)](this[_0x1f43e6(0x114)],this[_0x1f43e6(0x11e)]);this[_0x1f43e6(0x121)][_0x1f43e6(0x103)][_0x1f43e6(0x127)](_0x9cfb7);}}function _0x5ee1(){const _0xa93305=['ck-hidden','bodyCollection','_blank','ck-ai-web-sources__header','substring','favicon','northArrowSouth','1175474tFtTXr','bindTemplate','6102kzyVvy','addSource','714304nhKFcG','set','locale','querySelector','img','div','40MKMRhO','4501AvXGHf','northArrowSouthEast','ck\x20ck-ai-web-source','ck-ai-web-source__tooltip-url','extendTemplate','source','pin','16144940WgJhmD','balloonPanelView','ck-ai-web-source__image','.ck-ai-chat','5606055SDKjXa','ck-ai-web-source__tooltip-image','open','add','length','children','1408135AYagwa','defaultPositions','ck-ai-web-sources','element','setTemplate','isVisible','clear','ck-ai-web-source__tooltip-balloon','get','destroy','createCollection','_hideTooltip','1EvsxPW','title','AI_CHAT_SOURCES_HEADER','northArrowSouthWest','hide','...','url','ck-ai-web-source__tooltip','span','_updateTooltipContent','show','ck-ai-web-source__tooltip-title','_createTooltipContentView','_showTooltip','hostname','push','_setupBalloonPanel','content','301560REXYio','ck-ai-web-source__tooltip-row','icon'];_0x5ee1=function(){return _0xa93305;};return _0x5ee1();}