@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x523911,_0x4f7fd8){const _0x14c44f=_0x4bec,_0x280545=_0x523911();while(!![]){try{const _0x4e4c0e=parseInt(_0x14c44f(0x153))/0x1+parseInt(_0x14c44f(0x154))/0x2+-parseInt(_0x14c44f(0x151))/0x3+-parseInt(_0x14c44f(0x14e))/0x4*(parseInt(_0x14c44f(0x155))/0x5)+parseInt(_0x14c44f(0x15a))/0x6+-parseInt(_0x14c44f(0x150))/0x7*(-parseInt(_0x14c44f(0x158))/0x8)+-parseInt(_0x14c44f(0x159))/0x9;if(_0x4e4c0e===_0x4f7fd8)break;else _0x280545['push'](_0x280545['shift']());}catch(_0x56493b){_0x280545['push'](_0x280545['shift']());}}}(_0x2635,0xcc306));import{SpinnerView as _0x2a432b}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';function _0x2635(){const _0x3cccde=['extendTemplate','ck-ai-spinner','5602216UzUclY','28016118NtJwmB','9575874ByVUSC','299692DQIHOK','ck-ai-spinner_','14fCMdxP','1882689oNSoWM','span','960724Qtnkgh','2437900FRynIe','40uKNBAL'];_0x2635=function(){return _0x3cccde;};return _0x2635();}function _0x4bec(_0x4a943b,_0xd95117){const _0x263579=_0x2635();return _0x4bec=function(_0x4bec70,_0x5385f2){_0x4bec70=_0x4bec70-0x14e;let _0x1c2600=_0x263579[_0x4bec70];return _0x1c2600;},_0x4bec(_0x4a943b,_0xd95117);}export class AISpinnerView extends _0x2a432b{constructor(_0x5de64b=void 0x0){const _0x5699f4=_0x4bec;super();const _0x3d40b3=_0x5de64b?_0x5699f4(0x14f)+_0x5de64b:'';this[_0x5699f4(0x156)]({'tag':_0x5699f4(0x152),'attributes':{'class':[_0x5699f4(0x157),_0x3d40b3]}});}}
23
+ (function(_0x2833d1,_0x11084b){const _0x2060d1=_0x3607,_0x500bf7=_0x2833d1();while(!![]){try{const _0x36bea6=parseInt(_0x2060d1(0x1aa))/0x1+-parseInt(_0x2060d1(0x1a1))/0x2+parseInt(_0x2060d1(0x1a9))/0x3*(-parseInt(_0x2060d1(0x1ad))/0x4)+parseInt(_0x2060d1(0x1a7))/0x5+-parseInt(_0x2060d1(0x1a3))/0x6*(parseInt(_0x2060d1(0x1a6))/0x7)+-parseInt(_0x2060d1(0x1ab))/0x8+-parseInt(_0x2060d1(0x1a5))/0x9*(-parseInt(_0x2060d1(0x1a8))/0xa);if(_0x36bea6===_0x11084b)break;else _0x500bf7['push'](_0x500bf7['shift']());}catch(_0xfd9f56){_0x500bf7['push'](_0x500bf7['shift']());}}}(_0x42ea,0xb90a1));function _0x3607(_0x5bd04f,_0x50a424){const _0x42ea01=_0x42ea();return _0x3607=function(_0x360797,_0x3025f6){_0x360797=_0x360797-0x1a0;let _0x3d99f8=_0x42ea01[_0x360797];return _0x3d99f8;},_0x3607(_0x5bd04f,_0x50a424);}import{SpinnerView as _0xde7768}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0xde7768{constructor(_0x50ff68=void 0x0){const _0x14cfb4=_0x3607;super();const _0xa30ea1=_0x50ff68?_0x14cfb4(0x1ac)+_0x50ff68:'';this[_0x14cfb4(0x1a0)]({'tag':_0x14cfb4(0x1a2),'attributes':{'class':[_0x14cfb4(0x1a4),_0xa30ea1]}});}}function _0x42ea(){const _0x2666f4=['436737nbfKKA','6346475FaHbUn','14060kUFgmh','6873vUoQCe','975247IvICjL','9591040IYRvwn','ck-ai-spinner_','616ERTbsm','extendTemplate','726460HhlPhw','span','6VwRXqm','ck-ai-spinner','3141TQcrLc'];_0x42ea=function(){return _0x2666f4;};return _0x42ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3818f4=_0x4c22;(function(_0x59676c,_0x25da6a){const _0x2cf64f=_0x4c22,_0x1529da=_0x59676c();while(!![]){try{const _0x130466=-parseInt(_0x2cf64f(0x13c))/0x1*(-parseInt(_0x2cf64f(0x15c))/0x2)+-parseInt(_0x2cf64f(0x14f))/0x3*(-parseInt(_0x2cf64f(0x14c))/0x4)+-parseInt(_0x2cf64f(0x150))/0x5+parseInt(_0x2cf64f(0x139))/0x6*(-parseInt(_0x2cf64f(0x154))/0x7)+-parseInt(_0x2cf64f(0x15d))/0x8*(parseInt(_0x2cf64f(0x163))/0x9)+parseInt(_0x2cf64f(0x13b))/0xa+-parseInt(_0x2cf64f(0x13e))/0xb;if(_0x130466===_0x25da6a)break;else _0x1529da['push'](_0x1529da['shift']());}catch(_0x1dd5e1){_0x1529da['push'](_0x1529da['shift']());}}}(_0x2f58,0x60745));import{ButtonView as _0x9cf87b,IconView as _0x35b29c,ToolbarView as _0x18dfa9}from'ckeditor5/src/ui.js';import{IconCheck as _0x26cdc5,IconCopy as _0x160814,IconShowChangesOff as _0x254117,IconShowChangesOn as _0x59c788,IconThumbDown as _0x28b0b1,IconThumbUp as _0x4a5201}from'@ckeditor/ckeditor5-icons';function _0x2f58(){const _0x4b5522=['showCopy','AI_MINI_TOOLBAR_DISLIKE','execute','AI_MINI_TOOLBAR_LIKE','toggleShowChangesEnabled','315ZVuUFp','AI_MINI_TOOLBAR_COPY','add','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','addMany','fire','ck-ai-button-tertiary','bind','ck-ai-mini-toolbar-copy-button__check-mark','copyButton','_setupShowChangesButton','showLike','466494OdiRtb','isEnabled','4982310NhxiAs','19ZJQqrc','full','6762525NMTdis','like','ck-ai-mini-toolbar','_setupRatingButtons','length','set','class','customView','isShowChangesOn','showDislike','showChangesButton','_config','showChanges','locale','230060HOzCcj','icon','_setupCopyButton','21cYuQpp','1515855MIQjOQ','isOn','dislikeButton','children','7SURXKg','extendTemplate','toggleShowChanges','items','dislike','likeButton','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','57198DmHQUH','12216NyrPoY'];_0x2f58=function(){return _0x4b5522;};return _0x2f58();}import{getTranslation as _0x582356}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';function _0x4c22(_0x138729,_0x1780fc){const _0x2f58d3=_0x2f58();return _0x4c22=function(_0x4c223d,_0x2f423b){_0x4c223d=_0x4c223d-0x12f;let _0x830972=_0x2f58d3[_0x4c223d];return _0x830972;},_0x4c22(_0x138729,_0x1780fc);}export class AIMiniToolbarView extends _0x18dfa9{[_0x3818f4(0x136)];[_0x3818f4(0x159)];[_0x3818f4(0x152)];[_0x3818f4(0x148)];[_0x3818f4(0x149)];constructor(_0x1eca2c,_0x1e0f36={}){const _0x3112e7=_0x3818f4;super(_0x1eca2c),this[_0x3112e7(0x143)](_0x3112e7(0x13a),!0x0),this[_0x3112e7(0x143)](_0x3112e7(0x146),!0x1),this[_0x3112e7(0x149)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x1e0f36};const _0x1cce69=!(this[_0x3112e7(0x149)][_0x3112e7(0x15e)]||this[_0x3112e7(0x149)][_0x3112e7(0x14a)]||this[_0x3112e7(0x149)][_0x3112e7(0x138)]||this[_0x3112e7(0x149)][_0x3112e7(0x147)]||this[_0x3112e7(0x149)][_0x3112e7(0x145)]?.[_0x3112e7(0x142)]);this[_0x3112e7(0x144)]=_0x1cce69?_0x3112e7(0x15a):_0x3112e7(0x140),this[_0x3112e7(0x149)][_0x3112e7(0x15e)]&&(this[_0x3112e7(0x14e)](),this[_0x3112e7(0x157)][_0x3112e7(0x165)](this[_0x3112e7(0x136)])),this[_0x3112e7(0x149)][_0x3112e7(0x14a)]&&(this[_0x3112e7(0x137)](),this[_0x3112e7(0x157)][_0x3112e7(0x165)](this[_0x3112e7(0x148)])),this[_0x3112e7(0x141)](),this[_0x3112e7(0x149)][_0x3112e7(0x138)]&&this[_0x3112e7(0x157)][_0x3112e7(0x165)](this[_0x3112e7(0x159)]),this[_0x3112e7(0x149)][_0x3112e7(0x147)]&&this[_0x3112e7(0x157)][_0x3112e7(0x165)](this[_0x3112e7(0x152)]),this[_0x3112e7(0x149)][_0x3112e7(0x145)]&&this[_0x3112e7(0x157)][_0x3112e7(0x131)](this[_0x3112e7(0x149)][_0x3112e7(0x145)]);}[_0x3818f4(0x162)](_0x593e3b){const _0x37ffb8=_0x3818f4;this[_0x37ffb8(0x148)][_0x37ffb8(0x13a)]=_0x593e3b;}[_0x3818f4(0x141)](){const _0x5e43fc=_0x3818f4;this[_0x5e43fc(0x159)]=new _0x9cf87b(this[_0x5e43fc(0x14b)]),this[_0x5e43fc(0x159)][_0x5e43fc(0x143)]({'icon':_0x4a5201,'label':_0x582356(this[_0x5e43fc(0x14b)],_0x5e43fc(0x161)),'tooltip':!0x0}),this[_0x5e43fc(0x159)][_0x5e43fc(0x134)](_0x5e43fc(0x13a))['to'](this),this[_0x5e43fc(0x159)]['on'](_0x5e43fc(0x160),()=>{const _0x4433fd=_0x5e43fc;this[_0x4433fd(0x132)](_0x4433fd(0x13f));}),this[_0x5e43fc(0x152)]=new _0x9cf87b(this[_0x5e43fc(0x14b)]),this[_0x5e43fc(0x152)][_0x5e43fc(0x143)]({'icon':_0x28b0b1,'label':_0x582356(this[_0x5e43fc(0x14b)],_0x5e43fc(0x15f)),'tooltip':!0x0}),this[_0x5e43fc(0x152)][_0x5e43fc(0x134)](_0x5e43fc(0x13a))['to'](this),this[_0x5e43fc(0x152)]['on'](_0x5e43fc(0x160),()=>{const _0x1b3761=_0x5e43fc;this[_0x1b3761(0x132)](_0x1b3761(0x158));});}[_0x3818f4(0x14e)](){const _0x35da48=_0x3818f4;this[_0x35da48(0x136)]=new _0x9cf87b(this[_0x35da48(0x14b)]),this[_0x35da48(0x136)][_0x35da48(0x143)]({'icon':_0x160814,'label':_0x582356(this[_0x35da48(0x14b)],_0x35da48(0x164)),'class':_0x35da48(0x12f),'tooltip':!0x0}),this[_0x35da48(0x136)][_0x35da48(0x134)](_0x35da48(0x13a))['to'](this);const _0x11b8ef=new _0x35b29c();_0x11b8ef[_0x35da48(0x143)]({'content':_0x26cdc5}),_0x11b8ef[_0x35da48(0x155)]({'attributes':{'class':[_0x35da48(0x135)]}}),this[_0x35da48(0x136)]['on'](_0x35da48(0x160),()=>{const _0x31552e=_0x35da48;this[_0x31552e(0x136)][_0x31552e(0x144)]=_0x31552e(0x130),setTimeout(()=>{const _0x48d9d5=_0x31552e;this[_0x48d9d5(0x136)][_0x48d9d5(0x144)]=_0x48d9d5(0x12f);},0x7d0);}),this[_0x35da48(0x136)][_0x35da48(0x153)][_0x35da48(0x165)](_0x11b8ef);}[_0x3818f4(0x137)](){const _0x1d0212=_0x3818f4;this[_0x1d0212(0x148)]=new _0x9cf87b(this[_0x1d0212(0x14b)]),this[_0x1d0212(0x148)][_0x1d0212(0x143)]({'icon':_0x254117,'label':_0x582356(this[_0x1d0212(0x14b)],_0x1d0212(0x15b)),'withText':_0x1d0212(0x13d)==this[_0x1d0212(0x149)][_0x1d0212(0x14a)],'tooltip':_0x1d0212(0x13d)!=this[_0x1d0212(0x149)][_0x1d0212(0x14a)],'class':_0x1d0212(0x133)}),this[_0x1d0212(0x148)][_0x1d0212(0x134)](_0x1d0212(0x151))['to'](this,_0x1d0212(0x146)),this[_0x1d0212(0x148)][_0x1d0212(0x134)](_0x1d0212(0x13a))['to'](this),this[_0x1d0212(0x148)][_0x1d0212(0x134)](_0x1d0212(0x14d))['to'](this,_0x1d0212(0x146),_0x115155=>_0x115155?_0x59c788:_0x254117),this[_0x1d0212(0x148)]['on'](_0x1d0212(0x160),()=>{const _0x470a96=_0x1d0212;this[_0x470a96(0x132)](_0x470a96(0x156));});}}
23
+ const _0x2157bd=_0x1750;function _0xea40(){const _0xd87d25=['ck-ai-mini-toolbar','21hoVYTw','isEnabled','257322AyJvVQ','_setupCopyButton','21AeLFmJ','AI_MINI_TOOLBAR_COPY','2167096gNxytY','ck-ai-mini-toolbar-copy-button','locale','class','likeButton','dislike','set','length','copyButton','add','bind','ck-ai-button-tertiary','AI_SUGGESTION_BUTTON_SHOW_CHANGES','_setupRatingButtons','showChangesButton','full','extendTemplate','toggleShowChanges','753260jGyMFO','2335401sSUBYj','18646AdhhZc','fire','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','showCopy','showLike','ck-ai-mini-toolbar-copy-button__check-mark','execute','toggleShowChangesEnabled','_config','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_LIKE','_setupShowChangesButton','26411MhoFPv','children','customView','isShowChangesOn','isOn','1020NwCUcf','6601200feyaDi','addMany','65TQkdrA','dislikeButton','AI_MINI_TOOLBAR_DISLIKE','icon','showChanges','items','showDislike'];_0xea40=function(){return _0xd87d25;};return _0xea40();}(function(_0x2a894f,_0x24d155){const _0x395d6a=_0x1750,_0x209dff=_0x2a894f();while(!![]){try{const _0x1bffd4=-parseInt(_0x395d6a(0x8d))/0x1*(-parseInt(_0x395d6a(0xaf))/0x2)+parseInt(_0x395d6a(0x95))/0x3*(-parseInt(_0x395d6a(0xad))/0x4)+parseInt(_0x395d6a(0x8b))/0x5+-parseInt(_0x395d6a(0x97))/0x6*(parseInt(_0x395d6a(0x99))/0x7)+parseInt(_0x395d6a(0x9b))/0x8+parseInt(_0x395d6a(0xae))/0x9+-parseInt(_0x395d6a(0xc1))/0xa*(parseInt(_0x395d6a(0xbc))/0xb);if(_0x1bffd4===_0x24d155)break;else _0x209dff['push'](_0x209dff['shift']());}catch(_0x554271){_0x209dff['push'](_0x209dff['shift']());}}}(_0xea40,0xbabab));function _0x1750(_0x4cdf34,_0x500d50){const _0xea407=_0xea40();return _0x1750=function(_0x17505d,_0x937fa1){_0x17505d=_0x17505d-0x8b;let _0xbb2ec4=_0xea407[_0x17505d];return _0xbb2ec4;},_0x1750(_0x4cdf34,_0x500d50);}import{ButtonView as _0x56e781,IconView as _0x5c2f62,ToolbarView as _0x2ae539}from'ckeditor5/src/ui.js';import{IconCheck as _0x3048de,IconCopy as _0x4ff862,IconShowChangesOff as _0x3aa4db,IconShowChangesOn as _0x2c0aec,IconThumbDown as _0x492f13,IconThumbUp as _0x40c5d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2b72e6}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x2ae539{[_0x2157bd(0xa3)];[_0x2157bd(0x9f)];[_0x2157bd(0x8e)];[_0x2157bd(0xa9)];[_0x2157bd(0xb8)];constructor(_0x3d2add,_0x3ba42c={}){const _0x655e20=_0x2157bd;super(_0x3d2add),this[_0x655e20(0xa1)](_0x655e20(0x96),!0x0),this[_0x655e20(0xa1)](_0x655e20(0xbf),!0x1),this[_0x655e20(0xb8)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3ba42c};const _0x26dcbd=!(this[_0x655e20(0xb8)][_0x655e20(0xb3)]||this[_0x655e20(0xb8)][_0x655e20(0x91)]||this[_0x655e20(0xb8)][_0x655e20(0xb4)]||this[_0x655e20(0xb8)][_0x655e20(0x93)]||this[_0x655e20(0xb8)][_0x655e20(0xbe)]?.[_0x655e20(0xa2)]);this[_0x655e20(0x9e)]=_0x26dcbd?_0x655e20(0xb9):_0x655e20(0x94),this[_0x655e20(0xb8)][_0x655e20(0xb3)]&&(this[_0x655e20(0x98)](),this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0xa3)])),this[_0x655e20(0xb8)][_0x655e20(0x91)]&&(this[_0x655e20(0xbb)](),this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0xa9)])),this[_0x655e20(0xa8)](),this[_0x655e20(0xb8)][_0x655e20(0xb4)]&&this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0x9f)]),this[_0x655e20(0xb8)][_0x655e20(0x93)]&&this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0x8e)]),this[_0x655e20(0xb8)][_0x655e20(0xbe)]&&this[_0x655e20(0x92)][_0x655e20(0x8c)](this[_0x655e20(0xb8)][_0x655e20(0xbe)]);}[_0x2157bd(0xb7)](_0x58159a){const _0x59cd73=_0x2157bd;this[_0x59cd73(0xa9)][_0x59cd73(0x96)]=_0x58159a;}[_0x2157bd(0xa8)](){const _0x993ad8=_0x2157bd;this[_0x993ad8(0x9f)]=new _0x56e781(this[_0x993ad8(0x9d)]),this[_0x993ad8(0x9f)][_0x993ad8(0xa1)]({'icon':_0x40c5d5,'label':_0x2b72e6(this[_0x993ad8(0x9d)],_0x993ad8(0xba)),'tooltip':!0x0}),this[_0x993ad8(0x9f)][_0x993ad8(0xa5)](_0x993ad8(0x96))['to'](this),this[_0x993ad8(0x9f)]['on'](_0x993ad8(0xb6),()=>{const _0x1efb62=_0x993ad8;this[_0x1efb62(0xb0)](_0x1efb62(0xb2));}),this[_0x993ad8(0x8e)]=new _0x56e781(this[_0x993ad8(0x9d)]),this[_0x993ad8(0x8e)][_0x993ad8(0xa1)]({'icon':_0x492f13,'label':_0x2b72e6(this[_0x993ad8(0x9d)],_0x993ad8(0x8f)),'tooltip':!0x0}),this[_0x993ad8(0x8e)][_0x993ad8(0xa5)](_0x993ad8(0x96))['to'](this),this[_0x993ad8(0x8e)]['on'](_0x993ad8(0xb6),()=>{const _0x3d937e=_0x993ad8;this[_0x3d937e(0xb0)](_0x3d937e(0xa0));});}[_0x2157bd(0x98)](){const _0xf3e5e8=_0x2157bd;this[_0xf3e5e8(0xa3)]=new _0x56e781(this[_0xf3e5e8(0x9d)]),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xa1)]({'icon':_0x4ff862,'label':_0x2b72e6(this[_0xf3e5e8(0x9d)],_0xf3e5e8(0x9a)),'class':_0xf3e5e8(0x9c),'tooltip':!0x0}),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xa5)](_0xf3e5e8(0x96))['to'](this);const _0x5dd26b=new _0x5c2f62();_0x5dd26b[_0xf3e5e8(0xa1)]({'content':_0x3048de}),_0x5dd26b[_0xf3e5e8(0xab)]({'attributes':{'class':[_0xf3e5e8(0xb5)]}}),this[_0xf3e5e8(0xa3)]['on'](_0xf3e5e8(0xb6),()=>{const _0xb6b53=_0xf3e5e8;this[_0xb6b53(0xa3)][_0xb6b53(0x9e)]=_0xb6b53(0xb1),setTimeout(()=>{const _0x3d108c=_0xb6b53;this[_0x3d108c(0xa3)][_0x3d108c(0x9e)]=_0x3d108c(0x9c);},0x7d0);}),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xbd)][_0xf3e5e8(0xa4)](_0x5dd26b);}[_0x2157bd(0xbb)](){const _0x6e2de1=_0x2157bd;this[_0x6e2de1(0xa9)]=new _0x56e781(this[_0x6e2de1(0x9d)]),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa1)]({'icon':_0x3aa4db,'label':_0x2b72e6(this[_0x6e2de1(0x9d)],_0x6e2de1(0xa7)),'withText':_0x6e2de1(0xaa)==this[_0x6e2de1(0xb8)][_0x6e2de1(0x91)],'tooltip':_0x6e2de1(0xaa)!=this[_0x6e2de1(0xb8)][_0x6e2de1(0x91)],'class':_0x6e2de1(0xa6)}),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0xc0))['to'](this,_0x6e2de1(0xbf)),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0x96))['to'](this),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0x90))['to'](this,_0x6e2de1(0xbf),_0x1fde05=>_0x1fde05?_0x2c0aec:_0x3aa4db),this[_0x6e2de1(0xa9)]['on'](_0x6e2de1(0xb6),()=>{const _0xf2e543=_0x6e2de1;this[_0xf2e543(0xb0)](_0xf2e543(0xac));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c8717=_0x43c9;(function(_0x14b07f,_0x521398){const _0xd23cde=_0x43c9,_0x30b03b=_0x14b07f();while(!![]){try{const _0x7cabc=parseInt(_0xd23cde(0x20d))/0x1*(-parseInt(_0xd23cde(0x200))/0x2)+-parseInt(_0xd23cde(0x215))/0x3*(parseInt(_0xd23cde(0x1eb))/0x4)+parseInt(_0xd23cde(0x210))/0x5*(parseInt(_0xd23cde(0x1e5))/0x6)+parseInt(_0xd23cde(0x21c))/0x7+-parseInt(_0xd23cde(0x216))/0x8+parseInt(_0xd23cde(0x1e9))/0x9+parseInt(_0xd23cde(0x1ff))/0xa*(-parseInt(_0xd23cde(0x1ed))/0xb);if(_0x7cabc===_0x521398)break;else _0x30b03b['push'](_0x30b03b['shift']());}catch(_0x1d31a3){_0x30b03b['push'](_0x30b03b['shift']());}}}(_0x573e,0xe9f50));import{View as _0x12ce86}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2fb3be}from'./aisuggestioncontentpartview.js';function _0x43c9(_0x53fb41,_0xc944ba){const _0x573e99=_0x573e();return _0x43c9=function(_0x43c9ad,_0x36db6c){_0x43c9ad=_0x43c9ad-0x1e0;let _0x3633a2=_0x573e99[_0x43c9ad];return _0x3633a2;},_0x43c9(_0x53fb41,_0xc944ba);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x49df49}from'../../utils/eventnames.js';import{PromiseQueue as _0x39c9f4}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x31eece}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x22f4e4}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x3b12f0}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x4c1124}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x12ce86{[_0x1c8717(0x21e)];[_0x1c8717(0x1e2)];[_0x1c8717(0x1f1)];[_0x1c8717(0x226)];[_0x1c8717(0x1e3)];[_0x1c8717(0x1e0)];[_0x1c8717(0x20c)];[_0x1c8717(0x1ee)];[_0x1c8717(0x223)]=[];constructor(_0xba4ea7,_0x1560f3){const _0x41ea55=_0x1c8717;super(_0xba4ea7);const {areActionsDisabled:_0x38361c,showUnchangedParts:_0x27c687,availableActions:_0x18719c}=_0x1560f3;this[_0x41ea55(0x226)]=_0x38361c,this[_0x41ea55(0x1e3)]=_0x27c687,this[_0x41ea55(0x1ee)]=_0x18719c,this[_0x41ea55(0x1ec)](_0x41ea55(0x1f2),!0x1),this[_0x41ea55(0x1ec)](_0x41ea55(0x21f),!0x1),this[_0x41ea55(0x1f1)]=this[_0x41ea55(0x20a)](),this[_0x41ea55(0x1e0)]=new _0x39c9f4(),this[_0x41ea55(0x20c)]=new _0x31eece({'id':_0x41ea55(0x204),'initialContent':_0x22f4e4(_0xba4ea7,_0x41ea55(0x21a)),'level':_0x41ea55(0x1e1)}),this[_0x41ea55(0x20c)][_0x41ea55(0x1f6)]=!0x1,this[_0x41ea55(0x21e)]=new _0x3b12f0(_0xba4ea7,_0x1560f3[_0x41ea55(0x1fd)],this[_0x41ea55(0x226)]),this[_0x41ea55(0x21e)][_0x41ea55(0x21d)](_0x41ea55(0x21f))['to'](this),this[_0x41ea55(0x1e2)]=new _0x4c1124(this[_0x41ea55(0x219)],_0x1560f3[_0x41ea55(0x1ef)]),_0x1560f3[_0x41ea55(0x1fa)]?this[_0x41ea55(0x21e)][_0x41ea55(0x208)]=!0x1:this[_0x41ea55(0x21e)][_0x41ea55(0x21d)](_0x41ea55(0x208))['to'](this,_0x41ea55(0x1f2)),this[_0x41ea55(0x21e)][_0x41ea55(0x1f4)](..._0x49df49)['to'](this),this[_0x41ea55(0x1f7)]({'tag':_0x41ea55(0x20b),'attributes':{'class':['ck',_0x41ea55(0x1f8)]},'children':[{'tag':_0x41ea55(0x20b),'attributes':{'class':['ck',_0x41ea55(0x1f5)]},'children':this[_0x41ea55(0x1f1)]},this[_0x41ea55(0x20c)],this[_0x41ea55(0x21e)],this[_0x41ea55(0x1e2)]]});}get[_0x1c8717(0x212)](){const _0xa1e673=_0x1c8717;return this[_0xa1e673(0x1f1)][_0xa1e673(0x225)];}async[_0x1c8717(0x224)]({parts:_0x4397fd,renderingStrategy:_0x3f146e,abortSignal:_0x2e35d4}){const _0x3ec9bb=_0x1c8717;this[_0x3ec9bb(0x1f1)][_0x3ec9bb(0x225)]?_0x4397fd[_0x3ec9bb(0x211)](_0xf4f898=>{const _0x5d20f6=_0x3ec9bb,_0x18922c=this[_0x5d20f6(0x223)][_0x5d20f6(0x221)](_0x428f06=>_0x428f06[_0x5d20f6(0x218)]==_0xf4f898[_0x5d20f6(0x218)]);-0x1===_0x18922c?this[_0x5d20f6(0x223)][_0x5d20f6(0x1f0)](_0xf4f898):this[_0x5d20f6(0x223)][_0x18922c]=_0xf4f898;}):this[_0x3ec9bb(0x223)]=_0x4397fd;const _0x5f3846=this[_0x3ec9bb(0x1e3)]?_0x4397fd:_0x4397fd[_0x3ec9bb(0x209)](_0x5edfc5=>_0x5edfc5[_0x3ec9bb(0x1fb)]);this[_0x3ec9bb(0x21e)][_0x3ec9bb(0x1fc)](_0x5f3846[_0x3ec9bb(0x225)]>0x1);for(const _0x1d6546 of _0x5f3846)this[_0x3ec9bb(0x1e0)][_0x3ec9bb(0x1ea)](async _0x4b8b2e=>{const _0x744fa4=_0x3ec9bb;let _0x107c13=this[_0x744fa4(0x20f)](_0x1d6546[_0x744fa4(0x218)]);_0x107c13||(_0x107c13=new _0x2fb3be(this[_0x744fa4(0x219)],{'part':_0x1d6546,'uiIndex':this[_0x744fa4(0x1f1)][_0x744fa4(0x225)]+0x1,'areActionsDisabled':this[_0x744fa4(0x226)],'availableActions':this[_0x744fa4(0x1ee)]}),_0x107c13[_0x744fa4(0x1f4)](..._0x49df49)['to'](this),this[_0x744fa4(0x1f1)][_0x744fa4(0x203)](_0x107c13),this[_0x744fa4(0x1f2)]=!0x0),await _0x107c13[_0x744fa4(0x1e7)]({'part':_0x1d6546,'renderingStrategy':_0x3f146e,'showUnchangedParts':this[_0x744fa4(0x1e3)],'abortSignal':_0x4b8b2e}),_0x107c13[_0x744fa4(0x220)]();});return _0x2e35d4?.[_0x3ec9bb(0x1fe)](_0x3ec9bb(0x214),()=>{const _0x37fe4d=_0x3ec9bb;this[_0x37fe4d(0x1e0)][_0x37fe4d(0x214)]();}),this[_0x3ec9bb(0x1e0)][_0x3ec9bb(0x1f9)];}[_0x1c8717(0x202)](_0x47b3b6,_0x5571e){const _0xb46ac5=_0x1c8717,_0x4b8259=this[_0xb46ac5(0x20f)](_0x47b3b6);_0x4b8259&&(_0x4b8259[_0xb46ac5(0x1f3)]=_0x5571e),this[_0xb46ac5(0x1f2)]=_0xb46ac5(0x20e)==_0x5571e||Array[_0xb46ac5(0x222)](this[_0xb46ac5(0x1f1)])[_0xb46ac5(0x201)](_0x4885cf=>_0xb46ac5(0x20e)==_0x4885cf[_0xb46ac5(0x1f3)]);}[_0x1c8717(0x213)](_0x43d532,_0x425460){const _0x49960e=_0x1c8717;if(!0x1===_0x43d532){for(const _0x172c6e of this[_0x49960e(0x1f1)])_0x172c6e[_0x49960e(0x1e6)]=!0x1;}else{const _0x5c02ca=this[_0x49960e(0x20f)](_0x43d532);_0x5c02ca&&(_0x5c02ca[_0x49960e(0x1e6)]=_0x425460);}}[_0x1c8717(0x217)](_0x5ed0bd){const _0x361ef7=_0x1c8717;_0x5ed0bd[_0x361ef7(0x211)](_0x5e0d11=>this[_0x361ef7(0x1e2)][_0x361ef7(0x227)](_0x5e0d11)),this[_0x361ef7(0x1e2)][_0x361ef7(0x1f6)]=!0x0;}[_0x1c8717(0x20f)](_0x39f426){const _0x3223df=_0x1c8717;return this[_0x3223df(0x1f1)][_0x3223df(0x207)](_0x161681=>_0x161681[_0x3223df(0x1e8)][_0x3223df(0x218)]==_0x39f426)??null;}[_0x1c8717(0x220)](){const _0x18e824=_0x1c8717;if(!this[_0x18e824(0x1e3)]){const _0x12736b=!this[_0x18e824(0x223)][_0x18e824(0x207)](({hasChanges:_0x374506})=>_0x374506),_0x450066=!!this[_0x18e824(0x223)][_0x18e824(0x207)](({hasChanges:_0x44a90a})=>!_0x44a90a);this[_0x18e824(0x20c)][_0x18e824(0x1f6)]=0x0==this[_0x18e824(0x1f1)][_0x18e824(0x225)]||_0x450066,_0x12736b?this[_0x18e824(0x20c)][_0x18e824(0x205)](_0x22f4e4(this[_0x18e824(0x219)],_0x18e824(0x21b))):this[_0x18e824(0x20c)][_0x18e824(0x205)](_0x22f4e4(this[_0x18e824(0x219)],_0x18e824(0x21a)));}this[_0x18e824(0x1f1)][_0x18e824(0x211)](_0x244191=>_0x244191[_0x18e824(0x220)]()),this[_0x18e824(0x21e)][_0x18e824(0x206)](this[_0x18e824(0x1e4)]);}get[_0x1c8717(0x1e4)](){const _0xfd484=_0x1c8717;return this[_0xfd484(0x1f1)][_0xfd484(0x209)](_0x3a04b5=>_0x3a04b5[_0xfd484(0x1e8)][_0xfd484(0x1fb)])[_0xfd484(0x225)]>0x0;}}function _0x573e(){const _0x181c21=['areActionsDisabled','hasChanges','_switchButtonLabelsPlurality','availableActions','addEventListener','10BfhFnO','2418gzcILb','some','updatePartState','add','empty-parts-warning','setContent','updateVisibility','find','isEnabled','filter','createCollection','div','_emptyPartsWarningView','64BiggFq','pending','getPartView','185RrCeAw','forEach','partsCount','setPartActive','abort','87UIGjMN','2223888DJxFPj','updateSources','index','locale','AI_SUGGESTION_EMPTY_PART_WARNING','AI_SUGGESTION_NO_PARTS_WARNING','12694962yAiaID','bind','_actionsView','isTrackChangesOn','markAsDone','findIndex','from','_cachedContentParts','updateContentParts','length','_areActionsDisabled','addSource','_updateContentPartsPromiseQueue','warning','_sourcesView','_showUnchangedParts','hasNonEmptyParts','219354rQyFPE','isActive','updateContent','partDefinition','4642461SJJLwk','enqueue','147484rdmXgi','set','14290859FtVrwQ','_availableActions','bodyCollection','push','_children','hasPendingParts','state','delegate','ck-ai-suggestion__body__content-parts','isVisible','setTemplate','ck-ai-suggestion__body','queueEmptyPromise'];_0x573e=function(){return _0x181c21;};return _0x573e();}
23
+ const _0x449e12=_0x54d2;(function(_0x533389,_0x2ce75a){const _0xcfc12a=_0x54d2,_0x1aa7e8=_0x533389();while(!![]){try{const _0x52eff2=parseInt(_0xcfc12a(0xae))/0x1*(parseInt(_0xcfc12a(0xa3))/0x2)+-parseInt(_0xcfc12a(0xb0))/0x3+parseInt(_0xcfc12a(0xce))/0x4*(-parseInt(_0xcfc12a(0xc5))/0x5)+parseInt(_0xcfc12a(0xdd))/0x6*(parseInt(_0xcfc12a(0xc0))/0x7)+-parseInt(_0xcfc12a(0xcd))/0x8+-parseInt(_0xcfc12a(0xa4))/0x9+parseInt(_0xcfc12a(0xe5))/0xa;if(_0x52eff2===_0x2ce75a)break;else _0x1aa7e8['push'](_0x1aa7e8['shift']());}catch(_0x1be73e){_0x1aa7e8['push'](_0x1aa7e8['shift']());}}}(_0x118f,0xe49b9));import{View as _0x44db5f}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x5e5964}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x53a537}from'../../utils/eventnames.js';import{PromiseQueue as _0xf05191}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x216c2a}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x54d2(_0x225e6f,_0x125e65){const _0x118f8a=_0x118f();return _0x54d2=function(_0x54d2f3,_0x381b13){_0x54d2f3=_0x54d2f3-0x9f;let _0x3ccebd=_0x118f8a[_0x54d2f3];return _0x3ccebd;},_0x54d2(_0x225e6f,_0x125e65);}import{getTranslation as _0x37cd07}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x2a33db}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x443c94}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x44db5f{[_0x449e12(0xd4)];[_0x449e12(0xcb)];[_0x449e12(0xdf)];[_0x449e12(0xa9)];[_0x449e12(0xbf)];[_0x449e12(0xd5)];[_0x449e12(0xb1)];[_0x449e12(0xa2)];[_0x449e12(0x9f)]=[];constructor(_0x5563ea,_0x5d0efa){const _0x209c77=_0x449e12;super(_0x5563ea);const {areActionsDisabled:_0xb4758d,showUnchangedParts:_0x110e7b,availableActions:_0x28ff9b}=_0x5d0efa;this[_0x209c77(0xa9)]=_0xb4758d,this[_0x209c77(0xbf)]=_0x110e7b,this[_0x209c77(0xa2)]=_0x28ff9b,this[_0x209c77(0xc2)](_0x209c77(0xd9),!0x1),this[_0x209c77(0xc2)](_0x209c77(0xd2),!0x1),this[_0x209c77(0xdf)]=this[_0x209c77(0xbb)](),this[_0x209c77(0xd5)]=new _0xf05191(),this[_0x209c77(0xb1)]=new _0x216c2a({'id':_0x209c77(0xca),'initialContent':_0x37cd07(_0x5563ea,_0x209c77(0xab)),'level':_0x209c77(0xc4)}),this[_0x209c77(0xb1)][_0x209c77(0xba)]=!0x1,this[_0x209c77(0xd4)]=new _0x2a33db(_0x5563ea,_0x5d0efa[_0x209c77(0xd3)],this[_0x209c77(0xa9)]),this[_0x209c77(0xd4)][_0x209c77(0xb3)](_0x209c77(0xd2))['to'](this),this[_0x209c77(0xcb)]=new _0x443c94(this[_0x209c77(0xa1)],_0x5d0efa[_0x209c77(0xc1)]),_0x5d0efa[_0x209c77(0xc3)]?this[_0x209c77(0xd4)][_0x209c77(0xad)]=!0x1:this[_0x209c77(0xd4)][_0x209c77(0xb3)](_0x209c77(0xad))['to'](this,_0x209c77(0xd9)),this[_0x209c77(0xd4)][_0x209c77(0xbc)](..._0x53a537)['to'](this),this[_0x209c77(0xc7)]({'tag':_0x209c77(0xe4),'attributes':{'class':['ck',_0x209c77(0xac)]},'children':[{'tag':_0x209c77(0xe4),'attributes':{'class':['ck',_0x209c77(0xc9)]},'children':this[_0x209c77(0xdf)]},this[_0x209c77(0xb1)],this[_0x209c77(0xd4)],this[_0x209c77(0xcb)]]});}get[_0x449e12(0xb7)](){const _0x35a2c3=_0x449e12;return this[_0x35a2c3(0xdf)][_0x35a2c3(0xcf)];}async[_0x449e12(0xd0)]({parts:_0x4ff17b,renderingStrategy:_0x1dad08,abortSignal:_0x3f2a93}){const _0x30093b=_0x449e12;this[_0x30093b(0xdf)][_0x30093b(0xcf)]?_0x4ff17b[_0x30093b(0xdb)](_0x3babc7=>{const _0x42b0c6=_0x30093b,_0x5a9384=this[_0x42b0c6(0x9f)][_0x42b0c6(0xd8)](_0x34ffa0=>_0x34ffa0[_0x42b0c6(0xc6)]==_0x3babc7[_0x42b0c6(0xc6)]);-0x1===_0x5a9384?this[_0x42b0c6(0x9f)][_0x42b0c6(0xaf)](_0x3babc7):this[_0x42b0c6(0x9f)][_0x5a9384]=_0x3babc7;}):this[_0x30093b(0x9f)]=_0x4ff17b;const _0x3cf113=this[_0x30093b(0xbf)]?_0x4ff17b:_0x4ff17b[_0x30093b(0xa6)](_0x4782ab=>_0x4782ab[_0x30093b(0xa5)]);this[_0x30093b(0xd4)][_0x30093b(0xbd)](_0x3cf113[_0x30093b(0xcf)]>0x1);for(const _0x1e002b of _0x3cf113)this[_0x30093b(0xd5)][_0x30093b(0xda)](async _0x3d8951=>{const _0x29b8f7=_0x30093b;let _0x253636=this[_0x29b8f7(0xb5)](_0x1e002b[_0x29b8f7(0xc6)]);_0x253636||(_0x253636=new _0x5e5964(this[_0x29b8f7(0xa1)],{'part':_0x1e002b,'uiIndex':this[_0x29b8f7(0xdf)][_0x29b8f7(0xcf)]+0x1,'areActionsDisabled':this[_0x29b8f7(0xa9)],'availableActions':this[_0x29b8f7(0xa2)]}),_0x253636[_0x29b8f7(0xbc)](..._0x53a537)['to'](this),this[_0x29b8f7(0xdf)][_0x29b8f7(0xe2)](_0x253636),this[_0x29b8f7(0xd9)]=!0x0),await _0x253636[_0x29b8f7(0xc8)]({'part':_0x1e002b,'renderingStrategy':_0x1dad08,'showUnchangedParts':this[_0x29b8f7(0xbf)],'abortSignal':_0x3d8951}),_0x253636[_0x29b8f7(0xd6)]();});return _0x3f2a93?.[_0x30093b(0xb4)](_0x30093b(0xaa),()=>{const _0x208281=_0x30093b;this[_0x208281(0xd5)][_0x208281(0xaa)]();}),this[_0x30093b(0xd5)][_0x30093b(0xa7)];}[_0x449e12(0xcc)](_0x211f43,_0x6db476){const _0x454016=_0x449e12,_0xf937af=this[_0x454016(0xb5)](_0x211f43);_0xf937af&&(_0xf937af[_0x454016(0xa0)]=_0x6db476),this[_0x454016(0xd9)]=_0x454016(0xd7)==_0x6db476||Array[_0x454016(0xb9)](this[_0x454016(0xdf)])[_0x454016(0xb6)](_0x1f63da=>_0x454016(0xd7)==_0x1f63da[_0x454016(0xa0)]);}[_0x449e12(0xe0)](_0x109b53,_0x59fc20){const _0x43e648=_0x449e12;if(!0x1===_0x109b53){for(const _0x5d262f of this[_0x43e648(0xdf)])_0x5d262f[_0x43e648(0xdc)]=!0x1;}else{const _0x5cfdc7=this[_0x43e648(0xb5)](_0x109b53);_0x5cfdc7&&(_0x5cfdc7[_0x43e648(0xdc)]=_0x59fc20);}}[_0x449e12(0xb8)](_0xf791c2){const _0x34be8c=_0x449e12;_0xf791c2[_0x34be8c(0xdb)](_0x7bf832=>this[_0x34be8c(0xcb)][_0x34be8c(0xde)](_0x7bf832)),this[_0x34be8c(0xcb)][_0x34be8c(0xba)]=!0x0;}[_0x449e12(0xb5)](_0x46c1f5){const _0x1f850e=_0x449e12;return this[_0x1f850e(0xdf)][_0x1f850e(0xb2)](_0x5ebf48=>_0x5ebf48[_0x1f850e(0xa8)][_0x1f850e(0xc6)]==_0x46c1f5)??null;}[_0x449e12(0xd6)](){const _0x26ad72=_0x449e12;if(!this[_0x26ad72(0xbf)]){const _0x4626d0=!this[_0x26ad72(0x9f)][_0x26ad72(0xb2)](({hasChanges:_0xffea7f})=>_0xffea7f),_0x890f2f=!!this[_0x26ad72(0x9f)][_0x26ad72(0xb2)](({hasChanges:_0x5bb7df})=>!_0x5bb7df);this[_0x26ad72(0xb1)][_0x26ad72(0xba)]=0x0==this[_0x26ad72(0xdf)][_0x26ad72(0xcf)]||_0x890f2f,_0x4626d0?this[_0x26ad72(0xb1)][_0x26ad72(0xe3)](_0x37cd07(this[_0x26ad72(0xa1)],_0x26ad72(0xd1))):this[_0x26ad72(0xb1)][_0x26ad72(0xe3)](_0x37cd07(this[_0x26ad72(0xa1)],_0x26ad72(0xab)));}this[_0x26ad72(0xdf)][_0x26ad72(0xdb)](_0x146b08=>_0x146b08[_0x26ad72(0xd6)]()),this[_0x26ad72(0xd4)][_0x26ad72(0xbe)](this[_0x26ad72(0xe1)]);}get[_0x449e12(0xe1)](){const _0xc6c245=_0x449e12;return this[_0xc6c245(0xdf)][_0xc6c245(0xa6)](_0x26751e=>_0x26751e[_0xc6c245(0xa8)][_0xc6c245(0xa5)])[_0xc6c245(0xcf)]>0x0;}}function _0x118f(){const _0x50d815=['ck-ai-suggestion__body','isEnabled','1949RauOYX','push','1170036MCUEgG','_emptyPartsWarningView','find','bind','addEventListener','getPartView','some','partsCount','updateSources','from','isVisible','createCollection','delegate','_switchButtonLabelsPlurality','updateVisibility','_showUnchangedParts','7ccIllm','bodyCollection','set','areActionsDisabled','warning','40XwYXOH','index','setTemplate','updateContent','ck-ai-suggestion__body__content-parts','empty-parts-warning','_sourcesView','updatePartState','11158360krMTyT','8952mvsbdW','length','updateContentParts','AI_SUGGESTION_NO_PARTS_WARNING','isTrackChangesOn','availableActions','_actionsView','_updateContentPartsPromiseQueue','markAsDone','pending','findIndex','hasPendingParts','enqueue','forEach','isActive','32052RlBmmE','addSource','_children','setPartActive','hasNonEmptyParts','add','setContent','div','23940010WlghGX','_cachedContentParts','state','locale','_availableActions','886xlTxQd','4712958tkACRg','hasChanges','filter','queueEmptyPromise','partDefinition','_areActionsDisabled','abort','AI_SUGGESTION_EMPTY_PART_WARNING'];_0x118f=function(){return _0x50d815;};return _0x118f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54066b=_0x5ea4;(function(_0x366cb2,_0x13d8ff){const _0x2ea0ce=_0x5ea4,_0x11b3d1=_0x366cb2();while(!![]){try{const _0x5c2200=-parseInt(_0x2ea0ce(0x10d))/0x1+parseInt(_0x2ea0ce(0x104))/0x2*(-parseInt(_0x2ea0ce(0x10e))/0x3)+parseInt(_0x2ea0ce(0x10b))/0x4*(parseInt(_0x2ea0ce(0x102))/0x5)+-parseInt(_0x2ea0ce(0xfd))/0x6+parseInt(_0x2ea0ce(0x106))/0x7+-parseInt(_0x2ea0ce(0x103))/0x8*(parseInt(_0x2ea0ce(0xf9))/0x9)+parseInt(_0x2ea0ce(0xff))/0xa;if(_0x5c2200===_0x13d8ff)break;else _0x11b3d1['push'](_0x11b3d1['shift']());}catch(_0x4410ce){_0x11b3d1['push'](_0x11b3d1['shift']());}}}(_0x2611,0x6ff26));import{View as _0x4dc230}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x1dc182}from'./aisuggestionheaderview.js';function _0x5ea4(_0x27e8aa,_0x8bc55a){const _0x2611b7=_0x2611();return _0x5ea4=function(_0x5ea497,_0x36c9cd){_0x5ea497=_0x5ea497-0xf5;let _0x8e7c7f=_0x2611b7[_0x5ea497];return _0x8e7c7f;},_0x5ea4(_0x27e8aa,_0x8bc55a);}import{AISuggestionBodyView as _0x5445bf}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1f7453}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x4dc230{[_0x54066b(0xf7)];[_0x54066b(0x112)];[_0x54066b(0xfa)];constructor(_0x2772d4,_0x4f73db,_0x3796bf){const _0x3f59ed=_0x54066b;super(_0x2772d4);const {showDiff:_0x542464,areActionsDisabled:_0x52fe99,showUnchangedParts:_0x2e0004,availableActions:_0x286c90}=_0x4f73db;this[_0x3f59ed(0xf5)](_0x3f59ed(0x105),!0x1),this[_0x3f59ed(0xf5)](_0x3f59ed(0x101),!0x1),this[_0x3f59ed(0x112)]=this[_0x3f59ed(0xf6)](),this[_0x3f59ed(0xfa)]=new _0x1dc182(_0x2772d4,{'showDiff':_0x542464}),this[_0x3f59ed(0xfa)]['on'](_0x3f59ed(0x113),(_0xe62fc3,_0x35674f)=>{const _0x4c567b=_0x3f59ed;this[_0x4c567b(0x101)]=_0x35674f[_0x4c567b(0x108)],this[_0x4c567b(0x115)](_0x4c567b(0xfe),{'showDiff':_0x35674f[_0x4c567b(0x108)]});}),this[_0x3f59ed(0x112)][_0x3f59ed(0x100)](this[_0x3f59ed(0xfa)]),this[_0x3f59ed(0xf7)]=new _0x5445bf(_0x2772d4,{'areActionsDisabled':_0x52fe99,'showUnchangedParts':!!_0x2e0004,'availableActions':_0x286c90,'bodyCollection':_0x3796bf}),this[_0x3f59ed(0xf7)][_0x3f59ed(0xfc)](..._0x1f7453)['to'](this),this[_0x3f59ed(0xf7)][_0x3f59ed(0x107)](_0x3f59ed(0x105))['to'](this),this[_0x3f59ed(0x112)][_0x3f59ed(0x100)](this[_0x3f59ed(0xf7)]),this[_0x3f59ed(0x110)]({'tag':_0x3f59ed(0xfb),'attributes':{'class':['ck',_0x3f59ed(0x10a),_0x3f59ed(0x10c)]},'children':this[_0x3f59ed(0x112)]});}async[_0x54066b(0xf8)](_0x3cdf8f){const _0x46d79c=_0x54066b;await this[_0x46d79c(0xf7)][_0x46d79c(0x111)](_0x3cdf8f);}[_0x54066b(0x116)](_0x729414){const _0x1b20bf=_0x54066b;this[_0x1b20bf(0xf7)][_0x1b20bf(0x116)](_0x729414);}[_0x54066b(0x109)](){const _0x783329=_0x54066b;this[_0x783329(0xf7)][_0x783329(0x109)](),this[_0x783329(0xfa)]&&(this[_0x783329(0xfa)][_0x783329(0x114)]=this[_0x783329(0xf7)][_0x783329(0x10f)]);}}function _0x2611(){const _0x3c1c70=['isOn','markAsDone','ck-ai-suggestion__container','4MLNeBD','ck-rounded-corners','704676sElhjH','6xWITpU','hasNonEmptyParts','setTemplate','updateContentParts','children','toggleShowChanges','isShowChangesToggleVisible','fire','updateSources','set','createCollection','bodyView','updateContent','81cAGIWh','headerView','div','delegate','4766538ZrgVFf','toggleSuggestionDisplayMode','22578340QlJaZB','add','areChangesVisible','3531335ONCuJF','729088LpzMDm','298954FvLesM','isTrackChangesOn','788970BGhVHc','bind'];_0x2611=function(){return _0x3c1c70;};return _0x2611();}
23
+ const _0x54fed6=_0x871c;(function(_0x5c6a41,_0x39ab18){const _0x574145=_0x871c,_0x3874e6=_0x5c6a41();while(!![]){try{const _0x4f33e6=-parseInt(_0x574145(0x133))/0x1*(-parseInt(_0x574145(0x13d))/0x2)+-parseInt(_0x574145(0x128))/0x3+-parseInt(_0x574145(0x12b))/0x4*(-parseInt(_0x574145(0x143))/0x5)+parseInt(_0x574145(0x139))/0x6*(-parseInt(_0x574145(0x138))/0x7)+-parseInt(_0x574145(0x137))/0x8*(parseInt(_0x574145(0x140))/0x9)+-parseInt(_0x574145(0x130))/0xa*(parseInt(_0x574145(0x13e))/0xb)+parseInt(_0x574145(0x12c))/0xc;if(_0x4f33e6===_0x39ab18)break;else _0x3874e6['push'](_0x3874e6['shift']());}catch(_0x29379c){_0x3874e6['push'](_0x3874e6['shift']());}}}(_0x3d01,0x78baf));import{View as _0x24edf7}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x4b1207}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x565498}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x45983c}from'../../utils/eventnames.js';function _0x871c(_0x4cb568,_0x27edb0){const _0x3d012e=_0x3d01();return _0x871c=function(_0x871c04,_0xb4e03d){_0x871c04=_0x871c04-0x121;let _0x59816f=_0x3d012e[_0x871c04];return _0x59816f;},_0x871c(_0x4cb568,_0x27edb0);}import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x24edf7{[_0x54fed6(0x123)];[_0x54fed6(0x144)];[_0x54fed6(0x124)];constructor(_0x4885ec,_0x18b575,_0x2379e4){const _0x5caff0=_0x54fed6;super(_0x4885ec);const {showDiff:_0x250acf,areActionsDisabled:_0xfae009,showUnchangedParts:_0x5e0a76,availableActions:_0x5bc293}=_0x18b575;this[_0x5caff0(0x13b)](_0x5caff0(0x13c),!0x1),this[_0x5caff0(0x13b)](_0x5caff0(0x12f),!0x1),this[_0x5caff0(0x144)]=this[_0x5caff0(0x129)](),this[_0x5caff0(0x124)]=new _0x4b1207(_0x4885ec,{'showDiff':_0x250acf}),this[_0x5caff0(0x124)]['on'](_0x5caff0(0x142),(_0xfcaa6f,_0x3d45bc)=>{const _0x176af1=_0x5caff0;this[_0x176af1(0x12f)]=_0x3d45bc[_0x176af1(0x134)],this[_0x176af1(0x127)](_0x176af1(0x13f),{'showDiff':_0x3d45bc[_0x176af1(0x134)]});}),this[_0x5caff0(0x144)][_0x5caff0(0x12a)](this[_0x5caff0(0x124)]),this[_0x5caff0(0x123)]=new _0x565498(_0x4885ec,{'areActionsDisabled':_0xfae009,'showUnchangedParts':!!_0x5e0a76,'availableActions':_0x5bc293,'bodyCollection':_0x2379e4}),this[_0x5caff0(0x123)][_0x5caff0(0x135)](..._0x45983c)['to'](this),this[_0x5caff0(0x123)][_0x5caff0(0x122)](_0x5caff0(0x13c))['to'](this),this[_0x5caff0(0x144)][_0x5caff0(0x12a)](this[_0x5caff0(0x123)]),this[_0x5caff0(0x132)]({'tag':_0x5caff0(0x141),'attributes':{'class':['ck',_0x5caff0(0x126),_0x5caff0(0x13a)]},'children':this[_0x5caff0(0x144)]});}async[_0x54fed6(0x136)](_0x487d58){const _0x1ce738=_0x54fed6;await this[_0x1ce738(0x123)][_0x1ce738(0x131)](_0x487d58);}[_0x54fed6(0x12d)](_0x263692){const _0x39e4da=_0x54fed6;this[_0x39e4da(0x123)][_0x39e4da(0x12d)](_0x263692);}[_0x54fed6(0x121)](){const _0x48b620=_0x54fed6;this[_0x48b620(0x123)][_0x48b620(0x121)](),this[_0x48b620(0x124)]&&(this[_0x48b620(0x124)][_0x48b620(0x12e)]=this[_0x48b620(0x123)][_0x48b620(0x125)]);}}function _0x3d01(){const _0x11094d=['createCollection','add','2675804TrITGX','2035164LqXBEY','updateSources','isShowChangesToggleVisible','areChangesVisible','80cPPdrV','updateContentParts','setTemplate','107594TzSTlX','isOn','delegate','updateContent','4936xXZCwr','21csVtzX','73518eLQJXB','ck-rounded-corners','set','isTrackChangesOn','4gdfWZm','200948sjrCUp','toggleSuggestionDisplayMode','1557exoIwl','div','toggleShowChanges','5OxHfOr','children','markAsDone','bind','bodyView','headerView','hasNonEmptyParts','ck-ai-suggestion__container','fire','808743mZvCDk'];_0x3d01=function(){return _0x11094d;};return _0x3d01();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3145(){var _0x5aadf6=['setTemplate','isEnabled','pending','titleLabelView','6uuSkgH','20TXLehm','index','65475gCylIh','span','rejectSuggestion','3165522CKNPzy','ck-ai-suggestion__body__content-part__title','fire','42210663iDMukR','createCollection','set','add','children','toString','516dHMGQm','AI_SUGGESTION_CONTENT_PART_TITLE','insertSuggestion','bind','toolbarView','5746384lKOmXd','change:state','setState','9iqwIXW','ck-reset_all-excluded','addMany','remove','applySuggestion','state','5385504ammyYU','ck-ai-suggestion__body__content-part__title__label','div','stateView','9108480orfzwd','95932ACccqa'];_0x3145=function(){return _0x5aadf6;};return _0x3145();}var _0x1e5735=_0xb4e4;(function(_0x3c3227,_0x14b3c0){var _0xea402d=_0xb4e4,_0xca234d=_0x3c3227();while(!![]){try{var _0x225951=-parseInt(_0xea402d(0x112))/0x1*(-parseInt(_0xea402d(0x10c))/0x2)+parseInt(_0xea402d(0x117))/0x3+-parseInt(_0xea402d(0x120))/0x4*(-parseInt(_0xea402d(0x114))/0x5)+parseInt(_0xea402d(0x111))/0x6*(parseInt(_0xea402d(0x125))/0x7)+parseInt(_0xea402d(0x107))/0x8*(-parseInt(_0xea402d(0x128))/0x9)+parseInt(_0xea402d(0x10b))/0xa+-parseInt(_0xea402d(0x11a))/0xb;if(_0x225951===_0x14b3c0)break;else _0xca234d['push'](_0xca234d['shift']());}catch(_0x54d52f){_0xca234d['push'](_0xca234d['shift']());}}}(_0x3145,0xe1d3c));import{View as _0x2a1768}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a40ed}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x2d9a23}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0xea8e0f}from'./aisuggestioncontentparttoolbarview.js';function _0xb4e4(_0x4de0eb,_0x4b19c5){var _0x314543=_0x3145();return _0xb4e4=function(_0xb4e4eb,_0x4495d1){_0xb4e4eb=_0xb4e4eb-0x106;var _0x4eb32d=_0x314543[_0xb4e4eb];return _0x4eb32d;},_0xb4e4(_0x4de0eb,_0x4b19c5);}export class AISuggestionContentPartHeaderView extends _0x2a1768{[_0x1e5735(0x124)];[_0x1e5735(0x10a)];[_0x1e5735(0x110)];[_0x1e5735(0x11e)];constructor(_0x124a17,{part:_0x82cb4b,uiIndex:_0x20db96,availableActions:_0x2e4735,areActionsDisabled:_0x5c9f22}){var _0x5cf9eb=_0x1e5735;super(_0x124a17),this[_0x5cf9eb(0x11c)](_0x5cf9eb(0x10e),!0x0),this[_0x5cf9eb(0x11c)](_0x5cf9eb(0x106),_0x5cf9eb(0x10f)),this[_0x5cf9eb(0x124)]=new _0xea8e0f(_0x124a17,_0x2e4735,_0x5c9f22),this[_0x5cf9eb(0x124)]['on'](_0x5cf9eb(0x116),()=>{var _0x91ae9f=_0x5cf9eb;this[_0x91ae9f(0x119)](_0x91ae9f(0x116),{'index':_0x82cb4b[_0x91ae9f(0x113)]});}),this[_0x5cf9eb(0x124)]['on'](_0x5cf9eb(0x122),()=>{var _0x469fe6=_0x5cf9eb;this[_0x469fe6(0x119)](_0x469fe6(0x122),{'index':_0x82cb4b[_0x469fe6(0x113)]});}),this[_0x5cf9eb(0x124)]['on'](_0x5cf9eb(0x12c),()=>{var _0x2b75b0=_0x5cf9eb;this[_0x2b75b0(0x119)](_0x2b75b0(0x12c),{'index':_0x82cb4b[_0x2b75b0(0x113)]});}),this[_0x5cf9eb(0x124)][_0x5cf9eb(0x123)](_0x5cf9eb(0x10e))['to'](this),this[_0x5cf9eb(0x10a)]=new _0x2d9a23(_0x124a17),this[_0x5cf9eb(0x110)]=new Sn(_0x124a17,_0x20db96),this[_0x5cf9eb(0x11e)]=this[_0x5cf9eb(0x11b)](),this[_0x5cf9eb(0x11e)][_0x5cf9eb(0x12a)]([this[_0x5cf9eb(0x110)],this[_0x5cf9eb(0x124)]]),this[_0x5cf9eb(0x10d)]({'tag':_0x5cf9eb(0x109),'attributes':{'class':['ck',_0x5cf9eb(0x129),_0x5cf9eb(0x118)]},'children':this[_0x5cf9eb(0x11e)]}),this['on'](_0x5cf9eb(0x126),(_0x42431f,_0xfa4b82,_0x1656e1,_0x21f16f)=>{var _0x41e000=_0x5cf9eb;_0x41e000(0x10f)===_0x21f16f?this[_0x41e000(0x11e)][_0x41e000(0x12b)](this[_0x41e000(0x124)]):this[_0x41e000(0x11e)][_0x41e000(0x12b)](this[_0x41e000(0x10a)]),_0x41e000(0x10f)===_0x1656e1?this[_0x41e000(0x11e)][_0x41e000(0x11d)](this[_0x41e000(0x124)]):(this[_0x41e000(0x10a)][_0x41e000(0x127)](_0x1656e1),this[_0x41e000(0x11e)][_0x41e000(0x11d)](this[_0x41e000(0x10a)]));});}}class Sn extends _0x2a1768{constructor(_0x323997,_0x23871c){var _0x1bf802=_0x1e5735;super(_0x323997),this[_0x1bf802(0x10d)]({'tag':_0x1bf802(0x115),'attributes':{'class':['ck',_0x1bf802(0x108)]},'children':[_0x5a40ed(_0x323997,_0x1bf802(0x121),_0x23871c[_0x1bf802(0x11f)]())]});}}
23
+ var _0x1b1bf9=_0x2283;function _0x2283(_0x2ee42f,_0x53135b){var _0x3a8826=_0x3a88();return _0x2283=function(_0x228321,_0x3f4348){_0x228321=_0x228321-0x1ca;var _0x447818=_0x3a8826[_0x228321];return _0x447818;},_0x2283(_0x2ee42f,_0x53135b);}(function(_0x5a0abe,_0x275c93){var _0x224d84=_0x2283,_0x29c399=_0x5a0abe();while(!![]){try{var _0x5c915c=-parseInt(_0x224d84(0x1d2))/0x1*(-parseInt(_0x224d84(0x1d6))/0x2)+-parseInt(_0x224d84(0x1d8))/0x3+parseInt(_0x224d84(0x1d7))/0x4+-parseInt(_0x224d84(0x1ef))/0x5*(parseInt(_0x224d84(0x1db))/0x6)+parseInt(_0x224d84(0x1e5))/0x7+parseInt(_0x224d84(0x1cd))/0x8+parseInt(_0x224d84(0x1ed))/0x9*(-parseInt(_0x224d84(0x1cc))/0xa);if(_0x5c915c===_0x275c93)break;else _0x29c399['push'](_0x29c399['shift']());}catch(_0x48e9e4){_0x29c399['push'](_0x29c399['shift']());}}}(_0x3a88,0x3b432));import{View as _0x5547f7}from'ckeditor5/src/ui.js';import{getTranslation as _0x395169}from'../../utils/common-translations.js';function _0x3a88(){var _0x2a7558=['add','2293648UCocYq','createCollection','applySuggestion','div','set','setState','index','change:state','6278058DWldpH','remove','1825ClJZYG','state','toolbarView','10PfXjnQ','2883656UxWeXm','setTemplate','insertSuggestion','bind','pending','157GpCcQb','addMany','span','children','6008YgmIda','1548592tHoVbk','654711QDEJyQ','stateView','rejectSuggestion','6384zdxIct','ck-ai-suggestion__body__content-part__title__label','toString','fire','ck-ai-suggestion__body__content-part__title','isEnabled','AI_SUGGESTION_CONTENT_PART_TITLE','ck-reset_all-excluded','titleLabelView'];_0x3a88=function(){return _0x2a7558;};return _0x3a88();}import{AISuggestionContentPartStateView as _0x3268a8}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x163776}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x5547f7{[_0x1b1bf9(0x1cb)];[_0x1b1bf9(0x1d9)];[_0x1b1bf9(0x1e3)];[_0x1b1bf9(0x1d5)];constructor(_0xdf97fc,{part:_0x27760e,uiIndex:_0x10d145,availableActions:_0xe3e90d,areActionsDisabled:_0x4aee0e}){var _0xf11914=_0x1b1bf9;super(_0xdf97fc),this[_0xf11914(0x1e9)](_0xf11914(0x1e0),!0x0),this[_0xf11914(0x1e9)](_0xf11914(0x1ca),_0xf11914(0x1d1)),this[_0xf11914(0x1cb)]=new _0x163776(_0xdf97fc,_0xe3e90d,_0x4aee0e),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1da),()=>{var _0x3d0b64=_0xf11914;this[_0x3d0b64(0x1de)](_0x3d0b64(0x1da),{'index':_0x27760e[_0x3d0b64(0x1eb)]});}),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1cf),()=>{var _0x26b42a=_0xf11914;this[_0x26b42a(0x1de)](_0x26b42a(0x1cf),{'index':_0x27760e[_0x26b42a(0x1eb)]});}),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1e7),()=>{var _0x1133b7=_0xf11914;this[_0x1133b7(0x1de)](_0x1133b7(0x1e7),{'index':_0x27760e[_0x1133b7(0x1eb)]});}),this[_0xf11914(0x1cb)][_0xf11914(0x1d0)](_0xf11914(0x1e0))['to'](this),this[_0xf11914(0x1d9)]=new _0x3268a8(_0xdf97fc),this[_0xf11914(0x1e3)]=new Sn(_0xdf97fc,_0x10d145),this[_0xf11914(0x1d5)]=this[_0xf11914(0x1e6)](),this[_0xf11914(0x1d5)][_0xf11914(0x1d3)]([this[_0xf11914(0x1e3)],this[_0xf11914(0x1cb)]]),this[_0xf11914(0x1ce)]({'tag':_0xf11914(0x1e8),'attributes':{'class':['ck',_0xf11914(0x1e2),_0xf11914(0x1df)]},'children':this[_0xf11914(0x1d5)]}),this['on'](_0xf11914(0x1ec),(_0x2fd004,_0x49e370,_0x41acc2,_0x18b881)=>{var _0x28be4b=_0xf11914;_0x28be4b(0x1d1)===_0x18b881?this[_0x28be4b(0x1d5)][_0x28be4b(0x1ee)](this[_0x28be4b(0x1cb)]):this[_0x28be4b(0x1d5)][_0x28be4b(0x1ee)](this[_0x28be4b(0x1d9)]),_0x28be4b(0x1d1)===_0x41acc2?this[_0x28be4b(0x1d5)][_0x28be4b(0x1e4)](this[_0x28be4b(0x1cb)]):(this[_0x28be4b(0x1d9)][_0x28be4b(0x1ea)](_0x41acc2),this[_0x28be4b(0x1d5)][_0x28be4b(0x1e4)](this[_0x28be4b(0x1d9)]));});}}class Sn extends _0x5547f7{constructor(_0x2de292,_0x32f7f3){var _0x404467=_0x1b1bf9;super(_0x2de292),this[_0x404467(0x1ce)]({'tag':_0x404467(0x1d4),'attributes':{'class':['ck',_0x404467(0x1dc)]},'children':[_0x395169(_0x2de292,_0x404467(0x1e1),_0x32f7f3[_0x404467(0x1dd)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fc46b=_0x1734;(function(_0x16eadf,_0x5e24d1){const _0x5d3f5f=_0x1734,_0x4886d8=_0x16eadf();while(!![]){try{const _0x16e307=parseInt(_0x5d3f5f(0x159))/0x1+parseInt(_0x5d3f5f(0x167))/0x2*(-parseInt(_0x5d3f5f(0x160))/0x3)+parseInt(_0x5d3f5f(0x15a))/0x4*(-parseInt(_0x5d3f5f(0x15f))/0x5)+parseInt(_0x5d3f5f(0x163))/0x6*(-parseInt(_0x5d3f5f(0x166))/0x7)+parseInt(_0x5d3f5f(0x162))/0x8*(parseInt(_0x5d3f5f(0x157))/0x9)+-parseInt(_0x5d3f5f(0x155))/0xa+parseInt(_0x5d3f5f(0x158))/0xb;if(_0x16e307===_0x5e24d1)break;else _0x4886d8['push'](_0x4886d8['shift']());}catch(_0x983b5f){_0x4886d8['push'](_0x4886d8['shift']());}}}(_0x5970,0xbf67b));import{IconView as _0x269784,View as _0x22ebba}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x5e2fe2,IconBoxWithCheck as _0x172de9}from'ckeditor5/src/icons.js';import{getTranslation as _0x342752}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x172de9,'rejected':_0x5e2fe2,'outdated':_0x5e2fe2};function _0x1734(_0x18c6db,_0xb1b539){const _0x597034=_0x5970();return _0x1734=function(_0x173405,_0x51cec7){_0x173405=_0x173405-0x14f;let _0x2946e7=_0x597034[_0x173405];return _0x2946e7;},_0x1734(_0x18c6db,_0xb1b539);}export class AISuggestionContentPartStateView extends _0x22ebba{[_0x2fc46b(0x152)];constructor(_0x59828c){const _0xab5070=_0x2fc46b;super(_0x59828c);const _0x5a810c=this[_0xab5070(0x161)];this[_0xab5070(0x16c)](_0xab5070(0x15d),_0xab5070(0x16a)),this[_0xab5070(0x16c)](_0xab5070(0x154),!0x0),this[_0xab5070(0x152)]=new StateIconView(),this[_0xab5070(0x152)][_0xab5070(0x16e)](_0xab5070(0x15d))['to'](this),this[_0xab5070(0x164)]({'tag':_0xab5070(0x15b),'attributes':{'class':['ck',_0xab5070(0x16f),_0x5a810c['to'](_0xab5070(0x15d),_0x3b77ea=>_0xab5070(0x150)+_0x3b77ea),_0x5a810c['if'](_0xab5070(0x154),_0xab5070(0x151),_0xf4fdb2=>!_0xf4fdb2)]},'children':[{'tag':_0xab5070(0x15e),'attributes':{'class':[_0xab5070(0x168)]},'children':[{'text':_0x5a810c['to'](_0xab5070(0x15d),_0x3a1096=>{const _0x7b0eb9=_0xab5070;switch(_0x3a1096){case _0x7b0eb9(0x16a):return _0x342752(_0x59828c,_0x7b0eb9(0x16d));case _0x7b0eb9(0x14f):return _0x342752(_0x59828c,_0x7b0eb9(0x156));case _0x7b0eb9(0x169):return _0x342752(_0x59828c,_0x7b0eb9(0x153));}})}]},this[_0xab5070(0x152)]]});}[_0x2fc46b(0x15c)](_0xa7563){const _0x3850b5=_0x2fc46b;this[_0x3850b5(0x15d)]=_0xa7563;}}function _0x5970(){const _0x472945=['AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','isVisible','11117580mDBVkL','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','333aDBipo','29944431tKwTMR','163770sUDyeA','124RcuVMA','div','setState','state','span','126715ExUHhA','1956tekoqe','bindTemplate','311384CJlUuv','6444KMZrqe','setTemplate','content','3976pUupPt','3174QDwMQW','ck-ai-suggestion__content-part-state__label','outdated','accepted','change:state','set','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','bind','ck-ai-suggestion__content-part-state','rejected','ck-ai-suggestion__content-part-state_','ck-hidden','stateIconView'];_0x5970=function(){return _0x472945;};return _0x5970();}export class StateIconView extends _0x269784{constructor(){const _0x5ade93=_0x2fc46b;super(),this[_0x5ade93(0x16c)](_0x5ade93(0x15d),_0x5ade93(0x16a)),this[_0x5ade93(0x165)]=ICON_STATE_MAP[this[_0x5ade93(0x15d)]],this['on'](_0x5ade93(0x16b),()=>{const _0x3c847d=_0x5ade93;this[_0x3c847d(0x165)]=ICON_STATE_MAP[this[_0x3c847d(0x15d)]];});}}
23
+ const _0x4b637b=_0xb3ea;(function(_0x882cff,_0x40e834){const _0x597f66=_0xb3ea,_0x5ba63f=_0x882cff();while(!![]){try{const _0x9fe6ec=parseInt(_0x597f66(0x1f1))/0x1*(-parseInt(_0x597f66(0x1f6))/0x2)+-parseInt(_0x597f66(0x1ef))/0x3*(-parseInt(_0x597f66(0x1d7))/0x4)+-parseInt(_0x597f66(0x1ec))/0x5+parseInt(_0x597f66(0x1e4))/0x6+parseInt(_0x597f66(0x1e8))/0x7*(-parseInt(_0x597f66(0x1f7))/0x8)+parseInt(_0x597f66(0x1f3))/0x9*(-parseInt(_0x597f66(0x1f0))/0xa)+-parseInt(_0x597f66(0x1e7))/0xb*(-parseInt(_0x597f66(0x1e1))/0xc);if(_0x9fe6ec===_0x40e834)break;else _0x5ba63f['push'](_0x5ba63f['shift']());}catch(_0x572053){_0x5ba63f['push'](_0x5ba63f['shift']());}}}(_0x4b24,0x47678));import{IconView as _0x3a641e,View as _0x443d77}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x366024,IconBoxWithCheck as _0x425b1a}from'ckeditor5/src/icons.js';import{getTranslation as _0x5747a9}from'../../utils/common-translations.js';function _0x4b24(){const _0x5c798a=['5744ngClwQ','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','6372tbOxDg','ck-ai-suggestion__content-part-state__label','outdated','state','div','change:state','setTemplate','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','bindTemplate','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','17424LHCwvu','accepted','ck-ai-suggestion__content-part-state_','844224BDvbuS','content','isVisible','6644cLDkMn','5215TBFFXy','ck-ai-suggestion__content-part-state','bind','span','2762095TzkAHh','ck-hidden','set','1101pOxtGK','20BEHCKv','2iaLeFH','rejected','541647zGMaIn','setState','stateIconView','102176qTnvvi'];_0x4b24=function(){return _0x5c798a;};return _0x4b24();}import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x425b1a,'rejected':_0x366024,'outdated':_0x366024};function _0xb3ea(_0xc18396,_0x1af126){const _0x4b24c7=_0x4b24();return _0xb3ea=function(_0xb3ea5,_0x549deb){_0xb3ea5=_0xb3ea5-0x1d7;let _0x36f980=_0x4b24c7[_0xb3ea5];return _0x36f980;},_0xb3ea(_0xc18396,_0x1af126);}export class AISuggestionContentPartStateView extends _0x443d77{[_0x4b637b(0x1f5)];constructor(_0x2ef8cf){const _0x39a7c2=_0x4b637b;super(_0x2ef8cf);const _0x33c559=this[_0x39a7c2(0x1df)];this[_0x39a7c2(0x1ee)](_0x39a7c2(0x1da),_0x39a7c2(0x1e2)),this[_0x39a7c2(0x1ee)](_0x39a7c2(0x1e6),!0x0),this[_0x39a7c2(0x1f5)]=new StateIconView(),this[_0x39a7c2(0x1f5)][_0x39a7c2(0x1ea)](_0x39a7c2(0x1da))['to'](this),this[_0x39a7c2(0x1dd)]({'tag':_0x39a7c2(0x1db),'attributes':{'class':['ck',_0x39a7c2(0x1e9),_0x33c559['to'](_0x39a7c2(0x1da),_0x3e0856=>_0x39a7c2(0x1e3)+_0x3e0856),_0x33c559['if'](_0x39a7c2(0x1e6),_0x39a7c2(0x1ed),_0x3018f1=>!_0x3018f1)]},'children':[{'tag':_0x39a7c2(0x1eb),'attributes':{'class':[_0x39a7c2(0x1d8)]},'children':[{'text':_0x33c559['to'](_0x39a7c2(0x1da),_0x66c817=>{const _0xfdb352=_0x39a7c2;switch(_0x66c817){case _0xfdb352(0x1e2):return _0x5747a9(_0x2ef8cf,_0xfdb352(0x1e0));case _0xfdb352(0x1f2):return _0x5747a9(_0x2ef8cf,_0xfdb352(0x1de));case _0xfdb352(0x1d9):return _0x5747a9(_0x2ef8cf,_0xfdb352(0x1f8));}})}]},this[_0x39a7c2(0x1f5)]]});}[_0x4b637b(0x1f4)](_0x377d9d){const _0x1ee92f=_0x4b637b;this[_0x1ee92f(0x1da)]=_0x377d9d;}}export class StateIconView extends _0x3a641e{constructor(){const _0x248de6=_0x4b637b;super(),this[_0x248de6(0x1ee)](_0x248de6(0x1da),_0x248de6(0x1e2)),this[_0x248de6(0x1e5)]=ICON_STATE_MAP[this[_0x248de6(0x1da)]],this['on'](_0x248de6(0x1dc),()=>{const _0x53a927=_0x248de6;this[_0x53a927(0x1e5)]=ICON_STATE_MAP[this[_0x53a927(0x1da)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x433885=_0x507c;(function(_0x1dd145,_0x4777d7){const _0x8b8599=_0x507c,_0x2b48ec=_0x1dd145();while(!![]){try{const _0x1456d2=-parseInt(_0x8b8599(0x16b))/0x1*(parseInt(_0x8b8599(0x166))/0x2)+-parseInt(_0x8b8599(0x153))/0x3+-parseInt(_0x8b8599(0x16e))/0x4+parseInt(_0x8b8599(0x162))/0x5*(parseInt(_0x8b8599(0x158))/0x6)+parseInt(_0x8b8599(0x154))/0x7*(-parseInt(_0x8b8599(0x173))/0x8)+parseInt(_0x8b8599(0x15c))/0x9*(-parseInt(_0x8b8599(0x15b))/0xa)+parseInt(_0x8b8599(0x15d))/0xb;if(_0x1456d2===_0x4777d7)break;else _0x2b48ec['push'](_0x2b48ec['shift']());}catch(_0x405285){_0x2b48ec['push'](_0x2b48ec['shift']());}}}(_0x45b7,0x72389));import{ButtonView as _0x28236c,ToolbarView as _0x40210e}from'ckeditor5/src/ui.js';import{getTranslation as _0x5bdeec}from'../../utils/common-translations.js';function _0x507c(_0x503add,_0x2083f9){const _0x45b7ba=_0x45b7();return _0x507c=function(_0x507c29,_0xaaaec){_0x507c29=_0x507c29-0x153;let _0x78fce6=_0x45b7ba[_0x507c29];return _0x78fce6;},_0x507c(_0x503add,_0x2083f9);}import{IconBoxWithCross as _0x39379b,IconBoxWithCheck as _0x5b31d4,IconBoxWithMarker as _0x3a6c6f,IconInfo as _0x55708f}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';function _0x45b7(){const _0x363c79=['execute','fire','961388XXQCPS','includes','_suggestButton','ck-ai-suggestion-content-part-toolbar','ck-hidden','8AGYzYY','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','_applyButton','isEnabled','1522071YYXOgM','4790359OxQKEu','applySuggestion','class','bind','1015926JWhPlp','extendTemplate','setButtonsVisibility','70Ouyvho','39141TRZbSe','24546742DnuBPj','set','addMany','rejectSuggestion','insertSuggestion','5alVQKb','isVisible','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','items','10AlwRYi','AI_SUGGESTION_CONTENT_PART_REJECT','push','AI_SUGGESTION_CONTENT_PART_APPLY','bindTemplate','94102aWiPag'];_0x45b7=function(){return _0x363c79;};return _0x45b7();}export class AISuggestionContentPartToolbarView extends _0x40210e{[_0x433885(0x175)];[_0x433885(0x170)];constructor(_0x174968,_0x384c1b,_0x5c89bf){const _0xbd21c0=_0x433885;super(_0x174968);const _0x5a38ec=Boolean(_0x5c89bf);this[_0xbd21c0(0x15e)](_0xbd21c0(0x176),!_0x5a38ec),this[_0xbd21c0(0x15e)](_0xbd21c0(0x163),!0x0),this[_0xbd21c0(0x156)]=_0xbd21c0(0x171);const _0x3aebe4=[];if(_0x5a38ec){const _0x29ed68=new _0x28236c(_0x174968);_0x29ed68[_0xbd21c0(0x15e)]({'label':_0x5bdeec(_0x174968,_0xbd21c0(0x174)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x55708f}),_0x3aebe4[_0xbd21c0(0x168)](_0x29ed68);}else{_0x384c1b[_0xbd21c0(0x16f)](_0xbd21c0(0x155))&&(this[_0xbd21c0(0x175)]=new _0x28236c(_0x174968),this[_0xbd21c0(0x175)][_0xbd21c0(0x15e)]({'label':_0x5bdeec(_0x174968,_0xbd21c0(0x169)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5b31d4}),this[_0xbd21c0(0x175)][_0xbd21c0(0x157)](_0xbd21c0(0x176))['to'](this),this[_0xbd21c0(0x175)]['on'](_0xbd21c0(0x16c),()=>{const _0x2279c6=_0xbd21c0;this[_0x2279c6(0x16d)](_0x2279c6(0x155));}),_0x3aebe4[_0xbd21c0(0x168)](this[_0xbd21c0(0x175)])),_0x384c1b[_0xbd21c0(0x16f)](_0xbd21c0(0x161))&&(this[_0xbd21c0(0x170)]=new _0x28236c(_0x174968),this[_0xbd21c0(0x170)][_0xbd21c0(0x15e)]({'label':_0x5bdeec(_0x174968,_0xbd21c0(0x164)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3a6c6f}),this[_0xbd21c0(0x170)][_0xbd21c0(0x157)](_0xbd21c0(0x176))['to'](this),this[_0xbd21c0(0x170)]['on'](_0xbd21c0(0x16c),()=>{const _0x5ac3d4=_0xbd21c0;this[_0x5ac3d4(0x16d)](_0x5ac3d4(0x161));}),_0x3aebe4[_0xbd21c0(0x168)](this[_0xbd21c0(0x170)]));const _0x33c93d=new _0x28236c(_0x174968);_0x33c93d[_0xbd21c0(0x15e)]({'label':_0x5bdeec(_0x174968,_0xbd21c0(0x167)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x39379b}),_0x33c93d[_0xbd21c0(0x157)](_0xbd21c0(0x176))['to'](this),_0x33c93d['on'](_0xbd21c0(0x16c),()=>{const _0x5627f8=_0xbd21c0;this[_0x5627f8(0x16d)](_0x5627f8(0x160));}),_0x3aebe4[_0xbd21c0(0x168)](_0x33c93d);}this[_0xbd21c0(0x165)][_0xbd21c0(0x15f)](_0x3aebe4);const _0x5de709=this[_0xbd21c0(0x16a)];this[_0xbd21c0(0x159)]({'attributes':{'class':[_0x5de709['if'](_0xbd21c0(0x163),_0xbd21c0(0x172),_0x11dcee=>!_0x11dcee)]}});}[_0x433885(0x15a)]({showApplyButton:_0x5514da,showSuggestButton:_0x2f588c}){const _0xe7a0f0=_0x433885;this[_0xe7a0f0(0x175)]&&(this[_0xe7a0f0(0x175)][_0xe7a0f0(0x163)]=_0x5514da),this[_0xe7a0f0(0x170)]&&(this[_0xe7a0f0(0x170)][_0xe7a0f0(0x163)]=_0x2f588c);}}
23
+ const _0x1d5522=_0x3ea8;(function(_0x24fda5,_0x3527f0){const _0x1f6587=_0x3ea8,_0x5af4cd=_0x24fda5();while(!![]){try{const _0x130b39=-parseInt(_0x1f6587(0x1e1))/0x1+-parseInt(_0x1f6587(0x1ed))/0x2+-parseInt(_0x1f6587(0x1da))/0x3+-parseInt(_0x1f6587(0x1e3))/0x4+-parseInt(_0x1f6587(0x1de))/0x5*(-parseInt(_0x1f6587(0x1ee))/0x6)+-parseInt(_0x1f6587(0x1ec))/0x7*(parseInt(_0x1f6587(0x1ea))/0x8)+-parseInt(_0x1f6587(0x1d2))/0x9*(-parseInt(_0x1f6587(0x1d8))/0xa);if(_0x130b39===_0x3527f0)break;else _0x5af4cd['push'](_0x5af4cd['shift']());}catch(_0x326c91){_0x5af4cd['push'](_0x5af4cd['shift']());}}}(_0x340d,0xe5c33));function _0x340d(){const _0x153152=['145551VLSnLq','659606URdpxi','48qdIaOy','isVisible','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','AI_SUGGESTION_CONTENT_PART_APPLY','insertSuggestion','AI_SUGGESTION_CONTENT_PART_REJECT','9jyODjC','fire','bindTemplate','bind','isEnabled','applySuggestion','51554130binLZa','_suggestButton','921936rMuLHp','rejectSuggestion','set','items','130705FWkBlT','execute','_applyButton','361092SzsChY','push','7047148YizbFB','ck-hidden','setButtonsVisibility','ck-ai-suggestion-content-part-toolbar','includes','addMany','extendTemplate','640koIEyj','class'];_0x340d=function(){return _0x153152;};return _0x340d();}function _0x3ea8(_0x1afe43,_0x46e03e){const _0x340d78=_0x340d();return _0x3ea8=function(_0x3ea849,_0x5d9bcf){_0x3ea849=_0x3ea849-0x1cd;let _0x78b035=_0x340d78[_0x3ea849];return _0x78b035;},_0x3ea8(_0x1afe43,_0x46e03e);}import{ButtonView as _0xc0fcab,ToolbarView as _0x147cac}from'ckeditor5/src/ui.js';import{getTranslation as _0x1fa969}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x2c75fa,IconBoxWithCheck as _0x128650,IconBoxWithMarker as _0x3ae70e,IconInfo as _0x14162a}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x147cac{[_0x1d5522(0x1e0)];[_0x1d5522(0x1d9)];constructor(_0x1a442b,_0x5dfd85,_0xbe3386){const _0xf3b451=_0x1d5522;super(_0x1a442b);const _0x5a30ff=Boolean(_0xbe3386);this[_0xf3b451(0x1dc)](_0xf3b451(0x1d6),!_0x5a30ff),this[_0xf3b451(0x1dc)](_0xf3b451(0x1ef),!0x0),this[_0xf3b451(0x1eb)]=_0xf3b451(0x1e6);const _0x4ab945=[];if(_0x5a30ff){const _0x3b8ba6=new _0xc0fcab(_0x1a442b);_0x3b8ba6[_0xf3b451(0x1dc)]({'label':_0x1fa969(_0x1a442b,_0xf3b451(0x1cd)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14162a}),_0x4ab945[_0xf3b451(0x1e2)](_0x3b8ba6);}else{_0x5dfd85[_0xf3b451(0x1e7)](_0xf3b451(0x1d7))&&(this[_0xf3b451(0x1e0)]=new _0xc0fcab(_0x1a442b),this[_0xf3b451(0x1e0)][_0xf3b451(0x1dc)]({'label':_0x1fa969(_0x1a442b,_0xf3b451(0x1cf)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x128650}),this[_0xf3b451(0x1e0)][_0xf3b451(0x1d5)](_0xf3b451(0x1d6))['to'](this),this[_0xf3b451(0x1e0)]['on'](_0xf3b451(0x1df),()=>{const _0x2c49f8=_0xf3b451;this[_0x2c49f8(0x1d3)](_0x2c49f8(0x1d7));}),_0x4ab945[_0xf3b451(0x1e2)](this[_0xf3b451(0x1e0)])),_0x5dfd85[_0xf3b451(0x1e7)](_0xf3b451(0x1d0))&&(this[_0xf3b451(0x1d9)]=new _0xc0fcab(_0x1a442b),this[_0xf3b451(0x1d9)][_0xf3b451(0x1dc)]({'label':_0x1fa969(_0x1a442b,_0xf3b451(0x1ce)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3ae70e}),this[_0xf3b451(0x1d9)][_0xf3b451(0x1d5)](_0xf3b451(0x1d6))['to'](this),this[_0xf3b451(0x1d9)]['on'](_0xf3b451(0x1df),()=>{const _0x37f8b5=_0xf3b451;this[_0x37f8b5(0x1d3)](_0x37f8b5(0x1d0));}),_0x4ab945[_0xf3b451(0x1e2)](this[_0xf3b451(0x1d9)]));const _0x575653=new _0xc0fcab(_0x1a442b);_0x575653[_0xf3b451(0x1dc)]({'label':_0x1fa969(_0x1a442b,_0xf3b451(0x1d1)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2c75fa}),_0x575653[_0xf3b451(0x1d5)](_0xf3b451(0x1d6))['to'](this),_0x575653['on'](_0xf3b451(0x1df),()=>{const _0x1a34cd=_0xf3b451;this[_0x1a34cd(0x1d3)](_0x1a34cd(0x1db));}),_0x4ab945[_0xf3b451(0x1e2)](_0x575653);}this[_0xf3b451(0x1dd)][_0xf3b451(0x1e8)](_0x4ab945);const _0x58dc14=this[_0xf3b451(0x1d4)];this[_0xf3b451(0x1e9)]({'attributes':{'class':[_0x58dc14['if'](_0xf3b451(0x1ef),_0xf3b451(0x1e4),_0xf59dd2=>!_0xf59dd2)]}});}[_0x1d5522(0x1e5)]({showApplyButton:_0x31babb,showSuggestButton:_0x1f3578}){const _0x5d07cf=_0x1d5522;this[_0x5d07cf(0x1e0)]&&(this[_0x5d07cf(0x1e0)][_0x5d07cf(0x1ef)]=_0x31babb),this[_0x5d07cf(0x1d9)]&&(this[_0x5d07cf(0x1d9)][_0x5d07cf(0x1ef)]=_0x1f3578);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4933(_0xc46b61,_0x51b07b){const _0x637d4=_0x637d();return _0x4933=function(_0x49335a,_0x22dc68){_0x49335a=_0x49335a-0x1d7;let _0x4e513b=_0x637d4[_0x49335a];return _0x4e513b;},_0x4933(_0xc46b61,_0x51b07b);}function _0x637d(){const _0x912690=['target','isVisible','updateContent','90502QBiCDR','change:isDone','160756dAKadh','setTemplate','element','2863208iVAoym','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part_active','_streamableContentView','7502530PPvnhd','145hICDAG','ck-ai-suggestion__body__content-part_enabled','bindTemplate','showChangeInText','isDone','addMany','isActive','8183FEeUgg','partDefinition','createCollection','toolbarView','state','set','mouseOverSuggestion','_children','isEnabled','2276469AMpyrw','contains','3219885syRaWo','index','2658VGtCgr','ck-ai-suggestion__body__content-part_','delegate','hasChanges','bind','markAsDone','ck-hidden','update','div','change:state','fire','pending','_headerView','ck-ai-suggestion__body__content-part','8JQdxNO'];_0x637d=function(){return _0x912690;};return _0x637d();}const _0x4c35ae=_0x4933;(function(_0x284d1e,_0x133189){const _0x150ef6=_0x4933,_0x3e8932=_0x284d1e();while(!![]){try{const _0x447b88=-parseInt(_0x150ef6(0x1fe))/0x1*(-parseInt(_0x150ef6(0x1fa))/0x2)+parseInt(_0x150ef6(0x1ea))/0x3+parseInt(_0x150ef6(0x200))/0x4*(-parseInt(_0x150ef6(0x1d8))/0x5)+parseInt(_0x150ef6(0x1ec))/0x6*(-parseInt(_0x150ef6(0x1df))/0x7)+parseInt(_0x150ef6(0x203))/0x8+-parseInt(_0x150ef6(0x1e8))/0x9+parseInt(_0x150ef6(0x1d7))/0xa;if(_0x447b88===_0x133189)break;else _0x3e8932['push'](_0x3e8932['shift']());}catch(_0x29a308){_0x3e8932['push'](_0x3e8932['shift']());}}}(_0x637d,0x943c0));import{View as _0x3401d9}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1d0784}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x8230bb}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x293ade}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x3401d9{[_0x4c35ae(0x1e6)];[_0x4c35ae(0x1f8)];[_0x4c35ae(0x206)];constructor(_0x34515a,{part:_0x195bb9,uiIndex:_0x555d30,areActionsDisabled:_0x4a47ca,availableActions:_0x4f6bdd}){const _0x1c86e1=_0x4c35ae;super(_0x34515a);const _0x4acbb6=this[_0x1c86e1(0x1da)];this[_0x1c86e1(0x1e4)](_0x1c86e1(0x1e3),_0x1c86e1(0x1f7)),this[_0x1c86e1(0x1e4)](_0x1c86e1(0x1dc),!0x1),this[_0x1c86e1(0x1e4)](_0x1c86e1(0x1fc),!0x1),this[_0x1c86e1(0x1e4)](_0x1c86e1(0x1de),!0x1),this[_0x1c86e1(0x1e4)](_0x1c86e1(0x1e7),!0x1);const _0xc34238=()=>{const _0xd8005b=_0x1c86e1;this[_0xd8005b(0x1e7)]=this[_0xd8005b(0x1dc)]&&_0xd8005b(0x1f7)==this[_0xd8005b(0x1e3)]&&!_0x4a47ca;};this['on'](_0x1c86e1(0x1f5),_0xc34238),this['on'](_0x1c86e1(0x1ff),_0xc34238),_0xc34238(),this[_0x1c86e1(0x1e6)]=this[_0x1c86e1(0x1e1)](),this[_0x1c86e1(0x1f8)]=new _0x8230bb(_0x34515a,{'part':_0x195bb9,'uiIndex':_0x555d30,'availableActions':_0x4f6bdd,'areActionsDisabled':_0x4a47ca}),this[_0x1c86e1(0x1f8)][_0x1c86e1(0x1f0)](_0x1c86e1(0x1e7),_0x1c86e1(0x1e3))['to'](this),this[_0x1c86e1(0x1f8)][_0x1c86e1(0x1ee)](..._0x1d0784)['to'](this),this[_0x1c86e1(0x206)]=new _0x293ade(_0x34515a),this[_0x1c86e1(0x1e6)][_0x1c86e1(0x1dd)]([this[_0x1c86e1(0x1f8)],this[_0x1c86e1(0x206)]]),this[_0x1c86e1(0x201)]({'tag':_0x1c86e1(0x1f4),'attributes':{'class':['ck',_0x1c86e1(0x1f9),_0x4acbb6['to'](_0x1c86e1(0x1e3),_0x52e0ad=>_0x1c86e1(0x1ed)+_0x52e0ad),_0x4acbb6['if'](_0x1c86e1(0x1e7),_0x1c86e1(0x1d9)),_0x4acbb6['if'](_0x1c86e1(0x1de),_0x1c86e1(0x205)),_0x4acbb6['if'](_0x1c86e1(0x1fc),_0x1c86e1(0x1f2),_0x2c0bd9=>!_0x2c0bd9)]},'children':this[_0x1c86e1(0x1e6)],'on':{'mouseenter':_0x4acbb6['to'](()=>{const _0x479dee=_0x1c86e1;this[_0x479dee(0x1e7)]&&this[_0x479dee(0x1f6)](_0x479dee(0x1e5),{'index':_0x195bb9[_0x479dee(0x1eb)]});}),'mouseleave':_0x4acbb6['to'](()=>{const _0x474ac4=_0x1c86e1;this[_0x474ac4(0x1e7)]&&this[_0x474ac4(0x1f6)](_0x474ac4(0x204),{'index':_0x195bb9[_0x474ac4(0x1eb)]});}),'click':_0x4acbb6['to'](_0x269393=>{const _0x2f9b06=_0x1c86e1,_0x12ed6c=_0x269393[_0x2f9b06(0x1fb)];this[_0x2f9b06(0x1e7)]&&!this[_0x2f9b06(0x1f8)][_0x2f9b06(0x1e2)][_0x2f9b06(0x202)][_0x2f9b06(0x1e9)](_0x12ed6c)&&this[_0x2f9b06(0x1f6)](_0x2f9b06(0x1db),{'index':_0x195bb9[_0x2f9b06(0x1eb)]});})}});}async[_0x4c35ae(0x1fd)]({part:_0x1bfd84,renderingStrategy:_0x263bd1,showUnchangedParts:_0x43e70c=!0x1,abortSignal:_0x446743}){const _0x29ae44=_0x4c35ae;this[_0x29ae44(0x1e0)]=_0x1bfd84,this[_0x29ae44(0x1fc)]=this[_0x29ae44(0x1e0)][_0x29ae44(0x1ef)]||_0x43e70c,this[_0x29ae44(0x1fc)]&&await this[_0x29ae44(0x206)][_0x29ae44(0x1f3)]({'part':_0x1bfd84,'renderingStrategy':_0x263bd1,'abortSignal':_0x446743});}[_0x4c35ae(0x1f1)](){const _0x19a9d0=_0x4c35ae;this[_0x19a9d0(0x1dc)]=!0x0;}}
23
+ const _0x21c644=_0x4e63;(function(_0x3b3064,_0x282108){const _0x37ff13=_0x4e63,_0x57d2e9=_0x3b3064();while(!![]){try{const _0x431bf0=parseInt(_0x37ff13(0x93))/0x1+parseInt(_0x37ff13(0xac))/0x2+parseInt(_0x37ff13(0x92))/0x3+-parseInt(_0x37ff13(0xaf))/0x4+-parseInt(_0x37ff13(0x99))/0x5*(parseInt(_0x37ff13(0xb2))/0x6)+parseInt(_0x37ff13(0xbb))/0x7+-parseInt(_0x37ff13(0xa7))/0x8;if(_0x431bf0===_0x282108)break;else _0x57d2e9['push'](_0x57d2e9['shift']());}catch(_0xe61f7e){_0x57d2e9['push'](_0x57d2e9['shift']());}}}(_0x2aa3,0x40af2));import{View as _0x4c245e}from'ckeditor5/src/ui.js';function _0x4e63(_0x187518,_0xf388dc){const _0x2aa395=_0x2aa3();return _0x4e63=function(_0x4e6331,_0x4a46dd){_0x4e6331=_0x4e6331-0x90;let _0x34f9b0=_0x2aa395[_0x4e6331];return _0x34f9b0;},_0x4e63(_0x187518,_0xf388dc);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2fe44d}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x346877}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x418d25}from'./aisuggestionstreamablecontentview.js';function _0x2aa3(){const _0x2ce659=['element','1143189HxEmiK','14473tKsJuw','setTemplate','update','fire','bind','mouseOverSuggestion','110FQCOPa','createCollection','contains','index','ck-hidden','ck-ai-suggestion__body__content-part_active','ck-ai-suggestion__body__content-part_','partDefinition','target','set','updateContent','isDone','_children','markAsDone','112728OOlmwz','mouseLeaveSuggestion','change:isDone','change:state','_streamableContentView','411524lUHOMG','pending','isEnabled','588736UWKQCE','addMany','ck-ai-suggestion__body__content-part','69660usTawK','div','ck-ai-suggestion__body__content-part_enabled','_headerView','bindTemplate','hasChanges','isActive','delegate','toolbarView','562401PyuNfp','state','isVisible','showChangeInText'];_0x2aa3=function(){return _0x2ce659;};return _0x2aa3();}export class AISuggestionBodyViewContentPartView extends _0x4c245e{[_0x21c644(0xa5)];[_0x21c644(0xb5)];[_0x21c644(0xab)];constructor(_0x3cef38,{part:_0x1bbdc5,uiIndex:_0x3d8d1a,areActionsDisabled:_0x2efe4a,availableActions:_0x1e1e6f}){const _0x2a671a=_0x21c644;super(_0x3cef38);const _0x206972=this[_0x2a671a(0xb6)];this[_0x2a671a(0xa2)](_0x2a671a(0xbc),_0x2a671a(0xad)),this[_0x2a671a(0xa2)](_0x2a671a(0xa4),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xbd),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xb8),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xae),!0x1);const _0x144228=()=>{const _0x39fcfd=_0x2a671a;this[_0x39fcfd(0xae)]=this[_0x39fcfd(0xa4)]&&_0x39fcfd(0xad)==this[_0x39fcfd(0xbc)]&&!_0x2efe4a;};this['on'](_0x2a671a(0xaa),_0x144228),this['on'](_0x2a671a(0xa9),_0x144228),_0x144228(),this[_0x2a671a(0xa5)]=this[_0x2a671a(0x9a)](),this[_0x2a671a(0xb5)]=new _0x346877(_0x3cef38,{'part':_0x1bbdc5,'uiIndex':_0x3d8d1a,'availableActions':_0x1e1e6f,'areActionsDisabled':_0x2efe4a}),this[_0x2a671a(0xb5)][_0x2a671a(0x97)](_0x2a671a(0xae),_0x2a671a(0xbc))['to'](this),this[_0x2a671a(0xb5)][_0x2a671a(0xb9)](..._0x2fe44d)['to'](this),this[_0x2a671a(0xab)]=new _0x418d25(_0x3cef38),this[_0x2a671a(0xa5)][_0x2a671a(0xb0)]([this[_0x2a671a(0xb5)],this[_0x2a671a(0xab)]]),this[_0x2a671a(0x94)]({'tag':_0x2a671a(0xb3),'attributes':{'class':['ck',_0x2a671a(0xb1),_0x206972['to'](_0x2a671a(0xbc),_0x598d34=>_0x2a671a(0x9f)+_0x598d34),_0x206972['if'](_0x2a671a(0xae),_0x2a671a(0xb4)),_0x206972['if'](_0x2a671a(0xb8),_0x2a671a(0x9e)),_0x206972['if'](_0x2a671a(0xbd),_0x2a671a(0x9d),_0x31e695=>!_0x31e695)]},'children':this[_0x2a671a(0xa5)],'on':{'mouseenter':_0x206972['to'](()=>{const _0x907814=_0x2a671a;this[_0x907814(0xae)]&&this[_0x907814(0x96)](_0x907814(0x98),{'index':_0x1bbdc5[_0x907814(0x9c)]});}),'mouseleave':_0x206972['to'](()=>{const _0x17b543=_0x2a671a;this[_0x17b543(0xae)]&&this[_0x17b543(0x96)](_0x17b543(0xa8),{'index':_0x1bbdc5[_0x17b543(0x9c)]});}),'click':_0x206972['to'](_0x220cea=>{const _0x4d2e13=_0x2a671a,_0x20f4b2=_0x220cea[_0x4d2e13(0xa1)];this[_0x4d2e13(0xae)]&&!this[_0x4d2e13(0xb5)][_0x4d2e13(0xba)][_0x4d2e13(0x91)][_0x4d2e13(0x9b)](_0x20f4b2)&&this[_0x4d2e13(0x96)](_0x4d2e13(0x90),{'index':_0x1bbdc5[_0x4d2e13(0x9c)]});})}});}async[_0x21c644(0xa3)]({part:_0x5d0d50,renderingStrategy:_0xd0d0bd,showUnchangedParts:_0x20228b=!0x1,abortSignal:_0xaa82f6}){const _0x584ff7=_0x21c644;this[_0x584ff7(0xa0)]=_0x5d0d50,this[_0x584ff7(0xbd)]=this[_0x584ff7(0xa0)][_0x584ff7(0xb7)]||_0x20228b,this[_0x584ff7(0xbd)]&&await this[_0x584ff7(0xab)][_0x584ff7(0x95)]({'part':_0x5d0d50,'renderingStrategy':_0xd0d0bd,'abortSignal':_0xaa82f6});}[_0x21c644(0xa6)](){const _0x152612=_0x21c644;this[_0x152612(0xa4)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d5c(_0x27ab82,_0x26d599){const _0x5d8a8a=_0x5d8a();return _0x5d5c=function(_0x5d5c95,_0x140439){_0x5d5c95=_0x5d5c95-0x1c2;let _0x4c4a5e=_0x5d8a8a[_0x5d5c95];return _0x4c4a5e;},_0x5d5c(_0x27ab82,_0x26d599);}const _0x47a51a=_0x5d5c;(function(_0x253689,_0x586061){const _0x18382f=_0x5d5c,_0x1fe1a3=_0x253689();while(!![]){try{const _0x182d80=parseInt(_0x18382f(0x1d8))/0x1*(parseInt(_0x18382f(0x1de))/0x2)+parseInt(_0x18382f(0x1ce))/0x3*(parseInt(_0x18382f(0x1d2))/0x4)+-parseInt(_0x18382f(0x1d1))/0x5+parseInt(_0x18382f(0x1cb))/0x6*(-parseInt(_0x18382f(0x1d3))/0x7)+parseInt(_0x18382f(0x1c2))/0x8+-parseInt(_0x18382f(0x1c3))/0x9+parseInt(_0x18382f(0x1e0))/0xa*(parseInt(_0x18382f(0x1cc))/0xb);if(_0x182d80===_0x586061)break;else _0x1fe1a3['push'](_0x1fe1a3['shift']());}catch(_0x3def57){_0x1fe1a3['push'](_0x1fe1a3['shift']());}}}(_0x5d8a,0x28612));function _0x5d8a(){const _0x34357e=['div','isShowChangesToggleVisible','178584ardjPJ','2013966vqzebo','showChangesToggleView','bind','iconView','AI_SUGGESTION_BUTTON_SHOW_CHANGES','add','ck-ai-suggestion__header','showDiff','248484pQWPCp','3132140fBzEsr','children','28719YVmJTM','isVisible','showHeader','344245iHKsmJ','4ALIkCE','42zjjEdf','setTemplate','set','render','fire','105125LGeiXO','icon','execute','content','AI_SUGGESTION_HEADER_TITLE','span','2pxLoxo','ck-hidden','20WmDGXo','filter','isOn','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','remove','toggleShowChanges'];_0x5d8a=function(){return _0x34357e;};return _0x5d8a();}import{getTranslation as _0x435058}from'../../utils/common-translations.js';import{ButtonView as _0x21a319,IconView as _0x1cff5c,View as _0x3e0f12}from'ckeditor5/src/ui.js';import{IconDocument as _0x5e53c3,IconShowChangesOff as _0xd3e1c4,IconShowChangesOn as _0xfb5de7}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3e0f12{[_0x47a51a(0x1c4)];constructor(_0x4f4197,_0x44ce76){const _0x3c1854=_0x47a51a;super(_0x4f4197),this[_0x3c1854(0x1d5)](_0x3c1854(0x1e7),!0x0),this[_0x3c1854(0x1c4)]=new ShowChangesToggleView(_0x4f4197),this[_0x3c1854(0x1c4)][_0x3c1854(0x1d5)]({'class':_0x3c1854(0x1e3),'label':_0x435058(_0x4f4197,_0x3c1854(0x1c7)),'withText':!0x0}),this[_0x3c1854(0x1c4)][_0x3c1854(0x1e2)]=_0x44ce76[_0x3c1854(0x1ca)],this[_0x3c1854(0x1c4)][_0x3c1854(0x1c5)](_0x3c1854(0x1cf))['to'](this,_0x3c1854(0x1e7)),this[_0x3c1854(0x1c4)][_0x3c1854(0x1c5)](_0x3c1854(0x1d9))['to'](this[_0x3c1854(0x1c4)],_0x3c1854(0x1e2),_0x32aa7a=>_0x32aa7a?_0xfb5de7:_0xd3e1c4),this[_0x3c1854(0x1c4)]['on'](_0x3c1854(0x1da),()=>{const _0x1158d3=_0x3c1854;this[_0x1158d3(0x1c4)][_0x1158d3(0x1e2)]=!this[_0x1158d3(0x1c4)][_0x1158d3(0x1e2)],this[_0x1158d3(0x1d7)](_0x1158d3(0x1e5),{'isOn':this[_0x1158d3(0x1c4)][_0x1158d3(0x1e2)]});});const _0x3fda93=new _0x1cff5c();_0x3fda93[_0x3c1854(0x1db)]=_0x5e53c3,this[_0x3c1854(0x1d4)]({'tag':_0x3c1854(0x1e6),'attributes':{'class':['ck',_0x3c1854(0x1c9),!0x1===_0x44ce76[_0x3c1854(0x1d0)]?_0x3c1854(0x1df):null][_0x3c1854(0x1e1)](Boolean)},'children':[_0x3fda93,{'tag':_0x3c1854(0x1dd),'children':[_0x435058(_0x4f4197,_0x3c1854(0x1dc))]},this[_0x3c1854(0x1c4)]]});}}export class ShowChangesToggleView extends _0x21a319{[_0x47a51a(0x1d6)](){const _0x6a0054=_0x47a51a;super[_0x6a0054(0x1d6)](),this[_0x6a0054(0x1cd)][_0x6a0054(0x1e4)](this[_0x6a0054(0x1c6)]),this[_0x6a0054(0x1cd)][_0x6a0054(0x1c8)](this[_0x6a0054(0x1c6)]);}}
23
+ function _0x27f7(){const _0x36c417=['iconView','children','showHeader','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','52368420zRrBSX','content','div','AI_SUGGESTION_BUTTON_SHOW_CHANGES','span','4985996LrULsY','ck-hidden','1278151LntQPS','add','showDiff','1XNnHLd','showChangesToggleView','remove','2508670rIAnub','3777744lGabSX','toggleShowChanges','filter','bind','AI_SUGGESTION_HEADER_TITLE','isShowChangesToggleVisible','fire','isVisible','isOn','setTemplate','set','48xqIpXC','3944682bIQwEy','render','ck-ai-suggestion__header','icon','3219543cqlgAq','execute','5iZXiIA'];_0x27f7=function(){return _0x36c417;};return _0x27f7();}const _0x39d459=_0xf477;(function(_0x34d042,_0x108e68){const _0x818196=_0xf477,_0x31c911=_0x34d042();while(!![]){try{const _0x2b76bc=parseInt(_0x818196(0xd4))/0x1*(parseInt(_0x818196(0xd7))/0x2)+parseInt(_0x818196(0xd8))/0x3+-parseInt(_0x818196(0xcf))/0x4*(-parseInt(_0x818196(0xc5))/0x5)+parseInt(_0x818196(0xe4))/0x6+parseInt(_0x818196(0xd1))/0x7*(parseInt(_0x818196(0xe3))/0x8)+parseInt(_0x818196(0xe8))/0x9+-parseInt(_0x818196(0xca))/0xa;if(_0x2b76bc===_0x108e68)break;else _0x31c911['push'](_0x31c911['shift']());}catch(_0x22c247){_0x31c911['push'](_0x31c911['shift']());}}}(_0x27f7,0x9ac74));import{getTranslation as _0x9f8c5c}from'../../utils/common-translations.js';import{ButtonView as _0x3127a8,IconView as _0x5150d5,View as _0x5d6da9}from'ckeditor5/src/ui.js';function _0xf477(_0x5df7b4,_0x5c4715){const _0x27f751=_0x27f7();return _0xf477=function(_0xf4778a,_0x4ddeb4){_0xf4778a=_0xf4778a-0xc5;let _0x52c45b=_0x27f751[_0xf4778a];return _0x52c45b;},_0xf477(_0x5df7b4,_0x5c4715);}import{IconDocument as _0x2390ce,IconShowChangesOff as _0x49bd04,IconShowChangesOn as _0x7bde8}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x5d6da9{[_0x39d459(0xd5)];constructor(_0x14bdd4,_0x2aabdf){const _0x5cd840=_0x39d459;super(_0x14bdd4),this[_0x5cd840(0xe2)](_0x5cd840(0xdd),!0x0),this[_0x5cd840(0xd5)]=new ShowChangesToggleView(_0x14bdd4),this[_0x5cd840(0xd5)][_0x5cd840(0xe2)]({'class':_0x5cd840(0xc9),'label':_0x9f8c5c(_0x14bdd4,_0x5cd840(0xcd)),'withText':!0x0}),this[_0x5cd840(0xd5)][_0x5cd840(0xe0)]=_0x2aabdf[_0x5cd840(0xd3)],this[_0x5cd840(0xd5)][_0x5cd840(0xdb)](_0x5cd840(0xdf))['to'](this,_0x5cd840(0xdd)),this[_0x5cd840(0xd5)][_0x5cd840(0xdb)](_0x5cd840(0xe7))['to'](this[_0x5cd840(0xd5)],_0x5cd840(0xe0),_0x2f1574=>_0x2f1574?_0x7bde8:_0x49bd04),this[_0x5cd840(0xd5)]['on'](_0x5cd840(0xe9),()=>{const _0x19bceb=_0x5cd840;this[_0x19bceb(0xd5)][_0x19bceb(0xe0)]=!this[_0x19bceb(0xd5)][_0x19bceb(0xe0)],this[_0x19bceb(0xde)](_0x19bceb(0xd9),{'isOn':this[_0x19bceb(0xd5)][_0x19bceb(0xe0)]});});const _0x1234bd=new _0x5150d5();_0x1234bd[_0x5cd840(0xcb)]=_0x2390ce,this[_0x5cd840(0xe1)]({'tag':_0x5cd840(0xcc),'attributes':{'class':['ck',_0x5cd840(0xe6),!0x1===_0x2aabdf[_0x5cd840(0xc8)]?_0x5cd840(0xd0):null][_0x5cd840(0xda)](Boolean)},'children':[_0x1234bd,{'tag':_0x5cd840(0xce),'children':[_0x9f8c5c(_0x14bdd4,_0x5cd840(0xdc))]},this[_0x5cd840(0xd5)]]});}}export class ShowChangesToggleView extends _0x3127a8{[_0x39d459(0xe5)](){const _0x4d968f=_0x39d459;super[_0x4d968f(0xe5)](),this[_0x4d968f(0xc7)][_0x4d968f(0xd6)](this[_0x4d968f(0xc6)]),this[_0x4d968f(0xc7)][_0x4d968f(0xd2)](this[_0x4d968f(0xc6)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x372b(_0x2a59fa,_0x4d7f04){const _0x18279c=_0x1827();return _0x372b=function(_0x372b20,_0x1c2427){_0x372b20=_0x372b20-0x183;let _0x199d5b=_0x18279c[_0x372b20];return _0x199d5b;},_0x372b(_0x2a59fa,_0x4d7f04);}(function(_0x14c3ff,_0x3f5827){const _0x3deaf4=_0x372b,_0x5ca5b7=_0x14c3ff();while(!![]){try{const _0x49624c=parseInt(_0x3deaf4(0x184))/0x1+parseInt(_0x3deaf4(0x196))/0x2+parseInt(_0x3deaf4(0x194))/0x3*(-parseInt(_0x3deaf4(0x183))/0x4)+-parseInt(_0x3deaf4(0x191))/0x5*(parseInt(_0x3deaf4(0x185))/0x6)+-parseInt(_0x3deaf4(0x192))/0x7+parseInt(_0x3deaf4(0x195))/0x8*(-parseInt(_0x3deaf4(0x190))/0x9)+parseInt(_0x3deaf4(0x189))/0xa*(parseInt(_0x3deaf4(0x198))/0xb);if(_0x49624c===_0x3f5827)break;else _0x5ca5b7['push'](_0x5ca5b7['shift']());}catch(_0x59acdb){_0x5ca5b7['push'](_0x5ca5b7['shift']());}}}(_0x1827,0xb63d3));import{View as _0xf826be}from'ckeditor5/src/ui.js';function _0x1827(){const _0x3656fb=['set','AI_CHAT_IS_WRITING','span','ck-ai-suggestion__loader','ck-ai-suggestion__loader-text','small','50967bfPcog','5PKzOJQ','667695WbdKut','isVisible','237jFgBEI','1944prYMra','2598442BqRFwj','locale','13981561jRNtHt','ck-hidden','43552zGsIGn','1221854OGaffm','4284174mJeFWJ','bindTemplate','div','setTemplate','10anwkzm'];_0x1827=function(){return _0x3656fb;};return _0x1827();}import{AISpinnerView as _0x505f99}from'../aispinner.js';import{getTranslation as _0x21ab69}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0xf826be{constructor(_0x4a724c){const _0x29b332=_0x372b;super(_0x4a724c),this[_0x29b332(0x18a)](_0x29b332(0x193),!0x0);const _0x239e31=new _0x505f99(_0x29b332(0x18f));_0x239e31[_0x29b332(0x193)]=!0x0;const _0xe3a78e=new _0xf826be(this[_0x29b332(0x197)]);_0xe3a78e[_0x29b332(0x188)]({'tag':_0x29b332(0x18c),'attributes':{'class':['ck',_0x29b332(0x18e)]},'children':[_0x21ab69(this[_0x29b332(0x197)],_0x29b332(0x18b))]}),this[_0x29b332(0x188)]({'tag':_0x29b332(0x187),'attributes':{'class':['ck',_0x29b332(0x18d),this[_0x29b332(0x186)]['if'](_0x29b332(0x193),_0x29b332(0x199),_0x56e5a5=>!_0x56e5a5)]},'children':[_0x239e31,_0xe3a78e]});}}
23
+ (function(_0x131271,_0x200a90){const _0x47e2b7=_0x20e3,_0x234656=_0x131271();while(!![]){try{const _0x1806dd=-parseInt(_0x47e2b7(0x14d))/0x1+parseInt(_0x47e2b7(0x153))/0x2*(parseInt(_0x47e2b7(0x149))/0x3)+-parseInt(_0x47e2b7(0x156))/0x4+parseInt(_0x47e2b7(0x155))/0x5*(parseInt(_0x47e2b7(0x146))/0x6)+-parseInt(_0x47e2b7(0x151))/0x7*(parseInt(_0x47e2b7(0x154))/0x8)+parseInt(_0x47e2b7(0x150))/0x9+-parseInt(_0x47e2b7(0x152))/0xa*(-parseInt(_0x47e2b7(0x15a))/0xb);if(_0x1806dd===_0x200a90)break;else _0x234656['push'](_0x234656['shift']());}catch(_0x41663f){_0x234656['push'](_0x234656['shift']());}}}(_0x3b82,0x96c30));import{View as _0x209896}from'ckeditor5/src/ui.js';function _0x20e3(_0x13b539,_0x5dada2){const _0x3b8222=_0x3b82();return _0x20e3=function(_0x20e389,_0x258d29){_0x20e389=_0x20e389-0x146;let _0x398af8=_0x3b8222[_0x20e389];return _0x398af8;},_0x20e3(_0x13b539,_0x5dada2);}import{AISpinnerView as _0x5d8a1f}from'../aispinner.js';import{getTranslation as _0x20616a}from'../../utils/common-translations.js';function _0x3b82(){const _0x526c15=['749duAjjD','170qRzTvd','265114qFEmCb','79064akEeRE','6655BxZEDX','4566612GAPrYh','ck-hidden','div','span','593439RRhVUM','AI_CHAT_IS_WRITING','isVisible','4524aVEgyM','locale','setTemplate','6slRgXY','small','set','ck-ai-suggestion__loader','540916XBdTXw','bindTemplate','ck-ai-suggestion__loader-text','10545741DXnRCu'];_0x3b82=function(){return _0x526c15;};return _0x3b82();}export class AISuggestionLoaderView extends _0x209896{constructor(_0x5f4d9c){const _0xa51b85=_0x20e3;super(_0x5f4d9c),this[_0xa51b85(0x14b)](_0xa51b85(0x15c),!0x0);const _0xf96fc8=new _0x5d8a1f(_0xa51b85(0x14a));_0xf96fc8[_0xa51b85(0x15c)]=!0x0;const _0x343eeb=new _0x209896(this[_0xa51b85(0x147)]);_0x343eeb[_0xa51b85(0x148)]({'tag':_0xa51b85(0x159),'attributes':{'class':['ck',_0xa51b85(0x14f)]},'children':[_0x20616a(this[_0xa51b85(0x147)],_0xa51b85(0x15b))]}),this[_0xa51b85(0x148)]({'tag':_0xa51b85(0x158),'attributes':{'class':['ck',_0xa51b85(0x14c),this[_0xa51b85(0x14e)]['if'](_0xa51b85(0x15c),_0xa51b85(0x157),_0x1396f1=>!_0x1396f1)]},'children':[_0xf96fc8,_0x343eeb]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x283f4e=_0x5c46;(function(_0x4494d2,_0x30833f){var _0x2fd64c=_0x5c46,_0x58fca3=_0x4494d2();while(!![]){try{var _0xe49bec=-parseInt(_0x2fd64c(0x88))/0x1*(parseInt(_0x2fd64c(0x95))/0x2)+-parseInt(_0x2fd64c(0x80))/0x3*(parseInt(_0x2fd64c(0x98))/0x4)+-parseInt(_0x2fd64c(0x8f))/0x5+-parseInt(_0x2fd64c(0x93))/0x6*(parseInt(_0x2fd64c(0x8d))/0x7)+-parseInt(_0x2fd64c(0x8a))/0x8*(parseInt(_0x2fd64c(0x82))/0x9)+-parseInt(_0x2fd64c(0x99))/0xa*(parseInt(_0x2fd64c(0x89))/0xb)+parseInt(_0x2fd64c(0x81))/0xc*(parseInt(_0x2fd64c(0x8e))/0xd);if(_0xe49bec===_0x30833f)break;else _0x58fca3['push'](_0x58fca3['shift']());}catch(_0x195698){_0x58fca3['push'](_0x58fca3['shift']());}}}(_0x2821,0x1fdff));import{View as _0x4ebfc3}from'ckeditor5/src/ui.js';function _0x5c46(_0x4b5bab,_0xa624f6){var _0x2821a1=_0x2821();return _0x5c46=function(_0x5c46dc,_0x577bb5){_0x5c46dc=_0x5c46dc-0x7e;var _0x10cbac=_0x2821a1[_0x5c46dc];return _0x10cbac;},_0x5c46(_0x4b5bab,_0xa624f6);}import{HTMLStreamer as _0x218e65}from'../../utils/htmlstreamer.js';import{serialize as _0x24c08f}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x2821(){var _0x258882=['animation:\x20ck-html-streamer-fade-in\x20.5s','3834IuRpqB','clear','ck-content','4XeiVVP','746010htkEsK','streaming','htmlStreamer','638013hfngrL','15158940IvFkjc','9dJhpEk','setTemplate','ck-reset_all-excluded','element','update','content','36KTpYmx','33JehKnU','1364784sAiDoG','stream','div','4662Yqhhav','13RTaaro','1160800sQkpsT','ck-ai-suggestion-streamable-content','innerHTML','reset','2022DxpgwM'];_0x2821=function(){return _0x258882;};return _0x2821();}export class AISuggestionStreamableContentView extends _0x4ebfc3{[_0x283f4e(0x7f)];constructor(_0x3e2cfd){var _0x5b12ab=_0x283f4e;super(_0x3e2cfd),this[_0x5b12ab(0x7f)]=new _0x218e65({'textNodeStyle':_0x5b12ab(0x94),'delay':0x14}),this[_0x5b12ab(0x83)]({'tag':_0x5b12ab(0x8c),'attributes':{'class':['ck',_0x5b12ab(0x97),_0x5b12ab(0x84),_0x5b12ab(0x90)]}});}async[_0x283f4e(0x86)]({part:_0x237f2a,renderingStrategy:_0x4fc56c,abortSignal:_0x505d06}){var _0xbcb224=_0x283f4e;_0xbcb224(0x7e)===_0x4fc56c?await this[_0xbcb224(0x7f)][_0xbcb224(0x8b)]({'document':_0x237f2a[_0xbcb224(0x87)],'targetElement':this[_0xbcb224(0x85)],'abortSignal':_0x505d06}):this[_0xbcb224(0x85)][_0xbcb224(0x91)]=_0x24c08f(_0x237f2a[_0xbcb224(0x87)]);}[_0x283f4e(0x96)](){var _0x32e971=_0x283f4e;this[_0x32e971(0x7f)][_0x32e971(0x92)](),this[_0x32e971(0x85)][_0x32e971(0x91)]='';}}
23
+ function _0x1422(_0x2bbe06,_0x23b1f7){var _0x1e7f2f=_0x1e7f();return _0x1422=function(_0x1422c3,_0x42c45e){_0x1422c3=_0x1422c3-0xd4;var _0xc9cb18=_0x1e7f2f[_0x1422c3];return _0xc9cb18;},_0x1422(_0x2bbe06,_0x23b1f7);}var _0x29607a=_0x1422;(function(_0xf394e6,_0x3a73d0){var _0xc5bf7d=_0x1422,_0x207fd0=_0xf394e6();while(!![]){try{var _0x1e5690=parseInt(_0xc5bf7d(0xda))/0x1*(-parseInt(_0xc5bf7d(0xe4))/0x2)+parseInt(_0xc5bf7d(0xd8))/0x3+parseInt(_0xc5bf7d(0xd4))/0x4+-parseInt(_0xc5bf7d(0xdb))/0x5*(-parseInt(_0xc5bf7d(0xeb))/0x6)+parseInt(_0xc5bf7d(0xd5))/0x7*(parseInt(_0xc5bf7d(0xed))/0x8)+parseInt(_0xc5bf7d(0xec))/0x9*(-parseInt(_0xc5bf7d(0xe3))/0xa)+-parseInt(_0xc5bf7d(0xdc))/0xb;if(_0x1e5690===_0x3a73d0)break;else _0x207fd0['push'](_0x207fd0['shift']());}catch(_0x39a96e){_0x207fd0['push'](_0x207fd0['shift']());}}}(_0x1e7f,0x261ac));import{View as _0x2c4c9f}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4fd805}from'../../utils/htmlstreamer.js';function _0x1e7f(){var _0x44727f=['stream','328820sDOyZZ','34876xGNtpV','ck-reset_all-excluded','content','ck-ai-suggestion-streamable-content','innerHTML','clear','update','44106oTlJXF','18uGTgky','710032laBzOG','868380fsEPls','14JXnvln','reset','streaming','151545YjNxhe','animation:\x20ck-html-streamer-fade-in\x20.5s','7rBGEeo','55TFnjAt','2002803bLfIBf','div','element','htmlStreamer','setTemplate','ck-content'];_0x1e7f=function(){return _0x44727f;};return _0x1e7f();}import{serialize as _0x30d1af}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x2c4c9f{[_0x29607a(0xdf)];constructor(_0x1b67e4){var _0x47a4c6=_0x29607a;super(_0x1b67e4),this[_0x47a4c6(0xdf)]=new _0x4fd805({'textNodeStyle':_0x47a4c6(0xd9),'delay':0x14}),this[_0x47a4c6(0xe0)]({'tag':_0x47a4c6(0xdd),'attributes':{'class':['ck',_0x47a4c6(0xe1),_0x47a4c6(0xe5),_0x47a4c6(0xe7)]}});}async[_0x29607a(0xea)]({part:_0x2ec9e9,renderingStrategy:_0x40e6a8,abortSignal:_0xd183be}){var _0xdb4aed=_0x29607a;_0xdb4aed(0xd7)===_0x40e6a8?await this[_0xdb4aed(0xdf)][_0xdb4aed(0xe2)]({'document':_0x2ec9e9[_0xdb4aed(0xe6)],'targetElement':this[_0xdb4aed(0xde)],'abortSignal':_0xd183be}):this[_0xdb4aed(0xde)][_0xdb4aed(0xe8)]=_0x30d1af(_0x2ec9e9[_0xdb4aed(0xe6)]);}[_0x29607a(0xe9)](){var _0x2a725d=_0x29607a;this[_0x2a725d(0xdf)][_0x2a725d(0xd6)](),this[_0x2a725d(0xde)][_0x2a725d(0xe8)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd5522f=_0xb3c0;(function(_0x2503fe,_0x8c690a){const _0x26dcd6=_0xb3c0,_0x43b2ef=_0x2503fe();while(!![]){try{const _0x2353e9=parseInt(_0x26dcd6(0x181))/0x1+-parseInt(_0x26dcd6(0x1b6))/0x2+parseInt(_0x26dcd6(0x18e))/0x3*(-parseInt(_0x26dcd6(0x1b2))/0x4)+parseInt(_0x26dcd6(0x1ba))/0x5*(-parseInt(_0x26dcd6(0x192))/0x6)+-parseInt(_0x26dcd6(0x1b9))/0x7*(-parseInt(_0x26dcd6(0x1ae))/0x8)+parseInt(_0x26dcd6(0x182))/0x9*(parseInt(_0x26dcd6(0x1a6))/0xa)+parseInt(_0x26dcd6(0x191))/0xb*(parseInt(_0x26dcd6(0x186))/0xc);if(_0x2353e9===_0x8c690a)break;else _0x43b2ef['push'](_0x43b2ef['shift']());}catch(_0x32fb35){_0x43b2ef['push'](_0x43b2ef['shift']());}}}(_0x578a,0xc5909));import{View as _0x16c6dc,ButtonView as _0x32b0ff,IconView as _0x1a3d3e,BalloonPanelView as _0x5f55ab}from'ckeditor5/src/ui.js';import{IconWeb as _0x132e71}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2656d5}from'../../utils/common-translations.js';function _0xb3c0(_0xd5a462,_0x3459bb){const _0x578ae0=_0x578a();return _0xb3c0=function(_0xb3c045,_0x22621f){_0xb3c045=_0xb3c045-0x17c;let _0x10ae82=_0x578ae0[_0xb3c045];return _0x10ae82;},_0xb3c0(_0xd5a462,_0x3459bb);}function _0x578a(){const _0x25217a=['createCollection','_hideTooltip','defaultPositions','icon','title','471810AqJdlq','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources','_setupBalloonPanel','ck\x20ck-ai-web-source','locale','span','favicon','32iCCdJS','push','.ck-ai-chat','northArrowSouth','412MVWDux','pin','set','open','2556232KjAFep','extendTemplate','setTemplate','153531MFpCGU','7110eehXFr','ck-ai-web-sources__header','div','hostname','ck-ai-web-source__tooltip-balloon','get','content','_updateTooltipContent','show','bindTemplate','add','img','substring','1492424sCKQJj','207btvnoJ','ck-hidden','ck-ai-web-source__tooltip-url','_blank','15489048gtrACZ','_createTooltipContentView','addSource','ck-ai-web-source__tooltip-row','element','url','northArrowSouthEast','length','15828hgvQbs','hide','isVisible','11sfWndo','5592aJFfUY','ck-ai-web-source__image','ck-ai-web-source__tooltip-title','...','source','ck-ai-web-source__tooltip-image','destroy','balloonPanelView','_showTooltip','children','northArrowSouthWest','ck-ai-web-source__tooltip','querySelector','clear','bodyCollection'];_0x578a=function(){return _0x25217a;};return _0x578a();}export class AIWebSourcesView extends _0x16c6dc{[_0xd5522f(0x19b)];[_0xd5522f(0x199)];[_0xd5522f(0x1a0)];constructor(_0x1cd382,_0x4b0764){const _0x343323=_0xd5522f;super(_0x1cd382),this[_0x343323(0x1a0)]=_0x4b0764,this[_0x343323(0x19b)]=this[_0x343323(0x1a1)](),this[_0x343323(0x1b4)](_0x343323(0x190),!0x1),this[_0x343323(0x1b8)]({'tag':_0x343323(0x1bc),'attributes':{'class':['ck',_0x343323(0x1a8),this[_0x343323(0x17d)]['if'](_0x343323(0x190),_0x343323(0x183),_0x401881=>!_0x401881)]},'children':this[_0x343323(0x19b)]});const _0x49ec66=new _0x16c6dc(this[_0x343323(0x1ab)]),_0x33c256=new _0x1a3d3e();_0x33c256[_0x343323(0x1c0)]=_0x132e71,_0x49ec66[_0x343323(0x1b8)]({'tag':_0x343323(0x1bc),'attributes':{'class':['ck',_0x343323(0x1bb)]},'children':[_0x33c256,{'tag':_0x343323(0x1ac),'children':[{'text':_0x2656d5(this[_0x343323(0x1ab)],_0x343323(0x1a7))}]}]}),this[_0x343323(0x19b)][_0x343323(0x17e)](_0x49ec66),this[_0x343323(0x1a9)](_0x1cd382);}[_0xd5522f(0x188)](_0x10a9a1){const _0x4e6aed=_0xd5522f;this[_0x4e6aed(0x19b)][_0x4e6aed(0x17e)](new AIWebSourceView(this[_0x4e6aed(0x1ab)],_0x10a9a1,this[_0x4e6aed(0x199)]));}[_0xd5522f(0x1a9)](_0x589d5b){const _0x43fe4d=_0xd5522f;this[_0x43fe4d(0x199)]=new _0x5f55ab(_0x589d5b),this[_0x43fe4d(0x199)][_0x43fe4d(0x1b7)]({'attributes':{'class':[_0x43fe4d(0x1be)]}}),this[_0x43fe4d(0x1a0)][_0x43fe4d(0x17e)](this[_0x43fe4d(0x199)]);}}export class AIWebSourceView extends _0x32b0ff{[_0xd5522f(0x199)];[_0xd5522f(0x196)];constructor(_0x191572,_0x54a89a,_0x29c401){const _0x32bd83=_0xd5522f;super(_0x191572),this[_0x32bd83(0x196)]=_0x54a89a,this[_0x32bd83(0x199)]=_0x29c401,this[_0x32bd83(0x1b4)]({'label':_0x54a89a[_0x32bd83(0x1a5)],'class':[_0x32bd83(0x1aa)],'withText':!0x0});const _0xf7765e=this[_0x32bd83(0x17d)];if(this[_0x32bd83(0x1b7)]({'on':{'click':_0xf7765e['to'](()=>{const _0x9fd4fb=_0x32bd83;window[_0x9fd4fb(0x1b5)](_0x54a89a[_0x9fd4fb(0x18b)],_0x9fd4fb(0x185));}),'mouseenter':_0xf7765e['to'](()=>{const _0x1821b7=_0x32bd83;this[_0x1821b7(0x19a)]();}),'mouseleave':_0xf7765e['to'](()=>{const _0x3c3b55=_0x32bd83;this[_0x3c3b55(0x1a2)]();})}}),_0x54a89a[_0x32bd83(0x1ad)]){const _0x235f19=new _0x16c6dc(_0x191572);_0x235f19[_0x32bd83(0x1b8)]({'tag':_0x32bd83(0x17f),'attributes':{'src':_0x54a89a[_0x32bd83(0x1ad)]||_0x132e71,'alt':_0x54a89a[_0x32bd83(0x1a5)],'class':[_0x32bd83(0x193)]}}),this[_0x32bd83(0x19b)][_0x32bd83(0x17e)](_0x235f19);}else this[_0x32bd83(0x1b4)](_0x32bd83(0x1a4),_0x132e71);}[_0xd5522f(0x187)](_0x35a610,_0x1d26fa){const _0x50c0e9=_0xd5522f,_0x5ca62f=new _0x16c6dc(_0x35a610),_0x1b19e8=[];let _0x5ed059;_0x1d26fa?.[_0x50c0e9(0x1ad)]?(_0x5ed059=new _0x16c6dc(_0x35a610),_0x5ed059[_0x50c0e9(0x1b8)]({'tag':_0x50c0e9(0x17f),'attributes':{'src':_0x1d26fa[_0x50c0e9(0x1ad)],'alt':_0x1d26fa[_0x50c0e9(0x1a5)],'class':[_0x50c0e9(0x197)]}})):(_0x5ed059=new _0x1a3d3e(),_0x5ed059[_0x50c0e9(0x1c0)]=_0x132e71,_0x5ed059[_0x50c0e9(0x1b7)]({'attributes':{'alt':_0x1d26fa[_0x50c0e9(0x1a5)],'class':[_0x50c0e9(0x197)]}})),_0x1b19e8[_0x50c0e9(0x1af)](_0x5ed059);const _0x3c544e=new _0x16c6dc(_0x35a610);_0x3c544e[_0x50c0e9(0x1b8)]({'tag':'a','attributes':{'class':[_0x50c0e9(0x184)],'href':_0x1d26fa[_0x50c0e9(0x18b)]},'children':[{'text':new URL(_0x1d26fa[_0x50c0e9(0x18b)])?.[_0x50c0e9(0x1bd)]}]}),_0x1b19e8[_0x50c0e9(0x1af)](_0x3c544e);const _0x84b2c3=new _0x16c6dc(_0x35a610);_0x84b2c3[_0x50c0e9(0x1b8)]({'tag':_0x50c0e9(0x1bc),'attributes':{'class':[_0x50c0e9(0x189)]},'children':_0x1b19e8});const _0x1646c4=new _0x16c6dc(_0x35a610);return _0x1646c4[_0x50c0e9(0x1b8)]({'tag':_0x50c0e9(0x1ac),'attributes':{'class':[_0x50c0e9(0x189),_0x50c0e9(0x194)]},'children':[{'text':_0x1d26fa[_0x50c0e9(0x1a5)][_0x50c0e9(0x18d)]>0x190?_0x1d26fa[_0x50c0e9(0x1a5)][_0x50c0e9(0x180)](0x0,0x190)+_0x50c0e9(0x195):_0x1d26fa[_0x50c0e9(0x1a5)]}]}),_0x5ca62f[_0x50c0e9(0x1b8)]({'tag':_0x50c0e9(0x1bc),'attributes':{'class':['ck',_0x50c0e9(0x19d)]},'children':[_0x84b2c3,_0x1646c4]}),_0x5ca62f;}[_0xd5522f(0x19a)](){const _0x3aac56=_0xd5522f;this[_0x3aac56(0x1c1)](),this[_0x3aac56(0x199)][_0x3aac56(0x1b3)]({'target':this[_0x3aac56(0x18a)],'positions':[_0x5f55ab[_0x3aac56(0x1a3)][_0x3aac56(0x1b1)],_0x5f55ab[_0x3aac56(0x1a3)][_0x3aac56(0x19c)],_0x5f55ab[_0x3aac56(0x1a3)][_0x3aac56(0x18c)]],'limiter':document[_0x3aac56(0x19e)](_0x3aac56(0x1b0))}),this[_0x3aac56(0x199)][_0x3aac56(0x17c)]();}[_0xd5522f(0x1a2)](){const _0x7873cf=_0xd5522f;this[_0x7873cf(0x199)][_0x7873cf(0x18f)]();}[_0xd5522f(0x1c1)](){const _0x527d04=_0xd5522f;this[_0x527d04(0x199)][_0x527d04(0x1c0)][_0x527d04(0x1bf)](0x0)?.[_0x527d04(0x198)](),this[_0x527d04(0x199)][_0x527d04(0x1c0)][_0x527d04(0x19f)]();const _0x5a8f61=this[_0x527d04(0x187)](this[_0x527d04(0x1ab)],this[_0x527d04(0x196)]);this[_0x527d04(0x199)][_0x527d04(0x1c0)][_0x527d04(0x17e)](_0x5a8f61);}}
23
+ const _0x1e3e51=_0x1e16;(function(_0x4ecc43,_0x4fa6bb){const _0x4b2e71=_0x1e16,_0x3e306d=_0x4ecc43();while(!![]){try{const _0x6b01fe=-parseInt(_0x4b2e71(0x216))/0x1*(parseInt(_0x4b2e71(0x236))/0x2)+-parseInt(_0x4b2e71(0x227))/0x3+-parseInt(_0x4b2e71(0x218))/0x4*(parseInt(_0x4b2e71(0x20e))/0x5)+-parseInt(_0x4b2e71(0x1f8))/0x6*(-parseInt(_0x4b2e71(0x237))/0x7)+parseInt(_0x4b2e71(0x1f5))/0x8+parseInt(_0x4b2e71(0x20b))/0x9+parseInt(_0x4b2e71(0x205))/0xa*(-parseInt(_0x4b2e71(0x20f))/0xb);if(_0x6b01fe===_0x4fa6bb)break;else _0x3e306d['push'](_0x3e306d['shift']());}catch(_0x14493c){_0x3e306d['push'](_0x3e306d['shift']());}}}(_0x43e3,0x731c0));import{View as _0x3d81e0,ButtonView as _0x46a3c3,IconView as _0x4d4af5,BalloonPanelView as _0x6fef94}from'ckeditor5/src/ui.js';import{IconWeb as _0x108006}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x70dd15}from'../../utils/common-translations.js';function _0x1e16(_0x2f702a,_0x142937){const _0x43e39e=_0x43e3();return _0x1e16=function(_0x1e162c,_0x172a3f){_0x1e162c=_0x1e162c-0x1f4;let _0xa5c0de=_0x43e39e[_0x1e162c];return _0xa5c0de;},_0x1e16(_0x2f702a,_0x142937);}function _0x43e3(){const _0x358eec=['addSource','set','ck-ai-web-source__tooltip-row','add','ck-ai-web-source__tooltip','ck-ai-web-source__tooltip-title','.ck-ai-chat','hostname','pin','children','1282107nGZzzw','extendTemplate','length','substring','northArrowSouthWest','bodyCollection','show','favicon','createCollection','div','northArrowSouth','element','ck-ai-web-source__tooltip-image','...','img','2DuAwpW','35vwZDKN','ck-hidden','ck-ai-web-source__image','7049200taadFa','title','icon','738354NyVSXt','ck-ai-web-sources__header','open','locale','setTemplate','isVisible','bindTemplate','defaultPositions','content','push','clear','source','_updateTooltipContent','330lqXfrc','_showTooltip','_hideTooltip','url','ck-ai-web-source__tooltip-balloon','ck-ai-web-sources','2937483IKEkKv','get','AI_CHAT_SOURCES_HEADER','5KzuLSR','241681MtBaJB','balloonPanelView','querySelector','ck-ai-web-source__tooltip-url','_blank','destroy','hide','173629HculNQ','_setupBalloonPanel','101212AKOFUB','ck\x20ck-ai-web-source','_createTooltipContentView','northArrowSouthEast','span'];_0x43e3=function(){return _0x358eec;};return _0x43e3();}export class AIWebSourcesView extends _0x3d81e0{[_0x1e3e51(0x226)];[_0x1e3e51(0x210)];[_0x1e3e51(0x22c)];constructor(_0x136488,_0x3e80e1){const _0x3b4879=_0x1e3e51;super(_0x136488),this[_0x3b4879(0x22c)]=_0x3e80e1,this[_0x3b4879(0x226)]=this[_0x3b4879(0x22f)](),this[_0x3b4879(0x21e)](_0x3b4879(0x1fd),!0x1),this[_0x3b4879(0x1fc)]({'tag':_0x3b4879(0x230),'attributes':{'class':['ck',_0x3b4879(0x20a),this[_0x3b4879(0x1fe)]['if'](_0x3b4879(0x1fd),_0x3b4879(0x238),_0x35eb02=>!_0x35eb02)]},'children':this[_0x3b4879(0x226)]});const _0x45a066=new _0x3d81e0(this[_0x3b4879(0x1fb)]),_0x55941e=new _0x4d4af5();_0x55941e[_0x3b4879(0x200)]=_0x108006,_0x45a066[_0x3b4879(0x1fc)]({'tag':_0x3b4879(0x230),'attributes':{'class':['ck',_0x3b4879(0x1f9)]},'children':[_0x55941e,{'tag':_0x3b4879(0x21c),'children':[{'text':_0x70dd15(this[_0x3b4879(0x1fb)],_0x3b4879(0x20d))}]}]}),this[_0x3b4879(0x226)][_0x3b4879(0x220)](_0x45a066),this[_0x3b4879(0x217)](_0x136488);}[_0x1e3e51(0x21d)](_0x260fc3){const _0x11294f=_0x1e3e51;this[_0x11294f(0x226)][_0x11294f(0x220)](new AIWebSourceView(this[_0x11294f(0x1fb)],_0x260fc3,this[_0x11294f(0x210)]));}[_0x1e3e51(0x217)](_0x2552a0){const _0xdd2dd2=_0x1e3e51;this[_0xdd2dd2(0x210)]=new _0x6fef94(_0x2552a0),this[_0xdd2dd2(0x210)][_0xdd2dd2(0x228)]({'attributes':{'class':[_0xdd2dd2(0x209)]}}),this[_0xdd2dd2(0x22c)][_0xdd2dd2(0x220)](this[_0xdd2dd2(0x210)]);}}export class AIWebSourceView extends _0x46a3c3{[_0x1e3e51(0x210)];[_0x1e3e51(0x203)];constructor(_0x29cc57,_0x2843a4,_0x38a094){const _0xd7080f=_0x1e3e51;super(_0x29cc57),this[_0xd7080f(0x203)]=_0x2843a4,this[_0xd7080f(0x210)]=_0x38a094,this[_0xd7080f(0x21e)]({'label':_0x2843a4[_0xd7080f(0x1f6)],'class':[_0xd7080f(0x219)],'withText':!0x0});const _0x26bce5=this[_0xd7080f(0x1fe)];if(this[_0xd7080f(0x228)]({'on':{'click':_0x26bce5['to'](()=>{const _0x471469=_0xd7080f;window[_0x471469(0x1fa)](_0x2843a4[_0x471469(0x208)],_0x471469(0x213));}),'mouseenter':_0x26bce5['to'](()=>{const _0x1f18ce=_0xd7080f;this[_0x1f18ce(0x206)]();}),'mouseleave':_0x26bce5['to'](()=>{const _0x4fb2ba=_0xd7080f;this[_0x4fb2ba(0x207)]();})}}),_0x2843a4[_0xd7080f(0x22e)]){const _0x55d52f=new _0x3d81e0(_0x29cc57);_0x55d52f[_0xd7080f(0x1fc)]({'tag':_0xd7080f(0x235),'attributes':{'src':_0x2843a4[_0xd7080f(0x22e)]||_0x108006,'alt':_0x2843a4[_0xd7080f(0x1f6)],'class':[_0xd7080f(0x1f4)]}}),this[_0xd7080f(0x226)][_0xd7080f(0x220)](_0x55d52f);}else this[_0xd7080f(0x21e)](_0xd7080f(0x1f7),_0x108006);}[_0x1e3e51(0x21a)](_0x2ea4a4,_0x29b2d9){const _0x407d82=_0x1e3e51,_0x2fbbf1=new _0x3d81e0(_0x2ea4a4),_0xd99402=[];let _0x1e62e8;_0x29b2d9?.[_0x407d82(0x22e)]?(_0x1e62e8=new _0x3d81e0(_0x2ea4a4),_0x1e62e8[_0x407d82(0x1fc)]({'tag':_0x407d82(0x235),'attributes':{'src':_0x29b2d9[_0x407d82(0x22e)],'alt':_0x29b2d9[_0x407d82(0x1f6)],'class':[_0x407d82(0x233)]}})):(_0x1e62e8=new _0x4d4af5(),_0x1e62e8[_0x407d82(0x200)]=_0x108006,_0x1e62e8[_0x407d82(0x228)]({'attributes':{'alt':_0x29b2d9[_0x407d82(0x1f6)],'class':[_0x407d82(0x233)]}})),_0xd99402[_0x407d82(0x201)](_0x1e62e8);const _0x5ae9ca=new _0x3d81e0(_0x2ea4a4);_0x5ae9ca[_0x407d82(0x1fc)]({'tag':'a','attributes':{'class':[_0x407d82(0x212)],'href':_0x29b2d9[_0x407d82(0x208)]},'children':[{'text':new URL(_0x29b2d9[_0x407d82(0x208)])?.[_0x407d82(0x224)]}]}),_0xd99402[_0x407d82(0x201)](_0x5ae9ca);const _0x3eaed8=new _0x3d81e0(_0x2ea4a4);_0x3eaed8[_0x407d82(0x1fc)]({'tag':_0x407d82(0x230),'attributes':{'class':[_0x407d82(0x21f)]},'children':_0xd99402});const _0x149b4c=new _0x3d81e0(_0x2ea4a4);return _0x149b4c[_0x407d82(0x1fc)]({'tag':_0x407d82(0x21c),'attributes':{'class':[_0x407d82(0x21f),_0x407d82(0x222)]},'children':[{'text':_0x29b2d9[_0x407d82(0x1f6)][_0x407d82(0x229)]>0x190?_0x29b2d9[_0x407d82(0x1f6)][_0x407d82(0x22a)](0x0,0x190)+_0x407d82(0x234):_0x29b2d9[_0x407d82(0x1f6)]}]}),_0x2fbbf1[_0x407d82(0x1fc)]({'tag':_0x407d82(0x230),'attributes':{'class':['ck',_0x407d82(0x221)]},'children':[_0x3eaed8,_0x149b4c]}),_0x2fbbf1;}[_0x1e3e51(0x206)](){const _0x5c643f=_0x1e3e51;this[_0x5c643f(0x204)](),this[_0x5c643f(0x210)][_0x5c643f(0x225)]({'target':this[_0x5c643f(0x232)],'positions':[_0x6fef94[_0x5c643f(0x1ff)][_0x5c643f(0x231)],_0x6fef94[_0x5c643f(0x1ff)][_0x5c643f(0x22b)],_0x6fef94[_0x5c643f(0x1ff)][_0x5c643f(0x21b)]],'limiter':document[_0x5c643f(0x211)](_0x5c643f(0x223))}),this[_0x5c643f(0x210)][_0x5c643f(0x22d)]();}[_0x1e3e51(0x207)](){const _0x16af7d=_0x1e3e51;this[_0x16af7d(0x210)][_0x16af7d(0x215)]();}[_0x1e3e51(0x204)](){const _0x5d6134=_0x1e3e51;this[_0x5d6134(0x210)][_0x5d6134(0x200)][_0x5d6134(0x20c)](0x0)?.[_0x5d6134(0x214)](),this[_0x5d6134(0x210)][_0x5d6134(0x200)][_0x5d6134(0x202)]();const _0xbea870=this[_0x5d6134(0x21a)](this[_0x5d6134(0x1fb)],this[_0x5d6134(0x203)]);this[_0x5d6134(0x210)][_0x5d6134(0x200)][_0x5d6134(0x220)](_0xbea870);}}