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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +59 -38
  41. package/dist/index.css +77 -39
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +40 -1
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aiconfig.d.ts +5 -0
  303. package/src/aicore/aiconnector.js +1 -1
  304. package/src/aicore/aiediting.js +1 -1
  305. package/src/aicore/model/aicapabilities.js +1 -1
  306. package/src/aicore/model/aicontext.js +1 -1
  307. package/src/aicore/model/aiinteraction.js +1 -1
  308. package/src/aicore/model/aireply.js +1 -1
  309. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  310. package/src/aicore/pipeline/airesponseparser.js +2 -2
  311. package/src/aicore/ui/aidisclaimerview.js +1 -1
  312. package/src/aicore/ui/aiskeleton.js +1 -1
  313. package/src/aicore/ui/aispinner.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  321. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  322. package/src/aicore/utils/common-translations.js +1 -1
  323. package/src/aicore/utils/createresizebutton.js +1 -1
  324. package/src/aicore/utils/documentposition.js +1 -1
  325. package/src/aicore/utils/documentrange.js +1 -1
  326. package/src/aicore/utils/eventnames.js +1 -1
  327. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  328. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  330. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  331. package/src/aicore/utils/htmlparser.js +1 -1
  332. package/src/aicore/utils/htmlstreamer.js +1 -1
  333. package/src/aiquickactions/aiquickactions.js +1 -1
  334. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  335. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  336. package/src/aiquickactions/aiquickactionsui.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  339. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  340. package/src/aiquickactions/utils/common-translations.js +1 -1
  341. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  342. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  343. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  344. package/src/aireviewmode/aireviewmode.js +1 -1
  345. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  346. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  347. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  348. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  349. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  350. package/src/aireviewmode/aireviewmodeui.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  352. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  354. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  355. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  356. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  357. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  358. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  359. package/src/aireviewmode/model/aireviewcheckrun.d.ts +24 -2
  360. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  361. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  362. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  363. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  364. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  365. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  366. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  368. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  369. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  370. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  371. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  372. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  373. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  374. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  375. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  376. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  377. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  378. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  379. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  380. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  381. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  382. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  383. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  384. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  385. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  386. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  387. package/src/aitabs/aitabs.js +1 -1
  388. package/src/aitabs/aitabsmainview.js +1 -1
  389. package/src/aitabs/tabs/aitabsview.js +1 -1
  390. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  391. package/src/aitabs/tabs/tabpanelview.js +1 -1
  392. package/src/index.d.ts +3 -2
  393. package/src/index.js +1 -1
  394. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  395. package/theme/aichat/aichat-controls.css +4 -0
  396. package/theme/aichat/aichatfeed.css +10 -2
  397. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  398. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  399. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
  400. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  401. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  402. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25dc(){const _0x528fa5=['45912IbljDe','createPositionAfter','isContent','ck-fake-ai-selection','1902vvqzfP','config','getMarkersGroup','getLastPosition','getChildren','markerRange','213DJDJxF','DataTransfer','paste','length','14ynkrFp','from','join','14uGyDwL','lowest','insertContent','editing','createRange','get','getFirstRange','forEach','ck-fake-ai-selection_collapsed','deleteContent','AIAssistantEditing','text/html','getColumnIndexes','document','setData','1323696iEuKpt','pluginName','start','fire','pop','getChild','span','removeMarker','schema','_getAISelection','addClass','init','insertContentBelow','getRange','off','has','resultRange','parse','isAtEnd','_resetContentOfSelectedTableCells','hideFakeVisualSelection','map','getSelectedBlocks','43811ShoZIF','once','table','data','filter','ck-ai-assistant-ui_theme','setSelection','TableUtils','isCollapsed','href','_getTableRowCountFromContent','markerToHighlight','markerToElement','addMarker','getRanges','updateMarker','selection','element','canEditAt','editor','36mwLJFK','ai.assistant.useTheme','createUIElement','40mpHyQK','getRows','getSelectedTableCells','getLastMatchingPosition','findAncestor','last','editingDowncast','change','1507tPOoqg','1922769scRNxL','createPositionAt','for','first','50068sTbDPS','fromCharCode','contentInsertion','isPremiumPlugin','isOfficialPlugin','createSelection','afterInit','_pasteHTMLUsingClipboard','_getDefaultInsertBelowPosition','showFakeVisualSelection','insertRows','conversion','9035SceLqf','plugins','markers','_prepareTableInsertBelowPosition','getRowIndexes','_createEmptyTableRows','end','model','push','ai-ui','21469318ziOeEH'];_0x25dc=function(){return _0x528fa5;};return _0x25dc();}const _0x25b1a5=_0x251a;(function(_0x42fa1f,_0x292057){const _0x1ec8cb=_0x251a,_0x360014=_0x42fa1f();while(!![]){try{const _0x328c4c=-parseInt(_0x1ec8cb(0x236))/0x1*(parseInt(_0x1ec8cb(0x24a))/0x2)+parseInt(_0x1ec8cb(0x209))/0x3*(-parseInt(_0x1ec8cb(0x1e8))/0x4)+-parseInt(_0x1ec8cb(0x1f4))/0x5*(-parseInt(_0x1ec8cb(0x203))/0x6)+-parseInt(_0x1ec8cb(0x20d))/0x7*(parseInt(_0x1ec8cb(0x21f))/0x8)+parseInt(_0x1ec8cb(0x1e4))/0x9*(parseInt(_0x1ec8cb(0x24d))/0xa)+parseInt(_0x1ec8cb(0x1e3))/0xb*(-parseInt(_0x1ec8cb(0x1ff))/0xc)+-parseInt(_0x1ec8cb(0x1fe))/0xd*(-parseInt(_0x1ec8cb(0x210))/0xe);if(_0x328c4c===_0x292057)break;else _0x360014['push'](_0x360014['shift']());}catch(_0xaa400c){_0x360014['push'](_0x360014['shift']());}}}(_0x25dc,0x856ae));import{uid as _0x370572}from'ckeditor5/src/utils.js';import{Plugin as _0x514b44}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5665dd}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x39e609,ViewDataTransfer as _0x42b70c}from'ckeditor5/src/engine.js';const O=globalThis[_0x25b1a5(0x20a)],P=_0x25b1a5(0x1fd);function _0x251a(_0xd94e,_0x3f62b7){const _0x25dcc4=_0x25dc();return _0x251a=function(_0x251a93,_0x2305ad){_0x251a93=_0x251a93-0x1df;let _0x25e647=_0x25dcc4[_0x251a93];return _0x25e647;},_0x251a(_0xd94e,_0x3f62b7);}export class AIAssistantEditing extends _0x514b44{static get[_0x25b1a5(0x220)](){const _0x3c6981=_0x25b1a5;return _0x3c6981(0x21a);}static get[_0x25b1a5(0x1ec)](){return!0x0;}static get[_0x25b1a5(0x1eb)](){return!0x0;}[_0x25b1a5(0x22a)](){const _0x1539d9=_0x25b1a5,{editor:_0x5bdb1a}=this,_0x147002=[_0x1539d9(0x202)];_0x5bdb1a[_0x1539d9(0x204)][_0x1539d9(0x215)](_0x1539d9(0x24b))&&_0x147002[_0x1539d9(0x1fc)](_0x1539d9(0x23b)),_0x5bdb1a[_0x1539d9(0x1f3)][_0x1539d9(0x1e6)](_0x1539d9(0x1e1))[_0x1539d9(0x241)]({'model':P,'view':{'classes':_0x147002,'priority':0xc}}),_0x5bdb1a[_0x1539d9(0x1f3)][_0x1539d9(0x1e6)](_0x1539d9(0x1e1))[_0x1539d9(0x242)]({'model':P,'view':(_0x538ad2,{writer:_0x26c140})=>{const _0x532bc9=_0x1539d9;if(!_0x538ad2[_0x532bc9(0x208)][_0x532bc9(0x23e)])return null;const _0x40be67=_0x26c140[_0x532bc9(0x24c)](_0x532bc9(0x225));return _0x26c140[_0x532bc9(0x229)]([_0x532bc9(0x202),_0x532bc9(0x218)],_0x40be67),_0x40be67;}});}[_0x25b1a5(0x1ee)](){!async function(_0x48f4da){const _0x58c388=_0x46e21e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x239deb=0x3dffc4e1,_0x58b19f=0x3df8b081^_0x239deb,_0x234d84=window[_0x46e21e([0x44,0x61,0x74,0x65])][_0x46e21e([0x6e,0x6f,0x77])](),_0x16c35c=_0x48f4da[_0x46e21e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x212d4a=new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2abe=>{_0x16c35c[_0x46e21e([0x6f,0x6e,0x63,0x65])](_0x46e21e([0x72,0x65,0x61,0x64,0x79]),_0x5b2abe);}),_0x2ab22d={[_0x46e21e([0x6b,0x74,0x79])]:_0x46e21e([0x45,0x43]),[_0x46e21e([0x75,0x73,0x65])]:_0x46e21e([0x73,0x69,0x67]),[_0x46e21e([0x63,0x72,0x76])]:_0x46e21e([0x50,0x2d,0x32,0x35,0x36]),[_0x46e21e([0x78])]:_0x46e21e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x46e21e([0x79])]:_0x46e21e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x46e21e([0x61,0x6c,0x67])]:_0x46e21e([0x45,0x53,0x32,0x35,0x36])},_0x9e5a62=_0x16c35c[_0x46e21e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46e21e([0x67,0x65,0x74])](_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbaf473(){let _0x74c465,_0xb065e3=null,_0x351746=null;try{if(_0x9e5a62==_0x46e21e([0x47,0x50,0x4c]))return _0x46e21e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x74c465=_0x118e63(),!_0x74c465)return _0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x74c465[_0x46e21e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x351746=_0x229646(_0x74c465[_0x46e21e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x74c465[_0x46e21e([0x6a,0x74,0x69])])),await _0x4d8eaa()?_0x27221d()?_0xb160f7()?_0x46e21e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dd689()?(_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e21e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb065e3=_0x1ff5d4(_0x46e21e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e21e([0x74,0x72,0x69,0x61,0x6c])&&(_0xb065e3=_0x1ff5d4(_0x46e21e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x40e846()):_0x46e21e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46e21e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46e21e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb160f7(){const _0x2b09af=[_0x46e21e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46e21e([0x74,0x72,0x69,0x61,0x6c])][_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234d84/0x3e8:0xe10*_0x58b19f;return _0x74c465[_0x46e21e([0x65,0x78,0x70])]<_0x2b09af;}function _0x27221d(){const _0x24ea5d=_0x74c465[_0x46e21e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24ea5d&&(!!_0x24ea5d[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x2a]))||!!_0x24ea5d[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x41,0x49])));}function _0x5dd689(){const _0x23a01c=_0x251a,_0x4715c4=_0x74c465[_0x46e21e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4715c4||0x0==_0x4715c4[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe046fa}=new URL(window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23a01c(0x23f)]);if(_0x4715c4[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe046fa))return!0x0;const _0x29a179=_0xe046fa[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e]));return _0x4715c4[_0x46e21e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x105c9c=>_0x105c9c[_0x46e21e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e21e([0x2a])))[_0x46e21e([0x6d,0x61,0x70])](_0x4f01d6=>_0x4f01d6[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e])))[_0x46e21e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x695edd=>_0x695edd[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29a179[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e21e([0x6d,0x61,0x70])](_0x4173e5=>Array(_0x29a179[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4173e5[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e21e([0x66,0x69,0x6c,0x6c])](_0x4173e5[0x0]===_0x46e21e([0x2a])?_0x46e21e([0x2a]):'')[_0x46e21e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4173e5))[_0x46e21e([0x73,0x6f,0x6d,0x65])](_0x2ef665=>_0x29a179[_0x46e21e([0x65,0x76,0x65,0x72,0x79])]((_0x102ba5,_0x5305cc)=>_0x2ef665[_0x5305cc]===_0x102ba5||_0x2ef665[_0x5305cc]===_0x46e21e([0x2a])));}function _0x40e846(){return _0xb065e3&&_0x351746?new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42ffca,_0x5377f0)=>{_0xb065e3[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x42ffca,_0x5377f0),_0x351746[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x5eaf6d=>{_0x5eaf6d!=_0x46e21e([0x56,0x61,0x6c,0x69,0x64])&&_0x42ffca(_0x5eaf6d);},_0x5377f0);}):_0xb065e3||_0x351746||_0x46e21e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x229646(_0x4ca8ee,_0x256ad0){return new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x549497=>{if(_0x39f07f())return _0x549497(_0x46e21e([0x56,0x61,0x6c,0x69,0x64]));_0x2c8f00(),_0x16c35c[_0x46e21e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x291931=!0x1;const _0x5c03ef=_0x370572();function _0x348879(_0x5a58a3){return!!_0x5a58a3&&(typeof _0x5a58a3===_0x46e21e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a58a3===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a58a3[_0x46e21e([0x74,0x68,0x65,0x6e])]===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a58a3[_0x46e21e([0x63,0x61,0x74,0x63,0x68])]===_0x46e21e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24aff1(_0x50726a){_0x5401d7(_0x50726a)[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x867802=>{if(!_0x867802||_0x867802[_0x46e21e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46e21e([0x6f,0x6b]))return _0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x225225(_0x275277(_0x5c03ef+_0x256ad0))!=_0x867802[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46e21e([0x56,0x61,0x6c,0x69,0x64]);})[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x33ffc0=>(_0x111e9a(),_0x33ffc0),()=>{const _0xc7711f=_0x51faa1();return null==_0xc7711f?(_0x111e9a(),_0x46e21e([0x56,0x61,0x6c,0x69,0x64])):_0x46e21e(_0x234d84-_0xc7711f>(0x19f340e1^_0x239deb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x549497)[_0x46e21e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ca44a=0x3dc92a61^_0x239deb;function _0x111e9a(){const _0xaa832f=_0x46e21e([0x6c,0x6c,0x63,0x74,0x2d])+_0x225225(_0x275277(_0x4ca8ee)),_0x109592=_0x202b58(_0x225225(window[_0x46e21e([0x4d,0x61,0x74,0x68])][_0x46e21e([0x63,0x65,0x69,0x6c])](_0x234d84/_0x2ca44a)));window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e21e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaa832f,_0x109592);}function _0x51faa1(){const _0x4c8da3=_0x46e21e([0x6c,0x6c,0x63,0x74,0x2d])+_0x225225(_0x275277(_0x4ca8ee)),_0x28454f=window[_0x46e21e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e21e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8da3);return _0x28454f?window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x202b58(_0x28454f),0x10)*_0x2ca44a:null;}function _0x5401d7(_0x294d1c){return new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1051eb,_0x15bf00)=>{_0x294d1c[_0x46e21e([0x74,0x68,0x65,0x6e])](_0x1051eb,_0x15bf00),window[_0x46e21e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15bf00,0x3dfe1021^_0x239deb);});}}_0x16c35c[_0x46e21e([0x6f,0x6e])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x431ab3,_0x411929)=>{if(_0x411929[0x0]!=_0x4ca8ee)return _0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x411929[0x1]={..._0x411929[0x1],[_0x46e21e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c03ef};},{[_0x46e21e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e21e([0x68,0x69,0x67,0x68])}),_0x16c35c[_0x46e21e([0x6f,0x6e])](_0x46e21e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a3714=>{_0x348879(_0x3a3714[_0x46e21e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x291931=!0x0,_0x24aff1(_0x3a3714[_0x46e21e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46e21e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e21e([0x6c,0x6f,0x77])}),_0x212d4a[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>{_0x291931||_0x549497(_0x46e21e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39f07f(){return _0x16c35c[_0x46e21e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e21e([0x76,0x69,0x65,0x77])][_0x46e21e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46e21e([0x61,0x75,0x74,0x6f]);}function _0x2c8f00(){_0x16c35c[_0x46e21e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e21e([0x76,0x69,0x65,0x77])][_0x46e21e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46e21e([0x61,0x75,0x74,0x6f]);}}function _0x1ff5d4(_0x28e736){const _0x5b7035=[new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29b41c=>setTimeout(_0x29b41c,0x3df6fa2d^_0x239deb)),_0x212d4a[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dcddc=>{let _0x55b39f=0x0;_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x6f,0x6e])](_0x46e21e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251d7d,_0x1f149c)=>{_0x1f149c[0x0][_0x46e21e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55b39f++,_0x55b39f==(0x3dffc519^_0x239deb)&&(_0x1dcddc(),_0x251d7d[_0x46e21e([0x6f,0x66,0x66])]());});}))];return window[_0x46e21e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46e21e([0x72,0x61,0x63,0x65])](_0x5b7035)[_0x46e21e([0x74,0x68,0x65,0x6e])](()=>_0x28e736);}async function _0x4a5f0b(){await _0x212d4a,_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad84,_0x16c35c[_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e21e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3dad84,_0x16c35c[_0x46e21e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46e21e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b4a73(_0x152297){const _0xce34b1=_0x205e18();_0x16c35c[_0xce34b1]=_0x46e21e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x152297,_0x152297!=_0x46e21e([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5f0b();}function _0x205e18(){const _0x918ca5=window[_0x46e21e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46e21e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46e21e([0x6e,0x6f,0x77])]())[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46e21e([0x2e]),'');let _0x285e40=_0x46e21e([0x6e]);for(let _0x543d03=0x0;_0x543d03<_0x918ca5[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x543d03+=0x2){let _0x477816=window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x918ca5[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x543d03,_0x543d03+0x2));_0x477816>=_0x58c388[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x477816-=_0x58c388[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x285e40+=_0x58c388[_0x477816];}return _0x285e40;}function _0x118e63(){const _0x3c1671=_0x9e5a62[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e]));if(0x3!=_0x3c1671[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15017a(_0x3c1671[0x1]);function _0x15017a(_0x42ce75){const _0x18ef25=_0x35d326(_0x42ce75);return _0x18ef25&&_0x32f327()?_0x18ef25:null;function _0x32f327(){const _0xc09666=_0x18ef25[_0x46e21e([0x6a,0x74,0x69])],_0x27f635=window[_0x46e21e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc09666[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc09666[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4371e9={..._0x18ef25,[_0x46e21e([0x6a,0x74,0x69])]:_0xc09666[_0x46e21e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc09666[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4371e9[_0x46e21e([0x76,0x63])],_0x275277(_0x4371e9)==_0x27f635;}}}async function _0x4d8eaa(){let _0x3c14a5=!0x0;try{const _0x52c5d9=_0x9e5a62[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])](_0x46e21e([0x2e])),[_0x18f257,_0x34265d,_0x4b26d1]=_0x52c5d9;return _0x38f8ee(_0x18f257),await _0x4a359e(_0x18f257,_0x34265d,_0x4b26d1),_0x3c14a5;}catch{return!0x1;}function _0x38f8ee(_0x55a91e){const _0x33eb06=_0x35d326(_0x55a91e);_0x33eb06&&_0x33eb06[_0x46e21e([0x61,0x6c,0x67])]==_0x46e21e([0x45,0x53,0x32,0x35,0x36])||(_0x3c14a5=!0x1);}async function _0x4a359e(_0x40d695,_0x5d8fe3,_0x2c69cb){const _0x27f63a=window[_0x46e21e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46e21e([0x66,0x72,0x6f,0x6d])](_0x531ca6(_0x2c69cb),_0x4ed751=>_0x4ed751[_0x46e21e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b6ea5=new window[(_0x46e21e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46e21e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40d695+_0x46e21e([0x2e])+_0x5d8fe3),_0x247fe5=window[_0x46e21e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46e21e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x247fe5)return;const _0x1c4c90=await _0x247fe5[_0x46e21e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46e21e([0x6a,0x77,0x6b]),_0x2ab22d,{[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x45,0x43,0x44,0x53,0x41]),[_0x46e21e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46e21e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x247fe5[_0x46e21e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x45,0x43,0x44,0x53,0x41]),[_0x46e21e([0x68,0x61,0x73,0x68])]:{[_0x46e21e([0x6e,0x61,0x6d,0x65])]:_0x46e21e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c4c90,_0x27f63a,_0x4b6ea5)||(_0x3c14a5=!0x1);}}function _0x35d326(_0x53989e){return _0x53989e[_0x46e21e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46e21e([0x65,0x79]))?JSON[_0x46e21e([0x70,0x61,0x72,0x73,0x65])](_0x531ca6(_0x53989e)):null;}function _0x531ca6(_0x379872){return window[_0x46e21e([0x61,0x74,0x6f,0x62])](_0x379872[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46e21e([0x2b]))[_0x46e21e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46e21e([0x2f])));}function _0x275277(_0x271e52){let _0x1b09e9=0x1505;function _0x5089cd(_0x2af915){for(let _0x172a3b=0x0;_0x172a3b<_0x2af915[_0x46e21e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172a3b++){const _0x39f491=_0x2af915[_0x46e21e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172a3b);_0x1b09e9=(_0x1b09e9<<0x5)+_0x1b09e9+_0x39f491,_0x1b09e9&=_0x1b09e9;}}function _0x3a1e82(_0x48a2ac){Array[_0x46e21e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48a2ac)?_0x48a2ac[_0x46e21e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a1e82):_0x48a2ac&&typeof _0x48a2ac==_0x46e21e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46e21e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48a2ac)[_0x46e21e([0x73,0x6f,0x72,0x74])]()[_0x46e21e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3beaaf,_0xfe9313])=>{_0x5089cd(_0x3beaaf),_0x3a1e82(_0xfe9313);}):_0x5089cd(window[_0x46e21e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48a2ac));}return _0x3a1e82(_0x271e52),_0x1b09e9>>>0x0;}function _0x225225(_0x1311c5){return _0x1311c5[_0x46e21e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46e21e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46e21e([0x30]));}function _0x202b58(_0x2d9c35){return _0x2d9c35[_0x46e21e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46e21e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46e21e([0x6a,0x6f,0x69,0x6e])]('');}function _0x3dad84(){}function _0x46e21e(_0x380d71){const _0x4ed0dc=_0x251a;return _0x380d71[_0x4ed0dc(0x234)](_0x1d44cf=>String[_0x4ed0dc(0x1e9)](_0x1d44cf))[_0x4ed0dc(0x20f)]('');}_0x3b4a73(await _0xbaf473());}(this);}[_0x25b1a5(0x1f1)](){const _0x238865=_0x25b1a5,_0x51a249=this[_0x238865(0x249)][_0x238865(0x1fb)];_0x51a249[_0x238865(0x1e2)](_0x4381a6=>{const _0x4c5527=_0x238865,_0x2df4cf=_0x51a249[_0x4c5527(0x21d)][_0x4c5527(0x246)][_0x4c5527(0x244)]();let _0x29af94=0x0;for(const _0x56b74e of _0x2df4cf){const _0x4e7704=P+':'+_0x29af94;if(_0x51a249[_0x4c5527(0x1f6)][_0x4c5527(0x22e)](_0x4e7704))_0x4381a6[_0x4c5527(0x245)](_0x4e7704,{'range':_0x56b74e});else{if(_0x56b74e[_0x4c5527(0x221)][_0x4c5527(0x231)]){const _0x1f2358=_0x56b74e[_0x4c5527(0x221)][_0x4c5527(0x250)](({item:_0x255c4d})=>!_0x51a249[_0x4c5527(0x227)][_0x4c5527(0x201)](_0x255c4d),{'boundaries':_0x56b74e});_0x4381a6[_0x4c5527(0x243)](_0x4e7704,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4381a6[_0x4c5527(0x214)](_0x1f2358,_0x56b74e[_0x4c5527(0x1fa)])});}else _0x4381a6[_0x4c5527(0x243)](_0x4e7704,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56b74e});}_0x29af94++;}});}[_0x25b1a5(0x233)](){const _0xf3f46c=_0x25b1a5,_0x4cfab2=this[_0xf3f46c(0x249)][_0xf3f46c(0x1fb)],_0x1fbd4e=Array[_0xf3f46c(0x20e)](this[_0xf3f46c(0x249)][_0xf3f46c(0x1fb)][_0xf3f46c(0x1f6)][_0xf3f46c(0x205)](P));_0x1fbd4e[_0xf3f46c(0x20c)]&&_0x4cfab2[_0xf3f46c(0x1e2)](_0x57fcd2=>{const _0x133e7f=_0xf3f46c;_0x1fbd4e[_0x133e7f(0x217)](_0x5ea9fd=>{const _0x440f6f=_0x133e7f;_0x57fcd2[_0x440f6f(0x226)](_0x5ea9fd);});});}[_0x25b1a5(0x212)](_0x45f0d2,_0x876876){const _0x34afa7=_0x25b1a5,_0x1d1a8e=this[_0x34afa7(0x228)](),_0x1935ab=_0x876876||_0x1d1a8e[_0x34afa7(0x216)]();this[_0x34afa7(0x249)][_0x34afa7(0x1fb)][_0x34afa7(0x248)](_0x1935ab)&&this[_0x34afa7(0x249)][_0x34afa7(0x1fb)][_0x34afa7(0x1e2)](_0x5f34cc=>{const _0x54720a=_0x34afa7;this[_0x54720a(0x233)](),_0x876876||this[_0x54720a(0x232)](_0x5f34cc,_0x1d1a8e),this[_0x54720a(0x1ef)]({'insertAt':_0x1935ab,'writer':_0x5f34cc,'html':_0x45f0d2});});}[_0x25b1a5(0x22b)](_0x45480c){const _0x305651=_0x25b1a5,{model:_0x154104}=this[_0x305651(0x249)],_0x1513f2=this[_0x305651(0x228)]();_0x154104[_0x305651(0x1e2)](()=>{const _0x1209f7=_0x305651,_0x569d80=this[_0x1209f7(0x1f7)](_0x45480c,_0x1513f2)||this[_0x1209f7(0x1f0)](_0x1513f2);this[_0x1209f7(0x212)](_0x45480c,_0x569d80);});}[_0x25b1a5(0x228)](){const _0x273873=_0x25b1a5,_0x6c2acd=this[_0x273873(0x249)][_0x273873(0x1fb)],_0x2f649a=Array[_0x273873(0x20e)](_0x6c2acd[_0x273873(0x1f6)][_0x273873(0x205)](P))[_0x273873(0x234)](_0x1a89ba=>_0x1a89ba[_0x273873(0x22c)]());return _0x6c2acd[_0x273873(0x1ed)](_0x2f649a);}[_0x25b1a5(0x1ef)]({writer:_0x214040,html:_0x5a0372,insertAt:_0x558c9f}){const _0x497c43=_0x25b1a5,{view:_0x27be12}=this[_0x497c43(0x249)][_0x497c43(0x213)],_0x3e19d9=this[_0x497c43(0x249)][_0x497c43(0x1f5)][_0x497c43(0x215)](_0x5665dd),_0x3c2fc7=new O();_0x3c2fc7[_0x497c43(0x21e)](_0x497c43(0x21b),_0x5a0372);const _0x26416e=new ClipboardEvent(_0x497c43(0x20b),{'clipboardData':_0x3c2fc7}),_0x551a78=new _0x39e609(_0x27be12,_0x26416e,{'dataTransfer':new _0x42b70c(_0x3c2fc7)});_0x214040[_0x497c43(0x23c)](_0x558c9f);const _0x3660aa=(_0xc36350,_0x16e34a)=>{const _0x1c30d0=_0x497c43;_0x16e34a[_0x1c30d0(0x22f)]&&_0x214040[_0x1c30d0(0x23c)](_0x16e34a[_0x1c30d0(0x22f)]);};_0x3e19d9[_0x497c43(0x237)](_0x497c43(0x1ea),_0x3660aa,{'priority':_0x497c43(0x211)}),_0x27be12[_0x497c43(0x21d)][_0x497c43(0x222)](_0x497c43(0x20b),_0x551a78),_0x3e19d9[_0x497c43(0x22d)](_0x497c43(0x1ea),_0x3660aa);}[_0x25b1a5(0x1f0)](_0x54145f){const _0x24e77b=_0x25b1a5,{model:_0x5dbcdd}=this[_0x24e77b(0x249)],_0x200392=Array[_0x24e77b(0x20e)](_0x54145f[_0x24e77b(0x235)]());return _0x200392[_0x24e77b(0x20c)]?_0x5dbcdd[_0x24e77b(0x200)](_0x200392[_0x24e77b(0x223)]()):_0x54145f[_0x24e77b(0x206)]();}[_0x25b1a5(0x1f7)](_0x334a45,_0x224a7f){const _0x2c0963=_0x25b1a5,{model:_0x4ea91a,plugins:_0x4844ed}=this[_0x2c0963(0x249)];if(_0x4844ed[_0x2c0963(0x22e)](_0x2c0963(0x23d))){const _0x114770=_0x4844ed[_0x2c0963(0x215)](_0x2c0963(0x23d))[_0x2c0963(0x24f)](_0x224a7f);if(_0x114770[_0x2c0963(0x20c)]){const _0x26248a=this[_0x2c0963(0x240)](_0x334a45),_0x12c56f=this[_0x2c0963(0x1f9)](_0x114770,_0x26248a);return _0x4ea91a[_0x2c0963(0x1e5)](_0x12c56f,0x0);}}return null;}[_0x25b1a5(0x240)](_0x4656a0){const _0x43ea61=_0x25b1a5,_0x137568=this[_0x43ea61(0x249)][_0x43ea61(0x1f5)][_0x43ea61(0x215)](_0x43ea61(0x23d)),_0x4e62dc=this[_0x43ea61(0x249)][_0x43ea61(0x239)][_0x43ea61(0x230)](_0x4656a0),_0x44e872=Array[_0x43ea61(0x20e)](_0x4e62dc[_0x43ea61(0x207)]())[_0x43ea61(0x23a)](_0x45a62d=>_0x45a62d['is'](_0x43ea61(0x247),_0x43ea61(0x238)));let _0x2edb94=0x0;return _0x44e872[_0x43ea61(0x217)](_0x45556a=>{const _0x245ac3=_0x43ea61;_0x2edb94+=_0x137568[_0x245ac3(0x24e)](_0x45556a);}),_0x2edb94;}[_0x25b1a5(0x1f9)](_0x432195,_0x392705){const _0x29c025=_0x25b1a5,_0x553be6=this[_0x29c025(0x249)][_0x29c025(0x1f5)][_0x29c025(0x215)](_0x29c025(0x23d)),_0x3742ab=_0x553be6[_0x29c025(0x1f8)](_0x432195),_0x49ec1d=_0x553be6[_0x29c025(0x21c)](_0x432195),_0x252c07=_0x3742ab[_0x29c025(0x1e0)]+0x1,_0x90cfc=_0x49ec1d[_0x29c025(0x1e7)],_0x2ff253=_0x432195[0x0][_0x29c025(0x1df)](_0x29c025(0x238));for(let _0x2226b9=0x0;_0x2226b9<_0x392705;_0x2226b9++)_0x553be6[_0x29c025(0x1f2)](_0x2ff253,{'at':_0x252c07});return _0x2ff253[_0x29c025(0x224)](_0x252c07)[_0x29c025(0x224)](_0x90cfc);}[_0x25b1a5(0x232)](_0x3baf62,_0xc405be){const _0xea0b00=_0x25b1a5,{plugins:_0xf0838d}=this[_0xea0b00(0x249)],{model:_0x42f332}=_0x3baf62;if(!_0xf0838d[_0xea0b00(0x22e)](_0xea0b00(0x23d)))return;_0xf0838d[_0xea0b00(0x215)](_0xea0b00(0x23d))[_0xea0b00(0x24f)](_0xc405be)[_0xea0b00(0x20c)]&&_0x42f332[_0xea0b00(0x219)](_0xc405be);}}
23
+ function _0x2e6d(){const _0x3ca432=['map','has','isAtEnd','off','resultRange','element','fromCharCode','markerToHighlight','change','hideFakeVisualSelection','createPositionAt','getChildren','last','_getTableRowCountFromContent','addMarker','end','config','getColumnIndexes','1965970XSJhAl','4GxqFWW','isPremiumPlugin','fire','1814PYdxcI','addClass','818430ZBsQGY','3635429QklPkD','document','pop','isContent','DataTransfer','getSelectedBlocks','push','TableUtils','_createEmptyTableRows','join','showFakeVisualSelection','once','text/html','insertContentBelow','getLastPosition','updateMarker','ck-ai-assistant-ui_theme','createRange','insertContent','getRows','_pasteHTMLUsingClipboard','model','forEach','init','ck-fake-ai-selection_collapsed','editingDowncast','setData','span','editor','plugins','isOfficialPlugin','canEditAt','paste','markers','ai-ui','data','createUIElement','findAncestor','selection','insertRows','createPositionAfter','markerRange','from','ck-fake-ai-selection','pluginName','markerToElement','length','_resetContentOfSelectedTableCells','6082092nJMMlk','_prepareTableInsertBelowPosition','contentInsertion','12752CoBZHg','getRanges','editing','filter','removeMarker','deleteContent','getMarkersGroup','setSelection','afterInit','182069CHmJzC','ai.assistant.useTheme','first','lowest','6381QRwjQN','getSelectedTableCells','start','getChild','_getDefaultInsertBelowPosition','getRange','AIAssistantEditing','parse','createSelection','for','1563XjIKFW','table','_getAISelection','href','get','getLastMatchingPosition','getRowIndexes','getFirstRange','schema','isCollapsed','conversion'];_0x2e6d=function(){return _0x3ca432;};return _0x2e6d();}const _0x2cf6a0=_0x3a8d;(function(_0xb92da0,_0x4aba2b){const _0x2ba10d=_0x3a8d,_0x1aed5b=_0xb92da0();while(!![]){try{const _0x3f0d34=-parseInt(_0x2ba10d(0x1c2))/0x1+-parseInt(_0x2ba10d(0x183))/0x2*(-parseInt(_0x2ba10d(0x1d0))/0x3)+-parseInt(_0x2ba10d(0x180))/0x4*(parseInt(_0x2ba10d(0x185))/0x5)+-parseInt(_0x2ba10d(0x1b6))/0x6+parseInt(_0x2ba10d(0x186))/0x7+-parseInt(_0x2ba10d(0x1b9))/0x8*(-parseInt(_0x2ba10d(0x1c6))/0x9)+-parseInt(_0x2ba10d(0x17f))/0xa;if(_0x3f0d34===_0x4aba2b)break;else _0x1aed5b['push'](_0x1aed5b['shift']());}catch(_0x441817){_0x1aed5b['push'](_0x1aed5b['shift']());}}}(_0x2e6d,0x8a2f6));function _0x3a8d(_0xfe9f09,_0xa98db1){const _0x2e6d68=_0x2e6d();return _0x3a8d=function(_0x3a8da2,_0x44d1b6){_0x3a8da2=_0x3a8da2-0x17d;let _0x54cff2=_0x2e6d68[_0x3a8da2];return _0x54cff2;},_0x3a8d(_0xfe9f09,_0xa98db1);}import{uid as _0x1af74f}from'ckeditor5/src/utils.js';import{Plugin as _0x28c9da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3d309b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2aeac3,ViewDataTransfer as _0x35b3c1}from'ckeditor5/src/engine.js';const l=globalThis[_0x2cf6a0(0x18a)],w=_0x2cf6a0(0x1a8);export class AIAssistantEditing extends _0x28c9da{static get[_0x2cf6a0(0x1b2)](){const _0x5c00d3=_0x2cf6a0;return _0x5c00d3(0x1cc);}static get[_0x2cf6a0(0x1a4)](){return!0x0;}static get[_0x2cf6a0(0x181)](){return!0x0;}[_0x2cf6a0(0x19d)](){const _0x522d74=_0x2cf6a0,{editor:_0x2e4cb9}=this,_0x4d04e4=[_0x522d74(0x1b1)];_0x2e4cb9[_0x522d74(0x17d)][_0x522d74(0x1d4)](_0x522d74(0x1c3))&&_0x4d04e4[_0x522d74(0x18c)](_0x522d74(0x196)),_0x2e4cb9[_0x522d74(0x1da)][_0x522d74(0x1cf)](_0x522d74(0x19f))[_0x522d74(0x1e2)]({'model':w,'view':{'classes':_0x4d04e4,'priority':0xc}}),_0x2e4cb9[_0x522d74(0x1da)][_0x522d74(0x1cf)](_0x522d74(0x19f))[_0x522d74(0x1b3)]({'model':w,'view':(_0x27258b,{writer:_0x40bc1f})=>{const _0x44d6f2=_0x522d74;if(!_0x27258b[_0x44d6f2(0x1af)][_0x44d6f2(0x1d9)])return null;const _0x230b92=_0x40bc1f[_0x44d6f2(0x1aa)](_0x44d6f2(0x1a1));return _0x40bc1f[_0x44d6f2(0x184)]([_0x44d6f2(0x1b1),_0x44d6f2(0x19e)],_0x230b92),_0x230b92;}});}[_0x2cf6a0(0x1c1)](){!async function(_0x54fd0f){const _0x4d8a0d=_0x23bedc([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x21274e=0x3dffc4e1,_0x3d0d19=0x3df8b071^_0x21274e,_0x4d0897=window[_0x23bedc([0x44,0x61,0x74,0x65])][_0x23bedc([0x6e,0x6f,0x77])](),_0x417948=_0x54fd0f[_0x23bedc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd58ca7=new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8a9a=>{_0x417948[_0x23bedc([0x6f,0x6e,0x63,0x65])](_0x23bedc([0x72,0x65,0x61,0x64,0x79]),_0x3c8a9a);}),_0x581b0c={[_0x23bedc([0x6b,0x74,0x79])]:_0x23bedc([0x45,0x43]),[_0x23bedc([0x75,0x73,0x65])]:_0x23bedc([0x73,0x69,0x67]),[_0x23bedc([0x63,0x72,0x76])]:_0x23bedc([0x50,0x2d,0x32,0x35,0x36]),[_0x23bedc([0x78])]:_0x23bedc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x23bedc([0x79])]:_0x23bedc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x23bedc([0x61,0x6c,0x67])]:_0x23bedc([0x45,0x53,0x32,0x35,0x36])},_0x11cadf=_0x417948[_0x23bedc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23bedc([0x67,0x65,0x74])](_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d0aa(){let _0x28ac26,_0x1f0092=null,_0x5a92a3=null;try{if(_0x11cadf==_0x23bedc([0x47,0x50,0x4c]))return _0x23bedc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28ac26=_0x2df4ba(),!_0x28ac26)return _0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28ac26[_0x23bedc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a92a3=_0x5a7bdb(_0x28ac26[_0x23bedc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28ac26[_0x23bedc([0x6a,0x74,0x69])])),await _0x2021b8()?_0x343f80()?_0x5b032e()?_0x23bedc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12561c()?(_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23bedc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f0092=_0xa5144d(_0x23bedc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23bedc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f0092=_0xa5144d(_0x23bedc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eb7a5()):_0x23bedc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23bedc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b032e(){const _0x31d4e0=[_0x23bedc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23bedc([0x74,0x72,0x69,0x61,0x6c])][_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d0897/0x3e8:0xe10*_0x3d0d19;return _0x28ac26[_0x23bedc([0x65,0x78,0x70])]<_0x31d4e0;}function _0x343f80(){const _0x540408=_0x28ac26[_0x23bedc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x540408&&(!!_0x540408[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x2a]))||!!_0x540408[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x41,0x49])));}function _0x12561c(){const _0x4a9862=_0x3a8d,_0x3ed168=_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed168||0x0==_0x3ed168[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5316f7}=new URL(window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a9862(0x1d3)]);if(_0x3ed168[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5316f7))return!0x0;const _0x1c3132=_0x5316f7[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e]));return _0x3ed168[_0x23bedc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48ba3c=>_0x48ba3c[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x2a])))[_0x23bedc([0x6d,0x61,0x70])](_0x12150d=>_0x12150d[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e])))[_0x23bedc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15d335=>_0x15d335[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c3132[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23bedc([0x6d,0x61,0x70])](_0x2592ae=>Array(_0x1c3132[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2592ae[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23bedc([0x66,0x69,0x6c,0x6c])](_0x2592ae[0x0]===_0x23bedc([0x2a])?_0x23bedc([0x2a]):'')[_0x23bedc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2592ae))[_0x23bedc([0x73,0x6f,0x6d,0x65])](_0x569ffe=>_0x1c3132[_0x23bedc([0x65,0x76,0x65,0x72,0x79])]((_0x54185d,_0x1e3d35)=>_0x569ffe[_0x1e3d35]===_0x54185d||_0x569ffe[_0x1e3d35]===_0x23bedc([0x2a])));}function _0x1eb7a5(){return _0x1f0092&&_0x5a92a3?new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ae5e2,_0x210bcb)=>{_0x1f0092[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x4ae5e2,_0x210bcb),_0x5a92a3[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x275e16=>{_0x275e16!=_0x23bedc([0x56,0x61,0x6c,0x69,0x64])&&_0x4ae5e2(_0x275e16);},_0x210bcb);}):_0x1f0092||_0x5a92a3||_0x23bedc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a7bdb(_0x10fd71,_0x32e625){return new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ebd3=>{if(_0x456cc1())return _0x44ebd3(_0x23bedc([0x56,0x61,0x6c,0x69,0x64]));_0x1b6da9(),_0x417948[_0x23bedc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ed98a=!0x1;const _0x5d8aaf=_0x1af74f();function _0x23092a(_0x14e1ee){return!!_0x14e1ee&&(typeof _0x14e1ee===_0x23bedc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14e1ee===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14e1ee[_0x23bedc([0x74,0x68,0x65,0x6e])]===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14e1ee[_0x23bedc([0x63,0x61,0x74,0x63,0x68])]===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c5374(_0x510137){_0x536381(_0x510137)[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x44fc5b=>{if(!_0x44fc5b||_0x44fc5b[_0x23bedc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23bedc([0x6f,0x6b]))return _0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e90ec(_0x39f37d(_0x5d8aaf+_0x32e625))!=_0x44fc5b[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23bedc([0x56,0x61,0x6c,0x69,0x64]);})[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x309a7e=>(_0x148e8d(),_0x309a7e),()=>{const _0x498f08=_0x10834a();return null==_0x498f08?(_0x148e8d(),_0x23bedc([0x56,0x61,0x6c,0x69,0x64])):_0x23bedc(_0x4d0897-_0x498f08>(0x19f340e1^_0x21274e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x44ebd3)[_0x23bedc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x455471=0x3dc92a61^_0x21274e;function _0x148e8d(){const _0x153349=_0x23bedc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e90ec(_0x39f37d(_0x10fd71)),_0x582d0b=_0x51c6f1(_0x3e90ec(window[_0x23bedc([0x4d,0x61,0x74,0x68])][_0x23bedc([0x63,0x65,0x69,0x6c])](_0x4d0897/_0x455471)));window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23bedc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x153349,_0x582d0b);}function _0x10834a(){const _0x383a6a=_0x23bedc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e90ec(_0x39f37d(_0x10fd71)),_0x4d03f2=window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23bedc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x383a6a);return _0x4d03f2?window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51c6f1(_0x4d03f2),0x10)*_0x455471:null;}function _0x536381(_0x274294){return new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1687f1,_0x484432)=>{_0x274294[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x1687f1,_0x484432),window[_0x23bedc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x484432,0x3dfe1021^_0x21274e);});}}_0x417948[_0x23bedc([0x6f,0x6e])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x537a4c,_0x313faa)=>{if(_0x313faa[0x0]!=_0x10fd71)return _0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x313faa[0x1]={..._0x313faa[0x1],[_0x23bedc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d8aaf};},{[_0x23bedc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23bedc([0x68,0x69,0x67,0x68])}),_0x417948[_0x23bedc([0x6f,0x6e])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ae72f=>{_0x23092a(_0x5ae72f[_0x23bedc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ed98a=!0x0,_0x4c5374(_0x5ae72f[_0x23bedc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23bedc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23bedc([0x6c,0x6f,0x77])}),_0xd58ca7[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>{_0x3ed98a||_0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x456cc1(){return _0x417948[_0x23bedc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23bedc([0x76,0x69,0x65,0x77])][_0x23bedc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23bedc([0x61,0x75,0x74,0x6f]);}function _0x1b6da9(){_0x417948[_0x23bedc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23bedc([0x76,0x69,0x65,0x77])][_0x23bedc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23bedc([0x61,0x75,0x74,0x6f]);}}function _0xa5144d(_0x5bee4d){const _0x430193=[new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d84e2=>setTimeout(_0x3d84e2,0x3df6fa2d^_0x21274e)),_0xd58ca7[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30ea94=>{let _0x2c988f=0x0;_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x6f,0x6e])](_0x23bedc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5050,_0x4b7a8c)=>{_0x4b7a8c[0x0][_0x23bedc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c988f++,_0x2c988f==(0x3dffc519^_0x21274e)&&(_0x30ea94(),_0x5b5050[_0x23bedc([0x6f,0x66,0x66])]());});}))];return window[_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23bedc([0x72,0x61,0x63,0x65])](_0x430193)[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>_0x5bee4d);}async function _0x175ee5(){await _0xd58ca7,_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24d25f,_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24d25f,_0x417948[_0x23bedc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23eaf1(_0xe5e294){const _0x4dec15=_0x534514();_0x417948[_0x4dec15]=_0x23bedc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe5e294,_0xe5e294!=_0x23bedc([0x56,0x61,0x6c,0x69,0x64])&&_0x175ee5();}function _0x534514(){const _0x17912e=window[_0x23bedc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23bedc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23bedc([0x6e,0x6f,0x77])]())[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23bedc([0x2e]),'');let _0x5dd1f9=_0x23bedc([0x6e]);for(let _0xd168=0x0;_0xd168<_0x17912e[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd168+=0x2){let _0xe07109=window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17912e[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd168,_0xd168+0x2));_0xe07109>=_0x4d8a0d[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe07109-=_0x4d8a0d[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dd1f9+=_0x4d8a0d[_0xe07109];}return _0x5dd1f9;}function _0x2df4ba(){const _0x23b187=_0x11cadf[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e]));if(0x3!=_0x23b187[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x370db3(_0x23b187[0x1]);function _0x370db3(_0x413ca4){const _0x71499f=_0x28360e(_0x413ca4);return _0x71499f&&_0xafb0a5()?_0x71499f:null;function _0xafb0a5(){const _0x281553=_0x71499f[_0x23bedc([0x6a,0x74,0x69])],_0x39404e=window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x281553[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x281553[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e43f5={..._0x71499f,[_0x23bedc([0x6a,0x74,0x69])]:_0x281553[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x281553[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e43f5[_0x23bedc([0x76,0x63])],_0x39f37d(_0x3e43f5)==_0x39404e;}}}async function _0x2021b8(){let _0x5e26ea=!0x0;try{const _0x18950e=_0x11cadf[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e])),[_0x1daa9a,_0x2d1ee9,_0x47c54a]=_0x18950e;return _0x5fe439(_0x1daa9a),await _0x5569fa(_0x1daa9a,_0x2d1ee9,_0x47c54a),_0x5e26ea;}catch{return!0x1;}function _0x5fe439(_0x173a4d){const _0x4f96bd=_0x28360e(_0x173a4d);_0x4f96bd&&_0x4f96bd[_0x23bedc([0x61,0x6c,0x67])]==_0x23bedc([0x45,0x53,0x32,0x35,0x36])||(_0x5e26ea=!0x1);}async function _0x5569fa(_0x8adf8,_0x316be6,_0x2e6cf0){const _0x45e350=window[_0x23bedc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23bedc([0x66,0x72,0x6f,0x6d])](_0x42f305(_0x2e6cf0),_0x39c6cd=>_0x39c6cd[_0x23bedc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f3b7c=new window[(_0x23bedc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23bedc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8adf8+_0x23bedc([0x2e])+_0x316be6),_0x2e6111=window[_0x23bedc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23bedc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e6111)return;const _0x1dd5d8=await _0x2e6111[_0x23bedc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23bedc([0x6a,0x77,0x6b]),_0x581b0c,{[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x45,0x43,0x44,0x53,0x41]),[_0x23bedc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23bedc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e6111[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x45,0x43,0x44,0x53,0x41]),[_0x23bedc([0x68,0x61,0x73,0x68])]:{[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd5d8,_0x45e350,_0x1f3b7c)||(_0x5e26ea=!0x1);}}function _0x28360e(_0x3cb093){return _0x3cb093[_0x23bedc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23bedc([0x65,0x79]))?JSON[_0x23bedc([0x70,0x61,0x72,0x73,0x65])](_0x42f305(_0x3cb093)):null;}function _0x42f305(_0x42bf77){return window[_0x23bedc([0x61,0x74,0x6f,0x62])](_0x42bf77[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23bedc([0x2b]))[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23bedc([0x2f])));}function _0x39f37d(_0xc9717e){let _0x217192=0x1505;function _0x90441(_0x50c777){for(let _0x1ed0eb=0x0;_0x1ed0eb<_0x50c777[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ed0eb++){const _0x21c203=_0x50c777[_0x23bedc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ed0eb);_0x217192=(_0x217192<<0x5)+_0x217192+_0x21c203,_0x217192&=_0x217192;}}function _0x54ed4a(_0xa7932a){Array[_0x23bedc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa7932a)?_0xa7932a[_0x23bedc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54ed4a):_0xa7932a&&typeof _0xa7932a==_0x23bedc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23bedc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa7932a)[_0x23bedc([0x73,0x6f,0x72,0x74])]()[_0x23bedc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bf723,_0x369e43])=>{_0x90441(_0x5bf723),_0x54ed4a(_0x369e43);}):_0x90441(window[_0x23bedc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa7932a));}return _0x54ed4a(_0xc9717e),_0x217192>>>0x0;}function _0x3e90ec(_0x53809c){return _0x53809c[_0x23bedc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23bedc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23bedc([0x30]));}function _0x51c6f1(_0x29d60c){return _0x29d60c[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23bedc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23bedc([0x6a,0x6f,0x69,0x6e])]('');}function _0x24d25f(){}function _0x23bedc(_0x2edabd){const _0x539ec1=_0x3a8d;return _0x2edabd[_0x539ec1(0x1db)](_0x3699aa=>String[_0x539ec1(0x1e1)](_0x3699aa))[_0x539ec1(0x18f)]('');}_0x23eaf1(await _0x3d0aa());}(this);}[_0x2cf6a0(0x190)](){const _0x1a9f44=_0x2cf6a0,_0x14a7bb=this[_0x1a9f44(0x1a2)][_0x1a9f44(0x19b)];_0x14a7bb[_0x1a9f44(0x1e3)](_0x2101af=>{const _0x5ddba1=_0x1a9f44,_0x44d864=_0x14a7bb[_0x5ddba1(0x187)][_0x5ddba1(0x1ac)][_0x5ddba1(0x1ba)]();let _0x4a4868=0x0;for(const _0x4a4410 of _0x44d864){const _0x55d0db=w+':'+_0x4a4868;if(_0x14a7bb[_0x5ddba1(0x1a7)][_0x5ddba1(0x1dc)](_0x55d0db))_0x2101af[_0x5ddba1(0x195)](_0x55d0db,{'range':_0x4a4410});else{if(_0x4a4410[_0x5ddba1(0x1c8)][_0x5ddba1(0x1dd)]){const _0x52edd5=_0x4a4410[_0x5ddba1(0x1c8)][_0x5ddba1(0x1d5)](({item:_0x41b13f})=>!_0x14a7bb[_0x5ddba1(0x1d8)][_0x5ddba1(0x189)](_0x41b13f),{'boundaries':_0x4a4410});_0x2101af[_0x5ddba1(0x1e9)](_0x55d0db,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2101af[_0x5ddba1(0x197)](_0x52edd5,_0x4a4410[_0x5ddba1(0x1ea)])});}else _0x2101af[_0x5ddba1(0x1e9)](_0x55d0db,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a4410});}_0x4a4868++;}});}[_0x2cf6a0(0x1e4)](){const _0x522474=_0x2cf6a0,_0x288696=this[_0x522474(0x1a2)][_0x522474(0x19b)],_0x126029=Array[_0x522474(0x1b0)](this[_0x522474(0x1a2)][_0x522474(0x19b)][_0x522474(0x1a7)][_0x522474(0x1bf)](w));_0x126029[_0x522474(0x1b4)]&&_0x288696[_0x522474(0x1e3)](_0x44ae5e=>{const _0x286101=_0x522474;_0x126029[_0x286101(0x19c)](_0x9ad39e=>{const _0x4318a0=_0x286101;_0x44ae5e[_0x4318a0(0x1bd)](_0x9ad39e);});});}[_0x2cf6a0(0x198)](_0xc9ea24,_0x29d1cc){const _0x352cf9=_0x2cf6a0,_0x5dcfd2=this[_0x352cf9(0x1d2)](),_0x48fdf2=_0x29d1cc||_0x5dcfd2[_0x352cf9(0x1d7)]();this[_0x352cf9(0x1a2)][_0x352cf9(0x19b)][_0x352cf9(0x1a5)](_0x48fdf2)&&this[_0x352cf9(0x1a2)][_0x352cf9(0x19b)][_0x352cf9(0x1e3)](_0x24ed07=>{const _0x5f4cde=_0x352cf9;this[_0x5f4cde(0x1e4)](),_0x29d1cc||this[_0x5f4cde(0x1b5)](_0x24ed07,_0x5dcfd2),this[_0x5f4cde(0x19a)]({'insertAt':_0x48fdf2,'writer':_0x24ed07,'html':_0xc9ea24});});}[_0x2cf6a0(0x193)](_0x422569){const _0x144586=_0x2cf6a0,{model:_0xc8b87a}=this[_0x144586(0x1a2)],_0x28659d=this[_0x144586(0x1d2)]();_0xc8b87a[_0x144586(0x1e3)](()=>{const _0x19e27d=_0x144586,_0xb9f91c=this[_0x19e27d(0x1b7)](_0x422569,_0x28659d)||this[_0x19e27d(0x1ca)](_0x28659d);this[_0x19e27d(0x198)](_0x422569,_0xb9f91c);});}[_0x2cf6a0(0x1d2)](){const _0x155207=_0x2cf6a0,_0x424f16=this[_0x155207(0x1a2)][_0x155207(0x19b)],_0x2a7169=Array[_0x155207(0x1b0)](_0x424f16[_0x155207(0x1a7)][_0x155207(0x1bf)](w))[_0x155207(0x1db)](_0x156304=>_0x156304[_0x155207(0x1cb)]());return _0x424f16[_0x155207(0x1ce)](_0x2a7169);}[_0x2cf6a0(0x19a)]({writer:_0x170163,html:_0x11788d,insertAt:_0x52511e}){const _0x2799cf=_0x2cf6a0,{view:_0x527ff0}=this[_0x2799cf(0x1a2)][_0x2799cf(0x1bb)],_0x18704e=this[_0x2799cf(0x1a2)][_0x2799cf(0x1a3)][_0x2799cf(0x1d4)](_0x3d309b),_0x3cc944=new l();_0x3cc944[_0x2799cf(0x1a0)](_0x2799cf(0x192),_0x11788d);const _0x1dd15b=new ClipboardEvent(_0x2799cf(0x1a6),{'clipboardData':_0x3cc944}),_0x42be75=new _0x2aeac3(_0x527ff0,_0x1dd15b,{'dataTransfer':new _0x35b3c1(_0x3cc944)});_0x170163[_0x2799cf(0x1c0)](_0x52511e);const _0x4d6fd0=(_0x466f39,_0x711ae5)=>{const _0x5476f0=_0x2799cf;_0x711ae5[_0x5476f0(0x1df)]&&_0x170163[_0x5476f0(0x1c0)](_0x711ae5[_0x5476f0(0x1df)]);};_0x18704e[_0x2799cf(0x191)](_0x2799cf(0x1b8),_0x4d6fd0,{'priority':_0x2799cf(0x1c5)}),_0x527ff0[_0x2799cf(0x187)][_0x2799cf(0x182)](_0x2799cf(0x1a6),_0x42be75),_0x18704e[_0x2799cf(0x1de)](_0x2799cf(0x1b8),_0x4d6fd0);}[_0x2cf6a0(0x1ca)](_0x393cb0){const _0x4613de=_0x2cf6a0,{model:_0x30e8a0}=this[_0x4613de(0x1a2)],_0x5350dd=Array[_0x4613de(0x1b0)](_0x393cb0[_0x4613de(0x18b)]());return _0x5350dd[_0x4613de(0x1b4)]?_0x30e8a0[_0x4613de(0x1ae)](_0x5350dd[_0x4613de(0x188)]()):_0x393cb0[_0x4613de(0x194)]();}[_0x2cf6a0(0x1b7)](_0x4ef215,_0x5e1c93){const _0x3a14ff=_0x2cf6a0,{model:_0x3e01bc,plugins:_0x384f0e}=this[_0x3a14ff(0x1a2)];if(_0x384f0e[_0x3a14ff(0x1dc)](_0x3a14ff(0x18d))){const _0x457b68=_0x384f0e[_0x3a14ff(0x1d4)](_0x3a14ff(0x18d))[_0x3a14ff(0x1c7)](_0x5e1c93);if(_0x457b68[_0x3a14ff(0x1b4)]){const _0x31b5fd=this[_0x3a14ff(0x1e8)](_0x4ef215),_0x5292a2=this[_0x3a14ff(0x18e)](_0x457b68,_0x31b5fd);return _0x3e01bc[_0x3a14ff(0x1e5)](_0x5292a2,0x0);}}return null;}[_0x2cf6a0(0x1e8)](_0x2bbe25){const _0x744024=_0x2cf6a0,_0x3c0e36=this[_0x744024(0x1a2)][_0x744024(0x1a3)][_0x744024(0x1d4)](_0x744024(0x18d)),_0x49ba58=this[_0x744024(0x1a2)][_0x744024(0x1a9)][_0x744024(0x1cd)](_0x2bbe25),_0x531015=Array[_0x744024(0x1b0)](_0x49ba58[_0x744024(0x1e6)]())[_0x744024(0x1bc)](_0x15603f=>_0x15603f['is'](_0x744024(0x1e0),_0x744024(0x1d1)));let _0x1d2f68=0x0;return _0x531015[_0x744024(0x19c)](_0x44c440=>{const _0xe64039=_0x744024;_0x1d2f68+=_0x3c0e36[_0xe64039(0x199)](_0x44c440);}),_0x1d2f68;}[_0x2cf6a0(0x18e)](_0x143808,_0x51ee92){const _0x4af4b7=_0x2cf6a0,_0x10c5e7=this[_0x4af4b7(0x1a2)][_0x4af4b7(0x1a3)][_0x4af4b7(0x1d4)](_0x4af4b7(0x18d)),_0x176c06=_0x10c5e7[_0x4af4b7(0x1d6)](_0x143808),_0x2c51e5=_0x10c5e7[_0x4af4b7(0x17e)](_0x143808),_0x24e8be=_0x176c06[_0x4af4b7(0x1e7)]+0x1,_0x130059=_0x2c51e5[_0x4af4b7(0x1c4)],_0xf35681=_0x143808[0x0][_0x4af4b7(0x1ab)](_0x4af4b7(0x1d1));for(let _0x1081a5=0x0;_0x1081a5<_0x51ee92;_0x1081a5++)_0x10c5e7[_0x4af4b7(0x1ad)](_0xf35681,{'at':_0x24e8be});return _0xf35681[_0x4af4b7(0x1c9)](_0x24e8be)[_0x4af4b7(0x1c9)](_0x130059);}[_0x2cf6a0(0x1b5)](_0x313c9a,_0x50230d){const _0x864a79=_0x2cf6a0,{plugins:_0x5dd5cb}=this[_0x864a79(0x1a2)],{model:_0x1685ff}=_0x313c9a;if(!_0x5dd5cb[_0x864a79(0x1dc)](_0x864a79(0x18d)))return;_0x5dd5cb[_0x864a79(0x1d4)](_0x864a79(0x18d))[_0x864a79(0x1c7)](_0x50230d)[_0x864a79(0x1b4)]&&_0x1685ff[_0x864a79(0x1be)](_0x50230d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11537b=_0x2f41;(function(_0x5da3a7,_0xb4643b){const _0xce544c=_0x2f41,_0xe2c9f7=_0x5da3a7();while(!![]){try{const _0x327414=-parseInt(_0xce544c(0x157))/0x1*(-parseInt(_0xce544c(0x19d))/0x2)+-parseInt(_0xce544c(0x12f))/0x3+-parseInt(_0xce544c(0xf6))/0x4+-parseInt(_0xce544c(0x194))/0x5*(-parseInt(_0xce544c(0x119))/0x6)+-parseInt(_0xce544c(0x197))/0x7*(parseInt(_0xce544c(0x18b))/0x8)+-parseInt(_0xce544c(0x193))/0x9+-parseInt(_0xce544c(0x12c))/0xa*(-parseInt(_0xce544c(0x180))/0xb);if(_0x327414===_0xb4643b)break;else _0xe2c9f7['push'](_0xe2c9f7['shift']());}catch(_0x57cd9c){_0xe2c9f7['push'](_0xe2c9f7['shift']());}}}(_0x2588,0x19878));import{Plugin as _0x326f79}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4e1f8f,IconRobotPencil as _0x2492bc}from'ckeditor5/src/icons.js';import{first as _0x38bc6c,CKEditorError as _0x29079b}from'ckeditor5/src/utils.js';import{createDropdown as _0x38faa8,addMenuToDropdown as _0x337270,ButtonView as _0x1cc17b,MenuBarMenuListItemButtonView as _0x215053,Dialog as _0x18146c,DialogViewPosition as _0x3560d2,MenuBarMenuView as _0x33968b,MenuBarMenuListView as _0x555591,MenuBarMenuListItemView as _0x177a71}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x534cf4,UNGROUPED_COMMANDS_GROUP_ID as _0x56a9f}from'./utils/normalizecommandsconfig.js';function _0x2f41(_0x4313e4,_0x40b27b){const _0x258827=_0x2588();return _0x2f41=function(_0x2f4111,_0x51d905){_0x2f4111=_0x2f4111-0xf3;let _0x542c9f=_0x258827[_0x2f4111];return _0x542c9f;},_0x2f41(_0x4313e4,_0x40b27b);}import{AIAssistantEditing as _0x2b9300}from'./aiassistantediting.js';import{AIAdapter as _0x409e0c}from'./adapters/aiadapter.js';import{getTranslation as _0x4e7519}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x587608}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x347c1c}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x46ad0d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x32497b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const O=globalThis[_0x11537b(0x14f)];function _0x2588(){const _0x2ff084=['updateView','textAdapter','aiLicenseKeyUsageLimit','panelView','change:enabledCommandsIds','66dQnXXW','domainLimit','rawHtml','_uiCssClasses','push','showUI','buttons','invalid','getSelectedBlocks','aiAssistant','show','8BorFsV','media','aiLicenseKeyEvaluationLimit','groupLabel','document','isFlat','featureNotAllowed','values','1647342dqDsnD','8510RWqiny','text','execute','388507DEFeiQ','copy','map','children','aiLicenseKeyNotAllowed','model','2safRNo','command:','showFakeVisualSelection','evaluationLimit','splice','init','_dialog','_showLicenseError','menuitemcheckbox','insertContentBelow','99440ZpQwND','editor','length','menuBar:aiAssistant','updatePosition','change:isError','getData','_getMenuBarGroupButtons','errorView','menuPanelClass','plugins','polite','prompt','announce','hideFakeVisualSelection','AI\x20Assistant','change:value','trialLimit','bind','ai-commands-config-order-collision','label','focus','aiLicenseKeyTrialLimit','sort','_licenseKeyCheckInterval','_createAIAssistantUIButton','queryView','change:isProcessing','AIAssistantUI','ck-ai-commands-dropdown\x20','expired','setSelection','insertContent','promptView','includes','210brwqui','ai.assistant.disabledElements','config','selection','_initView','reset','AI\x20is\x20writing','</p>','trim','<p>','define','usageLimit','requires','ai.assistant.commands','forEach','\x20ck-ai-assistant-ui_theme','delegate','isOfficialPlugin','tableOfContents','622130iezQeY','editing','requiresContent','314655pFIVRq','custom','replace','_populateMenuBarMenu','once','groupId','AI\x20Commands','_getResolvedCommandsDefinitions','update','filter','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','isCollapsed','AIAssistant','showAIAssistant','add','EDITOR_TOP_SIDE','getLimitElement','aiLicenseKeyExpired','ai.assistant.useTheme','pluginName','licenseKey','view','aiLicenseKeyDomainLimit','menuView','componentFactory','locale','getRanges','render','source','_forceMarkersCopy','DataTransfer','text/html','INSERT','wasMoved','schema','destroy','comment','menuBar:aiCommands','40004ouFidY','from','ck-ai-assistant-ui','_commandDefinitions','currentContext','hideUI','hide','_aiAssistantController','aiLicenseKeyInvalid','listenTo','change','fire','ai.assistant.contentAreaCssClass','isOn','Generated\x20content:\x20%0','replaceContent','_onExecute','ck-ai-assistant-button\x20','contentArea','REPLACE','addMany','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','commands','_aiAdapter','order','enabledCommandsIds','isEnabled','set','items','buttonView','body','get','getSelectedElement','aiCommands','fieldView'];_0x2588=function(){return _0x2ff084;};return _0x2588();}import{ClipboardMarkersUtils as _0x1966e2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x24719c,ViewDataTransfer as _0x373a08}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x326f79{[_0x11537b(0x145)];[_0x11537b(0x10e)];[_0x11537b(0x1a3)];[_0x11537b(0x139)];[_0x11537b(0x16f)];[_0x11537b(0x15e)];[_0x11537b(0x183)]='';static get[_0x11537b(0x144)](){const _0x4a897d=_0x11537b;return _0x4a897d(0x112);}static get[_0x11537b(0x12a)](){return!0x0;}static get[_0x11537b(0x13b)](){return!0x0;}static get[_0x11537b(0x125)](){return[_0x1966e2,_0x2b9300,_0x409e0c,_0x18146c];}constructor(_0x14c282){const _0x1aa57d=_0x11537b;super(_0x14c282),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x11a),[_0x1aa57d(0x18c),_0x1aa57d(0x182),_0x1aa57d(0x12b)]),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x163),''),_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x123)](_0x1aa57d(0x143),!0x0),this[_0x1aa57d(0x183)]=_0x1aa57d(0x159)+(_0x14c282[_0x1aa57d(0x11b)][_0x1aa57d(0x177)](_0x1aa57d(0x143))?_0x1aa57d(0x128):'');}[_0x11537b(0x1a2)](){const _0x9b5fd4=_0x11537b,{editor:_0xa00005}=this;this[_0x9b5fd4(0x16f)]=_0xa00005[_0x9b5fd4(0x100)][_0x9b5fd4(0x177)](_0x409e0c),this[_0x9b5fd4(0x1a3)]=_0xa00005[_0x9b5fd4(0x100)][_0x9b5fd4(0x177)](_0x18146c),this[_0x9b5fd4(0x139)]=null,this[_0x9b5fd4(0x15a)]=this[_0x9b5fd4(0x136)]();const _0x14b8e9=new _0x587608(_0xa00005,Array[_0x9b5fd4(0x158)](this[_0x9b5fd4(0x15a)][_0x9b5fd4(0x192)]()));_0xa00005[_0x9b5fd4(0x16e)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x13e),_0x14b8e9),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x179),_0x507c43=>{const _0x374b39=_0x9b5fd4,_0xf7e222=_0x38faa8(_0x507c43);return _0xf7e222[_0x374b39(0x173)]({'class':_0x374b39(0x113)+this[_0x374b39(0x183)]}),_0xf7e222[_0x374b39(0x175)][_0x374b39(0x173)]({'label':_0x4e7519(_0x507c43,_0x374b39(0x135)),'icon':_0x4e1f8f,'tooltip':!0x0}),_0xf7e222['on'](_0x374b39(0x196),_0x56791c=>this[_0x374b39(0x167)](_0x56791c[_0x374b39(0x14d)]['id'])),_0x337270(_0xf7e222,_0xa00005['ui'][_0x374b39(0x146)][_0x374b39(0x176)],function(_0x2f6308){const _0x79e12=_0x374b39,_0x50dc1b=_0x534cf4(_0x2f6308[_0x79e12(0x11b)][_0x79e12(0x177)](_0x79e12(0x126)),_0x2f6308[_0x79e12(0x14a)]),_0x16b4f3=ii(_0x2f6308,_0x50dc1b)[_0x79e12(0x138)](_0x2aafa4=>_0x2aafa4[_0x79e12(0x16e)][_0x79e12(0xf8)]);if(0x1===_0x16b4f3[_0x79e12(0xf8)])return ii(_0x2f6308,_0x16b4f3[0x0][_0x79e12(0x16e)])[_0x79e12(0x199)](_0x4b9848=>({'id':_0x4b9848['id'],'label':_0x4b9848[_0x79e12(0x10a)]}));return _0x16b4f3[_0x79e12(0x199)](_0x35d2a2=>{const _0x4aebd9=_0x79e12,{groupId:_0x306ec2,groupLabel:_0x22421a,commands:_0x44dc79}=_0x35d2a2,_0x5e2aed=ii(_0x2f6308,_0x44dc79)[_0x4aebd9(0x199)](_0x2b6b8b=>({'id':_0x2b6b8b['id'],'label':_0x2b6b8b[_0x4aebd9(0x10a)]}));return{'id':_0x306ec2,'menu':_0x22421a||_0x306ec2,'children':_0x5e2aed};});}(_0xa00005),{'ariaLabel':_0x4e7519(_0x507c43,_0x374b39(0x135))}),_0xf7e222[_0x374b39(0x148)][_0x374b39(0xff)]=_0x374b39(0x113)+this[_0x374b39(0x183)],_0x14b8e9['on'](_0x374b39(0x17f),_0x53742f),_0xf7e222[_0x374b39(0x148)][_0x374b39(0x133)](_0x374b39(0x14c),_0x53742f),_0xf7e222;function _0x53742f(){const _0x370f81=_0x374b39;_0xf7e222[_0x370f81(0x172)]=_0x14b8e9[_0x370f81(0x171)][_0x370f81(0xf8)]>0x0;for(const _0x2817bf of _0xf7e222[_0x370f81(0x148)][_0x370f81(0x186)])_0x2817bf[_0x370f81(0x172)]=_0x14b8e9[_0x370f81(0x171)][_0x370f81(0x118)](_0x2817bf['id']);}}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x156),_0xaccb18=>{const _0x4681e3=_0x9b5fd4,_0xb4683d=new _0x33968b(_0xaccb18);_0xb4683d[_0x4681e3(0x175)][_0x4681e3(0x173)]({'label':_0x4e7519(_0xaccb18,_0x4681e3(0x135)),'icon':_0x4e1f8f}),_0xb4683d[_0x4681e3(0x108)](_0x4681e3(0x172))['to'](_0x14b8e9,_0x4681e3(0x171),_0x4612e9=>_0x4612e9[_0x4681e3(0xf8)]>0x0);const _0x57277d=_0x534cf4(_0xa00005[_0x4681e3(0x11b)][_0x4681e3(0x177)](_0x4681e3(0x126)),_0xaccb18);return this[_0x4681e3(0x132)](_0x14b8e9,_0xb4683d,_0x57277d,_0x3930ea=>this[_0x4681e3(0x167)](_0x3930ea)),_0xb4683d;}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0x189),()=>{const _0x5118ce=_0x9b5fd4,_0x13b64e=this[_0x5118ce(0x10f)](_0x1cc17b);return _0x13b64e[_0x5118ce(0x173)]({'tooltip':!0x0,'class':_0x5118ce(0x168)+this[_0x5118ce(0x183)]}),_0x13b64e;}),_0xa00005['ui'][_0x9b5fd4(0x149)][_0x9b5fd4(0x13f)](_0x9b5fd4(0xf9),()=>{const _0x491b61=_0x9b5fd4,_0x4c6c89=this[_0x491b61(0x10f)](_0x215053);return _0x4c6c89[_0x491b61(0x173)]({'role':_0x491b61(0xf4)}),_0x4c6c89;}),this[_0x9b5fd4(0x145)]=this[_0x9b5fd4(0xf7)][_0x9b5fd4(0x11b)][_0x9b5fd4(0x177)](_0x9b5fd4(0x145));const _0x40f426=this[_0x9b5fd4(0xf7)];this[_0x9b5fd4(0x10e)]=setInterval(()=>{const _0x389b9f=_0x9b5fd4;let _0x90fdbe;for(const _0x21c080 in _0x40f426){const _0x2751eb=_0x21c080,_0x4577f6=_0x40f426[_0x2751eb];if(_0x389b9f(0x16c)==_0x4577f6||_0x389b9f(0x15f)==_0x4577f6||_0x389b9f(0x142)==_0x4577f6||_0x389b9f(0x147)==_0x4577f6||_0x389b9f(0x19b)==_0x4577f6||_0x389b9f(0x18d)==_0x4577f6||_0x389b9f(0x10c)==_0x4577f6||_0x389b9f(0x17d)==_0x4577f6){delete _0x40f426[_0x2751eb],_0x90fdbe=_0x4577f6,clearInterval(this[_0x389b9f(0x10e)]),this[_0x389b9f(0x10e)]=void 0x0;break;}}_0x389b9f(0x15f)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x187)),_0x389b9f(0x142)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x114)),_0x389b9f(0x147)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x181)),_0x389b9f(0x19b)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x191),_0x389b9f(0x13d)),_0x389b9f(0x18d)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x1a0)),_0x389b9f(0x10c)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x107)),_0x389b9f(0x17d)==_0x90fdbe&&_0x40f426[_0x389b9f(0xf3)](_0x389b9f(0x124));},0x3e8);}[_0x11537b(0x154)](){const _0x57b7ab=_0x11537b;super[_0x57b7ab(0x154)](),this[_0x57b7ab(0x10e)]&&clearInterval(this[_0x57b7ab(0x10e)]);}[_0x11537b(0x185)](_0x4a8a01='',_0x5d5d19='',_0x4b3fc8=_0x11537b(0x130)){const _0x366406=_0x11537b,_0x4e9042=this[_0x366406(0xf7)],_0x1c56e6=_0x4e9042[_0x366406(0x12d)][_0x366406(0x146)],_0x1b9761=_0x4e9042[_0x366406(0x100)][_0x366406(0x177)](_0x2b9300),_0x190e73=_0x4e9042[_0x366406(0x100)][_0x366406(0x177)](_0x1966e2);_0x1b9761[_0x366406(0x19f)]();const _0x462680=new O(),_0x4f2db1=new ClipboardEvent(_0x366406(0x198),{'clipboardData':_0x462680}),_0x1a0ff3=new _0x373a08(_0x462680),_0x3c0173=new _0x24719c(_0x1c56e6,_0x4f2db1,{'dataTransfer':_0x1a0ff3});_0x190e73[_0x366406(0x14e)](_0x366406(0x155),()=>{const _0x254ef2=_0x366406;_0x1c56e6[_0x254ef2(0x18f)][_0x254ef2(0x162)](_0x254ef2(0x198),_0x3c0173);}),this[_0x366406(0x139)]||(this[_0x366406(0x11d)](),this[_0x366406(0x15e)]=new _0x347c1c(_0x4e9042,this[_0x366406(0x16f)][_0x366406(0x17c)],this[_0x366406(0x139)]));let _0x15b377=_0x1a0ff3[_0x366406(0xfc)](_0x366406(0x150));const _0x5f1d2d=_0x4e9042[_0x366406(0x19c)][_0x366406(0x18f)][_0x366406(0x11c)],_0x391a57=Array[_0x366406(0x158)](_0x5f1d2d[_0x366406(0x14b)]());0x1===_0x391a57[_0x366406(0xf8)]&&_0x391a57[0x0][_0x366406(0x190)]&&!_0x5f1d2d[_0x366406(0x178)]()&&''!==_0x15b377[_0x366406(0x131)](/&nbsp;/g,'')[_0x366406(0x121)]()&&(_0x15b377=_0x366406(0x122)+_0x15b377+_0x366406(0x120)),this[_0x366406(0x15e)][_0x366406(0x17b)]({'actionId':_0x4b3fc8,'query':_0x4a8a01,'htmlContent':_0x15b377,'label':_0x5d5d19,'mainActionLabel':_0x32497b[_0x4e9042[_0x366406(0x19c)][_0x366406(0x18f)][_0x366406(0x11c)][_0x366406(0x13c)]?_0x366406(0x151):_0x366406(0x16a)]}),_0x366406(0x189)!==this[_0x366406(0x1a3)]['id']?this[_0x366406(0x1a3)][_0x366406(0x18a)]({'id':_0x366406(0x189),'icon':_0x2492bc,'title':_0x4e7519(this[_0x366406(0xf7)][_0x366406(0x14a)],_0x366406(0x105)),'content':this[_0x366406(0x139)],'position':_0x3560d2[_0x366406(0x140)],'onShow':()=>{const _0x4872a1=_0x366406;this[_0x4872a1(0x139)][_0x4872a1(0x10b)]();},'onHide':()=>{const _0x39c30e=_0x366406;this[_0x39c30e(0x15e)][_0x39c30e(0x11e)](),_0x1b9761[_0x39c30e(0x104)]();}}):this[_0x366406(0x1a3)][_0x366406(0x146)][_0x366406(0x152)]||this[_0x366406(0x1a3)][_0x366406(0x146)][_0x366406(0xfa)]();}[_0x11537b(0x15c)](){const _0x45d4b5=_0x11537b;this[_0x45d4b5(0x1a3)][_0x45d4b5(0x15d)]();}[_0x11537b(0x136)](){const _0x3e0366=_0x11537b,_0x125a1d=new Map(),_0x3ae426=_0x534cf4(this[_0x3e0366(0xf7)][_0x3e0366(0x11b)][_0x3e0366(0x177)](_0x3e0366(0x126)),this[_0x3e0366(0xf7)][_0x3e0366(0x14a)]);for(const _0x5870ea of _0x3ae426)for(const _0x5257a3 of _0x5870ea[_0x3e0366(0x16e)])_0x125a1d[_0x3e0366(0x173)](_0x5257a3['id'],{..._0x5257a3,'groupId':_0x5870ea[_0x3e0366(0x134)],'groupLabel':_0x5870ea[_0x3e0366(0x18e)]||_0x5870ea[_0x3e0366(0x134)]});return _0x125a1d;}[_0x11537b(0x10f)](_0x28f276){const _0x2427a9=_0x11537b,_0xbdb372=this[_0x2427a9(0xf7)],_0xaaf5b=_0xbdb372[_0x2427a9(0x16e)][_0x2427a9(0x177)](_0x2427a9(0x13e)),_0x394adc=new _0x28f276(_0xbdb372[_0x2427a9(0x14a)]);return _0x394adc[_0x2427a9(0x173)]({'label':_0x4e7519(_0xbdb372[_0x2427a9(0x14a)],_0x2427a9(0x105)),'icon':_0x2492bc,'isToggleable':!0x0}),_0x394adc[_0x2427a9(0x108)](_0x2427a9(0x172))['to'](_0xaaf5b),_0x394adc[_0x2427a9(0x108)](_0x2427a9(0x164))['to'](this[_0x2427a9(0x1a3)],'id',_0x4b7a4d=>_0x2427a9(0x189)===_0x4b7a4d),this[_0x2427a9(0x160)](_0x394adc,_0x2427a9(0x196),()=>{const _0x43395a=_0x2427a9;_0x394adc[_0x43395a(0x164)]?this[_0x43395a(0x15c)]():_0xaaf5b[_0x43395a(0x196)]();}),_0x394adc;}[_0x11537b(0x11d)](){const _0x4b70bd=_0x11537b,_0x467fdf=this[_0x4b70bd(0xf7)][_0x4b70bd(0x100)][_0x4b70bd(0x177)](_0x2b9300);this[_0x4b70bd(0x139)]=new _0x46ad0d(this[_0x4b70bd(0xf7)][_0x4b70bd(0x14a)],this[_0x4b70bd(0x183)],this[_0x4b70bd(0xf7)][_0x4b70bd(0x11b)][_0x4b70bd(0x177)](_0x4b70bd(0x163))),this[_0x4b70bd(0x139)]['on'](_0x4b70bd(0x106),()=>{const _0xfb86fc=_0x4b70bd;this[_0xfb86fc(0x1a3)][_0xfb86fc(0x146)][_0xfb86fc(0x152)]||this[_0xfb86fc(0x1a3)][_0xfb86fc(0x146)][_0xfb86fc(0xfa)]();}),this[_0x4b70bd(0x139)][_0x4b70bd(0x117)][_0x4b70bd(0x110)][_0x4b70bd(0x17a)]['on'](_0x4b70bd(0x137),()=>{const _0xae1d12=_0x4b70bd;this[_0xae1d12(0x1a3)][_0xae1d12(0x146)][_0xae1d12(0x152)]||this[_0xae1d12(0x1a3)][_0xae1d12(0x146)][_0xae1d12(0xfa)]();}),this[_0x4b70bd(0x160)](this[_0x4b70bd(0x139)],_0x4b70bd(0x166),()=>{const _0x30be43=_0x4b70bd;_0x467fdf[_0x30be43(0x116)](this[_0x30be43(0x15e)][_0x30be43(0x15b)]),this[_0x30be43(0x15c)]();}),this[_0x4b70bd(0x160)](this[_0x4b70bd(0x139)],_0x4b70bd(0xf5),()=>{const _0x3e3085=_0x4b70bd;_0x467fdf[_0x3e3085(0xf5)](this[_0x3e3085(0x15e)][_0x3e3085(0x15b)]),this[_0x3e3085(0x15c)]();}),this[_0x4b70bd(0x16d)]();}[_0x11537b(0x16d)](){const _0x10aa09=_0x11537b,{locale:_0x44ee63,ui:{ariaLiveAnnouncer:_0x185b34}}=this[_0x10aa09(0xf7)];this[_0x10aa09(0x139)][_0x10aa09(0x169)]['on'](_0x10aa09(0x111),(_0x47be08,_0x1d5726,_0x397bba)=>{const _0x159a90=_0x10aa09,_0x5f5609=this[_0x159a90(0x15e)][_0x159a90(0x15b)];_0x397bba?_0x185b34[_0x159a90(0x103)](_0x4e7519(_0x44ee63,_0x159a90(0x11f))):_0x5f5609&&_0x185b34[_0x159a90(0x103)](_0x4e7519(_0x44ee63,_0x159a90(0x165),_0x5f5609),{'politeness':_0x159a90(0x101),'isUnsafeHTML':!0x0});}),this[_0x10aa09(0x139)]['on'](_0x10aa09(0xfb),(_0xdabc8e,_0x489064,_0x418601)=>{const _0x10422b=_0x10aa09;if(_0x418601){const _0x363233=this[_0x10422b(0x139)][_0x10422b(0xfe)][_0x10422b(0x195)];_0x185b34[_0x10422b(0x103)](_0x4e7519(_0x44ee63,_0x10422b(0x13a),_0x363233));}});}[_0x11537b(0x167)](_0x3666dc){const _0x5c4e3b=_0x11537b,_0x344e49=this[_0x5c4e3b(0x15a)][_0x5c4e3b(0x177)](_0x3666dc),_0x1d677=this[_0x5c4e3b(0xf7)],_0x3bffa7=_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x18f)][_0x5c4e3b(0x11c)],_0x3768e8=_0x1d677[_0x5c4e3b(0x16e)][_0x5c4e3b(0x177)](_0x5c4e3b(0x13e)),_0x50f10a=_0x1d677[_0x5c4e3b(0x100)][_0x5c4e3b(0x177)](_0x2b9300),_0x32e2e7=''+(_0x344e49[_0x5c4e3b(0x134)]!==_0x56a9f?_0x344e49[_0x5c4e3b(0x18e)]+':\x20':'')+_0x344e49[_0x5c4e3b(0x10a)];if(!0x1!==_0x344e49[_0x5c4e3b(0x12e)]&&_0x3bffa7[_0x5c4e3b(0x13c)]){const _0xe10bab=_0x38bc6c(_0x3bffa7[_0x5c4e3b(0x188)]())||_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x153)][_0x5c4e3b(0x141)](_0x3bffa7);_0x1d677[_0x5c4e3b(0x19c)][_0x5c4e3b(0x161)](_0x366e96=>{const _0x5e7b2c=_0x5c4e3b;_0x366e96[_0x5e7b2c(0x115)](_0xe10bab,'in');});}_0x50f10a[_0x5c4e3b(0x19f)](),_0x3768e8[_0x5c4e3b(0x196)](_0x344e49[_0x5c4e3b(0x102)],_0x32e2e7,_0x5c4e3b(0x19e)+_0x3666dc);}[_0x11537b(0x132)](_0x5c237c,_0x54ec0d,_0x3c5afe,_0x4b7522){const _0x55682f=_0x11537b,_0x2e47c2=this[_0x55682f(0xf7)],_0xa1aecf=_0x2e47c2[_0x55682f(0x14a)],_0x501755=new _0x555591(_0xa1aecf),_0x575294=ii(_0x2e47c2,_0x3c5afe)[_0x55682f(0x138)](_0x4b04c8=>_0x4b04c8[_0x55682f(0x16e)][_0x55682f(0xf8)]);0x1===_0x575294[_0x55682f(0xf8)]?this[_0x55682f(0xfd)]({'command':_0x5c237c,'commands':_0x575294[0x0][_0x55682f(0x16e)],'parentMenuView':_0x54ec0d,'onExecute':_0x4b7522})[_0x55682f(0x127)](_0x4ebbef=>_0x501755[_0x55682f(0x174)][_0x55682f(0x13f)](_0x4ebbef)):_0x575294[_0x55682f(0x127)](({groupId:_0x53412f,groupLabel:_0x1c3033,commands:_0x86110e})=>{const _0x4e50e8=_0x55682f,_0x1737bc=new _0x177a71(_0xa1aecf,_0x54ec0d),_0x13539c=new _0x33968b(_0xa1aecf),_0x16cde2=new _0x555591(_0xa1aecf),_0x349918=this[_0x4e50e8(0xfd)]({'command':_0x5c237c,'commands':_0x86110e,'parentMenuView':_0x13539c,'onExecute':_0x4b7522});_0x13539c[_0x4e50e8(0x175)][_0x4e50e8(0x173)]({'label':_0x1c3033||_0x53412f}),_0x13539c[_0x4e50e8(0x129)](_0x4e50e8(0x196))['to'](_0x54ec0d),_0x16cde2[_0x4e50e8(0x174)][_0x4e50e8(0x16b)](_0x349918),_0x13539c[_0x4e50e8(0x17e)][_0x4e50e8(0x19a)][_0x4e50e8(0x13f)](_0x16cde2),_0x1737bc[_0x4e50e8(0x19a)][_0x4e50e8(0x13f)](_0x13539c),_0x501755[_0x4e50e8(0x174)][_0x4e50e8(0x13f)](_0x1737bc);}),_0x54ec0d[_0x55682f(0x17e)][_0x55682f(0x19a)][_0x55682f(0x13f)](_0x501755);}[_0x11537b(0xfd)]({command:_0x54e9dc,commands:_0x595609,parentMenuView:_0x2adb44,onExecute:_0x37ba4c}){const _0x3b2be8=_0x11537b,_0x1e8a31=this[_0x3b2be8(0xf7)],_0x48bfb5=_0x1e8a31[_0x3b2be8(0x14a)];return ii(_0x1e8a31,_0x595609)[_0x3b2be8(0x199)](_0x522de4=>{const _0x25ffae=_0x3b2be8,_0x34d210=new _0x177a71(_0x48bfb5,_0x2adb44),_0xb6968b=new _0x215053(_0x48bfb5);return _0xb6968b[_0x25ffae(0x173)]({'label':_0x522de4[_0x25ffae(0x10a)]}),_0xb6968b[_0x25ffae(0x129)](_0x25ffae(0x196))['to'](_0x2adb44),_0xb6968b['on'](_0x25ffae(0x196),()=>_0x37ba4c(_0x522de4['id'])),_0xb6968b[_0x25ffae(0x108)](_0x25ffae(0x172))['to'](_0x54e9dc,_0x25ffae(0x171),_0x56403f=>_0x56403f[_0x25ffae(0x118)](_0x522de4['id'])),_0x34d210[_0x25ffae(0x19a)][_0x25ffae(0x13f)](_0xb6968b),_0x34d210;});}}function Z(_0x2aef2a,_0x4eb810){const _0xc75f2a=_0x11537b;return void 0x0!==_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0===_0x4eb810[_0xc75f2a(0x170)]?0x1:void 0x0===_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0!==_0x4eb810[_0xc75f2a(0x170)]?-0x1:void 0x0!==_0x2aef2a[_0xc75f2a(0x170)]&&void 0x0!==_0x4eb810[_0xc75f2a(0x170)]?_0x2aef2a[_0xc75f2a(0x170)]-_0x4eb810[_0xc75f2a(0x170)]:0x0;}function ii(_0x1638a4,_0x11ac67){const _0x338864=_0x11537b;_0x11ac67[_0x338864(0x10d)](Z);const _0x17dd79={},_0x477536=[];for(const _0x125e20 of _0x11ac67)if(void 0x0!==_0x125e20[_0x338864(0x170)]){if(_0x125e20[_0x338864(0x170)]in _0x17dd79)throw new _0x29079b(_0x338864(0x109),_0x1638a4,{'conflictingDefinitions':[_0x125e20,_0x17dd79[_0x125e20[_0x338864(0x170)]]]});_0x17dd79[_0x125e20[_0x338864(0x170)]]=_0x125e20,_0x477536[_0x338864(0x1a1)](_0x125e20[_0x338864(0x170)],0x0,_0x125e20);}else _0x477536[_0x338864(0x184)](_0x125e20);return _0x477536;}
23
+ const _0x3758f4=_0x3809;(function(_0x446aaa,_0x1a3e26){const _0x2d48b9=_0x3809,_0x497b7b=_0x446aaa();while(!![]){try{const _0x44d973=-parseInt(_0x2d48b9(0x220))/0x1+parseInt(_0x2d48b9(0x230))/0x2*(parseInt(_0x2d48b9(0x223))/0x3)+parseInt(_0x2d48b9(0x24a))/0x4+parseInt(_0x2d48b9(0x219))/0x5+parseInt(_0x2d48b9(0x24e))/0x6*(-parseInt(_0x2d48b9(0x1cf))/0x7)+parseInt(_0x2d48b9(0x1dc))/0x8*(parseInt(_0x2d48b9(0x205))/0x9)+parseInt(_0x2d48b9(0x1bb))/0xa*(-parseInt(_0x2d48b9(0x232))/0xb);if(_0x44d973===_0x1a3e26)break;else _0x497b7b['push'](_0x497b7b['shift']());}catch(_0x985993){_0x497b7b['push'](_0x497b7b['shift']());}}}(_0x562d,0xab032));import{Plugin as _0x4e22a5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3d9bf0,IconRobotPencil as _0x105dff}from'ckeditor5/src/icons.js';import{first as _0x2d0aea,CKEditorError as _0x204e12}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b3139,addMenuToDropdown as _0x20bfce,ButtonView as _0x5d48a9,MenuBarMenuListItemButtonView as _0x568a8a,Dialog as _0x1737df,DialogViewPosition as _0x18b26f,MenuBarMenuView as _0x2953e6,MenuBarMenuListView as _0x6d3eeb,MenuBarMenuListItemView as _0x1f01fb}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x7f82bb,UNGROUPED_COMMANDS_GROUP_ID as _0x5466e5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x30b427}from'./aiassistantediting.js';function _0x3809(_0x25f03f,_0xd596f7){const _0x562d8b=_0x562d();return _0x3809=function(_0x380978,_0x44ee8b){_0x380978=_0x380978-0x1b9;let _0x5e2322=_0x562d8b[_0x380978];return _0x5e2322;},_0x3809(_0x25f03f,_0xd596f7);}import{AIAdapter as _0x3b42ee}from'./adapters/aiadapter.js';import{getTranslation as _0x4190fe}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3b4a2c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x22c8f6}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xafb510}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x532637}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x562d(){const _0x26eb63=['_getResolvedCommandsDefinitions','getSelectedElement','1494dYqMjV','trim','groupId','groupLabel','children','isEnabled','includes','showAIAssistant','hideFakeVisualSelection','showFakeVisualSelection','execute','listenTo','updatePosition','isOn','Generated\x20content:\x20%0','contentArea','config','focus','source','showUI','5690115OYYQBr','locale','push','licenseKey','Error\x20during\x20AI\x20content\x20generation:\x20%0','insertContentBelow','isFlat','17637WEZoHP','change:enabledCommandsIds','aiLicenseKeyDomainLimit','1209YoBjGH','once','ai.assistant.commands','length','ai.assistant.disabledElements','hide','buttonView','\x20ck-ai-assistant-ui_theme','get','_createAIAssistantUIButton','show','getLimitElement','rawHtml','1128HCrMyi','getRanges','1859aqRxGN','order','menuitemcheckbox','text/html','_initView','change:value','sort','pluginName','menuView','render','AIAssistant','plugins','currentContext','ai.assistant.useTheme','editing','media','_forceMarkersCopy','ck-ai-assistant-button\x20','updateView','trialLimit','define','expired','schema','_uiCssClasses','731552OSMRmX','commands','announce','document','85704WLMhQb','promptView','label','ck-ai-assistant-ui','prompt','copy','INSERT','_aiAdapter','_onExecute','isOfficialPlugin','view','textAdapter','replaceContent','fieldView','_aiAssistantController','splice','invalid','isPremiumPlugin','aiLicenseKeyUsageLimit','command:','buttons','selection','EDITOR_TOP_SIDE','requires','aiLicenseKeyExpired','AI\x20Assistant','</p>','change:isError','isCollapsed','errorView','53020IXmBQi','model','from','replace','aiLicenseKeyValid','update','requiresContent','menuBar:aiCommands','REPLACE','aiLicenseKeyEvaluationLimit','getSelectedBlocks','bind','aiAssistant','evaluationLimit','AI\x20is\x20writing','AIAssistantUI','change','componentFactory','getData','wasMoved','259lUqJNG','text','panelView','enabledCommandsIds','editor','body','_initAriaAiStatusChangeAnnouncements','filter','<p>','_showLicenseError','_formView','featureNotAllowed','values','28648KcVaju','addMany','add','change:isProcessing','hideUI','map','fire','queryView','aiLicenseKeyInvalid','_getMenuBarGroupButtons','init','items','ai.assistant.contentAreaCssClass','domainLimit','set','insertContent','delegate','DataTransfer','aiCommands','menuPanelClass','destroy','_commandDefinitions','_dialog','reset','menuBar:aiAssistant','_licenseKeyCheckInterval','_populateMenuBarMenu','comment','aiLicenseKeyTrialLimit','ck-ai-commands-dropdown\x20','usageLimit','custom','ai-commands-config-order-collision','tableOfContents','forEach','AI\x20Commands','aiLicenseKeyNotAllowed','polite','setSelection'];_0x562d=function(){return _0x26eb63;};return _0x562d();}const l=globalThis[_0x3758f4(0x1ed)];import{ClipboardMarkersUtils as _0x56f310}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x57ccc6,ViewDataTransfer as _0x44efa1}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4e22a5{[_0x3758f4(0x21c)];[_0x3758f4(0x1f5)];[_0x3758f4(0x1f2)];[_0x3758f4(0x1d9)];[_0x3758f4(0x255)];[_0x3758f4(0x25c)];[_0x3758f4(0x249)]='';static get[_0x3758f4(0x239)](){const _0x518903=_0x3758f4;return _0x518903(0x1ca);}static get[_0x3758f4(0x257)](){return!0x0;}static get[_0x3758f4(0x25f)](){return!0x0;}static get[_0x3758f4(0x265)](){return[_0x56f310,_0x30b427,_0x3b42ee,_0x1737df];}constructor(_0x503d53){const _0x40452f=_0x3758f4;super(_0x503d53),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x227),[_0x40452f(0x241),_0x40452f(0x22f),_0x40452f(0x1fd)]),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x1e8),''),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x23f),!0x0),this[_0x40452f(0x249)]=_0x40452f(0x251)+(_0x503d53[_0x40452f(0x215)][_0x40452f(0x22b)](_0x40452f(0x23f))?_0x40452f(0x22a):'');}[_0x3758f4(0x1e6)](){const _0x2a3b28=_0x3758f4,{editor:_0x98af31}=this;this[_0x2a3b28(0x255)]=_0x98af31[_0x2a3b28(0x23d)][_0x2a3b28(0x22b)](_0x3b42ee),this[_0x2a3b28(0x1f2)]=_0x98af31[_0x2a3b28(0x23d)][_0x2a3b28(0x22b)](_0x1737df),this[_0x2a3b28(0x1d9)]=null,this[_0x2a3b28(0x1f1)]=this[_0x2a3b28(0x203)]();const _0x439fb1=new _0x3b4a2c(_0x98af31,Array[_0x2a3b28(0x1bd)](this[_0x2a3b28(0x1f1)][_0x2a3b28(0x1db)]()));_0x98af31[_0x2a3b28(0x24b)][_0x2a3b28(0x1de)](_0x2a3b28(0x20c),_0x439fb1),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1ee),_0x54100f=>{const _0x42a9f6=_0x2a3b28,_0xc9b942=_0x4b3139(_0x54100f);return _0xc9b942[_0x42a9f6(0x1ea)]({'class':_0x42a9f6(0x1f9)+this[_0x42a9f6(0x249)]}),_0xc9b942[_0x42a9f6(0x229)][_0x42a9f6(0x1ea)]({'label':_0x4190fe(_0x54100f,_0x42a9f6(0x1ff)),'icon':_0x3d9bf0,'tooltip':!0x0}),_0xc9b942['on'](_0x42a9f6(0x20f),_0x5ec26a=>this[_0x42a9f6(0x256)](_0x5ec26a[_0x42a9f6(0x217)]['id'])),_0x20bfce(_0xc9b942,_0x98af31['ui'][_0x42a9f6(0x258)][_0x42a9f6(0x1d4)],function(_0x40ecd5){const _0x630ddb=_0x42a9f6,_0xeff68c=_0x7f82bb(_0x40ecd5[_0x630ddb(0x215)][_0x630ddb(0x22b)](_0x630ddb(0x225)),_0x40ecd5[_0x630ddb(0x21a)]),_0x45c541=U(_0x40ecd5,_0xeff68c)[_0x630ddb(0x1d6)](_0x5291d9=>_0x5291d9[_0x630ddb(0x24b)][_0x630ddb(0x226)]);if(0x1===_0x45c541[_0x630ddb(0x226)])return U(_0x40ecd5,_0x45c541[0x0][_0x630ddb(0x24b)])[_0x630ddb(0x1e1)](_0x27c0fa=>({'id':_0x27c0fa['id'],'label':_0x27c0fa[_0x630ddb(0x250)]}));return _0x45c541[_0x630ddb(0x1e1)](_0x3a4f84=>{const _0x7ef0a2=_0x630ddb,{groupId:_0x5da91a,groupLabel:_0x40b966,commands:_0x2a3494}=_0x3a4f84,_0x429a05=U(_0x40ecd5,_0x2a3494)[_0x7ef0a2(0x1e1)](_0x1ecc85=>({'id':_0x1ecc85['id'],'label':_0x1ecc85[_0x7ef0a2(0x250)]}));return{'id':_0x5da91a,'menu':_0x40b966||_0x5da91a,'children':_0x429a05};});}(_0x98af31),{'ariaLabel':_0x4190fe(_0x54100f,_0x42a9f6(0x1ff))}),_0xc9b942[_0x42a9f6(0x23a)][_0x42a9f6(0x1ef)]=_0x42a9f6(0x1f9)+this[_0x42a9f6(0x249)],_0x439fb1['on'](_0x42a9f6(0x221),_0x4d6b57),_0xc9b942[_0x42a9f6(0x23a)][_0x42a9f6(0x224)](_0x42a9f6(0x23b),_0x4d6b57),_0xc9b942;function _0x4d6b57(){const _0x3da0f2=_0x42a9f6;_0xc9b942[_0x3da0f2(0x20a)]=_0x439fb1[_0x3da0f2(0x1d2)][_0x3da0f2(0x226)]>0x0;for(const _0x3388a7 of _0xc9b942[_0x3da0f2(0x23a)][_0x3da0f2(0x262)])_0x3388a7[_0x3da0f2(0x20a)]=_0x439fb1[_0x3da0f2(0x1d2)][_0x3da0f2(0x20b)](_0x3388a7['id']);}}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1c2),_0x1662b0=>{const _0x172de0=_0x2a3b28,_0x1e8d81=new _0x2953e6(_0x1662b0);_0x1e8d81[_0x172de0(0x229)][_0x172de0(0x1ea)]({'label':_0x4190fe(_0x1662b0,_0x172de0(0x1ff)),'icon':_0x3d9bf0}),_0x1e8d81[_0x172de0(0x1c6)](_0x172de0(0x20a))['to'](_0x439fb1,_0x172de0(0x1d2),_0x3e8a7b=>_0x3e8a7b[_0x172de0(0x226)]>0x0);const _0x3fcf07=_0x7f82bb(_0x98af31[_0x172de0(0x215)][_0x172de0(0x22b)](_0x172de0(0x225)),_0x1662b0);return this[_0x172de0(0x1f6)](_0x439fb1,_0x1e8d81,_0x3fcf07,_0x416ded=>this[_0x172de0(0x256)](_0x416ded)),_0x1e8d81;}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1c7),()=>{const _0x5ed4fa=_0x2a3b28,_0x17bca6=this[_0x5ed4fa(0x22c)](_0x5d48a9);return _0x17bca6[_0x5ed4fa(0x1ea)]({'tooltip':!0x0,'class':_0x5ed4fa(0x243)+this[_0x5ed4fa(0x249)]}),_0x17bca6;}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1f4),()=>{const _0x35698a=_0x2a3b28,_0x28389a=this[_0x35698a(0x22c)](_0x568a8a);return _0x28389a[_0x35698a(0x1ea)]({'role':_0x35698a(0x234)}),_0x28389a;}),this[_0x2a3b28(0x21c)]=this[_0x2a3b28(0x1d3)][_0x2a3b28(0x215)][_0x2a3b28(0x22b)](_0x2a3b28(0x21c));const _0x4eb5d3=this[_0x2a3b28(0x1d3)];this[_0x2a3b28(0x1f5)]=setInterval(()=>{const _0x37cc89=_0x2a3b28;let _0x4714c3;for(const _0x4208b2 in _0x4eb5d3){const _0x1f687d=_0x4208b2,_0x503955=_0x4eb5d3[_0x1f687d];if(_0x37cc89(0x1bf)==_0x503955||_0x37cc89(0x1e4)==_0x503955||_0x37cc89(0x266)==_0x503955||_0x37cc89(0x222)==_0x503955||_0x37cc89(0x200)==_0x503955||_0x37cc89(0x1c4)==_0x503955||_0x37cc89(0x1f8)==_0x503955||_0x37cc89(0x260)==_0x503955){delete _0x4eb5d3[_0x1f687d],_0x4714c3=_0x503955,clearInterval(this[_0x37cc89(0x1f5)]),this[_0x37cc89(0x1f5)]=void 0x0;break;}}_0x37cc89(0x1e4)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x25e)),_0x37cc89(0x266)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x247)),_0x37cc89(0x222)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1e9)),_0x37cc89(0x200)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1da),_0x37cc89(0x23c)),_0x37cc89(0x1c4)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1c8)),_0x37cc89(0x1f8)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x245)),_0x37cc89(0x260)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1fa));},0x3e8);}[_0x3758f4(0x1f0)](){const _0x3bb7bb=_0x3758f4;super[_0x3bb7bb(0x1f0)](),this[_0x3bb7bb(0x1f5)]&&clearInterval(this[_0x3bb7bb(0x1f5)]);}[_0x3758f4(0x218)](_0x94cf0a='',_0x1a94cd='',_0x3f1dff=_0x3758f4(0x1fb)){const _0x101752=_0x3758f4,_0x27cfd0=this[_0x101752(0x1d3)],_0x1d1bca=_0x27cfd0[_0x101752(0x240)][_0x101752(0x258)],_0xbf53f7=_0x27cfd0[_0x101752(0x23d)][_0x101752(0x22b)](_0x30b427),_0x17d2db=_0x27cfd0[_0x101752(0x23d)][_0x101752(0x22b)](_0x56f310);_0xbf53f7[_0x101752(0x20e)]();const _0x43ff0b=new l(),_0x36d965=new ClipboardEvent(_0x101752(0x253),{'clipboardData':_0x43ff0b}),_0x39449d=new _0x44efa1(_0x43ff0b),_0x21abd7=new _0x57ccc6(_0x1d1bca,_0x36d965,{'dataTransfer':_0x39449d});_0x17d2db[_0x101752(0x242)](_0x101752(0x1f7),()=>{const _0x557666=_0x101752;_0x1d1bca[_0x557666(0x24d)][_0x557666(0x1e2)](_0x557666(0x253),_0x21abd7);}),this[_0x101752(0x1d9)]||(this[_0x101752(0x236)](),this[_0x101752(0x25c)]=new _0x22c8f6(_0x27cfd0,this[_0x101752(0x255)][_0x101752(0x259)],this[_0x101752(0x1d9)]));let _0x5bc02f=_0x39449d[_0x101752(0x1cd)](_0x101752(0x235));const _0x483429=_0x27cfd0[_0x101752(0x1bc)][_0x101752(0x24d)][_0x101752(0x263)],_0x5b8db4=Array[_0x101752(0x1bd)](_0x483429[_0x101752(0x231)]());0x1===_0x5b8db4[_0x101752(0x226)]&&_0x5b8db4[0x0][_0x101752(0x21f)]&&!_0x483429[_0x101752(0x204)]()&&''!==_0x5bc02f[_0x101752(0x1be)](/&nbsp;/g,'')[_0x101752(0x206)]()&&(_0x5bc02f=_0x101752(0x1d7)+_0x5bc02f+_0x101752(0x268)),this[_0x101752(0x25c)][_0x101752(0x244)]({'actionId':_0x3f1dff,'query':_0x94cf0a,'htmlContent':_0x5bc02f,'label':_0x1a94cd,'mainActionLabel':_0x532637[_0x27cfd0[_0x101752(0x1bc)][_0x101752(0x24d)][_0x101752(0x263)][_0x101752(0x1b9)]?_0x101752(0x254):_0x101752(0x1c3)]}),_0x101752(0x1c7)!==this[_0x101752(0x1f2)]['id']?this[_0x101752(0x1f2)][_0x101752(0x22d)]({'id':_0x101752(0x1c7),'icon':_0x105dff,'title':_0x4190fe(this[_0x101752(0x1d3)][_0x101752(0x21a)],_0x101752(0x267)),'content':this[_0x101752(0x1d9)],'position':_0x18b26f[_0x101752(0x264)],'onShow':()=>{const _0x5d37fc=_0x101752;this[_0x5d37fc(0x1d9)][_0x5d37fc(0x216)]();},'onHide':()=>{const _0x361f78=_0x101752;this[_0x361f78(0x25c)][_0x361f78(0x1f3)](),_0xbf53f7[_0x361f78(0x20d)]();}}):this[_0x101752(0x1f2)][_0x101752(0x258)][_0x101752(0x1ce)]||this[_0x101752(0x1f2)][_0x101752(0x258)][_0x101752(0x211)]();}[_0x3758f4(0x1e0)](){const _0x2f7c6e=_0x3758f4;this[_0x2f7c6e(0x1f2)][_0x2f7c6e(0x228)]();}[_0x3758f4(0x203)](){const _0x4d589a=_0x3758f4,_0x35b3e8=new Map(),_0x318420=_0x7f82bb(this[_0x4d589a(0x1d3)][_0x4d589a(0x215)][_0x4d589a(0x22b)](_0x4d589a(0x225)),this[_0x4d589a(0x1d3)][_0x4d589a(0x21a)]);for(const _0x21321a of _0x318420)for(const _0x216944 of _0x21321a[_0x4d589a(0x24b)])_0x35b3e8[_0x4d589a(0x1ea)](_0x216944['id'],{..._0x216944,'groupId':_0x21321a[_0x4d589a(0x207)],'groupLabel':_0x21321a[_0x4d589a(0x208)]||_0x21321a[_0x4d589a(0x207)]});return _0x35b3e8;}[_0x3758f4(0x22c)](_0xc44f7){const _0x5864b1=_0x3758f4,_0x1d9fc6=this[_0x5864b1(0x1d3)],_0x2b3b8c=_0x1d9fc6[_0x5864b1(0x24b)][_0x5864b1(0x22b)](_0x5864b1(0x20c)),_0x257355=new _0xc44f7(_0x1d9fc6[_0x5864b1(0x21a)]);return _0x257355[_0x5864b1(0x1ea)]({'label':_0x4190fe(_0x1d9fc6[_0x5864b1(0x21a)],_0x5864b1(0x267)),'icon':_0x105dff,'isToggleable':!0x0}),_0x257355[_0x5864b1(0x1c6)](_0x5864b1(0x20a))['to'](_0x2b3b8c),_0x257355[_0x5864b1(0x1c6)](_0x5864b1(0x212))['to'](this[_0x5864b1(0x1f2)],'id',_0x20c332=>_0x5864b1(0x1c7)===_0x20c332),this[_0x5864b1(0x210)](_0x257355,_0x5864b1(0x20f),()=>{const _0x9bbea5=_0x5864b1;_0x257355[_0x9bbea5(0x212)]?this[_0x9bbea5(0x1e0)]():_0x2b3b8c[_0x9bbea5(0x20f)]();}),_0x257355;}[_0x3758f4(0x236)](){const _0x2ecc62=_0x3758f4,_0x5a3819=this[_0x2ecc62(0x1d3)][_0x2ecc62(0x23d)][_0x2ecc62(0x22b)](_0x30b427);this[_0x2ecc62(0x1d9)]=new _0xafb510(this[_0x2ecc62(0x1d3)][_0x2ecc62(0x21a)],this[_0x2ecc62(0x249)],this[_0x2ecc62(0x1d3)][_0x2ecc62(0x215)][_0x2ecc62(0x22b)](_0x2ecc62(0x1e8))),this[_0x2ecc62(0x1d9)]['on'](_0x2ecc62(0x237),()=>{const _0x3900bd=_0x2ecc62;this[_0x3900bd(0x1f2)][_0x3900bd(0x258)][_0x3900bd(0x1ce)]||this[_0x3900bd(0x1f2)][_0x3900bd(0x258)][_0x3900bd(0x211)]();}),this[_0x2ecc62(0x1d9)][_0x2ecc62(0x24f)][_0x2ecc62(0x1e3)][_0x2ecc62(0x25b)]['on'](_0x2ecc62(0x1c0),()=>{const _0x5dbcbb=_0x2ecc62;this[_0x5dbcbb(0x1f2)][_0x5dbcbb(0x258)][_0x5dbcbb(0x1ce)]||this[_0x5dbcbb(0x1f2)][_0x5dbcbb(0x258)][_0x5dbcbb(0x211)]();}),this[_0x2ecc62(0x210)](this[_0x2ecc62(0x1d9)],_0x2ecc62(0x25a),()=>{const _0x5b9a5f=_0x2ecc62;_0x5a3819[_0x5b9a5f(0x1eb)](this[_0x5b9a5f(0x25c)][_0x5b9a5f(0x23e)]),this[_0x5b9a5f(0x1e0)]();}),this[_0x2ecc62(0x210)](this[_0x2ecc62(0x1d9)],_0x2ecc62(0x21e),()=>{const _0x2a5b3f=_0x2ecc62;_0x5a3819[_0x2a5b3f(0x21e)](this[_0x2a5b3f(0x25c)][_0x2a5b3f(0x23e)]),this[_0x2a5b3f(0x1e0)]();}),this[_0x2ecc62(0x1d5)]();}[_0x3758f4(0x1d5)](){const _0x53f010=_0x3758f4,{locale:_0x17be2b,ui:{ariaLiveAnnouncer:_0x464fc6}}=this[_0x53f010(0x1d3)];this[_0x53f010(0x1d9)][_0x53f010(0x214)]['on'](_0x53f010(0x1df),(_0x26fa0f,_0x1fced7,_0x24c0b4)=>{const _0x50263f=_0x53f010,_0x1b54d2=this[_0x50263f(0x25c)][_0x50263f(0x23e)];_0x24c0b4?_0x464fc6[_0x50263f(0x24c)](_0x4190fe(_0x17be2b,_0x50263f(0x1c9))):_0x1b54d2&&_0x464fc6[_0x50263f(0x24c)](_0x4190fe(_0x17be2b,_0x50263f(0x213),_0x1b54d2),{'politeness':_0x50263f(0x201),'isUnsafeHTML':!0x0});}),this[_0x53f010(0x1d9)]['on'](_0x53f010(0x269),(_0x315ae0,_0x32ace0,_0x37f8fa)=>{const _0x5d1c70=_0x53f010;if(_0x37f8fa){const _0x115d1c=this[_0x5d1c70(0x1d9)][_0x5d1c70(0x1ba)][_0x5d1c70(0x1d0)];_0x464fc6[_0x5d1c70(0x24c)](_0x4190fe(_0x17be2b,_0x5d1c70(0x21d),_0x115d1c));}});}[_0x3758f4(0x256)](_0x460f6e){const _0x129ddc=_0x3758f4,_0x2be711=this[_0x129ddc(0x1f1)][_0x129ddc(0x22b)](_0x460f6e),_0x458f28=this[_0x129ddc(0x1d3)],_0x4e05f9=_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x24d)][_0x129ddc(0x263)],_0x5184da=_0x458f28[_0x129ddc(0x24b)][_0x129ddc(0x22b)](_0x129ddc(0x20c)),_0x133c30=_0x458f28[_0x129ddc(0x23d)][_0x129ddc(0x22b)](_0x30b427),_0x570077=''+(_0x2be711[_0x129ddc(0x207)]!==_0x5466e5?_0x2be711[_0x129ddc(0x208)]+':\x20':'')+_0x2be711[_0x129ddc(0x250)];if(!0x1!==_0x2be711[_0x129ddc(0x1c1)]&&_0x4e05f9[_0x129ddc(0x1b9)]){const _0x134043=_0x2d0aea(_0x4e05f9[_0x129ddc(0x1c5)]())||_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x248)][_0x129ddc(0x22e)](_0x4e05f9);_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x1cb)](_0x4cd362=>{const _0x3266fb=_0x129ddc;_0x4cd362[_0x3266fb(0x202)](_0x134043,'in');});}_0x133c30[_0x129ddc(0x20e)](),_0x5184da[_0x129ddc(0x20f)](_0x2be711[_0x129ddc(0x252)],_0x570077,_0x129ddc(0x261)+_0x460f6e);}[_0x3758f4(0x1f6)](_0x404b07,_0x4780b8,_0x385629,_0x45eb1d){const _0x4753cf=_0x3758f4,_0xb1b96c=this[_0x4753cf(0x1d3)],_0x3b9ee5=_0xb1b96c[_0x4753cf(0x21a)],_0x3b17fe=new _0x6d3eeb(_0x3b9ee5),_0x37a7dc=U(_0xb1b96c,_0x385629)[_0x4753cf(0x1d6)](_0x23e9db=>_0x23e9db[_0x4753cf(0x24b)][_0x4753cf(0x226)]);0x1===_0x37a7dc[_0x4753cf(0x226)]?this[_0x4753cf(0x1e5)]({'command':_0x404b07,'commands':_0x37a7dc[0x0][_0x4753cf(0x24b)],'parentMenuView':_0x4780b8,'onExecute':_0x45eb1d})[_0x4753cf(0x1fe)](_0x45a215=>_0x3b17fe[_0x4753cf(0x1e7)][_0x4753cf(0x1de)](_0x45a215)):_0x37a7dc[_0x4753cf(0x1fe)](({groupId:_0x552ab5,groupLabel:_0x3b1dc1,commands:_0x2023f4})=>{const _0x66bc8a=_0x4753cf,_0xe6839=new _0x1f01fb(_0x3b9ee5,_0x4780b8),_0x53cbb6=new _0x2953e6(_0x3b9ee5),_0x121a61=new _0x6d3eeb(_0x3b9ee5),_0x3fbad7=this[_0x66bc8a(0x1e5)]({'command':_0x404b07,'commands':_0x2023f4,'parentMenuView':_0x53cbb6,'onExecute':_0x45eb1d});_0x53cbb6[_0x66bc8a(0x229)][_0x66bc8a(0x1ea)]({'label':_0x3b1dc1||_0x552ab5}),_0x53cbb6[_0x66bc8a(0x1ec)](_0x66bc8a(0x20f))['to'](_0x4780b8),_0x121a61[_0x66bc8a(0x1e7)][_0x66bc8a(0x1dd)](_0x3fbad7),_0x53cbb6[_0x66bc8a(0x1d1)][_0x66bc8a(0x209)][_0x66bc8a(0x1de)](_0x121a61),_0xe6839[_0x66bc8a(0x209)][_0x66bc8a(0x1de)](_0x53cbb6),_0x3b17fe[_0x66bc8a(0x1e7)][_0x66bc8a(0x1de)](_0xe6839);}),_0x4780b8[_0x4753cf(0x1d1)][_0x4753cf(0x209)][_0x4753cf(0x1de)](_0x3b17fe);}[_0x3758f4(0x1e5)]({command:_0x188923,commands:_0x3427e2,parentMenuView:_0x40d69,onExecute:_0x5ee500}){const _0x599e56=_0x3758f4,_0x5cdb1f=this[_0x599e56(0x1d3)],_0x3d4b2b=_0x5cdb1f[_0x599e56(0x21a)];return U(_0x5cdb1f,_0x3427e2)[_0x599e56(0x1e1)](_0x2c5a3d=>{const _0x5001f1=_0x599e56,_0x371b49=new _0x1f01fb(_0x3d4b2b,_0x40d69),_0x41b092=new _0x568a8a(_0x3d4b2b);return _0x41b092[_0x5001f1(0x1ea)]({'label':_0x2c5a3d[_0x5001f1(0x250)]}),_0x41b092[_0x5001f1(0x1ec)](_0x5001f1(0x20f))['to'](_0x40d69),_0x41b092['on'](_0x5001f1(0x20f),()=>_0x5ee500(_0x2c5a3d['id'])),_0x41b092[_0x5001f1(0x1c6)](_0x5001f1(0x20a))['to'](_0x188923,_0x5001f1(0x1d2),_0x4417c8=>_0x4417c8[_0x5001f1(0x20b)](_0x2c5a3d['id'])),_0x371b49[_0x5001f1(0x209)][_0x5001f1(0x1de)](_0x41b092),_0x371b49;});}}function T(_0x493cba,_0x4b5689){const _0x38325f=_0x3758f4;return void 0x0!==_0x493cba[_0x38325f(0x233)]&&void 0x0===_0x4b5689[_0x38325f(0x233)]?0x1:void 0x0===_0x493cba[_0x38325f(0x233)]&&void 0x0!==_0x4b5689[_0x38325f(0x233)]?-0x1:void 0x0!==_0x493cba[_0x38325f(0x233)]&&void 0x0!==_0x4b5689[_0x38325f(0x233)]?_0x493cba[_0x38325f(0x233)]-_0x4b5689[_0x38325f(0x233)]:0x0;}function U(_0x51d24d,_0xea9ad7){const _0x1f6428=_0x3758f4;_0xea9ad7[_0x1f6428(0x238)](T);const _0x17784b={},_0x563605=[];for(const _0x4484f3 of _0xea9ad7)if(void 0x0!==_0x4484f3[_0x1f6428(0x233)]){if(_0x4484f3[_0x1f6428(0x233)]in _0x17784b)throw new _0x204e12(_0x1f6428(0x1fc),_0x51d24d,{'conflictingDefinitions':[_0x4484f3,_0x17784b[_0x4484f3[_0x1f6428(0x233)]]]});_0x17784b[_0x4484f3[_0x1f6428(0x233)]]=_0x4484f3,_0x563605[_0x1f6428(0x25d)](_0x4484f3[_0x1f6428(0x233)],0x0,_0x4484f3);}else _0x563605[_0x1f6428(0x21b)](_0x4484f3);return _0x563605;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d3c(){var _0x2af6f5=['3859976cYGOmN','18ybTkbf','58lTSlxP','6ZUPxWb','3384255dDphid','594hMyKKx','16314gWqkSw','126672DfKiFX','2490948zPgCSX','5025805ALmPgg','398100tBIlAC'];_0x4d3c=function(){return _0x2af6f5;};return _0x4d3c();}(function(_0x3408d6,_0x34e8f9){var _0x442ad5=_0x487f,_0x2650db=_0x3408d6();while(!![]){try{var _0x39d3b0=-parseInt(_0x442ad5(0x101))/0x1*(parseInt(_0x442ad5(0xfd))/0x2)+parseInt(_0x442ad5(0x102))/0x3+-parseInt(_0x442ad5(0x103))/0x4+-parseInt(_0x442ad5(0x104))/0x5*(-parseInt(_0x442ad5(0xfe))/0x6)+-parseInt(_0x442ad5(0xff))/0x7+-parseInt(_0x442ad5(0x106))/0x8*(parseInt(_0x442ad5(0x107))/0x9)+parseInt(_0x442ad5(0x105))/0xa*(parseInt(_0x442ad5(0x100))/0xb);if(_0x39d3b0===_0x34e8f9)break;else _0x2650db['push'](_0x2650db['shift']());}catch(_0x3a19d1){_0x2650db['push'](_0x2650db['shift']());}}}(_0x4d3c,0x9f617));function _0x487f(_0x4875fd,_0x4d2610){var _0x4d3c6e=_0x4d3c();return _0x487f=function(_0x487f8a,_0x59dd48){_0x487f8a=_0x487f8a-0xfd;var _0x225120=_0x4d3c6e[_0x487f8a];return _0x225120;},_0x487f(_0x4875fd,_0x4d2610);}import{CKEditorError as _0x2823b3}from'ckeditor5/src/utils.js';
23
+ (function(_0x34ea2c,_0x80402c){var _0x4852a1=_0x614b,_0x1394b9=_0x34ea2c();while(!![]){try{var _0xea81ed=parseInt(_0x4852a1(0xcb))/0x1+-parseInt(_0x4852a1(0xc9))/0x2*(-parseInt(_0x4852a1(0xc6))/0x3)+-parseInt(_0x4852a1(0xc8))/0x4*(parseInt(_0x4852a1(0xc3))/0x5)+-parseInt(_0x4852a1(0xcc))/0x6+parseInt(_0x4852a1(0xc5))/0x7*(parseInt(_0x4852a1(0xcd))/0x8)+-parseInt(_0x4852a1(0xca))/0x9*(parseInt(_0x4852a1(0xc7))/0xa)+-parseInt(_0x4852a1(0xc2))/0xb*(-parseInt(_0x4852a1(0xc4))/0xc);if(_0xea81ed===_0x80402c)break;else _0x1394b9['push'](_0x1394b9['shift']());}catch(_0x19fb69){_0x1394b9['push'](_0x1394b9['shift']());}}}(_0x294d,0xb6e23));function _0x614b(_0x3c8856,_0x331a0c){var _0x294d48=_0x294d();return _0x614b=function(_0x614b73,_0x7101f1){_0x614b73=_0x614b73-0xc2;var _0x79b56e=_0x294d48[_0x614b73];return _0x79b56e;},_0x614b(_0x3c8856,_0x331a0c);}function _0x294d(){var _0x239bfb=['11TTQxtY','15pidrhy','7805436JCEmGX','7rtbqsx','21eXxZtr','20GtPHVB','1653636BzrmxR','410654oPveCp','5301954MTWUbX','353439DDVuMW','1741968JdzpTI','8133416REkBcj'];_0x294d=function(){return _0x239bfb;};return _0x294d();}import{CKEditorError as _0x4f1407}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35a867=_0x5897;(function(_0x1f9da4,_0x12ddca){const _0x515bb6=_0x5897,_0x57fdc8=_0x1f9da4();while(!![]){try{const _0x47a6f5=parseInt(_0x515bb6(0xdf))/0x1+parseInt(_0x515bb6(0xd0))/0x2+-parseInt(_0x515bb6(0xcc))/0x3*(-parseInt(_0x515bb6(0xee))/0x4)+parseInt(_0x515bb6(0x9e))/0x5*(-parseInt(_0x515bb6(0xbf))/0x6)+-parseInt(_0x515bb6(0xb2))/0x7*(parseInt(_0x515bb6(0x94))/0x8)+-parseInt(_0x515bb6(0xb0))/0x9+parseInt(_0x515bb6(0xc1))/0xa*(parseInt(_0x515bb6(0x8e))/0xb);if(_0x47a6f5===_0x12ddca)break;else _0x57fdc8['push'](_0x57fdc8['shift']());}catch(_0x1bb440){_0x57fdc8['push'](_0x57fdc8['shift']());}}}(_0x1c3b,0x8129b));import{ObservableMixin as _0x1f699d}from'ckeditor5/src/utils.js';function _0x5897(_0x4c4c74,_0x3de623){const _0x1c3b00=_0x1c3b();return _0x5897=function(_0x589717,_0x19c06f){_0x589717=_0x589717-0x8a;let _0x58e079=_0x1c3b00[_0x589717];return _0x58e079;},_0x5897(_0x4c4c74,_0x3de623);}import{AIRequestError as _0x50414b}from'../adapters/aiadapter.js';import{Matcher as _0xeb35ef,ViewUpcastWriter as _0x3de5df}from'ckeditor5/src/engine.js';function _0x1c3b(){const _0x1419ef=['length','createElement','destroy','submitPrompt','_normalizeResponseHeadings','8YbLthO','finally','rename','childNodes','currentResponse','markers','finishProcessing','exec','message','once','568405dqZcem','render','body','remove','previousQuery','domConverter','stopListening','_domParser','toView','trim','updateView','<h1></h1>','endsWith','element','ai.assistant.preserveComments','handleError','editor','_sanitizationContainer','345258nZUSAH','htmlProcessor','5892089aRArmE','reverse','reset','previousActionId','makeRequest','data','stopProcessing','isProcessing','textAdapter','text/html','match','startsWith','_parseAndNormalizeContent','18FTtTNS','querySelector','132960SFHhHC','innerHTML','div','set:currentContext','name','tryAgainEvent','stringify','parseFromString','ELEMENT_NODE','_xmlSerializer','processor','47784LqenTO','custom','listenTo','substring','226196Ukgdkd','previousLabel','_sanitizeHTML','config','previousContext','serializeToString','nodeType','then','document','viewToDom','view','initialContext','push','```html','catch','268957FXgbkA','startProcessing','prompt','clear','_handleQuery','editing','mainAction','get','setContentOf','set','value','_stripMarkdownSyntax','from','toModel','_isH1TagSupportEnabled','200ZBCdxe','currentContext','abort','isRendered','```','473SqaGAn'];_0x1c3b=function(){return _0x1419ef;};return _0x1c3b();}const ds=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1f699d(){[_0x35a867(0xae)];[_0x35a867(0xba)];[_0x35a867(0xda)];[_0x35a867(0xaf)];[_0x35a867(0xa5)];[_0x35a867(0xca)];constructor(_0x12b245,_0x3b1a9f,_0x370a05){const _0x45e663=_0x35a867;super(),this[_0x45e663(0xae)]=_0x12b245,this[_0x45e663(0xba)]=_0x3b1a9f,this[_0x45e663(0xaf)]=document[_0x45e663(0x90)](_0x45e663(0xc3)),this[_0x45e663(0xa5)]=new DOMParser(),this[_0x45e663(0xca)]=new XMLSerializer(),this[_0x45e663(0xda)]=_0x370a05,this[_0x45e663(0xe8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x45e663(0xc4),(_0x5a199d,_0x36aeac,_0x1bce5e)=>{const _0x58b464=_0x45e663;this[_0x58b464(0xda)][_0x58b464(0xe9)]=this[_0x58b464(0xd2)](_0x1bce5e);}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0x92),(_0x483c99,_0x38767d)=>{const _0xc642ad=_0x45e663,_0x2e05fc=this[_0xc642ad(0x8a)]||this[_0xc642ad(0xdb)];this[_0xc642ad(0xe3)](_0x38767d,_0x2e05fc,_0xc642ad(0xcd));}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0xc6),()=>{const _0x11fa0e=_0x45e663;this[_0x11fa0e(0xda)][_0x11fa0e(0xe1)]=this[_0x11fa0e(0xd1)],this[_0x11fa0e(0xe3)](this[_0x11fa0e(0xa2)],this[_0x11fa0e(0xd4)],this[_0x11fa0e(0xb5)],this[_0x11fa0e(0xd1)]);}),this[_0x45e663(0xce)](this[_0x45e663(0xda)],_0x45e663(0xb8),()=>{const _0x46c013=_0x45e663;this[_0x46c013(0xb8)]();});}[_0x35a867(0x91)](){const _0x389d1b=_0x35a867;this[_0x389d1b(0xa4)]();}async[_0x35a867(0xa8)]({actionId:_0x335236,query:_0x3f4fc2,htmlContent:_0x405b59,label:_0x33891c,mainActionLabel:_0x3de662}){const _0x2d42ac=_0x35a867;this[_0x2d42ac(0xda)][_0x2d42ac(0xe1)]=_0x33891c,this[_0x2d42ac(0xda)][_0x2d42ac(0xe5)]=_0x3de662,this[_0x2d42ac(0xdb)]=_0x405b59,_0x3f4fc2&&(this[_0x2d42ac(0xda)][_0x2d42ac(0x8c)]?this[_0x2d42ac(0xe3)](_0x3f4fc2,_0x405b59,_0x335236,_0x33891c):this[_0x2d42ac(0xda)][_0x2d42ac(0x9d)](_0x2d42ac(0x9f),()=>{const _0x431fec=_0x2d42ac;this[_0x431fec(0xe3)](_0x3f4fc2,_0x405b59,_0x335236,_0x33891c);}));}[_0x35a867(0xb8)](){const _0x41a3d0=_0x35a867;this[_0x41a3d0(0xb9)]&&(this[_0x41a3d0(0xb9)]=!0x1,this[_0x41a3d0(0xda)][_0x41a3d0(0x9a)](),this[_0x41a3d0(0xba)][_0x41a3d0(0x8b)]());}[_0x35a867(0xb4)](){const _0x2b193a=_0x35a867;this[_0x2b193a(0xdb)]='',this[_0x2b193a(0x8a)]='',this[_0x2b193a(0x98)]='',this[_0x2b193a(0xd4)]='',this[_0x2b193a(0xa2)]='',this[_0x2b193a(0xd1)]='',this[_0x2b193a(0xb5)]=void 0x0,this[_0x2b193a(0xda)][_0x2b193a(0xb4)](),this[_0x2b193a(0xb8)]();}async[_0x35a867(0xe3)](_0x189989,_0x1abe4c,_0x16dd6e,_0x2dc22e){const _0x57663d=_0x35a867;return this[_0x57663d(0xb9)]=!0x0,this[_0x57663d(0xda)][_0x57663d(0xe0)](),this[_0x57663d(0xd4)]=_0x1abe4c,this[_0x57663d(0xa2)]=_0x189989,this[_0x57663d(0xd1)]=_0x2dc22e||_0x189989,this[_0x57663d(0xb5)]=_0x16dd6e,new Promise(_0x46baa8=>{const _0x2e0de8=_0x57663d;this[_0x2e0de8(0xba)][_0x2e0de8(0xb6)]({'query':_0x189989,'context':_0x1abe4c,'onData':_0x198f29=>{const _0x18584c=_0x2e0de8;this[_0x18584c(0x98)]=_0x198f29,this[_0x18584c(0x8a)]=this[_0x18584c(0xbe)](this[_0x18584c(0x98)]);},'actionId':_0x16dd6e})[_0x2e0de8(0xd7)](()=>{const _0x43cb7c=_0x2e0de8;!this[_0x43cb7c(0x8a)]&&this[_0x43cb7c(0x98)]&&(this[_0x43cb7c(0x8a)]=this[_0x43cb7c(0xbe)](this[_0x43cb7c(0x98)],!0x0));})[_0x2e0de8(0xde)](_0x486ac5=>{const _0x3feff7=_0x2e0de8;_0x486ac5 instanceof _0x50414b?this[_0x3feff7(0xda)][_0x3feff7(0xad)](_0x486ac5[_0x3feff7(0x9c)]):this[_0x3feff7(0xda)][_0x3feff7(0xad)](),_0x46baa8();})[_0x2e0de8(0x95)](()=>{const _0x558a6e=_0x2e0de8;this[_0x558a6e(0xb8)](),_0x46baa8();});});}[_0x35a867(0xbe)](_0x2a4113,_0x312666=!0x1){const _0x3448d0=_0x35a867,_0x56f77d=ds[_0x3448d0(0x9b)](_0x2a4113);_0x2a4113=_0x56f77d?_0x2a4113[_0x3448d0(0xcf)](_0x56f77d[0x1][_0x3448d0(0x8f)]):_0x2a4113[_0x3448d0(0x8f)]<0x64&&!_0x312666?'':this[_0x3448d0(0xea)](_0x2a4113);const _0x159e6e=this[_0x3448d0(0xa5)][_0x3448d0(0xc8)](_0x2a4113,_0x3448d0(0xbb));if(_0x56f77d){const _0x24c38c=Array[_0x3448d0(0xeb)](_0x159e6e[_0x3448d0(0xa0)][_0x3448d0(0x97)]);_0x24c38c[_0x3448d0(0xb3)]();for(const _0x1557ff of _0x24c38c){if(_0x1557ff[_0x3448d0(0xd6)]==Node[_0x3448d0(0xc9)])break;_0x1557ff[_0x3448d0(0xa1)]();}}const _0x45a550=this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xcb)][_0x3448d0(0xa6)](this[_0x3448d0(0xca)][_0x3448d0(0xd5)](_0x159e6e[_0x3448d0(0xa0)]));this[_0x3448d0(0xed)]()||this[_0x3448d0(0x93)](_0x45a550);const _0x5553ac=this[_0x3448d0(0xae)][_0x3448d0(0xd3)][_0x3448d0(0xe6)](_0x3448d0(0xac)),_0x1b2910=this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xec)](_0x45a550);return _0x5553ac||_0x1b2910[_0x3448d0(0x99)][_0x3448d0(0xe2)](),this[_0x3448d0(0xae)][_0x3448d0(0xb7)][_0x3448d0(0xc7)](_0x1b2910);}[_0x35a867(0x93)](_0x319d8e){const _0x28eff7=_0x35a867,_0x2dc529=new _0x3de5df(this[_0x28eff7(0xae)][_0x28eff7(0xe4)][_0x28eff7(0xda)][_0x28eff7(0xd8)]),_0x742104=new _0xeb35ef({'name':/^h[1-5]$/}),_0x253e51=[];let _0x1ee664=!0x1;for(const _0x8def of _0x319d8e)_0x8def['is'](_0x28eff7(0xab))&&_0x742104[_0x28eff7(0xbc)](_0x8def)&&(_0x253e51[_0x28eff7(0xdc)](_0x8def),'h1'==_0x8def[_0x28eff7(0xc5)]&&(_0x1ee664=!0x0));if(_0x1ee664){for(const _0x509f2d of _0x253e51)_0x2dc529[_0x28eff7(0x96)]('h'+(parseInt(_0x509f2d[_0x28eff7(0xc5)][0x1])+0x1),_0x509f2d);}}[_0x35a867(0xed)](){const _0x17eb6d=_0x35a867,{data:_0x380432,editing:_0x47f421}=this[_0x17eb6d(0xae)],_0x1dd5ce=_0x380432[_0x17eb6d(0xb1)][_0x17eb6d(0xa6)](_0x17eb6d(0xa9)),_0x473ed4=_0x380432[_0x17eb6d(0xa6)](_0x380432[_0x17eb6d(0xec)](_0x1dd5ce));return!!_0x47f421[_0x17eb6d(0xda)][_0x17eb6d(0xa3)][_0x17eb6d(0xd9)](_0x473ed4)[_0x17eb6d(0xc0)]('h1');}[_0x35a867(0xd2)](_0x17f93e){const _0x5b69b0=_0x35a867;return this[_0x5b69b0(0xae)][_0x5b69b0(0xe4)][_0x5b69b0(0xda)][_0x5b69b0(0xa3)][_0x5b69b0(0xe7)](this[_0x5b69b0(0xaf)],_0x17f93e),this[_0x5b69b0(0xaf)][_0x5b69b0(0xc2)];}[_0x35a867(0xea)](_0x189d90){const _0x3f1115=_0x35a867,_0x460e28=_0x189d90[_0x3f1115(0xa7)]();return _0x460e28[_0x3f1115(0xbd)](_0x3f1115(0xdd))?_0x460e28[_0x3f1115(0xaa)](_0x3f1115(0x8d))?_0x460e28[_0x3f1115(0xcf)](0x7,_0x460e28[_0x3f1115(0x8f)]-0x3):_0x460e28[_0x3f1115(0xcf)](0x7):_0x189d90;}}
23
+ function _0x22c9(_0x535bae,_0x2cb87e){const _0x51ee72=_0x51ee();return _0x22c9=function(_0x22c92a,_0x380a8b){_0x22c92a=_0x22c92a-0x1dd;let _0x39e469=_0x51ee72[_0x22c92a];return _0x39e469;},_0x22c9(_0x535bae,_0x2cb87e);}const _0x16a2ce=_0x22c9;(function(_0x5d3269,_0x552813){const _0x2e30c3=_0x22c9,_0x4ca2bb=_0x5d3269();while(!![]){try{const _0x32c0dc=-parseInt(_0x2e30c3(0x221))/0x1*(-parseInt(_0x2e30c3(0x1ed))/0x2)+-parseInt(_0x2e30c3(0x207))/0x3*(-parseInt(_0x2e30c3(0x229))/0x4)+parseInt(_0x2e30c3(0x227))/0x5*(parseInt(_0x2e30c3(0x22d))/0x6)+parseInt(_0x2e30c3(0x1fe))/0x7+parseInt(_0x2e30c3(0x1ff))/0x8*(-parseInt(_0x2e30c3(0x1e9))/0x9)+parseInt(_0x2e30c3(0x1e4))/0xa+-parseInt(_0x2e30c3(0x1fd))/0xb*(parseInt(_0x2e30c3(0x1df))/0xc);if(_0x32c0dc===_0x552813)break;else _0x4ca2bb['push'](_0x4ca2bb['shift']());}catch(_0x12ba0c){_0x4ca2bb['push'](_0x4ca2bb['shift']());}}}(_0x51ee,0xae541));import{ObservableMixin as _0x5059fe}from'ckeditor5/src/utils.js';import{AIRequestError as _0x41f92a}from'../adapters/aiadapter.js';import{Matcher as _0x178498,ViewUpcastWriter as _0x45125d}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x51ee(){const _0x2c96b7=['stopListening','_parseAndNormalizeContent','_domParser','5867pDkZVt','previousLabel','```','_isH1TagSupportEnabled','editing','match','55CTPawI','render','22984YNyxGt','ELEMENT_NODE','finishProcessing','stopProcessing','65502oGXJda','exec','nodeType','from','document','clear','prompt','_normalizeResponseHeadings','editor','destroy','config','toModel','then','rename','abort','set:currentContext','text/html','setContentOf','htmlProcessor','get','submitPrompt','mainAction','reverse','name','156LdrnDj','handleError','tryAgainEvent','data','domConverter','10908370RHAoFH','ai.assistant.preserveComments','listenTo','previousContext','processor','1161jOMqys','body','makeRequest','innerHTML','76EBCOTu','remove','_stripMarkdownSyntax','trim','catch','viewToDom','substring','startsWith','stringify','div','isRendered','querySelector','element','_xmlSerializer','custom','endsWith','741939MQxZkQ','7250383MJpCvf','70888eFIRlI','value','```html','length','push','_handleQuery','parseFromString','currentContext','138djpLZg','updateView','view','set','message','once','finally','childNodes','currentResponse','previousActionId','<h1></h1>','toView','_sanitizationContainer','initialContext','_sanitizeHTML','createElement','textAdapter','serializeToString','reset','markers','isProcessing','startProcessing','previousQuery'];_0x51ee=function(){return _0x2c96b7;};return _0x51ee();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x5059fe(){[_0x16a2ce(0x235)];[_0x16a2ce(0x217)];[_0x16a2ce(0x209)];[_0x16a2ce(0x213)];[_0x16a2ce(0x220)];[_0x16a2ce(0x1fa)];constructor(_0x1c69de,_0x4e47dc,_0x1c3e0f){const _0x5814dc=_0x16a2ce;super(),this[_0x5814dc(0x235)]=_0x1c69de,this[_0x5814dc(0x217)]=_0x4e47dc,this[_0x5814dc(0x213)]=document[_0x5814dc(0x216)](_0x5814dc(0x1f6)),this[_0x5814dc(0x220)]=new DOMParser(),this[_0x5814dc(0x1fa)]=new XMLSerializer(),this[_0x5814dc(0x209)]=_0x1c3e0f,this[_0x5814dc(0x20a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5814dc(0x23c),(_0x3a956a,_0x21e1a8,_0x54c7c5)=>{const _0x1339ac=_0x5814dc;this[_0x1339ac(0x209)][_0x1339ac(0x200)]=this[_0x1339ac(0x215)](_0x54c7c5);}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x241),(_0x29ca9b,_0x4ba434)=>{const _0x49de94=_0x5814dc,_0x346490=this[_0x49de94(0x206)]||this[_0x49de94(0x214)];this[_0x49de94(0x204)](_0x4ba434,_0x346490,_0x49de94(0x1fb));}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x1e1),()=>{const _0x3bf9dd=_0x5814dc;this[_0x3bf9dd(0x209)][_0x3bf9dd(0x233)]=this[_0x3bf9dd(0x222)],this[_0x3bf9dd(0x204)](this[_0x3bf9dd(0x21d)],this[_0x3bf9dd(0x1e7)],this[_0x3bf9dd(0x210)],this[_0x3bf9dd(0x222)]);}),this[_0x5814dc(0x1e6)](this[_0x5814dc(0x209)],_0x5814dc(0x22c),()=>{const _0x35d5dd=_0x5814dc;this[_0x35d5dd(0x22c)]();});}[_0x16a2ce(0x236)](){const _0x26e3f6=_0x16a2ce;this[_0x26e3f6(0x21e)]();}async[_0x16a2ce(0x208)]({actionId:_0x105596,query:_0x509a75,htmlContent:_0xb1d94a,label:_0x4283c5,mainActionLabel:_0x4adce3}){const _0x2d242d=_0x16a2ce;this[_0x2d242d(0x209)][_0x2d242d(0x233)]=_0x4283c5,this[_0x2d242d(0x209)][_0x2d242d(0x242)]=_0x4adce3,this[_0x2d242d(0x214)]=_0xb1d94a,_0x509a75&&(this[_0x2d242d(0x209)][_0x2d242d(0x1f7)]?this[_0x2d242d(0x204)](_0x509a75,_0xb1d94a,_0x105596,_0x4283c5):this[_0x2d242d(0x209)][_0x2d242d(0x20c)](_0x2d242d(0x228),()=>{const _0x42bda4=_0x2d242d;this[_0x42bda4(0x204)](_0x509a75,_0xb1d94a,_0x105596,_0x4283c5);}));}[_0x16a2ce(0x22c)](){const _0x3d427d=_0x16a2ce;this[_0x3d427d(0x21b)]&&(this[_0x3d427d(0x21b)]=!0x1,this[_0x3d427d(0x209)][_0x3d427d(0x22b)](),this[_0x3d427d(0x217)][_0x3d427d(0x23b)]());}[_0x16a2ce(0x219)](){const _0x4e759a=_0x16a2ce;this[_0x4e759a(0x214)]='',this[_0x4e759a(0x206)]='',this[_0x4e759a(0x20f)]='',this[_0x4e759a(0x1e7)]='',this[_0x4e759a(0x21d)]='',this[_0x4e759a(0x222)]='',this[_0x4e759a(0x210)]=void 0x0,this[_0x4e759a(0x209)][_0x4e759a(0x219)](),this[_0x4e759a(0x22c)]();}async[_0x16a2ce(0x204)](_0x2324c2,_0x5175ae,_0xee00b5,_0x2c4dd3){const _0x587fab=_0x16a2ce;return this[_0x587fab(0x21b)]=!0x0,this[_0x587fab(0x209)][_0x587fab(0x21c)](),this[_0x587fab(0x1e7)]=_0x5175ae,this[_0x587fab(0x21d)]=_0x2324c2,this[_0x587fab(0x222)]=_0x2c4dd3||_0x2324c2,this[_0x587fab(0x210)]=_0xee00b5,new Promise(_0x4f7da1=>{const _0x3d0523=_0x587fab;this[_0x3d0523(0x217)][_0x3d0523(0x1eb)]({'query':_0x2324c2,'context':_0x5175ae,'onData':_0x1873e0=>{const _0x46e2c7=_0x3d0523;this[_0x46e2c7(0x20f)]=_0x1873e0,this[_0x46e2c7(0x206)]=this[_0x46e2c7(0x21f)](this[_0x46e2c7(0x20f)]);},'actionId':_0xee00b5})[_0x3d0523(0x239)](()=>{const _0x3ca7de=_0x3d0523;!this[_0x3ca7de(0x206)]&&this[_0x3ca7de(0x20f)]&&(this[_0x3ca7de(0x206)]=this[_0x3ca7de(0x21f)](this[_0x3ca7de(0x20f)],!0x0));})[_0x3d0523(0x1f1)](_0x261dad=>{const _0x1107f8=_0x3d0523;_0x261dad instanceof _0x41f92a?this[_0x1107f8(0x209)][_0x1107f8(0x1e0)](_0x261dad[_0x1107f8(0x20b)]):this[_0x1107f8(0x209)][_0x1107f8(0x1e0)](),_0x4f7da1();})[_0x3d0523(0x20d)](()=>{const _0x28cbf0=_0x3d0523;this[_0x28cbf0(0x22c)](),_0x4f7da1();});});}[_0x16a2ce(0x21f)](_0x2b50d5,_0x3b6a15=!0x1){const _0x15af66=_0x16a2ce,_0x54cfb3=hs[_0x15af66(0x22e)](_0x2b50d5);_0x2b50d5=_0x54cfb3?_0x2b50d5[_0x15af66(0x1f3)](_0x54cfb3[0x1][_0x15af66(0x202)]):_0x2b50d5[_0x15af66(0x202)]<0x64&&!_0x3b6a15?'':this[_0x15af66(0x1ef)](_0x2b50d5);const _0x51d045=this[_0x15af66(0x220)][_0x15af66(0x205)](_0x2b50d5,_0x15af66(0x23d));if(_0x54cfb3){const _0x514a3f=Array[_0x15af66(0x230)](_0x51d045[_0x15af66(0x1ea)][_0x15af66(0x20e)]);_0x514a3f[_0x15af66(0x1dd)]();for(const _0x51c50c of _0x514a3f){if(_0x51c50c[_0x15af66(0x22f)]==Node[_0x15af66(0x22a)])break;_0x51c50c[_0x15af66(0x1ee)]();}}const _0x1b9337=this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x1e8)][_0x15af66(0x212)](this[_0x15af66(0x1fa)][_0x15af66(0x218)](_0x51d045[_0x15af66(0x1ea)]));this[_0x15af66(0x224)]()||this[_0x15af66(0x234)](_0x1b9337);const _0x4e0ec6=this[_0x15af66(0x235)][_0x15af66(0x237)][_0x15af66(0x240)](_0x15af66(0x1e5)),_0x5adb45=this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x238)](_0x1b9337);return _0x4e0ec6||_0x5adb45[_0x15af66(0x21a)][_0x15af66(0x232)](),this[_0x15af66(0x235)][_0x15af66(0x1e2)][_0x15af66(0x1f5)](_0x5adb45);}[_0x16a2ce(0x234)](_0x3229f4){const _0x4a2e17=_0x16a2ce,_0x2798b2=new _0x45125d(this[_0x4a2e17(0x235)][_0x4a2e17(0x225)][_0x4a2e17(0x209)][_0x4a2e17(0x231)]),_0x1417d5=new _0x178498({'name':/^h[1-5]$/}),_0x23195c=[];let _0xf494fa=!0x1;for(const _0x3b6d33 of _0x3229f4)_0x3b6d33['is'](_0x4a2e17(0x1f9))&&_0x1417d5[_0x4a2e17(0x226)](_0x3b6d33)&&(_0x23195c[_0x4a2e17(0x203)](_0x3b6d33),'h1'==_0x3b6d33[_0x4a2e17(0x1de)]&&(_0xf494fa=!0x0));if(_0xf494fa){for(const _0x4d8c00 of _0x23195c)_0x2798b2[_0x4a2e17(0x23a)]('h'+(parseInt(_0x4d8c00[_0x4a2e17(0x1de)][0x1])+0x1),_0x4d8c00);}}[_0x16a2ce(0x224)](){const _0x35b2de=_0x16a2ce,{data:_0xebf3fb,editing:_0x22feb6}=this[_0x35b2de(0x235)],_0x39073b=_0xebf3fb[_0x35b2de(0x23f)][_0x35b2de(0x212)](_0x35b2de(0x211)),_0x20d02a=_0xebf3fb[_0x35b2de(0x212)](_0xebf3fb[_0x35b2de(0x238)](_0x39073b));return!!_0x22feb6[_0x35b2de(0x209)][_0x35b2de(0x1e3)][_0x35b2de(0x1f2)](_0x20d02a)[_0x35b2de(0x1f8)]('h1');}[_0x16a2ce(0x215)](_0x9f2097){const _0x4ea988=_0x16a2ce;return this[_0x4ea988(0x235)][_0x4ea988(0x225)][_0x4ea988(0x209)][_0x4ea988(0x1e3)][_0x4ea988(0x23e)](this[_0x4ea988(0x213)],_0x9f2097),this[_0x4ea988(0x213)][_0x4ea988(0x1ec)];}[_0x16a2ce(0x1ef)](_0x2366af){const _0x4f0c0a=_0x16a2ce,_0x46cadd=_0x2366af[_0x4f0c0a(0x1f0)]();return _0x46cadd[_0x4f0c0a(0x1f4)](_0x4f0c0a(0x201))?_0x46cadd[_0x4f0c0a(0x1fc)](_0x4f0c0a(0x223))?_0x46cadd[_0x4f0c0a(0x1f3)](0x7,_0x46cadd[_0x4f0c0a(0x202)]-0x3):_0x46cadd[_0x4f0c0a(0x1f3)](0x7):_0x2366af;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab43f=_0x1ffa;(function(_0x46b939,_0x26a128){const _0x40774a=_0x1ffa,_0x2f6f8d=_0x46b939();while(!![]){try{const _0x39365b=-parseInt(_0x40774a(0x181))/0x1+-parseInt(_0x40774a(0x175))/0x2+-parseInt(_0x40774a(0x183))/0x3+parseInt(_0x40774a(0x16e))/0x4+-parseInt(_0x40774a(0x15f))/0x5+-parseInt(_0x40774a(0x185))/0x6+parseInt(_0x40774a(0x170))/0x7*(parseInt(_0x40774a(0x179))/0x8);if(_0x39365b===_0x26a128)break;else _0x2f6f8d['push'](_0x2f6f8d['shift']());}catch(_0x1a858f){_0x2f6f8d['push'](_0x2f6f8d['shift']());}}}(_0x49ed,0xb5880));import{global as _0x119cce}from'ckeditor5/src/utils.js';import{View as _0x35714a,ButtonView as _0x463bd1,SpinnerView as _0x1391f4}from'ckeditor5/src/ui.js';import{IconCheck as _0x201b0f,IconCopy as _0x4447c9}from'ckeditor5/src/icons.js';function _0x1ffa(_0x474560,_0x349d68){const _0x49ed7e=_0x49ed();return _0x1ffa=function(_0x1ffa28,_0x494f83){_0x1ffa28=_0x1ffa28-0x134;let _0x459d5a=_0x49ed7e[_0x1ffa28];return _0x459d5a;},_0x1ffa(_0x474560,_0x349d68);}import{getTranslation as _0x38408c}from'../../utils/common-translations.js';function _0x49ed(){const _0x28d55d=['-9999px','<span>]</span>','loaderView','scrollHeight','wheel','createElement','ck-ai-form__content-area--processing','Copy','setStartAfter','icon','body','remove','ck-ai-form__copy-button-wrapper','isVisible','ck-content','div','firstElementChild','3139455tQFtMI','bindTemplate','\x20ck-ai-form__copy-button--copied','text/plain','.ck-ai-form__loader','ck-ai-form__content-area-wrapper','change:value','copyButtonView','createRange','setContent','setEndBefore','isProcessing','position','appendChild','querySelector','1173216OxGfAP','element','347515BNiTgW','addRange','clipboard','ClipboardItem','execute','833360bnDVol','innerHTML','ck-ai-form__loader','set','528aoCgfJ','change:isProcessing','value','_createLoader','_copyHTMLToClipboard','absolute','appendLoader','isEnabled','1306299FKFdGH','scrollTo','1293585rwONhS','locale','265542XhEAxS','focus','lastElementChild','AI\x20is\x20writing...','ck-hidden','getSelection','style','smooth','bind','text/html','class','copy','execCommand','ck-ai-form__content-area','mousedown','ck-reset_all-excluded','textContent','ck-ai-form__content-field','removeAllRanges','contentFieldView','write','listenTo','_createCopyButton','setTemplate','render','<span>[</span>','ck-ai-form__copy-button','left'];_0x49ed=function(){return _0x28d55d;};return _0x49ed();}export class AIFormContentArea extends _0x35714a{[_0x3ab43f(0x145)];[_0x3ab43f(0x166)];constructor(_0x5110bd,_0x19990a=''){const _0x510820=_0x3ab43f;super(_0x5110bd),this[_0x510820(0x178)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xfbaf8=this[_0x510820(0x160)];this[_0x510820(0x145)]=new ContentFieldView(_0x5110bd,_0x19990a),this[_0x510820(0x166)]=this[_0x510820(0x148)](),this[_0x510820(0x149)]({'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x164),_0xfbaf8['if'](_0x510820(0x15b),_0x510820(0x136),_0x1550ac=>!_0x1550ac)],'tabindex':'-1'},'children':[{'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x13f),_0xfbaf8['if'](_0x510820(0x16a),_0x510820(0x154))]},'children':[this[_0x510820(0x145)],{'tag':_0x510820(0x15d),'attributes':{'class':['ck',_0x510820(0x15a)]},'children':[this[_0x510820(0x166)]]}]}]});}[_0x3ab43f(0x14a)](){const _0x281802=_0x3ab43f;super[_0x281802(0x14a)](),this[_0x281802(0x17b)]&&this[_0x281802(0x145)][_0x281802(0x168)](this[_0x281802(0x17b)]);let _0x150cb2=!0x1;this['on'](_0x281802(0x165),(_0x155845,_0x2a291f,_0xd9aaeb)=>{const _0x1f2aeb=_0x281802,_0x3247ef=!this[_0x1f2aeb(0x145)][_0x1f2aeb(0x16f)][_0x1f2aeb(0x16d)](_0x1f2aeb(0x163));this[_0x1f2aeb(0x145)][_0x1f2aeb(0x168)](_0xd9aaeb),this[_0x1f2aeb(0x16a)]&&_0x3247ef&&!_0x150cb2&&this[_0x1f2aeb(0x16f)][_0x1f2aeb(0x182)]({'top':this[_0x1f2aeb(0x16f)][_0x1f2aeb(0x151)],'behavior':_0x1f2aeb(0x139)});}),this['on'](_0x281802(0x17a),(_0x5ee82f,_0x16d754,_0x5c3fa6)=>{const _0x4f3c53=_0x281802;_0x150cb2=!0x1,_0x5c3fa6?(this[_0x4f3c53(0x17b)]=null,this[_0x4f3c53(0x145)][_0x4f3c53(0x17f)]()):this[_0x4f3c53(0x17b)]||this[_0x4f3c53(0x145)][_0x4f3c53(0x168)]('');}),this[_0x281802(0x147)](this[_0x281802(0x16f)],_0x281802(0x152),()=>{_0x150cb2=!0x0;}),this[_0x281802(0x147)](this[_0x281802(0x16f)],_0x281802(0x140),()=>{_0x150cb2=!0x0;});}[_0x3ab43f(0x186)](){const _0x374970=_0x3ab43f;this[_0x374970(0x16f)][_0x374970(0x186)]();}[_0x3ab43f(0x148)](){const _0x42d2b1=_0x3ab43f,_0x3d166c=this[_0x42d2b1(0x184)],_0x5a2101=new _0x463bd1(this[_0x42d2b1(0x184)]),_0x5ef470=_0x42d2b1(0x14c);return _0x5a2101[_0x42d2b1(0x178)]({'label':_0x38408c(_0x3d166c,_0x42d2b1(0x155)),'icon':_0x4447c9,'class':_0x5ef470,'tooltip':!0x0}),_0x5a2101[_0x42d2b1(0x13a)](_0x42d2b1(0x15b))['to'](this,_0x42d2b1(0x17b),_0x6885b0=>!!_0x6885b0),_0x5a2101[_0x42d2b1(0x13a)](_0x42d2b1(0x180))['to'](this,_0x42d2b1(0x16a),_0x53ff61=>!_0x53ff61),_0x5a2101['on'](_0x42d2b1(0x174),()=>{const _0x1973b2=_0x42d2b1;this[_0x1973b2(0x17d)](this[_0x1973b2(0x145)][_0x1973b2(0x16f)]),_0x5a2101[_0x1973b2(0x157)]=_0x201b0f,_0x5a2101[_0x1973b2(0x13c)]=_0x5ef470+_0x1973b2(0x161),this[_0x1973b2(0x186)](),setTimeout(()=>{const _0x48cb01=_0x1973b2;_0x5a2101[_0x48cb01(0x157)]=_0x4447c9,_0x5a2101[_0x48cb01(0x13c)]=_0x5ef470;},0x3e8);}),_0x5a2101;}[_0x3ab43f(0x17d)](_0x1231aa){const _0x3f1539=_0x3ab43f,{window:_0x179a54,document:_0x145e0e}=_0x119cce;if(_0x179a54[_0x3f1539(0x173)]){const {Blob:_0x501853,ClipboardItem:_0x4b65a7}=_0x179a54,_0x35a30a=[new _0x4b65a7({'text/html':new _0x501853([_0x1231aa[_0x3f1539(0x176)]],{'type':_0x3f1539(0x13b)}),'text/plain':new _0x501853([_0x1231aa[_0x3f1539(0x142)]||''],{'type':_0x3f1539(0x162)})})];navigator[_0x3f1539(0x172)][_0x3f1539(0x146)](_0x35a30a);}else{const _0x271724=_0x145e0e[_0x3f1539(0x153)](_0x3f1539(0x15d));_0x271724[_0x3f1539(0x138)][_0x3f1539(0x16b)]=_0x3f1539(0x17e),_0x271724[_0x3f1539(0x138)][_0x3f1539(0x14d)]=_0x3f1539(0x14e),_0x271724[_0x3f1539(0x176)]=_0x3f1539(0x14b)+_0x1231aa[_0x3f1539(0x176)]+_0x3f1539(0x14f),_0x145e0e[_0x3f1539(0x158)][_0x3f1539(0x16c)](_0x271724);const _0x1975a2=_0x145e0e[_0x3f1539(0x167)]();_0x1975a2[_0x3f1539(0x156)](_0x271724[_0x3f1539(0x15e)]),_0x1975a2[_0x3f1539(0x169)](_0x271724[_0x3f1539(0x134)]);const _0x5ddd54=_0x179a54[_0x3f1539(0x137)]();_0x5ddd54[_0x3f1539(0x144)](),_0x5ddd54[_0x3f1539(0x171)](_0x1975a2),_0x145e0e[_0x3f1539(0x13e)](_0x3f1539(0x13d)),_0x271724[_0x3f1539(0x159)]();}}}export class ContentFieldView extends _0x35714a{constructor(_0x4db938,_0x1affe6=''){const _0x20da4d=_0x3ab43f;super(_0x4db938),this[_0x20da4d(0x150)]=this[_0x20da4d(0x17c)](),this[_0x20da4d(0x149)]({'tag':_0x20da4d(0x15d),'attributes':{'class':['ck',_0x20da4d(0x15c),_0x1affe6,_0x20da4d(0x141),_0x20da4d(0x143)]}});}[_0x3ab43f(0x168)](_0x481848){const _0x8b5748=_0x3ab43f;this[_0x8b5748(0x16f)][_0x8b5748(0x176)]=_0x481848;}[_0x3ab43f(0x17f)](){const _0x2d1eca=_0x3ab43f;this[_0x2d1eca(0x16f)][_0x2d1eca(0x16c)](this[_0x2d1eca(0x150)][_0x2d1eca(0x16f)]);}[_0x3ab43f(0x17c)](){const _0x27cf71=_0x3ab43f,_0x440308=new _0x35714a(),_0x4d2335=this[_0x27cf71(0x184)],_0x3d0ee7=new _0x1391f4();return _0x3d0ee7[_0x27cf71(0x15b)]=!0x0,_0x440308[_0x27cf71(0x149)]({'tag':_0x27cf71(0x15d),'attributes':{'class':['ck',_0x27cf71(0x177)]},'children':[_0x3d0ee7,{'text':_0x38408c(_0x4d2335,_0x27cf71(0x135))}]}),_0x440308[_0x27cf71(0x14a)](),_0x440308;}}
23
+ const _0x37121a=_0x1143;(function(_0x5789ad,_0x4aa405){const _0x38d834=_0x1143,_0x112d5c=_0x5789ad();while(!![]){try{const _0x2ddcd8=parseInt(_0x38d834(0x1eb))/0x1*(parseInt(_0x38d834(0x1ed))/0x2)+-parseInt(_0x38d834(0x1f5))/0x3+-parseInt(_0x38d834(0x1d2))/0x4+parseInt(_0x38d834(0x1ae))/0x5+-parseInt(_0x38d834(0x1bb))/0x6*(parseInt(_0x38d834(0x1af))/0x7)+-parseInt(_0x38d834(0x1db))/0x8+parseInt(_0x38d834(0x1b6))/0x9;if(_0x2ddcd8===_0x4aa405)break;else _0x112d5c['push'](_0x112d5c['shift']());}catch(_0x3f70f2){_0x112d5c['push'](_0x112d5c['shift']());}}}(_0x82e8,0x816c1));import{global as _0x182b16}from'ckeditor5/src/utils.js';import{View as _0x1f8a98,ButtonView as _0x25a353,SpinnerView as _0x5c758d}from'ckeditor5/src/ui.js';function _0x82e8(){const _0xcabac4=['style','2112651rcBgKI','createElement','change:isProcessing','isEnabled','body','set','firstElementChild','\x20ck-ai-form__copy-button--copied','ck-reset_all-excluded','isProcessing','smooth','addRange','removeAllRanges','2608645pEDXND','7XCSnXQ','class','ck-ai-form__loader','text/plain','locale','ck-ai-form__content-area-wrapper','remove','20869515UlthKB','icon','.ck-ai-form__loader','ClipboardItem','mousedown','4380294KZIsYK','ck-ai-form__content-field','div','text/html','execCommand','<span>[</span>','left','scrollTo','ck-ai-form__content-area--processing','isVisible','<span>]</span>','setStartAfter','listenTo','ck-ai-form__copy-button-wrapper','_copyHTMLToClipboard','element','appendChild','createRange','loaderView','wheel','change:value','AI\x20is\x20writing...','_createLoader','2141248LOsCro','ck-hidden','getSelection','bindTemplate','ck-ai-form__content-area','appendLoader','copyButtonView','value','setContent','3113496eeIBUg','write','setTemplate','innerHTML','absolute','bind','contentFieldView','render','ck-content','-9999px','querySelector','Copy','scrollHeight','position','focus','execute','833Ctmhwm','setEndBefore','116UdiMUg','ck-ai-form__copy-button','_createCopyButton','textContent','lastElementChild','clipboard','copy'];_0x82e8=function(){return _0xcabac4;};return _0x82e8();}import{IconCheck as _0x210df5,IconCopy as _0x5dbddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x43d07b}from'../../utils/common-translations.js';function _0x1143(_0x36062c,_0x30df7b){const _0x82e8f5=_0x82e8();return _0x1143=function(_0x114368,_0x24d203){_0x114368=_0x114368-0x1ab;let _0x201383=_0x82e8f5[_0x114368];return _0x201383;},_0x1143(_0x36062c,_0x30df7b);}export class AIFormContentArea extends _0x1f8a98{[_0x37121a(0x1e1)];[_0x37121a(0x1d8)];constructor(_0x45f910,_0x35e335=''){const _0x34eb82=_0x37121a;super(_0x45f910),this[_0x34eb82(0x1fa)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4a5a92=this[_0x34eb82(0x1d5)];this[_0x34eb82(0x1e1)]=new ContentFieldView(_0x45f910,_0x35e335),this[_0x34eb82(0x1d8)]=this[_0x34eb82(0x1ef)](),this[_0x34eb82(0x1dd)]({'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1b4),_0x4a5a92['if'](_0x34eb82(0x1c4),_0x34eb82(0x1d3),_0xf6dacb=>!_0xf6dacb)],'tabindex':'-1'},'children':[{'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1d6),_0x4a5a92['if'](_0x34eb82(0x1fe),_0x34eb82(0x1c3))]},'children':[this[_0x34eb82(0x1e1)],{'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1c8)]},'children':[this[_0x34eb82(0x1d8)]]}]}]});}[_0x37121a(0x1e2)](){const _0x35e1ba=_0x37121a;super[_0x35e1ba(0x1e2)](),this[_0x35e1ba(0x1d9)]&&this[_0x35e1ba(0x1e1)][_0x35e1ba(0x1da)](this[_0x35e1ba(0x1d9)]);let _0x3f9c65=!0x1;this['on'](_0x35e1ba(0x1cf),(_0x4fa12c,_0x35355e,_0x168099)=>{const _0x3c87cb=_0x35e1ba,_0xb034dd=!this[_0x3c87cb(0x1e1)][_0x3c87cb(0x1ca)][_0x3c87cb(0x1e5)](_0x3c87cb(0x1b8));this[_0x3c87cb(0x1e1)][_0x3c87cb(0x1da)](_0x168099),this[_0x3c87cb(0x1fe)]&&_0xb034dd&&!_0x3f9c65&&this[_0x3c87cb(0x1ca)][_0x3c87cb(0x1c2)]({'top':this[_0x3c87cb(0x1ca)][_0x3c87cb(0x1e7)],'behavior':_0x3c87cb(0x1ab)});}),this['on'](_0x35e1ba(0x1f7),(_0x326937,_0xb09326,_0x25b79e)=>{const _0x35e9aa=_0x35e1ba;_0x3f9c65=!0x1,_0x25b79e?(this[_0x35e9aa(0x1d9)]=null,this[_0x35e9aa(0x1e1)][_0x35e9aa(0x1d7)]()):this[_0x35e9aa(0x1d9)]||this[_0x35e9aa(0x1e1)][_0x35e9aa(0x1da)]('');}),this[_0x35e1ba(0x1c7)](this[_0x35e1ba(0x1ca)],_0x35e1ba(0x1ce),()=>{_0x3f9c65=!0x0;}),this[_0x35e1ba(0x1c7)](this[_0x35e1ba(0x1ca)],_0x35e1ba(0x1ba),()=>{_0x3f9c65=!0x0;});}[_0x37121a(0x1e9)](){const _0x1dd043=_0x37121a;this[_0x1dd043(0x1ca)][_0x1dd043(0x1e9)]();}[_0x37121a(0x1ef)](){const _0x5e3e63=_0x37121a,_0x55c6bd=this[_0x5e3e63(0x1b3)],_0x13f0ae=new _0x25a353(this[_0x5e3e63(0x1b3)]),_0x8503f9=_0x5e3e63(0x1ee);return _0x13f0ae[_0x5e3e63(0x1fa)]({'label':_0x43d07b(_0x55c6bd,_0x5e3e63(0x1e6)),'icon':_0x5dbddf,'class':_0x8503f9,'tooltip':!0x0}),_0x13f0ae[_0x5e3e63(0x1e0)](_0x5e3e63(0x1c4))['to'](this,_0x5e3e63(0x1d9),_0x222a0b=>!!_0x222a0b),_0x13f0ae[_0x5e3e63(0x1e0)](_0x5e3e63(0x1f8))['to'](this,_0x5e3e63(0x1fe),_0x540b5d=>!_0x540b5d),_0x13f0ae['on'](_0x5e3e63(0x1ea),()=>{const _0x13edb2=_0x5e3e63;this[_0x13edb2(0x1c9)](this[_0x13edb2(0x1e1)][_0x13edb2(0x1ca)]),_0x13f0ae[_0x13edb2(0x1b7)]=_0x210df5,_0x13f0ae[_0x13edb2(0x1b0)]=_0x8503f9+_0x13edb2(0x1fc),this[_0x13edb2(0x1e9)](),setTimeout(()=>{const _0x11e3c2=_0x13edb2;_0x13f0ae[_0x11e3c2(0x1b7)]=_0x5dbddf,_0x13f0ae[_0x11e3c2(0x1b0)]=_0x8503f9;},0x3e8);}),_0x13f0ae;}[_0x37121a(0x1c9)](_0xe0552f){const _0x4ccf3e=_0x37121a,{window:_0x100887,document:_0x280e8b}=_0x182b16;if(_0x100887[_0x4ccf3e(0x1b9)]){const {Blob:_0x5d3bc6,ClipboardItem:_0x19da27}=_0x100887,_0x49abb5=[new _0x19da27({'text/html':new _0x5d3bc6([_0xe0552f[_0x4ccf3e(0x1de)]],{'type':_0x4ccf3e(0x1be)}),'text/plain':new _0x5d3bc6([_0xe0552f[_0x4ccf3e(0x1f0)]||''],{'type':_0x4ccf3e(0x1b2)})})];navigator[_0x4ccf3e(0x1f2)][_0x4ccf3e(0x1dc)](_0x49abb5);}else{const _0x87d45b=_0x280e8b[_0x4ccf3e(0x1f6)](_0x4ccf3e(0x1bd));_0x87d45b[_0x4ccf3e(0x1f4)][_0x4ccf3e(0x1e8)]=_0x4ccf3e(0x1df),_0x87d45b[_0x4ccf3e(0x1f4)][_0x4ccf3e(0x1c1)]=_0x4ccf3e(0x1e4),_0x87d45b[_0x4ccf3e(0x1de)]=_0x4ccf3e(0x1c0)+_0xe0552f[_0x4ccf3e(0x1de)]+_0x4ccf3e(0x1c5),_0x280e8b[_0x4ccf3e(0x1f9)][_0x4ccf3e(0x1cb)](_0x87d45b);const _0x2d89b5=_0x280e8b[_0x4ccf3e(0x1cc)]();_0x2d89b5[_0x4ccf3e(0x1c6)](_0x87d45b[_0x4ccf3e(0x1fb)]),_0x2d89b5[_0x4ccf3e(0x1ec)](_0x87d45b[_0x4ccf3e(0x1f1)]);const _0x17a176=_0x100887[_0x4ccf3e(0x1d4)]();_0x17a176[_0x4ccf3e(0x1ad)](),_0x17a176[_0x4ccf3e(0x1ac)](_0x2d89b5),_0x280e8b[_0x4ccf3e(0x1bf)](_0x4ccf3e(0x1f3)),_0x87d45b[_0x4ccf3e(0x1b5)]();}}}export class ContentFieldView extends _0x1f8a98{constructor(_0x351eec,_0x176ba4=''){const _0x2b402e=_0x37121a;super(_0x351eec),this[_0x2b402e(0x1cd)]=this[_0x2b402e(0x1d1)](),this[_0x2b402e(0x1dd)]({'tag':_0x2b402e(0x1bd),'attributes':{'class':['ck',_0x2b402e(0x1e3),_0x176ba4,_0x2b402e(0x1fd),_0x2b402e(0x1bc)]}});}[_0x37121a(0x1da)](_0x416c0e){const _0x5c86c5=_0x37121a;this[_0x5c86c5(0x1ca)][_0x5c86c5(0x1de)]=_0x416c0e;}[_0x37121a(0x1d7)](){const _0x4b1b10=_0x37121a;this[_0x4b1b10(0x1ca)][_0x4b1b10(0x1cb)](this[_0x4b1b10(0x1cd)][_0x4b1b10(0x1ca)]);}[_0x37121a(0x1d1)](){const _0x5aad24=_0x37121a,_0x5b720b=new _0x1f8a98(),_0x4468f7=this[_0x5aad24(0x1b3)],_0x470088=new _0x5c758d();return _0x470088[_0x5aad24(0x1c4)]=!0x0,_0x5b720b[_0x5aad24(0x1dd)]({'tag':_0x5aad24(0x1bd),'attributes':{'class':['ck',_0x5aad24(0x1b1)]},'children':[_0x470088,{'text':_0x43d07b(_0x4468f7,_0x5aad24(0x1d0))}]}),_0x5b720b[_0x5aad24(0x1e2)](),_0x5b720b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3e4d2f,_0x229580){const _0x2294a9=_0x5bf2,_0x543bfd=_0x3e4d2f();while(!![]){try{const _0x5ebcdb=-parseInt(_0x2294a9(0x1da))/0x1*(-parseInt(_0x2294a9(0x1d8))/0x2)+-parseInt(_0x2294a9(0x1d1))/0x3+parseInt(_0x2294a9(0x1d4))/0x4+parseInt(_0x2294a9(0x1d0))/0x5+-parseInt(_0x2294a9(0x1d6))/0x6+-parseInt(_0x2294a9(0x1dc))/0x7*(-parseInt(_0x2294a9(0x1d2))/0x8)+-parseInt(_0x2294a9(0x1ce))/0x9*(-parseInt(_0x2294a9(0x1cc))/0xa);if(_0x5ebcdb===_0x229580)break;else _0x543bfd['push'](_0x543bfd['shift']());}catch(_0x1ee794){_0x543bfd['push'](_0x543bfd['shift']());}}}(_0x1c29,0x2b825));function _0x5bf2(_0x100c1b,_0x3e7d91){const _0x1c29d8=_0x1c29();return _0x5bf2=function(_0x5bf2d9,_0x544a60){_0x5bf2d9=_0x5bf2d9-0x1cc;let _0x1a2982=_0x1c29d8[_0x5bf2d9];return _0x1a2982;},_0x5bf2(_0x100c1b,_0x3e7d91);}function _0x1c29(){const _0x432f59=['60fXajTF','setTemplate','343773KurnMP','bindTemplate','259715GmZSTr','283740wpThme','28432cQzHCQ','ck-ai-form__error','6444nxTcbW','set','1425156WXkuPU','content','2vNvgWl','div','81869eCoikL','text','287QzdYoq'];_0x1c29=function(){return _0x432f59;};return _0x1c29();}import{IconError as _0x64fb5f}from'ckeditor5/src/icons.js';import{View as _0x26f0fc,IconView as _0x3028cb}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x26f0fc{constructor(_0x3bcf40,_0x27b88b=''){const _0x20bb43=_0x5bf2;super(_0x3bcf40);const _0x3472d8=new _0x3028cb(),_0x1ab167=this[_0x20bb43(0x1cf)];this[_0x20bb43(0x1d5)](_0x20bb43(0x1db),_0x27b88b),_0x3472d8[_0x20bb43(0x1d7)]=_0x64fb5f,this[_0x20bb43(0x1cd)]({'tag':_0x20bb43(0x1d9),'attributes':{'class':['ck',_0x20bb43(0x1d3)]},'children':[_0x3472d8,{'text':_0x1ab167['to'](_0x20bb43(0x1db))}]});}}
23
+ (function(_0x59c5cd,_0x34c575){const _0x120ebf=_0x2560,_0x1510bf=_0x59c5cd();while(!![]){try{const _0x2c0744=parseInt(_0x120ebf(0x1d8))/0x1*(-parseInt(_0x120ebf(0x1d7))/0x2)+parseInt(_0x120ebf(0x1d3))/0x3*(-parseInt(_0x120ebf(0x1e3))/0x4)+-parseInt(_0x120ebf(0x1dd))/0x5+parseInt(_0x120ebf(0x1de))/0x6*(parseInt(_0x120ebf(0x1d5))/0x7)+parseInt(_0x120ebf(0x1df))/0x8*(parseInt(_0x120ebf(0x1da))/0x9)+parseInt(_0x120ebf(0x1e1))/0xa*(parseInt(_0x120ebf(0x1e2))/0xb)+parseInt(_0x120ebf(0x1dc))/0xc*(parseInt(_0x120ebf(0x1e0))/0xd);if(_0x2c0744===_0x34c575)break;else _0x1510bf['push'](_0x1510bf['shift']());}catch(_0x16a58b){_0x1510bf['push'](_0x1510bf['shift']());}}}(_0x561a,0xeac3f));function _0x2560(_0x9030fb,_0x551122){const _0x561a57=_0x561a();return _0x2560=function(_0x256078,_0x3c661c){_0x256078=_0x256078-0x1d1;let _0xaac980=_0x561a57[_0x256078];return _0xaac980;},_0x2560(_0x9030fb,_0x551122);}import{IconError as _0xbeca5c}from'ckeditor5/src/icons.js';import{View as _0x551a1d,IconView as _0x37e697}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x551a1d{constructor(_0x19c286,_0x2c1bf2=''){const _0x35cc8c=_0x2560;super(_0x19c286);const _0x22daa7=new _0x37e697(),_0x421f49=this[_0x35cc8c(0x1db)];this[_0x35cc8c(0x1d2)](_0x35cc8c(0x1d6),_0x2c1bf2),_0x22daa7[_0x35cc8c(0x1d9)]=_0xbeca5c,this[_0x35cc8c(0x1e4)]({'tag':_0x35cc8c(0x1d1),'attributes':{'class':['ck',_0x35cc8c(0x1d4)]},'children':[_0x22daa7,{'text':_0x421f49['to'](_0x35cc8c(0x1d6))}]});}}function _0x561a(){const _0x50c514=['ck-ai-form__error','712054xxjFLH','text','2jAFcDB','477057OmTlsE','content','9NMRqyT','bindTemplate','1488ogKVHb','1625080avWPAX','60EwpWGT','776648vSpfdV','60151PbJTHP','50pgWBoo','950202vUadoN','4IfZzYe','setTemplate','div','set','1068861jgikJd'];_0x561a=function(){return _0x50c514;};return _0x561a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd1a4cf=_0x1d43;(function(_0x3f0311,_0x32c529){const _0x4474ac=_0x1d43,_0x216bae=_0x3f0311();while(!![]){try{const _0x4c8900=-parseInt(_0x4474ac(0x18b))/0x1*(-parseInt(_0x4474ac(0x1b6))/0x2)+-parseInt(_0x4474ac(0x182))/0x3*(-parseInt(_0x4474ac(0x19c))/0x4)+-parseInt(_0x4474ac(0x19a))/0x5*(-parseInt(_0x4474ac(0x19b))/0x6)+parseInt(_0x4474ac(0x17d))/0x7+parseInt(_0x4474ac(0x184))/0x8+parseInt(_0x4474ac(0x17f))/0x9+-parseInt(_0x4474ac(0x1b3))/0xa*(parseInt(_0x4474ac(0x193))/0xb);if(_0x4c8900===_0x32c529)break;else _0x216bae['push'](_0x216bae['shift']());}catch(_0x2c0056){_0x216bae['push'](_0x216bae['shift']());}}}(_0x3717,0xe7350));import{Rect as _0xe53168,global as _0x5f0e7e,isVisible as _0xcbb7fb}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x42167f,IconSubmit as _0x4fadd8}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x55674e,ButtonView as _0xf21d50}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b7d7e}from'../../utils/common-translations.js';function _0x1d43(_0x4c60a0,_0x2aada2){const _0x3717ce=_0x3717();return _0x1d43=function(_0x1d4344,_0x1c1693){_0x1d4344=_0x1d4344-0x17c;let _0x128904=_0x3717ce[_0x1d4344];return _0x128904;},_0x1d43(_0x4c60a0,_0x2aada2);}export class AIFormPromptView extends _0x55674e{[_0xd1a4cf(0x181)];[_0xd1a4cf(0x1ad)];constructor(_0x4fc503,_0x5323e5){const _0x2a13a6=_0xd1a4cf;super(_0x4fc503,_0x5323e5),this[_0x2a13a6(0x194)][_0x2a13a6(0x186)][_0x2a13a6(0x190)]=0x1,this[_0x2a13a6(0x194)][_0x2a13a6(0x186)][_0x2a13a6(0x19e)]=0x3,this[_0x2a13a6(0x181)]=this[_0x2a13a6(0x188)](),this[_0x2a13a6(0x1ad)]=this[_0x2a13a6(0x18c)](),this[_0x2a13a6(0x1b1)][_0x2a13a6(0x1ab)](this[_0x2a13a6(0x1ad)],0x1),this[_0x2a13a6(0x1b1)][_0x2a13a6(0x1ab)](this[_0x2a13a6(0x181)]);}[_0xd1a4cf(0x195)](){const _0x94db4=_0xd1a4cf;super[_0x94db4(0x195)](),this[_0x94db4(0x194)][_0x94db4(0x18f)][_0x94db4(0x1ab)](this[_0x94db4(0x1ad)]),this[_0x94db4(0x19d)][_0x94db4(0x1ab)](this[_0x94db4(0x181)]),this[_0x94db4(0x180)][_0x94db4(0x187)](_0x94db4(0x198),(_0x14304d,_0x5541f4)=>{const _0x10c0a5=_0x94db4;_0x14304d[_0x10c0a5(0x1a2)]==this[_0x10c0a5(0x194)][_0x10c0a5(0x186)][_0x10c0a5(0x1a8)]&&(this[_0x10c0a5(0x196)](),_0x5541f4());});}[_0xd1a4cf(0x188)](){const _0x41c729=_0xd1a4cf,_0x1e0551=new _0xf21d50(this[_0x41c729(0x1a7)]),_0x2f2e18=this[_0x41c729(0x1a7)];return _0x1e0551[_0x41c729(0x187)]({'icon':_0x4fadd8,'label':_0x4b7d7e(_0x2f2e18,_0x41c729(0x1a5)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x41c729(0x191)}),_0x1e0551['on'](_0x41c729(0x17e),()=>{const _0x4b3e0b=_0x41c729;this[_0x4b3e0b(0x196)]();}),_0x1e0551[_0x41c729(0x1af)](_0x41c729(0x19f))['to'](this[_0x41c729(0x194)][_0x41c729(0x186)],_0x41c729(0x183),this,_0x41c729(0x19f),(_0x3a101e,_0x381587)=>!_0x3a101e&&_0x381587),_0x1e0551;}[_0xd1a4cf(0x18c)](){const _0x3dd801=_0xd1a4cf,_0x3f8edf=new _0xf21d50(this[_0x3dd801(0x1a7)]),_0x385f2b=this[_0x3dd801(0x1aa)],_0x2de699=this[_0x3dd801(0x1a7)];_0x3f8edf[_0x3dd801(0x187)]({'label':_0x4b7d7e(_0x2de699,_0x3dd801(0x18e)),'withText':!0x1,'icon':_0x42167f,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3dd801(0x189)}),_0x3f8edf[_0x3dd801(0x1af)](_0x3dd801(0x18d))['to'](_0x385f2b,_0x3dd801(0x199)),_0x3f8edf[_0x3dd801(0x1af)](_0x3dd801(0x19f))['to'](this,_0x3dd801(0x19f)),_0x3f8edf['on'](_0x3dd801(0x17e),()=>{const _0x312d39=_0x3dd801;_0x385f2b[_0x312d39(0x199)]=!_0x385f2b[_0x312d39(0x199)],_0x385f2b[_0x312d39(0x199)]?this[_0x312d39(0x1b2)][_0x312d39(0x197)]():this[_0x312d39(0x197)]();});const _0x355671=()=>{const _0x338cbe=_0x3dd801;_0x5f0e7e[_0x338cbe(0x18a)][_0x338cbe(0x1a3)](()=>{const _0x3cdaad=_0x338cbe;if(_0xcbb7fb(this[_0x3cdaad(0x1a8)])){const _0x14e596=new _0xe53168(this[_0x3cdaad(0x194)][_0x3cdaad(0x186)][_0x3cdaad(0x1a8)]),_0x47f120=_0x14e596[_0x3cdaad(0x1b5)],_0x47e1b0=_0x3cdaad(0x192)===_0x2de699[_0x3cdaad(0x185)]?_0x3cdaad(0x1ac):_0x3cdaad(0x1ae);_0x14e596[_0x3cdaad(0x1b4)](),_0x3f8edf[_0x3cdaad(0x1a8)][_0x3cdaad(0x1a6)][_0x47e1b0]=_0x47f120-_0x14e596[_0x3cdaad(0x1b5)]+0x1+'px';}});};return this[_0x3dd801(0x194)][_0x3dd801(0x186)]['on'](_0x3dd801(0x1a1),_0x355671),this['on'](_0x3dd801(0x195),_0x355671),_0x3f8edf;}[_0xd1a4cf(0x196)](){const _0x403eda=_0xd1a4cf,_0x4bcc9c=this[_0x403eda(0x194)][_0x403eda(0x186)][_0x403eda(0x1a8)][_0x403eda(0x1a9)];this[_0x403eda(0x17c)](_0x403eda(0x196),_0x4bcc9c);}[_0xd1a4cf(0x197)](_0x4d7108){const _0x5a041d=_0xd1a4cf;-0x1===_0x4d7108?this[_0x5a041d(0x1b0)][_0x5a041d(0x1a4)]():this[_0x5a041d(0x1b0)][_0x5a041d(0x1a0)]();}}function _0x3717(){const _0x1b2189=['_createShowHistoryButton','isOn','History','fieldWrapperChildren','minRows','ck-ai-form__submit','rtl','11eTYmrv','queryView','render','submit','focus','enter','isVisible','257995UcqIbl','174McHnWR','4NTaVXH','children','maxRows','isEnabled','focusFirst','update','target','requestAnimationFrame','focusLast','Submit','style','locale','element','value','resultsView','add','left','showHistoryButtonView','right','bind','focusCycler','focusableChildren','filteredView','29263240pfDNdF','excludeScrollbarsAndBorders','width','7594uCiBQL','fire','3543435OJrdCX','execute','10872927PgSjLO','keystrokes','submitButtonView','235857xgDDQW','isEmpty','55248XmxpIO','uiLanguageDirection','fieldView','set','_createSubmitButton','ck-ai-form__toggle-history','window','152jcGbCN'];_0x3717=function(){return _0x1b2189;};return _0x3717();}
23
+ function _0x827b(_0x17e1c3,_0x5ca6a9){const _0x257cd0=_0x257c();return _0x827b=function(_0x827b20,_0x2bda54){_0x827b20=_0x827b20-0xf4;let _0x573445=_0x257cd0[_0x827b20];return _0x573445;},_0x827b(_0x17e1c3,_0x5ca6a9);}const _0x593dca=_0x827b;(function(_0x1017de,_0x390420){const _0x2d5882=_0x827b,_0x3ee848=_0x1017de();while(!![]){try{const _0x189ae0=-parseInt(_0x2d5882(0xf9))/0x1*(parseInt(_0x2d5882(0x109))/0x2)+parseInt(_0x2d5882(0xfb))/0x3*(parseInt(_0x2d5882(0x103))/0x4)+-parseInt(_0x2d5882(0x105))/0x5+parseInt(_0x2d5882(0x11c))/0x6+parseInt(_0x2d5882(0x107))/0x7+parseInt(_0x2d5882(0x120))/0x8*(parseInt(_0x2d5882(0xf6))/0x9)+-parseInt(_0x2d5882(0x10a))/0xa;if(_0x189ae0===_0x390420)break;else _0x3ee848['push'](_0x3ee848['shift']());}catch(_0x2f867b){_0x3ee848['push'](_0x3ee848['shift']());}}}(_0x257c,0x3a4d4));import{Rect as _0x2f8f92,global as _0x5067e0,isVisible as _0x161608}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5538cb,IconSubmit as _0x121f43}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x255f36,ButtonView as _0x100a7d}from'ckeditor5/src/ui.js';function _0x257c(){const _0x514aec=['add','8DJcLEi','uiLanguageDirection','1980275cIjTmj','window','788732fxviSm','focusableChildren','75398MZrerm','1810510SqljYq','update','requestAnimationFrame','keystrokes','value','_createShowHistoryButton','fieldView','rtl','queryView','set','children','submit','isVisible','isEmpty','isOn','resultsView','isEnabled','History','2157036CzTjWZ','filteredView','element','bind','104Bucblj','_createSubmitButton','width','focus','enter','render','maxRows','focusCycler','submitButtonView','ck-ai-form__toggle-history','focusFirst','fieldWrapperChildren','focusLast','fire','style','locale','156861YHaNgs','excludeScrollbarsAndBorders','right','9KWTjer','target','684663oopJCz','Submit','minRows','showHistoryButtonView','left','execute','ck-ai-form__submit'];_0x257c=function(){return _0x514aec;};return _0x257c();}import{getTranslation as _0x3e6b07}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x255f36{[_0x593dca(0x128)];[_0x593dca(0xfe)];constructor(_0x14d4c9,_0x330dfe){const _0x3084bd=_0x593dca;super(_0x14d4c9,_0x330dfe),this[_0x3084bd(0x112)][_0x3084bd(0x110)][_0x3084bd(0xfd)]=0x1,this[_0x3084bd(0x112)][_0x3084bd(0x110)][_0x3084bd(0x126)]=0x3,this[_0x3084bd(0x128)]=this[_0x3084bd(0x121)](),this[_0x3084bd(0xfe)]=this[_0x3084bd(0x10f)](),this[_0x3084bd(0x108)][_0x3084bd(0x102)](this[_0x3084bd(0xfe)],0x1),this[_0x3084bd(0x108)][_0x3084bd(0x102)](this[_0x3084bd(0x128)]);}[_0x593dca(0x125)](){const _0x2be86a=_0x593dca;super[_0x2be86a(0x125)](),this[_0x2be86a(0x112)][_0x2be86a(0x12b)][_0x2be86a(0x102)](this[_0x2be86a(0xfe)]),this[_0x2be86a(0x114)][_0x2be86a(0x102)](this[_0x2be86a(0x128)]),this[_0x2be86a(0x10d)][_0x2be86a(0x113)](_0x2be86a(0x124),(_0x54769a,_0x4f1dfd)=>{const _0x2d4854=_0x2be86a;_0x54769a[_0x2d4854(0xfa)]==this[_0x2d4854(0x112)][_0x2d4854(0x110)][_0x2d4854(0x11e)]&&(this[_0x2d4854(0x115)](),_0x4f1dfd());});}[_0x593dca(0x121)](){const _0x10a27d=_0x593dca,_0x40173e=new _0x100a7d(this[_0x10a27d(0xf5)]),_0x4e7ad0=this[_0x10a27d(0xf5)];return _0x40173e[_0x10a27d(0x113)]({'icon':_0x121f43,'label':_0x3e6b07(_0x4e7ad0,_0x10a27d(0xfc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x10a27d(0x101)}),_0x40173e['on'](_0x10a27d(0x100),()=>{const _0x178c7c=_0x10a27d;this[_0x178c7c(0x115)]();}),_0x40173e[_0x10a27d(0x11f)](_0x10a27d(0x11a))['to'](this[_0x10a27d(0x112)][_0x10a27d(0x110)],_0x10a27d(0x117),this,_0x10a27d(0x11a),(_0x44c503,_0xc60d12)=>!_0x44c503&&_0xc60d12),_0x40173e;}[_0x593dca(0x10f)](){const _0x4ef611=_0x593dca,_0x53246b=new _0x100a7d(this[_0x4ef611(0xf5)]),_0x24aaac=this[_0x4ef611(0x119)],_0x65627c=this[_0x4ef611(0xf5)];_0x53246b[_0x4ef611(0x113)]({'label':_0x3e6b07(_0x65627c,_0x4ef611(0x11b)),'withText':!0x1,'icon':_0x5538cb,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4ef611(0x129)}),_0x53246b[_0x4ef611(0x11f)](_0x4ef611(0x118))['to'](_0x24aaac,_0x4ef611(0x116)),_0x53246b[_0x4ef611(0x11f)](_0x4ef611(0x11a))['to'](this,_0x4ef611(0x11a)),_0x53246b['on'](_0x4ef611(0x100),()=>{const _0x9c025a=_0x4ef611;_0x24aaac[_0x9c025a(0x116)]=!_0x24aaac[_0x9c025a(0x116)],_0x24aaac[_0x9c025a(0x116)]?this[_0x9c025a(0x11d)][_0x9c025a(0x123)]():this[_0x9c025a(0x123)]();});const _0x17258e=()=>{const _0x182b53=_0x4ef611;_0x5067e0[_0x182b53(0x106)][_0x182b53(0x10c)](()=>{const _0x52f3fd=_0x182b53;if(_0x161608(this[_0x52f3fd(0x11e)])){const _0x2e262a=new _0x2f8f92(this[_0x52f3fd(0x112)][_0x52f3fd(0x110)][_0x52f3fd(0x11e)]),_0x5ada3b=_0x2e262a[_0x52f3fd(0x122)],_0x15275f=_0x52f3fd(0x111)===_0x65627c[_0x52f3fd(0x104)]?_0x52f3fd(0xff):_0x52f3fd(0xf8);_0x2e262a[_0x52f3fd(0xf7)](),_0x53246b[_0x52f3fd(0x11e)][_0x52f3fd(0xf4)][_0x15275f]=_0x5ada3b-_0x2e262a[_0x52f3fd(0x122)]+0x1+'px';}});};return this[_0x4ef611(0x112)][_0x4ef611(0x110)]['on'](_0x4ef611(0x10b),_0x17258e),this['on'](_0x4ef611(0x125),_0x17258e),_0x53246b;}[_0x593dca(0x115)](){const _0x1c7e80=_0x593dca,_0x383180=this[_0x1c7e80(0x112)][_0x1c7e80(0x110)][_0x1c7e80(0x11e)][_0x1c7e80(0x10e)];this[_0x1c7e80(0x12d)](_0x1c7e80(0x115),_0x383180);}[_0x593dca(0x123)](_0x1492f1){const _0x54b083=_0x593dca;-0x1===_0x1492f1?this[_0x54b083(0x127)][_0x54b083(0x12c)]():this[_0x54b083(0x127)][_0x54b083(0x12a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4058ca=_0x1039;(function(_0x2dafe3,_0x208de8){const _0x3e4e7d=_0x1039,_0x46daec=_0x2dafe3();while(!![]){try{const _0x2b1697=parseInt(_0x3e4e7d(0x18b))/0x1+-parseInt(_0x3e4e7d(0x181))/0x2*(parseInt(_0x3e4e7d(0x17a))/0x3)+-parseInt(_0x3e4e7d(0x17e))/0x4*(parseInt(_0x3e4e7d(0x179))/0x5)+parseInt(_0x3e4e7d(0x186))/0x6+-parseInt(_0x3e4e7d(0x188))/0x7*(parseInt(_0x3e4e7d(0x184))/0x8)+parseInt(_0x3e4e7d(0x17f))/0x9+parseInt(_0x3e4e7d(0x18f))/0xa;if(_0x2b1697===_0x208de8)break;else _0x46daec['push'](_0x46daec['shift']());}catch(_0x5e5b68){_0x46daec['push'](_0x46daec['shift']());}}}(_0x2102,0x4168e));function _0x2102(){const _0xc58135=['32bUlKiA','items','2963124OEQLoP','ck-button-action','654577AMwFGW','tryAgainButton','bind','193527vXGjve','locale','isVisible','replaceButton','1378010GSgdkD','replace','insert','Insert\x20below','extendTemplate','addMany','Stop','label','toUpperCase','set','insertButton','AI_','mainAction','ck-hidden','_CONTENT','671850JztxvP','440424ExXScM','REPLACE','bindTemplate','_createButton','12Rzaakz','4621554gYQFwc','Try\x20again','4BmEDss','ck-ai-form__toolbar','stopButton'];_0x2102=function(){return _0xc58135;};return _0x2102();}import{ToolbarView as _0x281f8f,ButtonView as _0x210d0b}from'ckeditor5/src/ui.js';function _0x1039(_0x253767,_0x176b84){const _0x2102db=_0x2102();return _0x1039=function(_0x10396a,_0x3c61bd){_0x10396a=_0x10396a-0x16c;let _0x35e7d9=_0x2102db[_0x10396a];return _0x35e7d9;},_0x1039(_0x253767,_0x176b84);}import{getTranslation as _0x286290}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4058ca(0x190),'INSERT':_0x4058ca(0x16c)};export class AIFormToolbarView extends _0x281f8f{constructor(_0x3ae2a9){const _0x5c223c=_0x4058ca;super(_0x3ae2a9),this[_0x5c223c(0x173)](_0x5c223c(0x18d),!0x1),this[_0x5c223c(0x173)](_0x5c223c(0x176),AIFormToolbarViewMainActionLabel[_0x5c223c(0x17b)]),this[_0x5c223c(0x18e)]=this[_0x5c223c(0x17d)]('',_0x5c223c(0x187)),this[_0x5c223c(0x18e)][_0x5c223c(0x18a)](_0x5c223c(0x171))['to'](this,_0x5c223c(0x176),_0x19f329=>_0x286290(_0x3ae2a9,_0x5c223c(0x175)+_0x19f329[_0x5c223c(0x172)]()+_0x5c223c(0x178))),this[_0x5c223c(0x174)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x16d))),this[_0x5c223c(0x189)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x180))),this[_0x5c223c(0x183)]=this[_0x5c223c(0x17d)](_0x286290(_0x3ae2a9,_0x5c223c(0x170)));const _0x29fd09=this[_0x5c223c(0x17c)];this[_0x5c223c(0x16e)]({'attributes':{'class':[_0x5c223c(0x182),_0x29fd09['if'](_0x5c223c(0x18d),_0x5c223c(0x177),_0x3820b7=>!_0x3820b7)]}}),this[_0x5c223c(0x185)][_0x5c223c(0x16f)]([this[_0x5c223c(0x18e)],this[_0x5c223c(0x174)],this[_0x5c223c(0x189)],this[_0x5c223c(0x183)]]);}[_0x4058ca(0x17d)](_0x2c6b07,_0x1db253){const _0x515e11=_0x4058ca,_0x243c5f=new _0x210d0b(this[_0x515e11(0x18c)]);return _0x243c5f[_0x515e11(0x173)]({'label':_0x2c6b07,'class':_0x1db253||'','isVisible':!0x0,'withText':!0x0}),_0x243c5f;}}
23
+ const _0xd41667=_0x49e6;function _0x49e6(_0x3f72b8,_0x458653){const _0x4136b4=_0x4136();return _0x49e6=function(_0x49e6fc,_0x452e8b){_0x49e6fc=_0x49e6fc-0x1ca;let _0x166353=_0x4136b4[_0x49e6fc];return _0x166353;},_0x49e6(_0x3f72b8,_0x458653);}(function(_0x1252e1,_0x12eb71){const _0x43f558=_0x49e6,_0x531349=_0x1252e1();while(!![]){try{const _0xb2350b=parseInt(_0x43f558(0x1cc))/0x1+-parseInt(_0x43f558(0x1ee))/0x2+-parseInt(_0x43f558(0x1e2))/0x3*(-parseInt(_0x43f558(0x1d5))/0x4)+parseInt(_0x43f558(0x1d3))/0x5+parseInt(_0x43f558(0x1e1))/0x6*(-parseInt(_0x43f558(0x1e3))/0x7)+parseInt(_0x43f558(0x1de))/0x8*(parseInt(_0x43f558(0x1d2))/0x9)+-parseInt(_0x43f558(0x1d4))/0xa;if(_0xb2350b===_0x12eb71)break;else _0x531349['push'](_0x531349['shift']());}catch(_0x3b29c8){_0x531349['push'](_0x531349['shift']());}}}(_0x4136,0xf2363));import{ToolbarView as _0x22bdb5,ButtonView as _0x406406}from'ckeditor5/src/ui.js';import{getTranslation as _0x59209c}from'../../utils/common-translations.js';function _0x4136(){const _0x45b4de=['mainAction','3607590nhFyjK','ck-ai-form__toolbar','insert','500899MgiUUE','bind','stopButton','locale','_CONTENT','Insert\x20below','5309406QBeEAi','4533430utLfjc','5800500sTqwrO','1852dnMnzH','toUpperCase','items','tryAgainButton','replace','Try\x20again','addMany','_createButton','set','16PykbWC','REPLACE','ck-button-action','228iySpGM','12015HIyEpW','196336mnBOOB','isVisible','bindTemplate','Stop','AI_','insertButton','label','replaceButton','extendTemplate','ck-hidden'];_0x4136=function(){return _0x45b4de;};return _0x4136();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xd41667(0x1d9),'INSERT':_0xd41667(0x1cb)};export class AIFormToolbarView extends _0x22bdb5{constructor(_0x231c6e){const _0x175166=_0xd41667;super(_0x231c6e),this[_0x175166(0x1dd)](_0x175166(0x1e4),!0x1),this[_0x175166(0x1dd)](_0x175166(0x1ed),AIFormToolbarViewMainActionLabel[_0x175166(0x1df)]),this[_0x175166(0x1ea)]=this[_0x175166(0x1dc)]('',_0x175166(0x1e0)),this[_0x175166(0x1ea)][_0x175166(0x1cd)](_0x175166(0x1e9))['to'](this,_0x175166(0x1ed),_0x1d8b8a=>_0x59209c(_0x231c6e,_0x175166(0x1e7)+_0x1d8b8a[_0x175166(0x1d6)]()+_0x175166(0x1d0))),this[_0x175166(0x1e8)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1d1))),this[_0x175166(0x1d8)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1da))),this[_0x175166(0x1ce)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1e6)));const _0x50dafe=this[_0x175166(0x1e5)];this[_0x175166(0x1eb)]({'attributes':{'class':[_0x175166(0x1ca),_0x50dafe['if'](_0x175166(0x1e4),_0x175166(0x1ec),_0x2a9c7c=>!_0x2a9c7c)]}}),this[_0x175166(0x1d7)][_0x175166(0x1db)]([this[_0x175166(0x1ea)],this[_0x175166(0x1e8)],this[_0x175166(0x1d8)],this[_0x175166(0x1ce)]]);}[_0xd41667(0x1dc)](_0x4ee024,_0x12fb51){const _0x142de9=_0xd41667,_0x1e6c02=new _0x406406(this[_0x142de9(0x1cf)]);return _0x1e6c02[_0x142de9(0x1dd)]({'label':_0x4ee024,'class':_0x12fb51||'','isVisible':!0x0,'withText':!0x0}),_0x1e6c02;}}