@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) 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 +50 -37
  41. package/dist/index.css +68 -38
  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 +5 -0
  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/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35ed64=_0x4129;function _0x2b71(){const _0x148ebb=['submit','focusCycler','stopProcessing','items','submitPrompt','Empty\x20history','isVisible','execute','replaceButton','ck-ai-form-content','historyGroupView','6JxBLXH','mainAction','add','high','delegate','Ask\x20AI\x20to\x20improve\x20generated\x20text','trim','43868uVxrZT','1200gkSwPY','bindTo','bind','finishProcessing','_focusables','replaceContent','setTemplate','stopButton','handleError','isError','12cuOSls','div','shift\x20+\x20tab','876964XmQypZ','search','_createToolbar','promptView','render','locale','focusFirst','startProcessing','keystrokes','text','_createPromptView','queryView','tryAgainEvent','Ask\x20AI\x20to\x20edit\x20or\x20generate','listenTo','ck-hidden','set','createCollection','3127271ldyZUq','tryAgainButton','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','8hHXuHa','reset','contentArea','chain','_createHistoryView','element','fire','prompt','errorView','18303NieQMF','clearHistory','label','bindTemplate','value','fieldView','isEnabled','5388120UBDaZh','focusLast','insertContentBelow','clear','_promptHistory','focusTracker','REPLACE','tab','AI_ERROR_FAILED','focus','3061bcmUoz','insertButton','2248305SzBVhG','isProcessing','toolbar','copyButtonView','ck-ai-form'];_0x2b71=function(){return _0x148ebb;};return _0x2b71();}(function(_0x397ba4,_0x169fb7){const _0x383bcd=_0x4129,_0x3f6875=_0x397ba4();while(!![]){try{const _0x2b569c=parseInt(_0x383bcd(0x170))/0x1+parseInt(_0x383bcd(0x197))/0x2+-parseInt(_0x383bcd(0x1b5))/0x3*(-parseInt(_0x383bcd(0x194))/0x4)+parseInt(_0x383bcd(0x172))/0x5*(parseInt(_0x383bcd(0x182))/0x6)+parseInt(_0x383bcd(0x1a9))/0x7*(-parseInt(_0x383bcd(0x1ac))/0x8)+parseInt(_0x383bcd(0x166))/0x9+parseInt(_0x383bcd(0x18a))/0xa*(-parseInt(_0x383bcd(0x189))/0xb);if(_0x2b569c===_0x169fb7)break;else _0x3f6875['push'](_0x3f6875['shift']());}catch(_0x512f77){_0x3f6875['push'](_0x3f6875['shift']());}}}(_0x2b71,0x8e4da));import{FocusTracker as _0x4e9175,KeystrokeHandler as _0x3a0501}from'ckeditor5/src/utils.js';import{View as _0x9b6b88,FocusCycler as _0x10957d,createLabeledTextarea as _0x59159c}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x311fad,AIFormToolbarViewMainActionLabel as _0x3d2e06}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x4c2304}from'./aiformcontentarea.js';function _0x4129(_0x354945,_0x4265a1){const _0x2b71e4=_0x2b71();return _0x4129=function(_0x412938,_0x43ba17){_0x412938=_0x412938-0x165;let _0x3f0d67=_0x2b71e4[_0x412938];return _0x3f0d67;},_0x4129(_0x354945,_0x4265a1);}import{AIFormErrorView as _0xf33a7b}from'./aiformerrorview.js';import{AIFormPromptView as _0x2298dd}from'./aiformpromptview.js';import{AIHistoryListView as _0x40e3c8}from'./aihistorylistview.js';import{AIHistoryListItemView as _0xa00012}from'./aihistorylistitemview.js';import{PromptHistory as _0x39c993}from'./prompthistory.js';import{getTranslation as _0x3daa03}from'../../utils/common-translations.js';import{escape as _0x2b984d}from'es-toolkit/compat';export class AIFormView extends _0x9b6b88{[_0x35ed64(0x16b)];[_0x35ed64(0x19f)];[_0x35ed64(0x1ae)];[_0x35ed64(0x174)];[_0x35ed64(0x19a)];[_0x35ed64(0x1b4)];[_0x35ed64(0x18e)];[_0x35ed64(0x178)];[_0x35ed64(0x16a)];constructor(_0x47823a,_0x18c6e3,_0x21d5ad=''){const _0x18b256=_0x35ed64;super(_0x47823a),this[_0x18b256(0x1a7)](_0x18b256(0x165),!0x0),this[_0x18b256(0x1a7)](_0x18b256(0x173),!0x1),this[_0x18b256(0x1a7)](_0x18b256(0x1b3),''),this[_0x18b256(0x1a7)](_0x18b256(0x1b9),''),this[_0x18b256(0x1a7)](_0x18b256(0x193),!0x1),this[_0x18b256(0x1a7)](_0x18b256(0x183),_0x3d2e06[_0x18b256(0x16c)]),this[_0x18b256(0x16a)]=new _0x39c993(),this[_0x18b256(0x1b4)]=new _0xf33a7b(_0x47823a),this[_0x18b256(0x1ae)]=new _0x4c2304(_0x47823a,_0x21d5ad),this[_0x18b256(0x1ae)][_0x18b256(0x18c)](_0x18b256(0x173))['to'](this),this[_0x18b256(0x1ae)][_0x18b256(0x18c)](_0x18b256(0x1b9))['to'](this),this[_0x18b256(0x174)]=this[_0x18b256(0x199)](),this[_0x18b256(0x174)][_0x18b256(0x18c)](_0x18b256(0x183))['to'](this),this[_0x18b256(0x19a)]=this[_0x18b256(0x1a1)](),this[_0x18b256(0x16b)]=new _0x4e9175(),this[_0x18b256(0x19f)]=new _0x3a0501(),this[_0x18b256(0x18e)]=this[_0x18b256(0x1a8)]([this[_0x18b256(0x1ae)],this[_0x18b256(0x1ae)][_0x18b256(0x175)],this[_0x18b256(0x174)],this[_0x18b256(0x19a)]]),this[_0x18b256(0x178)]=new _0x10957d({'focusables':this[_0x18b256(0x18e)],'focusTracker':this[_0x18b256(0x16b)],'keystrokeHandler':this[_0x18b256(0x19f)],'actions':{'focusPrevious':_0x18b256(0x196),'focusNext':_0x18b256(0x16d)}}),this[_0x18b256(0x178)][_0x18b256(0x1af)](this[_0x18b256(0x19a)][_0x18b256(0x178)]),this[_0x18b256(0x19a)][_0x18b256(0x1a2)][_0x18b256(0x1ba)][_0x18b256(0x18c)](_0x18b256(0x1b9))['to'](this,_0x18b256(0x1b3));const _0xcf92b0=this[_0x18b256(0x1b8)];this[_0x18b256(0x190)]({'tag':_0x18b256(0x195),'attributes':{'class':['ck',_0x18b256(0x176),_0x18c6e3],'tabindex':'-1'},'children':[{'tag':_0x18b256(0x195),'attributes':{'class':['ck',_0x18b256(0x180)]},'children':[{'tag':_0x18b256(0x195),'attributes':{'class':[_0xcf92b0['if'](_0x18b256(0x193),_0x18b256(0x1a6),_0x33e5bb=>!_0x33e5bb)]},'children':[this[_0x18b256(0x1b4)]]},this[_0x18b256(0x1ae)],this[_0x18b256(0x174)],this[_0x18b256(0x19a)]]}]});}[_0x35ed64(0x19b)](){const _0x1e6579=_0x35ed64;super[_0x1e6579(0x19b)](),this[_0x1e6579(0x16b)][_0x1e6579(0x184)](this[_0x1e6579(0x1ae)][_0x1e6579(0x1b1)]),this[_0x1e6579(0x16b)][_0x1e6579(0x184)](this[_0x1e6579(0x1ae)][_0x1e6579(0x175)][_0x1e6579(0x1b1)]),this[_0x1e6579(0x16b)][_0x1e6579(0x184)](this[_0x1e6579(0x174)][_0x1e6579(0x1b1)]),this[_0x1e6579(0x16b)][_0x1e6579(0x184)](this[_0x1e6579(0x19a)][_0x1e6579(0x1b1)]),this[_0x1e6579(0x19f)][_0x1e6579(0x1a5)](this[_0x1e6579(0x1b1)]);}[_0x35ed64(0x16f)](_0x525638=0x1){const _0x4c1db8=_0x35ed64;-0x1===_0x525638?this[_0x4c1db8(0x178)][_0x4c1db8(0x167)]():this[_0x4c1db8(0x178)][_0x4c1db8(0x19d)]();}[_0x35ed64(0x1ad)](){const _0x386bb5=_0x35ed64;this[_0x386bb5(0x1b3)]='',this[_0x386bb5(0x1b9)]='',this[_0x386bb5(0x193)]=!0x1,this[_0x386bb5(0x19a)][_0x386bb5(0x1ad)](),this[_0x386bb5(0x1ae)][_0x386bb5(0x17d)]=!0x1,this[_0x386bb5(0x174)][_0x386bb5(0x17d)]=!0x1;}[_0x35ed64(0x1a1)](){const _0x335a1b=_0x35ed64,_0x347348=this[_0x335a1b(0x19c)],_0x2bb8dc=new _0x2298dd(_0x347348,{'queryView':{'label':_0x3daa03(_0x347348,_0x335a1b(0x1a4)),'creator':_0x59159c,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3daa03(_0x347348,_0x335a1b(0x17c)),'secondary':_0x3daa03(_0x347348,_0x335a1b(0x1ab))}}},'filteredView':this[_0x335a1b(0x1b0)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2bb8dc[_0x335a1b(0x18c)](_0x335a1b(0x165))['to'](this,_0x335a1b(0x165),this,_0x335a1b(0x173),(_0x19a720,_0x223eed)=>_0x19a720&&!_0x223eed),this[_0x335a1b(0x1a5)](_0x2bb8dc,_0x335a1b(0x177),(_0x2b53e9,_0x171b31)=>{const _0x248436=_0x335a1b;this[_0x248436(0x1b3)]=_0x171b31;const _0x34ffe5=_0x2b984d(_0x171b31);this[_0x248436(0x1b2)](_0x248436(0x17b),_0x34ffe5),_0x171b31[_0x248436(0x188)]()&&this[_0x248436(0x16a)][_0x248436(0x184)]({'prompt':_0x34ffe5},0x0);},{'priority':_0x335a1b(0x185)}),_0x2bb8dc;}[_0x35ed64(0x1b0)](){const _0x268289=_0x35ed64,_0x36187f=new _0x40e3c8(this[_0x268289(0x19c)]);return _0x36187f[_0x268289(0x181)][_0x268289(0x17a)][_0x268289(0x18b)](this[_0x268289(0x16a)])['as'](_0xa00012),_0x36187f['on'](_0x268289(0x1b6),()=>{const _0x116f6b=_0x268289;this[_0x116f6b(0x16a)][_0x116f6b(0x169)](),this[_0x116f6b(0x19a)][_0x116f6b(0x198)](''),this[_0x116f6b(0x19a)][_0x116f6b(0x16f)]();}),_0x36187f;}[_0x35ed64(0x199)](){const _0x33dc8c=_0x35ed64,_0x36c04a=new _0x311fad(this[_0x33dc8c(0x19c)]);return _0x36c04a[_0x33dc8c(0x17f)][_0x33dc8c(0x18c)](_0x33dc8c(0x165))['to'](this,_0x33dc8c(0x165),this,_0x33dc8c(0x173),this,_0x33dc8c(0x1b9),(_0x131bf1,_0x3b6657,_0x3cc459)=>_0x131bf1&&!_0x3b6657&&!!_0x3cc459),_0x36c04a[_0x33dc8c(0x17f)][_0x33dc8c(0x186)](_0x33dc8c(0x17e))['to'](this,_0x33dc8c(0x18f)),_0x36c04a[_0x33dc8c(0x171)][_0x33dc8c(0x18c)](_0x33dc8c(0x165))['to'](this,_0x33dc8c(0x165),this,_0x33dc8c(0x173),this,_0x33dc8c(0x1b9),(_0x17c64a,_0x377ce8,_0x1d06a7)=>_0x17c64a&&!_0x377ce8&&!!_0x1d06a7),_0x36c04a[_0x33dc8c(0x171)][_0x33dc8c(0x186)](_0x33dc8c(0x17e))['to'](this,_0x33dc8c(0x168)),_0x36c04a[_0x33dc8c(0x1aa)][_0x33dc8c(0x18c)](_0x33dc8c(0x165))['to'](this,_0x33dc8c(0x165),this,_0x33dc8c(0x173),(_0x53c561,_0x1d6d7a)=>_0x53c561&&!_0x1d6d7a),_0x36c04a[_0x33dc8c(0x1aa)][_0x33dc8c(0x186)](_0x33dc8c(0x17e))['to'](this,_0x33dc8c(0x1a3)),_0x36c04a[_0x33dc8c(0x191)][_0x33dc8c(0x18c)](_0x33dc8c(0x165))['to'](this,_0x33dc8c(0x173)),_0x36c04a[_0x33dc8c(0x191)][_0x33dc8c(0x186)](_0x33dc8c(0x17e))['to'](this,_0x33dc8c(0x179)),_0x36c04a;}[_0x35ed64(0x19e)](){const _0xdbf438=_0x35ed64;this[_0xdbf438(0x1b9)]='',this[_0xdbf438(0x193)]=!0x1,this[_0xdbf438(0x173)]=!0x0,this[_0xdbf438(0x1ae)][_0xdbf438(0x17d)]=!0x0,this[_0xdbf438(0x174)][_0xdbf438(0x17d)]=!0x0,this[_0xdbf438(0x1ae)][_0xdbf438(0x16f)]();}[_0x35ed64(0x18d)](){const _0x3d8ef0=_0x35ed64,_0x2d907f=this[_0x3d8ef0(0x19c)];this[_0x3d8ef0(0x173)]=!0x1,this[_0x3d8ef0(0x1b3)]='',this[_0x3d8ef0(0x19a)][_0x3d8ef0(0x1ad)](),this[_0x3d8ef0(0x1b9)]&&(this[_0x3d8ef0(0x19a)][_0x3d8ef0(0x1a2)][_0x3d8ef0(0x1b7)]=_0x3daa03(_0x2d907f,_0x3d8ef0(0x187)));}[_0x35ed64(0x192)](_0x33739b){const _0x3e99af=_0x35ed64,_0x3465fe=this[_0x3e99af(0x19c)];this[_0x3e99af(0x18d)](),this[_0x3e99af(0x193)]=!0x0,this[_0x3e99af(0x1b4)][_0x3e99af(0x1a0)]=_0x33739b||_0x3daa03(_0x3465fe,_0x3e99af(0x16e)),this[_0x3e99af(0x1b9)]||(this[_0x3e99af(0x1ae)][_0x3e99af(0x17d)]=!0x1);}}
23
+ const _0x64320b=_0x303f;(function(_0xa84e9b,_0x4505a6){const _0xd0a61a=_0x303f,_0x4c0a53=_0xa84e9b();while(!![]){try{const _0x1db341=-parseInt(_0xd0a61a(0x1a2))/0x1*(-parseInt(_0xd0a61a(0x197))/0x2)+parseInt(_0xd0a61a(0x192))/0x3*(-parseInt(_0xd0a61a(0x1a5))/0x4)+-parseInt(_0xd0a61a(0x1c1))/0x5+parseInt(_0xd0a61a(0x1a7))/0x6*(parseInt(_0xd0a61a(0x184))/0x7)+-parseInt(_0xd0a61a(0x1b0))/0x8*(parseInt(_0xd0a61a(0x17f))/0x9)+parseInt(_0xd0a61a(0x17a))/0xa+parseInt(_0xd0a61a(0x1b4))/0xb*(parseInt(_0xd0a61a(0x1bb))/0xc);if(_0x1db341===_0x4505a6)break;else _0x4c0a53['push'](_0x4c0a53['shift']());}catch(_0x3a33f3){_0x4c0a53['push'](_0x4c0a53['shift']());}}}(_0x4464,0xdddbd));import{FocusTracker as _0x5bcd1f,KeystrokeHandler as _0x1a7118}from'ckeditor5/src/utils.js';import{View as _0x828c46,FocusCycler as _0x4d2644,createLabeledTextarea as _0x3d2284}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xe1558e,AIFormToolbarViewMainActionLabel as _0x549cba}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x56c0d5}from'./aiformcontentarea.js';import{AIFormErrorView as _0x455500}from'./aiformerrorview.js';import{AIFormPromptView as _0xc6a9b2}from'./aiformpromptview.js';import{AIHistoryListView as _0x342a98}from'./aihistorylistview.js';function _0x303f(_0x27b574,_0x5071a7){const _0x446414=_0x4464();return _0x303f=function(_0x303fef,_0x1de6a1){_0x303fef=_0x303fef-0x16b;let _0x41993f=_0x446414[_0x303fef];return _0x41993f;},_0x303f(_0x27b574,_0x5071a7);}import{AIHistoryListItemView as _0x112e09}from'./aihistorylistitemview.js';function _0x4464(){const _0x3d757a=['contentArea','element','fieldView','chain','text','set','value','56524xTrruz','_createHistoryView','tab','12CjGgyr','submitPrompt','3354rDSNYx','insertContentBelow','handleError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_focusables','finishProcessing','AI_ERROR_FAILED','search','setTemplate','368EDEmRH','isError','errorView','clear','143xBGVLS','replaceButton','historyGroupView','label','render','listenTo','tryAgainButton','2113188eQwCGR','focusCycler','div','_createToolbar','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTo','1314540mCSlli','ck-hidden','prompt','Empty\x20history','promptView','startProcessing','stopProcessing','focusFirst','focus','_promptHistory','isProcessing','REPLACE','submit','isEnabled','queryView','add','1858680cTvyFA','tryAgainEvent','locale','replaceContent','items','183672kFqrEO','createCollection','ck-ai-form','delegate','toolbar','2345isQsjA','Ask\x20AI\x20to\x20edit\x20or\x20generate','shift\x20+\x20tab','keystrokes','insertButton','fire','clearHistory','trim','execute','isVisible','bind','_createPromptView','focusTracker','stopButton','1117251OnSkZb','focusLast','bindTemplate','high','ck-ai-form-content','20EcOyuZ','reset','mainAction','copyButtonView'];_0x4464=function(){return _0x3d757a;};return _0x4464();}import{PromptHistory as _0x3f783a}from'./prompthistory.js';import{getTranslation as _0x1797ed}from'../../utils/common-translations.js';import{escape as _0x3c5e1a}from'es-toolkit/compat';export class AIFormView extends _0x828c46{[_0x64320b(0x190)];[_0x64320b(0x187)];[_0x64320b(0x19b)];[_0x64320b(0x183)];[_0x64320b(0x16e)];[_0x64320b(0x1b2)];[_0x64320b(0x1ab)];[_0x64320b(0x1bc)];[_0x64320b(0x173)];constructor(_0x164020,_0xd272b9,_0x33c166=''){const _0x173ecf=_0x64320b;super(_0x164020),this[_0x173ecf(0x1a0)](_0x173ecf(0x177),!0x0),this[_0x173ecf(0x1a0)](_0x173ecf(0x174),!0x1),this[_0x173ecf(0x1a0)](_0x173ecf(0x16c),''),this[_0x173ecf(0x1a0)](_0x173ecf(0x1a1),''),this[_0x173ecf(0x1a0)](_0x173ecf(0x1b1),!0x1),this[_0x173ecf(0x1a0)](_0x173ecf(0x199),_0x549cba[_0x173ecf(0x175)]),this[_0x173ecf(0x173)]=new _0x3f783a(),this[_0x173ecf(0x1b2)]=new _0x455500(_0x164020),this[_0x173ecf(0x19b)]=new _0x56c0d5(_0x164020,_0x33c166),this[_0x173ecf(0x19b)][_0x173ecf(0x18e)](_0x173ecf(0x174))['to'](this),this[_0x173ecf(0x19b)][_0x173ecf(0x18e)](_0x173ecf(0x1a1))['to'](this),this[_0x173ecf(0x183)]=this[_0x173ecf(0x1be)](),this[_0x173ecf(0x183)][_0x173ecf(0x18e)](_0x173ecf(0x199))['to'](this),this[_0x173ecf(0x16e)]=this[_0x173ecf(0x18f)](),this[_0x173ecf(0x190)]=new _0x5bcd1f(),this[_0x173ecf(0x187)]=new _0x1a7118(),this[_0x173ecf(0x1ab)]=this[_0x173ecf(0x180)]([this[_0x173ecf(0x19b)],this[_0x173ecf(0x19b)][_0x173ecf(0x19a)],this[_0x173ecf(0x183)],this[_0x173ecf(0x16e)]]),this[_0x173ecf(0x1bc)]=new _0x4d2644({'focusables':this[_0x173ecf(0x1ab)],'focusTracker':this[_0x173ecf(0x190)],'keystrokeHandler':this[_0x173ecf(0x187)],'actions':{'focusPrevious':_0x173ecf(0x186),'focusNext':_0x173ecf(0x1a4)}}),this[_0x173ecf(0x1bc)][_0x173ecf(0x19e)](this[_0x173ecf(0x16e)][_0x173ecf(0x1bc)]),this[_0x173ecf(0x16e)][_0x173ecf(0x178)][_0x173ecf(0x19d)][_0x173ecf(0x18e)](_0x173ecf(0x1a1))['to'](this,_0x173ecf(0x16c));const _0x169bdc=this[_0x173ecf(0x194)];this[_0x173ecf(0x1af)]({'tag':_0x173ecf(0x1bd),'attributes':{'class':['ck',_0x173ecf(0x181),_0xd272b9],'tabindex':'-1'},'children':[{'tag':_0x173ecf(0x1bd),'attributes':{'class':['ck',_0x173ecf(0x196)]},'children':[{'tag':_0x173ecf(0x1bd),'attributes':{'class':[_0x169bdc['if'](_0x173ecf(0x1b1),_0x173ecf(0x16b),_0x1d2a79=>!_0x1d2a79)]},'children':[this[_0x173ecf(0x1b2)]]},this[_0x173ecf(0x19b)],this[_0x173ecf(0x183)],this[_0x173ecf(0x16e)]]}]});}[_0x64320b(0x1b8)](){const _0x40cc6b=_0x64320b;super[_0x40cc6b(0x1b8)](),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x19b)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x19b)][_0x40cc6b(0x19a)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x183)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x190)][_0x40cc6b(0x179)](this[_0x40cc6b(0x16e)][_0x40cc6b(0x19c)]),this[_0x40cc6b(0x187)][_0x40cc6b(0x1b9)](this[_0x40cc6b(0x19c)]);}[_0x64320b(0x172)](_0x166d64=0x1){const _0x385ae7=_0x64320b;-0x1===_0x166d64?this[_0x385ae7(0x1bc)][_0x385ae7(0x193)]():this[_0x385ae7(0x1bc)][_0x385ae7(0x171)]();}[_0x64320b(0x198)](){const _0x9d74f=_0x64320b;this[_0x9d74f(0x16c)]='',this[_0x9d74f(0x1a1)]='',this[_0x9d74f(0x1b1)]=!0x1,this[_0x9d74f(0x16e)][_0x9d74f(0x198)](),this[_0x9d74f(0x19b)][_0x9d74f(0x18d)]=!0x1,this[_0x9d74f(0x183)][_0x9d74f(0x18d)]=!0x1;}[_0x64320b(0x18f)](){const _0x509a46=_0x64320b,_0x5c5570=this[_0x509a46(0x17c)],_0x4afd12=new _0xc6a9b2(_0x5c5570,{'queryView':{'label':_0x1797ed(_0x5c5570,_0x509a46(0x185)),'creator':_0x3d2284,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1797ed(_0x5c5570,_0x509a46(0x16d)),'secondary':_0x1797ed(_0x5c5570,_0x509a46(0x1aa))}}},'filteredView':this[_0x509a46(0x1a3)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4afd12[_0x509a46(0x18e)](_0x509a46(0x177))['to'](this,_0x509a46(0x177),this,_0x509a46(0x174),(_0x436f15,_0x5700e8)=>_0x436f15&&!_0x5700e8),this[_0x509a46(0x1b9)](_0x4afd12,_0x509a46(0x176),(_0x1111d6,_0x3c80d0)=>{const _0x5d47bf=_0x509a46;this[_0x5d47bf(0x16c)]=_0x3c80d0;const _0x513e4d=_0x3c5e1a(_0x3c80d0);this[_0x5d47bf(0x189)](_0x5d47bf(0x1a6),_0x513e4d),_0x3c80d0[_0x5d47bf(0x18b)]()&&this[_0x5d47bf(0x173)][_0x5d47bf(0x179)]({'prompt':_0x513e4d},0x0);},{'priority':_0x509a46(0x195)}),_0x4afd12;}[_0x64320b(0x1a3)](){const _0x3322a5=_0x64320b,_0x88bc34=new _0x342a98(this[_0x3322a5(0x17c)]);return _0x88bc34[_0x3322a5(0x1b6)][_0x3322a5(0x17e)][_0x3322a5(0x1c0)](this[_0x3322a5(0x173)])['as'](_0x112e09),_0x88bc34['on'](_0x3322a5(0x18a),()=>{const _0x35ffac=_0x3322a5;this[_0x35ffac(0x173)][_0x35ffac(0x1b3)](),this[_0x35ffac(0x16e)][_0x35ffac(0x1ae)](''),this[_0x35ffac(0x16e)][_0x35ffac(0x172)]();}),_0x88bc34;}[_0x64320b(0x1be)](){const _0x53ecaa=_0x64320b,_0x2d2532=new _0xe1558e(this[_0x53ecaa(0x17c)]);return _0x2d2532[_0x53ecaa(0x1b5)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),this,_0x53ecaa(0x1a1),(_0x121e81,_0x33ca22,_0x208f26)=>_0x121e81&&!_0x33ca22&&!!_0x208f26),_0x2d2532[_0x53ecaa(0x1b5)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x17d)),_0x2d2532[_0x53ecaa(0x188)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),this,_0x53ecaa(0x1a1),(_0x345780,_0x47fc0c,_0x577be8)=>_0x345780&&!_0x47fc0c&&!!_0x577be8),_0x2d2532[_0x53ecaa(0x188)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x1a8)),_0x2d2532[_0x53ecaa(0x1ba)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x177),this,_0x53ecaa(0x174),(_0x52bfe1,_0x320e46)=>_0x52bfe1&&!_0x320e46),_0x2d2532[_0x53ecaa(0x1ba)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x17b)),_0x2d2532[_0x53ecaa(0x191)][_0x53ecaa(0x18e)](_0x53ecaa(0x177))['to'](this,_0x53ecaa(0x174)),_0x2d2532[_0x53ecaa(0x191)][_0x53ecaa(0x182)](_0x53ecaa(0x18c))['to'](this,_0x53ecaa(0x170)),_0x2d2532;}[_0x64320b(0x16f)](){const _0xc65e52=_0x64320b;this[_0xc65e52(0x1a1)]='',this[_0xc65e52(0x1b1)]=!0x1,this[_0xc65e52(0x174)]=!0x0,this[_0xc65e52(0x19b)][_0xc65e52(0x18d)]=!0x0,this[_0xc65e52(0x183)][_0xc65e52(0x18d)]=!0x0,this[_0xc65e52(0x19b)][_0xc65e52(0x172)]();}[_0x64320b(0x1ac)](){const _0x363ecf=_0x64320b,_0x200877=this[_0x363ecf(0x17c)];this[_0x363ecf(0x174)]=!0x1,this[_0x363ecf(0x16c)]='',this[_0x363ecf(0x16e)][_0x363ecf(0x198)](),this[_0x363ecf(0x1a1)]&&(this[_0x363ecf(0x16e)][_0x363ecf(0x178)][_0x363ecf(0x1b7)]=_0x1797ed(_0x200877,_0x363ecf(0x1bf)));}[_0x64320b(0x1a9)](_0x515a5a){const _0x77b7ae=_0x64320b,_0x33abd0=this[_0x77b7ae(0x17c)];this[_0x77b7ae(0x1ac)](),this[_0x77b7ae(0x1b1)]=!0x0,this[_0x77b7ae(0x1b2)][_0x77b7ae(0x19f)]=_0x515a5a||_0x1797ed(_0x33abd0,_0x77b7ae(0x1ad)),this[_0x77b7ae(0x1a1)]||(this[_0x77b7ae(0x19b)][_0x77b7ae(0x18d)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2748e7,_0x5ba1c2){const _0x50224a=_0x1dc8,_0x4f791c=_0x2748e7();while(!![]){try{const _0x4b373d=-parseInt(_0x50224a(0x16e))/0x1*(-parseInt(_0x50224a(0x162))/0x2)+-parseInt(_0x50224a(0x166))/0x3*(-parseInt(_0x50224a(0x16b))/0x4)+-parseInt(_0x50224a(0x16f))/0x5+-parseInt(_0x50224a(0x160))/0x6+-parseInt(_0x50224a(0x16a))/0x7*(parseInt(_0x50224a(0x168))/0x8)+parseInt(_0x50224a(0x170))/0x9+-parseInt(_0x50224a(0x165))/0xa*(-parseInt(_0x50224a(0x169))/0xb);if(_0x4b373d===_0x5ba1c2)break;else _0x4f791c['push'](_0x4f791c['shift']());}catch(_0x34f25b){_0x4f791c['push'](_0x4f791c['shift']());}}}(_0x4705,0x8a1e3));function _0x1dc8(_0x5904ba,_0x181b2d){const _0x47052e=_0x4705();return _0x1dc8=function(_0x1dc829,_0x38dba6){_0x1dc829=_0x1dc829-0x160;let _0x518cdd=_0x47052e[_0x1dc829];return _0x518cdd;},_0x1dc8(_0x5904ba,_0x181b2d);}import{ListItemView as _0x103fe2,ButtonView as _0x2bbe46,ButtonLabelView as _0x2960f0}from'ckeditor5/src/ui.js';import{unescape as _0x2ce991}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x103fe2{constructor(_0x2188ab){const _0x1e644a=_0x1dc8;super();const _0x1928b2=new _0x2960f0(),_0x562076=new _0x2bbe46(this[_0x1e644a(0x171)],_0x1928b2);this[_0x1e644a(0x16d)][_0x1e644a(0x161)](_0x562076),_0x562076[_0x1e644a(0x16c)]({'label':_0x2188ab[_0x1e644a(0x163)],'withText':!0x0}),_0x562076['on'](_0x1e644a(0x164),()=>{const _0xd95c2b=_0x1e644a;this[_0xd95c2b(0x167)](_0xd95c2b(0x164),{'value':_0x2ce991(_0x2188ab[_0xd95c2b(0x163)])});});}}function _0x4705(){const _0x3ba65e=['7113402egojSn','locale','165042ESbMYL','add','46NylFfP','prompt','execute','44930BYqdbT','982023xEFgXR','fire','8AmfhsG','891UhvwnT','7804790nqAHxo','12ADQCFd','set','children','13028hxrDXe','3638850uwIiUl'];_0x4705=function(){return _0x3ba65e;};return _0x4705();}
23
+ (function(_0x2168f9,_0x352580){const _0x4ee450=_0x4736,_0xd5f19e=_0x2168f9();while(!![]){try{const _0x15bc90=-parseInt(_0x4ee450(0xaf))/0x1*(parseInt(_0x4ee450(0xb9))/0x2)+-parseInt(_0x4ee450(0xb4))/0x3*(-parseInt(_0x4ee450(0xb3))/0x4)+-parseInt(_0x4ee450(0xb6))/0x5*(-parseInt(_0x4ee450(0xab))/0x6)+parseInt(_0x4ee450(0xb8))/0x7+-parseInt(_0x4ee450(0xb2))/0x8*(-parseInt(_0x4ee450(0xaa))/0x9)+parseInt(_0x4ee450(0xad))/0xa+parseInt(_0x4ee450(0xb0))/0xb*(-parseInt(_0x4ee450(0xa9))/0xc);if(_0x15bc90===_0x352580)break;else _0xd5f19e['push'](_0xd5f19e['shift']());}catch(_0x352d13){_0xd5f19e['push'](_0xd5f19e['shift']());}}}(_0xb1b5,0xbbd44));function _0x4736(_0x3a47d1,_0x4596a9){const _0xb1b545=_0xb1b5();return _0x4736=function(_0x47363b,_0x193a71){_0x47363b=_0x47363b-0xa9;let _0x19624f=_0xb1b545[_0x47363b];return _0x19624f;},_0x4736(_0x3a47d1,_0x4596a9);}import{ListItemView as _0x4ea2cf,ButtonView as _0x59ad31,ButtonLabelView as _0x2b0250}from'ckeditor5/src/ui.js';function _0xb1b5(){const _0xdd6990=['66vHkBod','prompt','29528cLCeYh','4gZwBUq','3333573qrXHEO','children','2829895RkGTFs','execute','3430175kkTsyf','125052BNAhWP','fire','locale','2031324cQrDIw','36PbpygG','6UEuTlb','add','7910450ubslRb','set','19DxtmhV'];_0xb1b5=function(){return _0xdd6990;};return _0xb1b5();}import{unescape as _0x34840d}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x4ea2cf{constructor(_0x442b58){const _0x4a6681=_0x4736;super();const _0x4205bb=new _0x2b0250(),_0x3669fa=new _0x59ad31(this[_0x4a6681(0xbb)],_0x4205bb);this[_0x4a6681(0xb5)][_0x4a6681(0xac)](_0x3669fa),_0x3669fa[_0x4a6681(0xae)]({'label':_0x442b58[_0x4a6681(0xb1)],'withText':!0x0}),_0x3669fa['on'](_0x4a6681(0xb7),()=>{const _0x125b7d=_0x4a6681;this[_0x125b7d(0xba)](_0x125b7d(0xb7),{'value':_0x34840d(_0x442b58[_0x125b7d(0xb1)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bd2d7=_0x2661;(function(_0xc7e428,_0x457d4f){const _0x3ab68d=_0x2661,_0x64a653=_0xc7e428();while(!![]){try{const _0x5e5195=parseInt(_0x3ab68d(0xeb))/0x1*(-parseInt(_0x3ab68d(0xe3))/0x2)+parseInt(_0x3ab68d(0xea))/0x3*(parseInt(_0x3ab68d(0xe5))/0x4)+parseInt(_0x3ab68d(0xe4))/0x5+parseInt(_0x3ab68d(0xda))/0x6+parseInt(_0x3ab68d(0xdb))/0x7+-parseInt(_0x3ab68d(0xe8))/0x8+parseInt(_0x3ab68d(0xee))/0x9*(parseInt(_0x3ab68d(0xde))/0xa);if(_0x5e5195===_0x457d4f)break;else _0x64a653['push'](_0x64a653['shift']());}catch(_0x38b1a7){_0x64a653['push'](_0x64a653['shift']());}}}(_0x2532,0xb388a));import{ListView as _0x5c6437,ListItemGroupView as _0x5abe38,ButtonView as _0x1c5a4c}from'ckeditor5/src/ui.js';function _0x2661(_0x41ab5a,_0x847562){const _0x25327a=_0x2532();return _0x2661=function(_0x266124,_0x147157){_0x266124=_0x266124-0xd7;let _0x511adb=_0x25327a[_0x266124];return _0x511adb;},_0x2661(_0x41ab5a,_0x847562);}import{getTranslation as _0xda564c}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x5c6437{[_0x1bd2d7(0xdd)];[_0x1bd2d7(0xd9)];constructor(_0x71db64){const _0x14dee8=_0x1bd2d7;super(_0x71db64),this[_0x14dee8(0xd9)]=this[_0x14dee8(0xdf)](),this[_0x14dee8(0xdd)]=new _0x5abe38(),this[_0x14dee8(0xdd)][_0x14dee8(0xef)][_0x14dee8(0xd8)](this[_0x14dee8(0xd9)],0x1),this[_0x14dee8(0xdd)][_0x14dee8(0xe0)]=_0xda564c(_0x71db64,_0x14dee8(0xf0)),this[_0x14dee8(0xdd)][_0x14dee8(0xdc)][_0x14dee8(0xe1)](_0x14dee8(0xed))['to'](this),this[_0x14dee8(0xdc)][_0x14dee8(0xd8)](this[_0x14dee8(0xdd)]);}[_0x1bd2d7(0xec)](){const _0x20f4b9=_0x1bd2d7;let _0x23e3df=0x0;for(const _0x331c38 of this[_0x20f4b9(0xdc)])_0x23e3df+=_0x331c38[_0x20f4b9(0xdc)][_0x20f4b9(0xd7)];return{'resultsCount':_0x23e3df,'totalItemsCount':_0x23e3df};}[_0x1bd2d7(0xdf)](){const _0x2c9a1c=_0x1bd2d7,_0x1180ba=this[_0x2c9a1c(0xe7)],_0x6eef50=new _0x1c5a4c(this[_0x2c9a1c(0xe7)]);return _0x6eef50[_0x2c9a1c(0xe9)]({'label':'('+_0xda564c(_0x1180ba,_0x2c9a1c(0xe6))+')','withText':!0x0}),_0x6eef50['on'](_0x2c9a1c(0xed),()=>this[_0x2c9a1c(0xf1)](_0x2c9a1c(0xe2))),_0x6eef50;}}function _0x2532(){const _0x41161b=['filter','execute','51444eUJidI','children','Prompt\x20history','fire','length','add','clearHistoryButton','5840826MznZPu','1236494kkAHmd','items','historyGroupView','1010jBIAfA','_createClearHistoryButton','label','delegate','clearHistory','2CrUtkS','770390sEHvnQ','759568kbNtuc','Clear','locale','11219784lWFjuR','set','9SwVIrN','313340QoXJWF'];_0x2532=function(){return _0x41161b;};return _0x2532();}
23
+ const _0x5e63a1=_0x53b5;function _0x53b5(_0x444eae,_0x2f1fdd){const _0x2fc2cf=_0x2fc2();return _0x53b5=function(_0x53b5ba,_0xb907de){_0x53b5ba=_0x53b5ba-0x17e;let _0x452f45=_0x2fc2cf[_0x53b5ba];return _0x452f45;},_0x53b5(_0x444eae,_0x2f1fdd);}(function(_0x49a552,_0x317c83){const _0x3eb02e=_0x53b5,_0x57db8d=_0x49a552();while(!![]){try{const _0x15c582=-parseInt(_0x3eb02e(0x189))/0x1+parseInt(_0x3eb02e(0x193))/0x2*(-parseInt(_0x3eb02e(0x191))/0x3)+parseInt(_0x3eb02e(0x184))/0x4+-parseInt(_0x3eb02e(0x18d))/0x5+-parseInt(_0x3eb02e(0x18e))/0x6+-parseInt(_0x3eb02e(0x185))/0x7+parseInt(_0x3eb02e(0x17f))/0x8;if(_0x15c582===_0x317c83)break;else _0x57db8d['push'](_0x57db8d['shift']());}catch(_0x260854){_0x57db8d['push'](_0x57db8d['shift']());}}}(_0x2fc2,0x9c76c));import{ListView as _0x13aee9,ListItemGroupView as _0x1b48df,ButtonView as _0x10dec4}from'ckeditor5/src/ui.js';import{getTranslation as _0x385fc7}from'../../utils/common-translations.js';function _0x2fc2(){const _0x31e577=['796701AZVzzO','clearHistory','6fytpCn','filter','add','locale','_createClearHistoryButton','22838312YznnsJ','Clear','length','execute','set','4452528epGKZr','6360438jpHXPm','children','historyGroupView','label','296084vLEJJH','clearHistoryButton','delegate','items','2835500YqeLoU','4551156JtrxZA','fire','Prompt\x20history'];_0x2fc2=function(){return _0x31e577;};return _0x2fc2();}export class AIHistoryListView extends _0x13aee9{[_0x5e63a1(0x187)];[_0x5e63a1(0x18a)];constructor(_0x27a1c3){const _0x2c26d1=_0x5e63a1;super(_0x27a1c3),this[_0x2c26d1(0x18a)]=this[_0x2c26d1(0x17e)](),this[_0x2c26d1(0x187)]=new _0x1b48df(),this[_0x2c26d1(0x187)][_0x2c26d1(0x186)][_0x2c26d1(0x195)](this[_0x2c26d1(0x18a)],0x1),this[_0x2c26d1(0x187)][_0x2c26d1(0x188)]=_0x385fc7(_0x27a1c3,_0x2c26d1(0x190)),this[_0x2c26d1(0x187)][_0x2c26d1(0x18c)][_0x2c26d1(0x18b)](_0x2c26d1(0x182))['to'](this),this[_0x2c26d1(0x18c)][_0x2c26d1(0x195)](this[_0x2c26d1(0x187)]);}[_0x5e63a1(0x194)](){const _0x174920=_0x5e63a1;let _0x34dae2=0x0;for(const _0x3e1953 of this[_0x174920(0x18c)])_0x34dae2+=_0x3e1953[_0x174920(0x18c)][_0x174920(0x181)];return{'resultsCount':_0x34dae2,'totalItemsCount':_0x34dae2};}[_0x5e63a1(0x17e)](){const _0x1f2402=_0x5e63a1,_0x3a1683=this[_0x1f2402(0x196)],_0x533258=new _0x10dec4(this[_0x1f2402(0x196)]);return _0x533258[_0x1f2402(0x183)]({'label':'('+_0x385fc7(_0x3a1683,_0x1f2402(0x180))+')','withText':!0x0}),_0x533258['on'](_0x1f2402(0x182),()=>this[_0x1f2402(0x18f)](_0x1f2402(0x192))),_0x533258;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7598a8=_0x5bec;(function(_0x386bff,_0x4bc77e){const _0x8b8630=_0x5bec,_0x2ecc70=_0x386bff();while(!![]){try{const _0x513fc9=-parseInt(_0x8b8630(0x80))/0x1*(parseInt(_0x8b8630(0x73))/0x2)+-parseInt(_0x8b8630(0x76))/0x3+-parseInt(_0x8b8630(0x7d))/0x4+-parseInt(_0x8b8630(0x7e))/0x5+parseInt(_0x8b8630(0x82))/0x6*(-parseInt(_0x8b8630(0x7f))/0x7)+-parseInt(_0x8b8630(0x6b))/0x8+parseInt(_0x8b8630(0x7c))/0x9;if(_0x513fc9===_0x4bc77e)break;else _0x2ecc70['push'](_0x2ecc70['shift']());}catch(_0x2b0014){_0x2ecc70['push'](_0x2ecc70['shift']());}}}(_0x3ae8,0xe076e));import{Collection as _0x49745f}from'ckeditor5/src/utils.js';const no=_0x7598a8(0x70);export class PromptHistory extends _0x49745f{constructor(){const _0x505df5=_0x7598a8;super(),this[_0x505df5(0x77)](),this['on'](_0x505df5(0x81),(_0x1a87c0,_0x219148)=>{const _0x740c7f=_0x505df5,_0x2808e7=co(_0x219148[_0x740c7f(0x6f)]);for(const _0x48b328 of this)if(_0x48b328!=_0x219148&&co(_0x48b328[_0x740c7f(0x6f)])===_0x2808e7){this[_0x740c7f(0x7b)](_0x48b328);break;}this[_0x740c7f(0x78)]>0x14&&this[_0x740c7f(0x7b)](this[_0x740c7f(0x75)]),this[_0x740c7f(0x7a)]();}),this['on'](_0x505df5(0x7b),()=>{const _0x1f0a83=_0x505df5;this[_0x1f0a83(0x7a)]();});}[_0x7598a8(0x77)](){const _0x224a22=_0x7598a8,_0x2df4ff=sessionStorage[_0x224a22(0x6c)](no)||'[]';this[_0x224a22(0x83)](JSON[_0x224a22(0x6e)](_0x2df4ff));}[_0x7598a8(0x7a)](){const _0x3ac3e7=_0x7598a8;sessionStorage[_0x3ac3e7(0x72)](no,JSON[_0x3ac3e7(0x6d)](this[_0x3ac3e7(0x74)](_0x286424=>_0x286424)));}}function _0x3ae8(){const _0x5cfc20=['4595256PrQppq','1247100YeWKyw','773836DDOCeI','1yTLAhZ','add','30JOqBci','addMany','10443464wcTSkD','getItem','stringify','parse','prompt','CKEditor/AIFormView/PromptHistory','toLowerCase','setItem','1090064EFayEB','map','last','900885XKRUIR','_loadFromSessionStorage','length','trim','_saveToSessionStorage','remove','45190260JHlonh'];_0x3ae8=function(){return _0x5cfc20;};return _0x3ae8();}function _0x5bec(_0x510479,_0x2640a9){const _0x3ae8e0=_0x3ae8();return _0x5bec=function(_0x5becf1,_0x4493ae){_0x5becf1=_0x5becf1-0x6b;let _0x695f25=_0x3ae8e0[_0x5becf1];return _0x695f25;},_0x5bec(_0x510479,_0x2640a9);}function co(_0x1b7d6c){const _0x195cf0=_0x7598a8;return _0x1b7d6c[_0x195cf0(0x71)]()[_0x195cf0(0x79)]();}
23
+ const _0x4dd2e1=_0x271d;(function(_0x1f9902,_0x11b1c2){const _0x574fa9=_0x271d,_0x1d5487=_0x1f9902();while(!![]){try{const _0x44886e=-parseInt(_0x574fa9(0xf9))/0x1+parseInt(_0x574fa9(0xfd))/0x2+-parseInt(_0x574fa9(0xed))/0x3*(-parseInt(_0x574fa9(0xee))/0x4)+-parseInt(_0x574fa9(0xf8))/0x5+-parseInt(_0x574fa9(0xfe))/0x6*(parseInt(_0x574fa9(0x105))/0x7)+-parseInt(_0x574fa9(0xff))/0x8*(parseInt(_0x574fa9(0x101))/0x9)+parseInt(_0x574fa9(0xf7))/0xa;if(_0x44886e===_0x11b1c2)break;else _0x1d5487['push'](_0x1d5487['shift']());}catch(_0x5dfca9){_0x1d5487['push'](_0x1d5487['shift']());}}}(_0x47c2,0xd70cb));function _0x47c2(){const _0x5e6b02=['getItem','23505020LliOdR','1033875gqlmjf','379498mvBUmn','CKEditor/AIFormView/PromptHistory','stringify','length','98172szqJjC','8026476epXQJy','203512uOsgcv','add','207QvoYrd','remove','prompt','trim','7GQKHkh','toLowerCase','3ZJeRIh','3961484oYVxxM','_saveToSessionStorage','parse','setItem','last','_loadFromSessionStorage','map','addMany'];_0x47c2=function(){return _0x5e6b02;};return _0x47c2();}import{Collection as _0x570473}from'ckeditor5/src/utils.js';const no=_0x4dd2e1(0xfa);export class PromptHistory extends _0x570473{constructor(){const _0x2b3962=_0x4dd2e1;super(),this[_0x2b3962(0xf3)](),this['on'](_0x2b3962(0x100),(_0xdd0f1e,_0x1722f8)=>{const _0x22674e=_0x2b3962,_0x2aba03=co(_0x1722f8[_0x22674e(0x103)]);for(const _0x17e65a of this)if(_0x17e65a!=_0x1722f8&&co(_0x17e65a[_0x22674e(0x103)])===_0x2aba03){this[_0x22674e(0x102)](_0x17e65a);break;}this[_0x22674e(0xfc)]>0x14&&this[_0x22674e(0x102)](this[_0x22674e(0xf2)]),this[_0x22674e(0xef)]();}),this['on'](_0x2b3962(0x102),()=>{const _0x5d8353=_0x2b3962;this[_0x5d8353(0xef)]();});}[_0x4dd2e1(0xf3)](){const _0x1763f7=_0x4dd2e1,_0x2f7a1e=sessionStorage[_0x1763f7(0xf6)](no)||'[]';this[_0x1763f7(0xf5)](JSON[_0x1763f7(0xf0)](_0x2f7a1e));}[_0x4dd2e1(0xef)](){const _0x196909=_0x4dd2e1;sessionStorage[_0x196909(0xf1)](no,JSON[_0x196909(0xfb)](this[_0x196909(0xf4)](_0xd0a126=>_0xd0a126)));}}function _0x271d(_0x3940bf,_0x3d6a9b){const _0x47c2e3=_0x47c2();return _0x271d=function(_0x271d88,_0x1df3ce){_0x271d88=_0x271d88-0xec;let _0x10dac6=_0x47c2e3[_0x271d88];return _0x10dac6;},_0x271d(_0x3940bf,_0x3d6a9b);}function co(_0x28ffc9){const _0x35a5b2=_0x4dd2e1;return _0x28ffc9[_0x35a5b2(0xec)]()[_0x35a5b2(0x104)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6a76(_0x4a34be,_0x469518){const _0xf94e1b=_0xf94e();return _0x6a76=function(_0x6a7651,_0x12c287){_0x6a7651=_0x6a7651-0x184;let _0x181341=_0xf94e1b[_0x6a7651];return _0x181341;},_0x6a76(_0x4a34be,_0x469518);}const _0x1e8d5c=_0x6a76;(function(_0x123df6,_0xbb4362){const _0x29c1c4=_0x6a76,_0x525192=_0x123df6();while(!![]){try{const _0x211739=parseInt(_0x29c1c4(0x1ae))/0x1*(-parseInt(_0x29c1c4(0x1af))/0x2)+-parseInt(_0x29c1c4(0x184))/0x3+-parseInt(_0x29c1c4(0x187))/0x4+parseInt(_0x29c1c4(0x194))/0x5+-parseInt(_0x29c1c4(0x186))/0x6*(parseInt(_0x29c1c4(0x18b))/0x7)+-parseInt(_0x29c1c4(0x198))/0x8+-parseInt(_0x29c1c4(0x1a3))/0x9*(-parseInt(_0x29c1c4(0x1a7))/0xa);if(_0x211739===_0xbb4362)break;else _0x525192['push'](_0x525192['shift']());}catch(_0x58da4b){_0x525192['push'](_0x525192['shift']());}}}(_0xf94e,0x32a6e));import{Command as _0x1e0c07}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x15a0d4}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1e0c07{[_0x1e8d5c(0x19b)];constructor(_0x24442f,_0xc7f500){const _0x2486cc=_0x1e8d5c;super(_0x24442f),this[_0x2486cc(0x19b)]=_0xc7f500,this[_0x2486cc(0x191)](_0x2486cc(0x190),[]),this['on'](_0x2486cc(0x1a0),(_0x1977a7,_0x5d6a56,_0x301972)=>{const _0x67ebe5=_0x2486cc;this[_0x67ebe5(0x1a1)]&&(this[_0x67ebe5(0x190)]=ns(this[_0x67ebe5(0x19b)],_0x301972));}),this[_0x2486cc(0x191)](_0x2486cc(0x19a),!0x1),this['on'](_0x2486cc(0x1ad),(_0x14def8,_0x3874c5,_0x4c8e54)=>{const _0x3c0836=_0x2486cc;this[_0x3c0836(0x190)]=_0x4c8e54?ns(this[_0x3c0836(0x19b)],this[_0x3c0836(0x19a)]):[];});}[_0x1e8d5c(0x18d)](){const _0x13a42a=_0x1e8d5c,_0x341576=this[_0x13a42a(0x199)][_0x13a42a(0x18a)];this[_0x13a42a(0x19a)]=function(_0x52160f){const _0x385b23=_0x13a42a,_0x338f87=_0x52160f[_0x385b23(0x19d)][_0x385b23(0x19f)];return _0x338f87[_0x385b23(0x1ac)]?0x0!==[..._0x338f87[_0x385b23(0x1aa)]()][_0x385b23(0x18c)]&&![..._0x338f87[_0x385b23(0x1aa)]()][0x0][_0x385b23(0x1a2)]:!!_0x52160f[_0x385b23(0x1a9)](_0x338f87[_0x385b23(0x192)]());}(_0x341576);const _0x1d6765=_0x341576[_0x13a42a(0x19d)][_0x13a42a(0x19f)],_0x1089a0=this[_0x13a42a(0x199)][_0x13a42a(0x1ab)][_0x13a42a(0x18e)](_0x13a42a(0x1a4));for(const _0x33babc of _0x1d6765[_0x13a42a(0x195)]())for(const _0x3235e5 of _0x33babc[_0x13a42a(0x1a5)]())if(_0x3235e5['is'](_0x13a42a(0x193))&&_0x1089a0[_0x13a42a(0x197)](_0x3235e5[_0x13a42a(0x1a8)]))return void(this[_0x13a42a(0x1a1)]=!0x1);this[_0x13a42a(0x1a1)]=!0x0;}[_0x1e8d5c(0x196)](_0x86e702='',_0x253ff8='',_0x1975e5=_0x1e8d5c(0x19c)){const _0x8fc6e4=_0x1e8d5c;this[_0x8fc6e4(0x199)][_0x8fc6e4(0x1a6)][_0x8fc6e4(0x18e)](_0x15a0d4)[_0x8fc6e4(0x18f)](_0x86e702,_0x253ff8,_0x1975e5);}}function _0xf94e(){const _0x539cbb=['execute','includes','1288944ODSgLu','editor','_hasContext','_commandDefinitions','custom','document','values','selection','change:_hasContext','isEnabled','isEmpty','9QOlywx','ai.assistant.disabledElements','getItems','plugins','9782610DXBAYY','name','hasContent','getSelectedBlocks','config','isCollapsed','change:isEnabled','9fHJUZL','72092GXWkjI','631785sxtRSk','from','1140anwltE','857472GJFzdx','requiresContent','add','model','5978wQTxwA','length','refresh','get','showUI','enabledCommandsIds','set','getFirstRange','element','1509820yaUmzh','getRanges'];_0xf94e=function(){return _0x539cbb;};return _0xf94e();}function ns(_0x3ff215,_0x22cdb9){const _0xd09990=_0x1e8d5c,_0x4ed178=new Set();for(const _0x204d13 of _0x3ff215[_0xd09990(0x19e)]())(_0x22cdb9||!0x1===_0x204d13[_0xd09990(0x188)])&&_0x4ed178[_0xd09990(0x189)](_0x204d13['id']);return Array[_0xd09990(0x185)](_0x4ed178);}
23
+ const _0x251163=_0x5718;(function(_0x6f510e,_0x580362){const _0x512d25=_0x5718,_0x1b2647=_0x6f510e();while(!![]){try{const _0x3a5adc=parseInt(_0x512d25(0x189))/0x1*(-parseInt(_0x512d25(0x17a))/0x2)+-parseInt(_0x512d25(0x191))/0x3*(parseInt(_0x512d25(0x178))/0x4)+-parseInt(_0x512d25(0x170))/0x5*(-parseInt(_0x512d25(0x16e))/0x6)+-parseInt(_0x512d25(0x18d))/0x7+parseInt(_0x512d25(0x198))/0x8+-parseInt(_0x512d25(0x180))/0x9*(-parseInt(_0x512d25(0x18f))/0xa)+parseInt(_0x512d25(0x18e))/0xb;if(_0x3a5adc===_0x580362)break;else _0x1b2647['push'](_0x1b2647['shift']());}catch(_0x5d6dab){_0x1b2647['push'](_0x1b2647['shift']());}}}(_0x47fc,0xce69a));import{Command as _0x3de4c0}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2420ce}from'../aiassistantui.js';function _0x5718(_0x44b0ad,_0x14c84f){const _0x47fcac=_0x47fc();return _0x5718=function(_0x57182b,_0x9a133a){_0x57182b=_0x57182b-0x16c;let _0x46df34=_0x47fcac[_0x57182b];return _0x46df34;},_0x5718(_0x44b0ad,_0x14c84f);}function _0x47fc(){const _0x3f5fbd=['_commandDefinitions','getFirstRange','get','2601456pTlrik','getSelectedBlocks','model','934158CllAIo','getItems','45hwiJSv','change:_hasContext','element','document','requiresContent','add','enabledCommandsIds','editor','12QUwUqg','refresh','4996KiaVpv','selection','showUI','execute','plugins','values','9hRtNyc','isEnabled','includes','length','custom','hasContent','set','isCollapsed','ai.assistant.disabledElements','542rMXReX','change:isEnabled','from','name','1554994rEpCmt','13114321ZMHCCh','7268010YegDQK','isEmpty','1223907DBjPeE','getRanges','config','_hasContext'];_0x47fc=function(){return _0x3f5fbd;};return _0x47fc();}export class ShowAIAssistantCommand extends _0x3de4c0{[_0x251163(0x195)];constructor(_0x1c511c,_0x32dba8){const _0xcb2cd5=_0x251163;super(_0x1c511c),this[_0xcb2cd5(0x195)]=_0x32dba8,this[_0xcb2cd5(0x186)](_0xcb2cd5(0x176),[]),this['on'](_0xcb2cd5(0x171),(_0x580af2,_0xa3ffe7,_0x51d5e7)=>{const _0x10c1b7=_0xcb2cd5;this[_0x10c1b7(0x181)]&&(this[_0x10c1b7(0x176)]=ns(this[_0x10c1b7(0x195)],_0x51d5e7));}),this[_0xcb2cd5(0x186)](_0xcb2cd5(0x194),!0x1),this['on'](_0xcb2cd5(0x18a),(_0x3c31ec,_0x1ee5a8,_0x4bd0af)=>{const _0x189aab=_0xcb2cd5;this[_0x189aab(0x176)]=_0x4bd0af?ns(this[_0x189aab(0x195)],this[_0x189aab(0x194)]):[];});}[_0x251163(0x179)](){const _0x57a67f=_0x251163,_0x4f0086=this[_0x57a67f(0x177)][_0x57a67f(0x16d)];this[_0x57a67f(0x194)]=function(_0x4f1756){const _0x5bad0f=_0x57a67f,_0x1dd200=_0x4f1756[_0x5bad0f(0x173)][_0x5bad0f(0x17b)];return _0x1dd200[_0x5bad0f(0x187)]?0x0!==[..._0x1dd200[_0x5bad0f(0x16c)]()][_0x5bad0f(0x183)]&&![..._0x1dd200[_0x5bad0f(0x16c)]()][0x0][_0x5bad0f(0x190)]:!!_0x4f1756[_0x5bad0f(0x185)](_0x1dd200[_0x5bad0f(0x196)]());}(_0x4f0086);const _0x531c22=_0x4f0086[_0x57a67f(0x173)][_0x57a67f(0x17b)],_0x4d15bc=this[_0x57a67f(0x177)][_0x57a67f(0x193)][_0x57a67f(0x197)](_0x57a67f(0x188));for(const _0x5bdbc9 of _0x531c22[_0x57a67f(0x192)]())for(const _0x2f9779 of _0x5bdbc9[_0x57a67f(0x16f)]())if(_0x2f9779['is'](_0x57a67f(0x172))&&_0x4d15bc[_0x57a67f(0x182)](_0x2f9779[_0x57a67f(0x18c)]))return void(this[_0x57a67f(0x181)]=!0x1);this[_0x57a67f(0x181)]=!0x0;}[_0x251163(0x17d)](_0x156b73='',_0x248fee='',_0x188f36=_0x251163(0x184)){const _0x5ac1f6=_0x251163;this[_0x5ac1f6(0x177)][_0x5ac1f6(0x17e)][_0x5ac1f6(0x197)](_0x2420ce)[_0x5ac1f6(0x17c)](_0x156b73,_0x248fee,_0x188f36);}}function ns(_0x464646,_0x321c2c){const _0x3b6d2a=_0x251163,_0x4dfb24=new Set();for(const _0x5cc230 of _0x464646[_0x3b6d2a(0x17f)]())(_0x321c2c||!0x1===_0x5cc230[_0x3b6d2a(0x174)])&&_0x4dfb24[_0x3b6d2a(0x175)](_0x5cc230['id']);return Array[_0x3b6d2a(0x18b)](_0x4dfb24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x161cf5,_0x5d6acf,_0x1d1db1){const t=_0x161cf5['t'];switch(_0x5d6acf){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',_0x1d1db1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d1db1);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'},_0x1d1db1);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 _0x5d6acf;}}
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(_0x5203a2,_0x1e44eb){const _0x5e5d34=(0x0,_0x1e44eb['t'])('Other');return _0x5203a2['length']?'groupId'in _0x5203a2[0x0]?_0x5203a2:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5e5d34,'order':0x1/0x0,'commands':_0x5203a2}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5e5d34,'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
- const _0x4caeaf=_0x17bb;(function(_0x1875e9,_0xf6040f){const _0x1463d0=_0x17bb,_0x4a0e91=_0x1875e9();while(!![]){try{const _0x2addc0=parseInt(_0x1463d0(0x84))/0x1+-parseInt(_0x1463d0(0x77))/0x2*(-parseInt(_0x1463d0(0x7a))/0x3)+-parseInt(_0x1463d0(0x91))/0x4*(-parseInt(_0x1463d0(0x8f))/0x5)+-parseInt(_0x1463d0(0xa6))/0x6+-parseInt(_0x1463d0(0x7e))/0x7+-parseInt(_0x1463d0(0xb3))/0x8+-parseInt(_0x1463d0(0xaa))/0x9*(-parseInt(_0x1463d0(0x8a))/0xa);if(_0x2addc0===_0xf6040f)break;else _0x4a0e91['push'](_0x4a0e91['shift']());}catch(_0x49c97d){_0x4a0e91['push'](_0x4a0e91['shift']());}}}(_0x146e,0xb7643));import{ContextPlugin as _0x3b530e}from'ckeditor5/src/core.js';function _0x17bb(_0x2b9089,_0x2ed242){const _0x146e81=_0x146e();return _0x17bb=function(_0x17bbe4,_0x2ba760){_0x17bbe4=_0x17bbe4-0x76;let _0x3fb57e=_0x146e81[_0x17bbe4];return _0x3fb57e;},_0x17bb(_0x2b9089,_0x2ed242);}import{AIConnector as _0x2fc1a6}from'../aicore/aiconnector.js';import{AIEditing as _0x58d5f8}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x53e0c7,AIBalloonView as _0x1a7fe8}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x40957f}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x30b114}from'../aicore/utils/geteditorfromcontext.js';function _0x146e(){const _0x47b536=['_setupVisualSelection','12005104GEXNoU','showFakeVisualSelection','204qOFPRg','getMarkersGroup','AIBalloon','40929aREuEA','_config','get','title','6824965YYCokA','open','model','editing','AIEditing','getBoundingClientRect','254574OfAmMk','_calculateDialogPosition','isOfficialPlugin','context','markers','plugins','21690aGaYmx','isPremiumPlugin','hideFakeVisualSelection','_showDialog','delegate','465sJxRsS','_calculateOptimalTopPosition','17428BcSQUg','round','\x20ai-balloon-rotator','show','isOpen','ai-selection','top','locale','hide','length','index','aiBalloon','ai-balloon-','ai-balloon-selection','pluginName','left','innerHeight','fire','bind','showRotator','icon','7718232MidVbj','ai-balloon','ranges','width','10215PjJYzJ','dialogClosed','Dialog','close','balloonView','requires','setupRotator','height'];_0x146e=function(){return _0x47b536;};return _0x146e();}export const AI_BALLOON_EVENT_NAMES=[..._0x53e0c7,_0x4caeaf(0xab)];export class AIBalloon extends _0x3b530e{static get[_0x4caeaf(0xaf)](){return[_0x2fc1a6,_0x58d5f8];}static get[_0x4caeaf(0x9f)](){const _0x29da7d=_0x4caeaf;return _0x29da7d(0x79);}static get[_0x4caeaf(0x86)](){return!0x0;}static get[_0x4caeaf(0x8b)](){return!0x0;}[_0x4caeaf(0x95)]=!0x1;[_0x4caeaf(0x7b)];[_0x4caeaf(0x7f)](_0x40ca91){const _0x58b024=_0x4caeaf,_0x139e6a=_0x30b114(this[_0x58b024(0x87)]);this[_0x58b024(0x7b)]=_0x40ca91,this[_0x58b024(0xae)]=new _0x1a7fe8(_0x139e6a[_0x58b024(0x98)],_0x40ca91),this[_0x58b024(0xae)][_0x58b024(0x8e)](..._0x53e0c7)['to'](this),this[_0x58b024(0x8d)](_0x40ca91);}[_0x4caeaf(0xad)](){const _0x117b0e=_0x4caeaf;_0x30b114(this[_0x117b0e(0x87)])[_0x117b0e(0x89)][_0x117b0e(0x7c)](_0x117b0e(0xac))[_0x117b0e(0x99)]();}[_0x4caeaf(0xb2)](_0xc40590,_0xb7daf){const _0x1c9ebb=_0x4caeaf;this[_0x1c9ebb(0x87)][_0x1c9ebb(0x89)][_0x1c9ebb(0x7c)](_0x58d5f8)[_0x1c9ebb(0x76)](_0xc40590,_0x1c9ebb(0x9d)+_0xb7daf,!0x0,!0x0);}[_0x4caeaf(0x8d)](_0x42b66b){const _0xe9ae27=_0x4caeaf,_0x157201=_0x30b114(this[_0xe9ae27(0x87)]);this[_0xe9ae27(0xb2)](_0x42b66b[_0xe9ae27(0xa8)],_0x42b66b[_0xe9ae27(0x9b)]),_0x157201[_0xe9ae27(0x89)][_0xe9ae27(0x7c)](_0xe9ae27(0xac))[_0xe9ae27(0x94)]({'title':_0x42b66b[_0xe9ae27(0x7d)],'icon':_0x42b66b[_0xe9ae27(0xa5)],'hasCloseButton':!0x0,'id':_0xe9ae27(0x9c),'position':this[_0xe9ae27(0x85)][_0xe9ae27(0xa3)](this),'className':_0xe9ae27(0xa7)+(_0x42b66b[_0xe9ae27(0xa4)]?_0xe9ae27(0x93):''),'content':this[_0xe9ae27(0xae)],'onShow':_0x266932=>{const _0x213f30=_0xe9ae27;_0x42b66b[_0x213f30(0xa4)]&&this[_0x213f30(0xae)][_0x213f30(0xb0)](_0x266932),this[_0x213f30(0x95)]=!0x0;},'onHide':()=>{const _0x14be2e=_0xe9ae27;this[_0x14be2e(0x87)][_0x14be2e(0x89)][_0x14be2e(0x7c)](_0x14be2e(0x82))[_0x14be2e(0x8c)](_0x14be2e(0x9d)+_0x42b66b[_0x14be2e(0x9b)]),this[_0x14be2e(0xa2)](_0x14be2e(0xab)),this[_0x14be2e(0x95)]=!0x1;}});}[_0x4caeaf(0x85)](_0x19a8d5,_0x3a55a2){const _0xeb74e9=_0x4caeaf,_0x26c7e4=_0x30b114(this[_0xeb74e9(0x87)]);if(!_0x3a55a2)return{'left':0x0,'top':0x0};const _0x5d4aee=_0x40957f(_0x26c7e4[_0xeb74e9(0x81)],[..._0x26c7e4[_0xeb74e9(0x80)][_0xeb74e9(0x88)][_0xeb74e9(0x78)](_0xeb74e9(0x96)),..._0x26c7e4[_0xeb74e9(0x80)][_0xeb74e9(0x88)][_0xeb74e9(0x78)](_0xeb74e9(0x9e))]);if(!_0x5d4aee||0x0===_0x5d4aee[_0xeb74e9(0x9a)])return{'left':Math[_0xeb74e9(0x92)](_0x3a55a2[_0xeb74e9(0xa0)]+_0x3a55a2[_0xeb74e9(0xa9)]/0x2-_0x19a8d5[_0xeb74e9(0xa9)]/0x2),'top':Math[_0xeb74e9(0x92)](_0x3a55a2[_0xeb74e9(0x97)]+_0x3a55a2[_0xeb74e9(0xb1)]/0x2-_0x19a8d5[_0xeb74e9(0xb1)]/0x2)};const _0x35da07=Math[_0xeb74e9(0x92)](_0x3a55a2[_0xeb74e9(0xa0)]+_0x3a55a2[_0xeb74e9(0xa9)]/0x2-_0x19a8d5[_0xeb74e9(0xa9)]/0x2),_0x591549=_0x5d4aee[0x0][_0xeb74e9(0x83)](),_0x52af6b=_0x5d4aee[_0x5d4aee[_0xeb74e9(0x9a)]-0x1][_0xeb74e9(0x83)](),_0x22186f=_0x19a8d5[_0xeb74e9(0xb1)],_0x1b793c=this[_0xeb74e9(0x7b)][_0xeb74e9(0xa4)]?0x8:0x0;return{'left':_0x35da07,'top':this[_0xeb74e9(0x90)](_0x591549,_0x52af6b,_0x22186f,_0x1b793c)};}[_0x4caeaf(0x90)](_0x779c24,_0x4b769b,_0x490b16,_0x246e35=0x0){const _0x132da2=_0x4caeaf,_0x403206=_0x4b769b[_0x132da2(0x97)]+_0x4b769b[_0x132da2(0xb1)],_0x34b80b=_0x779c24[_0x132da2(0x97)]-_0x490b16-_0x246e35,_0x4ca617=window[_0x132da2(0xa1)]-_0x403206-0xa,_0x2bd27a=_0x779c24[_0x132da2(0x97)]-_0x246e35-0xa;let _0x7ab927;if(_0x4ca617>=_0x490b16)_0x7ab927=_0x403206+0xa;else{if(_0x2bd27a>=_0x490b16)_0x7ab927=_0x34b80b-0xa;else _0x7ab927=_0x779c24[_0x132da2(0x97)]+(_0x4b769b[_0x132da2(0x97)]+_0x4b769b[_0x132da2(0xb1)])/0x2-(_0x490b16+_0x246e35)/0x2;}return _0x7ab927;}}
23
+ const _0x41ba80=_0x17b9;(function(_0x4ee95c,_0x446acf){const _0x10b9d0=_0x17b9,_0x5ed7f8=_0x4ee95c();while(!![]){try{const _0x16f60d=-parseInt(_0x10b9d0(0x90))/0x1*(parseInt(_0x10b9d0(0xb0))/0x2)+parseInt(_0x10b9d0(0x95))/0x3*(-parseInt(_0x10b9d0(0x93))/0x4)+parseInt(_0x10b9d0(0x8f))/0x5*(parseInt(_0x10b9d0(0xc4))/0x6)+-parseInt(_0x10b9d0(0xab))/0x7*(-parseInt(_0x10b9d0(0x98))/0x8)+parseInt(_0x10b9d0(0xa3))/0x9*(-parseInt(_0x10b9d0(0xa2))/0xa)+-parseInt(_0x10b9d0(0xb2))/0xb+parseInt(_0x10b9d0(0x8d))/0xc;if(_0x16f60d===_0x446acf)break;else _0x5ed7f8['push'](_0x5ed7f8['shift']());}catch(_0x419561){_0x5ed7f8['push'](_0x5ed7f8['shift']());}}}(_0xf8bd,0xa1cbc));import{ContextPlugin as _0x1d5139}from'ckeditor5/src/core.js';import{AIConnector as _0x207f0e}from'../aicore/aiconnector.js';import{AIEditing as _0x148415}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x24e667,AIBalloonView as _0xeed289}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x8bfb1d}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x4a3fb5}from'../aicore/utils/geteditorfromcontext.js';export const AI_BALLOON_EVENT_NAMES=[..._0x24e667,_0x41ba80(0xa7)];export class AIBalloon extends _0x1d5139{static get[_0x41ba80(0x8c)](){return[_0x207f0e,_0x148415];}static get[_0x41ba80(0xb4)](){const _0xb2c915=_0x41ba80;return _0xb2c915(0xb5);}static get[_0x41ba80(0xa6)](){return!0x0;}static get[_0x41ba80(0xbd)](){return!0x0;}[_0x41ba80(0x97)]=!0x1;[_0x41ba80(0xc5)];[_0x41ba80(0xb1)](_0x37bafa){const _0x43d9d6=_0x41ba80,_0x23a979=_0x4a3fb5(this[_0x43d9d6(0xad)]);this[_0x43d9d6(0xc5)]=_0x37bafa,this[_0x43d9d6(0xbb)]=new _0xeed289(_0x23a979[_0x43d9d6(0xa1)],_0x37bafa),this[_0x43d9d6(0xbb)][_0x43d9d6(0x9e)](..._0x24e667)['to'](this),this[_0x43d9d6(0xbf)](_0x37bafa);}[_0x41ba80(0xaf)](){const _0x486a0e=_0x41ba80;_0x4a3fb5(this[_0x486a0e(0xad)])[_0x486a0e(0x96)][_0x486a0e(0xb7)](_0x486a0e(0xc2))[_0x486a0e(0xaa)]();}[_0x41ba80(0x91)](_0x27b436,_0x46fce3){const _0x491e75=_0x41ba80;this[_0x491e75(0xad)][_0x491e75(0x96)][_0x491e75(0xb7)](_0x148415)[_0x491e75(0xb6)](_0x27b436,_0x491e75(0xa9)+_0x46fce3,!0x0,!0x0);}[_0x41ba80(0xbf)](_0x38511e){const _0x4efd91=_0x41ba80,_0x529c88=_0x4a3fb5(this[_0x4efd91(0xad)]);this[_0x4efd91(0x91)](_0x38511e[_0x4efd91(0xbc)],_0x38511e[_0x4efd91(0xb3)]),_0x529c88[_0x4efd91(0x96)][_0x4efd91(0xb7)](_0x4efd91(0xc2))[_0x4efd91(0xba)]({'title':_0x38511e[_0x4efd91(0x9c)],'icon':_0x38511e[_0x4efd91(0xa0)],'hasCloseButton':!0x0,'id':_0x4efd91(0x9b),'position':this[_0x4efd91(0xc9)][_0x4efd91(0xbe)](this),'className':_0x4efd91(0x92)+(_0x38511e[_0x4efd91(0x9f)]?_0x4efd91(0xae):''),'content':this[_0x4efd91(0xbb)],'onShow':_0x43cebb=>{const _0x37baad=_0x4efd91;_0x38511e[_0x37baad(0x9f)]&&this[_0x37baad(0xbb)][_0x37baad(0xa8)](_0x43cebb),this[_0x37baad(0x97)]=!0x0;},'onHide':()=>{const _0x5300b4=_0x4efd91;this[_0x5300b4(0xad)][_0x5300b4(0x96)][_0x5300b4(0xb7)](_0x5300b4(0x8b))[_0x5300b4(0x8e)](_0x5300b4(0xa9)+_0x38511e[_0x5300b4(0xb3)]),this[_0x5300b4(0xca)](_0x5300b4(0xa7)),this[_0x5300b4(0x97)]=!0x1;}});}[_0x41ba80(0xc9)](_0x39a63e,_0x23fb46){const _0x193054=_0x41ba80,_0x18c74e=_0x4a3fb5(this[_0x193054(0xad)]);if(!_0x23fb46)return{'left':0x0,'top':0x0};const _0x4ddef1=_0x8bfb1d(_0x18c74e[_0x193054(0xc6)],[..._0x18c74e[_0x193054(0xb9)][_0x193054(0xc1)][_0x193054(0x99)](_0x193054(0xc3)),..._0x18c74e[_0x193054(0xb9)][_0x193054(0xc1)][_0x193054(0x99)](_0x193054(0xc7))]);if(!_0x4ddef1||0x0===_0x4ddef1[_0x193054(0x9d)])return{'left':Math[_0x193054(0xac)](_0x23fb46[_0x193054(0xc0)]+_0x23fb46[_0x193054(0xc8)]/0x2-_0x39a63e[_0x193054(0xc8)]/0x2),'top':Math[_0x193054(0xac)](_0x23fb46[_0x193054(0x94)]+_0x23fb46[_0x193054(0xb8)]/0x2-_0x39a63e[_0x193054(0xb8)]/0x2)};const _0x39b542=Math[_0x193054(0xac)](_0x23fb46[_0x193054(0xc0)]+_0x23fb46[_0x193054(0xc8)]/0x2-_0x39a63e[_0x193054(0xc8)]/0x2),_0xddfe9e=_0x4ddef1[0x0][_0x193054(0x9a)](),_0x3c2657=_0x4ddef1[_0x4ddef1[_0x193054(0x9d)]-0x1][_0x193054(0x9a)](),_0x2c8dbe=_0x39a63e[_0x193054(0xb8)],_0x269eec=this[_0x193054(0xc5)][_0x193054(0x9f)]?0x8:0x0;return{'left':_0x39b542,'top':this[_0x193054(0xa5)](_0xddfe9e,_0x3c2657,_0x2c8dbe,_0x269eec)};}[_0x41ba80(0xa5)](_0x151ade,_0x39f69a,_0x505d9b,_0x3346cc=0x0){const _0x277f02=_0x41ba80,_0x15d38a=_0x39f69a[_0x277f02(0x94)]+_0x39f69a[_0x277f02(0xb8)],_0x4dc32b=_0x151ade[_0x277f02(0x94)]-_0x505d9b-_0x3346cc,_0x5ade2d=window[_0x277f02(0xa4)]-_0x15d38a-0xa,_0x1705e4=_0x151ade[_0x277f02(0x94)]-_0x3346cc-0xa;let _0x5684e7;if(_0x5ade2d>=_0x505d9b)_0x5684e7=_0x15d38a+0xa;else{if(_0x1705e4>=_0x505d9b)_0x5684e7=_0x4dc32b-0xa;else _0x5684e7=_0x151ade[_0x277f02(0x94)]+(_0x39f69a[_0x277f02(0x94)]+_0x39f69a[_0x277f02(0xb8)])/0x2-(_0x505d9b+_0x3346cc)/0x2;}return _0x5684e7;}}function _0x17b9(_0x2cb844,_0x226b8a){const _0xf8bde4=_0xf8bd();return _0x17b9=function(_0x17b942,_0x5b05c8){_0x17b942=_0x17b942-0x8b;let _0x2615ca=_0xf8bde4[_0x17b942];return _0x2615ca;},_0x17b9(_0x2cb844,_0x226b8a);}function _0xf8bd(){const _0x4778cd=['setupRotator','ai-balloon-','hide','154aokTMv','round','context','\x20ai-balloon-rotator','close','34dZuBed','open','14255626LTZLvd','index','pluginName','AIBalloon','showFakeVisualSelection','get','height','model','show','balloonView','ranges','isPremiumPlugin','bind','_showDialog','left','markers','Dialog','ai-selection','606wRVEgm','_config','editing','ai-balloon-selection','width','_calculateDialogPosition','fire','AIEditing','requires','42962112DbeKPe','hideFakeVisualSelection','47165rxBhLb','74339YOLRuj','_setupVisualSelection','ai-balloon','15452YUHxEd','top','597JpHfiS','plugins','isOpen','274912JtdTtB','getMarkersGroup','getBoundingClientRect','aiBalloon','title','length','delegate','showRotator','icon','locale','10AthPKX','11679615KExgjH','innerHeight','_calculateOptimalTopPosition','isOfficialPlugin','dialogClosed'];_0xf8bd=function(){return _0x4778cd;};return _0xf8bd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x503b32,_0x3c28f1){var _0x49dfe0=_0x2347,_0x573dbe=_0x503b32();while(!![]){try{var _0x1bbbb9=parseInt(_0x49dfe0(0x79))/0x1*(parseInt(_0x49dfe0(0x7a))/0x2)+parseInt(_0x49dfe0(0x7b))/0x3*(-parseInt(_0x49dfe0(0x74))/0x4)+parseInt(_0x49dfe0(0x76))/0x5+-parseInt(_0x49dfe0(0x82))/0x6+-parseInt(_0x49dfe0(0x7c))/0x7*(parseInt(_0x49dfe0(0x75))/0x8)+-parseInt(_0x49dfe0(0x7d))/0x9*(-parseInt(_0x49dfe0(0x7f))/0xa)+parseInt(_0x49dfe0(0x81))/0xb;if(_0x1bbbb9===_0x3c28f1)break;else _0x573dbe['push'](_0x573dbe['shift']());}catch(_0x556dc3){_0x573dbe['push'](_0x573dbe['shift']());}}}(_0x4b7e,0xe4af1));function _0x4b7e(){var _0x16ea90=['4kFRMIw','37251QOlWjT','7MqCUNF','390699mOvYLO','ck-ai-balloon__disclaimer','10JSqSTX','AI_DISCLAIMER_TEXT','7230806XNZvRk','5333304bTJYXY','setTemplate','236WHZRvL','8817384ytJmko','5443370jsBIbK','div','ck-ai-balloon__disclaimer-content','935459nVLxTl'];_0x4b7e=function(){return _0x16ea90;};return _0x4b7e();}import{View as _0x241fb1}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f80e5}from'../../aicore/utils/common-translations.js';function _0x2347(_0x39bf42,_0x4dd1d6){var _0x4b7efb=_0x4b7e();return _0x2347=function(_0x2347ee,_0x1e8380){_0x2347ee=_0x2347ee-0x73;var _0x2e1fde=_0x4b7efb[_0x2347ee];return _0x2e1fde;},_0x2347(_0x39bf42,_0x4dd1d6);}export class AIBalloonDisclaimerView extends _0x241fb1{constructor(_0x27a393){var _0xffe050=_0x2347;super(_0x27a393),this[_0xffe050(0x73)]({'tag':_0xffe050(0x77),'attributes':{'class':['ck',_0xffe050(0x7e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xffe050(0x78)]},'children':[{'text':_0x4f80e5(_0x27a393,_0xffe050(0x80))}]}]});}}
23
+ (function(_0x178ae8,_0x64a0d0){var _0x7064df=_0x1c0a,_0x1f7bde=_0x178ae8();while(!![]){try{var _0xf7a45b=-parseInt(_0x7064df(0x1ec))/0x1*(-parseInt(_0x7064df(0x1eb))/0x2)+parseInt(_0x7064df(0x1e7))/0x3+parseInt(_0x7064df(0x1e5))/0x4+parseInt(_0x7064df(0x1e6))/0x5*(parseInt(_0x7064df(0x1e2))/0x6)+-parseInt(_0x7064df(0x1e3))/0x7+parseInt(_0x7064df(0x1e8))/0x8*(parseInt(_0x7064df(0x1e0))/0x9)+-parseInt(_0x7064df(0x1e1))/0xa*(parseInt(_0x7064df(0x1ed))/0xb);if(_0xf7a45b===_0x64a0d0)break;else _0x1f7bde['push'](_0x1f7bde['shift']());}catch(_0x2911a0){_0x1f7bde['push'](_0x1f7bde['shift']());}}}(_0x227c,0xdd2d0));import{View as _0x2a3346}from'ckeditor5/src/ui.js';function _0x227c(){var _0x332c3c=['div','169326xKMDUu','10KWqycc','11ctwORm','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','242208BYRJMy','33114010vAzYAk','10662fccRXA','1068564JpnnKk','ck-ai-balloon__disclaimer-content','1895068vDIiBV','145FHRXhG','3827073SIkqkn','512XaXGvA','setTemplate'];_0x227c=function(){return _0x332c3c;};return _0x227c();}function _0x1c0a(_0x55c7cc,_0x10cb99){var _0x227cfc=_0x227c();return _0x1c0a=function(_0x1c0a13,_0xd99b71){_0x1c0a13=_0x1c0a13-0x1de;var _0x3d77eb=_0x227cfc[_0x1c0a13];return _0x3d77eb;},_0x1c0a(_0x55c7cc,_0x10cb99);}import{getTranslation as _0x55de2c}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x2a3346{constructor(_0x2e5cb5){var _0x573cb8=_0x1c0a;super(_0x2e5cb5),this[_0x573cb8(0x1e9)]({'tag':_0x573cb8(0x1ea),'attributes':{'class':['ck',_0x573cb8(0x1de)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x573cb8(0x1e4)]},'children':[{'text':_0x55de2c(_0x2e5cb5,_0x573cb8(0x1df))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ec3(_0x42ffff,_0x5a3a0f){const _0x16e53f=_0x16e5();return _0x4ec3=function(_0x4ec311,_0x5bb548){_0x4ec311=_0x4ec311-0x1ea;let _0x601b6a=_0x16e53f[_0x4ec311];return _0x601b6a;},_0x4ec3(_0x42ffff,_0x5a3a0f);}const _0x326a94=_0x4ec3;(function(_0x5ba080,_0x299d40){const _0x4cce85=_0x4ec3,_0x3ad89a=_0x5ba080();while(!![]){try{const _0x467f32=-parseInt(_0x4cce85(0x1ee))/0x1*(-parseInt(_0x4cce85(0x1ff))/0x2)+-parseInt(_0x4cce85(0x202))/0x3*(-parseInt(_0x4cce85(0x1f7))/0x4)+parseInt(_0x4cce85(0x1f2))/0x5+parseInt(_0x4cce85(0x1fe))/0x6*(-parseInt(_0x4cce85(0x1ec))/0x7)+parseInt(_0x4cce85(0x1fa))/0x8+parseInt(_0x4cce85(0x201))/0x9*(-parseInt(_0x4cce85(0x1ed))/0xa)+-parseInt(_0x4cce85(0x200))/0xb*(-parseInt(_0x4cce85(0x1f6))/0xc);if(_0x467f32===_0x299d40)break;else _0x3ad89a['push'](_0x3ad89a['shift']());}catch(_0x4c1c16){_0x3ad89a['push'](_0x3ad89a['shift']());}}}(_0x16e5,0xc0b89));import{ToolbarView as _0x228ba3,ButtonView as _0x50f425}from'ckeditor5/src/ui.js';import{getTranslation as _0x378c48}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x228ba3{constructor(_0x1e56f0,_0x219a2f=!0x0,_0x35c27b=!0x0){const _0x592e3d=_0x4ec3;super(_0x1e56f0),this[_0x592e3d(0x1f0)](_0x592e3d(0x203),!0x1),_0x219a2f&&(this[_0x592e3d(0x1ea)]=this[_0x592e3d(0x1eb)](_0x378c48(_0x1e56f0,_0x592e3d(0x1f1)),_0x592e3d(0x1f4)),this[_0x592e3d(0x1ea)][_0x592e3d(0x1fc)](_0x592e3d(0x204))['to'](this,_0x592e3d(0x203),_0x1b1975=>!_0x1b1975),this[_0x592e3d(0x1f5)][_0x592e3d(0x1fd)](this[_0x592e3d(0x1ea)])),_0x35c27b&&(this[_0x592e3d(0x1fb)]=this[_0x592e3d(0x1eb)](_0x378c48(_0x1e56f0,_0x592e3d(0x1ef)),_0x592e3d(0x1f8)),this[_0x592e3d(0x1fb)][_0x592e3d(0x1fc)](_0x592e3d(0x204))['to'](this,_0x592e3d(0x203),_0x9a62f4=>!_0x9a62f4),this[_0x592e3d(0x1f5)][_0x592e3d(0x1fd)](this[_0x592e3d(0x1fb)])),this[_0x592e3d(0x1f3)]({'attributes':{'class':[_0x592e3d(0x1f9)]}});}[_0x326a94(0x1eb)](_0x3c7b81,_0x4d89ac){const _0x5795f7=_0x326a94,_0x2be628=new _0x50f425(this[_0x5795f7(0x205)]);return _0x2be628[_0x5795f7(0x1f0)]({'label':_0x3c7b81,'class':_0x4d89ac||'','isVisible':!0x0,'withText':!0x0}),_0x2be628;}}function _0x16e5(){const _0x4e615e=['ck-ai-button-primary','items','485208duAHPu','404332ANAgVW','ck-ai-button-secondary','ck-ai-balloon__toolbar','6019640VgqkTU','suggestButton','bind','add','750318KoMIsz','36692PnAqnD','88FcqvKN','798228UkfEmC','3JEHruY','isLoading','isEnabled','locale','applyButton','_createButton','49RXiwPs','90EHUlgF','47nIQxvY','AI_BALLOON_SUGGEST_BUTTON','set','AI_BALLOON_APPLY_BUTTON','2118560OEsFzR','extendTemplate'];_0x16e5=function(){return _0x4e615e;};return _0x16e5();}
23
+ function _0x2e16(_0x5d20ce,_0x542091){const _0x446dd4=_0x446d();return _0x2e16=function(_0x2e16ef,_0x4282cb){_0x2e16ef=_0x2e16ef-0x13f;let _0x9a37eb=_0x446dd4[_0x2e16ef];return _0x9a37eb;},_0x2e16(_0x5d20ce,_0x542091);}const _0x3779cf=_0x2e16;(function(_0x58bbe4,_0x4ab262){const _0x3e694c=_0x2e16,_0x4bcf15=_0x58bbe4();while(!![]){try{const _0x430434=parseInt(_0x3e694c(0x154))/0x1+-parseInt(_0x3e694c(0x149))/0x2*(parseInt(_0x3e694c(0x147))/0x3)+parseInt(_0x3e694c(0x156))/0x4*(-parseInt(_0x3e694c(0x14f))/0x5)+parseInt(_0x3e694c(0x14e))/0x6+parseInt(_0x3e694c(0x140))/0x7*(-parseInt(_0x3e694c(0x158))/0x8)+parseInt(_0x3e694c(0x13f))/0x9*(-parseInt(_0x3e694c(0x144))/0xa)+parseInt(_0x3e694c(0x145))/0xb;if(_0x430434===_0x4ab262)break;else _0x4bcf15['push'](_0x4bcf15['shift']());}catch(_0x5dd280){_0x4bcf15['push'](_0x4bcf15['shift']());}}}(_0x446d,0x405bc));import{ToolbarView as _0x46caf6,ButtonView as _0x527982}from'ckeditor5/src/ui.js';import{getTranslation as _0x6a84ec}from'../../aicore/utils/common-translations.js';function _0x446d(){const _0x1e08f3=['2194500VOoWkT','398120TkTQkd','_createButton','ck-ai-button-primary','ck-ai-button-secondary','suggestButton','519840IWdsYx','isEnabled','20kUoebT','items','8hRhfYF','AI_BALLOON_APPLY_BUTTON','1359fRdRFz','1016869Qkgbpg','AI_BALLOON_SUGGEST_BUTTON','locale','ck-ai-balloon__toolbar','17060aOcfyS','2108931WUBCAT','extendTemplate','3PWzgcL','add','25412OOoewN','set','applyButton','isLoading','bind'];_0x446d=function(){return _0x1e08f3;};return _0x446d();}export class AIBalloonToolbarView extends _0x46caf6{constructor(_0x44084d,_0x5b343c=!0x0,_0x20501c=!0x0){const _0x49ffd8=_0x2e16;super(_0x44084d),this[_0x49ffd8(0x14a)](_0x49ffd8(0x14c),!0x1),_0x5b343c&&(this[_0x49ffd8(0x14b)]=this[_0x49ffd8(0x150)](_0x6a84ec(_0x44084d,_0x49ffd8(0x159)),_0x49ffd8(0x151)),this[_0x49ffd8(0x14b)][_0x49ffd8(0x14d)](_0x49ffd8(0x155))['to'](this,_0x49ffd8(0x14c),_0x2860b6=>!_0x2860b6),this[_0x49ffd8(0x157)][_0x49ffd8(0x148)](this[_0x49ffd8(0x14b)])),_0x20501c&&(this[_0x49ffd8(0x153)]=this[_0x49ffd8(0x150)](_0x6a84ec(_0x44084d,_0x49ffd8(0x141)),_0x49ffd8(0x152)),this[_0x49ffd8(0x153)][_0x49ffd8(0x14d)](_0x49ffd8(0x155))['to'](this,_0x49ffd8(0x14c),_0x45ec0e=>!_0x45ec0e),this[_0x49ffd8(0x157)][_0x49ffd8(0x148)](this[_0x49ffd8(0x153)])),this[_0x49ffd8(0x146)]({'attributes':{'class':[_0x49ffd8(0x143)]}});}[_0x3779cf(0x150)](_0x31868f,_0x5c39fa){const _0x51769a=_0x3779cf,_0x2a1844=new _0x527982(this[_0x51769a(0x142)]);return _0x2a1844[_0x51769a(0x14a)]({'label':_0x31868f,'class':_0x5c39fa||'','isVisible':!0x0,'withText':!0x0}),_0x2a1844;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf7f45c=_0x1cac;(function(_0x307b94,_0x8ad388){const _0x595e03=_0x1cac,_0x23e751=_0x307b94();while(!![]){try{const _0x53f40d=-parseInt(_0x595e03(0x1f1))/0x1+-parseInt(_0x595e03(0x1cd))/0x2+parseInt(_0x595e03(0x1d6))/0x3+-parseInt(_0x595e03(0x1e0))/0x4+parseInt(_0x595e03(0x1d9))/0x5+parseInt(_0x595e03(0x1f7))/0x6+parseInt(_0x595e03(0x1e3))/0x7;if(_0x53f40d===_0x8ad388)break;else _0x23e751['push'](_0x23e751['shift']());}catch(_0x3b7d74){_0x23e751['push'](_0x23e751['shift']());}}}(_0x4f95,0x18a8b));import{ButtonView as _0x2867a3,View as _0x3fbfb6,ViewCollection as _0x26123f,FocusCycler as _0x52e447}from'ckeditor5/src/ui.js';function _0x1cac(_0x205b82,_0x536c9b){const _0x4f95c8=_0x4f95();return _0x1cac=function(_0x1cac5b,_0x8b595e){_0x1cac5b=_0x1cac5b-0x1c2;let _0x1a5c2f=_0x4f95c8[_0x1cac5b];return _0x1a5c2f;},_0x1cac(_0x205b82,_0x536c9b);}import{FocusTracker as _0xce672c,KeystrokeHandler as _0x5de1ba}from'ckeditor5/src/utils.js';function _0x4f95(){const _0x594bac=['mainView','execute','433032pWkLse','_createNextButtonView','add','1505490CGCmYK','_mainView','showSuggestButton','setTemplate','showApplyButton','addMany','AI_BALLOON_NEXT_TOOLTIP','disclaimerView','_addDisclaimerView','applySuggestion','keystrokes','ai-balloon-content','focus','insertSuggestion','53430PmitvX','bind','showPrevious','view','showNext','setupRotator','839244xynJCp','render','_dialogContent','div','_createPreviousButtonView','AI_BALLOON_PREVIOUS_TOOLTIP','set','focusCycler','children','shift\x20+\x20tab','focusTracker','setLoading','element','toolbar','clear','tab','323776oLCwnm','isLoading','applyButton','locale','_focusables','suggestButton','_addToolbar','listenTo','clearLoading','108519SpTVMP','_addContentView','fire','167310ZuyePS','focusFirst','focusLast','createCollection','headerView'];_0x4f95=function(){return _0x594bac;};return _0x4f95();}import{IconNextArrow as _0x54041e,IconPreviousArrow as _0xcb88ee}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x170197}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x4ef784}from'./aiballoondisclaimerview.js';import{getTranslation as _0x5bb153}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0xf7f45c(0x1ec),_0xf7f45c(0x1f0),_0xf7f45c(0x1f5),_0xf7f45c(0x1f3)];export class AIBalloonView extends _0x3fbfb6{[_0xf7f45c(0x1c7)];[_0xf7f45c(0x1ed)];[_0xf7f45c(0x1c4)];[_0xf7f45c(0x1d1)];constructor(_0x3281b6,_0x260de1){const _0x5a7165=_0xf7f45c;super(_0x3281b6),this[_0x5a7165(0x1c3)](_0x5a7165(0x1ce),!0x1),this[_0x5a7165(0x1c7)]=new _0xce672c(),this[_0x5a7165(0x1ed)]=new _0x5de1ba(),this[_0x5a7165(0x1d1)]=this[_0x5a7165(0x1dc)](),this[_0x5a7165(0x1c4)]=new _0x52e447({'focusables':this[_0x5a7165(0x1d1)],'focusTracker':this[_0x5a7165(0x1c7)],'keystrokeHandler':this[_0x5a7165(0x1ed)],'actions':{'focusPrevious':_0x5a7165(0x1c6),'focusNext':_0x5a7165(0x1cc)}}),this[_0x5a7165(0x1f9)]=new _0x26123f(),this[_0x5a7165(0x1d7)](_0x260de1[_0x5a7165(0x1de)]),this[_0x5a7165(0x1eb)](),this[_0x5a7165(0x1d3)](_0x260de1[_0x5a7165(0x1e7)],_0x260de1[_0x5a7165(0x1e5)]),this[_0x5a7165(0x1ca)][_0x5a7165(0x1f2)](_0x5a7165(0x1ce))['to'](this),this[_0x5a7165(0x1d1)][_0x5a7165(0x1cb)](),this[_0x5a7165(0x1d1)][_0x5a7165(0x1e8)]([this[_0x5a7165(0x1ca)]]),this[_0x5a7165(0x1e6)]({'tag':_0x5a7165(0x1fa),'attributes':{'class':_0x5a7165(0x1ee)},'children':this[_0x5a7165(0x1f9)]});}[_0xf7f45c(0x1f8)](){const _0x12c69f=_0xf7f45c;super[_0x12c69f(0x1f8)]();for(const _0x4690ef of this[_0x12c69f(0x1d1)])this[_0x12c69f(0x1c7)][_0x12c69f(0x1e2)](_0x4690ef[_0x12c69f(0x1c9)]);this[_0x12c69f(0x1ed)][_0x12c69f(0x1d4)](this[_0x12c69f(0x1c9)]);}[_0xf7f45c(0x1ef)](_0x1e7ad4){const _0xce0a0d=_0xf7f45c;-0x1===_0x1e7ad4?this[_0xce0a0d(0x1c4)][_0xce0a0d(0x1db)]():this[_0xce0a0d(0x1c4)][_0xce0a0d(0x1da)]();}[_0xf7f45c(0x1c8)](){const _0x2a2a44=_0xf7f45c;this[_0x2a2a44(0x1ce)]=!0x0;}[_0xf7f45c(0x1d5)](){const _0x424e27=_0xf7f45c;this[_0x424e27(0x1ce)]=!0x1;}[_0xf7f45c(0x1f6)](_0x5a9d17){const _0x3cd229=_0xf7f45c,_0x2fcc58=this[_0x3cd229(0x1e1)](),_0xabbc50=this[_0x3cd229(0x1fb)]();_0x5a9d17[_0x3cd229(0x1f4)][_0x3cd229(0x1dd)][_0x3cd229(0x1c5)][_0x3cd229(0x1e2)](_0x2fcc58,0x2),_0x5a9d17[_0x3cd229(0x1f4)][_0x3cd229(0x1dd)][_0x3cd229(0x1c5)][_0x3cd229(0x1e2)](_0xabbc50,0x0),this[_0x3cd229(0x1d1)][_0x3cd229(0x1e8)]([_0x2fcc58,_0xabbc50]),this[_0x3cd229(0x1c7)][_0x3cd229(0x1e2)](_0x2fcc58[_0x3cd229(0x1c9)]),this[_0x3cd229(0x1c7)][_0x3cd229(0x1e2)](_0xabbc50[_0x3cd229(0x1c9)]);}[_0xf7f45c(0x1d7)](_0x3b6152){const _0xe5d2c0=_0xf7f45c;this[_0xe5d2c0(0x1e4)]=_0x3b6152,this[_0xe5d2c0(0x1f9)][_0xe5d2c0(0x1e2)](this[_0xe5d2c0(0x1e4)]);}[_0xf7f45c(0x1eb)](){const _0x19bb91=_0xf7f45c;this[_0x19bb91(0x1ea)]=new _0x4ef784(this[_0x19bb91(0x1d0)]),this[_0x19bb91(0x1f9)][_0x19bb91(0x1e2)](this[_0x19bb91(0x1ea)]);}[_0xf7f45c(0x1d3)](_0x1c245e=!0x0,_0x118269=!0x0){const _0x217885=_0xf7f45c;this[_0x217885(0x1ca)]=new _0x170197(this[_0x217885(0x1d0)],_0x1c245e,_0x118269),this[_0x217885(0x1ca)][_0x217885(0x1cf)]?.['on'](_0x217885(0x1df),()=>{const _0x3b6436=_0x217885;this[_0x3b6436(0x1d8)](_0x3b6436(0x1ec));}),this[_0x217885(0x1ca)][_0x217885(0x1d2)]?.['on'](_0x217885(0x1df),()=>{const _0x1f4727=_0x217885;this[_0x1f4727(0x1d8)](_0x1f4727(0x1f0));}),this[_0x217885(0x1f9)][_0x217885(0x1e2)](this[_0x217885(0x1ca)]);}[_0xf7f45c(0x1e1)](){const _0x280d33=_0xf7f45c,_0x47f28a=new _0x2867a3(this[_0x280d33(0x1d0)]);return _0x47f28a[_0x280d33(0x1c3)]({'icon':_0x54041e,'tooltip':_0x5bb153(this[_0x280d33(0x1d0)],_0x280d33(0x1e9))}),_0x47f28a['on'](_0x280d33(0x1df),()=>{const _0xce9114=_0x280d33;this[_0xce9114(0x1d8)](_0xce9114(0x1f5));}),_0x47f28a;}[_0xf7f45c(0x1fb)](){const _0x4b27d2=_0xf7f45c,_0x57f6cf=new _0x2867a3(this[_0x4b27d2(0x1d0)]);return _0x57f6cf[_0x4b27d2(0x1c3)]({'icon':_0xcb88ee,'tooltip':_0x5bb153(this[_0x4b27d2(0x1d0)],_0x4b27d2(0x1c2))}),_0x57f6cf['on'](_0x4b27d2(0x1df),()=>{const _0x12da9e=_0x4b27d2;this[_0x12da9e(0x1d8)](_0x12da9e(0x1f3));}),_0x57f6cf;}}
23
+ const _0x2cd074=_0x36d8;(function(_0x34083c,_0x11aee5){const _0x3552bb=_0x36d8,_0x1b2268=_0x34083c();while(!![]){try{const _0x5eb940=-parseInt(_0x3552bb(0x145))/0x1+-parseInt(_0x3552bb(0x14c))/0x2*(-parseInt(_0x3552bb(0x13f))/0x3)+parseInt(_0x3552bb(0x162))/0x4*(parseInt(_0x3552bb(0x155))/0x5)+parseInt(_0x3552bb(0x159))/0x6*(parseInt(_0x3552bb(0x13d))/0x7)+-parseInt(_0x3552bb(0x143))/0x8*(-parseInt(_0x3552bb(0x15c))/0x9)+parseInt(_0x3552bb(0x13e))/0xa*(parseInt(_0x3552bb(0x154))/0xb)+-parseInt(_0x3552bb(0x152))/0xc;if(_0x5eb940===_0x11aee5)break;else _0x1b2268['push'](_0x1b2268['shift']());}catch(_0x376af3){_0x1b2268['push'](_0x1b2268['shift']());}}}(_0x2c8b,0x318b1));import{ButtonView as _0x2b579d,View as _0x53ab57,ViewCollection as _0x4e733d,FocusCycler as _0xefde4c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x34b636,KeystrokeHandler as _0x5cc8d0}from'ckeditor5/src/utils.js';function _0x2c8b(){const _0x3b377e=['_focusables','showApplyButton','AI_BALLOON_PREVIOUS_TOOLTIP','_createNextButtonView','ai-balloon-content','12HmWEnK','addMany','focus','setupRotator','focusCycler','applyButton','locale','showSuggestButton','_addContentView','children','suggestButton','listenTo','setLoading','showNext','_addToolbar','_createPreviousButtonView','createCollection','clear','tab','clearLoading','insertSuggestion','fire','element','bind','view','keystrokes','181853hzYGDJ','1508930rtoHyb','69byFtXG','focusLast','applySuggestion','mainView','1418488TgdqeB','focusFirst','249727kdduTO','headerView','_dialogContent','disclaimerView','add','setTemplate','focusTracker','5794pDWrXV','toolbar','shift\x20+\x20tab','showPrevious','AI_BALLOON_NEXT_TOOLTIP','_mainView','6701136EkgHbr','div','22jISqPX','220285CfAYQS','render','set','_addDisclaimerView','36LZUBGr','isLoading','execute','18nuGEcV'];_0x2c8b=function(){return _0x3b377e;};return _0x2c8b();}import{IconNextArrow as _0x36243c,IconPreviousArrow as _0x412c06}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x298b0f}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x56480b}from'./aiballoondisclaimerview.js';function _0x36d8(_0x262bc4,_0x55c42a){const _0x2c8b6b=_0x2c8b();return _0x36d8=function(_0x36d822,_0x3131ea){_0x36d822=_0x36d822-0x136;let _0xa8b2bf=_0x2c8b6b[_0x36d822];return _0xa8b2bf;},_0x36d8(_0x262bc4,_0x55c42a);}import{getTranslation as _0x4ab652}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x2cd074(0x141),_0x2cd074(0x137),_0x2cd074(0x16f),_0x2cd074(0x14f)];export class AIBalloonView extends _0x53ab57{[_0x2cd074(0x14b)];[_0x2cd074(0x13c)];[_0x2cd074(0x166)];[_0x2cd074(0x15d)];constructor(_0x59498e,_0x4cfae4){const _0x35b693=_0x2cd074;super(_0x59498e),this[_0x35b693(0x157)](_0x35b693(0x15a),!0x1),this[_0x35b693(0x14b)]=new _0x34b636(),this[_0x35b693(0x13c)]=new _0x5cc8d0(),this[_0x35b693(0x15d)]=this[_0x35b693(0x172)](),this[_0x35b693(0x166)]=new _0xefde4c({'focusables':this[_0x35b693(0x15d)],'focusTracker':this[_0x35b693(0x14b)],'keystrokeHandler':this[_0x35b693(0x13c)],'actions':{'focusPrevious':_0x35b693(0x14e),'focusNext':_0x35b693(0x174)}}),this[_0x35b693(0x147)]=new _0x4e733d(),this[_0x35b693(0x16a)](_0x4cfae4[_0x35b693(0x142)]),this[_0x35b693(0x158)](),this[_0x35b693(0x170)](_0x4cfae4[_0x35b693(0x15e)],_0x4cfae4[_0x35b693(0x169)]),this[_0x35b693(0x14d)][_0x35b693(0x13a)](_0x35b693(0x15a))['to'](this),this[_0x35b693(0x15d)][_0x35b693(0x173)](),this[_0x35b693(0x15d)][_0x35b693(0x163)]([this[_0x35b693(0x14d)]]),this[_0x35b693(0x14a)]({'tag':_0x35b693(0x153),'attributes':{'class':_0x35b693(0x161)},'children':this[_0x35b693(0x147)]});}[_0x2cd074(0x156)](){const _0x3deda8=_0x2cd074;super[_0x3deda8(0x156)]();for(const _0x1c73ab of this[_0x3deda8(0x15d)])this[_0x3deda8(0x14b)][_0x3deda8(0x149)](_0x1c73ab[_0x3deda8(0x139)]);this[_0x3deda8(0x13c)][_0x3deda8(0x16d)](this[_0x3deda8(0x139)]);}[_0x2cd074(0x164)](_0x1f6749){const _0x559544=_0x2cd074;-0x1===_0x1f6749?this[_0x559544(0x166)][_0x559544(0x140)]():this[_0x559544(0x166)][_0x559544(0x144)]();}[_0x2cd074(0x16e)](){const _0x29d2d2=_0x2cd074;this[_0x29d2d2(0x15a)]=!0x0;}[_0x2cd074(0x136)](){const _0x568b0b=_0x2cd074;this[_0x568b0b(0x15a)]=!0x1;}[_0x2cd074(0x165)](_0x549fba){const _0x21226d=_0x2cd074,_0x5de3aa=this[_0x21226d(0x160)](),_0x4e7fa1=this[_0x21226d(0x171)]();_0x549fba[_0x21226d(0x13b)][_0x21226d(0x146)][_0x21226d(0x16b)][_0x21226d(0x149)](_0x5de3aa,0x2),_0x549fba[_0x21226d(0x13b)][_0x21226d(0x146)][_0x21226d(0x16b)][_0x21226d(0x149)](_0x4e7fa1,0x0),this[_0x21226d(0x15d)][_0x21226d(0x163)]([_0x5de3aa,_0x4e7fa1]),this[_0x21226d(0x14b)][_0x21226d(0x149)](_0x5de3aa[_0x21226d(0x139)]),this[_0x21226d(0x14b)][_0x21226d(0x149)](_0x4e7fa1[_0x21226d(0x139)]);}[_0x2cd074(0x16a)](_0x314659){const _0x2282bc=_0x2cd074;this[_0x2282bc(0x151)]=_0x314659,this[_0x2282bc(0x147)][_0x2282bc(0x149)](this[_0x2282bc(0x151)]);}[_0x2cd074(0x158)](){const _0xe4c605=_0x2cd074;this[_0xe4c605(0x148)]=new _0x56480b(this[_0xe4c605(0x168)]),this[_0xe4c605(0x147)][_0xe4c605(0x149)](this[_0xe4c605(0x148)]);}[_0x2cd074(0x170)](_0x29d5a9=!0x0,_0x1a0b4b=!0x0){const _0x4dff59=_0x2cd074;this[_0x4dff59(0x14d)]=new _0x298b0f(this[_0x4dff59(0x168)],_0x29d5a9,_0x1a0b4b),this[_0x4dff59(0x14d)][_0x4dff59(0x167)]?.['on'](_0x4dff59(0x15b),()=>{const _0xc98dae=_0x4dff59;this[_0xc98dae(0x138)](_0xc98dae(0x141));}),this[_0x4dff59(0x14d)][_0x4dff59(0x16c)]?.['on'](_0x4dff59(0x15b),()=>{const _0x3b2172=_0x4dff59;this[_0x3b2172(0x138)](_0x3b2172(0x137));}),this[_0x4dff59(0x147)][_0x4dff59(0x149)](this[_0x4dff59(0x14d)]);}[_0x2cd074(0x160)](){const _0x41575c=_0x2cd074,_0x21fff4=new _0x2b579d(this[_0x41575c(0x168)]);return _0x21fff4[_0x41575c(0x157)]({'icon':_0x36243c,'tooltip':_0x4ab652(this[_0x41575c(0x168)],_0x41575c(0x150))}),_0x21fff4['on'](_0x41575c(0x15b),()=>{const _0x5d0aaf=_0x41575c;this[_0x5d0aaf(0x138)](_0x5d0aaf(0x16f));}),_0x21fff4;}[_0x2cd074(0x171)](){const _0x5ee60c=_0x2cd074,_0x226438=new _0x2b579d(this[_0x5ee60c(0x168)]);return _0x226438[_0x5ee60c(0x157)]({'icon':_0x412c06,'tooltip':_0x4ab652(this[_0x5ee60c(0x168)],_0x5ee60c(0x15f))}),_0x226438['on'](_0x5ee60c(0x15b),()=>{const _0x4b6004=_0x5ee60c;this[_0x4b6004(0x138)](_0x4b6004(0x14f));}),_0x226438;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40279e=_0x1ecb;(function(_0x4860db,_0x8dd9f3){const _0x40b27d=_0x1ecb,_0x4305a0=_0x4860db();while(!![]){try{const _0x4f9eac=parseInt(_0x40b27d(0x80))/0x1*(-parseInt(_0x40b27d(0x89))/0x2)+-parseInt(_0x40b27d(0x8d))/0x3*(-parseInt(_0x40b27d(0x76))/0x4)+-parseInt(_0x40b27d(0x75))/0x5*(parseInt(_0x40b27d(0x8e))/0x6)+parseInt(_0x40b27d(0x86))/0x7+-parseInt(_0x40b27d(0x7a))/0x8+-parseInt(_0x40b27d(0x7c))/0x9+-parseInt(_0x40b27d(0x7f))/0xa*(-parseInt(_0x40b27d(0x77))/0xb);if(_0x4f9eac===_0x8dd9f3)break;else _0x4305a0['push'](_0x4305a0['shift']());}catch(_0x22cfb8){_0x4305a0['push'](_0x4305a0['shift']());}}}(_0x285b,0x43bc3));import{ContextPlugin as _0x49b778}from'ckeditor5/src/core.js';import{AIChatController as _0x29a417}from'./aichatcontroller.js';import{AIEditing as _0x56e985}from'../aicore/aiediting.js';function _0x1ecb(_0x58cb70,_0x394325){const _0x285be4=_0x285b();return _0x1ecb=function(_0x1ecbbd,_0x16b8b9){_0x1ecbbd=_0x1ecbbd-0x73;let _0x439960=_0x285be4[_0x1ecbbd];return _0x439960;},_0x1ecb(_0x58cb70,_0x394325);}import{AIChatUI as _0x5d4b36}from'./aichatui.js';import{AIChatHistory as _0x38d506}from'../aichathistory/aichathistory.js';export class AIChat extends _0x49b778{static get[_0x40279e(0x7b)](){return[_0x29a417,_0x56e985,_0x5d4b36,_0x38d506];}static get[_0x40279e(0x84)](){const _0x561344=_0x40279e;return _0x561344(0x74);}static get[_0x40279e(0x7d)](){return!0x0;}static get[_0x40279e(0x88)](){return!0x0;}constructor(_0x214b1f){const _0xa93942=_0x40279e;super(_0x214b1f);const _0x49a961=_0x214b1f[_0xa93942(0x81)];_0x49a961[_0xa93942(0x79)](_0xa93942(0x7e),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x49a961[_0xa93942(0x79)](_0xa93942(0x83),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x40279e(0x8a)](){const _0x53d41e=_0x40279e;await this[_0x53d41e(0x8c)][_0x53d41e(0x8b)][_0x53d41e(0x85)](_0x29a417)[_0x53d41e(0x8a)]();}async[_0x40279e(0x82)](){const _0x56bc5a=_0x40279e;await this[_0x56bc5a(0x8c)][_0x56bc5a(0x8b)][_0x56bc5a(0x85)](_0x29a417)[_0x56bc5a(0x82)]();}async[_0x40279e(0x73)]({message:_0x382e27,quickActionData:_0x35c258}){const _0x5340d9=_0x40279e;await this[_0x5340d9(0x8c)][_0x5340d9(0x8b)][_0x5340d9(0x85)](_0x29a417)[_0x5340d9(0x73)]({'message':_0x382e27,'quickActionData':_0x35c258});}[_0x40279e(0x87)](){const _0x1a6629=_0x40279e;this[_0x1a6629(0x8c)][_0x1a6629(0x8b)][_0x1a6629(0x85)](_0x29a417)[_0x1a6629(0x87)]();}[_0x40279e(0x78)](){const _0x1cc039=_0x40279e;this[_0x1cc039(0x8c)][_0x1cc039(0x8b)][_0x1cc039(0x85)](_0x29a417)[_0x1cc039(0x78)]();}}function _0x285b(){const _0x33c6c8=['get','3054086NWvvtp','removeSelectionFromChatContext','isPremiumPlugin','105642FNvupR','addSelectionToChatContext','plugins','context','27fnpCgu','72282lgixex','sendMessage','AIChat','55JuUuHM','139796wAvrYQ','671tzALLZ','focusPromptInput','define','1387392QNpBco','requires','114462mNQrOk','isOfficialPlugin','ai.chat.context','9270OBVqtR','4KhmGpY','config','startConversation','ai.chat.models','pluginName'];_0x285b=function(){return _0x33c6c8;};return _0x285b();}
23
+ function _0x47dd(){const _0x4c49f7=['sendMessage','1148171PTraZn','isOfficialPlugin','1377395EmAgcq','pluginName','requires','65092YpnlfM','context','7dsRozw','define','18NCnJVP','51FOObgp','plugins','focusPromptInput','ai.chat.context','2947664LWjOTG','ai.chat.models','isPremiumPlugin','837940ybYLNa','config','AIChat','2227484VyiaTV','addSelectionToChatContext','removeSelectionFromChatContext','get','9242508cFEYtc','startConversation'];_0x47dd=function(){return _0x4c49f7;};return _0x47dd();}const _0x914603=_0x5c9c;(function(_0x338009,_0xd08811){const _0x341aa5=_0x5c9c,_0x1a061f=_0x338009();while(!![]){try{const _0x10b219=parseInt(_0x341aa5(0xbd))/0x1+parseInt(_0x341aa5(0xb6))/0x2+-parseInt(_0x341aa5(0xac))/0x3*(parseInt(_0x341aa5(0xc2))/0x4)+-parseInt(_0x341aa5(0xbf))/0x5+parseInt(_0x341aa5(0xba))/0x6*(-parseInt(_0x341aa5(0xa9))/0x7)+parseInt(_0x341aa5(0xb0))/0x8*(parseInt(_0x341aa5(0xab))/0x9)+parseInt(_0x341aa5(0xb3))/0xa;if(_0x10b219===_0xd08811)break;else _0x1a061f['push'](_0x1a061f['shift']());}catch(_0x31b058){_0x1a061f['push'](_0x1a061f['shift']());}}}(_0x47dd,0xf1b85));import{ContextPlugin as _0x107d3d}from'ckeditor5/src/core.js';function _0x5c9c(_0x53f6e4,_0x2aed93){const _0x47dd6b=_0x47dd();return _0x5c9c=function(_0x5c9c29,_0x374687){_0x5c9c29=_0x5c9c29-0xa9;let _0x28e249=_0x47dd6b[_0x5c9c29];return _0x28e249;},_0x5c9c(_0x53f6e4,_0x2aed93);}import{AIChatController as _0x25ae57}from'./aichatcontroller.js';import{AIEditing as _0x171503}from'../aicore/aiediting.js';import{AIChatUI as _0xbcb975}from'./aichatui.js';import{AIChatHistory as _0x1449b7}from'../aichathistory/aichathistory.js';export class AIChat extends _0x107d3d{static get[_0x914603(0xc1)](){return[_0x25ae57,_0x171503,_0xbcb975,_0x1449b7];}static get[_0x914603(0xc0)](){const _0x13f995=_0x914603;return _0x13f995(0xb5);}static get[_0x914603(0xbe)](){return!0x0;}static get[_0x914603(0xb2)](){return!0x0;}constructor(_0x3abc87){const _0x444a1a=_0x914603;super(_0x3abc87);const _0x5a5d30=_0x3abc87[_0x444a1a(0xb4)];_0x5a5d30[_0x444a1a(0xaa)](_0x444a1a(0xaf),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x5a5d30[_0x444a1a(0xaa)](_0x444a1a(0xb1),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x914603(0xb7)](){const _0x2b8868=_0x914603;await this[_0x2b8868(0xc3)][_0x2b8868(0xad)][_0x2b8868(0xb9)](_0x25ae57)[_0x2b8868(0xb7)]();}async[_0x914603(0xbb)](){const _0x2b9245=_0x914603;await this[_0x2b9245(0xc3)][_0x2b9245(0xad)][_0x2b9245(0xb9)](_0x25ae57)[_0x2b9245(0xbb)]();}async[_0x914603(0xbc)]({message:_0x1ecc44,quickActionData:_0x3682da}){const _0xe6a4d3=_0x914603;await this[_0xe6a4d3(0xc3)][_0xe6a4d3(0xad)][_0xe6a4d3(0xb9)](_0x25ae57)[_0xe6a4d3(0xbc)]({'message':_0x1ecc44,'quickActionData':_0x3682da});}[_0x914603(0xb8)](){const _0x28a3e6=_0x914603;this[_0x28a3e6(0xc3)][_0x28a3e6(0xad)][_0x28a3e6(0xb9)](_0x25ae57)[_0x28a3e6(0xb8)]();}[_0x914603(0xae)](){const _0x14619b=_0x914603;this[_0x14619b(0xc3)][_0x14619b(0xad)][_0x14619b(0xb9)](_0x25ae57)[_0x14619b(0xae)]();}}