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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +59 -38
  41. package/dist/index.css +77 -39
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +40 -1
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aiconfig.d.ts +5 -0
  303. package/src/aicore/aiconnector.js +1 -1
  304. package/src/aicore/aiediting.js +1 -1
  305. package/src/aicore/model/aicapabilities.js +1 -1
  306. package/src/aicore/model/aicontext.js +1 -1
  307. package/src/aicore/model/aiinteraction.js +1 -1
  308. package/src/aicore/model/aireply.js +1 -1
  309. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  310. package/src/aicore/pipeline/airesponseparser.js +2 -2
  311. package/src/aicore/ui/aidisclaimerview.js +1 -1
  312. package/src/aicore/ui/aiskeleton.js +1 -1
  313. package/src/aicore/ui/aispinner.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  321. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  322. package/src/aicore/utils/common-translations.js +1 -1
  323. package/src/aicore/utils/createresizebutton.js +1 -1
  324. package/src/aicore/utils/documentposition.js +1 -1
  325. package/src/aicore/utils/documentrange.js +1 -1
  326. package/src/aicore/utils/eventnames.js +1 -1
  327. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  328. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  330. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  331. package/src/aicore/utils/htmlparser.js +1 -1
  332. package/src/aicore/utils/htmlstreamer.js +1 -1
  333. package/src/aiquickactions/aiquickactions.js +1 -1
  334. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  335. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  336. package/src/aiquickactions/aiquickactionsui.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  339. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  340. package/src/aiquickactions/utils/common-translations.js +1 -1
  341. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  342. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  343. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  344. package/src/aireviewmode/aireviewmode.js +1 -1
  345. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  346. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  347. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  348. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  349. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  350. package/src/aireviewmode/aireviewmodeui.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  352. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  354. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  355. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  356. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  357. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  358. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  359. package/src/aireviewmode/model/aireviewcheckrun.d.ts +24 -2
  360. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  361. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  362. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  363. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  364. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  365. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  366. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  368. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  369. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  370. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  371. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  372. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  373. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  374. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  375. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  376. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  377. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  378. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  379. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  380. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  381. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  382. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  383. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  384. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  385. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  386. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  387. package/src/aitabs/aitabs.js +1 -1
  388. package/src/aitabs/aitabsmainview.js +1 -1
  389. package/src/aitabs/tabs/aitabsview.js +1 -1
  390. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  391. package/src/aitabs/tabs/tabpanelview.js +1 -1
  392. package/src/index.d.ts +3 -2
  393. package/src/index.js +1 -1
  394. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  395. package/theme/aichat/aichat-controls.css +4 -0
  396. package/theme/aichat/aichatfeed.css +10 -2
  397. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  398. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  399. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
  400. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  401. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  402. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x375310=_0x52fa;(function(_0x9d563e,_0x47df29){const _0x393a89=_0x52fa,_0x3bf089=_0x9d563e();while(!![]){try{const _0x1e2df3=-parseInt(_0x393a89(0x11a))/0x1*(-parseInt(_0x393a89(0x11f))/0x2)+-parseInt(_0x393a89(0x116))/0x3+-parseInt(_0x393a89(0x12a))/0x4+-parseInt(_0x393a89(0xf0))/0x5*(-parseInt(_0x393a89(0xe6))/0x6)+-parseInt(_0x393a89(0xfd))/0x7+-parseInt(_0x393a89(0x12b))/0x8*(parseInt(_0x393a89(0xee))/0x9)+-parseInt(_0x393a89(0x109))/0xa*(-parseInt(_0x393a89(0x123))/0xb);if(_0x1e2df3===_0x47df29)break;else _0x3bf089['push'](_0x3bf089['shift']());}catch(_0x12c4e6){_0x3bf089['push'](_0x3bf089['shift']());}}}(_0x172e,0x8211c));function _0x172e(){const _0x4cd008=['setTemplate','toolbar','isVisible','reset','ck-hidden','historyGroupView','1737FFXmEK','listenTo','160CrypcZ','createCollection','Ask\x20AI\x20to\x20improve\x20generated\x20text','delegate','promptView','insertButton','high','focusTracker','submit','queryView','bind','tryAgainEvent','isError','1041250njUbTo','clearHistory','set','div','prompt','fieldView','Empty\x20history','search','REPLACE','focusFirst','focus','errorView','80psPhdi','_createPromptView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tryAgainButton','value','_createToolbar','label','_focusables','isEnabled','bindTemplate','fire','keystrokes','render','1722453fUqanC','AI_ERROR_FAILED','submitPrompt','element','661190xOLXDY','mainAction','clear','bindTo','trim','2cqwquI','focusLast','focusCycler','text','1660846mtpDFc','startProcessing','stopProcessing','ck-ai-form-content','replaceButton','locale','_createHistoryView','2493396tqGfdB','31616DRGgbt','ck-ai-form','contentArea','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','_promptHistory','shift\x20+\x20tab','handleError','finishProcessing','stopButton','isProcessing','copyButtonView','insertContentBelow','execute','tab','items','chain','144876TEBwzV','add'];_0x172e=function(){return _0x4cd008;};return _0x172e();}import{FocusTracker as _0x3cd58a,KeystrokeHandler as _0x1f707b}from'ckeditor5/src/utils.js';import{View as _0x21b063,FocusCycler as _0x1cd818,createLabeledTextarea as _0x261344}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x227e9b,AIFormToolbarViewMainActionLabel as _0x267977}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2ec063}from'./aiformcontentarea.js';import{AIFormErrorView as _0x516efc}from'./aiformerrorview.js';import{AIFormPromptView as _0x1328b8}from'./aiformpromptview.js';import{AIHistoryListView as _0x209764}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x559268}from'./aihistorylistitemview.js';import{PromptHistory as _0x390675}from'./prompthistory.js';import{getTranslation as _0x2f309c}from'../../utils/common-translations.js';function _0x52fa(_0x2480ef,_0x22e1cf){const _0x172eff=_0x172e();return _0x52fa=function(_0x52fa0c,_0x725d1c){_0x52fa0c=_0x52fa0c-0xd8;let _0x21c48e=_0x172eff[_0x52fa0c];return _0x21c48e;},_0x52fa(_0x2480ef,_0x22e1cf);}import{escape as _0x2df69e}from'es-toolkit/compat';export class AIFormView extends _0x21b063{[_0x375310(0xf7)];[_0x375310(0x114)];[_0x375310(0x12d)];[_0x375310(0xe9)];[_0x375310(0xf4)];[_0x375310(0x108)];[_0x375310(0x110)];[_0x375310(0x121)];[_0x375310(0xda)];constructor(_0x3b023f,_0x2c17fd,_0x194bfe=''){const _0xb7c74f=_0x375310;super(_0x3b023f),this[_0xb7c74f(0xff)](_0xb7c74f(0x111),!0x0),this[_0xb7c74f(0xff)](_0xb7c74f(0xdf),!0x1),this[_0xb7c74f(0xff)](_0xb7c74f(0x101),''),this[_0xb7c74f(0xff)](_0xb7c74f(0x10d),''),this[_0xb7c74f(0xff)](_0xb7c74f(0xfc),!0x1),this[_0xb7c74f(0xff)](_0xb7c74f(0x11b),_0x267977[_0xb7c74f(0x105)]),this[_0xb7c74f(0xda)]=new _0x390675(),this[_0xb7c74f(0x108)]=new _0x516efc(_0x3b023f),this[_0xb7c74f(0x12d)]=new _0x2ec063(_0x3b023f,_0x194bfe),this[_0xb7c74f(0x12d)][_0xb7c74f(0xfa)](_0xb7c74f(0xdf))['to'](this),this[_0xb7c74f(0x12d)][_0xb7c74f(0xfa)](_0xb7c74f(0x10d))['to'](this),this[_0xb7c74f(0xe9)]=this[_0xb7c74f(0x10e)](),this[_0xb7c74f(0xe9)][_0xb7c74f(0xfa)](_0xb7c74f(0x11b))['to'](this),this[_0xb7c74f(0xf4)]=this[_0xb7c74f(0x10a)](),this[_0xb7c74f(0xf7)]=new _0x3cd58a(),this[_0xb7c74f(0x114)]=new _0x1f707b(),this[_0xb7c74f(0x110)]=this[_0xb7c74f(0xf1)]([this[_0xb7c74f(0x12d)],this[_0xb7c74f(0x12d)][_0xb7c74f(0xe0)],this[_0xb7c74f(0xe9)],this[_0xb7c74f(0xf4)]]),this[_0xb7c74f(0x121)]=new _0x1cd818({'focusables':this[_0xb7c74f(0x110)],'focusTracker':this[_0xb7c74f(0xf7)],'keystrokeHandler':this[_0xb7c74f(0x114)],'actions':{'focusPrevious':_0xb7c74f(0xdb),'focusNext':_0xb7c74f(0xe3)}}),this[_0xb7c74f(0x121)][_0xb7c74f(0xe5)](this[_0xb7c74f(0xf4)][_0xb7c74f(0x121)]),this[_0xb7c74f(0xf4)][_0xb7c74f(0xf9)][_0xb7c74f(0x102)][_0xb7c74f(0xfa)](_0xb7c74f(0x10d))['to'](this,_0xb7c74f(0x101));const _0x379b3=this[_0xb7c74f(0x112)];this[_0xb7c74f(0xe8)]({'tag':_0xb7c74f(0x100),'attributes':{'class':['ck',_0xb7c74f(0x12c),_0x2c17fd],'tabindex':'-1'},'children':[{'tag':_0xb7c74f(0x100),'attributes':{'class':['ck',_0xb7c74f(0x126)]},'children':[{'tag':_0xb7c74f(0x100),'attributes':{'class':[_0x379b3['if'](_0xb7c74f(0xfc),_0xb7c74f(0xec),_0x204fbf=>!_0x204fbf)]},'children':[this[_0xb7c74f(0x108)]]},this[_0xb7c74f(0x12d)],this[_0xb7c74f(0xe9)],this[_0xb7c74f(0xf4)]]}]});}[_0x375310(0x115)](){const _0x29889c=_0x375310;super[_0x29889c(0x115)](),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0x12d)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0x12d)][_0x29889c(0xe0)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0xe9)][_0x29889c(0x119)]),this[_0x29889c(0xf7)][_0x29889c(0xe7)](this[_0x29889c(0xf4)][_0x29889c(0x119)]),this[_0x29889c(0x114)][_0x29889c(0xef)](this[_0x29889c(0x119)]);}[_0x375310(0x107)](_0x33a69a=0x1){const _0x5c2c14=_0x375310;-0x1===_0x33a69a?this[_0x5c2c14(0x121)][_0x5c2c14(0x120)]():this[_0x5c2c14(0x121)][_0x5c2c14(0x106)]();}[_0x375310(0xeb)](){const _0xd4637=_0x375310;this[_0xd4637(0x101)]='',this[_0xd4637(0x10d)]='',this[_0xd4637(0xfc)]=!0x1,this[_0xd4637(0xf4)][_0xd4637(0xeb)](),this[_0xd4637(0x12d)][_0xd4637(0xea)]=!0x1,this[_0xd4637(0xe9)][_0xd4637(0xea)]=!0x1;}[_0x375310(0x10a)](){const _0xbafd85=_0x375310,_0x269080=this[_0xbafd85(0x128)],_0x35997a=new _0x1328b8(_0x269080,{'queryView':{'label':_0x2f309c(_0x269080,_0xbafd85(0xd8)),'creator':_0x261344,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2f309c(_0x269080,_0xbafd85(0x103)),'secondary':_0x2f309c(_0x269080,_0xbafd85(0x10b))}}},'filteredView':this[_0xbafd85(0x129)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x35997a[_0xbafd85(0xfa)](_0xbafd85(0x111))['to'](this,_0xbafd85(0x111),this,_0xbafd85(0xdf),(_0x1be6b6,_0xafb7b4)=>_0x1be6b6&&!_0xafb7b4),this[_0xbafd85(0xef)](_0x35997a,_0xbafd85(0xf8),(_0x4dfd05,_0x1e1e34)=>{const _0x1569fb=_0xbafd85;this[_0x1569fb(0x101)]=_0x1e1e34;const _0x26aea1=_0x2df69e(_0x1e1e34);this[_0x1569fb(0x113)](_0x1569fb(0x118),_0x26aea1),_0x1e1e34[_0x1569fb(0x11e)]()&&this[_0x1569fb(0xda)][_0x1569fb(0xe7)]({'prompt':_0x26aea1},0x0);},{'priority':_0xbafd85(0xf6)}),_0x35997a;}[_0x375310(0x129)](){const _0x397a9c=_0x375310,_0x4c3740=new _0x209764(this[_0x397a9c(0x128)]);return _0x4c3740[_0x397a9c(0xed)][_0x397a9c(0xe4)][_0x397a9c(0x11d)](this[_0x397a9c(0xda)])['as'](_0x559268),_0x4c3740['on'](_0x397a9c(0xfe),()=>{const _0x2fc9d9=_0x397a9c;this[_0x2fc9d9(0xda)][_0x2fc9d9(0x11c)](),this[_0x2fc9d9(0xf4)][_0x2fc9d9(0x104)](''),this[_0x2fc9d9(0xf4)][_0x2fc9d9(0x107)]();}),_0x4c3740;}[_0x375310(0x10e)](){const _0x4bd6b5=_0x375310,_0xf80f00=new _0x227e9b(this[_0x4bd6b5(0x128)]);return _0xf80f00[_0x4bd6b5(0x127)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),this,_0x4bd6b5(0x10d),(_0x378bc0,_0x32be5e,_0x144654)=>_0x378bc0&&!_0x32be5e&&!!_0x144654),_0xf80f00[_0x4bd6b5(0x127)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xd9)),_0xf80f00[_0x4bd6b5(0xf5)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),this,_0x4bd6b5(0x10d),(_0x462866,_0x57319e,_0x10585c)=>_0x462866&&!_0x57319e&&!!_0x10585c),_0xf80f00[_0x4bd6b5(0xf5)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xe1)),_0xf80f00[_0x4bd6b5(0x10c)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0x111),this,_0x4bd6b5(0xdf),(_0x5274d5,_0x4d1d01)=>_0x5274d5&&!_0x4d1d01),_0xf80f00[_0x4bd6b5(0x10c)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0xfb)),_0xf80f00[_0x4bd6b5(0xde)][_0x4bd6b5(0xfa)](_0x4bd6b5(0x111))['to'](this,_0x4bd6b5(0xdf)),_0xf80f00[_0x4bd6b5(0xde)][_0x4bd6b5(0xf3)](_0x4bd6b5(0xe2))['to'](this,_0x4bd6b5(0x125)),_0xf80f00;}[_0x375310(0x124)](){const _0x1dd078=_0x375310;this[_0x1dd078(0x10d)]='',this[_0x1dd078(0xfc)]=!0x1,this[_0x1dd078(0xdf)]=!0x0,this[_0x1dd078(0x12d)][_0x1dd078(0xea)]=!0x0,this[_0x1dd078(0xe9)][_0x1dd078(0xea)]=!0x0,this[_0x1dd078(0x12d)][_0x1dd078(0x107)]();}[_0x375310(0xdd)](){const _0x58eeee=_0x375310,_0x24fe6d=this[_0x58eeee(0x128)];this[_0x58eeee(0xdf)]=!0x1,this[_0x58eeee(0x101)]='',this[_0x58eeee(0xf4)][_0x58eeee(0xeb)](),this[_0x58eeee(0x10d)]&&(this[_0x58eeee(0xf4)][_0x58eeee(0xf9)][_0x58eeee(0x10f)]=_0x2f309c(_0x24fe6d,_0x58eeee(0xf2)));}[_0x375310(0xdc)](_0x463cde){const _0x474e80=_0x375310,_0xdc62d=this[_0x474e80(0x128)];this[_0x474e80(0xdd)](),this[_0x474e80(0xfc)]=!0x0,this[_0x474e80(0x108)][_0x474e80(0x122)]=_0x463cde||_0x2f309c(_0xdc62d,_0x474e80(0x117)),this[_0x474e80(0x10d)]||(this[_0x474e80(0x12d)][_0x474e80(0xea)]=!0x1);}}
23
+ const _0x1b904e=_0x175f;(function(_0x120b08,_0x4457cc){const _0x3aad92=_0x175f,_0xd40c69=_0x120b08();while(!![]){try{const _0x3a3dab=parseInt(_0x3aad92(0x12c))/0x1*(-parseInt(_0x3aad92(0x110))/0x2)+parseInt(_0x3aad92(0x10c))/0x3+-parseInt(_0x3aad92(0x103))/0x4*(parseInt(_0x3aad92(0xff))/0x5)+-parseInt(_0x3aad92(0x116))/0x6+parseInt(_0x3aad92(0x12e))/0x7*(parseInt(_0x3aad92(0x13a))/0x8)+-parseInt(_0x3aad92(0x107))/0x9+parseInt(_0x3aad92(0x104))/0xa*(parseInt(_0x3aad92(0x13d))/0xb);if(_0x3a3dab===_0x4457cc)break;else _0xd40c69['push'](_0xd40c69['shift']());}catch(_0x1e1912){_0xd40c69['push'](_0xd40c69['shift']());}}}(_0x4cfd,0xd2dbd));import{FocusTracker as _0x3be0f9,KeystrokeHandler as _0x449ccf}from'ckeditor5/src/utils.js';import{View as _0x495735,FocusCycler as _0x40e7a1,createLabeledTextarea as _0x1edd5f}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3b357d,AIFormToolbarViewMainActionLabel as _0x495727}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x42e03f}from'./aiformcontentarea.js';import{AIFormErrorView as _0xb68d00}from'./aiformerrorview.js';function _0x175f(_0x2ab483,_0x5a66c4){const _0x4cfddf=_0x4cfd();return _0x175f=function(_0x175f28,_0x4c76d9){_0x175f28=_0x175f28-0xfe;let _0x40686c=_0x4cfddf[_0x175f28];return _0x40686c;},_0x175f(_0x2ab483,_0x5a66c4);}import{AIFormPromptView as _0x34e947}from'./aiformpromptview.js';import{AIHistoryListView as _0x581dd7}from'./aihistorylistview.js';import{AIHistoryListItemView as _0xaf343b}from'./aihistorylistitemview.js';import{PromptHistory as _0x503248}from'./prompthistory.js';function _0x4cfd(){const _0x4e66f0=['value','stopButton','isError','high','setTemplate','Empty\x20history','focusFirst','toolbar','replaceButton','REPLACE','add','isVisible','promptView','_createPromptView','insertContentBelow','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','delegate','mainAction','submitPrompt','submit','queryView','4475wSSGHW','_createToolbar','prompt','tab','3148Qvrupc','8440uXMpVK','fire','Ask\x20AI\x20to\x20edit\x20or\x20generate','1282707EcjFrr','bindTemplate','_promptHistory','set','replaceContent','1618362ifovvT','items','isEnabled','stopProcessing','18794LSWUVd','_createHistoryView','chain','execute','isProcessing','historyGroupView','5075820KYVfRI','AI_ERROR_FAILED','fieldView','label','search','copyButtonView','bind','render','focusCycler','locale','ck-hidden','focusLast','clearHistory','keystrokes','startProcessing','finishProcessing','trim','div','listenTo','element','tryAgainEvent','reset','119eGfQYP','bindTo','267967iCZOlH','shift\x20+\x20tab','tryAgainButton','insertButton','focus','errorView','ck-ai-form-content','focusTracker','handleError','createCollection','clear','_focusables','288AfGpIk','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-ai-form','22902NQqUcZ','text','contentArea'];_0x4cfd=function(){return _0x4e66f0;};return _0x4cfd();}import{getTranslation as _0xb05746}from'../../utils/common-translations.js';import{escape as _0x5d218c}from'es-toolkit/compat';export class AIFormView extends _0x495735{[_0x1b904e(0x135)];[_0x1b904e(0x123)];[_0x1b904e(0x13f)];[_0x1b904e(0x147)];[_0x1b904e(0x14c)];[_0x1b904e(0x133)];[_0x1b904e(0x139)];[_0x1b904e(0x11e)];[_0x1b904e(0x109)];constructor(_0x3f5c3c,_0x28b810,_0xc7eaef=''){const _0x25eb24=_0x1b904e;super(_0x3f5c3c),this[_0x25eb24(0x10a)](_0x25eb24(0x10e),!0x0),this[_0x25eb24(0x10a)](_0x25eb24(0x114),!0x1),this[_0x25eb24(0x10a)](_0x25eb24(0x101),''),this[_0x25eb24(0x10a)](_0x25eb24(0x140),''),this[_0x25eb24(0x10a)](_0x25eb24(0x142),!0x1),this[_0x25eb24(0x10a)](_0x25eb24(0x151),_0x495727[_0x25eb24(0x149)]),this[_0x25eb24(0x109)]=new _0x503248(),this[_0x25eb24(0x133)]=new _0xb68d00(_0x3f5c3c),this[_0x25eb24(0x13f)]=new _0x42e03f(_0x3f5c3c,_0xc7eaef),this[_0x25eb24(0x13f)][_0x25eb24(0x11c)](_0x25eb24(0x114))['to'](this),this[_0x25eb24(0x13f)][_0x25eb24(0x11c)](_0x25eb24(0x140))['to'](this),this[_0x25eb24(0x147)]=this[_0x25eb24(0x100)](),this[_0x25eb24(0x147)][_0x25eb24(0x11c)](_0x25eb24(0x151))['to'](this),this[_0x25eb24(0x14c)]=this[_0x25eb24(0x14d)](),this[_0x25eb24(0x135)]=new _0x3be0f9(),this[_0x25eb24(0x123)]=new _0x449ccf(),this[_0x25eb24(0x139)]=this[_0x25eb24(0x137)]([this[_0x25eb24(0x13f)],this[_0x25eb24(0x13f)][_0x25eb24(0x11b)],this[_0x25eb24(0x147)],this[_0x25eb24(0x14c)]]),this[_0x25eb24(0x11e)]=new _0x40e7a1({'focusables':this[_0x25eb24(0x139)],'focusTracker':this[_0x25eb24(0x135)],'keystrokeHandler':this[_0x25eb24(0x123)],'actions':{'focusPrevious':_0x25eb24(0x12f),'focusNext':_0x25eb24(0x102)}}),this[_0x25eb24(0x11e)][_0x25eb24(0x112)](this[_0x25eb24(0x14c)][_0x25eb24(0x11e)]),this[_0x25eb24(0x14c)][_0x25eb24(0xfe)][_0x25eb24(0x118)][_0x25eb24(0x11c)](_0x25eb24(0x140))['to'](this,_0x25eb24(0x101));const _0x38298f=this[_0x25eb24(0x108)];this[_0x25eb24(0x144)]({'tag':_0x25eb24(0x127),'attributes':{'class':['ck',_0x25eb24(0x13c),_0x28b810],'tabindex':'-1'},'children':[{'tag':_0x25eb24(0x127),'attributes':{'class':['ck',_0x25eb24(0x134)]},'children':[{'tag':_0x25eb24(0x127),'attributes':{'class':[_0x38298f['if'](_0x25eb24(0x142),_0x25eb24(0x120),_0x5a81e4=>!_0x5a81e4)]},'children':[this[_0x25eb24(0x133)]]},this[_0x25eb24(0x13f)],this[_0x25eb24(0x147)],this[_0x25eb24(0x14c)]]}]});}[_0x1b904e(0x11d)](){const _0x50952c=_0x1b904e;super[_0x50952c(0x11d)](),this[_0x50952c(0x135)][_0x50952c(0x14a)](this[_0x50952c(0x13f)][_0x50952c(0x129)]),this[_0x50952c(0x135)][_0x50952c(0x14a)](this[_0x50952c(0x13f)][_0x50952c(0x11b)][_0x50952c(0x129)]),this[_0x50952c(0x135)][_0x50952c(0x14a)](this[_0x50952c(0x147)][_0x50952c(0x129)]),this[_0x50952c(0x135)][_0x50952c(0x14a)](this[_0x50952c(0x14c)][_0x50952c(0x129)]),this[_0x50952c(0x123)][_0x50952c(0x128)](this[_0x50952c(0x129)]);}[_0x1b904e(0x132)](_0x2a9f32=0x1){const _0x3ab09e=_0x1b904e;-0x1===_0x2a9f32?this[_0x3ab09e(0x11e)][_0x3ab09e(0x121)]():this[_0x3ab09e(0x11e)][_0x3ab09e(0x146)]();}[_0x1b904e(0x12b)](){const _0x422a7d=_0x1b904e;this[_0x422a7d(0x101)]='',this[_0x422a7d(0x140)]='',this[_0x422a7d(0x142)]=!0x1,this[_0x422a7d(0x14c)][_0x422a7d(0x12b)](),this[_0x422a7d(0x13f)][_0x422a7d(0x14b)]=!0x1,this[_0x422a7d(0x147)][_0x422a7d(0x14b)]=!0x1;}[_0x1b904e(0x14d)](){const _0x34722a=_0x1b904e,_0x2fe0b4=this[_0x34722a(0x11f)],_0x6faf6d=new _0x34e947(_0x2fe0b4,{'queryView':{'label':_0xb05746(_0x2fe0b4,_0x34722a(0x106)),'creator':_0x1edd5f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xb05746(_0x2fe0b4,_0x34722a(0x145)),'secondary':_0xb05746(_0x2fe0b4,_0x34722a(0x14f))}}},'filteredView':this[_0x34722a(0x111)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x6faf6d[_0x34722a(0x11c)](_0x34722a(0x10e))['to'](this,_0x34722a(0x10e),this,_0x34722a(0x114),(_0x32c981,_0x20bda3)=>_0x32c981&&!_0x20bda3),this[_0x34722a(0x128)](_0x6faf6d,_0x34722a(0x153),(_0x4f2a24,_0x56971f)=>{const _0x36162a=_0x34722a;this[_0x36162a(0x101)]=_0x56971f;const _0x53491d=_0x5d218c(_0x56971f);this[_0x36162a(0x105)](_0x36162a(0x152),_0x53491d),_0x56971f[_0x36162a(0x126)]()&&this[_0x36162a(0x109)][_0x36162a(0x14a)]({'prompt':_0x53491d},0x0);},{'priority':_0x34722a(0x143)}),_0x6faf6d;}[_0x1b904e(0x111)](){const _0x150e34=_0x1b904e,_0x30be24=new _0x581dd7(this[_0x150e34(0x11f)]);return _0x30be24[_0x150e34(0x115)][_0x150e34(0x10d)][_0x150e34(0x12d)](this[_0x150e34(0x109)])['as'](_0xaf343b),_0x30be24['on'](_0x150e34(0x122),()=>{const _0x2191fa=_0x150e34;this[_0x2191fa(0x109)][_0x2191fa(0x138)](),this[_0x2191fa(0x14c)][_0x2191fa(0x11a)](''),this[_0x2191fa(0x14c)][_0x2191fa(0x132)]();}),_0x30be24;}[_0x1b904e(0x100)](){const _0x3bc654=_0x1b904e,_0x9809ab=new _0x3b357d(this[_0x3bc654(0x11f)]);return _0x9809ab[_0x3bc654(0x148)][_0x3bc654(0x11c)](_0x3bc654(0x10e))['to'](this,_0x3bc654(0x10e),this,_0x3bc654(0x114),this,_0x3bc654(0x140),(_0x268dc1,_0x574c08,_0x4f1177)=>_0x268dc1&&!_0x574c08&&!!_0x4f1177),_0x9809ab[_0x3bc654(0x148)][_0x3bc654(0x150)](_0x3bc654(0x113))['to'](this,_0x3bc654(0x10b)),_0x9809ab[_0x3bc654(0x131)][_0x3bc654(0x11c)](_0x3bc654(0x10e))['to'](this,_0x3bc654(0x10e),this,_0x3bc654(0x114),this,_0x3bc654(0x140),(_0x25a8e5,_0x3472df,_0x43016b)=>_0x25a8e5&&!_0x3472df&&!!_0x43016b),_0x9809ab[_0x3bc654(0x131)][_0x3bc654(0x150)](_0x3bc654(0x113))['to'](this,_0x3bc654(0x14e)),_0x9809ab[_0x3bc654(0x130)][_0x3bc654(0x11c)](_0x3bc654(0x10e))['to'](this,_0x3bc654(0x10e),this,_0x3bc654(0x114),(_0x5c7142,_0xf66fd6)=>_0x5c7142&&!_0xf66fd6),_0x9809ab[_0x3bc654(0x130)][_0x3bc654(0x150)](_0x3bc654(0x113))['to'](this,_0x3bc654(0x12a)),_0x9809ab[_0x3bc654(0x141)][_0x3bc654(0x11c)](_0x3bc654(0x10e))['to'](this,_0x3bc654(0x114)),_0x9809ab[_0x3bc654(0x141)][_0x3bc654(0x150)](_0x3bc654(0x113))['to'](this,_0x3bc654(0x10f)),_0x9809ab;}[_0x1b904e(0x124)](){const _0x5e2097=_0x1b904e;this[_0x5e2097(0x140)]='',this[_0x5e2097(0x142)]=!0x1,this[_0x5e2097(0x114)]=!0x0,this[_0x5e2097(0x13f)][_0x5e2097(0x14b)]=!0x0,this[_0x5e2097(0x147)][_0x5e2097(0x14b)]=!0x0,this[_0x5e2097(0x13f)][_0x5e2097(0x132)]();}[_0x1b904e(0x125)](){const _0x4dde6f=_0x1b904e,_0x4b602f=this[_0x4dde6f(0x11f)];this[_0x4dde6f(0x114)]=!0x1,this[_0x4dde6f(0x101)]='',this[_0x4dde6f(0x14c)][_0x4dde6f(0x12b)](),this[_0x4dde6f(0x140)]&&(this[_0x4dde6f(0x14c)][_0x4dde6f(0xfe)][_0x4dde6f(0x119)]=_0xb05746(_0x4b602f,_0x4dde6f(0x13b)));}[_0x1b904e(0x136)](_0x108119){const _0x5db2e4=_0x1b904e,_0x3a3974=this[_0x5db2e4(0x11f)];this[_0x5db2e4(0x125)](),this[_0x5db2e4(0x142)]=!0x0,this[_0x5db2e4(0x133)][_0x5db2e4(0x13e)]=_0x108119||_0xb05746(_0x3a3974,_0x5db2e4(0x117)),this[_0x5db2e4(0x140)]||(this[_0x5db2e4(0x13f)][_0x5db2e4(0x14b)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x13a0(_0x221146,_0x28bad2){const _0x40eccf=_0x40ec();return _0x13a0=function(_0x13a022,_0x1f410a){_0x13a022=_0x13a022-0x8d;let _0x4b3cb1=_0x40eccf[_0x13a022];return _0x4b3cb1;},_0x13a0(_0x221146,_0x28bad2);}(function(_0x1a88f8,_0x82e002){const _0x53587c=_0x13a0,_0x13c3f4=_0x1a88f8();while(!![]){try{const _0x567ec0=parseInt(_0x53587c(0x8d))/0x1*(-parseInt(_0x53587c(0x98))/0x2)+parseInt(_0x53587c(0x9b))/0x3+-parseInt(_0x53587c(0x9a))/0x4+parseInt(_0x53587c(0x90))/0x5+-parseInt(_0x53587c(0x9c))/0x6+-parseInt(_0x53587c(0x8f))/0x7+parseInt(_0x53587c(0x94))/0x8*(parseInt(_0x53587c(0x95))/0x9);if(_0x567ec0===_0x82e002)break;else _0x13c3f4['push'](_0x13c3f4['shift']());}catch(_0x7d8295){_0x13c3f4['push'](_0x13c3f4['shift']());}}}(_0x40ec,0xcb2f2));import{ListItemView as _0x1c803e,ButtonView as _0x3e7c5e,ButtonLabelView as _0x97bcb7}from'ckeditor5/src/ui.js';import{unescape as _0x525f67}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1c803e{constructor(_0x5f5c5c){const _0x36f660=_0x13a0;super();const _0x54bfd5=new _0x97bcb7(),_0x1f3576=new _0x3e7c5e(this[_0x36f660(0x99)],_0x54bfd5);this[_0x36f660(0x8e)][_0x36f660(0x93)](_0x1f3576),_0x1f3576[_0x36f660(0x92)]({'label':_0x5f5c5c[_0x36f660(0x97)],'withText':!0x0}),_0x1f3576['on'](_0x36f660(0x96),()=>{const _0x405e8f=_0x36f660;this[_0x405e8f(0x91)](_0x405e8f(0x96),{'value':_0x525f67(_0x5f5c5c[_0x405e8f(0x97)])});});}}function _0x40ec(){const _0x1ed72d=['fire','set','add','35520Uqfmst','5895JTDLvm','execute','prompt','2vGkjfU','locale','3140768JNGerD','222744KdUNrz','6845268RmhAfZ','1043864dVVadR','children','1223537CWtBru','4972595htRgwX'];_0x40ec=function(){return _0x1ed72d;};return _0x40ec();}
23
+ function _0xf356(_0x236670,_0x987e78){const _0x18b8cc=_0x18b8();return _0xf356=function(_0xf356ce,_0x54a4cd){_0xf356ce=_0xf356ce-0x173;let _0x4d5bdd=_0x18b8cc[_0xf356ce];return _0x4d5bdd;},_0xf356(_0x236670,_0x987e78);}function _0x18b8(){const _0x2244d8=['11fUrwAr','prompt','3211656YdrSNg','children','set','add','execute','4940420dGhmaj','10143awAZeb','56ZThGxa','fire','664032aBqUFK','18QqLTFu','247745YTaVPV','20300400usUdYJ','12TaGCBI','8820LllFVA','202BdFSuK','locale'];_0x18b8=function(){return _0x2244d8;};return _0x18b8();}(function(_0x3b7786,_0x14445d){const _0x53f5fc=_0xf356,_0x416cb7=_0x3b7786();while(!![]){try{const _0x20e58b=-parseInt(_0x53f5fc(0x17e))/0x1*(parseInt(_0x53f5fc(0x17f))/0x2)+-parseInt(_0x53f5fc(0x179))/0x3*(-parseInt(_0x53f5fc(0x17d))/0x4)+parseInt(_0x53f5fc(0x17b))/0x5*(parseInt(_0x53f5fc(0x17a))/0x6)+-parseInt(_0x53f5fc(0x183))/0x7+-parseInt(_0x53f5fc(0x177))/0x8*(parseInt(_0x53f5fc(0x176))/0x9)+-parseInt(_0x53f5fc(0x175))/0xa*(parseInt(_0x53f5fc(0x181))/0xb)+parseInt(_0x53f5fc(0x17c))/0xc;if(_0x20e58b===_0x14445d)break;else _0x416cb7['push'](_0x416cb7['shift']());}catch(_0x43de3d){_0x416cb7['push'](_0x416cb7['shift']());}}}(_0x18b8,0x9f614));import{ListItemView as _0xa2b42,ButtonView as _0x2324a8,ButtonLabelView as _0x1a2b6b}from'ckeditor5/src/ui.js';import{unescape as _0x15e2cf}from'es-toolkit/compat';export class AIHistoryListItemView extends _0xa2b42{constructor(_0x109a1f){const _0x1048ae=_0xf356;super();const _0x276f6f=new _0x1a2b6b(),_0x54af33=new _0x2324a8(this[_0x1048ae(0x180)],_0x276f6f);this[_0x1048ae(0x184)][_0x1048ae(0x173)](_0x54af33),_0x54af33[_0x1048ae(0x185)]({'label':_0x109a1f[_0x1048ae(0x182)],'withText':!0x0}),_0x54af33['on'](_0x1048ae(0x174),()=>{const _0x185afd=_0x1048ae;this[_0x185afd(0x178)](_0x185afd(0x174),{'value':_0x15e2cf(_0x109a1f[_0x185afd(0x182)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a6087=_0x3b79;function _0x3a2d(){const _0x33d27d=['add','label','2729652gGfXAI','clearHistory','length','5105wQERqt','8xCgJjO','filter','Prompt\x20history','592684sDvWFN','9YSCmxF','fire','historyGroupView','Clear','1640555yfARoV','set','clearHistoryButton','items','2735334LyKzkx','locale','3VZjSRL','execute','1842140MvwXpf','_createClearHistoryButton','delegate','3147364tpzVJt','126BZYyPj','children'];_0x3a2d=function(){return _0x33d27d;};return _0x3a2d();}(function(_0x1c063d,_0x143ba4){const _0x271a93=_0x3b79,_0x1fcce3=_0x1c063d();while(!![]){try{const _0x3dc5cb=parseInt(_0x271a93(0xce))/0x1*(parseInt(_0x271a93(0xe3))/0x2)+parseInt(_0x271a93(0xdd))/0x3*(-parseInt(_0x271a93(0xd2))/0x4)+-parseInt(_0x271a93(0xd7))/0x5+parseInt(_0x271a93(0xcb))/0x6+parseInt(_0x271a93(0xdb))/0x7*(-parseInt(_0x271a93(0xcf))/0x8)+parseInt(_0x271a93(0xd3))/0x9*(parseInt(_0x271a93(0xdf))/0xa)+parseInt(_0x271a93(0xe2))/0xb;if(_0x3dc5cb===_0x143ba4)break;else _0x1fcce3['push'](_0x1fcce3['shift']());}catch(_0xbdd999){_0x1fcce3['push'](_0x1fcce3['shift']());}}}(_0x3a2d,0x5cbcb));import{ListView as _0x3eeb78,ListItemGroupView as _0xc382b,ButtonView as _0x8ec3f3}from'ckeditor5/src/ui.js';function _0x3b79(_0x4724db,_0x557145){const _0x3a2db0=_0x3a2d();return _0x3b79=function(_0x3b798d,_0x2a9f8c){_0x3b798d=_0x3b798d-0xcb;let _0x563c5d=_0x3a2db0[_0x3b798d];return _0x563c5d;},_0x3b79(_0x4724db,_0x557145);}import{getTranslation as _0x458b67}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x3eeb78{[_0x5a6087(0xd5)];[_0x5a6087(0xd9)];constructor(_0x1e45e1){const _0x2bebb8=_0x5a6087;super(_0x1e45e1),this[_0x2bebb8(0xd9)]=this[_0x2bebb8(0xe0)](),this[_0x2bebb8(0xd5)]=new _0xc382b(),this[_0x2bebb8(0xd5)][_0x2bebb8(0xe4)][_0x2bebb8(0xe5)](this[_0x2bebb8(0xd9)],0x1),this[_0x2bebb8(0xd5)][_0x2bebb8(0xe6)]=_0x458b67(_0x1e45e1,_0x2bebb8(0xd1)),this[_0x2bebb8(0xd5)][_0x2bebb8(0xda)][_0x2bebb8(0xe1)](_0x2bebb8(0xde))['to'](this),this[_0x2bebb8(0xda)][_0x2bebb8(0xe5)](this[_0x2bebb8(0xd5)]);}[_0x5a6087(0xd0)](){const _0x524975=_0x5a6087;let _0x3f490b=0x0;for(const _0x2e86c3 of this[_0x524975(0xda)])_0x3f490b+=_0x2e86c3[_0x524975(0xda)][_0x524975(0xcd)];return{'resultsCount':_0x3f490b,'totalItemsCount':_0x3f490b};}[_0x5a6087(0xe0)](){const _0x3b95a9=_0x5a6087,_0x1f2925=this[_0x3b95a9(0xdc)],_0x2fd2cc=new _0x8ec3f3(this[_0x3b95a9(0xdc)]);return _0x2fd2cc[_0x3b95a9(0xd8)]({'label':'('+_0x458b67(_0x1f2925,_0x3b95a9(0xd6))+')','withText':!0x0}),_0x2fd2cc['on'](_0x3b95a9(0xde),()=>this[_0x3b95a9(0xd4)](_0x3b95a9(0xcc))),_0x2fd2cc;}}
23
+ function _0x8553(){const _0x1c9863=['64NRdDOd','5gaRhmq','_createClearHistoryButton','200835IYUmUc','2218744HNRdRm','fire','50rhoPmU','2400294WUxNLb','children','filter','clearHistory','Prompt\x20history','clearHistoryButton','42371YPMZvG','348016CXevnw','add','label','execute','106178TDVSuL','set','length','1837032FQuEHa','items','historyGroupView','3ljPYdE','locale','Clear','delegate'];_0x8553=function(){return _0x1c9863;};return _0x8553();}const _0x52b80a=_0x47cd;(function(_0x1897c4,_0x524e90){const _0x5cee50=_0x47cd,_0x11de2e=_0x1897c4();while(!![]){try{const _0x1b4266=-parseInt(_0x5cee50(0x143))/0x1+parseInt(_0x5cee50(0x147))/0x2*(parseInt(_0x5cee50(0x14d))/0x3)+-parseInt(_0x5cee50(0x14a))/0x4*(-parseInt(_0x5cee50(0x152))/0x5)+parseInt(_0x5cee50(0x158))/0x6+-parseInt(_0x5cee50(0x142))/0x7*(-parseInt(_0x5cee50(0x151))/0x8)+parseInt(_0x5cee50(0x154))/0x9*(-parseInt(_0x5cee50(0x157))/0xa)+-parseInt(_0x5cee50(0x155))/0xb;if(_0x1b4266===_0x524e90)break;else _0x11de2e['push'](_0x11de2e['shift']());}catch(_0x122ecd){_0x11de2e['push'](_0x11de2e['shift']());}}}(_0x8553,0x49205));import{ListView as _0x35c3d8,ListItemGroupView as _0x1a8436,ButtonView as _0x1b75c6}from'ckeditor5/src/ui.js';import{getTranslation as _0x4bef43}from'../../utils/common-translations.js';function _0x47cd(_0x231088,_0x173d51){const _0x855331=_0x8553();return _0x47cd=function(_0x47cde7,_0x19d869){_0x47cde7=_0x47cde7-0x140;let _0x37152c=_0x855331[_0x47cde7];return _0x37152c;},_0x47cd(_0x231088,_0x173d51);}export class AIHistoryListView extends _0x35c3d8{[_0x52b80a(0x14c)];[_0x52b80a(0x141)];constructor(_0x483048){const _0x4829f1=_0x52b80a;super(_0x483048),this[_0x4829f1(0x141)]=this[_0x4829f1(0x153)](),this[_0x4829f1(0x14c)]=new _0x1a8436(),this[_0x4829f1(0x14c)][_0x4829f1(0x159)][_0x4829f1(0x144)](this[_0x4829f1(0x141)],0x1),this[_0x4829f1(0x14c)][_0x4829f1(0x145)]=_0x4bef43(_0x483048,_0x4829f1(0x140)),this[_0x4829f1(0x14c)][_0x4829f1(0x14b)][_0x4829f1(0x150)](_0x4829f1(0x146))['to'](this),this[_0x4829f1(0x14b)][_0x4829f1(0x144)](this[_0x4829f1(0x14c)]);}[_0x52b80a(0x15a)](){const _0x30a51d=_0x52b80a;let _0x5cbc5a=0x0;for(const _0x1c56c0 of this[_0x30a51d(0x14b)])_0x5cbc5a+=_0x1c56c0[_0x30a51d(0x14b)][_0x30a51d(0x149)];return{'resultsCount':_0x5cbc5a,'totalItemsCount':_0x5cbc5a};}[_0x52b80a(0x153)](){const _0x50c67c=_0x52b80a,_0x25a6a2=this[_0x50c67c(0x14e)],_0x93a869=new _0x1b75c6(this[_0x50c67c(0x14e)]);return _0x93a869[_0x50c67c(0x148)]({'label':'('+_0x4bef43(_0x25a6a2,_0x50c67c(0x14f))+')','withText':!0x0}),_0x93a869['on'](_0x50c67c(0x146),()=>this[_0x50c67c(0x156)](_0x50c67c(0x15b))),_0x93a869;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332557=_0x3c0a;(function(_0x8384c5,_0x42a1c5){const _0x5d5f16=_0x3c0a,_0xf89419=_0x8384c5();while(!![]){try{const _0xf47d54=-parseInt(_0x5d5f16(0x76))/0x1+parseInt(_0x5d5f16(0x82))/0x2+parseInt(_0x5d5f16(0x7d))/0x3*(parseInt(_0x5d5f16(0x72))/0x4)+-parseInt(_0x5d5f16(0x83))/0x5+-parseInt(_0x5d5f16(0x77))/0x6*(parseInt(_0x5d5f16(0x7b))/0x7)+parseInt(_0x5d5f16(0x75))/0x8+-parseInt(_0x5d5f16(0x7e))/0x9*(-parseInt(_0x5d5f16(0x6f))/0xa);if(_0xf47d54===_0x42a1c5)break;else _0xf89419['push'](_0xf89419['shift']());}catch(_0x12d329){_0xf89419['push'](_0xf89419['shift']());}}}(_0x2349,0xe64d8));import{Collection as _0x2f8a2d}from'ckeditor5/src/utils.js';const no=_0x332557(0x7c);function _0x2349(){const _0x1ac54e=['stringify','addMany','trim','_saveToSessionStorage','getItem','6300AXVfTa','prompt','add','7444460QOwymx','remove','map','4182720VilJRV','394908SadURR','198TaBUxE','parse','length','_loadFromSessionStorage','225729pOKdJL','CKEditor/AIFormView/PromptHistory','3DHFxxN','4023ZSwkuE','toLowerCase','last','setItem','1477170LMfgUn','5008855xUYonK'];_0x2349=function(){return _0x1ac54e;};return _0x2349();}function _0x3c0a(_0x189f2b,_0x7782c){const _0x234931=_0x2349();return _0x3c0a=function(_0x3c0a1e,_0x6a1241){_0x3c0a1e=_0x3c0a1e-0x6a;let _0x369773=_0x234931[_0x3c0a1e];return _0x369773;},_0x3c0a(_0x189f2b,_0x7782c);}export class PromptHistory extends _0x2f8a2d{constructor(){const _0x3ec0bb=_0x332557;super(),this[_0x3ec0bb(0x7a)](),this['on'](_0x3ec0bb(0x71),(_0x286b73,_0x259662)=>{const _0xc5308a=_0x3ec0bb,_0x41451f=ao(_0x259662[_0xc5308a(0x70)]);for(const _0x1b88e2 of this)if(_0x1b88e2!=_0x259662&&ao(_0x1b88e2[_0xc5308a(0x70)])===_0x41451f){this[_0xc5308a(0x73)](_0x1b88e2);break;}this[_0xc5308a(0x79)]>0x14&&this[_0xc5308a(0x73)](this[_0xc5308a(0x80)]),this[_0xc5308a(0x6d)]();}),this['on'](_0x3ec0bb(0x73),()=>{const _0x3cc967=_0x3ec0bb;this[_0x3cc967(0x6d)]();});}[_0x332557(0x7a)](){const _0x444e2b=_0x332557,_0x23cd30=sessionStorage[_0x444e2b(0x6e)](no)||'[]';this[_0x444e2b(0x6b)](JSON[_0x444e2b(0x78)](_0x23cd30));}[_0x332557(0x6d)](){const _0x1bcac9=_0x332557;sessionStorage[_0x1bcac9(0x81)](no,JSON[_0x1bcac9(0x6a)](this[_0x1bcac9(0x74)](_0x1e560a=>_0x1e560a)));}}function ao(_0xefa8e4){const _0x380e2b=_0x332557;return _0xefa8e4[_0x380e2b(0x7f)]()[_0x380e2b(0x6c)]();}
23
+ const _0x336933=_0x1f6a;function _0x1f6a(_0x3a8bfc,_0x26f8be){const _0x17fea3=_0x17fe();return _0x1f6a=function(_0x1f6a40,_0x190262){_0x1f6a40=_0x1f6a40-0x1ea;let _0x119b3d=_0x17fea3[_0x1f6a40];return _0x119b3d;},_0x1f6a(_0x3a8bfc,_0x26f8be);}(function(_0x369cfa,_0x2618cb){const _0x4ee514=_0x1f6a,_0x21583f=_0x369cfa();while(!![]){try{const _0x2e0a5f=-parseInt(_0x4ee514(0x1f1))/0x1+parseInt(_0x4ee514(0x202))/0x2*(-parseInt(_0x4ee514(0x1fa))/0x3)+parseInt(_0x4ee514(0x200))/0x4*(parseInt(_0x4ee514(0x1ec))/0x5)+-parseInt(_0x4ee514(0x1fb))/0x6+-parseInt(_0x4ee514(0x1f6))/0x7+-parseInt(_0x4ee514(0x1fe))/0x8*(-parseInt(_0x4ee514(0x1ea))/0x9)+parseInt(_0x4ee514(0x1f8))/0xa*(parseInt(_0x4ee514(0x1f3))/0xb);if(_0x2e0a5f===_0x2618cb)break;else _0x21583f['push'](_0x21583f['shift']());}catch(_0x43ebcb){_0x21583f['push'](_0x21583f['shift']());}}}(_0x17fe,0x5db0d));import{Collection as _0x2bfd1d}from'ckeditor5/src/utils.js';const no=_0x336933(0x203);export class PromptHistory extends _0x2bfd1d{constructor(){const _0x40e35c=_0x336933;super(),this[_0x40e35c(0x1ee)](),this['on'](_0x40e35c(0x1fc),(_0x168893,_0x55fd83)=>{const _0x242b4b=_0x40e35c,_0x24aead=co(_0x55fd83[_0x242b4b(0x1f7)]);for(const _0x6939d0 of this)if(_0x6939d0!=_0x55fd83&&co(_0x6939d0[_0x242b4b(0x1f7)])===_0x24aead){this[_0x242b4b(0x1ed)](_0x6939d0);break;}this[_0x242b4b(0x1fd)]>0x14&&this[_0x242b4b(0x1ed)](this[_0x242b4b(0x1f5)]),this[_0x242b4b(0x1f9)]();}),this['on'](_0x40e35c(0x1ed),()=>{const _0xd15eb9=_0x40e35c;this[_0xd15eb9(0x1f9)]();});}[_0x336933(0x1ee)](){const _0x15212a=_0x336933,_0xb48d74=sessionStorage[_0x15212a(0x1f0)](no)||'[]';this[_0x15212a(0x204)](JSON[_0x15212a(0x1eb)](_0xb48d74));}[_0x336933(0x1f9)](){const _0x16e545=_0x336933;sessionStorage[_0x16e545(0x1ef)](no,JSON[_0x16e545(0x1f2)](this[_0x16e545(0x201)](_0x4059c4=>_0x4059c4)));}}function _0x17fe(){const _0x33ff17=['stringify','11RrrMdX','toLowerCase','last','3209654EpdDko','prompt','12618290HsxSQW','_saveToSessionStorage','24QZMDhd','4495446CNUkLt','add','length','44664LMmGNi','trim','15424OHCKuv','map','134424dplMYL','CKEditor/AIFormView/PromptHistory','addMany','837lazEFT','parse','940GvOBBD','remove','_loadFromSessionStorage','setItem','getItem','376760kqOsUa'];_0x17fe=function(){return _0x33ff17;};return _0x17fe();}function co(_0x12ad8c){const _0x1e2c0c=_0x336933;return _0x12ad8c[_0x1e2c0c(0x1f4)]()[_0x1e2c0c(0x1ff)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f7a26=_0x114a;(function(_0x3562fd,_0x21255f){const _0x3ce159=_0x114a,_0x328766=_0x3562fd();while(!![]){try{const _0x49e5aa=-parseInt(_0x3ce159(0xd6))/0x1*(parseInt(_0x3ce159(0xef))/0x2)+parseInt(_0x3ce159(0xdd))/0x3*(-parseInt(_0x3ce159(0xe6))/0x4)+parseInt(_0x3ce159(0xda))/0x5*(parseInt(_0x3ce159(0xe1))/0x6)+-parseInt(_0x3ce159(0xee))/0x7+-parseInt(_0x3ce159(0xe2))/0x8*(parseInt(_0x3ce159(0xd8))/0x9)+parseInt(_0x3ce159(0xc6))/0xa*(parseInt(_0x3ce159(0xf0))/0xb)+parseInt(_0x3ce159(0xec))/0xc*(parseInt(_0x3ce159(0xd7))/0xd);if(_0x49e5aa===_0x21255f)break;else _0x328766['push'](_0x328766['shift']());}catch(_0x39c27b){_0x328766['push'](_0x328766['shift']());}}}(_0x45a1,0xdb191));import{Command as _0x20b2b3}from'ckeditor5/src/core.js';function _0x114a(_0x4c8d24,_0x19fbb2){const _0x45a15c=_0x45a1();return _0x114a=function(_0x114a21,_0x45a4d5){_0x114a21=_0x114a21-0xc6;let _0x3498fe=_0x45a15c[_0x114a21];return _0x3498fe;},_0x114a(_0x4c8d24,_0x19fbb2);}import{AIAssistantUI as _0x520e15}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x20b2b3{[_0x4f7a26(0xea)];constructor(_0xd14e42,_0x3f4f87){const _0x4766eb=_0x4f7a26;super(_0xd14e42),this[_0x4766eb(0xea)]=_0x3f4f87,this[_0x4766eb(0xe8)](_0x4766eb(0xed),[]),this['on'](_0x4766eb(0xc8),(_0x531255,_0x2eb2c5,_0x159c33)=>{const _0x69a11e=_0x4766eb;this[_0x69a11e(0xd1)]&&(this[_0x69a11e(0xed)]=fs(this[_0x69a11e(0xea)],_0x159c33));}),this[_0x4766eb(0xe8)](_0x4766eb(0xcd),!0x1),this['on'](_0x4766eb(0xc9),(_0xc0c8ff,_0x685f84,_0x4c141b)=>{const _0x2f1eaa=_0x4766eb;this[_0x2f1eaa(0xed)]=_0x4c141b?fs(this[_0x2f1eaa(0xea)],this[_0x2f1eaa(0xcd)]):[];});}[_0x4f7a26(0xd0)](){const _0xba21e6=_0x4f7a26,_0x5832a6=this[_0xba21e6(0xcb)][_0xba21e6(0xc7)];this[_0xba21e6(0xcd)]=function(_0x14f955){const _0x57e42d=_0xba21e6,_0x4a567f=_0x14f955[_0x57e42d(0xe3)][_0x57e42d(0xd2)];return _0x4a567f[_0x57e42d(0xe5)]?0x0!==[..._0x4a567f[_0x57e42d(0xf1)]()][_0x57e42d(0xdb)]&&![..._0x4a567f[_0x57e42d(0xf1)]()][0x0][_0x57e42d(0xd3)]:!!_0x14f955[_0x57e42d(0xe0)](_0x4a567f[_0x57e42d(0xe7)]());}(_0x5832a6);const _0x3d2b25=_0x5832a6[_0xba21e6(0xe3)][_0xba21e6(0xd2)],_0x1f93c0=this[_0xba21e6(0xcb)][_0xba21e6(0xd5)][_0xba21e6(0xcc)](_0xba21e6(0xca));for(const _0x16289f of _0x3d2b25[_0xba21e6(0xe4)]())for(const _0x59fc6a of _0x16289f[_0xba21e6(0xf4)]())if(_0x59fc6a['is'](_0xba21e6(0xdc))&&_0x1f93c0[_0xba21e6(0xd4)](_0x59fc6a[_0xba21e6(0xcf)]))return void(this[_0xba21e6(0xd1)]=!0x1);this[_0xba21e6(0xd1)]=!0x0;}[_0x4f7a26(0xce)](_0x2b7475='',_0x1412d9='',_0x55e8df=_0x4f7a26(0xf3)){const _0x28244c=_0x4f7a26;this[_0x28244c(0xcb)][_0x28244c(0xd9)][_0x28244c(0xcc)](_0x520e15)[_0x28244c(0xf2)](_0x2b7475,_0x1412d9,_0x55e8df);}}function _0x45a1(){const _0x4b7958=['_hasContext','execute','name','refresh','isEnabled','selection','isEmpty','includes','config','1onDoQA','1310296FhCnGk','1656099kMmvBF','plugins','115JKUmkN','length','element','22191ksroRr','requiresContent','from','hasContent','1614xXExvi','72JdvCar','document','getRanges','isCollapsed','68QPMhDT','getFirstRange','set','add','_commandDefinitions','values','432wNxkKO','enabledCommandsIds','12223071dbSIYg','1064050QOVpBS','7275136WFEgMo','getSelectedBlocks','showUI','custom','getItems','20WAasXe','model','change:_hasContext','change:isEnabled','ai.assistant.disabledElements','editor','get'];_0x45a1=function(){return _0x4b7958;};return _0x45a1();}function fs(_0x475a38,_0x2d2bdd){const _0x3d3254=_0x4f7a26,_0x4a6dc8=new Set();for(const _0x53609e of _0x475a38[_0x3d3254(0xeb)]())(_0x2d2bdd||!0x1===_0x53609e[_0x3d3254(0xde)])&&_0x4a6dc8[_0x3d3254(0xe9)](_0x53609e['id']);return Array[_0x3d3254(0xdf)](_0x4a6dc8);}
23
+ const _0x11b550=_0x376e;function _0x376e(_0x22451b,_0x4f9ef1){const _0x40d57c=_0x40d5();return _0x376e=function(_0x376e5e,_0x6289ed){_0x376e5e=_0x376e5e-0x1ee;let _0x19c8fa=_0x40d57c[_0x376e5e];return _0x19c8fa;},_0x376e(_0x22451b,_0x4f9ef1);}(function(_0x10a805,_0x19fd46){const _0x551be6=_0x376e,_0x10d707=_0x10a805();while(!![]){try{const _0x3a4749=parseInt(_0x551be6(0x20f))/0x1+-parseInt(_0x551be6(0x1f9))/0x2+-parseInt(_0x551be6(0x213))/0x3*(-parseInt(_0x551be6(0x205))/0x4)+-parseInt(_0x551be6(0x203))/0x5*(-parseInt(_0x551be6(0x1ef))/0x6)+-parseInt(_0x551be6(0x214))/0x7*(-parseInt(_0x551be6(0x20a))/0x8)+-parseInt(_0x551be6(0x204))/0x9*(-parseInt(_0x551be6(0x20e))/0xa)+-parseInt(_0x551be6(0x1f1))/0xb;if(_0x3a4749===_0x19fd46)break;else _0x10d707['push'](_0x10d707['shift']());}catch(_0x5eddfc){_0x10d707['push'](_0x10d707['shift']());}}}(_0x40d5,0x9d1eb));function _0x40d5(){const _0x1652ad=['3cUmDwG','7pQVnuI','add','change:_hasContext','enabledCommandsIds','_commandDefinitions','getItems','set','isCollapsed','2454786KLfIFn','model','29040209BbjTIY','refresh','ai.assistant.disabledElements','execute','_hasContext','getSelectedBlocks','showUI','getRanges','355556LueQkA','includes','get','requiresContent','plugins','from','config','isEnabled','values','element','10VMONJs','49689cObThg','1604228OrvSwN','hasContent','selection','custom','isEmpty','5457440mefeVE','name','editor','getFirstRange','1790yARjgY','571602ILuIpT','document','length','change:isEnabled'];_0x40d5=function(){return _0x1652ad;};return _0x40d5();}import{Command as _0x54fa53}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x587b26}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x54fa53{[_0x11b550(0x218)];constructor(_0x50276c,_0x5e585e){const _0x23efa7=_0x11b550;super(_0x50276c),this[_0x23efa7(0x218)]=_0x5e585e,this[_0x23efa7(0x21a)](_0x23efa7(0x217),[]),this['on'](_0x23efa7(0x216),(_0x18f629,_0x44714f,_0xf0b306)=>{const _0x508e8d=_0x23efa7;this[_0x508e8d(0x200)]&&(this[_0x508e8d(0x217)]=ns(this[_0x508e8d(0x218)],_0xf0b306));}),this[_0x23efa7(0x21a)](_0x23efa7(0x1f5),!0x1),this['on'](_0x23efa7(0x212),(_0x14d412,_0x4a66b8,_0xffd770)=>{const _0x4d12d7=_0x23efa7;this[_0x4d12d7(0x217)]=_0xffd770?ns(this[_0x4d12d7(0x218)],this[_0x4d12d7(0x1f5)]):[];});}[_0x11b550(0x1f2)](){const _0x78ed5=_0x11b550,_0x24d896=this[_0x78ed5(0x20c)][_0x78ed5(0x1f0)];this[_0x78ed5(0x1f5)]=function(_0x14b19f){const _0x2dc452=_0x78ed5,_0x4e96f5=_0x14b19f[_0x2dc452(0x210)][_0x2dc452(0x207)];return _0x4e96f5[_0x2dc452(0x1ee)]?0x0!==[..._0x4e96f5[_0x2dc452(0x1f6)]()][_0x2dc452(0x211)]&&![..._0x4e96f5[_0x2dc452(0x1f6)]()][0x0][_0x2dc452(0x209)]:!!_0x14b19f[_0x2dc452(0x206)](_0x4e96f5[_0x2dc452(0x20d)]());}(_0x24d896);const _0x1872bf=_0x24d896[_0x78ed5(0x210)][_0x78ed5(0x207)],_0x48467b=this[_0x78ed5(0x20c)][_0x78ed5(0x1ff)][_0x78ed5(0x1fb)](_0x78ed5(0x1f3));for(const _0x39d420 of _0x1872bf[_0x78ed5(0x1f8)]())for(const _0x433b62 of _0x39d420[_0x78ed5(0x219)]())if(_0x433b62['is'](_0x78ed5(0x202))&&_0x48467b[_0x78ed5(0x1fa)](_0x433b62[_0x78ed5(0x20b)]))return void(this[_0x78ed5(0x200)]=!0x1);this[_0x78ed5(0x200)]=!0x0;}[_0x11b550(0x1f4)](_0x3be300='',_0x2f5632='',_0x3c0d8b=_0x11b550(0x208)){const _0x5e8d4d=_0x11b550;this[_0x5e8d4d(0x20c)][_0x5e8d4d(0x1fd)][_0x5e8d4d(0x1fb)](_0x587b26)[_0x5e8d4d(0x1f7)](_0x3be300,_0x2f5632,_0x3c0d8b);}}function ns(_0x5151ac,_0x532bae){const _0x11498b=_0x11b550,_0x1e2cb4=new Set();for(const _0x2576da of _0x5151ac[_0x11498b(0x201)]())(_0x532bae||!0x1===_0x2576da[_0x11498b(0x1fc)])&&_0x1e2cb4[_0x11498b(0x215)](_0x2576da['id']);return Array[_0x11498b(0x1fe)](_0x1e2cb4);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x23e75c,_0x16bd36,_0x4929ae){const t=_0x23e75c['t'];switch(_0x16bd36){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x4929ae);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4929ae);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x4929ae);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x16bd36;}}
23
+ export function getTranslation(_0x36ca69,_0xab5637,_0x59922e){const t=_0x36ca69['t'];switch(_0xab5637){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',_0x59922e);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x59922e);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'},_0x59922e);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xab5637;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2bb2c2,_0x2dc3e){const _0x3db08f=(0x0,_0x2dc3e['t'])('Other');return _0x2bb2c2['length']?'groupId'in _0x2bb2c2[0x0]?_0x2bb2c2:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3db08f,'order':0x1/0x0,'commands':_0x2bb2c2}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3db08f,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x1a6854,_0x5c8ed1){const _0x496106=(0x0,_0x5c8ed1['t'])('Other');return _0x1a6854['length']?'groupId'in _0x1a6854[0x0]?_0x1a6854:[{'groupId':'_ungrouppedCommands','groupLabel':_0x496106,'order':0x1/0x0,'commands':_0x1a6854}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x496106,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fdd(_0x199451,_0x59001f){const _0xc0dfa9=_0xc0df();return _0x1fdd=function(_0x1fddbc,_0x76d342){_0x1fddbc=_0x1fddbc-0x11d;let _0x36fcaa=_0xc0dfa9[_0x1fddbc];return _0x36fcaa;},_0x1fdd(_0x199451,_0x59001f);}const _0x53f035=_0x1fdd;(function(_0x2ebdaf,_0x5b00e0){const _0x20d088=_0x1fdd,_0x38427c=_0x2ebdaf();while(!![]){try{const _0xfa06e6=parseInt(_0x20d088(0x151))/0x1+-parseInt(_0x20d088(0x12f))/0x2*(-parseInt(_0x20d088(0x14c))/0x3)+-parseInt(_0x20d088(0x156))/0x4+-parseInt(_0x20d088(0x145))/0x5+parseInt(_0x20d088(0x129))/0x6*(-parseInt(_0x20d088(0x138))/0x7)+-parseInt(_0x20d088(0x14f))/0x8*(-parseInt(_0x20d088(0x132))/0x9)+parseInt(_0x20d088(0x124))/0xa;if(_0xfa06e6===_0x5b00e0)break;else _0x38427c['push'](_0x38427c['shift']());}catch(_0x233551){_0x38427c['push'](_0x38427c['shift']());}}}(_0xc0df,0xc12c0));import{ContextPlugin as _0x52eea}from'ckeditor5/src/core.js';import{AIConnector as _0x371b35}from'../aicore/aiconnector.js';import{AIEditing as _0x645edc}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x2d4569,AIBalloonView as _0x1a27ae}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0xc0df(){const _0x2dd901=['6566645juuvrS','ranges','top','delegate','isOpen','plugins','icon','411633JURaWD','ai-balloon-','\x20ai-balloon-rotator','351504yeTBsx','AIEditing','1574080pPpwHX','_calculateOptimalTopPosition','hideFakeVisualSelection','ai-balloon','requires','3844164lkfYSz','_config','show','length','close','_calculateDialogPosition','editing','locale','model','title','left','index','1885140Zmdizu','open','setupRotator','get','height','6654aWPUNh','width','round','showFakeVisualSelection','aiBalloon','isPremiumPlugin','22aSpmHM','balloonView','pluginName','261tnqxEI','AIBalloon','dialogClosed','context','_setupVisualSelection','bind','9345xFkaGz','showRotator','ai-selection','innerHeight','fire','_showDialog','getBoundingClientRect','ai-balloon-selection','Dialog','isOfficialPlugin','getMarkersGroup','hide','markers'];_0xc0df=function(){return _0x2dd901;};return _0xc0df();}import{getAllMarkersDomElementsSorted as _0x5474c7}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x464ab3}from'../aicore/utils/geteditorfromcontext.js';export const AI_BALLOON_EVENT_NAMES=[..._0x2d4569,_0x53f035(0x134)];export class AIBalloon extends _0x52eea{static get[_0x53f035(0x155)](){return[_0x371b35,_0x645edc];}static get[_0x53f035(0x131)](){const _0x1951f1=_0x53f035;return _0x1951f1(0x133);}static get[_0x53f035(0x141)](){return!0x0;}static get[_0x53f035(0x12e)](){return!0x0;}[_0x53f035(0x149)]=!0x1;[_0x53f035(0x157)];[_0x53f035(0x125)](_0x1213c8){const _0x108268=_0x53f035,_0x3f8927=_0x464ab3(this[_0x108268(0x135)]);this[_0x108268(0x157)]=_0x1213c8,this[_0x108268(0x130)]=new _0x1a27ae(_0x3f8927[_0x108268(0x11f)],_0x1213c8),this[_0x108268(0x130)][_0x108268(0x148)](..._0x2d4569)['to'](this),this[_0x108268(0x13d)](_0x1213c8);}[_0x53f035(0x15a)](){const _0x1862f7=_0x53f035;_0x464ab3(this[_0x1862f7(0x135)])[_0x1862f7(0x14a)][_0x1862f7(0x127)](_0x1862f7(0x140))[_0x1862f7(0x143)]();}[_0x53f035(0x136)](_0x3d53b6,_0x1b1bd4){const _0x2e06e0=_0x53f035;this[_0x2e06e0(0x135)][_0x2e06e0(0x14a)][_0x2e06e0(0x127)](_0x645edc)[_0x2e06e0(0x12c)](_0x3d53b6,_0x2e06e0(0x14d)+_0x1b1bd4,!0x0,!0x0);}[_0x53f035(0x13d)](_0x173f94){const _0xa12577=_0x53f035,_0x19792a=_0x464ab3(this[_0xa12577(0x135)]);this[_0xa12577(0x136)](_0x173f94[_0xa12577(0x146)],_0x173f94[_0xa12577(0x123)]),_0x19792a[_0xa12577(0x14a)][_0xa12577(0x127)](_0xa12577(0x140))[_0xa12577(0x158)]({'title':_0x173f94[_0xa12577(0x121)],'icon':_0x173f94[_0xa12577(0x14b)],'hasCloseButton':!0x0,'id':_0xa12577(0x12d),'position':this[_0xa12577(0x11d)][_0xa12577(0x137)](this),'className':_0xa12577(0x154)+(_0x173f94[_0xa12577(0x139)]?_0xa12577(0x14e):''),'content':this[_0xa12577(0x130)],'onShow':_0x55dd80=>{const _0x11e3a4=_0xa12577;_0x173f94[_0x11e3a4(0x139)]&&this[_0x11e3a4(0x130)][_0x11e3a4(0x126)](_0x55dd80),this[_0x11e3a4(0x149)]=!0x0;},'onHide':()=>{const _0x2d814a=_0xa12577;this[_0x2d814a(0x135)][_0x2d814a(0x14a)][_0x2d814a(0x127)](_0x2d814a(0x150))[_0x2d814a(0x153)](_0x2d814a(0x14d)+_0x173f94[_0x2d814a(0x123)]),this[_0x2d814a(0x13c)](_0x2d814a(0x134)),this[_0x2d814a(0x149)]=!0x1;}});}[_0x53f035(0x11d)](_0x481ae9,_0x1c4bc8){const _0x4ee9ac=_0x53f035,_0x14283d=_0x464ab3(this[_0x4ee9ac(0x135)]);if(!_0x1c4bc8)return{'left':0x0,'top':0x0};const _0x189d2c=_0x5474c7(_0x14283d[_0x4ee9ac(0x11e)],[..._0x14283d[_0x4ee9ac(0x120)][_0x4ee9ac(0x144)][_0x4ee9ac(0x142)](_0x4ee9ac(0x13a)),..._0x14283d[_0x4ee9ac(0x120)][_0x4ee9ac(0x144)][_0x4ee9ac(0x142)](_0x4ee9ac(0x13f))]);if(!_0x189d2c||0x0===_0x189d2c[_0x4ee9ac(0x159)])return{'left':Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x122)]+_0x1c4bc8[_0x4ee9ac(0x12a)]/0x2-_0x481ae9[_0x4ee9ac(0x12a)]/0x2),'top':Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x147)]+_0x1c4bc8[_0x4ee9ac(0x128)]/0x2-_0x481ae9[_0x4ee9ac(0x128)]/0x2)};const _0x5d1ed5=Math[_0x4ee9ac(0x12b)](_0x1c4bc8[_0x4ee9ac(0x122)]+_0x1c4bc8[_0x4ee9ac(0x12a)]/0x2-_0x481ae9[_0x4ee9ac(0x12a)]/0x2),_0x49df84=_0x189d2c[0x0][_0x4ee9ac(0x13e)](),_0x47e1ce=_0x189d2c[_0x189d2c[_0x4ee9ac(0x159)]-0x1][_0x4ee9ac(0x13e)](),_0x4aadcc=_0x481ae9[_0x4ee9ac(0x128)],_0x1d1d3c=this[_0x4ee9ac(0x157)][_0x4ee9ac(0x139)]?0x8:0x0;return{'left':_0x5d1ed5,'top':this[_0x4ee9ac(0x152)](_0x49df84,_0x47e1ce,_0x4aadcc,_0x1d1d3c)};}[_0x53f035(0x152)](_0x55ac28,_0x27ed40,_0x53e53a,_0x4962cc=0x0){const _0x18eb81=_0x53f035,_0x32dbac=_0x27ed40[_0x18eb81(0x147)]+_0x27ed40[_0x18eb81(0x128)],_0x1c64a2=_0x55ac28[_0x18eb81(0x147)]-_0x53e53a-_0x4962cc,_0xe829bc=window[_0x18eb81(0x13b)]-_0x32dbac-0xa,_0x4e3aee=_0x55ac28[_0x18eb81(0x147)]-_0x4962cc-0xa;let _0x15c127;if(_0xe829bc>=_0x53e53a)_0x15c127=_0x32dbac+0xa;else{if(_0x4e3aee>=_0x53e53a)_0x15c127=_0x1c64a2-0xa;else _0x15c127=_0x55ac28[_0x18eb81(0x147)]+(_0x27ed40[_0x18eb81(0x147)]+_0x27ed40[_0x18eb81(0x128)])/0x2-(_0x53e53a+_0x4962cc)/0x2;}return _0x15c127;}}
23
+ const _0x5eeb50=_0x54ee;(function(_0x565964,_0x612625){const _0x28696b=_0x54ee,_0x5071d8=_0x565964();while(!![]){try{const _0x37573e=-parseInt(_0x28696b(0x21b))/0x1*(-parseInt(_0x28696b(0x208))/0x2)+parseInt(_0x28696b(0x1e4))/0x3+-parseInt(_0x28696b(0x20c))/0x4*(-parseInt(_0x28696b(0x1f6))/0x5)+parseInt(_0x28696b(0x1fe))/0x6*(parseInt(_0x28696b(0x21c))/0x7)+parseInt(_0x28696b(0x1fb))/0x8*(-parseInt(_0x28696b(0x203))/0x9)+parseInt(_0x28696b(0x21e))/0xa*(-parseInt(_0x28696b(0x1e7))/0xb)+-parseInt(_0x28696b(0x1f0))/0xc;if(_0x37573e===_0x612625)break;else _0x5071d8['push'](_0x5071d8['shift']());}catch(_0x4f6951){_0x5071d8['push'](_0x5071d8['shift']());}}}(_0x353b,0x4d76e));import{ContextPlugin as _0x371f94}from'ckeditor5/src/core.js';import{AIConnector as _0x50bba2}from'../aicore/aiconnector.js';import{AIEditing as _0x5699a1}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4a35d6,AIBalloonView as _0x28112e}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x353b(){const _0x23401e=['ai-balloon-selection','isOfficialPlugin','close','locale','left','1216305fTGkIB','setupRotator','top','1179563QbPnvU','width','title','getBoundingClientRect','fire','plugins','bind','editing','delegate','3838704bkcrNO','index','length','getMarkersGroup','isPremiumPlugin','round','15oitdSh','AIEditing','requires','Dialog','hideFakeVisualSelection','8fGHkUR','pluginName','ranges','6786SpdUqt','\x20ai-balloon-rotator','dialogClosed','aiBalloon','_calculateDialogPosition','3513528VrmgZq','showFakeVisualSelection','ai-balloon-','_calculateOptimalTopPosition','isOpen','65242yuOlgN','_config','markers','innerHeight','835748cIORaP','icon','showRotator','ai-selection','get','_setupVisualSelection','balloonView','AIBalloon','show','context','model','hide','open','height','ai-balloon','2qyKrlY','231BMbPfB','_showDialog','10sBrPRy'];_0x353b=function(){return _0x23401e;};return _0x353b();}import{getAllMarkersDomElementsSorted as _0x361e14}from'@ckeditor/ckeditor5-collaboration-core';function _0x54ee(_0x2d58b5,_0x1ce08a){const _0x353b54=_0x353b();return _0x54ee=function(_0x54ee8a,_0x311b30){_0x54ee8a=_0x54ee8a-0x1e4;let _0x2aa441=_0x353b54[_0x54ee8a];return _0x2aa441;},_0x54ee(_0x2d58b5,_0x1ce08a);}import{getEditorFromContext as _0x15d3ac}from'../aicore/utils/geteditorfromcontext.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4a35d6,_0x5eeb50(0x200)];export class AIBalloon extends _0x371f94{static get[_0x5eeb50(0x1f8)](){return[_0x50bba2,_0x5699a1];}static get[_0x5eeb50(0x1fc)](){const _0x1fc48d=_0x5eeb50;return _0x1fc48d(0x213);}static get[_0x5eeb50(0x220)](){return!0x0;}static get[_0x5eeb50(0x1f4)](){return!0x0;}[_0x5eeb50(0x207)]=!0x1;[_0x5eeb50(0x209)];[_0x5eeb50(0x218)](_0x279ca3){const _0x454e00=_0x5eeb50,_0x5372ed=_0x15d3ac(this[_0x454e00(0x215)]);this[_0x454e00(0x209)]=_0x279ca3,this[_0x454e00(0x212)]=new _0x28112e(_0x5372ed[_0x454e00(0x222)],_0x279ca3),this[_0x454e00(0x212)][_0x454e00(0x1ef)](..._0x4a35d6)['to'](this),this[_0x454e00(0x21d)](_0x279ca3);}[_0x5eeb50(0x221)](){const _0xa262ef=_0x5eeb50;_0x15d3ac(this[_0xa262ef(0x215)])[_0xa262ef(0x1ec)][_0xa262ef(0x210)](_0xa262ef(0x1f9))[_0xa262ef(0x217)]();}[_0x5eeb50(0x211)](_0x44e5db,_0x56be74){const _0x32a956=_0x5eeb50;this[_0x32a956(0x215)][_0x32a956(0x1ec)][_0x32a956(0x210)](_0x5699a1)[_0x32a956(0x204)](_0x44e5db,_0x32a956(0x205)+_0x56be74,!0x0,!0x0);}[_0x5eeb50(0x21d)](_0xb1aeb3){const _0x5dfabf=_0x5eeb50,_0xebfcd4=_0x15d3ac(this[_0x5dfabf(0x215)]);this[_0x5dfabf(0x211)](_0xb1aeb3[_0x5dfabf(0x1fd)],_0xb1aeb3[_0x5dfabf(0x1f1)]),_0xebfcd4[_0x5dfabf(0x1ec)][_0x5dfabf(0x210)](_0x5dfabf(0x1f9))[_0x5dfabf(0x214)]({'title':_0xb1aeb3[_0x5dfabf(0x1e9)],'icon':_0xb1aeb3[_0x5dfabf(0x20d)],'hasCloseButton':!0x0,'id':_0x5dfabf(0x201),'position':this[_0x5dfabf(0x202)][_0x5dfabf(0x1ed)](this),'className':_0x5dfabf(0x21a)+(_0xb1aeb3[_0x5dfabf(0x20e)]?_0x5dfabf(0x1ff):''),'content':this[_0x5dfabf(0x212)],'onShow':_0x12a4c8=>{const _0x1b575c=_0x5dfabf;_0xb1aeb3[_0x1b575c(0x20e)]&&this[_0x1b575c(0x212)][_0x1b575c(0x1e5)](_0x12a4c8),this[_0x1b575c(0x207)]=!0x0;},'onHide':()=>{const _0x3617ae=_0x5dfabf;this[_0x3617ae(0x215)][_0x3617ae(0x1ec)][_0x3617ae(0x210)](_0x3617ae(0x1f7))[_0x3617ae(0x1fa)](_0x3617ae(0x205)+_0xb1aeb3[_0x3617ae(0x1f1)]),this[_0x3617ae(0x1eb)](_0x3617ae(0x200)),this[_0x3617ae(0x207)]=!0x1;}});}[_0x5eeb50(0x202)](_0x517407,_0x53a75a){const _0x3a6c8a=_0x5eeb50,_0x764e67=_0x15d3ac(this[_0x3a6c8a(0x215)]);if(!_0x53a75a)return{'left':0x0,'top':0x0};const _0x3a7653=_0x361e14(_0x764e67[_0x3a6c8a(0x1ee)],[..._0x764e67[_0x3a6c8a(0x216)][_0x3a6c8a(0x20a)][_0x3a6c8a(0x1f3)](_0x3a6c8a(0x20f)),..._0x764e67[_0x3a6c8a(0x216)][_0x3a6c8a(0x20a)][_0x3a6c8a(0x1f3)](_0x3a6c8a(0x21f))]);if(!_0x3a7653||0x0===_0x3a7653[_0x3a6c8a(0x1f2)])return{'left':Math[_0x3a6c8a(0x1f5)](_0x53a75a[_0x3a6c8a(0x223)]+_0x53a75a[_0x3a6c8a(0x1e8)]/0x2-_0x517407[_0x3a6c8a(0x1e8)]/0x2),'top':Math[_0x3a6c8a(0x1f5)](_0x53a75a[_0x3a6c8a(0x1e6)]+_0x53a75a[_0x3a6c8a(0x219)]/0x2-_0x517407[_0x3a6c8a(0x219)]/0x2)};const _0x13d995=Math[_0x3a6c8a(0x1f5)](_0x53a75a[_0x3a6c8a(0x223)]+_0x53a75a[_0x3a6c8a(0x1e8)]/0x2-_0x517407[_0x3a6c8a(0x1e8)]/0x2),_0x410fe3=_0x3a7653[0x0][_0x3a6c8a(0x1ea)](),_0xef7e2d=_0x3a7653[_0x3a7653[_0x3a6c8a(0x1f2)]-0x1][_0x3a6c8a(0x1ea)](),_0x1a974c=_0x517407[_0x3a6c8a(0x219)],_0x5e0f8f=this[_0x3a6c8a(0x209)][_0x3a6c8a(0x20e)]?0x8:0x0;return{'left':_0x13d995,'top':this[_0x3a6c8a(0x206)](_0x410fe3,_0xef7e2d,_0x1a974c,_0x5e0f8f)};}[_0x5eeb50(0x206)](_0x18e30c,_0x5ac00b,_0x532a28,_0x25a714=0x0){const _0x16d324=_0x5eeb50,_0x5aba9f=_0x5ac00b[_0x16d324(0x1e6)]+_0x5ac00b[_0x16d324(0x219)],_0x527b3b=_0x18e30c[_0x16d324(0x1e6)]-_0x532a28-_0x25a714,_0x3e0110=window[_0x16d324(0x20b)]-_0x5aba9f-0xa,_0x3c5897=_0x18e30c[_0x16d324(0x1e6)]-_0x25a714-0xa;let _0x5a57f2;if(_0x3e0110>=_0x532a28)_0x5a57f2=_0x5aba9f+0xa;else{if(_0x3c5897>=_0x532a28)_0x5a57f2=_0x527b3b-0xa;else _0x5a57f2=_0x18e30c[_0x16d324(0x1e6)]+(_0x5ac00b[_0x16d324(0x1e6)]+_0x5ac00b[_0x16d324(0x219)])/0x2-(_0x532a28+_0x25a714)/0x2;}return _0x5a57f2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3d62a9,_0x17dbce){var _0x20c67b=_0xdbef,_0x461673=_0x3d62a9();while(!![]){try{var _0x4dde73=-parseInt(_0x20c67b(0x123))/0x1+-parseInt(_0x20c67b(0x12b))/0x2*(-parseInt(_0x20c67b(0x12a))/0x3)+-parseInt(_0x20c67b(0x124))/0x4*(parseInt(_0x20c67b(0x127))/0x5)+-parseInt(_0x20c67b(0x12f))/0x6+parseInt(_0x20c67b(0x130))/0x7+-parseInt(_0x20c67b(0x126))/0x8*(parseInt(_0x20c67b(0x12c))/0x9)+parseInt(_0x20c67b(0x125))/0xa;if(_0x4dde73===_0x17dbce)break;else _0x461673['push'](_0x461673['shift']());}catch(_0x510b31){_0x461673['push'](_0x461673['shift']());}}}(_0x3e13,0xea634));import{View as _0x38a859}from'ckeditor5/src/ui.js';function _0x3e13(){var _0x1efa10=['ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','17943IUvIoT','94RuKilu','3069AsROUm','div','AI_DISCLAIMER_TEXT','2976810zjikBw','13320734DacJQc','setTemplate','1492413tsLMfr','2456hOREKS','29819300hcQoRp','26568acYlsF','8835kmQsIT'];_0x3e13=function(){return _0x1efa10;};return _0x3e13();}import{getTranslation as _0x1738c5}from'../../aicore/utils/common-translations.js';function _0xdbef(_0x9cb6e,_0x426685){var _0x3e1342=_0x3e13();return _0xdbef=function(_0xdbefef,_0xa37842){_0xdbefef=_0xdbefef-0x122;var _0x4fa37a=_0x3e1342[_0xdbefef];return _0x4fa37a;},_0xdbef(_0x9cb6e,_0x426685);}export class AIBalloonDisclaimerView extends _0x38a859{constructor(_0xabedc4){var _0xa126ab=_0xdbef;super(_0xabedc4),this[_0xa126ab(0x122)]({'tag':_0xa126ab(0x12d),'attributes':{'class':['ck',_0xa126ab(0x128)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xa126ab(0x129)]},'children':[{'text':_0x1738c5(_0xabedc4,_0xa126ab(0x12e))}]}]});}}
23
+ (function(_0xa59109,_0xf8d7e7){var _0x6ff300=_0x17d6,_0x564d55=_0xa59109();while(!![]){try{var _0x2496c7=-parseInt(_0x6ff300(0x144))/0x1*(parseInt(_0x6ff300(0x141))/0x2)+-parseInt(_0x6ff300(0x13f))/0x3+-parseInt(_0x6ff300(0x146))/0x4+-parseInt(_0x6ff300(0x13b))/0x5*(parseInt(_0x6ff300(0x13c))/0x6)+parseInt(_0x6ff300(0x13d))/0x7+parseInt(_0x6ff300(0x143))/0x8+parseInt(_0x6ff300(0x140))/0x9*(parseInt(_0x6ff300(0x13e))/0xa);if(_0x2496c7===_0xf8d7e7)break;else _0x564d55['push'](_0x564d55['shift']());}catch(_0x1524dd){_0x564d55['push'](_0x564d55['shift']());}}}(_0x88fa,0xeb7d8));function _0x17d6(_0x57e75e,_0xcb1aa8){var _0x88fa3=_0x88fa();return _0x17d6=function(_0x17d6b8,_0x36f847){_0x17d6b8=_0x17d6b8-0x138;var _0x2b2138=_0x88fa3[_0x17d6b8];return _0x2b2138;},_0x17d6(_0x57e75e,_0xcb1aa8);}import{View as _0x531159}from'ckeditor5/src/ui.js';function _0x88fa(){var _0x26bfda=['502894BcPhDm','446910vRkbvY','2392935jviWqu','801PdzkZH','1790722aiRbAY','ck-ai-balloon__disclaimer','1135640jIiocc','1JmrGau','ck-ai-balloon__disclaimer-content','3509640kMdCAt','div','AI_DISCLAIMER_TEXT','setTemplate','10ylngVi','1968936eeBsHF'];_0x88fa=function(){return _0x26bfda;};return _0x88fa();}import{getTranslation as _0x14e877}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x531159{constructor(_0x3b39de){var _0x2a129e=_0x17d6;super(_0x3b39de),this[_0x2a129e(0x13a)]({'tag':_0x2a129e(0x138),'attributes':{'class':['ck',_0x2a129e(0x142)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x2a129e(0x145)]},'children':[{'text':_0x14e877(_0x3b39de,_0x2a129e(0x139))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4643(){const _0x212a8d=['1519917ymSpNW','bind','4qXhjQU','ck-ai-balloon__toolbar','8113239JxeLBl','8854085LqvtIi','ck-ai-button-secondary','suggestButton','63915434IyPsrF','isLoading','applyButton','ck-ai-button-primary','AI_BALLOON_APPLY_BUTTON','set','add','20EhVZxx','locale','13145072GKnWoI','_createButton','24iZRSdg','isEnabled','1554418WLRMnv','2oxvCBe','1659297BiDVzL','items','AI_BALLOON_SUGGEST_BUTTON','extendTemplate'];_0x4643=function(){return _0x212a8d;};return _0x4643();}const _0x1254c3=_0xb863;function _0xb863(_0x496cc2,_0x40abd3){const _0x46438e=_0x4643();return _0xb863=function(_0xb8636a,_0x2bfbbc){_0xb8636a=_0xb8636a-0x100;let _0x5c8eb9=_0x46438e[_0xb8636a];return _0x5c8eb9;},_0xb863(_0x496cc2,_0x40abd3);}(function(_0x58fb03,_0x362551){const _0x507c0b=_0xb863,_0x2b6a24=_0x58fb03();while(!![]){try{const _0x1ebfe0=-parseInt(_0x507c0b(0x114))/0x1+-parseInt(_0x507c0b(0x115))/0x2*(parseInt(_0x507c0b(0x116))/0x3)+-parseInt(_0x507c0b(0x101))/0x4*(parseInt(_0x507c0b(0x104))/0x5)+parseInt(_0x507c0b(0x112))/0x6*(-parseInt(_0x507c0b(0x11a))/0x7)+parseInt(_0x507c0b(0x110))/0x8+parseInt(_0x507c0b(0x103))/0x9*(-parseInt(_0x507c0b(0x10e))/0xa)+parseInt(_0x507c0b(0x107))/0xb;if(_0x1ebfe0===_0x362551)break;else _0x2b6a24['push'](_0x2b6a24['shift']());}catch(_0x4f1ba0){_0x2b6a24['push'](_0x2b6a24['shift']());}}}(_0x4643,0xdca94));import{ToolbarView as _0x3285f,ButtonView as _0x5b8faf}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f3bb0}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x3285f{constructor(_0x3d2352,_0x4ad519=!0x0,_0x5c3fce=!0x0){const _0x5c19cc=_0xb863;super(_0x3d2352),this[_0x5c19cc(0x10c)](_0x5c19cc(0x108),!0x1),_0x4ad519&&(this[_0x5c19cc(0x109)]=this[_0x5c19cc(0x111)](_0x2f3bb0(_0x3d2352,_0x5c19cc(0x10b)),_0x5c19cc(0x10a)),this[_0x5c19cc(0x109)][_0x5c19cc(0x100)](_0x5c19cc(0x113))['to'](this,_0x5c19cc(0x108),_0x50ca62=>!_0x50ca62),this[_0x5c19cc(0x117)][_0x5c19cc(0x10d)](this[_0x5c19cc(0x109)])),_0x5c3fce&&(this[_0x5c19cc(0x106)]=this[_0x5c19cc(0x111)](_0x2f3bb0(_0x3d2352,_0x5c19cc(0x118)),_0x5c19cc(0x105)),this[_0x5c19cc(0x106)][_0x5c19cc(0x100)](_0x5c19cc(0x113))['to'](this,_0x5c19cc(0x108),_0x1c5ca3=>!_0x1c5ca3),this[_0x5c19cc(0x117)][_0x5c19cc(0x10d)](this[_0x5c19cc(0x106)])),this[_0x5c19cc(0x119)]({'attributes':{'class':[_0x5c19cc(0x102)]}});}[_0x1254c3(0x111)](_0xee5a19,_0x2e7037){const _0x5ee932=_0x1254c3,_0x4bb2fa=new _0x5b8faf(this[_0x5ee932(0x10f)]);return _0x4bb2fa[_0x5ee932(0x10c)]({'label':_0xee5a19,'class':_0x2e7037||'','isVisible':!0x0,'withText':!0x0}),_0x4bb2fa;}}
23
+ const _0x424635=_0xcd83;(function(_0x1702db,_0x1ac6c0){const _0x38b39a=_0xcd83,_0x44cf89=_0x1702db();while(!![]){try{const _0xadae0=-parseInt(_0x38b39a(0x1da))/0x1+-parseInt(_0x38b39a(0x1d3))/0x2+parseInt(_0x38b39a(0x1df))/0x3*(parseInt(_0x38b39a(0x1e4))/0x4)+parseInt(_0x38b39a(0x1e7))/0x5*(parseInt(_0x38b39a(0x1d1))/0x6)+-parseInt(_0x38b39a(0x1d7))/0x7*(-parseInt(_0x38b39a(0x1e8))/0x8)+parseInt(_0x38b39a(0x1cf))/0x9*(parseInt(_0x38b39a(0x1e6))/0xa)+-parseInt(_0x38b39a(0x1d4))/0xb;if(_0xadae0===_0x1ac6c0)break;else _0x44cf89['push'](_0x44cf89['shift']());}catch(_0x4c9c70){_0x44cf89['push'](_0x44cf89['shift']());}}}(_0x3387,0x3a4aa));import{ToolbarView as _0x56e54b,ButtonView as _0x1bc2ea}from'ckeditor5/src/ui.js';import{getTranslation as _0x562f88}from'../../aicore/utils/common-translations.js';function _0xcd83(_0xcf03f2,_0x415f88){const _0x3387a8=_0x3387();return _0xcd83=function(_0xcd83c2,_0x1214d9){_0xcd83c2=_0xcd83c2-0x1ce;let _0x1034c7=_0x3387a8[_0xcd83c2];return _0x1034c7;},_0xcd83(_0xcf03f2,_0x415f88);}export class AIBalloonToolbarView extends _0x56e54b{constructor(_0x49d3c0,_0x3d901d=!0x0,_0x182817=!0x0){const _0x212375=_0xcd83;super(_0x49d3c0),this[_0x212375(0x1d8)](_0x212375(0x1e5),!0x1),_0x3d901d&&(this[_0x212375(0x1d9)]=this[_0x212375(0x1e0)](_0x562f88(_0x49d3c0,_0x212375(0x1de)),_0x212375(0x1d5)),this[_0x212375(0x1d9)][_0x212375(0x1e3)](_0x212375(0x1d2))['to'](this,_0x212375(0x1e5),_0x2bc243=>!_0x2bc243),this[_0x212375(0x1dc)][_0x212375(0x1dd)](this[_0x212375(0x1d9)])),_0x182817&&(this[_0x212375(0x1e2)]=this[_0x212375(0x1e0)](_0x562f88(_0x49d3c0,_0x212375(0x1db)),_0x212375(0x1d0)),this[_0x212375(0x1e2)][_0x212375(0x1e3)](_0x212375(0x1d2))['to'](this,_0x212375(0x1e5),_0x394969=>!_0x394969),this[_0x212375(0x1dc)][_0x212375(0x1dd)](this[_0x212375(0x1e2)])),this[_0x212375(0x1e1)]({'attributes':{'class':[_0x212375(0x1ce)]}});}[_0x424635(0x1e0)](_0xacd47,_0x2708e8){const _0x2689ea=_0x424635,_0x15d29b=new _0x1bc2ea(this[_0x2689ea(0x1d6)]);return _0x15d29b[_0x2689ea(0x1d8)]({'label':_0xacd47,'class':_0x2708e8||'','isVisible':!0x0,'withText':!0x0}),_0x15d29b;}}function _0x3387(){const _0x1e4ded=['ck-ai-button-primary','locale','860139aiPzTM','set','applyButton','77650XAoMRZ','AI_BALLOON_SUGGEST_BUTTON','items','add','AI_BALLOON_APPLY_BUTTON','303zTGSzh','_createButton','extendTemplate','suggestButton','bind','9236CLMSOK','isLoading','410BXivOb','15vKYFIu','8rfEyoE','ck-ai-balloon__toolbar','39987rbqZnV','ck-ai-button-secondary','652356CcQXUb','isEnabled','203352UgfyJP','4909729BNWpZB'];_0x3387=function(){return _0x1e4ded;};return _0x3387();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x445ae5=_0x598d;(function(_0x554346,_0x24d585){const _0x268867=_0x598d,_0x5b9a9f=_0x554346();while(!![]){try{const _0x2ffe04=parseInt(_0x268867(0x13c))/0x1*(parseInt(_0x268867(0x142))/0x2)+-parseInt(_0x268867(0x13b))/0x3+parseInt(_0x268867(0x130))/0x4+-parseInt(_0x268867(0x143))/0x5+-parseInt(_0x268867(0x152))/0x6+parseInt(_0x268867(0x12c))/0x7+-parseInt(_0x268867(0x128))/0x8*(-parseInt(_0x268867(0x133))/0x9);if(_0x2ffe04===_0x24d585)break;else _0x5b9a9f['push'](_0x5b9a9f['shift']());}catch(_0x2f2880){_0x5b9a9f['push'](_0x5b9a9f['shift']());}}}(_0x447d,0xa7b6a));import{ButtonView as _0x41877c,View as _0x41672c,ViewCollection as _0x1d5357,FocusCycler as _0x47d5d3}from'ckeditor5/src/ui.js';import{FocusTracker as _0xd4127a,KeystrokeHandler as _0x4eed69}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x4d36c5,IconPreviousArrow as _0xb33b8f}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x235e24}from'./aiballoontoolbarview.js';function _0x598d(_0x523320,_0x4aa8b6){const _0x447dda=_0x447d();return _0x598d=function(_0x598deb,_0x418935){_0x598deb=_0x598deb-0x124;let _0x1f18b7=_0x447dda[_0x598deb];return _0x1f18b7;},_0x598d(_0x523320,_0x4aa8b6);}function _0x447d(){const _0x35e581=['_addContentView','isLoading','element','suggestButton','headerView','showPrevious','toolbar','_addToolbar','view','456GVyTgD','showNext','focusTracker','listenTo','3007998hBegJI','focusLast','focus','fire','2736820JVOISK','add','setTemplate','130095hQZQdk','focusCycler','_mainView','tab','set','createCollection','_focusables','AI_BALLOON_NEXT_TOOLTIP','1629420ZFBLfz','5yApZot','insertSuggestion','keystrokes','applySuggestion','showApplyButton','focusFirst','285210ddiFEW','1414195JiOjhK','setupRotator','addMany','setLoading','shift\x20+\x20tab','_createPreviousButtonView','locale','bind','disclaimerView','execute','children','_dialogContent','applyButton','_createNextButtonView','clear','6827676rEPqvk','ai-balloon-content','clearLoading','mainView','div','showSuggestButton','_addDisclaimerView','AI_BALLOON_PREVIOUS_TOOLTIP','render'];_0x447d=function(){return _0x35e581;};return _0x447d();}import{AIBalloonDisclaimerView as _0x381afc}from'./aiballoondisclaimerview.js';import{getTranslation as _0x1ee582}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x445ae5(0x13f),_0x445ae5(0x13d),_0x445ae5(0x129),_0x445ae5(0x124)];export class AIBalloonView extends _0x41672c{[_0x445ae5(0x12a)];[_0x445ae5(0x13e)];[_0x445ae5(0x134)];[_0x445ae5(0x139)];constructor(_0x250de6,_0x96a14c){const _0x15d9e7=_0x445ae5;super(_0x250de6),this[_0x15d9e7(0x137)](_0x15d9e7(0x15c),!0x1),this[_0x15d9e7(0x12a)]=new _0xd4127a(),this[_0x15d9e7(0x13e)]=new _0x4eed69(),this[_0x15d9e7(0x139)]=this[_0x15d9e7(0x138)](),this[_0x15d9e7(0x134)]=new _0x47d5d3({'focusables':this[_0x15d9e7(0x139)],'focusTracker':this[_0x15d9e7(0x12a)],'keystrokeHandler':this[_0x15d9e7(0x13e)],'actions':{'focusPrevious':_0x15d9e7(0x147),'focusNext':_0x15d9e7(0x136)}}),this[_0x15d9e7(0x14e)]=new _0x1d5357(),this[_0x15d9e7(0x15b)](_0x96a14c[_0x15d9e7(0x155)]),this[_0x15d9e7(0x158)](),this[_0x15d9e7(0x126)](_0x96a14c[_0x15d9e7(0x140)],_0x96a14c[_0x15d9e7(0x157)]),this[_0x15d9e7(0x125)][_0x15d9e7(0x14a)](_0x15d9e7(0x15c))['to'](this),this[_0x15d9e7(0x139)][_0x15d9e7(0x151)](),this[_0x15d9e7(0x139)][_0x15d9e7(0x145)]([this[_0x15d9e7(0x125)]]),this[_0x15d9e7(0x132)]({'tag':_0x15d9e7(0x156),'attributes':{'class':_0x15d9e7(0x153)},'children':this[_0x15d9e7(0x14e)]});}[_0x445ae5(0x15a)](){const _0x16d69d=_0x445ae5;super[_0x16d69d(0x15a)]();for(const _0x162055 of this[_0x16d69d(0x139)])this[_0x16d69d(0x12a)][_0x16d69d(0x131)](_0x162055[_0x16d69d(0x15d)]);this[_0x16d69d(0x13e)][_0x16d69d(0x12b)](this[_0x16d69d(0x15d)]);}[_0x445ae5(0x12e)](_0x18077d){const _0x127db3=_0x445ae5;-0x1===_0x18077d?this[_0x127db3(0x134)][_0x127db3(0x12d)]():this[_0x127db3(0x134)][_0x127db3(0x141)]();}[_0x445ae5(0x146)](){const _0x2ae3a2=_0x445ae5;this[_0x2ae3a2(0x15c)]=!0x0;}[_0x445ae5(0x154)](){const _0x2370cf=_0x445ae5;this[_0x2370cf(0x15c)]=!0x1;}[_0x445ae5(0x144)](_0x1d5bc4){const _0x244df8=_0x445ae5,_0x1a5195=this[_0x244df8(0x150)](),_0x21334e=this[_0x244df8(0x148)]();_0x1d5bc4[_0x244df8(0x127)][_0x244df8(0x15f)][_0x244df8(0x14d)][_0x244df8(0x131)](_0x1a5195,0x2),_0x1d5bc4[_0x244df8(0x127)][_0x244df8(0x15f)][_0x244df8(0x14d)][_0x244df8(0x131)](_0x21334e,0x0),this[_0x244df8(0x139)][_0x244df8(0x145)]([_0x1a5195,_0x21334e]),this[_0x244df8(0x12a)][_0x244df8(0x131)](_0x1a5195[_0x244df8(0x15d)]),this[_0x244df8(0x12a)][_0x244df8(0x131)](_0x21334e[_0x244df8(0x15d)]);}[_0x445ae5(0x15b)](_0x55a841){const _0x26d047=_0x445ae5;this[_0x26d047(0x135)]=_0x55a841,this[_0x26d047(0x14e)][_0x26d047(0x131)](this[_0x26d047(0x135)]);}[_0x445ae5(0x158)](){const _0x13e3b8=_0x445ae5;this[_0x13e3b8(0x14b)]=new _0x381afc(this[_0x13e3b8(0x149)]),this[_0x13e3b8(0x14e)][_0x13e3b8(0x131)](this[_0x13e3b8(0x14b)]);}[_0x445ae5(0x126)](_0x409d97=!0x0,_0x99e9de=!0x0){const _0x43961b=_0x445ae5;this[_0x43961b(0x125)]=new _0x235e24(this[_0x43961b(0x149)],_0x409d97,_0x99e9de),this[_0x43961b(0x125)][_0x43961b(0x14f)]?.['on'](_0x43961b(0x14c),()=>{const _0x5c528a=_0x43961b;this[_0x5c528a(0x12f)](_0x5c528a(0x13f));}),this[_0x43961b(0x125)][_0x43961b(0x15e)]?.['on'](_0x43961b(0x14c),()=>{const _0x8e2d65=_0x43961b;this[_0x8e2d65(0x12f)](_0x8e2d65(0x13d));}),this[_0x43961b(0x14e)][_0x43961b(0x131)](this[_0x43961b(0x125)]);}[_0x445ae5(0x150)](){const _0x5d52b3=_0x445ae5,_0x39ac70=new _0x41877c(this[_0x5d52b3(0x149)]);return _0x39ac70[_0x5d52b3(0x137)]({'icon':_0x4d36c5,'tooltip':_0x1ee582(this[_0x5d52b3(0x149)],_0x5d52b3(0x13a))}),_0x39ac70['on'](_0x5d52b3(0x14c),()=>{const _0x29e1ef=_0x5d52b3;this[_0x29e1ef(0x12f)](_0x29e1ef(0x129));}),_0x39ac70;}[_0x445ae5(0x148)](){const _0x5ab307=_0x445ae5,_0x578f7e=new _0x41877c(this[_0x5ab307(0x149)]);return _0x578f7e[_0x5ab307(0x137)]({'icon':_0xb33b8f,'tooltip':_0x1ee582(this[_0x5ab307(0x149)],_0x5ab307(0x159))}),_0x578f7e['on'](_0x5ab307(0x14c),()=>{const _0x125e96=_0x5ab307;this[_0x125e96(0x12f)](_0x125e96(0x124));}),_0x578f7e;}}
23
+ const _0x226274=_0x5467;(function(_0x4f672c,_0x4a4380){const _0x5b23c6=_0x5467,_0x226949=_0x4f672c();while(!![]){try{const _0xc3fdb5=-parseInt(_0x5b23c6(0x1b9))/0x1+-parseInt(_0x5b23c6(0x191))/0x2*(parseInt(_0x5b23c6(0x19d))/0x3)+parseInt(_0x5b23c6(0x1bb))/0x4*(parseInt(_0x5b23c6(0x192))/0x5)+parseInt(_0x5b23c6(0x1a8))/0x6+parseInt(_0x5b23c6(0x1cc))/0x7+-parseInt(_0x5b23c6(0x1a2))/0x8*(-parseInt(_0x5b23c6(0x193))/0x9)+-parseInt(_0x5b23c6(0x198))/0xa;if(_0xc3fdb5===_0x4a4380)break;else _0x226949['push'](_0x226949['shift']());}catch(_0x3c3b13){_0x226949['push'](_0x226949['shift']());}}}(_0x33d1,0x39a11));import{ButtonView as _0x2e3c72,View as _0x181ca5,ViewCollection as _0xe690e5,FocusCycler as _0x2a1bef}from'ckeditor5/src/ui.js';function _0x5467(_0x47bbf8,_0x41f4ab){const _0x33d184=_0x33d1();return _0x5467=function(_0x54678c,_0x3e7ddf){_0x54678c=_0x54678c-0x190;let _0x2f1b73=_0x33d184[_0x54678c];return _0x2f1b73;},_0x5467(_0x47bbf8,_0x41f4ab);}import{FocusTracker as _0x130a21,KeystrokeHandler as _0x507c32}from'ckeditor5/src/utils.js';function _0x33d1(){const _0x510771=['listenTo','focusLast','_addDisclaimerView','bind','applyButton','tab','addMany','set','159930RZSJNA','_createPreviousButtonView','12yjgoRe','execute','showNext','_addToolbar','AI_BALLOON_NEXT_TOOLTIP','clearLoading','_createNextButtonView','insertSuggestion','children','mainView','applySuggestion','AI_BALLOON_PREVIOUS_TOOLTIP','_mainView','showApplyButton','shift\x20+\x20tab','setTemplate','view','2425906DJiEZe','element','44GLQJza','130435gbLYzP','27603XzaXts','suggestButton','focusFirst','keystrokes','locale','7011520mxhjVh','add','headerView','fire','disclaimerView','12114okMrxt','showSuggestButton','focusCycler','showPrevious','_dialogContent','992RbDqRG','_addContentView','createCollection','isLoading','setLoading','render','2285040JMfuzT','_focusables','focus','ai-balloon-content','toolbar','div','setupRotator','focusTracker','clear'];_0x33d1=function(){return _0x510771;};return _0x33d1();}import{IconNextArrow as _0x475d1e,IconPreviousArrow as _0xa8f1e0}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5b3fb9}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x2a9e95}from'./aiballoondisclaimerview.js';import{getTranslation as _0x41f3c1}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x226274(0x1c5),_0x226274(0x1c2),_0x226274(0x1bd),_0x226274(0x1a0)];export class AIBalloonView extends _0x181ca5{[_0x226274(0x1af)];[_0x226274(0x196)];[_0x226274(0x19f)];[_0x226274(0x1a9)];constructor(_0x54905c,_0x55aff3){const _0x42e2d2=_0x226274;super(_0x54905c),this[_0x42e2d2(0x1b8)](_0x42e2d2(0x1a5),!0x1),this[_0x42e2d2(0x1af)]=new _0x130a21(),this[_0x42e2d2(0x196)]=new _0x507c32(),this[_0x42e2d2(0x1a9)]=this[_0x42e2d2(0x1a4)](),this[_0x42e2d2(0x19f)]=new _0x2a1bef({'focusables':this[_0x42e2d2(0x1a9)],'focusTracker':this[_0x42e2d2(0x1af)],'keystrokeHandler':this[_0x42e2d2(0x196)],'actions':{'focusPrevious':_0x42e2d2(0x1c9),'focusNext':_0x42e2d2(0x1b6)}}),this[_0x42e2d2(0x1a1)]=new _0xe690e5(),this[_0x42e2d2(0x1a3)](_0x55aff3[_0x42e2d2(0x1c4)]),this[_0x42e2d2(0x1b3)](),this[_0x42e2d2(0x1be)](_0x55aff3[_0x42e2d2(0x1c8)],_0x55aff3[_0x42e2d2(0x19e)]),this[_0x42e2d2(0x1ac)][_0x42e2d2(0x1b4)](_0x42e2d2(0x1a5))['to'](this),this[_0x42e2d2(0x1a9)][_0x42e2d2(0x1b0)](),this[_0x42e2d2(0x1a9)][_0x42e2d2(0x1b7)]([this[_0x42e2d2(0x1ac)]]),this[_0x42e2d2(0x1ca)]({'tag':_0x42e2d2(0x1ad),'attributes':{'class':_0x42e2d2(0x1ab)},'children':this[_0x42e2d2(0x1a1)]});}[_0x226274(0x1a7)](){const _0x1d7054=_0x226274;super[_0x1d7054(0x1a7)]();for(const _0xb942c9 of this[_0x1d7054(0x1a9)])this[_0x1d7054(0x1af)][_0x1d7054(0x199)](_0xb942c9[_0x1d7054(0x190)]);this[_0x1d7054(0x196)][_0x1d7054(0x1b1)](this[_0x1d7054(0x190)]);}[_0x226274(0x1aa)](_0x21af65){const _0x59d347=_0x226274;-0x1===_0x21af65?this[_0x59d347(0x19f)][_0x59d347(0x1b2)]():this[_0x59d347(0x19f)][_0x59d347(0x195)]();}[_0x226274(0x1a6)](){const _0x776100=_0x226274;this[_0x776100(0x1a5)]=!0x0;}[_0x226274(0x1c0)](){const _0x1ccf1c=_0x226274;this[_0x1ccf1c(0x1a5)]=!0x1;}[_0x226274(0x1ae)](_0x285c04){const _0x5c12cc=_0x226274,_0x43c487=this[_0x5c12cc(0x1c1)](),_0x209b49=this[_0x5c12cc(0x1ba)]();_0x285c04[_0x5c12cc(0x1cb)][_0x5c12cc(0x19a)][_0x5c12cc(0x1c3)][_0x5c12cc(0x199)](_0x43c487,0x2),_0x285c04[_0x5c12cc(0x1cb)][_0x5c12cc(0x19a)][_0x5c12cc(0x1c3)][_0x5c12cc(0x199)](_0x209b49,0x0),this[_0x5c12cc(0x1a9)][_0x5c12cc(0x1b7)]([_0x43c487,_0x209b49]),this[_0x5c12cc(0x1af)][_0x5c12cc(0x199)](_0x43c487[_0x5c12cc(0x190)]),this[_0x5c12cc(0x1af)][_0x5c12cc(0x199)](_0x209b49[_0x5c12cc(0x190)]);}[_0x226274(0x1a3)](_0x54edaa){const _0x1e3f68=_0x226274;this[_0x1e3f68(0x1c7)]=_0x54edaa,this[_0x1e3f68(0x1a1)][_0x1e3f68(0x199)](this[_0x1e3f68(0x1c7)]);}[_0x226274(0x1b3)](){const _0x142e87=_0x226274;this[_0x142e87(0x19c)]=new _0x2a9e95(this[_0x142e87(0x197)]),this[_0x142e87(0x1a1)][_0x142e87(0x199)](this[_0x142e87(0x19c)]);}[_0x226274(0x1be)](_0x1ab04e=!0x0,_0x2766bf=!0x0){const _0x4cf2fd=_0x226274;this[_0x4cf2fd(0x1ac)]=new _0x5b3fb9(this[_0x4cf2fd(0x197)],_0x1ab04e,_0x2766bf),this[_0x4cf2fd(0x1ac)][_0x4cf2fd(0x1b5)]?.['on'](_0x4cf2fd(0x1bc),()=>{const _0x178f94=_0x4cf2fd;this[_0x178f94(0x19b)](_0x178f94(0x1c5));}),this[_0x4cf2fd(0x1ac)][_0x4cf2fd(0x194)]?.['on'](_0x4cf2fd(0x1bc),()=>{const _0x35ff14=_0x4cf2fd;this[_0x35ff14(0x19b)](_0x35ff14(0x1c2));}),this[_0x4cf2fd(0x1a1)][_0x4cf2fd(0x199)](this[_0x4cf2fd(0x1ac)]);}[_0x226274(0x1c1)](){const _0x2c57b7=_0x226274,_0x4323e7=new _0x2e3c72(this[_0x2c57b7(0x197)]);return _0x4323e7[_0x2c57b7(0x1b8)]({'icon':_0x475d1e,'tooltip':_0x41f3c1(this[_0x2c57b7(0x197)],_0x2c57b7(0x1bf))}),_0x4323e7['on'](_0x2c57b7(0x1bc),()=>{const _0x1828ab=_0x2c57b7;this[_0x1828ab(0x19b)](_0x1828ab(0x1bd));}),_0x4323e7;}[_0x226274(0x1ba)](){const _0x42efac=_0x226274,_0x1c0335=new _0x2e3c72(this[_0x42efac(0x197)]);return _0x1c0335[_0x42efac(0x1b8)]({'icon':_0xa8f1e0,'tooltip':_0x41f3c1(this[_0x42efac(0x197)],_0x42efac(0x1c6))}),_0x1c0335['on'](_0x42efac(0x1bc),()=>{const _0x5b224b=_0x42efac;this[_0x5b224b(0x19b)](_0x5b224b(0x1a0));}),_0x1c0335;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ec6a=_0x34df;(function(_0x3a4a57,_0x1b3b56){const _0x39613=_0x34df,_0x5cc356=_0x3a4a57();while(!![]){try{const _0x326c95=parseInt(_0x39613(0xb1))/0x1*(-parseInt(_0x39613(0xa6))/0x2)+-parseInt(_0x39613(0xb2))/0x3*(parseInt(_0x39613(0x9e))/0x4)+-parseInt(_0x39613(0xaa))/0x5+-parseInt(_0x39613(0xa3))/0x6+-parseInt(_0x39613(0xa2))/0x7*(parseInt(_0x39613(0x9f))/0x8)+-parseInt(_0x39613(0xb6))/0x9+parseInt(_0x39613(0xa5))/0xa;if(_0x326c95===_0x1b3b56)break;else _0x5cc356['push'](_0x5cc356['shift']());}catch(_0x22f8fa){_0x5cc356['push'](_0x5cc356['shift']());}}}(_0x3542,0xafa3d));function _0x3542(){const _0x355cc6=['isOfficialPlugin','requires','6604506tlNkBM','pluginName','AIChat','964GTDHAl','5028760xTlmje','plugins','startConversation','7vgMWnS','3233274GyHFtL','addSelectionToChatContext','44664860xexTbN','48358noxspF','focusPromptInput','context','config','2521145GuwjIL','sendMessage','ai.chat.models','get','ai.chat.context','removeSelectionFromChatContext','define','29WAUNFL','7971oEVwpT','isPremiumPlugin'];_0x3542=function(){return _0x355cc6;};return _0x3542();}import{ContextPlugin as _0x158466}from'ckeditor5/src/core.js';import{AIChatController as _0x19065c}from'./aichatcontroller.js';import{AIEditing as _0x10f40c}from'../aicore/aiediting.js';function _0x34df(_0x2ef744,_0x439ec1){const _0x35421f=_0x3542();return _0x34df=function(_0x34dfb9,_0x5d09fd){_0x34dfb9=_0x34dfb9-0x9e;let _0x153af0=_0x35421f[_0x34dfb9];return _0x153af0;},_0x34df(_0x2ef744,_0x439ec1);}import{AIChatUI as _0x5e0f1b}from'./aichatui.js';import{AIChatHistory as _0x2445de}from'../aichathistory/aichathistory.js';export class AIChat extends _0x158466{static get[_0x50ec6a(0xb5)](){return[_0x19065c,_0x10f40c,_0x5e0f1b,_0x2445de];}static get[_0x50ec6a(0xb7)](){const _0x4cddc1=_0x50ec6a;return _0x4cddc1(0xb8);}static get[_0x50ec6a(0xb4)](){return!0x0;}static get[_0x50ec6a(0xb3)](){return!0x0;}constructor(_0x4d786b){const _0x5a3cdd=_0x50ec6a;super(_0x4d786b);const _0x575872=_0x4d786b[_0x5a3cdd(0xa9)];_0x575872[_0x5a3cdd(0xb0)](_0x5a3cdd(0xae),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x575872[_0x5a3cdd(0xb0)](_0x5a3cdd(0xac),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x50ec6a(0xa4)](){const _0x2b6ab3=_0x50ec6a;await this[_0x2b6ab3(0xa8)][_0x2b6ab3(0xa0)][_0x2b6ab3(0xad)](_0x19065c)[_0x2b6ab3(0xa4)]();}async[_0x50ec6a(0xa1)](){const _0x2ef827=_0x50ec6a;await this[_0x2ef827(0xa8)][_0x2ef827(0xa0)][_0x2ef827(0xad)](_0x19065c)[_0x2ef827(0xa1)]();}async[_0x50ec6a(0xab)]({message:_0x28c958,quickActionData:_0x308038}){const _0x2d06ce=_0x50ec6a;await this[_0x2d06ce(0xa8)][_0x2d06ce(0xa0)][_0x2d06ce(0xad)](_0x19065c)[_0x2d06ce(0xab)]({'message':_0x28c958,'quickActionData':_0x308038});}[_0x50ec6a(0xaf)](){const _0x18a977=_0x50ec6a;this[_0x18a977(0xa8)][_0x18a977(0xa0)][_0x18a977(0xad)](_0x19065c)[_0x18a977(0xaf)]();}[_0x50ec6a(0xa7)](){const _0x14cdca=_0x50ec6a;this[_0x14cdca(0xa8)][_0x14cdca(0xa0)][_0x14cdca(0xad)](_0x19065c)[_0x14cdca(0xa7)]();}}
23
+ const _0x469838=_0x2ea5;(function(_0x50f5c,_0x124148){const _0x1674be=_0x2ea5,_0x12b510=_0x50f5c();while(!![]){try{const _0x8e43ea=parseInt(_0x1674be(0x16c))/0x1*(parseInt(_0x1674be(0x171))/0x2)+parseInt(_0x1674be(0x164))/0x3*(-parseInt(_0x1674be(0x178))/0x4)+-parseInt(_0x1674be(0x177))/0x5*(-parseInt(_0x1674be(0x163))/0x6)+-parseInt(_0x1674be(0x16d))/0x7*(parseInt(_0x1674be(0x168))/0x8)+parseInt(_0x1674be(0x169))/0x9*(-parseInt(_0x1674be(0x165))/0xa)+-parseInt(_0x1674be(0x15e))/0xb+parseInt(_0x1674be(0x166))/0xc*(parseInt(_0x1674be(0x175))/0xd);if(_0x8e43ea===_0x124148)break;else _0x12b510['push'](_0x12b510['shift']());}catch(_0x59db7e){_0x12b510['push'](_0x12b510['shift']());}}}(_0x4c63,0x400a0));function _0x4c63(){const _0x43f268=['3840376hXamhk','972612kRmdRl','isOfficialPlugin','get','947NeIHrf','7jssKGs','sendMessage','addSelectionToChatContext','focusPromptInput','80uyxYPB','context','isPremiumPlugin','config','52PqbdBV','ai.chat.models','417035ZCSkTs','3908rgPjKi','AIChat','ai.chat.context','removeSelectionFromChatContext','4700883gAxOGh','startConversation','define','requires','pluginName','30YTyGaQ','381opnNZi','20dMAATS','3165012DqiMhW','plugins'];_0x4c63=function(){return _0x43f268;};return _0x4c63();}import{ContextPlugin as _0x2ed24f}from'ckeditor5/src/core.js';import{AIChatController as _0x49d994}from'./aichatcontroller.js';import{AIEditing as _0x28aad9}from'../aicore/aiediting.js';import{AIChatUI as _0x297c4a}from'./aichatui.js';import{AIChatHistory as _0x157634}from'../aichathistory/aichathistory.js';function _0x2ea5(_0x189642,_0x4d401b){const _0x4c63c5=_0x4c63();return _0x2ea5=function(_0x2ea53a,_0x3416eb){_0x2ea53a=_0x2ea53a-0x15c;let _0x407ab9=_0x4c63c5[_0x2ea53a];return _0x407ab9;},_0x2ea5(_0x189642,_0x4d401b);}export class AIChat extends _0x2ed24f{static get[_0x469838(0x161)](){return[_0x49d994,_0x28aad9,_0x297c4a,_0x157634];}static get[_0x469838(0x162)](){const _0x3db0e6=_0x469838;return _0x3db0e6(0x179);}static get[_0x469838(0x16a)](){return!0x0;}static get[_0x469838(0x173)](){return!0x0;}constructor(_0x2799c5){const _0xb54c25=_0x469838;super(_0x2799c5);const _0x7c99dd=_0x2799c5[_0xb54c25(0x174)];_0x7c99dd[_0xb54c25(0x160)](_0xb54c25(0x15c),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x7c99dd[_0xb54c25(0x160)](_0xb54c25(0x176),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x469838(0x16f)](){const _0xad2fad=_0x469838;await this[_0xad2fad(0x172)][_0xad2fad(0x167)][_0xad2fad(0x16b)](_0x49d994)[_0xad2fad(0x16f)]();}async[_0x469838(0x15f)](){const _0x33135a=_0x469838;await this[_0x33135a(0x172)][_0x33135a(0x167)][_0x33135a(0x16b)](_0x49d994)[_0x33135a(0x15f)]();}async[_0x469838(0x16e)]({message:_0x53ace2,quickActionData:_0x18da53}){const _0x2f1ace=_0x469838;await this[_0x2f1ace(0x172)][_0x2f1ace(0x167)][_0x2f1ace(0x16b)](_0x49d994)[_0x2f1ace(0x16e)]({'message':_0x53ace2,'quickActionData':_0x18da53});}[_0x469838(0x15d)](){const _0x2e2744=_0x469838;this[_0x2e2744(0x172)][_0x2e2744(0x167)][_0x2e2744(0x16b)](_0x49d994)[_0x2e2744(0x15d)]();}[_0x469838(0x170)](){const _0xa3f1d7=_0x469838;this[_0xa3f1d7(0x172)][_0xa3f1d7(0x167)][_0xa3f1d7(0x16b)](_0x49d994)[_0xa3f1d7(0x170)]();}}