@ckeditor/ckeditor5-ai 47.7.0-alpha.4 → 47.7.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/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.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14498a=_0x789b;(function(_0x2a05b8,_0x58498e){const _0x420714=_0x789b,_0x43534e=_0x2a05b8();while(!![]){try{const _0x3a74ff=parseInt(_0x420714(0x173))/0x1+-parseInt(_0x420714(0x15c))/0x2*(-parseInt(_0x420714(0x17c))/0x3)+-parseInt(_0x420714(0x131))/0x4*(-parseInt(_0x420714(0x159))/0x5)+parseInt(_0x420714(0x17e))/0x6*(-parseInt(_0x420714(0x180))/0x7)+-parseInt(_0x420714(0x15a))/0x8+parseInt(_0x420714(0x182))/0x9+-parseInt(_0x420714(0x174))/0xa;if(_0x3a74ff===_0x58498e)break;else _0x43534e['push'](_0x43534e['shift']());}catch(_0x1cacd2){_0x43534e['push'](_0x43534e['shift']());}}}(_0x5aa9,0xc54f1));import{global as _0x550598}from'ckeditor5/src/utils.js';import{View as _0xabb44e,ButtonView as _0x2f382a,SpinnerView as _0x152989}from'ckeditor5/src/ui.js';function _0x789b(_0x3dbe05,_0x19ed9e){const _0x5aa941=_0x5aa9();return _0x789b=function(_0x789b3c,_0x289bcf){_0x789b3c=_0x789b3c-0x130;let _0x143e02=_0x5aa941[_0x789b3c];return _0x143e02;},_0x789b(_0x3dbe05,_0x19ed9e);}import{IconCheck as _0x3ab2ed,IconCopy as _0x3618a7}from'ckeditor5/src/icons.js';import{getTranslation as _0x199401}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xabb44e{[_0x14498a(0x171)];[_0x14498a(0x160)];constructor(_0x490833,_0x3c8972=''){const _0x12e8ea=_0x14498a;super(_0x490833),this[_0x12e8ea(0x144)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1fc225=this[_0x12e8ea(0x145)];this[_0x12e8ea(0x171)]=new ContentFieldView(_0x490833,_0x3c8972),this[_0x12e8ea(0x160)]=this[_0x12e8ea(0x170)](),this[_0x12e8ea(0x163)]({'tag':_0x12e8ea(0x16d),'attributes':{'class':['ck',_0x12e8ea(0x16e),_0x1fc225['if'](_0x12e8ea(0x16b),_0x12e8ea(0x176),_0x52c898=>!_0x52c898)],'tabindex':'-1'},'children':[{'tag':_0x12e8ea(0x16d),'attributes':{'class':['ck',_0x12e8ea(0x150),_0x1fc225['if'](_0x12e8ea(0x179),_0x12e8ea(0x172))]},'children':[this[_0x12e8ea(0x171)],{'tag':_0x12e8ea(0x16d),'attributes':{'class':['ck',_0x12e8ea(0x15e)]},'children':[this[_0x12e8ea(0x160)]]}]}]});}[_0x14498a(0x175)](){const _0x4a8f52=_0x14498a;super[_0x4a8f52(0x175)](),this[_0x4a8f52(0x181)]&&this[_0x4a8f52(0x171)][_0x4a8f52(0x14c)](this[_0x4a8f52(0x181)]);let _0x4f495f=!0x1;this['on'](_0x4a8f52(0x148),(_0x4c682f,_0x2b6139,_0x6c7d52)=>{const _0x215344=_0x4a8f52,_0x28301e=!this[_0x215344(0x171)][_0x215344(0x183)][_0x215344(0x132)](_0x215344(0x154));this[_0x215344(0x171)][_0x215344(0x14c)](_0x6c7d52),this[_0x215344(0x179)]&&_0x28301e&&!_0x4f495f&&this[_0x215344(0x183)][_0x215344(0x16c)]({'top':this[_0x215344(0x183)][_0x215344(0x141)],'behavior':_0x215344(0x178)});}),this['on'](_0x4a8f52(0x146),(_0x7f4647,_0x5e7fb4,_0x121240)=>{const _0x3c2391=_0x4a8f52;_0x4f495f=!0x1,_0x121240?(this[_0x3c2391(0x181)]=null,this[_0x3c2391(0x171)][_0x3c2391(0x134)]()):this[_0x3c2391(0x181)]||this[_0x3c2391(0x171)][_0x3c2391(0x14c)]('');}),this[_0x4a8f52(0x139)](this[_0x4a8f52(0x183)],_0x4a8f52(0x13c),()=>{_0x4f495f=!0x0;}),this[_0x4a8f52(0x139)](this[_0x4a8f52(0x183)],_0x4a8f52(0x135),()=>{_0x4f495f=!0x0;});}[_0x14498a(0x14f)](){const _0x56ef78=_0x14498a;this[_0x56ef78(0x183)][_0x56ef78(0x14f)]();}[_0x14498a(0x170)](){const _0x35a700=_0x14498a,_0x2fa0f3=this[_0x35a700(0x16f)],_0x4453e3=new _0x2f382a(this[_0x35a700(0x16f)]),_0x4bd24c=_0x35a700(0x17a);return _0x4453e3[_0x35a700(0x144)]({'label':_0x199401(_0x2fa0f3,_0x35a700(0x14d)),'icon':_0x3618a7,'class':_0x4bd24c,'tooltip':!0x0}),_0x4453e3[_0x35a700(0x165)](_0x35a700(0x16b))['to'](this,_0x35a700(0x181),_0xf2f340=>!!_0xf2f340),_0x4453e3[_0x35a700(0x165)](_0x35a700(0x143))['to'](this,_0x35a700(0x179),_0x17987b=>!_0x17987b),_0x4453e3['on'](_0x35a700(0x147),()=>{const _0x2887d9=_0x35a700;this[_0x2887d9(0x149)](this[_0x2887d9(0x171)][_0x2887d9(0x183)]),_0x4453e3[_0x2887d9(0x162)]=_0x3ab2ed,_0x4453e3[_0x2887d9(0x156)]=_0x4bd24c+_0x2887d9(0x151),this[_0x2887d9(0x14f)](),setTimeout(()=>{const _0x4677b7=_0x2887d9;_0x4453e3[_0x4677b7(0x162)]=_0x3618a7,_0x4453e3[_0x4677b7(0x156)]=_0x4bd24c;},0x3e8);}),_0x4453e3;}[_0x14498a(0x149)](_0x12415d){const _0x36226d=_0x14498a,{window:_0xfeb116,document:_0x56ff9f}=_0x550598;if(_0xfeb116[_0x36226d(0x161)]){const {Blob:_0x90fd76,ClipboardItem:_0x5b27e8}=_0xfeb116,_0x4dd83f=[new _0x5b27e8({'text/html':new _0x90fd76([_0x12415d[_0x36226d(0x168)]],{'type':_0x36226d(0x13a)}),'text/plain':new _0x90fd76([_0x12415d[_0x36226d(0x158)]||''],{'type':_0x36226d(0x17b)})})];navigator[_0x36226d(0x14b)][_0x36226d(0x157)](_0x4dd83f);}else{const _0x179695=_0x56ff9f[_0x36226d(0x16a)](_0x36226d(0x16d));_0x179695[_0x36226d(0x17f)][_0x36226d(0x136)]=_0x36226d(0x184),_0x179695[_0x36226d(0x17f)][_0x36226d(0x17d)]=_0x36226d(0x166),_0x179695[_0x36226d(0x168)]=_0x36226d(0x153)+_0x12415d[_0x36226d(0x168)]+_0x36226d(0x13e),_0x56ff9f[_0x36226d(0x137)][_0x36226d(0x138)](_0x179695);const _0x46bbcc=_0x56ff9f[_0x36226d(0x133)]();_0x46bbcc[_0x36226d(0x167)](_0x179695[_0x36226d(0x15f)]),_0x46bbcc[_0x36226d(0x164)](_0x179695[_0x36226d(0x142)]);const _0x378390=_0xfeb116[_0x36226d(0x177)]();_0x378390[_0x36226d(0x14e)](),_0x378390[_0x36226d(0x13b)](_0x46bbcc),_0x56ff9f[_0x36226d(0x155)](_0x36226d(0x13f)),_0x179695[_0x36226d(0x15b)]();}}}function _0x5aa9(){const _0x1681e0=['8WtasHi','ck-ai-form__content-field','ck-ai-form__copy-button-wrapper','firstElementChild','copyButtonView','ClipboardItem','icon','setTemplate','setEndBefore','bind','-9999px','setStartAfter','innerHTML','AI\x20is\x20writing...','createElement','isVisible','scrollTo','div','ck-ai-form__content-area-wrapper','locale','_createCopyButton','contentFieldView','ck-ai-form__content-area--processing','802788hdbOrh','8133350XUVawO','render','ck-hidden','getSelection','smooth','isProcessing','ck-ai-form__copy-button','text/plain','729411iLqtNZ','left','18ODFciM','style','1465373cuFCbR','value','10525887elEvjq','element','absolute','ck-reset_all-excluded','18684aITIWE','querySelector','createRange','appendLoader','mousedown','position','body','appendChild','listenTo','text/html','addRange','wheel','ck-content','<span>]</span>','copy','_createLoader','scrollHeight','lastElementChild','isEnabled','set','bindTemplate','change:isProcessing','execute','change:value','_copyHTMLToClipboard','ck-ai-form__loader','clipboard','setContent','Copy','removeAllRanges','focus','ck-ai-form__content-area','\x20ck-ai-form__copy-button--copied','loaderView','<span>[</span>','.ck-ai-form__loader','execCommand','class','write','textContent','305oTtfDX','7842248ejAmRp','remove'];_0x5aa9=function(){return _0x1681e0;};return _0x5aa9();}export class ContentFieldView extends _0xabb44e{constructor(_0x226cd7,_0xc05317=''){const _0x2037f6=_0x14498a;super(_0x226cd7),this[_0x2037f6(0x152)]=this[_0x2037f6(0x140)](),this[_0x2037f6(0x163)]({'tag':_0x2037f6(0x16d),'attributes':{'class':['ck',_0x2037f6(0x13d),_0xc05317,_0x2037f6(0x130),_0x2037f6(0x15d)]}});}[_0x14498a(0x14c)](_0xd256d0){const _0x48990d=_0x14498a;this[_0x48990d(0x183)][_0x48990d(0x168)]=_0xd256d0;}[_0x14498a(0x134)](){const _0x1aa522=_0x14498a;this[_0x1aa522(0x183)][_0x1aa522(0x138)](this[_0x1aa522(0x152)][_0x1aa522(0x183)]);}[_0x14498a(0x140)](){const _0x5269c0=_0x14498a,_0x2bc4f7=new _0xabb44e(),_0x50152a=this[_0x5269c0(0x16f)],_0x1d7b3b=new _0x152989();return _0x1d7b3b[_0x5269c0(0x16b)]=!0x0,_0x2bc4f7[_0x5269c0(0x163)]({'tag':_0x5269c0(0x16d),'attributes':{'class':['ck',_0x5269c0(0x14a)]},'children':[_0x1d7b3b,{'text':_0x199401(_0x50152a,_0x5269c0(0x169))}]}),_0x2bc4f7[_0x5269c0(0x175)](),_0x2bc4f7;}}
23
+ const _0x5e752c=_0x1533;function _0x2a27(){const _0x1dec64=['276302LiHpXo','.ck-ai-form__loader','ck-ai-form__loader','wheel','innerHTML','element','render','locale','isEnabled','change:isProcessing','getSelection','2528537hLCJKM','setEndBefore','ClipboardItem','listenTo','ck-ai-form__content-area--processing','appendChild','icon','execCommand','_copyHTMLToClipboard','createElement','setContent','bindTemplate','ck-ai-form__content-field','left','smooth','setStartAfter','71466KQdHAg','AI\x20is\x20writing...','ck-hidden','style','\x20ck-ai-form__copy-button--copied','execute','removeAllRanges','ck-ai-form__copy-button-wrapper','loaderView','text/plain','isVisible','change:value','clipboard','ck-ai-form__content-area-wrapper','1745136UolalD','value','Copy','set','textContent','remove','9OhVQmo','_createCopyButton','ck-content','1670011HUilSB','ck-reset_all-excluded','write','class','ck-ai-form__content-area','isProcessing','addRange','focus','3084krlTDi','lastElementChild','bind','text/html','body','66TnoztJ','-9999px','<span>]</span>','mousedown','10xYeAuh','div','795hNJczO','querySelector','ck-ai-form__copy-button','firstElementChild','absolute','1158ROXGjN','position','_createLoader','contentFieldView','setTemplate','copyButtonView','appendLoader','copy','scrollTo','createRange','scrollHeight','<span>[</span>'];_0x2a27=function(){return _0x1dec64;};return _0x2a27();}(function(_0x50d144,_0x59c41b){const _0x9bb4bb=_0x1533,_0x1853c9=_0x50d144();while(!![]){try{const _0x25c5fb=-parseInt(_0x9bb4bb(0x20a))/0x1+parseInt(_0x9bb4bb(0x1ef))/0x2+-parseInt(_0x9bb4bb(0x1e3))/0x3*(-parseInt(_0x9bb4bb(0x1d3))/0x4)+-parseInt(_0x9bb4bb(0x1de))/0x5*(parseInt(_0x9bb4bb(0x1d8))/0x6)+parseInt(_0x9bb4bb(0x1cb))/0x7+parseInt(_0x9bb4bb(0x1c2))/0x8*(-parseInt(_0x9bb4bb(0x1c8))/0x9)+parseInt(_0x9bb4bb(0x1dc))/0xa*(-parseInt(_0x9bb4bb(0x1fa))/0xb);if(_0x25c5fb===_0x59c41b)break;else _0x1853c9['push'](_0x1853c9['shift']());}catch(_0xd51174){_0x1853c9['push'](_0x1853c9['shift']());}}}(_0x2a27,0x25612));import{global as _0x1ecab8}from'ckeditor5/src/utils.js';import{View as _0x87fa3a,ButtonView as _0x297387,SpinnerView as _0x1f5435}from'ckeditor5/src/ui.js';import{IconCheck as _0x4a9c22,IconCopy as _0x472154}from'ckeditor5/src/icons.js';import{getTranslation as _0x53f194}from'../../utils/common-translations.js';function _0x1533(_0x59491c,_0x4ae715){const _0x2a275e=_0x2a27();return _0x1533=function(_0x1533d7,_0x396456){_0x1533d7=_0x1533d7-0x1b5;let _0x63ad97=_0x2a275e[_0x1533d7];return _0x63ad97;},_0x1533(_0x59491c,_0x4ae715);}export class AIFormContentArea extends _0x87fa3a{[_0x5e752c(0x1e6)];[_0x5e752c(0x1e8)];constructor(_0x446dc1,_0x46ca2f=''){const _0x362ea9=_0x5e752c;super(_0x446dc1),this[_0x362ea9(0x1c5)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1c5941=this[_0x362ea9(0x205)];this[_0x362ea9(0x1e6)]=new ContentFieldView(_0x446dc1,_0x46ca2f),this[_0x362ea9(0x1e8)]=this[_0x362ea9(0x1c9)](),this[_0x362ea9(0x1e7)]({'tag':_0x362ea9(0x1dd),'attributes':{'class':['ck',_0x362ea9(0x1c1),_0x1c5941['if'](_0x362ea9(0x1be),_0x362ea9(0x1b6),_0x1eac7c=>!_0x1eac7c)],'tabindex':'-1'},'children':[{'tag':_0x362ea9(0x1dd),'attributes':{'class':['ck',_0x362ea9(0x1cf),_0x1c5941['if'](_0x362ea9(0x1d0),_0x362ea9(0x1fe))]},'children':[this[_0x362ea9(0x1e6)],{'tag':_0x362ea9(0x1dd),'attributes':{'class':['ck',_0x362ea9(0x1bb)]},'children':[this[_0x362ea9(0x1e8)]]}]}]});}[_0x5e752c(0x1f5)](){const _0x97cda5=_0x5e752c;super[_0x97cda5(0x1f5)](),this[_0x97cda5(0x1c3)]&&this[_0x97cda5(0x1e6)][_0x97cda5(0x204)](this[_0x97cda5(0x1c3)]);let _0x1963f9=!0x1;this['on'](_0x97cda5(0x1bf),(_0x2bc64a,_0x338f2d,_0x11746e)=>{const _0x4c31d9=_0x97cda5,_0x259c18=!this[_0x4c31d9(0x1e6)][_0x4c31d9(0x1f4)][_0x4c31d9(0x1df)](_0x4c31d9(0x1f0));this[_0x4c31d9(0x1e6)][_0x4c31d9(0x204)](_0x11746e),this[_0x4c31d9(0x1d0)]&&_0x259c18&&!_0x1963f9&&this[_0x4c31d9(0x1f4)][_0x4c31d9(0x1eb)]({'top':this[_0x4c31d9(0x1f4)][_0x4c31d9(0x1ed)],'behavior':_0x4c31d9(0x208)});}),this['on'](_0x97cda5(0x1f8),(_0x1eb37f,_0x5bc9f7,_0x19e3c7)=>{const _0x50bb95=_0x97cda5;_0x1963f9=!0x1,_0x19e3c7?(this[_0x50bb95(0x1c3)]=null,this[_0x50bb95(0x1e6)][_0x50bb95(0x1e9)]()):this[_0x50bb95(0x1c3)]||this[_0x50bb95(0x1e6)][_0x50bb95(0x204)]('');}),this[_0x97cda5(0x1fd)](this[_0x97cda5(0x1f4)],_0x97cda5(0x1f2),()=>{_0x1963f9=!0x0;}),this[_0x97cda5(0x1fd)](this[_0x97cda5(0x1f4)],_0x97cda5(0x1db),()=>{_0x1963f9=!0x0;});}[_0x5e752c(0x1d2)](){const _0xe8ceae=_0x5e752c;this[_0xe8ceae(0x1f4)][_0xe8ceae(0x1d2)]();}[_0x5e752c(0x1c9)](){const _0x3701d4=_0x5e752c,_0x24ed62=this[_0x3701d4(0x1f6)],_0x4206a7=new _0x297387(this[_0x3701d4(0x1f6)]),_0x1c736a=_0x3701d4(0x1e0);return _0x4206a7[_0x3701d4(0x1c5)]({'label':_0x53f194(_0x24ed62,_0x3701d4(0x1c4)),'icon':_0x472154,'class':_0x1c736a,'tooltip':!0x0}),_0x4206a7[_0x3701d4(0x1d5)](_0x3701d4(0x1be))['to'](this,_0x3701d4(0x1c3),_0x115668=>!!_0x115668),_0x4206a7[_0x3701d4(0x1d5)](_0x3701d4(0x1f7))['to'](this,_0x3701d4(0x1d0),_0x30ee24=>!_0x30ee24),_0x4206a7['on'](_0x3701d4(0x1b9),()=>{const _0x5e6f5a=_0x3701d4;this[_0x5e6f5a(0x202)](this[_0x5e6f5a(0x1e6)][_0x5e6f5a(0x1f4)]),_0x4206a7[_0x5e6f5a(0x200)]=_0x4a9c22,_0x4206a7[_0x5e6f5a(0x1ce)]=_0x1c736a+_0x5e6f5a(0x1b8),this[_0x5e6f5a(0x1d2)](),setTimeout(()=>{const _0x220847=_0x5e6f5a;_0x4206a7[_0x220847(0x200)]=_0x472154,_0x4206a7[_0x220847(0x1ce)]=_0x1c736a;},0x3e8);}),_0x4206a7;}[_0x5e752c(0x202)](_0x10f7e7){const _0x3f1d98=_0x5e752c,{window:_0x38dd93,document:_0x3d5bca}=_0x1ecab8;if(_0x38dd93[_0x3f1d98(0x1fc)]){const {Blob:_0x4a66ce,ClipboardItem:_0x2adbec}=_0x38dd93,_0xbc719b=[new _0x2adbec({'text/html':new _0x4a66ce([_0x10f7e7[_0x3f1d98(0x1f3)]],{'type':_0x3f1d98(0x1d6)}),'text/plain':new _0x4a66ce([_0x10f7e7[_0x3f1d98(0x1c6)]||''],{'type':_0x3f1d98(0x1bd)})})];navigator[_0x3f1d98(0x1c0)][_0x3f1d98(0x1cd)](_0xbc719b);}else{const _0x220d7b=_0x3d5bca[_0x3f1d98(0x203)](_0x3f1d98(0x1dd));_0x220d7b[_0x3f1d98(0x1b7)][_0x3f1d98(0x1e4)]=_0x3f1d98(0x1e2),_0x220d7b[_0x3f1d98(0x1b7)][_0x3f1d98(0x207)]=_0x3f1d98(0x1d9),_0x220d7b[_0x3f1d98(0x1f3)]=_0x3f1d98(0x1ee)+_0x10f7e7[_0x3f1d98(0x1f3)]+_0x3f1d98(0x1da),_0x3d5bca[_0x3f1d98(0x1d7)][_0x3f1d98(0x1ff)](_0x220d7b);const _0x548c3d=_0x3d5bca[_0x3f1d98(0x1ec)]();_0x548c3d[_0x3f1d98(0x209)](_0x220d7b[_0x3f1d98(0x1e1)]),_0x548c3d[_0x3f1d98(0x1fb)](_0x220d7b[_0x3f1d98(0x1d4)]);const _0x27cfe8=_0x38dd93[_0x3f1d98(0x1f9)]();_0x27cfe8[_0x3f1d98(0x1ba)](),_0x27cfe8[_0x3f1d98(0x1d1)](_0x548c3d),_0x3d5bca[_0x3f1d98(0x201)](_0x3f1d98(0x1ea)),_0x220d7b[_0x3f1d98(0x1c7)]();}}}export class ContentFieldView extends _0x87fa3a{constructor(_0x16bf22,_0x1aae35=''){const _0x30e16e=_0x5e752c;super(_0x16bf22),this[_0x30e16e(0x1bc)]=this[_0x30e16e(0x1e5)](),this[_0x30e16e(0x1e7)]({'tag':_0x30e16e(0x1dd),'attributes':{'class':['ck',_0x30e16e(0x1ca),_0x1aae35,_0x30e16e(0x1cc),_0x30e16e(0x206)]}});}[_0x5e752c(0x204)](_0x7a205){const _0x218962=_0x5e752c;this[_0x218962(0x1f4)][_0x218962(0x1f3)]=_0x7a205;}[_0x5e752c(0x1e9)](){const _0x2cded3=_0x5e752c;this[_0x2cded3(0x1f4)][_0x2cded3(0x1ff)](this[_0x2cded3(0x1bc)][_0x2cded3(0x1f4)]);}[_0x5e752c(0x1e5)](){const _0x387c12=_0x5e752c,_0x34cdbc=new _0x87fa3a(),_0x4e8b07=this[_0x387c12(0x1f6)],_0x5e1980=new _0x1f5435();return _0x5e1980[_0x387c12(0x1be)]=!0x0,_0x34cdbc[_0x387c12(0x1e7)]({'tag':_0x387c12(0x1dd),'attributes':{'class':['ck',_0x387c12(0x1f1)]},'children':[_0x5e1980,{'text':_0x53f194(_0x4e8b07,_0x387c12(0x1b5))}]}),_0x34cdbc[_0x387c12(0x1f5)](),_0x34cdbc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2ecf08,_0x50c10e){const _0x42ee26=_0x3bee,_0x5756ce=_0x2ecf08();while(!![]){try{const _0x56cb51=parseInt(_0x42ee26(0x1f8))/0x1+parseInt(_0x42ee26(0x1f2))/0x2+parseInt(_0x42ee26(0x1f9))/0x3+parseInt(_0x42ee26(0x1f6))/0x4*(parseInt(_0x42ee26(0x1ea))/0x5)+-parseInt(_0x42ee26(0x1f3))/0x6*(-parseInt(_0x42ee26(0x1ee))/0x7)+parseInt(_0x42ee26(0x1ef))/0x8+-parseInt(_0x42ee26(0x1ed))/0x9*(parseInt(_0x42ee26(0x1eb))/0xa);if(_0x56cb51===_0x50c10e)break;else _0x5756ce['push'](_0x5756ce['shift']());}catch(_0x247787){_0x5756ce['push'](_0x5756ce['shift']());}}}(_0x42cb,0xbc68f));function _0x3bee(_0x438286,_0x42acc8){const _0x42cbb2=_0x42cb();return _0x3bee=function(_0x3bee00,_0x30b2e5){_0x3bee00=_0x3bee00-0x1e9;let _0x10e972=_0x42cbb2[_0x3bee00];return _0x10e972;},_0x3bee(_0x438286,_0x42acc8);}import{IconError as _0x27c6c2}from'ckeditor5/src/icons.js';import{View as _0x39d73c,IconView as _0x2e3bd4}from'ckeditor5/src/ui.js';function _0x42cb(){const _0x5a50f5=['bindTemplate','1895HSjzjz','5342170TfxgRE','div','90fHvkzh','49LSDHda','6103200LITPHu','setTemplate','ck-ai-form__error','1589446lurjyI','779310vUBIEe','content','set','8408ZYJtoZ','text','1479280ZCTFcx','4113423geoSCp'];_0x42cb=function(){return _0x5a50f5;};return _0x42cb();}export class AIFormErrorView extends _0x39d73c{constructor(_0x3360a6,_0x2ad3ca=''){const _0xb32f86=_0x3bee;super(_0x3360a6);const _0x32cb7f=new _0x2e3bd4(),_0x3963b3=this[_0xb32f86(0x1e9)];this[_0xb32f86(0x1f5)](_0xb32f86(0x1f7),_0x2ad3ca),_0x32cb7f[_0xb32f86(0x1f4)]=_0x27c6c2,this[_0xb32f86(0x1f0)]({'tag':_0xb32f86(0x1ec),'attributes':{'class':['ck',_0xb32f86(0x1f1)]},'children':[_0x32cb7f,{'text':_0x3963b3['to'](_0xb32f86(0x1f7))}]});}}
23
+ (function(_0x32929e,_0x320f61){const _0x53410c=_0x1bf0,_0x568151=_0x32929e();while(!![]){try{const _0x25dc1e=-parseInt(_0x53410c(0x109))/0x1+parseInt(_0x53410c(0x10d))/0x2*(parseInt(_0x53410c(0x103))/0x3)+-parseInt(_0x53410c(0x106))/0x4+parseInt(_0x53410c(0x10a))/0x5*(parseInt(_0x53410c(0x101))/0x6)+-parseInt(_0x53410c(0x105))/0x7*(parseInt(_0x53410c(0x10c))/0x8)+parseInt(_0x53410c(0x100))/0x9*(-parseInt(_0x53410c(0x10e))/0xa)+parseInt(_0x53410c(0x111))/0xb;if(_0x25dc1e===_0x320f61)break;else _0x568151['push'](_0x568151['shift']());}catch(_0x1cd951){_0x568151['push'](_0x568151['shift']());}}}(_0x1cc3,0x52768));import{IconError as _0x270be6}from'ckeditor5/src/icons.js';import{View as _0x2c1184,IconView as _0x594da3}from'ckeditor5/src/ui.js';function _0x1cc3(){const _0x395438=['text','5595348oiUoJR','27207kmGDCN','281658qOjviB','bindTemplate','21729aCuQKC','content','427DagGxx','313924gjKSAN','setTemplate','ck-ai-form__error','614018JtUMjn','65jfdSwd','set','40928QveTdV','146SFgyRb','1010OHMgPe','div'];_0x1cc3=function(){return _0x395438;};return _0x1cc3();}function _0x1bf0(_0x546efe,_0x276d99){const _0x1cc316=_0x1cc3();return _0x1bf0=function(_0x1bf058,_0x32b1b4){_0x1bf058=_0x1bf058-0x100;let _0x59527f=_0x1cc316[_0x1bf058];return _0x59527f;},_0x1bf0(_0x546efe,_0x276d99);}export class AIFormErrorView extends _0x2c1184{constructor(_0x243f64,_0x20a7fa=''){const _0x3444f3=_0x1bf0;super(_0x243f64);const _0x310b57=new _0x594da3(),_0x347d07=this[_0x3444f3(0x102)];this[_0x3444f3(0x10b)](_0x3444f3(0x110),_0x20a7fa),_0x310b57[_0x3444f3(0x104)]=_0x270be6,this[_0x3444f3(0x107)]({'tag':_0x3444f3(0x10f),'attributes':{'class':['ck',_0x3444f3(0x108)]},'children':[_0x310b57,{'text':_0x347d07['to'](_0x3444f3(0x110))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x295877=_0x1242;(function(_0x23c957,_0x166cb5){const _0xfd93c5=_0x1242,_0x3b47e8=_0x23c957();while(!![]){try{const _0x96e205=-parseInt(_0xfd93c5(0x1a2))/0x1+parseInt(_0xfd93c5(0x1ab))/0x2*(parseInt(_0xfd93c5(0x1aa))/0x3)+-parseInt(_0xfd93c5(0x1b1))/0x4+parseInt(_0xfd93c5(0x1c1))/0x5+-parseInt(_0xfd93c5(0x1cc))/0x6+parseInt(_0xfd93c5(0x1ce))/0x7+parseInt(_0xfd93c5(0x1ac))/0x8*(-parseInt(_0xfd93c5(0x1c3))/0x9);if(_0x96e205===_0x166cb5)break;else _0x3b47e8['push'](_0x3b47e8['shift']());}catch(_0x4314ae){_0x3b47e8['push'](_0x3b47e8['shift']());}}}(_0xc44e,0x22003));import{Rect as _0x4ed871,global as _0x44b8e0,isVisible as _0x31df8d}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5bdae5,IconSubmit as _0xd388f8}from'ckeditor5/src/icons.js';function _0x1242(_0x39dd65,_0x3e286d){const _0xc44eec=_0xc44e();return _0x1242=function(_0x1242eb,_0x271e2b){_0x1242eb=_0x1242eb-0x19b;let _0xcd8fa=_0xc44eec[_0x1242eb];return _0xcd8fa;},_0x1242(_0x39dd65,_0x3e286d);}import{AutocompleteView as _0x1755b5,ButtonView as _0x13a25f}from'ckeditor5/src/ui.js';import{getTranslation as _0x31ef71}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1755b5{[_0x295877(0x19f)];[_0x295877(0x1c4)];constructor(_0x115e7f,_0x51f5a0){const _0x193a19=_0x295877;super(_0x115e7f,_0x51f5a0),this[_0x193a19(0x1a4)][_0x193a19(0x1d2)][_0x193a19(0x1d0)]=0x1,this[_0x193a19(0x1a4)][_0x193a19(0x1d2)][_0x193a19(0x1c2)]=0x3,this[_0x193a19(0x19f)]=this[_0x193a19(0x1b9)](),this[_0x193a19(0x1c4)]=this[_0x193a19(0x1a8)](),this[_0x193a19(0x19b)][_0x193a19(0x1b8)](this[_0x193a19(0x1c4)],0x1),this[_0x193a19(0x19b)][_0x193a19(0x1b8)](this[_0x193a19(0x19f)]);}[_0x295877(0x1a3)](){const _0x42fc1a=_0x295877;super[_0x42fc1a(0x1a3)](),this[_0x42fc1a(0x1a4)][_0x42fc1a(0x1ca)][_0x42fc1a(0x1b8)](this[_0x42fc1a(0x1c4)]),this[_0x42fc1a(0x1c5)][_0x42fc1a(0x1b8)](this[_0x42fc1a(0x19f)]),this[_0x42fc1a(0x1b4)][_0x42fc1a(0x1c8)](_0x42fc1a(0x1bd),(_0x7d67e9,_0x3328fe)=>{const _0x2d1c3d=_0x42fc1a;_0x7d67e9[_0x2d1c3d(0x1c6)]==this[_0x2d1c3d(0x1a4)][_0x2d1c3d(0x1d2)][_0x2d1c3d(0x1cb)]&&(this[_0x2d1c3d(0x19d)](),_0x3328fe());});}[_0x295877(0x1b9)](){const _0x2cb062=_0x295877,_0x5b0c1e=new _0x13a25f(this[_0x2cb062(0x1a1)]),_0x4c68f8=this[_0x2cb062(0x1a1)];return _0x5b0c1e[_0x2cb062(0x1c8)]({'icon':_0xd388f8,'label':_0x31ef71(_0x4c68f8,_0x2cb062(0x1ad)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2cb062(0x1bf)}),_0x5b0c1e['on'](_0x2cb062(0x1a6),()=>{const _0x5bb92d=_0x2cb062;this[_0x5bb92d(0x19d)]();}),_0x5b0c1e[_0x2cb062(0x1bb)](_0x2cb062(0x1b6))['to'](this[_0x2cb062(0x1a4)][_0x2cb062(0x1d2)],_0x2cb062(0x1b3),this,_0x2cb062(0x1b6),(_0x400c7e,_0x1835aa)=>!_0x400c7e&&_0x1835aa),_0x5b0c1e;}[_0x295877(0x1a8)](){const _0x3c4965=_0x295877,_0x2ff317=new _0x13a25f(this[_0x3c4965(0x1a1)]),_0x2135ed=this[_0x3c4965(0x1cf)],_0x482ad5=this[_0x3c4965(0x1a1)];_0x2ff317[_0x3c4965(0x1c8)]({'label':_0x31ef71(_0x482ad5,_0x3c4965(0x1b2)),'withText':!0x1,'icon':_0x5bdae5,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3c4965(0x1a0)}),_0x2ff317[_0x3c4965(0x1bb)](_0x3c4965(0x1c9))['to'](_0x2135ed,_0x3c4965(0x1a7)),_0x2ff317[_0x3c4965(0x1bb)](_0x3c4965(0x1b6))['to'](this,_0x3c4965(0x1b6)),_0x2ff317['on'](_0x3c4965(0x1a6),()=>{const _0x2868d8=_0x3c4965;_0x2135ed[_0x2868d8(0x1a7)]=!_0x2135ed[_0x2868d8(0x1a7)],_0x2135ed[_0x2868d8(0x1a7)]?this[_0x2868d8(0x1a9)][_0x2868d8(0x1ba)]():this[_0x2868d8(0x1ba)]();});const _0x3ed47f=()=>{const _0x251e4c=_0x3c4965;_0x44b8e0[_0x251e4c(0x19e)][_0x251e4c(0x1a5)](()=>{const _0x50f10e=_0x251e4c;if(_0x31df8d(this[_0x50f10e(0x1cb)])){const _0x386483=new _0x4ed871(this[_0x50f10e(0x1a4)][_0x50f10e(0x1d2)][_0x50f10e(0x1cb)]),_0x3b69f4=_0x386483[_0x50f10e(0x1d1)],_0x1880d8=_0x50f10e(0x1b0)===_0x482ad5[_0x50f10e(0x1c0)]?_0x50f10e(0x1bc):_0x50f10e(0x1c7);_0x386483[_0x50f10e(0x1ae)](),_0x2ff317[_0x50f10e(0x1cb)][_0x50f10e(0x1af)][_0x1880d8]=_0x3b69f4-_0x386483[_0x50f10e(0x1d1)]+0x1+'px';}});};return this[_0x3c4965(0x1a4)][_0x3c4965(0x1d2)]['on'](_0x3c4965(0x1b7),_0x3ed47f),this['on'](_0x3c4965(0x1a3),_0x3ed47f),_0x2ff317;}[_0x295877(0x19d)](){const _0x27ef3e=_0x295877,_0x295496=this[_0x27ef3e(0x1a4)][_0x27ef3e(0x1d2)][_0x27ef3e(0x1cb)][_0x27ef3e(0x1be)];this[_0x27ef3e(0x1cd)](_0x27ef3e(0x19d),_0x295496);}[_0x295877(0x1ba)](_0x10c10d){const _0x56648c=_0x295877;-0x1===_0x10c10d?this[_0x56648c(0x1b5)][_0x56648c(0x1d3)]():this[_0x56648c(0x1b5)][_0x56648c(0x19c)]();}}function _0xc44e(){const _0x4b2e41=['right','set','isOn','fieldWrapperChildren','element','853242sWtCUj','fire','1478183jbPlXc','resultsView','minRows','width','fieldView','focusLast','focusableChildren','focusFirst','submit','window','submitButtonView','ck-ai-form__toggle-history','locale','13896EtnEHd','render','queryView','requestAnimationFrame','execute','isVisible','_createShowHistoryButton','filteredView','46257OdHpYP','32LPbFaI','304dHByEb','Submit','excludeScrollbarsAndBorders','style','rtl','841584WJvOzh','History','isEmpty','keystrokes','focusCycler','isEnabled','update','add','_createSubmitButton','focus','bind','left','enter','value','ck-ai-form__submit','uiLanguageDirection','339975PfYyea','maxRows','4761xSdPko','showHistoryButtonView','children','target'];_0xc44e=function(){return _0x4b2e41;};return _0xc44e();}
23
+ const _0x120594=_0x2d9a;(function(_0x17b032,_0x180186){const _0xa10eb7=_0x2d9a,_0x1ae546=_0x17b032();while(!![]){try{const _0x345ef2=parseInt(_0xa10eb7(0x1b3))/0x1*(parseInt(_0xa10eb7(0x1ac))/0x2)+-parseInt(_0xa10eb7(0x1c3))/0x3*(parseInt(_0xa10eb7(0x1a5))/0x4)+parseInt(_0xa10eb7(0x191))/0x5*(parseInt(_0xa10eb7(0x197))/0x6)+parseInt(_0xa10eb7(0x1a0))/0x7*(parseInt(_0xa10eb7(0x1c1))/0x8)+parseInt(_0xa10eb7(0x1ad))/0x9*(-parseInt(_0xa10eb7(0x1b1))/0xa)+parseInt(_0xa10eb7(0x18e))/0xb+-parseInt(_0xa10eb7(0x1c2))/0xc;if(_0x345ef2===_0x180186)break;else _0x1ae546['push'](_0x1ae546['shift']());}catch(_0x202758){_0x1ae546['push'](_0x1ae546['shift']());}}}(_0x25c3,0xa49c2));function _0x2d9a(_0x28373e,_0x4bc72e){const _0x25c3b1=_0x25c3();return _0x2d9a=function(_0x2d9af3,_0x5d2535){_0x2d9af3=_0x2d9af3-0x18d;let _0x2b6512=_0x25c3b1[_0x2d9af3];return _0x2b6512;},_0x2d9a(_0x28373e,_0x4bc72e);}import{Rect as _0x1c6505,global as _0x262e33,isVisible as _0x49742e}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4da27e,IconSubmit as _0xdf680f}from'ckeditor5/src/icons.js';function _0x25c3(){const _0x4b329e=['isVisible','showHistoryButtonView','submitButtonView','418576oenTSx','23807496bRNivW','21jcZanb','fieldWrapperChildren','focus','minRows','filteredView','focusLast','_createSubmitButton','5849778GBDftr','execute','History','165VALXXT','element','update','submit','Submit','isOn','168090LsRQqk','fieldView','focusCycler','_createShowHistoryButton','style','children','ck-ai-form__toggle-history','left','requestAnimationFrame','77GNbSIY','locale','window','excludeScrollbarsAndBorders','bind','72272GtsOBT','right','ck-ai-form__submit','value','isEnabled','enter','isEmpty','2MzJQKT','2190915yXogUf','resultsView','add','focusFirst','10UMCRPx','queryView','996276qZHKsf','rtl','maxRows','render','focusableChildren','keystrokes','uiLanguageDirection','target','width','fire','set'];_0x25c3=function(){return _0x4b329e;};return _0x25c3();}import{AutocompleteView as _0xdbead2,ButtonView as _0x5778e8}from'ckeditor5/src/ui.js';import{getTranslation as _0x11d781}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xdbead2{[_0x120594(0x1c0)];[_0x120594(0x1bf)];constructor(_0x418c04,_0x5b8b0b){const _0x1b06bc=_0x120594;super(_0x418c04,_0x5b8b0b),this[_0x1b06bc(0x1b2)][_0x1b06bc(0x198)][_0x1b06bc(0x1c6)]=0x1,this[_0x1b06bc(0x1b2)][_0x1b06bc(0x198)][_0x1b06bc(0x1b5)]=0x3,this[_0x1b06bc(0x1c0)]=this[_0x1b06bc(0x18d)](),this[_0x1b06bc(0x1bf)]=this[_0x1b06bc(0x19a)](),this[_0x1b06bc(0x1b7)][_0x1b06bc(0x1af)](this[_0x1b06bc(0x1bf)],0x1),this[_0x1b06bc(0x1b7)][_0x1b06bc(0x1af)](this[_0x1b06bc(0x1c0)]);}[_0x120594(0x1b6)](){const _0x330c69=_0x120594;super[_0x330c69(0x1b6)](),this[_0x330c69(0x1b2)][_0x330c69(0x1c4)][_0x330c69(0x1af)](this[_0x330c69(0x1bf)]),this[_0x330c69(0x19c)][_0x330c69(0x1af)](this[_0x330c69(0x1c0)]),this[_0x330c69(0x1b8)][_0x330c69(0x1bd)](_0x330c69(0x1aa),(_0xdd4e36,_0x523860)=>{const _0xd866cb=_0x330c69;_0xdd4e36[_0xd866cb(0x1ba)]==this[_0xd866cb(0x1b2)][_0xd866cb(0x198)][_0xd866cb(0x192)]&&(this[_0xd866cb(0x194)](),_0x523860());});}[_0x120594(0x18d)](){const _0x384664=_0x120594,_0x2bad6c=new _0x5778e8(this[_0x384664(0x1a1)]),_0x346079=this[_0x384664(0x1a1)];return _0x2bad6c[_0x384664(0x1bd)]({'icon':_0xdf680f,'label':_0x11d781(_0x346079,_0x384664(0x195)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x384664(0x1a7)}),_0x2bad6c['on'](_0x384664(0x18f),()=>{const _0x99f26b=_0x384664;this[_0x99f26b(0x194)]();}),_0x2bad6c[_0x384664(0x1a4)](_0x384664(0x1a9))['to'](this[_0x384664(0x1b2)][_0x384664(0x198)],_0x384664(0x1ab),this,_0x384664(0x1a9),(_0xbc5169,_0x377bd7)=>!_0xbc5169&&_0x377bd7),_0x2bad6c;}[_0x120594(0x19a)](){const _0x4244a6=_0x120594,_0x16c29d=new _0x5778e8(this[_0x4244a6(0x1a1)]),_0x5136fc=this[_0x4244a6(0x1ae)],_0x32db7d=this[_0x4244a6(0x1a1)];_0x16c29d[_0x4244a6(0x1bd)]({'label':_0x11d781(_0x32db7d,_0x4244a6(0x190)),'withText':!0x1,'icon':_0x4da27e,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4244a6(0x19d)}),_0x16c29d[_0x4244a6(0x1a4)](_0x4244a6(0x196))['to'](_0x5136fc,_0x4244a6(0x1be)),_0x16c29d[_0x4244a6(0x1a4)](_0x4244a6(0x1a9))['to'](this,_0x4244a6(0x1a9)),_0x16c29d['on'](_0x4244a6(0x18f),()=>{const _0x372190=_0x4244a6;_0x5136fc[_0x372190(0x1be)]=!_0x5136fc[_0x372190(0x1be)],_0x5136fc[_0x372190(0x1be)]?this[_0x372190(0x1c7)][_0x372190(0x1c5)]():this[_0x372190(0x1c5)]();});const _0x5099a7=()=>{const _0xbb21d0=_0x4244a6;_0x262e33[_0xbb21d0(0x1a2)][_0xbb21d0(0x19f)](()=>{const _0x486c91=_0xbb21d0;if(_0x49742e(this[_0x486c91(0x192)])){const _0x2b40ec=new _0x1c6505(this[_0x486c91(0x1b2)][_0x486c91(0x198)][_0x486c91(0x192)]),_0x3dd05c=_0x2b40ec[_0x486c91(0x1bb)],_0x48b43d=_0x486c91(0x1b4)===_0x32db7d[_0x486c91(0x1b9)]?_0x486c91(0x19e):_0x486c91(0x1a6);_0x2b40ec[_0x486c91(0x1a3)](),_0x16c29d[_0x486c91(0x192)][_0x486c91(0x19b)][_0x48b43d]=_0x3dd05c-_0x2b40ec[_0x486c91(0x1bb)]+0x1+'px';}});};return this[_0x4244a6(0x1b2)][_0x4244a6(0x198)]['on'](_0x4244a6(0x193),_0x5099a7),this['on'](_0x4244a6(0x1b6),_0x5099a7),_0x16c29d;}[_0x120594(0x194)](){const _0x1dc25e=_0x120594,_0x26e10a=this[_0x1dc25e(0x1b2)][_0x1dc25e(0x198)][_0x1dc25e(0x192)][_0x1dc25e(0x1a8)];this[_0x1dc25e(0x1bc)](_0x1dc25e(0x194),_0x26e10a);}[_0x120594(0x1c5)](_0x3c1b92){const _0x20e837=_0x120594;-0x1===_0x3c1b92?this[_0x20e837(0x199)][_0x20e837(0x1c8)]():this[_0x20e837(0x199)][_0x20e837(0x1b0)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2bc6(_0x88ae73,_0x494618){const _0x2b66f9=_0x2b66();return _0x2bc6=function(_0x2bc6b8,_0x4554a0){_0x2bc6b8=_0x2bc6b8-0x161;let _0xc741f6=_0x2b66f9[_0x2bc6b8];return _0xc741f6;},_0x2bc6(_0x88ae73,_0x494618);}const _0x432667=_0x2bc6;(function(_0xd9ab3f,_0x8d7f97){const _0x244c27=_0x2bc6,_0x5abd2b=_0xd9ab3f();while(!![]){try{const _0x15f640=parseInt(_0x244c27(0x16d))/0x1+parseInt(_0x244c27(0x16c))/0x2+-parseInt(_0x244c27(0x171))/0x3*(-parseInt(_0x244c27(0x178))/0x4)+parseInt(_0x244c27(0x169))/0x5*(parseInt(_0x244c27(0x17d))/0x6)+-parseInt(_0x244c27(0x182))/0x7+-parseInt(_0x244c27(0x165))/0x8*(parseInt(_0x244c27(0x16b))/0x9)+-parseInt(_0x244c27(0x185))/0xa;if(_0x15f640===_0x8d7f97)break;else _0x5abd2b['push'](_0x5abd2b['shift']());}catch(_0x45c62a){_0x5abd2b['push'](_0x5abd2b['shift']());}}}(_0x2b66,0x715eb));import{ToolbarView as _0x5b531c,ButtonView as _0x5c0278}from'ckeditor5/src/ui.js';import{getTranslation as _0x58419b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x432667(0x175),'INSERT':_0x432667(0x170)};function _0x2b66(){const _0x30f20b=['1658492IdKnCF','152301XAXKgP','tryAgainButton','ck-ai-form__toolbar','insert','61086vdRUCO','Stop','AI_','isVisible','replace','mainAction','label','40NOgpbq','bind','stopButton','toUpperCase','extendTemplate','6EIDbne','set','bindTemplate','Insert\x20below','items','3248469iOYeVx','_createButton','_CONTENT','5054100MowUwZ','REPLACE','insertButton','addMany','ck-hidden','15328KGaFbV','ck-button-action','Try\x20again','replaceButton','4222745xravOx','locale','2799HbWTyG'];_0x2b66=function(){return _0x30f20b;};return _0x2b66();}export class AIFormToolbarView extends _0x5b531c{constructor(_0x5bd90e){const _0x560a96=_0x432667;super(_0x5bd90e),this[_0x560a96(0x17e)](_0x560a96(0x174),!0x1),this[_0x560a96(0x17e)](_0x560a96(0x176),AIFormToolbarViewMainActionLabel[_0x560a96(0x161)]),this[_0x560a96(0x168)]=this[_0x560a96(0x183)]('',_0x560a96(0x166)),this[_0x560a96(0x168)][_0x560a96(0x179)](_0x560a96(0x177))['to'](this,_0x560a96(0x176),_0x4fc380=>_0x58419b(_0x5bd90e,_0x560a96(0x173)+_0x4fc380[_0x560a96(0x17b)]()+_0x560a96(0x184))),this[_0x560a96(0x162)]=this[_0x560a96(0x183)](_0x58419b(_0x5bd90e,_0x560a96(0x180))),this[_0x560a96(0x16e)]=this[_0x560a96(0x183)](_0x58419b(_0x5bd90e,_0x560a96(0x167))),this[_0x560a96(0x17a)]=this[_0x560a96(0x183)](_0x58419b(_0x5bd90e,_0x560a96(0x172)));const _0x1291c5=this[_0x560a96(0x17f)];this[_0x560a96(0x17c)]({'attributes':{'class':[_0x560a96(0x16f),_0x1291c5['if'](_0x560a96(0x174),_0x560a96(0x164),_0x340be6=>!_0x340be6)]}}),this[_0x560a96(0x181)][_0x560a96(0x163)]([this[_0x560a96(0x168)],this[_0x560a96(0x162)],this[_0x560a96(0x16e)],this[_0x560a96(0x17a)]]);}[_0x432667(0x183)](_0x298081,_0x2a3773){const _0x23f584=_0x432667,_0x4d5f50=new _0x5c0278(this[_0x23f584(0x16a)]);return _0x4d5f50[_0x23f584(0x17e)]({'label':_0x298081,'class':_0x2a3773||'','isVisible':!0x0,'withText':!0x0}),_0x4d5f50;}}
23
+ const _0xa7c9ed=_0x1bc5;(function(_0x98977d,_0x5ea410){const _0x274d27=_0x1bc5,_0x31bcd9=_0x98977d();while(!![]){try{const _0x1b7250=parseInt(_0x274d27(0x118))/0x1*(-parseInt(_0x274d27(0x103))/0x2)+-parseInt(_0x274d27(0x123))/0x3*(-parseInt(_0x274d27(0x10a))/0x4)+-parseInt(_0x274d27(0x116))/0x5+parseInt(_0x274d27(0x107))/0x6+-parseInt(_0x274d27(0x112))/0x7+-parseInt(_0x274d27(0x100))/0x8+parseInt(_0x274d27(0x11c))/0x9;if(_0x1b7250===_0x5ea410)break;else _0x31bcd9['push'](_0x31bcd9['shift']());}catch(_0x2def25){_0x31bcd9['push'](_0x31bcd9['shift']());}}}(_0x1c6e,0x2013b));function _0x1c6e(){const _0x258c5f=['1970955ItkZnf','insertButton','extendTemplate','tryAgainButton','Try\x20again','mainAction','items','3KkfWwH','1077600PMJKAD','addMany','set','4fSGWol','ck-ai-form__toolbar','label','Insert\x20below','691404HqjHCY','replace','bindTemplate','831324yAAwzo','bind','locale','REPLACE','stopButton','ck-hidden','replaceButton','insert','495075dnejpK','AI_','toUpperCase','ck-button-action','908820arYwHk','_CONTENT','11742iJSZYY','isVisible','_createButton','Stop'];_0x1c6e=function(){return _0x258c5f;};return _0x1c6e();}function _0x1bc5(_0x110978,_0x1a9921){const _0x1c6e19=_0x1c6e();return _0x1bc5=function(_0x1bc58b,_0x5b149b){_0x1bc58b=_0x1bc58b-0x100;let _0x74da7a=_0x1c6e19[_0x1bc58b];return _0x74da7a;},_0x1bc5(_0x110978,_0x1a9921);}import{ToolbarView as _0x2f1134,ButtonView as _0x4eda13}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a5881}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xa7c9ed(0x108),'INSERT':_0xa7c9ed(0x111)};export class AIFormToolbarView extends _0x2f1134{constructor(_0x34232c){const _0x5e60b4=_0xa7c9ed;super(_0x34232c),this[_0x5e60b4(0x102)](_0x5e60b4(0x119),!0x1),this[_0x5e60b4(0x102)](_0x5e60b4(0x121),AIFormToolbarViewMainActionLabel[_0x5e60b4(0x10d)]),this[_0x5e60b4(0x110)]=this[_0x5e60b4(0x11a)]('',_0x5e60b4(0x115)),this[_0x5e60b4(0x110)][_0x5e60b4(0x10b)](_0x5e60b4(0x105))['to'](this,_0x5e60b4(0x121),_0x7328db=>_0x4a5881(_0x34232c,_0x5e60b4(0x113)+_0x7328db[_0x5e60b4(0x114)]()+_0x5e60b4(0x117))),this[_0x5e60b4(0x11d)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x106))),this[_0x5e60b4(0x11f)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x120))),this[_0x5e60b4(0x10e)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x11b)));const _0x2e8559=this[_0x5e60b4(0x109)];this[_0x5e60b4(0x11e)]({'attributes':{'class':[_0x5e60b4(0x104),_0x2e8559['if'](_0x5e60b4(0x119),_0x5e60b4(0x10f),_0x5a694a=>!_0x5a694a)]}}),this[_0x5e60b4(0x122)][_0x5e60b4(0x101)]([this[_0x5e60b4(0x110)],this[_0x5e60b4(0x11d)],this[_0x5e60b4(0x11f)],this[_0x5e60b4(0x10e)]]);}[_0xa7c9ed(0x11a)](_0x3ea5be,_0x4770dc){const _0x3831d8=_0xa7c9ed,_0x23b424=new _0x4eda13(this[_0x3831d8(0x10c)]);return _0x23b424[_0x3831d8(0x102)]({'label':_0x3ea5be,'class':_0x4770dc||'','isVisible':!0x0,'withText':!0x0}),_0x23b424;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f52(_0x2dcb88,_0xf846e1){const _0x3518e0=_0x3518();return _0x5f52=function(_0x5f52cc,_0x163b77){_0x5f52cc=_0x5f52cc-0x1e1;let _0x373cd8=_0x3518e0[_0x5f52cc];return _0x373cd8;},_0x5f52(_0x2dcb88,_0xf846e1);}const _0x204ac5=_0x5f52;(function(_0x360130,_0x3fbda1){const _0x7f0ee5=_0x5f52,_0x4b9db8=_0x360130();while(!![]){try{const _0x3416cc=-parseInt(_0x7f0ee5(0x21b))/0x1*(-parseInt(_0x7f0ee5(0x22a))/0x2)+-parseInt(_0x7f0ee5(0x21a))/0x3*(parseInt(_0x7f0ee5(0x230))/0x4)+-parseInt(_0x7f0ee5(0x201))/0x5*(-parseInt(_0x7f0ee5(0x21e))/0x6)+parseInt(_0x7f0ee5(0x233))/0x7*(parseInt(_0x7f0ee5(0x221))/0x8)+parseInt(_0x7f0ee5(0x206))/0x9+-parseInt(_0x7f0ee5(0x225))/0xa*(-parseInt(_0x7f0ee5(0x22b))/0xb)+-parseInt(_0x7f0ee5(0x20a))/0xc;if(_0x3416cc===_0x3fbda1)break;else _0x4b9db8['push'](_0x4b9db8['shift']());}catch(_0x51f897){_0x4b9db8['push'](_0x4b9db8['shift']());}}}(_0x3518,0x80786));import{FocusTracker as _0xf078d2,KeystrokeHandler as _0x18c030}from'ckeditor5/src/utils.js';import{View as _0x37d918,FocusCycler as _0x1cab43,createLabeledTextarea as _0x181eba}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x5d8c7a,AIFormToolbarViewMainActionLabel as _0x36bade}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x197c9a}from'./aiformcontentarea.js';import{AIFormErrorView as _0x593696}from'./aiformerrorview.js';function _0x3518(){const _0x1411e5=['fieldView','replaceContent','Ask\x20AI\x20to\x20improve\x20generated\x20text','queryView','items','errorView','setTemplate','element','isEnabled','isVisible','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createPromptView','162095bMTDSR','submit','_promptHistory','insertButton','tab','3780405TNHvSv','execute','set','stopButton','22791840SrxjWp','label','focus','stopProcessing','ck-hidden','fire','replaceButton','handleError','tryAgainButton','contentArea','locale','listenTo','reset','text','ck-ai-form-content','insertContentBelow','7374jEQfTN','16459xxkOEy','ck-ai-form','historyGroupView','168xSYnWu','finishProcessing','add','287624bXPCni','_createHistoryView','copyButtonView','AI_ERROR_FAILED','10vcoERu','Empty\x20history','clearHistory','trim','clear','8JfTJDV','6345042EoiKNS','chain','promptView','createCollection','focusFirst','20ROpFtV','shift\x20+\x20tab','search','91GeQHrP','mainAction','REPLACE','_focusables','submitPrompt','high','div','isProcessing','bindTo','focusLast','value','isError','focusCycler','focusTracker','keystrokes','render','delegate','prompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','toolbar','_createToolbar','bindTemplate','bind','tryAgainEvent','startProcessing'];_0x3518=function(){return _0x1411e5;};return _0x3518();}import{AIFormPromptView as _0x151408}from'./aiformpromptview.js';import{AIHistoryListView as _0x3ddbb7}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x353f75}from'./aihistorylistitemview.js';import{PromptHistory as _0x3f18c4}from'./prompthistory.js';import{getTranslation as _0x49a5da}from'../../utils/common-translations.js';import{escape as _0x2370cd}from'es-toolkit/compat';export class AIFormView extends _0x37d918{[_0x204ac5(0x1e9)];[_0x204ac5(0x1ea)];[_0x204ac5(0x213)];[_0x204ac5(0x1ef)];[_0x204ac5(0x22d)];[_0x204ac5(0x1fa)];[_0x204ac5(0x236)];[_0x204ac5(0x1e8)];[_0x204ac5(0x203)];constructor(_0x2812e4,_0x2f0dd7,_0x2402e2=''){const _0x276229=_0x204ac5;super(_0x2812e4),this[_0x276229(0x208)](_0x276229(0x1fd),!0x0),this[_0x276229(0x208)](_0x276229(0x1e3),!0x1),this[_0x276229(0x208)](_0x276229(0x1ed),''),this[_0x276229(0x208)](_0x276229(0x1e6),''),this[_0x276229(0x208)](_0x276229(0x1e7),!0x1),this[_0x276229(0x208)](_0x276229(0x234),_0x36bade[_0x276229(0x235)]),this[_0x276229(0x203)]=new _0x3f18c4(),this[_0x276229(0x1fa)]=new _0x593696(_0x2812e4),this[_0x276229(0x213)]=new _0x197c9a(_0x2812e4,_0x2402e2),this[_0x276229(0x213)][_0x276229(0x1f2)](_0x276229(0x1e3))['to'](this),this[_0x276229(0x213)][_0x276229(0x1f2)](_0x276229(0x1e6))['to'](this),this[_0x276229(0x1ef)]=this[_0x276229(0x1f0)](),this[_0x276229(0x1ef)][_0x276229(0x1f2)](_0x276229(0x234))['to'](this),this[_0x276229(0x22d)]=this[_0x276229(0x200)](),this[_0x276229(0x1e9)]=new _0xf078d2(),this[_0x276229(0x1ea)]=new _0x18c030(),this[_0x276229(0x236)]=this[_0x276229(0x22e)]([this[_0x276229(0x213)],this[_0x276229(0x213)][_0x276229(0x223)],this[_0x276229(0x1ef)],this[_0x276229(0x22d)]]),this[_0x276229(0x1e8)]=new _0x1cab43({'focusables':this[_0x276229(0x236)],'focusTracker':this[_0x276229(0x1e9)],'keystrokeHandler':this[_0x276229(0x1ea)],'actions':{'focusPrevious':_0x276229(0x231),'focusNext':_0x276229(0x205)}}),this[_0x276229(0x1e8)][_0x276229(0x22c)](this[_0x276229(0x22d)][_0x276229(0x1e8)]),this[_0x276229(0x22d)][_0x276229(0x1f8)][_0x276229(0x1f5)][_0x276229(0x1f2)](_0x276229(0x1e6))['to'](this,_0x276229(0x1ed));const _0x1f5ab8=this[_0x276229(0x1f1)];this[_0x276229(0x1fb)]({'tag':_0x276229(0x1e2),'attributes':{'class':['ck',_0x276229(0x21c),_0x2f0dd7],'tabindex':'-1'},'children':[{'tag':_0x276229(0x1e2),'attributes':{'class':['ck',_0x276229(0x218)]},'children':[{'tag':_0x276229(0x1e2),'attributes':{'class':[_0x1f5ab8['if'](_0x276229(0x1e7),_0x276229(0x20e),_0x532108=>!_0x532108)]},'children':[this[_0x276229(0x1fa)]]},this[_0x276229(0x213)],this[_0x276229(0x1ef)],this[_0x276229(0x22d)]]}]});}[_0x204ac5(0x1eb)](){const _0x2c5059=_0x204ac5;super[_0x2c5059(0x1eb)](),this[_0x2c5059(0x1e9)][_0x2c5059(0x220)](this[_0x2c5059(0x213)][_0x2c5059(0x1fc)]),this[_0x2c5059(0x1e9)][_0x2c5059(0x220)](this[_0x2c5059(0x213)][_0x2c5059(0x223)][_0x2c5059(0x1fc)]),this[_0x2c5059(0x1e9)][_0x2c5059(0x220)](this[_0x2c5059(0x1ef)][_0x2c5059(0x1fc)]),this[_0x2c5059(0x1e9)][_0x2c5059(0x220)](this[_0x2c5059(0x22d)][_0x2c5059(0x1fc)]),this[_0x2c5059(0x1ea)][_0x2c5059(0x215)](this[_0x2c5059(0x1fc)]);}[_0x204ac5(0x20c)](_0x376f0=0x1){const _0x875280=_0x204ac5;-0x1===_0x376f0?this[_0x875280(0x1e8)][_0x875280(0x1e5)]():this[_0x875280(0x1e8)][_0x875280(0x22f)]();}[_0x204ac5(0x216)](){const _0xcadae0=_0x204ac5;this[_0xcadae0(0x1ed)]='',this[_0xcadae0(0x1e6)]='',this[_0xcadae0(0x1e7)]=!0x1,this[_0xcadae0(0x22d)][_0xcadae0(0x216)](),this[_0xcadae0(0x213)][_0xcadae0(0x1fe)]=!0x1,this[_0xcadae0(0x1ef)][_0xcadae0(0x1fe)]=!0x1;}[_0x204ac5(0x200)](){const _0x107ce6=_0x204ac5,_0x31a9d8=this[_0x107ce6(0x214)],_0x21c0d2=new _0x151408(_0x31a9d8,{'queryView':{'label':_0x49a5da(_0x31a9d8,_0x107ce6(0x1ff)),'creator':_0x181eba,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x49a5da(_0x31a9d8,_0x107ce6(0x226)),'secondary':_0x49a5da(_0x31a9d8,_0x107ce6(0x1ee))}}},'filteredView':this[_0x107ce6(0x222)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x21c0d2[_0x107ce6(0x1f2)](_0x107ce6(0x1fd))['to'](this,_0x107ce6(0x1fd),this,_0x107ce6(0x1e3),(_0x501403,_0x4e02ec)=>_0x501403&&!_0x4e02ec),this[_0x107ce6(0x215)](_0x21c0d2,_0x107ce6(0x202),(_0x5d7b4d,_0x5bc063)=>{const _0x4234da=_0x107ce6;this[_0x4234da(0x1ed)]=_0x5bc063;const _0x438b6e=_0x2370cd(_0x5bc063);this[_0x4234da(0x20f)](_0x4234da(0x237),_0x438b6e),_0x5bc063[_0x4234da(0x228)]()&&this[_0x4234da(0x203)][_0x4234da(0x220)]({'prompt':_0x438b6e},0x0);},{'priority':_0x107ce6(0x1e1)}),_0x21c0d2;}[_0x204ac5(0x222)](){const _0x40a671=_0x204ac5,_0x2b4470=new _0x3ddbb7(this[_0x40a671(0x214)]);return _0x2b4470[_0x40a671(0x21d)][_0x40a671(0x1f9)][_0x40a671(0x1e4)](this[_0x40a671(0x203)])['as'](_0x353f75),_0x2b4470['on'](_0x40a671(0x227),()=>{const _0x30368a=_0x40a671;this[_0x30368a(0x203)][_0x30368a(0x229)](),this[_0x30368a(0x22d)][_0x30368a(0x232)](''),this[_0x30368a(0x22d)][_0x30368a(0x20c)]();}),_0x2b4470;}[_0x204ac5(0x1f0)](){const _0x5d5f13=_0x204ac5,_0x12f3a8=new _0x5d8c7a(this[_0x5d5f13(0x214)]);return _0x12f3a8[_0x5d5f13(0x210)][_0x5d5f13(0x1f2)](_0x5d5f13(0x1fd))['to'](this,_0x5d5f13(0x1fd),this,_0x5d5f13(0x1e3),this,_0x5d5f13(0x1e6),(_0x465d2c,_0x3cf2f5,_0x15a56f)=>_0x465d2c&&!_0x3cf2f5&&!!_0x15a56f),_0x12f3a8[_0x5d5f13(0x210)][_0x5d5f13(0x1ec)](_0x5d5f13(0x207))['to'](this,_0x5d5f13(0x1f6)),_0x12f3a8[_0x5d5f13(0x204)][_0x5d5f13(0x1f2)](_0x5d5f13(0x1fd))['to'](this,_0x5d5f13(0x1fd),this,_0x5d5f13(0x1e3),this,_0x5d5f13(0x1e6),(_0xcc2c36,_0x10d0ad,_0x5ec806)=>_0xcc2c36&&!_0x10d0ad&&!!_0x5ec806),_0x12f3a8[_0x5d5f13(0x204)][_0x5d5f13(0x1ec)](_0x5d5f13(0x207))['to'](this,_0x5d5f13(0x219)),_0x12f3a8[_0x5d5f13(0x212)][_0x5d5f13(0x1f2)](_0x5d5f13(0x1fd))['to'](this,_0x5d5f13(0x1fd),this,_0x5d5f13(0x1e3),(_0x23171b,_0x31e7c5)=>_0x23171b&&!_0x31e7c5),_0x12f3a8[_0x5d5f13(0x212)][_0x5d5f13(0x1ec)](_0x5d5f13(0x207))['to'](this,_0x5d5f13(0x1f3)),_0x12f3a8[_0x5d5f13(0x209)][_0x5d5f13(0x1f2)](_0x5d5f13(0x1fd))['to'](this,_0x5d5f13(0x1e3)),_0x12f3a8[_0x5d5f13(0x209)][_0x5d5f13(0x1ec)](_0x5d5f13(0x207))['to'](this,_0x5d5f13(0x20d)),_0x12f3a8;}[_0x204ac5(0x1f4)](){const _0x19ca70=_0x204ac5;this[_0x19ca70(0x1e6)]='',this[_0x19ca70(0x1e7)]=!0x1,this[_0x19ca70(0x1e3)]=!0x0,this[_0x19ca70(0x213)][_0x19ca70(0x1fe)]=!0x0,this[_0x19ca70(0x1ef)][_0x19ca70(0x1fe)]=!0x0,this[_0x19ca70(0x213)][_0x19ca70(0x20c)]();}[_0x204ac5(0x21f)](){const _0x331147=_0x204ac5,_0x4ad2c6=this[_0x331147(0x214)];this[_0x331147(0x1e3)]=!0x1,this[_0x331147(0x1ed)]='',this[_0x331147(0x22d)][_0x331147(0x216)](),this[_0x331147(0x1e6)]&&(this[_0x331147(0x22d)][_0x331147(0x1f8)][_0x331147(0x20b)]=_0x49a5da(_0x4ad2c6,_0x331147(0x1f7)));}[_0x204ac5(0x211)](_0x13d2a0){const _0x19df6b=_0x204ac5,_0x512d37=this[_0x19df6b(0x214)];this[_0x19df6b(0x21f)](),this[_0x19df6b(0x1e7)]=!0x0,this[_0x19df6b(0x1fa)][_0x19df6b(0x217)]=_0x13d2a0||_0x49a5da(_0x512d37,_0x19df6b(0x224)),this[_0x19df6b(0x1e6)]||(this[_0x19df6b(0x213)][_0x19df6b(0x1fe)]=!0x1);}}
23
+ const _0x59f639=_0x5d69;(function(_0xb272dc,_0x726b40){const _0x39d5f6=_0x5d69,_0x2b8437=_0xb272dc();while(!![]){try{const _0x4d2033=-parseInt(_0x39d5f6(0x9d))/0x1*(parseInt(_0x39d5f6(0xa9))/0x2)+-parseInt(_0x39d5f6(0x99))/0x3+-parseInt(_0x39d5f6(0x8e))/0x4*(parseInt(_0x39d5f6(0x89))/0x5)+parseInt(_0x39d5f6(0xb3))/0x6+-parseInt(_0x39d5f6(0xbf))/0x7+-parseInt(_0x39d5f6(0xa0))/0x8*(-parseInt(_0x39d5f6(0x96))/0x9)+parseInt(_0x39d5f6(0xbb))/0xa;if(_0x4d2033===_0x726b40)break;else _0x2b8437['push'](_0x2b8437['shift']());}catch(_0xf78c84){_0x2b8437['push'](_0x2b8437['shift']());}}}(_0x81d3,0x816bc));import{FocusTracker as _0x21da39,KeystrokeHandler as _0x236809}from'ckeditor5/src/utils.js';import{View as _0x16807e,FocusCycler as _0x17737f,createLabeledTextarea as _0x4e18db}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x453674,AIFormToolbarViewMainActionLabel as _0x5be1fc}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x8f50a}from'./aiformcontentarea.js';import{AIFormErrorView as _0x1a192b}from'./aiformerrorview.js';import{AIFormPromptView as _0x30e1a0}from'./aiformpromptview.js';import{AIHistoryListView as _0x2cf672}from'./aihistorylistview.js';import{AIHistoryListItemView as _0xab7f43}from'./aihistorylistitemview.js';import{PromptHistory as _0x405f27}from'./prompthistory.js';function _0x81d3(){const _0x3709c9=['listenTo','set','Ask\x20AI\x20to\x20edit\x20or\x20generate','395ntuKqJ','bindTo','element','shift\x20+\x20tab','execute','20092mmjmRY','search','focusTracker','_createPromptView','errorView','bind','label','value','1341vDdpCQ','submit','insertButton','1839903QYsoCz','AI_ERROR_FAILED','reset','tryAgainEvent','277wEctuy','chain','text','11624yuJxmJ','stopButton','ck-ai-form','REPLACE','fieldView','contentArea','clearHistory','toolbar','_promptHistory','982BSjUYs','replaceContent','startProcessing','historyGroupView','_createToolbar','div','clear','add','Ask\x20AI\x20to\x20improve\x20generated\x20text','copyButtonView','3772194veBuAT','ck-hidden','tryAgainButton','locale','trim','fire','bindTemplate','queryView','11649040vHugIY','isError','handleError','focus','2337069wIOSfV','focusLast','focusFirst','prompt','ck-ai-form-content','Empty\x20history','finishProcessing','isProcessing','isVisible','submitPrompt','promptView','isEnabled','items','createCollection','mainAction','focusCycler','_focusables','stopProcessing','insertContentBelow','setTemplate','delegate','tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','high','render','replaceButton','keystrokes','_createHistoryView'];_0x81d3=function(){return _0x3709c9;};return _0x81d3();}import{getTranslation as _0x2048da}from'../../utils/common-translations.js';import{escape as _0x24cebd}from'es-toolkit/compat';function _0x5d69(_0x35f18d,_0x335732){const _0x81d3af=_0x81d3();return _0x5d69=function(_0x5d69e7,_0x57d9bd){_0x5d69e7=_0x5d69e7-0x87;let _0x5870fa=_0x81d3af[_0x5d69e7];return _0x5870fa;},_0x5d69(_0x35f18d,_0x335732);}export class AIFormView extends _0x16807e{[_0x59f639(0x90)];[_0x59f639(0xd9)];[_0x59f639(0xa5)];[_0x59f639(0xa7)];[_0x59f639(0xc9)];[_0x59f639(0x92)];[_0x59f639(0xcf)];[_0x59f639(0xce)];[_0x59f639(0xa8)];constructor(_0x35b651,_0x17eb45,_0x5c9082=''){const _0xdf9c21=_0x59f639;super(_0x35b651),this[_0xdf9c21(0x87)](_0xdf9c21(0xca),!0x0),this[_0xdf9c21(0x87)](_0xdf9c21(0xc6),!0x1),this[_0xdf9c21(0x87)](_0xdf9c21(0xc2),''),this[_0xdf9c21(0x87)](_0xdf9c21(0x95),''),this[_0xdf9c21(0x87)](_0xdf9c21(0xbc),!0x1),this[_0xdf9c21(0x87)](_0xdf9c21(0xcd),_0x5be1fc[_0xdf9c21(0xa3)]),this[_0xdf9c21(0xa8)]=new _0x405f27(),this[_0xdf9c21(0x92)]=new _0x1a192b(_0x35b651),this[_0xdf9c21(0xa5)]=new _0x8f50a(_0x35b651,_0x5c9082),this[_0xdf9c21(0xa5)][_0xdf9c21(0x93)](_0xdf9c21(0xc6))['to'](this),this[_0xdf9c21(0xa5)][_0xdf9c21(0x93)](_0xdf9c21(0x95))['to'](this),this[_0xdf9c21(0xa7)]=this[_0xdf9c21(0xad)](),this[_0xdf9c21(0xa7)][_0xdf9c21(0x93)](_0xdf9c21(0xcd))['to'](this),this[_0xdf9c21(0xc9)]=this[_0xdf9c21(0x91)](),this[_0xdf9c21(0x90)]=new _0x21da39(),this[_0xdf9c21(0xd9)]=new _0x236809(),this[_0xdf9c21(0xcf)]=this[_0xdf9c21(0xcc)]([this[_0xdf9c21(0xa5)],this[_0xdf9c21(0xa5)][_0xdf9c21(0xb2)],this[_0xdf9c21(0xa7)],this[_0xdf9c21(0xc9)]]),this[_0xdf9c21(0xce)]=new _0x17737f({'focusables':this[_0xdf9c21(0xcf)],'focusTracker':this[_0xdf9c21(0x90)],'keystrokeHandler':this[_0xdf9c21(0xd9)],'actions':{'focusPrevious':_0xdf9c21(0x8c),'focusNext':_0xdf9c21(0xd4)}}),this[_0xdf9c21(0xce)][_0xdf9c21(0x9e)](this[_0xdf9c21(0xc9)][_0xdf9c21(0xce)]),this[_0xdf9c21(0xc9)][_0xdf9c21(0xba)][_0xdf9c21(0xa4)][_0xdf9c21(0x93)](_0xdf9c21(0x95))['to'](this,_0xdf9c21(0xc2));const _0xc6c1fe=this[_0xdf9c21(0xb9)];this[_0xdf9c21(0xd2)]({'tag':_0xdf9c21(0xae),'attributes':{'class':['ck',_0xdf9c21(0xa2),_0x17eb45],'tabindex':'-1'},'children':[{'tag':_0xdf9c21(0xae),'attributes':{'class':['ck',_0xdf9c21(0xc3)]},'children':[{'tag':_0xdf9c21(0xae),'attributes':{'class':[_0xc6c1fe['if'](_0xdf9c21(0xbc),_0xdf9c21(0xb4),_0x6b5d65=>!_0x6b5d65)]},'children':[this[_0xdf9c21(0x92)]]},this[_0xdf9c21(0xa5)],this[_0xdf9c21(0xa7)],this[_0xdf9c21(0xc9)]]}]});}[_0x59f639(0xd7)](){const _0x2292b6=_0x59f639;super[_0x2292b6(0xd7)](),this[_0x2292b6(0x90)][_0x2292b6(0xb0)](this[_0x2292b6(0xa5)][_0x2292b6(0x8b)]),this[_0x2292b6(0x90)][_0x2292b6(0xb0)](this[_0x2292b6(0xa5)][_0x2292b6(0xb2)][_0x2292b6(0x8b)]),this[_0x2292b6(0x90)][_0x2292b6(0xb0)](this[_0x2292b6(0xa7)][_0x2292b6(0x8b)]),this[_0x2292b6(0x90)][_0x2292b6(0xb0)](this[_0x2292b6(0xc9)][_0x2292b6(0x8b)]),this[_0x2292b6(0xd9)][_0x2292b6(0xdb)](this[_0x2292b6(0x8b)]);}[_0x59f639(0xbe)](_0x326f34=0x1){const _0x502204=_0x59f639;-0x1===_0x326f34?this[_0x502204(0xce)][_0x502204(0xc0)]():this[_0x502204(0xce)][_0x502204(0xc1)]();}[_0x59f639(0x9b)](){const _0x5ab5bb=_0x59f639;this[_0x5ab5bb(0xc2)]='',this[_0x5ab5bb(0x95)]='',this[_0x5ab5bb(0xbc)]=!0x1,this[_0x5ab5bb(0xc9)][_0x5ab5bb(0x9b)](),this[_0x5ab5bb(0xa5)][_0x5ab5bb(0xc7)]=!0x1,this[_0x5ab5bb(0xa7)][_0x5ab5bb(0xc7)]=!0x1;}[_0x59f639(0x91)](){const _0x59b06d=_0x59f639,_0x16ea5c=this[_0x59b06d(0xb6)],_0x45e1d5=new _0x30e1a0(_0x16ea5c,{'queryView':{'label':_0x2048da(_0x16ea5c,_0x59b06d(0x88)),'creator':_0x4e18db,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2048da(_0x16ea5c,_0x59b06d(0xc4)),'secondary':_0x2048da(_0x16ea5c,_0x59b06d(0xd5))}}},'filteredView':this[_0x59b06d(0xda)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x45e1d5[_0x59b06d(0x93)](_0x59b06d(0xca))['to'](this,_0x59b06d(0xca),this,_0x59b06d(0xc6),(_0x3d917c,_0x30c29e)=>_0x3d917c&&!_0x30c29e),this[_0x59b06d(0xdb)](_0x45e1d5,_0x59b06d(0x97),(_0x4e1917,_0x142223)=>{const _0x50785c=_0x59b06d;this[_0x50785c(0xc2)]=_0x142223;const _0x4683d5=_0x24cebd(_0x142223);this[_0x50785c(0xb8)](_0x50785c(0xc8),_0x4683d5),_0x142223[_0x50785c(0xb7)]()&&this[_0x50785c(0xa8)][_0x50785c(0xb0)]({'prompt':_0x4683d5},0x0);},{'priority':_0x59b06d(0xd6)}),_0x45e1d5;}[_0x59f639(0xda)](){const _0x3eb42e=_0x59f639,_0x425e55=new _0x2cf672(this[_0x3eb42e(0xb6)]);return _0x425e55[_0x3eb42e(0xac)][_0x3eb42e(0xcb)][_0x3eb42e(0x8a)](this[_0x3eb42e(0xa8)])['as'](_0xab7f43),_0x425e55['on'](_0x3eb42e(0xa6),()=>{const _0x24c76a=_0x3eb42e;this[_0x24c76a(0xa8)][_0x24c76a(0xaf)](),this[_0x24c76a(0xc9)][_0x24c76a(0x8f)](''),this[_0x24c76a(0xc9)][_0x24c76a(0xbe)]();}),_0x425e55;}[_0x59f639(0xad)](){const _0x41c237=_0x59f639,_0x4873de=new _0x453674(this[_0x41c237(0xb6)]);return _0x4873de[_0x41c237(0xd8)][_0x41c237(0x93)](_0x41c237(0xca))['to'](this,_0x41c237(0xca),this,_0x41c237(0xc6),this,_0x41c237(0x95),(_0x239d9d,_0x39414f,_0x2dda43)=>_0x239d9d&&!_0x39414f&&!!_0x2dda43),_0x4873de[_0x41c237(0xd8)][_0x41c237(0xd3)](_0x41c237(0x8d))['to'](this,_0x41c237(0xaa)),_0x4873de[_0x41c237(0x98)][_0x41c237(0x93)](_0x41c237(0xca))['to'](this,_0x41c237(0xca),this,_0x41c237(0xc6),this,_0x41c237(0x95),(_0x22c69c,_0x2ea539,_0x57150a)=>_0x22c69c&&!_0x2ea539&&!!_0x57150a),_0x4873de[_0x41c237(0x98)][_0x41c237(0xd3)](_0x41c237(0x8d))['to'](this,_0x41c237(0xd1)),_0x4873de[_0x41c237(0xb5)][_0x41c237(0x93)](_0x41c237(0xca))['to'](this,_0x41c237(0xca),this,_0x41c237(0xc6),(_0x5dc920,_0x511c07)=>_0x5dc920&&!_0x511c07),_0x4873de[_0x41c237(0xb5)][_0x41c237(0xd3)](_0x41c237(0x8d))['to'](this,_0x41c237(0x9c)),_0x4873de[_0x41c237(0xa1)][_0x41c237(0x93)](_0x41c237(0xca))['to'](this,_0x41c237(0xc6)),_0x4873de[_0x41c237(0xa1)][_0x41c237(0xd3)](_0x41c237(0x8d))['to'](this,_0x41c237(0xd0)),_0x4873de;}[_0x59f639(0xab)](){const _0x484938=_0x59f639;this[_0x484938(0x95)]='',this[_0x484938(0xbc)]=!0x1,this[_0x484938(0xc6)]=!0x0,this[_0x484938(0xa5)][_0x484938(0xc7)]=!0x0,this[_0x484938(0xa7)][_0x484938(0xc7)]=!0x0,this[_0x484938(0xa5)][_0x484938(0xbe)]();}[_0x59f639(0xc5)](){const _0x201fe1=_0x59f639,_0xd4ebb=this[_0x201fe1(0xb6)];this[_0x201fe1(0xc6)]=!0x1,this[_0x201fe1(0xc2)]='',this[_0x201fe1(0xc9)][_0x201fe1(0x9b)](),this[_0x201fe1(0x95)]&&(this[_0x201fe1(0xc9)][_0x201fe1(0xba)][_0x201fe1(0x94)]=_0x2048da(_0xd4ebb,_0x201fe1(0xb1)));}[_0x59f639(0xbd)](_0x267e2f){const _0x625746=_0x59f639,_0x3e16ed=this[_0x625746(0xb6)];this[_0x625746(0xc5)](),this[_0x625746(0xbc)]=!0x0,this[_0x625746(0x92)][_0x625746(0x9f)]=_0x267e2f||_0x2048da(_0x3e16ed,_0x625746(0x9a)),this[_0x625746(0x95)]||(this[_0x625746(0xa5)][_0x625746(0xc7)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x27e477,_0x36ae00){const _0x4fe425=_0x44a6,_0x498936=_0x27e477();while(!![]){try{const _0x877286=parseInt(_0x4fe425(0x164))/0x1+-parseInt(_0x4fe425(0x166))/0x2*(parseInt(_0x4fe425(0x162))/0x3)+parseInt(_0x4fe425(0x16d))/0x4+-parseInt(_0x4fe425(0x163))/0x5*(-parseInt(_0x4fe425(0x167))/0x6)+parseInt(_0x4fe425(0x15e))/0x7*(parseInt(_0x4fe425(0x15f))/0x8)+parseInt(_0x4fe425(0x16a))/0x9+-parseInt(_0x4fe425(0x161))/0xa;if(_0x877286===_0x36ae00)break;else _0x498936['push'](_0x498936['shift']());}catch(_0x54b6a7){_0x498936['push'](_0x498936['shift']());}}}(_0x49b7,0x534f7));function _0x44a6(_0x24b8a3,_0x29336d){const _0x49b75b=_0x49b7();return _0x44a6=function(_0x44a611,_0x1a1719){_0x44a611=_0x44a611-0x15e;let _0x1a0f72=_0x49b75b[_0x44a611];return _0x1a0f72;},_0x44a6(_0x24b8a3,_0x29336d);}import{ListItemView as _0x51b318,ButtonView as _0x5daebb,ButtonLabelView as _0x526f6c}from'ckeditor5/src/ui.js';function _0x49b7(){const _0x41bbae=['9288630ZvLvBP','16902GfGZfA','155tXDgKP','552606lUZqYX','fire','8YVFNlL','5910ykNjUv','prompt','locale','1026324clKmWj','set','children','1934408pviZiV','execute','77SFjcBJ','81352FtPUkd','add'];_0x49b7=function(){return _0x41bbae;};return _0x49b7();}import{unescape as _0x26618a}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x51b318{constructor(_0x5846cc){const _0x3e789f=_0x44a6;super();const _0x10625b=new _0x526f6c(),_0x38e5e6=new _0x5daebb(this[_0x3e789f(0x169)],_0x10625b);this[_0x3e789f(0x16c)][_0x3e789f(0x160)](_0x38e5e6),_0x38e5e6[_0x3e789f(0x16b)]({'label':_0x5846cc[_0x3e789f(0x168)],'withText':!0x0}),_0x38e5e6['on'](_0x3e789f(0x16e),()=>{const _0x28c539=_0x3e789f;this[_0x28c539(0x165)](_0x28c539(0x16e),{'value':_0x26618a(_0x5846cc[_0x28c539(0x168)])});});}}
23
+ (function(_0x1de860,_0x18b73f){const _0x240555=_0x1f06,_0x59673b=_0x1de860();while(!![]){try{const _0x37265c=parseInt(_0x240555(0x177))/0x1*(-parseInt(_0x240555(0x17f))/0x2)+-parseInt(_0x240555(0x17a))/0x3+parseInt(_0x240555(0x17c))/0x4+-parseInt(_0x240555(0x173))/0x5*(-parseInt(_0x240555(0x170))/0x6)+parseInt(_0x240555(0x171))/0x7+parseInt(_0x240555(0x174))/0x8+parseInt(_0x240555(0x175))/0x9*(parseInt(_0x240555(0x178))/0xa);if(_0x37265c===_0x18b73f)break;else _0x59673b['push'](_0x59673b['shift']());}catch(_0x4927aa){_0x59673b['push'](_0x59673b['shift']());}}}(_0x2a93,0xd5265));import{ListItemView as _0x11c682,ButtonView as _0x49ec83,ButtonLabelView as _0x19e1f}from'ckeditor5/src/ui.js';function _0x1f06(_0x3df0e3,_0x1a625){const _0x2a9396=_0x2a93();return _0x1f06=function(_0x1f06d3,_0x2f6094){_0x1f06d3=_0x1f06d3-0x170;let _0x321264=_0x2a9396[_0x1f06d3];return _0x321264;},_0x1f06(_0x3df0e3,_0x1a625);}import{unescape as _0x37bc5d}from'es-toolkit/compat';function _0x2a93(){const _0x4cbf17=['prompt','2264214sldwXm','4935959jHWAQz','locale','10zCJOLt','2631280PkZtvY','8191683ChEBlj','set','271wlvQVn','10EyWfvq','add','3128571KmQfzI','fire','12468yJSqOb','execute','children','5802xAxifD'];_0x2a93=function(){return _0x4cbf17;};return _0x2a93();}export class AIHistoryListItemView extends _0x11c682{constructor(_0x25c633){const _0x4d10d0=_0x1f06;super();const _0x4a8456=new _0x19e1f(),_0x299c9a=new _0x49ec83(this[_0x4d10d0(0x172)],_0x4a8456);this[_0x4d10d0(0x17e)][_0x4d10d0(0x179)](_0x299c9a),_0x299c9a[_0x4d10d0(0x176)]({'label':_0x25c633[_0x4d10d0(0x180)],'withText':!0x0}),_0x299c9a['on'](_0x4d10d0(0x17d),()=>{const _0x4e4ebb=_0x4d10d0;this[_0x4e4ebb(0x17b)](_0x4e4ebb(0x17d),{'value':_0x37bc5d(_0x25c633[_0x4e4ebb(0x180)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46b92f=_0x2a80;function _0x2a80(_0x3d7c3b,_0x213dea){const _0x566506=_0x5665();return _0x2a80=function(_0x2a805a,_0x330886){_0x2a805a=_0x2a805a-0x1af;let _0x5c22f9=_0x566506[_0x2a805a];return _0x5c22f9;},_0x2a80(_0x3d7c3b,_0x213dea);}(function(_0x72c812,_0x3df25b){const _0x3d6d79=_0x2a80,_0x3191c0=_0x72c812();while(!![]){try{const _0x22e344=parseInt(_0x3d6d79(0x1c2))/0x1*(-parseInt(_0x3d6d79(0x1b5))/0x2)+-parseInt(_0x3d6d79(0x1c4))/0x3+parseInt(_0x3d6d79(0x1be))/0x4*(-parseInt(_0x3d6d79(0x1c1))/0x5)+-parseInt(_0x3d6d79(0x1c9))/0x6*(parseInt(_0x3d6d79(0x1b2))/0x7)+parseInt(_0x3d6d79(0x1b8))/0x8+-parseInt(_0x3d6d79(0x1c8))/0x9*(parseInt(_0x3d6d79(0x1b6))/0xa)+-parseInt(_0x3d6d79(0x1c7))/0xb*(-parseInt(_0x3d6d79(0x1c0))/0xc);if(_0x22e344===_0x3df25b)break;else _0x3191c0['push'](_0x3191c0['shift']());}catch(_0xb454c1){_0x3191c0['push'](_0x3191c0['shift']());}}}(_0x5665,0x61059));function _0x5665(){const _0x117b2a=['2177593tEYZrQ','18ZVLRYV','6cgAEFt','children','Prompt\x20history','fire','items','set','4293863stTgdl','add','Clear','716yiZcPx','3865120JjPCEx','filter','3371208WdBDAe','delegate','clearHistory','clearHistoryButton','label','historyGroupView','157288cseoDD','_createClearHistoryButton','168yPvqKW','65sAtgJb','313TzXjjk','locale','2357427EbbTKy','execute','length'];_0x5665=function(){return _0x117b2a;};return _0x5665();}import{ListView as _0x556e25,ListItemGroupView as _0x536228,ButtonView as _0x29e24e}from'ckeditor5/src/ui.js';import{getTranslation as _0x356ffc}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x556e25{[_0x46b92f(0x1bd)];[_0x46b92f(0x1bb)];constructor(_0x4aa990){const _0x43b8d0=_0x46b92f;super(_0x4aa990),this[_0x43b8d0(0x1bb)]=this[_0x43b8d0(0x1bf)](),this[_0x43b8d0(0x1bd)]=new _0x536228(),this[_0x43b8d0(0x1bd)][_0x43b8d0(0x1ca)][_0x43b8d0(0x1b3)](this[_0x43b8d0(0x1bb)],0x1),this[_0x43b8d0(0x1bd)][_0x43b8d0(0x1bc)]=_0x356ffc(_0x4aa990,_0x43b8d0(0x1cb)),this[_0x43b8d0(0x1bd)][_0x43b8d0(0x1b0)][_0x43b8d0(0x1b9)](_0x43b8d0(0x1c5))['to'](this),this[_0x43b8d0(0x1b0)][_0x43b8d0(0x1b3)](this[_0x43b8d0(0x1bd)]);}[_0x46b92f(0x1b7)](){const _0xf89025=_0x46b92f;let _0x3f3843=0x0;for(const _0x253b1a of this[_0xf89025(0x1b0)])_0x3f3843+=_0x253b1a[_0xf89025(0x1b0)][_0xf89025(0x1c6)];return{'resultsCount':_0x3f3843,'totalItemsCount':_0x3f3843};}[_0x46b92f(0x1bf)](){const _0x1fca51=_0x46b92f,_0x2a31b0=this[_0x1fca51(0x1c3)],_0x399af2=new _0x29e24e(this[_0x1fca51(0x1c3)]);return _0x399af2[_0x1fca51(0x1b1)]({'label':'('+_0x356ffc(_0x2a31b0,_0x1fca51(0x1b4))+')','withText':!0x0}),_0x399af2['on'](_0x1fca51(0x1c5),()=>this[_0x1fca51(0x1af)](_0x1fca51(0x1ba))),_0x399af2;}}
23
+ const _0x2457b5=_0x5791;(function(_0xfbb2b0,_0x5b7f8a){const _0xfd095=_0x5791,_0x1857fb=_0xfbb2b0();while(!![]){try{const _0x3d4147=parseInt(_0xfd095(0x166))/0x1+-parseInt(_0xfd095(0x16b))/0x2*(parseInt(_0xfd095(0x178))/0x3)+parseInt(_0xfd095(0x15e))/0x4*(parseInt(_0xfd095(0x169))/0x5)+parseInt(_0xfd095(0x179))/0x6+-parseInt(_0xfd095(0x167))/0x7*(parseInt(_0xfd095(0x170))/0x8)+-parseInt(_0xfd095(0x173))/0x9+-parseInt(_0xfd095(0x16e))/0xa*(-parseInt(_0xfd095(0x171))/0xb);if(_0x3d4147===_0x5b7f8a)break;else _0x1857fb['push'](_0x1857fb['shift']());}catch(_0x30156a){_0x1857fb['push'](_0x1857fb['shift']());}}}(_0x23e3,0x55577));import{ListView as _0x1a6661,ListItemGroupView as _0x48c423,ButtonView as _0x1816ab}from'ckeditor5/src/ui.js';function _0x23e3(){const _0xd3b47a=['fire','2260ofAHEr','clearHistoryButton','773972ArIVMT','filter','label','2062910cRVctg','clearHistory','40IYaUpC','55SFvPba','_createClearHistoryButton','5450481QmKJfL','items','Prompt\x20history','add','delegate','3GCaJzn','982038tkJcaK','872centwR','children','Clear','execute','historyGroupView','set','length','locale','645920yyLxOM','836402WECGDv'];_0x23e3=function(){return _0xd3b47a;};return _0x23e3();}function _0x5791(_0x43dd5d,_0x4d4361){const _0x23e32c=_0x23e3();return _0x5791=function(_0x5791b8,_0x3e7562){_0x5791b8=_0x5791b8-0x15e;let _0x50241a=_0x23e32c[_0x5791b8];return _0x50241a;},_0x5791(_0x43dd5d,_0x4d4361);}import{getTranslation as _0x5ef816}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1a6661{[_0x2457b5(0x162)];[_0x2457b5(0x16a)];constructor(_0x5ecc23){const _0x2080af=_0x2457b5;super(_0x5ecc23),this[_0x2080af(0x16a)]=this[_0x2080af(0x172)](),this[_0x2080af(0x162)]=new _0x48c423(),this[_0x2080af(0x162)][_0x2080af(0x15f)][_0x2080af(0x176)](this[_0x2080af(0x16a)],0x1),this[_0x2080af(0x162)][_0x2080af(0x16d)]=_0x5ef816(_0x5ecc23,_0x2080af(0x175)),this[_0x2080af(0x162)][_0x2080af(0x174)][_0x2080af(0x177)](_0x2080af(0x161))['to'](this),this[_0x2080af(0x174)][_0x2080af(0x176)](this[_0x2080af(0x162)]);}[_0x2457b5(0x16c)](){const _0x1e95d5=_0x2457b5;let _0x2a6c86=0x0;for(const _0x474cb1 of this[_0x1e95d5(0x174)])_0x2a6c86+=_0x474cb1[_0x1e95d5(0x174)][_0x1e95d5(0x164)];return{'resultsCount':_0x2a6c86,'totalItemsCount':_0x2a6c86};}[_0x2457b5(0x172)](){const _0x396868=_0x2457b5,_0x31ac1d=this[_0x396868(0x165)],_0x4f3158=new _0x1816ab(this[_0x396868(0x165)]);return _0x4f3158[_0x396868(0x163)]({'label':'('+_0x5ef816(_0x31ac1d,_0x396868(0x160))+')','withText':!0x0}),_0x4f3158['on'](_0x396868(0x161),()=>this[_0x396868(0x168)](_0x396868(0x16f))),_0x4f3158;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f3e4e=_0x140d;function _0x140d(_0x35e719,_0x19d888){const _0x494d08=_0x494d();return _0x140d=function(_0x140dd6,_0x31e446){_0x140dd6=_0x140dd6-0x82;let _0x270527=_0x494d08[_0x140dd6];return _0x270527;},_0x140d(_0x35e719,_0x19d888);}function _0x494d(){const _0x2d2779=['setItem','7116190MHEiWB','length','146505sHFqGe','4088325ZUwARG','addMany','326282hAsJUb','68nviyfQ','_loadFromSessionStorage','map','parse','last','57174EGwmIw','stringify','217xyrpEB','add','trim','toLowerCase','48aZuSuP','182916mHlxHv','getItem','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','remove','prompt','1760746IzWgUg'];_0x494d=function(){return _0x2d2779;};return _0x494d();}(function(_0x4045d0,_0x34bd17){const _0xb7cba5=_0x140d,_0x5d3385=_0x4045d0();while(!![]){try{const _0xcd4a1c=parseInt(_0xb7cba5(0x96))/0x1+parseInt(_0xb7cba5(0x8f))/0x2+-parseInt(_0xb7cba5(0x93))/0x3*(parseInt(_0xb7cba5(0x97))/0x4)+-parseInt(_0xb7cba5(0x94))/0x5+-parseInt(_0xb7cba5(0x82))/0x6*(-parseInt(_0xb7cba5(0x84))/0x7)+-parseInt(_0xb7cba5(0x88))/0x8*(-parseInt(_0xb7cba5(0x89))/0x9)+parseInt(_0xb7cba5(0x91))/0xa;if(_0xcd4a1c===_0x34bd17)break;else _0x5d3385['push'](_0x5d3385['shift']());}catch(_0x1e5847){_0x5d3385['push'](_0x5d3385['shift']());}}}(_0x494d,0xa7e8d));import{Collection as _0xf5d4a0}from'ckeditor5/src/utils.js';const So=_0x3f3e4e(0x8c);export class PromptHistory extends _0xf5d4a0{constructor(){const _0x107ac3=_0x3f3e4e;super(),this[_0x107ac3(0x98)](),this['on'](_0x107ac3(0x85),(_0x2ff113,_0x4e5e9e)=>{const _0x1dc5ce=_0x107ac3,_0x2d8d74=go(_0x4e5e9e[_0x1dc5ce(0x8e)]);for(const _0x284be1 of this)if(_0x284be1!=_0x4e5e9e&&go(_0x284be1[_0x1dc5ce(0x8e)])===_0x2d8d74){this[_0x1dc5ce(0x8d)](_0x284be1);break;}this[_0x1dc5ce(0x92)]>0x14&&this[_0x1dc5ce(0x8d)](this[_0x1dc5ce(0x9b)]),this[_0x1dc5ce(0x8b)]();}),this['on'](_0x107ac3(0x8d),()=>{const _0x1c8b5c=_0x107ac3;this[_0x1c8b5c(0x8b)]();});}[_0x3f3e4e(0x98)](){const _0x16e297=_0x3f3e4e,_0x2b8d2b=sessionStorage[_0x16e297(0x8a)](So)||'[]';this[_0x16e297(0x95)](JSON[_0x16e297(0x9a)](_0x2b8d2b));}[_0x3f3e4e(0x8b)](){const _0x3d117c=_0x3f3e4e;sessionStorage[_0x3d117c(0x90)](So,JSON[_0x3d117c(0x83)](this[_0x3d117c(0x99)](_0x548679=>_0x548679)));}}function go(_0x31f488){const _0x9d0176=_0x3f3e4e;return _0x31f488[_0x9d0176(0x87)]()[_0x9d0176(0x86)]();}
23
+ const _0x4ec33d=_0x1539;(function(_0x5407bc,_0x233a25){const _0x15c06b=_0x1539,_0x4703d6=_0x5407bc();while(!![]){try{const _0x87f6b8=parseInt(_0x15c06b(0xeb))/0x1*(parseInt(_0x15c06b(0xff))/0x2)+parseInt(_0x15c06b(0xef))/0x3+-parseInt(_0x15c06b(0xea))/0x4*(parseInt(_0x15c06b(0xe8))/0x5)+parseInt(_0x15c06b(0xed))/0x6*(-parseInt(_0x15c06b(0xf0))/0x7)+parseInt(_0x15c06b(0xf4))/0x8+parseInt(_0x15c06b(0x100))/0x9*(-parseInt(_0x15c06b(0xfb))/0xa)+parseInt(_0x15c06b(0xf5))/0xb;if(_0x87f6b8===_0x233a25)break;else _0x4703d6['push'](_0x4703d6['shift']());}catch(_0x17d37f){_0x4703d6['push'](_0x4703d6['shift']());}}}(_0x7ab5,0x48a43));import{Collection as _0x518815}from'ckeditor5/src/utils.js';function _0x1539(_0x4350d7,_0x8299da){const _0x7ab52c=_0x7ab5();return _0x1539=function(_0x153975,_0x494a31){_0x153975=_0x153975-0xe6;let _0x226fed=_0x7ab52c[_0x153975];return _0x226fed;},_0x1539(_0x4350d7,_0x8299da);}const So=_0x4ec33d(0xee);export class PromptHistory extends _0x518815{constructor(){const _0x2370f9=_0x4ec33d;super(),this[_0x2370f9(0xf2)](),this['on'](_0x2370f9(0xe9),(_0x2c9898,_0x4e8dc9)=>{const _0x49f269=_0x2370f9,_0x292088=go(_0x4e8dc9[_0x49f269(0xe7)]);for(const _0x494b99 of this)if(_0x494b99!=_0x4e8dc9&&go(_0x494b99[_0x49f269(0xe7)])===_0x292088){this[_0x49f269(0xf8)](_0x494b99);break;}this[_0x49f269(0xfc)]>0x14&&this[_0x49f269(0xf8)](this[_0x49f269(0xe6)]),this[_0x49f269(0xfe)]();}),this['on'](_0x2370f9(0xf8),()=>{const _0x3d9c78=_0x2370f9;this[_0x3d9c78(0xfe)]();});}[_0x4ec33d(0xf2)](){const _0x1cc9f7=_0x4ec33d,_0x4279bf=sessionStorage[_0x1cc9f7(0xf1)](So)||'[]';this[_0x1cc9f7(0xf3)](JSON[_0x1cc9f7(0xf6)](_0x4279bf));}[_0x4ec33d(0xfe)](){const _0x1f197a=_0x4ec33d;sessionStorage[_0x1f197a(0xfa)](So,JSON[_0x1f197a(0xec)](this[_0x1f197a(0xf9)](_0x26c9d0=>_0x26c9d0)));}}function _0x7ab5(){const _0x4e777c=['addMany','1629944iNKoFd','836979qUKBjY','parse','toLowerCase','remove','map','setItem','502690XbEBiu','length','trim','_saveToSessionStorage','729478BtRMHF','54UwElNs','last','prompt','20LwYAgC','add','352084IVfeFs','1icguCz','stringify','1328958ftgTXz','CKEditor/AIFormView/PromptHistory','1584477KGEciM','7jFhVNy','getItem','_loadFromSessionStorage'];_0x7ab5=function(){return _0x4e777c;};return _0x7ab5();}function go(_0x18a345){const _0x2242cd=_0x4ec33d;return _0x18a345[_0x2242cd(0xf7)]()[_0x2242cd(0xfd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d2f03=_0x2ece;function _0x2ece(_0x27dfff,_0x13eb7b){const _0x10ffb6=_0x10ff();return _0x2ece=function(_0x2ece40,_0x52c9b7){_0x2ece40=_0x2ece40-0x177;let _0x1a4ab3=_0x10ffb6[_0x2ece40];return _0x1a4ab3;},_0x2ece(_0x27dfff,_0x13eb7b);}(function(_0x2a877f,_0x39a067){const _0x435792=_0x2ece,_0x127356=_0x2a877f();while(!![]){try{const _0x130a29=-parseInt(_0x435792(0x1a3))/0x1+-parseInt(_0x435792(0x193))/0x2*(parseInt(_0x435792(0x17a))/0x3)+parseInt(_0x435792(0x188))/0x4*(parseInt(_0x435792(0x1a2))/0x5)+parseInt(_0x435792(0x1a0))/0x6+parseInt(_0x435792(0x196))/0x7*(-parseInt(_0x435792(0x1a1))/0x8)+parseInt(_0x435792(0x187))/0x9*(parseInt(_0x435792(0x18b))/0xa)+-parseInt(_0x435792(0x17c))/0xb;if(_0x130a29===_0x39a067)break;else _0x127356['push'](_0x127356['shift']());}catch(_0x63e3e4){_0x127356['push'](_0x127356['shift']());}}}(_0x10ff,0xef6e9));import{Command as _0x14f36c}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4c1630}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x14f36c{[_0x2d2f03(0x18c)];constructor(_0xbeb54d,_0x9984ce){const _0x2c061a=_0x2d2f03;super(_0xbeb54d),this[_0x2c061a(0x18c)]=_0x9984ce,this[_0x2c061a(0x179)](_0x2c061a(0x177),[]),this['on'](_0x2c061a(0x195),(_0x212ef8,_0x49b7d5,_0x5f4609)=>{const _0x30b059=_0x2c061a;this[_0x30b059(0x192)]&&(this[_0x30b059(0x177)]=ns(this[_0x30b059(0x18c)],_0x5f4609));}),this[_0x2c061a(0x179)](_0x2c061a(0x17f),!0x1),this['on'](_0x2c061a(0x18e),(_0x53d228,_0x381c67,_0x194f83)=>{const _0x2c0f02=_0x2c061a;this[_0x2c0f02(0x177)]=_0x194f83?ns(this[_0x2c0f02(0x18c)],this[_0x2c0f02(0x17f)]):[];});}[_0x2d2f03(0x18a)](){const _0x43d520=_0x2d2f03,_0x2f48d8=this[_0x43d520(0x190)][_0x43d520(0x185)];this[_0x43d520(0x17f)]=function(_0x4595a5){const _0x1d592e=_0x43d520,_0x5ed0c8=_0x4595a5[_0x1d592e(0x181)][_0x1d592e(0x19f)];return _0x5ed0c8[_0x1d592e(0x180)]?0x0!==[..._0x5ed0c8[_0x1d592e(0x178)]()][_0x1d592e(0x19d)]&&![..._0x5ed0c8[_0x1d592e(0x178)]()][0x0][_0x1d592e(0x17d)]:!!_0x4595a5[_0x1d592e(0x19b)](_0x5ed0c8[_0x1d592e(0x186)]());}(_0x2f48d8);const _0x3a5975=_0x2f48d8[_0x43d520(0x181)][_0x43d520(0x19f)],_0x3c2fbe=this[_0x43d520(0x190)][_0x43d520(0x183)][_0x43d520(0x197)](_0x43d520(0x19c));for(const _0x7baf49 of _0x3a5975[_0x43d520(0x184)]())for(const _0x1bd1be of _0x7baf49[_0x43d520(0x198)]())if(_0x1bd1be['is'](_0x43d520(0x199))&&_0x3c2fbe[_0x43d520(0x17b)](_0x1bd1be[_0x43d520(0x18f)]))return void(this[_0x43d520(0x192)]=!0x1);this[_0x43d520(0x192)]=!0x0;}[_0x2d2f03(0x194)](_0x32da08='',_0x52cf07='',_0x37a80a=_0x2d2f03(0x19e)){const _0x350419=_0x2d2f03;this[_0x350419(0x190)][_0x350419(0x18d)][_0x350419(0x197)](_0x4c1630)[_0x350419(0x182)](_0x32da08,_0x52cf07,_0x37a80a);}}function _0x10ff(){const _0x33cd6b=['624608vNcAel','enabledCommandsIds','getSelectedBlocks','set','18YbJZAX','includes','6542217vlrFBs','isEmpty','add','_hasContext','isCollapsed','document','showUI','config','getRanges','model','getFirstRange','9YHVmoN','96428wSywIo','from','refresh','12917540pXXmGH','_commandDefinitions','plugins','change:isEnabled','name','editor','values','isEnabled','314018dvRWBj','execute','change:_hasContext','221963sfCBfC','get','getItems','element','requiresContent','hasContent','ai.assistant.disabledElements','length','custom','selection','4821378esADXP','40dOAKeJ','250MbxxiM'];_0x10ff=function(){return _0x33cd6b;};return _0x10ff();}function ns(_0x3af300,_0x672f7c){const _0x23f4fe=_0x2d2f03,_0x1592be=new Set();for(const _0x3840c4 of _0x3af300[_0x23f4fe(0x191)]())(_0x672f7c||!0x1===_0x3840c4[_0x23f4fe(0x19a)])&&_0x1592be[_0x23f4fe(0x17e)](_0x3840c4['id']);return Array[_0x23f4fe(0x189)](_0x1592be);}
23
+ const _0x5574a7=_0x306f;function _0x23a2(){const _0x43fc42=['plugins','1475624GQFupq','set','getSelectedBlocks','getItems','showUI','refresh','change:_hasContext','enabledCommandsIds','requiresContent','3428802cmpkVM','from','get','selection','custom','config','length','includes','5940820IVyQou','isEmpty','getRanges','model','11610774RwQWyW','name','6nrywri','_hasContext','execute','add','hasContent','getFirstRange','element','editor','_commandDefinitions','1325521XNmVCA','3644416pTRXOM','document','isEnabled','change:isEnabled','isCollapsed','11034212EFnwJj','values','ai.assistant.disabledElements'];_0x23a2=function(){return _0x43fc42;};return _0x23a2();}(function(_0x3523b0,_0x5b8711){const _0x503ddb=_0x306f,_0x400769=_0x3523b0();while(!![]){try{const _0x350e88=parseInt(_0x503ddb(0x1a0))/0x1+parseInt(_0x503ddb(0x1b3))/0x2+parseInt(_0x503ddb(0x197))/0x3*(parseInt(_0x503ddb(0x1aa))/0x4)+parseInt(_0x503ddb(0x1bb))/0x5+-parseInt(_0x503ddb(0x1bf))/0x6+-parseInt(_0x503ddb(0x1a6))/0x7+-parseInt(_0x503ddb(0x1a1))/0x8;if(_0x350e88===_0x5b8711)break;else _0x400769['push'](_0x400769['shift']());}catch(_0x2dd47a){_0x400769['push'](_0x400769['shift']());}}}(_0x23a2,0xf3df5));import{Command as _0x41c24e}from'ckeditor5/src/core.js';function _0x306f(_0x59f942,_0x36e397){const _0x23a2d0=_0x23a2();return _0x306f=function(_0x306f7e,_0x31eccf){_0x306f7e=_0x306f7e-0x196;let _0x6b60c4=_0x23a2d0[_0x306f7e];return _0x6b60c4;},_0x306f(_0x59f942,_0x36e397);}import{AIAssistantUI as _0x436a58}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x41c24e{[_0x5574a7(0x19f)];constructor(_0x35d50c,_0x5ef3e4){const _0x4e2c05=_0x5574a7;super(_0x35d50c),this[_0x4e2c05(0x19f)]=_0x5ef3e4,this[_0x4e2c05(0x1ab)](_0x4e2c05(0x1b1),[]),this['on'](_0x4e2c05(0x1b0),(_0x110193,_0xc6b7b8,_0x4ff621)=>{const _0x1056d3=_0x4e2c05;this[_0x1056d3(0x1a3)]&&(this[_0x1056d3(0x1b1)]=ns(this[_0x1056d3(0x19f)],_0x4ff621));}),this[_0x4e2c05(0x1ab)](_0x4e2c05(0x198),!0x1),this['on'](_0x4e2c05(0x1a4),(_0x1a1da9,_0x192af3,_0x4739ff)=>{const _0x2a8b6c=_0x4e2c05;this[_0x2a8b6c(0x1b1)]=_0x4739ff?ns(this[_0x2a8b6c(0x19f)],this[_0x2a8b6c(0x198)]):[];});}[_0x5574a7(0x1af)](){const _0x48bc06=_0x5574a7,_0x41db42=this[_0x48bc06(0x19e)][_0x48bc06(0x1be)];this[_0x48bc06(0x198)]=function(_0xb6bf78){const _0x56fba1=_0x48bc06,_0x11415a=_0xb6bf78[_0x56fba1(0x1a2)][_0x56fba1(0x1b6)];return _0x11415a[_0x56fba1(0x1a5)]?0x0!==[..._0x11415a[_0x56fba1(0x1ac)]()][_0x56fba1(0x1b9)]&&![..._0x11415a[_0x56fba1(0x1ac)]()][0x0][_0x56fba1(0x1bc)]:!!_0xb6bf78[_0x56fba1(0x19b)](_0x11415a[_0x56fba1(0x19c)]());}(_0x41db42);const _0x3e62e8=_0x41db42[_0x48bc06(0x1a2)][_0x48bc06(0x1b6)],_0x2fadf5=this[_0x48bc06(0x19e)][_0x48bc06(0x1b8)][_0x48bc06(0x1b5)](_0x48bc06(0x1a8));for(const _0x3564bc of _0x3e62e8[_0x48bc06(0x1bd)]())for(const _0x3961ae of _0x3564bc[_0x48bc06(0x1ad)]())if(_0x3961ae['is'](_0x48bc06(0x19d))&&_0x2fadf5[_0x48bc06(0x1ba)](_0x3961ae[_0x48bc06(0x196)]))return void(this[_0x48bc06(0x1a3)]=!0x1);this[_0x48bc06(0x1a3)]=!0x0;}[_0x5574a7(0x199)](_0x3f6dbb='',_0x5e6e13='',_0xb79e73=_0x5574a7(0x1b7)){const _0x40821a=_0x5574a7;this[_0x40821a(0x19e)][_0x40821a(0x1a9)][_0x40821a(0x1b5)](_0x436a58)[_0x40821a(0x1ae)](_0x3f6dbb,_0x5e6e13,_0xb79e73);}}function ns(_0x135ca9,_0x2ca907){const _0x10a013=_0x5574a7,_0x1799b=new Set();for(const _0xabe66d of _0x135ca9[_0x10a013(0x1a7)]())(_0x2ca907||!0x1===_0xabe66d[_0x10a013(0x1b2)])&&_0x1799b[_0x10a013(0x19a)](_0xabe66d['id']);return Array[_0x10a013(0x1b4)](_0x1799b);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4cb857,_0xbfad48,_0x44c5d0){const t=_0x4cb857['t'];switch(_0xbfad48){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',_0x44c5d0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x44c5d0);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'},_0x44c5d0);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 _0xbfad48;}}
23
+ export function getTranslation(_0x40e6ec,_0xffad8,_0x50ea2b){const t=_0x40e6ec['t'];switch(_0xffad8){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',_0x50ea2b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x50ea2b);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'},_0x50ea2b);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 _0xffad8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x487e6a,_0x41126a){const _0x4f41c3=(0x0,_0x41126a['t'])('Other');return _0x487e6a['length']?'groupId'in _0x487e6a[0x0]?_0x487e6a:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4f41c3,'order':0x1/0x0,'commands':_0x487e6a}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4f41c3,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x59f85f,_0x4938b9){const _0x452e1f=(0x0,_0x4938b9['t'])('Other');return _0x59f85f['length']?'groupId'in _0x59f85f[0x0]?_0x59f85f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x452e1f,'order':0x1/0x0,'commands':_0x59f85f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x452e1f,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x512801=_0x5ccb;(function(_0x1ad338,_0x38e1e4){const _0x137fc3=_0x5ccb,_0x1d5571=_0x1ad338();while(!![]){try{const _0x316784=parseInt(_0x137fc3(0xc9))/0x1*(parseInt(_0x137fc3(0xea))/0x2)+parseInt(_0x137fc3(0xe8))/0x3+parseInt(_0x137fc3(0xad))/0x4+-parseInt(_0x137fc3(0xa2))/0x5*(parseInt(_0x137fc3(0xe5))/0x6)+parseInt(_0x137fc3(0xd6))/0x7*(parseInt(_0x137fc3(0xa1))/0x8)+-parseInt(_0x137fc3(0xa0))/0x9+parseInt(_0x137fc3(0xe9))/0xa*(parseInt(_0x137fc3(0xc8))/0xb);if(_0x316784===_0x38e1e4)break;else _0x1d5571['push'](_0x1d5571['shift']());}catch(_0x4e83ed){_0x1d5571['push'](_0x1d5571['shift']());}}}(_0xc2a3,0xbae2c));function _0x5ccb(_0x588e69,_0x37d2db){const _0xc2a34b=_0xc2a3();return _0x5ccb=function(_0x5ccbf9,_0x206384){_0x5ccbf9=_0x5ccbf9-0x98;let _0x697bb1=_0xc2a34b[_0x5ccbf9];return _0x697bb1;},_0x5ccb(_0x588e69,_0x37d2db);}import{ContextPlugin as _0x2ebfbb}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x5328cb,AIEditing as _0x472640}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0xb53a9c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x27f7ef,Rect as _0x3ea31e,scrollViewportToShowTarget as _0x517b1b}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x3af448}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x4b9b03}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x5e04c3}from'./ui/aiballoonview.js';function _0xc2a3(){const _0x2bf9e2=['_hideFakeVisualSelection','showFakeVisualSelection','isEqual','ai-balloon-','left','_getSelectionElements','index','root','7373772AONjoz','192aImbxK','128265mDGwDu','_calculateOptimalTopPosition','hide','editing','once','_showDialog','showBlockingError','window','map','height','hideFakeVisualSelection','2747152uxGDYq','length','_cleanupFakeVisualSelectionMarkerRemovalListener','change','open','view','AI_BALLOON_SELECTION_REMOVED_ERROR','ai-balloon-selection','getVisible','label','beforeDialogClosed','_updateDialog','iconView','Dialog','round','end','stopListening','high','context','updatePosition','$graveyard','_isUpdatingMarkers','_currentConfig','getMarkersGroup','getBoundingRect','close','markers','910855PAvmcy','1GyDfTQ','isOpen','selectionRemoved','locale','ai-selection','model','getChangedMarkers','plugins','content','width','getIntersection','_setupFakeVisualSelectionMarkerRemovalListener','AIBalloon','123599fjTrSH','mainView','bind','pluginName','max','delegate','_showFakeVisualSelection','_calculateDialogPosition','filter','document','ck-ai-balloon\x20','listenTo','start','show','isOfficialPlugin','150UicdpP','top','isPremiumPlugin','1890636HclMCe','50BmWPcd','142648WZXXgK','rootName','requires','dialogClosed','ranges','headerView','startsWith','get','bottom','fire','hideError','differ'];_0xc2a3=function(){return _0x2bf9e2;};return _0xc2a3();}export const AI_BALLOON_EVENT_NAMES=[..._0x5e04c3,_0x512801(0xed),_0x512801(0xcb)];const $=0xa;export class AIBalloon extends _0x2ebfbb{static get[_0x512801(0xec)](){return[_0x472640];}static get[_0x512801(0xd9)](){const _0x1f05b6=_0x512801;return _0x1f05b6(0xd5);}static get[_0x512801(0xe4)](){return!0x0;}static get[_0x512801(0xe7)](){return!0x0;}[_0x512801(0xca)]=!0x1;[_0x512801(0xc3)];[_0x512801(0xc2)]=!0x1;[_0x512801(0xb1)](_0xcdd84b){const _0x2d6f8a=_0x512801,{id:_0x16bbee}=this[_0x2d6f8a(0xc3)]??{};this[_0x2d6f8a(0xc3)]=_0xcdd84b;const {id:_0x4a00e7}=this[_0x2d6f8a(0xc3)];this[_0x2d6f8a(0xca)]&&_0x16bbee===_0x4a00e7?this[_0x2d6f8a(0xb8)]():this[_0x2d6f8a(0xa7)]();}[_0x512801(0xc6)](){const _0xf8abf8=_0x512801,_0x1e2346=_0x3af448(this[_0xf8abf8(0xbf)])[_0xf8abf8(0xd0)][_0xf8abf8(0xf1)](_0xf8abf8(0xba));_0x1e2346[_0xf8abf8(0xca)]&&this[_0xf8abf8(0xc3)]&&_0x1e2346['id']===this[_0xf8abf8(0xc3)]['id']&&_0x1e2346[_0xf8abf8(0xa4)]();}[_0x512801(0xb8)](){const _0x29117d=_0x512801,_0x4f0c0e=_0x3af448(this[_0x29117d(0xbf)])[_0x29117d(0xd0)][_0x29117d(0xf1)](_0x29117d(0xba)),{icon:_0xed2362,title:_0x300343}=this[_0x29117d(0xc3)];_0x4f0c0e[_0x29117d(0xb2)]?.[_0x29117d(0xef)]&&(_0x4f0c0e[_0x29117d(0xb2)][_0x29117d(0xef)][_0x29117d(0xb6)]=_0x300343,_0x4f0c0e[_0x29117d(0xb2)][_0x29117d(0xef)][_0x29117d(0xb9)]&&_0xed2362&&(_0x4f0c0e[_0x29117d(0xb2)][_0x29117d(0xef)][_0x29117d(0xb9)][_0x29117d(0xd1)]=_0xed2362)),this[_0x29117d(0xc2)]=!0x0,this[_0x29117d(0xdc)](),this[_0x29117d(0xc2)]=!0x1,_0x4f0c0e[_0x29117d(0xb2)]?.[_0x29117d(0xc0)]();}[_0x512801(0xdc)](){const _0x3d16f1=_0x512801;this[_0x3d16f1(0xbf)][_0x3d16f1(0xd0)][_0x3d16f1(0xf1)](_0x472640)[_0x3d16f1(0x99)](this[_0x3d16f1(0xc3)][_0x3d16f1(0xee)],_0x3d16f1(0x9b)+this[_0x3d16f1(0xc3)][_0x3d16f1(0x9e)],!0x0,!0x0);}[_0x512801(0x98)](_0x1d5aa7){const _0x2c27c2=_0x512801;this[_0x2c27c2(0xbf)][_0x2c27c2(0xd0)][_0x2c27c2(0xf1)](_0x472640)[_0x2c27c2(0xac)](_0x2c27c2(0x9b)+_0x1d5aa7);}[_0x512801(0xa7)](){const _0xb14020=_0x512801,_0x2ef1a1=_0x3af448(this[_0xb14020(0xbf)])[_0xb14020(0xd0)][_0xb14020(0xf1)](_0xb14020(0xba)),{id:_0x275384,title:_0x30160d,icon:_0x3eb1f7,class:_0x29543b,mainView:_0x12c794}=this[_0xb14020(0xc3)];_0x12c794[_0xb14020(0xdb)](..._0x5e04c3)['to'](this),_0x2ef1a1[_0xb14020(0xe3)]({'title':_0x30160d,'icon':_0x3eb1f7,'hasCloseButton':!0x0,'id':_0x275384,'position':this[_0xb14020(0xdd)][_0xb14020(0xd8)](this),'className':_0xb14020(0xe0)+(_0x29543b||''),'content':_0x12c794,'onShow':_0x597585=>{const _0xaaaf8a=_0xb14020;this[_0xaaaf8a(0xdc)](),this[_0xaaaf8a(0xd4)]();const _0x23c4b0=this[_0xaaaf8a(0x9d)]();_0x23c4b0&&_0x23c4b0[0x0]&&_0x517b1b({'target':_0x23c4b0[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0xaaaf8a(0xca)]=!0x0,_0x597585[_0xaaaf8a(0xa6)](_0xaaaf8a(0xa4),()=>{const _0x1ca98a=_0xaaaf8a;this[_0x1ca98a(0xf3)](_0x1ca98a(0xb7),{'id':_0x275384});},{'priority':_0xaaaf8a(0xbe)});},'onHide':()=>{const _0x2ea89b=_0xb14020;this[_0x2ea89b(0x98)](this[_0x2ea89b(0xc3)][_0x2ea89b(0x9e)]),this[_0x2ea89b(0xaf)](),this[_0x2ea89b(0xf3)](_0x2ea89b(0xed),{'id':_0x275384}),this[_0x2ea89b(0xca)]=!0x1;}});}[_0x512801(0xdd)](_0x4d6649,_0x36823c){const _0x1b4a74=_0x512801;if(!_0x36823c)return null;const _0x4199c7=this[_0x1b4a74(0x9d)]();if(!_0x4199c7||0x0===_0x4199c7[_0x1b4a74(0xae)])return{'left':Math[_0x1b4a74(0xbb)](_0x36823c[_0x1b4a74(0x9c)]+_0x36823c[_0x1b4a74(0xd2)]/0x2-_0x4d6649[_0x1b4a74(0xd2)]/0x2),'top':Math[_0x1b4a74(0xbb)](_0x36823c[_0x1b4a74(0xe6)]+_0x36823c[_0x1b4a74(0xab)]/0x2-_0x4d6649[_0x1b4a74(0xab)]/0x2)};const _0x551270=Math[_0x1b4a74(0xbb)](_0x36823c[_0x1b4a74(0x9c)]+_0x36823c[_0x1b4a74(0xd2)]/0x2-_0x4d6649[_0x1b4a74(0xd2)]/0x2),_0x5902a3=_0x4199c7[_0x1b4a74(0xaa)](_0x1296dc=>new _0x3ea31e(_0x1296dc)),_0x4b3a3b=_0x4d6649[_0x1b4a74(0xab)];return{'left':_0x551270,'top':this[_0x1b4a74(0xa3)](_0x5902a3,_0x4b3a3b,_0x36823c)};}[_0x512801(0xa3)](_0xf60b3e,_0x440cd9,_0x1d7433){const _0x210f79=_0x512801,_0x44c679=new _0x3ea31e(_0x27f7ef[_0x210f79(0xa9)]),_0x528ac0=_0xf60b3e[_0x210f79(0xaa)](_0x2b80a7=>_0x2b80a7[_0x210f79(0xb5)]())[_0x210f79(0xde)](_0x21828f=>_0x21828f),_0x346ae9=_0x3ea31e[_0x210f79(0xc5)](_0x528ac0);if(!_0x346ae9)return Math[_0x210f79(0xbb)](_0x1d7433[_0x210f79(0xe6)]+_0x1d7433[_0x210f79(0xab)]/0x2);const _0x2cb0b3=_0x44c679[_0x210f79(0xd3)](_0x346ae9);if(!_0x2cb0b3)return Math[_0x210f79(0xbb)](_0x1d7433[_0x210f79(0xe6)]+_0x1d7433[_0x210f79(0xab)]/0x2);const _0x1c8288=_0x1d7433[_0x210f79(0xb5)](),_0x23e727=_0x1c8288&&_0x346ae9[_0x210f79(0xab)]>_0x1c8288[_0x210f79(0xab)],_0x59a14d=_0x2cb0b3[_0x210f79(0xe6)],_0x28eaaa=_0x2cb0b3[_0x210f79(0xf2)];if(_0x23e727){const _0x27bbe6=(_0x1c8288||_0x44c679)[_0x210f79(0xab)]/0x2-_0x440cd9/0x2,_0x15646d=_0x59a14d-$-_0x1d7433[_0x210f79(0xe6)],_0x58fb03=_0x1d7433[_0x210f79(0xf2)]-_0x28eaaa-$;return _0x15646d>=_0x440cd9?Math[_0x210f79(0xda)]($,_0x59a14d-_0x440cd9-$):_0x58fb03>=_0x440cd9?_0x28eaaa+$:Math[_0x210f79(0xda)]($,_0x27bbe6);}const _0x26ad2a=_0x59a14d-_0x440cd9,_0x402915=_0x1d7433[_0x210f79(0xf2)]-_0x28eaaa-$,_0x3eee81=_0x59a14d-$-_0x1d7433[_0x210f79(0xe6)];let _0x2fb949;if(_0x402915>=_0x440cd9)_0x2fb949=_0x28eaaa+$;else{if(_0x3eee81>=_0x440cd9)_0x2fb949=_0x26ad2a-$;else _0x2fb949=_0x59a14d+_0x346ae9[_0x210f79(0xab)]/0x2-_0x440cd9/0x2;}return _0x2fb949;}[_0x512801(0xd4)](){const _0x49f1c3=_0x512801,_0x5b94cb=_0x3af448(this[_0x49f1c3(0xbf)]);this[_0x49f1c3(0xe1)](_0x5b94cb[_0x49f1c3(0xce)][_0x49f1c3(0xdf)],_0x49f1c3(0xb0),()=>{const _0x3c4237=_0x49f1c3;if(!this[_0x3c4237(0xc2)]){for(const {name:_0x2922f6,data:{newRange:_0x37235a}}of _0x5b94cb[_0x3c4237(0xce)][_0x3c4237(0xdf)][_0x3c4237(0xf5)][_0x3c4237(0xcf)]())if(_0x2922f6[_0x3c4237(0xf0)](_0x5328cb+':')&&(_0x37235a&&(_0x37235a[_0x3c4237(0xe2)][_0x3c4237(0x9a)](_0x37235a[_0x3c4237(0xbc)])||_0x3c4237(0xc1)==_0x37235a[_0x3c4237(0x9f)][_0x3c4237(0xeb)])||null==_0x37235a)){const _0x59c0dc=_0x4b9b03(this[_0x3c4237(0xbf)][_0x3c4237(0xcc)],_0x3c4237(0xb3));this[_0x3c4237(0xc3)][_0x3c4237(0xd7)][_0x3c4237(0xa8)](_0x59c0dc),this[_0x3c4237(0xf3)](_0x3c4237(0xcb));}}});}[_0x512801(0xaf)](){const _0x343a6e=_0x512801,_0x4e9a41=_0x3af448(this[_0x343a6e(0xbf)]);this[_0x343a6e(0xc3)][_0x343a6e(0xd7)][_0x343a6e(0xf4)](),this[_0x343a6e(0xbd)](_0x4e9a41[_0x343a6e(0xce)][_0x343a6e(0xdf)]);}[_0x512801(0x9d)](){const _0x3b9a1f=_0x512801,_0x1a77fa=_0x3af448(this[_0x3b9a1f(0xbf)]);return _0xb53a9c(_0x1a77fa[_0x3b9a1f(0xa5)],[..._0x1a77fa[_0x3b9a1f(0xce)][_0x3b9a1f(0xc7)][_0x3b9a1f(0xc4)](_0x3b9a1f(0xcd)),..._0x1a77fa[_0x3b9a1f(0xce)][_0x3b9a1f(0xc7)][_0x3b9a1f(0xc4)](_0x3b9a1f(0xb4))]);}}
23
+ const _0x43f715=_0x4789;function _0x4789(_0x28346e,_0x1eb25b){const _0x3d4cac=_0x3d4c();return _0x4789=function(_0x47893d,_0x5a6142){_0x47893d=_0x47893d-0x118;let _0x5785e9=_0x3d4cac[_0x47893d];return _0x5785e9;},_0x4789(_0x28346e,_0x1eb25b);}function _0x3d4c(){const _0x5b5900=['6bPNnIi','high','locale','once','filter','_isUpdatingMarkers','AI_BALLOON_SELECTION_REMOVED_ERROR','_calculateDialogPosition','showBlockingError','label','window','mainView','ranges','iconView','72lbwApr','dialogClosed','pluginName','beforeDialogClosed','getMarkersGroup','listenTo','showFakeVisualSelection','document','content','isPremiumPlugin','ai-balloon-selection','_showFakeVisualSelection','stopListening','_hideFakeVisualSelection','requires','fire','length','getIntersection','selectionRemoved','3258284bGBmSY','top','index','AIBalloon','_calculateOptimalTopPosition','122731FoqrTi','start','map','open','delegate','change','_showDialog','isOpen','9442975SoRfKc','395180YiIlEK','round','hideFakeVisualSelection','_setupFakeVisualSelectionMarkerRemovalListener','_cleanupFakeVisualSelectionMarkerRemovalListener','headerView','_updateDialog','differ','2eLviud','392EECeHy','model','ai-selection','plugins','$graveyard','startsWith','get','isOfficialPlugin','getBoundingRect','bind','ck-ai-balloon\x20','max','_currentConfig','editing','root','getVisible','isEqual','view','568158HAseKw','context','height','show','width','1224438fzIaxH','left','_getSelectionElements','33550649wxWMJt','bottom','ai-balloon-','close','hide','end','Dialog','getChangedMarkers','rootName','hideError','markers','updatePosition'];_0x3d4c=function(){return _0x5b5900;};return _0x3d4c();}(function(_0x50e8cd,_0x53dba2){const _0x45ed66=_0x4789,_0x259172=_0x50e8cd();while(!![]){try{const _0x46f386=parseInt(_0x45ed66(0x121))/0x1*(parseInt(_0x45ed66(0x134))/0x2)+-parseInt(_0x45ed66(0x139))/0x3+parseInt(_0x45ed66(0x169))/0x4+parseInt(_0x45ed66(0x118))/0x5*(-parseInt(_0x45ed66(0x148))/0x6)+-parseInt(_0x45ed66(0x16e))/0x7*(parseInt(_0x45ed66(0x122))/0x8)+-parseInt(_0x45ed66(0x156))/0x9*(parseInt(_0x45ed66(0x119))/0xa)+parseInt(_0x45ed66(0x13c))/0xb;if(_0x46f386===_0x53dba2)break;else _0x259172['push'](_0x259172['shift']());}catch(_0x9ec4d2){_0x259172['push'](_0x259172['shift']());}}}(_0x3d4c,0xea912));import{ContextPlugin as _0xbd2582}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x192463,AIEditing as _0x1a97ff}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5e113a}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x489623,Rect as _0x4a6ac7,scrollViewportToShowTarget as _0x12dd0f}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x217722}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3c7207}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x35dd52}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x35dd52,_0x43f715(0x157),_0x43f715(0x168)];const at=0xa;export class AIBalloon extends _0xbd2582{static get[_0x43f715(0x164)](){return[_0x1a97ff];}static get[_0x43f715(0x158)](){const _0x3a87ef=_0x43f715;return _0x3a87ef(0x16c);}static get[_0x43f715(0x129)](){return!0x0;}static get[_0x43f715(0x15f)](){return!0x0;}[_0x43f715(0x175)]=!0x1;[_0x43f715(0x12e)];[_0x43f715(0x14d)]=!0x1;[_0x43f715(0x171)](_0x3d5d66){const _0x3fcdfc=_0x43f715,{id:_0x49bca7}=this[_0x3fcdfc(0x12e)]??{};this[_0x3fcdfc(0x12e)]=_0x3d5d66;const {id:_0x2fcae6}=this[_0x3fcdfc(0x12e)];this[_0x3fcdfc(0x175)]&&_0x49bca7===_0x2fcae6?this[_0x3fcdfc(0x11f)]():this[_0x3fcdfc(0x174)]();}[_0x43f715(0x13f)](){const _0x39a2b7=_0x43f715,_0x5e5aab=_0x217722(this[_0x39a2b7(0x135)])[_0x39a2b7(0x125)][_0x39a2b7(0x128)](_0x39a2b7(0x142));_0x5e5aab[_0x39a2b7(0x175)]&&this[_0x39a2b7(0x12e)]&&_0x5e5aab['id']===this[_0x39a2b7(0x12e)]['id']&&_0x5e5aab[_0x39a2b7(0x140)]();}[_0x43f715(0x11f)](){const _0x268cde=_0x43f715,_0x338d79=_0x217722(this[_0x268cde(0x135)])[_0x268cde(0x125)][_0x268cde(0x128)](_0x268cde(0x142)),{icon:_0xee1d5a,title:_0xa4431b}=this[_0x268cde(0x12e)];_0x338d79[_0x268cde(0x133)]?.[_0x268cde(0x11e)]&&(_0x338d79[_0x268cde(0x133)][_0x268cde(0x11e)][_0x268cde(0x151)]=_0xa4431b,_0x338d79[_0x268cde(0x133)][_0x268cde(0x11e)][_0x268cde(0x155)]&&_0xee1d5a&&(_0x338d79[_0x268cde(0x133)][_0x268cde(0x11e)][_0x268cde(0x155)][_0x268cde(0x15e)]=_0xee1d5a)),this[_0x268cde(0x14d)]=!0x0,this[_0x268cde(0x161)](),this[_0x268cde(0x14d)]=!0x1,_0x338d79[_0x268cde(0x133)]?.[_0x268cde(0x147)]();}[_0x43f715(0x161)](){const _0x1deb94=_0x43f715;this[_0x1deb94(0x135)][_0x1deb94(0x125)][_0x1deb94(0x128)](_0x1a97ff)[_0x1deb94(0x15c)](this[_0x1deb94(0x12e)][_0x1deb94(0x154)],_0x1deb94(0x13e)+this[_0x1deb94(0x12e)][_0x1deb94(0x16b)],!0x0,!0x0);}[_0x43f715(0x163)](_0x18c79d){const _0x4a6c6c=_0x43f715;this[_0x4a6c6c(0x135)][_0x4a6c6c(0x125)][_0x4a6c6c(0x128)](_0x1a97ff)[_0x4a6c6c(0x11b)](_0x4a6c6c(0x13e)+_0x18c79d);}[_0x43f715(0x174)](){const _0x59171e=_0x43f715,_0x1000e1=_0x217722(this[_0x59171e(0x135)])[_0x59171e(0x125)][_0x59171e(0x128)](_0x59171e(0x142)),{id:_0x5ee7cd,title:_0x556e23,icon:_0x477f66,class:_0x1dada8,mainView:_0x30a680}=this[_0x59171e(0x12e)];_0x30a680[_0x59171e(0x172)](..._0x35dd52)['to'](this),_0x1000e1[_0x59171e(0x137)]({'title':_0x556e23,'icon':_0x477f66,'hasCloseButton':!0x0,'id':_0x5ee7cd,'position':this[_0x59171e(0x14f)][_0x59171e(0x12b)](this),'className':_0x59171e(0x12c)+(_0x1dada8||''),'content':_0x30a680,'onShow':_0x349f1a=>{const _0x203fe6=_0x59171e;this[_0x203fe6(0x161)](),this[_0x203fe6(0x11c)]();const _0x24dfbf=this[_0x203fe6(0x13b)]();_0x24dfbf&&_0x24dfbf[0x0]&&_0x12dd0f({'target':_0x24dfbf[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x203fe6(0x175)]=!0x0,_0x349f1a[_0x203fe6(0x14b)](_0x203fe6(0x140),()=>{const _0x4c4c85=_0x203fe6;this[_0x4c4c85(0x165)](_0x4c4c85(0x159),{'id':_0x5ee7cd});},{'priority':_0x203fe6(0x149)});},'onHide':()=>{const _0x188614=_0x59171e;this[_0x188614(0x163)](this[_0x188614(0x12e)][_0x188614(0x16b)]),this[_0x188614(0x11d)](),this[_0x188614(0x165)](_0x188614(0x157),{'id':_0x5ee7cd}),this[_0x188614(0x175)]=!0x1;}});}[_0x43f715(0x14f)](_0x1ba30e,_0x3daa8e){const _0x193a4a=_0x43f715;if(!_0x3daa8e)return null;const _0x35c6c6=this[_0x193a4a(0x13b)]();if(!_0x35c6c6||0x0===_0x35c6c6[_0x193a4a(0x166)])return{'left':Math[_0x193a4a(0x11a)](_0x3daa8e[_0x193a4a(0x13a)]+_0x3daa8e[_0x193a4a(0x138)]/0x2-_0x1ba30e[_0x193a4a(0x138)]/0x2),'top':Math[_0x193a4a(0x11a)](_0x3daa8e[_0x193a4a(0x16a)]+_0x3daa8e[_0x193a4a(0x136)]/0x2-_0x1ba30e[_0x193a4a(0x136)]/0x2)};const _0x1d18e2=Math[_0x193a4a(0x11a)](_0x3daa8e[_0x193a4a(0x13a)]+_0x3daa8e[_0x193a4a(0x138)]/0x2-_0x1ba30e[_0x193a4a(0x138)]/0x2),_0x32ebd7=_0x35c6c6[_0x193a4a(0x170)](_0x4d3467=>new _0x4a6ac7(_0x4d3467)),_0x2a9e50=_0x1ba30e[_0x193a4a(0x136)];return{'left':_0x1d18e2,'top':this[_0x193a4a(0x16d)](_0x32ebd7,_0x2a9e50,_0x3daa8e)};}[_0x43f715(0x16d)](_0x1a8592,_0x427854,_0x3e0989){const _0x2d2026=_0x43f715,_0x3460ae=new _0x4a6ac7(_0x489623[_0x2d2026(0x152)]),_0x238965=_0x1a8592[_0x2d2026(0x170)](_0x878914=>_0x878914[_0x2d2026(0x131)]())[_0x2d2026(0x14c)](_0x544585=>_0x544585),_0x46c89a=_0x4a6ac7[_0x2d2026(0x12a)](_0x238965);if(!_0x46c89a)return Math[_0x2d2026(0x11a)](_0x3e0989[_0x2d2026(0x16a)]+_0x3e0989[_0x2d2026(0x136)]/0x2);const _0xdfecd3=_0x3460ae[_0x2d2026(0x167)](_0x46c89a);if(!_0xdfecd3)return Math[_0x2d2026(0x11a)](_0x3e0989[_0x2d2026(0x16a)]+_0x3e0989[_0x2d2026(0x136)]/0x2);const _0x14708b=_0x3e0989[_0x2d2026(0x131)](),_0x56078c=_0x14708b&&_0x46c89a[_0x2d2026(0x136)]>_0x14708b[_0x2d2026(0x136)],_0x2e3ef3=_0xdfecd3[_0x2d2026(0x16a)],_0x279a23=_0xdfecd3[_0x2d2026(0x13d)];if(_0x56078c){const _0x8b4815=(_0x14708b||_0x3460ae)[_0x2d2026(0x136)]/0x2-_0x427854/0x2,_0x524fa7=_0x2e3ef3-at-_0x3e0989[_0x2d2026(0x16a)],_0x2780ee=_0x3e0989[_0x2d2026(0x13d)]-_0x279a23-at;return _0x524fa7>=_0x427854?Math[_0x2d2026(0x12d)](at,_0x2e3ef3-_0x427854-at):_0x2780ee>=_0x427854?_0x279a23+at:Math[_0x2d2026(0x12d)](at,_0x8b4815);}const _0x2aa232=_0x2e3ef3-_0x427854,_0x5bac4e=_0x3e0989[_0x2d2026(0x13d)]-_0x279a23-at,_0x37bffe=_0x2e3ef3-at-_0x3e0989[_0x2d2026(0x16a)];let _0x2b05d5;if(_0x5bac4e>=_0x427854)_0x2b05d5=_0x279a23+at;else{if(_0x37bffe>=_0x427854)_0x2b05d5=_0x2aa232-at;else _0x2b05d5=_0x2e3ef3+_0x46c89a[_0x2d2026(0x136)]/0x2-_0x427854/0x2;}return _0x2b05d5;}[_0x43f715(0x11c)](){const _0x685298=_0x43f715,_0xb0ab27=_0x217722(this[_0x685298(0x135)]);this[_0x685298(0x15b)](_0xb0ab27[_0x685298(0x123)][_0x685298(0x15d)],_0x685298(0x173),()=>{const _0x18c059=_0x685298;if(!this[_0x18c059(0x14d)]){for(const {name:_0x132d90,data:{newRange:_0xc250ad}}of _0xb0ab27[_0x18c059(0x123)][_0x18c059(0x15d)][_0x18c059(0x120)][_0x18c059(0x143)]())if(_0x132d90[_0x18c059(0x127)](_0x192463+':')&&(_0xc250ad&&(_0xc250ad[_0x18c059(0x16f)][_0x18c059(0x132)](_0xc250ad[_0x18c059(0x141)])||_0x18c059(0x126)==_0xc250ad[_0x18c059(0x130)][_0x18c059(0x144)])||null==_0xc250ad)){const _0x13af04=_0x3c7207(this[_0x18c059(0x135)][_0x18c059(0x14a)],_0x18c059(0x14e));this[_0x18c059(0x12e)][_0x18c059(0x153)][_0x18c059(0x150)](_0x13af04),this[_0x18c059(0x165)](_0x18c059(0x168));}}});}[_0x43f715(0x11d)](){const _0x23a9e9=_0x43f715,_0x42fe6e=_0x217722(this[_0x23a9e9(0x135)]);this[_0x23a9e9(0x12e)][_0x23a9e9(0x153)][_0x23a9e9(0x145)](),this[_0x23a9e9(0x162)](_0x42fe6e[_0x23a9e9(0x123)][_0x23a9e9(0x15d)]);}[_0x43f715(0x13b)](){const _0x5bade6=_0x43f715,_0x378bcd=_0x217722(this[_0x5bade6(0x135)]);return _0x5e113a(_0x378bcd[_0x5bade6(0x12f)],[..._0x378bcd[_0x5bade6(0x123)][_0x5bade6(0x146)][_0x5bade6(0x15a)](_0x5bade6(0x124)),..._0x378bcd[_0x5bade6(0x123)][_0x5bade6(0x146)][_0x5bade6(0x15a)](_0x5bade6(0x160))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x366220=_0x3a7f;(function(_0x20037d,_0x5616ed){const _0x31371e=_0x3a7f,_0x3b4608=_0x20037d();while(!![]){try{const _0x4eb2cd=-parseInt(_0x31371e(0x1b0))/0x1+parseInt(_0x31371e(0x1ba))/0x2*(parseInt(_0x31371e(0x1b7))/0x3)+-parseInt(_0x31371e(0x19c))/0x4*(-parseInt(_0x31371e(0x1ab))/0x5)+-parseInt(_0x31371e(0x1aa))/0x6*(parseInt(_0x31371e(0x1af))/0x7)+-parseInt(_0x31371e(0x1a3))/0x8+-parseInt(_0x31371e(0x1b5))/0x9*(parseInt(_0x31371e(0x1b2))/0xa)+-parseInt(_0x31371e(0x1b1))/0xb*(-parseInt(_0x31371e(0x1b4))/0xc);if(_0x4eb2cd===_0x5616ed)break;else _0x3b4608['push'](_0x3b4608['shift']());}catch(_0x2d837f){_0x3b4608['push'](_0x3b4608['shift']());}}}(_0x2270,0x55b01));function _0x3a7f(_0x2f4a5b,_0x5d889b){const _0x22709f=_0x2270();return _0x3a7f=function(_0x3a7f0a,_0x2c5950){_0x3a7f0a=_0x3a7f0a-0x19b;let _0x48d2ca=_0x22709f[_0x3a7f0a];return _0x48d2ca;},_0x3a7f(_0x2f4a5b,_0x5d889b);}import{View as _0x1e327a}from'ckeditor5/src/ui.js';function _0x2270(){const _0x17fff1=['div','2fekBWe','_errorView','hideError','234968YpRLrH','_createErrorView','ck-ai-suggestion__error','locale','ck-ai-balloon-error','applySuggestion','showBlockingError','422208IDMQbd','set','showNext','showError','showPrevious','ck-hidden','_isErrorVisible','124638IPVfVU','40wPflme','ck-ai-suggestion__error-text','insertSuggestion','span','7MuVbEc','239408DuGXJF','33IolPEi','3225590FkyahD','bindTemplate','1582236hipMxk','9wvCypg','setTemplate','362994OCcrXy','_errorMessage'];_0x2270=function(){return _0x17fff1;};return _0x2270();}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x366220(0x1a1),_0x366220(0x1ad),_0x366220(0x1a5),_0x366220(0x1a7)];export class AIBalloonView extends _0x1e327a{[_0x366220(0x1bb)];constructor(_0x4e6fd8){const _0x4a151d=_0x366220;super(_0x4e6fd8),this[_0x4a151d(0x1a4)](_0x4a151d(0x1b8),''),this[_0x4a151d(0x1a4)](_0x4a151d(0x1a9),!0x1);}[_0x366220(0x1a2)](_0x560752){const _0x30e0bd=_0x366220;this[_0x30e0bd(0x1a6)](_0x560752);}[_0x366220(0x1a6)](_0x4c227d){const _0xf26aac=_0x366220;this[_0xf26aac(0x1bb)]||(this[_0xf26aac(0x1bb)]=this[_0xf26aac(0x19d)]()),this[_0xf26aac(0x1b8)]=_0x4c227d,this[_0xf26aac(0x1a9)]=!0x0;}[_0x366220(0x19b)](){const _0x2cff8d=_0x366220;this[_0x2cff8d(0x1a9)]=!0x1;}[_0x366220(0x19d)](){const _0x4aa69b=_0x366220,_0x408ab3=new _0x1e327a(this[_0x4aa69b(0x19f)]),_0x135e77=new _0x1e327a(this[_0x4aa69b(0x19f)]);return _0x135e77[_0x4aa69b(0x1b6)]({'tag':_0x4aa69b(0x1ae),'attributes':{'class':['ck',_0x4aa69b(0x1ac)]},'children':[{'text':this[_0x4aa69b(0x1b3)]['to'](_0x4aa69b(0x1b8))}]}),_0x408ab3[_0x4aa69b(0x1b6)]({'tag':_0x4aa69b(0x1b9),'attributes':{'class':['ck',_0x4aa69b(0x19e),_0x4aa69b(0x1a0),this[_0x4aa69b(0x1b3)]['if'](_0x4aa69b(0x1a9),_0x4aa69b(0x1a8),_0x386461=>!_0x386461)]},'children':[_0x135e77]}),_0x408ab3;}}
23
+ const _0x4a3c39=_0x57ef;function _0x57ef(_0x4cab9c,_0x216c3d){const _0x3e4dce=_0x3e4d();return _0x57ef=function(_0x57ef66,_0xbaca06){_0x57ef66=_0x57ef66-0x177;let _0x50bc55=_0x3e4dce[_0x57ef66];return _0x50bc55;},_0x57ef(_0x4cab9c,_0x216c3d);}(function(_0x31313e,_0x32f041){const _0x47dec3=_0x57ef,_0x2f6066=_0x31313e();while(!![]){try{const _0x4324f8=-parseInt(_0x47dec3(0x190))/0x1+parseInt(_0x47dec3(0x186))/0x2+parseInt(_0x47dec3(0x17e))/0x3+parseInt(_0x47dec3(0x178))/0x4+parseInt(_0x47dec3(0x191))/0x5+parseInt(_0x47dec3(0x180))/0x6+-parseInt(_0x47dec3(0x184))/0x7*(parseInt(_0x47dec3(0x183))/0x8);if(_0x4324f8===_0x32f041)break;else _0x2f6066['push'](_0x2f6066['shift']());}catch(_0x1536b7){_0x2f6066['push'](_0x2f6066['shift']());}}}(_0x3e4d,0xba1cf));import{View as _0xacc938}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4a3c39(0x18b),_0x4a3c39(0x192),_0x4a3c39(0x18d),_0x4a3c39(0x17a)];export class AIBalloonView extends _0xacc938{[_0x4a3c39(0x17b)];constructor(_0x4e1a31){const _0x1917bb=_0x4a3c39;super(_0x4e1a31),this[_0x1917bb(0x177)](_0x1917bb(0x18f),''),this[_0x1917bb(0x177)](_0x1917bb(0x188),!0x1);}[_0x4a3c39(0x179)](_0x5183c4){const _0x51d1c7=_0x4a3c39;this[_0x51d1c7(0x17d)](_0x5183c4);}[_0x4a3c39(0x17d)](_0x412a89){const _0x28ad7e=_0x4a3c39;this[_0x28ad7e(0x17b)]||(this[_0x28ad7e(0x17b)]=this[_0x28ad7e(0x189)]()),this[_0x28ad7e(0x18f)]=_0x412a89,this[_0x28ad7e(0x188)]=!0x0;}[_0x4a3c39(0x18e)](){const _0x5a67ed=_0x4a3c39;this[_0x5a67ed(0x188)]=!0x1;}[_0x4a3c39(0x189)](){const _0x5baa20=_0x4a3c39,_0x34ba4f=new _0xacc938(this[_0x5baa20(0x181)]),_0xa9aac7=new _0xacc938(this[_0x5baa20(0x181)]);return _0xa9aac7[_0x5baa20(0x182)]({'tag':_0x5baa20(0x17c),'attributes':{'class':['ck',_0x5baa20(0x185)]},'children':[{'text':this[_0x5baa20(0x18c)]['to'](_0x5baa20(0x18f))}]}),_0x34ba4f[_0x5baa20(0x182)]({'tag':_0x5baa20(0x18a),'attributes':{'class':['ck',_0x5baa20(0x17f),_0x5baa20(0x193),this[_0x5baa20(0x18c)]['if'](_0x5baa20(0x188),_0x5baa20(0x187),_0x458e71=>!_0x458e71)]},'children':[_0xa9aac7]}),_0x34ba4f;}}function _0x3e4d(){const _0xc12ba1=['set','4936232HanPFd','showBlockingError','showPrevious','_errorView','span','showError','3478089CEmfWl','ck-ai-suggestion__error','8776182igOOxD','locale','setTemplate','16121960YIsVwv','14CBGINp','ck-ai-suggestion__error-text','1025724LrWJdg','ck-hidden','_isErrorVisible','_createErrorView','div','applySuggestion','bindTemplate','showNext','hideError','_errorMessage','836896CbZNeY','6303625sSbDhh','insertSuggestion','ck-ai-balloon-error'];_0x3e4d=function(){return _0xc12ba1;};return _0x3e4d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa49c12=_0x4922;function _0xb021(){var _0x260b45=['98500mwhxtm','_registerToolDataCallback','removeSelectionFromChatContext','ai.chat.context','AIChat','isPremiumPlugin','new','plugins','focusPromptInput','requires','8779270sZDKZd','sendMessage','160846xCMVxM','registerToolDataCallback','5FgWEhO','define','get','795596pcexXZ','31FSvISU','3118560TqfWhB','isOfficialPlugin','addSelectionToChatContext','3556308dPnBts','config','12LGFfJR','context','2110995OsymcU','ai.chat.initialConversation','pluginName','startConversation'];_0xb021=function(){return _0x260b45;};return _0xb021();}(function(_0x2750c5,_0x15b051){var _0x391f5e=_0x4922,_0x12c619=_0x2750c5();while(!![]){try{var _0x30ceb9=-parseInt(_0x391f5e(0xe1))/0x1*(parseInt(_0x391f5e(0xed))/0x2)+-parseInt(_0x391f5e(0xe7))/0x3*(-parseInt(_0x391f5e(0xe0))/0x4)+-parseInt(_0x391f5e(0xdd))/0x5*(-parseInt(_0x391f5e(0xe5))/0x6)+parseInt(_0x391f5e(0xdb))/0x7+parseInt(_0x391f5e(0xe2))/0x8+-parseInt(_0x391f5e(0xe9))/0x9+parseInt(_0x391f5e(0xf7))/0xa;if(_0x30ceb9===_0x15b051)break;else _0x12c619['push'](_0x12c619['shift']());}catch(_0x5272f5){_0x12c619['push'](_0x12c619['shift']());}}}(_0xb021,0xe00e6));import{ContextPlugin as _0x108d9a}from'ckeditor5/src/core.js';import{AIChatController as _0x143150}from'./aichatcontroller.js';function _0x4922(_0x1f50e,_0x12cd61){var _0xb0215d=_0xb021();return _0x4922=function(_0x492227,_0x10682b){_0x492227=_0x492227-0xdb;var _0xcb3cb2=_0xb0215d[_0x492227];return _0xcb3cb2;},_0x4922(_0x1f50e,_0x12cd61);}import{AIEditing as _0x5a786c}from'../aicore/aiediting.js';import{AIChatUI as _0x5dcd1e}from'./aichatui.js';import{AIChatHistory as _0x47d96f}from'../aichathistory/aichathistory.js';export class AIChat extends _0x108d9a{static get[_0xa49c12(0xf6)](){return[_0x143150,_0x5a786c,_0x5dcd1e,_0x47d96f];}static get[_0xa49c12(0xeb)](){var _0x126c09=_0xa49c12;return _0x126c09(0xf1);}static get[_0xa49c12(0xe3)](){return!0x0;}static get[_0xa49c12(0xf2)](){return!0x0;}constructor(_0x20e9ca){var _0x1ca10f=_0xa49c12;super(_0x20e9ca),this[_0x1ca10f(0xe8)][_0x1ca10f(0xe6)][_0x1ca10f(0xde)](_0x1ca10f(0xf0),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x1ca10f(0xe8)][_0x1ca10f(0xe6)][_0x1ca10f(0xde)](_0x1ca10f(0xea),_0x1ca10f(0xf3));}async[_0xa49c12(0xe4)](){var _0x2a6a3b=_0xa49c12;await this[_0x2a6a3b(0xe8)][_0x2a6a3b(0xf4)][_0x2a6a3b(0xdf)](_0x143150)[_0x2a6a3b(0xe4)]();}async[_0xa49c12(0xec)](){var _0x130084=_0xa49c12;await this[_0x130084(0xe8)][_0x130084(0xf4)][_0x130084(0xdf)](_0x143150)[_0x130084(0xec)]();}async[_0xa49c12(0xf8)]({message:_0x18ab35,attributes:_0x543a50}){var _0x3c0e59=_0xa49c12;await this[_0x3c0e59(0xe8)][_0x3c0e59(0xf4)][_0x3c0e59(0xdf)](_0x143150)[_0x3c0e59(0xf8)]({'message':_0x18ab35,'attributes':_0x543a50});}[_0xa49c12(0xef)](){var _0x2585c6=_0xa49c12;this[_0x2585c6(0xe8)][_0x2585c6(0xf4)][_0x2585c6(0xdf)](_0x143150)[_0x2585c6(0xef)]();}[_0xa49c12(0xf5)](){var _0x3a4023=_0xa49c12;this[_0x3a4023(0xe8)][_0x3a4023(0xf4)][_0x3a4023(0xdf)](_0x143150)[_0x3a4023(0xf5)]();}[_0xa49c12(0xdc)](_0x1f7c3a){var _0x435bdc=_0xa49c12;this[_0x435bdc(0xe8)][_0x435bdc(0xf4)][_0x435bdc(0xdf)](_0x143150)[_0x435bdc(0xee)](_0x1f7c3a);}}
23
+ var _0x397048=_0x39bb;(function(_0x2ff9fa,_0x5c87c0){var _0x129371=_0x39bb,_0x457b3e=_0x2ff9fa();while(!![]){try{var _0x49bf3d=-parseInt(_0x129371(0x18b))/0x1+parseInt(_0x129371(0x193))/0x2*(-parseInt(_0x129371(0x187))/0x3)+-parseInt(_0x129371(0x186))/0x4+parseInt(_0x129371(0x1a1))/0x5*(-parseInt(_0x129371(0x18a))/0x6)+-parseInt(_0x129371(0x19d))/0x7+-parseInt(_0x129371(0x1a0))/0x8+parseInt(_0x129371(0x1a2))/0x9;if(_0x49bf3d===_0x5c87c0)break;else _0x457b3e['push'](_0x457b3e['shift']());}catch(_0x419dfe){_0x457b3e['push'](_0x457b3e['shift']());}}}(_0x132f,0x50d49));import{ContextPlugin as _0x1bda0f}from'ckeditor5/src/core.js';import{AIChatController as _0x47e3fe}from'./aichatcontroller.js';import{AIEditing as _0x22d322}from'../aicore/aiediting.js';import{AIChatUI as _0x47971c}from'./aichatui.js';import{AIChatHistory as _0x39b6c7}from'../aichathistory/aichathistory.js';export class AIChat extends _0x1bda0f{static get[_0x397048(0x18d)](){return[_0x47e3fe,_0x22d322,_0x47971c,_0x39b6c7];}static get[_0x397048(0x19b)](){var _0x1b007b=_0x397048;return _0x1b007b(0x18e);}static get[_0x397048(0x199)](){return!0x0;}static get[_0x397048(0x189)](){return!0x0;}constructor(_0x58b423){var _0x49bda7=_0x397048;super(_0x58b423),this[_0x49bda7(0x195)][_0x49bda7(0x18f)][_0x49bda7(0x19f)](_0x49bda7(0x19c),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x49bda7(0x195)][_0x49bda7(0x18f)][_0x49bda7(0x19f)](_0x49bda7(0x197),_0x49bda7(0x19e));}async[_0x397048(0x18c)](){var _0x271730=_0x397048;await this[_0x271730(0x195)][_0x271730(0x198)][_0x271730(0x194)](_0x47e3fe)[_0x271730(0x18c)]();}async[_0x397048(0x196)](){var _0x343a9d=_0x397048;await this[_0x343a9d(0x195)][_0x343a9d(0x198)][_0x343a9d(0x194)](_0x47e3fe)[_0x343a9d(0x196)]();}async[_0x397048(0x188)]({message:_0x193c06,attributes:_0x200ec3}){var _0x44b587=_0x397048;await this[_0x44b587(0x195)][_0x44b587(0x198)][_0x44b587(0x194)](_0x47e3fe)[_0x44b587(0x188)]({'message':_0x193c06,'attributes':_0x200ec3});}[_0x397048(0x192)](){var _0x21425c=_0x397048;this[_0x21425c(0x195)][_0x21425c(0x198)][_0x21425c(0x194)](_0x47e3fe)[_0x21425c(0x192)]();}[_0x397048(0x191)](){var _0x2fd319=_0x397048;this[_0x2fd319(0x195)][_0x2fd319(0x198)][_0x2fd319(0x194)](_0x47e3fe)[_0x2fd319(0x191)]();}[_0x397048(0x190)](_0x115909){var _0x2a73d4=_0x397048;this[_0x2a73d4(0x195)][_0x2a73d4(0x198)][_0x2a73d4(0x194)](_0x47e3fe)[_0x2a73d4(0x19a)](_0x115909);}}function _0x39bb(_0xd5d5d9,_0xa92fa){var _0x132fac=_0x132f();return _0x39bb=function(_0x39bbf7,_0x221fb4){_0x39bbf7=_0x39bbf7-0x186;var _0x2ed185=_0x132fac[_0x39bbf7];return _0x2ed185;},_0x39bb(_0xd5d5d9,_0xa92fa);}function _0x132f(){var _0x35abc9=['533212qcFCkp','get','context','startConversation','ai.chat.initialConversation','plugins','isOfficialPlugin','_registerToolDataCallback','pluginName','ai.chat.context','4213944BDfLcN','new','define','3042520CjzRss','4850inWWFE','23784687YsfpIH','734332xltPAZ','3jRKIuc','sendMessage','isPremiumPlugin','2844TphHjk','419386EuMWLi','addSelectionToChatContext','requires','AIChat','config','registerToolDataCallback','focusPromptInput','removeSelectionFromChatContext'];_0x132f=function(){return _0x35abc9;};return _0x132f();}