@ckeditor/ckeditor5-ai 47.0.0 → 47.1.0-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 (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  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/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  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/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33e600=_0x3eb0;(function(_0x3dbb52,_0x37f70a){const _0x214444=_0x3eb0,_0x592871=_0x3dbb52();while(!![]){try{const _0x349728=-parseInt(_0x214444(0x1a3))/0x1+parseInt(_0x214444(0x1b1))/0x2*(parseInt(_0x214444(0x1be))/0x3)+-parseInt(_0x214444(0x1c6))/0x4*(parseInt(_0x214444(0x1c4))/0x5)+parseInt(_0x214444(0x1b5))/0x6+parseInt(_0x214444(0x1c1))/0x7+-parseInt(_0x214444(0x19a))/0x8+parseInt(_0x214444(0x19f))/0x9;if(_0x349728===_0x37f70a)break;else _0x592871['push'](_0x592871['shift']());}catch(_0x2cb65d){_0x592871['push'](_0x592871['shift']());}}}(_0x5225,0x86ec0));import{ObservableMixin as _0x11aefa,uid as _0x507a5d}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x1c8f05,findByAttribute as _0x5354a9,getAttribute as _0x1ca573,isComment as _0x302e25,isTag as _0x51e16a,insertElement as _0x10ade1,moveElement as _0x1fe271,removeElement as _0x2225e5,replaceElement as _0x22ac3c,serialize as _0x36ee3d,setAttribute as _0xda9270,clone as _0x37f26e,findAllComments as _0x366ef1,getParents as _0x5d9f91,getNodeNestingLevel as _0x1d8e53,areNodesSame as _0x1f7ecb,removeElementsAfter as _0x5303bf}from'../utils/htmlparser.js';function _0x3eb0(_0x129bb3,_0x21b379){const _0x52254c=_0x5225();return _0x3eb0=function(_0x3eb0e6,_0x289cae){_0x3eb0e6=_0x3eb0e6-0x18c;let _0x4eb1cb=_0x52254c[_0x3eb0e6];return _0x4eb1cb;},_0x3eb0(_0x129bb3,_0x21b379);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x11aefa(){[_0x33e600(0x1c3)];[_0x33e600(0x1b0)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x33e600(0x1bb)]=new Set();constructor(_0x41630a){const _0x36a3a8=_0x33e600;super(),this[_0x36a3a8(0x1c3)]=_0x41630a||_0x507a5d;}[_0x33e600(0x1c5)](_0x4a779,_0x599357,_0x1735d5){const _0x13baf5=_0x33e600,_0x556cbc=_0x37f26e(_0x4a779);if(0x0===_0x599357[_0x13baf5(0x194)][_0x13baf5(0x1a7)]){const _0x20add0=[];return _0x1c8f05(_0x13baf5(0x1a9),_0x13baf5(0x1a4),_0x556cbc)[_0x13baf5(0x18e)](_0x181cd1=>{const _0x205a2b=_0x13baf5,_0x49ed67=this[_0x205a2b(0x1c3)]();_0xda9270(_0x181cd1,_0x205a2b(0x1a9),_0x49ed67),_0x20add0[_0x205a2b(0x193)](_0x49ed67);}),this[_0x13baf5(0x1ac)](_0x556cbc),{'parsedContent':_0x556cbc,'newNodeIds':_0x20add0,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x1735d5&&_0x1735d5[_0x13baf5(0x1b7)]&&this[_0x13baf5(0x1cf)](_0x556cbc),this[_0x13baf5(0x1b0)][_0x13baf5(0x18d)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1bd)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]=null,this[_0x13baf5(0x1bb)]=new Set(_0x1c8f05(_0x13baf5(0x1a9),null,_0x599357)[_0x13baf5(0x1ba)](_0x1e1bde=>_0x1ca573(_0x1e1bde,_0x13baf5(0x1a9)))[_0x13baf5(0x1af)](_0x4de2d0=>!!_0x4de2d0));let _0x454396=-0x1,_0x56bc8a=!0x1;const _0x30af1d=_0x556cbc[_0x13baf5(0x194)],_0x2874c4=Array[_0x13baf5(0x1d0)](_0x30af1d)[_0x13baf5(0x1af)](_0x477372=>!(0x3===_0x477372[_0x13baf5(0x1ab)]&&''===_0x36ee3d(_0x477372)[_0x13baf5(0x195)]())),_0x254d1a=_0x2874c4[_0x13baf5(0x1a7)];for(let _0x348be6=0x0;_0x348be6<_0x254d1a;_0x348be6++){const _0x4d4d8e=_0x2874c4[_0x348be6],_0x5dacf5=_0x2874c4[_0x348be6+0x1];if(this[_0x13baf5(0x1c2)](_0x4d4d8e)){if(-0x1===_0x454396&&(_0x454396=_0x348be6),this[_0x13baf5(0x190)](_0x4d4d8e),!this[_0x13baf5(0x1c2)](_0x5dacf5)){const [_0x23792b,_0x1f68b1]=this[_0x13baf5(0x1a1)](_0x4d4d8e,_0x56bc8a,_0x599357);if(_0x23792b){const _0x31d8fc=Array[_0x13baf5(0x1d0)](_0x2874c4)[_0x13baf5(0x1c9)](_0x454396,_0x348be6+0x1);this[_0x13baf5(0x1bf)](_0x23792b,_0x31d8fc,_0x1f68b1),_0x454396=-0x1;}}}else{if(this[_0x13baf5(0x197)](_0x4d4d8e))_0x56bc8a=!0x0;else{if(this[_0x13baf5(0x1ce)](_0x4d4d8e)){const _0x17ad6a=_0x1ca573(_0x4d4d8e,_0x13baf5(0x1a9));if(_0x17ad6a&&this[_0x13baf5(0x1bb)][_0x13baf5(0x18c)](_0x17ad6a)){const _0x470915=_0x5354a9(_0x13baf5(0x1a9),_0x17ad6a,_0x599357);this[_0x13baf5(0x199)](_0x470915,_0x4d4d8e);}if(this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x192)](_0x17ad6a)){const _0x52e1cb=this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x19e)](_0x17ad6a);this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x19b)](_0x52e1cb,0x1);}}else{if(this[_0x13baf5(0x1b3)](_0x4d4d8e)){const _0x48b501=_0x1ca573(_0x4d4d8e,_0x13baf5(0x1a9));this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)][_0x13baf5(0x192)](_0x48b501)||this[_0x13baf5(0x1cd)](_0x4d4d8e);}}}}}for(const _0x18f8ce of this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]){const _0x612459=_0x5354a9(_0x13baf5(0x1a9),_0x18f8ce,_0x599357);if(_0x612459){if(_0x1735d5&&_0x1735d5[_0x13baf5(0x18f)]){this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]=_0x18f8ce;const _0x16a6c2=_0x1735d5[_0x13baf5(0x18f)][_0x13baf5(0x1bc)](!0x0);_0xda9270(_0x16a6c2,_0x13baf5(0x1a9),_0x18f8ce),_0xda9270(_0x16a6c2,_0x13baf5(0x1d1),_0x13baf5(0x1c7)),_0x22ac3c(_0x612459,_0x16a6c2);}else _0x2225e5(_0x612459);}}if(_0x1c8f05(_0x13baf5(0x1ae),null,_0x599357)[_0x13baf5(0x18e)](_0x114385=>{const _0x94e41f=_0x13baf5,_0x20377e=_0x1ca573(_0x114385,_0x94e41f(0x1ae)),_0x1e707b=_0x5354a9(_0x94e41f(0x1a9),_0x20377e,_0x599357);_0x1e707b&&_0x1fe271(_0x1e707b,_0x114385);}),_0x1c8f05(_0x13baf5(0x1a9),_0x13baf5(0x1a4),_0x599357)[_0x13baf5(0x18e)](_0x95b7e=>{const _0x3ed925=_0x13baf5,_0x1b44d9=this[_0x3ed925(0x196)](_0x95b7e);_0xda9270(_0x95b7e,_0x3ed925(0x1a9),_0x1b44d9),this[_0x3ed925(0x1b0)][_0x3ed925(0x18d)][_0x3ed925(0x193)](_0x1b44d9);}),this[_0x13baf5(0x1ac)](_0x599357),_0x1735d5&&_0x1735d5[_0x13baf5(0x1b7)]&&this[_0x13baf5(0x1cc)](_0x599357,_0x1735d5[_0x13baf5(0x1a6)]||0x0),_0x1735d5&&_0x1735d5[_0x13baf5(0x1a2)]&&this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]){let _0x1b9bdf=_0x5354a9(_0x13baf5(0x1a9),this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)],_0x599357);for(;_0x1b9bdf;)_0x5303bf(_0x1b9bdf),_0x1b9bdf=_0x1b9bdf[_0x13baf5(0x1b8)];}return{'parsedContent':_0x599357,'newNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x18d)],'modifiedNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)],'removedNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]};}[_0x33e600(0x1bf)](_0x501eeb,_0x5ef11e,_0x160dca){const _0x386c7d=_0x33e600;for(const _0x1ad0cd of _0x5ef11e){const _0x2345f2=this[_0x386c7d(0x196)](_0x1ad0cd);_0xda9270(_0x1ad0cd,_0x386c7d(0x1a9),_0x2345f2),this[_0x386c7d(0x1b0)][_0x386c7d(0x18d)][_0x386c7d(0x193)](_0x2345f2),this[_0x386c7d(0x1b0)][_0x386c7d(0x19d)]=_0x2345f2;}const _0x1ea2b0=_0x386c7d(0x1cb)===_0x160dca||_0x386c7d(0x1b2)===_0x160dca?_0x5ef11e[_0x386c7d(0x191)]():_0x5ef11e;for(const _0x45e8a8 of _0x1ea2b0)_0x10ade1(_0x501eeb,_0x45e8a8,_0x160dca);}[_0x33e600(0x199)](_0x27d7d9,_0x23f866){const _0x1f225e=_0x33e600;if(!_0x27d7d9)return;if(_0x1f7ecb(_0x27d7d9,_0x23f866))return;const _0x54385f=this[_0x1f225e(0x196)](_0x27d7d9);_0xda9270(_0x23f866,_0x1f225e(0x1a9),_0x54385f),this[_0x1f225e(0x1b0)][_0x1f225e(0x1a8)][_0x1f225e(0x193)](_0x54385f),this[_0x1f225e(0x1b0)][_0x1f225e(0x19d)]=_0x54385f,_0x22ac3c(_0x27d7d9,_0x23f866[_0x1f225e(0x1bc)](!0x0));}[_0x33e600(0x1a1)](_0x433d05,_0x4f6c17,_0x4644f0){const _0x443358=_0x33e600,_0x4d9e45=this[_0x443358(0x1b6)](_0x433d05,!0x1);if(_0x4d9e45){const _0x415bfd=this[_0x443358(0x19c)](_0x4d9e45),_0x1d21dc=_0x5354a9(_0x443358(0x1a9),_0x415bfd,_0x4644f0);if(_0x1d21dc)return[_0x1d21dc,_0x443358(0x1b2)];this[_0x443358(0x1b0)][_0x443358(0x1bd)][_0x443358(0x193)](_0x415bfd);}const _0x2dc94b=this[_0x443358(0x1aa)](_0x433d05,!0x1);if(_0x2dc94b){const _0x532f3a=this[_0x443358(0x19c)](_0x2dc94b),_0x28faea=_0x5354a9(_0x443358(0x1a9),_0x532f3a,_0x4644f0);if(_0x28faea)return[_0x28faea,_0x443358(0x1ca)];this[_0x443358(0x1b0)][_0x443358(0x1bd)][_0x443358(0x193)](_0x532f3a);}return _0x4f6c17?_0x433d05[_0x443358(0x1b9)]?this[_0x443358(0x1a5)](_0x433d05,_0x4644f0):[_0x4644f0[_0x443358(0x194)][_0x4644f0[_0x443358(0x194)][_0x443358(0x1a7)]-0x1],_0x443358(0x1b2)]:[_0x4644f0[_0x443358(0x194)][0x0],_0x443358(0x1ca)];}[_0x33e600(0x1a5)](_0x496c23,_0x917a67){const _0x5f4c95=_0x33e600,_0x3f666b=[],_0x89a0d0=this[_0x5f4c95(0x1b6)](_0x496c23,!0x0);if(_0x89a0d0){const _0x2a6304=this[_0x5f4c95(0x19c)](_0x89a0d0),_0x33c144=_0x5354a9(_0x5f4c95(0x1a9),_0x2a6304,_0x917a67);_0x33c144&&_0x3f666b[_0x5f4c95(0x193)]([_0x33c144,_0x5f4c95(0x1b2)]);}const _0x355eb7=this[_0x5f4c95(0x1aa)](_0x496c23,!0x0);if(_0x355eb7){const _0x2190d3=this[_0x5f4c95(0x19c)](_0x355eb7),_0x442701=_0x5354a9(_0x5f4c95(0x1a9),_0x2190d3,_0x917a67);_0x442701&&_0x3f666b[_0x5f4c95(0x193)]([_0x442701,_0x5f4c95(0x1ca)]);}if(_0x3f666b[_0x5f4c95(0x1a7)]>0x1)return _0x1d8e53(_0x3f666b[0x0][0x0])<=_0x1d8e53(_0x3f666b[0x1][0x0])?_0x3f666b[0x0]:_0x3f666b[0x1];return 0x1===_0x3f666b[_0x5f4c95(0x1a7)]?_0x3f666b[0x0]:[_0x917a67[_0x5f4c95(0x1c0)],_0x5f4c95(0x1b2)];}[_0x33e600(0x1aa)](_0x2af1be,_0x32f42c){const _0x104ded=_0x33e600;let _0x1b5eeb=_0x2af1be[_0x104ded(0x1b9)],_0x2a52df=null,_0x502bc1=!0x1;for(;_0x1b5eeb;){if(_0x302e25(_0x1b5eeb)){if(this[_0x104ded(0x1b3)](_0x1b5eeb)&&(_0x2a52df=_0x1b5eeb),this[_0x104ded(0x197)](_0x1b5eeb)&&_0x32f42c&&!_0x502bc1){_0x502bc1=!0x0,_0x1b5eeb=_0x1b5eeb[_0x104ded(0x1b9)];continue;}break;}const _0x2184df=_0x1ca573(_0x1b5eeb,_0x104ded(0x1a9));if(_0x2184df&&_0x104ded(0x1a4)!==_0x2184df&&this[_0x104ded(0x1bb)][_0x104ded(0x18c)](_0x2184df)){_0x2a52df=_0x1b5eeb;break;}_0x1b5eeb=_0x1b5eeb[_0x104ded(0x1b9)];}return _0x2a52df;}[_0x33e600(0x1b6)](_0x25c029,_0x1f46d9){const _0x5710f8=_0x33e600;let _0x4a2028=_0x25c029[_0x5710f8(0x1ad)],_0x422855=null,_0x314674=!0x1;for(;_0x4a2028;){if(_0x302e25(_0x4a2028)){if(this[_0x5710f8(0x1b3)](_0x4a2028)&&(_0x422855=_0x4a2028),this[_0x5710f8(0x197)](_0x4a2028)&&_0x1f46d9&&!_0x314674){_0x314674=!0x0,_0x4a2028=_0x4a2028[_0x5710f8(0x1ad)];continue;}break;}const _0x35f60d=_0x1ca573(_0x4a2028,_0x5710f8(0x1a9));if(_0x35f60d&&_0x5710f8(0x1a4)!==_0x35f60d&&this[_0x5710f8(0x1bb)][_0x5710f8(0x18c)](_0x35f60d)){_0x422855=_0x4a2028;break;}_0x4a2028=_0x4a2028[_0x5710f8(0x1ad)];}return _0x422855;}[_0x33e600(0x190)](_0x56204f){const _0x1d5f8e=_0x33e600;_0x51e16a(_0x56204f)&&_0x1c8f05(_0x1d5f8e(0x1a9),null,_0x56204f)[_0x1d5f8e(0x18e)](_0x56cfda=>{const _0x104184=_0x1d5f8e;if(this[_0x104184(0x1ce)](_0x56cfda)&&!this[_0x104184(0x1c8)](_0x56cfda)){const _0x36f6a1=_0x1ca573(_0x56cfda,_0x104184(0x1a9));_0xda9270(_0x56cfda,_0x104184(0x1ae),_0x36f6a1),_0xda9270(_0x56cfda,_0x104184(0x1a9),null);}});}[_0x33e600(0x19c)](_0x399db1){const _0x160e08=_0x33e600;if(!_0x399db1)return null;if(_0x51e16a(_0x399db1))return _0x1ca573(_0x399db1,_0x160e08(0x1a9));if(_0x302e25(_0x399db1)){const _0x26ef3e=_0x36ee3d(_0x399db1)[_0x160e08(0x198)](/removed[\s*-]data-id="([^"]+)"/);if(_0x26ef3e&&_0x26ef3e[0x1])return _0x26ef3e[0x1];}return null;}[_0x33e600(0x1cd)](_0x48b936){const _0x106a6c=_0x33e600;if(_0x302e25(_0x48b936)){const _0x3e25cf=_0x36ee3d(_0x48b936)[_0x106a6c(0x198)](/removed[\s*-]data-id="([^"]+)"/);_0x3e25cf&&_0x3e25cf[0x1]&&this[_0x106a6c(0x1b0)][_0x106a6c(0x1a0)][_0x106a6c(0x193)](_0x3e25cf[0x1]);}}[_0x33e600(0x196)](_0x30a2e5){const _0x460b64=_0x33e600;return this[_0x460b64(0x1ce)](_0x30a2e5)?_0x1ca573(_0x30a2e5,_0x460b64(0x1a9)):this[_0x460b64(0x1c3)]();}[_0x33e600(0x1ac)](_0x58ccaf){const _0x650c1e=_0x33e600;_0x366ef1(_0x58ccaf)[_0x650c1e(0x1af)](_0x589980=>this[_0x650c1e(0x1b3)](_0x589980)||this[_0x650c1e(0x197)](_0x589980))[_0x650c1e(0x18e)](_0x230e48=>{_0x2225e5(_0x230e48);});}[_0x33e600(0x1cf)](_0x3979a7){const _0x465a33=_0x33e600,_0x2186e2=_0x3979a7[_0x465a33(0x194)],_0x24ba75=_0x2186e2[_0x2186e2[_0x465a33(0x1a7)]-0x1];_0x24ba75&&_0x51e16a(_0x24ba75)&&_0xda9270(_0x24ba75,_0x465a33(0x1b4),_0x465a33(0x1c7));}[_0x33e600(0x1cc)](_0x57654f,_0x63dc17){const _0x56c518=_0x33e600,_0x4bf5ba=_0x5354a9(_0x56c518(0x1b4),_0x56c518(0x1c7),_0x57654f);if(!_0x4bf5ba)return;const _0xf9b54e=_0x5d9f91(_0x4bf5ba)[_0x56c518(0x1c9)](0x0,-0x1),_0x159763=_0xf9b54e[_0x56c518(0x1a7)];let _0x49b554=_0x4bf5ba;if(_0x159763>_0x63dc17){let _0x2049ad=_0x159763,_0x235cf2=null;for(;_0x2049ad>_0x63dc17&&_0x2049ad>=0x0;)_0x2049ad--,_0x235cf2=_0xf9b54e[_0x2049ad];_0x235cf2&&(_0x49b554=_0x235cf2,_0xda9270(_0x4bf5ba,_0x56c518(0x1b4),null),_0xda9270(_0x235cf2,_0x56c518(0x1b4),_0x56c518(0x1c7)));}else{if(_0x159763<_0x63dc17){let _0x2a4f45=_0x159763,_0x105848=_0x4bf5ba;for(;_0x2a4f45<_0x63dc17;){const _0xb3e2c8=_0x105848[_0x56c518(0x194)][_0x56c518(0x1af)](_0x2c39e2=>_0x51e16a(_0x2c39e2));if(0x0===_0xb3e2c8[_0x56c518(0x1a7)])break;_0x2a4f45++,_0x105848=_0xb3e2c8[_0xb3e2c8[_0x56c518(0x1a7)]-0x1];}_0x105848&&(_0x49b554=_0x105848,_0xda9270(_0x4bf5ba,_0x56c518(0x1b4),null),_0xda9270(_0x105848,_0x56c518(0x1b4),_0x56c518(0x1c7)));}}let _0xa5c911=_0x49b554;for(;_0xa5c911;){for(;_0xa5c911[_0x56c518(0x1b9)];)_0xa5c911=_0xa5c911[_0x56c518(0x1b9)],_0x51e16a(_0xa5c911)&&_0xda9270(_0xa5c911,_0x56c518(0x1b4),_0x56c518(0x1c7));_0xa5c911=_0xa5c911[_0x56c518(0x1b8)];}}[_0x33e600(0x1c2)](_0x35e7c7){const _0x1a4649=_0x33e600;return Boolean(_0x1a4649(0x1a4)===_0x1ca573(_0x35e7c7,_0x1a4649(0x1a9)));}[_0x33e600(0x1ce)](_0xcd4c7b){const _0x4fee90=_0x33e600;return Boolean((_0x1ca573(_0xcd4c7b,_0x4fee90(0x1a9))||'')[_0x4fee90(0x1a7)]>0x0&&_0x4fee90(0x1a4)!==_0x1ca573(_0xcd4c7b,_0x4fee90(0x1a9)));}[_0x33e600(0x1b3)](_0x25f938){const _0x2d6523=_0x33e600;return!!_0x25f938&&Boolean(_0x302e25(_0x25f938)&&_0x36ee3d(_0x25f938)[_0x2d6523(0x198)](/removed[\s*-]data-id="[^"]+"/));}[_0x33e600(0x1c8)](_0x4863a7){const _0x19fb08=_0x33e600;let _0x4525ac=_0x4863a7[_0x19fb08(0x1b8)];for(;_0x4525ac;){if(_0x1ca573(_0x4525ac,_0x19fb08(0x1ae)))return!0x0;_0x4525ac=_0x4525ac[_0x19fb08(0x1b8)];}return!0x1;}[_0x33e600(0x197)](_0x32ac48){const _0xa644f6=_0x33e600;return Boolean(_0x302e25(_0x32ac48)&&_0x36ee3d(_0x32ac48)[_0xa644f6(0x198)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x5225(){const _0x4f708a=['_markWrappedElements','reverse','includes','push','childNodes','trim','_getUid','_isExistingContentComment','match','_replaceNode','574544jBHwMc','splice','_getNodeDataId','lastTouchedId','indexOf','2351664jkMRUF','removedIds','_findReferenceNode','cutAfterLastChange','832850twBApf','new-element','_findFallbackReferenceNode','markUnstableElementsDepth','length','modifiedIds','data-id','_findNextElementWithDataId','nodeType','_removeSpecialComments','previousSibling','data-wrapped-id','filter','_touchedNodesState','33964VZejZt','afterend','_isDelNode','data-unstable','5482968zDYbbl','_findPrevElementWithDataId','markUnstableElements','parentNode','nextSibling','map','_existingDataIds','cloneNode','invalidIds','78ZrXJxZ','_insertNodes','lastChild','70847kAuYFN','_isNewNode','_generateUid','847345mvSxLX','merge','4uJNqIG','true','_hasWrappedParent','slice','beforebegin','afterbegin','_markUnstableElements','_storeDeletedElementIds','_isExistingNode','_markLastTagElementUnstable','from','data-removed','has','newIds','forEach','replaceRemovedWith'];_0x5225=function(){return _0x4f708a;};return _0x5225();}
23
+ function _0x80aa(_0x5da6a0,_0x382321){const _0x5b18dd=_0x5b18();return _0x80aa=function(_0x80aa4b,_0x39d8a5){_0x80aa4b=_0x80aa4b-0xf7;let _0x56c32b=_0x5b18dd[_0x80aa4b];return _0x56c32b;},_0x80aa(_0x5da6a0,_0x382321);}function _0x5b18(){const _0x47ce90=['true','_findNextElementWithDataId','markUnstableElements','3041420vmBIvj','_markWrappedElements','_generateUid','cloneNode','_markUnstableElements','9789210KFoILu','_isExistingNode','_findPrevElementWithDataId','new-element','3azkjWa','push','_findReferenceNode','_replaceNode','lastChild','data-unstable','4474736RyPOEF','40kMCfVw','7567609FBSLKy','includes','from','data-wrapped-id','beforebegin','lastTouchedId','replaceRemovedWith','_isExistingContentComment','previousSibling','nodeType','_getNodeDataId','data-id','indexOf','afterbegin','reverse','newIds','filter','_isNewNode','match','afterend','map','length','6ijdUeh','removedIds','4546290tXqOtT','slice','modifiedIds','_isDelNode','merge','parentNode','_findFallbackReferenceNode','_touchedNodesState','_markLastTagElementUnstable','nextSibling','_hasWrappedParent','data-removed','trim','1081170eXKRVb','35654paKEiK','childNodes','has','cutAfterLastChange','_existingDataIds','splice','_getUid','_removeSpecialComments','66BLnTzO','markUnstableElementsDepth','_storeDeletedElementIds','_insertNodes','invalidIds','forEach'];_0x5b18=function(){return _0x47ce90;};return _0x5b18();}const _0x22ef50=_0x80aa;(function(_0x2f82b7,_0x2270b9){const _0x312cfd=_0x80aa,_0x1365ab=_0x2f82b7();while(!![]){try{const _0x57d3d7=parseInt(_0x312cfd(0xf7))/0x1*(parseInt(_0x312cfd(0x118))/0x2)+-parseInt(_0x312cfd(0x111))/0x3*(-parseInt(_0x312cfd(0x108))/0x4)+parseInt(_0x312cfd(0x13e))/0x5+-parseInt(_0x312cfd(0x12f))/0x6*(-parseInt(_0x312cfd(0x119))/0x7)+-parseInt(_0x312cfd(0x117))/0x8+parseInt(_0x312cfd(0x10d))/0x9+parseInt(_0x312cfd(0x131))/0xa*(-parseInt(_0x312cfd(0xff))/0xb);if(_0x57d3d7===_0x2270b9)break;else _0x1365ab['push'](_0x1365ab['shift']());}catch(_0x20b29e){_0x1365ab['push'](_0x1365ab['shift']());}}}(_0x5b18,0x8b7c2));import{ObservableMixin as _0x58ca84,uid as _0x2c4819}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x56350a,findByAttribute as _0x2e4a3c,getAttribute as _0x53cf1d,isComment as _0x35faa0,isTag as _0x321d52,insertElement as _0x59cc42,moveElement as _0x2c4a25,removeElement as _0x3f3842,replaceElement as _0x2f6abb,serialize as _0x28ff7f,setAttribute as _0x8e3e00,clone as _0x3b20d7,findAllComments as _0x1d0470,getParents as _0x5c33c3,getNodeNestingLevel as _0x55969e,areNodesSame as _0x238a53,removeElementsAfter as _0x3909b8}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x58ca84(){[_0x22ef50(0x10a)];[_0x22ef50(0x138)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x22ef50(0xfb)]=new Set();constructor(_0x14d3dc){const _0x50bf9a=_0x22ef50;super(),this[_0x50bf9a(0x10a)]=_0x14d3dc||_0x2c4819;}[_0x22ef50(0x135)](_0xba1611,_0x295302,_0x31f568){const _0x1c3a28=_0x22ef50,_0x3cc72a=_0x3b20d7(_0xba1611);if(0x0===_0x295302[_0x1c3a28(0xf8)][_0x1c3a28(0x12e)]){const _0xb1d28=[];return _0x56350a(_0x1c3a28(0x124),_0x1c3a28(0x110),_0x3cc72a)[_0x1c3a28(0x104)](_0xe56d02=>{const _0x1947d9=_0x1c3a28,_0x125d32=this[_0x1947d9(0x10a)]();_0x8e3e00(_0xe56d02,_0x1947d9(0x124),_0x125d32),_0xb1d28[_0x1947d9(0x112)](_0x125d32);}),this[_0x1c3a28(0xfe)](_0x3cc72a),{'parsedContent':_0x3cc72a,'newNodeIds':_0xb1d28,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x31f568&&_0x31f568[_0x1c3a28(0x107)]&&this[_0x1c3a28(0x139)](_0x3cc72a),this[_0x1c3a28(0x138)][_0x1c3a28(0x128)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x133)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x103)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]=null,this[_0x1c3a28(0xfb)]=new Set(_0x56350a(_0x1c3a28(0x124),null,_0x295302)[_0x1c3a28(0x12d)](_0x551a38=>_0x53cf1d(_0x551a38,_0x1c3a28(0x124)))[_0x1c3a28(0x129)](_0x1d77ed=>!!_0x1d77ed));let _0x4fdb61=-0x1,_0x4efadd=!0x1;const _0x367e76=_0x3cc72a[_0x1c3a28(0xf8)],_0x38d344=Array[_0x1c3a28(0x11b)](_0x367e76)[_0x1c3a28(0x129)](_0x4784f2=>!(0x3===_0x4784f2[_0x1c3a28(0x122)]&&''===_0x28ff7f(_0x4784f2)[_0x1c3a28(0x13d)]())),_0x2aa57e=_0x38d344[_0x1c3a28(0x12e)];for(let _0x599b8b=0x0;_0x599b8b<_0x2aa57e;_0x599b8b++){const _0x46f68b=_0x38d344[_0x599b8b],_0x514666=_0x38d344[_0x599b8b+0x1];if(this[_0x1c3a28(0x12a)](_0x46f68b)){if(-0x1===_0x4fdb61&&(_0x4fdb61=_0x599b8b),this[_0x1c3a28(0x109)](_0x46f68b),!this[_0x1c3a28(0x12a)](_0x514666)){const [_0x1dec9f,_0x1b0651]=this[_0x1c3a28(0x113)](_0x46f68b,_0x4efadd,_0x295302);if(_0x1dec9f){const _0x489647=Array[_0x1c3a28(0x11b)](_0x38d344)[_0x1c3a28(0x132)](_0x4fdb61,_0x599b8b+0x1);this[_0x1c3a28(0x102)](_0x1dec9f,_0x489647,_0x1b0651),_0x4fdb61=-0x1;}}}else{if(this[_0x1c3a28(0x120)](_0x46f68b))_0x4efadd=!0x0;else{if(this[_0x1c3a28(0x10e)](_0x46f68b)){const _0x30b023=_0x53cf1d(_0x46f68b,_0x1c3a28(0x124));if(_0x30b023&&this[_0x1c3a28(0xfb)][_0x1c3a28(0xf9)](_0x30b023)){const _0x1256ab=_0x2e4a3c(_0x1c3a28(0x124),_0x30b023,_0x295302);this[_0x1c3a28(0x114)](_0x1256ab,_0x46f68b);}if(this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0x11a)](_0x30b023)){const _0x4d9536=this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0x125)](_0x30b023);this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0xfc)](_0x4d9536,0x1);}}else{if(this[_0x1c3a28(0x134)](_0x46f68b)){const _0x27d4e8=_0x53cf1d(_0x46f68b,_0x1c3a28(0x124));this[_0x1c3a28(0x138)][_0x1c3a28(0x133)][_0x1c3a28(0x11a)](_0x27d4e8)||this[_0x1c3a28(0x101)](_0x46f68b);}}}}}for(const _0x3ad643 of this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]){const _0x231139=_0x2e4a3c(_0x1c3a28(0x124),_0x3ad643,_0x295302);if(_0x231139){if(_0x31f568&&_0x31f568[_0x1c3a28(0x11f)]){this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]=_0x3ad643;const _0x47369a=_0x31f568[_0x1c3a28(0x11f)][_0x1c3a28(0x10b)](!0x0);_0x8e3e00(_0x47369a,_0x1c3a28(0x124),_0x3ad643),_0x8e3e00(_0x47369a,_0x1c3a28(0x13c),_0x1c3a28(0x105)),_0x2f6abb(_0x231139,_0x47369a);}else _0x3f3842(_0x231139);}}if(_0x56350a(_0x1c3a28(0x11c),null,_0x295302)[_0x1c3a28(0x104)](_0x1b31fa=>{const _0x44d4a6=_0x1c3a28,_0x5359d4=_0x53cf1d(_0x1b31fa,_0x44d4a6(0x11c)),_0x1f84c8=_0x2e4a3c(_0x44d4a6(0x124),_0x5359d4,_0x295302);_0x1f84c8&&_0x2c4a25(_0x1f84c8,_0x1b31fa);}),_0x56350a(_0x1c3a28(0x124),_0x1c3a28(0x110),_0x295302)[_0x1c3a28(0x104)](_0x2a3458=>{const _0x2c1827=_0x1c3a28,_0x55712a=this[_0x2c1827(0xfd)](_0x2a3458);_0x8e3e00(_0x2a3458,_0x2c1827(0x124),_0x55712a),this[_0x2c1827(0x138)][_0x2c1827(0x128)][_0x2c1827(0x112)](_0x55712a);}),this[_0x1c3a28(0xfe)](_0x295302),_0x31f568&&_0x31f568[_0x1c3a28(0x107)]&&this[_0x1c3a28(0x10c)](_0x295302,_0x31f568[_0x1c3a28(0x100)]||0x0),_0x31f568&&_0x31f568[_0x1c3a28(0xfa)]&&this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]){let _0x2cbad6=_0x2e4a3c(_0x1c3a28(0x124),this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)],_0x295302);for(;_0x2cbad6;)_0x3909b8(_0x2cbad6),_0x2cbad6=_0x2cbad6[_0x1c3a28(0x136)];}return{'parsedContent':_0x295302,'newNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x128)],'modifiedNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x133)],'removedNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]};}[_0x22ef50(0x102)](_0x53013f,_0x32295f,_0x4033be){const _0x164817=_0x22ef50;for(const _0x5b30c1 of _0x32295f){const _0x4768c6=this[_0x164817(0xfd)](_0x5b30c1);_0x8e3e00(_0x5b30c1,_0x164817(0x124),_0x4768c6),this[_0x164817(0x138)][_0x164817(0x128)][_0x164817(0x112)](_0x4768c6),this[_0x164817(0x138)][_0x164817(0x11e)]=_0x4768c6;}const _0x121844=_0x164817(0x126)===_0x4033be||_0x164817(0x12c)===_0x4033be?_0x32295f[_0x164817(0x127)]():_0x32295f;for(const _0x4e292c of _0x121844)_0x59cc42(_0x53013f,_0x4e292c,_0x4033be);}[_0x22ef50(0x114)](_0x16d810,_0x130e42){const _0x48d229=_0x22ef50;if(!_0x16d810)return;if(_0x238a53(_0x16d810,_0x130e42))return;const _0x509a4a=this[_0x48d229(0xfd)](_0x16d810);_0x8e3e00(_0x130e42,_0x48d229(0x124),_0x509a4a),this[_0x48d229(0x138)][_0x48d229(0x133)][_0x48d229(0x112)](_0x509a4a),this[_0x48d229(0x138)][_0x48d229(0x11e)]=_0x509a4a,_0x2f6abb(_0x16d810,_0x130e42[_0x48d229(0x10b)](!0x0));}[_0x22ef50(0x113)](_0x5772ad,_0x393fa1,_0x5b3316){const _0x58e25c=_0x22ef50,_0x53412b=this[_0x58e25c(0x10f)](_0x5772ad,!0x1);if(_0x53412b){const _0x397fab=this[_0x58e25c(0x123)](_0x53412b),_0x427782=_0x2e4a3c(_0x58e25c(0x124),_0x397fab,_0x5b3316);if(_0x427782)return[_0x427782,_0x58e25c(0x12c)];this[_0x58e25c(0x138)][_0x58e25c(0x103)][_0x58e25c(0x112)](_0x397fab);}const _0x465d54=this[_0x58e25c(0x106)](_0x5772ad,!0x1);if(_0x465d54){const _0x2dd476=this[_0x58e25c(0x123)](_0x465d54),_0x2ccb1e=_0x2e4a3c(_0x58e25c(0x124),_0x2dd476,_0x5b3316);if(_0x2ccb1e)return[_0x2ccb1e,_0x58e25c(0x11d)];this[_0x58e25c(0x138)][_0x58e25c(0x103)][_0x58e25c(0x112)](_0x2dd476);}return _0x393fa1?_0x5772ad[_0x58e25c(0x13a)]?this[_0x58e25c(0x137)](_0x5772ad,_0x5b3316):[_0x5b3316[_0x58e25c(0xf8)][_0x5b3316[_0x58e25c(0xf8)][_0x58e25c(0x12e)]-0x1],_0x58e25c(0x12c)]:[_0x5b3316[_0x58e25c(0xf8)][0x0],_0x58e25c(0x11d)];}[_0x22ef50(0x137)](_0x56fd1a,_0x258612){const _0x36f2f9=_0x22ef50,_0x33b785=[],_0x332b0c=this[_0x36f2f9(0x10f)](_0x56fd1a,!0x0);if(_0x332b0c){const _0x21bf17=this[_0x36f2f9(0x123)](_0x332b0c),_0x3dbdd8=_0x2e4a3c(_0x36f2f9(0x124),_0x21bf17,_0x258612);_0x3dbdd8&&_0x33b785[_0x36f2f9(0x112)]([_0x3dbdd8,_0x36f2f9(0x12c)]);}const _0xab7c44=this[_0x36f2f9(0x106)](_0x56fd1a,!0x0);if(_0xab7c44){const _0x2b1227=this[_0x36f2f9(0x123)](_0xab7c44),_0x51982c=_0x2e4a3c(_0x36f2f9(0x124),_0x2b1227,_0x258612);_0x51982c&&_0x33b785[_0x36f2f9(0x112)]([_0x51982c,_0x36f2f9(0x11d)]);}if(_0x33b785[_0x36f2f9(0x12e)]>0x1)return _0x55969e(_0x33b785[0x0][0x0])<=_0x55969e(_0x33b785[0x1][0x0])?_0x33b785[0x0]:_0x33b785[0x1];return 0x1===_0x33b785[_0x36f2f9(0x12e)]?_0x33b785[0x0]:[_0x258612[_0x36f2f9(0x115)],_0x36f2f9(0x12c)];}[_0x22ef50(0x106)](_0x983315,_0xf8f7df){const _0x51a558=_0x22ef50;let _0x425a55=_0x983315[_0x51a558(0x13a)],_0x5f2fa8=null,_0x272755=!0x1;for(;_0x425a55;){if(_0x35faa0(_0x425a55)){if(this[_0x51a558(0x134)](_0x425a55)&&(_0x5f2fa8=_0x425a55),this[_0x51a558(0x120)](_0x425a55)&&_0xf8f7df&&!_0x272755){_0x272755=!0x0,_0x425a55=_0x425a55[_0x51a558(0x13a)];continue;}break;}const _0x2b271a=_0x53cf1d(_0x425a55,_0x51a558(0x124));if(_0x2b271a&&_0x51a558(0x110)!==_0x2b271a&&this[_0x51a558(0xfb)][_0x51a558(0xf9)](_0x2b271a)){_0x5f2fa8=_0x425a55;break;}_0x425a55=_0x425a55[_0x51a558(0x13a)];}return _0x5f2fa8;}[_0x22ef50(0x10f)](_0x31fc99,_0x1ed291){const _0x411c5d=_0x22ef50;let _0x1b38ff=_0x31fc99[_0x411c5d(0x121)],_0x2f9a0a=null,_0x3cdec7=!0x1;for(;_0x1b38ff;){if(_0x35faa0(_0x1b38ff)){if(this[_0x411c5d(0x134)](_0x1b38ff)&&(_0x2f9a0a=_0x1b38ff),this[_0x411c5d(0x120)](_0x1b38ff)&&_0x1ed291&&!_0x3cdec7){_0x3cdec7=!0x0,_0x1b38ff=_0x1b38ff[_0x411c5d(0x121)];continue;}break;}const _0x1d4a3a=_0x53cf1d(_0x1b38ff,_0x411c5d(0x124));if(_0x1d4a3a&&_0x411c5d(0x110)!==_0x1d4a3a&&this[_0x411c5d(0xfb)][_0x411c5d(0xf9)](_0x1d4a3a)){_0x2f9a0a=_0x1b38ff;break;}_0x1b38ff=_0x1b38ff[_0x411c5d(0x121)];}return _0x2f9a0a;}[_0x22ef50(0x109)](_0x5a7240){const _0x353705=_0x22ef50;_0x321d52(_0x5a7240)&&_0x56350a(_0x353705(0x124),null,_0x5a7240)[_0x353705(0x104)](_0x2271a8=>{const _0x14d88b=_0x353705;if(this[_0x14d88b(0x10e)](_0x2271a8)&&!this[_0x14d88b(0x13b)](_0x2271a8)){const _0x4cfef3=_0x53cf1d(_0x2271a8,_0x14d88b(0x124));_0x8e3e00(_0x2271a8,_0x14d88b(0x11c),_0x4cfef3),_0x8e3e00(_0x2271a8,_0x14d88b(0x124),null);}});}[_0x22ef50(0x123)](_0x3cbeb9){const _0x183237=_0x22ef50;if(!_0x3cbeb9)return null;if(_0x321d52(_0x3cbeb9))return _0x53cf1d(_0x3cbeb9,_0x183237(0x124));if(_0x35faa0(_0x3cbeb9)){const _0x101679=_0x28ff7f(_0x3cbeb9)[_0x183237(0x12b)](/removed[\s*-]data-id="([^"]+)"/);if(_0x101679&&_0x101679[0x1])return _0x101679[0x1];}return null;}[_0x22ef50(0x101)](_0xcd7828){const _0x4cf32c=_0x22ef50;if(_0x35faa0(_0xcd7828)){const _0x4480b5=_0x28ff7f(_0xcd7828)[_0x4cf32c(0x12b)](/removed[\s*-]data-id="([^"]+)"/);_0x4480b5&&_0x4480b5[0x1]&&this[_0x4cf32c(0x138)][_0x4cf32c(0x130)][_0x4cf32c(0x112)](_0x4480b5[0x1]);}}[_0x22ef50(0xfd)](_0x47cbc7){const _0x2e0626=_0x22ef50;return this[_0x2e0626(0x10e)](_0x47cbc7)?_0x53cf1d(_0x47cbc7,_0x2e0626(0x124)):this[_0x2e0626(0x10a)]();}[_0x22ef50(0xfe)](_0x306fd8){const _0x13623e=_0x22ef50;_0x1d0470(_0x306fd8)[_0x13623e(0x129)](_0xd31f87=>this[_0x13623e(0x134)](_0xd31f87)||this[_0x13623e(0x120)](_0xd31f87))[_0x13623e(0x104)](_0x85a16=>{_0x3f3842(_0x85a16);});}[_0x22ef50(0x139)](_0x263a40){const _0x2d27a8=_0x22ef50,_0x69abb9=_0x263a40[_0x2d27a8(0xf8)],_0x766022=_0x69abb9[_0x69abb9[_0x2d27a8(0x12e)]-0x1];_0x766022&&_0x321d52(_0x766022)&&_0x8e3e00(_0x766022,_0x2d27a8(0x116),_0x2d27a8(0x105));}[_0x22ef50(0x10c)](_0x1abce8,_0x926ba2){const _0x2ecca7=_0x22ef50,_0x61caec=_0x2e4a3c(_0x2ecca7(0x116),_0x2ecca7(0x105),_0x1abce8);if(!_0x61caec)return;const _0x3dae7c=_0x5c33c3(_0x61caec)[_0x2ecca7(0x132)](0x0,-0x1),_0x146020=_0x3dae7c[_0x2ecca7(0x12e)];let _0x24b8f3=_0x61caec;if(_0x146020>_0x926ba2){let _0x4b23a9=_0x146020,_0x4447eb=null;for(;_0x4b23a9>_0x926ba2&&_0x4b23a9>=0x0;)_0x4b23a9--,_0x4447eb=_0x3dae7c[_0x4b23a9];_0x4447eb&&(_0x24b8f3=_0x4447eb,_0x8e3e00(_0x61caec,_0x2ecca7(0x116),null),_0x8e3e00(_0x4447eb,_0x2ecca7(0x116),_0x2ecca7(0x105)));}else{if(_0x146020<_0x926ba2){let _0x3a7b40=_0x146020,_0x3685c7=_0x61caec;for(;_0x3a7b40<_0x926ba2;){const _0x1a803e=_0x3685c7[_0x2ecca7(0xf8)][_0x2ecca7(0x129)](_0x4aabfc=>_0x321d52(_0x4aabfc));if(0x0===_0x1a803e[_0x2ecca7(0x12e)])break;_0x3a7b40++,_0x3685c7=_0x1a803e[_0x1a803e[_0x2ecca7(0x12e)]-0x1];}_0x3685c7&&(_0x24b8f3=_0x3685c7,_0x8e3e00(_0x61caec,_0x2ecca7(0x116),null),_0x8e3e00(_0x3685c7,_0x2ecca7(0x116),_0x2ecca7(0x105)));}}let _0x14a676=_0x24b8f3;for(;_0x14a676;){for(;_0x14a676[_0x2ecca7(0x13a)];)_0x14a676=_0x14a676[_0x2ecca7(0x13a)],_0x321d52(_0x14a676)&&_0x8e3e00(_0x14a676,_0x2ecca7(0x116),_0x2ecca7(0x105));_0x14a676=_0x14a676[_0x2ecca7(0x136)];}}[_0x22ef50(0x12a)](_0x12f8c4){const _0x433443=_0x22ef50;return Boolean(_0x433443(0x110)===_0x53cf1d(_0x12f8c4,_0x433443(0x124)));}[_0x22ef50(0x10e)](_0xb7cdd7){const _0x2e8628=_0x22ef50;return Boolean((_0x53cf1d(_0xb7cdd7,_0x2e8628(0x124))||'')[_0x2e8628(0x12e)]>0x0&&_0x2e8628(0x110)!==_0x53cf1d(_0xb7cdd7,_0x2e8628(0x124)));}[_0x22ef50(0x134)](_0x198e90){const _0x563e36=_0x22ef50;return!!_0x198e90&&Boolean(_0x35faa0(_0x198e90)&&_0x28ff7f(_0x198e90)[_0x563e36(0x12b)](/removed[\s*-]data-id="[^"]+"/));}[_0x22ef50(0x13b)](_0x3a9685){const _0x3396a3=_0x22ef50;let _0x17263a=_0x3a9685[_0x3396a3(0x136)];for(;_0x17263a;){if(_0x53cf1d(_0x17263a,_0x3396a3(0x11c)))return!0x0;_0x17263a=_0x17263a[_0x3396a3(0x136)];}return!0x1;}[_0x22ef50(0x120)](_0x3d06cd){const _0x5eb9ee=_0x22ef50;return Boolean(_0x35faa0(_0x3d06cd)&&_0x28ff7f(_0x3d06cd)[_0x5eb9ee(0x12b)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30a571=_0x4adc;(function(_0x5de4f4,_0x2d0175){const _0x516677=_0x4adc,_0x49eff6=_0x5de4f4();while(!![]){try{const _0x313dd8=-parseInt(_0x516677(0xb3))/0x1+parseInt(_0x516677(0xb9))/0x2*(parseInt(_0x516677(0xbf))/0x3)+-parseInt(_0x516677(0xb1))/0x4*(-parseInt(_0x516677(0xbd))/0x5)+parseInt(_0x516677(0xba))/0x6*(parseInt(_0x516677(0xc2))/0x7)+parseInt(_0x516677(0xb0))/0x8+parseInt(_0x516677(0xc0))/0x9*(-parseInt(_0x516677(0xb6))/0xa)+-parseInt(_0x516677(0xbb))/0xb;if(_0x313dd8===_0x2d0175)break;else _0x49eff6['push'](_0x49eff6['shift']());}catch(_0x40dcb9){_0x49eff6['push'](_0x49eff6['shift']());}}}(_0x215a,0xc12b3));function _0x215a(){const _0x30f17b=['replace','922800uMWrJU','</dummy>','parseAndNormalizeHTML','30DqJVXx','convertMarkdownToHTML','parse','40198LJSgTv','6IFnQsu','14483766GIxqtw','children','5nPZbLk','<dummy>','126WxKsJp','276372pbPjUR','_parseHTML','1181418KEBExr','_m2html','11711816ezOywr','2583760Hrdwgl'];_0x215a=function(){return _0x30f17b;};return _0x215a();}import{ObservableMixin as _0x35f26f}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x5b8427}from'@ckeditor/ckeditor5-markdown-gfm';function _0x4adc(_0xbced53,_0x3b0d5f){const _0x215ac6=_0x215a();return _0x4adc=function(_0x4adc65,_0x2e1082){_0x4adc65=_0x4adc65-0xb0;let _0x3445fc=_0x215ac6[_0x4adc65];return _0x3445fc;},_0x4adc(_0xbced53,_0x3b0d5f);}import{parse as _0xba74e4}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x35f26f(){[_0x30a571(0xc3)];constructor(){const _0x3ecca8=_0x30a571;super(),this[_0x3ecca8(0xc3)]=new _0x5b8427();}[_0x30a571(0xb7)](_0x268d82){const _0x203125=_0x30a571,_0x929184=this[_0x203125(0xc3)][_0x203125(0xb8)](_0x268d82);return this[_0x203125(0xb5)](_0x929184);}[_0x30a571(0xb5)](_0x2136e7){const _0x3aa642=_0x30a571;return this[_0x3aa642(0xc1)](_0x2136e7);}[_0x30a571(0xc1)](_0x14cd39){const _0x56ea93=_0x30a571,_0x2caac2=_0x14cd39[_0x56ea93(0xb2)](/^\t+/gm,'\x20')[_0x56ea93(0xb2)](/\n*/g,'')[_0x56ea93(0xb2)](/\s+/g,'\x20')[_0x56ea93(0xb2)](/<[^>]*?$/g,''),_0x55355d=_0xba74e4(_0x56ea93(0xbe)+_0x2caac2+_0x56ea93(0xb4));return _0x55355d[_0x56ea93(0xbc)]=_0x55355d[_0x56ea93(0xbc)][0x0][_0x56ea93(0xbc)],_0x55355d;}}
23
+ const _0x35eda1=_0x2105;(function(_0x1c4df2,_0x52274f){const _0xc635e3=_0x2105,_0x53a291=_0x1c4df2();while(!![]){try{const _0x1af7a9=parseInt(_0xc635e3(0x104))/0x1+parseInt(_0xc635e3(0x107))/0x2*(parseInt(_0xc635e3(0x101))/0x3)+parseInt(_0xc635e3(0xf7))/0x4*(-parseInt(_0xc635e3(0xf8))/0x5)+-parseInt(_0xc635e3(0xfb))/0x6+parseInt(_0xc635e3(0xfa))/0x7*(-parseInt(_0xc635e3(0x100))/0x8)+-parseInt(_0xc635e3(0x106))/0x9*(parseInt(_0xc635e3(0xf9))/0xa)+-parseInt(_0xc635e3(0xfc))/0xb;if(_0x1af7a9===_0x52274f)break;else _0x53a291['push'](_0x53a291['shift']());}catch(_0x3bf6d8){_0x53a291['push'](_0x53a291['shift']());}}}(_0x47e2,0x55c69));import{ObservableMixin as _0x60e9d3}from'ckeditor5/src/utils.js';function _0x2105(_0x2d41e6,_0x6d0bd0){const _0x47e274=_0x47e2();return _0x2105=function(_0x210569,_0x231958){_0x210569=_0x210569-0xf4;let _0x5cf88e=_0x47e274[_0x210569];return _0x5cf88e;},_0x2105(_0x2d41e6,_0x6d0bd0);}function _0x47e2(){const _0x3e0cb6=['145ItNfRR','110zmFYoE','13839hEVdqf','827466LXtdqk','46189bYQvrs','parse','_m2html','_parseHTML','824GSeJRi','29583vPFlRZ','children','parseAndNormalizeHTML','407748MgGByN','<dummy>','193437oyVHCH','140wADpKg','convertMarkdownToHTML','replace','</dummy>','22692JGEaIt'];_0x47e2=function(){return _0x3e0cb6;};return _0x47e2();}import{MarkdownGfmMdToHtml as _0x33be7d}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x4cc181}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x60e9d3(){[_0x35eda1(0xfe)];constructor(){const _0x8ebe8f=_0x35eda1;super(),this[_0x8ebe8f(0xfe)]=new _0x33be7d();}[_0x35eda1(0xf4)](_0xcc0fec){const _0x9c9061=_0x35eda1,_0x2d4cc4=this[_0x9c9061(0xfe)][_0x9c9061(0xfd)](_0xcc0fec);return this[_0x9c9061(0x103)](_0x2d4cc4);}[_0x35eda1(0x103)](_0x28bd81){const _0x4e6934=_0x35eda1;return this[_0x4e6934(0xff)](_0x28bd81);}[_0x35eda1(0xff)](_0x2fc827){const _0x5424d6=_0x35eda1,_0x309690=_0x2fc827[_0x5424d6(0xf5)](/^\t+/gm,'\x20')[_0x5424d6(0xf5)](/\n*/g,'')[_0x5424d6(0xf5)](/\s+/g,'\x20')[_0x5424d6(0xf5)](/<[^>]*?$/g,''),_0x201de6=_0x4cc181(_0x5424d6(0x105)+_0x309690+_0x5424d6(0xf6));return _0x201de6[_0x5424d6(0x102)]=_0x201de6[_0x5424d6(0x102)][0x0][_0x5424d6(0x102)],_0x201de6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1f5fad,_0x2027b4){var _0x1c2bab=_0x3628,_0x496ff6=_0x1f5fad();while(!![]){try{var _0x1429a9=-parseInt(_0x1c2bab(0x12a))/0x1+-parseInt(_0x1c2bab(0x125))/0x2*(parseInt(_0x1c2bab(0x128))/0x3)+parseInt(_0x1c2bab(0x12c))/0x4*(-parseInt(_0x1c2bab(0x124))/0x5)+parseInt(_0x1c2bab(0x123))/0x6+parseInt(_0x1c2bab(0x129))/0x7*(-parseInt(_0x1c2bab(0x12b))/0x8)+parseInt(_0x1c2bab(0x120))/0x9+parseInt(_0x1c2bab(0x126))/0xa;if(_0x1429a9===_0x2027b4)break;else _0x496ff6['push'](_0x496ff6['shift']());}catch(_0x47fc18){_0x496ff6['push'](_0x496ff6['shift']());}}}(_0x1267,0xa95ce));import{View as _0x2df311}from'ckeditor5/src/ui.js';function _0x3628(_0xe3eea8,_0x4ce661){var _0x1267e8=_0x1267();return _0x3628=function(_0x362817,_0x1477d4){_0x362817=_0x362817-0x120;var _0x1a04a5=_0x1267e8[_0x362817];return _0x1a04a5;},_0x3628(_0xe3eea8,_0x4ce661);}import{getTranslation as _0x3a5733}from'../../aicore/utils/common-translations.js';function _0x1267(){var _0x32b7c7=['37872590tOlQbp','div','129vUzxlD','7GHXGTX','600131OgaGbS','2809984hDlWpQ','8cuJqmi','ck-ai-disclaimer__content','setTemplate','982260ztIOfj','AI_DISCLAIMER_TEXT','ck-ai-disclaimer','951252QWyKsp','3367015bKVYVY','49444gXfanU'];_0x1267=function(){return _0x32b7c7;};return _0x1267();}export class AIDisclaimerView extends _0x2df311{constructor(_0x17c68c){var _0x1539e5=_0x3628;super(_0x17c68c),this[_0x1539e5(0x12e)]({'tag':_0x1539e5(0x127),'attributes':{'class':['ck',_0x1539e5(0x122)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1539e5(0x12d)]},'children':[{'text':_0x3a5733(_0x17c68c,_0x1539e5(0x121))}]}]});}}
23
+ (function(_0x58d49b,_0xaeceae){var _0x4402fd=_0x1f93,_0x1d01cc=_0x58d49b();while(!![]){try{var _0x588ddf=parseInt(_0x4402fd(0x1c9))/0x1+-parseInt(_0x4402fd(0x1cd))/0x2*(parseInt(_0x4402fd(0x1c7))/0x3)+-parseInt(_0x4402fd(0x1ce))/0x4+-parseInt(_0x4402fd(0x1d2))/0x5+parseInt(_0x4402fd(0x1d1))/0x6+-parseInt(_0x4402fd(0x1ca))/0x7+parseInt(_0x4402fd(0x1c8))/0x8;if(_0x588ddf===_0xaeceae)break;else _0x1d01cc['push'](_0x1d01cc['shift']());}catch(_0x2f0c0d){_0x1d01cc['push'](_0x1d01cc['shift']());}}}(_0x1394,0x6c754));function _0x1f93(_0x106b2d,_0x293044){var _0x13941c=_0x1394();return _0x1f93=function(_0x1f93b9,_0x66df){_0x1f93b9=_0x1f93b9-0x1c6;var _0x43e11a=_0x13941c[_0x1f93b9];return _0x43e11a;},_0x1f93(_0x106b2d,_0x293044);}import{View as _0x27f675}from'ckeditor5/src/ui.js';function _0x1394(){var _0x291e51=['342216EUJjWr','ck-ai-disclaimer','setTemplate','3824916rUqAdP','3515885ehjjIP','ck-ai-disclaimer__content','3FhxeKp','3388904HKqXAQ','409512SBSMSm','1620829Nywmdw','AI_DISCLAIMER_TEXT','div','12178qTzRha'];_0x1394=function(){return _0x291e51;};return _0x1394();}import{getTranslation as _0x3875d0}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x27f675{constructor(_0x5eafe1){var _0x5bcab9=_0x1f93;super(_0x5eafe1),this[_0x5bcab9(0x1d0)]({'tag':_0x5bcab9(0x1cc),'attributes':{'class':['ck',_0x5bcab9(0x1cf)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5bcab9(0x1c6)]},'children':[{'text':_0x3875d0(_0x5eafe1,_0x5bcab9(0x1cb))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x381f3c=_0x40d9;function _0x40d9(_0xb1f41,_0x2387a5){const _0x535b79=_0x535b();return _0x40d9=function(_0x40d976,_0x406cfd){_0x40d976=_0x40d976-0x138;let _0x3114e2=_0x535b79[_0x40d976];return _0x3114e2;},_0x40d9(_0xb1f41,_0x2387a5);}(function(_0x35ca2e,_0x465626){const _0x16382d=_0x40d9,_0x16df56=_0x35ca2e();while(!![]){try{const _0x503bc3=-parseInt(_0x16382d(0x14e))/0x1+-parseInt(_0x16382d(0x138))/0x2+-parseInt(_0x16382d(0x145))/0x3+-parseInt(_0x16382d(0x157))/0x4+-parseInt(_0x16382d(0x15c))/0x5+-parseInt(_0x16382d(0x143))/0x6*(parseInt(_0x16382d(0x15d))/0x7)+parseInt(_0x16382d(0x156))/0x8*(parseInt(_0x16382d(0x15b))/0x9);if(_0x503bc3===_0x465626)break;else _0x16df56['push'](_0x16df56['shift']());}catch(_0x5b8aa4){_0x16df56['push'](_0x16df56['shift']());}}}(_0x535b,0xaa68b));import{View as _0x9f3dab}from'ckeditor5/src/ui.js';function _0x535b(){const _0x4999d0=['right','1845966XNJbbs','128px','center','24px','44px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','250px','width:\x20','map','attributes','height','36RtWrVu','width','1632942JPBJVT','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','div','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','72px','setTemplate','left','ck-ai-skeleton','_createSkeletonItems','370464EKpCRs','class','88px','tag',';\x20height:\x20','align','fill','ck-ai-skeleton__item','3272OxyrOp','4133816cjpxJh','100%','140px','40px','121887QbukFh','5373265YcwZCV','1044428GqeAAt','150px'];_0x535b=function(){return _0x4999d0;};return _0x535b();}export class AISkeletonView extends _0x9f3dab{constructor(_0xdf52ad,_0x4f38ed){const _0x35e1d2=_0x40d9;super(_0xdf52ad),this[_0x35e1d2(0x14a)]({'tag':_0x35e1d2(0x147),'attributes':{'class':['ck',_0x35e1d2(0x14c)]},'children':this[_0x35e1d2(0x14d)](_0x4f38ed)});}[_0x381f3c(0x14d)](_0x27ecbe){const _0x2c7c8b=_0x381f3c,_0x57f740=['ck',_0x2c7c8b(0x155)];return _0x27ecbe[_0x2c7c8b(0x140)](_0x4d281e=>{const _0x191346=_0x2c7c8b;let _0x3db660='';switch(_0x4d281e[_0x191346(0x141)][_0x191346(0x153)]){case _0x191346(0x15f):_0x3db660=_0x191346(0x146);break;case _0x191346(0x13a):_0x3db660=_0x191346(0x148);break;case _0x191346(0x14b):_0x3db660=_0x191346(0x13d);}return{'tag':_0x4d281e[_0x191346(0x151)],'attributes':{'class':[..._0x57f740,_0x4d281e[_0x191346(0x141)][_0x191346(0x14f)]?_0x4d281e[_0x191346(0x141)][_0x191346(0x14f)]:''],'style':_0x191346(0x13f)+_0x4d281e[_0x191346(0x141)][_0x191346(0x144)]+_0x191346(0x152)+_0x4d281e[_0x191346(0x141)][_0x191346(0x142)]+';'+_0x3db660}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x149),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x13e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x150),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x15e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x159),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x13e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x150),'align':_0x381f3c(0x15f)}}],'aiHistory':$i(0x5,_0x381f3c(0x158),_0x381f3c(0x13c),_0x381f3c(0x15f)),'aiChatResources':$i(0x8,_0x381f3c(0x158),_0x381f3c(0x13b),_0x381f3c(0x15f)),'aiReviewChecks':[{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x139),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x139),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}}]};function $i(_0x319475,_0x35d392,_0x194fe6,_0x35d515){const _0x3135c9=_0x381f3c;return new Array(_0x319475)[_0x3135c9(0x154)](null)[_0x3135c9(0x140)](()=>({'tag':_0x3135c9(0x147),'attributes':{'width':_0x35d392,'height':_0x194fe6,'align':_0x35d515}}));}
23
+ const _0x4833d9=_0x4499;function _0x4499(_0x186773,_0x15ca2a){const _0x3e38b4=_0x3e38();return _0x4499=function(_0x449983,_0x545932){_0x449983=_0x449983-0xcc;let _0x5c8632=_0x3e38b4[_0x449983];return _0x5c8632;},_0x4499(_0x186773,_0x15ca2a);}function _0x3e38(){const _0x5e562c=['margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','width:\x20','2093376xoAmAL','228989PHvTHg','height','map','44px','ck-ai-skeleton','class','28InCJME','attributes','2697144YWvGQS','100%','width','left','12894606xNUgur','ck-ai-skeleton__item','672544ZZfRXo','right','24px','7901106MkPppZ',';\x20height:\x20','88px','div','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','tag','_createSkeletonItems','250px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','140px','center','setTemplate','align','40px','fill','150px','72px','6dHYLKc','2335560Mxysnz','128px'];_0x3e38=function(){return _0x5e562c;};return _0x3e38();}(function(_0x12594f,_0xd8b636){const _0x28f6a5=_0x4499,_0x218a22=_0x12594f();while(!![]){try{const _0x1b1e80=parseInt(_0x28f6a5(0xf0))/0x1+parseInt(_0x28f6a5(0xd0))/0x2+-parseInt(_0x28f6a5(0xea))/0x3*(-parseInt(_0x28f6a5(0xef))/0x4)+parseInt(_0x28f6a5(0xeb))/0x5+-parseInt(_0x28f6a5(0xd9))/0x6+-parseInt(_0x28f6a5(0xce))/0x7*(-parseInt(_0x28f6a5(0xd6))/0x8)+-parseInt(_0x28f6a5(0xd4))/0x9;if(_0x1b1e80===_0xd8b636)break;else _0x218a22['push'](_0x218a22['shift']());}catch(_0x517391){_0x218a22['push'](_0x218a22['shift']());}}}(_0x3e38,0xa58a0));import{View as _0x5d84ca}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x5d84ca{constructor(_0x2843e5,_0x17917c){const _0x48cbde=_0x4499;super(_0x2843e5),this[_0x48cbde(0xe4)]({'tag':_0x48cbde(0xdc),'attributes':{'class':['ck',_0x48cbde(0xcc)]},'children':this[_0x48cbde(0xdf)](_0x17917c)});}[_0x4833d9(0xdf)](_0x3673a4){const _0x60ad3=_0x4833d9,_0x5299e1=['ck',_0x60ad3(0xd5)];return _0x3673a4[_0x60ad3(0xf2)](_0x460970=>{const _0x12edbd=_0x60ad3;let _0xf88c1='';switch(_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xe5)]){case _0x12edbd(0xd7):_0xf88c1=_0x12edbd(0xdd);break;case _0x12edbd(0xe3):_0xf88c1=_0x12edbd(0xe1);break;case _0x12edbd(0xd3):_0xf88c1=_0x12edbd(0xed);}return{'tag':_0x460970[_0x12edbd(0xde)],'attributes':{'class':[..._0x5299e1,_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xcd)]?_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xcd)]:''],'style':_0x12edbd(0xee)+_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xd2)]+_0x12edbd(0xda)+_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xf1)]+';'+_0xf88c1}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xe9),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe0),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xdb),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe8),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xe2),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe0),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xdb),'align':_0x4833d9(0xd7)}}],'aiHistory':$i(0x5,_0x4833d9(0xd1),_0x4833d9(0xf3),_0x4833d9(0xd7)),'aiChatResources':$i(0x8,_0x4833d9(0xd1),_0x4833d9(0xd8),_0x4833d9(0xd7)),'aiReviewChecks':[{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xec),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xec),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}}]};function $i(_0x40b42f,_0x76ebfd,_0x39b936,_0x8787e2){const _0x5b9345=_0x4833d9;return new Array(_0x40b42f)[_0x5b9345(0xe7)](null)[_0x5b9345(0xf2)](()=>({'tag':_0x5b9345(0xdc),'attributes':{'width':_0x76ebfd,'height':_0x39b936,'align':_0x8787e2}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x325e(_0x567638,_0x432577){const _0x5d3de3=_0x5d3d();return _0x325e=function(_0x325ec6,_0x20854b){_0x325ec6=_0x325ec6-0x184;let _0x102172=_0x5d3de3[_0x325ec6];return _0x102172;},_0x325e(_0x567638,_0x432577);}(function(_0x4e10d7,_0x23cdf5){const _0x4449bf=_0x325e,_0xe09344=_0x4e10d7();while(!![]){try{const _0x44e360=parseInt(_0x4449bf(0x188))/0x1+-parseInt(_0x4449bf(0x184))/0x2*(-parseInt(_0x4449bf(0x18a))/0x3)+-parseInt(_0x4449bf(0x191))/0x4*(parseInt(_0x4449bf(0x190))/0x5)+-parseInt(_0x4449bf(0x186))/0x6*(-parseInt(_0x4449bf(0x194))/0x7)+parseInt(_0x4449bf(0x187))/0x8*(parseInt(_0x4449bf(0x185))/0x9)+-parseInt(_0x4449bf(0x18b))/0xa*(parseInt(_0x4449bf(0x193))/0xb)+-parseInt(_0x4449bf(0x18c))/0xc*(parseInt(_0x4449bf(0x18d))/0xd);if(_0x44e360===_0x23cdf5)break;else _0xe09344['push'](_0xe09344['shift']());}catch(_0x71bcef){_0xe09344['push'](_0xe09344['shift']());}}}(_0x5d3d,0xccabb));import{SpinnerView as _0x6e53d8}from'ckeditor5/src/ui.js';function _0x5d3d(){const _0x1fdf95=['span','317999cejEnp','7LwZgmt','1808HWGcZe','1127286eIBRFW','2768088jpcJwm','104dOgepI','498881iMwOig','ck-ai-spinner','4638arTvWd','250dCssdo','24776268WuoPPd','13OcSyso','ck-ai-spinner_','extendTemplate','360370OLmlPr','20axVrVr'];_0x5d3d=function(){return _0x1fdf95;};return _0x5d3d();}export class AISpinnerView extends _0x6e53d8{constructor(_0x1190b0=void 0x0){const _0x3c64b0=_0x325e;super();const _0x1385c6=_0x1190b0?_0x3c64b0(0x18e)+_0x1190b0:'';this[_0x3c64b0(0x18f)]({'tag':_0x3c64b0(0x192),'attributes':{'class':[_0x3c64b0(0x189),_0x1385c6]}});}}
23
+ function _0x17c2(){const _0x108ac2=['555496TEgUBs','28311xFjXFD','extendTemplate','ck-ai-spinner_','637865Ceeles','11aUXlgG','5336230wdSrZU','28eAAoRV','9jScmmA','1083774mAhxrt','ck-ai-spinner','7vlammY','span','126530eotXQk','829052fCHjao'];_0x17c2=function(){return _0x108ac2;};return _0x17c2();}function _0x2f97(_0x7c64ed,_0x341140){const _0x17c2f6=_0x17c2();return _0x2f97=function(_0x2f977a,_0x5e81bf){_0x2f977a=_0x2f977a-0x104;let _0x1d1ee7=_0x17c2f6[_0x2f977a];return _0x1d1ee7;},_0x2f97(_0x7c64ed,_0x341140);}(function(_0x467d14,_0x1b2f1f){const _0x48ff51=_0x2f97,_0x240884=_0x467d14();while(!![]){try{const _0x18fc5d=parseInt(_0x48ff51(0x104))/0x1+parseInt(_0x48ff51(0x10d))/0x2*(parseInt(_0x48ff51(0x107))/0x3)+parseInt(_0x48ff51(0x105))/0x4+parseInt(_0x48ff51(0x10a))/0x5+-parseInt(_0x48ff51(0x10f))/0x6*(-parseInt(_0x48ff51(0x111))/0x7)+parseInt(_0x48ff51(0x106))/0x8*(parseInt(_0x48ff51(0x10e))/0x9)+-parseInt(_0x48ff51(0x10c))/0xa*(parseInt(_0x48ff51(0x10b))/0xb);if(_0x18fc5d===_0x1b2f1f)break;else _0x240884['push'](_0x240884['shift']());}catch(_0x5cbcc7){_0x240884['push'](_0x240884['shift']());}}}(_0x17c2,0x4baa7));import{SpinnerView as _0x3a4fd6}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x3a4fd6{constructor(_0x5beecb=void 0x0){const _0x44b65b=_0x2f97;super();const _0x4f0d33=_0x5beecb?_0x44b65b(0x109)+_0x5beecb:'';this[_0x44b65b(0x108)]({'tag':_0x44b65b(0x112),'attributes':{'class':[_0x44b65b(0x110),_0x4f0d33]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd0b5ad=_0x1451;(function(_0xf52fef,_0x300b47){const _0x1e7498=_0x1451,_0x1a0358=_0xf52fef();while(!![]){try{const _0x2b6c65=parseInt(_0x1e7498(0x180))/0x1+parseInt(_0x1e7498(0x165))/0x2+parseInt(_0x1e7498(0x162))/0x3+parseInt(_0x1e7498(0x186))/0x4*(parseInt(_0x1e7498(0x185))/0x5)+-parseInt(_0x1e7498(0x164))/0x6+parseInt(_0x1e7498(0x15d))/0x7+-parseInt(_0x1e7498(0x167))/0x8*(parseInt(_0x1e7498(0x182))/0x9);if(_0x2b6c65===_0x300b47)break;else _0x1a0358['push'](_0x1a0358['shift']());}catch(_0x55027f){_0x1a0358['push'](_0x1a0358['shift']());}}}(_0x299c,0x7a0b5));function _0x299c(){const _0x3746c9=['ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupCopyButton','ck-ai-mini-toolbar','_setupShowChangesButton','length','dislike','554886tTWsLt','full','162315kbgpmr','dislikeButton','execute','3490510rLiioz','4MdpDXv','customView','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_LIKE','showChangesButton','likeButton','children','showCopy','copyButton','6454217qZVqoA','showLike','ck-ai-mini-toolbar-copy-button','toggleShowChanges','items','2939559jgqWaf','isOn','4984746rWrfCY','1221074wXMfVS','set','1080JsrsGr','add','AI_MINI_TOOLBAR_COPY','like','_config','fire','isLoading','class','AI_SUGGESTION_BUTTON_SHOW_CHANGES','locale','extendTemplate','addMany','bind','showDislike','showChanges','_setupRatingButtons'];_0x299c=function(){return _0x3746c9;};return _0x299c();}import{ButtonView as _0x5de937,IconView as _0x515123,ToolbarView as _0x4b6b47}from'ckeditor5/src/ui.js';import{IconCheck as _0x2c5f65,IconCopy as _0x8e6cc8,IconShowChangesOff as _0x3f80b9,IconShowChangesOn as _0x27655d,IconThumbDown as _0xf743b5,IconThumbUp as _0x54f007}from'@ckeditor/ckeditor5-icons';function _0x1451(_0x4bff10,_0x5cbcee){const _0x299ce5=_0x299c();return _0x1451=function(_0x14510f,_0x40ca37){_0x14510f=_0x14510f-0x15d;let _0x2f5d4a=_0x299ce5[_0x14510f];return _0x2f5d4a;},_0x1451(_0x4bff10,_0x5cbcee);}import{getTranslation as _0x2c102d}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x4b6b47{[_0xd0b5ad(0x18e)];[_0xd0b5ad(0x18b)];[_0xd0b5ad(0x183)];[_0xd0b5ad(0x18a)];[_0xd0b5ad(0x16b)];constructor(_0x740284,_0x371bbc={},_0x10a9ba){const _0x1fb0ce=_0xd0b5ad;super(_0x740284),this[_0x1fb0ce(0x166)](_0x1fb0ce(0x16d),!0x1),this[_0x1fb0ce(0x16b)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x371bbc};const _0x4ac04b=!(this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]?.[_0x1fb0ce(0x17e)]);this[_0x1fb0ce(0x16e)]=_0x4ac04b?_0x1fb0ce(0x179):_0x1fb0ce(0x17c),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]&&(this[_0x1fb0ce(0x17b)](),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18e)])),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]&&(this[_0x1fb0ce(0x17d)](_0x10a9ba),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18a)])),this[_0x1fb0ce(0x176)](),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18b)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x183)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x172)](this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]);}[_0xd0b5ad(0x176)](){const _0x148512=_0xd0b5ad;this[_0x148512(0x18b)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x18b)][_0x148512(0x166)]({'icon':_0x54f007,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x189)),'tooltip':!0x0}),this[_0x148512(0x18b)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x4786d0=>!_0x4786d0),this[_0x148512(0x18b)]['on'](_0x148512(0x184),()=>{const _0x598653=_0x148512;this[_0x598653(0x16c)](_0x598653(0x16a));}),this[_0x148512(0x183)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x183)][_0x148512(0x166)]({'icon':_0xf743b5,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x188)),'tooltip':!0x0}),this[_0x148512(0x183)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x2b35f1=>!_0x2b35f1),this[_0x148512(0x183)]['on'](_0x148512(0x184),()=>{const _0x3d18ca=_0x148512;this[_0x3d18ca(0x16c)](_0x3d18ca(0x17f));});}[_0xd0b5ad(0x17b)](){const _0x4f5dc1=_0xd0b5ad;this[_0x4f5dc1(0x18e)]=new _0x5de937(this[_0x4f5dc1(0x170)]),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x166)]({'icon':_0x8e6cc8,'label':_0x2c102d(this[_0x4f5dc1(0x170)],_0x4f5dc1(0x169)),'class':_0x4f5dc1(0x15f),'tooltip':!0x0}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x173)](_0x4f5dc1(0x178))['to'](this,_0x4f5dc1(0x16d),_0x19f2f8=>!_0x19f2f8);const _0x4c2514=new _0x515123();_0x4c2514[_0x4f5dc1(0x166)]({'content':_0x2c5f65}),_0x4c2514[_0x4f5dc1(0x171)]({'attributes':{'class':[_0x4f5dc1(0x177)]}}),this[_0x4f5dc1(0x18e)]['on'](_0x4f5dc1(0x184),()=>{const _0x32dbc3=_0x4f5dc1;this[_0x32dbc3(0x18e)][_0x32dbc3(0x16e)]=_0x32dbc3(0x17a),setTimeout(()=>{const _0x46ea59=_0x32dbc3;this[_0x46ea59(0x18e)][_0x46ea59(0x16e)]=_0x46ea59(0x15f);},0x7d0);}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x18c)][_0x4f5dc1(0x168)](_0x4c2514);}[_0xd0b5ad(0x17d)](_0x3be995){const _0x48372e=_0xd0b5ad;this[_0x48372e(0x18a)]=new _0x5de937(this[_0x48372e(0x170)]),this[_0x48372e(0x18a)][_0x48372e(0x166)]({'icon':_0x3f80b9,'label':_0x2c102d(this[_0x48372e(0x170)],_0x48372e(0x16f)),'withText':_0x48372e(0x181)==this[_0x48372e(0x16b)][_0x48372e(0x175)],'tooltip':_0x48372e(0x181)!=this[_0x48372e(0x16b)][_0x48372e(0x175)],'isOn':_0x3be995}),this[_0x48372e(0x18a)][_0x48372e(0x173)](_0x48372e(0x178))['to'](this,_0x48372e(0x16d),_0x4199bf=>!_0x4199bf),this[_0x48372e(0x18a)]['on'](_0x48372e(0x184),()=>{const _0x3842ba=_0x48372e,_0x592a73=!this[_0x3842ba(0x18a)][_0x3842ba(0x163)];this[_0x3842ba(0x18a)][_0x3842ba(0x166)]({'isOn':_0x592a73,'icon':_0x592a73?_0x27655d:_0x3f80b9}),this[_0x3842ba(0x16c)](_0x3842ba(0x160),_0x592a73);});}}
23
+ const _0x29fb22=_0x7664;function _0x4f7b(){const _0x38e183=['extendTemplate','ck-ai-mini-toolbar-copy-button','children','showChanges','bind','_setupShowChangesButton','74vgNbQV','24432792VaikKp','ck-ai-mini-toolbar-copy-button__check-mark','_config','isOn','like','dislikeButton','length','execute','showChangesButton','add','class','22IWJZch','AI_SUGGESTION_BUTTON_SHOW_CHANGES','likeButton','15099dYWXjc','AI_MINI_TOOLBAR_COPY','toggleShowChanges','copyButton','ck-ai-mini-toolbar\x20ck-hidden','customView','4802680txnkGT','locale','dislike','showLike','showDislike','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','isLoading','fire','full','isEnabled','showCopy','1716085bqYTdv','41468WCkZIr','_setupRatingButtons','ck-ai-mini-toolbar','_setupCopyButton','addMany','16983rDJONU','set','AI_MINI_TOOLBAR_DISLIKE','items','216UMDhfg','4821892RayOuY','3LOoZVk','3460zVyNsn','AI_MINI_TOOLBAR_LIKE'];_0x4f7b=function(){return _0x38e183;};return _0x4f7b();}function _0x7664(_0x3008b7,_0x2226d5){const _0x4f7bf0=_0x4f7b();return _0x7664=function(_0x766475,_0x418817){_0x766475=_0x766475-0x1ec;let _0x1c06fc=_0x4f7bf0[_0x766475];return _0x1c06fc;},_0x7664(_0x3008b7,_0x2226d5);}(function(_0x2b2f34,_0x262cf7){const _0xc7854a=_0x7664,_0x87e97a=_0x2b2f34();while(!![]){try{const _0x54ce83=-parseInt(_0xc7854a(0x1f7))/0x1*(parseInt(_0xc7854a(0x218))/0x2)+-parseInt(_0xc7854a(0x1ee))/0x3*(parseInt(_0xc7854a(0x1ed))/0x4)+-parseInt(_0xc7854a(0x217))/0x5+-parseInt(_0xc7854a(0x1ec))/0x6*(parseInt(_0xc7854a(0x206))/0x7)+-parseInt(_0xc7854a(0x20c))/0x8+parseInt(_0xc7854a(0x21d))/0x9*(parseInt(_0xc7854a(0x1ef))/0xa)+parseInt(_0xc7854a(0x203))/0xb*(parseInt(_0xc7854a(0x1f8))/0xc);if(_0x54ce83===_0x262cf7)break;else _0x87e97a['push'](_0x87e97a['shift']());}catch(_0x153ddd){_0x87e97a['push'](_0x87e97a['shift']());}}}(_0x4f7b,0xeb5c9));import{ButtonView as _0x23a8ac,IconView as _0xe3d944,ToolbarView as _0x5bd113}from'ckeditor5/src/ui.js';import{IconCheck as _0x1b30a3,IconCopy as _0x1b6b3a,IconShowChangesOff as _0x6ef0d,IconShowChangesOn as _0x2d969d,IconThumbDown as _0xed382e,IconThumbUp as _0x52d3ad}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x485f06}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x5bd113{[_0x29fb22(0x209)];[_0x29fb22(0x205)];[_0x29fb22(0x1fd)];[_0x29fb22(0x200)];[_0x29fb22(0x1fa)];constructor(_0x5c282c,_0x14dd5a={},_0x23f9c1){const _0x2fade1=_0x29fb22;super(_0x5c282c),this[_0x2fade1(0x21e)](_0x2fade1(0x212),!0x1),this[_0x2fade1(0x1fa)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x14dd5a};const _0x58c5b5=!(this[_0x2fade1(0x1fa)][_0x2fade1(0x216)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x1f4)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x20f)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x210)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]?.[_0x2fade1(0x1fe)]);this[_0x2fade1(0x202)]=_0x58c5b5?_0x2fade1(0x20a):_0x2fade1(0x21a),this[_0x2fade1(0x1fa)][_0x2fade1(0x216)]&&(this[_0x2fade1(0x21b)](),this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x209)])),this[_0x2fade1(0x1fa)][_0x2fade1(0x1f4)]&&(this[_0x2fade1(0x1f6)](_0x23f9c1),this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x200)])),this[_0x2fade1(0x219)](),this[_0x2fade1(0x1fa)][_0x2fade1(0x20f)]&&this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x205)]),this[_0x2fade1(0x1fa)][_0x2fade1(0x210)]&&this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x1fd)]),this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]&&this[_0x2fade1(0x220)][_0x2fade1(0x21c)](this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]);}[_0x29fb22(0x219)](){const _0x453775=_0x29fb22;this[_0x453775(0x205)]=new _0x23a8ac(this[_0x453775(0x20d)]),this[_0x453775(0x205)][_0x453775(0x21e)]({'icon':_0x52d3ad,'label':_0x485f06(this[_0x453775(0x20d)],_0x453775(0x1f0)),'tooltip':!0x0}),this[_0x453775(0x205)][_0x453775(0x1f5)](_0x453775(0x215))['to'](this,_0x453775(0x212),_0x4a57f1=>!_0x4a57f1),this[_0x453775(0x205)]['on'](_0x453775(0x1ff),()=>{const _0x1ddf74=_0x453775;this[_0x1ddf74(0x213)](_0x1ddf74(0x1fc));}),this[_0x453775(0x1fd)]=new _0x23a8ac(this[_0x453775(0x20d)]),this[_0x453775(0x1fd)][_0x453775(0x21e)]({'icon':_0xed382e,'label':_0x485f06(this[_0x453775(0x20d)],_0x453775(0x21f)),'tooltip':!0x0}),this[_0x453775(0x1fd)][_0x453775(0x1f5)](_0x453775(0x215))['to'](this,_0x453775(0x212),_0x321ac0=>!_0x321ac0),this[_0x453775(0x1fd)]['on'](_0x453775(0x1ff),()=>{const _0x54eeb0=_0x453775;this[_0x54eeb0(0x213)](_0x54eeb0(0x20e));});}[_0x29fb22(0x21b)](){const _0x3cbc4b=_0x29fb22;this[_0x3cbc4b(0x209)]=new _0x23a8ac(this[_0x3cbc4b(0x20d)]),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x21e)]({'icon':_0x1b6b3a,'label':_0x485f06(this[_0x3cbc4b(0x20d)],_0x3cbc4b(0x207)),'class':_0x3cbc4b(0x1f2),'tooltip':!0x0}),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x1f5)](_0x3cbc4b(0x215))['to'](this,_0x3cbc4b(0x212),_0x1c0ff9=>!_0x1c0ff9);const _0x4611dc=new _0xe3d944();_0x4611dc[_0x3cbc4b(0x21e)]({'content':_0x1b30a3}),_0x4611dc[_0x3cbc4b(0x1f1)]({'attributes':{'class':[_0x3cbc4b(0x1f9)]}}),this[_0x3cbc4b(0x209)]['on'](_0x3cbc4b(0x1ff),()=>{const _0x248e1f=_0x3cbc4b;this[_0x248e1f(0x209)][_0x248e1f(0x202)]=_0x248e1f(0x211),setTimeout(()=>{const _0x404e8c=_0x248e1f;this[_0x404e8c(0x209)][_0x404e8c(0x202)]=_0x404e8c(0x1f2);},0x7d0);}),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x1f3)][_0x3cbc4b(0x201)](_0x4611dc);}[_0x29fb22(0x1f6)](_0x2461ea){const _0x535d7a=_0x29fb22;this[_0x535d7a(0x200)]=new _0x23a8ac(this[_0x535d7a(0x20d)]),this[_0x535d7a(0x200)][_0x535d7a(0x21e)]({'icon':_0x6ef0d,'label':_0x485f06(this[_0x535d7a(0x20d)],_0x535d7a(0x204)),'withText':_0x535d7a(0x214)==this[_0x535d7a(0x1fa)][_0x535d7a(0x1f4)],'tooltip':_0x535d7a(0x214)!=this[_0x535d7a(0x1fa)][_0x535d7a(0x1f4)],'isOn':_0x2461ea}),this[_0x535d7a(0x200)][_0x535d7a(0x1f5)](_0x535d7a(0x215))['to'](this,_0x535d7a(0x212),_0x4d7bba=>!_0x4d7bba),this[_0x535d7a(0x200)]['on'](_0x535d7a(0x1ff),()=>{const _0x147fc4=_0x535d7a,_0x4a697b=!this[_0x147fc4(0x200)][_0x147fc4(0x1fb)];this[_0x147fc4(0x200)][_0x147fc4(0x21e)]({'isOn':_0x4a697b,'icon':_0x4a697b?_0x2d969d:_0x6ef0d}),this[_0x147fc4(0x213)](_0x147fc4(0x208),_0x4a697b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12cbb9=_0x497c;(function(_0x2d52b1,_0x3c6459){const _0x434e4a=_0x497c,_0x52efb5=_0x2d52b1();while(!![]){try{const _0x3d20ae=parseInt(_0x434e4a(0x18e))/0x1*(parseInt(_0x434e4a(0x1b5))/0x2)+-parseInt(_0x434e4a(0x1c0))/0x3+parseInt(_0x434e4a(0x192))/0x4+-parseInt(_0x434e4a(0x1be))/0x5*(parseInt(_0x434e4a(0x190))/0x6)+parseInt(_0x434e4a(0x1b1))/0x7+-parseInt(_0x434e4a(0x195))/0x8*(-parseInt(_0x434e4a(0x1b6))/0x9)+parseInt(_0x434e4a(0x18c))/0xa*(-parseInt(_0x434e4a(0x1a9))/0xb);if(_0x3d20ae===_0x3c6459)break;else _0x52efb5['push'](_0x52efb5['shift']());}catch(_0x2fd581){_0x52efb5['push'](_0x52efb5['shift']());}}}(_0x2a67,0xa7526));import{View as _0x570931}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x55b3ee}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x41f341}from'../../utils/eventnames.js';import{PromiseQueue as _0x1df808}from'../../../aichat/utils/promisequeue.js';function _0x2a67(){const _0x2b6061=['set','hasPendingParts','markAsDone','div','first','hasNonEmptyParts','warning','updateContentParts','_children','index','isVisible','143DcvGor','state','from','ck-ai-suggestion__body','getPartView','delegate','queueEmptyPromise','_updateContentPartsPromiseQueue','721679wtufms','AI_SUGGESTION_NO_PARTS_WARNING','hasChanges','_showUnchangedParts','57504AveXcx','151407gNAUUt','enqueue','toggleHeader','some','pending','locale','get','partsCount','231760NGhYuz','ck-ai-suggestion__body__content-parts','1317981LYkyrG','find','updateContent','117460BOVdgS','setTemplate','41sxsGKl','empty-parts-warning','162rsWfpB','add','613820lmXUwr','createCollection','partDefinition','520sjttQl','updatePartState','addEventListener','_areActionsDisabled','setContent','abort','_emptyPartsWarningView','length','AI_SUGGESTION_EMPTY_PART_WARNING'];_0x2a67=function(){return _0x2b6061;};return _0x2a67();}function _0x497c(_0x1aa077,_0x96d3eb){const _0x2a6726=_0x2a67();return _0x497c=function(_0x497c5b,_0x51095a){_0x497c5b=_0x497c5b-0x18b;let _0x50f1aa=_0x2a6726[_0x497c5b];return _0x50f1aa;},_0x497c(_0x1aa077,_0x96d3eb);}import{AIChatFeedErrorItemView as _0x800cfc}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5135d2}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x570931{[_0x12cbb9(0x1a6)];[_0x12cbb9(0x198)];[_0x12cbb9(0x1b4)];[_0x12cbb9(0x1b0)];[_0x12cbb9(0x19b)];constructor(_0x434896,{areActionsDisabled:_0x4e8268,showUnchangedParts:_0x157bc7}){const _0x5b2a64=_0x12cbb9;super(_0x434896),this[_0x5b2a64(0x198)]=_0x4e8268,this[_0x5b2a64(0x1b4)]=_0x157bc7,this[_0x5b2a64(0x19e)](_0x5b2a64(0x19f),!0x1),this[_0x5b2a64(0x1a6)]=this[_0x5b2a64(0x193)](),this[_0x5b2a64(0x1b0)]=new _0x1df808(),this[_0x5b2a64(0x19b)]=new _0x800cfc({'id':_0x5b2a64(0x18f),'initialContent':_0x5135d2(_0x434896,_0x5b2a64(0x19d)),'level':_0x5b2a64(0x1a4)}),this[_0x5b2a64(0x19b)][_0x5b2a64(0x1a8)]=!0x1,this[_0x5b2a64(0x18d)]({'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1ac)]},'children':[{'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1bf)]},'children':this[_0x5b2a64(0x1a6)]},this[_0x5b2a64(0x19b)]]});}get[_0x12cbb9(0x1bd)](){const _0x53df4c=_0x12cbb9;return this[_0x53df4c(0x1a6)][_0x53df4c(0x19c)];}async[_0x12cbb9(0x1a5)]({parts:_0x2c0a34,renderingStrategy:_0x37a136,abortSignal:_0x3a0e5f}){const _0x446bd2=_0x12cbb9;for(const _0x31a011 of _0x2c0a34)this[_0x446bd2(0x1b0)][_0x446bd2(0x1b7)](async _0x215217=>{const _0x3d2cf6=_0x446bd2;let _0x19b831=this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1c1)](_0x4dcb03=>_0x4dcb03[_0x3d2cf6(0x194)][_0x3d2cf6(0x1a7)]==_0x31a011[_0x3d2cf6(0x1a7)]);_0x19b831||(_0x19b831=new _0x55b3ee(this[_0x3d2cf6(0x1bb)],{'part':_0x31a011,'areActionsDisabled':this[_0x3d2cf6(0x198)]}),_0x19b831[_0x3d2cf6(0x1ae)](..._0x41f341)['to'](this),this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x191)](_0x19b831),this[_0x3d2cf6(0x19f)]=!0x0),0x2===this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]&&this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1a2)][_0x3d2cf6(0x1b8)](!0x0),_0x19b831[_0x3d2cf6(0x1b8)](this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]>0x1),await _0x19b831[_0x3d2cf6(0x18b)]({'part':_0x31a011,'renderingStrategy':_0x37a136,'showUnchangedParts':this[_0x3d2cf6(0x1b4)],'abortSignal':_0x215217});});return _0x3a0e5f?.[_0x446bd2(0x197)](_0x446bd2(0x19a),()=>{const _0x39fb2f=_0x446bd2;this[_0x39fb2f(0x1b0)][_0x39fb2f(0x19a)]();}),this[_0x446bd2(0x1b0)][_0x446bd2(0x1af)];}[_0x12cbb9(0x196)](_0x5602f9,_0x42f6c0){const _0x23bb15=_0x12cbb9;this[_0x23bb15(0x1a6)][_0x23bb15(0x1bc)](_0x5602f9)[_0x23bb15(0x1aa)]=_0x42f6c0,this[_0x23bb15(0x19f)]=_0x23bb15(0x1ba)==_0x42f6c0||Array[_0x23bb15(0x1ab)](this[_0x23bb15(0x1a6)])[_0x23bb15(0x1b9)](_0x3b0ae3=>_0x23bb15(0x1ba)==_0x3b0ae3[_0x23bb15(0x1aa)]);}[_0x12cbb9(0x1ad)](_0x52b31c){const _0x218c61=_0x12cbb9;return this[_0x218c61(0x1a6)][_0x218c61(0x1bc)](_0x52b31c);}[_0x12cbb9(0x1a0)](){const _0x248f61=_0x12cbb9;if(!this[_0x248f61(0x1b4)]){const _0x4d03a0=!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x5ebcf8=>_0x5ebcf8[_0x248f61(0x194)][_0x248f61(0x1b3)]),_0x34239e=!!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x596e2e=>!_0x596e2e[_0x248f61(0x194)][_0x248f61(0x1b3)]);this[_0x248f61(0x19b)][_0x248f61(0x1a8)]=0x0==this[_0x248f61(0x1a6)][_0x248f61(0x19c)]||_0x34239e,_0x4d03a0?this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x1b2))):this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x19d)));}}get[_0x12cbb9(0x1a3)](){const _0x5233d4=_0x12cbb9;return!!this[_0x5233d4(0x1a6)][_0x5233d4(0x1c1)](_0x46b981=>_0x46b981[_0x5233d4(0x194)][_0x5233d4(0x1b3)]);}}
23
+ const _0x25be2b=_0xa607;(function(_0x13c8b1,_0x1875a7){const _0x354a1f=_0xa607,_0x2adce6=_0x13c8b1();while(!![]){try{const _0x106b9b=parseInt(_0x354a1f(0x16c))/0x1+-parseInt(_0x354a1f(0x158))/0x2+parseInt(_0x354a1f(0x160))/0x3+parseInt(_0x354a1f(0x167))/0x4*(parseInt(_0x354a1f(0x171))/0x5)+-parseInt(_0x354a1f(0x161))/0x6*(-parseInt(_0x354a1f(0x154))/0x7)+-parseInt(_0x354a1f(0x166))/0x8*(parseInt(_0x354a1f(0x163))/0x9)+-parseInt(_0x354a1f(0x153))/0xa*(parseInt(_0x354a1f(0x151))/0xb);if(_0x106b9b===_0x1875a7)break;else _0x2adce6['push'](_0x2adce6['shift']());}catch(_0x24ea49){_0x2adce6['push'](_0x2adce6['shift']());}}}(_0x58c5,0x77134));import{View as _0x407d9e}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x5333d9}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4422b4}from'../../utils/eventnames.js';function _0xa607(_0x535a3f,_0x591d99){const _0x58c50d=_0x58c5();return _0xa607=function(_0xa607cb,_0x259b25){_0xa607cb=_0xa607cb-0x13c;let _0x17615b=_0x58c50d[_0xa607cb];return _0x17615b;},_0xa607(_0x535a3f,_0x591d99);}import{PromiseQueue as _0x37a807}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x5dfd3f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x58c5(){const _0xf6a578=['ck-ai-suggestion__body__content-parts','_areActionsDisabled','450928XeYmJY','queueEmptyPromise','set','hasChanges','hasPendingParts','5XIcovQ','delegate','locale','some','toggleHeader','pending','getPartView','partsCount','div','get','markAsDone','ck-ai-suggestion__body','first','warning','empty-parts-warning','from','setContent','createCollection','length','_updateContentPartsPromiseQueue','hasNonEmptyParts','AI_SUGGESTION_NO_PARTS_WARNING','updateContent','209YyYXPM','setTemplate','193090GeRHfC','7FxCMhU','enqueue','AI_SUGGESTION_EMPTY_PART_WARNING','_emptyPartsWarningView','1308986GGbrJJ','add','abort','_showUnchangedParts','isVisible','index','find','partDefinition','1599870nOEXrv','3210798TGWuTi','updateContentParts','362538JbKtJN','_children','addEventListener','176pMcZzs','3503796NSPoFk','updatePartState','state'];_0x58c5=function(){return _0xf6a578;};return _0x58c5();}import{getTranslation as _0x3c7b57}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x407d9e{[_0x25be2b(0x164)];[_0x25be2b(0x16b)];[_0x25be2b(0x15b)];[_0x25be2b(0x14d)];[_0x25be2b(0x157)];constructor(_0x2b23b3,{areActionsDisabled:_0x2b9500,showUnchangedParts:_0x18523f}){const _0x468c7d=_0x25be2b;super(_0x2b23b3),this[_0x468c7d(0x16b)]=_0x2b9500,this[_0x468c7d(0x15b)]=_0x18523f,this[_0x468c7d(0x16e)](_0x468c7d(0x170),!0x1),this[_0x468c7d(0x164)]=this[_0x468c7d(0x14b)](),this[_0x468c7d(0x14d)]=new _0x37a807(),this[_0x468c7d(0x157)]=new _0x5dfd3f({'id':_0x468c7d(0x148),'initialContent':_0x3c7b57(_0x2b23b3,_0x468c7d(0x156)),'level':_0x468c7d(0x147)}),this[_0x468c7d(0x157)][_0x468c7d(0x15c)]=!0x1,this[_0x468c7d(0x152)]({'tag':_0x468c7d(0x142),'attributes':{'class':['ck',_0x468c7d(0x145)]},'children':[{'tag':_0x468c7d(0x142),'attributes':{'class':['ck',_0x468c7d(0x16a)]},'children':this[_0x468c7d(0x164)]},this[_0x468c7d(0x157)]]});}get[_0x25be2b(0x141)](){const _0x4b268c=_0x25be2b;return this[_0x4b268c(0x164)][_0x4b268c(0x14c)];}async[_0x25be2b(0x162)]({parts:_0x21ebf4,renderingStrategy:_0x22f0eb,abortSignal:_0x436d55}){const _0x55779d=_0x25be2b;for(const _0x22166d of _0x21ebf4)this[_0x55779d(0x14d)][_0x55779d(0x155)](async _0x18821f=>{const _0x4d6cd1=_0x55779d;let _0x55ea60=this[_0x4d6cd1(0x164)][_0x4d6cd1(0x15e)](_0x59fb14=>_0x59fb14[_0x4d6cd1(0x15f)][_0x4d6cd1(0x15d)]==_0x22166d[_0x4d6cd1(0x15d)]);_0x55ea60||(_0x55ea60=new _0x5333d9(this[_0x4d6cd1(0x13c)],{'part':_0x22166d,'areActionsDisabled':this[_0x4d6cd1(0x16b)]}),_0x55ea60[_0x4d6cd1(0x172)](..._0x4422b4)['to'](this),this[_0x4d6cd1(0x164)][_0x4d6cd1(0x159)](_0x55ea60),this[_0x4d6cd1(0x170)]=!0x0),0x2===this[_0x4d6cd1(0x164)][_0x4d6cd1(0x14c)]&&this[_0x4d6cd1(0x164)][_0x4d6cd1(0x146)][_0x4d6cd1(0x13e)](!0x0),_0x55ea60[_0x4d6cd1(0x13e)](this[_0x4d6cd1(0x164)][_0x4d6cd1(0x14c)]>0x1),await _0x55ea60[_0x4d6cd1(0x150)]({'part':_0x22166d,'renderingStrategy':_0x22f0eb,'showUnchangedParts':this[_0x4d6cd1(0x15b)],'abortSignal':_0x18821f});});return _0x436d55?.[_0x55779d(0x165)](_0x55779d(0x15a),()=>{const _0x31d637=_0x55779d;this[_0x31d637(0x14d)][_0x31d637(0x15a)]();}),this[_0x55779d(0x14d)][_0x55779d(0x16d)];}[_0x25be2b(0x168)](_0x20b6e0,_0xdf0fa9){const _0xf44207=_0x25be2b;this[_0xf44207(0x164)][_0xf44207(0x143)](_0x20b6e0)[_0xf44207(0x169)]=_0xdf0fa9,this[_0xf44207(0x170)]=_0xf44207(0x13f)==_0xdf0fa9||Array[_0xf44207(0x149)](this[_0xf44207(0x164)])[_0xf44207(0x13d)](_0x10dc85=>_0xf44207(0x13f)==_0x10dc85[_0xf44207(0x169)]);}[_0x25be2b(0x140)](_0x2f93b3){const _0x48d44f=_0x25be2b;return this[_0x48d44f(0x164)][_0x48d44f(0x143)](_0x2f93b3);}[_0x25be2b(0x144)](){const _0x4e59f9=_0x25be2b;if(!this[_0x4e59f9(0x15b)]){const _0x2310a4=!this[_0x4e59f9(0x164)][_0x4e59f9(0x15e)](_0x1d8a3f=>_0x1d8a3f[_0x4e59f9(0x15f)][_0x4e59f9(0x16f)]),_0x1a8276=!!this[_0x4e59f9(0x164)][_0x4e59f9(0x15e)](_0x735033=>!_0x735033[_0x4e59f9(0x15f)][_0x4e59f9(0x16f)]);this[_0x4e59f9(0x157)][_0x4e59f9(0x15c)]=0x0==this[_0x4e59f9(0x164)][_0x4e59f9(0x14c)]||_0x1a8276,_0x2310a4?this[_0x4e59f9(0x157)][_0x4e59f9(0x14a)](_0x3c7b57(this[_0x4e59f9(0x13c)],_0x4e59f9(0x14f))):this[_0x4e59f9(0x157)][_0x4e59f9(0x14a)](_0x3c7b57(this[_0x4e59f9(0x13c)],_0x4e59f9(0x156)));}}get[_0x25be2b(0x14e)](){const _0x96e48f=_0x25be2b;return!!this[_0x96e48f(0x164)][_0x96e48f(0x15e)](_0x25ec28=>_0x25ec28[_0x96e48f(0x15f)][_0x96e48f(0x16f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3424de=_0xef37;(function(_0x26d083,_0x4eed4f){const _0x5d1b8e=_0xef37,_0x53d9d4=_0x26d083();while(!![]){try{const _0x13b982=-parseInt(_0x5d1b8e(0x1d8))/0x1+parseInt(_0x5d1b8e(0x1aa))/0x2*(-parseInt(_0x5d1b8e(0x1a8))/0x3)+-parseInt(_0x5d1b8e(0x1a3))/0x4+-parseInt(_0x5d1b8e(0x1b9))/0x5*(-parseInt(_0x5d1b8e(0x19c))/0x6)+-parseInt(_0x5d1b8e(0x1b4))/0x7*(-parseInt(_0x5d1b8e(0x1e4))/0x8)+-parseInt(_0x5d1b8e(0x1ba))/0x9*(-parseInt(_0x5d1b8e(0x1d6))/0xa)+-parseInt(_0x5d1b8e(0x1c9))/0xb*(-parseInt(_0x5d1b8e(0x1bf))/0xc);if(_0x13b982===_0x4eed4f)break;else _0x53d9d4['push'](_0x53d9d4['shift']());}catch(_0x5828fd){_0x53d9d4['push'](_0x53d9d4['shift']());}}}(_0x5650,0xb8484));import{IconWeb as _0x5bf1b7}from'@ckeditor/ckeditor5-icons';function _0xef37(_0x6a888a,_0x13142f){const _0x565022=_0x5650();return _0xef37=function(_0xef3730,_0x3bc12f){_0xef3730=_0xef3730-0x194;let _0x2d8ac4=_0x565022[_0xef3730];return _0x2d8ac4;},_0xef37(_0x6a888a,_0x13142f);}import{View as _0x177d5a,ButtonView as _0xa39798,IconView as _0x452769}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x27b8d3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4c9632}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x17cc88}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5940af}from'../../utils/eventnames.js';import{AISpinnerView as _0x1b7920}from'../aispinner.js';import{getTranslation as _0x9d7bcf}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x177d5a{[_0x3424de(0x1e2)];[_0x3424de(0x1dc)];[_0x3424de(0x1c2)];[_0x3424de(0x1e6)];[_0x3424de(0x195)];[_0x3424de(0x1ad)];[_0x3424de(0x1af)];constructor(_0x43a61f,{showDiff:_0x11e136,areActionsDisabled:_0x3a5e6e,miniToolbarConfig:_0xff1ccd,hideHeader:_0x526c12,showLoader:_0x3e9620,showUnchangedParts:_0x51f085}){const _0x508cea=_0x3424de;super(_0x43a61f),this[_0x508cea(0x1c1)](_0x508cea(0x1c5),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x1ec),!!_0x3e9620),this[_0x508cea(0x1c1)](_0x508cea(0x1bb),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x194),!0x1),this[_0x508cea(0x1c2)]=this[_0x508cea(0x1bd)](),_0x526c12||(this[_0x508cea(0x1e6)]=new _0x4c9632(_0x43a61f,{'showDiff':_0x11e136}),this[_0x508cea(0x1e6)]['on'](_0x508cea(0x199),(_0x2bb0f9,_0x446dc8)=>{const _0x48da6b=_0x508cea;this[_0x48da6b(0x1c5)]=_0x446dc8[_0x48da6b(0x1cf)],this[_0x48da6b(0x1be)](_0x48da6b(0x1e8),{'showDiff':_0x446dc8[_0x48da6b(0x1cf)]});}),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e6)])),this[_0x508cea(0x1e2)]=new _0x17cc88(_0x43a61f,{'areActionsDisabled':_0x3a5e6e,'showUnchangedParts':!!_0x51f085}),this[_0x508cea(0x1e2)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1e2)][_0x508cea(0x198)]({'attributes':{'class':[this[_0x508cea(0x1df)]['if'](_0x508cea(0x1ec),_0x508cea(0x1e1)),this[_0x508cea(0x1df)]['if'](_0x508cea(0x1bb),_0x508cea(0x1e1))]}}),this[_0x508cea(0x1dc)]=new _0x27b8d3(_0x43a61f,_0xff1ccd,_0x11e136),this[_0x508cea(0x1dc)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1dc)]['on'](_0x508cea(0x199),(_0x4e215b,_0x55dc3d)=>{const _0x27d976=_0x508cea;this[_0x27d976(0x1c5)]=_0x55dc3d,this[_0x27d976(0x1be)](_0x27d976(0x1e8),{'showDiff':_0x55dc3d});}),this[_0x508cea(0x1dc)][_0x508cea(0x1d3)](_0x508cea(0x194))['to'](this),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e2)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1dc)]),this[_0x508cea(0x1af)]=new AIWebSourcesView(this[_0x508cea(0x19b)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1af)]),_0x3e9620&&(this[_0x508cea(0x195)]=this[_0x508cea(0x1eb)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x195)])),this[_0x508cea(0x1ad)]=this[_0x508cea(0x1c3)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1ad)]),this[_0x508cea(0x1d7)]({'tag':_0x508cea(0x1c8),'attributes':{'class':['ck',_0x508cea(0x1b0),_0x508cea(0x1d2)]},'children':this[_0x508cea(0x1c2)]});}async[_0x3424de(0x1b1)](_0x2d331a){const _0x54721f=_0x3424de;await this[_0x54721f(0x1e2)][_0x54721f(0x19e)](_0x2d331a);}[_0x3424de(0x1c6)](_0x30646d){const _0x8a2085=_0x3424de;this[_0x8a2085(0x1af)][_0x8a2085(0x1c2)][_0x8a2085(0x1ed)](_0x30646d[_0x8a2085(0x1a4)](_0x1d6a4d=>new AIWebSourceView(this[_0x8a2085(0x19b)],_0x1d6a4d))),this[_0x8a2085(0x1af)][_0x8a2085(0x1cb)]=!0x0;}[_0x3424de(0x1e0)](){const _0x2131d3=_0x3424de;this[_0x2131d3(0x195)]&&(this[_0x2131d3(0x1ec)]=!0x0);}[_0x3424de(0x1c0)](){const _0xbfbe8a=_0x3424de;this[_0xbfbe8a(0x195)]&&(this[_0xbfbe8a(0x1ec)]=!0x1);}[_0x3424de(0x1ab)](_0x220eac){const _0x33756c=_0x3424de;if(this[_0x33756c(0x1ad)]){const _0x44ae18=this[_0x33756c(0x1ad)][_0x33756c(0x1b3)]?.[_0x33756c(0x197)](_0x33756c(0x1ea));_0x44ae18&&(_0x44ae18[_0x33756c(0x196)]=_0x220eac),this[_0x33756c(0x1bb)]=!0x0;}}[_0x3424de(0x1bc)](){const _0x4bcd4b=_0x3424de;this[_0x4bcd4b(0x1ad)]&&(this[_0x4bcd4b(0x1bb)]=!0x1);}[_0x3424de(0x1da)](){const _0x59b5f5=_0x3424de;this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1da)](),this[_0x59b5f5(0x1e6)]&&(this[_0x59b5f5(0x1e6)][_0x59b5f5(0x19a)]=this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1a9)]);}[_0x3424de(0x1ce)](){const _0x31ddda=_0x3424de;this[_0x31ddda(0x194)]=!0x0;}[_0x3424de(0x1d4)](){const _0xa4730e=_0x3424de;this[_0xa4730e(0x194)]=!0x1;}[_0x3424de(0x1ac)](){const _0x21876b=_0x3424de;this[_0x21876b(0x1dc)]&&(this[_0x21876b(0x1dc)][_0x21876b(0x194)]=!0x0),this[_0x21876b(0x1e6)]?.[_0x21876b(0x1c4)]&&(this[_0x21876b(0x1e6)][_0x21876b(0x1c4)][_0x21876b(0x1b2)]=!0x1);}[_0x3424de(0x1a7)](){const _0x5650a=_0x3424de;this[_0x5650a(0x1dc)]&&(this[_0x5650a(0x1dc)][_0x5650a(0x194)]=!0x1),this[_0x5650a(0x1e6)]?.[_0x5650a(0x1c4)]&&(this[_0x5650a(0x1e6)][_0x5650a(0x1c4)][_0x5650a(0x1b2)]=!0x0);}[_0x3424de(0x1d1)](_0x5c2ffd){const _0x32b881=_0x3424de;this[_0x32b881(0x1dc)][_0x32b881(0x1de)][_0x32b881(0x1dd)](_0x5c2ffd);}[_0x3424de(0x1a5)](_0x4252a5){const _0x41a95a=_0x3424de;this[_0x41a95a(0x1dc)][_0x41a95a(0x1de)][_0x41a95a(0x1e9)](_0x4252a5);}[_0x3424de(0x1eb)](){const _0x508e20=_0x3424de,_0x519ad7=new _0x177d5a(this[_0x508e20(0x19b)]),_0x3543a7=new _0x1b7920(_0x508e20(0x1b8));_0x3543a7[_0x508e20(0x1cb)]=!0x0;const _0x4c0aaf=new _0x177d5a(this[_0x508e20(0x19b)]);return _0x4c0aaf[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1b6),'attributes':{'class':['ck',_0x508e20(0x1ae)]},'children':[_0x9d7bcf(this[_0x508e20(0x19b)],_0x508e20(0x1a0))]}),_0x519ad7[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1c8),'attributes':{'class':['ck',_0x508e20(0x1d0),this[_0x508e20(0x1df)]['if'](_0x508e20(0x1ec),_0x508e20(0x1e1),_0x5a818a=>!_0x5a818a)]},'children':[_0x3543a7,_0x4c0aaf]}),_0x519ad7;}[_0x3424de(0x1c3)](){const _0x599182=_0x3424de,_0x2a98b7=new _0x177d5a(this[_0x599182(0x19b)]),_0x20b8ab=new _0x177d5a(this[_0x599182(0x19b)]);return _0x20b8ab[_0x599182(0x1d7)]({'tag':_0x599182(0x1b6),'attributes':{'class':['ck',_0x599182(0x1a2)]},'children':[_0x9d7bcf(this[_0x599182(0x19b)],_0x599182(0x1db))]}),_0x2a98b7[_0x599182(0x1d7)]({'tag':_0x599182(0x1c8),'attributes':{'class':['ck',_0x599182(0x1a1),this[_0x599182(0x1df)]['if'](_0x599182(0x1bb),_0x599182(0x1e1),_0x390a6c=>!_0x390a6c)]},'children':[_0x20b8ab]}),_0x2a98b7;}}export class AIWebSourcesView extends _0x177d5a{[_0x3424de(0x1c2)];constructor(_0x2bcf87){const _0x42ae41=_0x3424de;super(_0x2bcf87),this[_0x42ae41(0x1c2)]=this[_0x42ae41(0x1bd)](),this[_0x42ae41(0x1c1)](_0x42ae41(0x1cb),!0x1),this[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x19d),this[_0x42ae41(0x1df)]['if'](_0x42ae41(0x1cb),_0x42ae41(0x1e1),_0x30a352=>!_0x30a352)]},'children':this[_0x42ae41(0x1c2)]});const _0x35ac4a=new _0x177d5a(this[_0x42ae41(0x19b)]),_0x585647=new _0x452769();_0x585647[_0x42ae41(0x1a6)]=_0x5bf1b7,_0x35ac4a[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x1cd)]},'children':[_0x585647,{'tag':_0x42ae41(0x1b6),'children':[{'text':_0x9d7bcf(this[_0x42ae41(0x19b)],_0x42ae41(0x1d9))}]}]}),this[_0x42ae41(0x1c2)][_0x42ae41(0x1dd)](_0x35ac4a);}}export class AIWebSourceView extends _0xa39798{constructor(_0x35fe3d,_0x4f1f80){const _0x2fdb38=_0x3424de;super(_0x35fe3d),this[_0x2fdb38(0x1c1)]({'label':_0x4f1f80[_0x2fdb38(0x1e5)],'tooltip':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1d5)],'withText':!0x0});const _0x78289d=this[_0x2fdb38(0x1df)];if(this[_0x2fdb38(0x198)]({'on':{'click':_0x78289d['to'](()=>{const _0x40c804=_0x2fdb38;window[_0x40c804(0x1e3)](_0x4f1f80[_0x40c804(0x1ca)],_0x40c804(0x19f));})}}),_0x4f1f80[_0x2fdb38(0x1b7)]){const _0x2f919d=new _0x177d5a(_0x35fe3d);_0x2f919d[_0x2fdb38(0x1d7)]({'tag':_0x2fdb38(0x1cc),'attributes':{'src':_0x4f1f80[_0x2fdb38(0x1b7)]||_0x5bf1b7,'alt':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1c7)]}}),this[_0x2fdb38(0x1c2)][_0x2fdb38(0x1dd)](_0x2f919d);}else this[_0x2fdb38(0x1c1)](_0x2fdb38(0x1b5),_0x5bf1b7);}}function _0x5650(){const _0x10dcd0=['ck-ai-suggestion__error-text','3808700PQPbEf','map','removeNavigationItem','content','clearErrorState','8907czJsbr','hasNonEmptyParts','566XBLdOc','showError','setErrorState','errorView','ck-ai-suggestion__loader-text','sourcesView','ck-ai-suggestion__container','updateContent','isEnabled','element','2668428aCdPJF','icon','span','favicon','small','2780230ZcrufW','8994267XTTXag','isErrorVisible','hideError','createCollection','fire','982752etPPDE','hideLoader','set','children','_createErrorView','showChangesToggleView','areChangesVisible','updateSources','ck-ai-web-source__image','div','209zDvYYR','url','isVisible','img','ck-ai-web-sources__header','setLoading','isOn','ck-ai-suggestion__loader','addNavigationItem','ck-rounded-corners','bind','clearLoading','ck\x20ck-ai-web-source','10LTOmsp','setTemplate','1501461iwUAXm','AI_CHAT_SOURCES_HEADER','markAsDone','AI_CHAT_GENERIC_ERROR','miniToolbarView','add','items','bindTemplate','showLoader','ck-hidden','bodyView','open','8AtsyBZ','title','headerView','delegate','toggleSuggestionDisplayMode','remove','.ck-ai-suggestion__error-text','_createLoaderView','isLoaderVisible','addMany','isLoading','loaderView','textContent','querySelector','extendTemplate','toggleShowChanges','isShowChangesToggleVisible','locale','12mtFQhF','ck-ai-web-sources','updateContentParts','_blank','AI_CHAT_IS_WRITING','ck-ai-suggestion__error'];_0x5650=function(){return _0x10dcd0;};return _0x5650();}
23
+ const _0x13b66c=_0x43a7;(function(_0x4128a0,_0x550f49){const _0x39eadb=_0x43a7,_0x23cc62=_0x4128a0();while(!![]){try{const _0x2ee20e=parseInt(_0x39eadb(0x1d9))/0x1*(parseInt(_0x39eadb(0x1e0))/0x2)+parseInt(_0x39eadb(0x18d))/0x3+parseInt(_0x39eadb(0x1ae))/0x4*(parseInt(_0x39eadb(0x1d8))/0x5)+-parseInt(_0x39eadb(0x1a2))/0x6*(-parseInt(_0x39eadb(0x1b8))/0x7)+parseInt(_0x39eadb(0x19f))/0x8*(parseInt(_0x39eadb(0x198))/0x9)+-parseInt(_0x39eadb(0x1c8))/0xa+parseInt(_0x39eadb(0x1aa))/0xb*(-parseInt(_0x39eadb(0x19e))/0xc);if(_0x2ee20e===_0x550f49)break;else _0x23cc62['push'](_0x23cc62['shift']());}catch(_0x3ba94f){_0x23cc62['push'](_0x23cc62['shift']());}}}(_0x183b,0x73e59));import{IconWeb as _0x460db6}from'@ckeditor/ckeditor5-icons';function _0x43a7(_0x2a5699,_0x35c88b){const _0x183b24=_0x183b();return _0x43a7=function(_0x43a780,_0x51bd69){_0x43a780=_0x43a780-0x188;let _0x2ceb94=_0x183b24[_0x43a780];return _0x2ceb94;},_0x43a7(_0x2a5699,_0x35c88b);}import{View as _0x414161,ButtonView as _0x4e5af1,IconView as _0x48d056}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x437cfb}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xc200ae}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x297094}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x56c1ae}from'../../utils/eventnames.js';function _0x183b(){const _0x16885f=['hideError','title','AI_CHAT_IS_WRITING','add','miniToolbarView','2768055QVhfZr','1GiXxFr','bindTemplate','set','isLoading','bodyView','createCollection','removeNavigationItem','1889874mhBzhp','small','items','updateSources','hasNonEmptyParts','headerView','updateContent','2079108OmNUcT','bind','delegate','_createErrorView','img','toggleSuggestionDisplayMode','extendTemplate','isEnabled','showLoader','element','ck-ai-web-sources__header','636372WeaUHv','ck-ai-suggestion__container','isVisible','loaderView','updateContentParts','ck-ai-web-sources','1990056ogRjNA','88YsZjzR','isLoaderVisible','url','6aMCSml','errorView','open','showError','toggleShowChanges','ck-hidden','showChangesToggleView','markAsDone','121iptPXh','children','remove','ck-ai-web-source__image','4NfsYLQ','favicon','clearLoading','ck-rounded-corners','textContent','ck-ai-suggestion__loader','hideLoader','AI_CHAT_SOURCES_HEADER','fire','querySelector','117719CQMIac','div','setLoading','content','.ck-ai-suggestion__error-text','addNavigationItem','isErrorVisible','isShowChangesToggleVisible','clearErrorState','locale','map','_blank','setTemplate','icon','sourcesView','AI_CHAT_GENERIC_ERROR','6872580tDVEQs','span','areChangesVisible','ck\x20ck-ai-web-source','ck-ai-suggestion__loader-text','ck-ai-suggestion__error-text','ck-ai-suggestion__error','_createLoaderView','isOn','setErrorState','addMany'];_0x183b=function(){return _0x16885f;};return _0x183b();}import{AISpinnerView as _0x22c895}from'../aispinner.js';import{getTranslation as _0x1fd784}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x414161{[_0x13b66c(0x1dd)];[_0x13b66c(0x1d7)];[_0x13b66c(0x1ab)];[_0x13b66c(0x18b)];[_0x13b66c(0x19b)];[_0x13b66c(0x1a3)];[_0x13b66c(0x1c6)];constructor(_0x5dcbdb,{showDiff:_0xfe9c18,areActionsDisabled:_0x5bad89,miniToolbarConfig:_0x168eab,hideHeader:_0x381866,showLoader:_0x119f8a,showUnchangedParts:_0x25d58}){const _0x578b66=_0x13b66c;super(_0x5dcbdb),this[_0x578b66(0x1db)](_0x578b66(0x1ca),!0x1),this[_0x578b66(0x1db)](_0x578b66(0x1a0),!!_0x119f8a),this[_0x578b66(0x1db)](_0x578b66(0x1be),!0x1),this[_0x578b66(0x1db)](_0x578b66(0x1dc),!0x1),this[_0x578b66(0x1ab)]=this[_0x578b66(0x1de)](),_0x381866||(this[_0x578b66(0x18b)]=new _0xc200ae(_0x5dcbdb,{'showDiff':_0xfe9c18}),this[_0x578b66(0x18b)]['on'](_0x578b66(0x1a6),(_0x3826a0,_0x3d2cdb)=>{const _0x3f7735=_0x578b66;this[_0x3f7735(0x1ca)]=_0x3d2cdb[_0x3f7735(0x1d0)],this[_0x3f7735(0x1b6)](_0x3f7735(0x192),{'showDiff':_0x3d2cdb[_0x3f7735(0x1d0)]});}),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x18b)])),this[_0x578b66(0x1dd)]=new _0x297094(_0x5dcbdb,{'areActionsDisabled':_0x5bad89,'showUnchangedParts':!!_0x25d58}),this[_0x578b66(0x1dd)][_0x578b66(0x18f)](..._0x56c1ae)['to'](this),this[_0x578b66(0x1dd)][_0x578b66(0x193)]({'attributes':{'class':[this[_0x578b66(0x1da)]['if'](_0x578b66(0x1a0),_0x578b66(0x1a7)),this[_0x578b66(0x1da)]['if'](_0x578b66(0x1be),_0x578b66(0x1a7))]}}),this[_0x578b66(0x1d7)]=new _0x437cfb(_0x5dcbdb,_0x168eab,_0xfe9c18),this[_0x578b66(0x1d7)][_0x578b66(0x18f)](..._0x56c1ae)['to'](this),this[_0x578b66(0x1d7)]['on'](_0x578b66(0x1a6),(_0x47f248,_0x5e9ceb)=>{const _0x351ea9=_0x578b66;this[_0x351ea9(0x1ca)]=_0x5e9ceb,this[_0x351ea9(0x1b6)](_0x351ea9(0x192),{'showDiff':_0x5e9ceb});}),this[_0x578b66(0x1d7)][_0x578b66(0x18e)](_0x578b66(0x1dc))['to'](this),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1dd)]),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1d7)]),this[_0x578b66(0x1c6)]=new AIWebSourcesView(this[_0x578b66(0x1c1)]),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1c6)]),_0x119f8a&&(this[_0x578b66(0x19b)]=this[_0x578b66(0x1cf)](),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x19b)])),this[_0x578b66(0x1a3)]=this[_0x578b66(0x190)](),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1a3)]),this[_0x578b66(0x1c4)]({'tag':_0x578b66(0x1b9),'attributes':{'class':['ck',_0x578b66(0x199),_0x578b66(0x1b1)]},'children':this[_0x578b66(0x1ab)]});}async[_0x13b66c(0x18c)](_0x2c1888){const _0x5e1ca4=_0x13b66c;await this[_0x5e1ca4(0x1dd)][_0x5e1ca4(0x19c)](_0x2c1888);}[_0x13b66c(0x189)](_0x4cf94f){const _0x3c93c9=_0x13b66c;this[_0x3c93c9(0x1c6)][_0x3c93c9(0x1ab)][_0x3c93c9(0x1d2)](_0x4cf94f[_0x3c93c9(0x1c2)](_0xcfd130=>new AIWebSourceView(this[_0x3c93c9(0x1c1)],_0xcfd130))),this[_0x3c93c9(0x1c6)][_0x3c93c9(0x19a)]=!0x0;}[_0x13b66c(0x195)](){const _0x37ce76=_0x13b66c;this[_0x37ce76(0x19b)]&&(this[_0x37ce76(0x1a0)]=!0x0);}[_0x13b66c(0x1b4)](){const _0x414a0e=_0x13b66c;this[_0x414a0e(0x19b)]&&(this[_0x414a0e(0x1a0)]=!0x1);}[_0x13b66c(0x1a5)](_0x260e19){const _0x2034e9=_0x13b66c;if(this[_0x2034e9(0x1a3)]){const _0x116035=this[_0x2034e9(0x1a3)][_0x2034e9(0x196)]?.[_0x2034e9(0x1b7)](_0x2034e9(0x1bc));_0x116035&&(_0x116035[_0x2034e9(0x1b2)]=_0x260e19),this[_0x2034e9(0x1be)]=!0x0;}}[_0x13b66c(0x1d3)](){const _0x3798a5=_0x13b66c;this[_0x3798a5(0x1a3)]&&(this[_0x3798a5(0x1be)]=!0x1);}[_0x13b66c(0x1a9)](){const _0x52f3dd=_0x13b66c;this[_0x52f3dd(0x1dd)][_0x52f3dd(0x1a9)](),this[_0x52f3dd(0x18b)]&&(this[_0x52f3dd(0x18b)][_0x52f3dd(0x1bf)]=this[_0x52f3dd(0x1dd)][_0x52f3dd(0x18a)]);}[_0x13b66c(0x1ba)](){const _0x4a5b4b=_0x13b66c;this[_0x4a5b4b(0x1dc)]=!0x0;}[_0x13b66c(0x1b0)](){const _0x6a959e=_0x13b66c;this[_0x6a959e(0x1dc)]=!0x1;}[_0x13b66c(0x1d1)](){const _0x53d664=_0x13b66c;this[_0x53d664(0x1d7)]&&(this[_0x53d664(0x1d7)][_0x53d664(0x1dc)]=!0x0),this[_0x53d664(0x18b)]?.[_0x53d664(0x1a8)]&&(this[_0x53d664(0x18b)][_0x53d664(0x1a8)][_0x53d664(0x194)]=!0x1);}[_0x13b66c(0x1c0)](){const _0x184e97=_0x13b66c;this[_0x184e97(0x1d7)]&&(this[_0x184e97(0x1d7)][_0x184e97(0x1dc)]=!0x1),this[_0x184e97(0x18b)]?.[_0x184e97(0x1a8)]&&(this[_0x184e97(0x18b)][_0x184e97(0x1a8)][_0x184e97(0x194)]=!0x0);}[_0x13b66c(0x1bd)](_0x31062c){const _0x4feb11=_0x13b66c;this[_0x4feb11(0x1d7)][_0x4feb11(0x188)][_0x4feb11(0x1d6)](_0x31062c);}[_0x13b66c(0x1df)](_0x314456){const _0x44ba46=_0x13b66c;this[_0x44ba46(0x1d7)][_0x44ba46(0x188)][_0x44ba46(0x1ac)](_0x314456);}[_0x13b66c(0x1cf)](){const _0xbf2cc4=_0x13b66c,_0x4543e0=new _0x414161(this[_0xbf2cc4(0x1c1)]),_0x4164a0=new _0x22c895(_0xbf2cc4(0x1e1));_0x4164a0[_0xbf2cc4(0x19a)]=!0x0;const _0x704ec3=new _0x414161(this[_0xbf2cc4(0x1c1)]);return _0x704ec3[_0xbf2cc4(0x1c4)]({'tag':_0xbf2cc4(0x1c9),'attributes':{'class':['ck',_0xbf2cc4(0x1cc)]},'children':[_0x1fd784(this[_0xbf2cc4(0x1c1)],_0xbf2cc4(0x1d5))]}),_0x4543e0[_0xbf2cc4(0x1c4)]({'tag':_0xbf2cc4(0x1b9),'attributes':{'class':['ck',_0xbf2cc4(0x1b3),this[_0xbf2cc4(0x1da)]['if'](_0xbf2cc4(0x1a0),_0xbf2cc4(0x1a7),_0x38a2e3=>!_0x38a2e3)]},'children':[_0x4164a0,_0x704ec3]}),_0x4543e0;}[_0x13b66c(0x190)](){const _0x389303=_0x13b66c,_0x5c9d2f=new _0x414161(this[_0x389303(0x1c1)]),_0x3e521c=new _0x414161(this[_0x389303(0x1c1)]);return _0x3e521c[_0x389303(0x1c4)]({'tag':_0x389303(0x1c9),'attributes':{'class':['ck',_0x389303(0x1cd)]},'children':[_0x1fd784(this[_0x389303(0x1c1)],_0x389303(0x1c7))]}),_0x5c9d2f[_0x389303(0x1c4)]({'tag':_0x389303(0x1b9),'attributes':{'class':['ck',_0x389303(0x1ce),this[_0x389303(0x1da)]['if'](_0x389303(0x1be),_0x389303(0x1a7),_0x1b9e73=>!_0x1b9e73)]},'children':[_0x3e521c]}),_0x5c9d2f;}}export class AIWebSourcesView extends _0x414161{[_0x13b66c(0x1ab)];constructor(_0x21cea5){const _0x4af79f=_0x13b66c;super(_0x21cea5),this[_0x4af79f(0x1ab)]=this[_0x4af79f(0x1de)](),this[_0x4af79f(0x1db)](_0x4af79f(0x19a),!0x1),this[_0x4af79f(0x1c4)]({'tag':_0x4af79f(0x1b9),'attributes':{'class':['ck',_0x4af79f(0x19d),this[_0x4af79f(0x1da)]['if'](_0x4af79f(0x19a),_0x4af79f(0x1a7),_0x2a6135=>!_0x2a6135)]},'children':this[_0x4af79f(0x1ab)]});const _0x2eaf9a=new _0x414161(this[_0x4af79f(0x1c1)]),_0x40bfc9=new _0x48d056();_0x40bfc9[_0x4af79f(0x1bb)]=_0x460db6,_0x2eaf9a[_0x4af79f(0x1c4)]({'tag':_0x4af79f(0x1b9),'attributes':{'class':['ck',_0x4af79f(0x197)]},'children':[_0x40bfc9,{'tag':_0x4af79f(0x1c9),'children':[{'text':_0x1fd784(this[_0x4af79f(0x1c1)],_0x4af79f(0x1b5))}]}]}),this[_0x4af79f(0x1ab)][_0x4af79f(0x1d6)](_0x2eaf9a);}}export class AIWebSourceView extends _0x4e5af1{constructor(_0x439195,_0x29aa13){const _0x8d4a13=_0x13b66c;super(_0x439195),this[_0x8d4a13(0x1db)]({'label':_0x29aa13[_0x8d4a13(0x1d4)],'tooltip':_0x29aa13[_0x8d4a13(0x1d4)],'class':[_0x8d4a13(0x1cb)],'withText':!0x0});const _0x50646f=this[_0x8d4a13(0x1da)];if(this[_0x8d4a13(0x193)]({'on':{'click':_0x50646f['to'](()=>{const _0x1e978d=_0x8d4a13;window[_0x1e978d(0x1a4)](_0x29aa13[_0x1e978d(0x1a1)],_0x1e978d(0x1c3));})}}),_0x29aa13[_0x8d4a13(0x1af)]){const _0x3bfed9=new _0x414161(_0x439195);_0x3bfed9[_0x8d4a13(0x1c4)]({'tag':_0x8d4a13(0x191),'attributes':{'src':_0x29aa13[_0x8d4a13(0x1af)]||_0x460db6,'alt':_0x29aa13[_0x8d4a13(0x1d4)],'class':[_0x8d4a13(0x1ad)]}}),this[_0x8d4a13(0x1ab)][_0x8d4a13(0x1d6)](_0x3bfed9);}else this[_0x8d4a13(0x1db)](_0x8d4a13(0x1c5),_0x460db6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412bbb=_0x4703;(function(_0x1ec08d,_0x38c604){const _0x4ab2ec=_0x4703,_0x4a9984=_0x1ec08d();while(!![]){try{const _0x50fa7d=-parseInt(_0x4ab2ec(0x161))/0x1*(-parseInt(_0x4ab2ec(0x192))/0x2)+-parseInt(_0x4ab2ec(0x16f))/0x3+parseInt(_0x4ab2ec(0x158))/0x4*(parseInt(_0x4ab2ec(0x17a))/0x5)+-parseInt(_0x4ab2ec(0x17b))/0x6+-parseInt(_0x4ab2ec(0x18c))/0x7*(-parseInt(_0x4ab2ec(0x17e))/0x8)+-parseInt(_0x4ab2ec(0x14e))/0x9*(-parseInt(_0x4ab2ec(0x186))/0xa)+-parseInt(_0x4ab2ec(0x14d))/0xb;if(_0x50fa7d===_0x38c604)break;else _0x4a9984['push'](_0x4a9984['shift']());}catch(_0x93651b){_0x4a9984['push'](_0x4a9984['shift']());}}}(_0x1603,0x28262));import{View as _0x55f918,IconView as _0x22022d,ToolbarView as _0x1005bb,ButtonView as _0x22091b}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3bb829,IconDocumentWithLoupe as _0x4bc7e4,IconDocumentWithCheckmark as _0x3d7c0d,IconDocumentWithCross as _0x163d0e,IconRemove as _0x592089,IconThreeStars as _0x52b695}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x54c5bc}from'../../utils/htmlstreamer.js';function _0x4703(_0x25443a,_0x3faf80){const _0x160321=_0x1603();return _0x4703=function(_0x4703c2,_0x2a3513){_0x4703c2=_0x4703c2-0x148;let _0x51b0c9=_0x160321[_0x4703c2];return _0x51b0c9;},_0x4703(_0x25443a,_0x3faf80);}import{getTranslation as _0x5d8cd7}from'../../utils/common-translations.js';import{serialize as _0x34097d}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x22c592}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x55f918{[_0x412bbb(0x17d)];[_0x412bbb(0x17c)];[_0x412bbb(0x190)];[_0x412bbb(0x149)];constructor(_0x250b20,{part:_0x2e8eea,areActionsDisabled:_0x5655dd}){const _0x1cb971=_0x412bbb;super(_0x250b20),this[_0x1cb971(0x18b)](_0x1cb971(0x184),_0x2e8eea),this[_0x1cb971(0x18b)](_0x1cb971(0x18a),_0x1cb971(0x16a)),this[_0x1cb971(0x18b)](_0x1cb971(0x17f),!0x1),this[_0x1cb971(0x180)](_0x1cb971(0x179))['to'](this,_0x1cb971(0x18a),_0x3dc9fb=>_0x1cb971(0x16a)==_0x3dc9fb&&!_0x5655dd),this[_0x1cb971(0x17c)]=this[_0x1cb971(0x176)](),this[_0x1cb971(0x17d)]=new _0x54c5bc({'textNodeStyle':_0x1cb971(0x189),'delay':0x14}),this[_0x1cb971(0x190)]=new Jn(_0x250b20,_0x2e8eea),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x184))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x179))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x18a))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x171)](..._0x22c592)['to'](this);const _0x3d462d=this[_0x1cb971(0x178)];this[_0x1cb971(0x149)]=new _0x55f918(),this[_0x1cb971(0x149)][_0x1cb971(0x16d)]({'tag':_0x1cb971(0x167),'attributes':{'class':['ck',_0x1cb971(0x148),_0x1cb971(0x162),_0x1cb971(0x152)]}}),this[_0x1cb971(0x17c)][_0x1cb971(0x16c)]([this[_0x1cb971(0x149)]]),this[_0x1cb971(0x16d)]({'tag':_0x1cb971(0x167),'attributes':{'class':['ck',_0x1cb971(0x154),_0x3d462d['to'](_0x1cb971(0x18a),_0x596486=>_0x1cb971(0x150)+_0x596486),_0x3d462d['to'](_0x1cb971(0x179),_0x39e89c=>_0x39e89c?_0x1cb971(0x159):void 0x0),_0x3d462d['if'](_0x1cb971(0x17f),_0x1cb971(0x16b),_0x3e164a=>!_0x3e164a)]},'children':this[_0x1cb971(0x17c)],'on':{'mouseenter':_0x3d462d['to'](()=>{const _0x49b847=_0x1cb971;this[_0x49b847(0x179)]&&this[_0x49b847(0x14f)](_0x49b847(0x182),{'index':_0x2e8eea[_0x49b847(0x14a)]});}),'mouseleave':_0x3d462d['to'](()=>{const _0x4b4255=_0x1cb971;this[_0x4b4255(0x179)]&&this[_0x4b4255(0x14f)](_0x4b4255(0x163),{'index':_0x2e8eea[_0x4b4255(0x14a)]});})}});}async[_0x412bbb(0x18f)]({part:_0x5cbf91,renderingStrategy:_0x1186e9,showUnchangedParts:_0x424680=!0x1,abortSignal:_0x2e6be4}){const _0x4c670c=_0x412bbb;this[_0x4c670c(0x184)]=_0x5cbf91,this[_0x4c670c(0x17f)]=this[_0x4c670c(0x184)][_0x4c670c(0x15a)]||_0x424680,this[_0x4c670c(0x17f)]&&(_0x4c670c(0x165)===_0x1186e9?await this[_0x4c670c(0x17d)][_0x4c670c(0x168)]({'document':this[_0x4c670c(0x184)][_0x4c670c(0x157)],'targetElement':this[_0x4c670c(0x149)][_0x4c670c(0x185)],'abortSignal':_0x2e6be4}):this[_0x4c670c(0x149)][_0x4c670c(0x185)][_0x4c670c(0x191)]=_0x34097d(this[_0x4c670c(0x184)][_0x4c670c(0x157)]));}[_0x412bbb(0x15c)](_0x304167){const _0x410502=_0x412bbb;_0x304167?this[_0x410502(0x17c)][_0x410502(0x187)](this[_0x410502(0x190)])||this[_0x410502(0x17c)][_0x410502(0x160)](this[_0x410502(0x190)],0x0):this[_0x410502(0x17c)][_0x410502(0x187)](this[_0x410502(0x190)])&&this[_0x410502(0x17c)][_0x410502(0x15b)](this[_0x410502(0x190)]);}}class Jn extends _0x55f918{[_0x412bbb(0x17c)];[_0x412bbb(0x15e)];[_0x412bbb(0x183)];[_0x412bbb(0x173)];constructor(_0x57a4bd,_0x431176){const _0x69a5c7=_0x412bbb;super(_0x57a4bd),this[_0x69a5c7(0x18b)](_0x69a5c7(0x184),_0x431176),this[_0x69a5c7(0x18b)](_0x69a5c7(0x179),!0x0),this[_0x69a5c7(0x18b)](_0x69a5c7(0x18a),_0x69a5c7(0x16a));const _0x11dc1c=new _0x22022d();_0x11dc1c[_0x69a5c7(0x157)]=_0x52b695,_0x11dc1c[_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x153)]}});const _0x4555e9=new _0x22091b(_0x57a4bd);_0x4555e9[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x175)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4bc7e4}),_0x4555e9[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),_0x4555e9['on'](_0x69a5c7(0x15d),()=>{const _0x1f9996=_0x69a5c7;this[_0x1f9996(0x14f)](_0x1f9996(0x174),{'index':_0x431176[_0x1f9996(0x14a)]});});const _0x592e63=new _0x22091b(_0x57a4bd);_0x592e63[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x188)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3bb829}),_0x592e63[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),_0x592e63['on'](_0x69a5c7(0x15d),()=>{const _0x297c18=_0x69a5c7;this[_0x297c18(0x14f)](_0x297c18(0x177),{'index':_0x431176[_0x297c18(0x14a)]});});const _0x296924=new _0x22091b(_0x57a4bd);_0x296924[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x169)),'tooltip':!0x0,'withText':!0x1,'icon':_0x592089}),_0x296924['on'](_0x69a5c7(0x15d),()=>{const _0x3c12ae=_0x69a5c7;this[_0x3c12ae(0x14f)](_0x3c12ae(0x172),{'index':_0x431176[_0x3c12ae(0x14a)]});}),_0x296924[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),this[_0x69a5c7(0x15e)]=new _0x1005bb(_0x57a4bd),this[_0x69a5c7(0x15e)][_0x69a5c7(0x18e)][_0x69a5c7(0x16c)]([_0x4555e9,_0x592e63,_0x296924]),this[_0x69a5c7(0x183)]=new _0x22022d(),this[_0x69a5c7(0x183)][_0x69a5c7(0x157)]=_0x3d7c0d,this[_0x69a5c7(0x183)][_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x193)],'data-cke-tooltip-text':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x155)),'data-cke-tooltip-position':'n'}}),this[_0x69a5c7(0x173)]=new _0x22022d(),this[_0x69a5c7(0x173)][_0x69a5c7(0x157)]=_0x163d0e,this[_0x69a5c7(0x173)][_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x166)],'data-cke-tooltip-text':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x156)),'data-cke-tooltip-position':'n'}});const _0x2c8406=new _0x55f918(_0x57a4bd);_0x2c8406[_0x69a5c7(0x16d)]({'tag':_0x69a5c7(0x170),'attributes':{'class':['ck',_0x69a5c7(0x14c)]},'children':[_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x151),(_0x431176[_0x69a5c7(0x14a)]+0x1)[_0x69a5c7(0x18d)]())]}),this[_0x69a5c7(0x17c)]=this[_0x69a5c7(0x176)](),this[_0x69a5c7(0x17c)][_0x69a5c7(0x16c)]([_0x11dc1c,_0x2c8406,this[_0x69a5c7(0x15e)]]),this[_0x69a5c7(0x16d)]({'tag':_0x69a5c7(0x167),'attributes':{'class':['ck',_0x69a5c7(0x162),_0x69a5c7(0x181)]},'children':this[_0x69a5c7(0x17c)]}),this['on'](_0x69a5c7(0x16e),(_0x2d30ad,_0x3fa333,_0x51470e,_0x74c9a)=>{const _0x2fdd43=_0x69a5c7;switch(_0x74c9a){case _0x2fdd43(0x16a):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x15e)]);break;case _0x2fdd43(0x14b):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x183)]);break;case _0x2fdd43(0x15f):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x173)]);}switch(_0x51470e){case _0x2fdd43(0x16a):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x15e)]);break;case _0x2fdd43(0x14b):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x183)]);break;case _0x2fdd43(0x15f):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x173)]);}});}}function _0x1603(){const _0x5bfe4b=['innerHTML','12wlUBis','ck-ai-suggestion__body__content-part__icon-accepted','ck-content','contentView','index','accepted','ck-ai-suggestion__body__content-part__title__label','1318823GrBsuf','16812LewGEj','fire','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','AI_SUGGESTION_CONTENT_PART_REJECTED','content','4208JoBzEY','ck-ai-suggestion__body__content-part_active','hasChanges','remove','toggleHeader','execute','_toolbarView','rejected','add','36409NweEQF','ck-reset_all-excluded','mouseLeaveSuggestion','extendTemplate','streaming','ck-ai-suggestion__body__content-part__icon-rejected','div','stream','AI_SUGGESTION_CONTENT_PART_DELETE','pending','ck-hidden','addMany','setTemplate','change:state','378462gKJDMi','span','delegate','rejectSuggestion','_iconStateRejected','showChangeInText','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','createCollection','insertSuggestion','bindTemplate','isEnabled','1010RKImJl','1069278EEScvr','children','htmlStreamer','48mvopCE','isVisible','bind','ck-ai-suggestion__body__content-part__title','mouseOverSuggestion','_iconStateAccepted','partDefinition','element','480NWFbOI','has','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','animation:\x20ck-html-streamer-fade-in\x20.5s','state','set','79436cFHjML','toString','items','updateContent','headerView'];_0x1603=function(){return _0x5bfe4b;};return _0x1603();}
23
+ const _0x22b10a=_0x3989;function _0x3989(_0x21e123,_0x12c985){const _0xafa543=_0xafa5();return _0x3989=function(_0x3989e1,_0x57db99){_0x3989e1=_0x3989e1-0x100;let _0x572a90=_0xafa543[_0x3989e1];return _0x572a90;},_0x3989(_0x21e123,_0x12c985);}(function(_0x4ee99c,_0x56312c){const _0x5d5aad=_0x3989,_0x370411=_0x4ee99c();while(!![]){try{const _0x2ec0b3=-parseInt(_0x5d5aad(0x112))/0x1*(-parseInt(_0x5d5aad(0x122))/0x2)+-parseInt(_0x5d5aad(0x125))/0x3+parseInt(_0x5d5aad(0x138))/0x4+-parseInt(_0x5d5aad(0x10e))/0x5+-parseInt(_0x5d5aad(0x13a))/0x6+-parseInt(_0x5d5aad(0x119))/0x7+parseInt(_0x5d5aad(0x118))/0x8*(parseInt(_0x5d5aad(0x11c))/0x9);if(_0x2ec0b3===_0x56312c)break;else _0x370411['push'](_0x370411['shift']());}catch(_0x19d41f){_0x370411['push'](_0x370411['shift']());}}}(_0xafa5,0xcf1bd));import{View as _0x3c8587,IconView as _0x489b99,ToolbarView as _0x549ce9,ButtonView as _0x272479}from'ckeditor5/src/ui.js';import{IconAddComment as _0xc179be,IconDocumentWithLoupe as _0x3b5fdc,IconDocumentWithCheckmark as _0x33e787,IconDocumentWithCross as _0x2f8135,IconRemove as _0x1c4b12,IconThreeStars as _0x35df08}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x371f0f}from'../../utils/htmlstreamer.js';function _0xafa5(){const _0x420f32=['streaming','9ydwLmM','isVisible','htmlStreamer','accepted','content','outdated','56022agIjtU','contentView','ck-ai-suggestion__body__content-part__icon-rejected','2502702HnLxjK','ck-reset_all-excluded','set','stream','span','add','state','createCollection','innerHTML','AI_SUGGESTION_CONTENT_PART_REJECTED','mouseOverSuggestion','setTemplate','rejected','ck-ai-suggestion__body__content-part_active','bindTemplate','ck-ai-suggestion__body__content-part','ck-hidden','headerView','showChangeInText','1797960nimYbE','addMany','5401296uNdvUU','partDefinition','items','insertSuggestion','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part__title__label','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part__title','change:state','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','delegate','AI_SUGGESTION_CONTENT_PART_OUTDATED','updateContent','AI_SUGGESTION_CONTENT_PART_DELETE','execute','isEnabled','rejectSuggestion','index','hasChanges','_toolbarView','ck-ai-suggestion__body__content-part__content','toggleHeader','extendTemplate','fire','element','_iconStateOutdated','toString','_iconStateRejected','div','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__icon-accepted','5954480KpPfdL','ck-ai-suggestion__body__content-part__icon-title','has','children','26DmQEPr','bind','remove','animation:\x20ck-html-streamer-fade-in\x20.5s','pending','ck-content','33638232LkhMTj','11262244PiYyzQ','_iconStateAccepted'];_0xafa5=function(){return _0x420f32;};return _0xafa5();}import{getTranslation as _0x222933}from'../../utils/common-translations.js';import{serialize as _0x5576df}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55a77d}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x3c8587{[_0x22b10a(0x11e)];[_0x22b10a(0x111)];[_0x22b10a(0x136)];[_0x22b10a(0x123)];constructor(_0x1f9f64,{part:_0x3c0655,areActionsDisabled:_0x3ffe4d}){const _0x210c00=_0x22b10a;super(_0x1f9f64),this[_0x210c00(0x127)](_0x210c00(0x13b),_0x3c0655),this[_0x210c00(0x127)](_0x210c00(0x12b),_0x210c00(0x116)),this[_0x210c00(0x127)](_0x210c00(0x11d),!0x1),this[_0x210c00(0x113)](_0x210c00(0x14c))['to'](this,_0x210c00(0x12b),_0x1f6fac=>_0x210c00(0x116)==_0x1f6fac&&!_0x3ffe4d),this[_0x210c00(0x111)]=this[_0x210c00(0x12c)](),this[_0x210c00(0x11e)]=new _0x371f0f({'textNodeStyle':_0x210c00(0x115),'delay':0x14}),this[_0x210c00(0x136)]=new Vn(_0x1f9f64,_0x3c0655),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x13b))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x14c))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x12b))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x147)](..._0x55a77d)['to'](this);const _0x21e955=this[_0x210c00(0x133)];this[_0x210c00(0x123)]=new _0x3c8587(),this[_0x210c00(0x123)][_0x210c00(0x130)]({'tag':_0x210c00(0x10b),'attributes':{'class':['ck',_0x210c00(0x117),_0x210c00(0x126),_0x210c00(0x103)]}}),this[_0x210c00(0x111)][_0x210c00(0x139)]([this[_0x210c00(0x123)]]),this[_0x210c00(0x130)]({'tag':_0x210c00(0x10b),'attributes':{'class':['ck',_0x210c00(0x134),_0x21e955['to'](_0x210c00(0x12b),_0xb6ec55=>_0x210c00(0x145)+_0xb6ec55),_0x21e955['to'](_0x210c00(0x14c),_0x281081=>_0x281081?_0x210c00(0x132):void 0x0),_0x21e955['if'](_0x210c00(0x11d),_0x210c00(0x135),_0x2eccfa=>!_0x2eccfa)]},'children':this[_0x210c00(0x111)],'on':{'mouseenter':_0x21e955['to'](()=>{const _0x257e8c=_0x210c00;this[_0x257e8c(0x14c)]&&this[_0x257e8c(0x106)](_0x257e8c(0x12f),{'index':_0x3c0655[_0x257e8c(0x100)]});}),'mouseleave':_0x21e955['to'](()=>{const _0x46803c=_0x210c00;this[_0x46803c(0x14c)]&&this[_0x46803c(0x106)](_0x46803c(0x13e),{'index':_0x3c0655[_0x46803c(0x100)]});})}});}async[_0x22b10a(0x149)]({part:_0x267d3d,renderingStrategy:_0x369a5d,showUnchangedParts:_0x33b4ac=!0x1,abortSignal:_0x48b6a2}){const _0x31b2a3=_0x22b10a;this[_0x31b2a3(0x13b)]=_0x267d3d,this[_0x31b2a3(0x11d)]=this[_0x31b2a3(0x13b)][_0x31b2a3(0x101)]||_0x33b4ac,this[_0x31b2a3(0x11d)]&&(_0x31b2a3(0x11b)===_0x369a5d?await this[_0x31b2a3(0x11e)][_0x31b2a3(0x128)]({'document':this[_0x31b2a3(0x13b)][_0x31b2a3(0x120)],'targetElement':this[_0x31b2a3(0x123)][_0x31b2a3(0x107)],'abortSignal':_0x48b6a2}):this[_0x31b2a3(0x123)][_0x31b2a3(0x107)][_0x31b2a3(0x12d)]=_0x5576df(this[_0x31b2a3(0x13b)][_0x31b2a3(0x120)]));}[_0x22b10a(0x104)](_0x580f81){const _0x4aa22e=_0x22b10a;_0x580f81?this[_0x4aa22e(0x111)][_0x4aa22e(0x110)](this[_0x4aa22e(0x136)])||this[_0x4aa22e(0x111)][_0x4aa22e(0x12a)](this[_0x4aa22e(0x136)],0x0):this[_0x4aa22e(0x111)][_0x4aa22e(0x110)](this[_0x4aa22e(0x136)])&&this[_0x4aa22e(0x111)][_0x4aa22e(0x114)](this[_0x4aa22e(0x136)]);}}class Vn extends _0x3c8587{[_0x22b10a(0x111)];[_0x22b10a(0x102)];[_0x22b10a(0x11a)];[_0x22b10a(0x10a)];[_0x22b10a(0x108)];constructor(_0x2d5487,_0x24ede8){const _0x55a22f=_0x22b10a;super(_0x2d5487),this[_0x55a22f(0x127)](_0x55a22f(0x13b),_0x24ede8),this[_0x55a22f(0x127)](_0x55a22f(0x14c),!0x0),this[_0x55a22f(0x127)](_0x55a22f(0x12b),_0x55a22f(0x116));const _0x56f098=new _0x489b99();_0x56f098[_0x55a22f(0x120)]=_0x35df08,_0x56f098[_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x10f)]}});const _0x3abcd3=new _0x272479(_0x2d5487);_0x3abcd3[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x141)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3b5fdc}),_0x3abcd3[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),_0x3abcd3['on'](_0x55a22f(0x14b),()=>{const _0x3759f1=_0x55a22f;this[_0x3759f1(0x106)](_0x3759f1(0x137),{'index':_0x24ede8[_0x3759f1(0x100)]});});const _0x4433da=new _0x272479(_0x2d5487);_0x4433da[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x142)),'tooltip':!0x0,'withText':!0x1,'icon':_0xc179be}),_0x4433da[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),_0x4433da['on'](_0x55a22f(0x14b),()=>{const _0x4049b3=_0x55a22f;this[_0x4049b3(0x106)](_0x4049b3(0x13d),{'index':_0x24ede8[_0x4049b3(0x100)]});});const _0x286b0c=new _0x272479(_0x2d5487);_0x286b0c[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x14a)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1c4b12}),_0x286b0c['on'](_0x55a22f(0x14b),()=>{const _0x5cef43=_0x55a22f;this[_0x5cef43(0x106)](_0x5cef43(0x14d),{'index':_0x24ede8[_0x5cef43(0x100)]});}),_0x286b0c[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),this[_0x55a22f(0x102)]=new _0x549ce9(_0x2d5487),this[_0x55a22f(0x102)][_0x55a22f(0x13c)][_0x55a22f(0x139)]([_0x3abcd3,_0x4433da,_0x286b0c]),this[_0x55a22f(0x11a)]=new _0x489b99(),this[_0x55a22f(0x11a)][_0x55a22f(0x120)]=_0x33e787,this[_0x55a22f(0x11a)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x10d)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x146)),'data-cke-tooltip-position':'n'}}),this[_0x55a22f(0x10a)]=new _0x489b99(),this[_0x55a22f(0x10a)][_0x55a22f(0x120)]=_0x2f8135,this[_0x55a22f(0x10a)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x124)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x12e)),'data-cke-tooltip-position':'n'}}),this[_0x55a22f(0x108)]=new _0x489b99(),this[_0x55a22f(0x108)][_0x55a22f(0x120)]=_0x2f8135,this[_0x55a22f(0x108)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x140)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x148)),'data-cke-tooltip-position':'n'}});const _0x10de64=new _0x3c8587(_0x2d5487);_0x10de64[_0x55a22f(0x130)]({'tag':_0x55a22f(0x129),'attributes':{'class':['ck',_0x55a22f(0x13f)]},'children':[_0x222933(_0x2d5487,_0x55a22f(0x10c),(_0x24ede8[_0x55a22f(0x100)]+0x1)[_0x55a22f(0x109)]())]}),this[_0x55a22f(0x111)]=this[_0x55a22f(0x12c)](),this[_0x55a22f(0x111)][_0x55a22f(0x139)]([_0x56f098,_0x10de64,this[_0x55a22f(0x102)]]),this[_0x55a22f(0x130)]({'tag':_0x55a22f(0x10b),'attributes':{'class':['ck',_0x55a22f(0x126),_0x55a22f(0x143)]},'children':this[_0x55a22f(0x111)]}),this['on'](_0x55a22f(0x144),(_0x5358bf,_0x35ef53,_0xd5ca90,_0xb27e58)=>{const _0x4a312a=_0x55a22f;switch(_0xb27e58){case _0x4a312a(0x116):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x102)]);break;case _0x4a312a(0x11f):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x11a)]);break;case _0x4a312a(0x131):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x10a)]);break;case _0x4a312a(0x121):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x108)]);}switch(_0xd5ca90){case _0x4a312a(0x116):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x102)]);break;case _0x4a312a(0x11f):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x11a)]);break;case _0x4a312a(0x131):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x10a)]);break;case _0x4a312a(0x121):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x108)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f2aed=_0x2f8b;(function(_0x12697d,_0x3c8073){const _0x14637f=_0x2f8b,_0x2fe1b6=_0x12697d();while(!![]){try{const _0x3b972f=parseInt(_0x14637f(0x200))/0x1*(parseInt(_0x14637f(0x1f4))/0x2)+-parseInt(_0x14637f(0x1ff))/0x3*(-parseInt(_0x14637f(0x201))/0x4)+-parseInt(_0x14637f(0x209))/0x5+-parseInt(_0x14637f(0x208))/0x6+parseInt(_0x14637f(0x207))/0x7*(parseInt(_0x14637f(0x202))/0x8)+parseInt(_0x14637f(0x210))/0x9*(parseInt(_0x14637f(0x1fa))/0xa)+parseInt(_0x14637f(0x217))/0xb;if(_0x3b972f===_0x3c8073)break;else _0x2fe1b6['push'](_0x2fe1b6['shift']());}catch(_0x8b51e3){_0x2fe1b6['push'](_0x2fe1b6['shift']());}}}(_0x5d0c,0x76423));import{getTranslation as _0x34ad29}from'../../utils/common-translations.js';function _0x5d0c(){const _0x1a4fb7=['toggleShowChanges','18CxlDEM','93306YfjvFY','20632MbjDmj','2192136RAcKaJ','execute','showDiff','setTemplate','ck-ai-suggestion__header','7WhxfQn','2904456bLQzAM','514940iZPHBP','set','showHeader','AI_SUGGESTION_BUTTON_SHOW_CHANGES','fire','content','ck-hidden','45xqHsFm','children','AI_SUGGESTION_HEADER_TITLE','filter','render','isShowChangesToggleVisible','bind','6167590vgGxPB','showChangesToggleView','span','2pnGyON','iconView','add','ck-ai-suggestion__header__show-changes-toggle','div','isVisible','224980dVEFEC','isOn','icon','remove'];_0x5d0c=function(){return _0x1a4fb7;};return _0x5d0c();}import{ButtonView as _0x2dd6be,IconView as _0x30b577,View as _0x557cd1}from'ckeditor5/src/ui.js';import{IconDocument as _0x313edd,IconShowChangesOff as _0x2d3310,IconShowChangesOn as _0x5384bb}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x557cd1{[_0x5f2aed(0x218)];constructor(_0x23f795,_0x36d422){const _0xfa4e67=_0x5f2aed;super(_0x23f795),this[_0xfa4e67(0x20a)](_0xfa4e67(0x215),!0x0),this[_0xfa4e67(0x218)]=new ShowChangesToggleView(_0x23f795),this[_0xfa4e67(0x218)][_0xfa4e67(0x20a)]({'class':_0xfa4e67(0x1f7),'label':_0x34ad29(_0x23f795,_0xfa4e67(0x20c)),'withText':!0x0}),this[_0xfa4e67(0x218)][_0xfa4e67(0x1fb)]=_0x36d422[_0xfa4e67(0x204)],this[_0xfa4e67(0x218)][_0xfa4e67(0x216)](_0xfa4e67(0x1f9))['to'](this,_0xfa4e67(0x215)),this[_0xfa4e67(0x218)][_0xfa4e67(0x216)](_0xfa4e67(0x1fc))['to'](this[_0xfa4e67(0x218)],_0xfa4e67(0x1fb),_0x5575d1=>_0x5575d1?_0x5384bb:_0x2d3310),this[_0xfa4e67(0x218)]['on'](_0xfa4e67(0x203),()=>{const _0x4d50d0=_0xfa4e67;this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)]=!this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)],this[_0x4d50d0(0x20d)](_0x4d50d0(0x1fe),{'isOn':this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)]});});const _0x1a9739=new _0x30b577();_0x1a9739[_0xfa4e67(0x20e)]=_0x313edd,this[_0xfa4e67(0x205)]({'tag':_0xfa4e67(0x1f8),'attributes':{'class':['ck',_0xfa4e67(0x206),!0x1===_0x36d422[_0xfa4e67(0x20b)]?_0xfa4e67(0x20f):null][_0xfa4e67(0x213)](Boolean)},'children':[_0x1a9739,{'tag':_0xfa4e67(0x219),'children':[_0x34ad29(_0x23f795,_0xfa4e67(0x212))]},this[_0xfa4e67(0x218)]]});}}function _0x2f8b(_0x578736,_0x282f4a){const _0x5d0c5b=_0x5d0c();return _0x2f8b=function(_0x2f8b35,_0x53203d){_0x2f8b35=_0x2f8b35-0x1f4;let _0x31b255=_0x5d0c5b[_0x2f8b35];return _0x31b255;},_0x2f8b(_0x578736,_0x282f4a);}export class ShowChangesToggleView extends _0x2dd6be{[_0x5f2aed(0x214)](){const _0x35cfc3=_0x5f2aed;super[_0x35cfc3(0x214)](),this[_0x35cfc3(0x211)][_0x35cfc3(0x1fd)](this[_0x35cfc3(0x1f5)]),this[_0x35cfc3(0x211)][_0x35cfc3(0x1f6)](this[_0x35cfc3(0x1f5)]);}}
23
+ const _0xb45e58=_0x549e;(function(_0xf5105,_0x1dea2a){const _0x52aa61=_0x549e,_0x562768=_0xf5105();while(!![]){try{const _0x37543e=-parseInt(_0x52aa61(0x1b7))/0x1+-parseInt(_0x52aa61(0x1b8))/0x2+parseInt(_0x52aa61(0x1c8))/0x3*(-parseInt(_0x52aa61(0x1c5))/0x4)+-parseInt(_0x52aa61(0x1cf))/0x5+-parseInt(_0x52aa61(0x1b4))/0x6*(-parseInt(_0x52aa61(0x1d3))/0x7)+parseInt(_0x52aa61(0x1b2))/0x8+parseInt(_0x52aa61(0x1be))/0x9;if(_0x37543e===_0x1dea2a)break;else _0x562768['push'](_0x562768['shift']());}catch(_0x7fb182){_0x562768['push'](_0x562768['shift']());}}}(_0x30d9,0x8b8c6));import{getTranslation as _0x5d72e5}from'../../utils/common-translations.js';import{ButtonView as _0x1bb466,IconView as _0x4c83aa,View as _0x3d934e}from'ckeditor5/src/ui.js';import{IconDocument as _0xd03564,IconShowChangesOff as _0x5bd935,IconShowChangesOn as _0x1f9bc6}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3d934e{[_0xb45e58(0x1cd)];constructor(_0xd1b3c3,_0x2ce5ef){const _0x307106=_0xb45e58;super(_0xd1b3c3),this[_0x307106(0x1ba)](_0x307106(0x1b1),!0x0),this[_0x307106(0x1cd)]=new ShowChangesToggleView(_0xd1b3c3),this[_0x307106(0x1cd)][_0x307106(0x1ba)]({'class':_0x307106(0x1ca),'label':_0x5d72e5(_0xd1b3c3,_0x307106(0x1c0)),'withText':!0x0}),this[_0x307106(0x1cd)][_0x307106(0x1bc)]=_0x2ce5ef[_0x307106(0x1c9)],this[_0x307106(0x1cd)][_0x307106(0x1c4)](_0x307106(0x1c6))['to'](this,_0x307106(0x1b1)),this[_0x307106(0x1cd)][_0x307106(0x1c4)](_0x307106(0x1cb))['to'](this[_0x307106(0x1cd)],_0x307106(0x1bc),_0x2ce3fe=>_0x2ce3fe?_0x1f9bc6:_0x5bd935),this[_0x307106(0x1cd)]['on'](_0x307106(0x1b5),()=>{const _0x5395d1=_0x307106;this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)]=!this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)],this[_0x5395d1(0x1c7)](_0x5395d1(0x1d0),{'isOn':this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)]});});const _0x2d5748=new _0x4c83aa();_0x2d5748[_0x307106(0x1cc)]=_0xd03564,this[_0x307106(0x1bb)]({'tag':_0x307106(0x1c1),'attributes':{'class':['ck',_0x307106(0x1bf),!0x1===_0x2ce5ef[_0x307106(0x1d1)]?_0x307106(0x1b9):null][_0x307106(0x1bd)](Boolean)},'children':[_0x2d5748,{'tag':_0x307106(0x1d2),'children':[_0x5d72e5(_0xd1b3c3,_0x307106(0x1c3))]},this[_0x307106(0x1cd)]]});}}function _0x30d9(){const _0x198be6=['ck-ai-suggestion__header','AI_SUGGESTION_BUTTON_SHOW_CHANGES','div','iconView','AI_SUGGESTION_HEADER_TITLE','bind','16316rvJEUJ','isVisible','fire','738qBorXy','showDiff','ck-ai-suggestion__header__show-changes-toggle','icon','content','showChangesToggleView','remove','3658990KSdbZB','toggleShowChanges','showHeader','span','7PEPxIO','render','isShowChangesToggleVisible','4061600JacmFQ','children','167604dKEfii','execute','add','613292gNIVis','138876VgqweF','ck-hidden','set','setTemplate','isOn','filter','22085262hUcAEe'];_0x30d9=function(){return _0x198be6;};return _0x30d9();}function _0x549e(_0x5bd8ee,_0x150635){const _0x30d9f6=_0x30d9();return _0x549e=function(_0x549ede,_0x2e2971){_0x549ede=_0x549ede-0x1b1;let _0xf0b19f=_0x30d9f6[_0x549ede];return _0xf0b19f;},_0x549e(_0x5bd8ee,_0x150635);}export class ShowChangesToggleView extends _0x1bb466{[_0xb45e58(0x1d4)](){const _0x23c185=_0xb45e58;super[_0x23c185(0x1d4)](),this[_0x23c185(0x1b3)][_0x23c185(0x1ce)](this[_0x23c185(0x1c2)]),this[_0x23c185(0x1b3)][_0x23c185(0x1b6)](this[_0x23c185(0x1c2)]);}}