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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +50 -37
  41. package/dist/index.css +68 -38
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +5 -0
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xaacf7a=_0x1790;(function(_0x5cecb6,_0x270c31){const _0x239eec=_0x1790,_0x535215=_0x5cecb6();while(!![]){try{const _0x21f457=parseInt(_0x239eec(0x70))/0x1+parseInt(_0x239eec(0xa4))/0x2+parseInt(_0x239eec(0x94))/0x3+parseInt(_0x239eec(0xd6))/0x4*(parseInt(_0x239eec(0x92))/0x5)+parseInt(_0x239eec(0x8b))/0x6+-parseInt(_0x239eec(0x83))/0x7+-parseInt(_0x239eec(0x96))/0x8*(parseInt(_0x239eec(0xd4))/0x9);if(_0x21f457===_0x270c31)break;else _0x535215['push'](_0x535215['shift']());}catch(_0x495cdc){_0x535215['push'](_0x535215['shift']());}}}(_0x12be,0x6d6d8));import{uid as _0x489ab3}from'ckeditor5/src/utils.js';import{Plugin as _0x3350ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x12f2dc}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1695fa,ViewDataTransfer as _0x2ab642}from'ckeditor5/src/engine.js';function _0x12be(){const _0x3fcd0f=['last','_getAISelection','selection','afterInit','filter','createPositionAt','change','schema','removeMarker','findAncestor','editing','createUIElement','_getDefaultInsertBelowPosition','for','text/html','pluginName','model','ck-ai-assistant-ui_theme','element','ck-fake-ai-selection','getRange','getRows','getSelectedTableCells','createRange','updateMarker','_pasteHTMLUsingClipboard','table','AIAssistantEditing','showFakeVisualSelection','2007cSPZoA','getChildren','4eoBWEQ','has','map','plugins','parse','editor','forEach','156832aXdsaZ','markerToHighlight','init','getChild','hideFakeVisualSelection','DataTransfer','_prepareTableInsertBelowPosition','getLastMatchingPosition','ck-fake-ai-selection_collapsed','addMarker','get','getMarkersGroup','off','addClass','contentInsertion','start','_getTableRowCountFromContent','pop','span','1260525cqhpbm','createSelection','data','insertRows','ai-ui','insertContent','resultRange','canEditAt','1957284kEiMjh','TableUtils','createPositionAfter','deleteContent','lowest','_createEmptyTableRows','isPremiumPlugin','3919135CyOdbv','conversion','1440267RawnoZ','isAtEnd','64496RnUkaN','first','markers','fromCharCode','markerRange','ai.assistant.useTheme','getColumnIndexes','isOfficialPlugin','getFirstRange','end','once','config','href','join','1358310wGoRoW','markerToElement','document','length','getRanges','getRowIndexes','isContent','editingDowncast','_resetContentOfSelectedTableCells','from','paste','push','insertContentBelow','isCollapsed','getSelectedBlocks','setSelection','getLastPosition','fire','setData'];_0x12be=function(){return _0x3fcd0f;};return _0x12be();}const l=globalThis[_0xaacf7a(0x75)],w=_0xaacf7a(0x87);function _0x1790(_0x150803,_0x21bd0b){const _0x12be15=_0x12be();return _0x1790=function(_0x179066,_0x31316a){_0x179066=_0x179066-0x6f;let _0x42f021=_0x12be15[_0x179066];return _0x42f021;},_0x1790(_0x150803,_0x21bd0b);}export class AIAssistantEditing extends _0x3350ff{static get[_0xaacf7a(0xc6)](){const _0x5545ee=_0xaacf7a;return _0x5545ee(0xd2);}static get[_0xaacf7a(0x9d)](){return!0x0;}static get[_0xaacf7a(0x91)](){return!0x0;}[_0xaacf7a(0x72)](){const _0x56b8aa=_0xaacf7a,{editor:_0x2ba112}=this,_0xbca28a=[_0x56b8aa(0xca)];_0x2ba112[_0x56b8aa(0xa1)][_0x56b8aa(0x7a)](_0x56b8aa(0x9b))&&_0xbca28a[_0x56b8aa(0xaf)](_0x56b8aa(0xc8)),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0x71)]({'model':w,'view':{'classes':_0xbca28a,'priority':0xc}}),_0x2ba112[_0x56b8aa(0x93)][_0x56b8aa(0xc4)](_0x56b8aa(0xab))[_0x56b8aa(0xa5)]({'model':w,'view':(_0x632437,{writer:_0x1f0109})=>{const _0x49ecdb=_0x56b8aa;if(!_0x632437[_0x49ecdb(0x9a)][_0x49ecdb(0xb1)])return null;const _0x370ca2=_0x1f0109[_0x49ecdb(0xc2)](_0x49ecdb(0x82));return _0x1f0109[_0x49ecdb(0x7d)]([_0x49ecdb(0xca),_0x49ecdb(0x78)],_0x370ca2),_0x370ca2;}});}[_0xaacf7a(0xba)](){!async function(_0x4a7da6){const _0x5abb61=_0x3467bb([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]),_0x396303=0x3dffc4e1,_0x22777b=0x3df8b099^_0x396303,_0x439d4a=window[_0x3467bb([0x44,0x61,0x74,0x65])][_0x3467bb([0x6e,0x6f,0x77])](),_0x1af4e3=_0x4a7da6[_0x3467bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fe656=new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f0e56=>{_0x1af4e3[_0x3467bb([0x6f,0x6e,0x63,0x65])](_0x3467bb([0x72,0x65,0x61,0x64,0x79]),_0x2f0e56);}),_0x2cff10={[_0x3467bb([0x6b,0x74,0x79])]:_0x3467bb([0x45,0x43]),[_0x3467bb([0x75,0x73,0x65])]:_0x3467bb([0x73,0x69,0x67]),[_0x3467bb([0x63,0x72,0x76])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36]),[_0x3467bb([0x78])]:_0x3467bb([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]),[_0x3467bb([0x79])]:_0x3467bb([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]),[_0x3467bb([0x61,0x6c,0x67])]:_0x3467bb([0x45,0x53,0x32,0x35,0x36])},_0x243b54=_0x1af4e3[_0x3467bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3467bb([0x67,0x65,0x74])](_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x267b55(){let _0x326448,_0x153b92=null,_0x517681=null;try{if(_0x243b54==_0x3467bb([0x47,0x50,0x4c]))return _0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x326448=_0x20144f(),!_0x326448)return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x517681=_0x28b2d6(_0x326448[_0x3467bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x326448[_0x3467bb([0x6a,0x74,0x69])])),await _0x336989()?_0x4d13f1()?_0x5ec6b7()?_0x3467bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x360b1a()?(_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x153b92=_0xe30778(_0x3467bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3467bb([0x74,0x72,0x69,0x61,0x6c])&&(_0x153b92=_0xe30778(_0x3467bb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x208e14()):_0x3467bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3467bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ec6b7(){const _0x1a20d9=[_0x3467bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3467bb([0x74,0x72,0x69,0x61,0x6c])][_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x439d4a/0x3e8:0xe10*_0x22777b;return _0x326448[_0x3467bb([0x65,0x78,0x70])]<_0x1a20d9;}function _0x4d13f1(){const _0x52e346=_0x326448[_0x3467bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52e346&&(!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a]))||!!_0x52e346[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x41,0x49])));}function _0x360b1a(){const _0x5263b0=_0x1790,_0x7626ab=_0x326448[_0x3467bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7626ab||0x0==_0x7626ab[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4742f1}=new URL(window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5263b0(0xa2)]);if(_0x7626ab[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4742f1))return!0x0;const _0x3f061d=_0x4742f1[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));return _0x7626ab[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x453a09=>_0x453a09[_0x3467bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3467bb([0x2a])))[_0x3467bb([0x6d,0x61,0x70])](_0x3ac8ae=>_0x3ac8ae[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])))[_0x3467bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ec437=>_0x1ec437[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x6d,0x61,0x70])](_0x15d025=>Array(_0x3f061d[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15d025[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3467bb([0x66,0x69,0x6c,0x6c])](_0x15d025[0x0]===_0x3467bb([0x2a])?_0x3467bb([0x2a]):'')[_0x3467bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15d025))[_0x3467bb([0x73,0x6f,0x6d,0x65])](_0x4e6ece=>_0x3f061d[_0x3467bb([0x65,0x76,0x65,0x72,0x79])]((_0xbb8b53,_0x3cb14f)=>_0x4e6ece[_0x3cb14f]===_0xbb8b53||_0x4e6ece[_0x3cb14f]===_0x3467bb([0x2a])));}function _0x208e14(){return _0x153b92&&_0x517681?new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14ee5c,_0x6c6934)=>{_0x153b92[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x14ee5c,_0x6c6934),_0x517681[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x41818a=>{_0x41818a!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x14ee5c(_0x41818a);},_0x6c6934);}):_0x153b92||_0x517681||_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28b2d6(_0x5a2936,_0x27cad9){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49960a=>{if(_0x42661e())return _0x49960a(_0x3467bb([0x56,0x61,0x6c,0x69,0x64]));_0x3c4419(),_0x1af4e3[_0x3467bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31d139=!0x1;const _0x5d9c5b=_0x489ab3();function _0x43a2e0(_0x3d76ec){return!!_0x3d76ec&&(typeof _0x3d76ec===_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d76ec===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d76ec[_0x3467bb([0x74,0x68,0x65,0x6e])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d76ec[_0x3467bb([0x63,0x61,0x74,0x63,0x68])]===_0x3467bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f6e7a(_0x210768){_0x13f3d6(_0x210768)[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x2e50c0=>{if(!_0x2e50c0||_0x2e50c0[_0x3467bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3467bb([0x6f,0x6b]))return _0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x201d54(_0x45d25f(_0x5d9c5b+_0x27cad9))!=_0x2e50c0[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3467bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x397f76=>(_0x56318a(),_0x397f76),()=>{const _0x5d7642=_0x3c1616();return null==_0x5d7642?(_0x56318a(),_0x3467bb([0x56,0x61,0x6c,0x69,0x64])):_0x3467bb(_0x439d4a-_0x5d7642>(0x19f340e1^_0x396303)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x49960a)[_0x3467bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56cd55=0x3dc92a61^_0x396303;function _0x56318a(){const _0x9798c6=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x3f0063=_0x4481d4(_0x201d54(window[_0x3467bb([0x4d,0x61,0x74,0x68])][_0x3467bb([0x63,0x65,0x69,0x6c])](_0x439d4a/_0x56cd55)));window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9798c6,_0x3f0063);}function _0x3c1616(){const _0x76bc72=_0x3467bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x201d54(_0x45d25f(_0x5a2936)),_0x48ca83=window[_0x3467bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3467bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x76bc72);return _0x48ca83?window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4481d4(_0x48ca83),0x10)*_0x56cd55:null;}function _0x13f3d6(_0x1b7fc7){return new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5794,_0x131cc6)=>{_0x1b7fc7[_0x3467bb([0x74,0x68,0x65,0x6e])](_0x4a5794,_0x131cc6),window[_0x3467bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x131cc6,0x3dfe1021^_0x396303);});}}_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x419dc4,_0x1f14f6)=>{if(_0x1f14f6[0x0]!=_0x5a2936)return _0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f14f6[0x1]={..._0x1f14f6[0x1],[_0x3467bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d9c5b};},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x68,0x69,0x67,0x68])}),_0x1af4e3[_0x3467bb([0x6f,0x6e])](_0x3467bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19456b=>{_0x43a2e0(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31d139=!0x0,_0x1f6e7a(_0x19456b[_0x3467bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3467bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3467bb([0x6c,0x6f,0x77])}),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>{_0x31d139||_0x49960a(_0x3467bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42661e(){return _0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3467bb([0x61,0x75,0x74,0x6f]);}function _0x3c4419(){_0x1af4e3[_0x3467bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3467bb([0x76,0x69,0x65,0x77])][_0x3467bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3467bb([0x61,0x75,0x74,0x6f]);}}function _0xe30778(_0x2e4c7a){const _0x106e81=[new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3686c6=>setTimeout(_0x3686c6,0x3df6fa2d^_0x396303)),_0x3fe656[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269e05=>{let _0xc472=0x0;_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x6f,0x6e])](_0x3467bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x197e19,_0x263810)=>{_0x263810[0x0][_0x3467bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc472++,_0xc472==(0x3dffc519^_0x396303)&&(_0x269e05(),_0x197e19[_0x3467bb([0x6f,0x66,0x66])]());});}))];return window[_0x3467bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3467bb([0x72,0x61,0x63,0x65])](_0x106e81)[_0x3467bb([0x74,0x68,0x65,0x6e])](()=>_0x2e4c7a);}async function _0x27a1d1(){await _0x3fe656,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3467bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2261bb,_0x1af4e3[_0x3467bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3467bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dc586(_0x384a0b){const _0x1fde40=_0x5e1265();_0x1af4e3[_0x1fde40]=_0x3467bb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x384a0b,_0x384a0b!=_0x3467bb([0x56,0x61,0x6c,0x69,0x64])&&_0x27a1d1();}function _0x5e1265(){const _0x3fe8c6=window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3467bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3467bb([0x6e,0x6f,0x77])]())[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3467bb([0x2e]),'');let _0x29e15f=_0x3467bb([0x6e]);for(let _0x97b32e=0x0;_0x97b32e<_0x3fe8c6[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x97b32e+=0x2){let _0x22ef22=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe8c6[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x97b32e,_0x97b32e+0x2));_0x22ef22>=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22ef22-=_0x5abb61[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29e15f+=_0x5abb61[_0x22ef22];}return _0x29e15f;}function _0x20144f(){const _0x89816a=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e]));if(0x3!=_0x89816a[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29ec70(_0x89816a[0x1]);function _0x29ec70(_0x133a13){const _0x1e9dce=_0x18532f(_0x133a13);return _0x1e9dce&&_0x1f08ab()?_0x1e9dce:null;function _0x1f08ab(){const _0x5dee04=_0x1e9dce[_0x3467bb([0x6a,0x74,0x69])],_0x70c92=window[_0x3467bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30479d={..._0x1e9dce,[_0x3467bb([0x6a,0x74,0x69])]:_0x5dee04[_0x3467bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dee04[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30479d[_0x3467bb([0x76,0x63])],_0x45d25f(_0x30479d)==_0x70c92;}}}async function _0x336989(){let _0x1b7da0=!0x0;try{const _0x1a9e1e=_0x243b54[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])](_0x3467bb([0x2e])),[_0x3dab70,_0x4c047f,_0x4127f0]=_0x1a9e1e;return _0x450f5c(_0x3dab70),await _0x112c7d(_0x3dab70,_0x4c047f,_0x4127f0),_0x1b7da0;}catch{return!0x1;}function _0x450f5c(_0x5aa569){const _0x435ea8=_0x18532f(_0x5aa569);_0x435ea8&&_0x435ea8[_0x3467bb([0x61,0x6c,0x67])]==_0x3467bb([0x45,0x53,0x32,0x35,0x36])||(_0x1b7da0=!0x1);}async function _0x112c7d(_0x23a26c,_0x4d5251,_0x7b2db2){const _0x1b8138=window[_0x3467bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3467bb([0x66,0x72,0x6f,0x6d])](_0x541964(_0x7b2db2),_0x5b4f16=>_0x5b4f16[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bb750=new window[(_0x3467bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3467bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23a26c+_0x3467bb([0x2e])+_0x4d5251),_0x4bf92b=window[_0x3467bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3467bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4bf92b)return;const _0x4b31c1=await _0x4bf92b[_0x3467bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3467bb([0x6a,0x77,0x6b]),_0x2cff10,{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3467bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4bf92b[_0x3467bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x45,0x43,0x44,0x53,0x41]),[_0x3467bb([0x68,0x61,0x73,0x68])]:{[_0x3467bb([0x6e,0x61,0x6d,0x65])]:_0x3467bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b31c1,_0x1b8138,_0x4bb750)||(_0x1b7da0=!0x1);}}function _0x18532f(_0x32c573){return _0x32c573[_0x3467bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3467bb([0x65,0x79]))?JSON[_0x3467bb([0x70,0x61,0x72,0x73,0x65])](_0x541964(_0x32c573)):null;}function _0x541964(_0x7ebcf8){return window[_0x3467bb([0x61,0x74,0x6f,0x62])](_0x7ebcf8[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3467bb([0x2b]))[_0x3467bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3467bb([0x2f])));}function _0x45d25f(_0x28b8d0){let _0x139ca6=0x1505;function _0xc7edf8(_0x588cde){for(let _0x53583c=0x0;_0x53583c<_0x588cde[_0x3467bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53583c++){const _0x3c49b0=_0x588cde[_0x3467bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53583c);_0x139ca6=(_0x139ca6<<0x5)+_0x139ca6+_0x3c49b0,_0x139ca6&=_0x139ca6;}}function _0x28b4b9(_0x109628){Array[_0x3467bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x109628)?_0x109628[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28b4b9):_0x109628&&typeof _0x109628==_0x3467bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3467bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x109628)[_0x3467bb([0x73,0x6f,0x72,0x74])]()[_0x3467bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e9347,_0x291397])=>{_0xc7edf8(_0x5e9347),_0x28b4b9(_0x291397);}):_0xc7edf8(window[_0x3467bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x109628));}return _0x28b4b9(_0x28b8d0),_0x139ca6>>>0x0;}function _0x201d54(_0x2fc6b9){return _0x2fc6b9[_0x3467bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3467bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3467bb([0x30]));}function _0x4481d4(_0x1960e5){return _0x1960e5[_0x3467bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3467bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3467bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2261bb(){}function _0x3467bb(_0x5ed3cd){const _0x3e84b2=_0x1790;return _0x5ed3cd[_0x3e84b2(0xd8)](_0x5d6313=>String[_0x3e84b2(0x99)](_0x5d6313))[_0x3e84b2(0xa3)]('');}_0x3dc586(await _0x267b55());}(this);}[_0xaacf7a(0xd3)](){const _0x4aedda=_0xaacf7a,_0x4ddf51=this[_0x4aedda(0xdb)][_0x4aedda(0xc7)];_0x4ddf51[_0x4aedda(0xbd)](_0x263824=>{const _0x192635=_0x4aedda,_0x2e5b9f=_0x4ddf51[_0x192635(0xa6)][_0x192635(0xb9)][_0x192635(0xa8)]();let _0x55d6a3=0x0;for(const _0x32c6ac of _0x2e5b9f){const _0x25d4e5=w+':'+_0x55d6a3;if(_0x4ddf51[_0x192635(0x98)][_0x192635(0xd7)](_0x25d4e5))_0x263824[_0x192635(0xcf)](_0x25d4e5,{'range':_0x32c6ac});else{if(_0x32c6ac[_0x192635(0x7f)][_0x192635(0x95)]){const _0x4db622=_0x32c6ac[_0x192635(0x7f)][_0x192635(0x77)](({item:_0x5534a2})=>!_0x4ddf51[_0x192635(0xbe)][_0x192635(0xaa)](_0x5534a2),{'boundaries':_0x32c6ac});_0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x263824[_0x192635(0xce)](_0x4db622,_0x32c6ac[_0x192635(0x9f)])});}else _0x263824[_0x192635(0x79)](_0x25d4e5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x32c6ac});}_0x55d6a3++;}});}[_0xaacf7a(0x74)](){const _0x1eb923=_0xaacf7a,_0xe36d89=this[_0x1eb923(0xdb)][_0x1eb923(0xc7)],_0x4c5fd4=Array[_0x1eb923(0xad)](this[_0x1eb923(0xdb)][_0x1eb923(0xc7)][_0x1eb923(0x98)][_0x1eb923(0x7b)](w));_0x4c5fd4[_0x1eb923(0xa7)]&&_0xe36d89[_0x1eb923(0xbd)](_0x17e29e=>{const _0x28d837=_0x1eb923;_0x4c5fd4[_0x28d837(0x6f)](_0x230ae3=>{const _0x20ef78=_0x28d837;_0x17e29e[_0x20ef78(0xbf)](_0x230ae3);});});}[_0xaacf7a(0x88)](_0xdc72a2,_0x30a858){const _0x742f25=_0xaacf7a,_0x1ffa35=this[_0x742f25(0xb8)](),_0x5320bd=_0x30a858||_0x1ffa35[_0x742f25(0x9e)]();this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0x8a)](_0x5320bd)&&this[_0x742f25(0xdb)][_0x742f25(0xc7)][_0x742f25(0xbd)](_0x45ed47=>{const _0x57e443=_0x742f25;this[_0x57e443(0x74)](),_0x30a858||this[_0x57e443(0xac)](_0x45ed47,_0x1ffa35),this[_0x57e443(0xd0)]({'insertAt':_0x5320bd,'writer':_0x45ed47,'html':_0xdc72a2});});}[_0xaacf7a(0xb0)](_0x1848a2){const _0x16ebd1=_0xaacf7a,{model:_0x550449}=this[_0x16ebd1(0xdb)],_0x3a8f39=this[_0x16ebd1(0xb8)]();_0x550449[_0x16ebd1(0xbd)](()=>{const _0x482b94=_0x16ebd1,_0x62d397=this[_0x482b94(0x76)](_0x1848a2,_0x3a8f39)||this[_0x482b94(0xc3)](_0x3a8f39);this[_0x482b94(0x88)](_0x1848a2,_0x62d397);});}[_0xaacf7a(0xb8)](){const _0x9b6e8e=_0xaacf7a,_0x135925=this[_0x9b6e8e(0xdb)][_0x9b6e8e(0xc7)],_0x42b2b9=Array[_0x9b6e8e(0xad)](_0x135925[_0x9b6e8e(0x98)][_0x9b6e8e(0x7b)](w))[_0x9b6e8e(0xd8)](_0xb41fdb=>_0xb41fdb[_0x9b6e8e(0xcb)]());return _0x135925[_0x9b6e8e(0x84)](_0x42b2b9);}[_0xaacf7a(0xd0)]({writer:_0x51b329,html:_0x2805d8,insertAt:_0x490d0f}){const _0x3b9c61=_0xaacf7a,{view:_0x363dcd}=this[_0x3b9c61(0xdb)][_0x3b9c61(0xc1)],_0x501cf6=this[_0x3b9c61(0xdb)][_0x3b9c61(0xd9)][_0x3b9c61(0x7a)](_0x12f2dc),_0x3f243b=new l();_0x3f243b[_0x3b9c61(0xb6)](_0x3b9c61(0xc5),_0x2805d8);const _0x45f41a=new ClipboardEvent(_0x3b9c61(0xae),{'clipboardData':_0x3f243b}),_0x43eb06=new _0x1695fa(_0x363dcd,_0x45f41a,{'dataTransfer':new _0x2ab642(_0x3f243b)});_0x51b329[_0x3b9c61(0xb3)](_0x490d0f);const _0x118eef=(_0x14b756,_0x33303b)=>{const _0x5dd117=_0x3b9c61;_0x33303b[_0x5dd117(0x89)]&&_0x51b329[_0x5dd117(0xb3)](_0x33303b[_0x5dd117(0x89)]);};_0x501cf6[_0x3b9c61(0xa0)](_0x3b9c61(0x7e),_0x118eef,{'priority':_0x3b9c61(0x8f)}),_0x363dcd[_0x3b9c61(0xa6)][_0x3b9c61(0xb5)](_0x3b9c61(0xae),_0x43eb06),_0x501cf6[_0x3b9c61(0x7c)](_0x3b9c61(0x7e),_0x118eef);}[_0xaacf7a(0xc3)](_0x3115a5){const _0x518c0d=_0xaacf7a,{model:_0x9aed07}=this[_0x518c0d(0xdb)],_0x312665=Array[_0x518c0d(0xad)](_0x3115a5[_0x518c0d(0xb2)]());return _0x312665[_0x518c0d(0xa7)]?_0x9aed07[_0x518c0d(0x8d)](_0x312665[_0x518c0d(0x81)]()):_0x3115a5[_0x518c0d(0xb4)]();}[_0xaacf7a(0x76)](_0x3a667f,_0x3bfb11){const _0x11d70c=_0xaacf7a,{model:_0x2515ad,plugins:_0x2b0e82}=this[_0x11d70c(0xdb)];if(_0x2b0e82[_0x11d70c(0xd7)](_0x11d70c(0x8c))){const _0x306c22=_0x2b0e82[_0x11d70c(0x7a)](_0x11d70c(0x8c))[_0x11d70c(0xcd)](_0x3bfb11);if(_0x306c22[_0x11d70c(0xa7)]){const _0x2a2abd=this[_0x11d70c(0x80)](_0x3a667f),_0x4bd60b=this[_0x11d70c(0x90)](_0x306c22,_0x2a2abd);return _0x2515ad[_0x11d70c(0xbc)](_0x4bd60b,0x0);}}return null;}[_0xaacf7a(0x80)](_0x5848bb){const _0x8d1513=_0xaacf7a,_0x3aac4f=this[_0x8d1513(0xdb)][_0x8d1513(0xd9)][_0x8d1513(0x7a)](_0x8d1513(0x8c)),_0x233eec=this[_0x8d1513(0xdb)][_0x8d1513(0x85)][_0x8d1513(0xda)](_0x5848bb),_0x532705=Array[_0x8d1513(0xad)](_0x233eec[_0x8d1513(0xd5)]())[_0x8d1513(0xbb)](_0x3abeb5=>_0x3abeb5['is'](_0x8d1513(0xc9),_0x8d1513(0xd1)));let _0x160788=0x0;return _0x532705[_0x8d1513(0x6f)](_0x252c2b=>{const _0x37e326=_0x8d1513;_0x160788+=_0x3aac4f[_0x37e326(0xcc)](_0x252c2b);}),_0x160788;}[_0xaacf7a(0x90)](_0x33ea7d,_0x1692b8){const _0x26c0d6=_0xaacf7a,_0x85eeda=this[_0x26c0d6(0xdb)][_0x26c0d6(0xd9)][_0x26c0d6(0x7a)](_0x26c0d6(0x8c)),_0x1b95e9=_0x85eeda[_0x26c0d6(0xa9)](_0x33ea7d),_0x195b52=_0x85eeda[_0x26c0d6(0x9c)](_0x33ea7d),_0x362aec=_0x1b95e9[_0x26c0d6(0xb7)]+0x1,_0x25597d=_0x195b52[_0x26c0d6(0x97)],_0x2ad9dc=_0x33ea7d[0x0][_0x26c0d6(0xc0)](_0x26c0d6(0xd1));for(let _0x1bfe1c=0x0;_0x1bfe1c<_0x1692b8;_0x1bfe1c++)_0x85eeda[_0x26c0d6(0x86)](_0x2ad9dc,{'at':_0x362aec});return _0x2ad9dc[_0x26c0d6(0x73)](_0x362aec)[_0x26c0d6(0x73)](_0x25597d);}[_0xaacf7a(0xac)](_0x5cd37f,_0x78f407){const _0x47448e=_0xaacf7a,{plugins:_0xb54d47}=this[_0x47448e(0xdb)],{model:_0x3d866c}=_0x5cd37f;if(!_0xb54d47[_0x47448e(0xd7)](_0x47448e(0x8c)))return;_0xb54d47[_0x47448e(0x7a)](_0x47448e(0x8c))[_0x47448e(0xcd)](_0x78f407)[_0x47448e(0xa7)]&&_0x3d866c[_0x47448e(0x8e)](_0x78f407);}}
23
+ function _0x1e60(_0x42771d,_0xaaae12){const _0x10c0a2=_0x10c0();return _0x1e60=function(_0x1e60b1,_0x997433){_0x1e60b1=_0x1e60b1-0x66;let _0x329d65=_0x10c0a2[_0x1e60b1];return _0x329d65;},_0x1e60(_0x42771d,_0xaaae12);}function _0x10c0(){const _0x4aa6ac=['addMarker','selection','last','6PxLaSi','232006IvudUt','model','getRanges','ck-fake-ai-selection','schema','markerToElement','deleteContent','setSelection','_createEmptyTableRows','createSelection','70xPdito','getSelectedTableCells','resultRange','getColumnIndexes','markerRange','ai-ui','element','text/html','getRange','ck-fake-ai-selection_collapsed','TableUtils','has','span','paste','hideFakeVisualSelection','_pasteHTMLUsingClipboard','parse','conversion','contentInsertion','fromCharCode','showFakeVisualSelection','getMarkersGroup','insertRows','getRows','lowest','data','pop','editor','plugins','config','getChild','_getAISelection','canEditAt','for','_getTableRowCountFromContent','_getDefaultInsertBelowPosition','change','isPremiumPlugin','push','_resetContentOfSelectedTableCells','markerToHighlight','length','3028518JECYmL','end','once','addClass','78844mSzoGw','isOfficialPlugin','insertContent','first','isAtEnd','getLastPosition','setData','afterInit','insertContentBelow','_prepareTableInsertBelowPosition','isCollapsed','fire','createPositionAfter','AIAssistantEditing','join','16vBwDEN','init','filter','createUIElement','removeMarker','editingDowncast','getLastMatchingPosition','createPositionAt','forEach','1239365iLZFEK','ck-ai-assistant-ui_theme','getFirstRange','62084EPlEMn','isContent','updateMarker','ai.assistant.useTheme','editing','document','pluginName','table','createRange','findAncestor','off','getRowIndexes','from','DataTransfer','60pubpsv','800695fdCIyX','getChildren','start','get','markers','map','href','233690UgwAel','getSelectedBlocks'];_0x10c0=function(){return _0x4aa6ac;};return _0x10c0();}const _0x557410=_0x1e60;(function(_0xf34a71,_0x31b61b){const _0x5123cc=_0x1e60,_0x28ca98=_0xf34a71();while(!![]){try{const _0x1b20a0=-parseInt(_0x5123cc(0xce))/0x1+-parseInt(_0x5123cc(0xd4))/0x2+parseInt(_0x5123cc(0xc6))/0x3*(parseInt(_0x5123cc(0x9d))/0x4)+parseInt(_0x5123cc(0xb5))/0x5*(parseInt(_0x5123cc(0xd3))/0x6)+parseInt(_0x5123cc(0xc7))/0x7*(parseInt(_0x5123cc(0xac))/0x8)+-parseInt(_0x5123cc(0x99))/0x9+-parseInt(_0x5123cc(0x6f))/0xa*(-parseInt(_0x5123cc(0xb8))/0xb);if(_0x1b20a0===_0x31b61b)break;else _0x28ca98['push'](_0x28ca98['shift']());}catch(_0x2fe493){_0x28ca98['push'](_0x28ca98['shift']());}}}(_0x10c0,0x36bb0));import{uid as _0x331793}from'ckeditor5/src/utils.js';import{Plugin as _0x553662}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x28b1a6}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5b3765,ViewDataTransfer as _0x34becf}from'ckeditor5/src/engine.js';const O=globalThis[_0x557410(0xc5)],j=_0x557410(0x74);export class AIAssistantEditing extends _0x553662{static get[_0x557410(0xbe)](){const _0x226c48=_0x557410;return _0x226c48(0xaa);}static get[_0x557410(0x9e)](){return!0x0;}static get[_0x557410(0x94)](){return!0x0;}[_0x557410(0xad)](){const _0x5bcab5=_0x557410,{editor:_0x791750}=this,_0x3cc749=[_0x5bcab5(0x68)];_0x791750[_0x5bcab5(0x8c)][_0x5bcab5(0xca)](_0x5bcab5(0xbb))&&_0x3cc749[_0x5bcab5(0x95)](_0x5bcab5(0xb6)),_0x791750[_0x5bcab5(0x80)][_0x5bcab5(0x90)](_0x5bcab5(0xb1))[_0x5bcab5(0x97)]({'model':j,'view':{'classes':_0x3cc749,'priority':0xc}}),_0x791750[_0x5bcab5(0x80)][_0x5bcab5(0x90)](_0x5bcab5(0xb1))[_0x5bcab5(0x6a)]({'model':j,'view':(_0x2e30b1,{writer:_0x28c7db})=>{const _0x46280a=_0x5bcab5;if(!_0x2e30b1[_0x46280a(0x73)][_0x46280a(0xa7)])return null;const _0x4ca7bd=_0x28c7db[_0x46280a(0xaf)](_0x46280a(0x7b));return _0x28c7db[_0x46280a(0x9c)]([_0x46280a(0x68),_0x46280a(0x78)],_0x4ca7bd),_0x4ca7bd;}});}[_0x557410(0xa4)](){!async function(_0x10ea85){const _0x45afc4=_0x4e5f15([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]),_0x25ba0c=0x3dffc4e1,_0x4a30d7=0x3df8b049^_0x25ba0c,_0x3886ae=window[_0x4e5f15([0x44,0x61,0x74,0x65])][_0x4e5f15([0x6e,0x6f,0x77])](),_0x6d5116=_0x10ea85[_0x4e5f15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c3205=new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58a77a=>{_0x6d5116[_0x4e5f15([0x6f,0x6e,0x63,0x65])](_0x4e5f15([0x72,0x65,0x61,0x64,0x79]),_0x58a77a);}),_0x467d1f={[_0x4e5f15([0x6b,0x74,0x79])]:_0x4e5f15([0x45,0x43]),[_0x4e5f15([0x75,0x73,0x65])]:_0x4e5f15([0x73,0x69,0x67]),[_0x4e5f15([0x63,0x72,0x76])]:_0x4e5f15([0x50,0x2d,0x32,0x35,0x36]),[_0x4e5f15([0x78])]:_0x4e5f15([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]),[_0x4e5f15([0x79])]:_0x4e5f15([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]),[_0x4e5f15([0x61,0x6c,0x67])]:_0x4e5f15([0x45,0x53,0x32,0x35,0x36])},_0x3df5eb=_0x6d5116[_0x4e5f15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e5f15([0x67,0x65,0x74])](_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2897(){let _0x5dedb2,_0x1e7169=null,_0x4bd43f=null;try{if(_0x3df5eb==_0x4e5f15([0x47,0x50,0x4c]))return _0x4e5f15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dedb2=_0x567fa6(),!_0x5dedb2)return _0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dedb2[_0x4e5f15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bd43f=_0x5d07d8(_0x5dedb2[_0x4e5f15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dedb2[_0x4e5f15([0x6a,0x74,0x69])])),await _0x30b388()?_0x2c33fb()?_0x3cea78()?_0x4e5f15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9c0979()?(_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5f15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e7169=_0x18b286(_0x4e5f15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e5f15([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e7169=_0x18b286(_0x4e5f15([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b7888()):_0x4e5f15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5f15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e5f15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cea78(){const _0x5013e=[_0x4e5f15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e5f15([0x74,0x72,0x69,0x61,0x6c])][_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3886ae/0x3e8:0xe10*_0x4a30d7;return _0x5dedb2[_0x4e5f15([0x65,0x78,0x70])]<_0x5013e;}function _0x2c33fb(){const _0x17c2cd=_0x5dedb2[_0x4e5f15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17c2cd&&(!!_0x17c2cd[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x2a]))||!!_0x17c2cd[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x41,0x49])));}function _0x9c0979(){const _0x1fa386=_0x1e60,_0x56f37d=_0x5dedb2[_0x4e5f15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x56f37d||0x0==_0x56f37d[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x182999}=new URL(window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1fa386(0xcd)]);if(_0x56f37d[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182999))return!0x0;const _0x13f41b=_0x182999[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e]));return _0x56f37d[_0x4e5f15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40ddd0=>_0x40ddd0[_0x4e5f15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e5f15([0x2a])))[_0x4e5f15([0x6d,0x61,0x70])](_0x1f8306=>_0x1f8306[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e])))[_0x4e5f15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc8e7=>_0x1dc8e7[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13f41b[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e5f15([0x6d,0x61,0x70])](_0x58a31e=>Array(_0x13f41b[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58a31e[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e5f15([0x66,0x69,0x6c,0x6c])](_0x58a31e[0x0]===_0x4e5f15([0x2a])?_0x4e5f15([0x2a]):'')[_0x4e5f15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58a31e))[_0x4e5f15([0x73,0x6f,0x6d,0x65])](_0x34c44c=>_0x13f41b[_0x4e5f15([0x65,0x76,0x65,0x72,0x79])]((_0x454362,_0x2b85e8)=>_0x34c44c[_0x2b85e8]===_0x454362||_0x34c44c[_0x2b85e8]===_0x4e5f15([0x2a])));}function _0x1b7888(){return _0x1e7169&&_0x4bd43f?new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161df2,_0x443e03)=>{_0x1e7169[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x161df2,_0x443e03),_0x4bd43f[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x49fad6=>{_0x49fad6!=_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])&&_0x161df2(_0x49fad6);},_0x443e03);}):_0x1e7169||_0x4bd43f||_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d07d8(_0xd97d06,_0x356b2a){return new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fc69c=>{if(_0x3c50c2())return _0x4fc69c(_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]));_0x528fda(),_0x6d5116[_0x4e5f15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26b24b=!0x1;const _0x1f2bfd=_0x331793();function _0x1ffc9c(_0x4108be){return!!_0x4108be&&(typeof _0x4108be===_0x4e5f15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4108be===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4108be[_0x4e5f15([0x74,0x68,0x65,0x6e])]===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4108be[_0x4e5f15([0x63,0x61,0x74,0x63,0x68])]===_0x4e5f15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x154331(_0x17c55a){_0x316a49(_0x17c55a)[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x350ccc=>{if(!_0x350ccc||_0x350ccc[_0x4e5f15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e5f15([0x6f,0x6b]))return _0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x414090(_0xc17536(_0x1f2bfd+_0x356b2a))!=_0x350ccc[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e5f15([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x45ebb3=>(_0x5787be(),_0x45ebb3),()=>{const _0x1a174c=_0x55febc();return null==_0x1a174c?(_0x5787be(),_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])):_0x4e5f15(_0x3886ae-_0x1a174c>(0x19f340e1^_0x25ba0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x4fc69c)[_0x4e5f15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c3e48=0x3dc92a61^_0x25ba0c;function _0x5787be(){const _0x176f3f=_0x4e5f15([0x6c,0x6c,0x63,0x74,0x2d])+_0x414090(_0xc17536(_0xd97d06)),_0x32eb5a=_0x154654(_0x414090(window[_0x4e5f15([0x4d,0x61,0x74,0x68])][_0x4e5f15([0x63,0x65,0x69,0x6c])](_0x3886ae/_0x2c3e48)));window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5f15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x176f3f,_0x32eb5a);}function _0x55febc(){const _0x116f59=_0x4e5f15([0x6c,0x6c,0x63,0x74,0x2d])+_0x414090(_0xc17536(_0xd97d06)),_0x26ee66=window[_0x4e5f15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e5f15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116f59);return _0x26ee66?window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154654(_0x26ee66),0x10)*_0x2c3e48:null;}function _0x316a49(_0xf485c1){return new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22fbaf,_0x3b06ff)=>{_0xf485c1[_0x4e5f15([0x74,0x68,0x65,0x6e])](_0x22fbaf,_0x3b06ff),window[_0x4e5f15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b06ff,0x3dfe1021^_0x25ba0c);});}}_0x6d5116[_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3892aa,_0x1ca706)=>{if(_0x1ca706[0x0]!=_0xd97d06)return _0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ca706[0x1]={..._0x1ca706[0x1],[_0x4e5f15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f2bfd};},{[_0x4e5f15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5f15([0x68,0x69,0x67,0x68])}),_0x6d5116[_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd38f2d=>{_0x1ffc9c(_0xd38f2d[_0x4e5f15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26b24b=!0x0,_0x154331(_0xd38f2d[_0x4e5f15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e5f15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e5f15([0x6c,0x6f,0x77])}),_0x2c3205[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>{_0x26b24b||_0x4fc69c(_0x4e5f15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c50c2(){return _0x6d5116[_0x4e5f15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5f15([0x76,0x69,0x65,0x77])][_0x4e5f15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e5f15([0x61,0x75,0x74,0x6f]);}function _0x528fda(){_0x6d5116[_0x4e5f15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e5f15([0x76,0x69,0x65,0x77])][_0x4e5f15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e5f15([0x61,0x75,0x74,0x6f]);}}function _0x18b286(_0x4023b2){const _0x1eaca9=[new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fe181=>setTimeout(_0x1fe181,0x3df6fa2d^_0x25ba0c)),_0x2c3205[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x159e62=>{let _0x4d1fce=0x0;_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x6f,0x6e])](_0x4e5f15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x527c3c,_0x8461cc)=>{_0x8461cc[0x0][_0x4e5f15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d1fce++,_0x4d1fce==(0x3dffc519^_0x25ba0c)&&(_0x159e62(),_0x527c3c[_0x4e5f15([0x6f,0x66,0x66])]());});}))];return window[_0x4e5f15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e5f15([0x72,0x61,0x63,0x65])](_0x1eaca9)[_0x4e5f15([0x74,0x68,0x65,0x6e])](()=>_0x4023b2);}async function _0x1f7f32(){await _0x2c3205,_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35a5c5,_0x6d5116[_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e5f15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35a5c5,_0x6d5116[_0x4e5f15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e5f15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b4ad6(_0x43e721){const _0x1d335a=_0xe91f49();_0x6d5116[_0x1d335a]=_0x4e5f15([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43e721,_0x43e721!=_0x4e5f15([0x56,0x61,0x6c,0x69,0x64])&&_0x1f7f32();}function _0xe91f49(){const _0x3d2081=window[_0x4e5f15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e5f15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e5f15([0x6e,0x6f,0x77])]())[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e5f15([0x2e]),'');let _0x540481=_0x4e5f15([0x6e]);for(let _0x3128fa=0x0;_0x3128fa<_0x3d2081[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3128fa+=0x2){let _0x4e21e9=window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2081[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3128fa,_0x3128fa+0x2));_0x4e21e9>=_0x45afc4[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e21e9-=_0x45afc4[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x540481+=_0x45afc4[_0x4e21e9];}return _0x540481;}function _0x567fa6(){const _0x13f069=_0x3df5eb[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e]));if(0x3!=_0x13f069[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22eb00(_0x13f069[0x1]);function _0x22eb00(_0x4ebcb3){const _0x5c5e65=_0x16b085(_0x4ebcb3);return _0x5c5e65&&_0x46b1b8()?_0x5c5e65:null;function _0x46b1b8(){const _0x513b62=_0x5c5e65[_0x4e5f15([0x6a,0x74,0x69])],_0x15eaa7=window[_0x4e5f15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x513b62[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x513b62[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x530184={..._0x5c5e65,[_0x4e5f15([0x6a,0x74,0x69])]:_0x513b62[_0x4e5f15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x513b62[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x530184[_0x4e5f15([0x76,0x63])],_0xc17536(_0x530184)==_0x15eaa7;}}}async function _0x30b388(){let _0x378885=!0x0;try{const _0x476cb7=_0x3df5eb[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])](_0x4e5f15([0x2e])),[_0x184bc8,_0x542224,_0x22a1da]=_0x476cb7;return _0x39f3e1(_0x184bc8),await _0x60ad8c(_0x184bc8,_0x542224,_0x22a1da),_0x378885;}catch{return!0x1;}function _0x39f3e1(_0x11833f){const _0x5da052=_0x16b085(_0x11833f);_0x5da052&&_0x5da052[_0x4e5f15([0x61,0x6c,0x67])]==_0x4e5f15([0x45,0x53,0x32,0x35,0x36])||(_0x378885=!0x1);}async function _0x60ad8c(_0x38dcb7,_0x147704,_0x52884c){const _0x5a8a4b=window[_0x4e5f15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e5f15([0x66,0x72,0x6f,0x6d])](_0x1179de(_0x52884c),_0x35d522=>_0x35d522[_0x4e5f15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ecf6c=new window[(_0x4e5f15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e5f15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38dcb7+_0x4e5f15([0x2e])+_0x147704),_0x5cd646=window[_0x4e5f15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e5f15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd646)return;const _0x2a9798=await _0x5cd646[_0x4e5f15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e5f15([0x6a,0x77,0x6b]),_0x467d1f,{[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x45,0x43,0x44,0x53,0x41]),[_0x4e5f15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e5f15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd646[_0x4e5f15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x45,0x43,0x44,0x53,0x41]),[_0x4e5f15([0x68,0x61,0x73,0x68])]:{[_0x4e5f15([0x6e,0x61,0x6d,0x65])]:_0x4e5f15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a9798,_0x5a8a4b,_0x4ecf6c)||(_0x378885=!0x1);}}function _0x16b085(_0x59ef08){return _0x59ef08[_0x4e5f15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e5f15([0x65,0x79]))?JSON[_0x4e5f15([0x70,0x61,0x72,0x73,0x65])](_0x1179de(_0x59ef08)):null;}function _0x1179de(_0x26d74a){return window[_0x4e5f15([0x61,0x74,0x6f,0x62])](_0x26d74a[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e5f15([0x2b]))[_0x4e5f15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e5f15([0x2f])));}function _0xc17536(_0x1c9843){let _0xfe9d60=0x1505;function _0x2c95fc(_0x27ee68){for(let _0x20edf7=0x0;_0x20edf7<_0x27ee68[_0x4e5f15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20edf7++){const _0x364151=_0x27ee68[_0x4e5f15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20edf7);_0xfe9d60=(_0xfe9d60<<0x5)+_0xfe9d60+_0x364151,_0xfe9d60&=_0xfe9d60;}}function _0x9edfe(_0x48ff3b){Array[_0x4e5f15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48ff3b)?_0x48ff3b[_0x4e5f15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9edfe):_0x48ff3b&&typeof _0x48ff3b==_0x4e5f15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e5f15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48ff3b)[_0x4e5f15([0x73,0x6f,0x72,0x74])]()[_0x4e5f15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314927,_0x2b4bfe])=>{_0x2c95fc(_0x314927),_0x9edfe(_0x2b4bfe);}):_0x2c95fc(window[_0x4e5f15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48ff3b));}return _0x9edfe(_0x1c9843),_0xfe9d60>>>0x0;}function _0x414090(_0x4997a0){return _0x4997a0[_0x4e5f15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e5f15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e5f15([0x30]));}function _0x154654(_0xb0b769){return _0xb0b769[_0x4e5f15([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e5f15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e5f15([0x6a,0x6f,0x69,0x6e])]('');}function _0x35a5c5(){}function _0x4e5f15(_0x1fef00){const _0x163180=_0x1e60;return _0x1fef00[_0x163180(0xcc)](_0x284a3c=>String[_0x163180(0x82)](_0x284a3c))[_0x163180(0xab)]('');}_0x1b4ad6(await _0x2c2897());}(this);}[_0x557410(0x83)](){const _0x3a562d=_0x557410,_0x105677=this[_0x3a562d(0x8a)][_0x3a562d(0x66)];_0x105677[_0x3a562d(0x93)](_0x4328d7=>{const _0x2a302a=_0x3a562d,_0x36b3a3=_0x105677[_0x2a302a(0xbd)][_0x2a302a(0xd1)][_0x2a302a(0x67)]();let _0x209ff5=0x0;for(const _0x1e0403 of _0x36b3a3){const _0x52a65c=j+':'+_0x209ff5;if(_0x105677[_0x2a302a(0xcb)][_0x2a302a(0x7a)](_0x52a65c))_0x4328d7[_0x2a302a(0xba)](_0x52a65c,{'range':_0x1e0403});else{if(_0x1e0403[_0x2a302a(0xc9)][_0x2a302a(0xa1)]){const _0x44109c=_0x1e0403[_0x2a302a(0xc9)][_0x2a302a(0xb2)](({item:_0x28f176})=>!_0x105677[_0x2a302a(0x69)][_0x2a302a(0xb9)](_0x28f176),{'boundaries':_0x1e0403});_0x4328d7[_0x2a302a(0xd0)](_0x52a65c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4328d7[_0x2a302a(0xc0)](_0x44109c,_0x1e0403[_0x2a302a(0x9a)])});}else _0x4328d7[_0x2a302a(0xd0)](_0x52a65c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e0403});}_0x209ff5++;}});}[_0x557410(0x7d)](){const _0x249e16=_0x557410,_0x2c0527=this[_0x249e16(0x8a)][_0x249e16(0x66)],_0x16b6cb=Array[_0x249e16(0xc4)](this[_0x249e16(0x8a)][_0x249e16(0x66)][_0x249e16(0xcb)][_0x249e16(0x84)](j));_0x16b6cb[_0x249e16(0x98)]&&_0x2c0527[_0x249e16(0x93)](_0x530c93=>{const _0x3e21b7=_0x249e16;_0x16b6cb[_0x3e21b7(0xb4)](_0x120332=>{const _0x5d2d85=_0x3e21b7;_0x530c93[_0x5d2d85(0xb0)](_0x120332);});});}[_0x557410(0x9f)](_0x20461a,_0x54b0bc){const _0x12b365=_0x557410,_0x433bf8=this[_0x12b365(0x8e)](),_0x3a1e11=_0x54b0bc||_0x433bf8[_0x12b365(0xb7)]();this[_0x12b365(0x8a)][_0x12b365(0x66)][_0x12b365(0x8f)](_0x3a1e11)&&this[_0x12b365(0x8a)][_0x12b365(0x66)][_0x12b365(0x93)](_0x45a5fa=>{const _0x33763f=_0x12b365;this[_0x33763f(0x7d)](),_0x54b0bc||this[_0x33763f(0x96)](_0x45a5fa,_0x433bf8),this[_0x33763f(0x7e)]({'insertAt':_0x3a1e11,'writer':_0x45a5fa,'html':_0x20461a});});}[_0x557410(0xa5)](_0x28826b){const _0xde2ee6=_0x557410,{model:_0x2e48a4}=this[_0xde2ee6(0x8a)],_0x3e2111=this[_0xde2ee6(0x8e)]();_0x2e48a4[_0xde2ee6(0x93)](()=>{const _0x4dbd4d=_0xde2ee6,_0x6fac9b=this[_0x4dbd4d(0xa6)](_0x28826b,_0x3e2111)||this[_0x4dbd4d(0x92)](_0x3e2111);this[_0x4dbd4d(0x9f)](_0x28826b,_0x6fac9b);});}[_0x557410(0x8e)](){const _0x5a9e7b=_0x557410,_0x41aa09=this[_0x5a9e7b(0x8a)][_0x5a9e7b(0x66)],_0xcdbc0b=Array[_0x5a9e7b(0xc4)](_0x41aa09[_0x5a9e7b(0xcb)][_0x5a9e7b(0x84)](j))[_0x5a9e7b(0xcc)](_0x1e61fd=>_0x1e61fd[_0x5a9e7b(0x77)]());return _0x41aa09[_0x5a9e7b(0x6e)](_0xcdbc0b);}[_0x557410(0x7e)]({writer:_0x5ce52b,html:_0x8904e9,insertAt:_0x9d4c14}){const _0x127ff6=_0x557410,{view:_0x100dfb}=this[_0x127ff6(0x8a)][_0x127ff6(0xbc)],_0x39f2ba=this[_0x127ff6(0x8a)][_0x127ff6(0x8b)][_0x127ff6(0xca)](_0x28b1a6),_0x164830=new O();_0x164830[_0x127ff6(0xa3)](_0x127ff6(0x76),_0x8904e9);const _0x50ea46=new ClipboardEvent(_0x127ff6(0x7c),{'clipboardData':_0x164830}),_0x4d6428=new _0x5b3765(_0x100dfb,_0x50ea46,{'dataTransfer':new _0x34becf(_0x164830)});_0x5ce52b[_0x127ff6(0x6c)](_0x9d4c14);const _0x19bac1=(_0x591bf6,_0x3edf59)=>{const _0x146693=_0x127ff6;_0x3edf59[_0x146693(0x71)]&&_0x5ce52b[_0x146693(0x6c)](_0x3edf59[_0x146693(0x71)]);};_0x39f2ba[_0x127ff6(0x9b)](_0x127ff6(0x81),_0x19bac1,{'priority':_0x127ff6(0x87)}),_0x100dfb[_0x127ff6(0xbd)][_0x127ff6(0xa8)](_0x127ff6(0x7c),_0x4d6428),_0x39f2ba[_0x127ff6(0xc2)](_0x127ff6(0x81),_0x19bac1);}[_0x557410(0x92)](_0x47705b){const _0x1bcd0a=_0x557410,{model:_0x4288f5}=this[_0x1bcd0a(0x8a)],_0x2f52b4=Array[_0x1bcd0a(0xc4)](_0x47705b[_0x1bcd0a(0xcf)]());return _0x2f52b4[_0x1bcd0a(0x98)]?_0x4288f5[_0x1bcd0a(0xa9)](_0x2f52b4[_0x1bcd0a(0x89)]()):_0x47705b[_0x1bcd0a(0xa2)]();}[_0x557410(0xa6)](_0xa3b54a,_0x271eb1){const _0x268084=_0x557410,{model:_0x4269ba,plugins:_0x19ebae}=this[_0x268084(0x8a)];if(_0x19ebae[_0x268084(0x7a)](_0x268084(0x79))){const _0x11eeae=_0x19ebae[_0x268084(0xca)](_0x268084(0x79))[_0x268084(0x70)](_0x271eb1);if(_0x11eeae[_0x268084(0x98)]){const _0x234823=this[_0x268084(0x91)](_0xa3b54a),_0x51a836=this[_0x268084(0x6d)](_0x11eeae,_0x234823);return _0x4269ba[_0x268084(0xb3)](_0x51a836,0x0);}}return null;}[_0x557410(0x91)](_0x338fd8){const _0x2b5e3a=_0x557410,_0x43cc27=this[_0x2b5e3a(0x8a)][_0x2b5e3a(0x8b)][_0x2b5e3a(0xca)](_0x2b5e3a(0x79)),_0x37d78e=this[_0x2b5e3a(0x8a)][_0x2b5e3a(0x88)][_0x2b5e3a(0x7f)](_0x338fd8),_0x35b73b=Array[_0x2b5e3a(0xc4)](_0x37d78e[_0x2b5e3a(0xc8)]())[_0x2b5e3a(0xae)](_0x110d97=>_0x110d97['is'](_0x2b5e3a(0x75),_0x2b5e3a(0xbf)));let _0x214df2=0x0;return _0x35b73b[_0x2b5e3a(0xb4)](_0x50af9f=>{const _0x5414b2=_0x2b5e3a;_0x214df2+=_0x43cc27[_0x5414b2(0x86)](_0x50af9f);}),_0x214df2;}[_0x557410(0x6d)](_0x363955,_0x7cb2a3){const _0x48562d=_0x557410,_0x53911e=this[_0x48562d(0x8a)][_0x48562d(0x8b)][_0x48562d(0xca)](_0x48562d(0x79)),_0x25d38c=_0x53911e[_0x48562d(0xc3)](_0x363955),_0x46abad=_0x53911e[_0x48562d(0x72)](_0x363955),_0x953fb=_0x25d38c[_0x48562d(0xd2)]+0x1,_0x3c6db4=_0x46abad[_0x48562d(0xa0)],_0x8db936=_0x363955[0x0][_0x48562d(0xc1)](_0x48562d(0xbf));for(let _0x56c854=0x0;_0x56c854<_0x7cb2a3;_0x56c854++)_0x53911e[_0x48562d(0x85)](_0x8db936,{'at':_0x953fb});return _0x8db936[_0x48562d(0x8d)](_0x953fb)[_0x48562d(0x8d)](_0x3c6db4);}[_0x557410(0x96)](_0x1399e8,_0x16eb98){const _0x1fe279=_0x557410,{plugins:_0x1404e8}=this[_0x1fe279(0x8a)],{model:_0x1ad1f0}=_0x1399e8;if(!_0x1404e8[_0x1fe279(0x7a)](_0x1fe279(0x79)))return;_0x1404e8[_0x1fe279(0xca)](_0x1fe279(0x79))[_0x1fe279(0x70)](_0x16eb98)[_0x1fe279(0x98)]&&_0x1ad1f0[_0x1fe279(0x6b)](_0x16eb98);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55eb(_0x3d1c85,_0x2d869d){const _0x3a8cf7=_0x3a8c();return _0x55eb=function(_0x55eb67,_0x301b56){_0x55eb67=_0x55eb67-0x1b1;let _0x1888d3=_0x3a8cf7[_0x55eb67];return _0x1888d3;},_0x55eb(_0x3d1c85,_0x2d869d);}const _0xed0db0=_0x55eb;(function(_0x426bbd,_0x54529f){const _0x4f317a=_0x55eb,_0x3c1db9=_0x426bbd();while(!![]){try{const _0x3865a1=-parseInt(_0x4f317a(0x1c9))/0x1+-parseInt(_0x4f317a(0x206))/0x2*(-parseInt(_0x4f317a(0x225))/0x3)+-parseInt(_0x4f317a(0x1de))/0x4+parseInt(_0x4f317a(0x1c7))/0x5+-parseInt(_0x4f317a(0x1ba))/0x6*(parseInt(_0x4f317a(0x236))/0x7)+parseInt(_0x4f317a(0x1f0))/0x8+-parseInt(_0x4f317a(0x242))/0x9*(-parseInt(_0x4f317a(0x20a))/0xa);if(_0x3865a1===_0x54529f)break;else _0x3c1db9['push'](_0x3c1db9['shift']());}catch(_0x4ecafd){_0x3c1db9['push'](_0x3c1db9['shift']());}}}(_0x3a8c,0x8eeb7));import{Plugin as _0x4c9783}from'ckeditor5/src/core.js';import{IconMagicWand as _0xfce511,IconRobotPencil as _0x2b6e2b}from'ckeditor5/src/icons.js';import{first as _0x133307,CKEditorError as _0x44dbf3}from'ckeditor5/src/utils.js';import{createDropdown as _0x65eaee,addMenuToDropdown as _0x2cfd02,ButtonView as _0x4e217a,MenuBarMenuListItemButtonView as _0x3c03f4,Dialog as _0x4fb2dd,DialogViewPosition as _0xca2be2,MenuBarMenuView as _0x1a6e2f,MenuBarMenuListView as _0x484258,MenuBarMenuListItemView as _0xb8f339}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x45dc8c,UNGROUPED_COMMANDS_GROUP_ID as _0x32d7ff}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5d827e}from'./aiassistantediting.js';import{AIAdapter as _0x2de7e7}from'./adapters/aiadapter.js';import{getTranslation as _0x467e65}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x26443c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x343221}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5a3b7f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a4a9a}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x3a8c(){const _0xb055bf=['aiLicenseKeyExpired','ai-commands-config-order-collision','_createAIAssistantUIButton','replaceContent','textAdapter','media','getRanges','REPLACE','featureNotAllowed','aiLicenseKeyUsageLimit','queryView','ck-ai-commands-dropdown\x20','18IkmBsl','updateView','aiLicenseKeyNotAllowed','expired','4220TFzAgP','_populateMenuBarMenu','comment','AI\x20Commands','plugins','define','domainLimit','_getMenuBarGroupButtons','editing','custom','aiCommands','_onExecute','schema','forEach','evaluationLimit','add','isCollapsed','selection','_aiAdapter','rawHtml','getSelectedElement','fire','_commandDefinitions','aiAssistant','\x20ck-ai-assistant-ui_theme','listenTo','aiLicenseKeyValid','30900SzIneH','DataTransfer','Error\x20during\x20AI\x20content\x20generation:\x20%0','model','delegate','hideUI','updatePosition','requiresContent','ai.assistant.disabledElements','_aiAssistantController','change','ai.assistant.commands','enabledCommandsIds','locale','panelView','menuitemcheckbox','AI\x20Assistant','2429wOBLdw','groupLabel','tableOfContents','menuBar:aiCommands','getSelectedBlocks','menuView','buttons','Generated\x20content:\x20%0','groupId','_uiCssClasses','polite','ai.assistant.useTheme','16479HlqmTU','isPremiumPlugin','showFakeVisualSelection','_showLicenseError','body','ck-ai-assistant-ui','fieldView','addMany','aiLicenseKeyDomainLimit','label','</p>','menuBar:aiAssistant','insertContentBelow','includes','items','_licenseKeyCheckInterval','editor','isOn','errorView','values','getLimitElement','AI\x20is\x20writing','<p>','_initView','hide','ai.assistant.contentAreaCssClass','prompt','source','length','change:value','splice','trim','change:isError','filter','destroy','buttonView','_forceMarkersCopy','children','aiLicenseKeyInvalid','commands','12222XeLGtr','currentContext','isFlat','push','showUI','get','_getResolvedCommandsDefinitions','init','setSelection','wasMoved','reset','order','requires','2004020NQTvHF','ck-ai-assistant-button\x20','438610DsSRBz','_initAriaAiStatusChangeAnnouncements','document','isEnabled','showAIAssistant','hideFakeVisualSelection','_formView','replace','command:','getData','AIAssistantUI','sort','view','invalid','_dialog','licenseKey','AIAssistant','text/html','EDITOR_TOP_SIDE','text','show','2082644qWmRaD','isOfficialPlugin','execute','INSERT','change:isProcessing','aiLicenseKeyEvaluationLimit','change:enabledCommandsIds','insertContent','contentArea','render','bind','componentFactory','trialLimit','set','focus','map','aiLicenseKeyTrialLimit','announce','7882584aeFRIe','from','update','copy','once','pluginName','menuPanelClass','config','promptView','usageLimit'];_0x3a8c=function(){return _0xb055bf;};return _0x3a8c();}const l=globalThis[_0xed0db0(0x226)];import{ClipboardMarkersUtils as _0x31938b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3afc2f,ViewDataTransfer as _0x29b9d9}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4c9783{[_0xed0db0(0x1d8)];[_0xed0db0(0x251)];[_0xed0db0(0x1d7)];[_0xed0db0(0x1cf)];[_0xed0db0(0x21c)];[_0xed0db0(0x22e)];[_0xed0db0(0x23f)]='';static get[_0xed0db0(0x1f5)](){const _0x1ec584=_0xed0db0;return _0x1ec584(0x1d3);}static get[_0xed0db0(0x1df)](){return!0x0;}static get[_0xed0db0(0x243)](){return!0x0;}static get[_0xed0db0(0x1c6)](){return[_0x31938b,_0x5d827e,_0x2de7e7,_0x4fb2dd];}constructor(_0x22a2ba){const _0x7f21c1=_0xed0db0;super(_0x22a2ba),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x22d),[_0x7f21c1(0x1ff),_0x7f21c1(0x21d),_0x7f21c1(0x238)]),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x25b),''),_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x20f)](_0x7f21c1(0x241),!0x0),this[_0x7f21c1(0x23f)]=_0x7f21c1(0x247)+(_0x22a2ba[_0x7f21c1(0x1f7)][_0x7f21c1(0x1bf)](_0x7f21c1(0x241))?_0x7f21c1(0x222):'');}[_0xed0db0(0x1c1)](){const _0x2ce207=_0xed0db0,{editor:_0x3905db}=this;this[_0x2ce207(0x21c)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x2de7e7),this[_0x2ce207(0x1d7)]=_0x3905db[_0x2ce207(0x20e)][_0x2ce207(0x1bf)](_0x4fb2dd),this[_0x2ce207(0x1cf)]=null,this[_0x2ce207(0x220)]=this[_0x2ce207(0x1c0)]();const _0x5223e5=new _0x26443c(_0x3905db,Array[_0x2ce207(0x1f1)](this[_0x2ce207(0x220)][_0x2ce207(0x255)]()));_0x3905db[_0x2ce207(0x1b9)][_0x2ce207(0x219)](_0x2ce207(0x1cd),_0x5223e5),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x214),_0x3e8bd5=>{const _0x25e00d=_0x2ce207,_0x835816=_0x65eaee(_0x3e8bd5);return _0x835816[_0x25e00d(0x1eb)]({'class':_0x25e00d(0x205)+this[_0x25e00d(0x23f)]}),_0x835816[_0x25e00d(0x1b5)][_0x25e00d(0x1eb)]({'label':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d)),'icon':_0xfce511,'tooltip':!0x0}),_0x835816['on'](_0x25e00d(0x1e0),_0x3e906f=>this[_0x25e00d(0x215)](_0x3e906f[_0x25e00d(0x25d)]['id'])),_0x2cfd02(_0x835816,_0x3905db['ui'][_0x25e00d(0x1d5)][_0x25e00d(0x246)],function(_0x27dba6){const _0x441aad=_0x25e00d,_0x282690=_0x45dc8c(_0x27dba6[_0x441aad(0x1f7)][_0x441aad(0x1bf)](_0x441aad(0x230)),_0x27dba6[_0x441aad(0x232)]),_0x3f3b83=U(_0x27dba6,_0x282690)[_0x441aad(0x1b3)](_0x4f5ecb=>_0x4f5ecb[_0x441aad(0x1b9)][_0x441aad(0x25e)]);if(0x1===_0x3f3b83[_0x441aad(0x25e)])return U(_0x27dba6,_0x3f3b83[0x0][_0x441aad(0x1b9)])[_0x441aad(0x1ed)](_0x5f1879=>({'id':_0x5f1879['id'],'label':_0x5f1879[_0x441aad(0x24b)]}));return _0x3f3b83[_0x441aad(0x1ed)](_0x2d8ca4=>{const _0x1a0a06=_0x441aad,{groupId:_0x1f47cf,groupLabel:_0x5d69c2,commands:_0x5e1210}=_0x2d8ca4,_0x273bcb=U(_0x27dba6,_0x5e1210)[_0x1a0a06(0x1ed)](_0x1565dc=>({'id':_0x1565dc['id'],'label':_0x1565dc[_0x1a0a06(0x24b)]}));return{'id':_0x1f47cf,'menu':_0x5d69c2||_0x1f47cf,'children':_0x273bcb};});}(_0x3905db),{'ariaLabel':_0x467e65(_0x3e8bd5,_0x25e00d(0x20d))}),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f6)]=_0x25e00d(0x205)+this[_0x25e00d(0x23f)],_0x5223e5['on'](_0x25e00d(0x1e4),_0x2f9f42),_0x835816[_0x25e00d(0x23b)][_0x25e00d(0x1f4)](_0x25e00d(0x1e7),_0x2f9f42),_0x835816;function _0x2f9f42(){const _0x2a96c5=_0x25e00d;_0x835816[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x25e)]>0x0;for(const _0x13266a of _0x835816[_0x2a96c5(0x23b)][_0x2a96c5(0x23c)])_0x13266a[_0x2a96c5(0x1cc)]=_0x5223e5[_0x2a96c5(0x231)][_0x2a96c5(0x24f)](_0x13266a['id']);}}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x239),_0x25058f=>{const _0x5752e7=_0x2ce207,_0x30933c=new _0x1a6e2f(_0x25058f);_0x30933c[_0x5752e7(0x1b5)][_0x5752e7(0x1eb)]({'label':_0x467e65(_0x25058f,_0x5752e7(0x20d)),'icon':_0xfce511}),_0x30933c[_0x5752e7(0x1e8)](_0x5752e7(0x1cc))['to'](_0x5223e5,_0x5752e7(0x231),_0x52ac5e=>_0x52ac5e[_0x5752e7(0x25e)]>0x0);const _0x5d4868=_0x45dc8c(_0x3905db[_0x5752e7(0x1f7)][_0x5752e7(0x1bf)](_0x5752e7(0x230)),_0x25058f);return this[_0x5752e7(0x20b)](_0x5223e5,_0x30933c,_0x5d4868,_0x58286b=>this[_0x5752e7(0x215)](_0x58286b)),_0x30933c;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x221),()=>{const _0x5e6a7b=_0x2ce207,_0x498c45=this[_0x5e6a7b(0x1fc)](_0x4e217a);return _0x498c45[_0x5e6a7b(0x1eb)]({'tooltip':!0x0,'class':_0x5e6a7b(0x1c8)+this[_0x5e6a7b(0x23f)]}),_0x498c45;}),_0x3905db['ui'][_0x2ce207(0x1e9)][_0x2ce207(0x219)](_0x2ce207(0x24d),()=>{const _0x52fbfe=_0x2ce207,_0x6d9d2b=this[_0x52fbfe(0x1fc)](_0x3c03f4);return _0x6d9d2b[_0x52fbfe(0x1eb)]({'role':_0x52fbfe(0x234)}),_0x6d9d2b;}),this[_0x2ce207(0x1d8)]=this[_0x2ce207(0x252)][_0x2ce207(0x1f7)][_0x2ce207(0x1bf)](_0x2ce207(0x1d8));const _0x2c9206=this[_0x2ce207(0x252)];this[_0x2ce207(0x251)]=setInterval(()=>{const _0x5a1b95=_0x2ce207;let _0x2d47cd;for(const _0x33517 in _0x2c9206){const _0xc7ae2e=_0x33517,_0x476a1e=_0x2c9206[_0xc7ae2e];if(_0x5a1b95(0x224)==_0x476a1e||_0x5a1b95(0x1b8)==_0x476a1e||_0x5a1b95(0x1fa)==_0x476a1e||_0x5a1b95(0x24a)==_0x476a1e||_0x5a1b95(0x208)==_0x476a1e||_0x5a1b95(0x1e3)==_0x476a1e||_0x5a1b95(0x1ee)==_0x476a1e||_0x5a1b95(0x203)==_0x476a1e){delete _0x2c9206[_0xc7ae2e],_0x2d47cd=_0x476a1e,clearInterval(this[_0x5a1b95(0x251)]),this[_0x5a1b95(0x251)]=void 0x0;break;}}_0x5a1b95(0x1b8)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1d6)),_0x5a1b95(0x1fa)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x209)),_0x5a1b95(0x24a)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x210)),_0x5a1b95(0x208)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x202),_0x5a1b95(0x1d9)),_0x5a1b95(0x1e3)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x218)),_0x5a1b95(0x1ee)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1ea)),_0x5a1b95(0x203)==_0x2d47cd&&_0x2c9206[_0x5a1b95(0x245)](_0x5a1b95(0x1f9));},0x3e8);}[_0xed0db0(0x1b4)](){const _0x157a39=_0xed0db0;super[_0x157a39(0x1b4)](),this[_0x157a39(0x251)]&&clearInterval(this[_0x157a39(0x251)]);}[_0xed0db0(0x1be)](_0xfb2dfc='',_0x597559='',_0x287d00=_0xed0db0(0x213)){const _0x156939=_0xed0db0,_0x4f562f=this[_0x156939(0x252)],_0x104918=_0x4f562f[_0x156939(0x212)][_0x156939(0x1d5)],_0x53ab7b=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x5d827e),_0x48152c=_0x4f562f[_0x156939(0x20e)][_0x156939(0x1bf)](_0x31938b);_0x53ab7b[_0x156939(0x244)]();const _0x2834ac=new l(),_0x1d5dbf=new ClipboardEvent(_0x156939(0x1f3),{'clipboardData':_0x2834ac}),_0x9edefe=new _0x29b9d9(_0x2834ac),_0x57539b=new _0x3afc2f(_0x104918,_0x1d5dbf,{'dataTransfer':_0x9edefe});_0x48152c[_0x156939(0x1b6)](_0x156939(0x20c),()=>{const _0x2fd386=_0x156939;_0x104918[_0x2fd386(0x1cb)][_0x2fd386(0x21f)](_0x2fd386(0x1f3),_0x57539b);}),this[_0x156939(0x1cf)]||(this[_0x156939(0x259)](),this[_0x156939(0x22e)]=new _0x343221(_0x4f562f,this[_0x156939(0x21c)][_0x156939(0x1fe)],this[_0x156939(0x1cf)]));let _0x3cc263=_0x9edefe[_0x156939(0x1d2)](_0x156939(0x1da));const _0x4beff3=_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)],_0x3e4fe3=Array[_0x156939(0x1f1)](_0x4beff3[_0x156939(0x200)]());0x1===_0x3e4fe3[_0x156939(0x25e)]&&_0x3e4fe3[0x0][_0x156939(0x1bc)]&&!_0x4beff3[_0x156939(0x21e)]()&&''!==_0x3cc263[_0x156939(0x1d0)](/&nbsp;/g,'')[_0x156939(0x1b1)]()&&(_0x3cc263=_0x156939(0x258)+_0x3cc263+_0x156939(0x24c)),this[_0x156939(0x22e)][_0x156939(0x207)]({'actionId':_0x287d00,'query':_0xfb2dfc,'htmlContent':_0x3cc263,'label':_0x597559,'mainActionLabel':_0x2a4a9a[_0x4f562f[_0x156939(0x228)][_0x156939(0x1cb)][_0x156939(0x21b)][_0x156939(0x21a)]?_0x156939(0x1e1):_0x156939(0x201)]}),_0x156939(0x221)!==this[_0x156939(0x1d7)]['id']?this[_0x156939(0x1d7)][_0x156939(0x1dd)]({'id':_0x156939(0x221),'icon':_0x2b6e2b,'title':_0x467e65(this[_0x156939(0x252)][_0x156939(0x232)],_0x156939(0x235)),'content':this[_0x156939(0x1cf)],'position':_0xca2be2[_0x156939(0x1db)],'onShow':()=>{const _0x3412ba=_0x156939;this[_0x3412ba(0x1cf)][_0x3412ba(0x1ec)]();},'onHide':()=>{const _0x11cb30=_0x156939;this[_0x11cb30(0x22e)][_0x11cb30(0x1c4)](),_0x53ab7b[_0x11cb30(0x1ce)]();}}):this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x1c3)]||this[_0x156939(0x1d7)][_0x156939(0x1d5)][_0x156939(0x22b)]();}[_0xed0db0(0x22a)](){const _0x4ae324=_0xed0db0;this[_0x4ae324(0x1d7)][_0x4ae324(0x25a)]();}[_0xed0db0(0x1c0)](){const _0x2ecc62=_0xed0db0,_0x3b66a5=new Map(),_0x1dcb36=_0x45dc8c(this[_0x2ecc62(0x252)][_0x2ecc62(0x1f7)][_0x2ecc62(0x1bf)](_0x2ecc62(0x230)),this[_0x2ecc62(0x252)][_0x2ecc62(0x232)]);for(const _0xef75df of _0x1dcb36)for(const _0x3f2759 of _0xef75df[_0x2ecc62(0x1b9)])_0x3b66a5[_0x2ecc62(0x1eb)](_0x3f2759['id'],{..._0x3f2759,'groupId':_0xef75df[_0x2ecc62(0x23e)],'groupLabel':_0xef75df[_0x2ecc62(0x237)]||_0xef75df[_0x2ecc62(0x23e)]});return _0x3b66a5;}[_0xed0db0(0x1fc)](_0x224829){const _0x2e7e05=_0xed0db0,_0xc851b4=this[_0x2e7e05(0x252)],_0x2f854d=_0xc851b4[_0x2e7e05(0x1b9)][_0x2e7e05(0x1bf)](_0x2e7e05(0x1cd)),_0x18121d=new _0x224829(_0xc851b4[_0x2e7e05(0x232)]);return _0x18121d[_0x2e7e05(0x1eb)]({'label':_0x467e65(_0xc851b4[_0x2e7e05(0x232)],_0x2e7e05(0x235)),'icon':_0x2b6e2b,'isToggleable':!0x0}),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x1cc))['to'](_0x2f854d),_0x18121d[_0x2e7e05(0x1e8)](_0x2e7e05(0x253))['to'](this[_0x2e7e05(0x1d7)],'id',_0x314c11=>_0x2e7e05(0x221)===_0x314c11),this[_0x2e7e05(0x223)](_0x18121d,_0x2e7e05(0x1e0),()=>{const _0x136e9a=_0x2e7e05;_0x18121d[_0x136e9a(0x253)]?this[_0x136e9a(0x22a)]():_0x2f854d[_0x136e9a(0x1e0)]();}),_0x18121d;}[_0xed0db0(0x259)](){const _0x3ff28b=_0xed0db0,_0x1ecc13=this[_0x3ff28b(0x252)][_0x3ff28b(0x20e)][_0x3ff28b(0x1bf)](_0x5d827e);this[_0x3ff28b(0x1cf)]=new _0x5a3b7f(this[_0x3ff28b(0x252)][_0x3ff28b(0x232)],this[_0x3ff28b(0x23f)],this[_0x3ff28b(0x252)][_0x3ff28b(0x1f7)][_0x3ff28b(0x1bf)](_0x3ff28b(0x25b))),this[_0x3ff28b(0x1cf)]['on'](_0x3ff28b(0x25f),()=>{const _0x70084e=_0x3ff28b;this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x1c3)]||this[_0x70084e(0x1d7)][_0x70084e(0x1d5)][_0x70084e(0x22b)]();}),this[_0x3ff28b(0x1cf)][_0x3ff28b(0x1f8)][_0x3ff28b(0x204)][_0x3ff28b(0x248)]['on'](_0x3ff28b(0x1f2),()=>{const _0x5191c5=_0x3ff28b;this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x1c3)]||this[_0x5191c5(0x1d7)][_0x5191c5(0x1d5)][_0x5191c5(0x22b)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x1fd),()=>{const _0x2a9604=_0x3ff28b;_0x1ecc13[_0x2a9604(0x1e5)](this[_0x2a9604(0x22e)][_0x2a9604(0x1bb)]),this[_0x2a9604(0x22a)]();}),this[_0x3ff28b(0x223)](this[_0x3ff28b(0x1cf)],_0x3ff28b(0x24e),()=>{const _0x3b9e02=_0x3ff28b;_0x1ecc13[_0x3b9e02(0x24e)](this[_0x3b9e02(0x22e)][_0x3b9e02(0x1bb)]),this[_0x3b9e02(0x22a)]();}),this[_0x3ff28b(0x1ca)]();}[_0xed0db0(0x1ca)](){const _0x45ab8e=_0xed0db0,{locale:_0x46f501,ui:{ariaLiveAnnouncer:_0x51f354}}=this[_0x45ab8e(0x252)];this[_0x45ab8e(0x1cf)][_0x45ab8e(0x1e6)]['on'](_0x45ab8e(0x1e2),(_0x99c37,_0xf8a767,_0x2f8374)=>{const _0x3d5bc4=_0x45ab8e,_0x353185=this[_0x3d5bc4(0x22e)][_0x3d5bc4(0x1bb)];_0x2f8374?_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x257))):_0x353185&&_0x51f354[_0x3d5bc4(0x1ef)](_0x467e65(_0x46f501,_0x3d5bc4(0x23d),_0x353185),{'politeness':_0x3d5bc4(0x240),'isUnsafeHTML':!0x0});}),this[_0x45ab8e(0x1cf)]['on'](_0x45ab8e(0x1b2),(_0x5179d8,_0x1177d2,_0x366ddd)=>{const _0x44c9e3=_0x45ab8e;if(_0x366ddd){const _0x2a9a1c=this[_0x44c9e3(0x1cf)][_0x44c9e3(0x254)][_0x44c9e3(0x1dc)];_0x51f354[_0x44c9e3(0x1ef)](_0x467e65(_0x46f501,_0x44c9e3(0x227),_0x2a9a1c));}});}[_0xed0db0(0x215)](_0x396040){const _0x133f5b=_0xed0db0,_0x1d099d=this[_0x133f5b(0x220)][_0x133f5b(0x1bf)](_0x396040),_0x552e53=this[_0x133f5b(0x252)],_0x35bc82=_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x1cb)][_0x133f5b(0x21b)],_0x4423dc=_0x552e53[_0x133f5b(0x1b9)][_0x133f5b(0x1bf)](_0x133f5b(0x1cd)),_0x5cc2ae=_0x552e53[_0x133f5b(0x20e)][_0x133f5b(0x1bf)](_0x5d827e),_0x34cb64=''+(_0x1d099d[_0x133f5b(0x23e)]!==_0x32d7ff?_0x1d099d[_0x133f5b(0x237)]+':\x20':'')+_0x1d099d[_0x133f5b(0x24b)];if(!0x1!==_0x1d099d[_0x133f5b(0x22c)]&&_0x35bc82[_0x133f5b(0x21a)]){const _0x5335cd=_0x133307(_0x35bc82[_0x133f5b(0x23a)]())||_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x216)][_0x133f5b(0x256)](_0x35bc82);_0x552e53[_0x133f5b(0x228)][_0x133f5b(0x22f)](_0x592976=>{const _0x322bfd=_0x133f5b;_0x592976[_0x322bfd(0x1c2)](_0x5335cd,'in');});}_0x5cc2ae[_0x133f5b(0x244)](),_0x4423dc[_0x133f5b(0x1e0)](_0x1d099d[_0x133f5b(0x25c)],_0x34cb64,_0x133f5b(0x1d1)+_0x396040);}[_0xed0db0(0x20b)](_0xb6597c,_0x424754,_0xc9f471,_0xd26761){const _0x16f964=_0xed0db0,_0x327f8b=this[_0x16f964(0x252)],_0x17e62e=_0x327f8b[_0x16f964(0x232)],_0x5d2a31=new _0x484258(_0x17e62e),_0x3f5d0e=U(_0x327f8b,_0xc9f471)[_0x16f964(0x1b3)](_0x3787ae=>_0x3787ae[_0x16f964(0x1b9)][_0x16f964(0x25e)]);0x1===_0x3f5d0e[_0x16f964(0x25e)]?this[_0x16f964(0x211)]({'command':_0xb6597c,'commands':_0x3f5d0e[0x0][_0x16f964(0x1b9)],'parentMenuView':_0x424754,'onExecute':_0xd26761})[_0x16f964(0x217)](_0x20752a=>_0x5d2a31[_0x16f964(0x250)][_0x16f964(0x219)](_0x20752a)):_0x3f5d0e[_0x16f964(0x217)](({groupId:_0x418025,groupLabel:_0x4c372e,commands:_0x56e667})=>{const _0xd51e71=_0x16f964,_0x57d022=new _0xb8f339(_0x17e62e,_0x424754),_0x3945c7=new _0x1a6e2f(_0x17e62e),_0x3ac5da=new _0x484258(_0x17e62e),_0x529ee3=this[_0xd51e71(0x211)]({'command':_0xb6597c,'commands':_0x56e667,'parentMenuView':_0x3945c7,'onExecute':_0xd26761});_0x3945c7[_0xd51e71(0x1b5)][_0xd51e71(0x1eb)]({'label':_0x4c372e||_0x418025}),_0x3945c7[_0xd51e71(0x229)](_0xd51e71(0x1e0))['to'](_0x424754),_0x3ac5da[_0xd51e71(0x250)][_0xd51e71(0x249)](_0x529ee3),_0x3945c7[_0xd51e71(0x233)][_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3ac5da),_0x57d022[_0xd51e71(0x1b7)][_0xd51e71(0x219)](_0x3945c7),_0x5d2a31[_0xd51e71(0x250)][_0xd51e71(0x219)](_0x57d022);}),_0x424754[_0x16f964(0x233)][_0x16f964(0x1b7)][_0x16f964(0x219)](_0x5d2a31);}[_0xed0db0(0x211)]({command:_0x169644,commands:_0x40bc2e,parentMenuView:_0x1b9cd3,onExecute:_0x2be021}){const _0x111d7=_0xed0db0,_0x4e1e1e=this[_0x111d7(0x252)],_0x56aec1=_0x4e1e1e[_0x111d7(0x232)];return U(_0x4e1e1e,_0x40bc2e)[_0x111d7(0x1ed)](_0x436352=>{const _0x479c8e=_0x111d7,_0x2fffee=new _0xb8f339(_0x56aec1,_0x1b9cd3),_0x560895=new _0x3c03f4(_0x56aec1);return _0x560895[_0x479c8e(0x1eb)]({'label':_0x436352[_0x479c8e(0x24b)]}),_0x560895[_0x479c8e(0x229)](_0x479c8e(0x1e0))['to'](_0x1b9cd3),_0x560895['on'](_0x479c8e(0x1e0),()=>_0x2be021(_0x436352['id'])),_0x560895[_0x479c8e(0x1e8)](_0x479c8e(0x1cc))['to'](_0x169644,_0x479c8e(0x231),_0x3bf74d=>_0x3bf74d[_0x479c8e(0x24f)](_0x436352['id'])),_0x2fffee[_0x479c8e(0x1b7)][_0x479c8e(0x219)](_0x560895),_0x2fffee;});}}function T(_0xf11338,_0x2d5db3){const _0x5a3006=_0xed0db0;return void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0===_0x2d5db3[_0x5a3006(0x1c5)]?0x1:void 0x0===_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?-0x1:void 0x0!==_0xf11338[_0x5a3006(0x1c5)]&&void 0x0!==_0x2d5db3[_0x5a3006(0x1c5)]?_0xf11338[_0x5a3006(0x1c5)]-_0x2d5db3[_0x5a3006(0x1c5)]:0x0;}function U(_0x3798b9,_0x4c7efc){const _0x4d2d7a=_0xed0db0;_0x4c7efc[_0x4d2d7a(0x1d4)](T);const _0x4d19d2={},_0x1ba0d3=[];for(const _0xe8d075 of _0x4c7efc)if(void 0x0!==_0xe8d075[_0x4d2d7a(0x1c5)]){if(_0xe8d075[_0x4d2d7a(0x1c5)]in _0x4d19d2)throw new _0x44dbf3(_0x4d2d7a(0x1fb),_0x3798b9,{'conflictingDefinitions':[_0xe8d075,_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]]});_0x4d19d2[_0xe8d075[_0x4d2d7a(0x1c5)]]=_0xe8d075,_0x1ba0d3[_0x4d2d7a(0x260)](_0xe8d075[_0x4d2d7a(0x1c5)],0x0,_0xe8d075);}else _0x1ba0d3[_0x4d2d7a(0x1bd)](_0xe8d075);return _0x1ba0d3;}
23
+ const _0x99128=_0x1a92;(function(_0x40aefa,_0x1fd761){const _0x303528=_0x1a92,_0x3c03e9=_0x40aefa();while(!![]){try{const _0x2e50cf=-parseInt(_0x303528(0xd3))/0x1*(parseInt(_0x303528(0x84))/0x2)+parseInt(_0x303528(0x11c))/0x3+-parseInt(_0x303528(0xc4))/0x4+-parseInt(_0x303528(0xd0))/0x5+-parseInt(_0x303528(0xd4))/0x6+parseInt(_0x303528(0x125))/0x7*(parseInt(_0x303528(0x11d))/0x8)+-parseInt(_0x303528(0xec))/0x9*(parseInt(_0x303528(0x111))/0xa);if(_0x2e50cf===_0x1fd761)break;else _0x3c03e9['push'](_0x3c03e9['shift']());}catch(_0xa47256){_0x3c03e9['push'](_0x3c03e9['shift']());}}}(_0x51ad,0x4bc45));import{Plugin as _0x5782a2}from'ckeditor5/src/core.js';function _0x1a92(_0x2d81b2,_0x3527a7){const _0x51ad29=_0x51ad();return _0x1a92=function(_0x1a92f9,_0x142ad0){_0x1a92f9=_0x1a92f9-0x80;let _0x2fa4a4=_0x51ad29[_0x1a92f9];return _0x2fa4a4;},_0x1a92(_0x2d81b2,_0x3527a7);}import{IconMagicWand as _0x1d2529,IconRobotPencil as _0x50d794}from'ckeditor5/src/icons.js';import{first as _0x10acd5,CKEditorError as _0xdedca4}from'ckeditor5/src/utils.js';import{createDropdown as _0x3e2fbd,addMenuToDropdown as _0x386107,ButtonView as _0x556107,MenuBarMenuListItemButtonView as _0x3779a9,Dialog as _0x3dce9e,DialogViewPosition as _0x1db7a1,MenuBarMenuView as _0x337e20,MenuBarMenuListView as _0x908e98,MenuBarMenuListItemView as _0x17731e}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x56ed73,UNGROUPED_COMMANDS_GROUP_ID as _0x32534a}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3c4c62}from'./aiassistantediting.js';import{AIAdapter as _0x324ec0}from'./adapters/aiadapter.js';import{getTranslation as _0x4ae4f2}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x32b20e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fcfe0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x530bf2}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2df4cd}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';function _0x51ad(){const _0x466edd=['AI\x20Assistant','licenseKey','define','plugins','showUI','schema','polite','focus','110600xPRHAt','_initView','buttonView','delegate','editor','ai-commands-config-order-collision','comment','</p>','AIAssistantUI','panelView','queryView','1728330nKJGLw','3564928LENZrn','isCollapsed','push','groupId','init','requires','getSelectedBlocks','values','7gOcfuu','_getMenuBarGroupButtons','getRanges','_commandDefinitions','_showLicenseError','isOn','showFakeVisualSelection','update','_dialog','updateView','set','currentContext','aiLicenseKeyNotAllowed','isOfficialPlugin','hideFakeVisualSelection','1362BbeLaq','text','listenTo','view','tableOfContents','aiLicenseKeyInvalid','commands','_createAIAssistantUIButton','menuBar:aiAssistant','componentFactory','isEnabled','ai.assistant.contentAreaCssClass','updatePosition','Generated\x20content:\x20%0','buttons','_aiAdapter','change:isProcessing','forEach','replace','map','evaluationLimit','sort','AIAssistant','getLimitElement','splice','insertContentBelow','menuitemcheckbox','domainLimit','editing','trim','<p>','body','ck-ai-assistant-ui','change:enabledCommandsIds','change:value','once','children','_licenseKeyCheckInterval','_forceMarkersCopy','_uiCssClasses','config','copy','media','locale','source','_getResolvedCommandsDefinitions','ai.assistant.commands','pluginName','fire','includes','items','isFlat','ck-ai-assistant-button\x20','bind','DataTransfer','destroy','contentArea','announce','aiLicenseKeyExpired','\x20ck-ai-assistant-ui_theme','setSelection','_aiAssistantController','hideUI','expired','880276ssfCcV','featureNotAllowed','selection','INSERT','Error\x20during\x20AI\x20content\x20generation:\x20%0','isPremiumPlugin','aiLicenseKeyDomainLimit','prompt','model','groupLabel','show','aiLicenseKeyUsageLimit','218370TrXrHF','fieldView','AI\x20is\x20writing','155CTTHDQ','260802ZrJEuS','order','filter','addMany','aiLicenseKeyEvaluationLimit','showAIAssistant','getSelectedElement','invalid','errorView','execute','_populateMenuBarMenu','document','insertContent','REPLACE','aiLicenseKeyValid','hide','trialLimit','textAdapter','change:isError','_onExecute','render','custom','text/html','aiAssistant','243jEfzSd','menuView','ai.assistant.useTheme','ai.assistant.disabledElements','getData','replaceContent','command:','AI\x20Commands','_initAriaAiStatusChangeAnnouncements','from','aiLicenseKeyTrialLimit','ck-ai-commands-dropdown\x20','change','_formView','wasMoved','promptView','reset','get','label','EDITOR_TOP_SIDE','length','rawHtml','requiresContent','add','menuPanelClass','aiCommands','menuBar:aiCommands','enabledCommandsIds','usageLimit'];_0x51ad=function(){return _0x466edd;};return _0x51ad();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const O=globalThis[_0x99128(0xba)];import{ClipboardMarkersUtils as _0x2c973f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x35c322,ViewDataTransfer as _0x504261}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x5782a2{[_0x99128(0x10a)];[_0x99128(0xa9)];[_0x99128(0x12d)];[_0x99128(0xf9)];[_0x99128(0x93)];[_0x99128(0xc1)];[_0x99128(0xab)]='';static get[_0x99128(0xb3)](){const _0x4fcf52=_0x99128;return _0x4fcf52(0x119);}static get[_0x99128(0x82)](){return!0x0;}static get[_0x99128(0xc9)](){return!0x0;}static get[_0x99128(0x122)](){return[_0x2c973f,_0x3c4c62,_0x324ec0,_0x3dce9e];}constructor(_0x45b355){const _0x29b0c9=_0x99128;super(_0x45b355),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xef),[_0x29b0c9(0xae),_0x29b0c9(0x101),_0x29b0c9(0x88)]),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0x8f),''),_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0x10b)](_0x29b0c9(0xee),!0x0),this[_0x29b0c9(0xab)]=_0x29b0c9(0xa4)+(_0x45b355[_0x29b0c9(0xac)][_0x29b0c9(0xfd)](_0x29b0c9(0xee))?_0x29b0c9(0xbf):'');}[_0x99128(0x121)](){const _0x2e6ea1=_0x99128,{editor:_0xb27179}=this;this[_0x2e6ea1(0x93)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x324ec0),this[_0x2e6ea1(0x12d)]=_0xb27179[_0x2e6ea1(0x10c)][_0x2e6ea1(0xfd)](_0x3dce9e),this[_0x2e6ea1(0xf9)]=null,this[_0x2e6ea1(0x128)]=this[_0x2e6ea1(0xb1)]();const _0x5f5115=new _0x32b20e(_0xb27179,Array[_0x2e6ea1(0xf5)](this[_0x2e6ea1(0x128)][_0x2e6ea1(0x124)]()));_0xb27179[_0x2e6ea1(0x8a)][_0x2e6ea1(0x103)](_0x2e6ea1(0xd9),_0x5f5115),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x105),_0x35a57f=>{const _0x1d876c=_0x2e6ea1,_0x2a63b8=_0x3e2fbd(_0x35a57f);return _0x2a63b8[_0x1d876c(0x12f)]({'class':_0x1d876c(0xf7)+this[_0x1d876c(0xab)]}),_0x2a63b8[_0x1d876c(0x113)][_0x1d876c(0x12f)]({'label':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3)),'icon':_0x1d2529,'tooltip':!0x0}),_0x2a63b8['on'](_0x1d876c(0xdd),_0x6b007d=>this[_0x1d876c(0xe7)](_0x6b007d[_0x1d876c(0xb0)]['id'])),_0x386107(_0x2a63b8,_0xb27179['ui'][_0x1d876c(0x87)][_0x1d876c(0xa3)],function(_0x1f8416){const _0x3f7f34=_0x1d876c,_0x2263ed=_0x56ed73(_0x1f8416[_0x3f7f34(0xac)][_0x3f7f34(0xfd)](_0x3f7f34(0xb2)),_0x1f8416[_0x3f7f34(0xaf)]),_0x4bdd41=W(_0x1f8416,_0x2263ed)[_0x3f7f34(0xd6)](_0x5fae4f=>_0x5fae4f[_0x3f7f34(0x8a)][_0x3f7f34(0x100)]);if(0x1===_0x4bdd41[_0x3f7f34(0x100)])return W(_0x1f8416,_0x4bdd41[0x0][_0x3f7f34(0x8a)])[_0x3f7f34(0x97)](_0x5d55d8=>({'id':_0x5d55d8['id'],'label':_0x5d55d8[_0x3f7f34(0xfe)]}));return _0x4bdd41[_0x3f7f34(0x97)](_0x97af6d=>{const _0x172dc9=_0x3f7f34,{groupId:_0x2eaed3,groupLabel:_0x134d4c,commands:_0x1e44d8}=_0x97af6d,_0x494e33=W(_0x1f8416,_0x1e44d8)[_0x172dc9(0x97)](_0x215b99=>({'id':_0x215b99['id'],'label':_0x215b99[_0x172dc9(0xfe)]}));return{'id':_0x2eaed3,'menu':_0x134d4c||_0x2eaed3,'children':_0x494e33};});}(_0xb27179),{'ariaLabel':_0x4ae4f2(_0x35a57f,_0x1d876c(0xf3))}),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0x104)]=_0x1d876c(0xf7)+this[_0x1d876c(0xab)],_0x5f5115['on'](_0x1d876c(0xa5),_0x198547),_0x2a63b8[_0x1d876c(0xed)][_0x1d876c(0xa7)](_0x1d876c(0xe8),_0x198547),_0x2a63b8;function _0x198547(){const _0x1a5221=_0x1d876c;_0x2a63b8[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0x100)]>0x0;for(const _0x57f4f9 of _0x2a63b8[_0x1a5221(0xed)][_0x1a5221(0x92)])_0x57f4f9[_0x1a5221(0x8e)]=_0x5f5115[_0x1a5221(0x107)][_0x1a5221(0xb5)](_0x57f4f9['id']);}}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x106),_0x25531c=>{const _0x7d462=_0x2e6ea1,_0x39dd5a=new _0x337e20(_0x25531c);_0x39dd5a[_0x7d462(0x113)][_0x7d462(0x12f)]({'label':_0x4ae4f2(_0x25531c,_0x7d462(0xf3)),'icon':_0x1d2529}),_0x39dd5a[_0x7d462(0xb9)](_0x7d462(0x8e))['to'](_0x5f5115,_0x7d462(0x107),_0x77d1fd=>_0x77d1fd[_0x7d462(0x100)]>0x0);const _0x3778ab=_0x56ed73(_0xb27179[_0x7d462(0xac)][_0x7d462(0xfd)](_0x7d462(0xb2)),_0x25531c);return this[_0x7d462(0xde)](_0x5f5115,_0x39dd5a,_0x3778ab,_0x4a6e49=>this[_0x7d462(0xe7)](_0x4a6e49)),_0x39dd5a;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0xeb),()=>{const _0x39349c=_0x2e6ea1,_0x1c81ce=this[_0x39349c(0x8b)](_0x556107);return _0x1c81ce[_0x39349c(0x12f)]({'tooltip':!0x0,'class':_0x39349c(0xb8)+this[_0x39349c(0xab)]}),_0x1c81ce;}),_0xb27179['ui'][_0x2e6ea1(0x8d)][_0x2e6ea1(0x103)](_0x2e6ea1(0x8c),()=>{const _0x22863b=_0x2e6ea1,_0x4261ec=this[_0x22863b(0x8b)](_0x3779a9);return _0x4261ec[_0x22863b(0x12f)]({'role':_0x22863b(0x9e)}),_0x4261ec;}),this[_0x2e6ea1(0x10a)]=this[_0x2e6ea1(0x115)][_0x2e6ea1(0xac)][_0x2e6ea1(0xfd)](_0x2e6ea1(0x10a));const _0x14bad6=this[_0x2e6ea1(0x115)];this[_0x2e6ea1(0xa9)]=setInterval(()=>{const _0x47375a=_0x2e6ea1;let _0xf415a8;for(const _0x18d025 in _0x14bad6){const _0x415325=_0x18d025,_0x50cd0a=_0x14bad6[_0x415325];if(_0x47375a(0xe2)==_0x50cd0a||_0x47375a(0x89)==_0x50cd0a||_0x47375a(0xbe)==_0x50cd0a||_0x47375a(0xca)==_0x50cd0a||_0x47375a(0x81)==_0x50cd0a||_0x47375a(0xd8)==_0x50cd0a||_0x47375a(0xf6)==_0x50cd0a||_0x47375a(0xcf)==_0x50cd0a){delete _0x14bad6[_0x415325],_0xf415a8=_0x50cd0a,clearInterval(this[_0x47375a(0xa9)]),this[_0x47375a(0xa9)]=void 0x0;break;}}_0x47375a(0x89)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xdb)),_0x47375a(0xbe)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc3)),_0x47375a(0xca)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x9f)),_0x47375a(0x81)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xc5),_0x47375a(0x9a)),_0x47375a(0xd8)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x98)),_0x47375a(0xf6)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0xe4)),_0x47375a(0xcf)==_0xf415a8&&_0x14bad6[_0x47375a(0x129)](_0x47375a(0x108));},0x3e8);}[_0x99128(0xbb)](){const _0x9377d2=_0x99128;super[_0x9377d2(0xbb)](),this[_0x9377d2(0xa9)]&&clearInterval(this[_0x9377d2(0xa9)]);}[_0x99128(0x10d)](_0x24ae4b='',_0x516c75='',_0x2ff27a=_0x99128(0xe9)){const _0x2d5585=_0x99128,_0x25cbb0=this[_0x2d5585(0x115)],_0x453b65=_0x25cbb0[_0x2d5585(0xa0)][_0x2d5585(0x87)],_0x212409=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x3c4c62),_0x138e05=_0x25cbb0[_0x2d5585(0x10c)][_0x2d5585(0xfd)](_0x2c973f);_0x212409[_0x2d5585(0x12b)]();const _0x293a9c=new O(),_0x2b99fb=new ClipboardEvent(_0x2d5585(0xad),{'clipboardData':_0x293a9c}),_0x2f93b5=new _0x504261(_0x293a9c),_0x4fa0fd=new _0x35c322(_0x453b65,_0x2b99fb,{'dataTransfer':_0x2f93b5});_0x138e05[_0x2d5585(0xaa)](_0x2d5585(0x117),()=>{const _0x248b44=_0x2d5585;_0x453b65[_0x248b44(0xdf)][_0x248b44(0xb4)](_0x248b44(0xad),_0x4fa0fd);}),this[_0x2d5585(0xf9)]||(this[_0x2d5585(0x112)](),this[_0x2d5585(0xc1)]=new _0x1fcfe0(_0x25cbb0,this[_0x2d5585(0x93)][_0x2d5585(0xe5)],this[_0x2d5585(0xf9)]));let _0x160932=_0x2f93b5[_0x2d5585(0xf0)](_0x2d5585(0xea));const _0x27451e=_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)],_0x532a95=Array[_0x2d5585(0xf5)](_0x27451e[_0x2d5585(0x127)]());0x1===_0x532a95[_0x2d5585(0x100)]&&_0x532a95[0x0][_0x2d5585(0xb7)]&&!_0x27451e[_0x2d5585(0xda)]()&&''!==_0x160932[_0x2d5585(0x96)](/&nbsp;/g,'')[_0x2d5585(0xa1)]()&&(_0x160932=_0x2d5585(0xa2)+_0x160932+_0x2d5585(0x118)),this[_0x2d5585(0xc1)][_0x2d5585(0x12e)]({'actionId':_0x2ff27a,'query':_0x24ae4b,'htmlContent':_0x160932,'label':_0x516c75,'mainActionLabel':_0x2df4cd[_0x25cbb0[_0x2d5585(0xcc)][_0x2d5585(0xdf)][_0x2d5585(0xc6)][_0x2d5585(0x11e)]?_0x2d5585(0xc7):_0x2d5585(0xe1)]}),_0x2d5585(0xeb)!==this[_0x2d5585(0x12d)]['id']?this[_0x2d5585(0x12d)][_0x2d5585(0xce)]({'id':_0x2d5585(0xeb),'icon':_0x50d794,'title':_0x4ae4f2(this[_0x2d5585(0x115)][_0x2d5585(0xaf)],_0x2d5585(0x109)),'content':this[_0x2d5585(0xf9)],'position':_0x1db7a1[_0x2d5585(0xff)],'onShow':()=>{const _0x3fcf8e=_0x2d5585;this[_0x3fcf8e(0xf9)][_0x3fcf8e(0x110)]();},'onHide':()=>{const _0x4a0ffc=_0x2d5585;this[_0x4a0ffc(0xc1)][_0x4a0ffc(0xfc)](),_0x212409[_0x4a0ffc(0x83)]();}}):this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0xfa)]||this[_0x2d5585(0x12d)][_0x2d5585(0x87)][_0x2d5585(0x90)]();}[_0x99128(0xc2)](){const _0x171f2b=_0x99128;this[_0x171f2b(0x12d)][_0x171f2b(0xe3)]();}[_0x99128(0xb1)](){const _0xc316c0=_0x99128,_0x480074=new Map(),_0x1e40a8=_0x56ed73(this[_0xc316c0(0x115)][_0xc316c0(0xac)][_0xc316c0(0xfd)](_0xc316c0(0xb2)),this[_0xc316c0(0x115)][_0xc316c0(0xaf)]);for(const _0x5cbf98 of _0x1e40a8)for(const _0x4f70c1 of _0x5cbf98[_0xc316c0(0x8a)])_0x480074[_0xc316c0(0x12f)](_0x4f70c1['id'],{..._0x4f70c1,'groupId':_0x5cbf98[_0xc316c0(0x120)],'groupLabel':_0x5cbf98[_0xc316c0(0xcd)]||_0x5cbf98[_0xc316c0(0x120)]});return _0x480074;}[_0x99128(0x8b)](_0xc2e424){const _0x2952c6=_0x99128,_0x50217c=this[_0x2952c6(0x115)],_0x36b3dc=_0x50217c[_0x2952c6(0x8a)][_0x2952c6(0xfd)](_0x2952c6(0xd9)),_0x24eb97=new _0xc2e424(_0x50217c[_0x2952c6(0xaf)]);return _0x24eb97[_0x2952c6(0x12f)]({'label':_0x4ae4f2(_0x50217c[_0x2952c6(0xaf)],_0x2952c6(0x109)),'icon':_0x50d794,'isToggleable':!0x0}),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x8e))['to'](_0x36b3dc),_0x24eb97[_0x2952c6(0xb9)](_0x2952c6(0x12a))['to'](this[_0x2952c6(0x12d)],'id',_0x123304=>_0x2952c6(0xeb)===_0x123304),this[_0x2952c6(0x86)](_0x24eb97,_0x2952c6(0xdd),()=>{const _0x95e36d=_0x2952c6;_0x24eb97[_0x95e36d(0x12a)]?this[_0x95e36d(0xc2)]():_0x36b3dc[_0x95e36d(0xdd)]();}),_0x24eb97;}[_0x99128(0x112)](){const _0x2a80db=_0x99128,_0x31f730=this[_0x2a80db(0x115)][_0x2a80db(0x10c)][_0x2a80db(0xfd)](_0x3c4c62);this[_0x2a80db(0xf9)]=new _0x530bf2(this[_0x2a80db(0x115)][_0x2a80db(0xaf)],this[_0x2a80db(0xab)],this[_0x2a80db(0x115)][_0x2a80db(0xac)][_0x2a80db(0xfd)](_0x2a80db(0x8f))),this[_0x2a80db(0xf9)]['on'](_0x2a80db(0xa6),()=>{const _0x49bd01=_0x2a80db;this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0xfa)]||this[_0x49bd01(0x12d)][_0x49bd01(0x87)][_0x49bd01(0x90)]();}),this[_0x2a80db(0xf9)][_0x2a80db(0xfb)][_0x2a80db(0x11b)][_0x2a80db(0xd1)]['on'](_0x2a80db(0x12c),()=>{const _0x3c9181=_0x2a80db;this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0xfa)]||this[_0x3c9181(0x12d)][_0x3c9181(0x87)][_0x3c9181(0x90)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0xf1),()=>{const _0x2442f8=_0x2a80db;_0x31f730[_0x2442f8(0xe0)](this[_0x2442f8(0xc1)][_0x2442f8(0x80)]),this[_0x2442f8(0xc2)]();}),this[_0x2a80db(0x86)](this[_0x2a80db(0xf9)],_0x2a80db(0x9d),()=>{const _0x4bcd3e=_0x2a80db;_0x31f730[_0x4bcd3e(0x9d)](this[_0x4bcd3e(0xc1)][_0x4bcd3e(0x80)]),this[_0x4bcd3e(0xc2)]();}),this[_0x2a80db(0xf4)]();}[_0x99128(0xf4)](){const _0x57303a=_0x99128,{locale:_0x35642f,ui:{ariaLiveAnnouncer:_0x11e542}}=this[_0x57303a(0x115)];this[_0x57303a(0xf9)][_0x57303a(0xbc)]['on'](_0x57303a(0x94),(_0x32d71a,_0x688caf,_0x136f38)=>{const _0x3be1f7=_0x57303a,_0x577ad9=this[_0x3be1f7(0xc1)][_0x3be1f7(0x80)];_0x136f38?_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0xd2))):_0x577ad9&&_0x11e542[_0x3be1f7(0xbd)](_0x4ae4f2(_0x35642f,_0x3be1f7(0x91),_0x577ad9),{'politeness':_0x3be1f7(0x10f),'isUnsafeHTML':!0x0});}),this[_0x57303a(0xf9)]['on'](_0x57303a(0xe6),(_0x4aee58,_0x3cbc9a,_0x379c05)=>{const _0xc8054a=_0x57303a;if(_0x379c05){const _0x2dbe8d=this[_0xc8054a(0xf9)][_0xc8054a(0xdc)][_0xc8054a(0x85)];_0x11e542[_0xc8054a(0xbd)](_0x4ae4f2(_0x35642f,_0xc8054a(0xc8),_0x2dbe8d));}});}[_0x99128(0xe7)](_0x361a8b){const _0x322417=_0x99128,_0x42f282=this[_0x322417(0x128)][_0x322417(0xfd)](_0x361a8b),_0x4ac251=this[_0x322417(0x115)],_0x5a23ec=_0x4ac251[_0x322417(0xcc)][_0x322417(0xdf)][_0x322417(0xc6)],_0x32261e=_0x4ac251[_0x322417(0x8a)][_0x322417(0xfd)](_0x322417(0xd9)),_0x575d67=_0x4ac251[_0x322417(0x10c)][_0x322417(0xfd)](_0x3c4c62),_0x289faa=''+(_0x42f282[_0x322417(0x120)]!==_0x32534a?_0x42f282[_0x322417(0xcd)]+':\x20':'')+_0x42f282[_0x322417(0xfe)];if(!0x1!==_0x42f282[_0x322417(0x102)]&&_0x5a23ec[_0x322417(0x11e)]){const _0x12b8a7=_0x10acd5(_0x5a23ec[_0x322417(0x123)]())||_0x4ac251[_0x322417(0xcc)][_0x322417(0x10e)][_0x322417(0x9b)](_0x5a23ec);_0x4ac251[_0x322417(0xcc)][_0x322417(0xf8)](_0x2a297f=>{const _0x37cc29=_0x322417;_0x2a297f[_0x37cc29(0xc0)](_0x12b8a7,'in');});}_0x575d67[_0x322417(0x12b)](),_0x32261e[_0x322417(0xdd)](_0x42f282[_0x322417(0xcb)],_0x289faa,_0x322417(0xf2)+_0x361a8b);}[_0x99128(0xde)](_0x4eb3a4,_0xa5081b,_0x3c11b3,_0x11cffe){const _0x529b04=_0x99128,_0xd010c1=this[_0x529b04(0x115)],_0x4d7cd7=_0xd010c1[_0x529b04(0xaf)],_0x1b5897=new _0x908e98(_0x4d7cd7),_0x8649fa=W(_0xd010c1,_0x3c11b3)[_0x529b04(0xd6)](_0x58f419=>_0x58f419[_0x529b04(0x8a)][_0x529b04(0x100)]);0x1===_0x8649fa[_0x529b04(0x100)]?this[_0x529b04(0x126)]({'command':_0x4eb3a4,'commands':_0x8649fa[0x0][_0x529b04(0x8a)],'parentMenuView':_0xa5081b,'onExecute':_0x11cffe})[_0x529b04(0x95)](_0x4f58d1=>_0x1b5897[_0x529b04(0xb6)][_0x529b04(0x103)](_0x4f58d1)):_0x8649fa[_0x529b04(0x95)](({groupId:_0x5e24d3,groupLabel:_0x3d1734,commands:_0x489e46})=>{const _0x340e77=_0x529b04,_0x30a507=new _0x17731e(_0x4d7cd7,_0xa5081b),_0x580168=new _0x337e20(_0x4d7cd7),_0x11ce43=new _0x908e98(_0x4d7cd7),_0x3c07b9=this[_0x340e77(0x126)]({'command':_0x4eb3a4,'commands':_0x489e46,'parentMenuView':_0x580168,'onExecute':_0x11cffe});_0x580168[_0x340e77(0x113)][_0x340e77(0x12f)]({'label':_0x3d1734||_0x5e24d3}),_0x580168[_0x340e77(0x114)](_0x340e77(0xdd))['to'](_0xa5081b),_0x11ce43[_0x340e77(0xb6)][_0x340e77(0xd7)](_0x3c07b9),_0x580168[_0x340e77(0x11a)][_0x340e77(0xa8)][_0x340e77(0x103)](_0x11ce43),_0x30a507[_0x340e77(0xa8)][_0x340e77(0x103)](_0x580168),_0x1b5897[_0x340e77(0xb6)][_0x340e77(0x103)](_0x30a507);}),_0xa5081b[_0x529b04(0x11a)][_0x529b04(0xa8)][_0x529b04(0x103)](_0x1b5897);}[_0x99128(0x126)]({command:_0x3aafdf,commands:_0x336379,parentMenuView:_0x34afac,onExecute:_0x11a82c}){const _0x292c0a=_0x99128,_0x2bd733=this[_0x292c0a(0x115)],_0x228c33=_0x2bd733[_0x292c0a(0xaf)];return W(_0x2bd733,_0x336379)[_0x292c0a(0x97)](_0x298e01=>{const _0xcdb24a=_0x292c0a,_0x342ff1=new _0x17731e(_0x228c33,_0x34afac),_0x166751=new _0x3779a9(_0x228c33);return _0x166751[_0xcdb24a(0x12f)]({'label':_0x298e01[_0xcdb24a(0xfe)]}),_0x166751[_0xcdb24a(0x114)](_0xcdb24a(0xdd))['to'](_0x34afac),_0x166751['on'](_0xcdb24a(0xdd),()=>_0x11a82c(_0x298e01['id'])),_0x166751[_0xcdb24a(0xb9)](_0xcdb24a(0x8e))['to'](_0x3aafdf,_0xcdb24a(0x107),_0x2048fe=>_0x2048fe[_0xcdb24a(0xb5)](_0x298e01['id'])),_0x342ff1[_0xcdb24a(0xa8)][_0xcdb24a(0x103)](_0x166751),_0x342ff1;});}}function Q(_0x56c350,_0xf1c416){const _0x5745b0=_0x99128;return void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0===_0xf1c416[_0x5745b0(0xd5)]?0x1:void 0x0===_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?-0x1:void 0x0!==_0x56c350[_0x5745b0(0xd5)]&&void 0x0!==_0xf1c416[_0x5745b0(0xd5)]?_0x56c350[_0x5745b0(0xd5)]-_0xf1c416[_0x5745b0(0xd5)]:0x0;}function W(_0x5363d9,_0x36323e){const _0x596cab=_0x99128;_0x36323e[_0x596cab(0x99)](Q);const _0x4fc8b4={},_0x54d46a=[];for(const _0xa39683 of _0x36323e)if(void 0x0!==_0xa39683[_0x596cab(0xd5)]){if(_0xa39683[_0x596cab(0xd5)]in _0x4fc8b4)throw new _0xdedca4(_0x596cab(0x116),_0x5363d9,{'conflictingDefinitions':[_0xa39683,_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]]});_0x4fc8b4[_0xa39683[_0x596cab(0xd5)]]=_0xa39683,_0x54d46a[_0x596cab(0x9c)](_0xa39683[_0x596cab(0xd5)],0x0,_0xa39683);}else _0x54d46a[_0x596cab(0x11f)](_0xa39683);return _0x54d46a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x35778b,_0x5387fc){var _0x2039cb=_0x3e26,_0x10f64d=_0x35778b();while(!![]){try{var _0x5b7006=-parseInt(_0x2039cb(0x7f))/0x1+-parseInt(_0x2039cb(0x76))/0x2+-parseInt(_0x2039cb(0x75))/0x3*(parseInt(_0x2039cb(0x79))/0x4)+parseInt(_0x2039cb(0x7e))/0x5*(parseInt(_0x2039cb(0x78))/0x6)+parseInt(_0x2039cb(0x7c))/0x7+-parseInt(_0x2039cb(0x7b))/0x8*(-parseInt(_0x2039cb(0x77))/0x9)+parseInt(_0x2039cb(0x7d))/0xa*(parseInt(_0x2039cb(0x7a))/0xb);if(_0x5b7006===_0x5387fc)break;else _0x10f64d['push'](_0x10f64d['shift']());}catch(_0x52bba0){_0x10f64d['push'](_0x10f64d['shift']());}}}(_0x3d81,0x6e56f));import{CKEditorError as _0x4a37a4}from'ckeditor5/src/utils.js';function _0x3e26(_0x5c3d08,_0x381bb){var _0x3d8107=_0x3d81();return _0x3e26=function(_0x3e2618,_0x133f25){_0x3e2618=_0x3e2618-0x75;var _0xcb9db5=_0x3d8107[_0x3e2618];return _0xcb9db5;},_0x3e26(_0x5c3d08,_0x381bb);}function _0x3d81(){var _0x1d5360=['741062apNgYX','5364150wcfxpd','210MUXZsZ','740108mutMbp','6873JvTKHf','1343666dRXBLU','1539CLmwTT','119856HXZdsG','236xwTsMg','11zOsnyH','24224LitRuw'];_0x3d81=function(){return _0x1d5360;};return _0x3d81();}
23
+ (function(_0x29ed29,_0x58fed7){var _0x322cbc=_0x4eb5,_0xccc5d=_0x29ed29();while(!![]){try{var _0x68064d=-parseInt(_0x322cbc(0x153))/0x1+parseInt(_0x322cbc(0x155))/0x2+parseInt(_0x322cbc(0x14f))/0x3+parseInt(_0x322cbc(0x150))/0x4+parseInt(_0x322cbc(0x151))/0x5*(parseInt(_0x322cbc(0x154))/0x6)+-parseInt(_0x322cbc(0x152))/0x7*(-parseInt(_0x322cbc(0x14e))/0x8)+-parseInt(_0x322cbc(0x156))/0x9;if(_0x68064d===_0x58fed7)break;else _0xccc5d['push'](_0xccc5d['shift']());}catch(_0x280ddd){_0xccc5d['push'](_0xccc5d['shift']());}}}(_0x14d5,0x40067));import{CKEditorError as _0x354a5c}from'ckeditor5/src/utils.js';function _0x4eb5(_0x17e361,_0x24fc06){var _0x14d5b3=_0x14d5();return _0x4eb5=function(_0x4eb55d,_0x581e19){_0x4eb55d=_0x4eb55d-0x14e;var _0x4741c5=_0x14d5b3[_0x4eb55d];return _0x4741c5;},_0x4eb5(_0x17e361,_0x24fc06);}function _0x14d5(){var _0x345441=['256124tELAZm','372858pNbapZ','277338FRdMsO','10087875RYpMWD','8ySCbdG','1336920Kibjqg','955112MVcORY','35KNACRW','2668106jefpLz'];_0x14d5=function(){return _0x345441;};return _0x14d5();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31c39=_0x1bb2;function _0x1bb2(_0x419aa7,_0x450be5){const _0x5852c7=_0x5852();return _0x1bb2=function(_0x1bb2eb,_0x2c74a4){_0x1bb2eb=_0x1bb2eb-0x11d;let _0x19e252=_0x5852c7[_0x1bb2eb];return _0x19e252;},_0x1bb2(_0x419aa7,_0x450be5);}(function(_0x59b57a,_0x256f99){const _0x140a39=_0x1bb2,_0x461835=_0x59b57a();while(!![]){try{const _0x50e6aa=parseInt(_0x140a39(0x144))/0x1+-parseInt(_0x140a39(0x17c))/0x2*(parseInt(_0x140a39(0x17a))/0x3)+parseInt(_0x140a39(0x15a))/0x4*(parseInt(_0x140a39(0x129))/0x5)+-parseInt(_0x140a39(0x130))/0x6+parseInt(_0x140a39(0x11f))/0x7*(parseInt(_0x140a39(0x166))/0x8)+-parseInt(_0x140a39(0x13a))/0x9+-parseInt(_0x140a39(0x165))/0xa*(-parseInt(_0x140a39(0x15d))/0xb);if(_0x50e6aa===_0x256f99)break;else _0x461835['push'](_0x461835['shift']());}catch(_0x3e1dac){_0x461835['push'](_0x461835['shift']());}}}(_0x5852,0x65b1e));import{ObservableMixin as _0x53c574}from'ckeditor5/src/utils.js';import{AIRequestError as _0x13dcef}from'../adapters/aiadapter.js';import{Matcher as _0x32541f,ViewUpcastWriter as _0x1a477d}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x53c574(){[_0x31c39(0x15b)];[_0x31c39(0x176)];[_0x31c39(0x16d)];[_0x31c39(0x12c)];[_0x31c39(0x128)];[_0x31c39(0x175)];constructor(_0x4a191c,_0x3bee05,_0x2b55d8){const _0x7ec3b2=_0x31c39;super(),this[_0x7ec3b2(0x15b)]=_0x4a191c,this[_0x7ec3b2(0x176)]=_0x3bee05,this[_0x7ec3b2(0x12c)]=document[_0x7ec3b2(0x120)](_0x7ec3b2(0x121)),this[_0x7ec3b2(0x128)]=new DOMParser(),this[_0x7ec3b2(0x175)]=new XMLSerializer(),this[_0x7ec3b2(0x16d)]=_0x2b55d8,this[_0x7ec3b2(0x17f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x7ec3b2(0x11e),(_0x27c564,_0x596193,_0x103cdf)=>{const _0x5d8ade=_0x7ec3b2;this[_0x5d8ade(0x16d)][_0x5d8ade(0x127)]=this[_0x5d8ade(0x123)](_0x103cdf);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x125),(_0x5b1923,_0x25bda8)=>{const _0x170f9d=_0x7ec3b2,_0x571a0b=this[_0x170f9d(0x163)]||this[_0x170f9d(0x180)];this[_0x170f9d(0x12e)](_0x25bda8,_0x571a0b,_0x170f9d(0x155));}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x14a),()=>{const _0x3bdf85=_0x7ec3b2;this[_0x3bdf85(0x16d)][_0x3bdf85(0x17d)]=this[_0x3bdf85(0x179)],this[_0x3bdf85(0x12e)](this[_0x3bdf85(0x172)],this[_0x3bdf85(0x167)],this[_0x3bdf85(0x14f)],this[_0x3bdf85(0x179)]);}),this[_0x7ec3b2(0x17b)](this[_0x7ec3b2(0x16d)],_0x7ec3b2(0x153),()=>{const _0x47161e=_0x7ec3b2;this[_0x47161e(0x153)]();});}[_0x31c39(0x13b)](){const _0x5f31ef=_0x31c39;this[_0x5f31ef(0x146)]();}async[_0x31c39(0x171)]({actionId:_0x3cb945,query:_0x8e40ea,htmlContent:_0x5615f2,label:_0x52ae67,mainActionLabel:_0x2fa745}){const _0x143ef1=_0x31c39;this[_0x143ef1(0x16d)][_0x143ef1(0x17d)]=_0x52ae67,this[_0x143ef1(0x16d)][_0x143ef1(0x16b)]=_0x2fa745,this[_0x143ef1(0x180)]=_0x5615f2,_0x8e40ea&&(this[_0x143ef1(0x16d)][_0x143ef1(0x14e)]?this[_0x143ef1(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67):this[_0x143ef1(0x16d)][_0x143ef1(0x12d)](_0x143ef1(0x13e),()=>{const _0x9d989a=_0x143ef1;this[_0x9d989a(0x12e)](_0x8e40ea,_0x5615f2,_0x3cb945,_0x52ae67);}));}[_0x31c39(0x153)](){const _0x2c1fda=_0x31c39;this[_0x2c1fda(0x17e)]&&(this[_0x2c1fda(0x17e)]=!0x1,this[_0x2c1fda(0x16d)][_0x2c1fda(0x14c)](),this[_0x2c1fda(0x176)][_0x2c1fda(0x15e)]());}[_0x31c39(0x15f)](){const _0xf696bd=_0x31c39;this[_0xf696bd(0x180)]='',this[_0xf696bd(0x163)]='',this[_0xf696bd(0x13d)]='',this[_0xf696bd(0x167)]='',this[_0xf696bd(0x172)]='',this[_0xf696bd(0x179)]='',this[_0xf696bd(0x14f)]=void 0x0,this[_0xf696bd(0x16d)][_0xf696bd(0x15f)](),this[_0xf696bd(0x153)]();}async[_0x31c39(0x12e)](_0x498295,_0x37f991,_0x55c284,_0x31f7f9){const _0x778e88=_0x31c39;return this[_0x778e88(0x17e)]=!0x0,this[_0x778e88(0x16d)][_0x778e88(0x16a)](),this[_0x778e88(0x167)]=_0x37f991,this[_0x778e88(0x172)]=_0x498295,this[_0x778e88(0x179)]=_0x31f7f9||_0x498295,this[_0x778e88(0x14f)]=_0x55c284,new Promise(_0x52f48c=>{const _0x3687fc=_0x778e88;this[_0x3687fc(0x176)][_0x3687fc(0x174)]({'query':_0x498295,'context':_0x37f991,'onData':_0x4286ea=>{const _0xa51bec=_0x3687fc;this[_0xa51bec(0x13d)]=_0x4286ea,this[_0xa51bec(0x163)]=this[_0xa51bec(0x135)](this[_0xa51bec(0x13d)]);},'actionId':_0x55c284})[_0x3687fc(0x137)](()=>{const _0x405920=_0x3687fc;!this[_0x405920(0x163)]&&this[_0x405920(0x13d)]&&(this[_0x405920(0x163)]=this[_0x405920(0x135)](this[_0x405920(0x13d)],!0x0));})[_0x3687fc(0x136)](_0x16cdf9=>{const _0x4aaa88=_0x3687fc;_0x16cdf9 instanceof _0x13dcef?this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](_0x16cdf9[_0x4aaa88(0x147)]):this[_0x4aaa88(0x16d)][_0x4aaa88(0x134)](),_0x52f48c();})[_0x3687fc(0x160)](()=>{const _0x45ce09=_0x3687fc;this[_0x45ce09(0x153)](),_0x52f48c();});});}[_0x31c39(0x135)](_0x5eef6f,_0x27d469=!0x1){const _0x1bf47c=_0x31c39,_0x39561a=hs[_0x1bf47c(0x16e)](_0x5eef6f);_0x5eef6f=_0x39561a?_0x5eef6f[_0x1bf47c(0x170)](_0x39561a[0x1][_0x1bf47c(0x12f)]):_0x5eef6f[_0x1bf47c(0x12f)]<0x64&&!_0x27d469?'':this[_0x1bf47c(0x168)](_0x5eef6f);const _0x399212=this[_0x1bf47c(0x128)][_0x1bf47c(0x13c)](_0x5eef6f,_0x1bf47c(0x14b));if(_0x39561a){const _0x44f4a2=Array[_0x1bf47c(0x138)](_0x399212[_0x1bf47c(0x132)][_0x1bf47c(0x15c)]);_0x44f4a2[_0x1bf47c(0x124)]();for(const _0x315df0 of _0x44f4a2){if(_0x315df0[_0x1bf47c(0x169)]==Node[_0x1bf47c(0x122)])break;_0x315df0[_0x1bf47c(0x12b)]();}}const _0x10711f=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x162)][_0x1bf47c(0x159)](this[_0x1bf47c(0x175)][_0x1bf47c(0x177)](_0x399212[_0x1bf47c(0x132)]));this[_0x1bf47c(0x161)]()||this[_0x1bf47c(0x178)](_0x10711f);const _0xf72bf=this[_0x1bf47c(0x15b)][_0x1bf47c(0x149)][_0x1bf47c(0x12a)](_0x1bf47c(0x158)),_0x39c523=this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x156)](_0x10711f);return _0xf72bf||_0x39c523[_0x1bf47c(0x148)][_0x1bf47c(0x181)](),this[_0x1bf47c(0x15b)][_0x1bf47c(0x157)][_0x1bf47c(0x143)](_0x39c523);}[_0x31c39(0x178)](_0xc42a97){const _0x4d01df=_0x31c39,_0x98c001=new _0x1a477d(this[_0x4d01df(0x15b)][_0x4d01df(0x13f)][_0x4d01df(0x16d)][_0x4d01df(0x133)]),_0x381f4a=new _0x32541f({'name':/^h[1-5]$/}),_0x1a867c=[];let _0x49c911=!0x1;for(const _0x539744 of _0xc42a97)_0x539744['is'](_0x4d01df(0x152))&&_0x381f4a[_0x4d01df(0x16c)](_0x539744)&&(_0x1a867c[_0x4d01df(0x139)](_0x539744),'h1'==_0x539744[_0x4d01df(0x150)]&&(_0x49c911=!0x0));if(_0x49c911){for(const _0x4d93a2 of _0x1a867c)_0x98c001[_0x4d01df(0x11d)]('h'+(parseInt(_0x4d93a2[_0x4d01df(0x150)][0x1])+0x1),_0x4d93a2);}}[_0x31c39(0x161)](){const _0x2b4561=_0x31c39,{data:_0x45419c,editing:_0x1b1825}=this[_0x2b4561(0x15b)],_0x2e3d8d=_0x45419c[_0x2b4561(0x16f)][_0x2b4561(0x159)](_0x2b4561(0x173)),_0x360fa7=_0x45419c[_0x2b4561(0x159)](_0x45419c[_0x2b4561(0x156)](_0x2e3d8d));return!!_0x1b1825[_0x2b4561(0x16d)][_0x2b4561(0x131)][_0x2b4561(0x140)](_0x360fa7)[_0x2b4561(0x126)]('h1');}[_0x31c39(0x123)](_0x4f80b2){const _0x59cc2e=_0x31c39;return this[_0x59cc2e(0x15b)][_0x59cc2e(0x13f)][_0x59cc2e(0x16d)][_0x59cc2e(0x131)][_0x59cc2e(0x154)](this[_0x59cc2e(0x12c)],_0x4f80b2),this[_0x59cc2e(0x12c)][_0x59cc2e(0x142)];}[_0x31c39(0x168)](_0x1a41b5){const _0xb2964d=_0x31c39,_0x94a201=_0x1a41b5[_0xb2964d(0x151)]();return _0x94a201[_0xb2964d(0x14d)](_0xb2964d(0x141))?_0x94a201[_0xb2964d(0x164)](_0xb2964d(0x145))?_0x94a201[_0xb2964d(0x170)](0x7,_0x94a201[_0xb2964d(0x12f)]-0x3):_0x94a201[_0xb2964d(0x170)](0x7):_0x1a41b5;}}function _0x5852(){const _0x294746=['reset','finally','_isH1TagSupportEnabled','processor','currentContext','endsWith','19430zqTfUt','27704HmxroX','previousContext','_stripMarkdownSyntax','nodeType','startProcessing','mainAction','match','view','exec','htmlProcessor','substring','updateView','previousQuery','<h1></h1>','makeRequest','_xmlSerializer','textAdapter','serializeToString','_normalizeResponseHeadings','previousLabel','6pbvQth','listenTo','264202WaOaqo','prompt','isProcessing','set','initialContext','clear','rename','set:currentContext','203zYOiBL','createElement','div','ELEMENT_NODE','_sanitizeHTML','reverse','submitPrompt','querySelector','value','_domParser','3590CQvdEe','get','remove','_sanitizationContainer','once','_handleQuery','length','3019548SwWhbi','domConverter','body','document','handleError','_parseAndNormalizeContent','catch','then','from','push','1064538tYUKAX','destroy','parseFromString','currentResponse','render','editing','viewToDom','```html','innerHTML','stringify','694609HfxuYq','```','stopListening','message','markers','config','tryAgainEvent','text/html','finishProcessing','startsWith','isRendered','previousActionId','name','trim','element','stopProcessing','setContentOf','custom','toModel','data','ai.assistant.preserveComments','toView','2696yYlIdL','editor','childNodes','132yYTxFp','abort'];_0x5852=function(){return _0x294746;};return _0x5852();}
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 _0x557356=_0x199f;(function(_0x31abe4,_0xca49c0){const _0x3fd41f=_0x199f,_0x242fae=_0x31abe4();while(!![]){try{const _0x3dcd41=-parseInt(_0x3fd41f(0x1f3))/0x1+-parseInt(_0x3fd41f(0x1eb))/0x2+-parseInt(_0x3fd41f(0x1e9))/0x3*(-parseInt(_0x3fd41f(0x220))/0x4)+parseInt(_0x3fd41f(0x222))/0x5+parseInt(_0x3fd41f(0x1fd))/0x6+-parseInt(_0x3fd41f(0x20e))/0x7+parseInt(_0x3fd41f(0x20a))/0x8*(parseInt(_0x3fd41f(0x1e3))/0x9);if(_0x3dcd41===_0xca49c0)break;else _0x242fae['push'](_0x242fae['shift']());}catch(_0x5b1b31){_0x242fae['push'](_0x242fae['shift']());}}}(_0x3e17,0x74eb2));function _0x3e17(){const _0x37e5ca=['copyButtonView','smooth','555888rwGaHL','setContent','_createLoader','bindTemplate','_createCopyButton','render','ck-ai-form__content-area-wrapper','mousedown','AI\x20is\x20writing...','appendLoader','firstElementChild','body','textContent','60696HxrCCp','isEnabled','focus','setEndBefore','4687333RcVeJC','set','addRange','appendChild','left','loaderView','remove','value','isProcessing','ck-reset_all-excluded','ck-ai-form__content-area--processing','listenTo','style','createRange','clipboard','<span>]</span>','contentFieldView','<span>[</span>','12EKwlhG','absolute','2017355KBUSmo','change:value','createElement','text/plain','ck-ai-form__content-field','isVisible','-9999px','ck-content','position','\x20ck-ai-form__copy-button--copied','element','_copyHTMLToClipboard','getSelection','setTemplate','locale','scrollHeight','bind','execute','ck-ai-form__copy-button-wrapper','innerHTML','ck-ai-form__copy-button','1152dqnjQW','setStartAfter','Copy','scrollTo','.ck-ai-form__loader','copy','945501pzjitx','removeAllRanges','1183688lyDWwy','text/html','ClipboardItem','change:isProcessing','querySelector','lastElementChild','ck-ai-form__loader','ck-hidden','672395VrssNL','icon','write','wheel','class','execCommand','div','ck-ai-form__content-area'];_0x3e17=function(){return _0x37e5ca;};return _0x3e17();}import{global as _0x101b5f}from'ckeditor5/src/utils.js';import{View as _0x1994c7,ButtonView as _0xe4119a,SpinnerView as _0x26fcf3}from'ckeditor5/src/ui.js';function _0x199f(_0x57b534,_0x1a008f){const _0x3e1782=_0x3e17();return _0x199f=function(_0x199f8e,_0xa6f64c){_0x199f8e=_0x199f8e-0x1d7;let _0x326a38=_0x3e1782[_0x199f8e];return _0x326a38;},_0x199f(_0x57b534,_0x1a008f);}import{IconCheck as _0x48733f,IconCopy as _0x34479e}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e37e3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1994c7{[_0x557356(0x21e)];[_0x557356(0x1fb)];constructor(_0x33b920,_0x3cd633=''){const _0x18d9fb=_0x557356;super(_0x33b920),this[_0x18d9fb(0x20f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x22800a=this[_0x18d9fb(0x200)];this[_0x18d9fb(0x21e)]=new ContentFieldView(_0x33b920,_0x3cd633),this[_0x18d9fb(0x1fb)]=this[_0x18d9fb(0x201)](),this[_0x18d9fb(0x1db)]({'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x203),_0x22800a['if'](_0x18d9fb(0x227),_0x18d9fb(0x1f2),_0x32738d=>!_0x32738d)],'tabindex':'-1'},'children':[{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1fa),_0x22800a['if'](_0x18d9fb(0x216),_0x18d9fb(0x218))]},'children':[this[_0x18d9fb(0x21e)],{'tag':_0x18d9fb(0x1f9),'attributes':{'class':['ck',_0x18d9fb(0x1e0)]},'children':[this[_0x18d9fb(0x1fb)]]}]}]});}[_0x557356(0x202)](){const _0x2fad75=_0x557356;super[_0x2fad75(0x202)](),this[_0x2fad75(0x215)]&&this[_0x2fad75(0x21e)][_0x2fad75(0x1fe)](this[_0x2fad75(0x215)]);let _0x4d2aea=!0x1;this['on'](_0x2fad75(0x223),(_0x2de64e,_0x523757,_0x9f56b0)=>{const _0x2cd3ea=_0x2fad75,_0x134f17=!this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1ef)](_0x2cd3ea(0x1e7));this[_0x2cd3ea(0x21e)][_0x2cd3ea(0x1fe)](_0x9f56b0),this[_0x2cd3ea(0x216)]&&_0x134f17&&!_0x4d2aea&&this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1e6)]({'top':this[_0x2cd3ea(0x1d8)][_0x2cd3ea(0x1dd)],'behavior':_0x2cd3ea(0x1fc)});}),this['on'](_0x2fad75(0x1ee),(_0x170625,_0x2edae2,_0x1c4e1d)=>{const _0x4365a5=_0x2fad75;_0x4d2aea=!0x1,_0x1c4e1d?(this[_0x4365a5(0x215)]=null,this[_0x4365a5(0x21e)][_0x4365a5(0x206)]()):this[_0x4365a5(0x215)]||this[_0x4365a5(0x21e)][_0x4365a5(0x1fe)]('');}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x1f6),()=>{_0x4d2aea=!0x0;}),this[_0x2fad75(0x219)](this[_0x2fad75(0x1d8)],_0x2fad75(0x204),()=>{_0x4d2aea=!0x0;});}[_0x557356(0x20c)](){const _0x2093b4=_0x557356;this[_0x2093b4(0x1d8)][_0x2093b4(0x20c)]();}[_0x557356(0x201)](){const _0xf3bfdf=_0x557356,_0x5c00a5=this[_0xf3bfdf(0x1dc)],_0x8879d8=new _0xe4119a(this[_0xf3bfdf(0x1dc)]),_0x4c4a82=_0xf3bfdf(0x1e2);return _0x8879d8[_0xf3bfdf(0x20f)]({'label':_0x5e37e3(_0x5c00a5,_0xf3bfdf(0x1e5)),'icon':_0x34479e,'class':_0x4c4a82,'tooltip':!0x0}),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x227))['to'](this,_0xf3bfdf(0x215),_0x3f8c08=>!!_0x3f8c08),_0x8879d8[_0xf3bfdf(0x1de)](_0xf3bfdf(0x20b))['to'](this,_0xf3bfdf(0x216),_0x87129a=>!_0x87129a),_0x8879d8['on'](_0xf3bfdf(0x1df),()=>{const _0x47c7c8=_0xf3bfdf;this[_0x47c7c8(0x1d9)](this[_0x47c7c8(0x21e)][_0x47c7c8(0x1d8)]),_0x8879d8[_0x47c7c8(0x1f4)]=_0x48733f,_0x8879d8[_0x47c7c8(0x1f7)]=_0x4c4a82+_0x47c7c8(0x1d7),this[_0x47c7c8(0x20c)](),setTimeout(()=>{const _0x217210=_0x47c7c8;_0x8879d8[_0x217210(0x1f4)]=_0x34479e,_0x8879d8[_0x217210(0x1f7)]=_0x4c4a82;},0x3e8);}),_0x8879d8;}[_0x557356(0x1d9)](_0x179849){const _0x191971=_0x557356,{window:_0x18c07c,document:_0x6726ea}=_0x101b5f;if(_0x18c07c[_0x191971(0x1ed)]){const {Blob:_0xcb6dc8,ClipboardItem:_0x16ad7b}=_0x18c07c,_0x32e112=[new _0x16ad7b({'text/html':new _0xcb6dc8([_0x179849[_0x191971(0x1e1)]],{'type':_0x191971(0x1ec)}),'text/plain':new _0xcb6dc8([_0x179849[_0x191971(0x209)]||''],{'type':_0x191971(0x225)})})];navigator[_0x191971(0x21c)][_0x191971(0x1f5)](_0x32e112);}else{const _0x43fecc=_0x6726ea[_0x191971(0x224)](_0x191971(0x1f9));_0x43fecc[_0x191971(0x21a)][_0x191971(0x22a)]=_0x191971(0x221),_0x43fecc[_0x191971(0x21a)][_0x191971(0x212)]=_0x191971(0x228),_0x43fecc[_0x191971(0x1e1)]=_0x191971(0x21f)+_0x179849[_0x191971(0x1e1)]+_0x191971(0x21d),_0x6726ea[_0x191971(0x208)][_0x191971(0x211)](_0x43fecc);const _0x5517bf=_0x6726ea[_0x191971(0x21b)]();_0x5517bf[_0x191971(0x1e4)](_0x43fecc[_0x191971(0x207)]),_0x5517bf[_0x191971(0x20d)](_0x43fecc[_0x191971(0x1f0)]);const _0x4523d6=_0x18c07c[_0x191971(0x1da)]();_0x4523d6[_0x191971(0x1ea)](),_0x4523d6[_0x191971(0x210)](_0x5517bf),_0x6726ea[_0x191971(0x1f8)](_0x191971(0x1e8)),_0x43fecc[_0x191971(0x214)]();}}}export class ContentFieldView extends _0x1994c7{constructor(_0x532516,_0x25725b=''){const _0x302d06=_0x557356;super(_0x532516),this[_0x302d06(0x213)]=this[_0x302d06(0x1ff)](),this[_0x302d06(0x1db)]({'tag':_0x302d06(0x1f9),'attributes':{'class':['ck',_0x302d06(0x229),_0x25725b,_0x302d06(0x217),_0x302d06(0x226)]}});}[_0x557356(0x1fe)](_0x15fa85){const _0x59ab99=_0x557356;this[_0x59ab99(0x1d8)][_0x59ab99(0x1e1)]=_0x15fa85;}[_0x557356(0x206)](){const _0x47e82e=_0x557356;this[_0x47e82e(0x1d8)][_0x47e82e(0x211)](this[_0x47e82e(0x213)][_0x47e82e(0x1d8)]);}[_0x557356(0x1ff)](){const _0x4ad2ed=_0x557356,_0x2403eb=new _0x1994c7(),_0x92a953=this[_0x4ad2ed(0x1dc)],_0x102f03=new _0x26fcf3();return _0x102f03[_0x4ad2ed(0x227)]=!0x0,_0x2403eb[_0x4ad2ed(0x1db)]({'tag':_0x4ad2ed(0x1f9),'attributes':{'class':['ck',_0x4ad2ed(0x1f1)]},'children':[_0x102f03,{'text':_0x5e37e3(_0x92a953,_0x4ad2ed(0x205))}]}),_0x2403eb[_0x4ad2ed(0x202)](),_0x2403eb;}}
23
+ const _0xfa188a=_0x4761;(function(_0xb4c819,_0x2a552b){const _0x2ca792=_0x4761,_0x981c79=_0xb4c819();while(!![]){try{const _0x4f21c0=-parseInt(_0x2ca792(0x1d2))/0x1*(parseInt(_0x2ca792(0x1aa))/0x2)+-parseInt(_0x2ca792(0x1c0))/0x3+-parseInt(_0x2ca792(0x192))/0x4*(-parseInt(_0x2ca792(0x1d5))/0x5)+parseInt(_0x2ca792(0x199))/0x6+parseInt(_0x2ca792(0x188))/0x7*(-parseInt(_0x2ca792(0x18e))/0x8)+-parseInt(_0x2ca792(0x1ca))/0x9*(parseInt(_0x2ca792(0x191))/0xa)+parseInt(_0x2ca792(0x18a))/0xb;if(_0x4f21c0===_0x2a552b)break;else _0x981c79['push'](_0x981c79['shift']());}catch(_0x481f5e){_0x981c79['push'](_0x981c79['shift']());}}}(_0x322a,0x9f882));function _0x4761(_0x2d053e,_0x20a420){const _0x322a5d=_0x322a();return _0x4761=function(_0x4761f8,_0xf93001){_0x4761f8=_0x4761f8-0x186;let _0x8c0bf6=_0x322a5d[_0x4761f8];return _0x8c0bf6;},_0x4761(_0x2d053e,_0x20a420);}import{global as _0x513771}from'ckeditor5/src/utils.js';import{View as _0x3b0998,ButtonView as _0xc48fd1,SpinnerView as _0x19cd94}from'ckeditor5/src/ui.js';import{IconCheck as _0x2ac23d,IconCopy as _0x4710fe}from'ckeditor5/src/icons.js';function _0x322a(){const _0x231400=['setTemplate','ck-content','render','.ck-ai-form__loader','class','_createLoader','querySelector','<span>[</span>','Copy','scrollTo','copyButtonView','clipboard','createRange','createElement','ck-ai-form__loader','_createCopyButton','appendLoader','1120185KRcoJi','isEnabled','loaderView','ClipboardItem','isVisible','setContent','element','remove','value','setEndBefore','9XrgdVg','text/html','ck-ai-form__content-area','bindTemplate','focus','copy','div','body','51WLqqjB','innerHTML','removeAllRanges','355QTzeni','lastElementChild','mousedown','text/plain','<span>]</span>','AI\x20is\x20writing...','isProcessing','smooth','contentFieldView','41643QbnCEE','position','12879218FsFYpp','style','icon','left','920uLJjZv','execCommand','locale','2468790uVDSrP','9272ZSUncR','textContent','-9999px','change:value','bind','ck-reset_all-excluded','setStartAfter','5543376YwFBIj','change:isProcessing','firstElementChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-field','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','execute','scrollHeight','absolute','set','wheel','ck-ai-form__content-area--processing','ck-hidden','appendChild','listenTo','11822gFvBjh','addRange','getSelection','write','ck-ai-form__copy-button'];_0x322a=function(){return _0x231400;};return _0x322a();}import{getTranslation as _0xc18ac2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x3b0998{[_0xfa188a(0x187)];[_0xfa188a(0x1b9)];constructor(_0x34371b,_0x399347=''){const _0x3f25a5=_0xfa188a;super(_0x34371b),this[_0x3f25a5(0x1a4)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1c9fff=this[_0x3f25a5(0x1cd)];this[_0x3f25a5(0x187)]=new ContentFieldView(_0x34371b,_0x399347),this[_0x3f25a5(0x1b9)]=this[_0x3f25a5(0x1be)](),this[_0x3f25a5(0x1af)]({'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x19f),_0x1c9fff['if'](_0x3f25a5(0x1c4),_0x3f25a5(0x1a7),_0x245a2d=>!_0x245a2d)],'tabindex':'-1'},'children':[{'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x1cc),_0x1c9fff['if'](_0x3f25a5(0x1db),_0x3f25a5(0x1a6))]},'children':[this[_0x3f25a5(0x187)],{'tag':_0x3f25a5(0x1d0),'attributes':{'class':['ck',_0x3f25a5(0x19d)]},'children':[this[_0x3f25a5(0x1b9)]]}]}]});}[_0xfa188a(0x1b1)](){const _0x325dab=_0xfa188a;super[_0x325dab(0x1b1)](),this[_0x325dab(0x1c8)]&&this[_0x325dab(0x187)][_0x325dab(0x1c5)](this[_0x325dab(0x1c8)]);let _0x572813=!0x1;this['on'](_0x325dab(0x195),(_0x10fd01,_0x229a75,_0x4b3eb8)=>{const _0x1a1ae3=_0x325dab,_0xfe1159=!this[_0x1a1ae3(0x187)][_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1b5)](_0x1a1ae3(0x1b2));this[_0x1a1ae3(0x187)][_0x1a1ae3(0x1c5)](_0x4b3eb8),this[_0x1a1ae3(0x1db)]&&_0xfe1159&&!_0x572813&&this[_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1b8)]({'top':this[_0x1a1ae3(0x1c6)][_0x1a1ae3(0x1a2)],'behavior':_0x1a1ae3(0x186)});}),this['on'](_0x325dab(0x19a),(_0x3ec5ea,_0x5e57e4,_0x4fc60d)=>{const _0x3cf3b0=_0x325dab;_0x572813=!0x1,_0x4fc60d?(this[_0x3cf3b0(0x1c8)]=null,this[_0x3cf3b0(0x187)][_0x3cf3b0(0x1bf)]()):this[_0x3cf3b0(0x1c8)]||this[_0x3cf3b0(0x187)][_0x3cf3b0(0x1c5)]('');}),this[_0x325dab(0x1a9)](this[_0x325dab(0x1c6)],_0x325dab(0x1a5),()=>{_0x572813=!0x0;}),this[_0x325dab(0x1a9)](this[_0x325dab(0x1c6)],_0x325dab(0x1d7),()=>{_0x572813=!0x0;});}[_0xfa188a(0x1ce)](){const _0x4745ed=_0xfa188a;this[_0x4745ed(0x1c6)][_0x4745ed(0x1ce)]();}[_0xfa188a(0x1be)](){const _0x709610=_0xfa188a,_0x33424c=this[_0x709610(0x190)],_0x27ecb=new _0xc48fd1(this[_0x709610(0x190)]),_0x5acdf6=_0x709610(0x1ae);return _0x27ecb[_0x709610(0x1a4)]({'label':_0xc18ac2(_0x33424c,_0x709610(0x1b7)),'icon':_0x4710fe,'class':_0x5acdf6,'tooltip':!0x0}),_0x27ecb[_0x709610(0x196)](_0x709610(0x1c4))['to'](this,_0x709610(0x1c8),_0x83a493=>!!_0x83a493),_0x27ecb[_0x709610(0x196)](_0x709610(0x1c1))['to'](this,_0x709610(0x1db),_0x290b78=>!_0x290b78),_0x27ecb['on'](_0x709610(0x1a1),()=>{const _0x146b47=_0x709610;this[_0x146b47(0x1a0)](this[_0x146b47(0x187)][_0x146b47(0x1c6)]),_0x27ecb[_0x146b47(0x18c)]=_0x2ac23d,_0x27ecb[_0x146b47(0x1b3)]=_0x5acdf6+_0x146b47(0x19c),this[_0x146b47(0x1ce)](),setTimeout(()=>{const _0x18edb8=_0x146b47;_0x27ecb[_0x18edb8(0x18c)]=_0x4710fe,_0x27ecb[_0x18edb8(0x1b3)]=_0x5acdf6;},0x3e8);}),_0x27ecb;}[_0xfa188a(0x1a0)](_0x2764c7){const _0x5345c6=_0xfa188a,{window:_0x417012,document:_0x1f7beb}=_0x513771;if(_0x417012[_0x5345c6(0x1c3)]){const {Blob:_0x197b5a,ClipboardItem:_0xd645ee}=_0x417012,_0x4208ef=[new _0xd645ee({'text/html':new _0x197b5a([_0x2764c7[_0x5345c6(0x1d3)]],{'type':_0x5345c6(0x1cb)}),'text/plain':new _0x197b5a([_0x2764c7[_0x5345c6(0x193)]||''],{'type':_0x5345c6(0x1d8)})})];navigator[_0x5345c6(0x1ba)][_0x5345c6(0x1ad)](_0x4208ef);}else{const _0x56eb3a=_0x1f7beb[_0x5345c6(0x1bc)](_0x5345c6(0x1d0));_0x56eb3a[_0x5345c6(0x18b)][_0x5345c6(0x189)]=_0x5345c6(0x1a3),_0x56eb3a[_0x5345c6(0x18b)][_0x5345c6(0x18d)]=_0x5345c6(0x194),_0x56eb3a[_0x5345c6(0x1d3)]=_0x5345c6(0x1b6)+_0x2764c7[_0x5345c6(0x1d3)]+_0x5345c6(0x1d9),_0x1f7beb[_0x5345c6(0x1d1)][_0x5345c6(0x1a8)](_0x56eb3a);const _0x573fdf=_0x1f7beb[_0x5345c6(0x1bb)]();_0x573fdf[_0x5345c6(0x198)](_0x56eb3a[_0x5345c6(0x19b)]),_0x573fdf[_0x5345c6(0x1c9)](_0x56eb3a[_0x5345c6(0x1d6)]);const _0x39e879=_0x417012[_0x5345c6(0x1ac)]();_0x39e879[_0x5345c6(0x1d4)](),_0x39e879[_0x5345c6(0x1ab)](_0x573fdf),_0x1f7beb[_0x5345c6(0x18f)](_0x5345c6(0x1cf)),_0x56eb3a[_0x5345c6(0x1c7)]();}}}export class ContentFieldView extends _0x3b0998{constructor(_0x128a23,_0x577ba5=''){const _0x369717=_0xfa188a;super(_0x128a23),this[_0x369717(0x1c2)]=this[_0x369717(0x1b4)](),this[_0x369717(0x1af)]({'tag':_0x369717(0x1d0),'attributes':{'class':['ck',_0x369717(0x1b0),_0x577ba5,_0x369717(0x197),_0x369717(0x19e)]}});}[_0xfa188a(0x1c5)](_0x51d855){const _0x3a4a6b=_0xfa188a;this[_0x3a4a6b(0x1c6)][_0x3a4a6b(0x1d3)]=_0x51d855;}[_0xfa188a(0x1bf)](){const _0x5e98c0=_0xfa188a;this[_0x5e98c0(0x1c6)][_0x5e98c0(0x1a8)](this[_0x5e98c0(0x1c2)][_0x5e98c0(0x1c6)]);}[_0xfa188a(0x1b4)](){const _0x5a1043=_0xfa188a,_0xe3b801=new _0x3b0998(),_0x362f6a=this[_0x5a1043(0x190)],_0x4741ba=new _0x19cd94();return _0x4741ba[_0x5a1043(0x1c4)]=!0x0,_0xe3b801[_0x5a1043(0x1af)]({'tag':_0x5a1043(0x1d0),'attributes':{'class':['ck',_0x5a1043(0x1bd)]},'children':[_0x4741ba,{'text':_0xc18ac2(_0x362f6a,_0x5a1043(0x1da))}]}),_0xe3b801[_0x5a1043(0x1b1)](),_0xe3b801;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ff7(){const _0x2391a1=['742etbVqm','55931LJQFVx','5150eFDLui','bindTemplate','ck-ai-form__error','2311080IUNGrx','117928LlNcla','5255205YgaRoF','text','div','604EphlxR','54208629ORPIVd','2872710DRjADa','setTemplate','content','set'];_0x3ff7=function(){return _0x2391a1;};return _0x3ff7();}(function(_0x48b03b,_0x1f0930){const _0x280f3c=_0x405b,_0x1b8278=_0x48b03b();while(!![]){try{const _0x5a5532=parseInt(_0x280f3c(0x85))/0x1+-parseInt(_0x280f3c(0x79))/0x2+-parseInt(_0x280f3c(0x7b))/0x3+parseInt(_0x280f3c(0x7e))/0x4*(-parseInt(_0x280f3c(0x86))/0x5)+-parseInt(_0x280f3c(0x80))/0x6+-parseInt(_0x280f3c(0x84))/0x7*(parseInt(_0x280f3c(0x7a))/0x8)+parseInt(_0x280f3c(0x7f))/0x9;if(_0x5a5532===_0x1f0930)break;else _0x1b8278['push'](_0x1b8278['shift']());}catch(_0x2b6877){_0x1b8278['push'](_0x1b8278['shift']());}}}(_0x3ff7,0xee080));import{IconError as _0x4f520b}from'ckeditor5/src/icons.js';import{View as _0x22bdc9,IconView as _0x342d1f}from'ckeditor5/src/ui.js';function _0x405b(_0x3d9b5e,_0x4684b6){const _0x3ff78d=_0x3ff7();return _0x405b=function(_0x405b10,_0x436964){_0x405b10=_0x405b10-0x79;let _0x5a93e5=_0x3ff78d[_0x405b10];return _0x5a93e5;},_0x405b(_0x3d9b5e,_0x4684b6);}export class AIFormErrorView extends _0x22bdc9{constructor(_0x586f78,_0x3faedb=''){const _0x215710=_0x405b;super(_0x586f78);const _0x5c3a70=new _0x342d1f(),_0x4096ae=this[_0x215710(0x87)];this[_0x215710(0x83)](_0x215710(0x7c),_0x3faedb),_0x5c3a70[_0x215710(0x82)]=_0x4f520b,this[_0x215710(0x81)]({'tag':_0x215710(0x7d),'attributes':{'class':['ck',_0x215710(0x88)]},'children':[_0x5c3a70,{'text':_0x4096ae['to'](_0x215710(0x7c))}]});}}
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 _0x4471f5=_0x2193;(function(_0x443385,_0x5d1fae){const _0x205a70=_0x2193,_0x233d0c=_0x443385();while(!![]){try{const _0x41bcd6=-parseInt(_0x205a70(0x1f0))/0x1+parseInt(_0x205a70(0x218))/0x2*(parseInt(_0x205a70(0x220))/0x3)+parseInt(_0x205a70(0x22b))/0x4*(parseInt(_0x205a70(0x1f9))/0x5)+parseInt(_0x205a70(0x216))/0x6*(parseInt(_0x205a70(0x213))/0x7)+-parseInt(_0x205a70(0x221))/0x8+-parseInt(_0x205a70(0x212))/0x9*(-parseInt(_0x205a70(0x224))/0xa)+parseInt(_0x205a70(0x206))/0xb*(parseInt(_0x205a70(0x1ff))/0xc);if(_0x41bcd6===_0x5d1fae)break;else _0x233d0c['push'](_0x233d0c['shift']());}catch(_0x50d119){_0x233d0c['push'](_0x233d0c['shift']());}}}(_0x55fa,0xf241d));function _0x2193(_0x31df0b,_0x2a5de3){const _0x55fa70=_0x55fa();return _0x2193=function(_0x21938f,_0x1ae3c6){_0x21938f=_0x21938f-0x1f0;let _0x1818e0=_0x55fa70[_0x21938f];return _0x1818e0;},_0x2193(_0x31df0b,_0x2a5de3);}import{Rect as _0xe47942,global as _0xcefe57,isVisible as _0x3805c6}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x19b46e,IconSubmit as _0x36e0af}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x56193d,ButtonView as _0x65ff01}from'ckeditor5/src/ui.js';import{getTranslation as _0x3419fb}from'../../utils/common-translations.js';function _0x55fa(){const _0x1b2ea3=['target','minRows','maxRows','focusCycler','update','left','bind','185SuOKEQ','keystrokes','excludeScrollbarsAndBorders','add','set','right','60mqFgAK','fieldWrapperChildren','resultsView','value','fieldView','window','filteredView','1448051COplOE','execute','Submit','fire','ck-ai-form__toggle-history','ck-ai-form__submit','focusFirst','width','focusLast','focusableChildren','_createSubmitButton','_createShowHistoryButton','99AogCWH','55013JoNekR','enter','isEnabled','66LzbQRN','isEmpty','3331414IXTguI','focus','submit','locale','submitButtonView','render','queryView','requestAnimationFrame','3tGLtaL','14645640GDhdfI','uiLanguageDirection','children','362290oWysTL','style','showHistoryButtonView','isVisible','rtl','History','element','127564WtExag','1165857CpxrCA','isOn'];_0x55fa=function(){return _0x1b2ea3;};return _0x55fa();}export class AIFormPromptView extends _0x56193d{[_0x4471f5(0x21c)];[_0x4471f5(0x226)];constructor(_0x38e062,_0x643b84){const _0x4e4180=_0x4471f5;super(_0x38e062,_0x643b84),this[_0x4e4180(0x21e)][_0x4e4180(0x203)][_0x4e4180(0x1f3)]=0x1,this[_0x4e4180(0x21e)][_0x4e4180(0x203)][_0x4e4180(0x1f4)]=0x3,this[_0x4e4180(0x21c)]=this[_0x4e4180(0x210)](),this[_0x4e4180(0x226)]=this[_0x4e4180(0x211)](),this[_0x4e4180(0x20f)][_0x4e4180(0x1fc)](this[_0x4e4180(0x226)],0x1),this[_0x4e4180(0x20f)][_0x4e4180(0x1fc)](this[_0x4e4180(0x21c)]);}[_0x4471f5(0x21d)](){const _0x5d59f9=_0x4471f5;super[_0x5d59f9(0x21d)](),this[_0x5d59f9(0x21e)][_0x5d59f9(0x200)][_0x5d59f9(0x1fc)](this[_0x5d59f9(0x226)]),this[_0x5d59f9(0x223)][_0x5d59f9(0x1fc)](this[_0x5d59f9(0x21c)]),this[_0x5d59f9(0x1fa)][_0x5d59f9(0x1fd)](_0x5d59f9(0x214),(_0x9b9047,_0x5d5adc)=>{const _0x2e7ecf=_0x5d59f9;_0x9b9047[_0x2e7ecf(0x1f2)]==this[_0x2e7ecf(0x21e)][_0x2e7ecf(0x203)][_0x2e7ecf(0x22a)]&&(this[_0x2e7ecf(0x21a)](),_0x5d5adc());});}[_0x4471f5(0x210)](){const _0x145555=_0x4471f5,_0x20dcdf=new _0x65ff01(this[_0x145555(0x21b)]),_0x301f89=this[_0x145555(0x21b)];return _0x20dcdf[_0x145555(0x1fd)]({'icon':_0x36e0af,'label':_0x3419fb(_0x301f89,_0x145555(0x208)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x145555(0x20b)}),_0x20dcdf['on'](_0x145555(0x207),()=>{const _0x16d79d=_0x145555;this[_0x16d79d(0x21a)]();}),_0x20dcdf[_0x145555(0x1f8)](_0x145555(0x215))['to'](this[_0x145555(0x21e)][_0x145555(0x203)],_0x145555(0x217),this,_0x145555(0x215),(_0x287918,_0x32266b)=>!_0x287918&&_0x32266b),_0x20dcdf;}[_0x4471f5(0x211)](){const _0x2f7e76=_0x4471f5,_0x14f6f5=new _0x65ff01(this[_0x2f7e76(0x21b)]),_0x57aaab=this[_0x2f7e76(0x201)],_0x4b86a4=this[_0x2f7e76(0x21b)];_0x14f6f5[_0x2f7e76(0x1fd)]({'label':_0x3419fb(_0x4b86a4,_0x2f7e76(0x229)),'withText':!0x1,'icon':_0x19b46e,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2f7e76(0x20a)}),_0x14f6f5[_0x2f7e76(0x1f8)](_0x2f7e76(0x1f1))['to'](_0x57aaab,_0x2f7e76(0x227)),_0x14f6f5[_0x2f7e76(0x1f8)](_0x2f7e76(0x215))['to'](this,_0x2f7e76(0x215)),_0x14f6f5['on'](_0x2f7e76(0x207),()=>{const _0x4f153a=_0x2f7e76;_0x57aaab[_0x4f153a(0x227)]=!_0x57aaab[_0x4f153a(0x227)],_0x57aaab[_0x4f153a(0x227)]?this[_0x4f153a(0x205)][_0x4f153a(0x219)]():this[_0x4f153a(0x219)]();});const _0x4e28ac=()=>{const _0x28d983=_0x2f7e76;_0xcefe57[_0x28d983(0x204)][_0x28d983(0x21f)](()=>{const _0x2e93a6=_0x28d983;if(_0x3805c6(this[_0x2e93a6(0x22a)])){const _0x48a711=new _0xe47942(this[_0x2e93a6(0x21e)][_0x2e93a6(0x203)][_0x2e93a6(0x22a)]),_0x2830c2=_0x48a711[_0x2e93a6(0x20d)],_0x38d8bd=_0x2e93a6(0x228)===_0x4b86a4[_0x2e93a6(0x222)]?_0x2e93a6(0x1f7):_0x2e93a6(0x1fe);_0x48a711[_0x2e93a6(0x1fb)](),_0x14f6f5[_0x2e93a6(0x22a)][_0x2e93a6(0x225)][_0x38d8bd]=_0x2830c2-_0x48a711[_0x2e93a6(0x20d)]+0x1+'px';}});};return this[_0x2f7e76(0x21e)][_0x2f7e76(0x203)]['on'](_0x2f7e76(0x1f6),_0x4e28ac),this['on'](_0x2f7e76(0x21d),_0x4e28ac),_0x14f6f5;}[_0x4471f5(0x21a)](){const _0x2cdb20=_0x4471f5,_0x4e8521=this[_0x2cdb20(0x21e)][_0x2cdb20(0x203)][_0x2cdb20(0x22a)][_0x2cdb20(0x202)];this[_0x2cdb20(0x209)](_0x2cdb20(0x21a),_0x4e8521);}[_0x4471f5(0x219)](_0x4a6edf){const _0x48ed57=_0x4471f5;-0x1===_0x4a6edf?this[_0x48ed57(0x1f5)][_0x48ed57(0x20e)]():this[_0x48ed57(0x1f5)][_0x48ed57(0x20c)]();}}
23
+ const _0x11dc14=_0xa904;(function(_0x5bfcd4,_0x23a252){const _0x2ef813=_0xa904,_0x40e9c7=_0x5bfcd4();while(!![]){try{const _0x48279e=parseInt(_0x2ef813(0xc0))/0x1+-parseInt(_0x2ef813(0xc6))/0x2*(-parseInt(_0x2ef813(0xc2))/0x3)+-parseInt(_0x2ef813(0xde))/0x4*(-parseInt(_0x2ef813(0xe2))/0x5)+parseInt(_0x2ef813(0xdb))/0x6*(-parseInt(_0x2ef813(0xd5))/0x7)+parseInt(_0x2ef813(0xd4))/0x8*(-parseInt(_0x2ef813(0xcd))/0x9)+parseInt(_0x2ef813(0xce))/0xa*(-parseInt(_0x2ef813(0xbf))/0xb)+parseInt(_0x2ef813(0xb2))/0xc;if(_0x48279e===_0x23a252)break;else _0x40e9c7['push'](_0x40e9c7['shift']());}catch(_0x3b4af8){_0x40e9c7['push'](_0x40e9c7['shift']());}}}(_0x3d0a,0xe8431));function _0xa904(_0x6abb15,_0x2ead14){const _0x3d0a73=_0x3d0a();return _0xa904=function(_0xa9041,_0x98a6ff){_0xa9041=_0xa9041-0xaa;let _0x3a0c81=_0x3d0a73[_0xa9041];return _0x3a0c81;},_0xa904(_0x6abb15,_0x2ead14);}import{Rect as _0x2c0797,global as _0x53389f,isVisible as _0x57d53b}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5e45b9,IconSubmit as _0x4a22b9}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1dfe7e,ButtonView as _0x230056}from'ckeditor5/src/ui.js';import{getTranslation as _0x1cd3a0}from'../../utils/common-translations.js';function _0x3d0a(){const _0x3991f8=['fieldWrapperChildren','History','execute','isEmpty','excludeScrollbarsAndBorders','rtl','fieldView','showHistoryButtonView','element','target','3363300IUqoSD','add','isVisible','locale','children','bind','submit','_createShowHistoryButton','width','left','queryView','set','update','36949UBiAkf','1162903ahGFXS','enter','1074vvfacm','focusFirst','focusLast','window','6166gRYjDL','isOn','_createSubmitButton','fire','focusCycler','render','maxRows','279ofCPst','1610ZXeFsm','resultsView','submitButtonView','ck-ai-form__submit','minRows','focus','117224Tckvao','12218269TrZjYc','right','Submit','value','filteredView','ck-ai-form__toggle-history','6sqPqQc','isEnabled','style','9828XednGa','requestAnimationFrame','uiLanguageDirection','keystrokes','2330UXjveQ','focusableChildren'];_0x3d0a=function(){return _0x3991f8;};return _0x3d0a();}export class AIFormPromptView extends _0x1dfe7e{[_0x11dc14(0xd0)];[_0x11dc14(0xaf)];constructor(_0x5c8c21,_0x44d695){const _0x2d510a=_0x11dc14;super(_0x5c8c21,_0x44d695),this[_0x2d510a(0xbc)][_0x2d510a(0xae)][_0x2d510a(0xd2)]=0x1,this[_0x2d510a(0xbc)][_0x2d510a(0xae)][_0x2d510a(0xcc)]=0x3,this[_0x2d510a(0xd0)]=this[_0x2d510a(0xc8)](),this[_0x2d510a(0xaf)]=this[_0x2d510a(0xb9)](),this[_0x2d510a(0xe3)][_0x2d510a(0xb3)](this[_0x2d510a(0xaf)],0x1),this[_0x2d510a(0xe3)][_0x2d510a(0xb3)](this[_0x2d510a(0xd0)]);}[_0x11dc14(0xcb)](){const _0x232b50=_0x11dc14;super[_0x232b50(0xcb)](),this[_0x232b50(0xbc)][_0x232b50(0xe4)][_0x232b50(0xb3)](this[_0x232b50(0xaf)]),this[_0x232b50(0xb6)][_0x232b50(0xb3)](this[_0x232b50(0xd0)]),this[_0x232b50(0xe1)][_0x232b50(0xbd)](_0x232b50(0xc1),(_0x5b599f,_0x482aef)=>{const _0x3e54d7=_0x232b50;_0x5b599f[_0x3e54d7(0xb1)]==this[_0x3e54d7(0xbc)][_0x3e54d7(0xae)][_0x3e54d7(0xb0)]&&(this[_0x3e54d7(0xb8)](),_0x482aef());});}[_0x11dc14(0xc8)](){const _0x866b8e=_0x11dc14,_0x5c0067=new _0x230056(this[_0x866b8e(0xb5)]),_0x28325c=this[_0x866b8e(0xb5)];return _0x5c0067[_0x866b8e(0xbd)]({'icon':_0x4a22b9,'label':_0x1cd3a0(_0x28325c,_0x866b8e(0xd7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x866b8e(0xd1)}),_0x5c0067['on'](_0x866b8e(0xaa),()=>{const _0x46e949=_0x866b8e;this[_0x46e949(0xb8)]();}),_0x5c0067[_0x866b8e(0xb7)](_0x866b8e(0xdc))['to'](this[_0x866b8e(0xbc)][_0x866b8e(0xae)],_0x866b8e(0xab),this,_0x866b8e(0xdc),(_0xa91637,_0x10bbdf)=>!_0xa91637&&_0x10bbdf),_0x5c0067;}[_0x11dc14(0xb9)](){const _0xfcb64e=_0x11dc14,_0x5e90f0=new _0x230056(this[_0xfcb64e(0xb5)]),_0x333fc=this[_0xfcb64e(0xcf)],_0x5e6d37=this[_0xfcb64e(0xb5)];_0x5e90f0[_0xfcb64e(0xbd)]({'label':_0x1cd3a0(_0x5e6d37,_0xfcb64e(0xe5)),'withText':!0x1,'icon':_0x5e45b9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xfcb64e(0xda)}),_0x5e90f0[_0xfcb64e(0xb7)](_0xfcb64e(0xc7))['to'](_0x333fc,_0xfcb64e(0xb4)),_0x5e90f0[_0xfcb64e(0xb7)](_0xfcb64e(0xdc))['to'](this,_0xfcb64e(0xdc)),_0x5e90f0['on'](_0xfcb64e(0xaa),()=>{const _0x1e6b69=_0xfcb64e;_0x333fc[_0x1e6b69(0xb4)]=!_0x333fc[_0x1e6b69(0xb4)],_0x333fc[_0x1e6b69(0xb4)]?this[_0x1e6b69(0xd9)][_0x1e6b69(0xd3)]():this[_0x1e6b69(0xd3)]();});const _0x2488f0=()=>{const _0x43c5df=_0xfcb64e;_0x53389f[_0x43c5df(0xc5)][_0x43c5df(0xdf)](()=>{const _0x9aea89=_0x43c5df;if(_0x57d53b(this[_0x9aea89(0xb0)])){const _0x9f3eb8=new _0x2c0797(this[_0x9aea89(0xbc)][_0x9aea89(0xae)][_0x9aea89(0xb0)]),_0xe9f641=_0x9f3eb8[_0x9aea89(0xba)],_0x59d951=_0x9aea89(0xad)===_0x5e6d37[_0x9aea89(0xe0)]?_0x9aea89(0xbb):_0x9aea89(0xd6);_0x9f3eb8[_0x9aea89(0xac)](),_0x5e90f0[_0x9aea89(0xb0)][_0x9aea89(0xdd)][_0x59d951]=_0xe9f641-_0x9f3eb8[_0x9aea89(0xba)]+0x1+'px';}});};return this[_0xfcb64e(0xbc)][_0xfcb64e(0xae)]['on'](_0xfcb64e(0xbe),_0x2488f0),this['on'](_0xfcb64e(0xcb),_0x2488f0),_0x5e90f0;}[_0x11dc14(0xb8)](){const _0x843adc=_0x11dc14,_0xe1849f=this[_0x843adc(0xbc)][_0x843adc(0xae)][_0x843adc(0xb0)][_0x843adc(0xd8)];this[_0x843adc(0xc9)](_0x843adc(0xb8),_0xe1849f);}[_0x11dc14(0xd3)](_0x16b4f7){const _0x1be8ed=_0x11dc14;-0x1===_0x16b4f7?this[_0x1be8ed(0xca)][_0x1be8ed(0xc4)]():this[_0x1be8ed(0xca)][_0x1be8ed(0xc3)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14d3d5=_0x4787;(function(_0x3446da,_0x333137){const _0x58cdff=_0x4787,_0xf5e6ae=_0x3446da();while(!![]){try{const _0x223ba0=-parseInt(_0x58cdff(0x96))/0x1*(-parseInt(_0x58cdff(0x7f))/0x2)+parseInt(_0x58cdff(0x83))/0x3+parseInt(_0x58cdff(0x75))/0x4+-parseInt(_0x58cdff(0x97))/0x5+parseInt(_0x58cdff(0x88))/0x6+-parseInt(_0x58cdff(0x7c))/0x7+parseInt(_0x58cdff(0x7a))/0x8*(parseInt(_0x58cdff(0x95))/0x9);if(_0x223ba0===_0x333137)break;else _0xf5e6ae['push'](_0xf5e6ae['shift']());}catch(_0x18d86d){_0xf5e6ae['push'](_0xf5e6ae['shift']());}}}(_0x257e,0x9899f));function _0x4787(_0x1085eb,_0x296568){const _0x257e23=_0x257e();return _0x4787=function(_0x47875a,_0x46711e){_0x47875a=_0x47875a-0x74;let _0x493e0e=_0x257e23[_0x47875a];return _0x493e0e;},_0x4787(_0x1085eb,_0x296568);}import{ToolbarView as _0xfe575,ButtonView as _0x296aae}from'ckeditor5/src/ui.js';function _0x257e(){const _0x23e70a=['ck-ai-form__toolbar','1433640GxvuGx','AI_','insert','isVisible','Try\x20again','2692616PGxqQc','_createButton','7001967wAHlyK','items','label','24EpcsZH','toUpperCase','insertButton','ck-hidden','1291797UVXZcN','mainAction','REPLACE','_CONTENT','replaceButton','1956408PPLwdO','tryAgainButton','stopButton','locale','bindTemplate','set','bind','replace','addMany','extendTemplate','ck-button-action','Insert\x20below','Stop','18KIUFIl','48973VosxJy','3752855WGmtFK'];_0x257e=function(){return _0x23e70a;};return _0x257e();}import{getTranslation as _0x5befb9}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x14d3d5(0x8f),'INSERT':_0x14d3d5(0x77)};export class AIFormToolbarView extends _0xfe575{constructor(_0x18c59d){const _0x4fe0e2=_0x14d3d5;super(_0x18c59d),this[_0x4fe0e2(0x8d)](_0x4fe0e2(0x78),!0x1),this[_0x4fe0e2(0x8d)](_0x4fe0e2(0x84),AIFormToolbarViewMainActionLabel[_0x4fe0e2(0x85)]),this[_0x4fe0e2(0x87)]=this[_0x4fe0e2(0x7b)]('',_0x4fe0e2(0x92)),this[_0x4fe0e2(0x87)][_0x4fe0e2(0x8e)](_0x4fe0e2(0x7e))['to'](this,_0x4fe0e2(0x84),_0x33ae1b=>_0x5befb9(_0x18c59d,_0x4fe0e2(0x76)+_0x33ae1b[_0x4fe0e2(0x80)]()+_0x4fe0e2(0x86))),this[_0x4fe0e2(0x81)]=this[_0x4fe0e2(0x7b)](_0x5befb9(_0x18c59d,_0x4fe0e2(0x93))),this[_0x4fe0e2(0x89)]=this[_0x4fe0e2(0x7b)](_0x5befb9(_0x18c59d,_0x4fe0e2(0x79))),this[_0x4fe0e2(0x8a)]=this[_0x4fe0e2(0x7b)](_0x5befb9(_0x18c59d,_0x4fe0e2(0x94)));const _0x334378=this[_0x4fe0e2(0x8c)];this[_0x4fe0e2(0x91)]({'attributes':{'class':[_0x4fe0e2(0x74),_0x334378['if'](_0x4fe0e2(0x78),_0x4fe0e2(0x82),_0x5eb982=>!_0x5eb982)]}}),this[_0x4fe0e2(0x7d)][_0x4fe0e2(0x90)]([this[_0x4fe0e2(0x87)],this[_0x4fe0e2(0x81)],this[_0x4fe0e2(0x89)],this[_0x4fe0e2(0x8a)]]);}[_0x14d3d5(0x7b)](_0x94d91c,_0x4897d4){const _0x4cc453=_0x14d3d5,_0x450d36=new _0x296aae(this[_0x4cc453(0x8b)]);return _0x450d36[_0x4cc453(0x8d)]({'label':_0x94d91c,'class':_0x4897d4||'','isVisible':!0x0,'withText':!0x0}),_0x450d36;}}
23
+ const _0x4b4e55=_0x4773;(function(_0xb9fd8d,_0x529124){const _0x148c0e=_0x4773,_0x1b0435=_0xb9fd8d();while(!![]){try{const _0x2b036b=-parseInt(_0x148c0e(0x86))/0x1+parseInt(_0x148c0e(0x6e))/0x2+parseInt(_0x148c0e(0x80))/0x3*(parseInt(_0x148c0e(0x7d))/0x4)+-parseInt(_0x148c0e(0x8f))/0x5*(parseInt(_0x148c0e(0x8a))/0x6)+-parseInt(_0x148c0e(0x79))/0x7+parseInt(_0x148c0e(0x75))/0x8*(parseInt(_0x148c0e(0x74))/0x9)+parseInt(_0x148c0e(0x90))/0xa;if(_0x2b036b===_0x529124)break;else _0x1b0435['push'](_0x1b0435['shift']());}catch(_0x399740){_0x1b0435['push'](_0x1b0435['shift']());}}}(_0x5d06,0x6abeb));import{ToolbarView as _0x513c4c,ButtonView as _0x11fa19}from'ckeditor5/src/ui.js';import{getTranslation as _0x544e86}from'../../utils/common-translations.js';function _0x4773(_0x1180a3,_0x3a4493){const _0x5d067a=_0x5d06();return _0x4773=function(_0x47732a,_0x225c46){_0x47732a=_0x47732a-0x6d;let _0x3b0a50=_0x5d067a[_0x47732a];return _0x3b0a50;},_0x4773(_0x1180a3,_0x3a4493);}function _0x5d06(){const _0x59f8df=['isVisible','3116393TtEznf','Try\x20again','replaceButton','bind','760148wvdJrj','label','ck-ai-form__toolbar','9Oqugzv','ck-button-action','tryAgainButton','_CONTENT','Insert\x20below','addMany','690720YsqCdr','replace','stopButton','bindTemplate','12qyDhfB','items','set','extendTemplate','_createButton','483740rErWOA','3138290VEzkED','Stop','insert','1722360etPJqf','mainAction','ck-hidden','AI_','REPLACE','locale','9zLCuhq','172176srrnzJ','toUpperCase','insertButton'];_0x5d06=function(){return _0x59f8df;};return _0x5d06();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4b4e55(0x87),'INSERT':_0x4b4e55(0x6d)};export class AIFormToolbarView extends _0x513c4c{constructor(_0x4937c0){const _0xfb7975=_0x4b4e55;super(_0x4937c0),this[_0xfb7975(0x8c)](_0xfb7975(0x78),!0x1),this[_0xfb7975(0x8c)](_0xfb7975(0x6f),AIFormToolbarViewMainActionLabel[_0xfb7975(0x72)]),this[_0xfb7975(0x7b)]=this[_0xfb7975(0x8e)]('',_0xfb7975(0x81)),this[_0xfb7975(0x7b)][_0xfb7975(0x7c)](_0xfb7975(0x7e))['to'](this,_0xfb7975(0x6f),_0x2f7a49=>_0x544e86(_0x4937c0,_0xfb7975(0x71)+_0x2f7a49[_0xfb7975(0x76)]()+_0xfb7975(0x83))),this[_0xfb7975(0x77)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x84))),this[_0xfb7975(0x82)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x7a))),this[_0xfb7975(0x88)]=this[_0xfb7975(0x8e)](_0x544e86(_0x4937c0,_0xfb7975(0x91)));const _0x591c78=this[_0xfb7975(0x89)];this[_0xfb7975(0x8d)]({'attributes':{'class':[_0xfb7975(0x7f),_0x591c78['if'](_0xfb7975(0x78),_0xfb7975(0x70),_0x351845=>!_0x351845)]}}),this[_0xfb7975(0x8b)][_0xfb7975(0x85)]([this[_0xfb7975(0x7b)],this[_0xfb7975(0x77)],this[_0xfb7975(0x82)],this[_0xfb7975(0x88)]]);}[_0x4b4e55(0x8e)](_0x7168f3,_0x3c507a){const _0x52c227=_0x4b4e55,_0x540241=new _0x11fa19(this[_0x52c227(0x73)]);return _0x540241[_0x52c227(0x8c)]({'label':_0x7168f3,'class':_0x3c507a||'','isVisible':!0x0,'withText':!0x0}),_0x540241;}}