@ckeditor/ckeditor5-ai 47.7.0-alpha.3 → 47.7.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46cf3e=_0x1436;(function(_0x3f0e70,_0x2599a4){var _0x3cfd71=_0x1436,_0x5edace=_0x3f0e70();while(!![]){try{var _0x3930ac=parseInt(_0x3cfd71(0x179))/0x1+-parseInt(_0x3cfd71(0x186))/0x2*(-parseInt(_0x3cfd71(0x17d))/0x3)+parseInt(_0x3cfd71(0x17f))/0x4+-parseInt(_0x3cfd71(0x181))/0x5*(-parseInt(_0x3cfd71(0x17b))/0x6)+-parseInt(_0x3cfd71(0x187))/0x7+parseInt(_0x3cfd71(0x185))/0x8+-parseInt(_0x3cfd71(0x182))/0x9;if(_0x3930ac===_0x2599a4)break;else _0x5edace['push'](_0x5edace['shift']());}catch(_0x26c52f){_0x5edace['push'](_0x5edace['shift']());}}}(_0x2574,0xb7c5c));import{Plugin as _0x4a2eb0}from'ckeditor5/src/core.js';import{CKEditorError as _0x23fc21}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x4a2eb0{static get[_0x46cf3e(0x180)](){var _0xbab63b=_0x46cf3e;return _0xbab63b(0x183);}static get[_0x46cf3e(0x17a)](){return!0x0;}static get[_0x46cf3e(0x178)](){return!0x0;}[_0x46cf3e(0x17e)](){var _0x511b05=_0x46cf3e;if(!this[_0x511b05(0x188)])throw new _0x23fc21(_0x511b05(0x17c),null);}}function _0x1436(_0x45202b,_0x24d50a){var _0x25744d=_0x2574();return _0x1436=function(_0x1436a8,_0x44f4b7){_0x1436a8=_0x1436a8-0x177;var _0x1d8991=_0x25744d[_0x1436a8];return _0x1d8991;},_0x1436(_0x45202b,_0x24d50a);}export class AIRequestError extends Error{constructor(_0x4ccece){var _0x240168=_0x46cf3e;super(_0x4ccece),this[_0x240168(0x177)]=_0x240168(0x184);}}function _0x2574(){var _0x5bd8d9=['95328KyHnjC','pluginName','4632515BHmPki','17558208RcOCfs','AIAdapter','AIRequestError','3785128oeVJkS','2110MrcTDI','6437704tNvlJX','textAdapter','name','isPremiumPlugin','1093145zQXnoW','isOfficialPlugin','6xkiQkj','aiadapter-text-adapter-not-set','3147qxqaPl','afterInit'];_0x2574=function(){return _0x5bd8d9;};return _0x2574();}
23
+ var _0xa307f7=_0x249f;function _0x249f(_0x15b784,_0x2842de){var _0x6968a9=_0x6968();return _0x249f=function(_0x249feb,_0xd643dd){_0x249feb=_0x249feb-0x11c;var _0xefb22=_0x6968a9[_0x249feb];return _0xefb22;},_0x249f(_0x15b784,_0x2842de);}(function(_0x54c0b7,_0x5416a8){var _0x47b68e=_0x249f,_0x49d111=_0x54c0b7();while(!![]){try{var _0x3c2353=parseInt(_0x47b68e(0x129))/0x1*(-parseInt(_0x47b68e(0x12e))/0x2)+parseInt(_0x47b68e(0x12c))/0x3*(-parseInt(_0x47b68e(0x11d))/0x4)+parseInt(_0x47b68e(0x122))/0x5*(parseInt(_0x47b68e(0x12a))/0x6)+parseInt(_0x47b68e(0x11e))/0x7*(parseInt(_0x47b68e(0x127))/0x8)+parseInt(_0x47b68e(0x130))/0x9*(-parseInt(_0x47b68e(0x126))/0xa)+parseInt(_0x47b68e(0x123))/0xb*(parseInt(_0x47b68e(0x11c))/0xc)+parseInt(_0x47b68e(0x124))/0xd*(parseInt(_0x47b68e(0x125))/0xe);if(_0x3c2353===_0x5416a8)break;else _0x49d111['push'](_0x49d111['shift']());}catch(_0x5d1a8d){_0x49d111['push'](_0x49d111['shift']());}}}(_0x6968,0xac0c2));import{Plugin as _0x737fc8}from'ckeditor5/src/core.js';import{CKEditorError as _0x367b77}from'ckeditor5/src/utils.js';function _0x6968(){var _0x277414=['AIRequestError','33322dNwydF','pluginName','45vOPMaf','isOfficialPlugin','AIAdapter','1524Snuaqs','1084QFydYU','4963217bOXLpY','afterInit','name','aiadapter-text-adapter-not-set','5ZanAXE','107657hzCLIw','263211WlyxhF','266DmLTtg','1899050uHAMTJ','8geJJYB','isPremiumPlugin','27oEySvw','121488whlkpz','textAdapter','2799VklfIz'];_0x6968=function(){return _0x277414;};return _0x6968();}export class AIAdapter extends _0x737fc8{static get[_0xa307f7(0x12f)](){var _0x43aa1b=_0xa307f7;return _0x43aa1b(0x132);}static get[_0xa307f7(0x131)](){return!0x0;}static get[_0xa307f7(0x128)](){return!0x0;}[_0xa307f7(0x11f)](){var _0x53cecd=_0xa307f7;if(!this[_0x53cecd(0x12b)])throw new _0x367b77(_0x53cecd(0x121),null);}}export class AIRequestError extends Error{constructor(_0x54009f){var _0x25791b=_0xa307f7;super(_0x54009f),this[_0x25791b(0x120)]=_0x25791b(0x12d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f8059=_0x529e;(function(_0x12de8b,_0x409b4b){const _0x4bcaa0=_0x529e,_0x572bf5=_0x12de8b();while(!![]){try{const _0x1eeef1=parseInt(_0x4bcaa0(0x1da))/0x1*(parseInt(_0x4bcaa0(0x1f6))/0x2)+-parseInt(_0x4bcaa0(0x1e7))/0x3*(parseInt(_0x4bcaa0(0x1f7))/0x4)+parseInt(_0x4bcaa0(0x1f3))/0x5*(parseInt(_0x4bcaa0(0x1dc))/0x6)+parseInt(_0x4bcaa0(0x1ef))/0x7+parseInt(_0x4bcaa0(0x1d4))/0x8+-parseInt(_0x4bcaa0(0x1f4))/0x9+parseInt(_0x4bcaa0(0x1d7))/0xa*(parseInt(_0x4bcaa0(0x1e4))/0xb);if(_0x1eeef1===_0x409b4b)break;else _0x572bf5['push'](_0x572bf5['shift']());}catch(_0x2912c3){_0x572bf5['push'](_0x572bf5['shift']());}}}(_0x1dc5,0x910a6));import{Plugin as _0x28fb64}from'ckeditor5/src/core.js';import{CKEditorError as _0x409811}from'ckeditor5/src/utils.js';import{AIAdapter as _0x30ec7b,AIRequestError as _0x73ef3b}from'./aiadapter.js';function _0x1dc5(){const _0x2e6d23=['error','get','resolve','editor','AI_ERROR_GET_PARAMETERS','_prepareRequestHeaders','locale','38929BrNnJY','name','assign','177kknWIf','object','signal','abortController','makeRequest','plugins','AbortError','_prepareRequestParameters','1204350kpPTOY','aitextadapter-send-request-failed','requires','textAdapter','15FATaVc','7728894uyFhKo','sendRequest','90fqLavB','45992AQBmsO','abort','catch','2603064EQvAdd','init','aborted','1220PKACPG','application/json','AI_ERROR_GET_HEADERS','10546DjGGmL','reject','1454946qZAYcr'];_0x1dc5=function(){return _0x2e6d23;};return _0x1dc5();}import{getTranslation as _0x4dfa96}from'../utils/common-translations.js';function _0x529e(_0x136d21,_0x5773bf){const _0x1dc52c=_0x1dc5();return _0x529e=function(_0x529e8a,_0x5ac8b7){_0x529e8a=_0x529e8a-0x1d2;let _0x3281fa=_0x1dc52c[_0x529e8a];return _0x3281fa;},_0x529e(_0x136d21,_0x5773bf);}export class AITextAdapter extends _0x28fb64{[_0x3f8059(0x1ea)];static get[_0x3f8059(0x1f1)](){return[_0x30ec7b];}constructor(_0x288853){const _0x4342b9=_0x3f8059;super(_0x288853),this[_0x4342b9(0x1ea)]=new AbortController();}[_0x3f8059(0x1d5)](){const _0x191565=_0x3f8059;this[_0x191565(0x1e0)][_0x191565(0x1ec)][_0x191565(0x1de)](_0x30ec7b)[_0x191565(0x1f2)]=this;}[_0x3f8059(0x1d2)](){const _0x5bcdad=_0x3f8059;this[_0x5bcdad(0x1ea)][_0x5bcdad(0x1e9)][_0x5bcdad(0x1d6)]||(this[_0x5bcdad(0x1ea)][_0x5bcdad(0x1d2)](),this[_0x5bcdad(0x1ea)]=new AbortController());}async[_0x3f8059(0x1eb)](_0x28e5c8){const _0xfddecc=_0x3f8059;return this[_0xfddecc(0x1f5)](_0x28e5c8)[_0xfddecc(0x1d3)](_0x2fdc09=>{const _0x975c3a=_0xfddecc;if(_0x2fdc09 instanceof _0x73ef3b)return Promise[_0x975c3a(0x1db)](_0x2fdc09);if(_0x975c3a(0x1ed)==_0x2fdc09[_0x975c3a(0x1e5)])return Promise[_0x975c3a(0x1df)]();throw console[_0x975c3a(0x1dd)](_0x2fdc09),new _0x409811(_0x975c3a(0x1f0),null);});}async[_0x3f8059(0x1e2)](_0x2bf6f1,_0x3b86cf){const _0x468c2d=_0x3f8059,_0xea23e6=this[_0x468c2d(0x1e0)][_0x468c2d(0x1e3)],_0x443919={'Content-Type':_0x468c2d(0x1d8)};if(_0x468c2d(0x1e8)==typeof _0x2bf6f1)Object[_0x468c2d(0x1e6)](_0x443919,_0x2bf6f1);else{if(_0x2bf6f1)try{const _0x152dc8=await _0x2bf6f1(_0x3b86cf);Object[_0x468c2d(0x1e6)](_0x443919,_0x152dc8);}catch{return Promise[_0x468c2d(0x1db)](new _0x73ef3b(_0x4dfa96(_0xea23e6,_0x468c2d(0x1d9))));}}return _0x443919;}async[_0x3f8059(0x1ee)](_0x1c4827,_0x1caa7b){const _0x2d2671=_0x3f8059,_0x378ba0=this[_0x2d2671(0x1e0)][_0x2d2671(0x1e3)];if(_0x2d2671(0x1e8)==typeof _0x1c4827)return _0x1c4827;try{return await _0x1c4827(_0x1caa7b);}catch{return Promise[_0x2d2671(0x1db)](new _0x73ef3b(_0x4dfa96(_0x378ba0,_0x2d2671(0x1e1))));}}}
23
+ const _0x149a12=_0x5f4d;(function(_0x54c576,_0x393d46){const _0x3397d1=_0x5f4d,_0x392673=_0x54c576();while(!![]){try{const _0x5748f6=parseInt(_0x3397d1(0x19f))/0x1+parseInt(_0x3397d1(0x190))/0x2+parseInt(_0x3397d1(0x18e))/0x3*(parseInt(_0x3397d1(0x18a))/0x4)+parseInt(_0x3397d1(0x198))/0x5+parseInt(_0x3397d1(0x199))/0x6+parseInt(_0x3397d1(0x19a))/0x7*(parseInt(_0x3397d1(0x1a6))/0x8)+parseInt(_0x3397d1(0x192))/0x9*(-parseInt(_0x3397d1(0x194))/0xa);if(_0x5748f6===_0x393d46)break;else _0x392673['push'](_0x392673['shift']());}catch(_0x56393d){_0x392673['push'](_0x392673['shift']());}}}(_0x2313,0x940cc));function _0x5f4d(_0x18fd0e,_0x49f93b){const _0x23134b=_0x2313();return _0x5f4d=function(_0x5f4d2e,_0x21dd9a){_0x5f4d2e=_0x5f4d2e-0x185;let _0x4366aa=_0x23134b[_0x5f4d2e];return _0x4366aa;},_0x5f4d(_0x18fd0e,_0x49f93b);}import{Plugin as _0x36761b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2239ea}from'ckeditor5/src/utils.js';import{AIAdapter as _0x1871ed,AIRequestError as _0x28789a}from'./aiadapter.js';import{getTranslation as _0xb5dc0b}from'../utils/common-translations.js';function _0x2313(){const _0x3c2efa=['2309556PEnrDC','14ybEiJv','requires','AI_ERROR_GET_HEADERS','abortController','catch','335213faOzsl','resolve','_prepareRequestHeaders','error','aborted','signal','reject','2859688deBnxK','locale','assign','AbortError','AI_ERROR_GET_PARAMETERS','aitextadapter-send-request-failed','object','application/json','abort','404WXPKqF','sendRequest','makeRequest','name','15729jdDnIi','textAdapter','444242XFHoEN','get','12365406NShABp','init','20OONshZ','plugins','editor','_prepareRequestParameters','5837775efTdaM'];_0x2313=function(){return _0x3c2efa;};return _0x2313();}export class AITextAdapter extends _0x36761b{[_0x149a12(0x19d)];static get[_0x149a12(0x19b)](){return[_0x1871ed];}constructor(_0x47095a){const _0x4848f6=_0x149a12;super(_0x47095a),this[_0x4848f6(0x19d)]=new AbortController();}[_0x149a12(0x193)](){const _0x1bcc48=_0x149a12;this[_0x1bcc48(0x196)][_0x1bcc48(0x195)][_0x1bcc48(0x191)](_0x1871ed)[_0x1bcc48(0x18f)]=this;}[_0x149a12(0x189)](){const _0x23c5e0=_0x149a12;this[_0x23c5e0(0x19d)][_0x23c5e0(0x1a4)][_0x23c5e0(0x1a3)]||(this[_0x23c5e0(0x19d)][_0x23c5e0(0x189)](),this[_0x23c5e0(0x19d)]=new AbortController());}async[_0x149a12(0x18c)](_0x1d4462){const _0x3a2ba0=_0x149a12;return this[_0x3a2ba0(0x18b)](_0x1d4462)[_0x3a2ba0(0x19e)](_0x551334=>{const _0x3e4aa6=_0x3a2ba0;if(_0x551334 instanceof _0x28789a)return Promise[_0x3e4aa6(0x1a5)](_0x551334);if(_0x3e4aa6(0x1a9)==_0x551334[_0x3e4aa6(0x18d)])return Promise[_0x3e4aa6(0x1a0)]();throw console[_0x3e4aa6(0x1a2)](_0x551334),new _0x2239ea(_0x3e4aa6(0x186),null);});}async[_0x149a12(0x1a1)](_0x290323,_0x3bd0c6){const _0x22a1d3=_0x149a12,_0x1a51dd=this[_0x22a1d3(0x196)][_0x22a1d3(0x1a7)],_0x21d779={'Content-Type':_0x22a1d3(0x188)};if(_0x22a1d3(0x187)==typeof _0x290323)Object[_0x22a1d3(0x1a8)](_0x21d779,_0x290323);else{if(_0x290323)try{const _0xe88b1a=await _0x290323(_0x3bd0c6);Object[_0x22a1d3(0x1a8)](_0x21d779,_0xe88b1a);}catch{return Promise[_0x22a1d3(0x1a5)](new _0x28789a(_0xb5dc0b(_0x1a51dd,_0x22a1d3(0x19c))));}}return _0x21d779;}async[_0x149a12(0x197)](_0x46e17f,_0x4a6016){const _0x4c130e=_0x149a12,_0x4c7a6a=this[_0x4c130e(0x196)][_0x4c130e(0x1a7)];if(_0x4c130e(0x187)==typeof _0x46e17f)return _0x46e17f;try{return await _0x46e17f(_0x4a6016);}catch{return Promise[_0x4c130e(0x1a5)](new _0x28789a(_0xb5dc0b(_0x4c7a6a,_0x4c130e(0x185))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f3126=_0x4e4a;function _0x4bd3(){var _0x4f779e=['36sRpzth','8892610pDUXor','4pmhqcj','sendRequest','211401qpvqUK','AWSTextAdapter','locale','372KwkZtH','107247ymBIhu','162ayVHHJ','pluginName','init','194558VhNEZm','10dYbtRE','539816ZfniJC','editor','3712790nEyguv','ai-aws-adapter-not-supported','AI_ERROR_AWS_NOT_SUPPORTED','731951ONxvzV'];_0x4bd3=function(){return _0x4f779e;};return _0x4bd3();}(function(_0x604fb2,_0x57632f){var _0x447967=_0x4e4a,_0xf129ea=_0x604fb2();while(!![]){try{var _0x547648=-parseInt(_0x447967(0x8b))/0x1+-parseInt(_0x447967(0x8c))/0x2*(-parseInt(_0x447967(0x97))/0x3)+parseInt(_0x447967(0x95))/0x4*(-parseInt(_0x447967(0x94))/0x5)+-parseInt(_0x447967(0x88))/0x6*(-parseInt(_0x447967(0x87))/0x7)+-parseInt(_0x447967(0x8d))/0x8*(parseInt(_0x447967(0x93))/0x9)+parseInt(_0x447967(0x8f))/0xa+-parseInt(_0x447967(0x92))/0xb*(-parseInt(_0x447967(0x86))/0xc);if(_0x547648===_0x57632f)break;else _0xf129ea['push'](_0xf129ea['shift']());}catch(_0x10d1ce){_0xf129ea['push'](_0xf129ea['shift']());}}}(_0x4bd3,0xe9a88));import{AITextAdapter as _0x2da155}from'./aitextadapter.js';function _0x4e4a(_0x682456,_0x527902){var _0x4bd337=_0x4bd3();return _0x4e4a=function(_0x4e4a42,_0x8f6811){_0x4e4a42=_0x4e4a42-0x86;var _0x57eae3=_0x4bd337[_0x4e4a42];return _0x57eae3;},_0x4e4a(_0x682456,_0x527902);}import{AIRequestError as _0x40cd55}from'./aiadapter.js';import{getTranslation as _0xd4eb7a}from'../utils/common-translations.js';import{logWarning as _0x3e8ff5,logError as _0x48e33c}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x2da155{static get[_0x4f3126(0x89)](){var _0x47aaac=_0x4f3126;return _0x47aaac(0x98);}[_0x4f3126(0x8a)](){var _0x4ea2b5=_0x4f3126;super[_0x4ea2b5(0x8a)](),_0x3e8ff5(_0x4ea2b5(0x90));}async[_0x4f3126(0x96)](_0x1d6d7e){var _0x319ebf=_0x4f3126;throw _0x48e33c(_0x319ebf(0x90)),new _0x40cd55(_0xd4eb7a(this[_0x319ebf(0x8e)][_0x319ebf(0x99)],_0x319ebf(0x91)));}}
23
+ var _0x23f1c7=_0x1555;(function(_0x12e143,_0x69fc83){var _0x242081=_0x1555,_0x2b8bf1=_0x12e143();while(!![]){try{var _0x556edc=-parseInt(_0x242081(0x11e))/0x1*(-parseInt(_0x242081(0x129))/0x2)+-parseInt(_0x242081(0x124))/0x3*(-parseInt(_0x242081(0x12b))/0x4)+-parseInt(_0x242081(0x11d))/0x5+parseInt(_0x242081(0x122))/0x6+-parseInt(_0x242081(0x121))/0x7*(parseInt(_0x242081(0x11b))/0x8)+parseInt(_0x242081(0x12d))/0x9*(parseInt(_0x242081(0x127))/0xa)+-parseInt(_0x242081(0x125))/0xb*(-parseInt(_0x242081(0x12c))/0xc);if(_0x556edc===_0x69fc83)break;else _0x2b8bf1['push'](_0x2b8bf1['shift']());}catch(_0x4ca94e){_0x2b8bf1['push'](_0x2b8bf1['shift']());}}}(_0x7d49,0xde019));function _0x1555(_0x37adbe,_0x468f09){var _0x7d49f=_0x7d49();return _0x1555=function(_0x15552c,_0xc339cd){_0x15552c=_0x15552c-0x11b;var _0x22d16b=_0x7d49f[_0x15552c];return _0x22d16b;},_0x1555(_0x37adbe,_0x468f09);}import{AITextAdapter as _0x4cf999}from'./aitextadapter.js';import{AIRequestError as _0x2d6ecf}from'./aiadapter.js';import{getTranslation as _0x5e0517}from'../utils/common-translations.js';function _0x7d49(){var _0x3fba4f=['2JmOFCY','sendRequest','52092WJJoRr','119544PNbsQa','18099xllqVF','AI_ERROR_AWS_NOT_SUPPORTED','5296fqSJLN','ai-aws-adapter-not-supported','4510250MvyYZq','409052ToGkNS','AWSTextAdapter','locale','5670yspnez','6879078hzsCcS','init','63PcdCuv','33Kaxdjr','editor','2430ITvWcE','pluginName'];_0x7d49=function(){return _0x3fba4f;};return _0x7d49();}import{logWarning as _0x1430bd,logError as _0x53d351}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x4cf999{static get[_0x23f1c7(0x128)](){var _0x53fad6=_0x23f1c7;return _0x53fad6(0x11f);}[_0x23f1c7(0x123)](){var _0x5b9f8f=_0x23f1c7;super[_0x5b9f8f(0x123)](),_0x1430bd(_0x5b9f8f(0x11c));}async[_0x23f1c7(0x12a)](_0x5c6e6a){var _0x34b684=_0x23f1c7;throw _0x53d351(_0x34b684(0x11c)),new _0x2d6ecf(_0x5e0517(this[_0x34b684(0x126)][_0x34b684(0x120)],_0x34b684(0x12e)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d32f5=_0xf1e4;(function(_0x2cb136,_0x89bc6a){const _0x35c9a1=_0xf1e4,_0x38a0bf=_0x2cb136();while(!![]){try{const _0x4032e4=-parseInt(_0x35c9a1(0x161))/0x1+-parseInt(_0x35c9a1(0x14c))/0x2*(parseInt(_0x35c9a1(0x17f))/0x3)+-parseInt(_0x35c9a1(0x159))/0x4+-parseInt(_0x35c9a1(0x166))/0x5+parseInt(_0x35c9a1(0x182))/0x6+-parseInt(_0x35c9a1(0x183))/0x7*(parseInt(_0x35c9a1(0x163))/0x8)+-parseInt(_0x35c9a1(0x169))/0x9*(-parseInt(_0x35c9a1(0x15f))/0xa);if(_0x4032e4===_0x89bc6a)break;else _0x38a0bf['push'](_0x38a0bf['shift']());}catch(_0xa1565e){_0x38a0bf['push'](_0x38a0bf['shift']());}}}(_0x13cf,0x84a58));import{AITextAdapter as _0x1693d6}from'./aitextadapter.js';import{AIRequestError as _0x38388f}from'./aiadapter.js';import{getTranslation as _0x19d0c9}from'../utils/common-translations.js';function _0x13cf(){const _0x377f7c=['split','POST','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','filter','Moderation','[DONE]','user','_prepareRequestParameters','join','ai.assistant.adapter.openAI.apiUrl','decode','_apiUrl','_requestParameters','json','740085YPYHVt','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','map','2286078LbANrh','14Hucayg','https://api.openai.com/v1/chat/completions','read','locale','define','gpt-4o','Instruction:\x0a','OpenAITextAdapter','abortController','getReader','_isBufferIncomplete','content','ai.assistant.adapter.openAI.requestParameters','includes','config','2yaWSSa','_cleanUpData','sendRequest','parse','pluginName','stringify','data:\x20','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','message','ai.assistant.adapter.openAI.requestHeaders','_readStreamableResponse','context_length_exceeded','editor','3985960CwiEdn','system','AI_ERROR_MODERATION','signal','reject','body','20DGJzaa','replace','635133XtOoXa','get','1815224QUrjmx','_requestHeaders','stream','2068935EKykfK','delta','prepareMessages','13086981kFcITb','AI_ERROR_CONTEXT_LENGTH','text','resolve','choices','_readStaticResponse','_prepareRequestHeaders','length'];_0x13cf=function(){return _0x377f7c;};return _0x13cf();}function _0xf1e4(_0x5fb67e,_0x387c52){const _0x13cf2c=_0x13cf();return _0xf1e4=function(_0xf1e484,_0x30e335){_0xf1e484=_0xf1e484-0x141;let _0x3b20cd=_0x13cf2c[_0xf1e484];return _0x3b20cd;},_0xf1e4(_0x5fb67e,_0x387c52);}export class OpenAITextAdapter extends _0x1693d6{[_0x4d32f5(0x17c)];[_0x4d32f5(0x164)];[_0x4d32f5(0x17d)];static get[_0x4d32f5(0x150)](){const _0x3eb216=_0x4d32f5;return _0x3eb216(0x144);}constructor(_0x55250f){const _0x1f6f60=_0x4d32f5;super(_0x55250f),_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x141)](_0x1f6f60(0x17a),_0x1f6f60(0x184)),_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x162)](_0x1f6f60(0x149))||_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x141)](_0x1f6f60(0x149),{'model':_0x1f6f60(0x142),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x1f6f60(0x17c)]=_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x162)](_0x1f6f60(0x17a)),this[_0x1f6f60(0x164)]=_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x162)](_0x1f6f60(0x155))||{},this[_0x1f6f60(0x17d)]=_0x55250f[_0x1f6f60(0x14b)][_0x1f6f60(0x162)](_0x1f6f60(0x149));}async[_0x4d32f5(0x14e)]({query:_0x157d40,context:_0x1a7e3a,onData:_0x4631b4,actionId:_0x4f9119}){const _0x2b0e5a=_0x4d32f5,_0x24f296=this[_0x2b0e5a(0x158)][_0x2b0e5a(0x186)],_0x2fb476=await this[_0x2b0e5a(0x168)](_0x157d40,_0x1a7e3a,_0x4f9119),_0x1dfcf4=await this[_0x2b0e5a(0x16f)](this[_0x2b0e5a(0x164)],_0x4f9119),_0x33e855=await this[_0x2b0e5a(0x178)](this[_0x2b0e5a(0x17d)],_0x4f9119),_0x3b5ebd={'messages':_0x2fb476,..._0x33e855},_0x3f9854={'method':_0x2b0e5a(0x172),'headers':_0x1dfcf4,'body':JSON[_0x2b0e5a(0x151)](_0x3b5ebd),'signal':this[_0x2b0e5a(0x145)][_0x2b0e5a(0x15c)]},_0x5ae5ae=await fetch(this[_0x2b0e5a(0x17c)],_0x3f9854);if(_0x5ae5ae['ok'])return _0x33e855[_0x2b0e5a(0x165)]?await this[_0x2b0e5a(0x156)](_0x5ae5ae,_0x4631b4):await this[_0x2b0e5a(0x16e)](_0x5ae5ae,_0x4631b4),Promise[_0x2b0e5a(0x16c)]();{const _0x38f749=await _0x5ae5ae[_0x2b0e5a(0x16b)]();return _0x38f749[_0x2b0e5a(0x14a)](_0x2b0e5a(0x157))?Promise[_0x2b0e5a(0x15d)](new _0x38388f(_0x19d0c9(_0x24f296,_0x2b0e5a(0x16a)))):_0x38f749[_0x2b0e5a(0x14a)](_0x2b0e5a(0x175))?Promise[_0x2b0e5a(0x15d)](new _0x38388f(_0x19d0c9(_0x24f296,_0x2b0e5a(0x15b)))):Promise[_0x2b0e5a(0x15d)](new Error(_0x38f749));}}async[_0x4d32f5(0x168)](_0x5d3f38,_0x56381e,_0x79342f){const _0x299717=_0x4d32f5;let _0x51ad65,_0x67540c;return _0x56381e?(_0x51ad65=_0x299717(0x153),_0x67540c=_0x299717(0x143)+_0x5d3f38+_0x299717(0x173)+_0x56381e):(_0x51ad65=_0x299717(0x180),_0x67540c=_0x5d3f38),[{'role':_0x299717(0x15a),'content':_0x51ad65},{'role':_0x299717(0x177),'content':_0x67540c}];}async[_0x4d32f5(0x156)](_0x5f1bd4,_0x96d8ba){const _0x14cd60=_0x4d32f5,_0x51cb06=_0x5f1bd4[_0x14cd60(0x15e)][_0x14cd60(0x146)](),_0x1a4893=new TextDecoder();let _0x4d16ad='',_0x345bd4='',_0x795c5c='',_0x5d8ce9=!0x1;for(;!_0x5d8ce9;){const {done:_0x3cef00,value:_0x509d7e}=await _0x51cb06[_0x14cd60(0x185)](),_0x315c3b=_0x4d16ad+_0x1a4893[_0x14cd60(0x17b)](_0x509d7e);let _0x50756e='';_0x5d8ce9=_0x3cef00;try{_0x50756e=this[_0x14cd60(0x14d)](_0x315c3b),_0x4d16ad='';}catch{_0x4d16ad=_0x315c3b;continue;}_0x345bd4+=_0x50756e,!_0x5d8ce9&&this[_0x14cd60(0x147)](_0x345bd4)||_0x345bd4&&(_0x795c5c+=_0x345bd4,_0x345bd4='',_0x96d8ba(_0x795c5c));}return Promise[_0x14cd60(0x16c)]();}async[_0x4d32f5(0x16e)](_0x3eca4d,_0x5f2910){const _0x318791=_0x4d32f5;return _0x5f2910((await _0x3eca4d[_0x318791(0x17e)]())[_0x318791(0x16d)][0x0][_0x318791(0x154)][_0x318791(0x148)]),Promise[_0x318791(0x16c)]();}[_0x4d32f5(0x147)](_0x2bfee3){const _0x217647=_0x4d32f5,_0x2feae5=_0x2bfee3[_0x217647(0x171)]('<')[_0x217647(0x170)]!==_0x2bfee3[_0x217647(0x171)]('>')[_0x217647(0x170)],_0x4ecb7b=_0x2bfee3[_0x217647(0x170)]<0x1e;return _0x2feae5&&_0x4ecb7b;}[_0x4d32f5(0x14d)](_0x228680){const _0x2c9690=_0x4d32f5;return _0x228680[_0x2c9690(0x171)](/\n(?![^{]*\})/g)[_0x2c9690(0x181)](_0xb3f1de=>_0xb3f1de[_0x2c9690(0x160)](_0x2c9690(0x152),''))[_0x2c9690(0x174)](_0x5e0e60=>_0x5e0e60&&_0x5e0e60[_0x2c9690(0x170)]>0x0&&_0x2c9690(0x176)!==_0x5e0e60)[_0x2c9690(0x181)](_0x51ce74=>{const _0x1dd3bc=_0x2c9690,{choices:_0xac36d3}=JSON[_0x1dd3bc(0x14f)](_0x51ce74);if(_0xac36d3[0x0]?.[_0x1dd3bc(0x167)]?.[_0x1dd3bc(0x148)])return _0xac36d3[0x0][_0x1dd3bc(0x167)][_0x1dd3bc(0x148)];})[_0x2c9690(0x174)](_0x178274=>_0x178274)[_0x2c9690(0x179)]('');}}
23
+ function _0xc341(){const _0x493247=['editor','context_length_exceeded','reject','_prepareRequestHeaders','replace','text','758405wguWmk','Instruction:\x0a','define','3777556jphNXm','pluginName','gpt-4o','_cleanUpData','map','user','data:\x20','stream','length','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','sendRequest','parse','resolve','filter','ai.assistant.adapter.openAI.requestParameters','_readStreamableResponse','stringify','content','_apiUrl','Moderation','6obioRl','abortController','_requestParameters','choices','body','split','AI_ERROR_MODERATION','_isBufferIncomplete','ai.assistant.adapter.openAI.requestHeaders','6LEVxJk','includes','2506385HYIBtI','delta','https://api.openai.com/v1/chat/completions','232344TrLFOR','[DONE]','read','message','getReader','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','OpenAITextAdapter','_readStaticResponse','get','617042WhhXCY','_prepareRequestParameters','signal','AI_ERROR_CONTEXT_LENGTH','10930870CWQKpm','decode','locale','POST','system','207Ypehzc','join','config','json','_requestHeaders','prepareMessages','ai.assistant.adapter.openAI.apiUrl','866876xHkFdb'];_0xc341=function(){return _0x493247;};return _0xc341();}const _0xd63eb2=_0x593e;(function(_0x404e8f,_0x4a1cf3){const _0xe5270c=_0x593e,_0x2e82db=_0x404e8f();while(!![]){try{const _0x1a8cca=parseInt(_0xe5270c(0x172))/0x1+-parseInt(_0xe5270c(0x162))/0x2*(-parseInt(_0xe5270c(0x14b))/0x3)+-parseInt(_0xe5270c(0x136))/0x4+-parseInt(_0xe5270c(0x133))/0x5*(-parseInt(_0xe5270c(0x154))/0x6)+parseInt(_0xe5270c(0x156))/0x7+parseInt(_0xe5270c(0x159))/0x8*(parseInt(_0xe5270c(0x16b))/0x9)+-parseInt(_0xe5270c(0x166))/0xa;if(_0x1a8cca===_0x4a1cf3)break;else _0x2e82db['push'](_0x2e82db['shift']());}catch(_0x40f88a){_0x2e82db['push'](_0x2e82db['shift']());}}}(_0xc341,0x98627));import{AITextAdapter as _0x13c09a}from'./aitextadapter.js';function _0x593e(_0x23da50,_0x3226c3){const _0xc341f8=_0xc341();return _0x593e=function(_0x593ef1,_0x10e8b7){_0x593ef1=_0x593ef1-0x12f;let _0xaa8d62=_0xc341f8[_0x593ef1];return _0xaa8d62;},_0x593e(_0x23da50,_0x3226c3);}import{AIRequestError as _0x217630}from'./aiadapter.js';import{getTranslation as _0x32d834}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x13c09a{[_0xd63eb2(0x149)];[_0xd63eb2(0x16f)];[_0xd63eb2(0x14d)];static get[_0xd63eb2(0x137)](){const _0x140228=_0xd63eb2;return _0x140228(0x15f);}constructor(_0x5a6be2){const _0x273675=_0xd63eb2;super(_0x5a6be2),_0x5a6be2[_0x273675(0x16d)][_0x273675(0x135)](_0x273675(0x171),_0x273675(0x158)),_0x5a6be2[_0x273675(0x16d)][_0x273675(0x161)](_0x273675(0x145))||_0x5a6be2[_0x273675(0x16d)][_0x273675(0x135)](_0x273675(0x145),{'model':_0x273675(0x138),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x273675(0x149)]=_0x5a6be2[_0x273675(0x16d)][_0x273675(0x161)](_0x273675(0x171)),this[_0x273675(0x16f)]=_0x5a6be2[_0x273675(0x16d)][_0x273675(0x161)](_0x273675(0x153))||{},this[_0x273675(0x14d)]=_0x5a6be2[_0x273675(0x16d)][_0x273675(0x161)](_0x273675(0x145));}async[_0xd63eb2(0x141)]({query:_0x17d70c,context:_0x2c1857,onData:_0x1ece64,actionId:_0x21ca17}){const _0x3eee04=_0xd63eb2,_0x4fdf74=this[_0x3eee04(0x173)][_0x3eee04(0x168)],_0x2f2e26=await this[_0x3eee04(0x170)](_0x17d70c,_0x2c1857,_0x21ca17),_0x3306d5=await this[_0x3eee04(0x130)](this[_0x3eee04(0x16f)],_0x21ca17),_0x1a85ed=await this[_0x3eee04(0x163)](this[_0x3eee04(0x14d)],_0x21ca17),_0x27eb56={'messages':_0x2f2e26,..._0x1a85ed},_0x4bde95={'method':_0x3eee04(0x169),'headers':_0x3306d5,'body':JSON[_0x3eee04(0x147)](_0x27eb56),'signal':this[_0x3eee04(0x14c)][_0x3eee04(0x164)]},_0x16002b=await fetch(this[_0x3eee04(0x149)],_0x4bde95);if(_0x16002b['ok'])return _0x1a85ed[_0x3eee04(0x13d)]?await this[_0x3eee04(0x146)](_0x16002b,_0x1ece64):await this[_0x3eee04(0x160)](_0x16002b,_0x1ece64),Promise[_0x3eee04(0x143)]();{const _0x3a8274=await _0x16002b[_0x3eee04(0x132)]();return _0x3a8274[_0x3eee04(0x155)](_0x3eee04(0x174))?Promise[_0x3eee04(0x12f)](new _0x217630(_0x32d834(_0x4fdf74,_0x3eee04(0x165)))):_0x3a8274[_0x3eee04(0x155)](_0x3eee04(0x14a))?Promise[_0x3eee04(0x12f)](new _0x217630(_0x32d834(_0x4fdf74,_0x3eee04(0x151)))):Promise[_0x3eee04(0x12f)](new Error(_0x3a8274));}}async[_0xd63eb2(0x170)](_0xd25b09,_0x3d27f0,_0x36dba1){const _0x4cda89=_0xd63eb2;let _0x4b3ebe,_0x35a1fe;return _0x3d27f0?(_0x4b3ebe=_0x4cda89(0x13f),_0x35a1fe=_0x4cda89(0x134)+_0xd25b09+_0x4cda89(0x140)+_0x3d27f0):(_0x4b3ebe=_0x4cda89(0x15e),_0x35a1fe=_0xd25b09),[{'role':_0x4cda89(0x16a),'content':_0x4b3ebe},{'role':_0x4cda89(0x13b),'content':_0x35a1fe}];}async[_0xd63eb2(0x146)](_0x49e64a,_0x4d1c5c){const _0x36e26a=_0xd63eb2,_0x252528=_0x49e64a[_0x36e26a(0x14f)][_0x36e26a(0x15d)](),_0x5ba581=new TextDecoder();let _0x48267c='',_0x44a5e2='',_0x38fff5='',_0x2fc82a=!0x1;for(;!_0x2fc82a;){const {done:_0x219b17,value:_0x55eaf7}=await _0x252528[_0x36e26a(0x15b)](),_0x19f02e=_0x48267c+_0x5ba581[_0x36e26a(0x167)](_0x55eaf7);let _0x2db1d5='';_0x2fc82a=_0x219b17;try{_0x2db1d5=this[_0x36e26a(0x139)](_0x19f02e),_0x48267c='';}catch{_0x48267c=_0x19f02e;continue;}_0x44a5e2+=_0x2db1d5,!_0x2fc82a&&this[_0x36e26a(0x152)](_0x44a5e2)||_0x44a5e2&&(_0x38fff5+=_0x44a5e2,_0x44a5e2='',_0x4d1c5c(_0x38fff5));}return Promise[_0x36e26a(0x143)]();}async[_0xd63eb2(0x160)](_0x2e8810,_0x213c9a){const _0xc33bd0=_0xd63eb2;return _0x213c9a((await _0x2e8810[_0xc33bd0(0x16e)]())[_0xc33bd0(0x14e)][0x0][_0xc33bd0(0x15c)][_0xc33bd0(0x148)]),Promise[_0xc33bd0(0x143)]();}[_0xd63eb2(0x152)](_0x2949d2){const _0x5949e0=_0xd63eb2,_0x1fb59c=_0x2949d2[_0x5949e0(0x150)]('<')[_0x5949e0(0x13e)]!==_0x2949d2[_0x5949e0(0x150)]('>')[_0x5949e0(0x13e)],_0x471c9e=_0x2949d2[_0x5949e0(0x13e)]<0x1e;return _0x1fb59c&&_0x471c9e;}[_0xd63eb2(0x139)](_0x466ee6){const _0x4314c2=_0xd63eb2;return _0x466ee6[_0x4314c2(0x150)](/\n(?![^{]*\})/g)[_0x4314c2(0x13a)](_0x55729d=>_0x55729d[_0x4314c2(0x131)](_0x4314c2(0x13c),''))[_0x4314c2(0x144)](_0x2e6b9c=>_0x2e6b9c&&_0x2e6b9c[_0x4314c2(0x13e)]>0x0&&_0x4314c2(0x15a)!==_0x2e6b9c)[_0x4314c2(0x13a)](_0x1b42f2=>{const _0x137821=_0x4314c2,{choices:_0x6acd95}=JSON[_0x137821(0x142)](_0x1b42f2);if(_0x6acd95[0x0]?.[_0x137821(0x157)]?.[_0x137821(0x148)])return _0x6acd95[0x0][_0x137821(0x157)][_0x137821(0x148)];})[_0x4314c2(0x144)](_0x364750=>_0x364750)[_0x4314c2(0x16c)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2cef(_0x2c1baf,_0x324678){const _0x578c9a=_0x578c();return _0x2cef=function(_0x2cefc0,_0x3c30a8){_0x2cefc0=_0x2cefc0-0xc9;let _0x3b908a=_0x578c9a[_0x2cefc0];return _0x3b908a;},_0x2cef(_0x2c1baf,_0x324678);}const _0x3e77ed=_0x2cef;(function(_0x3eaa39,_0x373275){const _0xca585a=_0x2cef,_0x375763=_0x3eaa39();while(!![]){try{const _0x173cde=parseInt(_0xca585a(0xd4))/0x1*(-parseInt(_0xca585a(0xd1))/0x2)+parseInt(_0xca585a(0xe6))/0x3*(-parseInt(_0xca585a(0x12b))/0x4)+-parseInt(_0xca585a(0x13a))/0x5+parseInt(_0xca585a(0x123))/0x6*(-parseInt(_0xca585a(0x110))/0x7)+-parseInt(_0xca585a(0xf5))/0x8*(parseInt(_0xca585a(0xf0))/0x9)+parseInt(_0xca585a(0xf7))/0xa*(-parseInt(_0xca585a(0x118))/0xb)+-parseInt(_0xca585a(0xfa))/0xc*(-parseInt(_0xca585a(0xf1))/0xd);if(_0x173cde===_0x373275)break;else _0x375763['push'](_0x375763['shift']());}catch(_0x1dd3d4){_0x375763['push'](_0x375763['shift']());}}}(_0x578c,0xccd34));import{Plugin as _0x239445}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x31b3eb}from'./aiassistantui.js';function _0x578c(){const _0x21bb26=['commands','push','translateHindi','forEach','2USatit','isOfficialPlugin','Translate','176801xnREni','translateChinese','Friendly','Legal','translateFrench','German','English','Make\x20shorter','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Arabic','changeStyle','Continue','Poetic','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20French\x20language.','isPremiumPlugin','Portuguese','93aBZeEr','translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','pluginName','concat','AIAssistant','friendly','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20German\x20language.','11007hMkRbi','143kcQxPX','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','improveWriting','locale','248trGSZp','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','10LCwEiT','get','makeLonger','4571628iRRqsc','business','translateEnglish','Direct','changeTone','professional','Casual','poetic','Simplify\x20language','simplifyLanguage','config','define','makeShorter','Edit\x20or\x20review','Change\x20tone','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','journalism','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','direct','find','35AWpoCT','translateArabic','Summarize','confident','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','translatePortuguese','requires','Confident','333553umVBjd','filter','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Spanish','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','editOrReview','translateSpanish','includes','ai.assistant.removeCommands','Change\x20style','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','1807998qHQAXf','French','casual','Translate\x20the\x20content\x20to\x20Hindi\x20language.','set','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','generate','Generate\x20from\x20selection','152012aJlQYZ','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateGerman','ai.assistant.preserveComments','ai.assistant.commands','Improve\x20writing','Hindi','legal','continue','Business','Professional','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Make\x20longer','ai.assistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','2109500IiQwBB','Journalism','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','summarize','groupId'];_0x578c=function(){return _0x21bb26;};return _0x578c();}import{AIAssistantEditing as _0x4508be}from'./aiassistantediting.js';import{getTranslation as _0x58a95c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3febf4}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x239445{static get[_0x3e77ed(0x116)](){return[_0x31b3eb,_0x4508be];}static get[_0x3e77ed(0xe9)](){const _0x4e018e=_0x3e77ed;return _0x4e018e(0xeb);}static get[_0x3e77ed(0xd2)](){return!0x0;}static get[_0x3e77ed(0xe4)](){return!0x0;}constructor(_0x55517b){const _0x300c80=_0x3e77ed;super(_0x55517b);const _0xd6b127=_0x55517b[_0x300c80(0x104)],_0x1d7aa8=_0x55517b[_0x300c80(0xf4)];_0xd6b127[_0x300c80(0x105)](_0x300c80(0x12e),!0x0),_0xd6b127[_0x300c80(0x105)](_0x300c80(0x12f),getDefaultAICommands(_0x1d7aa8)),_0xd6b127[_0x300c80(0x105)](_0x300c80(0x138),[]),_0xd6b127[_0x300c80(0x105)](_0x300c80(0x120),[]);let _0x3b093d=_0x3febf4(_0xd6b127[_0x300c80(0xf8)](_0x300c80(0x12f)),_0x1d7aa8);const _0x20314c=_0xd6b127[_0x300c80(0xf8)](_0x300c80(0x138)),_0x271fff=_0xd6b127[_0x300c80(0xf8)](_0x300c80(0x120));_0x20314c[_0x300c80(0xd0)](_0x8faa1=>{const _0x4bbca8=_0x300c80,_0x48bf22=_0x3b093d[_0x4bbca8(0x10f)](_0x2173d7=>_0x2173d7[_0x4bbca8(0xcc)]===_0x8faa1[_0x4bbca8(0xcc)]);_0x48bf22?_0x48bf22[_0x4bbca8(0xcd)]=_0x48bf22[_0x4bbca8(0xcd)][_0x4bbca8(0xea)](_0x8faa1[_0x4bbca8(0xcd)]):_0x3b093d[_0x4bbca8(0xce)](_0x8faa1);}),_0x3b093d=_0x3b093d[_0x300c80(0x119)](_0x4ffb61=>!_0x271fff[_0x300c80(0x11f)](_0x4ffb61[_0x300c80(0xcc)])),_0x3b093d[_0x300c80(0xd0)](_0x1c25dc=>{const _0x574d7a=_0x300c80;_0x1c25dc[_0x574d7a(0xcd)]=_0x1c25dc[_0x574d7a(0xcd)][_0x574d7a(0x119)](_0x113129=>!_0x271fff[_0x574d7a(0x11f)](_0x113129['id']));}),_0xd6b127[_0x300c80(0x127)](_0x300c80(0x12f),_0x3b093d);}}export function getDefaultAICommands(_0x1ff9f9){const _0x1960f1=_0x3e77ed;return[{'groupId':_0x1960f1(0x11d),'groupLabel':_0x58a95c(_0x1ff9f9,_0x1960f1(0x107)),'commands':[{'id':_0x1960f1(0xf3),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x130)),'prompt':_0x1960f1(0x136)},{'id':_0x1960f1(0x106),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xdb)),'prompt':_0x1960f1(0xdc)},{'id':_0x1960f1(0xf9),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x137)),'prompt':_0x1960f1(0xf2)},{'id':_0x1960f1(0x103),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x102)),'prompt':_0x1960f1(0x10a)}]},{'groupId':_0x1960f1(0x129),'groupLabel':_0x58a95c(_0x1ff9f9,_0x1960f1(0x12a)),'commands':[{'id':_0x1960f1(0xcb),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x112)),'prompt':_0x1960f1(0x10d)},{'id':_0x1960f1(0x133),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xe0)),'prompt':_0x1960f1(0xf6)}]},{'groupId':_0x1960f1(0xfe),'groupLabel':_0x58a95c(_0x1ff9f9,_0x1960f1(0x108)),'commands':[{'id':_0x1960f1(0xff),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x135)),'prompt':_0x1960f1(0x122)},{'id':_0x1960f1(0x125),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x100)),'prompt':_0x1960f1(0xed)},{'id':_0x1960f1(0x10e),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xfd)),'prompt':_0x1960f1(0x114)},{'id':_0x1960f1(0x113),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x117)),'prompt':_0x1960f1(0x12c)},{'id':_0x1960f1(0xec),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xd6)),'prompt':_0x1960f1(0xca)}]},{'groupId':_0x1960f1(0xdf),'groupLabel':_0x58a95c(_0x1ff9f9,_0x1960f1(0x121)),'commands':[{'id':_0x1960f1(0xfb),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x134)),'prompt':_0x1960f1(0xdd)},{'id':_0x1960f1(0x132),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xd7)),'prompt':_0x1960f1(0x11a)},{'id':_0x1960f1(0x10c),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xc9)),'prompt':_0x1960f1(0x128)},{'id':_0x1960f1(0x101),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xe1)),'prompt':_0x1960f1(0x139)}]},{'groupId':_0x1960f1(0xe7),'groupLabel':_0x58a95c(_0x1ff9f9,_0x1960f1(0xd3)),'commands':[{'id':_0x1960f1(0xfc),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xda)),'prompt':_0x1960f1(0xee)},{'id':_0x1960f1(0x11e),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x11b)),'prompt':_0x1960f1(0x109)},{'id':_0x1960f1(0x115),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xe5)),'prompt':_0x1960f1(0x11c)},{'id':_0x1960f1(0x12d),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xd9)),'prompt':_0x1960f1(0xef)},{'id':_0x1960f1(0xd8),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x124)),'prompt':_0x1960f1(0xe3)},{'id':_0x1960f1(0xd5),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xe2)),'prompt':_0x1960f1(0xe8)},{'id':_0x1960f1(0xcf),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0x131)),'prompt':_0x1960f1(0x126)},{'id':_0x1960f1(0x111),'label':_0x58a95c(_0x1ff9f9,_0x1960f1(0xde)),'prompt':_0x1960f1(0x10b)}]}];}
23
+ function _0xdcd2(){const _0x2483b0=['professional','Hindi','Make\x20shorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','pluginName','filter','Legal','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','923596NUPuQj','Continue','Change\x20tone','legal','translateChinese','editOrReview','requires','740FTKfSx','generate','AIAssistant','isOfficialPlugin','Translate','German','Improve\x20writing','locale','English','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','journalism','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','summarize','ai.assistant.extraCommandGroups','makeShorter','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','ai.assistant.preserveComments','poetic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateEnglish','Direct','improveWriting','translate','includes','150342lMnVzF','Business','commands','translatePortuguese','set','ai.assistant.commands','business','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateGerman','Confident','92067EkEnCE','2676138bbdSyv','confident','changeTone','direct','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.assistant.removeCommands','groupId','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20English\x20language.','10zCfEfT','11216018QtJLLJ','7izFMjR','Spanish','French','Translate\x20the\x20content\x20to\x20German\x20language.','73719ZCtBkl','Portuguese','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Professional','Casual','10QXXJuM','Edit\x20or\x20review','translateHindi','isPremiumPlugin','Make\x20longer','Poetic','get','Generate\x20from\x20selection','Summarize','define','simplifyLanguage','Change\x20style','4074536OKtZLW','casual','friendly','Journalism','makeLonger','translateSpanish','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','continue','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translateArabic','push','concat','Arabic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateFrench','config','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Simplify\x20language','forEach'];_0xdcd2=function(){return _0x2483b0;};return _0xdcd2();}function _0x4f4b(_0x2566cc,_0xdafa74){const _0xdcd2c3=_0xdcd2();return _0x4f4b=function(_0x4f4bf2,_0x4b054a){_0x4f4bf2=_0x4f4bf2-0x126;let _0x461ebb=_0xdcd2c3[_0x4f4bf2];return _0x461ebb;},_0x4f4b(_0x2566cc,_0xdafa74);}const _0xd4615b=_0x4f4b;(function(_0x587042,_0x145d91){const _0x5d4804=_0x4f4b,_0x3b1b49=_0x587042();while(!![]){try{const _0x32f3be=parseInt(_0x5d4804(0x179))/0x1*(-parseInt(_0x5d4804(0x184))/0x2)+parseInt(_0x5d4804(0x17a))/0x3+parseInt(_0x5d4804(0x14b))/0x4+parseInt(_0x5d4804(0x193))/0x5*(-parseInt(_0x5d4804(0x16f))/0x6)+parseInt(_0x5d4804(0x186))/0x7*(-parseInt(_0x5d4804(0x12f))/0x8)+parseInt(_0x5d4804(0x18a))/0x9*(-parseInt(_0x5d4804(0x152))/0xa)+parseInt(_0x5d4804(0x185))/0xb;if(_0x32f3be===_0x145d91)break;else _0x3b1b49['push'](_0x3b1b49['shift']());}catch(_0x4b1404){_0x3b1b49['push'](_0x3b1b49['shift']());}}}(_0xdcd2,0x7e24b));import{Plugin as _0x165c00}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x453e03}from'./aiassistantui.js';import{AIAssistantEditing as _0xe92ccd}from'./aiassistantediting.js';import{getTranslation as _0x332ef9}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1b6d95}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x165c00{static get[_0xd4615b(0x151)](){return[_0x453e03,_0xe92ccd];}static get[_0xd4615b(0x147)](){const _0x2849af=_0xd4615b;return _0x2849af(0x154);}static get[_0xd4615b(0x155)](){return!0x0;}static get[_0xd4615b(0x126)](){return!0x0;}constructor(_0x55206b){const _0x51fb03=_0xd4615b;super(_0x55206b);const _0x22d821=_0x55206b[_0x51fb03(0x13f)],_0x29930f=_0x55206b[_0x51fb03(0x159)];_0x22d821[_0x51fb03(0x12c)](_0x51fb03(0x167),!0x0),_0x22d821[_0x51fb03(0x12c)](_0x51fb03(0x174),getDefaultAICommands(_0x29930f)),_0x22d821[_0x51fb03(0x12c)](_0x51fb03(0x164),[]),_0x22d821[_0x51fb03(0x12c)](_0x51fb03(0x17f),[]);let _0xb7234a=_0x1b6d95(_0x22d821[_0x51fb03(0x129)](_0x51fb03(0x174)),_0x29930f);const _0x30a730=_0x22d821[_0x51fb03(0x129)](_0x51fb03(0x164)),_0x3d96b7=_0x22d821[_0x51fb03(0x129)](_0x51fb03(0x17f));_0x30a730[_0x51fb03(0x142)](_0x18e94f=>{const _0xa959af=_0x51fb03,_0x18db6f=_0xb7234a[_0xa959af(0x160)](_0x347f82=>_0x347f82[_0xa959af(0x180)]===_0x18e94f[_0xa959af(0x180)]);_0x18db6f?_0x18db6f[_0xa959af(0x171)]=_0x18db6f[_0xa959af(0x171)][_0xa959af(0x13b)](_0x18e94f[_0xa959af(0x171)]):_0xb7234a[_0xa959af(0x13a)](_0x18e94f);}),_0xb7234a=_0xb7234a[_0x51fb03(0x148)](_0x2ae339=>!_0x3d96b7[_0x51fb03(0x16e)](_0x2ae339[_0x51fb03(0x180)])),_0xb7234a[_0x51fb03(0x142)](_0x199cf1=>{const _0x4b021d=_0x51fb03;_0x199cf1[_0x4b021d(0x171)]=_0x199cf1[_0x4b021d(0x171)][_0x4b021d(0x148)](_0x1202ec=>!_0x3d96b7[_0x4b021d(0x16e)](_0x1202ec['id']));}),_0x22d821[_0x51fb03(0x173)](_0x51fb03(0x174),_0xb7234a);}}export function getDefaultAICommands(_0x19a2f6){const _0x33cec3=_0xd4615b;return[{'groupId':_0x33cec3(0x150),'groupLabel':_0x332ef9(_0x19a2f6,_0x33cec3(0x194)),'commands':[{'id':_0x33cec3(0x16c),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x158)),'prompt':_0x33cec3(0x182)},{'id':_0x33cec3(0x165),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x145)),'prompt':_0x33cec3(0x18d)},{'id':_0x33cec3(0x133),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x127)),'prompt':_0x33cec3(0x17e)},{'id':_0x33cec3(0x12d),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x141)),'prompt':_0x33cec3(0x14a)}]},{'groupId':_0x33cec3(0x153),'groupLabel':_0x332ef9(_0x19a2f6,_0x33cec3(0x12a)),'commands':[{'id':_0x33cec3(0x163),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x12b)),'prompt':_0x33cec3(0x13d)},{'id':_0x33cec3(0x137),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x14c)),'prompt':_0x33cec3(0x135)}]},{'groupId':_0x33cec3(0x17c),'groupLabel':_0x332ef9(_0x19a2f6,_0x33cec3(0x14d)),'commands':[{'id':_0x33cec3(0x143),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x191)),'prompt':_0x33cec3(0x18c)},{'id':_0x33cec3(0x130),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x192)),'prompt':_0x33cec3(0x15b)},{'id':_0x33cec3(0x17d),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x16b)),'prompt':_0x33cec3(0x15f)},{'id':_0x33cec3(0x17b),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x178)),'prompt':_0x33cec3(0x190)},{'id':_0x33cec3(0x131),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x162)),'prompt':_0x33cec3(0x166)}]},{'groupId':_0x33cec3(0x18e),'groupLabel':_0x332ef9(_0x19a2f6,_0x33cec3(0x12e)),'commands':[{'id':_0x33cec3(0x175),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x170)),'prompt':_0x33cec3(0x18f)},{'id':_0x33cec3(0x14e),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x149)),'prompt':_0x33cec3(0x161)},{'id':_0x33cec3(0x15c),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x132)),'prompt':_0x33cec3(0x181)},{'id':_0x33cec3(0x168),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x128)),'prompt':_0x33cec3(0x169)}]},{'groupId':_0x33cec3(0x16d),'groupLabel':_0x332ef9(_0x19a2f6,_0x33cec3(0x156)),'commands':[{'id':_0x33cec3(0x16a),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x15a)),'prompt':_0x33cec3(0x183)},{'id':_0x33cec3(0x134),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x187)),'prompt':_0x33cec3(0x176)},{'id':_0x33cec3(0x172),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x18b)),'prompt':_0x33cec3(0x136)},{'id':_0x33cec3(0x177),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x157)),'prompt':_0x33cec3(0x189)},{'id':_0x33cec3(0x13e),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x188)),'prompt':_0x33cec3(0x15e)},{'id':_0x33cec3(0x14f),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x15d)),'prompt':_0x33cec3(0x138)},{'id':_0x33cec3(0x195),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x144)),'prompt':_0x33cec3(0x146)},{'id':_0x33cec3(0x139),'label':_0x332ef9(_0x19a2f6,_0x33cec3(0x13c)),'prompt':_0x33cec3(0x140)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b52(_0x3bdbcc,_0x57db2c){const _0x54a92f=_0x54a9();return _0x2b52=function(_0x2b5270,_0x4de543){_0x2b5270=_0x2b5270-0x1bb;let _0x410183=_0x54a92f[_0x2b5270];return _0x410183;},_0x2b52(_0x3bdbcc,_0x57db2c);}const _0x2acb69=_0x2b52;function _0x54a9(){const _0x14843d=['first','getSelectedTableCells','isOfficialPlugin','from','filter','config','pluginName','table','has','getRanges','getRowIndexes','createUIElement','editing','getLastPosition','addMarker','plugins','insertRows','push','model','setSelection','ai.assistant.useTheme','isCollapsed','TableUtils','3110824ULzNBG','start','insertContentBelow','afterInit','setData','forEach','markerRange','_createEmptyTableRows','getLastMatchingPosition','span','2065374tAnUGE','schema','15CdMdkU','canEditAt','get','_getDefaultInsertBelowPosition','conversion','getRange','lowest','_resetContentOfSelectedTableCells','off','change','ck-fake-ai-selection','markers','hideFakeVisualSelection','1316xPDUKU','getChild','pop','paste','83089WYQGdf','getFirstRange','for','findAncestor','isContent','getColumnIndexes','deleteContent','markerToElement','updateMarker','init','text/html','isAtEnd','once','278436cKaUfP','editingDowncast','_prepareTableInsertBelowPosition','getMarkersGroup','document','DataTransfer','join','_getTableRowCountFromContent','createPositionAfter','ck-ai-assistant-ui_theme','fromCharCode','end','markerToHighlight','_getAISelection','editor','insertContent','getSelectedBlocks','parse','data','getChildren','createPositionAt','ck-fake-ai-selection_collapsed','createRange','element','fire','getRows','AIAssistantEditing','href','showFakeVisualSelection','resultRange','selection','10624uvHGyT','_pasteHTMLUsingClipboard','isPremiumPlugin','487810UViOzD','map','createSelection','last','2967318RtcCyr','length','removeMarker','ai-ui','addClass','contentInsertion'];_0x54a9=function(){return _0x14843d;};return _0x54a9();}(function(_0x2549a6,_0x292d3d){const _0x613d59=_0x2b52,_0x3d3c74=_0x2549a6();while(!![]){try{const _0x4b4163=-parseInt(_0x613d59(0x1c5))/0x1+parseInt(_0x613d59(0x1f4))/0x2+-parseInt(_0x613d59(0x1f8))/0x3+parseInt(_0x613d59(0x215))/0x4+-parseInt(_0x613d59(0x221))/0x5*(-parseInt(_0x613d59(0x1d2))/0x6)+-parseInt(_0x613d59(0x1c1))/0x7*(-parseInt(_0x613d59(0x1f1))/0x8)+parseInt(_0x613d59(0x21f))/0x9;if(_0x4b4163===_0x292d3d)break;else _0x3d3c74['push'](_0x3d3c74['shift']());}catch(_0x5a2625){_0x3d3c74['push'](_0x3d3c74['shift']());}}}(_0x54a9,0x8a9e8));import{uid as _0x5487d5}from'ckeditor5/src/utils.js';import{Plugin as _0x4bf798}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xa99d54}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2a3423,ViewDataTransfer as _0x16db49}from'ckeditor5/src/engine.js';const w=globalThis[_0x2acb69(0x1d7)],f=_0x2acb69(0x1fb);export class AIAssistantEditing extends _0x4bf798{static get[_0x2acb69(0x204)](){const _0x36567b=_0x2acb69;return _0x36567b(0x1ec);}static get[_0x2acb69(0x200)](){return!0x0;}static get[_0x2acb69(0x1f3)](){return!0x0;}[_0x2acb69(0x1ce)](){const _0x238ee3=_0x2acb69,{editor:_0x55ffa7}=this,_0x7c9cda=[_0x238ee3(0x1be)];_0x55ffa7[_0x238ee3(0x203)][_0x238ee3(0x223)](_0x238ee3(0x212))&&_0x7c9cda[_0x238ee3(0x20f)](_0x238ee3(0x1db)),_0x55ffa7[_0x238ee3(0x225)][_0x238ee3(0x1c7)](_0x238ee3(0x1d3))[_0x238ee3(0x1de)]({'model':f,'view':{'classes':_0x7c9cda,'priority':0xc}}),_0x55ffa7[_0x238ee3(0x225)][_0x238ee3(0x1c7)](_0x238ee3(0x1d3))[_0x238ee3(0x1cc)]({'model':f,'view':(_0x2b4d50,{writer:_0x4c9478})=>{const _0xe673fa=_0x238ee3;if(!_0x2b4d50[_0xe673fa(0x21b)][_0xe673fa(0x213)])return null;const _0x5e5a60=_0x4c9478[_0xe673fa(0x209)](_0xe673fa(0x21e));return _0x4c9478[_0xe673fa(0x1fc)]([_0xe673fa(0x1be),_0xe673fa(0x1e7)],_0x5e5a60),_0x5e5a60;}});}[_0x2acb69(0x218)](){!async function(_0x38196d){const _0x5417ad=_0x2d0f89([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]),_0x41e326=0x3dffc4e1,_0x35ccb0=0x3df843d9^_0x41e326,_0xfbc6a2=window[_0x2d0f89([0x44,0x61,0x74,0x65])][_0x2d0f89([0x6e,0x6f,0x77])](),_0x545d22=_0x38196d[_0x2d0f89([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e00e4=new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe8f264=>{_0x545d22[_0x2d0f89([0x6f,0x6e,0x63,0x65])](_0x2d0f89([0x72,0x65,0x61,0x64,0x79]),_0xe8f264);}),_0x1b7eb6={[_0x2d0f89([0x6b,0x74,0x79])]:_0x2d0f89([0x45,0x43]),[_0x2d0f89([0x75,0x73,0x65])]:_0x2d0f89([0x73,0x69,0x67]),[_0x2d0f89([0x63,0x72,0x76])]:_0x2d0f89([0x50,0x2d,0x32,0x35,0x36]),[_0x2d0f89([0x78])]:_0x2d0f89([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]),[_0x2d0f89([0x79])]:_0x2d0f89([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]),[_0x2d0f89([0x61,0x6c,0x67])]:_0x2d0f89([0x45,0x53,0x32,0x35,0x36])},_0x177c6d=_0x545d22[_0x2d0f89([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d0f89([0x67,0x65,0x74])](_0x2d0f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11fddc(){let _0x31a1ff,_0x369ebb=null,_0x4091ae=null;try{if(_0x177c6d==_0x2d0f89([0x47,0x50,0x4c]))return _0x2d0f89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31a1ff=_0x488e25(),!_0x31a1ff)return _0x2d0f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31a1ff[_0x2d0f89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4091ae=_0x13285b(_0x31a1ff[_0x2d0f89([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31a1ff[_0x2d0f89([0x6a,0x74,0x69])])),await _0x47ebc5()?_0x1b2f4c()?_0x2006cf()?_0x2d0f89([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4693be()?(_0x31a1ff[_0x2d0f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d0f89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x369ebb=_0x2457cd(_0x2d0f89([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1478c0()):_0x2d0f89([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d0f89([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d0f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d0f89([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2006cf(){const _0x320149=[_0x2d0f89([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d0f89([0x74,0x72,0x69,0x61,0x6c])][_0x2d0f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31a1ff[_0x2d0f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfbc6a2/0x3e8:0xe10*_0x35ccb0;return _0x31a1ff[_0x2d0f89([0x65,0x78,0x70])]<_0x320149;}function _0x1b2f4c(){const _0x10d7c0=_0x31a1ff[_0x2d0f89([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10d7c0&&(!!_0x10d7c0[_0x2d0f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0f89([0x2a]))||!!_0x10d7c0[_0x2d0f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0f89([0x41,0x49])));}function _0x4693be(){const _0x398323=_0x2b52,_0x4d770b=_0x31a1ff[_0x2d0f89([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d770b||0x0==_0x4d770b[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb031d6}=new URL(window[_0x2d0f89([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x398323(0x1ed)]);if(_0x4d770b[_0x2d0f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb031d6))return!0x0;const _0x3566c9=_0xb031d6[_0x2d0f89([0x73,0x70,0x6c,0x69,0x74])](_0x2d0f89([0x2e]));return _0x4d770b[_0x2d0f89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9fdb05=>_0x9fdb05[_0x2d0f89([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d0f89([0x2a])))[_0x2d0f89([0x6d,0x61,0x70])](_0x14cc14=>_0x14cc14[_0x2d0f89([0x73,0x70,0x6c,0x69,0x74])](_0x2d0f89([0x2e])))[_0x2d0f89([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1775e3=>_0x1775e3[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3566c9[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d0f89([0x6d,0x61,0x70])](_0x32a585=>Array(_0x3566c9[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32a585[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d0f89([0x66,0x69,0x6c,0x6c])](_0x32a585[0x0]===_0x2d0f89([0x2a])?_0x2d0f89([0x2a]):'')[_0x2d0f89([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32a585))[_0x2d0f89([0x73,0x6f,0x6d,0x65])](_0x531337=>_0x3566c9[_0x2d0f89([0x65,0x76,0x65,0x72,0x79])]((_0x253153,_0x21c27e)=>_0x531337[_0x21c27e]===_0x253153||_0x531337[_0x21c27e]===_0x2d0f89([0x2a])));}function _0x1478c0(){return _0x369ebb&&_0x4091ae?new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33180f,_0x2ea03e)=>{_0x369ebb[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x33180f,_0x2ea03e),_0x4091ae[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x3de8df=>{_0x3de8df!=_0x2d0f89([0x56,0x61,0x6c,0x69,0x64])&&_0x33180f(_0x3de8df);},_0x2ea03e);}):_0x369ebb||_0x4091ae||_0x2d0f89([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13285b(_0x5c1eb3,_0x103305){return new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e0922=>{if(_0x459a8a())return _0x4e0922(_0x2d0f89([0x56,0x61,0x6c,0x69,0x64]));_0x56a159(),_0x545d22[_0x2d0f89([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d0f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55342f=!0x1;const _0x581511=_0x5487d5();function _0x34389d(_0x4def8e){return!!_0x4def8e&&(typeof _0x4def8e===_0x2d0f89([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4def8e===_0x2d0f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4def8e[_0x2d0f89([0x74,0x68,0x65,0x6e])]===_0x2d0f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4def8e[_0x2d0f89([0x63,0x61,0x74,0x63,0x68])]===_0x2d0f89([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2da537(_0x15162d){_0xab255f(_0x15162d)[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x41e901=>{if(!_0x41e901||_0x41e901[_0x2d0f89([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d0f89([0x6f,0x6b]))return _0x2d0f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x350cef(_0x94bb28(_0x581511+_0x103305))!=_0x41e901[_0x2d0f89([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d0f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d0f89([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x42e566=>(_0xe96b56(),_0x42e566),()=>{const _0x36676b=_0x17bf43();return null==_0x36676b?(_0xe96b56(),_0x2d0f89([0x56,0x61,0x6c,0x69,0x64])):_0x2d0f89(_0xfbc6a2-_0x36676b>(0x19f340e1^_0x41e326)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x4e0922)[_0x2d0f89([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e0922(_0x2d0f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13b244=0x3dc92a61^_0x41e326;function _0xe96b56(){const _0x2000a2=_0x2d0f89([0x6c,0x6c,0x63,0x74,0x2d])+_0x350cef(_0x94bb28(_0x5c1eb3)),_0x2c683a=_0x18952e(_0x350cef(window[_0x2d0f89([0x4d,0x61,0x74,0x68])][_0x2d0f89([0x63,0x65,0x69,0x6c])](_0xfbc6a2/_0x13b244)));window[_0x2d0f89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d0f89([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2000a2,_0x2c683a);}function _0x17bf43(){const _0x5aa0ec=_0x2d0f89([0x6c,0x6c,0x63,0x74,0x2d])+_0x350cef(_0x94bb28(_0x5c1eb3)),_0x5531ec=window[_0x2d0f89([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d0f89([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5aa0ec);return _0x5531ec?window[_0x2d0f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18952e(_0x5531ec),0x10)*_0x13b244:null;}function _0xab255f(_0x4b2cc5){return new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x325aa1,_0xecaae5)=>{_0x4b2cc5[_0x2d0f89([0x74,0x68,0x65,0x6e])](_0x325aa1,_0xecaae5),window[_0x2d0f89([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xecaae5,0x3dfe1021^_0x41e326);});}}_0x545d22[_0x2d0f89([0x6f,0x6e])](_0x2d0f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b3625,_0x204cdb)=>{if(_0x204cdb[0x0]!=_0x5c1eb3)return _0x4e0922(_0x2d0f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x204cdb[0x1]={..._0x204cdb[0x1],[_0x2d0f89([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x581511};},{[_0x2d0f89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d0f89([0x68,0x69,0x67,0x68])}),_0x545d22[_0x2d0f89([0x6f,0x6e])](_0x2d0f89([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3acc7c=>{_0x34389d(_0x3acc7c[_0x2d0f89([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55342f=!0x0,_0x2da537(_0x3acc7c[_0x2d0f89([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d0f89([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d0f89([0x6c,0x6f,0x77])}),_0x2e00e4[_0x2d0f89([0x74,0x68,0x65,0x6e])](()=>{_0x55342f||_0x4e0922(_0x2d0f89([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x459a8a(){return _0x545d22[_0x2d0f89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d0f89([0x76,0x69,0x65,0x77])][_0x2d0f89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d0f89([0x61,0x75,0x74,0x6f]);}function _0x56a159(){_0x545d22[_0x2d0f89([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d0f89([0x76,0x69,0x65,0x77])][_0x2d0f89([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d0f89([0x61,0x75,0x74,0x6f]);}}function _0x2457cd(_0x262310){const _0xafff51=[new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40a432=>setTimeout(_0x40a432,0x3df6fa2d^_0x41e326)),_0x2e00e4[_0x2d0f89([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e3fb2=>{let _0x2e82b9=0x0;_0x545d22[_0x2d0f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d0f89([0x6f,0x6e])](_0x2d0f89([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51b8f5,_0x17473d)=>{_0x17473d[0x0][_0x2d0f89([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e82b9++,_0x2e82b9==(0x3dffc109^_0x41e326)&&(_0x4e3fb2(),_0x51b8f5[_0x2d0f89([0x6f,0x66,0x66])]());});}))];return window[_0x2d0f89([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d0f89([0x72,0x61,0x63,0x65])](_0xafff51)[_0x2d0f89([0x74,0x68,0x65,0x6e])](()=>_0x262310);}async function _0x1393e8(){await _0x2e00e4,_0x545d22[_0x2d0f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d0f89([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x464a77,_0x545d22[_0x2d0f89([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d0f89([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x464a77,_0x545d22[_0x2d0f89([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d0f89([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x315b4f(_0x430417){const _0x5301e1=_0x2fd80a();_0x545d22[_0x5301e1]=_0x2d0f89([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x430417,_0x430417!=_0x2d0f89([0x56,0x61,0x6c,0x69,0x64])&&_0x1393e8();}function _0x2fd80a(){const _0x2f0e84=window[_0x2d0f89([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d0f89([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d0f89([0x6e,0x6f,0x77])]())[_0x2d0f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d0f89([0x2e]),'');let _0x36a09f=_0x2d0f89([0x6e]);for(let _0x347216=0x0;_0x347216<_0x2f0e84[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x347216+=0x2){let _0xb993d7=window[_0x2d0f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f0e84[_0x2d0f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x347216,_0x347216+0x2));_0xb993d7>=_0x5417ad[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb993d7-=_0x5417ad[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x36a09f+=_0x5417ad[_0xb993d7];}return _0x36a09f;}function _0x488e25(){const _0x252540=_0x177c6d[_0x2d0f89([0x73,0x70,0x6c,0x69,0x74])](_0x2d0f89([0x2e]));if(0x3!=_0x252540[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe69f52(_0x252540[0x1]);function _0xe69f52(_0x9e99a3){const _0x4ec8e5=_0x4e581d(_0x9e99a3);return _0x4ec8e5&&_0x47e2e2()?_0x4ec8e5:null;function _0x47e2e2(){const _0x15f496=_0x4ec8e5[_0x2d0f89([0x6a,0x74,0x69])],_0x13447d=window[_0x2d0f89([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15f496[_0x2d0f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15f496[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x482979={..._0x4ec8e5,[_0x2d0f89([0x6a,0x74,0x69])]:_0x15f496[_0x2d0f89([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15f496[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x482979[_0x2d0f89([0x76,0x63])],_0x94bb28(_0x482979)==_0x13447d;}}}async function _0x47ebc5(){let _0xe165a0=!0x0;try{const _0x261493=_0x177c6d[_0x2d0f89([0x73,0x70,0x6c,0x69,0x74])](_0x2d0f89([0x2e])),[_0x112473,_0x46ed0c,_0x3dd346]=_0x261493;return _0x2b7a58(_0x112473),await _0x5b4009(_0x112473,_0x46ed0c,_0x3dd346),_0xe165a0;}catch{return!0x1;}function _0x2b7a58(_0x8aa518){const _0x5a0abd=_0x4e581d(_0x8aa518);_0x5a0abd&&_0x5a0abd[_0x2d0f89([0x61,0x6c,0x67])]==_0x2d0f89([0x45,0x53,0x32,0x35,0x36])||(_0xe165a0=!0x1);}async function _0x5b4009(_0x420806,_0x522d8d,_0x2a4ebc){const _0x210cfe=window[_0x2d0f89([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d0f89([0x66,0x72,0x6f,0x6d])](_0x4ae65a(_0x2a4ebc),_0x5a9257=>_0x5a9257[_0x2d0f89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a5d6c=new window[(_0x2d0f89([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d0f89([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x420806+_0x2d0f89([0x2e])+_0x522d8d),_0x310d23=window[_0x2d0f89([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d0f89([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x310d23)return;const _0x2cb5e0=await _0x310d23[_0x2d0f89([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d0f89([0x6a,0x77,0x6b]),_0x1b7eb6,{[_0x2d0f89([0x6e,0x61,0x6d,0x65])]:_0x2d0f89([0x45,0x43,0x44,0x53,0x41]),[_0x2d0f89([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d0f89([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d0f89([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x310d23[_0x2d0f89([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d0f89([0x6e,0x61,0x6d,0x65])]:_0x2d0f89([0x45,0x43,0x44,0x53,0x41]),[_0x2d0f89([0x68,0x61,0x73,0x68])]:{[_0x2d0f89([0x6e,0x61,0x6d,0x65])]:_0x2d0f89([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cb5e0,_0x210cfe,_0x2a5d6c)||(_0xe165a0=!0x1);}}function _0x4e581d(_0x422d4f){return _0x422d4f[_0x2d0f89([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d0f89([0x65,0x79]))?JSON[_0x2d0f89([0x70,0x61,0x72,0x73,0x65])](_0x4ae65a(_0x422d4f)):null;}function _0x4ae65a(_0x4aa338){return window[_0x2d0f89([0x61,0x74,0x6f,0x62])](_0x4aa338[_0x2d0f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d0f89([0x2b]))[_0x2d0f89([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d0f89([0x2f])));}function _0x94bb28(_0x575477){let _0x1132c1=0x1505;function _0x4a90e3(_0x4b7a6c){for(let _0xace025=0x0;_0xace025<_0x4b7a6c[_0x2d0f89([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xace025++){const _0x112822=_0x4b7a6c[_0x2d0f89([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xace025);_0x1132c1=(_0x1132c1<<0x5)+_0x1132c1+_0x112822,_0x1132c1&=_0x1132c1;}}function _0x4e1a3f(_0x3d5010){Array[_0x2d0f89([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5010)?_0x3d5010[_0x2d0f89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e1a3f):_0x3d5010&&typeof _0x3d5010==_0x2d0f89([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d0f89([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5010)[_0x2d0f89([0x73,0x6f,0x72,0x74])]()[_0x2d0f89([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf8deed,_0x5dc85d])=>{_0x4a90e3(_0xf8deed),_0x4e1a3f(_0x5dc85d);}):_0x4a90e3(window[_0x2d0f89([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5010));}return _0x4e1a3f(_0x575477),_0x1132c1>>>0x0;}function _0x350cef(_0x2e65a1){return _0x2e65a1[_0x2d0f89([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d0f89([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d0f89([0x30]));}function _0x18952e(_0x31fbba){return _0x31fbba[_0x2d0f89([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d0f89([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d0f89([0x6a,0x6f,0x69,0x6e])]('');}function _0x464a77(){}function _0x2d0f89(_0x523f7b){const _0x6f964a=_0x2b52;return _0x523f7b[_0x6f964a(0x1f5)](_0x392d37=>String[_0x6f964a(0x1dc)](_0x392d37))[_0x6f964a(0x1d8)]('');}_0x315b4f(await _0x11fddc());}(this);}[_0x2acb69(0x1ee)](){const _0x539bbc=_0x2acb69,_0x18def0=this[_0x539bbc(0x1e0)][_0x539bbc(0x210)];_0x18def0[_0x539bbc(0x1bd)](_0x354762=>{const _0xeb0cc1=_0x539bbc,_0x12f50a=_0x18def0[_0xeb0cc1(0x1d6)][_0xeb0cc1(0x1f0)][_0xeb0cc1(0x207)]();let _0x3840ac=0x0;for(const _0x1bbd56 of _0x12f50a){const _0x422d8a=f+':'+_0x3840ac;if(_0x18def0[_0xeb0cc1(0x1bf)][_0xeb0cc1(0x206)](_0x422d8a))_0x354762[_0xeb0cc1(0x1cd)](_0x422d8a,{'range':_0x1bbd56});else{if(_0x1bbd56[_0xeb0cc1(0x216)][_0xeb0cc1(0x1d0)]){const _0x43b06a=_0x1bbd56[_0xeb0cc1(0x216)][_0xeb0cc1(0x21d)](({item:_0x5cc9c5})=>!_0x18def0[_0xeb0cc1(0x220)][_0xeb0cc1(0x1c9)](_0x5cc9c5),{'boundaries':_0x1bbd56});_0x354762[_0xeb0cc1(0x20c)](_0x422d8a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x354762[_0xeb0cc1(0x1e8)](_0x43b06a,_0x1bbd56[_0xeb0cc1(0x1dd)])});}else _0x354762[_0xeb0cc1(0x20c)](_0x422d8a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1bbd56});}_0x3840ac++;}});}[_0x2acb69(0x1c0)](){const _0x4ab638=_0x2acb69,_0x2b47b1=this[_0x4ab638(0x1e0)][_0x4ab638(0x210)],_0x38e659=Array[_0x4ab638(0x201)](this[_0x4ab638(0x1e0)][_0x4ab638(0x210)][_0x4ab638(0x1bf)][_0x4ab638(0x1d5)](f));_0x38e659[_0x4ab638(0x1f9)]&&_0x2b47b1[_0x4ab638(0x1bd)](_0x48ff1a=>{const _0x299cb5=_0x4ab638;_0x38e659[_0x299cb5(0x21a)](_0x39880a=>{const _0x2f19ab=_0x299cb5;_0x48ff1a[_0x2f19ab(0x1fa)](_0x39880a);});});}[_0x2acb69(0x1e1)](_0x31ee0e,_0x303842){const _0x36c8d1=_0x2acb69,_0x437477=this[_0x36c8d1(0x1df)](),_0x3fbf52=_0x303842||_0x437477[_0x36c8d1(0x1c6)]();this[_0x36c8d1(0x1e0)][_0x36c8d1(0x210)][_0x36c8d1(0x222)](_0x3fbf52)&&this[_0x36c8d1(0x1e0)][_0x36c8d1(0x210)][_0x36c8d1(0x1bd)](_0x3cfd67=>{const _0x5efe46=_0x36c8d1;this[_0x5efe46(0x1c0)](),_0x303842||this[_0x5efe46(0x1bb)](_0x3cfd67,_0x437477),this[_0x5efe46(0x1f2)]({'insertAt':_0x3fbf52,'writer':_0x3cfd67,'html':_0x31ee0e});});}[_0x2acb69(0x217)](_0x1f1b55){const _0x4ce431=_0x2acb69,{model:_0x7cedba}=this[_0x4ce431(0x1e0)],_0x1ef404=this[_0x4ce431(0x1df)]();_0x7cedba[_0x4ce431(0x1bd)](()=>{const _0x7484d9=_0x4ce431,_0x5dedb2=this[_0x7484d9(0x1d4)](_0x1f1b55,_0x1ef404)||this[_0x7484d9(0x224)](_0x1ef404);this[_0x7484d9(0x1e1)](_0x1f1b55,_0x5dedb2);});}[_0x2acb69(0x1df)](){const _0x2abbe8=_0x2acb69,_0x4073aa=this[_0x2abbe8(0x1e0)][_0x2abbe8(0x210)],_0x545c08=Array[_0x2abbe8(0x201)](_0x4073aa[_0x2abbe8(0x1bf)][_0x2abbe8(0x1d5)](f))[_0x2abbe8(0x1f5)](_0x41f206=>_0x41f206[_0x2abbe8(0x226)]());return _0x4073aa[_0x2abbe8(0x1f6)](_0x545c08);}[_0x2acb69(0x1f2)]({writer:_0x5cd1e5,html:_0x2ab81f,insertAt:_0x12ac70}){const _0x510a2d=_0x2acb69,{view:_0x4ae829}=this[_0x510a2d(0x1e0)][_0x510a2d(0x20a)],_0x5dc7e0=this[_0x510a2d(0x1e0)][_0x510a2d(0x20d)][_0x510a2d(0x223)](_0xa99d54),_0xa63615=new w();_0xa63615[_0x510a2d(0x219)](_0x510a2d(0x1cf),_0x2ab81f);const _0x510d65=new ClipboardEvent(_0x510a2d(0x1c4),{'clipboardData':_0xa63615}),_0x767e30=new _0x2a3423(_0x4ae829,_0x510d65,{'dataTransfer':new _0x16db49(_0xa63615)});_0x5cd1e5[_0x510a2d(0x211)](_0x12ac70);const _0x346576=(_0x1482db,_0x40a6c5)=>{const _0x2eb8ce=_0x510a2d;_0x40a6c5[_0x2eb8ce(0x1ef)]&&_0x5cd1e5[_0x2eb8ce(0x211)](_0x40a6c5[_0x2eb8ce(0x1ef)]);};_0x5dc7e0[_0x510a2d(0x1d1)](_0x510a2d(0x1fd),_0x346576,{'priority':_0x510a2d(0x227)}),_0x4ae829[_0x510a2d(0x1d6)][_0x510a2d(0x1ea)](_0x510a2d(0x1c4),_0x767e30),_0x5dc7e0[_0x510a2d(0x1bc)](_0x510a2d(0x1fd),_0x346576);}[_0x2acb69(0x224)](_0x3a39db){const _0x447f4c=_0x2acb69,{model:_0x43bbad}=this[_0x447f4c(0x1e0)],_0x9d9bd7=Array[_0x447f4c(0x201)](_0x3a39db[_0x447f4c(0x1e2)]());return _0x9d9bd7[_0x447f4c(0x1f9)]?_0x43bbad[_0x447f4c(0x1da)](_0x9d9bd7[_0x447f4c(0x1c3)]()):_0x3a39db[_0x447f4c(0x20b)]();}[_0x2acb69(0x1d4)](_0x5774a2,_0x402da5){const _0x2905f9=_0x2acb69,{model:_0x50e709,plugins:_0x2a4562}=this[_0x2905f9(0x1e0)];if(_0x2a4562[_0x2905f9(0x206)](_0x2905f9(0x214))){const _0x57ee49=_0x2a4562[_0x2905f9(0x223)](_0x2905f9(0x214))[_0x2905f9(0x1ff)](_0x402da5);if(_0x57ee49[_0x2905f9(0x1f9)]){const _0x58d8c3=this[_0x2905f9(0x1d9)](_0x5774a2),_0x75db87=this[_0x2905f9(0x21c)](_0x57ee49,_0x58d8c3);return _0x50e709[_0x2905f9(0x1e6)](_0x75db87,0x0);}}return null;}[_0x2acb69(0x1d9)](_0x5531e6){const _0xc8c43a=_0x2acb69,_0x3acdf7=this[_0xc8c43a(0x1e0)][_0xc8c43a(0x20d)][_0xc8c43a(0x223)](_0xc8c43a(0x214)),_0x3a1aec=this[_0xc8c43a(0x1e0)][_0xc8c43a(0x1e4)][_0xc8c43a(0x1e3)](_0x5531e6),_0x4e0be4=Array[_0xc8c43a(0x201)](_0x3a1aec[_0xc8c43a(0x1e5)]())[_0xc8c43a(0x202)](_0x282602=>_0x282602['is'](_0xc8c43a(0x1e9),_0xc8c43a(0x205)));let _0x9df544=0x0;return _0x4e0be4[_0xc8c43a(0x21a)](_0x187189=>{const _0x13e7f1=_0xc8c43a;_0x9df544+=_0x3acdf7[_0x13e7f1(0x1eb)](_0x187189);}),_0x9df544;}[_0x2acb69(0x21c)](_0x48a2e1,_0x337970){const _0x19f573=_0x2acb69,_0x1a9ffa=this[_0x19f573(0x1e0)][_0x19f573(0x20d)][_0x19f573(0x223)](_0x19f573(0x214)),_0x4c4066=_0x1a9ffa[_0x19f573(0x208)](_0x48a2e1),_0x382e73=_0x1a9ffa[_0x19f573(0x1ca)](_0x48a2e1),_0x3ef146=_0x4c4066[_0x19f573(0x1f7)]+0x1,_0x242b2e=_0x382e73[_0x19f573(0x1fe)],_0x12a7fa=_0x48a2e1[0x0][_0x19f573(0x1c8)](_0x19f573(0x205));for(let _0x35b760=0x0;_0x35b760<_0x337970;_0x35b760++)_0x1a9ffa[_0x19f573(0x20e)](_0x12a7fa,{'at':_0x3ef146});return _0x12a7fa[_0x19f573(0x1c2)](_0x3ef146)[_0x19f573(0x1c2)](_0x242b2e);}[_0x2acb69(0x1bb)](_0x1f6c29,_0x1c6b81){const _0x218344=_0x2acb69,{plugins:_0x28d856}=this[_0x218344(0x1e0)],{model:_0x53dfb5}=_0x1f6c29;if(!_0x28d856[_0x218344(0x206)](_0x218344(0x214)))return;_0x28d856[_0x218344(0x223)](_0x218344(0x214))[_0x218344(0x1ff)](_0x1c6b81)[_0x218344(0x1f9)]&&_0x53dfb5[_0x218344(0x1cb)](_0x1c6b81);}}
23
+ const _0x1a0889=_0x5579;(function(_0x3329f5,_0x497a76){const _0x4838ed=_0x5579,_0x2a84b4=_0x3329f5();while(!![]){try{const _0x55c9b6=parseInt(_0x4838ed(0xed))/0x1+-parseInt(_0x4838ed(0x10c))/0x2+parseInt(_0x4838ed(0x127))/0x3+-parseInt(_0x4838ed(0x11a))/0x4*(-parseInt(_0x4838ed(0x13c))/0x5)+-parseInt(_0x4838ed(0x10a))/0x6+-parseInt(_0x4838ed(0x107))/0x7*(-parseInt(_0x4838ed(0x139))/0x8)+parseInt(_0x4838ed(0xff))/0x9*(parseInt(_0x4838ed(0xe8))/0xa);if(_0x55c9b6===_0x497a76)break;else _0x2a84b4['push'](_0x2a84b4['shift']());}catch(_0x9214d5){_0x2a84b4['push'](_0x2a84b4['shift']());}}}(_0x147d,0xa5b79));import{uid as _0x400760}from'ckeditor5/src/utils.js';import{Plugin as _0x54531c}from'ckeditor5/src/core.js';function _0x147d(){const _0x24d62b=['editing','table','getRows','setSelection','end','paste','showFakeVisualSelection','getMarkersGroup','first','ck-ai-assistant-ui_theme','from','findAncestor','contentInsertion','pop','isContent','fire','init','getSelectedTableCells','getFirstRange','model','isAtEnd','_resetContentOfSelectedTableCells','createSelection','50vNzxvT','getRange','markers','afterInit','getRowIndexes','209665ubjIrt','createUIElement','markerToElement','ck-fake-ai-selection_collapsed','isCollapsed','text/html','ai.assistant.useTheme','markerRange','once','insertContent','join','getLastMatchingPosition','deleteContent','has','insertContentBelow','_getTableRowCountFromContent','last','change','617319QyMYpF','getRanges','_pasteHTMLUsingClipboard','off','setData','element','schema','hideFakeVisualSelection','407519XgAvGk','insertRows','updateMarker','5592846apsUXS','document','1796722rFCxew','ck-fake-ai-selection','_prepareTableInsertBelowPosition','lowest','parse','pluginName','span','editingDowncast','createPositionAt','_getAISelection','TableUtils','_createEmptyTableRows','removeMarker','getChild','512596tqbput','filter','forEach','isOfficialPlugin','push','config','map','fromCharCode','_getDefaultInsertBelowPosition','href','for','isPremiumPlugin','data','629373jTdpFZ','createRange','resultRange','getLastPosition','length','AIAssistantEditing','canEditAt','getColumnIndexes','editor','DataTransfer','getSelectedBlocks','plugins','markerToHighlight','get','ai-ui','addMarker','addClass','selection','152vqYkaG','conversion','start','25GfvWkO','createPositionAfter','getChildren'];_0x147d=function(){return _0x24d62b;};return _0x147d();}import{ClipboardPipeline as _0x30a727}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1205d1,ViewDataTransfer as _0x3b472a}from'ckeditor5/src/engine.js';function _0x5579(_0x275203,_0x48e223){const _0x147d54=_0x147d();return _0x5579=function(_0x557908,_0x3943b6){_0x557908=_0x557908-0xd6;let _0x3761f0=_0x147d54[_0x557908];return _0x3761f0;},_0x5579(_0x275203,_0x48e223);}const w=globalThis[_0x1a0889(0x130)],f=_0x1a0889(0x135);export class AIAssistantEditing extends _0x54531c{static get[_0x1a0889(0x111)](){const _0x1d692c=_0x1a0889;return _0x1d692c(0x12c);}static get[_0x1a0889(0x11d)](){return!0x0;}static get[_0x1a0889(0x125)](){return!0x0;}[_0x1a0889(0xe1)](){const _0x4e119b=_0x1a0889,{editor:_0x3e1eaa}=this,_0x12d955=[_0x4e119b(0x10d)];_0x3e1eaa[_0x4e119b(0x11f)][_0x4e119b(0x134)](_0x4e119b(0xf3))&&_0x12d955[_0x4e119b(0x11e)](_0x4e119b(0xda)),_0x3e1eaa[_0x4e119b(0x13a)][_0x4e119b(0x124)](_0x4e119b(0x113))[_0x4e119b(0x133)]({'model':f,'view':{'classes':_0x12d955,'priority':0xc}}),_0x3e1eaa[_0x4e119b(0x13a)][_0x4e119b(0x124)](_0x4e119b(0x113))[_0x4e119b(0xef)]({'model':f,'view':(_0xb5780,{writer:_0x37d0dd})=>{const _0x57c732=_0x4e119b;if(!_0xb5780[_0x57c732(0xf4)][_0x57c732(0xf1)])return null;const _0x5a2e23=_0x37d0dd[_0x57c732(0xee)](_0x57c732(0x112));return _0x37d0dd[_0x57c732(0x137)]([_0x57c732(0x10d),_0x57c732(0xf0)],_0x5a2e23),_0x5a2e23;}});}[_0x1a0889(0xeb)](){!async function(_0x3c0193){const _0x19904e=_0x3ee5b8([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]),_0x30bf8e=0x3dffc4e1,_0x2d4b91=0x3df843b1^_0x30bf8e,_0x5df20c=window[_0x3ee5b8([0x44,0x61,0x74,0x65])][_0x3ee5b8([0x6e,0x6f,0x77])](),_0x2b1f79=_0x3c0193[_0x3ee5b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f1296=new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa2f5b4=>{_0x2b1f79[_0x3ee5b8([0x6f,0x6e,0x63,0x65])](_0x3ee5b8([0x72,0x65,0x61,0x64,0x79]),_0xa2f5b4);}),_0x20ee57={[_0x3ee5b8([0x6b,0x74,0x79])]:_0x3ee5b8([0x45,0x43]),[_0x3ee5b8([0x75,0x73,0x65])]:_0x3ee5b8([0x73,0x69,0x67]),[_0x3ee5b8([0x63,0x72,0x76])]:_0x3ee5b8([0x50,0x2d,0x32,0x35,0x36]),[_0x3ee5b8([0x78])]:_0x3ee5b8([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]),[_0x3ee5b8([0x79])]:_0x3ee5b8([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]),[_0x3ee5b8([0x61,0x6c,0x67])]:_0x3ee5b8([0x45,0x53,0x32,0x35,0x36])},_0x404e8c=_0x2b1f79[_0x3ee5b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ee5b8([0x67,0x65,0x74])](_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53f4c4(){let _0x21ba99,_0x51c6b5=null,_0x16de3e=null;try{if(_0x404e8c==_0x3ee5b8([0x47,0x50,0x4c]))return _0x3ee5b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21ba99=_0x5835e6(),!_0x21ba99)return _0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21ba99[_0x3ee5b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16de3e=_0x6cc9be(_0x21ba99[_0x3ee5b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21ba99[_0x3ee5b8([0x6a,0x74,0x69])])),await _0x51feb9()?_0x131e21()?_0x2fac6f()?_0x3ee5b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4be102()?(_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ee5b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51c6b5=_0x3894ae(_0x3ee5b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36a6bb()):_0x3ee5b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ee5b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ee5b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fac6f(){const _0x3c63a1=[_0x3ee5b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ee5b8([0x74,0x72,0x69,0x61,0x6c])][_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5df20c/0x3e8:0xe10*_0x2d4b91;return _0x21ba99[_0x3ee5b8([0x65,0x78,0x70])]<_0x3c63a1;}function _0x131e21(){const _0x171351=_0x21ba99[_0x3ee5b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x171351&&(!!_0x171351[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x2a]))||!!_0x171351[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x41,0x49])));}function _0x4be102(){const _0x298eb7=_0x5579,_0x400305=_0x21ba99[_0x3ee5b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x400305||0x0==_0x400305[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe22a68}=new URL(window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x298eb7(0x123)]);if(_0x400305[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe22a68))return!0x0;const _0x10e695=_0xe22a68[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e]));return _0x400305[_0x3ee5b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c2893=>_0x2c2893[_0x3ee5b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ee5b8([0x2a])))[_0x3ee5b8([0x6d,0x61,0x70])](_0x56c481=>_0x56c481[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e])))[_0x3ee5b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26425c=>_0x26425c[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10e695[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ee5b8([0x6d,0x61,0x70])](_0x15c8ea=>Array(_0x10e695[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15c8ea[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ee5b8([0x66,0x69,0x6c,0x6c])](_0x15c8ea[0x0]===_0x3ee5b8([0x2a])?_0x3ee5b8([0x2a]):'')[_0x3ee5b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15c8ea))[_0x3ee5b8([0x73,0x6f,0x6d,0x65])](_0x423ae1=>_0x10e695[_0x3ee5b8([0x65,0x76,0x65,0x72,0x79])]((_0x3623f9,_0xaa0871)=>_0x423ae1[_0xaa0871]===_0x3623f9||_0x423ae1[_0xaa0871]===_0x3ee5b8([0x2a])));}function _0x36a6bb(){return _0x51c6b5&&_0x16de3e?new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b1d53,_0x5548b8)=>{_0x51c6b5[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x4b1d53,_0x5548b8),_0x16de3e[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x51e290=>{_0x51e290!=_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])&&_0x4b1d53(_0x51e290);},_0x5548b8);}):_0x51c6b5||_0x16de3e||_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6cc9be(_0x1915d1,_0x2e924b){return new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2d53=>{if(_0x5f06b5())return _0x5a2d53(_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]));_0x17eccf(),_0x2b1f79[_0x3ee5b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f1d11=!0x1;const _0x21d179=_0x400760();function _0x401998(_0x46aeca){return!!_0x46aeca&&(typeof _0x46aeca===_0x3ee5b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46aeca===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46aeca[_0x3ee5b8([0x74,0x68,0x65,0x6e])]===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46aeca[_0x3ee5b8([0x63,0x61,0x74,0x63,0x68])]===_0x3ee5b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3709b0(_0x2d1563){_0x422f2d(_0x2d1563)[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0xd95556=>{if(!_0xd95556||_0xd95556[_0x3ee5b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ee5b8([0x6f,0x6b]))return _0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29c907(_0x37d885(_0x21d179+_0x2e924b))!=_0xd95556[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x47fd42=>(_0x5e8eee(),_0x47fd42),()=>{const _0x580cd9=_0x513b70();return null==_0x580cd9?(_0x5e8eee(),_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])):_0x3ee5b8(_0x5df20c-_0x580cd9>(0x19f340e1^_0x30bf8e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x5a2d53)[_0x3ee5b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x428da8=0x3dc92a61^_0x30bf8e;function _0x5e8eee(){const _0x8720ea=_0x3ee5b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29c907(_0x37d885(_0x1915d1)),_0x238139=_0x12a968(_0x29c907(window[_0x3ee5b8([0x4d,0x61,0x74,0x68])][_0x3ee5b8([0x63,0x65,0x69,0x6c])](_0x5df20c/_0x428da8)));window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ee5b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8720ea,_0x238139);}function _0x513b70(){const _0xb94f19=_0x3ee5b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29c907(_0x37d885(_0x1915d1)),_0x4bd781=window[_0x3ee5b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ee5b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb94f19);return _0x4bd781?window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a968(_0x4bd781),0x10)*_0x428da8:null;}function _0x422f2d(_0x2583c6){return new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a77c5,_0x2449f6)=>{_0x2583c6[_0x3ee5b8([0x74,0x68,0x65,0x6e])](_0x1a77c5,_0x2449f6),window[_0x3ee5b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2449f6,0x3dfe1021^_0x30bf8e);});}}_0x2b1f79[_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4674e7,_0x4a1d13)=>{if(_0x4a1d13[0x0]!=_0x1915d1)return _0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a1d13[0x1]={..._0x4a1d13[0x1],[_0x3ee5b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21d179};},{[_0x3ee5b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ee5b8([0x68,0x69,0x67,0x68])}),_0x2b1f79[_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11309d=>{_0x401998(_0x11309d[_0x3ee5b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f1d11=!0x0,_0x3709b0(_0x11309d[_0x3ee5b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ee5b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ee5b8([0x6c,0x6f,0x77])}),_0x2f1296[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>{_0x3f1d11||_0x5a2d53(_0x3ee5b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f06b5(){return _0x2b1f79[_0x3ee5b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ee5b8([0x76,0x69,0x65,0x77])][_0x3ee5b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ee5b8([0x61,0x75,0x74,0x6f]);}function _0x17eccf(){_0x2b1f79[_0x3ee5b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ee5b8([0x76,0x69,0x65,0x77])][_0x3ee5b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ee5b8([0x61,0x75,0x74,0x6f]);}}function _0x3894ae(_0x4e9d6e){const _0x586860=[new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44fd66=>setTimeout(_0x44fd66,0x3df6fa2d^_0x30bf8e)),_0x2f1296[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d4341=>{let _0xc2dd24=0x0;_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x6f,0x6e])](_0x3ee5b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x125fb8,_0x3ead9c)=>{_0x3ead9c[0x0][_0x3ee5b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc2dd24++,_0xc2dd24==(0x3dffc109^_0x30bf8e)&&(_0x3d4341(),_0x125fb8[_0x3ee5b8([0x6f,0x66,0x66])]());});}))];return window[_0x3ee5b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ee5b8([0x72,0x61,0x63,0x65])](_0x586860)[_0x3ee5b8([0x74,0x68,0x65,0x6e])](()=>_0x4e9d6e);}async function _0xac7ad3(){await _0x2f1296,_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x483a3f,_0x2b1f79[_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ee5b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x483a3f,_0x2b1f79[_0x3ee5b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ee5b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf45ff6(_0x342e5c){const _0x3b5cde=_0x398e9c();_0x2b1f79[_0x3b5cde]=_0x3ee5b8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x342e5c,_0x342e5c!=_0x3ee5b8([0x56,0x61,0x6c,0x69,0x64])&&_0xac7ad3();}function _0x398e9c(){const _0x3d28ef=window[_0x3ee5b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ee5b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ee5b8([0x6e,0x6f,0x77])]())[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ee5b8([0x2e]),'');let _0x557e2d=_0x3ee5b8([0x6e]);for(let _0x1514db=0x0;_0x1514db<_0x3d28ef[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1514db+=0x2){let _0x24e33c=window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d28ef[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1514db,_0x1514db+0x2));_0x24e33c>=_0x19904e[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24e33c-=_0x19904e[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x557e2d+=_0x19904e[_0x24e33c];}return _0x557e2d;}function _0x5835e6(){const _0xe30356=_0x404e8c[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e]));if(0x3!=_0xe30356[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5df50e(_0xe30356[0x1]);function _0x5df50e(_0x482f87){const _0x9acc09=_0x2ff94e(_0x482f87);return _0x9acc09&&_0x1e81ab()?_0x9acc09:null;function _0x1e81ab(){const _0x7bb9a7=_0x9acc09[_0x3ee5b8([0x6a,0x74,0x69])],_0x16caf0=window[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7bb9a7[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7bb9a7[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b518c={..._0x9acc09,[_0x3ee5b8([0x6a,0x74,0x69])]:_0x7bb9a7[_0x3ee5b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7bb9a7[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b518c[_0x3ee5b8([0x76,0x63])],_0x37d885(_0x3b518c)==_0x16caf0;}}}async function _0x51feb9(){let _0x5c4750=!0x0;try{const _0x14b2b5=_0x404e8c[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])](_0x3ee5b8([0x2e])),[_0x5e139d,_0x5a5c98,_0xe59279]=_0x14b2b5;return _0x4bb6af(_0x5e139d),await _0x415dae(_0x5e139d,_0x5a5c98,_0xe59279),_0x5c4750;}catch{return!0x1;}function _0x4bb6af(_0x39a1dc){const _0x9bbc7f=_0x2ff94e(_0x39a1dc);_0x9bbc7f&&_0x9bbc7f[_0x3ee5b8([0x61,0x6c,0x67])]==_0x3ee5b8([0x45,0x53,0x32,0x35,0x36])||(_0x5c4750=!0x1);}async function _0x415dae(_0x43ee02,_0x1eecc6,_0x309697){const _0x12ce3f=window[_0x3ee5b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ee5b8([0x66,0x72,0x6f,0x6d])](_0x2978a5(_0x309697),_0x268f78=>_0x268f78[_0x3ee5b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1160e3=new window[(_0x3ee5b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ee5b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ee02+_0x3ee5b8([0x2e])+_0x1eecc6),_0x3178ee=window[_0x3ee5b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ee5b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3178ee)return;const _0x311c16=await _0x3178ee[_0x3ee5b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ee5b8([0x6a,0x77,0x6b]),_0x20ee57,{[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x45,0x43,0x44,0x53,0x41]),[_0x3ee5b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ee5b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3178ee[_0x3ee5b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x45,0x43,0x44,0x53,0x41]),[_0x3ee5b8([0x68,0x61,0x73,0x68])]:{[_0x3ee5b8([0x6e,0x61,0x6d,0x65])]:_0x3ee5b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x311c16,_0x12ce3f,_0x1160e3)||(_0x5c4750=!0x1);}}function _0x2ff94e(_0x34246c){return _0x34246c[_0x3ee5b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ee5b8([0x65,0x79]))?JSON[_0x3ee5b8([0x70,0x61,0x72,0x73,0x65])](_0x2978a5(_0x34246c)):null;}function _0x2978a5(_0x2d0269){return window[_0x3ee5b8([0x61,0x74,0x6f,0x62])](_0x2d0269[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ee5b8([0x2b]))[_0x3ee5b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ee5b8([0x2f])));}function _0x37d885(_0x2bb27d){let _0x3370f0=0x1505;function _0x29fc58(_0x3a11d3){for(let _0x3cf2b5=0x0;_0x3cf2b5<_0x3a11d3[_0x3ee5b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cf2b5++){const _0x70e058=_0x3a11d3[_0x3ee5b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3cf2b5);_0x3370f0=(_0x3370f0<<0x5)+_0x3370f0+_0x70e058,_0x3370f0&=_0x3370f0;}}function _0x4bc8c5(_0x172dd0){Array[_0x3ee5b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x172dd0)?_0x172dd0[_0x3ee5b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bc8c5):_0x172dd0&&typeof _0x172dd0==_0x3ee5b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ee5b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x172dd0)[_0x3ee5b8([0x73,0x6f,0x72,0x74])]()[_0x3ee5b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x572975,_0x3fbf9a])=>{_0x29fc58(_0x572975),_0x4bc8c5(_0x3fbf9a);}):_0x29fc58(window[_0x3ee5b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x172dd0));}return _0x4bc8c5(_0x2bb27d),_0x3370f0>>>0x0;}function _0x29c907(_0x4d11ac){return _0x4d11ac[_0x3ee5b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ee5b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ee5b8([0x30]));}function _0x12a968(_0x4fc600){return _0x4fc600[_0x3ee5b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ee5b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ee5b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x483a3f(){}function _0x3ee5b8(_0xe3ccce){const _0x2eace1=_0x5579;return _0xe3ccce[_0x2eace1(0x120)](_0x1c842d=>String[_0x2eace1(0x121)](_0x1c842d))[_0x2eace1(0xf7)]('');}_0xf45ff6(await _0x53f4c4());}(this);}[_0x1a0889(0xd7)](){const _0x25dde4=_0x1a0889,_0x3093a4=this[_0x25dde4(0x12f)][_0x25dde4(0xe4)];_0x3093a4[_0x25dde4(0xfe)](_0x6ae97=>{const _0xf28512=_0x25dde4,_0x53941f=_0x3093a4[_0xf28512(0x10b)][_0xf28512(0x138)][_0xf28512(0x100)]();let _0x5f3e19=0x0;for(const _0x304d56 of _0x53941f){const _0x559bcc=f+':'+_0x5f3e19;if(_0x3093a4[_0xf28512(0xea)][_0xf28512(0xfa)](_0x559bcc))_0x6ae97[_0xf28512(0x109)](_0x559bcc,{'range':_0x304d56});else{if(_0x304d56[_0xf28512(0x13b)][_0xf28512(0xe5)]){const _0x1138b0=_0x304d56[_0xf28512(0x13b)][_0xf28512(0xf8)](({item:_0x298bc3})=>!_0x3093a4[_0xf28512(0x105)][_0xf28512(0xdf)](_0x298bc3),{'boundaries':_0x304d56});_0x6ae97[_0xf28512(0x136)](_0x559bcc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x6ae97[_0xf28512(0x128)](_0x1138b0,_0x304d56[_0xf28512(0x143)])});}else _0x6ae97[_0xf28512(0x136)](_0x559bcc,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x304d56});}_0x5f3e19++;}});}[_0x1a0889(0x106)](){const _0xa39b20=_0x1a0889,_0x4ec8e8=this[_0xa39b20(0x12f)][_0xa39b20(0xe4)],_0x55e963=Array[_0xa39b20(0xdb)](this[_0xa39b20(0x12f)][_0xa39b20(0xe4)][_0xa39b20(0xea)][_0xa39b20(0xd8)](f));_0x55e963[_0xa39b20(0x12b)]&&_0x4ec8e8[_0xa39b20(0xfe)](_0x43222b=>{const _0x1999d4=_0xa39b20;_0x55e963[_0x1999d4(0x11c)](_0x28f1a3=>{const _0x444c0d=_0x1999d4;_0x43222b[_0x444c0d(0x118)](_0x28f1a3);});});}[_0x1a0889(0xf6)](_0x31ffd7,_0x518d4c){const _0x2a4cfc=_0x1a0889,_0x28f6ef=this[_0x2a4cfc(0x115)](),_0x1a1130=_0x518d4c||_0x28f6ef[_0x2a4cfc(0xe3)]();this[_0x2a4cfc(0x12f)][_0x2a4cfc(0xe4)][_0x2a4cfc(0x12d)](_0x1a1130)&&this[_0x2a4cfc(0x12f)][_0x2a4cfc(0xe4)][_0x2a4cfc(0xfe)](_0x1d1f67=>{const _0x447272=_0x2a4cfc;this[_0x447272(0x106)](),_0x518d4c||this[_0x447272(0xe6)](_0x1d1f67,_0x28f6ef),this[_0x447272(0x101)]({'insertAt':_0x1a1130,'writer':_0x1d1f67,'html':_0x31ffd7});});}[_0x1a0889(0xfb)](_0x10ec07){const _0x76527=_0x1a0889,{model:_0x547ffc}=this[_0x76527(0x12f)],_0x1b8dc0=this[_0x76527(0x115)]();_0x547ffc[_0x76527(0xfe)](()=>{const _0x2446b1=_0x76527,_0x455c20=this[_0x2446b1(0x10e)](_0x10ec07,_0x1b8dc0)||this[_0x2446b1(0x122)](_0x1b8dc0);this[_0x2446b1(0xf6)](_0x10ec07,_0x455c20);});}[_0x1a0889(0x115)](){const _0x2f4de7=_0x1a0889,_0x29ff01=this[_0x2f4de7(0x12f)][_0x2f4de7(0xe4)],_0x29e726=Array[_0x2f4de7(0xdb)](_0x29ff01[_0x2f4de7(0xea)][_0x2f4de7(0xd8)](f))[_0x2f4de7(0x120)](_0x47ae6e=>_0x47ae6e[_0x2f4de7(0xe9)]());return _0x29ff01[_0x2f4de7(0xe7)](_0x29e726);}[_0x1a0889(0x101)]({writer:_0x25b7d8,html:_0x10c63e,insertAt:_0x3bab4e}){const _0x56a023=_0x1a0889,{view:_0x3e50e8}=this[_0x56a023(0x12f)][_0x56a023(0x13f)],_0x7dd13f=this[_0x56a023(0x12f)][_0x56a023(0x132)][_0x56a023(0x134)](_0x30a727),_0x24d231=new w();_0x24d231[_0x56a023(0x103)](_0x56a023(0xf2),_0x10c63e);const _0x48c3a0=new ClipboardEvent(_0x56a023(0xd6),{'clipboardData':_0x24d231}),_0x2a00d2=new _0x1205d1(_0x3e50e8,_0x48c3a0,{'dataTransfer':new _0x3b472a(_0x24d231)});_0x25b7d8[_0x56a023(0x142)](_0x3bab4e);const _0x265f1a=(_0x584214,_0x5cb9c7)=>{const _0x17a308=_0x56a023;_0x5cb9c7[_0x17a308(0x129)]&&_0x25b7d8[_0x17a308(0x142)](_0x5cb9c7[_0x17a308(0x129)]);};_0x7dd13f[_0x56a023(0xf5)](_0x56a023(0xdd),_0x265f1a,{'priority':_0x56a023(0x10f)}),_0x3e50e8[_0x56a023(0x10b)][_0x56a023(0xe0)](_0x56a023(0xd6),_0x2a00d2),_0x7dd13f[_0x56a023(0x102)](_0x56a023(0xdd),_0x265f1a);}[_0x1a0889(0x122)](_0x5f0b75){const _0x1a236b=_0x1a0889,{model:_0x535dc5}=this[_0x1a236b(0x12f)],_0x1cc955=Array[_0x1a236b(0xdb)](_0x5f0b75[_0x1a236b(0x131)]());return _0x1cc955[_0x1a236b(0x12b)]?_0x535dc5[_0x1a236b(0x13d)](_0x1cc955[_0x1a236b(0xde)]()):_0x5f0b75[_0x1a236b(0x12a)]();}[_0x1a0889(0x10e)](_0xdb3210,_0x55d330){const _0x45b5b5=_0x1a0889,{model:_0x464ed8,plugins:_0x2fc7c9}=this[_0x45b5b5(0x12f)];if(_0x2fc7c9[_0x45b5b5(0xfa)](_0x45b5b5(0x116))){const _0x12aca4=_0x2fc7c9[_0x45b5b5(0x134)](_0x45b5b5(0x116))[_0x45b5b5(0xe2)](_0x55d330);if(_0x12aca4[_0x45b5b5(0x12b)]){const _0x2832b7=this[_0x45b5b5(0xfc)](_0xdb3210),_0x540faa=this[_0x45b5b5(0x117)](_0x12aca4,_0x2832b7);return _0x464ed8[_0x45b5b5(0x114)](_0x540faa,0x0);}}return null;}[_0x1a0889(0xfc)](_0x1d1b29){const _0x79fc40=_0x1a0889,_0x439668=this[_0x79fc40(0x12f)][_0x79fc40(0x132)][_0x79fc40(0x134)](_0x79fc40(0x116)),_0x1d5f27=this[_0x79fc40(0x12f)][_0x79fc40(0x126)][_0x79fc40(0x110)](_0x1d1b29),_0x5697d9=Array[_0x79fc40(0xdb)](_0x1d5f27[_0x79fc40(0x13e)]())[_0x79fc40(0x11b)](_0x5e4fee=>_0x5e4fee['is'](_0x79fc40(0x104),_0x79fc40(0x140)));let _0x5dd2a1=0x0;return _0x5697d9[_0x79fc40(0x11c)](_0x470af6=>{const _0x4a130b=_0x79fc40;_0x5dd2a1+=_0x439668[_0x4a130b(0x141)](_0x470af6);}),_0x5dd2a1;}[_0x1a0889(0x117)](_0x1607b3,_0x54c31c){const _0x324b99=_0x1a0889,_0x241e71=this[_0x324b99(0x12f)][_0x324b99(0x132)][_0x324b99(0x134)](_0x324b99(0x116)),_0x4ad894=_0x241e71[_0x324b99(0xec)](_0x1607b3),_0x22bc95=_0x241e71[_0x324b99(0x12e)](_0x1607b3),_0x11efba=_0x4ad894[_0x324b99(0xfd)]+0x1,_0x202ed7=_0x22bc95[_0x324b99(0xd9)],_0x2c39f5=_0x1607b3[0x0][_0x324b99(0xdc)](_0x324b99(0x140));for(let _0x3e0a70=0x0;_0x3e0a70<_0x54c31c;_0x3e0a70++)_0x241e71[_0x324b99(0x108)](_0x2c39f5,{'at':_0x11efba});return _0x2c39f5[_0x324b99(0x119)](_0x11efba)[_0x324b99(0x119)](_0x202ed7);}[_0x1a0889(0xe6)](_0x3a5c9e,_0x576466){const _0xdbd7af=_0x1a0889,{plugins:_0x3fa85b}=this[_0xdbd7af(0x12f)],{model:_0x11dab8}=_0x3a5c9e;if(!_0x3fa85b[_0xdbd7af(0xfa)](_0xdbd7af(0x116)))return;_0x3fa85b[_0xdbd7af(0x134)](_0xdbd7af(0x116))[_0xdbd7af(0xe2)](_0x576466)[_0xdbd7af(0x12b)]&&_0x11dab8[_0xdbd7af(0xf9)](_0x576466);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc2b255=_0x202d;(function(_0x418b49,_0xd2e9f1){const _0x38d9b3=_0x202d,_0x150422=_0x418b49();while(!![]){try{const _0xe96b08=-parseInt(_0x38d9b3(0xcf))/0x1*(-parseInt(_0x38d9b3(0x92))/0x2)+-parseInt(_0x38d9b3(0xa8))/0x3+parseInt(_0x38d9b3(0x120))/0x4*(-parseInt(_0x38d9b3(0xe7))/0x5)+-parseInt(_0x38d9b3(0xfa))/0x6*(-parseInt(_0x38d9b3(0x94))/0x7)+-parseInt(_0x38d9b3(0xad))/0x8+-parseInt(_0x38d9b3(0xd2))/0x9+parseInt(_0x38d9b3(0xa1))/0xa*(parseInt(_0x38d9b3(0x130))/0xb);if(_0xe96b08===_0xd2e9f1)break;else _0x150422['push'](_0x150422['shift']());}catch(_0x20b58c){_0x150422['push'](_0x150422['shift']());}}}(_0x59c2,0x50046));import{Plugin as _0x1bad10}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1afafe,IconRobotPencil as _0x3b4f6e}from'ckeditor5/src/icons.js';function _0x59c2(){const _0x49976c=['document','destroy','hide','componentFactory','push','setSelection','menuBar:aiCommands','showAIAssistant','execute','_getMenuBarGroupButtons','_initView','updatePosition','add','AI\x20Commands','_getResolvedCommandsDefinitions','fieldView','requires','isPremiumPlugin','isOn','prompt','getSelectedBlocks','getLimitElement','requiresContent','queryView','invalid','getSelectedElement','featureNotAllowed','view','643LFqgzy','sort','commands','4121361ZnHTPj','rawHtml','contentArea','_aiAdapter','model','show','_aiAssistantController','_dialog','label','panelView','AI\x20Assistant','forEach','_createAIAssistantUIButton','addMany','items','REPLACE','includes','locale','text','Generated\x20content:\x20%0','ck-ai-commands-dropdown\x20','1053245fqzzDl','AI\x20is\x20writing','evaluationLimit','splice','textAdapter','ai.assistant.commands','promptView','_initAriaAiStatusChangeAnnouncements','from','_commandDefinitions','licenseKey','aiLicenseKeyValid','set','isEnabled','currentContext','comment','media','aiLicenseKeyInvalid','map','2758578lKqSzQ','aiLicenseKeyExpired','define','tableOfContents','aiAssistant','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','change','copy','DataTransfer','listenTo','change:value','pluginName','aiLicenseKeyNotAllowed','ai.assistant.useTheme','insertContentBelow','get','<p>','hideUI','hideFakeVisualSelection','wasMoved','AIAssistant','getRanges','change:isError','once','Error\x20during\x20AI\x20content\x20generation:\x20%0','AIAssistantUI','expired','command:','showFakeVisualSelection','aiCommands','menuView','custom','delegate','_forceMarkersCopy','menuitemcheckbox','isFlat','ai-commands-config-order-collision','4tCHayz','values','plugins','focus','init','_uiCssClasses','polite','editor','announce','INSERT','ai.assistant.disabledElements','aiLicenseKeyEvaluationLimit','change:isProcessing','enabledCommandsIds','</p>','menuPanelClass','910360GaKVnL','length','replace','buttonView','_populateMenuBarMenu','_showLicenseError','menuBar:aiAssistant','_licenseKeyCheckInterval','isCollapsed','order','ai.assistant.contentAreaCssClass','bind','updateView','schema','trim','buttons','usageLimit','80ZsZRbo','EDITOR_TOP_SIDE','7ifyWmG','update','replaceContent','domainLimit','config','ck-ai-assistant-ui','body','showUI','errorView','fire','_onExecute','text/html','filter','110mJHgdD','_formView','change:enabledCommandsIds','aiLicenseKeyDomainLimit','insertContent','render','getData','515604ATCipL','reset','selection','source','groupLabel','1821176cYJApq','ck-ai-assistant-button\x20','editing','aiLicenseKeyUsageLimit','children','groupId'];_0x59c2=function(){return _0x49976c;};return _0x59c2();}import{first as _0x1a84dc,CKEditorError as _0x43c2da}from'ckeditor5/src/utils.js';import{createDropdown as _0x58b401,addMenuToDropdown as _0x379b22,ButtonView as _0x442cec,MenuBarMenuListItemButtonView as _0x4897aa,Dialog as _0x30cd9b,DialogViewPosition as _0x3d8ad4,MenuBarMenuView as _0x31a32e,MenuBarMenuListView as _0xab0cde,MenuBarMenuListItemView as _0x3cbebe}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x130807,UNGROUPED_COMMANDS_GROUP_ID as _0x4e5832}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x19c5d5}from'./aiassistantediting.js';import{AIAdapter as _0x1bd94b}from'./adapters/aiadapter.js';import{getTranslation as _0xf33b7e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x157fd6}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x273869}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5ef427}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3a462b}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0xc2b255(0x103)];import{ClipboardMarkersUtils as _0x16baec}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2f2606,ViewDataTransfer as _0xd04bbf}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1bad10{[_0xc2b255(0xf1)];[_0xc2b255(0x88)];[_0xc2b255(0xd9)];[_0xc2b255(0xa2)];[_0xc2b255(0xd5)];[_0xc2b255(0xd8)];[_0xc2b255(0x125)]='';static get[_0xc2b255(0x106)](){const _0x345f5f=_0xc2b255;return _0x345f5f(0x114);}static get[_0xc2b255(0x100)](){return!0x0;}static get[_0xc2b255(0xc4)](){return!0x0;}static get[_0xc2b255(0xc3)](){return[_0x16baec,_0x19c5d5,_0x1bd94b,_0x30cd9b];}constructor(_0x46d18d){const _0xb9124f=_0xc2b255;super(_0x46d18d),_0x46d18d[_0xb9124f(0x98)][_0xb9124f(0xfc)](_0xb9124f(0x12a),[_0xb9124f(0xf7),_0xb9124f(0xd3),_0xb9124f(0xfd)]),_0x46d18d[_0xb9124f(0x98)][_0xb9124f(0xfc)](_0xb9124f(0x8b),''),_0x46d18d[_0xb9124f(0x98)][_0xb9124f(0xfc)](_0xb9124f(0x108),!0x0),this[_0xb9124f(0x125)]=_0xb9124f(0x99)+(_0x46d18d[_0xb9124f(0x98)][_0xb9124f(0x10a)](_0xb9124f(0x108))?_0xb9124f(0xff):'');}[_0xc2b255(0x124)](){const _0x5f2b35=_0xc2b255,{editor:_0x56de8d}=this;this[_0x5f2b35(0xd5)]=_0x56de8d[_0x5f2b35(0x122)][_0x5f2b35(0x10a)](_0x1bd94b),this[_0x5f2b35(0xd9)]=_0x56de8d[_0x5f2b35(0x122)][_0x5f2b35(0x10a)](_0x30cd9b),this[_0x5f2b35(0xa2)]=null,this[_0x5f2b35(0xf0)]=this[_0x5f2b35(0xc1)]();const _0x1e75c5=new _0x157fd6(_0x56de8d,Array[_0x5f2b35(0xef)](this[_0x5f2b35(0xf0)][_0x5f2b35(0x121)]()));_0x56de8d[_0x5f2b35(0xd1)][_0x5f2b35(0xbf)](_0x5f2b35(0xba),_0x1e75c5),_0x56de8d['ui'][_0x5f2b35(0xb6)][_0x5f2b35(0xbf)](_0x5f2b35(0x118),_0x1e2c38=>{const _0x195dbc=_0x5f2b35,_0x60a7d=_0x58b401(_0x1e2c38);return _0x60a7d[_0x195dbc(0xf3)]({'class':_0x195dbc(0xe6)+this[_0x195dbc(0x125)]}),_0x60a7d[_0x195dbc(0x133)][_0x195dbc(0xf3)]({'label':_0xf33b7e(_0x1e2c38,_0x195dbc(0xc0)),'icon':_0x1afafe,'tooltip':!0x0}),_0x60a7d['on'](_0x195dbc(0xbb),_0x547d87=>this[_0x195dbc(0x9e)](_0x547d87[_0x195dbc(0xab)]['id'])),_0x379b22(_0x60a7d,_0x56de8d['ui'][_0x195dbc(0xce)][_0x195dbc(0x9a)],function(_0x2cb0cf){const _0x5e81c0=_0x195dbc,_0xeeff35=_0x130807(_0x2cb0cf[_0x5e81c0(0x98)][_0x5e81c0(0x10a)](_0x5e81c0(0xec)),_0x2cb0cf[_0x5e81c0(0xe3)]),_0x48fa2d=B(_0x2cb0cf,_0xeeff35)[_0x5e81c0(0xa0)](_0x4e7524=>_0x4e7524[_0x5e81c0(0xd1)][_0x5e81c0(0x131)]);if(0x1===_0x48fa2d[_0x5e81c0(0x131)])return B(_0x2cb0cf,_0x48fa2d[0x0][_0x5e81c0(0xd1)])[_0x5e81c0(0xf9)](_0x337017=>({'id':_0x337017['id'],'label':_0x337017[_0x5e81c0(0xda)]}));return _0x48fa2d[_0x5e81c0(0xf9)](_0x582f5d=>{const _0x387f76=_0x5e81c0,{groupId:_0x5b352d,groupLabel:_0x11461c,commands:_0x420358}=_0x582f5d,_0xbf86ef=B(_0x2cb0cf,_0x420358)[_0x387f76(0xf9)](_0x372e83=>({'id':_0x372e83['id'],'label':_0x372e83[_0x387f76(0xda)]}));return{'id':_0x5b352d,'menu':_0x11461c||_0x5b352d,'children':_0xbf86ef};});}(_0x56de8d),{'ariaLabel':_0xf33b7e(_0x1e2c38,_0x195dbc(0xc0))}),_0x60a7d[_0x195dbc(0x119)][_0x195dbc(0x12f)]=_0x195dbc(0xe6)+this[_0x195dbc(0x125)],_0x1e75c5['on'](_0x195dbc(0xa3),_0x17739b),_0x60a7d[_0x195dbc(0x119)][_0x195dbc(0x112)](_0x195dbc(0xa6),_0x17739b),_0x60a7d;function _0x17739b(){const _0x5b4790=_0x195dbc;_0x60a7d[_0x5b4790(0xf4)]=_0x1e75c5[_0x5b4790(0x12d)][_0x5b4790(0x131)]>0x0;for(const _0x29cda9 of _0x60a7d[_0x5b4790(0x119)][_0x5b4790(0x90)])_0x29cda9[_0x5b4790(0xf4)]=_0x1e75c5[_0x5b4790(0x12d)][_0x5b4790(0xe2)](_0x29cda9['id']);}}),_0x56de8d['ui'][_0x5f2b35(0xb6)][_0x5f2b35(0xbf)](_0x5f2b35(0xb9),_0x5e5e80=>{const _0x3ab5ec=_0x5f2b35,_0x1fa609=new _0x31a32e(_0x5e5e80);_0x1fa609[_0x3ab5ec(0x133)][_0x3ab5ec(0xf3)]({'label':_0xf33b7e(_0x5e5e80,_0x3ab5ec(0xc0)),'icon':_0x1afafe}),_0x1fa609[_0x3ab5ec(0x8c)](_0x3ab5ec(0xf4))['to'](_0x1e75c5,_0x3ab5ec(0x12d),_0x2c073a=>_0x2c073a[_0x3ab5ec(0x131)]>0x0);const _0x49d852=_0x130807(_0x56de8d[_0x3ab5ec(0x98)][_0x3ab5ec(0x10a)](_0x3ab5ec(0xec)),_0x5e5e80);return this[_0x3ab5ec(0x85)](_0x1e75c5,_0x1fa609,_0x49d852,_0x45187d=>this[_0x3ab5ec(0x9e)](_0x45187d)),_0x1fa609;}),_0x56de8d['ui'][_0x5f2b35(0xb6)][_0x5f2b35(0xbf)](_0x5f2b35(0xfe),()=>{const _0x595559=_0x5f2b35,_0x1ff536=this[_0x595559(0xde)](_0x442cec);return _0x1ff536[_0x595559(0xf3)]({'tooltip':!0x0,'class':_0x595559(0xae)+this[_0x595559(0x125)]}),_0x1ff536;}),_0x56de8d['ui'][_0x5f2b35(0xb6)][_0x5f2b35(0xbf)](_0x5f2b35(0x87),()=>{const _0xfc149c=_0x5f2b35,_0x452c5d=this[_0xfc149c(0xde)](_0x4897aa);return _0x452c5d[_0xfc149c(0xf3)]({'role':_0xfc149c(0x11d)}),_0x452c5d;}),this[_0x5f2b35(0xf1)]=this[_0x5f2b35(0x127)][_0x5f2b35(0x98)][_0x5f2b35(0x10a)](_0x5f2b35(0xf1));const _0x6b3a1d=this[_0x5f2b35(0x127)];this[_0x5f2b35(0x88)]=setInterval(()=>{const _0x346c2d=_0x5f2b35;let _0x10535b;for(const _0x56b60d in _0x6b3a1d){const _0x1aeaa2=_0x56b60d,_0x139470=_0x6b3a1d[_0x1aeaa2];if(_0x346c2d(0xf2)==_0x139470||_0x346c2d(0xf8)==_0x139470||_0x346c2d(0xfb)==_0x139470||_0x346c2d(0xa4)==_0x139470||_0x346c2d(0x107)==_0x139470||_0x346c2d(0x12b)==_0x139470||_0x346c2d(0xb0)==_0x139470){delete _0x6b3a1d[_0x1aeaa2],_0x10535b=_0x139470,clearInterval(this[_0x346c2d(0x88)]),this[_0x346c2d(0x88)]=void 0x0;break;}}_0x346c2d(0xf8)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0xcb)),_0x346c2d(0xfb)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0x115)),_0x346c2d(0xa4)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0x97)),_0x346c2d(0x107)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0xcd),_0x346c2d(0x10f)),_0x346c2d(0x12b)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0xe9)),_0x346c2d(0xb0)==_0x10535b&&_0x6b3a1d[_0x346c2d(0x86)](_0x346c2d(0x91));},0x3e8);}[_0xc2b255(0xb4)](){const _0x2d6f77=_0xc2b255;super[_0x2d6f77(0xb4)](),this[_0x2d6f77(0x88)]&&clearInterval(this[_0x2d6f77(0x88)]);}[_0xc2b255(0x9b)](_0x1d71c0='',_0x478572='',_0x233e05=_0xc2b255(0x11a)){const _0x44912a=_0xc2b255,_0x4b36ae=this[_0x44912a(0x127)],_0x4b8a65=_0x4b36ae[_0x44912a(0xaf)][_0x44912a(0xce)],_0x482b59=_0x4b36ae[_0x44912a(0x122)][_0x44912a(0x10a)](_0x19c5d5),_0x15f512=_0x4b36ae[_0x44912a(0x122)][_0x44912a(0x10a)](_0x16baec);_0x482b59[_0x44912a(0x117)]();const _0x340cd8=new w(),_0x280ab0=new ClipboardEvent(_0x44912a(0x102),{'clipboardData':_0x340cd8}),_0x5e3dae=new _0xd04bbf(_0x340cd8),_0x750d56=new _0x2f2606(_0x4b8a65,_0x280ab0,{'dataTransfer':_0x5e3dae});_0x15f512[_0x44912a(0x11c)](_0x44912a(0xf6),()=>{const _0x10d2d7=_0x44912a;_0x4b8a65[_0x10d2d7(0xb3)][_0x10d2d7(0x9d)](_0x10d2d7(0x102),_0x750d56);}),this[_0x44912a(0xa2)]||(this[_0x44912a(0xbd)](),this[_0x44912a(0xd8)]=new _0x273869(_0x4b36ae,this[_0x44912a(0xd5)][_0x44912a(0xeb)],this[_0x44912a(0xa2)]));let _0x552489=_0x5e3dae[_0x44912a(0xa7)](_0x44912a(0x9f));const _0x2ae31b=_0x4b36ae[_0x44912a(0xd6)][_0x44912a(0xb3)][_0x44912a(0xaa)],_0x1002d9=Array[_0x44912a(0xef)](_0x2ae31b[_0x44912a(0x110)]());0x1===_0x1002d9[_0x44912a(0x131)]&&_0x1002d9[0x0][_0x44912a(0x11e)]&&!_0x2ae31b[_0x44912a(0xcc)]()&&''!==_0x552489[_0x44912a(0x132)](/&nbsp;/g,'')[_0x44912a(0x8f)]()&&(_0x552489=_0x44912a(0x10b)+_0x552489+_0x44912a(0x12e)),this[_0x44912a(0xd8)][_0x44912a(0x8d)]({'actionId':_0x233e05,'query':_0x1d71c0,'htmlContent':_0x552489,'label':_0x478572,'mainActionLabel':_0x3a462b[_0x4b36ae[_0x44912a(0xd6)][_0x44912a(0xb3)][_0x44912a(0xaa)][_0x44912a(0x89)]?_0x44912a(0x129):_0x44912a(0xe1)]}),_0x44912a(0xfe)!==this[_0x44912a(0xd9)]['id']?this[_0x44912a(0xd9)][_0x44912a(0xd7)]({'id':_0x44912a(0xfe),'icon':_0x3b4f6e,'title':_0xf33b7e(this[_0x44912a(0x127)][_0x44912a(0xe3)],_0x44912a(0xdc)),'content':this[_0x44912a(0xa2)],'position':_0x3d8ad4[_0x44912a(0x93)],'onShow':()=>{const _0x89b816=_0x44912a;this[_0x89b816(0xa2)][_0x89b816(0x123)]();},'onHide':()=>{const _0x530bc0=_0x44912a;this[_0x530bc0(0xd8)][_0x530bc0(0xa9)](),_0x482b59[_0x530bc0(0x10d)]();}}):this[_0x44912a(0xd9)][_0x44912a(0xce)][_0x44912a(0x10e)]||this[_0x44912a(0xd9)][_0x44912a(0xce)][_0x44912a(0xbe)]();}[_0xc2b255(0x10c)](){const _0x4fb999=_0xc2b255;this[_0x4fb999(0xd9)][_0x4fb999(0xb5)]();}[_0xc2b255(0xc1)](){const _0x44363b=_0xc2b255,_0x325740=new Map(),_0x55b77f=_0x130807(this[_0x44363b(0x127)][_0x44363b(0x98)][_0x44363b(0x10a)](_0x44363b(0xec)),this[_0x44363b(0x127)][_0x44363b(0xe3)]);for(const _0x48b842 of _0x55b77f)for(const _0x321b13 of _0x48b842[_0x44363b(0xd1)])_0x325740[_0x44363b(0xf3)](_0x321b13['id'],{..._0x321b13,'groupId':_0x48b842[_0x44363b(0xb2)],'groupLabel':_0x48b842[_0x44363b(0xac)]||_0x48b842[_0x44363b(0xb2)]});return _0x325740;}[_0xc2b255(0xde)](_0x32646a){const _0x5ec46d=_0xc2b255,_0x28f18c=this[_0x5ec46d(0x127)],_0x20c69a=_0x28f18c[_0x5ec46d(0xd1)][_0x5ec46d(0x10a)](_0x5ec46d(0xba)),_0x2c67db=new _0x32646a(_0x28f18c[_0x5ec46d(0xe3)]);return _0x2c67db[_0x5ec46d(0xf3)]({'label':_0xf33b7e(_0x28f18c[_0x5ec46d(0xe3)],_0x5ec46d(0xdc)),'icon':_0x3b4f6e,'isToggleable':!0x0}),_0x2c67db[_0x5ec46d(0x8c)](_0x5ec46d(0xf4))['to'](_0x20c69a),_0x2c67db[_0x5ec46d(0x8c)](_0x5ec46d(0xc5))['to'](this[_0x5ec46d(0xd9)],'id',_0x51de06=>_0x5ec46d(0xfe)===_0x51de06),this[_0x5ec46d(0x104)](_0x2c67db,_0x5ec46d(0xbb),()=>{const _0x52d3aa=_0x5ec46d;_0x2c67db[_0x52d3aa(0xc5)]?this[_0x52d3aa(0x10c)]():_0x20c69a[_0x52d3aa(0xbb)]();}),_0x2c67db;}[_0xc2b255(0xbd)](){const _0x384a23=_0xc2b255,_0x4697eb=this[_0x384a23(0x127)][_0x384a23(0x122)][_0x384a23(0x10a)](_0x19c5d5);this[_0x384a23(0xa2)]=new _0x5ef427(this[_0x384a23(0x127)][_0x384a23(0xe3)],this[_0x384a23(0x125)],this[_0x384a23(0x127)][_0x384a23(0x98)][_0x384a23(0x10a)](_0x384a23(0x8b))),this[_0x384a23(0xa2)]['on'](_0x384a23(0x105),()=>{const _0x4b156f=_0x384a23;this[_0x4b156f(0xd9)][_0x4b156f(0xce)][_0x4b156f(0x10e)]||this[_0x4b156f(0xd9)][_0x4b156f(0xce)][_0x4b156f(0xbe)]();}),this[_0x384a23(0xa2)][_0x384a23(0xed)][_0x384a23(0xca)][_0x384a23(0xc2)]['on'](_0x384a23(0x95),()=>{const _0x4fcc1a=_0x384a23;this[_0x4fcc1a(0xd9)][_0x4fcc1a(0xce)][_0x4fcc1a(0x10e)]||this[_0x4fcc1a(0xd9)][_0x4fcc1a(0xce)][_0x4fcc1a(0xbe)]();}),this[_0x384a23(0x104)](this[_0x384a23(0xa2)],_0x384a23(0x96),()=>{const _0x44e724=_0x384a23;_0x4697eb[_0x44e724(0xa5)](this[_0x44e724(0xd8)][_0x44e724(0xf5)]),this[_0x44e724(0x10c)]();}),this[_0x384a23(0x104)](this[_0x384a23(0xa2)],_0x384a23(0x109),()=>{const _0x340459=_0x384a23;_0x4697eb[_0x340459(0x109)](this[_0x340459(0xd8)][_0x340459(0xf5)]),this[_0x340459(0x10c)]();}),this[_0x384a23(0xee)]();}[_0xc2b255(0xee)](){const _0x3a12c9=_0xc2b255,{locale:_0x585291,ui:{ariaLiveAnnouncer:_0x402a7f}}=this[_0x3a12c9(0x127)];this[_0x3a12c9(0xa2)][_0x3a12c9(0xd4)]['on'](_0x3a12c9(0x12c),(_0x4e2ff4,_0x5896c0,_0x127cc1)=>{const _0x1545cb=_0x3a12c9,_0xa7900d=this[_0x1545cb(0xd8)][_0x1545cb(0xf5)];_0x127cc1?_0x402a7f[_0x1545cb(0x128)](_0xf33b7e(_0x585291,_0x1545cb(0xe8))):_0xa7900d&&_0x402a7f[_0x1545cb(0x128)](_0xf33b7e(_0x585291,_0x1545cb(0xe5),_0xa7900d),{'politeness':_0x1545cb(0x126),'isUnsafeHTML':!0x0});}),this[_0x3a12c9(0xa2)]['on'](_0x3a12c9(0x111),(_0x731108,_0x548f98,_0x4e09ad)=>{const _0x2c34bc=_0x3a12c9;if(_0x4e09ad){const _0x916982=this[_0x2c34bc(0xa2)][_0x2c34bc(0x9c)][_0x2c34bc(0xe4)];_0x402a7f[_0x2c34bc(0x128)](_0xf33b7e(_0x585291,_0x2c34bc(0x113),_0x916982));}});}[_0xc2b255(0x9e)](_0x59fe28){const _0x98697f=_0xc2b255,_0xe211a5=this[_0x98697f(0xf0)][_0x98697f(0x10a)](_0x59fe28),_0x1cd176=this[_0x98697f(0x127)],_0x85e0c1=_0x1cd176[_0x98697f(0xd6)][_0x98697f(0xb3)][_0x98697f(0xaa)],_0x17d4e9=_0x1cd176[_0x98697f(0xd1)][_0x98697f(0x10a)](_0x98697f(0xba)),_0x234e70=_0x1cd176[_0x98697f(0x122)][_0x98697f(0x10a)](_0x19c5d5),_0x4e8500=''+(_0xe211a5[_0x98697f(0xb2)]!==_0x4e5832?_0xe211a5[_0x98697f(0xac)]+':\x20':'')+_0xe211a5[_0x98697f(0xda)];if(!0x1!==_0xe211a5[_0x98697f(0xc9)]&&_0x85e0c1[_0x98697f(0x89)]){const _0x20e6c2=_0x1a84dc(_0x85e0c1[_0x98697f(0xc7)]())||_0x1cd176[_0x98697f(0xd6)][_0x98697f(0x8e)][_0x98697f(0xc8)](_0x85e0c1);_0x1cd176[_0x98697f(0xd6)][_0x98697f(0x101)](_0x55ac84=>{const _0x5db508=_0x98697f;_0x55ac84[_0x5db508(0xb8)](_0x20e6c2,'in');});}_0x234e70[_0x98697f(0x117)](),_0x17d4e9[_0x98697f(0xbb)](_0xe211a5[_0x98697f(0xc6)],_0x4e8500,_0x98697f(0x116)+_0x59fe28);}[_0xc2b255(0x85)](_0x381a48,_0x2f7605,_0x38c48e,_0x126c6a){const _0x1cb02a=_0xc2b255,_0x37162b=this[_0x1cb02a(0x127)],_0x44717e=_0x37162b[_0x1cb02a(0xe3)],_0x19a441=new _0xab0cde(_0x44717e),_0x2d75e3=B(_0x37162b,_0x38c48e)[_0x1cb02a(0xa0)](_0x459c5a=>_0x459c5a[_0x1cb02a(0xd1)][_0x1cb02a(0x131)]);0x1===_0x2d75e3[_0x1cb02a(0x131)]?this[_0x1cb02a(0xbc)]({'command':_0x381a48,'commands':_0x2d75e3[0x0][_0x1cb02a(0xd1)],'parentMenuView':_0x2f7605,'onExecute':_0x126c6a})[_0x1cb02a(0xdd)](_0x286216=>_0x19a441[_0x1cb02a(0xe0)][_0x1cb02a(0xbf)](_0x286216)):_0x2d75e3[_0x1cb02a(0xdd)](({groupId:_0x2911ec,groupLabel:_0xce85a1,commands:_0x2b653a})=>{const _0x239a57=_0x1cb02a,_0x257c04=new _0x3cbebe(_0x44717e,_0x2f7605),_0x5152c8=new _0x31a32e(_0x44717e),_0x156ac6=new _0xab0cde(_0x44717e),_0x554263=this[_0x239a57(0xbc)]({'command':_0x381a48,'commands':_0x2b653a,'parentMenuView':_0x5152c8,'onExecute':_0x126c6a});_0x5152c8[_0x239a57(0x133)][_0x239a57(0xf3)]({'label':_0xce85a1||_0x2911ec}),_0x5152c8[_0x239a57(0x11b)](_0x239a57(0xbb))['to'](_0x2f7605),_0x156ac6[_0x239a57(0xe0)][_0x239a57(0xdf)](_0x554263),_0x5152c8[_0x239a57(0xdb)][_0x239a57(0xb1)][_0x239a57(0xbf)](_0x156ac6),_0x257c04[_0x239a57(0xb1)][_0x239a57(0xbf)](_0x5152c8),_0x19a441[_0x239a57(0xe0)][_0x239a57(0xbf)](_0x257c04);}),_0x2f7605[_0x1cb02a(0xdb)][_0x1cb02a(0xb1)][_0x1cb02a(0xbf)](_0x19a441);}[_0xc2b255(0xbc)]({command:_0x5e299b,commands:_0x17c5ea,parentMenuView:_0x203a10,onExecute:_0x46aec3}){const _0x55481f=_0xc2b255,_0x2a418f=this[_0x55481f(0x127)],_0x276766=_0x2a418f[_0x55481f(0xe3)];return B(_0x2a418f,_0x17c5ea)[_0x55481f(0xf9)](_0x5c81fe=>{const _0x348b21=_0x55481f,_0x240cd0=new _0x3cbebe(_0x276766,_0x203a10),_0x11afde=new _0x4897aa(_0x276766);return _0x11afde[_0x348b21(0xf3)]({'label':_0x5c81fe[_0x348b21(0xda)]}),_0x11afde[_0x348b21(0x11b)](_0x348b21(0xbb))['to'](_0x203a10),_0x11afde['on'](_0x348b21(0xbb),()=>_0x46aec3(_0x5c81fe['id'])),_0x11afde[_0x348b21(0x8c)](_0x348b21(0xf4))['to'](_0x5e299b,_0x348b21(0x12d),_0x4ee5a2=>_0x4ee5a2[_0x348b21(0xe2)](_0x5c81fe['id'])),_0x240cd0[_0x348b21(0xb1)][_0x348b21(0xbf)](_0x11afde),_0x240cd0;});}}function _0x202d(_0x1d44fe,_0x189203){const _0x59c2b3=_0x59c2();return _0x202d=function(_0x202dca,_0x1f118e){_0x202dca=_0x202dca-0x85;let _0x37ad50=_0x59c2b3[_0x202dca];return _0x37ad50;},_0x202d(_0x1d44fe,_0x189203);}function U(_0x27c69a,_0x5085b4){const _0x3cc122=_0xc2b255;return void 0x0!==_0x27c69a[_0x3cc122(0x8a)]&&void 0x0===_0x5085b4[_0x3cc122(0x8a)]?0x1:void 0x0===_0x27c69a[_0x3cc122(0x8a)]&&void 0x0!==_0x5085b4[_0x3cc122(0x8a)]?-0x1:void 0x0!==_0x27c69a[_0x3cc122(0x8a)]&&void 0x0!==_0x5085b4[_0x3cc122(0x8a)]?_0x27c69a[_0x3cc122(0x8a)]-_0x5085b4[_0x3cc122(0x8a)]:0x0;}function B(_0x5bf280,_0x41a14a){const _0x100af7=_0xc2b255;_0x41a14a[_0x100af7(0xd0)](U);const _0x2b39a9={},_0x1b58d8=[];for(const _0x424756 of _0x41a14a)if(void 0x0!==_0x424756[_0x100af7(0x8a)]){if(_0x424756[_0x100af7(0x8a)]in _0x2b39a9)throw new _0x43c2da(_0x100af7(0x11f),_0x5bf280,{'conflictingDefinitions':[_0x424756,_0x2b39a9[_0x424756[_0x100af7(0x8a)]]]});_0x2b39a9[_0x424756[_0x100af7(0x8a)]]=_0x424756,_0x1b58d8[_0x100af7(0xea)](_0x424756[_0x100af7(0x8a)],0x0,_0x424756);}else _0x1b58d8[_0x100af7(0xb7)](_0x424756);return _0x1b58d8;}
23
+ const _0x4b7aa2=_0x10a1;(function(_0x5137fd,_0x432bd6){const _0x180f59=_0x10a1,_0x3d05dc=_0x5137fd();while(!![]){try{const _0x36176d=parseInt(_0x180f59(0x1ae))/0x1+-parseInt(_0x180f59(0x1be))/0x2*(parseInt(_0x180f59(0x20a))/0x3)+parseInt(_0x180f59(0x1c9))/0x4+parseInt(_0x180f59(0x1ed))/0x5*(parseInt(_0x180f59(0x182))/0x6)+-parseInt(_0x180f59(0x202))/0x7*(-parseInt(_0x180f59(0x186))/0x8)+-parseInt(_0x180f59(0x1a8))/0x9+parseInt(_0x180f59(0x1a2))/0xa;if(_0x36176d===_0x432bd6)break;else _0x3d05dc['push'](_0x3d05dc['shift']());}catch(_0x12ff08){_0x3d05dc['push'](_0x3d05dc['shift']());}}}(_0x3e56,0x63010));import{Plugin as _0x53b885}from'ckeditor5/src/core.js';import{IconMagicWand as _0x491da5,IconRobotPencil as _0x108dbc}from'ckeditor5/src/icons.js';import{first as _0x3aa027,CKEditorError as _0x43be50}from'ckeditor5/src/utils.js';import{createDropdown as _0x586a58,addMenuToDropdown as _0x4eb7e6,ButtonView as _0x5f4ddf,MenuBarMenuListItemButtonView as _0x59a250,Dialog as _0x185aa1,DialogViewPosition as _0x2e1bf3,MenuBarMenuView as _0xce789b,MenuBarMenuListView as _0x242d46,MenuBarMenuListItemView as _0xc80219}from'ckeditor5/src/ui.js';function _0x3e56(){const _0x290fab=['updatePosition','8pjQwge','menuBar:aiCommands','getRanges','invalid','text','fire','_initAriaAiStatusChangeAnnouncements','selection','EDITOR_TOP_SIDE','bind','menuBar:aiAssistant','prompt','aiLicenseKeyDomainLimit','destroy','ai.assistant.contentAreaCssClass','values','requiresContent','currentContext','aiAssistant','AI\x20Assistant','replaceContent','menuPanelClass','config','_initView','splice','ai-commands-config-order-collision','getSelectedElement','rawHtml','1987130nTVDHG','AI\x20is\x20writing','map','label','add','trim','6827085TnSMjz','delegate','featureNotAllowed','children','promptView','_forceMarkersCopy','59482RqKUwC','forEach','ck-ai-commands-dropdown\x20','commands','_onExecute','tableOfContents','queryView','copy','componentFactory','panelView','buttons','_commandDefinitions','showFakeVisualSelection','_createAIAssistantUIButton','view','isPremiumPlugin','4KDQqdh','from','AI\x20Commands','sort','replace','isOfficialPlugin','menuitemcheckbox','groupLabel','_formView','isFlat','aiLicenseKeyNotAllowed','2939724cjIlOv','ai.assistant.disabledElements','hideUI','model','textAdapter','aiCommands','render','items','pluginName','usageLimit','define','set','comment','get','AIAssistant','expired','getSelectedBlocks','schema','reset','INSERT','update','_aiAdapter','editor','execute','aiLicenseKeyEvaluationLimit','editing','showUI','isOn','once','listenTo','groupId','enabledCommandsIds','evaluationLimit','command:','insertContentBelow','requires','179065Ipbisq','aiLicenseKeyInvalid','fieldView','ck-ai-assistant-ui','hideFakeVisualSelection','filter','length','media','order','polite','getData','ck-ai-assistant-button\x20','show','_getResolvedCommandsDefinitions','source','\x20ck-ai-assistant-ui_theme','plugins','aiLicenseKeyExpired','change','errorView','announce','4407004OgfKQt','insertContent','body','document','<p>','hide','_getMenuBarGroupButtons','Error\x20during\x20AI\x20content\x20generation:\x20%0','741639OWsNgF','_populateMenuBarMenu','domainLimit','showAIAssistant','ai.assistant.commands','buttonView','AIAssistantUI','aiLicenseKeyValid','change:enabledCommandsIds','</p>','_uiCssClasses','change:isProcessing','text/html','_showLicenseError','_dialog','getLimitElement','_licenseKeyCheckInterval','init','change:isError','aiLicenseKeyUsageLimit','focus','locale','Generated\x20content:\x20%0','setSelection','updateView','isEnabled','menuView','custom','contentArea','addMany','REPLACE','_aiAssistantController','ai.assistant.useTheme','wasMoved','DataTransfer','licenseKey','isCollapsed','includes','6rDqusn','push','change:value'];_0x3e56=function(){return _0x290fab;};return _0x3e56();}import{normalizeCommandsConfig as _0x377f38,UNGROUPED_COMMANDS_GROUP_ID as _0x3941bf}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2d9984}from'./aiassistantediting.js';import{AIAdapter as _0x970663}from'./adapters/aiadapter.js';import{getTranslation as _0x184d09}from'./utils/common-translations.js';function _0x10a1(_0x301582,_0x5af336){const _0x3e5604=_0x3e56();return _0x10a1=function(_0x10a152,_0x1713bc){_0x10a152=_0x10a152-0x178;let _0x4f9924=_0x3e5604[_0x10a152];return _0x4f9924;},_0x10a1(_0x301582,_0x5af336);}import{ShowAIAssistantCommand as _0x1a9a07}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3c4707}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x306f36}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x395454}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x4b7aa2(0x17e)];import{ClipboardMarkersUtils as _0x4a7823}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3bdf91,ViewDataTransfer as _0x86c3c2}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x53b885{[_0x4b7aa2(0x17f)];[_0x4b7aa2(0x21a)];[_0x4b7aa2(0x218)];[_0x4b7aa2(0x1c6)];[_0x4b7aa2(0x1de)];[_0x4b7aa2(0x17b)];[_0x4b7aa2(0x214)]='';static get[_0x4b7aa2(0x1d1)](){const _0x374ff7=_0x4b7aa2;return _0x374ff7(0x210);}static get[_0x4b7aa2(0x1c3)](){return!0x0;}static get[_0x4b7aa2(0x1bd)](){return!0x0;}static get[_0x4b7aa2(0x1ec)](){return[_0x4a7823,_0x2d9984,_0x970663,_0x185aa1];}constructor(_0x4d248f){const _0x215c90=_0x4b7aa2;super(_0x4d248f),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x1ca),[_0x215c90(0x1f4),_0x215c90(0x1a1),_0x215c90(0x1b3)]),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x194),''),_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d3)](_0x215c90(0x17c),!0x0),this[_0x215c90(0x214)]=_0x215c90(0x1f0)+(_0x4d248f[_0x215c90(0x19c)][_0x215c90(0x1d6)](_0x215c90(0x17c))?_0x215c90(0x1fc):'');}[_0x4b7aa2(0x21b)](){const _0x29b4f4=_0x4b7aa2,{editor:_0x143a8d}=this;this[_0x29b4f4(0x1de)]=_0x143a8d[_0x29b4f4(0x1fd)][_0x29b4f4(0x1d6)](_0x970663),this[_0x29b4f4(0x218)]=_0x143a8d[_0x29b4f4(0x1fd)][_0x29b4f4(0x1d6)](_0x185aa1),this[_0x29b4f4(0x1c6)]=null,this[_0x29b4f4(0x1b9)]=this[_0x29b4f4(0x1fa)]();const _0x5e4a42=new _0x1a9a07(_0x143a8d,Array[_0x29b4f4(0x1bf)](this[_0x29b4f4(0x1b9)][_0x29b4f4(0x195)]()));_0x143a8d[_0x29b4f4(0x1b1)][_0x29b4f4(0x1a6)](_0x29b4f4(0x20d),_0x5e4a42),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x1ce),_0x2355a5=>{const _0x25469c=_0x29b4f4,_0x265610=_0x586a58(_0x2355a5);return _0x265610[_0x25469c(0x1d4)]({'class':_0x25469c(0x1b0)+this[_0x25469c(0x214)]}),_0x265610[_0x25469c(0x20f)][_0x25469c(0x1d4)]({'label':_0x184d09(_0x2355a5,_0x25469c(0x1c0)),'icon':_0x491da5,'tooltip':!0x0}),_0x265610['on'](_0x25469c(0x1e0),_0x299d3a=>this[_0x25469c(0x1b2)](_0x299d3a[_0x25469c(0x1fb)]['id'])),_0x4eb7e6(_0x265610,_0x143a8d['ui'][_0x25469c(0x1bc)][_0x25469c(0x204)],function(_0x13ab23){const _0x42034c=_0x25469c,_0x22b64a=_0x377f38(_0x13ab23[_0x42034c(0x19c)][_0x42034c(0x1d6)](_0x42034c(0x20e)),_0x13ab23[_0x42034c(0x21f)]),_0x8fbcd3=B(_0x13ab23,_0x22b64a)[_0x42034c(0x1f2)](_0x3fb3d2=>_0x3fb3d2[_0x42034c(0x1b1)][_0x42034c(0x1f3)]);if(0x1===_0x8fbcd3[_0x42034c(0x1f3)])return B(_0x13ab23,_0x8fbcd3[0x0][_0x42034c(0x1b1)])[_0x42034c(0x1a4)](_0x336db0=>({'id':_0x336db0['id'],'label':_0x336db0[_0x42034c(0x1a5)]}));return _0x8fbcd3[_0x42034c(0x1a4)](_0x43caf8=>{const _0x286df8=_0x42034c,{groupId:_0x18db22,groupLabel:_0x4ccc7c,commands:_0x2c7c6b}=_0x43caf8,_0x6e9380=B(_0x13ab23,_0x2c7c6b)[_0x286df8(0x1a4)](_0x57d335=>({'id':_0x57d335['id'],'label':_0x57d335[_0x286df8(0x1a5)]}));return{'id':_0x18db22,'menu':_0x4ccc7c||_0x18db22,'children':_0x6e9380};});}(_0x143a8d),{'ariaLabel':_0x184d09(_0x2355a5,_0x25469c(0x1c0))}),_0x265610[_0x25469c(0x224)][_0x25469c(0x19b)]=_0x25469c(0x1b0)+this[_0x25469c(0x214)],_0x5e4a42['on'](_0x25469c(0x212),_0xcef260),_0x265610[_0x25469c(0x224)][_0x25469c(0x1e5)](_0x25469c(0x1cf),_0xcef260),_0x265610;function _0xcef260(){const _0x1846df=_0x25469c;_0x265610[_0x1846df(0x223)]=_0x5e4a42[_0x1846df(0x1e8)][_0x1846df(0x1f3)]>0x0;for(const _0x990d3d of _0x265610[_0x1846df(0x224)][_0x1846df(0x1b8)])_0x990d3d[_0x1846df(0x223)]=_0x5e4a42[_0x1846df(0x1e8)][_0x1846df(0x181)](_0x990d3d['id']);}}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x187),_0x17d71f=>{const _0x2d6347=_0x29b4f4,_0x311ae1=new _0xce789b(_0x17d71f);_0x311ae1[_0x2d6347(0x20f)][_0x2d6347(0x1d4)]({'label':_0x184d09(_0x17d71f,_0x2d6347(0x1c0)),'icon':_0x491da5}),_0x311ae1[_0x2d6347(0x18f)](_0x2d6347(0x223))['to'](_0x5e4a42,_0x2d6347(0x1e8),_0x16cc7b=>_0x16cc7b[_0x2d6347(0x1f3)]>0x0);const _0x5dd69e=_0x377f38(_0x143a8d[_0x2d6347(0x19c)][_0x2d6347(0x1d6)](_0x2d6347(0x20e)),_0x17d71f);return this[_0x2d6347(0x20b)](_0x5e4a42,_0x311ae1,_0x5dd69e,_0x1a26c6=>this[_0x2d6347(0x1b2)](_0x1a26c6)),_0x311ae1;}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x198),()=>{const _0x353b64=_0x29b4f4,_0x3860a6=this[_0x353b64(0x1bb)](_0x5f4ddf);return _0x3860a6[_0x353b64(0x1d4)]({'tooltip':!0x0,'class':_0x353b64(0x1f8)+this[_0x353b64(0x214)]}),_0x3860a6;}),_0x143a8d['ui'][_0x29b4f4(0x1b6)][_0x29b4f4(0x1a6)](_0x29b4f4(0x190),()=>{const _0x456ade=_0x29b4f4,_0x4e481b=this[_0x456ade(0x1bb)](_0x59a250);return _0x4e481b[_0x456ade(0x1d4)]({'role':_0x456ade(0x1c4)}),_0x4e481b;}),this[_0x29b4f4(0x17f)]=this[_0x29b4f4(0x1df)][_0x29b4f4(0x19c)][_0x29b4f4(0x1d6)](_0x29b4f4(0x17f));const _0x5ed2b4=this[_0x29b4f4(0x1df)];this[_0x29b4f4(0x21a)]=setInterval(()=>{const _0x1d96e7=_0x29b4f4;let _0x4ffd79;for(const _0x1c4bc6 in _0x5ed2b4){const _0x14d42c=_0x1c4bc6,_0x19f0bb=_0x5ed2b4[_0x14d42c];if(_0x1d96e7(0x211)==_0x19f0bb||_0x1d96e7(0x1ee)==_0x19f0bb||_0x1d96e7(0x1fe)==_0x19f0bb||_0x1d96e7(0x192)==_0x19f0bb||_0x1d96e7(0x1c8)==_0x19f0bb||_0x1d96e7(0x1e1)==_0x19f0bb||_0x1d96e7(0x21d)==_0x19f0bb){delete _0x5ed2b4[_0x14d42c],_0x4ffd79=_0x19f0bb,clearInterval(this[_0x1d96e7(0x21a)]),this[_0x1d96e7(0x21a)]=void 0x0;break;}}_0x1d96e7(0x1ee)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x189)),_0x1d96e7(0x1fe)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1d8)),_0x1d96e7(0x192)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x20c)),_0x1d96e7(0x1c8)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1aa),_0x1d96e7(0x1d7)),_0x1d96e7(0x1e1)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1e9)),_0x1d96e7(0x21d)==_0x4ffd79&&_0x5ed2b4[_0x1d96e7(0x217)](_0x1d96e7(0x1d2));},0x3e8);}[_0x4b7aa2(0x193)](){const _0x3574a8=_0x4b7aa2;super[_0x3574a8(0x193)](),this[_0x3574a8(0x21a)]&&clearInterval(this[_0x3574a8(0x21a)]);}[_0x4b7aa2(0x1e3)](_0x405a4d='',_0x2b66ad='',_0x4428cc=_0x4b7aa2(0x225)){const _0x5bb9e5=_0x4b7aa2,_0x17070f=this[_0x5bb9e5(0x1df)],_0x1e9d9a=_0x17070f[_0x5bb9e5(0x1e2)][_0x5bb9e5(0x1bc)],_0x15185e=_0x17070f[_0x5bb9e5(0x1fd)][_0x5bb9e5(0x1d6)](_0x2d9984),_0x21d92d=_0x17070f[_0x5bb9e5(0x1fd)][_0x5bb9e5(0x1d6)](_0x4a7823);_0x15185e[_0x5bb9e5(0x1ba)]();const _0x54b254=new w(),_0x573454=new ClipboardEvent(_0x5bb9e5(0x1b5),{'clipboardData':_0x54b254}),_0x4f581f=new _0x86c3c2(_0x54b254),_0x42ad6a=new _0x3bdf91(_0x1e9d9a,_0x573454,{'dataTransfer':_0x4f581f});_0x21d92d[_0x5bb9e5(0x1ad)](_0x5bb9e5(0x1d5),()=>{const _0x56c2ce=_0x5bb9e5;_0x1e9d9a[_0x56c2ce(0x205)][_0x56c2ce(0x18b)](_0x56c2ce(0x1b5),_0x42ad6a);}),this[_0x5bb9e5(0x1c6)]||(this[_0x5bb9e5(0x19d)](),this[_0x5bb9e5(0x17b)]=new _0x3c4707(_0x17070f,this[_0x5bb9e5(0x1de)][_0x5bb9e5(0x1cd)],this[_0x5bb9e5(0x1c6)]));let _0x2c7fac=_0x4f581f[_0x5bb9e5(0x1f7)](_0x5bb9e5(0x216));const _0x528b73=_0x17070f[_0x5bb9e5(0x1cc)][_0x5bb9e5(0x205)][_0x5bb9e5(0x18d)],_0xe7d37d=Array[_0x5bb9e5(0x1bf)](_0x528b73[_0x5bb9e5(0x188)]());0x1===_0xe7d37d[_0x5bb9e5(0x1f3)]&&_0xe7d37d[0x0][_0x5bb9e5(0x1c7)]&&!_0x528b73[_0x5bb9e5(0x1a0)]()&&''!==_0x2c7fac[_0x5bb9e5(0x1c2)](/&nbsp;/g,'')[_0x5bb9e5(0x1a7)]()&&(_0x2c7fac=_0x5bb9e5(0x206)+_0x2c7fac+_0x5bb9e5(0x213)),this[_0x5bb9e5(0x17b)][_0x5bb9e5(0x222)]({'actionId':_0x4428cc,'query':_0x405a4d,'htmlContent':_0x2c7fac,'label':_0x2b66ad,'mainActionLabel':_0x395454[_0x17070f[_0x5bb9e5(0x1cc)][_0x5bb9e5(0x205)][_0x5bb9e5(0x18d)][_0x5bb9e5(0x180)]?_0x5bb9e5(0x1dc):_0x5bb9e5(0x17a)]}),_0x5bb9e5(0x198)!==this[_0x5bb9e5(0x218)]['id']?this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1f9)]({'id':_0x5bb9e5(0x198),'icon':_0x108dbc,'title':_0x184d09(this[_0x5bb9e5(0x1df)][_0x5bb9e5(0x21f)],_0x5bb9e5(0x199)),'content':this[_0x5bb9e5(0x1c6)],'position':_0x2e1bf3[_0x5bb9e5(0x18e)],'onShow':()=>{const _0x5e7e02=_0x5bb9e5;this[_0x5e7e02(0x1c6)][_0x5e7e02(0x21e)]();},'onHide':()=>{const _0x2d7c95=_0x5bb9e5;this[_0x2d7c95(0x17b)][_0x2d7c95(0x1db)](),_0x15185e[_0x2d7c95(0x1f1)]();}}):this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1bc)][_0x5bb9e5(0x17d)]||this[_0x5bb9e5(0x218)][_0x5bb9e5(0x1bc)][_0x5bb9e5(0x185)]();}[_0x4b7aa2(0x1cb)](){const _0x11d727=_0x4b7aa2;this[_0x11d727(0x218)][_0x11d727(0x207)]();}[_0x4b7aa2(0x1fa)](){const _0x3ec3e6=_0x4b7aa2,_0x2ef50f=new Map(),_0x42e1a4=_0x377f38(this[_0x3ec3e6(0x1df)][_0x3ec3e6(0x19c)][_0x3ec3e6(0x1d6)](_0x3ec3e6(0x20e)),this[_0x3ec3e6(0x1df)][_0x3ec3e6(0x21f)]);for(const _0x1171ba of _0x42e1a4)for(const _0x763cda of _0x1171ba[_0x3ec3e6(0x1b1)])_0x2ef50f[_0x3ec3e6(0x1d4)](_0x763cda['id'],{..._0x763cda,'groupId':_0x1171ba[_0x3ec3e6(0x1e7)],'groupLabel':_0x1171ba[_0x3ec3e6(0x1c5)]||_0x1171ba[_0x3ec3e6(0x1e7)]});return _0x2ef50f;}[_0x4b7aa2(0x1bb)](_0x1c4a0e){const _0x12ef91=_0x4b7aa2,_0x5cc178=this[_0x12ef91(0x1df)],_0x1147db=_0x5cc178[_0x12ef91(0x1b1)][_0x12ef91(0x1d6)](_0x12ef91(0x20d)),_0x2f33d0=new _0x1c4a0e(_0x5cc178[_0x12ef91(0x21f)]);return _0x2f33d0[_0x12ef91(0x1d4)]({'label':_0x184d09(_0x5cc178[_0x12ef91(0x21f)],_0x12ef91(0x199)),'icon':_0x108dbc,'isToggleable':!0x0}),_0x2f33d0[_0x12ef91(0x18f)](_0x12ef91(0x223))['to'](_0x1147db),_0x2f33d0[_0x12ef91(0x18f)](_0x12ef91(0x1e4))['to'](this[_0x12ef91(0x218)],'id',_0x1d2c57=>_0x12ef91(0x198)===_0x1d2c57),this[_0x12ef91(0x1e6)](_0x2f33d0,_0x12ef91(0x1e0),()=>{const _0x988e01=_0x12ef91;_0x2f33d0[_0x988e01(0x1e4)]?this[_0x988e01(0x1cb)]():_0x1147db[_0x988e01(0x1e0)]();}),_0x2f33d0;}[_0x4b7aa2(0x19d)](){const _0x3365d7=_0x4b7aa2,_0x1aef15=this[_0x3365d7(0x1df)][_0x3365d7(0x1fd)][_0x3365d7(0x1d6)](_0x2d9984);this[_0x3365d7(0x1c6)]=new _0x306f36(this[_0x3365d7(0x1df)][_0x3365d7(0x21f)],this[_0x3365d7(0x214)],this[_0x3365d7(0x1df)][_0x3365d7(0x19c)][_0x3365d7(0x1d6)](_0x3365d7(0x194))),this[_0x3365d7(0x1c6)]['on'](_0x3365d7(0x184),()=>{const _0x4716a2=_0x3365d7;this[_0x4716a2(0x218)][_0x4716a2(0x1bc)][_0x4716a2(0x17d)]||this[_0x4716a2(0x218)][_0x4716a2(0x1bc)][_0x4716a2(0x185)]();}),this[_0x3365d7(0x1c6)][_0x3365d7(0x1ac)][_0x3365d7(0x1b4)][_0x3365d7(0x1ef)]['on'](_0x3365d7(0x1dd),()=>{const _0x2557e9=_0x3365d7;this[_0x2557e9(0x218)][_0x2557e9(0x1bc)][_0x2557e9(0x17d)]||this[_0x2557e9(0x218)][_0x2557e9(0x1bc)][_0x2557e9(0x185)]();}),this[_0x3365d7(0x1e6)](this[_0x3365d7(0x1c6)],_0x3365d7(0x19a),()=>{const _0x64aa84=_0x3365d7;_0x1aef15[_0x64aa84(0x203)](this[_0x64aa84(0x17b)][_0x64aa84(0x197)]),this[_0x64aa84(0x1cb)]();}),this[_0x3365d7(0x1e6)](this[_0x3365d7(0x1c6)],_0x3365d7(0x1eb),()=>{const _0x3a9c2e=_0x3365d7;_0x1aef15[_0x3a9c2e(0x1eb)](this[_0x3a9c2e(0x17b)][_0x3a9c2e(0x197)]),this[_0x3a9c2e(0x1cb)]();}),this[_0x3365d7(0x18c)]();}[_0x4b7aa2(0x18c)](){const _0x20943d=_0x4b7aa2,{locale:_0x34e190,ui:{ariaLiveAnnouncer:_0x32ac68}}=this[_0x20943d(0x1df)];this[_0x20943d(0x1c6)][_0x20943d(0x178)]['on'](_0x20943d(0x215),(_0x29ba46,_0x363ebd,_0x49e63a)=>{const _0x4f1830=_0x20943d,_0x117755=this[_0x4f1830(0x17b)][_0x4f1830(0x197)];_0x49e63a?_0x32ac68[_0x4f1830(0x201)](_0x184d09(_0x34e190,_0x4f1830(0x1a3))):_0x117755&&_0x32ac68[_0x4f1830(0x201)](_0x184d09(_0x34e190,_0x4f1830(0x220),_0x117755),{'politeness':_0x4f1830(0x1f6),'isUnsafeHTML':!0x0});}),this[_0x20943d(0x1c6)]['on'](_0x20943d(0x21c),(_0x51a20,_0x2cc2d3,_0xb20b21)=>{const _0x2af04c=_0x20943d;if(_0xb20b21){const _0x469f6b=this[_0x2af04c(0x1c6)][_0x2af04c(0x200)][_0x2af04c(0x18a)];_0x32ac68[_0x2af04c(0x201)](_0x184d09(_0x34e190,_0x2af04c(0x209),_0x469f6b));}});}[_0x4b7aa2(0x1b2)](_0x19e4b7){const _0x2fb8f9=_0x4b7aa2,_0x579cb5=this[_0x2fb8f9(0x1b9)][_0x2fb8f9(0x1d6)](_0x19e4b7),_0x5d6b16=this[_0x2fb8f9(0x1df)],_0x9e0a91=_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x205)][_0x2fb8f9(0x18d)],_0x3e8f55=_0x5d6b16[_0x2fb8f9(0x1b1)][_0x2fb8f9(0x1d6)](_0x2fb8f9(0x20d)),_0x33745a=_0x5d6b16[_0x2fb8f9(0x1fd)][_0x2fb8f9(0x1d6)](_0x2d9984),_0x522678=''+(_0x579cb5[_0x2fb8f9(0x1e7)]!==_0x3941bf?_0x579cb5[_0x2fb8f9(0x1c5)]+':\x20':'')+_0x579cb5[_0x2fb8f9(0x1a5)];if(!0x1!==_0x579cb5[_0x2fb8f9(0x196)]&&_0x9e0a91[_0x2fb8f9(0x180)]){const _0x47eb04=_0x3aa027(_0x9e0a91[_0x2fb8f9(0x1d9)]())||_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x1da)][_0x2fb8f9(0x219)](_0x9e0a91);_0x5d6b16[_0x2fb8f9(0x1cc)][_0x2fb8f9(0x1ff)](_0x5bd985=>{const _0x560d1e=_0x2fb8f9;_0x5bd985[_0x560d1e(0x221)](_0x47eb04,'in');});}_0x33745a[_0x2fb8f9(0x1ba)](),_0x3e8f55[_0x2fb8f9(0x1e0)](_0x579cb5[_0x2fb8f9(0x191)],_0x522678,_0x2fb8f9(0x1ea)+_0x19e4b7);}[_0x4b7aa2(0x20b)](_0x87df1a,_0x1c75fb,_0x55ec1c,_0x68f6cd){const _0x176341=_0x4b7aa2,_0x709bd2=this[_0x176341(0x1df)],_0x5e3f39=_0x709bd2[_0x176341(0x21f)],_0x433a6c=new _0x242d46(_0x5e3f39),_0x56de77=B(_0x709bd2,_0x55ec1c)[_0x176341(0x1f2)](_0x1e64d4=>_0x1e64d4[_0x176341(0x1b1)][_0x176341(0x1f3)]);0x1===_0x56de77[_0x176341(0x1f3)]?this[_0x176341(0x208)]({'command':_0x87df1a,'commands':_0x56de77[0x0][_0x176341(0x1b1)],'parentMenuView':_0x1c75fb,'onExecute':_0x68f6cd})[_0x176341(0x1af)](_0x2a1a3f=>_0x433a6c[_0x176341(0x1d0)][_0x176341(0x1a6)](_0x2a1a3f)):_0x56de77[_0x176341(0x1af)](({groupId:_0x49e319,groupLabel:_0x4ffb1b,commands:_0x3cf303})=>{const _0x227665=_0x176341,_0x2143dc=new _0xc80219(_0x5e3f39,_0x1c75fb),_0x53451b=new _0xce789b(_0x5e3f39),_0x107017=new _0x242d46(_0x5e3f39),_0x310a61=this[_0x227665(0x208)]({'command':_0x87df1a,'commands':_0x3cf303,'parentMenuView':_0x53451b,'onExecute':_0x68f6cd});_0x53451b[_0x227665(0x20f)][_0x227665(0x1d4)]({'label':_0x4ffb1b||_0x49e319}),_0x53451b[_0x227665(0x1a9)](_0x227665(0x1e0))['to'](_0x1c75fb),_0x107017[_0x227665(0x1d0)][_0x227665(0x179)](_0x310a61),_0x53451b[_0x227665(0x1b7)][_0x227665(0x1ab)][_0x227665(0x1a6)](_0x107017),_0x2143dc[_0x227665(0x1ab)][_0x227665(0x1a6)](_0x53451b),_0x433a6c[_0x227665(0x1d0)][_0x227665(0x1a6)](_0x2143dc);}),_0x1c75fb[_0x176341(0x1b7)][_0x176341(0x1ab)][_0x176341(0x1a6)](_0x433a6c);}[_0x4b7aa2(0x208)]({command:_0xc9037a,commands:_0x4130e5,parentMenuView:_0x49c2f2,onExecute:_0x3c6d08}){const _0x11f21d=_0x4b7aa2,_0x1c57f3=this[_0x11f21d(0x1df)],_0x28c03a=_0x1c57f3[_0x11f21d(0x21f)];return B(_0x1c57f3,_0x4130e5)[_0x11f21d(0x1a4)](_0x326564=>{const _0x41edd8=_0x11f21d,_0x3d7684=new _0xc80219(_0x28c03a,_0x49c2f2),_0x3d9025=new _0x59a250(_0x28c03a);return _0x3d9025[_0x41edd8(0x1d4)]({'label':_0x326564[_0x41edd8(0x1a5)]}),_0x3d9025[_0x41edd8(0x1a9)](_0x41edd8(0x1e0))['to'](_0x49c2f2),_0x3d9025['on'](_0x41edd8(0x1e0),()=>_0x3c6d08(_0x326564['id'])),_0x3d9025[_0x41edd8(0x18f)](_0x41edd8(0x223))['to'](_0xc9037a,_0x41edd8(0x1e8),_0x223a4b=>_0x223a4b[_0x41edd8(0x181)](_0x326564['id'])),_0x3d7684[_0x41edd8(0x1ab)][_0x41edd8(0x1a6)](_0x3d9025),_0x3d7684;});}}function U(_0x15c78d,_0x26d65f){const _0x2eefd7=_0x4b7aa2;return void 0x0!==_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0===_0x26d65f[_0x2eefd7(0x1f5)]?0x1:void 0x0===_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0!==_0x26d65f[_0x2eefd7(0x1f5)]?-0x1:void 0x0!==_0x15c78d[_0x2eefd7(0x1f5)]&&void 0x0!==_0x26d65f[_0x2eefd7(0x1f5)]?_0x15c78d[_0x2eefd7(0x1f5)]-_0x26d65f[_0x2eefd7(0x1f5)]:0x0;}function B(_0x55d3b8,_0x2613b0){const _0x20b291=_0x4b7aa2;_0x2613b0[_0x20b291(0x1c1)](U);const _0x34963a={},_0xedcbdb=[];for(const _0x48b787 of _0x2613b0)if(void 0x0!==_0x48b787[_0x20b291(0x1f5)]){if(_0x48b787[_0x20b291(0x1f5)]in _0x34963a)throw new _0x43be50(_0x20b291(0x19f),_0x55d3b8,{'conflictingDefinitions':[_0x48b787,_0x34963a[_0x48b787[_0x20b291(0x1f5)]]]});_0x34963a[_0x48b787[_0x20b291(0x1f5)]]=_0x48b787,_0xedcbdb[_0x20b291(0x19e)](_0x48b787[_0x20b291(0x1f5)],0x0,_0x48b787);}else _0xedcbdb[_0x20b291(0x183)](_0x48b787);return _0xedcbdb;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x49dc(){var _0x8cde65=['15064iBVFDG','1928820kCthsP','10GHeLju','51435qqmSER','2793JkalWr','4339560aMMuCo','269265QLRHjK','9517680nnWUCb','2009048jCPLVZ'];_0x49dc=function(){return _0x8cde65;};return _0x49dc();}(function(_0x539d1e,_0x52ab6a){var _0x46ca14=_0x5c41,_0x593807=_0x539d1e();while(!![]){try{var _0x128bcb=-parseInt(_0x46ca14(0x11d))/0x1+parseInt(_0x46ca14(0x11c))/0x2*(-parseInt(_0x46ca14(0x120))/0x3)+-parseInt(_0x46ca14(0x122))/0x4+parseInt(_0x46ca14(0x124))/0x5+-parseInt(_0x46ca14(0x11f))/0x6+parseInt(_0x46ca14(0x11e))/0x7*(parseInt(_0x46ca14(0x123))/0x8)+parseInt(_0x46ca14(0x121))/0x9;if(_0x128bcb===_0x52ab6a)break;else _0x593807['push'](_0x593807['shift']());}catch(_0x350d2a){_0x593807['push'](_0x593807['shift']());}}}(_0x49dc,0x72785));function _0x5c41(_0x55f3c3,_0x203044){var _0x49dcba=_0x49dc();return _0x5c41=function(_0x5c41d3,_0x2d08cc){_0x5c41d3=_0x5c41d3-0x11c;var _0x40691c=_0x49dcba[_0x5c41d3];return _0x40691c;},_0x5c41(_0x55f3c3,_0x203044);}import{CKEditorError as _0x28bfc7}from'ckeditor5/src/utils.js';
23
+ (function(_0x129778,_0x1e75b3){var _0x16d904=_0x19c7,_0x1604f1=_0x129778();while(!![]){try{var _0x44e850=parseInt(_0x16d904(0xc0))/0x1+-parseInt(_0x16d904(0xbb))/0x2+parseInt(_0x16d904(0xbc))/0x3*(-parseInt(_0x16d904(0xbf))/0x4)+parseInt(_0x16d904(0xc2))/0x5+-parseInt(_0x16d904(0xbd))/0x6+-parseInt(_0x16d904(0xc4))/0x7*(parseInt(_0x16d904(0xc1))/0x8)+parseInt(_0x16d904(0xc3))/0x9*(parseInt(_0x16d904(0xbe))/0xa);if(_0x44e850===_0x1e75b3)break;else _0x1604f1['push'](_0x1604f1['shift']());}catch(_0x23a744){_0x1604f1['push'](_0x1604f1['shift']());}}}(_0x7033,0x6ac1b));function _0x19c7(_0x56f7b0,_0x57f344){var _0x703354=_0x7033();return _0x19c7=function(_0x19c764,_0x2c979b){_0x19c764=_0x19c764-0xbb;var _0x26f002=_0x703354[_0x19c764];return _0x26f002;},_0x19c7(_0x56f7b0,_0x57f344);}import{CKEditorError as _0x302fb9}from'ckeditor5/src/utils.js';function _0x7033(){var _0x35f764=['1399030sbSOne','73206czmRCV','1977479CxlwBK','394178CtsuVC','938697PTrdsO','3005886CAXRil','1960SynwXP','4ABPMaz','139168qpDrco','16iGpFpn'];_0x7033=function(){return _0x35f764;};return _0x7033();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x185652=_0x1215;(function(_0x268433,_0x45aa2e){const _0x1ab279=_0x1215,_0x49f203=_0x268433();while(!![]){try{const _0x5b7fb4=parseInt(_0x1ab279(0x20e))/0x1*(parseInt(_0x1ab279(0x1ef))/0x2)+-parseInt(_0x1ab279(0x224))/0x3*(-parseInt(_0x1ab279(0x1e3))/0x4)+parseInt(_0x1ab279(0x225))/0x5*(parseInt(_0x1ab279(0x1ec))/0x6)+parseInt(_0x1ab279(0x236))/0x7*(parseInt(_0x1ab279(0x229))/0x8)+parseInt(_0x1ab279(0x213))/0x9*(-parseInt(_0x1ab279(0x1f6))/0xa)+-parseInt(_0x1ab279(0x207))/0xb*(parseInt(_0x1ab279(0x1de))/0xc)+-parseInt(_0x1ab279(0x1df))/0xd;if(_0x5b7fb4===_0x45aa2e)break;else _0x49f203['push'](_0x49f203['shift']());}catch(_0x122ba5){_0x49f203['push'](_0x49f203['shift']());}}}(_0x391c,0xf31dd));import{ObservableMixin as _0x3367ec}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3fa873}from'../adapters/aiadapter.js';import{Matcher as _0x56f670,ViewUpcastWriter as _0x3cacfd}from'ckeditor5/src/engine.js';function _0x1215(_0x1c9421,_0x4faf06){const _0x391c90=_0x391c();return _0x1215=function(_0x1215ac,_0x13b019){_0x1215ac=_0x1215ac-0x1d8;let _0xf66de7=_0x391c90[_0x1215ac];return _0xf66de7;},_0x1215(_0x1c9421,_0x4faf06);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x3367ec(){[_0x185652(0x21f)];[_0x185652(0x231)];[_0x185652(0x20c)];[_0x185652(0x233)];[_0x185652(0x223)];[_0x185652(0x22e)];constructor(_0xbdf7df,_0x2a1ddc,_0x5c23ad){const _0x1696ac=_0x185652;super(),this[_0x1696ac(0x21f)]=_0xbdf7df,this[_0x1696ac(0x231)]=_0x2a1ddc,this[_0x1696ac(0x233)]=document[_0x1696ac(0x1ed)](_0x1696ac(0x20d)),this[_0x1696ac(0x223)]=new DOMParser(),this[_0x1696ac(0x22e)]=new XMLSerializer(),this[_0x1696ac(0x20c)]=_0x5c23ad,this[_0x1696ac(0x218)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1696ac(0x1fc),(_0x3fdcbf,_0x3666fc,_0x382f5b)=>{const _0x4a512d=_0x1696ac;this[_0x4a512d(0x20c)][_0x4a512d(0x210)]=this[_0x4a512d(0x214)](_0x382f5b);}),this[_0x1696ac(0x203)](this[_0x1696ac(0x20c)],_0x1696ac(0x22a),(_0x70f7a2,_0x473b3c)=>{const _0xc0cad=_0x1696ac,_0x39ed92=this[_0xc0cad(0x1e8)]||this[_0xc0cad(0x215)];this[_0xc0cad(0x23e)](_0x473b3c,_0x39ed92,_0xc0cad(0x1d8));}),this[_0x1696ac(0x203)](this[_0x1696ac(0x20c)],_0x1696ac(0x226),()=>{const _0x20bdf6=_0x1696ac;this[_0x20bdf6(0x20c)][_0x20bdf6(0x1dc)]=this[_0x20bdf6(0x1f0)],this[_0x20bdf6(0x23e)](this[_0x20bdf6(0x22f)],this[_0x20bdf6(0x1e6)],this[_0x20bdf6(0x21c)],this[_0x20bdf6(0x1f0)]);}),this[_0x1696ac(0x203)](this[_0x1696ac(0x20c)],_0x1696ac(0x1db),()=>{const _0x45b639=_0x1696ac;this[_0x45b639(0x1db)]();});}[_0x185652(0x216)](){const _0x31d817=_0x185652;this[_0x31d817(0x1e9)]();}async[_0x185652(0x217)]({actionId:_0x49da29,query:_0x761b3a,htmlContent:_0x13e8a9,label:_0x259c9d,mainActionLabel:_0x4b5379}){const _0x247608=_0x185652;this[_0x247608(0x20c)][_0x247608(0x1dc)]=_0x259c9d,this[_0x247608(0x20c)][_0x247608(0x1e0)]=_0x4b5379,this[_0x247608(0x215)]=_0x13e8a9,_0x761b3a&&(this[_0x247608(0x20c)][_0x247608(0x227)]?this[_0x247608(0x23e)](_0x761b3a,_0x13e8a9,_0x49da29,_0x259c9d):this[_0x247608(0x20c)][_0x247608(0x1ee)](_0x247608(0x1fb),()=>{const _0x35fbd3=_0x247608;this[_0x35fbd3(0x23e)](_0x761b3a,_0x13e8a9,_0x49da29,_0x259c9d);}));}[_0x185652(0x1db)](){const _0x11a202=_0x185652;this[_0x11a202(0x1f5)]&&(this[_0x11a202(0x1f5)]=!0x1,this[_0x11a202(0x20c)][_0x11a202(0x201)](),this[_0x11a202(0x231)][_0x11a202(0x20f)]());}[_0x185652(0x221)](){const _0x3f3cc6=_0x185652;this[_0x3f3cc6(0x215)]='',this[_0x3f3cc6(0x1e8)]='',this[_0x3f3cc6(0x219)]='',this[_0x3f3cc6(0x1e6)]='',this[_0x3f3cc6(0x22f)]='',this[_0x3f3cc6(0x1f0)]='',this[_0x3f3cc6(0x21c)]=void 0x0,this[_0x3f3cc6(0x20c)][_0x3f3cc6(0x221)](),this[_0x3f3cc6(0x1db)]();}async[_0x185652(0x23e)](_0x55f10a,_0x51ddbc,_0x1132e8,_0x11a0dd){const _0x352c7a=_0x185652;return this[_0x352c7a(0x1f5)]=!0x0,this[_0x352c7a(0x20c)][_0x352c7a(0x228)](),this[_0x352c7a(0x1e6)]=_0x51ddbc,this[_0x352c7a(0x22f)]=_0x55f10a,this[_0x352c7a(0x1f0)]=_0x11a0dd||_0x55f10a,this[_0x352c7a(0x21c)]=_0x1132e8,new Promise(_0x534b85=>{const _0x39159d=_0x352c7a;this[_0x39159d(0x231)][_0x39159d(0x234)]({'query':_0x55f10a,'context':_0x51ddbc,'onData':_0x596861=>{const _0x3377a8=_0x39159d;this[_0x3377a8(0x219)]=_0x596861,this[_0x3377a8(0x1e8)]=this[_0x3377a8(0x20b)](this[_0x3377a8(0x219)]);},'actionId':_0x1132e8})[_0x39159d(0x1f7)](()=>{const _0x2941b5=_0x39159d;!this[_0x2941b5(0x1e8)]&&this[_0x2941b5(0x219)]&&(this[_0x2941b5(0x1e8)]=this[_0x2941b5(0x20b)](this[_0x2941b5(0x219)],!0x0));})[_0x39159d(0x20a)](_0x558b38=>{const _0x23695a=_0x39159d;_0x558b38 instanceof _0x3fa873?this[_0x23695a(0x20c)][_0x23695a(0x235)](_0x558b38[_0x23695a(0x23c)]):this[_0x23695a(0x20c)][_0x23695a(0x235)](),_0x534b85();})[_0x39159d(0x239)](()=>{const _0x4fc625=_0x39159d;this[_0x4fc625(0x1db)](),_0x534b85();});});}[_0x185652(0x20b)](_0x5b8c3f,_0x227b7a=!0x1){const _0x4e9944=_0x185652,_0x47a1e7=hs[_0x4e9944(0x202)](_0x5b8c3f);_0x5b8c3f=_0x47a1e7?_0x5b8c3f[_0x4e9944(0x22d)](_0x47a1e7[0x1][_0x4e9944(0x21e)]):_0x5b8c3f[_0x4e9944(0x21e)]<0x64&&!_0x227b7a?'':this[_0x4e9944(0x209)](_0x5b8c3f);const _0x401136=this[_0x4e9944(0x223)][_0x4e9944(0x208)](_0x5b8c3f,_0x4e9944(0x1eb));if(_0x47a1e7){const _0x44962a=Array[_0x4e9944(0x1ea)](_0x401136[_0x4e9944(0x1f8)][_0x4e9944(0x23b)]);_0x44962a[_0x4e9944(0x204)]();for(const _0x38f00f of _0x44962a){if(_0x38f00f[_0x4e9944(0x1e4)]==Node[_0x4e9944(0x1f2)])break;_0x38f00f[_0x4e9944(0x1dd)]();}}const _0x33ab37=this[_0x4e9944(0x21f)][_0x4e9944(0x21d)][_0x4e9944(0x1e5)][_0x4e9944(0x1fa)](this[_0x4e9944(0x22e)][_0x4e9944(0x1d9)](_0x401136[_0x4e9944(0x1f8)]));this[_0x4e9944(0x22b)]()||this[_0x4e9944(0x220)](_0x33ab37);const _0x35c482=this[_0x4e9944(0x21f)][_0x4e9944(0x222)][_0x4e9944(0x230)](_0x4e9944(0x21a)),_0xe3993f=this[_0x4e9944(0x21f)][_0x4e9944(0x21d)][_0x4e9944(0x212)](_0x33ab37);return _0x35c482||_0xe3993f[_0x4e9944(0x206)][_0x4e9944(0x21b)](),this[_0x4e9944(0x21f)][_0x4e9944(0x21d)][_0x4e9944(0x232)](_0xe3993f);}[_0x185652(0x220)](_0x16497d){const _0x41bb41=_0x185652,_0x1b6a14=new _0x3cacfd(this[_0x41bb41(0x21f)][_0x41bb41(0x22c)][_0x41bb41(0x20c)][_0x41bb41(0x23d)]),_0x385390=new _0x56f670({'name':/^h[1-5]$/}),_0x1bc87b=[];let _0x27f714=!0x1;for(const _0x59df0c of _0x16497d)_0x59df0c['is'](_0x41bb41(0x238))&&_0x385390[_0x41bb41(0x1ff)](_0x59df0c)&&(_0x1bc87b[_0x41bb41(0x1e2)](_0x59df0c),'h1'==_0x59df0c[_0x41bb41(0x1f3)]&&(_0x27f714=!0x0));if(_0x27f714){for(const _0x1cb56a of _0x1bc87b)_0x1b6a14[_0x41bb41(0x1f9)]('h'+(parseInt(_0x1cb56a[_0x41bb41(0x1f3)][0x1])+0x1),_0x1cb56a);}}[_0x185652(0x22b)](){const _0x17a967=_0x185652,{data:_0xee1bb5,editing:_0xc778df}=this[_0x17a967(0x21f)],_0x555bbd=_0xee1bb5[_0x17a967(0x1fd)][_0x17a967(0x1fa)](_0x17a967(0x205)),_0xfb24f6=_0xee1bb5[_0x17a967(0x1fa)](_0xee1bb5[_0x17a967(0x212)](_0x555bbd));return!!_0xc778df[_0x17a967(0x20c)][_0x17a967(0x23a)][_0x17a967(0x1f1)](_0xfb24f6)[_0x17a967(0x1e7)]('h1');}[_0x185652(0x214)](_0x4c68ca){const _0x1b6155=_0x185652;return this[_0x1b6155(0x21f)][_0x1b6155(0x22c)][_0x1b6155(0x20c)][_0x1b6155(0x23a)][_0x1b6155(0x237)](this[_0x1b6155(0x233)],_0x4c68ca),this[_0x1b6155(0x233)][_0x1b6155(0x1fe)];}[_0x185652(0x209)](_0x236d1c){const _0x127a6c=_0x185652,_0x3a68df=_0x236d1c[_0x127a6c(0x1e1)]();return _0x3a68df[_0x127a6c(0x211)](_0x127a6c(0x1da))?_0x3a68df[_0x127a6c(0x200)](_0x127a6c(0x1f4))?_0x3a68df[_0x127a6c(0x22d)](0x7,_0x3a68df[_0x127a6c(0x21e)]-0x3):_0x3a68df[_0x127a6c(0x22d)](0x7):_0x236d1c;}}function _0x391c(){const _0x1a786f=['submitPrompt','_isH1TagSupportEnabled','editing','substring','_xmlSerializer','previousQuery','get','textAdapter','stringify','_sanitizationContainer','makeRequest','handleError','7muhbnE','setContentOf','element','finally','domConverter','childNodes','message','document','_handleQuery','custom','serializeToString','```html','stopProcessing','prompt','remove','12igwgWn','15648282aitqqp','mainAction','trim','push','1203208dMWQRx','nodeType','processor','previousContext','querySelector','currentContext','stopListening','from','text/html','17970cdgTYS','createElement','once','1590206dgaDLB','previousLabel','viewToDom','ELEMENT_NODE','name','```','isProcessing','30iaagvN','then','body','rename','toView','render','set:currentContext','htmlProcessor','innerHTML','match','endsWith','finishProcessing','exec','listenTo','reverse','<h1></h1>','markers','7476623hprimh','parseFromString','_stripMarkdownSyntax','catch','_parseAndNormalizeContent','view','div','2FJWqtG','abort','value','startsWith','toModel','4489299LbXNtB','_sanitizeHTML','initialContext','destroy','updateView','set','currentResponse','ai.assistant.preserveComments','clear','previousActionId','data','length','editor','_normalizeResponseHeadings','reset','config','_domParser','9GmSyVG','1225IGGXRy','tryAgainEvent','isRendered','startProcessing','9194064kDufUm'];_0x391c=function(){return _0x1a786f;};return _0x391c();}
23
+ const _0xde9980=_0x5f43;(function(_0x56709d,_0x38b609){const _0x4015fb=_0x5f43,_0x510541=_0x56709d();while(!![]){try{const _0x41e2a5=parseInt(_0x4015fb(0x1c3))/0x1*(-parseInt(_0x4015fb(0x1b1))/0x2)+-parseInt(_0x4015fb(0x1cf))/0x3*(parseInt(_0x4015fb(0x1e9))/0x4)+parseInt(_0x4015fb(0x1a7))/0x5+-parseInt(_0x4015fb(0x1f4))/0x6+-parseInt(_0x4015fb(0x1dc))/0x7+-parseInt(_0x4015fb(0x1ea))/0x8+parseInt(_0x4015fb(0x1cb))/0x9*(parseInt(_0x4015fb(0x1b6))/0xa);if(_0x41e2a5===_0x38b609)break;else _0x510541['push'](_0x510541['shift']());}catch(_0x10e241){_0x510541['push'](_0x510541['shift']());}}}(_0x1cca,0x51bed));function _0x5f43(_0x551e34,_0x1ee714){const _0x1cca2c=_0x1cca();return _0x5f43=function(_0x5f4307,_0x5054ca){_0x5f4307=_0x5f4307-0x19d;let _0x5c3d3e=_0x1cca2c[_0x5f4307];return _0x5c3d3e;},_0x5f43(_0x551e34,_0x1ee714);}function _0x1cca(){const _0x3b45bb=['querySelector','initialContext','editor','render','parseFromString','catch','destroy','_sanitizationContainer','_handleQuery','previousQuery','updateView','nodeType','viewToDom','finishProcessing','makeRequest','currentResponse','348475qpsERV','then','textAdapter','ai.assistant.preserveComments','stopListening','div','ELEMENT_NODE','substring','listenTo','_domParser','977978IkycdP','submitPrompt','htmlProcessor','from','stopProcessing','25680190PgPOin','mainAction','get','```html','reverse','innerHTML','trim','startProcessing','remove','abort','finally','once','previousContext','1ebutgV','exec','_parseAndNormalizeContent','body','<h1></h1>','config','toModel','tryAgainEvent','9DgNgXK','_sanitizeHTML','createElement','element','3wLxwOB','currentContext','data','isProcessing','domConverter','_isH1TagSupportEnabled','_stripMarkdownSyntax','message','set','_xmlSerializer','```','toView','text/html','3451126aCKZPF','setContentOf','isRendered','push','match','_normalizeResponseHeadings','serializeToString','endsWith','editing','handleError','prompt','length','set:currentContext','1401716wyovbs','3376752cgXoAQ','previousActionId','startsWith','childNodes','value','view','name','processor','reset','markers','3290130FIjLCM','stringify','previousLabel','custom','clear','document','rename'];_0x1cca=function(){return _0x3b45bb;};return _0x1cca();}import{ObservableMixin as _0x65483d}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3c6def}from'../adapters/aiadapter.js';import{Matcher as _0x511373,ViewUpcastWriter as _0x366ae4}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x65483d(){[_0xde9980(0x1fd)];[_0xde9980(0x1a9)];[_0xde9980(0x1ef)];[_0xde9980(0x19e)];[_0xde9980(0x1b0)];[_0xde9980(0x1d8)];constructor(_0x1a9706,_0x2b2b65,_0x2db6ae){const _0x4b2b90=_0xde9980;super(),this[_0x4b2b90(0x1fd)]=_0x1a9706,this[_0x4b2b90(0x1a9)]=_0x2b2b65,this[_0x4b2b90(0x19e)]=document[_0x4b2b90(0x1cd)](_0x4b2b90(0x1ac)),this[_0x4b2b90(0x1b0)]=new DOMParser(),this[_0x4b2b90(0x1d8)]=new XMLSerializer(),this[_0x4b2b90(0x1ef)]=_0x2db6ae,this[_0x4b2b90(0x1d7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4b2b90(0x1e8),(_0x4ad1ea,_0x107b0c,_0x4d22cb)=>{const _0x47be00=_0x4b2b90;this[_0x47be00(0x1ef)][_0x47be00(0x1ee)]=this[_0x47be00(0x1cc)](_0x4d22cb);}),this[_0x4b2b90(0x1af)](this[_0x4b2b90(0x1ef)],_0x4b2b90(0x1b2),(_0x168bba,_0x1d2f5a)=>{const _0x5cb2a7=_0x4b2b90,_0x39ee98=this[_0x5cb2a7(0x1d0)]||this[_0x5cb2a7(0x1fc)];this[_0x5cb2a7(0x19f)](_0x1d2f5a,_0x39ee98,_0x5cb2a7(0x1f7));}),this[_0x4b2b90(0x1af)](this[_0x4b2b90(0x1ef)],_0x4b2b90(0x1ca),()=>{const _0x50400c=_0x4b2b90;this[_0x50400c(0x1ef)][_0x50400c(0x1e6)]=this[_0x50400c(0x1f6)],this[_0x50400c(0x19f)](this[_0x50400c(0x1a0)],this[_0x50400c(0x1c2)],this[_0x50400c(0x1eb)],this[_0x50400c(0x1f6)]);}),this[_0x4b2b90(0x1af)](this[_0x4b2b90(0x1ef)],_0x4b2b90(0x1b5),()=>{const _0x1223af=_0x4b2b90;this[_0x1223af(0x1b5)]();});}[_0xde9980(0x19d)](){const _0x411809=_0xde9980;this[_0x411809(0x1ab)]();}async[_0xde9980(0x1a1)]({actionId:_0x25c1dc,query:_0xf6a2c0,htmlContent:_0x3572a5,label:_0xb6b699,mainActionLabel:_0x4b7faf}){const _0x260db5=_0xde9980;this[_0x260db5(0x1ef)][_0x260db5(0x1e6)]=_0xb6b699,this[_0x260db5(0x1ef)][_0x260db5(0x1b7)]=_0x4b7faf,this[_0x260db5(0x1fc)]=_0x3572a5,_0xf6a2c0&&(this[_0x260db5(0x1ef)][_0x260db5(0x1de)]?this[_0x260db5(0x19f)](_0xf6a2c0,_0x3572a5,_0x25c1dc,_0xb6b699):this[_0x260db5(0x1ef)][_0x260db5(0x1c1)](_0x260db5(0x1fe),()=>{const _0x14c687=_0x260db5;this[_0x14c687(0x19f)](_0xf6a2c0,_0x3572a5,_0x25c1dc,_0xb6b699);}));}[_0xde9980(0x1b5)](){const _0x49c13b=_0xde9980;this[_0x49c13b(0x1d2)]&&(this[_0x49c13b(0x1d2)]=!0x1,this[_0x49c13b(0x1ef)][_0x49c13b(0x1a4)](),this[_0x49c13b(0x1a9)][_0x49c13b(0x1bf)]());}[_0xde9980(0x1f2)](){const _0x59f828=_0xde9980;this[_0x59f828(0x1fc)]='',this[_0x59f828(0x1d0)]='',this[_0x59f828(0x1a6)]='',this[_0x59f828(0x1c2)]='',this[_0x59f828(0x1a0)]='',this[_0x59f828(0x1f6)]='',this[_0x59f828(0x1eb)]=void 0x0,this[_0x59f828(0x1ef)][_0x59f828(0x1f2)](),this[_0x59f828(0x1b5)]();}async[_0xde9980(0x19f)](_0x28b56c,_0x596c47,_0x259f44,_0x1fa573){const _0x3811ad=_0xde9980;return this[_0x3811ad(0x1d2)]=!0x0,this[_0x3811ad(0x1ef)][_0x3811ad(0x1bd)](),this[_0x3811ad(0x1c2)]=_0x596c47,this[_0x3811ad(0x1a0)]=_0x28b56c,this[_0x3811ad(0x1f6)]=_0x1fa573||_0x28b56c,this[_0x3811ad(0x1eb)]=_0x259f44,new Promise(_0x58a0d0=>{const _0x5da99c=_0x3811ad;this[_0x5da99c(0x1a9)][_0x5da99c(0x1a5)]({'query':_0x28b56c,'context':_0x596c47,'onData':_0x242651=>{const _0x4663f8=_0x5da99c;this[_0x4663f8(0x1a6)]=_0x242651,this[_0x4663f8(0x1d0)]=this[_0x4663f8(0x1c5)](this[_0x4663f8(0x1a6)]);},'actionId':_0x259f44})[_0x5da99c(0x1a8)](()=>{const _0x5ef2c2=_0x5da99c;!this[_0x5ef2c2(0x1d0)]&&this[_0x5ef2c2(0x1a6)]&&(this[_0x5ef2c2(0x1d0)]=this[_0x5ef2c2(0x1c5)](this[_0x5ef2c2(0x1a6)],!0x0));})[_0x5da99c(0x200)](_0x5c8cab=>{const _0x5c9bbc=_0x5da99c;_0x5c8cab instanceof _0x3c6def?this[_0x5c9bbc(0x1ef)][_0x5c9bbc(0x1e5)](_0x5c8cab[_0x5c9bbc(0x1d6)]):this[_0x5c9bbc(0x1ef)][_0x5c9bbc(0x1e5)](),_0x58a0d0();})[_0x5da99c(0x1c0)](()=>{const _0x525069=_0x5da99c;this[_0x525069(0x1b5)](),_0x58a0d0();});});}[_0xde9980(0x1c5)](_0x63e516,_0x2e28dc=!0x1){const _0x1a9860=_0xde9980,_0x3a7616=hs[_0x1a9860(0x1c4)](_0x63e516);_0x63e516=_0x3a7616?_0x63e516[_0x1a9860(0x1ae)](_0x3a7616[0x1][_0x1a9860(0x1e7)]):_0x63e516[_0x1a9860(0x1e7)]<0x64&&!_0x2e28dc?'':this[_0x1a9860(0x1d5)](_0x63e516);const _0x28f404=this[_0x1a9860(0x1b0)][_0x1a9860(0x1ff)](_0x63e516,_0x1a9860(0x1db));if(_0x3a7616){const _0x12e55c=Array[_0x1a9860(0x1b4)](_0x28f404[_0x1a9860(0x1c6)][_0x1a9860(0x1ed)]);_0x12e55c[_0x1a9860(0x1ba)]();for(const _0x373609 of _0x12e55c){if(_0x373609[_0x1a9860(0x1a2)]==Node[_0x1a9860(0x1ad)])break;_0x373609[_0x1a9860(0x1be)]();}}const _0x14e275=this[_0x1a9860(0x1fd)][_0x1a9860(0x1d1)][_0x1a9860(0x1f1)][_0x1a9860(0x1da)](this[_0x1a9860(0x1d8)][_0x1a9860(0x1e2)](_0x28f404[_0x1a9860(0x1c6)]));this[_0x1a9860(0x1d4)]()||this[_0x1a9860(0x1e1)](_0x14e275);const _0x4eb41b=this[_0x1a9860(0x1fd)][_0x1a9860(0x1c8)][_0x1a9860(0x1b8)](_0x1a9860(0x1aa)),_0x3182c3=this[_0x1a9860(0x1fd)][_0x1a9860(0x1d1)][_0x1a9860(0x1c9)](_0x14e275);return _0x4eb41b||_0x3182c3[_0x1a9860(0x1f3)][_0x1a9860(0x1f8)](),this[_0x1a9860(0x1fd)][_0x1a9860(0x1d1)][_0x1a9860(0x1f5)](_0x3182c3);}[_0xde9980(0x1e1)](_0x320b29){const _0x9a71fc=_0xde9980,_0x397513=new _0x366ae4(this[_0x9a71fc(0x1fd)][_0x9a71fc(0x1e4)][_0x9a71fc(0x1ef)][_0x9a71fc(0x1f9)]),_0x5c2fed=new _0x511373({'name':/^h[1-5]$/}),_0x8140d=[];let _0x57cb5e=!0x1;for(const _0x3db89c of _0x320b29)_0x3db89c['is'](_0x9a71fc(0x1ce))&&_0x5c2fed[_0x9a71fc(0x1e0)](_0x3db89c)&&(_0x8140d[_0x9a71fc(0x1df)](_0x3db89c),'h1'==_0x3db89c[_0x9a71fc(0x1f0)]&&(_0x57cb5e=!0x0));if(_0x57cb5e){for(const _0x4b9083 of _0x8140d)_0x397513[_0x9a71fc(0x1fa)]('h'+(parseInt(_0x4b9083[_0x9a71fc(0x1f0)][0x1])+0x1),_0x4b9083);}}[_0xde9980(0x1d4)](){const _0x2b44dd=_0xde9980,{data:_0x715a00,editing:_0x5d47f3}=this[_0x2b44dd(0x1fd)],_0x5b3e37=_0x715a00[_0x2b44dd(0x1b3)][_0x2b44dd(0x1da)](_0x2b44dd(0x1c7)),_0x5f1b8b=_0x715a00[_0x2b44dd(0x1da)](_0x715a00[_0x2b44dd(0x1c9)](_0x5b3e37));return!!_0x5d47f3[_0x2b44dd(0x1ef)][_0x2b44dd(0x1d3)][_0x2b44dd(0x1a3)](_0x5f1b8b)[_0x2b44dd(0x1fb)]('h1');}[_0xde9980(0x1cc)](_0x1f66aa){const _0x32c884=_0xde9980;return this[_0x32c884(0x1fd)][_0x32c884(0x1e4)][_0x32c884(0x1ef)][_0x32c884(0x1d3)][_0x32c884(0x1dd)](this[_0x32c884(0x19e)],_0x1f66aa),this[_0x32c884(0x19e)][_0x32c884(0x1bb)];}[_0xde9980(0x1d5)](_0x3dc66c){const _0x32d864=_0xde9980,_0x371f7f=_0x3dc66c[_0x32d864(0x1bc)]();return _0x371f7f[_0x32d864(0x1ec)](_0x32d864(0x1b9))?_0x371f7f[_0x32d864(0x1e3)](_0x32d864(0x1d9))?_0x371f7f[_0x32d864(0x1ae)](0x7,_0x371f7f[_0x32d864(0x1e7)]-0x3):_0x371f7f[_0x32d864(0x1ae)](0x7):_0x3dc66c;}}