@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1

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 (295) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +105 -11
  3. package/dist/index.css +105 -11
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +1 -0
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +11 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -0
  272. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  288. package/src/aireviewmode/utils/common-translations.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/index.js +1 -1
  295. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x279a(){const _0x47ed70=['6DIkYXr','div','ck-ai-form__error','1225856uSHHmN','set','text','bindTemplate','17044ZnsTml','setTemplate','1320870ZeFsPB','13348232hcsJRN','10834299SiQPeV','content','15867396aUYLQQ','135210roaOxh','1146Waixhg','10PAkxyW'];_0x279a=function(){return _0x47ed70;};return _0x279a();}(function(_0x4588be,_0x70d4e9){const _0x2e3f2a=_0x390f,_0x24126b=_0x4588be();while(!![]){try{const _0x53724a=parseInt(_0x2e3f2a(0x127))/0x1+parseInt(_0x2e3f2a(0x121))/0x2+parseInt(_0x2e3f2a(0x122))/0x3*(-parseInt(_0x2e3f2a(0x12b))/0x4)+parseInt(_0x2e3f2a(0x11c))/0x5*(-parseInt(_0x2e3f2a(0x124))/0x6)+parseInt(_0x2e3f2a(0x11e))/0x7+parseInt(_0x2e3f2a(0x11d))/0x8+-parseInt(_0x2e3f2a(0x120))/0x9*(parseInt(_0x2e3f2a(0x123))/0xa);if(_0x53724a===_0x70d4e9)break;else _0x24126b['push'](_0x24126b['shift']());}catch(_0x4afe9b){_0x24126b['push'](_0x24126b['shift']());}}}(_0x279a,0xd0b2b));function _0x390f(_0x2638bd,_0x2f993d){const _0x279a9d=_0x279a();return _0x390f=function(_0x390f3f,_0x595203){_0x390f3f=_0x390f3f-0x11b;let _0x15a21e=_0x279a9d[_0x390f3f];return _0x15a21e;},_0x390f(_0x2638bd,_0x2f993d);}import{IconError as _0x54058b}from'ckeditor5/src/icons.js';import{View as _0x44cf68,IconView as _0x456e06}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x44cf68{constructor(_0x318751,_0x4732d2=''){const _0x5b0d41=_0x390f;super(_0x318751);const _0x9dc3f5=new _0x456e06(),_0x40ecc2=this[_0x5b0d41(0x12a)];this[_0x5b0d41(0x128)](_0x5b0d41(0x129),_0x4732d2),_0x9dc3f5[_0x5b0d41(0x11f)]=_0x54058b,this[_0x5b0d41(0x11b)]({'tag':_0x5b0d41(0x125),'attributes':{'class':['ck',_0x5b0d41(0x126)]},'children':[_0x9dc3f5,{'text':_0x40ecc2['to'](_0x5b0d41(0x129))}]});}}
23
+ (function(_0x3e4d2f,_0x229580){const _0x2294a9=_0x5bf2,_0x543bfd=_0x3e4d2f();while(!![]){try{const _0x5ebcdb=-parseInt(_0x2294a9(0x1da))/0x1*(-parseInt(_0x2294a9(0x1d8))/0x2)+-parseInt(_0x2294a9(0x1d1))/0x3+parseInt(_0x2294a9(0x1d4))/0x4+parseInt(_0x2294a9(0x1d0))/0x5+-parseInt(_0x2294a9(0x1d6))/0x6+-parseInt(_0x2294a9(0x1dc))/0x7*(-parseInt(_0x2294a9(0x1d2))/0x8)+-parseInt(_0x2294a9(0x1ce))/0x9*(-parseInt(_0x2294a9(0x1cc))/0xa);if(_0x5ebcdb===_0x229580)break;else _0x543bfd['push'](_0x543bfd['shift']());}catch(_0x1ee794){_0x543bfd['push'](_0x543bfd['shift']());}}}(_0x1c29,0x2b825));function _0x5bf2(_0x100c1b,_0x3e7d91){const _0x1c29d8=_0x1c29();return _0x5bf2=function(_0x5bf2d9,_0x544a60){_0x5bf2d9=_0x5bf2d9-0x1cc;let _0x1a2982=_0x1c29d8[_0x5bf2d9];return _0x1a2982;},_0x5bf2(_0x100c1b,_0x3e7d91);}function _0x1c29(){const _0x432f59=['60fXajTF','setTemplate','343773KurnMP','bindTemplate','259715GmZSTr','283740wpThme','28432cQzHCQ','ck-ai-form__error','6444nxTcbW','set','1425156WXkuPU','content','2vNvgWl','div','81869eCoikL','text','287QzdYoq'];_0x1c29=function(){return _0x432f59;};return _0x1c29();}import{IconError as _0x64fb5f}from'ckeditor5/src/icons.js';import{View as _0x26f0fc,IconView as _0x3028cb}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x26f0fc{constructor(_0x3bcf40,_0x27b88b=''){const _0x20bb43=_0x5bf2;super(_0x3bcf40);const _0x3472d8=new _0x3028cb(),_0x1ab167=this[_0x20bb43(0x1cf)];this[_0x20bb43(0x1d5)](_0x20bb43(0x1db),_0x27b88b),_0x3472d8[_0x20bb43(0x1d7)]=_0x64fb5f,this[_0x20bb43(0x1cd)]({'tag':_0x20bb43(0x1d9),'attributes':{'class':['ck',_0x20bb43(0x1d3)]},'children':[_0x3472d8,{'text':_0x1ab167['to'](_0x20bb43(0x1db))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xca353f=_0x5efc;(function(_0x5e481c,_0xf1de2e){const _0x13d5bf=_0x5efc,_0x3faa1b=_0x5e481c();while(!![]){try{const _0x5a195f=-parseInt(_0x13d5bf(0x15f))/0x1*(-parseInt(_0x13d5bf(0x169))/0x2)+-parseInt(_0x13d5bf(0x16c))/0x3+-parseInt(_0x13d5bf(0x159))/0x4+parseInt(_0x13d5bf(0x174))/0x5+-parseInt(_0x13d5bf(0x16d))/0x6+-parseInt(_0x13d5bf(0x15d))/0x7*(-parseInt(_0x13d5bf(0x15b))/0x8)+-parseInt(_0x13d5bf(0x179))/0x9*(parseInt(_0x13d5bf(0x146))/0xa);if(_0x5a195f===_0xf1de2e)break;else _0x3faa1b['push'](_0x3faa1b['shift']());}catch(_0x81b82e){_0x3faa1b['push'](_0x3faa1b['shift']());}}}(_0xad5f,0x77d9a));import{Rect as _0x22aa8f,global as _0x45d06f,isVisible as _0x5d666e}from'ckeditor5/src/utils.js';function _0x5efc(_0x3b1aa2,_0x361292){const _0xad5f61=_0xad5f();return _0x5efc=function(_0x5efc40,_0x30c0cf){_0x5efc40=_0x5efc40-0x142;let _0xd3a8eb=_0xad5f61[_0x5efc40];return _0xd3a8eb;},_0x5efc(_0x3b1aa2,_0x361292);}import{IconAIHistory as _0x464722,IconSubmit as _0x22e350}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1b88e2,ButtonView as _0x343bd6}from'ckeditor5/src/ui.js';import{getTranslation as _0x29639c}from'../../utils/common-translations.js';function _0xad5f(){const _0x36e544=['queryView','submit','focus','ck-ai-form__toggle-history','render','4343555nKWpuU','keystrokes','resultsView','left','target','6854373MVlXUX','submitButtonView','isVisible','fieldWrapperChildren','fire','isEmpty','showHistoryButtonView','10tGMHGx','element','value','excludeScrollbarsAndBorders','children','fieldView','focusLast','Submit','window','execute','set','uiLanguageDirection','maxRows','style','_createShowHistoryButton','add','focusFirst','requestAnimationFrame','locale','285820qrmHEV','History','35864Uesrqm','isEnabled','427vhqyft','filteredView','809605WCEnbc','width','_createSubmitButton','right','ck-ai-form__submit','focusCycler','minRows','enter','update','bind','2pnUUfg','focusableChildren','rtl','1653507LcZMff','459912TtKZXd','isOn'];_0xad5f=function(){return _0x36e544;};return _0xad5f();}export class AIFormPromptView extends _0x1b88e2{[_0xca353f(0x17a)];[_0xca353f(0x145)];constructor(_0x38f9f2,_0x3fcfb0){const _0x286b14=_0xca353f;super(_0x38f9f2,_0x3fcfb0),this[_0x286b14(0x16f)][_0x286b14(0x14b)][_0x286b14(0x165)]=0x1,this[_0x286b14(0x16f)][_0x286b14(0x14b)][_0x286b14(0x152)]=0x3,this[_0x286b14(0x17a)]=this[_0x286b14(0x161)](),this[_0x286b14(0x145)]=this[_0x286b14(0x154)](),this[_0x286b14(0x16a)][_0x286b14(0x155)](this[_0x286b14(0x145)],0x1),this[_0x286b14(0x16a)][_0x286b14(0x155)](this[_0x286b14(0x17a)]);}[_0xca353f(0x173)](){const _0x3873a9=_0xca353f;super[_0x3873a9(0x173)](),this[_0x3873a9(0x16f)][_0x3873a9(0x142)][_0x3873a9(0x155)](this[_0x3873a9(0x145)]),this[_0x3873a9(0x14a)][_0x3873a9(0x155)](this[_0x3873a9(0x17a)]),this[_0x3873a9(0x175)][_0x3873a9(0x150)](_0x3873a9(0x166),(_0x5493ad,_0x46ff50)=>{const _0x5a4c8c=_0x3873a9;_0x5493ad[_0x5a4c8c(0x178)]==this[_0x5a4c8c(0x16f)][_0x5a4c8c(0x14b)][_0x5a4c8c(0x147)]&&(this[_0x5a4c8c(0x170)](),_0x46ff50());});}[_0xca353f(0x161)](){const _0x47e396=_0xca353f,_0x36f347=new _0x343bd6(this[_0x47e396(0x158)]),_0x59d093=this[_0x47e396(0x158)];return _0x36f347[_0x47e396(0x150)]({'icon':_0x22e350,'label':_0x29639c(_0x59d093,_0x47e396(0x14d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x47e396(0x163)}),_0x36f347['on'](_0x47e396(0x14f),()=>{const _0x36613a=_0x47e396;this[_0x36613a(0x170)]();}),_0x36f347[_0x47e396(0x168)](_0x47e396(0x15c))['to'](this[_0x47e396(0x16f)][_0x47e396(0x14b)],_0x47e396(0x144),this,_0x47e396(0x15c),(_0x19ad89,_0x28bda1)=>!_0x19ad89&&_0x28bda1),_0x36f347;}[_0xca353f(0x154)](){const _0x4819cb=_0xca353f,_0x30f6f7=new _0x343bd6(this[_0x4819cb(0x158)]),_0x51dd6b=this[_0x4819cb(0x176)],_0x282f6b=this[_0x4819cb(0x158)];_0x30f6f7[_0x4819cb(0x150)]({'label':_0x29639c(_0x282f6b,_0x4819cb(0x15a)),'withText':!0x1,'icon':_0x464722,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4819cb(0x172)}),_0x30f6f7[_0x4819cb(0x168)](_0x4819cb(0x16e))['to'](_0x51dd6b,_0x4819cb(0x17b)),_0x30f6f7[_0x4819cb(0x168)](_0x4819cb(0x15c))['to'](this,_0x4819cb(0x15c)),_0x30f6f7['on'](_0x4819cb(0x14f),()=>{const _0xb9a143=_0x4819cb;_0x51dd6b[_0xb9a143(0x17b)]=!_0x51dd6b[_0xb9a143(0x17b)],_0x51dd6b[_0xb9a143(0x17b)]?this[_0xb9a143(0x15e)][_0xb9a143(0x171)]():this[_0xb9a143(0x171)]();});const _0x17d117=()=>{const _0x35c098=_0x4819cb;_0x45d06f[_0x35c098(0x14e)][_0x35c098(0x157)](()=>{const _0x296131=_0x35c098;if(_0x5d666e(this[_0x296131(0x147)])){const _0x3f8eec=new _0x22aa8f(this[_0x296131(0x16f)][_0x296131(0x14b)][_0x296131(0x147)]),_0x11f1b4=_0x3f8eec[_0x296131(0x160)],_0x1abb62=_0x296131(0x16b)===_0x282f6b[_0x296131(0x151)]?_0x296131(0x177):_0x296131(0x162);_0x3f8eec[_0x296131(0x149)](),_0x30f6f7[_0x296131(0x147)][_0x296131(0x153)][_0x1abb62]=_0x11f1b4-_0x3f8eec[_0x296131(0x160)]+0x1+'px';}});};return this[_0x4819cb(0x16f)][_0x4819cb(0x14b)]['on'](_0x4819cb(0x167),_0x17d117),this['on'](_0x4819cb(0x173),_0x17d117),_0x30f6f7;}[_0xca353f(0x170)](){const _0x119b8f=_0xca353f,_0x382645=this[_0x119b8f(0x16f)][_0x119b8f(0x14b)][_0x119b8f(0x147)][_0x119b8f(0x148)];this[_0x119b8f(0x143)](_0x119b8f(0x170),_0x382645);}[_0xca353f(0x171)](_0x28f91b){const _0x428b1a=_0xca353f;-0x1===_0x28f91b?this[_0x428b1a(0x164)][_0x428b1a(0x14c)]():this[_0x428b1a(0x164)][_0x428b1a(0x156)]();}}
23
+ const _0xd1a4cf=_0x1d43;(function(_0x3f0311,_0x32c529){const _0x4474ac=_0x1d43,_0x216bae=_0x3f0311();while(!![]){try{const _0x4c8900=-parseInt(_0x4474ac(0x18b))/0x1*(-parseInt(_0x4474ac(0x1b6))/0x2)+-parseInt(_0x4474ac(0x182))/0x3*(-parseInt(_0x4474ac(0x19c))/0x4)+-parseInt(_0x4474ac(0x19a))/0x5*(-parseInt(_0x4474ac(0x19b))/0x6)+parseInt(_0x4474ac(0x17d))/0x7+parseInt(_0x4474ac(0x184))/0x8+parseInt(_0x4474ac(0x17f))/0x9+-parseInt(_0x4474ac(0x1b3))/0xa*(parseInt(_0x4474ac(0x193))/0xb);if(_0x4c8900===_0x32c529)break;else _0x216bae['push'](_0x216bae['shift']());}catch(_0x2c0056){_0x216bae['push'](_0x216bae['shift']());}}}(_0x3717,0xe7350));import{Rect as _0xe53168,global as _0x5f0e7e,isVisible as _0xcbb7fb}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x42167f,IconSubmit as _0x4fadd8}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x55674e,ButtonView as _0xf21d50}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b7d7e}from'../../utils/common-translations.js';function _0x1d43(_0x4c60a0,_0x2aada2){const _0x3717ce=_0x3717();return _0x1d43=function(_0x1d4344,_0x1c1693){_0x1d4344=_0x1d4344-0x17c;let _0x128904=_0x3717ce[_0x1d4344];return _0x128904;},_0x1d43(_0x4c60a0,_0x2aada2);}export class AIFormPromptView extends _0x55674e{[_0xd1a4cf(0x181)];[_0xd1a4cf(0x1ad)];constructor(_0x4fc503,_0x5323e5){const _0x2a13a6=_0xd1a4cf;super(_0x4fc503,_0x5323e5),this[_0x2a13a6(0x194)][_0x2a13a6(0x186)][_0x2a13a6(0x190)]=0x1,this[_0x2a13a6(0x194)][_0x2a13a6(0x186)][_0x2a13a6(0x19e)]=0x3,this[_0x2a13a6(0x181)]=this[_0x2a13a6(0x188)](),this[_0x2a13a6(0x1ad)]=this[_0x2a13a6(0x18c)](),this[_0x2a13a6(0x1b1)][_0x2a13a6(0x1ab)](this[_0x2a13a6(0x1ad)],0x1),this[_0x2a13a6(0x1b1)][_0x2a13a6(0x1ab)](this[_0x2a13a6(0x181)]);}[_0xd1a4cf(0x195)](){const _0x94db4=_0xd1a4cf;super[_0x94db4(0x195)](),this[_0x94db4(0x194)][_0x94db4(0x18f)][_0x94db4(0x1ab)](this[_0x94db4(0x1ad)]),this[_0x94db4(0x19d)][_0x94db4(0x1ab)](this[_0x94db4(0x181)]),this[_0x94db4(0x180)][_0x94db4(0x187)](_0x94db4(0x198),(_0x14304d,_0x5541f4)=>{const _0x10c0a5=_0x94db4;_0x14304d[_0x10c0a5(0x1a2)]==this[_0x10c0a5(0x194)][_0x10c0a5(0x186)][_0x10c0a5(0x1a8)]&&(this[_0x10c0a5(0x196)](),_0x5541f4());});}[_0xd1a4cf(0x188)](){const _0x41c729=_0xd1a4cf,_0x1e0551=new _0xf21d50(this[_0x41c729(0x1a7)]),_0x2f2e18=this[_0x41c729(0x1a7)];return _0x1e0551[_0x41c729(0x187)]({'icon':_0x4fadd8,'label':_0x4b7d7e(_0x2f2e18,_0x41c729(0x1a5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x41c729(0x191)}),_0x1e0551['on'](_0x41c729(0x17e),()=>{const _0x4b3e0b=_0x41c729;this[_0x4b3e0b(0x196)]();}),_0x1e0551[_0x41c729(0x1af)](_0x41c729(0x19f))['to'](this[_0x41c729(0x194)][_0x41c729(0x186)],_0x41c729(0x183),this,_0x41c729(0x19f),(_0x3a101e,_0x381587)=>!_0x3a101e&&_0x381587),_0x1e0551;}[_0xd1a4cf(0x18c)](){const _0x3dd801=_0xd1a4cf,_0x3f8edf=new _0xf21d50(this[_0x3dd801(0x1a7)]),_0x385f2b=this[_0x3dd801(0x1aa)],_0x2de699=this[_0x3dd801(0x1a7)];_0x3f8edf[_0x3dd801(0x187)]({'label':_0x4b7d7e(_0x2de699,_0x3dd801(0x18e)),'withText':!0x1,'icon':_0x42167f,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3dd801(0x189)}),_0x3f8edf[_0x3dd801(0x1af)](_0x3dd801(0x18d))['to'](_0x385f2b,_0x3dd801(0x199)),_0x3f8edf[_0x3dd801(0x1af)](_0x3dd801(0x19f))['to'](this,_0x3dd801(0x19f)),_0x3f8edf['on'](_0x3dd801(0x17e),()=>{const _0x312d39=_0x3dd801;_0x385f2b[_0x312d39(0x199)]=!_0x385f2b[_0x312d39(0x199)],_0x385f2b[_0x312d39(0x199)]?this[_0x312d39(0x1b2)][_0x312d39(0x197)]():this[_0x312d39(0x197)]();});const _0x355671=()=>{const _0x338cbe=_0x3dd801;_0x5f0e7e[_0x338cbe(0x18a)][_0x338cbe(0x1a3)](()=>{const _0x3cdaad=_0x338cbe;if(_0xcbb7fb(this[_0x3cdaad(0x1a8)])){const _0x14e596=new _0xe53168(this[_0x3cdaad(0x194)][_0x3cdaad(0x186)][_0x3cdaad(0x1a8)]),_0x47f120=_0x14e596[_0x3cdaad(0x1b5)],_0x47e1b0=_0x3cdaad(0x192)===_0x2de699[_0x3cdaad(0x185)]?_0x3cdaad(0x1ac):_0x3cdaad(0x1ae);_0x14e596[_0x3cdaad(0x1b4)](),_0x3f8edf[_0x3cdaad(0x1a8)][_0x3cdaad(0x1a6)][_0x47e1b0]=_0x47f120-_0x14e596[_0x3cdaad(0x1b5)]+0x1+'px';}});};return this[_0x3dd801(0x194)][_0x3dd801(0x186)]['on'](_0x3dd801(0x1a1),_0x355671),this['on'](_0x3dd801(0x195),_0x355671),_0x3f8edf;}[_0xd1a4cf(0x196)](){const _0x403eda=_0xd1a4cf,_0x4bcc9c=this[_0x403eda(0x194)][_0x403eda(0x186)][_0x403eda(0x1a8)][_0x403eda(0x1a9)];this[_0x403eda(0x17c)](_0x403eda(0x196),_0x4bcc9c);}[_0xd1a4cf(0x197)](_0x4d7108){const _0x5a041d=_0xd1a4cf;-0x1===_0x4d7108?this[_0x5a041d(0x1b0)][_0x5a041d(0x1a4)]():this[_0x5a041d(0x1b0)][_0x5a041d(0x1a0)]();}}function _0x3717(){const _0x1b2189=['_createShowHistoryButton','isOn','History','fieldWrapperChildren','minRows','ck-ai-form__submit','rtl','11eTYmrv','queryView','render','submit','focus','enter','isVisible','257995UcqIbl','174McHnWR','4NTaVXH','children','maxRows','isEnabled','focusFirst','update','target','requestAnimationFrame','focusLast','Submit','style','locale','element','value','resultsView','add','left','showHistoryButtonView','right','bind','focusCycler','focusableChildren','filteredView','29263240pfDNdF','excludeScrollbarsAndBorders','width','7594uCiBQL','fire','3543435OJrdCX','execute','10872927PgSjLO','keystrokes','submitButtonView','235857xgDDQW','isEmpty','55248XmxpIO','uiLanguageDirection','fieldView','set','_createSubmitButton','ck-ai-form__toggle-history','window','152jcGbCN'];_0x3717=function(){return _0x1b2189;};return _0x3717();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c9165=_0x1f48;function _0x1f48(_0x3805ae,_0x4d2914){const _0x20c9d0=_0x20c9();return _0x1f48=function(_0x1f48b7,_0x12f347){_0x1f48b7=_0x1f48b7-0x150;let _0x1e11cd=_0x20c9d0[_0x1f48b7];return _0x1e11cd;},_0x1f48(_0x3805ae,_0x4d2914);}function _0x20c9(){const _0x4b47ab=['3SyCKJD','AI_','insert','3ApAcoF','REPLACE','392ploWYy','115tqsaxm','4741964tlpKEb','275caZVoh','bindTemplate','_CONTENT','mainAction','set','label','477956MIAPoz','insertButton','174867xIqnQf','ck-button-action','isVisible','tryAgainButton','addMany','replace','ck-ai-form__toolbar','336DwEqhP','Insert\x20below','Stop','bind','toUpperCase','locale','ck-hidden','items','8904753GdgsVY','227094tjndJO','819234BItGLt','replaceButton','extendTemplate','483130LQHZxu','Try\x20again','stopButton','_createButton'];_0x20c9=function(){return _0x4b47ab;};return _0x20c9();}(function(_0x3a5284,_0x47774a){const _0x28b3fe=_0x1f48,_0x558cd4=_0x3a5284();while(!![]){try{const _0x742230=-parseInt(_0x28b3fe(0x15a))/0x1*(parseInt(_0x28b3fe(0x165))/0x2)+-parseInt(_0x28b3fe(0x157))/0x3*(parseInt(_0x28b3fe(0x15e))/0x4)+-parseInt(_0x28b3fe(0x15d))/0x5*(-parseInt(_0x28b3fe(0x177))/0x6)+-parseInt(_0x28b3fe(0x167))/0x7*(-parseInt(_0x28b3fe(0x15c))/0x8)+parseInt(_0x28b3fe(0x176))/0x9+parseInt(_0x28b3fe(0x153))/0xa*(parseInt(_0x28b3fe(0x15f))/0xb)+parseInt(_0x28b3fe(0x16e))/0xc*(-parseInt(_0x28b3fe(0x150))/0xd);if(_0x742230===_0x47774a)break;else _0x558cd4['push'](_0x558cd4['shift']());}catch(_0x2c8111){_0x558cd4['push'](_0x558cd4['shift']());}}}(_0x20c9,0x9890d));import{ToolbarView as _0x520af2,ButtonView as _0x430e07}from'ckeditor5/src/ui.js';import{getTranslation as _0x300c46}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1c9165(0x16c),'INSERT':_0x1c9165(0x159)};export class AIFormToolbarView extends _0x520af2{constructor(_0x42f2bf){const _0x1a0234=_0x1c9165;super(_0x42f2bf),this[_0x1a0234(0x163)](_0x1a0234(0x169),!0x1),this[_0x1a0234(0x163)](_0x1a0234(0x162),AIFormToolbarViewMainActionLabel[_0x1a0234(0x15b)]),this[_0x1a0234(0x151)]=this[_0x1a0234(0x156)]('',_0x1a0234(0x168)),this[_0x1a0234(0x151)][_0x1a0234(0x171)](_0x1a0234(0x164))['to'](this,_0x1a0234(0x162),_0x9fadd4=>_0x300c46(_0x42f2bf,_0x1a0234(0x158)+_0x9fadd4[_0x1a0234(0x172)]()+_0x1a0234(0x161))),this[_0x1a0234(0x166)]=this[_0x1a0234(0x156)](_0x300c46(_0x42f2bf,_0x1a0234(0x16f))),this[_0x1a0234(0x16a)]=this[_0x1a0234(0x156)](_0x300c46(_0x42f2bf,_0x1a0234(0x154))),this[_0x1a0234(0x155)]=this[_0x1a0234(0x156)](_0x300c46(_0x42f2bf,_0x1a0234(0x170)));const _0x25c92d=this[_0x1a0234(0x160)];this[_0x1a0234(0x152)]({'attributes':{'class':[_0x1a0234(0x16d),_0x25c92d['if'](_0x1a0234(0x169),_0x1a0234(0x174),_0x50b59e=>!_0x50b59e)]}}),this[_0x1a0234(0x175)][_0x1a0234(0x16b)]([this[_0x1a0234(0x151)],this[_0x1a0234(0x166)],this[_0x1a0234(0x16a)],this[_0x1a0234(0x155)]]);}[_0x1c9165(0x156)](_0x596de0,_0xef2c8c){const _0x3ba12c=_0x1c9165,_0x699100=new _0x430e07(this[_0x3ba12c(0x173)]);return _0x699100[_0x3ba12c(0x163)]({'label':_0x596de0,'class':_0xef2c8c||'','isVisible':!0x0,'withText':!0x0}),_0x699100;}}
23
+ const _0x4058ca=_0x1039;(function(_0x2dafe3,_0x208de8){const _0x3e4e7d=_0x1039,_0x46daec=_0x2dafe3();while(!![]){try{const _0x2b1697=parseInt(_0x3e4e7d(0x18b))/0x1+-parseInt(_0x3e4e7d(0x181))/0x2*(parseInt(_0x3e4e7d(0x17a))/0x3)+-parseInt(_0x3e4e7d(0x17e))/0x4*(parseInt(_0x3e4e7d(0x179))/0x5)+parseInt(_0x3e4e7d(0x186))/0x6+-parseInt(_0x3e4e7d(0x188))/0x7*(parseInt(_0x3e4e7d(0x184))/0x8)+parseInt(_0x3e4e7d(0x17f))/0x9+parseInt(_0x3e4e7d(0x18f))/0xa;if(_0x2b1697===_0x208de8)break;else _0x46daec['push'](_0x46daec['shift']());}catch(_0x5e5b68){_0x46daec['push'](_0x46daec['shift']());}}}(_0x2102,0x4168e));function _0x2102(){const _0xc58135=['32bUlKiA','items','2963124OEQLoP','ck-button-action','654577AMwFGW','tryAgainButton','bind','193527vXGjve','locale','isVisible','replaceButton','1378010GSgdkD','replace','insert','Insert\x20below','extendTemplate','addMany','Stop','label','toUpperCase','set','insertButton','AI_','mainAction','ck-hidden','_CONTENT','671850JztxvP','440424ExXScM','REPLACE','bindTemplate','_createButton','12Rzaakz','4621554gYQFwc','Try\x20again','4BmEDss','ck-ai-form__toolbar','stopButton'];_0x2102=function(){return _0xc58135;};return _0x2102();}import{ToolbarView as _0x281f8f,ButtonView as _0x210d0b}from'ckeditor5/src/ui.js';function _0x1039(_0x253767,_0x176b84){const _0x2102db=_0x2102();return _0x1039=function(_0x10396a,_0x3c61bd){_0x10396a=_0x10396a-0x16c;let _0x35e7d9=_0x2102db[_0x10396a];return _0x35e7d9;},_0x1039(_0x253767,_0x176b84);}import{getTranslation as _0x286290}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4058ca(0x190),'INSERT':_0x4058ca(0x16c)};export class AIFormToolbarView extends _0x281f8f{constructor(_0x3ae2a9){const _0x5c223c=_0x4058ca;super(_0x3ae2a9),this[_0x5c223c(0x173)](_0x5c223c(0x18d),!0x1),this[_0x5c223c(0x173)](_0x5c223c(0x176),AIFormToolbarViewMainActionLabel[_0x5c223c(0x17b)]),this[_0x5c223c(0x18e)]=this[_0x5c223c(0x17d)]('',_0x5c223c(0x187)),this[_0x5c223c(0x18e)][_0x5c223c(0x18a)](_0x5c223c(0x171))['to'](this,_0x5c223c(0x176),_0x19f329=>_0x286290(_0x3ae2a9,_0x5c223c(0x175)+_0x19f329[_0x5c223c(0x172)]()+_0x5c223c(0x178))),this[_0x5c223c(0x174)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x16d))),this[_0x5c223c(0x189)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x180))),this[_0x5c223c(0x183)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x170)));const _0x29fd09=this[_0x5c223c(0x17c)];this[_0x5c223c(0x16e)]({'attributes':{'class':[_0x5c223c(0x182),_0x29fd09['if'](_0x5c223c(0x18d),_0x5c223c(0x177),_0x3820b7=>!_0x3820b7)]}}),this[_0x5c223c(0x185)][_0x5c223c(0x16f)]([this[_0x5c223c(0x18e)],this[_0x5c223c(0x174)],this[_0x5c223c(0x189)],this[_0x5c223c(0x183)]]);}[_0x4058ca(0x17d)](_0x2c6b07,_0x1db253){const _0x515e11=_0x4058ca,_0x243c5f=new _0x210d0b(this[_0x515e11(0x18c)]);return _0x243c5f[_0x515e11(0x173)]({'label':_0x2c6b07,'class':_0x1db253||'','isVisible':!0x0,'withText':!0x0}),_0x243c5f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x477c03=_0x443d;(function(_0x5e77da,_0x488a78){const _0x139b5b=_0x443d,_0x301a76=_0x5e77da();while(!![]){try{const _0x27891f=parseInt(_0x139b5b(0x83))/0x1+parseInt(_0x139b5b(0x8b))/0x2+parseInt(_0x139b5b(0x8f))/0x3+-parseInt(_0x139b5b(0x6a))/0x4+-parseInt(_0x139b5b(0x78))/0x5*(parseInt(_0x139b5b(0xa6))/0x6)+parseInt(_0x139b5b(0xa9))/0x7*(-parseInt(_0x139b5b(0xb2))/0x8)+-parseInt(_0x139b5b(0xab))/0x9;if(_0x27891f===_0x488a78)break;else _0x301a76['push'](_0x301a76['shift']());}catch(_0x4582f6){_0x301a76['push'](_0x301a76['shift']());}}}(_0xb21a,0xc5923));import{FocusTracker as _0x23a702,KeystrokeHandler as _0x502dd2}from'ckeditor5/src/utils.js';import{View as _0x2e3d74,FocusCycler as _0x577535,createLabeledTextarea as _0xc302f0}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3b932d,AIFormToolbarViewMainActionLabel as _0x259e34}from'./aiformtoolbarview.js';function _0x443d(_0x19aa6d,_0x54c4f6){const _0xb21af6=_0xb21a();return _0x443d=function(_0x443dc9,_0x2512a0){_0x443dc9=_0x443dc9-0x66;let _0x33712c=_0xb21af6[_0x443dc9];return _0x33712c;},_0x443d(_0x19aa6d,_0x54c4f6);}import{AIFormContentArea as _0x14f794}from'./aiformcontentarea.js';import{AIFormErrorView as _0x408304}from'./aiformerrorview.js';import{AIFormPromptView as _0x46da91}from'./aiformpromptview.js';function _0xb21a(){const _0x51e0e5=['AI_ERROR_FAILED','render','isEnabled','Ask\x20AI\x20to\x20edit\x20or\x20generate','prompt','errorView','toolbar','1203027RxqGqi','_createHistoryView','historyGroupView','clear','bind','bindTo','search','isVisible','2074514uodHUT','replaceButton','_focusables','element','4725885klEKQh','value','text','clearHistory','trim','keystrokes','fieldView','replaceContent','reset','locale','div','shift\x20+\x20tab','stopProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertContentBelow','Ask\x20AI\x20to\x20improve\x20generated\x20text','add','bindTemplate','focusTracker','setTemplate','copyButtonView','stopButton','_createPromptView','6616884QbscmS','items','REPLACE','7WPJViB','delegate','9160857JgQmQN','set','mainAction','contentArea','promptView','focus','handleError','2832152aUCxYF','fire','tryAgainButton','focusFirst','_promptHistory','submit','execute','finishProcessing','ck-hidden','submitPrompt','tryAgainEvent','insertButton','2126488jOyHGf','focusLast','chain','label','isError','ck-ai-form-content','tab','focusCycler','startProcessing','createCollection','high','ck-ai-form','_createToolbar','listenTo','5igXBLP','Empty\x20history','queryView','isProcessing'];_0xb21a=function(){return _0x51e0e5;};return _0xb21a();}import{AIHistoryListView as _0x5cc8e1}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x51b9a9}from'./aihistorylistitemview.js';import{PromptHistory as _0x61b04d}from'./prompthistory.js';import{getTranslation as _0x48ee33}from'../../utils/common-translations.js';import{escape as _0x30375f}from'es-toolkit/compat';export class AIFormView extends _0x2e3d74{[_0x477c03(0xa1)];[_0x477c03(0x94)];[_0x477c03(0xae)];[_0x477c03(0x82)];[_0x477c03(0xaf)];[_0x477c03(0x81)];[_0x477c03(0x8d)];[_0x477c03(0x71)];[_0x477c03(0xb6)];constructor(_0x69b72b,_0x10a43f,_0x216a8d=''){const _0x2354fc=_0x477c03;super(_0x69b72b),this[_0x2354fc(0xac)](_0x2354fc(0x7e),!0x0),this[_0x2354fc(0xac)](_0x2354fc(0x7b),!0x1),this[_0x2354fc(0xac)](_0x2354fc(0x80),''),this[_0x2354fc(0xac)](_0x2354fc(0x90),''),this[_0x2354fc(0xac)](_0x2354fc(0x6e),!0x1),this[_0x2354fc(0xac)](_0x2354fc(0xad),_0x259e34[_0x2354fc(0xa8)]),this[_0x2354fc(0xb6)]=new _0x61b04d(),this[_0x2354fc(0x81)]=new _0x408304(_0x69b72b),this[_0x2354fc(0xae)]=new _0x14f794(_0x69b72b,_0x216a8d),this[_0x2354fc(0xae)][_0x2354fc(0x87)](_0x2354fc(0x7b))['to'](this),this[_0x2354fc(0xae)][_0x2354fc(0x87)](_0x2354fc(0x90))['to'](this),this[_0x2354fc(0x82)]=this[_0x2354fc(0x76)](),this[_0x2354fc(0x82)][_0x2354fc(0x87)](_0x2354fc(0xad))['to'](this),this[_0x2354fc(0xaf)]=this[_0x2354fc(0xa5)](),this[_0x2354fc(0xa1)]=new _0x23a702(),this[_0x2354fc(0x94)]=new _0x502dd2(),this[_0x2354fc(0x8d)]=this[_0x2354fc(0x73)]([this[_0x2354fc(0xae)],this[_0x2354fc(0xae)][_0x2354fc(0xa3)],this[_0x2354fc(0x82)],this[_0x2354fc(0xaf)]]),this[_0x2354fc(0x71)]=new _0x577535({'focusables':this[_0x2354fc(0x8d)],'focusTracker':this[_0x2354fc(0xa1)],'keystrokeHandler':this[_0x2354fc(0x94)],'actions':{'focusPrevious':_0x2354fc(0x9a),'focusNext':_0x2354fc(0x70)}}),this[_0x2354fc(0x71)][_0x2354fc(0x6c)](this[_0x2354fc(0xaf)][_0x2354fc(0x71)]),this[_0x2354fc(0xaf)][_0x2354fc(0x7a)][_0x2354fc(0x95)][_0x2354fc(0x87)](_0x2354fc(0x90))['to'](this,_0x2354fc(0x80));const _0x560f4f=this[_0x2354fc(0xa0)];this[_0x2354fc(0xa2)]({'tag':_0x2354fc(0x99),'attributes':{'class':['ck',_0x2354fc(0x75),_0x10a43f],'tabindex':'-1'},'children':[{'tag':_0x2354fc(0x99),'attributes':{'class':['ck',_0x2354fc(0x6f)]},'children':[{'tag':_0x2354fc(0x99),'attributes':{'class':[_0x560f4f['if'](_0x2354fc(0x6e),_0x2354fc(0x66),_0x2d8c93=>!_0x2d8c93)]},'children':[this[_0x2354fc(0x81)]]},this[_0x2354fc(0xae)],this[_0x2354fc(0x82)],this[_0x2354fc(0xaf)]]}]});}[_0x477c03(0x7d)](){const _0x5ea680=_0x477c03;super[_0x5ea680(0x7d)](),this[_0x5ea680(0xa1)][_0x5ea680(0x9f)](this[_0x5ea680(0xae)][_0x5ea680(0x8e)]),this[_0x5ea680(0xa1)][_0x5ea680(0x9f)](this[_0x5ea680(0xae)][_0x5ea680(0xa3)][_0x5ea680(0x8e)]),this[_0x5ea680(0xa1)][_0x5ea680(0x9f)](this[_0x5ea680(0x82)][_0x5ea680(0x8e)]),this[_0x5ea680(0xa1)][_0x5ea680(0x9f)](this[_0x5ea680(0xaf)][_0x5ea680(0x8e)]),this[_0x5ea680(0x94)][_0x5ea680(0x77)](this[_0x5ea680(0x8e)]);}[_0x477c03(0xb0)](_0x5b4483=0x1){const _0x25a86d=_0x477c03;-0x1===_0x5b4483?this[_0x25a86d(0x71)][_0x25a86d(0x6b)]():this[_0x25a86d(0x71)][_0x25a86d(0xb5)]();}[_0x477c03(0x97)](){const _0x3767ca=_0x477c03;this[_0x3767ca(0x80)]='',this[_0x3767ca(0x90)]='',this[_0x3767ca(0x6e)]=!0x1,this[_0x3767ca(0xaf)][_0x3767ca(0x97)](),this[_0x3767ca(0xae)][_0x3767ca(0x8a)]=!0x1,this[_0x3767ca(0x82)][_0x3767ca(0x8a)]=!0x1;}[_0x477c03(0xa5)](){const _0x1e40f6=_0x477c03,_0x3b2535=this[_0x1e40f6(0x98)],_0xd2c314=new _0x46da91(_0x3b2535,{'queryView':{'label':_0x48ee33(_0x3b2535,_0x1e40f6(0x7f)),'creator':_0xc302f0,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x48ee33(_0x3b2535,_0x1e40f6(0x79)),'secondary':_0x48ee33(_0x3b2535,_0x1e40f6(0x9c))}}},'filteredView':this[_0x1e40f6(0x84)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xd2c314[_0x1e40f6(0x87)](_0x1e40f6(0x7e))['to'](this,_0x1e40f6(0x7e),this,_0x1e40f6(0x7b),(_0x55e641,_0x31daa4)=>_0x55e641&&!_0x31daa4),this[_0x1e40f6(0x77)](_0xd2c314,_0x1e40f6(0xb7),(_0x4f3a3f,_0xdde7a4)=>{const _0x2ff5b8=_0x1e40f6;this[_0x2ff5b8(0x80)]=_0xdde7a4;const _0x45e713=_0x30375f(_0xdde7a4);this[_0x2ff5b8(0xb3)](_0x2ff5b8(0x67),_0x45e713),_0xdde7a4[_0x2ff5b8(0x93)]()&&this[_0x2ff5b8(0xb6)][_0x2ff5b8(0x9f)]({'prompt':_0x45e713},0x0);},{'priority':_0x1e40f6(0x74)}),_0xd2c314;}[_0x477c03(0x84)](){const _0x17882e=_0x477c03,_0x22dda6=new _0x5cc8e1(this[_0x17882e(0x98)]);return _0x22dda6[_0x17882e(0x85)][_0x17882e(0xa7)][_0x17882e(0x88)](this[_0x17882e(0xb6)])['as'](_0x51b9a9),_0x22dda6['on'](_0x17882e(0x92),()=>{const _0x3377d4=_0x17882e;this[_0x3377d4(0xb6)][_0x3377d4(0x86)](),this[_0x3377d4(0xaf)][_0x3377d4(0x89)](''),this[_0x3377d4(0xaf)][_0x3377d4(0xb0)]();}),_0x22dda6;}[_0x477c03(0x76)](){const _0x33cae0=_0x477c03,_0x2e1761=new _0x3b932d(this[_0x33cae0(0x98)]);return _0x2e1761[_0x33cae0(0x8c)][_0x33cae0(0x87)](_0x33cae0(0x7e))['to'](this,_0x33cae0(0x7e),this,_0x33cae0(0x7b),this,_0x33cae0(0x90),(_0x249e4f,_0x4806ce,_0x5f4e0a)=>_0x249e4f&&!_0x4806ce&&!!_0x5f4e0a),_0x2e1761[_0x33cae0(0x8c)][_0x33cae0(0xaa)](_0x33cae0(0xb8))['to'](this,_0x33cae0(0x96)),_0x2e1761[_0x33cae0(0x69)][_0x33cae0(0x87)](_0x33cae0(0x7e))['to'](this,_0x33cae0(0x7e),this,_0x33cae0(0x7b),this,_0x33cae0(0x90),(_0x235d01,_0x2a3fa1,_0x533cac)=>_0x235d01&&!_0x2a3fa1&&!!_0x533cac),_0x2e1761[_0x33cae0(0x69)][_0x33cae0(0xaa)](_0x33cae0(0xb8))['to'](this,_0x33cae0(0x9d)),_0x2e1761[_0x33cae0(0xb4)][_0x33cae0(0x87)](_0x33cae0(0x7e))['to'](this,_0x33cae0(0x7e),this,_0x33cae0(0x7b),(_0x4d800e,_0x17bb9d)=>_0x4d800e&&!_0x17bb9d),_0x2e1761[_0x33cae0(0xb4)][_0x33cae0(0xaa)](_0x33cae0(0xb8))['to'](this,_0x33cae0(0x68)),_0x2e1761[_0x33cae0(0xa4)][_0x33cae0(0x87)](_0x33cae0(0x7e))['to'](this,_0x33cae0(0x7b)),_0x2e1761[_0x33cae0(0xa4)][_0x33cae0(0xaa)](_0x33cae0(0xb8))['to'](this,_0x33cae0(0x9b)),_0x2e1761;}[_0x477c03(0x72)](){const _0x1fb5ca=_0x477c03;this[_0x1fb5ca(0x90)]='',this[_0x1fb5ca(0x6e)]=!0x1,this[_0x1fb5ca(0x7b)]=!0x0,this[_0x1fb5ca(0xae)][_0x1fb5ca(0x8a)]=!0x0,this[_0x1fb5ca(0x82)][_0x1fb5ca(0x8a)]=!0x0,this[_0x1fb5ca(0xae)][_0x1fb5ca(0xb0)]();}[_0x477c03(0xb9)](){const _0x434f67=_0x477c03,_0x569a97=this[_0x434f67(0x98)];this[_0x434f67(0x7b)]=!0x1,this[_0x434f67(0x80)]='',this[_0x434f67(0xaf)][_0x434f67(0x97)](),this[_0x434f67(0x90)]&&(this[_0x434f67(0xaf)][_0x434f67(0x7a)][_0x434f67(0x6d)]=_0x48ee33(_0x569a97,_0x434f67(0x9e)));}[_0x477c03(0xb1)](_0x43381c){const _0x3057c9=_0x477c03,_0x8a4893=this[_0x3057c9(0x98)];this[_0x3057c9(0xb9)](),this[_0x3057c9(0x6e)]=!0x0,this[_0x3057c9(0x81)][_0x3057c9(0x91)]=_0x43381c||_0x48ee33(_0x8a4893,_0x3057c9(0x7c)),this[_0x3057c9(0x90)]||(this[_0x3057c9(0xae)][_0x3057c9(0x8a)]=!0x1);}}
23
+ const _0x375310=_0x52fa;(function(_0x9d563e,_0x47df29){const _0x393a89=_0x52fa,_0x3bf089=_0x9d563e();while(!![]){try{const _0x1e2df3=-parseInt(_0x393a89(0x11a))/0x1*(-parseInt(_0x393a89(0x11f))/0x2)+-parseInt(_0x393a89(0x116))/0x3+-parseInt(_0x393a89(0x12a))/0x4+-parseInt(_0x393a89(0xf0))/0x5*(-parseInt(_0x393a89(0xe6))/0x6)+-parseInt(_0x393a89(0xfd))/0x7+-parseInt(_0x393a89(0x12b))/0x8*(parseInt(_0x393a89(0xee))/0x9)+-parseInt(_0x393a89(0x109))/0xa*(-parseInt(_0x393a89(0x123))/0xb);if(_0x1e2df3===_0x47df29)break;else _0x3bf089['push'](_0x3bf089['shift']());}catch(_0x12c4e6){_0x3bf089['push'](_0x3bf089['shift']());}}}(_0x172e,0x8211c));function _0x172e(){const _0x4cd008=['setTemplate','toolbar','isVisible','reset','ck-hidden','historyGroupView','1737FFXmEK','listenTo','160CrypcZ','createCollection','Ask\x20AI\x20to\x20improve\x20generated\x20text','delegate','promptView','insertButton','high','focusTracker','submit','queryView','bind','tryAgainEvent','isError','1041250njUbTo','clearHistory','set','div','prompt','fieldView','Empty\x20history','search','REPLACE','focusFirst','focus','errorView','80psPhdi','_createPromptView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tryAgainButton','value','_createToolbar','label','_focusables','isEnabled','bindTemplate','fire','keystrokes','render','1722453fUqanC','AI_ERROR_FAILED','submitPrompt','element','661190xOLXDY','mainAction','clear','bindTo','trim','2cqwquI','focusLast','focusCycler','text','1660846mtpDFc','startProcessing','stopProcessing','ck-ai-form-content','replaceButton','locale','_createHistoryView','2493396tqGfdB','31616DRGgbt','ck-ai-form','contentArea','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','_promptHistory','shift\x20+\x20tab','handleError','finishProcessing','stopButton','isProcessing','copyButtonView','insertContentBelow','execute','tab','items','chain','144876TEBwzV','add'];_0x172e=function(){return _0x4cd008;};return _0x172e();}import{FocusTracker as _0x3cd58a,KeystrokeHandler as _0x1f707b}from'ckeditor5/src/utils.js';import{View as _0x21b063,FocusCycler as _0x1cd818,createLabeledTextarea as _0x261344}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x227e9b,AIFormToolbarViewMainActionLabel as _0x267977}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2ec063}from'./aiformcontentarea.js';import{AIFormErrorView as _0x516efc}from'./aiformerrorview.js';import{AIFormPromptView as _0x1328b8}from'./aiformpromptview.js';import{AIHistoryListView as _0x209764}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x559268}from'./aihistorylistitemview.js';import{PromptHistory as _0x390675}from'./prompthistory.js';import{getTranslation as _0x2f309c}from'../../utils/common-translations.js';function _0x52fa(_0x2480ef,_0x22e1cf){const _0x172eff=_0x172e();return _0x52fa=function(_0x52fa0c,_0x725d1c){_0x52fa0c=_0x52fa0c-0xd8;let _0x21c48e=_0x172eff[_0x52fa0c];return _0x21c48e;},_0x52fa(_0x2480ef,_0x22e1cf);}import{escape as _0x2df69e}from'es-toolkit/compat';export class AIFormView extends _0x21b063{[_0x375310(0xf7)];[_0x375310(0x114)];[_0x375310(0x12d)];[_0x375310(0xe9)];[_0x375310(0xf4)];[_0x375310(0x108)];[_0x375310(0x110)];[_0x375310(0x121)];[_0x375310(0xda)];constructor(_0x3b023f,_0x2c17fd,_0x194bfe=''){const _0xb7c74f=_0x375310;super(_0x3b023f),this[_0xb7c74f(0xff)](_0xb7c74f(0x111),!0x0),this[_0xb7c74f(0xff)](_0xb7c74f(0xdf),!0x1),this[_0xb7c74f(0xff)](_0xb7c74f(0x101),''),this[_0xb7c74f(0xff)](_0xb7c74f(0x10d),''),this[_0xb7c74f(0xff)](_0xb7c74f(0xfc),!0x1),this[_0xb7c74f(0xff)](_0xb7c74f(0x11b),_0x267977[_0xb7c74f(0x105)]),this[_0xb7c74f(0xda)]=new _0x390675(),this[_0xb7c74f(0x108)]=new _0x516efc(_0x3b023f),this[_0xb7c74f(0x12d)]=new _0x2ec063(_0x3b023f,_0x194bfe),this[_0xb7c74f(0x12d)][_0xb7c74f(0xfa)](_0xb7c74f(0xdf))['to'](this),this[_0xb7c74f(0x12d)][_0xb7c74f(0xfa)](_0xb7c74f(0x10d))['to'](this),this[_0xb7c74f(0xe9)]=this[_0xb7c74f(0x10e)](),this[_0xb7c74f(0xe9)][_0xb7c74f(0xfa)](_0xb7c74f(0x11b))['to'](this),this[_0xb7c74f(0xf4)]=this[_0xb7c74f(0x10a)](),this[_0xb7c74f(0xf7)]=new _0x3cd58a(),this[_0xb7c74f(0x114)]=new _0x1f707b(),this[_0xb7c74f(0x110)]=this[_0xb7c74f(0xf1)]([this[_0xb7c74f(0x12d)],this[_0xb7c74f(0x12d)][_0xb7c74f(0xe0)],this[_0xb7c74f(0xe9)],this[_0xb7c74f(0xf4)]]),this[_0xb7c74f(0x121)]=new _0x1cd818({'focusables':this[_0xb7c74f(0x110)],'focusTracker':this[_0xb7c74f(0xf7)],'keystrokeHandler':this[_0xb7c74f(0x114)],'actions':{'focusPrevious':_0xb7c74f(0xdb),'focusNext':_0xb7c74f(0xe3)}}),this[_0xb7c74f(0x121)][_0xb7c74f(0xe5)](this[_0xb7c74f(0xf4)][_0xb7c74f(0x121)]),this[_0xb7c74f(0xf4)][_0xb7c74f(0xf9)][_0xb7c74f(0x102)][_0xb7c74f(0xfa)](_0xb7c74f(0x10d))['to'](this,_0xb7c74f(0x101));const _0x379b3=this[_0xb7c74f(0x112)];this[_0xb7c74f(0xe8)]({'tag':_0xb7c74f(0x100),'attributes':{'class':['ck',_0xb7c74f(0x12c),_0x2c17fd],'tabindex':'-1'},'children':[{'tag':_0xb7c74f(0x100),'attributes':{'class':['ck',_0xb7c74f(0x126)]},'children':[{'tag':_0xb7c74f(0x100),'attributes':{'class':[_0x379b3['if'](_0xb7c74f(0xfc),_0xb7c74f(0xec),_0x204fbf=>!_0x204fbf)]},'children':[this[_0xb7c74f(0x108)]]},this[_0xb7c74f(0x12d)],this[_0xb7c74f(0xe9)],this[_0xb7c74f(0xf4)]]}]});}[_0x375310(0x115)](){const _0x29889c=_0x375310;super[_0x29889c(0x115)](),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0x12d)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0x12d)][_0x29889c(0xe0)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0xe9)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0xf4)][_0x29889c(0x119)]),this[_0x29889c(0x114)][_0x29889c(0xef)](this[_0x29889c(0x119)]);}[_0x375310(0x107)](_0x33a69a=0x1){const _0x5c2c14=_0x375310;-0x1===_0x33a69a?this[_0x5c2c14(0x121)][_0x5c2c14(0x120)]():this[_0x5c2c14(0x121)][_0x5c2c14(0x106)]();}[_0x375310(0xeb)](){const _0xd4637=_0x375310;this[_0xd4637(0x101)]='',this[_0xd4637(0x10d)]='',this[_0xd4637(0xfc)]=!0x1,this[_0xd4637(0xf4)][_0xd4637(0xeb)](),this[_0xd4637(0x12d)][_0xd4637(0xea)]=!0x1,this[_0xd4637(0xe9)][_0xd4637(0xea)]=!0x1;}[_0x375310(0x10a)](){const _0xbafd85=_0x375310,_0x269080=this[_0xbafd85(0x128)],_0x35997a=new _0x1328b8(_0x269080,{'queryView':{'label':_0x2f309c(_0x269080,_0xbafd85(0xd8)),'creator':_0x261344,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2f309c(_0x269080,_0xbafd85(0x103)),'secondary':_0x2f309c(_0x269080,_0xbafd85(0x10b))}}},'filteredView':this[_0xbafd85(0x129)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x35997a[_0xbafd85(0xfa)](_0xbafd85(0x111))['to'](this,_0xbafd85(0x111),this,_0xbafd85(0xdf),(_0x1be6b6,_0xafb7b4)=>_0x1be6b6&&!_0xafb7b4),this[_0xbafd85(0xef)](_0x35997a,_0xbafd85(0xf8),(_0x4dfd05,_0x1e1e34)=>{const _0x1569fb=_0xbafd85;this[_0x1569fb(0x101)]=_0x1e1e34;const _0x26aea1=_0x2df69e(_0x1e1e34);this[_0x1569fb(0x113)](_0x1569fb(0x118),_0x26aea1),_0x1e1e34[_0x1569fb(0x11e)]()&&this[_0x1569fb(0xda)][_0x1569fb(0xe7)]({'prompt':_0x26aea1},0x0);},{'priority':_0xbafd85(0xf6)}),_0x35997a;}[_0x375310(0x129)](){const _0x397a9c=_0x375310,_0x4c3740=new _0x209764(this[_0x397a9c(0x128)]);return _0x4c3740[_0x397a9c(0xed)][_0x397a9c(0xe4)][_0x397a9c(0x11d)](this[_0x397a9c(0xda)])['as'](_0x559268),_0x4c3740['on'](_0x397a9c(0xfe),()=>{const _0x2fc9d9=_0x397a9c;this[_0x2fc9d9(0xda)][_0x2fc9d9(0x11c)](),this[_0x2fc9d9(0xf4)][_0x2fc9d9(0x104)](''),this[_0x2fc9d9(0xf4)][_0x2fc9d9(0x107)]();}),_0x4c3740;}[_0x375310(0x10e)](){const _0x4bd6b5=_0x375310,_0xf80f00=new _0x227e9b(this[_0x4bd6b5(0x128)]);return _0xf80f00[_0x4bd6b5(0x127)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),this,_0x4bd6b5(0x10d),(_0x378bc0,_0x32be5e,_0x144654)=>_0x378bc0&&!_0x32be5e&&!!_0x144654),_0xf80f00[_0x4bd6b5(0x127)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xd9)),_0xf80f00[_0x4bd6b5(0xf5)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),this,_0x4bd6b5(0x10d),(_0x462866,_0x57319e,_0x10585c)=>_0x462866&&!_0x57319e&&!!_0x10585c),_0xf80f00[_0x4bd6b5(0xf5)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xe1)),_0xf80f00[_0x4bd6b5(0x10c)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),(_0x5274d5,_0x4d1d01)=>_0x5274d5&&!_0x4d1d01),_0xf80f00[_0x4bd6b5(0x10c)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xfb)),_0xf80f00[_0x4bd6b5(0xde)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0xdf)),_0xf80f00[_0x4bd6b5(0xde)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0x125)),_0xf80f00;}[_0x375310(0x124)](){const _0x1dd078=_0x375310;this[_0x1dd078(0x10d)]='',this[_0x1dd078(0xfc)]=!0x1,this[_0x1dd078(0xdf)]=!0x0,this[_0x1dd078(0x12d)][_0x1dd078(0xea)]=!0x0,this[_0x1dd078(0xe9)][_0x1dd078(0xea)]=!0x0,this[_0x1dd078(0x12d)][_0x1dd078(0x107)]();}[_0x375310(0xdd)](){const _0x58eeee=_0x375310,_0x24fe6d=this[_0x58eeee(0x128)];this[_0x58eeee(0xdf)]=!0x1,this[_0x58eeee(0x101)]='',this[_0x58eeee(0xf4)][_0x58eeee(0xeb)](),this[_0x58eeee(0x10d)]&&(this[_0x58eeee(0xf4)][_0x58eeee(0xf9)][_0x58eeee(0x10f)]=_0x2f309c(_0x24fe6d,_0x58eeee(0xf2)));}[_0x375310(0xdc)](_0x463cde){const _0x474e80=_0x375310,_0xdc62d=this[_0x474e80(0x128)];this[_0x474e80(0xdd)](),this[_0x474e80(0xfc)]=!0x0,this[_0x474e80(0x108)][_0x474e80(0x122)]=_0x463cde||_0x2f309c(_0xdc62d,_0x474e80(0x117)),this[_0x474e80(0x10d)]||(this[_0x474e80(0x12d)][_0x474e80(0xea)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x277bc5,_0x4ec794){const _0x5bccf0=_0x46cd,_0x21917f=_0x277bc5();while(!![]){try{const _0xd2a484=-parseInt(_0x5bccf0(0x149))/0x1+-parseInt(_0x5bccf0(0x141))/0x2*(-parseInt(_0x5bccf0(0x13c))/0x3)+parseInt(_0x5bccf0(0x139))/0x4*(parseInt(_0x5bccf0(0x142))/0x5)+parseInt(_0x5bccf0(0x145))/0x6*(parseInt(_0x5bccf0(0x13f))/0x7)+-parseInt(_0x5bccf0(0x143))/0x8*(parseInt(_0x5bccf0(0x14b))/0x9)+-parseInt(_0x5bccf0(0x13a))/0xa*(-parseInt(_0x5bccf0(0x13e))/0xb)+-parseInt(_0x5bccf0(0x144))/0xc;if(_0xd2a484===_0x4ec794)break;else _0x21917f['push'](_0x21917f['shift']());}catch(_0x4fe899){_0x21917f['push'](_0x21917f['shift']());}}}(_0x57d9,0xdb005));function _0x46cd(_0x51db0d,_0x14ed50){const _0x57d9e4=_0x57d9();return _0x46cd=function(_0x46cd1c,_0xf0af44){_0x46cd1c=_0x46cd1c-0x139;let _0x466e0a=_0x57d9e4[_0x46cd1c];return _0x466e0a;},_0x46cd(_0x51db0d,_0x14ed50);}import{ListItemView as _0x27ac19,ButtonView as _0x4a41c3,ButtonLabelView as _0x3c1a98}from'ckeditor5/src/ui.js';import{unescape as _0x199161}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x27ac19{constructor(_0x23c2ec){const _0xb0f45b=_0x46cd;super();const _0x5d423c=new _0x3c1a98(),_0x4ae49f=new _0x4a41c3(this[_0xb0f45b(0x140)],_0x5d423c);this[_0xb0f45b(0x148)][_0xb0f45b(0x14a)](_0x4ae49f),_0x4ae49f[_0xb0f45b(0x13d)]({'label':_0x23c2ec[_0xb0f45b(0x13b)],'withText':!0x0}),_0x4ae49f['on'](_0xb0f45b(0x146),()=>{const _0x4f098c=_0xb0f45b;this[_0x4f098c(0x147)](_0x4f098c(0x146),{'value':_0x199161(_0x23c2ec[_0x4f098c(0x13b)])});});}}function _0x57d9(){const _0x3da515=['2947720zGhVrE','237552iYcwCB','24yfBXkH','execute','fire','children','1383914QPUgIs','add','9eCxHol','237572UyNdqH','2103490idmFit','prompt','624711lnEZmx','set','33ZAnFcQ','707854nlqpmG','locale','2dNyFPf','120IchtqB'];_0x57d9=function(){return _0x3da515;};return _0x57d9();}
23
+ function _0x13a0(_0x221146,_0x28bad2){const _0x40eccf=_0x40ec();return _0x13a0=function(_0x13a022,_0x1f410a){_0x13a022=_0x13a022-0x8d;let _0x4b3cb1=_0x40eccf[_0x13a022];return _0x4b3cb1;},_0x13a0(_0x221146,_0x28bad2);}(function(_0x1a88f8,_0x82e002){const _0x53587c=_0x13a0,_0x13c3f4=_0x1a88f8();while(!![]){try{const _0x567ec0=parseInt(_0x53587c(0x8d))/0x1*(-parseInt(_0x53587c(0x98))/0x2)+parseInt(_0x53587c(0x9b))/0x3+-parseInt(_0x53587c(0x9a))/0x4+parseInt(_0x53587c(0x90))/0x5+-parseInt(_0x53587c(0x9c))/0x6+-parseInt(_0x53587c(0x8f))/0x7+parseInt(_0x53587c(0x94))/0x8*(parseInt(_0x53587c(0x95))/0x9);if(_0x567ec0===_0x82e002)break;else _0x13c3f4['push'](_0x13c3f4['shift']());}catch(_0x7d8295){_0x13c3f4['push'](_0x13c3f4['shift']());}}}(_0x40ec,0xcb2f2));import{ListItemView as _0x1c803e,ButtonView as _0x3e7c5e,ButtonLabelView as _0x97bcb7}from'ckeditor5/src/ui.js';import{unescape as _0x525f67}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1c803e{constructor(_0x5f5c5c){const _0x36f660=_0x13a0;super();const _0x54bfd5=new _0x97bcb7(),_0x1f3576=new _0x3e7c5e(this[_0x36f660(0x99)],_0x54bfd5);this[_0x36f660(0x8e)][_0x36f660(0x93)](_0x1f3576),_0x1f3576[_0x36f660(0x92)]({'label':_0x5f5c5c[_0x36f660(0x97)],'withText':!0x0}),_0x1f3576['on'](_0x36f660(0x96),()=>{const _0x405e8f=_0x36f660;this[_0x405e8f(0x91)](_0x405e8f(0x96),{'value':_0x525f67(_0x5f5c5c[_0x405e8f(0x97)])});});}}function _0x40ec(){const _0x1ed72d=['fire','set','add','35520Uqfmst','5895JTDLvm','execute','prompt','2vGkjfU','locale','3140768JNGerD','222744KdUNrz','6845268RmhAfZ','1043864dVVadR','children','1223537CWtBru','4972595htRgwX'];_0x40ec=function(){return _0x1ed72d;};return _0x40ec();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x585d(_0x102119,_0x5c384b){const _0x369238=_0x3692();return _0x585d=function(_0x585d2b,_0x5178a8){_0x585d2b=_0x585d2b-0x1b1;let _0x5ceb3c=_0x369238[_0x585d2b];return _0x5ceb3c;},_0x585d(_0x102119,_0x5c384b);}const _0x5dd902=_0x585d;(function(_0x425dc7,_0x35c03a){const _0x8903d7=_0x585d,_0x5f1c47=_0x425dc7();while(!![]){try{const _0x5652e6=parseInt(_0x8903d7(0x1c4))/0x1+parseInt(_0x8903d7(0x1cb))/0x2*(parseInt(_0x8903d7(0x1c3))/0x3)+parseInt(_0x8903d7(0x1b8))/0x4*(-parseInt(_0x8903d7(0x1c1))/0x5)+-parseInt(_0x8903d7(0x1ba))/0x6*(-parseInt(_0x8903d7(0x1b3))/0x7)+parseInt(_0x8903d7(0x1c0))/0x8+parseInt(_0x8903d7(0x1c8))/0x9+-parseInt(_0x8903d7(0x1b9))/0xa;if(_0x5652e6===_0x35c03a)break;else _0x5f1c47['push'](_0x5f1c47['shift']());}catch(_0xdbede9){_0x5f1c47['push'](_0x5f1c47['shift']());}}}(_0x3692,0xefe2e));import{ListView as _0x2d8844,ListItemGroupView as _0x4648b9,ButtonView as _0x3c773f}from'ckeditor5/src/ui.js';import{getTranslation as _0x561553}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x2d8844{[_0x5dd902(0x1be)];[_0x5dd902(0x1c9)];constructor(_0x503e29){const _0x4d0f8f=_0x5dd902;super(_0x503e29),this[_0x4d0f8f(0x1c9)]=this[_0x4d0f8f(0x1b5)](),this[_0x4d0f8f(0x1be)]=new _0x4648b9(),this[_0x4d0f8f(0x1be)][_0x4d0f8f(0x1b2)][_0x4d0f8f(0x1b4)](this[_0x4d0f8f(0x1c9)],0x1),this[_0x4d0f8f(0x1be)][_0x4d0f8f(0x1bc)]=_0x561553(_0x503e29,_0x4d0f8f(0x1c2)),this[_0x4d0f8f(0x1be)][_0x4d0f8f(0x1bb)][_0x4d0f8f(0x1c6)](_0x4d0f8f(0x1c7))['to'](this),this[_0x4d0f8f(0x1bb)][_0x4d0f8f(0x1b4)](this[_0x4d0f8f(0x1be)]);}[_0x5dd902(0x1ca)](){const _0x405ff6=_0x5dd902;let _0x3a02bb=0x0;for(const _0x2bdb5d of this[_0x405ff6(0x1bb)])_0x3a02bb+=_0x2bdb5d[_0x405ff6(0x1bb)][_0x405ff6(0x1b6)];return{'resultsCount':_0x3a02bb,'totalItemsCount':_0x3a02bb};}[_0x5dd902(0x1b5)](){const _0x162275=_0x5dd902,_0x3b7dfa=this[_0x162275(0x1b7)],_0x560640=new _0x3c773f(this[_0x162275(0x1b7)]);return _0x560640[_0x162275(0x1bf)]({'label':'('+_0x561553(_0x3b7dfa,_0x162275(0x1c5))+')','withText':!0x0}),_0x560640['on'](_0x162275(0x1c7),()=>this[_0x162275(0x1b1)](_0x162275(0x1bd))),_0x560640;}}function _0x3692(){const _0x10ebde=['787688MQFjZV','41814750sYaFej','18aoqaRT','items','label','clearHistory','historyGroupView','set','14566200obMhqo','40QyUsIB','Prompt\x20history','4312347eSYHAc','135508hRgpQi','Clear','delegate','execute','14698584cAcwOu','clearHistoryButton','filter','2omntoP','fire','children','3995873Tgwylz','add','_createClearHistoryButton','length','locale'];_0x3692=function(){return _0x10ebde;};return _0x3692();}
23
+ const _0x5a6087=_0x3b79;function _0x3a2d(){const _0x33d27d=['add','label','2729652gGfXAI','clearHistory','length','5105wQERqt','8xCgJjO','filter','Prompt\x20history','592684sDvWFN','9YSCmxF','fire','historyGroupView','Clear','1640555yfARoV','set','clearHistoryButton','items','2735334LyKzkx','locale','3VZjSRL','execute','1842140MvwXpf','_createClearHistoryButton','delegate','3147364tpzVJt','126BZYyPj','children'];_0x3a2d=function(){return _0x33d27d;};return _0x3a2d();}(function(_0x1c063d,_0x143ba4){const _0x271a93=_0x3b79,_0x1fcce3=_0x1c063d();while(!![]){try{const _0x3dc5cb=parseInt(_0x271a93(0xce))/0x1*(parseInt(_0x271a93(0xe3))/0x2)+parseInt(_0x271a93(0xdd))/0x3*(-parseInt(_0x271a93(0xd2))/0x4)+-parseInt(_0x271a93(0xd7))/0x5+parseInt(_0x271a93(0xcb))/0x6+parseInt(_0x271a93(0xdb))/0x7*(-parseInt(_0x271a93(0xcf))/0x8)+parseInt(_0x271a93(0xd3))/0x9*(parseInt(_0x271a93(0xdf))/0xa)+parseInt(_0x271a93(0xe2))/0xb;if(_0x3dc5cb===_0x143ba4)break;else _0x1fcce3['push'](_0x1fcce3['shift']());}catch(_0xbdd999){_0x1fcce3['push'](_0x1fcce3['shift']());}}}(_0x3a2d,0x5cbcb));import{ListView as _0x3eeb78,ListItemGroupView as _0xc382b,ButtonView as _0x8ec3f3}from'ckeditor5/src/ui.js';function _0x3b79(_0x4724db,_0x557145){const _0x3a2db0=_0x3a2d();return _0x3b79=function(_0x3b798d,_0x2a9f8c){_0x3b798d=_0x3b798d-0xcb;let _0x563c5d=_0x3a2db0[_0x3b798d];return _0x563c5d;},_0x3b79(_0x4724db,_0x557145);}import{getTranslation as _0x458b67}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x3eeb78{[_0x5a6087(0xd5)];[_0x5a6087(0xd9)];constructor(_0x1e45e1){const _0x2bebb8=_0x5a6087;super(_0x1e45e1),this[_0x2bebb8(0xd9)]=this[_0x2bebb8(0xe0)](),this[_0x2bebb8(0xd5)]=new _0xc382b(),this[_0x2bebb8(0xd5)][_0x2bebb8(0xe4)][_0x2bebb8(0xe5)](this[_0x2bebb8(0xd9)],0x1),this[_0x2bebb8(0xd5)][_0x2bebb8(0xe6)]=_0x458b67(_0x1e45e1,_0x2bebb8(0xd1)),this[_0x2bebb8(0xd5)][_0x2bebb8(0xda)][_0x2bebb8(0xe1)](_0x2bebb8(0xde))['to'](this),this[_0x2bebb8(0xda)][_0x2bebb8(0xe5)](this[_0x2bebb8(0xd5)]);}[_0x5a6087(0xd0)](){const _0x524975=_0x5a6087;let _0x3f490b=0x0;for(const _0x2e86c3 of this[_0x524975(0xda)])_0x3f490b+=_0x2e86c3[_0x524975(0xda)][_0x524975(0xcd)];return{'resultsCount':_0x3f490b,'totalItemsCount':_0x3f490b};}[_0x5a6087(0xe0)](){const _0x3b95a9=_0x5a6087,_0x1f2925=this[_0x3b95a9(0xdc)],_0x2fd2cc=new _0x8ec3f3(this[_0x3b95a9(0xdc)]);return _0x2fd2cc[_0x3b95a9(0xd8)]({'label':'('+_0x458b67(_0x1f2925,_0x3b95a9(0xd6))+')','withText':!0x0}),_0x2fd2cc['on'](_0x3b95a9(0xde),()=>this[_0x3b95a9(0xd4)](_0x3b95a9(0xcc))),_0x2fd2cc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cefcc=_0x5e70;(function(_0x1f9def,_0x493f97){const _0x365d0e=_0x5e70,_0x14c66b=_0x1f9def();while(!![]){try{const _0x44f611=-parseInt(_0x365d0e(0xcd))/0x1*(-parseInt(_0x365d0e(0xc4))/0x2)+parseInt(_0x365d0e(0xb8))/0x3*(-parseInt(_0x365d0e(0xca))/0x4)+parseInt(_0x365d0e(0xc7))/0x5*(parseInt(_0x365d0e(0xbf))/0x6)+-parseInt(_0x365d0e(0xbe))/0x7+parseInt(_0x365d0e(0xb4))/0x8*(-parseInt(_0x365d0e(0xbc))/0x9)+parseInt(_0x365d0e(0xc1))/0xa+parseInt(_0x365d0e(0xba))/0xb*(parseInt(_0x365d0e(0xc5))/0xc);if(_0x44f611===_0x493f97)break;else _0x14c66b['push'](_0x14c66b['shift']());}catch(_0x3d1bf0){_0x14c66b['push'](_0x14c66b['shift']());}}}(_0x2c86,0x7edf8));function _0x2c86(){const _0x2ac12b=['setItem','4WXiizC','toLowerCase','addMany','863669wBxMIN','getItem','length','2008oLlqaW','CKEditor/AIFormView/PromptHistory','stringify','last','2737077qEZJMC','trim','40535ZejWLI','remove','26541Xjuwtr','_saveToSessionStorage','1964018vKshek','2298138lyDNdU','prompt','5170170McicFh','add','_loadFromSessionStorage','2bXBjfE','2244xedwPz','map','5VAYDQs','parse'];_0x2c86=function(){return _0x2ac12b;};return _0x2c86();}import{Collection as _0x77a0c0}from'ckeditor5/src/utils.js';const ro=_0x2cefcc(0xb5);export class PromptHistory extends _0x77a0c0{constructor(){const _0x3d20ab=_0x2cefcc;super(),this[_0x3d20ab(0xc3)](),this['on'](_0x3d20ab(0xc2),(_0x1caf7f,_0x5c558f)=>{const _0x47ef7f=_0x3d20ab,_0x124f82=no(_0x5c558f[_0x47ef7f(0xc0)]);for(const _0x4f0c94 of this)if(_0x4f0c94!=_0x5c558f&&no(_0x4f0c94[_0x47ef7f(0xc0)])===_0x124f82){this[_0x47ef7f(0xbb)](_0x4f0c94);break;}this[_0x47ef7f(0xcf)]>0x14&&this[_0x47ef7f(0xbb)](this[_0x47ef7f(0xb7)]),this[_0x47ef7f(0xbd)]();}),this['on'](_0x3d20ab(0xbb),()=>{const _0x46cd86=_0x3d20ab;this[_0x46cd86(0xbd)]();});}[_0x2cefcc(0xc3)](){const _0x55db83=_0x2cefcc,_0x4e672b=sessionStorage[_0x55db83(0xce)](ro)||'[]';this[_0x55db83(0xcc)](JSON[_0x55db83(0xc8)](_0x4e672b));}[_0x2cefcc(0xbd)](){const _0x3974c9=_0x2cefcc;sessionStorage[_0x3974c9(0xc9)](ro,JSON[_0x3974c9(0xb6)](this[_0x3974c9(0xc6)](_0x18c1c5=>_0x18c1c5)));}}function _0x5e70(_0x1fa8b2,_0x5bc7e4){const _0x2c866c=_0x2c86();return _0x5e70=function(_0x5e70a4,_0x5538a1){_0x5e70a4=_0x5e70a4-0xb4;let _0x2071b7=_0x2c866c[_0x5e70a4];return _0x2071b7;},_0x5e70(_0x1fa8b2,_0x5bc7e4);}function no(_0x155749){const _0x4e2215=_0x2cefcc;return _0x155749[_0x4e2215(0xcb)]()[_0x4e2215(0xb9)]();}
23
+ const _0x332557=_0x3c0a;(function(_0x8384c5,_0x42a1c5){const _0x5d5f16=_0x3c0a,_0xf89419=_0x8384c5();while(!![]){try{const _0xf47d54=-parseInt(_0x5d5f16(0x76))/0x1+parseInt(_0x5d5f16(0x82))/0x2+parseInt(_0x5d5f16(0x7d))/0x3*(parseInt(_0x5d5f16(0x72))/0x4)+-parseInt(_0x5d5f16(0x83))/0x5+-parseInt(_0x5d5f16(0x77))/0x6*(parseInt(_0x5d5f16(0x7b))/0x7)+parseInt(_0x5d5f16(0x75))/0x8+-parseInt(_0x5d5f16(0x7e))/0x9*(-parseInt(_0x5d5f16(0x6f))/0xa);if(_0xf47d54===_0x42a1c5)break;else _0xf89419['push'](_0xf89419['shift']());}catch(_0x12d329){_0xf89419['push'](_0xf89419['shift']());}}}(_0x2349,0xe64d8));import{Collection as _0x2f8a2d}from'ckeditor5/src/utils.js';const no=_0x332557(0x7c);function _0x2349(){const _0x1ac54e=['stringify','addMany','trim','_saveToSessionStorage','getItem','6300AXVfTa','prompt','add','7444460QOwymx','remove','map','4182720VilJRV','394908SadURR','198TaBUxE','parse','length','_loadFromSessionStorage','225729pOKdJL','CKEditor/AIFormView/PromptHistory','3DHFxxN','4023ZSwkuE','toLowerCase','last','setItem','1477170LMfgUn','5008855xUYonK'];_0x2349=function(){return _0x1ac54e;};return _0x2349();}function _0x3c0a(_0x189f2b,_0x7782c){const _0x234931=_0x2349();return _0x3c0a=function(_0x3c0a1e,_0x6a1241){_0x3c0a1e=_0x3c0a1e-0x6a;let _0x369773=_0x234931[_0x3c0a1e];return _0x369773;},_0x3c0a(_0x189f2b,_0x7782c);}export class PromptHistory extends _0x2f8a2d{constructor(){const _0x3ec0bb=_0x332557;super(),this[_0x3ec0bb(0x7a)](),this['on'](_0x3ec0bb(0x71),(_0x286b73,_0x259662)=>{const _0xc5308a=_0x3ec0bb,_0x41451f=ao(_0x259662[_0xc5308a(0x70)]);for(const _0x1b88e2 of this)if(_0x1b88e2!=_0x259662&&ao(_0x1b88e2[_0xc5308a(0x70)])===_0x41451f){this[_0xc5308a(0x73)](_0x1b88e2);break;}this[_0xc5308a(0x79)]>0x14&&this[_0xc5308a(0x73)](this[_0xc5308a(0x80)]),this[_0xc5308a(0x6d)]();}),this['on'](_0x3ec0bb(0x73),()=>{const _0x3cc967=_0x3ec0bb;this[_0x3cc967(0x6d)]();});}[_0x332557(0x7a)](){const _0x444e2b=_0x332557,_0x23cd30=sessionStorage[_0x444e2b(0x6e)](no)||'[]';this[_0x444e2b(0x6b)](JSON[_0x444e2b(0x78)](_0x23cd30));}[_0x332557(0x6d)](){const _0x1bcac9=_0x332557;sessionStorage[_0x1bcac9(0x81)](no,JSON[_0x1bcac9(0x6a)](this[_0x1bcac9(0x74)](_0x1e560a=>_0x1e560a)));}}function ao(_0xefa8e4){const _0x380e2b=_0x332557;return _0xefa8e4[_0x380e2b(0x7f)]()[_0x380e2b(0x6c)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450d66=_0x7d40;(function(_0x432170,_0x3b45e1){const _0x58d001=_0x7d40,_0x33d48a=_0x432170();while(!![]){try{const _0x4b01cc=-parseInt(_0x58d001(0x162))/0x1+parseInt(_0x58d001(0x166))/0x2*(parseInt(_0x58d001(0x13e))/0x3)+parseInt(_0x58d001(0x15b))/0x4*(parseInt(_0x58d001(0x149))/0x5)+-parseInt(_0x58d001(0x145))/0x6*(parseInt(_0x58d001(0x152))/0x7)+parseInt(_0x58d001(0x153))/0x8+-parseInt(_0x58d001(0x158))/0x9+-parseInt(_0x58d001(0x163))/0xa*(-parseInt(_0x58d001(0x155))/0xb);if(_0x4b01cc===_0x3b45e1)break;else _0x33d48a['push'](_0x33d48a['shift']());}catch(_0x34084a){_0x33d48a['push'](_0x33d48a['shift']());}}}(_0x7932,0x4fe3b));import{Command as _0x2c5aec}from'ckeditor5/src/core.js';function _0x7d40(_0x264f5a,_0x30f76e){const _0x793293=_0x7932();return _0x7d40=function(_0x7d402d,_0x56105f){_0x7d402d=_0x7d402d-0x13b;let _0x456817=_0x793293[_0x7d402d];return _0x456817;},_0x7d40(_0x264f5a,_0x30f76e);}function _0x7932(){const _0x250f32=['showUI','length','9777WtaoIJ','values','from','name','isCollapsed','selection','includes','549210UECIel','plugins','element','refresh','41455IEXIpk','enabledCommandsIds','_hasContext','add','getItems','isEnabled','get','editor','getSelectedBlocks','35jQduTN','789200ifkxdK','execute','77hpjdYA','change:_hasContext','model','3157938KKSUKh','change:isEnabled','isEmpty','20EMcJuN','_commandDefinitions','set','config','custom','requiresContent','document','127499LEIEtC','854970Svowsq','ai.assistant.disabledElements','getRanges','322HWgGIl','hasContent','getFirstRange'];_0x7932=function(){return _0x250f32;};return _0x7932();}import{AIAssistantUI as _0x5d3498}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x2c5aec{[_0x450d66(0x15c)];constructor(_0x4cb4df,_0x51314c){const _0x3bf558=_0x450d66;super(_0x4cb4df),this[_0x3bf558(0x15c)]=_0x51314c,this[_0x3bf558(0x15d)](_0x3bf558(0x14a),[]),this['on'](_0x3bf558(0x156),(_0x3698b4,_0x342214,_0x5837c4)=>{const _0x33808c=_0x3bf558;this[_0x33808c(0x14e)]&&(this[_0x33808c(0x14a)]=ns(this[_0x33808c(0x15c)],_0x5837c4));}),this[_0x3bf558(0x15d)](_0x3bf558(0x14b),!0x1),this['on'](_0x3bf558(0x159),(_0x1ad7b4,_0x280f7a,_0x7bb5c2)=>{const _0x34d0c9=_0x3bf558;this[_0x34d0c9(0x14a)]=_0x7bb5c2?ns(this[_0x34d0c9(0x15c)],this[_0x34d0c9(0x14b)]):[];});}[_0x450d66(0x148)](){const _0x3431fc=_0x450d66,_0x4a6fdd=this[_0x3431fc(0x150)][_0x3431fc(0x157)];this[_0x3431fc(0x14b)]=function(_0x4ce0ae){const _0x174107=_0x3431fc,_0x5b34bd=_0x4ce0ae[_0x174107(0x161)][_0x174107(0x143)];return _0x5b34bd[_0x174107(0x142)]?0x0!==[..._0x5b34bd[_0x174107(0x151)]()][_0x174107(0x13d)]&&![..._0x5b34bd[_0x174107(0x151)]()][0x0][_0x174107(0x15a)]:!!_0x4ce0ae[_0x174107(0x167)](_0x5b34bd[_0x174107(0x13b)]());}(_0x4a6fdd);const _0x15c7fe=_0x4a6fdd[_0x3431fc(0x161)][_0x3431fc(0x143)],_0x22a028=this[_0x3431fc(0x150)][_0x3431fc(0x15e)][_0x3431fc(0x14f)](_0x3431fc(0x164));for(const _0x21c4a2 of _0x15c7fe[_0x3431fc(0x165)]())for(const _0x10ad17 of _0x21c4a2[_0x3431fc(0x14d)]())if(_0x10ad17['is'](_0x3431fc(0x147))&&_0x22a028[_0x3431fc(0x144)](_0x10ad17[_0x3431fc(0x141)]))return void(this[_0x3431fc(0x14e)]=!0x1);this[_0x3431fc(0x14e)]=!0x0;}[_0x450d66(0x154)](_0x4c98d9='',_0x578d30='',_0x3f2c55=_0x450d66(0x15f)){const _0x5e5b07=_0x450d66;this[_0x5e5b07(0x150)][_0x5e5b07(0x146)][_0x5e5b07(0x14f)](_0x5d3498)[_0x5e5b07(0x13c)](_0x4c98d9,_0x578d30,_0x3f2c55);}}function ns(_0x469567,_0x126610){const _0x77882b=_0x450d66,_0x2f7cb5=new Set();for(const _0x370952 of _0x469567[_0x77882b(0x13f)]())(_0x126610||!0x1===_0x370952[_0x77882b(0x160)])&&_0x2f7cb5[_0x77882b(0x14c)](_0x370952['id']);return Array[_0x77882b(0x140)](_0x2f7cb5);}
23
+ const _0x4f7a26=_0x114a;(function(_0x3562fd,_0x21255f){const _0x3ce159=_0x114a,_0x328766=_0x3562fd();while(!![]){try{const _0x49e5aa=-parseInt(_0x3ce159(0xd6))/0x1*(parseInt(_0x3ce159(0xef))/0x2)+parseInt(_0x3ce159(0xdd))/0x3*(-parseInt(_0x3ce159(0xe6))/0x4)+parseInt(_0x3ce159(0xda))/0x5*(parseInt(_0x3ce159(0xe1))/0x6)+-parseInt(_0x3ce159(0xee))/0x7+-parseInt(_0x3ce159(0xe2))/0x8*(parseInt(_0x3ce159(0xd8))/0x9)+parseInt(_0x3ce159(0xc6))/0xa*(parseInt(_0x3ce159(0xf0))/0xb)+parseInt(_0x3ce159(0xec))/0xc*(parseInt(_0x3ce159(0xd7))/0xd);if(_0x49e5aa===_0x21255f)break;else _0x328766['push'](_0x328766['shift']());}catch(_0x39c27b){_0x328766['push'](_0x328766['shift']());}}}(_0x45a1,0xdb191));import{Command as _0x20b2b3}from'ckeditor5/src/core.js';function _0x114a(_0x4c8d24,_0x19fbb2){const _0x45a15c=_0x45a1();return _0x114a=function(_0x114a21,_0x45a4d5){_0x114a21=_0x114a21-0xc6;let _0x3498fe=_0x45a15c[_0x114a21];return _0x3498fe;},_0x114a(_0x4c8d24,_0x19fbb2);}import{AIAssistantUI as _0x520e15}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x20b2b3{[_0x4f7a26(0xea)];constructor(_0xd14e42,_0x3f4f87){const _0x4766eb=_0x4f7a26;super(_0xd14e42),this[_0x4766eb(0xea)]=_0x3f4f87,this[_0x4766eb(0xe8)](_0x4766eb(0xed),[]),this['on'](_0x4766eb(0xc8),(_0x531255,_0x2eb2c5,_0x159c33)=>{const _0x69a11e=_0x4766eb;this[_0x69a11e(0xd1)]&&(this[_0x69a11e(0xed)]=fs(this[_0x69a11e(0xea)],_0x159c33));}),this[_0x4766eb(0xe8)](_0x4766eb(0xcd),!0x1),this['on'](_0x4766eb(0xc9),(_0xc0c8ff,_0x685f84,_0x4c141b)=>{const _0x2f1eaa=_0x4766eb;this[_0x2f1eaa(0xed)]=_0x4c141b?fs(this[_0x2f1eaa(0xea)],this[_0x2f1eaa(0xcd)]):[];});}[_0x4f7a26(0xd0)](){const _0xba21e6=_0x4f7a26,_0x5832a6=this[_0xba21e6(0xcb)][_0xba21e6(0xc7)];this[_0xba21e6(0xcd)]=function(_0x14f955){const _0x57e42d=_0xba21e6,_0x4a567f=_0x14f955[_0x57e42d(0xe3)][_0x57e42d(0xd2)];return _0x4a567f[_0x57e42d(0xe5)]?0x0!==[..._0x4a567f[_0x57e42d(0xf1)]()][_0x57e42d(0xdb)]&&![..._0x4a567f[_0x57e42d(0xf1)]()][0x0][_0x57e42d(0xd3)]:!!_0x14f955[_0x57e42d(0xe0)](_0x4a567f[_0x57e42d(0xe7)]());}(_0x5832a6);const _0x3d2b25=_0x5832a6[_0xba21e6(0xe3)][_0xba21e6(0xd2)],_0x1f93c0=this[_0xba21e6(0xcb)][_0xba21e6(0xd5)][_0xba21e6(0xcc)](_0xba21e6(0xca));for(const _0x16289f of _0x3d2b25[_0xba21e6(0xe4)]())for(const _0x59fc6a of _0x16289f[_0xba21e6(0xf4)]())if(_0x59fc6a['is'](_0xba21e6(0xdc))&&_0x1f93c0[_0xba21e6(0xd4)](_0x59fc6a[_0xba21e6(0xcf)]))return void(this[_0xba21e6(0xd1)]=!0x1);this[_0xba21e6(0xd1)]=!0x0;}[_0x4f7a26(0xce)](_0x2b7475='',_0x1412d9='',_0x55e8df=_0x4f7a26(0xf3)){const _0x28244c=_0x4f7a26;this[_0x28244c(0xcb)][_0x28244c(0xd9)][_0x28244c(0xcc)](_0x520e15)[_0x28244c(0xf2)](_0x2b7475,_0x1412d9,_0x55e8df);}}function _0x45a1(){const _0x4b7958=['_hasContext','execute','name','refresh','isEnabled','selection','isEmpty','includes','config','1onDoQA','1310296FhCnGk','1656099kMmvBF','plugins','115JKUmkN','length','element','22191ksroRr','requiresContent','from','hasContent','1614xXExvi','72JdvCar','document','getRanges','isCollapsed','68QPMhDT','getFirstRange','set','add','_commandDefinitions','values','432wNxkKO','enabledCommandsIds','12223071dbSIYg','1064050QOVpBS','7275136WFEgMo','getSelectedBlocks','showUI','custom','getItems','20WAasXe','model','change:_hasContext','change:isEnabled','ai.assistant.disabledElements','editor','get'];_0x45a1=function(){return _0x4b7958;};return _0x45a1();}function fs(_0x475a38,_0x2d2bdd){const _0x3d3254=_0x4f7a26,_0x4a6dc8=new Set();for(const _0x53609e of _0x475a38[_0x3d3254(0xeb)]())(_0x2d2bdd||!0x1===_0x53609e[_0x3d3254(0xde)])&&_0x4a6dc8[_0x3d3254(0xe9)](_0x53609e['id']);return Array[_0x3d3254(0xdf)](_0x4a6dc8);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3ed714,_0x50d708,_0x48abb6){const t=_0x3ed714['t'];switch(_0x50d708){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',_0x48abb6);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48abb6);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'},_0x48abb6);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 _0x50d708;}}
23
+ export function getTranslation(_0x23e75c,_0x16bd36,_0x4929ae){const t=_0x23e75c['t'];switch(_0x16bd36){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',_0x4929ae);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4929ae);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'},_0x4929ae);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 _0x16bd36;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x347b11,_0x3f7289){const _0x42894c=(0x0,_0x3f7289['t'])('Other');return _0x347b11['length']?'groupId'in _0x347b11[0x0]?_0x347b11:[{'groupId':'_ungrouppedCommands','groupLabel':_0x42894c,'order':0x1/0x0,'commands':_0x347b11}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x42894c,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2bb2c2,_0x2dc3e){const _0x3db08f=(0x0,_0x2dc3e['t'])('Other');return _0x2bb2c2['length']?'groupId'in _0x2bb2c2[0x0]?_0x2bb2c2:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3db08f,'order':0x1/0x0,'commands':_0x2bb2c2}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3db08f,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39ce(_0x2ddc9a,_0x418d95){const _0x58ea08=_0x58ea();return _0x39ce=function(_0x39ce6a,_0x503218){_0x39ce6a=_0x39ce6a-0x1be;let _0x42d22a=_0x58ea08[_0x39ce6a];return _0x42d22a;},_0x39ce(_0x2ddc9a,_0x418d95);}const _0x39b5f6=_0x39ce;function _0x58ea(){const _0x2f613a=['close','round','getBoundingClientRect','show','hideFakeVisualSelection','innerHeight','ai-balloon-','583382XyuBVi','2838695HVpHlO','showRotator','AIEditing','3402126eCbFzH','showFakeVisualSelection','_showDialog','locale','isOpen','markers','21UXzQCD','AIBalloon','index','bind','isOfficialPlugin','open','hide','height','isPremiumPlugin','editing','_calculateDialogPosition','width','\x20ai-balloon-rotator','ai-balloon','14210196evlXVS','_setupVisualSelection','icon','get','title','ai-balloon-selection','fire','delegate','requires','ranges','4OpQzKu','balloonView','562278QviBmC','length','model','getMarkersGroup','_calculateOptimalTopPosition','dialogClosed','context','Dialog','5570110qsejIg','2nnOjuw','_config','758864eYqOZC','plugins','pluginName','setupRotator','top','aiBalloon','9EZjlkz','ai-selection','left'];_0x58ea=function(){return _0x2f613a;};return _0x58ea();}(function(_0x568732,_0x39dff8){const _0x2335b5=_0x39ce,_0x3b5f3f=_0x568732();while(!![]){try{const _0x16d84d=parseInt(_0x2335b5(0x1e1))/0x1+-parseInt(_0x2335b5(0x1cf))/0x2*(-parseInt(_0x2335b5(0x1c6))/0x3)+parseInt(_0x2335b5(0x1c4))/0x4*(-parseInt(_0x2335b5(0x1e2))/0x5)+parseInt(_0x2335b5(0x1e5))/0x6+parseInt(_0x2335b5(0x1eb))/0x7*(parseInt(_0x2335b5(0x1d1))/0x8)+parseInt(_0x2335b5(0x1d7))/0x9*(parseInt(_0x2335b5(0x1ce))/0xa)+-parseInt(_0x2335b5(0x1f9))/0xb;if(_0x16d84d===_0x39dff8)break;else _0x3b5f3f['push'](_0x3b5f3f['shift']());}catch(_0xc929b5){_0x3b5f3f['push'](_0x3b5f3f['shift']());}}}(_0x58ea,0x4e15f));import{ContextPlugin as _0x55126c}from'ckeditor5/src/core.js';import{AIConnector as _0x31ada0}from'../aicore/aiconnector.js';import{AIEditing as _0x31ce1f}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x290791,AIBalloonView as _0x1be793}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x6e9523}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x3d574c}from'../aicore/utils/geteditorfromcontext.js';export const AI_BALLOON_EVENT_NAMES=[..._0x290791,_0x39b5f6(0x1cb)];export class AIBalloon extends _0x55126c{static get[_0x39b5f6(0x1c2)](){return[_0x31ada0,_0x31ce1f];}static get[_0x39b5f6(0x1d3)](){const _0x36185a=_0x39b5f6;return _0x36185a(0x1ec);}static get[_0x39b5f6(0x1ef)](){return!0x0;}static get[_0x39b5f6(0x1f3)](){return!0x0;}[_0x39b5f6(0x1e9)]=!0x1;[_0x39b5f6(0x1d0)];[_0x39b5f6(0x1f0)](_0x34f270){const _0x3f2aea=_0x39b5f6,_0x175250=_0x3d574c(this[_0x3f2aea(0x1cc)]);this[_0x3f2aea(0x1d0)]=_0x34f270,this[_0x3f2aea(0x1c5)]=new _0x1be793(_0x175250[_0x3f2aea(0x1e8)],_0x34f270),this[_0x3f2aea(0x1c5)][_0x3f2aea(0x1c1)](..._0x290791)['to'](this),this[_0x3f2aea(0x1e7)](_0x34f270);}[_0x39b5f6(0x1da)](){const _0x4ccb9e=_0x39b5f6;_0x3d574c(this[_0x4ccb9e(0x1cc)])[_0x4ccb9e(0x1d2)][_0x4ccb9e(0x1fc)](_0x4ccb9e(0x1cd))[_0x4ccb9e(0x1f1)]();}[_0x39b5f6(0x1fa)](_0x49ae15,_0x5c2d10){const _0x4058e7=_0x39b5f6;this[_0x4058e7(0x1cc)][_0x4058e7(0x1d2)][_0x4058e7(0x1fc)](_0x31ce1f)[_0x4058e7(0x1e6)](_0x49ae15,_0x4058e7(0x1e0)+_0x5c2d10,!0x0,!0x0);}[_0x39b5f6(0x1e7)](_0x3228ae){const _0x2bd4ff=_0x39b5f6,_0x3c26e4=_0x3d574c(this[_0x2bd4ff(0x1cc)]);this[_0x2bd4ff(0x1fa)](_0x3228ae[_0x2bd4ff(0x1c3)],_0x3228ae[_0x2bd4ff(0x1ed)]),_0x3c26e4[_0x2bd4ff(0x1d2)][_0x2bd4ff(0x1fc)](_0x2bd4ff(0x1cd))[_0x2bd4ff(0x1dd)]({'title':_0x3228ae[_0x2bd4ff(0x1be)],'icon':_0x3228ae[_0x2bd4ff(0x1fb)],'hasCloseButton':!0x0,'id':_0x2bd4ff(0x1d6),'position':this[_0x2bd4ff(0x1f5)][_0x2bd4ff(0x1ee)](this),'className':_0x2bd4ff(0x1f8)+(_0x3228ae[_0x2bd4ff(0x1e3)]?_0x2bd4ff(0x1f7):''),'content':this[_0x2bd4ff(0x1c5)],'onShow':_0xf44aa=>{const _0x2e152b=_0x2bd4ff;_0x3228ae[_0x2e152b(0x1e3)]&&this[_0x2e152b(0x1c5)][_0x2e152b(0x1d4)](_0xf44aa),this[_0x2e152b(0x1e9)]=!0x0;},'onHide':()=>{const _0x469923=_0x2bd4ff;this[_0x469923(0x1cc)][_0x469923(0x1d2)][_0x469923(0x1fc)](_0x469923(0x1e4))[_0x469923(0x1de)](_0x469923(0x1e0)+_0x3228ae[_0x469923(0x1ed)]),this[_0x469923(0x1c0)](_0x469923(0x1cb)),this[_0x469923(0x1e9)]=!0x1;}});}[_0x39b5f6(0x1f5)](_0x1ca44f,_0x19b468){const _0x3195e5=_0x39b5f6,_0x5cdb94=_0x3d574c(this[_0x3195e5(0x1cc)]);if(!_0x19b468)return{'left':0x0,'top':0x0};const _0x361ce2=_0x6e9523(_0x5cdb94[_0x3195e5(0x1f4)],[..._0x5cdb94[_0x3195e5(0x1c8)][_0x3195e5(0x1ea)][_0x3195e5(0x1c9)](_0x3195e5(0x1d8)),..._0x5cdb94[_0x3195e5(0x1c8)][_0x3195e5(0x1ea)][_0x3195e5(0x1c9)](_0x3195e5(0x1bf))]);if(!_0x361ce2||0x0===_0x361ce2[_0x3195e5(0x1c7)])return{'left':Math[_0x3195e5(0x1db)](_0x19b468[_0x3195e5(0x1d9)]+_0x19b468[_0x3195e5(0x1f6)]/0x2-_0x1ca44f[_0x3195e5(0x1f6)]/0x2),'top':Math[_0x3195e5(0x1db)](_0x19b468[_0x3195e5(0x1d5)]+_0x19b468[_0x3195e5(0x1f2)]/0x2-_0x1ca44f[_0x3195e5(0x1f2)]/0x2)};const _0x431f8e=Math[_0x3195e5(0x1db)](_0x19b468[_0x3195e5(0x1d9)]+_0x19b468[_0x3195e5(0x1f6)]/0x2-_0x1ca44f[_0x3195e5(0x1f6)]/0x2),_0x100da9=_0x361ce2[0x0][_0x3195e5(0x1dc)](),_0x3ebabd=_0x361ce2[_0x361ce2[_0x3195e5(0x1c7)]-0x1][_0x3195e5(0x1dc)](),_0x2a3977=_0x1ca44f[_0x3195e5(0x1f2)],_0x28fc68=this[_0x3195e5(0x1d0)][_0x3195e5(0x1e3)]?0x8:0x0;return{'left':_0x431f8e,'top':this[_0x3195e5(0x1ca)](_0x100da9,_0x3ebabd,_0x2a3977,_0x28fc68)};}[_0x39b5f6(0x1ca)](_0x58e4db,_0x1ac670,_0x271756,_0x3898cc=0x0){const _0x5d5cd0=_0x39b5f6,_0x3bcf0c=_0x1ac670[_0x5d5cd0(0x1d5)]+_0x1ac670[_0x5d5cd0(0x1f2)],_0x26236e=_0x58e4db[_0x5d5cd0(0x1d5)]-_0x271756-_0x3898cc,_0x40092b=window[_0x5d5cd0(0x1df)]-_0x3bcf0c-0xa,_0x4629f1=_0x58e4db[_0x5d5cd0(0x1d5)]-_0x3898cc-0xa;let _0x520aa0;if(_0x40092b>=_0x271756)_0x520aa0=_0x3bcf0c+0xa;else{if(_0x4629f1>=_0x271756)_0x520aa0=_0x26236e-0xa;else _0x520aa0=_0x58e4db[_0x5d5cd0(0x1d5)]+(_0x1ac670[_0x5d5cd0(0x1d5)]+_0x1ac670[_0x5d5cd0(0x1f2)])/0x2-(_0x271756+_0x3898cc)/0x2;}return _0x520aa0;}}
23
+ function _0x1fdd(_0x199451,_0x59001f){const _0xc0dfa9=_0xc0df();return _0x1fdd=function(_0x1fddbc,_0x76d342){_0x1fddbc=_0x1fddbc-0x11d;let _0x36fcaa=_0xc0dfa9[_0x1fddbc];return _0x36fcaa;},_0x1fdd(_0x199451,_0x59001f);}const _0x53f035=_0x1fdd;(function(_0x2ebdaf,_0x5b00e0){const _0x20d088=_0x1fdd,_0x38427c=_0x2ebdaf();while(!![]){try{const _0xfa06e6=parseInt(_0x20d088(0x151))/0x1+-parseInt(_0x20d088(0x12f))/0x2*(-parseInt(_0x20d088(0x14c))/0x3)+-parseInt(_0x20d088(0x156))/0x4+-parseInt(_0x20d088(0x145))/0x5+parseInt(_0x20d088(0x129))/0x6*(-parseInt(_0x20d088(0x138))/0x7)+-parseInt(_0x20d088(0x14f))/0x8*(-parseInt(_0x20d088(0x132))/0x9)+parseInt(_0x20d088(0x124))/0xa;if(_0xfa06e6===_0x5b00e0)break;else _0x38427c['push'](_0x38427c['shift']());}catch(_0x233551){_0x38427c['push'](_0x38427c['shift']());}}}(_0xc0df,0xc12c0));import{ContextPlugin as _0x52eea}from'ckeditor5/src/core.js';import{AIConnector as _0x371b35}from'../aicore/aiconnector.js';import{AIEditing as _0x645edc}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x2d4569,AIBalloonView as _0x1a27ae}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0xc0df(){const _0x2dd901=['6566645juuvrS','ranges','top','delegate','isOpen','plugins','icon','411633JURaWD','ai-balloon-','\x20ai-balloon-rotator','351504yeTBsx','AIEditing','1574080pPpwHX','_calculateOptimalTopPosition','hideFakeVisualSelection','ai-balloon','requires','3844164lkfYSz','_config','show','length','close','_calculateDialogPosition','editing','locale','model','title','left','index','1885140Zmdizu','open','setupRotator','get','height','6654aWPUNh','width','round','showFakeVisualSelection','aiBalloon','isPremiumPlugin','22aSpmHM','balloonView','pluginName','261tnqxEI','AIBalloon','dialogClosed','context','_setupVisualSelection','bind','9345xFkaGz','showRotator','ai-selection','innerHeight','fire','_showDialog','getBoundingClientRect','ai-balloon-selection','Dialog','isOfficialPlugin','getMarkersGroup','hide','markers'];_0xc0df=function(){return _0x2dd901;};return _0xc0df();}import{getAllMarkersDomElementsSorted as _0x5474c7}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x464ab3}from'../aicore/utils/geteditorfromcontext.js';export const AI_BALLOON_EVENT_NAMES=[..._0x2d4569,_0x53f035(0x134)];export class AIBalloon extends _0x52eea{static get[_0x53f035(0x155)](){return[_0x371b35,_0x645edc];}static get[_0x53f035(0x131)](){const _0x1951f1=_0x53f035;return _0x1951f1(0x133);}static get[_0x53f035(0x141)](){return!0x0;}static get[_0x53f035(0x12e)](){return!0x0;}[_0x53f035(0x149)]=!0x1;[_0x53f035(0x157)];[_0x53f035(0x125)](_0x1213c8){const _0x108268=_0x53f035,_0x3f8927=_0x464ab3(this[_0x108268(0x135)]);this[_0x108268(0x157)]=_0x1213c8,this[_0x108268(0x130)]=new _0x1a27ae(_0x3f8927[_0x108268(0x11f)],_0x1213c8),this[_0x108268(0x130)][_0x108268(0x148)](..._0x2d4569)['to'](this),this[_0x108268(0x13d)](_0x1213c8);}[_0x53f035(0x15a)](){const _0x1862f7=_0x53f035;_0x464ab3(this[_0x1862f7(0x135)])[_0x1862f7(0x14a)][_0x1862f7(0x127)](_0x1862f7(0x140))[_0x1862f7(0x143)]();}[_0x53f035(0x136)](_0x3d53b6,_0x1b1bd4){const _0x2e06e0=_0x53f035;this[_0x2e06e0(0x135)][_0x2e06e0(0x14a)][_0x2e06e0(0x127)](_0x645edc)[_0x2e06e0(0x12c)](_0x3d53b6,_0x2e06e0(0x14d)+_0x1b1bd4,!0x0,!0x0);}[_0x53f035(0x13d)](_0x173f94){const _0xa12577=_0x53f035,_0x19792a=_0x464ab3(this[_0xa12577(0x135)]);this[_0xa12577(0x136)](_0x173f94[_0xa12577(0x146)],_0x173f94[_0xa12577(0x123)]),_0x19792a[_0xa12577(0x14a)][_0xa12577(0x127)](_0xa12577(0x140))[_0xa12577(0x158)]({'title':_0x173f94[_0xa12577(0x121)],'icon':_0x173f94[_0xa12577(0x14b)],'hasCloseButton':!0x0,'id':_0xa12577(0x12d),'position':this[_0xa12577(0x11d)][_0xa12577(0x137)](this),'className':_0xa12577(0x154)+(_0x173f94[_0xa12577(0x139)]?_0xa12577(0x14e):''),'content':this[_0xa12577(0x130)],'onShow':_0x55dd80=>{const _0x11e3a4=_0xa12577;_0x173f94[_0x11e3a4(0x139)]&&this[_0x11e3a4(0x130)][_0x11e3a4(0x126)](_0x55dd80),this[_0x11e3a4(0x149)]=!0x0;},'onHide':()=>{const _0x2d814a=_0xa12577;this[_0x2d814a(0x135)][_0x2d814a(0x14a)][_0x2d814a(0x127)](_0x2d814a(0x150))[_0x2d814a(0x153)](_0x2d814a(0x14d)+_0x173f94[_0x2d814a(0x123)]),this[_0x2d814a(0x13c)](_0x2d814a(0x134)),this[_0x2d814a(0x149)]=!0x1;}});}[_0x53f035(0x11d)](_0x481ae9,_0x1c4bc8){const _0x4ee9ac=_0x53f035,_0x14283d=_0x464ab3(this[_0x4ee9ac(0x135)]);if(!_0x1c4bc8)return{'left':0x0,'top':0x0};const _0x189d2c=_0x5474c7(_0x14283d[_0x4ee9ac(0x11e)],[..._0x14283d[_0x4ee9ac(0x120)][_0x4ee9ac(0x144)][_0x4ee9ac(0x142)](_0x4ee9ac(0x13a)),..._0x14283d[_0x4ee9ac(0x120)][_0x4ee9ac(0x144)][_0x4ee9ac(0x142)](_0x4ee9ac(0x13f))]);if(!_0x189d2c||0x0===_0x189d2c[_0x4ee9ac(0x159)])return{'left':Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x122)]+_0x1c4bc8[_0x4ee9ac(0x12a)]/0x2-_0x481ae9[_0x4ee9ac(0x12a)]/0x2),'top':Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x147)]+_0x1c4bc8[_0x4ee9ac(0x128)]/0x2-_0x481ae9[_0x4ee9ac(0x128)]/0x2)};const _0x5d1ed5=Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x122)]+_0x1c4bc8[_0x4ee9ac(0x12a)]/0x2-_0x481ae9[_0x4ee9ac(0x12a)]/0x2),_0x49df84=_0x189d2c[0x0][_0x4ee9ac(0x13e)](),_0x47e1ce=_0x189d2c[_0x189d2c[_0x4ee9ac(0x159)]-0x1][_0x4ee9ac(0x13e)](),_0x4aadcc=_0x481ae9[_0x4ee9ac(0x128)],_0x1d1d3c=this[_0x4ee9ac(0x157)][_0x4ee9ac(0x139)]?0x8:0x0;return{'left':_0x5d1ed5,'top':this[_0x4ee9ac(0x152)](_0x49df84,_0x47e1ce,_0x4aadcc,_0x1d1d3c)};}[_0x53f035(0x152)](_0x55ac28,_0x27ed40,_0x53e53a,_0x4962cc=0x0){const _0x18eb81=_0x53f035,_0x32dbac=_0x27ed40[_0x18eb81(0x147)]+_0x27ed40[_0x18eb81(0x128)],_0x1c64a2=_0x55ac28[_0x18eb81(0x147)]-_0x53e53a-_0x4962cc,_0xe829bc=window[_0x18eb81(0x13b)]-_0x32dbac-0xa,_0x4e3aee=_0x55ac28[_0x18eb81(0x147)]-_0x4962cc-0xa;let _0x15c127;if(_0xe829bc>=_0x53e53a)_0x15c127=_0x32dbac+0xa;else{if(_0x4e3aee>=_0x53e53a)_0x15c127=_0x1c64a2-0xa;else _0x15c127=_0x55ac28[_0x18eb81(0x147)]+(_0x27ed40[_0x18eb81(0x147)]+_0x27ed40[_0x18eb81(0x128)])/0x2-(_0x53e53a+_0x4962cc)/0x2;}return _0x15c127;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xdc80da,_0x33e437){var _0x1dd5df=_0x493a,_0x476ef0=_0xdc80da();while(!![]){try{var _0x526dbf=-parseInt(_0x1dd5df(0x81))/0x1*(parseInt(_0x1dd5df(0x79))/0x2)+-parseInt(_0x1dd5df(0x80))/0x3+-parseInt(_0x1dd5df(0x75))/0x4*(parseInt(_0x1dd5df(0x74))/0x5)+-parseInt(_0x1dd5df(0x7b))/0x6*(-parseInt(_0x1dd5df(0x7a))/0x7)+-parseInt(_0x1dd5df(0x7c))/0x8+parseInt(_0x1dd5df(0x7e))/0x9+parseInt(_0x1dd5df(0x7f))/0xa*(parseInt(_0x1dd5df(0x76))/0xb);if(_0x526dbf===_0x33e437)break;else _0x476ef0['push'](_0x476ef0['shift']());}catch(_0x17e687){_0x476ef0['push'](_0x476ef0['shift']());}}}(_0x49ec,0xafa2a));import{View as _0x4de667}from'ckeditor5/src/ui.js';function _0x49ec(){var _0x378e12=['setTemplate','7568775JFxhTU','15199430YBIDiV','3807273mwWmTm','519436OsVHWV','ck-ai-balloon__disclaimer','div','1245himNWL','13868ozzjnv','22GdKDBK','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer-content','2ixOukj','233401hUDzZV','150TYvKdf','10745792ZAShUF'];_0x49ec=function(){return _0x378e12;};return _0x49ec();}import{getTranslation as _0x4b4dfa}from'../../aicore/utils/common-translations.js';function _0x493a(_0x210875,_0x1e0779){var _0x49ec64=_0x49ec();return _0x493a=function(_0x493ad3,_0x6c7485){_0x493ad3=_0x493ad3-0x72;var _0x26e579=_0x49ec64[_0x493ad3];return _0x26e579;},_0x493a(_0x210875,_0x1e0779);}export class AIBalloonDisclaimerView extends _0x4de667{constructor(_0x2519f5){var _0x1edc4f=_0x493a;super(_0x2519f5),this[_0x1edc4f(0x7d)]({'tag':_0x1edc4f(0x73),'attributes':{'class':['ck',_0x1edc4f(0x72)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1edc4f(0x78)]},'children':[{'text':_0x4b4dfa(_0x2519f5,_0x1edc4f(0x77))}]}]});}}
23
+ (function(_0x3d62a9,_0x17dbce){var _0x20c67b=_0xdbef,_0x461673=_0x3d62a9();while(!![]){try{var _0x4dde73=-parseInt(_0x20c67b(0x123))/0x1+-parseInt(_0x20c67b(0x12b))/0x2*(-parseInt(_0x20c67b(0x12a))/0x3)+-parseInt(_0x20c67b(0x124))/0x4*(parseInt(_0x20c67b(0x127))/0x5)+-parseInt(_0x20c67b(0x12f))/0x6+parseInt(_0x20c67b(0x130))/0x7+-parseInt(_0x20c67b(0x126))/0x8*(parseInt(_0x20c67b(0x12c))/0x9)+parseInt(_0x20c67b(0x125))/0xa;if(_0x4dde73===_0x17dbce)break;else _0x461673['push'](_0x461673['shift']());}catch(_0x510b31){_0x461673['push'](_0x461673['shift']());}}}(_0x3e13,0xea634));import{View as _0x38a859}from'ckeditor5/src/ui.js';function _0x3e13(){var _0x1efa10=['ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','17943IUvIoT','94RuKilu','3069AsROUm','div','AI_DISCLAIMER_TEXT','2976810zjikBw','13320734DacJQc','setTemplate','1492413tsLMfr','2456hOREKS','29819300hcQoRp','26568acYlsF','8835kmQsIT'];_0x3e13=function(){return _0x1efa10;};return _0x3e13();}import{getTranslation as _0x1738c5}from'../../aicore/utils/common-translations.js';function _0xdbef(_0x9cb6e,_0x426685){var _0x3e1342=_0x3e13();return _0xdbef=function(_0xdbefef,_0xa37842){_0xdbefef=_0xdbefef-0x122;var _0x4fa37a=_0x3e1342[_0xdbefef];return _0x4fa37a;},_0xdbef(_0x9cb6e,_0x426685);}export class AIBalloonDisclaimerView extends _0x38a859{constructor(_0xabedc4){var _0xa126ab=_0xdbef;super(_0xabedc4),this[_0xa126ab(0x122)]({'tag':_0xa126ab(0x12d),'attributes':{'class':['ck',_0xa126ab(0x128)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xa126ab(0x129)]},'children':[{'text':_0x1738c5(_0xabedc4,_0xa126ab(0x12e))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31b2(){const _0x42c3f4=['_createButton','ck-ai-balloon__toolbar','29419NRONoW','extendTemplate','1396029yYTwSf','12MSvvlG','ck-ai-button-secondary','65656OkpJXS','84rUhCVX','349041hEcyQX','AI_BALLOON_APPLY_BUTTON','isEnabled','locale','applyButton','suggestButton','50nljmli','9hLZaNu','bind','134079OekZDQ','26drShry','1054032GJONoB','isLoading','ck-ai-button-primary','add','items','set','4856570sipKDk','AI_BALLOON_SUGGEST_BUTTON'];_0x31b2=function(){return _0x42c3f4;};return _0x31b2();}const _0x42d704=_0x3f97;(function(_0x252627,_0x44adc2){const _0x3900f1=_0x3f97,_0x59fca5=_0x252627();while(!![]){try{const _0x4256fd=parseInt(_0x3900f1(0x1f5))/0x1*(parseInt(_0x3900f1(0x1ea))/0x2)+-parseInt(_0x3900f1(0x1f7))/0x3+-parseInt(_0x3900f1(0x1fa))/0x4*(-parseInt(_0x3900f1(0x202))/0x5)+-parseInt(_0x3900f1(0x1fb))/0x6*(-parseInt(_0x3900f1(0x1fc))/0x7)+parseInt(_0x3900f1(0x1eb))/0x8+-parseInt(_0x3900f1(0x203))/0x9*(parseInt(_0x3900f1(0x1f1))/0xa)+-parseInt(_0x3900f1(0x1e9))/0xb*(-parseInt(_0x3900f1(0x1f8))/0xc);if(_0x4256fd===_0x44adc2)break;else _0x59fca5['push'](_0x59fca5['shift']());}catch(_0x12017d){_0x59fca5['push'](_0x59fca5['shift']());}}}(_0x31b2,0x6ad6c));function _0x3f97(_0x39b178,_0x24ecca){const _0x31b27d=_0x31b2();return _0x3f97=function(_0x3f9765,_0x3cae25){_0x3f9765=_0x3f9765-0x1e8;let _0x375a7d=_0x31b27d[_0x3f9765];return _0x375a7d;},_0x3f97(_0x39b178,_0x24ecca);}import{ToolbarView as _0x2e7206,ButtonView as _0x368340}from'ckeditor5/src/ui.js';import{getTranslation as _0x25c279}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x2e7206{constructor(_0x5cc3f9,_0x21690f=!0x0,_0x4ac7f6=!0x0){const _0x1d10bc=_0x3f97;super(_0x5cc3f9),this[_0x1d10bc(0x1f0)](_0x1d10bc(0x1ec),!0x1),_0x21690f&&(this[_0x1d10bc(0x200)]=this[_0x1d10bc(0x1f3)](_0x25c279(_0x5cc3f9,_0x1d10bc(0x1fd)),_0x1d10bc(0x1ed)),this[_0x1d10bc(0x200)][_0x1d10bc(0x1e8)](_0x1d10bc(0x1fe))['to'](this,_0x1d10bc(0x1ec),_0x574134=>!_0x574134),this[_0x1d10bc(0x1ef)][_0x1d10bc(0x1ee)](this[_0x1d10bc(0x200)])),_0x4ac7f6&&(this[_0x1d10bc(0x201)]=this[_0x1d10bc(0x1f3)](_0x25c279(_0x5cc3f9,_0x1d10bc(0x1f2)),_0x1d10bc(0x1f9)),this[_0x1d10bc(0x201)][_0x1d10bc(0x1e8)](_0x1d10bc(0x1fe))['to'](this,_0x1d10bc(0x1ec),_0x3e5c0c=>!_0x3e5c0c),this[_0x1d10bc(0x1ef)][_0x1d10bc(0x1ee)](this[_0x1d10bc(0x201)])),this[_0x1d10bc(0x1f6)]({'attributes':{'class':[_0x1d10bc(0x1f4)]}});}[_0x42d704(0x1f3)](_0x3b944b,_0x482706){const _0x179ff9=_0x42d704,_0x3300b5=new _0x368340(this[_0x179ff9(0x1ff)]);return _0x3300b5[_0x179ff9(0x1f0)]({'label':_0x3b944b,'class':_0x482706||'','isVisible':!0x0,'withText':!0x0}),_0x3300b5;}}
23
+ function _0x4643(){const _0x212a8d=['1519917ymSpNW','bind','4qXhjQU','ck-ai-balloon__toolbar','8113239JxeLBl','8854085LqvtIi','ck-ai-button-secondary','suggestButton','63915434IyPsrF','isLoading','applyButton','ck-ai-button-primary','AI_BALLOON_APPLY_BUTTON','set','add','20EhVZxx','locale','13145072GKnWoI','_createButton','24iZRSdg','isEnabled','1554418WLRMnv','2oxvCBe','1659297BiDVzL','items','AI_BALLOON_SUGGEST_BUTTON','extendTemplate'];_0x4643=function(){return _0x212a8d;};return _0x4643();}const _0x1254c3=_0xb863;function _0xb863(_0x496cc2,_0x40abd3){const _0x46438e=_0x4643();return _0xb863=function(_0xb8636a,_0x2bfbbc){_0xb8636a=_0xb8636a-0x100;let _0x5c8eb9=_0x46438e[_0xb8636a];return _0x5c8eb9;},_0xb863(_0x496cc2,_0x40abd3);}(function(_0x58fb03,_0x362551){const _0x507c0b=_0xb863,_0x2b6a24=_0x58fb03();while(!![]){try{const _0x1ebfe0=-parseInt(_0x507c0b(0x114))/0x1+-parseInt(_0x507c0b(0x115))/0x2*(parseInt(_0x507c0b(0x116))/0x3)+-parseInt(_0x507c0b(0x101))/0x4*(parseInt(_0x507c0b(0x104))/0x5)+parseInt(_0x507c0b(0x112))/0x6*(-parseInt(_0x507c0b(0x11a))/0x7)+parseInt(_0x507c0b(0x110))/0x8+parseInt(_0x507c0b(0x103))/0x9*(-parseInt(_0x507c0b(0x10e))/0xa)+parseInt(_0x507c0b(0x107))/0xb;if(_0x1ebfe0===_0x362551)break;else _0x2b6a24['push'](_0x2b6a24['shift']());}catch(_0x4f1ba0){_0x2b6a24['push'](_0x2b6a24['shift']());}}}(_0x4643,0xdca94));import{ToolbarView as _0x3285f,ButtonView as _0x5b8faf}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f3bb0}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x3285f{constructor(_0x3d2352,_0x4ad519=!0x0,_0x5c3fce=!0x0){const _0x5c19cc=_0xb863;super(_0x3d2352),this[_0x5c19cc(0x10c)](_0x5c19cc(0x108),!0x1),_0x4ad519&&(this[_0x5c19cc(0x109)]=this[_0x5c19cc(0x111)](_0x2f3bb0(_0x3d2352,_0x5c19cc(0x10b)),_0x5c19cc(0x10a)),this[_0x5c19cc(0x109)][_0x5c19cc(0x100)](_0x5c19cc(0x113))['to'](this,_0x5c19cc(0x108),_0x50ca62=>!_0x50ca62),this[_0x5c19cc(0x117)][_0x5c19cc(0x10d)](this[_0x5c19cc(0x109)])),_0x5c3fce&&(this[_0x5c19cc(0x106)]=this[_0x5c19cc(0x111)](_0x2f3bb0(_0x3d2352,_0x5c19cc(0x118)),_0x5c19cc(0x105)),this[_0x5c19cc(0x106)][_0x5c19cc(0x100)](_0x5c19cc(0x113))['to'](this,_0x5c19cc(0x108),_0x1c5ca3=>!_0x1c5ca3),this[_0x5c19cc(0x117)][_0x5c19cc(0x10d)](this[_0x5c19cc(0x106)])),this[_0x5c19cc(0x119)]({'attributes':{'class':[_0x5c19cc(0x102)]}});}[_0x1254c3(0x111)](_0xee5a19,_0x2e7037){const _0x5ee932=_0x1254c3,_0x4bb2fa=new _0x5b8faf(this[_0x5ee932(0x10f)]);return _0x4bb2fa[_0x5ee932(0x10c)]({'label':_0xee5a19,'class':_0x2e7037||'','isVisible':!0x0,'withText':!0x0}),_0x4bb2fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58e0(){const _0x5bbf8b=['setLoading','_mainView','10ZOwHET','1083372LAMZgZ','shift\x20+\x20tab','focusCycler','_addToolbar','setTemplate','_addDisclaimerView','showApplyButton','locale','2709735CEZuwX','element','children','listenTo','focusTracker','AI_BALLOON_NEXT_TOOLTIP','showSuggestButton','7390026UKiJhN','tab','set','6910RqDRQI','add','applyButton','view','fire','showPrevious','612941iHcIyz','mainView','applySuggestion','headerView','execute','disclaimerView','clearLoading','_addContentView','keystrokes','insertSuggestion','_createNextButtonView','_focusables','div','2TNunHp','isLoading','suggestButton','focusFirst','focus','showNext','_dialogContent','AI_BALLOON_PREVIOUS_TOOLTIP','setupRotator','8dbonPb','createCollection','clear','bind','516jXYZEk','focusLast','render','toolbar','ai-balloon-content','addMany','_createPreviousButtonView','2093724xUtlwg','2553067dhZEca'];_0x58e0=function(){return _0x5bbf8b;};return _0x58e0();}const _0x3be04d=_0x5581;(function(_0x58218f,_0x4679af){const _0x4e8f07=_0x5581,_0x15006b=_0x58218f();while(!![]){try{const _0x492664=-parseInt(_0x4e8f07(0x108))/0x1*(-parseInt(_0x4e8f07(0x115))/0x2)+parseInt(_0x4e8f07(0xf0))/0x3+parseInt(_0x4e8f07(0xeb))/0x4+-parseInt(_0x4e8f07(0x102))/0x5*(-parseInt(_0x4e8f07(0x122))/0x6)+-parseInt(_0x4e8f07(0xf8))/0x7+parseInt(_0x4e8f07(0x11e))/0x8*(-parseInt(_0x4e8f07(0xff))/0x9)+parseInt(_0x4e8f07(0xef))/0xa*(parseInt(_0x4e8f07(0xec))/0xb);if(_0x492664===_0x4679af)break;else _0x15006b['push'](_0x15006b['shift']());}catch(_0x37083d){_0x15006b['push'](_0x15006b['shift']());}}}(_0x58e0,0x9c4e2));import{ButtonView as _0x1832f4,View as _0x68a17c,ViewCollection as _0x76a2f9,FocusCycler as _0x36e0db}from'ckeditor5/src/ui.js';function _0x5581(_0x164db1,_0x21ee72){const _0x58e094=_0x58e0();return _0x5581=function(_0x55816a,_0x3879ca){_0x55816a=_0x55816a-0xe7;let _0x536084=_0x58e094[_0x55816a];return _0x536084;},_0x5581(_0x164db1,_0x21ee72);}import{FocusTracker as _0x1194ac,KeystrokeHandler as _0x309745}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x2edacd,IconPreviousArrow as _0x5514f1}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x4b98fe}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x2dea32}from'./aiballoondisclaimerview.js';import{getTranslation as _0x502366}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x3be04d(0x10a),_0x3be04d(0x111),_0x3be04d(0x11a),_0x3be04d(0x107)];export class AIBalloonView extends _0x68a17c{[_0x3be04d(0xfc)];[_0x3be04d(0x110)];[_0x3be04d(0xf2)];[_0x3be04d(0x113)];constructor(_0xf89304,_0x7c104b){const _0x5aaf4d=_0x3be04d;super(_0xf89304),this[_0x5aaf4d(0x101)](_0x5aaf4d(0x116),!0x1),this[_0x5aaf4d(0xfc)]=new _0x1194ac(),this[_0x5aaf4d(0x110)]=new _0x309745(),this[_0x5aaf4d(0x113)]=this[_0x5aaf4d(0x11f)](),this[_0x5aaf4d(0xf2)]=new _0x36e0db({'focusables':this[_0x5aaf4d(0x113)],'focusTracker':this[_0x5aaf4d(0xfc)],'keystrokeHandler':this[_0x5aaf4d(0x110)],'actions':{'focusPrevious':_0x5aaf4d(0xf1),'focusNext':_0x5aaf4d(0x100)}}),this[_0x5aaf4d(0x11b)]=new _0x76a2f9(),this[_0x5aaf4d(0x10f)](_0x7c104b[_0x5aaf4d(0x109)]),this[_0x5aaf4d(0xf5)](),this[_0x5aaf4d(0xf3)](_0x7c104b[_0x5aaf4d(0xf6)],_0x7c104b[_0x5aaf4d(0xfe)]),this[_0x5aaf4d(0xe7)][_0x5aaf4d(0x121)](_0x5aaf4d(0x116))['to'](this),this[_0x5aaf4d(0x113)][_0x5aaf4d(0x120)](),this[_0x5aaf4d(0x113)][_0x5aaf4d(0xe9)]([this[_0x5aaf4d(0xe7)]]),this[_0x5aaf4d(0xf4)]({'tag':_0x5aaf4d(0x114),'attributes':{'class':_0x5aaf4d(0xe8)},'children':this[_0x5aaf4d(0x11b)]});}[_0x3be04d(0x124)](){const _0x3c5816=_0x3be04d;super[_0x3c5816(0x124)]();for(const _0x1d66b2 of this[_0x3c5816(0x113)])this[_0x3c5816(0xfc)][_0x3c5816(0x103)](_0x1d66b2[_0x3c5816(0xf9)]);this[_0x3c5816(0x110)][_0x3c5816(0xfb)](this[_0x3c5816(0xf9)]);}[_0x3be04d(0x119)](_0x40e156){const _0x3c30cf=_0x3be04d;-0x1===_0x40e156?this[_0x3c30cf(0xf2)][_0x3c30cf(0x123)]():this[_0x3c30cf(0xf2)][_0x3c30cf(0x118)]();}[_0x3be04d(0xed)](){const _0x1b759c=_0x3be04d;this[_0x1b759c(0x116)]=!0x0;}[_0x3be04d(0x10e)](){const _0x47be78=_0x3be04d;this[_0x47be78(0x116)]=!0x1;}[_0x3be04d(0x11d)](_0x188da4){const _0x2ca2ef=_0x3be04d,_0x4ceaa3=this[_0x2ca2ef(0x112)](),_0x54b38e=this[_0x2ca2ef(0xea)]();_0x188da4[_0x2ca2ef(0x105)][_0x2ca2ef(0x10b)][_0x2ca2ef(0xfa)][_0x2ca2ef(0x103)](_0x4ceaa3,0x2),_0x188da4[_0x2ca2ef(0x105)][_0x2ca2ef(0x10b)][_0x2ca2ef(0xfa)][_0x2ca2ef(0x103)](_0x54b38e,0x0),this[_0x2ca2ef(0x113)][_0x2ca2ef(0xe9)]([_0x4ceaa3,_0x54b38e]),this[_0x2ca2ef(0xfc)][_0x2ca2ef(0x103)](_0x4ceaa3[_0x2ca2ef(0xf9)]),this[_0x2ca2ef(0xfc)][_0x2ca2ef(0x103)](_0x54b38e[_0x2ca2ef(0xf9)]);}[_0x3be04d(0x10f)](_0x130521){const _0x332ad2=_0x3be04d;this[_0x332ad2(0xee)]=_0x130521,this[_0x332ad2(0x11b)][_0x332ad2(0x103)](this[_0x332ad2(0xee)]);}[_0x3be04d(0xf5)](){const _0x33982e=_0x3be04d;this[_0x33982e(0x10d)]=new _0x2dea32(this[_0x33982e(0xf7)]),this[_0x33982e(0x11b)][_0x33982e(0x103)](this[_0x33982e(0x10d)]);}[_0x3be04d(0xf3)](_0x581534=!0x0,_0x2326cc=!0x0){const _0x15f162=_0x3be04d;this[_0x15f162(0xe7)]=new _0x4b98fe(this[_0x15f162(0xf7)],_0x581534,_0x2326cc),this[_0x15f162(0xe7)][_0x15f162(0x104)]?.['on'](_0x15f162(0x10c),()=>{const _0x293f50=_0x15f162;this[_0x293f50(0x106)](_0x293f50(0x10a));}),this[_0x15f162(0xe7)][_0x15f162(0x117)]?.['on'](_0x15f162(0x10c),()=>{const _0x5d5564=_0x15f162;this[_0x5d5564(0x106)](_0x5d5564(0x111));}),this[_0x15f162(0x11b)][_0x15f162(0x103)](this[_0x15f162(0xe7)]);}[_0x3be04d(0x112)](){const _0x3d988d=_0x3be04d,_0x21712b=new _0x1832f4(this[_0x3d988d(0xf7)]);return _0x21712b[_0x3d988d(0x101)]({'icon':_0x2edacd,'tooltip':_0x502366(this[_0x3d988d(0xf7)],_0x3d988d(0xfd))}),_0x21712b['on'](_0x3d988d(0x10c),()=>{const _0x136ee3=_0x3d988d;this[_0x136ee3(0x106)](_0x136ee3(0x11a));}),_0x21712b;}[_0x3be04d(0xea)](){const _0x33197e=_0x3be04d,_0x5cc598=new _0x1832f4(this[_0x33197e(0xf7)]);return _0x5cc598[_0x33197e(0x101)]({'icon':_0x5514f1,'tooltip':_0x502366(this[_0x33197e(0xf7)],_0x33197e(0x11c))}),_0x5cc598['on'](_0x33197e(0x10c),()=>{const _0x21ccbb=_0x33197e;this[_0x21ccbb(0x106)](_0x21ccbb(0x107));}),_0x5cc598;}}
23
+ const _0x445ae5=_0x598d;(function(_0x554346,_0x24d585){const _0x268867=_0x598d,_0x5b9a9f=_0x554346();while(!![]){try{const _0x2ffe04=parseInt(_0x268867(0x13c))/0x1*(parseInt(_0x268867(0x142))/0x2)+-parseInt(_0x268867(0x13b))/0x3+parseInt(_0x268867(0x130))/0x4+-parseInt(_0x268867(0x143))/0x5+-parseInt(_0x268867(0x152))/0x6+parseInt(_0x268867(0x12c))/0x7+-parseInt(_0x268867(0x128))/0x8*(-parseInt(_0x268867(0x133))/0x9);if(_0x2ffe04===_0x24d585)break;else _0x5b9a9f['push'](_0x5b9a9f['shift']());}catch(_0x2f2880){_0x5b9a9f['push'](_0x5b9a9f['shift']());}}}(_0x447d,0xa7b6a));import{ButtonView as _0x41877c,View as _0x41672c,ViewCollection as _0x1d5357,FocusCycler as _0x47d5d3}from'ckeditor5/src/ui.js';import{FocusTracker as _0xd4127a,KeystrokeHandler as _0x4eed69}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x4d36c5,IconPreviousArrow as _0xb33b8f}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x235e24}from'./aiballoontoolbarview.js';function _0x598d(_0x523320,_0x4aa8b6){const _0x447dda=_0x447d();return _0x598d=function(_0x598deb,_0x418935){_0x598deb=_0x598deb-0x124;let _0x1f18b7=_0x447dda[_0x598deb];return _0x1f18b7;},_0x598d(_0x523320,_0x4aa8b6);}function _0x447d(){const _0x35e581=['_addContentView','isLoading','element','suggestButton','headerView','showPrevious','toolbar','_addToolbar','view','456GVyTgD','showNext','focusTracker','listenTo','3007998hBegJI','focusLast','focus','fire','2736820JVOISK','add','setTemplate','130095hQZQdk','focusCycler','_mainView','tab','set','createCollection','_focusables','AI_BALLOON_NEXT_TOOLTIP','1629420ZFBLfz','5yApZot','insertSuggestion','keystrokes','applySuggestion','showApplyButton','focusFirst','285210ddiFEW','1414195JiOjhK','setupRotator','addMany','setLoading','shift\x20+\x20tab','_createPreviousButtonView','locale','bind','disclaimerView','execute','children','_dialogContent','applyButton','_createNextButtonView','clear','6827676rEPqvk','ai-balloon-content','clearLoading','mainView','div','showSuggestButton','_addDisclaimerView','AI_BALLOON_PREVIOUS_TOOLTIP','render'];_0x447d=function(){return _0x35e581;};return _0x447d();}import{AIBalloonDisclaimerView as _0x381afc}from'./aiballoondisclaimerview.js';import{getTranslation as _0x1ee582}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x445ae5(0x13f),_0x445ae5(0x13d),_0x445ae5(0x129),_0x445ae5(0x124)];export class AIBalloonView extends _0x41672c{[_0x445ae5(0x12a)];[_0x445ae5(0x13e)];[_0x445ae5(0x134)];[_0x445ae5(0x139)];constructor(_0x250de6,_0x96a14c){const _0x15d9e7=_0x445ae5;super(_0x250de6),this[_0x15d9e7(0x137)](_0x15d9e7(0x15c),!0x1),this[_0x15d9e7(0x12a)]=new _0xd4127a(),this[_0x15d9e7(0x13e)]=new _0x4eed69(),this[_0x15d9e7(0x139)]=this[_0x15d9e7(0x138)](),this[_0x15d9e7(0x134)]=new _0x47d5d3({'focusables':this[_0x15d9e7(0x139)],'focusTracker':this[_0x15d9e7(0x12a)],'keystrokeHandler':this[_0x15d9e7(0x13e)],'actions':{'focusPrevious':_0x15d9e7(0x147),'focusNext':_0x15d9e7(0x136)}}),this[_0x15d9e7(0x14e)]=new _0x1d5357(),this[_0x15d9e7(0x15b)](_0x96a14c[_0x15d9e7(0x155)]),this[_0x15d9e7(0x158)](),this[_0x15d9e7(0x126)](_0x96a14c[_0x15d9e7(0x140)],_0x96a14c[_0x15d9e7(0x157)]),this[_0x15d9e7(0x125)][_0x15d9e7(0x14a)](_0x15d9e7(0x15c))['to'](this),this[_0x15d9e7(0x139)][_0x15d9e7(0x151)](),this[_0x15d9e7(0x139)][_0x15d9e7(0x145)]([this[_0x15d9e7(0x125)]]),this[_0x15d9e7(0x132)]({'tag':_0x15d9e7(0x156),'attributes':{'class':_0x15d9e7(0x153)},'children':this[_0x15d9e7(0x14e)]});}[_0x445ae5(0x15a)](){const _0x16d69d=_0x445ae5;super[_0x16d69d(0x15a)]();for(const _0x162055 of this[_0x16d69d(0x139)])this[_0x16d69d(0x12a)][_0x16d69d(0x131)](_0x162055[_0x16d69d(0x15d)]);this[_0x16d69d(0x13e)][_0x16d69d(0x12b)](this[_0x16d69d(0x15d)]);}[_0x445ae5(0x12e)](_0x18077d){const _0x127db3=_0x445ae5;-0x1===_0x18077d?this[_0x127db3(0x134)][_0x127db3(0x12d)]():this[_0x127db3(0x134)][_0x127db3(0x141)]();}[_0x445ae5(0x146)](){const _0x2ae3a2=_0x445ae5;this[_0x2ae3a2(0x15c)]=!0x0;}[_0x445ae5(0x154)](){const _0x2370cf=_0x445ae5;this[_0x2370cf(0x15c)]=!0x1;}[_0x445ae5(0x144)](_0x1d5bc4){const _0x244df8=_0x445ae5,_0x1a5195=this[_0x244df8(0x150)](),_0x21334e=this[_0x244df8(0x148)]();_0x1d5bc4[_0x244df8(0x127)][_0x244df8(0x15f)][_0x244df8(0x14d)][_0x244df8(0x131)](_0x1a5195,0x2),_0x1d5bc4[_0x244df8(0x127)][_0x244df8(0x15f)][_0x244df8(0x14d)][_0x244df8(0x131)](_0x21334e,0x0),this[_0x244df8(0x139)][_0x244df8(0x145)]([_0x1a5195,_0x21334e]),this[_0x244df8(0x12a)][_0x244df8(0x131)](_0x1a5195[_0x244df8(0x15d)]),this[_0x244df8(0x12a)][_0x244df8(0x131)](_0x21334e[_0x244df8(0x15d)]);}[_0x445ae5(0x15b)](_0x55a841){const _0x26d047=_0x445ae5;this[_0x26d047(0x135)]=_0x55a841,this[_0x26d047(0x14e)][_0x26d047(0x131)](this[_0x26d047(0x135)]);}[_0x445ae5(0x158)](){const _0x13e3b8=_0x445ae5;this[_0x13e3b8(0x14b)]=new _0x381afc(this[_0x13e3b8(0x149)]),this[_0x13e3b8(0x14e)][_0x13e3b8(0x131)](this[_0x13e3b8(0x14b)]);}[_0x445ae5(0x126)](_0x409d97=!0x0,_0x99e9de=!0x0){const _0x43961b=_0x445ae5;this[_0x43961b(0x125)]=new _0x235e24(this[_0x43961b(0x149)],_0x409d97,_0x99e9de),this[_0x43961b(0x125)][_0x43961b(0x14f)]?.['on'](_0x43961b(0x14c),()=>{const _0x5c528a=_0x43961b;this[_0x5c528a(0x12f)](_0x5c528a(0x13f));}),this[_0x43961b(0x125)][_0x43961b(0x15e)]?.['on'](_0x43961b(0x14c),()=>{const _0x8e2d65=_0x43961b;this[_0x8e2d65(0x12f)](_0x8e2d65(0x13d));}),this[_0x43961b(0x14e)][_0x43961b(0x131)](this[_0x43961b(0x125)]);}[_0x445ae5(0x150)](){const _0x5d52b3=_0x445ae5,_0x39ac70=new _0x41877c(this[_0x5d52b3(0x149)]);return _0x39ac70[_0x5d52b3(0x137)]({'icon':_0x4d36c5,'tooltip':_0x1ee582(this[_0x5d52b3(0x149)],_0x5d52b3(0x13a))}),_0x39ac70['on'](_0x5d52b3(0x14c),()=>{const _0x29e1ef=_0x5d52b3;this[_0x29e1ef(0x12f)](_0x29e1ef(0x129));}),_0x39ac70;}[_0x445ae5(0x148)](){const _0x5ab307=_0x445ae5,_0x578f7e=new _0x41877c(this[_0x5ab307(0x149)]);return _0x578f7e[_0x5ab307(0x137)]({'icon':_0xb33b8f,'tooltip':_0x1ee582(this[_0x5ab307(0x149)],_0x5ab307(0x159))}),_0x578f7e['on'](_0x5ab307(0x14c),()=>{const _0x125e96=_0x5ab307;this[_0x125e96(0x12f)](_0x125e96(0x124));}),_0x578f7e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe2c764=_0x5f43;(function(_0x299651,_0x55e724){const _0x41e7e9=_0x5f43,_0x2cb146=_0x299651();while(!![]){try{const _0x487791=-parseInt(_0x41e7e9(0x8f))/0x1+-parseInt(_0x41e7e9(0x96))/0x2*(parseInt(_0x41e7e9(0x9b))/0x3)+-parseInt(_0x41e7e9(0x8c))/0x4+-parseInt(_0x41e7e9(0x94))/0x5*(parseInt(_0x41e7e9(0xa3))/0x6)+parseInt(_0x41e7e9(0x93))/0x7*(parseInt(_0x41e7e9(0xa1))/0x8)+parseInt(_0x41e7e9(0x90))/0x9+-parseInt(_0x41e7e9(0x8e))/0xa*(-parseInt(_0x41e7e9(0x97))/0xb);if(_0x487791===_0x55e724)break;else _0x2cb146['push'](_0x2cb146['shift']());}catch(_0xea5f67){_0x2cb146['push'](_0x2cb146['shift']());}}}(_0x534d,0xa3282));import{ContextPlugin as _0x525f64}from'ckeditor5/src/core.js';import{AIChatController as _0x43410f}from'./aichatcontroller.js';import{AIEditing as _0x45e5e0}from'../aicore/aiediting.js';import{AIChatUI as _0x2295de}from'./aichatui.js';import{AIChatHistory as _0x1e513f}from'../aichathistory/aichathistory.js';function _0x5f43(_0x2b7542,_0x52522c){const _0x534d9c=_0x534d();return _0x5f43=function(_0x5f4360,_0x324b26){_0x5f4360=_0x5f4360-0x89;let _0x2d1c66=_0x534d9c[_0x5f4360];return _0x2d1c66;},_0x5f43(_0x2b7542,_0x52522c);}function _0x534d(){const _0x23eac9=['3512syIipv','isPremiumPlugin','2634XbcCgC','ai.chat.context','requires','sendMessage','isOfficialPlugin','3909212emJKms','startConversation','6092890jZnaLw','414578oZbAzK','1831563PCuyyO','AIChat','get','20594uYFQJv','4045ebwDZo','ai.chat.models','1815180zvADtD','33RKGWvM','addSelectionToChatContext','pluginName','removeSelectionFromChatContext','3SzDoql','plugins','define','context','focusPromptInput','config'];_0x534d=function(){return _0x23eac9;};return _0x534d();}export class AIChat extends _0x525f64{static get[_0xe2c764(0x89)](){return[_0x43410f,_0x45e5e0,_0x2295de,_0x1e513f];}static get[_0xe2c764(0x99)](){const _0x138c01=_0xe2c764;return _0x138c01(0x91);}static get[_0xe2c764(0x8b)](){return!0x0;}static get[_0xe2c764(0xa2)](){return!0x0;}constructor(_0x4e0d32){const _0x48f9c1=_0xe2c764;super(_0x4e0d32);const _0x4d13b7=_0x4e0d32[_0x48f9c1(0xa0)];_0x4d13b7[_0x48f9c1(0x9d)](_0x48f9c1(0xa4),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x4d13b7[_0x48f9c1(0x9d)](_0x48f9c1(0x95),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0xe2c764(0x98)](){const _0x4919a0=_0xe2c764;await this[_0x4919a0(0x9e)][_0x4919a0(0x9c)][_0x4919a0(0x92)](_0x43410f)[_0x4919a0(0x98)]();}async[_0xe2c764(0x8d)](){const _0x3a2afd=_0xe2c764;await this[_0x3a2afd(0x9e)][_0x3a2afd(0x9c)][_0x3a2afd(0x92)](_0x43410f)[_0x3a2afd(0x8d)]();}async[_0xe2c764(0x8a)]({message:_0x2d06ee,quickActionData:_0x4ed2e1}){const _0x32f050=_0xe2c764;await this[_0x32f050(0x9e)][_0x32f050(0x9c)][_0x32f050(0x92)](_0x43410f)[_0x32f050(0x8a)]({'message':_0x2d06ee,'quickActionData':_0x4ed2e1});}[_0xe2c764(0x9a)](){const _0x405b54=_0xe2c764;this[_0x405b54(0x9e)][_0x405b54(0x9c)][_0x405b54(0x92)](_0x43410f)[_0x405b54(0x9a)]();}[_0xe2c764(0x9f)](){const _0x45e974=_0xe2c764;this[_0x45e974(0x9e)][_0x45e974(0x9c)][_0x45e974(0x92)](_0x43410f)[_0x45e974(0x9f)]();}}
23
+ const _0x50ec6a=_0x34df;(function(_0x3a4a57,_0x1b3b56){const _0x39613=_0x34df,_0x5cc356=_0x3a4a57();while(!![]){try{const _0x326c95=parseInt(_0x39613(0xb1))/0x1*(-parseInt(_0x39613(0xa6))/0x2)+-parseInt(_0x39613(0xb2))/0x3*(parseInt(_0x39613(0x9e))/0x4)+-parseInt(_0x39613(0xaa))/0x5+-parseInt(_0x39613(0xa3))/0x6+-parseInt(_0x39613(0xa2))/0x7*(parseInt(_0x39613(0x9f))/0x8)+-parseInt(_0x39613(0xb6))/0x9+parseInt(_0x39613(0xa5))/0xa;if(_0x326c95===_0x1b3b56)break;else _0x5cc356['push'](_0x5cc356['shift']());}catch(_0x22f8fa){_0x5cc356['push'](_0x5cc356['shift']());}}}(_0x3542,0xafa3d));function _0x3542(){const _0x355cc6=['isOfficialPlugin','requires','6604506tlNkBM','pluginName','AIChat','964GTDHAl','5028760xTlmje','plugins','startConversation','7vgMWnS','3233274GyHFtL','addSelectionToChatContext','44664860xexTbN','48358noxspF','focusPromptInput','context','config','2521145GuwjIL','sendMessage','ai.chat.models','get','ai.chat.context','removeSelectionFromChatContext','define','29WAUNFL','7971oEVwpT','isPremiumPlugin'];_0x3542=function(){return _0x355cc6;};return _0x3542();}import{ContextPlugin as _0x158466}from'ckeditor5/src/core.js';import{AIChatController as _0x19065c}from'./aichatcontroller.js';import{AIEditing as _0x10f40c}from'../aicore/aiediting.js';function _0x34df(_0x2ef744,_0x439ec1){const _0x35421f=_0x3542();return _0x34df=function(_0x34dfb9,_0x5d09fd){_0x34dfb9=_0x34dfb9-0x9e;let _0x153af0=_0x35421f[_0x34dfb9];return _0x153af0;},_0x34df(_0x2ef744,_0x439ec1);}import{AIChatUI as _0x5e0f1b}from'./aichatui.js';import{AIChatHistory as _0x2445de}from'../aichathistory/aichathistory.js';export class AIChat extends _0x158466{static get[_0x50ec6a(0xb5)](){return[_0x19065c,_0x10f40c,_0x5e0f1b,_0x2445de];}static get[_0x50ec6a(0xb7)](){const _0x4cddc1=_0x50ec6a;return _0x4cddc1(0xb8);}static get[_0x50ec6a(0xb4)](){return!0x0;}static get[_0x50ec6a(0xb3)](){return!0x0;}constructor(_0x4d786b){const _0x5a3cdd=_0x50ec6a;super(_0x4d786b);const _0x575872=_0x4d786b[_0x5a3cdd(0xa9)];_0x575872[_0x5a3cdd(0xb0)](_0x5a3cdd(0xae),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x575872[_0x5a3cdd(0xb0)](_0x5a3cdd(0xac),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x50ec6a(0xa4)](){const _0x2b6ab3=_0x50ec6a;await this[_0x2b6ab3(0xa8)][_0x2b6ab3(0xa0)][_0x2b6ab3(0xad)](_0x19065c)[_0x2b6ab3(0xa4)]();}async[_0x50ec6a(0xa1)](){const _0x2ef827=_0x50ec6a;await this[_0x2ef827(0xa8)][_0x2ef827(0xa0)][_0x2ef827(0xad)](_0x19065c)[_0x2ef827(0xa1)]();}async[_0x50ec6a(0xab)]({message:_0x28c958,quickActionData:_0x308038}){const _0x2d06ce=_0x50ec6a;await this[_0x2d06ce(0xa8)][_0x2d06ce(0xa0)][_0x2d06ce(0xad)](_0x19065c)[_0x2d06ce(0xab)]({'message':_0x28c958,'quickActionData':_0x308038});}[_0x50ec6a(0xaf)](){const _0x18a977=_0x50ec6a;this[_0x18a977(0xa8)][_0x18a977(0xa0)][_0x18a977(0xad)](_0x19065c)[_0x18a977(0xaf)]();}[_0x50ec6a(0xa7)](){const _0x14cdca=_0x50ec6a;this[_0x14cdca(0xa8)][_0x14cdca(0xa0)][_0x14cdca(0xad)](_0x19065c)[_0x14cdca(0xa7)]();}}