@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 47.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +16 -16
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12052d=_0xfa1e;(function(_0x5b5319,_0x148255){const _0x452af7=_0xfa1e,_0x43ebab=_0x5b5319();while(!![]){try{const _0x5bf4a0=-parseInt(_0x452af7(0xa9))/0x1*(-parseInt(_0x452af7(0x6d))/0x2)+-parseInt(_0x452af7(0x9b))/0x3+parseInt(_0x452af7(0x96))/0x4*(-parseInt(_0x452af7(0x9a))/0x5)+-parseInt(_0x452af7(0xa0))/0x6*(parseInt(_0x452af7(0x88))/0x7)+-parseInt(_0x452af7(0xbb))/0x8*(parseInt(_0x452af7(0x7d))/0x9)+-parseInt(_0x452af7(0x7f))/0xa*(parseInt(_0x452af7(0x97))/0xb)+parseInt(_0x452af7(0xab))/0xc;if(_0x5bf4a0===_0x148255)break;else _0x43ebab['push'](_0x43ebab['shift']());}catch(_0x434192){_0x43ebab['push'](_0x43ebab['shift']());}}}(_0x1db1,0x9b08c));import{global as _0x2c71aa}from'ckeditor5/src/utils.js';import{View as _0x6416f3,ButtonView as _0x172ba1,SpinnerView as _0x5e52b0}from'ckeditor5/src/ui.js';import{IconCheck as _0xd6d29e,IconCopy as _0xba786}from'ckeditor5/src/icons.js';function _0x1db1(){const _0x3516b4=['scrollHeight','absolute','remove','innerHTML','ck-ai-form__copy-button-wrapper','execute','contentFieldView','mousedown','setEndBefore','locale','class','_createLoader','347769OTbWgo','ck-ai-form__content-area--processing','10RLBkau','Copy','loaderView','ck-ai-form__loader','isProcessing','set','createRange','.ck-ai-form__loader','change:value','18529qIpanU','body','createElement','text/html','position','execCommand','div','addRange','_createCopyButton','style','icon','\x20ck-ai-form__copy-button--copied','smooth','scrollTo','4DDHoVy','4601333unswBK','left','ck-ai-form__content-area','24440DoCZEp','1389057jIzZVS','querySelector','getSelection','change:isProcessing','ClipboardItem','996LHMlFF','isVisible','value','bindTemplate','textContent','AI\x20is\x20writing...','lastElementChild','setContent','ck-reset_all-excluded','1071909sQAFoo','ck-ai-form__content-field','24111744JWkPxv','ck-content','isEnabled','render','copy','<span>]</span>','bind','firstElementChild','_copyHTMLToClipboard','appendChild','listenTo','setTemplate','copyButtonView','write','<span>[</span>','ck-ai-form__content-area-wrapper','232LgStnM','text/plain','ck-hidden','-9999px','element','wheel','ck-ai-form__copy-button','appendLoader','setStartAfter','2hjpDWu','focus','removeAllRanges','clipboard'];_0x1db1=function(){return _0x3516b4;};return _0x1db1();}import{getTranslation as _0x99962c}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x6416f3{[_0x12052d(0x77)];[_0x12052d(0xb7)];constructor(_0x5d43ae,_0x1a0e59=''){const _0x479c72=_0x12052d;super(_0x5d43ae),this[_0x479c72(0x84)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4c4715=this[_0x479c72(0xa3)];this[_0x479c72(0x77)]=new ContentFieldView(_0x5d43ae,_0x1a0e59),this[_0x479c72(0xb7)]=this[_0x479c72(0x90)](),this[_0x479c72(0xb6)]({'tag':_0x479c72(0x8e),'attributes':{'class':['ck',_0x479c72(0xba),_0x4c4715['if'](_0x479c72(0xa1),_0x479c72(0x66),_0x4da7cd=>!_0x4da7cd)],'tabindex':'-1'},'children':[{'tag':_0x479c72(0x8e),'attributes':{'class':['ck',_0x479c72(0x99),_0x4c4715['if'](_0x479c72(0x83),_0x479c72(0x7e))]},'children':[this[_0x479c72(0x77)],{'tag':_0x479c72(0x8e),'attributes':{'class':['ck',_0x479c72(0x75)]},'children':[this[_0x479c72(0xb7)]]}]}]});}[_0x12052d(0xae)](){const _0x470f98=_0x12052d;super[_0x470f98(0xae)](),this[_0x470f98(0xa2)]&&this[_0x470f98(0x77)][_0x470f98(0xa7)](this[_0x470f98(0xa2)]);let _0x27d0bc=!0x1;this['on'](_0x470f98(0x87),(_0x13dcbc,_0x80778e,_0xe0e799)=>{const _0x565fb7=_0x470f98,_0x117594=!this[_0x565fb7(0x77)][_0x565fb7(0x68)][_0x565fb7(0x9c)](_0x565fb7(0x86));this[_0x565fb7(0x77)][_0x565fb7(0xa7)](_0xe0e799),this[_0x565fb7(0x83)]&&_0x117594&&!_0x27d0bc&&this[_0x565fb7(0x68)][_0x565fb7(0x95)]({'top':this[_0x565fb7(0x68)][_0x565fb7(0x71)],'behavior':_0x565fb7(0x94)});}),this['on'](_0x470f98(0x9e),(_0x115247,_0x571b3d,_0x400197)=>{const _0x5674b0=_0x470f98;_0x27d0bc=!0x1,_0x400197?(this[_0x5674b0(0xa2)]=null,this[_0x5674b0(0x77)][_0x5674b0(0x6b)]()):this[_0x5674b0(0xa2)]||this[_0x5674b0(0x77)][_0x5674b0(0xa7)]('');}),this[_0x470f98(0xb5)](this[_0x470f98(0x68)],_0x470f98(0x69),()=>{_0x27d0bc=!0x0;}),this[_0x470f98(0xb5)](this[_0x470f98(0x68)],_0x470f98(0x78),()=>{_0x27d0bc=!0x0;});}[_0x12052d(0x6e)](){const _0xfb6023=_0x12052d;this[_0xfb6023(0x68)][_0xfb6023(0x6e)]();}[_0x12052d(0x90)](){const _0x17b14f=_0x12052d,_0x3980f2=this[_0x17b14f(0x7a)],_0x3a7ca5=new _0x172ba1(this[_0x17b14f(0x7a)]),_0x1a5a8e=_0x17b14f(0x6a);return _0x3a7ca5[_0x17b14f(0x84)]({'label':_0x99962c(_0x3980f2,_0x17b14f(0x80)),'icon':_0xba786,'class':_0x1a5a8e,'tooltip':!0x0}),_0x3a7ca5[_0x17b14f(0xb1)](_0x17b14f(0xa1))['to'](this,_0x17b14f(0xa2),_0x574e93=>!!_0x574e93),_0x3a7ca5[_0x17b14f(0xb1)](_0x17b14f(0xad))['to'](this,_0x17b14f(0x83),_0x4c3293=>!_0x4c3293),_0x3a7ca5['on'](_0x17b14f(0x76),()=>{const _0x34d4c0=_0x17b14f;this[_0x34d4c0(0xb3)](this[_0x34d4c0(0x77)][_0x34d4c0(0x68)]),_0x3a7ca5[_0x34d4c0(0x92)]=_0xd6d29e,_0x3a7ca5[_0x34d4c0(0x7b)]=_0x1a5a8e+_0x34d4c0(0x93),this[_0x34d4c0(0x6e)](),setTimeout(()=>{const _0x54fd9f=_0x34d4c0;_0x3a7ca5[_0x54fd9f(0x92)]=_0xba786,_0x3a7ca5[_0x54fd9f(0x7b)]=_0x1a5a8e;},0x3e8);}),_0x3a7ca5;}[_0x12052d(0xb3)](_0x489cd2){const _0x5dc79d=_0x12052d,{window:_0x3dbfa0,document:_0x10338f}=_0x2c71aa;if(_0x3dbfa0[_0x5dc79d(0x9f)]){const {Blob:_0x23a585,ClipboardItem:_0x232564}=_0x3dbfa0,_0x4f91e5=[new _0x232564({'text/html':new _0x23a585([_0x489cd2[_0x5dc79d(0x74)]],{'type':_0x5dc79d(0x8b)}),'text/plain':new _0x23a585([_0x489cd2[_0x5dc79d(0xa4)]||''],{'type':_0x5dc79d(0xbc)})})];navigator[_0x5dc79d(0x70)][_0x5dc79d(0xb8)](_0x4f91e5);}else{const _0x54d9d2=_0x10338f[_0x5dc79d(0x8a)](_0x5dc79d(0x8e));_0x54d9d2[_0x5dc79d(0x91)][_0x5dc79d(0x8c)]=_0x5dc79d(0x72),_0x54d9d2[_0x5dc79d(0x91)][_0x5dc79d(0x98)]=_0x5dc79d(0x67),_0x54d9d2[_0x5dc79d(0x74)]=_0x5dc79d(0xb9)+_0x489cd2[_0x5dc79d(0x74)]+_0x5dc79d(0xb0),_0x10338f[_0x5dc79d(0x89)][_0x5dc79d(0xb4)](_0x54d9d2);const _0x509f13=_0x10338f[_0x5dc79d(0x85)]();_0x509f13[_0x5dc79d(0x6c)](_0x54d9d2[_0x5dc79d(0xb2)]),_0x509f13[_0x5dc79d(0x79)](_0x54d9d2[_0x5dc79d(0xa6)]);const _0x30db63=_0x3dbfa0[_0x5dc79d(0x9d)]();_0x30db63[_0x5dc79d(0x6f)](),_0x30db63[_0x5dc79d(0x8f)](_0x509f13),_0x10338f[_0x5dc79d(0x8d)](_0x5dc79d(0xaf)),_0x54d9d2[_0x5dc79d(0x73)]();}}}function _0xfa1e(_0x1cf0c1,_0x5591d0){const _0x1db1b2=_0x1db1();return _0xfa1e=function(_0xfa1e32,_0x16617e){_0xfa1e32=_0xfa1e32-0x66;let _0x283d48=_0x1db1b2[_0xfa1e32];return _0x283d48;},_0xfa1e(_0x1cf0c1,_0x5591d0);}export class ContentFieldView extends _0x6416f3{constructor(_0x14790b,_0x5d15ec=''){const _0x357e14=_0x12052d;super(_0x14790b),this[_0x357e14(0x81)]=this[_0x357e14(0x7c)](),this[_0x357e14(0xb6)]({'tag':_0x357e14(0x8e),'attributes':{'class':['ck',_0x357e14(0xac),_0x5d15ec,_0x357e14(0xa8),_0x357e14(0xaa)]}});}[_0x12052d(0xa7)](_0x2dcc76){const _0x2e7419=_0x12052d;this[_0x2e7419(0x68)][_0x2e7419(0x74)]=_0x2dcc76;}[_0x12052d(0x6b)](){const _0x373602=_0x12052d;this[_0x373602(0x68)][_0x373602(0xb4)](this[_0x373602(0x81)][_0x373602(0x68)]);}[_0x12052d(0x7c)](){const _0x2b46ea=_0x12052d,_0x24d862=new _0x6416f3(),_0x2b2f15=this[_0x2b46ea(0x7a)],_0x306215=new _0x5e52b0();return _0x306215[_0x2b46ea(0xa1)]=!0x0,_0x24d862[_0x2b46ea(0xb6)]({'tag':_0x2b46ea(0x8e),'attributes':{'class':['ck',_0x2b46ea(0x82)]},'children':[_0x306215,{'text':_0x99962c(_0x2b2f15,_0x2b46ea(0xa5))}]}),_0x24d862[_0x2b46ea(0xae)](),_0x24d862;}}
23
+ const _0x45e58a=_0x13e9;(function(_0x49359e,_0x530585){const _0x1228c8=_0x13e9,_0x3957cf=_0x49359e();while(!![]){try{const _0x45244f=parseInt(_0x1228c8(0x1e5))/0x1+parseInt(_0x1228c8(0x199))/0x2*(-parseInt(_0x1228c8(0x1bc))/0x3)+parseInt(_0x1228c8(0x1b4))/0x4*(parseInt(_0x1228c8(0x1b2))/0x5)+parseInt(_0x1228c8(0x19f))/0x6+parseInt(_0x1228c8(0x1a9))/0x7*(parseInt(_0x1228c8(0x1c3))/0x8)+-parseInt(_0x1228c8(0x1ce))/0x9*(parseInt(_0x1228c8(0x1dd))/0xa)+-parseInt(_0x1228c8(0x1cc))/0xb;if(_0x45244f===_0x530585)break;else _0x3957cf['push'](_0x3957cf['shift']());}catch(_0x4bbbe8){_0x3957cf['push'](_0x3957cf['shift']());}}}(_0x31a9,0xd8ac9));import{global as _0x27299d}from'ckeditor5/src/utils.js';function _0x31a9(){const _0x3b400b=['createElement','appendChild','31345820VIYsGR','locale','18hhjAiD','ck-hidden','change:value','text/html','removeAllRanges','class','ck-ai-form__copy-button','isProcessing','bind','div','ck-content','listenTo','execute','ck-ai-form__copy-button-wrapper','scrollHeight','1782230AxvnTA','bindTemplate','render','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','innerHTML','set','_createCopyButton','1194930DmcHLp','setContent','smooth','setStartAfter','remove','clipboard','scrollTo','ck-reset_all-excluded','<span>[</span>','ck-ai-form__content-area','2dYJaWk','style','body','wheel','_createLoader','lastElementChild','7188948kYSQIf','-9999px','Copy','change:isProcessing','mousedown','textContent','icon','focus','ck-ai-form__loader','copy','7681814EwDmJW','left','createRange','setEndBefore','isEnabled','value','ClipboardItem','ck-ai-form__content-field','ck-ai-form__content-area--processing','539145XdGvAn','position','32fbdleo','<span>]</span>','isVisible','ck-ai-form__content-area-wrapper','querySelector','appendLoader','firstElementChild','loaderView','778677LHlVcr','addRange','getSelection','write','text/plain','setTemplate','absolute','8pujboS','element','_copyHTMLToClipboard','execCommand','copyButtonView','AI\x20is\x20writing...','contentFieldView'];_0x31a9=function(){return _0x3b400b;};return _0x31a9();}function _0x13e9(_0x46e202,_0x14d747){const _0x31a996=_0x31a9();return _0x13e9=function(_0x13e9c4,_0x56c705){_0x13e9c4=_0x13e9c4-0x193;let _0x45a68f=_0x31a996[_0x13e9c4];return _0x45a68f;},_0x13e9(_0x46e202,_0x14d747);}import{View as _0x323c72,ButtonView as _0x390579,SpinnerView as _0x291681}from'ckeditor5/src/ui.js';import{IconCheck as _0x553cf9,IconCopy as _0x59d212}from'ckeditor5/src/icons.js';import{getTranslation as _0x30d392}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x323c72{[_0x45e58a(0x1c9)];[_0x45e58a(0x1c7)];constructor(_0x5d0c31,_0x4f6051=''){const _0x1699a2=_0x45e58a;super(_0x5d0c31),this[_0x1699a2(0x1e3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x434fb2=this[_0x1699a2(0x1de)];this[_0x1699a2(0x1c9)]=new ContentFieldView(_0x5d0c31,_0x4f6051),this[_0x1699a2(0x1c7)]=this[_0x1699a2(0x1e4)](),this[_0x1699a2(0x1c1)]({'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x1b7),_0x434fb2['if'](_0x1699a2(0x1b6),_0x1699a2(0x1cf),_0x29ae01=>!_0x29ae01)],'tabindex':'-1'},'children':[{'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x198),_0x434fb2['if'](_0x1699a2(0x1d5),_0x1699a2(0x1b1))]},'children':[this[_0x1699a2(0x1c9)],{'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x1db)]},'children':[this[_0x1699a2(0x1c7)]]}]}]});}[_0x45e58a(0x1df)](){const _0x25ec42=_0x45e58a;super[_0x25ec42(0x1df)](),this[_0x25ec42(0x1ae)]&&this[_0x25ec42(0x1c9)][_0x25ec42(0x1e6)](this[_0x25ec42(0x1ae)]);let _0x226412=!0x1;this['on'](_0x25ec42(0x1d0),(_0x1fd2e6,_0x597bc1,_0x447c47)=>{const _0x254e02=_0x25ec42,_0x4ba64a=!this[_0x254e02(0x1c9)][_0x254e02(0x1c4)][_0x254e02(0x1b8)](_0x254e02(0x1e1));this[_0x254e02(0x1c9)][_0x254e02(0x1e6)](_0x447c47),this[_0x254e02(0x1d5)]&&_0x4ba64a&&!_0x226412&&this[_0x254e02(0x1c4)][_0x254e02(0x195)]({'top':this[_0x254e02(0x1c4)][_0x254e02(0x1dc)],'behavior':_0x254e02(0x1e7)});}),this['on'](_0x25ec42(0x1a2),(_0x257c38,_0x424a68,_0x343542)=>{const _0x19d24b=_0x25ec42;_0x226412=!0x1,_0x343542?(this[_0x19d24b(0x1ae)]=null,this[_0x19d24b(0x1c9)][_0x19d24b(0x1b9)]()):this[_0x19d24b(0x1ae)]||this[_0x19d24b(0x1c9)][_0x19d24b(0x1e6)]('');}),this[_0x25ec42(0x1d9)](this[_0x25ec42(0x1c4)],_0x25ec42(0x19c),()=>{_0x226412=!0x0;}),this[_0x25ec42(0x1d9)](this[_0x25ec42(0x1c4)],_0x25ec42(0x1a3),()=>{_0x226412=!0x0;});}[_0x45e58a(0x1a6)](){const _0x46111f=_0x45e58a;this[_0x46111f(0x1c4)][_0x46111f(0x1a6)]();}[_0x45e58a(0x1e4)](){const _0xbc8534=_0x45e58a,_0x20812c=this[_0xbc8534(0x1cd)],_0x3470f9=new _0x390579(this[_0xbc8534(0x1cd)]),_0x2107de=_0xbc8534(0x1d4);return _0x3470f9[_0xbc8534(0x1e3)]({'label':_0x30d392(_0x20812c,_0xbc8534(0x1a1)),'icon':_0x59d212,'class':_0x2107de,'tooltip':!0x0}),_0x3470f9[_0xbc8534(0x1d6)](_0xbc8534(0x1b6))['to'](this,_0xbc8534(0x1ae),_0xd0aaa5=>!!_0xd0aaa5),_0x3470f9[_0xbc8534(0x1d6)](_0xbc8534(0x1ad))['to'](this,_0xbc8534(0x1d5),_0x219184=>!_0x219184),_0x3470f9['on'](_0xbc8534(0x1da),()=>{const _0x4c215f=_0xbc8534;this[_0x4c215f(0x1c5)](this[_0x4c215f(0x1c9)][_0x4c215f(0x1c4)]),_0x3470f9[_0x4c215f(0x1a5)]=_0x553cf9,_0x3470f9[_0x4c215f(0x1d3)]=_0x2107de+_0x4c215f(0x1e0),this[_0x4c215f(0x1a6)](),setTimeout(()=>{const _0x50021e=_0x4c215f;_0x3470f9[_0x50021e(0x1a5)]=_0x59d212,_0x3470f9[_0x50021e(0x1d3)]=_0x2107de;},0x3e8);}),_0x3470f9;}[_0x45e58a(0x1c5)](_0x19d6f0){const _0x1694ac=_0x45e58a,{window:_0x339952,document:_0x50bc33}=_0x27299d;if(_0x339952[_0x1694ac(0x1af)]){const {Blob:_0x3e12f,ClipboardItem:_0x8acc5f}=_0x339952,_0xc03c25=[new _0x8acc5f({'text/html':new _0x3e12f([_0x19d6f0[_0x1694ac(0x1e2)]],{'type':_0x1694ac(0x1d1)}),'text/plain':new _0x3e12f([_0x19d6f0[_0x1694ac(0x1a4)]||''],{'type':_0x1694ac(0x1c0)})})];navigator[_0x1694ac(0x194)][_0x1694ac(0x1bf)](_0xc03c25);}else{const _0x4ba167=_0x50bc33[_0x1694ac(0x1ca)](_0x1694ac(0x1d7));_0x4ba167[_0x1694ac(0x19a)][_0x1694ac(0x1b3)]=_0x1694ac(0x1c2),_0x4ba167[_0x1694ac(0x19a)][_0x1694ac(0x1aa)]=_0x1694ac(0x1a0),_0x4ba167[_0x1694ac(0x1e2)]=_0x1694ac(0x197)+_0x19d6f0[_0x1694ac(0x1e2)]+_0x1694ac(0x1b5),_0x50bc33[_0x1694ac(0x19b)][_0x1694ac(0x1cb)](_0x4ba167);const _0x52bf2d=_0x50bc33[_0x1694ac(0x1ab)]();_0x52bf2d[_0x1694ac(0x1e8)](_0x4ba167[_0x1694ac(0x1ba)]),_0x52bf2d[_0x1694ac(0x1ac)](_0x4ba167[_0x1694ac(0x19e)]);const _0x2d331b=_0x339952[_0x1694ac(0x1be)]();_0x2d331b[_0x1694ac(0x1d2)](),_0x2d331b[_0x1694ac(0x1bd)](_0x52bf2d),_0x50bc33[_0x1694ac(0x1c6)](_0x1694ac(0x1a8)),_0x4ba167[_0x1694ac(0x193)]();}}}export class ContentFieldView extends _0x323c72{constructor(_0x15fcab,_0x358563=''){const _0x364ea3=_0x45e58a;super(_0x15fcab),this[_0x364ea3(0x1bb)]=this[_0x364ea3(0x19d)](),this[_0x364ea3(0x1c1)]({'tag':_0x364ea3(0x1d7),'attributes':{'class':['ck',_0x364ea3(0x1d8),_0x358563,_0x364ea3(0x196),_0x364ea3(0x1b0)]}});}[_0x45e58a(0x1e6)](_0x30e20e){const _0x33e095=_0x45e58a;this[_0x33e095(0x1c4)][_0x33e095(0x1e2)]=_0x30e20e;}[_0x45e58a(0x1b9)](){const _0x4871b6=_0x45e58a;this[_0x4871b6(0x1c4)][_0x4871b6(0x1cb)](this[_0x4871b6(0x1bb)][_0x4871b6(0x1c4)]);}[_0x45e58a(0x19d)](){const _0x3d2ffd=_0x45e58a,_0x3b8059=new _0x323c72(),_0x274f5d=this[_0x3d2ffd(0x1cd)],_0x52399f=new _0x291681();return _0x52399f[_0x3d2ffd(0x1b6)]=!0x0,_0x3b8059[_0x3d2ffd(0x1c1)]({'tag':_0x3d2ffd(0x1d7),'attributes':{'class':['ck',_0x3d2ffd(0x1a7)]},'children':[_0x52399f,{'text':_0x30d392(_0x274f5d,_0x3d2ffd(0x1c8))}]}),_0x3b8059[_0x3d2ffd(0x1df)](),_0x3b8059;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2ce69c,_0x264b39){const _0x39fa25=_0x51e4,_0x2aea95=_0x2ce69c();while(!![]){try{const _0x163903=-parseInt(_0x39fa25(0x127))/0x1+-parseInt(_0x39fa25(0x120))/0x2*(parseInt(_0x39fa25(0x128))/0x3)+parseInt(_0x39fa25(0x12a))/0x4+-parseInt(_0x39fa25(0x11f))/0x5+parseInt(_0x39fa25(0x11b))/0x6*(-parseInt(_0x39fa25(0x11d))/0x7)+-parseInt(_0x39fa25(0x125))/0x8+-parseInt(_0x39fa25(0x129))/0x9*(-parseInt(_0x39fa25(0x124))/0xa);if(_0x163903===_0x264b39)break;else _0x2aea95['push'](_0x2aea95['shift']());}catch(_0x3a9097){_0x2aea95['push'](_0x2aea95['shift']());}}}(_0x1ed2,0x445cf));import{IconError as _0x3c504f}from'ckeditor5/src/icons.js';import{View as _0x12f616,IconView as _0x50b3a3}from'ckeditor5/src/ui.js';function _0x1ed2(){const _0x26a7f3=['3590464yJuMuD','ck-ai-form__error','407107YNhgyq','79896VdGJUl','9fceNvm','2130776pFQnhZ','text','30GQeodi','setTemplate','92519NnRWzu','content','2238840hPGFGD','30ZFAKfc','div','set','bindTemplate','15165690qXJJpq'];_0x1ed2=function(){return _0x26a7f3;};return _0x1ed2();}function _0x51e4(_0x5926bc,_0x5434c1){const _0x1ed20e=_0x1ed2();return _0x51e4=function(_0x51e4fc,_0xacf7dc){_0x51e4fc=_0x51e4fc-0x11b;let _0x5566d1=_0x1ed20e[_0x51e4fc];return _0x5566d1;},_0x51e4(_0x5926bc,_0x5434c1);}export class AIFormErrorView extends _0x12f616{constructor(_0x1f3d52,_0x1f11c2=''){const _0x270622=_0x51e4;super(_0x1f3d52);const _0xe0e09a=new _0x50b3a3(),_0x4bcfcd=this[_0x270622(0x123)];this[_0x270622(0x122)](_0x270622(0x12b),_0x1f11c2),_0xe0e09a[_0x270622(0x11e)]=_0x3c504f,this[_0x270622(0x11c)]({'tag':_0x270622(0x121),'attributes':{'class':['ck',_0x270622(0x126)]},'children':[_0xe0e09a,{'text':_0x4bcfcd['to'](_0x270622(0x12b))}]});}}
23
+ (function(_0x1c120a,_0x5b7e5a){const _0x2a9fab=_0x443e,_0x13c9c3=_0x1c120a();while(!![]){try{const _0x300c79=-parseInt(_0x2a9fab(0x179))/0x1*(parseInt(_0x2a9fab(0x172))/0x2)+-parseInt(_0x2a9fab(0x178))/0x3+-parseInt(_0x2a9fab(0x17d))/0x4*(-parseInt(_0x2a9fab(0x177))/0x5)+parseInt(_0x2a9fab(0x17f))/0x6*(-parseInt(_0x2a9fab(0x175))/0x7)+parseInt(_0x2a9fab(0x17e))/0x8+parseInt(_0x2a9fab(0x171))/0x9+parseInt(_0x2a9fab(0x174))/0xa;if(_0x300c79===_0x5b7e5a)break;else _0x13c9c3['push'](_0x13c9c3['shift']());}catch(_0x1d5dcc){_0x13c9c3['push'](_0x13c9c3['shift']());}}}(_0x42ac,0x5d35e));import{IconError as _0x361f41}from'ckeditor5/src/icons.js';import{View as _0x51c941,IconView as _0x5bb4be}from'ckeditor5/src/ui.js';function _0x443e(_0x46ec9d,_0x8e9135){const _0x42ac3c=_0x42ac();return _0x443e=function(_0x443e60,_0xf8448b){_0x443e60=_0x443e60-0x171;let _0x1610c8=_0x42ac3c[_0x443e60];return _0x1610c8;},_0x443e(_0x46ec9d,_0x8e9135);}function _0x42ac(){const _0x5e1ce5=['text','2181560ARKGBB','1243833ywxJlK','13556JmbsEJ','set','bindTemplate','setTemplate','4lUvVCO','5282696kMTYQs','4638ixTULC','ck-ai-form__error','content','2955564TsUMwb','32UMDIiN','div','2244310tBliYq','5761UUKGXr'];_0x42ac=function(){return _0x5e1ce5;};return _0x42ac();}export class AIFormErrorView extends _0x51c941{constructor(_0x25d807,_0x482a68=''){const _0x1aec68=_0x443e;super(_0x25d807);const _0x377eac=new _0x5bb4be(),_0x1e8a7a=this[_0x1aec68(0x17b)];this[_0x1aec68(0x17a)](_0x1aec68(0x176),_0x482a68),_0x377eac[_0x1aec68(0x181)]=_0x361f41,this[_0x1aec68(0x17c)]({'tag':_0x1aec68(0x173),'attributes':{'class':['ck',_0x1aec68(0x180)]},'children':[_0x377eac,{'text':_0x1e8a7a['to'](_0x1aec68(0x176))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xca58b6=_0x4c05;(function(_0xec21f2,_0x4c44c1){const _0x546084=_0x4c05,_0x2b2def=_0xec21f2();while(!![]){try{const _0x1a8bca=parseInt(_0x546084(0x152))/0x1*(parseInt(_0x546084(0x147))/0x2)+parseInt(_0x546084(0x15e))/0x3*(parseInt(_0x546084(0x140))/0x4)+-parseInt(_0x546084(0x148))/0x5*(parseInt(_0x546084(0x135))/0x6)+-parseInt(_0x546084(0x157))/0x7*(-parseInt(_0x546084(0x159))/0x8)+parseInt(_0x546084(0x150))/0x9+-parseInt(_0x546084(0x164))/0xa+-parseInt(_0x546084(0x142))/0xb;if(_0x1a8bca===_0x4c44c1)break;else _0x2b2def['push'](_0x2b2def['shift']());}catch(_0x13e043){_0x2b2def['push'](_0x2b2def['shift']());}}}(_0x2c47,0x1d980));function _0x2c47(){const _0x5245a2=['filteredView','focus','fire','render','showHistoryButtonView','_createSubmitButton','add','uiLanguageDirection','focusCycler','120IJcrQp','children','execute','rtl','focusLast','fieldView','bind','keystrokes','Submit','queryView','submit','4pMWyJD','History','3281267VEcsOU','ck-ai-form__submit','isEnabled','requestAnimationFrame','set','2fNeAmD','2200KJltBj','isVisible','enter','excludeScrollbarsAndBorders','_createShowHistoryButton','ck-ai-form__toggle-history','isEmpty','isOn','2022075sxhvHH','focusFirst','85162cjeCGH','window','update','resultsView','maxRows','336189TkLoIF','left','24aeJsPb','fieldWrapperChildren','submitButtonView','minRows','right','142866AnYrPU','value','width','style','element','target','732270CPvTmS','locale','focusableChildren'];_0x2c47=function(){return _0x5245a2;};return _0x2c47();}import{Rect as _0x39ba8b,global as _0x3b69b0,isVisible as _0x25d8db}from'ckeditor5/src/utils.js';function _0x4c05(_0x132907,_0x528175){const _0x2c47d7=_0x2c47();return _0x4c05=function(_0x4c0565,_0x2b5865){_0x4c0565=_0x4c0565-0x12f;let _0x4cef2f=_0x2c47d7[_0x4c0565];return _0x4cef2f;},_0x4c05(_0x132907,_0x528175);}import{IconAIHistory as _0xa81050,IconSubmit as _0x555957}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x197050,ButtonView as _0x490ede}from'ckeditor5/src/ui.js';import{getTranslation as _0x3bbbe6}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x197050{[_0xca58b6(0x15b)];[_0xca58b6(0x130)];constructor(_0x57f4d5,_0x9d5ccf){const _0x419e74=_0xca58b6;super(_0x57f4d5,_0x9d5ccf),this[_0x419e74(0x13e)][_0x419e74(0x13a)][_0x419e74(0x15c)]=0x1,this[_0x419e74(0x13e)][_0x419e74(0x13a)][_0x419e74(0x156)]=0x3,this[_0x419e74(0x15b)]=this[_0x419e74(0x131)](),this[_0x419e74(0x130)]=this[_0x419e74(0x14c)](),this[_0x419e74(0x166)][_0x419e74(0x132)](this[_0x419e74(0x130)],0x1),this[_0x419e74(0x166)][_0x419e74(0x132)](this[_0x419e74(0x15b)]);}[_0xca58b6(0x12f)](){const _0x482494=_0xca58b6;super[_0x482494(0x12f)](),this[_0x482494(0x13e)][_0x482494(0x15a)][_0x482494(0x132)](this[_0x482494(0x130)]),this[_0x482494(0x136)][_0x482494(0x132)](this[_0x482494(0x15b)]),this[_0x482494(0x13c)][_0x482494(0x146)](_0x482494(0x14a),(_0x513dd2,_0x22a509)=>{const _0x47fa3a=_0x482494;_0x513dd2[_0x47fa3a(0x163)]==this[_0x47fa3a(0x13e)][_0x47fa3a(0x13a)][_0x47fa3a(0x162)]&&(this[_0x47fa3a(0x13f)](),_0x22a509());});}[_0xca58b6(0x131)](){const _0x3b3942=_0xca58b6,_0x50e7f7=new _0x490ede(this[_0x3b3942(0x165)]),_0x49ba77=this[_0x3b3942(0x165)];return _0x50e7f7[_0x3b3942(0x146)]({'icon':_0x555957,'label':_0x3bbbe6(_0x49ba77,_0x3b3942(0x13d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3b3942(0x143)}),_0x50e7f7['on'](_0x3b3942(0x137),()=>{const _0x548f99=_0x3b3942;this[_0x548f99(0x13f)]();}),_0x50e7f7[_0x3b3942(0x13b)](_0x3b3942(0x144))['to'](this[_0x3b3942(0x13e)][_0x3b3942(0x13a)],_0x3b3942(0x14e),this,_0x3b3942(0x144),(_0x570d6d,_0x192e2f)=>!_0x570d6d&&_0x192e2f),_0x50e7f7;}[_0xca58b6(0x14c)](){const _0x47895b=_0xca58b6,_0x2e1ea9=new _0x490ede(this[_0x47895b(0x165)]),_0x236c2b=this[_0x47895b(0x155)],_0x2836b6=this[_0x47895b(0x165)];_0x2e1ea9[_0x47895b(0x146)]({'label':_0x3bbbe6(_0x2836b6,_0x47895b(0x141)),'withText':!0x1,'icon':_0xa81050,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x47895b(0x14d)}),_0x2e1ea9[_0x47895b(0x13b)](_0x47895b(0x14f))['to'](_0x236c2b,_0x47895b(0x149)),_0x2e1ea9[_0x47895b(0x13b)](_0x47895b(0x144))['to'](this,_0x47895b(0x144)),_0x2e1ea9['on'](_0x47895b(0x137),()=>{const _0x249039=_0x47895b;_0x236c2b[_0x249039(0x149)]=!_0x236c2b[_0x249039(0x149)],_0x236c2b[_0x249039(0x149)]?this[_0x249039(0x167)][_0x249039(0x168)]():this[_0x249039(0x168)]();});const _0x19c0bf=()=>{const _0x25b900=_0x47895b;_0x3b69b0[_0x25b900(0x153)][_0x25b900(0x145)](()=>{const _0x23741a=_0x25b900;if(_0x25d8db(this[_0x23741a(0x162)])){const _0x237c3f=new _0x39ba8b(this[_0x23741a(0x13e)][_0x23741a(0x13a)][_0x23741a(0x162)]),_0x1681b7=_0x237c3f[_0x23741a(0x160)],_0x10c8c8=_0x23741a(0x138)===_0x2836b6[_0x23741a(0x133)]?_0x23741a(0x158):_0x23741a(0x15d);_0x237c3f[_0x23741a(0x14b)](),_0x2e1ea9[_0x23741a(0x162)][_0x23741a(0x161)][_0x10c8c8]=_0x1681b7-_0x237c3f[_0x23741a(0x160)]+0x1+'px';}});};return this[_0x47895b(0x13e)][_0x47895b(0x13a)]['on'](_0x47895b(0x154),_0x19c0bf),this['on'](_0x47895b(0x12f),_0x19c0bf),_0x2e1ea9;}[_0xca58b6(0x13f)](){const _0xb6deb2=_0xca58b6,_0x3014b0=this[_0xb6deb2(0x13e)][_0xb6deb2(0x13a)][_0xb6deb2(0x162)][_0xb6deb2(0x15f)];this[_0xb6deb2(0x169)](_0xb6deb2(0x13f),_0x3014b0);}[_0xca58b6(0x168)](_0x3aee4d){const _0x10ad2f=_0xca58b6;-0x1===_0x3aee4d?this[_0x10ad2f(0x134)][_0x10ad2f(0x139)]():this[_0x10ad2f(0x134)][_0x10ad2f(0x151)]();}}
23
+ const _0x3a1f45=_0x36b9;(function(_0x505f47,_0x4448b1){const _0x2758e9=_0x36b9,_0x173578=_0x505f47();while(!![]){try{const _0x4dd42c=parseInt(_0x2758e9(0x1ac))/0x1+parseInt(_0x2758e9(0x1ca))/0x2+parseInt(_0x2758e9(0x1e0))/0x3*(-parseInt(_0x2758e9(0x1e2))/0x4)+parseInt(_0x2758e9(0x1c8))/0x5+parseInt(_0x2758e9(0x1db))/0x6+-parseInt(_0x2758e9(0x1b0))/0x7+-parseInt(_0x2758e9(0x1be))/0x8*(parseInt(_0x2758e9(0x1cf))/0x9);if(_0x4dd42c===_0x4448b1)break;else _0x173578['push'](_0x173578['shift']());}catch(_0x596d48){_0x173578['push'](_0x173578['shift']());}}}(_0x226f,0xc7a6c));function _0x36b9(_0x3415b6,_0x50d231){const _0x226fe5=_0x226f();return _0x36b9=function(_0x36b91f,_0x35e681){_0x36b91f=_0x36b91f-0x1ab;let _0x5c21e8=_0x226fe5[_0x36b91f];return _0x5c21e8;},_0x36b9(_0x3415b6,_0x50d231);}function _0x226f(){const _0x162446=['locale','excludeScrollbarsAndBorders','keystrokes','window','6DrBzbO','style','1191192hMtAjS','focusableChildren','submitButtonView','1045909PBEjvx','_createSubmitButton','minRows','maxRows','1427622FSxLhs','set','width','target','value','enter','bind','focus','add','Submit','fire','isEmpty','submit','ck-ai-form__toggle-history','4504904mMzAXn','focusCycler','left','_createShowHistoryButton','render','isOn','isVisible','ck-ai-form__submit','filteredView','right','1768945QpjUwA','focusFirst','751648gjarms','execute','resultsView','element','rtl','9FFhPBj','focusLast','children','fieldWrapperChildren','isEnabled','update','showHistoryButtonView','queryView','fieldView','History','uiLanguageDirection','requestAnimationFrame','2429430rgpSdH'];_0x226f=function(){return _0x162446;};return _0x226f();}import{Rect as _0x215334,global as _0x3e5112,isVisible as _0x3a4b86}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1ccb47,IconSubmit as _0x5b6210}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2edbb5,ButtonView as _0x520645}from'ckeditor5/src/ui.js';import{getTranslation as _0x659b2d}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2edbb5{[_0x3a1f45(0x1ab)];[_0x3a1f45(0x1d5)];constructor(_0x4c76af,_0x541cd7){const _0xab5962=_0x3a1f45;super(_0x4c76af,_0x541cd7),this[_0xab5962(0x1d6)][_0xab5962(0x1d7)][_0xab5962(0x1ae)]=0x1,this[_0xab5962(0x1d6)][_0xab5962(0x1d7)][_0xab5962(0x1af)]=0x3,this[_0xab5962(0x1ab)]=this[_0xab5962(0x1ad)](),this[_0xab5962(0x1d5)]=this[_0xab5962(0x1c1)](),this[_0xab5962(0x1e3)][_0xab5962(0x1b8)](this[_0xab5962(0x1d5)],0x1),this[_0xab5962(0x1e3)][_0xab5962(0x1b8)](this[_0xab5962(0x1ab)]);}[_0x3a1f45(0x1c2)](){const _0x49fdcd=_0x3a1f45;super[_0x49fdcd(0x1c2)](),this[_0x49fdcd(0x1d6)][_0x49fdcd(0x1d2)][_0x49fdcd(0x1b8)](this[_0x49fdcd(0x1d5)]),this[_0x49fdcd(0x1d1)][_0x49fdcd(0x1b8)](this[_0x49fdcd(0x1ab)]),this[_0x49fdcd(0x1de)][_0x49fdcd(0x1b1)](_0x49fdcd(0x1b5),(_0x11cb18,_0x206784)=>{const _0x2230e9=_0x49fdcd;_0x11cb18[_0x2230e9(0x1b3)]==this[_0x2230e9(0x1d6)][_0x2230e9(0x1d7)][_0x2230e9(0x1cd)]&&(this[_0x2230e9(0x1bc)](),_0x206784());});}[_0x3a1f45(0x1ad)](){const _0xbc0cd7=_0x3a1f45,_0x42e78b=new _0x520645(this[_0xbc0cd7(0x1dc)]),_0x4e49a3=this[_0xbc0cd7(0x1dc)];return _0x42e78b[_0xbc0cd7(0x1b1)]({'icon':_0x5b6210,'label':_0x659b2d(_0x4e49a3,_0xbc0cd7(0x1b9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xbc0cd7(0x1c5)}),_0x42e78b['on'](_0xbc0cd7(0x1cb),()=>{const _0x160c74=_0xbc0cd7;this[_0x160c74(0x1bc)]();}),_0x42e78b[_0xbc0cd7(0x1b6)](_0xbc0cd7(0x1d3))['to'](this[_0xbc0cd7(0x1d6)][_0xbc0cd7(0x1d7)],_0xbc0cd7(0x1bb),this,_0xbc0cd7(0x1d3),(_0x3bfa6d,_0x1a4d80)=>!_0x3bfa6d&&_0x1a4d80),_0x42e78b;}[_0x3a1f45(0x1c1)](){const _0x2ff0c2=_0x3a1f45,_0x2db552=new _0x520645(this[_0x2ff0c2(0x1dc)]),_0x4af59d=this[_0x2ff0c2(0x1cc)],_0x1e14f6=this[_0x2ff0c2(0x1dc)];_0x2db552[_0x2ff0c2(0x1b1)]({'label':_0x659b2d(_0x1e14f6,_0x2ff0c2(0x1d8)),'withText':!0x1,'icon':_0x1ccb47,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2ff0c2(0x1bd)}),_0x2db552[_0x2ff0c2(0x1b6)](_0x2ff0c2(0x1c3))['to'](_0x4af59d,_0x2ff0c2(0x1c4)),_0x2db552[_0x2ff0c2(0x1b6)](_0x2ff0c2(0x1d3))['to'](this,_0x2ff0c2(0x1d3)),_0x2db552['on'](_0x2ff0c2(0x1cb),()=>{const _0x3c1706=_0x2ff0c2;_0x4af59d[_0x3c1706(0x1c4)]=!_0x4af59d[_0x3c1706(0x1c4)],_0x4af59d[_0x3c1706(0x1c4)]?this[_0x3c1706(0x1c6)][_0x3c1706(0x1b7)]():this[_0x3c1706(0x1b7)]();});const _0x335b96=()=>{const _0x5a8458=_0x2ff0c2;_0x3e5112[_0x5a8458(0x1df)][_0x5a8458(0x1da)](()=>{const _0xaf5740=_0x5a8458;if(_0x3a4b86(this[_0xaf5740(0x1cd)])){const _0x2b5da3=new _0x215334(this[_0xaf5740(0x1d6)][_0xaf5740(0x1d7)][_0xaf5740(0x1cd)]),_0x2394f8=_0x2b5da3[_0xaf5740(0x1b2)],_0x374d2d=_0xaf5740(0x1ce)===_0x1e14f6[_0xaf5740(0x1d9)]?_0xaf5740(0x1c0):_0xaf5740(0x1c7);_0x2b5da3[_0xaf5740(0x1dd)](),_0x2db552[_0xaf5740(0x1cd)][_0xaf5740(0x1e1)][_0x374d2d]=_0x2394f8-_0x2b5da3[_0xaf5740(0x1b2)]+0x1+'px';}});};return this[_0x2ff0c2(0x1d6)][_0x2ff0c2(0x1d7)]['on'](_0x2ff0c2(0x1d4),_0x335b96),this['on'](_0x2ff0c2(0x1c2),_0x335b96),_0x2db552;}[_0x3a1f45(0x1bc)](){const _0x7ca44e=_0x3a1f45,_0x489db8=this[_0x7ca44e(0x1d6)][_0x7ca44e(0x1d7)][_0x7ca44e(0x1cd)][_0x7ca44e(0x1b4)];this[_0x7ca44e(0x1ba)](_0x7ca44e(0x1bc),_0x489db8);}[_0x3a1f45(0x1b7)](_0x2a6ff7){const _0x329eb3=_0x3a1f45;-0x1===_0x2a6ff7?this[_0x329eb3(0x1bf)][_0x329eb3(0x1d0)]():this[_0x329eb3(0x1bf)][_0x329eb3(0x1c9)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x559b89=_0xb430;(function(_0x519eb0,_0x16a70b){const _0x3a637a=_0xb430,_0x5ccc55=_0x519eb0();while(!![]){try{const _0x5bb119=-parseInt(_0x3a637a(0x1da))/0x1*(parseInt(_0x3a637a(0x1e5))/0x2)+parseInt(_0x3a637a(0x1db))/0x3*(parseInt(_0x3a637a(0x1dd))/0x4)+parseInt(_0x3a637a(0x1e3))/0x5+parseInt(_0x3a637a(0x1e7))/0x6+parseInt(_0x3a637a(0x1fa))/0x7+parseInt(_0x3a637a(0x1ea))/0x8+parseInt(_0x3a637a(0x1f9))/0x9*(-parseInt(_0x3a637a(0x1ee))/0xa);if(_0x5bb119===_0x16a70b)break;else _0x5ccc55['push'](_0x5ccc55['shift']());}catch(_0x1b5b44){_0x5ccc55['push'](_0x5ccc55['shift']());}}}(_0x1786,0x6ebde));function _0xb430(_0x396faa,_0x37feca){const _0x17862d=_0x1786();return _0xb430=function(_0xb43004,_0x26d71d){_0xb43004=_0xb43004-0x1d6;let _0x9ba85b=_0x17862d[_0xb43004];return _0x9ba85b;},_0xb430(_0x396faa,_0x37feca);}function _0x1786(){const _0x48ed47=['tryAgainButton','4czvajG','AI_','locale','items','REPLACE','replace','4327065xrWabH','mainAction','4LfGxVX','insertButton','3800790jtnezB','bind','insert','2504488cXoCAU','isVisible','stopButton','Try\x20again','80UZdtGj','label','ck-hidden','ck-button-action','addMany','toUpperCase','_createButton','extendTemplate','Insert\x20below','replaceButton','_CONTENT','2955969CKumeK','5310662ltmXrz','ck-ai-form__toolbar','Stop','bindTemplate','set','69754tJZnWv','1950087TwzPDo'];_0x1786=function(){return _0x48ed47;};return _0x1786();}import{ToolbarView as _0xf71a63,ButtonView as _0x112ffd}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a2173}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x559b89(0x1e2),'INSERT':_0x559b89(0x1e9)};export class AIFormToolbarView extends _0xf71a63{constructor(_0x48d382){const _0x4cbd4b=_0x559b89;super(_0x48d382),this[_0x4cbd4b(0x1d9)](_0x4cbd4b(0x1eb),!0x1),this[_0x4cbd4b(0x1d9)](_0x4cbd4b(0x1e4),AIFormToolbarViewMainActionLabel[_0x4cbd4b(0x1e1)]),this[_0x4cbd4b(0x1f7)]=this[_0x4cbd4b(0x1f4)]('',_0x4cbd4b(0x1f1)),this[_0x4cbd4b(0x1f7)][_0x4cbd4b(0x1e8)](_0x4cbd4b(0x1ef))['to'](this,_0x4cbd4b(0x1e4),_0x22d648=>_0x5a2173(_0x48d382,_0x4cbd4b(0x1de)+_0x22d648[_0x4cbd4b(0x1f3)]()+_0x4cbd4b(0x1f8))),this[_0x4cbd4b(0x1e6)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1f6))),this[_0x4cbd4b(0x1dc)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1ed))),this[_0x4cbd4b(0x1ec)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1d7)));const _0x175e88=this[_0x4cbd4b(0x1d8)];this[_0x4cbd4b(0x1f5)]({'attributes':{'class':[_0x4cbd4b(0x1d6),_0x175e88['if'](_0x4cbd4b(0x1eb),_0x4cbd4b(0x1f0),_0x2b7b2=>!_0x2b7b2)]}}),this[_0x4cbd4b(0x1e0)][_0x4cbd4b(0x1f2)]([this[_0x4cbd4b(0x1f7)],this[_0x4cbd4b(0x1e6)],this[_0x4cbd4b(0x1dc)],this[_0x4cbd4b(0x1ec)]]);}[_0x559b89(0x1f4)](_0x247755,_0x213b5f){const _0xeb433=_0x559b89,_0x5a53e6=new _0x112ffd(this[_0xeb433(0x1df)]);return _0x5a53e6[_0xeb433(0x1d9)]({'label':_0x247755,'class':_0x213b5f||'','isVisible':!0x0,'withText':!0x0}),_0x5a53e6;}}
23
+ const _0x122d92=_0x576a;function _0x576a(_0x40d39d,_0x1a9b02){const _0x2c48b1=_0x2c48();return _0x576a=function(_0x576ad9,_0x24544b){_0x576ad9=_0x576ad9-0x1c0;let _0x3fa052=_0x2c48b1[_0x576ad9];return _0x3fa052;},_0x576a(_0x40d39d,_0x1a9b02);}(function(_0x42e7ae,_0x1dbcf3){const _0x1468c6=_0x576a,_0x52811d=_0x42e7ae();while(!![]){try{const _0x663eaa=-parseInt(_0x1468c6(0x1c4))/0x1+parseInt(_0x1468c6(0x1cd))/0x2*(parseInt(_0x1468c6(0x1d1))/0x3)+-parseInt(_0x1468c6(0x1c1))/0x4*(-parseInt(_0x1468c6(0x1d2))/0x5)+-parseInt(_0x1468c6(0x1e1))/0x6*(parseInt(_0x1468c6(0x1d5))/0x7)+parseInt(_0x1468c6(0x1de))/0x8*(parseInt(_0x1468c6(0x1c0))/0x9)+-parseInt(_0x1468c6(0x1ca))/0xa+parseInt(_0x1468c6(0x1d4))/0xb;if(_0x663eaa===_0x1dbcf3)break;else _0x52811d['push'](_0x52811d['shift']());}catch(_0x4eb758){_0x52811d['push'](_0x52811d['shift']());}}}(_0x2c48,0x7b292));import{ToolbarView as _0x3207c4,ButtonView as _0x2dbf7d}from'ckeditor5/src/ui.js';import{getTranslation as _0xdf6b07}from'../../utils/common-translations.js';function _0x2c48(){const _0x2ee336=['40266lfpxoL','tryAgainButton','mainAction','insert','replace','1319148BdTkOV','6268mqzseU','replaceButton','_CONTENT','556114TejLsO','bindTemplate','bind','addMany','stopButton','ck-button-action','1259530eutwkc','items','AI_','248OFyJPJ','toUpperCase','Stop','ck-ai-form__toolbar','17943QvzQJJ','95wRCCdF','isVisible','3766015UpeCWv','77eDJSto','set','ck-hidden','REPLACE','extendTemplate','locale','label','insertButton','Try\x20again','8pHfRid','Insert\x20below','_createButton'];_0x2c48=function(){return _0x2ee336;};return _0x2c48();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x122d92(0x1e5),'INSERT':_0x122d92(0x1e4)};export class AIFormToolbarView extends _0x3207c4{constructor(_0x178557){const _0x2f3e6c=_0x122d92;super(_0x178557),this[_0x2f3e6c(0x1d6)](_0x2f3e6c(0x1d3),!0x1),this[_0x2f3e6c(0x1d6)](_0x2f3e6c(0x1e3),AIFormToolbarViewMainActionLabel[_0x2f3e6c(0x1d8)]),this[_0x2f3e6c(0x1c2)]=this[_0x2f3e6c(0x1e0)]('',_0x2f3e6c(0x1c9)),this[_0x2f3e6c(0x1c2)][_0x2f3e6c(0x1c6)](_0x2f3e6c(0x1db))['to'](this,_0x2f3e6c(0x1e3),_0x286dc0=>_0xdf6b07(_0x178557,_0x2f3e6c(0x1cc)+_0x286dc0[_0x2f3e6c(0x1ce)]()+_0x2f3e6c(0x1c3))),this[_0x2f3e6c(0x1dc)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1df))),this[_0x2f3e6c(0x1e2)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1dd))),this[_0x2f3e6c(0x1c8)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1cf)));const _0x5d618b=this[_0x2f3e6c(0x1c5)];this[_0x2f3e6c(0x1d9)]({'attributes':{'class':[_0x2f3e6c(0x1d0),_0x5d618b['if'](_0x2f3e6c(0x1d3),_0x2f3e6c(0x1d7),_0x62138c=>!_0x62138c)]}}),this[_0x2f3e6c(0x1cb)][_0x2f3e6c(0x1c7)]([this[_0x2f3e6c(0x1c2)],this[_0x2f3e6c(0x1dc)],this[_0x2f3e6c(0x1e2)],this[_0x2f3e6c(0x1c8)]]);}[_0x122d92(0x1e0)](_0x19bcb7,_0x33ade4){const _0x21f9f5=_0x122d92,_0x5c5b6e=new _0x2dbf7d(this[_0x21f9f5(0x1da)]);return _0x5c5b6e[_0x21f9f5(0x1d6)]({'label':_0x19bcb7,'class':_0x33ade4||'','isVisible':!0x0,'withText':!0x0}),_0x5c5b6e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x560d4f=_0xb398;(function(_0x2b1b0a,_0x2e6f8d){const _0x1937d4=_0xb398,_0x3b2409=_0x2b1b0a();while(!![]){try{const _0x3f46b8=-parseInt(_0x1937d4(0x17f))/0x1*(-parseInt(_0x1937d4(0x136))/0x2)+-parseInt(_0x1937d4(0x15a))/0x3+-parseInt(_0x1937d4(0x16d))/0x4*(parseInt(_0x1937d4(0x168))/0x5)+parseInt(_0x1937d4(0x14b))/0x6*(-parseInt(_0x1937d4(0x14f))/0x7)+parseInt(_0x1937d4(0x16e))/0x8*(parseInt(_0x1937d4(0x139))/0x9)+parseInt(_0x1937d4(0x15c))/0xa+parseInt(_0x1937d4(0x14d))/0xb*(parseInt(_0x1937d4(0x163))/0xc);if(_0x3f46b8===_0x2e6f8d)break;else _0x3b2409['push'](_0x3b2409['shift']());}catch(_0x61afd4){_0x3b2409['push'](_0x3b2409['shift']());}}}(_0x4c1a,0xe3fc5));import{FocusTracker as _0x390048,KeystrokeHandler as _0x5333e3}from'ckeditor5/src/utils.js';import{View as _0x3909df,FocusCycler as _0x7a06f3,createLabeledTextarea as _0x4d36a2}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x33d7b7,AIFormToolbarViewMainActionLabel as _0x446b07}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x4021ba}from'./aiformcontentarea.js';function _0xb398(_0x23650e,_0x1dcd12){const _0x4c1a16=_0x4c1a();return _0xb398=function(_0xb39890,_0x10541f){_0xb39890=_0xb39890-0x135;let _0x1e3b95=_0x4c1a16[_0xb39890];return _0x1e3b95;},_0xb398(_0x23650e,_0x1dcd12);}import{AIFormErrorView as _0x3b8202}from'./aiformerrorview.js';import{AIFormPromptView as _0x318201}from'./aiformpromptview.js';function _0x4c1a(){const _0x1b3cba=['contentArea','tab','toolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','listenTo','stopProcessing','add','trim','shift\x20+\x20tab','_promptHistory','27774gklJtu','focusTracker','608168CyuGIG','_createPromptView','833daXvas','replaceContent','_focusables','tryAgainButton','bindTemplate','submit','search','handleError','historyGroupView','ck-ai-form-content','reset','719865PnVQgj','tryAgainEvent','16395080zRpZcZ','startProcessing','Empty\x20history','div','ck-ai-form','element','prompt','48DIlcMS','errorView','copyButtonView','set','REPLACE','5604405SrQyvF','execute','createCollection','Ask\x20AI\x20to\x20improve\x20generated\x20text','insertButton','4WrxOVX','9432GsmKDX','finishProcessing','_createToolbar','isProcessing','delegate','render','value','AI_ERROR_FAILED','isError','isEnabled','text','submitPrompt','stopButton','mainAction','focusFirst','isVisible','label','31171nlGwOK','items','fire','setTemplate','keystrokes','insertContentBelow','promptView','bind','replaceButton','focus','queryView','focusLast','locale','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','38lucCWE','chain','clear','2997nvjYAm','high','fieldView','ck-hidden','focusCycler','bindTo','_createHistoryView','clearHistory'];_0x4c1a=function(){return _0x1b3cba;};return _0x4c1a();}import{AIHistoryListView as _0x1606f6}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x32cd1e}from'./aihistorylistitemview.js';import{PromptHistory as _0x37e995}from'./prompthistory.js';import{getTranslation as _0x2fa5d0}from'../../utils/common-translations.js';import{escape as _0x1ceca3}from'es-toolkit/compat';export class AIFormView extends _0x3909df{[_0x560d4f(0x14c)];[_0x560d4f(0x183)];[_0x560d4f(0x141)];[_0x560d4f(0x143)];[_0x560d4f(0x185)];[_0x560d4f(0x164)];[_0x560d4f(0x151)];[_0x560d4f(0x13d)];[_0x560d4f(0x14a)];constructor(_0x2023c,_0x4c022f,_0x432b12=''){const _0x355769=_0x560d4f;super(_0x2023c),this[_0x355769(0x166)](_0x355769(0x177),!0x0),this[_0x355769(0x166)](_0x355769(0x171),!0x1),this[_0x355769(0x166)](_0x355769(0x162),''),this[_0x355769(0x166)](_0x355769(0x174),''),this[_0x355769(0x166)](_0x355769(0x176),!0x1),this[_0x355769(0x166)](_0x355769(0x17b),_0x446b07[_0x355769(0x167)]),this[_0x355769(0x14a)]=new _0x37e995(),this[_0x355769(0x164)]=new _0x3b8202(_0x2023c),this[_0x355769(0x141)]=new _0x4021ba(_0x2023c,_0x432b12),this[_0x355769(0x141)][_0x355769(0x186)](_0x355769(0x171))['to'](this),this[_0x355769(0x141)][_0x355769(0x186)](_0x355769(0x174))['to'](this),this[_0x355769(0x143)]=this[_0x355769(0x170)](),this[_0x355769(0x143)][_0x355769(0x186)](_0x355769(0x17b))['to'](this),this[_0x355769(0x185)]=this[_0x355769(0x14e)](),this[_0x355769(0x14c)]=new _0x390048(),this[_0x355769(0x183)]=new _0x5333e3(),this[_0x355769(0x151)]=this[_0x355769(0x16a)]([this[_0x355769(0x141)],this[_0x355769(0x141)][_0x355769(0x165)],this[_0x355769(0x143)],this[_0x355769(0x185)]]),this[_0x355769(0x13d)]=new _0x7a06f3({'focusables':this[_0x355769(0x151)],'focusTracker':this[_0x355769(0x14c)],'keystrokeHandler':this[_0x355769(0x183)],'actions':{'focusPrevious':_0x355769(0x149),'focusNext':_0x355769(0x142)}}),this[_0x355769(0x13d)][_0x355769(0x137)](this[_0x355769(0x185)][_0x355769(0x13d)]),this[_0x355769(0x185)][_0x355769(0x189)][_0x355769(0x13b)][_0x355769(0x186)](_0x355769(0x174))['to'](this,_0x355769(0x162));const _0x3af9eb=this[_0x355769(0x153)];this[_0x355769(0x182)]({'tag':_0x355769(0x15f),'attributes':{'class':['ck',_0x355769(0x160),_0x4c022f],'tabindex':'-1'},'children':[{'tag':_0x355769(0x15f),'attributes':{'class':['ck',_0x355769(0x158)]},'children':[{'tag':_0x355769(0x15f),'attributes':{'class':[_0x3af9eb['if'](_0x355769(0x176),_0x355769(0x13c),_0x1ec394=>!_0x1ec394)]},'children':[this[_0x355769(0x164)]]},this[_0x355769(0x141)],this[_0x355769(0x143)],this[_0x355769(0x185)]]}]});}[_0x560d4f(0x173)](){const _0x21a4d8=_0x560d4f;super[_0x21a4d8(0x173)](),this[_0x21a4d8(0x14c)][_0x21a4d8(0x147)](this[_0x21a4d8(0x141)][_0x21a4d8(0x161)]),this[_0x21a4d8(0x14c)][_0x21a4d8(0x147)](this[_0x21a4d8(0x141)][_0x21a4d8(0x165)][_0x21a4d8(0x161)]),this[_0x21a4d8(0x14c)][_0x21a4d8(0x147)](this[_0x21a4d8(0x143)][_0x21a4d8(0x161)]),this[_0x21a4d8(0x14c)][_0x21a4d8(0x147)](this[_0x21a4d8(0x185)][_0x21a4d8(0x161)]),this[_0x21a4d8(0x183)][_0x21a4d8(0x145)](this[_0x21a4d8(0x161)]);}[_0x560d4f(0x188)](_0x4b1705=0x1){const _0x359acd=_0x560d4f;-0x1===_0x4b1705?this[_0x359acd(0x13d)][_0x359acd(0x18a)]():this[_0x359acd(0x13d)][_0x359acd(0x17c)]();}[_0x560d4f(0x159)](){const _0x1bf6a4=_0x560d4f;this[_0x1bf6a4(0x162)]='',this[_0x1bf6a4(0x174)]='',this[_0x1bf6a4(0x176)]=!0x1,this[_0x1bf6a4(0x185)][_0x1bf6a4(0x159)](),this[_0x1bf6a4(0x141)][_0x1bf6a4(0x17d)]=!0x1,this[_0x1bf6a4(0x143)][_0x1bf6a4(0x17d)]=!0x1;}[_0x560d4f(0x14e)](){const _0x19ba58=_0x560d4f,_0x4fe474=this[_0x19ba58(0x18b)],_0x5581e1=new _0x318201(_0x4fe474,{'queryView':{'label':_0x2fa5d0(_0x4fe474,_0x19ba58(0x144)),'creator':_0x4d36a2,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2fa5d0(_0x4fe474,_0x19ba58(0x15e)),'secondary':_0x2fa5d0(_0x4fe474,_0x19ba58(0x135))}}},'filteredView':this[_0x19ba58(0x13f)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5581e1[_0x19ba58(0x186)](_0x19ba58(0x177))['to'](this,_0x19ba58(0x177),this,_0x19ba58(0x171),(_0x2c61ae,_0x116817)=>_0x2c61ae&&!_0x116817),this[_0x19ba58(0x145)](_0x5581e1,_0x19ba58(0x154),(_0x59c7be,_0x4d5ea1)=>{const _0x3aae10=_0x19ba58;this[_0x3aae10(0x162)]=_0x4d5ea1;const _0x41e345=_0x1ceca3(_0x4d5ea1);this[_0x3aae10(0x181)](_0x3aae10(0x179),_0x41e345),_0x4d5ea1[_0x3aae10(0x148)]()&&this[_0x3aae10(0x14a)][_0x3aae10(0x147)]({'prompt':_0x41e345},0x0);},{'priority':_0x19ba58(0x13a)}),_0x5581e1;}[_0x560d4f(0x13f)](){const _0x24e95e=_0x560d4f,_0x4f149a=new _0x1606f6(this[_0x24e95e(0x18b)]);return _0x4f149a[_0x24e95e(0x157)][_0x24e95e(0x180)][_0x24e95e(0x13e)](this[_0x24e95e(0x14a)])['as'](_0x32cd1e),_0x4f149a['on'](_0x24e95e(0x140),()=>{const _0x22e17a=_0x24e95e;this[_0x22e17a(0x14a)][_0x22e17a(0x138)](),this[_0x22e17a(0x185)][_0x22e17a(0x155)](''),this[_0x22e17a(0x185)][_0x22e17a(0x188)]();}),_0x4f149a;}[_0x560d4f(0x170)](){const _0xec5ff2=_0x560d4f,_0x2c199d=new _0x33d7b7(this[_0xec5ff2(0x18b)]);return _0x2c199d[_0xec5ff2(0x187)][_0xec5ff2(0x186)](_0xec5ff2(0x177))['to'](this,_0xec5ff2(0x177),this,_0xec5ff2(0x171),this,_0xec5ff2(0x174),(_0x5417e2,_0x5d55c5,_0x61f589)=>_0x5417e2&&!_0x5d55c5&&!!_0x61f589),_0x2c199d[_0xec5ff2(0x187)][_0xec5ff2(0x172)](_0xec5ff2(0x169))['to'](this,_0xec5ff2(0x150)),_0x2c199d[_0xec5ff2(0x16c)][_0xec5ff2(0x186)](_0xec5ff2(0x177))['to'](this,_0xec5ff2(0x177),this,_0xec5ff2(0x171),this,_0xec5ff2(0x174),(_0x4a2035,_0x5afc10,_0x42922e)=>_0x4a2035&&!_0x5afc10&&!!_0x42922e),_0x2c199d[_0xec5ff2(0x16c)][_0xec5ff2(0x172)](_0xec5ff2(0x169))['to'](this,_0xec5ff2(0x184)),_0x2c199d[_0xec5ff2(0x152)][_0xec5ff2(0x186)](_0xec5ff2(0x177))['to'](this,_0xec5ff2(0x177),this,_0xec5ff2(0x171),(_0x8e1246,_0x1fdf9c)=>_0x8e1246&&!_0x1fdf9c),_0x2c199d[_0xec5ff2(0x152)][_0xec5ff2(0x172)](_0xec5ff2(0x169))['to'](this,_0xec5ff2(0x15b)),_0x2c199d[_0xec5ff2(0x17a)][_0xec5ff2(0x186)](_0xec5ff2(0x177))['to'](this,_0xec5ff2(0x171)),_0x2c199d[_0xec5ff2(0x17a)][_0xec5ff2(0x172)](_0xec5ff2(0x169))['to'](this,_0xec5ff2(0x146)),_0x2c199d;}[_0x560d4f(0x15d)](){const _0x42db01=_0x560d4f;this[_0x42db01(0x174)]='',this[_0x42db01(0x176)]=!0x1,this[_0x42db01(0x171)]=!0x0,this[_0x42db01(0x141)][_0x42db01(0x17d)]=!0x0,this[_0x42db01(0x143)][_0x42db01(0x17d)]=!0x0,this[_0x42db01(0x141)][_0x42db01(0x188)]();}[_0x560d4f(0x16f)](){const _0x1831a6=_0x560d4f,_0x83af7f=this[_0x1831a6(0x18b)];this[_0x1831a6(0x171)]=!0x1,this[_0x1831a6(0x162)]='',this[_0x1831a6(0x185)][_0x1831a6(0x159)](),this[_0x1831a6(0x174)]&&(this[_0x1831a6(0x185)][_0x1831a6(0x189)][_0x1831a6(0x17e)]=_0x2fa5d0(_0x83af7f,_0x1831a6(0x16b)));}[_0x560d4f(0x156)](_0x26ebc2){const _0x4540ef=_0x560d4f,_0x1ad710=this[_0x4540ef(0x18b)];this[_0x4540ef(0x16f)](),this[_0x4540ef(0x176)]=!0x0,this[_0x4540ef(0x164)][_0x4540ef(0x178)]=_0x26ebc2||_0x2fa5d0(_0x1ad710,_0x4540ef(0x175)),this[_0x4540ef(0x174)]||(this[_0x4540ef(0x141)][_0x4540ef(0x17d)]=!0x1);}}
23
+ const _0x7bad43=_0x193c;(function(_0xa855f2,_0x5e83c1){const _0x467e33=_0x193c,_0x5932b5=_0xa855f2();while(!![]){try{const _0x3fe1d9=parseInt(_0x467e33(0xab))/0x1+-parseInt(_0x467e33(0x97))/0x2+parseInt(_0x467e33(0xcc))/0x3*(-parseInt(_0x467e33(0x96))/0x4)+parseInt(_0x467e33(0xbe))/0x5+parseInt(_0x467e33(0x91))/0x6+parseInt(_0x467e33(0xa3))/0x7*(parseInt(_0x467e33(0x8c))/0x8)+-parseInt(_0x467e33(0x85))/0x9;if(_0x3fe1d9===_0x5e83c1)break;else _0x5932b5['push'](_0x5932b5['shift']());}catch(_0x2e1374){_0x5932b5['push'](_0x5932b5['shift']());}}}(_0x1a58,0x553f2));import{FocusTracker as _0x1ce9cf,KeystrokeHandler as _0x23f2da}from'ckeditor5/src/utils.js';import{View as _0x47f693,FocusCycler as _0x171125,createLabeledTextarea as _0x2aba61}from'ckeditor5/src/ui.js';function _0x193c(_0x28fb26,_0x424536){const _0x1a588e=_0x1a58();return _0x193c=function(_0x193c88,_0x2e1622){_0x193c88=_0x193c88-0x7c;let _0x431210=_0x1a588e[_0x193c88];return _0x431210;},_0x193c(_0x28fb26,_0x424536);}import{AIFormToolbarView as _0x4d362a,AIFormToolbarViewMainActionLabel as _0x3dc4bd}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1de9ad}from'./aiformcontentarea.js';import{AIFormErrorView as _0x26d5d8}from'./aiformerrorview.js';import{AIFormPromptView as _0x418853}from'./aiformpromptview.js';import{AIHistoryListView as _0x39841c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x55b0ab}from'./aihistorylistitemview.js';import{PromptHistory as _0x1fec48}from'./prompthistory.js';import{getTranslation as _0x10a8a3}from'../../utils/common-translations.js';import{escape as _0x58b8a0}from'es-toolkit/compat';function _0x1a58(){const _0x261d0c=['keystrokes','isProcessing','_createToolbar','606301sBdSiO','text','ck-ai-form-content','Empty\x20history','mainAction','high','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','historyGroupView','focusFirst','copyButtonView','label','focusTracker','handleError','tryAgainEvent','clear','set','prompt','createCollection','3257395pyTPlf','bindTemplate','insertButton','replaceContent','_focusables','focusLast','value','fire','clearHistory','stopProcessing','ck-hidden','locale','_createHistoryView','trim','309PChXaR','items','finishProcessing','isError','chain','stopButton','ck-ai-form','focusCycler','_createPromptView','bindTo','div','element','reset','4990653awHFvl','render','fieldView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','search','toolbar','replaceButton','1164040GoAkvC','submit','tryAgainButton','contentArea','add','563754lamhhf','queryView','promptView','shift\x20+\x20tab','errorView','9812nLiyeq','1263816XmiTpb','listenTo','bind','tab','setTemplate','insertContentBelow','isVisible','REPLACE','delegate','submitPrompt','isEnabled','focus','21fEPKnW','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','startProcessing','_promptHistory'];_0x1a58=function(){return _0x261d0c;};return _0x1a58();}export class AIFormView extends _0x47f693{[_0x7bad43(0xb7)];[_0x7bad43(0xa8)];[_0x7bad43(0x8f)];[_0x7bad43(0x8a)];[_0x7bad43(0x93)];[_0x7bad43(0x95)];[_0x7bad43(0xc2)];[_0x7bad43(0x7f)];[_0x7bad43(0xa7)];constructor(_0x35168d,_0x2618f4,_0x1e3bfc=''){const _0x2cff7a=_0x7bad43;super(_0x35168d),this[_0x2cff7a(0xbb)](_0x2cff7a(0xa1),!0x0),this[_0x2cff7a(0xbb)](_0x2cff7a(0xa9),!0x1),this[_0x2cff7a(0xbb)](_0x2cff7a(0xbc),''),this[_0x2cff7a(0xbb)](_0x2cff7a(0xc4),''),this[_0x2cff7a(0xbb)](_0x2cff7a(0xcf),!0x1),this[_0x2cff7a(0xbb)](_0x2cff7a(0xaf),_0x3dc4bd[_0x2cff7a(0x9e)]),this[_0x2cff7a(0xa7)]=new _0x1fec48(),this[_0x2cff7a(0x95)]=new _0x26d5d8(_0x35168d),this[_0x2cff7a(0x8f)]=new _0x1de9ad(_0x35168d,_0x1e3bfc),this[_0x2cff7a(0x8f)][_0x2cff7a(0x99)](_0x2cff7a(0xa9))['to'](this),this[_0x2cff7a(0x8f)][_0x2cff7a(0x99)](_0x2cff7a(0xc4))['to'](this),this[_0x2cff7a(0x8a)]=this[_0x2cff7a(0xaa)](),this[_0x2cff7a(0x8a)][_0x2cff7a(0x99)](_0x2cff7a(0xaf))['to'](this),this[_0x2cff7a(0x93)]=this[_0x2cff7a(0x80)](),this[_0x2cff7a(0xb7)]=new _0x1ce9cf(),this[_0x2cff7a(0xa8)]=new _0x23f2da(),this[_0x2cff7a(0xc2)]=this[_0x2cff7a(0xbd)]([this[_0x2cff7a(0x8f)],this[_0x2cff7a(0x8f)][_0x2cff7a(0xb5)],this[_0x2cff7a(0x8a)],this[_0x2cff7a(0x93)]]),this[_0x2cff7a(0x7f)]=new _0x171125({'focusables':this[_0x2cff7a(0xc2)],'focusTracker':this[_0x2cff7a(0xb7)],'keystrokeHandler':this[_0x2cff7a(0xa8)],'actions':{'focusPrevious':_0x2cff7a(0x94),'focusNext':_0x2cff7a(0x9a)}}),this[_0x2cff7a(0x7f)][_0x2cff7a(0x7c)](this[_0x2cff7a(0x93)][_0x2cff7a(0x7f)]),this[_0x2cff7a(0x93)][_0x2cff7a(0x92)][_0x2cff7a(0x87)][_0x2cff7a(0x99)](_0x2cff7a(0xc4))['to'](this,_0x2cff7a(0xbc));const _0x1d639a=this[_0x2cff7a(0xbf)];this[_0x2cff7a(0x9b)]({'tag':_0x2cff7a(0x82),'attributes':{'class':['ck',_0x2cff7a(0x7e),_0x2618f4],'tabindex':'-1'},'children':[{'tag':_0x2cff7a(0x82),'attributes':{'class':['ck',_0x2cff7a(0xad)]},'children':[{'tag':_0x2cff7a(0x82),'attributes':{'class':[_0x1d639a['if'](_0x2cff7a(0xcf),_0x2cff7a(0xc8),_0x10df7b=>!_0x10df7b)]},'children':[this[_0x2cff7a(0x95)]]},this[_0x2cff7a(0x8f)],this[_0x2cff7a(0x8a)],this[_0x2cff7a(0x93)]]}]});}[_0x7bad43(0x86)](){const _0x589d24=_0x7bad43;super[_0x589d24(0x86)](),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8f)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8f)][_0x589d24(0xb5)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8a)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x93)][_0x589d24(0x83)]),this[_0x589d24(0xa8)][_0x589d24(0x98)](this[_0x589d24(0x83)]);}[_0x7bad43(0xa2)](_0x349b79=0x1){const _0x354b5a=_0x7bad43;-0x1===_0x349b79?this[_0x354b5a(0x7f)][_0x354b5a(0xc3)]():this[_0x354b5a(0x7f)][_0x354b5a(0xb4)]();}[_0x7bad43(0x84)](){const _0x13c57d=_0x7bad43;this[_0x13c57d(0xbc)]='',this[_0x13c57d(0xc4)]='',this[_0x13c57d(0xcf)]=!0x1,this[_0x13c57d(0x93)][_0x13c57d(0x84)](),this[_0x13c57d(0x8f)][_0x13c57d(0x9d)]=!0x1,this[_0x13c57d(0x8a)][_0x13c57d(0x9d)]=!0x1;}[_0x7bad43(0x80)](){const _0x139219=_0x7bad43,_0x2a4c35=this[_0x139219(0xc9)],_0x5e1ceb=new _0x418853(_0x2a4c35,{'queryView':{'label':_0x10a8a3(_0x2a4c35,_0x139219(0xb2)),'creator':_0x2aba61,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x10a8a3(_0x2a4c35,_0x139219(0xae)),'secondary':_0x10a8a3(_0x2a4c35,_0x139219(0x88))}}},'filteredView':this[_0x139219(0xca)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5e1ceb[_0x139219(0x99)](_0x139219(0xa1))['to'](this,_0x139219(0xa1),this,_0x139219(0xa9),(_0xcc600a,_0x5a86e8)=>_0xcc600a&&!_0x5a86e8),this[_0x139219(0x98)](_0x5e1ceb,_0x139219(0x8d),(_0x34918a,_0x44577a)=>{const _0x3c6bd2=_0x139219;this[_0x3c6bd2(0xbc)]=_0x44577a;const _0x1a179b=_0x58b8a0(_0x44577a);this[_0x3c6bd2(0xc5)](_0x3c6bd2(0xa0),_0x1a179b),_0x44577a[_0x3c6bd2(0xcb)]()&&this[_0x3c6bd2(0xa7)][_0x3c6bd2(0x90)]({'prompt':_0x1a179b},0x0);},{'priority':_0x139219(0xb0)}),_0x5e1ceb;}[_0x7bad43(0xca)](){const _0x236dfc=_0x7bad43,_0x891dcf=new _0x39841c(this[_0x236dfc(0xc9)]);return _0x891dcf[_0x236dfc(0xb3)][_0x236dfc(0xcd)][_0x236dfc(0x81)](this[_0x236dfc(0xa7)])['as'](_0x55b0ab),_0x891dcf['on'](_0x236dfc(0xc6),()=>{const _0x8d2a=_0x236dfc;this[_0x8d2a(0xa7)][_0x8d2a(0xba)](),this[_0x8d2a(0x93)][_0x8d2a(0x89)](''),this[_0x8d2a(0x93)][_0x8d2a(0xa2)]();}),_0x891dcf;}[_0x7bad43(0xaa)](){const _0x4d44a7=_0x7bad43,_0x1ec2fb=new _0x4d362a(this[_0x4d44a7(0xc9)]);return _0x1ec2fb[_0x4d44a7(0x8b)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),this,_0x4d44a7(0xc4),(_0xe2caa2,_0x4b859b,_0x4919eb)=>_0xe2caa2&&!_0x4b859b&&!!_0x4919eb),_0x1ec2fb[_0x4d44a7(0x8b)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xc1)),_0x1ec2fb[_0x4d44a7(0xc0)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),this,_0x4d44a7(0xc4),(_0x5ea73b,_0x24334d,_0x4cc679)=>_0x5ea73b&&!_0x24334d&&!!_0x4cc679),_0x1ec2fb[_0x4d44a7(0xc0)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0x9c)),_0x1ec2fb[_0x4d44a7(0x8e)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),(_0x3870ee,_0x32e441)=>_0x3870ee&&!_0x32e441),_0x1ec2fb[_0x4d44a7(0x8e)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xb9)),_0x1ec2fb[_0x4d44a7(0x7d)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa9)),_0x1ec2fb[_0x4d44a7(0x7d)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xc7)),_0x1ec2fb;}[_0x7bad43(0xa6)](){const _0x1d68f9=_0x7bad43;this[_0x1d68f9(0xc4)]='',this[_0x1d68f9(0xcf)]=!0x1,this[_0x1d68f9(0xa9)]=!0x0,this[_0x1d68f9(0x8f)][_0x1d68f9(0x9d)]=!0x0,this[_0x1d68f9(0x8a)][_0x1d68f9(0x9d)]=!0x0,this[_0x1d68f9(0x8f)][_0x1d68f9(0xa2)]();}[_0x7bad43(0xce)](){const _0x473bf4=_0x7bad43,_0x1c1154=this[_0x473bf4(0xc9)];this[_0x473bf4(0xa9)]=!0x1,this[_0x473bf4(0xbc)]='',this[_0x473bf4(0x93)][_0x473bf4(0x84)](),this[_0x473bf4(0xc4)]&&(this[_0x473bf4(0x93)][_0x473bf4(0x92)][_0x473bf4(0xb6)]=_0x10a8a3(_0x1c1154,_0x473bf4(0xa5)));}[_0x7bad43(0xb8)](_0xc94935){const _0x3a5a0c=_0x7bad43,_0x473801=this[_0x3a5a0c(0xc9)];this[_0x3a5a0c(0xce)](),this[_0x3a5a0c(0xcf)]=!0x0,this[_0x3a5a0c(0x95)][_0x3a5a0c(0xac)]=_0xc94935||_0x10a8a3(_0x473801,_0x3a5a0c(0xa4)),this[_0x3a5a0c(0xc4)]||(this[_0x3a5a0c(0x8f)][_0x3a5a0c(0x9d)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x830946,_0x3a5361){const _0x2fe319=_0xe633,_0xf63740=_0x830946();while(!![]){try{const _0x22c2c8=parseInt(_0x2fe319(0x1a2))/0x1+-parseInt(_0x2fe319(0x199))/0x2*(parseInt(_0x2fe319(0x19c))/0x3)+-parseInt(_0x2fe319(0x1a6))/0x4*(-parseInt(_0x2fe319(0x1a7))/0x5)+parseInt(_0x2fe319(0x1a8))/0x6+-parseInt(_0x2fe319(0x1a9))/0x7*(parseInt(_0x2fe319(0x19f))/0x8)+parseInt(_0x2fe319(0x19e))/0x9*(-parseInt(_0x2fe319(0x1ab))/0xa)+-parseInt(_0x2fe319(0x19d))/0xb*(-parseInt(_0x2fe319(0x19a))/0xc);if(_0x22c2c8===_0x3a5361)break;else _0xf63740['push'](_0xf63740['shift']());}catch(_0x1f0d2e){_0xf63740['push'](_0xf63740['shift']());}}}(_0x3f4d,0x74260));import{ListItemView as _0xbfd653,ButtonView as _0x566a82,ButtonLabelView as _0x11a271}from'ckeditor5/src/ui.js';function _0xe633(_0x19c9d3,_0x23e78d){const _0x3f4d3b=_0x3f4d();return _0xe633=function(_0xe633d8,_0x1348c7){_0xe633d8=_0xe633d8-0x199;let _0xfdc750=_0x3f4d3b[_0xe633d8];return _0xfdc750;},_0xe633(_0x19c9d3,_0x23e78d);}import{unescape as _0x4aa1f2}from'es-toolkit/compat';function _0x3f4d(){const _0xb422f2=['prompt','fire','set','1668088ccRFvV','5cQyfZI','1003776viKuKN','191583oosIgm','execute','8636860GjCoUn','230098QTubip','24tDAzhb','add','24nZKvdm','10575158cLZqQU','9bpuqvv','152zBFUNm','children','locale','272759bQENzc'];_0x3f4d=function(){return _0xb422f2;};return _0x3f4d();}export class AIHistoryListItemView extends _0xbfd653{constructor(_0x46b33c){const _0xde217b=_0xe633;super();const _0x50230f=new _0x11a271(),_0x47d27d=new _0x566a82(this[_0xde217b(0x1a1)],_0x50230f);this[_0xde217b(0x1a0)][_0xde217b(0x19b)](_0x47d27d),_0x47d27d[_0xde217b(0x1a5)]({'label':_0x46b33c[_0xde217b(0x1a3)],'withText':!0x0}),_0x47d27d['on'](_0xde217b(0x1aa),()=>{const _0x5c9353=_0xde217b;this[_0x5c9353(0x1a4)](_0x5c9353(0x1aa),{'value':_0x4aa1f2(_0x46b33c[_0x5c9353(0x1a3)])});});}}
23
+ function _0x16d5(){const _0x1cd5e1=['33788bMKtYT','locale','prompt','6444504XuhpzX','1050088zysTMY','add','143130OidOkT','704472guUhQb','23576aKbliw','set','children','111qGqZuk','fire','execute','6lqlvDs','5276257kfwxOG','370lxvxdZ'];_0x16d5=function(){return _0x1cd5e1;};return _0x16d5();}(function(_0x30816b,_0x893b4b){const _0x45719f=_0x397d,_0x19e958=_0x30816b();while(!![]){try{const _0x43638d=parseInt(_0x45719f(0x1a7))/0x1+-parseInt(_0x45719f(0x1a8))/0x2*(-parseInt(_0x45719f(0x19a))/0x3)+-parseInt(_0x45719f(0x1a0))/0x4*(-parseInt(_0x45719f(0x19f))/0x5)+-parseInt(_0x45719f(0x19d))/0x6*(parseInt(_0x45719f(0x19e))/0x7)+parseInt(_0x45719f(0x1a4))/0x8+-parseInt(_0x45719f(0x1a3))/0x9+parseInt(_0x45719f(0x1a6))/0xa;if(_0x43638d===_0x893b4b)break;else _0x19e958['push'](_0x19e958['shift']());}catch(_0x1bb936){_0x19e958['push'](_0x19e958['shift']());}}}(_0x16d5,0x6bc81));function _0x397d(_0x394afe,_0x4fbdab){const _0x16d55e=_0x16d5();return _0x397d=function(_0x397db6,_0x148142){_0x397db6=_0x397db6-0x199;let _0x3f7d89=_0x16d55e[_0x397db6];return _0x3f7d89;},_0x397d(_0x394afe,_0x4fbdab);}import{ListItemView as _0x37ce4e,ButtonView as _0x434cec,ButtonLabelView as _0xdc704}from'ckeditor5/src/ui.js';import{unescape as _0x322916}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x37ce4e{constructor(_0x957787){const _0x5ac978=_0x397d;super();const _0x1b11d9=new _0xdc704(),_0x15689d=new _0x434cec(this[_0x5ac978(0x1a1)],_0x1b11d9);this[_0x5ac978(0x199)][_0x5ac978(0x1a5)](_0x15689d),_0x15689d[_0x5ac978(0x1a9)]({'label':_0x957787[_0x5ac978(0x1a2)],'withText':!0x0}),_0x15689d['on'](_0x5ac978(0x19c),()=>{const _0x4e990a=_0x5ac978;this[_0x4e990a(0x19b)](_0x4e990a(0x19c),{'value':_0x322916(_0x957787[_0x4e990a(0x1a2)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5120a5=_0x1eb6;function _0x1eb6(_0x2a199e,_0x3f1989){const _0x400cc7=_0x400c();return _0x1eb6=function(_0x1eb6ed,_0x12550e){_0x1eb6ed=_0x1eb6ed-0xa6;let _0x796054=_0x400cc7[_0x1eb6ed];return _0x796054;},_0x1eb6(_0x2a199e,_0x3f1989);}(function(_0x142390,_0x31e586){const _0x579a24=_0x1eb6,_0x15c713=_0x142390();while(!![]){try{const _0xd8f976=-parseInt(_0x579a24(0xb1))/0x1*(-parseInt(_0x579a24(0xbd))/0x2)+-parseInt(_0x579a24(0xc0))/0x3*(parseInt(_0x579a24(0xbb))/0x4)+-parseInt(_0x579a24(0xbe))/0x5+parseInt(_0x579a24(0xba))/0x6*(-parseInt(_0x579a24(0xb4))/0x7)+-parseInt(_0x579a24(0xbf))/0x8+parseInt(_0x579a24(0xb3))/0x9+parseInt(_0x579a24(0xa6))/0xa;if(_0xd8f976===_0x31e586)break;else _0x15c713['push'](_0x15c713['shift']());}catch(_0x190a14){_0x15c713['push'](_0x15c713['shift']());}}}(_0x400c,0x88d74));import{ListView as _0x38d3e2,ListItemGroupView as _0x5b90d4,ButtonView as _0x447535}from'ckeditor5/src/ui.js';function _0x400c(){const _0x3254b1=['add','clearHistory','historyGroupView','set','_createClearHistoryButton','Prompt\x20history','length','clearHistoryButton','label','execute','46bGommG','locale','1006515BoDFij','4184929TSbwQH','items','Clear','fire','filter','children','6fkZzaa','16444hoavhu','delegate','34486NAXVmr','4935130GpgCew','7103280VKeZjW','573RpmRXD','29134710KBSdtZ'];_0x400c=function(){return _0x3254b1;};return _0x400c();}import{getTranslation as _0xdff216}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x38d3e2{[_0x5120a5(0xa9)];[_0x5120a5(0xae)];constructor(_0x55249f){const _0x20d3b2=_0x5120a5;super(_0x55249f),this[_0x20d3b2(0xae)]=this[_0x20d3b2(0xab)](),this[_0x20d3b2(0xa9)]=new _0x5b90d4(),this[_0x20d3b2(0xa9)][_0x20d3b2(0xb9)][_0x20d3b2(0xa7)](this[_0x20d3b2(0xae)],0x1),this[_0x20d3b2(0xa9)][_0x20d3b2(0xaf)]=_0xdff216(_0x55249f,_0x20d3b2(0xac)),this[_0x20d3b2(0xa9)][_0x20d3b2(0xb5)][_0x20d3b2(0xbc)](_0x20d3b2(0xb0))['to'](this),this[_0x20d3b2(0xb5)][_0x20d3b2(0xa7)](this[_0x20d3b2(0xa9)]);}[_0x5120a5(0xb8)](){const _0x53fc77=_0x5120a5;let _0x8e81e4=0x0;for(const _0x18e788 of this[_0x53fc77(0xb5)])_0x8e81e4+=_0x18e788[_0x53fc77(0xb5)][_0x53fc77(0xad)];return{'resultsCount':_0x8e81e4,'totalItemsCount':_0x8e81e4};}[_0x5120a5(0xab)](){const _0x54dad5=_0x5120a5,_0x568444=this[_0x54dad5(0xb2)],_0x49a962=new _0x447535(this[_0x54dad5(0xb2)]);return _0x49a962[_0x54dad5(0xaa)]({'label':'('+_0xdff216(_0x568444,_0x54dad5(0xb6))+')','withText':!0x0}),_0x49a962['on'](_0x54dad5(0xb0),()=>this[_0x54dad5(0xb7)](_0x54dad5(0xa8))),_0x49a962;}}
23
+ const _0x521b4d=_0xc293;function _0xc293(_0x468696,_0x220814){const _0x5126db=_0x5126();return _0xc293=function(_0xc2934e,_0x4de165){_0xc2934e=_0xc2934e-0x1eb;let _0x3766ca=_0x5126db[_0xc2934e];return _0x3766ca;},_0xc293(_0x468696,_0x220814);}(function(_0x1ae7c2,_0x5c8e3a){const _0x5e57dc=_0xc293,_0x2da470=_0x1ae7c2();while(!![]){try{const _0x2ecaab=-parseInt(_0x5e57dc(0x1f8))/0x1+-parseInt(_0x5e57dc(0x1fe))/0x2*(parseInt(_0x5e57dc(0x1fc))/0x3)+parseInt(_0x5e57dc(0x1f1))/0x4*(parseInt(_0x5e57dc(0x1f7))/0x5)+-parseInt(_0x5e57dc(0x1ff))/0x6+-parseInt(_0x5e57dc(0x1fd))/0x7+-parseInt(_0x5e57dc(0x200))/0x8*(parseInt(_0x5e57dc(0x1f4))/0x9)+parseInt(_0x5e57dc(0x1fb))/0xa;if(_0x2ecaab===_0x5c8e3a)break;else _0x2da470['push'](_0x2da470['shift']());}catch(_0x670113){_0x2da470['push'](_0x2da470['shift']());}}}(_0x5126,0xb6f8e));import{ListView as _0x212568,ListItemGroupView as _0x2a4aac,ButtonView as _0x350888}from'ckeditor5/src/ui.js';function _0x5126(){const _0x3e0f5d=['826425tKGeGI','set','locale','32559530WpgHpY','424119emnztE','4775617GrurMf','6kgirTK','7966362CkpsTT','6392YukFYl','length','historyGroupView','Prompt\x20history','clearHistory','delegate','add','_createClearHistoryButton','execute','filter','items','fire','12jrNIVL','children','label','7146oersVA','clearHistoryButton','Clear','2314015DoPXqw'];_0x5126=function(){return _0x3e0f5d;};return _0x5126();}import{getTranslation as _0x1a93ab}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x212568{[_0x521b4d(0x202)];[_0x521b4d(0x1f5)];constructor(_0x4c0b53){const _0x2f90ad=_0x521b4d;super(_0x4c0b53),this[_0x2f90ad(0x1f5)]=this[_0x2f90ad(0x1ec)](),this[_0x2f90ad(0x202)]=new _0x2a4aac(),this[_0x2f90ad(0x202)][_0x2f90ad(0x1f2)][_0x2f90ad(0x1eb)](this[_0x2f90ad(0x1f5)],0x1),this[_0x2f90ad(0x202)][_0x2f90ad(0x1f3)]=_0x1a93ab(_0x4c0b53,_0x2f90ad(0x203)),this[_0x2f90ad(0x202)][_0x2f90ad(0x1ef)][_0x2f90ad(0x205)](_0x2f90ad(0x1ed))['to'](this),this[_0x2f90ad(0x1ef)][_0x2f90ad(0x1eb)](this[_0x2f90ad(0x202)]);}[_0x521b4d(0x1ee)](){const _0x4a99d1=_0x521b4d;let _0x425c79=0x0;for(const _0x1bccc5 of this[_0x4a99d1(0x1ef)])_0x425c79+=_0x1bccc5[_0x4a99d1(0x1ef)][_0x4a99d1(0x201)];return{'resultsCount':_0x425c79,'totalItemsCount':_0x425c79};}[_0x521b4d(0x1ec)](){const _0x1d3446=_0x521b4d,_0x5711db=this[_0x1d3446(0x1fa)],_0xbc65=new _0x350888(this[_0x1d3446(0x1fa)]);return _0xbc65[_0x1d3446(0x1f9)]({'label':'('+_0x1a93ab(_0x5711db,_0x1d3446(0x1f6))+')','withText':!0x0}),_0xbc65['on'](_0x1d3446(0x1ed),()=>this[_0x1d3446(0x1f0)](_0x1d3446(0x204))),_0xbc65;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4d29=_0x5f27;(function(_0x272838,_0x558aba){const _0x5c3e8c=_0x5f27,_0x3748a0=_0x272838();while(!![]){try{const _0x34fac2=-parseInt(_0x5c3e8c(0x179))/0x1+parseInt(_0x5c3e8c(0x178))/0x2+-parseInt(_0x5c3e8c(0x17a))/0x3+parseInt(_0x5c3e8c(0x183))/0x4+parseInt(_0x5c3e8c(0x17f))/0x5*(parseInt(_0x5c3e8c(0x188))/0x6)+-parseInt(_0x5c3e8c(0x187))/0x7+-parseInt(_0x5c3e8c(0x18a))/0x8*(parseInt(_0x5c3e8c(0x17b))/0x9);if(_0x34fac2===_0x558aba)break;else _0x3748a0['push'](_0x3748a0['shift']());}catch(_0x1ff904){_0x3748a0['push'](_0x3748a0['shift']());}}}(_0xe738,0xad98f));import{Collection as _0x24b41a}from'ckeditor5/src/utils.js';const So=_0x5d4d29(0x17c);function _0x5f27(_0x1655ed,_0x2b6003){const _0xe7382b=_0xe738();return _0x5f27=function(_0x5f27b8,_0x1d83d9){_0x5f27b8=_0x5f27b8-0x174;let _0x4160c3=_0xe7382b[_0x5f27b8];return _0x4160c3;},_0x5f27(_0x1655ed,_0x2b6003);}function _0xe738(){const _0x2c0bae=['865284gbTkSt','2862vXVIUp','add','3887240wuYQRZ','setItem','parse','addMany','stringify','remove','_saveToSessionStorage','2604498aujGqt','1042931kkxYFz','1090098LPHQwY','9oxTgue','CKEditor/AIFormView/PromptHistory','prompt','_loadFromSessionStorage','5205TLmCwf','length','map','getItem','3712252fnncAU','toLowerCase','trim','last'];_0xe738=function(){return _0x2c0bae;};return _0xe738();}export class PromptHistory extends _0x24b41a{constructor(){const _0x1087db=_0x5d4d29;super(),this[_0x1087db(0x17e)](),this['on'](_0x1087db(0x189),(_0xc7be3,_0x5a5429)=>{const _0x39f3dc=_0x1087db,_0x8272a4=go(_0x5a5429[_0x39f3dc(0x17d)]);for(const _0x2ce8db of this)if(_0x2ce8db!=_0x5a5429&&go(_0x2ce8db[_0x39f3dc(0x17d)])===_0x8272a4){this[_0x39f3dc(0x176)](_0x2ce8db);break;}this[_0x39f3dc(0x180)]>0x14&&this[_0x39f3dc(0x176)](this[_0x39f3dc(0x186)]),this[_0x39f3dc(0x177)]();}),this['on'](_0x1087db(0x176),()=>{const _0x2db957=_0x1087db;this[_0x2db957(0x177)]();});}[_0x5d4d29(0x17e)](){const _0x2ddbe2=_0x5d4d29,_0x2f89d1=sessionStorage[_0x2ddbe2(0x182)](So)||'[]';this[_0x2ddbe2(0x174)](JSON[_0x2ddbe2(0x18c)](_0x2f89d1));}[_0x5d4d29(0x177)](){const _0x460c57=_0x5d4d29;sessionStorage[_0x460c57(0x18b)](So,JSON[_0x460c57(0x175)](this[_0x460c57(0x181)](_0x27f8b3=>_0x27f8b3)));}}function go(_0x76de28){const _0x24b98c=_0x5d4d29;return _0x76de28[_0x24b98c(0x184)]()[_0x24b98c(0x185)]();}
23
+ function _0x2f62(_0x523c33,_0x82522d){const _0x3f4729=_0x3f47();return _0x2f62=function(_0x2f6271,_0x4d957c){_0x2f6271=_0x2f6271-0xb1;let _0x45c36d=_0x3f4729[_0x2f6271];return _0x45c36d;},_0x2f62(_0x523c33,_0x82522d);}const _0x55c68b=_0x2f62;(function(_0x1b59f5,_0x319b4f){const _0x4bdb59=_0x2f62,_0x45243=_0x1b59f5();while(!![]){try{const _0x3b0090=parseInt(_0x4bdb59(0xbe))/0x1+parseInt(_0x4bdb59(0xc0))/0x2*(-parseInt(_0x4bdb59(0xca))/0x3)+parseInt(_0x4bdb59(0xb1))/0x4+parseInt(_0x4bdb59(0xc4))/0x5*(parseInt(_0x4bdb59(0xc2))/0x6)+-parseInt(_0x4bdb59(0xc9))/0x7*(parseInt(_0x4bdb59(0xbd))/0x8)+parseInt(_0x4bdb59(0xcb))/0x9*(parseInt(_0x4bdb59(0xc3))/0xa)+parseInt(_0x4bdb59(0xbb))/0xb;if(_0x3b0090===_0x319b4f)break;else _0x45243['push'](_0x45243['shift']());}catch(_0x25e52d){_0x45243['push'](_0x45243['shift']());}}}(_0x3f47,0xc3875));import{Collection as _0x2883ad}from'ckeditor5/src/utils.js';function _0x3f47(){const _0x5deb3f=['trim','length','setItem','add','stringify','_saveToSessionStorage','29401559YkLcFI','remove','1721024WVyEeE','89110qIESgy','getItem','2wjQjQE','parse','21126MKzXcI','70qfmVBl','130JxgkwZ','addMany','toLowerCase','_loadFromSessionStorage','prompt','28JkKBvG','4790691CyaPtk','468009GvQvbT','163048qJLcLQ','last','map','CKEditor/AIFormView/PromptHistory'];_0x3f47=function(){return _0x5deb3f;};return _0x3f47();}const So=_0x55c68b(0xb4);export class PromptHistory extends _0x2883ad{constructor(){const _0x24b04b=_0x55c68b;super(),this[_0x24b04b(0xc7)](),this['on'](_0x24b04b(0xb8),(_0x14bc5e,_0x1cfd42)=>{const _0x4a5829=_0x24b04b,_0x52b661=go(_0x1cfd42[_0x4a5829(0xc8)]);for(const _0x32104b of this)if(_0x32104b!=_0x1cfd42&&go(_0x32104b[_0x4a5829(0xc8)])===_0x52b661){this[_0x4a5829(0xbc)](_0x32104b);break;}this[_0x4a5829(0xb6)]>0x14&&this[_0x4a5829(0xbc)](this[_0x4a5829(0xb2)]),this[_0x4a5829(0xba)]();}),this['on'](_0x24b04b(0xbc),()=>{const _0x1d7a4c=_0x24b04b;this[_0x1d7a4c(0xba)]();});}[_0x55c68b(0xc7)](){const _0xa6a179=_0x55c68b,_0x1d8922=sessionStorage[_0xa6a179(0xbf)](So)||'[]';this[_0xa6a179(0xc5)](JSON[_0xa6a179(0xc1)](_0x1d8922));}[_0x55c68b(0xba)](){const _0x26d253=_0x55c68b;sessionStorage[_0x26d253(0xb7)](So,JSON[_0x26d253(0xb9)](this[_0x26d253(0xb3)](_0x3cadd7=>_0x3cadd7)));}}function go(_0x48803b){const _0x4cc5b2=_0x55c68b;return _0x48803b[_0x4cc5b2(0xc6)]()[_0x4cc5b2(0xb5)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18753f=_0x30a4;(function(_0x17a50e,_0x10d386){const _0x1caabd=_0x30a4,_0x3a3365=_0x17a50e();while(!![]){try{const _0x3b6a80=parseInt(_0x1caabd(0x181))/0x1*(parseInt(_0x1caabd(0x174))/0x2)+-parseInt(_0x1caabd(0x180))/0x3*(-parseInt(_0x1caabd(0x17d))/0x4)+parseInt(_0x1caabd(0x187))/0x5+parseInt(_0x1caabd(0x177))/0x6+parseInt(_0x1caabd(0x18c))/0x7+-parseInt(_0x1caabd(0x17e))/0x8*(-parseInt(_0x1caabd(0x171))/0x9)+parseInt(_0x1caabd(0x18b))/0xa*(-parseInt(_0x1caabd(0x182))/0xb);if(_0x3b6a80===_0x10d386)break;else _0x3a3365['push'](_0x3a3365['shift']());}catch(_0x12064b){_0x3a3365['push'](_0x3a3365['shift']());}}}(_0x3022,0x2c48f));import{Command as _0x1c10ca}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2e73ae}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1c10ca{[_0x18753f(0x188)];constructor(_0x27e0b2,_0x58a641){const _0x1c9b50=_0x18753f;super(_0x27e0b2),this[_0x1c9b50(0x188)]=_0x58a641,this[_0x1c9b50(0x169)](_0x1c9b50(0x17b),[]),this['on'](_0x1c9b50(0x168),(_0x34faa2,_0x7d245d,_0x3e782c)=>{const _0x49fc92=_0x1c9b50;this[_0x49fc92(0x160)]&&(this[_0x49fc92(0x17b)]=ns(this[_0x49fc92(0x188)],_0x3e782c));}),this[_0x1c9b50(0x169)](_0x1c9b50(0x17f),!0x1),this['on'](_0x1c9b50(0x16c),(_0x209d1d,_0x5d8e72,_0x3f6ad8)=>{const _0x12888d=_0x1c9b50;this[_0x12888d(0x17b)]=_0x3f6ad8?ns(this[_0x12888d(0x188)],this[_0x12888d(0x17f)]):[];});}[_0x18753f(0x164)](){const _0x6c72d7=_0x18753f,_0x37405e=this[_0x6c72d7(0x179)][_0x6c72d7(0x16d)];this[_0x6c72d7(0x17f)]=function(_0x3418e4){const _0xdc4e37=_0x6c72d7,_0x2f2218=_0x3418e4[_0xdc4e37(0x173)][_0xdc4e37(0x163)];return _0x2f2218[_0xdc4e37(0x176)]?0x0!==[..._0x2f2218[_0xdc4e37(0x16f)]()][_0xdc4e37(0x167)]&&![..._0x2f2218[_0xdc4e37(0x16f)]()][0x0][_0xdc4e37(0x186)]:!!_0x3418e4[_0xdc4e37(0x170)](_0x2f2218[_0xdc4e37(0x166)]());}(_0x37405e);const _0xaf1de8=_0x37405e[_0x6c72d7(0x173)][_0x6c72d7(0x163)],_0x4ad7e0=this[_0x6c72d7(0x179)][_0x6c72d7(0x17c)][_0x6c72d7(0x189)](_0x6c72d7(0x17a));for(const _0x1d4452 of _0xaf1de8[_0x6c72d7(0x16e)]())for(const _0x5ba61b of _0x1d4452[_0x6c72d7(0x16b)]())if(_0x5ba61b['is'](_0x6c72d7(0x183))&&_0x4ad7e0[_0x6c72d7(0x18a)](_0x5ba61b[_0x6c72d7(0x165)]))return void(this[_0x6c72d7(0x160)]=!0x1);this[_0x6c72d7(0x160)]=!0x0;}[_0x18753f(0x161)](_0x11dc0c='',_0x2bd859='',_0x7e130b=_0x18753f(0x172)){const _0xd0bf2=_0x18753f;this[_0xd0bf2(0x179)][_0xd0bf2(0x185)][_0xd0bf2(0x189)](_0x2e73ae)[_0xd0bf2(0x162)](_0x11dc0c,_0x2bd859,_0x7e130b);}}function _0x30a4(_0x3da2da,_0x1df91e){const _0x30225f=_0x3022();return _0x30a4=function(_0x30a4d5,_0x283314){_0x30a4d5=_0x30a4d5-0x160;let _0x322e6=_0x30225f[_0x30a4d5];return _0x322e6;},_0x30a4(_0x3da2da,_0x1df91e);}function ns(_0x4b99ff,_0x4a6079){const _0x2305a7=_0x18753f,_0x4fe0c1=new Set();for(const _0x2e292b of _0x4b99ff[_0x2305a7(0x16a)]())(_0x4a6079||!0x1===_0x2e292b[_0x2305a7(0x178)])&&_0x4fe0c1[_0x2305a7(0x175)](_0x2e292b['id']);return Array[_0x2305a7(0x184)](_0x4fe0c1);}function _0x3022(){const _0x33ee13=['model','getRanges','getSelectedBlocks','hasContent','45PpjHSX','custom','document','30UxPtmt','add','isCollapsed','1774086qtSPxj','requiresContent','editor','ai.assistant.disabledElements','enabledCommandsIds','config','1324RnVvhu','45544tGaYvC','_hasContext','357yXxfVS','11549VDZJfC','569833BFweed','element','from','plugins','isEmpty','436900TuImuu','_commandDefinitions','get','includes','90xotXRx','164276luJKSI','isEnabled','execute','showUI','selection','refresh','name','getFirstRange','length','change:_hasContext','set','values','getItems','change:isEnabled'];_0x3022=function(){return _0x33ee13;};return _0x3022();}
23
+ const _0x4c49a8=_0x4f79;function _0x4f79(_0x425f6b,_0x42c46a){const _0x9b54ec=_0x9b54();return _0x4f79=function(_0x4f7916,_0x4a937b){_0x4f7916=_0x4f7916-0xfd;let _0x1c9fff=_0x9b54ec[_0x4f7916];return _0x1c9fff;},_0x4f79(_0x425f6b,_0x42c46a);}(function(_0x7c6069,_0xbc9d13){const _0x4e5de4=_0x4f79,_0x4caea1=_0x7c6069();while(!![]){try{const _0x16cd86=-parseInt(_0x4e5de4(0x114))/0x1+parseInt(_0x4e5de4(0x108))/0x2*(-parseInt(_0x4e5de4(0x110))/0x3)+parseInt(_0x4e5de4(0x104))/0x4*(-parseInt(_0x4e5de4(0x10a))/0x5)+-parseInt(_0x4e5de4(0x111))/0x6*(parseInt(_0x4e5de4(0x120))/0x7)+-parseInt(_0x4e5de4(0x117))/0x8+-parseInt(_0x4e5de4(0x102))/0x9*(-parseInt(_0x4e5de4(0x11a))/0xa)+parseInt(_0x4e5de4(0x10e))/0xb*(parseInt(_0x4e5de4(0x106))/0xc);if(_0x16cd86===_0xbc9d13)break;else _0x4caea1['push'](_0x4caea1['shift']());}catch(_0x2cfec4){_0x4caea1['push'](_0x4caea1['shift']());}}}(_0x9b54,0x1ad7c));function _0x9b54(){const _0x4b88b7=['45206djYSLq','plugins','change:_hasContext','650048TJzKpT','document','refresh','950qsYLgp','add','getFirstRange','getItems','_hasContext','requiresContent','371KGxuoQ','isCollapsed','execute','getSelectedBlocks','getRanges','isEmpty','model','element','includes','editor','from','set','values','ai.assistant.disabledElements','showUI','custom','17568PfDyzx','config','202808zCAMxb','selection','381228FMRXAb','get','50040ORROtg','length','5Lmlufm','change:isEnabled','_commandDefinitions','name','66vtnZpk','isEnabled','6eprsMd','4404HtUBkZ','hasContent','enabledCommandsIds'];_0x9b54=function(){return _0x4b88b7;};return _0x9b54();}import{Command as _0xf00cbb}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x820ddd}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0xf00cbb{[_0x4c49a8(0x10c)];constructor(_0x4df6ef,_0x5d3e1e){const _0x1ddf36=_0x4c49a8;super(_0x4df6ef),this[_0x1ddf36(0x10c)]=_0x5d3e1e,this[_0x1ddf36(0xfd)](_0x1ddf36(0x113),[]),this['on'](_0x1ddf36(0x116),(_0x463ba1,_0x29f65b,_0x93aeb)=>{const _0x4c1867=_0x1ddf36;this[_0x4c1867(0x10f)]&&(this[_0x4c1867(0x113)]=ns(this[_0x4c1867(0x10c)],_0x93aeb));}),this[_0x1ddf36(0xfd)](_0x1ddf36(0x11e),!0x1),this['on'](_0x1ddf36(0x10b),(_0x5a8e19,_0x198599,_0x14e2a8)=>{const _0x2d48f5=_0x1ddf36;this[_0x2d48f5(0x113)]=_0x14e2a8?ns(this[_0x2d48f5(0x10c)],this[_0x2d48f5(0x11e)]):[];});}[_0x4c49a8(0x119)](){const _0x16f3b8=_0x4c49a8,_0xffc50d=this[_0x16f3b8(0x129)][_0x16f3b8(0x126)];this[_0x16f3b8(0x11e)]=function(_0x3ff2a4){const _0x55fee7=_0x16f3b8,_0x4b4412=_0x3ff2a4[_0x55fee7(0x118)][_0x55fee7(0x105)];return _0x4b4412[_0x55fee7(0x121)]?0x0!==[..._0x4b4412[_0x55fee7(0x123)]()][_0x55fee7(0x109)]&&![..._0x4b4412[_0x55fee7(0x123)]()][0x0][_0x55fee7(0x125)]:!!_0x3ff2a4[_0x55fee7(0x112)](_0x4b4412[_0x55fee7(0x11c)]());}(_0xffc50d);const _0x1d47ef=_0xffc50d[_0x16f3b8(0x118)][_0x16f3b8(0x105)],_0x450661=this[_0x16f3b8(0x129)][_0x16f3b8(0x103)][_0x16f3b8(0x107)](_0x16f3b8(0xff));for(const _0x4538e1 of _0x1d47ef[_0x16f3b8(0x124)]())for(const _0x3919b5 of _0x4538e1[_0x16f3b8(0x11d)]())if(_0x3919b5['is'](_0x16f3b8(0x127))&&_0x450661[_0x16f3b8(0x128)](_0x3919b5[_0x16f3b8(0x10d)]))return void(this[_0x16f3b8(0x10f)]=!0x1);this[_0x16f3b8(0x10f)]=!0x0;}[_0x4c49a8(0x122)](_0x292d49='',_0xc0697='',_0x5e2ed5=_0x4c49a8(0x101)){const _0x38f4f9=_0x4c49a8;this[_0x38f4f9(0x129)][_0x38f4f9(0x115)][_0x38f4f9(0x107)](_0x820ddd)[_0x38f4f9(0x100)](_0x292d49,_0xc0697,_0x5e2ed5);}}function ns(_0x4c6b04,_0x4e3752){const _0x3e854d=_0x4c49a8,_0x38a3c6=new Set();for(const _0x511180 of _0x4c6b04[_0x3e854d(0xfe)]())(_0x4e3752||!0x1===_0x511180[_0x3e854d(0x11f)])&&_0x38a3c6[_0x3e854d(0x11b)](_0x511180['id']);return Array[_0x3e854d(0x12a)](_0x38a3c6);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xe714be,_0x3b684a,_0x1f5784){const t=_0xe714be['t'];switch(_0x3b684a){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',_0x1f5784);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1f5784);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'},_0x1f5784);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_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3b684a;}}
23
+ export function getTranslation(_0x343e25,_0x157d5d,_0x5375fa){const t=_0x343e25['t'];switch(_0x157d5d){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',_0x5375fa);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5375fa);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'},_0x5375fa);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_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x157d5d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x48cf2c,_0x5c890b){const _0x4b60c9=(0x0,_0x5c890b['t'])('Other');return _0x48cf2c['length']?'groupId'in _0x48cf2c[0x0]?_0x48cf2c:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4b60c9,'order':0x1/0x0,'commands':_0x48cf2c}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4b60c9,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x423b56,_0x5ef814){const _0xf69d26=(0x0,_0x5ef814['t'])('Other');return _0x423b56['length']?'groupId'in _0x423b56[0x0]?_0x423b56:[{'groupId':'_ungrouppedCommands','groupLabel':_0xf69d26,'order':0x1/0x0,'commands':_0x423b56}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xf69d26,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x62be6a=_0x5a93;(function(_0x4328a9,_0x181191){const _0x504630=_0x5a93,_0x593101=_0x4328a9();while(!![]){try{const _0x94895a=-parseInt(_0x504630(0x1dd))/0x1*(parseInt(_0x504630(0x1bb))/0x2)+parseInt(_0x504630(0x1a8))/0x3*(parseInt(_0x504630(0x1bf))/0x4)+parseInt(_0x504630(0x1d2))/0x5+parseInt(_0x504630(0x1ad))/0x6*(parseInt(_0x504630(0x1b9))/0x7)+parseInt(_0x504630(0x188))/0x8+parseInt(_0x504630(0x1c8))/0x9*(-parseInt(_0x504630(0x1d9))/0xa)+-parseInt(_0x504630(0x1d7))/0xb*(parseInt(_0x504630(0x1c1))/0xc);if(_0x94895a===_0x181191)break;else _0x593101['push'](_0x593101['shift']());}catch(_0x53a2b0){_0x593101['push'](_0x593101['shift']());}}}(_0x38f7,0xc9169));import{ContextPlugin as _0x1dfae9}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x39bf77,AIEditing as _0x50f544}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0xe6ef9d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x2eb79e,Rect as _0x2a32f3,scrollViewportToShowTarget as _0x26da8c}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x46e437}from'../aicore/utils/geteditorfromcontext.js';function _0x5a93(_0x551e57,_0x40d697){const _0x38f7f4=_0x38f7();return _0x5a93=function(_0x5a93d2,_0x199ccd){_0x5a93d2=_0x5a93d2-0x183;let _0x14beb1=_0x38f7f4[_0x5a93d2];return _0x14beb1;},_0x5a93(_0x551e57,_0x40d697);}import{getTranslation as _0xff879f}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x517d46}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x517d46,_0x62be6a(0x190),_0x62be6a(0x1db)];const $=0xa;function _0x38f7(){const _0x2c2109=['isEqual','root','ai-balloon-','left','show','885664LPOQHp','width','editing','showFakeVisualSelection','rootName','isPremiumPlugin','beforeDialogClosed','getBoundingRect','dialogClosed','height','index','model','plugins','window','_cleanupFakeVisualSelectionMarkerRemovalListener','differ','change','round','bind','end','_hideFakeVisualSelection','hideError','stopListening','pluginName','_getSelectionElements','isOfficialPlugin','isOpen','updatePosition','filter','max','_updateDialog','_calculateDialogPosition','1095054HhrKsQ','AI_BALLOON_SELECTION_REMOVED_ERROR','ai-balloon-selection','ai-selection','_showFakeVisualSelection','163596nLJtgY','_setupFakeVisualSelectionMarkerRemovalListener','bottom','ranges','open','label','length','once','delegate','hideFakeVisualSelection','_calculateOptimalTopPosition','getChangedMarkers','280NnmFxx','iconView','319882EFfXVr','get','top','_isUpdatingMarkers','12Aldhrp','getIntersection','492TkLdEt','Dialog','getVisible','_showDialog','getMarkersGroup','headerView','markers','9aDKCtK','requires','startsWith','fire','context','map','content','document','mainView','start','5697635ZmUMlJ','$graveyard','hide','high','listenTo','353518MsQXDL','ck-ai-balloon\x20','8147910ziySnc','_currentConfig','selectionRemoved','AIBalloon','3wXLMlz','locale','showBlockingError','view','close'];_0x38f7=function(){return _0x2c2109;};return _0x38f7();}export class AIBalloon extends _0x1dfae9{static get[_0x62be6a(0x1c9)](){return[_0x50f544];}static get[_0x62be6a(0x19f)](){const _0x20c51c=_0x62be6a;return _0x20c51c(0x1dc);}static get[_0x62be6a(0x1a1)](){return!0x0;}static get[_0x62be6a(0x18d)](){return!0x0;}[_0x62be6a(0x1a2)]=!0x1;[_0x62be6a(0x1da)];[_0x62be6a(0x1be)]=!0x1;[_0x62be6a(0x1b1)](_0x489173){const _0x4fc641=_0x62be6a,{id:_0x5518da}=this[_0x4fc641(0x1da)]??{};this[_0x4fc641(0x1da)]=_0x489173;const {id:_0x48668d}=this[_0x4fc641(0x1da)];this[_0x4fc641(0x1a2)]&&_0x5518da===_0x48668d?this[_0x4fc641(0x1a6)]():this[_0x4fc641(0x1c4)]();}[_0x62be6a(0x1e1)](){const _0x4e628d=_0x62be6a,_0x377e6c=_0x46e437(this[_0x4e628d(0x1cc)])[_0x4e628d(0x194)][_0x4e628d(0x1bc)](_0x4e628d(0x1c2));_0x377e6c[_0x4e628d(0x1a2)]&&this[_0x4e628d(0x1da)]&&_0x377e6c['id']===this[_0x4e628d(0x1da)]['id']&&_0x377e6c[_0x4e628d(0x1d4)]();}[_0x62be6a(0x1a6)](){const _0x4bd88d=_0x62be6a,_0x9e8ed8=_0x46e437(this[_0x4bd88d(0x1cc)])[_0x4bd88d(0x194)][_0x4bd88d(0x1bc)](_0x4bd88d(0x1c2)),{icon:_0x107f04,title:_0x1fa8ab}=this[_0x4bd88d(0x1da)];_0x9e8ed8[_0x4bd88d(0x1e0)]?.[_0x4bd88d(0x1c6)]&&(_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1b2)]=_0x1fa8ab,_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1ba)]&&_0x107f04&&(_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1ba)][_0x4bd88d(0x1ce)]=_0x107f04)),this[_0x4bd88d(0x1be)]=!0x0,this[_0x4bd88d(0x1ac)](),this[_0x4bd88d(0x1be)]=!0x1,_0x9e8ed8[_0x4bd88d(0x1e0)]?.[_0x4bd88d(0x1a3)]();}[_0x62be6a(0x1ac)](){const _0x205eb0=_0x62be6a;this[_0x205eb0(0x1cc)][_0x205eb0(0x194)][_0x205eb0(0x1bc)](_0x50f544)[_0x205eb0(0x18b)](this[_0x205eb0(0x1da)][_0x205eb0(0x1b0)],_0x205eb0(0x185)+this[_0x205eb0(0x1da)][_0x205eb0(0x192)],!0x0,!0x0);}[_0x62be6a(0x19c)](_0x1b6e90){const _0x52c315=_0x62be6a;this[_0x52c315(0x1cc)][_0x52c315(0x194)][_0x52c315(0x1bc)](_0x50f544)[_0x52c315(0x1b6)](_0x52c315(0x185)+_0x1b6e90);}[_0x62be6a(0x1c4)](){const _0x2ba58b=_0x62be6a,_0x236ceb=_0x46e437(this[_0x2ba58b(0x1cc)])[_0x2ba58b(0x194)][_0x2ba58b(0x1bc)](_0x2ba58b(0x1c2)),{id:_0x53c746,title:_0x263a76,icon:_0x2df962,class:_0x218384,mainView:_0x235d9f}=this[_0x2ba58b(0x1da)];_0x235d9f[_0x2ba58b(0x1b5)](..._0x517d46)['to'](this),_0x236ceb[_0x2ba58b(0x187)]({'title':_0x263a76,'icon':_0x2df962,'hasCloseButton':!0x0,'id':_0x53c746,'position':this[_0x2ba58b(0x1a7)][_0x2ba58b(0x19a)](this),'className':_0x2ba58b(0x1d8)+(_0x218384||''),'content':_0x235d9f,'onShow':_0x21b3a2=>{const _0x5724cd=_0x2ba58b;this[_0x5724cd(0x1ac)](),this[_0x5724cd(0x1ae)]();const _0x2c21fa=this[_0x5724cd(0x1a0)]();_0x2c21fa&&_0x2c21fa[0x0]&&_0x26da8c({'target':_0x2c21fa[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x5724cd(0x1a2)]=!0x0,_0x21b3a2[_0x5724cd(0x1b4)](_0x5724cd(0x1d4),()=>{const _0x1c4b8b=_0x5724cd;this[_0x1c4b8b(0x1cb)](_0x1c4b8b(0x18e),{'id':_0x53c746});},{'priority':_0x5724cd(0x1d5)});},'onHide':()=>{const _0x49def7=_0x2ba58b;this[_0x49def7(0x19c)](this[_0x49def7(0x1da)][_0x49def7(0x192)]),this[_0x49def7(0x196)](),this[_0x49def7(0x1cb)](_0x49def7(0x190),{'id':_0x53c746}),this[_0x49def7(0x1a2)]=!0x1;}});}[_0x62be6a(0x1a7)](_0x43640d,_0x1c5e0a){const _0x369bac=_0x62be6a;if(!_0x1c5e0a)return null;const _0x8f0b34=this[_0x369bac(0x1a0)]();if(!_0x8f0b34||0x0===_0x8f0b34[_0x369bac(0x1b3)])return{'left':Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x186)]+_0x1c5e0a[_0x369bac(0x189)]/0x2-_0x43640d[_0x369bac(0x189)]/0x2),'top':Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x1bd)]+_0x1c5e0a[_0x369bac(0x191)]/0x2-_0x43640d[_0x369bac(0x191)]/0x2)};const _0x136b99=Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x186)]+_0x1c5e0a[_0x369bac(0x189)]/0x2-_0x43640d[_0x369bac(0x189)]/0x2),_0x33ea64=_0x8f0b34[_0x369bac(0x1cd)](_0x237067=>new _0x2a32f3(_0x237067)),_0x38f98b=_0x43640d[_0x369bac(0x191)];return{'left':_0x136b99,'top':this[_0x369bac(0x1b7)](_0x33ea64,_0x38f98b,_0x1c5e0a)};}[_0x62be6a(0x1b7)](_0x3868ca,_0x3d5850,_0x4065c3){const _0x181d47=_0x62be6a,_0x1a9eb2=new _0x2a32f3(_0x2eb79e[_0x181d47(0x195)]),_0x1e7b75=_0x3868ca[_0x181d47(0x1cd)](_0x463616=>_0x463616[_0x181d47(0x1c3)]())[_0x181d47(0x1a4)](_0xa2fae4=>_0xa2fae4),_0x22b888=_0x2a32f3[_0x181d47(0x18f)](_0x1e7b75);if(!_0x22b888)return Math[_0x181d47(0x199)](_0x4065c3[_0x181d47(0x1bd)]+_0x4065c3[_0x181d47(0x191)]/0x2);const _0x1bf579=_0x1a9eb2[_0x181d47(0x1c0)](_0x22b888);if(!_0x1bf579)return Math[_0x181d47(0x199)](_0x4065c3[_0x181d47(0x1bd)]+_0x4065c3[_0x181d47(0x191)]/0x2);const _0x505bf2=_0x4065c3[_0x181d47(0x1c3)](),_0x2b74f3=_0x505bf2&&_0x22b888[_0x181d47(0x191)]>_0x505bf2[_0x181d47(0x191)],_0x49b2c1=_0x1bf579[_0x181d47(0x1bd)],_0x5bfc82=_0x1bf579[_0x181d47(0x1af)];if(_0x2b74f3){const _0x350bdb=(_0x505bf2||_0x1a9eb2)[_0x181d47(0x191)]/0x2-_0x3d5850/0x2,_0x4a6f8e=_0x49b2c1-$-_0x4065c3[_0x181d47(0x1bd)],_0x386213=_0x4065c3[_0x181d47(0x1af)]-_0x5bfc82-$;return _0x4a6f8e>=_0x3d5850?Math[_0x181d47(0x1a5)]($,_0x49b2c1-_0x3d5850-$):_0x386213>=_0x3d5850?_0x5bfc82+$:Math[_0x181d47(0x1a5)]($,_0x350bdb);}const _0x3363e3=_0x49b2c1-_0x3d5850,_0x53ef0e=_0x4065c3[_0x181d47(0x1af)]-_0x5bfc82-$,_0x6f3397=_0x49b2c1-$-_0x4065c3[_0x181d47(0x1bd)];let _0x1df00e;if(_0x53ef0e>=_0x3d5850)_0x1df00e=_0x5bfc82+$;else{if(_0x6f3397>=_0x3d5850)_0x1df00e=_0x3363e3-$;else _0x1df00e=_0x49b2c1+_0x22b888[_0x181d47(0x191)]/0x2-_0x3d5850/0x2;}return _0x1df00e;}[_0x62be6a(0x1ae)](){const _0x432e4e=_0x62be6a,_0x4e7195=_0x46e437(this[_0x432e4e(0x1cc)]);this[_0x432e4e(0x1d6)](_0x4e7195[_0x432e4e(0x193)][_0x432e4e(0x1cf)],_0x432e4e(0x198),()=>{const _0x103f10=_0x432e4e;if(!this[_0x103f10(0x1be)]){for(const {name:_0x47a1d0,data:{newRange:_0x61953c}}of _0x4e7195[_0x103f10(0x193)][_0x103f10(0x1cf)][_0x103f10(0x197)][_0x103f10(0x1b8)]())if(_0x47a1d0[_0x103f10(0x1ca)](_0x39bf77+':')&&(_0x61953c&&(_0x61953c[_0x103f10(0x1d1)][_0x103f10(0x183)](_0x61953c[_0x103f10(0x19b)])||_0x103f10(0x1d3)==_0x61953c[_0x103f10(0x184)][_0x103f10(0x18c)])||null==_0x61953c)){const _0x1206dd=_0xff879f(this[_0x103f10(0x1cc)][_0x103f10(0x1de)],_0x103f10(0x1a9));this[_0x103f10(0x1da)][_0x103f10(0x1d0)][_0x103f10(0x1df)](_0x1206dd),this[_0x103f10(0x1cb)](_0x103f10(0x1db));}}});}[_0x62be6a(0x196)](){const _0x5c58b1=_0x62be6a,_0x24acb7=_0x46e437(this[_0x5c58b1(0x1cc)]);this[_0x5c58b1(0x1da)][_0x5c58b1(0x1d0)][_0x5c58b1(0x19d)](),this[_0x5c58b1(0x19e)](_0x24acb7[_0x5c58b1(0x193)][_0x5c58b1(0x1cf)]);}[_0x62be6a(0x1a0)](){const _0x566525=_0x62be6a,_0x2d7195=_0x46e437(this[_0x566525(0x1cc)]);return _0xe6ef9d(_0x2d7195[_0x566525(0x18a)],[..._0x2d7195[_0x566525(0x193)][_0x566525(0x1c7)][_0x566525(0x1c5)](_0x566525(0x1ab)),..._0x2d7195[_0x566525(0x193)][_0x566525(0x1c7)][_0x566525(0x1c5)](_0x566525(0x1aa))]);}}
23
+ const _0xc10673=_0x24c5;function _0x108e(){const _0x1e16f7=['_currentConfig','316818HhrmVN','hideFakeVisualSelection','showBlockingError','index','editing','ai-balloon-','context','ai-selection','getIntersection','length','map','isOfficialPlugin','230vjSyDu','ck-ai-balloon\x20','top','left','close','max','pluginName','end','_showFakeVisualSelection','2bwbVaM','window','showFakeVisualSelection','146429cBTnRN','stopListening','_cleanupFakeVisualSelectionMarkerRemovalListener','listenTo','high','_isUpdatingMarkers','iconView','_getSelectionElements','startsWith','_setupFakeVisualSelectionMarkerRemovalListener','change','4136608qIGxFr','mainView','requires','8886544TDLqTq','width','_hideFakeVisualSelection','plugins','getMarkersGroup','283665QIwGPk','_updateDialog','getChangedMarkers','AIBalloon','fire','document','view','differ','content','selectionRemoved','_calculateOptimalTopPosition','8RAEgzp','bind','22AOOXGM','get','getVisible','getBoundingRect','headerView','isEqual','updatePosition','AI_BALLOON_SELECTION_REMOVED_ERROR','bottom','10386012KiYcyX','show','model','round','dialogClosed','delegate','ai-balloon-selection','hideError','hide','open','_calculateDialogPosition','root','isOpen','start','isPremiumPlugin','ranges','_showDialog','label','beforeDialogClosed','height','438063bEvZNV','once','42ZCEoQf','locale','Dialog','rootName','filter','markers','$graveyard'];_0x108e=function(){return _0x1e16f7;};return _0x108e();}(function(_0x2a4d20,_0x1379bb){const _0x409856=_0x24c5,_0x23d63d=_0x2a4d20();while(!![]){try{const _0x1c4d79=-parseInt(_0x409856(0x1a6))/0x1*(parseInt(_0x409856(0x1a3))/0x2)+parseInt(_0x409856(0x184))/0x3*(parseInt(_0x409856(0x1c4))/0x4)+parseInt(_0x409856(0x1b9))/0x5*(-parseInt(_0x409856(0x186))/0x6)+-parseInt(_0x409856(0x1b1))/0x7+-parseInt(_0x409856(0x1b4))/0x8+-parseInt(_0x409856(0x18e))/0x9*(-parseInt(_0x409856(0x19a))/0xa)+parseInt(_0x409856(0x1c6))/0xb*(parseInt(_0x409856(0x1cf))/0xc);if(_0x1c4d79===_0x1379bb)break;else _0x23d63d['push'](_0x23d63d['shift']());}catch(_0x5aabb9){_0x23d63d['push'](_0x23d63d['shift']());}}}(_0x108e,0x8f668));import{ContextPlugin as _0x465e5b}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1957c5,AIEditing as _0x45bccf}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5c5e04}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24c5(_0x398e7d,_0x14c106){const _0x108eca=_0x108e();return _0x24c5=function(_0x24c5c9,_0x5984a2){_0x24c5c9=_0x24c5c9-0x178;let _0x2f27d0=_0x108eca[_0x24c5c9];return _0x2f27d0;},_0x24c5(_0x398e7d,_0x14c106);}import{global as _0x25068e,Rect as _0x5f3a6b,scrollViewportToShowTarget as _0x2e2e97}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x519810}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3058bc}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x2e196a}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x2e196a,_0xc10673(0x1d3),_0xc10673(0x1c2)];const $=0xa;export class AIBalloon extends _0x465e5b{static get[_0xc10673(0x1b3)](){return[_0x45bccf];}static get[_0xc10673(0x1a0)](){const _0x12cae1=_0xc10673;return _0x12cae1(0x1bc);}static get[_0xc10673(0x199)](){return!0x0;}static get[_0xc10673(0x17e)](){return!0x0;}[_0xc10673(0x17c)]=!0x1;[_0xc10673(0x18d)];[_0xc10673(0x1ab)]=!0x1;[_0xc10673(0x179)](_0x2b2bae){const _0x1f0fd8=_0xc10673,{id:_0x3647b5}=this[_0x1f0fd8(0x18d)]??{};this[_0x1f0fd8(0x18d)]=_0x2b2bae;const {id:_0x1002f0}=this[_0x1f0fd8(0x18d)];this[_0x1f0fd8(0x17c)]&&_0x3647b5===_0x1002f0?this[_0x1f0fd8(0x1ba)]():this[_0x1f0fd8(0x180)]();}[_0xc10673(0x19e)](){const _0x2baee2=_0xc10673,_0x43cfd4=_0x519810(this[_0x2baee2(0x194)])[_0x2baee2(0x1b7)][_0x2baee2(0x1c7)](_0x2baee2(0x188));_0x43cfd4[_0x2baee2(0x17c)]&&this[_0x2baee2(0x18d)]&&_0x43cfd4['id']===this[_0x2baee2(0x18d)]['id']&&_0x43cfd4[_0x2baee2(0x178)]();}[_0xc10673(0x1ba)](){const _0x3adb81=_0xc10673,_0x3902b2=_0x519810(this[_0x3adb81(0x194)])[_0x3adb81(0x1b7)][_0x3adb81(0x1c7)](_0x3adb81(0x188)),{icon:_0x25f8f1,title:_0xe1f90a}=this[_0x3adb81(0x18d)];_0x3902b2[_0x3adb81(0x1bf)]?.[_0x3adb81(0x1ca)]&&(_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x181)]=_0xe1f90a,_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x1ac)]&&_0x25f8f1&&(_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x1ac)][_0x3adb81(0x1c1)]=_0x25f8f1)),this[_0x3adb81(0x1ab)]=!0x0,this[_0x3adb81(0x1a2)](),this[_0x3adb81(0x1ab)]=!0x1,_0x3902b2[_0x3adb81(0x1bf)]?.[_0x3adb81(0x1cc)]();}[_0xc10673(0x1a2)](){const _0x2edabb=_0xc10673;this[_0x2edabb(0x194)][_0x2edabb(0x1b7)][_0x2edabb(0x1c7)](_0x45bccf)[_0x2edabb(0x1a5)](this[_0x2edabb(0x18d)][_0x2edabb(0x17f)],_0x2edabb(0x193)+this[_0x2edabb(0x18d)][_0x2edabb(0x191)],!0x0,!0x0);}[_0xc10673(0x1b6)](_0xf6b588){const _0x155e53=_0xc10673;this[_0x155e53(0x194)][_0x155e53(0x1b7)][_0x155e53(0x1c7)](_0x45bccf)[_0x155e53(0x18f)](_0x155e53(0x193)+_0xf6b588);}[_0xc10673(0x180)](){const _0x505e57=_0xc10673,_0x1b1239=_0x519810(this[_0x505e57(0x194)])[_0x505e57(0x1b7)][_0x505e57(0x1c7)](_0x505e57(0x188)),{id:_0x1dfa4e,title:_0x4ed2e6,icon:_0x939bd6,class:_0x4d3a2f,mainView:_0x249606}=this[_0x505e57(0x18d)];_0x249606[_0x505e57(0x1d4)](..._0x2e196a)['to'](this),_0x1b1239[_0x505e57(0x1d0)]({'title':_0x4ed2e6,'icon':_0x939bd6,'hasCloseButton':!0x0,'id':_0x1dfa4e,'position':this[_0x505e57(0x17a)][_0x505e57(0x1c5)](this),'className':_0x505e57(0x19b)+(_0x4d3a2f||''),'content':_0x249606,'onShow':_0x29bdeb=>{const _0x2b8632=_0x505e57;this[_0x2b8632(0x1a2)](),this[_0x2b8632(0x1af)]();const _0x30ae6a=this[_0x2b8632(0x1ad)]();_0x30ae6a&&_0x30ae6a[0x0]&&_0x2e2e97({'target':_0x30ae6a[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x2b8632(0x17c)]=!0x0,_0x29bdeb[_0x2b8632(0x185)](_0x2b8632(0x178),()=>{const _0x52d134=_0x2b8632;this[_0x52d134(0x1bd)](_0x52d134(0x182),{'id':_0x1dfa4e});},{'priority':_0x2b8632(0x1aa)});},'onHide':()=>{const _0x468330=_0x505e57;this[_0x468330(0x1b6)](this[_0x468330(0x18d)][_0x468330(0x191)]),this[_0x468330(0x1a8)](),this[_0x468330(0x1bd)](_0x468330(0x1d3),{'id':_0x1dfa4e}),this[_0x468330(0x17c)]=!0x1;}});}[_0xc10673(0x17a)](_0x2ab68e,_0x353b65){const _0x17cc17=_0xc10673;if(!_0x353b65)return null;const _0xa313fb=this[_0x17cc17(0x1ad)]();if(!_0xa313fb||0x0===_0xa313fb[_0x17cc17(0x197)])return{'left':Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19d)]+_0x353b65[_0x17cc17(0x1b5)]/0x2-_0x2ab68e[_0x17cc17(0x1b5)]/0x2),'top':Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19c)]+_0x353b65[_0x17cc17(0x183)]/0x2-_0x2ab68e[_0x17cc17(0x183)]/0x2)};const _0x1234e9=Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19d)]+_0x353b65[_0x17cc17(0x1b5)]/0x2-_0x2ab68e[_0x17cc17(0x1b5)]/0x2),_0x362504=_0xa313fb[_0x17cc17(0x198)](_0xaf1a4a=>new _0x5f3a6b(_0xaf1a4a)),_0x4628e2=_0x2ab68e[_0x17cc17(0x183)];return{'left':_0x1234e9,'top':this[_0x17cc17(0x1c3)](_0x362504,_0x4628e2,_0x353b65)};}[_0xc10673(0x1c3)](_0xed8859,_0x44ee6f,_0x401e54){const _0x233233=_0xc10673,_0x5ce77c=new _0x5f3a6b(_0x25068e[_0x233233(0x1a4)]),_0x57e471=_0xed8859[_0x233233(0x198)](_0x1a1f42=>_0x1a1f42[_0x233233(0x1c8)]())[_0x233233(0x18a)](_0x2d52bb=>_0x2d52bb),_0x150df3=_0x5f3a6b[_0x233233(0x1c9)](_0x57e471);if(!_0x150df3)return Math[_0x233233(0x1d2)](_0x401e54[_0x233233(0x19c)]+_0x401e54[_0x233233(0x183)]/0x2);const _0x45cf5b=_0x5ce77c[_0x233233(0x196)](_0x150df3);if(!_0x45cf5b)return Math[_0x233233(0x1d2)](_0x401e54[_0x233233(0x19c)]+_0x401e54[_0x233233(0x183)]/0x2);const _0x101196=_0x401e54[_0x233233(0x1c8)](),_0x229998=_0x101196&&_0x150df3[_0x233233(0x183)]>_0x101196[_0x233233(0x183)],_0x5b9cc0=_0x45cf5b[_0x233233(0x19c)],_0x75caf8=_0x45cf5b[_0x233233(0x1ce)];if(_0x229998){const _0x45f840=(_0x101196||_0x5ce77c)[_0x233233(0x183)]/0x2-_0x44ee6f/0x2,_0x1b4d23=_0x5b9cc0-$-_0x401e54[_0x233233(0x19c)],_0x32c90f=_0x401e54[_0x233233(0x1ce)]-_0x75caf8-$;return _0x1b4d23>=_0x44ee6f?Math[_0x233233(0x19f)]($,_0x5b9cc0-_0x44ee6f-$):_0x32c90f>=_0x44ee6f?_0x75caf8+$:Math[_0x233233(0x19f)]($,_0x45f840);}const _0x551d47=_0x5b9cc0-_0x44ee6f,_0x1eaf37=_0x401e54[_0x233233(0x1ce)]-_0x75caf8-$,_0x4cd2ab=_0x5b9cc0-$-_0x401e54[_0x233233(0x19c)];let _0x306c23;if(_0x1eaf37>=_0x44ee6f)_0x306c23=_0x75caf8+$;else{if(_0x4cd2ab>=_0x44ee6f)_0x306c23=_0x551d47-$;else _0x306c23=_0x5b9cc0+_0x150df3[_0x233233(0x183)]/0x2-_0x44ee6f/0x2;}return _0x306c23;}[_0xc10673(0x1af)](){const _0x5547be=_0xc10673,_0x4581fb=_0x519810(this[_0x5547be(0x194)]);this[_0x5547be(0x1a9)](_0x4581fb[_0x5547be(0x1d1)][_0x5547be(0x1be)],_0x5547be(0x1b0),()=>{const _0x1e7ccf=_0x5547be;if(!this[_0x1e7ccf(0x1ab)]){for(const {name:_0x57feee,data:{newRange:_0x51ee68}}of _0x4581fb[_0x1e7ccf(0x1d1)][_0x1e7ccf(0x1be)][_0x1e7ccf(0x1c0)][_0x1e7ccf(0x1bb)]())if(_0x57feee[_0x1e7ccf(0x1ae)](_0x1957c5+':')&&(_0x51ee68&&(_0x51ee68[_0x1e7ccf(0x17d)][_0x1e7ccf(0x1cb)](_0x51ee68[_0x1e7ccf(0x1a1)])||_0x1e7ccf(0x18c)==_0x51ee68[_0x1e7ccf(0x17b)][_0x1e7ccf(0x189)])||null==_0x51ee68)){const _0x58abad=_0x3058bc(this[_0x1e7ccf(0x194)][_0x1e7ccf(0x187)],_0x1e7ccf(0x1cd));this[_0x1e7ccf(0x18d)][_0x1e7ccf(0x1b2)][_0x1e7ccf(0x190)](_0x58abad),this[_0x1e7ccf(0x1bd)](_0x1e7ccf(0x1c2));}}});}[_0xc10673(0x1a8)](){const _0x5c815d=_0xc10673,_0x352d5e=_0x519810(this[_0x5c815d(0x194)]);this[_0x5c815d(0x18d)][_0x5c815d(0x1b2)][_0x5c815d(0x1d6)](),this[_0x5c815d(0x1a7)](_0x352d5e[_0x5c815d(0x1d1)][_0x5c815d(0x1be)]);}[_0xc10673(0x1ad)](){const _0x4f2447=_0xc10673,_0x144f6d=_0x519810(this[_0x4f2447(0x194)]);return _0x5c5e04(_0x144f6d[_0x4f2447(0x192)],[..._0x144f6d[_0x4f2447(0x1d1)][_0x4f2447(0x18b)][_0x4f2447(0x1b8)](_0x4f2447(0x195)),..._0x144f6d[_0x4f2447(0x1d1)][_0x4f2447(0x18b)][_0x4f2447(0x1b8)](_0x4f2447(0x1d5))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x413a97=_0x2461;function _0x14a5(){const _0x2bc243=['9psmdHQ','setTemplate','applySuggestion','2SOjXhh','191032YjqLEa','hideError','ck-ai-suggestion__error','showError','showNext','2678430EiWSQy','ck-ai-suggestion__error-text','_isErrorVisible','_errorView','insertSuggestion','_createErrorView','set','ck-ai-balloon-error','bindTemplate','ck-hidden','div','7183484PVhPvF','locale','3040000BVBqaN','_errorMessage','2197784xRryry','showPrevious','showBlockingError','span','85233bCUEqZ','1324344hVkQgu'];_0x14a5=function(){return _0x2bc243;};return _0x14a5();}function _0x2461(_0x1e1942,_0x2a2a4b){const _0x14a553=_0x14a5();return _0x2461=function(_0x24619b,_0x53dfae){_0x24619b=_0x24619b-0x92;let _0x19abde=_0x14a553[_0x24619b];return _0x19abde;},_0x2461(_0x1e1942,_0x2a2a4b);}(function(_0x2b84f3,_0x478e63){const _0xc9d4cc=_0x2461,_0x4d5b36=_0x2b84f3();while(!![]){try{const _0x1367cf=-parseInt(_0xc9d4cc(0xa6))/0x1+-parseInt(_0xc9d4cc(0xa5))/0x2*(parseInt(_0xc9d4cc(0xa0))/0x3)+parseInt(_0xc9d4cc(0x9a))/0x4+-parseInt(_0xc9d4cc(0xab))/0x5+-parseInt(_0xc9d4cc(0xa1))/0x6+parseInt(_0xc9d4cc(0x98))/0x7+parseInt(_0xc9d4cc(0x9c))/0x8*(-parseInt(_0xc9d4cc(0xa2))/0x9);if(_0x1367cf===_0x478e63)break;else _0x4d5b36['push'](_0x4d5b36['shift']());}catch(_0x2aa823){_0x4d5b36['push'](_0x4d5b36['shift']());}}}(_0x14a5,0x82c54));import{View as _0x2da722}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x413a97(0xa4),_0x413a97(0xaf),_0x413a97(0xaa),_0x413a97(0x9d)];export class AIBalloonView extends _0x2da722{[_0x413a97(0xae)];constructor(_0x435939){const _0x1d07f3=_0x413a97;super(_0x435939),this[_0x1d07f3(0x93)](_0x1d07f3(0x9b),''),this[_0x1d07f3(0x93)](_0x1d07f3(0xad),!0x1);}[_0x413a97(0x9e)](_0x16ed77){const _0x585772=_0x413a97;this[_0x585772(0xa9)](_0x16ed77);}[_0x413a97(0xa9)](_0x5c57a4){const _0x34a572=_0x413a97;this[_0x34a572(0xae)]||(this[_0x34a572(0xae)]=this[_0x34a572(0x92)]()),this[_0x34a572(0x9b)]=_0x5c57a4,this[_0x34a572(0xad)]=!0x0;}[_0x413a97(0xa7)](){const _0x333452=_0x413a97;this[_0x333452(0xad)]=!0x1;}[_0x413a97(0x92)](){const _0x442c91=_0x413a97,_0x291730=new _0x2da722(this[_0x442c91(0x99)]),_0x175820=new _0x2da722(this[_0x442c91(0x99)]);return _0x175820[_0x442c91(0xa3)]({'tag':_0x442c91(0x9f),'attributes':{'class':['ck',_0x442c91(0xac)]},'children':[{'text':this[_0x442c91(0x95)]['to'](_0x442c91(0x9b))}]}),_0x291730[_0x442c91(0xa3)]({'tag':_0x442c91(0x97),'attributes':{'class':['ck',_0x442c91(0xa8),_0x442c91(0x94),this[_0x442c91(0x95)]['if'](_0x442c91(0xad),_0x442c91(0x96),_0x38b101=>!_0x38b101)]},'children':[_0x175820]}),_0x291730;}}
23
+ const _0x581fcc=_0x13db;(function(_0x7e4752,_0x3cc0cf){const _0x2362b1=_0x13db,_0x34d122=_0x7e4752();while(!![]){try{const _0x119d6f=-parseInt(_0x2362b1(0xbd))/0x1*(parseInt(_0x2362b1(0xb0))/0x2)+-parseInt(_0x2362b1(0xb7))/0x3+-parseInt(_0x2362b1(0xba))/0x4*(parseInt(_0x2362b1(0xbf))/0x5)+parseInt(_0x2362b1(0xb5))/0x6*(-parseInt(_0x2362b1(0xa7))/0x7)+parseInt(_0x2362b1(0xb4))/0x8*(parseInt(_0x2362b1(0xc3))/0x9)+-parseInt(_0x2362b1(0xb6))/0xa+-parseInt(_0x2362b1(0xb1))/0xb*(-parseInt(_0x2362b1(0xad))/0xc);if(_0x119d6f===_0x3cc0cf)break;else _0x34d122['push'](_0x34d122['shift']());}catch(_0x2a6913){_0x34d122['push'](_0x34d122['shift']());}}}(_0x4faa,0x57269));import{View as _0x12a0ba}from'ckeditor5/src/ui.js';function _0x4faa(){const _0x5bd0a9=['1759648iQyklD','54LutjUN','766510EPnOBY','2039178Xorsov','_createErrorView','ck-ai-balloon-error','64zCNhjm','_errorMessage','hideError','498938MazxuA','ck-ai-suggestion__error-text','131245FuEaPV','set','showPrevious','showError','18DsDqAe','applySuggestion','div','showBlockingError','setTemplate','481117aVITwS','ck-hidden','showNext','insertSuggestion','span','bindTemplate','312132kzURvW','locale','_errorView','2SyESSL','935FrQkzv','_isErrorVisible','ck-ai-suggestion__error'];_0x4faa=function(){return _0x5bd0a9;};return _0x4faa();}function _0x13db(_0x61bf0c,_0x6bccf6){const _0x4faaea=_0x4faa();return _0x13db=function(_0x13db7a,_0x2ecef9){_0x13db7a=_0x13db7a-0xa5;let _0x121419=_0x4faaea[_0x13db7a];return _0x121419;},_0x13db(_0x61bf0c,_0x6bccf6);}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x581fcc(0xc4),_0x581fcc(0xaa),_0x581fcc(0xa9),_0x581fcc(0xc1)];export class AIBalloonView extends _0x12a0ba{[_0x581fcc(0xaf)];constructor(_0xbdf703){const _0x54ad72=_0x581fcc;super(_0xbdf703),this[_0x54ad72(0xc0)](_0x54ad72(0xbb),''),this[_0x54ad72(0xc0)](_0x54ad72(0xb2),!0x1);}[_0x581fcc(0xa5)](_0xfef823){const _0x326146=_0x581fcc;this[_0x326146(0xc2)](_0xfef823);}[_0x581fcc(0xc2)](_0x48c196){const _0x2a42ac=_0x581fcc;this[_0x2a42ac(0xaf)]||(this[_0x2a42ac(0xaf)]=this[_0x2a42ac(0xb8)]()),this[_0x2a42ac(0xbb)]=_0x48c196,this[_0x2a42ac(0xb2)]=!0x0;}[_0x581fcc(0xbc)](){const _0x110f53=_0x581fcc;this[_0x110f53(0xb2)]=!0x1;}[_0x581fcc(0xb8)](){const _0x1409b5=_0x581fcc,_0x3fe9a1=new _0x12a0ba(this[_0x1409b5(0xae)]),_0x4ac245=new _0x12a0ba(this[_0x1409b5(0xae)]);return _0x4ac245[_0x1409b5(0xa6)]({'tag':_0x1409b5(0xab),'attributes':{'class':['ck',_0x1409b5(0xbe)]},'children':[{'text':this[_0x1409b5(0xac)]['to'](_0x1409b5(0xbb))}]}),_0x3fe9a1[_0x1409b5(0xa6)]({'tag':_0x1409b5(0xc5),'attributes':{'class':['ck',_0x1409b5(0xb3),_0x1409b5(0xb9),this[_0x1409b5(0xac)]['if'](_0x1409b5(0xb2),_0x1409b5(0xa8),_0xbb3860=>!_0xbb3860)]},'children':[_0x4ac245]}),_0x3fe9a1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x380ee5=_0x5146;function _0x5146(_0xf23319,_0x367e3d){var _0x39c5ae=_0x39c5();return _0x5146=function(_0x514693,_0x3e52cc){_0x514693=_0x514693-0x68;var _0x5359b6=_0x39c5ae[_0x514693];return _0x5359b6;},_0x5146(_0xf23319,_0x367e3d);}(function(_0x13d36f,_0x59eb49){var _0x427415=_0x5146,_0x3e4557=_0x13d36f();while(!![]){try{var _0x328c2f=parseInt(_0x427415(0x84))/0x1+-parseInt(_0x427415(0x80))/0x2+-parseInt(_0x427415(0x74))/0x3*(parseInt(_0x427415(0x6c))/0x4)+parseInt(_0x427415(0x82))/0x5+parseInt(_0x427415(0x6d))/0x6*(parseInt(_0x427415(0x6a))/0x7)+-parseInt(_0x427415(0x7f))/0x8*(parseInt(_0x427415(0x72))/0x9)+parseInt(_0x427415(0x7e))/0xa;if(_0x328c2f===_0x59eb49)break;else _0x3e4557['push'](_0x3e4557['shift']());}catch(_0x57e635){_0x3e4557['push'](_0x3e4557['shift']());}}}(_0x39c5,0x42520));import{ContextPlugin as _0x2eafb4}from'ckeditor5/src/core.js';import{AIChatController as _0x1a079d}from'./aichatcontroller.js';import{AIEditing as _0x26d08a}from'../aicore/aiediting.js';import{AIChatUI as _0x1a6a41}from'./aichatui.js';import{AIChatHistory as _0x4f9a35}from'../aichathistory/aichathistory.js';function _0x39c5(){var _0x3f9f15=['AIChat','startConversation','addSelectionToChatContext','focusPromptInput','ai.chat.context','get','define','removeSelectionFromChatContext','8666240SKXlQv','6920MjtnYG','284722RNYTwW','new','748720VyzJnX','isOfficialPlugin','637JgzPOC','ai.chat.initialConversation','context','sendMessage','28zoDmyX','registerToolDataCallback','12112rjSRek','5142CdNAhN','requires','isPremiumPlugin','_registerToolDataCallback','plugins','2592roVgWC','config','354ymUvoF','pluginName'];_0x39c5=function(){return _0x3f9f15;};return _0x39c5();}export class AIChat extends _0x2eafb4{static get[_0x380ee5(0x6e)](){return[_0x1a079d,_0x26d08a,_0x1a6a41,_0x4f9a35];}static get[_0x380ee5(0x75)](){var _0x502a64=_0x380ee5;return _0x502a64(0x76);}static get[_0x380ee5(0x83)](){return!0x0;}static get[_0x380ee5(0x6f)](){return!0x0;}constructor(_0x56f9dd){var _0x47ea30=_0x380ee5;super(_0x56f9dd),this[_0x47ea30(0x68)][_0x47ea30(0x73)][_0x47ea30(0x7c)](_0x47ea30(0x7a),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x47ea30(0x68)][_0x47ea30(0x73)][_0x47ea30(0x7c)](_0x47ea30(0x85),_0x47ea30(0x81));}async[_0x380ee5(0x78)](){var _0xcc257=_0x380ee5;await this[_0xcc257(0x68)][_0xcc257(0x71)][_0xcc257(0x7b)](_0x1a079d)[_0xcc257(0x78)]();}async[_0x380ee5(0x77)](){var _0x981f88=_0x380ee5;await this[_0x981f88(0x68)][_0x981f88(0x71)][_0x981f88(0x7b)](_0x1a079d)[_0x981f88(0x77)]();}async[_0x380ee5(0x69)]({message:_0x2fabae,attributes:_0x3d1600}){var _0x5a0bab=_0x380ee5;await this[_0x5a0bab(0x68)][_0x5a0bab(0x71)][_0x5a0bab(0x7b)](_0x1a079d)[_0x5a0bab(0x69)]({'message':_0x2fabae,'attributes':_0x3d1600});}[_0x380ee5(0x7d)](){var _0x1fee53=_0x380ee5;this[_0x1fee53(0x68)][_0x1fee53(0x71)][_0x1fee53(0x7b)](_0x1a079d)[_0x1fee53(0x7d)]();}[_0x380ee5(0x79)](){var _0x2b56b1=_0x380ee5;this[_0x2b56b1(0x68)][_0x2b56b1(0x71)][_0x2b56b1(0x7b)](_0x1a079d)[_0x2b56b1(0x79)]();}[_0x380ee5(0x6b)](_0x5a68c3){var _0x29a4cf=_0x380ee5;this[_0x29a4cf(0x68)][_0x29a4cf(0x71)][_0x29a4cf(0x7b)](_0x1a079d)[_0x29a4cf(0x70)](_0x5a68c3);}}
23
+ var _0x374024=_0xd5cb;(function(_0x5973ea,_0xe1829b){var _0x3ccd75=_0xd5cb,_0x1fa066=_0x5973ea();while(!![]){try{var _0xc205a7=-parseInt(_0x3ccd75(0x1e8))/0x1+-parseInt(_0x3ccd75(0x1e7))/0x2*(parseInt(_0x3ccd75(0x1eb))/0x3)+-parseInt(_0x3ccd75(0x1e3))/0x4+-parseInt(_0x3ccd75(0x1f1))/0x5+parseInt(_0x3ccd75(0x1dd))/0x6+-parseInt(_0x3ccd75(0x1d6))/0x7*(parseInt(_0x3ccd75(0x1dc))/0x8)+-parseInt(_0x3ccd75(0x1ef))/0x9*(-parseInt(_0x3ccd75(0x1df))/0xa);if(_0xc205a7===_0xe1829b)break;else _0x1fa066['push'](_0x1fa066['shift']());}catch(_0x202686){_0x1fa066['push'](_0x1fa066['shift']());}}}(_0x5486,0xbc647));import{ContextPlugin as _0x48b2a8}from'ckeditor5/src/core.js';function _0x5486(){var _0x136130=['AIChat','ai.chat.context','sendMessage','1637244AApjuD','new','registerToolDataCallback','requires','4QIWxGM','1374192aWxeiy','isOfficialPlugin','ai.chat.initialConversation','1208694RsCMNx','removeSelectionFromChatContext','config','context','42411429qbpMLc','startConversation','6649995vAkAwc','get','focusPromptInput','354249sIePPk','pluginName','define','_registerToolDataCallback','isPremiumPlugin','addSelectionToChatContext','120GBhtOw','4426062ZDRSGO','plugins','10wyzOCq'];_0x5486=function(){return _0x136130;};return _0x5486();}import{AIChatController as _0x245196}from'./aichatcontroller.js';import{AIEditing as _0x4a195f}from'../aicore/aiediting.js';import{AIChatUI as _0x54775e}from'./aichatui.js';import{AIChatHistory as _0x107aef}from'../aichathistory/aichathistory.js';function _0xd5cb(_0x525a1e,_0x351c80){var _0x5486b7=_0x5486();return _0xd5cb=function(_0xd5cb3f,_0x5a9a07){_0xd5cb3f=_0xd5cb3f-0x1d5;var _0x2512ae=_0x5486b7[_0xd5cb3f];return _0x2512ae;},_0xd5cb(_0x525a1e,_0x351c80);}export class AIChat extends _0x48b2a8{static get[_0x374024(0x1e6)](){return[_0x245196,_0x4a195f,_0x54775e,_0x107aef];}static get[_0x374024(0x1d7)](){var _0x5cf37b=_0x374024;return _0x5cf37b(0x1e0);}static get[_0x374024(0x1e9)](){return!0x0;}static get[_0x374024(0x1da)](){return!0x0;}constructor(_0x36312b){var _0x701b51=_0x374024;super(_0x36312b),this[_0x701b51(0x1ee)][_0x701b51(0x1ed)][_0x701b51(0x1d8)](_0x701b51(0x1e1),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x701b51(0x1ee)][_0x701b51(0x1ed)][_0x701b51(0x1d8)](_0x701b51(0x1ea),_0x701b51(0x1e4));}async[_0x374024(0x1db)](){var _0x19d8b4=_0x374024;await this[_0x19d8b4(0x1ee)][_0x19d8b4(0x1de)][_0x19d8b4(0x1f2)](_0x245196)[_0x19d8b4(0x1db)]();}async[_0x374024(0x1f0)](){var _0x40df24=_0x374024;await this[_0x40df24(0x1ee)][_0x40df24(0x1de)][_0x40df24(0x1f2)](_0x245196)[_0x40df24(0x1f0)]();}async[_0x374024(0x1e2)]({message:_0x4e92f5,attributes:_0x593e73}){var _0x12e40f=_0x374024;await this[_0x12e40f(0x1ee)][_0x12e40f(0x1de)][_0x12e40f(0x1f2)](_0x245196)[_0x12e40f(0x1e2)]({'message':_0x4e92f5,'attributes':_0x593e73});}[_0x374024(0x1ec)](){var _0x5cbbcb=_0x374024;this[_0x5cbbcb(0x1ee)][_0x5cbbcb(0x1de)][_0x5cbbcb(0x1f2)](_0x245196)[_0x5cbbcb(0x1ec)]();}[_0x374024(0x1d5)](){var _0x2e299a=_0x374024;this[_0x2e299a(0x1ee)][_0x2e299a(0x1de)][_0x2e299a(0x1f2)](_0x245196)[_0x2e299a(0x1d5)]();}[_0x374024(0x1e5)](_0x4b0e6f){var _0x4907e5=_0x374024;this[_0x4907e5(0x1ee)][_0x4907e5(0x1de)][_0x4907e5(0x1f2)](_0x245196)[_0x4907e5(0x1d9)](_0x4b0e6f);}}