@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.3

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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a9c49=_0x4ea8;(function(_0x58bc00,_0x419698){const _0x5b4045=_0x4ea8,_0x14fcd6=_0x58bc00();while(!![]){try{const _0x4d59d1=parseInt(_0x5b4045(0x230))/0x1*(parseInt(_0x5b4045(0x233))/0x2)+-parseInt(_0x5b4045(0x209))/0x3+parseInt(_0x5b4045(0x23a))/0x4*(-parseInt(_0x5b4045(0x225))/0x5)+-parseInt(_0x5b4045(0x1f4))/0x6+parseInt(_0x5b4045(0x1ef))/0x7*(-parseInt(_0x5b4045(0x21a))/0x8)+parseInt(_0x5b4045(0x234))/0x9+parseInt(_0x5b4045(0x216))/0xa;if(_0x4d59d1===_0x419698)break;else _0x14fcd6['push'](_0x14fcd6['shift']());}catch(_0x1bc348){_0x14fcd6['push'](_0x14fcd6['shift']());}}}(_0x3d12,0x1cce0));import{ObservableMixin as _0x7bf6b0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x501454}from'../adapters/aiadapter.js';function _0x3d12(){const _0x546a67=['length','startsWith','then','ELEMENT_NODE','5372400gHNiPw','_isH1TagSupportEnabled','stringify','value','8tAFWeV','finally','createElement','prompt','_domParser','substring','editing','isProcessing','```','previousLabel','domConverter','24490HivPcy','childNodes','<h1></h1>','clear','isRendered','stopListening','text/html','once','reset','_handleQuery','innerHTML','1wKbVLB','element','setContentOf','289502FvldnS','80775ZljAFX','markers','message','initialContext','tryAgainEvent','_stripMarkdownSyntax','124gdoeiv','currentResponse','div','parseFromString','name','_normalizeResponseHeadings','toModel','nodeType','_sanitizeHTML','_sanitizationContainer','handleError','```html','trim','finishProcessing','_parseAndNormalizeContent','textAdapter','mainAction','match','destroy','endsWith','previousActionId','processor','rename','set:currentContext','viewToDom','1135078raeXIg','toView','htmlProcessor','remove','stopProcessing','1038114eFxhgK','reverse','updateView','startProcessing','querySelector','data','editor','abort','listenTo','get','document','exec','push','submitPrompt','set','serializeToString','previousQuery','catch','config','custom','previousContext','257913APJxdF','body','view','ai.assistant.preserveComments','_xmlSerializer','from','makeRequest','render','currentContext'];_0x3d12=function(){return _0x546a67;};return _0x3d12();}function _0x4ea8(_0xe6153d,_0x27ed42){const _0x3d123b=_0x3d12();return _0x4ea8=function(_0x4ea8fa,_0xf7e895){_0x4ea8fa=_0x4ea8fa-0x1ea;let _0x4bcd39=_0x3d123b[_0x4ea8fa];return _0x4bcd39;},_0x4ea8(_0xe6153d,_0x27ed42);}import{Matcher as _0x3908e6,ViewUpcastWriter as _0x235ad3}from'ckeditor5/src/engine.js';const th=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x7bf6b0(){[_0x1a9c49(0x1fa)];[_0x1a9c49(0x249)];[_0x1a9c49(0x20b)];[_0x1a9c49(0x243)];[_0x1a9c49(0x21e)];[_0x1a9c49(0x20d)];constructor(_0x527de1,_0x4c9fde,_0x2359f8){const _0x219868=_0x1a9c49;super(),this[_0x219868(0x1fa)]=_0x527de1,this[_0x219868(0x249)]=_0x4c9fde,this[_0x219868(0x243)]=document[_0x219868(0x21c)](_0x219868(0x23c)),this[_0x219868(0x21e)]=new DOMParser(),this[_0x219868(0x20d)]=new XMLSerializer(),this[_0x219868(0x20b)]=_0x2359f8,this[_0x219868(0x202)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x219868(0x1ed),(_0x5578f0,_0x3e02f5,_0x4c817e)=>{const _0x1fc0dc=_0x219868;this[_0x1fc0dc(0x20b)][_0x1fc0dc(0x219)]=this[_0x1fc0dc(0x242)](_0x4c817e);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x201),(_0x23851a,_0xadfecd)=>{const _0x474dbf=_0x219868,_0x1bbb20=this[_0x474dbf(0x211)]||this[_0x474dbf(0x237)];this[_0x474dbf(0x22e)](_0xadfecd,_0x1bbb20,_0x474dbf(0x207));}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x238),()=>{const _0x584f12=_0x219868;this[_0x584f12(0x20b)][_0x584f12(0x21d)]=this[_0x584f12(0x223)],this[_0x584f12(0x22e)](this[_0x584f12(0x204)],this[_0x584f12(0x208)],this[_0x584f12(0x1ea)],this[_0x584f12(0x223)]);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x1f3),()=>{const _0x262cb3=_0x219868;this[_0x262cb3(0x1f3)]();});}[_0x1a9c49(0x24c)](){const _0x560e94=_0x1a9c49;this[_0x560e94(0x22a)]();}async[_0x1a9c49(0x1f6)]({actionId:_0x4a5fd2,query:_0x10a968,htmlContent:_0x237297,label:_0x57b3a3,mainActionLabel:_0x2ec8bd}){const _0x2490b1=_0x1a9c49;this[_0x2490b1(0x20b)][_0x2490b1(0x21d)]=_0x57b3a3,this[_0x2490b1(0x20b)][_0x2490b1(0x24a)]=_0x2ec8bd,this[_0x2490b1(0x237)]=_0x237297,_0x10a968&&(this[_0x2490b1(0x20b)][_0x2490b1(0x229)]?this[_0x2490b1(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3):this[_0x2490b1(0x20b)][_0x2490b1(0x22c)](_0x2490b1(0x210),()=>{const _0x4abd53=_0x2490b1;this[_0x4abd53(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3);}));}[_0x1a9c49(0x1f3)](){const _0x4482a0=_0x1a9c49;this[_0x4482a0(0x221)]&&(this[_0x4482a0(0x221)]=!0x1,this[_0x4482a0(0x20b)][_0x4482a0(0x247)](),this[_0x4482a0(0x249)][_0x4482a0(0x1fb)]());}[_0x1a9c49(0x22d)](){const _0x5561db=_0x1a9c49;this[_0x5561db(0x237)]='',this[_0x5561db(0x211)]='',this[_0x5561db(0x23b)]='',this[_0x5561db(0x208)]='',this[_0x5561db(0x204)]='',this[_0x5561db(0x223)]='',this[_0x5561db(0x1ea)]=void 0x0,this[_0x5561db(0x20b)][_0x5561db(0x22d)](),this[_0x5561db(0x1f3)]();}async[_0x1a9c49(0x22e)](_0x588274,_0x27ca47,_0xc9a8a1,_0x3a0ffb){const _0x5469ec=_0x1a9c49;return this[_0x5469ec(0x221)]=!0x0,this[_0x5469ec(0x20b)][_0x5469ec(0x1f7)](),this[_0x5469ec(0x208)]=_0x27ca47,this[_0x5469ec(0x204)]=_0x588274,this[_0x5469ec(0x223)]=_0x3a0ffb||_0x588274,this[_0x5469ec(0x1ea)]=_0xc9a8a1,new Promise(_0x46d531=>{const _0x532386=_0x5469ec;this[_0x532386(0x249)][_0x532386(0x20f)]({'query':_0x588274,'context':_0x27ca47,'onData':_0x3d3285=>{const _0x5dd13e=_0x532386;this[_0x5dd13e(0x23b)]=_0x3d3285,this[_0x5dd13e(0x211)]=this[_0x5dd13e(0x248)](this[_0x5dd13e(0x23b)]);},'actionId':_0xc9a8a1})[_0x532386(0x214)](()=>{const _0x4b4e16=_0x532386;!this[_0x4b4e16(0x211)]&&this[_0x4b4e16(0x23b)]&&(this[_0x4b4e16(0x211)]=this[_0x4b4e16(0x248)](this[_0x4b4e16(0x23b)],!0x0));})[_0x532386(0x205)](_0xe4691d=>{const _0x47a129=_0x532386;_0xe4691d instanceof _0x501454?this[_0x47a129(0x20b)][_0x47a129(0x244)](_0xe4691d[_0x47a129(0x236)]):this[_0x47a129(0x20b)][_0x47a129(0x244)](),_0x46d531();})[_0x532386(0x21b)](()=>{const _0x29f0dd=_0x532386;this[_0x29f0dd(0x1f3)](),_0x46d531();});});}[_0x1a9c49(0x248)](_0x3f50d4,_0x1ec062=!0x1){const _0x90614=_0x1a9c49,_0x35d1b9=th[_0x90614(0x1ff)](_0x3f50d4);_0x3f50d4=_0x35d1b9?_0x3f50d4[_0x90614(0x21f)](_0x35d1b9[0x1][_0x90614(0x212)]):_0x3f50d4[_0x90614(0x212)]<0x64&&!_0x1ec062?'':this[_0x90614(0x239)](_0x3f50d4);const _0x4e276c=this[_0x90614(0x21e)][_0x90614(0x23d)](_0x3f50d4,_0x90614(0x22b));if(_0x35d1b9){const _0x3202c6=Array[_0x90614(0x20e)](_0x4e276c[_0x90614(0x20a)][_0x90614(0x226)]);_0x3202c6[_0x90614(0x1f5)]();for(const _0x2322e4 of _0x3202c6){if(_0x2322e4[_0x90614(0x241)]==Node[_0x90614(0x215)])break;_0x2322e4[_0x90614(0x1f2)]();}}const _0x3cc7f1=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x1eb)][_0x90614(0x1f0)](this[_0x90614(0x20d)][_0x90614(0x203)](_0x4e276c[_0x90614(0x20a)]));this[_0x90614(0x217)]()||this[_0x90614(0x23f)](_0x3cc7f1);const _0x3f5173=this[_0x90614(0x1fa)][_0x90614(0x206)][_0x90614(0x1fd)](_0x90614(0x20c)),_0x20ca93=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x240)](_0x3cc7f1);return _0x3f5173||_0x20ca93[_0x90614(0x235)][_0x90614(0x228)](),this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x218)](_0x20ca93);}[_0x1a9c49(0x23f)](_0x1ed7c9){const _0x2f0197=_0x1a9c49,_0x30c846=new _0x235ad3(this[_0x2f0197(0x1fa)][_0x2f0197(0x220)][_0x2f0197(0x20b)][_0x2f0197(0x1fe)]),_0x44ac10=new _0x3908e6({'name':/^h[1-5]$/}),_0x42585c=[];let _0x2a54ff=!0x1;for(const _0x4e2d7a of _0x1ed7c9)_0x4e2d7a['is'](_0x2f0197(0x231))&&_0x44ac10[_0x2f0197(0x24b)](_0x4e2d7a)&&(_0x42585c[_0x2f0197(0x200)](_0x4e2d7a),'h1'==_0x4e2d7a[_0x2f0197(0x23e)]&&(_0x2a54ff=!0x0));if(_0x2a54ff){for(const _0x5021ab of _0x42585c)_0x30c846[_0x2f0197(0x1ec)]('h'+(parseInt(_0x5021ab[_0x2f0197(0x23e)][0x1])+0x1),_0x5021ab);}}[_0x1a9c49(0x217)](){const _0xfc60d=_0x1a9c49,{data:_0x10438c,editing:_0x50bb60}=this[_0xfc60d(0x1fa)],_0x587a86=_0x10438c[_0xfc60d(0x1f1)][_0xfc60d(0x1f0)](_0xfc60d(0x227)),_0x2cc616=_0x10438c[_0xfc60d(0x1f0)](_0x10438c[_0xfc60d(0x240)](_0x587a86));return!!_0x50bb60[_0xfc60d(0x20b)][_0xfc60d(0x224)][_0xfc60d(0x1ee)](_0x2cc616)[_0xfc60d(0x1f8)]('h1');}[_0x1a9c49(0x242)](_0x4a69c8){const _0x488dc1=_0x1a9c49;return this[_0x488dc1(0x1fa)][_0x488dc1(0x220)][_0x488dc1(0x20b)][_0x488dc1(0x224)][_0x488dc1(0x232)](this[_0x488dc1(0x243)],_0x4a69c8),this[_0x488dc1(0x243)][_0x488dc1(0x22f)];}[_0x1a9c49(0x239)](_0xe6da9){const _0x1ec4d0=_0x1a9c49,_0x2885cb=_0xe6da9[_0x1ec4d0(0x246)]();return _0x2885cb[_0x1ec4d0(0x213)](_0x1ec4d0(0x245))?_0x2885cb[_0x1ec4d0(0x24d)](_0x1ec4d0(0x222))?_0x2885cb[_0x1ec4d0(0x21f)](0x7,_0x2885cb[_0x1ec4d0(0x212)]-0x3):_0x2885cb[_0x1ec4d0(0x21f)](0x7):_0xe6da9;}}
23
+ function _0x1a01(_0x283ab8,_0x2dcb47){const _0x5b8890=_0x5b88();return _0x1a01=function(_0x1a01b0,_0x14bee5){_0x1a01b0=_0x1a01b0-0x1bf;let _0x6012b8=_0x5b8890[_0x1a01b0];return _0x6012b8;},_0x1a01(_0x283ab8,_0x2dcb47);}const _0x3d1a98=_0x1a01;(function(_0x30a10d,_0x174718){const _0x401727=_0x1a01,_0x4982e9=_0x30a10d();while(!![]){try{const _0x2e330f=parseInt(_0x401727(0x218))/0x1+-parseInt(_0x401727(0x1ee))/0x2+-parseInt(_0x401727(0x1f4))/0x3+-parseInt(_0x401727(0x21f))/0x4+-parseInt(_0x401727(0x208))/0x5*(parseInt(_0x401727(0x1d9))/0x6)+-parseInt(_0x401727(0x20c))/0x7+parseInt(_0x401727(0x21c))/0x8;if(_0x2e330f===_0x174718)break;else _0x4982e9['push'](_0x4982e9['shift']());}catch(_0x922dc3){_0x4982e9['push'](_0x4982e9['shift']());}}}(_0x5b88,0xbc2d4));import{ObservableMixin as _0xeee01b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x201951}from'../adapters/aiadapter.js';import{Matcher as _0x416040,ViewUpcastWriter as _0x2490e1}from'ckeditor5/src/engine.js';function _0x5b88(){const _0xbeaa67=['endsWith','destroy','reset','7242011DfYDoJ','_sanitizationContainer','custom','htmlProcessor','textAdapter','render','length','parseFromString','tryAgainEvent','_handleQuery','editing','document','967152oculmE','initialContext','data','```html','22830024cAJXdy','_domParser','once','2553484aIXUqM','querySelector','<h1></h1>','set:currentContext','stopProcessing','mainAction','prompt','then','substring','toModel','viewToDom','div','previousContext','_parseAndNormalizeContent','isRendered','currentResponse','element','startProcessing','stopListening','updateView','handleError','submitPrompt','config','_xmlSerializer','set','stringify','push','abort','6MBcqMk','catch','previousActionId','createElement','nodeType','processor','_normalizeResponseHeadings','toView','domConverter','isProcessing','ELEMENT_NODE','finally','get','clear','startsWith','_stripMarkdownSyntax','text/html','previousLabel','reverse','_sanitizeHTML','match','579866xMDZZR','from','body','rename','_isH1TagSupportEnabled','trim','2605818txPqWI','listenTo','name','currentContext','```','setContentOf','message','previousQuery','serializeToString','finishProcessing','view','editor','makeRequest','childNodes','ai.assistant.preserveComments','exec','innerHTML','value','markers','remove','1093250xFEVNj'];_0x5b88=function(){return _0xbeaa67;};return _0x5b88();}const as=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0xeee01b(){[_0x3d1a98(0x1ff)];[_0x3d1a98(0x210)];[_0x3d1a98(0x1fe)];[_0x3d1a98(0x20d)];[_0x3d1a98(0x21d)];[_0x3d1a98(0x1d4)];constructor(_0x43440d,_0x2b64dd,_0x4384dd){const _0x110126=_0x3d1a98;super(),this[_0x110126(0x1ff)]=_0x43440d,this[_0x110126(0x210)]=_0x2b64dd,this[_0x110126(0x20d)]=document[_0x110126(0x1dc)](_0x110126(0x1c8)),this[_0x110126(0x21d)]=new DOMParser(),this[_0x110126(0x1d4)]=new XMLSerializer(),this[_0x110126(0x1fe)]=_0x4384dd,this[_0x110126(0x1d5)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x110126(0x1c0),(_0x52f476,_0x3ca385,_0x549065)=>{const _0x49d238=_0x110126;this[_0x49d238(0x1fe)][_0x49d238(0x205)]=this[_0x49d238(0x1ec)](_0x549065);}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x1d2),(_0xd01fb9,_0x1d77e7)=>{const _0x2091be=_0x110126,_0x82a784=this[_0x2091be(0x1f7)]||this[_0x2091be(0x219)];this[_0x2091be(0x215)](_0x1d77e7,_0x82a784,_0x2091be(0x20e));}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x214),()=>{const _0x5f26c2=_0x110126;this[_0x5f26c2(0x1fe)][_0x5f26c2(0x1c3)]=this[_0x5f26c2(0x1ea)],this[_0x5f26c2(0x215)](this[_0x5f26c2(0x1fb)],this[_0x5f26c2(0x1c9)],this[_0x5f26c2(0x1db)],this[_0x5f26c2(0x1ea)]);}),this[_0x110126(0x1f5)](this[_0x110126(0x1fe)],_0x110126(0x1c1),()=>{const _0x2791ad=_0x110126;this[_0x2791ad(0x1c1)]();});}[_0x3d1a98(0x20a)](){const _0x132c22=_0x3d1a98;this[_0x132c22(0x1cf)]();}async[_0x3d1a98(0x1d0)]({actionId:_0x28acd0,query:_0x507e00,htmlContent:_0x26144f,label:_0x3d235a,mainActionLabel:_0x306131}){const _0x1dd91b=_0x3d1a98;this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1c3)]=_0x3d235a,this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1c2)]=_0x306131,this[_0x1dd91b(0x219)]=_0x26144f,_0x507e00&&(this[_0x1dd91b(0x1fe)][_0x1dd91b(0x1cb)]?this[_0x1dd91b(0x215)](_0x507e00,_0x26144f,_0x28acd0,_0x3d235a):this[_0x1dd91b(0x1fe)][_0x1dd91b(0x21e)](_0x1dd91b(0x211),()=>{const _0x14eea9=_0x1dd91b;this[_0x14eea9(0x215)](_0x507e00,_0x26144f,_0x28acd0,_0x3d235a);}));}[_0x3d1a98(0x1c1)](){const _0x3fdd89=_0x3d1a98;this[_0x3fdd89(0x1e2)]&&(this[_0x3fdd89(0x1e2)]=!0x1,this[_0x3fdd89(0x1fe)][_0x3fdd89(0x1fd)](),this[_0x3fdd89(0x210)][_0x3fdd89(0x1d8)]());}[_0x3d1a98(0x20b)](){const _0x1aab15=_0x3d1a98;this[_0x1aab15(0x219)]='',this[_0x1aab15(0x1f7)]='',this[_0x1aab15(0x1cc)]='',this[_0x1aab15(0x1c9)]='',this[_0x1aab15(0x1fb)]='',this[_0x1aab15(0x1ea)]='',this[_0x1aab15(0x1db)]=void 0x0,this[_0x1aab15(0x1fe)][_0x1aab15(0x20b)](),this[_0x1aab15(0x1c1)]();}async[_0x3d1a98(0x215)](_0x1a8c7f,_0xa50288,_0x555983,_0x32fa41){const _0x5cd868=_0x3d1a98;return this[_0x5cd868(0x1e2)]=!0x0,this[_0x5cd868(0x1fe)][_0x5cd868(0x1ce)](),this[_0x5cd868(0x1c9)]=_0xa50288,this[_0x5cd868(0x1fb)]=_0x1a8c7f,this[_0x5cd868(0x1ea)]=_0x32fa41||_0x1a8c7f,this[_0x5cd868(0x1db)]=_0x555983,new Promise(_0x33e0b6=>{const _0x1735e6=_0x5cd868;this[_0x1735e6(0x210)][_0x1735e6(0x200)]({'query':_0x1a8c7f,'context':_0xa50288,'onData':_0x1e02e2=>{const _0x28c7c8=_0x1735e6;this[_0x28c7c8(0x1cc)]=_0x1e02e2,this[_0x28c7c8(0x1f7)]=this[_0x28c7c8(0x1ca)](this[_0x28c7c8(0x1cc)]);},'actionId':_0x555983})[_0x1735e6(0x1c4)](()=>{const _0x4dec37=_0x1735e6;!this[_0x4dec37(0x1f7)]&&this[_0x4dec37(0x1cc)]&&(this[_0x4dec37(0x1f7)]=this[_0x4dec37(0x1ca)](this[_0x4dec37(0x1cc)],!0x0));})[_0x1735e6(0x1da)](_0x1f8ae4=>{const _0x287147=_0x1735e6;_0x1f8ae4 instanceof _0x201951?this[_0x287147(0x1fe)][_0x287147(0x1d1)](_0x1f8ae4[_0x287147(0x1fa)]):this[_0x287147(0x1fe)][_0x287147(0x1d1)](),_0x33e0b6();})[_0x1735e6(0x1e4)](()=>{const _0x2e1188=_0x1735e6;this[_0x2e1188(0x1c1)](),_0x33e0b6();});});}[_0x3d1a98(0x1ca)](_0x5840e3,_0x16994f=!0x1){const _0x443816=_0x3d1a98,_0x46aaaf=as[_0x443816(0x203)](_0x5840e3);_0x5840e3=_0x46aaaf?_0x5840e3[_0x443816(0x1c5)](_0x46aaaf[0x1][_0x443816(0x212)]):_0x5840e3[_0x443816(0x212)]<0x64&&!_0x16994f?'':this[_0x443816(0x1e8)](_0x5840e3);const _0x32c4ca=this[_0x443816(0x21d)][_0x443816(0x213)](_0x5840e3,_0x443816(0x1e9));if(_0x46aaaf){const _0x2c37e0=Array[_0x443816(0x1ef)](_0x32c4ca[_0x443816(0x1f0)][_0x443816(0x201)]);_0x2c37e0[_0x443816(0x1eb)]();for(const _0x3cc310 of _0x2c37e0){if(_0x3cc310[_0x443816(0x1dd)]==Node[_0x443816(0x1e3)])break;_0x3cc310[_0x443816(0x207)]();}}const _0x3c9c44=this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1de)][_0x443816(0x1e0)](this[_0x443816(0x1d4)][_0x443816(0x1fc)](_0x32c4ca[_0x443816(0x1f0)]));this[_0x443816(0x1f2)]()||this[_0x443816(0x1df)](_0x3c9c44);const _0x2a2a59=this[_0x443816(0x1ff)][_0x443816(0x1d3)][_0x443816(0x1e5)](_0x443816(0x202)),_0x3690e3=this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1c6)](_0x3c9c44);return _0x2a2a59||_0x3690e3[_0x443816(0x206)][_0x443816(0x1e6)](),this[_0x443816(0x1ff)][_0x443816(0x21a)][_0x443816(0x1d6)](_0x3690e3);}[_0x3d1a98(0x1df)](_0x110eef){const _0x3a8def=_0x3d1a98,_0x22e494=new _0x2490e1(this[_0x3a8def(0x1ff)][_0x3a8def(0x216)][_0x3a8def(0x1fe)][_0x3a8def(0x217)]),_0x1b4d5f=new _0x416040({'name':/^h[1-5]$/}),_0x1dfd6e=[];let _0x2732d4=!0x1;for(const _0xa94508 of _0x110eef)_0xa94508['is'](_0x3a8def(0x1cd))&&_0x1b4d5f[_0x3a8def(0x1ed)](_0xa94508)&&(_0x1dfd6e[_0x3a8def(0x1d7)](_0xa94508),'h1'==_0xa94508[_0x3a8def(0x1f6)]&&(_0x2732d4=!0x0));if(_0x2732d4){for(const _0x3a6a92 of _0x1dfd6e)_0x22e494[_0x3a8def(0x1f1)]('h'+(parseInt(_0x3a6a92[_0x3a8def(0x1f6)][0x1])+0x1),_0x3a6a92);}}[_0x3d1a98(0x1f2)](){const _0x348952=_0x3d1a98,{data:_0x4a21b6,editing:_0x12ebbb}=this[_0x348952(0x1ff)],_0x2f746b=_0x4a21b6[_0x348952(0x20f)][_0x348952(0x1e0)](_0x348952(0x1bf)),_0x5f3fba=_0x4a21b6[_0x348952(0x1e0)](_0x4a21b6[_0x348952(0x1c6)](_0x2f746b));return!!_0x12ebbb[_0x348952(0x1fe)][_0x348952(0x1e1)][_0x348952(0x1c7)](_0x5f3fba)[_0x348952(0x220)]('h1');}[_0x3d1a98(0x1ec)](_0x59eced){const _0x124878=_0x3d1a98;return this[_0x124878(0x1ff)][_0x124878(0x216)][_0x124878(0x1fe)][_0x124878(0x1e1)][_0x124878(0x1f9)](this[_0x124878(0x20d)],_0x59eced),this[_0x124878(0x20d)][_0x124878(0x204)];}[_0x3d1a98(0x1e8)](_0x1fd490){const _0x24c4ac=_0x3d1a98,_0x5c313a=_0x1fd490[_0x24c4ac(0x1f3)]();return _0x5c313a[_0x24c4ac(0x1e7)](_0x24c4ac(0x21b))?_0x5c313a[_0x24c4ac(0x209)](_0x24c4ac(0x1f8))?_0x5c313a[_0x24c4ac(0x1c5)](0x7,_0x5c313a[_0x24c4ac(0x212)]-0x3):_0x5c313a[_0x24c4ac(0x1c5)](0x7):_0x1fd490;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ec2(_0x369aad,_0x51eaa8){const _0x5cb2de=_0x5cb2();return _0x3ec2=function(_0x3ec27f,_0x213d24){_0x3ec27f=_0x3ec27f-0x196;let _0x41d088=_0x5cb2de[_0x3ec27f];return _0x41d088;},_0x3ec2(_0x369aad,_0x51eaa8);}const _0x5f49de=_0x3ec2;function _0x5cb2(){const _0x2561b5=['scrollHeight','Copy','setEndBefore','_createLoader','ck-reset_all-excluded','wheel','4fELBds','body','removeAllRanges','4575380sSsUAD','scrollTo','isEnabled','class','setTemplate','remove','execute','textContent','ck-content','appendLoader','execCommand','5647167IJFbtj','change:isProcessing','ck-ai-form__content-area-wrapper','set','46YFBlYN','smooth','element','.ck-ai-form__loader','locale','copy','focus','_copyHTMLToClipboard','4216072etCjgV','position','ck-ai-form__content-area','_createCopyButton','6oPtSkY','10477ujbuAt','firstElementChild','isProcessing','ck-ai-form__loader','mousedown','setStartAfter','AI\x20is\x20writing...','listenTo','render','loaderView','ck-ai-form__content-area--processing','left','3345120dDFiUJ','createElement','bindTemplate','text/html','text/plain','-9999px','div','write','getSelection','\x20ck-ai-form__copy-button--copied','<span>[</span>','bind','ClipboardItem','clipboard','absolute','value','style','querySelector','createRange','1005815xbdbJJ','ck-ai-form__content-field','lastElementChild','icon','innerHTML','ck-ai-form__copy-button','ck-hidden','appendChild','change:value','contentFieldView','isVisible','1941351ERITBm','setContent','addRange','copyButtonView','ck-ai-form__copy-button-wrapper','<span>]</span>'];_0x5cb2=function(){return _0x2561b5;};return _0x5cb2();}(function(_0x5d38bb,_0x5c01dc){const _0x12ee99=_0x3ec2,_0x28f8b3=_0x5d38bb();while(!![]){try{const _0x11335b=parseInt(_0x12ee99(0x19c))/0x1*(parseInt(_0x12ee99(0x1e4))/0x2)+-parseInt(_0x12ee99(0x1c6))/0x3*(-parseInt(_0x12ee99(0x1d2))/0x4)+-parseInt(_0x12ee99(0x1bb))/0x5*(parseInt(_0x12ee99(0x19b))/0x6)+-parseInt(_0x12ee99(0x197))/0x7+parseInt(_0x12ee99(0x1a8))/0x8+-parseInt(_0x12ee99(0x1e0))/0x9+parseInt(_0x12ee99(0x1d5))/0xa;if(_0x11335b===_0x5c01dc)break;else _0x28f8b3['push'](_0x28f8b3['shift']());}catch(_0x2add4c){_0x28f8b3['push'](_0x28f8b3['shift']());}}}(_0x5cb2,0x5142c));import{global as _0x2539b6}from'ckeditor5/src/utils.js';import{View as _0x599c80,ButtonView as _0x51a053,SpinnerView as _0x34cd26}from'ckeditor5/src/ui.js';import{IconCheck as _0x3d4499,IconCopy as _0x28d8cf}from'ckeditor5/src/icons.js';import{getTranslation as _0x52ecfa}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x599c80{[_0x5f49de(0x1c4)];[_0x5f49de(0x1c9)];constructor(_0x69656d,_0x5baac2=''){const _0x105b3b=_0x5f49de;super(_0x69656d),this[_0x105b3b(0x1e3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x24a9df=this[_0x105b3b(0x1aa)];this[_0x105b3b(0x1c4)]=new ContentFieldView(_0x69656d,_0x5baac2),this[_0x105b3b(0x1c9)]=this[_0x105b3b(0x19a)](),this[_0x105b3b(0x1d9)]({'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1e2),_0x24a9df['if'](_0x105b3b(0x1c5),_0x105b3b(0x1c1),_0x2585d8=>!_0x2585d8)],'tabindex':'-1'},'children':[{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x199),_0x24a9df['if'](_0x105b3b(0x19e),_0x105b3b(0x1a6))]},'children':[this[_0x105b3b(0x1c4)],{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1ca)]},'children':[this[_0x105b3b(0x1c9)]]}]}]});}[_0x5f49de(0x1a4)](){const _0x411061=_0x5f49de;super[_0x411061(0x1a4)](),this[_0x411061(0x1b7)]&&this[_0x411061(0x1c4)][_0x411061(0x1c7)](this[_0x411061(0x1b7)]);let _0x500ba6=!0x1;this['on'](_0x411061(0x1c3),(_0x1b0a0a,_0x5d7f3a,_0x28a225)=>{const _0x2627d5=_0x411061,_0x427c5a=!this[_0x2627d5(0x1c4)][_0x2627d5(0x1e6)][_0x2627d5(0x1b9)](_0x2627d5(0x1e7));this[_0x2627d5(0x1c4)][_0x2627d5(0x1c7)](_0x28a225),this[_0x2627d5(0x19e)]&&_0x427c5a&&!_0x500ba6&&this[_0x2627d5(0x1e6)][_0x2627d5(0x1d6)]({'top':this[_0x2627d5(0x1e6)][_0x2627d5(0x1cc)],'behavior':_0x2627d5(0x1e5)});}),this['on'](_0x411061(0x1e1),(_0x236434,_0x50f497,_0x25c135)=>{const _0x47a70c=_0x411061;_0x500ba6=!0x1,_0x25c135?(this[_0x47a70c(0x1b7)]=null,this[_0x47a70c(0x1c4)][_0x47a70c(0x1de)]()):this[_0x47a70c(0x1b7)]||this[_0x47a70c(0x1c4)][_0x47a70c(0x1c7)]('');}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1d1),()=>{_0x500ba6=!0x0;}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1a0),()=>{_0x500ba6=!0x0;});}[_0x5f49de(0x1ea)](){const _0x4474f1=_0x5f49de;this[_0x4474f1(0x1e6)][_0x4474f1(0x1ea)]();}[_0x5f49de(0x19a)](){const _0x69495a=_0x5f49de,_0x1550a4=this[_0x69495a(0x1e8)],_0x23ced8=new _0x51a053(this[_0x69495a(0x1e8)]),_0x5b686c=_0x69495a(0x1c0);return _0x23ced8[_0x69495a(0x1e3)]({'label':_0x52ecfa(_0x1550a4,_0x69495a(0x1cd)),'icon':_0x28d8cf,'class':_0x5b686c,'tooltip':!0x0}),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1c5))['to'](this,_0x69495a(0x1b7),_0x38983f=>!!_0x38983f),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1d7))['to'](this,_0x69495a(0x19e),_0x9b0490=>!_0x9b0490),_0x23ced8['on'](_0x69495a(0x1db),()=>{const _0x3527ba=_0x69495a;this[_0x3527ba(0x196)](this[_0x3527ba(0x1c4)][_0x3527ba(0x1e6)]),_0x23ced8[_0x3527ba(0x1be)]=_0x3d4499,_0x23ced8[_0x3527ba(0x1d8)]=_0x5b686c+_0x3527ba(0x1b1),this[_0x3527ba(0x1ea)](),setTimeout(()=>{const _0x246df8=_0x3527ba;_0x23ced8[_0x246df8(0x1be)]=_0x28d8cf,_0x23ced8[_0x246df8(0x1d8)]=_0x5b686c;},0x3e8);}),_0x23ced8;}[_0x5f49de(0x196)](_0x52c6eb){const _0xf4d7f9=_0x5f49de,{window:_0x5375f4,document:_0x2bb488}=_0x2539b6;if(_0x5375f4[_0xf4d7f9(0x1b4)]){const {Blob:_0x492ea1,ClipboardItem:_0x4127b3}=_0x5375f4,_0xc8c67a=[new _0x4127b3({'text/html':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1bf)]],{'type':_0xf4d7f9(0x1ab)}),'text/plain':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1dc)]||''],{'type':_0xf4d7f9(0x1ac)})})];navigator[_0xf4d7f9(0x1b5)][_0xf4d7f9(0x1af)](_0xc8c67a);}else{const _0x927b57=_0x2bb488[_0xf4d7f9(0x1a9)](_0xf4d7f9(0x1ae));_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x198)]=_0xf4d7f9(0x1b6),_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x1a7)]=_0xf4d7f9(0x1ad),_0x927b57[_0xf4d7f9(0x1bf)]=_0xf4d7f9(0x1b2)+_0x52c6eb[_0xf4d7f9(0x1bf)]+_0xf4d7f9(0x1cb),_0x2bb488[_0xf4d7f9(0x1d3)][_0xf4d7f9(0x1c2)](_0x927b57);const _0x33f1f8=_0x2bb488[_0xf4d7f9(0x1ba)]();_0x33f1f8[_0xf4d7f9(0x1a1)](_0x927b57[_0xf4d7f9(0x19d)]),_0x33f1f8[_0xf4d7f9(0x1ce)](_0x927b57[_0xf4d7f9(0x1bd)]);const _0x570241=_0x5375f4[_0xf4d7f9(0x1b0)]();_0x570241[_0xf4d7f9(0x1d4)](),_0x570241[_0xf4d7f9(0x1c8)](_0x33f1f8),_0x2bb488[_0xf4d7f9(0x1df)](_0xf4d7f9(0x1e9)),_0x927b57[_0xf4d7f9(0x1da)]();}}}export class ContentFieldView extends _0x599c80{constructor(_0x2340a9,_0x18606b=''){const _0x39f39a=_0x5f49de;super(_0x2340a9),this[_0x39f39a(0x1a5)]=this[_0x39f39a(0x1cf)](),this[_0x39f39a(0x1d9)]({'tag':_0x39f39a(0x1ae),'attributes':{'class':['ck',_0x39f39a(0x1dd),_0x18606b,_0x39f39a(0x1d0),_0x39f39a(0x1bc)]}});}[_0x5f49de(0x1c7)](_0x4ef4cf){const _0x4e4e12=_0x5f49de;this[_0x4e4e12(0x1e6)][_0x4e4e12(0x1bf)]=_0x4ef4cf;}[_0x5f49de(0x1de)](){const _0x219203=_0x5f49de;this[_0x219203(0x1e6)][_0x219203(0x1c2)](this[_0x219203(0x1a5)][_0x219203(0x1e6)]);}[_0x5f49de(0x1cf)](){const _0x1ab1a0=_0x5f49de,_0x27f1e7=new _0x599c80(),_0x5729fe=this[_0x1ab1a0(0x1e8)],_0x231496=new _0x34cd26();return _0x231496[_0x1ab1a0(0x1c5)]=!0x0,_0x27f1e7[_0x1ab1a0(0x1d9)]({'tag':_0x1ab1a0(0x1ae),'attributes':{'class':['ck',_0x1ab1a0(0x19f)]},'children':[_0x231496,{'text':_0x52ecfa(_0x5729fe,_0x1ab1a0(0x1a2))}]}),_0x27f1e7[_0x1ab1a0(0x1a4)](),_0x27f1e7;}}
23
+ const _0x301ef8=_0x1bc5;(function(_0x10f42c,_0x185106){const _0x5e6118=_0x1bc5,_0x4435d3=_0x10f42c();while(!![]){try{const _0x334b3e=-parseInt(_0x5e6118(0x107))/0x1+parseInt(_0x5e6118(0xe6))/0x2+parseInt(_0x5e6118(0xe3))/0x3*(parseInt(_0x5e6118(0xfa))/0x4)+-parseInt(_0x5e6118(0xe5))/0x5+parseInt(_0x5e6118(0x128))/0x6*(-parseInt(_0x5e6118(0x125))/0x7)+parseInt(_0x5e6118(0xed))/0x8*(-parseInt(_0x5e6118(0xe9))/0x9)+-parseInt(_0x5e6118(0x101))/0xa*(-parseInt(_0x5e6118(0xdb))/0xb);if(_0x334b3e===_0x185106)break;else _0x4435d3['push'](_0x4435d3['shift']());}catch(_0x263528){_0x4435d3['push'](_0x4435d3['shift']());}}}(_0x4165,0xb5f02));import{global as _0x748324}from'ckeditor5/src/utils.js';import{View as _0x3371ed,ButtonView as _0x4ec3c4,SpinnerView as _0x30260c}from'ckeditor5/src/ui.js';import{IconCheck as _0x2b07ee,IconCopy as _0x3fc3bd}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fdbf0}from'../../utils/common-translations.js';function _0x1bc5(_0xd17f2e,_0x2472cc){const _0x4165c6=_0x4165();return _0x1bc5=function(_0x1bc543,_0x316f06){_0x1bc543=_0x1bc543-0xd4;let _0x2b0579=_0x4165c6[_0x1bc543];return _0x2b0579;},_0x1bc5(_0xd17f2e,_0x2472cc);}export class AIFormContentArea extends _0x3371ed{[_0x301ef8(0x109)];[_0x301ef8(0xec)];constructor(_0x3b2cce,_0x2dfa5e=''){const _0x140fea=_0x301ef8;super(_0x3b2cce),this[_0x140fea(0xe8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5b931a=this[_0x140fea(0xff)];this[_0x140fea(0x109)]=new ContentFieldView(_0x3b2cce,_0x2dfa5e),this[_0x140fea(0xec)]=this[_0x140fea(0xe4)](),this[_0x140fea(0x11e)]({'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0xfc),_0x5b931a['if'](_0x140fea(0x113),_0x140fea(0x129),_0x52890d=>!_0x52890d)],'tabindex':'-1'},'children':[{'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0x118),_0x5b931a['if'](_0x140fea(0x119),_0x140fea(0xd8))]},'children':[this[_0x140fea(0x109)],{'tag':_0x140fea(0xf7),'attributes':{'class':['ck',_0x140fea(0xd9)]},'children':[this[_0x140fea(0xec)]]}]}]});}[_0x301ef8(0x11c)](){const _0x35f259=_0x301ef8;super[_0x35f259(0x11c)](),this[_0x35f259(0xf0)]&&this[_0x35f259(0x109)][_0x35f259(0xf2)](this[_0x35f259(0xf0)]);let _0x55a1c3=!0x1;this['on'](_0x35f259(0x127),(_0x3073d9,_0x1245eb,_0x4ae06e)=>{const _0x1f1c5b=_0x35f259,_0x5dae05=!this[_0x1f1c5b(0x109)][_0x1f1c5b(0xd7)][_0x1f1c5b(0xfe)](_0x1f1c5b(0x10f));this[_0x1f1c5b(0x109)][_0x1f1c5b(0xf2)](_0x4ae06e),this[_0x1f1c5b(0x119)]&&_0x5dae05&&!_0x55a1c3&&this[_0x1f1c5b(0xd7)][_0x1f1c5b(0xe1)]({'top':this[_0x1f1c5b(0xd7)][_0x1f1c5b(0xf6)],'behavior':_0x1f1c5b(0x102)});}),this['on'](_0x35f259(0x11f),(_0x5ea433,_0xdf452c,_0x5385d1)=>{const _0x460390=_0x35f259;_0x55a1c3=!0x1,_0x5385d1?(this[_0x460390(0xf0)]=null,this[_0x460390(0x109)][_0x460390(0x126)]()):this[_0x460390(0xf0)]||this[_0x460390(0x109)][_0x460390(0xf2)]('');}),this[_0x35f259(0x10e)](this[_0x35f259(0xd7)],_0x35f259(0x122),()=>{_0x55a1c3=!0x0;}),this[_0x35f259(0x10e)](this[_0x35f259(0xd7)],_0x35f259(0x120),()=>{_0x55a1c3=!0x0;});}[_0x301ef8(0x121)](){const _0x4554e2=_0x301ef8;this[_0x4554e2(0xd7)][_0x4554e2(0x121)]();}[_0x301ef8(0xe4)](){const _0x5962b6=_0x301ef8,_0x27a898=this[_0x5962b6(0xea)],_0x20a7d6=new _0x4ec3c4(this[_0x5962b6(0xea)]),_0x51c9ce=_0x5962b6(0xee);return _0x20a7d6[_0x5962b6(0xe8)]({'label':_0x4fdbf0(_0x27a898,_0x5962b6(0xe0)),'icon':_0x3fc3bd,'class':_0x51c9ce,'tooltip':!0x0}),_0x20a7d6[_0x5962b6(0x10a)](_0x5962b6(0x113))['to'](this,_0x5962b6(0xf0),_0x1980f9=>!!_0x1980f9),_0x20a7d6[_0x5962b6(0x10a)](_0x5962b6(0x10c))['to'](this,_0x5962b6(0x119),_0x1497a5=>!_0x1497a5),_0x20a7d6['on'](_0x5962b6(0xd5),()=>{const _0xbcc910=_0x5962b6;this[_0xbcc910(0x115)](this[_0xbcc910(0x109)][_0xbcc910(0xd7)]),_0x20a7d6[_0xbcc910(0x104)]=_0x2b07ee,_0x20a7d6[_0xbcc910(0x10d)]=_0x51c9ce+_0xbcc910(0x105),this[_0xbcc910(0x121)](),setTimeout(()=>{const _0x3db4fe=_0xbcc910;_0x20a7d6[_0x3db4fe(0x104)]=_0x3fc3bd,_0x20a7d6[_0x3db4fe(0x10d)]=_0x51c9ce;},0x3e8);}),_0x20a7d6;}[_0x301ef8(0x115)](_0x3cfc62){const _0x3928cd=_0x301ef8,{window:_0x4d6d1c,document:_0x31744f}=_0x748324;if(_0x4d6d1c[_0x3928cd(0xfd)]){const {Blob:_0x29802f,ClipboardItem:_0x498095}=_0x4d6d1c,_0x18ef8a=[new _0x498095({'text/html':new _0x29802f([_0x3cfc62[_0x3928cd(0x11b)]],{'type':_0x3928cd(0xe7)}),'text/plain':new _0x29802f([_0x3cfc62[_0x3928cd(0x124)]||''],{'type':_0x3928cd(0x10b)})})];navigator[_0x3928cd(0xf8)][_0x3928cd(0xf1)](_0x18ef8a);}else{const _0x144efd=_0x31744f[_0x3928cd(0x114)](_0x3928cd(0xf7));_0x144efd[_0x3928cd(0x112)][_0x3928cd(0xdd)]=_0x3928cd(0xeb),_0x144efd[_0x3928cd(0x112)][_0x3928cd(0xdc)]=_0x3928cd(0x100),_0x144efd[_0x3928cd(0x11b)]=_0x3928cd(0xda)+_0x3cfc62[_0x3928cd(0x11b)]+_0x3928cd(0xde),_0x31744f[_0x3928cd(0x123)][_0x3928cd(0x106)](_0x144efd);const _0x23661a=_0x31744f[_0x3928cd(0xfb)]();_0x23661a[_0x3928cd(0x11a)](_0x144efd[_0x3928cd(0x111)]),_0x23661a[_0x3928cd(0xdf)](_0x144efd[_0x3928cd(0xef)]);const _0x161f25=_0x4d6d1c[_0x3928cd(0xf5)]();_0x161f25[_0x3928cd(0xe2)](),_0x161f25[_0x3928cd(0xd6)](_0x23661a),_0x31744f[_0x3928cd(0x108)](_0x3928cd(0x116)),_0x144efd[_0x3928cd(0xf9)]();}}}function _0x4165(){const _0x166cf8=['loaderView','execute','addRange','element','ck-ai-form__content-area--processing','ck-ai-form__copy-button-wrapper','<span>[</span>','10102917QdLASD','left','position','<span>]</span>','setEndBefore','Copy','scrollTo','removeAllRanges','13839udNWau','_createCopyButton','3718860jwsasd','2857302XOSDfc','text/html','set','17838HbvTHS','locale','absolute','copyButtonView','4856iGrthP','ck-ai-form__copy-button','lastElementChild','value','write','setContent','ck-ai-form__content-field','_createLoader','getSelection','scrollHeight','div','clipboard','remove','116SRhORO','createRange','ck-ai-form__content-area-wrapper','ClipboardItem','querySelector','bindTemplate','-9999px','30Xxudxm','smooth','AI\x20is\x20writing...','icon','\x20ck-ai-form__copy-button--copied','appendChild','1372049DzlKXu','execCommand','contentFieldView','bind','text/plain','isEnabled','class','listenTo','.ck-ai-form__loader','ck-content','firstElementChild','style','isVisible','createElement','_copyHTMLToClipboard','copy','ck-reset_all-excluded','ck-ai-form__content-area','isProcessing','setStartAfter','innerHTML','render','ck-ai-form__loader','setTemplate','change:isProcessing','mousedown','focus','wheel','body','textContent','221949FVLTgr','appendLoader','change:value','48ZKrYkN','ck-hidden'];_0x4165=function(){return _0x166cf8;};return _0x4165();}export class ContentFieldView extends _0x3371ed{constructor(_0x20e7a5,_0x4f8faf=''){const _0x5117d1=_0x301ef8;super(_0x20e7a5),this[_0x5117d1(0xd4)]=this[_0x5117d1(0xf4)](),this[_0x5117d1(0x11e)]({'tag':_0x5117d1(0xf7),'attributes':{'class':['ck',_0x5117d1(0x110),_0x4f8faf,_0x5117d1(0x117),_0x5117d1(0xf3)]}});}[_0x301ef8(0xf2)](_0x4d7bc2){const _0x58657e=_0x301ef8;this[_0x58657e(0xd7)][_0x58657e(0x11b)]=_0x4d7bc2;}[_0x301ef8(0x126)](){const _0xbf5e3=_0x301ef8;this[_0xbf5e3(0xd7)][_0xbf5e3(0x106)](this[_0xbf5e3(0xd4)][_0xbf5e3(0xd7)]);}[_0x301ef8(0xf4)](){const _0x317f57=_0x301ef8,_0x1b9a9c=new _0x3371ed(),_0x5a5616=this[_0x317f57(0xea)],_0x5f13d8=new _0x30260c();return _0x5f13d8[_0x317f57(0x113)]=!0x0,_0x1b9a9c[_0x317f57(0x11e)]({'tag':_0x317f57(0xf7),'attributes':{'class':['ck',_0x317f57(0x11d)]},'children':[_0x5f13d8,{'text':_0x4fdbf0(_0x5a5616,_0x317f57(0x103))}]}),_0x1b9a9c[_0x317f57(0x11c)](),_0x1b9a9c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1fdc23,_0x1b46b2){const _0x2479c0=_0x2aa4,_0x86f1c2=_0x1fdc23();while(!![]){try{const _0x1ae58d=-parseInt(_0x2479c0(0x16f))/0x1*(-parseInt(_0x2479c0(0x175))/0x2)+parseInt(_0x2479c0(0x16c))/0x3+-parseInt(_0x2479c0(0x17b))/0x4*(-parseInt(_0x2479c0(0x176))/0x5)+-parseInt(_0x2479c0(0x16d))/0x6+parseInt(_0x2479c0(0x179))/0x7+parseInt(_0x2479c0(0x177))/0x8+parseInt(_0x2479c0(0x172))/0x9*(-parseInt(_0x2479c0(0x16e))/0xa);if(_0x1ae58d===_0x1b46b2)break;else _0x86f1c2['push'](_0x86f1c2['shift']());}catch(_0x3117da){_0x86f1c2['push'](_0x86f1c2['shift']());}}}(_0x5f25,0x5f3cb));import{IconError as _0x13eedc}from'ckeditor5/src/icons.js';import{View as _0x588aa0,IconView as _0x872ec7}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x588aa0{constructor(_0x317e05,_0x3b7c67=''){const _0x8def64=_0x2aa4;super(_0x317e05);const _0x34ff50=new _0x872ec7(),_0x317639=this[_0x8def64(0x17a)];this[_0x8def64(0x17c)](_0x8def64(0x170),_0x3b7c67),_0x34ff50[_0x8def64(0x174)]=_0x13eedc,this[_0x8def64(0x178)]({'tag':_0x8def64(0x171),'attributes':{'class':['ck',_0x8def64(0x173)]},'children':[_0x34ff50,{'text':_0x317639['to'](_0x8def64(0x170))}]});}}function _0x2aa4(_0x1c13c4,_0x1992a7){const _0x5f2509=_0x5f25();return _0x2aa4=function(_0x2aa4fc,_0x34c349){_0x2aa4fc=_0x2aa4fc-0x16c;let _0x1457a5=_0x5f2509[_0x2aa4fc];return _0x1457a5;},_0x2aa4(_0x1c13c4,_0x1992a7);}function _0x5f25(){const _0xe79aa3=['setTemplate','3300724PiZeNw','bindTemplate','8ClYBUQ','set','1581927OIfmke','3713736BtlSZW','100yrsazb','125NMdRRn','text','div','1412685fSGipx','ck-ai-form__error','content','3668daHHSs','1475365lFZGKM','6083680KrkRVT'];_0x5f25=function(){return _0xe79aa3;};return _0x5f25();}
23
+ (function(_0x411dc4,_0x5a56ad){const _0x3f9ed6=_0x338c,_0x29e0ac=_0x411dc4();while(!![]){try{const _0x28e840=-parseInt(_0x3f9ed6(0x166))/0x1*(parseInt(_0x3f9ed6(0x15d))/0x2)+parseInt(_0x3f9ed6(0x168))/0x3+parseInt(_0x3f9ed6(0x159))/0x4*(-parseInt(_0x3f9ed6(0x160))/0x5)+-parseInt(_0x3f9ed6(0x15b))/0x6+parseInt(_0x3f9ed6(0x164))/0x7+-parseInt(_0x3f9ed6(0x158))/0x8*(parseInt(_0x3f9ed6(0x15f))/0x9)+parseInt(_0x3f9ed6(0x167))/0xa;if(_0x28e840===_0x5a56ad)break;else _0x29e0ac['push'](_0x29e0ac['shift']());}catch(_0x32fe70){_0x29e0ac['push'](_0x29e0ac['shift']());}}}(_0x3385,0x276ff));import{IconError as _0x4fd257}from'ckeditor5/src/icons.js';import{View as _0x120fb4,IconView as _0x36598f}from'ckeditor5/src/ui.js';function _0x338c(_0x1f0f49,_0x5454b0){const _0x3385af=_0x3385();return _0x338c=function(_0x338c26,_0x373b5a){_0x338c26=_0x338c26-0x158;let _0x32f93a=_0x3385af[_0x338c26];return _0x32f93a;},_0x338c(_0x1f0f49,_0x5454b0);}function _0x3385(){const _0x536e88=['10316wALHbc','bindTemplate','258774ewpGtX','content','155384YqnKiM','setTemplate','2367NSLlda','565VNlcXF','div','text','ck-ai-form__error','799211bqaoIa','set','4IyhjAj','7543950AeQyHe','258291VVFpIH','4496ClBBzC'];_0x3385=function(){return _0x536e88;};return _0x3385();}export class AIFormErrorView extends _0x120fb4{constructor(_0x1447ac,_0x53339d=''){const _0x248e64=_0x338c;super(_0x1447ac);const _0x601f3c=new _0x36598f(),_0x2f7f24=this[_0x248e64(0x15a)];this[_0x248e64(0x165)](_0x248e64(0x162),_0x53339d),_0x601f3c[_0x248e64(0x15c)]=_0x4fd257,this[_0x248e64(0x15e)]({'tag':_0x248e64(0x161),'attributes':{'class':['ck',_0x248e64(0x163)]},'children':[_0x601f3c,{'text':_0x2f7f24['to'](_0x248e64(0x162))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x312505=_0x351b;(function(_0x118dbf,_0x40f4b7){const _0x5eb3ae=_0x351b,_0x45d4f6=_0x118dbf();while(!![]){try{const _0x755bbd=-parseInt(_0x5eb3ae(0xc9))/0x1*(-parseInt(_0x5eb3ae(0xd0))/0x2)+-parseInt(_0x5eb3ae(0xcf))/0x3+parseInt(_0x5eb3ae(0xa0))/0x4*(parseInt(_0x5eb3ae(0xbe))/0x5)+-parseInt(_0x5eb3ae(0xbf))/0x6+-parseInt(_0x5eb3ae(0xc1))/0x7+-parseInt(_0x5eb3ae(0xc7))/0x8*(parseInt(_0x5eb3ae(0xd1))/0x9)+parseInt(_0x5eb3ae(0xae))/0xa;if(_0x755bbd===_0x40f4b7)break;else _0x45d4f6['push'](_0x45d4f6['shift']());}catch(_0x44944c){_0x45d4f6['push'](_0x45d4f6['shift']());}}}(_0x4207,0xdd37e));function _0x4207(){const _0x4a4b84=['ck-ai-form__toggle-history','10808728uVfTTc','isEnabled','right','execute','target','maxRows','791408GPNbVU','minRows','37DjTWAt','uiLanguageDirection','_createSubmitButton','ck-ai-form__submit','requestAnimationFrame','focus','3008172KKmMYG','94482PNsCyF','63GoCWuY','bind','focusLast','_createShowHistoryButton','queryView','window','update','style','submit','21020mENnVt','rtl','render','focusableChildren','submitButtonView','History','locale','isOn','focusCycler','fieldWrapperChildren','left','isEmpty','enter','fieldView','21548180QNhdXD','excludeScrollbarsAndBorders','add','children','set','resultsView','value','width','focusFirst','showHistoryButtonView','keystrokes','element','fire','filteredView','isVisible','Submit','1475JUaLWh','7845240YctJsg'];_0x4207=function(){return _0x4a4b84;};return _0x4207();}import{Rect as _0x5e356e,global as _0x40d83b,isVisible as _0x20f274}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x56d90f,IconSubmit as _0x5aac3e}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x453b63,ButtonView as _0x5e483c}from'ckeditor5/src/ui.js';import{getTranslation as _0x3446aa}from'../../utils/common-translations.js';function _0x351b(_0xb78a8e,_0x4766e5){const _0x42077e=_0x4207();return _0x351b=function(_0x351bd0,_0x52ec1a){_0x351bd0=_0x351bd0-0x9d;let _0x260dcc=_0x42077e[_0x351bd0];return _0x260dcc;},_0x351b(_0xb78a8e,_0x4766e5);}export class AIFormPromptView extends _0x453b63{[_0x312505(0xa4)];[_0x312505(0xb7)];constructor(_0x5340ff,_0x163679){const _0x4cfdc4=_0x312505;super(_0x5340ff,_0x163679),this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc8)]=0x1,this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc6)]=0x3,this[_0x4cfdc4(0xa4)]=this[_0x4cfdc4(0xcb)](),this[_0x4cfdc4(0xb7)]=this[_0x4cfdc4(0xd4)](),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xb7)],0x1),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xa4)]);}[_0x312505(0xa2)](){const _0x4b353e=_0x312505;super[_0x4b353e(0xa2)](),this[_0x4b353e(0xd5)][_0x4b353e(0xa9)][_0x4b353e(0xb0)](this[_0x4b353e(0xb7)]),this[_0x4b353e(0xb1)][_0x4b353e(0xb0)](this[_0x4b353e(0xa4)]),this[_0x4b353e(0xb8)][_0x4b353e(0xb2)](_0x4b353e(0xac),(_0x887a8d,_0x93900c)=>{const _0x5a7483=_0x4b353e;_0x887a8d[_0x5a7483(0xc5)]==this[_0x5a7483(0xd5)][_0x5a7483(0xad)][_0x5a7483(0xb9)]&&(this[_0x5a7483(0x9f)](),_0x93900c());});}[_0x312505(0xcb)](){const _0x5a2c6c=_0x312505,_0xcf9f4b=new _0x5e483c(this[_0x5a2c6c(0xa6)]),_0xffa4aa=this[_0x5a2c6c(0xa6)];return _0xcf9f4b[_0x5a2c6c(0xb2)]({'icon':_0x5aac3e,'label':_0x3446aa(_0xffa4aa,_0x5a2c6c(0xbd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5a2c6c(0xcc)}),_0xcf9f4b['on'](_0x5a2c6c(0xc4),()=>{const _0x8bd88=_0x5a2c6c;this[_0x8bd88(0x9f)]();}),_0xcf9f4b[_0x5a2c6c(0xd2)](_0x5a2c6c(0xc2))['to'](this[_0x5a2c6c(0xd5)][_0x5a2c6c(0xad)],_0x5a2c6c(0xab),this,_0x5a2c6c(0xc2),(_0x24a472,_0x29fb73)=>!_0x24a472&&_0x29fb73),_0xcf9f4b;}[_0x312505(0xd4)](){const _0x4f7469=_0x312505,_0x2f505c=new _0x5e483c(this[_0x4f7469(0xa6)]),_0x98c1f=this[_0x4f7469(0xb3)],_0x12f3e9=this[_0x4f7469(0xa6)];_0x2f505c[_0x4f7469(0xb2)]({'label':_0x3446aa(_0x12f3e9,_0x4f7469(0xa5)),'withText':!0x1,'icon':_0x56d90f,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4f7469(0xc0)}),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xa7))['to'](_0x98c1f,_0x4f7469(0xbc)),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xc2))['to'](this,_0x4f7469(0xc2)),_0x2f505c['on'](_0x4f7469(0xc4),()=>{const _0x314a7f=_0x4f7469;_0x98c1f[_0x314a7f(0xbc)]=!_0x98c1f[_0x314a7f(0xbc)],_0x98c1f[_0x314a7f(0xbc)]?this[_0x314a7f(0xbb)][_0x314a7f(0xce)]():this[_0x314a7f(0xce)]();});const _0x56e34d=()=>{const _0x41fd6b=_0x4f7469;_0x40d83b[_0x41fd6b(0xd6)][_0x41fd6b(0xcd)](()=>{const _0x59f5e7=_0x41fd6b;if(_0x20f274(this[_0x59f5e7(0xb9)])){const _0x83cd9a=new _0x5e356e(this[_0x59f5e7(0xd5)][_0x59f5e7(0xad)][_0x59f5e7(0xb9)]),_0x5d99ea=_0x83cd9a[_0x59f5e7(0xb5)],_0x1f3275=_0x59f5e7(0xa1)===_0x12f3e9[_0x59f5e7(0xca)]?_0x59f5e7(0xaa):_0x59f5e7(0xc3);_0x83cd9a[_0x59f5e7(0xaf)](),_0x2f505c[_0x59f5e7(0xb9)][_0x59f5e7(0x9e)][_0x1f3275]=_0x5d99ea-_0x83cd9a[_0x59f5e7(0xb5)]+0x1+'px';}});};return this[_0x4f7469(0xd5)][_0x4f7469(0xad)]['on'](_0x4f7469(0x9d),_0x56e34d),this['on'](_0x4f7469(0xa2),_0x56e34d),_0x2f505c;}[_0x312505(0x9f)](){const _0x5ebff3=_0x312505,_0x9dbaf9=this[_0x5ebff3(0xd5)][_0x5ebff3(0xad)][_0x5ebff3(0xb9)][_0x5ebff3(0xb4)];this[_0x5ebff3(0xba)](_0x5ebff3(0x9f),_0x9dbaf9);}[_0x312505(0xce)](_0x182c6d){const _0x8f66ca=_0x312505;-0x1===_0x182c6d?this[_0x8f66ca(0xa8)][_0x8f66ca(0xd3)]():this[_0x8f66ca(0xa8)][_0x8f66ca(0xb6)]();}}
23
+ const _0x3e9fbc=_0x5e16;(function(_0x496af4,_0x1a072f){const _0xeff27f=_0x5e16,_0x367220=_0x496af4();while(!![]){try{const _0x19a925=-parseInt(_0xeff27f(0x1a8))/0x1*(parseInt(_0xeff27f(0x17a))/0x2)+parseInt(_0xeff27f(0x1a5))/0x3+-parseInt(_0xeff27f(0x183))/0x4+-parseInt(_0xeff27f(0x1a1))/0x5+-parseInt(_0xeff27f(0x195))/0x6*(-parseInt(_0xeff27f(0x199))/0x7)+-parseInt(_0xeff27f(0x1a3))/0x8*(parseInt(_0xeff27f(0x187))/0x9)+parseInt(_0xeff27f(0x184))/0xa;if(_0x19a925===_0x1a072f)break;else _0x367220['push'](_0x367220['shift']());}catch(_0x2213e7){_0x367220['push'](_0x367220['shift']());}}}(_0x4c75,0xed711));import{Rect as _0x330e39,global as _0x3a6008,isVisible as _0x548f11}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x6cb531,IconSubmit as _0x18bea8}from'ckeditor5/src/icons.js';function _0x4c75(){const _0x23e597=['1570504OrvDxL','isVisible','118284AFNPJm','submitButtonView','value','31mWklKQ','focusableChildren','isOn','filteredView','element','focusCycler','maxRows','isEmpty','queryView','fire','requestAnimationFrame','fieldWrapperChildren','70890wWAUvR','style','enter','ck-ai-form__submit','locale','isEnabled','update','showHistoryButtonView','submit','2056996HItArM','29393720ZjWFii','set','minRows','81uweRXv','children','bind','add','excludeScrollbarsAndBorders','focusFirst','uiLanguageDirection','keystrokes','right','window','rtl','width','execute','_createSubmitButton','2461308nJVbMH','focus','focusLast','fieldView','28mJYCYg','render','resultsView','left','_createShowHistoryButton','Submit','History','ck-ai-form__toggle-history','1336250hMzxZV','target'];_0x4c75=function(){return _0x23e597;};return _0x4c75();}import{AutocompleteView as _0xfff3f9,ButtonView as _0x5a2d1b}from'ckeditor5/src/ui.js';import{getTranslation as _0xa9fd1c}from'../../utils/common-translations.js';function _0x5e16(_0x102105,_0x44ed3d){const _0x4c75bc=_0x4c75();return _0x5e16=function(_0x5e169d,_0x3122a4){_0x5e169d=_0x5e169d-0x179;let _0x12ec62=_0x4c75bc[_0x5e169d];return _0x12ec62;},_0x5e16(_0x102105,_0x44ed3d);}export class AIFormPromptView extends _0xfff3f9{[_0x3e9fbc(0x1a6)];[_0x3e9fbc(0x181)];constructor(_0x1e54a7,_0x4962d2){const _0x2f63f3=_0x3e9fbc;super(_0x1e54a7,_0x4962d2),this[_0x2f63f3(0x1b0)][_0x2f63f3(0x198)][_0x2f63f3(0x186)]=0x1,this[_0x2f63f3(0x1b0)][_0x2f63f3(0x198)][_0x2f63f3(0x1ae)]=0x3,this[_0x2f63f3(0x1a6)]=this[_0x2f63f3(0x194)](),this[_0x2f63f3(0x181)]=this[_0x2f63f3(0x19d)](),this[_0x2f63f3(0x1a9)][_0x2f63f3(0x18a)](this[_0x2f63f3(0x181)],0x1),this[_0x2f63f3(0x1a9)][_0x2f63f3(0x18a)](this[_0x2f63f3(0x1a6)]);}[_0x3e9fbc(0x19a)](){const _0x2af6f3=_0x3e9fbc;super[_0x2af6f3(0x19a)](),this[_0x2af6f3(0x1b0)][_0x2af6f3(0x179)][_0x2af6f3(0x18a)](this[_0x2af6f3(0x181)]),this[_0x2af6f3(0x188)][_0x2af6f3(0x18a)](this[_0x2af6f3(0x1a6)]),this[_0x2af6f3(0x18e)][_0x2af6f3(0x185)](_0x2af6f3(0x17c),(_0x1afa86,_0x5c999a)=>{const _0x158616=_0x2af6f3;_0x1afa86[_0x158616(0x1a2)]==this[_0x158616(0x1b0)][_0x158616(0x198)][_0x158616(0x1ac)]&&(this[_0x158616(0x182)](),_0x5c999a());});}[_0x3e9fbc(0x194)](){const _0x4f47ac=_0x3e9fbc,_0x4a11f4=new _0x5a2d1b(this[_0x4f47ac(0x17e)]),_0x1c94df=this[_0x4f47ac(0x17e)];return _0x4a11f4[_0x4f47ac(0x185)]({'icon':_0x18bea8,'label':_0xa9fd1c(_0x1c94df,_0x4f47ac(0x19e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4f47ac(0x17d)}),_0x4a11f4['on'](_0x4f47ac(0x193),()=>{const _0x7dbcdb=_0x4f47ac;this[_0x7dbcdb(0x182)]();}),_0x4a11f4[_0x4f47ac(0x189)](_0x4f47ac(0x17f))['to'](this[_0x4f47ac(0x1b0)][_0x4f47ac(0x198)],_0x4f47ac(0x1af),this,_0x4f47ac(0x17f),(_0x11a88a,_0x4a24e8)=>!_0x11a88a&&_0x4a24e8),_0x4a11f4;}[_0x3e9fbc(0x19d)](){const _0x1e7aaf=_0x3e9fbc,_0x2aa179=new _0x5a2d1b(this[_0x1e7aaf(0x17e)]),_0x162cd4=this[_0x1e7aaf(0x19b)],_0x1c0ccf=this[_0x1e7aaf(0x17e)];_0x2aa179[_0x1e7aaf(0x185)]({'label':_0xa9fd1c(_0x1c0ccf,_0x1e7aaf(0x19f)),'withText':!0x1,'icon':_0x6cb531,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1e7aaf(0x1a0)}),_0x2aa179[_0x1e7aaf(0x189)](_0x1e7aaf(0x1aa))['to'](_0x162cd4,_0x1e7aaf(0x1a4)),_0x2aa179[_0x1e7aaf(0x189)](_0x1e7aaf(0x17f))['to'](this,_0x1e7aaf(0x17f)),_0x2aa179['on'](_0x1e7aaf(0x193),()=>{const _0xbfbf64=_0x1e7aaf;_0x162cd4[_0xbfbf64(0x1a4)]=!_0x162cd4[_0xbfbf64(0x1a4)],_0x162cd4[_0xbfbf64(0x1a4)]?this[_0xbfbf64(0x1ab)][_0xbfbf64(0x196)]():this[_0xbfbf64(0x196)]();});const _0x1185ea=()=>{const _0x2ccad1=_0x1e7aaf;_0x3a6008[_0x2ccad1(0x190)][_0x2ccad1(0x1b2)](()=>{const _0x3a0631=_0x2ccad1;if(_0x548f11(this[_0x3a0631(0x1ac)])){const _0x2549db=new _0x330e39(this[_0x3a0631(0x1b0)][_0x3a0631(0x198)][_0x3a0631(0x1ac)]),_0x5a7d8d=_0x2549db[_0x3a0631(0x192)],_0x17c42a=_0x3a0631(0x191)===_0x1c0ccf[_0x3a0631(0x18d)]?_0x3a0631(0x19c):_0x3a0631(0x18f);_0x2549db[_0x3a0631(0x18b)](),_0x2aa179[_0x3a0631(0x1ac)][_0x3a0631(0x17b)][_0x17c42a]=_0x5a7d8d-_0x2549db[_0x3a0631(0x192)]+0x1+'px';}});};return this[_0x1e7aaf(0x1b0)][_0x1e7aaf(0x198)]['on'](_0x1e7aaf(0x180),_0x1185ea),this['on'](_0x1e7aaf(0x19a),_0x1185ea),_0x2aa179;}[_0x3e9fbc(0x182)](){const _0x535179=_0x3e9fbc,_0x1577d7=this[_0x535179(0x1b0)][_0x535179(0x198)][_0x535179(0x1ac)][_0x535179(0x1a7)];this[_0x535179(0x1b1)](_0x535179(0x182),_0x1577d7);}[_0x3e9fbc(0x196)](_0xa9d431){const _0x207083=_0x3e9fbc;-0x1===_0xa9d431?this[_0x207083(0x1ad)][_0x207083(0x197)]():this[_0x207083(0x1ad)][_0x207083(0x18c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a55cf=_0x318f;(function(_0x3dca59,_0x3f6e3d){const _0x307a20=_0x318f,_0x2e47c5=_0x3dca59();while(!![]){try{const _0x2cd88c=parseInt(_0x307a20(0x179))/0x1*(parseInt(_0x307a20(0x173))/0x2)+parseInt(_0x307a20(0x17a))/0x3*(parseInt(_0x307a20(0x17c))/0x4)+-parseInt(_0x307a20(0x18b))/0x5+-parseInt(_0x307a20(0x172))/0x6*(parseInt(_0x307a20(0x185))/0x7)+parseInt(_0x307a20(0x17f))/0x8+-parseInt(_0x307a20(0x17b))/0x9+parseInt(_0x307a20(0x18e))/0xa*(parseInt(_0x307a20(0x17d))/0xb);if(_0x2cd88c===_0x3f6e3d)break;else _0x2e47c5['push'](_0x2e47c5['shift']());}catch(_0x5662c6){_0x2e47c5['push'](_0x2e47c5['shift']());}}}(_0x10c3,0x3408b));import{ToolbarView as _0xec32fc,ButtonView as _0x803eb7}from'ckeditor5/src/ui.js';import{getTranslation as _0x181db2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3a55cf(0x177),'INSERT':_0x3a55cf(0x188)};export class AIFormToolbarView extends _0xec32fc{constructor(_0x474afd){const _0x7762c3=_0x3a55cf;super(_0x474afd),this[_0x7762c3(0x16a)](_0x7762c3(0x189),!0x1),this[_0x7762c3(0x16a)](_0x7762c3(0x183),AIFormToolbarViewMainActionLabel[_0x7762c3(0x16b)]),this[_0x7762c3(0x16f)]=this[_0x7762c3(0x178)]('',_0x7762c3(0x176)),this[_0x7762c3(0x16f)][_0x7762c3(0x182)](_0x7762c3(0x171))['to'](this,_0x7762c3(0x183),_0x2d79e1=>_0x181db2(_0x474afd,_0x7762c3(0x16d)+_0x2d79e1[_0x7762c3(0x181)]()+_0x7762c3(0x17e))),this[_0x7762c3(0x169)]=this[_0x7762c3(0x178)](_0x181db2(_0x474afd,_0x7762c3(0x175))),this[_0x7762c3(0x18a)]=this[_0x7762c3(0x178)](_0x181db2(_0x474afd,_0x7762c3(0x18d))),this[_0x7762c3(0x16c)]=this[_0x7762c3(0x178)](_0x181db2(_0x474afd,_0x7762c3(0x186)));const _0x4e34ce=this[_0x7762c3(0x16e)];this[_0x7762c3(0x170)]({'attributes':{'class':[_0x7762c3(0x18c),_0x4e34ce['if'](_0x7762c3(0x189),_0x7762c3(0x174),_0x5c358c=>!_0x5c358c)]}}),this[_0x7762c3(0x187)][_0x7762c3(0x184)]([this[_0x7762c3(0x16f)],this[_0x7762c3(0x169)],this[_0x7762c3(0x18a)],this[_0x7762c3(0x16c)]]);}[_0x3a55cf(0x178)](_0x152649,_0x44c223){const _0x52baad=_0x3a55cf,_0x5029aa=new _0x803eb7(this[_0x52baad(0x180)]);return _0x5029aa[_0x52baad(0x16a)]({'label':_0x152649,'class':_0x44c223||'','isVisible':!0x0,'withText':!0x0}),_0x5029aa;}}function _0x318f(_0x469b8c,_0x5b26bc){const _0x10c35f=_0x10c3();return _0x318f=function(_0x318fd4,_0x4ec1c9){_0x318fd4=_0x318fd4-0x169;let _0x4a9bdb=_0x10c35f[_0x318fd4];return _0x4a9bdb;},_0x318f(_0x469b8c,_0x5b26bc);}function _0x10c3(){const _0x474c93=['tryAgainButton','1114545vHSGCX','ck-ai-form__toolbar','Try\x20again','62850wEomoh','insertButton','set','REPLACE','stopButton','AI_','bindTemplate','replaceButton','extendTemplate','label','5052WSKUnv','2dRBqcy','ck-hidden','Insert\x20below','ck-button-action','replace','_createButton','322019MVaKrX','90267szgpdS','3819294RpWAfK','4UzGQnH','781UQbSAX','_CONTENT','2524040DaYRJG','locale','toUpperCase','bind','mainAction','addMany','2107VOFRgC','Stop','items','insert','isVisible'];_0x10c3=function(){return _0x474c93;};return _0x10c3();}
23
+ const _0x1809e4=_0x2e7f;(function(_0x13689b,_0x2e5756){const _0x35688c=_0x2e7f,_0x3e3d03=_0x13689b();while(!![]){try{const _0x164188=parseInt(_0x35688c(0xb6))/0x1+parseInt(_0x35688c(0xc1))/0x2+-parseInt(_0x35688c(0xb2))/0x3+parseInt(_0x35688c(0xb4))/0x4+parseInt(_0x35688c(0xaa))/0x5*(parseInt(_0x35688c(0xbc))/0x6)+-parseInt(_0x35688c(0xb3))/0x7*(-parseInt(_0x35688c(0xa5))/0x8)+-parseInt(_0x35688c(0xbf))/0x9;if(_0x164188===_0x2e5756)break;else _0x3e3d03['push'](_0x3e3d03['shift']());}catch(_0x5bbfa6){_0x3e3d03['push'](_0x3e3d03['shift']());}}}(_0x4ee7,0xb3165));import{ToolbarView as _0x15bbb0,ButtonView as _0x417102}from'ckeditor5/src/ui.js';import{getTranslation as _0x235e8e}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1809e4(0xba),'INSERT':_0x1809e4(0xad)};function _0x2e7f(_0x46f5ad,_0x2b6805){const _0x4ee746=_0x4ee7();return _0x2e7f=function(_0x2e7f5e,_0x44939b){_0x2e7f5e=_0x2e7f5e-0xa5;let _0xcd1d0d=_0x4ee746[_0x2e7f5e];return _0xcd1d0d;},_0x2e7f(_0x46f5ad,_0x2b6805);}export class AIFormToolbarView extends _0x15bbb0{constructor(_0x2074ba){const _0x4c5ff3=_0x1809e4;super(_0x2074ba),this[_0x4c5ff3(0xaf)](_0x4c5ff3(0xc3),!0x1),this[_0x4c5ff3(0xaf)](_0x4c5ff3(0xb9),AIFormToolbarViewMainActionLabel[_0x4c5ff3(0xb8)]),this[_0x4c5ff3(0xc4)]=this[_0x4c5ff3(0xb5)]('',_0x4c5ff3(0xa7)),this[_0x4c5ff3(0xc4)][_0x4c5ff3(0xc2)](_0x4c5ff3(0xa8))['to'](this,_0x4c5ff3(0xb9),_0x5113b4=>_0x235e8e(_0x2074ba,_0x4c5ff3(0xb7)+_0x5113b4[_0x4c5ff3(0xc5)]()+_0x4c5ff3(0xb0))),this[_0x4c5ff3(0xa9)]=this[_0x4c5ff3(0xb5)](_0x235e8e(_0x2074ba,_0x4c5ff3(0xc6))),this[_0x4c5ff3(0xab)]=this[_0x4c5ff3(0xb5)](_0x235e8e(_0x2074ba,_0x4c5ff3(0xc8))),this[_0x4c5ff3(0xc7)]=this[_0x4c5ff3(0xb5)](_0x235e8e(_0x2074ba,_0x4c5ff3(0xbd)));const _0x45b583=this[_0x4c5ff3(0xae)];this[_0x4c5ff3(0xb1)]({'attributes':{'class':[_0x4c5ff3(0xbb),_0x45b583['if'](_0x4c5ff3(0xc3),_0x4c5ff3(0xbe),_0x1f2ee1=>!_0x1f2ee1)]}}),this[_0x4c5ff3(0xa6)][_0x4c5ff3(0xac)]([this[_0x4c5ff3(0xc4)],this[_0x4c5ff3(0xa9)],this[_0x4c5ff3(0xab)],this[_0x4c5ff3(0xc7)]]);}[_0x1809e4(0xb5)](_0x4d736d,_0x719fb8){const _0x36c299=_0x1809e4,_0x20597c=new _0x417102(this[_0x36c299(0xc0)]);return _0x20597c[_0x36c299(0xaf)]({'label':_0x4d736d,'class':_0x719fb8||'','isVisible':!0x0,'withText':!0x0}),_0x20597c;}}function _0x4ee7(){const _0x296569=['insertButton','56435cjYfKk','tryAgainButton','addMany','insert','bindTemplate','set','_CONTENT','extendTemplate','2053929UsjfNw','3812109YYKqDV','4134988LtRJji','_createButton','1213334IDdeXU','AI_','REPLACE','mainAction','replace','ck-ai-form__toolbar','354eOlely','Stop','ck-hidden','29229057VpAgxK','locale','2416512MrWcOI','bind','isVisible','replaceButton','toUpperCase','Insert\x20below','stopButton','Try\x20again','8slRKaK','items','ck-button-action','label'];_0x4ee7=function(){return _0x296569;};return _0x4ee7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154f05=_0x39ee;(function(_0x29105f,_0xdbff8f){const _0x43ba5f=_0x39ee,_0x4d7f22=_0x29105f();while(!![]){try{const _0x3063f0=parseInt(_0x43ba5f(0x1fc))/0x1+parseInt(_0x43ba5f(0x1fa))/0x2+-parseInt(_0x43ba5f(0x209))/0x3+parseInt(_0x43ba5f(0x1ed))/0x4*(parseInt(_0x43ba5f(0x1df))/0x5)+-parseInt(_0x43ba5f(0x215))/0x6*(-parseInt(_0x43ba5f(0x1f9))/0x7)+parseInt(_0x43ba5f(0x21a))/0x8+-parseInt(_0x43ba5f(0x20b))/0x9;if(_0x3063f0===_0xdbff8f)break;else _0x4d7f22['push'](_0x4d7f22['shift']());}catch(_0x136406){_0x4d7f22['push'](_0x4d7f22['shift']());}}}(_0x22cc,0x5d0ef));import{FocusTracker as _0x56ebc6,KeystrokeHandler as _0x1e197e}from'ckeditor5/src/utils.js';import{View as _0x1925cd,FocusCycler as _0x28b9aa,createLabeledTextarea as _0x129179}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x5d2a7d,AIFormToolbarViewMainActionLabel as _0x10d6e8}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x5c44f1}from'./aiformcontentarea.js';import{AIFormErrorView as _0x4d9ba4}from'./aiformerrorview.js';import{AIFormPromptView as _0x4ff81f}from'./aiformpromptview.js';import{AIHistoryListView as _0x3c0649}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x104ff9}from'./aihistorylistitemview.js';import{PromptHistory as _0x2f9c29}from'./prompthistory.js';function _0x22cc(){const _0x25686b=['render','element','stopButton','fire','isVisible','value','4902709qgUWKF','577432WoMgaP','contentArea','245150suGgzj','bindTemplate','toolbar','focusCycler','focusLast','ck-ai-form-content','clear','tryAgainButton','label','Empty\x20history','finishProcessing','historyGroupView','focusTracker','1637577dKhlnM','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','12581037rIYNRo','handleError','insertButton','_promptHistory','copyButtonView','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceButton','fieldView','errorView','listenTo','6GqvzLh','promptView','stopProcessing','mainAction','chain','5549616ZFrzjV','Ask\x20AI\x20to\x20edit\x20or\x20generate','focus','startProcessing','REPLACE','_focusables','items','add','search','ck-ai-form','_createHistoryView','clearHistory','execute','prompt','tab','shift\x20+\x20tab','bindTo','text','insertContentBelow','createCollection','_createPromptView','isEnabled','_createToolbar','trim','high','5aovAhV','setTemplate','AI_ERROR_FAILED','focusFirst','keystrokes','isProcessing','isError','submit','set','tryAgainEvent','submitPrompt','ck-hidden','locale','delegate','1587856EIMKBB','queryView','bind','replaceContent','reset','div'];_0x22cc=function(){return _0x25686b;};return _0x22cc();}import{getTranslation as _0x1bcba4}from'../../utils/common-translations.js';function _0x39ee(_0x113b1a,_0x24e220){const _0x22cc21=_0x22cc();return _0x39ee=function(_0x39ee31,_0x201f3d){_0x39ee31=_0x39ee31-0x1ca;let _0x4bd200=_0x22cc21[_0x39ee31];return _0x4bd200;},_0x39ee(_0x113b1a,_0x24e220);}import{escape as _0x54dd5c}from'es-toolkit/compat';export class AIFormView extends _0x1925cd{[_0x154f05(0x208)];[_0x154f05(0x1e3)];[_0x154f05(0x1fb)];[_0x154f05(0x1fe)];[_0x154f05(0x216)];[_0x154f05(0x213)];[_0x154f05(0x1cb)];[_0x154f05(0x1ff)];[_0x154f05(0x20e)];constructor(_0x330ca4,_0x4af242,_0x4ff06e=''){const _0x49c9aa=_0x154f05;super(_0x330ca4),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x1db),!0x0),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x1e4),!0x1),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x1d3),''),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x1f8),''),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x1e5),!0x1),this[_0x49c9aa(0x1e7)](_0x49c9aa(0x218),_0x10d6e8[_0x49c9aa(0x1ca)]),this[_0x49c9aa(0x20e)]=new _0x2f9c29(),this[_0x49c9aa(0x213)]=new _0x4d9ba4(_0x330ca4),this[_0x49c9aa(0x1fb)]=new _0x5c44f1(_0x330ca4,_0x4ff06e),this[_0x49c9aa(0x1fb)][_0x49c9aa(0x1ef)](_0x49c9aa(0x1e4))['to'](this),this[_0x49c9aa(0x1fb)][_0x49c9aa(0x1ef)](_0x49c9aa(0x1f8))['to'](this),this[_0x49c9aa(0x1fe)]=this[_0x49c9aa(0x1dc)](),this[_0x49c9aa(0x1fe)][_0x49c9aa(0x1ef)](_0x49c9aa(0x218))['to'](this),this[_0x49c9aa(0x216)]=this[_0x49c9aa(0x1da)](),this[_0x49c9aa(0x208)]=new _0x56ebc6(),this[_0x49c9aa(0x1e3)]=new _0x1e197e(),this[_0x49c9aa(0x1cb)]=this[_0x49c9aa(0x1d9)]([this[_0x49c9aa(0x1fb)],this[_0x49c9aa(0x1fb)][_0x49c9aa(0x20f)],this[_0x49c9aa(0x1fe)],this[_0x49c9aa(0x216)]]),this[_0x49c9aa(0x1ff)]=new _0x28b9aa({'focusables':this[_0x49c9aa(0x1cb)],'focusTracker':this[_0x49c9aa(0x208)],'keystrokeHandler':this[_0x49c9aa(0x1e3)],'actions':{'focusPrevious':_0x49c9aa(0x1d5),'focusNext':_0x49c9aa(0x1d4)}}),this[_0x49c9aa(0x1ff)][_0x49c9aa(0x219)](this[_0x49c9aa(0x216)][_0x49c9aa(0x1ff)]),this[_0x49c9aa(0x216)][_0x49c9aa(0x1ee)][_0x49c9aa(0x212)][_0x49c9aa(0x1ef)](_0x49c9aa(0x1f8))['to'](this,_0x49c9aa(0x1d3));const _0x41e362=this[_0x49c9aa(0x1fd)];this[_0x49c9aa(0x1e0)]({'tag':_0x49c9aa(0x1f2),'attributes':{'class':['ck',_0x49c9aa(0x1cf),_0x4af242],'tabindex':'-1'},'children':[{'tag':_0x49c9aa(0x1f2),'attributes':{'class':['ck',_0x49c9aa(0x201)]},'children':[{'tag':_0x49c9aa(0x1f2),'attributes':{'class':[_0x41e362['if'](_0x49c9aa(0x1e5),_0x49c9aa(0x1ea),_0x50bbdc=>!_0x50bbdc)]},'children':[this[_0x49c9aa(0x213)]]},this[_0x49c9aa(0x1fb)],this[_0x49c9aa(0x1fe)],this[_0x49c9aa(0x216)]]}]});}[_0x154f05(0x1f3)](){const _0x47d7c0=_0x154f05;super[_0x47d7c0(0x1f3)](),this[_0x47d7c0(0x208)][_0x47d7c0(0x1cd)](this[_0x47d7c0(0x1fb)][_0x47d7c0(0x1f4)]),this[_0x47d7c0(0x208)][_0x47d7c0(0x1cd)](this[_0x47d7c0(0x1fb)][_0x47d7c0(0x20f)][_0x47d7c0(0x1f4)]),this[_0x47d7c0(0x208)][_0x47d7c0(0x1cd)](this[_0x47d7c0(0x1fe)][_0x47d7c0(0x1f4)]),this[_0x47d7c0(0x208)][_0x47d7c0(0x1cd)](this[_0x47d7c0(0x216)][_0x47d7c0(0x1f4)]),this[_0x47d7c0(0x1e3)][_0x47d7c0(0x214)](this[_0x47d7c0(0x1f4)]);}[_0x154f05(0x21c)](_0x36350c=0x1){const _0x4450a5=_0x154f05;-0x1===_0x36350c?this[_0x4450a5(0x1ff)][_0x4450a5(0x200)]():this[_0x4450a5(0x1ff)][_0x4450a5(0x1e2)]();}[_0x154f05(0x1f1)](){const _0x128f1c=_0x154f05;this[_0x128f1c(0x1d3)]='',this[_0x128f1c(0x1f8)]='',this[_0x128f1c(0x1e5)]=!0x1,this[_0x128f1c(0x216)][_0x128f1c(0x1f1)](),this[_0x128f1c(0x1fb)][_0x128f1c(0x1f7)]=!0x1,this[_0x128f1c(0x1fe)][_0x128f1c(0x1f7)]=!0x1;}[_0x154f05(0x1da)](){const _0x372a1d=_0x154f05,_0xe54a6=this[_0x372a1d(0x1eb)],_0x33599e=new _0x4ff81f(_0xe54a6,{'queryView':{'label':_0x1bcba4(_0xe54a6,_0x372a1d(0x21b)),'creator':_0x129179,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1bcba4(_0xe54a6,_0x372a1d(0x205)),'secondary':_0x1bcba4(_0xe54a6,_0x372a1d(0x20a))}}},'filteredView':this[_0x372a1d(0x1d0)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x33599e[_0x372a1d(0x1ef)](_0x372a1d(0x1db))['to'](this,_0x372a1d(0x1db),this,_0x372a1d(0x1e4),(_0xb2ecf6,_0x3c7ff0)=>_0xb2ecf6&&!_0x3c7ff0),this[_0x372a1d(0x214)](_0x33599e,_0x372a1d(0x1e6),(_0x32c8ea,_0x2c2551)=>{const _0x487078=_0x372a1d;this[_0x487078(0x1d3)]=_0x2c2551;const _0x4fde25=_0x54dd5c(_0x2c2551);this[_0x487078(0x1f6)](_0x487078(0x1e9),_0x4fde25),_0x2c2551[_0x487078(0x1dd)]()&&this[_0x487078(0x20e)][_0x487078(0x1cd)]({'prompt':_0x4fde25},0x0);},{'priority':_0x372a1d(0x1de)}),_0x33599e;}[_0x154f05(0x1d0)](){const _0x801cec=_0x154f05,_0xfbbf92=new _0x3c0649(this[_0x801cec(0x1eb)]);return _0xfbbf92[_0x801cec(0x207)][_0x801cec(0x1cc)][_0x801cec(0x1d6)](this[_0x801cec(0x20e)])['as'](_0x104ff9),_0xfbbf92['on'](_0x801cec(0x1d1),()=>{const _0x1c923a=_0x801cec;this[_0x1c923a(0x20e)][_0x1c923a(0x202)](),this[_0x1c923a(0x216)][_0x1c923a(0x1ce)](''),this[_0x1c923a(0x216)][_0x1c923a(0x21c)]();}),_0xfbbf92;}[_0x154f05(0x1dc)](){const _0x320575=_0x154f05,_0x399be3=new _0x5d2a7d(this[_0x320575(0x1eb)]);return _0x399be3[_0x320575(0x211)][_0x320575(0x1ef)](_0x320575(0x1db))['to'](this,_0x320575(0x1db),this,_0x320575(0x1e4),this,_0x320575(0x1f8),(_0x59cc03,_0x3e3b84,_0x35f889)=>_0x59cc03&&!_0x3e3b84&&!!_0x35f889),_0x399be3[_0x320575(0x211)][_0x320575(0x1ec)](_0x320575(0x1d2))['to'](this,_0x320575(0x1f0)),_0x399be3[_0x320575(0x20d)][_0x320575(0x1ef)](_0x320575(0x1db))['to'](this,_0x320575(0x1db),this,_0x320575(0x1e4),this,_0x320575(0x1f8),(_0x29ca63,_0x48a7ee,_0x482ebc)=>_0x29ca63&&!_0x48a7ee&&!!_0x482ebc),_0x399be3[_0x320575(0x20d)][_0x320575(0x1ec)](_0x320575(0x1d2))['to'](this,_0x320575(0x1d8)),_0x399be3[_0x320575(0x203)][_0x320575(0x1ef)](_0x320575(0x1db))['to'](this,_0x320575(0x1db),this,_0x320575(0x1e4),(_0x25ff0f,_0x5455d3)=>_0x25ff0f&&!_0x5455d3),_0x399be3[_0x320575(0x203)][_0x320575(0x1ec)](_0x320575(0x1d2))['to'](this,_0x320575(0x1e8)),_0x399be3[_0x320575(0x1f5)][_0x320575(0x1ef)](_0x320575(0x1db))['to'](this,_0x320575(0x1e4)),_0x399be3[_0x320575(0x1f5)][_0x320575(0x1ec)](_0x320575(0x1d2))['to'](this,_0x320575(0x217)),_0x399be3;}[_0x154f05(0x21d)](){const _0x83607=_0x154f05;this[_0x83607(0x1f8)]='',this[_0x83607(0x1e5)]=!0x1,this[_0x83607(0x1e4)]=!0x0,this[_0x83607(0x1fb)][_0x83607(0x1f7)]=!0x0,this[_0x83607(0x1fe)][_0x83607(0x1f7)]=!0x0,this[_0x83607(0x1fb)][_0x83607(0x21c)]();}[_0x154f05(0x206)](){const _0x138b5c=_0x154f05,_0x1d667b=this[_0x138b5c(0x1eb)];this[_0x138b5c(0x1e4)]=!0x1,this[_0x138b5c(0x1d3)]='',this[_0x138b5c(0x216)][_0x138b5c(0x1f1)](),this[_0x138b5c(0x1f8)]&&(this[_0x138b5c(0x216)][_0x138b5c(0x1ee)][_0x138b5c(0x204)]=_0x1bcba4(_0x1d667b,_0x138b5c(0x210)));}[_0x154f05(0x20c)](_0x43cbf1){const _0x215eda=_0x154f05,_0x534056=this[_0x215eda(0x1eb)];this[_0x215eda(0x206)](),this[_0x215eda(0x1e5)]=!0x0,this[_0x215eda(0x213)][_0x215eda(0x1d7)]=_0x43cbf1||_0x1bcba4(_0x534056,_0x215eda(0x1e1)),this[_0x215eda(0x1f8)]||(this[_0x215eda(0x1fb)][_0x215eda(0x1f7)]=!0x1);}}
23
+ const _0x264b87=_0x4bee;function _0x4bee(_0x39b341,_0x1fda6b){const _0x23e7d1=_0x23e7();return _0x4bee=function(_0x4beee8,_0x50bfdc){_0x4beee8=_0x4beee8-0x1a5;let _0x218415=_0x23e7d1[_0x4beee8];return _0x218415;},_0x4bee(_0x39b341,_0x1fda6b);}(function(_0x14604d,_0x5d8009){const _0x2c23e8=_0x4bee,_0x47f614=_0x14604d();while(!![]){try{const _0xc3b178=-parseInt(_0x2c23e8(0x1e9))/0x1*(-parseInt(_0x2c23e8(0x1d0))/0x2)+parseInt(_0x2c23e8(0x1cf))/0x3*(parseInt(_0x2c23e8(0x1db))/0x4)+parseInt(_0x2c23e8(0x1ab))/0x5+-parseInt(_0x2c23e8(0x1cd))/0x6*(parseInt(_0x2c23e8(0x1d9))/0x7)+-parseInt(_0x2c23e8(0x1c6))/0x8*(parseInt(_0x2c23e8(0x1c3))/0x9)+-parseInt(_0x2c23e8(0x1cc))/0xa+parseInt(_0x2c23e8(0x1b3))/0xb;if(_0xc3b178===_0x5d8009)break;else _0x47f614['push'](_0x47f614['shift']());}catch(_0x402332){_0x47f614['push'](_0x47f614['shift']());}}}(_0x23e7,0x8fe1e));import{FocusTracker as _0x320cd2,KeystrokeHandler as _0x57fcaf}from'ckeditor5/src/utils.js';import{View as _0x30403e,FocusCycler as _0x3cdded,createLabeledTextarea as _0x497dc3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x440e18,AIFormToolbarViewMainActionLabel as _0x4701ba}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x452205}from'./aiformcontentarea.js';import{AIFormErrorView as _0x27adf0}from'./aiformerrorview.js';import{AIFormPromptView as _0x5bf570}from'./aiformpromptview.js';import{AIHistoryListView as _0x58dabd}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x528e10}from'./aihistorylistitemview.js';import{PromptHistory as _0x1edbf1}from'./prompthistory.js';import{getTranslation as _0x493123}from'../../utils/common-translations.js';import{escape as _0x12324}from'es-toolkit/compat';function _0x23e7(){const _0x432932=['_createPromptView','114888NZbnXe','bindTo','focusFirst','mainAction','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','queryView','focus','toolbar','stopProcessing','finishProcessing','copyButtonView','tab','fire','25PUQOsW','stopButton','bindTemplate','set','createCollection','isEnabled','submitPrompt','insertContentBelow','errorView','execute','_focusables','clearHistory','prompt','listenTo','startProcessing','REPLACE','replaceContent','locale','focusLast','submit','trim','ck-ai-form','contentArea','isProcessing','5472220Wuzrof','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_promptHistory','promptView','tryAgainButton','AI_ERROR_FAILED','_createHistoryView','handleError','981805rCAdZL','tryAgainEvent','element','clear','delegate','fieldView','bind','isVisible','text','insertButton','isError','add','reset','shift\x20+\x20tab','focusCycler','items','463842PJWtLB','historyGroupView','ck-hidden','88UoNQAp','render','value','Empty\x20history','div','ck-ai-form-content','3520620igOIyG','3228126xfrnDN','high','6kmCGEb','64416SvNgtx','setTemplate','replaceButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','chain','keystrokes','label','search','focusTracker','7unwnab'];_0x23e7=function(){return _0x432932;};return _0x23e7();}export class AIFormView extends _0x30403e{[_0x264b87(0x1d8)];[_0x264b87(0x1d5)];[_0x264b87(0x1a9)];[_0x264b87(0x1e3)];[_0x264b87(0x1ae)];[_0x264b87(0x1f1)];[_0x264b87(0x1f3)];[_0x264b87(0x1c1)];[_0x264b87(0x1ad)];constructor(_0x5890fe,_0x465df0,_0x4004dc=''){const _0x241fa6=_0x264b87;super(_0x5890fe),this[_0x241fa6(0x1ec)](_0x241fa6(0x1ee),!0x0),this[_0x241fa6(0x1ec)](_0x241fa6(0x1aa),!0x1),this[_0x241fa6(0x1ec)](_0x241fa6(0x1f5),''),this[_0x241fa6(0x1ec)](_0x241fa6(0x1c8),''),this[_0x241fa6(0x1ec)](_0x241fa6(0x1bd),!0x1),this[_0x241fa6(0x1ec)](_0x241fa6(0x1de),_0x4701ba[_0x241fa6(0x1f8)]),this[_0x241fa6(0x1ad)]=new _0x1edbf1(),this[_0x241fa6(0x1f1)]=new _0x27adf0(_0x5890fe),this[_0x241fa6(0x1a9)]=new _0x452205(_0x5890fe,_0x4004dc),this[_0x241fa6(0x1a9)][_0x241fa6(0x1b9)](_0x241fa6(0x1aa))['to'](this),this[_0x241fa6(0x1a9)][_0x241fa6(0x1b9)](_0x241fa6(0x1c8))['to'](this),this[_0x241fa6(0x1e3)]=this[_0x241fa6(0x1df)](),this[_0x241fa6(0x1e3)][_0x241fa6(0x1b9)](_0x241fa6(0x1de))['to'](this),this[_0x241fa6(0x1ae)]=this[_0x241fa6(0x1da)](),this[_0x241fa6(0x1d8)]=new _0x320cd2(),this[_0x241fa6(0x1d5)]=new _0x57fcaf(),this[_0x241fa6(0x1f3)]=this[_0x241fa6(0x1ed)]([this[_0x241fa6(0x1a9)],this[_0x241fa6(0x1a9)][_0x241fa6(0x1e6)],this[_0x241fa6(0x1e3)],this[_0x241fa6(0x1ae)]]),this[_0x241fa6(0x1c1)]=new _0x3cdded({'focusables':this[_0x241fa6(0x1f3)],'focusTracker':this[_0x241fa6(0x1d8)],'keystrokeHandler':this[_0x241fa6(0x1d5)],'actions':{'focusPrevious':_0x241fa6(0x1c0),'focusNext':_0x241fa6(0x1e7)}}),this[_0x241fa6(0x1c1)][_0x241fa6(0x1d4)](this[_0x241fa6(0x1ae)][_0x241fa6(0x1c1)]),this[_0x241fa6(0x1ae)][_0x241fa6(0x1e1)][_0x241fa6(0x1b8)][_0x241fa6(0x1b9)](_0x241fa6(0x1c8))['to'](this,_0x241fa6(0x1f5));const _0x5b3e9b=this[_0x241fa6(0x1eb)];this[_0x241fa6(0x1d1)]({'tag':_0x241fa6(0x1ca),'attributes':{'class':['ck',_0x241fa6(0x1a8),_0x465df0],'tabindex':'-1'},'children':[{'tag':_0x241fa6(0x1ca),'attributes':{'class':['ck',_0x241fa6(0x1cb)]},'children':[{'tag':_0x241fa6(0x1ca),'attributes':{'class':[_0x5b3e9b['if'](_0x241fa6(0x1bd),_0x241fa6(0x1c5),_0x1d85f3=>!_0x1d85f3)]},'children':[this[_0x241fa6(0x1f1)]]},this[_0x241fa6(0x1a9)],this[_0x241fa6(0x1e3)],this[_0x241fa6(0x1ae)]]}]});}[_0x264b87(0x1c7)](){const _0x54463a=_0x264b87;super[_0x54463a(0x1c7)](),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1a9)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1a9)][_0x54463a(0x1e6)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1e3)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d8)][_0x54463a(0x1be)](this[_0x54463a(0x1ae)][_0x54463a(0x1b5)]),this[_0x54463a(0x1d5)][_0x54463a(0x1f6)](this[_0x54463a(0x1b5)]);}[_0x264b87(0x1e2)](_0x9117f3=0x1){const _0x39e3df=_0x264b87;-0x1===_0x9117f3?this[_0x39e3df(0x1c1)][_0x39e3df(0x1a5)]():this[_0x39e3df(0x1c1)][_0x39e3df(0x1dd)]();}[_0x264b87(0x1bf)](){const _0x40bff2=_0x264b87;this[_0x40bff2(0x1f5)]='',this[_0x40bff2(0x1c8)]='',this[_0x40bff2(0x1bd)]=!0x1,this[_0x40bff2(0x1ae)][_0x40bff2(0x1bf)](),this[_0x40bff2(0x1a9)][_0x40bff2(0x1ba)]=!0x1,this[_0x40bff2(0x1e3)][_0x40bff2(0x1ba)]=!0x1;}[_0x264b87(0x1da)](){const _0x5afb48=_0x264b87,_0x1fafaa=this[_0x5afb48(0x1fa)],_0x3a8798=new _0x5bf570(_0x1fafaa,{'queryView':{'label':_0x493123(_0x1fafaa,_0x5afb48(0x1e0)),'creator':_0x497dc3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x493123(_0x1fafaa,_0x5afb48(0x1c9)),'secondary':_0x493123(_0x1fafaa,_0x5afb48(0x1ac))}}},'filteredView':this[_0x5afb48(0x1b1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3a8798[_0x5afb48(0x1b9)](_0x5afb48(0x1ee))['to'](this,_0x5afb48(0x1ee),this,_0x5afb48(0x1aa),(_0xc8261a,_0xfa6d55)=>_0xc8261a&&!_0xfa6d55),this[_0x5afb48(0x1f6)](_0x3a8798,_0x5afb48(0x1a6),(_0x10c536,_0x64e198)=>{const _0xbfef53=_0x5afb48;this[_0xbfef53(0x1f5)]=_0x64e198;const _0x2754fe=_0x12324(_0x64e198);this[_0xbfef53(0x1e8)](_0xbfef53(0x1ef),_0x2754fe),_0x64e198[_0xbfef53(0x1a7)]()&&this[_0xbfef53(0x1ad)][_0xbfef53(0x1be)]({'prompt':_0x2754fe},0x0);},{'priority':_0x5afb48(0x1ce)}),_0x3a8798;}[_0x264b87(0x1b1)](){const _0x2ca4d4=_0x264b87,_0x214460=new _0x58dabd(this[_0x2ca4d4(0x1fa)]);return _0x214460[_0x2ca4d4(0x1c4)][_0x2ca4d4(0x1c2)][_0x2ca4d4(0x1dc)](this[_0x2ca4d4(0x1ad)])['as'](_0x528e10),_0x214460['on'](_0x2ca4d4(0x1f4),()=>{const _0x175754=_0x2ca4d4;this[_0x175754(0x1ad)][_0x175754(0x1b6)](),this[_0x175754(0x1ae)][_0x175754(0x1d7)](''),this[_0x175754(0x1ae)][_0x175754(0x1e2)]();}),_0x214460;}[_0x264b87(0x1df)](){const _0x2f156f=_0x264b87,_0x5ee1ee=new _0x440e18(this[_0x2f156f(0x1fa)]);return _0x5ee1ee[_0x2f156f(0x1d2)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),this,_0x2f156f(0x1c8),(_0x33fc33,_0x43daa8,_0x1e1624)=>_0x33fc33&&!_0x43daa8&&!!_0x1e1624),_0x5ee1ee[_0x2f156f(0x1d2)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1f9)),_0x5ee1ee[_0x2f156f(0x1bc)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),this,_0x2f156f(0x1c8),(_0x195a8f,_0xf8f97d,_0x292600)=>_0x195a8f&&!_0xf8f97d&&!!_0x292600),_0x5ee1ee[_0x2f156f(0x1bc)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1f0)),_0x5ee1ee[_0x2f156f(0x1af)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1ee),this,_0x2f156f(0x1aa),(_0x58c5fa,_0x3ab35b)=>_0x58c5fa&&!_0x3ab35b),_0x5ee1ee[_0x2f156f(0x1af)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1b4)),_0x5ee1ee[_0x2f156f(0x1ea)][_0x2f156f(0x1b9)](_0x2f156f(0x1ee))['to'](this,_0x2f156f(0x1aa)),_0x5ee1ee[_0x2f156f(0x1ea)][_0x2f156f(0x1b7)](_0x2f156f(0x1f2))['to'](this,_0x2f156f(0x1e4)),_0x5ee1ee;}[_0x264b87(0x1f7)](){const _0x249fea=_0x264b87;this[_0x249fea(0x1c8)]='',this[_0x249fea(0x1bd)]=!0x1,this[_0x249fea(0x1aa)]=!0x0,this[_0x249fea(0x1a9)][_0x249fea(0x1ba)]=!0x0,this[_0x249fea(0x1e3)][_0x249fea(0x1ba)]=!0x0,this[_0x249fea(0x1a9)][_0x249fea(0x1e2)]();}[_0x264b87(0x1e5)](){const _0x4787f0=_0x264b87,_0x23f996=this[_0x4787f0(0x1fa)];this[_0x4787f0(0x1aa)]=!0x1,this[_0x4787f0(0x1f5)]='',this[_0x4787f0(0x1ae)][_0x4787f0(0x1bf)](),this[_0x4787f0(0x1c8)]&&(this[_0x4787f0(0x1ae)][_0x4787f0(0x1e1)][_0x4787f0(0x1d6)]=_0x493123(_0x23f996,_0x4787f0(0x1d3)));}[_0x264b87(0x1b2)](_0x23c881){const _0x241671=_0x264b87,_0x190036=this[_0x241671(0x1fa)];this[_0x241671(0x1e5)](),this[_0x241671(0x1bd)]=!0x0,this[_0x241671(0x1f1)][_0x241671(0x1bb)]=_0x23c881||_0x493123(_0x190036,_0x241671(0x1b0)),this[_0x241671(0x1c8)]||(this[_0x241671(0x1a9)][_0x241671(0x1ba)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30fc6d,_0x44a350){const _0x33a968=_0x5a8e,_0x29de6e=_0x30fc6d();while(!![]){try{const _0x1195a0=-parseInt(_0x33a968(0x8c))/0x1+-parseInt(_0x33a968(0x83))/0x2+-parseInt(_0x33a968(0x89))/0x3+-parseInt(_0x33a968(0x8e))/0x4+-parseInt(_0x33a968(0x8b))/0x5+-parseInt(_0x33a968(0x88))/0x6+-parseInt(_0x33a968(0x8f))/0x7*(-parseInt(_0x33a968(0x8a))/0x8);if(_0x1195a0===_0x44a350)break;else _0x29de6e['push'](_0x29de6e['shift']());}catch(_0x2e7b56){_0x29de6e['push'](_0x29de6e['shift']());}}}(_0x31ab,0x66d66));function _0x31ab(){const _0x21aecf=['fire','execute','prompt','2229918fvWbhB','1476819bgBnnI','10312LGItWT','2465860yueqET','539666KUiLmH','children','1924176ITfGHZ','15505Xnapug','set','add','112210RWqaBB','locale'];_0x31ab=function(){return _0x21aecf;};return _0x31ab();}import{ListItemView as _0x212e53,ButtonView as _0xa55702,ButtonLabelView as _0x46e20d}from'ckeditor5/src/ui.js';function _0x5a8e(_0x4478cb,_0x382e77){const _0x31abe3=_0x31ab();return _0x5a8e=function(_0x5a8e14,_0x13aec6){_0x5a8e14=_0x5a8e14-0x81;let _0xfc90ef=_0x31abe3[_0x5a8e14];return _0xfc90ef;},_0x5a8e(_0x4478cb,_0x382e77);}import{unescape as _0x24efb6}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x212e53{constructor(_0x17c0c8){const _0x6dc0b8=_0x5a8e;super();const _0x5d293a=new _0x46e20d(),_0x20af7b=new _0xa55702(this[_0x6dc0b8(0x84)],_0x5d293a);this[_0x6dc0b8(0x8d)][_0x6dc0b8(0x82)](_0x20af7b),_0x20af7b[_0x6dc0b8(0x81)]({'label':_0x17c0c8[_0x6dc0b8(0x87)],'withText':!0x0}),_0x20af7b['on'](_0x6dc0b8(0x86),()=>{const _0x256ffc=_0x6dc0b8;this[_0x256ffc(0x85)](_0x256ffc(0x86),{'value':_0x24efb6(_0x17c0c8[_0x256ffc(0x87)])});});}}
23
+ function _0x48d8(){const _0x4e6fdd=['5825uTBRVK','children','53510xwibuu','execute','34HimsyY','3849942fieyGn','265860YVOEGH','2456RBPJJN','1511224AkjrmF','prompt','locale','set','fire','add','17008AOfUKk','2863260fMaONZ','3708cnltmt'];_0x48d8=function(){return _0x4e6fdd;};return _0x48d8();}(function(_0x4af490,_0x2048eb){const _0x33dbba=_0x1a97,_0x4edabf=_0x4af490();while(!![]){try{const _0x126ae9=-parseInt(_0x33dbba(0xa3))/0x1*(-parseInt(_0x33dbba(0x9c))/0x2)+parseInt(_0x33dbba(0x9d))/0x3+-parseInt(_0x33dbba(0xa6))/0x4*(-parseInt(_0x33dbba(0x9f))/0x5)+parseInt(_0x33dbba(0xa4))/0x6+-parseInt(_0x33dbba(0xa5))/0x7+parseInt(_0x33dbba(0x96))/0x8+parseInt(_0x33dbba(0x9e))/0x9*(-parseInt(_0x33dbba(0xa1))/0xa);if(_0x126ae9===_0x2048eb)break;else _0x4edabf['push'](_0x4edabf['shift']());}catch(_0x290835){_0x4edabf['push'](_0x4edabf['shift']());}}}(_0x48d8,0x85812));function _0x1a97(_0x340c9b,_0x51b303){const _0x48d8e4=_0x48d8();return _0x1a97=function(_0x1a97c8,_0x25ea82){_0x1a97c8=_0x1a97c8-0x96;let _0x238849=_0x48d8e4[_0x1a97c8];return _0x238849;},_0x1a97(_0x340c9b,_0x51b303);}import{ListItemView as _0x334b0e,ButtonView as _0x292e11,ButtonLabelView as _0x25f5ff}from'ckeditor5/src/ui.js';import{unescape as _0x1a4276}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x334b0e{constructor(_0x5472b1){const _0x10a90a=_0x1a97;super();const _0x5aef42=new _0x25f5ff(),_0x3584b6=new _0x292e11(this[_0x10a90a(0x98)],_0x5aef42);this[_0x10a90a(0xa0)][_0x10a90a(0x9b)](_0x3584b6),_0x3584b6[_0x10a90a(0x99)]({'label':_0x5472b1[_0x10a90a(0x97)],'withText':!0x0}),_0x3584b6['on'](_0x10a90a(0xa2),()=>{const _0x361897=_0x10a90a;this[_0x361897(0x9a)](_0x361897(0xa2),{'value':_0x1a4276(_0x5472b1[_0x361897(0x97)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28c5b2=_0x1da1;(function(_0x24e455,_0x2b6e90){const _0x5caac2=_0x1da1,_0x3232e1=_0x24e455();while(!![]){try{const _0x386126=-parseInt(_0x5caac2(0x203))/0x1+-parseInt(_0x5caac2(0x1f1))/0x2*(-parseInt(_0x5caac2(0x204))/0x3)+parseInt(_0x5caac2(0x1f4))/0x4+-parseInt(_0x5caac2(0x1f7))/0x5*(parseInt(_0x5caac2(0x200))/0x6)+-parseInt(_0x5caac2(0x1e9))/0x7*(-parseInt(_0x5caac2(0x201))/0x8)+parseInt(_0x5caac2(0x1ff))/0x9*(-parseInt(_0x5caac2(0x1ee))/0xa)+parseInt(_0x5caac2(0x1f0))/0xb*(parseInt(_0x5caac2(0x1ec))/0xc);if(_0x386126===_0x2b6e90)break;else _0x3232e1['push'](_0x3232e1['shift']());}catch(_0x11ff0d){_0x3232e1['push'](_0x3232e1['shift']());}}}(_0x4510,0x97722));function _0x4510(){const _0x2c6359=['locale','269852gQKrRU','806DEVeiG','children','filter','1616520jJgOqr','items','Clear','26735TFSzyW','delegate','label','historyGroupView','clearHistoryButton','Prompt\x20history','clearHistory','set','816183zCvNJx','1254JGNigX','288EYgSQx','add','402687enAwPu','8727wFXBnw','_createClearHistoryButton','17444qifVrS','length','fire','720OzWgQS','execute','110jbEiEL'];_0x4510=function(){return _0x2c6359;};return _0x4510();}import{ListView as _0x45f863,ListItemGroupView as _0x26c3d4,ButtonView as _0x198be5}from'ckeditor5/src/ui.js';import{getTranslation as _0x50522a}from'../../utils/common-translations.js';function _0x1da1(_0x7a811c,_0x3c7d56){const _0x45106c=_0x4510();return _0x1da1=function(_0x1da138,_0x4d662b){_0x1da138=_0x1da138-0x1e9;let _0x15eb3b=_0x45106c[_0x1da138];return _0x15eb3b;},_0x1da1(_0x7a811c,_0x3c7d56);}export class AIHistoryListView extends _0x45f863{[_0x28c5b2(0x1fa)];[_0x28c5b2(0x1fb)];constructor(_0x74cf6){const _0x23eace=_0x28c5b2;super(_0x74cf6),this[_0x23eace(0x1fb)]=this[_0x23eace(0x205)](),this[_0x23eace(0x1fa)]=new _0x26c3d4(),this[_0x23eace(0x1fa)][_0x23eace(0x1f2)][_0x23eace(0x202)](this[_0x23eace(0x1fb)],0x1),this[_0x23eace(0x1fa)][_0x23eace(0x1f9)]=_0x50522a(_0x74cf6,_0x23eace(0x1fc)),this[_0x23eace(0x1fa)][_0x23eace(0x1f5)][_0x23eace(0x1f8)](_0x23eace(0x1ed))['to'](this),this[_0x23eace(0x1f5)][_0x23eace(0x202)](this[_0x23eace(0x1fa)]);}[_0x28c5b2(0x1f3)](){const _0xd30b22=_0x28c5b2;let _0x131bdf=0x0;for(const _0x52d983 of this[_0xd30b22(0x1f5)])_0x131bdf+=_0x52d983[_0xd30b22(0x1f5)][_0xd30b22(0x1ea)];return{'resultsCount':_0x131bdf,'totalItemsCount':_0x131bdf};}[_0x28c5b2(0x205)](){const _0x2d51a8=_0x28c5b2,_0x26a365=this[_0x2d51a8(0x1ef)],_0x56fb5f=new _0x198be5(this[_0x2d51a8(0x1ef)]);return _0x56fb5f[_0x2d51a8(0x1fe)]({'label':'('+_0x50522a(_0x26a365,_0x2d51a8(0x1f6))+')','withText':!0x0}),_0x56fb5f['on'](_0x2d51a8(0x1ed),()=>this[_0x2d51a8(0x1eb)](_0x2d51a8(0x1fd))),_0x56fb5f;}}
23
+ const _0x3e4c9d=_0x43c2;(function(_0x2eda76,_0x2d8656){const _0x287550=_0x43c2,_0x2be111=_0x2eda76();while(!![]){try{const _0x43d23e=parseInt(_0x287550(0xfe))/0x1+parseInt(_0x287550(0xec))/0x2+-parseInt(_0x287550(0xeb))/0x3*(-parseInt(_0x287550(0xe9))/0x4)+-parseInt(_0x287550(0xe6))/0x5+-parseInt(_0x287550(0xfc))/0x6*(parseInt(_0x287550(0xef))/0x7)+parseInt(_0x287550(0xf6))/0x8+-parseInt(_0x287550(0xf0))/0x9;if(_0x43d23e===_0x2d8656)break;else _0x2be111['push'](_0x2be111['shift']());}catch(_0x1c9458){_0x2be111['push'](_0x2be111['shift']());}}}(_0x3cf9,0x5d0d0));function _0x43c2(_0x2a6a4f,_0x3a1624){const _0x3cf9c5=_0x3cf9();return _0x43c2=function(_0x43c2df,_0xe93745){_0x43c2df=_0x43c2df-0xe6;let _0x52d551=_0x3cf9c5[_0x43c2df];return _0x52d551;},_0x43c2(_0x2a6a4f,_0x3a1624);}function _0x3cf9(){const _0x1e80e6=['Prompt\x20history','2688644NAzCbD','locale','3HQgFSH','1077856DqJsbm','execute','Clear','3556WAHvcp','15924573VUtNtA','historyGroupView','fire','clearHistory','_createClearHistoryButton','delegate','5598896dxXEJY','clearHistoryButton','set','items','children','add','3144QjfUXa','filter','760543QxqVnf','length','1273845NcBzak','label'];_0x3cf9=function(){return _0x1e80e6;};return _0x3cf9();}import{ListView as _0x727d8b,ListItemGroupView as _0x17fb91,ButtonView as _0x341030}from'ckeditor5/src/ui.js';import{getTranslation as _0x51950c}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x727d8b{[_0x3e4c9d(0xf1)];[_0x3e4c9d(0xf7)];constructor(_0x39b2b8){const _0x693ade=_0x3e4c9d;super(_0x39b2b8),this[_0x693ade(0xf7)]=this[_0x693ade(0xf4)](),this[_0x693ade(0xf1)]=new _0x17fb91(),this[_0x693ade(0xf1)][_0x693ade(0xfa)][_0x693ade(0xfb)](this[_0x693ade(0xf7)],0x1),this[_0x693ade(0xf1)][_0x693ade(0xe7)]=_0x51950c(_0x39b2b8,_0x693ade(0xe8)),this[_0x693ade(0xf1)][_0x693ade(0xf9)][_0x693ade(0xf5)](_0x693ade(0xed))['to'](this),this[_0x693ade(0xf9)][_0x693ade(0xfb)](this[_0x693ade(0xf1)]);}[_0x3e4c9d(0xfd)](){const _0x2ab646=_0x3e4c9d;let _0x4c221d=0x0;for(const _0x35405e of this[_0x2ab646(0xf9)])_0x4c221d+=_0x35405e[_0x2ab646(0xf9)][_0x2ab646(0xff)];return{'resultsCount':_0x4c221d,'totalItemsCount':_0x4c221d};}[_0x3e4c9d(0xf4)](){const _0x243df4=_0x3e4c9d,_0x2ccf87=this[_0x243df4(0xea)],_0x14ad75=new _0x341030(this[_0x243df4(0xea)]);return _0x14ad75[_0x243df4(0xf8)]({'label':'('+_0x51950c(_0x2ccf87,_0x243df4(0xee))+')','withText':!0x0}),_0x14ad75['on'](_0x243df4(0xed),()=>this[_0x243df4(0xf2)](_0x243df4(0xf3))),_0x14ad75;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x577877=_0x538e;(function(_0x845948,_0x5eb504){const _0x4f8660=_0x538e,_0x3cd89a=_0x845948();while(!![]){try{const _0x1c4341=-parseInt(_0x4f8660(0x76))/0x1*(-parseInt(_0x4f8660(0x6e))/0x2)+parseInt(_0x4f8660(0x7c))/0x3+-parseInt(_0x4f8660(0x7a))/0x4+parseInt(_0x4f8660(0x80))/0x5*(-parseInt(_0x4f8660(0x7b))/0x6)+-parseInt(_0x4f8660(0x6d))/0x7*(-parseInt(_0x4f8660(0x74))/0x8)+parseInt(_0x4f8660(0x6c))/0x9+parseInt(_0x4f8660(0x78))/0xa*(-parseInt(_0x4f8660(0x86))/0xb);if(_0x1c4341===_0x5eb504)break;else _0x3cd89a['push'](_0x3cd89a['shift']());}catch(_0x382888){_0x3cd89a['push'](_0x3cd89a['shift']());}}}(_0x2b18,0xdab8c));import{Collection as _0x37b00e}from'ckeditor5/src/utils.js';function _0x538e(_0x4f283e,_0x3c80af){const _0x2b1870=_0x2b18();return _0x538e=function(_0x538e71,_0x155070){_0x538e71=_0x538e71-0x6c;let _0x24639e=_0x2b1870[_0x538e71];return _0x24639e;},_0x538e(_0x4f283e,_0x3c80af);}const Jo=_0x577877(0x79);export class PromptHistory extends _0x37b00e{constructor(){const _0x36c143=_0x577877;super(),this[_0x36c143(0x81)](),this['on'](_0x36c143(0x71),(_0x59a78b,_0x4526c9)=>{const _0x45a0c7=_0x36c143,_0x273bff=zo(_0x4526c9[_0x45a0c7(0x7e)]);for(const _0x9e3fba of this)if(_0x9e3fba!=_0x4526c9&&zo(_0x9e3fba[_0x45a0c7(0x7e)])===_0x273bff){this[_0x45a0c7(0x70)](_0x9e3fba);break;}this[_0x45a0c7(0x83)]>0x14&&this[_0x45a0c7(0x70)](this[_0x45a0c7(0x77)]),this[_0x45a0c7(0x73)]();}),this['on'](_0x36c143(0x70),()=>{const _0x424105=_0x36c143;this[_0x424105(0x73)]();});}[_0x577877(0x81)](){const _0x4e5fd5=_0x577877,_0x1c74d8=sessionStorage[_0x4e5fd5(0x6f)](Jo)||'[]';this[_0x4e5fd5(0x7f)](JSON[_0x4e5fd5(0x82)](_0x1c74d8));}[_0x577877(0x73)](){const _0x2772af=_0x577877;sessionStorage[_0x2772af(0x75)](Jo,JSON[_0x2772af(0x85)](this[_0x2772af(0x84)](_0x46157e=>_0x46157e)));}}function _0x2b18(){const _0x57b04d=['14158qsabaQ','getItem','remove','add','toLowerCase','_saveToSessionStorage','16536XQJcax','setItem','229OsYiSZ','last','233150XsFRLY','CKEditor/AIFormView/PromptHistory','2588456QlVzpb','36nidhRo','2417082NhPYSa','trim','prompt','addMany','346930dyBmNR','_loadFromSessionStorage','parse','length','map','stringify','1144SuFVjt','10676682xuwpuw','2611lIDwTn'];_0x2b18=function(){return _0x57b04d;};return _0x2b18();}function zo(_0x3d64cb){const _0x3ffce4=_0x577877;return _0x3d64cb[_0x3ffce4(0x72)]()[_0x3ffce4(0x7d)]();}
23
+ function _0x1128(_0x1213ea,_0x2cc55b){const _0x39adba=_0x39ad();return _0x1128=function(_0x112831,_0x460761){_0x112831=_0x112831-0xd9;let _0x193553=_0x39adba[_0x112831];return _0x193553;},_0x1128(_0x1213ea,_0x2cc55b);}const _0xe467ec=_0x1128;(function(_0x2c34d8,_0x186e95){const _0x36eb00=_0x1128,_0x3d1bea=_0x2c34d8();while(!![]){try{const _0x6fe963=parseInt(_0x36eb00(0xea))/0x1*(parseInt(_0x36eb00(0xe1))/0x2)+-parseInt(_0x36eb00(0xdc))/0x3*(parseInt(_0x36eb00(0xf0))/0x4)+-parseInt(_0x36eb00(0xed))/0x5*(-parseInt(_0x36eb00(0xef))/0x6)+-parseInt(_0x36eb00(0xe3))/0x7+parseInt(_0x36eb00(0xe2))/0x8*(parseInt(_0x36eb00(0xe0))/0x9)+parseInt(_0x36eb00(0xdd))/0xa+parseInt(_0x36eb00(0xe6))/0xb;if(_0x6fe963===_0x186e95)break;else _0x3d1bea['push'](_0x3d1bea['shift']());}catch(_0x24fc07){_0x3d1bea['push'](_0x3d1bea['shift']());}}}(_0x39ad,0xe8357));import{Collection as _0x5c7ca3}from'ckeditor5/src/utils.js';const So=_0xe467ec(0xf3);export class PromptHistory extends _0x5c7ca3{constructor(){const _0x298afc=_0xe467ec;super(),this[_0x298afc(0xee)](),this['on'](_0x298afc(0xec),(_0xa283f7,_0x493bee)=>{const _0x5642ef=_0x298afc,_0x2e1555=fo(_0x493bee[_0x5642ef(0xe9)]);for(const _0x1221b7 of this)if(_0x1221b7!=_0x493bee&&fo(_0x1221b7[_0x5642ef(0xe9)])===_0x2e1555){this[_0x5642ef(0xd9)](_0x1221b7);break;}this[_0x5642ef(0xde)]>0x14&&this[_0x5642ef(0xd9)](this[_0x5642ef(0xdb)]),this[_0x5642ef(0xe4)]();}),this['on'](_0x298afc(0xd9),()=>{const _0x1a5ba3=_0x298afc;this[_0x1a5ba3(0xe4)]();});}[_0xe467ec(0xee)](){const _0x325ea3=_0xe467ec,_0x141e29=sessionStorage[_0x325ea3(0xe8)](So)||'[]';this[_0x325ea3(0xe7)](JSON[_0x325ea3(0xe5)](_0x141e29));}[_0xe467ec(0xe4)](){const _0xd0673d=_0xe467ec;sessionStorage[_0xd0673d(0xda)](So,JSON[_0xd0673d(0xeb)](this[_0xd0673d(0xdf)](_0x26eba9=>_0x26eba9)));}}function fo(_0x2aca16){const _0x2cfef7=_0xe467ec;return _0x2aca16[_0x2cfef7(0xf2)]()[_0x2cfef7(0xf1)]();}function _0x39ad(){const _0x9bc198=['_saveToSessionStorage','parse','20748970sHHWDX','addMany','getItem','prompt','2ERwKTE','stringify','add','1745FNoqWp','_loadFromSessionStorage','19566xNvVgv','9324aMkiSA','trim','toLowerCase','CKEditor/AIFormView/PromptHistory','remove','setItem','last','2073PQTOdC','2491180PXcFcQ','length','map','6219FXpOFS','498202NqKuTg','4376Boutpr','11114656ZfOnwJ'];_0x39ad=function(){return _0x9bc198;};return _0x39ad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a6b0a=_0xc3e4;function _0xc3e4(_0x149734,_0x14f32e){const _0x453700=_0x4537();return _0xc3e4=function(_0xc3e47,_0x4dfcb8){_0xc3e47=_0xc3e47-0x10a;let _0x3823d7=_0x453700[_0xc3e47];return _0x3823d7;},_0xc3e4(_0x149734,_0x14f32e);}(function(_0x10dc64,_0x3888d2){const _0x256357=_0xc3e4,_0x4f79be=_0x10dc64();while(!![]){try{const _0x250741=-parseInt(_0x256357(0x10c))/0x1+-parseInt(_0x256357(0x110))/0x2+-parseInt(_0x256357(0x12f))/0x3+-parseInt(_0x256357(0x116))/0x4+-parseInt(_0x256357(0x12e))/0x5*(parseInt(_0x256357(0x121))/0x6)+-parseInt(_0x256357(0x128))/0x7+parseInt(_0x256357(0x11e))/0x8*(parseInt(_0x256357(0x111))/0x9);if(_0x250741===_0x3888d2)break;else _0x4f79be['push'](_0x4f79be['shift']());}catch(_0x195ef3){_0x4f79be['push'](_0x4f79be['shift']());}}}(_0x4537,0xb047a));import{Command as _0x444bbd}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x50d20a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x444bbd{[_0x5a6b0a(0x118)];constructor(_0x156156,_0x422fcb){const _0x630855=_0x5a6b0a;super(_0x156156),this[_0x630855(0x118)]=_0x422fcb,this[_0x630855(0x119)](_0x630855(0x10e),[]),this['on'](_0x630855(0x131),(_0x5e2c39,_0x2727f7,_0x20ad88)=>{const _0x50833a=_0x630855;this[_0x50833a(0x12a)]&&(this[_0x50833a(0x10e)]=hn(this[_0x50833a(0x118)],_0x20ad88));}),this[_0x630855(0x119)](_0x630855(0x129),!0x1),this['on'](_0x630855(0x112),(_0x49d2e4,_0x4e7004,_0x176b39)=>{const _0x406841=_0x630855;this[_0x406841(0x10e)]=_0x176b39?hn(this[_0x406841(0x118)],this[_0x406841(0x129)]):[];});}[_0x5a6b0a(0x11d)](){const _0x1b52bd=_0x5a6b0a,_0x15b469=this[_0x1b52bd(0x126)][_0x1b52bd(0x11a)];this[_0x1b52bd(0x129)]=function(_0x467549){const _0x2a3826=_0x1b52bd,_0x7a1f=_0x467549[_0x2a3826(0x10a)][_0x2a3826(0x132)];return _0x7a1f[_0x2a3826(0x117)]?0x0!==[..._0x7a1f[_0x2a3826(0x130)]()][_0x2a3826(0x10b)]&&![..._0x7a1f[_0x2a3826(0x130)]()][0x0][_0x2a3826(0x122)]:!!_0x467549[_0x2a3826(0x113)](_0x7a1f[_0x2a3826(0x10f)]());}(_0x15b469);const _0x3e2899=_0x15b469[_0x1b52bd(0x10a)][_0x1b52bd(0x132)],_0x39936e=this[_0x1b52bd(0x126)][_0x1b52bd(0x12d)][_0x1b52bd(0x115)](_0x1b52bd(0x12c));for(const _0x2e85a4 of _0x3e2899[_0x1b52bd(0x12b)]())for(const _0x30b40f of _0x2e85a4[_0x1b52bd(0x125)]())if(_0x30b40f['is'](_0x1b52bd(0x124))&&_0x39936e[_0x1b52bd(0x11f)](_0x30b40f[_0x1b52bd(0x11c)]))return void(this[_0x1b52bd(0x12a)]=!0x1);this[_0x1b52bd(0x12a)]=!0x0;}[_0x5a6b0a(0x123)](_0x50006a='',_0x4bf01b='',_0x2be2e6=_0x5a6b0a(0x11b)){const _0x31f2a1=_0x5a6b0a;this[_0x31f2a1(0x126)][_0x31f2a1(0x134)][_0x31f2a1(0x115)](_0x50d20a)[_0x31f2a1(0x10d)](_0x50006a,_0x4bf01b,_0x2be2e6);}}function hn(_0x4f191b,_0xfc8c89){const _0x72ee2e=_0x5a6b0a,_0x3be7a7=new Set();for(const _0x5b2c99 of _0x4f191b[_0x72ee2e(0x114)]())(_0xfc8c89||!0x1===_0x5b2c99[_0x72ee2e(0x120)])&&_0x3be7a7[_0x72ee2e(0x133)](_0x5b2c99['id']);return Array[_0x72ee2e(0x127)](_0x3be7a7);}function _0x4537(){const _0x18aab6=['getItems','editor','from','7166005CcKIOn','_hasContext','isEnabled','getRanges','ai.assistant.disabledElements','config','90umBnLF','1086039rbXaxb','getSelectedBlocks','change:_hasContext','selection','add','plugins','document','length','470814fjJbeJ','showUI','enabledCommandsIds','getFirstRange','2429326krFvlt','1719QWBnUb','change:isEnabled','hasContent','values','get','1588928VsrooQ','isCollapsed','_commandDefinitions','set','model','custom','name','refresh','177256JPfxhg','includes','requiresContent','13836dBNHyv','isEmpty','execute','element'];_0x4537=function(){return _0x18aab6;};return _0x4537();}
23
+ function _0x5a21(_0x426ddc,_0x315f2f){const _0x2795b8=_0x2795();return _0x5a21=function(_0x5a2107,_0x330090){_0x5a2107=_0x5a2107-0x1e7;let _0xdefa6a=_0x2795b8[_0x5a2107];return _0xdefa6a;},_0x5a21(_0x426ddc,_0x315f2f);}function _0x2795(){const _0x14fb04=['1734QovtAJ','24OVJuSW','isEmpty','enabledCommandsIds','change:_hasContext','refresh','showUI','getFirstRange','27017925iowUwz','6VvvoTz','isEnabled','selection','config','hasContent','set','includes','getItems','10cJkHSP','length','_commandDefinitions','523KIuKPr','2676755QfGHJb','3869811rIMArR','change:isEnabled','getSelectedBlocks','custom','getRanges','execute','_hasContext','editor','252957ZFliRn','from','get','8091240cFiypy','ai.assistant.disabledElements','requiresContent','name','add','element','document','plugins','values','4778074UMwgyu','model','isCollapsed'];_0x2795=function(){return _0x14fb04;};return _0x2795();}const _0x532f56=_0x5a21;(function(_0x1bf1ac,_0x2fa18c){const _0x2952f1=_0x5a21,_0x374d2e=_0x1bf1ac();while(!![]){try{const _0x5978bb=-parseInt(_0x2952f1(0x20e))/0x1*(-parseInt(_0x2952f1(0x1fa))/0x2)+parseInt(_0x2952f1(0x1eb))/0x3*(parseInt(_0x2952f1(0x1fb))/0x4)+-parseInt(_0x2952f1(0x20f))/0x5*(parseInt(_0x2952f1(0x203))/0x6)+-parseInt(_0x2952f1(0x1f7))/0x7+-parseInt(_0x2952f1(0x1ee))/0x8+parseInt(_0x2952f1(0x210))/0x9*(-parseInt(_0x2952f1(0x20b))/0xa)+parseInt(_0x2952f1(0x202))/0xb;if(_0x5978bb===_0x2fa18c)break;else _0x374d2e['push'](_0x374d2e['shift']());}catch(_0x4ee5e3){_0x374d2e['push'](_0x374d2e['shift']());}}}(_0x2795,0xb89f5));import{Command as _0x55ee81}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x33094a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x55ee81{[_0x532f56(0x20d)];constructor(_0x289f33,_0x3c01a5){const _0x450427=_0x532f56;super(_0x289f33),this[_0x450427(0x20d)]=_0x3c01a5,this[_0x450427(0x208)](_0x450427(0x1fd),[]),this['on'](_0x450427(0x1fe),(_0x812149,_0x1f91f3,_0x52c8a1)=>{const _0x8f0f48=_0x450427;this[_0x8f0f48(0x204)]&&(this[_0x8f0f48(0x1fd)]=cs(this[_0x8f0f48(0x20d)],_0x52c8a1));}),this[_0x450427(0x208)](_0x450427(0x1e9),!0x1),this['on'](_0x450427(0x211),(_0x558ec0,_0x347693,_0xf358fc)=>{const _0x23f8e3=_0x450427;this[_0x23f8e3(0x1fd)]=_0xf358fc?cs(this[_0x23f8e3(0x20d)],this[_0x23f8e3(0x1e9)]):[];});}[_0x532f56(0x1ff)](){const _0x2b5772=_0x532f56,_0x534d11=this[_0x2b5772(0x1ea)][_0x2b5772(0x1f8)];this[_0x2b5772(0x1e9)]=function(_0x2a829c){const _0x494907=_0x2b5772,_0x4fc596=_0x2a829c[_0x494907(0x1f4)][_0x494907(0x205)];return _0x4fc596[_0x494907(0x1f9)]?0x0!==[..._0x4fc596[_0x494907(0x212)]()][_0x494907(0x20c)]&&![..._0x4fc596[_0x494907(0x212)]()][0x0][_0x494907(0x1fc)]:!!_0x2a829c[_0x494907(0x207)](_0x4fc596[_0x494907(0x201)]());}(_0x534d11);const _0x56a470=_0x534d11[_0x2b5772(0x1f4)][_0x2b5772(0x205)],_0x5342dc=this[_0x2b5772(0x1ea)][_0x2b5772(0x206)][_0x2b5772(0x1ed)](_0x2b5772(0x1ef));for(const _0x2986c6 of _0x56a470[_0x2b5772(0x1e7)]())for(const _0x2a4705 of _0x2986c6[_0x2b5772(0x20a)]())if(_0x2a4705['is'](_0x2b5772(0x1f3))&&_0x5342dc[_0x2b5772(0x209)](_0x2a4705[_0x2b5772(0x1f1)]))return void(this[_0x2b5772(0x204)]=!0x1);this[_0x2b5772(0x204)]=!0x0;}[_0x532f56(0x1e8)](_0x215b9e='',_0x4a2fd6='',_0x54ca18=_0x532f56(0x213)){const _0x44562a=_0x532f56;this[_0x44562a(0x1ea)][_0x44562a(0x1f5)][_0x44562a(0x1ed)](_0x33094a)[_0x44562a(0x200)](_0x215b9e,_0x4a2fd6,_0x54ca18);}}function cs(_0x195486,_0x18eb85){const _0x5a691b=_0x532f56,_0x9e7807=new Set();for(const _0x4fd345 of _0x195486[_0x5a691b(0x1f6)]())(_0x18eb85||!0x1===_0x4fd345[_0x5a691b(0x1f0)])&&_0x9e7807[_0x5a691b(0x1f2)](_0x4fd345['id']);return Array[_0x5a691b(0x1ec)](_0x9e7807);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4b4f8f,_0xdaa1fa,_0x44805a){const t=_0x4b4f8f['t'];switch(_0xdaa1fa){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x44805a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x44805a);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x44805a);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xdaa1fa;}}
23
+ export function getTranslation(_0x25f9bb,_0x1ba2e4,_0xfe5c51){const t=_0x25f9bb['t'];switch(_0x1ba2e4){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0xfe5c51);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xfe5c51);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0xfe5c51);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x1ba2e4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3b78ba,_0x2a738a){const _0x3c07b3=(0x0,_0x2a738a['t'])('Other');return _0x3b78ba['length']?'groupId'in _0x3b78ba[0x0]?_0x3b78ba:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3c07b3,'order':0x1/0x0,'commands':_0x3b78ba}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3c07b3,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x151413,_0x49972d){const _0x5a00a6=(0x0,_0x49972d['t'])('Other');return _0x151413['length']?'groupId'in _0x151413[0x0]?_0x151413:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5a00a6,'order':0x1/0x0,'commands':_0x151413}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5a00a6,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x228359=_0x47ca;(function(_0xc7f601,_0x43e14c){const _0x52ae4d=_0x47ca,_0x114f1d=_0xc7f601();while(!![]){try{const _0x77069f=parseInt(_0x52ae4d(0x158))/0x1+parseInt(_0x52ae4d(0x161))/0x2+-parseInt(_0x52ae4d(0x15b))/0x3+-parseInt(_0x52ae4d(0x172))/0x4+parseInt(_0x52ae4d(0x137))/0x5*(-parseInt(_0x52ae4d(0x194))/0x6)+parseInt(_0x52ae4d(0x12f))/0x7+-parseInt(_0x52ae4d(0x191))/0x8;if(_0x77069f===_0x43e14c)break;else _0x114f1d['push'](_0x114f1d['shift']());}catch(_0x304d02){_0x114f1d['push'](_0x114f1d['shift']());}}}(_0x529a,0x77384));import{ContextPlugin as _0x2e8034}from'ckeditor5/src/core.js';import{AIConnector as _0x350e5d}from'../aicore/aiconnector.js';import{AIEditing as _0x3637a8}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x3107c1,AIBalloonView as _0x54c7ff}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x47ca(_0x49f826,_0x19e92d){const _0x529a8d=_0x529a();return _0x47ca=function(_0x47ca6e,_0x27e847){_0x47ca6e=_0x47ca6e-0x12c;let _0x39e856=_0x529a8d[_0x47ca6e];return _0x39e856;},_0x47ca(_0x49f826,_0x19e92d);}import{getAllMarkersDomElementsSorted as _0x5641f2}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x1b2592,Rect as _0x5f2fb3,scrollViewportToShowTarget as _0x106d7d}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x2498a6}from'../aicore/utils/geteditorfromcontext.js';function _0x529a(){const _0x2aa84b=['AIBalloon','setupRotator','dialogClosed','updateContent','_setupMarkerRemovalListener','isEqual','_getSelectionElements','start','ai-selection:','config','stopListening','mainView','width','AI_ACTIONS_SELECTION_REMOVED_ERROR','iconView','isPremiumPlugin','commands','end','close','bind','aiBalloon','showRotator','startsWith','label','updatePosition','differ','editing','hide','906788WinoZU','max','getChangedMarkers','924279ZLhGfk','requires','ai-balloon-selection','isOpen','left','isTrackChangesOn','785858SLdAyk','markers','getVisible','context','_cleanupMarkerRemovalListener','_updateBalloon','_showDialog','getIntersection','model','pluginName','_isUpdatingMarkers','ai-balloon-','isOfficialPlugin','top','_pendingRenderCallback','window','height','585336Nmdkld','ai-balloon','fire','hideFakeVisualSelection','AIEditing','ai-selection','value','getBoundingRect','_config','open','_calculateDialogPosition','change','view','showFakeVisualSelection','\x20ai-balloon-rotator','title','render','content','ranges','ai.availableReplyActions','rootName','root','_setupVisualSelection','document','get','balloonView','getMarkersGroup','selectionRemoved','locale','show','filter','5335496MeoBRe','bottom','delegate','1924908dkJxHZ','listenTo','showBlockingError','$graveyard','6661249KBGiNJ','round','off','trackChanges','headerView','_calculateOptimalTopPosition','length','index','10iDPUkX','Dialog','once','plugins','icon'];_0x529a=function(){return _0x2aa84b;};return _0x529a();}import{AI_REPLY_ACTIONS as _0x38b078}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x38d4ba}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x3107c1,_0x228359(0x13e),_0x228359(0x18d)];const z=0xa;export class AIBalloon extends _0x2e8034{static get[_0x228359(0x15c)](){return[_0x350e5d,_0x3637a8];}static get[_0x228359(0x16a)](){const _0xe1f861=_0x228359;return _0xe1f861(0x13c);}static get[_0x228359(0x16d)](){return!0x0;}static get[_0x228359(0x14b)](){return!0x0;}[_0x228359(0x15e)]=!0x1;[_0x228359(0x17a)];[_0x228359(0x16b)]=!0x1;[_0x228359(0x16f)]=null;[_0x228359(0x17b)](_0x407664){const _0x4afc11=_0x228359,_0x43d252=_0x2498a6(this[_0x4afc11(0x164)]);if(this[_0x4afc11(0x17a)]=_0x407664,this[_0x4afc11(0x15e)])return void this[_0x4afc11(0x166)](_0x407664);const _0x3509c2=this[_0x4afc11(0x164)][_0x4afc11(0x145)][_0x4afc11(0x18a)](_0x4afc11(0x185))||[..._0x38b078],_0x21de6d=_0x43d252?.[_0x4afc11(0x14c)][_0x4afc11(0x18a)](_0x4afc11(0x132)),_0x2b206e=_0x21de6d?.[_0x4afc11(0x178)];this[_0x4afc11(0x18b)]=new _0x54c7ff(_0x43d252[_0x4afc11(0x18e)],_0x407664,_0x3509c2,!!_0x2b206e),this[_0x4afc11(0x18b)][_0x4afc11(0x193)](..._0x3107c1)['to'](this),_0x21de6d&&this[_0x4afc11(0x18b)][_0x4afc11(0x14f)](_0x4afc11(0x160))['to'](_0x21de6d,_0x4afc11(0x178)),this[_0x4afc11(0x167)](_0x407664);}[_0x228359(0x14e)](){const _0x4fa599=_0x228359;_0x2498a6(this[_0x4fa599(0x164)])[_0x4fa599(0x13a)][_0x4fa599(0x18a)](_0x4fa599(0x138))[_0x4fa599(0x157)]();}[_0x228359(0x166)](_0x294376){const _0x3fb212=_0x228359,_0x265380=_0x2498a6(this[_0x3fb212(0x164)]),_0x5c9fdc=_0x265380[_0x3fb212(0x13a)][_0x3fb212(0x18a)](_0x3fb212(0x138));this[_0x3fb212(0x16f)]&&(_0x265380[_0x3fb212(0x156)][_0x3fb212(0x17e)][_0x3fb212(0x131)](_0x3fb212(0x182),this[_0x3fb212(0x16f)]),this[_0x3fb212(0x16f)]=null),this[_0x3fb212(0x16b)]=!0x0,_0x5c9fdc[_0x3fb212(0x17e)]?.[_0x3fb212(0x133)]&&(_0x5c9fdc[_0x3fb212(0x17e)][_0x3fb212(0x133)][_0x3fb212(0x153)]=_0x294376[_0x3fb212(0x181)],_0x5c9fdc[_0x3fb212(0x17e)][_0x3fb212(0x133)][_0x3fb212(0x14a)]&&_0x294376[_0x3fb212(0x13b)]&&(_0x5c9fdc[_0x3fb212(0x17e)][_0x3fb212(0x133)][_0x3fb212(0x14a)][_0x3fb212(0x183)]=_0x294376[_0x3fb212(0x13b)])),this[_0x3fb212(0x18b)][_0x3fb212(0x13f)](_0x294376[_0x3fb212(0x147)]),this[_0x3fb212(0x188)](_0x294376[_0x3fb212(0x184)],_0x294376[_0x3fb212(0x136)]),this[_0x3fb212(0x16f)]=()=>{const _0x2b919e=_0x3fb212;this[_0x2b919e(0x16b)]=!0x1,this[_0x2b919e(0x16f)]=null,_0x5c9fdc[_0x2b919e(0x17e)]&&_0x5c9fdc[_0x2b919e(0x17e)][_0x2b919e(0x154)]();},_0x265380[_0x3fb212(0x156)][_0x3fb212(0x17e)][_0x3fb212(0x139)](_0x3fb212(0x182),this[_0x3fb212(0x16f)]);}[_0x228359(0x188)](_0x5045ec,_0x6a19a6){const _0x52f1e7=_0x228359;this[_0x52f1e7(0x164)][_0x52f1e7(0x13a)][_0x52f1e7(0x18a)](_0x3637a8)[_0x52f1e7(0x17f)](_0x5045ec,_0x52f1e7(0x16c)+_0x6a19a6,!0x0,!0x0);}[_0x228359(0x167)](_0x53aa6f){const _0x40780a=_0x228359,_0x3e78dd=_0x2498a6(this[_0x40780a(0x164)]);this[_0x40780a(0x188)](_0x53aa6f[_0x40780a(0x184)],_0x53aa6f[_0x40780a(0x136)]);const _0x101ece=this[_0x40780a(0x142)]();_0x101ece&&_0x101ece[0x0]&&_0x106d7d({'target':_0x101ece[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x3e78dd[_0x40780a(0x13a)][_0x40780a(0x18a)](_0x40780a(0x138))[_0x40780a(0x18f)]({'title':_0x53aa6f[_0x40780a(0x181)],'icon':_0x53aa6f[_0x40780a(0x13b)],'hasCloseButton':!0x0,'id':_0x40780a(0x150),'position':this[_0x40780a(0x17c)][_0x40780a(0x14f)](this),'className':_0x40780a(0x173)+(_0x53aa6f[_0x40780a(0x151)]?_0x40780a(0x180):''),'content':this[_0x40780a(0x18b)],'onShow':_0x2da2de=>{const _0x5c2518=_0x40780a;_0x53aa6f[_0x5c2518(0x151)]&&this[_0x5c2518(0x18b)][_0x5c2518(0x13d)](_0x2da2de),this[_0x5c2518(0x140)](),this[_0x5c2518(0x15e)]=!0x0;},'onHide':()=>{const _0x332ee5=_0x40780a;this[_0x332ee5(0x164)][_0x332ee5(0x13a)][_0x332ee5(0x18a)](_0x332ee5(0x176))[_0x332ee5(0x175)](_0x332ee5(0x16c)+this[_0x332ee5(0x17a)][_0x332ee5(0x136)]),this[_0x332ee5(0x165)](),this[_0x332ee5(0x174)](_0x332ee5(0x13e)),this[_0x332ee5(0x15e)]=!0x1;}});}[_0x228359(0x17c)](_0x4888af,_0x533be7){const _0x4890e8=_0x228359;if(!_0x533be7)return null;const _0x323733=this[_0x4890e8(0x142)]();if(!_0x323733||0x0===_0x323733[_0x4890e8(0x135)])return{'left':Math[_0x4890e8(0x130)](_0x533be7[_0x4890e8(0x15f)]+_0x533be7[_0x4890e8(0x148)]/0x2-_0x4888af[_0x4890e8(0x148)]/0x2),'top':Math[_0x4890e8(0x130)](_0x533be7[_0x4890e8(0x16e)]+_0x533be7[_0x4890e8(0x171)]/0x2-_0x4888af[_0x4890e8(0x171)]/0x2)};const _0x52d157=Math[_0x4890e8(0x130)](_0x533be7[_0x4890e8(0x15f)]+_0x533be7[_0x4890e8(0x148)]/0x2-_0x4888af[_0x4890e8(0x148)]/0x2),_0x46b6a5=new _0x5f2fb3(_0x323733[0x0]),_0x1d4877=new _0x5f2fb3(_0x323733[_0x323733[_0x4890e8(0x135)]-0x1]),_0x24204f=_0x4888af[_0x4890e8(0x171)],_0x48af5a=this[_0x4890e8(0x17a)][_0x4890e8(0x151)]?0x8:0x0;return{'left':_0x52d157,'top':this[_0x4890e8(0x134)](_0x46b6a5,_0x1d4877,_0x24204f,_0x48af5a,_0x533be7)};}[_0x228359(0x134)](_0x2a8bac,_0x1def6b,_0x167d97,_0x4dbb35=0x0,_0x55ed36){const _0x2c0d15=_0x228359,_0x2aeccc=_0x167d97+_0x4dbb35,_0xb21c9b=new _0x5f2fb3(_0x1b2592[_0x2c0d15(0x170)]),_0x2afce0=[_0x2a8bac[_0x2c0d15(0x163)](),_0x1def6b[_0x2c0d15(0x163)]()][_0x2c0d15(0x190)](_0x159966=>_0x159966),_0x2d30a8=_0x5f2fb3[_0x2c0d15(0x179)](_0x2afce0);if(!_0x2d30a8)return Math[_0x2c0d15(0x130)](_0x55ed36[_0x2c0d15(0x16e)]+_0x55ed36[_0x2c0d15(0x171)]/0x2);const _0x5c49d1=_0xb21c9b[_0x2c0d15(0x168)](_0x2d30a8);if(!_0x5c49d1)return Math[_0x2c0d15(0x130)](_0x55ed36[_0x2c0d15(0x16e)]+_0x55ed36[_0x2c0d15(0x171)]/0x2);const _0x1e11a0=_0x55ed36[_0x2c0d15(0x163)](),_0x46f0c6=_0x1e11a0&&_0x2d30a8[_0x2c0d15(0x171)]>_0x1e11a0[_0x2c0d15(0x171)],_0x2bc166=_0x5c49d1[_0x2c0d15(0x16e)],_0x5c2c5a=_0x5c49d1[_0x2c0d15(0x192)];if(_0x46f0c6){const _0x107276=(_0x1e11a0||_0xb21c9b)[_0x2c0d15(0x171)]/0x2-_0x2aeccc/0x2,_0x1b2925=_0x2bc166-z-_0x55ed36[_0x2c0d15(0x16e)],_0x563cc2=_0x55ed36[_0x2c0d15(0x192)]-_0x5c2c5a-z;return _0x1b2925>=_0x2aeccc?Math[_0x2c0d15(0x159)](z,_0x2bc166-_0x2aeccc-z):_0x563cc2>=_0x2aeccc?_0x5c2c5a+z:Math[_0x2c0d15(0x159)](z,_0x107276);}const _0x2cf051=_0x2bc166-_0x2aeccc,_0x12fb9e=_0x55ed36[_0x2c0d15(0x192)]-_0x5c2c5a-z,_0x28735e=_0x2bc166-z-_0x55ed36[_0x2c0d15(0x16e)];let _0x4696b5;if(_0x12fb9e>=_0x2aeccc)_0x4696b5=_0x5c2c5a+z;else{if(_0x28735e>=_0x2aeccc)_0x4696b5=_0x2cf051-z;else _0x4696b5=_0x2bc166+_0x2d30a8[_0x2c0d15(0x171)]/0x2-_0x2aeccc/0x2;}return _0x4696b5;}[_0x228359(0x140)](){const _0x20a09f=_0x228359,_0x572e2d=_0x2498a6(this[_0x20a09f(0x164)]);this[_0x20a09f(0x12c)](_0x572e2d[_0x20a09f(0x169)][_0x20a09f(0x189)],_0x20a09f(0x17d),()=>{const _0x580734=_0x20a09f;if(this[_0x580734(0x16b)])return;for(const {name:_0x3b393b,data:{newRange:_0x4a28d7}}of _0x572e2d[_0x580734(0x169)][_0x580734(0x189)][_0x580734(0x155)][_0x580734(0x15a)]())if(_0x3b393b[_0x580734(0x152)](_0x580734(0x144))&&(_0x4a28d7&&(_0x4a28d7[_0x580734(0x143)][_0x580734(0x141)](_0x4a28d7[_0x580734(0x14d)])||_0x580734(0x12e)==_0x4a28d7[_0x580734(0x187)][_0x580734(0x186)])||null==_0x4a28d7)){const _0x42e0ee=_0x38d4ba(this[_0x580734(0x164)][_0x580734(0x18e)],_0x580734(0x149));this[_0x580734(0x18b)][_0x580734(0x12d)](_0x42e0ee),this[_0x580734(0x174)](_0x580734(0x18d));}});}[_0x228359(0x165)](){const _0x3f0af3=_0x228359,_0x45f27d=_0x2498a6(this[_0x3f0af3(0x164)]);this[_0x3f0af3(0x146)](_0x45f27d[_0x3f0af3(0x169)][_0x3f0af3(0x189)]);}[_0x228359(0x142)](){const _0x29aed3=_0x228359,_0x56b350=_0x2498a6(this[_0x29aed3(0x164)]);return _0x5641f2(_0x56b350[_0x29aed3(0x156)],[..._0x56b350[_0x29aed3(0x169)][_0x29aed3(0x162)][_0x29aed3(0x18c)](_0x29aed3(0x177)),..._0x56b350[_0x29aed3(0x169)][_0x29aed3(0x162)][_0x29aed3(0x18c)](_0x29aed3(0x15d))]);}}
23
+ const _0x18d597=_0x31f6;function _0x31f6(_0x20fccf,_0xbc1641){const _0x3a77af=_0x3a77();return _0x31f6=function(_0x31f6a5,_0x404af9){_0x31f6a5=_0x31f6a5-0x19d;let _0x4dd311=_0x3a77af[_0x31f6a5];return _0x4dd311;},_0x31f6(_0x20fccf,_0xbc1641);}(function(_0x4fa806,_0x410751){const _0x577307=_0x31f6,_0x140521=_0x4fa806();while(!![]){try{const _0x464b8e=parseInt(_0x577307(0x1d5))/0x1*(-parseInt(_0x577307(0x1e2))/0x2)+-parseInt(_0x577307(0x1aa))/0x3*(-parseInt(_0x577307(0x1c8))/0x4)+parseInt(_0x577307(0x1ca))/0x5+-parseInt(_0x577307(0x1d0))/0x6*(-parseInt(_0x577307(0x1b6))/0x7)+-parseInt(_0x577307(0x1b2))/0x8+parseInt(_0x577307(0x1d3))/0x9+parseInt(_0x577307(0x1fd))/0xa*(-parseInt(_0x577307(0x1c3))/0xb);if(_0x464b8e===_0x410751)break;else _0x140521['push'](_0x140521['shift']());}catch(_0x278042){_0x140521['push'](_0x140521['shift']());}}}(_0x3a77,0x68b90));import{ContextPlugin as _0x2b405a}from'ckeditor5/src/core.js';import{AIConnector as _0x36fa77}from'../aicore/aiconnector.js';import{AIEditing as _0x191fbf}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xf8fad7,AIBalloonView as _0x1dae2f}from'./ui/aiballoonview.js';function _0x3a77(){const _0x15f068=['426659TIprRz','requires','_setupVisualSelection','markers','icon','isEqual','_getSelectionElements','max','ai-balloon','open','\x20ai-balloon-rotator','_cleanupMarkerRemovalListener','round','2jKGEMs','differ','width','ai-selection:','height','bottom','isOpen','updatePosition','updateContent','render','ai-selection','listenTo','top','balloonView','Dialog','mainView','start','value','getBoundingRect','locale','plugins','headerView','content','window','AIEditing','_updateBalloon','show','40cKzQuq','end','isOfficialPlugin','editing','getMarkersGroup','_calculateDialogPosition','pluginName','getIntersection','index','_config','ai-balloon-selection','ai-balloon-','delegate','commands','ranges','showBlockingError','title','trackChanges','off','hideFakeVisualSelection','getVisible','rootName','hide','length','isTrackChangesOn','248181hkouSf','view','setupRotator','showFakeVisualSelection','_calculateOptimalTopPosition','_showDialog','filter','fire','3692584DqZhUr','iconView','left','isPremiumPlugin','44534lkrwfL','document','once','get','dialogClosed','root','startsWith','_setupMarkerRemovalListener','model','bind','label','_pendingRenderCallback','aiBalloon','193831mNwLvK','config','selectionRemoved','close','change','12jCfJhb','stopListening','2539640YcERCZ','showRotator','$graveyard','ai.availableReplyActions','_isUpdatingMarkers','AI_ACTIONS_SELECTION_REMOVED_ERROR','132hxJAJO','context','getChangedMarkers','4424283MGnbgt','AIBalloon'];_0x3a77=function(){return _0x15f068;};return _0x3a77();}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3a41dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x257901,Rect as _0x372a19,scrollViewportToShowTarget as _0x7a343c}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x2a6d9a}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x55a705}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x264d57}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0xf8fad7,_0x18d597(0x1ba),_0x18d597(0x1c5)];const x=0xa;export class AIBalloon extends _0x2b405a{static get[_0x18d597(0x1d6)](){return[_0x36fa77,_0x191fbf];}static get[_0x18d597(0x203)](){const _0x497f07=_0x18d597;return _0x497f07(0x1d4);}static get[_0x18d597(0x1ff)](){return!0x0;}static get[_0x18d597(0x1b5)](){return!0x0;}[_0x18d597(0x1e8)]=!0x1;[_0x18d597(0x206)];[_0x18d597(0x1ce)]=!0x1;[_0x18d597(0x1c1)]=null;[_0x18d597(0x1de)](_0x20485f){const _0x2a064e=_0x18d597,_0x26a155=_0x2a6d9a(this[_0x2a064e(0x1d1)]);if(this[_0x2a064e(0x206)]=_0x20485f,this[_0x2a064e(0x1e8)])return void this[_0x2a064e(0x1fb)](_0x20485f);const _0x5891b8=this[_0x2a064e(0x1d1)][_0x2a064e(0x1c4)][_0x2a064e(0x1b9)](_0x2a064e(0x1cd))||[..._0x55a705],_0xcfc870=_0x26a155?.[_0x2a064e(0x19e)][_0x2a064e(0x1b9)](_0x2a064e(0x1a2)),_0x5b4e8f=_0xcfc870?.[_0x2a064e(0x1f3)];this[_0x2a064e(0x1ef)]=new _0x1dae2f(_0x26a155[_0x2a064e(0x1f5)],_0x20485f,_0x5891b8,!!_0x5b4e8f),this[_0x2a064e(0x1ef)][_0x2a064e(0x19d)](..._0xf8fad7)['to'](this),_0xcfc870&&this[_0x2a064e(0x1ef)][_0x2a064e(0x1bf)](_0x2a064e(0x1a9))['to'](_0xcfc870,_0x2a064e(0x1f3)),this[_0x2a064e(0x1af)](_0x20485f);}[_0x18d597(0x1c6)](){const _0x648937=_0x18d597;_0x2a6d9a(this[_0x648937(0x1d1)])[_0x648937(0x1f6)][_0x648937(0x1b9)](_0x648937(0x1f0))[_0x648937(0x1a7)]();}[_0x18d597(0x1fb)](_0x3551a8){const _0x52edb7=_0x18d597,_0x33bcf5=_0x2a6d9a(this[_0x52edb7(0x1d1)]),_0x2eedc8=_0x33bcf5[_0x52edb7(0x1f6)][_0x52edb7(0x1b9)](_0x52edb7(0x1f0));this[_0x52edb7(0x1c1)]&&(_0x33bcf5[_0x52edb7(0x200)][_0x52edb7(0x1ab)][_0x52edb7(0x1a3)](_0x52edb7(0x1eb),this[_0x52edb7(0x1c1)]),this[_0x52edb7(0x1c1)]=null),this[_0x52edb7(0x1ce)]=!0x0,_0x2eedc8[_0x52edb7(0x1ab)]?.[_0x52edb7(0x1f7)]&&(_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1c0)]=_0x3551a8[_0x52edb7(0x1a1)],_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1b3)]&&_0x3551a8[_0x52edb7(0x1d9)]&&(_0x2eedc8[_0x52edb7(0x1ab)][_0x52edb7(0x1f7)][_0x52edb7(0x1b3)][_0x52edb7(0x1f8)]=_0x3551a8[_0x52edb7(0x1d9)])),this[_0x52edb7(0x1ef)][_0x52edb7(0x1ea)](_0x3551a8[_0x52edb7(0x1f1)]),this[_0x52edb7(0x1d7)](_0x3551a8[_0x52edb7(0x19f)],_0x3551a8[_0x52edb7(0x205)]),this[_0x52edb7(0x1c1)]=()=>{const _0x4e2395=_0x52edb7;this[_0x4e2395(0x1ce)]=!0x1,this[_0x4e2395(0x1c1)]=null,_0x2eedc8[_0x4e2395(0x1ab)]&&_0x2eedc8[_0x4e2395(0x1ab)][_0x4e2395(0x1e9)]();},_0x33bcf5[_0x52edb7(0x200)][_0x52edb7(0x1ab)][_0x52edb7(0x1b8)](_0x52edb7(0x1eb),this[_0x52edb7(0x1c1)]);}[_0x18d597(0x1d7)](_0x2044a2,_0x577cca){const _0x73f3ca=_0x18d597;this[_0x73f3ca(0x1d1)][_0x73f3ca(0x1f6)][_0x73f3ca(0x1b9)](_0x191fbf)[_0x73f3ca(0x1ad)](_0x2044a2,_0x73f3ca(0x208)+_0x577cca,!0x0,!0x0);}[_0x18d597(0x1af)](_0x846ae2){const _0x4a1115=_0x18d597,_0x5d5638=_0x2a6d9a(this[_0x4a1115(0x1d1)]);this[_0x4a1115(0x1d7)](_0x846ae2[_0x4a1115(0x19f)],_0x846ae2[_0x4a1115(0x205)]);const _0xb5b0bf=this[_0x4a1115(0x1db)]();_0xb5b0bf&&_0xb5b0bf[0x0]&&_0x7a343c({'target':_0xb5b0bf[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x5d5638[_0x4a1115(0x1f6)][_0x4a1115(0x1b9)](_0x4a1115(0x1f0))[_0x4a1115(0x1fc)]({'title':_0x846ae2[_0x4a1115(0x1a1)],'icon':_0x846ae2[_0x4a1115(0x1d9)],'hasCloseButton':!0x0,'id':_0x4a1115(0x1c2),'position':this[_0x4a1115(0x202)][_0x4a1115(0x1bf)](this),'className':_0x4a1115(0x1dd)+(_0x846ae2[_0x4a1115(0x1cb)]?_0x4a1115(0x1df):''),'content':this[_0x4a1115(0x1ef)],'onShow':_0x423810=>{const _0x5de683=_0x4a1115;_0x846ae2[_0x5de683(0x1cb)]&&this[_0x5de683(0x1ef)][_0x5de683(0x1ac)](_0x423810),this[_0x5de683(0x1bd)](),this[_0x5de683(0x1e8)]=!0x0;},'onHide':()=>{const _0x349ad8=_0x4a1115;this[_0x349ad8(0x1d1)][_0x349ad8(0x1f6)][_0x349ad8(0x1b9)](_0x349ad8(0x1fa))[_0x349ad8(0x1a4)](_0x349ad8(0x208)+this[_0x349ad8(0x206)][_0x349ad8(0x205)]),this[_0x349ad8(0x1e0)](),this[_0x349ad8(0x1b1)](_0x349ad8(0x1ba)),this[_0x349ad8(0x1e8)]=!0x1;}});}[_0x18d597(0x202)](_0x44122a,_0x51d33c){const _0x2ccf99=_0x18d597;if(!_0x51d33c)return null;const _0x574b7a=this[_0x2ccf99(0x1db)]();if(!_0x574b7a||0x0===_0x574b7a[_0x2ccf99(0x1a8)])return{'left':Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1b4)]+_0x51d33c[_0x2ccf99(0x1e4)]/0x2-_0x44122a[_0x2ccf99(0x1e4)]/0x2),'top':Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1ee)]+_0x51d33c[_0x2ccf99(0x1e6)]/0x2-_0x44122a[_0x2ccf99(0x1e6)]/0x2)};const _0x444cf3=Math[_0x2ccf99(0x1e1)](_0x51d33c[_0x2ccf99(0x1b4)]+_0x51d33c[_0x2ccf99(0x1e4)]/0x2-_0x44122a[_0x2ccf99(0x1e4)]/0x2),_0x186029=new _0x372a19(_0x574b7a[0x0]),_0x1c4593=new _0x372a19(_0x574b7a[_0x574b7a[_0x2ccf99(0x1a8)]-0x1]),_0x14488d=_0x44122a[_0x2ccf99(0x1e6)],_0x13e28e=this[_0x2ccf99(0x206)][_0x2ccf99(0x1cb)]?0x8:0x0;return{'left':_0x444cf3,'top':this[_0x2ccf99(0x1ae)](_0x186029,_0x1c4593,_0x14488d,_0x13e28e,_0x51d33c)};}[_0x18d597(0x1ae)](_0x3cb1cf,_0x59dfaf,_0x4c9ba4,_0x54569d=0x0,_0x1131ac){const _0x1f15f6=_0x18d597,_0x47ccba=_0x4c9ba4+_0x54569d,_0x500657=new _0x372a19(_0x257901[_0x1f15f6(0x1f9)]),_0x20667f=[_0x3cb1cf[_0x1f15f6(0x1a5)](),_0x59dfaf[_0x1f15f6(0x1a5)]()][_0x1f15f6(0x1b0)](_0x31711f=>_0x31711f),_0x54124c=_0x372a19[_0x1f15f6(0x1f4)](_0x20667f);if(!_0x54124c)return Math[_0x1f15f6(0x1e1)](_0x1131ac[_0x1f15f6(0x1ee)]+_0x1131ac[_0x1f15f6(0x1e6)]/0x2);const _0x4e00fd=_0x500657[_0x1f15f6(0x204)](_0x54124c);if(!_0x4e00fd)return Math[_0x1f15f6(0x1e1)](_0x1131ac[_0x1f15f6(0x1ee)]+_0x1131ac[_0x1f15f6(0x1e6)]/0x2);const _0x503e84=_0x1131ac[_0x1f15f6(0x1a5)](),_0x15e7b3=_0x503e84&&_0x54124c[_0x1f15f6(0x1e6)]>_0x503e84[_0x1f15f6(0x1e6)],_0x24316a=_0x4e00fd[_0x1f15f6(0x1ee)],_0x31e458=_0x4e00fd[_0x1f15f6(0x1e7)];if(_0x15e7b3){const _0x4a7331=(_0x503e84||_0x500657)[_0x1f15f6(0x1e6)]/0x2-_0x47ccba/0x2,_0x1bca64=_0x24316a-x-_0x1131ac[_0x1f15f6(0x1ee)],_0x421363=_0x1131ac[_0x1f15f6(0x1e7)]-_0x31e458-x;return _0x1bca64>=_0x47ccba?Math[_0x1f15f6(0x1dc)](x,_0x24316a-_0x47ccba-x):_0x421363>=_0x47ccba?_0x31e458+x:Math[_0x1f15f6(0x1dc)](x,_0x4a7331);}const _0x198d6b=_0x24316a-_0x47ccba,_0x47cacc=_0x1131ac[_0x1f15f6(0x1e7)]-_0x31e458-x,_0x15bbc3=_0x24316a-x-_0x1131ac[_0x1f15f6(0x1ee)];let _0x55f194;if(_0x47cacc>=_0x47ccba)_0x55f194=_0x31e458+x;else{if(_0x15bbc3>=_0x47ccba)_0x55f194=_0x198d6b-x;else _0x55f194=_0x24316a+_0x54124c[_0x1f15f6(0x1e6)]/0x2-_0x47ccba/0x2;}return _0x55f194;}[_0x18d597(0x1bd)](){const _0x20082f=_0x18d597,_0x37d193=_0x2a6d9a(this[_0x20082f(0x1d1)]);this[_0x20082f(0x1ed)](_0x37d193[_0x20082f(0x1be)][_0x20082f(0x1b7)],_0x20082f(0x1c7),()=>{const _0x5c296b=_0x20082f;if(this[_0x5c296b(0x1ce)])return;for(const {name:_0x1575ae,data:{newRange:_0x4bf15c}}of _0x37d193[_0x5c296b(0x1be)][_0x5c296b(0x1b7)][_0x5c296b(0x1e3)][_0x5c296b(0x1d2)]())if(_0x1575ae[_0x5c296b(0x1bc)](_0x5c296b(0x1e5))&&(_0x4bf15c&&(_0x4bf15c[_0x5c296b(0x1f2)][_0x5c296b(0x1da)](_0x4bf15c[_0x5c296b(0x1fe)])||_0x5c296b(0x1cc)==_0x4bf15c[_0x5c296b(0x1bb)][_0x5c296b(0x1a6)])||null==_0x4bf15c)){const _0x1e9393=_0x264d57(this[_0x5c296b(0x1d1)][_0x5c296b(0x1f5)],_0x5c296b(0x1cf));this[_0x5c296b(0x1ef)][_0x5c296b(0x1a0)](_0x1e9393),this[_0x5c296b(0x1b1)](_0x5c296b(0x1c5));}});}[_0x18d597(0x1e0)](){const _0x180552=_0x18d597,_0x35d775=_0x2a6d9a(this[_0x180552(0x1d1)]);this[_0x180552(0x1c9)](_0x35d775[_0x180552(0x1be)][_0x180552(0x1b7)]);}[_0x18d597(0x1db)](){const _0x53946f=_0x18d597,_0x167caf=_0x2a6d9a(this[_0x53946f(0x1d1)]);return _0x3a41dc(_0x167caf[_0x53946f(0x200)],[..._0x167caf[_0x53946f(0x1be)][_0x53946f(0x1d8)][_0x53946f(0x201)](_0x53946f(0x1ec)),..._0x167caf[_0x53946f(0x1be)][_0x53946f(0x1d8)][_0x53946f(0x201)](_0x53946f(0x207))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13f674,_0x27a807){var _0x4505a9=_0x3c5f,_0x55fed3=_0x13f674();while(!![]){try{var _0x2ab279=-parseInt(_0x4505a9(0x88))/0x1*(-parseInt(_0x4505a9(0x89))/0x2)+-parseInt(_0x4505a9(0x87))/0x3+-parseInt(_0x4505a9(0x86))/0x4+-parseInt(_0x4505a9(0x8c))/0x5+-parseInt(_0x4505a9(0x8e))/0x6+-parseInt(_0x4505a9(0x85))/0x7*(-parseInt(_0x4505a9(0x8a))/0x8)+parseInt(_0x4505a9(0x8d))/0x9;if(_0x2ab279===_0x27a807)break;else _0x55fed3['push'](_0x55fed3['shift']());}catch(_0x5d5618){_0x55fed3['push'](_0x55fed3['shift']());}}}(_0x3ac0,0x895d6));import{View as _0x51c353}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f84b6}from'../../aicore/utils/common-translations.js';function _0x3c5f(_0x1b5142,_0x2c446d){var _0x3ac0d1=_0x3ac0();return _0x3c5f=function(_0x3c5f0c,_0x3c35e1){_0x3c5f0c=_0x3c5f0c-0x81;var _0x280963=_0x3ac0d1[_0x3c5f0c];return _0x280963;},_0x3c5f(_0x1b5142,_0x2c446d);}function _0x3ac0(){var _0x53dcee=['19530864smeYWt','5285982LkLeup','div','setTemplate','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','2195144QnuXVa','3943988VvRUWv','484302eyYCZU','1UHaVRS','2008232bgkRYE','8ydXkpy','AI_DISCLAIMER_TEXT','4483650YXNfGN'];_0x3ac0=function(){return _0x53dcee;};return _0x3ac0();}export class AIBalloonDisclaimerView extends _0x51c353{constructor(_0x336f25){var _0x4512e7=_0x3c5f;super(_0x336f25),this[_0x4512e7(0x82)]({'tag':_0x4512e7(0x81),'attributes':{'class':['ck',_0x4512e7(0x84)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4512e7(0x83)]},'children':[{'text':_0x4f84b6(_0x336f25,_0x4512e7(0x8b))}]}]});}}
23
+ (function(_0x5d431f,_0xd276bc){var _0xc0cce3=_0x298b,_0x4bd881=_0x5d431f();while(!![]){try{var _0x42a6b9=parseInt(_0xc0cce3(0x98))/0x1+parseInt(_0xc0cce3(0x9d))/0x2*(-parseInt(_0xc0cce3(0xa2))/0x3)+parseInt(_0xc0cce3(0x99))/0x4*(-parseInt(_0xc0cce3(0x9a))/0x5)+parseInt(_0xc0cce3(0xa3))/0x6+parseInt(_0xc0cce3(0xa4))/0x7+parseInt(_0xc0cce3(0x96))/0x8*(parseInt(_0xc0cce3(0x9b))/0x9)+-parseInt(_0xc0cce3(0xa0))/0xa*(parseInt(_0xc0cce3(0x9c))/0xb);if(_0x42a6b9===_0xd276bc)break;else _0x4bd881['push'](_0x4bd881['shift']());}catch(_0xce0a8f){_0x4bd881['push'](_0x4bd881['shift']());}}}(_0x4168,0x6bef4));import{View as _0x5affdc}from'ckeditor5/src/ui.js';function _0x4168(){var _0x2a7672=['6106583bLaYWY','setTemplate','912yRCzfY','div','329529cfcSTO','14940XbVjHq','195rFyrHr','35829CxACZl','11GDBruh','2XeVitl','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','7800310ooVcAX','AI_DISCLAIMER_TEXT','870171zAUDpe','12726fmOiTQ'];_0x4168=function(){return _0x2a7672;};return _0x4168();}function _0x298b(_0x5f2539,_0x5a9a1b){var _0x416858=_0x4168();return _0x298b=function(_0x298b1d,_0x527e3e){_0x298b1d=_0x298b1d-0x96;var _0x1e673b=_0x416858[_0x298b1d];return _0x1e673b;},_0x298b(_0x5f2539,_0x5a9a1b);}import{getTranslation as _0x4468cc}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x5affdc{constructor(_0x32ad9e){var _0xcb180b=_0x298b;super(_0x32ad9e),this[_0xcb180b(0xa5)]({'tag':_0xcb180b(0x97),'attributes':{'class':['ck',_0xcb180b(0x9e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xcb180b(0x9f)]},'children':[{'text':_0x4468cc(_0x32ad9e,_0xcb180b(0xa1))}]}]});}}