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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x2e6d(){const _0x3ca432=['map','has','isAtEnd','off','resultRange','element','fromCharCode','markerToHighlight','change','hideFakeVisualSelection','createPositionAt','getChildren','last','_getTableRowCountFromContent','addMarker','end','config','getColumnIndexes','1965970XSJhAl','4GxqFWW','isPremiumPlugin','fire','1814PYdxcI','addClass','818430ZBsQGY','3635429QklPkD','document','pop','isContent','DataTransfer','getSelectedBlocks','push','TableUtils','_createEmptyTableRows','join','showFakeVisualSelection','once','text/html','insertContentBelow','getLastPosition','updateMarker','ck-ai-assistant-ui_theme','createRange','insertContent','getRows','_pasteHTMLUsingClipboard','model','forEach','init','ck-fake-ai-selection_collapsed','editingDowncast','setData','span','editor','plugins','isOfficialPlugin','canEditAt','paste','markers','ai-ui','data','createUIElement','findAncestor','selection','insertRows','createPositionAfter','markerRange','from','ck-fake-ai-selection','pluginName','markerToElement','length','_resetContentOfSelectedTableCells','6082092nJMMlk','_prepareTableInsertBelowPosition','contentInsertion','12752CoBZHg','getRanges','editing','filter','removeMarker','deleteContent','getMarkersGroup','setSelection','afterInit','182069CHmJzC','ai.assistant.useTheme','first','lowest','6381QRwjQN','getSelectedTableCells','start','getChild','_getDefaultInsertBelowPosition','getRange','AIAssistantEditing','parse','createSelection','for','1563XjIKFW','table','_getAISelection','href','get','getLastMatchingPosition','getRowIndexes','getFirstRange','schema','isCollapsed','conversion'];_0x2e6d=function(){return _0x3ca432;};return _0x2e6d();}const _0x2cf6a0=_0x3a8d;(function(_0xb92da0,_0x4aba2b){const _0x2ba10d=_0x3a8d,_0x1aed5b=_0xb92da0();while(!![]){try{const _0x3f0d34=-parseInt(_0x2ba10d(0x1c2))/0x1+-parseInt(_0x2ba10d(0x183))/0x2*(-parseInt(_0x2ba10d(0x1d0))/0x3)+-parseInt(_0x2ba10d(0x180))/0x4*(parseInt(_0x2ba10d(0x185))/0x5)+-parseInt(_0x2ba10d(0x1b6))/0x6+parseInt(_0x2ba10d(0x186))/0x7+-parseInt(_0x2ba10d(0x1b9))/0x8*(-parseInt(_0x2ba10d(0x1c6))/0x9)+-parseInt(_0x2ba10d(0x17f))/0xa;if(_0x3f0d34===_0x4aba2b)break;else _0x1aed5b['push'](_0x1aed5b['shift']());}catch(_0x441817){_0x1aed5b['push'](_0x1aed5b['shift']());}}}(_0x2e6d,0x8a2f6));function _0x3a8d(_0xfe9f09,_0xa98db1){const _0x2e6d68=_0x2e6d();return _0x3a8d=function(_0x3a8da2,_0x44d1b6){_0x3a8da2=_0x3a8da2-0x17d;let _0x54cff2=_0x2e6d68[_0x3a8da2];return _0x54cff2;},_0x3a8d(_0xfe9f09,_0xa98db1);}import{uid as _0x1af74f}from'ckeditor5/src/utils.js';import{Plugin as _0x28c9da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3d309b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2aeac3,ViewDataTransfer as _0x35b3c1}from'ckeditor5/src/engine.js';const l=globalThis[_0x2cf6a0(0x18a)],w=_0x2cf6a0(0x1a8);export class AIAssistantEditing extends _0x28c9da{static get[_0x2cf6a0(0x1b2)](){const _0x5c00d3=_0x2cf6a0;return _0x5c00d3(0x1cc);}static get[_0x2cf6a0(0x1a4)](){return!0x0;}static get[_0x2cf6a0(0x181)](){return!0x0;}[_0x2cf6a0(0x19d)](){const _0x522d74=_0x2cf6a0,{editor:_0x2e4cb9}=this,_0x4d04e4=[_0x522d74(0x1b1)];_0x2e4cb9[_0x522d74(0x17d)][_0x522d74(0x1d4)](_0x522d74(0x1c3))&&_0x4d04e4[_0x522d74(0x18c)](_0x522d74(0x196)),_0x2e4cb9[_0x522d74(0x1da)][_0x522d74(0x1cf)](_0x522d74(0x19f))[_0x522d74(0x1e2)]({'model':w,'view':{'classes':_0x4d04e4,'priority':0xc}}),_0x2e4cb9[_0x522d74(0x1da)][_0x522d74(0x1cf)](_0x522d74(0x19f))[_0x522d74(0x1b3)]({'model':w,'view':(_0x27258b,{writer:_0x40bc1f})=>{const _0x44d6f2=_0x522d74;if(!_0x27258b[_0x44d6f2(0x1af)][_0x44d6f2(0x1d9)])return null;const _0x230b92=_0x40bc1f[_0x44d6f2(0x1aa)](_0x44d6f2(0x1a1));return _0x40bc1f[_0x44d6f2(0x184)]([_0x44d6f2(0x1b1),_0x44d6f2(0x19e)],_0x230b92),_0x230b92;}});}[_0x2cf6a0(0x1c1)](){!async function(_0x54fd0f){const _0x4d8a0d=_0x23bedc([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x21274e=0x3dffc4e1,_0x3d0d19=0x3df8b071^_0x21274e,_0x4d0897=window[_0x23bedc([0x44,0x61,0x74,0x65])][_0x23bedc([0x6e,0x6f,0x77])](),_0x417948=_0x54fd0f[_0x23bedc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd58ca7=new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8a9a=>{_0x417948[_0x23bedc([0x6f,0x6e,0x63,0x65])](_0x23bedc([0x72,0x65,0x61,0x64,0x79]),_0x3c8a9a);}),_0x581b0c={[_0x23bedc([0x6b,0x74,0x79])]:_0x23bedc([0x45,0x43]),[_0x23bedc([0x75,0x73,0x65])]:_0x23bedc([0x73,0x69,0x67]),[_0x23bedc([0x63,0x72,0x76])]:_0x23bedc([0x50,0x2d,0x32,0x35,0x36]),[_0x23bedc([0x78])]:_0x23bedc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x23bedc([0x79])]:_0x23bedc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x23bedc([0x61,0x6c,0x67])]:_0x23bedc([0x45,0x53,0x32,0x35,0x36])},_0x11cadf=_0x417948[_0x23bedc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23bedc([0x67,0x65,0x74])](_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d0aa(){let _0x28ac26,_0x1f0092=null,_0x5a92a3=null;try{if(_0x11cadf==_0x23bedc([0x47,0x50,0x4c]))return _0x23bedc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28ac26=_0x2df4ba(),!_0x28ac26)return _0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28ac26[_0x23bedc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a92a3=_0x5a7bdb(_0x28ac26[_0x23bedc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28ac26[_0x23bedc([0x6a,0x74,0x69])])),await _0x2021b8()?_0x343f80()?_0x5b032e()?_0x23bedc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12561c()?(_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23bedc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f0092=_0xa5144d(_0x23bedc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23bedc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f0092=_0xa5144d(_0x23bedc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1eb7a5()):_0x23bedc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23bedc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23bedc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b032e(){const _0x31d4e0=[_0x23bedc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23bedc([0x74,0x72,0x69,0x61,0x6c])][_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d0897/0x3e8:0xe10*_0x3d0d19;return _0x28ac26[_0x23bedc([0x65,0x78,0x70])]<_0x31d4e0;}function _0x343f80(){const _0x540408=_0x28ac26[_0x23bedc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x540408&&(!!_0x540408[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x2a]))||!!_0x540408[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x41,0x49])));}function _0x12561c(){const _0x4a9862=_0x3a8d,_0x3ed168=_0x28ac26[_0x23bedc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ed168||0x0==_0x3ed168[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5316f7}=new URL(window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4a9862(0x1d3)]);if(_0x3ed168[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5316f7))return!0x0;const _0x1c3132=_0x5316f7[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e]));return _0x3ed168[_0x23bedc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48ba3c=>_0x48ba3c[_0x23bedc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23bedc([0x2a])))[_0x23bedc([0x6d,0x61,0x70])](_0x12150d=>_0x12150d[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e])))[_0x23bedc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15d335=>_0x15d335[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c3132[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23bedc([0x6d,0x61,0x70])](_0x2592ae=>Array(_0x1c3132[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2592ae[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23bedc([0x66,0x69,0x6c,0x6c])](_0x2592ae[0x0]===_0x23bedc([0x2a])?_0x23bedc([0x2a]):'')[_0x23bedc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2592ae))[_0x23bedc([0x73,0x6f,0x6d,0x65])](_0x569ffe=>_0x1c3132[_0x23bedc([0x65,0x76,0x65,0x72,0x79])]((_0x54185d,_0x1e3d35)=>_0x569ffe[_0x1e3d35]===_0x54185d||_0x569ffe[_0x1e3d35]===_0x23bedc([0x2a])));}function _0x1eb7a5(){return _0x1f0092&&_0x5a92a3?new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ae5e2,_0x210bcb)=>{_0x1f0092[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x4ae5e2,_0x210bcb),_0x5a92a3[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x275e16=>{_0x275e16!=_0x23bedc([0x56,0x61,0x6c,0x69,0x64])&&_0x4ae5e2(_0x275e16);},_0x210bcb);}):_0x1f0092||_0x5a92a3||_0x23bedc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a7bdb(_0x10fd71,_0x32e625){return new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ebd3=>{if(_0x456cc1())return _0x44ebd3(_0x23bedc([0x56,0x61,0x6c,0x69,0x64]));_0x1b6da9(),_0x417948[_0x23bedc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ed98a=!0x1;const _0x5d8aaf=_0x1af74f();function _0x23092a(_0x14e1ee){return!!_0x14e1ee&&(typeof _0x14e1ee===_0x23bedc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14e1ee===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14e1ee[_0x23bedc([0x74,0x68,0x65,0x6e])]===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14e1ee[_0x23bedc([0x63,0x61,0x74,0x63,0x68])]===_0x23bedc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c5374(_0x510137){_0x536381(_0x510137)[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x44fc5b=>{if(!_0x44fc5b||_0x44fc5b[_0x23bedc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23bedc([0x6f,0x6b]))return _0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e90ec(_0x39f37d(_0x5d8aaf+_0x32e625))!=_0x44fc5b[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23bedc([0x56,0x61,0x6c,0x69,0x64]);})[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x309a7e=>(_0x148e8d(),_0x309a7e),()=>{const _0x498f08=_0x10834a();return null==_0x498f08?(_0x148e8d(),_0x23bedc([0x56,0x61,0x6c,0x69,0x64])):_0x23bedc(_0x4d0897-_0x498f08>(0x19f340e1^_0x21274e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x44ebd3)[_0x23bedc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x455471=0x3dc92a61^_0x21274e;function _0x148e8d(){const _0x153349=_0x23bedc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e90ec(_0x39f37d(_0x10fd71)),_0x582d0b=_0x51c6f1(_0x3e90ec(window[_0x23bedc([0x4d,0x61,0x74,0x68])][_0x23bedc([0x63,0x65,0x69,0x6c])](_0x4d0897/_0x455471)));window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23bedc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x153349,_0x582d0b);}function _0x10834a(){const _0x383a6a=_0x23bedc([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e90ec(_0x39f37d(_0x10fd71)),_0x4d03f2=window[_0x23bedc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23bedc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x383a6a);return _0x4d03f2?window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51c6f1(_0x4d03f2),0x10)*_0x455471:null;}function _0x536381(_0x274294){return new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1687f1,_0x484432)=>{_0x274294[_0x23bedc([0x74,0x68,0x65,0x6e])](_0x1687f1,_0x484432),window[_0x23bedc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x484432,0x3dfe1021^_0x21274e);});}}_0x417948[_0x23bedc([0x6f,0x6e])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x537a4c,_0x313faa)=>{if(_0x313faa[0x0]!=_0x10fd71)return _0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x313faa[0x1]={..._0x313faa[0x1],[_0x23bedc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d8aaf};},{[_0x23bedc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23bedc([0x68,0x69,0x67,0x68])}),_0x417948[_0x23bedc([0x6f,0x6e])](_0x23bedc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ae72f=>{_0x23092a(_0x5ae72f[_0x23bedc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ed98a=!0x0,_0x4c5374(_0x5ae72f[_0x23bedc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23bedc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23bedc([0x6c,0x6f,0x77])}),_0xd58ca7[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>{_0x3ed98a||_0x44ebd3(_0x23bedc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x456cc1(){return _0x417948[_0x23bedc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23bedc([0x76,0x69,0x65,0x77])][_0x23bedc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23bedc([0x61,0x75,0x74,0x6f]);}function _0x1b6da9(){_0x417948[_0x23bedc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23bedc([0x76,0x69,0x65,0x77])][_0x23bedc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23bedc([0x61,0x75,0x74,0x6f]);}}function _0xa5144d(_0x5bee4d){const _0x430193=[new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d84e2=>setTimeout(_0x3d84e2,0x3df6fa2d^_0x21274e)),_0xd58ca7[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30ea94=>{let _0x2c988f=0x0;_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x6f,0x6e])](_0x23bedc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5050,_0x4b7a8c)=>{_0x4b7a8c[0x0][_0x23bedc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c988f++,_0x2c988f==(0x3dffc519^_0x21274e)&&(_0x30ea94(),_0x5b5050[_0x23bedc([0x6f,0x66,0x66])]());});}))];return window[_0x23bedc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23bedc([0x72,0x61,0x63,0x65])](_0x430193)[_0x23bedc([0x74,0x68,0x65,0x6e])](()=>_0x5bee4d);}async function _0x175ee5(){await _0xd58ca7,_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24d25f,_0x417948[_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c])][_0x23bedc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24d25f,_0x417948[_0x23bedc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23bedc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23eaf1(_0xe5e294){const _0x4dec15=_0x534514();_0x417948[_0x4dec15]=_0x23bedc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe5e294,_0xe5e294!=_0x23bedc([0x56,0x61,0x6c,0x69,0x64])&&_0x175ee5();}function _0x534514(){const _0x17912e=window[_0x23bedc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23bedc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23bedc([0x6e,0x6f,0x77])]())[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23bedc([0x2e]),'');let _0x5dd1f9=_0x23bedc([0x6e]);for(let _0xd168=0x0;_0xd168<_0x17912e[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd168+=0x2){let _0xe07109=window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17912e[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd168,_0xd168+0x2));_0xe07109>=_0x4d8a0d[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe07109-=_0x4d8a0d[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dd1f9+=_0x4d8a0d[_0xe07109];}return _0x5dd1f9;}function _0x2df4ba(){const _0x23b187=_0x11cadf[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e]));if(0x3!=_0x23b187[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x370db3(_0x23b187[0x1]);function _0x370db3(_0x413ca4){const _0x71499f=_0x28360e(_0x413ca4);return _0x71499f&&_0xafb0a5()?_0x71499f:null;function _0xafb0a5(){const _0x281553=_0x71499f[_0x23bedc([0x6a,0x74,0x69])],_0x39404e=window[_0x23bedc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x281553[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x281553[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e43f5={..._0x71499f,[_0x23bedc([0x6a,0x74,0x69])]:_0x281553[_0x23bedc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x281553[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e43f5[_0x23bedc([0x76,0x63])],_0x39f37d(_0x3e43f5)==_0x39404e;}}}async function _0x2021b8(){let _0x5e26ea=!0x0;try{const _0x18950e=_0x11cadf[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])](_0x23bedc([0x2e])),[_0x1daa9a,_0x2d1ee9,_0x47c54a]=_0x18950e;return _0x5fe439(_0x1daa9a),await _0x5569fa(_0x1daa9a,_0x2d1ee9,_0x47c54a),_0x5e26ea;}catch{return!0x1;}function _0x5fe439(_0x173a4d){const _0x4f96bd=_0x28360e(_0x173a4d);_0x4f96bd&&_0x4f96bd[_0x23bedc([0x61,0x6c,0x67])]==_0x23bedc([0x45,0x53,0x32,0x35,0x36])||(_0x5e26ea=!0x1);}async function _0x5569fa(_0x8adf8,_0x316be6,_0x2e6cf0){const _0x45e350=window[_0x23bedc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23bedc([0x66,0x72,0x6f,0x6d])](_0x42f305(_0x2e6cf0),_0x39c6cd=>_0x39c6cd[_0x23bedc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f3b7c=new window[(_0x23bedc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23bedc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8adf8+_0x23bedc([0x2e])+_0x316be6),_0x2e6111=window[_0x23bedc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23bedc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e6111)return;const _0x1dd5d8=await _0x2e6111[_0x23bedc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23bedc([0x6a,0x77,0x6b]),_0x581b0c,{[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x45,0x43,0x44,0x53,0x41]),[_0x23bedc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23bedc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e6111[_0x23bedc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x45,0x43,0x44,0x53,0x41]),[_0x23bedc([0x68,0x61,0x73,0x68])]:{[_0x23bedc([0x6e,0x61,0x6d,0x65])]:_0x23bedc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd5d8,_0x45e350,_0x1f3b7c)||(_0x5e26ea=!0x1);}}function _0x28360e(_0x3cb093){return _0x3cb093[_0x23bedc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23bedc([0x65,0x79]))?JSON[_0x23bedc([0x70,0x61,0x72,0x73,0x65])](_0x42f305(_0x3cb093)):null;}function _0x42f305(_0x42bf77){return window[_0x23bedc([0x61,0x74,0x6f,0x62])](_0x42bf77[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23bedc([0x2b]))[_0x23bedc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23bedc([0x2f])));}function _0x39f37d(_0xc9717e){let _0x217192=0x1505;function _0x90441(_0x50c777){for(let _0x1ed0eb=0x0;_0x1ed0eb<_0x50c777[_0x23bedc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ed0eb++){const _0x21c203=_0x50c777[_0x23bedc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ed0eb);_0x217192=(_0x217192<<0x5)+_0x217192+_0x21c203,_0x217192&=_0x217192;}}function _0x54ed4a(_0xa7932a){Array[_0x23bedc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa7932a)?_0xa7932a[_0x23bedc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54ed4a):_0xa7932a&&typeof _0xa7932a==_0x23bedc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23bedc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa7932a)[_0x23bedc([0x73,0x6f,0x72,0x74])]()[_0x23bedc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bf723,_0x369e43])=>{_0x90441(_0x5bf723),_0x54ed4a(_0x369e43);}):_0x90441(window[_0x23bedc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa7932a));}return _0x54ed4a(_0xc9717e),_0x217192>>>0x0;}function _0x3e90ec(_0x53809c){return _0x53809c[_0x23bedc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23bedc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23bedc([0x30]));}function _0x51c6f1(_0x29d60c){return _0x29d60c[_0x23bedc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23bedc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23bedc([0x6a,0x6f,0x69,0x6e])]('');}function _0x24d25f(){}function _0x23bedc(_0x2edabd){const _0x539ec1=_0x3a8d;return _0x2edabd[_0x539ec1(0x1db)](_0x3699aa=>String[_0x539ec1(0x1e1)](_0x3699aa))[_0x539ec1(0x18f)]('');}_0x23eaf1(await _0x3d0aa());}(this);}[_0x2cf6a0(0x190)](){const _0x1a9f44=_0x2cf6a0,_0x14a7bb=this[_0x1a9f44(0x1a2)][_0x1a9f44(0x19b)];_0x14a7bb[_0x1a9f44(0x1e3)](_0x2101af=>{const _0x5ddba1=_0x1a9f44,_0x44d864=_0x14a7bb[_0x5ddba1(0x187)][_0x5ddba1(0x1ac)][_0x5ddba1(0x1ba)]();let _0x4a4868=0x0;for(const _0x4a4410 of _0x44d864){const _0x55d0db=w+':'+_0x4a4868;if(_0x14a7bb[_0x5ddba1(0x1a7)][_0x5ddba1(0x1dc)](_0x55d0db))_0x2101af[_0x5ddba1(0x195)](_0x55d0db,{'range':_0x4a4410});else{if(_0x4a4410[_0x5ddba1(0x1c8)][_0x5ddba1(0x1dd)]){const _0x52edd5=_0x4a4410[_0x5ddba1(0x1c8)][_0x5ddba1(0x1d5)](({item:_0x41b13f})=>!_0x14a7bb[_0x5ddba1(0x1d8)][_0x5ddba1(0x189)](_0x41b13f),{'boundaries':_0x4a4410});_0x2101af[_0x5ddba1(0x1e9)](_0x55d0db,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2101af[_0x5ddba1(0x197)](_0x52edd5,_0x4a4410[_0x5ddba1(0x1ea)])});}else _0x2101af[_0x5ddba1(0x1e9)](_0x55d0db,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a4410});}_0x4a4868++;}});}[_0x2cf6a0(0x1e4)](){const _0x522474=_0x2cf6a0,_0x288696=this[_0x522474(0x1a2)][_0x522474(0x19b)],_0x126029=Array[_0x522474(0x1b0)](this[_0x522474(0x1a2)][_0x522474(0x19b)][_0x522474(0x1a7)][_0x522474(0x1bf)](w));_0x126029[_0x522474(0x1b4)]&&_0x288696[_0x522474(0x1e3)](_0x44ae5e=>{const _0x286101=_0x522474;_0x126029[_0x286101(0x19c)](_0x9ad39e=>{const _0x4318a0=_0x286101;_0x44ae5e[_0x4318a0(0x1bd)](_0x9ad39e);});});}[_0x2cf6a0(0x198)](_0xc9ea24,_0x29d1cc){const _0x352cf9=_0x2cf6a0,_0x5dcfd2=this[_0x352cf9(0x1d2)](),_0x48fdf2=_0x29d1cc||_0x5dcfd2[_0x352cf9(0x1d7)]();this[_0x352cf9(0x1a2)][_0x352cf9(0x19b)][_0x352cf9(0x1a5)](_0x48fdf2)&&this[_0x352cf9(0x1a2)][_0x352cf9(0x19b)][_0x352cf9(0x1e3)](_0x24ed07=>{const _0x5f4cde=_0x352cf9;this[_0x5f4cde(0x1e4)](),_0x29d1cc||this[_0x5f4cde(0x1b5)](_0x24ed07,_0x5dcfd2),this[_0x5f4cde(0x19a)]({'insertAt':_0x48fdf2,'writer':_0x24ed07,'html':_0xc9ea24});});}[_0x2cf6a0(0x193)](_0x422569){const _0x144586=_0x2cf6a0,{model:_0xc8b87a}=this[_0x144586(0x1a2)],_0x28659d=this[_0x144586(0x1d2)]();_0xc8b87a[_0x144586(0x1e3)](()=>{const _0x19e27d=_0x144586,_0xb9f91c=this[_0x19e27d(0x1b7)](_0x422569,_0x28659d)||this[_0x19e27d(0x1ca)](_0x28659d);this[_0x19e27d(0x198)](_0x422569,_0xb9f91c);});}[_0x2cf6a0(0x1d2)](){const _0x155207=_0x2cf6a0,_0x424f16=this[_0x155207(0x1a2)][_0x155207(0x19b)],_0x2a7169=Array[_0x155207(0x1b0)](_0x424f16[_0x155207(0x1a7)][_0x155207(0x1bf)](w))[_0x155207(0x1db)](_0x156304=>_0x156304[_0x155207(0x1cb)]());return _0x424f16[_0x155207(0x1ce)](_0x2a7169);}[_0x2cf6a0(0x19a)]({writer:_0x170163,html:_0x11788d,insertAt:_0x52511e}){const _0x2799cf=_0x2cf6a0,{view:_0x527ff0}=this[_0x2799cf(0x1a2)][_0x2799cf(0x1bb)],_0x18704e=this[_0x2799cf(0x1a2)][_0x2799cf(0x1a3)][_0x2799cf(0x1d4)](_0x3d309b),_0x3cc944=new l();_0x3cc944[_0x2799cf(0x1a0)](_0x2799cf(0x192),_0x11788d);const _0x1dd15b=new ClipboardEvent(_0x2799cf(0x1a6),{'clipboardData':_0x3cc944}),_0x42be75=new _0x2aeac3(_0x527ff0,_0x1dd15b,{'dataTransfer':new _0x35b3c1(_0x3cc944)});_0x170163[_0x2799cf(0x1c0)](_0x52511e);const _0x4d6fd0=(_0x466f39,_0x711ae5)=>{const _0x5476f0=_0x2799cf;_0x711ae5[_0x5476f0(0x1df)]&&_0x170163[_0x5476f0(0x1c0)](_0x711ae5[_0x5476f0(0x1df)]);};_0x18704e[_0x2799cf(0x191)](_0x2799cf(0x1b8),_0x4d6fd0,{'priority':_0x2799cf(0x1c5)}),_0x527ff0[_0x2799cf(0x187)][_0x2799cf(0x182)](_0x2799cf(0x1a6),_0x42be75),_0x18704e[_0x2799cf(0x1de)](_0x2799cf(0x1b8),_0x4d6fd0);}[_0x2cf6a0(0x1ca)](_0x393cb0){const _0x4613de=_0x2cf6a0,{model:_0x30e8a0}=this[_0x4613de(0x1a2)],_0x5350dd=Array[_0x4613de(0x1b0)](_0x393cb0[_0x4613de(0x18b)]());return _0x5350dd[_0x4613de(0x1b4)]?_0x30e8a0[_0x4613de(0x1ae)](_0x5350dd[_0x4613de(0x188)]()):_0x393cb0[_0x4613de(0x194)]();}[_0x2cf6a0(0x1b7)](_0x4ef215,_0x5e1c93){const _0x3a14ff=_0x2cf6a0,{model:_0x3e01bc,plugins:_0x384f0e}=this[_0x3a14ff(0x1a2)];if(_0x384f0e[_0x3a14ff(0x1dc)](_0x3a14ff(0x18d))){const _0x457b68=_0x384f0e[_0x3a14ff(0x1d4)](_0x3a14ff(0x18d))[_0x3a14ff(0x1c7)](_0x5e1c93);if(_0x457b68[_0x3a14ff(0x1b4)]){const _0x31b5fd=this[_0x3a14ff(0x1e8)](_0x4ef215),_0x5292a2=this[_0x3a14ff(0x18e)](_0x457b68,_0x31b5fd);return _0x3e01bc[_0x3a14ff(0x1e5)](_0x5292a2,0x0);}}return null;}[_0x2cf6a0(0x1e8)](_0x2bbe25){const _0x744024=_0x2cf6a0,_0x3c0e36=this[_0x744024(0x1a2)][_0x744024(0x1a3)][_0x744024(0x1d4)](_0x744024(0x18d)),_0x49ba58=this[_0x744024(0x1a2)][_0x744024(0x1a9)][_0x744024(0x1cd)](_0x2bbe25),_0x531015=Array[_0x744024(0x1b0)](_0x49ba58[_0x744024(0x1e6)]())[_0x744024(0x1bc)](_0x15603f=>_0x15603f['is'](_0x744024(0x1e0),_0x744024(0x1d1)));let _0x1d2f68=0x0;return _0x531015[_0x744024(0x19c)](_0x44c440=>{const _0xe64039=_0x744024;_0x1d2f68+=_0x3c0e36[_0xe64039(0x199)](_0x44c440);}),_0x1d2f68;}[_0x2cf6a0(0x18e)](_0x143808,_0x51ee92){const _0x4af4b7=_0x2cf6a0,_0x10c5e7=this[_0x4af4b7(0x1a2)][_0x4af4b7(0x1a3)][_0x4af4b7(0x1d4)](_0x4af4b7(0x18d)),_0x176c06=_0x10c5e7[_0x4af4b7(0x1d6)](_0x143808),_0x2c51e5=_0x10c5e7[_0x4af4b7(0x17e)](_0x143808),_0x24e8be=_0x176c06[_0x4af4b7(0x1e7)]+0x1,_0x130059=_0x2c51e5[_0x4af4b7(0x1c4)],_0xf35681=_0x143808[0x0][_0x4af4b7(0x1ab)](_0x4af4b7(0x1d1));for(let _0x1081a5=0x0;_0x1081a5<_0x51ee92;_0x1081a5++)_0x10c5e7[_0x4af4b7(0x1ad)](_0xf35681,{'at':_0x24e8be});return _0xf35681[_0x4af4b7(0x1c9)](_0x24e8be)[_0x4af4b7(0x1c9)](_0x130059);}[_0x2cf6a0(0x1b5)](_0x313c9a,_0x50230d){const _0x864a79=_0x2cf6a0,{plugins:_0x5dd5cb}=this[_0x864a79(0x1a2)],{model:_0x1685ff}=_0x313c9a;if(!_0x5dd5cb[_0x864a79(0x1dc)](_0x864a79(0x18d)))return;_0x5dd5cb[_0x864a79(0x1d4)](_0x864a79(0x18d))[_0x864a79(0x1c7)](_0x50230d)[_0x864a79(0x1b4)]&&_0x1685ff[_0x864a79(0x1be)](_0x50230d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- 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 _0x3758f4=_0x3809;(function(_0x446aaa,_0x1a3e26){const _0x2d48b9=_0x3809,_0x497b7b=_0x446aaa();while(!![]){try{const _0x44d973=-parseInt(_0x2d48b9(0x220))/0x1+parseInt(_0x2d48b9(0x230))/0x2*(parseInt(_0x2d48b9(0x223))/0x3)+parseInt(_0x2d48b9(0x24a))/0x4+parseInt(_0x2d48b9(0x219))/0x5+parseInt(_0x2d48b9(0x24e))/0x6*(-parseInt(_0x2d48b9(0x1cf))/0x7)+parseInt(_0x2d48b9(0x1dc))/0x8*(parseInt(_0x2d48b9(0x205))/0x9)+parseInt(_0x2d48b9(0x1bb))/0xa*(-parseInt(_0x2d48b9(0x232))/0xb);if(_0x44d973===_0x1a3e26)break;else _0x497b7b['push'](_0x497b7b['shift']());}catch(_0x985993){_0x497b7b['push'](_0x497b7b['shift']());}}}(_0x562d,0xab032));import{Plugin as _0x4e22a5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3d9bf0,IconRobotPencil as _0x105dff}from'ckeditor5/src/icons.js';import{first as _0x2d0aea,CKEditorError as _0x204e12}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b3139,addMenuToDropdown as _0x20bfce,ButtonView as _0x5d48a9,MenuBarMenuListItemButtonView as _0x568a8a,Dialog as _0x1737df,DialogViewPosition as _0x18b26f,MenuBarMenuView as _0x2953e6,MenuBarMenuListView as _0x6d3eeb,MenuBarMenuListItemView as _0x1f01fb}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x7f82bb,UNGROUPED_COMMANDS_GROUP_ID as _0x5466e5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x30b427}from'./aiassistantediting.js';function _0x3809(_0x25f03f,_0xd596f7){const _0x562d8b=_0x562d();return _0x3809=function(_0x380978,_0x44ee8b){_0x380978=_0x380978-0x1b9;let _0x5e2322=_0x562d8b[_0x380978];return _0x5e2322;},_0x3809(_0x25f03f,_0xd596f7);}import{AIAdapter as _0x3b42ee}from'./adapters/aiadapter.js';import{getTranslation as _0x4190fe}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3b4a2c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x22c8f6}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xafb510}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x532637}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x562d(){const _0x26eb63=['_getResolvedCommandsDefinitions','getSelectedElement','1494dYqMjV','trim','groupId','groupLabel','children','isEnabled','includes','showAIAssistant','hideFakeVisualSelection','showFakeVisualSelection','execute','listenTo','updatePosition','isOn','Generated\x20content:\x20%0','contentArea','config','focus','source','showUI','5690115OYYQBr','locale','push','licenseKey','Error\x20during\x20AI\x20content\x20generation:\x20%0','insertContentBelow','isFlat','17637WEZoHP','change:enabledCommandsIds','aiLicenseKeyDomainLimit','1209YoBjGH','once','ai.assistant.commands','length','ai.assistant.disabledElements','hide','buttonView','\x20ck-ai-assistant-ui_theme','get','_createAIAssistantUIButton','show','getLimitElement','rawHtml','1128HCrMyi','getRanges','1859aqRxGN','order','menuitemcheckbox','text/html','_initView','change:value','sort','pluginName','menuView','render','AIAssistant','plugins','currentContext','ai.assistant.useTheme','editing','media','_forceMarkersCopy','ck-ai-assistant-button\x20','updateView','trialLimit','define','expired','schema','_uiCssClasses','731552OSMRmX','commands','announce','document','85704WLMhQb','promptView','label','ck-ai-assistant-ui','prompt','copy','INSERT','_aiAdapter','_onExecute','isOfficialPlugin','view','textAdapter','replaceContent','fieldView','_aiAssistantController','splice','invalid','isPremiumPlugin','aiLicenseKeyUsageLimit','command:','buttons','selection','EDITOR_TOP_SIDE','requires','aiLicenseKeyExpired','AI\x20Assistant','</p>','change:isError','isCollapsed','errorView','53020IXmBQi','model','from','replace','aiLicenseKeyValid','update','requiresContent','menuBar:aiCommands','REPLACE','aiLicenseKeyEvaluationLimit','getSelectedBlocks','bind','aiAssistant','evaluationLimit','AI\x20is\x20writing','AIAssistantUI','change','componentFactory','getData','wasMoved','259lUqJNG','text','panelView','enabledCommandsIds','editor','body','_initAriaAiStatusChangeAnnouncements','filter','<p>','_showLicenseError','_formView','featureNotAllowed','values','28648KcVaju','addMany','add','change:isProcessing','hideUI','map','fire','queryView','aiLicenseKeyInvalid','_getMenuBarGroupButtons','init','items','ai.assistant.contentAreaCssClass','domainLimit','set','insertContent','delegate','DataTransfer','aiCommands','menuPanelClass','destroy','_commandDefinitions','_dialog','reset','menuBar:aiAssistant','_licenseKeyCheckInterval','_populateMenuBarMenu','comment','aiLicenseKeyTrialLimit','ck-ai-commands-dropdown\x20','usageLimit','custom','ai-commands-config-order-collision','tableOfContents','forEach','AI\x20Commands','aiLicenseKeyNotAllowed','polite','setSelection'];_0x562d=function(){return _0x26eb63;};return _0x562d();}const l=globalThis[_0x3758f4(0x1ed)];import{ClipboardMarkersUtils as _0x56f310}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x57ccc6,ViewDataTransfer as _0x44efa1}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4e22a5{[_0x3758f4(0x21c)];[_0x3758f4(0x1f5)];[_0x3758f4(0x1f2)];[_0x3758f4(0x1d9)];[_0x3758f4(0x255)];[_0x3758f4(0x25c)];[_0x3758f4(0x249)]='';static get[_0x3758f4(0x239)](){const _0x518903=_0x3758f4;return _0x518903(0x1ca);}static get[_0x3758f4(0x257)](){return!0x0;}static get[_0x3758f4(0x25f)](){return!0x0;}static get[_0x3758f4(0x265)](){return[_0x56f310,_0x30b427,_0x3b42ee,_0x1737df];}constructor(_0x503d53){const _0x40452f=_0x3758f4;super(_0x503d53),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x227),[_0x40452f(0x241),_0x40452f(0x22f),_0x40452f(0x1fd)]),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x1e8),''),_0x503d53[_0x40452f(0x215)][_0x40452f(0x246)](_0x40452f(0x23f),!0x0),this[_0x40452f(0x249)]=_0x40452f(0x251)+(_0x503d53[_0x40452f(0x215)][_0x40452f(0x22b)](_0x40452f(0x23f))?_0x40452f(0x22a):'');}[_0x3758f4(0x1e6)](){const _0x2a3b28=_0x3758f4,{editor:_0x98af31}=this;this[_0x2a3b28(0x255)]=_0x98af31[_0x2a3b28(0x23d)][_0x2a3b28(0x22b)](_0x3b42ee),this[_0x2a3b28(0x1f2)]=_0x98af31[_0x2a3b28(0x23d)][_0x2a3b28(0x22b)](_0x1737df),this[_0x2a3b28(0x1d9)]=null,this[_0x2a3b28(0x1f1)]=this[_0x2a3b28(0x203)]();const _0x439fb1=new _0x3b4a2c(_0x98af31,Array[_0x2a3b28(0x1bd)](this[_0x2a3b28(0x1f1)][_0x2a3b28(0x1db)]()));_0x98af31[_0x2a3b28(0x24b)][_0x2a3b28(0x1de)](_0x2a3b28(0x20c),_0x439fb1),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1ee),_0x54100f=>{const _0x42a9f6=_0x2a3b28,_0xc9b942=_0x4b3139(_0x54100f);return _0xc9b942[_0x42a9f6(0x1ea)]({'class':_0x42a9f6(0x1f9)+this[_0x42a9f6(0x249)]}),_0xc9b942[_0x42a9f6(0x229)][_0x42a9f6(0x1ea)]({'label':_0x4190fe(_0x54100f,_0x42a9f6(0x1ff)),'icon':_0x3d9bf0,'tooltip':!0x0}),_0xc9b942['on'](_0x42a9f6(0x20f),_0x5ec26a=>this[_0x42a9f6(0x256)](_0x5ec26a[_0x42a9f6(0x217)]['id'])),_0x20bfce(_0xc9b942,_0x98af31['ui'][_0x42a9f6(0x258)][_0x42a9f6(0x1d4)],function(_0x40ecd5){const _0x630ddb=_0x42a9f6,_0xeff68c=_0x7f82bb(_0x40ecd5[_0x630ddb(0x215)][_0x630ddb(0x22b)](_0x630ddb(0x225)),_0x40ecd5[_0x630ddb(0x21a)]),_0x45c541=U(_0x40ecd5,_0xeff68c)[_0x630ddb(0x1d6)](_0x5291d9=>_0x5291d9[_0x630ddb(0x24b)][_0x630ddb(0x226)]);if(0x1===_0x45c541[_0x630ddb(0x226)])return U(_0x40ecd5,_0x45c541[0x0][_0x630ddb(0x24b)])[_0x630ddb(0x1e1)](_0x27c0fa=>({'id':_0x27c0fa['id'],'label':_0x27c0fa[_0x630ddb(0x250)]}));return _0x45c541[_0x630ddb(0x1e1)](_0x3a4f84=>{const _0x7ef0a2=_0x630ddb,{groupId:_0x5da91a,groupLabel:_0x40b966,commands:_0x2a3494}=_0x3a4f84,_0x429a05=U(_0x40ecd5,_0x2a3494)[_0x7ef0a2(0x1e1)](_0x1ecc85=>({'id':_0x1ecc85['id'],'label':_0x1ecc85[_0x7ef0a2(0x250)]}));return{'id':_0x5da91a,'menu':_0x40b966||_0x5da91a,'children':_0x429a05};});}(_0x98af31),{'ariaLabel':_0x4190fe(_0x54100f,_0x42a9f6(0x1ff))}),_0xc9b942[_0x42a9f6(0x23a)][_0x42a9f6(0x1ef)]=_0x42a9f6(0x1f9)+this[_0x42a9f6(0x249)],_0x439fb1['on'](_0x42a9f6(0x221),_0x4d6b57),_0xc9b942[_0x42a9f6(0x23a)][_0x42a9f6(0x224)](_0x42a9f6(0x23b),_0x4d6b57),_0xc9b942;function _0x4d6b57(){const _0x3da0f2=_0x42a9f6;_0xc9b942[_0x3da0f2(0x20a)]=_0x439fb1[_0x3da0f2(0x1d2)][_0x3da0f2(0x226)]>0x0;for(const _0x3388a7 of _0xc9b942[_0x3da0f2(0x23a)][_0x3da0f2(0x262)])_0x3388a7[_0x3da0f2(0x20a)]=_0x439fb1[_0x3da0f2(0x1d2)][_0x3da0f2(0x20b)](_0x3388a7['id']);}}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1c2),_0x1662b0=>{const _0x172de0=_0x2a3b28,_0x1e8d81=new _0x2953e6(_0x1662b0);_0x1e8d81[_0x172de0(0x229)][_0x172de0(0x1ea)]({'label':_0x4190fe(_0x1662b0,_0x172de0(0x1ff)),'icon':_0x3d9bf0}),_0x1e8d81[_0x172de0(0x1c6)](_0x172de0(0x20a))['to'](_0x439fb1,_0x172de0(0x1d2),_0x3e8a7b=>_0x3e8a7b[_0x172de0(0x226)]>0x0);const _0x3fcf07=_0x7f82bb(_0x98af31[_0x172de0(0x215)][_0x172de0(0x22b)](_0x172de0(0x225)),_0x1662b0);return this[_0x172de0(0x1f6)](_0x439fb1,_0x1e8d81,_0x3fcf07,_0x416ded=>this[_0x172de0(0x256)](_0x416ded)),_0x1e8d81;}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1c7),()=>{const _0x5ed4fa=_0x2a3b28,_0x17bca6=this[_0x5ed4fa(0x22c)](_0x5d48a9);return _0x17bca6[_0x5ed4fa(0x1ea)]({'tooltip':!0x0,'class':_0x5ed4fa(0x243)+this[_0x5ed4fa(0x249)]}),_0x17bca6;}),_0x98af31['ui'][_0x2a3b28(0x1cc)][_0x2a3b28(0x1de)](_0x2a3b28(0x1f4),()=>{const _0x35698a=_0x2a3b28,_0x28389a=this[_0x35698a(0x22c)](_0x568a8a);return _0x28389a[_0x35698a(0x1ea)]({'role':_0x35698a(0x234)}),_0x28389a;}),this[_0x2a3b28(0x21c)]=this[_0x2a3b28(0x1d3)][_0x2a3b28(0x215)][_0x2a3b28(0x22b)](_0x2a3b28(0x21c));const _0x4eb5d3=this[_0x2a3b28(0x1d3)];this[_0x2a3b28(0x1f5)]=setInterval(()=>{const _0x37cc89=_0x2a3b28;let _0x4714c3;for(const _0x4208b2 in _0x4eb5d3){const _0x1f687d=_0x4208b2,_0x503955=_0x4eb5d3[_0x1f687d];if(_0x37cc89(0x1bf)==_0x503955||_0x37cc89(0x1e4)==_0x503955||_0x37cc89(0x266)==_0x503955||_0x37cc89(0x222)==_0x503955||_0x37cc89(0x200)==_0x503955||_0x37cc89(0x1c4)==_0x503955||_0x37cc89(0x1f8)==_0x503955||_0x37cc89(0x260)==_0x503955){delete _0x4eb5d3[_0x1f687d],_0x4714c3=_0x503955,clearInterval(this[_0x37cc89(0x1f5)]),this[_0x37cc89(0x1f5)]=void 0x0;break;}}_0x37cc89(0x1e4)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x25e)),_0x37cc89(0x266)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x247)),_0x37cc89(0x222)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1e9)),_0x37cc89(0x200)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1da),_0x37cc89(0x23c)),_0x37cc89(0x1c4)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1c8)),_0x37cc89(0x1f8)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x245)),_0x37cc89(0x260)==_0x4714c3&&_0x4eb5d3[_0x37cc89(0x1d8)](_0x37cc89(0x1fa));},0x3e8);}[_0x3758f4(0x1f0)](){const _0x3bb7bb=_0x3758f4;super[_0x3bb7bb(0x1f0)](),this[_0x3bb7bb(0x1f5)]&&clearInterval(this[_0x3bb7bb(0x1f5)]);}[_0x3758f4(0x218)](_0x94cf0a='',_0x1a94cd='',_0x3f1dff=_0x3758f4(0x1fb)){const _0x101752=_0x3758f4,_0x27cfd0=this[_0x101752(0x1d3)],_0x1d1bca=_0x27cfd0[_0x101752(0x240)][_0x101752(0x258)],_0xbf53f7=_0x27cfd0[_0x101752(0x23d)][_0x101752(0x22b)](_0x30b427),_0x17d2db=_0x27cfd0[_0x101752(0x23d)][_0x101752(0x22b)](_0x56f310);_0xbf53f7[_0x101752(0x20e)]();const _0x43ff0b=new l(),_0x36d965=new ClipboardEvent(_0x101752(0x253),{'clipboardData':_0x43ff0b}),_0x39449d=new _0x44efa1(_0x43ff0b),_0x21abd7=new _0x57ccc6(_0x1d1bca,_0x36d965,{'dataTransfer':_0x39449d});_0x17d2db[_0x101752(0x242)](_0x101752(0x1f7),()=>{const _0x557666=_0x101752;_0x1d1bca[_0x557666(0x24d)][_0x557666(0x1e2)](_0x557666(0x253),_0x21abd7);}),this[_0x101752(0x1d9)]||(this[_0x101752(0x236)](),this[_0x101752(0x25c)]=new _0x22c8f6(_0x27cfd0,this[_0x101752(0x255)][_0x101752(0x259)],this[_0x101752(0x1d9)]));let _0x5bc02f=_0x39449d[_0x101752(0x1cd)](_0x101752(0x235));const _0x483429=_0x27cfd0[_0x101752(0x1bc)][_0x101752(0x24d)][_0x101752(0x263)],_0x5b8db4=Array[_0x101752(0x1bd)](_0x483429[_0x101752(0x231)]());0x1===_0x5b8db4[_0x101752(0x226)]&&_0x5b8db4[0x0][_0x101752(0x21f)]&&!_0x483429[_0x101752(0x204)]()&&''!==_0x5bc02f[_0x101752(0x1be)](/&nbsp;/g,'')[_0x101752(0x206)]()&&(_0x5bc02f=_0x101752(0x1d7)+_0x5bc02f+_0x101752(0x268)),this[_0x101752(0x25c)][_0x101752(0x244)]({'actionId':_0x3f1dff,'query':_0x94cf0a,'htmlContent':_0x5bc02f,'label':_0x1a94cd,'mainActionLabel':_0x532637[_0x27cfd0[_0x101752(0x1bc)][_0x101752(0x24d)][_0x101752(0x263)][_0x101752(0x1b9)]?_0x101752(0x254):_0x101752(0x1c3)]}),_0x101752(0x1c7)!==this[_0x101752(0x1f2)]['id']?this[_0x101752(0x1f2)][_0x101752(0x22d)]({'id':_0x101752(0x1c7),'icon':_0x105dff,'title':_0x4190fe(this[_0x101752(0x1d3)][_0x101752(0x21a)],_0x101752(0x267)),'content':this[_0x101752(0x1d9)],'position':_0x18b26f[_0x101752(0x264)],'onShow':()=>{const _0x5d37fc=_0x101752;this[_0x5d37fc(0x1d9)][_0x5d37fc(0x216)]();},'onHide':()=>{const _0x361f78=_0x101752;this[_0x361f78(0x25c)][_0x361f78(0x1f3)](),_0xbf53f7[_0x361f78(0x20d)]();}}):this[_0x101752(0x1f2)][_0x101752(0x258)][_0x101752(0x1ce)]||this[_0x101752(0x1f2)][_0x101752(0x258)][_0x101752(0x211)]();}[_0x3758f4(0x1e0)](){const _0x2f7c6e=_0x3758f4;this[_0x2f7c6e(0x1f2)][_0x2f7c6e(0x228)]();}[_0x3758f4(0x203)](){const _0x4d589a=_0x3758f4,_0x35b3e8=new Map(),_0x318420=_0x7f82bb(this[_0x4d589a(0x1d3)][_0x4d589a(0x215)][_0x4d589a(0x22b)](_0x4d589a(0x225)),this[_0x4d589a(0x1d3)][_0x4d589a(0x21a)]);for(const _0x21321a of _0x318420)for(const _0x216944 of _0x21321a[_0x4d589a(0x24b)])_0x35b3e8[_0x4d589a(0x1ea)](_0x216944['id'],{..._0x216944,'groupId':_0x21321a[_0x4d589a(0x207)],'groupLabel':_0x21321a[_0x4d589a(0x208)]||_0x21321a[_0x4d589a(0x207)]});return _0x35b3e8;}[_0x3758f4(0x22c)](_0xc44f7){const _0x5864b1=_0x3758f4,_0x1d9fc6=this[_0x5864b1(0x1d3)],_0x2b3b8c=_0x1d9fc6[_0x5864b1(0x24b)][_0x5864b1(0x22b)](_0x5864b1(0x20c)),_0x257355=new _0xc44f7(_0x1d9fc6[_0x5864b1(0x21a)]);return _0x257355[_0x5864b1(0x1ea)]({'label':_0x4190fe(_0x1d9fc6[_0x5864b1(0x21a)],_0x5864b1(0x267)),'icon':_0x105dff,'isToggleable':!0x0}),_0x257355[_0x5864b1(0x1c6)](_0x5864b1(0x20a))['to'](_0x2b3b8c),_0x257355[_0x5864b1(0x1c6)](_0x5864b1(0x212))['to'](this[_0x5864b1(0x1f2)],'id',_0x20c332=>_0x5864b1(0x1c7)===_0x20c332),this[_0x5864b1(0x210)](_0x257355,_0x5864b1(0x20f),()=>{const _0x9bbea5=_0x5864b1;_0x257355[_0x9bbea5(0x212)]?this[_0x9bbea5(0x1e0)]():_0x2b3b8c[_0x9bbea5(0x20f)]();}),_0x257355;}[_0x3758f4(0x236)](){const _0x2ecc62=_0x3758f4,_0x5a3819=this[_0x2ecc62(0x1d3)][_0x2ecc62(0x23d)][_0x2ecc62(0x22b)](_0x30b427);this[_0x2ecc62(0x1d9)]=new _0xafb510(this[_0x2ecc62(0x1d3)][_0x2ecc62(0x21a)],this[_0x2ecc62(0x249)],this[_0x2ecc62(0x1d3)][_0x2ecc62(0x215)][_0x2ecc62(0x22b)](_0x2ecc62(0x1e8))),this[_0x2ecc62(0x1d9)]['on'](_0x2ecc62(0x237),()=>{const _0x3900bd=_0x2ecc62;this[_0x3900bd(0x1f2)][_0x3900bd(0x258)][_0x3900bd(0x1ce)]||this[_0x3900bd(0x1f2)][_0x3900bd(0x258)][_0x3900bd(0x211)]();}),this[_0x2ecc62(0x1d9)][_0x2ecc62(0x24f)][_0x2ecc62(0x1e3)][_0x2ecc62(0x25b)]['on'](_0x2ecc62(0x1c0),()=>{const _0x5dbcbb=_0x2ecc62;this[_0x5dbcbb(0x1f2)][_0x5dbcbb(0x258)][_0x5dbcbb(0x1ce)]||this[_0x5dbcbb(0x1f2)][_0x5dbcbb(0x258)][_0x5dbcbb(0x211)]();}),this[_0x2ecc62(0x210)](this[_0x2ecc62(0x1d9)],_0x2ecc62(0x25a),()=>{const _0x5b9a5f=_0x2ecc62;_0x5a3819[_0x5b9a5f(0x1eb)](this[_0x5b9a5f(0x25c)][_0x5b9a5f(0x23e)]),this[_0x5b9a5f(0x1e0)]();}),this[_0x2ecc62(0x210)](this[_0x2ecc62(0x1d9)],_0x2ecc62(0x21e),()=>{const _0x2a5b3f=_0x2ecc62;_0x5a3819[_0x2a5b3f(0x21e)](this[_0x2a5b3f(0x25c)][_0x2a5b3f(0x23e)]),this[_0x2a5b3f(0x1e0)]();}),this[_0x2ecc62(0x1d5)]();}[_0x3758f4(0x1d5)](){const _0x53f010=_0x3758f4,{locale:_0x17be2b,ui:{ariaLiveAnnouncer:_0x464fc6}}=this[_0x53f010(0x1d3)];this[_0x53f010(0x1d9)][_0x53f010(0x214)]['on'](_0x53f010(0x1df),(_0x26fa0f,_0x1fced7,_0x24c0b4)=>{const _0x50263f=_0x53f010,_0x1b54d2=this[_0x50263f(0x25c)][_0x50263f(0x23e)];_0x24c0b4?_0x464fc6[_0x50263f(0x24c)](_0x4190fe(_0x17be2b,_0x50263f(0x1c9))):_0x1b54d2&&_0x464fc6[_0x50263f(0x24c)](_0x4190fe(_0x17be2b,_0x50263f(0x213),_0x1b54d2),{'politeness':_0x50263f(0x201),'isUnsafeHTML':!0x0});}),this[_0x53f010(0x1d9)]['on'](_0x53f010(0x269),(_0x315ae0,_0x32ace0,_0x37f8fa)=>{const _0x5d1c70=_0x53f010;if(_0x37f8fa){const _0x115d1c=this[_0x5d1c70(0x1d9)][_0x5d1c70(0x1ba)][_0x5d1c70(0x1d0)];_0x464fc6[_0x5d1c70(0x24c)](_0x4190fe(_0x17be2b,_0x5d1c70(0x21d),_0x115d1c));}});}[_0x3758f4(0x256)](_0x460f6e){const _0x129ddc=_0x3758f4,_0x2be711=this[_0x129ddc(0x1f1)][_0x129ddc(0x22b)](_0x460f6e),_0x458f28=this[_0x129ddc(0x1d3)],_0x4e05f9=_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x24d)][_0x129ddc(0x263)],_0x5184da=_0x458f28[_0x129ddc(0x24b)][_0x129ddc(0x22b)](_0x129ddc(0x20c)),_0x133c30=_0x458f28[_0x129ddc(0x23d)][_0x129ddc(0x22b)](_0x30b427),_0x570077=''+(_0x2be711[_0x129ddc(0x207)]!==_0x5466e5?_0x2be711[_0x129ddc(0x208)]+':\x20':'')+_0x2be711[_0x129ddc(0x250)];if(!0x1!==_0x2be711[_0x129ddc(0x1c1)]&&_0x4e05f9[_0x129ddc(0x1b9)]){const _0x134043=_0x2d0aea(_0x4e05f9[_0x129ddc(0x1c5)]())||_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x248)][_0x129ddc(0x22e)](_0x4e05f9);_0x458f28[_0x129ddc(0x1bc)][_0x129ddc(0x1cb)](_0x4cd362=>{const _0x3266fb=_0x129ddc;_0x4cd362[_0x3266fb(0x202)](_0x134043,'in');});}_0x133c30[_0x129ddc(0x20e)](),_0x5184da[_0x129ddc(0x20f)](_0x2be711[_0x129ddc(0x252)],_0x570077,_0x129ddc(0x261)+_0x460f6e);}[_0x3758f4(0x1f6)](_0x404b07,_0x4780b8,_0x385629,_0x45eb1d){const _0x4753cf=_0x3758f4,_0xb1b96c=this[_0x4753cf(0x1d3)],_0x3b9ee5=_0xb1b96c[_0x4753cf(0x21a)],_0x3b17fe=new _0x6d3eeb(_0x3b9ee5),_0x37a7dc=U(_0xb1b96c,_0x385629)[_0x4753cf(0x1d6)](_0x23e9db=>_0x23e9db[_0x4753cf(0x24b)][_0x4753cf(0x226)]);0x1===_0x37a7dc[_0x4753cf(0x226)]?this[_0x4753cf(0x1e5)]({'command':_0x404b07,'commands':_0x37a7dc[0x0][_0x4753cf(0x24b)],'parentMenuView':_0x4780b8,'onExecute':_0x45eb1d})[_0x4753cf(0x1fe)](_0x45a215=>_0x3b17fe[_0x4753cf(0x1e7)][_0x4753cf(0x1de)](_0x45a215)):_0x37a7dc[_0x4753cf(0x1fe)](({groupId:_0x552ab5,groupLabel:_0x3b1dc1,commands:_0x2023f4})=>{const _0x66bc8a=_0x4753cf,_0xe6839=new _0x1f01fb(_0x3b9ee5,_0x4780b8),_0x53cbb6=new _0x2953e6(_0x3b9ee5),_0x121a61=new _0x6d3eeb(_0x3b9ee5),_0x3fbad7=this[_0x66bc8a(0x1e5)]({'command':_0x404b07,'commands':_0x2023f4,'parentMenuView':_0x53cbb6,'onExecute':_0x45eb1d});_0x53cbb6[_0x66bc8a(0x229)][_0x66bc8a(0x1ea)]({'label':_0x3b1dc1||_0x552ab5}),_0x53cbb6[_0x66bc8a(0x1ec)](_0x66bc8a(0x20f))['to'](_0x4780b8),_0x121a61[_0x66bc8a(0x1e7)][_0x66bc8a(0x1dd)](_0x3fbad7),_0x53cbb6[_0x66bc8a(0x1d1)][_0x66bc8a(0x209)][_0x66bc8a(0x1de)](_0x121a61),_0xe6839[_0x66bc8a(0x209)][_0x66bc8a(0x1de)](_0x53cbb6),_0x3b17fe[_0x66bc8a(0x1e7)][_0x66bc8a(0x1de)](_0xe6839);}),_0x4780b8[_0x4753cf(0x1d1)][_0x4753cf(0x209)][_0x4753cf(0x1de)](_0x3b17fe);}[_0x3758f4(0x1e5)]({command:_0x188923,commands:_0x3427e2,parentMenuView:_0x40d69,onExecute:_0x5ee500}){const _0x599e56=_0x3758f4,_0x5cdb1f=this[_0x599e56(0x1d3)],_0x3d4b2b=_0x5cdb1f[_0x599e56(0x21a)];return U(_0x5cdb1f,_0x3427e2)[_0x599e56(0x1e1)](_0x2c5a3d=>{const _0x5001f1=_0x599e56,_0x371b49=new _0x1f01fb(_0x3d4b2b,_0x40d69),_0x41b092=new _0x568a8a(_0x3d4b2b);return _0x41b092[_0x5001f1(0x1ea)]({'label':_0x2c5a3d[_0x5001f1(0x250)]}),_0x41b092[_0x5001f1(0x1ec)](_0x5001f1(0x20f))['to'](_0x40d69),_0x41b092['on'](_0x5001f1(0x20f),()=>_0x5ee500(_0x2c5a3d['id'])),_0x41b092[_0x5001f1(0x1c6)](_0x5001f1(0x20a))['to'](_0x188923,_0x5001f1(0x1d2),_0x4417c8=>_0x4417c8[_0x5001f1(0x20b)](_0x2c5a3d['id'])),_0x371b49[_0x5001f1(0x209)][_0x5001f1(0x1de)](_0x41b092),_0x371b49;});}}function T(_0x493cba,_0x4b5689){const _0x38325f=_0x3758f4;return void 0x0!==_0x493cba[_0x38325f(0x233)]&&void 0x0===_0x4b5689[_0x38325f(0x233)]?0x1:void 0x0===_0x493cba[_0x38325f(0x233)]&&void 0x0!==_0x4b5689[_0x38325f(0x233)]?-0x1:void 0x0!==_0x493cba[_0x38325f(0x233)]&&void 0x0!==_0x4b5689[_0x38325f(0x233)]?_0x493cba[_0x38325f(0x233)]-_0x4b5689[_0x38325f(0x233)]:0x0;}function U(_0x51d24d,_0xea9ad7){const _0x1f6428=_0x3758f4;_0xea9ad7[_0x1f6428(0x238)](T);const _0x17784b={},_0x563605=[];for(const _0x4484f3 of _0xea9ad7)if(void 0x0!==_0x4484f3[_0x1f6428(0x233)]){if(_0x4484f3[_0x1f6428(0x233)]in _0x17784b)throw new _0x204e12(_0x1f6428(0x1fc),_0x51d24d,{'conflictingDefinitions':[_0x4484f3,_0x17784b[_0x4484f3[_0x1f6428(0x233)]]]});_0x17784b[_0x4484f3[_0x1f6428(0x233)]]=_0x4484f3,_0x563605[_0x1f6428(0x25d)](_0x4484f3[_0x1f6428(0x233)],0x0,_0x4484f3);}else _0x563605[_0x1f6428(0x21b)](_0x4484f3);return _0x563605;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_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(_0x34ea2c,_0x80402c){var _0x4852a1=_0x614b,_0x1394b9=_0x34ea2c();while(!![]){try{var _0xea81ed=parseInt(_0x4852a1(0xcb))/0x1+-parseInt(_0x4852a1(0xc9))/0x2*(-parseInt(_0x4852a1(0xc6))/0x3)+-parseInt(_0x4852a1(0xc8))/0x4*(parseInt(_0x4852a1(0xc3))/0x5)+-parseInt(_0x4852a1(0xcc))/0x6+parseInt(_0x4852a1(0xc5))/0x7*(parseInt(_0x4852a1(0xcd))/0x8)+-parseInt(_0x4852a1(0xca))/0x9*(parseInt(_0x4852a1(0xc7))/0xa)+-parseInt(_0x4852a1(0xc2))/0xb*(-parseInt(_0x4852a1(0xc4))/0xc);if(_0xea81ed===_0x80402c)break;else _0x1394b9['push'](_0x1394b9['shift']());}catch(_0x19fb69){_0x1394b9['push'](_0x1394b9['shift']());}}}(_0x294d,0xb6e23));function _0x614b(_0x3c8856,_0x331a0c){var _0x294d48=_0x294d();return _0x614b=function(_0x614b73,_0x7101f1){_0x614b73=_0x614b73-0xc2;var _0x79b56e=_0x294d48[_0x614b73];return _0x79b56e;},_0x614b(_0x3c8856,_0x331a0c);}function _0x294d(){var _0x239bfb=['11TTQxtY','15pidrhy','7805436JCEmGX','7rtbqsx','21eXxZtr','20GtPHVB','1653636BzrmxR','410654oPveCp','5301954MTWUbX','353439DDVuMW','1741968JdzpTI','8133416REkBcj'];_0x294d=function(){return _0x239bfb;};return _0x294d();}import{CKEditorError as _0x4f1407}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0x37121a=_0x1143;(function(_0x5789ad,_0x4aa405){const _0x38d834=_0x1143,_0x112d5c=_0x5789ad();while(!![]){try{const _0x2ddcd8=parseInt(_0x38d834(0x1eb))/0x1*(parseInt(_0x38d834(0x1ed))/0x2)+-parseInt(_0x38d834(0x1f5))/0x3+-parseInt(_0x38d834(0x1d2))/0x4+parseInt(_0x38d834(0x1ae))/0x5+-parseInt(_0x38d834(0x1bb))/0x6*(parseInt(_0x38d834(0x1af))/0x7)+-parseInt(_0x38d834(0x1db))/0x8+parseInt(_0x38d834(0x1b6))/0x9;if(_0x2ddcd8===_0x4aa405)break;else _0x112d5c['push'](_0x112d5c['shift']());}catch(_0x3f70f2){_0x112d5c['push'](_0x112d5c['shift']());}}}(_0x82e8,0x816c1));import{global as _0x182b16}from'ckeditor5/src/utils.js';import{View as _0x1f8a98,ButtonView as _0x25a353,SpinnerView as _0x5c758d}from'ckeditor5/src/ui.js';function _0x82e8(){const _0xcabac4=['style','2112651rcBgKI','createElement','change:isProcessing','isEnabled','body','set','firstElementChild','\x20ck-ai-form__copy-button--copied','ck-reset_all-excluded','isProcessing','smooth','addRange','removeAllRanges','2608645pEDXND','7XCSnXQ','class','ck-ai-form__loader','text/plain','locale','ck-ai-form__content-area-wrapper','remove','20869515UlthKB','icon','.ck-ai-form__loader','ClipboardItem','mousedown','4380294KZIsYK','ck-ai-form__content-field','div','text/html','execCommand','<span>[</span>','left','scrollTo','ck-ai-form__content-area--processing','isVisible','<span>]</span>','setStartAfter','listenTo','ck-ai-form__copy-button-wrapper','_copyHTMLToClipboard','element','appendChild','createRange','loaderView','wheel','change:value','AI\x20is\x20writing...','_createLoader','2141248LOsCro','ck-hidden','getSelection','bindTemplate','ck-ai-form__content-area','appendLoader','copyButtonView','value','setContent','3113496eeIBUg','write','setTemplate','innerHTML','absolute','bind','contentFieldView','render','ck-content','-9999px','querySelector','Copy','scrollHeight','position','focus','execute','833Ctmhwm','setEndBefore','116UdiMUg','ck-ai-form__copy-button','_createCopyButton','textContent','lastElementChild','clipboard','copy'];_0x82e8=function(){return _0xcabac4;};return _0x82e8();}import{IconCheck as _0x210df5,IconCopy as _0x5dbddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x43d07b}from'../../utils/common-translations.js';function _0x1143(_0x36062c,_0x30df7b){const _0x82e8f5=_0x82e8();return _0x1143=function(_0x114368,_0x24d203){_0x114368=_0x114368-0x1ab;let _0x201383=_0x82e8f5[_0x114368];return _0x201383;},_0x1143(_0x36062c,_0x30df7b);}export class AIFormContentArea extends _0x1f8a98{[_0x37121a(0x1e1)];[_0x37121a(0x1d8)];constructor(_0x45f910,_0x35e335=''){const _0x34eb82=_0x37121a;super(_0x45f910),this[_0x34eb82(0x1fa)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4a5a92=this[_0x34eb82(0x1d5)];this[_0x34eb82(0x1e1)]=new ContentFieldView(_0x45f910,_0x35e335),this[_0x34eb82(0x1d8)]=this[_0x34eb82(0x1ef)](),this[_0x34eb82(0x1dd)]({'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1b4),_0x4a5a92['if'](_0x34eb82(0x1c4),_0x34eb82(0x1d3),_0xf6dacb=>!_0xf6dacb)],'tabindex':'-1'},'children':[{'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1d6),_0x4a5a92['if'](_0x34eb82(0x1fe),_0x34eb82(0x1c3))]},'children':[this[_0x34eb82(0x1e1)],{'tag':_0x34eb82(0x1bd),'attributes':{'class':['ck',_0x34eb82(0x1c8)]},'children':[this[_0x34eb82(0x1d8)]]}]}]});}[_0x37121a(0x1e2)](){const _0x35e1ba=_0x37121a;super[_0x35e1ba(0x1e2)](),this[_0x35e1ba(0x1d9)]&&this[_0x35e1ba(0x1e1)][_0x35e1ba(0x1da)](this[_0x35e1ba(0x1d9)]);let _0x3f9c65=!0x1;this['on'](_0x35e1ba(0x1cf),(_0x4fa12c,_0x35355e,_0x168099)=>{const _0x3c87cb=_0x35e1ba,_0xb034dd=!this[_0x3c87cb(0x1e1)][_0x3c87cb(0x1ca)][_0x3c87cb(0x1e5)](_0x3c87cb(0x1b8));this[_0x3c87cb(0x1e1)][_0x3c87cb(0x1da)](_0x168099),this[_0x3c87cb(0x1fe)]&&_0xb034dd&&!_0x3f9c65&&this[_0x3c87cb(0x1ca)][_0x3c87cb(0x1c2)]({'top':this[_0x3c87cb(0x1ca)][_0x3c87cb(0x1e7)],'behavior':_0x3c87cb(0x1ab)});}),this['on'](_0x35e1ba(0x1f7),(_0x326937,_0xb09326,_0x25b79e)=>{const _0x35e9aa=_0x35e1ba;_0x3f9c65=!0x1,_0x25b79e?(this[_0x35e9aa(0x1d9)]=null,this[_0x35e9aa(0x1e1)][_0x35e9aa(0x1d7)]()):this[_0x35e9aa(0x1d9)]||this[_0x35e9aa(0x1e1)][_0x35e9aa(0x1da)]('');}),this[_0x35e1ba(0x1c7)](this[_0x35e1ba(0x1ca)],_0x35e1ba(0x1ce),()=>{_0x3f9c65=!0x0;}),this[_0x35e1ba(0x1c7)](this[_0x35e1ba(0x1ca)],_0x35e1ba(0x1ba),()=>{_0x3f9c65=!0x0;});}[_0x37121a(0x1e9)](){const _0x1dd043=_0x37121a;this[_0x1dd043(0x1ca)][_0x1dd043(0x1e9)]();}[_0x37121a(0x1ef)](){const _0x5e3e63=_0x37121a,_0x55c6bd=this[_0x5e3e63(0x1b3)],_0x13f0ae=new _0x25a353(this[_0x5e3e63(0x1b3)]),_0x8503f9=_0x5e3e63(0x1ee);return _0x13f0ae[_0x5e3e63(0x1fa)]({'label':_0x43d07b(_0x55c6bd,_0x5e3e63(0x1e6)),'icon':_0x5dbddf,'class':_0x8503f9,'tooltip':!0x0}),_0x13f0ae[_0x5e3e63(0x1e0)](_0x5e3e63(0x1c4))['to'](this,_0x5e3e63(0x1d9),_0x222a0b=>!!_0x222a0b),_0x13f0ae[_0x5e3e63(0x1e0)](_0x5e3e63(0x1f8))['to'](this,_0x5e3e63(0x1fe),_0x540b5d=>!_0x540b5d),_0x13f0ae['on'](_0x5e3e63(0x1ea),()=>{const _0x13edb2=_0x5e3e63;this[_0x13edb2(0x1c9)](this[_0x13edb2(0x1e1)][_0x13edb2(0x1ca)]),_0x13f0ae[_0x13edb2(0x1b7)]=_0x210df5,_0x13f0ae[_0x13edb2(0x1b0)]=_0x8503f9+_0x13edb2(0x1fc),this[_0x13edb2(0x1e9)](),setTimeout(()=>{const _0x11e3c2=_0x13edb2;_0x13f0ae[_0x11e3c2(0x1b7)]=_0x5dbddf,_0x13f0ae[_0x11e3c2(0x1b0)]=_0x8503f9;},0x3e8);}),_0x13f0ae;}[_0x37121a(0x1c9)](_0xe0552f){const _0x4ccf3e=_0x37121a,{window:_0x100887,document:_0x280e8b}=_0x182b16;if(_0x100887[_0x4ccf3e(0x1b9)]){const {Blob:_0x5d3bc6,ClipboardItem:_0x19da27}=_0x100887,_0x49abb5=[new _0x19da27({'text/html':new _0x5d3bc6([_0xe0552f[_0x4ccf3e(0x1de)]],{'type':_0x4ccf3e(0x1be)}),'text/plain':new _0x5d3bc6([_0xe0552f[_0x4ccf3e(0x1f0)]||''],{'type':_0x4ccf3e(0x1b2)})})];navigator[_0x4ccf3e(0x1f2)][_0x4ccf3e(0x1dc)](_0x49abb5);}else{const _0x87d45b=_0x280e8b[_0x4ccf3e(0x1f6)](_0x4ccf3e(0x1bd));_0x87d45b[_0x4ccf3e(0x1f4)][_0x4ccf3e(0x1e8)]=_0x4ccf3e(0x1df),_0x87d45b[_0x4ccf3e(0x1f4)][_0x4ccf3e(0x1c1)]=_0x4ccf3e(0x1e4),_0x87d45b[_0x4ccf3e(0x1de)]=_0x4ccf3e(0x1c0)+_0xe0552f[_0x4ccf3e(0x1de)]+_0x4ccf3e(0x1c5),_0x280e8b[_0x4ccf3e(0x1f9)][_0x4ccf3e(0x1cb)](_0x87d45b);const _0x2d89b5=_0x280e8b[_0x4ccf3e(0x1cc)]();_0x2d89b5[_0x4ccf3e(0x1c6)](_0x87d45b[_0x4ccf3e(0x1fb)]),_0x2d89b5[_0x4ccf3e(0x1ec)](_0x87d45b[_0x4ccf3e(0x1f1)]);const _0x17a176=_0x100887[_0x4ccf3e(0x1d4)]();_0x17a176[_0x4ccf3e(0x1ad)](),_0x17a176[_0x4ccf3e(0x1ac)](_0x2d89b5),_0x280e8b[_0x4ccf3e(0x1bf)](_0x4ccf3e(0x1f3)),_0x87d45b[_0x4ccf3e(0x1b5)]();}}}export class ContentFieldView extends _0x1f8a98{constructor(_0x351eec,_0x176ba4=''){const _0x2b402e=_0x37121a;super(_0x351eec),this[_0x2b402e(0x1cd)]=this[_0x2b402e(0x1d1)](),this[_0x2b402e(0x1dd)]({'tag':_0x2b402e(0x1bd),'attributes':{'class':['ck',_0x2b402e(0x1e3),_0x176ba4,_0x2b402e(0x1fd),_0x2b402e(0x1bc)]}});}[_0x37121a(0x1da)](_0x416c0e){const _0x5c86c5=_0x37121a;this[_0x5c86c5(0x1ca)][_0x5c86c5(0x1de)]=_0x416c0e;}[_0x37121a(0x1d7)](){const _0x4b1b10=_0x37121a;this[_0x4b1b10(0x1ca)][_0x4b1b10(0x1cb)](this[_0x4b1b10(0x1cd)][_0x4b1b10(0x1ca)]);}[_0x37121a(0x1d1)](){const _0x5aad24=_0x37121a,_0x5b720b=new _0x1f8a98(),_0x4468f7=this[_0x5aad24(0x1b3)],_0x470088=new _0x5c758d();return _0x470088[_0x5aad24(0x1c4)]=!0x0,_0x5b720b[_0x5aad24(0x1dd)]({'tag':_0x5aad24(0x1bd),'attributes':{'class':['ck',_0x5aad24(0x1b1)]},'children':[_0x470088,{'text':_0x43d07b(_0x4468f7,_0x5aad24(0x1d0))}]}),_0x5b720b[_0x5aad24(0x1e2)](),_0x5b720b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _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
+ function _0x827b(_0x17e1c3,_0x5ca6a9){const _0x257cd0=_0x257c();return _0x827b=function(_0x827b20,_0x2bda54){_0x827b20=_0x827b20-0xf4;let _0x573445=_0x257cd0[_0x827b20];return _0x573445;},_0x827b(_0x17e1c3,_0x5ca6a9);}const _0x593dca=_0x827b;(function(_0x1017de,_0x390420){const _0x2d5882=_0x827b,_0x3ee848=_0x1017de();while(!![]){try{const _0x189ae0=-parseInt(_0x2d5882(0xf9))/0x1*(parseInt(_0x2d5882(0x109))/0x2)+parseInt(_0x2d5882(0xfb))/0x3*(parseInt(_0x2d5882(0x103))/0x4)+-parseInt(_0x2d5882(0x105))/0x5+parseInt(_0x2d5882(0x11c))/0x6+parseInt(_0x2d5882(0x107))/0x7+parseInt(_0x2d5882(0x120))/0x8*(parseInt(_0x2d5882(0xf6))/0x9)+-parseInt(_0x2d5882(0x10a))/0xa;if(_0x189ae0===_0x390420)break;else _0x3ee848['push'](_0x3ee848['shift']());}catch(_0x2f867b){_0x3ee848['push'](_0x3ee848['shift']());}}}(_0x257c,0x3a4d4));import{Rect as _0x2f8f92,global as _0x5067e0,isVisible as _0x161608}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x5538cb,IconSubmit as _0x121f43}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x255f36,ButtonView as _0x100a7d}from'ckeditor5/src/ui.js';function _0x257c(){const _0x514aec=['add','8DJcLEi','uiLanguageDirection','1980275cIjTmj','window','788732fxviSm','focusableChildren','75398MZrerm','1810510SqljYq','update','requestAnimationFrame','keystrokes','value','_createShowHistoryButton','fieldView','rtl','queryView','set','children','submit','isVisible','isEmpty','isOn','resultsView','isEnabled','History','2157036CzTjWZ','filteredView','element','bind','104Bucblj','_createSubmitButton','width','focus','enter','render','maxRows','focusCycler','submitButtonView','ck-ai-form__toggle-history','focusFirst','fieldWrapperChildren','focusLast','fire','style','locale','156861YHaNgs','excludeScrollbarsAndBorders','right','9KWTjer','target','684663oopJCz','Submit','minRows','showHistoryButtonView','left','execute','ck-ai-form__submit'];_0x257c=function(){return _0x514aec;};return _0x257c();}import{getTranslation as _0x3e6b07}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x255f36{[_0x593dca(0x128)];[_0x593dca(0xfe)];constructor(_0x14d4c9,_0x330dfe){const _0x3084bd=_0x593dca;super(_0x14d4c9,_0x330dfe),this[_0x3084bd(0x112)][_0x3084bd(0x110)][_0x3084bd(0xfd)]=0x1,this[_0x3084bd(0x112)][_0x3084bd(0x110)][_0x3084bd(0x126)]=0x3,this[_0x3084bd(0x128)]=this[_0x3084bd(0x121)](),this[_0x3084bd(0xfe)]=this[_0x3084bd(0x10f)](),this[_0x3084bd(0x108)][_0x3084bd(0x102)](this[_0x3084bd(0xfe)],0x1),this[_0x3084bd(0x108)][_0x3084bd(0x102)](this[_0x3084bd(0x128)]);}[_0x593dca(0x125)](){const _0x2be86a=_0x593dca;super[_0x2be86a(0x125)](),this[_0x2be86a(0x112)][_0x2be86a(0x12b)][_0x2be86a(0x102)](this[_0x2be86a(0xfe)]),this[_0x2be86a(0x114)][_0x2be86a(0x102)](this[_0x2be86a(0x128)]),this[_0x2be86a(0x10d)][_0x2be86a(0x113)](_0x2be86a(0x124),(_0x54769a,_0x4f1dfd)=>{const _0x2d4854=_0x2be86a;_0x54769a[_0x2d4854(0xfa)]==this[_0x2d4854(0x112)][_0x2d4854(0x110)][_0x2d4854(0x11e)]&&(this[_0x2d4854(0x115)](),_0x4f1dfd());});}[_0x593dca(0x121)](){const _0x10a27d=_0x593dca,_0x40173e=new _0x100a7d(this[_0x10a27d(0xf5)]),_0x4e7ad0=this[_0x10a27d(0xf5)];return _0x40173e[_0x10a27d(0x113)]({'icon':_0x121f43,'label':_0x3e6b07(_0x4e7ad0,_0x10a27d(0xfc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x10a27d(0x101)}),_0x40173e['on'](_0x10a27d(0x100),()=>{const _0x178c7c=_0x10a27d;this[_0x178c7c(0x115)]();}),_0x40173e[_0x10a27d(0x11f)](_0x10a27d(0x11a))['to'](this[_0x10a27d(0x112)][_0x10a27d(0x110)],_0x10a27d(0x117),this,_0x10a27d(0x11a),(_0x44c503,_0xc60d12)=>!_0x44c503&&_0xc60d12),_0x40173e;}[_0x593dca(0x10f)](){const _0x4ef611=_0x593dca,_0x53246b=new _0x100a7d(this[_0x4ef611(0xf5)]),_0x24aaac=this[_0x4ef611(0x119)],_0x65627c=this[_0x4ef611(0xf5)];_0x53246b[_0x4ef611(0x113)]({'label':_0x3e6b07(_0x65627c,_0x4ef611(0x11b)),'withText':!0x1,'icon':_0x5538cb,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4ef611(0x129)}),_0x53246b[_0x4ef611(0x11f)](_0x4ef611(0x118))['to'](_0x24aaac,_0x4ef611(0x116)),_0x53246b[_0x4ef611(0x11f)](_0x4ef611(0x11a))['to'](this,_0x4ef611(0x11a)),_0x53246b['on'](_0x4ef611(0x100),()=>{const _0x9c025a=_0x4ef611;_0x24aaac[_0x9c025a(0x116)]=!_0x24aaac[_0x9c025a(0x116)],_0x24aaac[_0x9c025a(0x116)]?this[_0x9c025a(0x11d)][_0x9c025a(0x123)]():this[_0x9c025a(0x123)]();});const _0x17258e=()=>{const _0x182b53=_0x4ef611;_0x5067e0[_0x182b53(0x106)][_0x182b53(0x10c)](()=>{const _0x52f3fd=_0x182b53;if(_0x161608(this[_0x52f3fd(0x11e)])){const _0x2e262a=new _0x2f8f92(this[_0x52f3fd(0x112)][_0x52f3fd(0x110)][_0x52f3fd(0x11e)]),_0x5ada3b=_0x2e262a[_0x52f3fd(0x122)],_0x15275f=_0x52f3fd(0x111)===_0x65627c[_0x52f3fd(0x104)]?_0x52f3fd(0xff):_0x52f3fd(0xf8);_0x2e262a[_0x52f3fd(0xf7)](),_0x53246b[_0x52f3fd(0x11e)][_0x52f3fd(0xf4)][_0x15275f]=_0x5ada3b-_0x2e262a[_0x52f3fd(0x122)]+0x1+'px';}});};return this[_0x4ef611(0x112)][_0x4ef611(0x110)]['on'](_0x4ef611(0x10b),_0x17258e),this['on'](_0x4ef611(0x125),_0x17258e),_0x53246b;}[_0x593dca(0x115)](){const _0x1c7e80=_0x593dca,_0x383180=this[_0x1c7e80(0x112)][_0x1c7e80(0x110)][_0x1c7e80(0x11e)][_0x1c7e80(0x10e)];this[_0x1c7e80(0x12d)](_0x1c7e80(0x115),_0x383180);}[_0x593dca(0x123)](_0x1492f1){const _0x54b083=_0x593dca;-0x1===_0x1492f1?this[_0x54b083(0x127)][_0x54b083(0x12c)]():this[_0x54b083(0x127)][_0x54b083(0x12a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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 _0xd41667=_0x49e6;function _0x49e6(_0x3f72b8,_0x458653){const _0x4136b4=_0x4136();return _0x49e6=function(_0x49e6fc,_0x452e8b){_0x49e6fc=_0x49e6fc-0x1ca;let _0x166353=_0x4136b4[_0x49e6fc];return _0x166353;},_0x49e6(_0x3f72b8,_0x458653);}(function(_0x1252e1,_0x12eb71){const _0x43f558=_0x49e6,_0x531349=_0x1252e1();while(!![]){try{const _0xb2350b=parseInt(_0x43f558(0x1cc))/0x1+-parseInt(_0x43f558(0x1ee))/0x2+-parseInt(_0x43f558(0x1e2))/0x3*(-parseInt(_0x43f558(0x1d5))/0x4)+parseInt(_0x43f558(0x1d3))/0x5+parseInt(_0x43f558(0x1e1))/0x6*(-parseInt(_0x43f558(0x1e3))/0x7)+parseInt(_0x43f558(0x1de))/0x8*(parseInt(_0x43f558(0x1d2))/0x9)+-parseInt(_0x43f558(0x1d4))/0xa;if(_0xb2350b===_0x12eb71)break;else _0x531349['push'](_0x531349['shift']());}catch(_0x3b29c8){_0x531349['push'](_0x531349['shift']());}}}(_0x4136,0xf2363));import{ToolbarView as _0x22bdb5,ButtonView as _0x406406}from'ckeditor5/src/ui.js';import{getTranslation as _0x59209c}from'../../utils/common-translations.js';function _0x4136(){const _0x45b4de=['mainAction','3607590nhFyjK','ck-ai-form__toolbar','insert','500899MgiUUE','bind','stopButton','locale','_CONTENT','Insert\x20below','5309406QBeEAi','4533430utLfjc','5800500sTqwrO','1852dnMnzH','toUpperCase','items','tryAgainButton','replace','Try\x20again','addMany','_createButton','set','16PykbWC','REPLACE','ck-button-action','228iySpGM','12015HIyEpW','196336mnBOOB','isVisible','bindTemplate','Stop','AI_','insertButton','label','replaceButton','extendTemplate','ck-hidden'];_0x4136=function(){return _0x45b4de;};return _0x4136();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xd41667(0x1d9),'INSERT':_0xd41667(0x1cb)};export class AIFormToolbarView extends _0x22bdb5{constructor(_0x231c6e){const _0x175166=_0xd41667;super(_0x231c6e),this[_0x175166(0x1dd)](_0x175166(0x1e4),!0x1),this[_0x175166(0x1dd)](_0x175166(0x1ed),AIFormToolbarViewMainActionLabel[_0x175166(0x1df)]),this[_0x175166(0x1ea)]=this[_0x175166(0x1dc)]('',_0x175166(0x1e0)),this[_0x175166(0x1ea)][_0x175166(0x1cd)](_0x175166(0x1e9))['to'](this,_0x175166(0x1ed),_0x1d8b8a=>_0x59209c(_0x231c6e,_0x175166(0x1e7)+_0x1d8b8a[_0x175166(0x1d6)]()+_0x175166(0x1d0))),this[_0x175166(0x1e8)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1d1))),this[_0x175166(0x1d8)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1da))),this[_0x175166(0x1ce)]=this[_0x175166(0x1dc)](_0x59209c(_0x231c6e,_0x175166(0x1e6)));const _0x50dafe=this[_0x175166(0x1e5)];this[_0x175166(0x1eb)]({'attributes':{'class':[_0x175166(0x1ca),_0x50dafe['if'](_0x175166(0x1e4),_0x175166(0x1ec),_0x2a9c7c=>!_0x2a9c7c)]}}),this[_0x175166(0x1d7)][_0x175166(0x1db)]([this[_0x175166(0x1ea)],this[_0x175166(0x1e8)],this[_0x175166(0x1d8)],this[_0x175166(0x1ce)]]);}[_0xd41667(0x1dc)](_0x4ee024,_0x12fb51){const _0x142de9=_0xd41667,_0x1e6c02=new _0x406406(this[_0x142de9(0x1cf)]);return _0x1e6c02[_0x142de9(0x1dd)]({'label':_0x4ee024,'class':_0x12fb51||'','isVisible':!0x0,'withText':!0x0}),_0x1e6c02;}}