@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0

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 (319) 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 +16 -16
  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.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34ce15,_0xabd0b7){const _0x375b36=_0x26dd,_0x3f21e3=_0x34ce15();while(!![]){try{const _0x4bd203=-parseInt(_0x375b36(0x192))/0x1+parseInt(_0x375b36(0x18b))/0x2*(-parseInt(_0x375b36(0x19f))/0x3)+-parseInt(_0x375b36(0x198))/0x4*(-parseInt(_0x375b36(0x194))/0x5)+-parseInt(_0x375b36(0x193))/0x6*(parseInt(_0x375b36(0x19d))/0x7)+parseInt(_0x375b36(0x187))/0x8+-parseInt(_0x375b36(0x196))/0x9*(-parseInt(_0x375b36(0x18c))/0xa)+-parseInt(_0x375b36(0x183))/0xb;if(_0x4bd203===_0xabd0b7)break;else _0x3f21e3['push'](_0x3f21e3['shift']());}catch(_0x19fc94){_0x3f21e3['push'](_0x3f21e3['shift']());}}}(_0x1437,0xc248f));import{createDropdown as _0x435461}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2b6bc9}from'@ckeditor/ckeditor5-icons';function _0x1437(){const _0x1b7009=['icon','children','7745336POgTEa','length','resetSearch','label','2HGMiHC','10XxlRhV','from','selection','buttonView','change:isOpen','locale','151592YTeVzC','60faZsKm','710KmbeFO','ck-ai-quick-actions-dropdown','6677361RKhzXv','panelView','11268SkrIBa','set','showFakeVisualSelection','model','document','191849zsjbQy','ai-quick-actions-dropdown-selection','365979bMUeLy','get','hideFakeVisualSelection','getRanges','AIEditing','add','plugins','8433304hgwdNV','has'];_0x1437=function(){return _0x1b7009;};return _0x1437();}function _0x26dd(_0x5cbb8f,_0x9d3aba){const _0x14377=_0x1437();return _0x26dd=function(_0x26dd52,_0x1ec5ac){_0x26dd52=_0x26dd52-0x17f;let _0x162f45=_0x14377[_0x26dd52];return _0x162f45;},_0x26dd(_0x5cbb8f,_0x9d3aba);}import{AIQuickActionsDropdownContentView as _0x216f4c}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x1fa42e}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x39cd4a){const {editor:_0x5c474f,content:_0x16c24b,buttonDefinition:_0x266506,bodyCollection:_0x5ca021,hasSearch:_0x400283=!0x1}=_0x39cd4a;return()=>{const _0x5d82ec=_0x26dd,_0x3da3e8=_0x5c474f[_0x5d82ec(0x191)],_0x3ebd79=_0x435461(_0x3da3e8);_0x3ebd79[_0x5d82ec(0x18f)][_0x5d82ec(0x199)]({'icon':_0x266506[_0x5d82ec(0x185)]??_0x2b6bc9,'label':_0x266506[_0x5d82ec(0x18a)],'tooltip':!0x0}),_0x3ebd79[_0x5d82ec(0x199)]({'class':_0x5d82ec(0x195)});const _0x281791=new _0x216f4c(_0x5c474f,_0x16c24b,_0x3ebd79,_0x5ca021,_0x400283);if(_0x3ebd79[_0x5d82ec(0x197)][_0x5d82ec(0x186)][_0x5d82ec(0x181)](_0x281791),_0x400283){const _0x549ce3=_0x5d82ec(0x19e);_0x3ebd79['on'](_0x5d82ec(0x190),(_0xf46cfd,_0x5ebabd,_0x325272)=>{const _0x39ba89=_0x5d82ec;if(_0x325272){if(_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x184)](_0x39ba89(0x180))){const _0x4bc823=_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x1a0)](_0x1fa42e),_0x16adf5=_0x5c474f[_0x39ba89(0x19b)][_0x39ba89(0x19c)][_0x39ba89(0x18e)],_0x29d317=Array[_0x39ba89(0x18d)](_0x16adf5[_0x39ba89(0x17f)]());_0x29d317[_0x39ba89(0x188)]>0x0&&_0x4bc823[_0x39ba89(0x19a)](_0x29d317,_0x549ce3,!0x1,!0x0);}}else _0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x184)](_0x39ba89(0x180))&&_0x5c474f[_0x39ba89(0x182)][_0x39ba89(0x1a0)](_0x1fa42e)[_0x39ba89(0x1a1)](_0x549ce3),_0x281791[_0x39ba89(0x189)]();});}return _0x3ebd79;};}
23
+ function _0x5a62(_0x35a9a3,_0x27aeea){const _0xecaf27=_0xecaf();return _0x5a62=function(_0x5a6248,_0x3546b7){_0x5a6248=_0x5a6248-0x1c5;let _0x2673e7=_0xecaf27[_0x5a6248];return _0x2673e7;},_0x5a62(_0x35a9a3,_0x27aeea);}function _0xecaf(){const _0x5cb111=['ai-quick-actions-dropdown-selection','add','locale','label','selection','length','set','14711496kBCDFa','12063163lRaQTS','10509561dwuRsV','plugins','change:isOpen','16HRAbzf','20MBxknD','document','get','from','buttonView','resetSearch','children','4229991OnPigC','icon','AIEditing','panelView','showFakeVisualSelection','ck-ai-quick-actions-dropdown','1280905UtFXQm','has','hideFakeVisualSelection','model','getRanges','97538exuLGl','3365562LOJzNC'];_0xecaf=function(){return _0x5cb111;};return _0xecaf();}(function(_0xf90d45,_0x2487e7){const _0x9cf81a=_0x5a62,_0x3386bf=_0xf90d45();while(!![]){try{const _0xf7a0f0=-parseInt(_0x9cf81a(0x1de))/0x1*(parseInt(_0x9cf81a(0x1d0))/0x2)+parseInt(_0x9cf81a(0x1c5))/0x3+-parseInt(_0x9cf81a(0x1df))/0x4*(parseInt(_0x9cf81a(0x1cb))/0x5)+parseInt(_0x9cf81a(0x1d1))/0x6+parseInt(_0x9cf81a(0x1da))/0x7+-parseInt(_0x9cf81a(0x1d9))/0x8+parseInt(_0x9cf81a(0x1db))/0x9;if(_0xf7a0f0===_0x2487e7)break;else _0x3386bf['push'](_0x3386bf['shift']());}catch(_0x12ee67){_0x3386bf['push'](_0x3386bf['shift']());}}}(_0xecaf,0xead18));import{createDropdown as _0x340c2b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x588f84}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2acb3d}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4a6af3}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x595c1b){const {editor:_0x59d855,content:_0x54e396,buttonDefinition:_0x5c604f,bodyCollection:_0x79d116,hasSearch:_0x225bd1=!0x1}=_0x595c1b;return()=>{const _0x49a02a=_0x5a62,_0x102567=_0x59d855[_0x49a02a(0x1d4)],_0x3d1e13=_0x340c2b(_0x102567);_0x3d1e13[_0x49a02a(0x1e3)][_0x49a02a(0x1d8)]({'icon':_0x5c604f[_0x49a02a(0x1c6)]??_0x588f84,'label':_0x5c604f[_0x49a02a(0x1d5)],'tooltip':!0x0}),_0x3d1e13[_0x49a02a(0x1d8)]({'class':_0x49a02a(0x1ca)});const _0x44912a=new _0x2acb3d(_0x59d855,_0x54e396,_0x3d1e13,_0x79d116,_0x225bd1);if(_0x3d1e13[_0x49a02a(0x1c8)][_0x49a02a(0x1e5)][_0x49a02a(0x1d3)](_0x44912a),_0x225bd1){const _0x340152=_0x49a02a(0x1d2);_0x3d1e13['on'](_0x49a02a(0x1dd),(_0x4440e0,_0x2e87b0,_0x518e31)=>{const _0x57b970=_0x49a02a;if(_0x518e31){if(_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1cc)](_0x57b970(0x1c7))){const _0x54c661=_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1e1)](_0x4a6af3),_0x1dc8cb=_0x59d855[_0x57b970(0x1ce)][_0x57b970(0x1e0)][_0x57b970(0x1d6)],_0x1afe6a=Array[_0x57b970(0x1e2)](_0x1dc8cb[_0x57b970(0x1cf)]());_0x1afe6a[_0x57b970(0x1d7)]>0x0&&_0x54c661[_0x57b970(0x1c9)](_0x1afe6a,_0x340152,!0x1,!0x0);}}else _0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1cc)](_0x57b970(0x1c7))&&_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1e1)](_0x4a6af3)[_0x57b970(0x1cd)](_0x340152),_0x44912a[_0x57b970(0x1e4)]();});}return _0x3d1e13;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5aa8(_0x483c1c,_0x29c8b2){const _0x446862=_0x4468();return _0x5aa8=function(_0x5aa8bb,_0x543a74){_0x5aa8bb=_0x5aa8bb-0x87;let _0x19dcc7=_0x446862[_0x5aa8bb];return _0x19dcc7;},_0x5aa8(_0x483c1c,_0x29c8b2);}const _0x1bb34b=_0x5aa8;function _0x4468(){const _0x697dd4=['3954deEqzD','source','_allSearchableItems','1468780iUMnIc','groupLabel','_clearHighlight','item','label','trim','342488qqGYlD','highlightText','2063511bwybnC','toLowerCase','forEach','341619xtDUYE','highlightViews','length','filter','496fyNpSW','function','5NMgZVI','items','clear','4166970FXyJjB','addMany','2xKzPlu','map','includes','_highlightQuery','16564064RJZmoo','_allListItems','28JdEjHP','sort'];_0x4468=function(){return _0x697dd4;};return _0x4468();}(function(_0x190b77,_0x3c6b22){const _0xf7b0a1=_0x5aa8,_0x19bb1c=_0x190b77();while(!![]){try{const _0x3e1e03=parseInt(_0xf7b0a1(0xa2))/0x1*(-parseInt(_0xf7b0a1(0x8c))/0x2)+-parseInt(_0xf7b0a1(0x94))/0x3*(parseInt(_0xf7b0a1(0xa6))/0x4)+-parseInt(_0xf7b0a1(0x87))/0x5*(parseInt(_0xf7b0a1(0x8a))/0x6)+-parseInt(_0xf7b0a1(0x92))/0x7*(-parseInt(_0xf7b0a1(0x9d))/0x8)+-parseInt(_0xf7b0a1(0x9f))/0x9+parseInt(_0xf7b0a1(0x97))/0xa+parseInt(_0xf7b0a1(0x90))/0xb;if(_0x3e1e03===_0x3c6b22)break;else _0x19bb1c['push'](_0x19bb1c['shift']());}catch(_0x39b81c){_0x19bb1c['push'](_0x19bb1c['shift']());}}}(_0x4468,0x60771));import{ListView as _0x2b4e99}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x2bf5de}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x2b4e99{[_0x1bb34b(0x91)];[_0x1bb34b(0x96)];constructor(_0x1b5729,_0x546fca,_0x57901c){const _0x541bb3=_0x1bb34b;super(_0x1b5729),this[_0x541bb3(0x91)]=_0x546fca,this[_0x541bb3(0x96)]=_0x57901c;}[_0x1bb34b(0xa5)](_0x4a6035){const _0x20871e=_0x1bb34b;if(!_0x4a6035)return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](this[_0x20871e(0x91)]),this[_0x20871e(0x99)](),{'resultsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)]};const _0x31c07b=_0x4a6035[_0x20871e(0x95)][_0x20871e(0xa0)]()[_0x20871e(0x9c)](),_0x10a8f5=this[_0x20871e(0x96)][_0x20871e(0xa5)](_0x38fc2f=>(_0x38fc2f[_0x20871e(0x98)]?_0x38fc2f[_0x20871e(0x9b)]+'\x20('+_0x38fc2f[_0x20871e(0x98)]+')':_0x38fc2f[_0x20871e(0x9b)])[_0x20871e(0xa0)]()[_0x20871e(0x8e)](_0x31c07b));return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](_0x10a8f5[_0x20871e(0x93)]((_0x2c4282,_0x2c725)=>{const _0x53f0f6=_0x20871e,_0x5a0e95=_0x2c4282[_0x53f0f6(0x98)],_0x126c35=_0x2c725[_0x53f0f6(0x98)];return _0x5a0e95||_0x126c35?_0x5a0e95?0x1:-0x1:0x0;})[_0x20871e(0x8d)](_0x21141e=>_0x21141e[_0x20871e(0x9a)])),this[_0x20871e(0x8f)](_0x31c07b,_0x10a8f5),{'resultsCount':_0x10a8f5[_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x96)][_0x20871e(0xa4)]};}[_0x1bb34b(0x8f)](_0x4dbf02,_0x44db5f){const _0xa3e383=_0x1bb34b;if(!_0x4dbf02)return;const _0x26af1f=new RegExp(_0x2bf5de(_0x4dbf02),'gi');_0x44db5f[_0xa3e383(0xa1)](_0x20ef4d=>{const _0xcd8be1=_0xa3e383;_0x20ef4d[_0xcd8be1(0xa3)]&&_0x20ef4d[_0xcd8be1(0xa3)][_0xcd8be1(0xa1)](_0x1eb19f=>{const _0x42ab48=_0xcd8be1;_0x42ab48(0xa7)==typeof _0x1eb19f[_0x42ab48(0x9e)]&&_0x1eb19f[_0x42ab48(0x9e)](_0x26af1f);});});}[_0x1bb34b(0x99)](){const _0x3aa34b=_0x1bb34b;this[_0x3aa34b(0x96)][_0x3aa34b(0xa1)](_0x42e3b0=>{const _0x3c27db=_0x3aa34b;_0x42e3b0[_0x3c27db(0xa3)]&&_0x42e3b0[_0x3c27db(0xa3)][_0x3c27db(0xa1)](_0x3fc8ae=>{const _0x4b9d30=_0x3c27db;_0x4b9d30(0xa7)==typeof _0x3fc8ae[_0x4b9d30(0x9e)]&&_0x3fc8ae[_0x4b9d30(0x9e)](null);});});}}
23
+ function _0x19d5(_0x437262,_0x15967d){const _0x4fc155=_0x4fc1();return _0x19d5=function(_0x19d516,_0x2ccb58){_0x19d516=_0x19d516-0x83;let _0x5d5aca=_0x4fc155[_0x19d516];return _0x5d5aca;},_0x19d5(_0x437262,_0x15967d);}function _0x4fc1(){const _0x5c60d6=['source','trim','170MwHHbp','highlightText','includes','map','3597gFduhi','addMany','length','toLowerCase','_clearHighlight','sort','forEach','function','4124zXzTSv','_allListItems','filter','clear','item','1859ABUjEv','1904736LERzka','6dtRzhg','190520palNRN','highlightViews','_allSearchableItems','12517875IoZQlN','groupLabel','14378pJkjGr','label','7437535hOMVMK','items','3100705sknLfG','_highlightQuery'];_0x4fc1=function(){return _0x5c60d6;};return _0x4fc1();}const _0x54aa53=_0x19d5;(function(_0x1d1dc5,_0x2a957e){const _0x51aab9=_0x19d5,_0x802bdf=_0x1d1dc5();while(!![]){try{const _0x1719a2=parseInt(_0x51aab9(0x8f))/0x1*(-parseInt(_0x51aab9(0x97))/0x2)+parseInt(_0x51aab9(0x9b))/0x3*(-parseInt(_0x51aab9(0xa3))/0x4)+-parseInt(_0x51aab9(0x93))/0x5+parseInt(_0x51aab9(0x89))/0x6*(-parseInt(_0x51aab9(0x91))/0x7)+parseInt(_0x51aab9(0x88))/0x8+parseInt(_0x51aab9(0x8d))/0x9+parseInt(_0x51aab9(0x8a))/0xa*(parseInt(_0x51aab9(0x87))/0xb);if(_0x1719a2===_0x2a957e)break;else _0x802bdf['push'](_0x802bdf['shift']());}catch(_0x924f63){_0x802bdf['push'](_0x802bdf['shift']());}}}(_0x4fc1,0xacce2));import{ListView as _0x52d4c1}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x57a974}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x52d4c1{[_0x54aa53(0x83)];[_0x54aa53(0x8c)];constructor(_0x76a9d2,_0x46e446,_0x1fc831){const _0x2a5b3b=_0x54aa53;super(_0x76a9d2),this[_0x2a5b3b(0x83)]=_0x46e446,this[_0x2a5b3b(0x8c)]=_0x1fc831;}[_0x54aa53(0x84)](_0x3b01b8){const _0x1418e5=_0x54aa53;if(!_0x3b01b8)return this[_0x1418e5(0x92)][_0x1418e5(0x85)](),this[_0x1418e5(0x92)][_0x1418e5(0x9c)](this[_0x1418e5(0x83)]),this[_0x1418e5(0x9f)](),{'resultsCount':this[_0x1418e5(0x83)][_0x1418e5(0x9d)],'totalItemsCount':this[_0x1418e5(0x83)][_0x1418e5(0x9d)]};const _0x40ec3c=_0x3b01b8[_0x1418e5(0x95)][_0x1418e5(0x9e)]()[_0x1418e5(0x96)](),_0x1401a4=this[_0x1418e5(0x8c)][_0x1418e5(0x84)](_0x583724=>(_0x583724[_0x1418e5(0x8e)]?_0x583724[_0x1418e5(0x90)]+'\x20('+_0x583724[_0x1418e5(0x8e)]+')':_0x583724[_0x1418e5(0x90)])[_0x1418e5(0x9e)]()[_0x1418e5(0x99)](_0x40ec3c));return this[_0x1418e5(0x92)][_0x1418e5(0x85)](),this[_0x1418e5(0x92)][_0x1418e5(0x9c)](_0x1401a4[_0x1418e5(0xa0)]((_0x29f31d,_0x433df1)=>{const _0xee983=_0x1418e5,_0x7aadc4=_0x29f31d[_0xee983(0x8e)],_0x20ef6a=_0x433df1[_0xee983(0x8e)];return _0x7aadc4||_0x20ef6a?_0x7aadc4?0x1:-0x1:0x0;})[_0x1418e5(0x9a)](_0x145398=>_0x145398[_0x1418e5(0x86)])),this[_0x1418e5(0x94)](_0x40ec3c,_0x1401a4),{'resultsCount':_0x1401a4[_0x1418e5(0x9d)],'totalItemsCount':this[_0x1418e5(0x8c)][_0x1418e5(0x9d)]};}[_0x54aa53(0x94)](_0x22dee3,_0x3a1ee5){const _0x1238e5=_0x54aa53;if(!_0x22dee3)return;const _0x20e0ef=new RegExp(_0x57a974(_0x22dee3),'gi');_0x3a1ee5[_0x1238e5(0xa1)](_0x218709=>{const _0x23f769=_0x1238e5;_0x218709[_0x23f769(0x8b)]&&_0x218709[_0x23f769(0x8b)][_0x23f769(0xa1)](_0x9277b8=>{const _0x49a046=_0x23f769;_0x49a046(0xa2)==typeof _0x9277b8[_0x49a046(0x98)]&&_0x9277b8[_0x49a046(0x98)](_0x20e0ef);});});}[_0x54aa53(0x9f)](){const _0x4587b2=_0x54aa53;this[_0x4587b2(0x8c)][_0x4587b2(0xa1)](_0x36f283=>{const _0x840648=_0x4587b2;_0x36f283[_0x840648(0x8b)]&&_0x36f283[_0x840648(0x8b)][_0x840648(0xa1)](_0x3469ef=>{const _0x5bfbc8=_0x840648;_0x5bfbc8(0xa2)==typeof _0x3469ef[_0x5bfbc8(0x98)]&&_0x3469ef[_0x5bfbc8(0x98)](null);});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5e3af7,_0x5bb398){var _0x482954=_0x2910,_0x1d574f=_0x5e3af7();while(!![]){try{var _0x359479=parseInt(_0x482954(0x116))/0x1*(parseInt(_0x482954(0x11f))/0x2)+parseInt(_0x482954(0x111))/0x3*(parseInt(_0x482954(0x10f))/0x4)+parseInt(_0x482954(0x11b))/0x5+-parseInt(_0x482954(0x117))/0x6*(-parseInt(_0x482954(0x11e))/0x7)+-parseInt(_0x482954(0x11d))/0x8+-parseInt(_0x482954(0x110))/0x9*(-parseInt(_0x482954(0x114))/0xa)+parseInt(_0x482954(0x119))/0xb*(-parseInt(_0x482954(0x11c))/0xc);if(_0x359479===_0x5bb398)break;else _0x1d574f['push'](_0x1d574f['shift']());}catch(_0x164382){_0x1d574f['push'](_0x1d574f['shift']());}}}(_0x37f6,0xed16d));function _0x37f6(){var _0x728557=['7380MtPuhD','18MFQunM','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','23390ubaLVr','div','1aJAHYk','5639766SqKljX','AI_DISCLAIMER_TEXT','124883zxJZkp','setTemplate','40485yDRYzW','3564mSmhhS','11338432TKyvrC','7HxZuYc','3411572fPcsCa','792292ceRQpN'];_0x37f6=function(){return _0x728557;};return _0x37f6();}import{View as _0xe8ef7e}from'ckeditor5/src/ui.js';import{getTranslation as _0x19c865}from'../../../aicore/utils/common-translations.js';function _0x2910(_0x416049,_0x2e2b98){var _0x37f6a5=_0x37f6();return _0x2910=function(_0x2910be,_0x929542){_0x2910be=_0x2910be-0x10f;var _0xbc515c=_0x37f6a5[_0x2910be];return _0xbc515c;},_0x2910(_0x416049,_0x2e2b98);}export class AIActionsBalloonDisclaimerView extends _0xe8ef7e{constructor(_0x3f1421){var _0x342dcc=_0x2910;super(_0x3f1421),this[_0x342dcc(0x11a)]({'tag':_0x342dcc(0x115),'attributes':{'class':['ck',_0x342dcc(0x112)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x342dcc(0x113)]},'children':[{'text':_0x19c865(_0x3f1421,_0x342dcc(0x118))}]}]});}}
23
+ function _0x2705(){var _0x1f2b78=['2210845RNxvnZ','ck-ai-balloon__disclaimer-content','91tsBErA','ck-ai-balloon__disclaimer','31137kvzSgR','AI_DISCLAIMER_TEXT','div','721048MLdcCv','764280ugasIE','75612pQentg','setTemplate','497450JKZNJN','36501tEmUBk'];_0x2705=function(){return _0x1f2b78;};return _0x2705();}(function(_0x3dc5d2,_0x4843aa){var _0x2e40fd=_0xbdc8,_0x44f26c=_0x3dc5d2();while(!![]){try{var _0x45c93f=parseInt(_0x2e40fd(0xcc))/0x1+parseInt(_0x2e40fd(0xd3))/0x2+parseInt(_0x2e40fd(0xd4))/0x3+-parseInt(_0x2e40fd(0xd0))/0x4+parseInt(_0x2e40fd(0xd5))/0x5+-parseInt(_0x2e40fd(0xd1))/0x6*(parseInt(_0x2e40fd(0xca))/0x7)+-parseInt(_0x2e40fd(0xcf))/0x8;if(_0x45c93f===_0x4843aa)break;else _0x44f26c['push'](_0x44f26c['shift']());}catch(_0x9a6b52){_0x44f26c['push'](_0x44f26c['shift']());}}}(_0x2705,0x46993));import{View as _0x2cc2ba}from'ckeditor5/src/ui.js';import{getTranslation as _0xdb6997}from'../../../aicore/utils/common-translations.js';function _0xbdc8(_0x150693,_0x28ebc4){var _0x270519=_0x2705();return _0xbdc8=function(_0xbdc8ed,_0x5ac178){_0xbdc8ed=_0xbdc8ed-0xc9;var _0x516676=_0x270519[_0xbdc8ed];return _0x516676;},_0xbdc8(_0x150693,_0x28ebc4);}export class AIActionsBalloonDisclaimerView extends _0x2cc2ba{constructor(_0x393361){var _0x4e6ab4=_0xbdc8;super(_0x393361),this[_0x4e6ab4(0xd2)]({'tag':_0x4e6ab4(0xce),'attributes':{'class':['ck',_0x4e6ab4(0xcb)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4e6ab4(0xc9)]},'children':[{'text':_0xdb6997(_0x393361,_0x4e6ab4(0xcd))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f3e3c=_0x3674;function _0x9473(){const _0x1d6bfb=['bind','351992GlStqT','1831260IAYvWn','_createButton','AI_BALLOON_SUGGEST_BUTTON','AI_BALLOON_APPLY_BUTTON','7HZAyPT','isVisible','items','applyButton','20812446szZLvn','add','ck-ai-button-secondary','locale','1672720PlmPCN','308AwCGXu','ck-ai-button-primary','extendTemplate','765714lFHbpO','set','5896bhOhUg','62795FUrtNr','setButtonsVisibility','suggestButton','isEnabled','ck-ai-balloon__toolbar'];_0x9473=function(){return _0x1d6bfb;};return _0x9473();}(function(_0x5bf35a,_0x26f11c){const _0x12910f=_0x3674,_0x543991=_0x5bf35a();while(!![]){try{const _0x1dde6a=-parseInt(_0x12910f(0x1cb))/0x1*(parseInt(_0x12910f(0x1d0))/0x2)+-parseInt(_0x12910f(0x1d8))/0x3+-parseInt(_0x12910f(0x1d7))/0x4+parseInt(_0x12910f(0x1d1))/0x5+parseInt(_0x12910f(0x1ce))/0x6*(parseInt(_0x12910f(0x1c2))/0x7)+-parseInt(_0x12910f(0x1ca))/0x8+parseInt(_0x12910f(0x1c6))/0x9;if(_0x1dde6a===_0x26f11c)break;else _0x543991['push'](_0x543991['shift']());}catch(_0x57bfe6){_0x543991['push'](_0x543991['shift']());}}}(_0x9473,0x9b8fc));function _0x3674(_0x3179c4,_0x373953){const _0x947357=_0x9473();return _0x3674=function(_0x367403,_0x4c1493){_0x367403=_0x367403-0x1c1;let _0x4b1b1f=_0x947357[_0x367403];return _0x4b1b1f;},_0x3674(_0x3179c4,_0x373953);}import{ToolbarView as _0x47590d,ButtonView as _0x1f06d9}from'ckeditor5/src/ui.js';import{getTranslation as _0x27c9ea}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x47590d{constructor(_0x4078ac,_0x22333f=!0x0,_0x380684=!0x0){const _0x117f4b=_0x3674;super(_0x4078ac),this[_0x117f4b(0x1cf)](_0x117f4b(0x1d4),!0x1),_0x22333f&&(this[_0x117f4b(0x1c5)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1c1)),_0x117f4b(0x1cc)),this[_0x117f4b(0x1c5)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1c5)])),_0x380684&&(this[_0x117f4b(0x1d3)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1da)),_0x22333f?_0x117f4b(0x1c8):_0x117f4b(0x1cc)),this[_0x117f4b(0x1d3)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1d3)])),this[_0x117f4b(0x1d2)]({'showApplyButton':_0x22333f,'showSuggestButton':_0x380684}),this[_0x117f4b(0x1cd)]({'attributes':{'class':[_0x117f4b(0x1d5)]}});}[_0x2f3e3c(0x1d2)]({showApplyButton:_0x4d045a,showSuggestButton:_0x1a0803}){const _0x2146a2=_0x2f3e3c;this[_0x2146a2(0x1c5)]&&(this[_0x2146a2(0x1c5)][_0x2146a2(0x1c3)]=_0x4d045a),this[_0x2146a2(0x1d3)]&&(this[_0x2146a2(0x1d3)][_0x2146a2(0x1c3)]=_0x1a0803);}[_0x2f3e3c(0x1d9)](_0x816e23,_0x22b61e){const _0x54990d=_0x2f3e3c,_0x27b0a0=new _0x1f06d9(this[_0x54990d(0x1c9)]);return _0x27b0a0[_0x54990d(0x1cf)]({'label':_0x816e23,'class':_0x22b61e,'isVisible':!0x0,'withText':!0x0}),_0x27b0a0;}}
23
+ function _0x2515(){const _0x1fff34=['suggestButton','isEnabled','set','locale','ck-ai-button-secondary','AI_BALLOON_APPLY_BUTTON','1jWWgyV','10xOUEhs','188264qCLIyl','4643634HQDZUu','extendTemplate','AI_BALLOON_SUGGEST_BUTTON','28179430LzrnOr','36kgzMyJ','1804620wZVjbA','1553811mRlJRx','_createButton','ck-ai-balloon__toolbar','applyButton','setButtonsVisibility','bind','ck-ai-button-primary','isVisible','add','2554940WslLuc','items','171546otlwjy'];_0x2515=function(){return _0x1fff34;};return _0x2515();}function _0x3c95(_0x341277,_0x13d169){const _0x2515be=_0x2515();return _0x3c95=function(_0x3c9519,_0x17ba4a){_0x3c9519=_0x3c9519-0x157;let _0x53cb04=_0x2515be[_0x3c9519];return _0x53cb04;},_0x3c95(_0x341277,_0x13d169);}const _0x56ca5a=_0x3c95;(function(_0x4b90a4,_0x189bf8){const _0x57ac5d=_0x3c95,_0x5bcb19=_0x4b90a4();while(!![]){try{const _0x92cdee=parseInt(_0x57ac5d(0x164))/0x1*(parseInt(_0x57ac5d(0x15b))/0x2)+parseInt(_0x57ac5d(0x167))/0x3+parseInt(_0x57ac5d(0x16c))/0x4+-parseInt(_0x57ac5d(0x165))/0x5*(-parseInt(_0x57ac5d(0x15d))/0x6)+parseInt(_0x57ac5d(0x16d))/0x7+parseInt(_0x57ac5d(0x166))/0x8*(parseInt(_0x57ac5d(0x16b))/0x9)+-parseInt(_0x57ac5d(0x16a))/0xa;if(_0x92cdee===_0x189bf8)break;else _0x5bcb19['push'](_0x5bcb19['shift']());}catch(_0x1467a4){_0x5bcb19['push'](_0x5bcb19['shift']());}}}(_0x2515,0xcb167));import{ToolbarView as _0x5d21d1,ButtonView as _0x4c3333}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b75f0}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x5d21d1{constructor(_0x35f7a4,_0x326004=!0x0,_0x1e2bd6=!0x0){const _0x4e8a77=_0x3c95;super(_0x35f7a4),this[_0x4e8a77(0x160)](_0x4e8a77(0x15f),!0x1),_0x326004&&(this[_0x4e8a77(0x170)]=this[_0x4e8a77(0x16e)](_0x3b75f0(_0x35f7a4,_0x4e8a77(0x163)),_0x4e8a77(0x158)),this[_0x4e8a77(0x170)][_0x4e8a77(0x157)](_0x4e8a77(0x15f))['to'](this),this[_0x4e8a77(0x15c)][_0x4e8a77(0x15a)](this[_0x4e8a77(0x170)])),_0x1e2bd6&&(this[_0x4e8a77(0x15e)]=this[_0x4e8a77(0x16e)](_0x3b75f0(_0x35f7a4,_0x4e8a77(0x169)),_0x326004?_0x4e8a77(0x162):_0x4e8a77(0x158)),this[_0x4e8a77(0x15e)][_0x4e8a77(0x157)](_0x4e8a77(0x15f))['to'](this),this[_0x4e8a77(0x15c)][_0x4e8a77(0x15a)](this[_0x4e8a77(0x15e)])),this[_0x4e8a77(0x171)]({'showApplyButton':_0x326004,'showSuggestButton':_0x1e2bd6}),this[_0x4e8a77(0x168)]({'attributes':{'class':[_0x4e8a77(0x16f)]}});}[_0x56ca5a(0x171)]({showApplyButton:_0x3560ca,showSuggestButton:_0x34b570}){const _0x10d366=_0x56ca5a;this[_0x10d366(0x170)]&&(this[_0x10d366(0x170)][_0x10d366(0x159)]=_0x3560ca),this[_0x10d366(0x15e)]&&(this[_0x10d366(0x15e)][_0x10d366(0x159)]=_0x34b570);}[_0x56ca5a(0x16e)](_0x13840e,_0x535926){const _0xc699cb=_0x56ca5a,_0x3a11e0=new _0x4c3333(this[_0xc699cb(0x161)]);return _0x3a11e0[_0xc699cb(0x160)]({'label':_0x13840e,'class':_0x535926,'isVisible':!0x0,'withText':!0x0}),_0x3a11e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53e5ed=_0x595d;(function(_0x314081,_0x1dc74d){const _0x3d71ee=_0x595d,_0x18ac40=_0x314081();while(!![]){try{const _0x37ab21=parseInt(_0x3d71ee(0x19a))/0x1*(parseInt(_0x3d71ee(0x1cd))/0x2)+parseInt(_0x3d71ee(0x1c1))/0x3*(-parseInt(_0x3d71ee(0x1be))/0x4)+parseInt(_0x3d71ee(0x1b1))/0x5+-parseInt(_0x3d71ee(0x1ee))/0x6*(-parseInt(_0x3d71ee(0x196))/0x7)+-parseInt(_0x3d71ee(0x1b2))/0x8+parseInt(_0x3d71ee(0x1b5))/0x9*(parseInt(_0x3d71ee(0x201))/0xa)+-parseInt(_0x3d71ee(0x1a5))/0xb*(parseInt(_0x3d71ee(0x1c3))/0xc);if(_0x37ab21===_0x1dc74d)break;else _0x18ac40['push'](_0x18ac40['shift']());}catch(_0x5551c3){_0x18ac40['push'](_0x18ac40['shift']());}}}(_0x57e8,0xb6168));import{ViewCollection as _0x50f887,FocusCycler as _0x152fde,ButtonView as _0x56f8b2,View as _0x5d49bb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ad1bc,KeystrokeHandler as _0xe5df2f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3f19aa}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1e26c1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3eb9d6}from'../../../aicore/utils/scrollmanager.js';function _0x595d(_0x1eaa48,_0xfa61ac){const _0x57e880=_0x57e8();return _0x595d=function(_0x595d2d,_0x293598){_0x595d2d=_0x595d2d-0x189;let _0x1055a1=_0x57e880[_0x595d2d];return _0x1055a1;},_0x595d(_0x1eaa48,_0xfa61ac);}import{AIMiniToolbarView as _0x44a68c}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xa2c8e2}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x2a097a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b6dbc}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';function _0x57e8(){const _0x57bd10=['_createMiniToolbar','availableActions','clear','_miniToolbarView','updateContent','_scrollManager','tryAgain','remove','AI_ACTIONS_PREVIOUS_INTERACTION','AI_ACTIONS_NEXT_INTERACTION','stop','6482cZJxvM','toggleIsLoading','ck-ai-actions-balloon-main','isVisible','43960IdyRoQ','focusFirst','miniToolbarConfig','ck-ai-actions-balloon-content','_toolbarView','_focusTracker','ck-ai-actions-balloon-content-wrapper','removeMiniToolbarItem','_navigationNextButton','disableMiniToolbarButtons','element','4398691IVizYx','focusCycler','AI_ACTIONS_TRY_AGAIN','showError','change:isTrackChangesOn','fire','span','showLoader','start','ck-ai-interaction-counter','includes','update','2522975FoaLsU','11216664vTeqgu','_keystrokes','has','1737jVddic','showBlockingError','_navigationTryAgainButton','_hasError','_setupMiniToolbarButtons','isEnabled','clearErrorState','addMany','ck-ai-navigation-button\x20ck-ai-next-button','15800wniidN','_addToolbar','execute','408KzkCew','add','12hWvSuv','ck-ai-custom-action-button','setErrorState','setIsLoading','tab','_isLoading','createCollection','_addContentWrapper','_initializeScrollManager','showNext','28vHZBZZ','_createStreamableContentView','interactionCount','applyButton','_disclaimerView','_getScrollableElement','_addDisclaimerView','_streamableContentView','hideLoader','focus','1/1','suggestButton','toggleSuggestionDisplayMode','showPrevious','addMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','setInteractionCount','isTrackChangesOn','isShowChangesOn','destroy','delegate','_navigationCounter','shift\x20+\x20tab','_contentWrapper','bind','stopAutoScroll','set','toggleShowChangesEnabled','resetShowChangesButton','_toggleToolbarButtonsVisibility','_createLoaderView','isBusy','startAutoScroll','7686OwGzdd','_errorView','applySuggestion','locale','items','_config','_loaderView','_navigationPreviousButton','updateMiniToolbarButtons','_focusables','render','setButtonsVisibility','focusLast','setTemplate','toggleShowChanges','hideError','insertSuggestion','listenTo','clearContent','40350roPebv','_dialogContent','div','bindTemplate'];_0x57e8=function(){return _0x57bd10;};return _0x57e8();}import{IconNextArrow as _0x38150b,IconPreviousArrow as _0x59eed5,IconRefresh as _0x532c6b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2ea00b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x56d2f3}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x53e5ed(0x1f0),_0x53e5ed(0x1fe)];export class AIActionsBalloonView extends _0x56d2f3{[_0x53e5ed(0x1a6)];[_0x53e5ed(0x1f3)];[_0x53e5ed(0x1e4)];[_0x53e5ed(0x1d4)];[_0x53e5ed(0x19e)];[_0x53e5ed(0x18e)];[_0x53e5ed(0x1f4)];[_0x53e5ed(0x1d1)];[_0x53e5ed(0x19f)];[_0x53e5ed(0x1b3)];[_0x53e5ed(0x202)];[_0x53e5ed(0x1f7)];[_0x53e5ed(0x190)];[_0x53e5ed(0x1f5)];[_0x53e5ed(0x1a2)];[_0x53e5ed(0x1b7)];[_0x53e5ed(0x1e2)];constructor(_0x1c54df,_0x3f5ff5){const _0x5a65fe=_0x53e5ed;super(_0x1c54df),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1ec),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1de),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1c8),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1b8),!0x1),this[_0x5a65fe(0x1f3)]=_0x3f5ff5,this[_0x5a65fe(0x19f)]=new _0x2ad1bc(),this[_0x5a65fe(0x1b3)]=new _0xe5df2f(),this[_0x5a65fe(0x1f7)]=this[_0x5a65fe(0x1c9)](),this[_0x5a65fe(0x1a6)]=new _0x152fde({'focusables':this[_0x5a65fe(0x1f7)],'focusTracker':this[_0x5a65fe(0x19f)],'keystrokeHandler':this[_0x5a65fe(0x1b3)],'actions':{'focusPrevious':_0x5a65fe(0x1e3),'focusNext':_0x5a65fe(0x1c7)}}),this[_0x5a65fe(0x202)]=new _0x50f887(),this[_0x5a65fe(0x1ca)](_0x3f5ff5),this[_0x5a65fe(0x1d3)](),this[_0x5a65fe(0x1bf)](_0x3f5ff5),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x18d)](),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x1bc)]([this[_0x5a65fe(0x19e)]]),this[_0x5a65fe(0x1fb)]({'tag':_0x5a65fe(0x189),'attributes':{'class':[_0x5a65fe(0x198)]},'children':this[_0x5a65fe(0x202)]}),this['on'](_0x5a65fe(0x1a9),()=>{const _0x504aa5=_0x5a65fe;this[_0x504aa5(0x1ea)](_0x3f5ff5);});}[_0x53e5ed(0x1f8)](){const _0x589567=_0x53e5ed;super[_0x589567(0x1f8)]();for(const _0x179702 of this[_0x589567(0x1f7)])this[_0x589567(0x19f)][_0x589567(0x1c2)](_0x179702[_0x589567(0x1a4)]);this[_0x589567(0x1b3)][_0x589567(0x1ff)](this[_0x589567(0x1a4)]),this[_0x589567(0x1cb)]();}[_0x53e5ed(0x1e0)](){const _0x428427=_0x53e5ed;super[_0x428427(0x1e0)](),this[_0x428427(0x190)]&&this[_0x428427(0x190)][_0x428427(0x1e0)]();}[_0x53e5ed(0x1d6)](_0x26b699){const _0x3c1504=_0x53e5ed;-0x1===_0x26b699?this[_0x3c1504(0x1a6)][_0x3c1504(0x1fa)]():this[_0x3c1504(0x1a6)][_0x3c1504(0x19b)]();}[_0x53e5ed(0x1c6)](_0x3382d1){const _0x53ca6b=_0x53e5ed;this[_0x53ca6b(0x1c8)]=_0x3382d1;}[_0x53e5ed(0x1c5)](){const _0x259736=_0x53e5ed;this[_0x259736(0x1b8)]=!0x0,this[_0x259736(0x18e)][_0x259736(0x1e8)](!0x1);}[_0x53e5ed(0x1bb)](){const _0x5c576f=_0x53e5ed;this[_0x5c576f(0x1b8)]=!0x1,this[_0x5c576f(0x18e)][_0x5c576f(0x1e8)](!0x0);}[_0x53e5ed(0x1a8)](_0x639b0a){const _0x277727=_0x53e5ed;super[_0x277727(0x1a8)](_0x639b0a),this[_0x277727(0x202)][_0x277727(0x1b4)](this[_0x277727(0x1ef)])||this[_0x277727(0x202)][_0x277727(0x1c2)](this[_0x277727(0x1ef)],0x0);}[_0x53e5ed(0x1fd)](){const _0x3e8866=_0x53e5ed;super[_0x3e8866(0x1fd)](),this[_0x3e8866(0x1bb)]();}[_0x53e5ed(0x1b6)](_0x567758){const _0x1ec774=_0x53e5ed;super[_0x1ec774(0x1b6)](_0x567758),this[_0x1ec774(0x1c5)]();}[_0x53e5ed(0x1db)](_0x593da4){const _0x448063=_0x53e5ed;this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1b4)](_0x593da4)||this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1c2)](_0x593da4);}[_0x53e5ed(0x1a1)](_0x1a3f66){const _0x135a4c=_0x53e5ed;this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x1b4)](_0x1a3f66)&&this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x192)](_0x1a3f66);}[_0x53e5ed(0x1ac)](){const _0xbe970a=_0x53e5ed;this[_0xbe970a(0x1f4)]&&(this[_0xbe970a(0x1c8)]=!0x0);}[_0x53e5ed(0x1d5)](){const _0x5a7009=_0x53e5ed;this[_0x5a7009(0x1f4)]&&(this[_0x5a7009(0x1c8)]=!0x1);}[_0x53e5ed(0x1ea)]({showApplyButton:_0x4075bd,showSuggestButton:_0x504644}){const _0x3103de=_0x53e5ed;_0x4075bd=_0x4075bd&&!this[_0x3103de(0x1de)]&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1f0)),_0x504644=_0x504644&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1fe)),this[_0x3103de(0x19e)][_0x3103de(0x1f9)]({'showApplyButton':_0x4075bd,'showSuggestButton':_0x504644});}async[_0x53e5ed(0x18f)](_0x5b2f86){const _0x44241f=_0x53e5ed;await this[_0x44241f(0x1d4)][_0x44241f(0x1b0)](_0x5b2f86);}[_0x53e5ed(0x200)](){const _0x402132=_0x53e5ed;this[_0x402132(0x1d4)][_0x402132(0x18d)]();}[_0x53e5ed(0x1ca)](_0x409f6d){const _0x149f99=_0x53e5ed;this[_0x149f99(0x1e4)]=new _0x5d49bb(this[_0x149f99(0x1f1)]),this[_0x149f99(0x1e4)][_0x149f99(0x1fb)]({'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x19d)]},'children':[{'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x1a0)]},'children':[this[_0x149f99(0x1eb)](),this[_0x149f99(0x1ce)]()]},this[_0x149f99(0x18b)](_0x409f6d[_0x149f99(0x19c)])]}),this[_0x149f99(0x202)][_0x149f99(0x1c2)](this[_0x149f99(0x1e4)]);}[_0x53e5ed(0x1d3)](){const _0x5d95b1=_0x53e5ed;this[_0x5d95b1(0x1d1)]=new _0x1e26c1(this[_0x5d95b1(0x1f1)]),this[_0x5d95b1(0x202)][_0x5d95b1(0x1c2)](this[_0x5d95b1(0x1d1)]);}[_0x53e5ed(0x1bf)]({showApplyButton:_0x186656,showSuggestButton:_0x2237b5}){const _0x24d448=_0x53e5ed;this[_0x24d448(0x19e)]=new _0x3f19aa(this[_0x24d448(0x1f1)],_0x186656,_0x2237b5),this[_0x24d448(0x19e)][_0x24d448(0x1d0)]?.['on'](_0x24d448(0x1c0),()=>{const _0x3543ed=_0x24d448;this[_0x3543ed(0x1aa)](_0x3543ed(0x1f0));}),this[_0x24d448(0x19e)][_0x24d448(0x1d8)]?.['on'](_0x24d448(0x1c0),()=>{const _0x331697=_0x24d448;this[_0x331697(0x1aa)](_0x331697(0x1fe));}),this[_0x24d448(0x19e)][_0x24d448(0x1e5)](_0x24d448(0x1ba))['to'](this,_0x24d448(0x1ec),this,_0x24d448(0x1c8),this,_0x24d448(0x1b8),(_0x2ea52e,_0x3e3785,_0x458dc6)=>!(_0x2ea52e||_0x3e3785||_0x458dc6)),this[_0x24d448(0x1ea)]({'showApplyButton':_0x186656,'showSuggestButton':_0x2237b5}),this[_0x24d448(0x202)][_0x24d448(0x1c2)](this[_0x24d448(0x19e)]);}[_0x53e5ed(0x18b)](_0x139cff){const _0x59429d=_0x53e5ed;return this[_0x59429d(0x18e)]=new _0x44a68c(this[_0x59429d(0x1f1)],_0x139cff),this[_0x59429d(0x18e)][_0x59429d(0x1e1)](..._0xa2c8e2)['to'](this),this[_0x59429d(0x18e)]['on'](_0x59429d(0x1fc),()=>{const _0x407903=_0x59429d;this[_0x407903(0x18e)][_0x407903(0x1df)]=!this[_0x407903(0x18e)][_0x407903(0x1df)],this[_0x407903(0x1aa)](_0x407903(0x1d9),{'showDiff':this[_0x407903(0x18e)][_0x407903(0x1df)]});}),this[_0x59429d(0x18e)][_0x59429d(0x1e5)](_0x59429d(0x1ba))['to'](this,_0x59429d(0x1ec),this,_0x59429d(0x1c8),(_0x58bafe,_0x586227)=>!(_0x58bafe||_0x586227)),this[_0x59429d(0x18e)];}[_0x53e5ed(0x1eb)](){const _0x42ac0a=_0x53e5ed;return this[_0x42ac0a(0x1f4)]=new _0x2a097a(this[_0x42ac0a(0x1f1)]),this[_0x42ac0a(0x1f4)][_0x42ac0a(0x1e5)](_0x42ac0a(0x199))['to'](this,_0x42ac0a(0x1c8)),this[_0x42ac0a(0x1f4)];}[_0x53e5ed(0x1ce)](){const _0x13f442=_0x53e5ed;return this[_0x13f442(0x1d4)]=new _0x2b6dbc(this[_0x13f442(0x1f1)]),this[_0x13f442(0x1d4)];}[_0x53e5ed(0x1b9)](){const _0x1a7a6c=_0x53e5ed,_0x5b74b0=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x5abd99=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x94e289=new AIActionsBalloonNavigationCounterView(this[_0x1a7a6c(0x1f1)]),_0x538385=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]);_0x5b74b0[_0x1a7a6c(0x1e7)]({'icon':_0x532c6b,'label':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x1a7)),'tooltip':!0x0,'class':_0x1a7a6c(0x1c4)}),_0x5abd99[_0x1a7a6c(0x1e7)]({'icon':_0x59eed5,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x193)),'class':_0x1a7a6c(0x1dc)}),_0x538385[_0x1a7a6c(0x1e7)]({'icon':_0x38150b,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x194)),'class':_0x1a7a6c(0x1bd)}),_0x5b74b0[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x3f4323=>!_0x3f4323),_0x5b74b0['on'](_0x1a7a6c(0x1c0),()=>{const _0x45d779=_0x1a7a6c;this[_0x45d779(0x1aa)](_0x45d779(0x191));}),_0x5abd99[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x39ea84=>!_0x39ea84),_0x5abd99['on'](_0x1a7a6c(0x1c0),()=>{const _0x5e421f=_0x1a7a6c;this[_0x5e421f(0x1aa)](_0x5e421f(0x1da));}),_0x538385[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x5a8639=>!_0x5a8639),_0x538385['on'](_0x1a7a6c(0x1c0),()=>{const _0x2d0c6a=_0x1a7a6c;this[_0x2d0c6a(0x1aa)](_0x2d0c6a(0x1cc));}),this[_0x1a7a6c(0x1f5)]=_0x5abd99,this[_0x1a7a6c(0x1e2)]=_0x94e289,this[_0x1a7a6c(0x1a2)]=_0x538385,this[_0x1a7a6c(0x1b7)]=_0x5b74b0;}[_0x53e5ed(0x1f6)](_0x10d60f,_0x2a71d0){const _0x5c1b33=_0x53e5ed;this[_0x5c1b33(0x1f5)]||this[_0x5c1b33(0x1b9)]();const _0x369ce8=_0x10d60f>0x1;if(this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1b7)]),_0x369ce8){this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1a2)]);const _0x4e8c71=_0x10d60f-_0x2a71d0;this[_0x5c1b33(0x1e2)][_0x5c1b33(0x1dd)](_0x4e8c71+'/'+_0x10d60f),this[_0x5c1b33(0x1f5)][_0x5c1b33(0x1ba)]=_0x2a71d0<_0x10d60f-0x1,this[_0x5c1b33(0x1a2)][_0x5c1b33(0x1ba)]=_0x2a71d0>0x0;}else this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1a2)]);}[_0x53e5ed(0x1a3)](){const _0x4c55a7=_0x53e5ed;this[_0x4c55a7(0x1b7)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1f5)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1a2)][_0x4c55a7(0x1ba)]=!0x1;}[_0x53e5ed(0x1ed)](){const _0x36d74c=_0x53e5ed;this[_0x36d74c(0x1cb)](),this[_0x36d74c(0x190)]&&this[_0x36d74c(0x190)][_0x36d74c(0x1ad)]();}[_0x53e5ed(0x1e6)](){const _0x5444f7=_0x53e5ed;this[_0x5444f7(0x190)]&&this[_0x5444f7(0x190)][_0x5444f7(0x195)]();}[_0x53e5ed(0x197)](_0x22e96d){const _0x30d366=_0x53e5ed;this[_0x30d366(0x1c8)]=_0x22e96d;}[_0x53e5ed(0x1e9)](){const _0x2a5f0b=_0x53e5ed;this[_0x2a5f0b(0x18e)][_0x2a5f0b(0x1df)]=!0x1;}[_0x53e5ed(0x1cb)](){const _0x1e2f1e=_0x53e5ed,_0xe6d888=this[_0x1e2f1e(0x1d2)]();_0xe6d888&&!this[_0x1e2f1e(0x190)]&&(this[_0x1e2f1e(0x190)]=new _0x3eb9d6(_0xe6d888));}[_0x53e5ed(0x1d2)](){const _0x3596dc=_0x53e5ed;return this[_0x3596dc(0x1d4)][_0x3596dc(0x1a4)];}}class AIActionsBalloonNavigationCounterView extends _0x5d49bb{constructor(_0x5e4365){const _0x4b1704=_0x53e5ed;super(_0x5e4365);const _0x263fb2=this[_0x4b1704(0x18a)];this[_0x4b1704(0x1e7)](_0x4b1704(0x1cf),_0x4b1704(0x1d7)),this[_0x4b1704(0x1fb)]({'tag':_0x4b1704(0x1ab),'attributes':{'class':[_0x4b1704(0x1ae)]},'children':[{'text':_0x263fb2['to'](_0x4b1704(0x1cf))}]});}[_0x53e5ed(0x1dd)](_0x22d566){const _0x38371e=_0x53e5ed;this[_0x38371e(0x1e7)](_0x38371e(0x1cf),_0x22d566);}}
23
+ const _0x50a566=_0x55ec;(function(_0x406096,_0x4d03e5){const _0x11afe1=_0x55ec,_0x253b4f=_0x406096();while(!![]){try{const _0x4d2333=-parseInt(_0x11afe1(0x151))/0x1*(parseInt(_0x11afe1(0x12c))/0x2)+-parseInt(_0x11afe1(0x16d))/0x3+-parseInt(_0x11afe1(0x127))/0x4+-parseInt(_0x11afe1(0x10b))/0x5*(-parseInt(_0x11afe1(0xf8))/0x6)+-parseInt(_0x11afe1(0x13d))/0x7*(parseInt(_0x11afe1(0x12a))/0x8)+-parseInt(_0x11afe1(0xf7))/0x9+parseInt(_0x11afe1(0x12f))/0xa;if(_0x4d2333===_0x4d03e5)break;else _0x253b4f['push'](_0x253b4f['shift']());}catch(_0x52fe75){_0x253b4f['push'](_0x253b4f['shift']());}}}(_0x1b12,0x6fd21));import{ViewCollection as _0x23b5e7,FocusCycler as _0x1bb34e,ButtonView as _0xd3d49f,View as _0xfb2c27}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d10a0,KeystrokeHandler as _0x3faeef}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4dc29d}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1be731}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5b364a}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ce7a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x8dbc24}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x384d8b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b498c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x154d71,IconPreviousArrow as _0x5770cf,IconRefresh as _0x4a3055}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c9b7f}from'../../../aicore/utils/common-translations.js';function _0x1b12(){const _0x2f7788=['addMiniToolbarItem','_createLoaderView','isVisible','_scrollManager','_disclaimerView','shift\x20+\x20tab','hideLoader','3565416INzNvg','showBlockingError','showPrevious','8zvdhbj','_hasError','1688OXNtmz','isBusy','_navigationCounter','31521430ZxVVvl','AI_ACTIONS_PREVIOUS_INTERACTION','render','resetShowChangesButton','clearContent','disableMiniToolbarButtons','_createStreamableContentView','span','_initializeScrollManager','isShowChangesOn','_getScrollableElement','interactionCount','setButtonsVisibility','add','4266941FoYhmW','isTrackChangesOn','listenTo','execute','setErrorState','applySuggestion','toggleShowChangesEnabled','showNext','hideError','bindTemplate','clearErrorState','AI_ACTIONS_TRY_AGAIN','_streamableContentView','showError','delegate','toggleSuggestionDisplayMode','toggleShowChanges','removeMiniToolbarItem','applyButton','_toggleToolbarButtonsVisibility','326gNtNDz','fire','_focusables','_keystrokes','update','miniToolbarConfig','ck-ai-actions-balloon-content','_config','showLoader','_focusTracker','clear','ck-ai-custom-action-button','setTemplate','stop','focusLast','updateContent','_addDisclaimerView','focus','tab','ck-ai-actions-balloon-main','createCollection','setIsLoading','_isLoading','remove','_navigationNextButton','_navigationPreviousButton','items','stopAutoScroll','1927419GRSyGf','locale','3613572RwxCQJ','36qanlns','_contentWrapper','_createMiniToolbar','tryAgain','addMany','bind','element','1/1','_addContentWrapper','availableActions','_errorView','change:isTrackChangesOn','_dialogContent','ck-ai-navigation-button\x20ck-ai-next-button','_setupMiniToolbarButtons','insertSuggestion','AI_ACTIONS_NEXT_INTERACTION','toggleIsLoading','focusCycler','104930aifMwK','_miniToolbarView','ck-ai-actions-balloon-content-wrapper','focusFirst','startAutoScroll','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationTryAgainButton','set','isEnabled','_toolbarView','start','_loaderView','has','destroy','suggestButton','setInteractionCount','div','includes','ck-ai-interaction-counter','updateMiniToolbarButtons','_addToolbar'];_0x1b12=function(){return _0x2f7788;};return _0x1b12();}function _0x55ec(_0x26b4f9,_0x443712){const _0x1b128c=_0x1b12();return _0x55ec=function(_0x55eca1,_0x1538c7){_0x55eca1=_0x55eca1-0xf6;let _0x4b79e0=_0x1b128c[_0x55eca1];return _0x4b79e0;},_0x55ec(_0x26b4f9,_0x443712);}import{AIBalloonView as _0x72efb5}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x50a566(0x142),_0x50a566(0x107)];export class AIActionsBalloonView extends _0x72efb5{[_0x50a566(0x10a)];[_0x50a566(0x158)];[_0x50a566(0xf9)];[_0x50a566(0x149)];[_0x50a566(0x114)];[_0x50a566(0x10c)];[_0x50a566(0x116)];[_0x50a566(0x124)];[_0x50a566(0x15a)];[_0x50a566(0x154)];[_0x50a566(0x104)];[_0x50a566(0x153)];[_0x50a566(0x123)];[_0x50a566(0x16a)];[_0x50a566(0x169)];[_0x50a566(0x111)];[_0x50a566(0x12e)];constructor(_0x5f5d3b,_0x22a18d){const _0x350b73=_0x50a566;super(_0x5f5d3b),this[_0x350b73(0x112)](_0x350b73(0x12d),!0x1),this[_0x350b73(0x112)](_0x350b73(0x13e),!0x1),this[_0x350b73(0x112)](_0x350b73(0x167),!0x1),this[_0x350b73(0x112)](_0x350b73(0x12b),!0x1),this[_0x350b73(0x158)]=_0x22a18d,this[_0x350b73(0x15a)]=new _0x2d10a0(),this[_0x350b73(0x154)]=new _0x3faeef(),this[_0x350b73(0x153)]=this[_0x350b73(0x165)](),this[_0x350b73(0x10a)]=new _0x1bb34e({'focusables':this[_0x350b73(0x153)],'focusTracker':this[_0x350b73(0x15a)],'keystrokeHandler':this[_0x350b73(0x154)],'actions':{'focusPrevious':_0x350b73(0x125),'focusNext':_0x350b73(0x163)}}),this[_0x350b73(0x104)]=new _0x23b5e7(),this[_0x350b73(0x100)](_0x22a18d),this[_0x350b73(0x161)](),this[_0x350b73(0x11f)](_0x22a18d),this[_0x350b73(0x153)][_0x350b73(0x15b)](),this[_0x350b73(0x153)][_0x350b73(0xfc)]([this[_0x350b73(0x114)]]),this[_0x350b73(0x15d)]({'tag':_0x350b73(0x11b),'attributes':{'class':[_0x350b73(0x164)]},'children':this[_0x350b73(0x104)]}),this['on'](_0x350b73(0x103),()=>{const _0x4c5143=_0x350b73;this[_0x4c5143(0x150)](_0x22a18d);});}[_0x50a566(0x131)](){const _0x2a183e=_0x50a566;super[_0x2a183e(0x131)]();for(const _0x46b860 of this[_0x2a183e(0x153)])this[_0x2a183e(0x15a)][_0x2a183e(0x13c)](_0x46b860[_0x2a183e(0xfe)]);this[_0x2a183e(0x154)][_0x2a183e(0x13f)](this[_0x2a183e(0xfe)]),this[_0x2a183e(0x137)]();}[_0x50a566(0x118)](){const _0xaab9b8=_0x50a566;super[_0xaab9b8(0x118)](),this[_0xaab9b8(0x123)]&&this[_0xaab9b8(0x123)][_0xaab9b8(0x118)]();}[_0x50a566(0x162)](_0x33f16a){const _0x44f19f=_0x50a566;-0x1===_0x33f16a?this[_0x44f19f(0x10a)][_0x44f19f(0x15f)]():this[_0x44f19f(0x10a)][_0x44f19f(0x10e)]();}[_0x50a566(0x166)](_0x1d6243){const _0x4ebcfb=_0x50a566;this[_0x4ebcfb(0x167)]=_0x1d6243;}[_0x50a566(0x141)](){const _0xf2daba=_0x50a566;this[_0xf2daba(0x12b)]=!0x0,this[_0xf2daba(0x10c)][_0xf2daba(0x143)](!0x1);}[_0x50a566(0x147)](){const _0x5bb5dc=_0x50a566;this[_0x5bb5dc(0x12b)]=!0x1,this[_0x5bb5dc(0x10c)][_0x5bb5dc(0x143)](!0x0);}[_0x50a566(0x14a)](_0x19fd60){const _0x4fc619=_0x50a566;super[_0x4fc619(0x14a)](_0x19fd60),this[_0x4fc619(0x104)][_0x4fc619(0x117)](this[_0x4fc619(0x102)])||this[_0x4fc619(0x104)][_0x4fc619(0x13c)](this[_0x4fc619(0x102)],0x0);}[_0x50a566(0x145)](){const _0x595b86=_0x50a566;super[_0x595b86(0x145)](),this[_0x595b86(0x147)]();}[_0x50a566(0x128)](_0x3f1cb4){const _0x4483e9=_0x50a566;super[_0x4483e9(0x128)](_0x3f1cb4),this[_0x4483e9(0x141)]();}[_0x50a566(0x120)](_0x2fa9b4){const _0xd75d02=_0x50a566;this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x117)](_0x2fa9b4)||this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x13c)](_0x2fa9b4);}[_0x50a566(0x14e)](_0x3cbcab){const _0x3852f1=_0x50a566;this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x117)](_0x3cbcab)&&this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x168)](_0x3cbcab);}[_0x50a566(0x159)](){const _0x214402=_0x50a566;this[_0x214402(0x116)]&&(this[_0x214402(0x167)]=!0x0);}[_0x50a566(0x126)](){const _0x1f1a0c=_0x50a566;this[_0x1f1a0c(0x116)]&&(this[_0x1f1a0c(0x167)]=!0x1);}[_0x50a566(0x150)]({showApplyButton:_0x5662bd,showSuggestButton:_0x5be3d8}){const _0x38a83a=_0x50a566;_0x5662bd=_0x5662bd&&!this[_0x38a83a(0x13e)]&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x142)),_0x5be3d8=_0x5be3d8&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x107)),this[_0x38a83a(0x114)][_0x38a83a(0x13b)]({'showApplyButton':_0x5662bd,'showSuggestButton':_0x5be3d8});}async[_0x50a566(0x160)](_0x23bd5a){const _0x230772=_0x50a566;await this[_0x230772(0x149)][_0x230772(0x155)](_0x23bd5a);}[_0x50a566(0x133)](){const _0x59e3aa=_0x50a566;this[_0x59e3aa(0x149)][_0x59e3aa(0x15b)]();}[_0x50a566(0x100)](_0x2e24be){const _0x2153e9=_0x50a566;this[_0x2153e9(0xf9)]=new _0xfb2c27(this[_0x2153e9(0xf6)]),this[_0x2153e9(0xf9)][_0x2153e9(0x15d)]({'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x157)]},'children':[{'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x10d)]},'children':[this[_0x2153e9(0x121)](),this[_0x2153e9(0x135)]()]},this[_0x2153e9(0xfa)](_0x2e24be[_0x2153e9(0x156)])]}),this[_0x2153e9(0x104)][_0x2153e9(0x13c)](this[_0x2153e9(0xf9)]);}[_0x50a566(0x161)](){const _0x109fc6=_0x50a566;this[_0x109fc6(0x124)]=new _0x1be731(this[_0x109fc6(0xf6)]),this[_0x109fc6(0x104)][_0x109fc6(0x13c)](this[_0x109fc6(0x124)]);}[_0x50a566(0x11f)]({showApplyButton:_0x1944cf,showSuggestButton:_0x1e260e}){const _0x4bc3fb=_0x50a566;this[_0x4bc3fb(0x114)]=new _0x4dc29d(this[_0x4bc3fb(0xf6)],_0x1944cf,_0x1e260e),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x14f)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e1e4b=_0x4bc3fb;this[_0x1e1e4b(0x152)](_0x1e1e4b(0x142));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x119)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e5acd=_0x4bc3fb;this[_0x1e5acd(0x152)](_0x1e5acd(0x107));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0xfd)](_0x4bc3fb(0x113))['to'](this,_0x4bc3fb(0x12d),this,_0x4bc3fb(0x167),this,_0x4bc3fb(0x12b),(_0x521295,_0x42f8dd,_0x34a689)=>!(_0x521295||_0x42f8dd||_0x34a689)),this[_0x4bc3fb(0x150)]({'showApplyButton':_0x1944cf,'showSuggestButton':_0x1e260e}),this[_0x4bc3fb(0x104)][_0x4bc3fb(0x13c)](this[_0x4bc3fb(0x114)]);}[_0x50a566(0xfa)](_0xc2bf4a){const _0x496537=_0x50a566;return this[_0x496537(0x10c)]=new _0x1ce7a1(this[_0x496537(0xf6)],_0xc2bf4a),this[_0x496537(0x10c)][_0x496537(0x14b)](..._0x8dbc24)['to'](this),this[_0x496537(0x10c)]['on'](_0x496537(0x14d),()=>{const _0x2cdb1a=_0x496537;this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]=!this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)],this[_0x2cdb1a(0x152)](_0x2cdb1a(0x14c),{'showDiff':this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]});}),this[_0x496537(0x10c)][_0x496537(0xfd)](_0x496537(0x113))['to'](this,_0x496537(0x12d),this,_0x496537(0x167),(_0x1fab4d,_0x3ac677)=>!(_0x1fab4d||_0x3ac677)),this[_0x496537(0x10c)];}[_0x50a566(0x121)](){const _0x211be7=_0x50a566;return this[_0x211be7(0x116)]=new _0x384d8b(this[_0x211be7(0xf6)]),this[_0x211be7(0x116)][_0x211be7(0xfd)](_0x211be7(0x122))['to'](this,_0x211be7(0x167)),this[_0x211be7(0x116)];}[_0x50a566(0x135)](){const _0x50662a=_0x50a566;return this[_0x50662a(0x149)]=new _0x2b498c(this[_0x50662a(0xf6)]),this[_0x50662a(0x149)];}[_0x50a566(0x106)](){const _0x216777=_0x50a566,_0xba7d59=new _0xd3d49f(this[_0x216777(0xf6)]),_0x50d9aa=new _0xd3d49f(this[_0x216777(0xf6)]),_0x4283ed=new AIActionsBalloonNavigationCounterView(this[_0x216777(0xf6)]),_0x391617=new _0xd3d49f(this[_0x216777(0xf6)]);_0xba7d59[_0x216777(0x112)]({'icon':_0x4a3055,'label':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x148)),'tooltip':!0x0,'class':_0x216777(0x15c)}),_0x50d9aa[_0x216777(0x112)]({'icon':_0x5770cf,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x130)),'class':_0x216777(0x110)}),_0x391617[_0x216777(0x112)]({'icon':_0x154d71,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x108)),'class':_0x216777(0x105)}),_0xba7d59[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x28052f=>!_0x28052f),_0xba7d59['on'](_0x216777(0x140),()=>{const _0x28e93f=_0x216777;this[_0x28e93f(0x152)](_0x28e93f(0xfb));}),_0x50d9aa[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x5142fd=>!_0x5142fd),_0x50d9aa['on'](_0x216777(0x140),()=>{const _0x14f4c7=_0x216777;this[_0x14f4c7(0x152)](_0x14f4c7(0x129));}),_0x391617[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x256845=>!_0x256845),_0x391617['on'](_0x216777(0x140),()=>{const _0x3f90b9=_0x216777;this[_0x3f90b9(0x152)](_0x3f90b9(0x144));}),this[_0x216777(0x16a)]=_0x50d9aa,this[_0x216777(0x12e)]=_0x4283ed,this[_0x216777(0x169)]=_0x391617,this[_0x216777(0x111)]=_0xba7d59;}[_0x50a566(0x11e)](_0x47b829,_0xbe9b75){const _0x1e0607=_0x50a566;this[_0x1e0607(0x16a)]||this[_0x1e0607(0x106)]();const _0x3a5b3a=_0x47b829>0x1;if(this[_0x1e0607(0x120)](this[_0x1e0607(0x111)]),_0x3a5b3a){this[_0x1e0607(0x120)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x169)]);const _0x1de482=_0x47b829-_0xbe9b75;this[_0x1e0607(0x12e)][_0x1e0607(0x11a)](_0x1de482+'/'+_0x47b829),this[_0x1e0607(0x16a)][_0x1e0607(0x113)]=_0xbe9b75<_0x47b829-0x1,this[_0x1e0607(0x169)][_0x1e0607(0x113)]=_0xbe9b75>0x0;}else this[_0x1e0607(0x14e)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x169)]);}[_0x50a566(0x134)](){const _0x4dda38=_0x50a566;this[_0x4dda38(0x111)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x16a)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x169)][_0x4dda38(0x113)]=!0x1;}[_0x50a566(0x10f)](){const _0x1b3c46=_0x50a566;this[_0x1b3c46(0x137)](),this[_0x1b3c46(0x123)]&&this[_0x1b3c46(0x123)][_0x1b3c46(0x115)]();}[_0x50a566(0x16c)](){const _0x2902ae=_0x50a566;this[_0x2902ae(0x123)]&&this[_0x2902ae(0x123)][_0x2902ae(0x15e)]();}[_0x50a566(0x109)](_0x4b0fde){const _0x299b3f=_0x50a566;this[_0x299b3f(0x167)]=_0x4b0fde;}[_0x50a566(0x132)](){const _0xf409b2=_0x50a566;this[_0xf409b2(0x10c)][_0xf409b2(0x138)]=!0x1;}[_0x50a566(0x137)](){const _0x29d96e=_0x50a566,_0x42c8bb=this[_0x29d96e(0x139)]();_0x42c8bb&&!this[_0x29d96e(0x123)]&&(this[_0x29d96e(0x123)]=new _0x5b364a(_0x42c8bb));}[_0x50a566(0x139)](){const _0x99876=_0x50a566;return this[_0x99876(0x149)][_0x99876(0xfe)];}}class AIActionsBalloonNavigationCounterView extends _0xfb2c27{constructor(_0xc36232){const _0x1bcd58=_0x50a566;super(_0xc36232);const _0x12f712=this[_0x1bcd58(0x146)];this[_0x1bcd58(0x112)](_0x1bcd58(0x13a),_0x1bcd58(0xff)),this[_0x1bcd58(0x15d)]({'tag':_0x1bcd58(0x136),'attributes':{'class':[_0x1bcd58(0x11d)]},'children':[{'text':_0x12f712['to'](_0x1bcd58(0x13a))}]});}[_0x50a566(0x11a)](_0x4c2cd6){const _0xa3ef99=_0x50a566;this[_0xa3ef99(0x112)](_0xa3ef99(0x13a),_0x4c2cd6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220a17=_0xd6d4;function _0xd6d4(_0x358c8c,_0x37b2db){const _0x49099e=_0x4909();return _0xd6d4=function(_0xd6d44a,_0x11517d){_0xd6d44a=_0xd6d44a-0xb3;let _0x21f1fc=_0x49099e[_0xd6d44a];return _0x21f1fc;},_0xd6d4(_0x358c8c,_0x37b2db);}(function(_0x5876dc,_0x3e9023){const _0x51d260=_0xd6d4,_0x5db6b8=_0x5876dc();while(!![]){try{const _0x230e21=parseInt(_0x51d260(0xc9))/0x1*(parseInt(_0x51d260(0xba))/0x2)+parseInt(_0x51d260(0xb3))/0x3*(parseInt(_0x51d260(0xc0))/0x4)+parseInt(_0x51d260(0xb9))/0x5*(-parseInt(_0x51d260(0xbd))/0x6)+-parseInt(_0x51d260(0xb6))/0x7+-parseInt(_0x51d260(0xbf))/0x8+-parseInt(_0x51d260(0xb7))/0x9*(-parseInt(_0x51d260(0xc1))/0xa)+parseInt(_0x51d260(0xc3))/0xb;if(_0x230e21===_0x3e9023)break;else _0x5db6b8['push'](_0x5db6b8['shift']());}catch(_0x4d6826){_0x5db6b8['push'](_0x5db6b8['shift']());}}}(_0x4909,0x1ebcc));import{IconView as _0x25d4bb,ListItemButtonView as _0x1cd15b}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x5a7078}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x1cd15b{[_0x220a17(0xb8)];constructor(_0x5c6def,_0x289260){const _0x1de284=_0x220a17;super(_0x5c6def,_0x289260);const _0x3e11ff=this[_0x1de284(0xcb)];this[_0x1de284(0xb4)]({'withText':!0x0,'role':_0x1de284(0xbe)}),this[_0x1de284(0xb8)]=this[_0x1de284(0xc4)](),this[_0x1de284(0xc6)]({'attributes':{'class':[_0x1de284(0xc8)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1de284(0xcb)]['to'](_0x1de284(0xbc),_0x4f9e1c=>String(_0x4f9e1c)),'data-cke-tooltip-disabled':_0x3e11ff['to'](_0x1de284(0xbc))},'on':{'mouseenter':_0x3e11ff['to'](_0x1de284(0xc7))}});}[_0x220a17(0xca)](){const _0x529520=_0x220a17;super[_0x529520(0xca)](),this[_0x529520(0xc2)][_0x529520(0xc5)](this[_0x529520(0xb8)]);}[_0x220a17(0xc4)](){const _0x107042=_0x220a17,_0x32b84b=new _0x25d4bb();return _0x32b84b[_0x107042(0xb5)]=_0x5a7078,_0x32b84b[_0x107042(0xc6)]({'attributes':{'class':_0x107042(0xbb)}}),_0x32b84b;}}function _0x4909(){const _0x5458e6=['render','bindTemplate','28965CFIeAL','set','content','584990JVOtwT','9aRgsQv','arrowView','745duCIBD','418978ppedAq','ck-dropdown-menu-list__nested-menu__button__arrow','isOn','6618MROwYC','menuitem','1724984OszBGV','20PPbXhJ','1981740CDoypo','children','1468522EziLAE','_createArrowView','add','extendTemplate','mouseenter','ck-dropdown-menu-list__nested-menu__button','1wxDddy'];_0x4909=function(){return _0x5458e6;};return _0x4909();}
23
+ const _0x242be8=_0x221b;(function(_0x2a91d2,_0x5cd77f){const _0x147bfd=_0x221b,_0x4a2cb0=_0x2a91d2();while(!![]){try{const _0x55bb5d=-parseInt(_0x147bfd(0x91))/0x1+-parseInt(_0x147bfd(0x92))/0x2*(parseInt(_0x147bfd(0x8f))/0x3)+parseInt(_0x147bfd(0x93))/0x4*(-parseInt(_0x147bfd(0x99))/0x5)+parseInt(_0x147bfd(0x9a))/0x6*(parseInt(_0x147bfd(0x95))/0x7)+parseInt(_0x147bfd(0x9d))/0x8+parseInt(_0x147bfd(0x9b))/0x9+parseInt(_0x147bfd(0x96))/0xa;if(_0x55bb5d===_0x5cd77f)break;else _0x4a2cb0['push'](_0x4a2cb0['shift']());}catch(_0x14cae7){_0x4a2cb0['push'](_0x4a2cb0['shift']());}}}(_0x1e79,0x80fc9));import{IconView as _0x290e91,ListItemButtonView as _0x592fa4}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x4004ea}from'@ckeditor/ckeditor5-icons';function _0x1e79(){const _0x494599=['840aqJlsd','7017084dDDiUA','set','2346224QJZCzB','arrowView','content','_createArrowView','children','ck-dropdown-menu-list__nested-menu__button__arrow','mouseenter','bindTemplate','add','ck-dropdown-menu-list__nested-menu__button','210543hpoHgv','render','671044KBUmGz','26RPIrcW','4smXDyV','isOn','21217idtIub','15891010BROkoo','menuitem','extendTemplate','4873345bINqdb'];_0x1e79=function(){return _0x494599;};return _0x1e79();}function _0x221b(_0x270667,_0x310b1a){const _0x1e7973=_0x1e79();return _0x221b=function(_0x221bd5,_0x4d515a){_0x221bd5=_0x221bd5-0x8f;let _0x3a7a22=_0x1e7973[_0x221bd5];return _0x3a7a22;},_0x221b(_0x270667,_0x310b1a);}export class DropdownMenuButtonWithHighlightView extends _0x592fa4{[_0x242be8(0x9e)];constructor(_0x3c1a90,_0x1f909a){const _0x1130a6=_0x242be8;super(_0x3c1a90,_0x1f909a);const _0x230914=this[_0x1130a6(0xa4)];this[_0x1130a6(0x9c)]({'withText':!0x0,'role':_0x1130a6(0x97)}),this[_0x1130a6(0x9e)]=this[_0x1130a6(0xa0)](),this[_0x1130a6(0x98)]({'attributes':{'class':[_0x1130a6(0xa6)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1130a6(0xa4)]['to'](_0x1130a6(0x94),_0x408ada=>String(_0x408ada)),'data-cke-tooltip-disabled':_0x230914['to'](_0x1130a6(0x94))},'on':{'mouseenter':_0x230914['to'](_0x1130a6(0xa3))}});}[_0x242be8(0x90)](){const _0x5bbe64=_0x242be8;super[_0x5bbe64(0x90)](),this[_0x5bbe64(0xa1)][_0x5bbe64(0xa5)](this[_0x5bbe64(0x9e)]);}[_0x242be8(0xa0)](){const _0x2a2018=_0x242be8,_0x3f07a7=new _0x290e91();return _0x3f07a7[_0x2a2018(0x9f)]=_0x4004ea,_0x3f07a7[_0x2a2018(0x98)]({'attributes':{'class':_0x2a2018(0xa2)}}),_0x3f07a7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47dbf6=_0x57cf;function _0x57cf(_0x344612,_0x3033fa){const _0x4481de=_0x4481();return _0x57cf=function(_0x57cfea,_0x348de3){_0x57cfea=_0x57cfea-0xbb;let _0x44180a=_0x4481de[_0x57cfea];return _0x44180a;},_0x57cf(_0x344612,_0x3033fa);}function _0x4481(){const _0x20b2e3=['_onChangeMarkerBlurred','5978244EmOQVF','abortReviewStream','2065614WgMTay','listenTo','changeMarkerRestored','message','ai-review-mode-check-run-chunk-error','rejectChange','error-chunk','isChangeActive','markChangeAsPending','args','ck-ai-translate-mode-content','_aiReviewCoreEditing','showCheckRunResult','_logError','acceptChange','ai-review-mode-no-current-check-run','_onReviewRunLeave','dismissChange','reviewCheckResultReady','_onReviewCheckResultDeactivated','_diffContent','markChangeAsOutdated','applyChange','showReviewCheckList','stopListening','contentInitial','ai-review-mode-check-run-general-error','documentData','hasModifications','5154048ewQhiG','getRoot','_onChangeMarkerHovered','updateChangeState','_onReviewCheckResultActivated','AIConnector','_createReviewCheckRun','getDocumentData','clearAllMarkers','title','leaveReview','_getChecksList','setAvailableChecks','21805176wiBbQL','showReviewCompletedView','_changeActivationSource','showActionsWhenResultIsReady','showCheckRunResults','removeClass','_onActivateChange','params','closest','_getChangeContentElement','changeMarkerRemoved','_getTranslationWithDefault','emitter','unmodified','reviewCheckResultAdded','changeMarkerHovered','currentError','3150840RkfjUt','_onChangeMarkerClicked','ai-review-mode-check-run-failed','changeId','locale','plugins','_onChangeMarkerRestored','ck-ai_review-highlights','deactivateChange','showGeneralReviewCoreErrorView','getEditor','3RaQnTI','leaveReviewCoreResultList','ready','data','map','_onReviewCheckRun','source','view','start','changeMarkerBlurred','reviewCheckRunUpdated','checks','236891PosIew','_aiConnector','addResultChanges','_aiReviewCoreUi','finished','.ck-ai_review__check-run-result','getReviewCheckList','changes','markChangeAsAccepted','_onChangeMarkerRemoved','reviewCheckResultChangeStatusUpdated','init','updateDocumentData','get','2713564tDznuD','showChunkErrorView','_scrollToChange','change','_aiReviewCheckList','acceptAllChanges','ai-review-mode-source-check-not-found','runReviewCheck','getActiveChanges','length','document','includes','markChangeAsRejected','status','showNoChangesView','retryReview','forceReadyState','ai-review-mode-models-unable-to-retrieve','getCheckById','ai-request-aborted','getChangeElement','contentNew','changeMarkerClicked','sendRating','showGeneralResultsErrorView','_initRequiredPlugins','startsWith','finishReview','_currentReviewCheckRun','error-general','editing','panel','restart','requires','processedResultsCount','activateChange','result','reviewCheckResultDeactivated','context','subTitle','reviewCheckResultActivated','isPremiumPlugin','content','_onDeactivateChange','_onCheckRunFinished','hideChangeBalloon','switchToEdit','ck-ai_review-diff','abort','aborted','isOfficialPlugin','markAllChangesAsAccepted','_markChangePositionInEditorContent','setCheckResultTitle','loading','switchToReadOnly'];_0x4481=function(){return _0x20b2e3;};return _0x4481();}(function(_0xa35dba,_0x486d73){const _0x163f0a=_0x57cf,_0x5ee794=_0xa35dba();while(!![]){try{const _0x36405d=-parseInt(_0x163f0a(0x11a))/0x1+parseInt(_0x163f0a(0xc8))/0x2*(-parseInt(_0x163f0a(0x10e))/0x3)+parseInt(_0x163f0a(0xe5))/0x4+-parseInt(_0x163f0a(0x103))/0x5+-parseInt(_0x163f0a(0xc6))/0x6+-parseInt(_0x163f0a(0x128))/0x7+parseInt(_0x163f0a(0xf2))/0x8;if(_0x36405d===_0x486d73)break;else _0x5ee794['push'](_0x5ee794['shift']());}catch(_0x17b166){_0x5ee794['push'](_0x5ee794['shift']());}}}(_0x4481,0xb249b));import{ContextPlugin as _0x4dd88a}from'ckeditor5/src/core.js';import{CKEditorError as _0x42a33e,logError as _0x3460d8,scrollAncestorsToShowTarget as _0x2af3e5,scrollViewportToShowTarget as _0x219926}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x4bf87c}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x19ad02}from'../aicore/utils/common-translations.js';import{AIConnector as _0xc09527}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x4dd88a{[_0x47dbf6(0x11b)];[_0x47dbf6(0x11d)];[_0x47dbf6(0xd3)];[_0x47dbf6(0x12c)];[_0x47dbf6(0x144)];[_0x47dbf6(0xf4)]=null;static get[_0x47dbf6(0x149)](){return[_0xc09527];}static get[_0x47dbf6(0xbf)](){return!0x0;}static get[_0x47dbf6(0x151)](){return!0x0;}async[_0x47dbf6(0x125)](){const _0x52a5bb=_0x47dbf6;this[_0x52a5bb(0x141)](),this[_0x52a5bb(0x12c)]=await this[_0x52a5bb(0xf0)](),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x120),()=>{const _0x3b761e=_0x52a5bb;this[_0x3b761e(0x11d)][_0x3b761e(0xf1)](this[_0x3b761e(0x12c)][_0x3b761e(0x119)]);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x12f),async(_0x19425b,_0x5400d0)=>{const _0x50035c=_0x52a5bb,_0x1f4999=this[_0x50035c(0x12c)][_0x50035c(0x13a)](_0x5400d0['id']);if(_0x1f4999){this[_0x50035c(0x113)](_0x5400d0),this[_0x50035c(0xd3)][_0x50035c(0xc4)](),this[_0x50035c(0x144)]=this[_0x50035c(0xeb)](_0x5400d0,_0x1f4999),this[_0x50035c(0x11d)][_0x50035c(0xc2)](this[_0x50035c(0x144)][_0x50035c(0xee)],this[_0x50035c(0x144)][_0x50035c(0x14f)]),this[_0x50035c(0x144)]['on'](_0x50035c(0x118),(_0x2347d9,_0x291682)=>{const _0xb5de3=_0x50035c;switch(_0x291682[_0xb5de3(0x135)]){case _0xb5de3(0x111):case _0xb5de3(0xc3):this[_0xb5de3(0x11d)][_0xb5de3(0xf6)](_0x291682);break;case _0xb5de3(0x11e):this[_0xb5de3(0x154)]();break;case _0xb5de3(0x110):this[_0xb5de3(0x11d)][_0xb5de3(0xf5)]();break;case _0xb5de3(0xff):this[_0xb5de3(0x11d)][_0xb5de3(0x136)]();break;case _0xb5de3(0x145):this[_0xb5de3(0x11d)][_0xb5de3(0x140)](),this[_0xb5de3(0xd5)](new _0x42a33e(_0xb5de3(0xe2),this,void 0x0,this[_0xb5de3(0x144)]?.[_0xb5de3(0x102)]));break;case _0xb5de3(0xce):this[_0xb5de3(0x11d)][_0xb5de3(0x129)](),this[_0xb5de3(0xd5)](new _0x42a33e(_0xb5de3(0xcc),this,void 0x0,this[_0xb5de3(0x144)]?.[_0xb5de3(0x102)]));break;case _0xb5de3(0xbe):this[_0xb5de3(0x144)]&&this[_0xb5de3(0x144)][_0xb5de3(0x14a)]>0x0?setTimeout(()=>{const _0x1d26d1=_0xb5de3;this[_0x1d26d1(0x144)]?.[_0x1d26d1(0x138)]();},0x0):this[_0xb5de3(0xd8)](!0x0);}_0xb5de3(0x110)!==_0x291682[_0xb5de3(0x135)]&&_0xb5de3(0xce)!==_0x291682[_0xb5de3(0x135)]&&_0xb5de3(0x145)!==_0x291682[_0xb5de3(0x135)]||this[_0xb5de3(0x144)]?.[_0xb5de3(0x13f)]();}),this[_0x50035c(0x144)]['on'](_0x50035c(0x100),(_0x4ebf87,_0x30b841)=>{const _0x2e34d0=_0x50035c;if(!this[_0x2e34d0(0x144)])throw new _0x42a33e(_0x2e34d0(0xd7),this);const _0x41cd70=this[_0x2e34d0(0xdc)](_0x30b841[_0x2e34d0(0x14c)][_0x2e34d0(0xe1)],_0x30b841[_0x2e34d0(0x14c)][_0x2e34d0(0x13d)]);_0x30b841[_0x2e34d0(0x114)][_0x2e34d0(0x11c)](_0x30b841[_0x2e34d0(0x14c)]['id'],_0x41cd70);}),this[_0x50035c(0x144)]['on'](_0x50035c(0xda),(_0x1ffbb8,_0x416592)=>{const _0x29b325=_0x50035c;for(const _0x55e283 of _0x416592[_0x29b325(0x121)])this[_0x29b325(0x11d)][_0x29b325(0xd4)](_0x55e283);this[_0x29b325(0xc1)](_0x416592[_0x29b325(0x121)],_0x416592[_0x29b325(0x114)][_0x29b325(0xe3)]);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x124),(_0x231dd4,_0x30a55c)=>{const _0x12a07d=_0x50035c;this[_0x12a07d(0x11d)][_0x12a07d(0xe8)](_0x30a55c[_0x12a07d(0x12b)]['id'],_0x30a55c[_0x12a07d(0x135)]);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x150),(_0xfe9c8a,_0x53ba6f)=>{const _0x3f3004=_0x50035c;this[_0x3f3004(0xe9)](_0x53ba6f);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x14d),()=>{const _0x411e6d=_0x50035c;this[_0x411e6d(0xdb)]();});try{await this[_0x50035c(0x144)][_0x50035c(0x116)]();}catch(_0x39a770){_0x39a770 instanceof Error&&_0x39a770[_0x50035c(0xcb)][_0x50035c(0x133)](_0x50035c(0x13b))||(_0x39a770 instanceof _0x42a33e?this[_0x50035c(0xd5)](_0x39a770):this[_0x50035c(0xd5)](new _0x42a33e(_0x50035c(0x105),this,void 0x0,_0x39a770)));}}else this[_0x50035c(0xd5)](new _0x42a33e(_0x50035c(0x12e),this,{'checkId':_0x5400d0['id']}));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xef),()=>{const _0x458956=_0x52a5bb;this[_0x458956(0xd8)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x10f),()=>{const _0x57e7b5=_0x52a5bb;this[_0x57e7b5(0xd8)](!0x0);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xc7),()=>{const _0x572ddd=_0x52a5bb;this[_0x572ddd(0x144)]&&this[_0x572ddd(0x144)][_0x572ddd(0xbd)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x143),()=>{const _0x2dda0e=_0x52a5bb;this[_0x2dda0e(0xd8)](!0x0);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x12d),()=>{const _0x3ad50e=_0x52a5bb;if(!this[_0x3ad50e(0x144)])return;const _0x18a976=this[_0x3ad50e(0x144)][_0x3ad50e(0x130)]();if(!_0x18a976[_0x3ad50e(0x131)])return;this[_0x3ad50e(0xd3)][_0x3ad50e(0xde)](_0x18a976[_0x3ad50e(0x112)](_0x3f0d33=>_0x3f0d33['id']));const _0x44c0bf=this[_0x3ad50e(0x144)];_0x44c0bf[_0x3ad50e(0xc0)](),_0x44c0bf[_0x3ad50e(0x13f)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xd6),(_0x53a9d2,_0x269f2e)=>{const _0x5b07ad=_0x52a5bb;this[_0x5b07ad(0x144)]&&this[_0x5b07ad(0x144)][_0x5b07ad(0xcf)](_0x269f2e['id'])&&(this[_0x5b07ad(0xd3)][_0x5b07ad(0xde)]([_0x269f2e['id']]),this[_0x5b07ad(0x144)][_0x5b07ad(0x122)](_0x269f2e['id']),this[_0x5b07ad(0x11d)][_0x5b07ad(0x155)](),this[_0x5b07ad(0x144)][_0x5b07ad(0x13f)](_0x269f2e['id']));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xd9),(_0x51ffde,_0x2c2f0e)=>{const _0x2598a2=_0x52a5bb;this[_0x2598a2(0x144)]&&this[_0x2598a2(0x144)][_0x2598a2(0xcf)](_0x2c2f0e['id'])&&(this[_0x2598a2(0xd3)][_0x2598a2(0xcd)](_0x2c2f0e['id']),this[_0x2598a2(0x144)][_0x2598a2(0x134)](_0x2c2f0e['id']),this[_0x2598a2(0x11d)][_0x2598a2(0x155)](),this[_0x2598a2(0x144)][_0x2598a2(0x13f)](_0x2c2f0e['id']));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x137),async()=>{const _0x5528e9=_0x52a5bb;this[_0x5528e9(0x144)]&&(this[_0x5528e9(0xd3)][_0x5528e9(0xed)](),this[_0x5528e9(0x144)][_0x5528e9(0x126)](this[_0x5528e9(0xd3)][_0x5528e9(0xec)]()),await this[_0x5528e9(0x144)][_0x5528e9(0x148)]());}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x14b),(_0x581649,_0x9bba44)=>{const _0x17a04c=_0x52a5bb;this[_0x17a04c(0xf8)](_0x9bba44);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x10b),(_0x37078e,_0x55c3fd)=>{const _0x45c0ec=_0x52a5bb;this[_0x45c0ec(0x153)](_0x55c3fd);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x13e),(_0x1856da,_0x2b71da)=>{const _0x51571f=_0x52a5bb;this[_0x51571f(0x104)](_0x1856da,_0x2b71da);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x101),(_0x439b6c,_0x27daf7)=>{const _0x2cfb27=_0x52a5bb;this[_0x2cfb27(0xe7)](_0x439b6c,_0x27daf7);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x117),()=>{const _0x70cc22=_0x52a5bb;this[_0x70cc22(0xc5)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0xfc),(_0x263961,_0x1e67f5)=>{const _0x4fb884=_0x52a5bb;this[_0x4fb884(0x123)](_0x263961,_0x1e67f5);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0xca),(_0x2dff1d,_0x5b5c76)=>{const _0x4574a9=_0x52a5bb;this[_0x4574a9(0x109)](_0x2dff1d,_0x5b5c76);});}[_0x47dbf6(0xeb)](_0x4c472d,_0x28834e){const _0x26574e=_0x47dbf6;return new _0x4bf87c(this[_0x26574e(0xd3)][_0x26574e(0xec)](),_0x28834e,this[_0x26574e(0x11b)],_0x4c472d[_0x26574e(0xf9)],_0x4c472d[_0x26574e(0xd1)]);}[_0x47dbf6(0x123)](_0x12506b,_0xcfa5){const _0x44c78a=_0x47dbf6;this[_0x44c78a(0x144)]&&this[_0x44c78a(0x144)][_0x44c78a(0xdd)](_0xcfa5[_0x44c78a(0x106)]);}[_0x47dbf6(0x109)](_0x3b6a2c,_0x6b725d){const _0x9e5c49=_0x47dbf6;this[_0x9e5c49(0x144)]&&this[_0x9e5c49(0x144)][_0x9e5c49(0xd0)](_0x6b725d[_0x9e5c49(0x106)]);}[_0x47dbf6(0x154)](){const _0x43857f=_0x47dbf6;this[_0x43857f(0x11d)][_0x43857f(0xf3)]();}[_0x47dbf6(0x141)](){const _0x1b4a21=_0x47dbf6;this[_0x1b4a21(0x11b)]=this[_0x1b4a21(0x14e)][_0x1b4a21(0x108)][_0x1b4a21(0x127)](_0x1b4a21(0xea));}[_0x47dbf6(0xd8)](_0x59c40b=!0x1){const _0x1c844a=_0x47dbf6;this[_0x1c844a(0x144)]&&(this[_0x1c844a(0x144)][_0x1c844a(0xe4)]||this[_0x1c844a(0x144)][_0x1c844a(0x13f)](),this[_0x1c844a(0x144)][_0x1c844a(0xe0)](),this[_0x1c844a(0x144)][_0x1c844a(0xbd)](),this[_0x1c844a(0x144)]=void 0x0),_0x59c40b&&this[_0x1c844a(0x11d)][_0x1c844a(0xdf)](),this[_0x1c844a(0xd3)][_0x1c844a(0xed)](),this[_0x1c844a(0xd3)][_0x1c844a(0xbb)](),this[_0x1c844a(0xf4)]=null;const _0x1827c7=this[_0x1c844a(0xd3)][_0x1c844a(0x10d)]();_0x1827c7&&_0x1827c7[_0x1c844a(0x146)][_0x1c844a(0x115)][_0x1c844a(0x12b)](_0x49fe2d=>{const _0x5961af=_0x1c844a,_0x36c7ee=_0x1827c7[_0x5961af(0x146)][_0x5961af(0x115)][_0x5961af(0x132)][_0x5961af(0xe6)]();_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0xbc),_0x36c7ee),_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0x10a),_0x36c7ee),_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0xd2),_0x36c7ee);});}[_0x47dbf6(0xfd)](_0xd16135,_0x533e15){const _0x4bf111=_0x47dbf6,_0x30316e=this[_0x4bf111(0x14e)][_0x4bf111(0x107)],_0x412e96=_0x19ad02(_0x30316e,_0xd16135);return _0x412e96===_0xd16135?_0x533e15:_0x412e96;}[_0x47dbf6(0xd5)](_0x1142a6,_0x9c02c7=!0x1){const _0x468843=_0x47dbf6;_0x3460d8(_0x1142a6[_0x468843(0xcb)]),_0x9c02c7||(_0x1142a6[_0x468843(0xcb)][_0x468843(0x142)](_0x468843(0x139))?this[_0x468843(0x11d)][_0x468843(0x10c)]():this[_0x468843(0x11d)][_0x468843(0x140)]());}[_0x47dbf6(0x12a)](_0x58fe9f){const _0x521350=_0x47dbf6;if(_0x521350(0x152)===this[_0x521350(0xf4)]){const _0x59641d=this[_0x521350(0x11d)][_0x521350(0x13c)](_0x58fe9f);_0x59641d&&_0x2af3e5(_0x59641d[_0x521350(0xfa)](_0x521350(0x11f))||_0x59641d);}else{if(_0x521350(0x147)===this[_0x521350(0xf4)]){const _0x920862=this[_0x521350(0xfb)](_0x58fe9f);if(!_0x920862)return;_0x219926({'target':_0x920862,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
23
+ const _0x5b4dbb=_0xc54e;(function(_0x2bc35f,_0x1fbfda){const _0x3e1a01=_0xc54e,_0x57bfa6=_0x2bc35f();while(!![]){try{const _0x2ea378=parseInt(_0x3e1a01(0x19c))/0x1*(-parseInt(_0x3e1a01(0x12d))/0x2)+parseInt(_0x3e1a01(0x16b))/0x3+parseInt(_0x3e1a01(0x18c))/0x4+-parseInt(_0x3e1a01(0x161))/0x5*(-parseInt(_0x3e1a01(0x15d))/0x6)+parseInt(_0x3e1a01(0x11e))/0x7+parseInt(_0x3e1a01(0x1ac))/0x8+-parseInt(_0x3e1a01(0x1a0))/0x9;if(_0x2ea378===_0x1fbfda)break;else _0x57bfa6['push'](_0x57bfa6['shift']());}catch(_0x350d0b){_0x57bfa6['push'](_0x57bfa6['shift']());}}}(_0x7bcc,0x88c4a));function _0xc54e(_0x5d55f8,_0x4ab8f0){const _0x7bccad=_0x7bcc();return _0xc54e=function(_0xc54e8b,_0x2214d9){_0xc54e8b=_0xc54e8b-0x11a;let _0x4b57f1=_0x7bccad[_0xc54e8b];return _0x4b57f1;},_0xc54e(_0x5d55f8,_0x4ab8f0);}import{ContextPlugin as _0x1a3a78}from'ckeditor5/src/core.js';import{CKEditorError as _0x267a8c,logError as _0x831115,scrollAncestorsToShowTarget as _0x53d1e3,scrollViewportToShowTarget as _0x1fa873}from'ckeditor5/src/utils.js';function _0x7bcc(){const _0x252195=['_logError','markChangeAsAccepted','ck-ai-translate-mode-content','requires','startsWith','_onChangeMarkerRemoved','showCheckRunResult','deactivateChange','hideChangeBalloon','dismissChange','init','showGeneralReviewCoreErrorView','abortReviewStream','getReviewCheckList','source','919962zoJzDA','args','_markChangePositionInEditorContent','params','25BaNecL','ready','status','getRoot','documentData','error-general','reviewCheckResultAdded','changeMarkerHovered','_changeActivationSource','_aiReviewCoreUi','1802682mlAisL','getActiveChanges','listenTo','_onReviewCheckResultActivated','sendRating','acceptAllChanges','leaveReviewCoreResultList','reviewCheckResultDeactivated','AIConnector','ai-review-mode-models-unable-to-retrieve','retryReview','plugins','_onDeactivateChange','hasModifications','emitter','ai-review-mode-check-run-chunk-error','document','runReviewCheck','contentInitial','ai-review-mode-check-run-failed','aborted','ai-review-mode-check-run-general-error','addResultChanges','setAvailableChecks','stopListening','changeMarkerClicked','leaveReview','ck-ai_review-highlights','content','ai-review-mode-source-check-not-found','clearAllMarkers','view','_onReviewRunLeave','4215292JuXkNR','_createReviewCheckRun','_onChangeMarkerHovered','title','editing','markChangeAsPending','reviewCheckRunUpdated','isPremiumPlugin','start','length','.ck-ai_review__check-run-result','changeId','_diffContent','ai-request-aborted','setCheckResultTitle','error-chunk','1HuMAtz','forceReadyState','reviewCheckResultChangeStatusUpdated','showChunkErrorView','23710797ksxifZ','_initRequiredPlugins','panel','_onActivateChange','processedResultsCount','updateChangeState','subTitle','reviewCheckResultReady','_aiConnector','restart','isOfficialPlugin','getEditor','5487888vjGwvI','activateChange','_onReviewCheckRun','markAllChangesAsAccepted','getDocumentData','unmodified','rejectChange','_aiReviewCoreEditing','locale','markChangeAsRejected','changeMarkerRestored','updateDocumentData','data','loading','4877838QkQqWx','showNoChangesView','finishReview','showReviewCompletedView','checks','acceptChange','markChangeAsOutdated','ai-review-mode-no-current-check-run','_getChecksList','showGeneralResultsErrorView','map','showActionsWhenResultIsReady','change','contentNew','isChangeActive','1218874wveGzT','includes','removeClass','_getChangeContentElement','changeMarkerBlurred','message','showCheckRunResults','getCheckById','closest','_onChangeMarkerRestored','changes','_currentReviewCheckRun','_onReviewCheckResultDeactivated','context','_aiReviewCheckList','showReviewCheckList','switchToReadOnly','_scrollToChange','_getTranslationWithDefault','get','_onChangeMarkerClicked','finished','applyChange','reviewCheckResultActivated','result','getChangeElement','abort','ck-ai_review-diff','switchToEdit','changeMarkerRemoved','_onCheckRunFinished','currentError','_onChangeMarkerBlurred'];_0x7bcc=function(){return _0x252195;};return _0x7bcc();}import{AIReviewSystemCheckRun as _0x2ceef0}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x2b3cfb}from'../aicore/utils/common-translations.js';import{AIConnector as _0x9165c7}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x1a3a78{[_0x5b4dbb(0x1a8)];[_0x5b4dbb(0x16a)];[_0x5b4dbb(0x1b3)];[_0x5b4dbb(0x13b)];[_0x5b4dbb(0x138)];[_0x5b4dbb(0x169)]=null;static get[_0x5b4dbb(0x151)](){return[_0x9165c7];}static get[_0x5b4dbb(0x1aa)](){return!0x0;}static get[_0x5b4dbb(0x193)](){return!0x0;}async[_0x5b4dbb(0x158)](){const _0x1ac0d4=_0x5b4dbb;this[_0x1ac0d4(0x1a1)](),this[_0x1ac0d4(0x13b)]=await this[_0x1ac0d4(0x126)](),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x15b),()=>{const _0x20ba54=_0x1ac0d4;this[_0x20ba54(0x16a)][_0x20ba54(0x182)](this[_0x20ba54(0x13b)][_0x20ba54(0x122)]);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x17c),async(_0x16026b,_0x1116b7)=>{const _0x361412=_0x1ac0d4,_0x53ccc9=this[_0x361412(0x13b)][_0x361412(0x134)](_0x1116b7['id']);if(_0x53ccc9){this[_0x361412(0x1ae)](_0x1116b7),this[_0x361412(0x1b3)][_0x361412(0x13d)](),this[_0x361412(0x138)]=this[_0x361412(0x18d)](_0x1116b7,_0x53ccc9),this[_0x361412(0x16a)][_0x361412(0x19a)](this[_0x361412(0x138)][_0x361412(0x18f)],this[_0x361412(0x138)][_0x361412(0x1a6)]),this[_0x361412(0x138)]['on'](_0x361412(0x192),(_0x3f564b,_0x3b2427)=>{const _0x591f0a=_0x361412;switch(_0x3b2427[_0x591f0a(0x163)]){case _0x591f0a(0x11c):case _0x591f0a(0x11d):this[_0x591f0a(0x16a)][_0x591f0a(0x133)](_0x3b2427);break;case _0x591f0a(0x142):this[_0x591f0a(0x14b)]();break;case _0x591f0a(0x162):this[_0x591f0a(0x16a)][_0x591f0a(0x129)]();break;case _0x591f0a(0x1b1):this[_0x591f0a(0x16a)][_0x591f0a(0x11f)]();break;case _0x591f0a(0x166):this[_0x591f0a(0x16a)][_0x591f0a(0x127)](),this[_0x591f0a(0x14e)](new _0x267a8c(_0x591f0a(0x180),this,void 0x0,this[_0x591f0a(0x138)]?.[_0x591f0a(0x14c)]));break;case _0x591f0a(0x19b):this[_0x591f0a(0x16a)][_0x591f0a(0x19f)](),this[_0x591f0a(0x14e)](new _0x267a8c(_0x591f0a(0x17a),this,void 0x0,this[_0x591f0a(0x138)]?.[_0x591f0a(0x14c)]));break;case _0x591f0a(0x17f):this[_0x591f0a(0x138)]&&this[_0x591f0a(0x138)][_0x591f0a(0x1a4)]>0x0?setTimeout(()=>{const _0x5a578b=_0x591f0a;this[_0x5a578b(0x138)]?.[_0x5a578b(0x19d)]();},0x0):this[_0x591f0a(0x18b)](!0x0);}_0x591f0a(0x162)!==_0x3b2427[_0x591f0a(0x163)]&&_0x591f0a(0x19b)!==_0x3b2427[_0x591f0a(0x163)]&&_0x591f0a(0x166)!==_0x3b2427[_0x591f0a(0x163)]||this[_0x591f0a(0x138)]?.[_0x591f0a(0x16f)]();}),this[_0x361412(0x138)]['on'](_0x361412(0x167),(_0x39394a,_0x2ac63d)=>{const _0xdffe61=_0x361412;if(!this[_0xdffe61(0x138)])throw new _0x267a8c(_0xdffe61(0x125),this);const _0x445e92=this[_0xdffe61(0x198)](_0x2ac63d[_0xdffe61(0x145)][_0xdffe61(0x17d)],_0x2ac63d[_0xdffe61(0x145)][_0xdffe61(0x12b)]);_0x2ac63d[_0xdffe61(0x15c)][_0xdffe61(0x181)](_0x2ac63d[_0xdffe61(0x145)]['id'],_0x445e92);}),this[_0x361412(0x138)]['on'](_0x361412(0x1a7),(_0x722980,_0x3446b0)=>{const _0x5930f3=_0x361412;for(const _0x4c3fcb of _0x3446b0[_0x5930f3(0x137)])this[_0x5930f3(0x16a)][_0x5930f3(0x154)](_0x4c3fcb);this[_0x5930f3(0x15f)](_0x3446b0[_0x5930f3(0x137)],_0x3446b0[_0x5930f3(0x15c)][_0x5930f3(0x165)]);}),this[_0x361412(0x138)]['on'](_0x361412(0x19e),(_0x45962b,_0xc1652)=>{const _0x21fc4b=_0x361412;this[_0x21fc4b(0x16a)][_0x21fc4b(0x1a5)](_0xc1652[_0x21fc4b(0x12a)]['id'],_0xc1652[_0x21fc4b(0x163)]);}),this[_0x361412(0x138)]['on'](_0x361412(0x144),(_0x250f01,_0x227cd0)=>{const _0x3110b8=_0x361412;this[_0x3110b8(0x16e)](_0x227cd0);}),this[_0x361412(0x138)]['on'](_0x361412(0x172),()=>{const _0x57ddf1=_0x361412;this[_0x57ddf1(0x139)]();});try{await this[_0x361412(0x138)][_0x361412(0x194)]();}catch(_0xafa419){_0xafa419 instanceof Error&&_0xafa419[_0x361412(0x132)][_0x361412(0x12e)](_0x361412(0x199))||(_0xafa419 instanceof _0x267a8c?this[_0x361412(0x14e)](_0xafa419):this[_0x361412(0x14e)](new _0x267a8c(_0x361412(0x17e),this,void 0x0,_0xafa419)));}}else this[_0x361412(0x14e)](new _0x267a8c(_0x361412(0x188),this,{'checkId':_0x1116b7['id']}));}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x185),()=>{const _0x284458=_0x1ac0d4;this[_0x284458(0x18b)]();}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x171),()=>{const _0x26fa4f=_0x1ac0d4;this[_0x26fa4f(0x18b)](!0x0);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x15a),()=>{const _0x1a2a20=_0x1ac0d4;this[_0x1a2a20(0x138)]&&this[_0x1a2a20(0x138)][_0x1a2a20(0x147)]();}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x120),()=>{const _0x596ffe=_0x1ac0d4;this[_0x596ffe(0x18b)](!0x0);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x170),()=>{const _0x3ce8c9=_0x1ac0d4;if(!this[_0x3ce8c9(0x138)])return;const _0x206116=this[_0x3ce8c9(0x138)][_0x3ce8c9(0x16c)]();if(!_0x206116[_0x3ce8c9(0x195)])return;this[_0x3ce8c9(0x1b3)][_0x3ce8c9(0x143)](_0x206116[_0x3ce8c9(0x128)](_0x234d8a=>_0x234d8a['id']));const _0x380443=this[_0x3ce8c9(0x138)];_0x380443[_0x3ce8c9(0x1af)](),_0x380443[_0x3ce8c9(0x16f)]();}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x123),(_0x5f11e9,_0x4a5d3a)=>{const _0x1d2fb8=_0x1ac0d4;this[_0x1d2fb8(0x138)]&&this[_0x1d2fb8(0x138)][_0x1d2fb8(0x12c)](_0x4a5d3a['id'])&&(this[_0x1d2fb8(0x1b3)][_0x1d2fb8(0x143)]([_0x4a5d3a['id']]),this[_0x1d2fb8(0x138)][_0x1d2fb8(0x14f)](_0x4a5d3a['id']),this[_0x1d2fb8(0x16a)][_0x1d2fb8(0x156)](),this[_0x1d2fb8(0x138)][_0x1d2fb8(0x16f)](_0x4a5d3a['id']));}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x157),(_0x3a2c39,_0x2714ff)=>{const _0x4ea49e=_0x1ac0d4;this[_0x4ea49e(0x138)]&&this[_0x4ea49e(0x138)][_0x4ea49e(0x12c)](_0x2714ff['id'])&&(this[_0x4ea49e(0x1b3)][_0x4ea49e(0x1b2)](_0x2714ff['id']),this[_0x4ea49e(0x138)][_0x4ea49e(0x1b5)](_0x2714ff['id']),this[_0x4ea49e(0x16a)][_0x4ea49e(0x156)](),this[_0x4ea49e(0x138)][_0x4ea49e(0x16f)](_0x2714ff['id']));}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x175),async()=>{const _0x3510d1=_0x1ac0d4;this[_0x3510d1(0x138)]&&(this[_0x3510d1(0x1b3)][_0x3510d1(0x189)](),this[_0x3510d1(0x138)][_0x3510d1(0x11b)](this[_0x3510d1(0x1b3)][_0x3510d1(0x1b0)]()),await this[_0x3510d1(0x138)][_0x3510d1(0x1a9)]());}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x1ad),(_0x550fc1,_0x280ef2)=>{const _0xa0ed3b=_0x1ac0d4;this[_0xa0ed3b(0x1a3)](_0x280ef2);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x16a)],_0x1ac0d4(0x155),(_0x1f4b00,_0x13edca)=>{const _0x568971=_0x1ac0d4;this[_0x568971(0x177)](_0x13edca);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x1b3)][_0x1ac0d4(0x179)],_0x1ac0d4(0x184),(_0x1d39d9,_0x3e1bbf)=>{const _0x383c0c=_0x1ac0d4;this[_0x383c0c(0x141)](_0x1d39d9,_0x3e1bbf);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x1b3)][_0x1ac0d4(0x179)],_0x1ac0d4(0x168),(_0x38271c,_0x5574f5)=>{const _0x1f605b=_0x1ac0d4;this[_0x1f605b(0x18e)](_0x38271c,_0x5574f5);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x1b3)][_0x1ac0d4(0x179)],_0x1ac0d4(0x131),()=>{const _0xcb9187=_0x1ac0d4;this[_0xcb9187(0x14d)]();}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x1b3)][_0x1ac0d4(0x179)],_0x1ac0d4(0x14a),(_0x569ac8,_0x43c9b7)=>{const _0x3f5d96=_0x1ac0d4;this[_0x3f5d96(0x153)](_0x569ac8,_0x43c9b7);}),this[_0x1ac0d4(0x16d)](this[_0x1ac0d4(0x1b3)][_0x1ac0d4(0x179)],_0x1ac0d4(0x11a),(_0x4f7347,_0x3097a1)=>{const _0x5e87bf=_0x1ac0d4;this[_0x5e87bf(0x136)](_0x4f7347,_0x3097a1);});}[_0x5b4dbb(0x18d)](_0x5d30ad,_0x329c4e){const _0x5112ea=_0x5b4dbb;return new _0x2ceef0(this[_0x5112ea(0x1b3)][_0x5112ea(0x1b0)](),_0x329c4e,this[_0x5112ea(0x1a8)],_0x5d30ad[_0x5112ea(0x160)],_0x5d30ad[_0x5112ea(0x15e)]);}[_0x5b4dbb(0x153)](_0x266bce,_0x4c779b){const _0x9c90e2=_0x5b4dbb;this[_0x9c90e2(0x138)]&&this[_0x9c90e2(0x138)][_0x9c90e2(0x124)](_0x4c779b[_0x9c90e2(0x197)]);}[_0x5b4dbb(0x136)](_0x108f4c,_0x13b713){const _0x575d45=_0x5b4dbb;this[_0x575d45(0x138)]&&this[_0x575d45(0x138)][_0x575d45(0x191)](_0x13b713[_0x575d45(0x197)]);}[_0x5b4dbb(0x14b)](){const _0x29e5ba=_0x5b4dbb;this[_0x29e5ba(0x16a)][_0x29e5ba(0x121)]();}[_0x5b4dbb(0x1a1)](){const _0x454a9d=_0x5b4dbb;this[_0x454a9d(0x1a8)]=this[_0x454a9d(0x13a)][_0x454a9d(0x176)][_0x454a9d(0x140)](_0x454a9d(0x173));}[_0x5b4dbb(0x18b)](_0x36a03e=!0x1){const _0x321432=_0x5b4dbb;this[_0x321432(0x138)]&&(this[_0x321432(0x138)][_0x321432(0x178)]||this[_0x321432(0x138)][_0x321432(0x16f)](),this[_0x321432(0x138)][_0x321432(0x183)](),this[_0x321432(0x138)][_0x321432(0x147)](),this[_0x321432(0x138)]=void 0x0),_0x36a03e&&this[_0x321432(0x16a)][_0x321432(0x13c)](),this[_0x321432(0x1b3)][_0x321432(0x189)](),this[_0x321432(0x1b3)][_0x321432(0x149)](),this[_0x321432(0x169)]=null;const _0x2f9fcd=this[_0x321432(0x1b3)][_0x321432(0x1ab)]();_0x2f9fcd&&_0x2f9fcd[_0x321432(0x190)][_0x321432(0x18a)][_0x321432(0x12a)](_0x20fd37=>{const _0x497ad9=_0x321432,_0x2b2a2e=_0x2f9fcd[_0x497ad9(0x190)][_0x497ad9(0x18a)][_0x497ad9(0x17b)][_0x497ad9(0x164)]();_0x20fd37[_0x497ad9(0x12f)](_0x497ad9(0x148),_0x2b2a2e),_0x20fd37[_0x497ad9(0x12f)](_0x497ad9(0x186),_0x2b2a2e),_0x20fd37[_0x497ad9(0x12f)](_0x497ad9(0x150),_0x2b2a2e);});}[_0x5b4dbb(0x13f)](_0x1aa9fa,_0x3f335b){const _0x4a7a66=_0x5b4dbb,_0x509338=this[_0x4a7a66(0x13a)][_0x4a7a66(0x1b4)],_0x3026aa=_0x2b3cfb(_0x509338,_0x1aa9fa);return _0x3026aa===_0x1aa9fa?_0x3f335b:_0x3026aa;}[_0x5b4dbb(0x14e)](_0x2aedab,_0x257fae=!0x1){const _0x466000=_0x5b4dbb;_0x831115(_0x2aedab[_0x466000(0x132)]),_0x257fae||(_0x2aedab[_0x466000(0x132)][_0x466000(0x152)](_0x466000(0x174))?this[_0x466000(0x16a)][_0x466000(0x159)]():this[_0x466000(0x16a)][_0x466000(0x127)]());}[_0x5b4dbb(0x13e)](_0x180f1e){const _0x227a43=_0x5b4dbb;if(_0x227a43(0x187)===this[_0x227a43(0x169)]){const _0x18a33d=this[_0x227a43(0x16a)][_0x227a43(0x146)](_0x180f1e);_0x18a33d&&_0x53d1e3(_0x18a33d[_0x227a43(0x135)](_0x227a43(0x196))||_0x18a33d);}else{if(_0x227a43(0x1a2)===this[_0x227a43(0x169)]){const _0x1f2a57=this[_0x227a43(0x130)](_0x180f1e);if(!_0x1f2a57)return;_0x1fa873({'target':_0x1f2a57,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50d456=_0x184d;function _0x184d(_0x5d6a27,_0x3db146){const _0x21e84f=_0x21e8();return _0x184d=function(_0x184df8,_0x369911){_0x184df8=_0x184df8-0x1c5;let _0x44e6f4=_0x21e84f[_0x184df8];return _0x44e6f4;},_0x184d(_0x5d6a27,_0x3db146);}function _0x21e8(){const _0x2f9373=['ck-ai_review-marker_context-','closest','ck-ai_review-marker_underline','requires','asString','\x20ck-ai_review__change_active','registerPostFixer','_getOperationStart','hasAttribute','relatedTarget','delete','parse','htmlProcessor','batch','mouseup','_findAdjacentContextDistance','getChangedMarkers','DocumentCompare','every','history','flat','markerName','getChanges','parent','_domEmitter','childCount','getRange','viewToDom','_haveSingleTopLevelElement','_handleMarkerChanges','_getPositionLimitingRange','body','_getChangeContext','toView','setMarkersInElementAsActive','nodes','document','isAtStart','_changePosition','ck-ai_review-marker_hide','data','getEditableElement','AIReviewCoreEditing','suggestion:insertion:id:authorId:','afterInit','containsRange','parentElement','backward','_getMarkersDataForGroup','No\x20element\x20found\x20for\x20ID:\x20','push','isOpening','getAttribute','$documentFragment','insert','containerElement','$graveyard','fire','pluginName','createRangeIn','_getOperationEnd','suggestion-context','remove','data-marker-id','downcast','_sortMarkers','position','end','operationsA','ck-ai_review-marker_strikethrough','4032060aEdjVr','listenTo','oldRange','[data-id=\x22','$markedRemove','_removeAttribute','howMany','append','getDocumentData','startsWith','_upsertDataId','plugins','rejectChange','createSelection','_setAttribute','markerToElement','_createGetContentFn','_haveOnlyInlineContent','applyChange','_changePositionOwnerDocument','ellipsisAfter','forward','set','editingDowncast','exec','171eispZM','196455lrILvM','getDiff','highest','switchToEdit','_activeMarkers','warn','element','attributeToAttribute','querySelector','_appendChild','changeMarkerBlurred','processor','_parseMarkerName','add','getOperations','remove-context','changeMarkerClicked','review-','4sIjzGH','_groupAdjacentOperations','index','toDomElement','getDomRoot','sort','get','outside','version','groupId','disableReadOnlyMode','content','$textProxy','_findMarkerElementById','newRange','toData','10nfNODK','15864IKVtUf','operations','createRange','reconvertMarker','root','stringify','span','createPositionAt','baseVersion','getContentElementForChange','addMarker','offsetSize','isLimit','switchToReadOnly','_nextDataId','change','operationsIsolated','2399395iXdJda','removeMarker','outerHTML','path','1206980bfgnKv','hasContentBefore','keys','isIntersecting','view','ai-review','schema','applyOperation','createUIElement','marker','_markers','has','isInline','type','reactivateMarkers','ellipsisBefore','$markedRemove:synthetic','split','mouseover','map','ck-ai_review-marker_add','changeMarkerHovered','for','enableReadOnlyMode','markerToHighlight','join','getRoot','getMarkerElementForChange','$root','getEditor','_changeRangeOwnerDocument','_changeRange','_changeOperationOwnerDocument','isOfficialPlugin','_shiftOperation','getChild','getChildren','isPremiumPlugin','ck-ai_review__change_active','createRangeOn','remove-only','_validateMarkers','name','length','_translateOperationToEditorContent','differ','hasContentAfter','emitter','target','from','dataDowncast','remove-text','getPath','_findMarkerElement','editing','insertContent','clear','start','_removeChildren','[data-marker-id=\x22','_hasSameTopLevelElement','isAtEnd','changeMarkerRestored','clone','getHtml','concat','246VtOjKi','getStart','getRoots','ck-ai_review-marker_','values','conversion','pop','ck-ai_review-marker_context-start','markers','_createGetContextFn','isTouching','AIEditing','_clone','model','addOperation','filter','1282752TpWJfJ','ck-ai_review-marker_context-end','offset','innerHTML','deleteContent','createRawElement','inside','markChangePositionInEditorContent','isDocumentOperation','changeMarkerRemoved','affectsData','_insertMarkers','_createGetContentUsingDataIdFn','jumpTo','size','createPositionAfter','_eventEmitter','asFragment','className','documentFragment','isBlock','7833518MgJUKJ','diffContent','includes','htmlWriter','createDocumentFragment','elements','context','suggestion:deletion:id:authorId:','domConverter','.ck-reset.ck-ai_review-balloon-panel-suggestion','setAllMarkersAsInactive','clearAllMarkers','rootName','hasClass','forEach','getShiftedBy'];_0x21e8=function(){return _0x2f9373;};return _0x21e8();}(function(_0x28397a,_0x4297d1){const _0x36b271=_0x184d,_0x149ef3=_0x28397a();while(!![]){try{const _0x511dfa=-parseInt(_0x36b271(0x22b))/0x1+-parseInt(_0x36b271(0x1d9))/0x2+parseInt(_0x36b271(0x296))/0x3+-parseInt(_0x36b271(0x2c2))/0x4*(parseInt(_0x36b271(0x1d5))/0x5)+-parseInt(_0x36b271(0x21b))/0x6*(-parseInt(_0x36b271(0x2b0))/0x7)+-parseInt(_0x36b271(0x2d3))/0x8*(parseInt(_0x36b271(0x2af))/0x9)+parseInt(_0x36b271(0x2d2))/0xa*(parseInt(_0x36b271(0x240))/0xb);if(_0x511dfa===_0x4297d1)break;else _0x149ef3['push'](_0x149ef3['shift']());}catch(_0x3a18ba){_0x149ef3['push'](_0x149ef3['shift']());}}}(_0x21e8,0xc40d1));import{InsertOperation as _0x4ba030,MarkerOperation as _0x104980,ModelDocumentFragment as _0x40836f,ModelPosition as _0xc5864f,ModelRange as _0x44ff33,ModelTreeWalker as _0x4ad6a7,transformOperationSets as _0x4d3fc7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x563e9c,EmitterMixin as _0x29b942,uid as _0x5c9ea2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x427876}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2f3ac1,DATA_ID_MODEL_ATTRIBUTE as _0x3421b6,DATA_ID_VIEW_ATTRIBUTE as _0x982da9,getMarkerDomElement as _0x29dfa5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xad64f5}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x19dc1a}from'../aicore/aiediting.js';import{debounce as _0x2c0ab9}from'es-toolkit/compat';const fe=_0x50d456(0x2c1);export class AIReviewCoreEditing extends _0x427876{static get[_0x50d456(0x253)](){return[_0x2f3ac1,_0x19dc1a];}static get[_0x50d456(0x28a)](){const _0x139004=_0x50d456;return _0x139004(0x27a);}static get[_0x50d456(0x1fa)](){return!0x0;}static get[_0x50d456(0x1fe)](){return!0x0;}[_0x50d456(0x1e3)]=new Map();[_0x50d456(0x2b4)]=new Set();[_0x50d456(0x268)];[_0x50d456(0x23b)];constructor(_0x5bf9fc){const _0x5f320a=_0x50d456;super(_0x5bf9fc),this[_0x5f320a(0x268)]=new(_0x563e9c())(),this[_0x5f320a(0x23b)]=new(_0x29b942())();}get[_0x50d456(0x208)](){const _0x491d5c=_0x50d456;return this[_0x491d5c(0x23b)];}[_0x50d456(0x27c)](){const _0x47d8b8=_0x50d456,_0x264ba5=_0xad64f5(this[_0x47d8b8(0x246)]);_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x2a5)]({'model':fe+_0x47d8b8(0x286),'view':(_0x1a0113,{writer:_0x344057})=>{const _0x404da8=_0x47d8b8,_0x537a57=this[_0x404da8(0x1e3)][_0x404da8(0x2c8)](_0x1a0113[_0x404da8(0x265)]),_0xc89d26={'class':_0x404da8(0x1ed)+(this[_0x404da8(0x2b4)][_0x404da8(0x1e4)](_0x537a57?.['id']||'')?_0x404da8(0x255):''),'data-marker-id':_0x1a0113[_0x404da8(0x265)]};return _0x344057[_0x404da8(0x1e1)](_0x404da8(0x1ca),_0xc89d26,function(_0x1958e0){const _0x538be7=_0x404da8,_0x1f2a47=this[_0x538be7(0x2c5)](_0x1958e0);return _0x1f2a47[_0x538be7(0x22e)]=_0x537a57?.[_0x538be7(0x2cd)]?.[_0x538be7(0x254)]||'',_0x1f2a47;});}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x201),'view':_0x4f7e43=>{const _0x1478e9=_0x47d8b8,_0x20ca33=this[_0x1478e9(0x1e3)][_0x1478e9(0x2c8)](_0x4f7e43[_0x1478e9(0x265)]),_0x4d26d2=[_0x1478e9(0x295)];return this[_0x1478e9(0x2b4)][_0x1478e9(0x1e4)](_0x20ca33?.['id']||'')&&_0x4d26d2[_0x1478e9(0x282)](_0x1478e9(0x1ff)),{'classes':_0x4d26d2,'attributes':{'data-marker-id':_0x4f7e43[_0x1478e9(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x2bf),'view':_0x9a3aab=>{const _0x4a52fd=_0x47d8b8,_0x5b8caa=this[_0x4a52fd(0x1e3)][_0x4a52fd(0x2c8)](_0x9a3aab[_0x4a52fd(0x265)]),_0x453a1d=[_0x4a52fd(0x252)];return this[_0x4a52fd(0x2b4)][_0x4a52fd(0x1e4)](_0x5b8caa?.['id']||'')&&_0x453a1d[_0x4a52fd(0x282)](_0x4a52fd(0x1ff)),{'classes':_0x453a1d,'attributes':{'data-marker-id':_0x9a3aab[_0x4a52fd(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x20c),'view':_0x4e5b5e=>{const _0x135510=_0x47d8b8,_0x18b3c8=this[_0x135510(0x1e3)][_0x135510(0x2c8)](_0x4e5b5e[_0x135510(0x265)]),_0xfbfeca=[_0x135510(0x277)];return this[_0x135510(0x2b4)][_0x135510(0x1e4)](_0x18b3c8?.['id']||'')&&_0xfbfeca[_0x135510(0x282)](_0x135510(0x1ff)),{'classes':_0xfbfeca,'attributes':{'data-marker-id':_0x4e5b5e[_0x135510(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x20b))[_0x47d8b8(0x2a5)]({'model':fe+_0x47d8b8(0x28d),'view':(_0x41ad0b,{writer:_0x3e07a3})=>_0x3e07a3[_0x47d8b8(0x230)](_0x47d8b8(0x1ca),{'class':_0x47d8b8(0x250)+(_0x41ad0b[_0x47d8b8(0x283)]?_0x47d8b8(0x212):_0x47d8b8(0x293))})}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x290))[_0x47d8b8(0x2b7)]({'model':_0x3421b6,'view':_0x982da9});const _0x44e62c=_0x264ba5['ui'][_0x47d8b8(0x279)]()||document[_0x47d8b8(0x26f)];this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](_0x44e62c,_0x47d8b8(0x25e),(_0x5174b1,_0xd4d380)=>{const _0x210ea8=_0x47d8b8,_0x410119=_0xd4d380[_0x210ea8(0x209)],_0x332982=this[_0x210ea8(0x20e)](_0x410119);if(!_0x332982)return;const _0x56e934=_0x332982[_0x210ea8(0x284)](_0x210ea8(0x28f)),_0x3e6018=_0x56e934[_0x210ea8(0x1ea)](':')[_0x210ea8(0x221)]()?.[_0x210ea8(0x1ea)]('_')[0x0];this[_0x210ea8(0x23b)][_0x210ea8(0x289)](_0x210ea8(0x2c0),{'markerId':_0x56e934,'changeId':_0x3e6018,'markerElement':()=>this[_0x210ea8(0x2cf)](_0x56e934),'domEvent':_0xd4d380});},{'usePassive':!0x0,'priority':_0x47d8b8(0x2b2)}),this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](_0x44e62c,_0x47d8b8(0x1eb),(_0x295cf4,_0x2a062a)=>{const _0x59c741=_0x47d8b8,_0x388a80=_0x2a062a[_0x59c741(0x209)],_0x49844d=_0x2a062a[_0x59c741(0x259)];let _0x1774fb=this[_0x59c741(0x20e)](_0x388a80);if(!_0x1774fb&&_0x49844d&&(_0x1774fb=this[_0x59c741(0x20e)](_0x49844d)),!_0x1774fb)return;const _0x560b42=_0x1774fb[_0x59c741(0x284)](_0x59c741(0x28f)),_0x24a115=_0x560b42[_0x59c741(0x1ea)](':')[_0x59c741(0x221)]()?.[_0x59c741(0x1ea)]('_')[0x0];this[_0x59c741(0x23b)][_0x59c741(0x289)](_0x59c741(0x1ee),{'changeId':_0x24a115,'markerElement':()=>this[_0x59c741(0x2cf)](_0x560b42),'domEvent':_0x2a062a});}),this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](document,_0x47d8b8(0x1eb),_0x2c0ab9((_0x16c6d3,_0x3cacf9)=>{const _0x1df4aa=_0x47d8b8,_0x1084f0=_0x3cacf9[_0x1df4aa(0x209)];if(this[_0x1df4aa(0x20e)](_0x1084f0))return;_0x1084f0[_0x1df4aa(0x251)](_0x1df4aa(0x249))||this[_0x1df4aa(0x23b)][_0x1df4aa(0x289)](_0x1df4aa(0x2ba));},0xc8)),_0x264ba5[_0x47d8b8(0x228)][_0x47d8b8(0x274)][_0x47d8b8(0x256)](_0x1a400e=>this[_0x47d8b8(0x202)](_0x264ba5,_0x1a400e)),_0x264ba5[_0x47d8b8(0x228)][_0x47d8b8(0x274)]['on'](_0x47d8b8(0x1d3),()=>this[_0x47d8b8(0x26d)](_0x264ba5));}[_0x50d456(0x29e)](){const _0x520c96=_0x50d456,_0x2607bd=this[_0x520c96(0x246)][_0x520c96(0x2a1)][_0x520c96(0x2c8)](_0x520c96(0x226)),_0x390465=_0xad64f5(this[_0x520c96(0x246)]),_0x545375=_0x390465[_0x520c96(0x228)],_0x2b0232=new _0x40836f();for(const _0x4354e9 of _0x545375[_0x520c96(0x274)][_0x520c96(0x1f3)]()[_0x520c96(0x1fd)]()){const _0x135d0e=_0x4354e9[_0x520c96(0x227)](!0x0);_0x2b0232[_0x520c96(0x2b9)](_0x135d0e);}for(const _0x2f27d4 of _0x545375[_0x520c96(0x223)])_0x2b0232[_0x520c96(0x223)][_0x520c96(0x2ac)](_0x2f27d4[_0x520c96(0x203)],this[_0x520c96(0x1f7)](_0x2f27d4[_0x520c96(0x26a)]()[_0x520c96(0x218)](),_0x2b0232));const _0x57f245=new _0x4ad6a7({'ignoreElementEnd':!0x0,'startPosition':_0x545375[_0x520c96(0x1cb)](_0x2b0232,0x0)}),_0x4d8b3a=new Set(),_0x7d146d=new Map();for(const {item:_0x261674}of _0x57f245){if(!_0x261674['is'](_0x520c96(0x2ce)))continue;const _0x242e4a=_0x261674[_0x520c96(0x267)];if(_0x242e4a&&_0x242e4a['is'](_0x520c96(0x2b6))){const _0xb0fb25=this[_0x520c96(0x2a0)](_0x242e4a,()=>_0x2607bd[_0x520c96(0x1d2)](_0x4d8b3a));_0x4d8b3a[_0x520c96(0x2bd)](_0xb0fb25);for(const _0x4ac6e1 of _0x242e4a[_0x520c96(0x1fd)]())_0x4ac6e1['is'](_0x520c96(0x2b6))&&_0x4d8b3a[_0x520c96(0x2bd)](this[_0x520c96(0x2a0)](_0x4ac6e1,()=>_0x2607bd[_0x520c96(0x1d2)](_0x4d8b3a)));let _0x557770=_0x242e4a;for(;_0x557770[_0x520c96(0x267)]&&!_0x557770[_0x520c96(0x267)]['is'](_0x520c96(0x23e));)_0x557770=_0x557770[_0x520c96(0x267)],_0x557770[_0x520c96(0x258)](_0x3421b6)&&_0x557770[_0x520c96(0x29b)](_0x3421b6);_0x7d146d[_0x520c96(0x2ac)](_0xb0fb25,{'path':_0x242e4a[_0x520c96(0x20d)](),'getContent':this[_0x520c96(0x237)](_0x557770[_0x520c96(0x227)](!0x0),_0xb0fb25,_0x390465[_0x520c96(0x278)])}),_0x57f245[_0x520c96(0x238)](_0x545375[_0x520c96(0x23a)](_0x242e4a));}}return{'content':_0x390465[_0x520c96(0x278)][_0x520c96(0x2bb)][_0x520c96(0x2d1)](_0x390465[_0x520c96(0x278)][_0x520c96(0x271)](_0x2b0232)),'version':_0x390465[_0x520c96(0x228)][_0x520c96(0x274)][_0x520c96(0x2ca)],'elements':_0x7d146d};}[_0x50d456(0x241)](_0xe8fa8,_0x12e75d,_0x490f40=!0x1){const _0x6db840=_0x50d456,_0x2a8b1d=[],_0x41754d=_0xad64f5(this[_0x6db840(0x246)]),_0x4da977=_0x41754d[_0x6db840(0x278)][_0x6db840(0x25b)](_0x12e75d,_0x6db840(0x285)),_0x44537c=_0x41754d[_0x6db840(0x278)][_0x6db840(0x25b)](_0xe8fa8,_0x6db840(0x285)),_0x4c83d1=_0x41754d[_0x6db840(0x228)][_0x6db840(0x1cb)](_0x44537c,0x0);if(this[_0x6db840(0x26c)](_0x4da977)){if(!this[_0x6db840(0x215)](_0x44537c,_0x4da977))return _0x2a8b1d;}else{const _0x444fb8=_0x41754d[_0x6db840(0x228)][_0x6db840(0x1df)];if(!this[_0x6db840(0x2a7)](_0x44537c,_0x444fb8)||!this[_0x6db840(0x2a7)](_0x4da977,_0x444fb8))return _0x2a8b1d;}const _0x272931=this[_0x6db840(0x246)][_0x6db840(0x2a1)][_0x6db840(0x2c8)](_0x6db840(0x261))[_0x6db840(0x2b1)](_0xe8fa8,_0x12e75d,{'anchor':_0x4c83d1,'markDeletions':!0x0})[_0x6db840(0x2be)]()[_0x6db840(0x22a)](_0x16471b=>_0x6db840(0x286)===_0x16471b[_0x6db840(0x1e6)]||_0x6db840(0x1e2)===_0x16471b[_0x6db840(0x1e6)]&&_0x16471b[_0x6db840(0x203)][_0x6db840(0x29f)](_0x6db840(0x29a))),_0x37d369=this[_0x6db840(0x2c3)](_0x272931),_0x24d3fa=[];if(_0x490f40){if(_0x37d369[_0x6db840(0x204)]){const _0x25eee5=_0x37d369[0x0][_0x6db840(0x1c5)][0x0],_0x19cdc2=_0x6db840(0x286)===_0x25eee5[_0x6db840(0x1e6)]?_0x25eee5[_0x6db840(0x292)]:_0x25eee5[_0x6db840(0x2d0)][_0x6db840(0x212)],_0x1e44eb=this[_0x6db840(0x26e)](_0x19cdc2,_0x41754d,_0x6db840(0x231)),_0x59a5d1=_0x1e44eb?_0x4da977[_0x6db840(0x1fc)](0x0)[_0x6db840(0x1fd)]():_0x4da977[_0x6db840(0x1fd)](),_0x1a6da2=_0x1e44eb||_0x41754d[_0x6db840(0x228)][_0x6db840(0x28b)](_0x44537c),_0xfceb22=[new _0x104980(_0x6db840(0x1e9)+_0x5c9ea2(),null,_0x1a6da2,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x228)][_0x6db840(0x223)],!0x0,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x2ca)]+0x1),new _0x4ba030(_0x1a6da2[_0x6db840(0x293)],_0x59a5d1,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x2ca)]+0x2)];_0x24d3fa[_0x6db840(0x282)]({'operations':_0xfceb22,'operationsIsolated':_0xfceb22,'groupOffset':0x0});}}else _0x24d3fa[_0x6db840(0x282)](..._0x37d369);let _0x2aa9ad=0x0;return _0x41754d[_0x6db840(0x228)][_0x6db840(0x1d3)](_0x5a8fd9=>{const _0x483f0e=_0x6db840;for(let _0x419964=0x0;_0x419964<_0x24d3fa[_0x483f0e(0x204)];_0x419964++){const _0x404100=_0x24d3fa[_0x419964],_0x44179c=_0x5a8fd9[_0x483f0e(0x244)]();for(const _0x256e20 of _0x44537c[_0x483f0e(0x1fd)]())_0x5a8fd9[_0x483f0e(0x29d)](_0x256e20[_0x483f0e(0x227)](!0x0),_0x44179c);for(const _0x272e75 of _0x404100[_0x483f0e(0x1d4)])if(_0x483f0e(0x286)===_0x272e75[_0x483f0e(0x1e6)]){const _0xa9549f=_0x272e75;_0xa9549f[_0x483f0e(0x1cc)]=null,_0xa9549f[_0x483f0e(0x233)]=!0x1,this[_0x483f0e(0x1f9)](_0xa9549f,_0x44179c),_0x5a8fd9[_0x483f0e(0x25d)][_0x483f0e(0x229)](_0x272e75),_0x41754d[_0x483f0e(0x228)][_0x483f0e(0x1e0)](_0x272e75);const _0x1ae6ab=_0x483f0e(0x27b)+_0x2aa9ad++,_0x133c29=_0x41754d[_0x483f0e(0x228)][_0x483f0e(0x1c6)](_0xa9549f[_0x483f0e(0x292)],_0xa9549f[_0x483f0e(0x292)][_0x483f0e(0x24f)](_0xa9549f[_0x483f0e(0x29c)]));_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](_0x1ae6ab,_0x133c29);}else{if(_0x483f0e(0x1e2)===_0x272e75[_0x483f0e(0x1e6)]&&_0x272e75[_0x483f0e(0x203)][_0x483f0e(0x29f)](_0x483f0e(0x29a))){const _0x341a78=_0x272e75,_0x4e24e9=_0x483f0e(0x247)+_0x2aa9ad++;this[_0x483f0e(0x1f9)](_0x341a78,_0x44179c),_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](_0x4e24e9,_0x341a78[_0x483f0e(0x2d0)]);}}if(_0x490f40)_0x2a8b1d[_0x483f0e(0x282)]({..._0x404100,'context':this[_0x483f0e(0x2a6)](_0x44537c,_0x41754d[_0x483f0e(0x278)]),'content':this[_0x483f0e(0x2a6)](_0x44537c,_0x41754d[_0x483f0e(0x278)])});else{const _0xf4ebc3=this[_0x483f0e(0x270)](this[_0x483f0e(0x2a9)](this[_0x483f0e(0x257)](_0x404100[_0x483f0e(0x1d4)][0x0]),_0x44179c),this[_0x483f0e(0x2a9)](this[_0x483f0e(0x28c)](_0x404100[_0x483f0e(0x1d4)][_0x404100[_0x483f0e(0x1d4)][_0x483f0e(0x204)]-0x1]),_0x44179c));_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](fe+_0x483f0e(0x28d),new _0x44ff33(_0xf4ebc3[_0x483f0e(0x212)],_0xf4ebc3[_0x483f0e(0x293)])),_0x2a8b1d[_0x483f0e(0x282)]({..._0x404100,'context':this[_0x483f0e(0x224)](_0x44179c,_0x41754d[_0x483f0e(0x278)],{'ellipsisBefore':_0xf4ebc3[_0x483f0e(0x1da)],'ellipsisAfter':_0xf4ebc3[_0x483f0e(0x207)]}),'content':this[_0x483f0e(0x2a6)](_0x44179c,_0x41754d[_0x483f0e(0x278)])});}}}),_0x2a8b1d;}[_0x50d456(0x232)](_0x16928a,_0x42aada){const _0x1ada4b=_0x50d456;if(!_0x16928a[_0x1ada4b(0x204)])return;const _0x5a6b4d=_0x16928a[0x0][_0x1ada4b(0x267)]['id'],_0xbe18ff=_0x42aada[_0x1ada4b(0x245)][_0x1ada4b(0x2c8)](_0x5a6b4d);if(!_0xbe18ff)return void console[_0x1ada4b(0x2b5)](_0x1ada4b(0x281)+_0x5a6b4d);const _0x150861=_0xbe18ff[_0x1ada4b(0x1d8)],_0x5cfba6=_0xad64f5(this[_0x1ada4b(0x246)]),_0x3f9ce4=_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)][_0x1ada4b(0x263)][_0x1ada4b(0x2be)](_0x42aada[_0x1ada4b(0x2ca)]),_0x39822a=[];for(const _0xc493cc of _0x16928a){const _0x5b2750=_0xc493cc[_0x1ada4b(0x1d4)][_0x1ada4b(0x1ec)](_0x56a34a=>this[_0x1ada4b(0x205)](_0x56a34a,_0x150861,_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)][_0x1ada4b(0x21d)]()[0x0]));if(!_0x5b2750||!_0x5b2750[_0x1ada4b(0x204)])continue;const _0x38f743=_0x5b2750[_0x1ada4b(0x262)](_0x25c596=>_0x1ada4b(0x1e2)===_0x25c596[_0x1ada4b(0x1e6)]&&_0x25c596[_0x1ada4b(0x203)][_0x1ada4b(0x29f)](_0x1ada4b(0x29a))),_0x295dfa={'document':_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x587528=_0x4d3fc7(_0x5b2750,_0x3f9ce4,_0x295dfa)[_0x1ada4b(0x294)];for(const _0x4a949 of _0x587528)if(_0x1ada4b(0x286)===_0x4a949[_0x1ada4b(0x1e6)]){const _0x97116e=_0x4a949,_0x3daf36=_0x97116e[_0x1ada4b(0x273)];_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1d3)](_0x1caa19=>{const _0x203f08=_0x1ada4b,_0x4836fc=_0x1caa19[_0x203f08(0x244)]();for(const _0x5bb396 of _0x3daf36)_0x1caa19[_0x203f08(0x29d)](_0x5bb396[_0x203f08(0x227)](!0x0),_0x4836fc);_0x39822a[_0x203f08(0x282)]({'start':_0x97116e[_0x203f08(0x292)],'end':_0x97116e[_0x203f08(0x292)],'type':_0x203f08(0x286),'groupId':_0xc493cc['id'],'content':{'asString':this[_0x203f08(0x2a6)](_0x4836fc,_0x5cfba6[_0x203f08(0x278)])(),'asFragment':_0x4836fc}});});}else{if(_0x1ada4b(0x1e2)===_0x4a949[_0x1ada4b(0x1e6)]&&_0x4a949[_0x1ada4b(0x203)][_0x1ada4b(0x29f)](_0x1ada4b(0x29a))){const _0x5b68bc=_0x4a949;let _0x1b5b99=_0x1ada4b(0x20c);if(_0x38f743){const _0x5cb8b3=this[_0x1ada4b(0x25f)](_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)],_0x1ada4b(0x27f),_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1df)]),_0x5d3737=this[_0x1ada4b(0x25f)](_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)],_0x1ada4b(0x2ab),_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1df)]);if(_0x5cb8b3||_0x5d3737){const _0x5921b4=_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)][_0x1ada4b(0x24f)](-_0x5cb8b3),_0x3f4a90=_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)][_0x1ada4b(0x24f)](_0x5d3737);_0x39822a[_0x1ada4b(0x282)]({'start':_0x5921b4,'end':_0x3f4a90,'groupId':_0xc493cc['id'],'type':_0x1ada4b(0x2bf)});}else _0x1b5b99=_0x1ada4b(0x201);}_0x39822a[_0x1ada4b(0x282)]({'start':_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)],'end':_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)],'groupId':_0xc493cc['id'],'type':_0x1b5b99});}}}this[_0x1ada4b(0x236)](_0x39822a);}[_0x50d456(0x24b)](){const _0x3d2442=_0x50d456,_0x55df2d=_0xad64f5(this[_0x3d2442(0x246)]);_0x55df2d[_0x3d2442(0x228)][_0x3d2442(0x1d3)](_0x1c078e=>{const _0x44aca3=_0x3d2442;for(const _0x3ff1f4 of this[_0x44aca3(0x1e3)][_0x44aca3(0x1db)]())_0x55df2d[_0x44aca3(0x228)][_0x44aca3(0x223)][_0x44aca3(0x2c8)](_0x3ff1f4)&&_0x1c078e[_0x44aca3(0x1d6)](_0x3ff1f4);}),this[_0x3d2442(0x1e3)][_0x3d2442(0x211)](),this[_0x3d2442(0x2b4)][_0x3d2442(0x211)]();}[_0x50d456(0x1d1)](){const _0x5c6b70=_0x50d456;_0xad64f5(this[_0x5c6b70(0x246)])[_0x5c6b70(0x1f0)](_0x5c6b70(0x1de));}[_0x50d456(0x2b3)](){const _0x182fd4=_0x50d456;_0xad64f5(this[_0x182fd4(0x246)])[_0x182fd4(0x2cc)](_0x182fd4(0x1de));}[_0x50d456(0x2a8)](_0x22f91e){const _0x1bd907=_0x50d456,_0x2418ea=_0xad64f5(this[_0x1bd907(0x246)]),_0x501fea=_0x2418ea[_0x1bd907(0x228)],_0x3bbdd7=_0x22f91e[_0x1bd907(0x1ec)](_0x5ab1ac=>this[_0x1bd907(0x280)](_0x5ab1ac))[_0x1bd907(0x264)]();_0x501fea[_0x1bd907(0x1d3)](_0x2b2540=>{const _0xe5c2e4=_0x1bd907;for(const _0x2e4e51 of _0x3bbdd7){const _0x246380=_0x2418ea[_0xe5c2e4(0x228)][_0xe5c2e4(0x223)][_0xe5c2e4(0x2c8)](_0x2e4e51['id']);if(_0x246380){if(_0xe5c2e4(0x286)===_0x2e4e51[_0xe5c2e4(0x1e6)]){if(!_0x2e4e51[_0xe5c2e4(0x2cd)])continue;_0x501fea[_0xe5c2e4(0x210)](_0x2e4e51[_0xe5c2e4(0x2cd)][_0xe5c2e4(0x23c)]||null,_0x246380[_0xe5c2e4(0x26a)]()[_0xe5c2e4(0x212)]);}else _0xe5c2e4(0x20c)!==_0x2e4e51[_0xe5c2e4(0x1e6)]&&_0xe5c2e4(0x201)!==_0x2e4e51[_0xe5c2e4(0x1e6)]||_0x501fea[_0xe5c2e4(0x22f)](_0x501fea[_0xe5c2e4(0x2a3)](_0x246380[_0xe5c2e4(0x26a)]()));_0x2b2540[_0xe5c2e4(0x1d6)](_0x2e4e51['id']),this[_0xe5c2e4(0x1e3)][_0xe5c2e4(0x25a)](_0x2e4e51['id']);}}});}[_0x50d456(0x2a2)](_0x4d078c){const _0x2cf28d=_0x50d456,_0x10a360=_0xad64f5(this[_0x2cf28d(0x246)]),_0x255c4b=this[_0x2cf28d(0x280)](_0x4d078c);_0x10a360[_0x2cf28d(0x228)][_0x2cf28d(0x1d3)](_0x41a018=>{const _0x5673f3=_0x2cf28d;for(const _0x1b3867 of _0x255c4b)_0x41a018[_0x5673f3(0x1d6)](_0x1b3867['id']),this[_0x5673f3(0x1e3)][_0x5673f3(0x25a)](_0x1b3867['id']);});}[_0x50d456(0x1f6)](){const _0x5a8f6e=_0x50d456;return _0xad64f5(this[_0x5a8f6e(0x246)]);}[_0x50d456(0x1f4)](_0x9d5c7c){const _0x11d181=_0x50d456,_0x93f45f=Array[_0x11d181(0x20a)](this[_0x11d181(0x1e3)][_0x11d181(0x21f)]())[_0x11d181(0x22a)](_0x356c7e=>_0x356c7e[_0x11d181(0x2cb)]===_0x9d5c7c);if(!_0x93f45f[_0x11d181(0x204)])return null;const _0x55840f=0x1===_0x93f45f[_0x11d181(0x204)]?_0x93f45f[0x0]:this[_0x11d181(0x291)](_0x93f45f)[0x0],_0x2f41a9=_0xad64f5(this[_0x11d181(0x246)])[_0x11d181(0x228)][_0x11d181(0x223)][_0x11d181(0x2c8)](_0x55840f['id']);if(!_0x2f41a9)return null;return{'modelRange':_0x2f41a9[_0x11d181(0x26a)](),'getElement':()=>this[_0x11d181(0x2cf)](_0x55840f['id'])};}[_0x50d456(0x1cd)](_0xc525ae){const _0x4e5f14=_0x50d456,_0x14ddd2=Array[_0x4e5f14(0x20a)](this[_0x4e5f14(0x1e3)][_0x4e5f14(0x21f)]())[_0x4e5f14(0x22a)](_0x38ac46=>_0x38ac46[_0x4e5f14(0x2cb)]===_0xc525ae);if(!_0x14ddd2[_0x4e5f14(0x204)])return null;const _0x152bdf=0x1===_0x14ddd2[_0x4e5f14(0x204)]?_0x14ddd2[0x0]:this[_0x4e5f14(0x291)](_0x14ddd2)[0x0],_0x47343b=_0xad64f5(this[_0x4e5f14(0x246)]),_0x2f45a6=_0x47343b[_0x4e5f14(0x228)][_0x4e5f14(0x223)][_0x4e5f14(0x2c8)](_0x152bdf['id']);if(!_0x2f45a6)return null;const _0x1e5909=_0x2f45a6[_0x4e5f14(0x26a)](),_0x22a2ce=_0x47343b[_0x4e5f14(0x20f)][_0x4e5f14(0x1dd)][_0x4e5f14(0x2c6)]();if(!_0x22a2ce||!_0x1e5909)return null;let _0x4c7385=_0x1e5909[_0x4e5f14(0x212)][_0x4e5f14(0x267)];for(;_0x4c7385[_0x4e5f14(0x267)]&&_0x4e5f14(0x1f5)!==_0x4c7385[_0x4e5f14(0x267)][_0x4e5f14(0x203)];)_0x4c7385=_0x4c7385[_0x4e5f14(0x267)];if(!_0x4c7385||!_0x4c7385[_0x4e5f14(0x203)])return null;const _0x26317e=_0x22a2ce[_0x4e5f14(0x2b8)](_0x4e5f14(0x214)+_0x152bdf['id']+'\x22]');if(!_0x26317e)return null;let _0x57fab3=null;_0x47343b[_0x4e5f14(0x228)][_0x4e5f14(0x1d3)](_0x4a651e=>{const _0x9e6f59=_0x4e5f14;_0x57fab3=_0x4a651e[_0x9e6f59(0x244)](),_0x4a651e[_0x9e6f59(0x29d)](_0x4c7385[_0x9e6f59(0x227)](!0x0),_0x57fab3);});const _0x566515=_0x47343b[_0x4e5f14(0x278)][_0x4e5f14(0x271)](_0x57fab3)[_0x4e5f14(0x1fc)](0x0);return _0x26317e[_0x4e5f14(0x251)](_0x566515[_0x4e5f14(0x203)]);}[_0x50d456(0x1e7)](_0x5a5d98){const _0x289e04=_0x50d456,_0x3af07e=this[_0x289e04(0x280)](_0x5a5d98);if(!_0x3af07e[_0x289e04(0x204)])return;const _0xcf02fc=Array[_0x289e04(0x20a)](this[_0x289e04(0x2b4)])[_0x289e04(0x2c7)](),_0x52a13e=Array[_0x289e04(0x20a)](new Set(_0x3af07e[_0x289e04(0x1ec)](_0x61dbbd=>_0x61dbbd['id'])))[_0x289e04(0x2c7)]();_0xcf02fc[_0x289e04(0x1f2)]('|')!==_0x52a13e[_0x289e04(0x1f2)]('|')&&(this[_0x289e04(0x24a)](),this[_0x289e04(0x272)](_0x5a5d98));}[_0x50d456(0x272)](_0x3fbe72){const _0x40b799=_0x50d456,_0x39e63c=this[_0x40b799(0x280)](_0x3fbe72);if(!_0x39e63c[_0x40b799(0x204)])return;const _0x5abc5d=_0xad64f5(this[_0x40b799(0x246)]),_0x5e2e22=new Set(_0x39e63c[_0x40b799(0x1ec)](_0x49c6a5=>_0x49c6a5['id'])),_0x1f0ae9=Array[_0x40b799(0x20a)](_0x5e2e22[_0x40b799(0x21f)]())[_0x40b799(0x1ec)](_0x4afbd0=>_0x5abc5d[_0x40b799(0x228)][_0x40b799(0x223)][_0x40b799(0x2c8)](_0x4afbd0))[_0x40b799(0x22a)](_0x3b3c2a=>!!_0x3b3c2a);_0x5e2e22[_0x40b799(0x24e)](_0xce0151=>{const _0x58ba85=_0x40b799;this[_0x58ba85(0x2b4)][_0x58ba85(0x2bd)](_0xce0151);}),_0x5abc5d[_0x40b799(0x228)][_0x40b799(0x1d3)](()=>{const _0x5a68aa=_0x40b799;_0x1f0ae9[_0x5a68aa(0x24e)](_0x6db76=>{const _0x373f5a=_0x5a68aa;_0x5abc5d[_0x373f5a(0x20f)][_0x373f5a(0x1c7)](_0x6db76);});});}[_0x50d456(0x24a)](){const _0x1b9cc5=_0x50d456,_0x1b5922=Array[_0x1b9cc5(0x20a)](this[_0x1b9cc5(0x2b4)]);if(!_0x1b5922[_0x1b9cc5(0x204)])return;this[_0x1b9cc5(0x2b4)][_0x1b9cc5(0x211)]();const _0x175556=_0xad64f5(this[_0x1b9cc5(0x246)]),_0x5eb4a7=_0x1b5922[_0x1b9cc5(0x1ec)](_0x4162d7=>_0x175556[_0x1b9cc5(0x228)][_0x1b9cc5(0x223)][_0x1b9cc5(0x2c8)](_0x4162d7))[_0x1b9cc5(0x22a)](_0x39a189=>!!_0x39a189);_0x175556[_0x1b9cc5(0x228)][_0x1b9cc5(0x1d3)](()=>{const _0x4da17a=_0x1b9cc5;_0x5eb4a7[_0x4da17a(0x24e)](_0x3accb3=>{const _0x5c9995=_0x4da17a;_0x175556[_0x5c9995(0x20f)][_0x5c9995(0x1c7)](_0x3accb3);});});}[_0x50d456(0x26e)](_0x72198c,_0x439022,_0xf9634b=_0x50d456(0x2c9)){const _0x12a12e=_0x50d456;if(!_0x72198c)return null;let _0x12f030=_0x72198c[_0x12a12e(0x267)];for(;_0x12f030&&_0x12f030[_0x12a12e(0x267)]&&_0x12a12e(0x1f5)!==_0x12f030[_0x12a12e(0x267)][_0x12a12e(0x203)]&&!_0x439022[_0x12a12e(0x228)][_0x12a12e(0x1df)][_0x12a12e(0x1d0)](_0x12f030)&&!_0x439022[_0x12a12e(0x228)][_0x12a12e(0x1df)][_0x12a12e(0x23f)](_0x12f030);)_0x12f030=_0x12f030[_0x12a12e(0x267)];if(!_0x12f030||!_0x12f030[_0x12a12e(0x203)]||_0x12a12e(0x1f5)===_0x12f030[_0x12a12e(0x203)])return null;let _0x9f083c=null;return _0x439022[_0x12a12e(0x228)][_0x12a12e(0x1d3)](_0x1beae7=>{const _0x13361d=_0x12a12e;_0x9f083c=_0x13361d(0x231)===_0xf9634b?_0x1beae7[_0x13361d(0x28b)](_0x12f030):_0x1beae7[_0x13361d(0x200)](_0x12f030);}),_0x9f083c;}[_0x50d456(0x202)](_0x433ec0,_0x1b51e6){const _0x4c9b77=_0x50d456,_0x2125d4=Array[_0x4c9b77(0x20a)](this[_0x4c9b77(0x1e3)][_0x4c9b77(0x1db)]()),_0x22c192=new Map();for(const _0x1ac954 of _0x2125d4){const _0x397fba=_0x433ec0[_0x4c9b77(0x228)][_0x4c9b77(0x223)][_0x4c9b77(0x2c8)](_0x1ac954);if(!_0x397fba)continue;const _0x527257=_0x397fba[_0x4c9b77(0x21c)]()[_0x4c9b77(0x1d8)][0x0];_0x22c192[_0x4c9b77(0x1e4)](_0x527257)||_0x22c192[_0x4c9b77(0x2ac)](_0x527257,[]),_0x22c192[_0x4c9b77(0x2c8)](_0x527257)[_0x4c9b77(0x282)](_0x397fba);}const _0x3e7550=new Set();for(const _0xc8a90f of _0x433ec0[_0x4c9b77(0x228)][_0x4c9b77(0x274)][_0x4c9b77(0x206)][_0x4c9b77(0x266)]()){let _0x4de777=-0x1,_0x2cd5a8=null;if(_0x4c9b77(0x286)===_0xc8a90f[_0x4c9b77(0x1e6)])_0x2cd5a8=new _0x44ff33(_0xc8a90f[_0x4c9b77(0x292)],_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x24f)](_0xc8a90f[_0x4c9b77(0x204)])),_0x4de777=_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x1d8)][0x0];else{if(_0x4c9b77(0x28e)!==_0xc8a90f[_0x4c9b77(0x1e6)])continue;_0x2cd5a8=new _0x44ff33(_0xc8a90f[_0x4c9b77(0x292)]),_0x4de777=_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x1d8)][0x0];}const _0x5b3456=_0x22c192[_0x4c9b77(0x2c8)](_0x4de777)||[];if(_0x5b3456[_0x4c9b77(0x204)]){for(const _0xf00b0b of _0x5b3456)if(_0x2cd5a8[_0x4c9b77(0x1c8)][_0x4c9b77(0x24c)]===_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x1c8)][_0x4c9b77(0x24c)]&&(_0x4c9b77(0x286)!==_0xc8a90f[_0x4c9b77(0x1e6)]||!_0x2cd5a8[_0x4c9b77(0x27d)](_0xf00b0b[_0x4c9b77(0x26a)]()))&&(_0x2cd5a8[_0x4c9b77(0x1dc)](_0xf00b0b[_0x4c9b77(0x26a)]())||_0x2cd5a8[_0x4c9b77(0x212)][_0x4c9b77(0x225)](_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x293)])||_0x2cd5a8[_0x4c9b77(0x293)][_0x4c9b77(0x225)](_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x212)]))){const _0x1313b9=this[_0x4c9b77(0x2bc)](_0xf00b0b[_0x4c9b77(0x203)]);Array[_0x4c9b77(0x20a)](this[_0x4c9b77(0x1e3)][_0x4c9b77(0x21f)]())[_0x4c9b77(0x22a)](_0x5bd915=>_0x5bd915[_0x4c9b77(0x2cb)]===_0x1313b9[_0x4c9b77(0x2cb)])[_0x4c9b77(0x24e)](_0x2317e1=>_0x3e7550[_0x4c9b77(0x2bd)](_0x2317e1['id']));}}}if(_0x3e7550[_0x4c9b77(0x239)]){for(const _0x4fd1c2 of _0x3e7550)_0x1b51e6[_0x4c9b77(0x1d6)](_0x4fd1c2);return!0x0;}return!0x1;}[_0x50d456(0x26d)](_0x367baa){const _0x86030a=_0x50d456;for(const {name:_0x298a12,data:_0x328485}of _0x367baa[_0x86030a(0x228)][_0x86030a(0x274)][_0x86030a(0x206)][_0x86030a(0x260)]()){if(!_0x298a12[_0x86030a(0x29f)](fe))continue;const _0xcd83f3=_0x328485[_0x86030a(0x298)],_0x1352c2=_0x328485[_0x86030a(0x2d0)],_0x5acc08=_0xcd83f3&&_0x86030a(0x288)===_0xcd83f3[_0x86030a(0x1c8)][_0x86030a(0x24c)],_0x3cc2cc=_0x1352c2&&_0x86030a(0x288)===_0x1352c2[_0x86030a(0x1c8)][_0x86030a(0x24c)];if(_0x5acc08&&_0x3cc2cc)continue;const _0x181b3d=this[_0x86030a(0x2bc)](_0x298a12);this[_0x86030a(0x1e3)][_0x86030a(0x2c8)](_0x298a12)&&(_0x3cc2cc||!_0x1352c2?this[_0x86030a(0x23b)][_0x86030a(0x289)](_0x86030a(0x234),{'markerId':_0x298a12,'changeId':_0x181b3d[_0x86030a(0x2cb)]}):_0x5acc08&&_0x1352c2&&this[_0x86030a(0x23b)][_0x86030a(0x289)](_0x86030a(0x217),{'markerId':_0x298a12,'changeId':_0x181b3d[_0x86030a(0x2cb)]}));}}[_0x50d456(0x2bc)](_0x2069ca){const _0x19a733=_0x50d456,_0x2bc2a8=_0x2069ca[_0x19a733(0x1ea)](':'),_0x39ad7c=(_0x2bc2a8[0x1]||'')[_0x19a733(0x1ea)]('_');return{'prefix':_0x2bc2a8[0x0],'groupId':_0x39ad7c[0x0],'suffix':_0x39ad7c[0x1]};}[_0x50d456(0x205)](_0x2c0c8d,_0x5cac8a,_0x6617){const _0x477bac=_0x50d456;if(_0x477bac(0x286)===_0x2c0c8d[_0x477bac(0x1e6)]){const _0x58634f=_0x2c0c8d;return new _0x4ba030(this[_0x477bac(0x276)](_0x5cac8a[_0x477bac(0x21a)](_0x58634f[_0x477bac(0x292)][_0x477bac(0x22d)]),_0x6617),_0x58634f[_0x477bac(0x273)],_0x58634f[_0x477bac(0x1cc)]);}if(_0x477bac(0x1e2)===_0x2c0c8d[_0x477bac(0x1e6)]&&_0x2c0c8d[_0x477bac(0x203)][_0x477bac(0x29f)](_0x477bac(0x29a))){const _0x2ceef8=_0x2c0c8d;return new _0x104980(_0x2ceef8[_0x477bac(0x203)],_0x2ceef8[_0x477bac(0x298)],this[_0x477bac(0x1f8)](_0x2ceef8[_0x477bac(0x2d0)],_0x5cac8a[_0x477bac(0x21a)](_0x2ceef8[_0x477bac(0x2d0)][_0x477bac(0x212)][_0x477bac(0x22d)]),_0x5cac8a[_0x477bac(0x21a)](_0x2ceef8[_0x477bac(0x2d0)][_0x477bac(0x293)][_0x477bac(0x22d)]),_0x6617),_0x2ceef8[_0x477bac(0x1e3)],_0x2ceef8[_0x477bac(0x235)],_0x2ceef8[_0x477bac(0x1cc)]);}return _0x2c0c8d;}[_0x50d456(0x2c3)](_0xadf3f8){const _0x4114b8=_0x50d456;if(!_0xadf3f8[_0x4114b8(0x204)])return[];const _0x1d7c24=[];let _0x18c0b7=0x0,_0x3c5371=0x0,_0x3f3090=[];for(let _0x7f2a79=0x0;_0x7f2a79<=_0xadf3f8[_0x4114b8(0x204)];_0x7f2a79++){const _0x2f2ca2=_0xadf3f8[_0x7f2a79],_0x14787f=_0xadf3f8[_0x7f2a79-0x1];!_0x2f2ca2||_0x14787f&&!this[_0x4114b8(0x28c)](_0x14787f)[_0x4114b8(0x225)](this[_0x4114b8(0x257)](_0x2f2ca2))?(_0x1d7c24[_0x4114b8(0x282)]({'operations':_0x3f3090,'operationsIsolated':_0x3f3090[_0x4114b8(0x1ec)](_0x5bfb62=>this[_0x4114b8(0x1fb)](_0x5bfb62[_0x4114b8(0x218)](),-_0x3c5371)),'groupOffset':_0x18c0b7}),_0x3f3090=_0x2f2ca2?[_0x2f2ca2]:[],_0x3c5371+=_0x18c0b7,_0x18c0b7=0x0):_0x3f3090[_0x4114b8(0x282)](_0x2f2ca2),_0x2f2ca2&&_0x4114b8(0x286)===_0x2f2ca2[_0x4114b8(0x1e6)]&&(_0x18c0b7+=_0x2f2ca2[_0x4114b8(0x29c)]);}return _0x1d7c24;}[_0x50d456(0x25f)](_0x2b1a31,_0x294d03,_0x246280,_0x498699=0x1){const _0x14c140=_0x50d456,_0x395b78=new _0x4ad6a7({'startPosition':_0x2b1a31,'direction':_0x294d03});let _0x441d5f=0x0;for(let _0x599fbd=0x0;_0x599fbd<_0x498699;_0x599fbd++){let _0xe6ed17=0x0,_0x150e39=!0x1,_0x1e657e=_0x14c140(0x2ab)===_0x294d03?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x541adf}of _0x395b78)if(_0x541adf['is'](_0x14c140(0x2ce))){const _0x585f4=_0x1e657e[_0x14c140(0x2ae)](_0x541adf[_0x14c140(0x278)]);if(_0x585f4&&_0x585f4[_0x14c140(0x204)]){if(_0xe6ed17+=_0x14c140(0x2ab)===_0x294d03?_0x585f4[_0x14c140(0x2c4)]+_0x585f4[0x0][_0x14c140(0x204)]:_0x541adf[_0x14c140(0x278)][_0x14c140(0x204)]-_0x585f4[_0x14c140(0x2c4)],_0x585f4[0x0][_0x14c140(0x204)]!==_0x541adf[_0x14c140(0x278)][_0x14c140(0x204)])break;_0x150e39=!0x0,_0x1e657e=_0x14c140(0x2ab)===_0x294d03?/^\w+/:/\w+$/;}else{if(_0x150e39)break;_0xe6ed17+=_0x541adf[_0x14c140(0x1cf)];}}else{if(_0x541adf['is'](_0x14c140(0x2b6))){_0x246280[_0x14c140(0x1e5)](_0x541adf)&&!_0x150e39&&(_0xe6ed17+=0x1);break;}}_0x441d5f+=_0xe6ed17,_0x395b78[_0x14c140(0x238)](_0x2b1a31[_0x14c140(0x24f)](_0x14c140(0x2ab)===_0x294d03?_0x441d5f:-_0x441d5f));}return _0x441d5f;}[_0x50d456(0x270)](_0x12e557,_0x4c09fb){const _0x3c59a2=_0x50d456,_0x168104=_0xad64f5(this[_0x3c59a2(0x246)])[_0x3c59a2(0x228)][_0x3c59a2(0x1df)],_0x4a552c=this[_0x3c59a2(0x25f)](_0x12e557,_0x3c59a2(0x27f),_0x168104,0x6),_0x594acc=this[_0x3c59a2(0x25f)](_0x4c09fb,_0x3c59a2(0x2ab),_0x168104,0x6),_0xb3ceea=_0x12e557[_0x3c59a2(0x24f)](-_0x4a552c),_0x5e7acd=_0x4c09fb[_0x3c59a2(0x24f)](_0x594acc);return{'start':_0xb3ceea,'end':_0x5e7acd,'hasContentBefore':!_0xb3ceea[_0x3c59a2(0x275)],'hasContentAfter':!_0x5e7acd[_0x3c59a2(0x216)]};}[_0x50d456(0x236)](_0x5abc74){const _0x23b642=_0x50d456,_0x242cca=this[_0x23b642(0x246)][_0x23b642(0x2a1)][_0x23b642(0x2c8)](_0x23b642(0x226)),_0x4c689b=new Set();_0xad64f5(this[_0x23b642(0x246)])[_0x23b642(0x228)][_0x23b642(0x1d3)](_0x1b0fd7=>{const _0x50d498=_0x23b642;for(const _0xbe02a0 of _0x5abc74){const _0xfc8e3f=''+fe+_0xbe02a0[_0x50d498(0x1e6)]+':'+_0xbe02a0[_0x50d498(0x2cb)]+'_'+_0x242cca[_0x50d498(0x1d2)](_0x4c689b);this[_0x50d498(0x1e3)][_0x50d498(0x2ac)](_0xfc8e3f,{'id':_0xfc8e3f,'groupId':_0xbe02a0[_0x50d498(0x2cb)],'type':_0xbe02a0[_0x50d498(0x1e6)],'content':_0xbe02a0[_0x50d498(0x2cd)]}),_0x1b0fd7[_0x50d498(0x1ce)](_0xfc8e3f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1b0fd7[_0x50d498(0x1c6)](_0xbe02a0[_0x50d498(0x212)],_0xbe02a0[_0x50d498(0x293)])});}});}[_0x50d456(0x224)](_0x4615ae,_0x27b98f,_0x3b085a){let _0x487435='';return()=>{const _0x303277=_0x184d;if(!_0x487435){const _0x7b24d4=_0x27b98f[_0x303277(0x271)](_0x4615ae,{'showSuggestionHighlights':!0x0});let _0x191746=_0x7b24d4[_0x303277(0x1fc)](0x0);if(_0x191746['is'](_0x303277(0x287))||(_0x191746=_0x7b24d4),!_0x191746)return'';let _0x14ed4e=!0x1;const _0x4e0667=[];for(const _0x4e2e34 of _0x191746[_0x303277(0x1fd)]())_0x4e2e34['is'](_0x303277(0x2b6),_0x303277(0x1ca))&&_0x4e2e34[_0x303277(0x24d)](_0x303277(0x22c))&&(_0x14ed4e=!0x1),_0x14ed4e&&_0x4e0667[_0x303277(0x282)](_0x4e2e34),_0x4e2e34['is'](_0x303277(0x2b6),_0x303277(0x1ca))&&_0x4e2e34[_0x303277(0x24d)](_0x303277(0x222))&&(_0x14ed4e=!0x0);_0x191746[_0x303277(0x213)](0x0,_0x191746[_0x303277(0x269)]),_0x3b085a?.[_0x303277(0x1e8)]&&_0x191746[_0x303277(0x2b9)]('…'),_0x191746[_0x303277(0x2b9)](_0x4e0667),_0x3b085a?.[_0x303277(0x2aa)]&&_0x191746[_0x303277(0x2b9)]('…');const _0x40a1e9=_0x27b98f[_0x303277(0x25c)][_0x303277(0x248)][_0x303277(0x26b)](_0x7b24d4),_0x563539=_0x27b98f[_0x303277(0x25c)][_0x303277(0x243)][_0x303277(0x219)](_0x40a1e9);_0x487435=_0x563539;}return _0x487435;};}[_0x50d456(0x2a6)](_0x1f6fcc,_0xa965aa){const _0xb78b1d=_0x50d456;let _0x51fc5b='';return()=>(_0x51fc5b||(_0x51fc5b=_0xa965aa[_0xb78b1d(0x1c9)](_0x1f6fcc,{'showSuggestionHighlights':!0x0})),_0x51fc5b);}[_0x50d456(0x237)](_0x94e7a7,_0x1d6b1a,_0x40e66c){let _0x99d0ca='';return()=>{const _0x5051f5=_0x184d;if(!_0x99d0ca){const _0x19270e=_0x40e66c[_0x5051f5(0x271)](new _0x40836f(_0x94e7a7)),_0x282ee6=_0x40e66c[_0x5051f5(0x25c)][_0x5051f5(0x248)][_0x5051f5(0x26b)](_0x19270e)[_0x5051f5(0x2b8)](_0x5051f5(0x299)+_0x1d6b1a+'\x22]');_0x99d0ca=_0x282ee6?.[_0x5051f5(0x1d7)]||'';}return _0x99d0ca;};}[_0x50d456(0x20e)](_0x3b3a12,_0x5e4dc7=0x5){const _0x236eb1=_0x50d456;let _0xaa2114=_0x3b3a12,_0x5129e5=null;for(let _0x14306d=0x0;_0x14306d<_0x5e4dc7&&_0xaa2114;_0x14306d++){if(!_0xaa2114[_0x236eb1(0x23d)]){_0xaa2114=_0xaa2114[_0x236eb1(0x27e)];continue;}if(!(''+_0xaa2114[_0x236eb1(0x23d)])[_0x236eb1(0x242)](_0x236eb1(0x21e))){_0xaa2114=_0xaa2114[_0x236eb1(0x27e)];continue;}if(!_0xaa2114[_0x236eb1(0x284)](_0x236eb1(0x28f)))break;_0x5129e5=_0xaa2114;break;}return _0x5129e5;}[_0x50d456(0x2cf)](_0x319751){const _0x3da5df=_0x50d456,_0x54952b=_0xad64f5(this[_0x3da5df(0x246)]),_0x3e27a2=_0x54952b[_0x3da5df(0x228)][_0x3da5df(0x223)][_0x3da5df(0x2c8)](_0x319751);return _0x3e27a2?_0x29dfa5(_0x54952b[_0x3da5df(0x20f)],_0x3e27a2):null;}[_0x50d456(0x280)](_0x30470e){const _0x20506a=_0x50d456;return Array[_0x20506a(0x20a)](this[_0x20506a(0x1e3)][_0x20506a(0x21f)]())[_0x20506a(0x22a)](_0x972a83=>_0x972a83[_0x20506a(0x2cb)]===_0x30470e);}[_0x50d456(0x257)](_0x43be83){const _0x3528b2=_0x50d456;return _0x3528b2(0x286)===_0x43be83[_0x3528b2(0x1e6)]?_0x43be83[_0x3528b2(0x292)]:_0x43be83[_0x3528b2(0x2d0)][_0x3528b2(0x212)];}[_0x50d456(0x28c)](_0x221907,_0xb0bc43=!0x1){const _0x4f5ebd=_0x50d456;return _0x4f5ebd(0x286)===_0x221907[_0x4f5ebd(0x1e6)]?_0xb0bc43?_0x221907[_0x4f5ebd(0x292)]:_0x221907[_0x4f5ebd(0x292)][_0x4f5ebd(0x24f)](_0x221907[_0x4f5ebd(0x29c)]):_0x221907[_0x4f5ebd(0x2d0)][_0x4f5ebd(0x293)];}[_0x50d456(0x1fb)](_0x25830d,_0x501749){const _0x30aa58=_0x50d456;return _0x30aa58(0x286)===_0x25830d[_0x30aa58(0x1e6)]?_0x25830d[_0x30aa58(0x292)]=_0x25830d[_0x30aa58(0x292)][_0x30aa58(0x24f)](_0x501749):_0x30aa58(0x1e2)===_0x25830d[_0x30aa58(0x1e6)]&&_0x25830d[_0x30aa58(0x2d0)]&&(_0x25830d[_0x30aa58(0x2d0)]=new _0x44ff33(_0x25830d[_0x30aa58(0x2d0)][_0x30aa58(0x212)][_0x30aa58(0x24f)](_0x501749),_0x25830d[_0x30aa58(0x2d0)][_0x30aa58(0x293)][_0x30aa58(0x24f)](_0x501749))),_0x25830d;}[_0x50d456(0x1f9)](_0x22651,_0x454b7b){const _0x25d951=_0x50d456;_0x25d951(0x286)===_0x22651[_0x25d951(0x1e6)]?_0x22651[_0x25d951(0x292)]=this[_0x25d951(0x2a9)](_0x22651[_0x25d951(0x292)],_0x454b7b):_0x25d951(0x1e2)===_0x22651[_0x25d951(0x1e6)]&&_0x22651[_0x25d951(0x2d0)]&&(_0x22651[_0x25d951(0x2d0)]=this[_0x25d951(0x1f7)](_0x22651[_0x25d951(0x2d0)],_0x454b7b));}[_0x50d456(0x2a9)](_0x51312e,_0x551238){const _0x242c49=_0x50d456;return new _0xc5864f(_0x551238,_0x51312e[_0x242c49(0x1d8)]);}[_0x50d456(0x1f7)](_0x5a605,_0xe83cc6){const _0xdd906e=_0x50d456;return new _0x44ff33(this[_0xdd906e(0x2a9)](_0x5a605[_0xdd906e(0x212)],_0xe83cc6),this[_0xdd906e(0x2a9)](_0x5a605[_0xdd906e(0x293)],_0xe83cc6));}[_0x50d456(0x276)](_0xb5a4c3,_0x1befc0){return new _0xc5864f(_0x1befc0,[..._0xb5a4c3]);}[_0x50d456(0x1f8)](_0x1649ae,_0x42d825,_0x2c91a9,_0xbdd39a){const _0x5a0baf=_0x50d456;return new _0x44ff33(this[_0x5a0baf(0x276)](_0x42d825,_0xbdd39a),this[_0x5a0baf(0x276)](_0x2c91a9,_0xbdd39a));}[_0x50d456(0x291)](_0x274dca){const _0x243d71=_0x50d456,_0x527380=_0x1f95cb=>{const _0x363c47=_0x184d;switch(_0x1f95cb){case _0x363c47(0x286):return 0x0;case _0x363c47(0x2bf):return 0x1;case _0x363c47(0x201):return 0x2;case _0x363c47(0x20c):return 0x3;}};return _0x274dca[_0x243d71(0x2c7)]((_0x153cd7,_0x203dae)=>_0x527380(_0x153cd7[_0x243d71(0x1e6)])-_0x527380(_0x203dae[_0x243d71(0x1e6)]));}[_0x50d456(0x215)](_0x2d5ea5,_0x40f676){const _0x1b9a14=_0x50d456,_0x1c5617=_0x2d5ea5[_0x1b9a14(0x1fc)](0x0),_0x57cc82=_0x40f676[_0x1b9a14(0x1fc)](0x0);return!(!_0x1c5617||!_0x57cc82)&&((!_0x1c5617['is'](_0x1b9a14(0x2b6))||!_0x57cc82['is'](_0x1b9a14(0x2b6))||_0x1c5617[_0x1b9a14(0x203)]===_0x57cc82[_0x1b9a14(0x203)])&&!(_0x1c5617['is'](_0x1b9a14(0x2b6))&&!_0x57cc82['is'](_0x1b9a14(0x2b6))||!_0x1c5617['is'](_0x1b9a14(0x2b6))&&_0x57cc82['is'](_0x1b9a14(0x2b6))));}[_0x50d456(0x26c)](_0x4efd3c){const _0x51a34b=_0x50d456;return 0x1===_0x4efd3c[_0x51a34b(0x269)];}[_0x50d456(0x2a7)](_0x3fd155,_0x17f64a){const _0x2ef4f9=_0x50d456;for(const _0x2aea9a of _0x3fd155[_0x2ef4f9(0x1fd)]())if(_0x2aea9a['is'](_0x2ef4f9(0x2b6))&&!_0x17f64a[_0x2ef4f9(0x1e5)](_0x2aea9a))return!0x1;return!0x0;}[_0x50d456(0x2a0)](_0x107647,_0x8df1da){const _0x4ee381=_0x50d456;let _0x290917=_0x107647[_0x4ee381(0x284)](_0x3421b6);return _0x290917||(_0x290917=_0x8df1da(),_0x107647[_0x4ee381(0x2a4)](_0x3421b6,_0x290917)),_0x290917;}}
23
+ const _0x49c472=_0x6656;(function(_0x4dd583,_0x470912){const _0x366f92=_0x6656,_0x493371=_0x4dd583();while(!![]){try{const _0x5276e9=-parseInt(_0x366f92(0x2ab))/0x1*(-parseInt(_0x366f92(0x1b8))/0x2)+-parseInt(_0x366f92(0x1ed))/0x3*(-parseInt(_0x366f92(0x290))/0x4)+parseInt(_0x366f92(0x1b6))/0x5*(-parseInt(_0x366f92(0x225))/0x6)+parseInt(_0x366f92(0x1a2))/0x7*(-parseInt(_0x366f92(0x1f7))/0x8)+-parseInt(_0x366f92(0x288))/0x9+-parseInt(_0x366f92(0x1f4))/0xa*(parseInt(_0x366f92(0x29a))/0xb)+parseInt(_0x366f92(0x1a5))/0xc;if(_0x5276e9===_0x470912)break;else _0x493371['push'](_0x493371['shift']());}catch(_0x9b0db2){_0x493371['push'](_0x493371['shift']());}}}(_0x11f9,0xeb5d2));import{InsertOperation as _0x403314,MarkerOperation as _0x7886e1,ModelDocumentFragment as _0x4995f1,ModelPosition as _0x585f6d,ModelRange as _0x1fb03b,ModelTreeWalker as _0x2e1bf6,transformOperationSets as _0x547260}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x5e6b78,EmitterMixin as _0x13482a,uid as _0x15f56d}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2ff202}from'ckeditor5/src/core.js';import{DocumentCompare as _0x3e8bdc,DATA_ID_MODEL_ATTRIBUTE as _0x293a32,DATA_ID_VIEW_ATTRIBUTE as _0x187e68,getMarkerDomElement as _0x3f84ac}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x6070bc}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x507a44}from'../aicore/aiediting.js';import{debounce as _0x3db6cc}from'es-toolkit/compat';function _0x6656(_0x1f1558,_0x2f864f){const _0x11f93b=_0x11f9();return _0x6656=function(_0x66562e,_0x5538d8){_0x66562e=_0x66562e-0x1a2;let _0x4b2e33=_0x11f93b[_0x66562e];return _0x4b2e33;},_0x6656(_0x1f1558,_0x2f864f);}const Ht=_0x49c472(0x20f);export class AIReviewCoreEditing extends _0x2ff202{static get[_0x49c472(0x217)](){return[_0x3e8bdc,_0x507a44];}static get[_0x49c472(0x250)](){const _0x3d2f57=_0x49c472;return _0x3d2f57(0x229);}static get[_0x49c472(0x1fb)](){return!0x0;}static get[_0x49c472(0x286)](){return!0x0;}[_0x49c472(0x1a4)]=new Map();[_0x49c472(0x1eb)]=new Set();[_0x49c472(0x24b)];[_0x49c472(0x26f)];constructor(_0x520b89){const _0x1187c8=_0x49c472;super(_0x520b89),this[_0x1187c8(0x24b)]=new(_0x5e6b78())(),this[_0x1187c8(0x26f)]=new(_0x13482a())();}get[_0x49c472(0x25b)](){const _0x384463=_0x49c472;return this[_0x384463(0x26f)];}[_0x49c472(0x25e)](){const _0x13739e=_0x49c472,_0x4a22fe=_0x6070bc(this[_0x13739e(0x231)]);_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1dc))[_0x13739e(0x204)]({'model':Ht+_0x13739e(0x1bd),'view':(_0x48f48f,{writer:_0x4e4707})=>{const _0x1ec61e=_0x13739e,_0xe955bc=this[_0x1ec61e(0x1a4)][_0x1ec61e(0x1a7)](_0x48f48f[_0x1ec61e(0x293)]),_0x5c7d36={'class':_0x1ec61e(0x238)+(this[_0x1ec61e(0x1eb)][_0x1ec61e(0x1d2)](_0xe955bc?.['id']||'')?_0x1ec61e(0x23b):''),'data-marker-id':_0x48f48f[_0x1ec61e(0x293)]};return _0x4e4707[_0x1ec61e(0x25f)](_0x1ec61e(0x1b7),_0x5c7d36,function(_0x119754){const _0x3c04ba=_0x1ec61e,_0x411ac2=this[_0x3c04ba(0x27e)](_0x119754);return _0x411ac2[_0x3c04ba(0x283)]=_0xe955bc?.[_0x3c04ba(0x1c3)]?.[_0x3c04ba(0x2a4)]||'',_0x411ac2;});}}),_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1dc))[_0x13739e(0x28f)]({'model':Ht+_0x13739e(0x278),'view':_0x2e7310=>{const _0x28a414=_0x13739e,_0x34be4e=this[_0x28a414(0x1a4)][_0x28a414(0x1a7)](_0x2e7310[_0x28a414(0x293)]),_0x32a47d=[_0x28a414(0x246)];return this[_0x28a414(0x1eb)][_0x28a414(0x1d2)](_0x34be4e?.['id']||'')&&_0x32a47d[_0x28a414(0x205)](_0x28a414(0x2a9)),{'classes':_0x32a47d,'attributes':{'data-marker-id':_0x2e7310[_0x28a414(0x293)]}};}}),_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1dc))[_0x13739e(0x28f)]({'model':Ht+_0x13739e(0x28c),'view':_0xd2f703=>{const _0x38f88c=_0x13739e,_0x2d5f64=this[_0x38f88c(0x1a4)][_0x38f88c(0x1a7)](_0xd2f703[_0x38f88c(0x293)]),_0x8f8c49=[_0x38f88c(0x1d8)];return this[_0x38f88c(0x1eb)][_0x38f88c(0x1d2)](_0x2d5f64?.['id']||'')&&_0x8f8c49[_0x38f88c(0x205)](_0x38f88c(0x2a9)),{'classes':_0x8f8c49,'attributes':{'data-marker-id':_0xd2f703[_0x38f88c(0x293)]}};}}),_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1dc))[_0x13739e(0x28f)]({'model':Ht+_0x13739e(0x24c),'view':_0x6a954d=>{const _0x25621d=_0x13739e,_0x42e232=this[_0x25621d(0x1a4)][_0x25621d(0x1a7)](_0x6a954d[_0x25621d(0x293)]),_0x12a05c=[_0x25621d(0x21d)];return this[_0x25621d(0x1eb)][_0x25621d(0x1d2)](_0x42e232?.['id']||'')&&_0x12a05c[_0x25621d(0x205)](_0x25621d(0x2a9)),{'classes':_0x12a05c,'attributes':{'data-marker-id':_0x6a954d[_0x25621d(0x293)]}};}}),_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1db))[_0x13739e(0x204)]({'model':Ht+_0x13739e(0x26e),'view':(_0x4bc41f,{writer:_0x460f4a})=>_0x460f4a[_0x13739e(0x21f)](_0x13739e(0x1b7),{'class':_0x13739e(0x1f2)+(_0x4bc41f[_0x13739e(0x232)]?_0x13739e(0x1ec):_0x13739e(0x222))})}),_0x4a22fe[_0x13739e(0x248)][_0x13739e(0x1f0)](_0x13739e(0x1fd))[_0x13739e(0x220)]({'model':_0x293a32,'view':_0x187e68});const _0x2f338a=_0x4a22fe['ui'][_0x13739e(0x265)]()||document[_0x13739e(0x285)];this[_0x13739e(0x24b)][_0x13739e(0x28e)](_0x2f338a,_0x13739e(0x254),(_0x418628,_0x3d53ba)=>{const _0x181658=_0x13739e,_0x479d18=_0x3d53ba[_0x181658(0x1e0)],_0x313c96=this[_0x181658(0x24a)](_0x479d18);if(!_0x313c96)return;const _0x5924bd=_0x313c96[_0x181658(0x24f)](_0x181658(0x276)),_0xe22866=_0x5924bd[_0x181658(0x1be)](':')[_0x181658(0x280)]()?.[_0x181658(0x1be)]('_')[0x0];this[_0x181658(0x26f)][_0x181658(0x200)](_0x181658(0x20c),{'markerId':_0x5924bd,'changeId':_0xe22866,'markerElement':()=>this[_0x181658(0x269)](_0x5924bd),'domEvent':_0x3d53ba});},{'usePassive':!0x0,'priority':_0x13739e(0x256)}),this[_0x13739e(0x24b)][_0x13739e(0x28e)](_0x2f338a,_0x13739e(0x24d),(_0x1db8d9,_0x5b16f8)=>{const _0x2cd476=_0x13739e,_0x13e5a8=_0x5b16f8[_0x2cd476(0x1e0)],_0x209443=_0x5b16f8[_0x2cd476(0x1ba)];let _0xd09bd6=this[_0x2cd476(0x24a)](_0x13e5a8);if(!_0xd09bd6&&_0x209443&&(_0xd09bd6=this[_0x2cd476(0x24a)](_0x209443)),!_0xd09bd6)return;const _0x557ad2=_0xd09bd6[_0x2cd476(0x24f)](_0x2cd476(0x276)),_0xb12a05=_0x557ad2[_0x2cd476(0x1be)](':')[_0x2cd476(0x280)]()?.[_0x2cd476(0x1be)]('_')[0x0];this[_0x2cd476(0x26f)][_0x2cd476(0x200)](_0x2cd476(0x2a7),{'changeId':_0xb12a05,'markerElement':()=>this[_0x2cd476(0x269)](_0x557ad2),'domEvent':_0x5b16f8});}),this[_0x13739e(0x24b)][_0x13739e(0x28e)](document,_0x13739e(0x24d),_0x3db6cc((_0x593ecf,_0x5a9ef7)=>{const _0x569046=_0x13739e,_0x19e0ab=_0x5a9ef7[_0x569046(0x1e0)];if(this[_0x569046(0x24a)](_0x19e0ab))return;_0x19e0ab[_0x569046(0x218)](_0x569046(0x233))||this[_0x569046(0x26f)][_0x569046(0x200)](_0x569046(0x1c2));},0xc8)),_0x4a22fe[_0x13739e(0x27f)][_0x13739e(0x2ad)][_0x13739e(0x210)](_0x599437=>this[_0x13739e(0x1f3)](_0x4a22fe,_0x599437)),_0x4a22fe[_0x13739e(0x27f)][_0x13739e(0x2ad)]['on'](_0x13739e(0x29f),()=>this[_0x13739e(0x26a)](_0x4a22fe));}[_0x49c472(0x26b)](){const _0xb01d91=_0x49c472,_0x520967=this[_0xb01d91(0x231)][_0xb01d91(0x1d0)][_0xb01d91(0x1a7)](_0xb01d91(0x1b5)),_0x436700=_0x6070bc(this[_0xb01d91(0x231)]),_0x1c6bf5=_0x436700[_0xb01d91(0x27f)],_0x441899=new _0x4995f1();for(const _0x5b0d06 of _0x1c6bf5[_0xb01d91(0x2ad)][_0xb01d91(0x292)]()[_0xb01d91(0x243)]()){const _0x1f147e=_0x5b0d06[_0xb01d91(0x2a6)](!0x0);_0x441899[_0xb01d91(0x2ac)](_0x1f147e);}for(const _0x40ad01 of _0x1c6bf5[_0xb01d91(0x1a6)])_0x441899[_0xb01d91(0x1a6)][_0xb01d91(0x22a)](_0x40ad01[_0xb01d91(0x209)],this[_0xb01d91(0x282)](_0x40ad01[_0xb01d91(0x297)]()[_0xb01d91(0x1b4)](),_0x441899));const _0x23c9ca=new _0x2e1bf6({'ignoreElementEnd':!0x0,'startPosition':_0x1c6bf5[_0xb01d91(0x1e3)](_0x441899,0x0)}),_0x4bfb1d=new Set(),_0x35cec1=new Map();for(const {item:_0xf6e713}of _0x23c9ca){if(!_0xf6e713['is'](_0xb01d91(0x1e9)))continue;const _0x5f38b9=_0xf6e713[_0xb01d91(0x273)];if(_0x5f38b9&&_0x5f38b9['is'](_0xb01d91(0x2a8))){const _0x1ec202=this[_0xb01d91(0x1c6)](_0x5f38b9,()=>_0x520967[_0xb01d91(0x1df)](_0x4bfb1d));_0x4bfb1d[_0xb01d91(0x1f9)](_0x1ec202);for(const _0x157ef5 of _0x5f38b9[_0xb01d91(0x243)]())_0x157ef5['is'](_0xb01d91(0x2a8))&&_0x4bfb1d[_0xb01d91(0x1f9)](this[_0xb01d91(0x1c6)](_0x157ef5,()=>_0x520967[_0xb01d91(0x1df)](_0x4bfb1d)));let _0x154694=_0x5f38b9;for(;_0x154694[_0xb01d91(0x273)]&&!_0x154694[_0xb01d91(0x273)]['is'](_0xb01d91(0x2ae));)_0x154694=_0x154694[_0xb01d91(0x273)],_0x154694[_0xb01d91(0x2a0)](_0x293a32)&&_0x154694[_0xb01d91(0x201)](_0x293a32);_0x35cec1[_0xb01d91(0x22a)](_0x1ec202,{'path':_0x5f38b9[_0xb01d91(0x239)](),'getContent':this[_0xb01d91(0x274)](_0x154694[_0xb01d91(0x2a6)](!0x0),_0x1ec202,_0x436700[_0xb01d91(0x257)])}),_0x23c9ca[_0xb01d91(0x275)](_0x1c6bf5[_0xb01d91(0x219)](_0x5f38b9));}}return{'content':_0x436700[_0xb01d91(0x257)][_0xb01d91(0x214)][_0xb01d91(0x224)](_0x436700[_0xb01d91(0x257)][_0xb01d91(0x20d)](_0x441899)),'version':_0x436700[_0xb01d91(0x27f)][_0xb01d91(0x2ad)][_0xb01d91(0x235)],'elements':_0x35cec1};}[_0x49c472(0x216)](_0x8a685,_0x282e55,_0x1ebc9c=!0x1){const _0x349532=_0x49c472,_0x30b44d=[],_0x4140f4=_0x6070bc(this[_0x349532(0x231)]),_0x44ee16=_0x4140f4[_0x349532(0x257)][_0x349532(0x27c)](_0x282e55,_0x349532(0x1d5)),_0x14a2fd=_0x4140f4[_0x349532(0x257)][_0x349532(0x27c)](_0x8a685,_0x349532(0x1d5)),_0x97a8e4=_0x4140f4[_0x349532(0x27f)][_0x349532(0x1e3)](_0x14a2fd,0x0);if(this[_0x349532(0x23c)](_0x44ee16)){if(!this[_0x349532(0x1c4)](_0x14a2fd,_0x44ee16))return _0x30b44d;}else{const _0x2c101d=_0x4140f4[_0x349532(0x27f)][_0x349532(0x26d)];if(!this[_0x349532(0x279)](_0x14a2fd,_0x2c101d)||!this[_0x349532(0x279)](_0x44ee16,_0x2c101d))return _0x30b44d;}const _0x349505=this[_0x349532(0x231)][_0x349532(0x1d0)][_0x349532(0x1a7)](_0x349532(0x25a))[_0x349532(0x1ae)](_0x8a685,_0x282e55,{'anchor':_0x97a8e4,'markDeletions':!0x0})[_0x349532(0x1b1)]()[_0x349532(0x2aa)](_0x5c6a1e=>_0x349532(0x1bd)===_0x5c6a1e[_0x349532(0x228)]||_0x349532(0x2a1)===_0x5c6a1e[_0x349532(0x228)]&&_0x5c6a1e[_0x349532(0x209)][_0x349532(0x258)](_0x349532(0x25c))),_0xbcd000=this[_0x349532(0x1ee)](_0x349505),_0x4c4b02=[];if(_0x1ebc9c){if(_0xbcd000[_0x349532(0x271)]){const _0x4c8cb1=_0xbcd000[0x0][_0x349532(0x1f5)][0x0],_0x12f958=_0x349532(0x1bd)===_0x4c8cb1[_0x349532(0x228)]?_0x4c8cb1[_0x349532(0x1ff)]:_0x4c8cb1[_0x349532(0x223)][_0x349532(0x1ec)],_0x48499d=this[_0x349532(0x1ce)](_0x12f958,_0x4140f4,_0x349532(0x1bf)),_0x2832f3=_0x48499d?_0x44ee16[_0x349532(0x1dd)](0x0)[_0x349532(0x243)]():_0x44ee16[_0x349532(0x243)](),_0x423760=_0x48499d||_0x4140f4[_0x349532(0x27f)][_0x349532(0x22f)](_0x14a2fd),_0x4eaae6=[new _0x7886e1(_0x349532(0x1e5)+_0x15f56d(),null,_0x423760,_0x4140f4[_0x349532(0x27f)][_0x349532(0x2ad)][_0x349532(0x27f)][_0x349532(0x1a6)],!0x0,_0x4140f4[_0x349532(0x27f)][_0x349532(0x2ad)][_0x349532(0x235)]+0x1),new _0x403314(_0x423760[_0x349532(0x222)],_0x2832f3,_0x4140f4[_0x349532(0x27f)][_0x349532(0x2ad)][_0x349532(0x235)]+0x2)];_0x4c4b02[_0x349532(0x205)]({'operations':_0x4eaae6,'operationsIsolated':_0x4eaae6,'groupOffset':0x0});}}else _0x4c4b02[_0x349532(0x205)](..._0xbcd000);let _0x3c1503=0x0;return _0x4140f4[_0x349532(0x27f)][_0x349532(0x29f)](_0x4e001f=>{const _0x1aea30=_0x349532;for(let _0x5c4d6a=0x0;_0x5c4d6a<_0x4c4b02[_0x1aea30(0x271)];_0x5c4d6a++){const _0x41bef0=_0x4c4b02[_0x5c4d6a],_0x4fe67e=_0x4e001f[_0x1aea30(0x22e)]();for(const _0x59b14c of _0x14a2fd[_0x1aea30(0x243)]())_0x4e001f[_0x1aea30(0x268)](_0x59b14c[_0x1aea30(0x2a6)](!0x0),_0x4fe67e);for(const _0x2315d5 of _0x41bef0[_0x1aea30(0x1fa)])if(_0x1aea30(0x1bd)===_0x2315d5[_0x1aea30(0x228)]){const _0x5a7ace=_0x2315d5;_0x5a7ace[_0x1aea30(0x29b)]=null,_0x5a7ace[_0x1aea30(0x298)]=!0x1,this[_0x1aea30(0x1d9)](_0x5a7ace,_0x4fe67e),_0x4e001f[_0x1aea30(0x272)][_0x1aea30(0x21c)](_0x2315d5),_0x4140f4[_0x1aea30(0x27f)][_0x1aea30(0x22c)](_0x2315d5);const _0x14ea6a=_0x1aea30(0x1e6)+_0x3c1503++,_0x3c7ef8=_0x4140f4[_0x1aea30(0x27f)][_0x1aea30(0x1f8)](_0x5a7ace[_0x1aea30(0x1ff)],_0x5a7ace[_0x1aea30(0x1ff)][_0x1aea30(0x289)](_0x5a7ace[_0x1aea30(0x1e7)]));_0x4fe67e[_0x1aea30(0x1a6)][_0x1aea30(0x22a)](_0x14ea6a,_0x3c7ef8);}else{if(_0x1aea30(0x2a1)===_0x2315d5[_0x1aea30(0x228)]&&_0x2315d5[_0x1aea30(0x209)][_0x1aea30(0x258)](_0x1aea30(0x25c))){const _0x4caa26=_0x2315d5,_0x410f15=_0x1aea30(0x1ef)+_0x3c1503++;this[_0x1aea30(0x1d9)](_0x4caa26,_0x4fe67e),_0x4fe67e[_0x1aea30(0x1a6)][_0x1aea30(0x22a)](_0x410f15,_0x4caa26[_0x1aea30(0x223)]);}}if(_0x1ebc9c)_0x30b44d[_0x1aea30(0x205)]({..._0x41bef0,'context':this[_0x1aea30(0x1a9)](_0x14a2fd,_0x4140f4[_0x1aea30(0x257)]),'content':this[_0x1aea30(0x1a9)](_0x14a2fd,_0x4140f4[_0x1aea30(0x257)])});else{const _0x23e14e=this[_0x1aea30(0x20a)](this[_0x1aea30(0x23d)](this[_0x1aea30(0x1ca)](_0x41bef0[_0x1aea30(0x1fa)][0x0]),_0x4fe67e),this[_0x1aea30(0x23d)](this[_0x1aea30(0x1da)](_0x41bef0[_0x1aea30(0x1fa)][_0x41bef0[_0x1aea30(0x1fa)][_0x1aea30(0x271)]-0x1]),_0x4fe67e));_0x4fe67e[_0x1aea30(0x1a6)][_0x1aea30(0x22a)](Ht+_0x1aea30(0x26e),new _0x1fb03b(_0x23e14e[_0x1aea30(0x1ec)],_0x23e14e[_0x1aea30(0x222)])),_0x30b44d[_0x1aea30(0x205)]({..._0x41bef0,'context':this[_0x1aea30(0x21a)](_0x4fe67e,_0x4140f4[_0x1aea30(0x257)],{'ellipsisBefore':_0x23e14e[_0x1aea30(0x227)],'ellipsisAfter':_0x23e14e[_0x1aea30(0x1e8)]}),'content':this[_0x1aea30(0x1a9)](_0x4fe67e,_0x4140f4[_0x1aea30(0x257)])});}}}),_0x30b44d;}[_0x49c472(0x29e)](_0x3969d2,_0x3304e0){const _0x14ee6f=_0x49c472;if(!_0x3969d2[_0x14ee6f(0x271)])return;const _0x256f29=_0x3969d2[0x0][_0x14ee6f(0x273)]['id'],_0x4f6cde=_0x3304e0[_0x14ee6f(0x253)][_0x14ee6f(0x1a7)](_0x256f29);if(!_0x4f6cde)return void console[_0x14ee6f(0x27a)](_0x14ee6f(0x234)+_0x256f29);const _0x3deac1=_0x4f6cde[_0x14ee6f(0x213)],_0x2f2cc6=_0x6070bc(this[_0x14ee6f(0x231)]),_0x3a838b=_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x2ad)][_0x14ee6f(0x28b)][_0x14ee6f(0x1b1)](_0x3304e0[_0x14ee6f(0x235)]),_0x476f83=[];for(const _0x5eaabb of _0x3969d2){const _0x1cc5dc=_0x5eaabb[_0x14ee6f(0x1fa)][_0x14ee6f(0x236)](_0x30044d=>this[_0x14ee6f(0x23e)](_0x30044d,_0x3deac1,_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x2ad)][_0x14ee6f(0x1cd)]()[0x0]));if(!_0x1cc5dc||!_0x1cc5dc[_0x14ee6f(0x271)])continue;const _0x59e58b=_0x1cc5dc[_0x14ee6f(0x294)](_0x4e5154=>_0x14ee6f(0x2a1)===_0x4e5154[_0x14ee6f(0x228)]&&_0x4e5154[_0x14ee6f(0x209)][_0x14ee6f(0x258)](_0x14ee6f(0x25c))),_0x586940={'document':_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x2ad)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1a7abd=_0x547260(_0x1cc5dc,_0x3a838b,_0x586940)[_0x14ee6f(0x27d)];for(const _0x59fc45 of _0x1a7abd)if(_0x14ee6f(0x1bd)===_0x59fc45[_0x14ee6f(0x228)]){const _0x270eca=_0x59fc45,_0x16d3d8=_0x270eca[_0x14ee6f(0x211)];_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x29f)](_0x3930c2=>{const _0x82b349=_0x14ee6f,_0x62be1e=_0x3930c2[_0x82b349(0x22e)]();for(const _0xdf50dc of _0x16d3d8)_0x3930c2[_0x82b349(0x268)](_0xdf50dc[_0x82b349(0x2a6)](!0x0),_0x62be1e);_0x476f83[_0x82b349(0x205)]({'start':_0x270eca[_0x82b349(0x1ff)],'end':_0x270eca[_0x82b349(0x1ff)],'type':_0x82b349(0x1bd),'groupId':_0x5eaabb['id'],'content':{'asString':this[_0x82b349(0x1a9)](_0x62be1e,_0x2f2cc6[_0x82b349(0x257)])(),'asFragment':_0x62be1e}});});}else{if(_0x14ee6f(0x2a1)===_0x59fc45[_0x14ee6f(0x228)]&&_0x59fc45[_0x14ee6f(0x209)][_0x14ee6f(0x258)](_0x14ee6f(0x25c))){const _0x96844f=_0x59fc45;let _0x10bd20=_0x14ee6f(0x24c);if(_0x59e58b){const _0xc29383=this[_0x14ee6f(0x1aa)](_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x1ec)],_0x14ee6f(0x1c9),_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x26d)]),_0x3f861c=this[_0x14ee6f(0x1aa)](_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x222)],_0x14ee6f(0x299),_0x2f2cc6[_0x14ee6f(0x27f)][_0x14ee6f(0x26d)]);if(_0xc29383||_0x3f861c){const _0x3b791f=_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x1ec)][_0x14ee6f(0x289)](-_0xc29383),_0x42aeec=_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x222)][_0x14ee6f(0x289)](_0x3f861c);_0x476f83[_0x14ee6f(0x205)]({'start':_0x3b791f,'end':_0x42aeec,'groupId':_0x5eaabb['id'],'type':_0x14ee6f(0x28c)});}else _0x10bd20=_0x14ee6f(0x278);}_0x476f83[_0x14ee6f(0x205)]({'start':_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x1ec)],'end':_0x96844f[_0x14ee6f(0x223)][_0x14ee6f(0x222)],'groupId':_0x5eaabb['id'],'type':_0x10bd20});}}}this[_0x14ee6f(0x1a3)](_0x476f83);}[_0x49c472(0x247)](){const _0x37bee4=_0x49c472,_0x426a29=_0x6070bc(this[_0x37bee4(0x231)]);_0x426a29[_0x37bee4(0x27f)][_0x37bee4(0x29f)](_0x5d9fea=>{const _0x3e5617=_0x37bee4;for(const _0x5b41db of this[_0x3e5617(0x1a4)][_0x3e5617(0x29d)]())_0x426a29[_0x3e5617(0x27f)][_0x3e5617(0x1a6)][_0x3e5617(0x1a7)](_0x5b41db)&&_0x5d9fea[_0x3e5617(0x20b)](_0x5b41db);}),this[_0x37bee4(0x1a4)][_0x37bee4(0x266)](),this[_0x37bee4(0x1eb)][_0x37bee4(0x266)]();}[_0x49c472(0x2b0)](){const _0x5c4076=_0x49c472;_0x6070bc(this[_0x5c4076(0x231)])[_0x5c4076(0x221)](_0x5c4076(0x27b));}[_0x49c472(0x29c)](){const _0x3f4147=_0x49c472;_0x6070bc(this[_0x3f4147(0x231)])[_0x3f4147(0x1c0)](_0x3f4147(0x27b));}[_0x49c472(0x212)](_0x23a466){const _0x5d2498=_0x49c472,_0x12c901=_0x6070bc(this[_0x5d2498(0x231)]),_0x1c8fa7=_0x12c901[_0x5d2498(0x27f)],_0x45373b=_0x23a466[_0x5d2498(0x236)](_0x390a78=>this[_0x5d2498(0x287)](_0x390a78))[_0x5d2498(0x251)]();_0x1c8fa7[_0x5d2498(0x29f)](_0x3b7318=>{const _0x1edeb3=_0x5d2498;for(const _0x51137c of _0x45373b){const _0x3dde9d=_0x12c901[_0x1edeb3(0x27f)][_0x1edeb3(0x1a6)][_0x1edeb3(0x1a7)](_0x51137c['id']);if(_0x3dde9d){if(_0x1edeb3(0x1bd)===_0x51137c[_0x1edeb3(0x228)]){if(!_0x51137c[_0x1edeb3(0x1c3)])continue;_0x1c8fa7[_0x1edeb3(0x2a5)](_0x51137c[_0x1edeb3(0x1c3)][_0x1edeb3(0x1d4)]||null,_0x3dde9d[_0x1edeb3(0x297)]()[_0x1edeb3(0x1ec)]);}else _0x1edeb3(0x24c)!==_0x51137c[_0x1edeb3(0x228)]&&_0x1edeb3(0x278)!==_0x51137c[_0x1edeb3(0x228)]||_0x1c8fa7[_0x1edeb3(0x1cf)](_0x1c8fa7[_0x1edeb3(0x1ab)](_0x3dde9d[_0x1edeb3(0x297)]()));_0x3b7318[_0x1edeb3(0x20b)](_0x51137c['id']),this[_0x1edeb3(0x1a4)][_0x1edeb3(0x1e1)](_0x51137c['id']);}}});}[_0x49c472(0x1b2)](_0x4ffe8c){const _0xe40be3=_0x49c472,_0x19e892=_0x6070bc(this[_0xe40be3(0x231)]),_0x4b8974=this[_0xe40be3(0x287)](_0x4ffe8c);_0x19e892[_0xe40be3(0x27f)][_0xe40be3(0x29f)](_0x3fce69=>{const _0x66daf2=_0xe40be3;for(const _0x35ccab of _0x4b8974)_0x3fce69[_0x66daf2(0x20b)](_0x35ccab['id']),this[_0x66daf2(0x1a4)][_0x66daf2(0x1e1)](_0x35ccab['id']);});}[_0x49c472(0x2a2)](){const _0x212017=_0x49c472;return _0x6070bc(this[_0x212017(0x231)]);}[_0x49c472(0x1c8)](_0x5a53e1){const _0x5e45a5=_0x49c472,_0x479a8c=Array[_0x5e45a5(0x25d)](this[_0x5e45a5(0x1a4)][_0x5e45a5(0x252)]())[_0x5e45a5(0x2aa)](_0x1f2b94=>_0x1f2b94[_0x5e45a5(0x23f)]===_0x5a53e1);if(!_0x479a8c[_0x5e45a5(0x271)])return null;const _0x3e769f=0x1===_0x479a8c[_0x5e45a5(0x271)]?_0x479a8c[0x0]:this[_0x5e45a5(0x249)](_0x479a8c)[0x0],_0x2ed811=_0x6070bc(this[_0x5e45a5(0x231)])[_0x5e45a5(0x27f)][_0x5e45a5(0x1a6)][_0x5e45a5(0x1a7)](_0x3e769f['id']);if(!_0x2ed811)return null;return{'modelRange':_0x2ed811[_0x5e45a5(0x297)](),'getElement':()=>this[_0x5e45a5(0x269)](_0x3e769f['id'])};}[_0x49c472(0x1ea)](_0x431df6){const _0x5f1c8c=_0x49c472,_0x3e9fb8=Array[_0x5f1c8c(0x25d)](this[_0x5f1c8c(0x1a4)][_0x5f1c8c(0x252)]())[_0x5f1c8c(0x2aa)](_0x2dd5a3=>_0x2dd5a3[_0x5f1c8c(0x23f)]===_0x431df6);if(!_0x3e9fb8[_0x5f1c8c(0x271)])return null;const _0x2f38ce=0x1===_0x3e9fb8[_0x5f1c8c(0x271)]?_0x3e9fb8[0x0]:this[_0x5f1c8c(0x249)](_0x3e9fb8)[0x0],_0x8bd49c=_0x6070bc(this[_0x5f1c8c(0x231)]),_0x2ed4ad=_0x8bd49c[_0x5f1c8c(0x27f)][_0x5f1c8c(0x1a6)][_0x5f1c8c(0x1a7)](_0x2f38ce['id']);if(!_0x2ed4ad)return null;const _0x32a504=_0x2ed4ad[_0x5f1c8c(0x297)](),_0x5f0278=_0x8bd49c[_0x5f1c8c(0x1de)][_0x5f1c8c(0x1bc)][_0x5f1c8c(0x259)]();if(!_0x5f0278||!_0x32a504)return null;let _0x531f5d=_0x32a504[_0x5f1c8c(0x1ec)][_0x5f1c8c(0x273)];for(;_0x531f5d[_0x5f1c8c(0x273)]&&_0x5f1c8c(0x262)!==_0x531f5d[_0x5f1c8c(0x273)][_0x5f1c8c(0x209)];)_0x531f5d=_0x531f5d[_0x5f1c8c(0x273)];if(!_0x531f5d||!_0x531f5d[_0x5f1c8c(0x209)])return null;const _0x1ef58e=_0x5f0278[_0x5f1c8c(0x237)](_0x5f1c8c(0x1b0)+_0x2f38ce['id']+'\x22]');if(!_0x1ef58e)return null;let _0x449475=null;_0x8bd49c[_0x5f1c8c(0x27f)][_0x5f1c8c(0x29f)](_0x183461=>{const _0x4c64a6=_0x5f1c8c;_0x449475=_0x183461[_0x4c64a6(0x22e)](),_0x183461[_0x4c64a6(0x268)](_0x531f5d[_0x4c64a6(0x2a6)](!0x0),_0x449475);});const _0xda7b18=_0x8bd49c[_0x5f1c8c(0x257)][_0x5f1c8c(0x20d)](_0x449475)[_0x5f1c8c(0x1dd)](0x0);return _0x1ef58e[_0x5f1c8c(0x218)](_0xda7b18[_0x5f1c8c(0x209)]);}[_0x49c472(0x264)](_0x2d263e){const _0x1e2c5c=_0x49c472,_0x29de56=this[_0x1e2c5c(0x287)](_0x2d263e);if(!_0x29de56[_0x1e2c5c(0x271)])return;const _0x41951a=Array[_0x1e2c5c(0x25d)](this[_0x1e2c5c(0x1eb)])[_0x1e2c5c(0x1d1)](),_0x9475d5=Array[_0x1e2c5c(0x25d)](new Set(_0x29de56[_0x1e2c5c(0x236)](_0xc98bd9=>_0xc98bd9['id'])))[_0x1e2c5c(0x1d1)]();_0x41951a[_0x1e2c5c(0x263)]('|')!==_0x9475d5[_0x1e2c5c(0x263)]('|')&&(this[_0x1e2c5c(0x215)](),this[_0x1e2c5c(0x242)](_0x2d263e));}[_0x49c472(0x242)](_0x756f0a){const _0x4d9eb6=_0x49c472,_0x4daded=this[_0x4d9eb6(0x287)](_0x756f0a);if(!_0x4daded[_0x4d9eb6(0x271)])return;const _0x1892bf=_0x6070bc(this[_0x4d9eb6(0x231)]),_0x11f739=new Set(_0x4daded[_0x4d9eb6(0x236)](_0x2e31ff=>_0x2e31ff['id'])),_0x596cc9=Array[_0x4d9eb6(0x25d)](_0x11f739[_0x4d9eb6(0x252)]())[_0x4d9eb6(0x236)](_0x2efed8=>_0x1892bf[_0x4d9eb6(0x27f)][_0x4d9eb6(0x1a6)][_0x4d9eb6(0x1a7)](_0x2efed8))[_0x4d9eb6(0x2aa)](_0x13ef6b=>!!_0x13ef6b);_0x11f739[_0x4d9eb6(0x20e)](_0xfeb7=>{const _0xdfcbad=_0x4d9eb6;this[_0xdfcbad(0x1eb)][_0xdfcbad(0x1f9)](_0xfeb7);}),_0x1892bf[_0x4d9eb6(0x27f)][_0x4d9eb6(0x29f)](()=>{const _0x1ce3c5=_0x4d9eb6;_0x596cc9[_0x1ce3c5(0x20e)](_0x216db3=>{const _0x5b7125=_0x1ce3c5;_0x1892bf[_0x5b7125(0x1de)][_0x5b7125(0x1e2)](_0x216db3);});});}[_0x49c472(0x215)](){const _0x2c94cd=_0x49c472,_0xe05137=Array[_0x2c94cd(0x25d)](this[_0x2c94cd(0x1eb)]);if(!_0xe05137[_0x2c94cd(0x271)])return;this[_0x2c94cd(0x1eb)][_0x2c94cd(0x266)]();const _0x4c03f2=_0x6070bc(this[_0x2c94cd(0x231)]),_0x23c069=_0xe05137[_0x2c94cd(0x236)](_0x1dc540=>_0x4c03f2[_0x2c94cd(0x27f)][_0x2c94cd(0x1a6)][_0x2c94cd(0x1a7)](_0x1dc540))[_0x2c94cd(0x2aa)](_0x76d06b=>!!_0x76d06b);_0x4c03f2[_0x2c94cd(0x27f)][_0x2c94cd(0x29f)](()=>{const _0x596f79=_0x2c94cd;_0x23c069[_0x596f79(0x20e)](_0x2ff016=>{const _0x198922=_0x596f79;_0x4c03f2[_0x198922(0x1de)][_0x198922(0x1e2)](_0x2ff016);});});}[_0x49c472(0x1ce)](_0x4215ca,_0x3180f3,_0x92ca30=_0x49c472(0x267)){const _0x2c52bc=_0x49c472;if(!_0x4215ca)return null;let _0x3dfa64=_0x4215ca[_0x2c52bc(0x273)];for(;_0x3dfa64&&_0x3dfa64[_0x2c52bc(0x273)]&&_0x2c52bc(0x262)!==_0x3dfa64[_0x2c52bc(0x273)][_0x2c52bc(0x209)]&&!_0x3180f3[_0x2c52bc(0x27f)][_0x2c52bc(0x26d)][_0x2c52bc(0x207)](_0x3dfa64)&&!_0x3180f3[_0x2c52bc(0x27f)][_0x2c52bc(0x26d)][_0x2c52bc(0x261)](_0x3dfa64);)_0x3dfa64=_0x3dfa64[_0x2c52bc(0x273)];if(!_0x3dfa64||!_0x3dfa64[_0x2c52bc(0x209)]||_0x2c52bc(0x262)===_0x3dfa64[_0x2c52bc(0x209)])return null;let _0x476f6f=null;return _0x3180f3[_0x2c52bc(0x27f)][_0x2c52bc(0x29f)](_0x6a4e06=>{const _0x1d7167=_0x2c52bc;_0x476f6f=_0x1d7167(0x1bf)===_0x92ca30?_0x6a4e06[_0x1d7167(0x22f)](_0x3dfa64):_0x6a4e06[_0x1d7167(0x1f6)](_0x3dfa64);}),_0x476f6f;}[_0x49c472(0x1f3)](_0x3fd0ff,_0x177721){const _0x58ab30=_0x49c472,_0x1e1978=Array[_0x58ab30(0x25d)](this[_0x58ab30(0x1a4)][_0x58ab30(0x29d)]()),_0x211c6c=new Map();for(const _0x5a0afe of _0x1e1978){const _0x3239f8=_0x3fd0ff[_0x58ab30(0x27f)][_0x58ab30(0x1a6)][_0x58ab30(0x1a7)](_0x5a0afe);if(!_0x3239f8)continue;const _0x19219c=_0x3239f8[_0x58ab30(0x1d3)]()[_0x58ab30(0x213)][0x0];_0x211c6c[_0x58ab30(0x1d2)](_0x19219c)||_0x211c6c[_0x58ab30(0x22a)](_0x19219c,[]),_0x211c6c[_0x58ab30(0x1a7)](_0x19219c)[_0x58ab30(0x205)](_0x3239f8);}const _0x516f0b=new Set();for(const _0x1f62b7 of _0x3fd0ff[_0x58ab30(0x27f)][_0x58ab30(0x2ad)][_0x58ab30(0x28d)][_0x58ab30(0x2a3)]()){let _0x5bb8c6=-0x1,_0x1ff0a9=null;if(_0x58ab30(0x1bd)===_0x1f62b7[_0x58ab30(0x228)])_0x1ff0a9=new _0x1fb03b(_0x1f62b7[_0x58ab30(0x1ff)],_0x1f62b7[_0x58ab30(0x1ff)][_0x58ab30(0x289)](_0x1f62b7[_0x58ab30(0x271)])),_0x5bb8c6=_0x1f62b7[_0x58ab30(0x1ff)][_0x58ab30(0x213)][0x0];else{if(_0x58ab30(0x1cc)!==_0x1f62b7[_0x58ab30(0x228)])continue;_0x1ff0a9=new _0x1fb03b(_0x1f62b7[_0x58ab30(0x1ff)]),_0x5bb8c6=_0x1f62b7[_0x58ab30(0x1ff)][_0x58ab30(0x213)][0x0];}const _0x4c5423=_0x211c6c[_0x58ab30(0x1a7)](_0x5bb8c6)||[];if(_0x4c5423[_0x58ab30(0x271)]){for(const _0x194818 of _0x4c5423)if(_0x1ff0a9[_0x58ab30(0x1bb)][_0x58ab30(0x1b9)]===_0x194818[_0x58ab30(0x297)]()[_0x58ab30(0x1bb)][_0x58ab30(0x1b9)]&&(_0x58ab30(0x1bd)!==_0x1f62b7[_0x58ab30(0x228)]||!_0x1ff0a9[_0x58ab30(0x26c)](_0x194818[_0x58ab30(0x297)]()))&&(_0x1ff0a9[_0x58ab30(0x226)](_0x194818[_0x58ab30(0x297)]())||_0x1ff0a9[_0x58ab30(0x1ec)][_0x58ab30(0x260)](_0x194818[_0x58ab30(0x297)]()[_0x58ab30(0x222)])||_0x1ff0a9[_0x58ab30(0x222)][_0x58ab30(0x260)](_0x194818[_0x58ab30(0x297)]()[_0x58ab30(0x1ec)]))){const _0x1e7907=this[_0x58ab30(0x1c7)](_0x194818[_0x58ab30(0x209)]);Array[_0x58ab30(0x25d)](this[_0x58ab30(0x1a4)][_0x58ab30(0x252)]())[_0x58ab30(0x2aa)](_0x3b6586=>_0x3b6586[_0x58ab30(0x23f)]===_0x1e7907[_0x58ab30(0x23f)])[_0x58ab30(0x20e)](_0x3b5b59=>_0x516f0b[_0x58ab30(0x1f9)](_0x3b5b59['id']));}}}if(_0x516f0b[_0x58ab30(0x23a)]){for(const _0x19a681 of _0x516f0b)_0x177721[_0x58ab30(0x20b)](_0x19a681);return!0x0;}return!0x1;}[_0x49c472(0x26a)](_0xf70692){const _0x20ee31=_0x49c472;for(const {name:_0x57ca26,data:_0xbfa90a}of _0xf70692[_0x20ee31(0x27f)][_0x20ee31(0x2ad)][_0x20ee31(0x28d)][_0x20ee31(0x1fc)]()){if(!_0x57ca26[_0x20ee31(0x258)](Ht))continue;const _0x35e5ac=_0xbfa90a[_0x20ee31(0x1b3)],_0x4c2a6e=_0xbfa90a[_0x20ee31(0x223)],_0x273786=_0x35e5ac&&_0x20ee31(0x22b)===_0x35e5ac[_0x20ee31(0x1bb)][_0x20ee31(0x1b9)],_0x46a09b=_0x4c2a6e&&_0x20ee31(0x22b)===_0x4c2a6e[_0x20ee31(0x1bb)][_0x20ee31(0x1b9)];if(_0x273786&&_0x46a09b)continue;const _0x421a97=this[_0x20ee31(0x1c7)](_0x57ca26);this[_0x20ee31(0x1a4)][_0x20ee31(0x1a7)](_0x57ca26)&&(_0x46a09b||!_0x4c2a6e?this[_0x20ee31(0x26f)][_0x20ee31(0x200)](_0x20ee31(0x240),{'markerId':_0x57ca26,'changeId':_0x421a97[_0x20ee31(0x23f)]}):_0x273786&&_0x4c2a6e&&this[_0x20ee31(0x26f)][_0x20ee31(0x200)](_0x20ee31(0x284),{'markerId':_0x57ca26,'changeId':_0x421a97[_0x20ee31(0x23f)]}));}}[_0x49c472(0x1c7)](_0x2f473e){const _0x259aff=_0x49c472,_0x3e6073=_0x2f473e[_0x259aff(0x1be)](':'),_0x23846b=(_0x3e6073[0x1]||'')[_0x259aff(0x1be)]('_');return{'prefix':_0x3e6073[0x0],'groupId':_0x23846b[0x0],'suffix':_0x23846b[0x1]};}[_0x49c472(0x23e)](_0x3f590d,_0xf2d82f,_0x5bd905){const _0x51e6c8=_0x49c472;if(_0x51e6c8(0x1bd)===_0x3f590d[_0x51e6c8(0x228)]){const _0x1b275c=_0x3f590d;return new _0x403314(this[_0x51e6c8(0x1a8)](_0xf2d82f[_0x51e6c8(0x21e)](_0x1b275c[_0x51e6c8(0x1ff)][_0x51e6c8(0x21b)]),_0x5bd905),_0x1b275c[_0x51e6c8(0x211)],_0x1b275c[_0x51e6c8(0x29b)]);}if(_0x51e6c8(0x2a1)===_0x3f590d[_0x51e6c8(0x228)]&&_0x3f590d[_0x51e6c8(0x209)][_0x51e6c8(0x258)](_0x51e6c8(0x25c))){const _0x177696=_0x3f590d;return new _0x7886e1(_0x177696[_0x51e6c8(0x209)],_0x177696[_0x51e6c8(0x1b3)],this[_0x51e6c8(0x1af)](_0x177696[_0x51e6c8(0x223)],_0xf2d82f[_0x51e6c8(0x21e)](_0x177696[_0x51e6c8(0x223)][_0x51e6c8(0x1ec)][_0x51e6c8(0x21b)]),_0xf2d82f[_0x51e6c8(0x21e)](_0x177696[_0x51e6c8(0x223)][_0x51e6c8(0x222)][_0x51e6c8(0x21b)]),_0x5bd905),_0x177696[_0x51e6c8(0x1a4)],_0x177696[_0x51e6c8(0x202)],_0x177696[_0x51e6c8(0x29b)]);}return _0x3f590d;}[_0x49c472(0x1ee)](_0x392c79){const _0x202233=_0x49c472;if(!_0x392c79[_0x202233(0x271)])return[];const _0x11baec=[];let _0x57cdb3=0x0,_0x459730=0x0,_0x58f07a=[];for(let _0x15d521=0x0;_0x15d521<=_0x392c79[_0x202233(0x271)];_0x15d521++){const _0x445dcc=_0x392c79[_0x15d521],_0x51e778=_0x392c79[_0x15d521-0x1];!_0x445dcc||_0x51e778&&!this[_0x202233(0x1da)](_0x51e778)[_0x202233(0x260)](this[_0x202233(0x1ca)](_0x445dcc))?(_0x11baec[_0x202233(0x205)]({'operations':_0x58f07a,'operationsIsolated':_0x58f07a[_0x202233(0x236)](_0x34d786=>this[_0x202233(0x1cb)](_0x34d786[_0x202233(0x1b4)](),-_0x459730)),'groupOffset':_0x57cdb3}),_0x58f07a=_0x445dcc?[_0x445dcc]:[],_0x459730+=_0x57cdb3,_0x57cdb3=0x0):_0x58f07a[_0x202233(0x205)](_0x445dcc),_0x445dcc&&_0x202233(0x1bd)===_0x445dcc[_0x202233(0x228)]&&(_0x57cdb3+=_0x445dcc[_0x202233(0x1e7)]);}return _0x11baec;}[_0x49c472(0x1aa)](_0x2c7d62,_0x22c9b4,_0x79eaaf,_0x112777=0x1){const _0x433e03=_0x49c472,_0x3c6ec7=new _0x2e1bf6({'startPosition':_0x2c7d62,'direction':_0x22c9b4});let _0x5a21c9=0x0;for(let _0x334821=0x0;_0x334821<_0x112777;_0x334821++){let _0x2b9488=0x0,_0x24c2c9=!0x1,_0x1c07c6=_0x433e03(0x299)===_0x22c9b4?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x59c473}of _0x3c6ec7)if(_0x59c473['is'](_0x433e03(0x1e9))){const _0xf92400=_0x1c07c6[_0x433e03(0x1d7)](_0x59c473[_0x433e03(0x257)]);if(_0xf92400&&_0xf92400[_0x433e03(0x271)]){if(_0x2b9488+=_0x433e03(0x299)===_0x22c9b4?_0xf92400[_0x433e03(0x255)]+_0xf92400[0x0][_0x433e03(0x271)]:_0x59c473[_0x433e03(0x257)][_0x433e03(0x271)]-_0xf92400[_0x433e03(0x255)],_0xf92400[0x0][_0x433e03(0x271)]!==_0x59c473[_0x433e03(0x257)][_0x433e03(0x271)])break;_0x24c2c9=!0x0,_0x1c07c6=_0x433e03(0x299)===_0x22c9b4?/^\w+/:/\w+$/;}else{if(_0x24c2c9)break;_0x2b9488+=_0x59c473[_0x433e03(0x2b1)];}}else{if(_0x59c473['is'](_0x433e03(0x2a8))){_0x79eaaf[_0x433e03(0x1e4)](_0x59c473)&&!_0x24c2c9&&(_0x2b9488+=0x1);break;}}_0x5a21c9+=_0x2b9488,_0x3c6ec7[_0x433e03(0x275)](_0x2c7d62[_0x433e03(0x289)](_0x433e03(0x299)===_0x22c9b4?_0x5a21c9:-_0x5a21c9));}return _0x5a21c9;}[_0x49c472(0x20a)](_0x217d67,_0x40cfde){const _0x5687e7=_0x49c472,_0x484f48=_0x6070bc(this[_0x5687e7(0x231)])[_0x5687e7(0x27f)][_0x5687e7(0x26d)],_0x303efb=this[_0x5687e7(0x1aa)](_0x217d67,_0x5687e7(0x1c9),_0x484f48,0x6),_0x3147b8=this[_0x5687e7(0x1aa)](_0x40cfde,_0x5687e7(0x299),_0x484f48,0x6),_0x39b0d2=_0x217d67[_0x5687e7(0x289)](-_0x303efb),_0x1c0a24=_0x40cfde[_0x5687e7(0x289)](_0x3147b8);return{'start':_0x39b0d2,'end':_0x1c0a24,'hasContentBefore':!_0x39b0d2[_0x5687e7(0x203)],'hasContentAfter':!_0x1c0a24[_0x5687e7(0x1f1)]};}[_0x49c472(0x1a3)](_0x4b71e5){const _0x44f33b=_0x49c472,_0x59538b=this[_0x44f33b(0x231)][_0x44f33b(0x1d0)][_0x44f33b(0x1a7)](_0x44f33b(0x1b5)),_0x4be1f1=new Set();_0x6070bc(this[_0x44f33b(0x231)])[_0x44f33b(0x27f)][_0x44f33b(0x29f)](_0x44f78d=>{const _0x2781a8=_0x44f33b;for(const _0x5ba37d of _0x4b71e5){const _0xd07d0=''+Ht+_0x5ba37d[_0x2781a8(0x228)]+':'+_0x5ba37d[_0x2781a8(0x23f)]+'_'+_0x59538b[_0x2781a8(0x1df)](_0x4be1f1);this[_0x2781a8(0x1a4)][_0x2781a8(0x22a)](_0xd07d0,{'id':_0xd07d0,'groupId':_0x5ba37d[_0x2781a8(0x23f)],'type':_0x5ba37d[_0x2781a8(0x228)],'content':_0x5ba37d[_0x2781a8(0x1c3)]}),_0x44f78d[_0x2781a8(0x2af)](_0xd07d0,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44f78d[_0x2781a8(0x1f8)](_0x5ba37d[_0x2781a8(0x1ec)],_0x5ba37d[_0x2781a8(0x222)])});}});}[_0x49c472(0x21a)](_0x4ddc26,_0x3f6c44,_0x2c82e1){let _0x4a8972='';return()=>{const _0x425517=_0x6656;if(!_0x4a8972){const _0x46ac7f=_0x3f6c44[_0x425517(0x20d)](_0x4ddc26,{'showSuggestionHighlights':!0x0});let _0x32b553=_0x46ac7f[_0x425517(0x1dd)](0x0);if(_0x32b553['is'](_0x425517(0x28a))||(_0x32b553=_0x46ac7f),!_0x32b553)return'';let _0xa42e31=!0x1;const _0x4d7dff=[];for(const _0x556e9f of _0x32b553[_0x425517(0x243)]())_0x556e9f['is'](_0x425517(0x2a8),_0x425517(0x1b7))&&_0x556e9f[_0x425517(0x241)](_0x425517(0x22d))&&(_0xa42e31=!0x1),_0xa42e31&&_0x4d7dff[_0x425517(0x205)](_0x556e9f),_0x556e9f['is'](_0x425517(0x2a8),_0x425517(0x1b7))&&_0x556e9f[_0x425517(0x241)](_0x425517(0x208))&&(_0xa42e31=!0x0);_0x32b553[_0x425517(0x1ac)](0x0,_0x32b553[_0x425517(0x1fe)]),_0x2c82e1?.[_0x425517(0x291)]&&_0x32b553[_0x425517(0x2ac)]('…'),_0x32b553[_0x425517(0x2ac)](_0x4d7dff),_0x2c82e1?.[_0x425517(0x296)]&&_0x32b553[_0x425517(0x2ac)]('…');const _0x333f11=_0x3f6c44[_0x425517(0x1c1)][_0x425517(0x281)][_0x425517(0x1ad)](_0x46ac7f),_0x276d4e=_0x3f6c44[_0x425517(0x1c1)][_0x425517(0x270)][_0x425517(0x1c5)](_0x333f11);_0x4a8972=_0x276d4e;}return _0x4a8972;};}[_0x49c472(0x1a9)](_0x5bf9f5,_0x14223e){const _0x5d9428=_0x49c472;let _0x5db1a8='';return()=>(_0x5db1a8||(_0x5db1a8=_0x14223e[_0x5d9428(0x277)](_0x5bf9f5,{'showSuggestionHighlights':!0x0})),_0x5db1a8);}[_0x49c472(0x274)](_0xc58d2f,_0x5af79c,_0x3eb4be){let _0x11cc67='';return()=>{const _0x178e84=_0x6656;if(!_0x11cc67){const _0x1f637a=_0x3eb4be[_0x178e84(0x20d)](new _0x4995f1(_0xc58d2f)),_0x185533=_0x3eb4be[_0x178e84(0x1c1)][_0x178e84(0x281)][_0x178e84(0x1ad)](_0x1f637a)[_0x178e84(0x237)](_0x178e84(0x245)+_0x5af79c+'\x22]');_0x11cc67=_0x185533?.[_0x178e84(0x295)]||'';}return _0x11cc67;};}[_0x49c472(0x24a)](_0x22828e,_0x5a41a6=0x5){const _0x537e59=_0x49c472;let _0x4223a7=_0x22828e,_0x249c71=null;for(let _0x5d8670=0x0;_0x5d8670<_0x5a41a6&&_0x4223a7;_0x5d8670++){if(!_0x4223a7[_0x537e59(0x206)]){_0x4223a7=_0x4223a7[_0x537e59(0x1d6)];continue;}if(!(''+_0x4223a7[_0x537e59(0x206)])[_0x537e59(0x24e)](_0x537e59(0x244))){_0x4223a7=_0x4223a7[_0x537e59(0x1d6)];continue;}if(!_0x4223a7[_0x537e59(0x24f)](_0x537e59(0x276)))break;_0x249c71=_0x4223a7;break;}return _0x249c71;}[_0x49c472(0x269)](_0x4a6c3b){const _0x1882d3=_0x49c472,_0x3fe079=_0x6070bc(this[_0x1882d3(0x231)]),_0x1adf81=_0x3fe079[_0x1882d3(0x27f)][_0x1882d3(0x1a6)][_0x1882d3(0x1a7)](_0x4a6c3b);return _0x1adf81?_0x3f84ac(_0x3fe079[_0x1882d3(0x1de)],_0x1adf81):null;}[_0x49c472(0x287)](_0x47aac8){const _0x4b02ae=_0x49c472;return Array[_0x4b02ae(0x25d)](this[_0x4b02ae(0x1a4)][_0x4b02ae(0x252)]())[_0x4b02ae(0x2aa)](_0x27c17d=>_0x27c17d[_0x4b02ae(0x23f)]===_0x47aac8);}[_0x49c472(0x1ca)](_0x5dc26c){const _0x30402b=_0x49c472;return _0x30402b(0x1bd)===_0x5dc26c[_0x30402b(0x228)]?_0x5dc26c[_0x30402b(0x1ff)]:_0x5dc26c[_0x30402b(0x223)][_0x30402b(0x1ec)];}[_0x49c472(0x1da)](_0x1a6197,_0x58364a=!0x1){const _0x24e45e=_0x49c472;return _0x24e45e(0x1bd)===_0x1a6197[_0x24e45e(0x228)]?_0x58364a?_0x1a6197[_0x24e45e(0x1ff)]:_0x1a6197[_0x24e45e(0x1ff)][_0x24e45e(0x289)](_0x1a6197[_0x24e45e(0x1e7)]):_0x1a6197[_0x24e45e(0x223)][_0x24e45e(0x222)];}[_0x49c472(0x1cb)](_0x14b661,_0x466329){const _0x519cdb=_0x49c472;return _0x519cdb(0x1bd)===_0x14b661[_0x519cdb(0x228)]?_0x14b661[_0x519cdb(0x1ff)]=_0x14b661[_0x519cdb(0x1ff)][_0x519cdb(0x289)](_0x466329):_0x519cdb(0x2a1)===_0x14b661[_0x519cdb(0x228)]&&_0x14b661[_0x519cdb(0x223)]&&(_0x14b661[_0x519cdb(0x223)]=new _0x1fb03b(_0x14b661[_0x519cdb(0x223)][_0x519cdb(0x1ec)][_0x519cdb(0x289)](_0x466329),_0x14b661[_0x519cdb(0x223)][_0x519cdb(0x222)][_0x519cdb(0x289)](_0x466329))),_0x14b661;}[_0x49c472(0x1d9)](_0x132f5e,_0x3efc8d){const _0x11ef03=_0x49c472;_0x11ef03(0x1bd)===_0x132f5e[_0x11ef03(0x228)]?_0x132f5e[_0x11ef03(0x1ff)]=this[_0x11ef03(0x23d)](_0x132f5e[_0x11ef03(0x1ff)],_0x3efc8d):_0x11ef03(0x2a1)===_0x132f5e[_0x11ef03(0x228)]&&_0x132f5e[_0x11ef03(0x223)]&&(_0x132f5e[_0x11ef03(0x223)]=this[_0x11ef03(0x282)](_0x132f5e[_0x11ef03(0x223)],_0x3efc8d));}[_0x49c472(0x23d)](_0x38dcc2,_0x354f58){const _0x3ba728=_0x49c472;return new _0x585f6d(_0x354f58,_0x38dcc2[_0x3ba728(0x213)]);}[_0x49c472(0x282)](_0x254a9f,_0x134040){const _0x2502e6=_0x49c472;return new _0x1fb03b(this[_0x2502e6(0x23d)](_0x254a9f[_0x2502e6(0x1ec)],_0x134040),this[_0x2502e6(0x23d)](_0x254a9f[_0x2502e6(0x222)],_0x134040));}[_0x49c472(0x1a8)](_0x32f858,_0x117edc){return new _0x585f6d(_0x117edc,[..._0x32f858]);}[_0x49c472(0x1af)](_0x37878b,_0x4360e1,_0x2bcd79,_0x2c3586){const _0x54c646=_0x49c472;return new _0x1fb03b(this[_0x54c646(0x1a8)](_0x4360e1,_0x2c3586),this[_0x54c646(0x1a8)](_0x2bcd79,_0x2c3586));}[_0x49c472(0x249)](_0x41cc05){const _0x486807=_0x49c472,_0x3952a9=_0xff708a=>{const _0x5d3d03=_0x6656;switch(_0xff708a){case _0x5d3d03(0x1bd):return 0x0;case _0x5d3d03(0x28c):return 0x1;case _0x5d3d03(0x278):return 0x2;case _0x5d3d03(0x24c):return 0x3;}};return _0x41cc05[_0x486807(0x1d1)]((_0x228088,_0x3a4dc7)=>_0x3952a9(_0x228088[_0x486807(0x228)])-_0x3952a9(_0x3a4dc7[_0x486807(0x228)]));}[_0x49c472(0x1c4)](_0x16eb80,_0x109c08){const _0x79bf3c=_0x49c472,_0x8b20d6=_0x16eb80[_0x79bf3c(0x1dd)](0x0),_0x574c48=_0x109c08[_0x79bf3c(0x1dd)](0x0);return!(!_0x8b20d6||!_0x574c48)&&((!_0x8b20d6['is'](_0x79bf3c(0x2a8))||!_0x574c48['is'](_0x79bf3c(0x2a8))||_0x8b20d6[_0x79bf3c(0x209)]===_0x574c48[_0x79bf3c(0x209)])&&!(_0x8b20d6['is'](_0x79bf3c(0x2a8))&&!_0x574c48['is'](_0x79bf3c(0x2a8))||!_0x8b20d6['is'](_0x79bf3c(0x2a8))&&_0x574c48['is'](_0x79bf3c(0x2a8))));}[_0x49c472(0x23c)](_0x560958){const _0x35dca5=_0x49c472;return 0x1===_0x560958[_0x35dca5(0x1fe)];}[_0x49c472(0x279)](_0x176c7a,_0x53dca0){const _0x17703b=_0x49c472;for(const _0x285543 of _0x176c7a[_0x17703b(0x243)]())if(_0x285543['is'](_0x17703b(0x2a8))&&!_0x53dca0[_0x17703b(0x1e4)](_0x285543))return!0x1;return!0x0;}[_0x49c472(0x1c6)](_0x409309,_0x5cec9a){const _0x5152bd=_0x49c472;let _0x5245c3=_0x409309[_0x5152bd(0x24f)](_0x293a32);return _0x5245c3||(_0x5245c3=_0x5cec9a(),_0x409309[_0x5152bd(0x230)](_0x293a32,_0x5245c3)),_0x5245c3;}}function _0x11f9(){const _0x315bc6=['_clone','changeMarkerHovered','element','ck-ai_review__change_active','filter','448633owUATl','_appendChild','document','documentFragment','addMarker','switchToReadOnly','offsetSize','9238229dXIDFZ','_insertMarkers','_markers','43087596dDttZn','markers','get','_changePosition','_createGetContentFn','_findAdjacentContextDistance','createSelection','_removeChildren','viewToDom','getDiff','_changeRange','[data-marker-id=\x22','getOperations','rejectChange','oldRange','clone','AIEditing','31280EZdjGj','span','6UmrJcI','rootName','relatedTarget','root','view','insert','split','inside','disableReadOnlyMode','htmlProcessor','changeMarkerBlurred','content','_hasSameTopLevelElement','getHtml','_upsertDataId','_parseMarkerName','getMarkerElementForChange','backward','_getOperationStart','_shiftOperation','remove','getRoots','_getPositionLimitingRange','deleteContent','plugins','sort','has','getStart','asFragment','$documentFragment','parentElement','exec','ck-ai_review-marker_underline','_changeOperationOwnerDocument','_getOperationEnd','dataDowncast','editingDowncast','getChild','editing','_nextDataId','target','delete','reconvertMarker','createPositionAt','isInline','$markedRemove:synthetic','suggestion:insertion:id:authorId:','howMany','hasContentAfter','$textProxy','getContentElementForChange','_activeMarkers','start','69sWXaaJ','_groupAdjacentOperations','suggestion:deletion:id:authorId:','for','isAtEnd','ck-ai_review-marker_context-','_validateMarkers','630cPNbcZ','operations','createRangeOn','8EUbNGs','createRange','add','operationsIsolated','isOfficialPlugin','getChangedMarkers','downcast','childCount','position','fire','_removeAttribute','affectsData','isAtStart','markerToElement','push','className','isLimit','ck-ai_review-marker_context-start','name','_getChangeContext','removeMarker','changeMarkerClicked','toView','forEach','review-','registerPostFixer','nodes','applyChange','path','processor','setAllMarkersAsInactive','diffContent','requires','closest','createPositionAfter','_createGetContextFn','offset','addOperation','ck-ai_review-marker_hide','concat','createRawElement','attributeToAttribute','enableReadOnlyMode','end','newRange','toData','1404BWznJH','isIntersecting','hasContentBefore','type','AIReviewCoreEditing','set','$graveyard','applyOperation','ck-ai_review-marker_context-end','createDocumentFragment','createRangeIn','_setAttribute','context','isOpening','.ck-reset.ck-ai_review-balloon-panel-suggestion','No\x20element\x20found\x20for\x20ID:\x20','version','map','querySelector','ck-ai_review-marker_add','getPath','size','\x20ck-ai_review__change_active','_haveSingleTopLevelElement','_changePositionOwnerDocument','_translateOperationToEditorContent','groupId','changeMarkerRemoved','hasClass','setMarkersInElementAsActive','getChildren','ck-ai_review-marker_','[data-id=\x22','ck-ai_review-marker_strikethrough','clearAllMarkers','conversion','_sortMarkers','_findMarkerElement','_domEmitter','remove-text','mouseover','includes','getAttribute','pluginName','flat','values','elements','mouseup','index','highest','data','startsWith','getDomRoot','DocumentCompare','emitter','$markedRemove','from','afterInit','createUIElement','isTouching','isBlock','$root','join','reactivateMarkers','getEditableElement','clear','outside','append','_findMarkerElementById','_handleMarkerChanges','getDocumentData','containsRange','schema','suggestion-context','_eventEmitter','htmlWriter','length','batch','parent','_createGetContentUsingDataIdFn','jumpTo','data-marker-id','stringify','remove-only','_haveOnlyInlineContent','warn','ai-review','parse','operationsA','toDomElement','model','pop','domConverter','_changeRangeOwnerDocument','innerHTML','changeMarkerRestored','body','isPremiumPlugin','_getMarkersDataForGroup','1199313fTVZao','getShiftedBy','containerElement','history','remove-context','differ','listenTo','markerToHighlight','68652DjoOQa','ellipsisBefore','getRoot','markerName','every','outerHTML','ellipsisAfter','getRange','isDocumentOperation','forward','253231BhrsKt','baseVersion','switchToEdit','keys','markChangePositionInEditorContent','change','hasAttribute','marker','getEditor','getChanges','asString','insertContent'];_0x11f9=function(){return _0x315bc6;};return _0x11f9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4653(){const _0x3ece46=['find','1041450CijZDu','error-chunk','delegate','requires','locale','showReviewCheckListView','showBalloon','937264YUptOh','toggleDiff','2024498bMOcqO','fire','acceptChange','error-general','retryReview','533552XSTjgm','forEach','showReviewCheckList','AITabs','context','setActiveStateInResults','element','showResult','3395400KUYBSJ','showGeneralReviewCoreErrorView','hasChecks','isOfficialPlugin','registerTab','showDiffInBalloon','runReviewCheck','finishReview','hideActionsWhenResultIsReady','showChunkErrorView','setTitle','get','status','learnMore','dismissChange','showActionsWhenResultIsReady','1mNheyw','showCheckRunResult','setAvailableChecks','10220984jxmwIR','attachToDom','showReviewCompletedView','plugins','detachFromDom','createMainView','showChangeBalloon','hideBalloon','setItemAsInactive','setChecks','abortReviewStream','getReviewCheckList','getResults','reviewCheckResultsView','showGeneralResultsErrorView','rejected','2409798QaFcQA','acceptAllChanges','_mainView','setItemAsActive','addCheckRunResult','reviewCheckListView','isPremiumPlugin','getChangeElement','init','config','showCheckRunResults','_bodyCollection','resetActiveStateInResults','activateChange','accepted','showReviewCheckResultsView','hideDiffInBalloon','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','_balloonSuggestionView','destroy','hideChangeBalloon','ai.models.showModelSelector','deactivateChange','hideResult','showNoChangesView','updateChangeState','setCheckResultTitle','leaveReviewCoreResultList','outdated'];_0x4653=function(){return _0x3ece46;};return _0x4653();}const _0x85a628=_0x3e44;(function(_0x2ce5a0,_0x4fd82f){const _0x117d62=_0x3e44,_0xe4b7bc=_0x2ce5a0();while(!![]){try{const _0x4fb643=-parseInt(_0x117d62(0xfc))/0x1*(-parseInt(_0x117d62(0xe4))/0x2)+-parseInt(_0x117d62(0x10f))/0x3+-parseInt(_0x117d62(0x134))/0x4+parseInt(_0x117d62(0x12d))/0x5+-parseInt(_0x117d62(0xec))/0x6+parseInt(_0x117d62(0x136))/0x7+parseInt(_0x117d62(0xff))/0x8;if(_0x4fb643===_0x4fd82f)break;else _0xe4b7bc['push'](_0xe4b7bc['shift']());}catch(_0x35ea57){_0xe4b7bc['push'](_0xe4b7bc['shift']());}}}(_0x4653,0x6b095));import{ContextPlugin as _0x5adab3}from'ckeditor5/src/core.js';import{BodyCollection as _0x54666e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4fd174}from'../aicore/utils/common-translations.js';function _0x3e44(_0x4e2e79,_0x3ffa2d){const _0x465377=_0x4653();return _0x3e44=function(_0x3e4452,_0x4b47df){_0x3e4452=_0x3e4452-0xe2;let _0x574591=_0x465377[_0x3e4452];return _0x574591;},_0x3e44(_0x4e2e79,_0x3ffa2d);}import{AITabs as _0x14b1e3}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x5c8288}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x85a628(0x10a),_0x85a628(0xf2),_0x85a628(0x109),_0x85a628(0x135),_0x85a628(0x110),_0x85a628(0x12a),_0x85a628(0x11c),_0x85a628(0x125),_0x85a628(0x138),_0x85a628(0xfa),_0x85a628(0xf9),_0x85a628(0xf3),_0x85a628(0xe3)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x5adab3{[_0x85a628(0x111)];[_0x85a628(0x121)];[_0x85a628(0x11a)];static get[_0x85a628(0x130)](){return[_0x14b1e3];}static get[_0x85a628(0xef)](){return!0x0;}static get[_0x85a628(0x115)](){return!0x0;}constructor(_0x41ee31){const _0x1e7247=_0x85a628;super(_0x41ee31),this[_0x1e7247(0x11a)]=new _0x54666e(this[_0x1e7247(0xe8)][_0x1e7247(0x131)]),this[_0x1e7247(0x11a)][_0x1e7247(0x100)](),this[_0x1e7247(0x111)]=this[_0x1e7247(0x104)](),this[_0x1e7247(0x111)][_0x1e7247(0x12f)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x1e7247(0x121)]=new _0x5c8288(this[_0x1e7247(0xe8)][_0x1e7247(0x131)],this[_0x1e7247(0x11a)]),this[_0x1e7247(0x121)][_0x1e7247(0x12f)](_0x1e7247(0x138),_0x1e7247(0xfa),_0x1e7247(0x125))['to'](this);}[_0x85a628(0x117)](){const _0x5011b2=_0x85a628,_0x5efdaf=this[_0x5011b2(0xe8)][_0x5011b2(0x102)][_0x5011b2(0xf7)](_0x5011b2(0xe7));this[_0x5011b2(0xf0)](_0x5efdaf);}[_0x85a628(0x122)](){const _0x22fa81=_0x85a628;this[_0x22fa81(0x11a)][_0x22fa81(0x103)](),super[_0x22fa81(0x122)]();}[_0x85a628(0xfe)](_0x25d926){const _0x3b2619=_0x85a628;if(!this[_0x3b2619(0x111)][_0x3b2619(0x114)][_0x3b2619(0xee)]()){const _0x33f200=!this[_0x3b2619(0xe8)][_0x3b2619(0x118)][_0x3b2619(0xf7)](_0x3b2619(0x124));this[_0x3b2619(0x111)][_0x3b2619(0x114)][_0x3b2619(0x108)](_0x25d926,_0x33f200);}this[_0x3b2619(0x111)][_0x3b2619(0x132)]();}[_0x85a628(0xe6)](){const _0x2c2511=_0x85a628;this[_0x2c2511(0x137)](_0x2c2511(0x10a));}[_0x85a628(0x119)](_0x1a1ec9){const _0x25f612=_0x85a628;_0x1a1ec9&&(_0x25f612(0xe2)!==_0x1a1ec9[_0x25f612(0xf8)]?_0x25f612(0x12e)!==_0x1a1ec9[_0x25f612(0xf8)]?this[_0x25f612(0x111)][_0x25f612(0x11e)]():this[_0x25f612(0xf5)]():this[_0x25f612(0x10d)]());}[_0x85a628(0xfd)](_0x259623){const _0x523cd0=_0x85a628;this[_0x523cd0(0x111)][_0x523cd0(0x113)](_0x259623);}[_0x85a628(0x10d)](){const _0x3f50fd=_0x85a628;this[_0x3f50fd(0x111)][_0x3f50fd(0x10d)]();}[_0x85a628(0xed)](_0x5a0d2a){const _0x7cec64=_0x85a628;this[_0x7cec64(0x111)][_0x7cec64(0xed)](_0x5a0d2a??_0x4fd174(this[_0x7cec64(0xe8)][_0x7cec64(0x131)],_0x7cec64(0x120)));}[_0x85a628(0xf5)](){const _0x27e402=_0x85a628;this[_0x27e402(0x111)][_0x27e402(0xf5)]();}[_0x85a628(0x129)](_0x4730d0,_0x1a0cce){const _0x591194=_0x85a628;this[_0x591194(0x111)][_0x591194(0x10c)][_0x591194(0xf6)](_0x4730d0,_0x1a0cce);}[_0x85a628(0xe9)](_0x4fdadd){const _0x58f6a6=_0x85a628;this[_0x58f6a6(0x111)][_0x58f6a6(0x10c)][_0x58f6a6(0x10b)]()[_0x58f6a6(0xe5)](_0x28691e=>{const _0x33ff22=_0x58f6a6;_0x28691e['id']===_0x4fdadd&&_0x28691e[_0x33ff22(0x112)]();});}[_0x85a628(0x11b)](){const _0x2a5ed2=_0x85a628;this[_0x2a5ed2(0x111)][_0x2a5ed2(0x10c)][_0x2a5ed2(0x10b)]()[_0x2a5ed2(0xe5)](_0x3a43b7=>_0x3a43b7[_0x2a5ed2(0x107)]());}[_0x85a628(0x128)](_0x2534fd,_0x32470a){const _0x1d6ae7=_0x85a628;_0x1d6ae7(0x11d)===_0x32470a||_0x1d6ae7(0x10e)===_0x32470a||_0x1d6ae7(0x12b)===_0x32470a?this[_0x1d6ae7(0x111)][_0x1d6ae7(0x10c)][_0x1d6ae7(0x126)](_0x2534fd,_0x32470a):this[_0x1d6ae7(0x111)][_0x1d6ae7(0x10c)][_0x1d6ae7(0xeb)](_0x2534fd,_0x32470a);}[_0x85a628(0x101)](){const _0x496283=_0x85a628;this[_0x496283(0x111)][_0x496283(0x101)]();}[_0x85a628(0xfb)](){const _0x4267ee=_0x85a628;this[_0x4267ee(0x111)][_0x4267ee(0xfb)]();}[_0x85a628(0x127)](){const _0x5d45d2=_0x85a628;this[_0x5d45d2(0x111)][_0x5d45d2(0x127)]();}[_0x85a628(0xf4)](){const _0xf72c34=_0x85a628;this[_0xf72c34(0x111)][_0xf72c34(0xf4)]();}[_0x85a628(0x105)](_0x151786,_0x5eb824,_0x45f0f2,_0x3e8e9b,_0x506852,_0x21a6be){const _0x524545=_0x85a628;this[_0x524545(0x121)][_0x524545(0x133)](_0x151786,_0x5eb824,_0x45f0f2,_0x3e8e9b,_0x506852,_0x21a6be);}[_0x85a628(0x123)](){const _0x3556c6=_0x85a628;this[_0x3556c6(0x121)][_0x3556c6(0x106)]();}[_0x85a628(0x11f)](){const _0x275b7f=_0x85a628;this[_0x275b7f(0x121)][_0x275b7f(0x11f)]();}[_0x85a628(0xf1)](){const _0x48fa2d=_0x85a628;this[_0x48fa2d(0x121)][_0x48fa2d(0xf1)]();}[_0x85a628(0x116)](_0x1b0610){const _0x247fa3=_0x85a628,_0x4e8fe6=this[_0x247fa3(0x111)][_0x247fa3(0x10c)][_0x247fa3(0x10b)]()[_0x247fa3(0x12c)](_0x559715=>_0x559715['id']===_0x1b0610);return _0x4e8fe6?_0x4e8fe6[_0x247fa3(0xea)]:null;}[_0x85a628(0x125)](){const _0xcc9652=_0x85a628;this[_0xcc9652(0x121)][_0xcc9652(0x125)]();}}
23
+ const _0x37085b=_0x3600;(function(_0x1e6de9,_0x3fa44d){const _0x2015ad=_0x3600,_0x544931=_0x1e6de9();while(!![]){try{const _0x167744=parseInt(_0x2015ad(0xfe))/0x1*(-parseInt(_0x2015ad(0xe8))/0x2)+parseInt(_0x2015ad(0xc5))/0x3+parseInt(_0x2015ad(0xe9))/0x4*(parseInt(_0x2015ad(0xd6))/0x5)+-parseInt(_0x2015ad(0x107))/0x6+parseInt(_0x2015ad(0xc9))/0x7*(-parseInt(_0x2015ad(0x110))/0x8)+-parseInt(_0x2015ad(0xcf))/0x9+-parseInt(_0x2015ad(0x100))/0xa*(-parseInt(_0x2015ad(0xee))/0xb);if(_0x167744===_0x3fa44d)break;else _0x544931['push'](_0x544931['shift']());}catch(_0x4afb8a){_0x544931['push'](_0x544931['shift']());}}}(_0x51b3,0x1b039));import{ContextPlugin as _0x24f68b}from'ckeditor5/src/core.js';import{BodyCollection as _0x5f5588}from'ckeditor5/src/ui.js';import{getTranslation as _0x438a79}from'../aicore/utils/common-translations.js';import{AITabs as _0x176563}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0xa15f40}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x37085b(0xcc),_0x37085b(0xd1),_0x37085b(0x104),_0x37085b(0xd8),_0x37085b(0xd7),_0x37085b(0x115),_0x37085b(0xfd),_0x37085b(0xbf),_0x37085b(0xd3),_0x37085b(0xf5),_0x37085b(0x106),_0x37085b(0x10d),_0x37085b(0x112)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';function _0x3600(_0x23f255,_0x250077){const _0x51b3f8=_0x51b3();return _0x3600=function(_0x360020,_0x4f9591){_0x360020=_0x360020-0xbd;let _0x167619=_0x51b3f8[_0x360020];return _0x167619;},_0x3600(_0x23f255,_0x250077);}function _0x51b3(){const _0x56d4eb=['showCheckRunResult','7xanwSw','status','isOfficialPlugin','getReviewCheckList','outdated','attachToDom','705528HveSyN','setChecks','runReviewCheck','getChangeElement','acceptChange','requires','detachFromDom','10KHdsAF','acceptAllChanges','toggleDiff','showGeneralReviewCoreErrorView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','init','setItemAsInactive','error-chunk','showReviewCheckResultsView','element','setTitle','context','config','_bodyCollection','showReviewCheckList','hideDiffInBalloon','showBalloon','hasChecks','2xSNLsk','236660RLRFsE','showCheckRunResults','setItemAsActive','showGeneralResultsErrorView','find','603581PPUIgu','forEach','hideBalloon','hideActionsWhenResultIsReady','hideChangeBalloon','showReviewCheckListView','registerTab','dismissChange','showReviewCompletedView','setActiveStateInResults','setCheckResultTitle','error-general','AITabs','get','addCheckRunResult','activateChange','28311KQuFho','reviewCheckListView','90xPXmsJ','delegate','resetActiveStateInResults','showChangeBalloon','abortReviewStream','_mainView','learnMore','1322340ImFhea','showActionsWhenResultIsReady','createMainView','destroy','setAvailableChecks','updateChangeState','finishReview','accepted','reviewCheckResultsView','1728712LOKtYC','_balloonSuggestionView','retryReview','fire','ai.models.showModelSelector','leaveReviewCoreResultList','showResult','isPremiumPlugin','locale','deactivateChange','hideResult','plugins','showChunkErrorView','getResults','showNoChangesView','124986koudaG','rejected','showDiffInBalloon'];_0x51b3=function(){return _0x56d4eb;};return _0x51b3();}import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x24f68b{[_0x37085b(0x105)];[_0x37085b(0x111)];[_0x37085b(0xe3)];static get[_0x37085b(0xd4)](){return[_0x176563];}static get[_0x37085b(0xcb)](){return!0x0;}static get[_0x37085b(0xbd)](){return!0x0;}constructor(_0x57d59b){const _0x3594c3=_0x37085b;super(_0x57d59b),this[_0x3594c3(0xe3)]=new _0x5f5588(this[_0x3594c3(0xe1)][_0x3594c3(0xbe)]),this[_0x3594c3(0xe3)][_0x3594c3(0xce)](),this[_0x3594c3(0x105)]=this[_0x3594c3(0x109)](),this[_0x3594c3(0x105)][_0x3594c3(0x101)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3594c3(0x111)]=new _0xa15f40(this[_0x3594c3(0xe1)][_0x3594c3(0xbe)],this[_0x3594c3(0xe3)]),this[_0x3594c3(0x111)][_0x3594c3(0x101)](_0x3594c3(0xd3),_0x3594c3(0xf5),_0x3594c3(0xbf))['to'](this);}[_0x37085b(0xdb)](){const _0x33ab2a=_0x37085b,_0x595edb=this[_0x33ab2a(0xe1)][_0x33ab2a(0xc1)][_0x33ab2a(0xfb)](_0x33ab2a(0xfa));this[_0x33ab2a(0xf4)](_0x595edb);}[_0x37085b(0x10a)](){const _0x479453=_0x37085b;this[_0x479453(0xe3)][_0x479453(0xd5)](),super[_0x479453(0x10a)]();}[_0x37085b(0x10b)](_0x3fb520){const _0x36b508=_0x37085b;if(!this[_0x36b508(0x105)][_0x36b508(0xff)][_0x36b508(0xe7)]()){const _0x402f74=!this[_0x36b508(0xe1)][_0x36b508(0xe2)][_0x36b508(0xfb)](_0x36b508(0x114));this[_0x36b508(0x105)][_0x36b508(0xff)][_0x36b508(0xd0)](_0x3fb520,_0x402f74);}this[_0x36b508(0x105)][_0x36b508(0xf3)]();}[_0x37085b(0xe4)](){const _0x561453=_0x37085b;this[_0x561453(0x113)](_0x561453(0xcc));}[_0x37085b(0xea)](_0x38862f){const _0x5ea3fd=_0x37085b;_0x38862f&&(_0x5ea3fd(0xf9)!==_0x38862f[_0x5ea3fd(0xca)]?_0x5ea3fd(0xdd)!==_0x38862f[_0x5ea3fd(0xca)]?this[_0x5ea3fd(0x105)][_0x5ea3fd(0xde)]():this[_0x5ea3fd(0xc2)]():this[_0x5ea3fd(0xec)]());}[_0x37085b(0xc8)](_0x51ff09){const _0x17cf8b=_0x37085b;this[_0x17cf8b(0x105)][_0x17cf8b(0xfc)](_0x51ff09);}[_0x37085b(0xec)](){const _0x52c0ef=_0x37085b;this[_0x52c0ef(0x105)][_0x52c0ef(0xec)]();}[_0x37085b(0xd9)](_0x2219dd){const _0xf785e4=_0x37085b;this[_0xf785e4(0x105)][_0xf785e4(0xd9)](_0x2219dd??_0x438a79(this[_0xf785e4(0xe1)][_0xf785e4(0xbe)],_0xf785e4(0xda)));}[_0x37085b(0xc2)](){const _0x59279f=_0x37085b;this[_0x59279f(0x105)][_0x59279f(0xc2)]();}[_0x37085b(0xf8)](_0x41e2ea,_0xbb391b){const _0x352ff7=_0x37085b;this[_0x352ff7(0x105)][_0x352ff7(0x10f)][_0x352ff7(0xe0)](_0x41e2ea,_0xbb391b);}[_0x37085b(0xf7)](_0x2f77ef){const _0x180ad1=_0x37085b;this[_0x180ad1(0x105)][_0x180ad1(0x10f)][_0x180ad1(0xc3)]()[_0x180ad1(0xef)](_0x5a3bf1=>{const _0x272c35=_0x180ad1;_0x5a3bf1['id']===_0x2f77ef&&_0x5a3bf1[_0x272c35(0xeb)]();});}[_0x37085b(0x102)](){const _0x35f5e0=_0x37085b;this[_0x35f5e0(0x105)][_0x35f5e0(0x10f)][_0x35f5e0(0xc3)]()[_0x35f5e0(0xef)](_0x75f554=>_0x75f554[_0x35f5e0(0xdc)]());}[_0x37085b(0x10c)](_0x59993a,_0x2f6f14){const _0x5c0193=_0x37085b;_0x5c0193(0x10e)===_0x2f6f14||_0x5c0193(0xc6)===_0x2f6f14||_0x5c0193(0xcd)===_0x2f6f14?this[_0x5c0193(0x105)][_0x5c0193(0x10f)][_0x5c0193(0xc0)](_0x59993a,_0x2f6f14):this[_0x5c0193(0x105)][_0x5c0193(0x10f)][_0x5c0193(0x116)](_0x59993a,_0x2f6f14);}[_0x37085b(0xf6)](){const _0x155b94=_0x37085b;this[_0x155b94(0x105)][_0x155b94(0xf6)]();}[_0x37085b(0x108)](){const _0x3cb3b8=_0x37085b;this[_0x3cb3b8(0x105)][_0x3cb3b8(0x108)]();}[_0x37085b(0xc4)](){const _0x4114d9=_0x37085b;this[_0x4114d9(0x105)][_0x4114d9(0xc4)]();}[_0x37085b(0xf1)](){const _0x1647d7=_0x37085b;this[_0x1647d7(0x105)][_0x1647d7(0xf1)]();}[_0x37085b(0x103)](_0x2ab7f6,_0x2a4806,_0x346e61,_0x113cbd,_0x31a515,_0x12cb5a){const _0x140d5e=_0x37085b;this[_0x140d5e(0x111)][_0x140d5e(0xe6)](_0x2ab7f6,_0x2a4806,_0x346e61,_0x113cbd,_0x31a515,_0x12cb5a);}[_0x37085b(0xf2)](){const _0x32080f=_0x37085b;this[_0x32080f(0x111)][_0x32080f(0xf0)]();}[_0x37085b(0xe5)](){const _0x5af549=_0x37085b;this[_0x5af549(0x111)][_0x5af549(0xe5)]();}[_0x37085b(0xc7)](){const _0x3295dd=_0x37085b;this[_0x3295dd(0x111)][_0x3295dd(0xc7)]();}[_0x37085b(0xd2)](_0x23bb2d){const _0x350e08=_0x37085b,_0x550391=this[_0x350e08(0x105)][_0x350e08(0x10f)][_0x350e08(0xc3)]()[_0x350e08(0xed)](_0x58aac9=>_0x58aac9['id']===_0x23bb2d);return _0x550391?_0x550391[_0x350e08(0xdf)]:null;}[_0x37085b(0xbf)](){const _0x3dcbb5=_0x37085b;this[_0x3dcbb5(0x111)][_0x3dcbb5(0xbf)]();}}