@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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(_0x574295,_0x5d122b){const _0x2dce6c=_0x56c1,_0xfef663=_0x574295();while(!![]){try{const _0xf2ce81=-parseInt(_0x2dce6c(0x1bf))/0x1*(-parseInt(_0x2dce6c(0x1bb))/0x2)+-parseInt(_0x2dce6c(0x1c0))/0x3+-parseInt(_0x2dce6c(0x1c4))/0x4+parseInt(_0x2dce6c(0x1bc))/0x5*(parseInt(_0x2dce6c(0x1c2))/0x6)+-parseInt(_0x2dce6c(0x1b9))/0x7*(parseInt(_0x2dce6c(0x1be))/0x8)+parseInt(_0x2dce6c(0x1bd))/0x9*(-parseInt(_0x2dce6c(0x1c6))/0xa)+parseInt(_0x2dce6c(0x1c7))/0xb;if(_0xf2ce81===_0x5d122b)break;else _0xfef663['push'](_0xfef663['shift']());}catch(_0x27464b){_0xfef663['push'](_0xfef663['shift']());}}}(_0x104e,0xb16b0));import{SpinnerView as _0x30309f}from'ckeditor5/src/ui.js';function _0x104e(){const _0x55c955=['395930rllwai','13594361PFeONO','14896VPjnIX','ck-ai-spinner_','2OwrNho','1803620VnIfMK','207LaJPDR','392gTZlMC','1371926RBvEde','1817871EWBjQs','extendTemplate','12GmLbGQ','span','3926612WwYkNK','ck-ai-spinner'];_0x104e=function(){return _0x55c955;};return _0x104e();}import'../../../theme/common/aispinner.css';function _0x56c1(_0x4d3a07,_0x3132ba){const _0x104e5e=_0x104e();return _0x56c1=function(_0x56c1f4,_0x1c6e5c){_0x56c1f4=_0x56c1f4-0x1b9;let _0x6c8f07=_0x104e5e[_0x56c1f4];return _0x6c8f07;},_0x56c1(_0x4d3a07,_0x3132ba);}export class AISpinnerView extends _0x30309f{constructor(_0x17bf6c=void 0x0){const _0x45f0ed=_0x56c1;super();const _0x179840=_0x17bf6c?_0x45f0ed(0x1ba)+_0x17bf6c:'';this[_0x45f0ed(0x1c1)]({'tag':_0x45f0ed(0x1c3),'attributes':{'class':[_0x45f0ed(0x1c5),_0x179840]}});}}
@@ -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 _0x5ac27e=_0x3b6c;(function(_0x198ad2,_0x4fceac){const _0x586b5a=_0x3b6c,_0x2ef5bb=_0x198ad2();while(!![]){try{const _0x1bfd95=parseInt(_0x586b5a(0xdb))/0x1*(parseInt(_0x586b5a(0xc0))/0x2)+-parseInt(_0x586b5a(0xc1))/0x3*(parseInt(_0x586b5a(0xbc))/0x4)+-parseInt(_0x586b5a(0xc3))/0x5*(-parseInt(_0x586b5a(0xd7))/0x6)+parseInt(_0x586b5a(0xc9))/0x7+-parseInt(_0x586b5a(0xd1))/0x8+-parseInt(_0x586b5a(0xe0))/0x9+parseInt(_0x586b5a(0xbd))/0xa;if(_0x1bfd95===_0x4fceac)break;else _0x2ef5bb['push'](_0x2ef5bb['shift']());}catch(_0x31595b){_0x2ef5bb['push'](_0x2ef5bb['shift']());}}}(_0x37c9,0x68426));function _0x3b6c(_0x13984c,_0x579bb7){const _0x37c9f6=_0x37c9();return _0x3b6c=function(_0x3b6c7f,_0x1bc6e6){_0x3b6c7f=_0x3b6c7f-0xb3;let _0x608984=_0x37c9f6[_0x3b6c7f];return _0x608984;},_0x3b6c(_0x13984c,_0x579bb7);}function _0x37c9(){const _0x960afe=['showCopy','showLike','3ZUbEXM','dislike','children','items','ck-ai-mini-toolbar','7190370jpnmAR','customView','bind','execute','set','AI_MINI_TOOLBAR_DISLIKE','full','like','copyButton','fire','likeButton','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_LIKE','_setupShowChangesButton','toggleShowChanges','icon','dislikeButton','_config','1827068rbpYsq','18089010BNlNQx','toggleShowChangesEnabled','_setupCopyButton','41698FIyUhx','3elDorz','addMany','20UEnyfB','length','_setupRatingButtons','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_COPY','showChangesButton','280567LajLmZ','showDislike','showChanges','ck-ai-mini-toolbar-copy-button','isShowChangesOn','isEnabled','ck-ai-button-tertiary','class','4893584KMHaZT','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isOn','extendTemplate','574368bKGskG','add'];_0x37c9=function(){return _0x960afe;};return _0x37c9();}import{ButtonView as _0x468382,IconView as _0x3b0c13,ToolbarView as _0x18cbc3}from'ckeditor5/src/ui.js';import{IconCheck as _0xda13fc,IconCopy as _0x30088c,IconShowChangesOff as _0x5d2e23,IconShowChangesOn as _0x5303d7,IconThumbDown as _0x2fe6ab,IconThumbUp as _0x5baf30}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4645db}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x18cbc3{[_0x5ac27e(0xe8)];[_0x5ac27e(0xb4)];[_0x5ac27e(0xba)];[_0x5ac27e(0xc8)];[_0x5ac27e(0xbb)];constructor(_0x328b54,_0x35e51f={}){const _0x294fa8=_0x5ac27e;super(_0x328b54),this[_0x294fa8(0xe4)](_0x294fa8(0xce),!0x0),this[_0x294fa8(0xe4)](_0x294fa8(0xcd),!0x1),this[_0x294fa8(0xbb)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x35e51f};const _0xc9faca=!(this[_0x294fa8(0xbb)][_0x294fa8(0xd9)]||this[_0x294fa8(0xbb)][_0x294fa8(0xcb)]||this[_0x294fa8(0xbb)][_0x294fa8(0xda)]||this[_0x294fa8(0xbb)][_0x294fa8(0xca)]||this[_0x294fa8(0xbb)][_0x294fa8(0xe1)]?.[_0x294fa8(0xc4)]);this[_0x294fa8(0xd0)]=_0xc9faca?_0x294fa8(0xc6):_0x294fa8(0xdf),this[_0x294fa8(0xbb)][_0x294fa8(0xd9)]&&(this[_0x294fa8(0xbf)](),this[_0x294fa8(0xde)][_0x294fa8(0xd8)](this[_0x294fa8(0xe8)])),this[_0x294fa8(0xbb)][_0x294fa8(0xcb)]&&(this[_0x294fa8(0xb7)](),this[_0x294fa8(0xde)][_0x294fa8(0xd8)](this[_0x294fa8(0xc8)])),this[_0x294fa8(0xc5)](),this[_0x294fa8(0xbb)][_0x294fa8(0xda)]&&this[_0x294fa8(0xde)][_0x294fa8(0xd8)](this[_0x294fa8(0xb4)]),this[_0x294fa8(0xbb)][_0x294fa8(0xca)]&&this[_0x294fa8(0xde)][_0x294fa8(0xd8)](this[_0x294fa8(0xba)]),this[_0x294fa8(0xbb)][_0x294fa8(0xe1)]&&this[_0x294fa8(0xde)][_0x294fa8(0xc2)](this[_0x294fa8(0xbb)][_0x294fa8(0xe1)]);}[_0x5ac27e(0xbe)](_0x50535f){const _0x18a9b5=_0x5ac27e;this[_0x18a9b5(0xc8)][_0x18a9b5(0xce)]=_0x50535f;}[_0x5ac27e(0xc5)](){const _0x135793=_0x5ac27e;this[_0x135793(0xb4)]=new _0x468382(this[_0x135793(0xd3)]),this[_0x135793(0xb4)][_0x135793(0xe4)]({'icon':_0x5baf30,'label':_0x4645db(this[_0x135793(0xd3)],_0x135793(0xb6)),'tooltip':!0x0}),this[_0x135793(0xb4)][_0x135793(0xe2)](_0x135793(0xce))['to'](this),this[_0x135793(0xb4)]['on'](_0x135793(0xe3),()=>{const _0x50e41c=_0x135793;this[_0x50e41c(0xb3)](_0x50e41c(0xe7));}),this[_0x135793(0xba)]=new _0x468382(this[_0x135793(0xd3)]),this[_0x135793(0xba)][_0x135793(0xe4)]({'icon':_0x2fe6ab,'label':_0x4645db(this[_0x135793(0xd3)],_0x135793(0xe5)),'tooltip':!0x0}),this[_0x135793(0xba)][_0x135793(0xe2)](_0x135793(0xce))['to'](this),this[_0x135793(0xba)]['on'](_0x135793(0xe3),()=>{const _0x12edda=_0x135793;this[_0x12edda(0xb3)](_0x12edda(0xdc));});}[_0x5ac27e(0xbf)](){const _0x2d074a=_0x5ac27e;this[_0x2d074a(0xe8)]=new _0x468382(this[_0x2d074a(0xd3)]),this[_0x2d074a(0xe8)][_0x2d074a(0xe4)]({'icon':_0x30088c,'label':_0x4645db(this[_0x2d074a(0xd3)],_0x2d074a(0xc7)),'class':_0x2d074a(0xcc),'tooltip':!0x0}),this[_0x2d074a(0xe8)][_0x2d074a(0xe2)](_0x2d074a(0xce))['to'](this);const _0x5cb657=new _0x3b0c13();_0x5cb657[_0x2d074a(0xe4)]({'content':_0xda13fc}),_0x5cb657[_0x2d074a(0xd6)]({'attributes':{'class':[_0x2d074a(0xb5)]}}),this[_0x2d074a(0xe8)]['on'](_0x2d074a(0xe3),()=>{const _0x19ccd0=_0x2d074a;this[_0x19ccd0(0xe8)][_0x19ccd0(0xd0)]=_0x19ccd0(0xd2),setTimeout(()=>{const _0x215c0b=_0x19ccd0;this[_0x215c0b(0xe8)][_0x215c0b(0xd0)]=_0x215c0b(0xcc);},0x7d0);}),this[_0x2d074a(0xe8)][_0x2d074a(0xdd)][_0x2d074a(0xd8)](_0x5cb657);}[_0x5ac27e(0xb7)](){const _0xd4a200=_0x5ac27e;this[_0xd4a200(0xc8)]=new _0x468382(this[_0xd4a200(0xd3)]),this[_0xd4a200(0xc8)][_0xd4a200(0xe4)]({'icon':_0x5d2e23,'label':_0x4645db(this[_0xd4a200(0xd3)],_0xd4a200(0xd4)),'withText':_0xd4a200(0xe6)==this[_0xd4a200(0xbb)][_0xd4a200(0xcb)],'tooltip':_0xd4a200(0xe6)!=this[_0xd4a200(0xbb)][_0xd4a200(0xcb)],'class':_0xd4a200(0xcf)}),this[_0xd4a200(0xc8)][_0xd4a200(0xe2)](_0xd4a200(0xd5))['to'](this,_0xd4a200(0xcd)),this[_0xd4a200(0xc8)][_0xd4a200(0xe2)](_0xd4a200(0xce))['to'](this),this[_0xd4a200(0xc8)][_0xd4a200(0xe2)](_0xd4a200(0xb9))['to'](this,_0xd4a200(0xcd),_0x5c3b33=>_0x5c3b33?_0x5303d7:_0x5d2e23),this[_0xd4a200(0xc8)]['on'](_0xd4a200(0xe3),()=>{const _0x38d8ac=_0xd4a200;this[_0x38d8ac(0xb3)](_0x38d8ac(0xb8));});}}
@@ -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 _0x811c(_0x15cbf0,_0xa401ab){const _0x240f35=_0x240f();return _0x811c=function(_0x811cbd,_0x3cc3f1){_0x811cbd=_0x811cbd-0xb2;let _0x4f1a80=_0x240f35[_0x811cbd];return _0x4f1a80;},_0x811c(_0x15cbf0,_0xa401ab);}const _0x4f2a46=_0x811c;function _0x240f(){const _0x2165b0=['AI_SUGGESTION_EMPTY_PART_WARNING','filter','_sourcesView','isActive','AI_SUGGESTION_NO_PARTS_WARNING','isTrackChangesOn','isEnabled','bind','partDefinition','623122WYQJBi','queueEmptyPromise','from','some','ck-ai-suggestion__body','updatePartState','_showUnchangedParts','2553988pEGcND','hasPendingParts','_cachedContentParts','add','hasNonEmptyParts','pending','isVisible','_switchButtonLabelsPlurality','set','_children','updateContentParts','forEach','14BDAfyi','24VizHEU','updateSources','markAsDone','_availableActions','getPartView','bodyCollection','delegate','areActionsDisabled','length','setContent','div','hasChanges','findIndex','updateVisibility','createCollection','addEventListener','state','empty-parts-warning','72wqnBlx','index','enqueue','8157616nhNVTK','2624020iqvlDk','_areActionsDisabled','locale','422391TAHqkN','warning','partsCount','push','_actionsView','find','availableActions','ck-ai-suggestion__body__content-parts','setTemplate','1314635VGzfqX','_updateContentPartsPromiseQueue','1115605mffkXP','abort','_emptyPartsWarningView','setPartActive','updateContent','addSource'];_0x240f=function(){return _0x2165b0;};return _0x240f();}(function(_0x431fa6,_0x2d25af){const _0x45ddce=_0x811c,_0xa19d97=_0x431fa6();while(!![]){try{const _0x52dd7c=-parseInt(_0x45ddce(0xbd))/0x1+parseInt(_0x45ddce(0xd0))/0x2*(-parseInt(_0x45ddce(0xea))/0x3)+parseInt(_0x45ddce(0xc4))/0x4+-parseInt(_0x45ddce(0xf5))/0x5+parseInt(_0x45ddce(0xd1))/0x6*(parseInt(_0x45ddce(0xf3))/0x7)+-parseInt(_0x45ddce(0xe6))/0x8+-parseInt(_0x45ddce(0xe3))/0x9*(-parseInt(_0x45ddce(0xe7))/0xa);if(_0x52dd7c===_0x2d25af)break;else _0xa19d97['push'](_0xa19d97['shift']());}catch(_0x594a63){_0xa19d97['push'](_0xa19d97['shift']());}}}(_0x240f,0x9b9e1));import{View as _0x3ef994}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x399b82}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3d56c4}from'../../utils/eventnames.js';import{PromiseQueue as _0x5335ca}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x13ea42}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x161235}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x489f43}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x37abef}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3ef994{[_0x4f2a46(0xee)];[_0x4f2a46(0xb6)];[_0x4f2a46(0xcd)];[_0x4f2a46(0xe8)];[_0x4f2a46(0xc3)];[_0x4f2a46(0xf4)];[_0x4f2a46(0xf7)];[_0x4f2a46(0xd4)];[_0x4f2a46(0xc6)]=[];constructor(_0x1beaf2,_0x21bad7){const _0x15ad19=_0x4f2a46;super(_0x1beaf2);const {areActionsDisabled:_0x1d3bcf,showUnchangedParts:_0x822766,availableActions:_0x42e8c6}=_0x21bad7;this[_0x15ad19(0xe8)]=_0x1d3bcf,this[_0x15ad19(0xc3)]=_0x822766,this[_0x15ad19(0xd4)]=_0x42e8c6,this[_0x15ad19(0xcc)](_0x15ad19(0xc5),!0x1),this[_0x15ad19(0xcc)](_0x15ad19(0xb9),!0x1),this[_0x15ad19(0xcd)]=this[_0x15ad19(0xdf)](),this[_0x15ad19(0xf4)]=new _0x5335ca(),this[_0x15ad19(0xf7)]=new _0x13ea42({'id':_0x15ad19(0xe2),'initialContent':_0x161235(_0x1beaf2,_0x15ad19(0xb4)),'level':_0x15ad19(0xeb)}),this[_0x15ad19(0xf7)][_0x15ad19(0xca)]=!0x1,this[_0x15ad19(0xee)]=new _0x489f43(_0x1beaf2,_0x21bad7[_0x15ad19(0xf0)],this[_0x15ad19(0xe8)]),this[_0x15ad19(0xee)][_0x15ad19(0xbb)](_0x15ad19(0xb9))['to'](this),this[_0x15ad19(0xb6)]=new _0x37abef(this[_0x15ad19(0xe9)],_0x21bad7[_0x15ad19(0xd6)]),_0x21bad7[_0x15ad19(0xd8)]?this[_0x15ad19(0xee)][_0x15ad19(0xba)]=!0x1:this[_0x15ad19(0xee)][_0x15ad19(0xbb)](_0x15ad19(0xba))['to'](this,_0x15ad19(0xc5)),this[_0x15ad19(0xee)][_0x15ad19(0xd7)](..._0x3d56c4)['to'](this),this[_0x15ad19(0xf2)]({'tag':_0x15ad19(0xdb),'attributes':{'class':['ck',_0x15ad19(0xc1)]},'children':[{'tag':_0x15ad19(0xdb),'attributes':{'class':['ck',_0x15ad19(0xf1)]},'children':this[_0x15ad19(0xcd)]},this[_0x15ad19(0xf7)],this[_0x15ad19(0xee)],this[_0x15ad19(0xb6)]]});}get[_0x4f2a46(0xec)](){const _0x561309=_0x4f2a46;return this[_0x561309(0xcd)][_0x561309(0xd9)];}async[_0x4f2a46(0xce)]({parts:_0x218380,renderingStrategy:_0x8f7f96,abortSignal:_0x3d0137}){const _0x56ce32=_0x4f2a46;this[_0x56ce32(0xcd)][_0x56ce32(0xd9)]?_0x218380[_0x56ce32(0xcf)](_0x39f7c4=>{const _0x582d4e=_0x56ce32,_0x558bef=this[_0x582d4e(0xc6)][_0x582d4e(0xdd)](_0x5f04b2=>_0x5f04b2[_0x582d4e(0xe4)]==_0x39f7c4[_0x582d4e(0xe4)]);-0x1===_0x558bef?this[_0x582d4e(0xc6)][_0x582d4e(0xed)](_0x39f7c4):this[_0x582d4e(0xc6)][_0x558bef]=_0x39f7c4;}):this[_0x56ce32(0xc6)]=_0x218380;const _0xf40ec3=this[_0x56ce32(0xc3)]?_0x218380:_0x218380[_0x56ce32(0xb5)](_0x36f71c=>_0x36f71c[_0x56ce32(0xdc)]);this[_0x56ce32(0xee)][_0x56ce32(0xcb)](_0xf40ec3[_0x56ce32(0xd9)]>0x1);for(const _0x1904a1 of _0xf40ec3)this[_0x56ce32(0xf4)][_0x56ce32(0xe5)](async _0x12e11a=>{const _0x18cc00=_0x56ce32;let _0x1e1ec2=this[_0x18cc00(0xd5)](_0x1904a1[_0x18cc00(0xe4)]);_0x1e1ec2||(_0x1e1ec2=new _0x399b82(this[_0x18cc00(0xe9)],{'part':_0x1904a1,'uiIndex':this[_0x18cc00(0xcd)][_0x18cc00(0xd9)]+0x1,'areActionsDisabled':this[_0x18cc00(0xe8)],'availableActions':this[_0x18cc00(0xd4)]}),_0x1e1ec2[_0x18cc00(0xd7)](..._0x3d56c4)['to'](this),this[_0x18cc00(0xcd)][_0x18cc00(0xc7)](_0x1e1ec2),this[_0x18cc00(0xc5)]=!0x0),await _0x1e1ec2[_0x18cc00(0xb2)]({'part':_0x1904a1,'renderingStrategy':_0x8f7f96,'showUnchangedParts':this[_0x18cc00(0xc3)],'abortSignal':_0x12e11a}),_0x1e1ec2[_0x18cc00(0xd3)]();});return _0x3d0137?.[_0x56ce32(0xe0)](_0x56ce32(0xf6),()=>{const _0x4a4d49=_0x56ce32;this[_0x4a4d49(0xf4)][_0x4a4d49(0xf6)]();}),this[_0x56ce32(0xf4)][_0x56ce32(0xbe)];}[_0x4f2a46(0xc2)](_0x1043bd,_0x19d04d){const _0x29df94=_0x4f2a46,_0x17b7e7=this[_0x29df94(0xd5)](_0x1043bd);_0x17b7e7&&(_0x17b7e7[_0x29df94(0xe1)]=_0x19d04d),this[_0x29df94(0xc5)]=_0x29df94(0xc9)==_0x19d04d||Array[_0x29df94(0xbf)](this[_0x29df94(0xcd)])[_0x29df94(0xc0)](_0x4a021e=>_0x29df94(0xc9)==_0x4a021e[_0x29df94(0xe1)]);}[_0x4f2a46(0xf8)](_0x57fe09,_0x2258cf){const _0x207352=_0x4f2a46;if(!0x1===_0x57fe09){for(const _0x560b2d of this[_0x207352(0xcd)])_0x560b2d[_0x207352(0xb7)]=!0x1;}else{const _0x4de2f5=this[_0x207352(0xd5)](_0x57fe09);_0x4de2f5&&(_0x4de2f5[_0x207352(0xb7)]=_0x2258cf);}}[_0x4f2a46(0xd2)](_0x385160){const _0x3b08dd=_0x4f2a46;_0x385160[_0x3b08dd(0xcf)](_0x1e9288=>this[_0x3b08dd(0xb6)][_0x3b08dd(0xb3)](_0x1e9288)),this[_0x3b08dd(0xb6)][_0x3b08dd(0xca)]=!0x0;}[_0x4f2a46(0xd5)](_0x236aca){const _0x5a6cc5=_0x4f2a46;return this[_0x5a6cc5(0xcd)][_0x5a6cc5(0xef)](_0x454fc6=>_0x454fc6[_0x5a6cc5(0xbc)][_0x5a6cc5(0xe4)]==_0x236aca)??null;}[_0x4f2a46(0xd3)](){const _0x4aa72f=_0x4f2a46;if(!this[_0x4aa72f(0xc3)]){const _0x4fd19e=!this[_0x4aa72f(0xc6)][_0x4aa72f(0xef)](({hasChanges:_0x214863})=>_0x214863),_0x42618c=!!this[_0x4aa72f(0xc6)][_0x4aa72f(0xef)](({hasChanges:_0x320bdd})=>!_0x320bdd);this[_0x4aa72f(0xf7)][_0x4aa72f(0xca)]=0x0==this[_0x4aa72f(0xcd)][_0x4aa72f(0xd9)]||_0x42618c,_0x4fd19e?this[_0x4aa72f(0xf7)][_0x4aa72f(0xda)](_0x161235(this[_0x4aa72f(0xe9)],_0x4aa72f(0xb8))):this[_0x4aa72f(0xf7)][_0x4aa72f(0xda)](_0x161235(this[_0x4aa72f(0xe9)],_0x4aa72f(0xb4)));}this[_0x4aa72f(0xcd)][_0x4aa72f(0xcf)](_0x2c613b=>_0x2c613b[_0x4aa72f(0xd3)]()),this[_0x4aa72f(0xee)][_0x4aa72f(0xde)](this[_0x4aa72f(0xc8)]);}get[_0x4f2a46(0xc8)](){const _0x2940c9=_0x4f2a46;return this[_0x2940c9(0xcd)][_0x2940c9(0xb5)](_0xe7a0c5=>_0xe7a0c5[_0x2940c9(0xbc)][_0x2940c9(0xdc)])[_0x2940c9(0xd9)]>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
+ const _0x2b9242=_0x2a90;(function(_0x508a85,_0x26e7a6){const _0x583f3c=_0x2a90,_0x453446=_0x508a85();while(!![]){try{const _0x3fe2f1=parseInt(_0x583f3c(0x150))/0x1+-parseInt(_0x583f3c(0x153))/0x2+parseInt(_0x583f3c(0x14f))/0x3*(parseInt(_0x583f3c(0x15b))/0x4)+parseInt(_0x583f3c(0x141))/0x5+parseInt(_0x583f3c(0x14e))/0x6*(-parseInt(_0x583f3c(0x155))/0x7)+parseInt(_0x583f3c(0x158))/0x8*(-parseInt(_0x583f3c(0x143))/0x9)+parseInt(_0x583f3c(0x159))/0xa;if(_0x3fe2f1===_0x26e7a6)break;else _0x453446['push'](_0x453446['shift']());}catch(_0x167ade){_0x453446['push'](_0x453446['shift']());}}}(_0x3d92,0xf223a));function _0x3d92(){const _0x3a1ca1=['496254nmMMOH','add','878542SYyrbI','headerView','delegate','8HsPdLb','6579530REvbIp','updateContent','4TEJrGC','fire','updateSources','isTrackChangesOn','isOn','ck-ai-suggestion__container','bind','hasNonEmptyParts','4184365LUaPRs','div','16677603pzIXSZ','createCollection','toggleSuggestionDisplayMode','areChangesVisible','bodyView','set','markAsDone','isShowChangesToggleVisible','children','setTemplate','ck-rounded-corners','48OMYNUX','2770233fzNasA','1678807mfXyFD','toggleShowChanges','updateContentParts'];_0x3d92=function(){return _0x3a1ca1;};return _0x3d92();}import{View as _0x4b563a}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x53fca9}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x493227}from'./aisuggestionbodyview.js';function _0x2a90(_0x50aea6,_0x544571){const _0x3d9252=_0x3d92();return _0x2a90=function(_0x2a9035,_0x170311){_0x2a9035=_0x2a9035-0x13c;let _0x42370b=_0x3d9252[_0x2a9035];return _0x42370b;},_0x2a90(_0x50aea6,_0x544571);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x502248}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x4b563a{[_0x2b9242(0x147)];[_0x2b9242(0x14b)];[_0x2b9242(0x156)];constructor(_0x14350c,_0x45ac8e,_0x182044){const _0x2953ed=_0x2b9242;super(_0x14350c);const {showDiff:_0xc5e56b,areActionsDisabled:_0x281123,showUnchangedParts:_0xefd9e4,availableActions:_0x112cbc}=_0x45ac8e;this[_0x2953ed(0x148)](_0x2953ed(0x13c),!0x1),this[_0x2953ed(0x148)](_0x2953ed(0x146),!0x1),this[_0x2953ed(0x14b)]=this[_0x2953ed(0x144)](),this[_0x2953ed(0x156)]=new _0x53fca9(_0x14350c,{'showDiff':_0xc5e56b}),this[_0x2953ed(0x156)]['on'](_0x2953ed(0x151),(_0x40b4bd,_0x2a2811)=>{const _0x431593=_0x2953ed;this[_0x431593(0x146)]=_0x2a2811[_0x431593(0x13d)],this[_0x431593(0x15c)](_0x431593(0x145),{'showDiff':_0x2a2811[_0x431593(0x13d)]});}),this[_0x2953ed(0x14b)][_0x2953ed(0x154)](this[_0x2953ed(0x156)]),this[_0x2953ed(0x147)]=new _0x493227(_0x14350c,{'areActionsDisabled':_0x281123,'showUnchangedParts':!!_0xefd9e4,'availableActions':_0x112cbc,'bodyCollection':_0x182044}),this[_0x2953ed(0x147)][_0x2953ed(0x157)](..._0x502248)['to'](this),this[_0x2953ed(0x147)][_0x2953ed(0x13f)](_0x2953ed(0x13c))['to'](this),this[_0x2953ed(0x14b)][_0x2953ed(0x154)](this[_0x2953ed(0x147)]),this[_0x2953ed(0x14c)]({'tag':_0x2953ed(0x142),'attributes':{'class':['ck',_0x2953ed(0x13e),_0x2953ed(0x14d)]},'children':this[_0x2953ed(0x14b)]});}async[_0x2b9242(0x15a)](_0xf106b){const _0x30d26c=_0x2b9242;await this[_0x30d26c(0x147)][_0x30d26c(0x152)](_0xf106b);}[_0x2b9242(0x15d)](_0x359758){const _0x117b07=_0x2b9242;this[_0x117b07(0x147)][_0x117b07(0x15d)](_0x359758);}[_0x2b9242(0x149)](){const _0x13d85b=_0x2b9242;this[_0x13d85b(0x147)][_0x13d85b(0x149)](),this[_0x13d85b(0x156)]&&(this[_0x13d85b(0x156)][_0x13d85b(0x14a)]=this[_0x13d85b(0x147)][_0x13d85b(0x140)]);}}
@@ -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 _0x15ad95=_0x48c4;(function(_0x4c48f9,_0x2a7891){var _0x452662=_0x48c4,_0x1151cf=_0x4c48f9();while(!![]){try{var _0x28a073=-parseInt(_0x452662(0x8d))/0x1*(parseInt(_0x452662(0x89))/0x2)+-parseInt(_0x452662(0x83))/0x3*(parseInt(_0x452662(0x8f))/0x4)+-parseInt(_0x452662(0x9b))/0x5+-parseInt(_0x452662(0x80))/0x6+-parseInt(_0x452662(0x9e))/0x7*(parseInt(_0x452662(0x86))/0x8)+parseInt(_0x452662(0x9c))/0x9+parseInt(_0x452662(0x8b))/0xa;if(_0x28a073===_0x2a7891)break;else _0x1151cf['push'](_0x1151cf['shift']());}catch(_0x21ab1b){_0x1151cf['push'](_0x1151cf['shift']());}}}(_0x4ce2,0x8894a));import{View as _0xdd5fb1}from'ckeditor5/src/ui.js';function _0x48c4(_0x39ba7f,_0x1a2c78){var _0x4ce2d9=_0x4ce2();return _0x48c4=function(_0x48c41a,_0x2ca591){_0x48c41a=_0x48c41a-0x7d;var _0x595b2c=_0x4ce2d9[_0x48c41a];return _0x595b2c;},_0x48c4(_0x39ba7f,_0x1a2c78);}import{getTranslation as _0x2969f7}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x332e7e}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x1e1f21}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0xdd5fb1{[_0x15ad95(0x91)];[_0x15ad95(0x90)];[_0x15ad95(0x97)];[_0x15ad95(0xa0)];constructor(_0x2c3a70,{part:_0x218265,uiIndex:_0x1feba9,availableActions:_0xb32837,areActionsDisabled:_0x5d0a0c}){var _0x4d9c30=_0x15ad95;super(_0x2c3a70),this[_0x4d9c30(0x93)](_0x4d9c30(0x7e),!0x0),this[_0x4d9c30(0x93)](_0x4d9c30(0x8a),_0x4d9c30(0xa2)),this[_0x4d9c30(0x91)]=new _0x1e1f21(_0x2c3a70,_0xb32837,_0x5d0a0c),this[_0x4d9c30(0x91)]['on'](_0x4d9c30(0x81),()=>{var _0x431fee=_0x4d9c30;this[_0x431fee(0x95)](_0x431fee(0x81),{'index':_0x218265[_0x431fee(0x85)]});}),this[_0x4d9c30(0x91)]['on'](_0x4d9c30(0x94),()=>{var _0x2cc61f=_0x4d9c30;this[_0x2cc61f(0x95)](_0x2cc61f(0x94),{'index':_0x218265[_0x2cc61f(0x85)]});}),this[_0x4d9c30(0x91)]['on'](_0x4d9c30(0x98),()=>{var _0x509b04=_0x4d9c30;this[_0x509b04(0x95)](_0x509b04(0x98),{'index':_0x218265[_0x509b04(0x85)]});}),this[_0x4d9c30(0x91)][_0x4d9c30(0x8c)](_0x4d9c30(0x7e))['to'](this),this[_0x4d9c30(0x90)]=new _0x332e7e(_0x2c3a70),this[_0x4d9c30(0x97)]=new AISuggestionBodyContentPartTitleLabelView(_0x2c3a70,_0x1feba9),this[_0x4d9c30(0xa0)]=this[_0x4d9c30(0x96)](),this[_0x4d9c30(0xa0)][_0x4d9c30(0x87)]([this[_0x4d9c30(0x97)],this[_0x4d9c30(0x91)]]),this[_0x4d9c30(0x88)]({'tag':_0x4d9c30(0x99),'attributes':{'class':['ck',_0x4d9c30(0x82),_0x4d9c30(0x7d)]},'children':this[_0x4d9c30(0xa0)]}),this['on'](_0x4d9c30(0x7f),(_0x5bdf13,_0x147fea,_0x258a30,_0x5160df)=>{var _0x222e51=_0x4d9c30;_0x222e51(0xa2)===_0x5160df?this[_0x222e51(0xa0)][_0x222e51(0x84)](this[_0x222e51(0x91)]):this[_0x222e51(0xa0)][_0x222e51(0x84)](this[_0x222e51(0x90)]),_0x222e51(0xa2)===_0x258a30?this[_0x222e51(0xa0)][_0x222e51(0x9f)](this[_0x222e51(0x91)]):(this[_0x222e51(0x90)][_0x222e51(0x92)](_0x258a30),this[_0x222e51(0xa0)][_0x222e51(0x9f)](this[_0x222e51(0x90)]));});}}function _0x4ce2(){var _0x4f7eef=['2538284yfqhmx','add','children','span','pending','ck-ai-suggestion__body__content-part__title','isEnabled','change:state','2541996kNUJZc','rejectSuggestion','ck-reset_all-excluded','3253317wVSOhq','remove','index','8WrfcdP','addMany','setTemplate','406aYHDhU','state','26500250ELwXpy','bind','3125gvMATm','AI_SUGGESTION_CONTENT_PART_TITLE','4cITjDf','stateView','toolbarView','setState','set','insertSuggestion','fire','createCollection','titleLabelView','applySuggestion','div','ck-ai-suggestion__body__content-part__title__label','1660040WIGeXl','6718581SwsYEQ','toString'];_0x4ce2=function(){return _0x4f7eef;};return _0x4ce2();}class AISuggestionBodyContentPartTitleLabelView extends _0xdd5fb1{constructor(_0x4e5201,_0x79d1e0){var _0x37c0d3=_0x15ad95;super(_0x4e5201),this[_0x37c0d3(0x88)]({'tag':_0x37c0d3(0xa1),'attributes':{'class':['ck',_0x37c0d3(0x9a)]},'children':[_0x2969f7(_0x4e5201,_0x37c0d3(0x8e),_0x79d1e0[_0x37c0d3(0x9d)]())]});}}
@@ -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 _0x83d96f=_0x2d50;(function(_0x117179,_0x5d3790){const _0x5a48bd=_0x2d50,_0x3b225d=_0x117179();while(!![]){try{const _0x21a049=-parseInt(_0x5a48bd(0xe2))/0x1*(parseInt(_0x5a48bd(0xd6))/0x2)+-parseInt(_0x5a48bd(0xd1))/0x3*(-parseInt(_0x5a48bd(0xdb))/0x4)+parseInt(_0x5a48bd(0xdf))/0x5+parseInt(_0x5a48bd(0xd9))/0x6*(parseInt(_0x5a48bd(0xe7))/0x7)+-parseInt(_0x5a48bd(0xed))/0x8*(-parseInt(_0x5a48bd(0xd0))/0x9)+parseInt(_0x5a48bd(0xec))/0xa*(parseInt(_0x5a48bd(0xd7))/0xb)+-parseInt(_0x5a48bd(0xe5))/0xc;if(_0x21a049===_0x5d3790)break;else _0x3b225d['push'](_0x3b225d['shift']());}catch(_0x18bd54){_0x3b225d['push'](_0x3b225d['shift']());}}}(_0x2b83,0x2e0e1));import{IconView as _0x46e20b,View as _0x14b81f}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x371d7a,IconBoxWithCheck as _0x2f6415}from'ckeditor5/src/icons.js';import{getTranslation as _0x4e0ed4}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';function _0x2d50(_0x59ce8d,_0x55c92a){const _0x2b83d7=_0x2b83();return _0x2d50=function(_0x2d5049,_0x378966){_0x2d5049=_0x2d5049-0xcc;let _0x1a96e9=_0x2b83d7[_0x2d5049];return _0x1a96e9;},_0x2d50(_0x59ce8d,_0x55c92a);}function _0x2b83(){const _0x3729d8=['div','80NQYbOh','setTemplate','set','content','228455SxsKRb','ck-ai-suggestion__content-part-state__label','stateIconView','1aaMpkC','state','ck-hidden','8204808lLcgvL','bind','2488626XvpIMB','isVisible','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','rejected','accepted','418520jXmpBn','32lKweAZ','change:state','setState','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','189693sYwuXx','22326LtOwoX','ck-ai-suggestion__content-part-state','span','ck-ai-suggestion__content-part-state_','bindTemplate','26188HgyQcs','66WFYhki','outdated','6VuqlgD'];_0x2b83=function(){return _0x3729d8;};return _0x2b83();}export const ICON_STATE_MAP={'accepted':_0x2f6415,'rejected':_0x371d7a,'outdated':_0x371d7a};export class AISuggestionContentPartStateView extends _0x14b81f{[_0x83d96f(0xe1)];constructor(_0x1df412){const _0x2fe3e7=_0x83d96f;super(_0x1df412);const _0x422e90=this[_0x2fe3e7(0xd5)];this[_0x2fe3e7(0xdd)](_0x2fe3e7(0xe3),_0x2fe3e7(0xeb)),this[_0x2fe3e7(0xdd)](_0x2fe3e7(0xe8),!0x0),this[_0x2fe3e7(0xe1)]=new StateIconView(),this[_0x2fe3e7(0xe1)][_0x2fe3e7(0xe6)](_0x2fe3e7(0xe3))['to'](this),this[_0x2fe3e7(0xdc)]({'tag':_0x2fe3e7(0xda),'attributes':{'class':['ck',_0x2fe3e7(0xd2),_0x422e90['to'](_0x2fe3e7(0xe3),_0x1c91ae=>_0x2fe3e7(0xd4)+_0x1c91ae),_0x422e90['if'](_0x2fe3e7(0xe8),_0x2fe3e7(0xe4),_0x37264c=>!_0x37264c)]},'children':[{'tag':_0x2fe3e7(0xd3),'attributes':{'class':[_0x2fe3e7(0xe0)]},'children':[{'text':_0x422e90['to'](_0x2fe3e7(0xe3),_0x47a650=>{const _0xf7b301=_0x2fe3e7;switch(_0x47a650){case _0xf7b301(0xeb):return _0x4e0ed4(_0x1df412,_0xf7b301(0xe9));case _0xf7b301(0xea):return _0x4e0ed4(_0x1df412,_0xf7b301(0xce));case _0xf7b301(0xd8):return _0x4e0ed4(_0x1df412,_0xf7b301(0xcf));}})}]},this[_0x2fe3e7(0xe1)]]});}[_0x83d96f(0xcd)](_0x12a571){const _0x2cc3fe=_0x83d96f;this[_0x2cc3fe(0xe3)]=_0x12a571;}}export class StateIconView extends _0x46e20b{constructor(){const _0x56c4f2=_0x83d96f;super(),this[_0x56c4f2(0xdd)](_0x56c4f2(0xe3),_0x56c4f2(0xeb)),this[_0x56c4f2(0xde)]=ICON_STATE_MAP[this[_0x56c4f2(0xe3)]],this['on'](_0x56c4f2(0xcc),()=>{const _0x225b0f=_0x56c4f2;this[_0x225b0f(0xde)]=ICON_STATE_MAP[this[_0x225b0f(0xe3)]];});}}
@@ -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 _0x352eb0=_0x481e;function _0x481e(_0x4f056d,_0x5ac957){const _0x41e7c5=_0x41e7();return _0x481e=function(_0x481e45,_0x206c09){_0x481e45=_0x481e45-0x15b;let _0x2d8b16=_0x41e7c5[_0x481e45];return _0x2d8b16;},_0x481e(_0x4f056d,_0x5ac957);}function _0x41e7(){const _0x38577f=['bind','bindTemplate','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','997410ZrgWvG','_applyButton','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','ck-hidden','set','push','AI_SUGGESTION_CONTENT_PART_APPLY','setButtonsVisibility','items','class','insertSuggestion','applySuggestion','3EiGUEs','_suggestButton','ck-ai-suggestion-content-part-toolbar','12647ZgLpoG','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_REJECT','132sFueaK','1956411GLoiFJ','includes','1589128KGLHTv','execute','addMany','extendTemplate','fire','35GzDkLB','isEnabled','275rfLBzT','3577504Vifgll','7906800GPCxnr','isVisible','2273700EFFjFl'];_0x41e7=function(){return _0x38577f;};return _0x41e7();}(function(_0x530c16,_0x526d79){const _0x5eeb85=_0x481e,_0xb1b06d=_0x530c16();while(!![]){try{const _0x4f9c1c=-parseInt(_0x5eeb85(0x17c))/0x1*(parseInt(_0x5eeb85(0x15b))/0x2)+-parseInt(_0x5eeb85(0x179))/0x3*(parseInt(_0x5eeb85(0x166))/0x4)+-parseInt(_0x5eeb85(0x169))/0x5+parseInt(_0x5eeb85(0x167))/0x6+parseInt(_0x5eeb85(0x163))/0x7*(-parseInt(_0x5eeb85(0x15e))/0x8)+parseInt(_0x5eeb85(0x15c))/0x9+parseInt(_0x5eeb85(0x16d))/0xa*(parseInt(_0x5eeb85(0x165))/0xb);if(_0x4f9c1c===_0x526d79)break;else _0xb1b06d['push'](_0xb1b06d['shift']());}catch(_0x129246){_0xb1b06d['push'](_0xb1b06d['shift']());}}}(_0x41e7,0xcfee1));import{ButtonView as _0x55dec7,ToolbarView as _0x18b182}from'ckeditor5/src/ui.js';import{getTranslation as _0x1eebd7}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x5e5153,IconBoxWithCheck as _0x1feafc,IconBoxWithMarker as _0x34ff70,IconInfo as _0x32277a}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x18b182{[_0x352eb0(0x16e)];[_0x352eb0(0x17a)];constructor(_0x4afd63,_0x4fc9ef,_0x269b60){const _0x16cdc5=_0x352eb0;super(_0x4afd63);const _0x323d59=Boolean(_0x269b60);this[_0x16cdc5(0x171)](_0x16cdc5(0x164),!_0x323d59),this[_0x16cdc5(0x171)](_0x16cdc5(0x168),!0x0),this[_0x16cdc5(0x176)]=_0x16cdc5(0x17b);const _0x1f6d05=[];if(_0x323d59){const _0x834780=new _0x55dec7(_0x4afd63);_0x834780[_0x16cdc5(0x171)]({'label':_0x1eebd7(_0x4afd63,_0x16cdc5(0x16c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x32277a}),_0x1f6d05[_0x16cdc5(0x172)](_0x834780);}else{_0x4fc9ef[_0x16cdc5(0x15d)](_0x16cdc5(0x178))&&(this[_0x16cdc5(0x16e)]=new _0x55dec7(_0x4afd63),this[_0x16cdc5(0x16e)][_0x16cdc5(0x171)]({'label':_0x1eebd7(_0x4afd63,_0x16cdc5(0x173)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1feafc}),this[_0x16cdc5(0x16e)][_0x16cdc5(0x16a)](_0x16cdc5(0x164))['to'](this),this[_0x16cdc5(0x16e)]['on'](_0x16cdc5(0x15f),()=>{const _0x127cfc=_0x16cdc5;this[_0x127cfc(0x162)](_0x127cfc(0x178));}),_0x1f6d05[_0x16cdc5(0x172)](this[_0x16cdc5(0x16e)])),_0x4fc9ef[_0x16cdc5(0x15d)](_0x16cdc5(0x177))&&(this[_0x16cdc5(0x17a)]=new _0x55dec7(_0x4afd63),this[_0x16cdc5(0x17a)][_0x16cdc5(0x171)]({'label':_0x1eebd7(_0x4afd63,_0x16cdc5(0x16f)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x34ff70}),this[_0x16cdc5(0x17a)][_0x16cdc5(0x16a)](_0x16cdc5(0x164))['to'](this),this[_0x16cdc5(0x17a)]['on'](_0x16cdc5(0x15f),()=>{const _0xa210fc=_0x16cdc5;this[_0xa210fc(0x162)](_0xa210fc(0x177));}),_0x1f6d05[_0x16cdc5(0x172)](this[_0x16cdc5(0x17a)]));const _0x3c1499=new _0x55dec7(_0x4afd63);_0x3c1499[_0x16cdc5(0x171)]({'label':_0x1eebd7(_0x4afd63,_0x16cdc5(0x17e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5e5153}),_0x3c1499[_0x16cdc5(0x16a)](_0x16cdc5(0x164))['to'](this),_0x3c1499['on'](_0x16cdc5(0x15f),()=>{const _0x344ab6=_0x16cdc5;this[_0x344ab6(0x162)](_0x344ab6(0x17d));}),_0x1f6d05[_0x16cdc5(0x172)](_0x3c1499);}this[_0x16cdc5(0x175)][_0x16cdc5(0x160)](_0x1f6d05);const _0x1d5146=this[_0x16cdc5(0x16b)];this[_0x16cdc5(0x161)]({'attributes':{'class':[_0x1d5146['if'](_0x16cdc5(0x168),_0x16cdc5(0x170),_0x13cce0=>!_0x13cce0)]}});}[_0x352eb0(0x174)]({showApplyButton:_0x1f0766,showSuggestButton:_0x52af86}){const _0x2ffcd2=_0x352eb0;this[_0x2ffcd2(0x16e)]&&(this[_0x2ffcd2(0x16e)][_0x2ffcd2(0x168)]=_0x1f0766),this[_0x2ffcd2(0x17a)]&&(this[_0x2ffcd2(0x17a)][_0x2ffcd2(0x168)]=_0x52af86);}}
@@ -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 _0xcda90e=_0x44ee;(function(_0x5027e1,_0xff5e81){const _0xc4b10b=_0x44ee,_0x351f98=_0x5027e1();while(!![]){try{const _0x1bf553=-parseInt(_0xc4b10b(0xf7))/0x1+-parseInt(_0xc4b10b(0xe8))/0x2+parseInt(_0xc4b10b(0xcc))/0x3+-parseInt(_0xc4b10b(0xd5))/0x4+parseInt(_0xc4b10b(0xeb))/0x5*(-parseInt(_0xc4b10b(0xee))/0x6)+-parseInt(_0xc4b10b(0xef))/0x7+-parseInt(_0xc4b10b(0xe6))/0x8*(-parseInt(_0xc4b10b(0xe4))/0x9);if(_0x1bf553===_0xff5e81)break;else _0x351f98['push'](_0x351f98['shift']());}catch(_0x52cc43){_0x351f98['push'](_0x351f98['shift']());}}}(_0xcab0,0x7de96));import{View as _0xfb48f}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x379503}from'../../utils/eventnames.js';function _0x44ee(_0x5df2ce,_0x153176){const _0xcab0aa=_0xcab0();return _0x44ee=function(_0x44ee70,_0x1d30f2){_0x44ee70=_0x44ee70-0xc9;let _0x33be69=_0xcab0aa[_0x44ee70];return _0x33be69;},_0x44ee(_0x5df2ce,_0x153176);}import{AISuggestionContentPartHeaderView as _0xa62f11}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x420fb2}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0xfb48f{[_0xcda90e(0xed)];[_0xcda90e(0xce)];[_0xcda90e(0xd3)];constructor(_0x199984,{part:_0xe62f2a,uiIndex:_0x42bc92,areActionsDisabled:_0x105617,availableActions:_0x3366ca}){const _0x324c7f=_0xcda90e;super(_0x199984);const _0x51b2a0=this[_0x324c7f(0xf0)];this[_0x324c7f(0xe1)](_0x324c7f(0xe3),_0x324c7f(0xf3)),this[_0x324c7f(0xe1)](_0x324c7f(0xd1),!0x1),this[_0x324c7f(0xe1)](_0x324c7f(0xe7),!0x1),this[_0x324c7f(0xe1)](_0x324c7f(0xea),!0x1),this[_0x324c7f(0xe1)](_0x324c7f(0xc9),!0x1);const _0x3dc073=()=>{const _0x4a3795=_0x324c7f;this[_0x4a3795(0xc9)]=this[_0x4a3795(0xd1)]&&_0x4a3795(0xf3)==this[_0x4a3795(0xe3)]&&!_0x105617;};this['on'](_0x324c7f(0xca),_0x3dc073),this['on'](_0x324c7f(0xe0),_0x3dc073),_0x3dc073(),this[_0x324c7f(0xed)]=this[_0x324c7f(0xf6)](),this[_0x324c7f(0xce)]=new _0xa62f11(_0x199984,{'part':_0xe62f2a,'uiIndex':_0x42bc92,'availableActions':_0x3366ca,'areActionsDisabled':_0x105617}),this[_0x324c7f(0xce)][_0x324c7f(0xd9)](_0x324c7f(0xc9),_0x324c7f(0xe3))['to'](this),this[_0x324c7f(0xce)][_0x324c7f(0xdb)](..._0x379503)['to'](this),this[_0x324c7f(0xd3)]=new _0x420fb2(_0x199984),this[_0x324c7f(0xed)][_0x324c7f(0xcb)]([this[_0x324c7f(0xce)],this[_0x324c7f(0xd3)]]),this[_0x324c7f(0xdd)]({'tag':_0x324c7f(0xe2),'attributes':{'class':['ck',_0x324c7f(0xcd),_0x51b2a0['to'](_0x324c7f(0xe3),_0x3c5a7b=>_0x324c7f(0xcf)+_0x3c5a7b),_0x51b2a0['if'](_0x324c7f(0xc9),_0x324c7f(0xd4)),_0x51b2a0['if'](_0x324c7f(0xea),_0x324c7f(0xf5)),_0x51b2a0['if'](_0x324c7f(0xe7),_0x324c7f(0xdf),_0x2e88fc=>!_0x2e88fc)]},'children':this[_0x324c7f(0xed)],'on':{'mouseenter':_0x51b2a0['to'](()=>{const _0x17710e=_0x324c7f;this[_0x17710e(0xc9)]&&this[_0x17710e(0xd6)](_0x17710e(0xd8),{'index':_0xe62f2a[_0x17710e(0xd7)]});}),'mouseleave':_0x51b2a0['to'](()=>{const _0x472c34=_0x324c7f;this[_0x472c34(0xc9)]&&this[_0x472c34(0xd6)](_0x472c34(0xec),{'index':_0xe62f2a[_0x472c34(0xd7)]});}),'click':_0x51b2a0['to'](_0x227651=>{const _0x5e800e=_0x324c7f,_0xabbc1=_0x227651[_0x5e800e(0xdc)];this[_0x5e800e(0xc9)]&&!this[_0x5e800e(0xce)][_0x5e800e(0xd0)][_0x5e800e(0xf1)][_0x5e800e(0xf4)](_0xabbc1)&&this[_0x5e800e(0xd6)](_0x5e800e(0xe5),{'index':_0xe62f2a[_0x5e800e(0xd7)]});})}});}async[_0xcda90e(0xde)]({part:_0x93706a,renderingStrategy:_0x283684,showUnchangedParts:_0x407f95=!0x1,abortSignal:_0x5a6c53}){const _0x54c509=_0xcda90e;this[_0x54c509(0xda)]=_0x93706a,this[_0x54c509(0xe7)]=this[_0x54c509(0xda)][_0x54c509(0xe9)]||_0x407f95,this[_0x54c509(0xe7)]&&await this[_0x54c509(0xd3)][_0x54c509(0xd2)]({'part':_0x93706a,'renderingStrategy':_0x283684,'abortSignal':_0x5a6c53});}[_0xcda90e(0xf2)](){const _0x3154b0=_0xcda90e;this[_0x3154b0(0xd1)]=!0x0;}}function _0xcab0(){const _0x58c10d=['ck-ai-suggestion__body__content-part_','toolbarView','isDone','update','_streamableContentView','ck-ai-suggestion__body__content-part_enabled','718992efBGmt','fire','index','mouseOverSuggestion','bind','partDefinition','delegate','target','setTemplate','updateContent','ck-hidden','change:isDone','set','div','state','1160901ddiLqW','showChangeInText','208NUCAdA','isVisible','1860540BqRAYK','hasChanges','isActive','994685mLvese','mouseLeaveSuggestion','_children','24IFgPbN','6803832xbTbQr','bindTemplate','element','markAsDone','pending','contains','ck-ai-suggestion__body__content-part_active','createCollection','387012TOttOW','isEnabled','change:state','addMany','1280322JsEOcb','ck-ai-suggestion__body__content-part','_headerView'];_0xcab0=function(){return _0x58c10d;};return _0xcab0();}
@@ -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
+ function _0x1609(){const _0x22bbbe=['children','342366UYOVNO','icon','execute','iconView','render','10vpKHZt','30jTKiWw','AI_SUGGESTION_BUTTON_SHOW_CHANGES','fire','set','1289585aIoXiB','showChangesToggleView','toggleShowChanges','3433848VuiySn','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','div','remove','isVisible','add','showHeader','setTemplate','isShowChangesToggleVisible','809938MGJBHQ','36EJuOys','bind','isOn','content','2mmNbVh','ck-ai-suggestion__header','ck-hidden','632513adKahq','2910945rSSRYn','8uTadFn','filter','4273911VAemuF','showDiff','span','AI_SUGGESTION_HEADER_TITLE'];_0x1609=function(){return _0x22bbbe;};return _0x1609();}const _0x292f52=_0x1c33;(function(_0x18ca2f,_0x30ddc7){const _0x3bc9ce=_0x1c33,_0x47f4a6=_0x18ca2f();while(!![]){try{const _0x2ecdea=-parseInt(_0x3bc9ce(0x1d5))/0x1*(parseInt(_0x3bc9ce(0x1d0))/0x2)+parseInt(_0x3bc9ce(0x1b2))/0x3+parseInt(_0x3bc9ce(0x1c7))/0x4+parseInt(_0x3bc9ce(0x1c0))/0x5*(parseInt(_0x3bc9ce(0x1ba))/0x6)+parseInt(_0x3bc9ce(0x1d8))/0x7*(parseInt(_0x3bc9ce(0x1b3))/0x8)+parseInt(_0x3bc9ce(0x1b5))/0x9*(-parseInt(_0x3bc9ce(0x1bf))/0xa)+parseInt(_0x3bc9ce(0x1c4))/0xb*(-parseInt(_0x3bc9ce(0x1d1))/0xc);if(_0x2ecdea===_0x30ddc7)break;else _0x47f4a6['push'](_0x47f4a6['shift']());}catch(_0x568cf1){_0x47f4a6['push'](_0x47f4a6['shift']());}}}(_0x1609,0x98954));import{getTranslation as _0x2a3fc6}from'../../utils/common-translations.js';import{ButtonView as _0x5de2a8,IconView as _0x18a7fc,View as _0x167d3c}from'ckeditor5/src/ui.js';import{IconDocument as _0x218344,IconShowChangesOff as _0x23a99f,IconShowChangesOn as _0x740ee9}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x167d3c{[_0x292f52(0x1c5)];constructor(_0x403bcc,_0x1b13d1){const _0x10ec42=_0x292f52;super(_0x403bcc),this[_0x10ec42(0x1c3)](_0x10ec42(0x1cf),!0x0),this[_0x10ec42(0x1c5)]=new ShowChangesToggleView(_0x403bcc),this[_0x10ec42(0x1c5)][_0x10ec42(0x1c3)]({'class':_0x10ec42(0x1c8),'label':_0x2a3fc6(_0x403bcc,_0x10ec42(0x1c1)),'withText':!0x0}),this[_0x10ec42(0x1c5)][_0x10ec42(0x1d3)]=_0x1b13d1[_0x10ec42(0x1b6)],this[_0x10ec42(0x1c5)][_0x10ec42(0x1d2)](_0x10ec42(0x1cb))['to'](this,_0x10ec42(0x1cf)),this[_0x10ec42(0x1c5)][_0x10ec42(0x1d2)](_0x10ec42(0x1bb))['to'](this[_0x10ec42(0x1c5)],_0x10ec42(0x1d3),_0x4c1c2e=>_0x4c1c2e?_0x740ee9:_0x23a99f),this[_0x10ec42(0x1c5)]['on'](_0x10ec42(0x1bc),()=>{const _0x45291f=_0x10ec42;this[_0x45291f(0x1c5)][_0x45291f(0x1d3)]=!this[_0x45291f(0x1c5)][_0x45291f(0x1d3)],this[_0x45291f(0x1c2)](_0x45291f(0x1c6),{'isOn':this[_0x45291f(0x1c5)][_0x45291f(0x1d3)]});});const _0x28c9d9=new _0x18a7fc();_0x28c9d9[_0x10ec42(0x1d4)]=_0x218344,this[_0x10ec42(0x1ce)]({'tag':_0x10ec42(0x1c9),'attributes':{'class':['ck',_0x10ec42(0x1d6),!0x1===_0x1b13d1[_0x10ec42(0x1cd)]?_0x10ec42(0x1d7):null][_0x10ec42(0x1b4)](Boolean)},'children':[_0x28c9d9,{'tag':_0x10ec42(0x1b7),'children':[_0x2a3fc6(_0x403bcc,_0x10ec42(0x1b8))]},this[_0x10ec42(0x1c5)]]});}}function _0x1c33(_0x419548,_0x9165a8){const _0x1609fc=_0x1609();return _0x1c33=function(_0x1c3397,_0x18f964){_0x1c3397=_0x1c3397-0x1b2;let _0x38fd36=_0x1609fc[_0x1c3397];return _0x38fd36;},_0x1c33(_0x419548,_0x9165a8);}export class ShowChangesToggleView extends _0x5de2a8{[_0x292f52(0x1be)](){const _0x8cf559=_0x292f52;super[_0x8cf559(0x1be)](),this[_0x8cf559(0x1b9)][_0x8cf559(0x1ca)](this[_0x8cf559(0x1bd)]),this[_0x8cf559(0x1b9)][_0x8cf559(0x1cc)](this[_0x8cf559(0x1bd)]);}}
@@ -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(_0x5bf615,_0x1c7695){const _0x397c3a=_0x3a95,_0x3ec412=_0x5bf615();while(!![]){try{const _0x253cb7=-parseInt(_0x397c3a(0xaa))/0x1*(-parseInt(_0x397c3a(0xac))/0x2)+parseInt(_0x397c3a(0xab))/0x3+-parseInt(_0x397c3a(0xaf))/0x4*(-parseInt(_0x397c3a(0x9b))/0x5)+-parseInt(_0x397c3a(0xa9))/0x6+-parseInt(_0x397c3a(0xa0))/0x7+-parseInt(_0x397c3a(0x9d))/0x8+-parseInt(_0x397c3a(0xa3))/0x9*(-parseInt(_0x397c3a(0x9e))/0xa);if(_0x253cb7===_0x1c7695)break;else _0x3ec412['push'](_0x3ec412['shift']());}catch(_0x7b1dac){_0x3ec412['push'](_0x3ec412['shift']());}}}(_0x52c2,0xf1e21));import{View as _0x350af9}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x17a36b}from'../aispinner.js';import{getTranslation as _0x3c8bfe}from'../../utils/common-translations.js';function _0x3a95(_0x59d238,_0x500773){const _0x52c244=_0x52c2();return _0x3a95=function(_0x3a9520,_0x2cf3a3){_0x3a9520=_0x3a9520-0x9a;let _0x2ced07=_0x52c244[_0x3a9520];return _0x2ced07;},_0x3a95(_0x59d238,_0x500773);}function _0x52c2(){const _0x5b8003=['5730TjtcDs','AI_CHAT_IS_WRITING','8843723GpCVpE','isVisible','setTemplate','25038vgtpoT','ck-ai-suggestion__loader-text','locale','ck-ai-suggestion__loader','set','bindTemplate','3513480TGUNBR','12454DSrMEq','1541793Ypmazq','94KqRlVP','span','ck-hidden','4lLUmcB','div','6413795XbHIPZ','small','9091136FySeOy'];_0x52c2=function(){return _0x5b8003;};return _0x52c2();}export class AISuggestionLoaderView extends _0x350af9{constructor(_0x201f2e){const _0x31ff44=_0x3a95;super(_0x201f2e),this[_0x31ff44(0xa7)](_0x31ff44(0xa1),!0x0);const _0x108946=new _0x17a36b(_0x31ff44(0x9c));_0x108946[_0x31ff44(0xa1)]=!0x0;const _0x4ad480=new _0x350af9(this[_0x31ff44(0xa5)]);_0x4ad480[_0x31ff44(0xa2)]({'tag':_0x31ff44(0xad),'attributes':{'class':['ck',_0x31ff44(0xa4)]},'children':[_0x3c8bfe(this[_0x31ff44(0xa5)],_0x31ff44(0x9f))]}),this[_0x31ff44(0xa2)]({'tag':_0x31ff44(0x9a),'attributes':{'class':['ck',_0x31ff44(0xa6),this[_0x31ff44(0xa8)]['if'](_0x31ff44(0xa1),_0x31ff44(0xae),_0x15a603=>!_0x15a603)]},'children':[_0x108946,_0x4ad480]});}}
@@ -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
+ var _0x247273=_0x59da;function _0x59da(_0xc3e960,_0x471f07){var _0xb8660=_0xb866();return _0x59da=function(_0x59da9,_0x466c33){_0x59da9=_0x59da9-0x85;var _0x121e6b=_0xb8660[_0x59da9];return _0x121e6b;},_0x59da(_0xc3e960,_0x471f07);}(function(_0x13c70e,_0x46f20f){var _0x1e0f17=_0x59da,_0x1d9472=_0x13c70e();while(!![]){try{var _0xd9f74a=parseInt(_0x1e0f17(0x95))/0x1*(-parseInt(_0x1e0f17(0x90))/0x2)+-parseInt(_0x1e0f17(0x99))/0x3*(-parseInt(_0x1e0f17(0x9e))/0x4)+-parseInt(_0x1e0f17(0x9c))/0x5+parseInt(_0x1e0f17(0x88))/0x6*(parseInt(_0x1e0f17(0x9f))/0x7)+-parseInt(_0x1e0f17(0x8b))/0x8*(-parseInt(_0x1e0f17(0x93))/0x9)+parseInt(_0x1e0f17(0x87))/0xa*(parseInt(_0x1e0f17(0x8f))/0xb)+-parseInt(_0x1e0f17(0x9b))/0xc*(parseInt(_0x1e0f17(0x91))/0xd);if(_0xd9f74a===_0x46f20f)break;else _0x1d9472['push'](_0x1d9472['shift']());}catch(_0x13e919){_0x1d9472['push'](_0x1d9472['shift']());}}}(_0xb866,0xd7ee6));import{View as _0x265e3a}from'ckeditor5/src/ui.js';function _0xb866(){var _0x8ad96b=['3113024cNKDuR','12302129UhilPh','update','content','element','37930yOYqoB','6fFiCTH','innerHTML','htmlStreamer','24aHeBOj','streaming','reset','ck-ai-suggestion-streamable-content','1804jwGWhB','2094934fxnuQC','168753TCUHZk','ck-content','1033254fPwBoJ','animation:\x20ck-html-streamer-fade-in\x20.5s','1DXMhUR','ck-reset_all-excluded','div','clear','3oFZLyi','stream','900iwZvjN','2983385Xzmlrv','setTemplate'];_0xb866=function(){return _0x8ad96b;};return _0xb866();}import{HTMLStreamer as _0x5dedab}from'../../utils/htmlstreamer.js';import{serialize as _0x34d4a2}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x265e3a{[_0x247273(0x8a)];constructor(_0x288ad8){var _0x2ba438=_0x247273;super(_0x288ad8),this[_0x2ba438(0x8a)]=new _0x5dedab({'textNodeStyle':_0x2ba438(0x94),'delay':0x14}),this[_0x2ba438(0x9d)]({'tag':_0x2ba438(0x97),'attributes':{'class':['ck',_0x2ba438(0x92),_0x2ba438(0x96),_0x2ba438(0x8e)]}});}async[_0x247273(0xa0)]({part:_0x4d7aaa,renderingStrategy:_0xe51ca5,abortSignal:_0x50895e}){var _0x220f36=_0x247273;_0x220f36(0x8c)===_0xe51ca5?await this[_0x220f36(0x8a)][_0x220f36(0x9a)]({'document':_0x4d7aaa[_0x220f36(0x85)],'targetElement':this[_0x220f36(0x86)],'abortSignal':_0x50895e}):this[_0x220f36(0x86)][_0x220f36(0x89)]=_0x34d4a2(_0x4d7aaa[_0x220f36(0x85)]);}[_0x247273(0x98)](){var _0x31374f=_0x247273;this[_0x31374f(0x8a)][_0x31374f(0x8d)](),this[_0x31374f(0x86)][_0x31374f(0x89)]='';}}
@@ -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 _0x204845=_0x226f;(function(_0x2a9431,_0x50b958){const _0xa3d0b4=_0x226f,_0x2a7b3c=_0x2a9431();while(!![]){try{const _0xbebe53=-parseInt(_0xa3d0b4(0x136))/0x1*(-parseInt(_0xa3d0b4(0x132))/0x2)+-parseInt(_0xa3d0b4(0xfb))/0x3+parseInt(_0xa3d0b4(0xfd))/0x4+-parseInt(_0xa3d0b4(0x127))/0x5*(-parseInt(_0xa3d0b4(0x123))/0x6)+-parseInt(_0xa3d0b4(0xff))/0x7*(-parseInt(_0xa3d0b4(0x115))/0x8)+parseInt(_0xa3d0b4(0x114))/0x9+-parseInt(_0xa3d0b4(0x117))/0xa;if(_0xbebe53===_0x50b958)break;else _0x2a7b3c['push'](_0x2a7b3c['shift']());}catch(_0x2c41fe){_0x2a7b3c['push'](_0x2a7b3c['shift']());}}}(_0x52b5,0x654ad));function _0x52b5(){const _0x1cbb29=['northArrowSouthEast','div','ck-hidden','ck-ai-web-sources','ck-ai-web-source__tooltip-image','show','addSource','198juGvVq','set','children','ck-ai-web-source__tooltip-title','1703bGMBVA','createCollection','clear','isVisible','get','destroy','ck\x20ck-ai-web-source','source','ck-ai-web-source__tooltip-balloon','579627hjhyxI','hide','56028PTkMCX','icon','3858631DVqFJO','balloonPanelView','ck-ai-web-sources__header','_setupBalloonPanel','_updateTooltipContent','push','favicon','bindTemplate','ck-ai-web-source__image','element','bodyCollection','locale','querySelector','ck-ai-web-source__tooltip','img','content','defaultPositions','hostname','northArrowSouthWest','ck-ai-web-source__tooltip-row','setTemplate','5132862XnTMYi','8ruiPVR','...','9096910URoKgg','northArrowSouth','substring','_createTooltipContentView','length','span','AI_CHAT_SOURCES_HEADER','title','_hideTooltip','.ck-ai-chat','pin','extendTemplate','17322IBZgCM','add','_blank','_showTooltip','370XxiBnK','open','ck-ai-web-source__tooltip-url','url'];_0x52b5=function(){return _0x1cbb29;};return _0x52b5();}function _0x226f(_0x34b650,_0x37a51b){const _0x52b5b8=_0x52b5();return _0x226f=function(_0x226f35,_0x71a979){_0x226f35=_0x226f35-0xf6;let _0xbfa5b5=_0x52b5b8[_0x226f35];return _0xbfa5b5;},_0x226f(_0x34b650,_0x37a51b);}import{View as _0x41150c,ButtonView as _0x1e777c,IconView as _0x2c3a56,BalloonPanelView as _0x415a14}from'ckeditor5/src/ui.js';import{IconWeb as _0x2cb859}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x43286a}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x41150c{[_0x204845(0x134)];[_0x204845(0x100)];[_0x204845(0x109)];constructor(_0x91e64d,_0x54bdb5){const _0x24b85b=_0x204845;super(_0x91e64d),this[_0x24b85b(0x109)]=_0x54bdb5,this[_0x24b85b(0x134)]=this[_0x24b85b(0x137)](),this[_0x24b85b(0x133)](_0x24b85b(0x139),!0x1),this[_0x24b85b(0x113)]({'tag':_0x24b85b(0x12c),'attributes':{'class':['ck',_0x24b85b(0x12e),this[_0x24b85b(0x106)]['if'](_0x24b85b(0x139),_0x24b85b(0x12d),_0x5e1150=>!_0x5e1150)]},'children':this[_0x24b85b(0x134)]});const _0x5c1218=new _0x41150c(this[_0x24b85b(0x10a)]),_0x53e70c=new _0x2c3a56();_0x53e70c[_0x24b85b(0x10e)]=_0x2cb859,_0x5c1218[_0x24b85b(0x113)]({'tag':_0x24b85b(0x12c),'attributes':{'class':['ck',_0x24b85b(0x101)]},'children':[_0x53e70c,{'tag':_0x24b85b(0x11c),'children':[{'text':_0x43286a(this[_0x24b85b(0x10a)],_0x24b85b(0x11d))}]}]}),this[_0x24b85b(0x134)][_0x24b85b(0x124)](_0x5c1218),this[_0x24b85b(0x102)](_0x91e64d);}[_0x204845(0x131)](_0x1a596e){const _0x599ce0=_0x204845;this[_0x599ce0(0x134)][_0x599ce0(0x124)](new AIWebSourceView(this[_0x599ce0(0x10a)],_0x1a596e,this[_0x599ce0(0x100)]));}[_0x204845(0x102)](_0x7e9b69){const _0x133a45=_0x204845;this[_0x133a45(0x100)]=new _0x415a14(_0x7e9b69),this[_0x133a45(0x100)][_0x133a45(0x122)]({'attributes':{'class':[_0x133a45(0xfa)]}}),this[_0x133a45(0x109)][_0x133a45(0x124)](this[_0x133a45(0x100)]);}}export class AIWebSourceView extends _0x1e777c{[_0x204845(0x100)];[_0x204845(0xf9)];constructor(_0x594259,_0x5239ba,_0x6d7f17){const _0x366e1a=_0x204845;super(_0x594259),this[_0x366e1a(0xf9)]=_0x5239ba,this[_0x366e1a(0x100)]=_0x6d7f17,this[_0x366e1a(0x133)]({'label':_0x5239ba[_0x366e1a(0x11e)],'class':[_0x366e1a(0xf8)],'withText':!0x0});const _0x48b3bc=this[_0x366e1a(0x106)];if(this[_0x366e1a(0x122)]({'on':{'click':_0x48b3bc['to'](()=>{const _0x1ef1e1=_0x366e1a;window[_0x1ef1e1(0x128)](_0x5239ba[_0x1ef1e1(0x12a)],_0x1ef1e1(0x125));}),'mouseenter':_0x48b3bc['to'](()=>{const _0x2b12ba=_0x366e1a;this[_0x2b12ba(0x126)]();}),'mouseleave':_0x48b3bc['to'](()=>{const _0x3bc51f=_0x366e1a;this[_0x3bc51f(0x11f)]();})}}),_0x5239ba[_0x366e1a(0x105)]){const _0x54d0a8=new _0x41150c(_0x594259);_0x54d0a8[_0x366e1a(0x113)]({'tag':_0x366e1a(0x10d),'attributes':{'src':_0x5239ba[_0x366e1a(0x105)]||_0x2cb859,'alt':_0x5239ba[_0x366e1a(0x11e)],'class':[_0x366e1a(0x107)]}}),this[_0x366e1a(0x134)][_0x366e1a(0x124)](_0x54d0a8);}else this[_0x366e1a(0x133)](_0x366e1a(0xfe),_0x2cb859);}[_0x204845(0x11a)](_0x5cbed2,_0x48ac74){const _0x30f3d8=_0x204845,_0x5b1d9c=new _0x41150c(_0x5cbed2),_0x359695=[];let _0x567e77;_0x48ac74?.[_0x30f3d8(0x105)]?(_0x567e77=new _0x41150c(_0x5cbed2),_0x567e77[_0x30f3d8(0x113)]({'tag':_0x30f3d8(0x10d),'attributes':{'src':_0x48ac74[_0x30f3d8(0x105)],'alt':_0x48ac74[_0x30f3d8(0x11e)],'class':[_0x30f3d8(0x12f)]}})):(_0x567e77=new _0x2c3a56(),_0x567e77[_0x30f3d8(0x10e)]=_0x2cb859,_0x567e77[_0x30f3d8(0x122)]({'attributes':{'alt':_0x48ac74[_0x30f3d8(0x11e)],'class':[_0x30f3d8(0x12f)]}})),_0x359695[_0x30f3d8(0x104)](_0x567e77);const _0xa52c34=new _0x41150c(_0x5cbed2);_0xa52c34[_0x30f3d8(0x113)]({'tag':'a','attributes':{'class':[_0x30f3d8(0x129)],'href':_0x48ac74[_0x30f3d8(0x12a)]},'children':[{'text':new URL(_0x48ac74[_0x30f3d8(0x12a)])?.[_0x30f3d8(0x110)]}]}),_0x359695[_0x30f3d8(0x104)](_0xa52c34);const _0x23da33=new _0x41150c(_0x5cbed2);_0x23da33[_0x30f3d8(0x113)]({'tag':_0x30f3d8(0x12c),'attributes':{'class':[_0x30f3d8(0x112)]},'children':_0x359695});const _0x500e31=new _0x41150c(_0x5cbed2);return _0x500e31[_0x30f3d8(0x113)]({'tag':_0x30f3d8(0x11c),'attributes':{'class':[_0x30f3d8(0x112),_0x30f3d8(0x135)]},'children':[{'text':_0x48ac74[_0x30f3d8(0x11e)][_0x30f3d8(0x11b)]>0x190?_0x48ac74[_0x30f3d8(0x11e)][_0x30f3d8(0x119)](0x0,0x190)+_0x30f3d8(0x116):_0x48ac74[_0x30f3d8(0x11e)]}]}),_0x5b1d9c[_0x30f3d8(0x113)]({'tag':_0x30f3d8(0x12c),'attributes':{'class':['ck',_0x30f3d8(0x10c)]},'children':[_0x23da33,_0x500e31]}),_0x5b1d9c;}[_0x204845(0x126)](){const _0x225012=_0x204845;this[_0x225012(0x103)](),this[_0x225012(0x100)][_0x225012(0x121)]({'target':this[_0x225012(0x108)],'positions':[_0x415a14[_0x225012(0x10f)][_0x225012(0x118)],_0x415a14[_0x225012(0x10f)][_0x225012(0x111)],_0x415a14[_0x225012(0x10f)][_0x225012(0x12b)]],'limiter':document[_0x225012(0x10b)](_0x225012(0x120))}),this[_0x225012(0x100)][_0x225012(0x130)]();}[_0x204845(0x11f)](){const _0x150663=_0x204845;this[_0x150663(0x100)][_0x150663(0xfc)]();}[_0x204845(0x103)](){const _0x3105bf=_0x204845;this[_0x3105bf(0x100)][_0x3105bf(0x10e)][_0x3105bf(0xf6)](0x0)?.[_0x3105bf(0xf7)](),this[_0x3105bf(0x100)][_0x3105bf(0x10e)][_0x3105bf(0x138)]();const _0x208f55=this[_0x3105bf(0x11a)](this[_0x3105bf(0x10a)],this[_0x3105bf(0xf9)]);this[_0x3105bf(0x100)][_0x3105bf(0x10e)][_0x3105bf(0x124)](_0x208f55);}}